query
stringlengths
7
33.1k
document
stringlengths
7
335k
metadata
dict
negatives
listlengths
3
101
negative_scores
listlengths
3
101
document_score
stringlengths
3
10
document_rank
stringclasses
102 values
repeated .NodeId nodes = 3;
public Builder removeNodes(int index) { if (nodesBuilder_ == null) { ensureNodesIsMutable(); nodes_.remove(index); onChanged(); } else { nodesBuilder_.remove(index); } return this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public int my_node_count();", "int getNodeCount();", "int getNodeCount();", "entities.Torrent.NodeId getNodes(int index);", "public Vector<Node> GetAdditionalSubNodes();", "void addNodes(List<CyNode> nodes);", "public void setNode_3(String node_3);", "entities.Torrent.NodeIdOrBuilder getNodeOrBuilder();", "entities.Torrent.NodeIdOrBuilder getNodeOrBuilder();", "List<Node> nodes();", "public abstract void setNodes();", "private int numNodes()\r\n\t{\r\n\t return nodeMap.size();\r\n\t}", "Set<ControllerNode> seedNodes();", "int getNodesCount();", "int getNodesCount();", "public abstract int getNodeRowCount();", "void printpopulateInorderSucc(Node t){\n\t\n\n}", "public void counter(Topology tp, Node node)\n {\n index[x] = node.getID();\n x++;\n if (x > 1)\n {\n addlink(tp);\n }\n }", "entities.Torrent.NodeId getNode();", "entities.Torrent.NodeId getNode();", "public Nodes getNodes()\n {\n return nodes;\n }", "public static int numberOfNodes() { return current_id; }", "private void fourNodesTopo() {\n ReadWriteTransaction tx = dataBroker.newReadWriteTransaction();\n n(tx, true, \"n1\", Stream.of(pB(\"n1:1\"), pB(\"n1:2\"), pI(\"n1:3\"), pO(\"n1:4\"), pO(\"n1:5\")));\n n(tx, true, \"n2\", Stream.of(pB(\"n2:1\"), pB(\"n2:2\"), pO(\"n2:3\"), pI(\"n2:4\"), pI(\"n2:5\")));\n n(tx, true, \"n3\", Stream.of(pB(\"n3:1\"), pB(\"n3:2\"), pO(\"n3:3\"), pO(\"n3:4\"), pI(\"n3:5\")));\n n(tx, true, \"n4\", Stream.of(pB(\"n4:1\"), pB(\"n4:2\"), pI(\"n4:3\"), pI(\"n4:4\"), pO(\"n4:5\")));\n l(tx, \"n1\", \"n1:5\", \"n2\", \"n2:5\", OperationalState.ENABLED, ForwardingDirection.UNIDIRECTIONAL);\n l(tx, \"n1\", \"n1:4\", \"n4\", \"n4:4\", OperationalState.ENABLED, ForwardingDirection.UNIDIRECTIONAL);\n l(tx, \"n2\", \"n2:3\", \"n4\", \"n4:3\", OperationalState.ENABLED, ForwardingDirection.UNIDIRECTIONAL);\n l(tx, \"n3\", \"n3:4\", \"n2\", \"n2:4\", OperationalState.ENABLED, ForwardingDirection.UNIDIRECTIONAL);\n l(tx, \"n4\", \"n4:5\", \"n3\", \"n3:5\", OperationalState.ENABLED, ForwardingDirection.UNIDIRECTIONAL);\n try {\n tx.submit().checkedGet();\n } catch (TransactionCommitFailedException e) {\n e.printStackTrace();\n }\n }", "io.netifi.proteus.admin.om.Node getNodes(int index);", "public void setNodes( Nodes nodes )\n {\n this.nodes = nodes;\n }", "entities.Torrent.NodeIdOrBuilder getNodesOrBuilder(\n int index);", "public void UpNumberOfVisitedNodes() {\n NumberOfVisitedNodes++;\n }", "public abstract int getNodesQuantity();", "int nodeCount();", "private void fiveNodesTopo() {\n ReadWriteTransaction tx = dataBroker.newReadWriteTransaction();\n n(tx, true, \"n1\", Stream.of(pI(\"n1:1\"), pB(\"n1:2\"), pI(\"n1:3\"), pO(\"n1:4\")));\n n(tx, true, \"n2\", Stream.of(pI(\"n2:1\"), pB(\"n2:2\"), pO(\"n2:3\"), pI(\"n2:4\")));\n n(tx, true, \"n3\", Stream.of(pO(\"n3:1\"), pB(\"n3:2\"), pO(\"n3:3\"), pI(\"n3:4\")));\n n(tx, true, \"n4\", Stream.of(pO(\"n4:1\"), pI(\"n4:2\"), pB(\"n4:3\"), pB(\"n4:4\")));\n n(tx, true, \"n5\", Stream.of(pI(\"n5:1\"), pB(\"n5:2\"), pB(\"n5:3\"), pO(\"n5:4\")));\n l(tx, \"n2\", \"n2:3\", \"n3\", \"n3:4\", OperationalState.ENABLED, ForwardingDirection.BIDIRECTIONAL);\n l(tx, \"n3\", \"n3:1\", \"n1\", \"n1:1\", OperationalState.ENABLED, ForwardingDirection.BIDIRECTIONAL);\n l(tx, \"n3\", \"n3:3\", \"n5\", \"n5:1\", OperationalState.ENABLED, ForwardingDirection.BIDIRECTIONAL);\n l(tx, \"n4\", \"n4:1\", \"n1\", \"n1:3\", OperationalState.ENABLED, ForwardingDirection.BIDIRECTIONAL);\n l(tx, \"n1\", \"n1:4\", \"n2\", \"n2:4\", OperationalState.ENABLED, ForwardingDirection.BIDIRECTIONAL);\n l(tx, \"n5\", \"n5:4\", \"n4\", \"n4:2\", OperationalState.ENABLED, ForwardingDirection.BIDIRECTIONAL);\n try {\n tx.submit().checkedGet();\n } catch (TransactionCommitFailedException e) {\n e.printStackTrace();\n }\n }", "@Test\n public void shouldAssignLevelsAndInsertDummyNodes(){\n String p1 = \"p1\";\n String p2 = \"p2\";\n String p3 = \"p3\";\n ValueStreamMap graph = new ValueStreamMap(p1, null);\n graph.addDownstreamNode(new PipelineDependencyNode(p3, p3), p1);\n\n List<List<Node>> nodesAtEachLevel = graph.presentationModel().getNodesAtEachLevel();\n assertThat(nodesAtEachLevel.size(), is(2));\n VSMTestHelper.assertNodeHasChildren(graph, p1, p3);\n VSMTestHelper.assertThatLevelHasNodes(nodesAtEachLevel.get(0), 0, p1);\n VSMTestHelper.assertThatLevelHasNodes(nodesAtEachLevel.get(1), 0, p3);\n\n graph.addDownstreamNode(new PipelineDependencyNode(p2, p2), p1);\n graph.addDownstreamNode(new PipelineDependencyNode(p3, p3), p2);\n\n VSMTestHelper.assertNodeHasChildren(graph, p1, p2, p3);\n VSMTestHelper.assertNodeHasChildren(graph, p2, p3);\n VSMTestHelper.assertNodeHasParents(graph, p3, p1, p2);\n VSMTestHelper.assertNodeHasParents(graph, p2, p1);\n assertThat(graph.findNode(p3).getChildren().isEmpty(), is(true));\n assertThat(graph.findNode(p1).getParents().isEmpty(), is(true));\n\n nodesAtEachLevel = graph.presentationModel().getNodesAtEachLevel();\n assertThat(nodesAtEachLevel.size(), is(3));\n VSMTestHelper.assertThatLevelHasNodes(nodesAtEachLevel.get(0), 0, p1);\n VSMTestHelper.assertThatLevelHasNodes(nodesAtEachLevel.get(1), 1, p2);\n VSMTestHelper.assertThatLevelHasNodes(nodesAtEachLevel.get(2), 0, p3);\n }", "@Override\r\n\tpublic void generateNodeRule(int step) throws IOException {\n\t\t\r\n\t\tgenerateNetNode.setSeedNodes(step, numberMaxSeed, setLayoutSeed);\r\n\t\t\r\n\t\tgenerateNetNodeVectorField.handleCreateSeedGraph(createSeedGraph, step); \r\n\t\r\n\t\t// list node element\r\n\t\tArrayList <Node> listNodeSeed = new ArrayList<Node> ( graphToolkit.getListElement(seedGraph, element.node, elementTypeToReturn.element));\t//\tSystem.out.println(listNodeSeed);\t\r\n\t\tArrayList<Integer> listIdSeedInt = new ArrayList<Integer>( graphToolkit.getListElement(seedGraph, element.node, elementTypeToReturn.integer)) ;\t\t\t\r\n\t\tArrayList<Integer> listIdNetInt = new ArrayList<Integer>( graphToolkit.getListElement(netGraph, element.node, elementTypeToReturn.integer)) ;\t\r\n\t\t\r\n\t\tint idNodeInt = Math.max(graphToolkit.getMaxIdIntElement(netGraph, element.node) , graphToolkit.getMaxIdIntElement(seedGraph, element.node) ) ;\r\n\t\t\r\n\t\t// map to update\r\n\t\tMap< Integer , double[] > mapIdNewSeedCoord = new HashMap< Integer , double[] > ();\r\n\t\tMap< Integer , String > mapIdNewSeedFather = new HashMap< Integer , String > ();\r\n\t\t\r\n\t\t// print\r\n\t\tSystem.out.println(seedGraph + \" \" + listIdSeedInt.size() /* + \" \" + listIdSeedInt */ );//\t\tSystem.out.println(netGraph + \" \" + listIdNetInt.size() + \" \" + listIdNetInt );\r\n\t\r\n\t\tint idLocal = 0 ;\r\n\r\n\t\tfor ( Node nodeSeed : listNodeSeed ) {\r\n\t\t\r\n\t\t\tString idSeed = nodeSeed.getId() ;\r\n\t\t\t\r\n\t\t//\tbucketSet.putNode(netGraph.getNode(idSeed)) ;\r\n\t\t\t\r\n\t\t\tdouble[] \tnodeCoord = GraphPosLengthUtils.nodePosition(nodeSeed) ,\r\n\t\t\t\t\t\tvector = getVector(vecGraph, nodeCoord, typeInterpolation ) ;\t\t\r\n\t\t\t\r\n\t\t\t// check vector\r\n\t\t\tdouble vectorInten = Math.pow( Math.pow(vector[0], 2) + Math.pow(vector[1], 2) , 0.5 ) ;\r\n\t\t\t\r\n\t\t\tif ( vectorInten > maxInten) {\r\n\t\t\t\tvector[0] = vector[0] / vectorInten * maxInten ; \r\n\t\t\t\tvector[1] = vector[1] / vectorInten * maxInten ;\t\t\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\t// check vector in grid\r\n\t\t\tdouble \txTopVector = generateNetNode.checkCoordInGrid ( gsGraph , nodeCoord[0] + vector[0] ) ,\r\n\t\t\t\t\tyTopVector = generateNetNode.checkCoordInGrid ( gsGraph , nodeCoord[1] + vector[1] ) ;\t\t\t\t\t\t// \tSystem.out.println(idSeed + \" \" + vector[0] + \" \" + vector[1]);\t\t\t\t\t\t\r\n\t\t\t\r\n\t\t\tdouble [] newNodeSeedCoord = new double[2] ;\r\n\t\t\t\t\t\t\r\n\t\t\tnewNodeSeedCoord[0] = xTopVector ;\r\n\t\t\tnewNodeSeedCoord[1] = yTopVector ;\r\n\t\t\t\r\n\t\t\tif ( dieBord ) {\t\t\r\n\t\t\t\tif ( newNodeSeedCoord[0] < 1 || newNodeSeedCoord[1] < 1 || newNodeSeedCoord[0] > sizeGridEdge -1 || newNodeSeedCoord[1] > sizeGridEdge - 1 )\r\n\t\t\t\t\tcontinue ;\r\n\t\t\t}\t\r\n\t\t\t\r\n\t\t\tArrayList<Integer> listIdNetIntLocal = new ArrayList<Integer> ( graphToolkit.getListElement(netGraph, element.node, elementTypeToReturn.integer)) ;\t\t//\tSystem.out.println(listIdNetIntLocal);\r\n\t\t\tArrayList<Integer> listIdSeedIntLocal = new ArrayList<Integer> ( graphToolkit.getListElement(seedGraph, element.node, elementTypeToReturn.integer)) ;\t\t//\tSystem.out.println(listIdNetIntLocal);\r\n\t\t\t\r\n\t\t\tint idInt = Collections.max(listIdNetIntLocal) ; //Math.max(listIdNetIntLocal, b) ;\r\n\t\t\twhile ( listIdNetIntLocal.contains(idInt) && listIdSeedIntLocal.contains(idInt) ) \r\n\t\t\t\tidInt ++ ;\r\n\t\t\t\r\n\t\t\tString id = Integer.toString(idInt) ;\t\t\t//\tSystem.out.println(idInt);\r\n\t\t\t\r\n\t\t\ttry {\r\n\t\t\t\tnetGraph.addNode(id);\r\n\t\t\t\tseedGraph.addNode(id);\r\n\t\t\t\tbucketSet.putNode(netGraph.getNode(id));\r\n\t\t\t}\r\n\t\t\tcatch (org.graphstream.graph.IdAlreadyInUseException e) {\r\n\t\t\t\t\r\n\t\t\t\tlistIdSeedIntLocal = new ArrayList<Integer> ( graphToolkit.getListElement(seedGraph, element.node, elementTypeToReturn.integer)) ;\r\n\t\t\t\tlistIdNetIntLocal = new ArrayList<Integer> ( graphToolkit.getListElement(netGraph, element.node, elementTypeToReturn.integer)) ;\r\n\t\t\t\t\r\n\t\t\t\tidInt = Math.max(Collections.max(listIdNetIntLocal) , Collections.max(listIdSeedIntLocal) ) ;\r\n\t\t\t\tidInt ++ ; \r\n\t\t\t\twhile ( listIdNetIntLocal.contains(idInt) && listIdSeedIntLocal.contains(idInt))\r\n\t\t\t\t\tidInt ++ ;\r\n\t\t\t\t\r\n\t\t\t\tid = Integer.toString(idInt) ;\t\t\t//\tSystem.out.println(idInt);\r\n\t\t\t\t\r\n\t\t\t\tnetGraph.addNode(id);\r\n\t\t\t\tseedGraph.addNode(id);\r\n\t\t\t\tbucketSet.putNode(netGraph.getNode(id));\t\t\t\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\tNode nodeNewNet = netGraph.getNode(id);\r\n\t\t\tNode nodeNewSeed = seedGraph.getNode(id);\r\n\t\t\t\t\t\t\r\n\t\t\tnodeNewSeed.addAttribute(\"xyz\", newNodeSeedCoord[0] , newNodeSeedCoord[1] , 0 );\r\n\t\t\tnodeNewSeed.addAttribute(\"father\", idSeed );\r\n\t\t\t\r\n\t\t\tnodeNewNet.addAttribute(\"xyz\", newNodeSeedCoord[0] , newNodeSeedCoord[1] , 0 );\r\n\t\t\tnodeNewNet.addAttribute(\"father\", idSeed );\t\r\n\t\t\t\r\n\t\t\tnodeNewNet.setAttribute(\"seedGrad\", 1);\r\n\t\t}\r\n\t\t\r\n\t\t// remove old seed\r\n\t\tfor ( int i : listIdSeedInt) //\tSystem.out.println(i);\r\n\t\t\tseedGraph.removeNode(Integer.toString(i));\t\r\n\t}", "public void setNode_4(String node_4);", "int NoOfNodes() {\r\n return noOfNodes;\r\n }", "public abstract int getNodeColumnCount();", "public MyMultiset() {\n\t\tthis.set = new HashSet<Node>();\n\t}", "public void setNode_1(String node_1);", "public interface GlobalNode extends Node{\n\n VariableName[] getVariableNames();\n\n}", "void nodeCreate( long id );", "Dijk(){\n grp = new HashMap<>();\n seen = new HashSet<>();\n dlist = new HashMap<>();\n id = new HashMap<>();\n lowlink = new HashMap<>();\n orid = 0;\n }", "public MutableNodeSet(Graph graph) {\n\t\tsuper(graph);\n\t\tthis.members = new TreeSet<Integer>();\n\t\tinitializeInOutWeights();\n\t}", "public int getNodeCount() {\n return nodeCount;\n }", "void graph3() {\n\t\tconnect(\"0\", \"0\");\n\t\tconnect(\"2\", \"2\");\n\t\tconnect(\"2\", \"3\");\n\t\tconnect(\"3\", \"0\");\n\t}", "N getNode(int id);", "public abstract int numOfSameTypeNeighbourToReproduce();", "protected abstract Node[] getAllNodes();", "public int totalNumNodes () { throw new RuntimeException(); }", "public Builder withNodes(Integer... nodes) {\n this.nodes = nodes;\n return this;\n }", "private void initializeNodes() {\n for (NasmInst inst : nasm.listeInst) {\n Node newNode = graph.newNode();\n inst2Node.put(inst, newNode);\n node2Inst.put(newNode, inst);\n if (inst.label != null) {\n NasmLabel label = (NasmLabel) inst.label;\n label2Inst.put(label.toString(), inst);\n }\n }\n }", "@Override\n public int nodeCount() {\n return graphNodes.size();\n }", "private void initFourNodes(InitType type) {\n if (type == InitType.RANDOM) {\n for (int i = 0; i < 2; i++) {\n for (int j = 0; j < 2; j++) {\n GNode initNode = new GNode(i, j, Utils.generateRandomArray(GSOMConstants.DIMENSIONS));\n nodeMap.put(Utils.generateIndexString(i, j), initNode);\n }\n }\n } else if (type == InitType.LINEAR) {\n double initVal = 0.1;\n for (int i = 0; i < 2; i++) {\n for (int j = 0; j < 2; j++) {\n GNode initNode = new GNode(i, j, Utils.generateLinearArray(GSOMConstants.DIMENSIONS, initVal));\n nodeMap.put(Utils.generateIndexString(i, j), initNode);\n initVal += 0.1;\n }\n }\n }\n }", "public void setNode_5(String node_5);", "public int size(){\n return n_nodi;\n }", "@Override\r\n\tpublic int getNumberOfNodes() {\n\t\treturn 0;\r\n\t}", "@Test\n public void shouldNotAddDuplicateDependents() {\n String currentPipeline = \"p5\";\n ValueStreamMap graph = new ValueStreamMap(currentPipeline, null);\n Node p4 = graph.addUpstreamNode(new PipelineDependencyNode(\"p4\", \"p4\"), null, currentPipeline);\n graph.addUpstreamNode(new PipelineDependencyNode(\"p4\", \"p4\"), null, currentPipeline);\n\n assertThat(p4.getChildren().size(), is(1));\n VSMTestHelper.assertThatNodeHasChildren(graph, \"p4\", 0, \"p5\");\n }", "@Override\n\tpublic int getNodes() {\n\t\treturn model.getNodes();\n\t}", "int totalNumberOfNodes();", "private Collection<Node> getNodes()\r\n\t{\r\n\t return nodeMap.values();\r\n\t}", "Collection<Node> allNodes();", "static int displayN(Node node)\r\n {\r\n return node.neighbors.size();\r\n }", "public abstract int getNodeType();", "private void seed(List<T> items){\n for(T item: items) {\n Node<T> newNode = new Node<T>(item);\n this.count++;\n if(this.root == null){\n this.root = newNode;\n } else {\n Node temp = this.root;\n newNode.next = temp;\n this.root = newNode;\n }\n }\n\n }", "public kNNNode(double[] data){\n this.data = data;\n this.id = count;\n count += 1;\n }", "List<CyNode> getNodeList();", "public Nodes nodes() {\n return this.nodes;\n }", "@Override public Integer visitDeclaracionMultiple(lenguajesParser.DeclaracionMultipleContext ctx) {\n for(TerminalNode x:ctx.ID()){\n System.out.println(x.getText());\n memoria.put(x.getText(),0);\n\n }\n //System.out.println(ctx.ID().getText());\n return null;\n }", "@Override\n\tpublic long numNodes() {\n\t\treturn numNodes;\n\t}", "interface WithNodeCount {\n /**\n * Specifies nodeCount.\n * @param nodeCount The job will be gang scheduled on that many compute nodes\n * @return the next definition stage\n*/\n WithStdOutErrPathPrefix withNodeCount(int nodeCount);\n }", "public List<Node> getNodes();", "public void setNumberOfVisitedNodes(int numberOfVisitedNodes) {\n NumberOfVisitedNodes = numberOfVisitedNodes;\n }", "public int getNumberOfNodesEvaluated();", "public static void main(String args[]) throws CloneNotSupportedException\n\t{\n\t\tSystem.out.println(getRandomNumber(2, 2));\n\t\t//Node n1 = org.apache.commons.lang3.SerializationUtils.clone(n);\n\t\t//n.getNextNodes().get(\"1\").getNextNodes().put(\"1\", null);\n\t\t//System.out.println(n1.getNextNodes().get(\"1\").getNextNodes().get(\"1\"));\n\t}", "List<Node> getNodes();", "public Transformation_001(int[] theNodes){\n this.theNodes=theNodes;\n }", "private static void readAndWriteNodes(String name) throws IOException {\n System.out.println(name);\n Map<Long, Long> nodeMap = new HashMap<>();\n boolean firstLine = true;\n fileReader = new BufferedReader(new FileReader(PATH + name));\n fileWriter = new BufferedWriter(new FileWriter(PATH + \"/uid/\" + name));\n String line;\n while ((line = fileReader.readLine()) != null) {\n if (!firstLine) {\n long globalId = getGlobalId();\n String[] lineTokens = LINE_TOKEN_SEPARATOR.split(line);\n long ID = Long.parseLong(lineTokens[0]);\n nodeMap.put(ID, globalId);\n String writeLine = \"\";\n for (int i = 0; i < lineTokens.length; i++) {\n if (i == 0) {\n writeLine += globalId;\n } else {\n writeLine += lineTokens[i];\n }\n writeLine += \"|\";\n }\n fileWriter.write(writeLine);\n fileWriter.newLine();\n vertexCount++;\n globalVertexCount++;\n } else {\n fileWriter.write(line);\n fileWriter.newLine();\n firstLine = false;\n }\n }\n fileWriter.close();\n fileReader.close();\n counterMapNodes.put(name, vertexCount);\n vertexCount = 0;\n vertexList.add(nodeMap);\n }", "public static void main(String[] args) {\n\t\tNode n = new Node(0);\r\n\t\tNode dummy = n;\r\n\t\tn.next = new Node(1);\r\n\t\tn = n.next;\r\n\t\tn.next = new Node(1);\r\n\t\tn = n.next;\r\n\t\tfor (int i = 1; i < 10; i ++) {\r\n\t\t\tn.next = new Node(i);\r\n\t\t\tn = n.next;\r\n\t\t}\r\n\t\tremoveDuplicate(dummy);\r\n\t\twhile(dummy != null) {\r\n\t\t\tSystem.out.println(dummy.val);\r\n\t\t\tdummy = dummy.next;\r\n\t\t}\r\n\t\t\r\n\t}", "public void addNode(int key)\n{\n Node n1 = new Node(key);\n\t\n\tif(!getNodes().containsKey(n1.getKey())) \n\t{\n\tmc++;\n\tthis.getNodes().put(n1.getKey(),n1);\n\t\t\n\t}\n\telse {\n\t\treturn;\n\t\t//System.out.println(\"Node already in the graph\");\n\t}\n}", "boolean addNode(long idNum, String label);", "private void reIndex()\n {\n for(int i = 0; i < NodeList.size(); i++)\n NodeList.get(i).setID(i);\n ID = NodeList.size();\n }", "public int getNodeLabel ();", "public int getEdgeCount() \n {\n return 3;\n }", "int numNodes() {\n\t\treturn num_nodes;\n\t}", "@Test(timeout = 4000)\n public void test03() throws Throwable {\n ExpressionMatrixImpl expressionMatrixImpl0 = new ExpressionMatrixImpl();\n expressionMatrixImpl0.addNewNode();\n expressionMatrixImpl0.getNumberOfNodes();\n }", "public int size(){\n return nodes.size();\n }", "public interface NodeRoot extends RootVertex<Node> {\n\n\tpublic static final String TYPE = \"nodes\";\n\n\t/**\n\t * Create a new node.\n\t * \n\t * @param user\n\t * User that is used to set creator and editor references\n\t * @param container\n\t * Schema version that should be used when creating the node\n\t * @param project\n\t * Project to which the node should be assigned to\n\t * @return Created node\n\t */\n\tdefault Node create(HibUser user, HibSchemaVersion container, HibProject project) {\n\t\treturn create(user, container, project, null);\n\t}\n\n\t/**\n\t * Create a new node.\n\t * \n\t * @param user\n\t * User that is used to set creator and editor references\n\t * @param container\n\t * Schema version that should be used when creating the node\n\t * @param project\n\t * Project to which the node should be assigned to\n\t * @param uuid\n\t * Optional uuid\n\t * @return Created node\n\t */\n\tNode create(HibUser user, HibSchemaVersion container, HibProject project, String uuid);\n\n}", "public List<Output<TInt32>> nodeIdsList() {\n return nodeIdsList;\n }", "public void setCounterpart(Node n)\n\t{\n\t\tcounterpart = n;\n\t}", "public RBACwithCommonNodes(){\n\t\tvalues = new Hashtable<Integer,Hashtable<Object, Integer>>();\n\t\tint[] order = {1,4,2,5,3};\n\t\tauthGraph = new DirectedGraph(order);\n\t}", "@Test \r\n void add_mutiple_edges_check_size(){\r\n for(int i = 0; i < 20; i++) {\r\n graph.addEdge(\"\" + i, \"\" + (i + 1));\r\n } \r\n List<String> adjacent;\r\n for(int i = 0; i < 20; i++) {\r\n adjacent = graph.getAdjacentVerticesOf(\"\"+i);\r\n if(!adjacent.contains(\"\" + (i+1))) {\r\n fail();\r\n }\r\n }\r\n if(graph.size() != 20 | graph.order() != 21) {\r\n fail();\r\n }\r\n \r\n }", "@Test\n public void tae3()\n {\n Graph graph = new Graph(3);\n graph.addEdge(0,0);\n graph.addEdge(0,1);\n graph.addEdge(1,1);\n System.out.println(graph);\n assertEquals(graph.toString(), \"numNodes: 3\\nedges: [[true, true, false], [false, true, false], \" +\n \"[false, false, false]]\");\n }", "public Node(Integer number){\n this.number = number;\n this.edges = new ArrayList<Edge>();\n }", "public NonceHelperImpl(Node node) {\n\t\tthis.node = node;\n\t}", "String getIdNode1();", "public List<DataNodeId> getDataNodeIds();", "public void setNode_2(String node_2);", "@Test\r\n void add_20_remove_20_add_20() {\r\n //Add 20\r\n for(int i = 0; i < 20; i++) {\r\n graph.addVertex(\"\" +i);\r\n }\r\n vertices = graph.getAllVertices();\r\n //Check all 20 are in graph\r\n for(int i = 0; i < 20; i++) {\r\n if(!vertices.contains(\"\" + i)) {\r\n fail();\r\n }\r\n }\r\n //Remove 20 \r\n for(int i = 0; i < 20; i++) {\r\n graph.removeVertex(\"\" +i);\r\n }\r\n //Check all 20 are not in graph anymore \r\n \r\n for(int i = 0; i < 20; i++) {\r\n if(vertices.contains(\"\" + i)) {\r\n fail();\r\n }\r\n }\r\n //Add 20 again\r\n for(int i = 0; i < 20; i++) {\r\n graph.addVertex(\"\" +i);\r\n }\r\n //Check all 20 are in graph\r\n for(int i = 0; i < 20; i++) {\r\n if(!vertices.contains(\"\" + i)) {\r\n fail();\r\n }\r\n }\r\n }", "public int getNumNodesSeenByMessage() {\r\n return numNodesSeenByMessage;\r\n }", "public interface Node {\n public int arityOfOperation();\n public String getText(int depth) throws CalculationException;\n public double getResult() throws CalculationException;\n public boolean isReachable(int depth);\n public List<Node> getAdjacentNodes();\n public String getTitle();\n public void setDepth(int depth);\n}", "public entities.Torrent.NodeIdOrBuilder getNodesOrBuilder(\n int index) {\n if (nodesBuilder_ == null) {\n return nodes_.get(index); } else {\n return nodesBuilder_.getMessageOrBuilder(index);\n }\n }", "public RandomNeighborhoodOperator(int nbRelaxedVars, long seed)\n{\n\trandom = new Random(seed);\n\tthis.nbRelaxedVars = nbRelaxedVars;\n\tselected = new TIntHashSet();\n}", "protected int numNodes() {\n\t\treturn nodes.size();\n\t}" ]
[ "0.58012414", "0.58011365", "0.58011365", "0.57780284", "0.5772085", "0.575644", "0.57039076", "0.57026917", "0.57026917", "0.5693984", "0.56889755", "0.5681135", "0.5661298", "0.565362", "0.565362", "0.56194633", "0.55934185", "0.55905604", "0.5582704", "0.5582704", "0.55576086", "0.5553456", "0.55534184", "0.55374855", "0.55020475", "0.5492895", "0.54633546", "0.5461078", "0.54584455", "0.5456036", "0.54218566", "0.5407351", "0.53965527", "0.5379224", "0.5348748", "0.5340543", "0.5326505", "0.53220886", "0.53212166", "0.5310216", "0.53045285", "0.5297627", "0.5287574", "0.52839285", "0.5282713", "0.5277224", "0.5273952", "0.5267903", "0.52668875", "0.5264547", "0.52620673", "0.5251183", "0.52498484", "0.52463955", "0.5246097", "0.52395076", "0.52384377", "0.52240205", "0.52188224", "0.5216552", "0.52149147", "0.5212481", "0.51699907", "0.51675326", "0.5167482", "0.51640254", "0.5161053", "0.5156575", "0.51526", "0.5152278", "0.5151577", "0.5145827", "0.51417863", "0.5137731", "0.5131012", "0.51277584", "0.5122025", "0.5114847", "0.5114217", "0.5113302", "0.51038605", "0.50990254", "0.5098557", "0.5097867", "0.5097691", "0.50939083", "0.50911415", "0.509027", "0.50891143", "0.5086298", "0.50808966", "0.5080496", "0.5079757", "0.5074141", "0.50690967", "0.5060841", "0.5056872", "0.5056417", "0.5054413", "0.50434023", "0.50353533" ]
0.0
-1
repeated .NodeId nodes = 3;
public entities.Torrent.NodeId.Builder getNodesBuilder( int index) { return getNodesFieldBuilder().getBuilder(index); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public int my_node_count();", "int getNodeCount();", "int getNodeCount();", "entities.Torrent.NodeId getNodes(int index);", "public Vector<Node> GetAdditionalSubNodes();", "void addNodes(List<CyNode> nodes);", "public void setNode_3(String node_3);", "entities.Torrent.NodeIdOrBuilder getNodeOrBuilder();", "entities.Torrent.NodeIdOrBuilder getNodeOrBuilder();", "List<Node> nodes();", "public abstract void setNodes();", "private int numNodes()\r\n\t{\r\n\t return nodeMap.size();\r\n\t}", "Set<ControllerNode> seedNodes();", "int getNodesCount();", "int getNodesCount();", "public abstract int getNodeRowCount();", "void printpopulateInorderSucc(Node t){\n\t\n\n}", "public void counter(Topology tp, Node node)\n {\n index[x] = node.getID();\n x++;\n if (x > 1)\n {\n addlink(tp);\n }\n }", "entities.Torrent.NodeId getNode();", "entities.Torrent.NodeId getNode();", "public Nodes getNodes()\n {\n return nodes;\n }", "public static int numberOfNodes() { return current_id; }", "private void fourNodesTopo() {\n ReadWriteTransaction tx = dataBroker.newReadWriteTransaction();\n n(tx, true, \"n1\", Stream.of(pB(\"n1:1\"), pB(\"n1:2\"), pI(\"n1:3\"), pO(\"n1:4\"), pO(\"n1:5\")));\n n(tx, true, \"n2\", Stream.of(pB(\"n2:1\"), pB(\"n2:2\"), pO(\"n2:3\"), pI(\"n2:4\"), pI(\"n2:5\")));\n n(tx, true, \"n3\", Stream.of(pB(\"n3:1\"), pB(\"n3:2\"), pO(\"n3:3\"), pO(\"n3:4\"), pI(\"n3:5\")));\n n(tx, true, \"n4\", Stream.of(pB(\"n4:1\"), pB(\"n4:2\"), pI(\"n4:3\"), pI(\"n4:4\"), pO(\"n4:5\")));\n l(tx, \"n1\", \"n1:5\", \"n2\", \"n2:5\", OperationalState.ENABLED, ForwardingDirection.UNIDIRECTIONAL);\n l(tx, \"n1\", \"n1:4\", \"n4\", \"n4:4\", OperationalState.ENABLED, ForwardingDirection.UNIDIRECTIONAL);\n l(tx, \"n2\", \"n2:3\", \"n4\", \"n4:3\", OperationalState.ENABLED, ForwardingDirection.UNIDIRECTIONAL);\n l(tx, \"n3\", \"n3:4\", \"n2\", \"n2:4\", OperationalState.ENABLED, ForwardingDirection.UNIDIRECTIONAL);\n l(tx, \"n4\", \"n4:5\", \"n3\", \"n3:5\", OperationalState.ENABLED, ForwardingDirection.UNIDIRECTIONAL);\n try {\n tx.submit().checkedGet();\n } catch (TransactionCommitFailedException e) {\n e.printStackTrace();\n }\n }", "io.netifi.proteus.admin.om.Node getNodes(int index);", "public void setNodes( Nodes nodes )\n {\n this.nodes = nodes;\n }", "entities.Torrent.NodeIdOrBuilder getNodesOrBuilder(\n int index);", "public void UpNumberOfVisitedNodes() {\n NumberOfVisitedNodes++;\n }", "public abstract int getNodesQuantity();", "int nodeCount();", "private void fiveNodesTopo() {\n ReadWriteTransaction tx = dataBroker.newReadWriteTransaction();\n n(tx, true, \"n1\", Stream.of(pI(\"n1:1\"), pB(\"n1:2\"), pI(\"n1:3\"), pO(\"n1:4\")));\n n(tx, true, \"n2\", Stream.of(pI(\"n2:1\"), pB(\"n2:2\"), pO(\"n2:3\"), pI(\"n2:4\")));\n n(tx, true, \"n3\", Stream.of(pO(\"n3:1\"), pB(\"n3:2\"), pO(\"n3:3\"), pI(\"n3:4\")));\n n(tx, true, \"n4\", Stream.of(pO(\"n4:1\"), pI(\"n4:2\"), pB(\"n4:3\"), pB(\"n4:4\")));\n n(tx, true, \"n5\", Stream.of(pI(\"n5:1\"), pB(\"n5:2\"), pB(\"n5:3\"), pO(\"n5:4\")));\n l(tx, \"n2\", \"n2:3\", \"n3\", \"n3:4\", OperationalState.ENABLED, ForwardingDirection.BIDIRECTIONAL);\n l(tx, \"n3\", \"n3:1\", \"n1\", \"n1:1\", OperationalState.ENABLED, ForwardingDirection.BIDIRECTIONAL);\n l(tx, \"n3\", \"n3:3\", \"n5\", \"n5:1\", OperationalState.ENABLED, ForwardingDirection.BIDIRECTIONAL);\n l(tx, \"n4\", \"n4:1\", \"n1\", \"n1:3\", OperationalState.ENABLED, ForwardingDirection.BIDIRECTIONAL);\n l(tx, \"n1\", \"n1:4\", \"n2\", \"n2:4\", OperationalState.ENABLED, ForwardingDirection.BIDIRECTIONAL);\n l(tx, \"n5\", \"n5:4\", \"n4\", \"n4:2\", OperationalState.ENABLED, ForwardingDirection.BIDIRECTIONAL);\n try {\n tx.submit().checkedGet();\n } catch (TransactionCommitFailedException e) {\n e.printStackTrace();\n }\n }", "@Test\n public void shouldAssignLevelsAndInsertDummyNodes(){\n String p1 = \"p1\";\n String p2 = \"p2\";\n String p3 = \"p3\";\n ValueStreamMap graph = new ValueStreamMap(p1, null);\n graph.addDownstreamNode(new PipelineDependencyNode(p3, p3), p1);\n\n List<List<Node>> nodesAtEachLevel = graph.presentationModel().getNodesAtEachLevel();\n assertThat(nodesAtEachLevel.size(), is(2));\n VSMTestHelper.assertNodeHasChildren(graph, p1, p3);\n VSMTestHelper.assertThatLevelHasNodes(nodesAtEachLevel.get(0), 0, p1);\n VSMTestHelper.assertThatLevelHasNodes(nodesAtEachLevel.get(1), 0, p3);\n\n graph.addDownstreamNode(new PipelineDependencyNode(p2, p2), p1);\n graph.addDownstreamNode(new PipelineDependencyNode(p3, p3), p2);\n\n VSMTestHelper.assertNodeHasChildren(graph, p1, p2, p3);\n VSMTestHelper.assertNodeHasChildren(graph, p2, p3);\n VSMTestHelper.assertNodeHasParents(graph, p3, p1, p2);\n VSMTestHelper.assertNodeHasParents(graph, p2, p1);\n assertThat(graph.findNode(p3).getChildren().isEmpty(), is(true));\n assertThat(graph.findNode(p1).getParents().isEmpty(), is(true));\n\n nodesAtEachLevel = graph.presentationModel().getNodesAtEachLevel();\n assertThat(nodesAtEachLevel.size(), is(3));\n VSMTestHelper.assertThatLevelHasNodes(nodesAtEachLevel.get(0), 0, p1);\n VSMTestHelper.assertThatLevelHasNodes(nodesAtEachLevel.get(1), 1, p2);\n VSMTestHelper.assertThatLevelHasNodes(nodesAtEachLevel.get(2), 0, p3);\n }", "@Override\r\n\tpublic void generateNodeRule(int step) throws IOException {\n\t\t\r\n\t\tgenerateNetNode.setSeedNodes(step, numberMaxSeed, setLayoutSeed);\r\n\t\t\r\n\t\tgenerateNetNodeVectorField.handleCreateSeedGraph(createSeedGraph, step); \r\n\t\r\n\t\t// list node element\r\n\t\tArrayList <Node> listNodeSeed = new ArrayList<Node> ( graphToolkit.getListElement(seedGraph, element.node, elementTypeToReturn.element));\t//\tSystem.out.println(listNodeSeed);\t\r\n\t\tArrayList<Integer> listIdSeedInt = new ArrayList<Integer>( graphToolkit.getListElement(seedGraph, element.node, elementTypeToReturn.integer)) ;\t\t\t\r\n\t\tArrayList<Integer> listIdNetInt = new ArrayList<Integer>( graphToolkit.getListElement(netGraph, element.node, elementTypeToReturn.integer)) ;\t\r\n\t\t\r\n\t\tint idNodeInt = Math.max(graphToolkit.getMaxIdIntElement(netGraph, element.node) , graphToolkit.getMaxIdIntElement(seedGraph, element.node) ) ;\r\n\t\t\r\n\t\t// map to update\r\n\t\tMap< Integer , double[] > mapIdNewSeedCoord = new HashMap< Integer , double[] > ();\r\n\t\tMap< Integer , String > mapIdNewSeedFather = new HashMap< Integer , String > ();\r\n\t\t\r\n\t\t// print\r\n\t\tSystem.out.println(seedGraph + \" \" + listIdSeedInt.size() /* + \" \" + listIdSeedInt */ );//\t\tSystem.out.println(netGraph + \" \" + listIdNetInt.size() + \" \" + listIdNetInt );\r\n\t\r\n\t\tint idLocal = 0 ;\r\n\r\n\t\tfor ( Node nodeSeed : listNodeSeed ) {\r\n\t\t\r\n\t\t\tString idSeed = nodeSeed.getId() ;\r\n\t\t\t\r\n\t\t//\tbucketSet.putNode(netGraph.getNode(idSeed)) ;\r\n\t\t\t\r\n\t\t\tdouble[] \tnodeCoord = GraphPosLengthUtils.nodePosition(nodeSeed) ,\r\n\t\t\t\t\t\tvector = getVector(vecGraph, nodeCoord, typeInterpolation ) ;\t\t\r\n\t\t\t\r\n\t\t\t// check vector\r\n\t\t\tdouble vectorInten = Math.pow( Math.pow(vector[0], 2) + Math.pow(vector[1], 2) , 0.5 ) ;\r\n\t\t\t\r\n\t\t\tif ( vectorInten > maxInten) {\r\n\t\t\t\tvector[0] = vector[0] / vectorInten * maxInten ; \r\n\t\t\t\tvector[1] = vector[1] / vectorInten * maxInten ;\t\t\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\t// check vector in grid\r\n\t\t\tdouble \txTopVector = generateNetNode.checkCoordInGrid ( gsGraph , nodeCoord[0] + vector[0] ) ,\r\n\t\t\t\t\tyTopVector = generateNetNode.checkCoordInGrid ( gsGraph , nodeCoord[1] + vector[1] ) ;\t\t\t\t\t\t// \tSystem.out.println(idSeed + \" \" + vector[0] + \" \" + vector[1]);\t\t\t\t\t\t\r\n\t\t\t\r\n\t\t\tdouble [] newNodeSeedCoord = new double[2] ;\r\n\t\t\t\t\t\t\r\n\t\t\tnewNodeSeedCoord[0] = xTopVector ;\r\n\t\t\tnewNodeSeedCoord[1] = yTopVector ;\r\n\t\t\t\r\n\t\t\tif ( dieBord ) {\t\t\r\n\t\t\t\tif ( newNodeSeedCoord[0] < 1 || newNodeSeedCoord[1] < 1 || newNodeSeedCoord[0] > sizeGridEdge -1 || newNodeSeedCoord[1] > sizeGridEdge - 1 )\r\n\t\t\t\t\tcontinue ;\r\n\t\t\t}\t\r\n\t\t\t\r\n\t\t\tArrayList<Integer> listIdNetIntLocal = new ArrayList<Integer> ( graphToolkit.getListElement(netGraph, element.node, elementTypeToReturn.integer)) ;\t\t//\tSystem.out.println(listIdNetIntLocal);\r\n\t\t\tArrayList<Integer> listIdSeedIntLocal = new ArrayList<Integer> ( graphToolkit.getListElement(seedGraph, element.node, elementTypeToReturn.integer)) ;\t\t//\tSystem.out.println(listIdNetIntLocal);\r\n\t\t\t\r\n\t\t\tint idInt = Collections.max(listIdNetIntLocal) ; //Math.max(listIdNetIntLocal, b) ;\r\n\t\t\twhile ( listIdNetIntLocal.contains(idInt) && listIdSeedIntLocal.contains(idInt) ) \r\n\t\t\t\tidInt ++ ;\r\n\t\t\t\r\n\t\t\tString id = Integer.toString(idInt) ;\t\t\t//\tSystem.out.println(idInt);\r\n\t\t\t\r\n\t\t\ttry {\r\n\t\t\t\tnetGraph.addNode(id);\r\n\t\t\t\tseedGraph.addNode(id);\r\n\t\t\t\tbucketSet.putNode(netGraph.getNode(id));\r\n\t\t\t}\r\n\t\t\tcatch (org.graphstream.graph.IdAlreadyInUseException e) {\r\n\t\t\t\t\r\n\t\t\t\tlistIdSeedIntLocal = new ArrayList<Integer> ( graphToolkit.getListElement(seedGraph, element.node, elementTypeToReturn.integer)) ;\r\n\t\t\t\tlistIdNetIntLocal = new ArrayList<Integer> ( graphToolkit.getListElement(netGraph, element.node, elementTypeToReturn.integer)) ;\r\n\t\t\t\t\r\n\t\t\t\tidInt = Math.max(Collections.max(listIdNetIntLocal) , Collections.max(listIdSeedIntLocal) ) ;\r\n\t\t\t\tidInt ++ ; \r\n\t\t\t\twhile ( listIdNetIntLocal.contains(idInt) && listIdSeedIntLocal.contains(idInt))\r\n\t\t\t\t\tidInt ++ ;\r\n\t\t\t\t\r\n\t\t\t\tid = Integer.toString(idInt) ;\t\t\t//\tSystem.out.println(idInt);\r\n\t\t\t\t\r\n\t\t\t\tnetGraph.addNode(id);\r\n\t\t\t\tseedGraph.addNode(id);\r\n\t\t\t\tbucketSet.putNode(netGraph.getNode(id));\t\t\t\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\tNode nodeNewNet = netGraph.getNode(id);\r\n\t\t\tNode nodeNewSeed = seedGraph.getNode(id);\r\n\t\t\t\t\t\t\r\n\t\t\tnodeNewSeed.addAttribute(\"xyz\", newNodeSeedCoord[0] , newNodeSeedCoord[1] , 0 );\r\n\t\t\tnodeNewSeed.addAttribute(\"father\", idSeed );\r\n\t\t\t\r\n\t\t\tnodeNewNet.addAttribute(\"xyz\", newNodeSeedCoord[0] , newNodeSeedCoord[1] , 0 );\r\n\t\t\tnodeNewNet.addAttribute(\"father\", idSeed );\t\r\n\t\t\t\r\n\t\t\tnodeNewNet.setAttribute(\"seedGrad\", 1);\r\n\t\t}\r\n\t\t\r\n\t\t// remove old seed\r\n\t\tfor ( int i : listIdSeedInt) //\tSystem.out.println(i);\r\n\t\t\tseedGraph.removeNode(Integer.toString(i));\t\r\n\t}", "public void setNode_4(String node_4);", "int NoOfNodes() {\r\n return noOfNodes;\r\n }", "public abstract int getNodeColumnCount();", "public MyMultiset() {\n\t\tthis.set = new HashSet<Node>();\n\t}", "public void setNode_1(String node_1);", "public interface GlobalNode extends Node{\n\n VariableName[] getVariableNames();\n\n}", "void nodeCreate( long id );", "Dijk(){\n grp = new HashMap<>();\n seen = new HashSet<>();\n dlist = new HashMap<>();\n id = new HashMap<>();\n lowlink = new HashMap<>();\n orid = 0;\n }", "public MutableNodeSet(Graph graph) {\n\t\tsuper(graph);\n\t\tthis.members = new TreeSet<Integer>();\n\t\tinitializeInOutWeights();\n\t}", "public int getNodeCount() {\n return nodeCount;\n }", "void graph3() {\n\t\tconnect(\"0\", \"0\");\n\t\tconnect(\"2\", \"2\");\n\t\tconnect(\"2\", \"3\");\n\t\tconnect(\"3\", \"0\");\n\t}", "N getNode(int id);", "public abstract int numOfSameTypeNeighbourToReproduce();", "protected abstract Node[] getAllNodes();", "public int totalNumNodes () { throw new RuntimeException(); }", "public Builder withNodes(Integer... nodes) {\n this.nodes = nodes;\n return this;\n }", "private void initializeNodes() {\n for (NasmInst inst : nasm.listeInst) {\n Node newNode = graph.newNode();\n inst2Node.put(inst, newNode);\n node2Inst.put(newNode, inst);\n if (inst.label != null) {\n NasmLabel label = (NasmLabel) inst.label;\n label2Inst.put(label.toString(), inst);\n }\n }\n }", "@Override\n public int nodeCount() {\n return graphNodes.size();\n }", "private void initFourNodes(InitType type) {\n if (type == InitType.RANDOM) {\n for (int i = 0; i < 2; i++) {\n for (int j = 0; j < 2; j++) {\n GNode initNode = new GNode(i, j, Utils.generateRandomArray(GSOMConstants.DIMENSIONS));\n nodeMap.put(Utils.generateIndexString(i, j), initNode);\n }\n }\n } else if (type == InitType.LINEAR) {\n double initVal = 0.1;\n for (int i = 0; i < 2; i++) {\n for (int j = 0; j < 2; j++) {\n GNode initNode = new GNode(i, j, Utils.generateLinearArray(GSOMConstants.DIMENSIONS, initVal));\n nodeMap.put(Utils.generateIndexString(i, j), initNode);\n initVal += 0.1;\n }\n }\n }\n }", "public void setNode_5(String node_5);", "public int size(){\n return n_nodi;\n }", "@Override\r\n\tpublic int getNumberOfNodes() {\n\t\treturn 0;\r\n\t}", "@Test\n public void shouldNotAddDuplicateDependents() {\n String currentPipeline = \"p5\";\n ValueStreamMap graph = new ValueStreamMap(currentPipeline, null);\n Node p4 = graph.addUpstreamNode(new PipelineDependencyNode(\"p4\", \"p4\"), null, currentPipeline);\n graph.addUpstreamNode(new PipelineDependencyNode(\"p4\", \"p4\"), null, currentPipeline);\n\n assertThat(p4.getChildren().size(), is(1));\n VSMTestHelper.assertThatNodeHasChildren(graph, \"p4\", 0, \"p5\");\n }", "@Override\n\tpublic int getNodes() {\n\t\treturn model.getNodes();\n\t}", "int totalNumberOfNodes();", "private Collection<Node> getNodes()\r\n\t{\r\n\t return nodeMap.values();\r\n\t}", "Collection<Node> allNodes();", "static int displayN(Node node)\r\n {\r\n return node.neighbors.size();\r\n }", "public abstract int getNodeType();", "private void seed(List<T> items){\n for(T item: items) {\n Node<T> newNode = new Node<T>(item);\n this.count++;\n if(this.root == null){\n this.root = newNode;\n } else {\n Node temp = this.root;\n newNode.next = temp;\n this.root = newNode;\n }\n }\n\n }", "public kNNNode(double[] data){\n this.data = data;\n this.id = count;\n count += 1;\n }", "List<CyNode> getNodeList();", "public Nodes nodes() {\n return this.nodes;\n }", "@Override public Integer visitDeclaracionMultiple(lenguajesParser.DeclaracionMultipleContext ctx) {\n for(TerminalNode x:ctx.ID()){\n System.out.println(x.getText());\n memoria.put(x.getText(),0);\n\n }\n //System.out.println(ctx.ID().getText());\n return null;\n }", "@Override\n\tpublic long numNodes() {\n\t\treturn numNodes;\n\t}", "interface WithNodeCount {\n /**\n * Specifies nodeCount.\n * @param nodeCount The job will be gang scheduled on that many compute nodes\n * @return the next definition stage\n*/\n WithStdOutErrPathPrefix withNodeCount(int nodeCount);\n }", "public List<Node> getNodes();", "public void setNumberOfVisitedNodes(int numberOfVisitedNodes) {\n NumberOfVisitedNodes = numberOfVisitedNodes;\n }", "public int getNumberOfNodesEvaluated();", "public static void main(String args[]) throws CloneNotSupportedException\n\t{\n\t\tSystem.out.println(getRandomNumber(2, 2));\n\t\t//Node n1 = org.apache.commons.lang3.SerializationUtils.clone(n);\n\t\t//n.getNextNodes().get(\"1\").getNextNodes().put(\"1\", null);\n\t\t//System.out.println(n1.getNextNodes().get(\"1\").getNextNodes().get(\"1\"));\n\t}", "List<Node> getNodes();", "public Transformation_001(int[] theNodes){\n this.theNodes=theNodes;\n }", "private static void readAndWriteNodes(String name) throws IOException {\n System.out.println(name);\n Map<Long, Long> nodeMap = new HashMap<>();\n boolean firstLine = true;\n fileReader = new BufferedReader(new FileReader(PATH + name));\n fileWriter = new BufferedWriter(new FileWriter(PATH + \"/uid/\" + name));\n String line;\n while ((line = fileReader.readLine()) != null) {\n if (!firstLine) {\n long globalId = getGlobalId();\n String[] lineTokens = LINE_TOKEN_SEPARATOR.split(line);\n long ID = Long.parseLong(lineTokens[0]);\n nodeMap.put(ID, globalId);\n String writeLine = \"\";\n for (int i = 0; i < lineTokens.length; i++) {\n if (i == 0) {\n writeLine += globalId;\n } else {\n writeLine += lineTokens[i];\n }\n writeLine += \"|\";\n }\n fileWriter.write(writeLine);\n fileWriter.newLine();\n vertexCount++;\n globalVertexCount++;\n } else {\n fileWriter.write(line);\n fileWriter.newLine();\n firstLine = false;\n }\n }\n fileWriter.close();\n fileReader.close();\n counterMapNodes.put(name, vertexCount);\n vertexCount = 0;\n vertexList.add(nodeMap);\n }", "public static void main(String[] args) {\n\t\tNode n = new Node(0);\r\n\t\tNode dummy = n;\r\n\t\tn.next = new Node(1);\r\n\t\tn = n.next;\r\n\t\tn.next = new Node(1);\r\n\t\tn = n.next;\r\n\t\tfor (int i = 1; i < 10; i ++) {\r\n\t\t\tn.next = new Node(i);\r\n\t\t\tn = n.next;\r\n\t\t}\r\n\t\tremoveDuplicate(dummy);\r\n\t\twhile(dummy != null) {\r\n\t\t\tSystem.out.println(dummy.val);\r\n\t\t\tdummy = dummy.next;\r\n\t\t}\r\n\t\t\r\n\t}", "public void addNode(int key)\n{\n Node n1 = new Node(key);\n\t\n\tif(!getNodes().containsKey(n1.getKey())) \n\t{\n\tmc++;\n\tthis.getNodes().put(n1.getKey(),n1);\n\t\t\n\t}\n\telse {\n\t\treturn;\n\t\t//System.out.println(\"Node already in the graph\");\n\t}\n}", "boolean addNode(long idNum, String label);", "private void reIndex()\n {\n for(int i = 0; i < NodeList.size(); i++)\n NodeList.get(i).setID(i);\n ID = NodeList.size();\n }", "public int getNodeLabel ();", "public int getEdgeCount() \n {\n return 3;\n }", "int numNodes() {\n\t\treturn num_nodes;\n\t}", "@Test(timeout = 4000)\n public void test03() throws Throwable {\n ExpressionMatrixImpl expressionMatrixImpl0 = new ExpressionMatrixImpl();\n expressionMatrixImpl0.addNewNode();\n expressionMatrixImpl0.getNumberOfNodes();\n }", "public int size(){\n return nodes.size();\n }", "public interface NodeRoot extends RootVertex<Node> {\n\n\tpublic static final String TYPE = \"nodes\";\n\n\t/**\n\t * Create a new node.\n\t * \n\t * @param user\n\t * User that is used to set creator and editor references\n\t * @param container\n\t * Schema version that should be used when creating the node\n\t * @param project\n\t * Project to which the node should be assigned to\n\t * @return Created node\n\t */\n\tdefault Node create(HibUser user, HibSchemaVersion container, HibProject project) {\n\t\treturn create(user, container, project, null);\n\t}\n\n\t/**\n\t * Create a new node.\n\t * \n\t * @param user\n\t * User that is used to set creator and editor references\n\t * @param container\n\t * Schema version that should be used when creating the node\n\t * @param project\n\t * Project to which the node should be assigned to\n\t * @param uuid\n\t * Optional uuid\n\t * @return Created node\n\t */\n\tNode create(HibUser user, HibSchemaVersion container, HibProject project, String uuid);\n\n}", "public List<Output<TInt32>> nodeIdsList() {\n return nodeIdsList;\n }", "public void setCounterpart(Node n)\n\t{\n\t\tcounterpart = n;\n\t}", "public RBACwithCommonNodes(){\n\t\tvalues = new Hashtable<Integer,Hashtable<Object, Integer>>();\n\t\tint[] order = {1,4,2,5,3};\n\t\tauthGraph = new DirectedGraph(order);\n\t}", "@Test \r\n void add_mutiple_edges_check_size(){\r\n for(int i = 0; i < 20; i++) {\r\n graph.addEdge(\"\" + i, \"\" + (i + 1));\r\n } \r\n List<String> adjacent;\r\n for(int i = 0; i < 20; i++) {\r\n adjacent = graph.getAdjacentVerticesOf(\"\"+i);\r\n if(!adjacent.contains(\"\" + (i+1))) {\r\n fail();\r\n }\r\n }\r\n if(graph.size() != 20 | graph.order() != 21) {\r\n fail();\r\n }\r\n \r\n }", "@Test\n public void tae3()\n {\n Graph graph = new Graph(3);\n graph.addEdge(0,0);\n graph.addEdge(0,1);\n graph.addEdge(1,1);\n System.out.println(graph);\n assertEquals(graph.toString(), \"numNodes: 3\\nedges: [[true, true, false], [false, true, false], \" +\n \"[false, false, false]]\");\n }", "public Node(Integer number){\n this.number = number;\n this.edges = new ArrayList<Edge>();\n }", "public NonceHelperImpl(Node node) {\n\t\tthis.node = node;\n\t}", "String getIdNode1();", "public List<DataNodeId> getDataNodeIds();", "public void setNode_2(String node_2);", "@Test\r\n void add_20_remove_20_add_20() {\r\n //Add 20\r\n for(int i = 0; i < 20; i++) {\r\n graph.addVertex(\"\" +i);\r\n }\r\n vertices = graph.getAllVertices();\r\n //Check all 20 are in graph\r\n for(int i = 0; i < 20; i++) {\r\n if(!vertices.contains(\"\" + i)) {\r\n fail();\r\n }\r\n }\r\n //Remove 20 \r\n for(int i = 0; i < 20; i++) {\r\n graph.removeVertex(\"\" +i);\r\n }\r\n //Check all 20 are not in graph anymore \r\n \r\n for(int i = 0; i < 20; i++) {\r\n if(vertices.contains(\"\" + i)) {\r\n fail();\r\n }\r\n }\r\n //Add 20 again\r\n for(int i = 0; i < 20; i++) {\r\n graph.addVertex(\"\" +i);\r\n }\r\n //Check all 20 are in graph\r\n for(int i = 0; i < 20; i++) {\r\n if(!vertices.contains(\"\" + i)) {\r\n fail();\r\n }\r\n }\r\n }", "public int getNumNodesSeenByMessage() {\r\n return numNodesSeenByMessage;\r\n }", "public interface Node {\n public int arityOfOperation();\n public String getText(int depth) throws CalculationException;\n public double getResult() throws CalculationException;\n public boolean isReachable(int depth);\n public List<Node> getAdjacentNodes();\n public String getTitle();\n public void setDepth(int depth);\n}", "public entities.Torrent.NodeIdOrBuilder getNodesOrBuilder(\n int index) {\n if (nodesBuilder_ == null) {\n return nodes_.get(index); } else {\n return nodesBuilder_.getMessageOrBuilder(index);\n }\n }", "public RandomNeighborhoodOperator(int nbRelaxedVars, long seed)\n{\n\trandom = new Random(seed);\n\tthis.nbRelaxedVars = nbRelaxedVars;\n\tselected = new TIntHashSet();\n}", "protected int numNodes() {\n\t\treturn nodes.size();\n\t}" ]
[ "0.58012414", "0.58011365", "0.58011365", "0.57780284", "0.5772085", "0.575644", "0.57039076", "0.57026917", "0.57026917", "0.5693984", "0.56889755", "0.5681135", "0.5661298", "0.565362", "0.565362", "0.56194633", "0.55934185", "0.55905604", "0.5582704", "0.5582704", "0.55576086", "0.5553456", "0.55534184", "0.55374855", "0.55020475", "0.5492895", "0.54633546", "0.5461078", "0.54584455", "0.5456036", "0.54218566", "0.5407351", "0.53965527", "0.5379224", "0.5348748", "0.5340543", "0.5326505", "0.53220886", "0.53212166", "0.5310216", "0.53045285", "0.5297627", "0.5287574", "0.52839285", "0.5282713", "0.5277224", "0.5273952", "0.5267903", "0.52668875", "0.5264547", "0.52620673", "0.5251183", "0.52498484", "0.52463955", "0.5246097", "0.52395076", "0.52384377", "0.52240205", "0.52188224", "0.5216552", "0.52149147", "0.5212481", "0.51699907", "0.51675326", "0.5167482", "0.51640254", "0.5161053", "0.5156575", "0.51526", "0.5152278", "0.5151577", "0.5145827", "0.51417863", "0.5137731", "0.5131012", "0.51277584", "0.5122025", "0.5114847", "0.5114217", "0.5113302", "0.51038605", "0.50990254", "0.5098557", "0.5097867", "0.5097691", "0.50939083", "0.50911415", "0.509027", "0.50891143", "0.5086298", "0.50808966", "0.5080496", "0.5079757", "0.5074141", "0.50690967", "0.5060841", "0.5056872", "0.5056417", "0.5054413", "0.50434023", "0.50353533" ]
0.0
-1
repeated .NodeId nodes = 3;
public entities.Torrent.NodeIdOrBuilder getNodesOrBuilder( int index) { if (nodesBuilder_ == null) { return nodes_.get(index); } else { return nodesBuilder_.getMessageOrBuilder(index); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public int my_node_count();", "int getNodeCount();", "int getNodeCount();", "entities.Torrent.NodeId getNodes(int index);", "public Vector<Node> GetAdditionalSubNodes();", "void addNodes(List<CyNode> nodes);", "public void setNode_3(String node_3);", "entities.Torrent.NodeIdOrBuilder getNodeOrBuilder();", "entities.Torrent.NodeIdOrBuilder getNodeOrBuilder();", "List<Node> nodes();", "public abstract void setNodes();", "private int numNodes()\r\n\t{\r\n\t return nodeMap.size();\r\n\t}", "Set<ControllerNode> seedNodes();", "int getNodesCount();", "int getNodesCount();", "public abstract int getNodeRowCount();", "void printpopulateInorderSucc(Node t){\n\t\n\n}", "public void counter(Topology tp, Node node)\n {\n index[x] = node.getID();\n x++;\n if (x > 1)\n {\n addlink(tp);\n }\n }", "entities.Torrent.NodeId getNode();", "entities.Torrent.NodeId getNode();", "public Nodes getNodes()\n {\n return nodes;\n }", "public static int numberOfNodes() { return current_id; }", "private void fourNodesTopo() {\n ReadWriteTransaction tx = dataBroker.newReadWriteTransaction();\n n(tx, true, \"n1\", Stream.of(pB(\"n1:1\"), pB(\"n1:2\"), pI(\"n1:3\"), pO(\"n1:4\"), pO(\"n1:5\")));\n n(tx, true, \"n2\", Stream.of(pB(\"n2:1\"), pB(\"n2:2\"), pO(\"n2:3\"), pI(\"n2:4\"), pI(\"n2:5\")));\n n(tx, true, \"n3\", Stream.of(pB(\"n3:1\"), pB(\"n3:2\"), pO(\"n3:3\"), pO(\"n3:4\"), pI(\"n3:5\")));\n n(tx, true, \"n4\", Stream.of(pB(\"n4:1\"), pB(\"n4:2\"), pI(\"n4:3\"), pI(\"n4:4\"), pO(\"n4:5\")));\n l(tx, \"n1\", \"n1:5\", \"n2\", \"n2:5\", OperationalState.ENABLED, ForwardingDirection.UNIDIRECTIONAL);\n l(tx, \"n1\", \"n1:4\", \"n4\", \"n4:4\", OperationalState.ENABLED, ForwardingDirection.UNIDIRECTIONAL);\n l(tx, \"n2\", \"n2:3\", \"n4\", \"n4:3\", OperationalState.ENABLED, ForwardingDirection.UNIDIRECTIONAL);\n l(tx, \"n3\", \"n3:4\", \"n2\", \"n2:4\", OperationalState.ENABLED, ForwardingDirection.UNIDIRECTIONAL);\n l(tx, \"n4\", \"n4:5\", \"n3\", \"n3:5\", OperationalState.ENABLED, ForwardingDirection.UNIDIRECTIONAL);\n try {\n tx.submit().checkedGet();\n } catch (TransactionCommitFailedException e) {\n e.printStackTrace();\n }\n }", "io.netifi.proteus.admin.om.Node getNodes(int index);", "public void setNodes( Nodes nodes )\n {\n this.nodes = nodes;\n }", "entities.Torrent.NodeIdOrBuilder getNodesOrBuilder(\n int index);", "public void UpNumberOfVisitedNodes() {\n NumberOfVisitedNodes++;\n }", "public abstract int getNodesQuantity();", "int nodeCount();", "private void fiveNodesTopo() {\n ReadWriteTransaction tx = dataBroker.newReadWriteTransaction();\n n(tx, true, \"n1\", Stream.of(pI(\"n1:1\"), pB(\"n1:2\"), pI(\"n1:3\"), pO(\"n1:4\")));\n n(tx, true, \"n2\", Stream.of(pI(\"n2:1\"), pB(\"n2:2\"), pO(\"n2:3\"), pI(\"n2:4\")));\n n(tx, true, \"n3\", Stream.of(pO(\"n3:1\"), pB(\"n3:2\"), pO(\"n3:3\"), pI(\"n3:4\")));\n n(tx, true, \"n4\", Stream.of(pO(\"n4:1\"), pI(\"n4:2\"), pB(\"n4:3\"), pB(\"n4:4\")));\n n(tx, true, \"n5\", Stream.of(pI(\"n5:1\"), pB(\"n5:2\"), pB(\"n5:3\"), pO(\"n5:4\")));\n l(tx, \"n2\", \"n2:3\", \"n3\", \"n3:4\", OperationalState.ENABLED, ForwardingDirection.BIDIRECTIONAL);\n l(tx, \"n3\", \"n3:1\", \"n1\", \"n1:1\", OperationalState.ENABLED, ForwardingDirection.BIDIRECTIONAL);\n l(tx, \"n3\", \"n3:3\", \"n5\", \"n5:1\", OperationalState.ENABLED, ForwardingDirection.BIDIRECTIONAL);\n l(tx, \"n4\", \"n4:1\", \"n1\", \"n1:3\", OperationalState.ENABLED, ForwardingDirection.BIDIRECTIONAL);\n l(tx, \"n1\", \"n1:4\", \"n2\", \"n2:4\", OperationalState.ENABLED, ForwardingDirection.BIDIRECTIONAL);\n l(tx, \"n5\", \"n5:4\", \"n4\", \"n4:2\", OperationalState.ENABLED, ForwardingDirection.BIDIRECTIONAL);\n try {\n tx.submit().checkedGet();\n } catch (TransactionCommitFailedException e) {\n e.printStackTrace();\n }\n }", "@Test\n public void shouldAssignLevelsAndInsertDummyNodes(){\n String p1 = \"p1\";\n String p2 = \"p2\";\n String p3 = \"p3\";\n ValueStreamMap graph = new ValueStreamMap(p1, null);\n graph.addDownstreamNode(new PipelineDependencyNode(p3, p3), p1);\n\n List<List<Node>> nodesAtEachLevel = graph.presentationModel().getNodesAtEachLevel();\n assertThat(nodesAtEachLevel.size(), is(2));\n VSMTestHelper.assertNodeHasChildren(graph, p1, p3);\n VSMTestHelper.assertThatLevelHasNodes(nodesAtEachLevel.get(0), 0, p1);\n VSMTestHelper.assertThatLevelHasNodes(nodesAtEachLevel.get(1), 0, p3);\n\n graph.addDownstreamNode(new PipelineDependencyNode(p2, p2), p1);\n graph.addDownstreamNode(new PipelineDependencyNode(p3, p3), p2);\n\n VSMTestHelper.assertNodeHasChildren(graph, p1, p2, p3);\n VSMTestHelper.assertNodeHasChildren(graph, p2, p3);\n VSMTestHelper.assertNodeHasParents(graph, p3, p1, p2);\n VSMTestHelper.assertNodeHasParents(graph, p2, p1);\n assertThat(graph.findNode(p3).getChildren().isEmpty(), is(true));\n assertThat(graph.findNode(p1).getParents().isEmpty(), is(true));\n\n nodesAtEachLevel = graph.presentationModel().getNodesAtEachLevel();\n assertThat(nodesAtEachLevel.size(), is(3));\n VSMTestHelper.assertThatLevelHasNodes(nodesAtEachLevel.get(0), 0, p1);\n VSMTestHelper.assertThatLevelHasNodes(nodesAtEachLevel.get(1), 1, p2);\n VSMTestHelper.assertThatLevelHasNodes(nodesAtEachLevel.get(2), 0, p3);\n }", "@Override\r\n\tpublic void generateNodeRule(int step) throws IOException {\n\t\t\r\n\t\tgenerateNetNode.setSeedNodes(step, numberMaxSeed, setLayoutSeed);\r\n\t\t\r\n\t\tgenerateNetNodeVectorField.handleCreateSeedGraph(createSeedGraph, step); \r\n\t\r\n\t\t// list node element\r\n\t\tArrayList <Node> listNodeSeed = new ArrayList<Node> ( graphToolkit.getListElement(seedGraph, element.node, elementTypeToReturn.element));\t//\tSystem.out.println(listNodeSeed);\t\r\n\t\tArrayList<Integer> listIdSeedInt = new ArrayList<Integer>( graphToolkit.getListElement(seedGraph, element.node, elementTypeToReturn.integer)) ;\t\t\t\r\n\t\tArrayList<Integer> listIdNetInt = new ArrayList<Integer>( graphToolkit.getListElement(netGraph, element.node, elementTypeToReturn.integer)) ;\t\r\n\t\t\r\n\t\tint idNodeInt = Math.max(graphToolkit.getMaxIdIntElement(netGraph, element.node) , graphToolkit.getMaxIdIntElement(seedGraph, element.node) ) ;\r\n\t\t\r\n\t\t// map to update\r\n\t\tMap< Integer , double[] > mapIdNewSeedCoord = new HashMap< Integer , double[] > ();\r\n\t\tMap< Integer , String > mapIdNewSeedFather = new HashMap< Integer , String > ();\r\n\t\t\r\n\t\t// print\r\n\t\tSystem.out.println(seedGraph + \" \" + listIdSeedInt.size() /* + \" \" + listIdSeedInt */ );//\t\tSystem.out.println(netGraph + \" \" + listIdNetInt.size() + \" \" + listIdNetInt );\r\n\t\r\n\t\tint idLocal = 0 ;\r\n\r\n\t\tfor ( Node nodeSeed : listNodeSeed ) {\r\n\t\t\r\n\t\t\tString idSeed = nodeSeed.getId() ;\r\n\t\t\t\r\n\t\t//\tbucketSet.putNode(netGraph.getNode(idSeed)) ;\r\n\t\t\t\r\n\t\t\tdouble[] \tnodeCoord = GraphPosLengthUtils.nodePosition(nodeSeed) ,\r\n\t\t\t\t\t\tvector = getVector(vecGraph, nodeCoord, typeInterpolation ) ;\t\t\r\n\t\t\t\r\n\t\t\t// check vector\r\n\t\t\tdouble vectorInten = Math.pow( Math.pow(vector[0], 2) + Math.pow(vector[1], 2) , 0.5 ) ;\r\n\t\t\t\r\n\t\t\tif ( vectorInten > maxInten) {\r\n\t\t\t\tvector[0] = vector[0] / vectorInten * maxInten ; \r\n\t\t\t\tvector[1] = vector[1] / vectorInten * maxInten ;\t\t\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\t// check vector in grid\r\n\t\t\tdouble \txTopVector = generateNetNode.checkCoordInGrid ( gsGraph , nodeCoord[0] + vector[0] ) ,\r\n\t\t\t\t\tyTopVector = generateNetNode.checkCoordInGrid ( gsGraph , nodeCoord[1] + vector[1] ) ;\t\t\t\t\t\t// \tSystem.out.println(idSeed + \" \" + vector[0] + \" \" + vector[1]);\t\t\t\t\t\t\r\n\t\t\t\r\n\t\t\tdouble [] newNodeSeedCoord = new double[2] ;\r\n\t\t\t\t\t\t\r\n\t\t\tnewNodeSeedCoord[0] = xTopVector ;\r\n\t\t\tnewNodeSeedCoord[1] = yTopVector ;\r\n\t\t\t\r\n\t\t\tif ( dieBord ) {\t\t\r\n\t\t\t\tif ( newNodeSeedCoord[0] < 1 || newNodeSeedCoord[1] < 1 || newNodeSeedCoord[0] > sizeGridEdge -1 || newNodeSeedCoord[1] > sizeGridEdge - 1 )\r\n\t\t\t\t\tcontinue ;\r\n\t\t\t}\t\r\n\t\t\t\r\n\t\t\tArrayList<Integer> listIdNetIntLocal = new ArrayList<Integer> ( graphToolkit.getListElement(netGraph, element.node, elementTypeToReturn.integer)) ;\t\t//\tSystem.out.println(listIdNetIntLocal);\r\n\t\t\tArrayList<Integer> listIdSeedIntLocal = new ArrayList<Integer> ( graphToolkit.getListElement(seedGraph, element.node, elementTypeToReturn.integer)) ;\t\t//\tSystem.out.println(listIdNetIntLocal);\r\n\t\t\t\r\n\t\t\tint idInt = Collections.max(listIdNetIntLocal) ; //Math.max(listIdNetIntLocal, b) ;\r\n\t\t\twhile ( listIdNetIntLocal.contains(idInt) && listIdSeedIntLocal.contains(idInt) ) \r\n\t\t\t\tidInt ++ ;\r\n\t\t\t\r\n\t\t\tString id = Integer.toString(idInt) ;\t\t\t//\tSystem.out.println(idInt);\r\n\t\t\t\r\n\t\t\ttry {\r\n\t\t\t\tnetGraph.addNode(id);\r\n\t\t\t\tseedGraph.addNode(id);\r\n\t\t\t\tbucketSet.putNode(netGraph.getNode(id));\r\n\t\t\t}\r\n\t\t\tcatch (org.graphstream.graph.IdAlreadyInUseException e) {\r\n\t\t\t\t\r\n\t\t\t\tlistIdSeedIntLocal = new ArrayList<Integer> ( graphToolkit.getListElement(seedGraph, element.node, elementTypeToReturn.integer)) ;\r\n\t\t\t\tlistIdNetIntLocal = new ArrayList<Integer> ( graphToolkit.getListElement(netGraph, element.node, elementTypeToReturn.integer)) ;\r\n\t\t\t\t\r\n\t\t\t\tidInt = Math.max(Collections.max(listIdNetIntLocal) , Collections.max(listIdSeedIntLocal) ) ;\r\n\t\t\t\tidInt ++ ; \r\n\t\t\t\twhile ( listIdNetIntLocal.contains(idInt) && listIdSeedIntLocal.contains(idInt))\r\n\t\t\t\t\tidInt ++ ;\r\n\t\t\t\t\r\n\t\t\t\tid = Integer.toString(idInt) ;\t\t\t//\tSystem.out.println(idInt);\r\n\t\t\t\t\r\n\t\t\t\tnetGraph.addNode(id);\r\n\t\t\t\tseedGraph.addNode(id);\r\n\t\t\t\tbucketSet.putNode(netGraph.getNode(id));\t\t\t\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\tNode nodeNewNet = netGraph.getNode(id);\r\n\t\t\tNode nodeNewSeed = seedGraph.getNode(id);\r\n\t\t\t\t\t\t\r\n\t\t\tnodeNewSeed.addAttribute(\"xyz\", newNodeSeedCoord[0] , newNodeSeedCoord[1] , 0 );\r\n\t\t\tnodeNewSeed.addAttribute(\"father\", idSeed );\r\n\t\t\t\r\n\t\t\tnodeNewNet.addAttribute(\"xyz\", newNodeSeedCoord[0] , newNodeSeedCoord[1] , 0 );\r\n\t\t\tnodeNewNet.addAttribute(\"father\", idSeed );\t\r\n\t\t\t\r\n\t\t\tnodeNewNet.setAttribute(\"seedGrad\", 1);\r\n\t\t}\r\n\t\t\r\n\t\t// remove old seed\r\n\t\tfor ( int i : listIdSeedInt) //\tSystem.out.println(i);\r\n\t\t\tseedGraph.removeNode(Integer.toString(i));\t\r\n\t}", "public void setNode_4(String node_4);", "int NoOfNodes() {\r\n return noOfNodes;\r\n }", "public abstract int getNodeColumnCount();", "public MyMultiset() {\n\t\tthis.set = new HashSet<Node>();\n\t}", "public void setNode_1(String node_1);", "public interface GlobalNode extends Node{\n\n VariableName[] getVariableNames();\n\n}", "void nodeCreate( long id );", "Dijk(){\n grp = new HashMap<>();\n seen = new HashSet<>();\n dlist = new HashMap<>();\n id = new HashMap<>();\n lowlink = new HashMap<>();\n orid = 0;\n }", "public MutableNodeSet(Graph graph) {\n\t\tsuper(graph);\n\t\tthis.members = new TreeSet<Integer>();\n\t\tinitializeInOutWeights();\n\t}", "public int getNodeCount() {\n return nodeCount;\n }", "void graph3() {\n\t\tconnect(\"0\", \"0\");\n\t\tconnect(\"2\", \"2\");\n\t\tconnect(\"2\", \"3\");\n\t\tconnect(\"3\", \"0\");\n\t}", "N getNode(int id);", "public abstract int numOfSameTypeNeighbourToReproduce();", "protected abstract Node[] getAllNodes();", "public int totalNumNodes () { throw new RuntimeException(); }", "public Builder withNodes(Integer... nodes) {\n this.nodes = nodes;\n return this;\n }", "private void initializeNodes() {\n for (NasmInst inst : nasm.listeInst) {\n Node newNode = graph.newNode();\n inst2Node.put(inst, newNode);\n node2Inst.put(newNode, inst);\n if (inst.label != null) {\n NasmLabel label = (NasmLabel) inst.label;\n label2Inst.put(label.toString(), inst);\n }\n }\n }", "@Override\n public int nodeCount() {\n return graphNodes.size();\n }", "private void initFourNodes(InitType type) {\n if (type == InitType.RANDOM) {\n for (int i = 0; i < 2; i++) {\n for (int j = 0; j < 2; j++) {\n GNode initNode = new GNode(i, j, Utils.generateRandomArray(GSOMConstants.DIMENSIONS));\n nodeMap.put(Utils.generateIndexString(i, j), initNode);\n }\n }\n } else if (type == InitType.LINEAR) {\n double initVal = 0.1;\n for (int i = 0; i < 2; i++) {\n for (int j = 0; j < 2; j++) {\n GNode initNode = new GNode(i, j, Utils.generateLinearArray(GSOMConstants.DIMENSIONS, initVal));\n nodeMap.put(Utils.generateIndexString(i, j), initNode);\n initVal += 0.1;\n }\n }\n }\n }", "public void setNode_5(String node_5);", "public int size(){\n return n_nodi;\n }", "@Override\r\n\tpublic int getNumberOfNodes() {\n\t\treturn 0;\r\n\t}", "@Test\n public void shouldNotAddDuplicateDependents() {\n String currentPipeline = \"p5\";\n ValueStreamMap graph = new ValueStreamMap(currentPipeline, null);\n Node p4 = graph.addUpstreamNode(new PipelineDependencyNode(\"p4\", \"p4\"), null, currentPipeline);\n graph.addUpstreamNode(new PipelineDependencyNode(\"p4\", \"p4\"), null, currentPipeline);\n\n assertThat(p4.getChildren().size(), is(1));\n VSMTestHelper.assertThatNodeHasChildren(graph, \"p4\", 0, \"p5\");\n }", "@Override\n\tpublic int getNodes() {\n\t\treturn model.getNodes();\n\t}", "int totalNumberOfNodes();", "private Collection<Node> getNodes()\r\n\t{\r\n\t return nodeMap.values();\r\n\t}", "Collection<Node> allNodes();", "static int displayN(Node node)\r\n {\r\n return node.neighbors.size();\r\n }", "public abstract int getNodeType();", "private void seed(List<T> items){\n for(T item: items) {\n Node<T> newNode = new Node<T>(item);\n this.count++;\n if(this.root == null){\n this.root = newNode;\n } else {\n Node temp = this.root;\n newNode.next = temp;\n this.root = newNode;\n }\n }\n\n }", "public kNNNode(double[] data){\n this.data = data;\n this.id = count;\n count += 1;\n }", "List<CyNode> getNodeList();", "public Nodes nodes() {\n return this.nodes;\n }", "@Override public Integer visitDeclaracionMultiple(lenguajesParser.DeclaracionMultipleContext ctx) {\n for(TerminalNode x:ctx.ID()){\n System.out.println(x.getText());\n memoria.put(x.getText(),0);\n\n }\n //System.out.println(ctx.ID().getText());\n return null;\n }", "@Override\n\tpublic long numNodes() {\n\t\treturn numNodes;\n\t}", "interface WithNodeCount {\n /**\n * Specifies nodeCount.\n * @param nodeCount The job will be gang scheduled on that many compute nodes\n * @return the next definition stage\n*/\n WithStdOutErrPathPrefix withNodeCount(int nodeCount);\n }", "public List<Node> getNodes();", "public void setNumberOfVisitedNodes(int numberOfVisitedNodes) {\n NumberOfVisitedNodes = numberOfVisitedNodes;\n }", "public int getNumberOfNodesEvaluated();", "public static void main(String args[]) throws CloneNotSupportedException\n\t{\n\t\tSystem.out.println(getRandomNumber(2, 2));\n\t\t//Node n1 = org.apache.commons.lang3.SerializationUtils.clone(n);\n\t\t//n.getNextNodes().get(\"1\").getNextNodes().put(\"1\", null);\n\t\t//System.out.println(n1.getNextNodes().get(\"1\").getNextNodes().get(\"1\"));\n\t}", "List<Node> getNodes();", "public Transformation_001(int[] theNodes){\n this.theNodes=theNodes;\n }", "private static void readAndWriteNodes(String name) throws IOException {\n System.out.println(name);\n Map<Long, Long> nodeMap = new HashMap<>();\n boolean firstLine = true;\n fileReader = new BufferedReader(new FileReader(PATH + name));\n fileWriter = new BufferedWriter(new FileWriter(PATH + \"/uid/\" + name));\n String line;\n while ((line = fileReader.readLine()) != null) {\n if (!firstLine) {\n long globalId = getGlobalId();\n String[] lineTokens = LINE_TOKEN_SEPARATOR.split(line);\n long ID = Long.parseLong(lineTokens[0]);\n nodeMap.put(ID, globalId);\n String writeLine = \"\";\n for (int i = 0; i < lineTokens.length; i++) {\n if (i == 0) {\n writeLine += globalId;\n } else {\n writeLine += lineTokens[i];\n }\n writeLine += \"|\";\n }\n fileWriter.write(writeLine);\n fileWriter.newLine();\n vertexCount++;\n globalVertexCount++;\n } else {\n fileWriter.write(line);\n fileWriter.newLine();\n firstLine = false;\n }\n }\n fileWriter.close();\n fileReader.close();\n counterMapNodes.put(name, vertexCount);\n vertexCount = 0;\n vertexList.add(nodeMap);\n }", "public static void main(String[] args) {\n\t\tNode n = new Node(0);\r\n\t\tNode dummy = n;\r\n\t\tn.next = new Node(1);\r\n\t\tn = n.next;\r\n\t\tn.next = new Node(1);\r\n\t\tn = n.next;\r\n\t\tfor (int i = 1; i < 10; i ++) {\r\n\t\t\tn.next = new Node(i);\r\n\t\t\tn = n.next;\r\n\t\t}\r\n\t\tremoveDuplicate(dummy);\r\n\t\twhile(dummy != null) {\r\n\t\t\tSystem.out.println(dummy.val);\r\n\t\t\tdummy = dummy.next;\r\n\t\t}\r\n\t\t\r\n\t}", "public void addNode(int key)\n{\n Node n1 = new Node(key);\n\t\n\tif(!getNodes().containsKey(n1.getKey())) \n\t{\n\tmc++;\n\tthis.getNodes().put(n1.getKey(),n1);\n\t\t\n\t}\n\telse {\n\t\treturn;\n\t\t//System.out.println(\"Node already in the graph\");\n\t}\n}", "boolean addNode(long idNum, String label);", "private void reIndex()\n {\n for(int i = 0; i < NodeList.size(); i++)\n NodeList.get(i).setID(i);\n ID = NodeList.size();\n }", "public int getNodeLabel ();", "public int getEdgeCount() \n {\n return 3;\n }", "int numNodes() {\n\t\treturn num_nodes;\n\t}", "@Test(timeout = 4000)\n public void test03() throws Throwable {\n ExpressionMatrixImpl expressionMatrixImpl0 = new ExpressionMatrixImpl();\n expressionMatrixImpl0.addNewNode();\n expressionMatrixImpl0.getNumberOfNodes();\n }", "public int size(){\n return nodes.size();\n }", "public interface NodeRoot extends RootVertex<Node> {\n\n\tpublic static final String TYPE = \"nodes\";\n\n\t/**\n\t * Create a new node.\n\t * \n\t * @param user\n\t * User that is used to set creator and editor references\n\t * @param container\n\t * Schema version that should be used when creating the node\n\t * @param project\n\t * Project to which the node should be assigned to\n\t * @return Created node\n\t */\n\tdefault Node create(HibUser user, HibSchemaVersion container, HibProject project) {\n\t\treturn create(user, container, project, null);\n\t}\n\n\t/**\n\t * Create a new node.\n\t * \n\t * @param user\n\t * User that is used to set creator and editor references\n\t * @param container\n\t * Schema version that should be used when creating the node\n\t * @param project\n\t * Project to which the node should be assigned to\n\t * @param uuid\n\t * Optional uuid\n\t * @return Created node\n\t */\n\tNode create(HibUser user, HibSchemaVersion container, HibProject project, String uuid);\n\n}", "public List<Output<TInt32>> nodeIdsList() {\n return nodeIdsList;\n }", "public void setCounterpart(Node n)\n\t{\n\t\tcounterpart = n;\n\t}", "public RBACwithCommonNodes(){\n\t\tvalues = new Hashtable<Integer,Hashtable<Object, Integer>>();\n\t\tint[] order = {1,4,2,5,3};\n\t\tauthGraph = new DirectedGraph(order);\n\t}", "@Test \r\n void add_mutiple_edges_check_size(){\r\n for(int i = 0; i < 20; i++) {\r\n graph.addEdge(\"\" + i, \"\" + (i + 1));\r\n } \r\n List<String> adjacent;\r\n for(int i = 0; i < 20; i++) {\r\n adjacent = graph.getAdjacentVerticesOf(\"\"+i);\r\n if(!adjacent.contains(\"\" + (i+1))) {\r\n fail();\r\n }\r\n }\r\n if(graph.size() != 20 | graph.order() != 21) {\r\n fail();\r\n }\r\n \r\n }", "@Test\n public void tae3()\n {\n Graph graph = new Graph(3);\n graph.addEdge(0,0);\n graph.addEdge(0,1);\n graph.addEdge(1,1);\n System.out.println(graph);\n assertEquals(graph.toString(), \"numNodes: 3\\nedges: [[true, true, false], [false, true, false], \" +\n \"[false, false, false]]\");\n }", "public Node(Integer number){\n this.number = number;\n this.edges = new ArrayList<Edge>();\n }", "public NonceHelperImpl(Node node) {\n\t\tthis.node = node;\n\t}", "String getIdNode1();", "public List<DataNodeId> getDataNodeIds();", "public void setNode_2(String node_2);", "@Test\r\n void add_20_remove_20_add_20() {\r\n //Add 20\r\n for(int i = 0; i < 20; i++) {\r\n graph.addVertex(\"\" +i);\r\n }\r\n vertices = graph.getAllVertices();\r\n //Check all 20 are in graph\r\n for(int i = 0; i < 20; i++) {\r\n if(!vertices.contains(\"\" + i)) {\r\n fail();\r\n }\r\n }\r\n //Remove 20 \r\n for(int i = 0; i < 20; i++) {\r\n graph.removeVertex(\"\" +i);\r\n }\r\n //Check all 20 are not in graph anymore \r\n \r\n for(int i = 0; i < 20; i++) {\r\n if(vertices.contains(\"\" + i)) {\r\n fail();\r\n }\r\n }\r\n //Add 20 again\r\n for(int i = 0; i < 20; i++) {\r\n graph.addVertex(\"\" +i);\r\n }\r\n //Check all 20 are in graph\r\n for(int i = 0; i < 20; i++) {\r\n if(!vertices.contains(\"\" + i)) {\r\n fail();\r\n }\r\n }\r\n }", "public int getNumNodesSeenByMessage() {\r\n return numNodesSeenByMessage;\r\n }", "public interface Node {\n public int arityOfOperation();\n public String getText(int depth) throws CalculationException;\n public double getResult() throws CalculationException;\n public boolean isReachable(int depth);\n public List<Node> getAdjacentNodes();\n public String getTitle();\n public void setDepth(int depth);\n}", "public RandomNeighborhoodOperator(int nbRelaxedVars, long seed)\n{\n\trandom = new Random(seed);\n\tthis.nbRelaxedVars = nbRelaxedVars;\n\tselected = new TIntHashSet();\n}", "protected int numNodes() {\n\t\treturn nodes.size();\n\t}" ]
[ "0.58012414", "0.58011365", "0.58011365", "0.57780284", "0.5772085", "0.575644", "0.57039076", "0.57026917", "0.57026917", "0.5693984", "0.56889755", "0.5681135", "0.5661298", "0.565362", "0.565362", "0.56194633", "0.55934185", "0.55905604", "0.5582704", "0.5582704", "0.55576086", "0.5553456", "0.55534184", "0.55374855", "0.55020475", "0.5492895", "0.54633546", "0.5461078", "0.54584455", "0.5456036", "0.54218566", "0.5407351", "0.53965527", "0.5379224", "0.5348748", "0.5340543", "0.5326505", "0.53220886", "0.53212166", "0.5310216", "0.53045285", "0.5297627", "0.5287574", "0.52839285", "0.5282713", "0.5277224", "0.5273952", "0.5267903", "0.52668875", "0.5264547", "0.52620673", "0.5251183", "0.52498484", "0.52463955", "0.5246097", "0.52395076", "0.52384377", "0.52240205", "0.52188224", "0.5216552", "0.52149147", "0.5212481", "0.51699907", "0.51675326", "0.5167482", "0.51640254", "0.5161053", "0.5156575", "0.51526", "0.5152278", "0.5151577", "0.5145827", "0.51417863", "0.5137731", "0.5131012", "0.51277584", "0.5122025", "0.5114847", "0.5114217", "0.5113302", "0.51038605", "0.50990254", "0.5098557", "0.5097867", "0.5097691", "0.50939083", "0.50911415", "0.509027", "0.50891143", "0.5086298", "0.50808966", "0.5080496", "0.5079757", "0.5074141", "0.50690967", "0.5060841", "0.5056872", "0.5056417", "0.50434023", "0.50353533" ]
0.5054413
98
repeated .NodeId nodes = 3;
public java.util.List<? extends entities.Torrent.NodeIdOrBuilder> getNodesOrBuilderList() { if (nodesBuilder_ != null) { return nodesBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(nodes_); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public int my_node_count();", "int getNodeCount();", "int getNodeCount();", "entities.Torrent.NodeId getNodes(int index);", "public Vector<Node> GetAdditionalSubNodes();", "void addNodes(List<CyNode> nodes);", "public void setNode_3(String node_3);", "entities.Torrent.NodeIdOrBuilder getNodeOrBuilder();", "entities.Torrent.NodeIdOrBuilder getNodeOrBuilder();", "List<Node> nodes();", "public abstract void setNodes();", "private int numNodes()\r\n\t{\r\n\t return nodeMap.size();\r\n\t}", "Set<ControllerNode> seedNodes();", "int getNodesCount();", "int getNodesCount();", "public abstract int getNodeRowCount();", "void printpopulateInorderSucc(Node t){\n\t\n\n}", "public void counter(Topology tp, Node node)\n {\n index[x] = node.getID();\n x++;\n if (x > 1)\n {\n addlink(tp);\n }\n }", "entities.Torrent.NodeId getNode();", "entities.Torrent.NodeId getNode();", "public Nodes getNodes()\n {\n return nodes;\n }", "public static int numberOfNodes() { return current_id; }", "private void fourNodesTopo() {\n ReadWriteTransaction tx = dataBroker.newReadWriteTransaction();\n n(tx, true, \"n1\", Stream.of(pB(\"n1:1\"), pB(\"n1:2\"), pI(\"n1:3\"), pO(\"n1:4\"), pO(\"n1:5\")));\n n(tx, true, \"n2\", Stream.of(pB(\"n2:1\"), pB(\"n2:2\"), pO(\"n2:3\"), pI(\"n2:4\"), pI(\"n2:5\")));\n n(tx, true, \"n3\", Stream.of(pB(\"n3:1\"), pB(\"n3:2\"), pO(\"n3:3\"), pO(\"n3:4\"), pI(\"n3:5\")));\n n(tx, true, \"n4\", Stream.of(pB(\"n4:1\"), pB(\"n4:2\"), pI(\"n4:3\"), pI(\"n4:4\"), pO(\"n4:5\")));\n l(tx, \"n1\", \"n1:5\", \"n2\", \"n2:5\", OperationalState.ENABLED, ForwardingDirection.UNIDIRECTIONAL);\n l(tx, \"n1\", \"n1:4\", \"n4\", \"n4:4\", OperationalState.ENABLED, ForwardingDirection.UNIDIRECTIONAL);\n l(tx, \"n2\", \"n2:3\", \"n4\", \"n4:3\", OperationalState.ENABLED, ForwardingDirection.UNIDIRECTIONAL);\n l(tx, \"n3\", \"n3:4\", \"n2\", \"n2:4\", OperationalState.ENABLED, ForwardingDirection.UNIDIRECTIONAL);\n l(tx, \"n4\", \"n4:5\", \"n3\", \"n3:5\", OperationalState.ENABLED, ForwardingDirection.UNIDIRECTIONAL);\n try {\n tx.submit().checkedGet();\n } catch (TransactionCommitFailedException e) {\n e.printStackTrace();\n }\n }", "io.netifi.proteus.admin.om.Node getNodes(int index);", "public void setNodes( Nodes nodes )\n {\n this.nodes = nodes;\n }", "entities.Torrent.NodeIdOrBuilder getNodesOrBuilder(\n int index);", "public void UpNumberOfVisitedNodes() {\n NumberOfVisitedNodes++;\n }", "public abstract int getNodesQuantity();", "int nodeCount();", "private void fiveNodesTopo() {\n ReadWriteTransaction tx = dataBroker.newReadWriteTransaction();\n n(tx, true, \"n1\", Stream.of(pI(\"n1:1\"), pB(\"n1:2\"), pI(\"n1:3\"), pO(\"n1:4\")));\n n(tx, true, \"n2\", Stream.of(pI(\"n2:1\"), pB(\"n2:2\"), pO(\"n2:3\"), pI(\"n2:4\")));\n n(tx, true, \"n3\", Stream.of(pO(\"n3:1\"), pB(\"n3:2\"), pO(\"n3:3\"), pI(\"n3:4\")));\n n(tx, true, \"n4\", Stream.of(pO(\"n4:1\"), pI(\"n4:2\"), pB(\"n4:3\"), pB(\"n4:4\")));\n n(tx, true, \"n5\", Stream.of(pI(\"n5:1\"), pB(\"n5:2\"), pB(\"n5:3\"), pO(\"n5:4\")));\n l(tx, \"n2\", \"n2:3\", \"n3\", \"n3:4\", OperationalState.ENABLED, ForwardingDirection.BIDIRECTIONAL);\n l(tx, \"n3\", \"n3:1\", \"n1\", \"n1:1\", OperationalState.ENABLED, ForwardingDirection.BIDIRECTIONAL);\n l(tx, \"n3\", \"n3:3\", \"n5\", \"n5:1\", OperationalState.ENABLED, ForwardingDirection.BIDIRECTIONAL);\n l(tx, \"n4\", \"n4:1\", \"n1\", \"n1:3\", OperationalState.ENABLED, ForwardingDirection.BIDIRECTIONAL);\n l(tx, \"n1\", \"n1:4\", \"n2\", \"n2:4\", OperationalState.ENABLED, ForwardingDirection.BIDIRECTIONAL);\n l(tx, \"n5\", \"n5:4\", \"n4\", \"n4:2\", OperationalState.ENABLED, ForwardingDirection.BIDIRECTIONAL);\n try {\n tx.submit().checkedGet();\n } catch (TransactionCommitFailedException e) {\n e.printStackTrace();\n }\n }", "@Test\n public void shouldAssignLevelsAndInsertDummyNodes(){\n String p1 = \"p1\";\n String p2 = \"p2\";\n String p3 = \"p3\";\n ValueStreamMap graph = new ValueStreamMap(p1, null);\n graph.addDownstreamNode(new PipelineDependencyNode(p3, p3), p1);\n\n List<List<Node>> nodesAtEachLevel = graph.presentationModel().getNodesAtEachLevel();\n assertThat(nodesAtEachLevel.size(), is(2));\n VSMTestHelper.assertNodeHasChildren(graph, p1, p3);\n VSMTestHelper.assertThatLevelHasNodes(nodesAtEachLevel.get(0), 0, p1);\n VSMTestHelper.assertThatLevelHasNodes(nodesAtEachLevel.get(1), 0, p3);\n\n graph.addDownstreamNode(new PipelineDependencyNode(p2, p2), p1);\n graph.addDownstreamNode(new PipelineDependencyNode(p3, p3), p2);\n\n VSMTestHelper.assertNodeHasChildren(graph, p1, p2, p3);\n VSMTestHelper.assertNodeHasChildren(graph, p2, p3);\n VSMTestHelper.assertNodeHasParents(graph, p3, p1, p2);\n VSMTestHelper.assertNodeHasParents(graph, p2, p1);\n assertThat(graph.findNode(p3).getChildren().isEmpty(), is(true));\n assertThat(graph.findNode(p1).getParents().isEmpty(), is(true));\n\n nodesAtEachLevel = graph.presentationModel().getNodesAtEachLevel();\n assertThat(nodesAtEachLevel.size(), is(3));\n VSMTestHelper.assertThatLevelHasNodes(nodesAtEachLevel.get(0), 0, p1);\n VSMTestHelper.assertThatLevelHasNodes(nodesAtEachLevel.get(1), 1, p2);\n VSMTestHelper.assertThatLevelHasNodes(nodesAtEachLevel.get(2), 0, p3);\n }", "@Override\r\n\tpublic void generateNodeRule(int step) throws IOException {\n\t\t\r\n\t\tgenerateNetNode.setSeedNodes(step, numberMaxSeed, setLayoutSeed);\r\n\t\t\r\n\t\tgenerateNetNodeVectorField.handleCreateSeedGraph(createSeedGraph, step); \r\n\t\r\n\t\t// list node element\r\n\t\tArrayList <Node> listNodeSeed = new ArrayList<Node> ( graphToolkit.getListElement(seedGraph, element.node, elementTypeToReturn.element));\t//\tSystem.out.println(listNodeSeed);\t\r\n\t\tArrayList<Integer> listIdSeedInt = new ArrayList<Integer>( graphToolkit.getListElement(seedGraph, element.node, elementTypeToReturn.integer)) ;\t\t\t\r\n\t\tArrayList<Integer> listIdNetInt = new ArrayList<Integer>( graphToolkit.getListElement(netGraph, element.node, elementTypeToReturn.integer)) ;\t\r\n\t\t\r\n\t\tint idNodeInt = Math.max(graphToolkit.getMaxIdIntElement(netGraph, element.node) , graphToolkit.getMaxIdIntElement(seedGraph, element.node) ) ;\r\n\t\t\r\n\t\t// map to update\r\n\t\tMap< Integer , double[] > mapIdNewSeedCoord = new HashMap< Integer , double[] > ();\r\n\t\tMap< Integer , String > mapIdNewSeedFather = new HashMap< Integer , String > ();\r\n\t\t\r\n\t\t// print\r\n\t\tSystem.out.println(seedGraph + \" \" + listIdSeedInt.size() /* + \" \" + listIdSeedInt */ );//\t\tSystem.out.println(netGraph + \" \" + listIdNetInt.size() + \" \" + listIdNetInt );\r\n\t\r\n\t\tint idLocal = 0 ;\r\n\r\n\t\tfor ( Node nodeSeed : listNodeSeed ) {\r\n\t\t\r\n\t\t\tString idSeed = nodeSeed.getId() ;\r\n\t\t\t\r\n\t\t//\tbucketSet.putNode(netGraph.getNode(idSeed)) ;\r\n\t\t\t\r\n\t\t\tdouble[] \tnodeCoord = GraphPosLengthUtils.nodePosition(nodeSeed) ,\r\n\t\t\t\t\t\tvector = getVector(vecGraph, nodeCoord, typeInterpolation ) ;\t\t\r\n\t\t\t\r\n\t\t\t// check vector\r\n\t\t\tdouble vectorInten = Math.pow( Math.pow(vector[0], 2) + Math.pow(vector[1], 2) , 0.5 ) ;\r\n\t\t\t\r\n\t\t\tif ( vectorInten > maxInten) {\r\n\t\t\t\tvector[0] = vector[0] / vectorInten * maxInten ; \r\n\t\t\t\tvector[1] = vector[1] / vectorInten * maxInten ;\t\t\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\t// check vector in grid\r\n\t\t\tdouble \txTopVector = generateNetNode.checkCoordInGrid ( gsGraph , nodeCoord[0] + vector[0] ) ,\r\n\t\t\t\t\tyTopVector = generateNetNode.checkCoordInGrid ( gsGraph , nodeCoord[1] + vector[1] ) ;\t\t\t\t\t\t// \tSystem.out.println(idSeed + \" \" + vector[0] + \" \" + vector[1]);\t\t\t\t\t\t\r\n\t\t\t\r\n\t\t\tdouble [] newNodeSeedCoord = new double[2] ;\r\n\t\t\t\t\t\t\r\n\t\t\tnewNodeSeedCoord[0] = xTopVector ;\r\n\t\t\tnewNodeSeedCoord[1] = yTopVector ;\r\n\t\t\t\r\n\t\t\tif ( dieBord ) {\t\t\r\n\t\t\t\tif ( newNodeSeedCoord[0] < 1 || newNodeSeedCoord[1] < 1 || newNodeSeedCoord[0] > sizeGridEdge -1 || newNodeSeedCoord[1] > sizeGridEdge - 1 )\r\n\t\t\t\t\tcontinue ;\r\n\t\t\t}\t\r\n\t\t\t\r\n\t\t\tArrayList<Integer> listIdNetIntLocal = new ArrayList<Integer> ( graphToolkit.getListElement(netGraph, element.node, elementTypeToReturn.integer)) ;\t\t//\tSystem.out.println(listIdNetIntLocal);\r\n\t\t\tArrayList<Integer> listIdSeedIntLocal = new ArrayList<Integer> ( graphToolkit.getListElement(seedGraph, element.node, elementTypeToReturn.integer)) ;\t\t//\tSystem.out.println(listIdNetIntLocal);\r\n\t\t\t\r\n\t\t\tint idInt = Collections.max(listIdNetIntLocal) ; //Math.max(listIdNetIntLocal, b) ;\r\n\t\t\twhile ( listIdNetIntLocal.contains(idInt) && listIdSeedIntLocal.contains(idInt) ) \r\n\t\t\t\tidInt ++ ;\r\n\t\t\t\r\n\t\t\tString id = Integer.toString(idInt) ;\t\t\t//\tSystem.out.println(idInt);\r\n\t\t\t\r\n\t\t\ttry {\r\n\t\t\t\tnetGraph.addNode(id);\r\n\t\t\t\tseedGraph.addNode(id);\r\n\t\t\t\tbucketSet.putNode(netGraph.getNode(id));\r\n\t\t\t}\r\n\t\t\tcatch (org.graphstream.graph.IdAlreadyInUseException e) {\r\n\t\t\t\t\r\n\t\t\t\tlistIdSeedIntLocal = new ArrayList<Integer> ( graphToolkit.getListElement(seedGraph, element.node, elementTypeToReturn.integer)) ;\r\n\t\t\t\tlistIdNetIntLocal = new ArrayList<Integer> ( graphToolkit.getListElement(netGraph, element.node, elementTypeToReturn.integer)) ;\r\n\t\t\t\t\r\n\t\t\t\tidInt = Math.max(Collections.max(listIdNetIntLocal) , Collections.max(listIdSeedIntLocal) ) ;\r\n\t\t\t\tidInt ++ ; \r\n\t\t\t\twhile ( listIdNetIntLocal.contains(idInt) && listIdSeedIntLocal.contains(idInt))\r\n\t\t\t\t\tidInt ++ ;\r\n\t\t\t\t\r\n\t\t\t\tid = Integer.toString(idInt) ;\t\t\t//\tSystem.out.println(idInt);\r\n\t\t\t\t\r\n\t\t\t\tnetGraph.addNode(id);\r\n\t\t\t\tseedGraph.addNode(id);\r\n\t\t\t\tbucketSet.putNode(netGraph.getNode(id));\t\t\t\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\tNode nodeNewNet = netGraph.getNode(id);\r\n\t\t\tNode nodeNewSeed = seedGraph.getNode(id);\r\n\t\t\t\t\t\t\r\n\t\t\tnodeNewSeed.addAttribute(\"xyz\", newNodeSeedCoord[0] , newNodeSeedCoord[1] , 0 );\r\n\t\t\tnodeNewSeed.addAttribute(\"father\", idSeed );\r\n\t\t\t\r\n\t\t\tnodeNewNet.addAttribute(\"xyz\", newNodeSeedCoord[0] , newNodeSeedCoord[1] , 0 );\r\n\t\t\tnodeNewNet.addAttribute(\"father\", idSeed );\t\r\n\t\t\t\r\n\t\t\tnodeNewNet.setAttribute(\"seedGrad\", 1);\r\n\t\t}\r\n\t\t\r\n\t\t// remove old seed\r\n\t\tfor ( int i : listIdSeedInt) //\tSystem.out.println(i);\r\n\t\t\tseedGraph.removeNode(Integer.toString(i));\t\r\n\t}", "public void setNode_4(String node_4);", "int NoOfNodes() {\r\n return noOfNodes;\r\n }", "public abstract int getNodeColumnCount();", "public MyMultiset() {\n\t\tthis.set = new HashSet<Node>();\n\t}", "public void setNode_1(String node_1);", "public interface GlobalNode extends Node{\n\n VariableName[] getVariableNames();\n\n}", "void nodeCreate( long id );", "Dijk(){\n grp = new HashMap<>();\n seen = new HashSet<>();\n dlist = new HashMap<>();\n id = new HashMap<>();\n lowlink = new HashMap<>();\n orid = 0;\n }", "public MutableNodeSet(Graph graph) {\n\t\tsuper(graph);\n\t\tthis.members = new TreeSet<Integer>();\n\t\tinitializeInOutWeights();\n\t}", "public int getNodeCount() {\n return nodeCount;\n }", "void graph3() {\n\t\tconnect(\"0\", \"0\");\n\t\tconnect(\"2\", \"2\");\n\t\tconnect(\"2\", \"3\");\n\t\tconnect(\"3\", \"0\");\n\t}", "N getNode(int id);", "public abstract int numOfSameTypeNeighbourToReproduce();", "protected abstract Node[] getAllNodes();", "public int totalNumNodes () { throw new RuntimeException(); }", "public Builder withNodes(Integer... nodes) {\n this.nodes = nodes;\n return this;\n }", "private void initializeNodes() {\n for (NasmInst inst : nasm.listeInst) {\n Node newNode = graph.newNode();\n inst2Node.put(inst, newNode);\n node2Inst.put(newNode, inst);\n if (inst.label != null) {\n NasmLabel label = (NasmLabel) inst.label;\n label2Inst.put(label.toString(), inst);\n }\n }\n }", "@Override\n public int nodeCount() {\n return graphNodes.size();\n }", "private void initFourNodes(InitType type) {\n if (type == InitType.RANDOM) {\n for (int i = 0; i < 2; i++) {\n for (int j = 0; j < 2; j++) {\n GNode initNode = new GNode(i, j, Utils.generateRandomArray(GSOMConstants.DIMENSIONS));\n nodeMap.put(Utils.generateIndexString(i, j), initNode);\n }\n }\n } else if (type == InitType.LINEAR) {\n double initVal = 0.1;\n for (int i = 0; i < 2; i++) {\n for (int j = 0; j < 2; j++) {\n GNode initNode = new GNode(i, j, Utils.generateLinearArray(GSOMConstants.DIMENSIONS, initVal));\n nodeMap.put(Utils.generateIndexString(i, j), initNode);\n initVal += 0.1;\n }\n }\n }\n }", "public void setNode_5(String node_5);", "public int size(){\n return n_nodi;\n }", "@Override\r\n\tpublic int getNumberOfNodes() {\n\t\treturn 0;\r\n\t}", "@Test\n public void shouldNotAddDuplicateDependents() {\n String currentPipeline = \"p5\";\n ValueStreamMap graph = new ValueStreamMap(currentPipeline, null);\n Node p4 = graph.addUpstreamNode(new PipelineDependencyNode(\"p4\", \"p4\"), null, currentPipeline);\n graph.addUpstreamNode(new PipelineDependencyNode(\"p4\", \"p4\"), null, currentPipeline);\n\n assertThat(p4.getChildren().size(), is(1));\n VSMTestHelper.assertThatNodeHasChildren(graph, \"p4\", 0, \"p5\");\n }", "@Override\n\tpublic int getNodes() {\n\t\treturn model.getNodes();\n\t}", "int totalNumberOfNodes();", "private Collection<Node> getNodes()\r\n\t{\r\n\t return nodeMap.values();\r\n\t}", "Collection<Node> allNodes();", "static int displayN(Node node)\r\n {\r\n return node.neighbors.size();\r\n }", "public abstract int getNodeType();", "private void seed(List<T> items){\n for(T item: items) {\n Node<T> newNode = new Node<T>(item);\n this.count++;\n if(this.root == null){\n this.root = newNode;\n } else {\n Node temp = this.root;\n newNode.next = temp;\n this.root = newNode;\n }\n }\n\n }", "public kNNNode(double[] data){\n this.data = data;\n this.id = count;\n count += 1;\n }", "List<CyNode> getNodeList();", "public Nodes nodes() {\n return this.nodes;\n }", "@Override public Integer visitDeclaracionMultiple(lenguajesParser.DeclaracionMultipleContext ctx) {\n for(TerminalNode x:ctx.ID()){\n System.out.println(x.getText());\n memoria.put(x.getText(),0);\n\n }\n //System.out.println(ctx.ID().getText());\n return null;\n }", "@Override\n\tpublic long numNodes() {\n\t\treturn numNodes;\n\t}", "interface WithNodeCount {\n /**\n * Specifies nodeCount.\n * @param nodeCount The job will be gang scheduled on that many compute nodes\n * @return the next definition stage\n*/\n WithStdOutErrPathPrefix withNodeCount(int nodeCount);\n }", "public List<Node> getNodes();", "public void setNumberOfVisitedNodes(int numberOfVisitedNodes) {\n NumberOfVisitedNodes = numberOfVisitedNodes;\n }", "public int getNumberOfNodesEvaluated();", "public static void main(String args[]) throws CloneNotSupportedException\n\t{\n\t\tSystem.out.println(getRandomNumber(2, 2));\n\t\t//Node n1 = org.apache.commons.lang3.SerializationUtils.clone(n);\n\t\t//n.getNextNodes().get(\"1\").getNextNodes().put(\"1\", null);\n\t\t//System.out.println(n1.getNextNodes().get(\"1\").getNextNodes().get(\"1\"));\n\t}", "List<Node> getNodes();", "public Transformation_001(int[] theNodes){\n this.theNodes=theNodes;\n }", "private static void readAndWriteNodes(String name) throws IOException {\n System.out.println(name);\n Map<Long, Long> nodeMap = new HashMap<>();\n boolean firstLine = true;\n fileReader = new BufferedReader(new FileReader(PATH + name));\n fileWriter = new BufferedWriter(new FileWriter(PATH + \"/uid/\" + name));\n String line;\n while ((line = fileReader.readLine()) != null) {\n if (!firstLine) {\n long globalId = getGlobalId();\n String[] lineTokens = LINE_TOKEN_SEPARATOR.split(line);\n long ID = Long.parseLong(lineTokens[0]);\n nodeMap.put(ID, globalId);\n String writeLine = \"\";\n for (int i = 0; i < lineTokens.length; i++) {\n if (i == 0) {\n writeLine += globalId;\n } else {\n writeLine += lineTokens[i];\n }\n writeLine += \"|\";\n }\n fileWriter.write(writeLine);\n fileWriter.newLine();\n vertexCount++;\n globalVertexCount++;\n } else {\n fileWriter.write(line);\n fileWriter.newLine();\n firstLine = false;\n }\n }\n fileWriter.close();\n fileReader.close();\n counterMapNodes.put(name, vertexCount);\n vertexCount = 0;\n vertexList.add(nodeMap);\n }", "public static void main(String[] args) {\n\t\tNode n = new Node(0);\r\n\t\tNode dummy = n;\r\n\t\tn.next = new Node(1);\r\n\t\tn = n.next;\r\n\t\tn.next = new Node(1);\r\n\t\tn = n.next;\r\n\t\tfor (int i = 1; i < 10; i ++) {\r\n\t\t\tn.next = new Node(i);\r\n\t\t\tn = n.next;\r\n\t\t}\r\n\t\tremoveDuplicate(dummy);\r\n\t\twhile(dummy != null) {\r\n\t\t\tSystem.out.println(dummy.val);\r\n\t\t\tdummy = dummy.next;\r\n\t\t}\r\n\t\t\r\n\t}", "public void addNode(int key)\n{\n Node n1 = new Node(key);\n\t\n\tif(!getNodes().containsKey(n1.getKey())) \n\t{\n\tmc++;\n\tthis.getNodes().put(n1.getKey(),n1);\n\t\t\n\t}\n\telse {\n\t\treturn;\n\t\t//System.out.println(\"Node already in the graph\");\n\t}\n}", "boolean addNode(long idNum, String label);", "private void reIndex()\n {\n for(int i = 0; i < NodeList.size(); i++)\n NodeList.get(i).setID(i);\n ID = NodeList.size();\n }", "public int getNodeLabel ();", "public int getEdgeCount() \n {\n return 3;\n }", "int numNodes() {\n\t\treturn num_nodes;\n\t}", "@Test(timeout = 4000)\n public void test03() throws Throwable {\n ExpressionMatrixImpl expressionMatrixImpl0 = new ExpressionMatrixImpl();\n expressionMatrixImpl0.addNewNode();\n expressionMatrixImpl0.getNumberOfNodes();\n }", "public int size(){\n return nodes.size();\n }", "public interface NodeRoot extends RootVertex<Node> {\n\n\tpublic static final String TYPE = \"nodes\";\n\n\t/**\n\t * Create a new node.\n\t * \n\t * @param user\n\t * User that is used to set creator and editor references\n\t * @param container\n\t * Schema version that should be used when creating the node\n\t * @param project\n\t * Project to which the node should be assigned to\n\t * @return Created node\n\t */\n\tdefault Node create(HibUser user, HibSchemaVersion container, HibProject project) {\n\t\treturn create(user, container, project, null);\n\t}\n\n\t/**\n\t * Create a new node.\n\t * \n\t * @param user\n\t * User that is used to set creator and editor references\n\t * @param container\n\t * Schema version that should be used when creating the node\n\t * @param project\n\t * Project to which the node should be assigned to\n\t * @param uuid\n\t * Optional uuid\n\t * @return Created node\n\t */\n\tNode create(HibUser user, HibSchemaVersion container, HibProject project, String uuid);\n\n}", "public List<Output<TInt32>> nodeIdsList() {\n return nodeIdsList;\n }", "public void setCounterpart(Node n)\n\t{\n\t\tcounterpart = n;\n\t}", "public RBACwithCommonNodes(){\n\t\tvalues = new Hashtable<Integer,Hashtable<Object, Integer>>();\n\t\tint[] order = {1,4,2,5,3};\n\t\tauthGraph = new DirectedGraph(order);\n\t}", "@Test \r\n void add_mutiple_edges_check_size(){\r\n for(int i = 0; i < 20; i++) {\r\n graph.addEdge(\"\" + i, \"\" + (i + 1));\r\n } \r\n List<String> adjacent;\r\n for(int i = 0; i < 20; i++) {\r\n adjacent = graph.getAdjacentVerticesOf(\"\"+i);\r\n if(!adjacent.contains(\"\" + (i+1))) {\r\n fail();\r\n }\r\n }\r\n if(graph.size() != 20 | graph.order() != 21) {\r\n fail();\r\n }\r\n \r\n }", "@Test\n public void tae3()\n {\n Graph graph = new Graph(3);\n graph.addEdge(0,0);\n graph.addEdge(0,1);\n graph.addEdge(1,1);\n System.out.println(graph);\n assertEquals(graph.toString(), \"numNodes: 3\\nedges: [[true, true, false], [false, true, false], \" +\n \"[false, false, false]]\");\n }", "public Node(Integer number){\n this.number = number;\n this.edges = new ArrayList<Edge>();\n }", "public NonceHelperImpl(Node node) {\n\t\tthis.node = node;\n\t}", "String getIdNode1();", "public List<DataNodeId> getDataNodeIds();", "public void setNode_2(String node_2);", "@Test\r\n void add_20_remove_20_add_20() {\r\n //Add 20\r\n for(int i = 0; i < 20; i++) {\r\n graph.addVertex(\"\" +i);\r\n }\r\n vertices = graph.getAllVertices();\r\n //Check all 20 are in graph\r\n for(int i = 0; i < 20; i++) {\r\n if(!vertices.contains(\"\" + i)) {\r\n fail();\r\n }\r\n }\r\n //Remove 20 \r\n for(int i = 0; i < 20; i++) {\r\n graph.removeVertex(\"\" +i);\r\n }\r\n //Check all 20 are not in graph anymore \r\n \r\n for(int i = 0; i < 20; i++) {\r\n if(vertices.contains(\"\" + i)) {\r\n fail();\r\n }\r\n }\r\n //Add 20 again\r\n for(int i = 0; i < 20; i++) {\r\n graph.addVertex(\"\" +i);\r\n }\r\n //Check all 20 are in graph\r\n for(int i = 0; i < 20; i++) {\r\n if(!vertices.contains(\"\" + i)) {\r\n fail();\r\n }\r\n }\r\n }", "public int getNumNodesSeenByMessage() {\r\n return numNodesSeenByMessage;\r\n }", "public interface Node {\n public int arityOfOperation();\n public String getText(int depth) throws CalculationException;\n public double getResult() throws CalculationException;\n public boolean isReachable(int depth);\n public List<Node> getAdjacentNodes();\n public String getTitle();\n public void setDepth(int depth);\n}", "public entities.Torrent.NodeIdOrBuilder getNodesOrBuilder(\n int index) {\n if (nodesBuilder_ == null) {\n return nodes_.get(index); } else {\n return nodesBuilder_.getMessageOrBuilder(index);\n }\n }", "public RandomNeighborhoodOperator(int nbRelaxedVars, long seed)\n{\n\trandom = new Random(seed);\n\tthis.nbRelaxedVars = nbRelaxedVars;\n\tselected = new TIntHashSet();\n}", "protected int numNodes() {\n\t\treturn nodes.size();\n\t}" ]
[ "0.58012414", "0.58011365", "0.58011365", "0.57780284", "0.5772085", "0.575644", "0.57039076", "0.57026917", "0.57026917", "0.5693984", "0.56889755", "0.5681135", "0.5661298", "0.565362", "0.565362", "0.56194633", "0.55934185", "0.55905604", "0.5582704", "0.5582704", "0.55576086", "0.5553456", "0.55534184", "0.55374855", "0.55020475", "0.5492895", "0.54633546", "0.5461078", "0.54584455", "0.5456036", "0.54218566", "0.5407351", "0.53965527", "0.5379224", "0.5348748", "0.5340543", "0.5326505", "0.53220886", "0.53212166", "0.5310216", "0.53045285", "0.5297627", "0.5287574", "0.52839285", "0.5282713", "0.5277224", "0.5273952", "0.5267903", "0.52668875", "0.5264547", "0.52620673", "0.5251183", "0.52498484", "0.52463955", "0.5246097", "0.52395076", "0.52384377", "0.52240205", "0.52188224", "0.5216552", "0.52149147", "0.5212481", "0.51699907", "0.51675326", "0.5167482", "0.51640254", "0.5161053", "0.5156575", "0.51526", "0.5152278", "0.5151577", "0.5145827", "0.51417863", "0.5137731", "0.5131012", "0.51277584", "0.5122025", "0.5114847", "0.5114217", "0.5113302", "0.51038605", "0.50990254", "0.5098557", "0.5097867", "0.5097691", "0.50939083", "0.50911415", "0.509027", "0.50891143", "0.5086298", "0.50808966", "0.5080496", "0.5079757", "0.5074141", "0.50690967", "0.5060841", "0.5056872", "0.5056417", "0.5054413", "0.50434023", "0.50353533" ]
0.0
-1
repeated .NodeId nodes = 3;
public entities.Torrent.NodeId.Builder addNodesBuilder() { return getNodesFieldBuilder().addBuilder( entities.Torrent.NodeId.getDefaultInstance()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public int my_node_count();", "int getNodeCount();", "int getNodeCount();", "entities.Torrent.NodeId getNodes(int index);", "public Vector<Node> GetAdditionalSubNodes();", "void addNodes(List<CyNode> nodes);", "public void setNode_3(String node_3);", "entities.Torrent.NodeIdOrBuilder getNodeOrBuilder();", "entities.Torrent.NodeIdOrBuilder getNodeOrBuilder();", "List<Node> nodes();", "public abstract void setNodes();", "private int numNodes()\r\n\t{\r\n\t return nodeMap.size();\r\n\t}", "Set<ControllerNode> seedNodes();", "int getNodesCount();", "int getNodesCount();", "public abstract int getNodeRowCount();", "void printpopulateInorderSucc(Node t){\n\t\n\n}", "public void counter(Topology tp, Node node)\n {\n index[x] = node.getID();\n x++;\n if (x > 1)\n {\n addlink(tp);\n }\n }", "entities.Torrent.NodeId getNode();", "entities.Torrent.NodeId getNode();", "public Nodes getNodes()\n {\n return nodes;\n }", "public static int numberOfNodes() { return current_id; }", "private void fourNodesTopo() {\n ReadWriteTransaction tx = dataBroker.newReadWriteTransaction();\n n(tx, true, \"n1\", Stream.of(pB(\"n1:1\"), pB(\"n1:2\"), pI(\"n1:3\"), pO(\"n1:4\"), pO(\"n1:5\")));\n n(tx, true, \"n2\", Stream.of(pB(\"n2:1\"), pB(\"n2:2\"), pO(\"n2:3\"), pI(\"n2:4\"), pI(\"n2:5\")));\n n(tx, true, \"n3\", Stream.of(pB(\"n3:1\"), pB(\"n3:2\"), pO(\"n3:3\"), pO(\"n3:4\"), pI(\"n3:5\")));\n n(tx, true, \"n4\", Stream.of(pB(\"n4:1\"), pB(\"n4:2\"), pI(\"n4:3\"), pI(\"n4:4\"), pO(\"n4:5\")));\n l(tx, \"n1\", \"n1:5\", \"n2\", \"n2:5\", OperationalState.ENABLED, ForwardingDirection.UNIDIRECTIONAL);\n l(tx, \"n1\", \"n1:4\", \"n4\", \"n4:4\", OperationalState.ENABLED, ForwardingDirection.UNIDIRECTIONAL);\n l(tx, \"n2\", \"n2:3\", \"n4\", \"n4:3\", OperationalState.ENABLED, ForwardingDirection.UNIDIRECTIONAL);\n l(tx, \"n3\", \"n3:4\", \"n2\", \"n2:4\", OperationalState.ENABLED, ForwardingDirection.UNIDIRECTIONAL);\n l(tx, \"n4\", \"n4:5\", \"n3\", \"n3:5\", OperationalState.ENABLED, ForwardingDirection.UNIDIRECTIONAL);\n try {\n tx.submit().checkedGet();\n } catch (TransactionCommitFailedException e) {\n e.printStackTrace();\n }\n }", "io.netifi.proteus.admin.om.Node getNodes(int index);", "public void setNodes( Nodes nodes )\n {\n this.nodes = nodes;\n }", "entities.Torrent.NodeIdOrBuilder getNodesOrBuilder(\n int index);", "public void UpNumberOfVisitedNodes() {\n NumberOfVisitedNodes++;\n }", "public abstract int getNodesQuantity();", "int nodeCount();", "private void fiveNodesTopo() {\n ReadWriteTransaction tx = dataBroker.newReadWriteTransaction();\n n(tx, true, \"n1\", Stream.of(pI(\"n1:1\"), pB(\"n1:2\"), pI(\"n1:3\"), pO(\"n1:4\")));\n n(tx, true, \"n2\", Stream.of(pI(\"n2:1\"), pB(\"n2:2\"), pO(\"n2:3\"), pI(\"n2:4\")));\n n(tx, true, \"n3\", Stream.of(pO(\"n3:1\"), pB(\"n3:2\"), pO(\"n3:3\"), pI(\"n3:4\")));\n n(tx, true, \"n4\", Stream.of(pO(\"n4:1\"), pI(\"n4:2\"), pB(\"n4:3\"), pB(\"n4:4\")));\n n(tx, true, \"n5\", Stream.of(pI(\"n5:1\"), pB(\"n5:2\"), pB(\"n5:3\"), pO(\"n5:4\")));\n l(tx, \"n2\", \"n2:3\", \"n3\", \"n3:4\", OperationalState.ENABLED, ForwardingDirection.BIDIRECTIONAL);\n l(tx, \"n3\", \"n3:1\", \"n1\", \"n1:1\", OperationalState.ENABLED, ForwardingDirection.BIDIRECTIONAL);\n l(tx, \"n3\", \"n3:3\", \"n5\", \"n5:1\", OperationalState.ENABLED, ForwardingDirection.BIDIRECTIONAL);\n l(tx, \"n4\", \"n4:1\", \"n1\", \"n1:3\", OperationalState.ENABLED, ForwardingDirection.BIDIRECTIONAL);\n l(tx, \"n1\", \"n1:4\", \"n2\", \"n2:4\", OperationalState.ENABLED, ForwardingDirection.BIDIRECTIONAL);\n l(tx, \"n5\", \"n5:4\", \"n4\", \"n4:2\", OperationalState.ENABLED, ForwardingDirection.BIDIRECTIONAL);\n try {\n tx.submit().checkedGet();\n } catch (TransactionCommitFailedException e) {\n e.printStackTrace();\n }\n }", "@Test\n public void shouldAssignLevelsAndInsertDummyNodes(){\n String p1 = \"p1\";\n String p2 = \"p2\";\n String p3 = \"p3\";\n ValueStreamMap graph = new ValueStreamMap(p1, null);\n graph.addDownstreamNode(new PipelineDependencyNode(p3, p3), p1);\n\n List<List<Node>> nodesAtEachLevel = graph.presentationModel().getNodesAtEachLevel();\n assertThat(nodesAtEachLevel.size(), is(2));\n VSMTestHelper.assertNodeHasChildren(graph, p1, p3);\n VSMTestHelper.assertThatLevelHasNodes(nodesAtEachLevel.get(0), 0, p1);\n VSMTestHelper.assertThatLevelHasNodes(nodesAtEachLevel.get(1), 0, p3);\n\n graph.addDownstreamNode(new PipelineDependencyNode(p2, p2), p1);\n graph.addDownstreamNode(new PipelineDependencyNode(p3, p3), p2);\n\n VSMTestHelper.assertNodeHasChildren(graph, p1, p2, p3);\n VSMTestHelper.assertNodeHasChildren(graph, p2, p3);\n VSMTestHelper.assertNodeHasParents(graph, p3, p1, p2);\n VSMTestHelper.assertNodeHasParents(graph, p2, p1);\n assertThat(graph.findNode(p3).getChildren().isEmpty(), is(true));\n assertThat(graph.findNode(p1).getParents().isEmpty(), is(true));\n\n nodesAtEachLevel = graph.presentationModel().getNodesAtEachLevel();\n assertThat(nodesAtEachLevel.size(), is(3));\n VSMTestHelper.assertThatLevelHasNodes(nodesAtEachLevel.get(0), 0, p1);\n VSMTestHelper.assertThatLevelHasNodes(nodesAtEachLevel.get(1), 1, p2);\n VSMTestHelper.assertThatLevelHasNodes(nodesAtEachLevel.get(2), 0, p3);\n }", "@Override\r\n\tpublic void generateNodeRule(int step) throws IOException {\n\t\t\r\n\t\tgenerateNetNode.setSeedNodes(step, numberMaxSeed, setLayoutSeed);\r\n\t\t\r\n\t\tgenerateNetNodeVectorField.handleCreateSeedGraph(createSeedGraph, step); \r\n\t\r\n\t\t// list node element\r\n\t\tArrayList <Node> listNodeSeed = new ArrayList<Node> ( graphToolkit.getListElement(seedGraph, element.node, elementTypeToReturn.element));\t//\tSystem.out.println(listNodeSeed);\t\r\n\t\tArrayList<Integer> listIdSeedInt = new ArrayList<Integer>( graphToolkit.getListElement(seedGraph, element.node, elementTypeToReturn.integer)) ;\t\t\t\r\n\t\tArrayList<Integer> listIdNetInt = new ArrayList<Integer>( graphToolkit.getListElement(netGraph, element.node, elementTypeToReturn.integer)) ;\t\r\n\t\t\r\n\t\tint idNodeInt = Math.max(graphToolkit.getMaxIdIntElement(netGraph, element.node) , graphToolkit.getMaxIdIntElement(seedGraph, element.node) ) ;\r\n\t\t\r\n\t\t// map to update\r\n\t\tMap< Integer , double[] > mapIdNewSeedCoord = new HashMap< Integer , double[] > ();\r\n\t\tMap< Integer , String > mapIdNewSeedFather = new HashMap< Integer , String > ();\r\n\t\t\r\n\t\t// print\r\n\t\tSystem.out.println(seedGraph + \" \" + listIdSeedInt.size() /* + \" \" + listIdSeedInt */ );//\t\tSystem.out.println(netGraph + \" \" + listIdNetInt.size() + \" \" + listIdNetInt );\r\n\t\r\n\t\tint idLocal = 0 ;\r\n\r\n\t\tfor ( Node nodeSeed : listNodeSeed ) {\r\n\t\t\r\n\t\t\tString idSeed = nodeSeed.getId() ;\r\n\t\t\t\r\n\t\t//\tbucketSet.putNode(netGraph.getNode(idSeed)) ;\r\n\t\t\t\r\n\t\t\tdouble[] \tnodeCoord = GraphPosLengthUtils.nodePosition(nodeSeed) ,\r\n\t\t\t\t\t\tvector = getVector(vecGraph, nodeCoord, typeInterpolation ) ;\t\t\r\n\t\t\t\r\n\t\t\t// check vector\r\n\t\t\tdouble vectorInten = Math.pow( Math.pow(vector[0], 2) + Math.pow(vector[1], 2) , 0.5 ) ;\r\n\t\t\t\r\n\t\t\tif ( vectorInten > maxInten) {\r\n\t\t\t\tvector[0] = vector[0] / vectorInten * maxInten ; \r\n\t\t\t\tvector[1] = vector[1] / vectorInten * maxInten ;\t\t\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\t// check vector in grid\r\n\t\t\tdouble \txTopVector = generateNetNode.checkCoordInGrid ( gsGraph , nodeCoord[0] + vector[0] ) ,\r\n\t\t\t\t\tyTopVector = generateNetNode.checkCoordInGrid ( gsGraph , nodeCoord[1] + vector[1] ) ;\t\t\t\t\t\t// \tSystem.out.println(idSeed + \" \" + vector[0] + \" \" + vector[1]);\t\t\t\t\t\t\r\n\t\t\t\r\n\t\t\tdouble [] newNodeSeedCoord = new double[2] ;\r\n\t\t\t\t\t\t\r\n\t\t\tnewNodeSeedCoord[0] = xTopVector ;\r\n\t\t\tnewNodeSeedCoord[1] = yTopVector ;\r\n\t\t\t\r\n\t\t\tif ( dieBord ) {\t\t\r\n\t\t\t\tif ( newNodeSeedCoord[0] < 1 || newNodeSeedCoord[1] < 1 || newNodeSeedCoord[0] > sizeGridEdge -1 || newNodeSeedCoord[1] > sizeGridEdge - 1 )\r\n\t\t\t\t\tcontinue ;\r\n\t\t\t}\t\r\n\t\t\t\r\n\t\t\tArrayList<Integer> listIdNetIntLocal = new ArrayList<Integer> ( graphToolkit.getListElement(netGraph, element.node, elementTypeToReturn.integer)) ;\t\t//\tSystem.out.println(listIdNetIntLocal);\r\n\t\t\tArrayList<Integer> listIdSeedIntLocal = new ArrayList<Integer> ( graphToolkit.getListElement(seedGraph, element.node, elementTypeToReturn.integer)) ;\t\t//\tSystem.out.println(listIdNetIntLocal);\r\n\t\t\t\r\n\t\t\tint idInt = Collections.max(listIdNetIntLocal) ; //Math.max(listIdNetIntLocal, b) ;\r\n\t\t\twhile ( listIdNetIntLocal.contains(idInt) && listIdSeedIntLocal.contains(idInt) ) \r\n\t\t\t\tidInt ++ ;\r\n\t\t\t\r\n\t\t\tString id = Integer.toString(idInt) ;\t\t\t//\tSystem.out.println(idInt);\r\n\t\t\t\r\n\t\t\ttry {\r\n\t\t\t\tnetGraph.addNode(id);\r\n\t\t\t\tseedGraph.addNode(id);\r\n\t\t\t\tbucketSet.putNode(netGraph.getNode(id));\r\n\t\t\t}\r\n\t\t\tcatch (org.graphstream.graph.IdAlreadyInUseException e) {\r\n\t\t\t\t\r\n\t\t\t\tlistIdSeedIntLocal = new ArrayList<Integer> ( graphToolkit.getListElement(seedGraph, element.node, elementTypeToReturn.integer)) ;\r\n\t\t\t\tlistIdNetIntLocal = new ArrayList<Integer> ( graphToolkit.getListElement(netGraph, element.node, elementTypeToReturn.integer)) ;\r\n\t\t\t\t\r\n\t\t\t\tidInt = Math.max(Collections.max(listIdNetIntLocal) , Collections.max(listIdSeedIntLocal) ) ;\r\n\t\t\t\tidInt ++ ; \r\n\t\t\t\twhile ( listIdNetIntLocal.contains(idInt) && listIdSeedIntLocal.contains(idInt))\r\n\t\t\t\t\tidInt ++ ;\r\n\t\t\t\t\r\n\t\t\t\tid = Integer.toString(idInt) ;\t\t\t//\tSystem.out.println(idInt);\r\n\t\t\t\t\r\n\t\t\t\tnetGraph.addNode(id);\r\n\t\t\t\tseedGraph.addNode(id);\r\n\t\t\t\tbucketSet.putNode(netGraph.getNode(id));\t\t\t\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\tNode nodeNewNet = netGraph.getNode(id);\r\n\t\t\tNode nodeNewSeed = seedGraph.getNode(id);\r\n\t\t\t\t\t\t\r\n\t\t\tnodeNewSeed.addAttribute(\"xyz\", newNodeSeedCoord[0] , newNodeSeedCoord[1] , 0 );\r\n\t\t\tnodeNewSeed.addAttribute(\"father\", idSeed );\r\n\t\t\t\r\n\t\t\tnodeNewNet.addAttribute(\"xyz\", newNodeSeedCoord[0] , newNodeSeedCoord[1] , 0 );\r\n\t\t\tnodeNewNet.addAttribute(\"father\", idSeed );\t\r\n\t\t\t\r\n\t\t\tnodeNewNet.setAttribute(\"seedGrad\", 1);\r\n\t\t}\r\n\t\t\r\n\t\t// remove old seed\r\n\t\tfor ( int i : listIdSeedInt) //\tSystem.out.println(i);\r\n\t\t\tseedGraph.removeNode(Integer.toString(i));\t\r\n\t}", "public void setNode_4(String node_4);", "int NoOfNodes() {\r\n return noOfNodes;\r\n }", "public abstract int getNodeColumnCount();", "public MyMultiset() {\n\t\tthis.set = new HashSet<Node>();\n\t}", "public void setNode_1(String node_1);", "public interface GlobalNode extends Node{\n\n VariableName[] getVariableNames();\n\n}", "void nodeCreate( long id );", "Dijk(){\n grp = new HashMap<>();\n seen = new HashSet<>();\n dlist = new HashMap<>();\n id = new HashMap<>();\n lowlink = new HashMap<>();\n orid = 0;\n }", "public MutableNodeSet(Graph graph) {\n\t\tsuper(graph);\n\t\tthis.members = new TreeSet<Integer>();\n\t\tinitializeInOutWeights();\n\t}", "public int getNodeCount() {\n return nodeCount;\n }", "void graph3() {\n\t\tconnect(\"0\", \"0\");\n\t\tconnect(\"2\", \"2\");\n\t\tconnect(\"2\", \"3\");\n\t\tconnect(\"3\", \"0\");\n\t}", "N getNode(int id);", "public abstract int numOfSameTypeNeighbourToReproduce();", "protected abstract Node[] getAllNodes();", "public int totalNumNodes () { throw new RuntimeException(); }", "public Builder withNodes(Integer... nodes) {\n this.nodes = nodes;\n return this;\n }", "private void initializeNodes() {\n for (NasmInst inst : nasm.listeInst) {\n Node newNode = graph.newNode();\n inst2Node.put(inst, newNode);\n node2Inst.put(newNode, inst);\n if (inst.label != null) {\n NasmLabel label = (NasmLabel) inst.label;\n label2Inst.put(label.toString(), inst);\n }\n }\n }", "@Override\n public int nodeCount() {\n return graphNodes.size();\n }", "private void initFourNodes(InitType type) {\n if (type == InitType.RANDOM) {\n for (int i = 0; i < 2; i++) {\n for (int j = 0; j < 2; j++) {\n GNode initNode = new GNode(i, j, Utils.generateRandomArray(GSOMConstants.DIMENSIONS));\n nodeMap.put(Utils.generateIndexString(i, j), initNode);\n }\n }\n } else if (type == InitType.LINEAR) {\n double initVal = 0.1;\n for (int i = 0; i < 2; i++) {\n for (int j = 0; j < 2; j++) {\n GNode initNode = new GNode(i, j, Utils.generateLinearArray(GSOMConstants.DIMENSIONS, initVal));\n nodeMap.put(Utils.generateIndexString(i, j), initNode);\n initVal += 0.1;\n }\n }\n }\n }", "public void setNode_5(String node_5);", "public int size(){\n return n_nodi;\n }", "@Override\r\n\tpublic int getNumberOfNodes() {\n\t\treturn 0;\r\n\t}", "@Test\n public void shouldNotAddDuplicateDependents() {\n String currentPipeline = \"p5\";\n ValueStreamMap graph = new ValueStreamMap(currentPipeline, null);\n Node p4 = graph.addUpstreamNode(new PipelineDependencyNode(\"p4\", \"p4\"), null, currentPipeline);\n graph.addUpstreamNode(new PipelineDependencyNode(\"p4\", \"p4\"), null, currentPipeline);\n\n assertThat(p4.getChildren().size(), is(1));\n VSMTestHelper.assertThatNodeHasChildren(graph, \"p4\", 0, \"p5\");\n }", "@Override\n\tpublic int getNodes() {\n\t\treturn model.getNodes();\n\t}", "int totalNumberOfNodes();", "private Collection<Node> getNodes()\r\n\t{\r\n\t return nodeMap.values();\r\n\t}", "Collection<Node> allNodes();", "static int displayN(Node node)\r\n {\r\n return node.neighbors.size();\r\n }", "public abstract int getNodeType();", "private void seed(List<T> items){\n for(T item: items) {\n Node<T> newNode = new Node<T>(item);\n this.count++;\n if(this.root == null){\n this.root = newNode;\n } else {\n Node temp = this.root;\n newNode.next = temp;\n this.root = newNode;\n }\n }\n\n }", "public kNNNode(double[] data){\n this.data = data;\n this.id = count;\n count += 1;\n }", "List<CyNode> getNodeList();", "public Nodes nodes() {\n return this.nodes;\n }", "@Override public Integer visitDeclaracionMultiple(lenguajesParser.DeclaracionMultipleContext ctx) {\n for(TerminalNode x:ctx.ID()){\n System.out.println(x.getText());\n memoria.put(x.getText(),0);\n\n }\n //System.out.println(ctx.ID().getText());\n return null;\n }", "@Override\n\tpublic long numNodes() {\n\t\treturn numNodes;\n\t}", "interface WithNodeCount {\n /**\n * Specifies nodeCount.\n * @param nodeCount The job will be gang scheduled on that many compute nodes\n * @return the next definition stage\n*/\n WithStdOutErrPathPrefix withNodeCount(int nodeCount);\n }", "public List<Node> getNodes();", "public void setNumberOfVisitedNodes(int numberOfVisitedNodes) {\n NumberOfVisitedNodes = numberOfVisitedNodes;\n }", "public int getNumberOfNodesEvaluated();", "public static void main(String args[]) throws CloneNotSupportedException\n\t{\n\t\tSystem.out.println(getRandomNumber(2, 2));\n\t\t//Node n1 = org.apache.commons.lang3.SerializationUtils.clone(n);\n\t\t//n.getNextNodes().get(\"1\").getNextNodes().put(\"1\", null);\n\t\t//System.out.println(n1.getNextNodes().get(\"1\").getNextNodes().get(\"1\"));\n\t}", "List<Node> getNodes();", "public Transformation_001(int[] theNodes){\n this.theNodes=theNodes;\n }", "private static void readAndWriteNodes(String name) throws IOException {\n System.out.println(name);\n Map<Long, Long> nodeMap = new HashMap<>();\n boolean firstLine = true;\n fileReader = new BufferedReader(new FileReader(PATH + name));\n fileWriter = new BufferedWriter(new FileWriter(PATH + \"/uid/\" + name));\n String line;\n while ((line = fileReader.readLine()) != null) {\n if (!firstLine) {\n long globalId = getGlobalId();\n String[] lineTokens = LINE_TOKEN_SEPARATOR.split(line);\n long ID = Long.parseLong(lineTokens[0]);\n nodeMap.put(ID, globalId);\n String writeLine = \"\";\n for (int i = 0; i < lineTokens.length; i++) {\n if (i == 0) {\n writeLine += globalId;\n } else {\n writeLine += lineTokens[i];\n }\n writeLine += \"|\";\n }\n fileWriter.write(writeLine);\n fileWriter.newLine();\n vertexCount++;\n globalVertexCount++;\n } else {\n fileWriter.write(line);\n fileWriter.newLine();\n firstLine = false;\n }\n }\n fileWriter.close();\n fileReader.close();\n counterMapNodes.put(name, vertexCount);\n vertexCount = 0;\n vertexList.add(nodeMap);\n }", "public static void main(String[] args) {\n\t\tNode n = new Node(0);\r\n\t\tNode dummy = n;\r\n\t\tn.next = new Node(1);\r\n\t\tn = n.next;\r\n\t\tn.next = new Node(1);\r\n\t\tn = n.next;\r\n\t\tfor (int i = 1; i < 10; i ++) {\r\n\t\t\tn.next = new Node(i);\r\n\t\t\tn = n.next;\r\n\t\t}\r\n\t\tremoveDuplicate(dummy);\r\n\t\twhile(dummy != null) {\r\n\t\t\tSystem.out.println(dummy.val);\r\n\t\t\tdummy = dummy.next;\r\n\t\t}\r\n\t\t\r\n\t}", "public void addNode(int key)\n{\n Node n1 = new Node(key);\n\t\n\tif(!getNodes().containsKey(n1.getKey())) \n\t{\n\tmc++;\n\tthis.getNodes().put(n1.getKey(),n1);\n\t\t\n\t}\n\telse {\n\t\treturn;\n\t\t//System.out.println(\"Node already in the graph\");\n\t}\n}", "boolean addNode(long idNum, String label);", "private void reIndex()\n {\n for(int i = 0; i < NodeList.size(); i++)\n NodeList.get(i).setID(i);\n ID = NodeList.size();\n }", "public int getNodeLabel ();", "public int getEdgeCount() \n {\n return 3;\n }", "int numNodes() {\n\t\treturn num_nodes;\n\t}", "@Test(timeout = 4000)\n public void test03() throws Throwable {\n ExpressionMatrixImpl expressionMatrixImpl0 = new ExpressionMatrixImpl();\n expressionMatrixImpl0.addNewNode();\n expressionMatrixImpl0.getNumberOfNodes();\n }", "public int size(){\n return nodes.size();\n }", "public interface NodeRoot extends RootVertex<Node> {\n\n\tpublic static final String TYPE = \"nodes\";\n\n\t/**\n\t * Create a new node.\n\t * \n\t * @param user\n\t * User that is used to set creator and editor references\n\t * @param container\n\t * Schema version that should be used when creating the node\n\t * @param project\n\t * Project to which the node should be assigned to\n\t * @return Created node\n\t */\n\tdefault Node create(HibUser user, HibSchemaVersion container, HibProject project) {\n\t\treturn create(user, container, project, null);\n\t}\n\n\t/**\n\t * Create a new node.\n\t * \n\t * @param user\n\t * User that is used to set creator and editor references\n\t * @param container\n\t * Schema version that should be used when creating the node\n\t * @param project\n\t * Project to which the node should be assigned to\n\t * @param uuid\n\t * Optional uuid\n\t * @return Created node\n\t */\n\tNode create(HibUser user, HibSchemaVersion container, HibProject project, String uuid);\n\n}", "public List<Output<TInt32>> nodeIdsList() {\n return nodeIdsList;\n }", "public void setCounterpart(Node n)\n\t{\n\t\tcounterpart = n;\n\t}", "public RBACwithCommonNodes(){\n\t\tvalues = new Hashtable<Integer,Hashtable<Object, Integer>>();\n\t\tint[] order = {1,4,2,5,3};\n\t\tauthGraph = new DirectedGraph(order);\n\t}", "@Test \r\n void add_mutiple_edges_check_size(){\r\n for(int i = 0; i < 20; i++) {\r\n graph.addEdge(\"\" + i, \"\" + (i + 1));\r\n } \r\n List<String> adjacent;\r\n for(int i = 0; i < 20; i++) {\r\n adjacent = graph.getAdjacentVerticesOf(\"\"+i);\r\n if(!adjacent.contains(\"\" + (i+1))) {\r\n fail();\r\n }\r\n }\r\n if(graph.size() != 20 | graph.order() != 21) {\r\n fail();\r\n }\r\n \r\n }", "@Test\n public void tae3()\n {\n Graph graph = new Graph(3);\n graph.addEdge(0,0);\n graph.addEdge(0,1);\n graph.addEdge(1,1);\n System.out.println(graph);\n assertEquals(graph.toString(), \"numNodes: 3\\nedges: [[true, true, false], [false, true, false], \" +\n \"[false, false, false]]\");\n }", "public Node(Integer number){\n this.number = number;\n this.edges = new ArrayList<Edge>();\n }", "public NonceHelperImpl(Node node) {\n\t\tthis.node = node;\n\t}", "String getIdNode1();", "public List<DataNodeId> getDataNodeIds();", "public void setNode_2(String node_2);", "@Test\r\n void add_20_remove_20_add_20() {\r\n //Add 20\r\n for(int i = 0; i < 20; i++) {\r\n graph.addVertex(\"\" +i);\r\n }\r\n vertices = graph.getAllVertices();\r\n //Check all 20 are in graph\r\n for(int i = 0; i < 20; i++) {\r\n if(!vertices.contains(\"\" + i)) {\r\n fail();\r\n }\r\n }\r\n //Remove 20 \r\n for(int i = 0; i < 20; i++) {\r\n graph.removeVertex(\"\" +i);\r\n }\r\n //Check all 20 are not in graph anymore \r\n \r\n for(int i = 0; i < 20; i++) {\r\n if(vertices.contains(\"\" + i)) {\r\n fail();\r\n }\r\n }\r\n //Add 20 again\r\n for(int i = 0; i < 20; i++) {\r\n graph.addVertex(\"\" +i);\r\n }\r\n //Check all 20 are in graph\r\n for(int i = 0; i < 20; i++) {\r\n if(!vertices.contains(\"\" + i)) {\r\n fail();\r\n }\r\n }\r\n }", "public int getNumNodesSeenByMessage() {\r\n return numNodesSeenByMessage;\r\n }", "public interface Node {\n public int arityOfOperation();\n public String getText(int depth) throws CalculationException;\n public double getResult() throws CalculationException;\n public boolean isReachable(int depth);\n public List<Node> getAdjacentNodes();\n public String getTitle();\n public void setDepth(int depth);\n}", "public entities.Torrent.NodeIdOrBuilder getNodesOrBuilder(\n int index) {\n if (nodesBuilder_ == null) {\n return nodes_.get(index); } else {\n return nodesBuilder_.getMessageOrBuilder(index);\n }\n }", "public RandomNeighborhoodOperator(int nbRelaxedVars, long seed)\n{\n\trandom = new Random(seed);\n\tthis.nbRelaxedVars = nbRelaxedVars;\n\tselected = new TIntHashSet();\n}", "protected int numNodes() {\n\t\treturn nodes.size();\n\t}" ]
[ "0.58012414", "0.58011365", "0.58011365", "0.57780284", "0.5772085", "0.575644", "0.57039076", "0.57026917", "0.57026917", "0.5693984", "0.56889755", "0.5681135", "0.5661298", "0.565362", "0.565362", "0.56194633", "0.55934185", "0.55905604", "0.5582704", "0.5582704", "0.55576086", "0.5553456", "0.55534184", "0.55374855", "0.55020475", "0.5492895", "0.54633546", "0.5461078", "0.54584455", "0.5456036", "0.54218566", "0.5407351", "0.53965527", "0.5379224", "0.5348748", "0.5340543", "0.5326505", "0.53220886", "0.53212166", "0.5310216", "0.53045285", "0.5297627", "0.5287574", "0.52839285", "0.5282713", "0.5277224", "0.5273952", "0.5267903", "0.52668875", "0.5264547", "0.52620673", "0.5251183", "0.52498484", "0.52463955", "0.5246097", "0.52395076", "0.52384377", "0.52240205", "0.52188224", "0.5216552", "0.52149147", "0.5212481", "0.51699907", "0.51675326", "0.5167482", "0.51640254", "0.5161053", "0.5156575", "0.51526", "0.5152278", "0.5151577", "0.5145827", "0.51417863", "0.5137731", "0.5131012", "0.51277584", "0.5122025", "0.5114847", "0.5114217", "0.5113302", "0.51038605", "0.50990254", "0.5098557", "0.5097867", "0.5097691", "0.50939083", "0.50911415", "0.509027", "0.50891143", "0.5086298", "0.50808966", "0.5080496", "0.5079757", "0.5074141", "0.50690967", "0.5060841", "0.5056872", "0.5056417", "0.5054413", "0.50434023", "0.50353533" ]
0.0
-1
repeated .NodeId nodes = 3;
public entities.Torrent.NodeId.Builder addNodesBuilder( int index) { return getNodesFieldBuilder().addBuilder( index, entities.Torrent.NodeId.getDefaultInstance()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public int my_node_count();", "int getNodeCount();", "int getNodeCount();", "entities.Torrent.NodeId getNodes(int index);", "public Vector<Node> GetAdditionalSubNodes();", "void addNodes(List<CyNode> nodes);", "public void setNode_3(String node_3);", "entities.Torrent.NodeIdOrBuilder getNodeOrBuilder();", "entities.Torrent.NodeIdOrBuilder getNodeOrBuilder();", "List<Node> nodes();", "public abstract void setNodes();", "private int numNodes()\r\n\t{\r\n\t return nodeMap.size();\r\n\t}", "Set<ControllerNode> seedNodes();", "int getNodesCount();", "int getNodesCount();", "public abstract int getNodeRowCount();", "void printpopulateInorderSucc(Node t){\n\t\n\n}", "public void counter(Topology tp, Node node)\n {\n index[x] = node.getID();\n x++;\n if (x > 1)\n {\n addlink(tp);\n }\n }", "entities.Torrent.NodeId getNode();", "entities.Torrent.NodeId getNode();", "public Nodes getNodes()\n {\n return nodes;\n }", "public static int numberOfNodes() { return current_id; }", "private void fourNodesTopo() {\n ReadWriteTransaction tx = dataBroker.newReadWriteTransaction();\n n(tx, true, \"n1\", Stream.of(pB(\"n1:1\"), pB(\"n1:2\"), pI(\"n1:3\"), pO(\"n1:4\"), pO(\"n1:5\")));\n n(tx, true, \"n2\", Stream.of(pB(\"n2:1\"), pB(\"n2:2\"), pO(\"n2:3\"), pI(\"n2:4\"), pI(\"n2:5\")));\n n(tx, true, \"n3\", Stream.of(pB(\"n3:1\"), pB(\"n3:2\"), pO(\"n3:3\"), pO(\"n3:4\"), pI(\"n3:5\")));\n n(tx, true, \"n4\", Stream.of(pB(\"n4:1\"), pB(\"n4:2\"), pI(\"n4:3\"), pI(\"n4:4\"), pO(\"n4:5\")));\n l(tx, \"n1\", \"n1:5\", \"n2\", \"n2:5\", OperationalState.ENABLED, ForwardingDirection.UNIDIRECTIONAL);\n l(tx, \"n1\", \"n1:4\", \"n4\", \"n4:4\", OperationalState.ENABLED, ForwardingDirection.UNIDIRECTIONAL);\n l(tx, \"n2\", \"n2:3\", \"n4\", \"n4:3\", OperationalState.ENABLED, ForwardingDirection.UNIDIRECTIONAL);\n l(tx, \"n3\", \"n3:4\", \"n2\", \"n2:4\", OperationalState.ENABLED, ForwardingDirection.UNIDIRECTIONAL);\n l(tx, \"n4\", \"n4:5\", \"n3\", \"n3:5\", OperationalState.ENABLED, ForwardingDirection.UNIDIRECTIONAL);\n try {\n tx.submit().checkedGet();\n } catch (TransactionCommitFailedException e) {\n e.printStackTrace();\n }\n }", "io.netifi.proteus.admin.om.Node getNodes(int index);", "public void setNodes( Nodes nodes )\n {\n this.nodes = nodes;\n }", "entities.Torrent.NodeIdOrBuilder getNodesOrBuilder(\n int index);", "public void UpNumberOfVisitedNodes() {\n NumberOfVisitedNodes++;\n }", "public abstract int getNodesQuantity();", "int nodeCount();", "private void fiveNodesTopo() {\n ReadWriteTransaction tx = dataBroker.newReadWriteTransaction();\n n(tx, true, \"n1\", Stream.of(pI(\"n1:1\"), pB(\"n1:2\"), pI(\"n1:3\"), pO(\"n1:4\")));\n n(tx, true, \"n2\", Stream.of(pI(\"n2:1\"), pB(\"n2:2\"), pO(\"n2:3\"), pI(\"n2:4\")));\n n(tx, true, \"n3\", Stream.of(pO(\"n3:1\"), pB(\"n3:2\"), pO(\"n3:3\"), pI(\"n3:4\")));\n n(tx, true, \"n4\", Stream.of(pO(\"n4:1\"), pI(\"n4:2\"), pB(\"n4:3\"), pB(\"n4:4\")));\n n(tx, true, \"n5\", Stream.of(pI(\"n5:1\"), pB(\"n5:2\"), pB(\"n5:3\"), pO(\"n5:4\")));\n l(tx, \"n2\", \"n2:3\", \"n3\", \"n3:4\", OperationalState.ENABLED, ForwardingDirection.BIDIRECTIONAL);\n l(tx, \"n3\", \"n3:1\", \"n1\", \"n1:1\", OperationalState.ENABLED, ForwardingDirection.BIDIRECTIONAL);\n l(tx, \"n3\", \"n3:3\", \"n5\", \"n5:1\", OperationalState.ENABLED, ForwardingDirection.BIDIRECTIONAL);\n l(tx, \"n4\", \"n4:1\", \"n1\", \"n1:3\", OperationalState.ENABLED, ForwardingDirection.BIDIRECTIONAL);\n l(tx, \"n1\", \"n1:4\", \"n2\", \"n2:4\", OperationalState.ENABLED, ForwardingDirection.BIDIRECTIONAL);\n l(tx, \"n5\", \"n5:4\", \"n4\", \"n4:2\", OperationalState.ENABLED, ForwardingDirection.BIDIRECTIONAL);\n try {\n tx.submit().checkedGet();\n } catch (TransactionCommitFailedException e) {\n e.printStackTrace();\n }\n }", "@Test\n public void shouldAssignLevelsAndInsertDummyNodes(){\n String p1 = \"p1\";\n String p2 = \"p2\";\n String p3 = \"p3\";\n ValueStreamMap graph = new ValueStreamMap(p1, null);\n graph.addDownstreamNode(new PipelineDependencyNode(p3, p3), p1);\n\n List<List<Node>> nodesAtEachLevel = graph.presentationModel().getNodesAtEachLevel();\n assertThat(nodesAtEachLevel.size(), is(2));\n VSMTestHelper.assertNodeHasChildren(graph, p1, p3);\n VSMTestHelper.assertThatLevelHasNodes(nodesAtEachLevel.get(0), 0, p1);\n VSMTestHelper.assertThatLevelHasNodes(nodesAtEachLevel.get(1), 0, p3);\n\n graph.addDownstreamNode(new PipelineDependencyNode(p2, p2), p1);\n graph.addDownstreamNode(new PipelineDependencyNode(p3, p3), p2);\n\n VSMTestHelper.assertNodeHasChildren(graph, p1, p2, p3);\n VSMTestHelper.assertNodeHasChildren(graph, p2, p3);\n VSMTestHelper.assertNodeHasParents(graph, p3, p1, p2);\n VSMTestHelper.assertNodeHasParents(graph, p2, p1);\n assertThat(graph.findNode(p3).getChildren().isEmpty(), is(true));\n assertThat(graph.findNode(p1).getParents().isEmpty(), is(true));\n\n nodesAtEachLevel = graph.presentationModel().getNodesAtEachLevel();\n assertThat(nodesAtEachLevel.size(), is(3));\n VSMTestHelper.assertThatLevelHasNodes(nodesAtEachLevel.get(0), 0, p1);\n VSMTestHelper.assertThatLevelHasNodes(nodesAtEachLevel.get(1), 1, p2);\n VSMTestHelper.assertThatLevelHasNodes(nodesAtEachLevel.get(2), 0, p3);\n }", "@Override\r\n\tpublic void generateNodeRule(int step) throws IOException {\n\t\t\r\n\t\tgenerateNetNode.setSeedNodes(step, numberMaxSeed, setLayoutSeed);\r\n\t\t\r\n\t\tgenerateNetNodeVectorField.handleCreateSeedGraph(createSeedGraph, step); \r\n\t\r\n\t\t// list node element\r\n\t\tArrayList <Node> listNodeSeed = new ArrayList<Node> ( graphToolkit.getListElement(seedGraph, element.node, elementTypeToReturn.element));\t//\tSystem.out.println(listNodeSeed);\t\r\n\t\tArrayList<Integer> listIdSeedInt = new ArrayList<Integer>( graphToolkit.getListElement(seedGraph, element.node, elementTypeToReturn.integer)) ;\t\t\t\r\n\t\tArrayList<Integer> listIdNetInt = new ArrayList<Integer>( graphToolkit.getListElement(netGraph, element.node, elementTypeToReturn.integer)) ;\t\r\n\t\t\r\n\t\tint idNodeInt = Math.max(graphToolkit.getMaxIdIntElement(netGraph, element.node) , graphToolkit.getMaxIdIntElement(seedGraph, element.node) ) ;\r\n\t\t\r\n\t\t// map to update\r\n\t\tMap< Integer , double[] > mapIdNewSeedCoord = new HashMap< Integer , double[] > ();\r\n\t\tMap< Integer , String > mapIdNewSeedFather = new HashMap< Integer , String > ();\r\n\t\t\r\n\t\t// print\r\n\t\tSystem.out.println(seedGraph + \" \" + listIdSeedInt.size() /* + \" \" + listIdSeedInt */ );//\t\tSystem.out.println(netGraph + \" \" + listIdNetInt.size() + \" \" + listIdNetInt );\r\n\t\r\n\t\tint idLocal = 0 ;\r\n\r\n\t\tfor ( Node nodeSeed : listNodeSeed ) {\r\n\t\t\r\n\t\t\tString idSeed = nodeSeed.getId() ;\r\n\t\t\t\r\n\t\t//\tbucketSet.putNode(netGraph.getNode(idSeed)) ;\r\n\t\t\t\r\n\t\t\tdouble[] \tnodeCoord = GraphPosLengthUtils.nodePosition(nodeSeed) ,\r\n\t\t\t\t\t\tvector = getVector(vecGraph, nodeCoord, typeInterpolation ) ;\t\t\r\n\t\t\t\r\n\t\t\t// check vector\r\n\t\t\tdouble vectorInten = Math.pow( Math.pow(vector[0], 2) + Math.pow(vector[1], 2) , 0.5 ) ;\r\n\t\t\t\r\n\t\t\tif ( vectorInten > maxInten) {\r\n\t\t\t\tvector[0] = vector[0] / vectorInten * maxInten ; \r\n\t\t\t\tvector[1] = vector[1] / vectorInten * maxInten ;\t\t\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\t// check vector in grid\r\n\t\t\tdouble \txTopVector = generateNetNode.checkCoordInGrid ( gsGraph , nodeCoord[0] + vector[0] ) ,\r\n\t\t\t\t\tyTopVector = generateNetNode.checkCoordInGrid ( gsGraph , nodeCoord[1] + vector[1] ) ;\t\t\t\t\t\t// \tSystem.out.println(idSeed + \" \" + vector[0] + \" \" + vector[1]);\t\t\t\t\t\t\r\n\t\t\t\r\n\t\t\tdouble [] newNodeSeedCoord = new double[2] ;\r\n\t\t\t\t\t\t\r\n\t\t\tnewNodeSeedCoord[0] = xTopVector ;\r\n\t\t\tnewNodeSeedCoord[1] = yTopVector ;\r\n\t\t\t\r\n\t\t\tif ( dieBord ) {\t\t\r\n\t\t\t\tif ( newNodeSeedCoord[0] < 1 || newNodeSeedCoord[1] < 1 || newNodeSeedCoord[0] > sizeGridEdge -1 || newNodeSeedCoord[1] > sizeGridEdge - 1 )\r\n\t\t\t\t\tcontinue ;\r\n\t\t\t}\t\r\n\t\t\t\r\n\t\t\tArrayList<Integer> listIdNetIntLocal = new ArrayList<Integer> ( graphToolkit.getListElement(netGraph, element.node, elementTypeToReturn.integer)) ;\t\t//\tSystem.out.println(listIdNetIntLocal);\r\n\t\t\tArrayList<Integer> listIdSeedIntLocal = new ArrayList<Integer> ( graphToolkit.getListElement(seedGraph, element.node, elementTypeToReturn.integer)) ;\t\t//\tSystem.out.println(listIdNetIntLocal);\r\n\t\t\t\r\n\t\t\tint idInt = Collections.max(listIdNetIntLocal) ; //Math.max(listIdNetIntLocal, b) ;\r\n\t\t\twhile ( listIdNetIntLocal.contains(idInt) && listIdSeedIntLocal.contains(idInt) ) \r\n\t\t\t\tidInt ++ ;\r\n\t\t\t\r\n\t\t\tString id = Integer.toString(idInt) ;\t\t\t//\tSystem.out.println(idInt);\r\n\t\t\t\r\n\t\t\ttry {\r\n\t\t\t\tnetGraph.addNode(id);\r\n\t\t\t\tseedGraph.addNode(id);\r\n\t\t\t\tbucketSet.putNode(netGraph.getNode(id));\r\n\t\t\t}\r\n\t\t\tcatch (org.graphstream.graph.IdAlreadyInUseException e) {\r\n\t\t\t\t\r\n\t\t\t\tlistIdSeedIntLocal = new ArrayList<Integer> ( graphToolkit.getListElement(seedGraph, element.node, elementTypeToReturn.integer)) ;\r\n\t\t\t\tlistIdNetIntLocal = new ArrayList<Integer> ( graphToolkit.getListElement(netGraph, element.node, elementTypeToReturn.integer)) ;\r\n\t\t\t\t\r\n\t\t\t\tidInt = Math.max(Collections.max(listIdNetIntLocal) , Collections.max(listIdSeedIntLocal) ) ;\r\n\t\t\t\tidInt ++ ; \r\n\t\t\t\twhile ( listIdNetIntLocal.contains(idInt) && listIdSeedIntLocal.contains(idInt))\r\n\t\t\t\t\tidInt ++ ;\r\n\t\t\t\t\r\n\t\t\t\tid = Integer.toString(idInt) ;\t\t\t//\tSystem.out.println(idInt);\r\n\t\t\t\t\r\n\t\t\t\tnetGraph.addNode(id);\r\n\t\t\t\tseedGraph.addNode(id);\r\n\t\t\t\tbucketSet.putNode(netGraph.getNode(id));\t\t\t\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\tNode nodeNewNet = netGraph.getNode(id);\r\n\t\t\tNode nodeNewSeed = seedGraph.getNode(id);\r\n\t\t\t\t\t\t\r\n\t\t\tnodeNewSeed.addAttribute(\"xyz\", newNodeSeedCoord[0] , newNodeSeedCoord[1] , 0 );\r\n\t\t\tnodeNewSeed.addAttribute(\"father\", idSeed );\r\n\t\t\t\r\n\t\t\tnodeNewNet.addAttribute(\"xyz\", newNodeSeedCoord[0] , newNodeSeedCoord[1] , 0 );\r\n\t\t\tnodeNewNet.addAttribute(\"father\", idSeed );\t\r\n\t\t\t\r\n\t\t\tnodeNewNet.setAttribute(\"seedGrad\", 1);\r\n\t\t}\r\n\t\t\r\n\t\t// remove old seed\r\n\t\tfor ( int i : listIdSeedInt) //\tSystem.out.println(i);\r\n\t\t\tseedGraph.removeNode(Integer.toString(i));\t\r\n\t}", "public void setNode_4(String node_4);", "int NoOfNodes() {\r\n return noOfNodes;\r\n }", "public abstract int getNodeColumnCount();", "public MyMultiset() {\n\t\tthis.set = new HashSet<Node>();\n\t}", "public void setNode_1(String node_1);", "public interface GlobalNode extends Node{\n\n VariableName[] getVariableNames();\n\n}", "void nodeCreate( long id );", "Dijk(){\n grp = new HashMap<>();\n seen = new HashSet<>();\n dlist = new HashMap<>();\n id = new HashMap<>();\n lowlink = new HashMap<>();\n orid = 0;\n }", "public MutableNodeSet(Graph graph) {\n\t\tsuper(graph);\n\t\tthis.members = new TreeSet<Integer>();\n\t\tinitializeInOutWeights();\n\t}", "public int getNodeCount() {\n return nodeCount;\n }", "void graph3() {\n\t\tconnect(\"0\", \"0\");\n\t\tconnect(\"2\", \"2\");\n\t\tconnect(\"2\", \"3\");\n\t\tconnect(\"3\", \"0\");\n\t}", "N getNode(int id);", "public abstract int numOfSameTypeNeighbourToReproduce();", "protected abstract Node[] getAllNodes();", "public int totalNumNodes () { throw new RuntimeException(); }", "public Builder withNodes(Integer... nodes) {\n this.nodes = nodes;\n return this;\n }", "private void initializeNodes() {\n for (NasmInst inst : nasm.listeInst) {\n Node newNode = graph.newNode();\n inst2Node.put(inst, newNode);\n node2Inst.put(newNode, inst);\n if (inst.label != null) {\n NasmLabel label = (NasmLabel) inst.label;\n label2Inst.put(label.toString(), inst);\n }\n }\n }", "@Override\n public int nodeCount() {\n return graphNodes.size();\n }", "private void initFourNodes(InitType type) {\n if (type == InitType.RANDOM) {\n for (int i = 0; i < 2; i++) {\n for (int j = 0; j < 2; j++) {\n GNode initNode = new GNode(i, j, Utils.generateRandomArray(GSOMConstants.DIMENSIONS));\n nodeMap.put(Utils.generateIndexString(i, j), initNode);\n }\n }\n } else if (type == InitType.LINEAR) {\n double initVal = 0.1;\n for (int i = 0; i < 2; i++) {\n for (int j = 0; j < 2; j++) {\n GNode initNode = new GNode(i, j, Utils.generateLinearArray(GSOMConstants.DIMENSIONS, initVal));\n nodeMap.put(Utils.generateIndexString(i, j), initNode);\n initVal += 0.1;\n }\n }\n }\n }", "public void setNode_5(String node_5);", "public int size(){\n return n_nodi;\n }", "@Override\r\n\tpublic int getNumberOfNodes() {\n\t\treturn 0;\r\n\t}", "@Test\n public void shouldNotAddDuplicateDependents() {\n String currentPipeline = \"p5\";\n ValueStreamMap graph = new ValueStreamMap(currentPipeline, null);\n Node p4 = graph.addUpstreamNode(new PipelineDependencyNode(\"p4\", \"p4\"), null, currentPipeline);\n graph.addUpstreamNode(new PipelineDependencyNode(\"p4\", \"p4\"), null, currentPipeline);\n\n assertThat(p4.getChildren().size(), is(1));\n VSMTestHelper.assertThatNodeHasChildren(graph, \"p4\", 0, \"p5\");\n }", "@Override\n\tpublic int getNodes() {\n\t\treturn model.getNodes();\n\t}", "int totalNumberOfNodes();", "private Collection<Node> getNodes()\r\n\t{\r\n\t return nodeMap.values();\r\n\t}", "Collection<Node> allNodes();", "static int displayN(Node node)\r\n {\r\n return node.neighbors.size();\r\n }", "public abstract int getNodeType();", "private void seed(List<T> items){\n for(T item: items) {\n Node<T> newNode = new Node<T>(item);\n this.count++;\n if(this.root == null){\n this.root = newNode;\n } else {\n Node temp = this.root;\n newNode.next = temp;\n this.root = newNode;\n }\n }\n\n }", "public kNNNode(double[] data){\n this.data = data;\n this.id = count;\n count += 1;\n }", "List<CyNode> getNodeList();", "public Nodes nodes() {\n return this.nodes;\n }", "@Override public Integer visitDeclaracionMultiple(lenguajesParser.DeclaracionMultipleContext ctx) {\n for(TerminalNode x:ctx.ID()){\n System.out.println(x.getText());\n memoria.put(x.getText(),0);\n\n }\n //System.out.println(ctx.ID().getText());\n return null;\n }", "@Override\n\tpublic long numNodes() {\n\t\treturn numNodes;\n\t}", "interface WithNodeCount {\n /**\n * Specifies nodeCount.\n * @param nodeCount The job will be gang scheduled on that many compute nodes\n * @return the next definition stage\n*/\n WithStdOutErrPathPrefix withNodeCount(int nodeCount);\n }", "public List<Node> getNodes();", "public void setNumberOfVisitedNodes(int numberOfVisitedNodes) {\n NumberOfVisitedNodes = numberOfVisitedNodes;\n }", "public int getNumberOfNodesEvaluated();", "public static void main(String args[]) throws CloneNotSupportedException\n\t{\n\t\tSystem.out.println(getRandomNumber(2, 2));\n\t\t//Node n1 = org.apache.commons.lang3.SerializationUtils.clone(n);\n\t\t//n.getNextNodes().get(\"1\").getNextNodes().put(\"1\", null);\n\t\t//System.out.println(n1.getNextNodes().get(\"1\").getNextNodes().get(\"1\"));\n\t}", "List<Node> getNodes();", "public Transformation_001(int[] theNodes){\n this.theNodes=theNodes;\n }", "private static void readAndWriteNodes(String name) throws IOException {\n System.out.println(name);\n Map<Long, Long> nodeMap = new HashMap<>();\n boolean firstLine = true;\n fileReader = new BufferedReader(new FileReader(PATH + name));\n fileWriter = new BufferedWriter(new FileWriter(PATH + \"/uid/\" + name));\n String line;\n while ((line = fileReader.readLine()) != null) {\n if (!firstLine) {\n long globalId = getGlobalId();\n String[] lineTokens = LINE_TOKEN_SEPARATOR.split(line);\n long ID = Long.parseLong(lineTokens[0]);\n nodeMap.put(ID, globalId);\n String writeLine = \"\";\n for (int i = 0; i < lineTokens.length; i++) {\n if (i == 0) {\n writeLine += globalId;\n } else {\n writeLine += lineTokens[i];\n }\n writeLine += \"|\";\n }\n fileWriter.write(writeLine);\n fileWriter.newLine();\n vertexCount++;\n globalVertexCount++;\n } else {\n fileWriter.write(line);\n fileWriter.newLine();\n firstLine = false;\n }\n }\n fileWriter.close();\n fileReader.close();\n counterMapNodes.put(name, vertexCount);\n vertexCount = 0;\n vertexList.add(nodeMap);\n }", "public static void main(String[] args) {\n\t\tNode n = new Node(0);\r\n\t\tNode dummy = n;\r\n\t\tn.next = new Node(1);\r\n\t\tn = n.next;\r\n\t\tn.next = new Node(1);\r\n\t\tn = n.next;\r\n\t\tfor (int i = 1; i < 10; i ++) {\r\n\t\t\tn.next = new Node(i);\r\n\t\t\tn = n.next;\r\n\t\t}\r\n\t\tremoveDuplicate(dummy);\r\n\t\twhile(dummy != null) {\r\n\t\t\tSystem.out.println(dummy.val);\r\n\t\t\tdummy = dummy.next;\r\n\t\t}\r\n\t\t\r\n\t}", "public void addNode(int key)\n{\n Node n1 = new Node(key);\n\t\n\tif(!getNodes().containsKey(n1.getKey())) \n\t{\n\tmc++;\n\tthis.getNodes().put(n1.getKey(),n1);\n\t\t\n\t}\n\telse {\n\t\treturn;\n\t\t//System.out.println(\"Node already in the graph\");\n\t}\n}", "boolean addNode(long idNum, String label);", "private void reIndex()\n {\n for(int i = 0; i < NodeList.size(); i++)\n NodeList.get(i).setID(i);\n ID = NodeList.size();\n }", "public int getNodeLabel ();", "public int getEdgeCount() \n {\n return 3;\n }", "int numNodes() {\n\t\treturn num_nodes;\n\t}", "@Test(timeout = 4000)\n public void test03() throws Throwable {\n ExpressionMatrixImpl expressionMatrixImpl0 = new ExpressionMatrixImpl();\n expressionMatrixImpl0.addNewNode();\n expressionMatrixImpl0.getNumberOfNodes();\n }", "public int size(){\n return nodes.size();\n }", "public interface NodeRoot extends RootVertex<Node> {\n\n\tpublic static final String TYPE = \"nodes\";\n\n\t/**\n\t * Create a new node.\n\t * \n\t * @param user\n\t * User that is used to set creator and editor references\n\t * @param container\n\t * Schema version that should be used when creating the node\n\t * @param project\n\t * Project to which the node should be assigned to\n\t * @return Created node\n\t */\n\tdefault Node create(HibUser user, HibSchemaVersion container, HibProject project) {\n\t\treturn create(user, container, project, null);\n\t}\n\n\t/**\n\t * Create a new node.\n\t * \n\t * @param user\n\t * User that is used to set creator and editor references\n\t * @param container\n\t * Schema version that should be used when creating the node\n\t * @param project\n\t * Project to which the node should be assigned to\n\t * @param uuid\n\t * Optional uuid\n\t * @return Created node\n\t */\n\tNode create(HibUser user, HibSchemaVersion container, HibProject project, String uuid);\n\n}", "public List<Output<TInt32>> nodeIdsList() {\n return nodeIdsList;\n }", "public void setCounterpart(Node n)\n\t{\n\t\tcounterpart = n;\n\t}", "public RBACwithCommonNodes(){\n\t\tvalues = new Hashtable<Integer,Hashtable<Object, Integer>>();\n\t\tint[] order = {1,4,2,5,3};\n\t\tauthGraph = new DirectedGraph(order);\n\t}", "@Test \r\n void add_mutiple_edges_check_size(){\r\n for(int i = 0; i < 20; i++) {\r\n graph.addEdge(\"\" + i, \"\" + (i + 1));\r\n } \r\n List<String> adjacent;\r\n for(int i = 0; i < 20; i++) {\r\n adjacent = graph.getAdjacentVerticesOf(\"\"+i);\r\n if(!adjacent.contains(\"\" + (i+1))) {\r\n fail();\r\n }\r\n }\r\n if(graph.size() != 20 | graph.order() != 21) {\r\n fail();\r\n }\r\n \r\n }", "@Test\n public void tae3()\n {\n Graph graph = new Graph(3);\n graph.addEdge(0,0);\n graph.addEdge(0,1);\n graph.addEdge(1,1);\n System.out.println(graph);\n assertEquals(graph.toString(), \"numNodes: 3\\nedges: [[true, true, false], [false, true, false], \" +\n \"[false, false, false]]\");\n }", "public Node(Integer number){\n this.number = number;\n this.edges = new ArrayList<Edge>();\n }", "public NonceHelperImpl(Node node) {\n\t\tthis.node = node;\n\t}", "String getIdNode1();", "public List<DataNodeId> getDataNodeIds();", "public void setNode_2(String node_2);", "@Test\r\n void add_20_remove_20_add_20() {\r\n //Add 20\r\n for(int i = 0; i < 20; i++) {\r\n graph.addVertex(\"\" +i);\r\n }\r\n vertices = graph.getAllVertices();\r\n //Check all 20 are in graph\r\n for(int i = 0; i < 20; i++) {\r\n if(!vertices.contains(\"\" + i)) {\r\n fail();\r\n }\r\n }\r\n //Remove 20 \r\n for(int i = 0; i < 20; i++) {\r\n graph.removeVertex(\"\" +i);\r\n }\r\n //Check all 20 are not in graph anymore \r\n \r\n for(int i = 0; i < 20; i++) {\r\n if(vertices.contains(\"\" + i)) {\r\n fail();\r\n }\r\n }\r\n //Add 20 again\r\n for(int i = 0; i < 20; i++) {\r\n graph.addVertex(\"\" +i);\r\n }\r\n //Check all 20 are in graph\r\n for(int i = 0; i < 20; i++) {\r\n if(!vertices.contains(\"\" + i)) {\r\n fail();\r\n }\r\n }\r\n }", "public int getNumNodesSeenByMessage() {\r\n return numNodesSeenByMessage;\r\n }", "public interface Node {\n public int arityOfOperation();\n public String getText(int depth) throws CalculationException;\n public double getResult() throws CalculationException;\n public boolean isReachable(int depth);\n public List<Node> getAdjacentNodes();\n public String getTitle();\n public void setDepth(int depth);\n}", "public entities.Torrent.NodeIdOrBuilder getNodesOrBuilder(\n int index) {\n if (nodesBuilder_ == null) {\n return nodes_.get(index); } else {\n return nodesBuilder_.getMessageOrBuilder(index);\n }\n }", "public RandomNeighborhoodOperator(int nbRelaxedVars, long seed)\n{\n\trandom = new Random(seed);\n\tthis.nbRelaxedVars = nbRelaxedVars;\n\tselected = new TIntHashSet();\n}", "protected int numNodes() {\n\t\treturn nodes.size();\n\t}" ]
[ "0.58012414", "0.58011365", "0.58011365", "0.57780284", "0.5772085", "0.575644", "0.57039076", "0.57026917", "0.57026917", "0.5693984", "0.56889755", "0.5681135", "0.5661298", "0.565362", "0.565362", "0.56194633", "0.55934185", "0.55905604", "0.5582704", "0.5582704", "0.55576086", "0.5553456", "0.55534184", "0.55374855", "0.55020475", "0.5492895", "0.54633546", "0.5461078", "0.54584455", "0.5456036", "0.54218566", "0.5407351", "0.53965527", "0.5379224", "0.5348748", "0.5340543", "0.5326505", "0.53220886", "0.53212166", "0.5310216", "0.53045285", "0.5297627", "0.5287574", "0.52839285", "0.5282713", "0.5277224", "0.5273952", "0.5267903", "0.52668875", "0.5264547", "0.52620673", "0.5251183", "0.52498484", "0.52463955", "0.5246097", "0.52395076", "0.52384377", "0.52240205", "0.52188224", "0.5216552", "0.52149147", "0.5212481", "0.51699907", "0.51675326", "0.5167482", "0.51640254", "0.5161053", "0.5156575", "0.51526", "0.5152278", "0.5151577", "0.5145827", "0.51417863", "0.5137731", "0.5131012", "0.51277584", "0.5122025", "0.5114847", "0.5114217", "0.5113302", "0.51038605", "0.50990254", "0.5098557", "0.5097867", "0.5097691", "0.50939083", "0.50911415", "0.509027", "0.50891143", "0.5086298", "0.50808966", "0.5080496", "0.5079757", "0.5074141", "0.50690967", "0.5060841", "0.5056872", "0.5056417", "0.5054413", "0.50434023", "0.50353533" ]
0.0
-1
repeated .NodeId nodes = 3;
public java.util.List<entities.Torrent.NodeId.Builder> getNodesBuilderList() { return getNodesFieldBuilder().getBuilderList(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public int my_node_count();", "int getNodeCount();", "int getNodeCount();", "entities.Torrent.NodeId getNodes(int index);", "public Vector<Node> GetAdditionalSubNodes();", "void addNodes(List<CyNode> nodes);", "public void setNode_3(String node_3);", "entities.Torrent.NodeIdOrBuilder getNodeOrBuilder();", "entities.Torrent.NodeIdOrBuilder getNodeOrBuilder();", "List<Node> nodes();", "public abstract void setNodes();", "private int numNodes()\r\n\t{\r\n\t return nodeMap.size();\r\n\t}", "Set<ControllerNode> seedNodes();", "int getNodesCount();", "int getNodesCount();", "public abstract int getNodeRowCount();", "void printpopulateInorderSucc(Node t){\n\t\n\n}", "public void counter(Topology tp, Node node)\n {\n index[x] = node.getID();\n x++;\n if (x > 1)\n {\n addlink(tp);\n }\n }", "entities.Torrent.NodeId getNode();", "entities.Torrent.NodeId getNode();", "public Nodes getNodes()\n {\n return nodes;\n }", "public static int numberOfNodes() { return current_id; }", "private void fourNodesTopo() {\n ReadWriteTransaction tx = dataBroker.newReadWriteTransaction();\n n(tx, true, \"n1\", Stream.of(pB(\"n1:1\"), pB(\"n1:2\"), pI(\"n1:3\"), pO(\"n1:4\"), pO(\"n1:5\")));\n n(tx, true, \"n2\", Stream.of(pB(\"n2:1\"), pB(\"n2:2\"), pO(\"n2:3\"), pI(\"n2:4\"), pI(\"n2:5\")));\n n(tx, true, \"n3\", Stream.of(pB(\"n3:1\"), pB(\"n3:2\"), pO(\"n3:3\"), pO(\"n3:4\"), pI(\"n3:5\")));\n n(tx, true, \"n4\", Stream.of(pB(\"n4:1\"), pB(\"n4:2\"), pI(\"n4:3\"), pI(\"n4:4\"), pO(\"n4:5\")));\n l(tx, \"n1\", \"n1:5\", \"n2\", \"n2:5\", OperationalState.ENABLED, ForwardingDirection.UNIDIRECTIONAL);\n l(tx, \"n1\", \"n1:4\", \"n4\", \"n4:4\", OperationalState.ENABLED, ForwardingDirection.UNIDIRECTIONAL);\n l(tx, \"n2\", \"n2:3\", \"n4\", \"n4:3\", OperationalState.ENABLED, ForwardingDirection.UNIDIRECTIONAL);\n l(tx, \"n3\", \"n3:4\", \"n2\", \"n2:4\", OperationalState.ENABLED, ForwardingDirection.UNIDIRECTIONAL);\n l(tx, \"n4\", \"n4:5\", \"n3\", \"n3:5\", OperationalState.ENABLED, ForwardingDirection.UNIDIRECTIONAL);\n try {\n tx.submit().checkedGet();\n } catch (TransactionCommitFailedException e) {\n e.printStackTrace();\n }\n }", "io.netifi.proteus.admin.om.Node getNodes(int index);", "public void setNodes( Nodes nodes )\n {\n this.nodes = nodes;\n }", "entities.Torrent.NodeIdOrBuilder getNodesOrBuilder(\n int index);", "public void UpNumberOfVisitedNodes() {\n NumberOfVisitedNodes++;\n }", "public abstract int getNodesQuantity();", "int nodeCount();", "private void fiveNodesTopo() {\n ReadWriteTransaction tx = dataBroker.newReadWriteTransaction();\n n(tx, true, \"n1\", Stream.of(pI(\"n1:1\"), pB(\"n1:2\"), pI(\"n1:3\"), pO(\"n1:4\")));\n n(tx, true, \"n2\", Stream.of(pI(\"n2:1\"), pB(\"n2:2\"), pO(\"n2:3\"), pI(\"n2:4\")));\n n(tx, true, \"n3\", Stream.of(pO(\"n3:1\"), pB(\"n3:2\"), pO(\"n3:3\"), pI(\"n3:4\")));\n n(tx, true, \"n4\", Stream.of(pO(\"n4:1\"), pI(\"n4:2\"), pB(\"n4:3\"), pB(\"n4:4\")));\n n(tx, true, \"n5\", Stream.of(pI(\"n5:1\"), pB(\"n5:2\"), pB(\"n5:3\"), pO(\"n5:4\")));\n l(tx, \"n2\", \"n2:3\", \"n3\", \"n3:4\", OperationalState.ENABLED, ForwardingDirection.BIDIRECTIONAL);\n l(tx, \"n3\", \"n3:1\", \"n1\", \"n1:1\", OperationalState.ENABLED, ForwardingDirection.BIDIRECTIONAL);\n l(tx, \"n3\", \"n3:3\", \"n5\", \"n5:1\", OperationalState.ENABLED, ForwardingDirection.BIDIRECTIONAL);\n l(tx, \"n4\", \"n4:1\", \"n1\", \"n1:3\", OperationalState.ENABLED, ForwardingDirection.BIDIRECTIONAL);\n l(tx, \"n1\", \"n1:4\", \"n2\", \"n2:4\", OperationalState.ENABLED, ForwardingDirection.BIDIRECTIONAL);\n l(tx, \"n5\", \"n5:4\", \"n4\", \"n4:2\", OperationalState.ENABLED, ForwardingDirection.BIDIRECTIONAL);\n try {\n tx.submit().checkedGet();\n } catch (TransactionCommitFailedException e) {\n e.printStackTrace();\n }\n }", "@Test\n public void shouldAssignLevelsAndInsertDummyNodes(){\n String p1 = \"p1\";\n String p2 = \"p2\";\n String p3 = \"p3\";\n ValueStreamMap graph = new ValueStreamMap(p1, null);\n graph.addDownstreamNode(new PipelineDependencyNode(p3, p3), p1);\n\n List<List<Node>> nodesAtEachLevel = graph.presentationModel().getNodesAtEachLevel();\n assertThat(nodesAtEachLevel.size(), is(2));\n VSMTestHelper.assertNodeHasChildren(graph, p1, p3);\n VSMTestHelper.assertThatLevelHasNodes(nodesAtEachLevel.get(0), 0, p1);\n VSMTestHelper.assertThatLevelHasNodes(nodesAtEachLevel.get(1), 0, p3);\n\n graph.addDownstreamNode(new PipelineDependencyNode(p2, p2), p1);\n graph.addDownstreamNode(new PipelineDependencyNode(p3, p3), p2);\n\n VSMTestHelper.assertNodeHasChildren(graph, p1, p2, p3);\n VSMTestHelper.assertNodeHasChildren(graph, p2, p3);\n VSMTestHelper.assertNodeHasParents(graph, p3, p1, p2);\n VSMTestHelper.assertNodeHasParents(graph, p2, p1);\n assertThat(graph.findNode(p3).getChildren().isEmpty(), is(true));\n assertThat(graph.findNode(p1).getParents().isEmpty(), is(true));\n\n nodesAtEachLevel = graph.presentationModel().getNodesAtEachLevel();\n assertThat(nodesAtEachLevel.size(), is(3));\n VSMTestHelper.assertThatLevelHasNodes(nodesAtEachLevel.get(0), 0, p1);\n VSMTestHelper.assertThatLevelHasNodes(nodesAtEachLevel.get(1), 1, p2);\n VSMTestHelper.assertThatLevelHasNodes(nodesAtEachLevel.get(2), 0, p3);\n }", "@Override\r\n\tpublic void generateNodeRule(int step) throws IOException {\n\t\t\r\n\t\tgenerateNetNode.setSeedNodes(step, numberMaxSeed, setLayoutSeed);\r\n\t\t\r\n\t\tgenerateNetNodeVectorField.handleCreateSeedGraph(createSeedGraph, step); \r\n\t\r\n\t\t// list node element\r\n\t\tArrayList <Node> listNodeSeed = new ArrayList<Node> ( graphToolkit.getListElement(seedGraph, element.node, elementTypeToReturn.element));\t//\tSystem.out.println(listNodeSeed);\t\r\n\t\tArrayList<Integer> listIdSeedInt = new ArrayList<Integer>( graphToolkit.getListElement(seedGraph, element.node, elementTypeToReturn.integer)) ;\t\t\t\r\n\t\tArrayList<Integer> listIdNetInt = new ArrayList<Integer>( graphToolkit.getListElement(netGraph, element.node, elementTypeToReturn.integer)) ;\t\r\n\t\t\r\n\t\tint idNodeInt = Math.max(graphToolkit.getMaxIdIntElement(netGraph, element.node) , graphToolkit.getMaxIdIntElement(seedGraph, element.node) ) ;\r\n\t\t\r\n\t\t// map to update\r\n\t\tMap< Integer , double[] > mapIdNewSeedCoord = new HashMap< Integer , double[] > ();\r\n\t\tMap< Integer , String > mapIdNewSeedFather = new HashMap< Integer , String > ();\r\n\t\t\r\n\t\t// print\r\n\t\tSystem.out.println(seedGraph + \" \" + listIdSeedInt.size() /* + \" \" + listIdSeedInt */ );//\t\tSystem.out.println(netGraph + \" \" + listIdNetInt.size() + \" \" + listIdNetInt );\r\n\t\r\n\t\tint idLocal = 0 ;\r\n\r\n\t\tfor ( Node nodeSeed : listNodeSeed ) {\r\n\t\t\r\n\t\t\tString idSeed = nodeSeed.getId() ;\r\n\t\t\t\r\n\t\t//\tbucketSet.putNode(netGraph.getNode(idSeed)) ;\r\n\t\t\t\r\n\t\t\tdouble[] \tnodeCoord = GraphPosLengthUtils.nodePosition(nodeSeed) ,\r\n\t\t\t\t\t\tvector = getVector(vecGraph, nodeCoord, typeInterpolation ) ;\t\t\r\n\t\t\t\r\n\t\t\t// check vector\r\n\t\t\tdouble vectorInten = Math.pow( Math.pow(vector[0], 2) + Math.pow(vector[1], 2) , 0.5 ) ;\r\n\t\t\t\r\n\t\t\tif ( vectorInten > maxInten) {\r\n\t\t\t\tvector[0] = vector[0] / vectorInten * maxInten ; \r\n\t\t\t\tvector[1] = vector[1] / vectorInten * maxInten ;\t\t\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\t// check vector in grid\r\n\t\t\tdouble \txTopVector = generateNetNode.checkCoordInGrid ( gsGraph , nodeCoord[0] + vector[0] ) ,\r\n\t\t\t\t\tyTopVector = generateNetNode.checkCoordInGrid ( gsGraph , nodeCoord[1] + vector[1] ) ;\t\t\t\t\t\t// \tSystem.out.println(idSeed + \" \" + vector[0] + \" \" + vector[1]);\t\t\t\t\t\t\r\n\t\t\t\r\n\t\t\tdouble [] newNodeSeedCoord = new double[2] ;\r\n\t\t\t\t\t\t\r\n\t\t\tnewNodeSeedCoord[0] = xTopVector ;\r\n\t\t\tnewNodeSeedCoord[1] = yTopVector ;\r\n\t\t\t\r\n\t\t\tif ( dieBord ) {\t\t\r\n\t\t\t\tif ( newNodeSeedCoord[0] < 1 || newNodeSeedCoord[1] < 1 || newNodeSeedCoord[0] > sizeGridEdge -1 || newNodeSeedCoord[1] > sizeGridEdge - 1 )\r\n\t\t\t\t\tcontinue ;\r\n\t\t\t}\t\r\n\t\t\t\r\n\t\t\tArrayList<Integer> listIdNetIntLocal = new ArrayList<Integer> ( graphToolkit.getListElement(netGraph, element.node, elementTypeToReturn.integer)) ;\t\t//\tSystem.out.println(listIdNetIntLocal);\r\n\t\t\tArrayList<Integer> listIdSeedIntLocal = new ArrayList<Integer> ( graphToolkit.getListElement(seedGraph, element.node, elementTypeToReturn.integer)) ;\t\t//\tSystem.out.println(listIdNetIntLocal);\r\n\t\t\t\r\n\t\t\tint idInt = Collections.max(listIdNetIntLocal) ; //Math.max(listIdNetIntLocal, b) ;\r\n\t\t\twhile ( listIdNetIntLocal.contains(idInt) && listIdSeedIntLocal.contains(idInt) ) \r\n\t\t\t\tidInt ++ ;\r\n\t\t\t\r\n\t\t\tString id = Integer.toString(idInt) ;\t\t\t//\tSystem.out.println(idInt);\r\n\t\t\t\r\n\t\t\ttry {\r\n\t\t\t\tnetGraph.addNode(id);\r\n\t\t\t\tseedGraph.addNode(id);\r\n\t\t\t\tbucketSet.putNode(netGraph.getNode(id));\r\n\t\t\t}\r\n\t\t\tcatch (org.graphstream.graph.IdAlreadyInUseException e) {\r\n\t\t\t\t\r\n\t\t\t\tlistIdSeedIntLocal = new ArrayList<Integer> ( graphToolkit.getListElement(seedGraph, element.node, elementTypeToReturn.integer)) ;\r\n\t\t\t\tlistIdNetIntLocal = new ArrayList<Integer> ( graphToolkit.getListElement(netGraph, element.node, elementTypeToReturn.integer)) ;\r\n\t\t\t\t\r\n\t\t\t\tidInt = Math.max(Collections.max(listIdNetIntLocal) , Collections.max(listIdSeedIntLocal) ) ;\r\n\t\t\t\tidInt ++ ; \r\n\t\t\t\twhile ( listIdNetIntLocal.contains(idInt) && listIdSeedIntLocal.contains(idInt))\r\n\t\t\t\t\tidInt ++ ;\r\n\t\t\t\t\r\n\t\t\t\tid = Integer.toString(idInt) ;\t\t\t//\tSystem.out.println(idInt);\r\n\t\t\t\t\r\n\t\t\t\tnetGraph.addNode(id);\r\n\t\t\t\tseedGraph.addNode(id);\r\n\t\t\t\tbucketSet.putNode(netGraph.getNode(id));\t\t\t\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\tNode nodeNewNet = netGraph.getNode(id);\r\n\t\t\tNode nodeNewSeed = seedGraph.getNode(id);\r\n\t\t\t\t\t\t\r\n\t\t\tnodeNewSeed.addAttribute(\"xyz\", newNodeSeedCoord[0] , newNodeSeedCoord[1] , 0 );\r\n\t\t\tnodeNewSeed.addAttribute(\"father\", idSeed );\r\n\t\t\t\r\n\t\t\tnodeNewNet.addAttribute(\"xyz\", newNodeSeedCoord[0] , newNodeSeedCoord[1] , 0 );\r\n\t\t\tnodeNewNet.addAttribute(\"father\", idSeed );\t\r\n\t\t\t\r\n\t\t\tnodeNewNet.setAttribute(\"seedGrad\", 1);\r\n\t\t}\r\n\t\t\r\n\t\t// remove old seed\r\n\t\tfor ( int i : listIdSeedInt) //\tSystem.out.println(i);\r\n\t\t\tseedGraph.removeNode(Integer.toString(i));\t\r\n\t}", "public void setNode_4(String node_4);", "int NoOfNodes() {\r\n return noOfNodes;\r\n }", "public abstract int getNodeColumnCount();", "public MyMultiset() {\n\t\tthis.set = new HashSet<Node>();\n\t}", "public void setNode_1(String node_1);", "public interface GlobalNode extends Node{\n\n VariableName[] getVariableNames();\n\n}", "void nodeCreate( long id );", "Dijk(){\n grp = new HashMap<>();\n seen = new HashSet<>();\n dlist = new HashMap<>();\n id = new HashMap<>();\n lowlink = new HashMap<>();\n orid = 0;\n }", "public MutableNodeSet(Graph graph) {\n\t\tsuper(graph);\n\t\tthis.members = new TreeSet<Integer>();\n\t\tinitializeInOutWeights();\n\t}", "public int getNodeCount() {\n return nodeCount;\n }", "void graph3() {\n\t\tconnect(\"0\", \"0\");\n\t\tconnect(\"2\", \"2\");\n\t\tconnect(\"2\", \"3\");\n\t\tconnect(\"3\", \"0\");\n\t}", "N getNode(int id);", "public abstract int numOfSameTypeNeighbourToReproduce();", "protected abstract Node[] getAllNodes();", "public int totalNumNodes () { throw new RuntimeException(); }", "public Builder withNodes(Integer... nodes) {\n this.nodes = nodes;\n return this;\n }", "private void initializeNodes() {\n for (NasmInst inst : nasm.listeInst) {\n Node newNode = graph.newNode();\n inst2Node.put(inst, newNode);\n node2Inst.put(newNode, inst);\n if (inst.label != null) {\n NasmLabel label = (NasmLabel) inst.label;\n label2Inst.put(label.toString(), inst);\n }\n }\n }", "@Override\n public int nodeCount() {\n return graphNodes.size();\n }", "private void initFourNodes(InitType type) {\n if (type == InitType.RANDOM) {\n for (int i = 0; i < 2; i++) {\n for (int j = 0; j < 2; j++) {\n GNode initNode = new GNode(i, j, Utils.generateRandomArray(GSOMConstants.DIMENSIONS));\n nodeMap.put(Utils.generateIndexString(i, j), initNode);\n }\n }\n } else if (type == InitType.LINEAR) {\n double initVal = 0.1;\n for (int i = 0; i < 2; i++) {\n for (int j = 0; j < 2; j++) {\n GNode initNode = new GNode(i, j, Utils.generateLinearArray(GSOMConstants.DIMENSIONS, initVal));\n nodeMap.put(Utils.generateIndexString(i, j), initNode);\n initVal += 0.1;\n }\n }\n }\n }", "public void setNode_5(String node_5);", "public int size(){\n return n_nodi;\n }", "@Override\r\n\tpublic int getNumberOfNodes() {\n\t\treturn 0;\r\n\t}", "@Test\n public void shouldNotAddDuplicateDependents() {\n String currentPipeline = \"p5\";\n ValueStreamMap graph = new ValueStreamMap(currentPipeline, null);\n Node p4 = graph.addUpstreamNode(new PipelineDependencyNode(\"p4\", \"p4\"), null, currentPipeline);\n graph.addUpstreamNode(new PipelineDependencyNode(\"p4\", \"p4\"), null, currentPipeline);\n\n assertThat(p4.getChildren().size(), is(1));\n VSMTestHelper.assertThatNodeHasChildren(graph, \"p4\", 0, \"p5\");\n }", "@Override\n\tpublic int getNodes() {\n\t\treturn model.getNodes();\n\t}", "int totalNumberOfNodes();", "private Collection<Node> getNodes()\r\n\t{\r\n\t return nodeMap.values();\r\n\t}", "Collection<Node> allNodes();", "static int displayN(Node node)\r\n {\r\n return node.neighbors.size();\r\n }", "public abstract int getNodeType();", "private void seed(List<T> items){\n for(T item: items) {\n Node<T> newNode = new Node<T>(item);\n this.count++;\n if(this.root == null){\n this.root = newNode;\n } else {\n Node temp = this.root;\n newNode.next = temp;\n this.root = newNode;\n }\n }\n\n }", "public kNNNode(double[] data){\n this.data = data;\n this.id = count;\n count += 1;\n }", "List<CyNode> getNodeList();", "public Nodes nodes() {\n return this.nodes;\n }", "@Override public Integer visitDeclaracionMultiple(lenguajesParser.DeclaracionMultipleContext ctx) {\n for(TerminalNode x:ctx.ID()){\n System.out.println(x.getText());\n memoria.put(x.getText(),0);\n\n }\n //System.out.println(ctx.ID().getText());\n return null;\n }", "@Override\n\tpublic long numNodes() {\n\t\treturn numNodes;\n\t}", "interface WithNodeCount {\n /**\n * Specifies nodeCount.\n * @param nodeCount The job will be gang scheduled on that many compute nodes\n * @return the next definition stage\n*/\n WithStdOutErrPathPrefix withNodeCount(int nodeCount);\n }", "public List<Node> getNodes();", "public void setNumberOfVisitedNodes(int numberOfVisitedNodes) {\n NumberOfVisitedNodes = numberOfVisitedNodes;\n }", "public int getNumberOfNodesEvaluated();", "public static void main(String args[]) throws CloneNotSupportedException\n\t{\n\t\tSystem.out.println(getRandomNumber(2, 2));\n\t\t//Node n1 = org.apache.commons.lang3.SerializationUtils.clone(n);\n\t\t//n.getNextNodes().get(\"1\").getNextNodes().put(\"1\", null);\n\t\t//System.out.println(n1.getNextNodes().get(\"1\").getNextNodes().get(\"1\"));\n\t}", "List<Node> getNodes();", "public Transformation_001(int[] theNodes){\n this.theNodes=theNodes;\n }", "private static void readAndWriteNodes(String name) throws IOException {\n System.out.println(name);\n Map<Long, Long> nodeMap = new HashMap<>();\n boolean firstLine = true;\n fileReader = new BufferedReader(new FileReader(PATH + name));\n fileWriter = new BufferedWriter(new FileWriter(PATH + \"/uid/\" + name));\n String line;\n while ((line = fileReader.readLine()) != null) {\n if (!firstLine) {\n long globalId = getGlobalId();\n String[] lineTokens = LINE_TOKEN_SEPARATOR.split(line);\n long ID = Long.parseLong(lineTokens[0]);\n nodeMap.put(ID, globalId);\n String writeLine = \"\";\n for (int i = 0; i < lineTokens.length; i++) {\n if (i == 0) {\n writeLine += globalId;\n } else {\n writeLine += lineTokens[i];\n }\n writeLine += \"|\";\n }\n fileWriter.write(writeLine);\n fileWriter.newLine();\n vertexCount++;\n globalVertexCount++;\n } else {\n fileWriter.write(line);\n fileWriter.newLine();\n firstLine = false;\n }\n }\n fileWriter.close();\n fileReader.close();\n counterMapNodes.put(name, vertexCount);\n vertexCount = 0;\n vertexList.add(nodeMap);\n }", "public static void main(String[] args) {\n\t\tNode n = new Node(0);\r\n\t\tNode dummy = n;\r\n\t\tn.next = new Node(1);\r\n\t\tn = n.next;\r\n\t\tn.next = new Node(1);\r\n\t\tn = n.next;\r\n\t\tfor (int i = 1; i < 10; i ++) {\r\n\t\t\tn.next = new Node(i);\r\n\t\t\tn = n.next;\r\n\t\t}\r\n\t\tremoveDuplicate(dummy);\r\n\t\twhile(dummy != null) {\r\n\t\t\tSystem.out.println(dummy.val);\r\n\t\t\tdummy = dummy.next;\r\n\t\t}\r\n\t\t\r\n\t}", "public void addNode(int key)\n{\n Node n1 = new Node(key);\n\t\n\tif(!getNodes().containsKey(n1.getKey())) \n\t{\n\tmc++;\n\tthis.getNodes().put(n1.getKey(),n1);\n\t\t\n\t}\n\telse {\n\t\treturn;\n\t\t//System.out.println(\"Node already in the graph\");\n\t}\n}", "boolean addNode(long idNum, String label);", "private void reIndex()\n {\n for(int i = 0; i < NodeList.size(); i++)\n NodeList.get(i).setID(i);\n ID = NodeList.size();\n }", "public int getNodeLabel ();", "public int getEdgeCount() \n {\n return 3;\n }", "int numNodes() {\n\t\treturn num_nodes;\n\t}", "@Test(timeout = 4000)\n public void test03() throws Throwable {\n ExpressionMatrixImpl expressionMatrixImpl0 = new ExpressionMatrixImpl();\n expressionMatrixImpl0.addNewNode();\n expressionMatrixImpl0.getNumberOfNodes();\n }", "public int size(){\n return nodes.size();\n }", "public interface NodeRoot extends RootVertex<Node> {\n\n\tpublic static final String TYPE = \"nodes\";\n\n\t/**\n\t * Create a new node.\n\t * \n\t * @param user\n\t * User that is used to set creator and editor references\n\t * @param container\n\t * Schema version that should be used when creating the node\n\t * @param project\n\t * Project to which the node should be assigned to\n\t * @return Created node\n\t */\n\tdefault Node create(HibUser user, HibSchemaVersion container, HibProject project) {\n\t\treturn create(user, container, project, null);\n\t}\n\n\t/**\n\t * Create a new node.\n\t * \n\t * @param user\n\t * User that is used to set creator and editor references\n\t * @param container\n\t * Schema version that should be used when creating the node\n\t * @param project\n\t * Project to which the node should be assigned to\n\t * @param uuid\n\t * Optional uuid\n\t * @return Created node\n\t */\n\tNode create(HibUser user, HibSchemaVersion container, HibProject project, String uuid);\n\n}", "public List<Output<TInt32>> nodeIdsList() {\n return nodeIdsList;\n }", "public void setCounterpart(Node n)\n\t{\n\t\tcounterpart = n;\n\t}", "public RBACwithCommonNodes(){\n\t\tvalues = new Hashtable<Integer,Hashtable<Object, Integer>>();\n\t\tint[] order = {1,4,2,5,3};\n\t\tauthGraph = new DirectedGraph(order);\n\t}", "@Test \r\n void add_mutiple_edges_check_size(){\r\n for(int i = 0; i < 20; i++) {\r\n graph.addEdge(\"\" + i, \"\" + (i + 1));\r\n } \r\n List<String> adjacent;\r\n for(int i = 0; i < 20; i++) {\r\n adjacent = graph.getAdjacentVerticesOf(\"\"+i);\r\n if(!adjacent.contains(\"\" + (i+1))) {\r\n fail();\r\n }\r\n }\r\n if(graph.size() != 20 | graph.order() != 21) {\r\n fail();\r\n }\r\n \r\n }", "@Test\n public void tae3()\n {\n Graph graph = new Graph(3);\n graph.addEdge(0,0);\n graph.addEdge(0,1);\n graph.addEdge(1,1);\n System.out.println(graph);\n assertEquals(graph.toString(), \"numNodes: 3\\nedges: [[true, true, false], [false, true, false], \" +\n \"[false, false, false]]\");\n }", "public Node(Integer number){\n this.number = number;\n this.edges = new ArrayList<Edge>();\n }", "public NonceHelperImpl(Node node) {\n\t\tthis.node = node;\n\t}", "String getIdNode1();", "public List<DataNodeId> getDataNodeIds();", "public void setNode_2(String node_2);", "@Test\r\n void add_20_remove_20_add_20() {\r\n //Add 20\r\n for(int i = 0; i < 20; i++) {\r\n graph.addVertex(\"\" +i);\r\n }\r\n vertices = graph.getAllVertices();\r\n //Check all 20 are in graph\r\n for(int i = 0; i < 20; i++) {\r\n if(!vertices.contains(\"\" + i)) {\r\n fail();\r\n }\r\n }\r\n //Remove 20 \r\n for(int i = 0; i < 20; i++) {\r\n graph.removeVertex(\"\" +i);\r\n }\r\n //Check all 20 are not in graph anymore \r\n \r\n for(int i = 0; i < 20; i++) {\r\n if(vertices.contains(\"\" + i)) {\r\n fail();\r\n }\r\n }\r\n //Add 20 again\r\n for(int i = 0; i < 20; i++) {\r\n graph.addVertex(\"\" +i);\r\n }\r\n //Check all 20 are in graph\r\n for(int i = 0; i < 20; i++) {\r\n if(!vertices.contains(\"\" + i)) {\r\n fail();\r\n }\r\n }\r\n }", "public int getNumNodesSeenByMessage() {\r\n return numNodesSeenByMessage;\r\n }", "public interface Node {\n public int arityOfOperation();\n public String getText(int depth) throws CalculationException;\n public double getResult() throws CalculationException;\n public boolean isReachable(int depth);\n public List<Node> getAdjacentNodes();\n public String getTitle();\n public void setDepth(int depth);\n}", "public entities.Torrent.NodeIdOrBuilder getNodesOrBuilder(\n int index) {\n if (nodesBuilder_ == null) {\n return nodes_.get(index); } else {\n return nodesBuilder_.getMessageOrBuilder(index);\n }\n }", "public RandomNeighborhoodOperator(int nbRelaxedVars, long seed)\n{\n\trandom = new Random(seed);\n\tthis.nbRelaxedVars = nbRelaxedVars;\n\tselected = new TIntHashSet();\n}", "protected int numNodes() {\n\t\treturn nodes.size();\n\t}" ]
[ "0.58012414", "0.58011365", "0.58011365", "0.57780284", "0.5772085", "0.575644", "0.57039076", "0.57026917", "0.57026917", "0.5693984", "0.56889755", "0.5681135", "0.5661298", "0.565362", "0.565362", "0.56194633", "0.55934185", "0.55905604", "0.5582704", "0.5582704", "0.55576086", "0.5553456", "0.55534184", "0.55374855", "0.55020475", "0.5492895", "0.54633546", "0.5461078", "0.54584455", "0.5456036", "0.54218566", "0.5407351", "0.53965527", "0.5379224", "0.5348748", "0.5340543", "0.5326505", "0.53220886", "0.53212166", "0.5310216", "0.53045285", "0.5297627", "0.5287574", "0.52839285", "0.5282713", "0.5277224", "0.5273952", "0.5267903", "0.52668875", "0.5264547", "0.52620673", "0.5251183", "0.52498484", "0.52463955", "0.5246097", "0.52395076", "0.52384377", "0.52240205", "0.52188224", "0.5216552", "0.52149147", "0.5212481", "0.51699907", "0.51675326", "0.5167482", "0.51640254", "0.5161053", "0.5156575", "0.51526", "0.5152278", "0.5151577", "0.5145827", "0.51417863", "0.5137731", "0.5131012", "0.51277584", "0.5122025", "0.5114847", "0.5114217", "0.5113302", "0.51038605", "0.50990254", "0.5098557", "0.5097867", "0.5097691", "0.50939083", "0.50911415", "0.509027", "0.50891143", "0.5086298", "0.50808966", "0.5080496", "0.5079757", "0.5074141", "0.50690967", "0.5060841", "0.5056872", "0.5056417", "0.5054413", "0.50434023", "0.50353533" ]
0.0
-1
string regex = 1;
java.lang.String getRegex();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getRegex();", "public void setRegex (String regex)\n {\n this.regex = regex;\n }", "public String getRegEx();", "public RegExp (final int type)\n {\n this.type = type;\n }", "public RegexPatternBuilder (String regex)\n {\n this.regex = regex;\n }", "public String getRegEx() {\r\n return regex;\r\n }", "public GrammaticaRE(String regex) throws Exception {\n regExp = new RegExp(regex, ignoreCase);\n }", "public final native void setRegex(String regex) /*-{\n\t\tthis.regex = regex;\n\t}-*/;", "@objid (\"d7eead28-9a1c-4037-9797-4868268b54d4\")\n public RegexVerifier(String regex) {\n this.regex = regex;\n }", "public void setRegex(String regex) {\n this.regex = regex;\n }", "public static void TestRegex()\n\t{\n\t String line = \" if( aaa&&(ypbreg))\";\n\t String pattern = \"(&&)\\\\s*\\\\(*\\\\s*!?ypbreg\\\\)*\";\n\t // Create a Pattern object\n\t Pattern r = Pattern.compile(pattern);\n\t System.out.println(line.contains(pattern));\n\t // Now create matcher object.\n\t Matcher m = r.matcher(line);\n\t if (m.find( )) {\n\t // System.out.println(\"Found value: \" + m.group(0) );\n\t int count = m.groupCount();\n\t System.out.println(\"group count is \"+count);\n\t for(int i=0;i<count;i++){\n\t System.out.println(m.group(i));\n\t }\n\t // System.out.println(line.replaceFirst(BregPattern.pEqualTrue1, \"!$1\"));\n\n\t } else {\n\t System.out.println(\"NO MATCH\");\n\t }\n\t}", "public RegularExpression() {\n }", "public interface RegExp {\n String NUMBER_OF_COMPOSITION = \"^[1-2][0-9]|[1-9]$\";\n String BREAK_DATE_BY_DOT = \"[.]\";\n String IDENTIFY_BUMDLE = \"^([E|e][N|n])|[У|у][К|к][Р|р]$\";\n String DURATION = \"^[1-9]|[1-9][0-9]|[1-4][0-9][0-9]$\";\n}", "public java.lang.String getRegexStr() {\r\n return regexStr;\r\n }", "public Pattern regexPattern(String regex) {\n return Pattern.compile(regex);\n }", "@Override\n protected void compileRegex(String regex) {\n }", "protected abstract Regex pattern();", "boolean hasRegex();", "public JavaRE(String regex) throws Exception {\n if (ignoreCase) {\n pattern = Pattern.compile(regex, Pattern.CASE_INSENSITIVE);\n } else {\n pattern = Pattern.compile(regex);\n }\n }", "@Test\n public void testParseRegexp_valid3() throws InvalidRegexpException {\n BasicRegexp re = BasicRegexp.parseRegexp(\"a b c d\");\n assertEquals(re.toString(), \"abcd\");\n }", "private\n\tRegExHelper()\n\t{\n\t\tsuper();\n\t}", "public java.lang.String getRegex() {\n java.lang.Object ref = regex_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n regex_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getRegex() {\n java.lang.Object ref = regex_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n regex_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "@Override\n public boolean isRegex() {\n return false;\n }", "public String get_isregex() throws Exception {\n\t\treturn this.isregex;\n\t}", "public Boolean getbRegex() {\r\n\t\treturn bRegex;\r\n\t}", "public interface RegExp {\n String NAME_REGEXP = \"^[А-Я][а-я]{2,30}$\";\n String AGE_REGEXP = \"^((1[012][0-9])|([1-9][0-9]))$\";\n String EMAIL_REGEXP = \"^[-z0-9_.]{1,30}@([A-z]+[A-z0-9]{1,15}.){1,2}([A-z]+[A-z0-9]{1,15})$\";\n String CELL_PHONE_REGEXP = \"([\\\\+]\\\\d{2}\\\\s?)?(([\\\\(\\\\s]\\\\d{3}[\\\\)\\\\s])|\" +\n \"(\\\\d{3}))[\\\\s-]?\\\\d{3}[\\\\s-]?\\\\d{2}[\\\\s-]?\\\\d{2}$\";\n String CELL_PHONE_OPTIONAL_REGEXP = \"^(([\\\\+]\\\\d{2}\\\\s?)?(([\\\\(\\\\s]\\\\d{3}[\\\\)\\\\s])|\" +\n \"(\\\\d{3}))[\\\\s-]?\\\\d{3}[\\\\s-]?\\\\d{2}[\\\\s-]?\\\\d{2})?\";\n String LOCAL_PHONE_REGEXP = \"^([\\\\+]\\\\d{2}\\\\s?)?(([\\\\(\\\\s]\\\\d{3}[\\\\)\\\\s])|(\\\\d{3}))?[\\\\s-]?\\\\d{3}[\\\\s-]?\\\\d{3}$\";\n String COMMENT_REGEXP = \"^([\\\\d\\\\s\\\\w\\\\.\\\\,\\\\!]){0,127}$\";\n String GROUP_REGEXP = \"^[А-я]{4,10}$\";\n String SKYPE_NICK_REGEXP = \"^[\\\\w\\\\d\\\\_]{3,20}$\";\n String INDEX_REGEXP = \"^[\\\\d]{8}$\";\n String CITY_STREET_REGEXP = \"^[А-Я][а-я]{3,20}$\";\n String BUILDING_REGEXP = \"^[\\\\d]{1,3}[\\\\w]?$\";\n String FLAT_REGEXP = \"^[\\\\d]{1,3}$\";\n}", "public Builder setRegex(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n\n regex_ = value;\n onChanged();\n return this;\n }", "public Builder setRegex(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n\n regex_ = value;\n onChanged();\n return this;\n }", "public void setRegexStr(java.lang.String regexStr) {\r\n this.regexStr = regexStr;\r\n }", "public String getMatchRegex() {\n return matchRegex;\n }", "String regen();", "public static void main(String[] args) {\n\t\t Pattern p = Pattern.compile(\"(a+)\");\r\n\t\t Matcher m = p.matcher(\"aaaaaba\");\r\n\t\t //System.out.println(m.matches())\r\n\t\t m.find();\t\t \r\n\t\t m.find();\r\n\t\t System.out.println(\"grCount \"+m.groupCount());\t \r\n\t\t MatchResult mr = m.toMatchResult();\r\n\t\t \r\n\t\t System.out.println(m.end());\r\n\t\t System.out.println(\"'\"+mr.group()+\"'\");\r\n\t\t System.out.println(\"start \"+mr.start(1));\r\n\t\t \r\n\t}", "@java.lang.Override\n public java.lang.String getRegex() {\n java.lang.Object ref = regex_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n regex_ = s;\n return s;\n }\n }", "@java.lang.Override\n public java.lang.String getRegex() {\n java.lang.Object ref = regex_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n regex_ = s;\n return s;\n }\n }", "int mo5882g(String str);", "com.google.protobuf.ByteString\n getRegexBytes();", "com.google.protobuf.ByteString\n getRegexBytes();", "@Test\n public void testParseRegexp_correctness1new()\n throws InvalidRegexpException {\n BasicRegexp re = BasicRegexp.parseRegexp(\"(01|10)*1111\");\n assertEquals(re.toString(), \"(01|10)*1111\");\n }", "public void set_isregex(String isregex) throws Exception{\n\t\tthis.isregex = isregex;\n\t}", "public static void main(String[] args) {\r\n\t\t boolean matches_1 = Pattern.matches(\"[a-zA-Z0-9]{4}\", \"0Aa1\");\r\n\t\t boolean matches_2 = Pattern.matches(\"[a-zA-Z0-9]{4}\", \"0A@a1\");\r\n\t\t\t System.out.println(\"Regular Expression is \"+matches_1 +\" for given string(0Aa1)\");\r\n\t\t\t System.out.println(\"Regular Expression is \"+matches_2 +\" for given string(0A@a1)\");\r\n\t}", "public static void main(String[] args) {\n Pattern p = Pattern.compile(\"2*5?$\");\n Matcher m = p.matcher(regex1);\n if (m.matches()) {\n System.out.println(\"YES ¦ \");\n } else {\n System.out.println(\"NO\");\n }\n\n }", "@Override\n\tpublic boolean test(MyRegex t) {\n\t\treturn false;\n\t}", "private String parseRegExp(String exp) throws Exception {\r\n\t\treturn RegexpTranslationHelper.translateANTLRToAutomatonStyle(exp);\r\n\t}", "@Test\n public void testParseRegexp_valid7() throws InvalidRegexpException {\n BasicRegexp re = BasicRegexp.parseRegexp(\"abc*def\");\n assertEquals(re.toString(), \"abc*def\");\n }", "public final String getRegex() {\n\t\treturn JsUtils.getNativePropertyString(this, \"regex\");\n\t}", "public RegexPatternBuilder ()\n {\n this.regex = null;\n }", "private boolean isRegexValid(String string)\n {\n try\n {\n Pattern.compile(string, Pattern.MULTILINE);\n return true;\n }\n catch (PatternSyntaxException e)\n {\n return false;\n }\n }", "public java.lang.Short getRegexMatch() {\r\n return regexMatch;\r\n }", "@Test\n public void testParseRegexp_valid6() throws InvalidRegexpException {\n BasicRegexp re = BasicRegexp.parseRegexp(\"ab(cd(e))ff\");\n assertEquals(re.toString(), \"abcdeff\");\n }", "@Override // kotlin.p2243e.p2244a.AbstractC32522b\n public /* synthetic */ Regex invoke(Integer num) {\n return mo131903a(num.intValue());\n }", "public static TextP regex(final String value) {\n return new TextP(new Text.RegexPredicate(value, false), value);\n }", "public static Term createRegExp(Expression exp) {\r\n\t\tTerm term = Term.function(REGEX, exp);\r\n\t\treturn term;\r\n\t}", "public Pattern getValidStringPattern();", "@Test\r\n public void testRegexp() throws Exception {\n\r\n String a = \"a/b/100/test\";\r\n\r\n Pattern pattern = Pattern.compile(\".+/(\\\\d+)/test\");\r\n\r\n System.out.println(parseIdFromUriPath(a, pattern));\r\n\r\n }", "public static Regex compile(String pattern, int cflags) throws RegexException {\n return new Regex(pattern, REG_EXTENDED | cflags);\n }", "public Expression setRegexTest(Expression exp, Expression test){\r\n\t\tregexExpr.put(exp, test);\r\n\t\tExpression tt = Term.function(Term.TEST);\r\n\t\ttt.setExpr(test);\r\n\t\tExpression seq = sequence(exp, tt);\r\n\t\treturn seq;\r\n\t}", "C11998c mo41092g(String str);", "@Test\n public void contactNumber_WhenValid_ShouldReturnTrue(){\n RegexTest valid = new RegexTest();\n boolean result = valid.contactNumber( \"91 1234567890\");\n Assert.assertEquals(true,result);\n }", "@Test\n public void testDebugPrintBasicRegexp() throws InvalidRegexpException {\n BasicRegexp re1 = BasicRegexp.parseRegexp(\"(01|10)*1111\");\n BasicRegexp.debugPrintBasicRegexp(0, re1);\n }", "@Test\r\n public void testGetRegexp() {\r\n final Regexp re = rs.getRegexp(reString);\r\n assertTrue(rs.hasRegexp(reString));\r\n assertSame(rs.getRegexp(reString), re);\r\n }", "public String checkRegularExpression(String input) {\n String actualResult=\"\";\n String pattern=\".*harry*\";\n boolean value= Pattern.matches(pattern,input);\n actualResult+=\"Is harry there?\"+value;\n return actualResult;\n\n }", "public static void main(String[] args) {\n//\n// String pattern = \"abba\";\n// String s = \"dog cat cat fish\";\n\n\n// String pattern = \"aaaa\";\n// String s = \"dog cat cat dog\";\n\n String pattern = \"abba\";\n String s = \"dog dog dog dog\";\n\n// String pattern = \"e\";\n// String s = \"eukera\";\n\n boolean flag = wordPattern(pattern, s);\n\n System.out.println(flag);\n }", "public RegexGrep(ShellEnvironment env, String[] args) {\n super(env, args);\n this.regex = Pattern.compile(args[0]);\n }", "@Test\n public void wordPatternTest() {\n String pattern = \"aaa\", str = \"aa aa aa aa\";\n boolean ans = instance.wordPattern(pattern, str);\n System.out.println(ans);\n }", "@Test\n public void testParseRegexp_valid1() throws InvalidRegexpException {\n BasicRegexp re = BasicRegexp.parseRegexp(\"\");\n assertEquals(re, null);\n }", "@Test(expected = InvalidRegexpException.class)\n public void testParseRegexp_invalid8() throws Throwable {\n BasicRegexp.parseRegexp(\"()\");\n }", "void mo37759a(String str);", "private static String globToRegex(final String glob) {\n return \"^\" + glob.replace(\".\", \"\\\\.\").replace(\"*\", \".*\") + \"$\";\n }", "void mo12635a(String str);", "com.google.privacy.dlp.v2.CustomInfoType.Regex getRegex();", "public static String toRegex(String param) \r\n\t{\r\n\t\tStringBuffer regex = new StringBuffer();\r\n\t\tfor( int i=0; i < param.length(); i++ ) \r\n\t\t{\r\n\t\t\tchar next = param.charAt( i );\r\n\t\t\t if ('*' == next) regex.append( \".+\" ); // -> multi-character match wild card\r\n\t\t\telse if ('?' == next) regex.append( \".\" ); // -> single-character match wild card\r\n\t\t\telse if ('.' == next) regex.append( \"\\\\.\" ); // all of these are special regex characters we are quoting\r\n\t\t\telse if ('+' == next) regex.append( \"\\\\+\" ); \r\n\t\t\telse if ('$' == next) regex.append( \"\\\\$\" ); \r\n\t\t\telse if ('\\\\' == next) regex.append( \"\\\\\\\\\" ); \r\n\t\t\telse if ('[' == next) regex.append( \"\\\\[\" ); \r\n\t\t\telse if (']' == next) regex.append( \"\\\\]\" ); \r\n\t\t\telse if ('{' == next) regex.append( \"\\\\{\" ); \r\n\t\t\telse if ('}' == next) regex.append( \"\\\\}\" ); \r\n\t\t\telse if ('(' == next) regex.append( \"\\\\(\" ); \r\n\t\t\telse if (')' == next) regex.append( \"\\\\)\" ); \r\n\t\t\telse if ('&' == next) regex.append( \"\\\\&\" ); \r\n\t\t\telse if ('^' == next) regex.append( \"\\\\^\" ); \r\n\t\t\telse if ('-' == next) regex.append( \"\\\\-\" ); \r\n\t\t\telse if ('|' == next) regex.append( \"\\\\|\" ); \r\n\t\t\telse regex.append( next );\r\n\t\t}\r\n\t\t\r\n\t\treturn regex.toString();\r\n\t}", "public GlobFilenameFilter(String regex) {\n super(__CACHE, __MATCHER, regex);\n }", "public static void main(String[] args) {\n// System.out.println(alphanumeric.replaceAll(\"[aei]\", \"x\"));\n\n\n String regex = \"^[A-Z]|[a-z]\";\n String username = \"kaaviya\";\n\n System.out.println(username.replaceAll( \"^[A-Za-z][A-Za-z0-9_]{7,29}$\", \"x\"));\n System.out.println(username.matches(regex));\n\n }", "String mo2801a(String str);", "public com.google.protobuf.ByteString\n getRegexBytes() {\n java.lang.Object ref = regex_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b =\n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n regex_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "public com.google.protobuf.ByteString\n getRegexBytes() {\n java.lang.Object ref = regex_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b =\n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n regex_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "public static Regex compile(String pattern) throws RegexException {\n return compile(pattern, 0);\n }", "public static void main(String[] args) throws Exception {\n String patronA = \"[0-5]\";\n\n // conjunto de letras de \"a\" a \"c\"\n String patronB = \"[a-c]\";\n\n // conjunto de todas las letras minusculas\n String patronC = \"[a-z]\";\n\n // conjunto de numeros\n String patronD = \"[0-9]\";\n\n // ejemplo con tipo de dato string\n String textoAlfanumerico = \"0123aaaa\";\n System.out.println(\"Texto alfanumerico:\" + textoAlfanumerico);\n\n String replace1 = textoAlfanumerico.replaceAll(patronA, \"X\");\n System.out.println(\"Reemplazo de numeros con X: \" + replace1);\n\n String replace2 = textoAlfanumerico.replaceAll(patronB, \"X\");\n System.out.println(\"Reemplazo de letras con X: \" + replace2);\n\n\n //[0-5][a-c];\n //String patronComplejo = patronA + patronB;\n\n //[a-c]*[0-5]*\n //String patronComplejo = patronA + \"*\" + patronB + \"*\";\n\n //\"[a-z]+\"\n\n // + = una coincidencia\n // * = ninguna o muchas\n\n //String patronComplejo = \"(\" + patronA + patronC + \")+\";\n String patronComplejo = \"(\" + patronC + \")+\";\n\n String texto = \"hola, aacc este bbcc es mi 55222aaa texto 2663aaaa blah blah\";\n System.out.println(\"patron complejo:\" + patronComplejo);\n System.out.println(texto);\n\n Pattern pattern = Pattern.compile(patronComplejo);\n Matcher matcher = pattern.matcher(texto);\n\n // buscar ocurrencias\n while (matcher.find()) {\n System.out.println(\"Encontrado:\" + matcher.group());\n }\n\n\n }", "@Test\n public void testOptimise_2() throws InvalidRegexpException {\n BasicRegexp re1 = BasicRegexp.parseRegexp(\"a+++++++++++++++++++++\");\n\n assertEquals(re1.optimise(BasicRegexp.OPTIMISE_ALL, -1).toString(),\n \"a+\");\n }", "public String returnRegex() {\n\t\tString chosenRegex;\n\t\tSystem.out.println(\"selectedRegex value is: \" + selectedRegex);\n\t\tswitch (selectedRegex) {\n\t\tcase 1:\n\t\t\tchosenRegex = \"(\\\\&?\\\\??t=\\\\d*?[h]?\\\\d*[m]?\\\\d*[s]|\\\\&t=\\\\d*)\";\n\t\t\tbreak;\n\t\tcase 2:\n\t\t\tchosenRegex = \"(\\\\&list=[a-zA-Z 0-9 -]+\\\\&?index=?\\\\d+?)\";\n\t\t\tbreak;\n\t\tcase 3:\n\t\t\tchosenRegex = \"(\\\\&feature=youtu.be)\";\n\t\t\tbreak;\n\t\tdefault:\n\t\t\tchosenRegex = \"\\\\?t.*|\\\\&t.*|\\\\&l.*|\\\\&f.*\"; // alternative:\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// (\\\\&?\\\\??t=\\\\d*?[h]?\\\\d*[m]?\\\\d*[s]|\\\\&t=\\\\d*|\\\\&list=[a-zA-Z\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// 0-9 -]*)\n\t\t\tbreak;\n\t\t}\n\t\tSystem.out.println(chosenRegex);\n\t\treturn chosenRegex;\n\t}", "@java.lang.Override\n public com.google.protobuf.ByteString\n getRegexBytes() {\n java.lang.Object ref = regex_;\n if (ref instanceof java.lang.String) {\n com.google.protobuf.ByteString b =\n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n regex_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "@java.lang.Override\n public com.google.protobuf.ByteString\n getRegexBytes() {\n java.lang.Object ref = regex_;\n if (ref instanceof java.lang.String) {\n com.google.protobuf.ByteString b =\n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n regex_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "private static String adaptRegEx(Mode mode, String regex, int flagMask, boolean removeWhitespace)\n throws QueryException {\n StringBuilder sb = new StringBuilder();\n boolean escaped = false;\n boolean groupStart = false;\n int completeGroups = 0;\n int backRef = 0;\n int charClassDepth = 0;\n int groupDepth = 0;\n\n for (char c : regex.toCharArray()) {\n if (escaped) {\n if (backRef == 0 && c == '0') {\n throw new QueryException(ErrorCode.ERR_INVALID_REGULAR_EXPRESSION, \"Reference to group 0 not allowed\");\n } else if (c >= '0' && c <= '9') {\n if (charClassDepth > 0) {\n throw new QueryException(ErrorCode.ERR_INVALID_REGULAR_EXPRESSION,\n \"Back references in character class expressions\" + \" are disallowed.\");\n }\n backRef = backRef * 10 + Integer.parseInt(Character.toString(c));\n continue;\n }\n }\n\n if (backRef > 0) {\n // Check back reference that just ended\n if (backRef > completeGroups) {\n throw new QueryException(ErrorCode.ERR_INVALID_REGULAR_EXPRESSION,\n \"Back reference to nonexisting or unfinished group.\");\n } else {\n backRef = 0;\n escaped = false;\n }\n }\n\n if (c == '\\\\' && !escaped) {\n // Not preceded by backslash\n escaped = true;\n groupStart = false;\n continue;\n }\n\n if (c == '(' && !escaped) {\n groupStart = true;\n groupDepth++;\n escaped = false;\n continue;\n }\n\n if (c == '?' && !escaped && groupStart) {\n throw new QueryException(ErrorCode.ERR_INVALID_REGULAR_EXPRESSION,\n \"Pure groups are not supported in XQuery regular expressions.\");\n } else if (c == ')' && !escaped) {\n if (--groupDepth < 0) {\n throw new QueryException(ErrorCode.ERR_INVALID_REGULAR_EXPRESSION, \"Invalid sequence of brackets.\");\n }\n completeGroups++;\n } else if (c == '[' && !escaped) {\n charClassDepth++;\n } else if (c == ']' && !escaped) {\n if (--charClassDepth < 0) {\n throw new QueryException(ErrorCode.ERR_INVALID_REGULAR_EXPRESSION, \"Invalid sequence of brackets.\");\n }\n } else if (removeWhitespace) {\n // Remove whitespace outside of character classes\n if (charClassDepth == 0 && WHITESPACE.contains(c)) {\n // Don't touch boolean flags\n continue;\n }\n\n sb.append(c);\n }\n\n groupStart = false;\n escaped = false;\n }\n\n // Check for trailing '\\' (only valid with subsequent characters)\n if (escaped && backRef == 0) {\n throw new QueryException(ErrorCode.ERR_INVALID_REGULAR_EXPRESSION, \"Trailing backslash character in pattern.\");\n }\n\n // Check back reference if that was last token in pattern\n if (backRef > 0 && backRef > completeGroups) {\n throw new QueryException(ErrorCode.ERR_INVALID_REGULAR_EXPRESSION,\n \"Back reference to nonexisting or unfinished group.\");\n }\n\n // Check for dangling brackets\n if (charClassDepth != 0 || groupDepth != 0) {\n throw new QueryException(ErrorCode.ERR_INVALID_REGULAR_EXPRESSION, \"Pattern contains dangling brackets.\");\n }\n\n if (!removeWhitespace) {\n sb.append(regex);\n }\n\n if (mode == Mode.MATCH) {\n // Adapt for XQuery substring matching by extending pattern\n if (sb.charAt(0) != '^' || ((flagMask & Pattern.MULTILINE) == Pattern.MULTILINE)) {\n if ((flagMask & Pattern.DOTALL) == Pattern.DOTALL) {\n sb.insert(0, \".*\");\n } else {\n sb.insert(0, \"(?s:.*)\");\n }\n }\n\n if (sb.charAt(sb.length() - 1) != '$' || ((flagMask & Pattern.MULTILINE) == Pattern.MULTILINE)) {\n if ((flagMask & Pattern.DOTALL) == Pattern.DOTALL) {\n sb.append(\".*\");\n } else {\n sb.append(\"(?s:.*)\");\n }\n }\n }\n\n return sb.toString();\n }", "public RegExp anyChar ()\n {\n // FIXME: there is some code duplication here with the parser\n final List <Interval> list = new ArrayList <> ();\n list.add (new Interval (0, CharClasses.maxChar));\n return new RegExp1 (sym.CCLASS, list);\n }", "protected String hookGetRegex() \r\n\t{\n\t\treturn \"\\\\s+\"; \r\n\t}", "private static boolean matchRegex(Pattern regExpression, String filename) {\n\t\tMatcher m = regExpression.matcher(filename);\n\t\tif (m.matches()) {\n\t\t\treturn true;\n\t\t} else {\n\t\t\treturn false;\n\t\t}\n\t}", "RegExConstraint createRegExConstraint();", "public void setRegexMatch(java.lang.Short regexMatch) {\r\n this.regexMatch = regexMatch;\r\n }", "void mo5871a(String str);", "private JBurgPatternMatcher()\n\t{\n\t}", "public final String getPattern() {\n/* 187 */ return this.m_pattern;\n/* */ }", "public String getPattern() {\n\treturn pattern;\n }", "public Regex mo131901a(int i) {\n C32591j jVar = C32645l.m150681b(this.f111785a.m150658d(), i);\n if (jVar.getStart().intValue() < 0) {\n return null;\n }\n String group = this.f111785a.m150658d().group(i);\n C32569u.m150513a((Object) group, \"matchResult.group(index)\");\n return new Regex(group, jVar);\n }", "@Override\n\tpublic void visit(RegExpMatchOperator arg0) {\n\t\t\n\t}", "@Test //TEST FOUR\n void testOneNumberinRabbitName()\n {\n Rabbit_RegEx rabbit_Name = new Rabbit_RegEx();\n rabbit_Name.setRabbitName(\"MO0N\");\n assertFalse(rabbit_Name.getRabbitName().matches(\"[A-Za-z-]*\"));\n }", "private LiteralToken nextRegularExpressionLiteralToken() {\n LiteralToken token = scanner.nextRegularExpressionLiteralToken();\n lastSourcePosition = token.location.end;\n return token;\n }", "public String getPattern() {\r\n \treturn pattern;\r\n }", "public int getPattern() {\n return this.pattern;\n }" ]
[ "0.72026896", "0.68615586", "0.6858206", "0.67436427", "0.6587065", "0.6512296", "0.64326847", "0.6404885", "0.63460666", "0.6331", "0.6291084", "0.6286594", "0.6254456", "0.6238955", "0.6219856", "0.6202358", "0.6189153", "0.61239773", "0.610071", "0.6062738", "0.6032594", "0.59982014", "0.5996874", "0.5924192", "0.59115654", "0.5864164", "0.58572525", "0.58453", "0.58453", "0.5841216", "0.58262175", "0.5814594", "0.5811531", "0.58056986", "0.580481", "0.57985896", "0.5770896", "0.57697666", "0.57547474", "0.5754631", "0.5754291", "0.57499665", "0.57477105", "0.5747135", "0.57377404", "0.5728356", "0.5720464", "0.57105994", "0.569544", "0.5688132", "0.56866807", "0.5680289", "0.5667682", "0.56612164", "0.56564504", "0.5585063", "0.5555574", "0.5529932", "0.55271614", "0.5522922", "0.55216306", "0.5515437", "0.55144066", "0.5475341", "0.54649585", "0.54602605", "0.54552746", "0.5454531", "0.54507446", "0.54498005", "0.54474837", "0.5440438", "0.54248166", "0.54176825", "0.541224", "0.5411842", "0.5410461", "0.54078144", "0.5407357", "0.5399649", "0.53911847", "0.5381891", "0.5381891", "0.53741324", "0.5369898", "0.5353865", "0.53480643", "0.53464174", "0.53416866", "0.5329152", "0.53245693", "0.5322008", "0.5312056", "0.52923334", "0.5292296", "0.5286544", "0.5280226", "0.5259832", "0.5251492" ]
0.7194223
2
string regex = 1;
com.google.protobuf.ByteString getRegexBytes();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getRegex();", "java.lang.String getRegex();", "java.lang.String getRegex();", "public void setRegex (String regex)\n {\n this.regex = regex;\n }", "public String getRegEx();", "public RegExp (final int type)\n {\n this.type = type;\n }", "public RegexPatternBuilder (String regex)\n {\n this.regex = regex;\n }", "public String getRegEx() {\r\n return regex;\r\n }", "public GrammaticaRE(String regex) throws Exception {\n regExp = new RegExp(regex, ignoreCase);\n }", "public final native void setRegex(String regex) /*-{\n\t\tthis.regex = regex;\n\t}-*/;", "@objid (\"d7eead28-9a1c-4037-9797-4868268b54d4\")\n public RegexVerifier(String regex) {\n this.regex = regex;\n }", "public void setRegex(String regex) {\n this.regex = regex;\n }", "public static void TestRegex()\n\t{\n\t String line = \" if( aaa&&(ypbreg))\";\n\t String pattern = \"(&&)\\\\s*\\\\(*\\\\s*!?ypbreg\\\\)*\";\n\t // Create a Pattern object\n\t Pattern r = Pattern.compile(pattern);\n\t System.out.println(line.contains(pattern));\n\t // Now create matcher object.\n\t Matcher m = r.matcher(line);\n\t if (m.find( )) {\n\t // System.out.println(\"Found value: \" + m.group(0) );\n\t int count = m.groupCount();\n\t System.out.println(\"group count is \"+count);\n\t for(int i=0;i<count;i++){\n\t System.out.println(m.group(i));\n\t }\n\t // System.out.println(line.replaceFirst(BregPattern.pEqualTrue1, \"!$1\"));\n\n\t } else {\n\t System.out.println(\"NO MATCH\");\n\t }\n\t}", "public RegularExpression() {\n }", "public interface RegExp {\n String NUMBER_OF_COMPOSITION = \"^[1-2][0-9]|[1-9]$\";\n String BREAK_DATE_BY_DOT = \"[.]\";\n String IDENTIFY_BUMDLE = \"^([E|e][N|n])|[У|у][К|к][Р|р]$\";\n String DURATION = \"^[1-9]|[1-9][0-9]|[1-4][0-9][0-9]$\";\n}", "public java.lang.String getRegexStr() {\r\n return regexStr;\r\n }", "public Pattern regexPattern(String regex) {\n return Pattern.compile(regex);\n }", "@Override\n protected void compileRegex(String regex) {\n }", "protected abstract Regex pattern();", "boolean hasRegex();", "public JavaRE(String regex) throws Exception {\n if (ignoreCase) {\n pattern = Pattern.compile(regex, Pattern.CASE_INSENSITIVE);\n } else {\n pattern = Pattern.compile(regex);\n }\n }", "@Test\n public void testParseRegexp_valid3() throws InvalidRegexpException {\n BasicRegexp re = BasicRegexp.parseRegexp(\"a b c d\");\n assertEquals(re.toString(), \"abcd\");\n }", "private\n\tRegExHelper()\n\t{\n\t\tsuper();\n\t}", "public java.lang.String getRegex() {\n java.lang.Object ref = regex_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n regex_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getRegex() {\n java.lang.Object ref = regex_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n regex_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "@Override\n public boolean isRegex() {\n return false;\n }", "public String get_isregex() throws Exception {\n\t\treturn this.isregex;\n\t}", "public Boolean getbRegex() {\r\n\t\treturn bRegex;\r\n\t}", "public interface RegExp {\n String NAME_REGEXP = \"^[А-Я][а-я]{2,30}$\";\n String AGE_REGEXP = \"^((1[012][0-9])|([1-9][0-9]))$\";\n String EMAIL_REGEXP = \"^[-z0-9_.]{1,30}@([A-z]+[A-z0-9]{1,15}.){1,2}([A-z]+[A-z0-9]{1,15})$\";\n String CELL_PHONE_REGEXP = \"([\\\\+]\\\\d{2}\\\\s?)?(([\\\\(\\\\s]\\\\d{3}[\\\\)\\\\s])|\" +\n \"(\\\\d{3}))[\\\\s-]?\\\\d{3}[\\\\s-]?\\\\d{2}[\\\\s-]?\\\\d{2}$\";\n String CELL_PHONE_OPTIONAL_REGEXP = \"^(([\\\\+]\\\\d{2}\\\\s?)?(([\\\\(\\\\s]\\\\d{3}[\\\\)\\\\s])|\" +\n \"(\\\\d{3}))[\\\\s-]?\\\\d{3}[\\\\s-]?\\\\d{2}[\\\\s-]?\\\\d{2})?\";\n String LOCAL_PHONE_REGEXP = \"^([\\\\+]\\\\d{2}\\\\s?)?(([\\\\(\\\\s]\\\\d{3}[\\\\)\\\\s])|(\\\\d{3}))?[\\\\s-]?\\\\d{3}[\\\\s-]?\\\\d{3}$\";\n String COMMENT_REGEXP = \"^([\\\\d\\\\s\\\\w\\\\.\\\\,\\\\!]){0,127}$\";\n String GROUP_REGEXP = \"^[А-я]{4,10}$\";\n String SKYPE_NICK_REGEXP = \"^[\\\\w\\\\d\\\\_]{3,20}$\";\n String INDEX_REGEXP = \"^[\\\\d]{8}$\";\n String CITY_STREET_REGEXP = \"^[А-Я][а-я]{3,20}$\";\n String BUILDING_REGEXP = \"^[\\\\d]{1,3}[\\\\w]?$\";\n String FLAT_REGEXP = \"^[\\\\d]{1,3}$\";\n}", "public Builder setRegex(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n\n regex_ = value;\n onChanged();\n return this;\n }", "public Builder setRegex(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n\n regex_ = value;\n onChanged();\n return this;\n }", "public void setRegexStr(java.lang.String regexStr) {\r\n this.regexStr = regexStr;\r\n }", "public String getMatchRegex() {\n return matchRegex;\n }", "String regen();", "public static void main(String[] args) {\n\t\t Pattern p = Pattern.compile(\"(a+)\");\r\n\t\t Matcher m = p.matcher(\"aaaaaba\");\r\n\t\t //System.out.println(m.matches())\r\n\t\t m.find();\t\t \r\n\t\t m.find();\r\n\t\t System.out.println(\"grCount \"+m.groupCount());\t \r\n\t\t MatchResult mr = m.toMatchResult();\r\n\t\t \r\n\t\t System.out.println(m.end());\r\n\t\t System.out.println(\"'\"+mr.group()+\"'\");\r\n\t\t System.out.println(\"start \"+mr.start(1));\r\n\t\t \r\n\t}", "@java.lang.Override\n public java.lang.String getRegex() {\n java.lang.Object ref = regex_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n regex_ = s;\n return s;\n }\n }", "@java.lang.Override\n public java.lang.String getRegex() {\n java.lang.Object ref = regex_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n regex_ = s;\n return s;\n }\n }", "int mo5882g(String str);", "@Test\n public void testParseRegexp_correctness1new()\n throws InvalidRegexpException {\n BasicRegexp re = BasicRegexp.parseRegexp(\"(01|10)*1111\");\n assertEquals(re.toString(), \"(01|10)*1111\");\n }", "public void set_isregex(String isregex) throws Exception{\n\t\tthis.isregex = isregex;\n\t}", "public static void main(String[] args) {\r\n\t\t boolean matches_1 = Pattern.matches(\"[a-zA-Z0-9]{4}\", \"0Aa1\");\r\n\t\t boolean matches_2 = Pattern.matches(\"[a-zA-Z0-9]{4}\", \"0A@a1\");\r\n\t\t\t System.out.println(\"Regular Expression is \"+matches_1 +\" for given string(0Aa1)\");\r\n\t\t\t System.out.println(\"Regular Expression is \"+matches_2 +\" for given string(0A@a1)\");\r\n\t}", "public static void main(String[] args) {\n Pattern p = Pattern.compile(\"2*5?$\");\n Matcher m = p.matcher(regex1);\n if (m.matches()) {\n System.out.println(\"YES ¦ \");\n } else {\n System.out.println(\"NO\");\n }\n\n }", "@Override\n\tpublic boolean test(MyRegex t) {\n\t\treturn false;\n\t}", "private String parseRegExp(String exp) throws Exception {\r\n\t\treturn RegexpTranslationHelper.translateANTLRToAutomatonStyle(exp);\r\n\t}", "@Test\n public void testParseRegexp_valid7() throws InvalidRegexpException {\n BasicRegexp re = BasicRegexp.parseRegexp(\"abc*def\");\n assertEquals(re.toString(), \"abc*def\");\n }", "public final String getRegex() {\n\t\treturn JsUtils.getNativePropertyString(this, \"regex\");\n\t}", "public RegexPatternBuilder ()\n {\n this.regex = null;\n }", "private boolean isRegexValid(String string)\n {\n try\n {\n Pattern.compile(string, Pattern.MULTILINE);\n return true;\n }\n catch (PatternSyntaxException e)\n {\n return false;\n }\n }", "public java.lang.Short getRegexMatch() {\r\n return regexMatch;\r\n }", "@Test\n public void testParseRegexp_valid6() throws InvalidRegexpException {\n BasicRegexp re = BasicRegexp.parseRegexp(\"ab(cd(e))ff\");\n assertEquals(re.toString(), \"abcdeff\");\n }", "@Override // kotlin.p2243e.p2244a.AbstractC32522b\n public /* synthetic */ Regex invoke(Integer num) {\n return mo131903a(num.intValue());\n }", "public static TextP regex(final String value) {\n return new TextP(new Text.RegexPredicate(value, false), value);\n }", "public static Term createRegExp(Expression exp) {\r\n\t\tTerm term = Term.function(REGEX, exp);\r\n\t\treturn term;\r\n\t}", "public Pattern getValidStringPattern();", "@Test\r\n public void testRegexp() throws Exception {\n\r\n String a = \"a/b/100/test\";\r\n\r\n Pattern pattern = Pattern.compile(\".+/(\\\\d+)/test\");\r\n\r\n System.out.println(parseIdFromUriPath(a, pattern));\r\n\r\n }", "public static Regex compile(String pattern, int cflags) throws RegexException {\n return new Regex(pattern, REG_EXTENDED | cflags);\n }", "public Expression setRegexTest(Expression exp, Expression test){\r\n\t\tregexExpr.put(exp, test);\r\n\t\tExpression tt = Term.function(Term.TEST);\r\n\t\ttt.setExpr(test);\r\n\t\tExpression seq = sequence(exp, tt);\r\n\t\treturn seq;\r\n\t}", "C11998c mo41092g(String str);", "@Test\n public void contactNumber_WhenValid_ShouldReturnTrue(){\n RegexTest valid = new RegexTest();\n boolean result = valid.contactNumber( \"91 1234567890\");\n Assert.assertEquals(true,result);\n }", "@Test\n public void testDebugPrintBasicRegexp() throws InvalidRegexpException {\n BasicRegexp re1 = BasicRegexp.parseRegexp(\"(01|10)*1111\");\n BasicRegexp.debugPrintBasicRegexp(0, re1);\n }", "@Test\r\n public void testGetRegexp() {\r\n final Regexp re = rs.getRegexp(reString);\r\n assertTrue(rs.hasRegexp(reString));\r\n assertSame(rs.getRegexp(reString), re);\r\n }", "public String checkRegularExpression(String input) {\n String actualResult=\"\";\n String pattern=\".*harry*\";\n boolean value= Pattern.matches(pattern,input);\n actualResult+=\"Is harry there?\"+value;\n return actualResult;\n\n }", "public static void main(String[] args) {\n//\n// String pattern = \"abba\";\n// String s = \"dog cat cat fish\";\n\n\n// String pattern = \"aaaa\";\n// String s = \"dog cat cat dog\";\n\n String pattern = \"abba\";\n String s = \"dog dog dog dog\";\n\n// String pattern = \"e\";\n// String s = \"eukera\";\n\n boolean flag = wordPattern(pattern, s);\n\n System.out.println(flag);\n }", "public RegexGrep(ShellEnvironment env, String[] args) {\n super(env, args);\n this.regex = Pattern.compile(args[0]);\n }", "@Test\n public void wordPatternTest() {\n String pattern = \"aaa\", str = \"aa aa aa aa\";\n boolean ans = instance.wordPattern(pattern, str);\n System.out.println(ans);\n }", "@Test\n public void testParseRegexp_valid1() throws InvalidRegexpException {\n BasicRegexp re = BasicRegexp.parseRegexp(\"\");\n assertEquals(re, null);\n }", "@Test(expected = InvalidRegexpException.class)\n public void testParseRegexp_invalid8() throws Throwable {\n BasicRegexp.parseRegexp(\"()\");\n }", "void mo37759a(String str);", "private static String globToRegex(final String glob) {\n return \"^\" + glob.replace(\".\", \"\\\\.\").replace(\"*\", \".*\") + \"$\";\n }", "void mo12635a(String str);", "com.google.privacy.dlp.v2.CustomInfoType.Regex getRegex();", "public static String toRegex(String param) \r\n\t{\r\n\t\tStringBuffer regex = new StringBuffer();\r\n\t\tfor( int i=0; i < param.length(); i++ ) \r\n\t\t{\r\n\t\t\tchar next = param.charAt( i );\r\n\t\t\t if ('*' == next) regex.append( \".+\" ); // -> multi-character match wild card\r\n\t\t\telse if ('?' == next) regex.append( \".\" ); // -> single-character match wild card\r\n\t\t\telse if ('.' == next) regex.append( \"\\\\.\" ); // all of these are special regex characters we are quoting\r\n\t\t\telse if ('+' == next) regex.append( \"\\\\+\" ); \r\n\t\t\telse if ('$' == next) regex.append( \"\\\\$\" ); \r\n\t\t\telse if ('\\\\' == next) regex.append( \"\\\\\\\\\" ); \r\n\t\t\telse if ('[' == next) regex.append( \"\\\\[\" ); \r\n\t\t\telse if (']' == next) regex.append( \"\\\\]\" ); \r\n\t\t\telse if ('{' == next) regex.append( \"\\\\{\" ); \r\n\t\t\telse if ('}' == next) regex.append( \"\\\\}\" ); \r\n\t\t\telse if ('(' == next) regex.append( \"\\\\(\" ); \r\n\t\t\telse if (')' == next) regex.append( \"\\\\)\" ); \r\n\t\t\telse if ('&' == next) regex.append( \"\\\\&\" ); \r\n\t\t\telse if ('^' == next) regex.append( \"\\\\^\" ); \r\n\t\t\telse if ('-' == next) regex.append( \"\\\\-\" ); \r\n\t\t\telse if ('|' == next) regex.append( \"\\\\|\" ); \r\n\t\t\telse regex.append( next );\r\n\t\t}\r\n\t\t\r\n\t\treturn regex.toString();\r\n\t}", "public GlobFilenameFilter(String regex) {\n super(__CACHE, __MATCHER, regex);\n }", "public static void main(String[] args) {\n// System.out.println(alphanumeric.replaceAll(\"[aei]\", \"x\"));\n\n\n String regex = \"^[A-Z]|[a-z]\";\n String username = \"kaaviya\";\n\n System.out.println(username.replaceAll( \"^[A-Za-z][A-Za-z0-9_]{7,29}$\", \"x\"));\n System.out.println(username.matches(regex));\n\n }", "String mo2801a(String str);", "public com.google.protobuf.ByteString\n getRegexBytes() {\n java.lang.Object ref = regex_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b =\n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n regex_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "public com.google.protobuf.ByteString\n getRegexBytes() {\n java.lang.Object ref = regex_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b =\n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n regex_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "public static Regex compile(String pattern) throws RegexException {\n return compile(pattern, 0);\n }", "public static void main(String[] args) throws Exception {\n String patronA = \"[0-5]\";\n\n // conjunto de letras de \"a\" a \"c\"\n String patronB = \"[a-c]\";\n\n // conjunto de todas las letras minusculas\n String patronC = \"[a-z]\";\n\n // conjunto de numeros\n String patronD = \"[0-9]\";\n\n // ejemplo con tipo de dato string\n String textoAlfanumerico = \"0123aaaa\";\n System.out.println(\"Texto alfanumerico:\" + textoAlfanumerico);\n\n String replace1 = textoAlfanumerico.replaceAll(patronA, \"X\");\n System.out.println(\"Reemplazo de numeros con X: \" + replace1);\n\n String replace2 = textoAlfanumerico.replaceAll(patronB, \"X\");\n System.out.println(\"Reemplazo de letras con X: \" + replace2);\n\n\n //[0-5][a-c];\n //String patronComplejo = patronA + patronB;\n\n //[a-c]*[0-5]*\n //String patronComplejo = patronA + \"*\" + patronB + \"*\";\n\n //\"[a-z]+\"\n\n // + = una coincidencia\n // * = ninguna o muchas\n\n //String patronComplejo = \"(\" + patronA + patronC + \")+\";\n String patronComplejo = \"(\" + patronC + \")+\";\n\n String texto = \"hola, aacc este bbcc es mi 55222aaa texto 2663aaaa blah blah\";\n System.out.println(\"patron complejo:\" + patronComplejo);\n System.out.println(texto);\n\n Pattern pattern = Pattern.compile(patronComplejo);\n Matcher matcher = pattern.matcher(texto);\n\n // buscar ocurrencias\n while (matcher.find()) {\n System.out.println(\"Encontrado:\" + matcher.group());\n }\n\n\n }", "@Test\n public void testOptimise_2() throws InvalidRegexpException {\n BasicRegexp re1 = BasicRegexp.parseRegexp(\"a+++++++++++++++++++++\");\n\n assertEquals(re1.optimise(BasicRegexp.OPTIMISE_ALL, -1).toString(),\n \"a+\");\n }", "public String returnRegex() {\n\t\tString chosenRegex;\n\t\tSystem.out.println(\"selectedRegex value is: \" + selectedRegex);\n\t\tswitch (selectedRegex) {\n\t\tcase 1:\n\t\t\tchosenRegex = \"(\\\\&?\\\\??t=\\\\d*?[h]?\\\\d*[m]?\\\\d*[s]|\\\\&t=\\\\d*)\";\n\t\t\tbreak;\n\t\tcase 2:\n\t\t\tchosenRegex = \"(\\\\&list=[a-zA-Z 0-9 -]+\\\\&?index=?\\\\d+?)\";\n\t\t\tbreak;\n\t\tcase 3:\n\t\t\tchosenRegex = \"(\\\\&feature=youtu.be)\";\n\t\t\tbreak;\n\t\tdefault:\n\t\t\tchosenRegex = \"\\\\?t.*|\\\\&t.*|\\\\&l.*|\\\\&f.*\"; // alternative:\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// (\\\\&?\\\\??t=\\\\d*?[h]?\\\\d*[m]?\\\\d*[s]|\\\\&t=\\\\d*|\\\\&list=[a-zA-Z\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// 0-9 -]*)\n\t\t\tbreak;\n\t\t}\n\t\tSystem.out.println(chosenRegex);\n\t\treturn chosenRegex;\n\t}", "@java.lang.Override\n public com.google.protobuf.ByteString\n getRegexBytes() {\n java.lang.Object ref = regex_;\n if (ref instanceof java.lang.String) {\n com.google.protobuf.ByteString b =\n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n regex_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "@java.lang.Override\n public com.google.protobuf.ByteString\n getRegexBytes() {\n java.lang.Object ref = regex_;\n if (ref instanceof java.lang.String) {\n com.google.protobuf.ByteString b =\n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n regex_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "private static String adaptRegEx(Mode mode, String regex, int flagMask, boolean removeWhitespace)\n throws QueryException {\n StringBuilder sb = new StringBuilder();\n boolean escaped = false;\n boolean groupStart = false;\n int completeGroups = 0;\n int backRef = 0;\n int charClassDepth = 0;\n int groupDepth = 0;\n\n for (char c : regex.toCharArray()) {\n if (escaped) {\n if (backRef == 0 && c == '0') {\n throw new QueryException(ErrorCode.ERR_INVALID_REGULAR_EXPRESSION, \"Reference to group 0 not allowed\");\n } else if (c >= '0' && c <= '9') {\n if (charClassDepth > 0) {\n throw new QueryException(ErrorCode.ERR_INVALID_REGULAR_EXPRESSION,\n \"Back references in character class expressions\" + \" are disallowed.\");\n }\n backRef = backRef * 10 + Integer.parseInt(Character.toString(c));\n continue;\n }\n }\n\n if (backRef > 0) {\n // Check back reference that just ended\n if (backRef > completeGroups) {\n throw new QueryException(ErrorCode.ERR_INVALID_REGULAR_EXPRESSION,\n \"Back reference to nonexisting or unfinished group.\");\n } else {\n backRef = 0;\n escaped = false;\n }\n }\n\n if (c == '\\\\' && !escaped) {\n // Not preceded by backslash\n escaped = true;\n groupStart = false;\n continue;\n }\n\n if (c == '(' && !escaped) {\n groupStart = true;\n groupDepth++;\n escaped = false;\n continue;\n }\n\n if (c == '?' && !escaped && groupStart) {\n throw new QueryException(ErrorCode.ERR_INVALID_REGULAR_EXPRESSION,\n \"Pure groups are not supported in XQuery regular expressions.\");\n } else if (c == ')' && !escaped) {\n if (--groupDepth < 0) {\n throw new QueryException(ErrorCode.ERR_INVALID_REGULAR_EXPRESSION, \"Invalid sequence of brackets.\");\n }\n completeGroups++;\n } else if (c == '[' && !escaped) {\n charClassDepth++;\n } else if (c == ']' && !escaped) {\n if (--charClassDepth < 0) {\n throw new QueryException(ErrorCode.ERR_INVALID_REGULAR_EXPRESSION, \"Invalid sequence of brackets.\");\n }\n } else if (removeWhitespace) {\n // Remove whitespace outside of character classes\n if (charClassDepth == 0 && WHITESPACE.contains(c)) {\n // Don't touch boolean flags\n continue;\n }\n\n sb.append(c);\n }\n\n groupStart = false;\n escaped = false;\n }\n\n // Check for trailing '\\' (only valid with subsequent characters)\n if (escaped && backRef == 0) {\n throw new QueryException(ErrorCode.ERR_INVALID_REGULAR_EXPRESSION, \"Trailing backslash character in pattern.\");\n }\n\n // Check back reference if that was last token in pattern\n if (backRef > 0 && backRef > completeGroups) {\n throw new QueryException(ErrorCode.ERR_INVALID_REGULAR_EXPRESSION,\n \"Back reference to nonexisting or unfinished group.\");\n }\n\n // Check for dangling brackets\n if (charClassDepth != 0 || groupDepth != 0) {\n throw new QueryException(ErrorCode.ERR_INVALID_REGULAR_EXPRESSION, \"Pattern contains dangling brackets.\");\n }\n\n if (!removeWhitespace) {\n sb.append(regex);\n }\n\n if (mode == Mode.MATCH) {\n // Adapt for XQuery substring matching by extending pattern\n if (sb.charAt(0) != '^' || ((flagMask & Pattern.MULTILINE) == Pattern.MULTILINE)) {\n if ((flagMask & Pattern.DOTALL) == Pattern.DOTALL) {\n sb.insert(0, \".*\");\n } else {\n sb.insert(0, \"(?s:.*)\");\n }\n }\n\n if (sb.charAt(sb.length() - 1) != '$' || ((flagMask & Pattern.MULTILINE) == Pattern.MULTILINE)) {\n if ((flagMask & Pattern.DOTALL) == Pattern.DOTALL) {\n sb.append(\".*\");\n } else {\n sb.append(\"(?s:.*)\");\n }\n }\n }\n\n return sb.toString();\n }", "public RegExp anyChar ()\n {\n // FIXME: there is some code duplication here with the parser\n final List <Interval> list = new ArrayList <> ();\n list.add (new Interval (0, CharClasses.maxChar));\n return new RegExp1 (sym.CCLASS, list);\n }", "protected String hookGetRegex() \r\n\t{\n\t\treturn \"\\\\s+\"; \r\n\t}", "private static boolean matchRegex(Pattern regExpression, String filename) {\n\t\tMatcher m = regExpression.matcher(filename);\n\t\tif (m.matches()) {\n\t\t\treturn true;\n\t\t} else {\n\t\t\treturn false;\n\t\t}\n\t}", "RegExConstraint createRegExConstraint();", "public void setRegexMatch(java.lang.Short regexMatch) {\r\n this.regexMatch = regexMatch;\r\n }", "void mo5871a(String str);", "private JBurgPatternMatcher()\n\t{\n\t}", "public final String getPattern() {\n/* 187 */ return this.m_pattern;\n/* */ }", "public String getPattern() {\n\treturn pattern;\n }", "public Regex mo131901a(int i) {\n C32591j jVar = C32645l.m150681b(this.f111785a.m150658d(), i);\n if (jVar.getStart().intValue() < 0) {\n return null;\n }\n String group = this.f111785a.m150658d().group(i);\n C32569u.m150513a((Object) group, \"matchResult.group(index)\");\n return new Regex(group, jVar);\n }", "@Override\n\tpublic void visit(RegExpMatchOperator arg0) {\n\t\t\n\t}", "@Test //TEST FOUR\n void testOneNumberinRabbitName()\n {\n Rabbit_RegEx rabbit_Name = new Rabbit_RegEx();\n rabbit_Name.setRabbitName(\"MO0N\");\n assertFalse(rabbit_Name.getRabbitName().matches(\"[A-Za-z-]*\"));\n }", "private LiteralToken nextRegularExpressionLiteralToken() {\n LiteralToken token = scanner.nextRegularExpressionLiteralToken();\n lastSourcePosition = token.location.end;\n return token;\n }", "public String getPattern() {\r\n \treturn pattern;\r\n }", "public int getPattern() {\n return this.pattern;\n }" ]
[ "0.72026896", "0.7194223", "0.7194223", "0.68615586", "0.6858206", "0.67436427", "0.6587065", "0.6512296", "0.64326847", "0.6404885", "0.63460666", "0.6331", "0.6291084", "0.6286594", "0.6254456", "0.6238955", "0.6219856", "0.6202358", "0.6189153", "0.61239773", "0.610071", "0.6062738", "0.6032594", "0.59982014", "0.5996874", "0.5924192", "0.59115654", "0.5864164", "0.58572525", "0.58453", "0.58453", "0.5841216", "0.58262175", "0.5814594", "0.5811531", "0.58056986", "0.580481", "0.57985896", "0.57547474", "0.5754631", "0.5754291", "0.57499665", "0.57477105", "0.5747135", "0.57377404", "0.5728356", "0.5720464", "0.57105994", "0.569544", "0.5688132", "0.56866807", "0.5680289", "0.5667682", "0.56612164", "0.56564504", "0.5585063", "0.5555574", "0.5529932", "0.55271614", "0.5522922", "0.55216306", "0.5515437", "0.55144066", "0.5475341", "0.54649585", "0.54602605", "0.54552746", "0.5454531", "0.54507446", "0.54498005", "0.54474837", "0.5440438", "0.54248166", "0.54176825", "0.541224", "0.5411842", "0.5410461", "0.54078144", "0.5407357", "0.5399649", "0.53911847", "0.5381891", "0.5381891", "0.53741324", "0.5369898", "0.5353865", "0.53480643", "0.53464174", "0.53416866", "0.5329152", "0.53245693", "0.5322008", "0.5312056", "0.52923334", "0.5292296", "0.5286544", "0.5280226", "0.5259832", "0.5251492" ]
0.5770896
38
Use LocalSearchRequest.newBuilder() to construct.
private LocalSearchRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { super(builder); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "entities.Torrent.LocalSearchRequestOrBuilder getLocalSearchRequestOrBuilder();", "public entities.Torrent.LocalSearchRequestOrBuilder getLocalSearchRequestOrBuilder() {\n if (localSearchRequestBuilder_ != null) {\n return localSearchRequestBuilder_.getMessageOrBuilder();\n } else {\n return localSearchRequest_ == null ?\n entities.Torrent.LocalSearchRequest.getDefaultInstance() : localSearchRequest_;\n }\n }", "public Builder setLocalSearchRequest(entities.Torrent.LocalSearchRequest value) {\n if (localSearchRequestBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n localSearchRequest_ = value;\n onChanged();\n } else {\n localSearchRequestBuilder_.setMessage(value);\n }\n\n return this;\n }", "@java.lang.Override\n public entities.Torrent.LocalSearchRequestOrBuilder getLocalSearchRequestOrBuilder() {\n return getLocalSearchRequest();\n }", "public entities.Torrent.LocalSearchRequest getLocalSearchRequest() {\n if (localSearchRequestBuilder_ == null) {\n return localSearchRequest_ == null ? entities.Torrent.LocalSearchRequest.getDefaultInstance() : localSearchRequest_;\n } else {\n return localSearchRequestBuilder_.getMessage();\n }\n }", "@java.lang.Override\n public entities.Torrent.LocalSearchRequest getLocalSearchRequest() {\n return localSearchRequest_ == null ? entities.Torrent.LocalSearchRequest.getDefaultInstance() : localSearchRequest_;\n }", "public Builder mergeLocalSearchRequest(entities.Torrent.LocalSearchRequest value) {\n if (localSearchRequestBuilder_ == null) {\n if (localSearchRequest_ != null) {\n localSearchRequest_ =\n entities.Torrent.LocalSearchRequest.newBuilder(localSearchRequest_).mergeFrom(value).buildPartial();\n } else {\n localSearchRequest_ = value;\n }\n onChanged();\n } else {\n localSearchRequestBuilder_.mergeFrom(value);\n }\n\n return this;\n }", "entities.Torrent.LocalSearchResponseOrBuilder getLocalSearchResponseOrBuilder();", "entities.Torrent.LocalSearchRequest getLocalSearchRequest();", "public entities.Torrent.LocalSearchRequest.Builder getLocalSearchRequestBuilder() {\n\n onChanged();\n return getLocalSearchRequestFieldBuilder().getBuilder();\n }", "private LocalSearchResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "private com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.LocalSearchRequest, entities.Torrent.LocalSearchRequest.Builder, entities.Torrent.LocalSearchRequestOrBuilder>\n getLocalSearchRequestFieldBuilder() {\n if (localSearchRequestBuilder_ == null) {\n localSearchRequestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.LocalSearchRequest, entities.Torrent.LocalSearchRequest.Builder, entities.Torrent.LocalSearchRequestOrBuilder>(\n getLocalSearchRequest(),\n getParentForChildren(),\n isClean());\n localSearchRequest_ = null;\n }\n return localSearchRequestBuilder_;\n }", "public Builder setLocalSearchRequest(\n entities.Torrent.LocalSearchRequest.Builder builderForValue) {\n if (localSearchRequestBuilder_ == null) {\n localSearchRequest_ = builderForValue.build();\n onChanged();\n } else {\n localSearchRequestBuilder_.setMessage(builderForValue.build());\n }\n\n return this;\n }", "public entities.Torrent.LocalSearchResponse.Builder getLocalSearchResponseBuilder() {\n\n onChanged();\n return getLocalSearchResponseFieldBuilder().getBuilder();\n }", "@java.lang.Override\n public entities.Torrent.LocalSearchResponseOrBuilder getLocalSearchResponseOrBuilder() {\n return getLocalSearchResponse();\n }", "public entities.Torrent.LocalSearchResponseOrBuilder getLocalSearchResponseOrBuilder() {\n if (localSearchResponseBuilder_ != null) {\n return localSearchResponseBuilder_.getMessageOrBuilder();\n } else {\n return localSearchResponse_ == null ?\n entities.Torrent.LocalSearchResponse.getDefaultInstance() : localSearchResponse_;\n }\n }", "entities.Torrent.SearchRequestOrBuilder getSearchRequestOrBuilder();", "public Builder clearLocalSearchRequest() {\n if (localSearchRequestBuilder_ == null) {\n localSearchRequest_ = null;\n onChanged();\n } else {\n localSearchRequest_ = null;\n localSearchRequestBuilder_ = null;\n }\n\n return this;\n }", "private SearchRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "public Builder setLocalSearchResponse(entities.Torrent.LocalSearchResponse value) {\n if (localSearchResponseBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n localSearchResponse_ = value;\n onChanged();\n } else {\n localSearchResponseBuilder_.setMessage(value);\n }\n\n return this;\n }", "public entities.Torrent.LocalSearchResponse getLocalSearchResponse() {\n if (localSearchResponseBuilder_ == null) {\n return localSearchResponse_ == null ? entities.Torrent.LocalSearchResponse.getDefaultInstance() : localSearchResponse_;\n } else {\n return localSearchResponseBuilder_.getMessage();\n }\n }", "public Builder mergeLocalSearchResponse(entities.Torrent.LocalSearchResponse value) {\n if (localSearchResponseBuilder_ == null) {\n if (localSearchResponse_ != null) {\n localSearchResponse_ =\n entities.Torrent.LocalSearchResponse.newBuilder(localSearchResponse_).mergeFrom(value).buildPartial();\n } else {\n localSearchResponse_ = value;\n }\n onChanged();\n } else {\n localSearchResponseBuilder_.mergeFrom(value);\n }\n\n return this;\n }", "entities.Torrent.LocalSearchResponse getLocalSearchResponse();", "public SearchResponse search(SearchRequest request) throws SearchServiceException;", "public Builder setSearchRequest(entities.Torrent.SearchRequest value) {\n if (searchRequestBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n searchRequest_ = value;\n onChanged();\n } else {\n searchRequestBuilder_.setMessage(value);\n }\n\n return this;\n }", "boolean hasLocalSearchRequest();", "public NaturalLanguageSearchRequest(String query) throws IllegalArgumentException {\n if (query == null) {\n throw new IllegalArgumentException(\"query is required\");\n }\n\n this.query = query;\n this.section = \"Products\";\n this.page = 1;\n this.resultsPerPage = 30;\n }", "public Builder mergeSearchRequest(entities.Torrent.SearchRequest value) {\n if (searchRequestBuilder_ == null) {\n if (searchRequest_ != null) {\n searchRequest_ =\n entities.Torrent.SearchRequest.newBuilder(searchRequest_).mergeFrom(value).buildPartial();\n } else {\n searchRequest_ = value;\n }\n onChanged();\n } else {\n searchRequestBuilder_.mergeFrom(value);\n }\n\n return this;\n }", "@java.lang.Override\n public com.clarifai.grpc.api.SearchOrBuilder getSearchOrBuilder() {\n if (inputSourceCase_ == 10) {\n return (com.clarifai.grpc.api.Search) inputSource_;\n }\n return com.clarifai.grpc.api.Search.getDefaultInstance();\n }", "entities.Torrent.SearchRequest getSearchRequest();", "public entities.Torrent.SearchRequestOrBuilder getSearchRequestOrBuilder() {\n if (searchRequestBuilder_ != null) {\n return searchRequestBuilder_.getMessageOrBuilder();\n } else {\n return searchRequest_ == null ?\n entities.Torrent.SearchRequest.getDefaultInstance() : searchRequest_;\n }\n }", "public entities.Torrent.SearchRequest getSearchRequest() {\n if (searchRequestBuilder_ == null) {\n return searchRequest_ == null ? entities.Torrent.SearchRequest.getDefaultInstance() : searchRequest_;\n } else {\n return searchRequestBuilder_.getMessage();\n }\n }", "@java.lang.Override\n public entities.Torrent.LocalSearchResponse getLocalSearchResponse() {\n return localSearchResponse_ == null ? entities.Torrent.LocalSearchResponse.getDefaultInstance() : localSearchResponse_;\n }", "@Override\n public LocalSearchManager getLocalSearchManager() {\n return _ls;\n }", "private QueryLocalUser(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "private QueryLocalUserList(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "TSearchQuery createSearchQuery(SearchQueryDefinitionAPI searchQueryDefinition);", "@java.lang.Override\n public com.clarifai.grpc.api.SearchOrBuilder getSearchOrBuilder() {\n if ((inputSourceCase_ == 10) && (searchBuilder_ != null)) {\n return searchBuilder_.getMessageOrBuilder();\n } else {\n if (inputSourceCase_ == 10) {\n return (com.clarifai.grpc.api.Search) inputSource_;\n }\n return com.clarifai.grpc.api.Search.getDefaultInstance();\n }\n }", "public Builder setSearch(com.clarifai.grpc.api.Search value) {\n if (searchBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n inputSource_ = value;\n onChanged();\n } else {\n searchBuilder_.setMessage(value);\n }\n inputSourceCase_ = 10;\n return this;\n }", "public boolean hasLocalSearchRequest() {\n return localSearchRequestBuilder_ != null || localSearchRequest_ != null;\n }", "@java.lang.Override\n public com.clarifai.grpc.api.Search getSearch() {\n if (inputSourceCase_ == 10) {\n return (com.clarifai.grpc.api.Search) inputSource_;\n }\n return com.clarifai.grpc.api.Search.getDefaultInstance();\n }", "SearchResponse search(SearchRequest searchRequest) throws IOException;", "@java.lang.Override\n public entities.Torrent.SearchRequestOrBuilder getSearchRequestOrBuilder() {\n return getSearchRequest();\n }", "public Builder clearLocalSearchResponse() {\n if (localSearchResponseBuilder_ == null) {\n localSearchResponse_ = null;\n onChanged();\n } else {\n localSearchResponse_ = null;\n localSearchResponseBuilder_ = null;\n }\n\n return this;\n }", "public Builder setLocalSearchResponse(\n entities.Torrent.LocalSearchResponse.Builder builderForValue) {\n if (localSearchResponseBuilder_ == null) {\n localSearchResponse_ = builderForValue.build();\n onChanged();\n } else {\n localSearchResponseBuilder_.setMessage(builderForValue.build());\n }\n\n return this;\n }", "SearchResponse query(SearchRequest request, Map<SearchParam, String> params);", "public VehicleSearchRequest createSearchVechicle() {\r\n\r\n\t\tVehicleSearchRequest searchRequest = new VehicleSearchRequest();\r\n\r\n\t\tif (StringUtils.isBlank(searchLocation)) {\r\n\t\t\tsearchRequest.setLocation(DefaultValues.LOCATION_DEFAULT.getDef());\r\n\t\t} else {\r\n\t\t\tsearchRequest.setLocation(searchLocation);\r\n\t\t}\r\n\r\n\t\tif (StringUtils.isBlank(searchVehicleType)) {\r\n\t\t\tsearchRequest.setVehicleType(VehicleType.getEnum(DefaultValues.VEHICLE_TYPE_DEFAULT.getDef()));\r\n\t\t} else {\r\n\t\t\tsearchRequest.setVehicleType(VehicleType.getEnum(searchVehicleType));\r\n\t\t}\r\n\r\n\t\tif (StringUtils.isBlank(searchFin)) {\r\n\t\t\tsearchRequest.setFin(DefaultValues.FIN_DEFAULT.getDef());\r\n\t\t} else {\r\n\t\t\tsearchRequest.setFin(searchFin);\r\n\t\t}\r\n\r\n\t\tif (StringUtils.isBlank(searchModel)) {\r\n\t\t\tsearchRequest.setModel(DefaultValues.MODEL_DEFAULT.getDef());\r\n\t\t} else {\r\n\t\t\tsearchRequest.setModel(searchModel);\r\n\t\t}\r\n\r\n\t\tif (StringUtils.isBlank(searchFuelType)) {\r\n\t\t\tsearchRequest.setFuelType(FuelType.DEFAULT);\r\n\t\t} else {\r\n\t\t\tsearchRequest.setFuelType(FuelType.getEnum(searchFuelType));\r\n\t\t}\r\n\r\n\t\tif (searchMaxCapacity == 0) {\r\n\t\t\tsearchRequest.setMaxCapacity(DefaultValues.MAX_CAPACITY_DEFAULT.getDefValue());\r\n\t\t} else {\r\n\t\t\tsearchRequest.setMaxCapacity(searchMaxCapacity);\r\n\t\t}\r\n\r\n\t\tif (searchMinCapacity == 0) {\r\n\t\t\tsearchRequest.setMinCapacity(DefaultValues.MIN_CAPACITY_DEFAULT.getDefValue());\r\n\t\t} else {\r\n\t\t\tsearchRequest.setMinCapacity(searchMinCapacity);\r\n\t\t}\r\n\r\n\t\tif (searchMinYear == 0) {\r\n\t\t\tsearchRequest.setMinYear(DefaultValues.MIN_YEAR_DEFAULT.getDefValue());\r\n\t\t} else {\r\n\t\t\tsearchRequest.setMinYear(searchMinYear);\r\n\t\t}\r\n\r\n\t\tif (searchMaxYear == 0) {\r\n\t\t\tsearchRequest.setMaxYear(DefaultValues.MAX_YEAR_DEFAULT.getDefValue());\r\n\t\t} else {\r\n\t\t\tsearchRequest.setMaxYear(searchMaxYear);\r\n\t\t}\r\n\r\n\t\tif (searchMaxPrice == 0) {\r\n\t\t\tsearchRequest.setMaxPrice(DefaultValues.MAX_PRICE_DEFAULT.getDefValue());\r\n\t\t} else {\r\n\t\t\tsearchRequest.setMaxPrice(searchMaxPrice);\r\n\t\t}\r\n\r\n\t\tif (searchMinPrice == 0) {\r\n\t\t\tsearchRequest.setMinPrice(DefaultValues.MIN_PRICE_DEFAULT.getDefValue());\r\n\t\t} else {\r\n\t\t\tsearchRequest.setMinPrice(searchMinPrice);\r\n\t\t}\r\n\t\treturn searchRequest;\r\n\t}", "@java.lang.Override\n public com.clarifai.grpc.api.Search getSearch() {\n if (searchBuilder_ == null) {\n if (inputSourceCase_ == 10) {\n return (com.clarifai.grpc.api.Search) inputSource_;\n }\n return com.clarifai.grpc.api.Search.getDefaultInstance();\n } else {\n if (inputSourceCase_ == 10) {\n return searchBuilder_.getMessage();\n }\n return com.clarifai.grpc.api.Search.getDefaultInstance();\n }\n }", "@java.lang.Override\n public entities.Torrent.SearchRequest getSearchRequest() {\n return searchRequest_ == null ? entities.Torrent.SearchRequest.getDefaultInstance() : searchRequest_;\n }", "@java.lang.Override\n public boolean hasLocalSearchRequest() {\n return localSearchRequest_ != null;\n }", "private void createLocationRequest() {\n mLocationRequest = new LocationRequest();\n mLocationRequest = LocationRequest.create();\n mLocationRequest.setPriority(LocationRequest.PRIORITY_HIGH_ACCURACY);\n }", "SpellResponse spellQuery(SearchRequest request, Map<SearchParam, String> params);", "public Tour performLocalSearch(final Tour originalTour, Mutator mutator) {\n double originalDistance = originalTour.getDistance();\n\n for (int i = 0; i < MAX_SEARCHES; i++) {\n Tour tour = new Tour(originalTour.getTour());\n mutator.mutate(tour);\n\n if (tour.getDistance() < originalDistance) {\n return tour;\n }\n }\n\n return originalTour;\n }", "private com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.LocalSearchResponse, entities.Torrent.LocalSearchResponse.Builder, entities.Torrent.LocalSearchResponseOrBuilder>\n getLocalSearchResponseFieldBuilder() {\n if (localSearchResponseBuilder_ == null) {\n localSearchResponseBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.LocalSearchResponse, entities.Torrent.LocalSearchResponse.Builder, entities.Torrent.LocalSearchResponseOrBuilder>(\n getLocalSearchResponse(),\n getParentForChildren(),\n isClean());\n localSearchResponse_ = null;\n }\n return localSearchResponseBuilder_;\n }", "public TboFlightSearchRequest() {\n}", "TSearchResults createSearchResults(TSearchQuery searchQuery);", "public Builder mergeSearch(com.clarifai.grpc.api.Search value) {\n if (searchBuilder_ == null) {\n if (inputSourceCase_ == 10 &&\n inputSource_ != com.clarifai.grpc.api.Search.getDefaultInstance()) {\n inputSource_ = com.clarifai.grpc.api.Search.newBuilder((com.clarifai.grpc.api.Search) inputSource_)\n .mergeFrom(value).buildPartial();\n } else {\n inputSource_ = value;\n }\n onChanged();\n } else {\n if (inputSourceCase_ == 10) {\n searchBuilder_.mergeFrom(value);\n } else {\n searchBuilder_.setMessage(value);\n }\n }\n inputSourceCase_ = 10;\n return this;\n }", "@GetMapping(\"/_search/localisations\")\n @Timed\n public List<Localisation> searchLocalisations(@RequestParam String query) {\n log.debug(\"REST request to search Localisations for query {}\", query);\n return localisationService.search(query);\n }", "@Override\n public SearchResultInfo search(SearchRequestInfo searchRequest) {\n try\n {\n SearchResultInfo searchResult = searchDispatcher.search(searchRequest, ContextUtils.getContextInfo());\n List<SearchParamInfo> params = searchRequest.getParams();\n if (params != null && params.size() > 0) {\n SearchParamInfo firstParam = params.get(0);\n if (firstParam.getKey().equals(\"lu.queryParam.cluVersionIndId\")) {//FIXME can this special case be handled after this call?\n doIdTranslation(searchResult);\n }\n }\n return searchResult;\n } catch (Exception ex) {\n // Log exception \n ex.printStackTrace();\n throw new RuntimeException(ex);\n }\n }", "public static SearchSourceBuilder buildGetAllLidVidsRequest(Collection<String> lids)\n {\n if(lids == null || lids.isEmpty()) return null;\n \n SearchSourceBuilder src = new SearchSourceBuilder();\n src.query(QueryBuilders.termsQuery(\"lid\", lids)).fetchSource(false).size(5000);\n return src;\n }", "private Request(com.google.protobuf.GeneratedMessage.ExtendableBuilder<Pokemon.Request, ?> builder) {\n super(builder);\n this.unknownFields = builder.getUnknownFields();\n }", "protected void createLocationRequest() {\n\t\tmLocationRequest = new LocationRequest();\n\t\tmLocationRequest.setInterval(UPDATE_INTERVAL);\n\t\tmLocationRequest.setFastestInterval(FATEST_INTERVAL);\n\t\tmLocationRequest.setPriority(LocationRequest.PRIORITY_HIGH_ACCURACY);\n\t\tmLocationRequest.setSmallestDisplacement(DISPLACEMENT);\n\t}", "List<SearchResult> search(SearchQuery searchQuery);", "TSearchQuery prepareSearchQuery(SearchQueryDefinitionAPI searchQueryDefinition);", "private LesenRPCRequest(com.google.protobuf.GeneratedMessage.Builder<?> builder) {\n super(builder);\n this.unknownFields = builder.getUnknownFields();\n }", "private SearchResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "public MagicSearch createMagicSearch();", "private com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.SearchRequest, entities.Torrent.SearchRequest.Builder, entities.Torrent.SearchRequestOrBuilder>\n getSearchRequestFieldBuilder() {\n if (searchRequestBuilder_ == null) {\n searchRequestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.SearchRequest, entities.Torrent.SearchRequest.Builder, entities.Torrent.SearchRequestOrBuilder>(\n getSearchRequest(),\n getParentForChildren(),\n isClean());\n searchRequest_ = null;\n }\n return searchRequestBuilder_;\n }", "private LocationRequest createLocationRequest() {\r\n LocationRequest mLocationRequest = new LocationRequest();\r\n mLocationRequest.setInterval(2000);\r\n mLocationRequest.setFastestInterval(1000);\r\n mLocationRequest.setPriority(LocationRequest.PRIORITY_HIGH_ACCURACY);\r\n return mLocationRequest;\r\n }", "private Search() {}", "public abstract Search create(String search, SearchBuilder builder);", "@Override\n\tpublic Solution localSearch() {\n\t\treturn this;\n\t}", "public void createLocationRequest(){\n locationRequest = new LocationRequest();\n locationRequest.setInterval(1000);\n locationRequest.setFastestInterval(500);\n locationRequest.setPriority(LocationRequest.PRIORITY_HIGH_ACCURACY);\n }", "public Builder setSearchRequest(\n entities.Torrent.SearchRequest.Builder builderForValue) {\n if (searchRequestBuilder_ == null) {\n searchRequest_ = builderForValue.build();\n onChanged();\n } else {\n searchRequestBuilder_.setMessage(builderForValue.build());\n }\n\n return this;\n }", "public com.clarifai.grpc.api.Search.Builder getSearchBuilder() {\n return getSearchFieldBuilder().getBuilder();\n }", "public SearchResultModel(Parcel in) {\n\t\tthis.title = in.readString();\n\t\tthis.airDay = in.readString();\n\t\tthis.airTime = in.readString();\n\t\tthis.bannerUrl = in.readString();\n\t\tthis.certification = in.readString();\n\t\tthis.country = in.readString();\n\t\tthis.network = in.readString();\n\t\tthis.oveview = in.readString();\n\t\tthis.posterUrl = in.readString();\n\t\tthis.traktUrl = in.readString();\n\t\tthis.ratting_percentage = in.readString();\n\t\tthis.loved = in.readString();\n\t\tthis.hated = in.readString();\n\t\tthis.genres = in.readString();\n\t\tthis.firstAired = in.readInt();\n\t\tthis.runtime = in.readInt();\n\t\tthis.tvRageId = in.readInt();\n\t\tthis.tvdbId = in.readInt();\n\t\tthis.year = in.readInt();\n\t\tthis.ended = in.readByte() != 0;\n\t}", "public entities.Torrent.SearchRequest.Builder getSearchRequestBuilder() {\n\n onChanged();\n return getSearchRequestFieldBuilder().getBuilder();\n }", "void startGlobalSearch(String initialQuery, boolean selectInitialQuery,\n Bundle appSearchData, Rect sourceBounds) {\n ComponentName globalSearchActivity = getGlobalSearchActivity();\n if (globalSearchActivity == null) {\n Log.w(TAG, \"No global search activity found.\");\n return;\n }\n Intent intent = new Intent(INTENT_ACTION_GLOBAL_SEARCH);\n intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);\n intent.setComponent(globalSearchActivity);\n // Make sure that we have a Bundle to put source in\n if (appSearchData == null) {\n appSearchData = new Bundle();\n } else {\n appSearchData = new Bundle(appSearchData);\n }\n // Set source to package name of app that starts global search, if not set already.\n if (!appSearchData.containsKey(\"source\")) {\n appSearchData.putString(\"source\", mContext.getPackageName());\n }\n intent.putExtra(APP_DATA, appSearchData);\n if (!TextUtils.isEmpty(initialQuery)) {\n intent.putExtra(QUERY, initialQuery);\n }\n if (selectInitialQuery) {\n intent.putExtra(EXTRA_SELECT_QUERY, selectInitialQuery);\n }\n intent.setSourceBounds(sourceBounds);\n try {\n if (DBG) Log.d(TAG, \"Starting global search: \" + intent.toUri(0));\n mContext.startActivity(intent);\n } catch (ActivityNotFoundException ex) {\n Log.e(TAG, \"Global search activity not found: \" + globalSearchActivity);\n }\n }", "Search getSearch();", "private void search(SearchRequest request) {\r\n\t\tif(request == null)return;\r\n\t\tList<Record> results = handler.search(request);\r\n\t\tlist.show(results);\r\n\t\tpanInfo.setNumRec(results.size());\r\n\t\tpanInfo.setTotalAmt(Record.sumBalance(results));\r\n\t}", "@HystrixCommand(fallbackMethod = \"getResponseFromLocalFallBack\",commandKey = \"Local-Search-Service\", groupKey = \"Local-Response\")\n @RequestMapping(value = \"/res/{query}\", method = GET)\n public ProviderResponse getResponseFromLocal(@PathVariable String query) throws LocalSearchException {\n return defaultLocalSearch.getResponse(query);\n }", "private BlockLocationRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "public Builder<V, E> setLocal(ClusteringAlgorithmBuilder<V, E, ?> local) {\n this.local = requireNonNull(local);\n return this;\n }", "private Request(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "private Request(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "private Request(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "private Request(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "public Builder setSearchUserReq(SearchUser.Req value) {\n copyOnWrite();\n instance.setSearchUserReq(value);\n return this;\n }", "entities.Torrent.SearchResponseOrBuilder getSearchResponseOrBuilder();", "private com.google.protobuf.SingleFieldBuilderV3<\n com.clarifai.grpc.api.Search, com.clarifai.grpc.api.Search.Builder, com.clarifai.grpc.api.SearchOrBuilder> \n getSearchFieldBuilder() {\n if (searchBuilder_ == null) {\n if (!(inputSourceCase_ == 10)) {\n inputSource_ = com.clarifai.grpc.api.Search.getDefaultInstance();\n }\n searchBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<\n com.clarifai.grpc.api.Search, com.clarifai.grpc.api.Search.Builder, com.clarifai.grpc.api.SearchOrBuilder>(\n (com.clarifai.grpc.api.Search) inputSource_,\n getParentForChildren(),\n isClean());\n inputSource_ = null;\n }\n inputSourceCase_ = 10;\n onChanged();;\n return searchBuilder_;\n }", "@Override\n public void search(SearchQuery searchQuery) throws VanilaException {\n\n setKeepQuite(false);\n\n String query = searchQuery.query;\n SearchOptions options = searchQuery.options;\n\n if (isCacheHavingResults(query)) {\n searchComplete(query, mRecentSearchResultsMap.get(query), null);\n }\n else {\n if (mIsBusyInSearch) {\n mMostRecentAwaitingQuery = searchQuery;\n }\n else {\n\n mMostRecentAwaitingQuery = null;\n mIsBusyInSearch = true;\n\n FSRequestDTO request = mFSContext.buildVenueRequest(query, options);\n\n FSVenueSearchGateway gateway = mMobilePlatformFactory.getSyncAdapter()\n .getSyncGateway(FSVenueSearchGateway.CLASS_NAME);\n gateway.fireReadVenueListRequest(request);\n }\n }\n }", "boolean hasLocalSearchResponse();", "public SearchResult withStatus(SearchStatus status) {\n setStatus(status);\n return this;\n }", "io.envoyproxy.envoy.type.metadata.v3.MetadataKind.RequestOrBuilder getRequestOrBuilder();", "public Search() {\n this.timestamp = System.currentTimeMillis();\n }", "@GET(\"w/api.php?action=opensearch&format=json&suggest&redirects=resolve\")\n Call<JsonElement> getSuggestionsFromSearch(@Query(\"search\") String search);", "protected void createLocationRequest() {\n mLocationRequest = new LocationRequest();\n //Sets the preferred interval for GPS location updates\n mLocationRequest.setInterval(UPDATE_INTERVAL_IN_MS);\n //Sets the fastest interval for GPS location updates\n mLocationRequest.setFastestInterval(FASTEST_UPDATE_INTERVAL_IN_MS);\n //Sets priority of the GPS location to accuracy\n mLocationRequest.setPriority(LocationRequest.PRIORITY_HIGH_ACCURACY);\n }", "public LocationMessageRequest label(final String label) {\n getMessage().setLabel(label);\n return this;\n }", "TypedRequest createTypedRequest();", "protected void createLocationRequest() {\n mLocationRequest = new LocationRequest();\n\n // Sets the desired interval for active location updates. This interval is\n // inexact.\n mLocationRequest.setInterval(UPDATE_INTERVAL_IN_MILLISECONDS);\n\n // Sets the fastest rate for active location updates. This interval is exact, and your\n // application will never receive updates faster than this value.\n mLocationRequest.setFastestInterval(FASTEST_UPDATE_INTERVAL_IN_MILLISECONDS);\n\n mLocationRequest.setPriority(LocationRequest.PRIORITY_HIGH_ACCURACY);\n Log.d(Constants.LOCATION_REQUEST, Constants.LOCATION_REQUEST);\n }" ]
[ "0.84012914", "0.78961146", "0.7884822", "0.7858104", "0.778111", "0.75680053", "0.74887794", "0.7447084", "0.7240941", "0.7193323", "0.7037726", "0.6862666", "0.6791738", "0.6493005", "0.64779174", "0.64666706", "0.6431581", "0.6412582", "0.6391135", "0.6362295", "0.6211343", "0.61251324", "0.6097018", "0.5990348", "0.5956142", "0.59197676", "0.58551234", "0.5819403", "0.5765921", "0.57283777", "0.57095885", "0.56934744", "0.5685037", "0.5670719", "0.56488997", "0.56174", "0.55856144", "0.5581009", "0.55193913", "0.5499586", "0.54978645", "0.5462747", "0.54552436", "0.54530364", "0.54523325", "0.54345846", "0.5433383", "0.54240793", "0.53987855", "0.5358992", "0.5302231", "0.5300457", "0.52981865", "0.5296334", "0.52948266", "0.52708757", "0.5252294", "0.52267224", "0.51732963", "0.5152836", "0.51400566", "0.513936", "0.5136346", "0.5116562", "0.5098341", "0.50912666", "0.5089009", "0.50879", "0.50813055", "0.5076679", "0.50677806", "0.50534654", "0.5052099", "0.5040367", "0.50278044", "0.49947965", "0.49885845", "0.49763873", "0.49599737", "0.49505883", "0.49487185", "0.49162138", "0.48989406", "0.48882347", "0.48882347", "0.48882347", "0.48882347", "0.48829532", "0.48769423", "0.48673016", "0.48540056", "0.4851783", "0.48483098", "0.4847838", "0.48422903", "0.48246142", "0.48225126", "0.48187226", "0.4813028", "0.48035544" ]
0.81878173
1
string regex = 1;
@java.lang.Override public java.lang.String getRegex() { java.lang.Object ref = regex_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); regex_ = s; return s; } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getRegex();", "java.lang.String getRegex();", "java.lang.String getRegex();", "public void setRegex (String regex)\n {\n this.regex = regex;\n }", "public String getRegEx();", "public RegExp (final int type)\n {\n this.type = type;\n }", "public RegexPatternBuilder (String regex)\n {\n this.regex = regex;\n }", "public String getRegEx() {\r\n return regex;\r\n }", "public GrammaticaRE(String regex) throws Exception {\n regExp = new RegExp(regex, ignoreCase);\n }", "public final native void setRegex(String regex) /*-{\n\t\tthis.regex = regex;\n\t}-*/;", "@objid (\"d7eead28-9a1c-4037-9797-4868268b54d4\")\n public RegexVerifier(String regex) {\n this.regex = regex;\n }", "public void setRegex(String regex) {\n this.regex = regex;\n }", "public static void TestRegex()\n\t{\n\t String line = \" if( aaa&&(ypbreg))\";\n\t String pattern = \"(&&)\\\\s*\\\\(*\\\\s*!?ypbreg\\\\)*\";\n\t // Create a Pattern object\n\t Pattern r = Pattern.compile(pattern);\n\t System.out.println(line.contains(pattern));\n\t // Now create matcher object.\n\t Matcher m = r.matcher(line);\n\t if (m.find( )) {\n\t // System.out.println(\"Found value: \" + m.group(0) );\n\t int count = m.groupCount();\n\t System.out.println(\"group count is \"+count);\n\t for(int i=0;i<count;i++){\n\t System.out.println(m.group(i));\n\t }\n\t // System.out.println(line.replaceFirst(BregPattern.pEqualTrue1, \"!$1\"));\n\n\t } else {\n\t System.out.println(\"NO MATCH\");\n\t }\n\t}", "public RegularExpression() {\n }", "public interface RegExp {\n String NUMBER_OF_COMPOSITION = \"^[1-2][0-9]|[1-9]$\";\n String BREAK_DATE_BY_DOT = \"[.]\";\n String IDENTIFY_BUMDLE = \"^([E|e][N|n])|[У|у][К|к][Р|р]$\";\n String DURATION = \"^[1-9]|[1-9][0-9]|[1-4][0-9][0-9]$\";\n}", "public java.lang.String getRegexStr() {\r\n return regexStr;\r\n }", "public Pattern regexPattern(String regex) {\n return Pattern.compile(regex);\n }", "@Override\n protected void compileRegex(String regex) {\n }", "protected abstract Regex pattern();", "boolean hasRegex();", "public JavaRE(String regex) throws Exception {\n if (ignoreCase) {\n pattern = Pattern.compile(regex, Pattern.CASE_INSENSITIVE);\n } else {\n pattern = Pattern.compile(regex);\n }\n }", "@Test\n public void testParseRegexp_valid3() throws InvalidRegexpException {\n BasicRegexp re = BasicRegexp.parseRegexp(\"a b c d\");\n assertEquals(re.toString(), \"abcd\");\n }", "private\n\tRegExHelper()\n\t{\n\t\tsuper();\n\t}", "public java.lang.String getRegex() {\n java.lang.Object ref = regex_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n regex_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getRegex() {\n java.lang.Object ref = regex_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n regex_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "@Override\n public boolean isRegex() {\n return false;\n }", "public String get_isregex() throws Exception {\n\t\treturn this.isregex;\n\t}", "public Boolean getbRegex() {\r\n\t\treturn bRegex;\r\n\t}", "public interface RegExp {\n String NAME_REGEXP = \"^[А-Я][а-я]{2,30}$\";\n String AGE_REGEXP = \"^((1[012][0-9])|([1-9][0-9]))$\";\n String EMAIL_REGEXP = \"^[-z0-9_.]{1,30}@([A-z]+[A-z0-9]{1,15}.){1,2}([A-z]+[A-z0-9]{1,15})$\";\n String CELL_PHONE_REGEXP = \"([\\\\+]\\\\d{2}\\\\s?)?(([\\\\(\\\\s]\\\\d{3}[\\\\)\\\\s])|\" +\n \"(\\\\d{3}))[\\\\s-]?\\\\d{3}[\\\\s-]?\\\\d{2}[\\\\s-]?\\\\d{2}$\";\n String CELL_PHONE_OPTIONAL_REGEXP = \"^(([\\\\+]\\\\d{2}\\\\s?)?(([\\\\(\\\\s]\\\\d{3}[\\\\)\\\\s])|\" +\n \"(\\\\d{3}))[\\\\s-]?\\\\d{3}[\\\\s-]?\\\\d{2}[\\\\s-]?\\\\d{2})?\";\n String LOCAL_PHONE_REGEXP = \"^([\\\\+]\\\\d{2}\\\\s?)?(([\\\\(\\\\s]\\\\d{3}[\\\\)\\\\s])|(\\\\d{3}))?[\\\\s-]?\\\\d{3}[\\\\s-]?\\\\d{3}$\";\n String COMMENT_REGEXP = \"^([\\\\d\\\\s\\\\w\\\\.\\\\,\\\\!]){0,127}$\";\n String GROUP_REGEXP = \"^[А-я]{4,10}$\";\n String SKYPE_NICK_REGEXP = \"^[\\\\w\\\\d\\\\_]{3,20}$\";\n String INDEX_REGEXP = \"^[\\\\d]{8}$\";\n String CITY_STREET_REGEXP = \"^[А-Я][а-я]{3,20}$\";\n String BUILDING_REGEXP = \"^[\\\\d]{1,3}[\\\\w]?$\";\n String FLAT_REGEXP = \"^[\\\\d]{1,3}$\";\n}", "public Builder setRegex(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n\n regex_ = value;\n onChanged();\n return this;\n }", "public Builder setRegex(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n\n regex_ = value;\n onChanged();\n return this;\n }", "public void setRegexStr(java.lang.String regexStr) {\r\n this.regexStr = regexStr;\r\n }", "public String getMatchRegex() {\n return matchRegex;\n }", "String regen();", "public static void main(String[] args) {\n\t\t Pattern p = Pattern.compile(\"(a+)\");\r\n\t\t Matcher m = p.matcher(\"aaaaaba\");\r\n\t\t //System.out.println(m.matches())\r\n\t\t m.find();\t\t \r\n\t\t m.find();\r\n\t\t System.out.println(\"grCount \"+m.groupCount());\t \r\n\t\t MatchResult mr = m.toMatchResult();\r\n\t\t \r\n\t\t System.out.println(m.end());\r\n\t\t System.out.println(\"'\"+mr.group()+\"'\");\r\n\t\t System.out.println(\"start \"+mr.start(1));\r\n\t\t \r\n\t}", "int mo5882g(String str);", "com.google.protobuf.ByteString\n getRegexBytes();", "com.google.protobuf.ByteString\n getRegexBytes();", "@Test\n public void testParseRegexp_correctness1new()\n throws InvalidRegexpException {\n BasicRegexp re = BasicRegexp.parseRegexp(\"(01|10)*1111\");\n assertEquals(re.toString(), \"(01|10)*1111\");\n }", "public void set_isregex(String isregex) throws Exception{\n\t\tthis.isregex = isregex;\n\t}", "public static void main(String[] args) {\r\n\t\t boolean matches_1 = Pattern.matches(\"[a-zA-Z0-9]{4}\", \"0Aa1\");\r\n\t\t boolean matches_2 = Pattern.matches(\"[a-zA-Z0-9]{4}\", \"0A@a1\");\r\n\t\t\t System.out.println(\"Regular Expression is \"+matches_1 +\" for given string(0Aa1)\");\r\n\t\t\t System.out.println(\"Regular Expression is \"+matches_2 +\" for given string(0A@a1)\");\r\n\t}", "public static void main(String[] args) {\n Pattern p = Pattern.compile(\"2*5?$\");\n Matcher m = p.matcher(regex1);\n if (m.matches()) {\n System.out.println(\"YES ¦ \");\n } else {\n System.out.println(\"NO\");\n }\n\n }", "@Override\n\tpublic boolean test(MyRegex t) {\n\t\treturn false;\n\t}", "private String parseRegExp(String exp) throws Exception {\r\n\t\treturn RegexpTranslationHelper.translateANTLRToAutomatonStyle(exp);\r\n\t}", "@Test\n public void testParseRegexp_valid7() throws InvalidRegexpException {\n BasicRegexp re = BasicRegexp.parseRegexp(\"abc*def\");\n assertEquals(re.toString(), \"abc*def\");\n }", "public final String getRegex() {\n\t\treturn JsUtils.getNativePropertyString(this, \"regex\");\n\t}", "public RegexPatternBuilder ()\n {\n this.regex = null;\n }", "private boolean isRegexValid(String string)\n {\n try\n {\n Pattern.compile(string, Pattern.MULTILINE);\n return true;\n }\n catch (PatternSyntaxException e)\n {\n return false;\n }\n }", "public java.lang.Short getRegexMatch() {\r\n return regexMatch;\r\n }", "@Test\n public void testParseRegexp_valid6() throws InvalidRegexpException {\n BasicRegexp re = BasicRegexp.parseRegexp(\"ab(cd(e))ff\");\n assertEquals(re.toString(), \"abcdeff\");\n }", "@Override // kotlin.p2243e.p2244a.AbstractC32522b\n public /* synthetic */ Regex invoke(Integer num) {\n return mo131903a(num.intValue());\n }", "public static TextP regex(final String value) {\n return new TextP(new Text.RegexPredicate(value, false), value);\n }", "public static Term createRegExp(Expression exp) {\r\n\t\tTerm term = Term.function(REGEX, exp);\r\n\t\treturn term;\r\n\t}", "public Pattern getValidStringPattern();", "@Test\r\n public void testRegexp() throws Exception {\n\r\n String a = \"a/b/100/test\";\r\n\r\n Pattern pattern = Pattern.compile(\".+/(\\\\d+)/test\");\r\n\r\n System.out.println(parseIdFromUriPath(a, pattern));\r\n\r\n }", "public static Regex compile(String pattern, int cflags) throws RegexException {\n return new Regex(pattern, REG_EXTENDED | cflags);\n }", "public Expression setRegexTest(Expression exp, Expression test){\r\n\t\tregexExpr.put(exp, test);\r\n\t\tExpression tt = Term.function(Term.TEST);\r\n\t\ttt.setExpr(test);\r\n\t\tExpression seq = sequence(exp, tt);\r\n\t\treturn seq;\r\n\t}", "C11998c mo41092g(String str);", "@Test\n public void contactNumber_WhenValid_ShouldReturnTrue(){\n RegexTest valid = new RegexTest();\n boolean result = valid.contactNumber( \"91 1234567890\");\n Assert.assertEquals(true,result);\n }", "@Test\n public void testDebugPrintBasicRegexp() throws InvalidRegexpException {\n BasicRegexp re1 = BasicRegexp.parseRegexp(\"(01|10)*1111\");\n BasicRegexp.debugPrintBasicRegexp(0, re1);\n }", "@Test\r\n public void testGetRegexp() {\r\n final Regexp re = rs.getRegexp(reString);\r\n assertTrue(rs.hasRegexp(reString));\r\n assertSame(rs.getRegexp(reString), re);\r\n }", "public String checkRegularExpression(String input) {\n String actualResult=\"\";\n String pattern=\".*harry*\";\n boolean value= Pattern.matches(pattern,input);\n actualResult+=\"Is harry there?\"+value;\n return actualResult;\n\n }", "public static void main(String[] args) {\n//\n// String pattern = \"abba\";\n// String s = \"dog cat cat fish\";\n\n\n// String pattern = \"aaaa\";\n// String s = \"dog cat cat dog\";\n\n String pattern = \"abba\";\n String s = \"dog dog dog dog\";\n\n// String pattern = \"e\";\n// String s = \"eukera\";\n\n boolean flag = wordPattern(pattern, s);\n\n System.out.println(flag);\n }", "public RegexGrep(ShellEnvironment env, String[] args) {\n super(env, args);\n this.regex = Pattern.compile(args[0]);\n }", "@Test\n public void wordPatternTest() {\n String pattern = \"aaa\", str = \"aa aa aa aa\";\n boolean ans = instance.wordPattern(pattern, str);\n System.out.println(ans);\n }", "@Test\n public void testParseRegexp_valid1() throws InvalidRegexpException {\n BasicRegexp re = BasicRegexp.parseRegexp(\"\");\n assertEquals(re, null);\n }", "@Test(expected = InvalidRegexpException.class)\n public void testParseRegexp_invalid8() throws Throwable {\n BasicRegexp.parseRegexp(\"()\");\n }", "void mo37759a(String str);", "private static String globToRegex(final String glob) {\n return \"^\" + glob.replace(\".\", \"\\\\.\").replace(\"*\", \".*\") + \"$\";\n }", "void mo12635a(String str);", "com.google.privacy.dlp.v2.CustomInfoType.Regex getRegex();", "public static String toRegex(String param) \r\n\t{\r\n\t\tStringBuffer regex = new StringBuffer();\r\n\t\tfor( int i=0; i < param.length(); i++ ) \r\n\t\t{\r\n\t\t\tchar next = param.charAt( i );\r\n\t\t\t if ('*' == next) regex.append( \".+\" ); // -> multi-character match wild card\r\n\t\t\telse if ('?' == next) regex.append( \".\" ); // -> single-character match wild card\r\n\t\t\telse if ('.' == next) regex.append( \"\\\\.\" ); // all of these are special regex characters we are quoting\r\n\t\t\telse if ('+' == next) regex.append( \"\\\\+\" ); \r\n\t\t\telse if ('$' == next) regex.append( \"\\\\$\" ); \r\n\t\t\telse if ('\\\\' == next) regex.append( \"\\\\\\\\\" ); \r\n\t\t\telse if ('[' == next) regex.append( \"\\\\[\" ); \r\n\t\t\telse if (']' == next) regex.append( \"\\\\]\" ); \r\n\t\t\telse if ('{' == next) regex.append( \"\\\\{\" ); \r\n\t\t\telse if ('}' == next) regex.append( \"\\\\}\" ); \r\n\t\t\telse if ('(' == next) regex.append( \"\\\\(\" ); \r\n\t\t\telse if (')' == next) regex.append( \"\\\\)\" ); \r\n\t\t\telse if ('&' == next) regex.append( \"\\\\&\" ); \r\n\t\t\telse if ('^' == next) regex.append( \"\\\\^\" ); \r\n\t\t\telse if ('-' == next) regex.append( \"\\\\-\" ); \r\n\t\t\telse if ('|' == next) regex.append( \"\\\\|\" ); \r\n\t\t\telse regex.append( next );\r\n\t\t}\r\n\t\t\r\n\t\treturn regex.toString();\r\n\t}", "public GlobFilenameFilter(String regex) {\n super(__CACHE, __MATCHER, regex);\n }", "public static void main(String[] args) {\n// System.out.println(alphanumeric.replaceAll(\"[aei]\", \"x\"));\n\n\n String regex = \"^[A-Z]|[a-z]\";\n String username = \"kaaviya\";\n\n System.out.println(username.replaceAll( \"^[A-Za-z][A-Za-z0-9_]{7,29}$\", \"x\"));\n System.out.println(username.matches(regex));\n\n }", "String mo2801a(String str);", "public com.google.protobuf.ByteString\n getRegexBytes() {\n java.lang.Object ref = regex_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b =\n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n regex_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "public com.google.protobuf.ByteString\n getRegexBytes() {\n java.lang.Object ref = regex_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b =\n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n regex_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "public static Regex compile(String pattern) throws RegexException {\n return compile(pattern, 0);\n }", "public static void main(String[] args) throws Exception {\n String patronA = \"[0-5]\";\n\n // conjunto de letras de \"a\" a \"c\"\n String patronB = \"[a-c]\";\n\n // conjunto de todas las letras minusculas\n String patronC = \"[a-z]\";\n\n // conjunto de numeros\n String patronD = \"[0-9]\";\n\n // ejemplo con tipo de dato string\n String textoAlfanumerico = \"0123aaaa\";\n System.out.println(\"Texto alfanumerico:\" + textoAlfanumerico);\n\n String replace1 = textoAlfanumerico.replaceAll(patronA, \"X\");\n System.out.println(\"Reemplazo de numeros con X: \" + replace1);\n\n String replace2 = textoAlfanumerico.replaceAll(patronB, \"X\");\n System.out.println(\"Reemplazo de letras con X: \" + replace2);\n\n\n //[0-5][a-c];\n //String patronComplejo = patronA + patronB;\n\n //[a-c]*[0-5]*\n //String patronComplejo = patronA + \"*\" + patronB + \"*\";\n\n //\"[a-z]+\"\n\n // + = una coincidencia\n // * = ninguna o muchas\n\n //String patronComplejo = \"(\" + patronA + patronC + \")+\";\n String patronComplejo = \"(\" + patronC + \")+\";\n\n String texto = \"hola, aacc este bbcc es mi 55222aaa texto 2663aaaa blah blah\";\n System.out.println(\"patron complejo:\" + patronComplejo);\n System.out.println(texto);\n\n Pattern pattern = Pattern.compile(patronComplejo);\n Matcher matcher = pattern.matcher(texto);\n\n // buscar ocurrencias\n while (matcher.find()) {\n System.out.println(\"Encontrado:\" + matcher.group());\n }\n\n\n }", "@Test\n public void testOptimise_2() throws InvalidRegexpException {\n BasicRegexp re1 = BasicRegexp.parseRegexp(\"a+++++++++++++++++++++\");\n\n assertEquals(re1.optimise(BasicRegexp.OPTIMISE_ALL, -1).toString(),\n \"a+\");\n }", "public String returnRegex() {\n\t\tString chosenRegex;\n\t\tSystem.out.println(\"selectedRegex value is: \" + selectedRegex);\n\t\tswitch (selectedRegex) {\n\t\tcase 1:\n\t\t\tchosenRegex = \"(\\\\&?\\\\??t=\\\\d*?[h]?\\\\d*[m]?\\\\d*[s]|\\\\&t=\\\\d*)\";\n\t\t\tbreak;\n\t\tcase 2:\n\t\t\tchosenRegex = \"(\\\\&list=[a-zA-Z 0-9 -]+\\\\&?index=?\\\\d+?)\";\n\t\t\tbreak;\n\t\tcase 3:\n\t\t\tchosenRegex = \"(\\\\&feature=youtu.be)\";\n\t\t\tbreak;\n\t\tdefault:\n\t\t\tchosenRegex = \"\\\\?t.*|\\\\&t.*|\\\\&l.*|\\\\&f.*\"; // alternative:\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// (\\\\&?\\\\??t=\\\\d*?[h]?\\\\d*[m]?\\\\d*[s]|\\\\&t=\\\\d*|\\\\&list=[a-zA-Z\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// 0-9 -]*)\n\t\t\tbreak;\n\t\t}\n\t\tSystem.out.println(chosenRegex);\n\t\treturn chosenRegex;\n\t}", "@java.lang.Override\n public com.google.protobuf.ByteString\n getRegexBytes() {\n java.lang.Object ref = regex_;\n if (ref instanceof java.lang.String) {\n com.google.protobuf.ByteString b =\n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n regex_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "@java.lang.Override\n public com.google.protobuf.ByteString\n getRegexBytes() {\n java.lang.Object ref = regex_;\n if (ref instanceof java.lang.String) {\n com.google.protobuf.ByteString b =\n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n regex_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "private static String adaptRegEx(Mode mode, String regex, int flagMask, boolean removeWhitespace)\n throws QueryException {\n StringBuilder sb = new StringBuilder();\n boolean escaped = false;\n boolean groupStart = false;\n int completeGroups = 0;\n int backRef = 0;\n int charClassDepth = 0;\n int groupDepth = 0;\n\n for (char c : regex.toCharArray()) {\n if (escaped) {\n if (backRef == 0 && c == '0') {\n throw new QueryException(ErrorCode.ERR_INVALID_REGULAR_EXPRESSION, \"Reference to group 0 not allowed\");\n } else if (c >= '0' && c <= '9') {\n if (charClassDepth > 0) {\n throw new QueryException(ErrorCode.ERR_INVALID_REGULAR_EXPRESSION,\n \"Back references in character class expressions\" + \" are disallowed.\");\n }\n backRef = backRef * 10 + Integer.parseInt(Character.toString(c));\n continue;\n }\n }\n\n if (backRef > 0) {\n // Check back reference that just ended\n if (backRef > completeGroups) {\n throw new QueryException(ErrorCode.ERR_INVALID_REGULAR_EXPRESSION,\n \"Back reference to nonexisting or unfinished group.\");\n } else {\n backRef = 0;\n escaped = false;\n }\n }\n\n if (c == '\\\\' && !escaped) {\n // Not preceded by backslash\n escaped = true;\n groupStart = false;\n continue;\n }\n\n if (c == '(' && !escaped) {\n groupStart = true;\n groupDepth++;\n escaped = false;\n continue;\n }\n\n if (c == '?' && !escaped && groupStart) {\n throw new QueryException(ErrorCode.ERR_INVALID_REGULAR_EXPRESSION,\n \"Pure groups are not supported in XQuery regular expressions.\");\n } else if (c == ')' && !escaped) {\n if (--groupDepth < 0) {\n throw new QueryException(ErrorCode.ERR_INVALID_REGULAR_EXPRESSION, \"Invalid sequence of brackets.\");\n }\n completeGroups++;\n } else if (c == '[' && !escaped) {\n charClassDepth++;\n } else if (c == ']' && !escaped) {\n if (--charClassDepth < 0) {\n throw new QueryException(ErrorCode.ERR_INVALID_REGULAR_EXPRESSION, \"Invalid sequence of brackets.\");\n }\n } else if (removeWhitespace) {\n // Remove whitespace outside of character classes\n if (charClassDepth == 0 && WHITESPACE.contains(c)) {\n // Don't touch boolean flags\n continue;\n }\n\n sb.append(c);\n }\n\n groupStart = false;\n escaped = false;\n }\n\n // Check for trailing '\\' (only valid with subsequent characters)\n if (escaped && backRef == 0) {\n throw new QueryException(ErrorCode.ERR_INVALID_REGULAR_EXPRESSION, \"Trailing backslash character in pattern.\");\n }\n\n // Check back reference if that was last token in pattern\n if (backRef > 0 && backRef > completeGroups) {\n throw new QueryException(ErrorCode.ERR_INVALID_REGULAR_EXPRESSION,\n \"Back reference to nonexisting or unfinished group.\");\n }\n\n // Check for dangling brackets\n if (charClassDepth != 0 || groupDepth != 0) {\n throw new QueryException(ErrorCode.ERR_INVALID_REGULAR_EXPRESSION, \"Pattern contains dangling brackets.\");\n }\n\n if (!removeWhitespace) {\n sb.append(regex);\n }\n\n if (mode == Mode.MATCH) {\n // Adapt for XQuery substring matching by extending pattern\n if (sb.charAt(0) != '^' || ((flagMask & Pattern.MULTILINE) == Pattern.MULTILINE)) {\n if ((flagMask & Pattern.DOTALL) == Pattern.DOTALL) {\n sb.insert(0, \".*\");\n } else {\n sb.insert(0, \"(?s:.*)\");\n }\n }\n\n if (sb.charAt(sb.length() - 1) != '$' || ((flagMask & Pattern.MULTILINE) == Pattern.MULTILINE)) {\n if ((flagMask & Pattern.DOTALL) == Pattern.DOTALL) {\n sb.append(\".*\");\n } else {\n sb.append(\"(?s:.*)\");\n }\n }\n }\n\n return sb.toString();\n }", "public RegExp anyChar ()\n {\n // FIXME: there is some code duplication here with the parser\n final List <Interval> list = new ArrayList <> ();\n list.add (new Interval (0, CharClasses.maxChar));\n return new RegExp1 (sym.CCLASS, list);\n }", "protected String hookGetRegex() \r\n\t{\n\t\treturn \"\\\\s+\"; \r\n\t}", "private static boolean matchRegex(Pattern regExpression, String filename) {\n\t\tMatcher m = regExpression.matcher(filename);\n\t\tif (m.matches()) {\n\t\t\treturn true;\n\t\t} else {\n\t\t\treturn false;\n\t\t}\n\t}", "RegExConstraint createRegExConstraint();", "public void setRegexMatch(java.lang.Short regexMatch) {\r\n this.regexMatch = regexMatch;\r\n }", "void mo5871a(String str);", "private JBurgPatternMatcher()\n\t{\n\t}", "public final String getPattern() {\n/* 187 */ return this.m_pattern;\n/* */ }", "public String getPattern() {\n\treturn pattern;\n }", "public Regex mo131901a(int i) {\n C32591j jVar = C32645l.m150681b(this.f111785a.m150658d(), i);\n if (jVar.getStart().intValue() < 0) {\n return null;\n }\n String group = this.f111785a.m150658d().group(i);\n C32569u.m150513a((Object) group, \"matchResult.group(index)\");\n return new Regex(group, jVar);\n }", "@Override\n\tpublic void visit(RegExpMatchOperator arg0) {\n\t\t\n\t}", "@Test //TEST FOUR\n void testOneNumberinRabbitName()\n {\n Rabbit_RegEx rabbit_Name = new Rabbit_RegEx();\n rabbit_Name.setRabbitName(\"MO0N\");\n assertFalse(rabbit_Name.getRabbitName().matches(\"[A-Za-z-]*\"));\n }", "private LiteralToken nextRegularExpressionLiteralToken() {\n LiteralToken token = scanner.nextRegularExpressionLiteralToken();\n lastSourcePosition = token.location.end;\n return token;\n }", "public String getPattern() {\r\n \treturn pattern;\r\n }", "public int getPattern() {\n return this.pattern;\n }" ]
[ "0.72026896", "0.7194223", "0.7194223", "0.68615586", "0.6858206", "0.67436427", "0.6587065", "0.6512296", "0.64326847", "0.6404885", "0.63460666", "0.6331", "0.6291084", "0.6286594", "0.6254456", "0.6238955", "0.6219856", "0.6202358", "0.6189153", "0.61239773", "0.610071", "0.6062738", "0.6032594", "0.59982014", "0.5996874", "0.5924192", "0.59115654", "0.5864164", "0.58572525", "0.58453", "0.58453", "0.5841216", "0.58262175", "0.5814594", "0.5811531", "0.57985896", "0.5770896", "0.57697666", "0.57547474", "0.5754631", "0.5754291", "0.57499665", "0.57477105", "0.5747135", "0.57377404", "0.5728356", "0.5720464", "0.57105994", "0.569544", "0.5688132", "0.56866807", "0.5680289", "0.5667682", "0.56612164", "0.56564504", "0.5585063", "0.5555574", "0.5529932", "0.55271614", "0.5522922", "0.55216306", "0.5515437", "0.55144066", "0.5475341", "0.54649585", "0.54602605", "0.54552746", "0.5454531", "0.54507446", "0.54498005", "0.54474837", "0.5440438", "0.54248166", "0.54176825", "0.541224", "0.5411842", "0.5410461", "0.54078144", "0.5407357", "0.5399649", "0.53911847", "0.5381891", "0.5381891", "0.53741324", "0.5369898", "0.5353865", "0.53480643", "0.53464174", "0.53416866", "0.5329152", "0.53245693", "0.5322008", "0.5312056", "0.52923334", "0.5292296", "0.5286544", "0.5280226", "0.5259832", "0.5251492" ]
0.580481
36
string regex = 1;
@java.lang.Override public com.google.protobuf.ByteString getRegexBytes() { java.lang.Object ref = regex_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); regex_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getRegex();", "java.lang.String getRegex();", "java.lang.String getRegex();", "public void setRegex (String regex)\n {\n this.regex = regex;\n }", "public String getRegEx();", "public RegExp (final int type)\n {\n this.type = type;\n }", "public RegexPatternBuilder (String regex)\n {\n this.regex = regex;\n }", "public String getRegEx() {\r\n return regex;\r\n }", "public GrammaticaRE(String regex) throws Exception {\n regExp = new RegExp(regex, ignoreCase);\n }", "public final native void setRegex(String regex) /*-{\n\t\tthis.regex = regex;\n\t}-*/;", "@objid (\"d7eead28-9a1c-4037-9797-4868268b54d4\")\n public RegexVerifier(String regex) {\n this.regex = regex;\n }", "public void setRegex(String regex) {\n this.regex = regex;\n }", "public static void TestRegex()\n\t{\n\t String line = \" if( aaa&&(ypbreg))\";\n\t String pattern = \"(&&)\\\\s*\\\\(*\\\\s*!?ypbreg\\\\)*\";\n\t // Create a Pattern object\n\t Pattern r = Pattern.compile(pattern);\n\t System.out.println(line.contains(pattern));\n\t // Now create matcher object.\n\t Matcher m = r.matcher(line);\n\t if (m.find( )) {\n\t // System.out.println(\"Found value: \" + m.group(0) );\n\t int count = m.groupCount();\n\t System.out.println(\"group count is \"+count);\n\t for(int i=0;i<count;i++){\n\t System.out.println(m.group(i));\n\t }\n\t // System.out.println(line.replaceFirst(BregPattern.pEqualTrue1, \"!$1\"));\n\n\t } else {\n\t System.out.println(\"NO MATCH\");\n\t }\n\t}", "public RegularExpression() {\n }", "public interface RegExp {\n String NUMBER_OF_COMPOSITION = \"^[1-2][0-9]|[1-9]$\";\n String BREAK_DATE_BY_DOT = \"[.]\";\n String IDENTIFY_BUMDLE = \"^([E|e][N|n])|[У|у][К|к][Р|р]$\";\n String DURATION = \"^[1-9]|[1-9][0-9]|[1-4][0-9][0-9]$\";\n}", "public java.lang.String getRegexStr() {\r\n return regexStr;\r\n }", "public Pattern regexPattern(String regex) {\n return Pattern.compile(regex);\n }", "@Override\n protected void compileRegex(String regex) {\n }", "protected abstract Regex pattern();", "boolean hasRegex();", "public JavaRE(String regex) throws Exception {\n if (ignoreCase) {\n pattern = Pattern.compile(regex, Pattern.CASE_INSENSITIVE);\n } else {\n pattern = Pattern.compile(regex);\n }\n }", "@Test\n public void testParseRegexp_valid3() throws InvalidRegexpException {\n BasicRegexp re = BasicRegexp.parseRegexp(\"a b c d\");\n assertEquals(re.toString(), \"abcd\");\n }", "private\n\tRegExHelper()\n\t{\n\t\tsuper();\n\t}", "public java.lang.String getRegex() {\n java.lang.Object ref = regex_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n regex_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getRegex() {\n java.lang.Object ref = regex_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n regex_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "@Override\n public boolean isRegex() {\n return false;\n }", "public String get_isregex() throws Exception {\n\t\treturn this.isregex;\n\t}", "public Boolean getbRegex() {\r\n\t\treturn bRegex;\r\n\t}", "public interface RegExp {\n String NAME_REGEXP = \"^[А-Я][а-я]{2,30}$\";\n String AGE_REGEXP = \"^((1[012][0-9])|([1-9][0-9]))$\";\n String EMAIL_REGEXP = \"^[-z0-9_.]{1,30}@([A-z]+[A-z0-9]{1,15}.){1,2}([A-z]+[A-z0-9]{1,15})$\";\n String CELL_PHONE_REGEXP = \"([\\\\+]\\\\d{2}\\\\s?)?(([\\\\(\\\\s]\\\\d{3}[\\\\)\\\\s])|\" +\n \"(\\\\d{3}))[\\\\s-]?\\\\d{3}[\\\\s-]?\\\\d{2}[\\\\s-]?\\\\d{2}$\";\n String CELL_PHONE_OPTIONAL_REGEXP = \"^(([\\\\+]\\\\d{2}\\\\s?)?(([\\\\(\\\\s]\\\\d{3}[\\\\)\\\\s])|\" +\n \"(\\\\d{3}))[\\\\s-]?\\\\d{3}[\\\\s-]?\\\\d{2}[\\\\s-]?\\\\d{2})?\";\n String LOCAL_PHONE_REGEXP = \"^([\\\\+]\\\\d{2}\\\\s?)?(([\\\\(\\\\s]\\\\d{3}[\\\\)\\\\s])|(\\\\d{3}))?[\\\\s-]?\\\\d{3}[\\\\s-]?\\\\d{3}$\";\n String COMMENT_REGEXP = \"^([\\\\d\\\\s\\\\w\\\\.\\\\,\\\\!]){0,127}$\";\n String GROUP_REGEXP = \"^[А-я]{4,10}$\";\n String SKYPE_NICK_REGEXP = \"^[\\\\w\\\\d\\\\_]{3,20}$\";\n String INDEX_REGEXP = \"^[\\\\d]{8}$\";\n String CITY_STREET_REGEXP = \"^[А-Я][а-я]{3,20}$\";\n String BUILDING_REGEXP = \"^[\\\\d]{1,3}[\\\\w]?$\";\n String FLAT_REGEXP = \"^[\\\\d]{1,3}$\";\n}", "public Builder setRegex(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n\n regex_ = value;\n onChanged();\n return this;\n }", "public Builder setRegex(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n\n regex_ = value;\n onChanged();\n return this;\n }", "public void setRegexStr(java.lang.String regexStr) {\r\n this.regexStr = regexStr;\r\n }", "public String getMatchRegex() {\n return matchRegex;\n }", "String regen();", "public static void main(String[] args) {\n\t\t Pattern p = Pattern.compile(\"(a+)\");\r\n\t\t Matcher m = p.matcher(\"aaaaaba\");\r\n\t\t //System.out.println(m.matches())\r\n\t\t m.find();\t\t \r\n\t\t m.find();\r\n\t\t System.out.println(\"grCount \"+m.groupCount());\t \r\n\t\t MatchResult mr = m.toMatchResult();\r\n\t\t \r\n\t\t System.out.println(m.end());\r\n\t\t System.out.println(\"'\"+mr.group()+\"'\");\r\n\t\t System.out.println(\"start \"+mr.start(1));\r\n\t\t \r\n\t}", "@java.lang.Override\n public java.lang.String getRegex() {\n java.lang.Object ref = regex_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n regex_ = s;\n return s;\n }\n }", "@java.lang.Override\n public java.lang.String getRegex() {\n java.lang.Object ref = regex_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n regex_ = s;\n return s;\n }\n }", "int mo5882g(String str);", "com.google.protobuf.ByteString\n getRegexBytes();", "com.google.protobuf.ByteString\n getRegexBytes();", "@Test\n public void testParseRegexp_correctness1new()\n throws InvalidRegexpException {\n BasicRegexp re = BasicRegexp.parseRegexp(\"(01|10)*1111\");\n assertEquals(re.toString(), \"(01|10)*1111\");\n }", "public void set_isregex(String isregex) throws Exception{\n\t\tthis.isregex = isregex;\n\t}", "public static void main(String[] args) {\r\n\t\t boolean matches_1 = Pattern.matches(\"[a-zA-Z0-9]{4}\", \"0Aa1\");\r\n\t\t boolean matches_2 = Pattern.matches(\"[a-zA-Z0-9]{4}\", \"0A@a1\");\r\n\t\t\t System.out.println(\"Regular Expression is \"+matches_1 +\" for given string(0Aa1)\");\r\n\t\t\t System.out.println(\"Regular Expression is \"+matches_2 +\" for given string(0A@a1)\");\r\n\t}", "public static void main(String[] args) {\n Pattern p = Pattern.compile(\"2*5?$\");\n Matcher m = p.matcher(regex1);\n if (m.matches()) {\n System.out.println(\"YES ¦ \");\n } else {\n System.out.println(\"NO\");\n }\n\n }", "@Override\n\tpublic boolean test(MyRegex t) {\n\t\treturn false;\n\t}", "private String parseRegExp(String exp) throws Exception {\r\n\t\treturn RegexpTranslationHelper.translateANTLRToAutomatonStyle(exp);\r\n\t}", "@Test\n public void testParseRegexp_valid7() throws InvalidRegexpException {\n BasicRegexp re = BasicRegexp.parseRegexp(\"abc*def\");\n assertEquals(re.toString(), \"abc*def\");\n }", "public final String getRegex() {\n\t\treturn JsUtils.getNativePropertyString(this, \"regex\");\n\t}", "public RegexPatternBuilder ()\n {\n this.regex = null;\n }", "private boolean isRegexValid(String string)\n {\n try\n {\n Pattern.compile(string, Pattern.MULTILINE);\n return true;\n }\n catch (PatternSyntaxException e)\n {\n return false;\n }\n }", "public java.lang.Short getRegexMatch() {\r\n return regexMatch;\r\n }", "@Test\n public void testParseRegexp_valid6() throws InvalidRegexpException {\n BasicRegexp re = BasicRegexp.parseRegexp(\"ab(cd(e))ff\");\n assertEquals(re.toString(), \"abcdeff\");\n }", "@Override // kotlin.p2243e.p2244a.AbstractC32522b\n public /* synthetic */ Regex invoke(Integer num) {\n return mo131903a(num.intValue());\n }", "public static TextP regex(final String value) {\n return new TextP(new Text.RegexPredicate(value, false), value);\n }", "public static Term createRegExp(Expression exp) {\r\n\t\tTerm term = Term.function(REGEX, exp);\r\n\t\treturn term;\r\n\t}", "public Pattern getValidStringPattern();", "@Test\r\n public void testRegexp() throws Exception {\n\r\n String a = \"a/b/100/test\";\r\n\r\n Pattern pattern = Pattern.compile(\".+/(\\\\d+)/test\");\r\n\r\n System.out.println(parseIdFromUriPath(a, pattern));\r\n\r\n }", "public static Regex compile(String pattern, int cflags) throws RegexException {\n return new Regex(pattern, REG_EXTENDED | cflags);\n }", "public Expression setRegexTest(Expression exp, Expression test){\r\n\t\tregexExpr.put(exp, test);\r\n\t\tExpression tt = Term.function(Term.TEST);\r\n\t\ttt.setExpr(test);\r\n\t\tExpression seq = sequence(exp, tt);\r\n\t\treturn seq;\r\n\t}", "C11998c mo41092g(String str);", "@Test\n public void contactNumber_WhenValid_ShouldReturnTrue(){\n RegexTest valid = new RegexTest();\n boolean result = valid.contactNumber( \"91 1234567890\");\n Assert.assertEquals(true,result);\n }", "@Test\n public void testDebugPrintBasicRegexp() throws InvalidRegexpException {\n BasicRegexp re1 = BasicRegexp.parseRegexp(\"(01|10)*1111\");\n BasicRegexp.debugPrintBasicRegexp(0, re1);\n }", "@Test\r\n public void testGetRegexp() {\r\n final Regexp re = rs.getRegexp(reString);\r\n assertTrue(rs.hasRegexp(reString));\r\n assertSame(rs.getRegexp(reString), re);\r\n }", "public String checkRegularExpression(String input) {\n String actualResult=\"\";\n String pattern=\".*harry*\";\n boolean value= Pattern.matches(pattern,input);\n actualResult+=\"Is harry there?\"+value;\n return actualResult;\n\n }", "public static void main(String[] args) {\n//\n// String pattern = \"abba\";\n// String s = \"dog cat cat fish\";\n\n\n// String pattern = \"aaaa\";\n// String s = \"dog cat cat dog\";\n\n String pattern = \"abba\";\n String s = \"dog dog dog dog\";\n\n// String pattern = \"e\";\n// String s = \"eukera\";\n\n boolean flag = wordPattern(pattern, s);\n\n System.out.println(flag);\n }", "public RegexGrep(ShellEnvironment env, String[] args) {\n super(env, args);\n this.regex = Pattern.compile(args[0]);\n }", "@Test\n public void wordPatternTest() {\n String pattern = \"aaa\", str = \"aa aa aa aa\";\n boolean ans = instance.wordPattern(pattern, str);\n System.out.println(ans);\n }", "@Test\n public void testParseRegexp_valid1() throws InvalidRegexpException {\n BasicRegexp re = BasicRegexp.parseRegexp(\"\");\n assertEquals(re, null);\n }", "@Test(expected = InvalidRegexpException.class)\n public void testParseRegexp_invalid8() throws Throwable {\n BasicRegexp.parseRegexp(\"()\");\n }", "void mo37759a(String str);", "private static String globToRegex(final String glob) {\n return \"^\" + glob.replace(\".\", \"\\\\.\").replace(\"*\", \".*\") + \"$\";\n }", "void mo12635a(String str);", "com.google.privacy.dlp.v2.CustomInfoType.Regex getRegex();", "public static String toRegex(String param) \r\n\t{\r\n\t\tStringBuffer regex = new StringBuffer();\r\n\t\tfor( int i=0; i < param.length(); i++ ) \r\n\t\t{\r\n\t\t\tchar next = param.charAt( i );\r\n\t\t\t if ('*' == next) regex.append( \".+\" ); // -> multi-character match wild card\r\n\t\t\telse if ('?' == next) regex.append( \".\" ); // -> single-character match wild card\r\n\t\t\telse if ('.' == next) regex.append( \"\\\\.\" ); // all of these are special regex characters we are quoting\r\n\t\t\telse if ('+' == next) regex.append( \"\\\\+\" ); \r\n\t\t\telse if ('$' == next) regex.append( \"\\\\$\" ); \r\n\t\t\telse if ('\\\\' == next) regex.append( \"\\\\\\\\\" ); \r\n\t\t\telse if ('[' == next) regex.append( \"\\\\[\" ); \r\n\t\t\telse if (']' == next) regex.append( \"\\\\]\" ); \r\n\t\t\telse if ('{' == next) regex.append( \"\\\\{\" ); \r\n\t\t\telse if ('}' == next) regex.append( \"\\\\}\" ); \r\n\t\t\telse if ('(' == next) regex.append( \"\\\\(\" ); \r\n\t\t\telse if (')' == next) regex.append( \"\\\\)\" ); \r\n\t\t\telse if ('&' == next) regex.append( \"\\\\&\" ); \r\n\t\t\telse if ('^' == next) regex.append( \"\\\\^\" ); \r\n\t\t\telse if ('-' == next) regex.append( \"\\\\-\" ); \r\n\t\t\telse if ('|' == next) regex.append( \"\\\\|\" ); \r\n\t\t\telse regex.append( next );\r\n\t\t}\r\n\t\t\r\n\t\treturn regex.toString();\r\n\t}", "public GlobFilenameFilter(String regex) {\n super(__CACHE, __MATCHER, regex);\n }", "public static void main(String[] args) {\n// System.out.println(alphanumeric.replaceAll(\"[aei]\", \"x\"));\n\n\n String regex = \"^[A-Z]|[a-z]\";\n String username = \"kaaviya\";\n\n System.out.println(username.replaceAll( \"^[A-Za-z][A-Za-z0-9_]{7,29}$\", \"x\"));\n System.out.println(username.matches(regex));\n\n }", "String mo2801a(String str);", "public com.google.protobuf.ByteString\n getRegexBytes() {\n java.lang.Object ref = regex_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b =\n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n regex_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "public com.google.protobuf.ByteString\n getRegexBytes() {\n java.lang.Object ref = regex_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b =\n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n regex_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "public static Regex compile(String pattern) throws RegexException {\n return compile(pattern, 0);\n }", "public static void main(String[] args) throws Exception {\n String patronA = \"[0-5]\";\n\n // conjunto de letras de \"a\" a \"c\"\n String patronB = \"[a-c]\";\n\n // conjunto de todas las letras minusculas\n String patronC = \"[a-z]\";\n\n // conjunto de numeros\n String patronD = \"[0-9]\";\n\n // ejemplo con tipo de dato string\n String textoAlfanumerico = \"0123aaaa\";\n System.out.println(\"Texto alfanumerico:\" + textoAlfanumerico);\n\n String replace1 = textoAlfanumerico.replaceAll(patronA, \"X\");\n System.out.println(\"Reemplazo de numeros con X: \" + replace1);\n\n String replace2 = textoAlfanumerico.replaceAll(patronB, \"X\");\n System.out.println(\"Reemplazo de letras con X: \" + replace2);\n\n\n //[0-5][a-c];\n //String patronComplejo = patronA + patronB;\n\n //[a-c]*[0-5]*\n //String patronComplejo = patronA + \"*\" + patronB + \"*\";\n\n //\"[a-z]+\"\n\n // + = una coincidencia\n // * = ninguna o muchas\n\n //String patronComplejo = \"(\" + patronA + patronC + \")+\";\n String patronComplejo = \"(\" + patronC + \")+\";\n\n String texto = \"hola, aacc este bbcc es mi 55222aaa texto 2663aaaa blah blah\";\n System.out.println(\"patron complejo:\" + patronComplejo);\n System.out.println(texto);\n\n Pattern pattern = Pattern.compile(patronComplejo);\n Matcher matcher = pattern.matcher(texto);\n\n // buscar ocurrencias\n while (matcher.find()) {\n System.out.println(\"Encontrado:\" + matcher.group());\n }\n\n\n }", "@Test\n public void testOptimise_2() throws InvalidRegexpException {\n BasicRegexp re1 = BasicRegexp.parseRegexp(\"a+++++++++++++++++++++\");\n\n assertEquals(re1.optimise(BasicRegexp.OPTIMISE_ALL, -1).toString(),\n \"a+\");\n }", "public String returnRegex() {\n\t\tString chosenRegex;\n\t\tSystem.out.println(\"selectedRegex value is: \" + selectedRegex);\n\t\tswitch (selectedRegex) {\n\t\tcase 1:\n\t\t\tchosenRegex = \"(\\\\&?\\\\??t=\\\\d*?[h]?\\\\d*[m]?\\\\d*[s]|\\\\&t=\\\\d*)\";\n\t\t\tbreak;\n\t\tcase 2:\n\t\t\tchosenRegex = \"(\\\\&list=[a-zA-Z 0-9 -]+\\\\&?index=?\\\\d+?)\";\n\t\t\tbreak;\n\t\tcase 3:\n\t\t\tchosenRegex = \"(\\\\&feature=youtu.be)\";\n\t\t\tbreak;\n\t\tdefault:\n\t\t\tchosenRegex = \"\\\\?t.*|\\\\&t.*|\\\\&l.*|\\\\&f.*\"; // alternative:\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// (\\\\&?\\\\??t=\\\\d*?[h]?\\\\d*[m]?\\\\d*[s]|\\\\&t=\\\\d*|\\\\&list=[a-zA-Z\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// 0-9 -]*)\n\t\t\tbreak;\n\t\t}\n\t\tSystem.out.println(chosenRegex);\n\t\treturn chosenRegex;\n\t}", "private static String adaptRegEx(Mode mode, String regex, int flagMask, boolean removeWhitespace)\n throws QueryException {\n StringBuilder sb = new StringBuilder();\n boolean escaped = false;\n boolean groupStart = false;\n int completeGroups = 0;\n int backRef = 0;\n int charClassDepth = 0;\n int groupDepth = 0;\n\n for (char c : regex.toCharArray()) {\n if (escaped) {\n if (backRef == 0 && c == '0') {\n throw new QueryException(ErrorCode.ERR_INVALID_REGULAR_EXPRESSION, \"Reference to group 0 not allowed\");\n } else if (c >= '0' && c <= '9') {\n if (charClassDepth > 0) {\n throw new QueryException(ErrorCode.ERR_INVALID_REGULAR_EXPRESSION,\n \"Back references in character class expressions\" + \" are disallowed.\");\n }\n backRef = backRef * 10 + Integer.parseInt(Character.toString(c));\n continue;\n }\n }\n\n if (backRef > 0) {\n // Check back reference that just ended\n if (backRef > completeGroups) {\n throw new QueryException(ErrorCode.ERR_INVALID_REGULAR_EXPRESSION,\n \"Back reference to nonexisting or unfinished group.\");\n } else {\n backRef = 0;\n escaped = false;\n }\n }\n\n if (c == '\\\\' && !escaped) {\n // Not preceded by backslash\n escaped = true;\n groupStart = false;\n continue;\n }\n\n if (c == '(' && !escaped) {\n groupStart = true;\n groupDepth++;\n escaped = false;\n continue;\n }\n\n if (c == '?' && !escaped && groupStart) {\n throw new QueryException(ErrorCode.ERR_INVALID_REGULAR_EXPRESSION,\n \"Pure groups are not supported in XQuery regular expressions.\");\n } else if (c == ')' && !escaped) {\n if (--groupDepth < 0) {\n throw new QueryException(ErrorCode.ERR_INVALID_REGULAR_EXPRESSION, \"Invalid sequence of brackets.\");\n }\n completeGroups++;\n } else if (c == '[' && !escaped) {\n charClassDepth++;\n } else if (c == ']' && !escaped) {\n if (--charClassDepth < 0) {\n throw new QueryException(ErrorCode.ERR_INVALID_REGULAR_EXPRESSION, \"Invalid sequence of brackets.\");\n }\n } else if (removeWhitespace) {\n // Remove whitespace outside of character classes\n if (charClassDepth == 0 && WHITESPACE.contains(c)) {\n // Don't touch boolean flags\n continue;\n }\n\n sb.append(c);\n }\n\n groupStart = false;\n escaped = false;\n }\n\n // Check for trailing '\\' (only valid with subsequent characters)\n if (escaped && backRef == 0) {\n throw new QueryException(ErrorCode.ERR_INVALID_REGULAR_EXPRESSION, \"Trailing backslash character in pattern.\");\n }\n\n // Check back reference if that was last token in pattern\n if (backRef > 0 && backRef > completeGroups) {\n throw new QueryException(ErrorCode.ERR_INVALID_REGULAR_EXPRESSION,\n \"Back reference to nonexisting or unfinished group.\");\n }\n\n // Check for dangling brackets\n if (charClassDepth != 0 || groupDepth != 0) {\n throw new QueryException(ErrorCode.ERR_INVALID_REGULAR_EXPRESSION, \"Pattern contains dangling brackets.\");\n }\n\n if (!removeWhitespace) {\n sb.append(regex);\n }\n\n if (mode == Mode.MATCH) {\n // Adapt for XQuery substring matching by extending pattern\n if (sb.charAt(0) != '^' || ((flagMask & Pattern.MULTILINE) == Pattern.MULTILINE)) {\n if ((flagMask & Pattern.DOTALL) == Pattern.DOTALL) {\n sb.insert(0, \".*\");\n } else {\n sb.insert(0, \"(?s:.*)\");\n }\n }\n\n if (sb.charAt(sb.length() - 1) != '$' || ((flagMask & Pattern.MULTILINE) == Pattern.MULTILINE)) {\n if ((flagMask & Pattern.DOTALL) == Pattern.DOTALL) {\n sb.append(\".*\");\n } else {\n sb.append(\"(?s:.*)\");\n }\n }\n }\n\n return sb.toString();\n }", "public RegExp anyChar ()\n {\n // FIXME: there is some code duplication here with the parser\n final List <Interval> list = new ArrayList <> ();\n list.add (new Interval (0, CharClasses.maxChar));\n return new RegExp1 (sym.CCLASS, list);\n }", "protected String hookGetRegex() \r\n\t{\n\t\treturn \"\\\\s+\"; \r\n\t}", "private static boolean matchRegex(Pattern regExpression, String filename) {\n\t\tMatcher m = regExpression.matcher(filename);\n\t\tif (m.matches()) {\n\t\t\treturn true;\n\t\t} else {\n\t\t\treturn false;\n\t\t}\n\t}", "RegExConstraint createRegExConstraint();", "public void setRegexMatch(java.lang.Short regexMatch) {\r\n this.regexMatch = regexMatch;\r\n }", "void mo5871a(String str);", "private JBurgPatternMatcher()\n\t{\n\t}", "public final String getPattern() {\n/* 187 */ return this.m_pattern;\n/* */ }", "public String getPattern() {\n\treturn pattern;\n }", "public Regex mo131901a(int i) {\n C32591j jVar = C32645l.m150681b(this.f111785a.m150658d(), i);\n if (jVar.getStart().intValue() < 0) {\n return null;\n }\n String group = this.f111785a.m150658d().group(i);\n C32569u.m150513a((Object) group, \"matchResult.group(index)\");\n return new Regex(group, jVar);\n }", "@Override\n\tpublic void visit(RegExpMatchOperator arg0) {\n\t\t\n\t}", "@Test //TEST FOUR\n void testOneNumberinRabbitName()\n {\n Rabbit_RegEx rabbit_Name = new Rabbit_RegEx();\n rabbit_Name.setRabbitName(\"MO0N\");\n assertFalse(rabbit_Name.getRabbitName().matches(\"[A-Za-z-]*\"));\n }", "private LiteralToken nextRegularExpressionLiteralToken() {\n LiteralToken token = scanner.nextRegularExpressionLiteralToken();\n lastSourcePosition = token.location.end;\n return token;\n }", "public String getPattern() {\r\n \treturn pattern;\r\n }", "public int getPattern() {\n return this.pattern;\n }" ]
[ "0.72026896", "0.7194223", "0.7194223", "0.68615586", "0.6858206", "0.67436427", "0.6587065", "0.6512296", "0.64326847", "0.6404885", "0.63460666", "0.6331", "0.6291084", "0.6286594", "0.6254456", "0.6238955", "0.6219856", "0.6202358", "0.6189153", "0.61239773", "0.610071", "0.6062738", "0.6032594", "0.59982014", "0.5996874", "0.5924192", "0.59115654", "0.5864164", "0.58572525", "0.58453", "0.58453", "0.5841216", "0.58262175", "0.5814594", "0.5811531", "0.58056986", "0.580481", "0.57985896", "0.5770896", "0.57697666", "0.57547474", "0.5754631", "0.5754291", "0.57499665", "0.57477105", "0.5747135", "0.57377404", "0.5728356", "0.5720464", "0.57105994", "0.569544", "0.5688132", "0.56866807", "0.5680289", "0.5667682", "0.56612164", "0.56564504", "0.5585063", "0.5555574", "0.5529932", "0.55271614", "0.5522922", "0.55216306", "0.5515437", "0.55144066", "0.5475341", "0.54649585", "0.54602605", "0.54552746", "0.5454531", "0.54507446", "0.54498005", "0.54474837", "0.5440438", "0.54248166", "0.54176825", "0.541224", "0.5411842", "0.5410461", "0.54078144", "0.5407357", "0.5399649", "0.53911847", "0.53741324", "0.5369898", "0.5353865", "0.53480643", "0.53464174", "0.53416866", "0.5329152", "0.53245693", "0.5322008", "0.5312056", "0.52923334", "0.5292296", "0.5286544", "0.5280226", "0.5259832", "0.5251492" ]
0.5381891
83
string regex = 1;
public java.lang.String getRegex() { java.lang.Object ref = regex_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); regex_ = s; return s; } else { return (java.lang.String) ref; } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getRegex();", "java.lang.String getRegex();", "java.lang.String getRegex();", "public void setRegex (String regex)\n {\n this.regex = regex;\n }", "public String getRegEx();", "public RegExp (final int type)\n {\n this.type = type;\n }", "public RegexPatternBuilder (String regex)\n {\n this.regex = regex;\n }", "public String getRegEx() {\r\n return regex;\r\n }", "public GrammaticaRE(String regex) throws Exception {\n regExp = new RegExp(regex, ignoreCase);\n }", "public final native void setRegex(String regex) /*-{\n\t\tthis.regex = regex;\n\t}-*/;", "@objid (\"d7eead28-9a1c-4037-9797-4868268b54d4\")\n public RegexVerifier(String regex) {\n this.regex = regex;\n }", "public void setRegex(String regex) {\n this.regex = regex;\n }", "public static void TestRegex()\n\t{\n\t String line = \" if( aaa&&(ypbreg))\";\n\t String pattern = \"(&&)\\\\s*\\\\(*\\\\s*!?ypbreg\\\\)*\";\n\t // Create a Pattern object\n\t Pattern r = Pattern.compile(pattern);\n\t System.out.println(line.contains(pattern));\n\t // Now create matcher object.\n\t Matcher m = r.matcher(line);\n\t if (m.find( )) {\n\t // System.out.println(\"Found value: \" + m.group(0) );\n\t int count = m.groupCount();\n\t System.out.println(\"group count is \"+count);\n\t for(int i=0;i<count;i++){\n\t System.out.println(m.group(i));\n\t }\n\t // System.out.println(line.replaceFirst(BregPattern.pEqualTrue1, \"!$1\"));\n\n\t } else {\n\t System.out.println(\"NO MATCH\");\n\t }\n\t}", "public RegularExpression() {\n }", "public interface RegExp {\n String NUMBER_OF_COMPOSITION = \"^[1-2][0-9]|[1-9]$\";\n String BREAK_DATE_BY_DOT = \"[.]\";\n String IDENTIFY_BUMDLE = \"^([E|e][N|n])|[У|у][К|к][Р|р]$\";\n String DURATION = \"^[1-9]|[1-9][0-9]|[1-4][0-9][0-9]$\";\n}", "public java.lang.String getRegexStr() {\r\n return regexStr;\r\n }", "public Pattern regexPattern(String regex) {\n return Pattern.compile(regex);\n }", "@Override\n protected void compileRegex(String regex) {\n }", "protected abstract Regex pattern();", "boolean hasRegex();", "public JavaRE(String regex) throws Exception {\n if (ignoreCase) {\n pattern = Pattern.compile(regex, Pattern.CASE_INSENSITIVE);\n } else {\n pattern = Pattern.compile(regex);\n }\n }", "@Test\n public void testParseRegexp_valid3() throws InvalidRegexpException {\n BasicRegexp re = BasicRegexp.parseRegexp(\"a b c d\");\n assertEquals(re.toString(), \"abcd\");\n }", "private\n\tRegExHelper()\n\t{\n\t\tsuper();\n\t}", "@Override\n public boolean isRegex() {\n return false;\n }", "public String get_isregex() throws Exception {\n\t\treturn this.isregex;\n\t}", "public Boolean getbRegex() {\r\n\t\treturn bRegex;\r\n\t}", "public interface RegExp {\n String NAME_REGEXP = \"^[А-Я][а-я]{2,30}$\";\n String AGE_REGEXP = \"^((1[012][0-9])|([1-9][0-9]))$\";\n String EMAIL_REGEXP = \"^[-z0-9_.]{1,30}@([A-z]+[A-z0-9]{1,15}.){1,2}([A-z]+[A-z0-9]{1,15})$\";\n String CELL_PHONE_REGEXP = \"([\\\\+]\\\\d{2}\\\\s?)?(([\\\\(\\\\s]\\\\d{3}[\\\\)\\\\s])|\" +\n \"(\\\\d{3}))[\\\\s-]?\\\\d{3}[\\\\s-]?\\\\d{2}[\\\\s-]?\\\\d{2}$\";\n String CELL_PHONE_OPTIONAL_REGEXP = \"^(([\\\\+]\\\\d{2}\\\\s?)?(([\\\\(\\\\s]\\\\d{3}[\\\\)\\\\s])|\" +\n \"(\\\\d{3}))[\\\\s-]?\\\\d{3}[\\\\s-]?\\\\d{2}[\\\\s-]?\\\\d{2})?\";\n String LOCAL_PHONE_REGEXP = \"^([\\\\+]\\\\d{2}\\\\s?)?(([\\\\(\\\\s]\\\\d{3}[\\\\)\\\\s])|(\\\\d{3}))?[\\\\s-]?\\\\d{3}[\\\\s-]?\\\\d{3}$\";\n String COMMENT_REGEXP = \"^([\\\\d\\\\s\\\\w\\\\.\\\\,\\\\!]){0,127}$\";\n String GROUP_REGEXP = \"^[А-я]{4,10}$\";\n String SKYPE_NICK_REGEXP = \"^[\\\\w\\\\d\\\\_]{3,20}$\";\n String INDEX_REGEXP = \"^[\\\\d]{8}$\";\n String CITY_STREET_REGEXP = \"^[А-Я][а-я]{3,20}$\";\n String BUILDING_REGEXP = \"^[\\\\d]{1,3}[\\\\w]?$\";\n String FLAT_REGEXP = \"^[\\\\d]{1,3}$\";\n}", "public Builder setRegex(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n\n regex_ = value;\n onChanged();\n return this;\n }", "public Builder setRegex(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n\n regex_ = value;\n onChanged();\n return this;\n }", "public void setRegexStr(java.lang.String regexStr) {\r\n this.regexStr = regexStr;\r\n }", "public String getMatchRegex() {\n return matchRegex;\n }", "String regen();", "public static void main(String[] args) {\n\t\t Pattern p = Pattern.compile(\"(a+)\");\r\n\t\t Matcher m = p.matcher(\"aaaaaba\");\r\n\t\t //System.out.println(m.matches())\r\n\t\t m.find();\t\t \r\n\t\t m.find();\r\n\t\t System.out.println(\"grCount \"+m.groupCount());\t \r\n\t\t MatchResult mr = m.toMatchResult();\r\n\t\t \r\n\t\t System.out.println(m.end());\r\n\t\t System.out.println(\"'\"+mr.group()+\"'\");\r\n\t\t System.out.println(\"start \"+mr.start(1));\r\n\t\t \r\n\t}", "@java.lang.Override\n public java.lang.String getRegex() {\n java.lang.Object ref = regex_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n regex_ = s;\n return s;\n }\n }", "@java.lang.Override\n public java.lang.String getRegex() {\n java.lang.Object ref = regex_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n regex_ = s;\n return s;\n }\n }", "int mo5882g(String str);", "com.google.protobuf.ByteString\n getRegexBytes();", "com.google.protobuf.ByteString\n getRegexBytes();", "@Test\n public void testParseRegexp_correctness1new()\n throws InvalidRegexpException {\n BasicRegexp re = BasicRegexp.parseRegexp(\"(01|10)*1111\");\n assertEquals(re.toString(), \"(01|10)*1111\");\n }", "public void set_isregex(String isregex) throws Exception{\n\t\tthis.isregex = isregex;\n\t}", "public static void main(String[] args) {\r\n\t\t boolean matches_1 = Pattern.matches(\"[a-zA-Z0-9]{4}\", \"0Aa1\");\r\n\t\t boolean matches_2 = Pattern.matches(\"[a-zA-Z0-9]{4}\", \"0A@a1\");\r\n\t\t\t System.out.println(\"Regular Expression is \"+matches_1 +\" for given string(0Aa1)\");\r\n\t\t\t System.out.println(\"Regular Expression is \"+matches_2 +\" for given string(0A@a1)\");\r\n\t}", "public static void main(String[] args) {\n Pattern p = Pattern.compile(\"2*5?$\");\n Matcher m = p.matcher(regex1);\n if (m.matches()) {\n System.out.println(\"YES ¦ \");\n } else {\n System.out.println(\"NO\");\n }\n\n }", "@Override\n\tpublic boolean test(MyRegex t) {\n\t\treturn false;\n\t}", "private String parseRegExp(String exp) throws Exception {\r\n\t\treturn RegexpTranslationHelper.translateANTLRToAutomatonStyle(exp);\r\n\t}", "@Test\n public void testParseRegexp_valid7() throws InvalidRegexpException {\n BasicRegexp re = BasicRegexp.parseRegexp(\"abc*def\");\n assertEquals(re.toString(), \"abc*def\");\n }", "public final String getRegex() {\n\t\treturn JsUtils.getNativePropertyString(this, \"regex\");\n\t}", "public RegexPatternBuilder ()\n {\n this.regex = null;\n }", "private boolean isRegexValid(String string)\n {\n try\n {\n Pattern.compile(string, Pattern.MULTILINE);\n return true;\n }\n catch (PatternSyntaxException e)\n {\n return false;\n }\n }", "public java.lang.Short getRegexMatch() {\r\n return regexMatch;\r\n }", "@Test\n public void testParseRegexp_valid6() throws InvalidRegexpException {\n BasicRegexp re = BasicRegexp.parseRegexp(\"ab(cd(e))ff\");\n assertEquals(re.toString(), \"abcdeff\");\n }", "@Override // kotlin.p2243e.p2244a.AbstractC32522b\n public /* synthetic */ Regex invoke(Integer num) {\n return mo131903a(num.intValue());\n }", "public static TextP regex(final String value) {\n return new TextP(new Text.RegexPredicate(value, false), value);\n }", "public static Term createRegExp(Expression exp) {\r\n\t\tTerm term = Term.function(REGEX, exp);\r\n\t\treturn term;\r\n\t}", "public Pattern getValidStringPattern();", "@Test\r\n public void testRegexp() throws Exception {\n\r\n String a = \"a/b/100/test\";\r\n\r\n Pattern pattern = Pattern.compile(\".+/(\\\\d+)/test\");\r\n\r\n System.out.println(parseIdFromUriPath(a, pattern));\r\n\r\n }", "public static Regex compile(String pattern, int cflags) throws RegexException {\n return new Regex(pattern, REG_EXTENDED | cflags);\n }", "public Expression setRegexTest(Expression exp, Expression test){\r\n\t\tregexExpr.put(exp, test);\r\n\t\tExpression tt = Term.function(Term.TEST);\r\n\t\ttt.setExpr(test);\r\n\t\tExpression seq = sequence(exp, tt);\r\n\t\treturn seq;\r\n\t}", "C11998c mo41092g(String str);", "@Test\n public void contactNumber_WhenValid_ShouldReturnTrue(){\n RegexTest valid = new RegexTest();\n boolean result = valid.contactNumber( \"91 1234567890\");\n Assert.assertEquals(true,result);\n }", "@Test\n public void testDebugPrintBasicRegexp() throws InvalidRegexpException {\n BasicRegexp re1 = BasicRegexp.parseRegexp(\"(01|10)*1111\");\n BasicRegexp.debugPrintBasicRegexp(0, re1);\n }", "@Test\r\n public void testGetRegexp() {\r\n final Regexp re = rs.getRegexp(reString);\r\n assertTrue(rs.hasRegexp(reString));\r\n assertSame(rs.getRegexp(reString), re);\r\n }", "public String checkRegularExpression(String input) {\n String actualResult=\"\";\n String pattern=\".*harry*\";\n boolean value= Pattern.matches(pattern,input);\n actualResult+=\"Is harry there?\"+value;\n return actualResult;\n\n }", "public static void main(String[] args) {\n//\n// String pattern = \"abba\";\n// String s = \"dog cat cat fish\";\n\n\n// String pattern = \"aaaa\";\n// String s = \"dog cat cat dog\";\n\n String pattern = \"abba\";\n String s = \"dog dog dog dog\";\n\n// String pattern = \"e\";\n// String s = \"eukera\";\n\n boolean flag = wordPattern(pattern, s);\n\n System.out.println(flag);\n }", "public RegexGrep(ShellEnvironment env, String[] args) {\n super(env, args);\n this.regex = Pattern.compile(args[0]);\n }", "@Test\n public void wordPatternTest() {\n String pattern = \"aaa\", str = \"aa aa aa aa\";\n boolean ans = instance.wordPattern(pattern, str);\n System.out.println(ans);\n }", "@Test\n public void testParseRegexp_valid1() throws InvalidRegexpException {\n BasicRegexp re = BasicRegexp.parseRegexp(\"\");\n assertEquals(re, null);\n }", "@Test(expected = InvalidRegexpException.class)\n public void testParseRegexp_invalid8() throws Throwable {\n BasicRegexp.parseRegexp(\"()\");\n }", "void mo37759a(String str);", "private static String globToRegex(final String glob) {\n return \"^\" + glob.replace(\".\", \"\\\\.\").replace(\"*\", \".*\") + \"$\";\n }", "void mo12635a(String str);", "com.google.privacy.dlp.v2.CustomInfoType.Regex getRegex();", "public static String toRegex(String param) \r\n\t{\r\n\t\tStringBuffer regex = new StringBuffer();\r\n\t\tfor( int i=0; i < param.length(); i++ ) \r\n\t\t{\r\n\t\t\tchar next = param.charAt( i );\r\n\t\t\t if ('*' == next) regex.append( \".+\" ); // -> multi-character match wild card\r\n\t\t\telse if ('?' == next) regex.append( \".\" ); // -> single-character match wild card\r\n\t\t\telse if ('.' == next) regex.append( \"\\\\.\" ); // all of these are special regex characters we are quoting\r\n\t\t\telse if ('+' == next) regex.append( \"\\\\+\" ); \r\n\t\t\telse if ('$' == next) regex.append( \"\\\\$\" ); \r\n\t\t\telse if ('\\\\' == next) regex.append( \"\\\\\\\\\" ); \r\n\t\t\telse if ('[' == next) regex.append( \"\\\\[\" ); \r\n\t\t\telse if (']' == next) regex.append( \"\\\\]\" ); \r\n\t\t\telse if ('{' == next) regex.append( \"\\\\{\" ); \r\n\t\t\telse if ('}' == next) regex.append( \"\\\\}\" ); \r\n\t\t\telse if ('(' == next) regex.append( \"\\\\(\" ); \r\n\t\t\telse if (')' == next) regex.append( \"\\\\)\" ); \r\n\t\t\telse if ('&' == next) regex.append( \"\\\\&\" ); \r\n\t\t\telse if ('^' == next) regex.append( \"\\\\^\" ); \r\n\t\t\telse if ('-' == next) regex.append( \"\\\\-\" ); \r\n\t\t\telse if ('|' == next) regex.append( \"\\\\|\" ); \r\n\t\t\telse regex.append( next );\r\n\t\t}\r\n\t\t\r\n\t\treturn regex.toString();\r\n\t}", "public GlobFilenameFilter(String regex) {\n super(__CACHE, __MATCHER, regex);\n }", "public static void main(String[] args) {\n// System.out.println(alphanumeric.replaceAll(\"[aei]\", \"x\"));\n\n\n String regex = \"^[A-Z]|[a-z]\";\n String username = \"kaaviya\";\n\n System.out.println(username.replaceAll( \"^[A-Za-z][A-Za-z0-9_]{7,29}$\", \"x\"));\n System.out.println(username.matches(regex));\n\n }", "String mo2801a(String str);", "public com.google.protobuf.ByteString\n getRegexBytes() {\n java.lang.Object ref = regex_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b =\n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n regex_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "public com.google.protobuf.ByteString\n getRegexBytes() {\n java.lang.Object ref = regex_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b =\n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n regex_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "public static Regex compile(String pattern) throws RegexException {\n return compile(pattern, 0);\n }", "public static void main(String[] args) throws Exception {\n String patronA = \"[0-5]\";\n\n // conjunto de letras de \"a\" a \"c\"\n String patronB = \"[a-c]\";\n\n // conjunto de todas las letras minusculas\n String patronC = \"[a-z]\";\n\n // conjunto de numeros\n String patronD = \"[0-9]\";\n\n // ejemplo con tipo de dato string\n String textoAlfanumerico = \"0123aaaa\";\n System.out.println(\"Texto alfanumerico:\" + textoAlfanumerico);\n\n String replace1 = textoAlfanumerico.replaceAll(patronA, \"X\");\n System.out.println(\"Reemplazo de numeros con X: \" + replace1);\n\n String replace2 = textoAlfanumerico.replaceAll(patronB, \"X\");\n System.out.println(\"Reemplazo de letras con X: \" + replace2);\n\n\n //[0-5][a-c];\n //String patronComplejo = patronA + patronB;\n\n //[a-c]*[0-5]*\n //String patronComplejo = patronA + \"*\" + patronB + \"*\";\n\n //\"[a-z]+\"\n\n // + = una coincidencia\n // * = ninguna o muchas\n\n //String patronComplejo = \"(\" + patronA + patronC + \")+\";\n String patronComplejo = \"(\" + patronC + \")+\";\n\n String texto = \"hola, aacc este bbcc es mi 55222aaa texto 2663aaaa blah blah\";\n System.out.println(\"patron complejo:\" + patronComplejo);\n System.out.println(texto);\n\n Pattern pattern = Pattern.compile(patronComplejo);\n Matcher matcher = pattern.matcher(texto);\n\n // buscar ocurrencias\n while (matcher.find()) {\n System.out.println(\"Encontrado:\" + matcher.group());\n }\n\n\n }", "@Test\n public void testOptimise_2() throws InvalidRegexpException {\n BasicRegexp re1 = BasicRegexp.parseRegexp(\"a+++++++++++++++++++++\");\n\n assertEquals(re1.optimise(BasicRegexp.OPTIMISE_ALL, -1).toString(),\n \"a+\");\n }", "public String returnRegex() {\n\t\tString chosenRegex;\n\t\tSystem.out.println(\"selectedRegex value is: \" + selectedRegex);\n\t\tswitch (selectedRegex) {\n\t\tcase 1:\n\t\t\tchosenRegex = \"(\\\\&?\\\\??t=\\\\d*?[h]?\\\\d*[m]?\\\\d*[s]|\\\\&t=\\\\d*)\";\n\t\t\tbreak;\n\t\tcase 2:\n\t\t\tchosenRegex = \"(\\\\&list=[a-zA-Z 0-9 -]+\\\\&?index=?\\\\d+?)\";\n\t\t\tbreak;\n\t\tcase 3:\n\t\t\tchosenRegex = \"(\\\\&feature=youtu.be)\";\n\t\t\tbreak;\n\t\tdefault:\n\t\t\tchosenRegex = \"\\\\?t.*|\\\\&t.*|\\\\&l.*|\\\\&f.*\"; // alternative:\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// (\\\\&?\\\\??t=\\\\d*?[h]?\\\\d*[m]?\\\\d*[s]|\\\\&t=\\\\d*|\\\\&list=[a-zA-Z\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// 0-9 -]*)\n\t\t\tbreak;\n\t\t}\n\t\tSystem.out.println(chosenRegex);\n\t\treturn chosenRegex;\n\t}", "@java.lang.Override\n public com.google.protobuf.ByteString\n getRegexBytes() {\n java.lang.Object ref = regex_;\n if (ref instanceof java.lang.String) {\n com.google.protobuf.ByteString b =\n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n regex_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "@java.lang.Override\n public com.google.protobuf.ByteString\n getRegexBytes() {\n java.lang.Object ref = regex_;\n if (ref instanceof java.lang.String) {\n com.google.protobuf.ByteString b =\n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n regex_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "private static String adaptRegEx(Mode mode, String regex, int flagMask, boolean removeWhitespace)\n throws QueryException {\n StringBuilder sb = new StringBuilder();\n boolean escaped = false;\n boolean groupStart = false;\n int completeGroups = 0;\n int backRef = 0;\n int charClassDepth = 0;\n int groupDepth = 0;\n\n for (char c : regex.toCharArray()) {\n if (escaped) {\n if (backRef == 0 && c == '0') {\n throw new QueryException(ErrorCode.ERR_INVALID_REGULAR_EXPRESSION, \"Reference to group 0 not allowed\");\n } else if (c >= '0' && c <= '9') {\n if (charClassDepth > 0) {\n throw new QueryException(ErrorCode.ERR_INVALID_REGULAR_EXPRESSION,\n \"Back references in character class expressions\" + \" are disallowed.\");\n }\n backRef = backRef * 10 + Integer.parseInt(Character.toString(c));\n continue;\n }\n }\n\n if (backRef > 0) {\n // Check back reference that just ended\n if (backRef > completeGroups) {\n throw new QueryException(ErrorCode.ERR_INVALID_REGULAR_EXPRESSION,\n \"Back reference to nonexisting or unfinished group.\");\n } else {\n backRef = 0;\n escaped = false;\n }\n }\n\n if (c == '\\\\' && !escaped) {\n // Not preceded by backslash\n escaped = true;\n groupStart = false;\n continue;\n }\n\n if (c == '(' && !escaped) {\n groupStart = true;\n groupDepth++;\n escaped = false;\n continue;\n }\n\n if (c == '?' && !escaped && groupStart) {\n throw new QueryException(ErrorCode.ERR_INVALID_REGULAR_EXPRESSION,\n \"Pure groups are not supported in XQuery regular expressions.\");\n } else if (c == ')' && !escaped) {\n if (--groupDepth < 0) {\n throw new QueryException(ErrorCode.ERR_INVALID_REGULAR_EXPRESSION, \"Invalid sequence of brackets.\");\n }\n completeGroups++;\n } else if (c == '[' && !escaped) {\n charClassDepth++;\n } else if (c == ']' && !escaped) {\n if (--charClassDepth < 0) {\n throw new QueryException(ErrorCode.ERR_INVALID_REGULAR_EXPRESSION, \"Invalid sequence of brackets.\");\n }\n } else if (removeWhitespace) {\n // Remove whitespace outside of character classes\n if (charClassDepth == 0 && WHITESPACE.contains(c)) {\n // Don't touch boolean flags\n continue;\n }\n\n sb.append(c);\n }\n\n groupStart = false;\n escaped = false;\n }\n\n // Check for trailing '\\' (only valid with subsequent characters)\n if (escaped && backRef == 0) {\n throw new QueryException(ErrorCode.ERR_INVALID_REGULAR_EXPRESSION, \"Trailing backslash character in pattern.\");\n }\n\n // Check back reference if that was last token in pattern\n if (backRef > 0 && backRef > completeGroups) {\n throw new QueryException(ErrorCode.ERR_INVALID_REGULAR_EXPRESSION,\n \"Back reference to nonexisting or unfinished group.\");\n }\n\n // Check for dangling brackets\n if (charClassDepth != 0 || groupDepth != 0) {\n throw new QueryException(ErrorCode.ERR_INVALID_REGULAR_EXPRESSION, \"Pattern contains dangling brackets.\");\n }\n\n if (!removeWhitespace) {\n sb.append(regex);\n }\n\n if (mode == Mode.MATCH) {\n // Adapt for XQuery substring matching by extending pattern\n if (sb.charAt(0) != '^' || ((flagMask & Pattern.MULTILINE) == Pattern.MULTILINE)) {\n if ((flagMask & Pattern.DOTALL) == Pattern.DOTALL) {\n sb.insert(0, \".*\");\n } else {\n sb.insert(0, \"(?s:.*)\");\n }\n }\n\n if (sb.charAt(sb.length() - 1) != '$' || ((flagMask & Pattern.MULTILINE) == Pattern.MULTILINE)) {\n if ((flagMask & Pattern.DOTALL) == Pattern.DOTALL) {\n sb.append(\".*\");\n } else {\n sb.append(\"(?s:.*)\");\n }\n }\n }\n\n return sb.toString();\n }", "public RegExp anyChar ()\n {\n // FIXME: there is some code duplication here with the parser\n final List <Interval> list = new ArrayList <> ();\n list.add (new Interval (0, CharClasses.maxChar));\n return new RegExp1 (sym.CCLASS, list);\n }", "protected String hookGetRegex() \r\n\t{\n\t\treturn \"\\\\s+\"; \r\n\t}", "private static boolean matchRegex(Pattern regExpression, String filename) {\n\t\tMatcher m = regExpression.matcher(filename);\n\t\tif (m.matches()) {\n\t\t\treturn true;\n\t\t} else {\n\t\t\treturn false;\n\t\t}\n\t}", "RegExConstraint createRegExConstraint();", "public void setRegexMatch(java.lang.Short regexMatch) {\r\n this.regexMatch = regexMatch;\r\n }", "void mo5871a(String str);", "private JBurgPatternMatcher()\n\t{\n\t}", "public final String getPattern() {\n/* 187 */ return this.m_pattern;\n/* */ }", "public String getPattern() {\n\treturn pattern;\n }", "public Regex mo131901a(int i) {\n C32591j jVar = C32645l.m150681b(this.f111785a.m150658d(), i);\n if (jVar.getStart().intValue() < 0) {\n return null;\n }\n String group = this.f111785a.m150658d().group(i);\n C32569u.m150513a((Object) group, \"matchResult.group(index)\");\n return new Regex(group, jVar);\n }", "@Override\n\tpublic void visit(RegExpMatchOperator arg0) {\n\t\t\n\t}", "@Test //TEST FOUR\n void testOneNumberinRabbitName()\n {\n Rabbit_RegEx rabbit_Name = new Rabbit_RegEx();\n rabbit_Name.setRabbitName(\"MO0N\");\n assertFalse(rabbit_Name.getRabbitName().matches(\"[A-Za-z-]*\"));\n }", "private LiteralToken nextRegularExpressionLiteralToken() {\n LiteralToken token = scanner.nextRegularExpressionLiteralToken();\n lastSourcePosition = token.location.end;\n return token;\n }", "public String getPattern() {\r\n \treturn pattern;\r\n }", "public int getPattern() {\n return this.pattern;\n }" ]
[ "0.72026896", "0.7194223", "0.7194223", "0.68615586", "0.6858206", "0.67436427", "0.6587065", "0.6512296", "0.64326847", "0.6404885", "0.63460666", "0.6331", "0.6291084", "0.6286594", "0.6254456", "0.6238955", "0.6219856", "0.6202358", "0.6189153", "0.61239773", "0.610071", "0.6062738", "0.6032594", "0.5924192", "0.59115654", "0.5864164", "0.58572525", "0.58453", "0.58453", "0.5841216", "0.58262175", "0.5814594", "0.5811531", "0.58056986", "0.580481", "0.57985896", "0.5770896", "0.57697666", "0.57547474", "0.5754631", "0.5754291", "0.57499665", "0.57477105", "0.5747135", "0.57377404", "0.5728356", "0.5720464", "0.57105994", "0.569544", "0.5688132", "0.56866807", "0.5680289", "0.5667682", "0.56612164", "0.56564504", "0.5585063", "0.5555574", "0.5529932", "0.55271614", "0.5522922", "0.55216306", "0.5515437", "0.55144066", "0.5475341", "0.54649585", "0.54602605", "0.54552746", "0.5454531", "0.54507446", "0.54498005", "0.54474837", "0.5440438", "0.54248166", "0.54176825", "0.541224", "0.5411842", "0.5410461", "0.54078144", "0.5407357", "0.5399649", "0.53911847", "0.5381891", "0.5381891", "0.53741324", "0.5369898", "0.5353865", "0.53480643", "0.53464174", "0.53416866", "0.5329152", "0.53245693", "0.5322008", "0.5312056", "0.52923334", "0.5292296", "0.5286544", "0.5280226", "0.5259832", "0.5251492" ]
0.59982014
23
string regex = 1;
public com.google.protobuf.ByteString getRegexBytes() { java.lang.Object ref = regex_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); regex_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getRegex();", "java.lang.String getRegex();", "java.lang.String getRegex();", "public void setRegex (String regex)\n {\n this.regex = regex;\n }", "public String getRegEx();", "public RegExp (final int type)\n {\n this.type = type;\n }", "public RegexPatternBuilder (String regex)\n {\n this.regex = regex;\n }", "public String getRegEx() {\r\n return regex;\r\n }", "public GrammaticaRE(String regex) throws Exception {\n regExp = new RegExp(regex, ignoreCase);\n }", "public final native void setRegex(String regex) /*-{\n\t\tthis.regex = regex;\n\t}-*/;", "@objid (\"d7eead28-9a1c-4037-9797-4868268b54d4\")\n public RegexVerifier(String regex) {\n this.regex = regex;\n }", "public void setRegex(String regex) {\n this.regex = regex;\n }", "public static void TestRegex()\n\t{\n\t String line = \" if( aaa&&(ypbreg))\";\n\t String pattern = \"(&&)\\\\s*\\\\(*\\\\s*!?ypbreg\\\\)*\";\n\t // Create a Pattern object\n\t Pattern r = Pattern.compile(pattern);\n\t System.out.println(line.contains(pattern));\n\t // Now create matcher object.\n\t Matcher m = r.matcher(line);\n\t if (m.find( )) {\n\t // System.out.println(\"Found value: \" + m.group(0) );\n\t int count = m.groupCount();\n\t System.out.println(\"group count is \"+count);\n\t for(int i=0;i<count;i++){\n\t System.out.println(m.group(i));\n\t }\n\t // System.out.println(line.replaceFirst(BregPattern.pEqualTrue1, \"!$1\"));\n\n\t } else {\n\t System.out.println(\"NO MATCH\");\n\t }\n\t}", "public RegularExpression() {\n }", "public interface RegExp {\n String NUMBER_OF_COMPOSITION = \"^[1-2][0-9]|[1-9]$\";\n String BREAK_DATE_BY_DOT = \"[.]\";\n String IDENTIFY_BUMDLE = \"^([E|e][N|n])|[У|у][К|к][Р|р]$\";\n String DURATION = \"^[1-9]|[1-9][0-9]|[1-4][0-9][0-9]$\";\n}", "public java.lang.String getRegexStr() {\r\n return regexStr;\r\n }", "public Pattern regexPattern(String regex) {\n return Pattern.compile(regex);\n }", "@Override\n protected void compileRegex(String regex) {\n }", "protected abstract Regex pattern();", "boolean hasRegex();", "public JavaRE(String regex) throws Exception {\n if (ignoreCase) {\n pattern = Pattern.compile(regex, Pattern.CASE_INSENSITIVE);\n } else {\n pattern = Pattern.compile(regex);\n }\n }", "@Test\n public void testParseRegexp_valid3() throws InvalidRegexpException {\n BasicRegexp re = BasicRegexp.parseRegexp(\"a b c d\");\n assertEquals(re.toString(), \"abcd\");\n }", "private\n\tRegExHelper()\n\t{\n\t\tsuper();\n\t}", "public java.lang.String getRegex() {\n java.lang.Object ref = regex_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n regex_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getRegex() {\n java.lang.Object ref = regex_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n regex_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "@Override\n public boolean isRegex() {\n return false;\n }", "public String get_isregex() throws Exception {\n\t\treturn this.isregex;\n\t}", "public Boolean getbRegex() {\r\n\t\treturn bRegex;\r\n\t}", "public interface RegExp {\n String NAME_REGEXP = \"^[А-Я][а-я]{2,30}$\";\n String AGE_REGEXP = \"^((1[012][0-9])|([1-9][0-9]))$\";\n String EMAIL_REGEXP = \"^[-z0-9_.]{1,30}@([A-z]+[A-z0-9]{1,15}.){1,2}([A-z]+[A-z0-9]{1,15})$\";\n String CELL_PHONE_REGEXP = \"([\\\\+]\\\\d{2}\\\\s?)?(([\\\\(\\\\s]\\\\d{3}[\\\\)\\\\s])|\" +\n \"(\\\\d{3}))[\\\\s-]?\\\\d{3}[\\\\s-]?\\\\d{2}[\\\\s-]?\\\\d{2}$\";\n String CELL_PHONE_OPTIONAL_REGEXP = \"^(([\\\\+]\\\\d{2}\\\\s?)?(([\\\\(\\\\s]\\\\d{3}[\\\\)\\\\s])|\" +\n \"(\\\\d{3}))[\\\\s-]?\\\\d{3}[\\\\s-]?\\\\d{2}[\\\\s-]?\\\\d{2})?\";\n String LOCAL_PHONE_REGEXP = \"^([\\\\+]\\\\d{2}\\\\s?)?(([\\\\(\\\\s]\\\\d{3}[\\\\)\\\\s])|(\\\\d{3}))?[\\\\s-]?\\\\d{3}[\\\\s-]?\\\\d{3}$\";\n String COMMENT_REGEXP = \"^([\\\\d\\\\s\\\\w\\\\.\\\\,\\\\!]){0,127}$\";\n String GROUP_REGEXP = \"^[А-я]{4,10}$\";\n String SKYPE_NICK_REGEXP = \"^[\\\\w\\\\d\\\\_]{3,20}$\";\n String INDEX_REGEXP = \"^[\\\\d]{8}$\";\n String CITY_STREET_REGEXP = \"^[А-Я][а-я]{3,20}$\";\n String BUILDING_REGEXP = \"^[\\\\d]{1,3}[\\\\w]?$\";\n String FLAT_REGEXP = \"^[\\\\d]{1,3}$\";\n}", "public Builder setRegex(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n\n regex_ = value;\n onChanged();\n return this;\n }", "public Builder setRegex(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n\n regex_ = value;\n onChanged();\n return this;\n }", "public void setRegexStr(java.lang.String regexStr) {\r\n this.regexStr = regexStr;\r\n }", "public String getMatchRegex() {\n return matchRegex;\n }", "String regen();", "public static void main(String[] args) {\n\t\t Pattern p = Pattern.compile(\"(a+)\");\r\n\t\t Matcher m = p.matcher(\"aaaaaba\");\r\n\t\t //System.out.println(m.matches())\r\n\t\t m.find();\t\t \r\n\t\t m.find();\r\n\t\t System.out.println(\"grCount \"+m.groupCount());\t \r\n\t\t MatchResult mr = m.toMatchResult();\r\n\t\t \r\n\t\t System.out.println(m.end());\r\n\t\t System.out.println(\"'\"+mr.group()+\"'\");\r\n\t\t System.out.println(\"start \"+mr.start(1));\r\n\t\t \r\n\t}", "@java.lang.Override\n public java.lang.String getRegex() {\n java.lang.Object ref = regex_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n regex_ = s;\n return s;\n }\n }", "@java.lang.Override\n public java.lang.String getRegex() {\n java.lang.Object ref = regex_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n regex_ = s;\n return s;\n }\n }", "int mo5882g(String str);", "com.google.protobuf.ByteString\n getRegexBytes();", "com.google.protobuf.ByteString\n getRegexBytes();", "@Test\n public void testParseRegexp_correctness1new()\n throws InvalidRegexpException {\n BasicRegexp re = BasicRegexp.parseRegexp(\"(01|10)*1111\");\n assertEquals(re.toString(), \"(01|10)*1111\");\n }", "public void set_isregex(String isregex) throws Exception{\n\t\tthis.isregex = isregex;\n\t}", "public static void main(String[] args) {\r\n\t\t boolean matches_1 = Pattern.matches(\"[a-zA-Z0-9]{4}\", \"0Aa1\");\r\n\t\t boolean matches_2 = Pattern.matches(\"[a-zA-Z0-9]{4}\", \"0A@a1\");\r\n\t\t\t System.out.println(\"Regular Expression is \"+matches_1 +\" for given string(0Aa1)\");\r\n\t\t\t System.out.println(\"Regular Expression is \"+matches_2 +\" for given string(0A@a1)\");\r\n\t}", "public static void main(String[] args) {\n Pattern p = Pattern.compile(\"2*5?$\");\n Matcher m = p.matcher(regex1);\n if (m.matches()) {\n System.out.println(\"YES ¦ \");\n } else {\n System.out.println(\"NO\");\n }\n\n }", "@Override\n\tpublic boolean test(MyRegex t) {\n\t\treturn false;\n\t}", "private String parseRegExp(String exp) throws Exception {\r\n\t\treturn RegexpTranslationHelper.translateANTLRToAutomatonStyle(exp);\r\n\t}", "@Test\n public void testParseRegexp_valid7() throws InvalidRegexpException {\n BasicRegexp re = BasicRegexp.parseRegexp(\"abc*def\");\n assertEquals(re.toString(), \"abc*def\");\n }", "public final String getRegex() {\n\t\treturn JsUtils.getNativePropertyString(this, \"regex\");\n\t}", "public RegexPatternBuilder ()\n {\n this.regex = null;\n }", "private boolean isRegexValid(String string)\n {\n try\n {\n Pattern.compile(string, Pattern.MULTILINE);\n return true;\n }\n catch (PatternSyntaxException e)\n {\n return false;\n }\n }", "public java.lang.Short getRegexMatch() {\r\n return regexMatch;\r\n }", "@Test\n public void testParseRegexp_valid6() throws InvalidRegexpException {\n BasicRegexp re = BasicRegexp.parseRegexp(\"ab(cd(e))ff\");\n assertEquals(re.toString(), \"abcdeff\");\n }", "@Override // kotlin.p2243e.p2244a.AbstractC32522b\n public /* synthetic */ Regex invoke(Integer num) {\n return mo131903a(num.intValue());\n }", "public static TextP regex(final String value) {\n return new TextP(new Text.RegexPredicate(value, false), value);\n }", "public static Term createRegExp(Expression exp) {\r\n\t\tTerm term = Term.function(REGEX, exp);\r\n\t\treturn term;\r\n\t}", "public Pattern getValidStringPattern();", "@Test\r\n public void testRegexp() throws Exception {\n\r\n String a = \"a/b/100/test\";\r\n\r\n Pattern pattern = Pattern.compile(\".+/(\\\\d+)/test\");\r\n\r\n System.out.println(parseIdFromUriPath(a, pattern));\r\n\r\n }", "public static Regex compile(String pattern, int cflags) throws RegexException {\n return new Regex(pattern, REG_EXTENDED | cflags);\n }", "public Expression setRegexTest(Expression exp, Expression test){\r\n\t\tregexExpr.put(exp, test);\r\n\t\tExpression tt = Term.function(Term.TEST);\r\n\t\ttt.setExpr(test);\r\n\t\tExpression seq = sequence(exp, tt);\r\n\t\treturn seq;\r\n\t}", "C11998c mo41092g(String str);", "@Test\n public void contactNumber_WhenValid_ShouldReturnTrue(){\n RegexTest valid = new RegexTest();\n boolean result = valid.contactNumber( \"91 1234567890\");\n Assert.assertEquals(true,result);\n }", "@Test\n public void testDebugPrintBasicRegexp() throws InvalidRegexpException {\n BasicRegexp re1 = BasicRegexp.parseRegexp(\"(01|10)*1111\");\n BasicRegexp.debugPrintBasicRegexp(0, re1);\n }", "@Test\r\n public void testGetRegexp() {\r\n final Regexp re = rs.getRegexp(reString);\r\n assertTrue(rs.hasRegexp(reString));\r\n assertSame(rs.getRegexp(reString), re);\r\n }", "public String checkRegularExpression(String input) {\n String actualResult=\"\";\n String pattern=\".*harry*\";\n boolean value= Pattern.matches(pattern,input);\n actualResult+=\"Is harry there?\"+value;\n return actualResult;\n\n }", "public static void main(String[] args) {\n//\n// String pattern = \"abba\";\n// String s = \"dog cat cat fish\";\n\n\n// String pattern = \"aaaa\";\n// String s = \"dog cat cat dog\";\n\n String pattern = \"abba\";\n String s = \"dog dog dog dog\";\n\n// String pattern = \"e\";\n// String s = \"eukera\";\n\n boolean flag = wordPattern(pattern, s);\n\n System.out.println(flag);\n }", "public RegexGrep(ShellEnvironment env, String[] args) {\n super(env, args);\n this.regex = Pattern.compile(args[0]);\n }", "@Test\n public void wordPatternTest() {\n String pattern = \"aaa\", str = \"aa aa aa aa\";\n boolean ans = instance.wordPattern(pattern, str);\n System.out.println(ans);\n }", "@Test\n public void testParseRegexp_valid1() throws InvalidRegexpException {\n BasicRegexp re = BasicRegexp.parseRegexp(\"\");\n assertEquals(re, null);\n }", "@Test(expected = InvalidRegexpException.class)\n public void testParseRegexp_invalid8() throws Throwable {\n BasicRegexp.parseRegexp(\"()\");\n }", "void mo37759a(String str);", "private static String globToRegex(final String glob) {\n return \"^\" + glob.replace(\".\", \"\\\\.\").replace(\"*\", \".*\") + \"$\";\n }", "void mo12635a(String str);", "com.google.privacy.dlp.v2.CustomInfoType.Regex getRegex();", "public static String toRegex(String param) \r\n\t{\r\n\t\tStringBuffer regex = new StringBuffer();\r\n\t\tfor( int i=0; i < param.length(); i++ ) \r\n\t\t{\r\n\t\t\tchar next = param.charAt( i );\r\n\t\t\t if ('*' == next) regex.append( \".+\" ); // -> multi-character match wild card\r\n\t\t\telse if ('?' == next) regex.append( \".\" ); // -> single-character match wild card\r\n\t\t\telse if ('.' == next) regex.append( \"\\\\.\" ); // all of these are special regex characters we are quoting\r\n\t\t\telse if ('+' == next) regex.append( \"\\\\+\" ); \r\n\t\t\telse if ('$' == next) regex.append( \"\\\\$\" ); \r\n\t\t\telse if ('\\\\' == next) regex.append( \"\\\\\\\\\" ); \r\n\t\t\telse if ('[' == next) regex.append( \"\\\\[\" ); \r\n\t\t\telse if (']' == next) regex.append( \"\\\\]\" ); \r\n\t\t\telse if ('{' == next) regex.append( \"\\\\{\" ); \r\n\t\t\telse if ('}' == next) regex.append( \"\\\\}\" ); \r\n\t\t\telse if ('(' == next) regex.append( \"\\\\(\" ); \r\n\t\t\telse if (')' == next) regex.append( \"\\\\)\" ); \r\n\t\t\telse if ('&' == next) regex.append( \"\\\\&\" ); \r\n\t\t\telse if ('^' == next) regex.append( \"\\\\^\" ); \r\n\t\t\telse if ('-' == next) regex.append( \"\\\\-\" ); \r\n\t\t\telse if ('|' == next) regex.append( \"\\\\|\" ); \r\n\t\t\telse regex.append( next );\r\n\t\t}\r\n\t\t\r\n\t\treturn regex.toString();\r\n\t}", "public GlobFilenameFilter(String regex) {\n super(__CACHE, __MATCHER, regex);\n }", "public static void main(String[] args) {\n// System.out.println(alphanumeric.replaceAll(\"[aei]\", \"x\"));\n\n\n String regex = \"^[A-Z]|[a-z]\";\n String username = \"kaaviya\";\n\n System.out.println(username.replaceAll( \"^[A-Za-z][A-Za-z0-9_]{7,29}$\", \"x\"));\n System.out.println(username.matches(regex));\n\n }", "String mo2801a(String str);", "public static Regex compile(String pattern) throws RegexException {\n return compile(pattern, 0);\n }", "public static void main(String[] args) throws Exception {\n String patronA = \"[0-5]\";\n\n // conjunto de letras de \"a\" a \"c\"\n String patronB = \"[a-c]\";\n\n // conjunto de todas las letras minusculas\n String patronC = \"[a-z]\";\n\n // conjunto de numeros\n String patronD = \"[0-9]\";\n\n // ejemplo con tipo de dato string\n String textoAlfanumerico = \"0123aaaa\";\n System.out.println(\"Texto alfanumerico:\" + textoAlfanumerico);\n\n String replace1 = textoAlfanumerico.replaceAll(patronA, \"X\");\n System.out.println(\"Reemplazo de numeros con X: \" + replace1);\n\n String replace2 = textoAlfanumerico.replaceAll(patronB, \"X\");\n System.out.println(\"Reemplazo de letras con X: \" + replace2);\n\n\n //[0-5][a-c];\n //String patronComplejo = patronA + patronB;\n\n //[a-c]*[0-5]*\n //String patronComplejo = patronA + \"*\" + patronB + \"*\";\n\n //\"[a-z]+\"\n\n // + = una coincidencia\n // * = ninguna o muchas\n\n //String patronComplejo = \"(\" + patronA + patronC + \")+\";\n String patronComplejo = \"(\" + patronC + \")+\";\n\n String texto = \"hola, aacc este bbcc es mi 55222aaa texto 2663aaaa blah blah\";\n System.out.println(\"patron complejo:\" + patronComplejo);\n System.out.println(texto);\n\n Pattern pattern = Pattern.compile(patronComplejo);\n Matcher matcher = pattern.matcher(texto);\n\n // buscar ocurrencias\n while (matcher.find()) {\n System.out.println(\"Encontrado:\" + matcher.group());\n }\n\n\n }", "@Test\n public void testOptimise_2() throws InvalidRegexpException {\n BasicRegexp re1 = BasicRegexp.parseRegexp(\"a+++++++++++++++++++++\");\n\n assertEquals(re1.optimise(BasicRegexp.OPTIMISE_ALL, -1).toString(),\n \"a+\");\n }", "public String returnRegex() {\n\t\tString chosenRegex;\n\t\tSystem.out.println(\"selectedRegex value is: \" + selectedRegex);\n\t\tswitch (selectedRegex) {\n\t\tcase 1:\n\t\t\tchosenRegex = \"(\\\\&?\\\\??t=\\\\d*?[h]?\\\\d*[m]?\\\\d*[s]|\\\\&t=\\\\d*)\";\n\t\t\tbreak;\n\t\tcase 2:\n\t\t\tchosenRegex = \"(\\\\&list=[a-zA-Z 0-9 -]+\\\\&?index=?\\\\d+?)\";\n\t\t\tbreak;\n\t\tcase 3:\n\t\t\tchosenRegex = \"(\\\\&feature=youtu.be)\";\n\t\t\tbreak;\n\t\tdefault:\n\t\t\tchosenRegex = \"\\\\?t.*|\\\\&t.*|\\\\&l.*|\\\\&f.*\"; // alternative:\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// (\\\\&?\\\\??t=\\\\d*?[h]?\\\\d*[m]?\\\\d*[s]|\\\\&t=\\\\d*|\\\\&list=[a-zA-Z\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// 0-9 -]*)\n\t\t\tbreak;\n\t\t}\n\t\tSystem.out.println(chosenRegex);\n\t\treturn chosenRegex;\n\t}", "@java.lang.Override\n public com.google.protobuf.ByteString\n getRegexBytes() {\n java.lang.Object ref = regex_;\n if (ref instanceof java.lang.String) {\n com.google.protobuf.ByteString b =\n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n regex_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "@java.lang.Override\n public com.google.protobuf.ByteString\n getRegexBytes() {\n java.lang.Object ref = regex_;\n if (ref instanceof java.lang.String) {\n com.google.protobuf.ByteString b =\n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n regex_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "private static String adaptRegEx(Mode mode, String regex, int flagMask, boolean removeWhitespace)\n throws QueryException {\n StringBuilder sb = new StringBuilder();\n boolean escaped = false;\n boolean groupStart = false;\n int completeGroups = 0;\n int backRef = 0;\n int charClassDepth = 0;\n int groupDepth = 0;\n\n for (char c : regex.toCharArray()) {\n if (escaped) {\n if (backRef == 0 && c == '0') {\n throw new QueryException(ErrorCode.ERR_INVALID_REGULAR_EXPRESSION, \"Reference to group 0 not allowed\");\n } else if (c >= '0' && c <= '9') {\n if (charClassDepth > 0) {\n throw new QueryException(ErrorCode.ERR_INVALID_REGULAR_EXPRESSION,\n \"Back references in character class expressions\" + \" are disallowed.\");\n }\n backRef = backRef * 10 + Integer.parseInt(Character.toString(c));\n continue;\n }\n }\n\n if (backRef > 0) {\n // Check back reference that just ended\n if (backRef > completeGroups) {\n throw new QueryException(ErrorCode.ERR_INVALID_REGULAR_EXPRESSION,\n \"Back reference to nonexisting or unfinished group.\");\n } else {\n backRef = 0;\n escaped = false;\n }\n }\n\n if (c == '\\\\' && !escaped) {\n // Not preceded by backslash\n escaped = true;\n groupStart = false;\n continue;\n }\n\n if (c == '(' && !escaped) {\n groupStart = true;\n groupDepth++;\n escaped = false;\n continue;\n }\n\n if (c == '?' && !escaped && groupStart) {\n throw new QueryException(ErrorCode.ERR_INVALID_REGULAR_EXPRESSION,\n \"Pure groups are not supported in XQuery regular expressions.\");\n } else if (c == ')' && !escaped) {\n if (--groupDepth < 0) {\n throw new QueryException(ErrorCode.ERR_INVALID_REGULAR_EXPRESSION, \"Invalid sequence of brackets.\");\n }\n completeGroups++;\n } else if (c == '[' && !escaped) {\n charClassDepth++;\n } else if (c == ']' && !escaped) {\n if (--charClassDepth < 0) {\n throw new QueryException(ErrorCode.ERR_INVALID_REGULAR_EXPRESSION, \"Invalid sequence of brackets.\");\n }\n } else if (removeWhitespace) {\n // Remove whitespace outside of character classes\n if (charClassDepth == 0 && WHITESPACE.contains(c)) {\n // Don't touch boolean flags\n continue;\n }\n\n sb.append(c);\n }\n\n groupStart = false;\n escaped = false;\n }\n\n // Check for trailing '\\' (only valid with subsequent characters)\n if (escaped && backRef == 0) {\n throw new QueryException(ErrorCode.ERR_INVALID_REGULAR_EXPRESSION, \"Trailing backslash character in pattern.\");\n }\n\n // Check back reference if that was last token in pattern\n if (backRef > 0 && backRef > completeGroups) {\n throw new QueryException(ErrorCode.ERR_INVALID_REGULAR_EXPRESSION,\n \"Back reference to nonexisting or unfinished group.\");\n }\n\n // Check for dangling brackets\n if (charClassDepth != 0 || groupDepth != 0) {\n throw new QueryException(ErrorCode.ERR_INVALID_REGULAR_EXPRESSION, \"Pattern contains dangling brackets.\");\n }\n\n if (!removeWhitespace) {\n sb.append(regex);\n }\n\n if (mode == Mode.MATCH) {\n // Adapt for XQuery substring matching by extending pattern\n if (sb.charAt(0) != '^' || ((flagMask & Pattern.MULTILINE) == Pattern.MULTILINE)) {\n if ((flagMask & Pattern.DOTALL) == Pattern.DOTALL) {\n sb.insert(0, \".*\");\n } else {\n sb.insert(0, \"(?s:.*)\");\n }\n }\n\n if (sb.charAt(sb.length() - 1) != '$' || ((flagMask & Pattern.MULTILINE) == Pattern.MULTILINE)) {\n if ((flagMask & Pattern.DOTALL) == Pattern.DOTALL) {\n sb.append(\".*\");\n } else {\n sb.append(\"(?s:.*)\");\n }\n }\n }\n\n return sb.toString();\n }", "public RegExp anyChar ()\n {\n // FIXME: there is some code duplication here with the parser\n final List <Interval> list = new ArrayList <> ();\n list.add (new Interval (0, CharClasses.maxChar));\n return new RegExp1 (sym.CCLASS, list);\n }", "protected String hookGetRegex() \r\n\t{\n\t\treturn \"\\\\s+\"; \r\n\t}", "private static boolean matchRegex(Pattern regExpression, String filename) {\n\t\tMatcher m = regExpression.matcher(filename);\n\t\tif (m.matches()) {\n\t\t\treturn true;\n\t\t} else {\n\t\t\treturn false;\n\t\t}\n\t}", "RegExConstraint createRegExConstraint();", "public void setRegexMatch(java.lang.Short regexMatch) {\r\n this.regexMatch = regexMatch;\r\n }", "void mo5871a(String str);", "private JBurgPatternMatcher()\n\t{\n\t}", "public final String getPattern() {\n/* 187 */ return this.m_pattern;\n/* */ }", "public String getPattern() {\n\treturn pattern;\n }", "public Regex mo131901a(int i) {\n C32591j jVar = C32645l.m150681b(this.f111785a.m150658d(), i);\n if (jVar.getStart().intValue() < 0) {\n return null;\n }\n String group = this.f111785a.m150658d().group(i);\n C32569u.m150513a((Object) group, \"matchResult.group(index)\");\n return new Regex(group, jVar);\n }", "@Override\n\tpublic void visit(RegExpMatchOperator arg0) {\n\t\t\n\t}", "@Test //TEST FOUR\n void testOneNumberinRabbitName()\n {\n Rabbit_RegEx rabbit_Name = new Rabbit_RegEx();\n rabbit_Name.setRabbitName(\"MO0N\");\n assertFalse(rabbit_Name.getRabbitName().matches(\"[A-Za-z-]*\"));\n }", "private LiteralToken nextRegularExpressionLiteralToken() {\n LiteralToken token = scanner.nextRegularExpressionLiteralToken();\n lastSourcePosition = token.location.end;\n return token;\n }", "public String getPattern() {\r\n \treturn pattern;\r\n }", "public int getPattern() {\n return this.pattern;\n }" ]
[ "0.72026896", "0.7194223", "0.7194223", "0.68615586", "0.6858206", "0.67436427", "0.6587065", "0.6512296", "0.64326847", "0.6404885", "0.63460666", "0.6331", "0.6291084", "0.6286594", "0.6254456", "0.6238955", "0.6219856", "0.6202358", "0.6189153", "0.61239773", "0.610071", "0.6062738", "0.6032594", "0.59982014", "0.5996874", "0.5924192", "0.59115654", "0.5864164", "0.58572525", "0.58453", "0.58453", "0.5841216", "0.58262175", "0.5814594", "0.5811531", "0.58056986", "0.580481", "0.57985896", "0.5770896", "0.57697666", "0.57547474", "0.5754631", "0.5754291", "0.57499665", "0.57477105", "0.5747135", "0.57377404", "0.5728356", "0.5720464", "0.57105994", "0.569544", "0.5688132", "0.56866807", "0.5680289", "0.5667682", "0.56612164", "0.56564504", "0.5585063", "0.5555574", "0.5529932", "0.55271614", "0.5522922", "0.55216306", "0.5515437", "0.55144066", "0.5475341", "0.54649585", "0.54602605", "0.54552746", "0.5454531", "0.54507446", "0.54498005", "0.54474837", "0.5440438", "0.54248166", "0.54176825", "0.541224", "0.54078144", "0.5407357", "0.5399649", "0.53911847", "0.5381891", "0.5381891", "0.53741324", "0.5369898", "0.5353865", "0.53480643", "0.53464174", "0.53416866", "0.5329152", "0.53245693", "0.5322008", "0.5312056", "0.52923334", "0.5292296", "0.5286544", "0.5280226", "0.5259832", "0.5251492" ]
0.5410461
78
string regex = 1;
public Builder setRegex( java.lang.String value) { if (value == null) { throw new NullPointerException(); } regex_ = value; onChanged(); return this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getRegex();", "java.lang.String getRegex();", "java.lang.String getRegex();", "public void setRegex (String regex)\n {\n this.regex = regex;\n }", "public String getRegEx();", "public RegExp (final int type)\n {\n this.type = type;\n }", "public RegexPatternBuilder (String regex)\n {\n this.regex = regex;\n }", "public String getRegEx() {\r\n return regex;\r\n }", "public GrammaticaRE(String regex) throws Exception {\n regExp = new RegExp(regex, ignoreCase);\n }", "public final native void setRegex(String regex) /*-{\n\t\tthis.regex = regex;\n\t}-*/;", "@objid (\"d7eead28-9a1c-4037-9797-4868268b54d4\")\n public RegexVerifier(String regex) {\n this.regex = regex;\n }", "public void setRegex(String regex) {\n this.regex = regex;\n }", "public static void TestRegex()\n\t{\n\t String line = \" if( aaa&&(ypbreg))\";\n\t String pattern = \"(&&)\\\\s*\\\\(*\\\\s*!?ypbreg\\\\)*\";\n\t // Create a Pattern object\n\t Pattern r = Pattern.compile(pattern);\n\t System.out.println(line.contains(pattern));\n\t // Now create matcher object.\n\t Matcher m = r.matcher(line);\n\t if (m.find( )) {\n\t // System.out.println(\"Found value: \" + m.group(0) );\n\t int count = m.groupCount();\n\t System.out.println(\"group count is \"+count);\n\t for(int i=0;i<count;i++){\n\t System.out.println(m.group(i));\n\t }\n\t // System.out.println(line.replaceFirst(BregPattern.pEqualTrue1, \"!$1\"));\n\n\t } else {\n\t System.out.println(\"NO MATCH\");\n\t }\n\t}", "public RegularExpression() {\n }", "public interface RegExp {\n String NUMBER_OF_COMPOSITION = \"^[1-2][0-9]|[1-9]$\";\n String BREAK_DATE_BY_DOT = \"[.]\";\n String IDENTIFY_BUMDLE = \"^([E|e][N|n])|[У|у][К|к][Р|р]$\";\n String DURATION = \"^[1-9]|[1-9][0-9]|[1-4][0-9][0-9]$\";\n}", "public java.lang.String getRegexStr() {\r\n return regexStr;\r\n }", "public Pattern regexPattern(String regex) {\n return Pattern.compile(regex);\n }", "@Override\n protected void compileRegex(String regex) {\n }", "protected abstract Regex pattern();", "boolean hasRegex();", "public JavaRE(String regex) throws Exception {\n if (ignoreCase) {\n pattern = Pattern.compile(regex, Pattern.CASE_INSENSITIVE);\n } else {\n pattern = Pattern.compile(regex);\n }\n }", "@Test\n public void testParseRegexp_valid3() throws InvalidRegexpException {\n BasicRegexp re = BasicRegexp.parseRegexp(\"a b c d\");\n assertEquals(re.toString(), \"abcd\");\n }", "private\n\tRegExHelper()\n\t{\n\t\tsuper();\n\t}", "public java.lang.String getRegex() {\n java.lang.Object ref = regex_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n regex_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getRegex() {\n java.lang.Object ref = regex_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n regex_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "@Override\n public boolean isRegex() {\n return false;\n }", "public String get_isregex() throws Exception {\n\t\treturn this.isregex;\n\t}", "public Boolean getbRegex() {\r\n\t\treturn bRegex;\r\n\t}", "public interface RegExp {\n String NAME_REGEXP = \"^[А-Я][а-я]{2,30}$\";\n String AGE_REGEXP = \"^((1[012][0-9])|([1-9][0-9]))$\";\n String EMAIL_REGEXP = \"^[-z0-9_.]{1,30}@([A-z]+[A-z0-9]{1,15}.){1,2}([A-z]+[A-z0-9]{1,15})$\";\n String CELL_PHONE_REGEXP = \"([\\\\+]\\\\d{2}\\\\s?)?(([\\\\(\\\\s]\\\\d{3}[\\\\)\\\\s])|\" +\n \"(\\\\d{3}))[\\\\s-]?\\\\d{3}[\\\\s-]?\\\\d{2}[\\\\s-]?\\\\d{2}$\";\n String CELL_PHONE_OPTIONAL_REGEXP = \"^(([\\\\+]\\\\d{2}\\\\s?)?(([\\\\(\\\\s]\\\\d{3}[\\\\)\\\\s])|\" +\n \"(\\\\d{3}))[\\\\s-]?\\\\d{3}[\\\\s-]?\\\\d{2}[\\\\s-]?\\\\d{2})?\";\n String LOCAL_PHONE_REGEXP = \"^([\\\\+]\\\\d{2}\\\\s?)?(([\\\\(\\\\s]\\\\d{3}[\\\\)\\\\s])|(\\\\d{3}))?[\\\\s-]?\\\\d{3}[\\\\s-]?\\\\d{3}$\";\n String COMMENT_REGEXP = \"^([\\\\d\\\\s\\\\w\\\\.\\\\,\\\\!]){0,127}$\";\n String GROUP_REGEXP = \"^[А-я]{4,10}$\";\n String SKYPE_NICK_REGEXP = \"^[\\\\w\\\\d\\\\_]{3,20}$\";\n String INDEX_REGEXP = \"^[\\\\d]{8}$\";\n String CITY_STREET_REGEXP = \"^[А-Я][а-я]{3,20}$\";\n String BUILDING_REGEXP = \"^[\\\\d]{1,3}[\\\\w]?$\";\n String FLAT_REGEXP = \"^[\\\\d]{1,3}$\";\n}", "public void setRegexStr(java.lang.String regexStr) {\r\n this.regexStr = regexStr;\r\n }", "public String getMatchRegex() {\n return matchRegex;\n }", "String regen();", "public static void main(String[] args) {\n\t\t Pattern p = Pattern.compile(\"(a+)\");\r\n\t\t Matcher m = p.matcher(\"aaaaaba\");\r\n\t\t //System.out.println(m.matches())\r\n\t\t m.find();\t\t \r\n\t\t m.find();\r\n\t\t System.out.println(\"grCount \"+m.groupCount());\t \r\n\t\t MatchResult mr = m.toMatchResult();\r\n\t\t \r\n\t\t System.out.println(m.end());\r\n\t\t System.out.println(\"'\"+mr.group()+\"'\");\r\n\t\t System.out.println(\"start \"+mr.start(1));\r\n\t\t \r\n\t}", "@java.lang.Override\n public java.lang.String getRegex() {\n java.lang.Object ref = regex_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n regex_ = s;\n return s;\n }\n }", "@java.lang.Override\n public java.lang.String getRegex() {\n java.lang.Object ref = regex_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n regex_ = s;\n return s;\n }\n }", "int mo5882g(String str);", "com.google.protobuf.ByteString\n getRegexBytes();", "com.google.protobuf.ByteString\n getRegexBytes();", "@Test\n public void testParseRegexp_correctness1new()\n throws InvalidRegexpException {\n BasicRegexp re = BasicRegexp.parseRegexp(\"(01|10)*1111\");\n assertEquals(re.toString(), \"(01|10)*1111\");\n }", "public void set_isregex(String isregex) throws Exception{\n\t\tthis.isregex = isregex;\n\t}", "public static void main(String[] args) {\r\n\t\t boolean matches_1 = Pattern.matches(\"[a-zA-Z0-9]{4}\", \"0Aa1\");\r\n\t\t boolean matches_2 = Pattern.matches(\"[a-zA-Z0-9]{4}\", \"0A@a1\");\r\n\t\t\t System.out.println(\"Regular Expression is \"+matches_1 +\" for given string(0Aa1)\");\r\n\t\t\t System.out.println(\"Regular Expression is \"+matches_2 +\" for given string(0A@a1)\");\r\n\t}", "public static void main(String[] args) {\n Pattern p = Pattern.compile(\"2*5?$\");\n Matcher m = p.matcher(regex1);\n if (m.matches()) {\n System.out.println(\"YES ¦ \");\n } else {\n System.out.println(\"NO\");\n }\n\n }", "@Override\n\tpublic boolean test(MyRegex t) {\n\t\treturn false;\n\t}", "private String parseRegExp(String exp) throws Exception {\r\n\t\treturn RegexpTranslationHelper.translateANTLRToAutomatonStyle(exp);\r\n\t}", "@Test\n public void testParseRegexp_valid7() throws InvalidRegexpException {\n BasicRegexp re = BasicRegexp.parseRegexp(\"abc*def\");\n assertEquals(re.toString(), \"abc*def\");\n }", "public final String getRegex() {\n\t\treturn JsUtils.getNativePropertyString(this, \"regex\");\n\t}", "public RegexPatternBuilder ()\n {\n this.regex = null;\n }", "private boolean isRegexValid(String string)\n {\n try\n {\n Pattern.compile(string, Pattern.MULTILINE);\n return true;\n }\n catch (PatternSyntaxException e)\n {\n return false;\n }\n }", "public java.lang.Short getRegexMatch() {\r\n return regexMatch;\r\n }", "@Test\n public void testParseRegexp_valid6() throws InvalidRegexpException {\n BasicRegexp re = BasicRegexp.parseRegexp(\"ab(cd(e))ff\");\n assertEquals(re.toString(), \"abcdeff\");\n }", "@Override // kotlin.p2243e.p2244a.AbstractC32522b\n public /* synthetic */ Regex invoke(Integer num) {\n return mo131903a(num.intValue());\n }", "public static TextP regex(final String value) {\n return new TextP(new Text.RegexPredicate(value, false), value);\n }", "public static Term createRegExp(Expression exp) {\r\n\t\tTerm term = Term.function(REGEX, exp);\r\n\t\treturn term;\r\n\t}", "public Pattern getValidStringPattern();", "@Test\r\n public void testRegexp() throws Exception {\n\r\n String a = \"a/b/100/test\";\r\n\r\n Pattern pattern = Pattern.compile(\".+/(\\\\d+)/test\");\r\n\r\n System.out.println(parseIdFromUriPath(a, pattern));\r\n\r\n }", "public static Regex compile(String pattern, int cflags) throws RegexException {\n return new Regex(pattern, REG_EXTENDED | cflags);\n }", "public Expression setRegexTest(Expression exp, Expression test){\r\n\t\tregexExpr.put(exp, test);\r\n\t\tExpression tt = Term.function(Term.TEST);\r\n\t\ttt.setExpr(test);\r\n\t\tExpression seq = sequence(exp, tt);\r\n\t\treturn seq;\r\n\t}", "C11998c mo41092g(String str);", "@Test\n public void contactNumber_WhenValid_ShouldReturnTrue(){\n RegexTest valid = new RegexTest();\n boolean result = valid.contactNumber( \"91 1234567890\");\n Assert.assertEquals(true,result);\n }", "@Test\n public void testDebugPrintBasicRegexp() throws InvalidRegexpException {\n BasicRegexp re1 = BasicRegexp.parseRegexp(\"(01|10)*1111\");\n BasicRegexp.debugPrintBasicRegexp(0, re1);\n }", "@Test\r\n public void testGetRegexp() {\r\n final Regexp re = rs.getRegexp(reString);\r\n assertTrue(rs.hasRegexp(reString));\r\n assertSame(rs.getRegexp(reString), re);\r\n }", "public String checkRegularExpression(String input) {\n String actualResult=\"\";\n String pattern=\".*harry*\";\n boolean value= Pattern.matches(pattern,input);\n actualResult+=\"Is harry there?\"+value;\n return actualResult;\n\n }", "public static void main(String[] args) {\n//\n// String pattern = \"abba\";\n// String s = \"dog cat cat fish\";\n\n\n// String pattern = \"aaaa\";\n// String s = \"dog cat cat dog\";\n\n String pattern = \"abba\";\n String s = \"dog dog dog dog\";\n\n// String pattern = \"e\";\n// String s = \"eukera\";\n\n boolean flag = wordPattern(pattern, s);\n\n System.out.println(flag);\n }", "public RegexGrep(ShellEnvironment env, String[] args) {\n super(env, args);\n this.regex = Pattern.compile(args[0]);\n }", "@Test\n public void wordPatternTest() {\n String pattern = \"aaa\", str = \"aa aa aa aa\";\n boolean ans = instance.wordPattern(pattern, str);\n System.out.println(ans);\n }", "@Test\n public void testParseRegexp_valid1() throws InvalidRegexpException {\n BasicRegexp re = BasicRegexp.parseRegexp(\"\");\n assertEquals(re, null);\n }", "@Test(expected = InvalidRegexpException.class)\n public void testParseRegexp_invalid8() throws Throwable {\n BasicRegexp.parseRegexp(\"()\");\n }", "void mo37759a(String str);", "private static String globToRegex(final String glob) {\n return \"^\" + glob.replace(\".\", \"\\\\.\").replace(\"*\", \".*\") + \"$\";\n }", "void mo12635a(String str);", "com.google.privacy.dlp.v2.CustomInfoType.Regex getRegex();", "public static String toRegex(String param) \r\n\t{\r\n\t\tStringBuffer regex = new StringBuffer();\r\n\t\tfor( int i=0; i < param.length(); i++ ) \r\n\t\t{\r\n\t\t\tchar next = param.charAt( i );\r\n\t\t\t if ('*' == next) regex.append( \".+\" ); // -> multi-character match wild card\r\n\t\t\telse if ('?' == next) regex.append( \".\" ); // -> single-character match wild card\r\n\t\t\telse if ('.' == next) regex.append( \"\\\\.\" ); // all of these are special regex characters we are quoting\r\n\t\t\telse if ('+' == next) regex.append( \"\\\\+\" ); \r\n\t\t\telse if ('$' == next) regex.append( \"\\\\$\" ); \r\n\t\t\telse if ('\\\\' == next) regex.append( \"\\\\\\\\\" ); \r\n\t\t\telse if ('[' == next) regex.append( \"\\\\[\" ); \r\n\t\t\telse if (']' == next) regex.append( \"\\\\]\" ); \r\n\t\t\telse if ('{' == next) regex.append( \"\\\\{\" ); \r\n\t\t\telse if ('}' == next) regex.append( \"\\\\}\" ); \r\n\t\t\telse if ('(' == next) regex.append( \"\\\\(\" ); \r\n\t\t\telse if (')' == next) regex.append( \"\\\\)\" ); \r\n\t\t\telse if ('&' == next) regex.append( \"\\\\&\" ); \r\n\t\t\telse if ('^' == next) regex.append( \"\\\\^\" ); \r\n\t\t\telse if ('-' == next) regex.append( \"\\\\-\" ); \r\n\t\t\telse if ('|' == next) regex.append( \"\\\\|\" ); \r\n\t\t\telse regex.append( next );\r\n\t\t}\r\n\t\t\r\n\t\treturn regex.toString();\r\n\t}", "public GlobFilenameFilter(String regex) {\n super(__CACHE, __MATCHER, regex);\n }", "public static void main(String[] args) {\n// System.out.println(alphanumeric.replaceAll(\"[aei]\", \"x\"));\n\n\n String regex = \"^[A-Z]|[a-z]\";\n String username = \"kaaviya\";\n\n System.out.println(username.replaceAll( \"^[A-Za-z][A-Za-z0-9_]{7,29}$\", \"x\"));\n System.out.println(username.matches(regex));\n\n }", "String mo2801a(String str);", "public com.google.protobuf.ByteString\n getRegexBytes() {\n java.lang.Object ref = regex_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b =\n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n regex_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "public com.google.protobuf.ByteString\n getRegexBytes() {\n java.lang.Object ref = regex_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b =\n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n regex_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "public static Regex compile(String pattern) throws RegexException {\n return compile(pattern, 0);\n }", "public static void main(String[] args) throws Exception {\n String patronA = \"[0-5]\";\n\n // conjunto de letras de \"a\" a \"c\"\n String patronB = \"[a-c]\";\n\n // conjunto de todas las letras minusculas\n String patronC = \"[a-z]\";\n\n // conjunto de numeros\n String patronD = \"[0-9]\";\n\n // ejemplo con tipo de dato string\n String textoAlfanumerico = \"0123aaaa\";\n System.out.println(\"Texto alfanumerico:\" + textoAlfanumerico);\n\n String replace1 = textoAlfanumerico.replaceAll(patronA, \"X\");\n System.out.println(\"Reemplazo de numeros con X: \" + replace1);\n\n String replace2 = textoAlfanumerico.replaceAll(patronB, \"X\");\n System.out.println(\"Reemplazo de letras con X: \" + replace2);\n\n\n //[0-5][a-c];\n //String patronComplejo = patronA + patronB;\n\n //[a-c]*[0-5]*\n //String patronComplejo = patronA + \"*\" + patronB + \"*\";\n\n //\"[a-z]+\"\n\n // + = una coincidencia\n // * = ninguna o muchas\n\n //String patronComplejo = \"(\" + patronA + patronC + \")+\";\n String patronComplejo = \"(\" + patronC + \")+\";\n\n String texto = \"hola, aacc este bbcc es mi 55222aaa texto 2663aaaa blah blah\";\n System.out.println(\"patron complejo:\" + patronComplejo);\n System.out.println(texto);\n\n Pattern pattern = Pattern.compile(patronComplejo);\n Matcher matcher = pattern.matcher(texto);\n\n // buscar ocurrencias\n while (matcher.find()) {\n System.out.println(\"Encontrado:\" + matcher.group());\n }\n\n\n }", "@Test\n public void testOptimise_2() throws InvalidRegexpException {\n BasicRegexp re1 = BasicRegexp.parseRegexp(\"a+++++++++++++++++++++\");\n\n assertEquals(re1.optimise(BasicRegexp.OPTIMISE_ALL, -1).toString(),\n \"a+\");\n }", "public String returnRegex() {\n\t\tString chosenRegex;\n\t\tSystem.out.println(\"selectedRegex value is: \" + selectedRegex);\n\t\tswitch (selectedRegex) {\n\t\tcase 1:\n\t\t\tchosenRegex = \"(\\\\&?\\\\??t=\\\\d*?[h]?\\\\d*[m]?\\\\d*[s]|\\\\&t=\\\\d*)\";\n\t\t\tbreak;\n\t\tcase 2:\n\t\t\tchosenRegex = \"(\\\\&list=[a-zA-Z 0-9 -]+\\\\&?index=?\\\\d+?)\";\n\t\t\tbreak;\n\t\tcase 3:\n\t\t\tchosenRegex = \"(\\\\&feature=youtu.be)\";\n\t\t\tbreak;\n\t\tdefault:\n\t\t\tchosenRegex = \"\\\\?t.*|\\\\&t.*|\\\\&l.*|\\\\&f.*\"; // alternative:\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// (\\\\&?\\\\??t=\\\\d*?[h]?\\\\d*[m]?\\\\d*[s]|\\\\&t=\\\\d*|\\\\&list=[a-zA-Z\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// 0-9 -]*)\n\t\t\tbreak;\n\t\t}\n\t\tSystem.out.println(chosenRegex);\n\t\treturn chosenRegex;\n\t}", "@java.lang.Override\n public com.google.protobuf.ByteString\n getRegexBytes() {\n java.lang.Object ref = regex_;\n if (ref instanceof java.lang.String) {\n com.google.protobuf.ByteString b =\n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n regex_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "@java.lang.Override\n public com.google.protobuf.ByteString\n getRegexBytes() {\n java.lang.Object ref = regex_;\n if (ref instanceof java.lang.String) {\n com.google.protobuf.ByteString b =\n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n regex_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "private static String adaptRegEx(Mode mode, String regex, int flagMask, boolean removeWhitespace)\n throws QueryException {\n StringBuilder sb = new StringBuilder();\n boolean escaped = false;\n boolean groupStart = false;\n int completeGroups = 0;\n int backRef = 0;\n int charClassDepth = 0;\n int groupDepth = 0;\n\n for (char c : regex.toCharArray()) {\n if (escaped) {\n if (backRef == 0 && c == '0') {\n throw new QueryException(ErrorCode.ERR_INVALID_REGULAR_EXPRESSION, \"Reference to group 0 not allowed\");\n } else if (c >= '0' && c <= '9') {\n if (charClassDepth > 0) {\n throw new QueryException(ErrorCode.ERR_INVALID_REGULAR_EXPRESSION,\n \"Back references in character class expressions\" + \" are disallowed.\");\n }\n backRef = backRef * 10 + Integer.parseInt(Character.toString(c));\n continue;\n }\n }\n\n if (backRef > 0) {\n // Check back reference that just ended\n if (backRef > completeGroups) {\n throw new QueryException(ErrorCode.ERR_INVALID_REGULAR_EXPRESSION,\n \"Back reference to nonexisting or unfinished group.\");\n } else {\n backRef = 0;\n escaped = false;\n }\n }\n\n if (c == '\\\\' && !escaped) {\n // Not preceded by backslash\n escaped = true;\n groupStart = false;\n continue;\n }\n\n if (c == '(' && !escaped) {\n groupStart = true;\n groupDepth++;\n escaped = false;\n continue;\n }\n\n if (c == '?' && !escaped && groupStart) {\n throw new QueryException(ErrorCode.ERR_INVALID_REGULAR_EXPRESSION,\n \"Pure groups are not supported in XQuery regular expressions.\");\n } else if (c == ')' && !escaped) {\n if (--groupDepth < 0) {\n throw new QueryException(ErrorCode.ERR_INVALID_REGULAR_EXPRESSION, \"Invalid sequence of brackets.\");\n }\n completeGroups++;\n } else if (c == '[' && !escaped) {\n charClassDepth++;\n } else if (c == ']' && !escaped) {\n if (--charClassDepth < 0) {\n throw new QueryException(ErrorCode.ERR_INVALID_REGULAR_EXPRESSION, \"Invalid sequence of brackets.\");\n }\n } else if (removeWhitespace) {\n // Remove whitespace outside of character classes\n if (charClassDepth == 0 && WHITESPACE.contains(c)) {\n // Don't touch boolean flags\n continue;\n }\n\n sb.append(c);\n }\n\n groupStart = false;\n escaped = false;\n }\n\n // Check for trailing '\\' (only valid with subsequent characters)\n if (escaped && backRef == 0) {\n throw new QueryException(ErrorCode.ERR_INVALID_REGULAR_EXPRESSION, \"Trailing backslash character in pattern.\");\n }\n\n // Check back reference if that was last token in pattern\n if (backRef > 0 && backRef > completeGroups) {\n throw new QueryException(ErrorCode.ERR_INVALID_REGULAR_EXPRESSION,\n \"Back reference to nonexisting or unfinished group.\");\n }\n\n // Check for dangling brackets\n if (charClassDepth != 0 || groupDepth != 0) {\n throw new QueryException(ErrorCode.ERR_INVALID_REGULAR_EXPRESSION, \"Pattern contains dangling brackets.\");\n }\n\n if (!removeWhitespace) {\n sb.append(regex);\n }\n\n if (mode == Mode.MATCH) {\n // Adapt for XQuery substring matching by extending pattern\n if (sb.charAt(0) != '^' || ((flagMask & Pattern.MULTILINE) == Pattern.MULTILINE)) {\n if ((flagMask & Pattern.DOTALL) == Pattern.DOTALL) {\n sb.insert(0, \".*\");\n } else {\n sb.insert(0, \"(?s:.*)\");\n }\n }\n\n if (sb.charAt(sb.length() - 1) != '$' || ((flagMask & Pattern.MULTILINE) == Pattern.MULTILINE)) {\n if ((flagMask & Pattern.DOTALL) == Pattern.DOTALL) {\n sb.append(\".*\");\n } else {\n sb.append(\"(?s:.*)\");\n }\n }\n }\n\n return sb.toString();\n }", "public RegExp anyChar ()\n {\n // FIXME: there is some code duplication here with the parser\n final List <Interval> list = new ArrayList <> ();\n list.add (new Interval (0, CharClasses.maxChar));\n return new RegExp1 (sym.CCLASS, list);\n }", "protected String hookGetRegex() \r\n\t{\n\t\treturn \"\\\\s+\"; \r\n\t}", "private static boolean matchRegex(Pattern regExpression, String filename) {\n\t\tMatcher m = regExpression.matcher(filename);\n\t\tif (m.matches()) {\n\t\t\treturn true;\n\t\t} else {\n\t\t\treturn false;\n\t\t}\n\t}", "RegExConstraint createRegExConstraint();", "public void setRegexMatch(java.lang.Short regexMatch) {\r\n this.regexMatch = regexMatch;\r\n }", "void mo5871a(String str);", "private JBurgPatternMatcher()\n\t{\n\t}", "public final String getPattern() {\n/* 187 */ return this.m_pattern;\n/* */ }", "public String getPattern() {\n\treturn pattern;\n }", "public Regex mo131901a(int i) {\n C32591j jVar = C32645l.m150681b(this.f111785a.m150658d(), i);\n if (jVar.getStart().intValue() < 0) {\n return null;\n }\n String group = this.f111785a.m150658d().group(i);\n C32569u.m150513a((Object) group, \"matchResult.group(index)\");\n return new Regex(group, jVar);\n }", "@Override\n\tpublic void visit(RegExpMatchOperator arg0) {\n\t\t\n\t}", "@Test //TEST FOUR\n void testOneNumberinRabbitName()\n {\n Rabbit_RegEx rabbit_Name = new Rabbit_RegEx();\n rabbit_Name.setRabbitName(\"MO0N\");\n assertFalse(rabbit_Name.getRabbitName().matches(\"[A-Za-z-]*\"));\n }", "private LiteralToken nextRegularExpressionLiteralToken() {\n LiteralToken token = scanner.nextRegularExpressionLiteralToken();\n lastSourcePosition = token.location.end;\n return token;\n }", "public String getPattern() {\r\n \treturn pattern;\r\n }", "public int getPattern() {\n return this.pattern;\n }" ]
[ "0.72026896", "0.7194223", "0.7194223", "0.68615586", "0.6858206", "0.67436427", "0.6587065", "0.6512296", "0.64326847", "0.6404885", "0.63460666", "0.6331", "0.6291084", "0.6286594", "0.6254456", "0.6238955", "0.6219856", "0.6202358", "0.6189153", "0.61239773", "0.610071", "0.6062738", "0.6032594", "0.59982014", "0.5996874", "0.5924192", "0.59115654", "0.5864164", "0.58572525", "0.5841216", "0.58262175", "0.5814594", "0.5811531", "0.58056986", "0.580481", "0.57985896", "0.5770896", "0.57697666", "0.57547474", "0.5754631", "0.5754291", "0.57499665", "0.57477105", "0.5747135", "0.57377404", "0.5728356", "0.5720464", "0.57105994", "0.569544", "0.5688132", "0.56866807", "0.5680289", "0.5667682", "0.56612164", "0.56564504", "0.5585063", "0.5555574", "0.5529932", "0.55271614", "0.5522922", "0.55216306", "0.5515437", "0.55144066", "0.5475341", "0.54649585", "0.54602605", "0.54552746", "0.5454531", "0.54507446", "0.54498005", "0.54474837", "0.5440438", "0.54248166", "0.54176825", "0.541224", "0.5411842", "0.5410461", "0.54078144", "0.5407357", "0.5399649", "0.53911847", "0.5381891", "0.5381891", "0.53741324", "0.5369898", "0.5353865", "0.53480643", "0.53464174", "0.53416866", "0.5329152", "0.53245693", "0.5322008", "0.5312056", "0.52923334", "0.5292296", "0.5286544", "0.5280226", "0.5259832", "0.5251492" ]
0.58453
29
string regex = 1;
public Builder clearRegex() { regex_ = getDefaultInstance().getRegex(); onChanged(); return this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getRegex();", "java.lang.String getRegex();", "java.lang.String getRegex();", "public void setRegex (String regex)\n {\n this.regex = regex;\n }", "public String getRegEx();", "public RegExp (final int type)\n {\n this.type = type;\n }", "public RegexPatternBuilder (String regex)\n {\n this.regex = regex;\n }", "public String getRegEx() {\r\n return regex;\r\n }", "public GrammaticaRE(String regex) throws Exception {\n regExp = new RegExp(regex, ignoreCase);\n }", "public final native void setRegex(String regex) /*-{\n\t\tthis.regex = regex;\n\t}-*/;", "@objid (\"d7eead28-9a1c-4037-9797-4868268b54d4\")\n public RegexVerifier(String regex) {\n this.regex = regex;\n }", "public void setRegex(String regex) {\n this.regex = regex;\n }", "public static void TestRegex()\n\t{\n\t String line = \" if( aaa&&(ypbreg))\";\n\t String pattern = \"(&&)\\\\s*\\\\(*\\\\s*!?ypbreg\\\\)*\";\n\t // Create a Pattern object\n\t Pattern r = Pattern.compile(pattern);\n\t System.out.println(line.contains(pattern));\n\t // Now create matcher object.\n\t Matcher m = r.matcher(line);\n\t if (m.find( )) {\n\t // System.out.println(\"Found value: \" + m.group(0) );\n\t int count = m.groupCount();\n\t System.out.println(\"group count is \"+count);\n\t for(int i=0;i<count;i++){\n\t System.out.println(m.group(i));\n\t }\n\t // System.out.println(line.replaceFirst(BregPattern.pEqualTrue1, \"!$1\"));\n\n\t } else {\n\t System.out.println(\"NO MATCH\");\n\t }\n\t}", "public RegularExpression() {\n }", "public interface RegExp {\n String NUMBER_OF_COMPOSITION = \"^[1-2][0-9]|[1-9]$\";\n String BREAK_DATE_BY_DOT = \"[.]\";\n String IDENTIFY_BUMDLE = \"^([E|e][N|n])|[У|у][К|к][Р|р]$\";\n String DURATION = \"^[1-9]|[1-9][0-9]|[1-4][0-9][0-9]$\";\n}", "public java.lang.String getRegexStr() {\r\n return regexStr;\r\n }", "public Pattern regexPattern(String regex) {\n return Pattern.compile(regex);\n }", "@Override\n protected void compileRegex(String regex) {\n }", "protected abstract Regex pattern();", "boolean hasRegex();", "public JavaRE(String regex) throws Exception {\n if (ignoreCase) {\n pattern = Pattern.compile(regex, Pattern.CASE_INSENSITIVE);\n } else {\n pattern = Pattern.compile(regex);\n }\n }", "@Test\n public void testParseRegexp_valid3() throws InvalidRegexpException {\n BasicRegexp re = BasicRegexp.parseRegexp(\"a b c d\");\n assertEquals(re.toString(), \"abcd\");\n }", "private\n\tRegExHelper()\n\t{\n\t\tsuper();\n\t}", "public java.lang.String getRegex() {\n java.lang.Object ref = regex_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n regex_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getRegex() {\n java.lang.Object ref = regex_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n regex_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "@Override\n public boolean isRegex() {\n return false;\n }", "public String get_isregex() throws Exception {\n\t\treturn this.isregex;\n\t}", "public Boolean getbRegex() {\r\n\t\treturn bRegex;\r\n\t}", "public interface RegExp {\n String NAME_REGEXP = \"^[А-Я][а-я]{2,30}$\";\n String AGE_REGEXP = \"^((1[012][0-9])|([1-9][0-9]))$\";\n String EMAIL_REGEXP = \"^[-z0-9_.]{1,30}@([A-z]+[A-z0-9]{1,15}.){1,2}([A-z]+[A-z0-9]{1,15})$\";\n String CELL_PHONE_REGEXP = \"([\\\\+]\\\\d{2}\\\\s?)?(([\\\\(\\\\s]\\\\d{3}[\\\\)\\\\s])|\" +\n \"(\\\\d{3}))[\\\\s-]?\\\\d{3}[\\\\s-]?\\\\d{2}[\\\\s-]?\\\\d{2}$\";\n String CELL_PHONE_OPTIONAL_REGEXP = \"^(([\\\\+]\\\\d{2}\\\\s?)?(([\\\\(\\\\s]\\\\d{3}[\\\\)\\\\s])|\" +\n \"(\\\\d{3}))[\\\\s-]?\\\\d{3}[\\\\s-]?\\\\d{2}[\\\\s-]?\\\\d{2})?\";\n String LOCAL_PHONE_REGEXP = \"^([\\\\+]\\\\d{2}\\\\s?)?(([\\\\(\\\\s]\\\\d{3}[\\\\)\\\\s])|(\\\\d{3}))?[\\\\s-]?\\\\d{3}[\\\\s-]?\\\\d{3}$\";\n String COMMENT_REGEXP = \"^([\\\\d\\\\s\\\\w\\\\.\\\\,\\\\!]){0,127}$\";\n String GROUP_REGEXP = \"^[А-я]{4,10}$\";\n String SKYPE_NICK_REGEXP = \"^[\\\\w\\\\d\\\\_]{3,20}$\";\n String INDEX_REGEXP = \"^[\\\\d]{8}$\";\n String CITY_STREET_REGEXP = \"^[А-Я][а-я]{3,20}$\";\n String BUILDING_REGEXP = \"^[\\\\d]{1,3}[\\\\w]?$\";\n String FLAT_REGEXP = \"^[\\\\d]{1,3}$\";\n}", "public Builder setRegex(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n\n regex_ = value;\n onChanged();\n return this;\n }", "public Builder setRegex(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n\n regex_ = value;\n onChanged();\n return this;\n }", "public void setRegexStr(java.lang.String regexStr) {\r\n this.regexStr = regexStr;\r\n }", "public String getMatchRegex() {\n return matchRegex;\n }", "String regen();", "public static void main(String[] args) {\n\t\t Pattern p = Pattern.compile(\"(a+)\");\r\n\t\t Matcher m = p.matcher(\"aaaaaba\");\r\n\t\t //System.out.println(m.matches())\r\n\t\t m.find();\t\t \r\n\t\t m.find();\r\n\t\t System.out.println(\"grCount \"+m.groupCount());\t \r\n\t\t MatchResult mr = m.toMatchResult();\r\n\t\t \r\n\t\t System.out.println(m.end());\r\n\t\t System.out.println(\"'\"+mr.group()+\"'\");\r\n\t\t System.out.println(\"start \"+mr.start(1));\r\n\t\t \r\n\t}", "@java.lang.Override\n public java.lang.String getRegex() {\n java.lang.Object ref = regex_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n regex_ = s;\n return s;\n }\n }", "@java.lang.Override\n public java.lang.String getRegex() {\n java.lang.Object ref = regex_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n regex_ = s;\n return s;\n }\n }", "int mo5882g(String str);", "com.google.protobuf.ByteString\n getRegexBytes();", "com.google.protobuf.ByteString\n getRegexBytes();", "@Test\n public void testParseRegexp_correctness1new()\n throws InvalidRegexpException {\n BasicRegexp re = BasicRegexp.parseRegexp(\"(01|10)*1111\");\n assertEquals(re.toString(), \"(01|10)*1111\");\n }", "public void set_isregex(String isregex) throws Exception{\n\t\tthis.isregex = isregex;\n\t}", "public static void main(String[] args) {\r\n\t\t boolean matches_1 = Pattern.matches(\"[a-zA-Z0-9]{4}\", \"0Aa1\");\r\n\t\t boolean matches_2 = Pattern.matches(\"[a-zA-Z0-9]{4}\", \"0A@a1\");\r\n\t\t\t System.out.println(\"Regular Expression is \"+matches_1 +\" for given string(0Aa1)\");\r\n\t\t\t System.out.println(\"Regular Expression is \"+matches_2 +\" for given string(0A@a1)\");\r\n\t}", "public static void main(String[] args) {\n Pattern p = Pattern.compile(\"2*5?$\");\n Matcher m = p.matcher(regex1);\n if (m.matches()) {\n System.out.println(\"YES ¦ \");\n } else {\n System.out.println(\"NO\");\n }\n\n }", "@Override\n\tpublic boolean test(MyRegex t) {\n\t\treturn false;\n\t}", "private String parseRegExp(String exp) throws Exception {\r\n\t\treturn RegexpTranslationHelper.translateANTLRToAutomatonStyle(exp);\r\n\t}", "@Test\n public void testParseRegexp_valid7() throws InvalidRegexpException {\n BasicRegexp re = BasicRegexp.parseRegexp(\"abc*def\");\n assertEquals(re.toString(), \"abc*def\");\n }", "public final String getRegex() {\n\t\treturn JsUtils.getNativePropertyString(this, \"regex\");\n\t}", "public RegexPatternBuilder ()\n {\n this.regex = null;\n }", "private boolean isRegexValid(String string)\n {\n try\n {\n Pattern.compile(string, Pattern.MULTILINE);\n return true;\n }\n catch (PatternSyntaxException e)\n {\n return false;\n }\n }", "public java.lang.Short getRegexMatch() {\r\n return regexMatch;\r\n }", "@Test\n public void testParseRegexp_valid6() throws InvalidRegexpException {\n BasicRegexp re = BasicRegexp.parseRegexp(\"ab(cd(e))ff\");\n assertEquals(re.toString(), \"abcdeff\");\n }", "@Override // kotlin.p2243e.p2244a.AbstractC32522b\n public /* synthetic */ Regex invoke(Integer num) {\n return mo131903a(num.intValue());\n }", "public static TextP regex(final String value) {\n return new TextP(new Text.RegexPredicate(value, false), value);\n }", "public static Term createRegExp(Expression exp) {\r\n\t\tTerm term = Term.function(REGEX, exp);\r\n\t\treturn term;\r\n\t}", "public Pattern getValidStringPattern();", "@Test\r\n public void testRegexp() throws Exception {\n\r\n String a = \"a/b/100/test\";\r\n\r\n Pattern pattern = Pattern.compile(\".+/(\\\\d+)/test\");\r\n\r\n System.out.println(parseIdFromUriPath(a, pattern));\r\n\r\n }", "public static Regex compile(String pattern, int cflags) throws RegexException {\n return new Regex(pattern, REG_EXTENDED | cflags);\n }", "public Expression setRegexTest(Expression exp, Expression test){\r\n\t\tregexExpr.put(exp, test);\r\n\t\tExpression tt = Term.function(Term.TEST);\r\n\t\ttt.setExpr(test);\r\n\t\tExpression seq = sequence(exp, tt);\r\n\t\treturn seq;\r\n\t}", "C11998c mo41092g(String str);", "@Test\n public void contactNumber_WhenValid_ShouldReturnTrue(){\n RegexTest valid = new RegexTest();\n boolean result = valid.contactNumber( \"91 1234567890\");\n Assert.assertEquals(true,result);\n }", "@Test\n public void testDebugPrintBasicRegexp() throws InvalidRegexpException {\n BasicRegexp re1 = BasicRegexp.parseRegexp(\"(01|10)*1111\");\n BasicRegexp.debugPrintBasicRegexp(0, re1);\n }", "@Test\r\n public void testGetRegexp() {\r\n final Regexp re = rs.getRegexp(reString);\r\n assertTrue(rs.hasRegexp(reString));\r\n assertSame(rs.getRegexp(reString), re);\r\n }", "public String checkRegularExpression(String input) {\n String actualResult=\"\";\n String pattern=\".*harry*\";\n boolean value= Pattern.matches(pattern,input);\n actualResult+=\"Is harry there?\"+value;\n return actualResult;\n\n }", "public static void main(String[] args) {\n//\n// String pattern = \"abba\";\n// String s = \"dog cat cat fish\";\n\n\n// String pattern = \"aaaa\";\n// String s = \"dog cat cat dog\";\n\n String pattern = \"abba\";\n String s = \"dog dog dog dog\";\n\n// String pattern = \"e\";\n// String s = \"eukera\";\n\n boolean flag = wordPattern(pattern, s);\n\n System.out.println(flag);\n }", "public RegexGrep(ShellEnvironment env, String[] args) {\n super(env, args);\n this.regex = Pattern.compile(args[0]);\n }", "@Test\n public void wordPatternTest() {\n String pattern = \"aaa\", str = \"aa aa aa aa\";\n boolean ans = instance.wordPattern(pattern, str);\n System.out.println(ans);\n }", "@Test\n public void testParseRegexp_valid1() throws InvalidRegexpException {\n BasicRegexp re = BasicRegexp.parseRegexp(\"\");\n assertEquals(re, null);\n }", "@Test(expected = InvalidRegexpException.class)\n public void testParseRegexp_invalid8() throws Throwable {\n BasicRegexp.parseRegexp(\"()\");\n }", "void mo37759a(String str);", "private static String globToRegex(final String glob) {\n return \"^\" + glob.replace(\".\", \"\\\\.\").replace(\"*\", \".*\") + \"$\";\n }", "void mo12635a(String str);", "com.google.privacy.dlp.v2.CustomInfoType.Regex getRegex();", "public static String toRegex(String param) \r\n\t{\r\n\t\tStringBuffer regex = new StringBuffer();\r\n\t\tfor( int i=0; i < param.length(); i++ ) \r\n\t\t{\r\n\t\t\tchar next = param.charAt( i );\r\n\t\t\t if ('*' == next) regex.append( \".+\" ); // -> multi-character match wild card\r\n\t\t\telse if ('?' == next) regex.append( \".\" ); // -> single-character match wild card\r\n\t\t\telse if ('.' == next) regex.append( \"\\\\.\" ); // all of these are special regex characters we are quoting\r\n\t\t\telse if ('+' == next) regex.append( \"\\\\+\" ); \r\n\t\t\telse if ('$' == next) regex.append( \"\\\\$\" ); \r\n\t\t\telse if ('\\\\' == next) regex.append( \"\\\\\\\\\" ); \r\n\t\t\telse if ('[' == next) regex.append( \"\\\\[\" ); \r\n\t\t\telse if (']' == next) regex.append( \"\\\\]\" ); \r\n\t\t\telse if ('{' == next) regex.append( \"\\\\{\" ); \r\n\t\t\telse if ('}' == next) regex.append( \"\\\\}\" ); \r\n\t\t\telse if ('(' == next) regex.append( \"\\\\(\" ); \r\n\t\t\telse if (')' == next) regex.append( \"\\\\)\" ); \r\n\t\t\telse if ('&' == next) regex.append( \"\\\\&\" ); \r\n\t\t\telse if ('^' == next) regex.append( \"\\\\^\" ); \r\n\t\t\telse if ('-' == next) regex.append( \"\\\\-\" ); \r\n\t\t\telse if ('|' == next) regex.append( \"\\\\|\" ); \r\n\t\t\telse regex.append( next );\r\n\t\t}\r\n\t\t\r\n\t\treturn regex.toString();\r\n\t}", "public GlobFilenameFilter(String regex) {\n super(__CACHE, __MATCHER, regex);\n }", "public static void main(String[] args) {\n// System.out.println(alphanumeric.replaceAll(\"[aei]\", \"x\"));\n\n\n String regex = \"^[A-Z]|[a-z]\";\n String username = \"kaaviya\";\n\n System.out.println(username.replaceAll( \"^[A-Za-z][A-Za-z0-9_]{7,29}$\", \"x\"));\n System.out.println(username.matches(regex));\n\n }", "String mo2801a(String str);", "public com.google.protobuf.ByteString\n getRegexBytes() {\n java.lang.Object ref = regex_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b =\n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n regex_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "public com.google.protobuf.ByteString\n getRegexBytes() {\n java.lang.Object ref = regex_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b =\n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n regex_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "public static Regex compile(String pattern) throws RegexException {\n return compile(pattern, 0);\n }", "public static void main(String[] args) throws Exception {\n String patronA = \"[0-5]\";\n\n // conjunto de letras de \"a\" a \"c\"\n String patronB = \"[a-c]\";\n\n // conjunto de todas las letras minusculas\n String patronC = \"[a-z]\";\n\n // conjunto de numeros\n String patronD = \"[0-9]\";\n\n // ejemplo con tipo de dato string\n String textoAlfanumerico = \"0123aaaa\";\n System.out.println(\"Texto alfanumerico:\" + textoAlfanumerico);\n\n String replace1 = textoAlfanumerico.replaceAll(patronA, \"X\");\n System.out.println(\"Reemplazo de numeros con X: \" + replace1);\n\n String replace2 = textoAlfanumerico.replaceAll(patronB, \"X\");\n System.out.println(\"Reemplazo de letras con X: \" + replace2);\n\n\n //[0-5][a-c];\n //String patronComplejo = patronA + patronB;\n\n //[a-c]*[0-5]*\n //String patronComplejo = patronA + \"*\" + patronB + \"*\";\n\n //\"[a-z]+\"\n\n // + = una coincidencia\n // * = ninguna o muchas\n\n //String patronComplejo = \"(\" + patronA + patronC + \")+\";\n String patronComplejo = \"(\" + patronC + \")+\";\n\n String texto = \"hola, aacc este bbcc es mi 55222aaa texto 2663aaaa blah blah\";\n System.out.println(\"patron complejo:\" + patronComplejo);\n System.out.println(texto);\n\n Pattern pattern = Pattern.compile(patronComplejo);\n Matcher matcher = pattern.matcher(texto);\n\n // buscar ocurrencias\n while (matcher.find()) {\n System.out.println(\"Encontrado:\" + matcher.group());\n }\n\n\n }", "@Test\n public void testOptimise_2() throws InvalidRegexpException {\n BasicRegexp re1 = BasicRegexp.parseRegexp(\"a+++++++++++++++++++++\");\n\n assertEquals(re1.optimise(BasicRegexp.OPTIMISE_ALL, -1).toString(),\n \"a+\");\n }", "public String returnRegex() {\n\t\tString chosenRegex;\n\t\tSystem.out.println(\"selectedRegex value is: \" + selectedRegex);\n\t\tswitch (selectedRegex) {\n\t\tcase 1:\n\t\t\tchosenRegex = \"(\\\\&?\\\\??t=\\\\d*?[h]?\\\\d*[m]?\\\\d*[s]|\\\\&t=\\\\d*)\";\n\t\t\tbreak;\n\t\tcase 2:\n\t\t\tchosenRegex = \"(\\\\&list=[a-zA-Z 0-9 -]+\\\\&?index=?\\\\d+?)\";\n\t\t\tbreak;\n\t\tcase 3:\n\t\t\tchosenRegex = \"(\\\\&feature=youtu.be)\";\n\t\t\tbreak;\n\t\tdefault:\n\t\t\tchosenRegex = \"\\\\?t.*|\\\\&t.*|\\\\&l.*|\\\\&f.*\"; // alternative:\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// (\\\\&?\\\\??t=\\\\d*?[h]?\\\\d*[m]?\\\\d*[s]|\\\\&t=\\\\d*|\\\\&list=[a-zA-Z\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// 0-9 -]*)\n\t\t\tbreak;\n\t\t}\n\t\tSystem.out.println(chosenRegex);\n\t\treturn chosenRegex;\n\t}", "@java.lang.Override\n public com.google.protobuf.ByteString\n getRegexBytes() {\n java.lang.Object ref = regex_;\n if (ref instanceof java.lang.String) {\n com.google.protobuf.ByteString b =\n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n regex_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "@java.lang.Override\n public com.google.protobuf.ByteString\n getRegexBytes() {\n java.lang.Object ref = regex_;\n if (ref instanceof java.lang.String) {\n com.google.protobuf.ByteString b =\n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n regex_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "private static String adaptRegEx(Mode mode, String regex, int flagMask, boolean removeWhitespace)\n throws QueryException {\n StringBuilder sb = new StringBuilder();\n boolean escaped = false;\n boolean groupStart = false;\n int completeGroups = 0;\n int backRef = 0;\n int charClassDepth = 0;\n int groupDepth = 0;\n\n for (char c : regex.toCharArray()) {\n if (escaped) {\n if (backRef == 0 && c == '0') {\n throw new QueryException(ErrorCode.ERR_INVALID_REGULAR_EXPRESSION, \"Reference to group 0 not allowed\");\n } else if (c >= '0' && c <= '9') {\n if (charClassDepth > 0) {\n throw new QueryException(ErrorCode.ERR_INVALID_REGULAR_EXPRESSION,\n \"Back references in character class expressions\" + \" are disallowed.\");\n }\n backRef = backRef * 10 + Integer.parseInt(Character.toString(c));\n continue;\n }\n }\n\n if (backRef > 0) {\n // Check back reference that just ended\n if (backRef > completeGroups) {\n throw new QueryException(ErrorCode.ERR_INVALID_REGULAR_EXPRESSION,\n \"Back reference to nonexisting or unfinished group.\");\n } else {\n backRef = 0;\n escaped = false;\n }\n }\n\n if (c == '\\\\' && !escaped) {\n // Not preceded by backslash\n escaped = true;\n groupStart = false;\n continue;\n }\n\n if (c == '(' && !escaped) {\n groupStart = true;\n groupDepth++;\n escaped = false;\n continue;\n }\n\n if (c == '?' && !escaped && groupStart) {\n throw new QueryException(ErrorCode.ERR_INVALID_REGULAR_EXPRESSION,\n \"Pure groups are not supported in XQuery regular expressions.\");\n } else if (c == ')' && !escaped) {\n if (--groupDepth < 0) {\n throw new QueryException(ErrorCode.ERR_INVALID_REGULAR_EXPRESSION, \"Invalid sequence of brackets.\");\n }\n completeGroups++;\n } else if (c == '[' && !escaped) {\n charClassDepth++;\n } else if (c == ']' && !escaped) {\n if (--charClassDepth < 0) {\n throw new QueryException(ErrorCode.ERR_INVALID_REGULAR_EXPRESSION, \"Invalid sequence of brackets.\");\n }\n } else if (removeWhitespace) {\n // Remove whitespace outside of character classes\n if (charClassDepth == 0 && WHITESPACE.contains(c)) {\n // Don't touch boolean flags\n continue;\n }\n\n sb.append(c);\n }\n\n groupStart = false;\n escaped = false;\n }\n\n // Check for trailing '\\' (only valid with subsequent characters)\n if (escaped && backRef == 0) {\n throw new QueryException(ErrorCode.ERR_INVALID_REGULAR_EXPRESSION, \"Trailing backslash character in pattern.\");\n }\n\n // Check back reference if that was last token in pattern\n if (backRef > 0 && backRef > completeGroups) {\n throw new QueryException(ErrorCode.ERR_INVALID_REGULAR_EXPRESSION,\n \"Back reference to nonexisting or unfinished group.\");\n }\n\n // Check for dangling brackets\n if (charClassDepth != 0 || groupDepth != 0) {\n throw new QueryException(ErrorCode.ERR_INVALID_REGULAR_EXPRESSION, \"Pattern contains dangling brackets.\");\n }\n\n if (!removeWhitespace) {\n sb.append(regex);\n }\n\n if (mode == Mode.MATCH) {\n // Adapt for XQuery substring matching by extending pattern\n if (sb.charAt(0) != '^' || ((flagMask & Pattern.MULTILINE) == Pattern.MULTILINE)) {\n if ((flagMask & Pattern.DOTALL) == Pattern.DOTALL) {\n sb.insert(0, \".*\");\n } else {\n sb.insert(0, \"(?s:.*)\");\n }\n }\n\n if (sb.charAt(sb.length() - 1) != '$' || ((flagMask & Pattern.MULTILINE) == Pattern.MULTILINE)) {\n if ((flagMask & Pattern.DOTALL) == Pattern.DOTALL) {\n sb.append(\".*\");\n } else {\n sb.append(\"(?s:.*)\");\n }\n }\n }\n\n return sb.toString();\n }", "public RegExp anyChar ()\n {\n // FIXME: there is some code duplication here with the parser\n final List <Interval> list = new ArrayList <> ();\n list.add (new Interval (0, CharClasses.maxChar));\n return new RegExp1 (sym.CCLASS, list);\n }", "protected String hookGetRegex() \r\n\t{\n\t\treturn \"\\\\s+\"; \r\n\t}", "private static boolean matchRegex(Pattern regExpression, String filename) {\n\t\tMatcher m = regExpression.matcher(filename);\n\t\tif (m.matches()) {\n\t\t\treturn true;\n\t\t} else {\n\t\t\treturn false;\n\t\t}\n\t}", "RegExConstraint createRegExConstraint();", "public void setRegexMatch(java.lang.Short regexMatch) {\r\n this.regexMatch = regexMatch;\r\n }", "void mo5871a(String str);", "private JBurgPatternMatcher()\n\t{\n\t}", "public final String getPattern() {\n/* 187 */ return this.m_pattern;\n/* */ }", "public String getPattern() {\n\treturn pattern;\n }", "public Regex mo131901a(int i) {\n C32591j jVar = C32645l.m150681b(this.f111785a.m150658d(), i);\n if (jVar.getStart().intValue() < 0) {\n return null;\n }\n String group = this.f111785a.m150658d().group(i);\n C32569u.m150513a((Object) group, \"matchResult.group(index)\");\n return new Regex(group, jVar);\n }", "@Override\n\tpublic void visit(RegExpMatchOperator arg0) {\n\t\t\n\t}", "@Test //TEST FOUR\n void testOneNumberinRabbitName()\n {\n Rabbit_RegEx rabbit_Name = new Rabbit_RegEx();\n rabbit_Name.setRabbitName(\"MO0N\");\n assertFalse(rabbit_Name.getRabbitName().matches(\"[A-Za-z-]*\"));\n }", "private LiteralToken nextRegularExpressionLiteralToken() {\n LiteralToken token = scanner.nextRegularExpressionLiteralToken();\n lastSourcePosition = token.location.end;\n return token;\n }", "public String getPattern() {\r\n \treturn pattern;\r\n }", "public int getPattern() {\n return this.pattern;\n }" ]
[ "0.72026896", "0.7194223", "0.7194223", "0.68615586", "0.6858206", "0.67436427", "0.6587065", "0.6512296", "0.64326847", "0.6404885", "0.63460666", "0.6331", "0.6291084", "0.6286594", "0.6254456", "0.6238955", "0.6219856", "0.6202358", "0.6189153", "0.61239773", "0.610071", "0.6062738", "0.6032594", "0.59982014", "0.5996874", "0.5924192", "0.59115654", "0.5864164", "0.58572525", "0.58453", "0.58453", "0.5841216", "0.58262175", "0.5814594", "0.5811531", "0.58056986", "0.580481", "0.57985896", "0.5770896", "0.57697666", "0.57547474", "0.5754631", "0.5754291", "0.57499665", "0.57477105", "0.5747135", "0.57377404", "0.5728356", "0.5720464", "0.57105994", "0.569544", "0.5688132", "0.56866807", "0.5680289", "0.5667682", "0.56612164", "0.56564504", "0.5585063", "0.5555574", "0.5529932", "0.55271614", "0.5522922", "0.55216306", "0.5515437", "0.55144066", "0.5475341", "0.54649585", "0.54602605", "0.54552746", "0.5454531", "0.54507446", "0.54498005", "0.54474837", "0.5440438", "0.54248166", "0.54176825", "0.541224", "0.5411842", "0.5410461", "0.54078144", "0.5407357", "0.5399649", "0.53911847", "0.5381891", "0.5381891", "0.53741324", "0.5369898", "0.5353865", "0.53480643", "0.53464174", "0.53416866", "0.5329152", "0.53245693", "0.5322008", "0.5312056", "0.52923334", "0.5292296", "0.5286544", "0.5280226", "0.5259832", "0.5251492" ]
0.0
-1
string regex = 1;
public Builder setRegexBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); regex_ = value; onChanged(); return this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getRegex();", "java.lang.String getRegex();", "java.lang.String getRegex();", "public void setRegex (String regex)\n {\n this.regex = regex;\n }", "public String getRegEx();", "public RegExp (final int type)\n {\n this.type = type;\n }", "public RegexPatternBuilder (String regex)\n {\n this.regex = regex;\n }", "public String getRegEx() {\r\n return regex;\r\n }", "public GrammaticaRE(String regex) throws Exception {\n regExp = new RegExp(regex, ignoreCase);\n }", "public final native void setRegex(String regex) /*-{\n\t\tthis.regex = regex;\n\t}-*/;", "@objid (\"d7eead28-9a1c-4037-9797-4868268b54d4\")\n public RegexVerifier(String regex) {\n this.regex = regex;\n }", "public void setRegex(String regex) {\n this.regex = regex;\n }", "public static void TestRegex()\n\t{\n\t String line = \" if( aaa&&(ypbreg))\";\n\t String pattern = \"(&&)\\\\s*\\\\(*\\\\s*!?ypbreg\\\\)*\";\n\t // Create a Pattern object\n\t Pattern r = Pattern.compile(pattern);\n\t System.out.println(line.contains(pattern));\n\t // Now create matcher object.\n\t Matcher m = r.matcher(line);\n\t if (m.find( )) {\n\t // System.out.println(\"Found value: \" + m.group(0) );\n\t int count = m.groupCount();\n\t System.out.println(\"group count is \"+count);\n\t for(int i=0;i<count;i++){\n\t System.out.println(m.group(i));\n\t }\n\t // System.out.println(line.replaceFirst(BregPattern.pEqualTrue1, \"!$1\"));\n\n\t } else {\n\t System.out.println(\"NO MATCH\");\n\t }\n\t}", "public RegularExpression() {\n }", "public interface RegExp {\n String NUMBER_OF_COMPOSITION = \"^[1-2][0-9]|[1-9]$\";\n String BREAK_DATE_BY_DOT = \"[.]\";\n String IDENTIFY_BUMDLE = \"^([E|e][N|n])|[У|у][К|к][Р|р]$\";\n String DURATION = \"^[1-9]|[1-9][0-9]|[1-4][0-9][0-9]$\";\n}", "public java.lang.String getRegexStr() {\r\n return regexStr;\r\n }", "public Pattern regexPattern(String regex) {\n return Pattern.compile(regex);\n }", "@Override\n protected void compileRegex(String regex) {\n }", "protected abstract Regex pattern();", "boolean hasRegex();", "public JavaRE(String regex) throws Exception {\n if (ignoreCase) {\n pattern = Pattern.compile(regex, Pattern.CASE_INSENSITIVE);\n } else {\n pattern = Pattern.compile(regex);\n }\n }", "@Test\n public void testParseRegexp_valid3() throws InvalidRegexpException {\n BasicRegexp re = BasicRegexp.parseRegexp(\"a b c d\");\n assertEquals(re.toString(), \"abcd\");\n }", "private\n\tRegExHelper()\n\t{\n\t\tsuper();\n\t}", "public java.lang.String getRegex() {\n java.lang.Object ref = regex_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n regex_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getRegex() {\n java.lang.Object ref = regex_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n regex_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "@Override\n public boolean isRegex() {\n return false;\n }", "public String get_isregex() throws Exception {\n\t\treturn this.isregex;\n\t}", "public Boolean getbRegex() {\r\n\t\treturn bRegex;\r\n\t}", "public interface RegExp {\n String NAME_REGEXP = \"^[А-Я][а-я]{2,30}$\";\n String AGE_REGEXP = \"^((1[012][0-9])|([1-9][0-9]))$\";\n String EMAIL_REGEXP = \"^[-z0-9_.]{1,30}@([A-z]+[A-z0-9]{1,15}.){1,2}([A-z]+[A-z0-9]{1,15})$\";\n String CELL_PHONE_REGEXP = \"([\\\\+]\\\\d{2}\\\\s?)?(([\\\\(\\\\s]\\\\d{3}[\\\\)\\\\s])|\" +\n \"(\\\\d{3}))[\\\\s-]?\\\\d{3}[\\\\s-]?\\\\d{2}[\\\\s-]?\\\\d{2}$\";\n String CELL_PHONE_OPTIONAL_REGEXP = \"^(([\\\\+]\\\\d{2}\\\\s?)?(([\\\\(\\\\s]\\\\d{3}[\\\\)\\\\s])|\" +\n \"(\\\\d{3}))[\\\\s-]?\\\\d{3}[\\\\s-]?\\\\d{2}[\\\\s-]?\\\\d{2})?\";\n String LOCAL_PHONE_REGEXP = \"^([\\\\+]\\\\d{2}\\\\s?)?(([\\\\(\\\\s]\\\\d{3}[\\\\)\\\\s])|(\\\\d{3}))?[\\\\s-]?\\\\d{3}[\\\\s-]?\\\\d{3}$\";\n String COMMENT_REGEXP = \"^([\\\\d\\\\s\\\\w\\\\.\\\\,\\\\!]){0,127}$\";\n String GROUP_REGEXP = \"^[А-я]{4,10}$\";\n String SKYPE_NICK_REGEXP = \"^[\\\\w\\\\d\\\\_]{3,20}$\";\n String INDEX_REGEXP = \"^[\\\\d]{8}$\";\n String CITY_STREET_REGEXP = \"^[А-Я][а-я]{3,20}$\";\n String BUILDING_REGEXP = \"^[\\\\d]{1,3}[\\\\w]?$\";\n String FLAT_REGEXP = \"^[\\\\d]{1,3}$\";\n}", "public Builder setRegex(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n\n regex_ = value;\n onChanged();\n return this;\n }", "public Builder setRegex(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n\n regex_ = value;\n onChanged();\n return this;\n }", "public void setRegexStr(java.lang.String regexStr) {\r\n this.regexStr = regexStr;\r\n }", "public String getMatchRegex() {\n return matchRegex;\n }", "String regen();", "public static void main(String[] args) {\n\t\t Pattern p = Pattern.compile(\"(a+)\");\r\n\t\t Matcher m = p.matcher(\"aaaaaba\");\r\n\t\t //System.out.println(m.matches())\r\n\t\t m.find();\t\t \r\n\t\t m.find();\r\n\t\t System.out.println(\"grCount \"+m.groupCount());\t \r\n\t\t MatchResult mr = m.toMatchResult();\r\n\t\t \r\n\t\t System.out.println(m.end());\r\n\t\t System.out.println(\"'\"+mr.group()+\"'\");\r\n\t\t System.out.println(\"start \"+mr.start(1));\r\n\t\t \r\n\t}", "@java.lang.Override\n public java.lang.String getRegex() {\n java.lang.Object ref = regex_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n regex_ = s;\n return s;\n }\n }", "@java.lang.Override\n public java.lang.String getRegex() {\n java.lang.Object ref = regex_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n regex_ = s;\n return s;\n }\n }", "int mo5882g(String str);", "com.google.protobuf.ByteString\n getRegexBytes();", "com.google.protobuf.ByteString\n getRegexBytes();", "@Test\n public void testParseRegexp_correctness1new()\n throws InvalidRegexpException {\n BasicRegexp re = BasicRegexp.parseRegexp(\"(01|10)*1111\");\n assertEquals(re.toString(), \"(01|10)*1111\");\n }", "public void set_isregex(String isregex) throws Exception{\n\t\tthis.isregex = isregex;\n\t}", "public static void main(String[] args) {\r\n\t\t boolean matches_1 = Pattern.matches(\"[a-zA-Z0-9]{4}\", \"0Aa1\");\r\n\t\t boolean matches_2 = Pattern.matches(\"[a-zA-Z0-9]{4}\", \"0A@a1\");\r\n\t\t\t System.out.println(\"Regular Expression is \"+matches_1 +\" for given string(0Aa1)\");\r\n\t\t\t System.out.println(\"Regular Expression is \"+matches_2 +\" for given string(0A@a1)\");\r\n\t}", "public static void main(String[] args) {\n Pattern p = Pattern.compile(\"2*5?$\");\n Matcher m = p.matcher(regex1);\n if (m.matches()) {\n System.out.println(\"YES ¦ \");\n } else {\n System.out.println(\"NO\");\n }\n\n }", "@Override\n\tpublic boolean test(MyRegex t) {\n\t\treturn false;\n\t}", "private String parseRegExp(String exp) throws Exception {\r\n\t\treturn RegexpTranslationHelper.translateANTLRToAutomatonStyle(exp);\r\n\t}", "@Test\n public void testParseRegexp_valid7() throws InvalidRegexpException {\n BasicRegexp re = BasicRegexp.parseRegexp(\"abc*def\");\n assertEquals(re.toString(), \"abc*def\");\n }", "public final String getRegex() {\n\t\treturn JsUtils.getNativePropertyString(this, \"regex\");\n\t}", "public RegexPatternBuilder ()\n {\n this.regex = null;\n }", "private boolean isRegexValid(String string)\n {\n try\n {\n Pattern.compile(string, Pattern.MULTILINE);\n return true;\n }\n catch (PatternSyntaxException e)\n {\n return false;\n }\n }", "public java.lang.Short getRegexMatch() {\r\n return regexMatch;\r\n }", "@Test\n public void testParseRegexp_valid6() throws InvalidRegexpException {\n BasicRegexp re = BasicRegexp.parseRegexp(\"ab(cd(e))ff\");\n assertEquals(re.toString(), \"abcdeff\");\n }", "@Override // kotlin.p2243e.p2244a.AbstractC32522b\n public /* synthetic */ Regex invoke(Integer num) {\n return mo131903a(num.intValue());\n }", "public static TextP regex(final String value) {\n return new TextP(new Text.RegexPredicate(value, false), value);\n }", "public static Term createRegExp(Expression exp) {\r\n\t\tTerm term = Term.function(REGEX, exp);\r\n\t\treturn term;\r\n\t}", "public Pattern getValidStringPattern();", "@Test\r\n public void testRegexp() throws Exception {\n\r\n String a = \"a/b/100/test\";\r\n\r\n Pattern pattern = Pattern.compile(\".+/(\\\\d+)/test\");\r\n\r\n System.out.println(parseIdFromUriPath(a, pattern));\r\n\r\n }", "public static Regex compile(String pattern, int cflags) throws RegexException {\n return new Regex(pattern, REG_EXTENDED | cflags);\n }", "public Expression setRegexTest(Expression exp, Expression test){\r\n\t\tregexExpr.put(exp, test);\r\n\t\tExpression tt = Term.function(Term.TEST);\r\n\t\ttt.setExpr(test);\r\n\t\tExpression seq = sequence(exp, tt);\r\n\t\treturn seq;\r\n\t}", "C11998c mo41092g(String str);", "@Test\n public void contactNumber_WhenValid_ShouldReturnTrue(){\n RegexTest valid = new RegexTest();\n boolean result = valid.contactNumber( \"91 1234567890\");\n Assert.assertEquals(true,result);\n }", "@Test\n public void testDebugPrintBasicRegexp() throws InvalidRegexpException {\n BasicRegexp re1 = BasicRegexp.parseRegexp(\"(01|10)*1111\");\n BasicRegexp.debugPrintBasicRegexp(0, re1);\n }", "@Test\r\n public void testGetRegexp() {\r\n final Regexp re = rs.getRegexp(reString);\r\n assertTrue(rs.hasRegexp(reString));\r\n assertSame(rs.getRegexp(reString), re);\r\n }", "public String checkRegularExpression(String input) {\n String actualResult=\"\";\n String pattern=\".*harry*\";\n boolean value= Pattern.matches(pattern,input);\n actualResult+=\"Is harry there?\"+value;\n return actualResult;\n\n }", "public static void main(String[] args) {\n//\n// String pattern = \"abba\";\n// String s = \"dog cat cat fish\";\n\n\n// String pattern = \"aaaa\";\n// String s = \"dog cat cat dog\";\n\n String pattern = \"abba\";\n String s = \"dog dog dog dog\";\n\n// String pattern = \"e\";\n// String s = \"eukera\";\n\n boolean flag = wordPattern(pattern, s);\n\n System.out.println(flag);\n }", "public RegexGrep(ShellEnvironment env, String[] args) {\n super(env, args);\n this.regex = Pattern.compile(args[0]);\n }", "@Test\n public void wordPatternTest() {\n String pattern = \"aaa\", str = \"aa aa aa aa\";\n boolean ans = instance.wordPattern(pattern, str);\n System.out.println(ans);\n }", "@Test\n public void testParseRegexp_valid1() throws InvalidRegexpException {\n BasicRegexp re = BasicRegexp.parseRegexp(\"\");\n assertEquals(re, null);\n }", "@Test(expected = InvalidRegexpException.class)\n public void testParseRegexp_invalid8() throws Throwable {\n BasicRegexp.parseRegexp(\"()\");\n }", "void mo37759a(String str);", "private static String globToRegex(final String glob) {\n return \"^\" + glob.replace(\".\", \"\\\\.\").replace(\"*\", \".*\") + \"$\";\n }", "void mo12635a(String str);", "com.google.privacy.dlp.v2.CustomInfoType.Regex getRegex();", "public static String toRegex(String param) \r\n\t{\r\n\t\tStringBuffer regex = new StringBuffer();\r\n\t\tfor( int i=0; i < param.length(); i++ ) \r\n\t\t{\r\n\t\t\tchar next = param.charAt( i );\r\n\t\t\t if ('*' == next) regex.append( \".+\" ); // -> multi-character match wild card\r\n\t\t\telse if ('?' == next) regex.append( \".\" ); // -> single-character match wild card\r\n\t\t\telse if ('.' == next) regex.append( \"\\\\.\" ); // all of these are special regex characters we are quoting\r\n\t\t\telse if ('+' == next) regex.append( \"\\\\+\" ); \r\n\t\t\telse if ('$' == next) regex.append( \"\\\\$\" ); \r\n\t\t\telse if ('\\\\' == next) regex.append( \"\\\\\\\\\" ); \r\n\t\t\telse if ('[' == next) regex.append( \"\\\\[\" ); \r\n\t\t\telse if (']' == next) regex.append( \"\\\\]\" ); \r\n\t\t\telse if ('{' == next) regex.append( \"\\\\{\" ); \r\n\t\t\telse if ('}' == next) regex.append( \"\\\\}\" ); \r\n\t\t\telse if ('(' == next) regex.append( \"\\\\(\" ); \r\n\t\t\telse if (')' == next) regex.append( \"\\\\)\" ); \r\n\t\t\telse if ('&' == next) regex.append( \"\\\\&\" ); \r\n\t\t\telse if ('^' == next) regex.append( \"\\\\^\" ); \r\n\t\t\telse if ('-' == next) regex.append( \"\\\\-\" ); \r\n\t\t\telse if ('|' == next) regex.append( \"\\\\|\" ); \r\n\t\t\telse regex.append( next );\r\n\t\t}\r\n\t\t\r\n\t\treturn regex.toString();\r\n\t}", "public GlobFilenameFilter(String regex) {\n super(__CACHE, __MATCHER, regex);\n }", "public static void main(String[] args) {\n// System.out.println(alphanumeric.replaceAll(\"[aei]\", \"x\"));\n\n\n String regex = \"^[A-Z]|[a-z]\";\n String username = \"kaaviya\";\n\n System.out.println(username.replaceAll( \"^[A-Za-z][A-Za-z0-9_]{7,29}$\", \"x\"));\n System.out.println(username.matches(regex));\n\n }", "String mo2801a(String str);", "public com.google.protobuf.ByteString\n getRegexBytes() {\n java.lang.Object ref = regex_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b =\n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n regex_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "public com.google.protobuf.ByteString\n getRegexBytes() {\n java.lang.Object ref = regex_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b =\n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n regex_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "public static Regex compile(String pattern) throws RegexException {\n return compile(pattern, 0);\n }", "public static void main(String[] args) throws Exception {\n String patronA = \"[0-5]\";\n\n // conjunto de letras de \"a\" a \"c\"\n String patronB = \"[a-c]\";\n\n // conjunto de todas las letras minusculas\n String patronC = \"[a-z]\";\n\n // conjunto de numeros\n String patronD = \"[0-9]\";\n\n // ejemplo con tipo de dato string\n String textoAlfanumerico = \"0123aaaa\";\n System.out.println(\"Texto alfanumerico:\" + textoAlfanumerico);\n\n String replace1 = textoAlfanumerico.replaceAll(patronA, \"X\");\n System.out.println(\"Reemplazo de numeros con X: \" + replace1);\n\n String replace2 = textoAlfanumerico.replaceAll(patronB, \"X\");\n System.out.println(\"Reemplazo de letras con X: \" + replace2);\n\n\n //[0-5][a-c];\n //String patronComplejo = patronA + patronB;\n\n //[a-c]*[0-5]*\n //String patronComplejo = patronA + \"*\" + patronB + \"*\";\n\n //\"[a-z]+\"\n\n // + = una coincidencia\n // * = ninguna o muchas\n\n //String patronComplejo = \"(\" + patronA + patronC + \")+\";\n String patronComplejo = \"(\" + patronC + \")+\";\n\n String texto = \"hola, aacc este bbcc es mi 55222aaa texto 2663aaaa blah blah\";\n System.out.println(\"patron complejo:\" + patronComplejo);\n System.out.println(texto);\n\n Pattern pattern = Pattern.compile(patronComplejo);\n Matcher matcher = pattern.matcher(texto);\n\n // buscar ocurrencias\n while (matcher.find()) {\n System.out.println(\"Encontrado:\" + matcher.group());\n }\n\n\n }", "@Test\n public void testOptimise_2() throws InvalidRegexpException {\n BasicRegexp re1 = BasicRegexp.parseRegexp(\"a+++++++++++++++++++++\");\n\n assertEquals(re1.optimise(BasicRegexp.OPTIMISE_ALL, -1).toString(),\n \"a+\");\n }", "public String returnRegex() {\n\t\tString chosenRegex;\n\t\tSystem.out.println(\"selectedRegex value is: \" + selectedRegex);\n\t\tswitch (selectedRegex) {\n\t\tcase 1:\n\t\t\tchosenRegex = \"(\\\\&?\\\\??t=\\\\d*?[h]?\\\\d*[m]?\\\\d*[s]|\\\\&t=\\\\d*)\";\n\t\t\tbreak;\n\t\tcase 2:\n\t\t\tchosenRegex = \"(\\\\&list=[a-zA-Z 0-9 -]+\\\\&?index=?\\\\d+?)\";\n\t\t\tbreak;\n\t\tcase 3:\n\t\t\tchosenRegex = \"(\\\\&feature=youtu.be)\";\n\t\t\tbreak;\n\t\tdefault:\n\t\t\tchosenRegex = \"\\\\?t.*|\\\\&t.*|\\\\&l.*|\\\\&f.*\"; // alternative:\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// (\\\\&?\\\\??t=\\\\d*?[h]?\\\\d*[m]?\\\\d*[s]|\\\\&t=\\\\d*|\\\\&list=[a-zA-Z\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// 0-9 -]*)\n\t\t\tbreak;\n\t\t}\n\t\tSystem.out.println(chosenRegex);\n\t\treturn chosenRegex;\n\t}", "@java.lang.Override\n public com.google.protobuf.ByteString\n getRegexBytes() {\n java.lang.Object ref = regex_;\n if (ref instanceof java.lang.String) {\n com.google.protobuf.ByteString b =\n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n regex_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "@java.lang.Override\n public com.google.protobuf.ByteString\n getRegexBytes() {\n java.lang.Object ref = regex_;\n if (ref instanceof java.lang.String) {\n com.google.protobuf.ByteString b =\n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n regex_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "private static String adaptRegEx(Mode mode, String regex, int flagMask, boolean removeWhitespace)\n throws QueryException {\n StringBuilder sb = new StringBuilder();\n boolean escaped = false;\n boolean groupStart = false;\n int completeGroups = 0;\n int backRef = 0;\n int charClassDepth = 0;\n int groupDepth = 0;\n\n for (char c : regex.toCharArray()) {\n if (escaped) {\n if (backRef == 0 && c == '0') {\n throw new QueryException(ErrorCode.ERR_INVALID_REGULAR_EXPRESSION, \"Reference to group 0 not allowed\");\n } else if (c >= '0' && c <= '9') {\n if (charClassDepth > 0) {\n throw new QueryException(ErrorCode.ERR_INVALID_REGULAR_EXPRESSION,\n \"Back references in character class expressions\" + \" are disallowed.\");\n }\n backRef = backRef * 10 + Integer.parseInt(Character.toString(c));\n continue;\n }\n }\n\n if (backRef > 0) {\n // Check back reference that just ended\n if (backRef > completeGroups) {\n throw new QueryException(ErrorCode.ERR_INVALID_REGULAR_EXPRESSION,\n \"Back reference to nonexisting or unfinished group.\");\n } else {\n backRef = 0;\n escaped = false;\n }\n }\n\n if (c == '\\\\' && !escaped) {\n // Not preceded by backslash\n escaped = true;\n groupStart = false;\n continue;\n }\n\n if (c == '(' && !escaped) {\n groupStart = true;\n groupDepth++;\n escaped = false;\n continue;\n }\n\n if (c == '?' && !escaped && groupStart) {\n throw new QueryException(ErrorCode.ERR_INVALID_REGULAR_EXPRESSION,\n \"Pure groups are not supported in XQuery regular expressions.\");\n } else if (c == ')' && !escaped) {\n if (--groupDepth < 0) {\n throw new QueryException(ErrorCode.ERR_INVALID_REGULAR_EXPRESSION, \"Invalid sequence of brackets.\");\n }\n completeGroups++;\n } else if (c == '[' && !escaped) {\n charClassDepth++;\n } else if (c == ']' && !escaped) {\n if (--charClassDepth < 0) {\n throw new QueryException(ErrorCode.ERR_INVALID_REGULAR_EXPRESSION, \"Invalid sequence of brackets.\");\n }\n } else if (removeWhitespace) {\n // Remove whitespace outside of character classes\n if (charClassDepth == 0 && WHITESPACE.contains(c)) {\n // Don't touch boolean flags\n continue;\n }\n\n sb.append(c);\n }\n\n groupStart = false;\n escaped = false;\n }\n\n // Check for trailing '\\' (only valid with subsequent characters)\n if (escaped && backRef == 0) {\n throw new QueryException(ErrorCode.ERR_INVALID_REGULAR_EXPRESSION, \"Trailing backslash character in pattern.\");\n }\n\n // Check back reference if that was last token in pattern\n if (backRef > 0 && backRef > completeGroups) {\n throw new QueryException(ErrorCode.ERR_INVALID_REGULAR_EXPRESSION,\n \"Back reference to nonexisting or unfinished group.\");\n }\n\n // Check for dangling brackets\n if (charClassDepth != 0 || groupDepth != 0) {\n throw new QueryException(ErrorCode.ERR_INVALID_REGULAR_EXPRESSION, \"Pattern contains dangling brackets.\");\n }\n\n if (!removeWhitespace) {\n sb.append(regex);\n }\n\n if (mode == Mode.MATCH) {\n // Adapt for XQuery substring matching by extending pattern\n if (sb.charAt(0) != '^' || ((flagMask & Pattern.MULTILINE) == Pattern.MULTILINE)) {\n if ((flagMask & Pattern.DOTALL) == Pattern.DOTALL) {\n sb.insert(0, \".*\");\n } else {\n sb.insert(0, \"(?s:.*)\");\n }\n }\n\n if (sb.charAt(sb.length() - 1) != '$' || ((flagMask & Pattern.MULTILINE) == Pattern.MULTILINE)) {\n if ((flagMask & Pattern.DOTALL) == Pattern.DOTALL) {\n sb.append(\".*\");\n } else {\n sb.append(\"(?s:.*)\");\n }\n }\n }\n\n return sb.toString();\n }", "public RegExp anyChar ()\n {\n // FIXME: there is some code duplication here with the parser\n final List <Interval> list = new ArrayList <> ();\n list.add (new Interval (0, CharClasses.maxChar));\n return new RegExp1 (sym.CCLASS, list);\n }", "protected String hookGetRegex() \r\n\t{\n\t\treturn \"\\\\s+\"; \r\n\t}", "private static boolean matchRegex(Pattern regExpression, String filename) {\n\t\tMatcher m = regExpression.matcher(filename);\n\t\tif (m.matches()) {\n\t\t\treturn true;\n\t\t} else {\n\t\t\treturn false;\n\t\t}\n\t}", "RegExConstraint createRegExConstraint();", "public void setRegexMatch(java.lang.Short regexMatch) {\r\n this.regexMatch = regexMatch;\r\n }", "void mo5871a(String str);", "private JBurgPatternMatcher()\n\t{\n\t}", "public final String getPattern() {\n/* 187 */ return this.m_pattern;\n/* */ }", "public String getPattern() {\n\treturn pattern;\n }", "public Regex mo131901a(int i) {\n C32591j jVar = C32645l.m150681b(this.f111785a.m150658d(), i);\n if (jVar.getStart().intValue() < 0) {\n return null;\n }\n String group = this.f111785a.m150658d().group(i);\n C32569u.m150513a((Object) group, \"matchResult.group(index)\");\n return new Regex(group, jVar);\n }", "@Override\n\tpublic void visit(RegExpMatchOperator arg0) {\n\t\t\n\t}", "@Test //TEST FOUR\n void testOneNumberinRabbitName()\n {\n Rabbit_RegEx rabbit_Name = new Rabbit_RegEx();\n rabbit_Name.setRabbitName(\"MO0N\");\n assertFalse(rabbit_Name.getRabbitName().matches(\"[A-Za-z-]*\"));\n }", "private LiteralToken nextRegularExpressionLiteralToken() {\n LiteralToken token = scanner.nextRegularExpressionLiteralToken();\n lastSourcePosition = token.location.end;\n return token;\n }", "public String getPattern() {\r\n \treturn pattern;\r\n }", "public int getPattern() {\n return this.pattern;\n }" ]
[ "0.72026896", "0.7194223", "0.7194223", "0.68615586", "0.6858206", "0.67436427", "0.6587065", "0.6512296", "0.64326847", "0.6404885", "0.63460666", "0.6331", "0.6291084", "0.6286594", "0.6254456", "0.6238955", "0.6219856", "0.6202358", "0.6189153", "0.61239773", "0.610071", "0.6062738", "0.6032594", "0.59982014", "0.5996874", "0.5924192", "0.59115654", "0.5864164", "0.58572525", "0.58453", "0.58453", "0.5841216", "0.58262175", "0.5814594", "0.5811531", "0.58056986", "0.580481", "0.57985896", "0.5770896", "0.57697666", "0.57547474", "0.5754631", "0.5754291", "0.57499665", "0.57477105", "0.5747135", "0.57377404", "0.5728356", "0.5720464", "0.57105994", "0.569544", "0.5688132", "0.56866807", "0.5680289", "0.5667682", "0.56612164", "0.56564504", "0.5585063", "0.5555574", "0.5529932", "0.55271614", "0.5522922", "0.55216306", "0.5515437", "0.55144066", "0.5475341", "0.54649585", "0.54602605", "0.54552746", "0.5454531", "0.54507446", "0.54498005", "0.54474837", "0.5440438", "0.54248166", "0.54176825", "0.541224", "0.5411842", "0.5410461", "0.54078144", "0.5407357", "0.5399649", "0.53911847", "0.5381891", "0.5381891", "0.53741324", "0.5369898", "0.5353865", "0.53480643", "0.53464174", "0.53416866", "0.5329152", "0.53245693", "0.5322008", "0.5312056", "0.52923334", "0.5292296", "0.5286544", "0.5280226", "0.5259832", "0.5251492" ]
0.0
-1
.Status status = 1;
int getStatusValue();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setStatus(String status) { this.status = status; }", "void setStatus(STATUS status);", "public void setStatus(EnumVar status) {\n this.status = status;\n }", "public void setStatus(Status status) {\r\n\t this.status = status;\r\n\t }", "public void setStatus(Integer status) {\r\n this.status = status;\r\n }", "public void setStatus(Integer status) {\r\n this.status = status;\r\n }", "void setStatus(int status);", "public void setStatus(Byte status) {\r\n this.status = status;\r\n }", "public void setStatus(Byte status) {\r\n this.status = status;\r\n }", "public void setStatus(Byte status) {\r\n this.status = status;\r\n }", "public void setStatus(Byte status) {\r\n this.status = status;\r\n }", "public void setStatus(Byte status) {\r\n this.status = status;\r\n }", "public void setStatus(Byte status) {\r\n this.status = status;\r\n }", "public void setStatus(Byte status) {\r\n this.status = status;\r\n }", "public void setStatus(int status){\r\n\t\tthis.status=status;\r\n\t}", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(int status);", "public void setStatus(int status);", "public void setStatus(Boolean s){ status = s;}", "public void setStatus(int status) {\n STATUS = status;\n }", "public void setStatus(Status newStatus){\n status = newStatus;\n }", "public void setStatus(String stat)\n {\n status = stat;\n }", "private void setStatus(com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n status_ = value;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(long status) {\r\n this.status = status;\r\n }", "public void setStatus(Integer status) {\n\t\tthis.status = status;\n\t}", "public void setStatus(Integer status) {\n\t\tthis.status = status;\n\t}", "public void setStatus(String status) {\r\n this.status = status;\r\n }", "public void setStatus(java.lang.Object status) {\n this.status = status;\n }", "public void setStatus(Status status)\n {\n this.status = status;\n }", "public void setgetStatus()\r\n\t{\r\n\t\tthis.status = 'S';\r\n\t}", "public void setStatus(Byte status) {\r\n\t\tthis.status = status;\r\n\t}", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "@Override\n\t\tpublic void setStatus(int status) {\n\t\t\t\n\t\t}", "public void setStatus(StatusEnum status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n\t\tthis.status = status;\n\t}", "public void setStatus(Byte status) {\n\t\tthis.status = status;\n\t}", "public void setStatus(int status) {\n this.status = status;\n }", "public void setStatus(int status) {\n this.status = status;\n }", "public void setStatus(Status status) {\r\n this.status = status;\r\n }", "public void setStatus(String status) {\r\n this.status = status;\r\n }", "public void setStatus(String status) {\r\n this.status = status;\r\n }", "public void setStatus(Short status) {\n this.status = status;\n }", "public void setStatus(STATUS status) {\n this.status = status;\n }", "void setStatus(String status);", "public void setStatus(Short status) {\n\t\tthis.status = status;\n\t}", "public void setStatus(Short status) {\n\t\tthis.status = status;\n\t}", "public void setStatus(int v) \n {\n \n if (this.status != v)\n {\n this.status = v;\n setModified(true);\n }\n \n \n }", "public void setStatus( Short status ) {\n this.status = status;\n }", "public void setStatus(String newStatus){\n\n //assigns the value of newStatus to the status field\n this.status = newStatus;\n }", "public Status getStatus(){\n return status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(Status status) {\n this.status = status;\n }", "public void setStatus(Status status) {\n this.status = status;\n }", "public void setStatus(Status status) {\n this.status = status;\n }" ]
[ "0.7656765", "0.76468766", "0.7565312", "0.7561203", "0.75449044", "0.75449044", "0.75349724", "0.74959093", "0.74959093", "0.74959093", "0.74959093", "0.74959093", "0.74959093", "0.74959093", "0.7482147", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.74783385", "0.74783385", "0.746719", "0.74658287", "0.746098", "0.7456925", "0.7452718", "0.7435934", "0.7435934", "0.7435934", "0.7435934", "0.7435934", "0.7435934", "0.7435934", "0.7435934", "0.7435934", "0.7435934", "0.7435934", "0.7435934", "0.7435934", "0.7435248", "0.7432568", "0.7432568", "0.7425985", "0.74143654", "0.74118876", "0.7398544", "0.7398282", "0.73973185", "0.73973185", "0.7396562", "0.73950607", "0.7392215", "0.7392215", "0.7382456", "0.7382456", "0.7378742", "0.73726434", "0.73726434", "0.7368736", "0.73626804", "0.7351154", "0.7345713", "0.7345713", "0.73451585", "0.7332328", "0.7329264", "0.73258084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.728639", "0.728639", "0.728639" ]
0.0
-1
.Status status = 1;
entities.Torrent.Status getStatus();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setStatus(String status) { this.status = status; }", "void setStatus(STATUS status);", "public void setStatus(EnumVar status) {\n this.status = status;\n }", "public void setStatus(Status status) {\r\n\t this.status = status;\r\n\t }", "public void setStatus(Integer status) {\r\n this.status = status;\r\n }", "public void setStatus(Integer status) {\r\n this.status = status;\r\n }", "void setStatus(int status);", "public void setStatus(Byte status) {\r\n this.status = status;\r\n }", "public void setStatus(Byte status) {\r\n this.status = status;\r\n }", "public void setStatus(Byte status) {\r\n this.status = status;\r\n }", "public void setStatus(Byte status) {\r\n this.status = status;\r\n }", "public void setStatus(Byte status) {\r\n this.status = status;\r\n }", "public void setStatus(Byte status) {\r\n this.status = status;\r\n }", "public void setStatus(Byte status) {\r\n this.status = status;\r\n }", "public void setStatus(int status){\r\n\t\tthis.status=status;\r\n\t}", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(int status);", "public void setStatus(int status);", "public void setStatus(Boolean s){ status = s;}", "public void setStatus(int status) {\n STATUS = status;\n }", "public void setStatus(Status newStatus){\n status = newStatus;\n }", "public void setStatus(String stat)\n {\n status = stat;\n }", "private void setStatus(com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n status_ = value;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(long status) {\r\n this.status = status;\r\n }", "public void setStatus(Integer status) {\n\t\tthis.status = status;\n\t}", "public void setStatus(Integer status) {\n\t\tthis.status = status;\n\t}", "public void setStatus(String status) {\r\n this.status = status;\r\n }", "public void setStatus(java.lang.Object status) {\n this.status = status;\n }", "public void setStatus(Status status)\n {\n this.status = status;\n }", "public void setgetStatus()\r\n\t{\r\n\t\tthis.status = 'S';\r\n\t}", "public void setStatus(Byte status) {\r\n\t\tthis.status = status;\r\n\t}", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "@Override\n\t\tpublic void setStatus(int status) {\n\t\t\t\n\t\t}", "public void setStatus(StatusEnum status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n\t\tthis.status = status;\n\t}", "public void setStatus(Byte status) {\n\t\tthis.status = status;\n\t}", "public void setStatus(int status) {\n this.status = status;\n }", "public void setStatus(int status) {\n this.status = status;\n }", "public void setStatus(Status status) {\r\n this.status = status;\r\n }", "public void setStatus(String status) {\r\n this.status = status;\r\n }", "public void setStatus(String status) {\r\n this.status = status;\r\n }", "public void setStatus(Short status) {\n this.status = status;\n }", "public void setStatus(STATUS status) {\n this.status = status;\n }", "void setStatus(String status);", "public void setStatus(Short status) {\n\t\tthis.status = status;\n\t}", "public void setStatus(Short status) {\n\t\tthis.status = status;\n\t}", "public void setStatus(int v) \n {\n \n if (this.status != v)\n {\n this.status = v;\n setModified(true);\n }\n \n \n }", "public void setStatus( Short status ) {\n this.status = status;\n }", "public void setStatus(String newStatus){\n\n //assigns the value of newStatus to the status field\n this.status = newStatus;\n }", "public Status getStatus(){\n return status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(Status status) {\n this.status = status;\n }", "public void setStatus(Status status) {\n this.status = status;\n }", "public void setStatus(Status status) {\n this.status = status;\n }" ]
[ "0.7656765", "0.76468766", "0.7565312", "0.7561203", "0.75449044", "0.75449044", "0.75349724", "0.74959093", "0.74959093", "0.74959093", "0.74959093", "0.74959093", "0.74959093", "0.74959093", "0.7482147", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.74783385", "0.74783385", "0.746719", "0.74658287", "0.746098", "0.7456925", "0.7452718", "0.7435934", "0.7435934", "0.7435934", "0.7435934", "0.7435934", "0.7435934", "0.7435934", "0.7435934", "0.7435934", "0.7435934", "0.7435934", "0.7435934", "0.7435934", "0.7435248", "0.7432568", "0.7432568", "0.7425985", "0.74143654", "0.74118876", "0.7398544", "0.7398282", "0.73973185", "0.73973185", "0.7396562", "0.73950607", "0.7392215", "0.7392215", "0.7382456", "0.7382456", "0.7378742", "0.73726434", "0.73726434", "0.7368736", "0.73626804", "0.7351154", "0.7345713", "0.7345713", "0.73451585", "0.7332328", "0.7329264", "0.73258084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.728639", "0.728639", "0.728639" ]
0.0
-1
string errorMessage = 2;
java.lang.String getErrorMessage();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "String errorMessage();", "private void error(String string) {\n\t\r\n}", "String getErrorMessage();", "String getErrorMessage();", "String getError(int i) {\n if (i >= 0 & i < msgs.length)\n return msgs[i];\n else\n return \"Invalid Error Code\";\n }", "java.lang.String getError();", "java.lang.String getError();", "java.lang.String getError();", "void showErrorMsg(String string);", "String getGetErrorMessage();", "java.lang.String getErr();", "public String getErrorString()\r\n\t{\r\n\t\t\r\n\t\treturn ERROR_STRING;\r\n\t}", "public void error(String string) {\n\t\t\n\t}", "String getInvalidMessage();", "private static String getMessage(int code) {\n switch (code) {\n case ME_DIV_BY_ZERO:\n return \"Attempt to divide by zero.\";\n case ME_ASSIGNLITERAL:\n return \"Attempt to assign to a literal.\";\n case ME_NONVARASSIGN:\n return \"Attempt to assign to a non-variable.\";\n default:\n return \"Unknown error.\";\n }\n }", "String getErrorsString();", "public String error();", "public String getError() {\n\treturn mistake;\n }", "private String getErrorString() {\n\t\treturn \"GUID:ERROR:\" + mErrors[0][0]\n\t\t + \":\" + mErrors[1][0]\n\t\t + \":\" + mErrors[2][0]\n\t\t + \":\" + mErrors[3][0];\n\t}", "public String getErrorMessage() \r\n\t{\r\n\t\t\r\n\t\treturn errorMessage;\r\n\t\t\r\n\t}", "public java.lang.String getErrorMessage(){\n return localErrorMessage;\n }", "java.lang.String getErrmsg();", "public String getErrorString()\n\t{\n\t\treturn errorString;\n\t}", "public static String getLastErrorMessage()\r\n\t{\n\t\treturn lastAlert;\r\n\t}", "String getMessage();", "String getMessage();", "String getMessage();", "private int getErrorId(final String message) {\n\t\tif (isLowerCase(message)) {\n\t\t\treturn ERROR_LOWER_CASE;\n\t\t} else if (isUnunsedMacro(message)) {\n\t\t\treturn ERROR_UNUSED_MACRO;\n\t\t} else if (isUnunsedVariable(message)) {\n\t\t\treturn ERROR_UNUSED_VARIABLE;\n\t\t} else if (isEndLineSpace(message) || isNoSpace(message)) {\n\t\t\treturn ERROR_NO_SPACE;\n\t\t} else if (isOneSpace(message)) {\n\t\t\treturn ERROR_ONE_SPACE;\n\t\t} else {\n\t\t\treturn ERROR_INVALID;\n\t\t}\n\t}", "public String getErrorString(String message) {\n \t\treturn getString(new StringBuffer(\"error.\").append(message).toString());\n \t}", "String getErrorMessage(E input);", "public String errorMessage()\n {\n return new String(errorMessageAsBytes());\n }", "String Message ();", "public String errorMessage() {\n return errorMessage;\n }", "void SemErr(String str);", "public String getErrorMessage()\n {\n return errorMessage;\n }", "ErrorCodes(int code){\n this.code = code;\n //this.message = message;\n }", "int getErrorCode();", "public String getErrorCode();", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n if (bs.isValidUtf8()) {\n errorMessage_ = s;\n }\n return s;\n }\n }", "void showError(@StringRes int errorMessage);", "void showError(String errorMessage);", "private static int getErrorLine(String errmsg){\n\t\treturn Integer.parseInt(errmsg.substring(0,errmsg.indexOf(\":\")).substring(errmsg.substring(0,errmsg.indexOf(\":\")).lastIndexOf(\" \")+1));\n\t}", "public String errorMessage()\n {\n return edma_errorMsg;\n }", "public String getErrorMessage() {\r\n return this.errorMessage;\r\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public String errorMessage() {\n return this.errorMessage;\n }", "public String getErrorMessage() {\n\t\treturn errorMessage;\n\t}", "public int getError() {\n return error;\n }", "public String getErrorMessage() {\n return this.errorMessage;\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n java.lang.String s = ((com.google.protobuf.ByteString) ref)\n .toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "void setErrorMessage(String errorMessage);", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "static int errorMsg(int eCode)\n {\n if (eCode == 0) return 0;\n String message = \"\";\n switch (eCode){\n case 1: message = \"Division by zero\"; break;\n case 2: message = \"Non-matching parenthesis in function\"; break;\n case 3: message = \"Must enclose negative exponents in parentheses\"; break;\n case 4: message = \"Incorrect Operator Syntax\"; break;\n case 5: message = \"Rightfunctions must use parenthesis. (example: ABS(-2);\"; break;\n case 6: message = \"Unrecognized token in function srtring.\"; break;\n case 8: message = \"Can not raise negative number to a fractional power.\"; break;\n case 10:message = \"Input a real number with no operators\"; break;\n }\n JOptionPane.showMessageDialog(null, message, \"Error \"+eCode, JOptionPane.ERROR_MESSAGE);\n return 0;\n }", "public String getError() {\n return errMsg;\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n }\n }", "public String getMsgError() {\r\n\t\treturn msgError;\r\n\t}", "public String getErrorMessage() {\n return errorMessage;\n }", "public String getErrorMessage() {\n return errorMessage;\n }", "public String getErrorMessage() {\n return errorMessage;\n }", "String getFailureMessage();", "public int error() {\n return this.error;\n }", "public String getParseErrorMessage();", "public String getErrorMessage() {\n return ERROR_MESSAGE;\n }", "public String getError() {\r\n if (scriptError == null) return \"\";\r\n return scriptError;\r\n }", "private String getGUIErrorMsg(long errorcode) {\n\t\tif (errorcode == 0) {\n\t\t\treturn \"This popup shouldn't have launched!\";\n\t\t} else if (errorcode == 9) {\n\t\t\treturn \"Latitude input format incorrect!\\nValid Latitude values are -90 to 90 with negative values being south Latitude.\";\n\t\t} else if (errorcode == 10) {\n\t\t\treturn \"Longitude input format incorrect!\\nValid Longitude values are -180 to 180 with negative values being west latitude.\";\n\t\t} else if (errorcode == 11) {\n\t\t\treturn \"Date input format incorrect!\\nValid dates go <year>-<month>-<day>\\nValid month values are 1- 12 and valid day values are 1 - 31.\";\n\t\t} else if (errorcode == 12) {\n\t\t\treturn \"Time input format incorrect!\\nValid times go <hour>-<minute>-<second>\\nValid hour values are 0 - 23 and valid minute and second values are 0 - 59\";\n\t\t} else if (errorcode == 1) {\n\t\t\treturn \"Invalid latitude!\\nValid Latitude values are -90 to 90 with negative values being south Latitude.\";\n\t\t} else if (errorcode == 2) {\n\t\t\treturn \"Invalid Longitude!\\nValid Longitude values are -180 to 180 with negative values being west latitude.\";\n\t\t} else if (errorcode == 3) {\n\t\t\treturn \"Invalid Year!\\nValid year values are \" + Integer.MIN_VALUE + \" - \" + Integer.MAX_VALUE + \".\";\n\t\t} else if (errorcode == 4) {\n\t\t\treturn \"Invalid Month!\\nValid month values are 1 - 12\";\n\t\t} else if (errorcode == 5) {\n\t\t\treturn \"Invalid Day!\\nValid day values are 1 - 31\";\n\t\t} else if (errorcode == 6) {\n\t\t\treturn \"Invalid Hour!\\nValid hour values are 0 - 23\";\n\t\t} else if (errorcode == 7) {\n\t\t\treturn \"Invalid Minute!\\nValid minute values are 0 - 59\";\n\t\t} else if (errorcode == 8) {\n\t\t\treturn \"Invalid Second!\\nValid second values are 0 - 59\";\n\t\t} \n\t\treturn \"Undefined Error Message!\";\n\t}", "public void setErrorMsg(String text) {\n this.errorMsg = text;\n }", "public int getErrorNo() {\n return this.errorNo;\n }", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();" ]
[ "0.7234827", "0.68487597", "0.68242407", "0.68242407", "0.66320926", "0.6613902", "0.6613902", "0.6613902", "0.6587221", "0.6458624", "0.642881", "0.6387629", "0.6339448", "0.63337046", "0.6318866", "0.6310054", "0.6266495", "0.6207546", "0.6169787", "0.6162002", "0.61556125", "0.61209476", "0.6114965", "0.61042917", "0.60988075", "0.60988075", "0.60988075", "0.60916275", "0.60737956", "0.6044167", "0.60035205", "0.59917176", "0.59845275", "0.59643966", "0.5963419", "0.59538627", "0.5917793", "0.58881736", "0.58858836", "0.5880861", "0.58786815", "0.5865479", "0.5863698", "0.5842632", "0.583974", "0.583974", "0.583974", "0.583974", "0.583974", "0.583974", "0.583974", "0.58391654", "0.58391654", "0.58391654", "0.5837601", "0.5828023", "0.58268774", "0.58249444", "0.5820853", "0.5818837", "0.5808825", "0.5808012", "0.5803665", "0.57976645", "0.5796016", "0.57934284", "0.57934284", "0.57934284", "0.5786855", "0.57868457", "0.5785435", "0.578205", "0.576942", "0.57514906", "0.57502955", "0.5743453", "0.57404053", "0.57404053", "0.57404053", "0.57404053", "0.57404053", "0.57404053", "0.57404053", "0.57404053", "0.57404053", "0.57404053", "0.57404053", "0.57404053", "0.57404053" ]
0.65931696
16
string errorMessage = 2;
com.google.protobuf.ByteString getErrorMessageBytes();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "String errorMessage();", "private void error(String string) {\n\t\r\n}", "String getErrorMessage();", "String getErrorMessage();", "String getError(int i) {\n if (i >= 0 & i < msgs.length)\n return msgs[i];\n else\n return \"Invalid Error Code\";\n }", "java.lang.String getError();", "java.lang.String getError();", "java.lang.String getError();", "java.lang.String getErrorMessage();", "java.lang.String getErrorMessage();", "java.lang.String getErrorMessage();", "java.lang.String getErrorMessage();", "java.lang.String getErrorMessage();", "java.lang.String getErrorMessage();", "java.lang.String getErrorMessage();", "java.lang.String getErrorMessage();", "java.lang.String getErrorMessage();", "java.lang.String getErrorMessage();", "java.lang.String getErrorMessage();", "java.lang.String getErrorMessage();", "void showErrorMsg(String string);", "String getGetErrorMessage();", "java.lang.String getErr();", "public String getErrorString()\r\n\t{\r\n\t\t\r\n\t\treturn ERROR_STRING;\r\n\t}", "public void error(String string) {\n\t\t\n\t}", "String getInvalidMessage();", "private static String getMessage(int code) {\n switch (code) {\n case ME_DIV_BY_ZERO:\n return \"Attempt to divide by zero.\";\n case ME_ASSIGNLITERAL:\n return \"Attempt to assign to a literal.\";\n case ME_NONVARASSIGN:\n return \"Attempt to assign to a non-variable.\";\n default:\n return \"Unknown error.\";\n }\n }", "String getErrorsString();", "public String error();", "public String getError() {\n\treturn mistake;\n }", "private String getErrorString() {\n\t\treturn \"GUID:ERROR:\" + mErrors[0][0]\n\t\t + \":\" + mErrors[1][0]\n\t\t + \":\" + mErrors[2][0]\n\t\t + \":\" + mErrors[3][0];\n\t}", "public String getErrorMessage() \r\n\t{\r\n\t\t\r\n\t\treturn errorMessage;\r\n\t\t\r\n\t}", "public java.lang.String getErrorMessage(){\n return localErrorMessage;\n }", "java.lang.String getErrmsg();", "public String getErrorString()\n\t{\n\t\treturn errorString;\n\t}", "public static String getLastErrorMessage()\r\n\t{\n\t\treturn lastAlert;\r\n\t}", "String getMessage();", "String getMessage();", "String getMessage();", "private int getErrorId(final String message) {\n\t\tif (isLowerCase(message)) {\n\t\t\treturn ERROR_LOWER_CASE;\n\t\t} else if (isUnunsedMacro(message)) {\n\t\t\treturn ERROR_UNUSED_MACRO;\n\t\t} else if (isUnunsedVariable(message)) {\n\t\t\treturn ERROR_UNUSED_VARIABLE;\n\t\t} else if (isEndLineSpace(message) || isNoSpace(message)) {\n\t\t\treturn ERROR_NO_SPACE;\n\t\t} else if (isOneSpace(message)) {\n\t\t\treturn ERROR_ONE_SPACE;\n\t\t} else {\n\t\t\treturn ERROR_INVALID;\n\t\t}\n\t}", "public String getErrorString(String message) {\n \t\treturn getString(new StringBuffer(\"error.\").append(message).toString());\n \t}", "String getErrorMessage(E input);", "public String errorMessage()\n {\n return new String(errorMessageAsBytes());\n }", "String Message ();", "public String errorMessage() {\n return errorMessage;\n }", "void SemErr(String str);", "public String getErrorMessage()\n {\n return errorMessage;\n }", "ErrorCodes(int code){\n this.code = code;\n //this.message = message;\n }", "int getErrorCode();", "public String getErrorCode();", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n if (bs.isValidUtf8()) {\n errorMessage_ = s;\n }\n return s;\n }\n }", "void showError(@StringRes int errorMessage);", "void showError(String errorMessage);", "private static int getErrorLine(String errmsg){\n\t\treturn Integer.parseInt(errmsg.substring(0,errmsg.indexOf(\":\")).substring(errmsg.substring(0,errmsg.indexOf(\":\")).lastIndexOf(\" \")+1));\n\t}", "public String errorMessage()\n {\n return edma_errorMsg;\n }", "public String getErrorMessage() {\r\n return this.errorMessage;\r\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public String errorMessage() {\n return this.errorMessage;\n }", "public String getErrorMessage() {\n\t\treturn errorMessage;\n\t}", "public int getError() {\n return error;\n }", "public String getErrorMessage() {\n return this.errorMessage;\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n java.lang.String s = ((com.google.protobuf.ByteString) ref)\n .toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "void setErrorMessage(String errorMessage);", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "static int errorMsg(int eCode)\n {\n if (eCode == 0) return 0;\n String message = \"\";\n switch (eCode){\n case 1: message = \"Division by zero\"; break;\n case 2: message = \"Non-matching parenthesis in function\"; break;\n case 3: message = \"Must enclose negative exponents in parentheses\"; break;\n case 4: message = \"Incorrect Operator Syntax\"; break;\n case 5: message = \"Rightfunctions must use parenthesis. (example: ABS(-2);\"; break;\n case 6: message = \"Unrecognized token in function srtring.\"; break;\n case 8: message = \"Can not raise negative number to a fractional power.\"; break;\n case 10:message = \"Input a real number with no operators\"; break;\n }\n JOptionPane.showMessageDialog(null, message, \"Error \"+eCode, JOptionPane.ERROR_MESSAGE);\n return 0;\n }", "public String getError() {\n return errMsg;\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n }\n }", "public String getMsgError() {\r\n\t\treturn msgError;\r\n\t}", "public String getErrorMessage() {\n return errorMessage;\n }", "public String getErrorMessage() {\n return errorMessage;\n }", "public String getErrorMessage() {\n return errorMessage;\n }", "String getFailureMessage();", "public int error() {\n return this.error;\n }", "public String getParseErrorMessage();", "public String getErrorMessage() {\n return ERROR_MESSAGE;\n }", "public String getError() {\r\n if (scriptError == null) return \"\";\r\n return scriptError;\r\n }", "private String getGUIErrorMsg(long errorcode) {\n\t\tif (errorcode == 0) {\n\t\t\treturn \"This popup shouldn't have launched!\";\n\t\t} else if (errorcode == 9) {\n\t\t\treturn \"Latitude input format incorrect!\\nValid Latitude values are -90 to 90 with negative values being south Latitude.\";\n\t\t} else if (errorcode == 10) {\n\t\t\treturn \"Longitude input format incorrect!\\nValid Longitude values are -180 to 180 with negative values being west latitude.\";\n\t\t} else if (errorcode == 11) {\n\t\t\treturn \"Date input format incorrect!\\nValid dates go <year>-<month>-<day>\\nValid month values are 1- 12 and valid day values are 1 - 31.\";\n\t\t} else if (errorcode == 12) {\n\t\t\treturn \"Time input format incorrect!\\nValid times go <hour>-<minute>-<second>\\nValid hour values are 0 - 23 and valid minute and second values are 0 - 59\";\n\t\t} else if (errorcode == 1) {\n\t\t\treturn \"Invalid latitude!\\nValid Latitude values are -90 to 90 with negative values being south Latitude.\";\n\t\t} else if (errorcode == 2) {\n\t\t\treturn \"Invalid Longitude!\\nValid Longitude values are -180 to 180 with negative values being west latitude.\";\n\t\t} else if (errorcode == 3) {\n\t\t\treturn \"Invalid Year!\\nValid year values are \" + Integer.MIN_VALUE + \" - \" + Integer.MAX_VALUE + \".\";\n\t\t} else if (errorcode == 4) {\n\t\t\treturn \"Invalid Month!\\nValid month values are 1 - 12\";\n\t\t} else if (errorcode == 5) {\n\t\t\treturn \"Invalid Day!\\nValid day values are 1 - 31\";\n\t\t} else if (errorcode == 6) {\n\t\t\treturn \"Invalid Hour!\\nValid hour values are 0 - 23\";\n\t\t} else if (errorcode == 7) {\n\t\t\treturn \"Invalid Minute!\\nValid minute values are 0 - 59\";\n\t\t} else if (errorcode == 8) {\n\t\t\treturn \"Invalid Second!\\nValid second values are 0 - 59\";\n\t\t} \n\t\treturn \"Undefined Error Message!\";\n\t}", "public void setErrorMsg(String text) {\n this.errorMsg = text;\n }", "public int getErrorNo() {\n return this.errorNo;\n }", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();" ]
[ "0.7234827", "0.68487597", "0.68242407", "0.68242407", "0.66320926", "0.6613902", "0.6613902", "0.6613902", "0.65931696", "0.65931696", "0.65931696", "0.65931696", "0.65931696", "0.65931696", "0.65931696", "0.65931696", "0.65931696", "0.65931696", "0.65931696", "0.65931696", "0.6587221", "0.6458624", "0.642881", "0.6387629", "0.6339448", "0.63337046", "0.6318866", "0.6310054", "0.6266495", "0.6207546", "0.6169787", "0.6162002", "0.61556125", "0.61209476", "0.6114965", "0.61042917", "0.60988075", "0.60988075", "0.60988075", "0.60916275", "0.60737956", "0.6044167", "0.60035205", "0.59917176", "0.59845275", "0.59643966", "0.5963419", "0.59538627", "0.5917793", "0.58881736", "0.58858836", "0.5880861", "0.58786815", "0.5865479", "0.5863698", "0.5842632", "0.583974", "0.583974", "0.583974", "0.583974", "0.583974", "0.583974", "0.583974", "0.58391654", "0.58391654", "0.58391654", "0.5837601", "0.5828023", "0.58268774", "0.58249444", "0.5820853", "0.5818837", "0.5808825", "0.5808012", "0.5803665", "0.57976645", "0.5796016", "0.57934284", "0.57934284", "0.57934284", "0.5786855", "0.57868457", "0.5785435", "0.578205", "0.576942", "0.57514906", "0.57502955", "0.5743453", "0.57404053", "0.57404053", "0.57404053", "0.57404053", "0.57404053", "0.57404053", "0.57404053", "0.57404053", "0.57404053", "0.57404053", "0.57404053", "0.57404053", "0.57404053" ]
0.0
-1
repeated .FileInfo fileInfo = 3;
java.util.List<entities.Torrent.FileInfo> getFileInfoList();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public FileInfo getFileInfo() {\n return fileInfo;\n }", "@Test\n\tpublic void testSetFileInfo() {\n\n\t}", "FileInfo create(FileInfo fileInfo);", "entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder();", "entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder();", "public void fileInfo(String info);", "@Override\n public void addSingleFile(FileInfo file) {\n }", "void update(FileInfo fileInfo);", "int getFileInfoCount();", "public void incFileCount(){\n\t\tthis.num_files++;\n\t}", "entities.Torrent.FileInfo getFileInfo(int index);", "public boolean nextFileInfo(FileInfo info) {\n\n\t\t// Get the next file from the search\n\n\t\ttry {\n\n\t\t\t// Return the next file details or loop until a match is found if a\n\t\t\t// complex wildcard filter\n\t\t\t// has been specified\n\t\t\twhile (m_rs.next()) {\n\t\t\t\tString name = m_rs.getString(\"name\");\n\t\t\t\t// Get the file name for the next file\n\t\t\t\tinfo.setFileId(m_rs.getInt(\"id\"));\n\t\t\t\tinfo.setFileName(name);\n\t\t\t\tinfo.setSize(m_rs.getLong(\"size\"));\n\t\t\t\tif(name.equalsIgnoreCase(DBUtil.CLOUDURL))\n\t\t\t\t{\n\t\t\t\t\ttry{\n\t\t\t\t\t//重设置大小\n\t\t\t\t\tinfo.setFileId(-99);\n//\t\t\t\t\tinfo.setFileId(-userId);\n\t\t\t\t\tinfo.setSize(DBUtil.getURLMYFILE_TXT(this.getBaseUrl(),userId).getBytes().length);\n\t\t\t\t\t}catch(Exception e)\n\t\t\t\t\t{\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tlong modifyDate = m_rs.getLong(\"lastModified\");\n\t\t\t\tif (modifyDate != 0L)\n\t\t\t\t\tinfo.setModifyDateTime(modifyDate);\n\t\t\t\telse\n\t\t\t\t\tinfo.setModifyDateTime(System.currentTimeMillis());\n\t\t\t\t\n\t\t\t\tTimestamp ts = m_rs.getTimestamp(\"add_time\");\n\t\t\t\tif (ts !=null && ts.getTime()>0)\n\t\t\t\t{\n\t\t\t\t\tinfo.setCreationDateTime(ts.getTime());\n\t\t\t\t\tinfo.setChangeDateTime(info.getModifyDateTime());\n\t\t\t\t}\n\t\t\t\telse\n\t\t\t\t{\n\t\t\t\t\tinfo.setCreationDateTime(info.getModifyDateTime());\n\t\t\t\t\tinfo.setChangeDateTime(info.getModifyDateTime());\n\t\t\t\t}\t\t\t\t\n\t\t\t\tint attr = 0;\n\t\t\t\tif (m_rs.getBoolean(\"isFile\") == true) {\n\t\t\t\t\tinfo.setFileType(FileType.RegularFile);\t\t\t\t\t\n\t\t\t\t\tattr += FileAttribute.ReadOnly;// 只读权限\n\t\t\t\t} else\n\t\t\t\t\tattr += FileAttribute.Directory;\n\n\t\t\t\tif (m_rs.getBoolean(\"isHidden\") == true) \n\t\t\t\t{\n\t\t\t\t\tattr += FileAttribute.Hidden;//隐藏\n\t\t\t\t}\n\t\t\t\tinfo.setFileType(FileType.Directory);\n\t\t\t\t\t\t\t\t\n\t\t\t\tif (hasMarkAsOffline()) {\n\t\t\t\t\tif (getOfflineFileSize() == 0 || info.getSize() >= getOfflineFileSize())\n\t\t\t\t\t\tattr += FileAttribute.NTOffline;\n\t\t\t\t}\n\t\t\t\tinfo.setFileAttributes(attr);\n\t\t\t\tinfo.setUid(userId);\n\n\t\t\t\tif (m_filter == null || m_filter.matchesPattern(info.getFileName()) == true)\n\t\t\t\t\treturn true;\n\t\t\t}\n\t\t} catch (SQLException ex) {\n\t\t\tex.printStackTrace();\n\t\t}\n\t\t// No more files\n\t\tcloseSearch();\n\t\treturn false;\n\t}", "entities.Torrent.FileInfo getFileInfo();", "entities.Torrent.FileInfo getFileInfo();", "entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder(\n int index);", "DiscFileInfo getFileInfo(String path) throws IOException;", "void setFile(String i) {\n file = i;\n }", "@java.lang.Override\n public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder(\n int index) {\n return fileInfo_.get(index);\n }", "@java.lang.Override\n public int getFileInfoCount() {\n return fileInfo_.size();\n }", "public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder(\n int index) {\n if (fileInfoBuilder_ == null) {\n return fileInfo_.get(index); } else {\n return fileInfoBuilder_.getMessageOrBuilder(index);\n }\n }", "@java.lang.Override\n public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder() {\n return getFileInfo();\n }", "@java.lang.Override\n public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder() {\n return getFileInfo();\n }", "fileInfo(){\n\t\tsymbol = new node[MAXLINECOUNT + 2];\n\t\tother = null; // allocated later!\n\t}", "public Builder addFileInfo(entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureFileInfoIsMutable();\n fileInfo_.add(value);\n onChanged();\n } else {\n fileInfoBuilder_.addMessage(value);\n }\n return this;\n }", "public synchronized FileInfo getOrAddFileInfo(FileInfo alphaFileInfo) {\n String app = alphaFileInfo.getApp();\n String caption = alphaFileInfo.getCaption();\n AppAndCaptionKey key = new AppAndCaptionKey(app, caption);\n String fileId = appAndCaptionToId.get(key);\n if(fileId==null){\n fileId = getNextFileId();\n appAndCaptionToId.put(key, fileId);\n }\n\n //2. Creating file info\n FileInfo sigmaFileInfo = fileCache.getFileInfo(app,fileId);\n if(sigmaFileInfo==null){\n sigmaFileInfo = (FileInfo) alphaFileInfo.clone();\n }\n sigmaFileInfo.setId(fileId);\n return sigmaFileInfo;\n }", "entities.Torrent.FileInfo getFiles(int index);", "com.google.devtools.kythe.proto.Analysis.FileInfoOrBuilder getEntryOrBuilder(\n int index);", "public final FileInfoBase getFileInfo() {\r\n return fileInfo;\r\n }", "public void setFileId(Long fileId) {\n/* 31:31 */ this.fileId = fileId;\n/* 32: */ }", "public entities.Torrent.FileInfo.Builder addFileInfoBuilder() {\n return getFileInfoFieldBuilder().addBuilder(\n entities.Torrent.FileInfo.getDefaultInstance());\n }", "@Override\r\n\tpublic int addAnimalFileInfo(FileInfo fileInfo) {\n\t\treturn fileInfoMapper.addAnimalFileInfo(fileInfo);\r\n\t}", "public abstract long NewFileNumber();", "public Builder addFileInfo(\n int index, entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureFileInfoIsMutable();\n fileInfo_.add(index, value);\n onChanged();\n } else {\n fileInfoBuilder_.addMessage(index, value);\n }\n return this;\n }", "public FileInfo(File file) {\n this.file = file;\n }", "int attrib(int i, File v) {\n if (i < max) {\n AllFiles[i] = v;\n } else {\n File[] temp = new File[max];\n int j;\n for (j = 0; j < max; j++) temp[j] = AllFiles[j];\n AllFiles = new File[max + increase];\n for (j = 0; j < max; j++) AllFiles[j] = temp[j];\n max = max + increase;\n AllFiles[i] = v;\n }\n return (0);\n }", "public boolean hasFileInfo() {\n return fieldSetFlags()[15];\n }", "public Builder setFileInfo(\n int index, entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureFileInfoIsMutable();\n fileInfo_.set(index, value);\n onChanged();\n } else {\n fileInfoBuilder_.setMessage(index, value);\n }\n return this;\n }", "public com.opentext.bn.converters.avro.entity.PayloadRef getFileInfo() {\n return fileInfo;\n }", "entities.Torrent.FileInfoOrBuilder getFilesOrBuilder(\n int index);", "public com.opentext.bn.converters.avro.entity.PayloadRef getFileInfo() {\n return fileInfo;\n }", "com.google.devtools.kythe.proto.Analysis.FileInfo getEntry(int index);", "public TagFileInfo[] getTagFiles() {\n/* 176 */ return this.tagFiles;\n/* */ }", "public Builder setFileInfo(entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n fileInfo_ = value;\n onChanged();\n } else {\n fileInfoBuilder_.setMessage(value);\n }\n\n return this;\n }", "public Builder setFileInfo(entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n fileInfo_ = value;\n onChanged();\n } else {\n fileInfoBuilder_.setMessage(value);\n }\n\n return this;\n }", "private FileInfo(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "public Builder addAllFileInfo(\n java.lang.Iterable<? extends entities.Torrent.FileInfo> values) {\n if (fileInfoBuilder_ == null) {\n ensureFileInfoIsMutable();\n com.google.protobuf.AbstractMessageLite.Builder.addAll(\n values, fileInfo_);\n onChanged();\n } else {\n fileInfoBuilder_.addAllMessages(values);\n }\n return this;\n }", "public int getFileInfoCount() {\n if (fileInfoBuilder_ == null) {\n return fileInfo_.size();\n } else {\n return fileInfoBuilder_.getCount();\n }\n }", "public void constructWith(LzzFileInfo pro) {\n\t\tthis.id = pro.getId ();\n\n\t\tthis.fname = pro.getFname ();\n\n\t\tthis.ftype = pro.getFtype ();\n\n\t\tthis.fsavepath = pro.getFsavepath ();\n\n\t\tthis.furlpath = pro.getFurlpath ();\n\n\t\tthis.createTime = pro.getCreateTime ();\n\n\t\tthis.modifyTime = pro.getModifyTime ();\n\n\t\tthis.def1 = pro.getDef1 ();\n\n\t\tthis.def2 = pro.getDef2 ();\n\n\t\tthis.def3 = pro.getDef3 ();\n\n\t\tthis.def4 = pro.getDef4 ();\n\n\t\tthis.def5 = pro.getDef5 ();\n\n\t\tthis.def6 = pro.getDef6 ();\n\n\t\tthis.def7 = pro.getDef7 ();\n\n\t\tthis.def8 = pro.getDef8 ();\n\n\t\tthis.def9 = pro.getDef9 ();\n\n\t\tthis.def10 = pro.getDef10 ();\n\n\t\tthis.dr = pro.getDr ();\n\n\t}", "public FileInfo(NXTComm nxt, String fileName){\r\n\t\tthis.comm = nxt;\r\n\t\tthis.fileName = fileName;\r\n\t}", "public FileInfo()\r\n {\r\n hash = new HashInfo();\r\n }", "@Override\n public List<FileInfo> getLibrarySubFiles(FileInfo fileInfo) {\n return null;\n }", "public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder() {\n if (fileInfoBuilder_ != null) {\n return fileInfoBuilder_.getMessageOrBuilder();\n } else {\n return fileInfo_ == null ?\n entities.Torrent.FileInfo.getDefaultInstance() : fileInfo_;\n }\n }", "public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder() {\n if (fileInfoBuilder_ != null) {\n return fileInfoBuilder_.getMessageOrBuilder();\n } else {\n return fileInfo_ == null ?\n entities.Torrent.FileInfo.getDefaultInstance() : fileInfo_;\n }\n }", "public DotFileEnumerator(File file)\n {\n fileList.add(file.toString());\n }", "public Builder mergeFileInfo(entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (fileInfo_ != null) {\n fileInfo_ =\n entities.Torrent.FileInfo.newBuilder(fileInfo_).mergeFrom(value).buildPartial();\n } else {\n fileInfo_ = value;\n }\n onChanged();\n } else {\n fileInfoBuilder_.mergeFrom(value);\n }\n\n return this;\n }", "public Builder mergeFileInfo(entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (fileInfo_ != null) {\n fileInfo_ =\n entities.Torrent.FileInfo.newBuilder(fileInfo_).mergeFrom(value).buildPartial();\n } else {\n fileInfo_ = value;\n }\n onChanged();\n } else {\n fileInfoBuilder_.mergeFrom(value);\n }\n\n return this;\n }", "int getFileCount();", "public com.google.devtools.kythe.proto.Analysis.FileInfoOrBuilder getEntryOrBuilder(\n int index) {\n return entry_.get(index);\n }", "public int getFileFlags() { return fileFlags; }", "public Builder clearFileInfo() {\n if (fileInfoBuilder_ == null) {\n fileInfo_ = java.util.Collections.emptyList();\n bitField0_ = (bitField0_ & ~0x00000001);\n onChanged();\n } else {\n fileInfoBuilder_.clear();\n }\n return this;\n }", "public com.opentext.bn.converters.avro.entity.PayloadRef.Builder getFileInfoBuilder() {\n if (fileInfoBuilder == null) {\n if (hasFileInfo()) {\n setFileInfoBuilder(com.opentext.bn.converters.avro.entity.PayloadRef.newBuilder(fileInfo));\n } else {\n setFileInfoBuilder(com.opentext.bn.converters.avro.entity.PayloadRef.newBuilder());\n }\n }\n return fileInfoBuilder;\n }", "public void process(TiffFileInfo info)\n {\n }", "public com.google.devtools.kythe.proto.Analysis.FileInfo.Builder addEntryBuilder() {\n return getEntryFieldBuilder().addBuilder(\n com.google.devtools.kythe.proto.Analysis.FileInfo.getDefaultInstance());\n }", "@java.lang.Override\n public entities.Torrent.FileInfo getFileInfo(int index) {\n return fileInfo_.get(index);\n }", "public Long getFileId() {\n/* 35:35 */ return this.fileId;\n/* 36: */ }", "private com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.FileInfo, entities.Torrent.FileInfo.Builder, entities.Torrent.FileInfoOrBuilder>\n getFileInfoFieldBuilder() {\n if (fileInfoBuilder_ == null) {\n fileInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.FileInfo, entities.Torrent.FileInfo.Builder, entities.Torrent.FileInfoOrBuilder>(\n getFileInfo(),\n getParentForChildren(),\n isClean());\n fileInfo_ = null;\n }\n return fileInfoBuilder_;\n }", "private com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.FileInfo, entities.Torrent.FileInfo.Builder, entities.Torrent.FileInfoOrBuilder>\n getFileInfoFieldBuilder() {\n if (fileInfoBuilder_ == null) {\n fileInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.FileInfo, entities.Torrent.FileInfo.Builder, entities.Torrent.FileInfoOrBuilder>(\n getFileInfo(),\n getParentForChildren(),\n isClean());\n fileInfo_ = null;\n }\n return fileInfoBuilder_;\n }", "private void updateFiles() {\n\t}", "public entities.Torrent.FileInfo.Builder addFileInfoBuilder(\n int index) {\n return getFileInfoFieldBuilder().addBuilder(\n index, entities.Torrent.FileInfo.getDefaultInstance());\n }", "public interface FileSelectInfo\n{\n /**\n * Returns the base folder of the traversal.\n * @return FileObject representing the base folder.\n */\n FileObject getBaseFolder();\n\n /**\n * Returns the file (or folder) to be considered.\n * @return The FileObject.\n */\n FileObject getFile();\n\n /**\n * Returns the depth of the file relative to the base folder.\n * @return The depth of the file relative to the base folder.\n */\n int getDepth();\n}", "public entities.Torrent.FileInfo.Builder getFileInfoBuilder(\n int index) {\n return getFileInfoFieldBuilder().getBuilder(index);\n }", "public entities.Torrent.FileInfo.Builder getFileInfoBuilder() {\n\n onChanged();\n return getFileInfoFieldBuilder().getBuilder();\n }", "public entities.Torrent.FileInfo.Builder getFileInfoBuilder() {\n\n onChanged();\n return getFileInfoFieldBuilder().getBuilder();\n }", "public entities.Torrent.FileInfoOrBuilder getFilesOrBuilder(\n int index) {\n if (filesBuilder_ == null) {\n return files_.get(index); } else {\n return filesBuilder_.getMessageOrBuilder(index);\n }\n }", "private void getExtractWithFiles(){\n\t\ttry{\n\t\t\t\n\t\t\tFileInputStream fStream = new FileInputStream(tfile);\n\t\t\tfileBytes = new byte[(int)tfile.length()];\n\t\t\t\n\t\t\tfStream.read(fileBytes, 0, fileBytes.length);\n\t\t\tfileSize = fileBytes.length;\n\t\t}catch(Exception ex){\n\t\t\tSystem.err.println(\"File Packet \"+ex.getMessage());\n\t\t}\n\t}", "private static void printFileInfo(File file) {\n window.putLog(String.format(\"[%6dkb] Modified %s @%s\", 1 + file.length() / 1024,\n new SimpleDateFormat(\"YYYY-MM-dd HH:mm\").format(new Date(file.lastModified())),\n file.getPath().substring(workingDirectory.getParent().length())));\n }", "public interface FileSystemEntry {\n public long getCount();\n public long getSize();\n public String getName();\n}", "public PSMatrixFilesMeta() {\r\n this(-1, new ConcurrentSkipListMap<Integer, MatrixPartitionMeta>());\r\n }", "protected final void setFileInformation( FileInfo fInfo) {\n\t\tm_info = fInfo;\n\t}", "public java.util.List<? extends entities.Torrent.FileInfoOrBuilder>\n getFileInfoOrBuilderList() {\n if (fileInfoBuilder_ != null) {\n return fileInfoBuilder_.getMessageOrBuilderList();\n } else {\n return java.util.Collections.unmodifiableList(fileInfo_);\n }\n }", "int getFileNamesCount();", "int getFileNamesCount();", "public void filesNotFound(File... f) { }", "public void filesNotFound(File... f) { }", "@Override\n public void onPick(FileInfo f) {\n }", "public void setFileRecordCount(int ct) {\n\t\tfileRecordCount = ct;\n\t}", "public com.opentext.bn.converters.avro.entity.DocumentEvent.Builder setFileInfo(com.opentext.bn.converters.avro.entity.PayloadRef value) {\n validate(fields()[15], value);\n this.fileInfoBuilder = null;\n this.fileInfo = value;\n fieldSetFlags()[15] = true;\n return this;\n }", "public DotFileEnumerator(String filePath)\n {\n String[] tempArr = new File(filePath).list();\n\n for (String s : tempArr) {\n fileList.add(filePath + \"/\" + s);\n }\n }", "@java.lang.Override\n public entities.Torrent.FileInfo getFileInfo() {\n return fileInfo_ == null ? entities.Torrent.FileInfo.getDefaultInstance() : fileInfo_;\n }", "@java.lang.Override\n public entities.Torrent.FileInfo getFileInfo() {\n return fileInfo_ == null ? entities.Torrent.FileInfo.getDefaultInstance() : fileInfo_;\n }", "public FileInfoICS(String name, String directory, int format) {\r\n super(name, directory, format);\r\n }", "public FileInfo(FileInfo v)\n \t{\n \t\ttitle = v.title;\n \t\tauthors = v.authors;\n \t\tseries = v.series;\n \t\tseriesNumber = v.seriesNumber;\n \t\tpath = v.path;\n \t\tfilename = v.filename;\n \t\tpathname = v.pathname;\n \t\tarcname = v.arcname;\n \t\tformat = v.format;\n \t\tsize = v.size;\n \t\tarcsize = v.arcsize;\n \t\tisArchive = v.isArchive;\n \t\tisDirectory = v.isDirectory;\n \t\tcreateTime = v.createTime;\n \t\tlastAccessTime = v.lastAccessTime;\n \t}", "public ImageFiles() {\n\t\tthis.listOne = new ArrayList<String>();\n\t\tthis.listTwo = new ArrayList<String>();\n\t\tthis.listThree = new ArrayList<String>();\n\t\tthis.seenImages = new ArrayList<String>();\n\t\tthis.unseenImages = new ArrayList<String>();\n\t}", "@java.lang.Override\n public java.util.List<? extends entities.Torrent.FileInfoOrBuilder>\n getFileInfoOrBuilderList() {\n return fileInfo_;\n }", "int countByExample(AvwFileprocessExample example);", "public Builder addEntry(com.google.devtools.kythe.proto.Analysis.FileInfo value) {\n if (entryBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureEntryIsMutable();\n entry_.add(value);\n onChanged();\n } else {\n entryBuilder_.addMessage(value);\n }\n return this;\n }", "ds.hdfs.generated.FileMetadata getFiles(int index);", "java.util.List<? extends entities.Torrent.FileInfoOrBuilder>\n getFileInfoOrBuilderList();", "public Long getFileID()\n/* */ {\n/* 88 */ return this.fileID;\n/* */ }", "public void incuploadcount(){\n\t\tthis. num_upload++;\n\t}", "public Vector<file> count()\n {\n Vector<Model.file> files = new Vector<>();\n try\n {\n pw.println(11);\n\n files = (Vector<Model.file>) ois.readObject();\n\n }\n catch (ClassNotFoundException | IOException e)\n {\n System.out.println(e.getMessage());\n }\n return files ;\n }" ]
[ "0.63404644", "0.60424006", "0.58997285", "0.5897735", "0.5897735", "0.5893349", "0.5840858", "0.5782364", "0.575059", "0.56671757", "0.5661143", "0.5629983", "0.55628306", "0.55628306", "0.54918736", "0.54439086", "0.5438974", "0.5436454", "0.53865486", "0.53812563", "0.53554535", "0.53554535", "0.5350297", "0.53485256", "0.5337326", "0.5325269", "0.5323776", "0.5317618", "0.5316972", "0.5305772", "0.5301568", "0.5289526", "0.52858317", "0.527939", "0.527717", "0.5246745", "0.5238312", "0.52333695", "0.52198213", "0.520472", "0.5197636", "0.5181744", "0.5180735", "0.5179602", "0.5171487", "0.5170226", "0.5151229", "0.5126351", "0.51164293", "0.51105917", "0.51006323", "0.5064827", "0.5064827", "0.5030081", "0.50298166", "0.5029732", "0.50183815", "0.5008859", "0.5008625", "0.5002189", "0.5000041", "0.4996095", "0.49911362", "0.4988522", "0.49871376", "0.49688184", "0.4968441", "0.49640483", "0.49627694", "0.49464682", "0.49452326", "0.49435145", "0.4940706", "0.4939512", "0.4919068", "0.49134657", "0.4912824", "0.48992985", "0.48903668", "0.4889867", "0.48865864", "0.48865864", "0.48813212", "0.48813212", "0.48808643", "0.48788455", "0.48786306", "0.4874242", "0.48689762", "0.48689762", "0.48684502", "0.48670304", "0.48606005", "0.48516285", "0.48392272", "0.48242542", "0.48236215", "0.48225048", "0.4821103", "0.48174718", "0.4813819" ]
0.0
-1
repeated .FileInfo fileInfo = 3;
entities.Torrent.FileInfo getFileInfo(int index);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public FileInfo getFileInfo() {\n return fileInfo;\n }", "@Test\n\tpublic void testSetFileInfo() {\n\n\t}", "FileInfo create(FileInfo fileInfo);", "entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder();", "entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder();", "public void fileInfo(String info);", "@Override\n public void addSingleFile(FileInfo file) {\n }", "void update(FileInfo fileInfo);", "int getFileInfoCount();", "public void incFileCount(){\n\t\tthis.num_files++;\n\t}", "public boolean nextFileInfo(FileInfo info) {\n\n\t\t// Get the next file from the search\n\n\t\ttry {\n\n\t\t\t// Return the next file details or loop until a match is found if a\n\t\t\t// complex wildcard filter\n\t\t\t// has been specified\n\t\t\twhile (m_rs.next()) {\n\t\t\t\tString name = m_rs.getString(\"name\");\n\t\t\t\t// Get the file name for the next file\n\t\t\t\tinfo.setFileId(m_rs.getInt(\"id\"));\n\t\t\t\tinfo.setFileName(name);\n\t\t\t\tinfo.setSize(m_rs.getLong(\"size\"));\n\t\t\t\tif(name.equalsIgnoreCase(DBUtil.CLOUDURL))\n\t\t\t\t{\n\t\t\t\t\ttry{\n\t\t\t\t\t//重设置大小\n\t\t\t\t\tinfo.setFileId(-99);\n//\t\t\t\t\tinfo.setFileId(-userId);\n\t\t\t\t\tinfo.setSize(DBUtil.getURLMYFILE_TXT(this.getBaseUrl(),userId).getBytes().length);\n\t\t\t\t\t}catch(Exception e)\n\t\t\t\t\t{\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tlong modifyDate = m_rs.getLong(\"lastModified\");\n\t\t\t\tif (modifyDate != 0L)\n\t\t\t\t\tinfo.setModifyDateTime(modifyDate);\n\t\t\t\telse\n\t\t\t\t\tinfo.setModifyDateTime(System.currentTimeMillis());\n\t\t\t\t\n\t\t\t\tTimestamp ts = m_rs.getTimestamp(\"add_time\");\n\t\t\t\tif (ts !=null && ts.getTime()>0)\n\t\t\t\t{\n\t\t\t\t\tinfo.setCreationDateTime(ts.getTime());\n\t\t\t\t\tinfo.setChangeDateTime(info.getModifyDateTime());\n\t\t\t\t}\n\t\t\t\telse\n\t\t\t\t{\n\t\t\t\t\tinfo.setCreationDateTime(info.getModifyDateTime());\n\t\t\t\t\tinfo.setChangeDateTime(info.getModifyDateTime());\n\t\t\t\t}\t\t\t\t\n\t\t\t\tint attr = 0;\n\t\t\t\tif (m_rs.getBoolean(\"isFile\") == true) {\n\t\t\t\t\tinfo.setFileType(FileType.RegularFile);\t\t\t\t\t\n\t\t\t\t\tattr += FileAttribute.ReadOnly;// 只读权限\n\t\t\t\t} else\n\t\t\t\t\tattr += FileAttribute.Directory;\n\n\t\t\t\tif (m_rs.getBoolean(\"isHidden\") == true) \n\t\t\t\t{\n\t\t\t\t\tattr += FileAttribute.Hidden;//隐藏\n\t\t\t\t}\n\t\t\t\tinfo.setFileType(FileType.Directory);\n\t\t\t\t\t\t\t\t\n\t\t\t\tif (hasMarkAsOffline()) {\n\t\t\t\t\tif (getOfflineFileSize() == 0 || info.getSize() >= getOfflineFileSize())\n\t\t\t\t\t\tattr += FileAttribute.NTOffline;\n\t\t\t\t}\n\t\t\t\tinfo.setFileAttributes(attr);\n\t\t\t\tinfo.setUid(userId);\n\n\t\t\t\tif (m_filter == null || m_filter.matchesPattern(info.getFileName()) == true)\n\t\t\t\t\treturn true;\n\t\t\t}\n\t\t} catch (SQLException ex) {\n\t\t\tex.printStackTrace();\n\t\t}\n\t\t// No more files\n\t\tcloseSearch();\n\t\treturn false;\n\t}", "entities.Torrent.FileInfo getFileInfo();", "entities.Torrent.FileInfo getFileInfo();", "entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder(\n int index);", "DiscFileInfo getFileInfo(String path) throws IOException;", "void setFile(String i) {\n file = i;\n }", "@java.lang.Override\n public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder(\n int index) {\n return fileInfo_.get(index);\n }", "@java.lang.Override\n public int getFileInfoCount() {\n return fileInfo_.size();\n }", "public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder(\n int index) {\n if (fileInfoBuilder_ == null) {\n return fileInfo_.get(index); } else {\n return fileInfoBuilder_.getMessageOrBuilder(index);\n }\n }", "@java.lang.Override\n public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder() {\n return getFileInfo();\n }", "@java.lang.Override\n public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder() {\n return getFileInfo();\n }", "fileInfo(){\n\t\tsymbol = new node[MAXLINECOUNT + 2];\n\t\tother = null; // allocated later!\n\t}", "public Builder addFileInfo(entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureFileInfoIsMutable();\n fileInfo_.add(value);\n onChanged();\n } else {\n fileInfoBuilder_.addMessage(value);\n }\n return this;\n }", "public synchronized FileInfo getOrAddFileInfo(FileInfo alphaFileInfo) {\n String app = alphaFileInfo.getApp();\n String caption = alphaFileInfo.getCaption();\n AppAndCaptionKey key = new AppAndCaptionKey(app, caption);\n String fileId = appAndCaptionToId.get(key);\n if(fileId==null){\n fileId = getNextFileId();\n appAndCaptionToId.put(key, fileId);\n }\n\n //2. Creating file info\n FileInfo sigmaFileInfo = fileCache.getFileInfo(app,fileId);\n if(sigmaFileInfo==null){\n sigmaFileInfo = (FileInfo) alphaFileInfo.clone();\n }\n sigmaFileInfo.setId(fileId);\n return sigmaFileInfo;\n }", "entities.Torrent.FileInfo getFiles(int index);", "com.google.devtools.kythe.proto.Analysis.FileInfoOrBuilder getEntryOrBuilder(\n int index);", "public final FileInfoBase getFileInfo() {\r\n return fileInfo;\r\n }", "public void setFileId(Long fileId) {\n/* 31:31 */ this.fileId = fileId;\n/* 32: */ }", "public entities.Torrent.FileInfo.Builder addFileInfoBuilder() {\n return getFileInfoFieldBuilder().addBuilder(\n entities.Torrent.FileInfo.getDefaultInstance());\n }", "@Override\r\n\tpublic int addAnimalFileInfo(FileInfo fileInfo) {\n\t\treturn fileInfoMapper.addAnimalFileInfo(fileInfo);\r\n\t}", "public abstract long NewFileNumber();", "public Builder addFileInfo(\n int index, entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureFileInfoIsMutable();\n fileInfo_.add(index, value);\n onChanged();\n } else {\n fileInfoBuilder_.addMessage(index, value);\n }\n return this;\n }", "public FileInfo(File file) {\n this.file = file;\n }", "int attrib(int i, File v) {\n if (i < max) {\n AllFiles[i] = v;\n } else {\n File[] temp = new File[max];\n int j;\n for (j = 0; j < max; j++) temp[j] = AllFiles[j];\n AllFiles = new File[max + increase];\n for (j = 0; j < max; j++) AllFiles[j] = temp[j];\n max = max + increase;\n AllFiles[i] = v;\n }\n return (0);\n }", "public boolean hasFileInfo() {\n return fieldSetFlags()[15];\n }", "public Builder setFileInfo(\n int index, entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureFileInfoIsMutable();\n fileInfo_.set(index, value);\n onChanged();\n } else {\n fileInfoBuilder_.setMessage(index, value);\n }\n return this;\n }", "public com.opentext.bn.converters.avro.entity.PayloadRef getFileInfo() {\n return fileInfo;\n }", "entities.Torrent.FileInfoOrBuilder getFilesOrBuilder(\n int index);", "public com.opentext.bn.converters.avro.entity.PayloadRef getFileInfo() {\n return fileInfo;\n }", "com.google.devtools.kythe.proto.Analysis.FileInfo getEntry(int index);", "public TagFileInfo[] getTagFiles() {\n/* 176 */ return this.tagFiles;\n/* */ }", "public Builder setFileInfo(entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n fileInfo_ = value;\n onChanged();\n } else {\n fileInfoBuilder_.setMessage(value);\n }\n\n return this;\n }", "public Builder setFileInfo(entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n fileInfo_ = value;\n onChanged();\n } else {\n fileInfoBuilder_.setMessage(value);\n }\n\n return this;\n }", "private FileInfo(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "public Builder addAllFileInfo(\n java.lang.Iterable<? extends entities.Torrent.FileInfo> values) {\n if (fileInfoBuilder_ == null) {\n ensureFileInfoIsMutable();\n com.google.protobuf.AbstractMessageLite.Builder.addAll(\n values, fileInfo_);\n onChanged();\n } else {\n fileInfoBuilder_.addAllMessages(values);\n }\n return this;\n }", "public int getFileInfoCount() {\n if (fileInfoBuilder_ == null) {\n return fileInfo_.size();\n } else {\n return fileInfoBuilder_.getCount();\n }\n }", "public void constructWith(LzzFileInfo pro) {\n\t\tthis.id = pro.getId ();\n\n\t\tthis.fname = pro.getFname ();\n\n\t\tthis.ftype = pro.getFtype ();\n\n\t\tthis.fsavepath = pro.getFsavepath ();\n\n\t\tthis.furlpath = pro.getFurlpath ();\n\n\t\tthis.createTime = pro.getCreateTime ();\n\n\t\tthis.modifyTime = pro.getModifyTime ();\n\n\t\tthis.def1 = pro.getDef1 ();\n\n\t\tthis.def2 = pro.getDef2 ();\n\n\t\tthis.def3 = pro.getDef3 ();\n\n\t\tthis.def4 = pro.getDef4 ();\n\n\t\tthis.def5 = pro.getDef5 ();\n\n\t\tthis.def6 = pro.getDef6 ();\n\n\t\tthis.def7 = pro.getDef7 ();\n\n\t\tthis.def8 = pro.getDef8 ();\n\n\t\tthis.def9 = pro.getDef9 ();\n\n\t\tthis.def10 = pro.getDef10 ();\n\n\t\tthis.dr = pro.getDr ();\n\n\t}", "public FileInfo(NXTComm nxt, String fileName){\r\n\t\tthis.comm = nxt;\r\n\t\tthis.fileName = fileName;\r\n\t}", "public FileInfo()\r\n {\r\n hash = new HashInfo();\r\n }", "@Override\n public List<FileInfo> getLibrarySubFiles(FileInfo fileInfo) {\n return null;\n }", "public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder() {\n if (fileInfoBuilder_ != null) {\n return fileInfoBuilder_.getMessageOrBuilder();\n } else {\n return fileInfo_ == null ?\n entities.Torrent.FileInfo.getDefaultInstance() : fileInfo_;\n }\n }", "public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder() {\n if (fileInfoBuilder_ != null) {\n return fileInfoBuilder_.getMessageOrBuilder();\n } else {\n return fileInfo_ == null ?\n entities.Torrent.FileInfo.getDefaultInstance() : fileInfo_;\n }\n }", "public DotFileEnumerator(File file)\n {\n fileList.add(file.toString());\n }", "public Builder mergeFileInfo(entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (fileInfo_ != null) {\n fileInfo_ =\n entities.Torrent.FileInfo.newBuilder(fileInfo_).mergeFrom(value).buildPartial();\n } else {\n fileInfo_ = value;\n }\n onChanged();\n } else {\n fileInfoBuilder_.mergeFrom(value);\n }\n\n return this;\n }", "public Builder mergeFileInfo(entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (fileInfo_ != null) {\n fileInfo_ =\n entities.Torrent.FileInfo.newBuilder(fileInfo_).mergeFrom(value).buildPartial();\n } else {\n fileInfo_ = value;\n }\n onChanged();\n } else {\n fileInfoBuilder_.mergeFrom(value);\n }\n\n return this;\n }", "int getFileCount();", "public com.google.devtools.kythe.proto.Analysis.FileInfoOrBuilder getEntryOrBuilder(\n int index) {\n return entry_.get(index);\n }", "public int getFileFlags() { return fileFlags; }", "public Builder clearFileInfo() {\n if (fileInfoBuilder_ == null) {\n fileInfo_ = java.util.Collections.emptyList();\n bitField0_ = (bitField0_ & ~0x00000001);\n onChanged();\n } else {\n fileInfoBuilder_.clear();\n }\n return this;\n }", "public com.opentext.bn.converters.avro.entity.PayloadRef.Builder getFileInfoBuilder() {\n if (fileInfoBuilder == null) {\n if (hasFileInfo()) {\n setFileInfoBuilder(com.opentext.bn.converters.avro.entity.PayloadRef.newBuilder(fileInfo));\n } else {\n setFileInfoBuilder(com.opentext.bn.converters.avro.entity.PayloadRef.newBuilder());\n }\n }\n return fileInfoBuilder;\n }", "public void process(TiffFileInfo info)\n {\n }", "public com.google.devtools.kythe.proto.Analysis.FileInfo.Builder addEntryBuilder() {\n return getEntryFieldBuilder().addBuilder(\n com.google.devtools.kythe.proto.Analysis.FileInfo.getDefaultInstance());\n }", "@java.lang.Override\n public entities.Torrent.FileInfo getFileInfo(int index) {\n return fileInfo_.get(index);\n }", "public Long getFileId() {\n/* 35:35 */ return this.fileId;\n/* 36: */ }", "private com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.FileInfo, entities.Torrent.FileInfo.Builder, entities.Torrent.FileInfoOrBuilder>\n getFileInfoFieldBuilder() {\n if (fileInfoBuilder_ == null) {\n fileInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.FileInfo, entities.Torrent.FileInfo.Builder, entities.Torrent.FileInfoOrBuilder>(\n getFileInfo(),\n getParentForChildren(),\n isClean());\n fileInfo_ = null;\n }\n return fileInfoBuilder_;\n }", "private com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.FileInfo, entities.Torrent.FileInfo.Builder, entities.Torrent.FileInfoOrBuilder>\n getFileInfoFieldBuilder() {\n if (fileInfoBuilder_ == null) {\n fileInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.FileInfo, entities.Torrent.FileInfo.Builder, entities.Torrent.FileInfoOrBuilder>(\n getFileInfo(),\n getParentForChildren(),\n isClean());\n fileInfo_ = null;\n }\n return fileInfoBuilder_;\n }", "private void updateFiles() {\n\t}", "public entities.Torrent.FileInfo.Builder addFileInfoBuilder(\n int index) {\n return getFileInfoFieldBuilder().addBuilder(\n index, entities.Torrent.FileInfo.getDefaultInstance());\n }", "public interface FileSelectInfo\n{\n /**\n * Returns the base folder of the traversal.\n * @return FileObject representing the base folder.\n */\n FileObject getBaseFolder();\n\n /**\n * Returns the file (or folder) to be considered.\n * @return The FileObject.\n */\n FileObject getFile();\n\n /**\n * Returns the depth of the file relative to the base folder.\n * @return The depth of the file relative to the base folder.\n */\n int getDepth();\n}", "public entities.Torrent.FileInfo.Builder getFileInfoBuilder(\n int index) {\n return getFileInfoFieldBuilder().getBuilder(index);\n }", "public entities.Torrent.FileInfo.Builder getFileInfoBuilder() {\n\n onChanged();\n return getFileInfoFieldBuilder().getBuilder();\n }", "public entities.Torrent.FileInfo.Builder getFileInfoBuilder() {\n\n onChanged();\n return getFileInfoFieldBuilder().getBuilder();\n }", "public entities.Torrent.FileInfoOrBuilder getFilesOrBuilder(\n int index) {\n if (filesBuilder_ == null) {\n return files_.get(index); } else {\n return filesBuilder_.getMessageOrBuilder(index);\n }\n }", "private void getExtractWithFiles(){\n\t\ttry{\n\t\t\t\n\t\t\tFileInputStream fStream = new FileInputStream(tfile);\n\t\t\tfileBytes = new byte[(int)tfile.length()];\n\t\t\t\n\t\t\tfStream.read(fileBytes, 0, fileBytes.length);\n\t\t\tfileSize = fileBytes.length;\n\t\t}catch(Exception ex){\n\t\t\tSystem.err.println(\"File Packet \"+ex.getMessage());\n\t\t}\n\t}", "private static void printFileInfo(File file) {\n window.putLog(String.format(\"[%6dkb] Modified %s @%s\", 1 + file.length() / 1024,\n new SimpleDateFormat(\"YYYY-MM-dd HH:mm\").format(new Date(file.lastModified())),\n file.getPath().substring(workingDirectory.getParent().length())));\n }", "public interface FileSystemEntry {\n public long getCount();\n public long getSize();\n public String getName();\n}", "public PSMatrixFilesMeta() {\r\n this(-1, new ConcurrentSkipListMap<Integer, MatrixPartitionMeta>());\r\n }", "protected final void setFileInformation( FileInfo fInfo) {\n\t\tm_info = fInfo;\n\t}", "public java.util.List<? extends entities.Torrent.FileInfoOrBuilder>\n getFileInfoOrBuilderList() {\n if (fileInfoBuilder_ != null) {\n return fileInfoBuilder_.getMessageOrBuilderList();\n } else {\n return java.util.Collections.unmodifiableList(fileInfo_);\n }\n }", "int getFileNamesCount();", "int getFileNamesCount();", "public void filesNotFound(File... f) { }", "public void filesNotFound(File... f) { }", "@Override\n public void onPick(FileInfo f) {\n }", "public void setFileRecordCount(int ct) {\n\t\tfileRecordCount = ct;\n\t}", "public com.opentext.bn.converters.avro.entity.DocumentEvent.Builder setFileInfo(com.opentext.bn.converters.avro.entity.PayloadRef value) {\n validate(fields()[15], value);\n this.fileInfoBuilder = null;\n this.fileInfo = value;\n fieldSetFlags()[15] = true;\n return this;\n }", "public DotFileEnumerator(String filePath)\n {\n String[] tempArr = new File(filePath).list();\n\n for (String s : tempArr) {\n fileList.add(filePath + \"/\" + s);\n }\n }", "@java.lang.Override\n public entities.Torrent.FileInfo getFileInfo() {\n return fileInfo_ == null ? entities.Torrent.FileInfo.getDefaultInstance() : fileInfo_;\n }", "@java.lang.Override\n public entities.Torrent.FileInfo getFileInfo() {\n return fileInfo_ == null ? entities.Torrent.FileInfo.getDefaultInstance() : fileInfo_;\n }", "public FileInfoICS(String name, String directory, int format) {\r\n super(name, directory, format);\r\n }", "public FileInfo(FileInfo v)\n \t{\n \t\ttitle = v.title;\n \t\tauthors = v.authors;\n \t\tseries = v.series;\n \t\tseriesNumber = v.seriesNumber;\n \t\tpath = v.path;\n \t\tfilename = v.filename;\n \t\tpathname = v.pathname;\n \t\tarcname = v.arcname;\n \t\tformat = v.format;\n \t\tsize = v.size;\n \t\tarcsize = v.arcsize;\n \t\tisArchive = v.isArchive;\n \t\tisDirectory = v.isDirectory;\n \t\tcreateTime = v.createTime;\n \t\tlastAccessTime = v.lastAccessTime;\n \t}", "public ImageFiles() {\n\t\tthis.listOne = new ArrayList<String>();\n\t\tthis.listTwo = new ArrayList<String>();\n\t\tthis.listThree = new ArrayList<String>();\n\t\tthis.seenImages = new ArrayList<String>();\n\t\tthis.unseenImages = new ArrayList<String>();\n\t}", "@java.lang.Override\n public java.util.List<? extends entities.Torrent.FileInfoOrBuilder>\n getFileInfoOrBuilderList() {\n return fileInfo_;\n }", "int countByExample(AvwFileprocessExample example);", "public Builder addEntry(com.google.devtools.kythe.proto.Analysis.FileInfo value) {\n if (entryBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureEntryIsMutable();\n entry_.add(value);\n onChanged();\n } else {\n entryBuilder_.addMessage(value);\n }\n return this;\n }", "ds.hdfs.generated.FileMetadata getFiles(int index);", "java.util.List<? extends entities.Torrent.FileInfoOrBuilder>\n getFileInfoOrBuilderList();", "public Long getFileID()\n/* */ {\n/* 88 */ return this.fileID;\n/* */ }", "public void incuploadcount(){\n\t\tthis. num_upload++;\n\t}", "public Vector<file> count()\n {\n Vector<Model.file> files = new Vector<>();\n try\n {\n pw.println(11);\n\n files = (Vector<Model.file>) ois.readObject();\n\n }\n catch (ClassNotFoundException | IOException e)\n {\n System.out.println(e.getMessage());\n }\n return files ;\n }" ]
[ "0.63404644", "0.60424006", "0.58997285", "0.5897735", "0.5897735", "0.5893349", "0.5840858", "0.5782364", "0.575059", "0.56671757", "0.5629983", "0.55628306", "0.55628306", "0.54918736", "0.54439086", "0.5438974", "0.5436454", "0.53865486", "0.53812563", "0.53554535", "0.53554535", "0.5350297", "0.53485256", "0.5337326", "0.5325269", "0.5323776", "0.5317618", "0.5316972", "0.5305772", "0.5301568", "0.5289526", "0.52858317", "0.527939", "0.527717", "0.5246745", "0.5238312", "0.52333695", "0.52198213", "0.520472", "0.5197636", "0.5181744", "0.5180735", "0.5179602", "0.5171487", "0.5170226", "0.5151229", "0.5126351", "0.51164293", "0.51105917", "0.51006323", "0.5064827", "0.5064827", "0.5030081", "0.50298166", "0.5029732", "0.50183815", "0.5008859", "0.5008625", "0.5002189", "0.5000041", "0.4996095", "0.49911362", "0.4988522", "0.49871376", "0.49688184", "0.4968441", "0.49640483", "0.49627694", "0.49464682", "0.49452326", "0.49435145", "0.4940706", "0.4939512", "0.4919068", "0.49134657", "0.4912824", "0.48992985", "0.48903668", "0.4889867", "0.48865864", "0.48865864", "0.48813212", "0.48813212", "0.48808643", "0.48788455", "0.48786306", "0.4874242", "0.48689762", "0.48689762", "0.48684502", "0.48670304", "0.48606005", "0.48516285", "0.48392272", "0.48242542", "0.48236215", "0.48225048", "0.4821103", "0.48174718", "0.4813819" ]
0.5661143
10
repeated .FileInfo fileInfo = 3;
int getFileInfoCount();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public FileInfo getFileInfo() {\n return fileInfo;\n }", "@Test\n\tpublic void testSetFileInfo() {\n\n\t}", "FileInfo create(FileInfo fileInfo);", "entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder();", "entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder();", "public void fileInfo(String info);", "@Override\n public void addSingleFile(FileInfo file) {\n }", "void update(FileInfo fileInfo);", "public void incFileCount(){\n\t\tthis.num_files++;\n\t}", "entities.Torrent.FileInfo getFileInfo(int index);", "public boolean nextFileInfo(FileInfo info) {\n\n\t\t// Get the next file from the search\n\n\t\ttry {\n\n\t\t\t// Return the next file details or loop until a match is found if a\n\t\t\t// complex wildcard filter\n\t\t\t// has been specified\n\t\t\twhile (m_rs.next()) {\n\t\t\t\tString name = m_rs.getString(\"name\");\n\t\t\t\t// Get the file name for the next file\n\t\t\t\tinfo.setFileId(m_rs.getInt(\"id\"));\n\t\t\t\tinfo.setFileName(name);\n\t\t\t\tinfo.setSize(m_rs.getLong(\"size\"));\n\t\t\t\tif(name.equalsIgnoreCase(DBUtil.CLOUDURL))\n\t\t\t\t{\n\t\t\t\t\ttry{\n\t\t\t\t\t//重设置大小\n\t\t\t\t\tinfo.setFileId(-99);\n//\t\t\t\t\tinfo.setFileId(-userId);\n\t\t\t\t\tinfo.setSize(DBUtil.getURLMYFILE_TXT(this.getBaseUrl(),userId).getBytes().length);\n\t\t\t\t\t}catch(Exception e)\n\t\t\t\t\t{\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tlong modifyDate = m_rs.getLong(\"lastModified\");\n\t\t\t\tif (modifyDate != 0L)\n\t\t\t\t\tinfo.setModifyDateTime(modifyDate);\n\t\t\t\telse\n\t\t\t\t\tinfo.setModifyDateTime(System.currentTimeMillis());\n\t\t\t\t\n\t\t\t\tTimestamp ts = m_rs.getTimestamp(\"add_time\");\n\t\t\t\tif (ts !=null && ts.getTime()>0)\n\t\t\t\t{\n\t\t\t\t\tinfo.setCreationDateTime(ts.getTime());\n\t\t\t\t\tinfo.setChangeDateTime(info.getModifyDateTime());\n\t\t\t\t}\n\t\t\t\telse\n\t\t\t\t{\n\t\t\t\t\tinfo.setCreationDateTime(info.getModifyDateTime());\n\t\t\t\t\tinfo.setChangeDateTime(info.getModifyDateTime());\n\t\t\t\t}\t\t\t\t\n\t\t\t\tint attr = 0;\n\t\t\t\tif (m_rs.getBoolean(\"isFile\") == true) {\n\t\t\t\t\tinfo.setFileType(FileType.RegularFile);\t\t\t\t\t\n\t\t\t\t\tattr += FileAttribute.ReadOnly;// 只读权限\n\t\t\t\t} else\n\t\t\t\t\tattr += FileAttribute.Directory;\n\n\t\t\t\tif (m_rs.getBoolean(\"isHidden\") == true) \n\t\t\t\t{\n\t\t\t\t\tattr += FileAttribute.Hidden;//隐藏\n\t\t\t\t}\n\t\t\t\tinfo.setFileType(FileType.Directory);\n\t\t\t\t\t\t\t\t\n\t\t\t\tif (hasMarkAsOffline()) {\n\t\t\t\t\tif (getOfflineFileSize() == 0 || info.getSize() >= getOfflineFileSize())\n\t\t\t\t\t\tattr += FileAttribute.NTOffline;\n\t\t\t\t}\n\t\t\t\tinfo.setFileAttributes(attr);\n\t\t\t\tinfo.setUid(userId);\n\n\t\t\t\tif (m_filter == null || m_filter.matchesPattern(info.getFileName()) == true)\n\t\t\t\t\treturn true;\n\t\t\t}\n\t\t} catch (SQLException ex) {\n\t\t\tex.printStackTrace();\n\t\t}\n\t\t// No more files\n\t\tcloseSearch();\n\t\treturn false;\n\t}", "entities.Torrent.FileInfo getFileInfo();", "entities.Torrent.FileInfo getFileInfo();", "entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder(\n int index);", "DiscFileInfo getFileInfo(String path) throws IOException;", "void setFile(String i) {\n file = i;\n }", "@java.lang.Override\n public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder(\n int index) {\n return fileInfo_.get(index);\n }", "@java.lang.Override\n public int getFileInfoCount() {\n return fileInfo_.size();\n }", "public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder(\n int index) {\n if (fileInfoBuilder_ == null) {\n return fileInfo_.get(index); } else {\n return fileInfoBuilder_.getMessageOrBuilder(index);\n }\n }", "@java.lang.Override\n public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder() {\n return getFileInfo();\n }", "@java.lang.Override\n public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder() {\n return getFileInfo();\n }", "fileInfo(){\n\t\tsymbol = new node[MAXLINECOUNT + 2];\n\t\tother = null; // allocated later!\n\t}", "public Builder addFileInfo(entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureFileInfoIsMutable();\n fileInfo_.add(value);\n onChanged();\n } else {\n fileInfoBuilder_.addMessage(value);\n }\n return this;\n }", "public synchronized FileInfo getOrAddFileInfo(FileInfo alphaFileInfo) {\n String app = alphaFileInfo.getApp();\n String caption = alphaFileInfo.getCaption();\n AppAndCaptionKey key = new AppAndCaptionKey(app, caption);\n String fileId = appAndCaptionToId.get(key);\n if(fileId==null){\n fileId = getNextFileId();\n appAndCaptionToId.put(key, fileId);\n }\n\n //2. Creating file info\n FileInfo sigmaFileInfo = fileCache.getFileInfo(app,fileId);\n if(sigmaFileInfo==null){\n sigmaFileInfo = (FileInfo) alphaFileInfo.clone();\n }\n sigmaFileInfo.setId(fileId);\n return sigmaFileInfo;\n }", "entities.Torrent.FileInfo getFiles(int index);", "com.google.devtools.kythe.proto.Analysis.FileInfoOrBuilder getEntryOrBuilder(\n int index);", "public final FileInfoBase getFileInfo() {\r\n return fileInfo;\r\n }", "public void setFileId(Long fileId) {\n/* 31:31 */ this.fileId = fileId;\n/* 32: */ }", "public entities.Torrent.FileInfo.Builder addFileInfoBuilder() {\n return getFileInfoFieldBuilder().addBuilder(\n entities.Torrent.FileInfo.getDefaultInstance());\n }", "@Override\r\n\tpublic int addAnimalFileInfo(FileInfo fileInfo) {\n\t\treturn fileInfoMapper.addAnimalFileInfo(fileInfo);\r\n\t}", "public abstract long NewFileNumber();", "public Builder addFileInfo(\n int index, entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureFileInfoIsMutable();\n fileInfo_.add(index, value);\n onChanged();\n } else {\n fileInfoBuilder_.addMessage(index, value);\n }\n return this;\n }", "public FileInfo(File file) {\n this.file = file;\n }", "int attrib(int i, File v) {\n if (i < max) {\n AllFiles[i] = v;\n } else {\n File[] temp = new File[max];\n int j;\n for (j = 0; j < max; j++) temp[j] = AllFiles[j];\n AllFiles = new File[max + increase];\n for (j = 0; j < max; j++) AllFiles[j] = temp[j];\n max = max + increase;\n AllFiles[i] = v;\n }\n return (0);\n }", "public boolean hasFileInfo() {\n return fieldSetFlags()[15];\n }", "public Builder setFileInfo(\n int index, entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureFileInfoIsMutable();\n fileInfo_.set(index, value);\n onChanged();\n } else {\n fileInfoBuilder_.setMessage(index, value);\n }\n return this;\n }", "public com.opentext.bn.converters.avro.entity.PayloadRef getFileInfo() {\n return fileInfo;\n }", "entities.Torrent.FileInfoOrBuilder getFilesOrBuilder(\n int index);", "public com.opentext.bn.converters.avro.entity.PayloadRef getFileInfo() {\n return fileInfo;\n }", "com.google.devtools.kythe.proto.Analysis.FileInfo getEntry(int index);", "public TagFileInfo[] getTagFiles() {\n/* 176 */ return this.tagFiles;\n/* */ }", "public Builder setFileInfo(entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n fileInfo_ = value;\n onChanged();\n } else {\n fileInfoBuilder_.setMessage(value);\n }\n\n return this;\n }", "public Builder setFileInfo(entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n fileInfo_ = value;\n onChanged();\n } else {\n fileInfoBuilder_.setMessage(value);\n }\n\n return this;\n }", "private FileInfo(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "public Builder addAllFileInfo(\n java.lang.Iterable<? extends entities.Torrent.FileInfo> values) {\n if (fileInfoBuilder_ == null) {\n ensureFileInfoIsMutable();\n com.google.protobuf.AbstractMessageLite.Builder.addAll(\n values, fileInfo_);\n onChanged();\n } else {\n fileInfoBuilder_.addAllMessages(values);\n }\n return this;\n }", "public int getFileInfoCount() {\n if (fileInfoBuilder_ == null) {\n return fileInfo_.size();\n } else {\n return fileInfoBuilder_.getCount();\n }\n }", "public void constructWith(LzzFileInfo pro) {\n\t\tthis.id = pro.getId ();\n\n\t\tthis.fname = pro.getFname ();\n\n\t\tthis.ftype = pro.getFtype ();\n\n\t\tthis.fsavepath = pro.getFsavepath ();\n\n\t\tthis.furlpath = pro.getFurlpath ();\n\n\t\tthis.createTime = pro.getCreateTime ();\n\n\t\tthis.modifyTime = pro.getModifyTime ();\n\n\t\tthis.def1 = pro.getDef1 ();\n\n\t\tthis.def2 = pro.getDef2 ();\n\n\t\tthis.def3 = pro.getDef3 ();\n\n\t\tthis.def4 = pro.getDef4 ();\n\n\t\tthis.def5 = pro.getDef5 ();\n\n\t\tthis.def6 = pro.getDef6 ();\n\n\t\tthis.def7 = pro.getDef7 ();\n\n\t\tthis.def8 = pro.getDef8 ();\n\n\t\tthis.def9 = pro.getDef9 ();\n\n\t\tthis.def10 = pro.getDef10 ();\n\n\t\tthis.dr = pro.getDr ();\n\n\t}", "public FileInfo(NXTComm nxt, String fileName){\r\n\t\tthis.comm = nxt;\r\n\t\tthis.fileName = fileName;\r\n\t}", "public FileInfo()\r\n {\r\n hash = new HashInfo();\r\n }", "@Override\n public List<FileInfo> getLibrarySubFiles(FileInfo fileInfo) {\n return null;\n }", "public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder() {\n if (fileInfoBuilder_ != null) {\n return fileInfoBuilder_.getMessageOrBuilder();\n } else {\n return fileInfo_ == null ?\n entities.Torrent.FileInfo.getDefaultInstance() : fileInfo_;\n }\n }", "public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder() {\n if (fileInfoBuilder_ != null) {\n return fileInfoBuilder_.getMessageOrBuilder();\n } else {\n return fileInfo_ == null ?\n entities.Torrent.FileInfo.getDefaultInstance() : fileInfo_;\n }\n }", "public DotFileEnumerator(File file)\n {\n fileList.add(file.toString());\n }", "public Builder mergeFileInfo(entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (fileInfo_ != null) {\n fileInfo_ =\n entities.Torrent.FileInfo.newBuilder(fileInfo_).mergeFrom(value).buildPartial();\n } else {\n fileInfo_ = value;\n }\n onChanged();\n } else {\n fileInfoBuilder_.mergeFrom(value);\n }\n\n return this;\n }", "public Builder mergeFileInfo(entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (fileInfo_ != null) {\n fileInfo_ =\n entities.Torrent.FileInfo.newBuilder(fileInfo_).mergeFrom(value).buildPartial();\n } else {\n fileInfo_ = value;\n }\n onChanged();\n } else {\n fileInfoBuilder_.mergeFrom(value);\n }\n\n return this;\n }", "int getFileCount();", "public com.google.devtools.kythe.proto.Analysis.FileInfoOrBuilder getEntryOrBuilder(\n int index) {\n return entry_.get(index);\n }", "public int getFileFlags() { return fileFlags; }", "public Builder clearFileInfo() {\n if (fileInfoBuilder_ == null) {\n fileInfo_ = java.util.Collections.emptyList();\n bitField0_ = (bitField0_ & ~0x00000001);\n onChanged();\n } else {\n fileInfoBuilder_.clear();\n }\n return this;\n }", "public com.opentext.bn.converters.avro.entity.PayloadRef.Builder getFileInfoBuilder() {\n if (fileInfoBuilder == null) {\n if (hasFileInfo()) {\n setFileInfoBuilder(com.opentext.bn.converters.avro.entity.PayloadRef.newBuilder(fileInfo));\n } else {\n setFileInfoBuilder(com.opentext.bn.converters.avro.entity.PayloadRef.newBuilder());\n }\n }\n return fileInfoBuilder;\n }", "public void process(TiffFileInfo info)\n {\n }", "public com.google.devtools.kythe.proto.Analysis.FileInfo.Builder addEntryBuilder() {\n return getEntryFieldBuilder().addBuilder(\n com.google.devtools.kythe.proto.Analysis.FileInfo.getDefaultInstance());\n }", "@java.lang.Override\n public entities.Torrent.FileInfo getFileInfo(int index) {\n return fileInfo_.get(index);\n }", "public Long getFileId() {\n/* 35:35 */ return this.fileId;\n/* 36: */ }", "private com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.FileInfo, entities.Torrent.FileInfo.Builder, entities.Torrent.FileInfoOrBuilder>\n getFileInfoFieldBuilder() {\n if (fileInfoBuilder_ == null) {\n fileInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.FileInfo, entities.Torrent.FileInfo.Builder, entities.Torrent.FileInfoOrBuilder>(\n getFileInfo(),\n getParentForChildren(),\n isClean());\n fileInfo_ = null;\n }\n return fileInfoBuilder_;\n }", "private com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.FileInfo, entities.Torrent.FileInfo.Builder, entities.Torrent.FileInfoOrBuilder>\n getFileInfoFieldBuilder() {\n if (fileInfoBuilder_ == null) {\n fileInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.FileInfo, entities.Torrent.FileInfo.Builder, entities.Torrent.FileInfoOrBuilder>(\n getFileInfo(),\n getParentForChildren(),\n isClean());\n fileInfo_ = null;\n }\n return fileInfoBuilder_;\n }", "private void updateFiles() {\n\t}", "public entities.Torrent.FileInfo.Builder addFileInfoBuilder(\n int index) {\n return getFileInfoFieldBuilder().addBuilder(\n index, entities.Torrent.FileInfo.getDefaultInstance());\n }", "public interface FileSelectInfo\n{\n /**\n * Returns the base folder of the traversal.\n * @return FileObject representing the base folder.\n */\n FileObject getBaseFolder();\n\n /**\n * Returns the file (or folder) to be considered.\n * @return The FileObject.\n */\n FileObject getFile();\n\n /**\n * Returns the depth of the file relative to the base folder.\n * @return The depth of the file relative to the base folder.\n */\n int getDepth();\n}", "public entities.Torrent.FileInfo.Builder getFileInfoBuilder(\n int index) {\n return getFileInfoFieldBuilder().getBuilder(index);\n }", "public entities.Torrent.FileInfo.Builder getFileInfoBuilder() {\n\n onChanged();\n return getFileInfoFieldBuilder().getBuilder();\n }", "public entities.Torrent.FileInfo.Builder getFileInfoBuilder() {\n\n onChanged();\n return getFileInfoFieldBuilder().getBuilder();\n }", "public entities.Torrent.FileInfoOrBuilder getFilesOrBuilder(\n int index) {\n if (filesBuilder_ == null) {\n return files_.get(index); } else {\n return filesBuilder_.getMessageOrBuilder(index);\n }\n }", "private void getExtractWithFiles(){\n\t\ttry{\n\t\t\t\n\t\t\tFileInputStream fStream = new FileInputStream(tfile);\n\t\t\tfileBytes = new byte[(int)tfile.length()];\n\t\t\t\n\t\t\tfStream.read(fileBytes, 0, fileBytes.length);\n\t\t\tfileSize = fileBytes.length;\n\t\t}catch(Exception ex){\n\t\t\tSystem.err.println(\"File Packet \"+ex.getMessage());\n\t\t}\n\t}", "private static void printFileInfo(File file) {\n window.putLog(String.format(\"[%6dkb] Modified %s @%s\", 1 + file.length() / 1024,\n new SimpleDateFormat(\"YYYY-MM-dd HH:mm\").format(new Date(file.lastModified())),\n file.getPath().substring(workingDirectory.getParent().length())));\n }", "public interface FileSystemEntry {\n public long getCount();\n public long getSize();\n public String getName();\n}", "public PSMatrixFilesMeta() {\r\n this(-1, new ConcurrentSkipListMap<Integer, MatrixPartitionMeta>());\r\n }", "protected final void setFileInformation( FileInfo fInfo) {\n\t\tm_info = fInfo;\n\t}", "public java.util.List<? extends entities.Torrent.FileInfoOrBuilder>\n getFileInfoOrBuilderList() {\n if (fileInfoBuilder_ != null) {\n return fileInfoBuilder_.getMessageOrBuilderList();\n } else {\n return java.util.Collections.unmodifiableList(fileInfo_);\n }\n }", "int getFileNamesCount();", "int getFileNamesCount();", "public void filesNotFound(File... f) { }", "public void filesNotFound(File... f) { }", "@Override\n public void onPick(FileInfo f) {\n }", "public void setFileRecordCount(int ct) {\n\t\tfileRecordCount = ct;\n\t}", "public com.opentext.bn.converters.avro.entity.DocumentEvent.Builder setFileInfo(com.opentext.bn.converters.avro.entity.PayloadRef value) {\n validate(fields()[15], value);\n this.fileInfoBuilder = null;\n this.fileInfo = value;\n fieldSetFlags()[15] = true;\n return this;\n }", "public DotFileEnumerator(String filePath)\n {\n String[] tempArr = new File(filePath).list();\n\n for (String s : tempArr) {\n fileList.add(filePath + \"/\" + s);\n }\n }", "@java.lang.Override\n public entities.Torrent.FileInfo getFileInfo() {\n return fileInfo_ == null ? entities.Torrent.FileInfo.getDefaultInstance() : fileInfo_;\n }", "@java.lang.Override\n public entities.Torrent.FileInfo getFileInfo() {\n return fileInfo_ == null ? entities.Torrent.FileInfo.getDefaultInstance() : fileInfo_;\n }", "public FileInfoICS(String name, String directory, int format) {\r\n super(name, directory, format);\r\n }", "public FileInfo(FileInfo v)\n \t{\n \t\ttitle = v.title;\n \t\tauthors = v.authors;\n \t\tseries = v.series;\n \t\tseriesNumber = v.seriesNumber;\n \t\tpath = v.path;\n \t\tfilename = v.filename;\n \t\tpathname = v.pathname;\n \t\tarcname = v.arcname;\n \t\tformat = v.format;\n \t\tsize = v.size;\n \t\tarcsize = v.arcsize;\n \t\tisArchive = v.isArchive;\n \t\tisDirectory = v.isDirectory;\n \t\tcreateTime = v.createTime;\n \t\tlastAccessTime = v.lastAccessTime;\n \t}", "public ImageFiles() {\n\t\tthis.listOne = new ArrayList<String>();\n\t\tthis.listTwo = new ArrayList<String>();\n\t\tthis.listThree = new ArrayList<String>();\n\t\tthis.seenImages = new ArrayList<String>();\n\t\tthis.unseenImages = new ArrayList<String>();\n\t}", "@java.lang.Override\n public java.util.List<? extends entities.Torrent.FileInfoOrBuilder>\n getFileInfoOrBuilderList() {\n return fileInfo_;\n }", "int countByExample(AvwFileprocessExample example);", "public Builder addEntry(com.google.devtools.kythe.proto.Analysis.FileInfo value) {\n if (entryBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureEntryIsMutable();\n entry_.add(value);\n onChanged();\n } else {\n entryBuilder_.addMessage(value);\n }\n return this;\n }", "ds.hdfs.generated.FileMetadata getFiles(int index);", "java.util.List<? extends entities.Torrent.FileInfoOrBuilder>\n getFileInfoOrBuilderList();", "public Long getFileID()\n/* */ {\n/* 88 */ return this.fileID;\n/* */ }", "public void incuploadcount(){\n\t\tthis. num_upload++;\n\t}", "public Vector<file> count()\n {\n Vector<Model.file> files = new Vector<>();\n try\n {\n pw.println(11);\n\n files = (Vector<Model.file>) ois.readObject();\n\n }\n catch (ClassNotFoundException | IOException e)\n {\n System.out.println(e.getMessage());\n }\n return files ;\n }" ]
[ "0.63404644", "0.60424006", "0.58997285", "0.5897735", "0.5897735", "0.5893349", "0.5840858", "0.5782364", "0.56671757", "0.5661143", "0.5629983", "0.55628306", "0.55628306", "0.54918736", "0.54439086", "0.5438974", "0.5436454", "0.53865486", "0.53812563", "0.53554535", "0.53554535", "0.5350297", "0.53485256", "0.5337326", "0.5325269", "0.5323776", "0.5317618", "0.5316972", "0.5305772", "0.5301568", "0.5289526", "0.52858317", "0.527939", "0.527717", "0.5246745", "0.5238312", "0.52333695", "0.52198213", "0.520472", "0.5197636", "0.5181744", "0.5180735", "0.5179602", "0.5171487", "0.5170226", "0.5151229", "0.5126351", "0.51164293", "0.51105917", "0.51006323", "0.5064827", "0.5064827", "0.5030081", "0.50298166", "0.5029732", "0.50183815", "0.5008859", "0.5008625", "0.5002189", "0.5000041", "0.4996095", "0.49911362", "0.4988522", "0.49871376", "0.49688184", "0.4968441", "0.49640483", "0.49627694", "0.49464682", "0.49452326", "0.49435145", "0.4940706", "0.4939512", "0.4919068", "0.49134657", "0.4912824", "0.48992985", "0.48903668", "0.4889867", "0.48865864", "0.48865864", "0.48813212", "0.48813212", "0.48808643", "0.48788455", "0.48786306", "0.4874242", "0.48689762", "0.48689762", "0.48684502", "0.48670304", "0.48606005", "0.48516285", "0.48392272", "0.48242542", "0.48236215", "0.48225048", "0.4821103", "0.48174718", "0.4813819" ]
0.575059
8
repeated .FileInfo fileInfo = 3;
java.util.List<? extends entities.Torrent.FileInfoOrBuilder> getFileInfoOrBuilderList();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public FileInfo getFileInfo() {\n return fileInfo;\n }", "@Test\n\tpublic void testSetFileInfo() {\n\n\t}", "FileInfo create(FileInfo fileInfo);", "entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder();", "entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder();", "public void fileInfo(String info);", "@Override\n public void addSingleFile(FileInfo file) {\n }", "void update(FileInfo fileInfo);", "int getFileInfoCount();", "public void incFileCount(){\n\t\tthis.num_files++;\n\t}", "entities.Torrent.FileInfo getFileInfo(int index);", "public boolean nextFileInfo(FileInfo info) {\n\n\t\t// Get the next file from the search\n\n\t\ttry {\n\n\t\t\t// Return the next file details or loop until a match is found if a\n\t\t\t// complex wildcard filter\n\t\t\t// has been specified\n\t\t\twhile (m_rs.next()) {\n\t\t\t\tString name = m_rs.getString(\"name\");\n\t\t\t\t// Get the file name for the next file\n\t\t\t\tinfo.setFileId(m_rs.getInt(\"id\"));\n\t\t\t\tinfo.setFileName(name);\n\t\t\t\tinfo.setSize(m_rs.getLong(\"size\"));\n\t\t\t\tif(name.equalsIgnoreCase(DBUtil.CLOUDURL))\n\t\t\t\t{\n\t\t\t\t\ttry{\n\t\t\t\t\t//重设置大小\n\t\t\t\t\tinfo.setFileId(-99);\n//\t\t\t\t\tinfo.setFileId(-userId);\n\t\t\t\t\tinfo.setSize(DBUtil.getURLMYFILE_TXT(this.getBaseUrl(),userId).getBytes().length);\n\t\t\t\t\t}catch(Exception e)\n\t\t\t\t\t{\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tlong modifyDate = m_rs.getLong(\"lastModified\");\n\t\t\t\tif (modifyDate != 0L)\n\t\t\t\t\tinfo.setModifyDateTime(modifyDate);\n\t\t\t\telse\n\t\t\t\t\tinfo.setModifyDateTime(System.currentTimeMillis());\n\t\t\t\t\n\t\t\t\tTimestamp ts = m_rs.getTimestamp(\"add_time\");\n\t\t\t\tif (ts !=null && ts.getTime()>0)\n\t\t\t\t{\n\t\t\t\t\tinfo.setCreationDateTime(ts.getTime());\n\t\t\t\t\tinfo.setChangeDateTime(info.getModifyDateTime());\n\t\t\t\t}\n\t\t\t\telse\n\t\t\t\t{\n\t\t\t\t\tinfo.setCreationDateTime(info.getModifyDateTime());\n\t\t\t\t\tinfo.setChangeDateTime(info.getModifyDateTime());\n\t\t\t\t}\t\t\t\t\n\t\t\t\tint attr = 0;\n\t\t\t\tif (m_rs.getBoolean(\"isFile\") == true) {\n\t\t\t\t\tinfo.setFileType(FileType.RegularFile);\t\t\t\t\t\n\t\t\t\t\tattr += FileAttribute.ReadOnly;// 只读权限\n\t\t\t\t} else\n\t\t\t\t\tattr += FileAttribute.Directory;\n\n\t\t\t\tif (m_rs.getBoolean(\"isHidden\") == true) \n\t\t\t\t{\n\t\t\t\t\tattr += FileAttribute.Hidden;//隐藏\n\t\t\t\t}\n\t\t\t\tinfo.setFileType(FileType.Directory);\n\t\t\t\t\t\t\t\t\n\t\t\t\tif (hasMarkAsOffline()) {\n\t\t\t\t\tif (getOfflineFileSize() == 0 || info.getSize() >= getOfflineFileSize())\n\t\t\t\t\t\tattr += FileAttribute.NTOffline;\n\t\t\t\t}\n\t\t\t\tinfo.setFileAttributes(attr);\n\t\t\t\tinfo.setUid(userId);\n\n\t\t\t\tif (m_filter == null || m_filter.matchesPattern(info.getFileName()) == true)\n\t\t\t\t\treturn true;\n\t\t\t}\n\t\t} catch (SQLException ex) {\n\t\t\tex.printStackTrace();\n\t\t}\n\t\t// No more files\n\t\tcloseSearch();\n\t\treturn false;\n\t}", "entities.Torrent.FileInfo getFileInfo();", "entities.Torrent.FileInfo getFileInfo();", "entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder(\n int index);", "DiscFileInfo getFileInfo(String path) throws IOException;", "void setFile(String i) {\n file = i;\n }", "@java.lang.Override\n public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder(\n int index) {\n return fileInfo_.get(index);\n }", "@java.lang.Override\n public int getFileInfoCount() {\n return fileInfo_.size();\n }", "public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder(\n int index) {\n if (fileInfoBuilder_ == null) {\n return fileInfo_.get(index); } else {\n return fileInfoBuilder_.getMessageOrBuilder(index);\n }\n }", "@java.lang.Override\n public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder() {\n return getFileInfo();\n }", "@java.lang.Override\n public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder() {\n return getFileInfo();\n }", "fileInfo(){\n\t\tsymbol = new node[MAXLINECOUNT + 2];\n\t\tother = null; // allocated later!\n\t}", "public Builder addFileInfo(entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureFileInfoIsMutable();\n fileInfo_.add(value);\n onChanged();\n } else {\n fileInfoBuilder_.addMessage(value);\n }\n return this;\n }", "public synchronized FileInfo getOrAddFileInfo(FileInfo alphaFileInfo) {\n String app = alphaFileInfo.getApp();\n String caption = alphaFileInfo.getCaption();\n AppAndCaptionKey key = new AppAndCaptionKey(app, caption);\n String fileId = appAndCaptionToId.get(key);\n if(fileId==null){\n fileId = getNextFileId();\n appAndCaptionToId.put(key, fileId);\n }\n\n //2. Creating file info\n FileInfo sigmaFileInfo = fileCache.getFileInfo(app,fileId);\n if(sigmaFileInfo==null){\n sigmaFileInfo = (FileInfo) alphaFileInfo.clone();\n }\n sigmaFileInfo.setId(fileId);\n return sigmaFileInfo;\n }", "entities.Torrent.FileInfo getFiles(int index);", "com.google.devtools.kythe.proto.Analysis.FileInfoOrBuilder getEntryOrBuilder(\n int index);", "public final FileInfoBase getFileInfo() {\r\n return fileInfo;\r\n }", "public void setFileId(Long fileId) {\n/* 31:31 */ this.fileId = fileId;\n/* 32: */ }", "public entities.Torrent.FileInfo.Builder addFileInfoBuilder() {\n return getFileInfoFieldBuilder().addBuilder(\n entities.Torrent.FileInfo.getDefaultInstance());\n }", "@Override\r\n\tpublic int addAnimalFileInfo(FileInfo fileInfo) {\n\t\treturn fileInfoMapper.addAnimalFileInfo(fileInfo);\r\n\t}", "public abstract long NewFileNumber();", "public Builder addFileInfo(\n int index, entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureFileInfoIsMutable();\n fileInfo_.add(index, value);\n onChanged();\n } else {\n fileInfoBuilder_.addMessage(index, value);\n }\n return this;\n }", "public FileInfo(File file) {\n this.file = file;\n }", "int attrib(int i, File v) {\n if (i < max) {\n AllFiles[i] = v;\n } else {\n File[] temp = new File[max];\n int j;\n for (j = 0; j < max; j++) temp[j] = AllFiles[j];\n AllFiles = new File[max + increase];\n for (j = 0; j < max; j++) AllFiles[j] = temp[j];\n max = max + increase;\n AllFiles[i] = v;\n }\n return (0);\n }", "public boolean hasFileInfo() {\n return fieldSetFlags()[15];\n }", "public Builder setFileInfo(\n int index, entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureFileInfoIsMutable();\n fileInfo_.set(index, value);\n onChanged();\n } else {\n fileInfoBuilder_.setMessage(index, value);\n }\n return this;\n }", "public com.opentext.bn.converters.avro.entity.PayloadRef getFileInfo() {\n return fileInfo;\n }", "entities.Torrent.FileInfoOrBuilder getFilesOrBuilder(\n int index);", "public com.opentext.bn.converters.avro.entity.PayloadRef getFileInfo() {\n return fileInfo;\n }", "com.google.devtools.kythe.proto.Analysis.FileInfo getEntry(int index);", "public TagFileInfo[] getTagFiles() {\n/* 176 */ return this.tagFiles;\n/* */ }", "public Builder setFileInfo(entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n fileInfo_ = value;\n onChanged();\n } else {\n fileInfoBuilder_.setMessage(value);\n }\n\n return this;\n }", "public Builder setFileInfo(entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n fileInfo_ = value;\n onChanged();\n } else {\n fileInfoBuilder_.setMessage(value);\n }\n\n return this;\n }", "private FileInfo(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "public Builder addAllFileInfo(\n java.lang.Iterable<? extends entities.Torrent.FileInfo> values) {\n if (fileInfoBuilder_ == null) {\n ensureFileInfoIsMutable();\n com.google.protobuf.AbstractMessageLite.Builder.addAll(\n values, fileInfo_);\n onChanged();\n } else {\n fileInfoBuilder_.addAllMessages(values);\n }\n return this;\n }", "public int getFileInfoCount() {\n if (fileInfoBuilder_ == null) {\n return fileInfo_.size();\n } else {\n return fileInfoBuilder_.getCount();\n }\n }", "public void constructWith(LzzFileInfo pro) {\n\t\tthis.id = pro.getId ();\n\n\t\tthis.fname = pro.getFname ();\n\n\t\tthis.ftype = pro.getFtype ();\n\n\t\tthis.fsavepath = pro.getFsavepath ();\n\n\t\tthis.furlpath = pro.getFurlpath ();\n\n\t\tthis.createTime = pro.getCreateTime ();\n\n\t\tthis.modifyTime = pro.getModifyTime ();\n\n\t\tthis.def1 = pro.getDef1 ();\n\n\t\tthis.def2 = pro.getDef2 ();\n\n\t\tthis.def3 = pro.getDef3 ();\n\n\t\tthis.def4 = pro.getDef4 ();\n\n\t\tthis.def5 = pro.getDef5 ();\n\n\t\tthis.def6 = pro.getDef6 ();\n\n\t\tthis.def7 = pro.getDef7 ();\n\n\t\tthis.def8 = pro.getDef8 ();\n\n\t\tthis.def9 = pro.getDef9 ();\n\n\t\tthis.def10 = pro.getDef10 ();\n\n\t\tthis.dr = pro.getDr ();\n\n\t}", "public FileInfo(NXTComm nxt, String fileName){\r\n\t\tthis.comm = nxt;\r\n\t\tthis.fileName = fileName;\r\n\t}", "public FileInfo()\r\n {\r\n hash = new HashInfo();\r\n }", "@Override\n public List<FileInfo> getLibrarySubFiles(FileInfo fileInfo) {\n return null;\n }", "public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder() {\n if (fileInfoBuilder_ != null) {\n return fileInfoBuilder_.getMessageOrBuilder();\n } else {\n return fileInfo_ == null ?\n entities.Torrent.FileInfo.getDefaultInstance() : fileInfo_;\n }\n }", "public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder() {\n if (fileInfoBuilder_ != null) {\n return fileInfoBuilder_.getMessageOrBuilder();\n } else {\n return fileInfo_ == null ?\n entities.Torrent.FileInfo.getDefaultInstance() : fileInfo_;\n }\n }", "public DotFileEnumerator(File file)\n {\n fileList.add(file.toString());\n }", "public Builder mergeFileInfo(entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (fileInfo_ != null) {\n fileInfo_ =\n entities.Torrent.FileInfo.newBuilder(fileInfo_).mergeFrom(value).buildPartial();\n } else {\n fileInfo_ = value;\n }\n onChanged();\n } else {\n fileInfoBuilder_.mergeFrom(value);\n }\n\n return this;\n }", "public Builder mergeFileInfo(entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (fileInfo_ != null) {\n fileInfo_ =\n entities.Torrent.FileInfo.newBuilder(fileInfo_).mergeFrom(value).buildPartial();\n } else {\n fileInfo_ = value;\n }\n onChanged();\n } else {\n fileInfoBuilder_.mergeFrom(value);\n }\n\n return this;\n }", "int getFileCount();", "public com.google.devtools.kythe.proto.Analysis.FileInfoOrBuilder getEntryOrBuilder(\n int index) {\n return entry_.get(index);\n }", "public int getFileFlags() { return fileFlags; }", "public Builder clearFileInfo() {\n if (fileInfoBuilder_ == null) {\n fileInfo_ = java.util.Collections.emptyList();\n bitField0_ = (bitField0_ & ~0x00000001);\n onChanged();\n } else {\n fileInfoBuilder_.clear();\n }\n return this;\n }", "public com.opentext.bn.converters.avro.entity.PayloadRef.Builder getFileInfoBuilder() {\n if (fileInfoBuilder == null) {\n if (hasFileInfo()) {\n setFileInfoBuilder(com.opentext.bn.converters.avro.entity.PayloadRef.newBuilder(fileInfo));\n } else {\n setFileInfoBuilder(com.opentext.bn.converters.avro.entity.PayloadRef.newBuilder());\n }\n }\n return fileInfoBuilder;\n }", "public void process(TiffFileInfo info)\n {\n }", "public com.google.devtools.kythe.proto.Analysis.FileInfo.Builder addEntryBuilder() {\n return getEntryFieldBuilder().addBuilder(\n com.google.devtools.kythe.proto.Analysis.FileInfo.getDefaultInstance());\n }", "@java.lang.Override\n public entities.Torrent.FileInfo getFileInfo(int index) {\n return fileInfo_.get(index);\n }", "public Long getFileId() {\n/* 35:35 */ return this.fileId;\n/* 36: */ }", "private com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.FileInfo, entities.Torrent.FileInfo.Builder, entities.Torrent.FileInfoOrBuilder>\n getFileInfoFieldBuilder() {\n if (fileInfoBuilder_ == null) {\n fileInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.FileInfo, entities.Torrent.FileInfo.Builder, entities.Torrent.FileInfoOrBuilder>(\n getFileInfo(),\n getParentForChildren(),\n isClean());\n fileInfo_ = null;\n }\n return fileInfoBuilder_;\n }", "private com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.FileInfo, entities.Torrent.FileInfo.Builder, entities.Torrent.FileInfoOrBuilder>\n getFileInfoFieldBuilder() {\n if (fileInfoBuilder_ == null) {\n fileInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.FileInfo, entities.Torrent.FileInfo.Builder, entities.Torrent.FileInfoOrBuilder>(\n getFileInfo(),\n getParentForChildren(),\n isClean());\n fileInfo_ = null;\n }\n return fileInfoBuilder_;\n }", "private void updateFiles() {\n\t}", "public entities.Torrent.FileInfo.Builder addFileInfoBuilder(\n int index) {\n return getFileInfoFieldBuilder().addBuilder(\n index, entities.Torrent.FileInfo.getDefaultInstance());\n }", "public interface FileSelectInfo\n{\n /**\n * Returns the base folder of the traversal.\n * @return FileObject representing the base folder.\n */\n FileObject getBaseFolder();\n\n /**\n * Returns the file (or folder) to be considered.\n * @return The FileObject.\n */\n FileObject getFile();\n\n /**\n * Returns the depth of the file relative to the base folder.\n * @return The depth of the file relative to the base folder.\n */\n int getDepth();\n}", "public entities.Torrent.FileInfo.Builder getFileInfoBuilder(\n int index) {\n return getFileInfoFieldBuilder().getBuilder(index);\n }", "public entities.Torrent.FileInfo.Builder getFileInfoBuilder() {\n\n onChanged();\n return getFileInfoFieldBuilder().getBuilder();\n }", "public entities.Torrent.FileInfo.Builder getFileInfoBuilder() {\n\n onChanged();\n return getFileInfoFieldBuilder().getBuilder();\n }", "public entities.Torrent.FileInfoOrBuilder getFilesOrBuilder(\n int index) {\n if (filesBuilder_ == null) {\n return files_.get(index); } else {\n return filesBuilder_.getMessageOrBuilder(index);\n }\n }", "private void getExtractWithFiles(){\n\t\ttry{\n\t\t\t\n\t\t\tFileInputStream fStream = new FileInputStream(tfile);\n\t\t\tfileBytes = new byte[(int)tfile.length()];\n\t\t\t\n\t\t\tfStream.read(fileBytes, 0, fileBytes.length);\n\t\t\tfileSize = fileBytes.length;\n\t\t}catch(Exception ex){\n\t\t\tSystem.err.println(\"File Packet \"+ex.getMessage());\n\t\t}\n\t}", "private static void printFileInfo(File file) {\n window.putLog(String.format(\"[%6dkb] Modified %s @%s\", 1 + file.length() / 1024,\n new SimpleDateFormat(\"YYYY-MM-dd HH:mm\").format(new Date(file.lastModified())),\n file.getPath().substring(workingDirectory.getParent().length())));\n }", "public interface FileSystemEntry {\n public long getCount();\n public long getSize();\n public String getName();\n}", "public PSMatrixFilesMeta() {\r\n this(-1, new ConcurrentSkipListMap<Integer, MatrixPartitionMeta>());\r\n }", "protected final void setFileInformation( FileInfo fInfo) {\n\t\tm_info = fInfo;\n\t}", "public java.util.List<? extends entities.Torrent.FileInfoOrBuilder>\n getFileInfoOrBuilderList() {\n if (fileInfoBuilder_ != null) {\n return fileInfoBuilder_.getMessageOrBuilderList();\n } else {\n return java.util.Collections.unmodifiableList(fileInfo_);\n }\n }", "int getFileNamesCount();", "int getFileNamesCount();", "public void filesNotFound(File... f) { }", "public void filesNotFound(File... f) { }", "@Override\n public void onPick(FileInfo f) {\n }", "public void setFileRecordCount(int ct) {\n\t\tfileRecordCount = ct;\n\t}", "public com.opentext.bn.converters.avro.entity.DocumentEvent.Builder setFileInfo(com.opentext.bn.converters.avro.entity.PayloadRef value) {\n validate(fields()[15], value);\n this.fileInfoBuilder = null;\n this.fileInfo = value;\n fieldSetFlags()[15] = true;\n return this;\n }", "public DotFileEnumerator(String filePath)\n {\n String[] tempArr = new File(filePath).list();\n\n for (String s : tempArr) {\n fileList.add(filePath + \"/\" + s);\n }\n }", "@java.lang.Override\n public entities.Torrent.FileInfo getFileInfo() {\n return fileInfo_ == null ? entities.Torrent.FileInfo.getDefaultInstance() : fileInfo_;\n }", "@java.lang.Override\n public entities.Torrent.FileInfo getFileInfo() {\n return fileInfo_ == null ? entities.Torrent.FileInfo.getDefaultInstance() : fileInfo_;\n }", "public FileInfoICS(String name, String directory, int format) {\r\n super(name, directory, format);\r\n }", "public FileInfo(FileInfo v)\n \t{\n \t\ttitle = v.title;\n \t\tauthors = v.authors;\n \t\tseries = v.series;\n \t\tseriesNumber = v.seriesNumber;\n \t\tpath = v.path;\n \t\tfilename = v.filename;\n \t\tpathname = v.pathname;\n \t\tarcname = v.arcname;\n \t\tformat = v.format;\n \t\tsize = v.size;\n \t\tarcsize = v.arcsize;\n \t\tisArchive = v.isArchive;\n \t\tisDirectory = v.isDirectory;\n \t\tcreateTime = v.createTime;\n \t\tlastAccessTime = v.lastAccessTime;\n \t}", "public ImageFiles() {\n\t\tthis.listOne = new ArrayList<String>();\n\t\tthis.listTwo = new ArrayList<String>();\n\t\tthis.listThree = new ArrayList<String>();\n\t\tthis.seenImages = new ArrayList<String>();\n\t\tthis.unseenImages = new ArrayList<String>();\n\t}", "@java.lang.Override\n public java.util.List<? extends entities.Torrent.FileInfoOrBuilder>\n getFileInfoOrBuilderList() {\n return fileInfo_;\n }", "int countByExample(AvwFileprocessExample example);", "public Builder addEntry(com.google.devtools.kythe.proto.Analysis.FileInfo value) {\n if (entryBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureEntryIsMutable();\n entry_.add(value);\n onChanged();\n } else {\n entryBuilder_.addMessage(value);\n }\n return this;\n }", "ds.hdfs.generated.FileMetadata getFiles(int index);", "public Long getFileID()\n/* */ {\n/* 88 */ return this.fileID;\n/* */ }", "public void incuploadcount(){\n\t\tthis. num_upload++;\n\t}", "public Vector<file> count()\n {\n Vector<Model.file> files = new Vector<>();\n try\n {\n pw.println(11);\n\n files = (Vector<Model.file>) ois.readObject();\n\n }\n catch (ClassNotFoundException | IOException e)\n {\n System.out.println(e.getMessage());\n }\n return files ;\n }" ]
[ "0.63404644", "0.60424006", "0.58997285", "0.5897735", "0.5897735", "0.5893349", "0.5840858", "0.5782364", "0.575059", "0.56671757", "0.5661143", "0.5629983", "0.55628306", "0.55628306", "0.54918736", "0.54439086", "0.5438974", "0.5436454", "0.53865486", "0.53812563", "0.53554535", "0.53554535", "0.5350297", "0.53485256", "0.5337326", "0.5325269", "0.5323776", "0.5317618", "0.5316972", "0.5305772", "0.5301568", "0.5289526", "0.52858317", "0.527939", "0.527717", "0.5246745", "0.5238312", "0.52333695", "0.52198213", "0.520472", "0.5197636", "0.5181744", "0.5180735", "0.5179602", "0.5171487", "0.5170226", "0.5151229", "0.5126351", "0.51164293", "0.51105917", "0.51006323", "0.5064827", "0.5064827", "0.5030081", "0.50298166", "0.5029732", "0.50183815", "0.5008859", "0.5008625", "0.5002189", "0.5000041", "0.4996095", "0.49911362", "0.4988522", "0.49871376", "0.49688184", "0.4968441", "0.49640483", "0.49627694", "0.49464682", "0.49452326", "0.49435145", "0.4940706", "0.4939512", "0.4919068", "0.49134657", "0.4912824", "0.48992985", "0.48903668", "0.4889867", "0.48865864", "0.48865864", "0.48813212", "0.48813212", "0.48808643", "0.48788455", "0.48786306", "0.4874242", "0.48689762", "0.48689762", "0.48684502", "0.48670304", "0.48606005", "0.48516285", "0.48392272", "0.48242542", "0.48236215", "0.4821103", "0.48174718", "0.4813819" ]
0.48225048
97
repeated .FileInfo fileInfo = 3;
entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder( int index);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public FileInfo getFileInfo() {\n return fileInfo;\n }", "@Test\n\tpublic void testSetFileInfo() {\n\n\t}", "FileInfo create(FileInfo fileInfo);", "entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder();", "entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder();", "public void fileInfo(String info);", "@Override\n public void addSingleFile(FileInfo file) {\n }", "void update(FileInfo fileInfo);", "int getFileInfoCount();", "public void incFileCount(){\n\t\tthis.num_files++;\n\t}", "entities.Torrent.FileInfo getFileInfo(int index);", "public boolean nextFileInfo(FileInfo info) {\n\n\t\t// Get the next file from the search\n\n\t\ttry {\n\n\t\t\t// Return the next file details or loop until a match is found if a\n\t\t\t// complex wildcard filter\n\t\t\t// has been specified\n\t\t\twhile (m_rs.next()) {\n\t\t\t\tString name = m_rs.getString(\"name\");\n\t\t\t\t// Get the file name for the next file\n\t\t\t\tinfo.setFileId(m_rs.getInt(\"id\"));\n\t\t\t\tinfo.setFileName(name);\n\t\t\t\tinfo.setSize(m_rs.getLong(\"size\"));\n\t\t\t\tif(name.equalsIgnoreCase(DBUtil.CLOUDURL))\n\t\t\t\t{\n\t\t\t\t\ttry{\n\t\t\t\t\t//重设置大小\n\t\t\t\t\tinfo.setFileId(-99);\n//\t\t\t\t\tinfo.setFileId(-userId);\n\t\t\t\t\tinfo.setSize(DBUtil.getURLMYFILE_TXT(this.getBaseUrl(),userId).getBytes().length);\n\t\t\t\t\t}catch(Exception e)\n\t\t\t\t\t{\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tlong modifyDate = m_rs.getLong(\"lastModified\");\n\t\t\t\tif (modifyDate != 0L)\n\t\t\t\t\tinfo.setModifyDateTime(modifyDate);\n\t\t\t\telse\n\t\t\t\t\tinfo.setModifyDateTime(System.currentTimeMillis());\n\t\t\t\t\n\t\t\t\tTimestamp ts = m_rs.getTimestamp(\"add_time\");\n\t\t\t\tif (ts !=null && ts.getTime()>0)\n\t\t\t\t{\n\t\t\t\t\tinfo.setCreationDateTime(ts.getTime());\n\t\t\t\t\tinfo.setChangeDateTime(info.getModifyDateTime());\n\t\t\t\t}\n\t\t\t\telse\n\t\t\t\t{\n\t\t\t\t\tinfo.setCreationDateTime(info.getModifyDateTime());\n\t\t\t\t\tinfo.setChangeDateTime(info.getModifyDateTime());\n\t\t\t\t}\t\t\t\t\n\t\t\t\tint attr = 0;\n\t\t\t\tif (m_rs.getBoolean(\"isFile\") == true) {\n\t\t\t\t\tinfo.setFileType(FileType.RegularFile);\t\t\t\t\t\n\t\t\t\t\tattr += FileAttribute.ReadOnly;// 只读权限\n\t\t\t\t} else\n\t\t\t\t\tattr += FileAttribute.Directory;\n\n\t\t\t\tif (m_rs.getBoolean(\"isHidden\") == true) \n\t\t\t\t{\n\t\t\t\t\tattr += FileAttribute.Hidden;//隐藏\n\t\t\t\t}\n\t\t\t\tinfo.setFileType(FileType.Directory);\n\t\t\t\t\t\t\t\t\n\t\t\t\tif (hasMarkAsOffline()) {\n\t\t\t\t\tif (getOfflineFileSize() == 0 || info.getSize() >= getOfflineFileSize())\n\t\t\t\t\t\tattr += FileAttribute.NTOffline;\n\t\t\t\t}\n\t\t\t\tinfo.setFileAttributes(attr);\n\t\t\t\tinfo.setUid(userId);\n\n\t\t\t\tif (m_filter == null || m_filter.matchesPattern(info.getFileName()) == true)\n\t\t\t\t\treturn true;\n\t\t\t}\n\t\t} catch (SQLException ex) {\n\t\t\tex.printStackTrace();\n\t\t}\n\t\t// No more files\n\t\tcloseSearch();\n\t\treturn false;\n\t}", "entities.Torrent.FileInfo getFileInfo();", "entities.Torrent.FileInfo getFileInfo();", "DiscFileInfo getFileInfo(String path) throws IOException;", "void setFile(String i) {\n file = i;\n }", "@java.lang.Override\n public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder(\n int index) {\n return fileInfo_.get(index);\n }", "@java.lang.Override\n public int getFileInfoCount() {\n return fileInfo_.size();\n }", "public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder(\n int index) {\n if (fileInfoBuilder_ == null) {\n return fileInfo_.get(index); } else {\n return fileInfoBuilder_.getMessageOrBuilder(index);\n }\n }", "@java.lang.Override\n public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder() {\n return getFileInfo();\n }", "@java.lang.Override\n public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder() {\n return getFileInfo();\n }", "fileInfo(){\n\t\tsymbol = new node[MAXLINECOUNT + 2];\n\t\tother = null; // allocated later!\n\t}", "public Builder addFileInfo(entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureFileInfoIsMutable();\n fileInfo_.add(value);\n onChanged();\n } else {\n fileInfoBuilder_.addMessage(value);\n }\n return this;\n }", "public synchronized FileInfo getOrAddFileInfo(FileInfo alphaFileInfo) {\n String app = alphaFileInfo.getApp();\n String caption = alphaFileInfo.getCaption();\n AppAndCaptionKey key = new AppAndCaptionKey(app, caption);\n String fileId = appAndCaptionToId.get(key);\n if(fileId==null){\n fileId = getNextFileId();\n appAndCaptionToId.put(key, fileId);\n }\n\n //2. Creating file info\n FileInfo sigmaFileInfo = fileCache.getFileInfo(app,fileId);\n if(sigmaFileInfo==null){\n sigmaFileInfo = (FileInfo) alphaFileInfo.clone();\n }\n sigmaFileInfo.setId(fileId);\n return sigmaFileInfo;\n }", "entities.Torrent.FileInfo getFiles(int index);", "com.google.devtools.kythe.proto.Analysis.FileInfoOrBuilder getEntryOrBuilder(\n int index);", "public final FileInfoBase getFileInfo() {\r\n return fileInfo;\r\n }", "public void setFileId(Long fileId) {\n/* 31:31 */ this.fileId = fileId;\n/* 32: */ }", "public entities.Torrent.FileInfo.Builder addFileInfoBuilder() {\n return getFileInfoFieldBuilder().addBuilder(\n entities.Torrent.FileInfo.getDefaultInstance());\n }", "@Override\r\n\tpublic int addAnimalFileInfo(FileInfo fileInfo) {\n\t\treturn fileInfoMapper.addAnimalFileInfo(fileInfo);\r\n\t}", "public abstract long NewFileNumber();", "public Builder addFileInfo(\n int index, entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureFileInfoIsMutable();\n fileInfo_.add(index, value);\n onChanged();\n } else {\n fileInfoBuilder_.addMessage(index, value);\n }\n return this;\n }", "public FileInfo(File file) {\n this.file = file;\n }", "int attrib(int i, File v) {\n if (i < max) {\n AllFiles[i] = v;\n } else {\n File[] temp = new File[max];\n int j;\n for (j = 0; j < max; j++) temp[j] = AllFiles[j];\n AllFiles = new File[max + increase];\n for (j = 0; j < max; j++) AllFiles[j] = temp[j];\n max = max + increase;\n AllFiles[i] = v;\n }\n return (0);\n }", "public boolean hasFileInfo() {\n return fieldSetFlags()[15];\n }", "public Builder setFileInfo(\n int index, entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureFileInfoIsMutable();\n fileInfo_.set(index, value);\n onChanged();\n } else {\n fileInfoBuilder_.setMessage(index, value);\n }\n return this;\n }", "public com.opentext.bn.converters.avro.entity.PayloadRef getFileInfo() {\n return fileInfo;\n }", "entities.Torrent.FileInfoOrBuilder getFilesOrBuilder(\n int index);", "public com.opentext.bn.converters.avro.entity.PayloadRef getFileInfo() {\n return fileInfo;\n }", "com.google.devtools.kythe.proto.Analysis.FileInfo getEntry(int index);", "public TagFileInfo[] getTagFiles() {\n/* 176 */ return this.tagFiles;\n/* */ }", "public Builder setFileInfo(entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n fileInfo_ = value;\n onChanged();\n } else {\n fileInfoBuilder_.setMessage(value);\n }\n\n return this;\n }", "public Builder setFileInfo(entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n fileInfo_ = value;\n onChanged();\n } else {\n fileInfoBuilder_.setMessage(value);\n }\n\n return this;\n }", "private FileInfo(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "public Builder addAllFileInfo(\n java.lang.Iterable<? extends entities.Torrent.FileInfo> values) {\n if (fileInfoBuilder_ == null) {\n ensureFileInfoIsMutable();\n com.google.protobuf.AbstractMessageLite.Builder.addAll(\n values, fileInfo_);\n onChanged();\n } else {\n fileInfoBuilder_.addAllMessages(values);\n }\n return this;\n }", "public int getFileInfoCount() {\n if (fileInfoBuilder_ == null) {\n return fileInfo_.size();\n } else {\n return fileInfoBuilder_.getCount();\n }\n }", "public void constructWith(LzzFileInfo pro) {\n\t\tthis.id = pro.getId ();\n\n\t\tthis.fname = pro.getFname ();\n\n\t\tthis.ftype = pro.getFtype ();\n\n\t\tthis.fsavepath = pro.getFsavepath ();\n\n\t\tthis.furlpath = pro.getFurlpath ();\n\n\t\tthis.createTime = pro.getCreateTime ();\n\n\t\tthis.modifyTime = pro.getModifyTime ();\n\n\t\tthis.def1 = pro.getDef1 ();\n\n\t\tthis.def2 = pro.getDef2 ();\n\n\t\tthis.def3 = pro.getDef3 ();\n\n\t\tthis.def4 = pro.getDef4 ();\n\n\t\tthis.def5 = pro.getDef5 ();\n\n\t\tthis.def6 = pro.getDef6 ();\n\n\t\tthis.def7 = pro.getDef7 ();\n\n\t\tthis.def8 = pro.getDef8 ();\n\n\t\tthis.def9 = pro.getDef9 ();\n\n\t\tthis.def10 = pro.getDef10 ();\n\n\t\tthis.dr = pro.getDr ();\n\n\t}", "public FileInfo(NXTComm nxt, String fileName){\r\n\t\tthis.comm = nxt;\r\n\t\tthis.fileName = fileName;\r\n\t}", "public FileInfo()\r\n {\r\n hash = new HashInfo();\r\n }", "@Override\n public List<FileInfo> getLibrarySubFiles(FileInfo fileInfo) {\n return null;\n }", "public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder() {\n if (fileInfoBuilder_ != null) {\n return fileInfoBuilder_.getMessageOrBuilder();\n } else {\n return fileInfo_ == null ?\n entities.Torrent.FileInfo.getDefaultInstance() : fileInfo_;\n }\n }", "public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder() {\n if (fileInfoBuilder_ != null) {\n return fileInfoBuilder_.getMessageOrBuilder();\n } else {\n return fileInfo_ == null ?\n entities.Torrent.FileInfo.getDefaultInstance() : fileInfo_;\n }\n }", "public DotFileEnumerator(File file)\n {\n fileList.add(file.toString());\n }", "public Builder mergeFileInfo(entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (fileInfo_ != null) {\n fileInfo_ =\n entities.Torrent.FileInfo.newBuilder(fileInfo_).mergeFrom(value).buildPartial();\n } else {\n fileInfo_ = value;\n }\n onChanged();\n } else {\n fileInfoBuilder_.mergeFrom(value);\n }\n\n return this;\n }", "public Builder mergeFileInfo(entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (fileInfo_ != null) {\n fileInfo_ =\n entities.Torrent.FileInfo.newBuilder(fileInfo_).mergeFrom(value).buildPartial();\n } else {\n fileInfo_ = value;\n }\n onChanged();\n } else {\n fileInfoBuilder_.mergeFrom(value);\n }\n\n return this;\n }", "int getFileCount();", "public com.google.devtools.kythe.proto.Analysis.FileInfoOrBuilder getEntryOrBuilder(\n int index) {\n return entry_.get(index);\n }", "public int getFileFlags() { return fileFlags; }", "public Builder clearFileInfo() {\n if (fileInfoBuilder_ == null) {\n fileInfo_ = java.util.Collections.emptyList();\n bitField0_ = (bitField0_ & ~0x00000001);\n onChanged();\n } else {\n fileInfoBuilder_.clear();\n }\n return this;\n }", "public com.opentext.bn.converters.avro.entity.PayloadRef.Builder getFileInfoBuilder() {\n if (fileInfoBuilder == null) {\n if (hasFileInfo()) {\n setFileInfoBuilder(com.opentext.bn.converters.avro.entity.PayloadRef.newBuilder(fileInfo));\n } else {\n setFileInfoBuilder(com.opentext.bn.converters.avro.entity.PayloadRef.newBuilder());\n }\n }\n return fileInfoBuilder;\n }", "public void process(TiffFileInfo info)\n {\n }", "public com.google.devtools.kythe.proto.Analysis.FileInfo.Builder addEntryBuilder() {\n return getEntryFieldBuilder().addBuilder(\n com.google.devtools.kythe.proto.Analysis.FileInfo.getDefaultInstance());\n }", "@java.lang.Override\n public entities.Torrent.FileInfo getFileInfo(int index) {\n return fileInfo_.get(index);\n }", "public Long getFileId() {\n/* 35:35 */ return this.fileId;\n/* 36: */ }", "private com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.FileInfo, entities.Torrent.FileInfo.Builder, entities.Torrent.FileInfoOrBuilder>\n getFileInfoFieldBuilder() {\n if (fileInfoBuilder_ == null) {\n fileInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.FileInfo, entities.Torrent.FileInfo.Builder, entities.Torrent.FileInfoOrBuilder>(\n getFileInfo(),\n getParentForChildren(),\n isClean());\n fileInfo_ = null;\n }\n return fileInfoBuilder_;\n }", "private com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.FileInfo, entities.Torrent.FileInfo.Builder, entities.Torrent.FileInfoOrBuilder>\n getFileInfoFieldBuilder() {\n if (fileInfoBuilder_ == null) {\n fileInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.FileInfo, entities.Torrent.FileInfo.Builder, entities.Torrent.FileInfoOrBuilder>(\n getFileInfo(),\n getParentForChildren(),\n isClean());\n fileInfo_ = null;\n }\n return fileInfoBuilder_;\n }", "private void updateFiles() {\n\t}", "public entities.Torrent.FileInfo.Builder addFileInfoBuilder(\n int index) {\n return getFileInfoFieldBuilder().addBuilder(\n index, entities.Torrent.FileInfo.getDefaultInstance());\n }", "public interface FileSelectInfo\n{\n /**\n * Returns the base folder of the traversal.\n * @return FileObject representing the base folder.\n */\n FileObject getBaseFolder();\n\n /**\n * Returns the file (or folder) to be considered.\n * @return The FileObject.\n */\n FileObject getFile();\n\n /**\n * Returns the depth of the file relative to the base folder.\n * @return The depth of the file relative to the base folder.\n */\n int getDepth();\n}", "public entities.Torrent.FileInfo.Builder getFileInfoBuilder(\n int index) {\n return getFileInfoFieldBuilder().getBuilder(index);\n }", "public entities.Torrent.FileInfo.Builder getFileInfoBuilder() {\n\n onChanged();\n return getFileInfoFieldBuilder().getBuilder();\n }", "public entities.Torrent.FileInfo.Builder getFileInfoBuilder() {\n\n onChanged();\n return getFileInfoFieldBuilder().getBuilder();\n }", "public entities.Torrent.FileInfoOrBuilder getFilesOrBuilder(\n int index) {\n if (filesBuilder_ == null) {\n return files_.get(index); } else {\n return filesBuilder_.getMessageOrBuilder(index);\n }\n }", "private void getExtractWithFiles(){\n\t\ttry{\n\t\t\t\n\t\t\tFileInputStream fStream = new FileInputStream(tfile);\n\t\t\tfileBytes = new byte[(int)tfile.length()];\n\t\t\t\n\t\t\tfStream.read(fileBytes, 0, fileBytes.length);\n\t\t\tfileSize = fileBytes.length;\n\t\t}catch(Exception ex){\n\t\t\tSystem.err.println(\"File Packet \"+ex.getMessage());\n\t\t}\n\t}", "private static void printFileInfo(File file) {\n window.putLog(String.format(\"[%6dkb] Modified %s @%s\", 1 + file.length() / 1024,\n new SimpleDateFormat(\"YYYY-MM-dd HH:mm\").format(new Date(file.lastModified())),\n file.getPath().substring(workingDirectory.getParent().length())));\n }", "public interface FileSystemEntry {\n public long getCount();\n public long getSize();\n public String getName();\n}", "public PSMatrixFilesMeta() {\r\n this(-1, new ConcurrentSkipListMap<Integer, MatrixPartitionMeta>());\r\n }", "protected final void setFileInformation( FileInfo fInfo) {\n\t\tm_info = fInfo;\n\t}", "public java.util.List<? extends entities.Torrent.FileInfoOrBuilder>\n getFileInfoOrBuilderList() {\n if (fileInfoBuilder_ != null) {\n return fileInfoBuilder_.getMessageOrBuilderList();\n } else {\n return java.util.Collections.unmodifiableList(fileInfo_);\n }\n }", "int getFileNamesCount();", "int getFileNamesCount();", "public void filesNotFound(File... f) { }", "public void filesNotFound(File... f) { }", "@Override\n public void onPick(FileInfo f) {\n }", "public void setFileRecordCount(int ct) {\n\t\tfileRecordCount = ct;\n\t}", "public com.opentext.bn.converters.avro.entity.DocumentEvent.Builder setFileInfo(com.opentext.bn.converters.avro.entity.PayloadRef value) {\n validate(fields()[15], value);\n this.fileInfoBuilder = null;\n this.fileInfo = value;\n fieldSetFlags()[15] = true;\n return this;\n }", "public DotFileEnumerator(String filePath)\n {\n String[] tempArr = new File(filePath).list();\n\n for (String s : tempArr) {\n fileList.add(filePath + \"/\" + s);\n }\n }", "@java.lang.Override\n public entities.Torrent.FileInfo getFileInfo() {\n return fileInfo_ == null ? entities.Torrent.FileInfo.getDefaultInstance() : fileInfo_;\n }", "@java.lang.Override\n public entities.Torrent.FileInfo getFileInfo() {\n return fileInfo_ == null ? entities.Torrent.FileInfo.getDefaultInstance() : fileInfo_;\n }", "public FileInfoICS(String name, String directory, int format) {\r\n super(name, directory, format);\r\n }", "public FileInfo(FileInfo v)\n \t{\n \t\ttitle = v.title;\n \t\tauthors = v.authors;\n \t\tseries = v.series;\n \t\tseriesNumber = v.seriesNumber;\n \t\tpath = v.path;\n \t\tfilename = v.filename;\n \t\tpathname = v.pathname;\n \t\tarcname = v.arcname;\n \t\tformat = v.format;\n \t\tsize = v.size;\n \t\tarcsize = v.arcsize;\n \t\tisArchive = v.isArchive;\n \t\tisDirectory = v.isDirectory;\n \t\tcreateTime = v.createTime;\n \t\tlastAccessTime = v.lastAccessTime;\n \t}", "public ImageFiles() {\n\t\tthis.listOne = new ArrayList<String>();\n\t\tthis.listTwo = new ArrayList<String>();\n\t\tthis.listThree = new ArrayList<String>();\n\t\tthis.seenImages = new ArrayList<String>();\n\t\tthis.unseenImages = new ArrayList<String>();\n\t}", "@java.lang.Override\n public java.util.List<? extends entities.Torrent.FileInfoOrBuilder>\n getFileInfoOrBuilderList() {\n return fileInfo_;\n }", "int countByExample(AvwFileprocessExample example);", "public Builder addEntry(com.google.devtools.kythe.proto.Analysis.FileInfo value) {\n if (entryBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureEntryIsMutable();\n entry_.add(value);\n onChanged();\n } else {\n entryBuilder_.addMessage(value);\n }\n return this;\n }", "ds.hdfs.generated.FileMetadata getFiles(int index);", "java.util.List<? extends entities.Torrent.FileInfoOrBuilder>\n getFileInfoOrBuilderList();", "public Long getFileID()\n/* */ {\n/* 88 */ return this.fileID;\n/* */ }", "public void incuploadcount(){\n\t\tthis. num_upload++;\n\t}", "public Vector<file> count()\n {\n Vector<Model.file> files = new Vector<>();\n try\n {\n pw.println(11);\n\n files = (Vector<Model.file>) ois.readObject();\n\n }\n catch (ClassNotFoundException | IOException e)\n {\n System.out.println(e.getMessage());\n }\n return files ;\n }" ]
[ "0.63404644", "0.60424006", "0.58997285", "0.5897735", "0.5897735", "0.5893349", "0.5840858", "0.5782364", "0.575059", "0.56671757", "0.5661143", "0.5629983", "0.55628306", "0.55628306", "0.54439086", "0.5438974", "0.5436454", "0.53865486", "0.53812563", "0.53554535", "0.53554535", "0.5350297", "0.53485256", "0.5337326", "0.5325269", "0.5323776", "0.5317618", "0.5316972", "0.5305772", "0.5301568", "0.5289526", "0.52858317", "0.527939", "0.527717", "0.5246745", "0.5238312", "0.52333695", "0.52198213", "0.520472", "0.5197636", "0.5181744", "0.5180735", "0.5179602", "0.5171487", "0.5170226", "0.5151229", "0.5126351", "0.51164293", "0.51105917", "0.51006323", "0.5064827", "0.5064827", "0.5030081", "0.50298166", "0.5029732", "0.50183815", "0.5008859", "0.5008625", "0.5002189", "0.5000041", "0.4996095", "0.49911362", "0.4988522", "0.49871376", "0.49688184", "0.4968441", "0.49640483", "0.49627694", "0.49464682", "0.49452326", "0.49435145", "0.4940706", "0.4939512", "0.4919068", "0.49134657", "0.4912824", "0.48992985", "0.48903668", "0.4889867", "0.48865864", "0.48865864", "0.48813212", "0.48813212", "0.48808643", "0.48788455", "0.48786306", "0.4874242", "0.48689762", "0.48689762", "0.48684502", "0.48670304", "0.48606005", "0.48516285", "0.48392272", "0.48242542", "0.48236215", "0.48225048", "0.4821103", "0.48174718", "0.4813819" ]
0.54918736
14
Use LocalSearchResponse.newBuilder() to construct.
private LocalSearchResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { super(builder); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "entities.Torrent.LocalSearchResponseOrBuilder getLocalSearchResponseOrBuilder();", "public Builder setLocalSearchResponse(entities.Torrent.LocalSearchResponse value) {\n if (localSearchResponseBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n localSearchResponse_ = value;\n onChanged();\n } else {\n localSearchResponseBuilder_.setMessage(value);\n }\n\n return this;\n }", "public entities.Torrent.LocalSearchResponseOrBuilder getLocalSearchResponseOrBuilder() {\n if (localSearchResponseBuilder_ != null) {\n return localSearchResponseBuilder_.getMessageOrBuilder();\n } else {\n return localSearchResponse_ == null ?\n entities.Torrent.LocalSearchResponse.getDefaultInstance() : localSearchResponse_;\n }\n }", "public Builder mergeLocalSearchResponse(entities.Torrent.LocalSearchResponse value) {\n if (localSearchResponseBuilder_ == null) {\n if (localSearchResponse_ != null) {\n localSearchResponse_ =\n entities.Torrent.LocalSearchResponse.newBuilder(localSearchResponse_).mergeFrom(value).buildPartial();\n } else {\n localSearchResponse_ = value;\n }\n onChanged();\n } else {\n localSearchResponseBuilder_.mergeFrom(value);\n }\n\n return this;\n }", "public entities.Torrent.LocalSearchResponse.Builder getLocalSearchResponseBuilder() {\n\n onChanged();\n return getLocalSearchResponseFieldBuilder().getBuilder();\n }", "@java.lang.Override\n public entities.Torrent.LocalSearchResponseOrBuilder getLocalSearchResponseOrBuilder() {\n return getLocalSearchResponse();\n }", "public entities.Torrent.LocalSearchResponse getLocalSearchResponse() {\n if (localSearchResponseBuilder_ == null) {\n return localSearchResponse_ == null ? entities.Torrent.LocalSearchResponse.getDefaultInstance() : localSearchResponse_;\n } else {\n return localSearchResponseBuilder_.getMessage();\n }\n }", "private LocalSearchRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "entities.Torrent.LocalSearchRequestOrBuilder getLocalSearchRequestOrBuilder();", "entities.Torrent.LocalSearchResponse getLocalSearchResponse();", "@java.lang.Override\n public entities.Torrent.LocalSearchResponse getLocalSearchResponse() {\n return localSearchResponse_ == null ? entities.Torrent.LocalSearchResponse.getDefaultInstance() : localSearchResponse_;\n }", "public Builder setLocalSearchResponse(\n entities.Torrent.LocalSearchResponse.Builder builderForValue) {\n if (localSearchResponseBuilder_ == null) {\n localSearchResponse_ = builderForValue.build();\n onChanged();\n } else {\n localSearchResponseBuilder_.setMessage(builderForValue.build());\n }\n\n return this;\n }", "public Builder setLocalSearchRequest(entities.Torrent.LocalSearchRequest value) {\n if (localSearchRequestBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n localSearchRequest_ = value;\n onChanged();\n } else {\n localSearchRequestBuilder_.setMessage(value);\n }\n\n return this;\n }", "private SearchResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "private com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.LocalSearchResponse, entities.Torrent.LocalSearchResponse.Builder, entities.Torrent.LocalSearchResponseOrBuilder>\n getLocalSearchResponseFieldBuilder() {\n if (localSearchResponseBuilder_ == null) {\n localSearchResponseBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.LocalSearchResponse, entities.Torrent.LocalSearchResponse.Builder, entities.Torrent.LocalSearchResponseOrBuilder>(\n getLocalSearchResponse(),\n getParentForChildren(),\n isClean());\n localSearchResponse_ = null;\n }\n return localSearchResponseBuilder_;\n }", "public Builder clearLocalSearchResponse() {\n if (localSearchResponseBuilder_ == null) {\n localSearchResponse_ = null;\n onChanged();\n } else {\n localSearchResponse_ = null;\n localSearchResponseBuilder_ = null;\n }\n\n return this;\n }", "public Builder mergeLocalSearchRequest(entities.Torrent.LocalSearchRequest value) {\n if (localSearchRequestBuilder_ == null) {\n if (localSearchRequest_ != null) {\n localSearchRequest_ =\n entities.Torrent.LocalSearchRequest.newBuilder(localSearchRequest_).mergeFrom(value).buildPartial();\n } else {\n localSearchRequest_ = value;\n }\n onChanged();\n } else {\n localSearchRequestBuilder_.mergeFrom(value);\n }\n\n return this;\n }", "entities.Torrent.SearchResponseOrBuilder getSearchResponseOrBuilder();", "public entities.Torrent.LocalSearchRequest.Builder getLocalSearchRequestBuilder() {\n\n onChanged();\n return getLocalSearchRequestFieldBuilder().getBuilder();\n }", "@java.lang.Override\n public entities.Torrent.LocalSearchRequestOrBuilder getLocalSearchRequestOrBuilder() {\n return getLocalSearchRequest();\n }", "private static SearchResponse createSearchResponse() {\n long tookInMillis = randomNonNegativeLong();\n int totalShards = randomIntBetween(1, Integer.MAX_VALUE);\n int successfulShards = randomIntBetween(0, totalShards);\n int skippedShards = randomIntBetween(0, totalShards);\n InternalSearchResponse internalSearchResponse = InternalSearchResponse.empty();\n\n return new SearchResponse(\n internalSearchResponse,\n null,\n totalShards,\n successfulShards,\n skippedShards,\n tookInMillis,\n ShardSearchFailure.EMPTY_ARRAY,\n SearchResponse.Clusters.EMPTY\n );\n }", "entities.Torrent.LocalSearchRequest getLocalSearchRequest();", "public SearchResponse<T, P> build(Pageable searchRequest, QueryResponse queryResponse) {\n // Create response\n SearchResponse<T, P> searchResponse = new SearchResponse<T, P>(searchRequest);\n searchResponse.setCount(queryResponse.getResults().getNumFound());\n searchResponse.setLimit(queryResponse.getResults().size());\n // The results and facets are copied into the response\n final List<ST> resultsST = queryResponse.getBeans(annotatedClass);\n // convert types\n final List<T> results = Lists.newArrayList();\n for (ST x : resultsST) {\n results.add(x);\n }\n searchResponse.setResults(results);\n searchResponse.setFacets(getFacetsFromResponse(queryResponse));\n setHighlightedFields(searchResponse, queryResponse);\n if(queryResponse.getSpellCheckResponse() != null){\n searchResponse.setSpellCheckResponse(SpellCheckResponseBuilder.build(queryResponse.getSpellCheckResponse()));\n }\n return searchResponse;\n }", "public entities.Torrent.LocalSearchRequestOrBuilder getLocalSearchRequestOrBuilder() {\n if (localSearchRequestBuilder_ != null) {\n return localSearchRequestBuilder_.getMessageOrBuilder();\n } else {\n return localSearchRequest_ == null ?\n entities.Torrent.LocalSearchRequest.getDefaultInstance() : localSearchRequest_;\n }\n }", "public entities.Torrent.LocalSearchRequest getLocalSearchRequest() {\n if (localSearchRequestBuilder_ == null) {\n return localSearchRequest_ == null ? entities.Torrent.LocalSearchRequest.getDefaultInstance() : localSearchRequest_;\n } else {\n return localSearchRequestBuilder_.getMessage();\n }\n }", "@HystrixCommand(fallbackMethod = \"getResponseFromLocalFallBack\",commandKey = \"Local-Search-Service\", groupKey = \"Local-Response\")\n @RequestMapping(value = \"/res/{query}\", method = GET)\n public ProviderResponse getResponseFromLocal(@PathVariable String query) throws LocalSearchException {\n return defaultLocalSearch.getResponse(query);\n }", "public Builder setLocalSearchRequest(\n entities.Torrent.LocalSearchRequest.Builder builderForValue) {\n if (localSearchRequestBuilder_ == null) {\n localSearchRequest_ = builderForValue.build();\n onChanged();\n } else {\n localSearchRequestBuilder_.setMessage(builderForValue.build());\n }\n\n return this;\n }", "@java.lang.Override\n public entities.Torrent.LocalSearchRequest getLocalSearchRequest() {\n return localSearchRequest_ == null ? entities.Torrent.LocalSearchRequest.getDefaultInstance() : localSearchRequest_;\n }", "private SearchRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "private com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.LocalSearchRequest, entities.Torrent.LocalSearchRequest.Builder, entities.Torrent.LocalSearchRequestOrBuilder>\n getLocalSearchRequestFieldBuilder() {\n if (localSearchRequestBuilder_ == null) {\n localSearchRequestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.LocalSearchRequest, entities.Torrent.LocalSearchRequest.Builder, entities.Torrent.LocalSearchRequestOrBuilder>(\n getLocalSearchRequest(),\n getParentForChildren(),\n isClean());\n localSearchRequest_ = null;\n }\n return localSearchRequestBuilder_;\n }", "boolean hasLocalSearchResponse();", "public Builder mergeSearchResponse(entities.Torrent.SearchResponse value) {\n if (searchResponseBuilder_ == null) {\n if (searchResponse_ != null) {\n searchResponse_ =\n entities.Torrent.SearchResponse.newBuilder(searchResponse_).mergeFrom(value).buildPartial();\n } else {\n searchResponse_ = value;\n }\n onChanged();\n } else {\n searchResponseBuilder_.mergeFrom(value);\n }\n\n return this;\n }", "public Builder setSearchResponse(entities.Torrent.SearchResponse value) {\n if (searchResponseBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n searchResponse_ = value;\n onChanged();\n } else {\n searchResponseBuilder_.setMessage(value);\n }\n\n return this;\n }", "public entities.Torrent.SearchResponse.Builder getSearchResponseBuilder() {\n\n onChanged();\n return getSearchResponseFieldBuilder().getBuilder();\n }", "public SearchResponse(String from, String to, UUID uuid, Set<Entry> results) {\r\n super(from, to, new JSONObject()\r\n .put(\"type\", MessageType.SEARCH_RESPONSE.name())\r\n .put(\"status\", \"ok\")\r\n .put(\"id\", uuid.toString())\r\n .put(\"results\", new JSONArray()));\r\n for(Entry result : results)\r\n getPayload().getJSONArray(\"results\").put(result.serialize());\r\n }", "entities.Torrent.SearchResponse getSearchResponse();", "public SearchResponse search(SearchRequest request) throws SearchServiceException;", "public Builder clearLocalSearchRequest() {\n if (localSearchRequestBuilder_ == null) {\n localSearchRequest_ = null;\n onChanged();\n } else {\n localSearchRequest_ = null;\n localSearchRequestBuilder_ = null;\n }\n\n return this;\n }", "public boolean hasLocalSearchResponse() {\n return localSearchResponseBuilder_ != null || localSearchResponse_ != null;\n }", "@java.lang.Override\n public com.clarifai.grpc.api.SearchOrBuilder getSearchOrBuilder() {\n if (inputSourceCase_ == 10) {\n return (com.clarifai.grpc.api.Search) inputSource_;\n }\n return com.clarifai.grpc.api.Search.getDefaultInstance();\n }", "@java.lang.Override\n public entities.Torrent.SearchResponseOrBuilder getSearchResponseOrBuilder() {\n return getSearchResponse();\n }", "public static <T, ST extends T, P extends Enum<?> & SearchParameter> SearchResponseBuilder<T, ST, P> create(\n Class<T> responseClass, Class<ST> annotatedClass, BiMap<String, P> facetFieldsPropertiesMap,\n BiMap<String, String> fieldPropertyPropertiesMap) {\n\n return new SearchResponseBuilder<T, ST, P>(responseClass, annotatedClass, facetFieldsPropertiesMap,\n fieldPropertyPropertiesMap);\n }", "entities.Torrent.SearchRequestOrBuilder getSearchRequestOrBuilder();", "TSearchResults createSearchResults(TSearchQuery searchQuery);", "public SearchResult withStatus(SearchStatus status) {\n setStatus(status);\n return this;\n }", "public entities.Torrent.SearchResponseOrBuilder getSearchResponseOrBuilder() {\n if (searchResponseBuilder_ != null) {\n return searchResponseBuilder_.getMessageOrBuilder();\n } else {\n return searchResponse_ == null ?\n entities.Torrent.SearchResponse.getDefaultInstance() : searchResponse_;\n }\n }", "public Builder setSearch(com.clarifai.grpc.api.Search value) {\n if (searchBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n inputSource_ = value;\n onChanged();\n } else {\n searchBuilder_.setMessage(value);\n }\n inputSourceCase_ = 10;\n return this;\n }", "@java.lang.Override\n public com.clarifai.grpc.api.SearchOrBuilder getSearchOrBuilder() {\n if ((inputSourceCase_ == 10) && (searchBuilder_ != null)) {\n return searchBuilder_.getMessageOrBuilder();\n } else {\n if (inputSourceCase_ == 10) {\n return (com.clarifai.grpc.api.Search) inputSource_;\n }\n return com.clarifai.grpc.api.Search.getDefaultInstance();\n }\n }", "private BlockLocationResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "private SyncResultsResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "public abstract void returnLocalStats(ResponseBuilder rb,\n SolrIndexSearcher searcher);", "SearchResponse search(SearchRequest searchRequest) throws IOException;", "public entities.Torrent.SearchResponse getSearchResponse() {\n if (searchResponseBuilder_ == null) {\n return searchResponse_ == null ? entities.Torrent.SearchResponse.getDefaultInstance() : searchResponse_;\n } else {\n return searchResponseBuilder_.getMessage();\n }\n }", "private LookupResult(Builder builder) {\n super(builder);\n }", "public static <T, ST extends T, P extends SearchParameter> SearchResponse<T, P> buildSuggestReponse(\n Pageable searchRequest, QueryResponse queryResponse, Class<ST> annotatedClass) {\n // Create response\n SearchResponse<T, P> searchResponse = new SearchResponse<T, P>(searchRequest);\n searchResponse.setCount(queryResponse.getResults().getNumFound());\n searchResponse.setLimit(queryResponse.getResults().size());\n // The results and facets are copied into the response\n final List<ST> resultsST = queryResponse.getBeans(annotatedClass);\n // convert types\n final List<T> results = Lists.newArrayList();\n for (ST x : resultsST) {\n results.add(x);\n }\n searchResponse.setResults(results);\n return searchResponse;\n }", "TSearchQuery createSearchQuery(SearchQueryDefinitionAPI searchQueryDefinition);", "@java.lang.Override\n public com.clarifai.grpc.api.Search getSearch() {\n if (searchBuilder_ == null) {\n if (inputSourceCase_ == 10) {\n return (com.clarifai.grpc.api.Search) inputSource_;\n }\n return com.clarifai.grpc.api.Search.getDefaultInstance();\n } else {\n if (inputSourceCase_ == 10) {\n return searchBuilder_.getMessage();\n }\n return com.clarifai.grpc.api.Search.getDefaultInstance();\n }\n }", "@java.lang.Override\n public boolean hasLocalSearchResponse() {\n return localSearchResponse_ != null;\n }", "private QueryLocalUserList(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "@java.lang.Override\n public com.clarifai.grpc.api.Search getSearch() {\n if (inputSourceCase_ == 10) {\n return (com.clarifai.grpc.api.Search) inputSource_;\n }\n return com.clarifai.grpc.api.Search.getDefaultInstance();\n }", "public com.clarifai.grpc.api.Search.Builder getSearchBuilder() {\n return getSearchFieldBuilder().getBuilder();\n }", "@Override\n public LocalSearchManager getLocalSearchManager() {\n return _ls;\n }", "boolean hasLocalSearchRequest();", "private QueryLocalUser(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "public Builder mergeSearch(com.clarifai.grpc.api.Search value) {\n if (searchBuilder_ == null) {\n if (inputSourceCase_ == 10 &&\n inputSource_ != com.clarifai.grpc.api.Search.getDefaultInstance()) {\n inputSource_ = com.clarifai.grpc.api.Search.newBuilder((com.clarifai.grpc.api.Search) inputSource_)\n .mergeFrom(value).buildPartial();\n } else {\n inputSource_ = value;\n }\n onChanged();\n } else {\n if (inputSourceCase_ == 10) {\n searchBuilder_.mergeFrom(value);\n } else {\n searchBuilder_.setMessage(value);\n }\n }\n inputSourceCase_ = 10;\n return this;\n }", "@GET(\"w/api.php?action=opensearch&format=json&suggest&redirects=resolve\")\n Call<JsonElement> getSuggestionsFromSearch(@Query(\"search\") String search);", "private HelloResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "public Builder setSearchRequest(entities.Torrent.SearchRequest value) {\n if (searchRequestBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n searchRequest_ = value;\n onChanged();\n } else {\n searchRequestBuilder_.setMessage(value);\n }\n\n return this;\n }", "private LesenRPCResponse(com.google.protobuf.GeneratedMessage.Builder<?> builder) {\n super(builder);\n this.unknownFields = builder.getUnknownFields();\n }", "public Builder mergeSearchRequest(entities.Torrent.SearchRequest value) {\n if (searchRequestBuilder_ == null) {\n if (searchRequest_ != null) {\n searchRequest_ =\n entities.Torrent.SearchRequest.newBuilder(searchRequest_).mergeFrom(value).buildPartial();\n } else {\n searchRequest_ = value;\n }\n onChanged();\n } else {\n searchRequestBuilder_.mergeFrom(value);\n }\n\n return this;\n }", "public SearchResponseBuilder<T, ST, P> getCopy() {\n SearchResponseBuilder<T, ST, P> searchResponseBuilder =\n new SearchResponseBuilder<T, ST, P>(responseClass, annotatedClass, solrField2ParamEnumMap,\n solrField2javaPropertiesMap);\n searchResponseBuilder.hlFieldPropertyPropertiesMap = hlFieldPropertyPropertiesMap;\n return searchResponseBuilder;\n }", "public SearchResponse(JSONObject json) throws JSONException {\r\n super(json);\r\n }", "private FetchResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "entities.Torrent.SearchRequest getSearchRequest();", "private void loadSearchResults(SearchRequest request) {\n showProgress(null, \"Loading search results...\");\n\n String authToken = ShPrefManager.with(getActivity()).getToken();\n RestClient.getAPI().search(authToken, request, new RestCallback<SearchResponse>() {\n @Override\n public void failure(RestError restError) {\n hideProgress();\n OpenHomeUtils.showToast(getActivity().getApplicationContext(), restError.getErrorMessage(), Toast.LENGTH_LONG);\n }\n\n @Override\n public void success(SearchResponse searchResponse, Response response) {\n hideProgress();\n if (searchResponse.getMessage().size() > 0) {\n propertyList = searchResponse.getMessage();\n String userId = ShPrefManager.with(getActivity()).getUserId();\n searchAdapter = new SearchAdapter(getActivity(), propertyList, userId, 'S');\n mRecyclerView.setAdapter(searchAdapter);\n currentAdapter = \"S\";\n //displayingNowTextView.setText(\"Searching \\\"\" + searchText + \"\\\"\");\n searchBack.setVisibility(View.VISIBLE);\n InputMethodManager imm = (InputMethodManager) getActivity().getSystemService(Context.INPUT_METHOD_SERVICE);\n imm.hideSoftInputFromWindow(getActivity().getWindow().getCurrentFocus().getWindowToken(), 0);\n locationLayout.setVisibility(View.VISIBLE);\n refineLayout.setVisibility(View.GONE);\n } else {\n String message = \"No results to display. Please modify the search criteria and try again.\";\n CustomDialogFragment regSuccessDialogFragment = CustomDialogFragment.newInstance(R.string.try_again,\n message, ApplicationConstants.BUTTON_OK, 0);\n regSuccessDialogFragment.show(getActivity().getFragmentManager(), \"SearchResultsFragment\");\n }\n }\n });\n }", "List<SearchResult> search(SearchQuery searchQuery);", "public QueryResponse(Query q) {\n this.q = q;\n this.docIDs = new HashSet<>();\n }", "private LesenRPCResult(com.google.protobuf.GeneratedMessage.Builder<?> builder) {\n super(builder);\n this.unknownFields = builder.getUnknownFields();\n }", "private ListFriendRequestRet(com.google.protobuf.GeneratedMessageLite.Builder builder) {\n super(builder);\n\n }", "public Builder setSearchResponse(\n entities.Torrent.SearchResponse.Builder builderForValue) {\n if (searchResponseBuilder_ == null) {\n searchResponse_ = builderForValue.build();\n onChanged();\n } else {\n searchResponseBuilder_.setMessage(builderForValue.build());\n }\n\n return this;\n }", "SearchResult<TimelineMeta> search(SearchQuery searchQuery);", "public SearchResultModel(Parcel in) {\n\t\tthis.title = in.readString();\n\t\tthis.airDay = in.readString();\n\t\tthis.airTime = in.readString();\n\t\tthis.bannerUrl = in.readString();\n\t\tthis.certification = in.readString();\n\t\tthis.country = in.readString();\n\t\tthis.network = in.readString();\n\t\tthis.oveview = in.readString();\n\t\tthis.posterUrl = in.readString();\n\t\tthis.traktUrl = in.readString();\n\t\tthis.ratting_percentage = in.readString();\n\t\tthis.loved = in.readString();\n\t\tthis.hated = in.readString();\n\t\tthis.genres = in.readString();\n\t\tthis.firstAired = in.readInt();\n\t\tthis.runtime = in.readInt();\n\t\tthis.tvRageId = in.readInt();\n\t\tthis.tvdbId = in.readInt();\n\t\tthis.year = in.readInt();\n\t\tthis.ended = in.readByte() != 0;\n\t}", "@java.lang.Override\n public entities.Torrent.SearchResponse getSearchResponse() {\n return searchResponse_ == null ? entities.Torrent.SearchResponse.getDefaultInstance() : searchResponse_;\n }", "private StreamingRecognizeResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "private LivestockResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "public QueryResponseInner() {\n }", "public static QueryResult fromDiscoveryResult(QueryResponse response) {\n return new QueryResult.Builder()\n .content(response.getResults().get(0).get(\"text\").toString())\n .filename(response.getResults().get(0).getTitle())\n .build();\n }", "private SearchResponseBuilder(Class<T> responseClass, Class<ST> annotatedClass,\n BiMap<String, P> solrField2ParamEnumMap,\n BiMap<String, String> solrField2javaPropertiesMap) {\n this.responseClass = responseClass;\n this.annotatedClass = annotatedClass;\n this.solrField2ParamEnumMap = solrField2ParamEnumMap;\n this.solrField2javaPropertiesMap = solrField2javaPropertiesMap;\n keyField = getKeyField(annotatedClass);\n }", "public SearchResponse getStatus();", "public SearchResult(String location) {\n\t\t\tthis.location = location;\n\t\t\tthis.count = 0;\n\t\t\tthis.score = 0;\n\t\t}", "public SearchResponse(String from, String to, UUID uuid, String error) {\r\n super(from, to, new JSONObject()\r\n .put(\"type\", MessageType.SEARCH_RESPONSE.name())\r\n .put(\"status\", \"error\")\r\n .put(\"id\", uuid.toString())\r\n .put(\"message\", error));\r\n }", "private GetParkingByKeyWordResponse(com.google.protobuf.GeneratedMessage.Builder<?> builder) {\n super(builder);\n this.unknownFields = builder.getUnknownFields();\n }", "private GetParkingByPointResponse(com.google.protobuf.GeneratedMessage.Builder<?> builder) {\n super(builder);\n this.unknownFields = builder.getUnknownFields();\n }", "private com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.SearchResponse, entities.Torrent.SearchResponse.Builder, entities.Torrent.SearchResponseOrBuilder>\n getSearchResponseFieldBuilder() {\n if (searchResponseBuilder_ == null) {\n searchResponseBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.SearchResponse, entities.Torrent.SearchResponse.Builder, entities.Torrent.SearchResponseOrBuilder>(\n getSearchResponse(),\n getParentForChildren(),\n isClean());\n searchResponse_ = null;\n }\n return searchResponseBuilder_;\n }", "@Override\n public MyResponse createFromParcel(Parcel source) {\n return new MyResponse(source);\n }", "public MagicSearch createMagicSearch();", "TSearchQuery prepareSearchQuery(SearchQueryDefinitionAPI searchQueryDefinition);", "private ListResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "private ListResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "public interface SearchVerses {\n @GET(\"/api/?type=json\")\n void searchForVerse(@Query(\"passage\") String passage, Callback<List<Verse>> callback);\n \n @GET(\"/api/?type=json\")\n List<Verse> listVerses(@Query(\"passage\") String passage);\n\n// public static class SearchResponse {\n// VerseContent response;\n//\n// public List<Verse> getVerses() {\n// return response.verses;\n// }\n// }\n\n public static class Verse {\n public String bookname;\n public String chapter;\n public String verse;\n public String text;\n public String title;\n }\n\n class VerseContent {\n List<Verse> verses;\n }\n}" ]
[ "0.81389433", "0.78936005", "0.7625255", "0.75595915", "0.7550313", "0.7422902", "0.73843443", "0.7256209", "0.7041862", "0.70107543", "0.69557744", "0.67989016", "0.6707632", "0.6596895", "0.65663105", "0.6564846", "0.64933586", "0.64032805", "0.6374685", "0.6363244", "0.63619584", "0.63246936", "0.619969", "0.6198452", "0.6182018", "0.60838664", "0.60180306", "0.59035856", "0.5891379", "0.58541024", "0.58529395", "0.58395475", "0.5826184", "0.57757646", "0.5740688", "0.5656979", "0.55983174", "0.5546665", "0.5546438", "0.55431247", "0.5536251", "0.55348897", "0.54611963", "0.5445772", "0.542884", "0.541231", "0.54087716", "0.54030704", "0.53927463", "0.5388734", "0.5381097", "0.5347323", "0.5324178", "0.531454", "0.5307979", "0.5301288", "0.52976245", "0.52919304", "0.5289036", "0.52880955", "0.5283467", "0.5236599", "0.5181558", "0.51767504", "0.5167622", "0.51670885", "0.51538324", "0.513275", "0.5117927", "0.5092759", "0.508441", "0.50832754", "0.5074656", "0.5073173", "0.50681293", "0.5062216", "0.50584656", "0.50542665", "0.50534165", "0.5043798", "0.50433534", "0.5041101", "0.5031418", "0.5007087", "0.50017637", "0.49789628", "0.4972639", "0.49657086", "0.49584574", "0.4957186", "0.49550673", "0.4951783", "0.494908", "0.49253953", "0.49237815", "0.49215987", "0.49180004", "0.49115905", "0.49115905", "0.49112922" ]
0.8067113
1
.Status status = 1;
@java.lang.Override public int getStatusValue() { return status_; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setStatus(String status) { this.status = status; }", "void setStatus(STATUS status);", "public void setStatus(EnumVar status) {\n this.status = status;\n }", "public void setStatus(Status status) {\r\n\t this.status = status;\r\n\t }", "public void setStatus(Integer status) {\r\n this.status = status;\r\n }", "public void setStatus(Integer status) {\r\n this.status = status;\r\n }", "void setStatus(int status);", "public void setStatus(Byte status) {\r\n this.status = status;\r\n }", "public void setStatus(Byte status) {\r\n this.status = status;\r\n }", "public void setStatus(Byte status) {\r\n this.status = status;\r\n }", "public void setStatus(Byte status) {\r\n this.status = status;\r\n }", "public void setStatus(Byte status) {\r\n this.status = status;\r\n }", "public void setStatus(Byte status) {\r\n this.status = status;\r\n }", "public void setStatus(Byte status) {\r\n this.status = status;\r\n }", "public void setStatus(int status){\r\n\t\tthis.status=status;\r\n\t}", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(int status);", "public void setStatus(int status);", "public void setStatus(Boolean s){ status = s;}", "public void setStatus(int status) {\n STATUS = status;\n }", "public void setStatus(Status newStatus){\n status = newStatus;\n }", "public void setStatus(String stat)\n {\n status = stat;\n }", "private void setStatus(com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n status_ = value;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(long status) {\r\n this.status = status;\r\n }", "public void setStatus(Integer status) {\n\t\tthis.status = status;\n\t}", "public void setStatus(Integer status) {\n\t\tthis.status = status;\n\t}", "public void setStatus(String status) {\r\n this.status = status;\r\n }", "public void setStatus(java.lang.Object status) {\n this.status = status;\n }", "public void setStatus(Status status)\n {\n this.status = status;\n }", "public void setgetStatus()\r\n\t{\r\n\t\tthis.status = 'S';\r\n\t}", "public void setStatus(Byte status) {\r\n\t\tthis.status = status;\r\n\t}", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "@Override\n\t\tpublic void setStatus(int status) {\n\t\t\t\n\t\t}", "public void setStatus(StatusEnum status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n\t\tthis.status = status;\n\t}", "public void setStatus(Byte status) {\n\t\tthis.status = status;\n\t}", "public void setStatus(int status) {\n this.status = status;\n }", "public void setStatus(int status) {\n this.status = status;\n }", "public void setStatus(Status status) {\r\n this.status = status;\r\n }", "public void setStatus(String status) {\r\n this.status = status;\r\n }", "public void setStatus(String status) {\r\n this.status = status;\r\n }", "public void setStatus(Short status) {\n this.status = status;\n }", "public void setStatus(STATUS status) {\n this.status = status;\n }", "void setStatus(String status);", "public void setStatus(Short status) {\n\t\tthis.status = status;\n\t}", "public void setStatus(Short status) {\n\t\tthis.status = status;\n\t}", "public void setStatus(int v) \n {\n \n if (this.status != v)\n {\n this.status = v;\n setModified(true);\n }\n \n \n }", "public void setStatus( Short status ) {\n this.status = status;\n }", "public void setStatus(String newStatus){\n\n //assigns the value of newStatus to the status field\n this.status = newStatus;\n }", "public Status getStatus(){\n return status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(Status status) {\n this.status = status;\n }", "public void setStatus(Status status) {\n this.status = status;\n }", "public void setStatus(Status status) {\n this.status = status;\n }" ]
[ "0.7656765", "0.76468766", "0.7565312", "0.7561203", "0.75449044", "0.75449044", "0.75349724", "0.74959093", "0.74959093", "0.74959093", "0.74959093", "0.74959093", "0.74959093", "0.74959093", "0.7482147", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.74783385", "0.74783385", "0.746719", "0.74658287", "0.746098", "0.7456925", "0.7452718", "0.7435934", "0.7435934", "0.7435934", "0.7435934", "0.7435934", "0.7435934", "0.7435934", "0.7435934", "0.7435934", "0.7435934", "0.7435934", "0.7435934", "0.7435934", "0.7435248", "0.7432568", "0.7432568", "0.7425985", "0.74143654", "0.74118876", "0.7398544", "0.7398282", "0.73973185", "0.73973185", "0.7396562", "0.73950607", "0.7392215", "0.7392215", "0.7382456", "0.7382456", "0.7378742", "0.73726434", "0.73726434", "0.7368736", "0.73626804", "0.7351154", "0.7345713", "0.7345713", "0.73451585", "0.7332328", "0.7329264", "0.73258084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.728639", "0.728639", "0.728639" ]
0.0
-1
.Status status = 1;
@java.lang.Override public entities.Torrent.Status getStatus() { @SuppressWarnings("deprecation") entities.Torrent.Status result = entities.Torrent.Status.valueOf(status_); return result == null ? entities.Torrent.Status.UNRECOGNIZED : result; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setStatus(String status) { this.status = status; }", "void setStatus(STATUS status);", "public void setStatus(EnumVar status) {\n this.status = status;\n }", "public void setStatus(Status status) {\r\n\t this.status = status;\r\n\t }", "public void setStatus(Integer status) {\r\n this.status = status;\r\n }", "public void setStatus(Integer status) {\r\n this.status = status;\r\n }", "void setStatus(int status);", "public void setStatus(Byte status) {\r\n this.status = status;\r\n }", "public void setStatus(Byte status) {\r\n this.status = status;\r\n }", "public void setStatus(Byte status) {\r\n this.status = status;\r\n }", "public void setStatus(Byte status) {\r\n this.status = status;\r\n }", "public void setStatus(Byte status) {\r\n this.status = status;\r\n }", "public void setStatus(Byte status) {\r\n this.status = status;\r\n }", "public void setStatus(Byte status) {\r\n this.status = status;\r\n }", "public void setStatus(int status){\r\n\t\tthis.status=status;\r\n\t}", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(int status);", "public void setStatus(int status);", "public void setStatus(Boolean s){ status = s;}", "public void setStatus(int status) {\n STATUS = status;\n }", "public void setStatus(Status newStatus){\n status = newStatus;\n }", "public void setStatus(String stat)\n {\n status = stat;\n }", "private void setStatus(com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n status_ = value;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(long status) {\r\n this.status = status;\r\n }", "public void setStatus(Integer status) {\n\t\tthis.status = status;\n\t}", "public void setStatus(Integer status) {\n\t\tthis.status = status;\n\t}", "public void setStatus(String status) {\r\n this.status = status;\r\n }", "public void setStatus(java.lang.Object status) {\n this.status = status;\n }", "public void setStatus(Status status)\n {\n this.status = status;\n }", "public void setgetStatus()\r\n\t{\r\n\t\tthis.status = 'S';\r\n\t}", "public void setStatus(Byte status) {\r\n\t\tthis.status = status;\r\n\t}", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "@Override\n\t\tpublic void setStatus(int status) {\n\t\t\t\n\t\t}", "public void setStatus(StatusEnum status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n\t\tthis.status = status;\n\t}", "public void setStatus(Byte status) {\n\t\tthis.status = status;\n\t}", "public void setStatus(int status) {\n this.status = status;\n }", "public void setStatus(int status) {\n this.status = status;\n }", "public void setStatus(Status status) {\r\n this.status = status;\r\n }", "public void setStatus(String status) {\r\n this.status = status;\r\n }", "public void setStatus(String status) {\r\n this.status = status;\r\n }", "public void setStatus(Short status) {\n this.status = status;\n }", "public void setStatus(STATUS status) {\n this.status = status;\n }", "void setStatus(String status);", "public void setStatus(Short status) {\n\t\tthis.status = status;\n\t}", "public void setStatus(Short status) {\n\t\tthis.status = status;\n\t}", "public void setStatus(int v) \n {\n \n if (this.status != v)\n {\n this.status = v;\n setModified(true);\n }\n \n \n }", "public void setStatus( Short status ) {\n this.status = status;\n }", "public void setStatus(String newStatus){\n\n //assigns the value of newStatus to the status field\n this.status = newStatus;\n }", "public Status getStatus(){\n return status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(Status status) {\n this.status = status;\n }", "public void setStatus(Status status) {\n this.status = status;\n }", "public void setStatus(Status status) {\n this.status = status;\n }" ]
[ "0.7656765", "0.76468766", "0.7565312", "0.7561203", "0.75449044", "0.75449044", "0.75349724", "0.74959093", "0.74959093", "0.74959093", "0.74959093", "0.74959093", "0.74959093", "0.74959093", "0.7482147", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.74783385", "0.74783385", "0.746719", "0.74658287", "0.746098", "0.7456925", "0.7452718", "0.7435934", "0.7435934", "0.7435934", "0.7435934", "0.7435934", "0.7435934", "0.7435934", "0.7435934", "0.7435934", "0.7435934", "0.7435934", "0.7435934", "0.7435934", "0.7435248", "0.7432568", "0.7432568", "0.7425985", "0.74143654", "0.74118876", "0.7398544", "0.7398282", "0.73973185", "0.73973185", "0.7396562", "0.73950607", "0.7392215", "0.7392215", "0.7382456", "0.7382456", "0.7378742", "0.73726434", "0.73726434", "0.7368736", "0.73626804", "0.7351154", "0.7345713", "0.7345713", "0.73451585", "0.7332328", "0.7329264", "0.73258084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.728639", "0.728639", "0.728639" ]
0.0
-1
string errorMessage = 2;
@java.lang.Override public java.lang.String getErrorMessage() { java.lang.Object ref = errorMessage_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); errorMessage_ = s; return s; } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "String errorMessage();", "private void error(String string) {\n\t\r\n}", "String getErrorMessage();", "String getErrorMessage();", "String getError(int i) {\n if (i >= 0 & i < msgs.length)\n return msgs[i];\n else\n return \"Invalid Error Code\";\n }", "java.lang.String getError();", "java.lang.String getError();", "java.lang.String getError();", "java.lang.String getErrorMessage();", "java.lang.String getErrorMessage();", "java.lang.String getErrorMessage();", "java.lang.String getErrorMessage();", "java.lang.String getErrorMessage();", "java.lang.String getErrorMessage();", "java.lang.String getErrorMessage();", "java.lang.String getErrorMessage();", "java.lang.String getErrorMessage();", "java.lang.String getErrorMessage();", "java.lang.String getErrorMessage();", "java.lang.String getErrorMessage();", "void showErrorMsg(String string);", "String getGetErrorMessage();", "java.lang.String getErr();", "public String getErrorString()\r\n\t{\r\n\t\t\r\n\t\treturn ERROR_STRING;\r\n\t}", "public void error(String string) {\n\t\t\n\t}", "String getInvalidMessage();", "private static String getMessage(int code) {\n switch (code) {\n case ME_DIV_BY_ZERO:\n return \"Attempt to divide by zero.\";\n case ME_ASSIGNLITERAL:\n return \"Attempt to assign to a literal.\";\n case ME_NONVARASSIGN:\n return \"Attempt to assign to a non-variable.\";\n default:\n return \"Unknown error.\";\n }\n }", "String getErrorsString();", "public String error();", "public String getError() {\n\treturn mistake;\n }", "private String getErrorString() {\n\t\treturn \"GUID:ERROR:\" + mErrors[0][0]\n\t\t + \":\" + mErrors[1][0]\n\t\t + \":\" + mErrors[2][0]\n\t\t + \":\" + mErrors[3][0];\n\t}", "public String getErrorMessage() \r\n\t{\r\n\t\t\r\n\t\treturn errorMessage;\r\n\t\t\r\n\t}", "public java.lang.String getErrorMessage(){\n return localErrorMessage;\n }", "java.lang.String getErrmsg();", "public String getErrorString()\n\t{\n\t\treturn errorString;\n\t}", "public static String getLastErrorMessage()\r\n\t{\n\t\treturn lastAlert;\r\n\t}", "String getMessage();", "String getMessage();", "String getMessage();", "private int getErrorId(final String message) {\n\t\tif (isLowerCase(message)) {\n\t\t\treturn ERROR_LOWER_CASE;\n\t\t} else if (isUnunsedMacro(message)) {\n\t\t\treturn ERROR_UNUSED_MACRO;\n\t\t} else if (isUnunsedVariable(message)) {\n\t\t\treturn ERROR_UNUSED_VARIABLE;\n\t\t} else if (isEndLineSpace(message) || isNoSpace(message)) {\n\t\t\treturn ERROR_NO_SPACE;\n\t\t} else if (isOneSpace(message)) {\n\t\t\treturn ERROR_ONE_SPACE;\n\t\t} else {\n\t\t\treturn ERROR_INVALID;\n\t\t}\n\t}", "public String getErrorString(String message) {\n \t\treturn getString(new StringBuffer(\"error.\").append(message).toString());\n \t}", "String getErrorMessage(E input);", "public String errorMessage()\n {\n return new String(errorMessageAsBytes());\n }", "String Message ();", "public String errorMessage() {\n return errorMessage;\n }", "void SemErr(String str);", "public String getErrorMessage()\n {\n return errorMessage;\n }", "ErrorCodes(int code){\n this.code = code;\n //this.message = message;\n }", "int getErrorCode();", "public String getErrorCode();", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n if (bs.isValidUtf8()) {\n errorMessage_ = s;\n }\n return s;\n }\n }", "void showError(@StringRes int errorMessage);", "void showError(String errorMessage);", "private static int getErrorLine(String errmsg){\n\t\treturn Integer.parseInt(errmsg.substring(0,errmsg.indexOf(\":\")).substring(errmsg.substring(0,errmsg.indexOf(\":\")).lastIndexOf(\" \")+1));\n\t}", "public String errorMessage()\n {\n return edma_errorMsg;\n }", "public String getErrorMessage() {\r\n return this.errorMessage;\r\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public String errorMessage() {\n return this.errorMessage;\n }", "public String getErrorMessage() {\n\t\treturn errorMessage;\n\t}", "public int getError() {\n return error;\n }", "public String getErrorMessage() {\n return this.errorMessage;\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n java.lang.String s = ((com.google.protobuf.ByteString) ref)\n .toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "void setErrorMessage(String errorMessage);", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "static int errorMsg(int eCode)\n {\n if (eCode == 0) return 0;\n String message = \"\";\n switch (eCode){\n case 1: message = \"Division by zero\"; break;\n case 2: message = \"Non-matching parenthesis in function\"; break;\n case 3: message = \"Must enclose negative exponents in parentheses\"; break;\n case 4: message = \"Incorrect Operator Syntax\"; break;\n case 5: message = \"Rightfunctions must use parenthesis. (example: ABS(-2);\"; break;\n case 6: message = \"Unrecognized token in function srtring.\"; break;\n case 8: message = \"Can not raise negative number to a fractional power.\"; break;\n case 10:message = \"Input a real number with no operators\"; break;\n }\n JOptionPane.showMessageDialog(null, message, \"Error \"+eCode, JOptionPane.ERROR_MESSAGE);\n return 0;\n }", "public String getError() {\n return errMsg;\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n }\n }", "public String getMsgError() {\r\n\t\treturn msgError;\r\n\t}", "public String getErrorMessage() {\n return errorMessage;\n }", "public String getErrorMessage() {\n return errorMessage;\n }", "public String getErrorMessage() {\n return errorMessage;\n }", "String getFailureMessage();", "public int error() {\n return this.error;\n }", "public String getParseErrorMessage();", "public String getErrorMessage() {\n return ERROR_MESSAGE;\n }", "public String getError() {\r\n if (scriptError == null) return \"\";\r\n return scriptError;\r\n }", "private String getGUIErrorMsg(long errorcode) {\n\t\tif (errorcode == 0) {\n\t\t\treturn \"This popup shouldn't have launched!\";\n\t\t} else if (errorcode == 9) {\n\t\t\treturn \"Latitude input format incorrect!\\nValid Latitude values are -90 to 90 with negative values being south Latitude.\";\n\t\t} else if (errorcode == 10) {\n\t\t\treturn \"Longitude input format incorrect!\\nValid Longitude values are -180 to 180 with negative values being west latitude.\";\n\t\t} else if (errorcode == 11) {\n\t\t\treturn \"Date input format incorrect!\\nValid dates go <year>-<month>-<day>\\nValid month values are 1- 12 and valid day values are 1 - 31.\";\n\t\t} else if (errorcode == 12) {\n\t\t\treturn \"Time input format incorrect!\\nValid times go <hour>-<minute>-<second>\\nValid hour values are 0 - 23 and valid minute and second values are 0 - 59\";\n\t\t} else if (errorcode == 1) {\n\t\t\treturn \"Invalid latitude!\\nValid Latitude values are -90 to 90 with negative values being south Latitude.\";\n\t\t} else if (errorcode == 2) {\n\t\t\treturn \"Invalid Longitude!\\nValid Longitude values are -180 to 180 with negative values being west latitude.\";\n\t\t} else if (errorcode == 3) {\n\t\t\treturn \"Invalid Year!\\nValid year values are \" + Integer.MIN_VALUE + \" - \" + Integer.MAX_VALUE + \".\";\n\t\t} else if (errorcode == 4) {\n\t\t\treturn \"Invalid Month!\\nValid month values are 1 - 12\";\n\t\t} else if (errorcode == 5) {\n\t\t\treturn \"Invalid Day!\\nValid day values are 1 - 31\";\n\t\t} else if (errorcode == 6) {\n\t\t\treturn \"Invalid Hour!\\nValid hour values are 0 - 23\";\n\t\t} else if (errorcode == 7) {\n\t\t\treturn \"Invalid Minute!\\nValid minute values are 0 - 59\";\n\t\t} else if (errorcode == 8) {\n\t\t\treturn \"Invalid Second!\\nValid second values are 0 - 59\";\n\t\t} \n\t\treturn \"Undefined Error Message!\";\n\t}", "public void setErrorMsg(String text) {\n this.errorMsg = text;\n }", "public int getErrorNo() {\n return this.errorNo;\n }", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();" ]
[ "0.7234827", "0.68487597", "0.68242407", "0.68242407", "0.66320926", "0.6613902", "0.6613902", "0.6613902", "0.65931696", "0.65931696", "0.65931696", "0.65931696", "0.65931696", "0.65931696", "0.65931696", "0.65931696", "0.65931696", "0.65931696", "0.65931696", "0.65931696", "0.6587221", "0.6458624", "0.642881", "0.6387629", "0.6339448", "0.63337046", "0.6318866", "0.6310054", "0.6266495", "0.6207546", "0.6169787", "0.6162002", "0.61556125", "0.61209476", "0.6114965", "0.61042917", "0.60988075", "0.60988075", "0.60988075", "0.60916275", "0.60737956", "0.6044167", "0.60035205", "0.59917176", "0.59845275", "0.59643966", "0.5963419", "0.59538627", "0.5917793", "0.58881736", "0.58858836", "0.5880861", "0.58786815", "0.5865479", "0.5863698", "0.5842632", "0.583974", "0.583974", "0.583974", "0.583974", "0.583974", "0.583974", "0.583974", "0.58391654", "0.58391654", "0.58391654", "0.5837601", "0.5828023", "0.58268774", "0.58249444", "0.5820853", "0.5818837", "0.5808825", "0.5808012", "0.5803665", "0.57976645", "0.5796016", "0.57934284", "0.57934284", "0.57934284", "0.5786855", "0.57868457", "0.5785435", "0.578205", "0.576942", "0.57514906", "0.57502955", "0.5743453", "0.57404053", "0.57404053", "0.57404053", "0.57404053", "0.57404053", "0.57404053", "0.57404053", "0.57404053", "0.57404053", "0.57404053", "0.57404053", "0.57404053", "0.57404053" ]
0.0
-1
string errorMessage = 2;
@java.lang.Override public com.google.protobuf.ByteString getErrorMessageBytes() { java.lang.Object ref = errorMessage_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); errorMessage_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "String errorMessage();", "private void error(String string) {\n\t\r\n}", "String getErrorMessage();", "String getErrorMessage();", "String getError(int i) {\n if (i >= 0 & i < msgs.length)\n return msgs[i];\n else\n return \"Invalid Error Code\";\n }", "java.lang.String getError();", "java.lang.String getError();", "java.lang.String getError();", "java.lang.String getErrorMessage();", "java.lang.String getErrorMessage();", "java.lang.String getErrorMessage();", "java.lang.String getErrorMessage();", "java.lang.String getErrorMessage();", "java.lang.String getErrorMessage();", "java.lang.String getErrorMessage();", "java.lang.String getErrorMessage();", "java.lang.String getErrorMessage();", "java.lang.String getErrorMessage();", "java.lang.String getErrorMessage();", "java.lang.String getErrorMessage();", "void showErrorMsg(String string);", "String getGetErrorMessage();", "java.lang.String getErr();", "public String getErrorString()\r\n\t{\r\n\t\t\r\n\t\treturn ERROR_STRING;\r\n\t}", "public void error(String string) {\n\t\t\n\t}", "String getInvalidMessage();", "private static String getMessage(int code) {\n switch (code) {\n case ME_DIV_BY_ZERO:\n return \"Attempt to divide by zero.\";\n case ME_ASSIGNLITERAL:\n return \"Attempt to assign to a literal.\";\n case ME_NONVARASSIGN:\n return \"Attempt to assign to a non-variable.\";\n default:\n return \"Unknown error.\";\n }\n }", "String getErrorsString();", "public String error();", "public String getError() {\n\treturn mistake;\n }", "private String getErrorString() {\n\t\treturn \"GUID:ERROR:\" + mErrors[0][0]\n\t\t + \":\" + mErrors[1][0]\n\t\t + \":\" + mErrors[2][0]\n\t\t + \":\" + mErrors[3][0];\n\t}", "public String getErrorMessage() \r\n\t{\r\n\t\t\r\n\t\treturn errorMessage;\r\n\t\t\r\n\t}", "public java.lang.String getErrorMessage(){\n return localErrorMessage;\n }", "java.lang.String getErrmsg();", "public String getErrorString()\n\t{\n\t\treturn errorString;\n\t}", "public static String getLastErrorMessage()\r\n\t{\n\t\treturn lastAlert;\r\n\t}", "String getMessage();", "String getMessage();", "String getMessage();", "private int getErrorId(final String message) {\n\t\tif (isLowerCase(message)) {\n\t\t\treturn ERROR_LOWER_CASE;\n\t\t} else if (isUnunsedMacro(message)) {\n\t\t\treturn ERROR_UNUSED_MACRO;\n\t\t} else if (isUnunsedVariable(message)) {\n\t\t\treturn ERROR_UNUSED_VARIABLE;\n\t\t} else if (isEndLineSpace(message) || isNoSpace(message)) {\n\t\t\treturn ERROR_NO_SPACE;\n\t\t} else if (isOneSpace(message)) {\n\t\t\treturn ERROR_ONE_SPACE;\n\t\t} else {\n\t\t\treturn ERROR_INVALID;\n\t\t}\n\t}", "public String getErrorString(String message) {\n \t\treturn getString(new StringBuffer(\"error.\").append(message).toString());\n \t}", "String getErrorMessage(E input);", "public String errorMessage()\n {\n return new String(errorMessageAsBytes());\n }", "String Message ();", "public String errorMessage() {\n return errorMessage;\n }", "void SemErr(String str);", "public String getErrorMessage()\n {\n return errorMessage;\n }", "ErrorCodes(int code){\n this.code = code;\n //this.message = message;\n }", "int getErrorCode();", "public String getErrorCode();", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n if (bs.isValidUtf8()) {\n errorMessage_ = s;\n }\n return s;\n }\n }", "void showError(@StringRes int errorMessage);", "void showError(String errorMessage);", "private static int getErrorLine(String errmsg){\n\t\treturn Integer.parseInt(errmsg.substring(0,errmsg.indexOf(\":\")).substring(errmsg.substring(0,errmsg.indexOf(\":\")).lastIndexOf(\" \")+1));\n\t}", "public String errorMessage()\n {\n return edma_errorMsg;\n }", "public String getErrorMessage() {\r\n return this.errorMessage;\r\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public String errorMessage() {\n return this.errorMessage;\n }", "public String getErrorMessage() {\n\t\treturn errorMessage;\n\t}", "public int getError() {\n return error;\n }", "public String getErrorMessage() {\n return this.errorMessage;\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n java.lang.String s = ((com.google.protobuf.ByteString) ref)\n .toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "void setErrorMessage(String errorMessage);", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "static int errorMsg(int eCode)\n {\n if (eCode == 0) return 0;\n String message = \"\";\n switch (eCode){\n case 1: message = \"Division by zero\"; break;\n case 2: message = \"Non-matching parenthesis in function\"; break;\n case 3: message = \"Must enclose negative exponents in parentheses\"; break;\n case 4: message = \"Incorrect Operator Syntax\"; break;\n case 5: message = \"Rightfunctions must use parenthesis. (example: ABS(-2);\"; break;\n case 6: message = \"Unrecognized token in function srtring.\"; break;\n case 8: message = \"Can not raise negative number to a fractional power.\"; break;\n case 10:message = \"Input a real number with no operators\"; break;\n }\n JOptionPane.showMessageDialog(null, message, \"Error \"+eCode, JOptionPane.ERROR_MESSAGE);\n return 0;\n }", "public String getError() {\n return errMsg;\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n }\n }", "public String getMsgError() {\r\n\t\treturn msgError;\r\n\t}", "public String getErrorMessage() {\n return errorMessage;\n }", "public String getErrorMessage() {\n return errorMessage;\n }", "public String getErrorMessage() {\n return errorMessage;\n }", "String getFailureMessage();", "public int error() {\n return this.error;\n }", "public String getParseErrorMessage();", "public String getErrorMessage() {\n return ERROR_MESSAGE;\n }", "public String getError() {\r\n if (scriptError == null) return \"\";\r\n return scriptError;\r\n }", "private String getGUIErrorMsg(long errorcode) {\n\t\tif (errorcode == 0) {\n\t\t\treturn \"This popup shouldn't have launched!\";\n\t\t} else if (errorcode == 9) {\n\t\t\treturn \"Latitude input format incorrect!\\nValid Latitude values are -90 to 90 with negative values being south Latitude.\";\n\t\t} else if (errorcode == 10) {\n\t\t\treturn \"Longitude input format incorrect!\\nValid Longitude values are -180 to 180 with negative values being west latitude.\";\n\t\t} else if (errorcode == 11) {\n\t\t\treturn \"Date input format incorrect!\\nValid dates go <year>-<month>-<day>\\nValid month values are 1- 12 and valid day values are 1 - 31.\";\n\t\t} else if (errorcode == 12) {\n\t\t\treturn \"Time input format incorrect!\\nValid times go <hour>-<minute>-<second>\\nValid hour values are 0 - 23 and valid minute and second values are 0 - 59\";\n\t\t} else if (errorcode == 1) {\n\t\t\treturn \"Invalid latitude!\\nValid Latitude values are -90 to 90 with negative values being south Latitude.\";\n\t\t} else if (errorcode == 2) {\n\t\t\treturn \"Invalid Longitude!\\nValid Longitude values are -180 to 180 with negative values being west latitude.\";\n\t\t} else if (errorcode == 3) {\n\t\t\treturn \"Invalid Year!\\nValid year values are \" + Integer.MIN_VALUE + \" - \" + Integer.MAX_VALUE + \".\";\n\t\t} else if (errorcode == 4) {\n\t\t\treturn \"Invalid Month!\\nValid month values are 1 - 12\";\n\t\t} else if (errorcode == 5) {\n\t\t\treturn \"Invalid Day!\\nValid day values are 1 - 31\";\n\t\t} else if (errorcode == 6) {\n\t\t\treturn \"Invalid Hour!\\nValid hour values are 0 - 23\";\n\t\t} else if (errorcode == 7) {\n\t\t\treturn \"Invalid Minute!\\nValid minute values are 0 - 59\";\n\t\t} else if (errorcode == 8) {\n\t\t\treturn \"Invalid Second!\\nValid second values are 0 - 59\";\n\t\t} \n\t\treturn \"Undefined Error Message!\";\n\t}", "public void setErrorMsg(String text) {\n this.errorMsg = text;\n }", "public int getErrorNo() {\n return this.errorNo;\n }", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();" ]
[ "0.7234827", "0.68487597", "0.68242407", "0.68242407", "0.66320926", "0.6613902", "0.6613902", "0.6613902", "0.65931696", "0.65931696", "0.65931696", "0.65931696", "0.65931696", "0.65931696", "0.65931696", "0.65931696", "0.65931696", "0.65931696", "0.65931696", "0.65931696", "0.6587221", "0.6458624", "0.642881", "0.6387629", "0.6339448", "0.63337046", "0.6318866", "0.6310054", "0.6266495", "0.6207546", "0.6169787", "0.6162002", "0.61556125", "0.61209476", "0.6114965", "0.61042917", "0.60988075", "0.60988075", "0.60988075", "0.60916275", "0.60737956", "0.6044167", "0.60035205", "0.59917176", "0.59845275", "0.59643966", "0.5963419", "0.59538627", "0.5917793", "0.58881736", "0.58858836", "0.5880861", "0.58786815", "0.5865479", "0.5863698", "0.5842632", "0.583974", "0.583974", "0.583974", "0.583974", "0.583974", "0.583974", "0.583974", "0.58391654", "0.58391654", "0.58391654", "0.5837601", "0.5828023", "0.58268774", "0.58249444", "0.5820853", "0.5818837", "0.5808825", "0.5808012", "0.5803665", "0.57976645", "0.5796016", "0.57934284", "0.57934284", "0.57934284", "0.5786855", "0.57868457", "0.5785435", "0.578205", "0.576942", "0.57514906", "0.57502955", "0.5743453", "0.57404053", "0.57404053", "0.57404053", "0.57404053", "0.57404053", "0.57404053", "0.57404053", "0.57404053", "0.57404053", "0.57404053", "0.57404053", "0.57404053", "0.57404053" ]
0.0
-1
repeated .FileInfo fileInfo = 3;
@java.lang.Override public java.util.List<entities.Torrent.FileInfo> getFileInfoList() { return fileInfo_; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public FileInfo getFileInfo() {\n return fileInfo;\n }", "@Test\n\tpublic void testSetFileInfo() {\n\n\t}", "FileInfo create(FileInfo fileInfo);", "entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder();", "entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder();", "public void fileInfo(String info);", "@Override\n public void addSingleFile(FileInfo file) {\n }", "void update(FileInfo fileInfo);", "int getFileInfoCount();", "public void incFileCount(){\n\t\tthis.num_files++;\n\t}", "entities.Torrent.FileInfo getFileInfo(int index);", "public boolean nextFileInfo(FileInfo info) {\n\n\t\t// Get the next file from the search\n\n\t\ttry {\n\n\t\t\t// Return the next file details or loop until a match is found if a\n\t\t\t// complex wildcard filter\n\t\t\t// has been specified\n\t\t\twhile (m_rs.next()) {\n\t\t\t\tString name = m_rs.getString(\"name\");\n\t\t\t\t// Get the file name for the next file\n\t\t\t\tinfo.setFileId(m_rs.getInt(\"id\"));\n\t\t\t\tinfo.setFileName(name);\n\t\t\t\tinfo.setSize(m_rs.getLong(\"size\"));\n\t\t\t\tif(name.equalsIgnoreCase(DBUtil.CLOUDURL))\n\t\t\t\t{\n\t\t\t\t\ttry{\n\t\t\t\t\t//重设置大小\n\t\t\t\t\tinfo.setFileId(-99);\n//\t\t\t\t\tinfo.setFileId(-userId);\n\t\t\t\t\tinfo.setSize(DBUtil.getURLMYFILE_TXT(this.getBaseUrl(),userId).getBytes().length);\n\t\t\t\t\t}catch(Exception e)\n\t\t\t\t\t{\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tlong modifyDate = m_rs.getLong(\"lastModified\");\n\t\t\t\tif (modifyDate != 0L)\n\t\t\t\t\tinfo.setModifyDateTime(modifyDate);\n\t\t\t\telse\n\t\t\t\t\tinfo.setModifyDateTime(System.currentTimeMillis());\n\t\t\t\t\n\t\t\t\tTimestamp ts = m_rs.getTimestamp(\"add_time\");\n\t\t\t\tif (ts !=null && ts.getTime()>0)\n\t\t\t\t{\n\t\t\t\t\tinfo.setCreationDateTime(ts.getTime());\n\t\t\t\t\tinfo.setChangeDateTime(info.getModifyDateTime());\n\t\t\t\t}\n\t\t\t\telse\n\t\t\t\t{\n\t\t\t\t\tinfo.setCreationDateTime(info.getModifyDateTime());\n\t\t\t\t\tinfo.setChangeDateTime(info.getModifyDateTime());\n\t\t\t\t}\t\t\t\t\n\t\t\t\tint attr = 0;\n\t\t\t\tif (m_rs.getBoolean(\"isFile\") == true) {\n\t\t\t\t\tinfo.setFileType(FileType.RegularFile);\t\t\t\t\t\n\t\t\t\t\tattr += FileAttribute.ReadOnly;// 只读权限\n\t\t\t\t} else\n\t\t\t\t\tattr += FileAttribute.Directory;\n\n\t\t\t\tif (m_rs.getBoolean(\"isHidden\") == true) \n\t\t\t\t{\n\t\t\t\t\tattr += FileAttribute.Hidden;//隐藏\n\t\t\t\t}\n\t\t\t\tinfo.setFileType(FileType.Directory);\n\t\t\t\t\t\t\t\t\n\t\t\t\tif (hasMarkAsOffline()) {\n\t\t\t\t\tif (getOfflineFileSize() == 0 || info.getSize() >= getOfflineFileSize())\n\t\t\t\t\t\tattr += FileAttribute.NTOffline;\n\t\t\t\t}\n\t\t\t\tinfo.setFileAttributes(attr);\n\t\t\t\tinfo.setUid(userId);\n\n\t\t\t\tif (m_filter == null || m_filter.matchesPattern(info.getFileName()) == true)\n\t\t\t\t\treturn true;\n\t\t\t}\n\t\t} catch (SQLException ex) {\n\t\t\tex.printStackTrace();\n\t\t}\n\t\t// No more files\n\t\tcloseSearch();\n\t\treturn false;\n\t}", "entities.Torrent.FileInfo getFileInfo();", "entities.Torrent.FileInfo getFileInfo();", "entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder(\n int index);", "DiscFileInfo getFileInfo(String path) throws IOException;", "void setFile(String i) {\n file = i;\n }", "@java.lang.Override\n public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder(\n int index) {\n return fileInfo_.get(index);\n }", "@java.lang.Override\n public int getFileInfoCount() {\n return fileInfo_.size();\n }", "public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder(\n int index) {\n if (fileInfoBuilder_ == null) {\n return fileInfo_.get(index); } else {\n return fileInfoBuilder_.getMessageOrBuilder(index);\n }\n }", "@java.lang.Override\n public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder() {\n return getFileInfo();\n }", "@java.lang.Override\n public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder() {\n return getFileInfo();\n }", "fileInfo(){\n\t\tsymbol = new node[MAXLINECOUNT + 2];\n\t\tother = null; // allocated later!\n\t}", "public Builder addFileInfo(entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureFileInfoIsMutable();\n fileInfo_.add(value);\n onChanged();\n } else {\n fileInfoBuilder_.addMessage(value);\n }\n return this;\n }", "public synchronized FileInfo getOrAddFileInfo(FileInfo alphaFileInfo) {\n String app = alphaFileInfo.getApp();\n String caption = alphaFileInfo.getCaption();\n AppAndCaptionKey key = new AppAndCaptionKey(app, caption);\n String fileId = appAndCaptionToId.get(key);\n if(fileId==null){\n fileId = getNextFileId();\n appAndCaptionToId.put(key, fileId);\n }\n\n //2. Creating file info\n FileInfo sigmaFileInfo = fileCache.getFileInfo(app,fileId);\n if(sigmaFileInfo==null){\n sigmaFileInfo = (FileInfo) alphaFileInfo.clone();\n }\n sigmaFileInfo.setId(fileId);\n return sigmaFileInfo;\n }", "entities.Torrent.FileInfo getFiles(int index);", "com.google.devtools.kythe.proto.Analysis.FileInfoOrBuilder getEntryOrBuilder(\n int index);", "public final FileInfoBase getFileInfo() {\r\n return fileInfo;\r\n }", "public void setFileId(Long fileId) {\n/* 31:31 */ this.fileId = fileId;\n/* 32: */ }", "public entities.Torrent.FileInfo.Builder addFileInfoBuilder() {\n return getFileInfoFieldBuilder().addBuilder(\n entities.Torrent.FileInfo.getDefaultInstance());\n }", "@Override\r\n\tpublic int addAnimalFileInfo(FileInfo fileInfo) {\n\t\treturn fileInfoMapper.addAnimalFileInfo(fileInfo);\r\n\t}", "public abstract long NewFileNumber();", "public Builder addFileInfo(\n int index, entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureFileInfoIsMutable();\n fileInfo_.add(index, value);\n onChanged();\n } else {\n fileInfoBuilder_.addMessage(index, value);\n }\n return this;\n }", "public FileInfo(File file) {\n this.file = file;\n }", "int attrib(int i, File v) {\n if (i < max) {\n AllFiles[i] = v;\n } else {\n File[] temp = new File[max];\n int j;\n for (j = 0; j < max; j++) temp[j] = AllFiles[j];\n AllFiles = new File[max + increase];\n for (j = 0; j < max; j++) AllFiles[j] = temp[j];\n max = max + increase;\n AllFiles[i] = v;\n }\n return (0);\n }", "public boolean hasFileInfo() {\n return fieldSetFlags()[15];\n }", "public Builder setFileInfo(\n int index, entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureFileInfoIsMutable();\n fileInfo_.set(index, value);\n onChanged();\n } else {\n fileInfoBuilder_.setMessage(index, value);\n }\n return this;\n }", "public com.opentext.bn.converters.avro.entity.PayloadRef getFileInfo() {\n return fileInfo;\n }", "entities.Torrent.FileInfoOrBuilder getFilesOrBuilder(\n int index);", "public com.opentext.bn.converters.avro.entity.PayloadRef getFileInfo() {\n return fileInfo;\n }", "com.google.devtools.kythe.proto.Analysis.FileInfo getEntry(int index);", "public TagFileInfo[] getTagFiles() {\n/* 176 */ return this.tagFiles;\n/* */ }", "public Builder setFileInfo(entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n fileInfo_ = value;\n onChanged();\n } else {\n fileInfoBuilder_.setMessage(value);\n }\n\n return this;\n }", "public Builder setFileInfo(entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n fileInfo_ = value;\n onChanged();\n } else {\n fileInfoBuilder_.setMessage(value);\n }\n\n return this;\n }", "private FileInfo(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "public Builder addAllFileInfo(\n java.lang.Iterable<? extends entities.Torrent.FileInfo> values) {\n if (fileInfoBuilder_ == null) {\n ensureFileInfoIsMutable();\n com.google.protobuf.AbstractMessageLite.Builder.addAll(\n values, fileInfo_);\n onChanged();\n } else {\n fileInfoBuilder_.addAllMessages(values);\n }\n return this;\n }", "public int getFileInfoCount() {\n if (fileInfoBuilder_ == null) {\n return fileInfo_.size();\n } else {\n return fileInfoBuilder_.getCount();\n }\n }", "public void constructWith(LzzFileInfo pro) {\n\t\tthis.id = pro.getId ();\n\n\t\tthis.fname = pro.getFname ();\n\n\t\tthis.ftype = pro.getFtype ();\n\n\t\tthis.fsavepath = pro.getFsavepath ();\n\n\t\tthis.furlpath = pro.getFurlpath ();\n\n\t\tthis.createTime = pro.getCreateTime ();\n\n\t\tthis.modifyTime = pro.getModifyTime ();\n\n\t\tthis.def1 = pro.getDef1 ();\n\n\t\tthis.def2 = pro.getDef2 ();\n\n\t\tthis.def3 = pro.getDef3 ();\n\n\t\tthis.def4 = pro.getDef4 ();\n\n\t\tthis.def5 = pro.getDef5 ();\n\n\t\tthis.def6 = pro.getDef6 ();\n\n\t\tthis.def7 = pro.getDef7 ();\n\n\t\tthis.def8 = pro.getDef8 ();\n\n\t\tthis.def9 = pro.getDef9 ();\n\n\t\tthis.def10 = pro.getDef10 ();\n\n\t\tthis.dr = pro.getDr ();\n\n\t}", "public FileInfo(NXTComm nxt, String fileName){\r\n\t\tthis.comm = nxt;\r\n\t\tthis.fileName = fileName;\r\n\t}", "public FileInfo()\r\n {\r\n hash = new HashInfo();\r\n }", "@Override\n public List<FileInfo> getLibrarySubFiles(FileInfo fileInfo) {\n return null;\n }", "public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder() {\n if (fileInfoBuilder_ != null) {\n return fileInfoBuilder_.getMessageOrBuilder();\n } else {\n return fileInfo_ == null ?\n entities.Torrent.FileInfo.getDefaultInstance() : fileInfo_;\n }\n }", "public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder() {\n if (fileInfoBuilder_ != null) {\n return fileInfoBuilder_.getMessageOrBuilder();\n } else {\n return fileInfo_ == null ?\n entities.Torrent.FileInfo.getDefaultInstance() : fileInfo_;\n }\n }", "public DotFileEnumerator(File file)\n {\n fileList.add(file.toString());\n }", "public Builder mergeFileInfo(entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (fileInfo_ != null) {\n fileInfo_ =\n entities.Torrent.FileInfo.newBuilder(fileInfo_).mergeFrom(value).buildPartial();\n } else {\n fileInfo_ = value;\n }\n onChanged();\n } else {\n fileInfoBuilder_.mergeFrom(value);\n }\n\n return this;\n }", "public Builder mergeFileInfo(entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (fileInfo_ != null) {\n fileInfo_ =\n entities.Torrent.FileInfo.newBuilder(fileInfo_).mergeFrom(value).buildPartial();\n } else {\n fileInfo_ = value;\n }\n onChanged();\n } else {\n fileInfoBuilder_.mergeFrom(value);\n }\n\n return this;\n }", "int getFileCount();", "public com.google.devtools.kythe.proto.Analysis.FileInfoOrBuilder getEntryOrBuilder(\n int index) {\n return entry_.get(index);\n }", "public int getFileFlags() { return fileFlags; }", "public Builder clearFileInfo() {\n if (fileInfoBuilder_ == null) {\n fileInfo_ = java.util.Collections.emptyList();\n bitField0_ = (bitField0_ & ~0x00000001);\n onChanged();\n } else {\n fileInfoBuilder_.clear();\n }\n return this;\n }", "public com.opentext.bn.converters.avro.entity.PayloadRef.Builder getFileInfoBuilder() {\n if (fileInfoBuilder == null) {\n if (hasFileInfo()) {\n setFileInfoBuilder(com.opentext.bn.converters.avro.entity.PayloadRef.newBuilder(fileInfo));\n } else {\n setFileInfoBuilder(com.opentext.bn.converters.avro.entity.PayloadRef.newBuilder());\n }\n }\n return fileInfoBuilder;\n }", "public void process(TiffFileInfo info)\n {\n }", "public com.google.devtools.kythe.proto.Analysis.FileInfo.Builder addEntryBuilder() {\n return getEntryFieldBuilder().addBuilder(\n com.google.devtools.kythe.proto.Analysis.FileInfo.getDefaultInstance());\n }", "@java.lang.Override\n public entities.Torrent.FileInfo getFileInfo(int index) {\n return fileInfo_.get(index);\n }", "public Long getFileId() {\n/* 35:35 */ return this.fileId;\n/* 36: */ }", "private com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.FileInfo, entities.Torrent.FileInfo.Builder, entities.Torrent.FileInfoOrBuilder>\n getFileInfoFieldBuilder() {\n if (fileInfoBuilder_ == null) {\n fileInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.FileInfo, entities.Torrent.FileInfo.Builder, entities.Torrent.FileInfoOrBuilder>(\n getFileInfo(),\n getParentForChildren(),\n isClean());\n fileInfo_ = null;\n }\n return fileInfoBuilder_;\n }", "private com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.FileInfo, entities.Torrent.FileInfo.Builder, entities.Torrent.FileInfoOrBuilder>\n getFileInfoFieldBuilder() {\n if (fileInfoBuilder_ == null) {\n fileInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.FileInfo, entities.Torrent.FileInfo.Builder, entities.Torrent.FileInfoOrBuilder>(\n getFileInfo(),\n getParentForChildren(),\n isClean());\n fileInfo_ = null;\n }\n return fileInfoBuilder_;\n }", "private void updateFiles() {\n\t}", "public entities.Torrent.FileInfo.Builder addFileInfoBuilder(\n int index) {\n return getFileInfoFieldBuilder().addBuilder(\n index, entities.Torrent.FileInfo.getDefaultInstance());\n }", "public interface FileSelectInfo\n{\n /**\n * Returns the base folder of the traversal.\n * @return FileObject representing the base folder.\n */\n FileObject getBaseFolder();\n\n /**\n * Returns the file (or folder) to be considered.\n * @return The FileObject.\n */\n FileObject getFile();\n\n /**\n * Returns the depth of the file relative to the base folder.\n * @return The depth of the file relative to the base folder.\n */\n int getDepth();\n}", "public entities.Torrent.FileInfo.Builder getFileInfoBuilder(\n int index) {\n return getFileInfoFieldBuilder().getBuilder(index);\n }", "public entities.Torrent.FileInfo.Builder getFileInfoBuilder() {\n\n onChanged();\n return getFileInfoFieldBuilder().getBuilder();\n }", "public entities.Torrent.FileInfo.Builder getFileInfoBuilder() {\n\n onChanged();\n return getFileInfoFieldBuilder().getBuilder();\n }", "public entities.Torrent.FileInfoOrBuilder getFilesOrBuilder(\n int index) {\n if (filesBuilder_ == null) {\n return files_.get(index); } else {\n return filesBuilder_.getMessageOrBuilder(index);\n }\n }", "private void getExtractWithFiles(){\n\t\ttry{\n\t\t\t\n\t\t\tFileInputStream fStream = new FileInputStream(tfile);\n\t\t\tfileBytes = new byte[(int)tfile.length()];\n\t\t\t\n\t\t\tfStream.read(fileBytes, 0, fileBytes.length);\n\t\t\tfileSize = fileBytes.length;\n\t\t}catch(Exception ex){\n\t\t\tSystem.err.println(\"File Packet \"+ex.getMessage());\n\t\t}\n\t}", "private static void printFileInfo(File file) {\n window.putLog(String.format(\"[%6dkb] Modified %s @%s\", 1 + file.length() / 1024,\n new SimpleDateFormat(\"YYYY-MM-dd HH:mm\").format(new Date(file.lastModified())),\n file.getPath().substring(workingDirectory.getParent().length())));\n }", "public interface FileSystemEntry {\n public long getCount();\n public long getSize();\n public String getName();\n}", "public PSMatrixFilesMeta() {\r\n this(-1, new ConcurrentSkipListMap<Integer, MatrixPartitionMeta>());\r\n }", "protected final void setFileInformation( FileInfo fInfo) {\n\t\tm_info = fInfo;\n\t}", "public java.util.List<? extends entities.Torrent.FileInfoOrBuilder>\n getFileInfoOrBuilderList() {\n if (fileInfoBuilder_ != null) {\n return fileInfoBuilder_.getMessageOrBuilderList();\n } else {\n return java.util.Collections.unmodifiableList(fileInfo_);\n }\n }", "int getFileNamesCount();", "int getFileNamesCount();", "public void filesNotFound(File... f) { }", "public void filesNotFound(File... f) { }", "@Override\n public void onPick(FileInfo f) {\n }", "public void setFileRecordCount(int ct) {\n\t\tfileRecordCount = ct;\n\t}", "public com.opentext.bn.converters.avro.entity.DocumentEvent.Builder setFileInfo(com.opentext.bn.converters.avro.entity.PayloadRef value) {\n validate(fields()[15], value);\n this.fileInfoBuilder = null;\n this.fileInfo = value;\n fieldSetFlags()[15] = true;\n return this;\n }", "public DotFileEnumerator(String filePath)\n {\n String[] tempArr = new File(filePath).list();\n\n for (String s : tempArr) {\n fileList.add(filePath + \"/\" + s);\n }\n }", "@java.lang.Override\n public entities.Torrent.FileInfo getFileInfo() {\n return fileInfo_ == null ? entities.Torrent.FileInfo.getDefaultInstance() : fileInfo_;\n }", "@java.lang.Override\n public entities.Torrent.FileInfo getFileInfo() {\n return fileInfo_ == null ? entities.Torrent.FileInfo.getDefaultInstance() : fileInfo_;\n }", "public FileInfoICS(String name, String directory, int format) {\r\n super(name, directory, format);\r\n }", "public FileInfo(FileInfo v)\n \t{\n \t\ttitle = v.title;\n \t\tauthors = v.authors;\n \t\tseries = v.series;\n \t\tseriesNumber = v.seriesNumber;\n \t\tpath = v.path;\n \t\tfilename = v.filename;\n \t\tpathname = v.pathname;\n \t\tarcname = v.arcname;\n \t\tformat = v.format;\n \t\tsize = v.size;\n \t\tarcsize = v.arcsize;\n \t\tisArchive = v.isArchive;\n \t\tisDirectory = v.isDirectory;\n \t\tcreateTime = v.createTime;\n \t\tlastAccessTime = v.lastAccessTime;\n \t}", "public ImageFiles() {\n\t\tthis.listOne = new ArrayList<String>();\n\t\tthis.listTwo = new ArrayList<String>();\n\t\tthis.listThree = new ArrayList<String>();\n\t\tthis.seenImages = new ArrayList<String>();\n\t\tthis.unseenImages = new ArrayList<String>();\n\t}", "@java.lang.Override\n public java.util.List<? extends entities.Torrent.FileInfoOrBuilder>\n getFileInfoOrBuilderList() {\n return fileInfo_;\n }", "int countByExample(AvwFileprocessExample example);", "public Builder addEntry(com.google.devtools.kythe.proto.Analysis.FileInfo value) {\n if (entryBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureEntryIsMutable();\n entry_.add(value);\n onChanged();\n } else {\n entryBuilder_.addMessage(value);\n }\n return this;\n }", "ds.hdfs.generated.FileMetadata getFiles(int index);", "java.util.List<? extends entities.Torrent.FileInfoOrBuilder>\n getFileInfoOrBuilderList();", "public Long getFileID()\n/* */ {\n/* 88 */ return this.fileID;\n/* */ }", "public void incuploadcount(){\n\t\tthis. num_upload++;\n\t}", "public Vector<file> count()\n {\n Vector<Model.file> files = new Vector<>();\n try\n {\n pw.println(11);\n\n files = (Vector<Model.file>) ois.readObject();\n\n }\n catch (ClassNotFoundException | IOException e)\n {\n System.out.println(e.getMessage());\n }\n return files ;\n }" ]
[ "0.63404644", "0.60424006", "0.58997285", "0.5897735", "0.5897735", "0.5893349", "0.5840858", "0.5782364", "0.575059", "0.56671757", "0.5661143", "0.5629983", "0.55628306", "0.55628306", "0.54918736", "0.54439086", "0.5438974", "0.5436454", "0.53865486", "0.53812563", "0.53554535", "0.53554535", "0.5350297", "0.53485256", "0.5337326", "0.5325269", "0.5323776", "0.5317618", "0.5316972", "0.5305772", "0.5301568", "0.5289526", "0.52858317", "0.527939", "0.527717", "0.5246745", "0.5238312", "0.52333695", "0.52198213", "0.520472", "0.5197636", "0.5181744", "0.5180735", "0.5179602", "0.5171487", "0.5170226", "0.5151229", "0.5126351", "0.51164293", "0.51105917", "0.51006323", "0.5064827", "0.5064827", "0.5030081", "0.50298166", "0.5029732", "0.50183815", "0.5008859", "0.5008625", "0.5002189", "0.5000041", "0.4996095", "0.49911362", "0.4988522", "0.49871376", "0.49688184", "0.4968441", "0.49640483", "0.49627694", "0.49464682", "0.49452326", "0.49435145", "0.4940706", "0.4939512", "0.4919068", "0.49134657", "0.4912824", "0.48992985", "0.48903668", "0.4889867", "0.48865864", "0.48865864", "0.48813212", "0.48813212", "0.48808643", "0.48788455", "0.48786306", "0.4874242", "0.48689762", "0.48689762", "0.48684502", "0.48670304", "0.48606005", "0.48516285", "0.48392272", "0.48242542", "0.48236215", "0.48225048", "0.4821103", "0.48174718", "0.4813819" ]
0.0
-1
repeated .FileInfo fileInfo = 3;
@java.lang.Override public java.util.List<? extends entities.Torrent.FileInfoOrBuilder> getFileInfoOrBuilderList() { return fileInfo_; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public FileInfo getFileInfo() {\n return fileInfo;\n }", "@Test\n\tpublic void testSetFileInfo() {\n\n\t}", "FileInfo create(FileInfo fileInfo);", "entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder();", "entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder();", "public void fileInfo(String info);", "@Override\n public void addSingleFile(FileInfo file) {\n }", "void update(FileInfo fileInfo);", "int getFileInfoCount();", "public void incFileCount(){\n\t\tthis.num_files++;\n\t}", "entities.Torrent.FileInfo getFileInfo(int index);", "public boolean nextFileInfo(FileInfo info) {\n\n\t\t// Get the next file from the search\n\n\t\ttry {\n\n\t\t\t// Return the next file details or loop until a match is found if a\n\t\t\t// complex wildcard filter\n\t\t\t// has been specified\n\t\t\twhile (m_rs.next()) {\n\t\t\t\tString name = m_rs.getString(\"name\");\n\t\t\t\t// Get the file name for the next file\n\t\t\t\tinfo.setFileId(m_rs.getInt(\"id\"));\n\t\t\t\tinfo.setFileName(name);\n\t\t\t\tinfo.setSize(m_rs.getLong(\"size\"));\n\t\t\t\tif(name.equalsIgnoreCase(DBUtil.CLOUDURL))\n\t\t\t\t{\n\t\t\t\t\ttry{\n\t\t\t\t\t//重设置大小\n\t\t\t\t\tinfo.setFileId(-99);\n//\t\t\t\t\tinfo.setFileId(-userId);\n\t\t\t\t\tinfo.setSize(DBUtil.getURLMYFILE_TXT(this.getBaseUrl(),userId).getBytes().length);\n\t\t\t\t\t}catch(Exception e)\n\t\t\t\t\t{\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tlong modifyDate = m_rs.getLong(\"lastModified\");\n\t\t\t\tif (modifyDate != 0L)\n\t\t\t\t\tinfo.setModifyDateTime(modifyDate);\n\t\t\t\telse\n\t\t\t\t\tinfo.setModifyDateTime(System.currentTimeMillis());\n\t\t\t\t\n\t\t\t\tTimestamp ts = m_rs.getTimestamp(\"add_time\");\n\t\t\t\tif (ts !=null && ts.getTime()>0)\n\t\t\t\t{\n\t\t\t\t\tinfo.setCreationDateTime(ts.getTime());\n\t\t\t\t\tinfo.setChangeDateTime(info.getModifyDateTime());\n\t\t\t\t}\n\t\t\t\telse\n\t\t\t\t{\n\t\t\t\t\tinfo.setCreationDateTime(info.getModifyDateTime());\n\t\t\t\t\tinfo.setChangeDateTime(info.getModifyDateTime());\n\t\t\t\t}\t\t\t\t\n\t\t\t\tint attr = 0;\n\t\t\t\tif (m_rs.getBoolean(\"isFile\") == true) {\n\t\t\t\t\tinfo.setFileType(FileType.RegularFile);\t\t\t\t\t\n\t\t\t\t\tattr += FileAttribute.ReadOnly;// 只读权限\n\t\t\t\t} else\n\t\t\t\t\tattr += FileAttribute.Directory;\n\n\t\t\t\tif (m_rs.getBoolean(\"isHidden\") == true) \n\t\t\t\t{\n\t\t\t\t\tattr += FileAttribute.Hidden;//隐藏\n\t\t\t\t}\n\t\t\t\tinfo.setFileType(FileType.Directory);\n\t\t\t\t\t\t\t\t\n\t\t\t\tif (hasMarkAsOffline()) {\n\t\t\t\t\tif (getOfflineFileSize() == 0 || info.getSize() >= getOfflineFileSize())\n\t\t\t\t\t\tattr += FileAttribute.NTOffline;\n\t\t\t\t}\n\t\t\t\tinfo.setFileAttributes(attr);\n\t\t\t\tinfo.setUid(userId);\n\n\t\t\t\tif (m_filter == null || m_filter.matchesPattern(info.getFileName()) == true)\n\t\t\t\t\treturn true;\n\t\t\t}\n\t\t} catch (SQLException ex) {\n\t\t\tex.printStackTrace();\n\t\t}\n\t\t// No more files\n\t\tcloseSearch();\n\t\treturn false;\n\t}", "entities.Torrent.FileInfo getFileInfo();", "entities.Torrent.FileInfo getFileInfo();", "entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder(\n int index);", "DiscFileInfo getFileInfo(String path) throws IOException;", "void setFile(String i) {\n file = i;\n }", "@java.lang.Override\n public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder(\n int index) {\n return fileInfo_.get(index);\n }", "@java.lang.Override\n public int getFileInfoCount() {\n return fileInfo_.size();\n }", "public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder(\n int index) {\n if (fileInfoBuilder_ == null) {\n return fileInfo_.get(index); } else {\n return fileInfoBuilder_.getMessageOrBuilder(index);\n }\n }", "@java.lang.Override\n public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder() {\n return getFileInfo();\n }", "@java.lang.Override\n public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder() {\n return getFileInfo();\n }", "fileInfo(){\n\t\tsymbol = new node[MAXLINECOUNT + 2];\n\t\tother = null; // allocated later!\n\t}", "public Builder addFileInfo(entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureFileInfoIsMutable();\n fileInfo_.add(value);\n onChanged();\n } else {\n fileInfoBuilder_.addMessage(value);\n }\n return this;\n }", "public synchronized FileInfo getOrAddFileInfo(FileInfo alphaFileInfo) {\n String app = alphaFileInfo.getApp();\n String caption = alphaFileInfo.getCaption();\n AppAndCaptionKey key = new AppAndCaptionKey(app, caption);\n String fileId = appAndCaptionToId.get(key);\n if(fileId==null){\n fileId = getNextFileId();\n appAndCaptionToId.put(key, fileId);\n }\n\n //2. Creating file info\n FileInfo sigmaFileInfo = fileCache.getFileInfo(app,fileId);\n if(sigmaFileInfo==null){\n sigmaFileInfo = (FileInfo) alphaFileInfo.clone();\n }\n sigmaFileInfo.setId(fileId);\n return sigmaFileInfo;\n }", "entities.Torrent.FileInfo getFiles(int index);", "com.google.devtools.kythe.proto.Analysis.FileInfoOrBuilder getEntryOrBuilder(\n int index);", "public final FileInfoBase getFileInfo() {\r\n return fileInfo;\r\n }", "public void setFileId(Long fileId) {\n/* 31:31 */ this.fileId = fileId;\n/* 32: */ }", "public entities.Torrent.FileInfo.Builder addFileInfoBuilder() {\n return getFileInfoFieldBuilder().addBuilder(\n entities.Torrent.FileInfo.getDefaultInstance());\n }", "@Override\r\n\tpublic int addAnimalFileInfo(FileInfo fileInfo) {\n\t\treturn fileInfoMapper.addAnimalFileInfo(fileInfo);\r\n\t}", "public abstract long NewFileNumber();", "public Builder addFileInfo(\n int index, entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureFileInfoIsMutable();\n fileInfo_.add(index, value);\n onChanged();\n } else {\n fileInfoBuilder_.addMessage(index, value);\n }\n return this;\n }", "public FileInfo(File file) {\n this.file = file;\n }", "int attrib(int i, File v) {\n if (i < max) {\n AllFiles[i] = v;\n } else {\n File[] temp = new File[max];\n int j;\n for (j = 0; j < max; j++) temp[j] = AllFiles[j];\n AllFiles = new File[max + increase];\n for (j = 0; j < max; j++) AllFiles[j] = temp[j];\n max = max + increase;\n AllFiles[i] = v;\n }\n return (0);\n }", "public boolean hasFileInfo() {\n return fieldSetFlags()[15];\n }", "public Builder setFileInfo(\n int index, entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureFileInfoIsMutable();\n fileInfo_.set(index, value);\n onChanged();\n } else {\n fileInfoBuilder_.setMessage(index, value);\n }\n return this;\n }", "public com.opentext.bn.converters.avro.entity.PayloadRef getFileInfo() {\n return fileInfo;\n }", "entities.Torrent.FileInfoOrBuilder getFilesOrBuilder(\n int index);", "public com.opentext.bn.converters.avro.entity.PayloadRef getFileInfo() {\n return fileInfo;\n }", "com.google.devtools.kythe.proto.Analysis.FileInfo getEntry(int index);", "public TagFileInfo[] getTagFiles() {\n/* 176 */ return this.tagFiles;\n/* */ }", "public Builder setFileInfo(entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n fileInfo_ = value;\n onChanged();\n } else {\n fileInfoBuilder_.setMessage(value);\n }\n\n return this;\n }", "public Builder setFileInfo(entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n fileInfo_ = value;\n onChanged();\n } else {\n fileInfoBuilder_.setMessage(value);\n }\n\n return this;\n }", "private FileInfo(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "public Builder addAllFileInfo(\n java.lang.Iterable<? extends entities.Torrent.FileInfo> values) {\n if (fileInfoBuilder_ == null) {\n ensureFileInfoIsMutable();\n com.google.protobuf.AbstractMessageLite.Builder.addAll(\n values, fileInfo_);\n onChanged();\n } else {\n fileInfoBuilder_.addAllMessages(values);\n }\n return this;\n }", "public int getFileInfoCount() {\n if (fileInfoBuilder_ == null) {\n return fileInfo_.size();\n } else {\n return fileInfoBuilder_.getCount();\n }\n }", "public void constructWith(LzzFileInfo pro) {\n\t\tthis.id = pro.getId ();\n\n\t\tthis.fname = pro.getFname ();\n\n\t\tthis.ftype = pro.getFtype ();\n\n\t\tthis.fsavepath = pro.getFsavepath ();\n\n\t\tthis.furlpath = pro.getFurlpath ();\n\n\t\tthis.createTime = pro.getCreateTime ();\n\n\t\tthis.modifyTime = pro.getModifyTime ();\n\n\t\tthis.def1 = pro.getDef1 ();\n\n\t\tthis.def2 = pro.getDef2 ();\n\n\t\tthis.def3 = pro.getDef3 ();\n\n\t\tthis.def4 = pro.getDef4 ();\n\n\t\tthis.def5 = pro.getDef5 ();\n\n\t\tthis.def6 = pro.getDef6 ();\n\n\t\tthis.def7 = pro.getDef7 ();\n\n\t\tthis.def8 = pro.getDef8 ();\n\n\t\tthis.def9 = pro.getDef9 ();\n\n\t\tthis.def10 = pro.getDef10 ();\n\n\t\tthis.dr = pro.getDr ();\n\n\t}", "public FileInfo(NXTComm nxt, String fileName){\r\n\t\tthis.comm = nxt;\r\n\t\tthis.fileName = fileName;\r\n\t}", "public FileInfo()\r\n {\r\n hash = new HashInfo();\r\n }", "@Override\n public List<FileInfo> getLibrarySubFiles(FileInfo fileInfo) {\n return null;\n }", "public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder() {\n if (fileInfoBuilder_ != null) {\n return fileInfoBuilder_.getMessageOrBuilder();\n } else {\n return fileInfo_ == null ?\n entities.Torrent.FileInfo.getDefaultInstance() : fileInfo_;\n }\n }", "public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder() {\n if (fileInfoBuilder_ != null) {\n return fileInfoBuilder_.getMessageOrBuilder();\n } else {\n return fileInfo_ == null ?\n entities.Torrent.FileInfo.getDefaultInstance() : fileInfo_;\n }\n }", "public DotFileEnumerator(File file)\n {\n fileList.add(file.toString());\n }", "public Builder mergeFileInfo(entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (fileInfo_ != null) {\n fileInfo_ =\n entities.Torrent.FileInfo.newBuilder(fileInfo_).mergeFrom(value).buildPartial();\n } else {\n fileInfo_ = value;\n }\n onChanged();\n } else {\n fileInfoBuilder_.mergeFrom(value);\n }\n\n return this;\n }", "public Builder mergeFileInfo(entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (fileInfo_ != null) {\n fileInfo_ =\n entities.Torrent.FileInfo.newBuilder(fileInfo_).mergeFrom(value).buildPartial();\n } else {\n fileInfo_ = value;\n }\n onChanged();\n } else {\n fileInfoBuilder_.mergeFrom(value);\n }\n\n return this;\n }", "int getFileCount();", "public com.google.devtools.kythe.proto.Analysis.FileInfoOrBuilder getEntryOrBuilder(\n int index) {\n return entry_.get(index);\n }", "public int getFileFlags() { return fileFlags; }", "public Builder clearFileInfo() {\n if (fileInfoBuilder_ == null) {\n fileInfo_ = java.util.Collections.emptyList();\n bitField0_ = (bitField0_ & ~0x00000001);\n onChanged();\n } else {\n fileInfoBuilder_.clear();\n }\n return this;\n }", "public com.opentext.bn.converters.avro.entity.PayloadRef.Builder getFileInfoBuilder() {\n if (fileInfoBuilder == null) {\n if (hasFileInfo()) {\n setFileInfoBuilder(com.opentext.bn.converters.avro.entity.PayloadRef.newBuilder(fileInfo));\n } else {\n setFileInfoBuilder(com.opentext.bn.converters.avro.entity.PayloadRef.newBuilder());\n }\n }\n return fileInfoBuilder;\n }", "public void process(TiffFileInfo info)\n {\n }", "public com.google.devtools.kythe.proto.Analysis.FileInfo.Builder addEntryBuilder() {\n return getEntryFieldBuilder().addBuilder(\n com.google.devtools.kythe.proto.Analysis.FileInfo.getDefaultInstance());\n }", "@java.lang.Override\n public entities.Torrent.FileInfo getFileInfo(int index) {\n return fileInfo_.get(index);\n }", "public Long getFileId() {\n/* 35:35 */ return this.fileId;\n/* 36: */ }", "private com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.FileInfo, entities.Torrent.FileInfo.Builder, entities.Torrent.FileInfoOrBuilder>\n getFileInfoFieldBuilder() {\n if (fileInfoBuilder_ == null) {\n fileInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.FileInfo, entities.Torrent.FileInfo.Builder, entities.Torrent.FileInfoOrBuilder>(\n getFileInfo(),\n getParentForChildren(),\n isClean());\n fileInfo_ = null;\n }\n return fileInfoBuilder_;\n }", "private com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.FileInfo, entities.Torrent.FileInfo.Builder, entities.Torrent.FileInfoOrBuilder>\n getFileInfoFieldBuilder() {\n if (fileInfoBuilder_ == null) {\n fileInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.FileInfo, entities.Torrent.FileInfo.Builder, entities.Torrent.FileInfoOrBuilder>(\n getFileInfo(),\n getParentForChildren(),\n isClean());\n fileInfo_ = null;\n }\n return fileInfoBuilder_;\n }", "private void updateFiles() {\n\t}", "public entities.Torrent.FileInfo.Builder addFileInfoBuilder(\n int index) {\n return getFileInfoFieldBuilder().addBuilder(\n index, entities.Torrent.FileInfo.getDefaultInstance());\n }", "public interface FileSelectInfo\n{\n /**\n * Returns the base folder of the traversal.\n * @return FileObject representing the base folder.\n */\n FileObject getBaseFolder();\n\n /**\n * Returns the file (or folder) to be considered.\n * @return The FileObject.\n */\n FileObject getFile();\n\n /**\n * Returns the depth of the file relative to the base folder.\n * @return The depth of the file relative to the base folder.\n */\n int getDepth();\n}", "public entities.Torrent.FileInfo.Builder getFileInfoBuilder(\n int index) {\n return getFileInfoFieldBuilder().getBuilder(index);\n }", "public entities.Torrent.FileInfo.Builder getFileInfoBuilder() {\n\n onChanged();\n return getFileInfoFieldBuilder().getBuilder();\n }", "public entities.Torrent.FileInfo.Builder getFileInfoBuilder() {\n\n onChanged();\n return getFileInfoFieldBuilder().getBuilder();\n }", "public entities.Torrent.FileInfoOrBuilder getFilesOrBuilder(\n int index) {\n if (filesBuilder_ == null) {\n return files_.get(index); } else {\n return filesBuilder_.getMessageOrBuilder(index);\n }\n }", "private void getExtractWithFiles(){\n\t\ttry{\n\t\t\t\n\t\t\tFileInputStream fStream = new FileInputStream(tfile);\n\t\t\tfileBytes = new byte[(int)tfile.length()];\n\t\t\t\n\t\t\tfStream.read(fileBytes, 0, fileBytes.length);\n\t\t\tfileSize = fileBytes.length;\n\t\t}catch(Exception ex){\n\t\t\tSystem.err.println(\"File Packet \"+ex.getMessage());\n\t\t}\n\t}", "private static void printFileInfo(File file) {\n window.putLog(String.format(\"[%6dkb] Modified %s @%s\", 1 + file.length() / 1024,\n new SimpleDateFormat(\"YYYY-MM-dd HH:mm\").format(new Date(file.lastModified())),\n file.getPath().substring(workingDirectory.getParent().length())));\n }", "public interface FileSystemEntry {\n public long getCount();\n public long getSize();\n public String getName();\n}", "public PSMatrixFilesMeta() {\r\n this(-1, new ConcurrentSkipListMap<Integer, MatrixPartitionMeta>());\r\n }", "protected final void setFileInformation( FileInfo fInfo) {\n\t\tm_info = fInfo;\n\t}", "public java.util.List<? extends entities.Torrent.FileInfoOrBuilder>\n getFileInfoOrBuilderList() {\n if (fileInfoBuilder_ != null) {\n return fileInfoBuilder_.getMessageOrBuilderList();\n } else {\n return java.util.Collections.unmodifiableList(fileInfo_);\n }\n }", "int getFileNamesCount();", "int getFileNamesCount();", "public void filesNotFound(File... f) { }", "public void filesNotFound(File... f) { }", "@Override\n public void onPick(FileInfo f) {\n }", "public void setFileRecordCount(int ct) {\n\t\tfileRecordCount = ct;\n\t}", "public com.opentext.bn.converters.avro.entity.DocumentEvent.Builder setFileInfo(com.opentext.bn.converters.avro.entity.PayloadRef value) {\n validate(fields()[15], value);\n this.fileInfoBuilder = null;\n this.fileInfo = value;\n fieldSetFlags()[15] = true;\n return this;\n }", "public DotFileEnumerator(String filePath)\n {\n String[] tempArr = new File(filePath).list();\n\n for (String s : tempArr) {\n fileList.add(filePath + \"/\" + s);\n }\n }", "@java.lang.Override\n public entities.Torrent.FileInfo getFileInfo() {\n return fileInfo_ == null ? entities.Torrent.FileInfo.getDefaultInstance() : fileInfo_;\n }", "@java.lang.Override\n public entities.Torrent.FileInfo getFileInfo() {\n return fileInfo_ == null ? entities.Torrent.FileInfo.getDefaultInstance() : fileInfo_;\n }", "public FileInfoICS(String name, String directory, int format) {\r\n super(name, directory, format);\r\n }", "public FileInfo(FileInfo v)\n \t{\n \t\ttitle = v.title;\n \t\tauthors = v.authors;\n \t\tseries = v.series;\n \t\tseriesNumber = v.seriesNumber;\n \t\tpath = v.path;\n \t\tfilename = v.filename;\n \t\tpathname = v.pathname;\n \t\tarcname = v.arcname;\n \t\tformat = v.format;\n \t\tsize = v.size;\n \t\tarcsize = v.arcsize;\n \t\tisArchive = v.isArchive;\n \t\tisDirectory = v.isDirectory;\n \t\tcreateTime = v.createTime;\n \t\tlastAccessTime = v.lastAccessTime;\n \t}", "public ImageFiles() {\n\t\tthis.listOne = new ArrayList<String>();\n\t\tthis.listTwo = new ArrayList<String>();\n\t\tthis.listThree = new ArrayList<String>();\n\t\tthis.seenImages = new ArrayList<String>();\n\t\tthis.unseenImages = new ArrayList<String>();\n\t}", "int countByExample(AvwFileprocessExample example);", "public Builder addEntry(com.google.devtools.kythe.proto.Analysis.FileInfo value) {\n if (entryBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureEntryIsMutable();\n entry_.add(value);\n onChanged();\n } else {\n entryBuilder_.addMessage(value);\n }\n return this;\n }", "ds.hdfs.generated.FileMetadata getFiles(int index);", "java.util.List<? extends entities.Torrent.FileInfoOrBuilder>\n getFileInfoOrBuilderList();", "public Long getFileID()\n/* */ {\n/* 88 */ return this.fileID;\n/* */ }", "public void incuploadcount(){\n\t\tthis. num_upload++;\n\t}", "public Vector<file> count()\n {\n Vector<Model.file> files = new Vector<>();\n try\n {\n pw.println(11);\n\n files = (Vector<Model.file>) ois.readObject();\n\n }\n catch (ClassNotFoundException | IOException e)\n {\n System.out.println(e.getMessage());\n }\n return files ;\n }" ]
[ "0.63404644", "0.60424006", "0.58997285", "0.5897735", "0.5897735", "0.5893349", "0.5840858", "0.5782364", "0.575059", "0.56671757", "0.5661143", "0.5629983", "0.55628306", "0.55628306", "0.54918736", "0.54439086", "0.5438974", "0.5436454", "0.53865486", "0.53812563", "0.53554535", "0.53554535", "0.5350297", "0.53485256", "0.5337326", "0.5325269", "0.5323776", "0.5317618", "0.5316972", "0.5305772", "0.5301568", "0.5289526", "0.52858317", "0.527939", "0.527717", "0.5246745", "0.5238312", "0.52333695", "0.52198213", "0.520472", "0.5197636", "0.5181744", "0.5180735", "0.5179602", "0.5171487", "0.5170226", "0.5151229", "0.5126351", "0.51164293", "0.51105917", "0.51006323", "0.5064827", "0.5064827", "0.5030081", "0.50298166", "0.5029732", "0.50183815", "0.5008859", "0.5008625", "0.5002189", "0.5000041", "0.4996095", "0.49911362", "0.4988522", "0.49871376", "0.49688184", "0.4968441", "0.49640483", "0.49627694", "0.49464682", "0.49452326", "0.49435145", "0.4940706", "0.4939512", "0.4919068", "0.49134657", "0.4912824", "0.48992985", "0.48903668", "0.4889867", "0.48865864", "0.48865864", "0.48813212", "0.48813212", "0.48808643", "0.48788455", "0.48786306", "0.4874242", "0.48689762", "0.48689762", "0.48684502", "0.48670304", "0.48606005", "0.48392272", "0.48242542", "0.48236215", "0.48225048", "0.4821103", "0.48174718", "0.4813819" ]
0.48516285
93
repeated .FileInfo fileInfo = 3;
@java.lang.Override public int getFileInfoCount() { return fileInfo_.size(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public FileInfo getFileInfo() {\n return fileInfo;\n }", "@Test\n\tpublic void testSetFileInfo() {\n\n\t}", "FileInfo create(FileInfo fileInfo);", "entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder();", "entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder();", "public void fileInfo(String info);", "@Override\n public void addSingleFile(FileInfo file) {\n }", "void update(FileInfo fileInfo);", "int getFileInfoCount();", "public void incFileCount(){\n\t\tthis.num_files++;\n\t}", "entities.Torrent.FileInfo getFileInfo(int index);", "public boolean nextFileInfo(FileInfo info) {\n\n\t\t// Get the next file from the search\n\n\t\ttry {\n\n\t\t\t// Return the next file details or loop until a match is found if a\n\t\t\t// complex wildcard filter\n\t\t\t// has been specified\n\t\t\twhile (m_rs.next()) {\n\t\t\t\tString name = m_rs.getString(\"name\");\n\t\t\t\t// Get the file name for the next file\n\t\t\t\tinfo.setFileId(m_rs.getInt(\"id\"));\n\t\t\t\tinfo.setFileName(name);\n\t\t\t\tinfo.setSize(m_rs.getLong(\"size\"));\n\t\t\t\tif(name.equalsIgnoreCase(DBUtil.CLOUDURL))\n\t\t\t\t{\n\t\t\t\t\ttry{\n\t\t\t\t\t//重设置大小\n\t\t\t\t\tinfo.setFileId(-99);\n//\t\t\t\t\tinfo.setFileId(-userId);\n\t\t\t\t\tinfo.setSize(DBUtil.getURLMYFILE_TXT(this.getBaseUrl(),userId).getBytes().length);\n\t\t\t\t\t}catch(Exception e)\n\t\t\t\t\t{\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tlong modifyDate = m_rs.getLong(\"lastModified\");\n\t\t\t\tif (modifyDate != 0L)\n\t\t\t\t\tinfo.setModifyDateTime(modifyDate);\n\t\t\t\telse\n\t\t\t\t\tinfo.setModifyDateTime(System.currentTimeMillis());\n\t\t\t\t\n\t\t\t\tTimestamp ts = m_rs.getTimestamp(\"add_time\");\n\t\t\t\tif (ts !=null && ts.getTime()>0)\n\t\t\t\t{\n\t\t\t\t\tinfo.setCreationDateTime(ts.getTime());\n\t\t\t\t\tinfo.setChangeDateTime(info.getModifyDateTime());\n\t\t\t\t}\n\t\t\t\telse\n\t\t\t\t{\n\t\t\t\t\tinfo.setCreationDateTime(info.getModifyDateTime());\n\t\t\t\t\tinfo.setChangeDateTime(info.getModifyDateTime());\n\t\t\t\t}\t\t\t\t\n\t\t\t\tint attr = 0;\n\t\t\t\tif (m_rs.getBoolean(\"isFile\") == true) {\n\t\t\t\t\tinfo.setFileType(FileType.RegularFile);\t\t\t\t\t\n\t\t\t\t\tattr += FileAttribute.ReadOnly;// 只读权限\n\t\t\t\t} else\n\t\t\t\t\tattr += FileAttribute.Directory;\n\n\t\t\t\tif (m_rs.getBoolean(\"isHidden\") == true) \n\t\t\t\t{\n\t\t\t\t\tattr += FileAttribute.Hidden;//隐藏\n\t\t\t\t}\n\t\t\t\tinfo.setFileType(FileType.Directory);\n\t\t\t\t\t\t\t\t\n\t\t\t\tif (hasMarkAsOffline()) {\n\t\t\t\t\tif (getOfflineFileSize() == 0 || info.getSize() >= getOfflineFileSize())\n\t\t\t\t\t\tattr += FileAttribute.NTOffline;\n\t\t\t\t}\n\t\t\t\tinfo.setFileAttributes(attr);\n\t\t\t\tinfo.setUid(userId);\n\n\t\t\t\tif (m_filter == null || m_filter.matchesPattern(info.getFileName()) == true)\n\t\t\t\t\treturn true;\n\t\t\t}\n\t\t} catch (SQLException ex) {\n\t\t\tex.printStackTrace();\n\t\t}\n\t\t// No more files\n\t\tcloseSearch();\n\t\treturn false;\n\t}", "entities.Torrent.FileInfo getFileInfo();", "entities.Torrent.FileInfo getFileInfo();", "entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder(\n int index);", "DiscFileInfo getFileInfo(String path) throws IOException;", "void setFile(String i) {\n file = i;\n }", "@java.lang.Override\n public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder(\n int index) {\n return fileInfo_.get(index);\n }", "public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder(\n int index) {\n if (fileInfoBuilder_ == null) {\n return fileInfo_.get(index); } else {\n return fileInfoBuilder_.getMessageOrBuilder(index);\n }\n }", "@java.lang.Override\n public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder() {\n return getFileInfo();\n }", "@java.lang.Override\n public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder() {\n return getFileInfo();\n }", "fileInfo(){\n\t\tsymbol = new node[MAXLINECOUNT + 2];\n\t\tother = null; // allocated later!\n\t}", "public Builder addFileInfo(entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureFileInfoIsMutable();\n fileInfo_.add(value);\n onChanged();\n } else {\n fileInfoBuilder_.addMessage(value);\n }\n return this;\n }", "public synchronized FileInfo getOrAddFileInfo(FileInfo alphaFileInfo) {\n String app = alphaFileInfo.getApp();\n String caption = alphaFileInfo.getCaption();\n AppAndCaptionKey key = new AppAndCaptionKey(app, caption);\n String fileId = appAndCaptionToId.get(key);\n if(fileId==null){\n fileId = getNextFileId();\n appAndCaptionToId.put(key, fileId);\n }\n\n //2. Creating file info\n FileInfo sigmaFileInfo = fileCache.getFileInfo(app,fileId);\n if(sigmaFileInfo==null){\n sigmaFileInfo = (FileInfo) alphaFileInfo.clone();\n }\n sigmaFileInfo.setId(fileId);\n return sigmaFileInfo;\n }", "entities.Torrent.FileInfo getFiles(int index);", "com.google.devtools.kythe.proto.Analysis.FileInfoOrBuilder getEntryOrBuilder(\n int index);", "public final FileInfoBase getFileInfo() {\r\n return fileInfo;\r\n }", "public void setFileId(Long fileId) {\n/* 31:31 */ this.fileId = fileId;\n/* 32: */ }", "public entities.Torrent.FileInfo.Builder addFileInfoBuilder() {\n return getFileInfoFieldBuilder().addBuilder(\n entities.Torrent.FileInfo.getDefaultInstance());\n }", "@Override\r\n\tpublic int addAnimalFileInfo(FileInfo fileInfo) {\n\t\treturn fileInfoMapper.addAnimalFileInfo(fileInfo);\r\n\t}", "public abstract long NewFileNumber();", "public Builder addFileInfo(\n int index, entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureFileInfoIsMutable();\n fileInfo_.add(index, value);\n onChanged();\n } else {\n fileInfoBuilder_.addMessage(index, value);\n }\n return this;\n }", "public FileInfo(File file) {\n this.file = file;\n }", "int attrib(int i, File v) {\n if (i < max) {\n AllFiles[i] = v;\n } else {\n File[] temp = new File[max];\n int j;\n for (j = 0; j < max; j++) temp[j] = AllFiles[j];\n AllFiles = new File[max + increase];\n for (j = 0; j < max; j++) AllFiles[j] = temp[j];\n max = max + increase;\n AllFiles[i] = v;\n }\n return (0);\n }", "public boolean hasFileInfo() {\n return fieldSetFlags()[15];\n }", "public Builder setFileInfo(\n int index, entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureFileInfoIsMutable();\n fileInfo_.set(index, value);\n onChanged();\n } else {\n fileInfoBuilder_.setMessage(index, value);\n }\n return this;\n }", "public com.opentext.bn.converters.avro.entity.PayloadRef getFileInfo() {\n return fileInfo;\n }", "entities.Torrent.FileInfoOrBuilder getFilesOrBuilder(\n int index);", "public com.opentext.bn.converters.avro.entity.PayloadRef getFileInfo() {\n return fileInfo;\n }", "com.google.devtools.kythe.proto.Analysis.FileInfo getEntry(int index);", "public TagFileInfo[] getTagFiles() {\n/* 176 */ return this.tagFiles;\n/* */ }", "public Builder setFileInfo(entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n fileInfo_ = value;\n onChanged();\n } else {\n fileInfoBuilder_.setMessage(value);\n }\n\n return this;\n }", "public Builder setFileInfo(entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n fileInfo_ = value;\n onChanged();\n } else {\n fileInfoBuilder_.setMessage(value);\n }\n\n return this;\n }", "private FileInfo(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "public Builder addAllFileInfo(\n java.lang.Iterable<? extends entities.Torrent.FileInfo> values) {\n if (fileInfoBuilder_ == null) {\n ensureFileInfoIsMutable();\n com.google.protobuf.AbstractMessageLite.Builder.addAll(\n values, fileInfo_);\n onChanged();\n } else {\n fileInfoBuilder_.addAllMessages(values);\n }\n return this;\n }", "public int getFileInfoCount() {\n if (fileInfoBuilder_ == null) {\n return fileInfo_.size();\n } else {\n return fileInfoBuilder_.getCount();\n }\n }", "public void constructWith(LzzFileInfo pro) {\n\t\tthis.id = pro.getId ();\n\n\t\tthis.fname = pro.getFname ();\n\n\t\tthis.ftype = pro.getFtype ();\n\n\t\tthis.fsavepath = pro.getFsavepath ();\n\n\t\tthis.furlpath = pro.getFurlpath ();\n\n\t\tthis.createTime = pro.getCreateTime ();\n\n\t\tthis.modifyTime = pro.getModifyTime ();\n\n\t\tthis.def1 = pro.getDef1 ();\n\n\t\tthis.def2 = pro.getDef2 ();\n\n\t\tthis.def3 = pro.getDef3 ();\n\n\t\tthis.def4 = pro.getDef4 ();\n\n\t\tthis.def5 = pro.getDef5 ();\n\n\t\tthis.def6 = pro.getDef6 ();\n\n\t\tthis.def7 = pro.getDef7 ();\n\n\t\tthis.def8 = pro.getDef8 ();\n\n\t\tthis.def9 = pro.getDef9 ();\n\n\t\tthis.def10 = pro.getDef10 ();\n\n\t\tthis.dr = pro.getDr ();\n\n\t}", "public FileInfo(NXTComm nxt, String fileName){\r\n\t\tthis.comm = nxt;\r\n\t\tthis.fileName = fileName;\r\n\t}", "public FileInfo()\r\n {\r\n hash = new HashInfo();\r\n }", "@Override\n public List<FileInfo> getLibrarySubFiles(FileInfo fileInfo) {\n return null;\n }", "public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder() {\n if (fileInfoBuilder_ != null) {\n return fileInfoBuilder_.getMessageOrBuilder();\n } else {\n return fileInfo_ == null ?\n entities.Torrent.FileInfo.getDefaultInstance() : fileInfo_;\n }\n }", "public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder() {\n if (fileInfoBuilder_ != null) {\n return fileInfoBuilder_.getMessageOrBuilder();\n } else {\n return fileInfo_ == null ?\n entities.Torrent.FileInfo.getDefaultInstance() : fileInfo_;\n }\n }", "public DotFileEnumerator(File file)\n {\n fileList.add(file.toString());\n }", "public Builder mergeFileInfo(entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (fileInfo_ != null) {\n fileInfo_ =\n entities.Torrent.FileInfo.newBuilder(fileInfo_).mergeFrom(value).buildPartial();\n } else {\n fileInfo_ = value;\n }\n onChanged();\n } else {\n fileInfoBuilder_.mergeFrom(value);\n }\n\n return this;\n }", "public Builder mergeFileInfo(entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (fileInfo_ != null) {\n fileInfo_ =\n entities.Torrent.FileInfo.newBuilder(fileInfo_).mergeFrom(value).buildPartial();\n } else {\n fileInfo_ = value;\n }\n onChanged();\n } else {\n fileInfoBuilder_.mergeFrom(value);\n }\n\n return this;\n }", "int getFileCount();", "public com.google.devtools.kythe.proto.Analysis.FileInfoOrBuilder getEntryOrBuilder(\n int index) {\n return entry_.get(index);\n }", "public int getFileFlags() { return fileFlags; }", "public Builder clearFileInfo() {\n if (fileInfoBuilder_ == null) {\n fileInfo_ = java.util.Collections.emptyList();\n bitField0_ = (bitField0_ & ~0x00000001);\n onChanged();\n } else {\n fileInfoBuilder_.clear();\n }\n return this;\n }", "public com.opentext.bn.converters.avro.entity.PayloadRef.Builder getFileInfoBuilder() {\n if (fileInfoBuilder == null) {\n if (hasFileInfo()) {\n setFileInfoBuilder(com.opentext.bn.converters.avro.entity.PayloadRef.newBuilder(fileInfo));\n } else {\n setFileInfoBuilder(com.opentext.bn.converters.avro.entity.PayloadRef.newBuilder());\n }\n }\n return fileInfoBuilder;\n }", "public void process(TiffFileInfo info)\n {\n }", "public com.google.devtools.kythe.proto.Analysis.FileInfo.Builder addEntryBuilder() {\n return getEntryFieldBuilder().addBuilder(\n com.google.devtools.kythe.proto.Analysis.FileInfo.getDefaultInstance());\n }", "@java.lang.Override\n public entities.Torrent.FileInfo getFileInfo(int index) {\n return fileInfo_.get(index);\n }", "public Long getFileId() {\n/* 35:35 */ return this.fileId;\n/* 36: */ }", "private com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.FileInfo, entities.Torrent.FileInfo.Builder, entities.Torrent.FileInfoOrBuilder>\n getFileInfoFieldBuilder() {\n if (fileInfoBuilder_ == null) {\n fileInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.FileInfo, entities.Torrent.FileInfo.Builder, entities.Torrent.FileInfoOrBuilder>(\n getFileInfo(),\n getParentForChildren(),\n isClean());\n fileInfo_ = null;\n }\n return fileInfoBuilder_;\n }", "private com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.FileInfo, entities.Torrent.FileInfo.Builder, entities.Torrent.FileInfoOrBuilder>\n getFileInfoFieldBuilder() {\n if (fileInfoBuilder_ == null) {\n fileInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.FileInfo, entities.Torrent.FileInfo.Builder, entities.Torrent.FileInfoOrBuilder>(\n getFileInfo(),\n getParentForChildren(),\n isClean());\n fileInfo_ = null;\n }\n return fileInfoBuilder_;\n }", "private void updateFiles() {\n\t}", "public entities.Torrent.FileInfo.Builder addFileInfoBuilder(\n int index) {\n return getFileInfoFieldBuilder().addBuilder(\n index, entities.Torrent.FileInfo.getDefaultInstance());\n }", "public interface FileSelectInfo\n{\n /**\n * Returns the base folder of the traversal.\n * @return FileObject representing the base folder.\n */\n FileObject getBaseFolder();\n\n /**\n * Returns the file (or folder) to be considered.\n * @return The FileObject.\n */\n FileObject getFile();\n\n /**\n * Returns the depth of the file relative to the base folder.\n * @return The depth of the file relative to the base folder.\n */\n int getDepth();\n}", "public entities.Torrent.FileInfo.Builder getFileInfoBuilder(\n int index) {\n return getFileInfoFieldBuilder().getBuilder(index);\n }", "public entities.Torrent.FileInfo.Builder getFileInfoBuilder() {\n\n onChanged();\n return getFileInfoFieldBuilder().getBuilder();\n }", "public entities.Torrent.FileInfo.Builder getFileInfoBuilder() {\n\n onChanged();\n return getFileInfoFieldBuilder().getBuilder();\n }", "public entities.Torrent.FileInfoOrBuilder getFilesOrBuilder(\n int index) {\n if (filesBuilder_ == null) {\n return files_.get(index); } else {\n return filesBuilder_.getMessageOrBuilder(index);\n }\n }", "private void getExtractWithFiles(){\n\t\ttry{\n\t\t\t\n\t\t\tFileInputStream fStream = new FileInputStream(tfile);\n\t\t\tfileBytes = new byte[(int)tfile.length()];\n\t\t\t\n\t\t\tfStream.read(fileBytes, 0, fileBytes.length);\n\t\t\tfileSize = fileBytes.length;\n\t\t}catch(Exception ex){\n\t\t\tSystem.err.println(\"File Packet \"+ex.getMessage());\n\t\t}\n\t}", "private static void printFileInfo(File file) {\n window.putLog(String.format(\"[%6dkb] Modified %s @%s\", 1 + file.length() / 1024,\n new SimpleDateFormat(\"YYYY-MM-dd HH:mm\").format(new Date(file.lastModified())),\n file.getPath().substring(workingDirectory.getParent().length())));\n }", "public interface FileSystemEntry {\n public long getCount();\n public long getSize();\n public String getName();\n}", "public PSMatrixFilesMeta() {\r\n this(-1, new ConcurrentSkipListMap<Integer, MatrixPartitionMeta>());\r\n }", "protected final void setFileInformation( FileInfo fInfo) {\n\t\tm_info = fInfo;\n\t}", "public java.util.List<? extends entities.Torrent.FileInfoOrBuilder>\n getFileInfoOrBuilderList() {\n if (fileInfoBuilder_ != null) {\n return fileInfoBuilder_.getMessageOrBuilderList();\n } else {\n return java.util.Collections.unmodifiableList(fileInfo_);\n }\n }", "int getFileNamesCount();", "int getFileNamesCount();", "public void filesNotFound(File... f) { }", "public void filesNotFound(File... f) { }", "@Override\n public void onPick(FileInfo f) {\n }", "public void setFileRecordCount(int ct) {\n\t\tfileRecordCount = ct;\n\t}", "public com.opentext.bn.converters.avro.entity.DocumentEvent.Builder setFileInfo(com.opentext.bn.converters.avro.entity.PayloadRef value) {\n validate(fields()[15], value);\n this.fileInfoBuilder = null;\n this.fileInfo = value;\n fieldSetFlags()[15] = true;\n return this;\n }", "public DotFileEnumerator(String filePath)\n {\n String[] tempArr = new File(filePath).list();\n\n for (String s : tempArr) {\n fileList.add(filePath + \"/\" + s);\n }\n }", "@java.lang.Override\n public entities.Torrent.FileInfo getFileInfo() {\n return fileInfo_ == null ? entities.Torrent.FileInfo.getDefaultInstance() : fileInfo_;\n }", "@java.lang.Override\n public entities.Torrent.FileInfo getFileInfo() {\n return fileInfo_ == null ? entities.Torrent.FileInfo.getDefaultInstance() : fileInfo_;\n }", "public FileInfoICS(String name, String directory, int format) {\r\n super(name, directory, format);\r\n }", "public FileInfo(FileInfo v)\n \t{\n \t\ttitle = v.title;\n \t\tauthors = v.authors;\n \t\tseries = v.series;\n \t\tseriesNumber = v.seriesNumber;\n \t\tpath = v.path;\n \t\tfilename = v.filename;\n \t\tpathname = v.pathname;\n \t\tarcname = v.arcname;\n \t\tformat = v.format;\n \t\tsize = v.size;\n \t\tarcsize = v.arcsize;\n \t\tisArchive = v.isArchive;\n \t\tisDirectory = v.isDirectory;\n \t\tcreateTime = v.createTime;\n \t\tlastAccessTime = v.lastAccessTime;\n \t}", "public ImageFiles() {\n\t\tthis.listOne = new ArrayList<String>();\n\t\tthis.listTwo = new ArrayList<String>();\n\t\tthis.listThree = new ArrayList<String>();\n\t\tthis.seenImages = new ArrayList<String>();\n\t\tthis.unseenImages = new ArrayList<String>();\n\t}", "@java.lang.Override\n public java.util.List<? extends entities.Torrent.FileInfoOrBuilder>\n getFileInfoOrBuilderList() {\n return fileInfo_;\n }", "int countByExample(AvwFileprocessExample example);", "public Builder addEntry(com.google.devtools.kythe.proto.Analysis.FileInfo value) {\n if (entryBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureEntryIsMutable();\n entry_.add(value);\n onChanged();\n } else {\n entryBuilder_.addMessage(value);\n }\n return this;\n }", "ds.hdfs.generated.FileMetadata getFiles(int index);", "java.util.List<? extends entities.Torrent.FileInfoOrBuilder>\n getFileInfoOrBuilderList();", "public Long getFileID()\n/* */ {\n/* 88 */ return this.fileID;\n/* */ }", "public void incuploadcount(){\n\t\tthis. num_upload++;\n\t}", "public Vector<file> count()\n {\n Vector<Model.file> files = new Vector<>();\n try\n {\n pw.println(11);\n\n files = (Vector<Model.file>) ois.readObject();\n\n }\n catch (ClassNotFoundException | IOException e)\n {\n System.out.println(e.getMessage());\n }\n return files ;\n }" ]
[ "0.63404644", "0.60424006", "0.58997285", "0.5897735", "0.5897735", "0.5893349", "0.5840858", "0.5782364", "0.575059", "0.56671757", "0.5661143", "0.5629983", "0.55628306", "0.55628306", "0.54918736", "0.54439086", "0.5438974", "0.5436454", "0.53812563", "0.53554535", "0.53554535", "0.5350297", "0.53485256", "0.5337326", "0.5325269", "0.5323776", "0.5317618", "0.5316972", "0.5305772", "0.5301568", "0.5289526", "0.52858317", "0.527939", "0.527717", "0.5246745", "0.5238312", "0.52333695", "0.52198213", "0.520472", "0.5197636", "0.5181744", "0.5180735", "0.5179602", "0.5171487", "0.5170226", "0.5151229", "0.5126351", "0.51164293", "0.51105917", "0.51006323", "0.5064827", "0.5064827", "0.5030081", "0.50298166", "0.5029732", "0.50183815", "0.5008859", "0.5008625", "0.5002189", "0.5000041", "0.4996095", "0.49911362", "0.4988522", "0.49871376", "0.49688184", "0.4968441", "0.49640483", "0.49627694", "0.49464682", "0.49452326", "0.49435145", "0.4940706", "0.4939512", "0.4919068", "0.49134657", "0.4912824", "0.48992985", "0.48903668", "0.4889867", "0.48865864", "0.48865864", "0.48813212", "0.48813212", "0.48808643", "0.48788455", "0.48786306", "0.4874242", "0.48689762", "0.48689762", "0.48684502", "0.48670304", "0.48606005", "0.48516285", "0.48392272", "0.48242542", "0.48236215", "0.48225048", "0.4821103", "0.48174718", "0.4813819" ]
0.53865486
18
repeated .FileInfo fileInfo = 3;
@java.lang.Override public entities.Torrent.FileInfo getFileInfo(int index) { return fileInfo_.get(index); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public FileInfo getFileInfo() {\n return fileInfo;\n }", "@Test\n\tpublic void testSetFileInfo() {\n\n\t}", "FileInfo create(FileInfo fileInfo);", "entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder();", "entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder();", "public void fileInfo(String info);", "@Override\n public void addSingleFile(FileInfo file) {\n }", "void update(FileInfo fileInfo);", "int getFileInfoCount();", "public void incFileCount(){\n\t\tthis.num_files++;\n\t}", "entities.Torrent.FileInfo getFileInfo(int index);", "public boolean nextFileInfo(FileInfo info) {\n\n\t\t// Get the next file from the search\n\n\t\ttry {\n\n\t\t\t// Return the next file details or loop until a match is found if a\n\t\t\t// complex wildcard filter\n\t\t\t// has been specified\n\t\t\twhile (m_rs.next()) {\n\t\t\t\tString name = m_rs.getString(\"name\");\n\t\t\t\t// Get the file name for the next file\n\t\t\t\tinfo.setFileId(m_rs.getInt(\"id\"));\n\t\t\t\tinfo.setFileName(name);\n\t\t\t\tinfo.setSize(m_rs.getLong(\"size\"));\n\t\t\t\tif(name.equalsIgnoreCase(DBUtil.CLOUDURL))\n\t\t\t\t{\n\t\t\t\t\ttry{\n\t\t\t\t\t//重设置大小\n\t\t\t\t\tinfo.setFileId(-99);\n//\t\t\t\t\tinfo.setFileId(-userId);\n\t\t\t\t\tinfo.setSize(DBUtil.getURLMYFILE_TXT(this.getBaseUrl(),userId).getBytes().length);\n\t\t\t\t\t}catch(Exception e)\n\t\t\t\t\t{\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tlong modifyDate = m_rs.getLong(\"lastModified\");\n\t\t\t\tif (modifyDate != 0L)\n\t\t\t\t\tinfo.setModifyDateTime(modifyDate);\n\t\t\t\telse\n\t\t\t\t\tinfo.setModifyDateTime(System.currentTimeMillis());\n\t\t\t\t\n\t\t\t\tTimestamp ts = m_rs.getTimestamp(\"add_time\");\n\t\t\t\tif (ts !=null && ts.getTime()>0)\n\t\t\t\t{\n\t\t\t\t\tinfo.setCreationDateTime(ts.getTime());\n\t\t\t\t\tinfo.setChangeDateTime(info.getModifyDateTime());\n\t\t\t\t}\n\t\t\t\telse\n\t\t\t\t{\n\t\t\t\t\tinfo.setCreationDateTime(info.getModifyDateTime());\n\t\t\t\t\tinfo.setChangeDateTime(info.getModifyDateTime());\n\t\t\t\t}\t\t\t\t\n\t\t\t\tint attr = 0;\n\t\t\t\tif (m_rs.getBoolean(\"isFile\") == true) {\n\t\t\t\t\tinfo.setFileType(FileType.RegularFile);\t\t\t\t\t\n\t\t\t\t\tattr += FileAttribute.ReadOnly;// 只读权限\n\t\t\t\t} else\n\t\t\t\t\tattr += FileAttribute.Directory;\n\n\t\t\t\tif (m_rs.getBoolean(\"isHidden\") == true) \n\t\t\t\t{\n\t\t\t\t\tattr += FileAttribute.Hidden;//隐藏\n\t\t\t\t}\n\t\t\t\tinfo.setFileType(FileType.Directory);\n\t\t\t\t\t\t\t\t\n\t\t\t\tif (hasMarkAsOffline()) {\n\t\t\t\t\tif (getOfflineFileSize() == 0 || info.getSize() >= getOfflineFileSize())\n\t\t\t\t\t\tattr += FileAttribute.NTOffline;\n\t\t\t\t}\n\t\t\t\tinfo.setFileAttributes(attr);\n\t\t\t\tinfo.setUid(userId);\n\n\t\t\t\tif (m_filter == null || m_filter.matchesPattern(info.getFileName()) == true)\n\t\t\t\t\treturn true;\n\t\t\t}\n\t\t} catch (SQLException ex) {\n\t\t\tex.printStackTrace();\n\t\t}\n\t\t// No more files\n\t\tcloseSearch();\n\t\treturn false;\n\t}", "entities.Torrent.FileInfo getFileInfo();", "entities.Torrent.FileInfo getFileInfo();", "entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder(\n int index);", "DiscFileInfo getFileInfo(String path) throws IOException;", "void setFile(String i) {\n file = i;\n }", "@java.lang.Override\n public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder(\n int index) {\n return fileInfo_.get(index);\n }", "@java.lang.Override\n public int getFileInfoCount() {\n return fileInfo_.size();\n }", "public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder(\n int index) {\n if (fileInfoBuilder_ == null) {\n return fileInfo_.get(index); } else {\n return fileInfoBuilder_.getMessageOrBuilder(index);\n }\n }", "@java.lang.Override\n public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder() {\n return getFileInfo();\n }", "@java.lang.Override\n public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder() {\n return getFileInfo();\n }", "fileInfo(){\n\t\tsymbol = new node[MAXLINECOUNT + 2];\n\t\tother = null; // allocated later!\n\t}", "public Builder addFileInfo(entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureFileInfoIsMutable();\n fileInfo_.add(value);\n onChanged();\n } else {\n fileInfoBuilder_.addMessage(value);\n }\n return this;\n }", "public synchronized FileInfo getOrAddFileInfo(FileInfo alphaFileInfo) {\n String app = alphaFileInfo.getApp();\n String caption = alphaFileInfo.getCaption();\n AppAndCaptionKey key = new AppAndCaptionKey(app, caption);\n String fileId = appAndCaptionToId.get(key);\n if(fileId==null){\n fileId = getNextFileId();\n appAndCaptionToId.put(key, fileId);\n }\n\n //2. Creating file info\n FileInfo sigmaFileInfo = fileCache.getFileInfo(app,fileId);\n if(sigmaFileInfo==null){\n sigmaFileInfo = (FileInfo) alphaFileInfo.clone();\n }\n sigmaFileInfo.setId(fileId);\n return sigmaFileInfo;\n }", "entities.Torrent.FileInfo getFiles(int index);", "com.google.devtools.kythe.proto.Analysis.FileInfoOrBuilder getEntryOrBuilder(\n int index);", "public final FileInfoBase getFileInfo() {\r\n return fileInfo;\r\n }", "public void setFileId(Long fileId) {\n/* 31:31 */ this.fileId = fileId;\n/* 32: */ }", "public entities.Torrent.FileInfo.Builder addFileInfoBuilder() {\n return getFileInfoFieldBuilder().addBuilder(\n entities.Torrent.FileInfo.getDefaultInstance());\n }", "@Override\r\n\tpublic int addAnimalFileInfo(FileInfo fileInfo) {\n\t\treturn fileInfoMapper.addAnimalFileInfo(fileInfo);\r\n\t}", "public abstract long NewFileNumber();", "public Builder addFileInfo(\n int index, entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureFileInfoIsMutable();\n fileInfo_.add(index, value);\n onChanged();\n } else {\n fileInfoBuilder_.addMessage(index, value);\n }\n return this;\n }", "public FileInfo(File file) {\n this.file = file;\n }", "int attrib(int i, File v) {\n if (i < max) {\n AllFiles[i] = v;\n } else {\n File[] temp = new File[max];\n int j;\n for (j = 0; j < max; j++) temp[j] = AllFiles[j];\n AllFiles = new File[max + increase];\n for (j = 0; j < max; j++) AllFiles[j] = temp[j];\n max = max + increase;\n AllFiles[i] = v;\n }\n return (0);\n }", "public boolean hasFileInfo() {\n return fieldSetFlags()[15];\n }", "public Builder setFileInfo(\n int index, entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureFileInfoIsMutable();\n fileInfo_.set(index, value);\n onChanged();\n } else {\n fileInfoBuilder_.setMessage(index, value);\n }\n return this;\n }", "public com.opentext.bn.converters.avro.entity.PayloadRef getFileInfo() {\n return fileInfo;\n }", "entities.Torrent.FileInfoOrBuilder getFilesOrBuilder(\n int index);", "public com.opentext.bn.converters.avro.entity.PayloadRef getFileInfo() {\n return fileInfo;\n }", "com.google.devtools.kythe.proto.Analysis.FileInfo getEntry(int index);", "public TagFileInfo[] getTagFiles() {\n/* 176 */ return this.tagFiles;\n/* */ }", "public Builder setFileInfo(entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n fileInfo_ = value;\n onChanged();\n } else {\n fileInfoBuilder_.setMessage(value);\n }\n\n return this;\n }", "public Builder setFileInfo(entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n fileInfo_ = value;\n onChanged();\n } else {\n fileInfoBuilder_.setMessage(value);\n }\n\n return this;\n }", "private FileInfo(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "public Builder addAllFileInfo(\n java.lang.Iterable<? extends entities.Torrent.FileInfo> values) {\n if (fileInfoBuilder_ == null) {\n ensureFileInfoIsMutable();\n com.google.protobuf.AbstractMessageLite.Builder.addAll(\n values, fileInfo_);\n onChanged();\n } else {\n fileInfoBuilder_.addAllMessages(values);\n }\n return this;\n }", "public int getFileInfoCount() {\n if (fileInfoBuilder_ == null) {\n return fileInfo_.size();\n } else {\n return fileInfoBuilder_.getCount();\n }\n }", "public void constructWith(LzzFileInfo pro) {\n\t\tthis.id = pro.getId ();\n\n\t\tthis.fname = pro.getFname ();\n\n\t\tthis.ftype = pro.getFtype ();\n\n\t\tthis.fsavepath = pro.getFsavepath ();\n\n\t\tthis.furlpath = pro.getFurlpath ();\n\n\t\tthis.createTime = pro.getCreateTime ();\n\n\t\tthis.modifyTime = pro.getModifyTime ();\n\n\t\tthis.def1 = pro.getDef1 ();\n\n\t\tthis.def2 = pro.getDef2 ();\n\n\t\tthis.def3 = pro.getDef3 ();\n\n\t\tthis.def4 = pro.getDef4 ();\n\n\t\tthis.def5 = pro.getDef5 ();\n\n\t\tthis.def6 = pro.getDef6 ();\n\n\t\tthis.def7 = pro.getDef7 ();\n\n\t\tthis.def8 = pro.getDef8 ();\n\n\t\tthis.def9 = pro.getDef9 ();\n\n\t\tthis.def10 = pro.getDef10 ();\n\n\t\tthis.dr = pro.getDr ();\n\n\t}", "public FileInfo(NXTComm nxt, String fileName){\r\n\t\tthis.comm = nxt;\r\n\t\tthis.fileName = fileName;\r\n\t}", "public FileInfo()\r\n {\r\n hash = new HashInfo();\r\n }", "@Override\n public List<FileInfo> getLibrarySubFiles(FileInfo fileInfo) {\n return null;\n }", "public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder() {\n if (fileInfoBuilder_ != null) {\n return fileInfoBuilder_.getMessageOrBuilder();\n } else {\n return fileInfo_ == null ?\n entities.Torrent.FileInfo.getDefaultInstance() : fileInfo_;\n }\n }", "public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder() {\n if (fileInfoBuilder_ != null) {\n return fileInfoBuilder_.getMessageOrBuilder();\n } else {\n return fileInfo_ == null ?\n entities.Torrent.FileInfo.getDefaultInstance() : fileInfo_;\n }\n }", "public DotFileEnumerator(File file)\n {\n fileList.add(file.toString());\n }", "public Builder mergeFileInfo(entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (fileInfo_ != null) {\n fileInfo_ =\n entities.Torrent.FileInfo.newBuilder(fileInfo_).mergeFrom(value).buildPartial();\n } else {\n fileInfo_ = value;\n }\n onChanged();\n } else {\n fileInfoBuilder_.mergeFrom(value);\n }\n\n return this;\n }", "public Builder mergeFileInfo(entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (fileInfo_ != null) {\n fileInfo_ =\n entities.Torrent.FileInfo.newBuilder(fileInfo_).mergeFrom(value).buildPartial();\n } else {\n fileInfo_ = value;\n }\n onChanged();\n } else {\n fileInfoBuilder_.mergeFrom(value);\n }\n\n return this;\n }", "int getFileCount();", "public com.google.devtools.kythe.proto.Analysis.FileInfoOrBuilder getEntryOrBuilder(\n int index) {\n return entry_.get(index);\n }", "public int getFileFlags() { return fileFlags; }", "public Builder clearFileInfo() {\n if (fileInfoBuilder_ == null) {\n fileInfo_ = java.util.Collections.emptyList();\n bitField0_ = (bitField0_ & ~0x00000001);\n onChanged();\n } else {\n fileInfoBuilder_.clear();\n }\n return this;\n }", "public com.opentext.bn.converters.avro.entity.PayloadRef.Builder getFileInfoBuilder() {\n if (fileInfoBuilder == null) {\n if (hasFileInfo()) {\n setFileInfoBuilder(com.opentext.bn.converters.avro.entity.PayloadRef.newBuilder(fileInfo));\n } else {\n setFileInfoBuilder(com.opentext.bn.converters.avro.entity.PayloadRef.newBuilder());\n }\n }\n return fileInfoBuilder;\n }", "public void process(TiffFileInfo info)\n {\n }", "public com.google.devtools.kythe.proto.Analysis.FileInfo.Builder addEntryBuilder() {\n return getEntryFieldBuilder().addBuilder(\n com.google.devtools.kythe.proto.Analysis.FileInfo.getDefaultInstance());\n }", "public Long getFileId() {\n/* 35:35 */ return this.fileId;\n/* 36: */ }", "private com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.FileInfo, entities.Torrent.FileInfo.Builder, entities.Torrent.FileInfoOrBuilder>\n getFileInfoFieldBuilder() {\n if (fileInfoBuilder_ == null) {\n fileInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.FileInfo, entities.Torrent.FileInfo.Builder, entities.Torrent.FileInfoOrBuilder>(\n getFileInfo(),\n getParentForChildren(),\n isClean());\n fileInfo_ = null;\n }\n return fileInfoBuilder_;\n }", "private com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.FileInfo, entities.Torrent.FileInfo.Builder, entities.Torrent.FileInfoOrBuilder>\n getFileInfoFieldBuilder() {\n if (fileInfoBuilder_ == null) {\n fileInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.FileInfo, entities.Torrent.FileInfo.Builder, entities.Torrent.FileInfoOrBuilder>(\n getFileInfo(),\n getParentForChildren(),\n isClean());\n fileInfo_ = null;\n }\n return fileInfoBuilder_;\n }", "private void updateFiles() {\n\t}", "public entities.Torrent.FileInfo.Builder addFileInfoBuilder(\n int index) {\n return getFileInfoFieldBuilder().addBuilder(\n index, entities.Torrent.FileInfo.getDefaultInstance());\n }", "public interface FileSelectInfo\n{\n /**\n * Returns the base folder of the traversal.\n * @return FileObject representing the base folder.\n */\n FileObject getBaseFolder();\n\n /**\n * Returns the file (or folder) to be considered.\n * @return The FileObject.\n */\n FileObject getFile();\n\n /**\n * Returns the depth of the file relative to the base folder.\n * @return The depth of the file relative to the base folder.\n */\n int getDepth();\n}", "public entities.Torrent.FileInfo.Builder getFileInfoBuilder(\n int index) {\n return getFileInfoFieldBuilder().getBuilder(index);\n }", "public entities.Torrent.FileInfo.Builder getFileInfoBuilder() {\n\n onChanged();\n return getFileInfoFieldBuilder().getBuilder();\n }", "public entities.Torrent.FileInfo.Builder getFileInfoBuilder() {\n\n onChanged();\n return getFileInfoFieldBuilder().getBuilder();\n }", "public entities.Torrent.FileInfoOrBuilder getFilesOrBuilder(\n int index) {\n if (filesBuilder_ == null) {\n return files_.get(index); } else {\n return filesBuilder_.getMessageOrBuilder(index);\n }\n }", "private void getExtractWithFiles(){\n\t\ttry{\n\t\t\t\n\t\t\tFileInputStream fStream = new FileInputStream(tfile);\n\t\t\tfileBytes = new byte[(int)tfile.length()];\n\t\t\t\n\t\t\tfStream.read(fileBytes, 0, fileBytes.length);\n\t\t\tfileSize = fileBytes.length;\n\t\t}catch(Exception ex){\n\t\t\tSystem.err.println(\"File Packet \"+ex.getMessage());\n\t\t}\n\t}", "private static void printFileInfo(File file) {\n window.putLog(String.format(\"[%6dkb] Modified %s @%s\", 1 + file.length() / 1024,\n new SimpleDateFormat(\"YYYY-MM-dd HH:mm\").format(new Date(file.lastModified())),\n file.getPath().substring(workingDirectory.getParent().length())));\n }", "public interface FileSystemEntry {\n public long getCount();\n public long getSize();\n public String getName();\n}", "public PSMatrixFilesMeta() {\r\n this(-1, new ConcurrentSkipListMap<Integer, MatrixPartitionMeta>());\r\n }", "protected final void setFileInformation( FileInfo fInfo) {\n\t\tm_info = fInfo;\n\t}", "public java.util.List<? extends entities.Torrent.FileInfoOrBuilder>\n getFileInfoOrBuilderList() {\n if (fileInfoBuilder_ != null) {\n return fileInfoBuilder_.getMessageOrBuilderList();\n } else {\n return java.util.Collections.unmodifiableList(fileInfo_);\n }\n }", "int getFileNamesCount();", "int getFileNamesCount();", "public void filesNotFound(File... f) { }", "public void filesNotFound(File... f) { }", "@Override\n public void onPick(FileInfo f) {\n }", "public void setFileRecordCount(int ct) {\n\t\tfileRecordCount = ct;\n\t}", "public com.opentext.bn.converters.avro.entity.DocumentEvent.Builder setFileInfo(com.opentext.bn.converters.avro.entity.PayloadRef value) {\n validate(fields()[15], value);\n this.fileInfoBuilder = null;\n this.fileInfo = value;\n fieldSetFlags()[15] = true;\n return this;\n }", "public DotFileEnumerator(String filePath)\n {\n String[] tempArr = new File(filePath).list();\n\n for (String s : tempArr) {\n fileList.add(filePath + \"/\" + s);\n }\n }", "@java.lang.Override\n public entities.Torrent.FileInfo getFileInfo() {\n return fileInfo_ == null ? entities.Torrent.FileInfo.getDefaultInstance() : fileInfo_;\n }", "@java.lang.Override\n public entities.Torrent.FileInfo getFileInfo() {\n return fileInfo_ == null ? entities.Torrent.FileInfo.getDefaultInstance() : fileInfo_;\n }", "public FileInfoICS(String name, String directory, int format) {\r\n super(name, directory, format);\r\n }", "public FileInfo(FileInfo v)\n \t{\n \t\ttitle = v.title;\n \t\tauthors = v.authors;\n \t\tseries = v.series;\n \t\tseriesNumber = v.seriesNumber;\n \t\tpath = v.path;\n \t\tfilename = v.filename;\n \t\tpathname = v.pathname;\n \t\tarcname = v.arcname;\n \t\tformat = v.format;\n \t\tsize = v.size;\n \t\tarcsize = v.arcsize;\n \t\tisArchive = v.isArchive;\n \t\tisDirectory = v.isDirectory;\n \t\tcreateTime = v.createTime;\n \t\tlastAccessTime = v.lastAccessTime;\n \t}", "public ImageFiles() {\n\t\tthis.listOne = new ArrayList<String>();\n\t\tthis.listTwo = new ArrayList<String>();\n\t\tthis.listThree = new ArrayList<String>();\n\t\tthis.seenImages = new ArrayList<String>();\n\t\tthis.unseenImages = new ArrayList<String>();\n\t}", "@java.lang.Override\n public java.util.List<? extends entities.Torrent.FileInfoOrBuilder>\n getFileInfoOrBuilderList() {\n return fileInfo_;\n }", "int countByExample(AvwFileprocessExample example);", "public Builder addEntry(com.google.devtools.kythe.proto.Analysis.FileInfo value) {\n if (entryBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureEntryIsMutable();\n entry_.add(value);\n onChanged();\n } else {\n entryBuilder_.addMessage(value);\n }\n return this;\n }", "ds.hdfs.generated.FileMetadata getFiles(int index);", "java.util.List<? extends entities.Torrent.FileInfoOrBuilder>\n getFileInfoOrBuilderList();", "public Long getFileID()\n/* */ {\n/* 88 */ return this.fileID;\n/* */ }", "public void incuploadcount(){\n\t\tthis. num_upload++;\n\t}", "public Vector<file> count()\n {\n Vector<Model.file> files = new Vector<>();\n try\n {\n pw.println(11);\n\n files = (Vector<Model.file>) ois.readObject();\n\n }\n catch (ClassNotFoundException | IOException e)\n {\n System.out.println(e.getMessage());\n }\n return files ;\n }" ]
[ "0.63404644", "0.60424006", "0.58997285", "0.5897735", "0.5897735", "0.5893349", "0.5840858", "0.5782364", "0.575059", "0.56671757", "0.5661143", "0.5629983", "0.55628306", "0.55628306", "0.54918736", "0.54439086", "0.5438974", "0.5436454", "0.53865486", "0.53812563", "0.53554535", "0.53554535", "0.5350297", "0.53485256", "0.5337326", "0.5325269", "0.5323776", "0.5317618", "0.5316972", "0.5305772", "0.5301568", "0.5289526", "0.52858317", "0.527939", "0.527717", "0.5246745", "0.5238312", "0.52333695", "0.52198213", "0.520472", "0.5197636", "0.5181744", "0.5180735", "0.5179602", "0.5171487", "0.5170226", "0.5151229", "0.5126351", "0.51164293", "0.51105917", "0.51006323", "0.5064827", "0.5064827", "0.5030081", "0.50298166", "0.5029732", "0.50183815", "0.5008859", "0.5008625", "0.5002189", "0.5000041", "0.4996095", "0.49911362", "0.49871376", "0.49688184", "0.4968441", "0.49640483", "0.49627694", "0.49464682", "0.49452326", "0.49435145", "0.4940706", "0.4939512", "0.4919068", "0.49134657", "0.4912824", "0.48992985", "0.48903668", "0.4889867", "0.48865864", "0.48865864", "0.48813212", "0.48813212", "0.48808643", "0.48788455", "0.48786306", "0.4874242", "0.48689762", "0.48689762", "0.48684502", "0.48670304", "0.48606005", "0.48516285", "0.48392272", "0.48242542", "0.48236215", "0.48225048", "0.4821103", "0.48174718", "0.4813819" ]
0.4988522
63
repeated .FileInfo fileInfo = 3;
@java.lang.Override public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder( int index) { return fileInfo_.get(index); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public FileInfo getFileInfo() {\n return fileInfo;\n }", "@Test\n\tpublic void testSetFileInfo() {\n\n\t}", "FileInfo create(FileInfo fileInfo);", "entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder();", "entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder();", "public void fileInfo(String info);", "@Override\n public void addSingleFile(FileInfo file) {\n }", "void update(FileInfo fileInfo);", "int getFileInfoCount();", "public void incFileCount(){\n\t\tthis.num_files++;\n\t}", "entities.Torrent.FileInfo getFileInfo(int index);", "public boolean nextFileInfo(FileInfo info) {\n\n\t\t// Get the next file from the search\n\n\t\ttry {\n\n\t\t\t// Return the next file details or loop until a match is found if a\n\t\t\t// complex wildcard filter\n\t\t\t// has been specified\n\t\t\twhile (m_rs.next()) {\n\t\t\t\tString name = m_rs.getString(\"name\");\n\t\t\t\t// Get the file name for the next file\n\t\t\t\tinfo.setFileId(m_rs.getInt(\"id\"));\n\t\t\t\tinfo.setFileName(name);\n\t\t\t\tinfo.setSize(m_rs.getLong(\"size\"));\n\t\t\t\tif(name.equalsIgnoreCase(DBUtil.CLOUDURL))\n\t\t\t\t{\n\t\t\t\t\ttry{\n\t\t\t\t\t//重设置大小\n\t\t\t\t\tinfo.setFileId(-99);\n//\t\t\t\t\tinfo.setFileId(-userId);\n\t\t\t\t\tinfo.setSize(DBUtil.getURLMYFILE_TXT(this.getBaseUrl(),userId).getBytes().length);\n\t\t\t\t\t}catch(Exception e)\n\t\t\t\t\t{\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tlong modifyDate = m_rs.getLong(\"lastModified\");\n\t\t\t\tif (modifyDate != 0L)\n\t\t\t\t\tinfo.setModifyDateTime(modifyDate);\n\t\t\t\telse\n\t\t\t\t\tinfo.setModifyDateTime(System.currentTimeMillis());\n\t\t\t\t\n\t\t\t\tTimestamp ts = m_rs.getTimestamp(\"add_time\");\n\t\t\t\tif (ts !=null && ts.getTime()>0)\n\t\t\t\t{\n\t\t\t\t\tinfo.setCreationDateTime(ts.getTime());\n\t\t\t\t\tinfo.setChangeDateTime(info.getModifyDateTime());\n\t\t\t\t}\n\t\t\t\telse\n\t\t\t\t{\n\t\t\t\t\tinfo.setCreationDateTime(info.getModifyDateTime());\n\t\t\t\t\tinfo.setChangeDateTime(info.getModifyDateTime());\n\t\t\t\t}\t\t\t\t\n\t\t\t\tint attr = 0;\n\t\t\t\tif (m_rs.getBoolean(\"isFile\") == true) {\n\t\t\t\t\tinfo.setFileType(FileType.RegularFile);\t\t\t\t\t\n\t\t\t\t\tattr += FileAttribute.ReadOnly;// 只读权限\n\t\t\t\t} else\n\t\t\t\t\tattr += FileAttribute.Directory;\n\n\t\t\t\tif (m_rs.getBoolean(\"isHidden\") == true) \n\t\t\t\t{\n\t\t\t\t\tattr += FileAttribute.Hidden;//隐藏\n\t\t\t\t}\n\t\t\t\tinfo.setFileType(FileType.Directory);\n\t\t\t\t\t\t\t\t\n\t\t\t\tif (hasMarkAsOffline()) {\n\t\t\t\t\tif (getOfflineFileSize() == 0 || info.getSize() >= getOfflineFileSize())\n\t\t\t\t\t\tattr += FileAttribute.NTOffline;\n\t\t\t\t}\n\t\t\t\tinfo.setFileAttributes(attr);\n\t\t\t\tinfo.setUid(userId);\n\n\t\t\t\tif (m_filter == null || m_filter.matchesPattern(info.getFileName()) == true)\n\t\t\t\t\treturn true;\n\t\t\t}\n\t\t} catch (SQLException ex) {\n\t\t\tex.printStackTrace();\n\t\t}\n\t\t// No more files\n\t\tcloseSearch();\n\t\treturn false;\n\t}", "entities.Torrent.FileInfo getFileInfo();", "entities.Torrent.FileInfo getFileInfo();", "entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder(\n int index);", "DiscFileInfo getFileInfo(String path) throws IOException;", "void setFile(String i) {\n file = i;\n }", "@java.lang.Override\n public int getFileInfoCount() {\n return fileInfo_.size();\n }", "public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder(\n int index) {\n if (fileInfoBuilder_ == null) {\n return fileInfo_.get(index); } else {\n return fileInfoBuilder_.getMessageOrBuilder(index);\n }\n }", "@java.lang.Override\n public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder() {\n return getFileInfo();\n }", "@java.lang.Override\n public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder() {\n return getFileInfo();\n }", "fileInfo(){\n\t\tsymbol = new node[MAXLINECOUNT + 2];\n\t\tother = null; // allocated later!\n\t}", "public Builder addFileInfo(entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureFileInfoIsMutable();\n fileInfo_.add(value);\n onChanged();\n } else {\n fileInfoBuilder_.addMessage(value);\n }\n return this;\n }", "public synchronized FileInfo getOrAddFileInfo(FileInfo alphaFileInfo) {\n String app = alphaFileInfo.getApp();\n String caption = alphaFileInfo.getCaption();\n AppAndCaptionKey key = new AppAndCaptionKey(app, caption);\n String fileId = appAndCaptionToId.get(key);\n if(fileId==null){\n fileId = getNextFileId();\n appAndCaptionToId.put(key, fileId);\n }\n\n //2. Creating file info\n FileInfo sigmaFileInfo = fileCache.getFileInfo(app,fileId);\n if(sigmaFileInfo==null){\n sigmaFileInfo = (FileInfo) alphaFileInfo.clone();\n }\n sigmaFileInfo.setId(fileId);\n return sigmaFileInfo;\n }", "entities.Torrent.FileInfo getFiles(int index);", "com.google.devtools.kythe.proto.Analysis.FileInfoOrBuilder getEntryOrBuilder(\n int index);", "public final FileInfoBase getFileInfo() {\r\n return fileInfo;\r\n }", "public void setFileId(Long fileId) {\n/* 31:31 */ this.fileId = fileId;\n/* 32: */ }", "public entities.Torrent.FileInfo.Builder addFileInfoBuilder() {\n return getFileInfoFieldBuilder().addBuilder(\n entities.Torrent.FileInfo.getDefaultInstance());\n }", "@Override\r\n\tpublic int addAnimalFileInfo(FileInfo fileInfo) {\n\t\treturn fileInfoMapper.addAnimalFileInfo(fileInfo);\r\n\t}", "public abstract long NewFileNumber();", "public Builder addFileInfo(\n int index, entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureFileInfoIsMutable();\n fileInfo_.add(index, value);\n onChanged();\n } else {\n fileInfoBuilder_.addMessage(index, value);\n }\n return this;\n }", "public FileInfo(File file) {\n this.file = file;\n }", "int attrib(int i, File v) {\n if (i < max) {\n AllFiles[i] = v;\n } else {\n File[] temp = new File[max];\n int j;\n for (j = 0; j < max; j++) temp[j] = AllFiles[j];\n AllFiles = new File[max + increase];\n for (j = 0; j < max; j++) AllFiles[j] = temp[j];\n max = max + increase;\n AllFiles[i] = v;\n }\n return (0);\n }", "public boolean hasFileInfo() {\n return fieldSetFlags()[15];\n }", "public Builder setFileInfo(\n int index, entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureFileInfoIsMutable();\n fileInfo_.set(index, value);\n onChanged();\n } else {\n fileInfoBuilder_.setMessage(index, value);\n }\n return this;\n }", "public com.opentext.bn.converters.avro.entity.PayloadRef getFileInfo() {\n return fileInfo;\n }", "entities.Torrent.FileInfoOrBuilder getFilesOrBuilder(\n int index);", "public com.opentext.bn.converters.avro.entity.PayloadRef getFileInfo() {\n return fileInfo;\n }", "com.google.devtools.kythe.proto.Analysis.FileInfo getEntry(int index);", "public TagFileInfo[] getTagFiles() {\n/* 176 */ return this.tagFiles;\n/* */ }", "public Builder setFileInfo(entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n fileInfo_ = value;\n onChanged();\n } else {\n fileInfoBuilder_.setMessage(value);\n }\n\n return this;\n }", "public Builder setFileInfo(entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n fileInfo_ = value;\n onChanged();\n } else {\n fileInfoBuilder_.setMessage(value);\n }\n\n return this;\n }", "private FileInfo(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "public Builder addAllFileInfo(\n java.lang.Iterable<? extends entities.Torrent.FileInfo> values) {\n if (fileInfoBuilder_ == null) {\n ensureFileInfoIsMutable();\n com.google.protobuf.AbstractMessageLite.Builder.addAll(\n values, fileInfo_);\n onChanged();\n } else {\n fileInfoBuilder_.addAllMessages(values);\n }\n return this;\n }", "public int getFileInfoCount() {\n if (fileInfoBuilder_ == null) {\n return fileInfo_.size();\n } else {\n return fileInfoBuilder_.getCount();\n }\n }", "public void constructWith(LzzFileInfo pro) {\n\t\tthis.id = pro.getId ();\n\n\t\tthis.fname = pro.getFname ();\n\n\t\tthis.ftype = pro.getFtype ();\n\n\t\tthis.fsavepath = pro.getFsavepath ();\n\n\t\tthis.furlpath = pro.getFurlpath ();\n\n\t\tthis.createTime = pro.getCreateTime ();\n\n\t\tthis.modifyTime = pro.getModifyTime ();\n\n\t\tthis.def1 = pro.getDef1 ();\n\n\t\tthis.def2 = pro.getDef2 ();\n\n\t\tthis.def3 = pro.getDef3 ();\n\n\t\tthis.def4 = pro.getDef4 ();\n\n\t\tthis.def5 = pro.getDef5 ();\n\n\t\tthis.def6 = pro.getDef6 ();\n\n\t\tthis.def7 = pro.getDef7 ();\n\n\t\tthis.def8 = pro.getDef8 ();\n\n\t\tthis.def9 = pro.getDef9 ();\n\n\t\tthis.def10 = pro.getDef10 ();\n\n\t\tthis.dr = pro.getDr ();\n\n\t}", "public FileInfo(NXTComm nxt, String fileName){\r\n\t\tthis.comm = nxt;\r\n\t\tthis.fileName = fileName;\r\n\t}", "public FileInfo()\r\n {\r\n hash = new HashInfo();\r\n }", "@Override\n public List<FileInfo> getLibrarySubFiles(FileInfo fileInfo) {\n return null;\n }", "public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder() {\n if (fileInfoBuilder_ != null) {\n return fileInfoBuilder_.getMessageOrBuilder();\n } else {\n return fileInfo_ == null ?\n entities.Torrent.FileInfo.getDefaultInstance() : fileInfo_;\n }\n }", "public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder() {\n if (fileInfoBuilder_ != null) {\n return fileInfoBuilder_.getMessageOrBuilder();\n } else {\n return fileInfo_ == null ?\n entities.Torrent.FileInfo.getDefaultInstance() : fileInfo_;\n }\n }", "public DotFileEnumerator(File file)\n {\n fileList.add(file.toString());\n }", "public Builder mergeFileInfo(entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (fileInfo_ != null) {\n fileInfo_ =\n entities.Torrent.FileInfo.newBuilder(fileInfo_).mergeFrom(value).buildPartial();\n } else {\n fileInfo_ = value;\n }\n onChanged();\n } else {\n fileInfoBuilder_.mergeFrom(value);\n }\n\n return this;\n }", "public Builder mergeFileInfo(entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (fileInfo_ != null) {\n fileInfo_ =\n entities.Torrent.FileInfo.newBuilder(fileInfo_).mergeFrom(value).buildPartial();\n } else {\n fileInfo_ = value;\n }\n onChanged();\n } else {\n fileInfoBuilder_.mergeFrom(value);\n }\n\n return this;\n }", "int getFileCount();", "public com.google.devtools.kythe.proto.Analysis.FileInfoOrBuilder getEntryOrBuilder(\n int index) {\n return entry_.get(index);\n }", "public int getFileFlags() { return fileFlags; }", "public Builder clearFileInfo() {\n if (fileInfoBuilder_ == null) {\n fileInfo_ = java.util.Collections.emptyList();\n bitField0_ = (bitField0_ & ~0x00000001);\n onChanged();\n } else {\n fileInfoBuilder_.clear();\n }\n return this;\n }", "public com.opentext.bn.converters.avro.entity.PayloadRef.Builder getFileInfoBuilder() {\n if (fileInfoBuilder == null) {\n if (hasFileInfo()) {\n setFileInfoBuilder(com.opentext.bn.converters.avro.entity.PayloadRef.newBuilder(fileInfo));\n } else {\n setFileInfoBuilder(com.opentext.bn.converters.avro.entity.PayloadRef.newBuilder());\n }\n }\n return fileInfoBuilder;\n }", "public void process(TiffFileInfo info)\n {\n }", "public com.google.devtools.kythe.proto.Analysis.FileInfo.Builder addEntryBuilder() {\n return getEntryFieldBuilder().addBuilder(\n com.google.devtools.kythe.proto.Analysis.FileInfo.getDefaultInstance());\n }", "@java.lang.Override\n public entities.Torrent.FileInfo getFileInfo(int index) {\n return fileInfo_.get(index);\n }", "public Long getFileId() {\n/* 35:35 */ return this.fileId;\n/* 36: */ }", "private com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.FileInfo, entities.Torrent.FileInfo.Builder, entities.Torrent.FileInfoOrBuilder>\n getFileInfoFieldBuilder() {\n if (fileInfoBuilder_ == null) {\n fileInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.FileInfo, entities.Torrent.FileInfo.Builder, entities.Torrent.FileInfoOrBuilder>(\n getFileInfo(),\n getParentForChildren(),\n isClean());\n fileInfo_ = null;\n }\n return fileInfoBuilder_;\n }", "private com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.FileInfo, entities.Torrent.FileInfo.Builder, entities.Torrent.FileInfoOrBuilder>\n getFileInfoFieldBuilder() {\n if (fileInfoBuilder_ == null) {\n fileInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.FileInfo, entities.Torrent.FileInfo.Builder, entities.Torrent.FileInfoOrBuilder>(\n getFileInfo(),\n getParentForChildren(),\n isClean());\n fileInfo_ = null;\n }\n return fileInfoBuilder_;\n }", "private void updateFiles() {\n\t}", "public entities.Torrent.FileInfo.Builder addFileInfoBuilder(\n int index) {\n return getFileInfoFieldBuilder().addBuilder(\n index, entities.Torrent.FileInfo.getDefaultInstance());\n }", "public interface FileSelectInfo\n{\n /**\n * Returns the base folder of the traversal.\n * @return FileObject representing the base folder.\n */\n FileObject getBaseFolder();\n\n /**\n * Returns the file (or folder) to be considered.\n * @return The FileObject.\n */\n FileObject getFile();\n\n /**\n * Returns the depth of the file relative to the base folder.\n * @return The depth of the file relative to the base folder.\n */\n int getDepth();\n}", "public entities.Torrent.FileInfo.Builder getFileInfoBuilder(\n int index) {\n return getFileInfoFieldBuilder().getBuilder(index);\n }", "public entities.Torrent.FileInfo.Builder getFileInfoBuilder() {\n\n onChanged();\n return getFileInfoFieldBuilder().getBuilder();\n }", "public entities.Torrent.FileInfo.Builder getFileInfoBuilder() {\n\n onChanged();\n return getFileInfoFieldBuilder().getBuilder();\n }", "public entities.Torrent.FileInfoOrBuilder getFilesOrBuilder(\n int index) {\n if (filesBuilder_ == null) {\n return files_.get(index); } else {\n return filesBuilder_.getMessageOrBuilder(index);\n }\n }", "private void getExtractWithFiles(){\n\t\ttry{\n\t\t\t\n\t\t\tFileInputStream fStream = new FileInputStream(tfile);\n\t\t\tfileBytes = new byte[(int)tfile.length()];\n\t\t\t\n\t\t\tfStream.read(fileBytes, 0, fileBytes.length);\n\t\t\tfileSize = fileBytes.length;\n\t\t}catch(Exception ex){\n\t\t\tSystem.err.println(\"File Packet \"+ex.getMessage());\n\t\t}\n\t}", "private static void printFileInfo(File file) {\n window.putLog(String.format(\"[%6dkb] Modified %s @%s\", 1 + file.length() / 1024,\n new SimpleDateFormat(\"YYYY-MM-dd HH:mm\").format(new Date(file.lastModified())),\n file.getPath().substring(workingDirectory.getParent().length())));\n }", "public interface FileSystemEntry {\n public long getCount();\n public long getSize();\n public String getName();\n}", "public PSMatrixFilesMeta() {\r\n this(-1, new ConcurrentSkipListMap<Integer, MatrixPartitionMeta>());\r\n }", "protected final void setFileInformation( FileInfo fInfo) {\n\t\tm_info = fInfo;\n\t}", "public java.util.List<? extends entities.Torrent.FileInfoOrBuilder>\n getFileInfoOrBuilderList() {\n if (fileInfoBuilder_ != null) {\n return fileInfoBuilder_.getMessageOrBuilderList();\n } else {\n return java.util.Collections.unmodifiableList(fileInfo_);\n }\n }", "int getFileNamesCount();", "int getFileNamesCount();", "public void filesNotFound(File... f) { }", "public void filesNotFound(File... f) { }", "@Override\n public void onPick(FileInfo f) {\n }", "public void setFileRecordCount(int ct) {\n\t\tfileRecordCount = ct;\n\t}", "public com.opentext.bn.converters.avro.entity.DocumentEvent.Builder setFileInfo(com.opentext.bn.converters.avro.entity.PayloadRef value) {\n validate(fields()[15], value);\n this.fileInfoBuilder = null;\n this.fileInfo = value;\n fieldSetFlags()[15] = true;\n return this;\n }", "public DotFileEnumerator(String filePath)\n {\n String[] tempArr = new File(filePath).list();\n\n for (String s : tempArr) {\n fileList.add(filePath + \"/\" + s);\n }\n }", "@java.lang.Override\n public entities.Torrent.FileInfo getFileInfo() {\n return fileInfo_ == null ? entities.Torrent.FileInfo.getDefaultInstance() : fileInfo_;\n }", "@java.lang.Override\n public entities.Torrent.FileInfo getFileInfo() {\n return fileInfo_ == null ? entities.Torrent.FileInfo.getDefaultInstance() : fileInfo_;\n }", "public FileInfoICS(String name, String directory, int format) {\r\n super(name, directory, format);\r\n }", "public FileInfo(FileInfo v)\n \t{\n \t\ttitle = v.title;\n \t\tauthors = v.authors;\n \t\tseries = v.series;\n \t\tseriesNumber = v.seriesNumber;\n \t\tpath = v.path;\n \t\tfilename = v.filename;\n \t\tpathname = v.pathname;\n \t\tarcname = v.arcname;\n \t\tformat = v.format;\n \t\tsize = v.size;\n \t\tarcsize = v.arcsize;\n \t\tisArchive = v.isArchive;\n \t\tisDirectory = v.isDirectory;\n \t\tcreateTime = v.createTime;\n \t\tlastAccessTime = v.lastAccessTime;\n \t}", "public ImageFiles() {\n\t\tthis.listOne = new ArrayList<String>();\n\t\tthis.listTwo = new ArrayList<String>();\n\t\tthis.listThree = new ArrayList<String>();\n\t\tthis.seenImages = new ArrayList<String>();\n\t\tthis.unseenImages = new ArrayList<String>();\n\t}", "@java.lang.Override\n public java.util.List<? extends entities.Torrent.FileInfoOrBuilder>\n getFileInfoOrBuilderList() {\n return fileInfo_;\n }", "int countByExample(AvwFileprocessExample example);", "public Builder addEntry(com.google.devtools.kythe.proto.Analysis.FileInfo value) {\n if (entryBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureEntryIsMutable();\n entry_.add(value);\n onChanged();\n } else {\n entryBuilder_.addMessage(value);\n }\n return this;\n }", "ds.hdfs.generated.FileMetadata getFiles(int index);", "java.util.List<? extends entities.Torrent.FileInfoOrBuilder>\n getFileInfoOrBuilderList();", "public Long getFileID()\n/* */ {\n/* 88 */ return this.fileID;\n/* */ }", "public void incuploadcount(){\n\t\tthis. num_upload++;\n\t}", "public Vector<file> count()\n {\n Vector<Model.file> files = new Vector<>();\n try\n {\n pw.println(11);\n\n files = (Vector<Model.file>) ois.readObject();\n\n }\n catch (ClassNotFoundException | IOException e)\n {\n System.out.println(e.getMessage());\n }\n return files ;\n }" ]
[ "0.63404644", "0.60424006", "0.58997285", "0.5897735", "0.5897735", "0.5893349", "0.5840858", "0.5782364", "0.575059", "0.56671757", "0.5661143", "0.5629983", "0.55628306", "0.55628306", "0.54918736", "0.54439086", "0.5438974", "0.53865486", "0.53812563", "0.53554535", "0.53554535", "0.5350297", "0.53485256", "0.5337326", "0.5325269", "0.5323776", "0.5317618", "0.5316972", "0.5305772", "0.5301568", "0.5289526", "0.52858317", "0.527939", "0.527717", "0.5246745", "0.5238312", "0.52333695", "0.52198213", "0.520472", "0.5197636", "0.5181744", "0.5180735", "0.5179602", "0.5171487", "0.5170226", "0.5151229", "0.5126351", "0.51164293", "0.51105917", "0.51006323", "0.5064827", "0.5064827", "0.5030081", "0.50298166", "0.5029732", "0.50183815", "0.5008859", "0.5008625", "0.5002189", "0.5000041", "0.4996095", "0.49911362", "0.4988522", "0.49871376", "0.49688184", "0.4968441", "0.49640483", "0.49627694", "0.49464682", "0.49452326", "0.49435145", "0.4940706", "0.4939512", "0.4919068", "0.49134657", "0.4912824", "0.48992985", "0.48903668", "0.4889867", "0.48865864", "0.48865864", "0.48813212", "0.48813212", "0.48808643", "0.48788455", "0.48786306", "0.4874242", "0.48689762", "0.48689762", "0.48684502", "0.48670304", "0.48606005", "0.48516285", "0.48392272", "0.48242542", "0.48236215", "0.48225048", "0.4821103", "0.48174718", "0.4813819" ]
0.5436454
17
.Status status = 1;
@java.lang.Override public int getStatusValue() { return status_; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setStatus(String status) { this.status = status; }", "void setStatus(STATUS status);", "public void setStatus(EnumVar status) {\n this.status = status;\n }", "public void setStatus(Status status) {\r\n\t this.status = status;\r\n\t }", "public void setStatus(Integer status) {\r\n this.status = status;\r\n }", "public void setStatus(Integer status) {\r\n this.status = status;\r\n }", "void setStatus(int status);", "public void setStatus(Byte status) {\r\n this.status = status;\r\n }", "public void setStatus(Byte status) {\r\n this.status = status;\r\n }", "public void setStatus(Byte status) {\r\n this.status = status;\r\n }", "public void setStatus(Byte status) {\r\n this.status = status;\r\n }", "public void setStatus(Byte status) {\r\n this.status = status;\r\n }", "public void setStatus(Byte status) {\r\n this.status = status;\r\n }", "public void setStatus(Byte status) {\r\n this.status = status;\r\n }", "public void setStatus(int status){\r\n\t\tthis.status=status;\r\n\t}", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(int status);", "public void setStatus(int status);", "public void setStatus(Boolean s){ status = s;}", "public void setStatus(int status) {\n STATUS = status;\n }", "public void setStatus(Status newStatus){\n status = newStatus;\n }", "public void setStatus(String stat)\n {\n status = stat;\n }", "private void setStatus(com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n status_ = value;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(long status) {\r\n this.status = status;\r\n }", "public void setStatus(Integer status) {\n\t\tthis.status = status;\n\t}", "public void setStatus(Integer status) {\n\t\tthis.status = status;\n\t}", "public void setStatus(String status) {\r\n this.status = status;\r\n }", "public void setStatus(java.lang.Object status) {\n this.status = status;\n }", "public void setStatus(Status status)\n {\n this.status = status;\n }", "public void setgetStatus()\r\n\t{\r\n\t\tthis.status = 'S';\r\n\t}", "public void setStatus(Byte status) {\r\n\t\tthis.status = status;\r\n\t}", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "@Override\n\t\tpublic void setStatus(int status) {\n\t\t\t\n\t\t}", "public void setStatus(StatusEnum status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n\t\tthis.status = status;\n\t}", "public void setStatus(Byte status) {\n\t\tthis.status = status;\n\t}", "public void setStatus(int status) {\n this.status = status;\n }", "public void setStatus(int status) {\n this.status = status;\n }", "public void setStatus(Status status) {\r\n this.status = status;\r\n }", "public void setStatus(String status) {\r\n this.status = status;\r\n }", "public void setStatus(String status) {\r\n this.status = status;\r\n }", "public void setStatus(Short status) {\n this.status = status;\n }", "public void setStatus(STATUS status) {\n this.status = status;\n }", "void setStatus(String status);", "public void setStatus(Short status) {\n\t\tthis.status = status;\n\t}", "public void setStatus(Short status) {\n\t\tthis.status = status;\n\t}", "public void setStatus(int v) \n {\n \n if (this.status != v)\n {\n this.status = v;\n setModified(true);\n }\n \n \n }", "public void setStatus( Short status ) {\n this.status = status;\n }", "public void setStatus(String newStatus){\n\n //assigns the value of newStatus to the status field\n this.status = newStatus;\n }", "public Status getStatus(){\n return status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(Status status) {\n this.status = status;\n }", "public void setStatus(Status status) {\n this.status = status;\n }", "public void setStatus(Status status) {\n this.status = status;\n }" ]
[ "0.7656765", "0.76468766", "0.7565312", "0.7561203", "0.75449044", "0.75449044", "0.75349724", "0.74959093", "0.74959093", "0.74959093", "0.74959093", "0.74959093", "0.74959093", "0.74959093", "0.7482147", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.74783385", "0.74783385", "0.746719", "0.74658287", "0.746098", "0.7456925", "0.7452718", "0.7435934", "0.7435934", "0.7435934", "0.7435934", "0.7435934", "0.7435934", "0.7435934", "0.7435934", "0.7435934", "0.7435934", "0.7435934", "0.7435934", "0.7435934", "0.7435248", "0.7432568", "0.7432568", "0.7425985", "0.74143654", "0.74118876", "0.7398544", "0.7398282", "0.73973185", "0.73973185", "0.7396562", "0.73950607", "0.7392215", "0.7392215", "0.7382456", "0.7382456", "0.7378742", "0.73726434", "0.73726434", "0.7368736", "0.73626804", "0.7351154", "0.7345713", "0.7345713", "0.73451585", "0.7332328", "0.7329264", "0.73258084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.728639", "0.728639", "0.728639" ]
0.0
-1
.Status status = 1;
public Builder setStatusValue(int value) { status_ = value; onChanged(); return this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setStatus(String status) { this.status = status; }", "void setStatus(STATUS status);", "public void setStatus(EnumVar status) {\n this.status = status;\n }", "public void setStatus(Status status) {\r\n\t this.status = status;\r\n\t }", "public void setStatus(Integer status) {\r\n this.status = status;\r\n }", "public void setStatus(Integer status) {\r\n this.status = status;\r\n }", "void setStatus(int status);", "public void setStatus(Byte status) {\r\n this.status = status;\r\n }", "public void setStatus(Byte status) {\r\n this.status = status;\r\n }", "public void setStatus(Byte status) {\r\n this.status = status;\r\n }", "public void setStatus(Byte status) {\r\n this.status = status;\r\n }", "public void setStatus(Byte status) {\r\n this.status = status;\r\n }", "public void setStatus(Byte status) {\r\n this.status = status;\r\n }", "public void setStatus(Byte status) {\r\n this.status = status;\r\n }", "public void setStatus(int status){\r\n\t\tthis.status=status;\r\n\t}", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(int status);", "public void setStatus(int status);", "public void setStatus(Boolean s){ status = s;}", "public void setStatus(int status) {\n STATUS = status;\n }", "public void setStatus(Status newStatus){\n status = newStatus;\n }", "public void setStatus(String stat)\n {\n status = stat;\n }", "private void setStatus(com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n status_ = value;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(long status) {\r\n this.status = status;\r\n }", "public void setStatus(Integer status) {\n\t\tthis.status = status;\n\t}", "public void setStatus(Integer status) {\n\t\tthis.status = status;\n\t}", "public void setStatus(String status) {\r\n this.status = status;\r\n }", "public void setStatus(java.lang.Object status) {\n this.status = status;\n }", "public void setStatus(Status status)\n {\n this.status = status;\n }", "public void setgetStatus()\r\n\t{\r\n\t\tthis.status = 'S';\r\n\t}", "public void setStatus(Byte status) {\r\n\t\tthis.status = status;\r\n\t}", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "@Override\n\t\tpublic void setStatus(int status) {\n\t\t\t\n\t\t}", "public void setStatus(StatusEnum status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n\t\tthis.status = status;\n\t}", "public void setStatus(Byte status) {\n\t\tthis.status = status;\n\t}", "public void setStatus(int status) {\n this.status = status;\n }", "public void setStatus(int status) {\n this.status = status;\n }", "public void setStatus(Status status) {\r\n this.status = status;\r\n }", "public void setStatus(String status) {\r\n this.status = status;\r\n }", "public void setStatus(String status) {\r\n this.status = status;\r\n }", "public void setStatus(Short status) {\n this.status = status;\n }", "public void setStatus(STATUS status) {\n this.status = status;\n }", "void setStatus(String status);", "public void setStatus(Short status) {\n\t\tthis.status = status;\n\t}", "public void setStatus(Short status) {\n\t\tthis.status = status;\n\t}", "public void setStatus(int v) \n {\n \n if (this.status != v)\n {\n this.status = v;\n setModified(true);\n }\n \n \n }", "public void setStatus( Short status ) {\n this.status = status;\n }", "public void setStatus(String newStatus){\n\n //assigns the value of newStatus to the status field\n this.status = newStatus;\n }", "public Status getStatus(){\n return status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(Status status) {\n this.status = status;\n }", "public void setStatus(Status status) {\n this.status = status;\n }", "public void setStatus(Status status) {\n this.status = status;\n }" ]
[ "0.7656765", "0.76468766", "0.7565312", "0.7561203", "0.75449044", "0.75449044", "0.75349724", "0.74959093", "0.74959093", "0.74959093", "0.74959093", "0.74959093", "0.74959093", "0.74959093", "0.7482147", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.74783385", "0.74783385", "0.746719", "0.74658287", "0.746098", "0.7456925", "0.7452718", "0.7435934", "0.7435934", "0.7435934", "0.7435934", "0.7435934", "0.7435934", "0.7435934", "0.7435934", "0.7435934", "0.7435934", "0.7435934", "0.7435934", "0.7435934", "0.7435248", "0.7432568", "0.7432568", "0.7425985", "0.74143654", "0.74118876", "0.7398544", "0.7398282", "0.73973185", "0.73973185", "0.7396562", "0.73950607", "0.7392215", "0.7392215", "0.7382456", "0.7382456", "0.7378742", "0.73726434", "0.73726434", "0.7368736", "0.73626804", "0.7351154", "0.7345713", "0.7345713", "0.73451585", "0.7332328", "0.7329264", "0.73258084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.728639", "0.728639", "0.728639" ]
0.0
-1
.Status status = 1;
@java.lang.Override public entities.Torrent.Status getStatus() { @SuppressWarnings("deprecation") entities.Torrent.Status result = entities.Torrent.Status.valueOf(status_); return result == null ? entities.Torrent.Status.UNRECOGNIZED : result; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setStatus(String status) { this.status = status; }", "void setStatus(STATUS status);", "public void setStatus(EnumVar status) {\n this.status = status;\n }", "public void setStatus(Status status) {\r\n\t this.status = status;\r\n\t }", "public void setStatus(Integer status) {\r\n this.status = status;\r\n }", "public void setStatus(Integer status) {\r\n this.status = status;\r\n }", "void setStatus(int status);", "public void setStatus(Byte status) {\r\n this.status = status;\r\n }", "public void setStatus(Byte status) {\r\n this.status = status;\r\n }", "public void setStatus(Byte status) {\r\n this.status = status;\r\n }", "public void setStatus(Byte status) {\r\n this.status = status;\r\n }", "public void setStatus(Byte status) {\r\n this.status = status;\r\n }", "public void setStatus(Byte status) {\r\n this.status = status;\r\n }", "public void setStatus(Byte status) {\r\n this.status = status;\r\n }", "public void setStatus(int status){\r\n\t\tthis.status=status;\r\n\t}", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(int status);", "public void setStatus(int status);", "public void setStatus(Boolean s){ status = s;}", "public void setStatus(int status) {\n STATUS = status;\n }", "public void setStatus(Status newStatus){\n status = newStatus;\n }", "public void setStatus(String stat)\n {\n status = stat;\n }", "private void setStatus(com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n status_ = value;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(long status) {\r\n this.status = status;\r\n }", "public void setStatus(Integer status) {\n\t\tthis.status = status;\n\t}", "public void setStatus(Integer status) {\n\t\tthis.status = status;\n\t}", "public void setStatus(String status) {\r\n this.status = status;\r\n }", "public void setStatus(java.lang.Object status) {\n this.status = status;\n }", "public void setStatus(Status status)\n {\n this.status = status;\n }", "public void setgetStatus()\r\n\t{\r\n\t\tthis.status = 'S';\r\n\t}", "public void setStatus(Byte status) {\r\n\t\tthis.status = status;\r\n\t}", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "@Override\n\t\tpublic void setStatus(int status) {\n\t\t\t\n\t\t}", "public void setStatus(StatusEnum status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n\t\tthis.status = status;\n\t}", "public void setStatus(Byte status) {\n\t\tthis.status = status;\n\t}", "public void setStatus(int status) {\n this.status = status;\n }", "public void setStatus(int status) {\n this.status = status;\n }", "public void setStatus(Status status) {\r\n this.status = status;\r\n }", "public void setStatus(String status) {\r\n this.status = status;\r\n }", "public void setStatus(String status) {\r\n this.status = status;\r\n }", "public void setStatus(Short status) {\n this.status = status;\n }", "public void setStatus(STATUS status) {\n this.status = status;\n }", "void setStatus(String status);", "public void setStatus(Short status) {\n\t\tthis.status = status;\n\t}", "public void setStatus(Short status) {\n\t\tthis.status = status;\n\t}", "public void setStatus(int v) \n {\n \n if (this.status != v)\n {\n this.status = v;\n setModified(true);\n }\n \n \n }", "public void setStatus( Short status ) {\n this.status = status;\n }", "public void setStatus(String newStatus){\n\n //assigns the value of newStatus to the status field\n this.status = newStatus;\n }", "public Status getStatus(){\n return status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(Status status) {\n this.status = status;\n }", "public void setStatus(Status status) {\n this.status = status;\n }", "public void setStatus(Status status) {\n this.status = status;\n }" ]
[ "0.7656765", "0.76468766", "0.7565312", "0.7561203", "0.75449044", "0.75449044", "0.75349724", "0.74959093", "0.74959093", "0.74959093", "0.74959093", "0.74959093", "0.74959093", "0.74959093", "0.7482147", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.74783385", "0.74783385", "0.746719", "0.74658287", "0.746098", "0.7456925", "0.7452718", "0.7435934", "0.7435934", "0.7435934", "0.7435934", "0.7435934", "0.7435934", "0.7435934", "0.7435934", "0.7435934", "0.7435934", "0.7435934", "0.7435934", "0.7435934", "0.7435248", "0.7432568", "0.7432568", "0.7425985", "0.74143654", "0.74118876", "0.7398544", "0.7398282", "0.73973185", "0.73973185", "0.7396562", "0.73950607", "0.7392215", "0.7392215", "0.7382456", "0.7382456", "0.7378742", "0.73726434", "0.73726434", "0.7368736", "0.73626804", "0.7351154", "0.7345713", "0.7345713", "0.73451585", "0.7332328", "0.7329264", "0.73258084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.728639", "0.728639", "0.728639" ]
0.0
-1
.Status status = 1;
public Builder setStatus(entities.Torrent.Status value) { if (value == null) { throw new NullPointerException(); } status_ = value.getNumber(); onChanged(); return this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setStatus(String status) { this.status = status; }", "void setStatus(STATUS status);", "public void setStatus(EnumVar status) {\n this.status = status;\n }", "public void setStatus(Status status) {\r\n\t this.status = status;\r\n\t }", "public void setStatus(Integer status) {\r\n this.status = status;\r\n }", "public void setStatus(Integer status) {\r\n this.status = status;\r\n }", "void setStatus(int status);", "public void setStatus(Byte status) {\r\n this.status = status;\r\n }", "public void setStatus(Byte status) {\r\n this.status = status;\r\n }", "public void setStatus(Byte status) {\r\n this.status = status;\r\n }", "public void setStatus(Byte status) {\r\n this.status = status;\r\n }", "public void setStatus(Byte status) {\r\n this.status = status;\r\n }", "public void setStatus(Byte status) {\r\n this.status = status;\r\n }", "public void setStatus(Byte status) {\r\n this.status = status;\r\n }", "public void setStatus(int status){\r\n\t\tthis.status=status;\r\n\t}", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(int status);", "public void setStatus(int status);", "public void setStatus(Boolean s){ status = s;}", "public void setStatus(int status) {\n STATUS = status;\n }", "public void setStatus(Status newStatus){\n status = newStatus;\n }", "public void setStatus(String stat)\n {\n status = stat;\n }", "private void setStatus(com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n status_ = value;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(long status) {\r\n this.status = status;\r\n }", "public void setStatus(Integer status) {\n\t\tthis.status = status;\n\t}", "public void setStatus(Integer status) {\n\t\tthis.status = status;\n\t}", "public void setStatus(String status) {\r\n this.status = status;\r\n }", "public void setStatus(java.lang.Object status) {\n this.status = status;\n }", "public void setStatus(Status status)\n {\n this.status = status;\n }", "public void setgetStatus()\r\n\t{\r\n\t\tthis.status = 'S';\r\n\t}", "public void setStatus(Byte status) {\r\n\t\tthis.status = status;\r\n\t}", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "@Override\n\t\tpublic void setStatus(int status) {\n\t\t\t\n\t\t}", "public void setStatus(StatusEnum status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n\t\tthis.status = status;\n\t}", "public void setStatus(Byte status) {\n\t\tthis.status = status;\n\t}", "public void setStatus(int status) {\n this.status = status;\n }", "public void setStatus(int status) {\n this.status = status;\n }", "public void setStatus(Status status) {\r\n this.status = status;\r\n }", "public void setStatus(String status) {\r\n this.status = status;\r\n }", "public void setStatus(String status) {\r\n this.status = status;\r\n }", "public void setStatus(Short status) {\n this.status = status;\n }", "public void setStatus(STATUS status) {\n this.status = status;\n }", "void setStatus(String status);", "public void setStatus(Short status) {\n\t\tthis.status = status;\n\t}", "public void setStatus(Short status) {\n\t\tthis.status = status;\n\t}", "public void setStatus(int v) \n {\n \n if (this.status != v)\n {\n this.status = v;\n setModified(true);\n }\n \n \n }", "public void setStatus( Short status ) {\n this.status = status;\n }", "public void setStatus(String newStatus){\n\n //assigns the value of newStatus to the status field\n this.status = newStatus;\n }", "public Status getStatus(){\n return status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(Status status) {\n this.status = status;\n }", "public void setStatus(Status status) {\n this.status = status;\n }", "public void setStatus(Status status) {\n this.status = status;\n }" ]
[ "0.7656765", "0.76468766", "0.7565312", "0.7561203", "0.75449044", "0.75449044", "0.75349724", "0.74959093", "0.74959093", "0.74959093", "0.74959093", "0.74959093", "0.74959093", "0.74959093", "0.7482147", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.74783385", "0.74783385", "0.746719", "0.74658287", "0.746098", "0.7456925", "0.7452718", "0.7435934", "0.7435934", "0.7435934", "0.7435934", "0.7435934", "0.7435934", "0.7435934", "0.7435934", "0.7435934", "0.7435934", "0.7435934", "0.7435934", "0.7435934", "0.7435248", "0.7432568", "0.7432568", "0.7425985", "0.74143654", "0.74118876", "0.7398544", "0.7398282", "0.73973185", "0.73973185", "0.7396562", "0.73950607", "0.7392215", "0.7392215", "0.7382456", "0.7382456", "0.7378742", "0.73726434", "0.73726434", "0.7368736", "0.73626804", "0.7351154", "0.7345713", "0.7345713", "0.73451585", "0.7332328", "0.7329264", "0.73258084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.728639", "0.728639", "0.728639" ]
0.0
-1
.Status status = 1;
public Builder clearStatus() { status_ = 0; onChanged(); return this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setStatus(String status) { this.status = status; }", "void setStatus(STATUS status);", "public void setStatus(EnumVar status) {\n this.status = status;\n }", "public void setStatus(Status status) {\r\n\t this.status = status;\r\n\t }", "public void setStatus(Integer status) {\r\n this.status = status;\r\n }", "public void setStatus(Integer status) {\r\n this.status = status;\r\n }", "void setStatus(int status);", "public void setStatus(Byte status) {\r\n this.status = status;\r\n }", "public void setStatus(Byte status) {\r\n this.status = status;\r\n }", "public void setStatus(Byte status) {\r\n this.status = status;\r\n }", "public void setStatus(Byte status) {\r\n this.status = status;\r\n }", "public void setStatus(Byte status) {\r\n this.status = status;\r\n }", "public void setStatus(Byte status) {\r\n this.status = status;\r\n }", "public void setStatus(Byte status) {\r\n this.status = status;\r\n }", "public void setStatus(int status){\r\n\t\tthis.status=status;\r\n\t}", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(int status);", "public void setStatus(int status);", "public void setStatus(Boolean s){ status = s;}", "public void setStatus(int status) {\n STATUS = status;\n }", "public void setStatus(Status newStatus){\n status = newStatus;\n }", "public void setStatus(String stat)\n {\n status = stat;\n }", "private void setStatus(com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n status_ = value;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(long status) {\r\n this.status = status;\r\n }", "public void setStatus(Integer status) {\n\t\tthis.status = status;\n\t}", "public void setStatus(Integer status) {\n\t\tthis.status = status;\n\t}", "public void setStatus(String status) {\r\n this.status = status;\r\n }", "public void setStatus(java.lang.Object status) {\n this.status = status;\n }", "public void setStatus(Status status)\n {\n this.status = status;\n }", "public void setgetStatus()\r\n\t{\r\n\t\tthis.status = 'S';\r\n\t}", "public void setStatus(Byte status) {\r\n\t\tthis.status = status;\r\n\t}", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "@Override\n\t\tpublic void setStatus(int status) {\n\t\t\t\n\t\t}", "public void setStatus(StatusEnum status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n\t\tthis.status = status;\n\t}", "public void setStatus(Byte status) {\n\t\tthis.status = status;\n\t}", "public void setStatus(int status) {\n this.status = status;\n }", "public void setStatus(int status) {\n this.status = status;\n }", "public void setStatus(Status status) {\r\n this.status = status;\r\n }", "public void setStatus(String status) {\r\n this.status = status;\r\n }", "public void setStatus(String status) {\r\n this.status = status;\r\n }", "public void setStatus(Short status) {\n this.status = status;\n }", "public void setStatus(STATUS status) {\n this.status = status;\n }", "void setStatus(String status);", "public void setStatus(Short status) {\n\t\tthis.status = status;\n\t}", "public void setStatus(Short status) {\n\t\tthis.status = status;\n\t}", "public void setStatus(int v) \n {\n \n if (this.status != v)\n {\n this.status = v;\n setModified(true);\n }\n \n \n }", "public void setStatus( Short status ) {\n this.status = status;\n }", "public void setStatus(String newStatus){\n\n //assigns the value of newStatus to the status field\n this.status = newStatus;\n }", "public Status getStatus(){\n return status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(Status status) {\n this.status = status;\n }", "public void setStatus(Status status) {\n this.status = status;\n }", "public void setStatus(Status status) {\n this.status = status;\n }" ]
[ "0.7656765", "0.76468766", "0.7565312", "0.7561203", "0.75449044", "0.75449044", "0.75349724", "0.74959093", "0.74959093", "0.74959093", "0.74959093", "0.74959093", "0.74959093", "0.74959093", "0.7482147", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.74783385", "0.74783385", "0.746719", "0.74658287", "0.746098", "0.7456925", "0.7452718", "0.7435934", "0.7435934", "0.7435934", "0.7435934", "0.7435934", "0.7435934", "0.7435934", "0.7435934", "0.7435934", "0.7435934", "0.7435934", "0.7435934", "0.7435934", "0.7435248", "0.7432568", "0.7432568", "0.7425985", "0.74143654", "0.74118876", "0.7398544", "0.7398282", "0.73973185", "0.73973185", "0.7396562", "0.73950607", "0.7392215", "0.7392215", "0.7382456", "0.7382456", "0.7378742", "0.73726434", "0.73726434", "0.7368736", "0.73626804", "0.7351154", "0.7345713", "0.7345713", "0.73451585", "0.7332328", "0.7329264", "0.73258084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.728639", "0.728639", "0.728639" ]
0.0
-1
string errorMessage = 2;
public java.lang.String getErrorMessage() { java.lang.Object ref = errorMessage_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); errorMessage_ = s; return s; } else { return (java.lang.String) ref; } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "String errorMessage();", "private void error(String string) {\n\t\r\n}", "String getErrorMessage();", "String getErrorMessage();", "String getError(int i) {\n if (i >= 0 & i < msgs.length)\n return msgs[i];\n else\n return \"Invalid Error Code\";\n }", "java.lang.String getError();", "java.lang.String getError();", "java.lang.String getError();", "java.lang.String getErrorMessage();", "java.lang.String getErrorMessage();", "java.lang.String getErrorMessage();", "java.lang.String getErrorMessage();", "java.lang.String getErrorMessage();", "java.lang.String getErrorMessage();", "java.lang.String getErrorMessage();", "java.lang.String getErrorMessage();", "java.lang.String getErrorMessage();", "java.lang.String getErrorMessage();", "java.lang.String getErrorMessage();", "java.lang.String getErrorMessage();", "void showErrorMsg(String string);", "String getGetErrorMessage();", "java.lang.String getErr();", "public String getErrorString()\r\n\t{\r\n\t\t\r\n\t\treturn ERROR_STRING;\r\n\t}", "public void error(String string) {\n\t\t\n\t}", "String getInvalidMessage();", "private static String getMessage(int code) {\n switch (code) {\n case ME_DIV_BY_ZERO:\n return \"Attempt to divide by zero.\";\n case ME_ASSIGNLITERAL:\n return \"Attempt to assign to a literal.\";\n case ME_NONVARASSIGN:\n return \"Attempt to assign to a non-variable.\";\n default:\n return \"Unknown error.\";\n }\n }", "String getErrorsString();", "public String error();", "public String getError() {\n\treturn mistake;\n }", "private String getErrorString() {\n\t\treturn \"GUID:ERROR:\" + mErrors[0][0]\n\t\t + \":\" + mErrors[1][0]\n\t\t + \":\" + mErrors[2][0]\n\t\t + \":\" + mErrors[3][0];\n\t}", "public String getErrorMessage() \r\n\t{\r\n\t\t\r\n\t\treturn errorMessage;\r\n\t\t\r\n\t}", "public java.lang.String getErrorMessage(){\n return localErrorMessage;\n }", "java.lang.String getErrmsg();", "public String getErrorString()\n\t{\n\t\treturn errorString;\n\t}", "public static String getLastErrorMessage()\r\n\t{\n\t\treturn lastAlert;\r\n\t}", "String getMessage();", "String getMessage();", "String getMessage();", "private int getErrorId(final String message) {\n\t\tif (isLowerCase(message)) {\n\t\t\treturn ERROR_LOWER_CASE;\n\t\t} else if (isUnunsedMacro(message)) {\n\t\t\treturn ERROR_UNUSED_MACRO;\n\t\t} else if (isUnunsedVariable(message)) {\n\t\t\treturn ERROR_UNUSED_VARIABLE;\n\t\t} else if (isEndLineSpace(message) || isNoSpace(message)) {\n\t\t\treturn ERROR_NO_SPACE;\n\t\t} else if (isOneSpace(message)) {\n\t\t\treturn ERROR_ONE_SPACE;\n\t\t} else {\n\t\t\treturn ERROR_INVALID;\n\t\t}\n\t}", "public String getErrorString(String message) {\n \t\treturn getString(new StringBuffer(\"error.\").append(message).toString());\n \t}", "String getErrorMessage(E input);", "public String errorMessage()\n {\n return new String(errorMessageAsBytes());\n }", "String Message ();", "public String errorMessage() {\n return errorMessage;\n }", "void SemErr(String str);", "public String getErrorMessage()\n {\n return errorMessage;\n }", "ErrorCodes(int code){\n this.code = code;\n //this.message = message;\n }", "int getErrorCode();", "public String getErrorCode();", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n if (bs.isValidUtf8()) {\n errorMessage_ = s;\n }\n return s;\n }\n }", "void showError(@StringRes int errorMessage);", "void showError(String errorMessage);", "private static int getErrorLine(String errmsg){\n\t\treturn Integer.parseInt(errmsg.substring(0,errmsg.indexOf(\":\")).substring(errmsg.substring(0,errmsg.indexOf(\":\")).lastIndexOf(\" \")+1));\n\t}", "public String errorMessage()\n {\n return edma_errorMsg;\n }", "public String getErrorMessage() {\r\n return this.errorMessage;\r\n }", "public String errorMessage() {\n return this.errorMessage;\n }", "public String getErrorMessage() {\n\t\treturn errorMessage;\n\t}", "public int getError() {\n return error;\n }", "public String getErrorMessage() {\n return this.errorMessage;\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n java.lang.String s = ((com.google.protobuf.ByteString) ref)\n .toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "void setErrorMessage(String errorMessage);", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "static int errorMsg(int eCode)\n {\n if (eCode == 0) return 0;\n String message = \"\";\n switch (eCode){\n case 1: message = \"Division by zero\"; break;\n case 2: message = \"Non-matching parenthesis in function\"; break;\n case 3: message = \"Must enclose negative exponents in parentheses\"; break;\n case 4: message = \"Incorrect Operator Syntax\"; break;\n case 5: message = \"Rightfunctions must use parenthesis. (example: ABS(-2);\"; break;\n case 6: message = \"Unrecognized token in function srtring.\"; break;\n case 8: message = \"Can not raise negative number to a fractional power.\"; break;\n case 10:message = \"Input a real number with no operators\"; break;\n }\n JOptionPane.showMessageDialog(null, message, \"Error \"+eCode, JOptionPane.ERROR_MESSAGE);\n return 0;\n }", "public String getError() {\n return errMsg;\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n }\n }", "public String getMsgError() {\r\n\t\treturn msgError;\r\n\t}", "public String getErrorMessage() {\n return errorMessage;\n }", "public String getErrorMessage() {\n return errorMessage;\n }", "public String getErrorMessage() {\n return errorMessage;\n }", "String getFailureMessage();", "public int error() {\n return this.error;\n }", "public String getParseErrorMessage();", "public String getErrorMessage() {\n return ERROR_MESSAGE;\n }", "public String getError() {\r\n if (scriptError == null) return \"\";\r\n return scriptError;\r\n }", "private String getGUIErrorMsg(long errorcode) {\n\t\tif (errorcode == 0) {\n\t\t\treturn \"This popup shouldn't have launched!\";\n\t\t} else if (errorcode == 9) {\n\t\t\treturn \"Latitude input format incorrect!\\nValid Latitude values are -90 to 90 with negative values being south Latitude.\";\n\t\t} else if (errorcode == 10) {\n\t\t\treturn \"Longitude input format incorrect!\\nValid Longitude values are -180 to 180 with negative values being west latitude.\";\n\t\t} else if (errorcode == 11) {\n\t\t\treturn \"Date input format incorrect!\\nValid dates go <year>-<month>-<day>\\nValid month values are 1- 12 and valid day values are 1 - 31.\";\n\t\t} else if (errorcode == 12) {\n\t\t\treturn \"Time input format incorrect!\\nValid times go <hour>-<minute>-<second>\\nValid hour values are 0 - 23 and valid minute and second values are 0 - 59\";\n\t\t} else if (errorcode == 1) {\n\t\t\treturn \"Invalid latitude!\\nValid Latitude values are -90 to 90 with negative values being south Latitude.\";\n\t\t} else if (errorcode == 2) {\n\t\t\treturn \"Invalid Longitude!\\nValid Longitude values are -180 to 180 with negative values being west latitude.\";\n\t\t} else if (errorcode == 3) {\n\t\t\treturn \"Invalid Year!\\nValid year values are \" + Integer.MIN_VALUE + \" - \" + Integer.MAX_VALUE + \".\";\n\t\t} else if (errorcode == 4) {\n\t\t\treturn \"Invalid Month!\\nValid month values are 1 - 12\";\n\t\t} else if (errorcode == 5) {\n\t\t\treturn \"Invalid Day!\\nValid day values are 1 - 31\";\n\t\t} else if (errorcode == 6) {\n\t\t\treturn \"Invalid Hour!\\nValid hour values are 0 - 23\";\n\t\t} else if (errorcode == 7) {\n\t\t\treturn \"Invalid Minute!\\nValid minute values are 0 - 59\";\n\t\t} else if (errorcode == 8) {\n\t\t\treturn \"Invalid Second!\\nValid second values are 0 - 59\";\n\t\t} \n\t\treturn \"Undefined Error Message!\";\n\t}", "public void setErrorMsg(String text) {\n this.errorMsg = text;\n }", "public int getErrorNo() {\n return this.errorNo;\n }", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();" ]
[ "0.7234827", "0.68487597", "0.68242407", "0.68242407", "0.66320926", "0.6613902", "0.6613902", "0.6613902", "0.65931696", "0.65931696", "0.65931696", "0.65931696", "0.65931696", "0.65931696", "0.65931696", "0.65931696", "0.65931696", "0.65931696", "0.65931696", "0.65931696", "0.6587221", "0.6458624", "0.642881", "0.6387629", "0.6339448", "0.63337046", "0.6318866", "0.6310054", "0.6266495", "0.6207546", "0.6169787", "0.6162002", "0.61556125", "0.61209476", "0.6114965", "0.61042917", "0.60988075", "0.60988075", "0.60988075", "0.60916275", "0.60737956", "0.6044167", "0.60035205", "0.59917176", "0.59845275", "0.59643966", "0.5963419", "0.59538627", "0.5917793", "0.58881736", "0.58858836", "0.5880861", "0.58786815", "0.5865479", "0.5863698", "0.5842632", "0.5837601", "0.5828023", "0.58268774", "0.58249444", "0.5820853", "0.5818837", "0.5808825", "0.5808012", "0.5803665", "0.57976645", "0.5796016", "0.57934284", "0.57934284", "0.57934284", "0.5786855", "0.57868457", "0.5785435", "0.578205", "0.576942", "0.57514906", "0.57502955", "0.5743453", "0.57404053", "0.57404053", "0.57404053", "0.57404053", "0.57404053", "0.57404053", "0.57404053", "0.57404053", "0.57404053", "0.57404053", "0.57404053", "0.57404053", "0.57404053" ]
0.583974
60
string errorMessage = 2;
public com.google.protobuf.ByteString getErrorMessageBytes() { java.lang.Object ref = errorMessage_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); errorMessage_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "String errorMessage();", "private void error(String string) {\n\t\r\n}", "String getErrorMessage();", "String getErrorMessage();", "String getError(int i) {\n if (i >= 0 & i < msgs.length)\n return msgs[i];\n else\n return \"Invalid Error Code\";\n }", "java.lang.String getError();", "java.lang.String getError();", "java.lang.String getError();", "java.lang.String getErrorMessage();", "java.lang.String getErrorMessage();", "java.lang.String getErrorMessage();", "java.lang.String getErrorMessage();", "java.lang.String getErrorMessage();", "java.lang.String getErrorMessage();", "java.lang.String getErrorMessage();", "java.lang.String getErrorMessage();", "java.lang.String getErrorMessage();", "java.lang.String getErrorMessage();", "java.lang.String getErrorMessage();", "java.lang.String getErrorMessage();", "void showErrorMsg(String string);", "String getGetErrorMessage();", "java.lang.String getErr();", "public String getErrorString()\r\n\t{\r\n\t\t\r\n\t\treturn ERROR_STRING;\r\n\t}", "public void error(String string) {\n\t\t\n\t}", "String getInvalidMessage();", "private static String getMessage(int code) {\n switch (code) {\n case ME_DIV_BY_ZERO:\n return \"Attempt to divide by zero.\";\n case ME_ASSIGNLITERAL:\n return \"Attempt to assign to a literal.\";\n case ME_NONVARASSIGN:\n return \"Attempt to assign to a non-variable.\";\n default:\n return \"Unknown error.\";\n }\n }", "String getErrorsString();", "public String error();", "public String getError() {\n\treturn mistake;\n }", "private String getErrorString() {\n\t\treturn \"GUID:ERROR:\" + mErrors[0][0]\n\t\t + \":\" + mErrors[1][0]\n\t\t + \":\" + mErrors[2][0]\n\t\t + \":\" + mErrors[3][0];\n\t}", "public String getErrorMessage() \r\n\t{\r\n\t\t\r\n\t\treturn errorMessage;\r\n\t\t\r\n\t}", "public java.lang.String getErrorMessage(){\n return localErrorMessage;\n }", "java.lang.String getErrmsg();", "public String getErrorString()\n\t{\n\t\treturn errorString;\n\t}", "public static String getLastErrorMessage()\r\n\t{\n\t\treturn lastAlert;\r\n\t}", "String getMessage();", "String getMessage();", "String getMessage();", "private int getErrorId(final String message) {\n\t\tif (isLowerCase(message)) {\n\t\t\treturn ERROR_LOWER_CASE;\n\t\t} else if (isUnunsedMacro(message)) {\n\t\t\treturn ERROR_UNUSED_MACRO;\n\t\t} else if (isUnunsedVariable(message)) {\n\t\t\treturn ERROR_UNUSED_VARIABLE;\n\t\t} else if (isEndLineSpace(message) || isNoSpace(message)) {\n\t\t\treturn ERROR_NO_SPACE;\n\t\t} else if (isOneSpace(message)) {\n\t\t\treturn ERROR_ONE_SPACE;\n\t\t} else {\n\t\t\treturn ERROR_INVALID;\n\t\t}\n\t}", "public String getErrorString(String message) {\n \t\treturn getString(new StringBuffer(\"error.\").append(message).toString());\n \t}", "String getErrorMessage(E input);", "public String errorMessage()\n {\n return new String(errorMessageAsBytes());\n }", "String Message ();", "public String errorMessage() {\n return errorMessage;\n }", "void SemErr(String str);", "public String getErrorMessage()\n {\n return errorMessage;\n }", "ErrorCodes(int code){\n this.code = code;\n //this.message = message;\n }", "int getErrorCode();", "public String getErrorCode();", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n if (bs.isValidUtf8()) {\n errorMessage_ = s;\n }\n return s;\n }\n }", "void showError(@StringRes int errorMessage);", "void showError(String errorMessage);", "private static int getErrorLine(String errmsg){\n\t\treturn Integer.parseInt(errmsg.substring(0,errmsg.indexOf(\":\")).substring(errmsg.substring(0,errmsg.indexOf(\":\")).lastIndexOf(\" \")+1));\n\t}", "public String errorMessage()\n {\n return edma_errorMsg;\n }", "public String getErrorMessage() {\r\n return this.errorMessage;\r\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public String errorMessage() {\n return this.errorMessage;\n }", "public String getErrorMessage() {\n\t\treturn errorMessage;\n\t}", "public int getError() {\n return error;\n }", "public String getErrorMessage() {\n return this.errorMessage;\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n java.lang.String s = ((com.google.protobuf.ByteString) ref)\n .toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "void setErrorMessage(String errorMessage);", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "static int errorMsg(int eCode)\n {\n if (eCode == 0) return 0;\n String message = \"\";\n switch (eCode){\n case 1: message = \"Division by zero\"; break;\n case 2: message = \"Non-matching parenthesis in function\"; break;\n case 3: message = \"Must enclose negative exponents in parentheses\"; break;\n case 4: message = \"Incorrect Operator Syntax\"; break;\n case 5: message = \"Rightfunctions must use parenthesis. (example: ABS(-2);\"; break;\n case 6: message = \"Unrecognized token in function srtring.\"; break;\n case 8: message = \"Can not raise negative number to a fractional power.\"; break;\n case 10:message = \"Input a real number with no operators\"; break;\n }\n JOptionPane.showMessageDialog(null, message, \"Error \"+eCode, JOptionPane.ERROR_MESSAGE);\n return 0;\n }", "public String getError() {\n return errMsg;\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n }\n }", "public String getMsgError() {\r\n\t\treturn msgError;\r\n\t}", "public String getErrorMessage() {\n return errorMessage;\n }", "public String getErrorMessage() {\n return errorMessage;\n }", "public String getErrorMessage() {\n return errorMessage;\n }", "String getFailureMessage();", "public int error() {\n return this.error;\n }", "public String getParseErrorMessage();", "public String getErrorMessage() {\n return ERROR_MESSAGE;\n }", "public String getError() {\r\n if (scriptError == null) return \"\";\r\n return scriptError;\r\n }", "private String getGUIErrorMsg(long errorcode) {\n\t\tif (errorcode == 0) {\n\t\t\treturn \"This popup shouldn't have launched!\";\n\t\t} else if (errorcode == 9) {\n\t\t\treturn \"Latitude input format incorrect!\\nValid Latitude values are -90 to 90 with negative values being south Latitude.\";\n\t\t} else if (errorcode == 10) {\n\t\t\treturn \"Longitude input format incorrect!\\nValid Longitude values are -180 to 180 with negative values being west latitude.\";\n\t\t} else if (errorcode == 11) {\n\t\t\treturn \"Date input format incorrect!\\nValid dates go <year>-<month>-<day>\\nValid month values are 1- 12 and valid day values are 1 - 31.\";\n\t\t} else if (errorcode == 12) {\n\t\t\treturn \"Time input format incorrect!\\nValid times go <hour>-<minute>-<second>\\nValid hour values are 0 - 23 and valid minute and second values are 0 - 59\";\n\t\t} else if (errorcode == 1) {\n\t\t\treturn \"Invalid latitude!\\nValid Latitude values are -90 to 90 with negative values being south Latitude.\";\n\t\t} else if (errorcode == 2) {\n\t\t\treturn \"Invalid Longitude!\\nValid Longitude values are -180 to 180 with negative values being west latitude.\";\n\t\t} else if (errorcode == 3) {\n\t\t\treturn \"Invalid Year!\\nValid year values are \" + Integer.MIN_VALUE + \" - \" + Integer.MAX_VALUE + \".\";\n\t\t} else if (errorcode == 4) {\n\t\t\treturn \"Invalid Month!\\nValid month values are 1 - 12\";\n\t\t} else if (errorcode == 5) {\n\t\t\treturn \"Invalid Day!\\nValid day values are 1 - 31\";\n\t\t} else if (errorcode == 6) {\n\t\t\treturn \"Invalid Hour!\\nValid hour values are 0 - 23\";\n\t\t} else if (errorcode == 7) {\n\t\t\treturn \"Invalid Minute!\\nValid minute values are 0 - 59\";\n\t\t} else if (errorcode == 8) {\n\t\t\treturn \"Invalid Second!\\nValid second values are 0 - 59\";\n\t\t} \n\t\treturn \"Undefined Error Message!\";\n\t}", "public void setErrorMsg(String text) {\n this.errorMsg = text;\n }", "public int getErrorNo() {\n return this.errorNo;\n }", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();" ]
[ "0.7234827", "0.68487597", "0.68242407", "0.68242407", "0.66320926", "0.6613902", "0.6613902", "0.6613902", "0.65931696", "0.65931696", "0.65931696", "0.65931696", "0.65931696", "0.65931696", "0.65931696", "0.65931696", "0.65931696", "0.65931696", "0.65931696", "0.65931696", "0.6587221", "0.6458624", "0.642881", "0.6387629", "0.6339448", "0.63337046", "0.6318866", "0.6310054", "0.6266495", "0.6207546", "0.6169787", "0.6162002", "0.61556125", "0.61209476", "0.6114965", "0.61042917", "0.60988075", "0.60988075", "0.60988075", "0.60916275", "0.60737956", "0.6044167", "0.60035205", "0.59917176", "0.59845275", "0.59643966", "0.5963419", "0.59538627", "0.5917793", "0.58881736", "0.58858836", "0.5880861", "0.58786815", "0.5865479", "0.5863698", "0.5842632", "0.583974", "0.583974", "0.583974", "0.583974", "0.583974", "0.583974", "0.583974", "0.58391654", "0.58391654", "0.58391654", "0.5837601", "0.5828023", "0.58268774", "0.58249444", "0.5820853", "0.5818837", "0.5808825", "0.5808012", "0.5803665", "0.57976645", "0.5796016", "0.57934284", "0.57934284", "0.57934284", "0.5786855", "0.57868457", "0.5785435", "0.578205", "0.576942", "0.57514906", "0.57502955", "0.5743453", "0.57404053", "0.57404053", "0.57404053", "0.57404053", "0.57404053", "0.57404053", "0.57404053", "0.57404053", "0.57404053", "0.57404053", "0.57404053", "0.57404053", "0.57404053" ]
0.0
-1
string errorMessage = 2;
public Builder setErrorMessage( java.lang.String value) { if (value == null) { throw new NullPointerException(); } errorMessage_ = value; onChanged(); return this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "String errorMessage();", "private void error(String string) {\n\t\r\n}", "String getErrorMessage();", "String getErrorMessage();", "String getError(int i) {\n if (i >= 0 & i < msgs.length)\n return msgs[i];\n else\n return \"Invalid Error Code\";\n }", "java.lang.String getError();", "java.lang.String getError();", "java.lang.String getError();", "java.lang.String getErrorMessage();", "java.lang.String getErrorMessage();", "java.lang.String getErrorMessage();", "java.lang.String getErrorMessage();", "java.lang.String getErrorMessage();", "java.lang.String getErrorMessage();", "java.lang.String getErrorMessage();", "java.lang.String getErrorMessage();", "java.lang.String getErrorMessage();", "java.lang.String getErrorMessage();", "java.lang.String getErrorMessage();", "java.lang.String getErrorMessage();", "void showErrorMsg(String string);", "String getGetErrorMessage();", "java.lang.String getErr();", "public String getErrorString()\r\n\t{\r\n\t\t\r\n\t\treturn ERROR_STRING;\r\n\t}", "public void error(String string) {\n\t\t\n\t}", "String getInvalidMessage();", "private static String getMessage(int code) {\n switch (code) {\n case ME_DIV_BY_ZERO:\n return \"Attempt to divide by zero.\";\n case ME_ASSIGNLITERAL:\n return \"Attempt to assign to a literal.\";\n case ME_NONVARASSIGN:\n return \"Attempt to assign to a non-variable.\";\n default:\n return \"Unknown error.\";\n }\n }", "String getErrorsString();", "public String error();", "public String getError() {\n\treturn mistake;\n }", "private String getErrorString() {\n\t\treturn \"GUID:ERROR:\" + mErrors[0][0]\n\t\t + \":\" + mErrors[1][0]\n\t\t + \":\" + mErrors[2][0]\n\t\t + \":\" + mErrors[3][0];\n\t}", "public String getErrorMessage() \r\n\t{\r\n\t\t\r\n\t\treturn errorMessage;\r\n\t\t\r\n\t}", "public java.lang.String getErrorMessage(){\n return localErrorMessage;\n }", "java.lang.String getErrmsg();", "public String getErrorString()\n\t{\n\t\treturn errorString;\n\t}", "public static String getLastErrorMessage()\r\n\t{\n\t\treturn lastAlert;\r\n\t}", "String getMessage();", "String getMessage();", "String getMessage();", "private int getErrorId(final String message) {\n\t\tif (isLowerCase(message)) {\n\t\t\treturn ERROR_LOWER_CASE;\n\t\t} else if (isUnunsedMacro(message)) {\n\t\t\treturn ERROR_UNUSED_MACRO;\n\t\t} else if (isUnunsedVariable(message)) {\n\t\t\treturn ERROR_UNUSED_VARIABLE;\n\t\t} else if (isEndLineSpace(message) || isNoSpace(message)) {\n\t\t\treturn ERROR_NO_SPACE;\n\t\t} else if (isOneSpace(message)) {\n\t\t\treturn ERROR_ONE_SPACE;\n\t\t} else {\n\t\t\treturn ERROR_INVALID;\n\t\t}\n\t}", "public String getErrorString(String message) {\n \t\treturn getString(new StringBuffer(\"error.\").append(message).toString());\n \t}", "String getErrorMessage(E input);", "public String errorMessage()\n {\n return new String(errorMessageAsBytes());\n }", "String Message ();", "public String errorMessage() {\n return errorMessage;\n }", "void SemErr(String str);", "public String getErrorMessage()\n {\n return errorMessage;\n }", "ErrorCodes(int code){\n this.code = code;\n //this.message = message;\n }", "int getErrorCode();", "public String getErrorCode();", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n if (bs.isValidUtf8()) {\n errorMessage_ = s;\n }\n return s;\n }\n }", "void showError(@StringRes int errorMessage);", "void showError(String errorMessage);", "private static int getErrorLine(String errmsg){\n\t\treturn Integer.parseInt(errmsg.substring(0,errmsg.indexOf(\":\")).substring(errmsg.substring(0,errmsg.indexOf(\":\")).lastIndexOf(\" \")+1));\n\t}", "public String errorMessage()\n {\n return edma_errorMsg;\n }", "public String getErrorMessage() {\r\n return this.errorMessage;\r\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public String errorMessage() {\n return this.errorMessage;\n }", "public String getErrorMessage() {\n\t\treturn errorMessage;\n\t}", "public int getError() {\n return error;\n }", "public String getErrorMessage() {\n return this.errorMessage;\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n java.lang.String s = ((com.google.protobuf.ByteString) ref)\n .toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "void setErrorMessage(String errorMessage);", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "static int errorMsg(int eCode)\n {\n if (eCode == 0) return 0;\n String message = \"\";\n switch (eCode){\n case 1: message = \"Division by zero\"; break;\n case 2: message = \"Non-matching parenthesis in function\"; break;\n case 3: message = \"Must enclose negative exponents in parentheses\"; break;\n case 4: message = \"Incorrect Operator Syntax\"; break;\n case 5: message = \"Rightfunctions must use parenthesis. (example: ABS(-2);\"; break;\n case 6: message = \"Unrecognized token in function srtring.\"; break;\n case 8: message = \"Can not raise negative number to a fractional power.\"; break;\n case 10:message = \"Input a real number with no operators\"; break;\n }\n JOptionPane.showMessageDialog(null, message, \"Error \"+eCode, JOptionPane.ERROR_MESSAGE);\n return 0;\n }", "public String getError() {\n return errMsg;\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n }\n }", "public String getMsgError() {\r\n\t\treturn msgError;\r\n\t}", "public String getErrorMessage() {\n return errorMessage;\n }", "public String getErrorMessage() {\n return errorMessage;\n }", "public String getErrorMessage() {\n return errorMessage;\n }", "String getFailureMessage();", "public int error() {\n return this.error;\n }", "public String getParseErrorMessage();", "public String getErrorMessage() {\n return ERROR_MESSAGE;\n }", "public String getError() {\r\n if (scriptError == null) return \"\";\r\n return scriptError;\r\n }", "private String getGUIErrorMsg(long errorcode) {\n\t\tif (errorcode == 0) {\n\t\t\treturn \"This popup shouldn't have launched!\";\n\t\t} else if (errorcode == 9) {\n\t\t\treturn \"Latitude input format incorrect!\\nValid Latitude values are -90 to 90 with negative values being south Latitude.\";\n\t\t} else if (errorcode == 10) {\n\t\t\treturn \"Longitude input format incorrect!\\nValid Longitude values are -180 to 180 with negative values being west latitude.\";\n\t\t} else if (errorcode == 11) {\n\t\t\treturn \"Date input format incorrect!\\nValid dates go <year>-<month>-<day>\\nValid month values are 1- 12 and valid day values are 1 - 31.\";\n\t\t} else if (errorcode == 12) {\n\t\t\treturn \"Time input format incorrect!\\nValid times go <hour>-<minute>-<second>\\nValid hour values are 0 - 23 and valid minute and second values are 0 - 59\";\n\t\t} else if (errorcode == 1) {\n\t\t\treturn \"Invalid latitude!\\nValid Latitude values are -90 to 90 with negative values being south Latitude.\";\n\t\t} else if (errorcode == 2) {\n\t\t\treturn \"Invalid Longitude!\\nValid Longitude values are -180 to 180 with negative values being west latitude.\";\n\t\t} else if (errorcode == 3) {\n\t\t\treturn \"Invalid Year!\\nValid year values are \" + Integer.MIN_VALUE + \" - \" + Integer.MAX_VALUE + \".\";\n\t\t} else if (errorcode == 4) {\n\t\t\treturn \"Invalid Month!\\nValid month values are 1 - 12\";\n\t\t} else if (errorcode == 5) {\n\t\t\treturn \"Invalid Day!\\nValid day values are 1 - 31\";\n\t\t} else if (errorcode == 6) {\n\t\t\treturn \"Invalid Hour!\\nValid hour values are 0 - 23\";\n\t\t} else if (errorcode == 7) {\n\t\t\treturn \"Invalid Minute!\\nValid minute values are 0 - 59\";\n\t\t} else if (errorcode == 8) {\n\t\t\treturn \"Invalid Second!\\nValid second values are 0 - 59\";\n\t\t} \n\t\treturn \"Undefined Error Message!\";\n\t}", "public void setErrorMsg(String text) {\n this.errorMsg = text;\n }", "public int getErrorNo() {\n return this.errorNo;\n }", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();" ]
[ "0.7234827", "0.68487597", "0.68242407", "0.68242407", "0.66320926", "0.6613902", "0.6613902", "0.6613902", "0.65931696", "0.65931696", "0.65931696", "0.65931696", "0.65931696", "0.65931696", "0.65931696", "0.65931696", "0.65931696", "0.65931696", "0.65931696", "0.65931696", "0.6587221", "0.6458624", "0.642881", "0.6387629", "0.6339448", "0.63337046", "0.6318866", "0.6310054", "0.6266495", "0.6207546", "0.6169787", "0.6162002", "0.61556125", "0.61209476", "0.6114965", "0.61042917", "0.60988075", "0.60988075", "0.60988075", "0.60916275", "0.60737956", "0.6044167", "0.60035205", "0.59917176", "0.59845275", "0.59643966", "0.5963419", "0.59538627", "0.5917793", "0.58881736", "0.58858836", "0.5880861", "0.58786815", "0.5865479", "0.5863698", "0.5842632", "0.583974", "0.583974", "0.583974", "0.583974", "0.583974", "0.583974", "0.583974", "0.58391654", "0.58391654", "0.58391654", "0.5837601", "0.5828023", "0.58268774", "0.58249444", "0.5820853", "0.5818837", "0.5808825", "0.5808012", "0.5803665", "0.57976645", "0.5796016", "0.57934284", "0.57934284", "0.57934284", "0.5786855", "0.57868457", "0.5785435", "0.578205", "0.576942", "0.57514906", "0.57502955", "0.5743453", "0.57404053", "0.57404053", "0.57404053", "0.57404053", "0.57404053", "0.57404053", "0.57404053", "0.57404053", "0.57404053", "0.57404053", "0.57404053", "0.57404053", "0.57404053" ]
0.0
-1
string errorMessage = 2;
public Builder clearErrorMessage() { errorMessage_ = getDefaultInstance().getErrorMessage(); onChanged(); return this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "String errorMessage();", "private void error(String string) {\n\t\r\n}", "String getErrorMessage();", "String getErrorMessage();", "String getError(int i) {\n if (i >= 0 & i < msgs.length)\n return msgs[i];\n else\n return \"Invalid Error Code\";\n }", "java.lang.String getError();", "java.lang.String getError();", "java.lang.String getError();", "java.lang.String getErrorMessage();", "java.lang.String getErrorMessage();", "java.lang.String getErrorMessage();", "java.lang.String getErrorMessage();", "java.lang.String getErrorMessage();", "java.lang.String getErrorMessage();", "java.lang.String getErrorMessage();", "java.lang.String getErrorMessage();", "java.lang.String getErrorMessage();", "java.lang.String getErrorMessage();", "java.lang.String getErrorMessage();", "java.lang.String getErrorMessage();", "void showErrorMsg(String string);", "String getGetErrorMessage();", "java.lang.String getErr();", "public String getErrorString()\r\n\t{\r\n\t\t\r\n\t\treturn ERROR_STRING;\r\n\t}", "public void error(String string) {\n\t\t\n\t}", "String getInvalidMessage();", "private static String getMessage(int code) {\n switch (code) {\n case ME_DIV_BY_ZERO:\n return \"Attempt to divide by zero.\";\n case ME_ASSIGNLITERAL:\n return \"Attempt to assign to a literal.\";\n case ME_NONVARASSIGN:\n return \"Attempt to assign to a non-variable.\";\n default:\n return \"Unknown error.\";\n }\n }", "String getErrorsString();", "public String error();", "public String getError() {\n\treturn mistake;\n }", "private String getErrorString() {\n\t\treturn \"GUID:ERROR:\" + mErrors[0][0]\n\t\t + \":\" + mErrors[1][0]\n\t\t + \":\" + mErrors[2][0]\n\t\t + \":\" + mErrors[3][0];\n\t}", "public String getErrorMessage() \r\n\t{\r\n\t\t\r\n\t\treturn errorMessage;\r\n\t\t\r\n\t}", "public java.lang.String getErrorMessage(){\n return localErrorMessage;\n }", "java.lang.String getErrmsg();", "public String getErrorString()\n\t{\n\t\treturn errorString;\n\t}", "public static String getLastErrorMessage()\r\n\t{\n\t\treturn lastAlert;\r\n\t}", "String getMessage();", "String getMessage();", "String getMessage();", "private int getErrorId(final String message) {\n\t\tif (isLowerCase(message)) {\n\t\t\treturn ERROR_LOWER_CASE;\n\t\t} else if (isUnunsedMacro(message)) {\n\t\t\treturn ERROR_UNUSED_MACRO;\n\t\t} else if (isUnunsedVariable(message)) {\n\t\t\treturn ERROR_UNUSED_VARIABLE;\n\t\t} else if (isEndLineSpace(message) || isNoSpace(message)) {\n\t\t\treturn ERROR_NO_SPACE;\n\t\t} else if (isOneSpace(message)) {\n\t\t\treturn ERROR_ONE_SPACE;\n\t\t} else {\n\t\t\treturn ERROR_INVALID;\n\t\t}\n\t}", "public String getErrorString(String message) {\n \t\treturn getString(new StringBuffer(\"error.\").append(message).toString());\n \t}", "String getErrorMessage(E input);", "public String errorMessage()\n {\n return new String(errorMessageAsBytes());\n }", "String Message ();", "public String errorMessage() {\n return errorMessage;\n }", "void SemErr(String str);", "public String getErrorMessage()\n {\n return errorMessage;\n }", "ErrorCodes(int code){\n this.code = code;\n //this.message = message;\n }", "int getErrorCode();", "public String getErrorCode();", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n if (bs.isValidUtf8()) {\n errorMessage_ = s;\n }\n return s;\n }\n }", "void showError(@StringRes int errorMessage);", "void showError(String errorMessage);", "private static int getErrorLine(String errmsg){\n\t\treturn Integer.parseInt(errmsg.substring(0,errmsg.indexOf(\":\")).substring(errmsg.substring(0,errmsg.indexOf(\":\")).lastIndexOf(\" \")+1));\n\t}", "public String errorMessage()\n {\n return edma_errorMsg;\n }", "public String getErrorMessage() {\r\n return this.errorMessage;\r\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public String errorMessage() {\n return this.errorMessage;\n }", "public String getErrorMessage() {\n\t\treturn errorMessage;\n\t}", "public int getError() {\n return error;\n }", "public String getErrorMessage() {\n return this.errorMessage;\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n java.lang.String s = ((com.google.protobuf.ByteString) ref)\n .toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "void setErrorMessage(String errorMessage);", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "static int errorMsg(int eCode)\n {\n if (eCode == 0) return 0;\n String message = \"\";\n switch (eCode){\n case 1: message = \"Division by zero\"; break;\n case 2: message = \"Non-matching parenthesis in function\"; break;\n case 3: message = \"Must enclose negative exponents in parentheses\"; break;\n case 4: message = \"Incorrect Operator Syntax\"; break;\n case 5: message = \"Rightfunctions must use parenthesis. (example: ABS(-2);\"; break;\n case 6: message = \"Unrecognized token in function srtring.\"; break;\n case 8: message = \"Can not raise negative number to a fractional power.\"; break;\n case 10:message = \"Input a real number with no operators\"; break;\n }\n JOptionPane.showMessageDialog(null, message, \"Error \"+eCode, JOptionPane.ERROR_MESSAGE);\n return 0;\n }", "public String getError() {\n return errMsg;\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n }\n }", "public String getMsgError() {\r\n\t\treturn msgError;\r\n\t}", "public String getErrorMessage() {\n return errorMessage;\n }", "public String getErrorMessage() {\n return errorMessage;\n }", "public String getErrorMessage() {\n return errorMessage;\n }", "String getFailureMessage();", "public int error() {\n return this.error;\n }", "public String getParseErrorMessage();", "public String getErrorMessage() {\n return ERROR_MESSAGE;\n }", "public String getError() {\r\n if (scriptError == null) return \"\";\r\n return scriptError;\r\n }", "private String getGUIErrorMsg(long errorcode) {\n\t\tif (errorcode == 0) {\n\t\t\treturn \"This popup shouldn't have launched!\";\n\t\t} else if (errorcode == 9) {\n\t\t\treturn \"Latitude input format incorrect!\\nValid Latitude values are -90 to 90 with negative values being south Latitude.\";\n\t\t} else if (errorcode == 10) {\n\t\t\treturn \"Longitude input format incorrect!\\nValid Longitude values are -180 to 180 with negative values being west latitude.\";\n\t\t} else if (errorcode == 11) {\n\t\t\treturn \"Date input format incorrect!\\nValid dates go <year>-<month>-<day>\\nValid month values are 1- 12 and valid day values are 1 - 31.\";\n\t\t} else if (errorcode == 12) {\n\t\t\treturn \"Time input format incorrect!\\nValid times go <hour>-<minute>-<second>\\nValid hour values are 0 - 23 and valid minute and second values are 0 - 59\";\n\t\t} else if (errorcode == 1) {\n\t\t\treturn \"Invalid latitude!\\nValid Latitude values are -90 to 90 with negative values being south Latitude.\";\n\t\t} else if (errorcode == 2) {\n\t\t\treturn \"Invalid Longitude!\\nValid Longitude values are -180 to 180 with negative values being west latitude.\";\n\t\t} else if (errorcode == 3) {\n\t\t\treturn \"Invalid Year!\\nValid year values are \" + Integer.MIN_VALUE + \" - \" + Integer.MAX_VALUE + \".\";\n\t\t} else if (errorcode == 4) {\n\t\t\treturn \"Invalid Month!\\nValid month values are 1 - 12\";\n\t\t} else if (errorcode == 5) {\n\t\t\treturn \"Invalid Day!\\nValid day values are 1 - 31\";\n\t\t} else if (errorcode == 6) {\n\t\t\treturn \"Invalid Hour!\\nValid hour values are 0 - 23\";\n\t\t} else if (errorcode == 7) {\n\t\t\treturn \"Invalid Minute!\\nValid minute values are 0 - 59\";\n\t\t} else if (errorcode == 8) {\n\t\t\treturn \"Invalid Second!\\nValid second values are 0 - 59\";\n\t\t} \n\t\treturn \"Undefined Error Message!\";\n\t}", "public void setErrorMsg(String text) {\n this.errorMsg = text;\n }", "public int getErrorNo() {\n return this.errorNo;\n }", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();" ]
[ "0.7234827", "0.68487597", "0.68242407", "0.68242407", "0.66320926", "0.6613902", "0.6613902", "0.6613902", "0.65931696", "0.65931696", "0.65931696", "0.65931696", "0.65931696", "0.65931696", "0.65931696", "0.65931696", "0.65931696", "0.65931696", "0.65931696", "0.65931696", "0.6587221", "0.6458624", "0.642881", "0.6387629", "0.6339448", "0.63337046", "0.6318866", "0.6310054", "0.6266495", "0.6207546", "0.6169787", "0.6162002", "0.61556125", "0.61209476", "0.6114965", "0.61042917", "0.60988075", "0.60988075", "0.60988075", "0.60916275", "0.60737956", "0.6044167", "0.60035205", "0.59917176", "0.59845275", "0.59643966", "0.5963419", "0.59538627", "0.5917793", "0.58881736", "0.58858836", "0.5880861", "0.58786815", "0.5865479", "0.5863698", "0.5842632", "0.583974", "0.583974", "0.583974", "0.583974", "0.583974", "0.583974", "0.583974", "0.58391654", "0.58391654", "0.58391654", "0.5837601", "0.5828023", "0.58268774", "0.58249444", "0.5820853", "0.5818837", "0.5808825", "0.5808012", "0.5803665", "0.57976645", "0.5796016", "0.57934284", "0.57934284", "0.57934284", "0.5786855", "0.57868457", "0.5785435", "0.578205", "0.576942", "0.57514906", "0.57502955", "0.5743453", "0.57404053", "0.57404053", "0.57404053", "0.57404053", "0.57404053", "0.57404053", "0.57404053", "0.57404053", "0.57404053", "0.57404053", "0.57404053", "0.57404053", "0.57404053" ]
0.0
-1
string errorMessage = 2;
public Builder setErrorMessageBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); errorMessage_ = value; onChanged(); return this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "String errorMessage();", "private void error(String string) {\n\t\r\n}", "String getErrorMessage();", "String getErrorMessage();", "String getError(int i) {\n if (i >= 0 & i < msgs.length)\n return msgs[i];\n else\n return \"Invalid Error Code\";\n }", "java.lang.String getError();", "java.lang.String getError();", "java.lang.String getError();", "java.lang.String getErrorMessage();", "java.lang.String getErrorMessage();", "java.lang.String getErrorMessage();", "java.lang.String getErrorMessage();", "java.lang.String getErrorMessage();", "java.lang.String getErrorMessage();", "java.lang.String getErrorMessage();", "java.lang.String getErrorMessage();", "java.lang.String getErrorMessage();", "java.lang.String getErrorMessage();", "java.lang.String getErrorMessage();", "java.lang.String getErrorMessage();", "void showErrorMsg(String string);", "String getGetErrorMessage();", "java.lang.String getErr();", "public String getErrorString()\r\n\t{\r\n\t\t\r\n\t\treturn ERROR_STRING;\r\n\t}", "public void error(String string) {\n\t\t\n\t}", "String getInvalidMessage();", "private static String getMessage(int code) {\n switch (code) {\n case ME_DIV_BY_ZERO:\n return \"Attempt to divide by zero.\";\n case ME_ASSIGNLITERAL:\n return \"Attempt to assign to a literal.\";\n case ME_NONVARASSIGN:\n return \"Attempt to assign to a non-variable.\";\n default:\n return \"Unknown error.\";\n }\n }", "String getErrorsString();", "public String error();", "public String getError() {\n\treturn mistake;\n }", "private String getErrorString() {\n\t\treturn \"GUID:ERROR:\" + mErrors[0][0]\n\t\t + \":\" + mErrors[1][0]\n\t\t + \":\" + mErrors[2][0]\n\t\t + \":\" + mErrors[3][0];\n\t}", "public String getErrorMessage() \r\n\t{\r\n\t\t\r\n\t\treturn errorMessage;\r\n\t\t\r\n\t}", "public java.lang.String getErrorMessage(){\n return localErrorMessage;\n }", "java.lang.String getErrmsg();", "public String getErrorString()\n\t{\n\t\treturn errorString;\n\t}", "public static String getLastErrorMessage()\r\n\t{\n\t\treturn lastAlert;\r\n\t}", "String getMessage();", "String getMessage();", "String getMessage();", "private int getErrorId(final String message) {\n\t\tif (isLowerCase(message)) {\n\t\t\treturn ERROR_LOWER_CASE;\n\t\t} else if (isUnunsedMacro(message)) {\n\t\t\treturn ERROR_UNUSED_MACRO;\n\t\t} else if (isUnunsedVariable(message)) {\n\t\t\treturn ERROR_UNUSED_VARIABLE;\n\t\t} else if (isEndLineSpace(message) || isNoSpace(message)) {\n\t\t\treturn ERROR_NO_SPACE;\n\t\t} else if (isOneSpace(message)) {\n\t\t\treturn ERROR_ONE_SPACE;\n\t\t} else {\n\t\t\treturn ERROR_INVALID;\n\t\t}\n\t}", "public String getErrorString(String message) {\n \t\treturn getString(new StringBuffer(\"error.\").append(message).toString());\n \t}", "String getErrorMessage(E input);", "public String errorMessage()\n {\n return new String(errorMessageAsBytes());\n }", "String Message ();", "public String errorMessage() {\n return errorMessage;\n }", "void SemErr(String str);", "public String getErrorMessage()\n {\n return errorMessage;\n }", "ErrorCodes(int code){\n this.code = code;\n //this.message = message;\n }", "int getErrorCode();", "public String getErrorCode();", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n if (bs.isValidUtf8()) {\n errorMessage_ = s;\n }\n return s;\n }\n }", "void showError(@StringRes int errorMessage);", "void showError(String errorMessage);", "private static int getErrorLine(String errmsg){\n\t\treturn Integer.parseInt(errmsg.substring(0,errmsg.indexOf(\":\")).substring(errmsg.substring(0,errmsg.indexOf(\":\")).lastIndexOf(\" \")+1));\n\t}", "public String errorMessage()\n {\n return edma_errorMsg;\n }", "public String getErrorMessage() {\r\n return this.errorMessage;\r\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public String errorMessage() {\n return this.errorMessage;\n }", "public String getErrorMessage() {\n\t\treturn errorMessage;\n\t}", "public int getError() {\n return error;\n }", "public String getErrorMessage() {\n return this.errorMessage;\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n java.lang.String s = ((com.google.protobuf.ByteString) ref)\n .toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "void setErrorMessage(String errorMessage);", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "static int errorMsg(int eCode)\n {\n if (eCode == 0) return 0;\n String message = \"\";\n switch (eCode){\n case 1: message = \"Division by zero\"; break;\n case 2: message = \"Non-matching parenthesis in function\"; break;\n case 3: message = \"Must enclose negative exponents in parentheses\"; break;\n case 4: message = \"Incorrect Operator Syntax\"; break;\n case 5: message = \"Rightfunctions must use parenthesis. (example: ABS(-2);\"; break;\n case 6: message = \"Unrecognized token in function srtring.\"; break;\n case 8: message = \"Can not raise negative number to a fractional power.\"; break;\n case 10:message = \"Input a real number with no operators\"; break;\n }\n JOptionPane.showMessageDialog(null, message, \"Error \"+eCode, JOptionPane.ERROR_MESSAGE);\n return 0;\n }", "public String getError() {\n return errMsg;\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n }\n }", "public String getMsgError() {\r\n\t\treturn msgError;\r\n\t}", "public String getErrorMessage() {\n return errorMessage;\n }", "public String getErrorMessage() {\n return errorMessage;\n }", "public String getErrorMessage() {\n return errorMessage;\n }", "String getFailureMessage();", "public int error() {\n return this.error;\n }", "public String getParseErrorMessage();", "public String getErrorMessage() {\n return ERROR_MESSAGE;\n }", "public String getError() {\r\n if (scriptError == null) return \"\";\r\n return scriptError;\r\n }", "private String getGUIErrorMsg(long errorcode) {\n\t\tif (errorcode == 0) {\n\t\t\treturn \"This popup shouldn't have launched!\";\n\t\t} else if (errorcode == 9) {\n\t\t\treturn \"Latitude input format incorrect!\\nValid Latitude values are -90 to 90 with negative values being south Latitude.\";\n\t\t} else if (errorcode == 10) {\n\t\t\treturn \"Longitude input format incorrect!\\nValid Longitude values are -180 to 180 with negative values being west latitude.\";\n\t\t} else if (errorcode == 11) {\n\t\t\treturn \"Date input format incorrect!\\nValid dates go <year>-<month>-<day>\\nValid month values are 1- 12 and valid day values are 1 - 31.\";\n\t\t} else if (errorcode == 12) {\n\t\t\treturn \"Time input format incorrect!\\nValid times go <hour>-<minute>-<second>\\nValid hour values are 0 - 23 and valid minute and second values are 0 - 59\";\n\t\t} else if (errorcode == 1) {\n\t\t\treturn \"Invalid latitude!\\nValid Latitude values are -90 to 90 with negative values being south Latitude.\";\n\t\t} else if (errorcode == 2) {\n\t\t\treturn \"Invalid Longitude!\\nValid Longitude values are -180 to 180 with negative values being west latitude.\";\n\t\t} else if (errorcode == 3) {\n\t\t\treturn \"Invalid Year!\\nValid year values are \" + Integer.MIN_VALUE + \" - \" + Integer.MAX_VALUE + \".\";\n\t\t} else if (errorcode == 4) {\n\t\t\treturn \"Invalid Month!\\nValid month values are 1 - 12\";\n\t\t} else if (errorcode == 5) {\n\t\t\treturn \"Invalid Day!\\nValid day values are 1 - 31\";\n\t\t} else if (errorcode == 6) {\n\t\t\treturn \"Invalid Hour!\\nValid hour values are 0 - 23\";\n\t\t} else if (errorcode == 7) {\n\t\t\treturn \"Invalid Minute!\\nValid minute values are 0 - 59\";\n\t\t} else if (errorcode == 8) {\n\t\t\treturn \"Invalid Second!\\nValid second values are 0 - 59\";\n\t\t} \n\t\treturn \"Undefined Error Message!\";\n\t}", "public void setErrorMsg(String text) {\n this.errorMsg = text;\n }", "public int getErrorNo() {\n return this.errorNo;\n }", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();" ]
[ "0.7234827", "0.68487597", "0.68242407", "0.68242407", "0.66320926", "0.6613902", "0.6613902", "0.6613902", "0.65931696", "0.65931696", "0.65931696", "0.65931696", "0.65931696", "0.65931696", "0.65931696", "0.65931696", "0.65931696", "0.65931696", "0.65931696", "0.65931696", "0.6587221", "0.6458624", "0.642881", "0.6387629", "0.6339448", "0.63337046", "0.6318866", "0.6310054", "0.6266495", "0.6207546", "0.6169787", "0.6162002", "0.61556125", "0.61209476", "0.6114965", "0.61042917", "0.60988075", "0.60988075", "0.60988075", "0.60916275", "0.60737956", "0.6044167", "0.60035205", "0.59917176", "0.59845275", "0.59643966", "0.5963419", "0.59538627", "0.5917793", "0.58881736", "0.58858836", "0.5880861", "0.58786815", "0.5865479", "0.5863698", "0.5842632", "0.583974", "0.583974", "0.583974", "0.583974", "0.583974", "0.583974", "0.583974", "0.58391654", "0.58391654", "0.58391654", "0.5837601", "0.5828023", "0.58268774", "0.58249444", "0.5820853", "0.5818837", "0.5808825", "0.5808012", "0.5803665", "0.57976645", "0.5796016", "0.57934284", "0.57934284", "0.57934284", "0.5786855", "0.57868457", "0.5785435", "0.578205", "0.576942", "0.57514906", "0.57502955", "0.5743453", "0.57404053", "0.57404053", "0.57404053", "0.57404053", "0.57404053", "0.57404053", "0.57404053", "0.57404053", "0.57404053", "0.57404053", "0.57404053", "0.57404053", "0.57404053" ]
0.0
-1
repeated .FileInfo fileInfo = 3;
public java.util.List<entities.Torrent.FileInfo> getFileInfoList() { if (fileInfoBuilder_ == null) { return java.util.Collections.unmodifiableList(fileInfo_); } else { return fileInfoBuilder_.getMessageList(); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public FileInfo getFileInfo() {\n return fileInfo;\n }", "@Test\n\tpublic void testSetFileInfo() {\n\n\t}", "FileInfo create(FileInfo fileInfo);", "entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder();", "entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder();", "public void fileInfo(String info);", "@Override\n public void addSingleFile(FileInfo file) {\n }", "void update(FileInfo fileInfo);", "int getFileInfoCount();", "public void incFileCount(){\n\t\tthis.num_files++;\n\t}", "entities.Torrent.FileInfo getFileInfo(int index);", "public boolean nextFileInfo(FileInfo info) {\n\n\t\t// Get the next file from the search\n\n\t\ttry {\n\n\t\t\t// Return the next file details or loop until a match is found if a\n\t\t\t// complex wildcard filter\n\t\t\t// has been specified\n\t\t\twhile (m_rs.next()) {\n\t\t\t\tString name = m_rs.getString(\"name\");\n\t\t\t\t// Get the file name for the next file\n\t\t\t\tinfo.setFileId(m_rs.getInt(\"id\"));\n\t\t\t\tinfo.setFileName(name);\n\t\t\t\tinfo.setSize(m_rs.getLong(\"size\"));\n\t\t\t\tif(name.equalsIgnoreCase(DBUtil.CLOUDURL))\n\t\t\t\t{\n\t\t\t\t\ttry{\n\t\t\t\t\t//重设置大小\n\t\t\t\t\tinfo.setFileId(-99);\n//\t\t\t\t\tinfo.setFileId(-userId);\n\t\t\t\t\tinfo.setSize(DBUtil.getURLMYFILE_TXT(this.getBaseUrl(),userId).getBytes().length);\n\t\t\t\t\t}catch(Exception e)\n\t\t\t\t\t{\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tlong modifyDate = m_rs.getLong(\"lastModified\");\n\t\t\t\tif (modifyDate != 0L)\n\t\t\t\t\tinfo.setModifyDateTime(modifyDate);\n\t\t\t\telse\n\t\t\t\t\tinfo.setModifyDateTime(System.currentTimeMillis());\n\t\t\t\t\n\t\t\t\tTimestamp ts = m_rs.getTimestamp(\"add_time\");\n\t\t\t\tif (ts !=null && ts.getTime()>0)\n\t\t\t\t{\n\t\t\t\t\tinfo.setCreationDateTime(ts.getTime());\n\t\t\t\t\tinfo.setChangeDateTime(info.getModifyDateTime());\n\t\t\t\t}\n\t\t\t\telse\n\t\t\t\t{\n\t\t\t\t\tinfo.setCreationDateTime(info.getModifyDateTime());\n\t\t\t\t\tinfo.setChangeDateTime(info.getModifyDateTime());\n\t\t\t\t}\t\t\t\t\n\t\t\t\tint attr = 0;\n\t\t\t\tif (m_rs.getBoolean(\"isFile\") == true) {\n\t\t\t\t\tinfo.setFileType(FileType.RegularFile);\t\t\t\t\t\n\t\t\t\t\tattr += FileAttribute.ReadOnly;// 只读权限\n\t\t\t\t} else\n\t\t\t\t\tattr += FileAttribute.Directory;\n\n\t\t\t\tif (m_rs.getBoolean(\"isHidden\") == true) \n\t\t\t\t{\n\t\t\t\t\tattr += FileAttribute.Hidden;//隐藏\n\t\t\t\t}\n\t\t\t\tinfo.setFileType(FileType.Directory);\n\t\t\t\t\t\t\t\t\n\t\t\t\tif (hasMarkAsOffline()) {\n\t\t\t\t\tif (getOfflineFileSize() == 0 || info.getSize() >= getOfflineFileSize())\n\t\t\t\t\t\tattr += FileAttribute.NTOffline;\n\t\t\t\t}\n\t\t\t\tinfo.setFileAttributes(attr);\n\t\t\t\tinfo.setUid(userId);\n\n\t\t\t\tif (m_filter == null || m_filter.matchesPattern(info.getFileName()) == true)\n\t\t\t\t\treturn true;\n\t\t\t}\n\t\t} catch (SQLException ex) {\n\t\t\tex.printStackTrace();\n\t\t}\n\t\t// No more files\n\t\tcloseSearch();\n\t\treturn false;\n\t}", "entities.Torrent.FileInfo getFileInfo();", "entities.Torrent.FileInfo getFileInfo();", "entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder(\n int index);", "DiscFileInfo getFileInfo(String path) throws IOException;", "void setFile(String i) {\n file = i;\n }", "@java.lang.Override\n public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder(\n int index) {\n return fileInfo_.get(index);\n }", "@java.lang.Override\n public int getFileInfoCount() {\n return fileInfo_.size();\n }", "public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder(\n int index) {\n if (fileInfoBuilder_ == null) {\n return fileInfo_.get(index); } else {\n return fileInfoBuilder_.getMessageOrBuilder(index);\n }\n }", "@java.lang.Override\n public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder() {\n return getFileInfo();\n }", "@java.lang.Override\n public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder() {\n return getFileInfo();\n }", "fileInfo(){\n\t\tsymbol = new node[MAXLINECOUNT + 2];\n\t\tother = null; // allocated later!\n\t}", "public Builder addFileInfo(entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureFileInfoIsMutable();\n fileInfo_.add(value);\n onChanged();\n } else {\n fileInfoBuilder_.addMessage(value);\n }\n return this;\n }", "public synchronized FileInfo getOrAddFileInfo(FileInfo alphaFileInfo) {\n String app = alphaFileInfo.getApp();\n String caption = alphaFileInfo.getCaption();\n AppAndCaptionKey key = new AppAndCaptionKey(app, caption);\n String fileId = appAndCaptionToId.get(key);\n if(fileId==null){\n fileId = getNextFileId();\n appAndCaptionToId.put(key, fileId);\n }\n\n //2. Creating file info\n FileInfo sigmaFileInfo = fileCache.getFileInfo(app,fileId);\n if(sigmaFileInfo==null){\n sigmaFileInfo = (FileInfo) alphaFileInfo.clone();\n }\n sigmaFileInfo.setId(fileId);\n return sigmaFileInfo;\n }", "entities.Torrent.FileInfo getFiles(int index);", "com.google.devtools.kythe.proto.Analysis.FileInfoOrBuilder getEntryOrBuilder(\n int index);", "public final FileInfoBase getFileInfo() {\r\n return fileInfo;\r\n }", "public void setFileId(Long fileId) {\n/* 31:31 */ this.fileId = fileId;\n/* 32: */ }", "public entities.Torrent.FileInfo.Builder addFileInfoBuilder() {\n return getFileInfoFieldBuilder().addBuilder(\n entities.Torrent.FileInfo.getDefaultInstance());\n }", "@Override\r\n\tpublic int addAnimalFileInfo(FileInfo fileInfo) {\n\t\treturn fileInfoMapper.addAnimalFileInfo(fileInfo);\r\n\t}", "public abstract long NewFileNumber();", "public Builder addFileInfo(\n int index, entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureFileInfoIsMutable();\n fileInfo_.add(index, value);\n onChanged();\n } else {\n fileInfoBuilder_.addMessage(index, value);\n }\n return this;\n }", "public FileInfo(File file) {\n this.file = file;\n }", "int attrib(int i, File v) {\n if (i < max) {\n AllFiles[i] = v;\n } else {\n File[] temp = new File[max];\n int j;\n for (j = 0; j < max; j++) temp[j] = AllFiles[j];\n AllFiles = new File[max + increase];\n for (j = 0; j < max; j++) AllFiles[j] = temp[j];\n max = max + increase;\n AllFiles[i] = v;\n }\n return (0);\n }", "public boolean hasFileInfo() {\n return fieldSetFlags()[15];\n }", "public Builder setFileInfo(\n int index, entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureFileInfoIsMutable();\n fileInfo_.set(index, value);\n onChanged();\n } else {\n fileInfoBuilder_.setMessage(index, value);\n }\n return this;\n }", "public com.opentext.bn.converters.avro.entity.PayloadRef getFileInfo() {\n return fileInfo;\n }", "entities.Torrent.FileInfoOrBuilder getFilesOrBuilder(\n int index);", "public com.opentext.bn.converters.avro.entity.PayloadRef getFileInfo() {\n return fileInfo;\n }", "com.google.devtools.kythe.proto.Analysis.FileInfo getEntry(int index);", "public TagFileInfo[] getTagFiles() {\n/* 176 */ return this.tagFiles;\n/* */ }", "public Builder setFileInfo(entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n fileInfo_ = value;\n onChanged();\n } else {\n fileInfoBuilder_.setMessage(value);\n }\n\n return this;\n }", "public Builder setFileInfo(entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n fileInfo_ = value;\n onChanged();\n } else {\n fileInfoBuilder_.setMessage(value);\n }\n\n return this;\n }", "private FileInfo(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "public Builder addAllFileInfo(\n java.lang.Iterable<? extends entities.Torrent.FileInfo> values) {\n if (fileInfoBuilder_ == null) {\n ensureFileInfoIsMutable();\n com.google.protobuf.AbstractMessageLite.Builder.addAll(\n values, fileInfo_);\n onChanged();\n } else {\n fileInfoBuilder_.addAllMessages(values);\n }\n return this;\n }", "public int getFileInfoCount() {\n if (fileInfoBuilder_ == null) {\n return fileInfo_.size();\n } else {\n return fileInfoBuilder_.getCount();\n }\n }", "public void constructWith(LzzFileInfo pro) {\n\t\tthis.id = pro.getId ();\n\n\t\tthis.fname = pro.getFname ();\n\n\t\tthis.ftype = pro.getFtype ();\n\n\t\tthis.fsavepath = pro.getFsavepath ();\n\n\t\tthis.furlpath = pro.getFurlpath ();\n\n\t\tthis.createTime = pro.getCreateTime ();\n\n\t\tthis.modifyTime = pro.getModifyTime ();\n\n\t\tthis.def1 = pro.getDef1 ();\n\n\t\tthis.def2 = pro.getDef2 ();\n\n\t\tthis.def3 = pro.getDef3 ();\n\n\t\tthis.def4 = pro.getDef4 ();\n\n\t\tthis.def5 = pro.getDef5 ();\n\n\t\tthis.def6 = pro.getDef6 ();\n\n\t\tthis.def7 = pro.getDef7 ();\n\n\t\tthis.def8 = pro.getDef8 ();\n\n\t\tthis.def9 = pro.getDef9 ();\n\n\t\tthis.def10 = pro.getDef10 ();\n\n\t\tthis.dr = pro.getDr ();\n\n\t}", "public FileInfo(NXTComm nxt, String fileName){\r\n\t\tthis.comm = nxt;\r\n\t\tthis.fileName = fileName;\r\n\t}", "public FileInfo()\r\n {\r\n hash = new HashInfo();\r\n }", "@Override\n public List<FileInfo> getLibrarySubFiles(FileInfo fileInfo) {\n return null;\n }", "public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder() {\n if (fileInfoBuilder_ != null) {\n return fileInfoBuilder_.getMessageOrBuilder();\n } else {\n return fileInfo_ == null ?\n entities.Torrent.FileInfo.getDefaultInstance() : fileInfo_;\n }\n }", "public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder() {\n if (fileInfoBuilder_ != null) {\n return fileInfoBuilder_.getMessageOrBuilder();\n } else {\n return fileInfo_ == null ?\n entities.Torrent.FileInfo.getDefaultInstance() : fileInfo_;\n }\n }", "public DotFileEnumerator(File file)\n {\n fileList.add(file.toString());\n }", "public Builder mergeFileInfo(entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (fileInfo_ != null) {\n fileInfo_ =\n entities.Torrent.FileInfo.newBuilder(fileInfo_).mergeFrom(value).buildPartial();\n } else {\n fileInfo_ = value;\n }\n onChanged();\n } else {\n fileInfoBuilder_.mergeFrom(value);\n }\n\n return this;\n }", "public Builder mergeFileInfo(entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (fileInfo_ != null) {\n fileInfo_ =\n entities.Torrent.FileInfo.newBuilder(fileInfo_).mergeFrom(value).buildPartial();\n } else {\n fileInfo_ = value;\n }\n onChanged();\n } else {\n fileInfoBuilder_.mergeFrom(value);\n }\n\n return this;\n }", "int getFileCount();", "public com.google.devtools.kythe.proto.Analysis.FileInfoOrBuilder getEntryOrBuilder(\n int index) {\n return entry_.get(index);\n }", "public int getFileFlags() { return fileFlags; }", "public Builder clearFileInfo() {\n if (fileInfoBuilder_ == null) {\n fileInfo_ = java.util.Collections.emptyList();\n bitField0_ = (bitField0_ & ~0x00000001);\n onChanged();\n } else {\n fileInfoBuilder_.clear();\n }\n return this;\n }", "public com.opentext.bn.converters.avro.entity.PayloadRef.Builder getFileInfoBuilder() {\n if (fileInfoBuilder == null) {\n if (hasFileInfo()) {\n setFileInfoBuilder(com.opentext.bn.converters.avro.entity.PayloadRef.newBuilder(fileInfo));\n } else {\n setFileInfoBuilder(com.opentext.bn.converters.avro.entity.PayloadRef.newBuilder());\n }\n }\n return fileInfoBuilder;\n }", "public void process(TiffFileInfo info)\n {\n }", "public com.google.devtools.kythe.proto.Analysis.FileInfo.Builder addEntryBuilder() {\n return getEntryFieldBuilder().addBuilder(\n com.google.devtools.kythe.proto.Analysis.FileInfo.getDefaultInstance());\n }", "@java.lang.Override\n public entities.Torrent.FileInfo getFileInfo(int index) {\n return fileInfo_.get(index);\n }", "public Long getFileId() {\n/* 35:35 */ return this.fileId;\n/* 36: */ }", "private com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.FileInfo, entities.Torrent.FileInfo.Builder, entities.Torrent.FileInfoOrBuilder>\n getFileInfoFieldBuilder() {\n if (fileInfoBuilder_ == null) {\n fileInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.FileInfo, entities.Torrent.FileInfo.Builder, entities.Torrent.FileInfoOrBuilder>(\n getFileInfo(),\n getParentForChildren(),\n isClean());\n fileInfo_ = null;\n }\n return fileInfoBuilder_;\n }", "private com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.FileInfo, entities.Torrent.FileInfo.Builder, entities.Torrent.FileInfoOrBuilder>\n getFileInfoFieldBuilder() {\n if (fileInfoBuilder_ == null) {\n fileInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.FileInfo, entities.Torrent.FileInfo.Builder, entities.Torrent.FileInfoOrBuilder>(\n getFileInfo(),\n getParentForChildren(),\n isClean());\n fileInfo_ = null;\n }\n return fileInfoBuilder_;\n }", "private void updateFiles() {\n\t}", "public entities.Torrent.FileInfo.Builder addFileInfoBuilder(\n int index) {\n return getFileInfoFieldBuilder().addBuilder(\n index, entities.Torrent.FileInfo.getDefaultInstance());\n }", "public interface FileSelectInfo\n{\n /**\n * Returns the base folder of the traversal.\n * @return FileObject representing the base folder.\n */\n FileObject getBaseFolder();\n\n /**\n * Returns the file (or folder) to be considered.\n * @return The FileObject.\n */\n FileObject getFile();\n\n /**\n * Returns the depth of the file relative to the base folder.\n * @return The depth of the file relative to the base folder.\n */\n int getDepth();\n}", "public entities.Torrent.FileInfo.Builder getFileInfoBuilder(\n int index) {\n return getFileInfoFieldBuilder().getBuilder(index);\n }", "public entities.Torrent.FileInfo.Builder getFileInfoBuilder() {\n\n onChanged();\n return getFileInfoFieldBuilder().getBuilder();\n }", "public entities.Torrent.FileInfo.Builder getFileInfoBuilder() {\n\n onChanged();\n return getFileInfoFieldBuilder().getBuilder();\n }", "public entities.Torrent.FileInfoOrBuilder getFilesOrBuilder(\n int index) {\n if (filesBuilder_ == null) {\n return files_.get(index); } else {\n return filesBuilder_.getMessageOrBuilder(index);\n }\n }", "private void getExtractWithFiles(){\n\t\ttry{\n\t\t\t\n\t\t\tFileInputStream fStream = new FileInputStream(tfile);\n\t\t\tfileBytes = new byte[(int)tfile.length()];\n\t\t\t\n\t\t\tfStream.read(fileBytes, 0, fileBytes.length);\n\t\t\tfileSize = fileBytes.length;\n\t\t}catch(Exception ex){\n\t\t\tSystem.err.println(\"File Packet \"+ex.getMessage());\n\t\t}\n\t}", "private static void printFileInfo(File file) {\n window.putLog(String.format(\"[%6dkb] Modified %s @%s\", 1 + file.length() / 1024,\n new SimpleDateFormat(\"YYYY-MM-dd HH:mm\").format(new Date(file.lastModified())),\n file.getPath().substring(workingDirectory.getParent().length())));\n }", "public interface FileSystemEntry {\n public long getCount();\n public long getSize();\n public String getName();\n}", "public PSMatrixFilesMeta() {\r\n this(-1, new ConcurrentSkipListMap<Integer, MatrixPartitionMeta>());\r\n }", "protected final void setFileInformation( FileInfo fInfo) {\n\t\tm_info = fInfo;\n\t}", "public java.util.List<? extends entities.Torrent.FileInfoOrBuilder>\n getFileInfoOrBuilderList() {\n if (fileInfoBuilder_ != null) {\n return fileInfoBuilder_.getMessageOrBuilderList();\n } else {\n return java.util.Collections.unmodifiableList(fileInfo_);\n }\n }", "int getFileNamesCount();", "int getFileNamesCount();", "public void filesNotFound(File... f) { }", "public void filesNotFound(File... f) { }", "@Override\n public void onPick(FileInfo f) {\n }", "public void setFileRecordCount(int ct) {\n\t\tfileRecordCount = ct;\n\t}", "public com.opentext.bn.converters.avro.entity.DocumentEvent.Builder setFileInfo(com.opentext.bn.converters.avro.entity.PayloadRef value) {\n validate(fields()[15], value);\n this.fileInfoBuilder = null;\n this.fileInfo = value;\n fieldSetFlags()[15] = true;\n return this;\n }", "public DotFileEnumerator(String filePath)\n {\n String[] tempArr = new File(filePath).list();\n\n for (String s : tempArr) {\n fileList.add(filePath + \"/\" + s);\n }\n }", "@java.lang.Override\n public entities.Torrent.FileInfo getFileInfo() {\n return fileInfo_ == null ? entities.Torrent.FileInfo.getDefaultInstance() : fileInfo_;\n }", "@java.lang.Override\n public entities.Torrent.FileInfo getFileInfo() {\n return fileInfo_ == null ? entities.Torrent.FileInfo.getDefaultInstance() : fileInfo_;\n }", "public FileInfoICS(String name, String directory, int format) {\r\n super(name, directory, format);\r\n }", "public FileInfo(FileInfo v)\n \t{\n \t\ttitle = v.title;\n \t\tauthors = v.authors;\n \t\tseries = v.series;\n \t\tseriesNumber = v.seriesNumber;\n \t\tpath = v.path;\n \t\tfilename = v.filename;\n \t\tpathname = v.pathname;\n \t\tarcname = v.arcname;\n \t\tformat = v.format;\n \t\tsize = v.size;\n \t\tarcsize = v.arcsize;\n \t\tisArchive = v.isArchive;\n \t\tisDirectory = v.isDirectory;\n \t\tcreateTime = v.createTime;\n \t\tlastAccessTime = v.lastAccessTime;\n \t}", "public ImageFiles() {\n\t\tthis.listOne = new ArrayList<String>();\n\t\tthis.listTwo = new ArrayList<String>();\n\t\tthis.listThree = new ArrayList<String>();\n\t\tthis.seenImages = new ArrayList<String>();\n\t\tthis.unseenImages = new ArrayList<String>();\n\t}", "@java.lang.Override\n public java.util.List<? extends entities.Torrent.FileInfoOrBuilder>\n getFileInfoOrBuilderList() {\n return fileInfo_;\n }", "int countByExample(AvwFileprocessExample example);", "public Builder addEntry(com.google.devtools.kythe.proto.Analysis.FileInfo value) {\n if (entryBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureEntryIsMutable();\n entry_.add(value);\n onChanged();\n } else {\n entryBuilder_.addMessage(value);\n }\n return this;\n }", "ds.hdfs.generated.FileMetadata getFiles(int index);", "java.util.List<? extends entities.Torrent.FileInfoOrBuilder>\n getFileInfoOrBuilderList();", "public Long getFileID()\n/* */ {\n/* 88 */ return this.fileID;\n/* */ }", "public void incuploadcount(){\n\t\tthis. num_upload++;\n\t}", "public Vector<file> count()\n {\n Vector<Model.file> files = new Vector<>();\n try\n {\n pw.println(11);\n\n files = (Vector<Model.file>) ois.readObject();\n\n }\n catch (ClassNotFoundException | IOException e)\n {\n System.out.println(e.getMessage());\n }\n return files ;\n }" ]
[ "0.63404644", "0.60424006", "0.58997285", "0.5897735", "0.5897735", "0.5893349", "0.5840858", "0.5782364", "0.575059", "0.56671757", "0.5661143", "0.5629983", "0.55628306", "0.55628306", "0.54918736", "0.54439086", "0.5438974", "0.5436454", "0.53865486", "0.53812563", "0.53554535", "0.53554535", "0.5350297", "0.53485256", "0.5337326", "0.5325269", "0.5323776", "0.5317618", "0.5316972", "0.5305772", "0.5301568", "0.5289526", "0.52858317", "0.527939", "0.527717", "0.5246745", "0.5238312", "0.52333695", "0.52198213", "0.520472", "0.5197636", "0.5181744", "0.5180735", "0.5179602", "0.5171487", "0.5170226", "0.5151229", "0.5126351", "0.51164293", "0.51105917", "0.51006323", "0.5064827", "0.5064827", "0.5030081", "0.50298166", "0.5029732", "0.50183815", "0.5008859", "0.5008625", "0.5002189", "0.5000041", "0.4996095", "0.49911362", "0.4988522", "0.49871376", "0.49688184", "0.4968441", "0.49640483", "0.49627694", "0.49464682", "0.49452326", "0.49435145", "0.4940706", "0.4939512", "0.4919068", "0.49134657", "0.4912824", "0.48992985", "0.48903668", "0.4889867", "0.48865864", "0.48865864", "0.48813212", "0.48813212", "0.48808643", "0.48788455", "0.48786306", "0.4874242", "0.48689762", "0.48689762", "0.48684502", "0.48670304", "0.48606005", "0.48516285", "0.48392272", "0.48242542", "0.48236215", "0.48225048", "0.4821103", "0.48174718", "0.4813819" ]
0.0
-1
repeated .FileInfo fileInfo = 3;
public int getFileInfoCount() { if (fileInfoBuilder_ == null) { return fileInfo_.size(); } else { return fileInfoBuilder_.getCount(); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public FileInfo getFileInfo() {\n return fileInfo;\n }", "@Test\n\tpublic void testSetFileInfo() {\n\n\t}", "FileInfo create(FileInfo fileInfo);", "entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder();", "entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder();", "public void fileInfo(String info);", "@Override\n public void addSingleFile(FileInfo file) {\n }", "void update(FileInfo fileInfo);", "int getFileInfoCount();", "public void incFileCount(){\n\t\tthis.num_files++;\n\t}", "entities.Torrent.FileInfo getFileInfo(int index);", "public boolean nextFileInfo(FileInfo info) {\n\n\t\t// Get the next file from the search\n\n\t\ttry {\n\n\t\t\t// Return the next file details or loop until a match is found if a\n\t\t\t// complex wildcard filter\n\t\t\t// has been specified\n\t\t\twhile (m_rs.next()) {\n\t\t\t\tString name = m_rs.getString(\"name\");\n\t\t\t\t// Get the file name for the next file\n\t\t\t\tinfo.setFileId(m_rs.getInt(\"id\"));\n\t\t\t\tinfo.setFileName(name);\n\t\t\t\tinfo.setSize(m_rs.getLong(\"size\"));\n\t\t\t\tif(name.equalsIgnoreCase(DBUtil.CLOUDURL))\n\t\t\t\t{\n\t\t\t\t\ttry{\n\t\t\t\t\t//重设置大小\n\t\t\t\t\tinfo.setFileId(-99);\n//\t\t\t\t\tinfo.setFileId(-userId);\n\t\t\t\t\tinfo.setSize(DBUtil.getURLMYFILE_TXT(this.getBaseUrl(),userId).getBytes().length);\n\t\t\t\t\t}catch(Exception e)\n\t\t\t\t\t{\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tlong modifyDate = m_rs.getLong(\"lastModified\");\n\t\t\t\tif (modifyDate != 0L)\n\t\t\t\t\tinfo.setModifyDateTime(modifyDate);\n\t\t\t\telse\n\t\t\t\t\tinfo.setModifyDateTime(System.currentTimeMillis());\n\t\t\t\t\n\t\t\t\tTimestamp ts = m_rs.getTimestamp(\"add_time\");\n\t\t\t\tif (ts !=null && ts.getTime()>0)\n\t\t\t\t{\n\t\t\t\t\tinfo.setCreationDateTime(ts.getTime());\n\t\t\t\t\tinfo.setChangeDateTime(info.getModifyDateTime());\n\t\t\t\t}\n\t\t\t\telse\n\t\t\t\t{\n\t\t\t\t\tinfo.setCreationDateTime(info.getModifyDateTime());\n\t\t\t\t\tinfo.setChangeDateTime(info.getModifyDateTime());\n\t\t\t\t}\t\t\t\t\n\t\t\t\tint attr = 0;\n\t\t\t\tif (m_rs.getBoolean(\"isFile\") == true) {\n\t\t\t\t\tinfo.setFileType(FileType.RegularFile);\t\t\t\t\t\n\t\t\t\t\tattr += FileAttribute.ReadOnly;// 只读权限\n\t\t\t\t} else\n\t\t\t\t\tattr += FileAttribute.Directory;\n\n\t\t\t\tif (m_rs.getBoolean(\"isHidden\") == true) \n\t\t\t\t{\n\t\t\t\t\tattr += FileAttribute.Hidden;//隐藏\n\t\t\t\t}\n\t\t\t\tinfo.setFileType(FileType.Directory);\n\t\t\t\t\t\t\t\t\n\t\t\t\tif (hasMarkAsOffline()) {\n\t\t\t\t\tif (getOfflineFileSize() == 0 || info.getSize() >= getOfflineFileSize())\n\t\t\t\t\t\tattr += FileAttribute.NTOffline;\n\t\t\t\t}\n\t\t\t\tinfo.setFileAttributes(attr);\n\t\t\t\tinfo.setUid(userId);\n\n\t\t\t\tif (m_filter == null || m_filter.matchesPattern(info.getFileName()) == true)\n\t\t\t\t\treturn true;\n\t\t\t}\n\t\t} catch (SQLException ex) {\n\t\t\tex.printStackTrace();\n\t\t}\n\t\t// No more files\n\t\tcloseSearch();\n\t\treturn false;\n\t}", "entities.Torrent.FileInfo getFileInfo();", "entities.Torrent.FileInfo getFileInfo();", "entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder(\n int index);", "DiscFileInfo getFileInfo(String path) throws IOException;", "void setFile(String i) {\n file = i;\n }", "@java.lang.Override\n public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder(\n int index) {\n return fileInfo_.get(index);\n }", "@java.lang.Override\n public int getFileInfoCount() {\n return fileInfo_.size();\n }", "public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder(\n int index) {\n if (fileInfoBuilder_ == null) {\n return fileInfo_.get(index); } else {\n return fileInfoBuilder_.getMessageOrBuilder(index);\n }\n }", "@java.lang.Override\n public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder() {\n return getFileInfo();\n }", "@java.lang.Override\n public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder() {\n return getFileInfo();\n }", "fileInfo(){\n\t\tsymbol = new node[MAXLINECOUNT + 2];\n\t\tother = null; // allocated later!\n\t}", "public Builder addFileInfo(entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureFileInfoIsMutable();\n fileInfo_.add(value);\n onChanged();\n } else {\n fileInfoBuilder_.addMessage(value);\n }\n return this;\n }", "public synchronized FileInfo getOrAddFileInfo(FileInfo alphaFileInfo) {\n String app = alphaFileInfo.getApp();\n String caption = alphaFileInfo.getCaption();\n AppAndCaptionKey key = new AppAndCaptionKey(app, caption);\n String fileId = appAndCaptionToId.get(key);\n if(fileId==null){\n fileId = getNextFileId();\n appAndCaptionToId.put(key, fileId);\n }\n\n //2. Creating file info\n FileInfo sigmaFileInfo = fileCache.getFileInfo(app,fileId);\n if(sigmaFileInfo==null){\n sigmaFileInfo = (FileInfo) alphaFileInfo.clone();\n }\n sigmaFileInfo.setId(fileId);\n return sigmaFileInfo;\n }", "entities.Torrent.FileInfo getFiles(int index);", "com.google.devtools.kythe.proto.Analysis.FileInfoOrBuilder getEntryOrBuilder(\n int index);", "public final FileInfoBase getFileInfo() {\r\n return fileInfo;\r\n }", "public void setFileId(Long fileId) {\n/* 31:31 */ this.fileId = fileId;\n/* 32: */ }", "public entities.Torrent.FileInfo.Builder addFileInfoBuilder() {\n return getFileInfoFieldBuilder().addBuilder(\n entities.Torrent.FileInfo.getDefaultInstance());\n }", "@Override\r\n\tpublic int addAnimalFileInfo(FileInfo fileInfo) {\n\t\treturn fileInfoMapper.addAnimalFileInfo(fileInfo);\r\n\t}", "public abstract long NewFileNumber();", "public Builder addFileInfo(\n int index, entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureFileInfoIsMutable();\n fileInfo_.add(index, value);\n onChanged();\n } else {\n fileInfoBuilder_.addMessage(index, value);\n }\n return this;\n }", "public FileInfo(File file) {\n this.file = file;\n }", "int attrib(int i, File v) {\n if (i < max) {\n AllFiles[i] = v;\n } else {\n File[] temp = new File[max];\n int j;\n for (j = 0; j < max; j++) temp[j] = AllFiles[j];\n AllFiles = new File[max + increase];\n for (j = 0; j < max; j++) AllFiles[j] = temp[j];\n max = max + increase;\n AllFiles[i] = v;\n }\n return (0);\n }", "public boolean hasFileInfo() {\n return fieldSetFlags()[15];\n }", "public Builder setFileInfo(\n int index, entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureFileInfoIsMutable();\n fileInfo_.set(index, value);\n onChanged();\n } else {\n fileInfoBuilder_.setMessage(index, value);\n }\n return this;\n }", "public com.opentext.bn.converters.avro.entity.PayloadRef getFileInfo() {\n return fileInfo;\n }", "entities.Torrent.FileInfoOrBuilder getFilesOrBuilder(\n int index);", "public com.opentext.bn.converters.avro.entity.PayloadRef getFileInfo() {\n return fileInfo;\n }", "com.google.devtools.kythe.proto.Analysis.FileInfo getEntry(int index);", "public TagFileInfo[] getTagFiles() {\n/* 176 */ return this.tagFiles;\n/* */ }", "public Builder setFileInfo(entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n fileInfo_ = value;\n onChanged();\n } else {\n fileInfoBuilder_.setMessage(value);\n }\n\n return this;\n }", "public Builder setFileInfo(entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n fileInfo_ = value;\n onChanged();\n } else {\n fileInfoBuilder_.setMessage(value);\n }\n\n return this;\n }", "private FileInfo(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "public Builder addAllFileInfo(\n java.lang.Iterable<? extends entities.Torrent.FileInfo> values) {\n if (fileInfoBuilder_ == null) {\n ensureFileInfoIsMutable();\n com.google.protobuf.AbstractMessageLite.Builder.addAll(\n values, fileInfo_);\n onChanged();\n } else {\n fileInfoBuilder_.addAllMessages(values);\n }\n return this;\n }", "public void constructWith(LzzFileInfo pro) {\n\t\tthis.id = pro.getId ();\n\n\t\tthis.fname = pro.getFname ();\n\n\t\tthis.ftype = pro.getFtype ();\n\n\t\tthis.fsavepath = pro.getFsavepath ();\n\n\t\tthis.furlpath = pro.getFurlpath ();\n\n\t\tthis.createTime = pro.getCreateTime ();\n\n\t\tthis.modifyTime = pro.getModifyTime ();\n\n\t\tthis.def1 = pro.getDef1 ();\n\n\t\tthis.def2 = pro.getDef2 ();\n\n\t\tthis.def3 = pro.getDef3 ();\n\n\t\tthis.def4 = pro.getDef4 ();\n\n\t\tthis.def5 = pro.getDef5 ();\n\n\t\tthis.def6 = pro.getDef6 ();\n\n\t\tthis.def7 = pro.getDef7 ();\n\n\t\tthis.def8 = pro.getDef8 ();\n\n\t\tthis.def9 = pro.getDef9 ();\n\n\t\tthis.def10 = pro.getDef10 ();\n\n\t\tthis.dr = pro.getDr ();\n\n\t}", "public FileInfo(NXTComm nxt, String fileName){\r\n\t\tthis.comm = nxt;\r\n\t\tthis.fileName = fileName;\r\n\t}", "public FileInfo()\r\n {\r\n hash = new HashInfo();\r\n }", "@Override\n public List<FileInfo> getLibrarySubFiles(FileInfo fileInfo) {\n return null;\n }", "public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder() {\n if (fileInfoBuilder_ != null) {\n return fileInfoBuilder_.getMessageOrBuilder();\n } else {\n return fileInfo_ == null ?\n entities.Torrent.FileInfo.getDefaultInstance() : fileInfo_;\n }\n }", "public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder() {\n if (fileInfoBuilder_ != null) {\n return fileInfoBuilder_.getMessageOrBuilder();\n } else {\n return fileInfo_ == null ?\n entities.Torrent.FileInfo.getDefaultInstance() : fileInfo_;\n }\n }", "public DotFileEnumerator(File file)\n {\n fileList.add(file.toString());\n }", "public Builder mergeFileInfo(entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (fileInfo_ != null) {\n fileInfo_ =\n entities.Torrent.FileInfo.newBuilder(fileInfo_).mergeFrom(value).buildPartial();\n } else {\n fileInfo_ = value;\n }\n onChanged();\n } else {\n fileInfoBuilder_.mergeFrom(value);\n }\n\n return this;\n }", "public Builder mergeFileInfo(entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (fileInfo_ != null) {\n fileInfo_ =\n entities.Torrent.FileInfo.newBuilder(fileInfo_).mergeFrom(value).buildPartial();\n } else {\n fileInfo_ = value;\n }\n onChanged();\n } else {\n fileInfoBuilder_.mergeFrom(value);\n }\n\n return this;\n }", "int getFileCount();", "public com.google.devtools.kythe.proto.Analysis.FileInfoOrBuilder getEntryOrBuilder(\n int index) {\n return entry_.get(index);\n }", "public int getFileFlags() { return fileFlags; }", "public Builder clearFileInfo() {\n if (fileInfoBuilder_ == null) {\n fileInfo_ = java.util.Collections.emptyList();\n bitField0_ = (bitField0_ & ~0x00000001);\n onChanged();\n } else {\n fileInfoBuilder_.clear();\n }\n return this;\n }", "public com.opentext.bn.converters.avro.entity.PayloadRef.Builder getFileInfoBuilder() {\n if (fileInfoBuilder == null) {\n if (hasFileInfo()) {\n setFileInfoBuilder(com.opentext.bn.converters.avro.entity.PayloadRef.newBuilder(fileInfo));\n } else {\n setFileInfoBuilder(com.opentext.bn.converters.avro.entity.PayloadRef.newBuilder());\n }\n }\n return fileInfoBuilder;\n }", "public void process(TiffFileInfo info)\n {\n }", "public com.google.devtools.kythe.proto.Analysis.FileInfo.Builder addEntryBuilder() {\n return getEntryFieldBuilder().addBuilder(\n com.google.devtools.kythe.proto.Analysis.FileInfo.getDefaultInstance());\n }", "@java.lang.Override\n public entities.Torrent.FileInfo getFileInfo(int index) {\n return fileInfo_.get(index);\n }", "public Long getFileId() {\n/* 35:35 */ return this.fileId;\n/* 36: */ }", "private com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.FileInfo, entities.Torrent.FileInfo.Builder, entities.Torrent.FileInfoOrBuilder>\n getFileInfoFieldBuilder() {\n if (fileInfoBuilder_ == null) {\n fileInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.FileInfo, entities.Torrent.FileInfo.Builder, entities.Torrent.FileInfoOrBuilder>(\n getFileInfo(),\n getParentForChildren(),\n isClean());\n fileInfo_ = null;\n }\n return fileInfoBuilder_;\n }", "private com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.FileInfo, entities.Torrent.FileInfo.Builder, entities.Torrent.FileInfoOrBuilder>\n getFileInfoFieldBuilder() {\n if (fileInfoBuilder_ == null) {\n fileInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.FileInfo, entities.Torrent.FileInfo.Builder, entities.Torrent.FileInfoOrBuilder>(\n getFileInfo(),\n getParentForChildren(),\n isClean());\n fileInfo_ = null;\n }\n return fileInfoBuilder_;\n }", "private void updateFiles() {\n\t}", "public entities.Torrent.FileInfo.Builder addFileInfoBuilder(\n int index) {\n return getFileInfoFieldBuilder().addBuilder(\n index, entities.Torrent.FileInfo.getDefaultInstance());\n }", "public interface FileSelectInfo\n{\n /**\n * Returns the base folder of the traversal.\n * @return FileObject representing the base folder.\n */\n FileObject getBaseFolder();\n\n /**\n * Returns the file (or folder) to be considered.\n * @return The FileObject.\n */\n FileObject getFile();\n\n /**\n * Returns the depth of the file relative to the base folder.\n * @return The depth of the file relative to the base folder.\n */\n int getDepth();\n}", "public entities.Torrent.FileInfo.Builder getFileInfoBuilder(\n int index) {\n return getFileInfoFieldBuilder().getBuilder(index);\n }", "public entities.Torrent.FileInfo.Builder getFileInfoBuilder() {\n\n onChanged();\n return getFileInfoFieldBuilder().getBuilder();\n }", "public entities.Torrent.FileInfo.Builder getFileInfoBuilder() {\n\n onChanged();\n return getFileInfoFieldBuilder().getBuilder();\n }", "public entities.Torrent.FileInfoOrBuilder getFilesOrBuilder(\n int index) {\n if (filesBuilder_ == null) {\n return files_.get(index); } else {\n return filesBuilder_.getMessageOrBuilder(index);\n }\n }", "private void getExtractWithFiles(){\n\t\ttry{\n\t\t\t\n\t\t\tFileInputStream fStream = new FileInputStream(tfile);\n\t\t\tfileBytes = new byte[(int)tfile.length()];\n\t\t\t\n\t\t\tfStream.read(fileBytes, 0, fileBytes.length);\n\t\t\tfileSize = fileBytes.length;\n\t\t}catch(Exception ex){\n\t\t\tSystem.err.println(\"File Packet \"+ex.getMessage());\n\t\t}\n\t}", "private static void printFileInfo(File file) {\n window.putLog(String.format(\"[%6dkb] Modified %s @%s\", 1 + file.length() / 1024,\n new SimpleDateFormat(\"YYYY-MM-dd HH:mm\").format(new Date(file.lastModified())),\n file.getPath().substring(workingDirectory.getParent().length())));\n }", "public interface FileSystemEntry {\n public long getCount();\n public long getSize();\n public String getName();\n}", "public PSMatrixFilesMeta() {\r\n this(-1, new ConcurrentSkipListMap<Integer, MatrixPartitionMeta>());\r\n }", "protected final void setFileInformation( FileInfo fInfo) {\n\t\tm_info = fInfo;\n\t}", "public java.util.List<? extends entities.Torrent.FileInfoOrBuilder>\n getFileInfoOrBuilderList() {\n if (fileInfoBuilder_ != null) {\n return fileInfoBuilder_.getMessageOrBuilderList();\n } else {\n return java.util.Collections.unmodifiableList(fileInfo_);\n }\n }", "int getFileNamesCount();", "int getFileNamesCount();", "public void filesNotFound(File... f) { }", "public void filesNotFound(File... f) { }", "@Override\n public void onPick(FileInfo f) {\n }", "public void setFileRecordCount(int ct) {\n\t\tfileRecordCount = ct;\n\t}", "public com.opentext.bn.converters.avro.entity.DocumentEvent.Builder setFileInfo(com.opentext.bn.converters.avro.entity.PayloadRef value) {\n validate(fields()[15], value);\n this.fileInfoBuilder = null;\n this.fileInfo = value;\n fieldSetFlags()[15] = true;\n return this;\n }", "public DotFileEnumerator(String filePath)\n {\n String[] tempArr = new File(filePath).list();\n\n for (String s : tempArr) {\n fileList.add(filePath + \"/\" + s);\n }\n }", "@java.lang.Override\n public entities.Torrent.FileInfo getFileInfo() {\n return fileInfo_ == null ? entities.Torrent.FileInfo.getDefaultInstance() : fileInfo_;\n }", "@java.lang.Override\n public entities.Torrent.FileInfo getFileInfo() {\n return fileInfo_ == null ? entities.Torrent.FileInfo.getDefaultInstance() : fileInfo_;\n }", "public FileInfoICS(String name, String directory, int format) {\r\n super(name, directory, format);\r\n }", "public FileInfo(FileInfo v)\n \t{\n \t\ttitle = v.title;\n \t\tauthors = v.authors;\n \t\tseries = v.series;\n \t\tseriesNumber = v.seriesNumber;\n \t\tpath = v.path;\n \t\tfilename = v.filename;\n \t\tpathname = v.pathname;\n \t\tarcname = v.arcname;\n \t\tformat = v.format;\n \t\tsize = v.size;\n \t\tarcsize = v.arcsize;\n \t\tisArchive = v.isArchive;\n \t\tisDirectory = v.isDirectory;\n \t\tcreateTime = v.createTime;\n \t\tlastAccessTime = v.lastAccessTime;\n \t}", "public ImageFiles() {\n\t\tthis.listOne = new ArrayList<String>();\n\t\tthis.listTwo = new ArrayList<String>();\n\t\tthis.listThree = new ArrayList<String>();\n\t\tthis.seenImages = new ArrayList<String>();\n\t\tthis.unseenImages = new ArrayList<String>();\n\t}", "@java.lang.Override\n public java.util.List<? extends entities.Torrent.FileInfoOrBuilder>\n getFileInfoOrBuilderList() {\n return fileInfo_;\n }", "int countByExample(AvwFileprocessExample example);", "public Builder addEntry(com.google.devtools.kythe.proto.Analysis.FileInfo value) {\n if (entryBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureEntryIsMutable();\n entry_.add(value);\n onChanged();\n } else {\n entryBuilder_.addMessage(value);\n }\n return this;\n }", "ds.hdfs.generated.FileMetadata getFiles(int index);", "java.util.List<? extends entities.Torrent.FileInfoOrBuilder>\n getFileInfoOrBuilderList();", "public Long getFileID()\n/* */ {\n/* 88 */ return this.fileID;\n/* */ }", "public void incuploadcount(){\n\t\tthis. num_upload++;\n\t}", "public Vector<file> count()\n {\n Vector<Model.file> files = new Vector<>();\n try\n {\n pw.println(11);\n\n files = (Vector<Model.file>) ois.readObject();\n\n }\n catch (ClassNotFoundException | IOException e)\n {\n System.out.println(e.getMessage());\n }\n return files ;\n }" ]
[ "0.63404644", "0.60424006", "0.58997285", "0.5897735", "0.5897735", "0.5893349", "0.5840858", "0.5782364", "0.575059", "0.56671757", "0.5661143", "0.5629983", "0.55628306", "0.55628306", "0.54918736", "0.54439086", "0.5438974", "0.5436454", "0.53865486", "0.53812563", "0.53554535", "0.53554535", "0.5350297", "0.53485256", "0.5337326", "0.5325269", "0.5323776", "0.5317618", "0.5316972", "0.5305772", "0.5301568", "0.5289526", "0.52858317", "0.527939", "0.527717", "0.5246745", "0.5238312", "0.52333695", "0.52198213", "0.520472", "0.5197636", "0.5181744", "0.5180735", "0.5179602", "0.5171487", "0.5170226", "0.5126351", "0.51164293", "0.51105917", "0.51006323", "0.5064827", "0.5064827", "0.5030081", "0.50298166", "0.5029732", "0.50183815", "0.5008859", "0.5008625", "0.5002189", "0.5000041", "0.4996095", "0.49911362", "0.4988522", "0.49871376", "0.49688184", "0.4968441", "0.49640483", "0.49627694", "0.49464682", "0.49452326", "0.49435145", "0.4940706", "0.4939512", "0.4919068", "0.49134657", "0.4912824", "0.48992985", "0.48903668", "0.4889867", "0.48865864", "0.48865864", "0.48813212", "0.48813212", "0.48808643", "0.48788455", "0.48786306", "0.4874242", "0.48689762", "0.48689762", "0.48684502", "0.48670304", "0.48606005", "0.48516285", "0.48392272", "0.48242542", "0.48236215", "0.48225048", "0.4821103", "0.48174718", "0.4813819" ]
0.5151229
46
repeated .FileInfo fileInfo = 3;
public entities.Torrent.FileInfo getFileInfo(int index) { if (fileInfoBuilder_ == null) { return fileInfo_.get(index); } else { return fileInfoBuilder_.getMessage(index); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public FileInfo getFileInfo() {\n return fileInfo;\n }", "@Test\n\tpublic void testSetFileInfo() {\n\n\t}", "FileInfo create(FileInfo fileInfo);", "entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder();", "entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder();", "public void fileInfo(String info);", "@Override\n public void addSingleFile(FileInfo file) {\n }", "void update(FileInfo fileInfo);", "int getFileInfoCount();", "public void incFileCount(){\n\t\tthis.num_files++;\n\t}", "entities.Torrent.FileInfo getFileInfo(int index);", "public boolean nextFileInfo(FileInfo info) {\n\n\t\t// Get the next file from the search\n\n\t\ttry {\n\n\t\t\t// Return the next file details or loop until a match is found if a\n\t\t\t// complex wildcard filter\n\t\t\t// has been specified\n\t\t\twhile (m_rs.next()) {\n\t\t\t\tString name = m_rs.getString(\"name\");\n\t\t\t\t// Get the file name for the next file\n\t\t\t\tinfo.setFileId(m_rs.getInt(\"id\"));\n\t\t\t\tinfo.setFileName(name);\n\t\t\t\tinfo.setSize(m_rs.getLong(\"size\"));\n\t\t\t\tif(name.equalsIgnoreCase(DBUtil.CLOUDURL))\n\t\t\t\t{\n\t\t\t\t\ttry{\n\t\t\t\t\t//重设置大小\n\t\t\t\t\tinfo.setFileId(-99);\n//\t\t\t\t\tinfo.setFileId(-userId);\n\t\t\t\t\tinfo.setSize(DBUtil.getURLMYFILE_TXT(this.getBaseUrl(),userId).getBytes().length);\n\t\t\t\t\t}catch(Exception e)\n\t\t\t\t\t{\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tlong modifyDate = m_rs.getLong(\"lastModified\");\n\t\t\t\tif (modifyDate != 0L)\n\t\t\t\t\tinfo.setModifyDateTime(modifyDate);\n\t\t\t\telse\n\t\t\t\t\tinfo.setModifyDateTime(System.currentTimeMillis());\n\t\t\t\t\n\t\t\t\tTimestamp ts = m_rs.getTimestamp(\"add_time\");\n\t\t\t\tif (ts !=null && ts.getTime()>0)\n\t\t\t\t{\n\t\t\t\t\tinfo.setCreationDateTime(ts.getTime());\n\t\t\t\t\tinfo.setChangeDateTime(info.getModifyDateTime());\n\t\t\t\t}\n\t\t\t\telse\n\t\t\t\t{\n\t\t\t\t\tinfo.setCreationDateTime(info.getModifyDateTime());\n\t\t\t\t\tinfo.setChangeDateTime(info.getModifyDateTime());\n\t\t\t\t}\t\t\t\t\n\t\t\t\tint attr = 0;\n\t\t\t\tif (m_rs.getBoolean(\"isFile\") == true) {\n\t\t\t\t\tinfo.setFileType(FileType.RegularFile);\t\t\t\t\t\n\t\t\t\t\tattr += FileAttribute.ReadOnly;// 只读权限\n\t\t\t\t} else\n\t\t\t\t\tattr += FileAttribute.Directory;\n\n\t\t\t\tif (m_rs.getBoolean(\"isHidden\") == true) \n\t\t\t\t{\n\t\t\t\t\tattr += FileAttribute.Hidden;//隐藏\n\t\t\t\t}\n\t\t\t\tinfo.setFileType(FileType.Directory);\n\t\t\t\t\t\t\t\t\n\t\t\t\tif (hasMarkAsOffline()) {\n\t\t\t\t\tif (getOfflineFileSize() == 0 || info.getSize() >= getOfflineFileSize())\n\t\t\t\t\t\tattr += FileAttribute.NTOffline;\n\t\t\t\t}\n\t\t\t\tinfo.setFileAttributes(attr);\n\t\t\t\tinfo.setUid(userId);\n\n\t\t\t\tif (m_filter == null || m_filter.matchesPattern(info.getFileName()) == true)\n\t\t\t\t\treturn true;\n\t\t\t}\n\t\t} catch (SQLException ex) {\n\t\t\tex.printStackTrace();\n\t\t}\n\t\t// No more files\n\t\tcloseSearch();\n\t\treturn false;\n\t}", "entities.Torrent.FileInfo getFileInfo();", "entities.Torrent.FileInfo getFileInfo();", "entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder(\n int index);", "DiscFileInfo getFileInfo(String path) throws IOException;", "void setFile(String i) {\n file = i;\n }", "@java.lang.Override\n public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder(\n int index) {\n return fileInfo_.get(index);\n }", "@java.lang.Override\n public int getFileInfoCount() {\n return fileInfo_.size();\n }", "public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder(\n int index) {\n if (fileInfoBuilder_ == null) {\n return fileInfo_.get(index); } else {\n return fileInfoBuilder_.getMessageOrBuilder(index);\n }\n }", "@java.lang.Override\n public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder() {\n return getFileInfo();\n }", "@java.lang.Override\n public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder() {\n return getFileInfo();\n }", "fileInfo(){\n\t\tsymbol = new node[MAXLINECOUNT + 2];\n\t\tother = null; // allocated later!\n\t}", "public Builder addFileInfo(entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureFileInfoIsMutable();\n fileInfo_.add(value);\n onChanged();\n } else {\n fileInfoBuilder_.addMessage(value);\n }\n return this;\n }", "public synchronized FileInfo getOrAddFileInfo(FileInfo alphaFileInfo) {\n String app = alphaFileInfo.getApp();\n String caption = alphaFileInfo.getCaption();\n AppAndCaptionKey key = new AppAndCaptionKey(app, caption);\n String fileId = appAndCaptionToId.get(key);\n if(fileId==null){\n fileId = getNextFileId();\n appAndCaptionToId.put(key, fileId);\n }\n\n //2. Creating file info\n FileInfo sigmaFileInfo = fileCache.getFileInfo(app,fileId);\n if(sigmaFileInfo==null){\n sigmaFileInfo = (FileInfo) alphaFileInfo.clone();\n }\n sigmaFileInfo.setId(fileId);\n return sigmaFileInfo;\n }", "entities.Torrent.FileInfo getFiles(int index);", "com.google.devtools.kythe.proto.Analysis.FileInfoOrBuilder getEntryOrBuilder(\n int index);", "public final FileInfoBase getFileInfo() {\r\n return fileInfo;\r\n }", "public void setFileId(Long fileId) {\n/* 31:31 */ this.fileId = fileId;\n/* 32: */ }", "public entities.Torrent.FileInfo.Builder addFileInfoBuilder() {\n return getFileInfoFieldBuilder().addBuilder(\n entities.Torrent.FileInfo.getDefaultInstance());\n }", "@Override\r\n\tpublic int addAnimalFileInfo(FileInfo fileInfo) {\n\t\treturn fileInfoMapper.addAnimalFileInfo(fileInfo);\r\n\t}", "public abstract long NewFileNumber();", "public Builder addFileInfo(\n int index, entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureFileInfoIsMutable();\n fileInfo_.add(index, value);\n onChanged();\n } else {\n fileInfoBuilder_.addMessage(index, value);\n }\n return this;\n }", "public FileInfo(File file) {\n this.file = file;\n }", "int attrib(int i, File v) {\n if (i < max) {\n AllFiles[i] = v;\n } else {\n File[] temp = new File[max];\n int j;\n for (j = 0; j < max; j++) temp[j] = AllFiles[j];\n AllFiles = new File[max + increase];\n for (j = 0; j < max; j++) AllFiles[j] = temp[j];\n max = max + increase;\n AllFiles[i] = v;\n }\n return (0);\n }", "public boolean hasFileInfo() {\n return fieldSetFlags()[15];\n }", "public Builder setFileInfo(\n int index, entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureFileInfoIsMutable();\n fileInfo_.set(index, value);\n onChanged();\n } else {\n fileInfoBuilder_.setMessage(index, value);\n }\n return this;\n }", "public com.opentext.bn.converters.avro.entity.PayloadRef getFileInfo() {\n return fileInfo;\n }", "entities.Torrent.FileInfoOrBuilder getFilesOrBuilder(\n int index);", "public com.opentext.bn.converters.avro.entity.PayloadRef getFileInfo() {\n return fileInfo;\n }", "com.google.devtools.kythe.proto.Analysis.FileInfo getEntry(int index);", "public TagFileInfo[] getTagFiles() {\n/* 176 */ return this.tagFiles;\n/* */ }", "public Builder setFileInfo(entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n fileInfo_ = value;\n onChanged();\n } else {\n fileInfoBuilder_.setMessage(value);\n }\n\n return this;\n }", "public Builder setFileInfo(entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n fileInfo_ = value;\n onChanged();\n } else {\n fileInfoBuilder_.setMessage(value);\n }\n\n return this;\n }", "private FileInfo(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "public Builder addAllFileInfo(\n java.lang.Iterable<? extends entities.Torrent.FileInfo> values) {\n if (fileInfoBuilder_ == null) {\n ensureFileInfoIsMutable();\n com.google.protobuf.AbstractMessageLite.Builder.addAll(\n values, fileInfo_);\n onChanged();\n } else {\n fileInfoBuilder_.addAllMessages(values);\n }\n return this;\n }", "public int getFileInfoCount() {\n if (fileInfoBuilder_ == null) {\n return fileInfo_.size();\n } else {\n return fileInfoBuilder_.getCount();\n }\n }", "public void constructWith(LzzFileInfo pro) {\n\t\tthis.id = pro.getId ();\n\n\t\tthis.fname = pro.getFname ();\n\n\t\tthis.ftype = pro.getFtype ();\n\n\t\tthis.fsavepath = pro.getFsavepath ();\n\n\t\tthis.furlpath = pro.getFurlpath ();\n\n\t\tthis.createTime = pro.getCreateTime ();\n\n\t\tthis.modifyTime = pro.getModifyTime ();\n\n\t\tthis.def1 = pro.getDef1 ();\n\n\t\tthis.def2 = pro.getDef2 ();\n\n\t\tthis.def3 = pro.getDef3 ();\n\n\t\tthis.def4 = pro.getDef4 ();\n\n\t\tthis.def5 = pro.getDef5 ();\n\n\t\tthis.def6 = pro.getDef6 ();\n\n\t\tthis.def7 = pro.getDef7 ();\n\n\t\tthis.def8 = pro.getDef8 ();\n\n\t\tthis.def9 = pro.getDef9 ();\n\n\t\tthis.def10 = pro.getDef10 ();\n\n\t\tthis.dr = pro.getDr ();\n\n\t}", "public FileInfo(NXTComm nxt, String fileName){\r\n\t\tthis.comm = nxt;\r\n\t\tthis.fileName = fileName;\r\n\t}", "public FileInfo()\r\n {\r\n hash = new HashInfo();\r\n }", "@Override\n public List<FileInfo> getLibrarySubFiles(FileInfo fileInfo) {\n return null;\n }", "public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder() {\n if (fileInfoBuilder_ != null) {\n return fileInfoBuilder_.getMessageOrBuilder();\n } else {\n return fileInfo_ == null ?\n entities.Torrent.FileInfo.getDefaultInstance() : fileInfo_;\n }\n }", "public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder() {\n if (fileInfoBuilder_ != null) {\n return fileInfoBuilder_.getMessageOrBuilder();\n } else {\n return fileInfo_ == null ?\n entities.Torrent.FileInfo.getDefaultInstance() : fileInfo_;\n }\n }", "public DotFileEnumerator(File file)\n {\n fileList.add(file.toString());\n }", "public Builder mergeFileInfo(entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (fileInfo_ != null) {\n fileInfo_ =\n entities.Torrent.FileInfo.newBuilder(fileInfo_).mergeFrom(value).buildPartial();\n } else {\n fileInfo_ = value;\n }\n onChanged();\n } else {\n fileInfoBuilder_.mergeFrom(value);\n }\n\n return this;\n }", "public Builder mergeFileInfo(entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (fileInfo_ != null) {\n fileInfo_ =\n entities.Torrent.FileInfo.newBuilder(fileInfo_).mergeFrom(value).buildPartial();\n } else {\n fileInfo_ = value;\n }\n onChanged();\n } else {\n fileInfoBuilder_.mergeFrom(value);\n }\n\n return this;\n }", "int getFileCount();", "public com.google.devtools.kythe.proto.Analysis.FileInfoOrBuilder getEntryOrBuilder(\n int index) {\n return entry_.get(index);\n }", "public int getFileFlags() { return fileFlags; }", "public Builder clearFileInfo() {\n if (fileInfoBuilder_ == null) {\n fileInfo_ = java.util.Collections.emptyList();\n bitField0_ = (bitField0_ & ~0x00000001);\n onChanged();\n } else {\n fileInfoBuilder_.clear();\n }\n return this;\n }", "public com.opentext.bn.converters.avro.entity.PayloadRef.Builder getFileInfoBuilder() {\n if (fileInfoBuilder == null) {\n if (hasFileInfo()) {\n setFileInfoBuilder(com.opentext.bn.converters.avro.entity.PayloadRef.newBuilder(fileInfo));\n } else {\n setFileInfoBuilder(com.opentext.bn.converters.avro.entity.PayloadRef.newBuilder());\n }\n }\n return fileInfoBuilder;\n }", "public void process(TiffFileInfo info)\n {\n }", "public com.google.devtools.kythe.proto.Analysis.FileInfo.Builder addEntryBuilder() {\n return getEntryFieldBuilder().addBuilder(\n com.google.devtools.kythe.proto.Analysis.FileInfo.getDefaultInstance());\n }", "@java.lang.Override\n public entities.Torrent.FileInfo getFileInfo(int index) {\n return fileInfo_.get(index);\n }", "public Long getFileId() {\n/* 35:35 */ return this.fileId;\n/* 36: */ }", "private com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.FileInfo, entities.Torrent.FileInfo.Builder, entities.Torrent.FileInfoOrBuilder>\n getFileInfoFieldBuilder() {\n if (fileInfoBuilder_ == null) {\n fileInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.FileInfo, entities.Torrent.FileInfo.Builder, entities.Torrent.FileInfoOrBuilder>(\n getFileInfo(),\n getParentForChildren(),\n isClean());\n fileInfo_ = null;\n }\n return fileInfoBuilder_;\n }", "private com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.FileInfo, entities.Torrent.FileInfo.Builder, entities.Torrent.FileInfoOrBuilder>\n getFileInfoFieldBuilder() {\n if (fileInfoBuilder_ == null) {\n fileInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.FileInfo, entities.Torrent.FileInfo.Builder, entities.Torrent.FileInfoOrBuilder>(\n getFileInfo(),\n getParentForChildren(),\n isClean());\n fileInfo_ = null;\n }\n return fileInfoBuilder_;\n }", "private void updateFiles() {\n\t}", "public entities.Torrent.FileInfo.Builder addFileInfoBuilder(\n int index) {\n return getFileInfoFieldBuilder().addBuilder(\n index, entities.Torrent.FileInfo.getDefaultInstance());\n }", "public interface FileSelectInfo\n{\n /**\n * Returns the base folder of the traversal.\n * @return FileObject representing the base folder.\n */\n FileObject getBaseFolder();\n\n /**\n * Returns the file (or folder) to be considered.\n * @return The FileObject.\n */\n FileObject getFile();\n\n /**\n * Returns the depth of the file relative to the base folder.\n * @return The depth of the file relative to the base folder.\n */\n int getDepth();\n}", "public entities.Torrent.FileInfo.Builder getFileInfoBuilder(\n int index) {\n return getFileInfoFieldBuilder().getBuilder(index);\n }", "public entities.Torrent.FileInfo.Builder getFileInfoBuilder() {\n\n onChanged();\n return getFileInfoFieldBuilder().getBuilder();\n }", "public entities.Torrent.FileInfo.Builder getFileInfoBuilder() {\n\n onChanged();\n return getFileInfoFieldBuilder().getBuilder();\n }", "public entities.Torrent.FileInfoOrBuilder getFilesOrBuilder(\n int index) {\n if (filesBuilder_ == null) {\n return files_.get(index); } else {\n return filesBuilder_.getMessageOrBuilder(index);\n }\n }", "private void getExtractWithFiles(){\n\t\ttry{\n\t\t\t\n\t\t\tFileInputStream fStream = new FileInputStream(tfile);\n\t\t\tfileBytes = new byte[(int)tfile.length()];\n\t\t\t\n\t\t\tfStream.read(fileBytes, 0, fileBytes.length);\n\t\t\tfileSize = fileBytes.length;\n\t\t}catch(Exception ex){\n\t\t\tSystem.err.println(\"File Packet \"+ex.getMessage());\n\t\t}\n\t}", "private static void printFileInfo(File file) {\n window.putLog(String.format(\"[%6dkb] Modified %s @%s\", 1 + file.length() / 1024,\n new SimpleDateFormat(\"YYYY-MM-dd HH:mm\").format(new Date(file.lastModified())),\n file.getPath().substring(workingDirectory.getParent().length())));\n }", "public interface FileSystemEntry {\n public long getCount();\n public long getSize();\n public String getName();\n}", "public PSMatrixFilesMeta() {\r\n this(-1, new ConcurrentSkipListMap<Integer, MatrixPartitionMeta>());\r\n }", "protected final void setFileInformation( FileInfo fInfo) {\n\t\tm_info = fInfo;\n\t}", "public java.util.List<? extends entities.Torrent.FileInfoOrBuilder>\n getFileInfoOrBuilderList() {\n if (fileInfoBuilder_ != null) {\n return fileInfoBuilder_.getMessageOrBuilderList();\n } else {\n return java.util.Collections.unmodifiableList(fileInfo_);\n }\n }", "int getFileNamesCount();", "int getFileNamesCount();", "public void filesNotFound(File... f) { }", "public void filesNotFound(File... f) { }", "@Override\n public void onPick(FileInfo f) {\n }", "public void setFileRecordCount(int ct) {\n\t\tfileRecordCount = ct;\n\t}", "public com.opentext.bn.converters.avro.entity.DocumentEvent.Builder setFileInfo(com.opentext.bn.converters.avro.entity.PayloadRef value) {\n validate(fields()[15], value);\n this.fileInfoBuilder = null;\n this.fileInfo = value;\n fieldSetFlags()[15] = true;\n return this;\n }", "public DotFileEnumerator(String filePath)\n {\n String[] tempArr = new File(filePath).list();\n\n for (String s : tempArr) {\n fileList.add(filePath + \"/\" + s);\n }\n }", "@java.lang.Override\n public entities.Torrent.FileInfo getFileInfo() {\n return fileInfo_ == null ? entities.Torrent.FileInfo.getDefaultInstance() : fileInfo_;\n }", "@java.lang.Override\n public entities.Torrent.FileInfo getFileInfo() {\n return fileInfo_ == null ? entities.Torrent.FileInfo.getDefaultInstance() : fileInfo_;\n }", "public FileInfoICS(String name, String directory, int format) {\r\n super(name, directory, format);\r\n }", "public FileInfo(FileInfo v)\n \t{\n \t\ttitle = v.title;\n \t\tauthors = v.authors;\n \t\tseries = v.series;\n \t\tseriesNumber = v.seriesNumber;\n \t\tpath = v.path;\n \t\tfilename = v.filename;\n \t\tpathname = v.pathname;\n \t\tarcname = v.arcname;\n \t\tformat = v.format;\n \t\tsize = v.size;\n \t\tarcsize = v.arcsize;\n \t\tisArchive = v.isArchive;\n \t\tisDirectory = v.isDirectory;\n \t\tcreateTime = v.createTime;\n \t\tlastAccessTime = v.lastAccessTime;\n \t}", "public ImageFiles() {\n\t\tthis.listOne = new ArrayList<String>();\n\t\tthis.listTwo = new ArrayList<String>();\n\t\tthis.listThree = new ArrayList<String>();\n\t\tthis.seenImages = new ArrayList<String>();\n\t\tthis.unseenImages = new ArrayList<String>();\n\t}", "@java.lang.Override\n public java.util.List<? extends entities.Torrent.FileInfoOrBuilder>\n getFileInfoOrBuilderList() {\n return fileInfo_;\n }", "int countByExample(AvwFileprocessExample example);", "public Builder addEntry(com.google.devtools.kythe.proto.Analysis.FileInfo value) {\n if (entryBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureEntryIsMutable();\n entry_.add(value);\n onChanged();\n } else {\n entryBuilder_.addMessage(value);\n }\n return this;\n }", "ds.hdfs.generated.FileMetadata getFiles(int index);", "java.util.List<? extends entities.Torrent.FileInfoOrBuilder>\n getFileInfoOrBuilderList();", "public Long getFileID()\n/* */ {\n/* 88 */ return this.fileID;\n/* */ }", "public void incuploadcount(){\n\t\tthis. num_upload++;\n\t}", "public Vector<file> count()\n {\n Vector<Model.file> files = new Vector<>();\n try\n {\n pw.println(11);\n\n files = (Vector<Model.file>) ois.readObject();\n\n }\n catch (ClassNotFoundException | IOException e)\n {\n System.out.println(e.getMessage());\n }\n return files ;\n }" ]
[ "0.63404644", "0.60424006", "0.58997285", "0.5897735", "0.5897735", "0.5893349", "0.5840858", "0.5782364", "0.575059", "0.56671757", "0.5661143", "0.5629983", "0.55628306", "0.55628306", "0.54918736", "0.54439086", "0.5438974", "0.5436454", "0.53865486", "0.53812563", "0.53554535", "0.53554535", "0.5350297", "0.53485256", "0.5337326", "0.5325269", "0.5323776", "0.5317618", "0.5316972", "0.5305772", "0.5301568", "0.5289526", "0.52858317", "0.527939", "0.527717", "0.5246745", "0.5238312", "0.52333695", "0.52198213", "0.520472", "0.5197636", "0.5181744", "0.5180735", "0.5179602", "0.5171487", "0.5170226", "0.5151229", "0.5126351", "0.51164293", "0.51105917", "0.51006323", "0.5064827", "0.5064827", "0.5030081", "0.50298166", "0.5029732", "0.50183815", "0.5008859", "0.5008625", "0.5002189", "0.5000041", "0.4996095", "0.49911362", "0.4988522", "0.49871376", "0.49688184", "0.4968441", "0.49640483", "0.49627694", "0.49464682", "0.49452326", "0.49435145", "0.4940706", "0.4939512", "0.4919068", "0.49134657", "0.4912824", "0.48992985", "0.48903668", "0.4889867", "0.48865864", "0.48865864", "0.48813212", "0.48813212", "0.48808643", "0.48788455", "0.48786306", "0.4874242", "0.48689762", "0.48689762", "0.48684502", "0.48670304", "0.48606005", "0.48516285", "0.48392272", "0.48242542", "0.48236215", "0.48225048", "0.4821103", "0.48174718", "0.4813819" ]
0.0
-1
repeated .FileInfo fileInfo = 3;
public Builder setFileInfo( int index, entities.Torrent.FileInfo value) { if (fileInfoBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureFileInfoIsMutable(); fileInfo_.set(index, value); onChanged(); } else { fileInfoBuilder_.setMessage(index, value); } return this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public FileInfo getFileInfo() {\n return fileInfo;\n }", "@Test\n\tpublic void testSetFileInfo() {\n\n\t}", "FileInfo create(FileInfo fileInfo);", "entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder();", "entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder();", "public void fileInfo(String info);", "@Override\n public void addSingleFile(FileInfo file) {\n }", "void update(FileInfo fileInfo);", "int getFileInfoCount();", "public void incFileCount(){\n\t\tthis.num_files++;\n\t}", "entities.Torrent.FileInfo getFileInfo(int index);", "public boolean nextFileInfo(FileInfo info) {\n\n\t\t// Get the next file from the search\n\n\t\ttry {\n\n\t\t\t// Return the next file details or loop until a match is found if a\n\t\t\t// complex wildcard filter\n\t\t\t// has been specified\n\t\t\twhile (m_rs.next()) {\n\t\t\t\tString name = m_rs.getString(\"name\");\n\t\t\t\t// Get the file name for the next file\n\t\t\t\tinfo.setFileId(m_rs.getInt(\"id\"));\n\t\t\t\tinfo.setFileName(name);\n\t\t\t\tinfo.setSize(m_rs.getLong(\"size\"));\n\t\t\t\tif(name.equalsIgnoreCase(DBUtil.CLOUDURL))\n\t\t\t\t{\n\t\t\t\t\ttry{\n\t\t\t\t\t//重设置大小\n\t\t\t\t\tinfo.setFileId(-99);\n//\t\t\t\t\tinfo.setFileId(-userId);\n\t\t\t\t\tinfo.setSize(DBUtil.getURLMYFILE_TXT(this.getBaseUrl(),userId).getBytes().length);\n\t\t\t\t\t}catch(Exception e)\n\t\t\t\t\t{\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tlong modifyDate = m_rs.getLong(\"lastModified\");\n\t\t\t\tif (modifyDate != 0L)\n\t\t\t\t\tinfo.setModifyDateTime(modifyDate);\n\t\t\t\telse\n\t\t\t\t\tinfo.setModifyDateTime(System.currentTimeMillis());\n\t\t\t\t\n\t\t\t\tTimestamp ts = m_rs.getTimestamp(\"add_time\");\n\t\t\t\tif (ts !=null && ts.getTime()>0)\n\t\t\t\t{\n\t\t\t\t\tinfo.setCreationDateTime(ts.getTime());\n\t\t\t\t\tinfo.setChangeDateTime(info.getModifyDateTime());\n\t\t\t\t}\n\t\t\t\telse\n\t\t\t\t{\n\t\t\t\t\tinfo.setCreationDateTime(info.getModifyDateTime());\n\t\t\t\t\tinfo.setChangeDateTime(info.getModifyDateTime());\n\t\t\t\t}\t\t\t\t\n\t\t\t\tint attr = 0;\n\t\t\t\tif (m_rs.getBoolean(\"isFile\") == true) {\n\t\t\t\t\tinfo.setFileType(FileType.RegularFile);\t\t\t\t\t\n\t\t\t\t\tattr += FileAttribute.ReadOnly;// 只读权限\n\t\t\t\t} else\n\t\t\t\t\tattr += FileAttribute.Directory;\n\n\t\t\t\tif (m_rs.getBoolean(\"isHidden\") == true) \n\t\t\t\t{\n\t\t\t\t\tattr += FileAttribute.Hidden;//隐藏\n\t\t\t\t}\n\t\t\t\tinfo.setFileType(FileType.Directory);\n\t\t\t\t\t\t\t\t\n\t\t\t\tif (hasMarkAsOffline()) {\n\t\t\t\t\tif (getOfflineFileSize() == 0 || info.getSize() >= getOfflineFileSize())\n\t\t\t\t\t\tattr += FileAttribute.NTOffline;\n\t\t\t\t}\n\t\t\t\tinfo.setFileAttributes(attr);\n\t\t\t\tinfo.setUid(userId);\n\n\t\t\t\tif (m_filter == null || m_filter.matchesPattern(info.getFileName()) == true)\n\t\t\t\t\treturn true;\n\t\t\t}\n\t\t} catch (SQLException ex) {\n\t\t\tex.printStackTrace();\n\t\t}\n\t\t// No more files\n\t\tcloseSearch();\n\t\treturn false;\n\t}", "entities.Torrent.FileInfo getFileInfo();", "entities.Torrent.FileInfo getFileInfo();", "entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder(\n int index);", "DiscFileInfo getFileInfo(String path) throws IOException;", "void setFile(String i) {\n file = i;\n }", "@java.lang.Override\n public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder(\n int index) {\n return fileInfo_.get(index);\n }", "@java.lang.Override\n public int getFileInfoCount() {\n return fileInfo_.size();\n }", "public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder(\n int index) {\n if (fileInfoBuilder_ == null) {\n return fileInfo_.get(index); } else {\n return fileInfoBuilder_.getMessageOrBuilder(index);\n }\n }", "@java.lang.Override\n public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder() {\n return getFileInfo();\n }", "@java.lang.Override\n public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder() {\n return getFileInfo();\n }", "fileInfo(){\n\t\tsymbol = new node[MAXLINECOUNT + 2];\n\t\tother = null; // allocated later!\n\t}", "public Builder addFileInfo(entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureFileInfoIsMutable();\n fileInfo_.add(value);\n onChanged();\n } else {\n fileInfoBuilder_.addMessage(value);\n }\n return this;\n }", "public synchronized FileInfo getOrAddFileInfo(FileInfo alphaFileInfo) {\n String app = alphaFileInfo.getApp();\n String caption = alphaFileInfo.getCaption();\n AppAndCaptionKey key = new AppAndCaptionKey(app, caption);\n String fileId = appAndCaptionToId.get(key);\n if(fileId==null){\n fileId = getNextFileId();\n appAndCaptionToId.put(key, fileId);\n }\n\n //2. Creating file info\n FileInfo sigmaFileInfo = fileCache.getFileInfo(app,fileId);\n if(sigmaFileInfo==null){\n sigmaFileInfo = (FileInfo) alphaFileInfo.clone();\n }\n sigmaFileInfo.setId(fileId);\n return sigmaFileInfo;\n }", "entities.Torrent.FileInfo getFiles(int index);", "com.google.devtools.kythe.proto.Analysis.FileInfoOrBuilder getEntryOrBuilder(\n int index);", "public final FileInfoBase getFileInfo() {\r\n return fileInfo;\r\n }", "public void setFileId(Long fileId) {\n/* 31:31 */ this.fileId = fileId;\n/* 32: */ }", "public entities.Torrent.FileInfo.Builder addFileInfoBuilder() {\n return getFileInfoFieldBuilder().addBuilder(\n entities.Torrent.FileInfo.getDefaultInstance());\n }", "@Override\r\n\tpublic int addAnimalFileInfo(FileInfo fileInfo) {\n\t\treturn fileInfoMapper.addAnimalFileInfo(fileInfo);\r\n\t}", "public abstract long NewFileNumber();", "public Builder addFileInfo(\n int index, entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureFileInfoIsMutable();\n fileInfo_.add(index, value);\n onChanged();\n } else {\n fileInfoBuilder_.addMessage(index, value);\n }\n return this;\n }", "public FileInfo(File file) {\n this.file = file;\n }", "int attrib(int i, File v) {\n if (i < max) {\n AllFiles[i] = v;\n } else {\n File[] temp = new File[max];\n int j;\n for (j = 0; j < max; j++) temp[j] = AllFiles[j];\n AllFiles = new File[max + increase];\n for (j = 0; j < max; j++) AllFiles[j] = temp[j];\n max = max + increase;\n AllFiles[i] = v;\n }\n return (0);\n }", "public boolean hasFileInfo() {\n return fieldSetFlags()[15];\n }", "public com.opentext.bn.converters.avro.entity.PayloadRef getFileInfo() {\n return fileInfo;\n }", "entities.Torrent.FileInfoOrBuilder getFilesOrBuilder(\n int index);", "public com.opentext.bn.converters.avro.entity.PayloadRef getFileInfo() {\n return fileInfo;\n }", "com.google.devtools.kythe.proto.Analysis.FileInfo getEntry(int index);", "public TagFileInfo[] getTagFiles() {\n/* 176 */ return this.tagFiles;\n/* */ }", "public Builder setFileInfo(entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n fileInfo_ = value;\n onChanged();\n } else {\n fileInfoBuilder_.setMessage(value);\n }\n\n return this;\n }", "public Builder setFileInfo(entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n fileInfo_ = value;\n onChanged();\n } else {\n fileInfoBuilder_.setMessage(value);\n }\n\n return this;\n }", "private FileInfo(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "public Builder addAllFileInfo(\n java.lang.Iterable<? extends entities.Torrent.FileInfo> values) {\n if (fileInfoBuilder_ == null) {\n ensureFileInfoIsMutable();\n com.google.protobuf.AbstractMessageLite.Builder.addAll(\n values, fileInfo_);\n onChanged();\n } else {\n fileInfoBuilder_.addAllMessages(values);\n }\n return this;\n }", "public int getFileInfoCount() {\n if (fileInfoBuilder_ == null) {\n return fileInfo_.size();\n } else {\n return fileInfoBuilder_.getCount();\n }\n }", "public void constructWith(LzzFileInfo pro) {\n\t\tthis.id = pro.getId ();\n\n\t\tthis.fname = pro.getFname ();\n\n\t\tthis.ftype = pro.getFtype ();\n\n\t\tthis.fsavepath = pro.getFsavepath ();\n\n\t\tthis.furlpath = pro.getFurlpath ();\n\n\t\tthis.createTime = pro.getCreateTime ();\n\n\t\tthis.modifyTime = pro.getModifyTime ();\n\n\t\tthis.def1 = pro.getDef1 ();\n\n\t\tthis.def2 = pro.getDef2 ();\n\n\t\tthis.def3 = pro.getDef3 ();\n\n\t\tthis.def4 = pro.getDef4 ();\n\n\t\tthis.def5 = pro.getDef5 ();\n\n\t\tthis.def6 = pro.getDef6 ();\n\n\t\tthis.def7 = pro.getDef7 ();\n\n\t\tthis.def8 = pro.getDef8 ();\n\n\t\tthis.def9 = pro.getDef9 ();\n\n\t\tthis.def10 = pro.getDef10 ();\n\n\t\tthis.dr = pro.getDr ();\n\n\t}", "public FileInfo(NXTComm nxt, String fileName){\r\n\t\tthis.comm = nxt;\r\n\t\tthis.fileName = fileName;\r\n\t}", "public FileInfo()\r\n {\r\n hash = new HashInfo();\r\n }", "@Override\n public List<FileInfo> getLibrarySubFiles(FileInfo fileInfo) {\n return null;\n }", "public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder() {\n if (fileInfoBuilder_ != null) {\n return fileInfoBuilder_.getMessageOrBuilder();\n } else {\n return fileInfo_ == null ?\n entities.Torrent.FileInfo.getDefaultInstance() : fileInfo_;\n }\n }", "public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder() {\n if (fileInfoBuilder_ != null) {\n return fileInfoBuilder_.getMessageOrBuilder();\n } else {\n return fileInfo_ == null ?\n entities.Torrent.FileInfo.getDefaultInstance() : fileInfo_;\n }\n }", "public DotFileEnumerator(File file)\n {\n fileList.add(file.toString());\n }", "public Builder mergeFileInfo(entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (fileInfo_ != null) {\n fileInfo_ =\n entities.Torrent.FileInfo.newBuilder(fileInfo_).mergeFrom(value).buildPartial();\n } else {\n fileInfo_ = value;\n }\n onChanged();\n } else {\n fileInfoBuilder_.mergeFrom(value);\n }\n\n return this;\n }", "public Builder mergeFileInfo(entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (fileInfo_ != null) {\n fileInfo_ =\n entities.Torrent.FileInfo.newBuilder(fileInfo_).mergeFrom(value).buildPartial();\n } else {\n fileInfo_ = value;\n }\n onChanged();\n } else {\n fileInfoBuilder_.mergeFrom(value);\n }\n\n return this;\n }", "int getFileCount();", "public com.google.devtools.kythe.proto.Analysis.FileInfoOrBuilder getEntryOrBuilder(\n int index) {\n return entry_.get(index);\n }", "public int getFileFlags() { return fileFlags; }", "public Builder clearFileInfo() {\n if (fileInfoBuilder_ == null) {\n fileInfo_ = java.util.Collections.emptyList();\n bitField0_ = (bitField0_ & ~0x00000001);\n onChanged();\n } else {\n fileInfoBuilder_.clear();\n }\n return this;\n }", "public com.opentext.bn.converters.avro.entity.PayloadRef.Builder getFileInfoBuilder() {\n if (fileInfoBuilder == null) {\n if (hasFileInfo()) {\n setFileInfoBuilder(com.opentext.bn.converters.avro.entity.PayloadRef.newBuilder(fileInfo));\n } else {\n setFileInfoBuilder(com.opentext.bn.converters.avro.entity.PayloadRef.newBuilder());\n }\n }\n return fileInfoBuilder;\n }", "public void process(TiffFileInfo info)\n {\n }", "public com.google.devtools.kythe.proto.Analysis.FileInfo.Builder addEntryBuilder() {\n return getEntryFieldBuilder().addBuilder(\n com.google.devtools.kythe.proto.Analysis.FileInfo.getDefaultInstance());\n }", "@java.lang.Override\n public entities.Torrent.FileInfo getFileInfo(int index) {\n return fileInfo_.get(index);\n }", "public Long getFileId() {\n/* 35:35 */ return this.fileId;\n/* 36: */ }", "private com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.FileInfo, entities.Torrent.FileInfo.Builder, entities.Torrent.FileInfoOrBuilder>\n getFileInfoFieldBuilder() {\n if (fileInfoBuilder_ == null) {\n fileInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.FileInfo, entities.Torrent.FileInfo.Builder, entities.Torrent.FileInfoOrBuilder>(\n getFileInfo(),\n getParentForChildren(),\n isClean());\n fileInfo_ = null;\n }\n return fileInfoBuilder_;\n }", "private com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.FileInfo, entities.Torrent.FileInfo.Builder, entities.Torrent.FileInfoOrBuilder>\n getFileInfoFieldBuilder() {\n if (fileInfoBuilder_ == null) {\n fileInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.FileInfo, entities.Torrent.FileInfo.Builder, entities.Torrent.FileInfoOrBuilder>(\n getFileInfo(),\n getParentForChildren(),\n isClean());\n fileInfo_ = null;\n }\n return fileInfoBuilder_;\n }", "private void updateFiles() {\n\t}", "public entities.Torrent.FileInfo.Builder addFileInfoBuilder(\n int index) {\n return getFileInfoFieldBuilder().addBuilder(\n index, entities.Torrent.FileInfo.getDefaultInstance());\n }", "public interface FileSelectInfo\n{\n /**\n * Returns the base folder of the traversal.\n * @return FileObject representing the base folder.\n */\n FileObject getBaseFolder();\n\n /**\n * Returns the file (or folder) to be considered.\n * @return The FileObject.\n */\n FileObject getFile();\n\n /**\n * Returns the depth of the file relative to the base folder.\n * @return The depth of the file relative to the base folder.\n */\n int getDepth();\n}", "public entities.Torrent.FileInfo.Builder getFileInfoBuilder(\n int index) {\n return getFileInfoFieldBuilder().getBuilder(index);\n }", "public entities.Torrent.FileInfo.Builder getFileInfoBuilder() {\n\n onChanged();\n return getFileInfoFieldBuilder().getBuilder();\n }", "public entities.Torrent.FileInfo.Builder getFileInfoBuilder() {\n\n onChanged();\n return getFileInfoFieldBuilder().getBuilder();\n }", "public entities.Torrent.FileInfoOrBuilder getFilesOrBuilder(\n int index) {\n if (filesBuilder_ == null) {\n return files_.get(index); } else {\n return filesBuilder_.getMessageOrBuilder(index);\n }\n }", "private void getExtractWithFiles(){\n\t\ttry{\n\t\t\t\n\t\t\tFileInputStream fStream = new FileInputStream(tfile);\n\t\t\tfileBytes = new byte[(int)tfile.length()];\n\t\t\t\n\t\t\tfStream.read(fileBytes, 0, fileBytes.length);\n\t\t\tfileSize = fileBytes.length;\n\t\t}catch(Exception ex){\n\t\t\tSystem.err.println(\"File Packet \"+ex.getMessage());\n\t\t}\n\t}", "private static void printFileInfo(File file) {\n window.putLog(String.format(\"[%6dkb] Modified %s @%s\", 1 + file.length() / 1024,\n new SimpleDateFormat(\"YYYY-MM-dd HH:mm\").format(new Date(file.lastModified())),\n file.getPath().substring(workingDirectory.getParent().length())));\n }", "public interface FileSystemEntry {\n public long getCount();\n public long getSize();\n public String getName();\n}", "public PSMatrixFilesMeta() {\r\n this(-1, new ConcurrentSkipListMap<Integer, MatrixPartitionMeta>());\r\n }", "protected final void setFileInformation( FileInfo fInfo) {\n\t\tm_info = fInfo;\n\t}", "public java.util.List<? extends entities.Torrent.FileInfoOrBuilder>\n getFileInfoOrBuilderList() {\n if (fileInfoBuilder_ != null) {\n return fileInfoBuilder_.getMessageOrBuilderList();\n } else {\n return java.util.Collections.unmodifiableList(fileInfo_);\n }\n }", "int getFileNamesCount();", "int getFileNamesCount();", "public void filesNotFound(File... f) { }", "public void filesNotFound(File... f) { }", "@Override\n public void onPick(FileInfo f) {\n }", "public void setFileRecordCount(int ct) {\n\t\tfileRecordCount = ct;\n\t}", "public com.opentext.bn.converters.avro.entity.DocumentEvent.Builder setFileInfo(com.opentext.bn.converters.avro.entity.PayloadRef value) {\n validate(fields()[15], value);\n this.fileInfoBuilder = null;\n this.fileInfo = value;\n fieldSetFlags()[15] = true;\n return this;\n }", "public DotFileEnumerator(String filePath)\n {\n String[] tempArr = new File(filePath).list();\n\n for (String s : tempArr) {\n fileList.add(filePath + \"/\" + s);\n }\n }", "@java.lang.Override\n public entities.Torrent.FileInfo getFileInfo() {\n return fileInfo_ == null ? entities.Torrent.FileInfo.getDefaultInstance() : fileInfo_;\n }", "@java.lang.Override\n public entities.Torrent.FileInfo getFileInfo() {\n return fileInfo_ == null ? entities.Torrent.FileInfo.getDefaultInstance() : fileInfo_;\n }", "public FileInfoICS(String name, String directory, int format) {\r\n super(name, directory, format);\r\n }", "public FileInfo(FileInfo v)\n \t{\n \t\ttitle = v.title;\n \t\tauthors = v.authors;\n \t\tseries = v.series;\n \t\tseriesNumber = v.seriesNumber;\n \t\tpath = v.path;\n \t\tfilename = v.filename;\n \t\tpathname = v.pathname;\n \t\tarcname = v.arcname;\n \t\tformat = v.format;\n \t\tsize = v.size;\n \t\tarcsize = v.arcsize;\n \t\tisArchive = v.isArchive;\n \t\tisDirectory = v.isDirectory;\n \t\tcreateTime = v.createTime;\n \t\tlastAccessTime = v.lastAccessTime;\n \t}", "public ImageFiles() {\n\t\tthis.listOne = new ArrayList<String>();\n\t\tthis.listTwo = new ArrayList<String>();\n\t\tthis.listThree = new ArrayList<String>();\n\t\tthis.seenImages = new ArrayList<String>();\n\t\tthis.unseenImages = new ArrayList<String>();\n\t}", "@java.lang.Override\n public java.util.List<? extends entities.Torrent.FileInfoOrBuilder>\n getFileInfoOrBuilderList() {\n return fileInfo_;\n }", "int countByExample(AvwFileprocessExample example);", "public Builder addEntry(com.google.devtools.kythe.proto.Analysis.FileInfo value) {\n if (entryBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureEntryIsMutable();\n entry_.add(value);\n onChanged();\n } else {\n entryBuilder_.addMessage(value);\n }\n return this;\n }", "ds.hdfs.generated.FileMetadata getFiles(int index);", "java.util.List<? extends entities.Torrent.FileInfoOrBuilder>\n getFileInfoOrBuilderList();", "public Long getFileID()\n/* */ {\n/* 88 */ return this.fileID;\n/* */ }", "public void incuploadcount(){\n\t\tthis. num_upload++;\n\t}", "public Vector<file> count()\n {\n Vector<Model.file> files = new Vector<>();\n try\n {\n pw.println(11);\n\n files = (Vector<Model.file>) ois.readObject();\n\n }\n catch (ClassNotFoundException | IOException e)\n {\n System.out.println(e.getMessage());\n }\n return files ;\n }" ]
[ "0.63404644", "0.60424006", "0.58997285", "0.5897735", "0.5897735", "0.5893349", "0.5840858", "0.5782364", "0.575059", "0.56671757", "0.5661143", "0.5629983", "0.55628306", "0.55628306", "0.54918736", "0.54439086", "0.5438974", "0.5436454", "0.53865486", "0.53812563", "0.53554535", "0.53554535", "0.5350297", "0.53485256", "0.5337326", "0.5325269", "0.5323776", "0.5317618", "0.5316972", "0.5305772", "0.5301568", "0.5289526", "0.52858317", "0.527939", "0.527717", "0.5246745", "0.52333695", "0.52198213", "0.520472", "0.5197636", "0.5181744", "0.5180735", "0.5179602", "0.5171487", "0.5170226", "0.5151229", "0.5126351", "0.51164293", "0.51105917", "0.51006323", "0.5064827", "0.5064827", "0.5030081", "0.50298166", "0.5029732", "0.50183815", "0.5008859", "0.5008625", "0.5002189", "0.5000041", "0.4996095", "0.49911362", "0.4988522", "0.49871376", "0.49688184", "0.4968441", "0.49640483", "0.49627694", "0.49464682", "0.49452326", "0.49435145", "0.4940706", "0.4939512", "0.4919068", "0.49134657", "0.4912824", "0.48992985", "0.48903668", "0.4889867", "0.48865864", "0.48865864", "0.48813212", "0.48813212", "0.48808643", "0.48788455", "0.48786306", "0.4874242", "0.48689762", "0.48689762", "0.48684502", "0.48670304", "0.48606005", "0.48516285", "0.48392272", "0.48242542", "0.48236215", "0.48225048", "0.4821103", "0.48174718", "0.4813819" ]
0.5238312
36
repeated .FileInfo fileInfo = 3;
public Builder setFileInfo( int index, entities.Torrent.FileInfo.Builder builderForValue) { if (fileInfoBuilder_ == null) { ensureFileInfoIsMutable(); fileInfo_.set(index, builderForValue.build()); onChanged(); } else { fileInfoBuilder_.setMessage(index, builderForValue.build()); } return this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public FileInfo getFileInfo() {\n return fileInfo;\n }", "@Test\n\tpublic void testSetFileInfo() {\n\n\t}", "FileInfo create(FileInfo fileInfo);", "entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder();", "entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder();", "public void fileInfo(String info);", "@Override\n public void addSingleFile(FileInfo file) {\n }", "void update(FileInfo fileInfo);", "int getFileInfoCount();", "public void incFileCount(){\n\t\tthis.num_files++;\n\t}", "entities.Torrent.FileInfo getFileInfo(int index);", "public boolean nextFileInfo(FileInfo info) {\n\n\t\t// Get the next file from the search\n\n\t\ttry {\n\n\t\t\t// Return the next file details or loop until a match is found if a\n\t\t\t// complex wildcard filter\n\t\t\t// has been specified\n\t\t\twhile (m_rs.next()) {\n\t\t\t\tString name = m_rs.getString(\"name\");\n\t\t\t\t// Get the file name for the next file\n\t\t\t\tinfo.setFileId(m_rs.getInt(\"id\"));\n\t\t\t\tinfo.setFileName(name);\n\t\t\t\tinfo.setSize(m_rs.getLong(\"size\"));\n\t\t\t\tif(name.equalsIgnoreCase(DBUtil.CLOUDURL))\n\t\t\t\t{\n\t\t\t\t\ttry{\n\t\t\t\t\t//重设置大小\n\t\t\t\t\tinfo.setFileId(-99);\n//\t\t\t\t\tinfo.setFileId(-userId);\n\t\t\t\t\tinfo.setSize(DBUtil.getURLMYFILE_TXT(this.getBaseUrl(),userId).getBytes().length);\n\t\t\t\t\t}catch(Exception e)\n\t\t\t\t\t{\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tlong modifyDate = m_rs.getLong(\"lastModified\");\n\t\t\t\tif (modifyDate != 0L)\n\t\t\t\t\tinfo.setModifyDateTime(modifyDate);\n\t\t\t\telse\n\t\t\t\t\tinfo.setModifyDateTime(System.currentTimeMillis());\n\t\t\t\t\n\t\t\t\tTimestamp ts = m_rs.getTimestamp(\"add_time\");\n\t\t\t\tif (ts !=null && ts.getTime()>0)\n\t\t\t\t{\n\t\t\t\t\tinfo.setCreationDateTime(ts.getTime());\n\t\t\t\t\tinfo.setChangeDateTime(info.getModifyDateTime());\n\t\t\t\t}\n\t\t\t\telse\n\t\t\t\t{\n\t\t\t\t\tinfo.setCreationDateTime(info.getModifyDateTime());\n\t\t\t\t\tinfo.setChangeDateTime(info.getModifyDateTime());\n\t\t\t\t}\t\t\t\t\n\t\t\t\tint attr = 0;\n\t\t\t\tif (m_rs.getBoolean(\"isFile\") == true) {\n\t\t\t\t\tinfo.setFileType(FileType.RegularFile);\t\t\t\t\t\n\t\t\t\t\tattr += FileAttribute.ReadOnly;// 只读权限\n\t\t\t\t} else\n\t\t\t\t\tattr += FileAttribute.Directory;\n\n\t\t\t\tif (m_rs.getBoolean(\"isHidden\") == true) \n\t\t\t\t{\n\t\t\t\t\tattr += FileAttribute.Hidden;//隐藏\n\t\t\t\t}\n\t\t\t\tinfo.setFileType(FileType.Directory);\n\t\t\t\t\t\t\t\t\n\t\t\t\tif (hasMarkAsOffline()) {\n\t\t\t\t\tif (getOfflineFileSize() == 0 || info.getSize() >= getOfflineFileSize())\n\t\t\t\t\t\tattr += FileAttribute.NTOffline;\n\t\t\t\t}\n\t\t\t\tinfo.setFileAttributes(attr);\n\t\t\t\tinfo.setUid(userId);\n\n\t\t\t\tif (m_filter == null || m_filter.matchesPattern(info.getFileName()) == true)\n\t\t\t\t\treturn true;\n\t\t\t}\n\t\t} catch (SQLException ex) {\n\t\t\tex.printStackTrace();\n\t\t}\n\t\t// No more files\n\t\tcloseSearch();\n\t\treturn false;\n\t}", "entities.Torrent.FileInfo getFileInfo();", "entities.Torrent.FileInfo getFileInfo();", "entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder(\n int index);", "DiscFileInfo getFileInfo(String path) throws IOException;", "void setFile(String i) {\n file = i;\n }", "@java.lang.Override\n public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder(\n int index) {\n return fileInfo_.get(index);\n }", "@java.lang.Override\n public int getFileInfoCount() {\n return fileInfo_.size();\n }", "public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder(\n int index) {\n if (fileInfoBuilder_ == null) {\n return fileInfo_.get(index); } else {\n return fileInfoBuilder_.getMessageOrBuilder(index);\n }\n }", "@java.lang.Override\n public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder() {\n return getFileInfo();\n }", "@java.lang.Override\n public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder() {\n return getFileInfo();\n }", "fileInfo(){\n\t\tsymbol = new node[MAXLINECOUNT + 2];\n\t\tother = null; // allocated later!\n\t}", "public Builder addFileInfo(entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureFileInfoIsMutable();\n fileInfo_.add(value);\n onChanged();\n } else {\n fileInfoBuilder_.addMessage(value);\n }\n return this;\n }", "public synchronized FileInfo getOrAddFileInfo(FileInfo alphaFileInfo) {\n String app = alphaFileInfo.getApp();\n String caption = alphaFileInfo.getCaption();\n AppAndCaptionKey key = new AppAndCaptionKey(app, caption);\n String fileId = appAndCaptionToId.get(key);\n if(fileId==null){\n fileId = getNextFileId();\n appAndCaptionToId.put(key, fileId);\n }\n\n //2. Creating file info\n FileInfo sigmaFileInfo = fileCache.getFileInfo(app,fileId);\n if(sigmaFileInfo==null){\n sigmaFileInfo = (FileInfo) alphaFileInfo.clone();\n }\n sigmaFileInfo.setId(fileId);\n return sigmaFileInfo;\n }", "entities.Torrent.FileInfo getFiles(int index);", "com.google.devtools.kythe.proto.Analysis.FileInfoOrBuilder getEntryOrBuilder(\n int index);", "public final FileInfoBase getFileInfo() {\r\n return fileInfo;\r\n }", "public void setFileId(Long fileId) {\n/* 31:31 */ this.fileId = fileId;\n/* 32: */ }", "public entities.Torrent.FileInfo.Builder addFileInfoBuilder() {\n return getFileInfoFieldBuilder().addBuilder(\n entities.Torrent.FileInfo.getDefaultInstance());\n }", "@Override\r\n\tpublic int addAnimalFileInfo(FileInfo fileInfo) {\n\t\treturn fileInfoMapper.addAnimalFileInfo(fileInfo);\r\n\t}", "public abstract long NewFileNumber();", "public Builder addFileInfo(\n int index, entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureFileInfoIsMutable();\n fileInfo_.add(index, value);\n onChanged();\n } else {\n fileInfoBuilder_.addMessage(index, value);\n }\n return this;\n }", "public FileInfo(File file) {\n this.file = file;\n }", "int attrib(int i, File v) {\n if (i < max) {\n AllFiles[i] = v;\n } else {\n File[] temp = new File[max];\n int j;\n for (j = 0; j < max; j++) temp[j] = AllFiles[j];\n AllFiles = new File[max + increase];\n for (j = 0; j < max; j++) AllFiles[j] = temp[j];\n max = max + increase;\n AllFiles[i] = v;\n }\n return (0);\n }", "public boolean hasFileInfo() {\n return fieldSetFlags()[15];\n }", "public Builder setFileInfo(\n int index, entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureFileInfoIsMutable();\n fileInfo_.set(index, value);\n onChanged();\n } else {\n fileInfoBuilder_.setMessage(index, value);\n }\n return this;\n }", "public com.opentext.bn.converters.avro.entity.PayloadRef getFileInfo() {\n return fileInfo;\n }", "entities.Torrent.FileInfoOrBuilder getFilesOrBuilder(\n int index);", "public com.opentext.bn.converters.avro.entity.PayloadRef getFileInfo() {\n return fileInfo;\n }", "com.google.devtools.kythe.proto.Analysis.FileInfo getEntry(int index);", "public TagFileInfo[] getTagFiles() {\n/* 176 */ return this.tagFiles;\n/* */ }", "public Builder setFileInfo(entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n fileInfo_ = value;\n onChanged();\n } else {\n fileInfoBuilder_.setMessage(value);\n }\n\n return this;\n }", "public Builder setFileInfo(entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n fileInfo_ = value;\n onChanged();\n } else {\n fileInfoBuilder_.setMessage(value);\n }\n\n return this;\n }", "private FileInfo(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "public Builder addAllFileInfo(\n java.lang.Iterable<? extends entities.Torrent.FileInfo> values) {\n if (fileInfoBuilder_ == null) {\n ensureFileInfoIsMutable();\n com.google.protobuf.AbstractMessageLite.Builder.addAll(\n values, fileInfo_);\n onChanged();\n } else {\n fileInfoBuilder_.addAllMessages(values);\n }\n return this;\n }", "public int getFileInfoCount() {\n if (fileInfoBuilder_ == null) {\n return fileInfo_.size();\n } else {\n return fileInfoBuilder_.getCount();\n }\n }", "public void constructWith(LzzFileInfo pro) {\n\t\tthis.id = pro.getId ();\n\n\t\tthis.fname = pro.getFname ();\n\n\t\tthis.ftype = pro.getFtype ();\n\n\t\tthis.fsavepath = pro.getFsavepath ();\n\n\t\tthis.furlpath = pro.getFurlpath ();\n\n\t\tthis.createTime = pro.getCreateTime ();\n\n\t\tthis.modifyTime = pro.getModifyTime ();\n\n\t\tthis.def1 = pro.getDef1 ();\n\n\t\tthis.def2 = pro.getDef2 ();\n\n\t\tthis.def3 = pro.getDef3 ();\n\n\t\tthis.def4 = pro.getDef4 ();\n\n\t\tthis.def5 = pro.getDef5 ();\n\n\t\tthis.def6 = pro.getDef6 ();\n\n\t\tthis.def7 = pro.getDef7 ();\n\n\t\tthis.def8 = pro.getDef8 ();\n\n\t\tthis.def9 = pro.getDef9 ();\n\n\t\tthis.def10 = pro.getDef10 ();\n\n\t\tthis.dr = pro.getDr ();\n\n\t}", "public FileInfo(NXTComm nxt, String fileName){\r\n\t\tthis.comm = nxt;\r\n\t\tthis.fileName = fileName;\r\n\t}", "public FileInfo()\r\n {\r\n hash = new HashInfo();\r\n }", "@Override\n public List<FileInfo> getLibrarySubFiles(FileInfo fileInfo) {\n return null;\n }", "public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder() {\n if (fileInfoBuilder_ != null) {\n return fileInfoBuilder_.getMessageOrBuilder();\n } else {\n return fileInfo_ == null ?\n entities.Torrent.FileInfo.getDefaultInstance() : fileInfo_;\n }\n }", "public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder() {\n if (fileInfoBuilder_ != null) {\n return fileInfoBuilder_.getMessageOrBuilder();\n } else {\n return fileInfo_ == null ?\n entities.Torrent.FileInfo.getDefaultInstance() : fileInfo_;\n }\n }", "public DotFileEnumerator(File file)\n {\n fileList.add(file.toString());\n }", "public Builder mergeFileInfo(entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (fileInfo_ != null) {\n fileInfo_ =\n entities.Torrent.FileInfo.newBuilder(fileInfo_).mergeFrom(value).buildPartial();\n } else {\n fileInfo_ = value;\n }\n onChanged();\n } else {\n fileInfoBuilder_.mergeFrom(value);\n }\n\n return this;\n }", "public Builder mergeFileInfo(entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (fileInfo_ != null) {\n fileInfo_ =\n entities.Torrent.FileInfo.newBuilder(fileInfo_).mergeFrom(value).buildPartial();\n } else {\n fileInfo_ = value;\n }\n onChanged();\n } else {\n fileInfoBuilder_.mergeFrom(value);\n }\n\n return this;\n }", "int getFileCount();", "public com.google.devtools.kythe.proto.Analysis.FileInfoOrBuilder getEntryOrBuilder(\n int index) {\n return entry_.get(index);\n }", "public int getFileFlags() { return fileFlags; }", "public Builder clearFileInfo() {\n if (fileInfoBuilder_ == null) {\n fileInfo_ = java.util.Collections.emptyList();\n bitField0_ = (bitField0_ & ~0x00000001);\n onChanged();\n } else {\n fileInfoBuilder_.clear();\n }\n return this;\n }", "public com.opentext.bn.converters.avro.entity.PayloadRef.Builder getFileInfoBuilder() {\n if (fileInfoBuilder == null) {\n if (hasFileInfo()) {\n setFileInfoBuilder(com.opentext.bn.converters.avro.entity.PayloadRef.newBuilder(fileInfo));\n } else {\n setFileInfoBuilder(com.opentext.bn.converters.avro.entity.PayloadRef.newBuilder());\n }\n }\n return fileInfoBuilder;\n }", "public void process(TiffFileInfo info)\n {\n }", "public com.google.devtools.kythe.proto.Analysis.FileInfo.Builder addEntryBuilder() {\n return getEntryFieldBuilder().addBuilder(\n com.google.devtools.kythe.proto.Analysis.FileInfo.getDefaultInstance());\n }", "@java.lang.Override\n public entities.Torrent.FileInfo getFileInfo(int index) {\n return fileInfo_.get(index);\n }", "public Long getFileId() {\n/* 35:35 */ return this.fileId;\n/* 36: */ }", "private com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.FileInfo, entities.Torrent.FileInfo.Builder, entities.Torrent.FileInfoOrBuilder>\n getFileInfoFieldBuilder() {\n if (fileInfoBuilder_ == null) {\n fileInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.FileInfo, entities.Torrent.FileInfo.Builder, entities.Torrent.FileInfoOrBuilder>(\n getFileInfo(),\n getParentForChildren(),\n isClean());\n fileInfo_ = null;\n }\n return fileInfoBuilder_;\n }", "private com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.FileInfo, entities.Torrent.FileInfo.Builder, entities.Torrent.FileInfoOrBuilder>\n getFileInfoFieldBuilder() {\n if (fileInfoBuilder_ == null) {\n fileInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.FileInfo, entities.Torrent.FileInfo.Builder, entities.Torrent.FileInfoOrBuilder>(\n getFileInfo(),\n getParentForChildren(),\n isClean());\n fileInfo_ = null;\n }\n return fileInfoBuilder_;\n }", "private void updateFiles() {\n\t}", "public entities.Torrent.FileInfo.Builder addFileInfoBuilder(\n int index) {\n return getFileInfoFieldBuilder().addBuilder(\n index, entities.Torrent.FileInfo.getDefaultInstance());\n }", "public interface FileSelectInfo\n{\n /**\n * Returns the base folder of the traversal.\n * @return FileObject representing the base folder.\n */\n FileObject getBaseFolder();\n\n /**\n * Returns the file (or folder) to be considered.\n * @return The FileObject.\n */\n FileObject getFile();\n\n /**\n * Returns the depth of the file relative to the base folder.\n * @return The depth of the file relative to the base folder.\n */\n int getDepth();\n}", "public entities.Torrent.FileInfo.Builder getFileInfoBuilder(\n int index) {\n return getFileInfoFieldBuilder().getBuilder(index);\n }", "public entities.Torrent.FileInfo.Builder getFileInfoBuilder() {\n\n onChanged();\n return getFileInfoFieldBuilder().getBuilder();\n }", "public entities.Torrent.FileInfo.Builder getFileInfoBuilder() {\n\n onChanged();\n return getFileInfoFieldBuilder().getBuilder();\n }", "public entities.Torrent.FileInfoOrBuilder getFilesOrBuilder(\n int index) {\n if (filesBuilder_ == null) {\n return files_.get(index); } else {\n return filesBuilder_.getMessageOrBuilder(index);\n }\n }", "private void getExtractWithFiles(){\n\t\ttry{\n\t\t\t\n\t\t\tFileInputStream fStream = new FileInputStream(tfile);\n\t\t\tfileBytes = new byte[(int)tfile.length()];\n\t\t\t\n\t\t\tfStream.read(fileBytes, 0, fileBytes.length);\n\t\t\tfileSize = fileBytes.length;\n\t\t}catch(Exception ex){\n\t\t\tSystem.err.println(\"File Packet \"+ex.getMessage());\n\t\t}\n\t}", "private static void printFileInfo(File file) {\n window.putLog(String.format(\"[%6dkb] Modified %s @%s\", 1 + file.length() / 1024,\n new SimpleDateFormat(\"YYYY-MM-dd HH:mm\").format(new Date(file.lastModified())),\n file.getPath().substring(workingDirectory.getParent().length())));\n }", "public interface FileSystemEntry {\n public long getCount();\n public long getSize();\n public String getName();\n}", "public PSMatrixFilesMeta() {\r\n this(-1, new ConcurrentSkipListMap<Integer, MatrixPartitionMeta>());\r\n }", "protected final void setFileInformation( FileInfo fInfo) {\n\t\tm_info = fInfo;\n\t}", "public java.util.List<? extends entities.Torrent.FileInfoOrBuilder>\n getFileInfoOrBuilderList() {\n if (fileInfoBuilder_ != null) {\n return fileInfoBuilder_.getMessageOrBuilderList();\n } else {\n return java.util.Collections.unmodifiableList(fileInfo_);\n }\n }", "int getFileNamesCount();", "int getFileNamesCount();", "public void filesNotFound(File... f) { }", "public void filesNotFound(File... f) { }", "@Override\n public void onPick(FileInfo f) {\n }", "public void setFileRecordCount(int ct) {\n\t\tfileRecordCount = ct;\n\t}", "public com.opentext.bn.converters.avro.entity.DocumentEvent.Builder setFileInfo(com.opentext.bn.converters.avro.entity.PayloadRef value) {\n validate(fields()[15], value);\n this.fileInfoBuilder = null;\n this.fileInfo = value;\n fieldSetFlags()[15] = true;\n return this;\n }", "public DotFileEnumerator(String filePath)\n {\n String[] tempArr = new File(filePath).list();\n\n for (String s : tempArr) {\n fileList.add(filePath + \"/\" + s);\n }\n }", "@java.lang.Override\n public entities.Torrent.FileInfo getFileInfo() {\n return fileInfo_ == null ? entities.Torrent.FileInfo.getDefaultInstance() : fileInfo_;\n }", "@java.lang.Override\n public entities.Torrent.FileInfo getFileInfo() {\n return fileInfo_ == null ? entities.Torrent.FileInfo.getDefaultInstance() : fileInfo_;\n }", "public FileInfoICS(String name, String directory, int format) {\r\n super(name, directory, format);\r\n }", "public FileInfo(FileInfo v)\n \t{\n \t\ttitle = v.title;\n \t\tauthors = v.authors;\n \t\tseries = v.series;\n \t\tseriesNumber = v.seriesNumber;\n \t\tpath = v.path;\n \t\tfilename = v.filename;\n \t\tpathname = v.pathname;\n \t\tarcname = v.arcname;\n \t\tformat = v.format;\n \t\tsize = v.size;\n \t\tarcsize = v.arcsize;\n \t\tisArchive = v.isArchive;\n \t\tisDirectory = v.isDirectory;\n \t\tcreateTime = v.createTime;\n \t\tlastAccessTime = v.lastAccessTime;\n \t}", "public ImageFiles() {\n\t\tthis.listOne = new ArrayList<String>();\n\t\tthis.listTwo = new ArrayList<String>();\n\t\tthis.listThree = new ArrayList<String>();\n\t\tthis.seenImages = new ArrayList<String>();\n\t\tthis.unseenImages = new ArrayList<String>();\n\t}", "@java.lang.Override\n public java.util.List<? extends entities.Torrent.FileInfoOrBuilder>\n getFileInfoOrBuilderList() {\n return fileInfo_;\n }", "int countByExample(AvwFileprocessExample example);", "public Builder addEntry(com.google.devtools.kythe.proto.Analysis.FileInfo value) {\n if (entryBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureEntryIsMutable();\n entry_.add(value);\n onChanged();\n } else {\n entryBuilder_.addMessage(value);\n }\n return this;\n }", "ds.hdfs.generated.FileMetadata getFiles(int index);", "java.util.List<? extends entities.Torrent.FileInfoOrBuilder>\n getFileInfoOrBuilderList();", "public Long getFileID()\n/* */ {\n/* 88 */ return this.fileID;\n/* */ }", "public void incuploadcount(){\n\t\tthis. num_upload++;\n\t}", "public Vector<file> count()\n {\n Vector<Model.file> files = new Vector<>();\n try\n {\n pw.println(11);\n\n files = (Vector<Model.file>) ois.readObject();\n\n }\n catch (ClassNotFoundException | IOException e)\n {\n System.out.println(e.getMessage());\n }\n return files ;\n }" ]
[ "0.63404644", "0.60424006", "0.58997285", "0.5897735", "0.5897735", "0.5893349", "0.5840858", "0.5782364", "0.575059", "0.56671757", "0.5661143", "0.5629983", "0.55628306", "0.55628306", "0.54918736", "0.54439086", "0.5438974", "0.5436454", "0.53865486", "0.53812563", "0.53554535", "0.53554535", "0.5350297", "0.53485256", "0.5337326", "0.5325269", "0.5323776", "0.5317618", "0.5316972", "0.5305772", "0.5301568", "0.5289526", "0.52858317", "0.527939", "0.527717", "0.5246745", "0.5238312", "0.52333695", "0.52198213", "0.520472", "0.5197636", "0.5181744", "0.5180735", "0.5179602", "0.5171487", "0.5170226", "0.5151229", "0.5126351", "0.51164293", "0.51105917", "0.51006323", "0.5064827", "0.5064827", "0.5030081", "0.50298166", "0.5029732", "0.50183815", "0.5008859", "0.5008625", "0.5002189", "0.5000041", "0.4996095", "0.49911362", "0.4988522", "0.49871376", "0.49688184", "0.4968441", "0.49640483", "0.49627694", "0.49464682", "0.49452326", "0.49435145", "0.4940706", "0.4939512", "0.4919068", "0.49134657", "0.4912824", "0.48992985", "0.48903668", "0.4889867", "0.48865864", "0.48865864", "0.48813212", "0.48813212", "0.48808643", "0.48788455", "0.48786306", "0.4874242", "0.48689762", "0.48689762", "0.48684502", "0.48670304", "0.48606005", "0.48516285", "0.48392272", "0.48242542", "0.48236215", "0.48225048", "0.4821103", "0.48174718", "0.4813819" ]
0.0
-1
repeated .FileInfo fileInfo = 3;
public Builder addFileInfo(entities.Torrent.FileInfo value) { if (fileInfoBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureFileInfoIsMutable(); fileInfo_.add(value); onChanged(); } else { fileInfoBuilder_.addMessage(value); } return this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public FileInfo getFileInfo() {\n return fileInfo;\n }", "@Test\n\tpublic void testSetFileInfo() {\n\n\t}", "FileInfo create(FileInfo fileInfo);", "entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder();", "entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder();", "public void fileInfo(String info);", "@Override\n public void addSingleFile(FileInfo file) {\n }", "void update(FileInfo fileInfo);", "int getFileInfoCount();", "public void incFileCount(){\n\t\tthis.num_files++;\n\t}", "entities.Torrent.FileInfo getFileInfo(int index);", "public boolean nextFileInfo(FileInfo info) {\n\n\t\t// Get the next file from the search\n\n\t\ttry {\n\n\t\t\t// Return the next file details or loop until a match is found if a\n\t\t\t// complex wildcard filter\n\t\t\t// has been specified\n\t\t\twhile (m_rs.next()) {\n\t\t\t\tString name = m_rs.getString(\"name\");\n\t\t\t\t// Get the file name for the next file\n\t\t\t\tinfo.setFileId(m_rs.getInt(\"id\"));\n\t\t\t\tinfo.setFileName(name);\n\t\t\t\tinfo.setSize(m_rs.getLong(\"size\"));\n\t\t\t\tif(name.equalsIgnoreCase(DBUtil.CLOUDURL))\n\t\t\t\t{\n\t\t\t\t\ttry{\n\t\t\t\t\t//重设置大小\n\t\t\t\t\tinfo.setFileId(-99);\n//\t\t\t\t\tinfo.setFileId(-userId);\n\t\t\t\t\tinfo.setSize(DBUtil.getURLMYFILE_TXT(this.getBaseUrl(),userId).getBytes().length);\n\t\t\t\t\t}catch(Exception e)\n\t\t\t\t\t{\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tlong modifyDate = m_rs.getLong(\"lastModified\");\n\t\t\t\tif (modifyDate != 0L)\n\t\t\t\t\tinfo.setModifyDateTime(modifyDate);\n\t\t\t\telse\n\t\t\t\t\tinfo.setModifyDateTime(System.currentTimeMillis());\n\t\t\t\t\n\t\t\t\tTimestamp ts = m_rs.getTimestamp(\"add_time\");\n\t\t\t\tif (ts !=null && ts.getTime()>0)\n\t\t\t\t{\n\t\t\t\t\tinfo.setCreationDateTime(ts.getTime());\n\t\t\t\t\tinfo.setChangeDateTime(info.getModifyDateTime());\n\t\t\t\t}\n\t\t\t\telse\n\t\t\t\t{\n\t\t\t\t\tinfo.setCreationDateTime(info.getModifyDateTime());\n\t\t\t\t\tinfo.setChangeDateTime(info.getModifyDateTime());\n\t\t\t\t}\t\t\t\t\n\t\t\t\tint attr = 0;\n\t\t\t\tif (m_rs.getBoolean(\"isFile\") == true) {\n\t\t\t\t\tinfo.setFileType(FileType.RegularFile);\t\t\t\t\t\n\t\t\t\t\tattr += FileAttribute.ReadOnly;// 只读权限\n\t\t\t\t} else\n\t\t\t\t\tattr += FileAttribute.Directory;\n\n\t\t\t\tif (m_rs.getBoolean(\"isHidden\") == true) \n\t\t\t\t{\n\t\t\t\t\tattr += FileAttribute.Hidden;//隐藏\n\t\t\t\t}\n\t\t\t\tinfo.setFileType(FileType.Directory);\n\t\t\t\t\t\t\t\t\n\t\t\t\tif (hasMarkAsOffline()) {\n\t\t\t\t\tif (getOfflineFileSize() == 0 || info.getSize() >= getOfflineFileSize())\n\t\t\t\t\t\tattr += FileAttribute.NTOffline;\n\t\t\t\t}\n\t\t\t\tinfo.setFileAttributes(attr);\n\t\t\t\tinfo.setUid(userId);\n\n\t\t\t\tif (m_filter == null || m_filter.matchesPattern(info.getFileName()) == true)\n\t\t\t\t\treturn true;\n\t\t\t}\n\t\t} catch (SQLException ex) {\n\t\t\tex.printStackTrace();\n\t\t}\n\t\t// No more files\n\t\tcloseSearch();\n\t\treturn false;\n\t}", "entities.Torrent.FileInfo getFileInfo();", "entities.Torrent.FileInfo getFileInfo();", "entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder(\n int index);", "DiscFileInfo getFileInfo(String path) throws IOException;", "void setFile(String i) {\n file = i;\n }", "@java.lang.Override\n public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder(\n int index) {\n return fileInfo_.get(index);\n }", "@java.lang.Override\n public int getFileInfoCount() {\n return fileInfo_.size();\n }", "public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder(\n int index) {\n if (fileInfoBuilder_ == null) {\n return fileInfo_.get(index); } else {\n return fileInfoBuilder_.getMessageOrBuilder(index);\n }\n }", "@java.lang.Override\n public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder() {\n return getFileInfo();\n }", "@java.lang.Override\n public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder() {\n return getFileInfo();\n }", "fileInfo(){\n\t\tsymbol = new node[MAXLINECOUNT + 2];\n\t\tother = null; // allocated later!\n\t}", "public synchronized FileInfo getOrAddFileInfo(FileInfo alphaFileInfo) {\n String app = alphaFileInfo.getApp();\n String caption = alphaFileInfo.getCaption();\n AppAndCaptionKey key = new AppAndCaptionKey(app, caption);\n String fileId = appAndCaptionToId.get(key);\n if(fileId==null){\n fileId = getNextFileId();\n appAndCaptionToId.put(key, fileId);\n }\n\n //2. Creating file info\n FileInfo sigmaFileInfo = fileCache.getFileInfo(app,fileId);\n if(sigmaFileInfo==null){\n sigmaFileInfo = (FileInfo) alphaFileInfo.clone();\n }\n sigmaFileInfo.setId(fileId);\n return sigmaFileInfo;\n }", "entities.Torrent.FileInfo getFiles(int index);", "com.google.devtools.kythe.proto.Analysis.FileInfoOrBuilder getEntryOrBuilder(\n int index);", "public final FileInfoBase getFileInfo() {\r\n return fileInfo;\r\n }", "public void setFileId(Long fileId) {\n/* 31:31 */ this.fileId = fileId;\n/* 32: */ }", "public entities.Torrent.FileInfo.Builder addFileInfoBuilder() {\n return getFileInfoFieldBuilder().addBuilder(\n entities.Torrent.FileInfo.getDefaultInstance());\n }", "@Override\r\n\tpublic int addAnimalFileInfo(FileInfo fileInfo) {\n\t\treturn fileInfoMapper.addAnimalFileInfo(fileInfo);\r\n\t}", "public abstract long NewFileNumber();", "public Builder addFileInfo(\n int index, entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureFileInfoIsMutable();\n fileInfo_.add(index, value);\n onChanged();\n } else {\n fileInfoBuilder_.addMessage(index, value);\n }\n return this;\n }", "public FileInfo(File file) {\n this.file = file;\n }", "int attrib(int i, File v) {\n if (i < max) {\n AllFiles[i] = v;\n } else {\n File[] temp = new File[max];\n int j;\n for (j = 0; j < max; j++) temp[j] = AllFiles[j];\n AllFiles = new File[max + increase];\n for (j = 0; j < max; j++) AllFiles[j] = temp[j];\n max = max + increase;\n AllFiles[i] = v;\n }\n return (0);\n }", "public boolean hasFileInfo() {\n return fieldSetFlags()[15];\n }", "public Builder setFileInfo(\n int index, entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureFileInfoIsMutable();\n fileInfo_.set(index, value);\n onChanged();\n } else {\n fileInfoBuilder_.setMessage(index, value);\n }\n return this;\n }", "public com.opentext.bn.converters.avro.entity.PayloadRef getFileInfo() {\n return fileInfo;\n }", "entities.Torrent.FileInfoOrBuilder getFilesOrBuilder(\n int index);", "public com.opentext.bn.converters.avro.entity.PayloadRef getFileInfo() {\n return fileInfo;\n }", "com.google.devtools.kythe.proto.Analysis.FileInfo getEntry(int index);", "public TagFileInfo[] getTagFiles() {\n/* 176 */ return this.tagFiles;\n/* */ }", "public Builder setFileInfo(entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n fileInfo_ = value;\n onChanged();\n } else {\n fileInfoBuilder_.setMessage(value);\n }\n\n return this;\n }", "public Builder setFileInfo(entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n fileInfo_ = value;\n onChanged();\n } else {\n fileInfoBuilder_.setMessage(value);\n }\n\n return this;\n }", "private FileInfo(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "public Builder addAllFileInfo(\n java.lang.Iterable<? extends entities.Torrent.FileInfo> values) {\n if (fileInfoBuilder_ == null) {\n ensureFileInfoIsMutable();\n com.google.protobuf.AbstractMessageLite.Builder.addAll(\n values, fileInfo_);\n onChanged();\n } else {\n fileInfoBuilder_.addAllMessages(values);\n }\n return this;\n }", "public int getFileInfoCount() {\n if (fileInfoBuilder_ == null) {\n return fileInfo_.size();\n } else {\n return fileInfoBuilder_.getCount();\n }\n }", "public void constructWith(LzzFileInfo pro) {\n\t\tthis.id = pro.getId ();\n\n\t\tthis.fname = pro.getFname ();\n\n\t\tthis.ftype = pro.getFtype ();\n\n\t\tthis.fsavepath = pro.getFsavepath ();\n\n\t\tthis.furlpath = pro.getFurlpath ();\n\n\t\tthis.createTime = pro.getCreateTime ();\n\n\t\tthis.modifyTime = pro.getModifyTime ();\n\n\t\tthis.def1 = pro.getDef1 ();\n\n\t\tthis.def2 = pro.getDef2 ();\n\n\t\tthis.def3 = pro.getDef3 ();\n\n\t\tthis.def4 = pro.getDef4 ();\n\n\t\tthis.def5 = pro.getDef5 ();\n\n\t\tthis.def6 = pro.getDef6 ();\n\n\t\tthis.def7 = pro.getDef7 ();\n\n\t\tthis.def8 = pro.getDef8 ();\n\n\t\tthis.def9 = pro.getDef9 ();\n\n\t\tthis.def10 = pro.getDef10 ();\n\n\t\tthis.dr = pro.getDr ();\n\n\t}", "public FileInfo(NXTComm nxt, String fileName){\r\n\t\tthis.comm = nxt;\r\n\t\tthis.fileName = fileName;\r\n\t}", "public FileInfo()\r\n {\r\n hash = new HashInfo();\r\n }", "@Override\n public List<FileInfo> getLibrarySubFiles(FileInfo fileInfo) {\n return null;\n }", "public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder() {\n if (fileInfoBuilder_ != null) {\n return fileInfoBuilder_.getMessageOrBuilder();\n } else {\n return fileInfo_ == null ?\n entities.Torrent.FileInfo.getDefaultInstance() : fileInfo_;\n }\n }", "public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder() {\n if (fileInfoBuilder_ != null) {\n return fileInfoBuilder_.getMessageOrBuilder();\n } else {\n return fileInfo_ == null ?\n entities.Torrent.FileInfo.getDefaultInstance() : fileInfo_;\n }\n }", "public DotFileEnumerator(File file)\n {\n fileList.add(file.toString());\n }", "public Builder mergeFileInfo(entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (fileInfo_ != null) {\n fileInfo_ =\n entities.Torrent.FileInfo.newBuilder(fileInfo_).mergeFrom(value).buildPartial();\n } else {\n fileInfo_ = value;\n }\n onChanged();\n } else {\n fileInfoBuilder_.mergeFrom(value);\n }\n\n return this;\n }", "public Builder mergeFileInfo(entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (fileInfo_ != null) {\n fileInfo_ =\n entities.Torrent.FileInfo.newBuilder(fileInfo_).mergeFrom(value).buildPartial();\n } else {\n fileInfo_ = value;\n }\n onChanged();\n } else {\n fileInfoBuilder_.mergeFrom(value);\n }\n\n return this;\n }", "int getFileCount();", "public com.google.devtools.kythe.proto.Analysis.FileInfoOrBuilder getEntryOrBuilder(\n int index) {\n return entry_.get(index);\n }", "public int getFileFlags() { return fileFlags; }", "public Builder clearFileInfo() {\n if (fileInfoBuilder_ == null) {\n fileInfo_ = java.util.Collections.emptyList();\n bitField0_ = (bitField0_ & ~0x00000001);\n onChanged();\n } else {\n fileInfoBuilder_.clear();\n }\n return this;\n }", "public com.opentext.bn.converters.avro.entity.PayloadRef.Builder getFileInfoBuilder() {\n if (fileInfoBuilder == null) {\n if (hasFileInfo()) {\n setFileInfoBuilder(com.opentext.bn.converters.avro.entity.PayloadRef.newBuilder(fileInfo));\n } else {\n setFileInfoBuilder(com.opentext.bn.converters.avro.entity.PayloadRef.newBuilder());\n }\n }\n return fileInfoBuilder;\n }", "public void process(TiffFileInfo info)\n {\n }", "public com.google.devtools.kythe.proto.Analysis.FileInfo.Builder addEntryBuilder() {\n return getEntryFieldBuilder().addBuilder(\n com.google.devtools.kythe.proto.Analysis.FileInfo.getDefaultInstance());\n }", "@java.lang.Override\n public entities.Torrent.FileInfo getFileInfo(int index) {\n return fileInfo_.get(index);\n }", "public Long getFileId() {\n/* 35:35 */ return this.fileId;\n/* 36: */ }", "private com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.FileInfo, entities.Torrent.FileInfo.Builder, entities.Torrent.FileInfoOrBuilder>\n getFileInfoFieldBuilder() {\n if (fileInfoBuilder_ == null) {\n fileInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.FileInfo, entities.Torrent.FileInfo.Builder, entities.Torrent.FileInfoOrBuilder>(\n getFileInfo(),\n getParentForChildren(),\n isClean());\n fileInfo_ = null;\n }\n return fileInfoBuilder_;\n }", "private com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.FileInfo, entities.Torrent.FileInfo.Builder, entities.Torrent.FileInfoOrBuilder>\n getFileInfoFieldBuilder() {\n if (fileInfoBuilder_ == null) {\n fileInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.FileInfo, entities.Torrent.FileInfo.Builder, entities.Torrent.FileInfoOrBuilder>(\n getFileInfo(),\n getParentForChildren(),\n isClean());\n fileInfo_ = null;\n }\n return fileInfoBuilder_;\n }", "private void updateFiles() {\n\t}", "public entities.Torrent.FileInfo.Builder addFileInfoBuilder(\n int index) {\n return getFileInfoFieldBuilder().addBuilder(\n index, entities.Torrent.FileInfo.getDefaultInstance());\n }", "public interface FileSelectInfo\n{\n /**\n * Returns the base folder of the traversal.\n * @return FileObject representing the base folder.\n */\n FileObject getBaseFolder();\n\n /**\n * Returns the file (or folder) to be considered.\n * @return The FileObject.\n */\n FileObject getFile();\n\n /**\n * Returns the depth of the file relative to the base folder.\n * @return The depth of the file relative to the base folder.\n */\n int getDepth();\n}", "public entities.Torrent.FileInfo.Builder getFileInfoBuilder(\n int index) {\n return getFileInfoFieldBuilder().getBuilder(index);\n }", "public entities.Torrent.FileInfo.Builder getFileInfoBuilder() {\n\n onChanged();\n return getFileInfoFieldBuilder().getBuilder();\n }", "public entities.Torrent.FileInfo.Builder getFileInfoBuilder() {\n\n onChanged();\n return getFileInfoFieldBuilder().getBuilder();\n }", "public entities.Torrent.FileInfoOrBuilder getFilesOrBuilder(\n int index) {\n if (filesBuilder_ == null) {\n return files_.get(index); } else {\n return filesBuilder_.getMessageOrBuilder(index);\n }\n }", "private void getExtractWithFiles(){\n\t\ttry{\n\t\t\t\n\t\t\tFileInputStream fStream = new FileInputStream(tfile);\n\t\t\tfileBytes = new byte[(int)tfile.length()];\n\t\t\t\n\t\t\tfStream.read(fileBytes, 0, fileBytes.length);\n\t\t\tfileSize = fileBytes.length;\n\t\t}catch(Exception ex){\n\t\t\tSystem.err.println(\"File Packet \"+ex.getMessage());\n\t\t}\n\t}", "private static void printFileInfo(File file) {\n window.putLog(String.format(\"[%6dkb] Modified %s @%s\", 1 + file.length() / 1024,\n new SimpleDateFormat(\"YYYY-MM-dd HH:mm\").format(new Date(file.lastModified())),\n file.getPath().substring(workingDirectory.getParent().length())));\n }", "public interface FileSystemEntry {\n public long getCount();\n public long getSize();\n public String getName();\n}", "public PSMatrixFilesMeta() {\r\n this(-1, new ConcurrentSkipListMap<Integer, MatrixPartitionMeta>());\r\n }", "protected final void setFileInformation( FileInfo fInfo) {\n\t\tm_info = fInfo;\n\t}", "public java.util.List<? extends entities.Torrent.FileInfoOrBuilder>\n getFileInfoOrBuilderList() {\n if (fileInfoBuilder_ != null) {\n return fileInfoBuilder_.getMessageOrBuilderList();\n } else {\n return java.util.Collections.unmodifiableList(fileInfo_);\n }\n }", "int getFileNamesCount();", "int getFileNamesCount();", "public void filesNotFound(File... f) { }", "public void filesNotFound(File... f) { }", "@Override\n public void onPick(FileInfo f) {\n }", "public void setFileRecordCount(int ct) {\n\t\tfileRecordCount = ct;\n\t}", "public com.opentext.bn.converters.avro.entity.DocumentEvent.Builder setFileInfo(com.opentext.bn.converters.avro.entity.PayloadRef value) {\n validate(fields()[15], value);\n this.fileInfoBuilder = null;\n this.fileInfo = value;\n fieldSetFlags()[15] = true;\n return this;\n }", "public DotFileEnumerator(String filePath)\n {\n String[] tempArr = new File(filePath).list();\n\n for (String s : tempArr) {\n fileList.add(filePath + \"/\" + s);\n }\n }", "@java.lang.Override\n public entities.Torrent.FileInfo getFileInfo() {\n return fileInfo_ == null ? entities.Torrent.FileInfo.getDefaultInstance() : fileInfo_;\n }", "@java.lang.Override\n public entities.Torrent.FileInfo getFileInfo() {\n return fileInfo_ == null ? entities.Torrent.FileInfo.getDefaultInstance() : fileInfo_;\n }", "public FileInfoICS(String name, String directory, int format) {\r\n super(name, directory, format);\r\n }", "public FileInfo(FileInfo v)\n \t{\n \t\ttitle = v.title;\n \t\tauthors = v.authors;\n \t\tseries = v.series;\n \t\tseriesNumber = v.seriesNumber;\n \t\tpath = v.path;\n \t\tfilename = v.filename;\n \t\tpathname = v.pathname;\n \t\tarcname = v.arcname;\n \t\tformat = v.format;\n \t\tsize = v.size;\n \t\tarcsize = v.arcsize;\n \t\tisArchive = v.isArchive;\n \t\tisDirectory = v.isDirectory;\n \t\tcreateTime = v.createTime;\n \t\tlastAccessTime = v.lastAccessTime;\n \t}", "public ImageFiles() {\n\t\tthis.listOne = new ArrayList<String>();\n\t\tthis.listTwo = new ArrayList<String>();\n\t\tthis.listThree = new ArrayList<String>();\n\t\tthis.seenImages = new ArrayList<String>();\n\t\tthis.unseenImages = new ArrayList<String>();\n\t}", "@java.lang.Override\n public java.util.List<? extends entities.Torrent.FileInfoOrBuilder>\n getFileInfoOrBuilderList() {\n return fileInfo_;\n }", "int countByExample(AvwFileprocessExample example);", "public Builder addEntry(com.google.devtools.kythe.proto.Analysis.FileInfo value) {\n if (entryBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureEntryIsMutable();\n entry_.add(value);\n onChanged();\n } else {\n entryBuilder_.addMessage(value);\n }\n return this;\n }", "ds.hdfs.generated.FileMetadata getFiles(int index);", "java.util.List<? extends entities.Torrent.FileInfoOrBuilder>\n getFileInfoOrBuilderList();", "public Long getFileID()\n/* */ {\n/* 88 */ return this.fileID;\n/* */ }", "public void incuploadcount(){\n\t\tthis. num_upload++;\n\t}", "public Vector<file> count()\n {\n Vector<Model.file> files = new Vector<>();\n try\n {\n pw.println(11);\n\n files = (Vector<Model.file>) ois.readObject();\n\n }\n catch (ClassNotFoundException | IOException e)\n {\n System.out.println(e.getMessage());\n }\n return files ;\n }" ]
[ "0.63404644", "0.60424006", "0.58997285", "0.5897735", "0.5897735", "0.5893349", "0.5840858", "0.5782364", "0.575059", "0.56671757", "0.5661143", "0.5629983", "0.55628306", "0.55628306", "0.54918736", "0.54439086", "0.5438974", "0.5436454", "0.53865486", "0.53812563", "0.53554535", "0.53554535", "0.5350297", "0.5337326", "0.5325269", "0.5323776", "0.5317618", "0.5316972", "0.5305772", "0.5301568", "0.5289526", "0.52858317", "0.527939", "0.527717", "0.5246745", "0.5238312", "0.52333695", "0.52198213", "0.520472", "0.5197636", "0.5181744", "0.5180735", "0.5179602", "0.5171487", "0.5170226", "0.5151229", "0.5126351", "0.51164293", "0.51105917", "0.51006323", "0.5064827", "0.5064827", "0.5030081", "0.50298166", "0.5029732", "0.50183815", "0.5008859", "0.5008625", "0.5002189", "0.5000041", "0.4996095", "0.49911362", "0.4988522", "0.49871376", "0.49688184", "0.4968441", "0.49640483", "0.49627694", "0.49464682", "0.49452326", "0.49435145", "0.4940706", "0.4939512", "0.4919068", "0.49134657", "0.4912824", "0.48992985", "0.48903668", "0.4889867", "0.48865864", "0.48865864", "0.48813212", "0.48813212", "0.48808643", "0.48788455", "0.48786306", "0.4874242", "0.48689762", "0.48689762", "0.48684502", "0.48670304", "0.48606005", "0.48516285", "0.48392272", "0.48242542", "0.48236215", "0.48225048", "0.4821103", "0.48174718", "0.4813819" ]
0.53485256
23
repeated .FileInfo fileInfo = 3;
public Builder addFileInfo( int index, entities.Torrent.FileInfo value) { if (fileInfoBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureFileInfoIsMutable(); fileInfo_.add(index, value); onChanged(); } else { fileInfoBuilder_.addMessage(index, value); } return this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public FileInfo getFileInfo() {\n return fileInfo;\n }", "@Test\n\tpublic void testSetFileInfo() {\n\n\t}", "FileInfo create(FileInfo fileInfo);", "entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder();", "entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder();", "public void fileInfo(String info);", "@Override\n public void addSingleFile(FileInfo file) {\n }", "void update(FileInfo fileInfo);", "int getFileInfoCount();", "public void incFileCount(){\n\t\tthis.num_files++;\n\t}", "entities.Torrent.FileInfo getFileInfo(int index);", "public boolean nextFileInfo(FileInfo info) {\n\n\t\t// Get the next file from the search\n\n\t\ttry {\n\n\t\t\t// Return the next file details or loop until a match is found if a\n\t\t\t// complex wildcard filter\n\t\t\t// has been specified\n\t\t\twhile (m_rs.next()) {\n\t\t\t\tString name = m_rs.getString(\"name\");\n\t\t\t\t// Get the file name for the next file\n\t\t\t\tinfo.setFileId(m_rs.getInt(\"id\"));\n\t\t\t\tinfo.setFileName(name);\n\t\t\t\tinfo.setSize(m_rs.getLong(\"size\"));\n\t\t\t\tif(name.equalsIgnoreCase(DBUtil.CLOUDURL))\n\t\t\t\t{\n\t\t\t\t\ttry{\n\t\t\t\t\t//重设置大小\n\t\t\t\t\tinfo.setFileId(-99);\n//\t\t\t\t\tinfo.setFileId(-userId);\n\t\t\t\t\tinfo.setSize(DBUtil.getURLMYFILE_TXT(this.getBaseUrl(),userId).getBytes().length);\n\t\t\t\t\t}catch(Exception e)\n\t\t\t\t\t{\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tlong modifyDate = m_rs.getLong(\"lastModified\");\n\t\t\t\tif (modifyDate != 0L)\n\t\t\t\t\tinfo.setModifyDateTime(modifyDate);\n\t\t\t\telse\n\t\t\t\t\tinfo.setModifyDateTime(System.currentTimeMillis());\n\t\t\t\t\n\t\t\t\tTimestamp ts = m_rs.getTimestamp(\"add_time\");\n\t\t\t\tif (ts !=null && ts.getTime()>0)\n\t\t\t\t{\n\t\t\t\t\tinfo.setCreationDateTime(ts.getTime());\n\t\t\t\t\tinfo.setChangeDateTime(info.getModifyDateTime());\n\t\t\t\t}\n\t\t\t\telse\n\t\t\t\t{\n\t\t\t\t\tinfo.setCreationDateTime(info.getModifyDateTime());\n\t\t\t\t\tinfo.setChangeDateTime(info.getModifyDateTime());\n\t\t\t\t}\t\t\t\t\n\t\t\t\tint attr = 0;\n\t\t\t\tif (m_rs.getBoolean(\"isFile\") == true) {\n\t\t\t\t\tinfo.setFileType(FileType.RegularFile);\t\t\t\t\t\n\t\t\t\t\tattr += FileAttribute.ReadOnly;// 只读权限\n\t\t\t\t} else\n\t\t\t\t\tattr += FileAttribute.Directory;\n\n\t\t\t\tif (m_rs.getBoolean(\"isHidden\") == true) \n\t\t\t\t{\n\t\t\t\t\tattr += FileAttribute.Hidden;//隐藏\n\t\t\t\t}\n\t\t\t\tinfo.setFileType(FileType.Directory);\n\t\t\t\t\t\t\t\t\n\t\t\t\tif (hasMarkAsOffline()) {\n\t\t\t\t\tif (getOfflineFileSize() == 0 || info.getSize() >= getOfflineFileSize())\n\t\t\t\t\t\tattr += FileAttribute.NTOffline;\n\t\t\t\t}\n\t\t\t\tinfo.setFileAttributes(attr);\n\t\t\t\tinfo.setUid(userId);\n\n\t\t\t\tif (m_filter == null || m_filter.matchesPattern(info.getFileName()) == true)\n\t\t\t\t\treturn true;\n\t\t\t}\n\t\t} catch (SQLException ex) {\n\t\t\tex.printStackTrace();\n\t\t}\n\t\t// No more files\n\t\tcloseSearch();\n\t\treturn false;\n\t}", "entities.Torrent.FileInfo getFileInfo();", "entities.Torrent.FileInfo getFileInfo();", "entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder(\n int index);", "DiscFileInfo getFileInfo(String path) throws IOException;", "void setFile(String i) {\n file = i;\n }", "@java.lang.Override\n public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder(\n int index) {\n return fileInfo_.get(index);\n }", "@java.lang.Override\n public int getFileInfoCount() {\n return fileInfo_.size();\n }", "public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder(\n int index) {\n if (fileInfoBuilder_ == null) {\n return fileInfo_.get(index); } else {\n return fileInfoBuilder_.getMessageOrBuilder(index);\n }\n }", "@java.lang.Override\n public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder() {\n return getFileInfo();\n }", "@java.lang.Override\n public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder() {\n return getFileInfo();\n }", "fileInfo(){\n\t\tsymbol = new node[MAXLINECOUNT + 2];\n\t\tother = null; // allocated later!\n\t}", "public Builder addFileInfo(entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureFileInfoIsMutable();\n fileInfo_.add(value);\n onChanged();\n } else {\n fileInfoBuilder_.addMessage(value);\n }\n return this;\n }", "public synchronized FileInfo getOrAddFileInfo(FileInfo alphaFileInfo) {\n String app = alphaFileInfo.getApp();\n String caption = alphaFileInfo.getCaption();\n AppAndCaptionKey key = new AppAndCaptionKey(app, caption);\n String fileId = appAndCaptionToId.get(key);\n if(fileId==null){\n fileId = getNextFileId();\n appAndCaptionToId.put(key, fileId);\n }\n\n //2. Creating file info\n FileInfo sigmaFileInfo = fileCache.getFileInfo(app,fileId);\n if(sigmaFileInfo==null){\n sigmaFileInfo = (FileInfo) alphaFileInfo.clone();\n }\n sigmaFileInfo.setId(fileId);\n return sigmaFileInfo;\n }", "entities.Torrent.FileInfo getFiles(int index);", "com.google.devtools.kythe.proto.Analysis.FileInfoOrBuilder getEntryOrBuilder(\n int index);", "public final FileInfoBase getFileInfo() {\r\n return fileInfo;\r\n }", "public void setFileId(Long fileId) {\n/* 31:31 */ this.fileId = fileId;\n/* 32: */ }", "public entities.Torrent.FileInfo.Builder addFileInfoBuilder() {\n return getFileInfoFieldBuilder().addBuilder(\n entities.Torrent.FileInfo.getDefaultInstance());\n }", "@Override\r\n\tpublic int addAnimalFileInfo(FileInfo fileInfo) {\n\t\treturn fileInfoMapper.addAnimalFileInfo(fileInfo);\r\n\t}", "public abstract long NewFileNumber();", "public FileInfo(File file) {\n this.file = file;\n }", "int attrib(int i, File v) {\n if (i < max) {\n AllFiles[i] = v;\n } else {\n File[] temp = new File[max];\n int j;\n for (j = 0; j < max; j++) temp[j] = AllFiles[j];\n AllFiles = new File[max + increase];\n for (j = 0; j < max; j++) AllFiles[j] = temp[j];\n max = max + increase;\n AllFiles[i] = v;\n }\n return (0);\n }", "public boolean hasFileInfo() {\n return fieldSetFlags()[15];\n }", "public Builder setFileInfo(\n int index, entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureFileInfoIsMutable();\n fileInfo_.set(index, value);\n onChanged();\n } else {\n fileInfoBuilder_.setMessage(index, value);\n }\n return this;\n }", "public com.opentext.bn.converters.avro.entity.PayloadRef getFileInfo() {\n return fileInfo;\n }", "entities.Torrent.FileInfoOrBuilder getFilesOrBuilder(\n int index);", "public com.opentext.bn.converters.avro.entity.PayloadRef getFileInfo() {\n return fileInfo;\n }", "com.google.devtools.kythe.proto.Analysis.FileInfo getEntry(int index);", "public TagFileInfo[] getTagFiles() {\n/* 176 */ return this.tagFiles;\n/* */ }", "public Builder setFileInfo(entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n fileInfo_ = value;\n onChanged();\n } else {\n fileInfoBuilder_.setMessage(value);\n }\n\n return this;\n }", "public Builder setFileInfo(entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n fileInfo_ = value;\n onChanged();\n } else {\n fileInfoBuilder_.setMessage(value);\n }\n\n return this;\n }", "private FileInfo(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "public Builder addAllFileInfo(\n java.lang.Iterable<? extends entities.Torrent.FileInfo> values) {\n if (fileInfoBuilder_ == null) {\n ensureFileInfoIsMutable();\n com.google.protobuf.AbstractMessageLite.Builder.addAll(\n values, fileInfo_);\n onChanged();\n } else {\n fileInfoBuilder_.addAllMessages(values);\n }\n return this;\n }", "public int getFileInfoCount() {\n if (fileInfoBuilder_ == null) {\n return fileInfo_.size();\n } else {\n return fileInfoBuilder_.getCount();\n }\n }", "public void constructWith(LzzFileInfo pro) {\n\t\tthis.id = pro.getId ();\n\n\t\tthis.fname = pro.getFname ();\n\n\t\tthis.ftype = pro.getFtype ();\n\n\t\tthis.fsavepath = pro.getFsavepath ();\n\n\t\tthis.furlpath = pro.getFurlpath ();\n\n\t\tthis.createTime = pro.getCreateTime ();\n\n\t\tthis.modifyTime = pro.getModifyTime ();\n\n\t\tthis.def1 = pro.getDef1 ();\n\n\t\tthis.def2 = pro.getDef2 ();\n\n\t\tthis.def3 = pro.getDef3 ();\n\n\t\tthis.def4 = pro.getDef4 ();\n\n\t\tthis.def5 = pro.getDef5 ();\n\n\t\tthis.def6 = pro.getDef6 ();\n\n\t\tthis.def7 = pro.getDef7 ();\n\n\t\tthis.def8 = pro.getDef8 ();\n\n\t\tthis.def9 = pro.getDef9 ();\n\n\t\tthis.def10 = pro.getDef10 ();\n\n\t\tthis.dr = pro.getDr ();\n\n\t}", "public FileInfo(NXTComm nxt, String fileName){\r\n\t\tthis.comm = nxt;\r\n\t\tthis.fileName = fileName;\r\n\t}", "public FileInfo()\r\n {\r\n hash = new HashInfo();\r\n }", "@Override\n public List<FileInfo> getLibrarySubFiles(FileInfo fileInfo) {\n return null;\n }", "public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder() {\n if (fileInfoBuilder_ != null) {\n return fileInfoBuilder_.getMessageOrBuilder();\n } else {\n return fileInfo_ == null ?\n entities.Torrent.FileInfo.getDefaultInstance() : fileInfo_;\n }\n }", "public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder() {\n if (fileInfoBuilder_ != null) {\n return fileInfoBuilder_.getMessageOrBuilder();\n } else {\n return fileInfo_ == null ?\n entities.Torrent.FileInfo.getDefaultInstance() : fileInfo_;\n }\n }", "public DotFileEnumerator(File file)\n {\n fileList.add(file.toString());\n }", "public Builder mergeFileInfo(entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (fileInfo_ != null) {\n fileInfo_ =\n entities.Torrent.FileInfo.newBuilder(fileInfo_).mergeFrom(value).buildPartial();\n } else {\n fileInfo_ = value;\n }\n onChanged();\n } else {\n fileInfoBuilder_.mergeFrom(value);\n }\n\n return this;\n }", "public Builder mergeFileInfo(entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (fileInfo_ != null) {\n fileInfo_ =\n entities.Torrent.FileInfo.newBuilder(fileInfo_).mergeFrom(value).buildPartial();\n } else {\n fileInfo_ = value;\n }\n onChanged();\n } else {\n fileInfoBuilder_.mergeFrom(value);\n }\n\n return this;\n }", "int getFileCount();", "public com.google.devtools.kythe.proto.Analysis.FileInfoOrBuilder getEntryOrBuilder(\n int index) {\n return entry_.get(index);\n }", "public int getFileFlags() { return fileFlags; }", "public Builder clearFileInfo() {\n if (fileInfoBuilder_ == null) {\n fileInfo_ = java.util.Collections.emptyList();\n bitField0_ = (bitField0_ & ~0x00000001);\n onChanged();\n } else {\n fileInfoBuilder_.clear();\n }\n return this;\n }", "public com.opentext.bn.converters.avro.entity.PayloadRef.Builder getFileInfoBuilder() {\n if (fileInfoBuilder == null) {\n if (hasFileInfo()) {\n setFileInfoBuilder(com.opentext.bn.converters.avro.entity.PayloadRef.newBuilder(fileInfo));\n } else {\n setFileInfoBuilder(com.opentext.bn.converters.avro.entity.PayloadRef.newBuilder());\n }\n }\n return fileInfoBuilder;\n }", "public void process(TiffFileInfo info)\n {\n }", "public com.google.devtools.kythe.proto.Analysis.FileInfo.Builder addEntryBuilder() {\n return getEntryFieldBuilder().addBuilder(\n com.google.devtools.kythe.proto.Analysis.FileInfo.getDefaultInstance());\n }", "@java.lang.Override\n public entities.Torrent.FileInfo getFileInfo(int index) {\n return fileInfo_.get(index);\n }", "public Long getFileId() {\n/* 35:35 */ return this.fileId;\n/* 36: */ }", "private com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.FileInfo, entities.Torrent.FileInfo.Builder, entities.Torrent.FileInfoOrBuilder>\n getFileInfoFieldBuilder() {\n if (fileInfoBuilder_ == null) {\n fileInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.FileInfo, entities.Torrent.FileInfo.Builder, entities.Torrent.FileInfoOrBuilder>(\n getFileInfo(),\n getParentForChildren(),\n isClean());\n fileInfo_ = null;\n }\n return fileInfoBuilder_;\n }", "private com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.FileInfo, entities.Torrent.FileInfo.Builder, entities.Torrent.FileInfoOrBuilder>\n getFileInfoFieldBuilder() {\n if (fileInfoBuilder_ == null) {\n fileInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.FileInfo, entities.Torrent.FileInfo.Builder, entities.Torrent.FileInfoOrBuilder>(\n getFileInfo(),\n getParentForChildren(),\n isClean());\n fileInfo_ = null;\n }\n return fileInfoBuilder_;\n }", "private void updateFiles() {\n\t}", "public entities.Torrent.FileInfo.Builder addFileInfoBuilder(\n int index) {\n return getFileInfoFieldBuilder().addBuilder(\n index, entities.Torrent.FileInfo.getDefaultInstance());\n }", "public interface FileSelectInfo\n{\n /**\n * Returns the base folder of the traversal.\n * @return FileObject representing the base folder.\n */\n FileObject getBaseFolder();\n\n /**\n * Returns the file (or folder) to be considered.\n * @return The FileObject.\n */\n FileObject getFile();\n\n /**\n * Returns the depth of the file relative to the base folder.\n * @return The depth of the file relative to the base folder.\n */\n int getDepth();\n}", "public entities.Torrent.FileInfo.Builder getFileInfoBuilder(\n int index) {\n return getFileInfoFieldBuilder().getBuilder(index);\n }", "public entities.Torrent.FileInfo.Builder getFileInfoBuilder() {\n\n onChanged();\n return getFileInfoFieldBuilder().getBuilder();\n }", "public entities.Torrent.FileInfo.Builder getFileInfoBuilder() {\n\n onChanged();\n return getFileInfoFieldBuilder().getBuilder();\n }", "public entities.Torrent.FileInfoOrBuilder getFilesOrBuilder(\n int index) {\n if (filesBuilder_ == null) {\n return files_.get(index); } else {\n return filesBuilder_.getMessageOrBuilder(index);\n }\n }", "private void getExtractWithFiles(){\n\t\ttry{\n\t\t\t\n\t\t\tFileInputStream fStream = new FileInputStream(tfile);\n\t\t\tfileBytes = new byte[(int)tfile.length()];\n\t\t\t\n\t\t\tfStream.read(fileBytes, 0, fileBytes.length);\n\t\t\tfileSize = fileBytes.length;\n\t\t}catch(Exception ex){\n\t\t\tSystem.err.println(\"File Packet \"+ex.getMessage());\n\t\t}\n\t}", "private static void printFileInfo(File file) {\n window.putLog(String.format(\"[%6dkb] Modified %s @%s\", 1 + file.length() / 1024,\n new SimpleDateFormat(\"YYYY-MM-dd HH:mm\").format(new Date(file.lastModified())),\n file.getPath().substring(workingDirectory.getParent().length())));\n }", "public interface FileSystemEntry {\n public long getCount();\n public long getSize();\n public String getName();\n}", "public PSMatrixFilesMeta() {\r\n this(-1, new ConcurrentSkipListMap<Integer, MatrixPartitionMeta>());\r\n }", "protected final void setFileInformation( FileInfo fInfo) {\n\t\tm_info = fInfo;\n\t}", "public java.util.List<? extends entities.Torrent.FileInfoOrBuilder>\n getFileInfoOrBuilderList() {\n if (fileInfoBuilder_ != null) {\n return fileInfoBuilder_.getMessageOrBuilderList();\n } else {\n return java.util.Collections.unmodifiableList(fileInfo_);\n }\n }", "int getFileNamesCount();", "int getFileNamesCount();", "public void filesNotFound(File... f) { }", "public void filesNotFound(File... f) { }", "@Override\n public void onPick(FileInfo f) {\n }", "public void setFileRecordCount(int ct) {\n\t\tfileRecordCount = ct;\n\t}", "public com.opentext.bn.converters.avro.entity.DocumentEvent.Builder setFileInfo(com.opentext.bn.converters.avro.entity.PayloadRef value) {\n validate(fields()[15], value);\n this.fileInfoBuilder = null;\n this.fileInfo = value;\n fieldSetFlags()[15] = true;\n return this;\n }", "public DotFileEnumerator(String filePath)\n {\n String[] tempArr = new File(filePath).list();\n\n for (String s : tempArr) {\n fileList.add(filePath + \"/\" + s);\n }\n }", "@java.lang.Override\n public entities.Torrent.FileInfo getFileInfo() {\n return fileInfo_ == null ? entities.Torrent.FileInfo.getDefaultInstance() : fileInfo_;\n }", "@java.lang.Override\n public entities.Torrent.FileInfo getFileInfo() {\n return fileInfo_ == null ? entities.Torrent.FileInfo.getDefaultInstance() : fileInfo_;\n }", "public FileInfoICS(String name, String directory, int format) {\r\n super(name, directory, format);\r\n }", "public FileInfo(FileInfo v)\n \t{\n \t\ttitle = v.title;\n \t\tauthors = v.authors;\n \t\tseries = v.series;\n \t\tseriesNumber = v.seriesNumber;\n \t\tpath = v.path;\n \t\tfilename = v.filename;\n \t\tpathname = v.pathname;\n \t\tarcname = v.arcname;\n \t\tformat = v.format;\n \t\tsize = v.size;\n \t\tarcsize = v.arcsize;\n \t\tisArchive = v.isArchive;\n \t\tisDirectory = v.isDirectory;\n \t\tcreateTime = v.createTime;\n \t\tlastAccessTime = v.lastAccessTime;\n \t}", "public ImageFiles() {\n\t\tthis.listOne = new ArrayList<String>();\n\t\tthis.listTwo = new ArrayList<String>();\n\t\tthis.listThree = new ArrayList<String>();\n\t\tthis.seenImages = new ArrayList<String>();\n\t\tthis.unseenImages = new ArrayList<String>();\n\t}", "@java.lang.Override\n public java.util.List<? extends entities.Torrent.FileInfoOrBuilder>\n getFileInfoOrBuilderList() {\n return fileInfo_;\n }", "int countByExample(AvwFileprocessExample example);", "public Builder addEntry(com.google.devtools.kythe.proto.Analysis.FileInfo value) {\n if (entryBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureEntryIsMutable();\n entry_.add(value);\n onChanged();\n } else {\n entryBuilder_.addMessage(value);\n }\n return this;\n }", "ds.hdfs.generated.FileMetadata getFiles(int index);", "java.util.List<? extends entities.Torrent.FileInfoOrBuilder>\n getFileInfoOrBuilderList();", "public Long getFileID()\n/* */ {\n/* 88 */ return this.fileID;\n/* */ }", "public void incuploadcount(){\n\t\tthis. num_upload++;\n\t}", "public Vector<file> count()\n {\n Vector<Model.file> files = new Vector<>();\n try\n {\n pw.println(11);\n\n files = (Vector<Model.file>) ois.readObject();\n\n }\n catch (ClassNotFoundException | IOException e)\n {\n System.out.println(e.getMessage());\n }\n return files ;\n }" ]
[ "0.63404644", "0.60424006", "0.58997285", "0.5897735", "0.5897735", "0.5893349", "0.5840858", "0.5782364", "0.575059", "0.56671757", "0.5661143", "0.5629983", "0.55628306", "0.55628306", "0.54918736", "0.54439086", "0.5438974", "0.5436454", "0.53865486", "0.53812563", "0.53554535", "0.53554535", "0.5350297", "0.53485256", "0.5337326", "0.5325269", "0.5323776", "0.5317618", "0.5316972", "0.5305772", "0.5301568", "0.5289526", "0.527939", "0.527717", "0.5246745", "0.5238312", "0.52333695", "0.52198213", "0.520472", "0.5197636", "0.5181744", "0.5180735", "0.5179602", "0.5171487", "0.5170226", "0.5151229", "0.5126351", "0.51164293", "0.51105917", "0.51006323", "0.5064827", "0.5064827", "0.5030081", "0.50298166", "0.5029732", "0.50183815", "0.5008859", "0.5008625", "0.5002189", "0.5000041", "0.4996095", "0.49911362", "0.4988522", "0.49871376", "0.49688184", "0.4968441", "0.49640483", "0.49627694", "0.49464682", "0.49452326", "0.49435145", "0.4940706", "0.4939512", "0.4919068", "0.49134657", "0.4912824", "0.48992985", "0.48903668", "0.4889867", "0.48865864", "0.48865864", "0.48813212", "0.48813212", "0.48808643", "0.48788455", "0.48786306", "0.4874242", "0.48689762", "0.48689762", "0.48684502", "0.48670304", "0.48606005", "0.48516285", "0.48392272", "0.48242542", "0.48236215", "0.48225048", "0.4821103", "0.48174718", "0.4813819" ]
0.52858317
32
repeated .FileInfo fileInfo = 3;
public Builder addFileInfo( entities.Torrent.FileInfo.Builder builderForValue) { if (fileInfoBuilder_ == null) { ensureFileInfoIsMutable(); fileInfo_.add(builderForValue.build()); onChanged(); } else { fileInfoBuilder_.addMessage(builderForValue.build()); } return this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public FileInfo getFileInfo() {\n return fileInfo;\n }", "@Test\n\tpublic void testSetFileInfo() {\n\n\t}", "FileInfo create(FileInfo fileInfo);", "entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder();", "entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder();", "public void fileInfo(String info);", "@Override\n public void addSingleFile(FileInfo file) {\n }", "void update(FileInfo fileInfo);", "int getFileInfoCount();", "public void incFileCount(){\n\t\tthis.num_files++;\n\t}", "entities.Torrent.FileInfo getFileInfo(int index);", "public boolean nextFileInfo(FileInfo info) {\n\n\t\t// Get the next file from the search\n\n\t\ttry {\n\n\t\t\t// Return the next file details or loop until a match is found if a\n\t\t\t// complex wildcard filter\n\t\t\t// has been specified\n\t\t\twhile (m_rs.next()) {\n\t\t\t\tString name = m_rs.getString(\"name\");\n\t\t\t\t// Get the file name for the next file\n\t\t\t\tinfo.setFileId(m_rs.getInt(\"id\"));\n\t\t\t\tinfo.setFileName(name);\n\t\t\t\tinfo.setSize(m_rs.getLong(\"size\"));\n\t\t\t\tif(name.equalsIgnoreCase(DBUtil.CLOUDURL))\n\t\t\t\t{\n\t\t\t\t\ttry{\n\t\t\t\t\t//重设置大小\n\t\t\t\t\tinfo.setFileId(-99);\n//\t\t\t\t\tinfo.setFileId(-userId);\n\t\t\t\t\tinfo.setSize(DBUtil.getURLMYFILE_TXT(this.getBaseUrl(),userId).getBytes().length);\n\t\t\t\t\t}catch(Exception e)\n\t\t\t\t\t{\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tlong modifyDate = m_rs.getLong(\"lastModified\");\n\t\t\t\tif (modifyDate != 0L)\n\t\t\t\t\tinfo.setModifyDateTime(modifyDate);\n\t\t\t\telse\n\t\t\t\t\tinfo.setModifyDateTime(System.currentTimeMillis());\n\t\t\t\t\n\t\t\t\tTimestamp ts = m_rs.getTimestamp(\"add_time\");\n\t\t\t\tif (ts !=null && ts.getTime()>0)\n\t\t\t\t{\n\t\t\t\t\tinfo.setCreationDateTime(ts.getTime());\n\t\t\t\t\tinfo.setChangeDateTime(info.getModifyDateTime());\n\t\t\t\t}\n\t\t\t\telse\n\t\t\t\t{\n\t\t\t\t\tinfo.setCreationDateTime(info.getModifyDateTime());\n\t\t\t\t\tinfo.setChangeDateTime(info.getModifyDateTime());\n\t\t\t\t}\t\t\t\t\n\t\t\t\tint attr = 0;\n\t\t\t\tif (m_rs.getBoolean(\"isFile\") == true) {\n\t\t\t\t\tinfo.setFileType(FileType.RegularFile);\t\t\t\t\t\n\t\t\t\t\tattr += FileAttribute.ReadOnly;// 只读权限\n\t\t\t\t} else\n\t\t\t\t\tattr += FileAttribute.Directory;\n\n\t\t\t\tif (m_rs.getBoolean(\"isHidden\") == true) \n\t\t\t\t{\n\t\t\t\t\tattr += FileAttribute.Hidden;//隐藏\n\t\t\t\t}\n\t\t\t\tinfo.setFileType(FileType.Directory);\n\t\t\t\t\t\t\t\t\n\t\t\t\tif (hasMarkAsOffline()) {\n\t\t\t\t\tif (getOfflineFileSize() == 0 || info.getSize() >= getOfflineFileSize())\n\t\t\t\t\t\tattr += FileAttribute.NTOffline;\n\t\t\t\t}\n\t\t\t\tinfo.setFileAttributes(attr);\n\t\t\t\tinfo.setUid(userId);\n\n\t\t\t\tif (m_filter == null || m_filter.matchesPattern(info.getFileName()) == true)\n\t\t\t\t\treturn true;\n\t\t\t}\n\t\t} catch (SQLException ex) {\n\t\t\tex.printStackTrace();\n\t\t}\n\t\t// No more files\n\t\tcloseSearch();\n\t\treturn false;\n\t}", "entities.Torrent.FileInfo getFileInfo();", "entities.Torrent.FileInfo getFileInfo();", "entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder(\n int index);", "DiscFileInfo getFileInfo(String path) throws IOException;", "void setFile(String i) {\n file = i;\n }", "@java.lang.Override\n public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder(\n int index) {\n return fileInfo_.get(index);\n }", "@java.lang.Override\n public int getFileInfoCount() {\n return fileInfo_.size();\n }", "public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder(\n int index) {\n if (fileInfoBuilder_ == null) {\n return fileInfo_.get(index); } else {\n return fileInfoBuilder_.getMessageOrBuilder(index);\n }\n }", "@java.lang.Override\n public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder() {\n return getFileInfo();\n }", "@java.lang.Override\n public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder() {\n return getFileInfo();\n }", "fileInfo(){\n\t\tsymbol = new node[MAXLINECOUNT + 2];\n\t\tother = null; // allocated later!\n\t}", "public Builder addFileInfo(entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureFileInfoIsMutable();\n fileInfo_.add(value);\n onChanged();\n } else {\n fileInfoBuilder_.addMessage(value);\n }\n return this;\n }", "public synchronized FileInfo getOrAddFileInfo(FileInfo alphaFileInfo) {\n String app = alphaFileInfo.getApp();\n String caption = alphaFileInfo.getCaption();\n AppAndCaptionKey key = new AppAndCaptionKey(app, caption);\n String fileId = appAndCaptionToId.get(key);\n if(fileId==null){\n fileId = getNextFileId();\n appAndCaptionToId.put(key, fileId);\n }\n\n //2. Creating file info\n FileInfo sigmaFileInfo = fileCache.getFileInfo(app,fileId);\n if(sigmaFileInfo==null){\n sigmaFileInfo = (FileInfo) alphaFileInfo.clone();\n }\n sigmaFileInfo.setId(fileId);\n return sigmaFileInfo;\n }", "entities.Torrent.FileInfo getFiles(int index);", "com.google.devtools.kythe.proto.Analysis.FileInfoOrBuilder getEntryOrBuilder(\n int index);", "public final FileInfoBase getFileInfo() {\r\n return fileInfo;\r\n }", "public void setFileId(Long fileId) {\n/* 31:31 */ this.fileId = fileId;\n/* 32: */ }", "public entities.Torrent.FileInfo.Builder addFileInfoBuilder() {\n return getFileInfoFieldBuilder().addBuilder(\n entities.Torrent.FileInfo.getDefaultInstance());\n }", "@Override\r\n\tpublic int addAnimalFileInfo(FileInfo fileInfo) {\n\t\treturn fileInfoMapper.addAnimalFileInfo(fileInfo);\r\n\t}", "public abstract long NewFileNumber();", "public Builder addFileInfo(\n int index, entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureFileInfoIsMutable();\n fileInfo_.add(index, value);\n onChanged();\n } else {\n fileInfoBuilder_.addMessage(index, value);\n }\n return this;\n }", "public FileInfo(File file) {\n this.file = file;\n }", "int attrib(int i, File v) {\n if (i < max) {\n AllFiles[i] = v;\n } else {\n File[] temp = new File[max];\n int j;\n for (j = 0; j < max; j++) temp[j] = AllFiles[j];\n AllFiles = new File[max + increase];\n for (j = 0; j < max; j++) AllFiles[j] = temp[j];\n max = max + increase;\n AllFiles[i] = v;\n }\n return (0);\n }", "public boolean hasFileInfo() {\n return fieldSetFlags()[15];\n }", "public Builder setFileInfo(\n int index, entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureFileInfoIsMutable();\n fileInfo_.set(index, value);\n onChanged();\n } else {\n fileInfoBuilder_.setMessage(index, value);\n }\n return this;\n }", "public com.opentext.bn.converters.avro.entity.PayloadRef getFileInfo() {\n return fileInfo;\n }", "entities.Torrent.FileInfoOrBuilder getFilesOrBuilder(\n int index);", "public com.opentext.bn.converters.avro.entity.PayloadRef getFileInfo() {\n return fileInfo;\n }", "com.google.devtools.kythe.proto.Analysis.FileInfo getEntry(int index);", "public TagFileInfo[] getTagFiles() {\n/* 176 */ return this.tagFiles;\n/* */ }", "public Builder setFileInfo(entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n fileInfo_ = value;\n onChanged();\n } else {\n fileInfoBuilder_.setMessage(value);\n }\n\n return this;\n }", "public Builder setFileInfo(entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n fileInfo_ = value;\n onChanged();\n } else {\n fileInfoBuilder_.setMessage(value);\n }\n\n return this;\n }", "private FileInfo(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "public Builder addAllFileInfo(\n java.lang.Iterable<? extends entities.Torrent.FileInfo> values) {\n if (fileInfoBuilder_ == null) {\n ensureFileInfoIsMutable();\n com.google.protobuf.AbstractMessageLite.Builder.addAll(\n values, fileInfo_);\n onChanged();\n } else {\n fileInfoBuilder_.addAllMessages(values);\n }\n return this;\n }", "public int getFileInfoCount() {\n if (fileInfoBuilder_ == null) {\n return fileInfo_.size();\n } else {\n return fileInfoBuilder_.getCount();\n }\n }", "public void constructWith(LzzFileInfo pro) {\n\t\tthis.id = pro.getId ();\n\n\t\tthis.fname = pro.getFname ();\n\n\t\tthis.ftype = pro.getFtype ();\n\n\t\tthis.fsavepath = pro.getFsavepath ();\n\n\t\tthis.furlpath = pro.getFurlpath ();\n\n\t\tthis.createTime = pro.getCreateTime ();\n\n\t\tthis.modifyTime = pro.getModifyTime ();\n\n\t\tthis.def1 = pro.getDef1 ();\n\n\t\tthis.def2 = pro.getDef2 ();\n\n\t\tthis.def3 = pro.getDef3 ();\n\n\t\tthis.def4 = pro.getDef4 ();\n\n\t\tthis.def5 = pro.getDef5 ();\n\n\t\tthis.def6 = pro.getDef6 ();\n\n\t\tthis.def7 = pro.getDef7 ();\n\n\t\tthis.def8 = pro.getDef8 ();\n\n\t\tthis.def9 = pro.getDef9 ();\n\n\t\tthis.def10 = pro.getDef10 ();\n\n\t\tthis.dr = pro.getDr ();\n\n\t}", "public FileInfo(NXTComm nxt, String fileName){\r\n\t\tthis.comm = nxt;\r\n\t\tthis.fileName = fileName;\r\n\t}", "public FileInfo()\r\n {\r\n hash = new HashInfo();\r\n }", "@Override\n public List<FileInfo> getLibrarySubFiles(FileInfo fileInfo) {\n return null;\n }", "public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder() {\n if (fileInfoBuilder_ != null) {\n return fileInfoBuilder_.getMessageOrBuilder();\n } else {\n return fileInfo_ == null ?\n entities.Torrent.FileInfo.getDefaultInstance() : fileInfo_;\n }\n }", "public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder() {\n if (fileInfoBuilder_ != null) {\n return fileInfoBuilder_.getMessageOrBuilder();\n } else {\n return fileInfo_ == null ?\n entities.Torrent.FileInfo.getDefaultInstance() : fileInfo_;\n }\n }", "public DotFileEnumerator(File file)\n {\n fileList.add(file.toString());\n }", "public Builder mergeFileInfo(entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (fileInfo_ != null) {\n fileInfo_ =\n entities.Torrent.FileInfo.newBuilder(fileInfo_).mergeFrom(value).buildPartial();\n } else {\n fileInfo_ = value;\n }\n onChanged();\n } else {\n fileInfoBuilder_.mergeFrom(value);\n }\n\n return this;\n }", "public Builder mergeFileInfo(entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (fileInfo_ != null) {\n fileInfo_ =\n entities.Torrent.FileInfo.newBuilder(fileInfo_).mergeFrom(value).buildPartial();\n } else {\n fileInfo_ = value;\n }\n onChanged();\n } else {\n fileInfoBuilder_.mergeFrom(value);\n }\n\n return this;\n }", "int getFileCount();", "public com.google.devtools.kythe.proto.Analysis.FileInfoOrBuilder getEntryOrBuilder(\n int index) {\n return entry_.get(index);\n }", "public int getFileFlags() { return fileFlags; }", "public Builder clearFileInfo() {\n if (fileInfoBuilder_ == null) {\n fileInfo_ = java.util.Collections.emptyList();\n bitField0_ = (bitField0_ & ~0x00000001);\n onChanged();\n } else {\n fileInfoBuilder_.clear();\n }\n return this;\n }", "public com.opentext.bn.converters.avro.entity.PayloadRef.Builder getFileInfoBuilder() {\n if (fileInfoBuilder == null) {\n if (hasFileInfo()) {\n setFileInfoBuilder(com.opentext.bn.converters.avro.entity.PayloadRef.newBuilder(fileInfo));\n } else {\n setFileInfoBuilder(com.opentext.bn.converters.avro.entity.PayloadRef.newBuilder());\n }\n }\n return fileInfoBuilder;\n }", "public void process(TiffFileInfo info)\n {\n }", "public com.google.devtools.kythe.proto.Analysis.FileInfo.Builder addEntryBuilder() {\n return getEntryFieldBuilder().addBuilder(\n com.google.devtools.kythe.proto.Analysis.FileInfo.getDefaultInstance());\n }", "@java.lang.Override\n public entities.Torrent.FileInfo getFileInfo(int index) {\n return fileInfo_.get(index);\n }", "public Long getFileId() {\n/* 35:35 */ return this.fileId;\n/* 36: */ }", "private com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.FileInfo, entities.Torrent.FileInfo.Builder, entities.Torrent.FileInfoOrBuilder>\n getFileInfoFieldBuilder() {\n if (fileInfoBuilder_ == null) {\n fileInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.FileInfo, entities.Torrent.FileInfo.Builder, entities.Torrent.FileInfoOrBuilder>(\n getFileInfo(),\n getParentForChildren(),\n isClean());\n fileInfo_ = null;\n }\n return fileInfoBuilder_;\n }", "private com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.FileInfo, entities.Torrent.FileInfo.Builder, entities.Torrent.FileInfoOrBuilder>\n getFileInfoFieldBuilder() {\n if (fileInfoBuilder_ == null) {\n fileInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.FileInfo, entities.Torrent.FileInfo.Builder, entities.Torrent.FileInfoOrBuilder>(\n getFileInfo(),\n getParentForChildren(),\n isClean());\n fileInfo_ = null;\n }\n return fileInfoBuilder_;\n }", "private void updateFiles() {\n\t}", "public entities.Torrent.FileInfo.Builder addFileInfoBuilder(\n int index) {\n return getFileInfoFieldBuilder().addBuilder(\n index, entities.Torrent.FileInfo.getDefaultInstance());\n }", "public interface FileSelectInfo\n{\n /**\n * Returns the base folder of the traversal.\n * @return FileObject representing the base folder.\n */\n FileObject getBaseFolder();\n\n /**\n * Returns the file (or folder) to be considered.\n * @return The FileObject.\n */\n FileObject getFile();\n\n /**\n * Returns the depth of the file relative to the base folder.\n * @return The depth of the file relative to the base folder.\n */\n int getDepth();\n}", "public entities.Torrent.FileInfo.Builder getFileInfoBuilder(\n int index) {\n return getFileInfoFieldBuilder().getBuilder(index);\n }", "public entities.Torrent.FileInfo.Builder getFileInfoBuilder() {\n\n onChanged();\n return getFileInfoFieldBuilder().getBuilder();\n }", "public entities.Torrent.FileInfo.Builder getFileInfoBuilder() {\n\n onChanged();\n return getFileInfoFieldBuilder().getBuilder();\n }", "public entities.Torrent.FileInfoOrBuilder getFilesOrBuilder(\n int index) {\n if (filesBuilder_ == null) {\n return files_.get(index); } else {\n return filesBuilder_.getMessageOrBuilder(index);\n }\n }", "private void getExtractWithFiles(){\n\t\ttry{\n\t\t\t\n\t\t\tFileInputStream fStream = new FileInputStream(tfile);\n\t\t\tfileBytes = new byte[(int)tfile.length()];\n\t\t\t\n\t\t\tfStream.read(fileBytes, 0, fileBytes.length);\n\t\t\tfileSize = fileBytes.length;\n\t\t}catch(Exception ex){\n\t\t\tSystem.err.println(\"File Packet \"+ex.getMessage());\n\t\t}\n\t}", "private static void printFileInfo(File file) {\n window.putLog(String.format(\"[%6dkb] Modified %s @%s\", 1 + file.length() / 1024,\n new SimpleDateFormat(\"YYYY-MM-dd HH:mm\").format(new Date(file.lastModified())),\n file.getPath().substring(workingDirectory.getParent().length())));\n }", "public interface FileSystemEntry {\n public long getCount();\n public long getSize();\n public String getName();\n}", "public PSMatrixFilesMeta() {\r\n this(-1, new ConcurrentSkipListMap<Integer, MatrixPartitionMeta>());\r\n }", "protected final void setFileInformation( FileInfo fInfo) {\n\t\tm_info = fInfo;\n\t}", "public java.util.List<? extends entities.Torrent.FileInfoOrBuilder>\n getFileInfoOrBuilderList() {\n if (fileInfoBuilder_ != null) {\n return fileInfoBuilder_.getMessageOrBuilderList();\n } else {\n return java.util.Collections.unmodifiableList(fileInfo_);\n }\n }", "int getFileNamesCount();", "int getFileNamesCount();", "public void filesNotFound(File... f) { }", "public void filesNotFound(File... f) { }", "@Override\n public void onPick(FileInfo f) {\n }", "public void setFileRecordCount(int ct) {\n\t\tfileRecordCount = ct;\n\t}", "public com.opentext.bn.converters.avro.entity.DocumentEvent.Builder setFileInfo(com.opentext.bn.converters.avro.entity.PayloadRef value) {\n validate(fields()[15], value);\n this.fileInfoBuilder = null;\n this.fileInfo = value;\n fieldSetFlags()[15] = true;\n return this;\n }", "public DotFileEnumerator(String filePath)\n {\n String[] tempArr = new File(filePath).list();\n\n for (String s : tempArr) {\n fileList.add(filePath + \"/\" + s);\n }\n }", "@java.lang.Override\n public entities.Torrent.FileInfo getFileInfo() {\n return fileInfo_ == null ? entities.Torrent.FileInfo.getDefaultInstance() : fileInfo_;\n }", "@java.lang.Override\n public entities.Torrent.FileInfo getFileInfo() {\n return fileInfo_ == null ? entities.Torrent.FileInfo.getDefaultInstance() : fileInfo_;\n }", "public FileInfoICS(String name, String directory, int format) {\r\n super(name, directory, format);\r\n }", "public FileInfo(FileInfo v)\n \t{\n \t\ttitle = v.title;\n \t\tauthors = v.authors;\n \t\tseries = v.series;\n \t\tseriesNumber = v.seriesNumber;\n \t\tpath = v.path;\n \t\tfilename = v.filename;\n \t\tpathname = v.pathname;\n \t\tarcname = v.arcname;\n \t\tformat = v.format;\n \t\tsize = v.size;\n \t\tarcsize = v.arcsize;\n \t\tisArchive = v.isArchive;\n \t\tisDirectory = v.isDirectory;\n \t\tcreateTime = v.createTime;\n \t\tlastAccessTime = v.lastAccessTime;\n \t}", "public ImageFiles() {\n\t\tthis.listOne = new ArrayList<String>();\n\t\tthis.listTwo = new ArrayList<String>();\n\t\tthis.listThree = new ArrayList<String>();\n\t\tthis.seenImages = new ArrayList<String>();\n\t\tthis.unseenImages = new ArrayList<String>();\n\t}", "@java.lang.Override\n public java.util.List<? extends entities.Torrent.FileInfoOrBuilder>\n getFileInfoOrBuilderList() {\n return fileInfo_;\n }", "int countByExample(AvwFileprocessExample example);", "public Builder addEntry(com.google.devtools.kythe.proto.Analysis.FileInfo value) {\n if (entryBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureEntryIsMutable();\n entry_.add(value);\n onChanged();\n } else {\n entryBuilder_.addMessage(value);\n }\n return this;\n }", "ds.hdfs.generated.FileMetadata getFiles(int index);", "java.util.List<? extends entities.Torrent.FileInfoOrBuilder>\n getFileInfoOrBuilderList();", "public Long getFileID()\n/* */ {\n/* 88 */ return this.fileID;\n/* */ }", "public void incuploadcount(){\n\t\tthis. num_upload++;\n\t}", "public Vector<file> count()\n {\n Vector<Model.file> files = new Vector<>();\n try\n {\n pw.println(11);\n\n files = (Vector<Model.file>) ois.readObject();\n\n }\n catch (ClassNotFoundException | IOException e)\n {\n System.out.println(e.getMessage());\n }\n return files ;\n }" ]
[ "0.63404644", "0.60424006", "0.58997285", "0.5897735", "0.5897735", "0.5893349", "0.5840858", "0.5782364", "0.575059", "0.56671757", "0.5661143", "0.5629983", "0.55628306", "0.55628306", "0.54918736", "0.54439086", "0.5438974", "0.5436454", "0.53865486", "0.53812563", "0.53554535", "0.53554535", "0.5350297", "0.53485256", "0.5337326", "0.5325269", "0.5323776", "0.5317618", "0.5316972", "0.5305772", "0.5301568", "0.5289526", "0.52858317", "0.527939", "0.527717", "0.5246745", "0.5238312", "0.52333695", "0.52198213", "0.520472", "0.5197636", "0.5181744", "0.5180735", "0.5179602", "0.5171487", "0.5170226", "0.5151229", "0.5126351", "0.51164293", "0.51105917", "0.51006323", "0.5064827", "0.5064827", "0.5030081", "0.50298166", "0.5029732", "0.50183815", "0.5008859", "0.5008625", "0.5002189", "0.5000041", "0.4996095", "0.49911362", "0.4988522", "0.49871376", "0.49688184", "0.4968441", "0.49640483", "0.49627694", "0.49464682", "0.49452326", "0.49435145", "0.4940706", "0.4939512", "0.4919068", "0.49134657", "0.4912824", "0.48992985", "0.48903668", "0.4889867", "0.48865864", "0.48865864", "0.48813212", "0.48813212", "0.48808643", "0.48788455", "0.48786306", "0.4874242", "0.48689762", "0.48689762", "0.48684502", "0.48670304", "0.48606005", "0.48516285", "0.48392272", "0.48242542", "0.48236215", "0.48225048", "0.4821103", "0.48174718", "0.4813819" ]
0.0
-1
repeated .FileInfo fileInfo = 3;
public Builder addFileInfo( int index, entities.Torrent.FileInfo.Builder builderForValue) { if (fileInfoBuilder_ == null) { ensureFileInfoIsMutable(); fileInfo_.add(index, builderForValue.build()); onChanged(); } else { fileInfoBuilder_.addMessage(index, builderForValue.build()); } return this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public FileInfo getFileInfo() {\n return fileInfo;\n }", "@Test\n\tpublic void testSetFileInfo() {\n\n\t}", "FileInfo create(FileInfo fileInfo);", "entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder();", "entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder();", "public void fileInfo(String info);", "@Override\n public void addSingleFile(FileInfo file) {\n }", "void update(FileInfo fileInfo);", "int getFileInfoCount();", "public void incFileCount(){\n\t\tthis.num_files++;\n\t}", "entities.Torrent.FileInfo getFileInfo(int index);", "public boolean nextFileInfo(FileInfo info) {\n\n\t\t// Get the next file from the search\n\n\t\ttry {\n\n\t\t\t// Return the next file details or loop until a match is found if a\n\t\t\t// complex wildcard filter\n\t\t\t// has been specified\n\t\t\twhile (m_rs.next()) {\n\t\t\t\tString name = m_rs.getString(\"name\");\n\t\t\t\t// Get the file name for the next file\n\t\t\t\tinfo.setFileId(m_rs.getInt(\"id\"));\n\t\t\t\tinfo.setFileName(name);\n\t\t\t\tinfo.setSize(m_rs.getLong(\"size\"));\n\t\t\t\tif(name.equalsIgnoreCase(DBUtil.CLOUDURL))\n\t\t\t\t{\n\t\t\t\t\ttry{\n\t\t\t\t\t//重设置大小\n\t\t\t\t\tinfo.setFileId(-99);\n//\t\t\t\t\tinfo.setFileId(-userId);\n\t\t\t\t\tinfo.setSize(DBUtil.getURLMYFILE_TXT(this.getBaseUrl(),userId).getBytes().length);\n\t\t\t\t\t}catch(Exception e)\n\t\t\t\t\t{\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tlong modifyDate = m_rs.getLong(\"lastModified\");\n\t\t\t\tif (modifyDate != 0L)\n\t\t\t\t\tinfo.setModifyDateTime(modifyDate);\n\t\t\t\telse\n\t\t\t\t\tinfo.setModifyDateTime(System.currentTimeMillis());\n\t\t\t\t\n\t\t\t\tTimestamp ts = m_rs.getTimestamp(\"add_time\");\n\t\t\t\tif (ts !=null && ts.getTime()>0)\n\t\t\t\t{\n\t\t\t\t\tinfo.setCreationDateTime(ts.getTime());\n\t\t\t\t\tinfo.setChangeDateTime(info.getModifyDateTime());\n\t\t\t\t}\n\t\t\t\telse\n\t\t\t\t{\n\t\t\t\t\tinfo.setCreationDateTime(info.getModifyDateTime());\n\t\t\t\t\tinfo.setChangeDateTime(info.getModifyDateTime());\n\t\t\t\t}\t\t\t\t\n\t\t\t\tint attr = 0;\n\t\t\t\tif (m_rs.getBoolean(\"isFile\") == true) {\n\t\t\t\t\tinfo.setFileType(FileType.RegularFile);\t\t\t\t\t\n\t\t\t\t\tattr += FileAttribute.ReadOnly;// 只读权限\n\t\t\t\t} else\n\t\t\t\t\tattr += FileAttribute.Directory;\n\n\t\t\t\tif (m_rs.getBoolean(\"isHidden\") == true) \n\t\t\t\t{\n\t\t\t\t\tattr += FileAttribute.Hidden;//隐藏\n\t\t\t\t}\n\t\t\t\tinfo.setFileType(FileType.Directory);\n\t\t\t\t\t\t\t\t\n\t\t\t\tif (hasMarkAsOffline()) {\n\t\t\t\t\tif (getOfflineFileSize() == 0 || info.getSize() >= getOfflineFileSize())\n\t\t\t\t\t\tattr += FileAttribute.NTOffline;\n\t\t\t\t}\n\t\t\t\tinfo.setFileAttributes(attr);\n\t\t\t\tinfo.setUid(userId);\n\n\t\t\t\tif (m_filter == null || m_filter.matchesPattern(info.getFileName()) == true)\n\t\t\t\t\treturn true;\n\t\t\t}\n\t\t} catch (SQLException ex) {\n\t\t\tex.printStackTrace();\n\t\t}\n\t\t// No more files\n\t\tcloseSearch();\n\t\treturn false;\n\t}", "entities.Torrent.FileInfo getFileInfo();", "entities.Torrent.FileInfo getFileInfo();", "entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder(\n int index);", "DiscFileInfo getFileInfo(String path) throws IOException;", "void setFile(String i) {\n file = i;\n }", "@java.lang.Override\n public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder(\n int index) {\n return fileInfo_.get(index);\n }", "@java.lang.Override\n public int getFileInfoCount() {\n return fileInfo_.size();\n }", "public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder(\n int index) {\n if (fileInfoBuilder_ == null) {\n return fileInfo_.get(index); } else {\n return fileInfoBuilder_.getMessageOrBuilder(index);\n }\n }", "@java.lang.Override\n public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder() {\n return getFileInfo();\n }", "@java.lang.Override\n public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder() {\n return getFileInfo();\n }", "fileInfo(){\n\t\tsymbol = new node[MAXLINECOUNT + 2];\n\t\tother = null; // allocated later!\n\t}", "public Builder addFileInfo(entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureFileInfoIsMutable();\n fileInfo_.add(value);\n onChanged();\n } else {\n fileInfoBuilder_.addMessage(value);\n }\n return this;\n }", "public synchronized FileInfo getOrAddFileInfo(FileInfo alphaFileInfo) {\n String app = alphaFileInfo.getApp();\n String caption = alphaFileInfo.getCaption();\n AppAndCaptionKey key = new AppAndCaptionKey(app, caption);\n String fileId = appAndCaptionToId.get(key);\n if(fileId==null){\n fileId = getNextFileId();\n appAndCaptionToId.put(key, fileId);\n }\n\n //2. Creating file info\n FileInfo sigmaFileInfo = fileCache.getFileInfo(app,fileId);\n if(sigmaFileInfo==null){\n sigmaFileInfo = (FileInfo) alphaFileInfo.clone();\n }\n sigmaFileInfo.setId(fileId);\n return sigmaFileInfo;\n }", "entities.Torrent.FileInfo getFiles(int index);", "com.google.devtools.kythe.proto.Analysis.FileInfoOrBuilder getEntryOrBuilder(\n int index);", "public final FileInfoBase getFileInfo() {\r\n return fileInfo;\r\n }", "public void setFileId(Long fileId) {\n/* 31:31 */ this.fileId = fileId;\n/* 32: */ }", "public entities.Torrent.FileInfo.Builder addFileInfoBuilder() {\n return getFileInfoFieldBuilder().addBuilder(\n entities.Torrent.FileInfo.getDefaultInstance());\n }", "@Override\r\n\tpublic int addAnimalFileInfo(FileInfo fileInfo) {\n\t\treturn fileInfoMapper.addAnimalFileInfo(fileInfo);\r\n\t}", "public abstract long NewFileNumber();", "public Builder addFileInfo(\n int index, entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureFileInfoIsMutable();\n fileInfo_.add(index, value);\n onChanged();\n } else {\n fileInfoBuilder_.addMessage(index, value);\n }\n return this;\n }", "public FileInfo(File file) {\n this.file = file;\n }", "int attrib(int i, File v) {\n if (i < max) {\n AllFiles[i] = v;\n } else {\n File[] temp = new File[max];\n int j;\n for (j = 0; j < max; j++) temp[j] = AllFiles[j];\n AllFiles = new File[max + increase];\n for (j = 0; j < max; j++) AllFiles[j] = temp[j];\n max = max + increase;\n AllFiles[i] = v;\n }\n return (0);\n }", "public boolean hasFileInfo() {\n return fieldSetFlags()[15];\n }", "public Builder setFileInfo(\n int index, entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureFileInfoIsMutable();\n fileInfo_.set(index, value);\n onChanged();\n } else {\n fileInfoBuilder_.setMessage(index, value);\n }\n return this;\n }", "public com.opentext.bn.converters.avro.entity.PayloadRef getFileInfo() {\n return fileInfo;\n }", "entities.Torrent.FileInfoOrBuilder getFilesOrBuilder(\n int index);", "public com.opentext.bn.converters.avro.entity.PayloadRef getFileInfo() {\n return fileInfo;\n }", "com.google.devtools.kythe.proto.Analysis.FileInfo getEntry(int index);", "public TagFileInfo[] getTagFiles() {\n/* 176 */ return this.tagFiles;\n/* */ }", "public Builder setFileInfo(entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n fileInfo_ = value;\n onChanged();\n } else {\n fileInfoBuilder_.setMessage(value);\n }\n\n return this;\n }", "public Builder setFileInfo(entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n fileInfo_ = value;\n onChanged();\n } else {\n fileInfoBuilder_.setMessage(value);\n }\n\n return this;\n }", "private FileInfo(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "public Builder addAllFileInfo(\n java.lang.Iterable<? extends entities.Torrent.FileInfo> values) {\n if (fileInfoBuilder_ == null) {\n ensureFileInfoIsMutable();\n com.google.protobuf.AbstractMessageLite.Builder.addAll(\n values, fileInfo_);\n onChanged();\n } else {\n fileInfoBuilder_.addAllMessages(values);\n }\n return this;\n }", "public int getFileInfoCount() {\n if (fileInfoBuilder_ == null) {\n return fileInfo_.size();\n } else {\n return fileInfoBuilder_.getCount();\n }\n }", "public void constructWith(LzzFileInfo pro) {\n\t\tthis.id = pro.getId ();\n\n\t\tthis.fname = pro.getFname ();\n\n\t\tthis.ftype = pro.getFtype ();\n\n\t\tthis.fsavepath = pro.getFsavepath ();\n\n\t\tthis.furlpath = pro.getFurlpath ();\n\n\t\tthis.createTime = pro.getCreateTime ();\n\n\t\tthis.modifyTime = pro.getModifyTime ();\n\n\t\tthis.def1 = pro.getDef1 ();\n\n\t\tthis.def2 = pro.getDef2 ();\n\n\t\tthis.def3 = pro.getDef3 ();\n\n\t\tthis.def4 = pro.getDef4 ();\n\n\t\tthis.def5 = pro.getDef5 ();\n\n\t\tthis.def6 = pro.getDef6 ();\n\n\t\tthis.def7 = pro.getDef7 ();\n\n\t\tthis.def8 = pro.getDef8 ();\n\n\t\tthis.def9 = pro.getDef9 ();\n\n\t\tthis.def10 = pro.getDef10 ();\n\n\t\tthis.dr = pro.getDr ();\n\n\t}", "public FileInfo(NXTComm nxt, String fileName){\r\n\t\tthis.comm = nxt;\r\n\t\tthis.fileName = fileName;\r\n\t}", "public FileInfo()\r\n {\r\n hash = new HashInfo();\r\n }", "@Override\n public List<FileInfo> getLibrarySubFiles(FileInfo fileInfo) {\n return null;\n }", "public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder() {\n if (fileInfoBuilder_ != null) {\n return fileInfoBuilder_.getMessageOrBuilder();\n } else {\n return fileInfo_ == null ?\n entities.Torrent.FileInfo.getDefaultInstance() : fileInfo_;\n }\n }", "public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder() {\n if (fileInfoBuilder_ != null) {\n return fileInfoBuilder_.getMessageOrBuilder();\n } else {\n return fileInfo_ == null ?\n entities.Torrent.FileInfo.getDefaultInstance() : fileInfo_;\n }\n }", "public DotFileEnumerator(File file)\n {\n fileList.add(file.toString());\n }", "public Builder mergeFileInfo(entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (fileInfo_ != null) {\n fileInfo_ =\n entities.Torrent.FileInfo.newBuilder(fileInfo_).mergeFrom(value).buildPartial();\n } else {\n fileInfo_ = value;\n }\n onChanged();\n } else {\n fileInfoBuilder_.mergeFrom(value);\n }\n\n return this;\n }", "public Builder mergeFileInfo(entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (fileInfo_ != null) {\n fileInfo_ =\n entities.Torrent.FileInfo.newBuilder(fileInfo_).mergeFrom(value).buildPartial();\n } else {\n fileInfo_ = value;\n }\n onChanged();\n } else {\n fileInfoBuilder_.mergeFrom(value);\n }\n\n return this;\n }", "int getFileCount();", "public com.google.devtools.kythe.proto.Analysis.FileInfoOrBuilder getEntryOrBuilder(\n int index) {\n return entry_.get(index);\n }", "public int getFileFlags() { return fileFlags; }", "public Builder clearFileInfo() {\n if (fileInfoBuilder_ == null) {\n fileInfo_ = java.util.Collections.emptyList();\n bitField0_ = (bitField0_ & ~0x00000001);\n onChanged();\n } else {\n fileInfoBuilder_.clear();\n }\n return this;\n }", "public com.opentext.bn.converters.avro.entity.PayloadRef.Builder getFileInfoBuilder() {\n if (fileInfoBuilder == null) {\n if (hasFileInfo()) {\n setFileInfoBuilder(com.opentext.bn.converters.avro.entity.PayloadRef.newBuilder(fileInfo));\n } else {\n setFileInfoBuilder(com.opentext.bn.converters.avro.entity.PayloadRef.newBuilder());\n }\n }\n return fileInfoBuilder;\n }", "public void process(TiffFileInfo info)\n {\n }", "public com.google.devtools.kythe.proto.Analysis.FileInfo.Builder addEntryBuilder() {\n return getEntryFieldBuilder().addBuilder(\n com.google.devtools.kythe.proto.Analysis.FileInfo.getDefaultInstance());\n }", "@java.lang.Override\n public entities.Torrent.FileInfo getFileInfo(int index) {\n return fileInfo_.get(index);\n }", "public Long getFileId() {\n/* 35:35 */ return this.fileId;\n/* 36: */ }", "private com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.FileInfo, entities.Torrent.FileInfo.Builder, entities.Torrent.FileInfoOrBuilder>\n getFileInfoFieldBuilder() {\n if (fileInfoBuilder_ == null) {\n fileInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.FileInfo, entities.Torrent.FileInfo.Builder, entities.Torrent.FileInfoOrBuilder>(\n getFileInfo(),\n getParentForChildren(),\n isClean());\n fileInfo_ = null;\n }\n return fileInfoBuilder_;\n }", "private com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.FileInfo, entities.Torrent.FileInfo.Builder, entities.Torrent.FileInfoOrBuilder>\n getFileInfoFieldBuilder() {\n if (fileInfoBuilder_ == null) {\n fileInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.FileInfo, entities.Torrent.FileInfo.Builder, entities.Torrent.FileInfoOrBuilder>(\n getFileInfo(),\n getParentForChildren(),\n isClean());\n fileInfo_ = null;\n }\n return fileInfoBuilder_;\n }", "private void updateFiles() {\n\t}", "public entities.Torrent.FileInfo.Builder addFileInfoBuilder(\n int index) {\n return getFileInfoFieldBuilder().addBuilder(\n index, entities.Torrent.FileInfo.getDefaultInstance());\n }", "public interface FileSelectInfo\n{\n /**\n * Returns the base folder of the traversal.\n * @return FileObject representing the base folder.\n */\n FileObject getBaseFolder();\n\n /**\n * Returns the file (or folder) to be considered.\n * @return The FileObject.\n */\n FileObject getFile();\n\n /**\n * Returns the depth of the file relative to the base folder.\n * @return The depth of the file relative to the base folder.\n */\n int getDepth();\n}", "public entities.Torrent.FileInfo.Builder getFileInfoBuilder(\n int index) {\n return getFileInfoFieldBuilder().getBuilder(index);\n }", "public entities.Torrent.FileInfo.Builder getFileInfoBuilder() {\n\n onChanged();\n return getFileInfoFieldBuilder().getBuilder();\n }", "public entities.Torrent.FileInfo.Builder getFileInfoBuilder() {\n\n onChanged();\n return getFileInfoFieldBuilder().getBuilder();\n }", "public entities.Torrent.FileInfoOrBuilder getFilesOrBuilder(\n int index) {\n if (filesBuilder_ == null) {\n return files_.get(index); } else {\n return filesBuilder_.getMessageOrBuilder(index);\n }\n }", "private void getExtractWithFiles(){\n\t\ttry{\n\t\t\t\n\t\t\tFileInputStream fStream = new FileInputStream(tfile);\n\t\t\tfileBytes = new byte[(int)tfile.length()];\n\t\t\t\n\t\t\tfStream.read(fileBytes, 0, fileBytes.length);\n\t\t\tfileSize = fileBytes.length;\n\t\t}catch(Exception ex){\n\t\t\tSystem.err.println(\"File Packet \"+ex.getMessage());\n\t\t}\n\t}", "private static void printFileInfo(File file) {\n window.putLog(String.format(\"[%6dkb] Modified %s @%s\", 1 + file.length() / 1024,\n new SimpleDateFormat(\"YYYY-MM-dd HH:mm\").format(new Date(file.lastModified())),\n file.getPath().substring(workingDirectory.getParent().length())));\n }", "public interface FileSystemEntry {\n public long getCount();\n public long getSize();\n public String getName();\n}", "public PSMatrixFilesMeta() {\r\n this(-1, new ConcurrentSkipListMap<Integer, MatrixPartitionMeta>());\r\n }", "protected final void setFileInformation( FileInfo fInfo) {\n\t\tm_info = fInfo;\n\t}", "public java.util.List<? extends entities.Torrent.FileInfoOrBuilder>\n getFileInfoOrBuilderList() {\n if (fileInfoBuilder_ != null) {\n return fileInfoBuilder_.getMessageOrBuilderList();\n } else {\n return java.util.Collections.unmodifiableList(fileInfo_);\n }\n }", "int getFileNamesCount();", "int getFileNamesCount();", "public void filesNotFound(File... f) { }", "public void filesNotFound(File... f) { }", "@Override\n public void onPick(FileInfo f) {\n }", "public void setFileRecordCount(int ct) {\n\t\tfileRecordCount = ct;\n\t}", "public com.opentext.bn.converters.avro.entity.DocumentEvent.Builder setFileInfo(com.opentext.bn.converters.avro.entity.PayloadRef value) {\n validate(fields()[15], value);\n this.fileInfoBuilder = null;\n this.fileInfo = value;\n fieldSetFlags()[15] = true;\n return this;\n }", "public DotFileEnumerator(String filePath)\n {\n String[] tempArr = new File(filePath).list();\n\n for (String s : tempArr) {\n fileList.add(filePath + \"/\" + s);\n }\n }", "@java.lang.Override\n public entities.Torrent.FileInfo getFileInfo() {\n return fileInfo_ == null ? entities.Torrent.FileInfo.getDefaultInstance() : fileInfo_;\n }", "@java.lang.Override\n public entities.Torrent.FileInfo getFileInfo() {\n return fileInfo_ == null ? entities.Torrent.FileInfo.getDefaultInstance() : fileInfo_;\n }", "public FileInfoICS(String name, String directory, int format) {\r\n super(name, directory, format);\r\n }", "public FileInfo(FileInfo v)\n \t{\n \t\ttitle = v.title;\n \t\tauthors = v.authors;\n \t\tseries = v.series;\n \t\tseriesNumber = v.seriesNumber;\n \t\tpath = v.path;\n \t\tfilename = v.filename;\n \t\tpathname = v.pathname;\n \t\tarcname = v.arcname;\n \t\tformat = v.format;\n \t\tsize = v.size;\n \t\tarcsize = v.arcsize;\n \t\tisArchive = v.isArchive;\n \t\tisDirectory = v.isDirectory;\n \t\tcreateTime = v.createTime;\n \t\tlastAccessTime = v.lastAccessTime;\n \t}", "public ImageFiles() {\n\t\tthis.listOne = new ArrayList<String>();\n\t\tthis.listTwo = new ArrayList<String>();\n\t\tthis.listThree = new ArrayList<String>();\n\t\tthis.seenImages = new ArrayList<String>();\n\t\tthis.unseenImages = new ArrayList<String>();\n\t}", "@java.lang.Override\n public java.util.List<? extends entities.Torrent.FileInfoOrBuilder>\n getFileInfoOrBuilderList() {\n return fileInfo_;\n }", "int countByExample(AvwFileprocessExample example);", "public Builder addEntry(com.google.devtools.kythe.proto.Analysis.FileInfo value) {\n if (entryBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureEntryIsMutable();\n entry_.add(value);\n onChanged();\n } else {\n entryBuilder_.addMessage(value);\n }\n return this;\n }", "ds.hdfs.generated.FileMetadata getFiles(int index);", "java.util.List<? extends entities.Torrent.FileInfoOrBuilder>\n getFileInfoOrBuilderList();", "public Long getFileID()\n/* */ {\n/* 88 */ return this.fileID;\n/* */ }", "public void incuploadcount(){\n\t\tthis. num_upload++;\n\t}", "public Vector<file> count()\n {\n Vector<Model.file> files = new Vector<>();\n try\n {\n pw.println(11);\n\n files = (Vector<Model.file>) ois.readObject();\n\n }\n catch (ClassNotFoundException | IOException e)\n {\n System.out.println(e.getMessage());\n }\n return files ;\n }" ]
[ "0.63404644", "0.60424006", "0.58997285", "0.5897735", "0.5897735", "0.5893349", "0.5840858", "0.5782364", "0.575059", "0.56671757", "0.5661143", "0.5629983", "0.55628306", "0.55628306", "0.54918736", "0.54439086", "0.5438974", "0.5436454", "0.53865486", "0.53812563", "0.53554535", "0.53554535", "0.5350297", "0.53485256", "0.5337326", "0.5325269", "0.5323776", "0.5317618", "0.5316972", "0.5305772", "0.5301568", "0.5289526", "0.52858317", "0.527939", "0.527717", "0.5246745", "0.5238312", "0.52333695", "0.52198213", "0.520472", "0.5197636", "0.5181744", "0.5180735", "0.5179602", "0.5171487", "0.5170226", "0.5151229", "0.5126351", "0.51164293", "0.51105917", "0.51006323", "0.5064827", "0.5064827", "0.5030081", "0.50298166", "0.5029732", "0.50183815", "0.5008859", "0.5008625", "0.5002189", "0.5000041", "0.4996095", "0.49911362", "0.4988522", "0.49871376", "0.49688184", "0.4968441", "0.49640483", "0.49627694", "0.49464682", "0.49452326", "0.49435145", "0.4940706", "0.4939512", "0.4919068", "0.49134657", "0.4912824", "0.48992985", "0.48903668", "0.4889867", "0.48865864", "0.48865864", "0.48813212", "0.48813212", "0.48808643", "0.48788455", "0.48786306", "0.4874242", "0.48689762", "0.48689762", "0.48684502", "0.48670304", "0.48606005", "0.48516285", "0.48392272", "0.48242542", "0.48236215", "0.48225048", "0.4821103", "0.48174718", "0.4813819" ]
0.0
-1
repeated .FileInfo fileInfo = 3;
public Builder addAllFileInfo( java.lang.Iterable<? extends entities.Torrent.FileInfo> values) { if (fileInfoBuilder_ == null) { ensureFileInfoIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, fileInfo_); onChanged(); } else { fileInfoBuilder_.addAllMessages(values); } return this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public FileInfo getFileInfo() {\n return fileInfo;\n }", "@Test\n\tpublic void testSetFileInfo() {\n\n\t}", "FileInfo create(FileInfo fileInfo);", "entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder();", "entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder();", "public void fileInfo(String info);", "@Override\n public void addSingleFile(FileInfo file) {\n }", "void update(FileInfo fileInfo);", "int getFileInfoCount();", "public void incFileCount(){\n\t\tthis.num_files++;\n\t}", "entities.Torrent.FileInfo getFileInfo(int index);", "public boolean nextFileInfo(FileInfo info) {\n\n\t\t// Get the next file from the search\n\n\t\ttry {\n\n\t\t\t// Return the next file details or loop until a match is found if a\n\t\t\t// complex wildcard filter\n\t\t\t// has been specified\n\t\t\twhile (m_rs.next()) {\n\t\t\t\tString name = m_rs.getString(\"name\");\n\t\t\t\t// Get the file name for the next file\n\t\t\t\tinfo.setFileId(m_rs.getInt(\"id\"));\n\t\t\t\tinfo.setFileName(name);\n\t\t\t\tinfo.setSize(m_rs.getLong(\"size\"));\n\t\t\t\tif(name.equalsIgnoreCase(DBUtil.CLOUDURL))\n\t\t\t\t{\n\t\t\t\t\ttry{\n\t\t\t\t\t//重设置大小\n\t\t\t\t\tinfo.setFileId(-99);\n//\t\t\t\t\tinfo.setFileId(-userId);\n\t\t\t\t\tinfo.setSize(DBUtil.getURLMYFILE_TXT(this.getBaseUrl(),userId).getBytes().length);\n\t\t\t\t\t}catch(Exception e)\n\t\t\t\t\t{\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tlong modifyDate = m_rs.getLong(\"lastModified\");\n\t\t\t\tif (modifyDate != 0L)\n\t\t\t\t\tinfo.setModifyDateTime(modifyDate);\n\t\t\t\telse\n\t\t\t\t\tinfo.setModifyDateTime(System.currentTimeMillis());\n\t\t\t\t\n\t\t\t\tTimestamp ts = m_rs.getTimestamp(\"add_time\");\n\t\t\t\tif (ts !=null && ts.getTime()>0)\n\t\t\t\t{\n\t\t\t\t\tinfo.setCreationDateTime(ts.getTime());\n\t\t\t\t\tinfo.setChangeDateTime(info.getModifyDateTime());\n\t\t\t\t}\n\t\t\t\telse\n\t\t\t\t{\n\t\t\t\t\tinfo.setCreationDateTime(info.getModifyDateTime());\n\t\t\t\t\tinfo.setChangeDateTime(info.getModifyDateTime());\n\t\t\t\t}\t\t\t\t\n\t\t\t\tint attr = 0;\n\t\t\t\tif (m_rs.getBoolean(\"isFile\") == true) {\n\t\t\t\t\tinfo.setFileType(FileType.RegularFile);\t\t\t\t\t\n\t\t\t\t\tattr += FileAttribute.ReadOnly;// 只读权限\n\t\t\t\t} else\n\t\t\t\t\tattr += FileAttribute.Directory;\n\n\t\t\t\tif (m_rs.getBoolean(\"isHidden\") == true) \n\t\t\t\t{\n\t\t\t\t\tattr += FileAttribute.Hidden;//隐藏\n\t\t\t\t}\n\t\t\t\tinfo.setFileType(FileType.Directory);\n\t\t\t\t\t\t\t\t\n\t\t\t\tif (hasMarkAsOffline()) {\n\t\t\t\t\tif (getOfflineFileSize() == 0 || info.getSize() >= getOfflineFileSize())\n\t\t\t\t\t\tattr += FileAttribute.NTOffline;\n\t\t\t\t}\n\t\t\t\tinfo.setFileAttributes(attr);\n\t\t\t\tinfo.setUid(userId);\n\n\t\t\t\tif (m_filter == null || m_filter.matchesPattern(info.getFileName()) == true)\n\t\t\t\t\treturn true;\n\t\t\t}\n\t\t} catch (SQLException ex) {\n\t\t\tex.printStackTrace();\n\t\t}\n\t\t// No more files\n\t\tcloseSearch();\n\t\treturn false;\n\t}", "entities.Torrent.FileInfo getFileInfo();", "entities.Torrent.FileInfo getFileInfo();", "entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder(\n int index);", "DiscFileInfo getFileInfo(String path) throws IOException;", "void setFile(String i) {\n file = i;\n }", "@java.lang.Override\n public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder(\n int index) {\n return fileInfo_.get(index);\n }", "@java.lang.Override\n public int getFileInfoCount() {\n return fileInfo_.size();\n }", "public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder(\n int index) {\n if (fileInfoBuilder_ == null) {\n return fileInfo_.get(index); } else {\n return fileInfoBuilder_.getMessageOrBuilder(index);\n }\n }", "@java.lang.Override\n public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder() {\n return getFileInfo();\n }", "@java.lang.Override\n public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder() {\n return getFileInfo();\n }", "fileInfo(){\n\t\tsymbol = new node[MAXLINECOUNT + 2];\n\t\tother = null; // allocated later!\n\t}", "public Builder addFileInfo(entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureFileInfoIsMutable();\n fileInfo_.add(value);\n onChanged();\n } else {\n fileInfoBuilder_.addMessage(value);\n }\n return this;\n }", "public synchronized FileInfo getOrAddFileInfo(FileInfo alphaFileInfo) {\n String app = alphaFileInfo.getApp();\n String caption = alphaFileInfo.getCaption();\n AppAndCaptionKey key = new AppAndCaptionKey(app, caption);\n String fileId = appAndCaptionToId.get(key);\n if(fileId==null){\n fileId = getNextFileId();\n appAndCaptionToId.put(key, fileId);\n }\n\n //2. Creating file info\n FileInfo sigmaFileInfo = fileCache.getFileInfo(app,fileId);\n if(sigmaFileInfo==null){\n sigmaFileInfo = (FileInfo) alphaFileInfo.clone();\n }\n sigmaFileInfo.setId(fileId);\n return sigmaFileInfo;\n }", "entities.Torrent.FileInfo getFiles(int index);", "com.google.devtools.kythe.proto.Analysis.FileInfoOrBuilder getEntryOrBuilder(\n int index);", "public final FileInfoBase getFileInfo() {\r\n return fileInfo;\r\n }", "public void setFileId(Long fileId) {\n/* 31:31 */ this.fileId = fileId;\n/* 32: */ }", "public entities.Torrent.FileInfo.Builder addFileInfoBuilder() {\n return getFileInfoFieldBuilder().addBuilder(\n entities.Torrent.FileInfo.getDefaultInstance());\n }", "@Override\r\n\tpublic int addAnimalFileInfo(FileInfo fileInfo) {\n\t\treturn fileInfoMapper.addAnimalFileInfo(fileInfo);\r\n\t}", "public abstract long NewFileNumber();", "public Builder addFileInfo(\n int index, entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureFileInfoIsMutable();\n fileInfo_.add(index, value);\n onChanged();\n } else {\n fileInfoBuilder_.addMessage(index, value);\n }\n return this;\n }", "public FileInfo(File file) {\n this.file = file;\n }", "int attrib(int i, File v) {\n if (i < max) {\n AllFiles[i] = v;\n } else {\n File[] temp = new File[max];\n int j;\n for (j = 0; j < max; j++) temp[j] = AllFiles[j];\n AllFiles = new File[max + increase];\n for (j = 0; j < max; j++) AllFiles[j] = temp[j];\n max = max + increase;\n AllFiles[i] = v;\n }\n return (0);\n }", "public boolean hasFileInfo() {\n return fieldSetFlags()[15];\n }", "public Builder setFileInfo(\n int index, entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureFileInfoIsMutable();\n fileInfo_.set(index, value);\n onChanged();\n } else {\n fileInfoBuilder_.setMessage(index, value);\n }\n return this;\n }", "public com.opentext.bn.converters.avro.entity.PayloadRef getFileInfo() {\n return fileInfo;\n }", "entities.Torrent.FileInfoOrBuilder getFilesOrBuilder(\n int index);", "public com.opentext.bn.converters.avro.entity.PayloadRef getFileInfo() {\n return fileInfo;\n }", "com.google.devtools.kythe.proto.Analysis.FileInfo getEntry(int index);", "public TagFileInfo[] getTagFiles() {\n/* 176 */ return this.tagFiles;\n/* */ }", "public Builder setFileInfo(entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n fileInfo_ = value;\n onChanged();\n } else {\n fileInfoBuilder_.setMessage(value);\n }\n\n return this;\n }", "public Builder setFileInfo(entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n fileInfo_ = value;\n onChanged();\n } else {\n fileInfoBuilder_.setMessage(value);\n }\n\n return this;\n }", "private FileInfo(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "public int getFileInfoCount() {\n if (fileInfoBuilder_ == null) {\n return fileInfo_.size();\n } else {\n return fileInfoBuilder_.getCount();\n }\n }", "public void constructWith(LzzFileInfo pro) {\n\t\tthis.id = pro.getId ();\n\n\t\tthis.fname = pro.getFname ();\n\n\t\tthis.ftype = pro.getFtype ();\n\n\t\tthis.fsavepath = pro.getFsavepath ();\n\n\t\tthis.furlpath = pro.getFurlpath ();\n\n\t\tthis.createTime = pro.getCreateTime ();\n\n\t\tthis.modifyTime = pro.getModifyTime ();\n\n\t\tthis.def1 = pro.getDef1 ();\n\n\t\tthis.def2 = pro.getDef2 ();\n\n\t\tthis.def3 = pro.getDef3 ();\n\n\t\tthis.def4 = pro.getDef4 ();\n\n\t\tthis.def5 = pro.getDef5 ();\n\n\t\tthis.def6 = pro.getDef6 ();\n\n\t\tthis.def7 = pro.getDef7 ();\n\n\t\tthis.def8 = pro.getDef8 ();\n\n\t\tthis.def9 = pro.getDef9 ();\n\n\t\tthis.def10 = pro.getDef10 ();\n\n\t\tthis.dr = pro.getDr ();\n\n\t}", "public FileInfo(NXTComm nxt, String fileName){\r\n\t\tthis.comm = nxt;\r\n\t\tthis.fileName = fileName;\r\n\t}", "public FileInfo()\r\n {\r\n hash = new HashInfo();\r\n }", "@Override\n public List<FileInfo> getLibrarySubFiles(FileInfo fileInfo) {\n return null;\n }", "public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder() {\n if (fileInfoBuilder_ != null) {\n return fileInfoBuilder_.getMessageOrBuilder();\n } else {\n return fileInfo_ == null ?\n entities.Torrent.FileInfo.getDefaultInstance() : fileInfo_;\n }\n }", "public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder() {\n if (fileInfoBuilder_ != null) {\n return fileInfoBuilder_.getMessageOrBuilder();\n } else {\n return fileInfo_ == null ?\n entities.Torrent.FileInfo.getDefaultInstance() : fileInfo_;\n }\n }", "public DotFileEnumerator(File file)\n {\n fileList.add(file.toString());\n }", "public Builder mergeFileInfo(entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (fileInfo_ != null) {\n fileInfo_ =\n entities.Torrent.FileInfo.newBuilder(fileInfo_).mergeFrom(value).buildPartial();\n } else {\n fileInfo_ = value;\n }\n onChanged();\n } else {\n fileInfoBuilder_.mergeFrom(value);\n }\n\n return this;\n }", "public Builder mergeFileInfo(entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (fileInfo_ != null) {\n fileInfo_ =\n entities.Torrent.FileInfo.newBuilder(fileInfo_).mergeFrom(value).buildPartial();\n } else {\n fileInfo_ = value;\n }\n onChanged();\n } else {\n fileInfoBuilder_.mergeFrom(value);\n }\n\n return this;\n }", "int getFileCount();", "public com.google.devtools.kythe.proto.Analysis.FileInfoOrBuilder getEntryOrBuilder(\n int index) {\n return entry_.get(index);\n }", "public int getFileFlags() { return fileFlags; }", "public Builder clearFileInfo() {\n if (fileInfoBuilder_ == null) {\n fileInfo_ = java.util.Collections.emptyList();\n bitField0_ = (bitField0_ & ~0x00000001);\n onChanged();\n } else {\n fileInfoBuilder_.clear();\n }\n return this;\n }", "public com.opentext.bn.converters.avro.entity.PayloadRef.Builder getFileInfoBuilder() {\n if (fileInfoBuilder == null) {\n if (hasFileInfo()) {\n setFileInfoBuilder(com.opentext.bn.converters.avro.entity.PayloadRef.newBuilder(fileInfo));\n } else {\n setFileInfoBuilder(com.opentext.bn.converters.avro.entity.PayloadRef.newBuilder());\n }\n }\n return fileInfoBuilder;\n }", "public void process(TiffFileInfo info)\n {\n }", "public com.google.devtools.kythe.proto.Analysis.FileInfo.Builder addEntryBuilder() {\n return getEntryFieldBuilder().addBuilder(\n com.google.devtools.kythe.proto.Analysis.FileInfo.getDefaultInstance());\n }", "@java.lang.Override\n public entities.Torrent.FileInfo getFileInfo(int index) {\n return fileInfo_.get(index);\n }", "public Long getFileId() {\n/* 35:35 */ return this.fileId;\n/* 36: */ }", "private com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.FileInfo, entities.Torrent.FileInfo.Builder, entities.Torrent.FileInfoOrBuilder>\n getFileInfoFieldBuilder() {\n if (fileInfoBuilder_ == null) {\n fileInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.FileInfo, entities.Torrent.FileInfo.Builder, entities.Torrent.FileInfoOrBuilder>(\n getFileInfo(),\n getParentForChildren(),\n isClean());\n fileInfo_ = null;\n }\n return fileInfoBuilder_;\n }", "private com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.FileInfo, entities.Torrent.FileInfo.Builder, entities.Torrent.FileInfoOrBuilder>\n getFileInfoFieldBuilder() {\n if (fileInfoBuilder_ == null) {\n fileInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.FileInfo, entities.Torrent.FileInfo.Builder, entities.Torrent.FileInfoOrBuilder>(\n getFileInfo(),\n getParentForChildren(),\n isClean());\n fileInfo_ = null;\n }\n return fileInfoBuilder_;\n }", "private void updateFiles() {\n\t}", "public entities.Torrent.FileInfo.Builder addFileInfoBuilder(\n int index) {\n return getFileInfoFieldBuilder().addBuilder(\n index, entities.Torrent.FileInfo.getDefaultInstance());\n }", "public interface FileSelectInfo\n{\n /**\n * Returns the base folder of the traversal.\n * @return FileObject representing the base folder.\n */\n FileObject getBaseFolder();\n\n /**\n * Returns the file (or folder) to be considered.\n * @return The FileObject.\n */\n FileObject getFile();\n\n /**\n * Returns the depth of the file relative to the base folder.\n * @return The depth of the file relative to the base folder.\n */\n int getDepth();\n}", "public entities.Torrent.FileInfo.Builder getFileInfoBuilder(\n int index) {\n return getFileInfoFieldBuilder().getBuilder(index);\n }", "public entities.Torrent.FileInfo.Builder getFileInfoBuilder() {\n\n onChanged();\n return getFileInfoFieldBuilder().getBuilder();\n }", "public entities.Torrent.FileInfo.Builder getFileInfoBuilder() {\n\n onChanged();\n return getFileInfoFieldBuilder().getBuilder();\n }", "public entities.Torrent.FileInfoOrBuilder getFilesOrBuilder(\n int index) {\n if (filesBuilder_ == null) {\n return files_.get(index); } else {\n return filesBuilder_.getMessageOrBuilder(index);\n }\n }", "private void getExtractWithFiles(){\n\t\ttry{\n\t\t\t\n\t\t\tFileInputStream fStream = new FileInputStream(tfile);\n\t\t\tfileBytes = new byte[(int)tfile.length()];\n\t\t\t\n\t\t\tfStream.read(fileBytes, 0, fileBytes.length);\n\t\t\tfileSize = fileBytes.length;\n\t\t}catch(Exception ex){\n\t\t\tSystem.err.println(\"File Packet \"+ex.getMessage());\n\t\t}\n\t}", "private static void printFileInfo(File file) {\n window.putLog(String.format(\"[%6dkb] Modified %s @%s\", 1 + file.length() / 1024,\n new SimpleDateFormat(\"YYYY-MM-dd HH:mm\").format(new Date(file.lastModified())),\n file.getPath().substring(workingDirectory.getParent().length())));\n }", "public interface FileSystemEntry {\n public long getCount();\n public long getSize();\n public String getName();\n}", "public PSMatrixFilesMeta() {\r\n this(-1, new ConcurrentSkipListMap<Integer, MatrixPartitionMeta>());\r\n }", "protected final void setFileInformation( FileInfo fInfo) {\n\t\tm_info = fInfo;\n\t}", "public java.util.List<? extends entities.Torrent.FileInfoOrBuilder>\n getFileInfoOrBuilderList() {\n if (fileInfoBuilder_ != null) {\n return fileInfoBuilder_.getMessageOrBuilderList();\n } else {\n return java.util.Collections.unmodifiableList(fileInfo_);\n }\n }", "int getFileNamesCount();", "int getFileNamesCount();", "public void filesNotFound(File... f) { }", "public void filesNotFound(File... f) { }", "@Override\n public void onPick(FileInfo f) {\n }", "public void setFileRecordCount(int ct) {\n\t\tfileRecordCount = ct;\n\t}", "public com.opentext.bn.converters.avro.entity.DocumentEvent.Builder setFileInfo(com.opentext.bn.converters.avro.entity.PayloadRef value) {\n validate(fields()[15], value);\n this.fileInfoBuilder = null;\n this.fileInfo = value;\n fieldSetFlags()[15] = true;\n return this;\n }", "public DotFileEnumerator(String filePath)\n {\n String[] tempArr = new File(filePath).list();\n\n for (String s : tempArr) {\n fileList.add(filePath + \"/\" + s);\n }\n }", "@java.lang.Override\n public entities.Torrent.FileInfo getFileInfo() {\n return fileInfo_ == null ? entities.Torrent.FileInfo.getDefaultInstance() : fileInfo_;\n }", "@java.lang.Override\n public entities.Torrent.FileInfo getFileInfo() {\n return fileInfo_ == null ? entities.Torrent.FileInfo.getDefaultInstance() : fileInfo_;\n }", "public FileInfoICS(String name, String directory, int format) {\r\n super(name, directory, format);\r\n }", "public FileInfo(FileInfo v)\n \t{\n \t\ttitle = v.title;\n \t\tauthors = v.authors;\n \t\tseries = v.series;\n \t\tseriesNumber = v.seriesNumber;\n \t\tpath = v.path;\n \t\tfilename = v.filename;\n \t\tpathname = v.pathname;\n \t\tarcname = v.arcname;\n \t\tformat = v.format;\n \t\tsize = v.size;\n \t\tarcsize = v.arcsize;\n \t\tisArchive = v.isArchive;\n \t\tisDirectory = v.isDirectory;\n \t\tcreateTime = v.createTime;\n \t\tlastAccessTime = v.lastAccessTime;\n \t}", "public ImageFiles() {\n\t\tthis.listOne = new ArrayList<String>();\n\t\tthis.listTwo = new ArrayList<String>();\n\t\tthis.listThree = new ArrayList<String>();\n\t\tthis.seenImages = new ArrayList<String>();\n\t\tthis.unseenImages = new ArrayList<String>();\n\t}", "@java.lang.Override\n public java.util.List<? extends entities.Torrent.FileInfoOrBuilder>\n getFileInfoOrBuilderList() {\n return fileInfo_;\n }", "int countByExample(AvwFileprocessExample example);", "public Builder addEntry(com.google.devtools.kythe.proto.Analysis.FileInfo value) {\n if (entryBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureEntryIsMutable();\n entry_.add(value);\n onChanged();\n } else {\n entryBuilder_.addMessage(value);\n }\n return this;\n }", "ds.hdfs.generated.FileMetadata getFiles(int index);", "java.util.List<? extends entities.Torrent.FileInfoOrBuilder>\n getFileInfoOrBuilderList();", "public Long getFileID()\n/* */ {\n/* 88 */ return this.fileID;\n/* */ }", "public void incuploadcount(){\n\t\tthis. num_upload++;\n\t}", "public Vector<file> count()\n {\n Vector<Model.file> files = new Vector<>();\n try\n {\n pw.println(11);\n\n files = (Vector<Model.file>) ois.readObject();\n\n }\n catch (ClassNotFoundException | IOException e)\n {\n System.out.println(e.getMessage());\n }\n return files ;\n }" ]
[ "0.63404644", "0.60424006", "0.58997285", "0.5897735", "0.5897735", "0.5893349", "0.5840858", "0.5782364", "0.575059", "0.56671757", "0.5661143", "0.5629983", "0.55628306", "0.55628306", "0.54918736", "0.54439086", "0.5438974", "0.5436454", "0.53865486", "0.53812563", "0.53554535", "0.53554535", "0.5350297", "0.53485256", "0.5337326", "0.5325269", "0.5323776", "0.5317618", "0.5316972", "0.5305772", "0.5301568", "0.5289526", "0.52858317", "0.527939", "0.527717", "0.5246745", "0.5238312", "0.52333695", "0.52198213", "0.520472", "0.5197636", "0.5181744", "0.5180735", "0.5179602", "0.5171487", "0.5151229", "0.5126351", "0.51164293", "0.51105917", "0.51006323", "0.5064827", "0.5064827", "0.5030081", "0.50298166", "0.5029732", "0.50183815", "0.5008859", "0.5008625", "0.5002189", "0.5000041", "0.4996095", "0.49911362", "0.4988522", "0.49871376", "0.49688184", "0.4968441", "0.49640483", "0.49627694", "0.49464682", "0.49452326", "0.49435145", "0.4940706", "0.4939512", "0.4919068", "0.49134657", "0.4912824", "0.48992985", "0.48903668", "0.4889867", "0.48865864", "0.48865864", "0.48813212", "0.48813212", "0.48808643", "0.48788455", "0.48786306", "0.4874242", "0.48689762", "0.48689762", "0.48684502", "0.48670304", "0.48606005", "0.48516285", "0.48392272", "0.48242542", "0.48236215", "0.48225048", "0.4821103", "0.48174718", "0.4813819" ]
0.5170226
45
repeated .FileInfo fileInfo = 3;
public Builder clearFileInfo() { if (fileInfoBuilder_ == null) { fileInfo_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { fileInfoBuilder_.clear(); } return this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public FileInfo getFileInfo() {\n return fileInfo;\n }", "@Test\n\tpublic void testSetFileInfo() {\n\n\t}", "FileInfo create(FileInfo fileInfo);", "entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder();", "entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder();", "public void fileInfo(String info);", "@Override\n public void addSingleFile(FileInfo file) {\n }", "void update(FileInfo fileInfo);", "int getFileInfoCount();", "public void incFileCount(){\n\t\tthis.num_files++;\n\t}", "entities.Torrent.FileInfo getFileInfo(int index);", "public boolean nextFileInfo(FileInfo info) {\n\n\t\t// Get the next file from the search\n\n\t\ttry {\n\n\t\t\t// Return the next file details or loop until a match is found if a\n\t\t\t// complex wildcard filter\n\t\t\t// has been specified\n\t\t\twhile (m_rs.next()) {\n\t\t\t\tString name = m_rs.getString(\"name\");\n\t\t\t\t// Get the file name for the next file\n\t\t\t\tinfo.setFileId(m_rs.getInt(\"id\"));\n\t\t\t\tinfo.setFileName(name);\n\t\t\t\tinfo.setSize(m_rs.getLong(\"size\"));\n\t\t\t\tif(name.equalsIgnoreCase(DBUtil.CLOUDURL))\n\t\t\t\t{\n\t\t\t\t\ttry{\n\t\t\t\t\t//重设置大小\n\t\t\t\t\tinfo.setFileId(-99);\n//\t\t\t\t\tinfo.setFileId(-userId);\n\t\t\t\t\tinfo.setSize(DBUtil.getURLMYFILE_TXT(this.getBaseUrl(),userId).getBytes().length);\n\t\t\t\t\t}catch(Exception e)\n\t\t\t\t\t{\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tlong modifyDate = m_rs.getLong(\"lastModified\");\n\t\t\t\tif (modifyDate != 0L)\n\t\t\t\t\tinfo.setModifyDateTime(modifyDate);\n\t\t\t\telse\n\t\t\t\t\tinfo.setModifyDateTime(System.currentTimeMillis());\n\t\t\t\t\n\t\t\t\tTimestamp ts = m_rs.getTimestamp(\"add_time\");\n\t\t\t\tif (ts !=null && ts.getTime()>0)\n\t\t\t\t{\n\t\t\t\t\tinfo.setCreationDateTime(ts.getTime());\n\t\t\t\t\tinfo.setChangeDateTime(info.getModifyDateTime());\n\t\t\t\t}\n\t\t\t\telse\n\t\t\t\t{\n\t\t\t\t\tinfo.setCreationDateTime(info.getModifyDateTime());\n\t\t\t\t\tinfo.setChangeDateTime(info.getModifyDateTime());\n\t\t\t\t}\t\t\t\t\n\t\t\t\tint attr = 0;\n\t\t\t\tif (m_rs.getBoolean(\"isFile\") == true) {\n\t\t\t\t\tinfo.setFileType(FileType.RegularFile);\t\t\t\t\t\n\t\t\t\t\tattr += FileAttribute.ReadOnly;// 只读权限\n\t\t\t\t} else\n\t\t\t\t\tattr += FileAttribute.Directory;\n\n\t\t\t\tif (m_rs.getBoolean(\"isHidden\") == true) \n\t\t\t\t{\n\t\t\t\t\tattr += FileAttribute.Hidden;//隐藏\n\t\t\t\t}\n\t\t\t\tinfo.setFileType(FileType.Directory);\n\t\t\t\t\t\t\t\t\n\t\t\t\tif (hasMarkAsOffline()) {\n\t\t\t\t\tif (getOfflineFileSize() == 0 || info.getSize() >= getOfflineFileSize())\n\t\t\t\t\t\tattr += FileAttribute.NTOffline;\n\t\t\t\t}\n\t\t\t\tinfo.setFileAttributes(attr);\n\t\t\t\tinfo.setUid(userId);\n\n\t\t\t\tif (m_filter == null || m_filter.matchesPattern(info.getFileName()) == true)\n\t\t\t\t\treturn true;\n\t\t\t}\n\t\t} catch (SQLException ex) {\n\t\t\tex.printStackTrace();\n\t\t}\n\t\t// No more files\n\t\tcloseSearch();\n\t\treturn false;\n\t}", "entities.Torrent.FileInfo getFileInfo();", "entities.Torrent.FileInfo getFileInfo();", "entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder(\n int index);", "DiscFileInfo getFileInfo(String path) throws IOException;", "void setFile(String i) {\n file = i;\n }", "@java.lang.Override\n public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder(\n int index) {\n return fileInfo_.get(index);\n }", "@java.lang.Override\n public int getFileInfoCount() {\n return fileInfo_.size();\n }", "public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder(\n int index) {\n if (fileInfoBuilder_ == null) {\n return fileInfo_.get(index); } else {\n return fileInfoBuilder_.getMessageOrBuilder(index);\n }\n }", "@java.lang.Override\n public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder() {\n return getFileInfo();\n }", "@java.lang.Override\n public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder() {\n return getFileInfo();\n }", "fileInfo(){\n\t\tsymbol = new node[MAXLINECOUNT + 2];\n\t\tother = null; // allocated later!\n\t}", "public Builder addFileInfo(entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureFileInfoIsMutable();\n fileInfo_.add(value);\n onChanged();\n } else {\n fileInfoBuilder_.addMessage(value);\n }\n return this;\n }", "public synchronized FileInfo getOrAddFileInfo(FileInfo alphaFileInfo) {\n String app = alphaFileInfo.getApp();\n String caption = alphaFileInfo.getCaption();\n AppAndCaptionKey key = new AppAndCaptionKey(app, caption);\n String fileId = appAndCaptionToId.get(key);\n if(fileId==null){\n fileId = getNextFileId();\n appAndCaptionToId.put(key, fileId);\n }\n\n //2. Creating file info\n FileInfo sigmaFileInfo = fileCache.getFileInfo(app,fileId);\n if(sigmaFileInfo==null){\n sigmaFileInfo = (FileInfo) alphaFileInfo.clone();\n }\n sigmaFileInfo.setId(fileId);\n return sigmaFileInfo;\n }", "entities.Torrent.FileInfo getFiles(int index);", "com.google.devtools.kythe.proto.Analysis.FileInfoOrBuilder getEntryOrBuilder(\n int index);", "public final FileInfoBase getFileInfo() {\r\n return fileInfo;\r\n }", "public void setFileId(Long fileId) {\n/* 31:31 */ this.fileId = fileId;\n/* 32: */ }", "public entities.Torrent.FileInfo.Builder addFileInfoBuilder() {\n return getFileInfoFieldBuilder().addBuilder(\n entities.Torrent.FileInfo.getDefaultInstance());\n }", "@Override\r\n\tpublic int addAnimalFileInfo(FileInfo fileInfo) {\n\t\treturn fileInfoMapper.addAnimalFileInfo(fileInfo);\r\n\t}", "public abstract long NewFileNumber();", "public Builder addFileInfo(\n int index, entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureFileInfoIsMutable();\n fileInfo_.add(index, value);\n onChanged();\n } else {\n fileInfoBuilder_.addMessage(index, value);\n }\n return this;\n }", "public FileInfo(File file) {\n this.file = file;\n }", "int attrib(int i, File v) {\n if (i < max) {\n AllFiles[i] = v;\n } else {\n File[] temp = new File[max];\n int j;\n for (j = 0; j < max; j++) temp[j] = AllFiles[j];\n AllFiles = new File[max + increase];\n for (j = 0; j < max; j++) AllFiles[j] = temp[j];\n max = max + increase;\n AllFiles[i] = v;\n }\n return (0);\n }", "public boolean hasFileInfo() {\n return fieldSetFlags()[15];\n }", "public Builder setFileInfo(\n int index, entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureFileInfoIsMutable();\n fileInfo_.set(index, value);\n onChanged();\n } else {\n fileInfoBuilder_.setMessage(index, value);\n }\n return this;\n }", "public com.opentext.bn.converters.avro.entity.PayloadRef getFileInfo() {\n return fileInfo;\n }", "entities.Torrent.FileInfoOrBuilder getFilesOrBuilder(\n int index);", "public com.opentext.bn.converters.avro.entity.PayloadRef getFileInfo() {\n return fileInfo;\n }", "com.google.devtools.kythe.proto.Analysis.FileInfo getEntry(int index);", "public TagFileInfo[] getTagFiles() {\n/* 176 */ return this.tagFiles;\n/* */ }", "public Builder setFileInfo(entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n fileInfo_ = value;\n onChanged();\n } else {\n fileInfoBuilder_.setMessage(value);\n }\n\n return this;\n }", "public Builder setFileInfo(entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n fileInfo_ = value;\n onChanged();\n } else {\n fileInfoBuilder_.setMessage(value);\n }\n\n return this;\n }", "private FileInfo(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "public Builder addAllFileInfo(\n java.lang.Iterable<? extends entities.Torrent.FileInfo> values) {\n if (fileInfoBuilder_ == null) {\n ensureFileInfoIsMutable();\n com.google.protobuf.AbstractMessageLite.Builder.addAll(\n values, fileInfo_);\n onChanged();\n } else {\n fileInfoBuilder_.addAllMessages(values);\n }\n return this;\n }", "public int getFileInfoCount() {\n if (fileInfoBuilder_ == null) {\n return fileInfo_.size();\n } else {\n return fileInfoBuilder_.getCount();\n }\n }", "public void constructWith(LzzFileInfo pro) {\n\t\tthis.id = pro.getId ();\n\n\t\tthis.fname = pro.getFname ();\n\n\t\tthis.ftype = pro.getFtype ();\n\n\t\tthis.fsavepath = pro.getFsavepath ();\n\n\t\tthis.furlpath = pro.getFurlpath ();\n\n\t\tthis.createTime = pro.getCreateTime ();\n\n\t\tthis.modifyTime = pro.getModifyTime ();\n\n\t\tthis.def1 = pro.getDef1 ();\n\n\t\tthis.def2 = pro.getDef2 ();\n\n\t\tthis.def3 = pro.getDef3 ();\n\n\t\tthis.def4 = pro.getDef4 ();\n\n\t\tthis.def5 = pro.getDef5 ();\n\n\t\tthis.def6 = pro.getDef6 ();\n\n\t\tthis.def7 = pro.getDef7 ();\n\n\t\tthis.def8 = pro.getDef8 ();\n\n\t\tthis.def9 = pro.getDef9 ();\n\n\t\tthis.def10 = pro.getDef10 ();\n\n\t\tthis.dr = pro.getDr ();\n\n\t}", "public FileInfo(NXTComm nxt, String fileName){\r\n\t\tthis.comm = nxt;\r\n\t\tthis.fileName = fileName;\r\n\t}", "public FileInfo()\r\n {\r\n hash = new HashInfo();\r\n }", "@Override\n public List<FileInfo> getLibrarySubFiles(FileInfo fileInfo) {\n return null;\n }", "public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder() {\n if (fileInfoBuilder_ != null) {\n return fileInfoBuilder_.getMessageOrBuilder();\n } else {\n return fileInfo_ == null ?\n entities.Torrent.FileInfo.getDefaultInstance() : fileInfo_;\n }\n }", "public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder() {\n if (fileInfoBuilder_ != null) {\n return fileInfoBuilder_.getMessageOrBuilder();\n } else {\n return fileInfo_ == null ?\n entities.Torrent.FileInfo.getDefaultInstance() : fileInfo_;\n }\n }", "public DotFileEnumerator(File file)\n {\n fileList.add(file.toString());\n }", "public Builder mergeFileInfo(entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (fileInfo_ != null) {\n fileInfo_ =\n entities.Torrent.FileInfo.newBuilder(fileInfo_).mergeFrom(value).buildPartial();\n } else {\n fileInfo_ = value;\n }\n onChanged();\n } else {\n fileInfoBuilder_.mergeFrom(value);\n }\n\n return this;\n }", "public Builder mergeFileInfo(entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (fileInfo_ != null) {\n fileInfo_ =\n entities.Torrent.FileInfo.newBuilder(fileInfo_).mergeFrom(value).buildPartial();\n } else {\n fileInfo_ = value;\n }\n onChanged();\n } else {\n fileInfoBuilder_.mergeFrom(value);\n }\n\n return this;\n }", "int getFileCount();", "public com.google.devtools.kythe.proto.Analysis.FileInfoOrBuilder getEntryOrBuilder(\n int index) {\n return entry_.get(index);\n }", "public int getFileFlags() { return fileFlags; }", "public com.opentext.bn.converters.avro.entity.PayloadRef.Builder getFileInfoBuilder() {\n if (fileInfoBuilder == null) {\n if (hasFileInfo()) {\n setFileInfoBuilder(com.opentext.bn.converters.avro.entity.PayloadRef.newBuilder(fileInfo));\n } else {\n setFileInfoBuilder(com.opentext.bn.converters.avro.entity.PayloadRef.newBuilder());\n }\n }\n return fileInfoBuilder;\n }", "public void process(TiffFileInfo info)\n {\n }", "public com.google.devtools.kythe.proto.Analysis.FileInfo.Builder addEntryBuilder() {\n return getEntryFieldBuilder().addBuilder(\n com.google.devtools.kythe.proto.Analysis.FileInfo.getDefaultInstance());\n }", "@java.lang.Override\n public entities.Torrent.FileInfo getFileInfo(int index) {\n return fileInfo_.get(index);\n }", "public Long getFileId() {\n/* 35:35 */ return this.fileId;\n/* 36: */ }", "private com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.FileInfo, entities.Torrent.FileInfo.Builder, entities.Torrent.FileInfoOrBuilder>\n getFileInfoFieldBuilder() {\n if (fileInfoBuilder_ == null) {\n fileInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.FileInfo, entities.Torrent.FileInfo.Builder, entities.Torrent.FileInfoOrBuilder>(\n getFileInfo(),\n getParentForChildren(),\n isClean());\n fileInfo_ = null;\n }\n return fileInfoBuilder_;\n }", "private com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.FileInfo, entities.Torrent.FileInfo.Builder, entities.Torrent.FileInfoOrBuilder>\n getFileInfoFieldBuilder() {\n if (fileInfoBuilder_ == null) {\n fileInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.FileInfo, entities.Torrent.FileInfo.Builder, entities.Torrent.FileInfoOrBuilder>(\n getFileInfo(),\n getParentForChildren(),\n isClean());\n fileInfo_ = null;\n }\n return fileInfoBuilder_;\n }", "private void updateFiles() {\n\t}", "public entities.Torrent.FileInfo.Builder addFileInfoBuilder(\n int index) {\n return getFileInfoFieldBuilder().addBuilder(\n index, entities.Torrent.FileInfo.getDefaultInstance());\n }", "public interface FileSelectInfo\n{\n /**\n * Returns the base folder of the traversal.\n * @return FileObject representing the base folder.\n */\n FileObject getBaseFolder();\n\n /**\n * Returns the file (or folder) to be considered.\n * @return The FileObject.\n */\n FileObject getFile();\n\n /**\n * Returns the depth of the file relative to the base folder.\n * @return The depth of the file relative to the base folder.\n */\n int getDepth();\n}", "public entities.Torrent.FileInfo.Builder getFileInfoBuilder(\n int index) {\n return getFileInfoFieldBuilder().getBuilder(index);\n }", "public entities.Torrent.FileInfo.Builder getFileInfoBuilder() {\n\n onChanged();\n return getFileInfoFieldBuilder().getBuilder();\n }", "public entities.Torrent.FileInfo.Builder getFileInfoBuilder() {\n\n onChanged();\n return getFileInfoFieldBuilder().getBuilder();\n }", "public entities.Torrent.FileInfoOrBuilder getFilesOrBuilder(\n int index) {\n if (filesBuilder_ == null) {\n return files_.get(index); } else {\n return filesBuilder_.getMessageOrBuilder(index);\n }\n }", "private void getExtractWithFiles(){\n\t\ttry{\n\t\t\t\n\t\t\tFileInputStream fStream = new FileInputStream(tfile);\n\t\t\tfileBytes = new byte[(int)tfile.length()];\n\t\t\t\n\t\t\tfStream.read(fileBytes, 0, fileBytes.length);\n\t\t\tfileSize = fileBytes.length;\n\t\t}catch(Exception ex){\n\t\t\tSystem.err.println(\"File Packet \"+ex.getMessage());\n\t\t}\n\t}", "private static void printFileInfo(File file) {\n window.putLog(String.format(\"[%6dkb] Modified %s @%s\", 1 + file.length() / 1024,\n new SimpleDateFormat(\"YYYY-MM-dd HH:mm\").format(new Date(file.lastModified())),\n file.getPath().substring(workingDirectory.getParent().length())));\n }", "public interface FileSystemEntry {\n public long getCount();\n public long getSize();\n public String getName();\n}", "public PSMatrixFilesMeta() {\r\n this(-1, new ConcurrentSkipListMap<Integer, MatrixPartitionMeta>());\r\n }", "protected final void setFileInformation( FileInfo fInfo) {\n\t\tm_info = fInfo;\n\t}", "public java.util.List<? extends entities.Torrent.FileInfoOrBuilder>\n getFileInfoOrBuilderList() {\n if (fileInfoBuilder_ != null) {\n return fileInfoBuilder_.getMessageOrBuilderList();\n } else {\n return java.util.Collections.unmodifiableList(fileInfo_);\n }\n }", "int getFileNamesCount();", "int getFileNamesCount();", "public void filesNotFound(File... f) { }", "public void filesNotFound(File... f) { }", "@Override\n public void onPick(FileInfo f) {\n }", "public void setFileRecordCount(int ct) {\n\t\tfileRecordCount = ct;\n\t}", "public com.opentext.bn.converters.avro.entity.DocumentEvent.Builder setFileInfo(com.opentext.bn.converters.avro.entity.PayloadRef value) {\n validate(fields()[15], value);\n this.fileInfoBuilder = null;\n this.fileInfo = value;\n fieldSetFlags()[15] = true;\n return this;\n }", "public DotFileEnumerator(String filePath)\n {\n String[] tempArr = new File(filePath).list();\n\n for (String s : tempArr) {\n fileList.add(filePath + \"/\" + s);\n }\n }", "@java.lang.Override\n public entities.Torrent.FileInfo getFileInfo() {\n return fileInfo_ == null ? entities.Torrent.FileInfo.getDefaultInstance() : fileInfo_;\n }", "@java.lang.Override\n public entities.Torrent.FileInfo getFileInfo() {\n return fileInfo_ == null ? entities.Torrent.FileInfo.getDefaultInstance() : fileInfo_;\n }", "public FileInfoICS(String name, String directory, int format) {\r\n super(name, directory, format);\r\n }", "public FileInfo(FileInfo v)\n \t{\n \t\ttitle = v.title;\n \t\tauthors = v.authors;\n \t\tseries = v.series;\n \t\tseriesNumber = v.seriesNumber;\n \t\tpath = v.path;\n \t\tfilename = v.filename;\n \t\tpathname = v.pathname;\n \t\tarcname = v.arcname;\n \t\tformat = v.format;\n \t\tsize = v.size;\n \t\tarcsize = v.arcsize;\n \t\tisArchive = v.isArchive;\n \t\tisDirectory = v.isDirectory;\n \t\tcreateTime = v.createTime;\n \t\tlastAccessTime = v.lastAccessTime;\n \t}", "public ImageFiles() {\n\t\tthis.listOne = new ArrayList<String>();\n\t\tthis.listTwo = new ArrayList<String>();\n\t\tthis.listThree = new ArrayList<String>();\n\t\tthis.seenImages = new ArrayList<String>();\n\t\tthis.unseenImages = new ArrayList<String>();\n\t}", "@java.lang.Override\n public java.util.List<? extends entities.Torrent.FileInfoOrBuilder>\n getFileInfoOrBuilderList() {\n return fileInfo_;\n }", "int countByExample(AvwFileprocessExample example);", "public Builder addEntry(com.google.devtools.kythe.proto.Analysis.FileInfo value) {\n if (entryBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureEntryIsMutable();\n entry_.add(value);\n onChanged();\n } else {\n entryBuilder_.addMessage(value);\n }\n return this;\n }", "ds.hdfs.generated.FileMetadata getFiles(int index);", "java.util.List<? extends entities.Torrent.FileInfoOrBuilder>\n getFileInfoOrBuilderList();", "public Long getFileID()\n/* */ {\n/* 88 */ return this.fileID;\n/* */ }", "public void incuploadcount(){\n\t\tthis. num_upload++;\n\t}", "public Vector<file> count()\n {\n Vector<Model.file> files = new Vector<>();\n try\n {\n pw.println(11);\n\n files = (Vector<Model.file>) ois.readObject();\n\n }\n catch (ClassNotFoundException | IOException e)\n {\n System.out.println(e.getMessage());\n }\n return files ;\n }" ]
[ "0.63404644", "0.60424006", "0.58997285", "0.5897735", "0.5897735", "0.5893349", "0.5840858", "0.5782364", "0.575059", "0.56671757", "0.5661143", "0.5629983", "0.55628306", "0.55628306", "0.54918736", "0.54439086", "0.5438974", "0.5436454", "0.53865486", "0.53812563", "0.53554535", "0.53554535", "0.5350297", "0.53485256", "0.5337326", "0.5325269", "0.5323776", "0.5317618", "0.5316972", "0.5305772", "0.5301568", "0.5289526", "0.52858317", "0.527939", "0.527717", "0.5246745", "0.5238312", "0.52333695", "0.52198213", "0.520472", "0.5197636", "0.5181744", "0.5180735", "0.5179602", "0.5171487", "0.5170226", "0.5151229", "0.5126351", "0.51164293", "0.51105917", "0.51006323", "0.5064827", "0.5064827", "0.5030081", "0.50298166", "0.5029732", "0.50183815", "0.5008859", "0.5008625", "0.5000041", "0.4996095", "0.49911362", "0.4988522", "0.49871376", "0.49688184", "0.4968441", "0.49640483", "0.49627694", "0.49464682", "0.49452326", "0.49435145", "0.4940706", "0.4939512", "0.4919068", "0.49134657", "0.4912824", "0.48992985", "0.48903668", "0.4889867", "0.48865864", "0.48865864", "0.48813212", "0.48813212", "0.48808643", "0.48788455", "0.48786306", "0.4874242", "0.48689762", "0.48689762", "0.48684502", "0.48670304", "0.48606005", "0.48516285", "0.48392272", "0.48242542", "0.48236215", "0.48225048", "0.4821103", "0.48174718", "0.4813819" ]
0.5002189
59
repeated .FileInfo fileInfo = 3;
public Builder removeFileInfo(int index) { if (fileInfoBuilder_ == null) { ensureFileInfoIsMutable(); fileInfo_.remove(index); onChanged(); } else { fileInfoBuilder_.remove(index); } return this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public FileInfo getFileInfo() {\n return fileInfo;\n }", "@Test\n\tpublic void testSetFileInfo() {\n\n\t}", "FileInfo create(FileInfo fileInfo);", "entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder();", "entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder();", "public void fileInfo(String info);", "@Override\n public void addSingleFile(FileInfo file) {\n }", "void update(FileInfo fileInfo);", "int getFileInfoCount();", "public void incFileCount(){\n\t\tthis.num_files++;\n\t}", "entities.Torrent.FileInfo getFileInfo(int index);", "public boolean nextFileInfo(FileInfo info) {\n\n\t\t// Get the next file from the search\n\n\t\ttry {\n\n\t\t\t// Return the next file details or loop until a match is found if a\n\t\t\t// complex wildcard filter\n\t\t\t// has been specified\n\t\t\twhile (m_rs.next()) {\n\t\t\t\tString name = m_rs.getString(\"name\");\n\t\t\t\t// Get the file name for the next file\n\t\t\t\tinfo.setFileId(m_rs.getInt(\"id\"));\n\t\t\t\tinfo.setFileName(name);\n\t\t\t\tinfo.setSize(m_rs.getLong(\"size\"));\n\t\t\t\tif(name.equalsIgnoreCase(DBUtil.CLOUDURL))\n\t\t\t\t{\n\t\t\t\t\ttry{\n\t\t\t\t\t//重设置大小\n\t\t\t\t\tinfo.setFileId(-99);\n//\t\t\t\t\tinfo.setFileId(-userId);\n\t\t\t\t\tinfo.setSize(DBUtil.getURLMYFILE_TXT(this.getBaseUrl(),userId).getBytes().length);\n\t\t\t\t\t}catch(Exception e)\n\t\t\t\t\t{\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tlong modifyDate = m_rs.getLong(\"lastModified\");\n\t\t\t\tif (modifyDate != 0L)\n\t\t\t\t\tinfo.setModifyDateTime(modifyDate);\n\t\t\t\telse\n\t\t\t\t\tinfo.setModifyDateTime(System.currentTimeMillis());\n\t\t\t\t\n\t\t\t\tTimestamp ts = m_rs.getTimestamp(\"add_time\");\n\t\t\t\tif (ts !=null && ts.getTime()>0)\n\t\t\t\t{\n\t\t\t\t\tinfo.setCreationDateTime(ts.getTime());\n\t\t\t\t\tinfo.setChangeDateTime(info.getModifyDateTime());\n\t\t\t\t}\n\t\t\t\telse\n\t\t\t\t{\n\t\t\t\t\tinfo.setCreationDateTime(info.getModifyDateTime());\n\t\t\t\t\tinfo.setChangeDateTime(info.getModifyDateTime());\n\t\t\t\t}\t\t\t\t\n\t\t\t\tint attr = 0;\n\t\t\t\tif (m_rs.getBoolean(\"isFile\") == true) {\n\t\t\t\t\tinfo.setFileType(FileType.RegularFile);\t\t\t\t\t\n\t\t\t\t\tattr += FileAttribute.ReadOnly;// 只读权限\n\t\t\t\t} else\n\t\t\t\t\tattr += FileAttribute.Directory;\n\n\t\t\t\tif (m_rs.getBoolean(\"isHidden\") == true) \n\t\t\t\t{\n\t\t\t\t\tattr += FileAttribute.Hidden;//隐藏\n\t\t\t\t}\n\t\t\t\tinfo.setFileType(FileType.Directory);\n\t\t\t\t\t\t\t\t\n\t\t\t\tif (hasMarkAsOffline()) {\n\t\t\t\t\tif (getOfflineFileSize() == 0 || info.getSize() >= getOfflineFileSize())\n\t\t\t\t\t\tattr += FileAttribute.NTOffline;\n\t\t\t\t}\n\t\t\t\tinfo.setFileAttributes(attr);\n\t\t\t\tinfo.setUid(userId);\n\n\t\t\t\tif (m_filter == null || m_filter.matchesPattern(info.getFileName()) == true)\n\t\t\t\t\treturn true;\n\t\t\t}\n\t\t} catch (SQLException ex) {\n\t\t\tex.printStackTrace();\n\t\t}\n\t\t// No more files\n\t\tcloseSearch();\n\t\treturn false;\n\t}", "entities.Torrent.FileInfo getFileInfo();", "entities.Torrent.FileInfo getFileInfo();", "entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder(\n int index);", "DiscFileInfo getFileInfo(String path) throws IOException;", "void setFile(String i) {\n file = i;\n }", "@java.lang.Override\n public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder(\n int index) {\n return fileInfo_.get(index);\n }", "@java.lang.Override\n public int getFileInfoCount() {\n return fileInfo_.size();\n }", "public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder(\n int index) {\n if (fileInfoBuilder_ == null) {\n return fileInfo_.get(index); } else {\n return fileInfoBuilder_.getMessageOrBuilder(index);\n }\n }", "@java.lang.Override\n public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder() {\n return getFileInfo();\n }", "@java.lang.Override\n public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder() {\n return getFileInfo();\n }", "fileInfo(){\n\t\tsymbol = new node[MAXLINECOUNT + 2];\n\t\tother = null; // allocated later!\n\t}", "public Builder addFileInfo(entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureFileInfoIsMutable();\n fileInfo_.add(value);\n onChanged();\n } else {\n fileInfoBuilder_.addMessage(value);\n }\n return this;\n }", "public synchronized FileInfo getOrAddFileInfo(FileInfo alphaFileInfo) {\n String app = alphaFileInfo.getApp();\n String caption = alphaFileInfo.getCaption();\n AppAndCaptionKey key = new AppAndCaptionKey(app, caption);\n String fileId = appAndCaptionToId.get(key);\n if(fileId==null){\n fileId = getNextFileId();\n appAndCaptionToId.put(key, fileId);\n }\n\n //2. Creating file info\n FileInfo sigmaFileInfo = fileCache.getFileInfo(app,fileId);\n if(sigmaFileInfo==null){\n sigmaFileInfo = (FileInfo) alphaFileInfo.clone();\n }\n sigmaFileInfo.setId(fileId);\n return sigmaFileInfo;\n }", "entities.Torrent.FileInfo getFiles(int index);", "com.google.devtools.kythe.proto.Analysis.FileInfoOrBuilder getEntryOrBuilder(\n int index);", "public final FileInfoBase getFileInfo() {\r\n return fileInfo;\r\n }", "public void setFileId(Long fileId) {\n/* 31:31 */ this.fileId = fileId;\n/* 32: */ }", "public entities.Torrent.FileInfo.Builder addFileInfoBuilder() {\n return getFileInfoFieldBuilder().addBuilder(\n entities.Torrent.FileInfo.getDefaultInstance());\n }", "@Override\r\n\tpublic int addAnimalFileInfo(FileInfo fileInfo) {\n\t\treturn fileInfoMapper.addAnimalFileInfo(fileInfo);\r\n\t}", "public abstract long NewFileNumber();", "public Builder addFileInfo(\n int index, entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureFileInfoIsMutable();\n fileInfo_.add(index, value);\n onChanged();\n } else {\n fileInfoBuilder_.addMessage(index, value);\n }\n return this;\n }", "public FileInfo(File file) {\n this.file = file;\n }", "int attrib(int i, File v) {\n if (i < max) {\n AllFiles[i] = v;\n } else {\n File[] temp = new File[max];\n int j;\n for (j = 0; j < max; j++) temp[j] = AllFiles[j];\n AllFiles = new File[max + increase];\n for (j = 0; j < max; j++) AllFiles[j] = temp[j];\n max = max + increase;\n AllFiles[i] = v;\n }\n return (0);\n }", "public boolean hasFileInfo() {\n return fieldSetFlags()[15];\n }", "public Builder setFileInfo(\n int index, entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureFileInfoIsMutable();\n fileInfo_.set(index, value);\n onChanged();\n } else {\n fileInfoBuilder_.setMessage(index, value);\n }\n return this;\n }", "public com.opentext.bn.converters.avro.entity.PayloadRef getFileInfo() {\n return fileInfo;\n }", "entities.Torrent.FileInfoOrBuilder getFilesOrBuilder(\n int index);", "public com.opentext.bn.converters.avro.entity.PayloadRef getFileInfo() {\n return fileInfo;\n }", "com.google.devtools.kythe.proto.Analysis.FileInfo getEntry(int index);", "public TagFileInfo[] getTagFiles() {\n/* 176 */ return this.tagFiles;\n/* */ }", "public Builder setFileInfo(entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n fileInfo_ = value;\n onChanged();\n } else {\n fileInfoBuilder_.setMessage(value);\n }\n\n return this;\n }", "public Builder setFileInfo(entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n fileInfo_ = value;\n onChanged();\n } else {\n fileInfoBuilder_.setMessage(value);\n }\n\n return this;\n }", "private FileInfo(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "public Builder addAllFileInfo(\n java.lang.Iterable<? extends entities.Torrent.FileInfo> values) {\n if (fileInfoBuilder_ == null) {\n ensureFileInfoIsMutable();\n com.google.protobuf.AbstractMessageLite.Builder.addAll(\n values, fileInfo_);\n onChanged();\n } else {\n fileInfoBuilder_.addAllMessages(values);\n }\n return this;\n }", "public int getFileInfoCount() {\n if (fileInfoBuilder_ == null) {\n return fileInfo_.size();\n } else {\n return fileInfoBuilder_.getCount();\n }\n }", "public void constructWith(LzzFileInfo pro) {\n\t\tthis.id = pro.getId ();\n\n\t\tthis.fname = pro.getFname ();\n\n\t\tthis.ftype = pro.getFtype ();\n\n\t\tthis.fsavepath = pro.getFsavepath ();\n\n\t\tthis.furlpath = pro.getFurlpath ();\n\n\t\tthis.createTime = pro.getCreateTime ();\n\n\t\tthis.modifyTime = pro.getModifyTime ();\n\n\t\tthis.def1 = pro.getDef1 ();\n\n\t\tthis.def2 = pro.getDef2 ();\n\n\t\tthis.def3 = pro.getDef3 ();\n\n\t\tthis.def4 = pro.getDef4 ();\n\n\t\tthis.def5 = pro.getDef5 ();\n\n\t\tthis.def6 = pro.getDef6 ();\n\n\t\tthis.def7 = pro.getDef7 ();\n\n\t\tthis.def8 = pro.getDef8 ();\n\n\t\tthis.def9 = pro.getDef9 ();\n\n\t\tthis.def10 = pro.getDef10 ();\n\n\t\tthis.dr = pro.getDr ();\n\n\t}", "public FileInfo(NXTComm nxt, String fileName){\r\n\t\tthis.comm = nxt;\r\n\t\tthis.fileName = fileName;\r\n\t}", "public FileInfo()\r\n {\r\n hash = new HashInfo();\r\n }", "@Override\n public List<FileInfo> getLibrarySubFiles(FileInfo fileInfo) {\n return null;\n }", "public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder() {\n if (fileInfoBuilder_ != null) {\n return fileInfoBuilder_.getMessageOrBuilder();\n } else {\n return fileInfo_ == null ?\n entities.Torrent.FileInfo.getDefaultInstance() : fileInfo_;\n }\n }", "public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder() {\n if (fileInfoBuilder_ != null) {\n return fileInfoBuilder_.getMessageOrBuilder();\n } else {\n return fileInfo_ == null ?\n entities.Torrent.FileInfo.getDefaultInstance() : fileInfo_;\n }\n }", "public DotFileEnumerator(File file)\n {\n fileList.add(file.toString());\n }", "public Builder mergeFileInfo(entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (fileInfo_ != null) {\n fileInfo_ =\n entities.Torrent.FileInfo.newBuilder(fileInfo_).mergeFrom(value).buildPartial();\n } else {\n fileInfo_ = value;\n }\n onChanged();\n } else {\n fileInfoBuilder_.mergeFrom(value);\n }\n\n return this;\n }", "public Builder mergeFileInfo(entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (fileInfo_ != null) {\n fileInfo_ =\n entities.Torrent.FileInfo.newBuilder(fileInfo_).mergeFrom(value).buildPartial();\n } else {\n fileInfo_ = value;\n }\n onChanged();\n } else {\n fileInfoBuilder_.mergeFrom(value);\n }\n\n return this;\n }", "int getFileCount();", "public com.google.devtools.kythe.proto.Analysis.FileInfoOrBuilder getEntryOrBuilder(\n int index) {\n return entry_.get(index);\n }", "public int getFileFlags() { return fileFlags; }", "public Builder clearFileInfo() {\n if (fileInfoBuilder_ == null) {\n fileInfo_ = java.util.Collections.emptyList();\n bitField0_ = (bitField0_ & ~0x00000001);\n onChanged();\n } else {\n fileInfoBuilder_.clear();\n }\n return this;\n }", "public com.opentext.bn.converters.avro.entity.PayloadRef.Builder getFileInfoBuilder() {\n if (fileInfoBuilder == null) {\n if (hasFileInfo()) {\n setFileInfoBuilder(com.opentext.bn.converters.avro.entity.PayloadRef.newBuilder(fileInfo));\n } else {\n setFileInfoBuilder(com.opentext.bn.converters.avro.entity.PayloadRef.newBuilder());\n }\n }\n return fileInfoBuilder;\n }", "public void process(TiffFileInfo info)\n {\n }", "public com.google.devtools.kythe.proto.Analysis.FileInfo.Builder addEntryBuilder() {\n return getEntryFieldBuilder().addBuilder(\n com.google.devtools.kythe.proto.Analysis.FileInfo.getDefaultInstance());\n }", "@java.lang.Override\n public entities.Torrent.FileInfo getFileInfo(int index) {\n return fileInfo_.get(index);\n }", "public Long getFileId() {\n/* 35:35 */ return this.fileId;\n/* 36: */ }", "private com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.FileInfo, entities.Torrent.FileInfo.Builder, entities.Torrent.FileInfoOrBuilder>\n getFileInfoFieldBuilder() {\n if (fileInfoBuilder_ == null) {\n fileInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.FileInfo, entities.Torrent.FileInfo.Builder, entities.Torrent.FileInfoOrBuilder>(\n getFileInfo(),\n getParentForChildren(),\n isClean());\n fileInfo_ = null;\n }\n return fileInfoBuilder_;\n }", "private com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.FileInfo, entities.Torrent.FileInfo.Builder, entities.Torrent.FileInfoOrBuilder>\n getFileInfoFieldBuilder() {\n if (fileInfoBuilder_ == null) {\n fileInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.FileInfo, entities.Torrent.FileInfo.Builder, entities.Torrent.FileInfoOrBuilder>(\n getFileInfo(),\n getParentForChildren(),\n isClean());\n fileInfo_ = null;\n }\n return fileInfoBuilder_;\n }", "private void updateFiles() {\n\t}", "public entities.Torrent.FileInfo.Builder addFileInfoBuilder(\n int index) {\n return getFileInfoFieldBuilder().addBuilder(\n index, entities.Torrent.FileInfo.getDefaultInstance());\n }", "public interface FileSelectInfo\n{\n /**\n * Returns the base folder of the traversal.\n * @return FileObject representing the base folder.\n */\n FileObject getBaseFolder();\n\n /**\n * Returns the file (or folder) to be considered.\n * @return The FileObject.\n */\n FileObject getFile();\n\n /**\n * Returns the depth of the file relative to the base folder.\n * @return The depth of the file relative to the base folder.\n */\n int getDepth();\n}", "public entities.Torrent.FileInfo.Builder getFileInfoBuilder(\n int index) {\n return getFileInfoFieldBuilder().getBuilder(index);\n }", "public entities.Torrent.FileInfo.Builder getFileInfoBuilder() {\n\n onChanged();\n return getFileInfoFieldBuilder().getBuilder();\n }", "public entities.Torrent.FileInfo.Builder getFileInfoBuilder() {\n\n onChanged();\n return getFileInfoFieldBuilder().getBuilder();\n }", "public entities.Torrent.FileInfoOrBuilder getFilesOrBuilder(\n int index) {\n if (filesBuilder_ == null) {\n return files_.get(index); } else {\n return filesBuilder_.getMessageOrBuilder(index);\n }\n }", "private void getExtractWithFiles(){\n\t\ttry{\n\t\t\t\n\t\t\tFileInputStream fStream = new FileInputStream(tfile);\n\t\t\tfileBytes = new byte[(int)tfile.length()];\n\t\t\t\n\t\t\tfStream.read(fileBytes, 0, fileBytes.length);\n\t\t\tfileSize = fileBytes.length;\n\t\t}catch(Exception ex){\n\t\t\tSystem.err.println(\"File Packet \"+ex.getMessage());\n\t\t}\n\t}", "private static void printFileInfo(File file) {\n window.putLog(String.format(\"[%6dkb] Modified %s @%s\", 1 + file.length() / 1024,\n new SimpleDateFormat(\"YYYY-MM-dd HH:mm\").format(new Date(file.lastModified())),\n file.getPath().substring(workingDirectory.getParent().length())));\n }", "public interface FileSystemEntry {\n public long getCount();\n public long getSize();\n public String getName();\n}", "public PSMatrixFilesMeta() {\r\n this(-1, new ConcurrentSkipListMap<Integer, MatrixPartitionMeta>());\r\n }", "protected final void setFileInformation( FileInfo fInfo) {\n\t\tm_info = fInfo;\n\t}", "public java.util.List<? extends entities.Torrent.FileInfoOrBuilder>\n getFileInfoOrBuilderList() {\n if (fileInfoBuilder_ != null) {\n return fileInfoBuilder_.getMessageOrBuilderList();\n } else {\n return java.util.Collections.unmodifiableList(fileInfo_);\n }\n }", "int getFileNamesCount();", "int getFileNamesCount();", "public void filesNotFound(File... f) { }", "public void filesNotFound(File... f) { }", "@Override\n public void onPick(FileInfo f) {\n }", "public void setFileRecordCount(int ct) {\n\t\tfileRecordCount = ct;\n\t}", "public com.opentext.bn.converters.avro.entity.DocumentEvent.Builder setFileInfo(com.opentext.bn.converters.avro.entity.PayloadRef value) {\n validate(fields()[15], value);\n this.fileInfoBuilder = null;\n this.fileInfo = value;\n fieldSetFlags()[15] = true;\n return this;\n }", "public DotFileEnumerator(String filePath)\n {\n String[] tempArr = new File(filePath).list();\n\n for (String s : tempArr) {\n fileList.add(filePath + \"/\" + s);\n }\n }", "@java.lang.Override\n public entities.Torrent.FileInfo getFileInfo() {\n return fileInfo_ == null ? entities.Torrent.FileInfo.getDefaultInstance() : fileInfo_;\n }", "@java.lang.Override\n public entities.Torrent.FileInfo getFileInfo() {\n return fileInfo_ == null ? entities.Torrent.FileInfo.getDefaultInstance() : fileInfo_;\n }", "public FileInfoICS(String name, String directory, int format) {\r\n super(name, directory, format);\r\n }", "public FileInfo(FileInfo v)\n \t{\n \t\ttitle = v.title;\n \t\tauthors = v.authors;\n \t\tseries = v.series;\n \t\tseriesNumber = v.seriesNumber;\n \t\tpath = v.path;\n \t\tfilename = v.filename;\n \t\tpathname = v.pathname;\n \t\tarcname = v.arcname;\n \t\tformat = v.format;\n \t\tsize = v.size;\n \t\tarcsize = v.arcsize;\n \t\tisArchive = v.isArchive;\n \t\tisDirectory = v.isDirectory;\n \t\tcreateTime = v.createTime;\n \t\tlastAccessTime = v.lastAccessTime;\n \t}", "public ImageFiles() {\n\t\tthis.listOne = new ArrayList<String>();\n\t\tthis.listTwo = new ArrayList<String>();\n\t\tthis.listThree = new ArrayList<String>();\n\t\tthis.seenImages = new ArrayList<String>();\n\t\tthis.unseenImages = new ArrayList<String>();\n\t}", "@java.lang.Override\n public java.util.List<? extends entities.Torrent.FileInfoOrBuilder>\n getFileInfoOrBuilderList() {\n return fileInfo_;\n }", "int countByExample(AvwFileprocessExample example);", "public Builder addEntry(com.google.devtools.kythe.proto.Analysis.FileInfo value) {\n if (entryBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureEntryIsMutable();\n entry_.add(value);\n onChanged();\n } else {\n entryBuilder_.addMessage(value);\n }\n return this;\n }", "ds.hdfs.generated.FileMetadata getFiles(int index);", "java.util.List<? extends entities.Torrent.FileInfoOrBuilder>\n getFileInfoOrBuilderList();", "public Long getFileID()\n/* */ {\n/* 88 */ return this.fileID;\n/* */ }", "public void incuploadcount(){\n\t\tthis. num_upload++;\n\t}", "public Vector<file> count()\n {\n Vector<Model.file> files = new Vector<>();\n try\n {\n pw.println(11);\n\n files = (Vector<Model.file>) ois.readObject();\n\n }\n catch (ClassNotFoundException | IOException e)\n {\n System.out.println(e.getMessage());\n }\n return files ;\n }" ]
[ "0.63404644", "0.60424006", "0.58997285", "0.5897735", "0.5897735", "0.5893349", "0.5840858", "0.5782364", "0.575059", "0.56671757", "0.5661143", "0.5629983", "0.55628306", "0.55628306", "0.54918736", "0.54439086", "0.5438974", "0.5436454", "0.53865486", "0.53812563", "0.53554535", "0.53554535", "0.5350297", "0.53485256", "0.5337326", "0.5325269", "0.5323776", "0.5317618", "0.5316972", "0.5305772", "0.5301568", "0.5289526", "0.52858317", "0.527939", "0.527717", "0.5246745", "0.5238312", "0.52333695", "0.52198213", "0.520472", "0.5197636", "0.5181744", "0.5180735", "0.5179602", "0.5171487", "0.5170226", "0.5151229", "0.5126351", "0.51164293", "0.51105917", "0.51006323", "0.5064827", "0.5064827", "0.5030081", "0.50298166", "0.5029732", "0.50183815", "0.5008859", "0.5008625", "0.5002189", "0.5000041", "0.4996095", "0.49911362", "0.4988522", "0.49871376", "0.49688184", "0.4968441", "0.49640483", "0.49627694", "0.49464682", "0.49452326", "0.49435145", "0.4940706", "0.4939512", "0.4919068", "0.49134657", "0.4912824", "0.48992985", "0.48903668", "0.4889867", "0.48865864", "0.48865864", "0.48813212", "0.48813212", "0.48808643", "0.48788455", "0.48786306", "0.4874242", "0.48689762", "0.48689762", "0.48684502", "0.48670304", "0.48606005", "0.48516285", "0.48392272", "0.48242542", "0.48236215", "0.48225048", "0.4821103", "0.48174718", "0.4813819" ]
0.0
-1
repeated .FileInfo fileInfo = 3;
public entities.Torrent.FileInfo.Builder getFileInfoBuilder( int index) { return getFileInfoFieldBuilder().getBuilder(index); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public FileInfo getFileInfo() {\n return fileInfo;\n }", "@Test\n\tpublic void testSetFileInfo() {\n\n\t}", "FileInfo create(FileInfo fileInfo);", "entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder();", "entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder();", "public void fileInfo(String info);", "@Override\n public void addSingleFile(FileInfo file) {\n }", "void update(FileInfo fileInfo);", "int getFileInfoCount();", "public void incFileCount(){\n\t\tthis.num_files++;\n\t}", "entities.Torrent.FileInfo getFileInfo(int index);", "public boolean nextFileInfo(FileInfo info) {\n\n\t\t// Get the next file from the search\n\n\t\ttry {\n\n\t\t\t// Return the next file details or loop until a match is found if a\n\t\t\t// complex wildcard filter\n\t\t\t// has been specified\n\t\t\twhile (m_rs.next()) {\n\t\t\t\tString name = m_rs.getString(\"name\");\n\t\t\t\t// Get the file name for the next file\n\t\t\t\tinfo.setFileId(m_rs.getInt(\"id\"));\n\t\t\t\tinfo.setFileName(name);\n\t\t\t\tinfo.setSize(m_rs.getLong(\"size\"));\n\t\t\t\tif(name.equalsIgnoreCase(DBUtil.CLOUDURL))\n\t\t\t\t{\n\t\t\t\t\ttry{\n\t\t\t\t\t//重设置大小\n\t\t\t\t\tinfo.setFileId(-99);\n//\t\t\t\t\tinfo.setFileId(-userId);\n\t\t\t\t\tinfo.setSize(DBUtil.getURLMYFILE_TXT(this.getBaseUrl(),userId).getBytes().length);\n\t\t\t\t\t}catch(Exception e)\n\t\t\t\t\t{\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tlong modifyDate = m_rs.getLong(\"lastModified\");\n\t\t\t\tif (modifyDate != 0L)\n\t\t\t\t\tinfo.setModifyDateTime(modifyDate);\n\t\t\t\telse\n\t\t\t\t\tinfo.setModifyDateTime(System.currentTimeMillis());\n\t\t\t\t\n\t\t\t\tTimestamp ts = m_rs.getTimestamp(\"add_time\");\n\t\t\t\tif (ts !=null && ts.getTime()>0)\n\t\t\t\t{\n\t\t\t\t\tinfo.setCreationDateTime(ts.getTime());\n\t\t\t\t\tinfo.setChangeDateTime(info.getModifyDateTime());\n\t\t\t\t}\n\t\t\t\telse\n\t\t\t\t{\n\t\t\t\t\tinfo.setCreationDateTime(info.getModifyDateTime());\n\t\t\t\t\tinfo.setChangeDateTime(info.getModifyDateTime());\n\t\t\t\t}\t\t\t\t\n\t\t\t\tint attr = 0;\n\t\t\t\tif (m_rs.getBoolean(\"isFile\") == true) {\n\t\t\t\t\tinfo.setFileType(FileType.RegularFile);\t\t\t\t\t\n\t\t\t\t\tattr += FileAttribute.ReadOnly;// 只读权限\n\t\t\t\t} else\n\t\t\t\t\tattr += FileAttribute.Directory;\n\n\t\t\t\tif (m_rs.getBoolean(\"isHidden\") == true) \n\t\t\t\t{\n\t\t\t\t\tattr += FileAttribute.Hidden;//隐藏\n\t\t\t\t}\n\t\t\t\tinfo.setFileType(FileType.Directory);\n\t\t\t\t\t\t\t\t\n\t\t\t\tif (hasMarkAsOffline()) {\n\t\t\t\t\tif (getOfflineFileSize() == 0 || info.getSize() >= getOfflineFileSize())\n\t\t\t\t\t\tattr += FileAttribute.NTOffline;\n\t\t\t\t}\n\t\t\t\tinfo.setFileAttributes(attr);\n\t\t\t\tinfo.setUid(userId);\n\n\t\t\t\tif (m_filter == null || m_filter.matchesPattern(info.getFileName()) == true)\n\t\t\t\t\treturn true;\n\t\t\t}\n\t\t} catch (SQLException ex) {\n\t\t\tex.printStackTrace();\n\t\t}\n\t\t// No more files\n\t\tcloseSearch();\n\t\treturn false;\n\t}", "entities.Torrent.FileInfo getFileInfo();", "entities.Torrent.FileInfo getFileInfo();", "entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder(\n int index);", "DiscFileInfo getFileInfo(String path) throws IOException;", "void setFile(String i) {\n file = i;\n }", "@java.lang.Override\n public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder(\n int index) {\n return fileInfo_.get(index);\n }", "@java.lang.Override\n public int getFileInfoCount() {\n return fileInfo_.size();\n }", "public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder(\n int index) {\n if (fileInfoBuilder_ == null) {\n return fileInfo_.get(index); } else {\n return fileInfoBuilder_.getMessageOrBuilder(index);\n }\n }", "@java.lang.Override\n public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder() {\n return getFileInfo();\n }", "@java.lang.Override\n public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder() {\n return getFileInfo();\n }", "fileInfo(){\n\t\tsymbol = new node[MAXLINECOUNT + 2];\n\t\tother = null; // allocated later!\n\t}", "public Builder addFileInfo(entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureFileInfoIsMutable();\n fileInfo_.add(value);\n onChanged();\n } else {\n fileInfoBuilder_.addMessage(value);\n }\n return this;\n }", "public synchronized FileInfo getOrAddFileInfo(FileInfo alphaFileInfo) {\n String app = alphaFileInfo.getApp();\n String caption = alphaFileInfo.getCaption();\n AppAndCaptionKey key = new AppAndCaptionKey(app, caption);\n String fileId = appAndCaptionToId.get(key);\n if(fileId==null){\n fileId = getNextFileId();\n appAndCaptionToId.put(key, fileId);\n }\n\n //2. Creating file info\n FileInfo sigmaFileInfo = fileCache.getFileInfo(app,fileId);\n if(sigmaFileInfo==null){\n sigmaFileInfo = (FileInfo) alphaFileInfo.clone();\n }\n sigmaFileInfo.setId(fileId);\n return sigmaFileInfo;\n }", "entities.Torrent.FileInfo getFiles(int index);", "com.google.devtools.kythe.proto.Analysis.FileInfoOrBuilder getEntryOrBuilder(\n int index);", "public final FileInfoBase getFileInfo() {\r\n return fileInfo;\r\n }", "public void setFileId(Long fileId) {\n/* 31:31 */ this.fileId = fileId;\n/* 32: */ }", "public entities.Torrent.FileInfo.Builder addFileInfoBuilder() {\n return getFileInfoFieldBuilder().addBuilder(\n entities.Torrent.FileInfo.getDefaultInstance());\n }", "@Override\r\n\tpublic int addAnimalFileInfo(FileInfo fileInfo) {\n\t\treturn fileInfoMapper.addAnimalFileInfo(fileInfo);\r\n\t}", "public abstract long NewFileNumber();", "public Builder addFileInfo(\n int index, entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureFileInfoIsMutable();\n fileInfo_.add(index, value);\n onChanged();\n } else {\n fileInfoBuilder_.addMessage(index, value);\n }\n return this;\n }", "public FileInfo(File file) {\n this.file = file;\n }", "int attrib(int i, File v) {\n if (i < max) {\n AllFiles[i] = v;\n } else {\n File[] temp = new File[max];\n int j;\n for (j = 0; j < max; j++) temp[j] = AllFiles[j];\n AllFiles = new File[max + increase];\n for (j = 0; j < max; j++) AllFiles[j] = temp[j];\n max = max + increase;\n AllFiles[i] = v;\n }\n return (0);\n }", "public boolean hasFileInfo() {\n return fieldSetFlags()[15];\n }", "public Builder setFileInfo(\n int index, entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureFileInfoIsMutable();\n fileInfo_.set(index, value);\n onChanged();\n } else {\n fileInfoBuilder_.setMessage(index, value);\n }\n return this;\n }", "public com.opentext.bn.converters.avro.entity.PayloadRef getFileInfo() {\n return fileInfo;\n }", "entities.Torrent.FileInfoOrBuilder getFilesOrBuilder(\n int index);", "public com.opentext.bn.converters.avro.entity.PayloadRef getFileInfo() {\n return fileInfo;\n }", "com.google.devtools.kythe.proto.Analysis.FileInfo getEntry(int index);", "public TagFileInfo[] getTagFiles() {\n/* 176 */ return this.tagFiles;\n/* */ }", "public Builder setFileInfo(entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n fileInfo_ = value;\n onChanged();\n } else {\n fileInfoBuilder_.setMessage(value);\n }\n\n return this;\n }", "public Builder setFileInfo(entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n fileInfo_ = value;\n onChanged();\n } else {\n fileInfoBuilder_.setMessage(value);\n }\n\n return this;\n }", "private FileInfo(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "public Builder addAllFileInfo(\n java.lang.Iterable<? extends entities.Torrent.FileInfo> values) {\n if (fileInfoBuilder_ == null) {\n ensureFileInfoIsMutable();\n com.google.protobuf.AbstractMessageLite.Builder.addAll(\n values, fileInfo_);\n onChanged();\n } else {\n fileInfoBuilder_.addAllMessages(values);\n }\n return this;\n }", "public int getFileInfoCount() {\n if (fileInfoBuilder_ == null) {\n return fileInfo_.size();\n } else {\n return fileInfoBuilder_.getCount();\n }\n }", "public void constructWith(LzzFileInfo pro) {\n\t\tthis.id = pro.getId ();\n\n\t\tthis.fname = pro.getFname ();\n\n\t\tthis.ftype = pro.getFtype ();\n\n\t\tthis.fsavepath = pro.getFsavepath ();\n\n\t\tthis.furlpath = pro.getFurlpath ();\n\n\t\tthis.createTime = pro.getCreateTime ();\n\n\t\tthis.modifyTime = pro.getModifyTime ();\n\n\t\tthis.def1 = pro.getDef1 ();\n\n\t\tthis.def2 = pro.getDef2 ();\n\n\t\tthis.def3 = pro.getDef3 ();\n\n\t\tthis.def4 = pro.getDef4 ();\n\n\t\tthis.def5 = pro.getDef5 ();\n\n\t\tthis.def6 = pro.getDef6 ();\n\n\t\tthis.def7 = pro.getDef7 ();\n\n\t\tthis.def8 = pro.getDef8 ();\n\n\t\tthis.def9 = pro.getDef9 ();\n\n\t\tthis.def10 = pro.getDef10 ();\n\n\t\tthis.dr = pro.getDr ();\n\n\t}", "public FileInfo(NXTComm nxt, String fileName){\r\n\t\tthis.comm = nxt;\r\n\t\tthis.fileName = fileName;\r\n\t}", "public FileInfo()\r\n {\r\n hash = new HashInfo();\r\n }", "@Override\n public List<FileInfo> getLibrarySubFiles(FileInfo fileInfo) {\n return null;\n }", "public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder() {\n if (fileInfoBuilder_ != null) {\n return fileInfoBuilder_.getMessageOrBuilder();\n } else {\n return fileInfo_ == null ?\n entities.Torrent.FileInfo.getDefaultInstance() : fileInfo_;\n }\n }", "public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder() {\n if (fileInfoBuilder_ != null) {\n return fileInfoBuilder_.getMessageOrBuilder();\n } else {\n return fileInfo_ == null ?\n entities.Torrent.FileInfo.getDefaultInstance() : fileInfo_;\n }\n }", "public DotFileEnumerator(File file)\n {\n fileList.add(file.toString());\n }", "public Builder mergeFileInfo(entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (fileInfo_ != null) {\n fileInfo_ =\n entities.Torrent.FileInfo.newBuilder(fileInfo_).mergeFrom(value).buildPartial();\n } else {\n fileInfo_ = value;\n }\n onChanged();\n } else {\n fileInfoBuilder_.mergeFrom(value);\n }\n\n return this;\n }", "public Builder mergeFileInfo(entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (fileInfo_ != null) {\n fileInfo_ =\n entities.Torrent.FileInfo.newBuilder(fileInfo_).mergeFrom(value).buildPartial();\n } else {\n fileInfo_ = value;\n }\n onChanged();\n } else {\n fileInfoBuilder_.mergeFrom(value);\n }\n\n return this;\n }", "int getFileCount();", "public com.google.devtools.kythe.proto.Analysis.FileInfoOrBuilder getEntryOrBuilder(\n int index) {\n return entry_.get(index);\n }", "public int getFileFlags() { return fileFlags; }", "public Builder clearFileInfo() {\n if (fileInfoBuilder_ == null) {\n fileInfo_ = java.util.Collections.emptyList();\n bitField0_ = (bitField0_ & ~0x00000001);\n onChanged();\n } else {\n fileInfoBuilder_.clear();\n }\n return this;\n }", "public com.opentext.bn.converters.avro.entity.PayloadRef.Builder getFileInfoBuilder() {\n if (fileInfoBuilder == null) {\n if (hasFileInfo()) {\n setFileInfoBuilder(com.opentext.bn.converters.avro.entity.PayloadRef.newBuilder(fileInfo));\n } else {\n setFileInfoBuilder(com.opentext.bn.converters.avro.entity.PayloadRef.newBuilder());\n }\n }\n return fileInfoBuilder;\n }", "public void process(TiffFileInfo info)\n {\n }", "public com.google.devtools.kythe.proto.Analysis.FileInfo.Builder addEntryBuilder() {\n return getEntryFieldBuilder().addBuilder(\n com.google.devtools.kythe.proto.Analysis.FileInfo.getDefaultInstance());\n }", "@java.lang.Override\n public entities.Torrent.FileInfo getFileInfo(int index) {\n return fileInfo_.get(index);\n }", "public Long getFileId() {\n/* 35:35 */ return this.fileId;\n/* 36: */ }", "private com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.FileInfo, entities.Torrent.FileInfo.Builder, entities.Torrent.FileInfoOrBuilder>\n getFileInfoFieldBuilder() {\n if (fileInfoBuilder_ == null) {\n fileInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.FileInfo, entities.Torrent.FileInfo.Builder, entities.Torrent.FileInfoOrBuilder>(\n getFileInfo(),\n getParentForChildren(),\n isClean());\n fileInfo_ = null;\n }\n return fileInfoBuilder_;\n }", "private com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.FileInfo, entities.Torrent.FileInfo.Builder, entities.Torrent.FileInfoOrBuilder>\n getFileInfoFieldBuilder() {\n if (fileInfoBuilder_ == null) {\n fileInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.FileInfo, entities.Torrent.FileInfo.Builder, entities.Torrent.FileInfoOrBuilder>(\n getFileInfo(),\n getParentForChildren(),\n isClean());\n fileInfo_ = null;\n }\n return fileInfoBuilder_;\n }", "private void updateFiles() {\n\t}", "public entities.Torrent.FileInfo.Builder addFileInfoBuilder(\n int index) {\n return getFileInfoFieldBuilder().addBuilder(\n index, entities.Torrent.FileInfo.getDefaultInstance());\n }", "public interface FileSelectInfo\n{\n /**\n * Returns the base folder of the traversal.\n * @return FileObject representing the base folder.\n */\n FileObject getBaseFolder();\n\n /**\n * Returns the file (or folder) to be considered.\n * @return The FileObject.\n */\n FileObject getFile();\n\n /**\n * Returns the depth of the file relative to the base folder.\n * @return The depth of the file relative to the base folder.\n */\n int getDepth();\n}", "public entities.Torrent.FileInfo.Builder getFileInfoBuilder() {\n\n onChanged();\n return getFileInfoFieldBuilder().getBuilder();\n }", "public entities.Torrent.FileInfo.Builder getFileInfoBuilder() {\n\n onChanged();\n return getFileInfoFieldBuilder().getBuilder();\n }", "public entities.Torrent.FileInfoOrBuilder getFilesOrBuilder(\n int index) {\n if (filesBuilder_ == null) {\n return files_.get(index); } else {\n return filesBuilder_.getMessageOrBuilder(index);\n }\n }", "private void getExtractWithFiles(){\n\t\ttry{\n\t\t\t\n\t\t\tFileInputStream fStream = new FileInputStream(tfile);\n\t\t\tfileBytes = new byte[(int)tfile.length()];\n\t\t\t\n\t\t\tfStream.read(fileBytes, 0, fileBytes.length);\n\t\t\tfileSize = fileBytes.length;\n\t\t}catch(Exception ex){\n\t\t\tSystem.err.println(\"File Packet \"+ex.getMessage());\n\t\t}\n\t}", "private static void printFileInfo(File file) {\n window.putLog(String.format(\"[%6dkb] Modified %s @%s\", 1 + file.length() / 1024,\n new SimpleDateFormat(\"YYYY-MM-dd HH:mm\").format(new Date(file.lastModified())),\n file.getPath().substring(workingDirectory.getParent().length())));\n }", "public interface FileSystemEntry {\n public long getCount();\n public long getSize();\n public String getName();\n}", "public PSMatrixFilesMeta() {\r\n this(-1, new ConcurrentSkipListMap<Integer, MatrixPartitionMeta>());\r\n }", "protected final void setFileInformation( FileInfo fInfo) {\n\t\tm_info = fInfo;\n\t}", "public java.util.List<? extends entities.Torrent.FileInfoOrBuilder>\n getFileInfoOrBuilderList() {\n if (fileInfoBuilder_ != null) {\n return fileInfoBuilder_.getMessageOrBuilderList();\n } else {\n return java.util.Collections.unmodifiableList(fileInfo_);\n }\n }", "int getFileNamesCount();", "int getFileNamesCount();", "public void filesNotFound(File... f) { }", "public void filesNotFound(File... f) { }", "@Override\n public void onPick(FileInfo f) {\n }", "public void setFileRecordCount(int ct) {\n\t\tfileRecordCount = ct;\n\t}", "public com.opentext.bn.converters.avro.entity.DocumentEvent.Builder setFileInfo(com.opentext.bn.converters.avro.entity.PayloadRef value) {\n validate(fields()[15], value);\n this.fileInfoBuilder = null;\n this.fileInfo = value;\n fieldSetFlags()[15] = true;\n return this;\n }", "public DotFileEnumerator(String filePath)\n {\n String[] tempArr = new File(filePath).list();\n\n for (String s : tempArr) {\n fileList.add(filePath + \"/\" + s);\n }\n }", "@java.lang.Override\n public entities.Torrent.FileInfo getFileInfo() {\n return fileInfo_ == null ? entities.Torrent.FileInfo.getDefaultInstance() : fileInfo_;\n }", "@java.lang.Override\n public entities.Torrent.FileInfo getFileInfo() {\n return fileInfo_ == null ? entities.Torrent.FileInfo.getDefaultInstance() : fileInfo_;\n }", "public FileInfoICS(String name, String directory, int format) {\r\n super(name, directory, format);\r\n }", "public FileInfo(FileInfo v)\n \t{\n \t\ttitle = v.title;\n \t\tauthors = v.authors;\n \t\tseries = v.series;\n \t\tseriesNumber = v.seriesNumber;\n \t\tpath = v.path;\n \t\tfilename = v.filename;\n \t\tpathname = v.pathname;\n \t\tarcname = v.arcname;\n \t\tformat = v.format;\n \t\tsize = v.size;\n \t\tarcsize = v.arcsize;\n \t\tisArchive = v.isArchive;\n \t\tisDirectory = v.isDirectory;\n \t\tcreateTime = v.createTime;\n \t\tlastAccessTime = v.lastAccessTime;\n \t}", "public ImageFiles() {\n\t\tthis.listOne = new ArrayList<String>();\n\t\tthis.listTwo = new ArrayList<String>();\n\t\tthis.listThree = new ArrayList<String>();\n\t\tthis.seenImages = new ArrayList<String>();\n\t\tthis.unseenImages = new ArrayList<String>();\n\t}", "@java.lang.Override\n public java.util.List<? extends entities.Torrent.FileInfoOrBuilder>\n getFileInfoOrBuilderList() {\n return fileInfo_;\n }", "int countByExample(AvwFileprocessExample example);", "public Builder addEntry(com.google.devtools.kythe.proto.Analysis.FileInfo value) {\n if (entryBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureEntryIsMutable();\n entry_.add(value);\n onChanged();\n } else {\n entryBuilder_.addMessage(value);\n }\n return this;\n }", "ds.hdfs.generated.FileMetadata getFiles(int index);", "java.util.List<? extends entities.Torrent.FileInfoOrBuilder>\n getFileInfoOrBuilderList();", "public Long getFileID()\n/* */ {\n/* 88 */ return this.fileID;\n/* */ }", "public void incuploadcount(){\n\t\tthis. num_upload++;\n\t}", "public Vector<file> count()\n {\n Vector<Model.file> files = new Vector<>();\n try\n {\n pw.println(11);\n\n files = (Vector<Model.file>) ois.readObject();\n\n }\n catch (ClassNotFoundException | IOException e)\n {\n System.out.println(e.getMessage());\n }\n return files ;\n }" ]
[ "0.63404644", "0.60424006", "0.58997285", "0.5897735", "0.5897735", "0.5893349", "0.5840858", "0.5782364", "0.575059", "0.56671757", "0.5661143", "0.5629983", "0.55628306", "0.55628306", "0.54918736", "0.54439086", "0.5438974", "0.5436454", "0.53865486", "0.53812563", "0.53554535", "0.53554535", "0.5350297", "0.53485256", "0.5337326", "0.5325269", "0.5323776", "0.5317618", "0.5316972", "0.5305772", "0.5301568", "0.5289526", "0.52858317", "0.527939", "0.527717", "0.5246745", "0.5238312", "0.52333695", "0.52198213", "0.520472", "0.5197636", "0.5181744", "0.5180735", "0.5179602", "0.5171487", "0.5170226", "0.5151229", "0.5126351", "0.51164293", "0.51105917", "0.51006323", "0.5064827", "0.5064827", "0.5030081", "0.50298166", "0.5029732", "0.50183815", "0.5008859", "0.5008625", "0.5002189", "0.5000041", "0.4996095", "0.49911362", "0.4988522", "0.49871376", "0.49688184", "0.4968441", "0.49640483", "0.49627694", "0.49464682", "0.49435145", "0.4940706", "0.4939512", "0.4919068", "0.49134657", "0.4912824", "0.48992985", "0.48903668", "0.4889867", "0.48865864", "0.48865864", "0.48813212", "0.48813212", "0.48808643", "0.48788455", "0.48786306", "0.4874242", "0.48689762", "0.48689762", "0.48684502", "0.48670304", "0.48606005", "0.48516285", "0.48392272", "0.48242542", "0.48236215", "0.48225048", "0.4821103", "0.48174718", "0.4813819" ]
0.49452326
70
repeated .FileInfo fileInfo = 3;
public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder( int index) { if (fileInfoBuilder_ == null) { return fileInfo_.get(index); } else { return fileInfoBuilder_.getMessageOrBuilder(index); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public FileInfo getFileInfo() {\n return fileInfo;\n }", "@Test\n\tpublic void testSetFileInfo() {\n\n\t}", "FileInfo create(FileInfo fileInfo);", "entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder();", "entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder();", "public void fileInfo(String info);", "@Override\n public void addSingleFile(FileInfo file) {\n }", "void update(FileInfo fileInfo);", "int getFileInfoCount();", "public void incFileCount(){\n\t\tthis.num_files++;\n\t}", "entities.Torrent.FileInfo getFileInfo(int index);", "public boolean nextFileInfo(FileInfo info) {\n\n\t\t// Get the next file from the search\n\n\t\ttry {\n\n\t\t\t// Return the next file details or loop until a match is found if a\n\t\t\t// complex wildcard filter\n\t\t\t// has been specified\n\t\t\twhile (m_rs.next()) {\n\t\t\t\tString name = m_rs.getString(\"name\");\n\t\t\t\t// Get the file name for the next file\n\t\t\t\tinfo.setFileId(m_rs.getInt(\"id\"));\n\t\t\t\tinfo.setFileName(name);\n\t\t\t\tinfo.setSize(m_rs.getLong(\"size\"));\n\t\t\t\tif(name.equalsIgnoreCase(DBUtil.CLOUDURL))\n\t\t\t\t{\n\t\t\t\t\ttry{\n\t\t\t\t\t//重设置大小\n\t\t\t\t\tinfo.setFileId(-99);\n//\t\t\t\t\tinfo.setFileId(-userId);\n\t\t\t\t\tinfo.setSize(DBUtil.getURLMYFILE_TXT(this.getBaseUrl(),userId).getBytes().length);\n\t\t\t\t\t}catch(Exception e)\n\t\t\t\t\t{\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tlong modifyDate = m_rs.getLong(\"lastModified\");\n\t\t\t\tif (modifyDate != 0L)\n\t\t\t\t\tinfo.setModifyDateTime(modifyDate);\n\t\t\t\telse\n\t\t\t\t\tinfo.setModifyDateTime(System.currentTimeMillis());\n\t\t\t\t\n\t\t\t\tTimestamp ts = m_rs.getTimestamp(\"add_time\");\n\t\t\t\tif (ts !=null && ts.getTime()>0)\n\t\t\t\t{\n\t\t\t\t\tinfo.setCreationDateTime(ts.getTime());\n\t\t\t\t\tinfo.setChangeDateTime(info.getModifyDateTime());\n\t\t\t\t}\n\t\t\t\telse\n\t\t\t\t{\n\t\t\t\t\tinfo.setCreationDateTime(info.getModifyDateTime());\n\t\t\t\t\tinfo.setChangeDateTime(info.getModifyDateTime());\n\t\t\t\t}\t\t\t\t\n\t\t\t\tint attr = 0;\n\t\t\t\tif (m_rs.getBoolean(\"isFile\") == true) {\n\t\t\t\t\tinfo.setFileType(FileType.RegularFile);\t\t\t\t\t\n\t\t\t\t\tattr += FileAttribute.ReadOnly;// 只读权限\n\t\t\t\t} else\n\t\t\t\t\tattr += FileAttribute.Directory;\n\n\t\t\t\tif (m_rs.getBoolean(\"isHidden\") == true) \n\t\t\t\t{\n\t\t\t\t\tattr += FileAttribute.Hidden;//隐藏\n\t\t\t\t}\n\t\t\t\tinfo.setFileType(FileType.Directory);\n\t\t\t\t\t\t\t\t\n\t\t\t\tif (hasMarkAsOffline()) {\n\t\t\t\t\tif (getOfflineFileSize() == 0 || info.getSize() >= getOfflineFileSize())\n\t\t\t\t\t\tattr += FileAttribute.NTOffline;\n\t\t\t\t}\n\t\t\t\tinfo.setFileAttributes(attr);\n\t\t\t\tinfo.setUid(userId);\n\n\t\t\t\tif (m_filter == null || m_filter.matchesPattern(info.getFileName()) == true)\n\t\t\t\t\treturn true;\n\t\t\t}\n\t\t} catch (SQLException ex) {\n\t\t\tex.printStackTrace();\n\t\t}\n\t\t// No more files\n\t\tcloseSearch();\n\t\treturn false;\n\t}", "entities.Torrent.FileInfo getFileInfo();", "entities.Torrent.FileInfo getFileInfo();", "entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder(\n int index);", "DiscFileInfo getFileInfo(String path) throws IOException;", "void setFile(String i) {\n file = i;\n }", "@java.lang.Override\n public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder(\n int index) {\n return fileInfo_.get(index);\n }", "@java.lang.Override\n public int getFileInfoCount() {\n return fileInfo_.size();\n }", "@java.lang.Override\n public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder() {\n return getFileInfo();\n }", "@java.lang.Override\n public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder() {\n return getFileInfo();\n }", "fileInfo(){\n\t\tsymbol = new node[MAXLINECOUNT + 2];\n\t\tother = null; // allocated later!\n\t}", "public Builder addFileInfo(entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureFileInfoIsMutable();\n fileInfo_.add(value);\n onChanged();\n } else {\n fileInfoBuilder_.addMessage(value);\n }\n return this;\n }", "public synchronized FileInfo getOrAddFileInfo(FileInfo alphaFileInfo) {\n String app = alphaFileInfo.getApp();\n String caption = alphaFileInfo.getCaption();\n AppAndCaptionKey key = new AppAndCaptionKey(app, caption);\n String fileId = appAndCaptionToId.get(key);\n if(fileId==null){\n fileId = getNextFileId();\n appAndCaptionToId.put(key, fileId);\n }\n\n //2. Creating file info\n FileInfo sigmaFileInfo = fileCache.getFileInfo(app,fileId);\n if(sigmaFileInfo==null){\n sigmaFileInfo = (FileInfo) alphaFileInfo.clone();\n }\n sigmaFileInfo.setId(fileId);\n return sigmaFileInfo;\n }", "entities.Torrent.FileInfo getFiles(int index);", "com.google.devtools.kythe.proto.Analysis.FileInfoOrBuilder getEntryOrBuilder(\n int index);", "public final FileInfoBase getFileInfo() {\r\n return fileInfo;\r\n }", "public void setFileId(Long fileId) {\n/* 31:31 */ this.fileId = fileId;\n/* 32: */ }", "public entities.Torrent.FileInfo.Builder addFileInfoBuilder() {\n return getFileInfoFieldBuilder().addBuilder(\n entities.Torrent.FileInfo.getDefaultInstance());\n }", "@Override\r\n\tpublic int addAnimalFileInfo(FileInfo fileInfo) {\n\t\treturn fileInfoMapper.addAnimalFileInfo(fileInfo);\r\n\t}", "public abstract long NewFileNumber();", "public Builder addFileInfo(\n int index, entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureFileInfoIsMutable();\n fileInfo_.add(index, value);\n onChanged();\n } else {\n fileInfoBuilder_.addMessage(index, value);\n }\n return this;\n }", "public FileInfo(File file) {\n this.file = file;\n }", "int attrib(int i, File v) {\n if (i < max) {\n AllFiles[i] = v;\n } else {\n File[] temp = new File[max];\n int j;\n for (j = 0; j < max; j++) temp[j] = AllFiles[j];\n AllFiles = new File[max + increase];\n for (j = 0; j < max; j++) AllFiles[j] = temp[j];\n max = max + increase;\n AllFiles[i] = v;\n }\n return (0);\n }", "public boolean hasFileInfo() {\n return fieldSetFlags()[15];\n }", "public Builder setFileInfo(\n int index, entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureFileInfoIsMutable();\n fileInfo_.set(index, value);\n onChanged();\n } else {\n fileInfoBuilder_.setMessage(index, value);\n }\n return this;\n }", "public com.opentext.bn.converters.avro.entity.PayloadRef getFileInfo() {\n return fileInfo;\n }", "entities.Torrent.FileInfoOrBuilder getFilesOrBuilder(\n int index);", "public com.opentext.bn.converters.avro.entity.PayloadRef getFileInfo() {\n return fileInfo;\n }", "com.google.devtools.kythe.proto.Analysis.FileInfo getEntry(int index);", "public TagFileInfo[] getTagFiles() {\n/* 176 */ return this.tagFiles;\n/* */ }", "public Builder setFileInfo(entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n fileInfo_ = value;\n onChanged();\n } else {\n fileInfoBuilder_.setMessage(value);\n }\n\n return this;\n }", "public Builder setFileInfo(entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n fileInfo_ = value;\n onChanged();\n } else {\n fileInfoBuilder_.setMessage(value);\n }\n\n return this;\n }", "private FileInfo(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "public Builder addAllFileInfo(\n java.lang.Iterable<? extends entities.Torrent.FileInfo> values) {\n if (fileInfoBuilder_ == null) {\n ensureFileInfoIsMutable();\n com.google.protobuf.AbstractMessageLite.Builder.addAll(\n values, fileInfo_);\n onChanged();\n } else {\n fileInfoBuilder_.addAllMessages(values);\n }\n return this;\n }", "public int getFileInfoCount() {\n if (fileInfoBuilder_ == null) {\n return fileInfo_.size();\n } else {\n return fileInfoBuilder_.getCount();\n }\n }", "public void constructWith(LzzFileInfo pro) {\n\t\tthis.id = pro.getId ();\n\n\t\tthis.fname = pro.getFname ();\n\n\t\tthis.ftype = pro.getFtype ();\n\n\t\tthis.fsavepath = pro.getFsavepath ();\n\n\t\tthis.furlpath = pro.getFurlpath ();\n\n\t\tthis.createTime = pro.getCreateTime ();\n\n\t\tthis.modifyTime = pro.getModifyTime ();\n\n\t\tthis.def1 = pro.getDef1 ();\n\n\t\tthis.def2 = pro.getDef2 ();\n\n\t\tthis.def3 = pro.getDef3 ();\n\n\t\tthis.def4 = pro.getDef4 ();\n\n\t\tthis.def5 = pro.getDef5 ();\n\n\t\tthis.def6 = pro.getDef6 ();\n\n\t\tthis.def7 = pro.getDef7 ();\n\n\t\tthis.def8 = pro.getDef8 ();\n\n\t\tthis.def9 = pro.getDef9 ();\n\n\t\tthis.def10 = pro.getDef10 ();\n\n\t\tthis.dr = pro.getDr ();\n\n\t}", "public FileInfo(NXTComm nxt, String fileName){\r\n\t\tthis.comm = nxt;\r\n\t\tthis.fileName = fileName;\r\n\t}", "public FileInfo()\r\n {\r\n hash = new HashInfo();\r\n }", "@Override\n public List<FileInfo> getLibrarySubFiles(FileInfo fileInfo) {\n return null;\n }", "public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder() {\n if (fileInfoBuilder_ != null) {\n return fileInfoBuilder_.getMessageOrBuilder();\n } else {\n return fileInfo_ == null ?\n entities.Torrent.FileInfo.getDefaultInstance() : fileInfo_;\n }\n }", "public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder() {\n if (fileInfoBuilder_ != null) {\n return fileInfoBuilder_.getMessageOrBuilder();\n } else {\n return fileInfo_ == null ?\n entities.Torrent.FileInfo.getDefaultInstance() : fileInfo_;\n }\n }", "public DotFileEnumerator(File file)\n {\n fileList.add(file.toString());\n }", "public Builder mergeFileInfo(entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (fileInfo_ != null) {\n fileInfo_ =\n entities.Torrent.FileInfo.newBuilder(fileInfo_).mergeFrom(value).buildPartial();\n } else {\n fileInfo_ = value;\n }\n onChanged();\n } else {\n fileInfoBuilder_.mergeFrom(value);\n }\n\n return this;\n }", "public Builder mergeFileInfo(entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (fileInfo_ != null) {\n fileInfo_ =\n entities.Torrent.FileInfo.newBuilder(fileInfo_).mergeFrom(value).buildPartial();\n } else {\n fileInfo_ = value;\n }\n onChanged();\n } else {\n fileInfoBuilder_.mergeFrom(value);\n }\n\n return this;\n }", "int getFileCount();", "public com.google.devtools.kythe.proto.Analysis.FileInfoOrBuilder getEntryOrBuilder(\n int index) {\n return entry_.get(index);\n }", "public int getFileFlags() { return fileFlags; }", "public Builder clearFileInfo() {\n if (fileInfoBuilder_ == null) {\n fileInfo_ = java.util.Collections.emptyList();\n bitField0_ = (bitField0_ & ~0x00000001);\n onChanged();\n } else {\n fileInfoBuilder_.clear();\n }\n return this;\n }", "public com.opentext.bn.converters.avro.entity.PayloadRef.Builder getFileInfoBuilder() {\n if (fileInfoBuilder == null) {\n if (hasFileInfo()) {\n setFileInfoBuilder(com.opentext.bn.converters.avro.entity.PayloadRef.newBuilder(fileInfo));\n } else {\n setFileInfoBuilder(com.opentext.bn.converters.avro.entity.PayloadRef.newBuilder());\n }\n }\n return fileInfoBuilder;\n }", "public void process(TiffFileInfo info)\n {\n }", "public com.google.devtools.kythe.proto.Analysis.FileInfo.Builder addEntryBuilder() {\n return getEntryFieldBuilder().addBuilder(\n com.google.devtools.kythe.proto.Analysis.FileInfo.getDefaultInstance());\n }", "@java.lang.Override\n public entities.Torrent.FileInfo getFileInfo(int index) {\n return fileInfo_.get(index);\n }", "public Long getFileId() {\n/* 35:35 */ return this.fileId;\n/* 36: */ }", "private com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.FileInfo, entities.Torrent.FileInfo.Builder, entities.Torrent.FileInfoOrBuilder>\n getFileInfoFieldBuilder() {\n if (fileInfoBuilder_ == null) {\n fileInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.FileInfo, entities.Torrent.FileInfo.Builder, entities.Torrent.FileInfoOrBuilder>(\n getFileInfo(),\n getParentForChildren(),\n isClean());\n fileInfo_ = null;\n }\n return fileInfoBuilder_;\n }", "private com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.FileInfo, entities.Torrent.FileInfo.Builder, entities.Torrent.FileInfoOrBuilder>\n getFileInfoFieldBuilder() {\n if (fileInfoBuilder_ == null) {\n fileInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.FileInfo, entities.Torrent.FileInfo.Builder, entities.Torrent.FileInfoOrBuilder>(\n getFileInfo(),\n getParentForChildren(),\n isClean());\n fileInfo_ = null;\n }\n return fileInfoBuilder_;\n }", "private void updateFiles() {\n\t}", "public entities.Torrent.FileInfo.Builder addFileInfoBuilder(\n int index) {\n return getFileInfoFieldBuilder().addBuilder(\n index, entities.Torrent.FileInfo.getDefaultInstance());\n }", "public interface FileSelectInfo\n{\n /**\n * Returns the base folder of the traversal.\n * @return FileObject representing the base folder.\n */\n FileObject getBaseFolder();\n\n /**\n * Returns the file (or folder) to be considered.\n * @return The FileObject.\n */\n FileObject getFile();\n\n /**\n * Returns the depth of the file relative to the base folder.\n * @return The depth of the file relative to the base folder.\n */\n int getDepth();\n}", "public entities.Torrent.FileInfo.Builder getFileInfoBuilder(\n int index) {\n return getFileInfoFieldBuilder().getBuilder(index);\n }", "public entities.Torrent.FileInfo.Builder getFileInfoBuilder() {\n\n onChanged();\n return getFileInfoFieldBuilder().getBuilder();\n }", "public entities.Torrent.FileInfo.Builder getFileInfoBuilder() {\n\n onChanged();\n return getFileInfoFieldBuilder().getBuilder();\n }", "public entities.Torrent.FileInfoOrBuilder getFilesOrBuilder(\n int index) {\n if (filesBuilder_ == null) {\n return files_.get(index); } else {\n return filesBuilder_.getMessageOrBuilder(index);\n }\n }", "private void getExtractWithFiles(){\n\t\ttry{\n\t\t\t\n\t\t\tFileInputStream fStream = new FileInputStream(tfile);\n\t\t\tfileBytes = new byte[(int)tfile.length()];\n\t\t\t\n\t\t\tfStream.read(fileBytes, 0, fileBytes.length);\n\t\t\tfileSize = fileBytes.length;\n\t\t}catch(Exception ex){\n\t\t\tSystem.err.println(\"File Packet \"+ex.getMessage());\n\t\t}\n\t}", "private static void printFileInfo(File file) {\n window.putLog(String.format(\"[%6dkb] Modified %s @%s\", 1 + file.length() / 1024,\n new SimpleDateFormat(\"YYYY-MM-dd HH:mm\").format(new Date(file.lastModified())),\n file.getPath().substring(workingDirectory.getParent().length())));\n }", "public interface FileSystemEntry {\n public long getCount();\n public long getSize();\n public String getName();\n}", "public PSMatrixFilesMeta() {\r\n this(-1, new ConcurrentSkipListMap<Integer, MatrixPartitionMeta>());\r\n }", "protected final void setFileInformation( FileInfo fInfo) {\n\t\tm_info = fInfo;\n\t}", "public java.util.List<? extends entities.Torrent.FileInfoOrBuilder>\n getFileInfoOrBuilderList() {\n if (fileInfoBuilder_ != null) {\n return fileInfoBuilder_.getMessageOrBuilderList();\n } else {\n return java.util.Collections.unmodifiableList(fileInfo_);\n }\n }", "int getFileNamesCount();", "int getFileNamesCount();", "public void filesNotFound(File... f) { }", "public void filesNotFound(File... f) { }", "@Override\n public void onPick(FileInfo f) {\n }", "public void setFileRecordCount(int ct) {\n\t\tfileRecordCount = ct;\n\t}", "public com.opentext.bn.converters.avro.entity.DocumentEvent.Builder setFileInfo(com.opentext.bn.converters.avro.entity.PayloadRef value) {\n validate(fields()[15], value);\n this.fileInfoBuilder = null;\n this.fileInfo = value;\n fieldSetFlags()[15] = true;\n return this;\n }", "public DotFileEnumerator(String filePath)\n {\n String[] tempArr = new File(filePath).list();\n\n for (String s : tempArr) {\n fileList.add(filePath + \"/\" + s);\n }\n }", "@java.lang.Override\n public entities.Torrent.FileInfo getFileInfo() {\n return fileInfo_ == null ? entities.Torrent.FileInfo.getDefaultInstance() : fileInfo_;\n }", "@java.lang.Override\n public entities.Torrent.FileInfo getFileInfo() {\n return fileInfo_ == null ? entities.Torrent.FileInfo.getDefaultInstance() : fileInfo_;\n }", "public FileInfoICS(String name, String directory, int format) {\r\n super(name, directory, format);\r\n }", "public FileInfo(FileInfo v)\n \t{\n \t\ttitle = v.title;\n \t\tauthors = v.authors;\n \t\tseries = v.series;\n \t\tseriesNumber = v.seriesNumber;\n \t\tpath = v.path;\n \t\tfilename = v.filename;\n \t\tpathname = v.pathname;\n \t\tarcname = v.arcname;\n \t\tformat = v.format;\n \t\tsize = v.size;\n \t\tarcsize = v.arcsize;\n \t\tisArchive = v.isArchive;\n \t\tisDirectory = v.isDirectory;\n \t\tcreateTime = v.createTime;\n \t\tlastAccessTime = v.lastAccessTime;\n \t}", "public ImageFiles() {\n\t\tthis.listOne = new ArrayList<String>();\n\t\tthis.listTwo = new ArrayList<String>();\n\t\tthis.listThree = new ArrayList<String>();\n\t\tthis.seenImages = new ArrayList<String>();\n\t\tthis.unseenImages = new ArrayList<String>();\n\t}", "@java.lang.Override\n public java.util.List<? extends entities.Torrent.FileInfoOrBuilder>\n getFileInfoOrBuilderList() {\n return fileInfo_;\n }", "int countByExample(AvwFileprocessExample example);", "public Builder addEntry(com.google.devtools.kythe.proto.Analysis.FileInfo value) {\n if (entryBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureEntryIsMutable();\n entry_.add(value);\n onChanged();\n } else {\n entryBuilder_.addMessage(value);\n }\n return this;\n }", "ds.hdfs.generated.FileMetadata getFiles(int index);", "java.util.List<? extends entities.Torrent.FileInfoOrBuilder>\n getFileInfoOrBuilderList();", "public Long getFileID()\n/* */ {\n/* 88 */ return this.fileID;\n/* */ }", "public void incuploadcount(){\n\t\tthis. num_upload++;\n\t}", "public Vector<file> count()\n {\n Vector<Model.file> files = new Vector<>();\n try\n {\n pw.println(11);\n\n files = (Vector<Model.file>) ois.readObject();\n\n }\n catch (ClassNotFoundException | IOException e)\n {\n System.out.println(e.getMessage());\n }\n return files ;\n }" ]
[ "0.63404644", "0.60424006", "0.58997285", "0.5897735", "0.5897735", "0.5893349", "0.5840858", "0.5782364", "0.575059", "0.56671757", "0.5661143", "0.5629983", "0.55628306", "0.55628306", "0.54918736", "0.54439086", "0.5438974", "0.5436454", "0.53865486", "0.53554535", "0.53554535", "0.5350297", "0.53485256", "0.5337326", "0.5325269", "0.5323776", "0.5317618", "0.5316972", "0.5305772", "0.5301568", "0.5289526", "0.52858317", "0.527939", "0.527717", "0.5246745", "0.5238312", "0.52333695", "0.52198213", "0.520472", "0.5197636", "0.5181744", "0.5180735", "0.5179602", "0.5171487", "0.5170226", "0.5151229", "0.5126351", "0.51164293", "0.51105917", "0.51006323", "0.5064827", "0.5064827", "0.5030081", "0.50298166", "0.5029732", "0.50183815", "0.5008859", "0.5008625", "0.5002189", "0.5000041", "0.4996095", "0.49911362", "0.4988522", "0.49871376", "0.49688184", "0.4968441", "0.49640483", "0.49627694", "0.49464682", "0.49452326", "0.49435145", "0.4940706", "0.4939512", "0.4919068", "0.49134657", "0.4912824", "0.48992985", "0.48903668", "0.4889867", "0.48865864", "0.48865864", "0.48813212", "0.48813212", "0.48808643", "0.48788455", "0.48786306", "0.4874242", "0.48689762", "0.48689762", "0.48684502", "0.48670304", "0.48606005", "0.48516285", "0.48392272", "0.48242542", "0.48236215", "0.48225048", "0.4821103", "0.48174718", "0.4813819" ]
0.53812563
19
repeated .FileInfo fileInfo = 3;
public java.util.List<? extends entities.Torrent.FileInfoOrBuilder> getFileInfoOrBuilderList() { if (fileInfoBuilder_ != null) { return fileInfoBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(fileInfo_); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public FileInfo getFileInfo() {\n return fileInfo;\n }", "@Test\n\tpublic void testSetFileInfo() {\n\n\t}", "FileInfo create(FileInfo fileInfo);", "entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder();", "entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder();", "public void fileInfo(String info);", "@Override\n public void addSingleFile(FileInfo file) {\n }", "void update(FileInfo fileInfo);", "int getFileInfoCount();", "public void incFileCount(){\n\t\tthis.num_files++;\n\t}", "entities.Torrent.FileInfo getFileInfo(int index);", "public boolean nextFileInfo(FileInfo info) {\n\n\t\t// Get the next file from the search\n\n\t\ttry {\n\n\t\t\t// Return the next file details or loop until a match is found if a\n\t\t\t// complex wildcard filter\n\t\t\t// has been specified\n\t\t\twhile (m_rs.next()) {\n\t\t\t\tString name = m_rs.getString(\"name\");\n\t\t\t\t// Get the file name for the next file\n\t\t\t\tinfo.setFileId(m_rs.getInt(\"id\"));\n\t\t\t\tinfo.setFileName(name);\n\t\t\t\tinfo.setSize(m_rs.getLong(\"size\"));\n\t\t\t\tif(name.equalsIgnoreCase(DBUtil.CLOUDURL))\n\t\t\t\t{\n\t\t\t\t\ttry{\n\t\t\t\t\t//重设置大小\n\t\t\t\t\tinfo.setFileId(-99);\n//\t\t\t\t\tinfo.setFileId(-userId);\n\t\t\t\t\tinfo.setSize(DBUtil.getURLMYFILE_TXT(this.getBaseUrl(),userId).getBytes().length);\n\t\t\t\t\t}catch(Exception e)\n\t\t\t\t\t{\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tlong modifyDate = m_rs.getLong(\"lastModified\");\n\t\t\t\tif (modifyDate != 0L)\n\t\t\t\t\tinfo.setModifyDateTime(modifyDate);\n\t\t\t\telse\n\t\t\t\t\tinfo.setModifyDateTime(System.currentTimeMillis());\n\t\t\t\t\n\t\t\t\tTimestamp ts = m_rs.getTimestamp(\"add_time\");\n\t\t\t\tif (ts !=null && ts.getTime()>0)\n\t\t\t\t{\n\t\t\t\t\tinfo.setCreationDateTime(ts.getTime());\n\t\t\t\t\tinfo.setChangeDateTime(info.getModifyDateTime());\n\t\t\t\t}\n\t\t\t\telse\n\t\t\t\t{\n\t\t\t\t\tinfo.setCreationDateTime(info.getModifyDateTime());\n\t\t\t\t\tinfo.setChangeDateTime(info.getModifyDateTime());\n\t\t\t\t}\t\t\t\t\n\t\t\t\tint attr = 0;\n\t\t\t\tif (m_rs.getBoolean(\"isFile\") == true) {\n\t\t\t\t\tinfo.setFileType(FileType.RegularFile);\t\t\t\t\t\n\t\t\t\t\tattr += FileAttribute.ReadOnly;// 只读权限\n\t\t\t\t} else\n\t\t\t\t\tattr += FileAttribute.Directory;\n\n\t\t\t\tif (m_rs.getBoolean(\"isHidden\") == true) \n\t\t\t\t{\n\t\t\t\t\tattr += FileAttribute.Hidden;//隐藏\n\t\t\t\t}\n\t\t\t\tinfo.setFileType(FileType.Directory);\n\t\t\t\t\t\t\t\t\n\t\t\t\tif (hasMarkAsOffline()) {\n\t\t\t\t\tif (getOfflineFileSize() == 0 || info.getSize() >= getOfflineFileSize())\n\t\t\t\t\t\tattr += FileAttribute.NTOffline;\n\t\t\t\t}\n\t\t\t\tinfo.setFileAttributes(attr);\n\t\t\t\tinfo.setUid(userId);\n\n\t\t\t\tif (m_filter == null || m_filter.matchesPattern(info.getFileName()) == true)\n\t\t\t\t\treturn true;\n\t\t\t}\n\t\t} catch (SQLException ex) {\n\t\t\tex.printStackTrace();\n\t\t}\n\t\t// No more files\n\t\tcloseSearch();\n\t\treturn false;\n\t}", "entities.Torrent.FileInfo getFileInfo();", "entities.Torrent.FileInfo getFileInfo();", "entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder(\n int index);", "DiscFileInfo getFileInfo(String path) throws IOException;", "void setFile(String i) {\n file = i;\n }", "@java.lang.Override\n public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder(\n int index) {\n return fileInfo_.get(index);\n }", "@java.lang.Override\n public int getFileInfoCount() {\n return fileInfo_.size();\n }", "public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder(\n int index) {\n if (fileInfoBuilder_ == null) {\n return fileInfo_.get(index); } else {\n return fileInfoBuilder_.getMessageOrBuilder(index);\n }\n }", "@java.lang.Override\n public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder() {\n return getFileInfo();\n }", "@java.lang.Override\n public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder() {\n return getFileInfo();\n }", "fileInfo(){\n\t\tsymbol = new node[MAXLINECOUNT + 2];\n\t\tother = null; // allocated later!\n\t}", "public Builder addFileInfo(entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureFileInfoIsMutable();\n fileInfo_.add(value);\n onChanged();\n } else {\n fileInfoBuilder_.addMessage(value);\n }\n return this;\n }", "public synchronized FileInfo getOrAddFileInfo(FileInfo alphaFileInfo) {\n String app = alphaFileInfo.getApp();\n String caption = alphaFileInfo.getCaption();\n AppAndCaptionKey key = new AppAndCaptionKey(app, caption);\n String fileId = appAndCaptionToId.get(key);\n if(fileId==null){\n fileId = getNextFileId();\n appAndCaptionToId.put(key, fileId);\n }\n\n //2. Creating file info\n FileInfo sigmaFileInfo = fileCache.getFileInfo(app,fileId);\n if(sigmaFileInfo==null){\n sigmaFileInfo = (FileInfo) alphaFileInfo.clone();\n }\n sigmaFileInfo.setId(fileId);\n return sigmaFileInfo;\n }", "entities.Torrent.FileInfo getFiles(int index);", "com.google.devtools.kythe.proto.Analysis.FileInfoOrBuilder getEntryOrBuilder(\n int index);", "public final FileInfoBase getFileInfo() {\r\n return fileInfo;\r\n }", "public void setFileId(Long fileId) {\n/* 31:31 */ this.fileId = fileId;\n/* 32: */ }", "public entities.Torrent.FileInfo.Builder addFileInfoBuilder() {\n return getFileInfoFieldBuilder().addBuilder(\n entities.Torrent.FileInfo.getDefaultInstance());\n }", "@Override\r\n\tpublic int addAnimalFileInfo(FileInfo fileInfo) {\n\t\treturn fileInfoMapper.addAnimalFileInfo(fileInfo);\r\n\t}", "public abstract long NewFileNumber();", "public Builder addFileInfo(\n int index, entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureFileInfoIsMutable();\n fileInfo_.add(index, value);\n onChanged();\n } else {\n fileInfoBuilder_.addMessage(index, value);\n }\n return this;\n }", "public FileInfo(File file) {\n this.file = file;\n }", "int attrib(int i, File v) {\n if (i < max) {\n AllFiles[i] = v;\n } else {\n File[] temp = new File[max];\n int j;\n for (j = 0; j < max; j++) temp[j] = AllFiles[j];\n AllFiles = new File[max + increase];\n for (j = 0; j < max; j++) AllFiles[j] = temp[j];\n max = max + increase;\n AllFiles[i] = v;\n }\n return (0);\n }", "public boolean hasFileInfo() {\n return fieldSetFlags()[15];\n }", "public Builder setFileInfo(\n int index, entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureFileInfoIsMutable();\n fileInfo_.set(index, value);\n onChanged();\n } else {\n fileInfoBuilder_.setMessage(index, value);\n }\n return this;\n }", "public com.opentext.bn.converters.avro.entity.PayloadRef getFileInfo() {\n return fileInfo;\n }", "entities.Torrent.FileInfoOrBuilder getFilesOrBuilder(\n int index);", "public com.opentext.bn.converters.avro.entity.PayloadRef getFileInfo() {\n return fileInfo;\n }", "com.google.devtools.kythe.proto.Analysis.FileInfo getEntry(int index);", "public TagFileInfo[] getTagFiles() {\n/* 176 */ return this.tagFiles;\n/* */ }", "public Builder setFileInfo(entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n fileInfo_ = value;\n onChanged();\n } else {\n fileInfoBuilder_.setMessage(value);\n }\n\n return this;\n }", "public Builder setFileInfo(entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n fileInfo_ = value;\n onChanged();\n } else {\n fileInfoBuilder_.setMessage(value);\n }\n\n return this;\n }", "private FileInfo(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "public Builder addAllFileInfo(\n java.lang.Iterable<? extends entities.Torrent.FileInfo> values) {\n if (fileInfoBuilder_ == null) {\n ensureFileInfoIsMutable();\n com.google.protobuf.AbstractMessageLite.Builder.addAll(\n values, fileInfo_);\n onChanged();\n } else {\n fileInfoBuilder_.addAllMessages(values);\n }\n return this;\n }", "public int getFileInfoCount() {\n if (fileInfoBuilder_ == null) {\n return fileInfo_.size();\n } else {\n return fileInfoBuilder_.getCount();\n }\n }", "public void constructWith(LzzFileInfo pro) {\n\t\tthis.id = pro.getId ();\n\n\t\tthis.fname = pro.getFname ();\n\n\t\tthis.ftype = pro.getFtype ();\n\n\t\tthis.fsavepath = pro.getFsavepath ();\n\n\t\tthis.furlpath = pro.getFurlpath ();\n\n\t\tthis.createTime = pro.getCreateTime ();\n\n\t\tthis.modifyTime = pro.getModifyTime ();\n\n\t\tthis.def1 = pro.getDef1 ();\n\n\t\tthis.def2 = pro.getDef2 ();\n\n\t\tthis.def3 = pro.getDef3 ();\n\n\t\tthis.def4 = pro.getDef4 ();\n\n\t\tthis.def5 = pro.getDef5 ();\n\n\t\tthis.def6 = pro.getDef6 ();\n\n\t\tthis.def7 = pro.getDef7 ();\n\n\t\tthis.def8 = pro.getDef8 ();\n\n\t\tthis.def9 = pro.getDef9 ();\n\n\t\tthis.def10 = pro.getDef10 ();\n\n\t\tthis.dr = pro.getDr ();\n\n\t}", "public FileInfo(NXTComm nxt, String fileName){\r\n\t\tthis.comm = nxt;\r\n\t\tthis.fileName = fileName;\r\n\t}", "public FileInfo()\r\n {\r\n hash = new HashInfo();\r\n }", "@Override\n public List<FileInfo> getLibrarySubFiles(FileInfo fileInfo) {\n return null;\n }", "public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder() {\n if (fileInfoBuilder_ != null) {\n return fileInfoBuilder_.getMessageOrBuilder();\n } else {\n return fileInfo_ == null ?\n entities.Torrent.FileInfo.getDefaultInstance() : fileInfo_;\n }\n }", "public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder() {\n if (fileInfoBuilder_ != null) {\n return fileInfoBuilder_.getMessageOrBuilder();\n } else {\n return fileInfo_ == null ?\n entities.Torrent.FileInfo.getDefaultInstance() : fileInfo_;\n }\n }", "public DotFileEnumerator(File file)\n {\n fileList.add(file.toString());\n }", "public Builder mergeFileInfo(entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (fileInfo_ != null) {\n fileInfo_ =\n entities.Torrent.FileInfo.newBuilder(fileInfo_).mergeFrom(value).buildPartial();\n } else {\n fileInfo_ = value;\n }\n onChanged();\n } else {\n fileInfoBuilder_.mergeFrom(value);\n }\n\n return this;\n }", "public Builder mergeFileInfo(entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (fileInfo_ != null) {\n fileInfo_ =\n entities.Torrent.FileInfo.newBuilder(fileInfo_).mergeFrom(value).buildPartial();\n } else {\n fileInfo_ = value;\n }\n onChanged();\n } else {\n fileInfoBuilder_.mergeFrom(value);\n }\n\n return this;\n }", "int getFileCount();", "public com.google.devtools.kythe.proto.Analysis.FileInfoOrBuilder getEntryOrBuilder(\n int index) {\n return entry_.get(index);\n }", "public int getFileFlags() { return fileFlags; }", "public Builder clearFileInfo() {\n if (fileInfoBuilder_ == null) {\n fileInfo_ = java.util.Collections.emptyList();\n bitField0_ = (bitField0_ & ~0x00000001);\n onChanged();\n } else {\n fileInfoBuilder_.clear();\n }\n return this;\n }", "public com.opentext.bn.converters.avro.entity.PayloadRef.Builder getFileInfoBuilder() {\n if (fileInfoBuilder == null) {\n if (hasFileInfo()) {\n setFileInfoBuilder(com.opentext.bn.converters.avro.entity.PayloadRef.newBuilder(fileInfo));\n } else {\n setFileInfoBuilder(com.opentext.bn.converters.avro.entity.PayloadRef.newBuilder());\n }\n }\n return fileInfoBuilder;\n }", "public void process(TiffFileInfo info)\n {\n }", "public com.google.devtools.kythe.proto.Analysis.FileInfo.Builder addEntryBuilder() {\n return getEntryFieldBuilder().addBuilder(\n com.google.devtools.kythe.proto.Analysis.FileInfo.getDefaultInstance());\n }", "@java.lang.Override\n public entities.Torrent.FileInfo getFileInfo(int index) {\n return fileInfo_.get(index);\n }", "public Long getFileId() {\n/* 35:35 */ return this.fileId;\n/* 36: */ }", "private com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.FileInfo, entities.Torrent.FileInfo.Builder, entities.Torrent.FileInfoOrBuilder>\n getFileInfoFieldBuilder() {\n if (fileInfoBuilder_ == null) {\n fileInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.FileInfo, entities.Torrent.FileInfo.Builder, entities.Torrent.FileInfoOrBuilder>(\n getFileInfo(),\n getParentForChildren(),\n isClean());\n fileInfo_ = null;\n }\n return fileInfoBuilder_;\n }", "private com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.FileInfo, entities.Torrent.FileInfo.Builder, entities.Torrent.FileInfoOrBuilder>\n getFileInfoFieldBuilder() {\n if (fileInfoBuilder_ == null) {\n fileInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.FileInfo, entities.Torrent.FileInfo.Builder, entities.Torrent.FileInfoOrBuilder>(\n getFileInfo(),\n getParentForChildren(),\n isClean());\n fileInfo_ = null;\n }\n return fileInfoBuilder_;\n }", "private void updateFiles() {\n\t}", "public entities.Torrent.FileInfo.Builder addFileInfoBuilder(\n int index) {\n return getFileInfoFieldBuilder().addBuilder(\n index, entities.Torrent.FileInfo.getDefaultInstance());\n }", "public interface FileSelectInfo\n{\n /**\n * Returns the base folder of the traversal.\n * @return FileObject representing the base folder.\n */\n FileObject getBaseFolder();\n\n /**\n * Returns the file (or folder) to be considered.\n * @return The FileObject.\n */\n FileObject getFile();\n\n /**\n * Returns the depth of the file relative to the base folder.\n * @return The depth of the file relative to the base folder.\n */\n int getDepth();\n}", "public entities.Torrent.FileInfo.Builder getFileInfoBuilder(\n int index) {\n return getFileInfoFieldBuilder().getBuilder(index);\n }", "public entities.Torrent.FileInfo.Builder getFileInfoBuilder() {\n\n onChanged();\n return getFileInfoFieldBuilder().getBuilder();\n }", "public entities.Torrent.FileInfo.Builder getFileInfoBuilder() {\n\n onChanged();\n return getFileInfoFieldBuilder().getBuilder();\n }", "public entities.Torrent.FileInfoOrBuilder getFilesOrBuilder(\n int index) {\n if (filesBuilder_ == null) {\n return files_.get(index); } else {\n return filesBuilder_.getMessageOrBuilder(index);\n }\n }", "private void getExtractWithFiles(){\n\t\ttry{\n\t\t\t\n\t\t\tFileInputStream fStream = new FileInputStream(tfile);\n\t\t\tfileBytes = new byte[(int)tfile.length()];\n\t\t\t\n\t\t\tfStream.read(fileBytes, 0, fileBytes.length);\n\t\t\tfileSize = fileBytes.length;\n\t\t}catch(Exception ex){\n\t\t\tSystem.err.println(\"File Packet \"+ex.getMessage());\n\t\t}\n\t}", "private static void printFileInfo(File file) {\n window.putLog(String.format(\"[%6dkb] Modified %s @%s\", 1 + file.length() / 1024,\n new SimpleDateFormat(\"YYYY-MM-dd HH:mm\").format(new Date(file.lastModified())),\n file.getPath().substring(workingDirectory.getParent().length())));\n }", "public interface FileSystemEntry {\n public long getCount();\n public long getSize();\n public String getName();\n}", "public PSMatrixFilesMeta() {\r\n this(-1, new ConcurrentSkipListMap<Integer, MatrixPartitionMeta>());\r\n }", "protected final void setFileInformation( FileInfo fInfo) {\n\t\tm_info = fInfo;\n\t}", "int getFileNamesCount();", "int getFileNamesCount();", "public void filesNotFound(File... f) { }", "public void filesNotFound(File... f) { }", "@Override\n public void onPick(FileInfo f) {\n }", "public void setFileRecordCount(int ct) {\n\t\tfileRecordCount = ct;\n\t}", "public com.opentext.bn.converters.avro.entity.DocumentEvent.Builder setFileInfo(com.opentext.bn.converters.avro.entity.PayloadRef value) {\n validate(fields()[15], value);\n this.fileInfoBuilder = null;\n this.fileInfo = value;\n fieldSetFlags()[15] = true;\n return this;\n }", "public DotFileEnumerator(String filePath)\n {\n String[] tempArr = new File(filePath).list();\n\n for (String s : tempArr) {\n fileList.add(filePath + \"/\" + s);\n }\n }", "@java.lang.Override\n public entities.Torrent.FileInfo getFileInfo() {\n return fileInfo_ == null ? entities.Torrent.FileInfo.getDefaultInstance() : fileInfo_;\n }", "@java.lang.Override\n public entities.Torrent.FileInfo getFileInfo() {\n return fileInfo_ == null ? entities.Torrent.FileInfo.getDefaultInstance() : fileInfo_;\n }", "public FileInfoICS(String name, String directory, int format) {\r\n super(name, directory, format);\r\n }", "public FileInfo(FileInfo v)\n \t{\n \t\ttitle = v.title;\n \t\tauthors = v.authors;\n \t\tseries = v.series;\n \t\tseriesNumber = v.seriesNumber;\n \t\tpath = v.path;\n \t\tfilename = v.filename;\n \t\tpathname = v.pathname;\n \t\tarcname = v.arcname;\n \t\tformat = v.format;\n \t\tsize = v.size;\n \t\tarcsize = v.arcsize;\n \t\tisArchive = v.isArchive;\n \t\tisDirectory = v.isDirectory;\n \t\tcreateTime = v.createTime;\n \t\tlastAccessTime = v.lastAccessTime;\n \t}", "public ImageFiles() {\n\t\tthis.listOne = new ArrayList<String>();\n\t\tthis.listTwo = new ArrayList<String>();\n\t\tthis.listThree = new ArrayList<String>();\n\t\tthis.seenImages = new ArrayList<String>();\n\t\tthis.unseenImages = new ArrayList<String>();\n\t}", "@java.lang.Override\n public java.util.List<? extends entities.Torrent.FileInfoOrBuilder>\n getFileInfoOrBuilderList() {\n return fileInfo_;\n }", "int countByExample(AvwFileprocessExample example);", "public Builder addEntry(com.google.devtools.kythe.proto.Analysis.FileInfo value) {\n if (entryBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureEntryIsMutable();\n entry_.add(value);\n onChanged();\n } else {\n entryBuilder_.addMessage(value);\n }\n return this;\n }", "ds.hdfs.generated.FileMetadata getFiles(int index);", "java.util.List<? extends entities.Torrent.FileInfoOrBuilder>\n getFileInfoOrBuilderList();", "public Long getFileID()\n/* */ {\n/* 88 */ return this.fileID;\n/* */ }", "public void incuploadcount(){\n\t\tthis. num_upload++;\n\t}", "public Vector<file> count()\n {\n Vector<Model.file> files = new Vector<>();\n try\n {\n pw.println(11);\n\n files = (Vector<Model.file>) ois.readObject();\n\n }\n catch (ClassNotFoundException | IOException e)\n {\n System.out.println(e.getMessage());\n }\n return files ;\n }" ]
[ "0.63404644", "0.60424006", "0.58997285", "0.5897735", "0.5897735", "0.5893349", "0.5840858", "0.5782364", "0.575059", "0.56671757", "0.5661143", "0.5629983", "0.55628306", "0.55628306", "0.54918736", "0.54439086", "0.5438974", "0.5436454", "0.53865486", "0.53812563", "0.53554535", "0.53554535", "0.5350297", "0.53485256", "0.5337326", "0.5325269", "0.5323776", "0.5317618", "0.5316972", "0.5305772", "0.5301568", "0.5289526", "0.52858317", "0.527939", "0.527717", "0.5246745", "0.5238312", "0.52333695", "0.52198213", "0.520472", "0.5197636", "0.5181744", "0.5180735", "0.5179602", "0.5171487", "0.5170226", "0.5151229", "0.5126351", "0.51164293", "0.51105917", "0.51006323", "0.5064827", "0.5064827", "0.5030081", "0.50298166", "0.5029732", "0.50183815", "0.5008859", "0.5008625", "0.5002189", "0.5000041", "0.4996095", "0.49911362", "0.4988522", "0.49871376", "0.49688184", "0.4968441", "0.49640483", "0.49627694", "0.49464682", "0.49452326", "0.49435145", "0.4940706", "0.4939512", "0.4919068", "0.49134657", "0.4912824", "0.48992985", "0.48903668", "0.48865864", "0.48865864", "0.48813212", "0.48813212", "0.48808643", "0.48788455", "0.48786306", "0.4874242", "0.48689762", "0.48689762", "0.48684502", "0.48670304", "0.48606005", "0.48516285", "0.48392272", "0.48242542", "0.48236215", "0.48225048", "0.4821103", "0.48174718", "0.4813819" ]
0.4889867
79
repeated .FileInfo fileInfo = 3;
public entities.Torrent.FileInfo.Builder addFileInfoBuilder() { return getFileInfoFieldBuilder().addBuilder( entities.Torrent.FileInfo.getDefaultInstance()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public FileInfo getFileInfo() {\n return fileInfo;\n }", "@Test\n\tpublic void testSetFileInfo() {\n\n\t}", "FileInfo create(FileInfo fileInfo);", "entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder();", "entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder();", "public void fileInfo(String info);", "@Override\n public void addSingleFile(FileInfo file) {\n }", "void update(FileInfo fileInfo);", "int getFileInfoCount();", "public void incFileCount(){\n\t\tthis.num_files++;\n\t}", "entities.Torrent.FileInfo getFileInfo(int index);", "public boolean nextFileInfo(FileInfo info) {\n\n\t\t// Get the next file from the search\n\n\t\ttry {\n\n\t\t\t// Return the next file details or loop until a match is found if a\n\t\t\t// complex wildcard filter\n\t\t\t// has been specified\n\t\t\twhile (m_rs.next()) {\n\t\t\t\tString name = m_rs.getString(\"name\");\n\t\t\t\t// Get the file name for the next file\n\t\t\t\tinfo.setFileId(m_rs.getInt(\"id\"));\n\t\t\t\tinfo.setFileName(name);\n\t\t\t\tinfo.setSize(m_rs.getLong(\"size\"));\n\t\t\t\tif(name.equalsIgnoreCase(DBUtil.CLOUDURL))\n\t\t\t\t{\n\t\t\t\t\ttry{\n\t\t\t\t\t//重设置大小\n\t\t\t\t\tinfo.setFileId(-99);\n//\t\t\t\t\tinfo.setFileId(-userId);\n\t\t\t\t\tinfo.setSize(DBUtil.getURLMYFILE_TXT(this.getBaseUrl(),userId).getBytes().length);\n\t\t\t\t\t}catch(Exception e)\n\t\t\t\t\t{\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tlong modifyDate = m_rs.getLong(\"lastModified\");\n\t\t\t\tif (modifyDate != 0L)\n\t\t\t\t\tinfo.setModifyDateTime(modifyDate);\n\t\t\t\telse\n\t\t\t\t\tinfo.setModifyDateTime(System.currentTimeMillis());\n\t\t\t\t\n\t\t\t\tTimestamp ts = m_rs.getTimestamp(\"add_time\");\n\t\t\t\tif (ts !=null && ts.getTime()>0)\n\t\t\t\t{\n\t\t\t\t\tinfo.setCreationDateTime(ts.getTime());\n\t\t\t\t\tinfo.setChangeDateTime(info.getModifyDateTime());\n\t\t\t\t}\n\t\t\t\telse\n\t\t\t\t{\n\t\t\t\t\tinfo.setCreationDateTime(info.getModifyDateTime());\n\t\t\t\t\tinfo.setChangeDateTime(info.getModifyDateTime());\n\t\t\t\t}\t\t\t\t\n\t\t\t\tint attr = 0;\n\t\t\t\tif (m_rs.getBoolean(\"isFile\") == true) {\n\t\t\t\t\tinfo.setFileType(FileType.RegularFile);\t\t\t\t\t\n\t\t\t\t\tattr += FileAttribute.ReadOnly;// 只读权限\n\t\t\t\t} else\n\t\t\t\t\tattr += FileAttribute.Directory;\n\n\t\t\t\tif (m_rs.getBoolean(\"isHidden\") == true) \n\t\t\t\t{\n\t\t\t\t\tattr += FileAttribute.Hidden;//隐藏\n\t\t\t\t}\n\t\t\t\tinfo.setFileType(FileType.Directory);\n\t\t\t\t\t\t\t\t\n\t\t\t\tif (hasMarkAsOffline()) {\n\t\t\t\t\tif (getOfflineFileSize() == 0 || info.getSize() >= getOfflineFileSize())\n\t\t\t\t\t\tattr += FileAttribute.NTOffline;\n\t\t\t\t}\n\t\t\t\tinfo.setFileAttributes(attr);\n\t\t\t\tinfo.setUid(userId);\n\n\t\t\t\tif (m_filter == null || m_filter.matchesPattern(info.getFileName()) == true)\n\t\t\t\t\treturn true;\n\t\t\t}\n\t\t} catch (SQLException ex) {\n\t\t\tex.printStackTrace();\n\t\t}\n\t\t// No more files\n\t\tcloseSearch();\n\t\treturn false;\n\t}", "entities.Torrent.FileInfo getFileInfo();", "entities.Torrent.FileInfo getFileInfo();", "entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder(\n int index);", "DiscFileInfo getFileInfo(String path) throws IOException;", "void setFile(String i) {\n file = i;\n }", "@java.lang.Override\n public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder(\n int index) {\n return fileInfo_.get(index);\n }", "@java.lang.Override\n public int getFileInfoCount() {\n return fileInfo_.size();\n }", "public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder(\n int index) {\n if (fileInfoBuilder_ == null) {\n return fileInfo_.get(index); } else {\n return fileInfoBuilder_.getMessageOrBuilder(index);\n }\n }", "@java.lang.Override\n public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder() {\n return getFileInfo();\n }", "@java.lang.Override\n public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder() {\n return getFileInfo();\n }", "fileInfo(){\n\t\tsymbol = new node[MAXLINECOUNT + 2];\n\t\tother = null; // allocated later!\n\t}", "public Builder addFileInfo(entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureFileInfoIsMutable();\n fileInfo_.add(value);\n onChanged();\n } else {\n fileInfoBuilder_.addMessage(value);\n }\n return this;\n }", "public synchronized FileInfo getOrAddFileInfo(FileInfo alphaFileInfo) {\n String app = alphaFileInfo.getApp();\n String caption = alphaFileInfo.getCaption();\n AppAndCaptionKey key = new AppAndCaptionKey(app, caption);\n String fileId = appAndCaptionToId.get(key);\n if(fileId==null){\n fileId = getNextFileId();\n appAndCaptionToId.put(key, fileId);\n }\n\n //2. Creating file info\n FileInfo sigmaFileInfo = fileCache.getFileInfo(app,fileId);\n if(sigmaFileInfo==null){\n sigmaFileInfo = (FileInfo) alphaFileInfo.clone();\n }\n sigmaFileInfo.setId(fileId);\n return sigmaFileInfo;\n }", "entities.Torrent.FileInfo getFiles(int index);", "com.google.devtools.kythe.proto.Analysis.FileInfoOrBuilder getEntryOrBuilder(\n int index);", "public final FileInfoBase getFileInfo() {\r\n return fileInfo;\r\n }", "public void setFileId(Long fileId) {\n/* 31:31 */ this.fileId = fileId;\n/* 32: */ }", "@Override\r\n\tpublic int addAnimalFileInfo(FileInfo fileInfo) {\n\t\treturn fileInfoMapper.addAnimalFileInfo(fileInfo);\r\n\t}", "public abstract long NewFileNumber();", "public Builder addFileInfo(\n int index, entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureFileInfoIsMutable();\n fileInfo_.add(index, value);\n onChanged();\n } else {\n fileInfoBuilder_.addMessage(index, value);\n }\n return this;\n }", "public FileInfo(File file) {\n this.file = file;\n }", "int attrib(int i, File v) {\n if (i < max) {\n AllFiles[i] = v;\n } else {\n File[] temp = new File[max];\n int j;\n for (j = 0; j < max; j++) temp[j] = AllFiles[j];\n AllFiles = new File[max + increase];\n for (j = 0; j < max; j++) AllFiles[j] = temp[j];\n max = max + increase;\n AllFiles[i] = v;\n }\n return (0);\n }", "public boolean hasFileInfo() {\n return fieldSetFlags()[15];\n }", "public Builder setFileInfo(\n int index, entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureFileInfoIsMutable();\n fileInfo_.set(index, value);\n onChanged();\n } else {\n fileInfoBuilder_.setMessage(index, value);\n }\n return this;\n }", "public com.opentext.bn.converters.avro.entity.PayloadRef getFileInfo() {\n return fileInfo;\n }", "entities.Torrent.FileInfoOrBuilder getFilesOrBuilder(\n int index);", "public com.opentext.bn.converters.avro.entity.PayloadRef getFileInfo() {\n return fileInfo;\n }", "com.google.devtools.kythe.proto.Analysis.FileInfo getEntry(int index);", "public TagFileInfo[] getTagFiles() {\n/* 176 */ return this.tagFiles;\n/* */ }", "public Builder setFileInfo(entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n fileInfo_ = value;\n onChanged();\n } else {\n fileInfoBuilder_.setMessage(value);\n }\n\n return this;\n }", "public Builder setFileInfo(entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n fileInfo_ = value;\n onChanged();\n } else {\n fileInfoBuilder_.setMessage(value);\n }\n\n return this;\n }", "private FileInfo(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "public Builder addAllFileInfo(\n java.lang.Iterable<? extends entities.Torrent.FileInfo> values) {\n if (fileInfoBuilder_ == null) {\n ensureFileInfoIsMutable();\n com.google.protobuf.AbstractMessageLite.Builder.addAll(\n values, fileInfo_);\n onChanged();\n } else {\n fileInfoBuilder_.addAllMessages(values);\n }\n return this;\n }", "public int getFileInfoCount() {\n if (fileInfoBuilder_ == null) {\n return fileInfo_.size();\n } else {\n return fileInfoBuilder_.getCount();\n }\n }", "public void constructWith(LzzFileInfo pro) {\n\t\tthis.id = pro.getId ();\n\n\t\tthis.fname = pro.getFname ();\n\n\t\tthis.ftype = pro.getFtype ();\n\n\t\tthis.fsavepath = pro.getFsavepath ();\n\n\t\tthis.furlpath = pro.getFurlpath ();\n\n\t\tthis.createTime = pro.getCreateTime ();\n\n\t\tthis.modifyTime = pro.getModifyTime ();\n\n\t\tthis.def1 = pro.getDef1 ();\n\n\t\tthis.def2 = pro.getDef2 ();\n\n\t\tthis.def3 = pro.getDef3 ();\n\n\t\tthis.def4 = pro.getDef4 ();\n\n\t\tthis.def5 = pro.getDef5 ();\n\n\t\tthis.def6 = pro.getDef6 ();\n\n\t\tthis.def7 = pro.getDef7 ();\n\n\t\tthis.def8 = pro.getDef8 ();\n\n\t\tthis.def9 = pro.getDef9 ();\n\n\t\tthis.def10 = pro.getDef10 ();\n\n\t\tthis.dr = pro.getDr ();\n\n\t}", "public FileInfo(NXTComm nxt, String fileName){\r\n\t\tthis.comm = nxt;\r\n\t\tthis.fileName = fileName;\r\n\t}", "public FileInfo()\r\n {\r\n hash = new HashInfo();\r\n }", "@Override\n public List<FileInfo> getLibrarySubFiles(FileInfo fileInfo) {\n return null;\n }", "public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder() {\n if (fileInfoBuilder_ != null) {\n return fileInfoBuilder_.getMessageOrBuilder();\n } else {\n return fileInfo_ == null ?\n entities.Torrent.FileInfo.getDefaultInstance() : fileInfo_;\n }\n }", "public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder() {\n if (fileInfoBuilder_ != null) {\n return fileInfoBuilder_.getMessageOrBuilder();\n } else {\n return fileInfo_ == null ?\n entities.Torrent.FileInfo.getDefaultInstance() : fileInfo_;\n }\n }", "public DotFileEnumerator(File file)\n {\n fileList.add(file.toString());\n }", "public Builder mergeFileInfo(entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (fileInfo_ != null) {\n fileInfo_ =\n entities.Torrent.FileInfo.newBuilder(fileInfo_).mergeFrom(value).buildPartial();\n } else {\n fileInfo_ = value;\n }\n onChanged();\n } else {\n fileInfoBuilder_.mergeFrom(value);\n }\n\n return this;\n }", "public Builder mergeFileInfo(entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (fileInfo_ != null) {\n fileInfo_ =\n entities.Torrent.FileInfo.newBuilder(fileInfo_).mergeFrom(value).buildPartial();\n } else {\n fileInfo_ = value;\n }\n onChanged();\n } else {\n fileInfoBuilder_.mergeFrom(value);\n }\n\n return this;\n }", "int getFileCount();", "public com.google.devtools.kythe.proto.Analysis.FileInfoOrBuilder getEntryOrBuilder(\n int index) {\n return entry_.get(index);\n }", "public int getFileFlags() { return fileFlags; }", "public Builder clearFileInfo() {\n if (fileInfoBuilder_ == null) {\n fileInfo_ = java.util.Collections.emptyList();\n bitField0_ = (bitField0_ & ~0x00000001);\n onChanged();\n } else {\n fileInfoBuilder_.clear();\n }\n return this;\n }", "public com.opentext.bn.converters.avro.entity.PayloadRef.Builder getFileInfoBuilder() {\n if (fileInfoBuilder == null) {\n if (hasFileInfo()) {\n setFileInfoBuilder(com.opentext.bn.converters.avro.entity.PayloadRef.newBuilder(fileInfo));\n } else {\n setFileInfoBuilder(com.opentext.bn.converters.avro.entity.PayloadRef.newBuilder());\n }\n }\n return fileInfoBuilder;\n }", "public void process(TiffFileInfo info)\n {\n }", "public com.google.devtools.kythe.proto.Analysis.FileInfo.Builder addEntryBuilder() {\n return getEntryFieldBuilder().addBuilder(\n com.google.devtools.kythe.proto.Analysis.FileInfo.getDefaultInstance());\n }", "@java.lang.Override\n public entities.Torrent.FileInfo getFileInfo(int index) {\n return fileInfo_.get(index);\n }", "public Long getFileId() {\n/* 35:35 */ return this.fileId;\n/* 36: */ }", "private com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.FileInfo, entities.Torrent.FileInfo.Builder, entities.Torrent.FileInfoOrBuilder>\n getFileInfoFieldBuilder() {\n if (fileInfoBuilder_ == null) {\n fileInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.FileInfo, entities.Torrent.FileInfo.Builder, entities.Torrent.FileInfoOrBuilder>(\n getFileInfo(),\n getParentForChildren(),\n isClean());\n fileInfo_ = null;\n }\n return fileInfoBuilder_;\n }", "private com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.FileInfo, entities.Torrent.FileInfo.Builder, entities.Torrent.FileInfoOrBuilder>\n getFileInfoFieldBuilder() {\n if (fileInfoBuilder_ == null) {\n fileInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.FileInfo, entities.Torrent.FileInfo.Builder, entities.Torrent.FileInfoOrBuilder>(\n getFileInfo(),\n getParentForChildren(),\n isClean());\n fileInfo_ = null;\n }\n return fileInfoBuilder_;\n }", "private void updateFiles() {\n\t}", "public entities.Torrent.FileInfo.Builder addFileInfoBuilder(\n int index) {\n return getFileInfoFieldBuilder().addBuilder(\n index, entities.Torrent.FileInfo.getDefaultInstance());\n }", "public interface FileSelectInfo\n{\n /**\n * Returns the base folder of the traversal.\n * @return FileObject representing the base folder.\n */\n FileObject getBaseFolder();\n\n /**\n * Returns the file (or folder) to be considered.\n * @return The FileObject.\n */\n FileObject getFile();\n\n /**\n * Returns the depth of the file relative to the base folder.\n * @return The depth of the file relative to the base folder.\n */\n int getDepth();\n}", "public entities.Torrent.FileInfo.Builder getFileInfoBuilder(\n int index) {\n return getFileInfoFieldBuilder().getBuilder(index);\n }", "public entities.Torrent.FileInfo.Builder getFileInfoBuilder() {\n\n onChanged();\n return getFileInfoFieldBuilder().getBuilder();\n }", "public entities.Torrent.FileInfo.Builder getFileInfoBuilder() {\n\n onChanged();\n return getFileInfoFieldBuilder().getBuilder();\n }", "public entities.Torrent.FileInfoOrBuilder getFilesOrBuilder(\n int index) {\n if (filesBuilder_ == null) {\n return files_.get(index); } else {\n return filesBuilder_.getMessageOrBuilder(index);\n }\n }", "private void getExtractWithFiles(){\n\t\ttry{\n\t\t\t\n\t\t\tFileInputStream fStream = new FileInputStream(tfile);\n\t\t\tfileBytes = new byte[(int)tfile.length()];\n\t\t\t\n\t\t\tfStream.read(fileBytes, 0, fileBytes.length);\n\t\t\tfileSize = fileBytes.length;\n\t\t}catch(Exception ex){\n\t\t\tSystem.err.println(\"File Packet \"+ex.getMessage());\n\t\t}\n\t}", "private static void printFileInfo(File file) {\n window.putLog(String.format(\"[%6dkb] Modified %s @%s\", 1 + file.length() / 1024,\n new SimpleDateFormat(\"YYYY-MM-dd HH:mm\").format(new Date(file.lastModified())),\n file.getPath().substring(workingDirectory.getParent().length())));\n }", "public interface FileSystemEntry {\n public long getCount();\n public long getSize();\n public String getName();\n}", "public PSMatrixFilesMeta() {\r\n this(-1, new ConcurrentSkipListMap<Integer, MatrixPartitionMeta>());\r\n }", "protected final void setFileInformation( FileInfo fInfo) {\n\t\tm_info = fInfo;\n\t}", "public java.util.List<? extends entities.Torrent.FileInfoOrBuilder>\n getFileInfoOrBuilderList() {\n if (fileInfoBuilder_ != null) {\n return fileInfoBuilder_.getMessageOrBuilderList();\n } else {\n return java.util.Collections.unmodifiableList(fileInfo_);\n }\n }", "int getFileNamesCount();", "int getFileNamesCount();", "public void filesNotFound(File... f) { }", "public void filesNotFound(File... f) { }", "@Override\n public void onPick(FileInfo f) {\n }", "public void setFileRecordCount(int ct) {\n\t\tfileRecordCount = ct;\n\t}", "public com.opentext.bn.converters.avro.entity.DocumentEvent.Builder setFileInfo(com.opentext.bn.converters.avro.entity.PayloadRef value) {\n validate(fields()[15], value);\n this.fileInfoBuilder = null;\n this.fileInfo = value;\n fieldSetFlags()[15] = true;\n return this;\n }", "public DotFileEnumerator(String filePath)\n {\n String[] tempArr = new File(filePath).list();\n\n for (String s : tempArr) {\n fileList.add(filePath + \"/\" + s);\n }\n }", "@java.lang.Override\n public entities.Torrent.FileInfo getFileInfo() {\n return fileInfo_ == null ? entities.Torrent.FileInfo.getDefaultInstance() : fileInfo_;\n }", "@java.lang.Override\n public entities.Torrent.FileInfo getFileInfo() {\n return fileInfo_ == null ? entities.Torrent.FileInfo.getDefaultInstance() : fileInfo_;\n }", "public FileInfoICS(String name, String directory, int format) {\r\n super(name, directory, format);\r\n }", "public FileInfo(FileInfo v)\n \t{\n \t\ttitle = v.title;\n \t\tauthors = v.authors;\n \t\tseries = v.series;\n \t\tseriesNumber = v.seriesNumber;\n \t\tpath = v.path;\n \t\tfilename = v.filename;\n \t\tpathname = v.pathname;\n \t\tarcname = v.arcname;\n \t\tformat = v.format;\n \t\tsize = v.size;\n \t\tarcsize = v.arcsize;\n \t\tisArchive = v.isArchive;\n \t\tisDirectory = v.isDirectory;\n \t\tcreateTime = v.createTime;\n \t\tlastAccessTime = v.lastAccessTime;\n \t}", "public ImageFiles() {\n\t\tthis.listOne = new ArrayList<String>();\n\t\tthis.listTwo = new ArrayList<String>();\n\t\tthis.listThree = new ArrayList<String>();\n\t\tthis.seenImages = new ArrayList<String>();\n\t\tthis.unseenImages = new ArrayList<String>();\n\t}", "@java.lang.Override\n public java.util.List<? extends entities.Torrent.FileInfoOrBuilder>\n getFileInfoOrBuilderList() {\n return fileInfo_;\n }", "int countByExample(AvwFileprocessExample example);", "public Builder addEntry(com.google.devtools.kythe.proto.Analysis.FileInfo value) {\n if (entryBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureEntryIsMutable();\n entry_.add(value);\n onChanged();\n } else {\n entryBuilder_.addMessage(value);\n }\n return this;\n }", "ds.hdfs.generated.FileMetadata getFiles(int index);", "java.util.List<? extends entities.Torrent.FileInfoOrBuilder>\n getFileInfoOrBuilderList();", "public Long getFileID()\n/* */ {\n/* 88 */ return this.fileID;\n/* */ }", "public void incuploadcount(){\n\t\tthis. num_upload++;\n\t}", "public Vector<file> count()\n {\n Vector<Model.file> files = new Vector<>();\n try\n {\n pw.println(11);\n\n files = (Vector<Model.file>) ois.readObject();\n\n }\n catch (ClassNotFoundException | IOException e)\n {\n System.out.println(e.getMessage());\n }\n return files ;\n }" ]
[ "0.63404644", "0.60424006", "0.58997285", "0.5897735", "0.5897735", "0.5893349", "0.5840858", "0.5782364", "0.575059", "0.56671757", "0.5661143", "0.5629983", "0.55628306", "0.55628306", "0.54918736", "0.54439086", "0.5438974", "0.5436454", "0.53865486", "0.53812563", "0.53554535", "0.53554535", "0.5350297", "0.53485256", "0.5337326", "0.5325269", "0.5323776", "0.5317618", "0.5316972", "0.5301568", "0.5289526", "0.52858317", "0.527939", "0.527717", "0.5246745", "0.5238312", "0.52333695", "0.52198213", "0.520472", "0.5197636", "0.5181744", "0.5180735", "0.5179602", "0.5171487", "0.5170226", "0.5151229", "0.5126351", "0.51164293", "0.51105917", "0.51006323", "0.5064827", "0.5064827", "0.5030081", "0.50298166", "0.5029732", "0.50183815", "0.5008859", "0.5008625", "0.5002189", "0.5000041", "0.4996095", "0.49911362", "0.4988522", "0.49871376", "0.49688184", "0.4968441", "0.49640483", "0.49627694", "0.49464682", "0.49452326", "0.49435145", "0.4940706", "0.4939512", "0.4919068", "0.49134657", "0.4912824", "0.48992985", "0.48903668", "0.4889867", "0.48865864", "0.48865864", "0.48813212", "0.48813212", "0.48808643", "0.48788455", "0.48786306", "0.4874242", "0.48689762", "0.48689762", "0.48684502", "0.48670304", "0.48606005", "0.48516285", "0.48392272", "0.48242542", "0.48236215", "0.48225048", "0.4821103", "0.48174718", "0.4813819" ]
0.5305772
29
repeated .FileInfo fileInfo = 3;
public entities.Torrent.FileInfo.Builder addFileInfoBuilder( int index) { return getFileInfoFieldBuilder().addBuilder( index, entities.Torrent.FileInfo.getDefaultInstance()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public FileInfo getFileInfo() {\n return fileInfo;\n }", "@Test\n\tpublic void testSetFileInfo() {\n\n\t}", "FileInfo create(FileInfo fileInfo);", "entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder();", "entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder();", "public void fileInfo(String info);", "@Override\n public void addSingleFile(FileInfo file) {\n }", "void update(FileInfo fileInfo);", "int getFileInfoCount();", "public void incFileCount(){\n\t\tthis.num_files++;\n\t}", "entities.Torrent.FileInfo getFileInfo(int index);", "public boolean nextFileInfo(FileInfo info) {\n\n\t\t// Get the next file from the search\n\n\t\ttry {\n\n\t\t\t// Return the next file details or loop until a match is found if a\n\t\t\t// complex wildcard filter\n\t\t\t// has been specified\n\t\t\twhile (m_rs.next()) {\n\t\t\t\tString name = m_rs.getString(\"name\");\n\t\t\t\t// Get the file name for the next file\n\t\t\t\tinfo.setFileId(m_rs.getInt(\"id\"));\n\t\t\t\tinfo.setFileName(name);\n\t\t\t\tinfo.setSize(m_rs.getLong(\"size\"));\n\t\t\t\tif(name.equalsIgnoreCase(DBUtil.CLOUDURL))\n\t\t\t\t{\n\t\t\t\t\ttry{\n\t\t\t\t\t//重设置大小\n\t\t\t\t\tinfo.setFileId(-99);\n//\t\t\t\t\tinfo.setFileId(-userId);\n\t\t\t\t\tinfo.setSize(DBUtil.getURLMYFILE_TXT(this.getBaseUrl(),userId).getBytes().length);\n\t\t\t\t\t}catch(Exception e)\n\t\t\t\t\t{\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tlong modifyDate = m_rs.getLong(\"lastModified\");\n\t\t\t\tif (modifyDate != 0L)\n\t\t\t\t\tinfo.setModifyDateTime(modifyDate);\n\t\t\t\telse\n\t\t\t\t\tinfo.setModifyDateTime(System.currentTimeMillis());\n\t\t\t\t\n\t\t\t\tTimestamp ts = m_rs.getTimestamp(\"add_time\");\n\t\t\t\tif (ts !=null && ts.getTime()>0)\n\t\t\t\t{\n\t\t\t\t\tinfo.setCreationDateTime(ts.getTime());\n\t\t\t\t\tinfo.setChangeDateTime(info.getModifyDateTime());\n\t\t\t\t}\n\t\t\t\telse\n\t\t\t\t{\n\t\t\t\t\tinfo.setCreationDateTime(info.getModifyDateTime());\n\t\t\t\t\tinfo.setChangeDateTime(info.getModifyDateTime());\n\t\t\t\t}\t\t\t\t\n\t\t\t\tint attr = 0;\n\t\t\t\tif (m_rs.getBoolean(\"isFile\") == true) {\n\t\t\t\t\tinfo.setFileType(FileType.RegularFile);\t\t\t\t\t\n\t\t\t\t\tattr += FileAttribute.ReadOnly;// 只读权限\n\t\t\t\t} else\n\t\t\t\t\tattr += FileAttribute.Directory;\n\n\t\t\t\tif (m_rs.getBoolean(\"isHidden\") == true) \n\t\t\t\t{\n\t\t\t\t\tattr += FileAttribute.Hidden;//隐藏\n\t\t\t\t}\n\t\t\t\tinfo.setFileType(FileType.Directory);\n\t\t\t\t\t\t\t\t\n\t\t\t\tif (hasMarkAsOffline()) {\n\t\t\t\t\tif (getOfflineFileSize() == 0 || info.getSize() >= getOfflineFileSize())\n\t\t\t\t\t\tattr += FileAttribute.NTOffline;\n\t\t\t\t}\n\t\t\t\tinfo.setFileAttributes(attr);\n\t\t\t\tinfo.setUid(userId);\n\n\t\t\t\tif (m_filter == null || m_filter.matchesPattern(info.getFileName()) == true)\n\t\t\t\t\treturn true;\n\t\t\t}\n\t\t} catch (SQLException ex) {\n\t\t\tex.printStackTrace();\n\t\t}\n\t\t// No more files\n\t\tcloseSearch();\n\t\treturn false;\n\t}", "entities.Torrent.FileInfo getFileInfo();", "entities.Torrent.FileInfo getFileInfo();", "entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder(\n int index);", "DiscFileInfo getFileInfo(String path) throws IOException;", "void setFile(String i) {\n file = i;\n }", "@java.lang.Override\n public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder(\n int index) {\n return fileInfo_.get(index);\n }", "@java.lang.Override\n public int getFileInfoCount() {\n return fileInfo_.size();\n }", "public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder(\n int index) {\n if (fileInfoBuilder_ == null) {\n return fileInfo_.get(index); } else {\n return fileInfoBuilder_.getMessageOrBuilder(index);\n }\n }", "@java.lang.Override\n public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder() {\n return getFileInfo();\n }", "@java.lang.Override\n public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder() {\n return getFileInfo();\n }", "fileInfo(){\n\t\tsymbol = new node[MAXLINECOUNT + 2];\n\t\tother = null; // allocated later!\n\t}", "public Builder addFileInfo(entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureFileInfoIsMutable();\n fileInfo_.add(value);\n onChanged();\n } else {\n fileInfoBuilder_.addMessage(value);\n }\n return this;\n }", "public synchronized FileInfo getOrAddFileInfo(FileInfo alphaFileInfo) {\n String app = alphaFileInfo.getApp();\n String caption = alphaFileInfo.getCaption();\n AppAndCaptionKey key = new AppAndCaptionKey(app, caption);\n String fileId = appAndCaptionToId.get(key);\n if(fileId==null){\n fileId = getNextFileId();\n appAndCaptionToId.put(key, fileId);\n }\n\n //2. Creating file info\n FileInfo sigmaFileInfo = fileCache.getFileInfo(app,fileId);\n if(sigmaFileInfo==null){\n sigmaFileInfo = (FileInfo) alphaFileInfo.clone();\n }\n sigmaFileInfo.setId(fileId);\n return sigmaFileInfo;\n }", "entities.Torrent.FileInfo getFiles(int index);", "com.google.devtools.kythe.proto.Analysis.FileInfoOrBuilder getEntryOrBuilder(\n int index);", "public final FileInfoBase getFileInfo() {\r\n return fileInfo;\r\n }", "public void setFileId(Long fileId) {\n/* 31:31 */ this.fileId = fileId;\n/* 32: */ }", "public entities.Torrent.FileInfo.Builder addFileInfoBuilder() {\n return getFileInfoFieldBuilder().addBuilder(\n entities.Torrent.FileInfo.getDefaultInstance());\n }", "@Override\r\n\tpublic int addAnimalFileInfo(FileInfo fileInfo) {\n\t\treturn fileInfoMapper.addAnimalFileInfo(fileInfo);\r\n\t}", "public abstract long NewFileNumber();", "public Builder addFileInfo(\n int index, entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureFileInfoIsMutable();\n fileInfo_.add(index, value);\n onChanged();\n } else {\n fileInfoBuilder_.addMessage(index, value);\n }\n return this;\n }", "public FileInfo(File file) {\n this.file = file;\n }", "int attrib(int i, File v) {\n if (i < max) {\n AllFiles[i] = v;\n } else {\n File[] temp = new File[max];\n int j;\n for (j = 0; j < max; j++) temp[j] = AllFiles[j];\n AllFiles = new File[max + increase];\n for (j = 0; j < max; j++) AllFiles[j] = temp[j];\n max = max + increase;\n AllFiles[i] = v;\n }\n return (0);\n }", "public boolean hasFileInfo() {\n return fieldSetFlags()[15];\n }", "public Builder setFileInfo(\n int index, entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureFileInfoIsMutable();\n fileInfo_.set(index, value);\n onChanged();\n } else {\n fileInfoBuilder_.setMessage(index, value);\n }\n return this;\n }", "public com.opentext.bn.converters.avro.entity.PayloadRef getFileInfo() {\n return fileInfo;\n }", "entities.Torrent.FileInfoOrBuilder getFilesOrBuilder(\n int index);", "public com.opentext.bn.converters.avro.entity.PayloadRef getFileInfo() {\n return fileInfo;\n }", "com.google.devtools.kythe.proto.Analysis.FileInfo getEntry(int index);", "public TagFileInfo[] getTagFiles() {\n/* 176 */ return this.tagFiles;\n/* */ }", "public Builder setFileInfo(entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n fileInfo_ = value;\n onChanged();\n } else {\n fileInfoBuilder_.setMessage(value);\n }\n\n return this;\n }", "public Builder setFileInfo(entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n fileInfo_ = value;\n onChanged();\n } else {\n fileInfoBuilder_.setMessage(value);\n }\n\n return this;\n }", "private FileInfo(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "public Builder addAllFileInfo(\n java.lang.Iterable<? extends entities.Torrent.FileInfo> values) {\n if (fileInfoBuilder_ == null) {\n ensureFileInfoIsMutable();\n com.google.protobuf.AbstractMessageLite.Builder.addAll(\n values, fileInfo_);\n onChanged();\n } else {\n fileInfoBuilder_.addAllMessages(values);\n }\n return this;\n }", "public int getFileInfoCount() {\n if (fileInfoBuilder_ == null) {\n return fileInfo_.size();\n } else {\n return fileInfoBuilder_.getCount();\n }\n }", "public void constructWith(LzzFileInfo pro) {\n\t\tthis.id = pro.getId ();\n\n\t\tthis.fname = pro.getFname ();\n\n\t\tthis.ftype = pro.getFtype ();\n\n\t\tthis.fsavepath = pro.getFsavepath ();\n\n\t\tthis.furlpath = pro.getFurlpath ();\n\n\t\tthis.createTime = pro.getCreateTime ();\n\n\t\tthis.modifyTime = pro.getModifyTime ();\n\n\t\tthis.def1 = pro.getDef1 ();\n\n\t\tthis.def2 = pro.getDef2 ();\n\n\t\tthis.def3 = pro.getDef3 ();\n\n\t\tthis.def4 = pro.getDef4 ();\n\n\t\tthis.def5 = pro.getDef5 ();\n\n\t\tthis.def6 = pro.getDef6 ();\n\n\t\tthis.def7 = pro.getDef7 ();\n\n\t\tthis.def8 = pro.getDef8 ();\n\n\t\tthis.def9 = pro.getDef9 ();\n\n\t\tthis.def10 = pro.getDef10 ();\n\n\t\tthis.dr = pro.getDr ();\n\n\t}", "public FileInfo(NXTComm nxt, String fileName){\r\n\t\tthis.comm = nxt;\r\n\t\tthis.fileName = fileName;\r\n\t}", "public FileInfo()\r\n {\r\n hash = new HashInfo();\r\n }", "@Override\n public List<FileInfo> getLibrarySubFiles(FileInfo fileInfo) {\n return null;\n }", "public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder() {\n if (fileInfoBuilder_ != null) {\n return fileInfoBuilder_.getMessageOrBuilder();\n } else {\n return fileInfo_ == null ?\n entities.Torrent.FileInfo.getDefaultInstance() : fileInfo_;\n }\n }", "public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder() {\n if (fileInfoBuilder_ != null) {\n return fileInfoBuilder_.getMessageOrBuilder();\n } else {\n return fileInfo_ == null ?\n entities.Torrent.FileInfo.getDefaultInstance() : fileInfo_;\n }\n }", "public DotFileEnumerator(File file)\n {\n fileList.add(file.toString());\n }", "public Builder mergeFileInfo(entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (fileInfo_ != null) {\n fileInfo_ =\n entities.Torrent.FileInfo.newBuilder(fileInfo_).mergeFrom(value).buildPartial();\n } else {\n fileInfo_ = value;\n }\n onChanged();\n } else {\n fileInfoBuilder_.mergeFrom(value);\n }\n\n return this;\n }", "public Builder mergeFileInfo(entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (fileInfo_ != null) {\n fileInfo_ =\n entities.Torrent.FileInfo.newBuilder(fileInfo_).mergeFrom(value).buildPartial();\n } else {\n fileInfo_ = value;\n }\n onChanged();\n } else {\n fileInfoBuilder_.mergeFrom(value);\n }\n\n return this;\n }", "int getFileCount();", "public com.google.devtools.kythe.proto.Analysis.FileInfoOrBuilder getEntryOrBuilder(\n int index) {\n return entry_.get(index);\n }", "public int getFileFlags() { return fileFlags; }", "public Builder clearFileInfo() {\n if (fileInfoBuilder_ == null) {\n fileInfo_ = java.util.Collections.emptyList();\n bitField0_ = (bitField0_ & ~0x00000001);\n onChanged();\n } else {\n fileInfoBuilder_.clear();\n }\n return this;\n }", "public com.opentext.bn.converters.avro.entity.PayloadRef.Builder getFileInfoBuilder() {\n if (fileInfoBuilder == null) {\n if (hasFileInfo()) {\n setFileInfoBuilder(com.opentext.bn.converters.avro.entity.PayloadRef.newBuilder(fileInfo));\n } else {\n setFileInfoBuilder(com.opentext.bn.converters.avro.entity.PayloadRef.newBuilder());\n }\n }\n return fileInfoBuilder;\n }", "public void process(TiffFileInfo info)\n {\n }", "public com.google.devtools.kythe.proto.Analysis.FileInfo.Builder addEntryBuilder() {\n return getEntryFieldBuilder().addBuilder(\n com.google.devtools.kythe.proto.Analysis.FileInfo.getDefaultInstance());\n }", "@java.lang.Override\n public entities.Torrent.FileInfo getFileInfo(int index) {\n return fileInfo_.get(index);\n }", "public Long getFileId() {\n/* 35:35 */ return this.fileId;\n/* 36: */ }", "private com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.FileInfo, entities.Torrent.FileInfo.Builder, entities.Torrent.FileInfoOrBuilder>\n getFileInfoFieldBuilder() {\n if (fileInfoBuilder_ == null) {\n fileInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.FileInfo, entities.Torrent.FileInfo.Builder, entities.Torrent.FileInfoOrBuilder>(\n getFileInfo(),\n getParentForChildren(),\n isClean());\n fileInfo_ = null;\n }\n return fileInfoBuilder_;\n }", "private com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.FileInfo, entities.Torrent.FileInfo.Builder, entities.Torrent.FileInfoOrBuilder>\n getFileInfoFieldBuilder() {\n if (fileInfoBuilder_ == null) {\n fileInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.FileInfo, entities.Torrent.FileInfo.Builder, entities.Torrent.FileInfoOrBuilder>(\n getFileInfo(),\n getParentForChildren(),\n isClean());\n fileInfo_ = null;\n }\n return fileInfoBuilder_;\n }", "private void updateFiles() {\n\t}", "public interface FileSelectInfo\n{\n /**\n * Returns the base folder of the traversal.\n * @return FileObject representing the base folder.\n */\n FileObject getBaseFolder();\n\n /**\n * Returns the file (or folder) to be considered.\n * @return The FileObject.\n */\n FileObject getFile();\n\n /**\n * Returns the depth of the file relative to the base folder.\n * @return The depth of the file relative to the base folder.\n */\n int getDepth();\n}", "public entities.Torrent.FileInfo.Builder getFileInfoBuilder(\n int index) {\n return getFileInfoFieldBuilder().getBuilder(index);\n }", "public entities.Torrent.FileInfo.Builder getFileInfoBuilder() {\n\n onChanged();\n return getFileInfoFieldBuilder().getBuilder();\n }", "public entities.Torrent.FileInfo.Builder getFileInfoBuilder() {\n\n onChanged();\n return getFileInfoFieldBuilder().getBuilder();\n }", "public entities.Torrent.FileInfoOrBuilder getFilesOrBuilder(\n int index) {\n if (filesBuilder_ == null) {\n return files_.get(index); } else {\n return filesBuilder_.getMessageOrBuilder(index);\n }\n }", "private void getExtractWithFiles(){\n\t\ttry{\n\t\t\t\n\t\t\tFileInputStream fStream = new FileInputStream(tfile);\n\t\t\tfileBytes = new byte[(int)tfile.length()];\n\t\t\t\n\t\t\tfStream.read(fileBytes, 0, fileBytes.length);\n\t\t\tfileSize = fileBytes.length;\n\t\t}catch(Exception ex){\n\t\t\tSystem.err.println(\"File Packet \"+ex.getMessage());\n\t\t}\n\t}", "private static void printFileInfo(File file) {\n window.putLog(String.format(\"[%6dkb] Modified %s @%s\", 1 + file.length() / 1024,\n new SimpleDateFormat(\"YYYY-MM-dd HH:mm\").format(new Date(file.lastModified())),\n file.getPath().substring(workingDirectory.getParent().length())));\n }", "public interface FileSystemEntry {\n public long getCount();\n public long getSize();\n public String getName();\n}", "public PSMatrixFilesMeta() {\r\n this(-1, new ConcurrentSkipListMap<Integer, MatrixPartitionMeta>());\r\n }", "protected final void setFileInformation( FileInfo fInfo) {\n\t\tm_info = fInfo;\n\t}", "public java.util.List<? extends entities.Torrent.FileInfoOrBuilder>\n getFileInfoOrBuilderList() {\n if (fileInfoBuilder_ != null) {\n return fileInfoBuilder_.getMessageOrBuilderList();\n } else {\n return java.util.Collections.unmodifiableList(fileInfo_);\n }\n }", "int getFileNamesCount();", "int getFileNamesCount();", "public void filesNotFound(File... f) { }", "public void filesNotFound(File... f) { }", "@Override\n public void onPick(FileInfo f) {\n }", "public void setFileRecordCount(int ct) {\n\t\tfileRecordCount = ct;\n\t}", "public com.opentext.bn.converters.avro.entity.DocumentEvent.Builder setFileInfo(com.opentext.bn.converters.avro.entity.PayloadRef value) {\n validate(fields()[15], value);\n this.fileInfoBuilder = null;\n this.fileInfo = value;\n fieldSetFlags()[15] = true;\n return this;\n }", "public DotFileEnumerator(String filePath)\n {\n String[] tempArr = new File(filePath).list();\n\n for (String s : tempArr) {\n fileList.add(filePath + \"/\" + s);\n }\n }", "@java.lang.Override\n public entities.Torrent.FileInfo getFileInfo() {\n return fileInfo_ == null ? entities.Torrent.FileInfo.getDefaultInstance() : fileInfo_;\n }", "@java.lang.Override\n public entities.Torrent.FileInfo getFileInfo() {\n return fileInfo_ == null ? entities.Torrent.FileInfo.getDefaultInstance() : fileInfo_;\n }", "public FileInfoICS(String name, String directory, int format) {\r\n super(name, directory, format);\r\n }", "public FileInfo(FileInfo v)\n \t{\n \t\ttitle = v.title;\n \t\tauthors = v.authors;\n \t\tseries = v.series;\n \t\tseriesNumber = v.seriesNumber;\n \t\tpath = v.path;\n \t\tfilename = v.filename;\n \t\tpathname = v.pathname;\n \t\tarcname = v.arcname;\n \t\tformat = v.format;\n \t\tsize = v.size;\n \t\tarcsize = v.arcsize;\n \t\tisArchive = v.isArchive;\n \t\tisDirectory = v.isDirectory;\n \t\tcreateTime = v.createTime;\n \t\tlastAccessTime = v.lastAccessTime;\n \t}", "public ImageFiles() {\n\t\tthis.listOne = new ArrayList<String>();\n\t\tthis.listTwo = new ArrayList<String>();\n\t\tthis.listThree = new ArrayList<String>();\n\t\tthis.seenImages = new ArrayList<String>();\n\t\tthis.unseenImages = new ArrayList<String>();\n\t}", "@java.lang.Override\n public java.util.List<? extends entities.Torrent.FileInfoOrBuilder>\n getFileInfoOrBuilderList() {\n return fileInfo_;\n }", "int countByExample(AvwFileprocessExample example);", "public Builder addEntry(com.google.devtools.kythe.proto.Analysis.FileInfo value) {\n if (entryBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureEntryIsMutable();\n entry_.add(value);\n onChanged();\n } else {\n entryBuilder_.addMessage(value);\n }\n return this;\n }", "ds.hdfs.generated.FileMetadata getFiles(int index);", "java.util.List<? extends entities.Torrent.FileInfoOrBuilder>\n getFileInfoOrBuilderList();", "public Long getFileID()\n/* */ {\n/* 88 */ return this.fileID;\n/* */ }", "public void incuploadcount(){\n\t\tthis. num_upload++;\n\t}", "public Vector<file> count()\n {\n Vector<Model.file> files = new Vector<>();\n try\n {\n pw.println(11);\n\n files = (Vector<Model.file>) ois.readObject();\n\n }\n catch (ClassNotFoundException | IOException e)\n {\n System.out.println(e.getMessage());\n }\n return files ;\n }" ]
[ "0.63404644", "0.60424006", "0.58997285", "0.5897735", "0.5897735", "0.5893349", "0.5840858", "0.5782364", "0.575059", "0.56671757", "0.5661143", "0.5629983", "0.55628306", "0.55628306", "0.54918736", "0.54439086", "0.5438974", "0.5436454", "0.53865486", "0.53812563", "0.53554535", "0.53554535", "0.5350297", "0.53485256", "0.5337326", "0.5325269", "0.5323776", "0.5317618", "0.5316972", "0.5305772", "0.5301568", "0.5289526", "0.52858317", "0.527939", "0.527717", "0.5246745", "0.5238312", "0.52333695", "0.52198213", "0.520472", "0.5197636", "0.5181744", "0.5180735", "0.5179602", "0.5171487", "0.5170226", "0.5151229", "0.5126351", "0.51164293", "0.51105917", "0.51006323", "0.5064827", "0.5064827", "0.5030081", "0.50298166", "0.5029732", "0.50183815", "0.5008859", "0.5008625", "0.5002189", "0.5000041", "0.4996095", "0.49911362", "0.4988522", "0.49871376", "0.49688184", "0.4968441", "0.49640483", "0.49464682", "0.49452326", "0.49435145", "0.4940706", "0.4939512", "0.4919068", "0.49134657", "0.4912824", "0.48992985", "0.48903668", "0.4889867", "0.48865864", "0.48865864", "0.48813212", "0.48813212", "0.48808643", "0.48788455", "0.48786306", "0.4874242", "0.48689762", "0.48689762", "0.48684502", "0.48670304", "0.48606005", "0.48516285", "0.48392272", "0.48242542", "0.48236215", "0.48225048", "0.4821103", "0.48174718", "0.4813819" ]
0.49627694
68
repeated .FileInfo fileInfo = 3;
public java.util.List<entities.Torrent.FileInfo.Builder> getFileInfoBuilderList() { return getFileInfoFieldBuilder().getBuilderList(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public FileInfo getFileInfo() {\n return fileInfo;\n }", "@Test\n\tpublic void testSetFileInfo() {\n\n\t}", "FileInfo create(FileInfo fileInfo);", "entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder();", "entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder();", "public void fileInfo(String info);", "@Override\n public void addSingleFile(FileInfo file) {\n }", "void update(FileInfo fileInfo);", "int getFileInfoCount();", "public void incFileCount(){\n\t\tthis.num_files++;\n\t}", "entities.Torrent.FileInfo getFileInfo(int index);", "public boolean nextFileInfo(FileInfo info) {\n\n\t\t// Get the next file from the search\n\n\t\ttry {\n\n\t\t\t// Return the next file details or loop until a match is found if a\n\t\t\t// complex wildcard filter\n\t\t\t// has been specified\n\t\t\twhile (m_rs.next()) {\n\t\t\t\tString name = m_rs.getString(\"name\");\n\t\t\t\t// Get the file name for the next file\n\t\t\t\tinfo.setFileId(m_rs.getInt(\"id\"));\n\t\t\t\tinfo.setFileName(name);\n\t\t\t\tinfo.setSize(m_rs.getLong(\"size\"));\n\t\t\t\tif(name.equalsIgnoreCase(DBUtil.CLOUDURL))\n\t\t\t\t{\n\t\t\t\t\ttry{\n\t\t\t\t\t//重设置大小\n\t\t\t\t\tinfo.setFileId(-99);\n//\t\t\t\t\tinfo.setFileId(-userId);\n\t\t\t\t\tinfo.setSize(DBUtil.getURLMYFILE_TXT(this.getBaseUrl(),userId).getBytes().length);\n\t\t\t\t\t}catch(Exception e)\n\t\t\t\t\t{\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tlong modifyDate = m_rs.getLong(\"lastModified\");\n\t\t\t\tif (modifyDate != 0L)\n\t\t\t\t\tinfo.setModifyDateTime(modifyDate);\n\t\t\t\telse\n\t\t\t\t\tinfo.setModifyDateTime(System.currentTimeMillis());\n\t\t\t\t\n\t\t\t\tTimestamp ts = m_rs.getTimestamp(\"add_time\");\n\t\t\t\tif (ts !=null && ts.getTime()>0)\n\t\t\t\t{\n\t\t\t\t\tinfo.setCreationDateTime(ts.getTime());\n\t\t\t\t\tinfo.setChangeDateTime(info.getModifyDateTime());\n\t\t\t\t}\n\t\t\t\telse\n\t\t\t\t{\n\t\t\t\t\tinfo.setCreationDateTime(info.getModifyDateTime());\n\t\t\t\t\tinfo.setChangeDateTime(info.getModifyDateTime());\n\t\t\t\t}\t\t\t\t\n\t\t\t\tint attr = 0;\n\t\t\t\tif (m_rs.getBoolean(\"isFile\") == true) {\n\t\t\t\t\tinfo.setFileType(FileType.RegularFile);\t\t\t\t\t\n\t\t\t\t\tattr += FileAttribute.ReadOnly;// 只读权限\n\t\t\t\t} else\n\t\t\t\t\tattr += FileAttribute.Directory;\n\n\t\t\t\tif (m_rs.getBoolean(\"isHidden\") == true) \n\t\t\t\t{\n\t\t\t\t\tattr += FileAttribute.Hidden;//隐藏\n\t\t\t\t}\n\t\t\t\tinfo.setFileType(FileType.Directory);\n\t\t\t\t\t\t\t\t\n\t\t\t\tif (hasMarkAsOffline()) {\n\t\t\t\t\tif (getOfflineFileSize() == 0 || info.getSize() >= getOfflineFileSize())\n\t\t\t\t\t\tattr += FileAttribute.NTOffline;\n\t\t\t\t}\n\t\t\t\tinfo.setFileAttributes(attr);\n\t\t\t\tinfo.setUid(userId);\n\n\t\t\t\tif (m_filter == null || m_filter.matchesPattern(info.getFileName()) == true)\n\t\t\t\t\treturn true;\n\t\t\t}\n\t\t} catch (SQLException ex) {\n\t\t\tex.printStackTrace();\n\t\t}\n\t\t// No more files\n\t\tcloseSearch();\n\t\treturn false;\n\t}", "entities.Torrent.FileInfo getFileInfo();", "entities.Torrent.FileInfo getFileInfo();", "entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder(\n int index);", "DiscFileInfo getFileInfo(String path) throws IOException;", "void setFile(String i) {\n file = i;\n }", "@java.lang.Override\n public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder(\n int index) {\n return fileInfo_.get(index);\n }", "@java.lang.Override\n public int getFileInfoCount() {\n return fileInfo_.size();\n }", "public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder(\n int index) {\n if (fileInfoBuilder_ == null) {\n return fileInfo_.get(index); } else {\n return fileInfoBuilder_.getMessageOrBuilder(index);\n }\n }", "@java.lang.Override\n public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder() {\n return getFileInfo();\n }", "@java.lang.Override\n public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder() {\n return getFileInfo();\n }", "fileInfo(){\n\t\tsymbol = new node[MAXLINECOUNT + 2];\n\t\tother = null; // allocated later!\n\t}", "public Builder addFileInfo(entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureFileInfoIsMutable();\n fileInfo_.add(value);\n onChanged();\n } else {\n fileInfoBuilder_.addMessage(value);\n }\n return this;\n }", "public synchronized FileInfo getOrAddFileInfo(FileInfo alphaFileInfo) {\n String app = alphaFileInfo.getApp();\n String caption = alphaFileInfo.getCaption();\n AppAndCaptionKey key = new AppAndCaptionKey(app, caption);\n String fileId = appAndCaptionToId.get(key);\n if(fileId==null){\n fileId = getNextFileId();\n appAndCaptionToId.put(key, fileId);\n }\n\n //2. Creating file info\n FileInfo sigmaFileInfo = fileCache.getFileInfo(app,fileId);\n if(sigmaFileInfo==null){\n sigmaFileInfo = (FileInfo) alphaFileInfo.clone();\n }\n sigmaFileInfo.setId(fileId);\n return sigmaFileInfo;\n }", "entities.Torrent.FileInfo getFiles(int index);", "com.google.devtools.kythe.proto.Analysis.FileInfoOrBuilder getEntryOrBuilder(\n int index);", "public final FileInfoBase getFileInfo() {\r\n return fileInfo;\r\n }", "public void setFileId(Long fileId) {\n/* 31:31 */ this.fileId = fileId;\n/* 32: */ }", "public entities.Torrent.FileInfo.Builder addFileInfoBuilder() {\n return getFileInfoFieldBuilder().addBuilder(\n entities.Torrent.FileInfo.getDefaultInstance());\n }", "@Override\r\n\tpublic int addAnimalFileInfo(FileInfo fileInfo) {\n\t\treturn fileInfoMapper.addAnimalFileInfo(fileInfo);\r\n\t}", "public abstract long NewFileNumber();", "public Builder addFileInfo(\n int index, entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureFileInfoIsMutable();\n fileInfo_.add(index, value);\n onChanged();\n } else {\n fileInfoBuilder_.addMessage(index, value);\n }\n return this;\n }", "public FileInfo(File file) {\n this.file = file;\n }", "int attrib(int i, File v) {\n if (i < max) {\n AllFiles[i] = v;\n } else {\n File[] temp = new File[max];\n int j;\n for (j = 0; j < max; j++) temp[j] = AllFiles[j];\n AllFiles = new File[max + increase];\n for (j = 0; j < max; j++) AllFiles[j] = temp[j];\n max = max + increase;\n AllFiles[i] = v;\n }\n return (0);\n }", "public boolean hasFileInfo() {\n return fieldSetFlags()[15];\n }", "public Builder setFileInfo(\n int index, entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureFileInfoIsMutable();\n fileInfo_.set(index, value);\n onChanged();\n } else {\n fileInfoBuilder_.setMessage(index, value);\n }\n return this;\n }", "public com.opentext.bn.converters.avro.entity.PayloadRef getFileInfo() {\n return fileInfo;\n }", "entities.Torrent.FileInfoOrBuilder getFilesOrBuilder(\n int index);", "public com.opentext.bn.converters.avro.entity.PayloadRef getFileInfo() {\n return fileInfo;\n }", "com.google.devtools.kythe.proto.Analysis.FileInfo getEntry(int index);", "public TagFileInfo[] getTagFiles() {\n/* 176 */ return this.tagFiles;\n/* */ }", "public Builder setFileInfo(entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n fileInfo_ = value;\n onChanged();\n } else {\n fileInfoBuilder_.setMessage(value);\n }\n\n return this;\n }", "public Builder setFileInfo(entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n fileInfo_ = value;\n onChanged();\n } else {\n fileInfoBuilder_.setMessage(value);\n }\n\n return this;\n }", "private FileInfo(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "public Builder addAllFileInfo(\n java.lang.Iterable<? extends entities.Torrent.FileInfo> values) {\n if (fileInfoBuilder_ == null) {\n ensureFileInfoIsMutable();\n com.google.protobuf.AbstractMessageLite.Builder.addAll(\n values, fileInfo_);\n onChanged();\n } else {\n fileInfoBuilder_.addAllMessages(values);\n }\n return this;\n }", "public int getFileInfoCount() {\n if (fileInfoBuilder_ == null) {\n return fileInfo_.size();\n } else {\n return fileInfoBuilder_.getCount();\n }\n }", "public void constructWith(LzzFileInfo pro) {\n\t\tthis.id = pro.getId ();\n\n\t\tthis.fname = pro.getFname ();\n\n\t\tthis.ftype = pro.getFtype ();\n\n\t\tthis.fsavepath = pro.getFsavepath ();\n\n\t\tthis.furlpath = pro.getFurlpath ();\n\n\t\tthis.createTime = pro.getCreateTime ();\n\n\t\tthis.modifyTime = pro.getModifyTime ();\n\n\t\tthis.def1 = pro.getDef1 ();\n\n\t\tthis.def2 = pro.getDef2 ();\n\n\t\tthis.def3 = pro.getDef3 ();\n\n\t\tthis.def4 = pro.getDef4 ();\n\n\t\tthis.def5 = pro.getDef5 ();\n\n\t\tthis.def6 = pro.getDef6 ();\n\n\t\tthis.def7 = pro.getDef7 ();\n\n\t\tthis.def8 = pro.getDef8 ();\n\n\t\tthis.def9 = pro.getDef9 ();\n\n\t\tthis.def10 = pro.getDef10 ();\n\n\t\tthis.dr = pro.getDr ();\n\n\t}", "public FileInfo(NXTComm nxt, String fileName){\r\n\t\tthis.comm = nxt;\r\n\t\tthis.fileName = fileName;\r\n\t}", "public FileInfo()\r\n {\r\n hash = new HashInfo();\r\n }", "@Override\n public List<FileInfo> getLibrarySubFiles(FileInfo fileInfo) {\n return null;\n }", "public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder() {\n if (fileInfoBuilder_ != null) {\n return fileInfoBuilder_.getMessageOrBuilder();\n } else {\n return fileInfo_ == null ?\n entities.Torrent.FileInfo.getDefaultInstance() : fileInfo_;\n }\n }", "public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder() {\n if (fileInfoBuilder_ != null) {\n return fileInfoBuilder_.getMessageOrBuilder();\n } else {\n return fileInfo_ == null ?\n entities.Torrent.FileInfo.getDefaultInstance() : fileInfo_;\n }\n }", "public DotFileEnumerator(File file)\n {\n fileList.add(file.toString());\n }", "public Builder mergeFileInfo(entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (fileInfo_ != null) {\n fileInfo_ =\n entities.Torrent.FileInfo.newBuilder(fileInfo_).mergeFrom(value).buildPartial();\n } else {\n fileInfo_ = value;\n }\n onChanged();\n } else {\n fileInfoBuilder_.mergeFrom(value);\n }\n\n return this;\n }", "public Builder mergeFileInfo(entities.Torrent.FileInfo value) {\n if (fileInfoBuilder_ == null) {\n if (fileInfo_ != null) {\n fileInfo_ =\n entities.Torrent.FileInfo.newBuilder(fileInfo_).mergeFrom(value).buildPartial();\n } else {\n fileInfo_ = value;\n }\n onChanged();\n } else {\n fileInfoBuilder_.mergeFrom(value);\n }\n\n return this;\n }", "int getFileCount();", "public com.google.devtools.kythe.proto.Analysis.FileInfoOrBuilder getEntryOrBuilder(\n int index) {\n return entry_.get(index);\n }", "public int getFileFlags() { return fileFlags; }", "public Builder clearFileInfo() {\n if (fileInfoBuilder_ == null) {\n fileInfo_ = java.util.Collections.emptyList();\n bitField0_ = (bitField0_ & ~0x00000001);\n onChanged();\n } else {\n fileInfoBuilder_.clear();\n }\n return this;\n }", "public com.opentext.bn.converters.avro.entity.PayloadRef.Builder getFileInfoBuilder() {\n if (fileInfoBuilder == null) {\n if (hasFileInfo()) {\n setFileInfoBuilder(com.opentext.bn.converters.avro.entity.PayloadRef.newBuilder(fileInfo));\n } else {\n setFileInfoBuilder(com.opentext.bn.converters.avro.entity.PayloadRef.newBuilder());\n }\n }\n return fileInfoBuilder;\n }", "public void process(TiffFileInfo info)\n {\n }", "public com.google.devtools.kythe.proto.Analysis.FileInfo.Builder addEntryBuilder() {\n return getEntryFieldBuilder().addBuilder(\n com.google.devtools.kythe.proto.Analysis.FileInfo.getDefaultInstance());\n }", "@java.lang.Override\n public entities.Torrent.FileInfo getFileInfo(int index) {\n return fileInfo_.get(index);\n }", "public Long getFileId() {\n/* 35:35 */ return this.fileId;\n/* 36: */ }", "private com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.FileInfo, entities.Torrent.FileInfo.Builder, entities.Torrent.FileInfoOrBuilder>\n getFileInfoFieldBuilder() {\n if (fileInfoBuilder_ == null) {\n fileInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.FileInfo, entities.Torrent.FileInfo.Builder, entities.Torrent.FileInfoOrBuilder>(\n getFileInfo(),\n getParentForChildren(),\n isClean());\n fileInfo_ = null;\n }\n return fileInfoBuilder_;\n }", "private com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.FileInfo, entities.Torrent.FileInfo.Builder, entities.Torrent.FileInfoOrBuilder>\n getFileInfoFieldBuilder() {\n if (fileInfoBuilder_ == null) {\n fileInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.FileInfo, entities.Torrent.FileInfo.Builder, entities.Torrent.FileInfoOrBuilder>(\n getFileInfo(),\n getParentForChildren(),\n isClean());\n fileInfo_ = null;\n }\n return fileInfoBuilder_;\n }", "private void updateFiles() {\n\t}", "public entities.Torrent.FileInfo.Builder addFileInfoBuilder(\n int index) {\n return getFileInfoFieldBuilder().addBuilder(\n index, entities.Torrent.FileInfo.getDefaultInstance());\n }", "public interface FileSelectInfo\n{\n /**\n * Returns the base folder of the traversal.\n * @return FileObject representing the base folder.\n */\n FileObject getBaseFolder();\n\n /**\n * Returns the file (or folder) to be considered.\n * @return The FileObject.\n */\n FileObject getFile();\n\n /**\n * Returns the depth of the file relative to the base folder.\n * @return The depth of the file relative to the base folder.\n */\n int getDepth();\n}", "public entities.Torrent.FileInfo.Builder getFileInfoBuilder(\n int index) {\n return getFileInfoFieldBuilder().getBuilder(index);\n }", "public entities.Torrent.FileInfo.Builder getFileInfoBuilder() {\n\n onChanged();\n return getFileInfoFieldBuilder().getBuilder();\n }", "public entities.Torrent.FileInfo.Builder getFileInfoBuilder() {\n\n onChanged();\n return getFileInfoFieldBuilder().getBuilder();\n }", "public entities.Torrent.FileInfoOrBuilder getFilesOrBuilder(\n int index) {\n if (filesBuilder_ == null) {\n return files_.get(index); } else {\n return filesBuilder_.getMessageOrBuilder(index);\n }\n }", "private void getExtractWithFiles(){\n\t\ttry{\n\t\t\t\n\t\t\tFileInputStream fStream = new FileInputStream(tfile);\n\t\t\tfileBytes = new byte[(int)tfile.length()];\n\t\t\t\n\t\t\tfStream.read(fileBytes, 0, fileBytes.length);\n\t\t\tfileSize = fileBytes.length;\n\t\t}catch(Exception ex){\n\t\t\tSystem.err.println(\"File Packet \"+ex.getMessage());\n\t\t}\n\t}", "private static void printFileInfo(File file) {\n window.putLog(String.format(\"[%6dkb] Modified %s @%s\", 1 + file.length() / 1024,\n new SimpleDateFormat(\"YYYY-MM-dd HH:mm\").format(new Date(file.lastModified())),\n file.getPath().substring(workingDirectory.getParent().length())));\n }", "public interface FileSystemEntry {\n public long getCount();\n public long getSize();\n public String getName();\n}", "public PSMatrixFilesMeta() {\r\n this(-1, new ConcurrentSkipListMap<Integer, MatrixPartitionMeta>());\r\n }", "protected final void setFileInformation( FileInfo fInfo) {\n\t\tm_info = fInfo;\n\t}", "public java.util.List<? extends entities.Torrent.FileInfoOrBuilder>\n getFileInfoOrBuilderList() {\n if (fileInfoBuilder_ != null) {\n return fileInfoBuilder_.getMessageOrBuilderList();\n } else {\n return java.util.Collections.unmodifiableList(fileInfo_);\n }\n }", "int getFileNamesCount();", "int getFileNamesCount();", "public void filesNotFound(File... f) { }", "public void filesNotFound(File... f) { }", "@Override\n public void onPick(FileInfo f) {\n }", "public void setFileRecordCount(int ct) {\n\t\tfileRecordCount = ct;\n\t}", "public com.opentext.bn.converters.avro.entity.DocumentEvent.Builder setFileInfo(com.opentext.bn.converters.avro.entity.PayloadRef value) {\n validate(fields()[15], value);\n this.fileInfoBuilder = null;\n this.fileInfo = value;\n fieldSetFlags()[15] = true;\n return this;\n }", "public DotFileEnumerator(String filePath)\n {\n String[] tempArr = new File(filePath).list();\n\n for (String s : tempArr) {\n fileList.add(filePath + \"/\" + s);\n }\n }", "@java.lang.Override\n public entities.Torrent.FileInfo getFileInfo() {\n return fileInfo_ == null ? entities.Torrent.FileInfo.getDefaultInstance() : fileInfo_;\n }", "@java.lang.Override\n public entities.Torrent.FileInfo getFileInfo() {\n return fileInfo_ == null ? entities.Torrent.FileInfo.getDefaultInstance() : fileInfo_;\n }", "public FileInfoICS(String name, String directory, int format) {\r\n super(name, directory, format);\r\n }", "public FileInfo(FileInfo v)\n \t{\n \t\ttitle = v.title;\n \t\tauthors = v.authors;\n \t\tseries = v.series;\n \t\tseriesNumber = v.seriesNumber;\n \t\tpath = v.path;\n \t\tfilename = v.filename;\n \t\tpathname = v.pathname;\n \t\tarcname = v.arcname;\n \t\tformat = v.format;\n \t\tsize = v.size;\n \t\tarcsize = v.arcsize;\n \t\tisArchive = v.isArchive;\n \t\tisDirectory = v.isDirectory;\n \t\tcreateTime = v.createTime;\n \t\tlastAccessTime = v.lastAccessTime;\n \t}", "public ImageFiles() {\n\t\tthis.listOne = new ArrayList<String>();\n\t\tthis.listTwo = new ArrayList<String>();\n\t\tthis.listThree = new ArrayList<String>();\n\t\tthis.seenImages = new ArrayList<String>();\n\t\tthis.unseenImages = new ArrayList<String>();\n\t}", "@java.lang.Override\n public java.util.List<? extends entities.Torrent.FileInfoOrBuilder>\n getFileInfoOrBuilderList() {\n return fileInfo_;\n }", "int countByExample(AvwFileprocessExample example);", "public Builder addEntry(com.google.devtools.kythe.proto.Analysis.FileInfo value) {\n if (entryBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureEntryIsMutable();\n entry_.add(value);\n onChanged();\n } else {\n entryBuilder_.addMessage(value);\n }\n return this;\n }", "ds.hdfs.generated.FileMetadata getFiles(int index);", "java.util.List<? extends entities.Torrent.FileInfoOrBuilder>\n getFileInfoOrBuilderList();", "public Long getFileID()\n/* */ {\n/* 88 */ return this.fileID;\n/* */ }", "public void incuploadcount(){\n\t\tthis. num_upload++;\n\t}", "public Vector<file> count()\n {\n Vector<Model.file> files = new Vector<>();\n try\n {\n pw.println(11);\n\n files = (Vector<Model.file>) ois.readObject();\n\n }\n catch (ClassNotFoundException | IOException e)\n {\n System.out.println(e.getMessage());\n }\n return files ;\n }" ]
[ "0.63404644", "0.60424006", "0.58997285", "0.5897735", "0.5897735", "0.5893349", "0.5840858", "0.5782364", "0.575059", "0.56671757", "0.5661143", "0.5629983", "0.55628306", "0.55628306", "0.54918736", "0.54439086", "0.5438974", "0.5436454", "0.53865486", "0.53812563", "0.53554535", "0.53554535", "0.5350297", "0.53485256", "0.5337326", "0.5325269", "0.5323776", "0.5317618", "0.5316972", "0.5305772", "0.5301568", "0.5289526", "0.52858317", "0.527939", "0.527717", "0.5246745", "0.5238312", "0.52333695", "0.52198213", "0.520472", "0.5197636", "0.5181744", "0.5180735", "0.5179602", "0.5171487", "0.5170226", "0.5151229", "0.5126351", "0.51164293", "0.51105917", "0.51006323", "0.5064827", "0.5064827", "0.5030081", "0.50298166", "0.5029732", "0.50183815", "0.5008859", "0.5008625", "0.5002189", "0.5000041", "0.4996095", "0.49911362", "0.4988522", "0.49871376", "0.49688184", "0.4968441", "0.49640483", "0.49627694", "0.49464682", "0.49452326", "0.49435145", "0.4940706", "0.4939512", "0.4919068", "0.49134657", "0.4912824", "0.48992985", "0.48903668", "0.4889867", "0.48865864", "0.48865864", "0.48813212", "0.48813212", "0.48808643", "0.48788455", "0.48786306", "0.4874242", "0.48689762", "0.48689762", "0.48684502", "0.48670304", "0.48606005", "0.48516285", "0.48392272", "0.48242542", "0.48236215", "0.48225048", "0.4821103", "0.48174718", "0.4813819" ]
0.0
-1
string regex = 1;
java.lang.String getRegex();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getRegex();", "public void setRegex (String regex)\n {\n this.regex = regex;\n }", "public String getRegEx();", "public RegExp (final int type)\n {\n this.type = type;\n }", "public RegexPatternBuilder (String regex)\n {\n this.regex = regex;\n }", "public String getRegEx() {\r\n return regex;\r\n }", "public GrammaticaRE(String regex) throws Exception {\n regExp = new RegExp(regex, ignoreCase);\n }", "public final native void setRegex(String regex) /*-{\n\t\tthis.regex = regex;\n\t}-*/;", "@objid (\"d7eead28-9a1c-4037-9797-4868268b54d4\")\n public RegexVerifier(String regex) {\n this.regex = regex;\n }", "public void setRegex(String regex) {\n this.regex = regex;\n }", "public static void TestRegex()\n\t{\n\t String line = \" if( aaa&&(ypbreg))\";\n\t String pattern = \"(&&)\\\\s*\\\\(*\\\\s*!?ypbreg\\\\)*\";\n\t // Create a Pattern object\n\t Pattern r = Pattern.compile(pattern);\n\t System.out.println(line.contains(pattern));\n\t // Now create matcher object.\n\t Matcher m = r.matcher(line);\n\t if (m.find( )) {\n\t // System.out.println(\"Found value: \" + m.group(0) );\n\t int count = m.groupCount();\n\t System.out.println(\"group count is \"+count);\n\t for(int i=0;i<count;i++){\n\t System.out.println(m.group(i));\n\t }\n\t // System.out.println(line.replaceFirst(BregPattern.pEqualTrue1, \"!$1\"));\n\n\t } else {\n\t System.out.println(\"NO MATCH\");\n\t }\n\t}", "public RegularExpression() {\n }", "public interface RegExp {\n String NUMBER_OF_COMPOSITION = \"^[1-2][0-9]|[1-9]$\";\n String BREAK_DATE_BY_DOT = \"[.]\";\n String IDENTIFY_BUMDLE = \"^([E|e][N|n])|[У|у][К|к][Р|р]$\";\n String DURATION = \"^[1-9]|[1-9][0-9]|[1-4][0-9][0-9]$\";\n}", "public java.lang.String getRegexStr() {\r\n return regexStr;\r\n }", "public Pattern regexPattern(String regex) {\n return Pattern.compile(regex);\n }", "@Override\n protected void compileRegex(String regex) {\n }", "protected abstract Regex pattern();", "boolean hasRegex();", "public JavaRE(String regex) throws Exception {\n if (ignoreCase) {\n pattern = Pattern.compile(regex, Pattern.CASE_INSENSITIVE);\n } else {\n pattern = Pattern.compile(regex);\n }\n }", "@Test\n public void testParseRegexp_valid3() throws InvalidRegexpException {\n BasicRegexp re = BasicRegexp.parseRegexp(\"a b c d\");\n assertEquals(re.toString(), \"abcd\");\n }", "private\n\tRegExHelper()\n\t{\n\t\tsuper();\n\t}", "public java.lang.String getRegex() {\n java.lang.Object ref = regex_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n regex_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getRegex() {\n java.lang.Object ref = regex_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n regex_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "@Override\n public boolean isRegex() {\n return false;\n }", "public String get_isregex() throws Exception {\n\t\treturn this.isregex;\n\t}", "public Boolean getbRegex() {\r\n\t\treturn bRegex;\r\n\t}", "public interface RegExp {\n String NAME_REGEXP = \"^[А-Я][а-я]{2,30}$\";\n String AGE_REGEXP = \"^((1[012][0-9])|([1-9][0-9]))$\";\n String EMAIL_REGEXP = \"^[-z0-9_.]{1,30}@([A-z]+[A-z0-9]{1,15}.){1,2}([A-z]+[A-z0-9]{1,15})$\";\n String CELL_PHONE_REGEXP = \"([\\\\+]\\\\d{2}\\\\s?)?(([\\\\(\\\\s]\\\\d{3}[\\\\)\\\\s])|\" +\n \"(\\\\d{3}))[\\\\s-]?\\\\d{3}[\\\\s-]?\\\\d{2}[\\\\s-]?\\\\d{2}$\";\n String CELL_PHONE_OPTIONAL_REGEXP = \"^(([\\\\+]\\\\d{2}\\\\s?)?(([\\\\(\\\\s]\\\\d{3}[\\\\)\\\\s])|\" +\n \"(\\\\d{3}))[\\\\s-]?\\\\d{3}[\\\\s-]?\\\\d{2}[\\\\s-]?\\\\d{2})?\";\n String LOCAL_PHONE_REGEXP = \"^([\\\\+]\\\\d{2}\\\\s?)?(([\\\\(\\\\s]\\\\d{3}[\\\\)\\\\s])|(\\\\d{3}))?[\\\\s-]?\\\\d{3}[\\\\s-]?\\\\d{3}$\";\n String COMMENT_REGEXP = \"^([\\\\d\\\\s\\\\w\\\\.\\\\,\\\\!]){0,127}$\";\n String GROUP_REGEXP = \"^[А-я]{4,10}$\";\n String SKYPE_NICK_REGEXP = \"^[\\\\w\\\\d\\\\_]{3,20}$\";\n String INDEX_REGEXP = \"^[\\\\d]{8}$\";\n String CITY_STREET_REGEXP = \"^[А-Я][а-я]{3,20}$\";\n String BUILDING_REGEXP = \"^[\\\\d]{1,3}[\\\\w]?$\";\n String FLAT_REGEXP = \"^[\\\\d]{1,3}$\";\n}", "public Builder setRegex(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n\n regex_ = value;\n onChanged();\n return this;\n }", "public Builder setRegex(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n\n regex_ = value;\n onChanged();\n return this;\n }", "public void setRegexStr(java.lang.String regexStr) {\r\n this.regexStr = regexStr;\r\n }", "public String getMatchRegex() {\n return matchRegex;\n }", "String regen();", "public static void main(String[] args) {\n\t\t Pattern p = Pattern.compile(\"(a+)\");\r\n\t\t Matcher m = p.matcher(\"aaaaaba\");\r\n\t\t //System.out.println(m.matches())\r\n\t\t m.find();\t\t \r\n\t\t m.find();\r\n\t\t System.out.println(\"grCount \"+m.groupCount());\t \r\n\t\t MatchResult mr = m.toMatchResult();\r\n\t\t \r\n\t\t System.out.println(m.end());\r\n\t\t System.out.println(\"'\"+mr.group()+\"'\");\r\n\t\t System.out.println(\"start \"+mr.start(1));\r\n\t\t \r\n\t}", "@java.lang.Override\n public java.lang.String getRegex() {\n java.lang.Object ref = regex_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n regex_ = s;\n return s;\n }\n }", "@java.lang.Override\n public java.lang.String getRegex() {\n java.lang.Object ref = regex_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n regex_ = s;\n return s;\n }\n }", "int mo5882g(String str);", "com.google.protobuf.ByteString\n getRegexBytes();", "com.google.protobuf.ByteString\n getRegexBytes();", "@Test\n public void testParseRegexp_correctness1new()\n throws InvalidRegexpException {\n BasicRegexp re = BasicRegexp.parseRegexp(\"(01|10)*1111\");\n assertEquals(re.toString(), \"(01|10)*1111\");\n }", "public void set_isregex(String isregex) throws Exception{\n\t\tthis.isregex = isregex;\n\t}", "public static void main(String[] args) {\r\n\t\t boolean matches_1 = Pattern.matches(\"[a-zA-Z0-9]{4}\", \"0Aa1\");\r\n\t\t boolean matches_2 = Pattern.matches(\"[a-zA-Z0-9]{4}\", \"0A@a1\");\r\n\t\t\t System.out.println(\"Regular Expression is \"+matches_1 +\" for given string(0Aa1)\");\r\n\t\t\t System.out.println(\"Regular Expression is \"+matches_2 +\" for given string(0A@a1)\");\r\n\t}", "public static void main(String[] args) {\n Pattern p = Pattern.compile(\"2*5?$\");\n Matcher m = p.matcher(regex1);\n if (m.matches()) {\n System.out.println(\"YES ¦ \");\n } else {\n System.out.println(\"NO\");\n }\n\n }", "@Override\n\tpublic boolean test(MyRegex t) {\n\t\treturn false;\n\t}", "private String parseRegExp(String exp) throws Exception {\r\n\t\treturn RegexpTranslationHelper.translateANTLRToAutomatonStyle(exp);\r\n\t}", "@Test\n public void testParseRegexp_valid7() throws InvalidRegexpException {\n BasicRegexp re = BasicRegexp.parseRegexp(\"abc*def\");\n assertEquals(re.toString(), \"abc*def\");\n }", "public final String getRegex() {\n\t\treturn JsUtils.getNativePropertyString(this, \"regex\");\n\t}", "public RegexPatternBuilder ()\n {\n this.regex = null;\n }", "private boolean isRegexValid(String string)\n {\n try\n {\n Pattern.compile(string, Pattern.MULTILINE);\n return true;\n }\n catch (PatternSyntaxException e)\n {\n return false;\n }\n }", "public java.lang.Short getRegexMatch() {\r\n return regexMatch;\r\n }", "@Test\n public void testParseRegexp_valid6() throws InvalidRegexpException {\n BasicRegexp re = BasicRegexp.parseRegexp(\"ab(cd(e))ff\");\n assertEquals(re.toString(), \"abcdeff\");\n }", "@Override // kotlin.p2243e.p2244a.AbstractC32522b\n public /* synthetic */ Regex invoke(Integer num) {\n return mo131903a(num.intValue());\n }", "public static TextP regex(final String value) {\n return new TextP(new Text.RegexPredicate(value, false), value);\n }", "public static Term createRegExp(Expression exp) {\r\n\t\tTerm term = Term.function(REGEX, exp);\r\n\t\treturn term;\r\n\t}", "public Pattern getValidStringPattern();", "@Test\r\n public void testRegexp() throws Exception {\n\r\n String a = \"a/b/100/test\";\r\n\r\n Pattern pattern = Pattern.compile(\".+/(\\\\d+)/test\");\r\n\r\n System.out.println(parseIdFromUriPath(a, pattern));\r\n\r\n }", "public static Regex compile(String pattern, int cflags) throws RegexException {\n return new Regex(pattern, REG_EXTENDED | cflags);\n }", "public Expression setRegexTest(Expression exp, Expression test){\r\n\t\tregexExpr.put(exp, test);\r\n\t\tExpression tt = Term.function(Term.TEST);\r\n\t\ttt.setExpr(test);\r\n\t\tExpression seq = sequence(exp, tt);\r\n\t\treturn seq;\r\n\t}", "C11998c mo41092g(String str);", "@Test\n public void contactNumber_WhenValid_ShouldReturnTrue(){\n RegexTest valid = new RegexTest();\n boolean result = valid.contactNumber( \"91 1234567890\");\n Assert.assertEquals(true,result);\n }", "@Test\n public void testDebugPrintBasicRegexp() throws InvalidRegexpException {\n BasicRegexp re1 = BasicRegexp.parseRegexp(\"(01|10)*1111\");\n BasicRegexp.debugPrintBasicRegexp(0, re1);\n }", "@Test\r\n public void testGetRegexp() {\r\n final Regexp re = rs.getRegexp(reString);\r\n assertTrue(rs.hasRegexp(reString));\r\n assertSame(rs.getRegexp(reString), re);\r\n }", "public String checkRegularExpression(String input) {\n String actualResult=\"\";\n String pattern=\".*harry*\";\n boolean value= Pattern.matches(pattern,input);\n actualResult+=\"Is harry there?\"+value;\n return actualResult;\n\n }", "public static void main(String[] args) {\n//\n// String pattern = \"abba\";\n// String s = \"dog cat cat fish\";\n\n\n// String pattern = \"aaaa\";\n// String s = \"dog cat cat dog\";\n\n String pattern = \"abba\";\n String s = \"dog dog dog dog\";\n\n// String pattern = \"e\";\n// String s = \"eukera\";\n\n boolean flag = wordPattern(pattern, s);\n\n System.out.println(flag);\n }", "public RegexGrep(ShellEnvironment env, String[] args) {\n super(env, args);\n this.regex = Pattern.compile(args[0]);\n }", "@Test\n public void wordPatternTest() {\n String pattern = \"aaa\", str = \"aa aa aa aa\";\n boolean ans = instance.wordPattern(pattern, str);\n System.out.println(ans);\n }", "@Test\n public void testParseRegexp_valid1() throws InvalidRegexpException {\n BasicRegexp re = BasicRegexp.parseRegexp(\"\");\n assertEquals(re, null);\n }", "@Test(expected = InvalidRegexpException.class)\n public void testParseRegexp_invalid8() throws Throwable {\n BasicRegexp.parseRegexp(\"()\");\n }", "void mo37759a(String str);", "private static String globToRegex(final String glob) {\n return \"^\" + glob.replace(\".\", \"\\\\.\").replace(\"*\", \".*\") + \"$\";\n }", "void mo12635a(String str);", "com.google.privacy.dlp.v2.CustomInfoType.Regex getRegex();", "public static String toRegex(String param) \r\n\t{\r\n\t\tStringBuffer regex = new StringBuffer();\r\n\t\tfor( int i=0; i < param.length(); i++ ) \r\n\t\t{\r\n\t\t\tchar next = param.charAt( i );\r\n\t\t\t if ('*' == next) regex.append( \".+\" ); // -> multi-character match wild card\r\n\t\t\telse if ('?' == next) regex.append( \".\" ); // -> single-character match wild card\r\n\t\t\telse if ('.' == next) regex.append( \"\\\\.\" ); // all of these are special regex characters we are quoting\r\n\t\t\telse if ('+' == next) regex.append( \"\\\\+\" ); \r\n\t\t\telse if ('$' == next) regex.append( \"\\\\$\" ); \r\n\t\t\telse if ('\\\\' == next) regex.append( \"\\\\\\\\\" ); \r\n\t\t\telse if ('[' == next) regex.append( \"\\\\[\" ); \r\n\t\t\telse if (']' == next) regex.append( \"\\\\]\" ); \r\n\t\t\telse if ('{' == next) regex.append( \"\\\\{\" ); \r\n\t\t\telse if ('}' == next) regex.append( \"\\\\}\" ); \r\n\t\t\telse if ('(' == next) regex.append( \"\\\\(\" ); \r\n\t\t\telse if (')' == next) regex.append( \"\\\\)\" ); \r\n\t\t\telse if ('&' == next) regex.append( \"\\\\&\" ); \r\n\t\t\telse if ('^' == next) regex.append( \"\\\\^\" ); \r\n\t\t\telse if ('-' == next) regex.append( \"\\\\-\" ); \r\n\t\t\telse if ('|' == next) regex.append( \"\\\\|\" ); \r\n\t\t\telse regex.append( next );\r\n\t\t}\r\n\t\t\r\n\t\treturn regex.toString();\r\n\t}", "public GlobFilenameFilter(String regex) {\n super(__CACHE, __MATCHER, regex);\n }", "public static void main(String[] args) {\n// System.out.println(alphanumeric.replaceAll(\"[aei]\", \"x\"));\n\n\n String regex = \"^[A-Z]|[a-z]\";\n String username = \"kaaviya\";\n\n System.out.println(username.replaceAll( \"^[A-Za-z][A-Za-z0-9_]{7,29}$\", \"x\"));\n System.out.println(username.matches(regex));\n\n }", "String mo2801a(String str);", "public com.google.protobuf.ByteString\n getRegexBytes() {\n java.lang.Object ref = regex_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b =\n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n regex_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "public com.google.protobuf.ByteString\n getRegexBytes() {\n java.lang.Object ref = regex_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b =\n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n regex_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "public static Regex compile(String pattern) throws RegexException {\n return compile(pattern, 0);\n }", "public static void main(String[] args) throws Exception {\n String patronA = \"[0-5]\";\n\n // conjunto de letras de \"a\" a \"c\"\n String patronB = \"[a-c]\";\n\n // conjunto de todas las letras minusculas\n String patronC = \"[a-z]\";\n\n // conjunto de numeros\n String patronD = \"[0-9]\";\n\n // ejemplo con tipo de dato string\n String textoAlfanumerico = \"0123aaaa\";\n System.out.println(\"Texto alfanumerico:\" + textoAlfanumerico);\n\n String replace1 = textoAlfanumerico.replaceAll(patronA, \"X\");\n System.out.println(\"Reemplazo de numeros con X: \" + replace1);\n\n String replace2 = textoAlfanumerico.replaceAll(patronB, \"X\");\n System.out.println(\"Reemplazo de letras con X: \" + replace2);\n\n\n //[0-5][a-c];\n //String patronComplejo = patronA + patronB;\n\n //[a-c]*[0-5]*\n //String patronComplejo = patronA + \"*\" + patronB + \"*\";\n\n //\"[a-z]+\"\n\n // + = una coincidencia\n // * = ninguna o muchas\n\n //String patronComplejo = \"(\" + patronA + patronC + \")+\";\n String patronComplejo = \"(\" + patronC + \")+\";\n\n String texto = \"hola, aacc este bbcc es mi 55222aaa texto 2663aaaa blah blah\";\n System.out.println(\"patron complejo:\" + patronComplejo);\n System.out.println(texto);\n\n Pattern pattern = Pattern.compile(patronComplejo);\n Matcher matcher = pattern.matcher(texto);\n\n // buscar ocurrencias\n while (matcher.find()) {\n System.out.println(\"Encontrado:\" + matcher.group());\n }\n\n\n }", "@Test\n public void testOptimise_2() throws InvalidRegexpException {\n BasicRegexp re1 = BasicRegexp.parseRegexp(\"a+++++++++++++++++++++\");\n\n assertEquals(re1.optimise(BasicRegexp.OPTIMISE_ALL, -1).toString(),\n \"a+\");\n }", "public String returnRegex() {\n\t\tString chosenRegex;\n\t\tSystem.out.println(\"selectedRegex value is: \" + selectedRegex);\n\t\tswitch (selectedRegex) {\n\t\tcase 1:\n\t\t\tchosenRegex = \"(\\\\&?\\\\??t=\\\\d*?[h]?\\\\d*[m]?\\\\d*[s]|\\\\&t=\\\\d*)\";\n\t\t\tbreak;\n\t\tcase 2:\n\t\t\tchosenRegex = \"(\\\\&list=[a-zA-Z 0-9 -]+\\\\&?index=?\\\\d+?)\";\n\t\t\tbreak;\n\t\tcase 3:\n\t\t\tchosenRegex = \"(\\\\&feature=youtu.be)\";\n\t\t\tbreak;\n\t\tdefault:\n\t\t\tchosenRegex = \"\\\\?t.*|\\\\&t.*|\\\\&l.*|\\\\&f.*\"; // alternative:\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// (\\\\&?\\\\??t=\\\\d*?[h]?\\\\d*[m]?\\\\d*[s]|\\\\&t=\\\\d*|\\\\&list=[a-zA-Z\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// 0-9 -]*)\n\t\t\tbreak;\n\t\t}\n\t\tSystem.out.println(chosenRegex);\n\t\treturn chosenRegex;\n\t}", "@java.lang.Override\n public com.google.protobuf.ByteString\n getRegexBytes() {\n java.lang.Object ref = regex_;\n if (ref instanceof java.lang.String) {\n com.google.protobuf.ByteString b =\n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n regex_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "@java.lang.Override\n public com.google.protobuf.ByteString\n getRegexBytes() {\n java.lang.Object ref = regex_;\n if (ref instanceof java.lang.String) {\n com.google.protobuf.ByteString b =\n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n regex_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "private static String adaptRegEx(Mode mode, String regex, int flagMask, boolean removeWhitespace)\n throws QueryException {\n StringBuilder sb = new StringBuilder();\n boolean escaped = false;\n boolean groupStart = false;\n int completeGroups = 0;\n int backRef = 0;\n int charClassDepth = 0;\n int groupDepth = 0;\n\n for (char c : regex.toCharArray()) {\n if (escaped) {\n if (backRef == 0 && c == '0') {\n throw new QueryException(ErrorCode.ERR_INVALID_REGULAR_EXPRESSION, \"Reference to group 0 not allowed\");\n } else if (c >= '0' && c <= '9') {\n if (charClassDepth > 0) {\n throw new QueryException(ErrorCode.ERR_INVALID_REGULAR_EXPRESSION,\n \"Back references in character class expressions\" + \" are disallowed.\");\n }\n backRef = backRef * 10 + Integer.parseInt(Character.toString(c));\n continue;\n }\n }\n\n if (backRef > 0) {\n // Check back reference that just ended\n if (backRef > completeGroups) {\n throw new QueryException(ErrorCode.ERR_INVALID_REGULAR_EXPRESSION,\n \"Back reference to nonexisting or unfinished group.\");\n } else {\n backRef = 0;\n escaped = false;\n }\n }\n\n if (c == '\\\\' && !escaped) {\n // Not preceded by backslash\n escaped = true;\n groupStart = false;\n continue;\n }\n\n if (c == '(' && !escaped) {\n groupStart = true;\n groupDepth++;\n escaped = false;\n continue;\n }\n\n if (c == '?' && !escaped && groupStart) {\n throw new QueryException(ErrorCode.ERR_INVALID_REGULAR_EXPRESSION,\n \"Pure groups are not supported in XQuery regular expressions.\");\n } else if (c == ')' && !escaped) {\n if (--groupDepth < 0) {\n throw new QueryException(ErrorCode.ERR_INVALID_REGULAR_EXPRESSION, \"Invalid sequence of brackets.\");\n }\n completeGroups++;\n } else if (c == '[' && !escaped) {\n charClassDepth++;\n } else if (c == ']' && !escaped) {\n if (--charClassDepth < 0) {\n throw new QueryException(ErrorCode.ERR_INVALID_REGULAR_EXPRESSION, \"Invalid sequence of brackets.\");\n }\n } else if (removeWhitespace) {\n // Remove whitespace outside of character classes\n if (charClassDepth == 0 && WHITESPACE.contains(c)) {\n // Don't touch boolean flags\n continue;\n }\n\n sb.append(c);\n }\n\n groupStart = false;\n escaped = false;\n }\n\n // Check for trailing '\\' (only valid with subsequent characters)\n if (escaped && backRef == 0) {\n throw new QueryException(ErrorCode.ERR_INVALID_REGULAR_EXPRESSION, \"Trailing backslash character in pattern.\");\n }\n\n // Check back reference if that was last token in pattern\n if (backRef > 0 && backRef > completeGroups) {\n throw new QueryException(ErrorCode.ERR_INVALID_REGULAR_EXPRESSION,\n \"Back reference to nonexisting or unfinished group.\");\n }\n\n // Check for dangling brackets\n if (charClassDepth != 0 || groupDepth != 0) {\n throw new QueryException(ErrorCode.ERR_INVALID_REGULAR_EXPRESSION, \"Pattern contains dangling brackets.\");\n }\n\n if (!removeWhitespace) {\n sb.append(regex);\n }\n\n if (mode == Mode.MATCH) {\n // Adapt for XQuery substring matching by extending pattern\n if (sb.charAt(0) != '^' || ((flagMask & Pattern.MULTILINE) == Pattern.MULTILINE)) {\n if ((flagMask & Pattern.DOTALL) == Pattern.DOTALL) {\n sb.insert(0, \".*\");\n } else {\n sb.insert(0, \"(?s:.*)\");\n }\n }\n\n if (sb.charAt(sb.length() - 1) != '$' || ((flagMask & Pattern.MULTILINE) == Pattern.MULTILINE)) {\n if ((flagMask & Pattern.DOTALL) == Pattern.DOTALL) {\n sb.append(\".*\");\n } else {\n sb.append(\"(?s:.*)\");\n }\n }\n }\n\n return sb.toString();\n }", "public RegExp anyChar ()\n {\n // FIXME: there is some code duplication here with the parser\n final List <Interval> list = new ArrayList <> ();\n list.add (new Interval (0, CharClasses.maxChar));\n return new RegExp1 (sym.CCLASS, list);\n }", "protected String hookGetRegex() \r\n\t{\n\t\treturn \"\\\\s+\"; \r\n\t}", "private static boolean matchRegex(Pattern regExpression, String filename) {\n\t\tMatcher m = regExpression.matcher(filename);\n\t\tif (m.matches()) {\n\t\t\treturn true;\n\t\t} else {\n\t\t\treturn false;\n\t\t}\n\t}", "RegExConstraint createRegExConstraint();", "public void setRegexMatch(java.lang.Short regexMatch) {\r\n this.regexMatch = regexMatch;\r\n }", "void mo5871a(String str);", "private JBurgPatternMatcher()\n\t{\n\t}", "public final String getPattern() {\n/* 187 */ return this.m_pattern;\n/* */ }", "public String getPattern() {\n\treturn pattern;\n }", "public Regex mo131901a(int i) {\n C32591j jVar = C32645l.m150681b(this.f111785a.m150658d(), i);\n if (jVar.getStart().intValue() < 0) {\n return null;\n }\n String group = this.f111785a.m150658d().group(i);\n C32569u.m150513a((Object) group, \"matchResult.group(index)\");\n return new Regex(group, jVar);\n }", "@Override\n\tpublic void visit(RegExpMatchOperator arg0) {\n\t\t\n\t}", "@Test //TEST FOUR\n void testOneNumberinRabbitName()\n {\n Rabbit_RegEx rabbit_Name = new Rabbit_RegEx();\n rabbit_Name.setRabbitName(\"MO0N\");\n assertFalse(rabbit_Name.getRabbitName().matches(\"[A-Za-z-]*\"));\n }", "private LiteralToken nextRegularExpressionLiteralToken() {\n LiteralToken token = scanner.nextRegularExpressionLiteralToken();\n lastSourcePosition = token.location.end;\n return token;\n }", "public String getPattern() {\r\n \treturn pattern;\r\n }", "public int getPattern() {\n return this.pattern;\n }" ]
[ "0.72026896", "0.68615586", "0.6858206", "0.67436427", "0.6587065", "0.6512296", "0.64326847", "0.6404885", "0.63460666", "0.6331", "0.6291084", "0.6286594", "0.6254456", "0.6238955", "0.6219856", "0.6202358", "0.6189153", "0.61239773", "0.610071", "0.6062738", "0.6032594", "0.59982014", "0.5996874", "0.5924192", "0.59115654", "0.5864164", "0.58572525", "0.58453", "0.58453", "0.5841216", "0.58262175", "0.5814594", "0.5811531", "0.58056986", "0.580481", "0.57985896", "0.5770896", "0.57697666", "0.57547474", "0.5754631", "0.5754291", "0.57499665", "0.57477105", "0.5747135", "0.57377404", "0.5728356", "0.5720464", "0.57105994", "0.569544", "0.5688132", "0.56866807", "0.5680289", "0.5667682", "0.56612164", "0.56564504", "0.5585063", "0.5555574", "0.5529932", "0.55271614", "0.5522922", "0.55216306", "0.5515437", "0.55144066", "0.5475341", "0.54649585", "0.54602605", "0.54552746", "0.5454531", "0.54507446", "0.54498005", "0.54474837", "0.5440438", "0.54248166", "0.54176825", "0.541224", "0.5411842", "0.5410461", "0.54078144", "0.5407357", "0.5399649", "0.53911847", "0.5381891", "0.5381891", "0.53741324", "0.5369898", "0.5353865", "0.53480643", "0.53464174", "0.53416866", "0.5329152", "0.53245693", "0.5322008", "0.5312056", "0.52923334", "0.5292296", "0.5286544", "0.5280226", "0.5259832", "0.5251492" ]
0.7194223
1
string regex = 1;
com.google.protobuf.ByteString getRegexBytes();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getRegex();", "java.lang.String getRegex();", "java.lang.String getRegex();", "public void setRegex (String regex)\n {\n this.regex = regex;\n }", "public String getRegEx();", "public RegExp (final int type)\n {\n this.type = type;\n }", "public RegexPatternBuilder (String regex)\n {\n this.regex = regex;\n }", "public String getRegEx() {\r\n return regex;\r\n }", "public GrammaticaRE(String regex) throws Exception {\n regExp = new RegExp(regex, ignoreCase);\n }", "public final native void setRegex(String regex) /*-{\n\t\tthis.regex = regex;\n\t}-*/;", "@objid (\"d7eead28-9a1c-4037-9797-4868268b54d4\")\n public RegexVerifier(String regex) {\n this.regex = regex;\n }", "public void setRegex(String regex) {\n this.regex = regex;\n }", "public static void TestRegex()\n\t{\n\t String line = \" if( aaa&&(ypbreg))\";\n\t String pattern = \"(&&)\\\\s*\\\\(*\\\\s*!?ypbreg\\\\)*\";\n\t // Create a Pattern object\n\t Pattern r = Pattern.compile(pattern);\n\t System.out.println(line.contains(pattern));\n\t // Now create matcher object.\n\t Matcher m = r.matcher(line);\n\t if (m.find( )) {\n\t // System.out.println(\"Found value: \" + m.group(0) );\n\t int count = m.groupCount();\n\t System.out.println(\"group count is \"+count);\n\t for(int i=0;i<count;i++){\n\t System.out.println(m.group(i));\n\t }\n\t // System.out.println(line.replaceFirst(BregPattern.pEqualTrue1, \"!$1\"));\n\n\t } else {\n\t System.out.println(\"NO MATCH\");\n\t }\n\t}", "public RegularExpression() {\n }", "public interface RegExp {\n String NUMBER_OF_COMPOSITION = \"^[1-2][0-9]|[1-9]$\";\n String BREAK_DATE_BY_DOT = \"[.]\";\n String IDENTIFY_BUMDLE = \"^([E|e][N|n])|[У|у][К|к][Р|р]$\";\n String DURATION = \"^[1-9]|[1-9][0-9]|[1-4][0-9][0-9]$\";\n}", "public java.lang.String getRegexStr() {\r\n return regexStr;\r\n }", "public Pattern regexPattern(String regex) {\n return Pattern.compile(regex);\n }", "@Override\n protected void compileRegex(String regex) {\n }", "protected abstract Regex pattern();", "boolean hasRegex();", "public JavaRE(String regex) throws Exception {\n if (ignoreCase) {\n pattern = Pattern.compile(regex, Pattern.CASE_INSENSITIVE);\n } else {\n pattern = Pattern.compile(regex);\n }\n }", "@Test\n public void testParseRegexp_valid3() throws InvalidRegexpException {\n BasicRegexp re = BasicRegexp.parseRegexp(\"a b c d\");\n assertEquals(re.toString(), \"abcd\");\n }", "private\n\tRegExHelper()\n\t{\n\t\tsuper();\n\t}", "public java.lang.String getRegex() {\n java.lang.Object ref = regex_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n regex_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getRegex() {\n java.lang.Object ref = regex_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n regex_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "@Override\n public boolean isRegex() {\n return false;\n }", "public String get_isregex() throws Exception {\n\t\treturn this.isregex;\n\t}", "public Boolean getbRegex() {\r\n\t\treturn bRegex;\r\n\t}", "public interface RegExp {\n String NAME_REGEXP = \"^[А-Я][а-я]{2,30}$\";\n String AGE_REGEXP = \"^((1[012][0-9])|([1-9][0-9]))$\";\n String EMAIL_REGEXP = \"^[-z0-9_.]{1,30}@([A-z]+[A-z0-9]{1,15}.){1,2}([A-z]+[A-z0-9]{1,15})$\";\n String CELL_PHONE_REGEXP = \"([\\\\+]\\\\d{2}\\\\s?)?(([\\\\(\\\\s]\\\\d{3}[\\\\)\\\\s])|\" +\n \"(\\\\d{3}))[\\\\s-]?\\\\d{3}[\\\\s-]?\\\\d{2}[\\\\s-]?\\\\d{2}$\";\n String CELL_PHONE_OPTIONAL_REGEXP = \"^(([\\\\+]\\\\d{2}\\\\s?)?(([\\\\(\\\\s]\\\\d{3}[\\\\)\\\\s])|\" +\n \"(\\\\d{3}))[\\\\s-]?\\\\d{3}[\\\\s-]?\\\\d{2}[\\\\s-]?\\\\d{2})?\";\n String LOCAL_PHONE_REGEXP = \"^([\\\\+]\\\\d{2}\\\\s?)?(([\\\\(\\\\s]\\\\d{3}[\\\\)\\\\s])|(\\\\d{3}))?[\\\\s-]?\\\\d{3}[\\\\s-]?\\\\d{3}$\";\n String COMMENT_REGEXP = \"^([\\\\d\\\\s\\\\w\\\\.\\\\,\\\\!]){0,127}$\";\n String GROUP_REGEXP = \"^[А-я]{4,10}$\";\n String SKYPE_NICK_REGEXP = \"^[\\\\w\\\\d\\\\_]{3,20}$\";\n String INDEX_REGEXP = \"^[\\\\d]{8}$\";\n String CITY_STREET_REGEXP = \"^[А-Я][а-я]{3,20}$\";\n String BUILDING_REGEXP = \"^[\\\\d]{1,3}[\\\\w]?$\";\n String FLAT_REGEXP = \"^[\\\\d]{1,3}$\";\n}", "public Builder setRegex(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n\n regex_ = value;\n onChanged();\n return this;\n }", "public Builder setRegex(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n\n regex_ = value;\n onChanged();\n return this;\n }", "public void setRegexStr(java.lang.String regexStr) {\r\n this.regexStr = regexStr;\r\n }", "public String getMatchRegex() {\n return matchRegex;\n }", "String regen();", "public static void main(String[] args) {\n\t\t Pattern p = Pattern.compile(\"(a+)\");\r\n\t\t Matcher m = p.matcher(\"aaaaaba\");\r\n\t\t //System.out.println(m.matches())\r\n\t\t m.find();\t\t \r\n\t\t m.find();\r\n\t\t System.out.println(\"grCount \"+m.groupCount());\t \r\n\t\t MatchResult mr = m.toMatchResult();\r\n\t\t \r\n\t\t System.out.println(m.end());\r\n\t\t System.out.println(\"'\"+mr.group()+\"'\");\r\n\t\t System.out.println(\"start \"+mr.start(1));\r\n\t\t \r\n\t}", "@java.lang.Override\n public java.lang.String getRegex() {\n java.lang.Object ref = regex_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n regex_ = s;\n return s;\n }\n }", "@java.lang.Override\n public java.lang.String getRegex() {\n java.lang.Object ref = regex_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n regex_ = s;\n return s;\n }\n }", "int mo5882g(String str);", "@Test\n public void testParseRegexp_correctness1new()\n throws InvalidRegexpException {\n BasicRegexp re = BasicRegexp.parseRegexp(\"(01|10)*1111\");\n assertEquals(re.toString(), \"(01|10)*1111\");\n }", "public void set_isregex(String isregex) throws Exception{\n\t\tthis.isregex = isregex;\n\t}", "public static void main(String[] args) {\r\n\t\t boolean matches_1 = Pattern.matches(\"[a-zA-Z0-9]{4}\", \"0Aa1\");\r\n\t\t boolean matches_2 = Pattern.matches(\"[a-zA-Z0-9]{4}\", \"0A@a1\");\r\n\t\t\t System.out.println(\"Regular Expression is \"+matches_1 +\" for given string(0Aa1)\");\r\n\t\t\t System.out.println(\"Regular Expression is \"+matches_2 +\" for given string(0A@a1)\");\r\n\t}", "public static void main(String[] args) {\n Pattern p = Pattern.compile(\"2*5?$\");\n Matcher m = p.matcher(regex1);\n if (m.matches()) {\n System.out.println(\"YES ¦ \");\n } else {\n System.out.println(\"NO\");\n }\n\n }", "@Override\n\tpublic boolean test(MyRegex t) {\n\t\treturn false;\n\t}", "private String parseRegExp(String exp) throws Exception {\r\n\t\treturn RegexpTranslationHelper.translateANTLRToAutomatonStyle(exp);\r\n\t}", "@Test\n public void testParseRegexp_valid7() throws InvalidRegexpException {\n BasicRegexp re = BasicRegexp.parseRegexp(\"abc*def\");\n assertEquals(re.toString(), \"abc*def\");\n }", "public final String getRegex() {\n\t\treturn JsUtils.getNativePropertyString(this, \"regex\");\n\t}", "public RegexPatternBuilder ()\n {\n this.regex = null;\n }", "private boolean isRegexValid(String string)\n {\n try\n {\n Pattern.compile(string, Pattern.MULTILINE);\n return true;\n }\n catch (PatternSyntaxException e)\n {\n return false;\n }\n }", "public java.lang.Short getRegexMatch() {\r\n return regexMatch;\r\n }", "@Test\n public void testParseRegexp_valid6() throws InvalidRegexpException {\n BasicRegexp re = BasicRegexp.parseRegexp(\"ab(cd(e))ff\");\n assertEquals(re.toString(), \"abcdeff\");\n }", "@Override // kotlin.p2243e.p2244a.AbstractC32522b\n public /* synthetic */ Regex invoke(Integer num) {\n return mo131903a(num.intValue());\n }", "public static TextP regex(final String value) {\n return new TextP(new Text.RegexPredicate(value, false), value);\n }", "public static Term createRegExp(Expression exp) {\r\n\t\tTerm term = Term.function(REGEX, exp);\r\n\t\treturn term;\r\n\t}", "public Pattern getValidStringPattern();", "@Test\r\n public void testRegexp() throws Exception {\n\r\n String a = \"a/b/100/test\";\r\n\r\n Pattern pattern = Pattern.compile(\".+/(\\\\d+)/test\");\r\n\r\n System.out.println(parseIdFromUriPath(a, pattern));\r\n\r\n }", "public static Regex compile(String pattern, int cflags) throws RegexException {\n return new Regex(pattern, REG_EXTENDED | cflags);\n }", "public Expression setRegexTest(Expression exp, Expression test){\r\n\t\tregexExpr.put(exp, test);\r\n\t\tExpression tt = Term.function(Term.TEST);\r\n\t\ttt.setExpr(test);\r\n\t\tExpression seq = sequence(exp, tt);\r\n\t\treturn seq;\r\n\t}", "C11998c mo41092g(String str);", "@Test\n public void contactNumber_WhenValid_ShouldReturnTrue(){\n RegexTest valid = new RegexTest();\n boolean result = valid.contactNumber( \"91 1234567890\");\n Assert.assertEquals(true,result);\n }", "@Test\n public void testDebugPrintBasicRegexp() throws InvalidRegexpException {\n BasicRegexp re1 = BasicRegexp.parseRegexp(\"(01|10)*1111\");\n BasicRegexp.debugPrintBasicRegexp(0, re1);\n }", "@Test\r\n public void testGetRegexp() {\r\n final Regexp re = rs.getRegexp(reString);\r\n assertTrue(rs.hasRegexp(reString));\r\n assertSame(rs.getRegexp(reString), re);\r\n }", "public String checkRegularExpression(String input) {\n String actualResult=\"\";\n String pattern=\".*harry*\";\n boolean value= Pattern.matches(pattern,input);\n actualResult+=\"Is harry there?\"+value;\n return actualResult;\n\n }", "public static void main(String[] args) {\n//\n// String pattern = \"abba\";\n// String s = \"dog cat cat fish\";\n\n\n// String pattern = \"aaaa\";\n// String s = \"dog cat cat dog\";\n\n String pattern = \"abba\";\n String s = \"dog dog dog dog\";\n\n// String pattern = \"e\";\n// String s = \"eukera\";\n\n boolean flag = wordPattern(pattern, s);\n\n System.out.println(flag);\n }", "public RegexGrep(ShellEnvironment env, String[] args) {\n super(env, args);\n this.regex = Pattern.compile(args[0]);\n }", "@Test\n public void wordPatternTest() {\n String pattern = \"aaa\", str = \"aa aa aa aa\";\n boolean ans = instance.wordPattern(pattern, str);\n System.out.println(ans);\n }", "@Test\n public void testParseRegexp_valid1() throws InvalidRegexpException {\n BasicRegexp re = BasicRegexp.parseRegexp(\"\");\n assertEquals(re, null);\n }", "@Test(expected = InvalidRegexpException.class)\n public void testParseRegexp_invalid8() throws Throwable {\n BasicRegexp.parseRegexp(\"()\");\n }", "void mo37759a(String str);", "private static String globToRegex(final String glob) {\n return \"^\" + glob.replace(\".\", \"\\\\.\").replace(\"*\", \".*\") + \"$\";\n }", "void mo12635a(String str);", "com.google.privacy.dlp.v2.CustomInfoType.Regex getRegex();", "public static String toRegex(String param) \r\n\t{\r\n\t\tStringBuffer regex = new StringBuffer();\r\n\t\tfor( int i=0; i < param.length(); i++ ) \r\n\t\t{\r\n\t\t\tchar next = param.charAt( i );\r\n\t\t\t if ('*' == next) regex.append( \".+\" ); // -> multi-character match wild card\r\n\t\t\telse if ('?' == next) regex.append( \".\" ); // -> single-character match wild card\r\n\t\t\telse if ('.' == next) regex.append( \"\\\\.\" ); // all of these are special regex characters we are quoting\r\n\t\t\telse if ('+' == next) regex.append( \"\\\\+\" ); \r\n\t\t\telse if ('$' == next) regex.append( \"\\\\$\" ); \r\n\t\t\telse if ('\\\\' == next) regex.append( \"\\\\\\\\\" ); \r\n\t\t\telse if ('[' == next) regex.append( \"\\\\[\" ); \r\n\t\t\telse if (']' == next) regex.append( \"\\\\]\" ); \r\n\t\t\telse if ('{' == next) regex.append( \"\\\\{\" ); \r\n\t\t\telse if ('}' == next) regex.append( \"\\\\}\" ); \r\n\t\t\telse if ('(' == next) regex.append( \"\\\\(\" ); \r\n\t\t\telse if (')' == next) regex.append( \"\\\\)\" ); \r\n\t\t\telse if ('&' == next) regex.append( \"\\\\&\" ); \r\n\t\t\telse if ('^' == next) regex.append( \"\\\\^\" ); \r\n\t\t\telse if ('-' == next) regex.append( \"\\\\-\" ); \r\n\t\t\telse if ('|' == next) regex.append( \"\\\\|\" ); \r\n\t\t\telse regex.append( next );\r\n\t\t}\r\n\t\t\r\n\t\treturn regex.toString();\r\n\t}", "public GlobFilenameFilter(String regex) {\n super(__CACHE, __MATCHER, regex);\n }", "public static void main(String[] args) {\n// System.out.println(alphanumeric.replaceAll(\"[aei]\", \"x\"));\n\n\n String regex = \"^[A-Z]|[a-z]\";\n String username = \"kaaviya\";\n\n System.out.println(username.replaceAll( \"^[A-Za-z][A-Za-z0-9_]{7,29}$\", \"x\"));\n System.out.println(username.matches(regex));\n\n }", "String mo2801a(String str);", "public com.google.protobuf.ByteString\n getRegexBytes() {\n java.lang.Object ref = regex_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b =\n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n regex_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "public com.google.protobuf.ByteString\n getRegexBytes() {\n java.lang.Object ref = regex_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b =\n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n regex_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "public static Regex compile(String pattern) throws RegexException {\n return compile(pattern, 0);\n }", "public static void main(String[] args) throws Exception {\n String patronA = \"[0-5]\";\n\n // conjunto de letras de \"a\" a \"c\"\n String patronB = \"[a-c]\";\n\n // conjunto de todas las letras minusculas\n String patronC = \"[a-z]\";\n\n // conjunto de numeros\n String patronD = \"[0-9]\";\n\n // ejemplo con tipo de dato string\n String textoAlfanumerico = \"0123aaaa\";\n System.out.println(\"Texto alfanumerico:\" + textoAlfanumerico);\n\n String replace1 = textoAlfanumerico.replaceAll(patronA, \"X\");\n System.out.println(\"Reemplazo de numeros con X: \" + replace1);\n\n String replace2 = textoAlfanumerico.replaceAll(patronB, \"X\");\n System.out.println(\"Reemplazo de letras con X: \" + replace2);\n\n\n //[0-5][a-c];\n //String patronComplejo = patronA + patronB;\n\n //[a-c]*[0-5]*\n //String patronComplejo = patronA + \"*\" + patronB + \"*\";\n\n //\"[a-z]+\"\n\n // + = una coincidencia\n // * = ninguna o muchas\n\n //String patronComplejo = \"(\" + patronA + patronC + \")+\";\n String patronComplejo = \"(\" + patronC + \")+\";\n\n String texto = \"hola, aacc este bbcc es mi 55222aaa texto 2663aaaa blah blah\";\n System.out.println(\"patron complejo:\" + patronComplejo);\n System.out.println(texto);\n\n Pattern pattern = Pattern.compile(patronComplejo);\n Matcher matcher = pattern.matcher(texto);\n\n // buscar ocurrencias\n while (matcher.find()) {\n System.out.println(\"Encontrado:\" + matcher.group());\n }\n\n\n }", "@Test\n public void testOptimise_2() throws InvalidRegexpException {\n BasicRegexp re1 = BasicRegexp.parseRegexp(\"a+++++++++++++++++++++\");\n\n assertEquals(re1.optimise(BasicRegexp.OPTIMISE_ALL, -1).toString(),\n \"a+\");\n }", "public String returnRegex() {\n\t\tString chosenRegex;\n\t\tSystem.out.println(\"selectedRegex value is: \" + selectedRegex);\n\t\tswitch (selectedRegex) {\n\t\tcase 1:\n\t\t\tchosenRegex = \"(\\\\&?\\\\??t=\\\\d*?[h]?\\\\d*[m]?\\\\d*[s]|\\\\&t=\\\\d*)\";\n\t\t\tbreak;\n\t\tcase 2:\n\t\t\tchosenRegex = \"(\\\\&list=[a-zA-Z 0-9 -]+\\\\&?index=?\\\\d+?)\";\n\t\t\tbreak;\n\t\tcase 3:\n\t\t\tchosenRegex = \"(\\\\&feature=youtu.be)\";\n\t\t\tbreak;\n\t\tdefault:\n\t\t\tchosenRegex = \"\\\\?t.*|\\\\&t.*|\\\\&l.*|\\\\&f.*\"; // alternative:\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// (\\\\&?\\\\??t=\\\\d*?[h]?\\\\d*[m]?\\\\d*[s]|\\\\&t=\\\\d*|\\\\&list=[a-zA-Z\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// 0-9 -]*)\n\t\t\tbreak;\n\t\t}\n\t\tSystem.out.println(chosenRegex);\n\t\treturn chosenRegex;\n\t}", "@java.lang.Override\n public com.google.protobuf.ByteString\n getRegexBytes() {\n java.lang.Object ref = regex_;\n if (ref instanceof java.lang.String) {\n com.google.protobuf.ByteString b =\n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n regex_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "@java.lang.Override\n public com.google.protobuf.ByteString\n getRegexBytes() {\n java.lang.Object ref = regex_;\n if (ref instanceof java.lang.String) {\n com.google.protobuf.ByteString b =\n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n regex_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "private static String adaptRegEx(Mode mode, String regex, int flagMask, boolean removeWhitespace)\n throws QueryException {\n StringBuilder sb = new StringBuilder();\n boolean escaped = false;\n boolean groupStart = false;\n int completeGroups = 0;\n int backRef = 0;\n int charClassDepth = 0;\n int groupDepth = 0;\n\n for (char c : regex.toCharArray()) {\n if (escaped) {\n if (backRef == 0 && c == '0') {\n throw new QueryException(ErrorCode.ERR_INVALID_REGULAR_EXPRESSION, \"Reference to group 0 not allowed\");\n } else if (c >= '0' && c <= '9') {\n if (charClassDepth > 0) {\n throw new QueryException(ErrorCode.ERR_INVALID_REGULAR_EXPRESSION,\n \"Back references in character class expressions\" + \" are disallowed.\");\n }\n backRef = backRef * 10 + Integer.parseInt(Character.toString(c));\n continue;\n }\n }\n\n if (backRef > 0) {\n // Check back reference that just ended\n if (backRef > completeGroups) {\n throw new QueryException(ErrorCode.ERR_INVALID_REGULAR_EXPRESSION,\n \"Back reference to nonexisting or unfinished group.\");\n } else {\n backRef = 0;\n escaped = false;\n }\n }\n\n if (c == '\\\\' && !escaped) {\n // Not preceded by backslash\n escaped = true;\n groupStart = false;\n continue;\n }\n\n if (c == '(' && !escaped) {\n groupStart = true;\n groupDepth++;\n escaped = false;\n continue;\n }\n\n if (c == '?' && !escaped && groupStart) {\n throw new QueryException(ErrorCode.ERR_INVALID_REGULAR_EXPRESSION,\n \"Pure groups are not supported in XQuery regular expressions.\");\n } else if (c == ')' && !escaped) {\n if (--groupDepth < 0) {\n throw new QueryException(ErrorCode.ERR_INVALID_REGULAR_EXPRESSION, \"Invalid sequence of brackets.\");\n }\n completeGroups++;\n } else if (c == '[' && !escaped) {\n charClassDepth++;\n } else if (c == ']' && !escaped) {\n if (--charClassDepth < 0) {\n throw new QueryException(ErrorCode.ERR_INVALID_REGULAR_EXPRESSION, \"Invalid sequence of brackets.\");\n }\n } else if (removeWhitespace) {\n // Remove whitespace outside of character classes\n if (charClassDepth == 0 && WHITESPACE.contains(c)) {\n // Don't touch boolean flags\n continue;\n }\n\n sb.append(c);\n }\n\n groupStart = false;\n escaped = false;\n }\n\n // Check for trailing '\\' (only valid with subsequent characters)\n if (escaped && backRef == 0) {\n throw new QueryException(ErrorCode.ERR_INVALID_REGULAR_EXPRESSION, \"Trailing backslash character in pattern.\");\n }\n\n // Check back reference if that was last token in pattern\n if (backRef > 0 && backRef > completeGroups) {\n throw new QueryException(ErrorCode.ERR_INVALID_REGULAR_EXPRESSION,\n \"Back reference to nonexisting or unfinished group.\");\n }\n\n // Check for dangling brackets\n if (charClassDepth != 0 || groupDepth != 0) {\n throw new QueryException(ErrorCode.ERR_INVALID_REGULAR_EXPRESSION, \"Pattern contains dangling brackets.\");\n }\n\n if (!removeWhitespace) {\n sb.append(regex);\n }\n\n if (mode == Mode.MATCH) {\n // Adapt for XQuery substring matching by extending pattern\n if (sb.charAt(0) != '^' || ((flagMask & Pattern.MULTILINE) == Pattern.MULTILINE)) {\n if ((flagMask & Pattern.DOTALL) == Pattern.DOTALL) {\n sb.insert(0, \".*\");\n } else {\n sb.insert(0, \"(?s:.*)\");\n }\n }\n\n if (sb.charAt(sb.length() - 1) != '$' || ((flagMask & Pattern.MULTILINE) == Pattern.MULTILINE)) {\n if ((flagMask & Pattern.DOTALL) == Pattern.DOTALL) {\n sb.append(\".*\");\n } else {\n sb.append(\"(?s:.*)\");\n }\n }\n }\n\n return sb.toString();\n }", "public RegExp anyChar ()\n {\n // FIXME: there is some code duplication here with the parser\n final List <Interval> list = new ArrayList <> ();\n list.add (new Interval (0, CharClasses.maxChar));\n return new RegExp1 (sym.CCLASS, list);\n }", "protected String hookGetRegex() \r\n\t{\n\t\treturn \"\\\\s+\"; \r\n\t}", "private static boolean matchRegex(Pattern regExpression, String filename) {\n\t\tMatcher m = regExpression.matcher(filename);\n\t\tif (m.matches()) {\n\t\t\treturn true;\n\t\t} else {\n\t\t\treturn false;\n\t\t}\n\t}", "RegExConstraint createRegExConstraint();", "public void setRegexMatch(java.lang.Short regexMatch) {\r\n this.regexMatch = regexMatch;\r\n }", "void mo5871a(String str);", "private JBurgPatternMatcher()\n\t{\n\t}", "public final String getPattern() {\n/* 187 */ return this.m_pattern;\n/* */ }", "public String getPattern() {\n\treturn pattern;\n }", "public Regex mo131901a(int i) {\n C32591j jVar = C32645l.m150681b(this.f111785a.m150658d(), i);\n if (jVar.getStart().intValue() < 0) {\n return null;\n }\n String group = this.f111785a.m150658d().group(i);\n C32569u.m150513a((Object) group, \"matchResult.group(index)\");\n return new Regex(group, jVar);\n }", "@Override\n\tpublic void visit(RegExpMatchOperator arg0) {\n\t\t\n\t}", "@Test //TEST FOUR\n void testOneNumberinRabbitName()\n {\n Rabbit_RegEx rabbit_Name = new Rabbit_RegEx();\n rabbit_Name.setRabbitName(\"MO0N\");\n assertFalse(rabbit_Name.getRabbitName().matches(\"[A-Za-z-]*\"));\n }", "private LiteralToken nextRegularExpressionLiteralToken() {\n LiteralToken token = scanner.nextRegularExpressionLiteralToken();\n lastSourcePosition = token.location.end;\n return token;\n }", "public String getPattern() {\r\n \treturn pattern;\r\n }", "public int getPattern() {\n return this.pattern;\n }" ]
[ "0.72026896", "0.7194223", "0.7194223", "0.68615586", "0.6858206", "0.67436427", "0.6587065", "0.6512296", "0.64326847", "0.6404885", "0.63460666", "0.6331", "0.6291084", "0.6286594", "0.6254456", "0.6238955", "0.6219856", "0.6202358", "0.6189153", "0.61239773", "0.610071", "0.6062738", "0.6032594", "0.59982014", "0.5996874", "0.5924192", "0.59115654", "0.5864164", "0.58572525", "0.58453", "0.58453", "0.5841216", "0.58262175", "0.5814594", "0.5811531", "0.58056986", "0.580481", "0.57985896", "0.57547474", "0.5754631", "0.5754291", "0.57499665", "0.57477105", "0.5747135", "0.57377404", "0.5728356", "0.5720464", "0.57105994", "0.569544", "0.5688132", "0.56866807", "0.5680289", "0.5667682", "0.56612164", "0.56564504", "0.5585063", "0.5555574", "0.5529932", "0.55271614", "0.5522922", "0.55216306", "0.5515437", "0.55144066", "0.5475341", "0.54649585", "0.54602605", "0.54552746", "0.5454531", "0.54507446", "0.54498005", "0.54474837", "0.5440438", "0.54248166", "0.54176825", "0.541224", "0.5411842", "0.5410461", "0.54078144", "0.5407357", "0.5399649", "0.53911847", "0.5381891", "0.5381891", "0.53741324", "0.5369898", "0.5353865", "0.53480643", "0.53464174", "0.53416866", "0.5329152", "0.53245693", "0.5322008", "0.5312056", "0.52923334", "0.5292296", "0.5286544", "0.5280226", "0.5259832", "0.5251492" ]
0.57697666
39
int32 subnetId = 2;
int getSubnetId();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@java.lang.Override\n public int getSubnetId() {\n return subnetId_;\n }", "@java.lang.Override\n public int getSubnetId() {\n return subnetId_;\n }", "@java.lang.Override\n public int getSubnetId() {\n return subnetId_;\n }", "@java.lang.Override\n public int getSubnetId() {\n return subnetId_;\n }", "@java.lang.Override\n public int getSubnetId() {\n return subnetId_;\n }", "@java.lang.Override\n public int getSubnetId() {\n return subnetId_;\n }", "public String subnetId() {\n return this.subnetId;\n }", "public String getSubnetId() {\n return this.SubnetId;\n }", "public Builder setSubnetId(int value) {\n\n subnetId_ = value;\n onChanged();\n return this;\n }", "public Builder setSubnetId(int value) {\n\n subnetId_ = value;\n onChanged();\n return this;\n }", "public Builder setSubnetId(int value) {\n\n subnetId_ = value;\n onChanged();\n return this;\n }", "int netid() {\n\t\t\treturn address & (-1 << mask);\n\t\t}", "entities.Torrent.SubnetRequest getSubnetRequest();", "@Required\n public String getSubnet() {\n return subnet;\n }", "java.lang.String getSubnet();", "com.google.protobuf.ByteString getSubnetBytes();", "int getS1Ip();", "int getSnId();", "int getSnId();", "int getSnId();", "int getSnId();", "public void setSubnetId(String SubnetId) {\n this.SubnetId = SubnetId;\n }", "@Test\n public void testToInt() {\n Ip4Address ipAddress;\n\n ipAddress = Ip4Address.valueOf(\"1.2.3.4\");\n assertThat(ipAddress.toInt(), is(0x01020304));\n\n ipAddress = Ip4Address.valueOf(\"0.0.0.0\");\n assertThat(ipAddress.toInt(), is(0));\n\n ipAddress = Ip4Address.valueOf(\"255.255.255.255\");\n assertThat(ipAddress.toInt(), is(-1));\n }", "int getPacketId();", "int getInIp();", "int getInIp();", "private boolean isSubnetInUse(String subnetId) {\n return false;\n }", "entities.Torrent.SubnetResponse getSubnetResponse();", "IntExpression netid(Expression p) {\n\t\treturn addr(p).and(explicitMask(p));\n\t}", "public String subnetName() {\n return this.subnetName;\n }", "public ApiEntityReference subnet() {\n return this.subnet;\n }", "int getPrimarySnId();", "int getPrimarySnId();", "int getReceiverid();", "public SubnetInner subnet() {\n return this.subnet;\n }", "public String getSubnetArn() {\n return this.subnetArn;\n }", "public interface Constants {\n public static final short NET_MASK_MAX_LENGTH = 32;\n}", "public byte getId() {\n return 2;\n }", "@Test\n public void testAddress()\n {\n System.out.println(\"address\");\n int addr = 16893;\n System.out.println(N2TCode.address(addr));\n System.out.println(Integer.toBinaryString(addr));\n }", "public BigInteger getNetworkId() {\n return networkId;\n }", "private void sumbit(String ip){\n }", "int getBlockId();", "public final String getNetId( )\r\n {\r\n return netId;\r\n }", "Integer getSesscode();", "public long getUInt() { return bb.getInt() & 0xffff_ffffL; }", "int getSourceSnId();", "@Test\n public void testValueOfForIntegerIPv4() {\n Ip4Address ipAddress;\n\n ipAddress = Ip4Address.valueOf(0x01020304);\n assertThat(ipAddress.toString(), is(\"1.2.3.4\"));\n\n ipAddress = Ip4Address.valueOf(0);\n assertThat(ipAddress.toString(), is(\"0.0.0.0\"));\n\n ipAddress = Ip4Address.valueOf(0xffffffff);\n assertThat(ipAddress.toString(), is(\"255.255.255.255\"));\n }", "int getIp();", "int getIp();", "int getIp();", "private int getNumberBase(String n1){\n return Integer.parseUnsignedInt(n1, base);\n }", "int decodeInt();", "@Override\n\tpublic Long getNetId() {\n\t\treturn null;\n\t}", "int getAddr();", "@Test\n public void testLocalCircuitId() throws Exception {\n isisNeighbor.setLocalCircuitId((byte) 1);\n result4 = isisNeighbor.localCircuitId();\n assertThat(result4, is((byte) 1));\n }", "int getBlockNumber();", "int getBlockNumber();", "int getClientIpV4();", "Integer destinationPort();", "public static void main(String[] args) {\n byte[] ip = new byte[]{(byte) 192, (byte) 168, 1, 2};\n byte[] mask = new byte[]{(byte) 255, (byte) 255, (byte) 254, 0};\n byte[] netAddress = getNetAddress(ip, mask);\n print(ip); //11000000 10101000 00000001 00000010\n print(mask); //11111111 11111111 11111110 00000000\n print(netAddress); //11000000 10101000 00000000 00000000\n }", "public int getId() {\n\t\treturn config >> 8;\n\t}", "byte[] networkMask();", "public int getOctet(int position)\n {\n position = position > 3 ? 3 : position;\n position = position < 0 ? 0 : position;\n \n return address[position];\n }", "public Inet4Address getNetworkAddress() {\n\t\treturn subnetAddress;\n\t}", "interface MyConfig {\n int teamNumber = 5;\n int basePort = 5000;\n int udpPort = teamNumber + basePort;\n String interfaceName = \"wlan0\";\n // String broadcastAddress = \"192.168.24.255\";\n //String broadcastAddress = \"localhost\";\n}", "Uint32 getType();", "private int getSSN (){\n return ssn;\n }", "java.lang.String getSnIp();", "java.lang.String getSnIp();", "UUID getNegotiationId();", "Integer getNLNDccp();", "public int GetID()\n {\n return blockType.GetID();\n }", "private static int parseInt(String sn) {\n\t\treturn Integer.parseInt(sn.substring(2), 16);\n\t}", "private void setS1Ip(int value) {\n \n s1Ip_ = value;\n }", "private void setInIp(int value) {\n \n inIp_ = value;\n }", "private void setInIp(int value) {\n \n inIp_ = value;\n }", "static int lanPort(String xxx) {\n\t\treturn 20000 + Integer.parseInt(xxx);\n\t}", "public int getBlockTextureFromSide(int var1)\r\n {\r\n return var1 == 1 ? 72 : (var1 == 0 ? 74 : 73);\r\n }", "BigInteger getTelefone();", "entities.Torrent.SubnetRequestOrBuilder getSubnetRequestOrBuilder();", "boolean hasSubnetRequest();", "String getIdNumber();", "public int a(int var1, int var2)\r\n {\r\n byte var3 = -1;\r\n\r\n switch (var2)\r\n {\r\n case 0:\r\n var3 = 22;\r\n break;\r\n\r\n case 1:\r\n var3 = 23;\r\n break;\r\n\r\n case 2:\r\n var3 = 24;\r\n }\r\n\r\n if (var3 == -1)\r\n {\r\n var3 = 1;\r\n }\r\n\r\n return var3;\r\n }", "public static int offset_receiverNodeID() {\n return (16 / 8);\n }", "public boolean isInSubnet(Inet4Address address) {\n\t\tbyte[] sb = subnetAddress.getAddress();\n\t\tint subnet_int = ((sb[0] & 0xFF) << 24) |\n\t\t\t\t\t\t((sb[1] & 0xFF) << 16) |\n\t\t\t\t\t\t((sb[2] & 0xFF) << 8) |\n\t\t\t\t\t\t((sb[3] & 0xFF) << 0);\n\t\t\n\t\tbyte[] b = address.getAddress();\n\t\tint address_int = ((b[0] & 0xFF) << 24) |\n\t\t\t\t\t\t((b[1] & 0xFF) << 16) |\n\t\t\t\t\t\t((b[2] & 0xFF) << 8) |\n\t\t\t\t\t\t((b[3] & 0xFF) << 0);\n\t\t\n\t\tint bitmask = -1 << (32 - mask);\n\t\t\n\t\tif ((subnet_int & bitmask) == (address_int & bitmask)) {\n\t\t\treturn true;\n\t\t}else {\n\t\t\treturn false;\n\t\t}\n\t}", "int reservedPacketCircuitType();", "int getSendid();", "int getMemberId2();", "static private int makeInt(int b3, int b2, int b1, int b0) {\n return (((b3 ) << 24) |\n ((b2 & 0xff) << 16) |\n ((b1 & 0xff) << 8) |\n ((b0 & 0xff) ));\n }", "Expression subnet(Expression p) {\n\t\treturn p.join(subnet);\n\t}", "int getPinNumber();", "public byte getId() {\n return 8;\n }", "public interface CallId {\r\n}", "public int getLocalSlotNumber();", "public String getCidr() {\n return cidr;\n }", "private int toPdpType(String type) {\n char c;\n int hashCode = type.hashCode();\n if (hashCode == -2128542875) {\n if (type.equals(\"IPV4V6\")) {\n c = 2;\n switch (c) {\n case 0:\n break;\n case 1:\n break;\n case 2:\n break;\n case 3:\n break;\n }\n }\n } else if (hashCode == 2343) {\n if (type.equals(\"IP\")) {\n c = 0;\n switch (c) {\n case 0:\n break;\n case 1:\n break;\n case 2:\n break;\n case 3:\n break;\n }\n }\n } else if (hashCode == 79440) {\n if (type.equals(\"PPP\")) {\n c = 3;\n switch (c) {\n case 0:\n break;\n case 1:\n break;\n case 2:\n break;\n case 3:\n break;\n }\n }\n } else if (hashCode == 2254343 && type.equals(\"IPV6\")) {\n c = 1;\n switch (c) {\n case 0:\n return 1;\n case 1:\n return 2;\n case 2:\n return 3;\n case 3:\n return 4;\n default:\n Rlog.e(TAG, \"Unknown type: \" + type);\n return 0;\n }\n }\n c = 65535;\n switch (c) {\n case 0:\n break;\n case 1:\n break;\n case 2:\n break;\n case 3:\n break;\n }\n }", "public String long_ip(long numero_ip){\n String str_num_ip=\"\";\n for(int i=3; i>=0; i--){\n str_num_ip += (0b1111_1111 & (numero_ip >> (i*8) )) + (i!=0? \".\": \"\");\n }\n return str_num_ip;\n }", "int getVbNum();" ]
[ "0.6901655", "0.6901655", "0.6900688", "0.68461734", "0.6844633", "0.6844633", "0.66626906", "0.6474268", "0.6279669", "0.6279669", "0.6279669", "0.62370723", "0.6060043", "0.59837335", "0.59434897", "0.5932656", "0.57812864", "0.5715183", "0.5715183", "0.5715183", "0.5715183", "0.55572236", "0.5503398", "0.54916567", "0.5487927", "0.5487927", "0.5484486", "0.5478088", "0.5442048", "0.54206026", "0.54137975", "0.5392619", "0.5392619", "0.5365798", "0.5291091", "0.528957", "0.5283083", "0.5282385", "0.5268595", "0.5252715", "0.5225848", "0.5209509", "0.52053666", "0.5204332", "0.51964515", "0.5178672", "0.5174273", "0.51621306", "0.51621306", "0.51621306", "0.51385176", "0.51312715", "0.5110987", "0.5107079", "0.51043403", "0.50909513", "0.50909513", "0.5090002", "0.5086444", "0.5068104", "0.50598544", "0.5057555", "0.50325215", "0.5030072", "0.5026617", "0.5016135", "0.5011811", "0.50008655", "0.50008655", "0.49958766", "0.49948108", "0.49931207", "0.49834228", "0.4979516", "0.49757165", "0.49757165", "0.49736804", "0.49645814", "0.4964548", "0.49564615", "0.49549797", "0.49375892", "0.4935244", "0.4930095", "0.4928708", "0.49278957", "0.4926811", "0.4923332", "0.49175766", "0.49155587", "0.4915269", "0.49088785", "0.4906809", "0.49064866", "0.48997712", "0.48915312", "0.4886508", "0.48773444" ]
0.77809644
1
Use SearchRequest.newBuilder() to construct.
private SearchRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { super(builder); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public SearchResponse search(SearchRequest request) throws SearchServiceException;", "entities.Torrent.SearchRequestOrBuilder getSearchRequestOrBuilder();", "SearchResponse search(SearchRequest searchRequest) throws IOException;", "public Builder setSearchRequest(entities.Torrent.SearchRequest value) {\n if (searchRequestBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n searchRequest_ = value;\n onChanged();\n } else {\n searchRequestBuilder_.setMessage(value);\n }\n\n return this;\n }", "public entities.Torrent.SearchRequestOrBuilder getSearchRequestOrBuilder() {\n if (searchRequestBuilder_ != null) {\n return searchRequestBuilder_.getMessageOrBuilder();\n } else {\n return searchRequest_ == null ?\n entities.Torrent.SearchRequest.getDefaultInstance() : searchRequest_;\n }\n }", "public Builder mergeSearchRequest(entities.Torrent.SearchRequest value) {\n if (searchRequestBuilder_ == null) {\n if (searchRequest_ != null) {\n searchRequest_ =\n entities.Torrent.SearchRequest.newBuilder(searchRequest_).mergeFrom(value).buildPartial();\n } else {\n searchRequest_ = value;\n }\n onChanged();\n } else {\n searchRequestBuilder_.mergeFrom(value);\n }\n\n return this;\n }", "@java.lang.Override\n public com.clarifai.grpc.api.SearchOrBuilder getSearchOrBuilder() {\n if ((inputSourceCase_ == 10) && (searchBuilder_ != null)) {\n return searchBuilder_.getMessageOrBuilder();\n } else {\n if (inputSourceCase_ == 10) {\n return (com.clarifai.grpc.api.Search) inputSource_;\n }\n return com.clarifai.grpc.api.Search.getDefaultInstance();\n }\n }", "public entities.Torrent.SearchRequest getSearchRequest() {\n if (searchRequestBuilder_ == null) {\n return searchRequest_ == null ? entities.Torrent.SearchRequest.getDefaultInstance() : searchRequest_;\n } else {\n return searchRequestBuilder_.getMessage();\n }\n }", "@java.lang.Override\n public com.clarifai.grpc.api.SearchOrBuilder getSearchOrBuilder() {\n if (inputSourceCase_ == 10) {\n return (com.clarifai.grpc.api.Search) inputSource_;\n }\n return com.clarifai.grpc.api.Search.getDefaultInstance();\n }", "public Builder setSearch(com.clarifai.grpc.api.Search value) {\n if (searchBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n inputSource_ = value;\n onChanged();\n } else {\n searchBuilder_.setMessage(value);\n }\n inputSourceCase_ = 10;\n return this;\n }", "@java.lang.Override\n public entities.Torrent.SearchRequestOrBuilder getSearchRequestOrBuilder() {\n return getSearchRequest();\n }", "private LocalSearchRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "@java.lang.Override\n public com.clarifai.grpc.api.Search getSearch() {\n if (searchBuilder_ == null) {\n if (inputSourceCase_ == 10) {\n return (com.clarifai.grpc.api.Search) inputSource_;\n }\n return com.clarifai.grpc.api.Search.getDefaultInstance();\n } else {\n if (inputSourceCase_ == 10) {\n return searchBuilder_.getMessage();\n }\n return com.clarifai.grpc.api.Search.getDefaultInstance();\n }\n }", "SearchResponse query(SearchRequest request, Map<SearchParam, String> params);", "public VehicleSearchRequest createSearchVechicle() {\r\n\r\n\t\tVehicleSearchRequest searchRequest = new VehicleSearchRequest();\r\n\r\n\t\tif (StringUtils.isBlank(searchLocation)) {\r\n\t\t\tsearchRequest.setLocation(DefaultValues.LOCATION_DEFAULT.getDef());\r\n\t\t} else {\r\n\t\t\tsearchRequest.setLocation(searchLocation);\r\n\t\t}\r\n\r\n\t\tif (StringUtils.isBlank(searchVehicleType)) {\r\n\t\t\tsearchRequest.setVehicleType(VehicleType.getEnum(DefaultValues.VEHICLE_TYPE_DEFAULT.getDef()));\r\n\t\t} else {\r\n\t\t\tsearchRequest.setVehicleType(VehicleType.getEnum(searchVehicleType));\r\n\t\t}\r\n\r\n\t\tif (StringUtils.isBlank(searchFin)) {\r\n\t\t\tsearchRequest.setFin(DefaultValues.FIN_DEFAULT.getDef());\r\n\t\t} else {\r\n\t\t\tsearchRequest.setFin(searchFin);\r\n\t\t}\r\n\r\n\t\tif (StringUtils.isBlank(searchModel)) {\r\n\t\t\tsearchRequest.setModel(DefaultValues.MODEL_DEFAULT.getDef());\r\n\t\t} else {\r\n\t\t\tsearchRequest.setModel(searchModel);\r\n\t\t}\r\n\r\n\t\tif (StringUtils.isBlank(searchFuelType)) {\r\n\t\t\tsearchRequest.setFuelType(FuelType.DEFAULT);\r\n\t\t} else {\r\n\t\t\tsearchRequest.setFuelType(FuelType.getEnum(searchFuelType));\r\n\t\t}\r\n\r\n\t\tif (searchMaxCapacity == 0) {\r\n\t\t\tsearchRequest.setMaxCapacity(DefaultValues.MAX_CAPACITY_DEFAULT.getDefValue());\r\n\t\t} else {\r\n\t\t\tsearchRequest.setMaxCapacity(searchMaxCapacity);\r\n\t\t}\r\n\r\n\t\tif (searchMinCapacity == 0) {\r\n\t\t\tsearchRequest.setMinCapacity(DefaultValues.MIN_CAPACITY_DEFAULT.getDefValue());\r\n\t\t} else {\r\n\t\t\tsearchRequest.setMinCapacity(searchMinCapacity);\r\n\t\t}\r\n\r\n\t\tif (searchMinYear == 0) {\r\n\t\t\tsearchRequest.setMinYear(DefaultValues.MIN_YEAR_DEFAULT.getDefValue());\r\n\t\t} else {\r\n\t\t\tsearchRequest.setMinYear(searchMinYear);\r\n\t\t}\r\n\r\n\t\tif (searchMaxYear == 0) {\r\n\t\t\tsearchRequest.setMaxYear(DefaultValues.MAX_YEAR_DEFAULT.getDefValue());\r\n\t\t} else {\r\n\t\t\tsearchRequest.setMaxYear(searchMaxYear);\r\n\t\t}\r\n\r\n\t\tif (searchMaxPrice == 0) {\r\n\t\t\tsearchRequest.setMaxPrice(DefaultValues.MAX_PRICE_DEFAULT.getDefValue());\r\n\t\t} else {\r\n\t\t\tsearchRequest.setMaxPrice(searchMaxPrice);\r\n\t\t}\r\n\r\n\t\tif (searchMinPrice == 0) {\r\n\t\t\tsearchRequest.setMinPrice(DefaultValues.MIN_PRICE_DEFAULT.getDefValue());\r\n\t\t} else {\r\n\t\t\tsearchRequest.setMinPrice(searchMinPrice);\r\n\t\t}\r\n\t\treturn searchRequest;\r\n\t}", "public Builder mergeSearch(com.clarifai.grpc.api.Search value) {\n if (searchBuilder_ == null) {\n if (inputSourceCase_ == 10 &&\n inputSource_ != com.clarifai.grpc.api.Search.getDefaultInstance()) {\n inputSource_ = com.clarifai.grpc.api.Search.newBuilder((com.clarifai.grpc.api.Search) inputSource_)\n .mergeFrom(value).buildPartial();\n } else {\n inputSource_ = value;\n }\n onChanged();\n } else {\n if (inputSourceCase_ == 10) {\n searchBuilder_.mergeFrom(value);\n } else {\n searchBuilder_.setMessage(value);\n }\n }\n inputSourceCase_ = 10;\n return this;\n }", "TSearchQuery createSearchQuery(SearchQueryDefinitionAPI searchQueryDefinition);", "public abstract Search create(String search, SearchBuilder builder);", "@java.lang.Override\n public entities.Torrent.SearchRequest getSearchRequest() {\n return searchRequest_ == null ? entities.Torrent.SearchRequest.getDefaultInstance() : searchRequest_;\n }", "@java.lang.Override\n public com.clarifai.grpc.api.Search getSearch() {\n if (inputSourceCase_ == 10) {\n return (com.clarifai.grpc.api.Search) inputSource_;\n }\n return com.clarifai.grpc.api.Search.getDefaultInstance();\n }", "SearchResponse search(Pageable pageable, QueryBuilder query, AggregationBuilder aggregation);", "private SearchResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "public NaturalLanguageSearchRequest(String query) throws IllegalArgumentException {\n if (query == null) {\n throw new IllegalArgumentException(\"query is required\");\n }\n\n this.query = query;\n this.section = \"Products\";\n this.page = 1;\n this.resultsPerPage = 30;\n }", "entities.Torrent.SearchRequest getSearchRequest();", "public entities.Torrent.SearchRequest.Builder getSearchRequestBuilder() {\n\n onChanged();\n return getSearchRequestFieldBuilder().getBuilder();\n }", "entities.Torrent.LocalSearchRequestOrBuilder getLocalSearchRequestOrBuilder();", "public com.clarifai.grpc.api.Search.Builder getSearchBuilder() {\n return getSearchFieldBuilder().getBuilder();\n }", "Search getSearch();", "List<SearchResult> search(SearchQuery searchQuery);", "public SearchResponse<T, P> build(Pageable searchRequest, QueryResponse queryResponse) {\n // Create response\n SearchResponse<T, P> searchResponse = new SearchResponse<T, P>(searchRequest);\n searchResponse.setCount(queryResponse.getResults().getNumFound());\n searchResponse.setLimit(queryResponse.getResults().size());\n // The results and facets are copied into the response\n final List<ST> resultsST = queryResponse.getBeans(annotatedClass);\n // convert types\n final List<T> results = Lists.newArrayList();\n for (ST x : resultsST) {\n results.add(x);\n }\n searchResponse.setResults(results);\n searchResponse.setFacets(getFacetsFromResponse(queryResponse));\n setHighlightedFields(searchResponse, queryResponse);\n if(queryResponse.getSpellCheckResponse() != null){\n searchResponse.setSpellCheckResponse(SpellCheckResponseBuilder.build(queryResponse.getSpellCheckResponse()));\n }\n return searchResponse;\n }", "TSearchResults createSearchResults(TSearchQuery searchQuery);", "private Search() {}", "public MagicSearch createMagicSearch();", "public static interface SearchType\n\t{\n\t\t/**\n\t\t * Creates a search of this type with the given query\n\t\t * \n\t\t * @param search The search query\n\t\t * @param builder The search builder that is compiling the search\n\t\t * @return The compiled search object representing the given query\n\t\t */\n\t\tpublic abstract Search create(String search, SearchBuilder builder);\n\n\t\t/** @return All headers that may begin a search of this type */\n\t\tpublic abstract String [] getHeaders();\n\t}", "entities.Torrent.SearchResponseOrBuilder getSearchResponseOrBuilder();", "public Builder setSearchRequest(\n entities.Torrent.SearchRequest.Builder builderForValue) {\n if (searchRequestBuilder_ == null) {\n searchRequest_ = builderForValue.build();\n onChanged();\n } else {\n searchRequestBuilder_.setMessage(builderForValue.build());\n }\n\n return this;\n }", "private com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.SearchRequest, entities.Torrent.SearchRequest.Builder, entities.Torrent.SearchRequestOrBuilder>\n getSearchRequestFieldBuilder() {\n if (searchRequestBuilder_ == null) {\n searchRequestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.SearchRequest, entities.Torrent.SearchRequest.Builder, entities.Torrent.SearchRequestOrBuilder>(\n getSearchRequest(),\n getParentForChildren(),\n isClean());\n searchRequest_ = null;\n }\n return searchRequestBuilder_;\n }", "@java.lang.Override\n public entities.Torrent.LocalSearchRequestOrBuilder getLocalSearchRequestOrBuilder() {\n return getLocalSearchRequest();\n }", "SearchResponse search(Pageable pageable, QueryBuilder query, Collection<AggregationBuilder> aggregations);", "private LocalSearchResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "public Builder clearSearchRequest() {\n if (searchRequestBuilder_ == null) {\n searchRequest_ = null;\n onChanged();\n } else {\n searchRequest_ = null;\n searchRequestBuilder_ = null;\n }\n\n return this;\n }", "SpellResponse spellQuery(SearchRequest request, Map<SearchParam, String> params);", "public entities.Torrent.LocalSearchRequest.Builder getLocalSearchRequestBuilder() {\n\n onChanged();\n return getLocalSearchRequestFieldBuilder().getBuilder();\n }", "entities.Torrent.LocalSearchRequest getLocalSearchRequest();", "private com.google.protobuf.SingleFieldBuilderV3<\n com.clarifai.grpc.api.Search, com.clarifai.grpc.api.Search.Builder, com.clarifai.grpc.api.SearchOrBuilder> \n getSearchFieldBuilder() {\n if (searchBuilder_ == null) {\n if (!(inputSourceCase_ == 10)) {\n inputSource_ = com.clarifai.grpc.api.Search.getDefaultInstance();\n }\n searchBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<\n com.clarifai.grpc.api.Search, com.clarifai.grpc.api.Search.Builder, com.clarifai.grpc.api.SearchOrBuilder>(\n (com.clarifai.grpc.api.Search) inputSource_,\n getParentForChildren(),\n isClean());\n inputSource_ = null;\n }\n inputSourceCase_ = 10;\n onChanged();;\n return searchBuilder_;\n }", "public search() {\n }", "TSearchQuery prepareSearchQuery(SearchQueryDefinitionAPI searchQueryDefinition);", "private JsonObject search(JsonObject request) {\n\t\t\tJsonObject result = new JsonObject();\n\t\t\tJsonArray artists = new JsonArray();\n\t\t\tJsonArray titles = new JsonArray();\n\t\t\tJsonArray tags = new JsonArray();\n\t\t\tJsonArray arSimilars = new JsonArray();\n\t\t\tJsonArray tiSimilars = new JsonArray();\n\t\t\tJsonArray taSimilars = new JsonArray();\n\t\t\t//Individually search by artist, by title and by tag. \n\t\t\tartists = request.getAsJsonArray(\"searchByArtist\");\n\t\t\ttitles = request.getAsJsonArray(\"searchByTitle\");\n\t\t\ttags = request.getAsJsonArray(\"searchByTag\");\n\t\t\t//If the request contains \"artist\", we search each artist's similar song, and add it to a JsonArray.\n\t\t\tif(artists != null && artists.size() >= 1) {\n\t\t\t\tfor(JsonElement artist: artists) {\n\t\t\t\t\tarSimilars.add(this.sl.searchByArtist(artist.getAsString()));\t\n\t\t\t\t}\n\t\t\t\t//We add the JsonArray to result, associated with \"searchByArtist\".\n\t\t\t\tresult.add(\"searchByArtist\", arSimilars);\n\t\t\t}\n\t\t\t//If the request contains \"tag\", we search each tag's similar song, and add it to a JsonArray.\n\t\t\tif(tags != null && tags.size() >= 1) {\n\t\t\t\tfor(JsonElement tag: tags) {\t\t\t\t\n\t\t\t\t\ttaSimilars.add(this.sl.searchByTag(tag.getAsString()));\t\t\t\t\n\t\t\t\t}\n\t\t\t\t//We add the JsonArray to result, associated with \"searchByTag\".\n\t\t\t\tresult.add(\"searchByTag\", taSimilars);\n\t\t\t}\t\t\n\t\t\t//If the request contains title, we search each title's similar song, and add it to a JsonArray\n\t\t\tif(titles != null && titles.size() >= 1) {\t\t\t\n\t\t\t\tfor(JsonElement title: titles) {\n\t\t\t\t\ttiSimilars.add(this.sl.searchByTitle(title.getAsString()));\n\t\t\t\t}\n\t\t\t\t//We add the JsonArray to result, associated with \"searchByTiltle\".\n\t\t\t\tresult.add(\"searchByTitle\", tiSimilars);\n\t\t\t}\n\t\t\treturn result;\n\t\t}", "public Search() {\n this.timestamp = System.currentTimeMillis();\n }", "@GET(\"w/api.php?action=opensearch&format=json&suggest&redirects=resolve\")\n Call<JsonElement> getSuggestionsFromSearch(@Query(\"search\") String search);", "@Override\n public SearchResultInfo search(SearchRequestInfo searchRequest) {\n try\n {\n SearchResultInfo searchResult = searchDispatcher.search(searchRequest, ContextUtils.getContextInfo());\n List<SearchParamInfo> params = searchRequest.getParams();\n if (params != null && params.size() > 0) {\n SearchParamInfo firstParam = params.get(0);\n if (firstParam.getKey().equals(\"lu.queryParam.cluVersionIndId\")) {//FIXME can this special case be handled after this call?\n doIdTranslation(searchResult);\n }\n }\n return searchResult;\n } catch (Exception ex) {\n // Log exception \n ex.printStackTrace();\n throw new RuntimeException(ex);\n }\n }", "public Builder setSearchUserReq(SearchUser.Req value) {\n copyOnWrite();\n instance.setSearchUserReq(value);\n return this;\n }", "private static SearchResponse createSearchResponse() {\n long tookInMillis = randomNonNegativeLong();\n int totalShards = randomIntBetween(1, Integer.MAX_VALUE);\n int successfulShards = randomIntBetween(0, totalShards);\n int skippedShards = randomIntBetween(0, totalShards);\n InternalSearchResponse internalSearchResponse = InternalSearchResponse.empty();\n\n return new SearchResponse(\n internalSearchResponse,\n null,\n totalShards,\n successfulShards,\n skippedShards,\n tookInMillis,\n ShardSearchFailure.EMPTY_ARRAY,\n SearchResponse.Clusters.EMPTY\n );\n }", "public SearchService(String name) {\n super(\"\");\n }", "public SearchQueryBuilder(String query, String searchType) {\n this(query, SearchTypeService.getSearchModel(searchType));\n }", "public static <T, ST extends T, P extends Enum<?> & SearchParameter> SearchResponseBuilder<T, ST, P> create(\n Class<T> responseClass, Class<ST> annotatedClass, BiMap<String, P> facetFieldsPropertiesMap,\n BiMap<String, String> fieldPropertyPropertiesMap) {\n\n return new SearchResponseBuilder<T, ST, P>(responseClass, annotatedClass, facetFieldsPropertiesMap,\n fieldPropertyPropertiesMap);\n }", "public entities.Torrent.LocalSearchRequestOrBuilder getLocalSearchRequestOrBuilder() {\n if (localSearchRequestBuilder_ != null) {\n return localSearchRequestBuilder_.getMessageOrBuilder();\n } else {\n return localSearchRequest_ == null ?\n entities.Torrent.LocalSearchRequest.getDefaultInstance() : localSearchRequest_;\n }\n }", "public TboFlightSearchRequest() {\n}", "public entities.Torrent.LocalSearchRequest getLocalSearchRequest() {\n if (localSearchRequestBuilder_ == null) {\n return localSearchRequest_ == null ? entities.Torrent.LocalSearchRequest.getDefaultInstance() : localSearchRequest_;\n } else {\n return localSearchRequestBuilder_.getMessage();\n }\n }", "public GoogleSearch() {\n\n\n }", "public Builder setLocalSearchRequest(entities.Torrent.LocalSearchRequest value) {\n if (localSearchRequestBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n localSearchRequest_ = value;\n onChanged();\n } else {\n localSearchRequestBuilder_.setMessage(value);\n }\n\n return this;\n }", "public void setSearchQuery(String searchQuery) {\n this.searchQuery = searchQuery;\n }", "@Override\n public void search(SearchQuery searchQuery) throws VanilaException {\n\n setKeepQuite(false);\n\n String query = searchQuery.query;\n SearchOptions options = searchQuery.options;\n\n if (isCacheHavingResults(query)) {\n searchComplete(query, mRecentSearchResultsMap.get(query), null);\n }\n else {\n if (mIsBusyInSearch) {\n mMostRecentAwaitingQuery = searchQuery;\n }\n else {\n\n mMostRecentAwaitingQuery = null;\n mIsBusyInSearch = true;\n\n FSRequestDTO request = mFSContext.buildVenueRequest(query, options);\n\n FSVenueSearchGateway gateway = mMobilePlatformFactory.getSyncAdapter()\n .getSyncGateway(FSVenueSearchGateway.CLASS_NAME);\n gateway.fireReadVenueListRequest(request);\n }\n }\n }", "public static RequestsSearch crossReferenceRequestsBySearchTerm(String searchTerm) {\n\t\tProductSearch ps = ProductSearch.productSearchFromTitle(searchTerm);\n\t\tdeterminedSearchTerm = determineSearchString(ps.getItems());\n\t\tRequestsSearch r = RequestsSearch.requestSearchFromSearchTerm(determinedSearchTerm);\n\t\treturn r;\n\t}", "private SearchRequestBuilder createSearchBuilder(StoreURL storeURL, EsQuery esQuery) {\n SearchRequestBuilder searchBuilder = this.getClient(storeURL)\n .prepareSearch(esQuery.getGraph())\n .setQuery(RootBuilder.get(esQuery))\n .setFetchSource(true)\n .setFrom(esQuery.getPageNo())\n .setSize(esQuery.getPageSize());\n if(CollectionUtils.isNotEmpty(esQuery.getSchemas())){\n searchBuilder.setTypes(esQuery.getSchemas().toArray(new String[]{}));\n }\n this.addAggregations(esQuery, searchBuilder); // aggregation\n this.addSortFields(esQuery, searchBuilder); // sort\n this.addHighlightFields(esQuery, searchBuilder); // highlight\n return searchBuilder;\n }", "public SearchResultModel(Parcel in) {\n\t\tthis.title = in.readString();\n\t\tthis.airDay = in.readString();\n\t\tthis.airTime = in.readString();\n\t\tthis.bannerUrl = in.readString();\n\t\tthis.certification = in.readString();\n\t\tthis.country = in.readString();\n\t\tthis.network = in.readString();\n\t\tthis.oveview = in.readString();\n\t\tthis.posterUrl = in.readString();\n\t\tthis.traktUrl = in.readString();\n\t\tthis.ratting_percentage = in.readString();\n\t\tthis.loved = in.readString();\n\t\tthis.hated = in.readString();\n\t\tthis.genres = in.readString();\n\t\tthis.firstAired = in.readInt();\n\t\tthis.runtime = in.readInt();\n\t\tthis.tvRageId = in.readInt();\n\t\tthis.tvdbId = in.readInt();\n\t\tthis.year = in.readInt();\n\t\tthis.ended = in.readByte() != 0;\n\t}", "public QueryResultBuilder<T> applySearch(Option<Search> search);", "private void search(SearchRequest request) {\r\n\t\tif(request == null)return;\r\n\t\tList<Record> results = handler.search(request);\r\n\t\tlist.show(results);\r\n\t\tpanInfo.setNumRec(results.size());\r\n\t\tpanInfo.setTotalAmt(Record.sumBalance(results));\r\n\t}", "public entities.Torrent.SearchResponse.Builder getSearchResponseBuilder() {\n\n onChanged();\n return getSearchResponseFieldBuilder().getBuilder();\n }", "SearchResult<TimelineMeta> search(SearchQuery searchQuery);", "CampusSearchQuery generateQuery();", "public void search(Map<String, String> searchParam);", "TSearchResults searchWithQuery(TSearchQuery searchQuery, SearchParametersAPI overrideParameters, TRepo repo, AreaFactory<TContent, TArea> areaFactory, ContentFactory<TContent> contentFactory);", "entities.Torrent.LocalSearchResponseOrBuilder getLocalSearchResponseOrBuilder();", "List<ResultDTO> search(String query);", "private RequestResponse handleSearchRequest(Request request, Response response) throws ServiceException {\n response.type(\"application/json\");\n\n String core = request.params(\":core\");\n if (StringUtils.isEmpty(core)) {\n throw new ServiceException(\"Failed to provide an index core for the document\");\n }\n\n SearchParameters searchParameters = new RequestToSearchParameters().convert(request);\n return this.searchService.query(core, searchParameters);\n }", "public Search(String value) {\n this(value, false);\n }", "public entities.Torrent.LocalSearchResponse.Builder getLocalSearchResponseBuilder() {\n\n onChanged();\n return getLocalSearchResponseFieldBuilder().getBuilder();\n }", "public ServiceMatchNetwork<E, T> searchComposition(Signature<E> request){\n ServiceMatchNetwork<E, T> network = discoverer.search(request);\n // Apply optimizations\n for(NetworkOptimizer<E,T> opt : optimizations){\n network = opt.optimize(network);\n }\n Algorithms.Search<State<E>,HeuristicNode<State<E>,Double>>.Result searchResult = CompositSearch.create(network).search();\n // Take the service operations from the optimal state path. We reverse the list because\n // the search was done backwards.\n List<State<E>> states = Lists.reverse(searchResult.getOptimalPath());\n List<Set<Operation<E>>> optimalServiceOps = Lists.transform(states, new Function<State<E>, Set<Operation<E>>>() {\n @Override\n public Set<Operation<E>> apply(State<E> state) {\n return state.getStateOperations();\n }\n });\n // Generate a new ServiceMatchNetwork composition with the optimal services.\n // To build the composition, we use the information of the previous network to build the match relations\n // between services among the optimal services.\n ServiceMatchNetwork<E, T> composition = new DirectedAcyclicSMN<E, T>(new HashLeveledServices<E>(optimalServiceOps), network);\n return composition;\n }", "public SearchDocument() {\n super();\n }", "public NotSearch()\n\t\t{\n\t\t}", "private SearchQuery(String _query, WebSearchType webSearchType) {\n this._query = _query;\n this._Web_search = webSearchType;\n }", "SearchUser.Req getSearchUserReq();", "public CancelSearchJobRequest(String id) {\n this.id = id;\n }", "public SearchQuery build() {\n this._Web_search.set_maxDepth(_maxDepth);\n this._Web_search.set_maxResults(_maxResults);\n this._Web_search.set_threshold(_threshold);\n this._Web_search.set_beamWidth(_beamWidth);\n if (heuristicSearchType == null) {\n this._Web_search.setHeuristicSearchType(Enums.HeuristicSearchType.BEST_FIRST);\n } else {\n this._Web_search.setHeuristicSearchType(heuristicSearchType);\n }\n\n return new SearchQuery(this._query, this._Web_search);\n }", "protected SearchSearchResponse doNewSearch(QueryContext queryContext) throws Exception {\n\t\t\n\t\tBooleanQuery query = _queryBuilder.buildSearchQuery(queryContext);\n\t\t\n\t\tBooleanQuery rescoreQuery = \n\t\t\t\t_queryBuilder.buildRescoreQuery(queryContext);\n\t\t\n\t\tList<Aggregation> aggregations = getAggregations(queryContext);\n\n\t\treturn execute(queryContext, query, rescoreQuery, aggregations);\n\t}", "@java.lang.Override\n public entities.Torrent.SearchResponseOrBuilder getSearchResponseOrBuilder() {\n return getSearchResponse();\n }", "public Builder setSearch(\n com.clarifai.grpc.api.Search.Builder builderForValue) {\n if (searchBuilder_ == null) {\n inputSource_ = builderForValue.build();\n onChanged();\n } else {\n searchBuilder_.setMessage(builderForValue.build());\n }\n inputSourceCase_ = 10;\n return this;\n }", "public ServiceRequest() {\n super();\n this.addNamespaceToRequest = true;\n }", "public Builder clearLocalSearchRequest() {\n if (localSearchRequestBuilder_ == null) {\n localSearchRequest_ = null;\n onChanged();\n } else {\n localSearchRequest_ = null;\n localSearchRequestBuilder_ = null;\n }\n\n return this;\n }", "public Builder mergeLocalSearchRequest(entities.Torrent.LocalSearchRequest value) {\n if (localSearchRequestBuilder_ == null) {\n if (localSearchRequest_ != null) {\n localSearchRequest_ =\n entities.Torrent.LocalSearchRequest.newBuilder(localSearchRequest_).mergeFrom(value).buildPartial();\n } else {\n localSearchRequest_ = value;\n }\n onChanged();\n } else {\n localSearchRequestBuilder_.mergeFrom(value);\n }\n\n return this;\n }", "ReagentSearch getReagentSearch();", "void searchStarted (Search search);", "Page<T> search(Pageable pageable, QueryBuilder query);", "void searchProbed (Search search);", "public static SearchQuery buildFullTextQuery(String searchData, PageRequest pageRequest) {\n QueryBuilder builder = generateDefaultQueryBuilderForFullTextSearch(searchData);\n FunctionScoreQueryBuilder functionBuilder = QueryBuilders.functionScoreQuery(builder);\n functionBuilder.add(ScoreFunctionBuilders\n .exponentialDecayFunction(Constants.DB_FIELD_RECEIVED_DATE, DEFAULT_DECAY_FOR_RECEIVED_DATE));\n\n return new NativeSearchQueryBuilder().withQuery(functionBuilder).withPageable(pageRequest).build();\n }", "private WebSearchRequest createNextRequest() {\n\t\tWebSearchRequest _request = new WebSearchRequest(query);\n\t\t_request.setStart(BigInteger.valueOf(cacheStatus+1));\t\t\t\t\t//Yahoo API starts index with 1, not with 0\n\t\t_request.setResults(getFetchBlockSize());\n\t\treturn _request;\n\t}", "@java.lang.Override\n public entities.Torrent.LocalSearchRequest getLocalSearchRequest() {\n return localSearchRequest_ == null ? entities.Torrent.LocalSearchRequest.getDefaultInstance() : localSearchRequest_;\n }", "public void searchForBooks(String query) {\n\n\n BooksAPI booksAPI = ServiceGenerator.getBooksAPI();\n Call<GBookList> call = booksAPI.getBook(query);\n call.enqueue(new Callback<GBookList>() {\n @EverythingIsNonNull\n @Override\n public void onResponse(Call<GBookList> call, Response<GBookList> response) {\n if (response.isSuccessful()) {\n //response.body() returns GBookList\n //from json format to object\n searchedBooks.setValue(response.body());\n\n }\n }\n @EverythingIsNonNull\n @Override\n public void onFailure(Call<GBookList> call, Throwable t) {\n Log.i(\"Retrofit \", \"Retrieving from google.books.com failed\");\n }\n });\n }", "public interface GoogleCustomSearchApi {\n\n @GET(\"/customsearch/v1\")\n Observable<CustomSearchResponse> search(@Query(\"key\") String apiKey, @Query(\"cx\") String cx,\n @Query(\"q\") String query, @Query(\"start\") int start);\n\n}" ]
[ "0.7517139", "0.7465934", "0.7189143", "0.7170422", "0.7090455", "0.69134516", "0.688361", "0.68762004", "0.6862801", "0.68460196", "0.6744722", "0.6686209", "0.6575582", "0.6555145", "0.64737993", "0.6461384", "0.64062893", "0.6392076", "0.6374921", "0.6345532", "0.63190675", "0.6283929", "0.6230643", "0.62074333", "0.61916876", "0.61901087", "0.61794645", "0.61543566", "0.61244786", "0.61233205", "0.6109734", "0.608966", "0.6047079", "0.6031207", "0.6024813", "0.5963171", "0.5954891", "0.5931859", "0.5929831", "0.5895909", "0.5887696", "0.58672863", "0.58638364", "0.5857521", "0.5845967", "0.5842488", "0.5833814", "0.58162636", "0.58056587", "0.58051366", "0.5785418", "0.5780192", "0.5771708", "0.5729351", "0.57255906", "0.5694545", "0.56928146", "0.5689557", "0.5649777", "0.5646926", "0.56441694", "0.5626801", "0.5623461", "0.5615381", "0.5585527", "0.55753976", "0.55584776", "0.5554678", "0.55391175", "0.55088884", "0.5508717", "0.5479158", "0.5473442", "0.547303", "0.54557157", "0.54476184", "0.54363286", "0.5401594", "0.5389724", "0.5385984", "0.53717756", "0.5371143", "0.5369419", "0.5369213", "0.53595895", "0.53465044", "0.53457063", "0.53448933", "0.5317497", "0.53133196", "0.5300015", "0.5290759", "0.5286491", "0.5285871", "0.5284998", "0.52835166", "0.52829695", "0.52825916", "0.52821624", "0.5273378" ]
0.7402301
2
string regex = 1;
@java.lang.Override public java.lang.String getRegex() { java.lang.Object ref = regex_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); regex_ = s; return s; } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getRegex();", "java.lang.String getRegex();", "java.lang.String getRegex();", "public void setRegex (String regex)\n {\n this.regex = regex;\n }", "public String getRegEx();", "public RegExp (final int type)\n {\n this.type = type;\n }", "public RegexPatternBuilder (String regex)\n {\n this.regex = regex;\n }", "public String getRegEx() {\r\n return regex;\r\n }", "public GrammaticaRE(String regex) throws Exception {\n regExp = new RegExp(regex, ignoreCase);\n }", "public final native void setRegex(String regex) /*-{\n\t\tthis.regex = regex;\n\t}-*/;", "@objid (\"d7eead28-9a1c-4037-9797-4868268b54d4\")\n public RegexVerifier(String regex) {\n this.regex = regex;\n }", "public void setRegex(String regex) {\n this.regex = regex;\n }", "public static void TestRegex()\n\t{\n\t String line = \" if( aaa&&(ypbreg))\";\n\t String pattern = \"(&&)\\\\s*\\\\(*\\\\s*!?ypbreg\\\\)*\";\n\t // Create a Pattern object\n\t Pattern r = Pattern.compile(pattern);\n\t System.out.println(line.contains(pattern));\n\t // Now create matcher object.\n\t Matcher m = r.matcher(line);\n\t if (m.find( )) {\n\t // System.out.println(\"Found value: \" + m.group(0) );\n\t int count = m.groupCount();\n\t System.out.println(\"group count is \"+count);\n\t for(int i=0;i<count;i++){\n\t System.out.println(m.group(i));\n\t }\n\t // System.out.println(line.replaceFirst(BregPattern.pEqualTrue1, \"!$1\"));\n\n\t } else {\n\t System.out.println(\"NO MATCH\");\n\t }\n\t}", "public RegularExpression() {\n }", "public interface RegExp {\n String NUMBER_OF_COMPOSITION = \"^[1-2][0-9]|[1-9]$\";\n String BREAK_DATE_BY_DOT = \"[.]\";\n String IDENTIFY_BUMDLE = \"^([E|e][N|n])|[У|у][К|к][Р|р]$\";\n String DURATION = \"^[1-9]|[1-9][0-9]|[1-4][0-9][0-9]$\";\n}", "public java.lang.String getRegexStr() {\r\n return regexStr;\r\n }", "public Pattern regexPattern(String regex) {\n return Pattern.compile(regex);\n }", "@Override\n protected void compileRegex(String regex) {\n }", "protected abstract Regex pattern();", "boolean hasRegex();", "public JavaRE(String regex) throws Exception {\n if (ignoreCase) {\n pattern = Pattern.compile(regex, Pattern.CASE_INSENSITIVE);\n } else {\n pattern = Pattern.compile(regex);\n }\n }", "@Test\n public void testParseRegexp_valid3() throws InvalidRegexpException {\n BasicRegexp re = BasicRegexp.parseRegexp(\"a b c d\");\n assertEquals(re.toString(), \"abcd\");\n }", "private\n\tRegExHelper()\n\t{\n\t\tsuper();\n\t}", "public java.lang.String getRegex() {\n java.lang.Object ref = regex_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n regex_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getRegex() {\n java.lang.Object ref = regex_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n regex_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "@Override\n public boolean isRegex() {\n return false;\n }", "public String get_isregex() throws Exception {\n\t\treturn this.isregex;\n\t}", "public Boolean getbRegex() {\r\n\t\treturn bRegex;\r\n\t}", "public interface RegExp {\n String NAME_REGEXP = \"^[А-Я][а-я]{2,30}$\";\n String AGE_REGEXP = \"^((1[012][0-9])|([1-9][0-9]))$\";\n String EMAIL_REGEXP = \"^[-z0-9_.]{1,30}@([A-z]+[A-z0-9]{1,15}.){1,2}([A-z]+[A-z0-9]{1,15})$\";\n String CELL_PHONE_REGEXP = \"([\\\\+]\\\\d{2}\\\\s?)?(([\\\\(\\\\s]\\\\d{3}[\\\\)\\\\s])|\" +\n \"(\\\\d{3}))[\\\\s-]?\\\\d{3}[\\\\s-]?\\\\d{2}[\\\\s-]?\\\\d{2}$\";\n String CELL_PHONE_OPTIONAL_REGEXP = \"^(([\\\\+]\\\\d{2}\\\\s?)?(([\\\\(\\\\s]\\\\d{3}[\\\\)\\\\s])|\" +\n \"(\\\\d{3}))[\\\\s-]?\\\\d{3}[\\\\s-]?\\\\d{2}[\\\\s-]?\\\\d{2})?\";\n String LOCAL_PHONE_REGEXP = \"^([\\\\+]\\\\d{2}\\\\s?)?(([\\\\(\\\\s]\\\\d{3}[\\\\)\\\\s])|(\\\\d{3}))?[\\\\s-]?\\\\d{3}[\\\\s-]?\\\\d{3}$\";\n String COMMENT_REGEXP = \"^([\\\\d\\\\s\\\\w\\\\.\\\\,\\\\!]){0,127}$\";\n String GROUP_REGEXP = \"^[А-я]{4,10}$\";\n String SKYPE_NICK_REGEXP = \"^[\\\\w\\\\d\\\\_]{3,20}$\";\n String INDEX_REGEXP = \"^[\\\\d]{8}$\";\n String CITY_STREET_REGEXP = \"^[А-Я][а-я]{3,20}$\";\n String BUILDING_REGEXP = \"^[\\\\d]{1,3}[\\\\w]?$\";\n String FLAT_REGEXP = \"^[\\\\d]{1,3}$\";\n}", "public Builder setRegex(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n\n regex_ = value;\n onChanged();\n return this;\n }", "public Builder setRegex(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n\n regex_ = value;\n onChanged();\n return this;\n }", "public void setRegexStr(java.lang.String regexStr) {\r\n this.regexStr = regexStr;\r\n }", "public String getMatchRegex() {\n return matchRegex;\n }", "String regen();", "public static void main(String[] args) {\n\t\t Pattern p = Pattern.compile(\"(a+)\");\r\n\t\t Matcher m = p.matcher(\"aaaaaba\");\r\n\t\t //System.out.println(m.matches())\r\n\t\t m.find();\t\t \r\n\t\t m.find();\r\n\t\t System.out.println(\"grCount \"+m.groupCount());\t \r\n\t\t MatchResult mr = m.toMatchResult();\r\n\t\t \r\n\t\t System.out.println(m.end());\r\n\t\t System.out.println(\"'\"+mr.group()+\"'\");\r\n\t\t System.out.println(\"start \"+mr.start(1));\r\n\t\t \r\n\t}", "int mo5882g(String str);", "com.google.protobuf.ByteString\n getRegexBytes();", "com.google.protobuf.ByteString\n getRegexBytes();", "@Test\n public void testParseRegexp_correctness1new()\n throws InvalidRegexpException {\n BasicRegexp re = BasicRegexp.parseRegexp(\"(01|10)*1111\");\n assertEquals(re.toString(), \"(01|10)*1111\");\n }", "public void set_isregex(String isregex) throws Exception{\n\t\tthis.isregex = isregex;\n\t}", "public static void main(String[] args) {\r\n\t\t boolean matches_1 = Pattern.matches(\"[a-zA-Z0-9]{4}\", \"0Aa1\");\r\n\t\t boolean matches_2 = Pattern.matches(\"[a-zA-Z0-9]{4}\", \"0A@a1\");\r\n\t\t\t System.out.println(\"Regular Expression is \"+matches_1 +\" for given string(0Aa1)\");\r\n\t\t\t System.out.println(\"Regular Expression is \"+matches_2 +\" for given string(0A@a1)\");\r\n\t}", "public static void main(String[] args) {\n Pattern p = Pattern.compile(\"2*5?$\");\n Matcher m = p.matcher(regex1);\n if (m.matches()) {\n System.out.println(\"YES ¦ \");\n } else {\n System.out.println(\"NO\");\n }\n\n }", "@Override\n\tpublic boolean test(MyRegex t) {\n\t\treturn false;\n\t}", "private String parseRegExp(String exp) throws Exception {\r\n\t\treturn RegexpTranslationHelper.translateANTLRToAutomatonStyle(exp);\r\n\t}", "@Test\n public void testParseRegexp_valid7() throws InvalidRegexpException {\n BasicRegexp re = BasicRegexp.parseRegexp(\"abc*def\");\n assertEquals(re.toString(), \"abc*def\");\n }", "public final String getRegex() {\n\t\treturn JsUtils.getNativePropertyString(this, \"regex\");\n\t}", "public RegexPatternBuilder ()\n {\n this.regex = null;\n }", "private boolean isRegexValid(String string)\n {\n try\n {\n Pattern.compile(string, Pattern.MULTILINE);\n return true;\n }\n catch (PatternSyntaxException e)\n {\n return false;\n }\n }", "public java.lang.Short getRegexMatch() {\r\n return regexMatch;\r\n }", "@Test\n public void testParseRegexp_valid6() throws InvalidRegexpException {\n BasicRegexp re = BasicRegexp.parseRegexp(\"ab(cd(e))ff\");\n assertEquals(re.toString(), \"abcdeff\");\n }", "@Override // kotlin.p2243e.p2244a.AbstractC32522b\n public /* synthetic */ Regex invoke(Integer num) {\n return mo131903a(num.intValue());\n }", "public static TextP regex(final String value) {\n return new TextP(new Text.RegexPredicate(value, false), value);\n }", "public static Term createRegExp(Expression exp) {\r\n\t\tTerm term = Term.function(REGEX, exp);\r\n\t\treturn term;\r\n\t}", "public Pattern getValidStringPattern();", "@Test\r\n public void testRegexp() throws Exception {\n\r\n String a = \"a/b/100/test\";\r\n\r\n Pattern pattern = Pattern.compile(\".+/(\\\\d+)/test\");\r\n\r\n System.out.println(parseIdFromUriPath(a, pattern));\r\n\r\n }", "public static Regex compile(String pattern, int cflags) throws RegexException {\n return new Regex(pattern, REG_EXTENDED | cflags);\n }", "public Expression setRegexTest(Expression exp, Expression test){\r\n\t\tregexExpr.put(exp, test);\r\n\t\tExpression tt = Term.function(Term.TEST);\r\n\t\ttt.setExpr(test);\r\n\t\tExpression seq = sequence(exp, tt);\r\n\t\treturn seq;\r\n\t}", "C11998c mo41092g(String str);", "@Test\n public void contactNumber_WhenValid_ShouldReturnTrue(){\n RegexTest valid = new RegexTest();\n boolean result = valid.contactNumber( \"91 1234567890\");\n Assert.assertEquals(true,result);\n }", "@Test\n public void testDebugPrintBasicRegexp() throws InvalidRegexpException {\n BasicRegexp re1 = BasicRegexp.parseRegexp(\"(01|10)*1111\");\n BasicRegexp.debugPrintBasicRegexp(0, re1);\n }", "@Test\r\n public void testGetRegexp() {\r\n final Regexp re = rs.getRegexp(reString);\r\n assertTrue(rs.hasRegexp(reString));\r\n assertSame(rs.getRegexp(reString), re);\r\n }", "public String checkRegularExpression(String input) {\n String actualResult=\"\";\n String pattern=\".*harry*\";\n boolean value= Pattern.matches(pattern,input);\n actualResult+=\"Is harry there?\"+value;\n return actualResult;\n\n }", "public static void main(String[] args) {\n//\n// String pattern = \"abba\";\n// String s = \"dog cat cat fish\";\n\n\n// String pattern = \"aaaa\";\n// String s = \"dog cat cat dog\";\n\n String pattern = \"abba\";\n String s = \"dog dog dog dog\";\n\n// String pattern = \"e\";\n// String s = \"eukera\";\n\n boolean flag = wordPattern(pattern, s);\n\n System.out.println(flag);\n }", "public RegexGrep(ShellEnvironment env, String[] args) {\n super(env, args);\n this.regex = Pattern.compile(args[0]);\n }", "@Test\n public void wordPatternTest() {\n String pattern = \"aaa\", str = \"aa aa aa aa\";\n boolean ans = instance.wordPattern(pattern, str);\n System.out.println(ans);\n }", "@Test\n public void testParseRegexp_valid1() throws InvalidRegexpException {\n BasicRegexp re = BasicRegexp.parseRegexp(\"\");\n assertEquals(re, null);\n }", "@Test(expected = InvalidRegexpException.class)\n public void testParseRegexp_invalid8() throws Throwable {\n BasicRegexp.parseRegexp(\"()\");\n }", "void mo37759a(String str);", "private static String globToRegex(final String glob) {\n return \"^\" + glob.replace(\".\", \"\\\\.\").replace(\"*\", \".*\") + \"$\";\n }", "void mo12635a(String str);", "com.google.privacy.dlp.v2.CustomInfoType.Regex getRegex();", "public static String toRegex(String param) \r\n\t{\r\n\t\tStringBuffer regex = new StringBuffer();\r\n\t\tfor( int i=0; i < param.length(); i++ ) \r\n\t\t{\r\n\t\t\tchar next = param.charAt( i );\r\n\t\t\t if ('*' == next) regex.append( \".+\" ); // -> multi-character match wild card\r\n\t\t\telse if ('?' == next) regex.append( \".\" ); // -> single-character match wild card\r\n\t\t\telse if ('.' == next) regex.append( \"\\\\.\" ); // all of these are special regex characters we are quoting\r\n\t\t\telse if ('+' == next) regex.append( \"\\\\+\" ); \r\n\t\t\telse if ('$' == next) regex.append( \"\\\\$\" ); \r\n\t\t\telse if ('\\\\' == next) regex.append( \"\\\\\\\\\" ); \r\n\t\t\telse if ('[' == next) regex.append( \"\\\\[\" ); \r\n\t\t\telse if (']' == next) regex.append( \"\\\\]\" ); \r\n\t\t\telse if ('{' == next) regex.append( \"\\\\{\" ); \r\n\t\t\telse if ('}' == next) regex.append( \"\\\\}\" ); \r\n\t\t\telse if ('(' == next) regex.append( \"\\\\(\" ); \r\n\t\t\telse if (')' == next) regex.append( \"\\\\)\" ); \r\n\t\t\telse if ('&' == next) regex.append( \"\\\\&\" ); \r\n\t\t\telse if ('^' == next) regex.append( \"\\\\^\" ); \r\n\t\t\telse if ('-' == next) regex.append( \"\\\\-\" ); \r\n\t\t\telse if ('|' == next) regex.append( \"\\\\|\" ); \r\n\t\t\telse regex.append( next );\r\n\t\t}\r\n\t\t\r\n\t\treturn regex.toString();\r\n\t}", "public GlobFilenameFilter(String regex) {\n super(__CACHE, __MATCHER, regex);\n }", "public static void main(String[] args) {\n// System.out.println(alphanumeric.replaceAll(\"[aei]\", \"x\"));\n\n\n String regex = \"^[A-Z]|[a-z]\";\n String username = \"kaaviya\";\n\n System.out.println(username.replaceAll( \"^[A-Za-z][A-Za-z0-9_]{7,29}$\", \"x\"));\n System.out.println(username.matches(regex));\n\n }", "String mo2801a(String str);", "public com.google.protobuf.ByteString\n getRegexBytes() {\n java.lang.Object ref = regex_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b =\n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n regex_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "public com.google.protobuf.ByteString\n getRegexBytes() {\n java.lang.Object ref = regex_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b =\n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n regex_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "public static Regex compile(String pattern) throws RegexException {\n return compile(pattern, 0);\n }", "public static void main(String[] args) throws Exception {\n String patronA = \"[0-5]\";\n\n // conjunto de letras de \"a\" a \"c\"\n String patronB = \"[a-c]\";\n\n // conjunto de todas las letras minusculas\n String patronC = \"[a-z]\";\n\n // conjunto de numeros\n String patronD = \"[0-9]\";\n\n // ejemplo con tipo de dato string\n String textoAlfanumerico = \"0123aaaa\";\n System.out.println(\"Texto alfanumerico:\" + textoAlfanumerico);\n\n String replace1 = textoAlfanumerico.replaceAll(patronA, \"X\");\n System.out.println(\"Reemplazo de numeros con X: \" + replace1);\n\n String replace2 = textoAlfanumerico.replaceAll(patronB, \"X\");\n System.out.println(\"Reemplazo de letras con X: \" + replace2);\n\n\n //[0-5][a-c];\n //String patronComplejo = patronA + patronB;\n\n //[a-c]*[0-5]*\n //String patronComplejo = patronA + \"*\" + patronB + \"*\";\n\n //\"[a-z]+\"\n\n // + = una coincidencia\n // * = ninguna o muchas\n\n //String patronComplejo = \"(\" + patronA + patronC + \")+\";\n String patronComplejo = \"(\" + patronC + \")+\";\n\n String texto = \"hola, aacc este bbcc es mi 55222aaa texto 2663aaaa blah blah\";\n System.out.println(\"patron complejo:\" + patronComplejo);\n System.out.println(texto);\n\n Pattern pattern = Pattern.compile(patronComplejo);\n Matcher matcher = pattern.matcher(texto);\n\n // buscar ocurrencias\n while (matcher.find()) {\n System.out.println(\"Encontrado:\" + matcher.group());\n }\n\n\n }", "@Test\n public void testOptimise_2() throws InvalidRegexpException {\n BasicRegexp re1 = BasicRegexp.parseRegexp(\"a+++++++++++++++++++++\");\n\n assertEquals(re1.optimise(BasicRegexp.OPTIMISE_ALL, -1).toString(),\n \"a+\");\n }", "public String returnRegex() {\n\t\tString chosenRegex;\n\t\tSystem.out.println(\"selectedRegex value is: \" + selectedRegex);\n\t\tswitch (selectedRegex) {\n\t\tcase 1:\n\t\t\tchosenRegex = \"(\\\\&?\\\\??t=\\\\d*?[h]?\\\\d*[m]?\\\\d*[s]|\\\\&t=\\\\d*)\";\n\t\t\tbreak;\n\t\tcase 2:\n\t\t\tchosenRegex = \"(\\\\&list=[a-zA-Z 0-9 -]+\\\\&?index=?\\\\d+?)\";\n\t\t\tbreak;\n\t\tcase 3:\n\t\t\tchosenRegex = \"(\\\\&feature=youtu.be)\";\n\t\t\tbreak;\n\t\tdefault:\n\t\t\tchosenRegex = \"\\\\?t.*|\\\\&t.*|\\\\&l.*|\\\\&f.*\"; // alternative:\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// (\\\\&?\\\\??t=\\\\d*?[h]?\\\\d*[m]?\\\\d*[s]|\\\\&t=\\\\d*|\\\\&list=[a-zA-Z\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// 0-9 -]*)\n\t\t\tbreak;\n\t\t}\n\t\tSystem.out.println(chosenRegex);\n\t\treturn chosenRegex;\n\t}", "@java.lang.Override\n public com.google.protobuf.ByteString\n getRegexBytes() {\n java.lang.Object ref = regex_;\n if (ref instanceof java.lang.String) {\n com.google.protobuf.ByteString b =\n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n regex_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "@java.lang.Override\n public com.google.protobuf.ByteString\n getRegexBytes() {\n java.lang.Object ref = regex_;\n if (ref instanceof java.lang.String) {\n com.google.protobuf.ByteString b =\n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n regex_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "private static String adaptRegEx(Mode mode, String regex, int flagMask, boolean removeWhitespace)\n throws QueryException {\n StringBuilder sb = new StringBuilder();\n boolean escaped = false;\n boolean groupStart = false;\n int completeGroups = 0;\n int backRef = 0;\n int charClassDepth = 0;\n int groupDepth = 0;\n\n for (char c : regex.toCharArray()) {\n if (escaped) {\n if (backRef == 0 && c == '0') {\n throw new QueryException(ErrorCode.ERR_INVALID_REGULAR_EXPRESSION, \"Reference to group 0 not allowed\");\n } else if (c >= '0' && c <= '9') {\n if (charClassDepth > 0) {\n throw new QueryException(ErrorCode.ERR_INVALID_REGULAR_EXPRESSION,\n \"Back references in character class expressions\" + \" are disallowed.\");\n }\n backRef = backRef * 10 + Integer.parseInt(Character.toString(c));\n continue;\n }\n }\n\n if (backRef > 0) {\n // Check back reference that just ended\n if (backRef > completeGroups) {\n throw new QueryException(ErrorCode.ERR_INVALID_REGULAR_EXPRESSION,\n \"Back reference to nonexisting or unfinished group.\");\n } else {\n backRef = 0;\n escaped = false;\n }\n }\n\n if (c == '\\\\' && !escaped) {\n // Not preceded by backslash\n escaped = true;\n groupStart = false;\n continue;\n }\n\n if (c == '(' && !escaped) {\n groupStart = true;\n groupDepth++;\n escaped = false;\n continue;\n }\n\n if (c == '?' && !escaped && groupStart) {\n throw new QueryException(ErrorCode.ERR_INVALID_REGULAR_EXPRESSION,\n \"Pure groups are not supported in XQuery regular expressions.\");\n } else if (c == ')' && !escaped) {\n if (--groupDepth < 0) {\n throw new QueryException(ErrorCode.ERR_INVALID_REGULAR_EXPRESSION, \"Invalid sequence of brackets.\");\n }\n completeGroups++;\n } else if (c == '[' && !escaped) {\n charClassDepth++;\n } else if (c == ']' && !escaped) {\n if (--charClassDepth < 0) {\n throw new QueryException(ErrorCode.ERR_INVALID_REGULAR_EXPRESSION, \"Invalid sequence of brackets.\");\n }\n } else if (removeWhitespace) {\n // Remove whitespace outside of character classes\n if (charClassDepth == 0 && WHITESPACE.contains(c)) {\n // Don't touch boolean flags\n continue;\n }\n\n sb.append(c);\n }\n\n groupStart = false;\n escaped = false;\n }\n\n // Check for trailing '\\' (only valid with subsequent characters)\n if (escaped && backRef == 0) {\n throw new QueryException(ErrorCode.ERR_INVALID_REGULAR_EXPRESSION, \"Trailing backslash character in pattern.\");\n }\n\n // Check back reference if that was last token in pattern\n if (backRef > 0 && backRef > completeGroups) {\n throw new QueryException(ErrorCode.ERR_INVALID_REGULAR_EXPRESSION,\n \"Back reference to nonexisting or unfinished group.\");\n }\n\n // Check for dangling brackets\n if (charClassDepth != 0 || groupDepth != 0) {\n throw new QueryException(ErrorCode.ERR_INVALID_REGULAR_EXPRESSION, \"Pattern contains dangling brackets.\");\n }\n\n if (!removeWhitespace) {\n sb.append(regex);\n }\n\n if (mode == Mode.MATCH) {\n // Adapt for XQuery substring matching by extending pattern\n if (sb.charAt(0) != '^' || ((flagMask & Pattern.MULTILINE) == Pattern.MULTILINE)) {\n if ((flagMask & Pattern.DOTALL) == Pattern.DOTALL) {\n sb.insert(0, \".*\");\n } else {\n sb.insert(0, \"(?s:.*)\");\n }\n }\n\n if (sb.charAt(sb.length() - 1) != '$' || ((flagMask & Pattern.MULTILINE) == Pattern.MULTILINE)) {\n if ((flagMask & Pattern.DOTALL) == Pattern.DOTALL) {\n sb.append(\".*\");\n } else {\n sb.append(\"(?s:.*)\");\n }\n }\n }\n\n return sb.toString();\n }", "public RegExp anyChar ()\n {\n // FIXME: there is some code duplication here with the parser\n final List <Interval> list = new ArrayList <> ();\n list.add (new Interval (0, CharClasses.maxChar));\n return new RegExp1 (sym.CCLASS, list);\n }", "protected String hookGetRegex() \r\n\t{\n\t\treturn \"\\\\s+\"; \r\n\t}", "private static boolean matchRegex(Pattern regExpression, String filename) {\n\t\tMatcher m = regExpression.matcher(filename);\n\t\tif (m.matches()) {\n\t\t\treturn true;\n\t\t} else {\n\t\t\treturn false;\n\t\t}\n\t}", "RegExConstraint createRegExConstraint();", "public void setRegexMatch(java.lang.Short regexMatch) {\r\n this.regexMatch = regexMatch;\r\n }", "void mo5871a(String str);", "private JBurgPatternMatcher()\n\t{\n\t}", "public final String getPattern() {\n/* 187 */ return this.m_pattern;\n/* */ }", "public String getPattern() {\n\treturn pattern;\n }", "public Regex mo131901a(int i) {\n C32591j jVar = C32645l.m150681b(this.f111785a.m150658d(), i);\n if (jVar.getStart().intValue() < 0) {\n return null;\n }\n String group = this.f111785a.m150658d().group(i);\n C32569u.m150513a((Object) group, \"matchResult.group(index)\");\n return new Regex(group, jVar);\n }", "@Override\n\tpublic void visit(RegExpMatchOperator arg0) {\n\t\t\n\t}", "@Test //TEST FOUR\n void testOneNumberinRabbitName()\n {\n Rabbit_RegEx rabbit_Name = new Rabbit_RegEx();\n rabbit_Name.setRabbitName(\"MO0N\");\n assertFalse(rabbit_Name.getRabbitName().matches(\"[A-Za-z-]*\"));\n }", "private LiteralToken nextRegularExpressionLiteralToken() {\n LiteralToken token = scanner.nextRegularExpressionLiteralToken();\n lastSourcePosition = token.location.end;\n return token;\n }", "public String getPattern() {\r\n \treturn pattern;\r\n }", "public int getPattern() {\n return this.pattern;\n }" ]
[ "0.72026896", "0.7194223", "0.7194223", "0.68615586", "0.6858206", "0.67436427", "0.6587065", "0.6512296", "0.64326847", "0.6404885", "0.63460666", "0.6331", "0.6291084", "0.6286594", "0.6254456", "0.6238955", "0.6219856", "0.6202358", "0.6189153", "0.61239773", "0.610071", "0.6062738", "0.6032594", "0.59982014", "0.5996874", "0.5924192", "0.59115654", "0.5864164", "0.58572525", "0.58453", "0.58453", "0.5841216", "0.58262175", "0.5814594", "0.5811531", "0.57985896", "0.5770896", "0.57697666", "0.57547474", "0.5754631", "0.5754291", "0.57499665", "0.57477105", "0.5747135", "0.57377404", "0.5728356", "0.5720464", "0.57105994", "0.569544", "0.5688132", "0.56866807", "0.5680289", "0.5667682", "0.56612164", "0.56564504", "0.5585063", "0.5555574", "0.5529932", "0.55271614", "0.5522922", "0.55216306", "0.5515437", "0.55144066", "0.5475341", "0.54649585", "0.54602605", "0.54552746", "0.5454531", "0.54507446", "0.54498005", "0.54474837", "0.5440438", "0.54248166", "0.54176825", "0.541224", "0.5411842", "0.5410461", "0.54078144", "0.5407357", "0.5399649", "0.53911847", "0.5381891", "0.5381891", "0.53741324", "0.5369898", "0.5353865", "0.53480643", "0.53464174", "0.53416866", "0.5329152", "0.53245693", "0.5322008", "0.5312056", "0.52923334", "0.5292296", "0.5286544", "0.5280226", "0.5259832", "0.5251492" ]
0.58056986
35
string regex = 1;
@java.lang.Override public com.google.protobuf.ByteString getRegexBytes() { java.lang.Object ref = regex_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); regex_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getRegex();", "java.lang.String getRegex();", "java.lang.String getRegex();", "public void setRegex (String regex)\n {\n this.regex = regex;\n }", "public String getRegEx();", "public RegExp (final int type)\n {\n this.type = type;\n }", "public RegexPatternBuilder (String regex)\n {\n this.regex = regex;\n }", "public String getRegEx() {\r\n return regex;\r\n }", "public GrammaticaRE(String regex) throws Exception {\n regExp = new RegExp(regex, ignoreCase);\n }", "public final native void setRegex(String regex) /*-{\n\t\tthis.regex = regex;\n\t}-*/;", "@objid (\"d7eead28-9a1c-4037-9797-4868268b54d4\")\n public RegexVerifier(String regex) {\n this.regex = regex;\n }", "public void setRegex(String regex) {\n this.regex = regex;\n }", "public static void TestRegex()\n\t{\n\t String line = \" if( aaa&&(ypbreg))\";\n\t String pattern = \"(&&)\\\\s*\\\\(*\\\\s*!?ypbreg\\\\)*\";\n\t // Create a Pattern object\n\t Pattern r = Pattern.compile(pattern);\n\t System.out.println(line.contains(pattern));\n\t // Now create matcher object.\n\t Matcher m = r.matcher(line);\n\t if (m.find( )) {\n\t // System.out.println(\"Found value: \" + m.group(0) );\n\t int count = m.groupCount();\n\t System.out.println(\"group count is \"+count);\n\t for(int i=0;i<count;i++){\n\t System.out.println(m.group(i));\n\t }\n\t // System.out.println(line.replaceFirst(BregPattern.pEqualTrue1, \"!$1\"));\n\n\t } else {\n\t System.out.println(\"NO MATCH\");\n\t }\n\t}", "public RegularExpression() {\n }", "public interface RegExp {\n String NUMBER_OF_COMPOSITION = \"^[1-2][0-9]|[1-9]$\";\n String BREAK_DATE_BY_DOT = \"[.]\";\n String IDENTIFY_BUMDLE = \"^([E|e][N|n])|[У|у][К|к][Р|р]$\";\n String DURATION = \"^[1-9]|[1-9][0-9]|[1-4][0-9][0-9]$\";\n}", "public java.lang.String getRegexStr() {\r\n return regexStr;\r\n }", "public Pattern regexPattern(String regex) {\n return Pattern.compile(regex);\n }", "@Override\n protected void compileRegex(String regex) {\n }", "protected abstract Regex pattern();", "boolean hasRegex();", "public JavaRE(String regex) throws Exception {\n if (ignoreCase) {\n pattern = Pattern.compile(regex, Pattern.CASE_INSENSITIVE);\n } else {\n pattern = Pattern.compile(regex);\n }\n }", "@Test\n public void testParseRegexp_valid3() throws InvalidRegexpException {\n BasicRegexp re = BasicRegexp.parseRegexp(\"a b c d\");\n assertEquals(re.toString(), \"abcd\");\n }", "private\n\tRegExHelper()\n\t{\n\t\tsuper();\n\t}", "public java.lang.String getRegex() {\n java.lang.Object ref = regex_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n regex_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getRegex() {\n java.lang.Object ref = regex_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n regex_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "@Override\n public boolean isRegex() {\n return false;\n }", "public String get_isregex() throws Exception {\n\t\treturn this.isregex;\n\t}", "public Boolean getbRegex() {\r\n\t\treturn bRegex;\r\n\t}", "public interface RegExp {\n String NAME_REGEXP = \"^[А-Я][а-я]{2,30}$\";\n String AGE_REGEXP = \"^((1[012][0-9])|([1-9][0-9]))$\";\n String EMAIL_REGEXP = \"^[-z0-9_.]{1,30}@([A-z]+[A-z0-9]{1,15}.){1,2}([A-z]+[A-z0-9]{1,15})$\";\n String CELL_PHONE_REGEXP = \"([\\\\+]\\\\d{2}\\\\s?)?(([\\\\(\\\\s]\\\\d{3}[\\\\)\\\\s])|\" +\n \"(\\\\d{3}))[\\\\s-]?\\\\d{3}[\\\\s-]?\\\\d{2}[\\\\s-]?\\\\d{2}$\";\n String CELL_PHONE_OPTIONAL_REGEXP = \"^(([\\\\+]\\\\d{2}\\\\s?)?(([\\\\(\\\\s]\\\\d{3}[\\\\)\\\\s])|\" +\n \"(\\\\d{3}))[\\\\s-]?\\\\d{3}[\\\\s-]?\\\\d{2}[\\\\s-]?\\\\d{2})?\";\n String LOCAL_PHONE_REGEXP = \"^([\\\\+]\\\\d{2}\\\\s?)?(([\\\\(\\\\s]\\\\d{3}[\\\\)\\\\s])|(\\\\d{3}))?[\\\\s-]?\\\\d{3}[\\\\s-]?\\\\d{3}$\";\n String COMMENT_REGEXP = \"^([\\\\d\\\\s\\\\w\\\\.\\\\,\\\\!]){0,127}$\";\n String GROUP_REGEXP = \"^[А-я]{4,10}$\";\n String SKYPE_NICK_REGEXP = \"^[\\\\w\\\\d\\\\_]{3,20}$\";\n String INDEX_REGEXP = \"^[\\\\d]{8}$\";\n String CITY_STREET_REGEXP = \"^[А-Я][а-я]{3,20}$\";\n String BUILDING_REGEXP = \"^[\\\\d]{1,3}[\\\\w]?$\";\n String FLAT_REGEXP = \"^[\\\\d]{1,3}$\";\n}", "public Builder setRegex(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n\n regex_ = value;\n onChanged();\n return this;\n }", "public Builder setRegex(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n\n regex_ = value;\n onChanged();\n return this;\n }", "public void setRegexStr(java.lang.String regexStr) {\r\n this.regexStr = regexStr;\r\n }", "public String getMatchRegex() {\n return matchRegex;\n }", "String regen();", "public static void main(String[] args) {\n\t\t Pattern p = Pattern.compile(\"(a+)\");\r\n\t\t Matcher m = p.matcher(\"aaaaaba\");\r\n\t\t //System.out.println(m.matches())\r\n\t\t m.find();\t\t \r\n\t\t m.find();\r\n\t\t System.out.println(\"grCount \"+m.groupCount());\t \r\n\t\t MatchResult mr = m.toMatchResult();\r\n\t\t \r\n\t\t System.out.println(m.end());\r\n\t\t System.out.println(\"'\"+mr.group()+\"'\");\r\n\t\t System.out.println(\"start \"+mr.start(1));\r\n\t\t \r\n\t}", "@java.lang.Override\n public java.lang.String getRegex() {\n java.lang.Object ref = regex_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n regex_ = s;\n return s;\n }\n }", "@java.lang.Override\n public java.lang.String getRegex() {\n java.lang.Object ref = regex_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n regex_ = s;\n return s;\n }\n }", "int mo5882g(String str);", "com.google.protobuf.ByteString\n getRegexBytes();", "com.google.protobuf.ByteString\n getRegexBytes();", "@Test\n public void testParseRegexp_correctness1new()\n throws InvalidRegexpException {\n BasicRegexp re = BasicRegexp.parseRegexp(\"(01|10)*1111\");\n assertEquals(re.toString(), \"(01|10)*1111\");\n }", "public void set_isregex(String isregex) throws Exception{\n\t\tthis.isregex = isregex;\n\t}", "public static void main(String[] args) {\r\n\t\t boolean matches_1 = Pattern.matches(\"[a-zA-Z0-9]{4}\", \"0Aa1\");\r\n\t\t boolean matches_2 = Pattern.matches(\"[a-zA-Z0-9]{4}\", \"0A@a1\");\r\n\t\t\t System.out.println(\"Regular Expression is \"+matches_1 +\" for given string(0Aa1)\");\r\n\t\t\t System.out.println(\"Regular Expression is \"+matches_2 +\" for given string(0A@a1)\");\r\n\t}", "public static void main(String[] args) {\n Pattern p = Pattern.compile(\"2*5?$\");\n Matcher m = p.matcher(regex1);\n if (m.matches()) {\n System.out.println(\"YES ¦ \");\n } else {\n System.out.println(\"NO\");\n }\n\n }", "@Override\n\tpublic boolean test(MyRegex t) {\n\t\treturn false;\n\t}", "private String parseRegExp(String exp) throws Exception {\r\n\t\treturn RegexpTranslationHelper.translateANTLRToAutomatonStyle(exp);\r\n\t}", "@Test\n public void testParseRegexp_valid7() throws InvalidRegexpException {\n BasicRegexp re = BasicRegexp.parseRegexp(\"abc*def\");\n assertEquals(re.toString(), \"abc*def\");\n }", "public final String getRegex() {\n\t\treturn JsUtils.getNativePropertyString(this, \"regex\");\n\t}", "public RegexPatternBuilder ()\n {\n this.regex = null;\n }", "private boolean isRegexValid(String string)\n {\n try\n {\n Pattern.compile(string, Pattern.MULTILINE);\n return true;\n }\n catch (PatternSyntaxException e)\n {\n return false;\n }\n }", "public java.lang.Short getRegexMatch() {\r\n return regexMatch;\r\n }", "@Test\n public void testParseRegexp_valid6() throws InvalidRegexpException {\n BasicRegexp re = BasicRegexp.parseRegexp(\"ab(cd(e))ff\");\n assertEquals(re.toString(), \"abcdeff\");\n }", "@Override // kotlin.p2243e.p2244a.AbstractC32522b\n public /* synthetic */ Regex invoke(Integer num) {\n return mo131903a(num.intValue());\n }", "public static TextP regex(final String value) {\n return new TextP(new Text.RegexPredicate(value, false), value);\n }", "public static Term createRegExp(Expression exp) {\r\n\t\tTerm term = Term.function(REGEX, exp);\r\n\t\treturn term;\r\n\t}", "public Pattern getValidStringPattern();", "@Test\r\n public void testRegexp() throws Exception {\n\r\n String a = \"a/b/100/test\";\r\n\r\n Pattern pattern = Pattern.compile(\".+/(\\\\d+)/test\");\r\n\r\n System.out.println(parseIdFromUriPath(a, pattern));\r\n\r\n }", "public static Regex compile(String pattern, int cflags) throws RegexException {\n return new Regex(pattern, REG_EXTENDED | cflags);\n }", "public Expression setRegexTest(Expression exp, Expression test){\r\n\t\tregexExpr.put(exp, test);\r\n\t\tExpression tt = Term.function(Term.TEST);\r\n\t\ttt.setExpr(test);\r\n\t\tExpression seq = sequence(exp, tt);\r\n\t\treturn seq;\r\n\t}", "C11998c mo41092g(String str);", "@Test\n public void contactNumber_WhenValid_ShouldReturnTrue(){\n RegexTest valid = new RegexTest();\n boolean result = valid.contactNumber( \"91 1234567890\");\n Assert.assertEquals(true,result);\n }", "@Test\n public void testDebugPrintBasicRegexp() throws InvalidRegexpException {\n BasicRegexp re1 = BasicRegexp.parseRegexp(\"(01|10)*1111\");\n BasicRegexp.debugPrintBasicRegexp(0, re1);\n }", "@Test\r\n public void testGetRegexp() {\r\n final Regexp re = rs.getRegexp(reString);\r\n assertTrue(rs.hasRegexp(reString));\r\n assertSame(rs.getRegexp(reString), re);\r\n }", "public String checkRegularExpression(String input) {\n String actualResult=\"\";\n String pattern=\".*harry*\";\n boolean value= Pattern.matches(pattern,input);\n actualResult+=\"Is harry there?\"+value;\n return actualResult;\n\n }", "public static void main(String[] args) {\n//\n// String pattern = \"abba\";\n// String s = \"dog cat cat fish\";\n\n\n// String pattern = \"aaaa\";\n// String s = \"dog cat cat dog\";\n\n String pattern = \"abba\";\n String s = \"dog dog dog dog\";\n\n// String pattern = \"e\";\n// String s = \"eukera\";\n\n boolean flag = wordPattern(pattern, s);\n\n System.out.println(flag);\n }", "public RegexGrep(ShellEnvironment env, String[] args) {\n super(env, args);\n this.regex = Pattern.compile(args[0]);\n }", "@Test\n public void wordPatternTest() {\n String pattern = \"aaa\", str = \"aa aa aa aa\";\n boolean ans = instance.wordPattern(pattern, str);\n System.out.println(ans);\n }", "@Test\n public void testParseRegexp_valid1() throws InvalidRegexpException {\n BasicRegexp re = BasicRegexp.parseRegexp(\"\");\n assertEquals(re, null);\n }", "@Test(expected = InvalidRegexpException.class)\n public void testParseRegexp_invalid8() throws Throwable {\n BasicRegexp.parseRegexp(\"()\");\n }", "void mo37759a(String str);", "private static String globToRegex(final String glob) {\n return \"^\" + glob.replace(\".\", \"\\\\.\").replace(\"*\", \".*\") + \"$\";\n }", "void mo12635a(String str);", "com.google.privacy.dlp.v2.CustomInfoType.Regex getRegex();", "public static String toRegex(String param) \r\n\t{\r\n\t\tStringBuffer regex = new StringBuffer();\r\n\t\tfor( int i=0; i < param.length(); i++ ) \r\n\t\t{\r\n\t\t\tchar next = param.charAt( i );\r\n\t\t\t if ('*' == next) regex.append( \".+\" ); // -> multi-character match wild card\r\n\t\t\telse if ('?' == next) regex.append( \".\" ); // -> single-character match wild card\r\n\t\t\telse if ('.' == next) regex.append( \"\\\\.\" ); // all of these are special regex characters we are quoting\r\n\t\t\telse if ('+' == next) regex.append( \"\\\\+\" ); \r\n\t\t\telse if ('$' == next) regex.append( \"\\\\$\" ); \r\n\t\t\telse if ('\\\\' == next) regex.append( \"\\\\\\\\\" ); \r\n\t\t\telse if ('[' == next) regex.append( \"\\\\[\" ); \r\n\t\t\telse if (']' == next) regex.append( \"\\\\]\" ); \r\n\t\t\telse if ('{' == next) regex.append( \"\\\\{\" ); \r\n\t\t\telse if ('}' == next) regex.append( \"\\\\}\" ); \r\n\t\t\telse if ('(' == next) regex.append( \"\\\\(\" ); \r\n\t\t\telse if (')' == next) regex.append( \"\\\\)\" ); \r\n\t\t\telse if ('&' == next) regex.append( \"\\\\&\" ); \r\n\t\t\telse if ('^' == next) regex.append( \"\\\\^\" ); \r\n\t\t\telse if ('-' == next) regex.append( \"\\\\-\" ); \r\n\t\t\telse if ('|' == next) regex.append( \"\\\\|\" ); \r\n\t\t\telse regex.append( next );\r\n\t\t}\r\n\t\t\r\n\t\treturn regex.toString();\r\n\t}", "public GlobFilenameFilter(String regex) {\n super(__CACHE, __MATCHER, regex);\n }", "public static void main(String[] args) {\n// System.out.println(alphanumeric.replaceAll(\"[aei]\", \"x\"));\n\n\n String regex = \"^[A-Z]|[a-z]\";\n String username = \"kaaviya\";\n\n System.out.println(username.replaceAll( \"^[A-Za-z][A-Za-z0-9_]{7,29}$\", \"x\"));\n System.out.println(username.matches(regex));\n\n }", "String mo2801a(String str);", "public com.google.protobuf.ByteString\n getRegexBytes() {\n java.lang.Object ref = regex_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b =\n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n regex_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "public com.google.protobuf.ByteString\n getRegexBytes() {\n java.lang.Object ref = regex_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b =\n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n regex_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "public static Regex compile(String pattern) throws RegexException {\n return compile(pattern, 0);\n }", "public static void main(String[] args) throws Exception {\n String patronA = \"[0-5]\";\n\n // conjunto de letras de \"a\" a \"c\"\n String patronB = \"[a-c]\";\n\n // conjunto de todas las letras minusculas\n String patronC = \"[a-z]\";\n\n // conjunto de numeros\n String patronD = \"[0-9]\";\n\n // ejemplo con tipo de dato string\n String textoAlfanumerico = \"0123aaaa\";\n System.out.println(\"Texto alfanumerico:\" + textoAlfanumerico);\n\n String replace1 = textoAlfanumerico.replaceAll(patronA, \"X\");\n System.out.println(\"Reemplazo de numeros con X: \" + replace1);\n\n String replace2 = textoAlfanumerico.replaceAll(patronB, \"X\");\n System.out.println(\"Reemplazo de letras con X: \" + replace2);\n\n\n //[0-5][a-c];\n //String patronComplejo = patronA + patronB;\n\n //[a-c]*[0-5]*\n //String patronComplejo = patronA + \"*\" + patronB + \"*\";\n\n //\"[a-z]+\"\n\n // + = una coincidencia\n // * = ninguna o muchas\n\n //String patronComplejo = \"(\" + patronA + patronC + \")+\";\n String patronComplejo = \"(\" + patronC + \")+\";\n\n String texto = \"hola, aacc este bbcc es mi 55222aaa texto 2663aaaa blah blah\";\n System.out.println(\"patron complejo:\" + patronComplejo);\n System.out.println(texto);\n\n Pattern pattern = Pattern.compile(patronComplejo);\n Matcher matcher = pattern.matcher(texto);\n\n // buscar ocurrencias\n while (matcher.find()) {\n System.out.println(\"Encontrado:\" + matcher.group());\n }\n\n\n }", "@Test\n public void testOptimise_2() throws InvalidRegexpException {\n BasicRegexp re1 = BasicRegexp.parseRegexp(\"a+++++++++++++++++++++\");\n\n assertEquals(re1.optimise(BasicRegexp.OPTIMISE_ALL, -1).toString(),\n \"a+\");\n }", "public String returnRegex() {\n\t\tString chosenRegex;\n\t\tSystem.out.println(\"selectedRegex value is: \" + selectedRegex);\n\t\tswitch (selectedRegex) {\n\t\tcase 1:\n\t\t\tchosenRegex = \"(\\\\&?\\\\??t=\\\\d*?[h]?\\\\d*[m]?\\\\d*[s]|\\\\&t=\\\\d*)\";\n\t\t\tbreak;\n\t\tcase 2:\n\t\t\tchosenRegex = \"(\\\\&list=[a-zA-Z 0-9 -]+\\\\&?index=?\\\\d+?)\";\n\t\t\tbreak;\n\t\tcase 3:\n\t\t\tchosenRegex = \"(\\\\&feature=youtu.be)\";\n\t\t\tbreak;\n\t\tdefault:\n\t\t\tchosenRegex = \"\\\\?t.*|\\\\&t.*|\\\\&l.*|\\\\&f.*\"; // alternative:\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// (\\\\&?\\\\??t=\\\\d*?[h]?\\\\d*[m]?\\\\d*[s]|\\\\&t=\\\\d*|\\\\&list=[a-zA-Z\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// 0-9 -]*)\n\t\t\tbreak;\n\t\t}\n\t\tSystem.out.println(chosenRegex);\n\t\treturn chosenRegex;\n\t}", "private static String adaptRegEx(Mode mode, String regex, int flagMask, boolean removeWhitespace)\n throws QueryException {\n StringBuilder sb = new StringBuilder();\n boolean escaped = false;\n boolean groupStart = false;\n int completeGroups = 0;\n int backRef = 0;\n int charClassDepth = 0;\n int groupDepth = 0;\n\n for (char c : regex.toCharArray()) {\n if (escaped) {\n if (backRef == 0 && c == '0') {\n throw new QueryException(ErrorCode.ERR_INVALID_REGULAR_EXPRESSION, \"Reference to group 0 not allowed\");\n } else if (c >= '0' && c <= '9') {\n if (charClassDepth > 0) {\n throw new QueryException(ErrorCode.ERR_INVALID_REGULAR_EXPRESSION,\n \"Back references in character class expressions\" + \" are disallowed.\");\n }\n backRef = backRef * 10 + Integer.parseInt(Character.toString(c));\n continue;\n }\n }\n\n if (backRef > 0) {\n // Check back reference that just ended\n if (backRef > completeGroups) {\n throw new QueryException(ErrorCode.ERR_INVALID_REGULAR_EXPRESSION,\n \"Back reference to nonexisting or unfinished group.\");\n } else {\n backRef = 0;\n escaped = false;\n }\n }\n\n if (c == '\\\\' && !escaped) {\n // Not preceded by backslash\n escaped = true;\n groupStart = false;\n continue;\n }\n\n if (c == '(' && !escaped) {\n groupStart = true;\n groupDepth++;\n escaped = false;\n continue;\n }\n\n if (c == '?' && !escaped && groupStart) {\n throw new QueryException(ErrorCode.ERR_INVALID_REGULAR_EXPRESSION,\n \"Pure groups are not supported in XQuery regular expressions.\");\n } else if (c == ')' && !escaped) {\n if (--groupDepth < 0) {\n throw new QueryException(ErrorCode.ERR_INVALID_REGULAR_EXPRESSION, \"Invalid sequence of brackets.\");\n }\n completeGroups++;\n } else if (c == '[' && !escaped) {\n charClassDepth++;\n } else if (c == ']' && !escaped) {\n if (--charClassDepth < 0) {\n throw new QueryException(ErrorCode.ERR_INVALID_REGULAR_EXPRESSION, \"Invalid sequence of brackets.\");\n }\n } else if (removeWhitespace) {\n // Remove whitespace outside of character classes\n if (charClassDepth == 0 && WHITESPACE.contains(c)) {\n // Don't touch boolean flags\n continue;\n }\n\n sb.append(c);\n }\n\n groupStart = false;\n escaped = false;\n }\n\n // Check for trailing '\\' (only valid with subsequent characters)\n if (escaped && backRef == 0) {\n throw new QueryException(ErrorCode.ERR_INVALID_REGULAR_EXPRESSION, \"Trailing backslash character in pattern.\");\n }\n\n // Check back reference if that was last token in pattern\n if (backRef > 0 && backRef > completeGroups) {\n throw new QueryException(ErrorCode.ERR_INVALID_REGULAR_EXPRESSION,\n \"Back reference to nonexisting or unfinished group.\");\n }\n\n // Check for dangling brackets\n if (charClassDepth != 0 || groupDepth != 0) {\n throw new QueryException(ErrorCode.ERR_INVALID_REGULAR_EXPRESSION, \"Pattern contains dangling brackets.\");\n }\n\n if (!removeWhitespace) {\n sb.append(regex);\n }\n\n if (mode == Mode.MATCH) {\n // Adapt for XQuery substring matching by extending pattern\n if (sb.charAt(0) != '^' || ((flagMask & Pattern.MULTILINE) == Pattern.MULTILINE)) {\n if ((flagMask & Pattern.DOTALL) == Pattern.DOTALL) {\n sb.insert(0, \".*\");\n } else {\n sb.insert(0, \"(?s:.*)\");\n }\n }\n\n if (sb.charAt(sb.length() - 1) != '$' || ((flagMask & Pattern.MULTILINE) == Pattern.MULTILINE)) {\n if ((flagMask & Pattern.DOTALL) == Pattern.DOTALL) {\n sb.append(\".*\");\n } else {\n sb.append(\"(?s:.*)\");\n }\n }\n }\n\n return sb.toString();\n }", "public RegExp anyChar ()\n {\n // FIXME: there is some code duplication here with the parser\n final List <Interval> list = new ArrayList <> ();\n list.add (new Interval (0, CharClasses.maxChar));\n return new RegExp1 (sym.CCLASS, list);\n }", "protected String hookGetRegex() \r\n\t{\n\t\treturn \"\\\\s+\"; \r\n\t}", "private static boolean matchRegex(Pattern regExpression, String filename) {\n\t\tMatcher m = regExpression.matcher(filename);\n\t\tif (m.matches()) {\n\t\t\treturn true;\n\t\t} else {\n\t\t\treturn false;\n\t\t}\n\t}", "RegExConstraint createRegExConstraint();", "public void setRegexMatch(java.lang.Short regexMatch) {\r\n this.regexMatch = regexMatch;\r\n }", "void mo5871a(String str);", "private JBurgPatternMatcher()\n\t{\n\t}", "public final String getPattern() {\n/* 187 */ return this.m_pattern;\n/* */ }", "public String getPattern() {\n\treturn pattern;\n }", "public Regex mo131901a(int i) {\n C32591j jVar = C32645l.m150681b(this.f111785a.m150658d(), i);\n if (jVar.getStart().intValue() < 0) {\n return null;\n }\n String group = this.f111785a.m150658d().group(i);\n C32569u.m150513a((Object) group, \"matchResult.group(index)\");\n return new Regex(group, jVar);\n }", "@Override\n\tpublic void visit(RegExpMatchOperator arg0) {\n\t\t\n\t}", "@Test //TEST FOUR\n void testOneNumberinRabbitName()\n {\n Rabbit_RegEx rabbit_Name = new Rabbit_RegEx();\n rabbit_Name.setRabbitName(\"MO0N\");\n assertFalse(rabbit_Name.getRabbitName().matches(\"[A-Za-z-]*\"));\n }", "private LiteralToken nextRegularExpressionLiteralToken() {\n LiteralToken token = scanner.nextRegularExpressionLiteralToken();\n lastSourcePosition = token.location.end;\n return token;\n }", "public String getPattern() {\r\n \treturn pattern;\r\n }", "public int getPattern() {\n return this.pattern;\n }" ]
[ "0.72026896", "0.7194223", "0.7194223", "0.68615586", "0.6858206", "0.67436427", "0.6587065", "0.6512296", "0.64326847", "0.6404885", "0.63460666", "0.6331", "0.6291084", "0.6286594", "0.6254456", "0.6238955", "0.6219856", "0.6202358", "0.6189153", "0.61239773", "0.610071", "0.6062738", "0.6032594", "0.59982014", "0.5996874", "0.5924192", "0.59115654", "0.5864164", "0.58572525", "0.58453", "0.58453", "0.5841216", "0.58262175", "0.5814594", "0.5811531", "0.58056986", "0.580481", "0.57985896", "0.5770896", "0.57697666", "0.57547474", "0.5754631", "0.5754291", "0.57499665", "0.57477105", "0.5747135", "0.57377404", "0.5728356", "0.5720464", "0.57105994", "0.569544", "0.5688132", "0.56866807", "0.5680289", "0.5667682", "0.56612164", "0.56564504", "0.5585063", "0.5555574", "0.5529932", "0.55271614", "0.5522922", "0.55216306", "0.5515437", "0.55144066", "0.5475341", "0.54649585", "0.54602605", "0.54552746", "0.5454531", "0.54507446", "0.54498005", "0.54474837", "0.5440438", "0.54248166", "0.54176825", "0.541224", "0.5411842", "0.5410461", "0.54078144", "0.5407357", "0.5399649", "0.53911847", "0.53741324", "0.5369898", "0.5353865", "0.53480643", "0.53464174", "0.53416866", "0.5329152", "0.53245693", "0.5322008", "0.5312056", "0.52923334", "0.5292296", "0.5286544", "0.5280226", "0.5259832", "0.5251492" ]
0.5381891
84
int32 subnetId = 2;
@java.lang.Override public int getSubnetId() { return subnetId_; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "int getSubnetId();", "int getSubnetId();", "int getSubnetId();", "@java.lang.Override\n public int getSubnetId() {\n return subnetId_;\n }", "@java.lang.Override\n public int getSubnetId() {\n return subnetId_;\n }", "@java.lang.Override\n public int getSubnetId() {\n return subnetId_;\n }", "public String subnetId() {\n return this.subnetId;\n }", "public String getSubnetId() {\n return this.SubnetId;\n }", "public Builder setSubnetId(int value) {\n\n subnetId_ = value;\n onChanged();\n return this;\n }", "public Builder setSubnetId(int value) {\n\n subnetId_ = value;\n onChanged();\n return this;\n }", "public Builder setSubnetId(int value) {\n\n subnetId_ = value;\n onChanged();\n return this;\n }", "int netid() {\n\t\t\treturn address & (-1 << mask);\n\t\t}", "entities.Torrent.SubnetRequest getSubnetRequest();", "@Required\n public String getSubnet() {\n return subnet;\n }", "java.lang.String getSubnet();", "com.google.protobuf.ByteString getSubnetBytes();", "int getS1Ip();", "int getSnId();", "int getSnId();", "int getSnId();", "int getSnId();", "public void setSubnetId(String SubnetId) {\n this.SubnetId = SubnetId;\n }", "@Test\n public void testToInt() {\n Ip4Address ipAddress;\n\n ipAddress = Ip4Address.valueOf(\"1.2.3.4\");\n assertThat(ipAddress.toInt(), is(0x01020304));\n\n ipAddress = Ip4Address.valueOf(\"0.0.0.0\");\n assertThat(ipAddress.toInt(), is(0));\n\n ipAddress = Ip4Address.valueOf(\"255.255.255.255\");\n assertThat(ipAddress.toInt(), is(-1));\n }", "int getPacketId();", "int getInIp();", "int getInIp();", "private boolean isSubnetInUse(String subnetId) {\n return false;\n }", "entities.Torrent.SubnetResponse getSubnetResponse();", "IntExpression netid(Expression p) {\n\t\treturn addr(p).and(explicitMask(p));\n\t}", "public String subnetName() {\n return this.subnetName;\n }", "public ApiEntityReference subnet() {\n return this.subnet;\n }", "int getPrimarySnId();", "int getPrimarySnId();", "int getReceiverid();", "public SubnetInner subnet() {\n return this.subnet;\n }", "public String getSubnetArn() {\n return this.subnetArn;\n }", "public interface Constants {\n public static final short NET_MASK_MAX_LENGTH = 32;\n}", "public byte getId() {\n return 2;\n }", "@Test\n public void testAddress()\n {\n System.out.println(\"address\");\n int addr = 16893;\n System.out.println(N2TCode.address(addr));\n System.out.println(Integer.toBinaryString(addr));\n }", "public BigInteger getNetworkId() {\n return networkId;\n }", "private void sumbit(String ip){\n }", "int getBlockId();", "public final String getNetId( )\r\n {\r\n return netId;\r\n }", "Integer getSesscode();", "public long getUInt() { return bb.getInt() & 0xffff_ffffL; }", "int getSourceSnId();", "@Test\n public void testValueOfForIntegerIPv4() {\n Ip4Address ipAddress;\n\n ipAddress = Ip4Address.valueOf(0x01020304);\n assertThat(ipAddress.toString(), is(\"1.2.3.4\"));\n\n ipAddress = Ip4Address.valueOf(0);\n assertThat(ipAddress.toString(), is(\"0.0.0.0\"));\n\n ipAddress = Ip4Address.valueOf(0xffffffff);\n assertThat(ipAddress.toString(), is(\"255.255.255.255\"));\n }", "int getIp();", "int getIp();", "int getIp();", "private int getNumberBase(String n1){\n return Integer.parseUnsignedInt(n1, base);\n }", "int decodeInt();", "@Override\n\tpublic Long getNetId() {\n\t\treturn null;\n\t}", "int getAddr();", "@Test\n public void testLocalCircuitId() throws Exception {\n isisNeighbor.setLocalCircuitId((byte) 1);\n result4 = isisNeighbor.localCircuitId();\n assertThat(result4, is((byte) 1));\n }", "int getBlockNumber();", "int getBlockNumber();", "int getClientIpV4();", "Integer destinationPort();", "public static void main(String[] args) {\n byte[] ip = new byte[]{(byte) 192, (byte) 168, 1, 2};\n byte[] mask = new byte[]{(byte) 255, (byte) 255, (byte) 254, 0};\n byte[] netAddress = getNetAddress(ip, mask);\n print(ip); //11000000 10101000 00000001 00000010\n print(mask); //11111111 11111111 11111110 00000000\n print(netAddress); //11000000 10101000 00000000 00000000\n }", "public int getId() {\n\t\treturn config >> 8;\n\t}", "byte[] networkMask();", "public int getOctet(int position)\n {\n position = position > 3 ? 3 : position;\n position = position < 0 ? 0 : position;\n \n return address[position];\n }", "public Inet4Address getNetworkAddress() {\n\t\treturn subnetAddress;\n\t}", "interface MyConfig {\n int teamNumber = 5;\n int basePort = 5000;\n int udpPort = teamNumber + basePort;\n String interfaceName = \"wlan0\";\n // String broadcastAddress = \"192.168.24.255\";\n //String broadcastAddress = \"localhost\";\n}", "Uint32 getType();", "private int getSSN (){\n return ssn;\n }", "java.lang.String getSnIp();", "java.lang.String getSnIp();", "UUID getNegotiationId();", "Integer getNLNDccp();", "public int GetID()\n {\n return blockType.GetID();\n }", "private static int parseInt(String sn) {\n\t\treturn Integer.parseInt(sn.substring(2), 16);\n\t}", "private void setS1Ip(int value) {\n \n s1Ip_ = value;\n }", "private void setInIp(int value) {\n \n inIp_ = value;\n }", "private void setInIp(int value) {\n \n inIp_ = value;\n }", "static int lanPort(String xxx) {\n\t\treturn 20000 + Integer.parseInt(xxx);\n\t}", "public int getBlockTextureFromSide(int var1)\r\n {\r\n return var1 == 1 ? 72 : (var1 == 0 ? 74 : 73);\r\n }", "BigInteger getTelefone();", "entities.Torrent.SubnetRequestOrBuilder getSubnetRequestOrBuilder();", "boolean hasSubnetRequest();", "String getIdNumber();", "public int a(int var1, int var2)\r\n {\r\n byte var3 = -1;\r\n\r\n switch (var2)\r\n {\r\n case 0:\r\n var3 = 22;\r\n break;\r\n\r\n case 1:\r\n var3 = 23;\r\n break;\r\n\r\n case 2:\r\n var3 = 24;\r\n }\r\n\r\n if (var3 == -1)\r\n {\r\n var3 = 1;\r\n }\r\n\r\n return var3;\r\n }", "public static int offset_receiverNodeID() {\n return (16 / 8);\n }", "public boolean isInSubnet(Inet4Address address) {\n\t\tbyte[] sb = subnetAddress.getAddress();\n\t\tint subnet_int = ((sb[0] & 0xFF) << 24) |\n\t\t\t\t\t\t((sb[1] & 0xFF) << 16) |\n\t\t\t\t\t\t((sb[2] & 0xFF) << 8) |\n\t\t\t\t\t\t((sb[3] & 0xFF) << 0);\n\t\t\n\t\tbyte[] b = address.getAddress();\n\t\tint address_int = ((b[0] & 0xFF) << 24) |\n\t\t\t\t\t\t((b[1] & 0xFF) << 16) |\n\t\t\t\t\t\t((b[2] & 0xFF) << 8) |\n\t\t\t\t\t\t((b[3] & 0xFF) << 0);\n\t\t\n\t\tint bitmask = -1 << (32 - mask);\n\t\t\n\t\tif ((subnet_int & bitmask) == (address_int & bitmask)) {\n\t\t\treturn true;\n\t\t}else {\n\t\t\treturn false;\n\t\t}\n\t}", "int reservedPacketCircuitType();", "int getSendid();", "int getMemberId2();", "static private int makeInt(int b3, int b2, int b1, int b0) {\n return (((b3 ) << 24) |\n ((b2 & 0xff) << 16) |\n ((b1 & 0xff) << 8) |\n ((b0 & 0xff) ));\n }", "Expression subnet(Expression p) {\n\t\treturn p.join(subnet);\n\t}", "int getPinNumber();", "public byte getId() {\n return 8;\n }", "public interface CallId {\r\n}", "public int getLocalSlotNumber();", "public String getCidr() {\n return cidr;\n }", "private int toPdpType(String type) {\n char c;\n int hashCode = type.hashCode();\n if (hashCode == -2128542875) {\n if (type.equals(\"IPV4V6\")) {\n c = 2;\n switch (c) {\n case 0:\n break;\n case 1:\n break;\n case 2:\n break;\n case 3:\n break;\n }\n }\n } else if (hashCode == 2343) {\n if (type.equals(\"IP\")) {\n c = 0;\n switch (c) {\n case 0:\n break;\n case 1:\n break;\n case 2:\n break;\n case 3:\n break;\n }\n }\n } else if (hashCode == 79440) {\n if (type.equals(\"PPP\")) {\n c = 3;\n switch (c) {\n case 0:\n break;\n case 1:\n break;\n case 2:\n break;\n case 3:\n break;\n }\n }\n } else if (hashCode == 2254343 && type.equals(\"IPV6\")) {\n c = 1;\n switch (c) {\n case 0:\n return 1;\n case 1:\n return 2;\n case 2:\n return 3;\n case 3:\n return 4;\n default:\n Rlog.e(TAG, \"Unknown type: \" + type);\n return 0;\n }\n }\n c = 65535;\n switch (c) {\n case 0:\n break;\n case 1:\n break;\n case 2:\n break;\n case 3:\n break;\n }\n }", "public String long_ip(long numero_ip){\n String str_num_ip=\"\";\n for(int i=3; i>=0; i--){\n str_num_ip += (0b1111_1111 & (numero_ip >> (i*8) )) + (i!=0? \".\": \"\");\n }\n return str_num_ip;\n }", "int getVbNum();" ]
[ "0.77809644", "0.77809644", "0.77809644", "0.6901655", "0.6901655", "0.6900688", "0.66626906", "0.6474268", "0.6279669", "0.6279669", "0.6279669", "0.62370723", "0.6060043", "0.59837335", "0.59434897", "0.5932656", "0.57812864", "0.5715183", "0.5715183", "0.5715183", "0.5715183", "0.55572236", "0.5503398", "0.54916567", "0.5487927", "0.5487927", "0.5484486", "0.5478088", "0.5442048", "0.54206026", "0.54137975", "0.5392619", "0.5392619", "0.5365798", "0.5291091", "0.528957", "0.5283083", "0.5282385", "0.5268595", "0.5252715", "0.5225848", "0.5209509", "0.52053666", "0.5204332", "0.51964515", "0.5178672", "0.5174273", "0.51621306", "0.51621306", "0.51621306", "0.51385176", "0.51312715", "0.5110987", "0.5107079", "0.51043403", "0.50909513", "0.50909513", "0.5090002", "0.5086444", "0.5068104", "0.50598544", "0.5057555", "0.50325215", "0.5030072", "0.5026617", "0.5016135", "0.5011811", "0.50008655", "0.50008655", "0.49958766", "0.49948108", "0.49931207", "0.49834228", "0.4979516", "0.49757165", "0.49757165", "0.49736804", "0.49645814", "0.4964548", "0.49564615", "0.49549797", "0.49375892", "0.4935244", "0.4930095", "0.4928708", "0.49278957", "0.4926811", "0.4923332", "0.49175766", "0.49155587", "0.4915269", "0.49088785", "0.4906809", "0.49064866", "0.48997712", "0.48915312", "0.4886508", "0.48773444" ]
0.6844633
8
string regex = 1;
public java.lang.String getRegex() { java.lang.Object ref = regex_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); regex_ = s; return s; } else { return (java.lang.String) ref; } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getRegex();", "java.lang.String getRegex();", "java.lang.String getRegex();", "public void setRegex (String regex)\n {\n this.regex = regex;\n }", "public String getRegEx();", "public RegExp (final int type)\n {\n this.type = type;\n }", "public RegexPatternBuilder (String regex)\n {\n this.regex = regex;\n }", "public String getRegEx() {\r\n return regex;\r\n }", "public GrammaticaRE(String regex) throws Exception {\n regExp = new RegExp(regex, ignoreCase);\n }", "public final native void setRegex(String regex) /*-{\n\t\tthis.regex = regex;\n\t}-*/;", "@objid (\"d7eead28-9a1c-4037-9797-4868268b54d4\")\n public RegexVerifier(String regex) {\n this.regex = regex;\n }", "public void setRegex(String regex) {\n this.regex = regex;\n }", "public static void TestRegex()\n\t{\n\t String line = \" if( aaa&&(ypbreg))\";\n\t String pattern = \"(&&)\\\\s*\\\\(*\\\\s*!?ypbreg\\\\)*\";\n\t // Create a Pattern object\n\t Pattern r = Pattern.compile(pattern);\n\t System.out.println(line.contains(pattern));\n\t // Now create matcher object.\n\t Matcher m = r.matcher(line);\n\t if (m.find( )) {\n\t // System.out.println(\"Found value: \" + m.group(0) );\n\t int count = m.groupCount();\n\t System.out.println(\"group count is \"+count);\n\t for(int i=0;i<count;i++){\n\t System.out.println(m.group(i));\n\t }\n\t // System.out.println(line.replaceFirst(BregPattern.pEqualTrue1, \"!$1\"));\n\n\t } else {\n\t System.out.println(\"NO MATCH\");\n\t }\n\t}", "public RegularExpression() {\n }", "public interface RegExp {\n String NUMBER_OF_COMPOSITION = \"^[1-2][0-9]|[1-9]$\";\n String BREAK_DATE_BY_DOT = \"[.]\";\n String IDENTIFY_BUMDLE = \"^([E|e][N|n])|[У|у][К|к][Р|р]$\";\n String DURATION = \"^[1-9]|[1-9][0-9]|[1-4][0-9][0-9]$\";\n}", "public java.lang.String getRegexStr() {\r\n return regexStr;\r\n }", "public Pattern regexPattern(String regex) {\n return Pattern.compile(regex);\n }", "@Override\n protected void compileRegex(String regex) {\n }", "protected abstract Regex pattern();", "boolean hasRegex();", "public JavaRE(String regex) throws Exception {\n if (ignoreCase) {\n pattern = Pattern.compile(regex, Pattern.CASE_INSENSITIVE);\n } else {\n pattern = Pattern.compile(regex);\n }\n }", "@Test\n public void testParseRegexp_valid3() throws InvalidRegexpException {\n BasicRegexp re = BasicRegexp.parseRegexp(\"a b c d\");\n assertEquals(re.toString(), \"abcd\");\n }", "private\n\tRegExHelper()\n\t{\n\t\tsuper();\n\t}", "@Override\n public boolean isRegex() {\n return false;\n }", "public String get_isregex() throws Exception {\n\t\treturn this.isregex;\n\t}", "public Boolean getbRegex() {\r\n\t\treturn bRegex;\r\n\t}", "public interface RegExp {\n String NAME_REGEXP = \"^[А-Я][а-я]{2,30}$\";\n String AGE_REGEXP = \"^((1[012][0-9])|([1-9][0-9]))$\";\n String EMAIL_REGEXP = \"^[-z0-9_.]{1,30}@([A-z]+[A-z0-9]{1,15}.){1,2}([A-z]+[A-z0-9]{1,15})$\";\n String CELL_PHONE_REGEXP = \"([\\\\+]\\\\d{2}\\\\s?)?(([\\\\(\\\\s]\\\\d{3}[\\\\)\\\\s])|\" +\n \"(\\\\d{3}))[\\\\s-]?\\\\d{3}[\\\\s-]?\\\\d{2}[\\\\s-]?\\\\d{2}$\";\n String CELL_PHONE_OPTIONAL_REGEXP = \"^(([\\\\+]\\\\d{2}\\\\s?)?(([\\\\(\\\\s]\\\\d{3}[\\\\)\\\\s])|\" +\n \"(\\\\d{3}))[\\\\s-]?\\\\d{3}[\\\\s-]?\\\\d{2}[\\\\s-]?\\\\d{2})?\";\n String LOCAL_PHONE_REGEXP = \"^([\\\\+]\\\\d{2}\\\\s?)?(([\\\\(\\\\s]\\\\d{3}[\\\\)\\\\s])|(\\\\d{3}))?[\\\\s-]?\\\\d{3}[\\\\s-]?\\\\d{3}$\";\n String COMMENT_REGEXP = \"^([\\\\d\\\\s\\\\w\\\\.\\\\,\\\\!]){0,127}$\";\n String GROUP_REGEXP = \"^[А-я]{4,10}$\";\n String SKYPE_NICK_REGEXP = \"^[\\\\w\\\\d\\\\_]{3,20}$\";\n String INDEX_REGEXP = \"^[\\\\d]{8}$\";\n String CITY_STREET_REGEXP = \"^[А-Я][а-я]{3,20}$\";\n String BUILDING_REGEXP = \"^[\\\\d]{1,3}[\\\\w]?$\";\n String FLAT_REGEXP = \"^[\\\\d]{1,3}$\";\n}", "public Builder setRegex(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n\n regex_ = value;\n onChanged();\n return this;\n }", "public Builder setRegex(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n\n regex_ = value;\n onChanged();\n return this;\n }", "public void setRegexStr(java.lang.String regexStr) {\r\n this.regexStr = regexStr;\r\n }", "public String getMatchRegex() {\n return matchRegex;\n }", "String regen();", "public static void main(String[] args) {\n\t\t Pattern p = Pattern.compile(\"(a+)\");\r\n\t\t Matcher m = p.matcher(\"aaaaaba\");\r\n\t\t //System.out.println(m.matches())\r\n\t\t m.find();\t\t \r\n\t\t m.find();\r\n\t\t System.out.println(\"grCount \"+m.groupCount());\t \r\n\t\t MatchResult mr = m.toMatchResult();\r\n\t\t \r\n\t\t System.out.println(m.end());\r\n\t\t System.out.println(\"'\"+mr.group()+\"'\");\r\n\t\t System.out.println(\"start \"+mr.start(1));\r\n\t\t \r\n\t}", "@java.lang.Override\n public java.lang.String getRegex() {\n java.lang.Object ref = regex_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n regex_ = s;\n return s;\n }\n }", "@java.lang.Override\n public java.lang.String getRegex() {\n java.lang.Object ref = regex_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n regex_ = s;\n return s;\n }\n }", "int mo5882g(String str);", "com.google.protobuf.ByteString\n getRegexBytes();", "com.google.protobuf.ByteString\n getRegexBytes();", "@Test\n public void testParseRegexp_correctness1new()\n throws InvalidRegexpException {\n BasicRegexp re = BasicRegexp.parseRegexp(\"(01|10)*1111\");\n assertEquals(re.toString(), \"(01|10)*1111\");\n }", "public void set_isregex(String isregex) throws Exception{\n\t\tthis.isregex = isregex;\n\t}", "public static void main(String[] args) {\r\n\t\t boolean matches_1 = Pattern.matches(\"[a-zA-Z0-9]{4}\", \"0Aa1\");\r\n\t\t boolean matches_2 = Pattern.matches(\"[a-zA-Z0-9]{4}\", \"0A@a1\");\r\n\t\t\t System.out.println(\"Regular Expression is \"+matches_1 +\" for given string(0Aa1)\");\r\n\t\t\t System.out.println(\"Regular Expression is \"+matches_2 +\" for given string(0A@a1)\");\r\n\t}", "public static void main(String[] args) {\n Pattern p = Pattern.compile(\"2*5?$\");\n Matcher m = p.matcher(regex1);\n if (m.matches()) {\n System.out.println(\"YES ¦ \");\n } else {\n System.out.println(\"NO\");\n }\n\n }", "@Override\n\tpublic boolean test(MyRegex t) {\n\t\treturn false;\n\t}", "private String parseRegExp(String exp) throws Exception {\r\n\t\treturn RegexpTranslationHelper.translateANTLRToAutomatonStyle(exp);\r\n\t}", "@Test\n public void testParseRegexp_valid7() throws InvalidRegexpException {\n BasicRegexp re = BasicRegexp.parseRegexp(\"abc*def\");\n assertEquals(re.toString(), \"abc*def\");\n }", "public final String getRegex() {\n\t\treturn JsUtils.getNativePropertyString(this, \"regex\");\n\t}", "public RegexPatternBuilder ()\n {\n this.regex = null;\n }", "private boolean isRegexValid(String string)\n {\n try\n {\n Pattern.compile(string, Pattern.MULTILINE);\n return true;\n }\n catch (PatternSyntaxException e)\n {\n return false;\n }\n }", "public java.lang.Short getRegexMatch() {\r\n return regexMatch;\r\n }", "@Test\n public void testParseRegexp_valid6() throws InvalidRegexpException {\n BasicRegexp re = BasicRegexp.parseRegexp(\"ab(cd(e))ff\");\n assertEquals(re.toString(), \"abcdeff\");\n }", "@Override // kotlin.p2243e.p2244a.AbstractC32522b\n public /* synthetic */ Regex invoke(Integer num) {\n return mo131903a(num.intValue());\n }", "public static TextP regex(final String value) {\n return new TextP(new Text.RegexPredicate(value, false), value);\n }", "public static Term createRegExp(Expression exp) {\r\n\t\tTerm term = Term.function(REGEX, exp);\r\n\t\treturn term;\r\n\t}", "public Pattern getValidStringPattern();", "@Test\r\n public void testRegexp() throws Exception {\n\r\n String a = \"a/b/100/test\";\r\n\r\n Pattern pattern = Pattern.compile(\".+/(\\\\d+)/test\");\r\n\r\n System.out.println(parseIdFromUriPath(a, pattern));\r\n\r\n }", "public static Regex compile(String pattern, int cflags) throws RegexException {\n return new Regex(pattern, REG_EXTENDED | cflags);\n }", "public Expression setRegexTest(Expression exp, Expression test){\r\n\t\tregexExpr.put(exp, test);\r\n\t\tExpression tt = Term.function(Term.TEST);\r\n\t\ttt.setExpr(test);\r\n\t\tExpression seq = sequence(exp, tt);\r\n\t\treturn seq;\r\n\t}", "C11998c mo41092g(String str);", "@Test\n public void contactNumber_WhenValid_ShouldReturnTrue(){\n RegexTest valid = new RegexTest();\n boolean result = valid.contactNumber( \"91 1234567890\");\n Assert.assertEquals(true,result);\n }", "@Test\n public void testDebugPrintBasicRegexp() throws InvalidRegexpException {\n BasicRegexp re1 = BasicRegexp.parseRegexp(\"(01|10)*1111\");\n BasicRegexp.debugPrintBasicRegexp(0, re1);\n }", "@Test\r\n public void testGetRegexp() {\r\n final Regexp re = rs.getRegexp(reString);\r\n assertTrue(rs.hasRegexp(reString));\r\n assertSame(rs.getRegexp(reString), re);\r\n }", "public String checkRegularExpression(String input) {\n String actualResult=\"\";\n String pattern=\".*harry*\";\n boolean value= Pattern.matches(pattern,input);\n actualResult+=\"Is harry there?\"+value;\n return actualResult;\n\n }", "public static void main(String[] args) {\n//\n// String pattern = \"abba\";\n// String s = \"dog cat cat fish\";\n\n\n// String pattern = \"aaaa\";\n// String s = \"dog cat cat dog\";\n\n String pattern = \"abba\";\n String s = \"dog dog dog dog\";\n\n// String pattern = \"e\";\n// String s = \"eukera\";\n\n boolean flag = wordPattern(pattern, s);\n\n System.out.println(flag);\n }", "public RegexGrep(ShellEnvironment env, String[] args) {\n super(env, args);\n this.regex = Pattern.compile(args[0]);\n }", "@Test\n public void wordPatternTest() {\n String pattern = \"aaa\", str = \"aa aa aa aa\";\n boolean ans = instance.wordPattern(pattern, str);\n System.out.println(ans);\n }", "@Test\n public void testParseRegexp_valid1() throws InvalidRegexpException {\n BasicRegexp re = BasicRegexp.parseRegexp(\"\");\n assertEquals(re, null);\n }", "@Test(expected = InvalidRegexpException.class)\n public void testParseRegexp_invalid8() throws Throwable {\n BasicRegexp.parseRegexp(\"()\");\n }", "void mo37759a(String str);", "private static String globToRegex(final String glob) {\n return \"^\" + glob.replace(\".\", \"\\\\.\").replace(\"*\", \".*\") + \"$\";\n }", "void mo12635a(String str);", "com.google.privacy.dlp.v2.CustomInfoType.Regex getRegex();", "public static String toRegex(String param) \r\n\t{\r\n\t\tStringBuffer regex = new StringBuffer();\r\n\t\tfor( int i=0; i < param.length(); i++ ) \r\n\t\t{\r\n\t\t\tchar next = param.charAt( i );\r\n\t\t\t if ('*' == next) regex.append( \".+\" ); // -> multi-character match wild card\r\n\t\t\telse if ('?' == next) regex.append( \".\" ); // -> single-character match wild card\r\n\t\t\telse if ('.' == next) regex.append( \"\\\\.\" ); // all of these are special regex characters we are quoting\r\n\t\t\telse if ('+' == next) regex.append( \"\\\\+\" ); \r\n\t\t\telse if ('$' == next) regex.append( \"\\\\$\" ); \r\n\t\t\telse if ('\\\\' == next) regex.append( \"\\\\\\\\\" ); \r\n\t\t\telse if ('[' == next) regex.append( \"\\\\[\" ); \r\n\t\t\telse if (']' == next) regex.append( \"\\\\]\" ); \r\n\t\t\telse if ('{' == next) regex.append( \"\\\\{\" ); \r\n\t\t\telse if ('}' == next) regex.append( \"\\\\}\" ); \r\n\t\t\telse if ('(' == next) regex.append( \"\\\\(\" ); \r\n\t\t\telse if (')' == next) regex.append( \"\\\\)\" ); \r\n\t\t\telse if ('&' == next) regex.append( \"\\\\&\" ); \r\n\t\t\telse if ('^' == next) regex.append( \"\\\\^\" ); \r\n\t\t\telse if ('-' == next) regex.append( \"\\\\-\" ); \r\n\t\t\telse if ('|' == next) regex.append( \"\\\\|\" ); \r\n\t\t\telse regex.append( next );\r\n\t\t}\r\n\t\t\r\n\t\treturn regex.toString();\r\n\t}", "public GlobFilenameFilter(String regex) {\n super(__CACHE, __MATCHER, regex);\n }", "public static void main(String[] args) {\n// System.out.println(alphanumeric.replaceAll(\"[aei]\", \"x\"));\n\n\n String regex = \"^[A-Z]|[a-z]\";\n String username = \"kaaviya\";\n\n System.out.println(username.replaceAll( \"^[A-Za-z][A-Za-z0-9_]{7,29}$\", \"x\"));\n System.out.println(username.matches(regex));\n\n }", "String mo2801a(String str);", "public com.google.protobuf.ByteString\n getRegexBytes() {\n java.lang.Object ref = regex_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b =\n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n regex_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "public com.google.protobuf.ByteString\n getRegexBytes() {\n java.lang.Object ref = regex_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b =\n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n regex_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "public static Regex compile(String pattern) throws RegexException {\n return compile(pattern, 0);\n }", "public static void main(String[] args) throws Exception {\n String patronA = \"[0-5]\";\n\n // conjunto de letras de \"a\" a \"c\"\n String patronB = \"[a-c]\";\n\n // conjunto de todas las letras minusculas\n String patronC = \"[a-z]\";\n\n // conjunto de numeros\n String patronD = \"[0-9]\";\n\n // ejemplo con tipo de dato string\n String textoAlfanumerico = \"0123aaaa\";\n System.out.println(\"Texto alfanumerico:\" + textoAlfanumerico);\n\n String replace1 = textoAlfanumerico.replaceAll(patronA, \"X\");\n System.out.println(\"Reemplazo de numeros con X: \" + replace1);\n\n String replace2 = textoAlfanumerico.replaceAll(patronB, \"X\");\n System.out.println(\"Reemplazo de letras con X: \" + replace2);\n\n\n //[0-5][a-c];\n //String patronComplejo = patronA + patronB;\n\n //[a-c]*[0-5]*\n //String patronComplejo = patronA + \"*\" + patronB + \"*\";\n\n //\"[a-z]+\"\n\n // + = una coincidencia\n // * = ninguna o muchas\n\n //String patronComplejo = \"(\" + patronA + patronC + \")+\";\n String patronComplejo = \"(\" + patronC + \")+\";\n\n String texto = \"hola, aacc este bbcc es mi 55222aaa texto 2663aaaa blah blah\";\n System.out.println(\"patron complejo:\" + patronComplejo);\n System.out.println(texto);\n\n Pattern pattern = Pattern.compile(patronComplejo);\n Matcher matcher = pattern.matcher(texto);\n\n // buscar ocurrencias\n while (matcher.find()) {\n System.out.println(\"Encontrado:\" + matcher.group());\n }\n\n\n }", "@Test\n public void testOptimise_2() throws InvalidRegexpException {\n BasicRegexp re1 = BasicRegexp.parseRegexp(\"a+++++++++++++++++++++\");\n\n assertEquals(re1.optimise(BasicRegexp.OPTIMISE_ALL, -1).toString(),\n \"a+\");\n }", "public String returnRegex() {\n\t\tString chosenRegex;\n\t\tSystem.out.println(\"selectedRegex value is: \" + selectedRegex);\n\t\tswitch (selectedRegex) {\n\t\tcase 1:\n\t\t\tchosenRegex = \"(\\\\&?\\\\??t=\\\\d*?[h]?\\\\d*[m]?\\\\d*[s]|\\\\&t=\\\\d*)\";\n\t\t\tbreak;\n\t\tcase 2:\n\t\t\tchosenRegex = \"(\\\\&list=[a-zA-Z 0-9 -]+\\\\&?index=?\\\\d+?)\";\n\t\t\tbreak;\n\t\tcase 3:\n\t\t\tchosenRegex = \"(\\\\&feature=youtu.be)\";\n\t\t\tbreak;\n\t\tdefault:\n\t\t\tchosenRegex = \"\\\\?t.*|\\\\&t.*|\\\\&l.*|\\\\&f.*\"; // alternative:\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// (\\\\&?\\\\??t=\\\\d*?[h]?\\\\d*[m]?\\\\d*[s]|\\\\&t=\\\\d*|\\\\&list=[a-zA-Z\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// 0-9 -]*)\n\t\t\tbreak;\n\t\t}\n\t\tSystem.out.println(chosenRegex);\n\t\treturn chosenRegex;\n\t}", "@java.lang.Override\n public com.google.protobuf.ByteString\n getRegexBytes() {\n java.lang.Object ref = regex_;\n if (ref instanceof java.lang.String) {\n com.google.protobuf.ByteString b =\n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n regex_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "@java.lang.Override\n public com.google.protobuf.ByteString\n getRegexBytes() {\n java.lang.Object ref = regex_;\n if (ref instanceof java.lang.String) {\n com.google.protobuf.ByteString b =\n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n regex_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "private static String adaptRegEx(Mode mode, String regex, int flagMask, boolean removeWhitespace)\n throws QueryException {\n StringBuilder sb = new StringBuilder();\n boolean escaped = false;\n boolean groupStart = false;\n int completeGroups = 0;\n int backRef = 0;\n int charClassDepth = 0;\n int groupDepth = 0;\n\n for (char c : regex.toCharArray()) {\n if (escaped) {\n if (backRef == 0 && c == '0') {\n throw new QueryException(ErrorCode.ERR_INVALID_REGULAR_EXPRESSION, \"Reference to group 0 not allowed\");\n } else if (c >= '0' && c <= '9') {\n if (charClassDepth > 0) {\n throw new QueryException(ErrorCode.ERR_INVALID_REGULAR_EXPRESSION,\n \"Back references in character class expressions\" + \" are disallowed.\");\n }\n backRef = backRef * 10 + Integer.parseInt(Character.toString(c));\n continue;\n }\n }\n\n if (backRef > 0) {\n // Check back reference that just ended\n if (backRef > completeGroups) {\n throw new QueryException(ErrorCode.ERR_INVALID_REGULAR_EXPRESSION,\n \"Back reference to nonexisting or unfinished group.\");\n } else {\n backRef = 0;\n escaped = false;\n }\n }\n\n if (c == '\\\\' && !escaped) {\n // Not preceded by backslash\n escaped = true;\n groupStart = false;\n continue;\n }\n\n if (c == '(' && !escaped) {\n groupStart = true;\n groupDepth++;\n escaped = false;\n continue;\n }\n\n if (c == '?' && !escaped && groupStart) {\n throw new QueryException(ErrorCode.ERR_INVALID_REGULAR_EXPRESSION,\n \"Pure groups are not supported in XQuery regular expressions.\");\n } else if (c == ')' && !escaped) {\n if (--groupDepth < 0) {\n throw new QueryException(ErrorCode.ERR_INVALID_REGULAR_EXPRESSION, \"Invalid sequence of brackets.\");\n }\n completeGroups++;\n } else if (c == '[' && !escaped) {\n charClassDepth++;\n } else if (c == ']' && !escaped) {\n if (--charClassDepth < 0) {\n throw new QueryException(ErrorCode.ERR_INVALID_REGULAR_EXPRESSION, \"Invalid sequence of brackets.\");\n }\n } else if (removeWhitespace) {\n // Remove whitespace outside of character classes\n if (charClassDepth == 0 && WHITESPACE.contains(c)) {\n // Don't touch boolean flags\n continue;\n }\n\n sb.append(c);\n }\n\n groupStart = false;\n escaped = false;\n }\n\n // Check for trailing '\\' (only valid with subsequent characters)\n if (escaped && backRef == 0) {\n throw new QueryException(ErrorCode.ERR_INVALID_REGULAR_EXPRESSION, \"Trailing backslash character in pattern.\");\n }\n\n // Check back reference if that was last token in pattern\n if (backRef > 0 && backRef > completeGroups) {\n throw new QueryException(ErrorCode.ERR_INVALID_REGULAR_EXPRESSION,\n \"Back reference to nonexisting or unfinished group.\");\n }\n\n // Check for dangling brackets\n if (charClassDepth != 0 || groupDepth != 0) {\n throw new QueryException(ErrorCode.ERR_INVALID_REGULAR_EXPRESSION, \"Pattern contains dangling brackets.\");\n }\n\n if (!removeWhitespace) {\n sb.append(regex);\n }\n\n if (mode == Mode.MATCH) {\n // Adapt for XQuery substring matching by extending pattern\n if (sb.charAt(0) != '^' || ((flagMask & Pattern.MULTILINE) == Pattern.MULTILINE)) {\n if ((flagMask & Pattern.DOTALL) == Pattern.DOTALL) {\n sb.insert(0, \".*\");\n } else {\n sb.insert(0, \"(?s:.*)\");\n }\n }\n\n if (sb.charAt(sb.length() - 1) != '$' || ((flagMask & Pattern.MULTILINE) == Pattern.MULTILINE)) {\n if ((flagMask & Pattern.DOTALL) == Pattern.DOTALL) {\n sb.append(\".*\");\n } else {\n sb.append(\"(?s:.*)\");\n }\n }\n }\n\n return sb.toString();\n }", "public RegExp anyChar ()\n {\n // FIXME: there is some code duplication here with the parser\n final List <Interval> list = new ArrayList <> ();\n list.add (new Interval (0, CharClasses.maxChar));\n return new RegExp1 (sym.CCLASS, list);\n }", "protected String hookGetRegex() \r\n\t{\n\t\treturn \"\\\\s+\"; \r\n\t}", "private static boolean matchRegex(Pattern regExpression, String filename) {\n\t\tMatcher m = regExpression.matcher(filename);\n\t\tif (m.matches()) {\n\t\t\treturn true;\n\t\t} else {\n\t\t\treturn false;\n\t\t}\n\t}", "RegExConstraint createRegExConstraint();", "public void setRegexMatch(java.lang.Short regexMatch) {\r\n this.regexMatch = regexMatch;\r\n }", "void mo5871a(String str);", "private JBurgPatternMatcher()\n\t{\n\t}", "public final String getPattern() {\n/* 187 */ return this.m_pattern;\n/* */ }", "public String getPattern() {\n\treturn pattern;\n }", "public Regex mo131901a(int i) {\n C32591j jVar = C32645l.m150681b(this.f111785a.m150658d(), i);\n if (jVar.getStart().intValue() < 0) {\n return null;\n }\n String group = this.f111785a.m150658d().group(i);\n C32569u.m150513a((Object) group, \"matchResult.group(index)\");\n return new Regex(group, jVar);\n }", "@Override\n\tpublic void visit(RegExpMatchOperator arg0) {\n\t\t\n\t}", "@Test //TEST FOUR\n void testOneNumberinRabbitName()\n {\n Rabbit_RegEx rabbit_Name = new Rabbit_RegEx();\n rabbit_Name.setRabbitName(\"MO0N\");\n assertFalse(rabbit_Name.getRabbitName().matches(\"[A-Za-z-]*\"));\n }", "private LiteralToken nextRegularExpressionLiteralToken() {\n LiteralToken token = scanner.nextRegularExpressionLiteralToken();\n lastSourcePosition = token.location.end;\n return token;\n }", "public String getPattern() {\r\n \treturn pattern;\r\n }", "public int getPattern() {\n return this.pattern;\n }" ]
[ "0.72026896", "0.7194223", "0.7194223", "0.68615586", "0.6858206", "0.67436427", "0.6587065", "0.6512296", "0.64326847", "0.6404885", "0.63460666", "0.6331", "0.6291084", "0.6286594", "0.6254456", "0.6238955", "0.6219856", "0.6202358", "0.6189153", "0.61239773", "0.610071", "0.6062738", "0.6032594", "0.5924192", "0.59115654", "0.5864164", "0.58572525", "0.58453", "0.58453", "0.5841216", "0.58262175", "0.5814594", "0.5811531", "0.58056986", "0.580481", "0.57985896", "0.5770896", "0.57697666", "0.57547474", "0.5754631", "0.5754291", "0.57499665", "0.57477105", "0.5747135", "0.57377404", "0.5728356", "0.5720464", "0.57105994", "0.569544", "0.5688132", "0.56866807", "0.5680289", "0.5667682", "0.56612164", "0.56564504", "0.5585063", "0.5555574", "0.5529932", "0.55271614", "0.5522922", "0.55216306", "0.5515437", "0.55144066", "0.5475341", "0.54649585", "0.54602605", "0.54552746", "0.5454531", "0.54507446", "0.54498005", "0.54474837", "0.5440438", "0.54248166", "0.54176825", "0.541224", "0.5411842", "0.5410461", "0.54078144", "0.5407357", "0.5399649", "0.53911847", "0.5381891", "0.5381891", "0.53741324", "0.5369898", "0.5353865", "0.53480643", "0.53464174", "0.53416866", "0.5329152", "0.53245693", "0.5322008", "0.5312056", "0.52923334", "0.5292296", "0.5286544", "0.5280226", "0.5259832", "0.5251492" ]
0.5996874
24
string regex = 1;
public com.google.protobuf.ByteString getRegexBytes() { java.lang.Object ref = regex_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); regex_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getRegex();", "java.lang.String getRegex();", "java.lang.String getRegex();", "public void setRegex (String regex)\n {\n this.regex = regex;\n }", "public String getRegEx();", "public RegExp (final int type)\n {\n this.type = type;\n }", "public RegexPatternBuilder (String regex)\n {\n this.regex = regex;\n }", "public String getRegEx() {\r\n return regex;\r\n }", "public GrammaticaRE(String regex) throws Exception {\n regExp = new RegExp(regex, ignoreCase);\n }", "public final native void setRegex(String regex) /*-{\n\t\tthis.regex = regex;\n\t}-*/;", "@objid (\"d7eead28-9a1c-4037-9797-4868268b54d4\")\n public RegexVerifier(String regex) {\n this.regex = regex;\n }", "public void setRegex(String regex) {\n this.regex = regex;\n }", "public static void TestRegex()\n\t{\n\t String line = \" if( aaa&&(ypbreg))\";\n\t String pattern = \"(&&)\\\\s*\\\\(*\\\\s*!?ypbreg\\\\)*\";\n\t // Create a Pattern object\n\t Pattern r = Pattern.compile(pattern);\n\t System.out.println(line.contains(pattern));\n\t // Now create matcher object.\n\t Matcher m = r.matcher(line);\n\t if (m.find( )) {\n\t // System.out.println(\"Found value: \" + m.group(0) );\n\t int count = m.groupCount();\n\t System.out.println(\"group count is \"+count);\n\t for(int i=0;i<count;i++){\n\t System.out.println(m.group(i));\n\t }\n\t // System.out.println(line.replaceFirst(BregPattern.pEqualTrue1, \"!$1\"));\n\n\t } else {\n\t System.out.println(\"NO MATCH\");\n\t }\n\t}", "public RegularExpression() {\n }", "public interface RegExp {\n String NUMBER_OF_COMPOSITION = \"^[1-2][0-9]|[1-9]$\";\n String BREAK_DATE_BY_DOT = \"[.]\";\n String IDENTIFY_BUMDLE = \"^([E|e][N|n])|[У|у][К|к][Р|р]$\";\n String DURATION = \"^[1-9]|[1-9][0-9]|[1-4][0-9][0-9]$\";\n}", "public java.lang.String getRegexStr() {\r\n return regexStr;\r\n }", "public Pattern regexPattern(String regex) {\n return Pattern.compile(regex);\n }", "@Override\n protected void compileRegex(String regex) {\n }", "protected abstract Regex pattern();", "boolean hasRegex();", "public JavaRE(String regex) throws Exception {\n if (ignoreCase) {\n pattern = Pattern.compile(regex, Pattern.CASE_INSENSITIVE);\n } else {\n pattern = Pattern.compile(regex);\n }\n }", "@Test\n public void testParseRegexp_valid3() throws InvalidRegexpException {\n BasicRegexp re = BasicRegexp.parseRegexp(\"a b c d\");\n assertEquals(re.toString(), \"abcd\");\n }", "private\n\tRegExHelper()\n\t{\n\t\tsuper();\n\t}", "public java.lang.String getRegex() {\n java.lang.Object ref = regex_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n regex_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getRegex() {\n java.lang.Object ref = regex_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n regex_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "@Override\n public boolean isRegex() {\n return false;\n }", "public String get_isregex() throws Exception {\n\t\treturn this.isregex;\n\t}", "public Boolean getbRegex() {\r\n\t\treturn bRegex;\r\n\t}", "public interface RegExp {\n String NAME_REGEXP = \"^[А-Я][а-я]{2,30}$\";\n String AGE_REGEXP = \"^((1[012][0-9])|([1-9][0-9]))$\";\n String EMAIL_REGEXP = \"^[-z0-9_.]{1,30}@([A-z]+[A-z0-9]{1,15}.){1,2}([A-z]+[A-z0-9]{1,15})$\";\n String CELL_PHONE_REGEXP = \"([\\\\+]\\\\d{2}\\\\s?)?(([\\\\(\\\\s]\\\\d{3}[\\\\)\\\\s])|\" +\n \"(\\\\d{3}))[\\\\s-]?\\\\d{3}[\\\\s-]?\\\\d{2}[\\\\s-]?\\\\d{2}$\";\n String CELL_PHONE_OPTIONAL_REGEXP = \"^(([\\\\+]\\\\d{2}\\\\s?)?(([\\\\(\\\\s]\\\\d{3}[\\\\)\\\\s])|\" +\n \"(\\\\d{3}))[\\\\s-]?\\\\d{3}[\\\\s-]?\\\\d{2}[\\\\s-]?\\\\d{2})?\";\n String LOCAL_PHONE_REGEXP = \"^([\\\\+]\\\\d{2}\\\\s?)?(([\\\\(\\\\s]\\\\d{3}[\\\\)\\\\s])|(\\\\d{3}))?[\\\\s-]?\\\\d{3}[\\\\s-]?\\\\d{3}$\";\n String COMMENT_REGEXP = \"^([\\\\d\\\\s\\\\w\\\\.\\\\,\\\\!]){0,127}$\";\n String GROUP_REGEXP = \"^[А-я]{4,10}$\";\n String SKYPE_NICK_REGEXP = \"^[\\\\w\\\\d\\\\_]{3,20}$\";\n String INDEX_REGEXP = \"^[\\\\d]{8}$\";\n String CITY_STREET_REGEXP = \"^[А-Я][а-я]{3,20}$\";\n String BUILDING_REGEXP = \"^[\\\\d]{1,3}[\\\\w]?$\";\n String FLAT_REGEXP = \"^[\\\\d]{1,3}$\";\n}", "public Builder setRegex(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n\n regex_ = value;\n onChanged();\n return this;\n }", "public Builder setRegex(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n\n regex_ = value;\n onChanged();\n return this;\n }", "public void setRegexStr(java.lang.String regexStr) {\r\n this.regexStr = regexStr;\r\n }", "public String getMatchRegex() {\n return matchRegex;\n }", "String regen();", "public static void main(String[] args) {\n\t\t Pattern p = Pattern.compile(\"(a+)\");\r\n\t\t Matcher m = p.matcher(\"aaaaaba\");\r\n\t\t //System.out.println(m.matches())\r\n\t\t m.find();\t\t \r\n\t\t m.find();\r\n\t\t System.out.println(\"grCount \"+m.groupCount());\t \r\n\t\t MatchResult mr = m.toMatchResult();\r\n\t\t \r\n\t\t System.out.println(m.end());\r\n\t\t System.out.println(\"'\"+mr.group()+\"'\");\r\n\t\t System.out.println(\"start \"+mr.start(1));\r\n\t\t \r\n\t}", "@java.lang.Override\n public java.lang.String getRegex() {\n java.lang.Object ref = regex_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n regex_ = s;\n return s;\n }\n }", "@java.lang.Override\n public java.lang.String getRegex() {\n java.lang.Object ref = regex_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n regex_ = s;\n return s;\n }\n }", "int mo5882g(String str);", "com.google.protobuf.ByteString\n getRegexBytes();", "com.google.protobuf.ByteString\n getRegexBytes();", "@Test\n public void testParseRegexp_correctness1new()\n throws InvalidRegexpException {\n BasicRegexp re = BasicRegexp.parseRegexp(\"(01|10)*1111\");\n assertEquals(re.toString(), \"(01|10)*1111\");\n }", "public void set_isregex(String isregex) throws Exception{\n\t\tthis.isregex = isregex;\n\t}", "public static void main(String[] args) {\r\n\t\t boolean matches_1 = Pattern.matches(\"[a-zA-Z0-9]{4}\", \"0Aa1\");\r\n\t\t boolean matches_2 = Pattern.matches(\"[a-zA-Z0-9]{4}\", \"0A@a1\");\r\n\t\t\t System.out.println(\"Regular Expression is \"+matches_1 +\" for given string(0Aa1)\");\r\n\t\t\t System.out.println(\"Regular Expression is \"+matches_2 +\" for given string(0A@a1)\");\r\n\t}", "public static void main(String[] args) {\n Pattern p = Pattern.compile(\"2*5?$\");\n Matcher m = p.matcher(regex1);\n if (m.matches()) {\n System.out.println(\"YES ¦ \");\n } else {\n System.out.println(\"NO\");\n }\n\n }", "@Override\n\tpublic boolean test(MyRegex t) {\n\t\treturn false;\n\t}", "private String parseRegExp(String exp) throws Exception {\r\n\t\treturn RegexpTranslationHelper.translateANTLRToAutomatonStyle(exp);\r\n\t}", "@Test\n public void testParseRegexp_valid7() throws InvalidRegexpException {\n BasicRegexp re = BasicRegexp.parseRegexp(\"abc*def\");\n assertEquals(re.toString(), \"abc*def\");\n }", "public final String getRegex() {\n\t\treturn JsUtils.getNativePropertyString(this, \"regex\");\n\t}", "public RegexPatternBuilder ()\n {\n this.regex = null;\n }", "private boolean isRegexValid(String string)\n {\n try\n {\n Pattern.compile(string, Pattern.MULTILINE);\n return true;\n }\n catch (PatternSyntaxException e)\n {\n return false;\n }\n }", "public java.lang.Short getRegexMatch() {\r\n return regexMatch;\r\n }", "@Test\n public void testParseRegexp_valid6() throws InvalidRegexpException {\n BasicRegexp re = BasicRegexp.parseRegexp(\"ab(cd(e))ff\");\n assertEquals(re.toString(), \"abcdeff\");\n }", "@Override // kotlin.p2243e.p2244a.AbstractC32522b\n public /* synthetic */ Regex invoke(Integer num) {\n return mo131903a(num.intValue());\n }", "public static TextP regex(final String value) {\n return new TextP(new Text.RegexPredicate(value, false), value);\n }", "public static Term createRegExp(Expression exp) {\r\n\t\tTerm term = Term.function(REGEX, exp);\r\n\t\treturn term;\r\n\t}", "public Pattern getValidStringPattern();", "@Test\r\n public void testRegexp() throws Exception {\n\r\n String a = \"a/b/100/test\";\r\n\r\n Pattern pattern = Pattern.compile(\".+/(\\\\d+)/test\");\r\n\r\n System.out.println(parseIdFromUriPath(a, pattern));\r\n\r\n }", "public static Regex compile(String pattern, int cflags) throws RegexException {\n return new Regex(pattern, REG_EXTENDED | cflags);\n }", "public Expression setRegexTest(Expression exp, Expression test){\r\n\t\tregexExpr.put(exp, test);\r\n\t\tExpression tt = Term.function(Term.TEST);\r\n\t\ttt.setExpr(test);\r\n\t\tExpression seq = sequence(exp, tt);\r\n\t\treturn seq;\r\n\t}", "C11998c mo41092g(String str);", "@Test\n public void contactNumber_WhenValid_ShouldReturnTrue(){\n RegexTest valid = new RegexTest();\n boolean result = valid.contactNumber( \"91 1234567890\");\n Assert.assertEquals(true,result);\n }", "@Test\n public void testDebugPrintBasicRegexp() throws InvalidRegexpException {\n BasicRegexp re1 = BasicRegexp.parseRegexp(\"(01|10)*1111\");\n BasicRegexp.debugPrintBasicRegexp(0, re1);\n }", "@Test\r\n public void testGetRegexp() {\r\n final Regexp re = rs.getRegexp(reString);\r\n assertTrue(rs.hasRegexp(reString));\r\n assertSame(rs.getRegexp(reString), re);\r\n }", "public String checkRegularExpression(String input) {\n String actualResult=\"\";\n String pattern=\".*harry*\";\n boolean value= Pattern.matches(pattern,input);\n actualResult+=\"Is harry there?\"+value;\n return actualResult;\n\n }", "public static void main(String[] args) {\n//\n// String pattern = \"abba\";\n// String s = \"dog cat cat fish\";\n\n\n// String pattern = \"aaaa\";\n// String s = \"dog cat cat dog\";\n\n String pattern = \"abba\";\n String s = \"dog dog dog dog\";\n\n// String pattern = \"e\";\n// String s = \"eukera\";\n\n boolean flag = wordPattern(pattern, s);\n\n System.out.println(flag);\n }", "public RegexGrep(ShellEnvironment env, String[] args) {\n super(env, args);\n this.regex = Pattern.compile(args[0]);\n }", "@Test\n public void wordPatternTest() {\n String pattern = \"aaa\", str = \"aa aa aa aa\";\n boolean ans = instance.wordPattern(pattern, str);\n System.out.println(ans);\n }", "@Test\n public void testParseRegexp_valid1() throws InvalidRegexpException {\n BasicRegexp re = BasicRegexp.parseRegexp(\"\");\n assertEquals(re, null);\n }", "@Test(expected = InvalidRegexpException.class)\n public void testParseRegexp_invalid8() throws Throwable {\n BasicRegexp.parseRegexp(\"()\");\n }", "void mo37759a(String str);", "private static String globToRegex(final String glob) {\n return \"^\" + glob.replace(\".\", \"\\\\.\").replace(\"*\", \".*\") + \"$\";\n }", "void mo12635a(String str);", "com.google.privacy.dlp.v2.CustomInfoType.Regex getRegex();", "public static String toRegex(String param) \r\n\t{\r\n\t\tStringBuffer regex = new StringBuffer();\r\n\t\tfor( int i=0; i < param.length(); i++ ) \r\n\t\t{\r\n\t\t\tchar next = param.charAt( i );\r\n\t\t\t if ('*' == next) regex.append( \".+\" ); // -> multi-character match wild card\r\n\t\t\telse if ('?' == next) regex.append( \".\" ); // -> single-character match wild card\r\n\t\t\telse if ('.' == next) regex.append( \"\\\\.\" ); // all of these are special regex characters we are quoting\r\n\t\t\telse if ('+' == next) regex.append( \"\\\\+\" ); \r\n\t\t\telse if ('$' == next) regex.append( \"\\\\$\" ); \r\n\t\t\telse if ('\\\\' == next) regex.append( \"\\\\\\\\\" ); \r\n\t\t\telse if ('[' == next) regex.append( \"\\\\[\" ); \r\n\t\t\telse if (']' == next) regex.append( \"\\\\]\" ); \r\n\t\t\telse if ('{' == next) regex.append( \"\\\\{\" ); \r\n\t\t\telse if ('}' == next) regex.append( \"\\\\}\" ); \r\n\t\t\telse if ('(' == next) regex.append( \"\\\\(\" ); \r\n\t\t\telse if (')' == next) regex.append( \"\\\\)\" ); \r\n\t\t\telse if ('&' == next) regex.append( \"\\\\&\" ); \r\n\t\t\telse if ('^' == next) regex.append( \"\\\\^\" ); \r\n\t\t\telse if ('-' == next) regex.append( \"\\\\-\" ); \r\n\t\t\telse if ('|' == next) regex.append( \"\\\\|\" ); \r\n\t\t\telse regex.append( next );\r\n\t\t}\r\n\t\t\r\n\t\treturn regex.toString();\r\n\t}", "public GlobFilenameFilter(String regex) {\n super(__CACHE, __MATCHER, regex);\n }", "public static void main(String[] args) {\n// System.out.println(alphanumeric.replaceAll(\"[aei]\", \"x\"));\n\n\n String regex = \"^[A-Z]|[a-z]\";\n String username = \"kaaviya\";\n\n System.out.println(username.replaceAll( \"^[A-Za-z][A-Za-z0-9_]{7,29}$\", \"x\"));\n System.out.println(username.matches(regex));\n\n }", "String mo2801a(String str);", "public static Regex compile(String pattern) throws RegexException {\n return compile(pattern, 0);\n }", "public static void main(String[] args) throws Exception {\n String patronA = \"[0-5]\";\n\n // conjunto de letras de \"a\" a \"c\"\n String patronB = \"[a-c]\";\n\n // conjunto de todas las letras minusculas\n String patronC = \"[a-z]\";\n\n // conjunto de numeros\n String patronD = \"[0-9]\";\n\n // ejemplo con tipo de dato string\n String textoAlfanumerico = \"0123aaaa\";\n System.out.println(\"Texto alfanumerico:\" + textoAlfanumerico);\n\n String replace1 = textoAlfanumerico.replaceAll(patronA, \"X\");\n System.out.println(\"Reemplazo de numeros con X: \" + replace1);\n\n String replace2 = textoAlfanumerico.replaceAll(patronB, \"X\");\n System.out.println(\"Reemplazo de letras con X: \" + replace2);\n\n\n //[0-5][a-c];\n //String patronComplejo = patronA + patronB;\n\n //[a-c]*[0-5]*\n //String patronComplejo = patronA + \"*\" + patronB + \"*\";\n\n //\"[a-z]+\"\n\n // + = una coincidencia\n // * = ninguna o muchas\n\n //String patronComplejo = \"(\" + patronA + patronC + \")+\";\n String patronComplejo = \"(\" + patronC + \")+\";\n\n String texto = \"hola, aacc este bbcc es mi 55222aaa texto 2663aaaa blah blah\";\n System.out.println(\"patron complejo:\" + patronComplejo);\n System.out.println(texto);\n\n Pattern pattern = Pattern.compile(patronComplejo);\n Matcher matcher = pattern.matcher(texto);\n\n // buscar ocurrencias\n while (matcher.find()) {\n System.out.println(\"Encontrado:\" + matcher.group());\n }\n\n\n }", "@Test\n public void testOptimise_2() throws InvalidRegexpException {\n BasicRegexp re1 = BasicRegexp.parseRegexp(\"a+++++++++++++++++++++\");\n\n assertEquals(re1.optimise(BasicRegexp.OPTIMISE_ALL, -1).toString(),\n \"a+\");\n }", "public String returnRegex() {\n\t\tString chosenRegex;\n\t\tSystem.out.println(\"selectedRegex value is: \" + selectedRegex);\n\t\tswitch (selectedRegex) {\n\t\tcase 1:\n\t\t\tchosenRegex = \"(\\\\&?\\\\??t=\\\\d*?[h]?\\\\d*[m]?\\\\d*[s]|\\\\&t=\\\\d*)\";\n\t\t\tbreak;\n\t\tcase 2:\n\t\t\tchosenRegex = \"(\\\\&list=[a-zA-Z 0-9 -]+\\\\&?index=?\\\\d+?)\";\n\t\t\tbreak;\n\t\tcase 3:\n\t\t\tchosenRegex = \"(\\\\&feature=youtu.be)\";\n\t\t\tbreak;\n\t\tdefault:\n\t\t\tchosenRegex = \"\\\\?t.*|\\\\&t.*|\\\\&l.*|\\\\&f.*\"; // alternative:\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// (\\\\&?\\\\??t=\\\\d*?[h]?\\\\d*[m]?\\\\d*[s]|\\\\&t=\\\\d*|\\\\&list=[a-zA-Z\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// 0-9 -]*)\n\t\t\tbreak;\n\t\t}\n\t\tSystem.out.println(chosenRegex);\n\t\treturn chosenRegex;\n\t}", "@java.lang.Override\n public com.google.protobuf.ByteString\n getRegexBytes() {\n java.lang.Object ref = regex_;\n if (ref instanceof java.lang.String) {\n com.google.protobuf.ByteString b =\n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n regex_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "@java.lang.Override\n public com.google.protobuf.ByteString\n getRegexBytes() {\n java.lang.Object ref = regex_;\n if (ref instanceof java.lang.String) {\n com.google.protobuf.ByteString b =\n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n regex_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "private static String adaptRegEx(Mode mode, String regex, int flagMask, boolean removeWhitespace)\n throws QueryException {\n StringBuilder sb = new StringBuilder();\n boolean escaped = false;\n boolean groupStart = false;\n int completeGroups = 0;\n int backRef = 0;\n int charClassDepth = 0;\n int groupDepth = 0;\n\n for (char c : regex.toCharArray()) {\n if (escaped) {\n if (backRef == 0 && c == '0') {\n throw new QueryException(ErrorCode.ERR_INVALID_REGULAR_EXPRESSION, \"Reference to group 0 not allowed\");\n } else if (c >= '0' && c <= '9') {\n if (charClassDepth > 0) {\n throw new QueryException(ErrorCode.ERR_INVALID_REGULAR_EXPRESSION,\n \"Back references in character class expressions\" + \" are disallowed.\");\n }\n backRef = backRef * 10 + Integer.parseInt(Character.toString(c));\n continue;\n }\n }\n\n if (backRef > 0) {\n // Check back reference that just ended\n if (backRef > completeGroups) {\n throw new QueryException(ErrorCode.ERR_INVALID_REGULAR_EXPRESSION,\n \"Back reference to nonexisting or unfinished group.\");\n } else {\n backRef = 0;\n escaped = false;\n }\n }\n\n if (c == '\\\\' && !escaped) {\n // Not preceded by backslash\n escaped = true;\n groupStart = false;\n continue;\n }\n\n if (c == '(' && !escaped) {\n groupStart = true;\n groupDepth++;\n escaped = false;\n continue;\n }\n\n if (c == '?' && !escaped && groupStart) {\n throw new QueryException(ErrorCode.ERR_INVALID_REGULAR_EXPRESSION,\n \"Pure groups are not supported in XQuery regular expressions.\");\n } else if (c == ')' && !escaped) {\n if (--groupDepth < 0) {\n throw new QueryException(ErrorCode.ERR_INVALID_REGULAR_EXPRESSION, \"Invalid sequence of brackets.\");\n }\n completeGroups++;\n } else if (c == '[' && !escaped) {\n charClassDepth++;\n } else if (c == ']' && !escaped) {\n if (--charClassDepth < 0) {\n throw new QueryException(ErrorCode.ERR_INVALID_REGULAR_EXPRESSION, \"Invalid sequence of brackets.\");\n }\n } else if (removeWhitespace) {\n // Remove whitespace outside of character classes\n if (charClassDepth == 0 && WHITESPACE.contains(c)) {\n // Don't touch boolean flags\n continue;\n }\n\n sb.append(c);\n }\n\n groupStart = false;\n escaped = false;\n }\n\n // Check for trailing '\\' (only valid with subsequent characters)\n if (escaped && backRef == 0) {\n throw new QueryException(ErrorCode.ERR_INVALID_REGULAR_EXPRESSION, \"Trailing backslash character in pattern.\");\n }\n\n // Check back reference if that was last token in pattern\n if (backRef > 0 && backRef > completeGroups) {\n throw new QueryException(ErrorCode.ERR_INVALID_REGULAR_EXPRESSION,\n \"Back reference to nonexisting or unfinished group.\");\n }\n\n // Check for dangling brackets\n if (charClassDepth != 0 || groupDepth != 0) {\n throw new QueryException(ErrorCode.ERR_INVALID_REGULAR_EXPRESSION, \"Pattern contains dangling brackets.\");\n }\n\n if (!removeWhitespace) {\n sb.append(regex);\n }\n\n if (mode == Mode.MATCH) {\n // Adapt for XQuery substring matching by extending pattern\n if (sb.charAt(0) != '^' || ((flagMask & Pattern.MULTILINE) == Pattern.MULTILINE)) {\n if ((flagMask & Pattern.DOTALL) == Pattern.DOTALL) {\n sb.insert(0, \".*\");\n } else {\n sb.insert(0, \"(?s:.*)\");\n }\n }\n\n if (sb.charAt(sb.length() - 1) != '$' || ((flagMask & Pattern.MULTILINE) == Pattern.MULTILINE)) {\n if ((flagMask & Pattern.DOTALL) == Pattern.DOTALL) {\n sb.append(\".*\");\n } else {\n sb.append(\"(?s:.*)\");\n }\n }\n }\n\n return sb.toString();\n }", "public RegExp anyChar ()\n {\n // FIXME: there is some code duplication here with the parser\n final List <Interval> list = new ArrayList <> ();\n list.add (new Interval (0, CharClasses.maxChar));\n return new RegExp1 (sym.CCLASS, list);\n }", "protected String hookGetRegex() \r\n\t{\n\t\treturn \"\\\\s+\"; \r\n\t}", "private static boolean matchRegex(Pattern regExpression, String filename) {\n\t\tMatcher m = regExpression.matcher(filename);\n\t\tif (m.matches()) {\n\t\t\treturn true;\n\t\t} else {\n\t\t\treturn false;\n\t\t}\n\t}", "RegExConstraint createRegExConstraint();", "public void setRegexMatch(java.lang.Short regexMatch) {\r\n this.regexMatch = regexMatch;\r\n }", "void mo5871a(String str);", "private JBurgPatternMatcher()\n\t{\n\t}", "public final String getPattern() {\n/* 187 */ return this.m_pattern;\n/* */ }", "public String getPattern() {\n\treturn pattern;\n }", "public Regex mo131901a(int i) {\n C32591j jVar = C32645l.m150681b(this.f111785a.m150658d(), i);\n if (jVar.getStart().intValue() < 0) {\n return null;\n }\n String group = this.f111785a.m150658d().group(i);\n C32569u.m150513a((Object) group, \"matchResult.group(index)\");\n return new Regex(group, jVar);\n }", "@Override\n\tpublic void visit(RegExpMatchOperator arg0) {\n\t\t\n\t}", "@Test //TEST FOUR\n void testOneNumberinRabbitName()\n {\n Rabbit_RegEx rabbit_Name = new Rabbit_RegEx();\n rabbit_Name.setRabbitName(\"MO0N\");\n assertFalse(rabbit_Name.getRabbitName().matches(\"[A-Za-z-]*\"));\n }", "private LiteralToken nextRegularExpressionLiteralToken() {\n LiteralToken token = scanner.nextRegularExpressionLiteralToken();\n lastSourcePosition = token.location.end;\n return token;\n }", "public String getPattern() {\r\n \treturn pattern;\r\n }", "public int getPattern() {\n return this.pattern;\n }" ]
[ "0.72026896", "0.7194223", "0.7194223", "0.68615586", "0.6858206", "0.67436427", "0.6587065", "0.6512296", "0.64326847", "0.6404885", "0.63460666", "0.6331", "0.6291084", "0.6286594", "0.6254456", "0.6238955", "0.6219856", "0.6202358", "0.6189153", "0.61239773", "0.610071", "0.6062738", "0.6032594", "0.59982014", "0.5996874", "0.5924192", "0.59115654", "0.5864164", "0.58572525", "0.58453", "0.58453", "0.5841216", "0.58262175", "0.5814594", "0.5811531", "0.58056986", "0.580481", "0.57985896", "0.5770896", "0.57697666", "0.57547474", "0.5754631", "0.5754291", "0.57499665", "0.57477105", "0.5747135", "0.57377404", "0.5728356", "0.5720464", "0.57105994", "0.569544", "0.5688132", "0.56866807", "0.5680289", "0.5667682", "0.56612164", "0.56564504", "0.5585063", "0.5555574", "0.5529932", "0.55271614", "0.5522922", "0.55216306", "0.5515437", "0.55144066", "0.5475341", "0.54649585", "0.54602605", "0.54552746", "0.5454531", "0.54507446", "0.54498005", "0.54474837", "0.5440438", "0.54248166", "0.54176825", "0.541224", "0.54078144", "0.5407357", "0.5399649", "0.53911847", "0.5381891", "0.5381891", "0.53741324", "0.5369898", "0.5353865", "0.53480643", "0.53464174", "0.53416866", "0.5329152", "0.53245693", "0.5322008", "0.5312056", "0.52923334", "0.5292296", "0.5286544", "0.5280226", "0.5259832", "0.5251492" ]
0.5411842
77
string regex = 1;
public Builder setRegex( java.lang.String value) { if (value == null) { throw new NullPointerException(); } regex_ = value; onChanged(); return this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getRegex();", "java.lang.String getRegex();", "java.lang.String getRegex();", "public void setRegex (String regex)\n {\n this.regex = regex;\n }", "public String getRegEx();", "public RegExp (final int type)\n {\n this.type = type;\n }", "public RegexPatternBuilder (String regex)\n {\n this.regex = regex;\n }", "public String getRegEx() {\r\n return regex;\r\n }", "public GrammaticaRE(String regex) throws Exception {\n regExp = new RegExp(regex, ignoreCase);\n }", "public final native void setRegex(String regex) /*-{\n\t\tthis.regex = regex;\n\t}-*/;", "@objid (\"d7eead28-9a1c-4037-9797-4868268b54d4\")\n public RegexVerifier(String regex) {\n this.regex = regex;\n }", "public void setRegex(String regex) {\n this.regex = regex;\n }", "public static void TestRegex()\n\t{\n\t String line = \" if( aaa&&(ypbreg))\";\n\t String pattern = \"(&&)\\\\s*\\\\(*\\\\s*!?ypbreg\\\\)*\";\n\t // Create a Pattern object\n\t Pattern r = Pattern.compile(pattern);\n\t System.out.println(line.contains(pattern));\n\t // Now create matcher object.\n\t Matcher m = r.matcher(line);\n\t if (m.find( )) {\n\t // System.out.println(\"Found value: \" + m.group(0) );\n\t int count = m.groupCount();\n\t System.out.println(\"group count is \"+count);\n\t for(int i=0;i<count;i++){\n\t System.out.println(m.group(i));\n\t }\n\t // System.out.println(line.replaceFirst(BregPattern.pEqualTrue1, \"!$1\"));\n\n\t } else {\n\t System.out.println(\"NO MATCH\");\n\t }\n\t}", "public RegularExpression() {\n }", "public interface RegExp {\n String NUMBER_OF_COMPOSITION = \"^[1-2][0-9]|[1-9]$\";\n String BREAK_DATE_BY_DOT = \"[.]\";\n String IDENTIFY_BUMDLE = \"^([E|e][N|n])|[У|у][К|к][Р|р]$\";\n String DURATION = \"^[1-9]|[1-9][0-9]|[1-4][0-9][0-9]$\";\n}", "public java.lang.String getRegexStr() {\r\n return regexStr;\r\n }", "public Pattern regexPattern(String regex) {\n return Pattern.compile(regex);\n }", "@Override\n protected void compileRegex(String regex) {\n }", "protected abstract Regex pattern();", "boolean hasRegex();", "public JavaRE(String regex) throws Exception {\n if (ignoreCase) {\n pattern = Pattern.compile(regex, Pattern.CASE_INSENSITIVE);\n } else {\n pattern = Pattern.compile(regex);\n }\n }", "@Test\n public void testParseRegexp_valid3() throws InvalidRegexpException {\n BasicRegexp re = BasicRegexp.parseRegexp(\"a b c d\");\n assertEquals(re.toString(), \"abcd\");\n }", "private\n\tRegExHelper()\n\t{\n\t\tsuper();\n\t}", "public java.lang.String getRegex() {\n java.lang.Object ref = regex_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n regex_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getRegex() {\n java.lang.Object ref = regex_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n regex_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "@Override\n public boolean isRegex() {\n return false;\n }", "public String get_isregex() throws Exception {\n\t\treturn this.isregex;\n\t}", "public Boolean getbRegex() {\r\n\t\treturn bRegex;\r\n\t}", "public interface RegExp {\n String NAME_REGEXP = \"^[А-Я][а-я]{2,30}$\";\n String AGE_REGEXP = \"^((1[012][0-9])|([1-9][0-9]))$\";\n String EMAIL_REGEXP = \"^[-z0-9_.]{1,30}@([A-z]+[A-z0-9]{1,15}.){1,2}([A-z]+[A-z0-9]{1,15})$\";\n String CELL_PHONE_REGEXP = \"([\\\\+]\\\\d{2}\\\\s?)?(([\\\\(\\\\s]\\\\d{3}[\\\\)\\\\s])|\" +\n \"(\\\\d{3}))[\\\\s-]?\\\\d{3}[\\\\s-]?\\\\d{2}[\\\\s-]?\\\\d{2}$\";\n String CELL_PHONE_OPTIONAL_REGEXP = \"^(([\\\\+]\\\\d{2}\\\\s?)?(([\\\\(\\\\s]\\\\d{3}[\\\\)\\\\s])|\" +\n \"(\\\\d{3}))[\\\\s-]?\\\\d{3}[\\\\s-]?\\\\d{2}[\\\\s-]?\\\\d{2})?\";\n String LOCAL_PHONE_REGEXP = \"^([\\\\+]\\\\d{2}\\\\s?)?(([\\\\(\\\\s]\\\\d{3}[\\\\)\\\\s])|(\\\\d{3}))?[\\\\s-]?\\\\d{3}[\\\\s-]?\\\\d{3}$\";\n String COMMENT_REGEXP = \"^([\\\\d\\\\s\\\\w\\\\.\\\\,\\\\!]){0,127}$\";\n String GROUP_REGEXP = \"^[А-я]{4,10}$\";\n String SKYPE_NICK_REGEXP = \"^[\\\\w\\\\d\\\\_]{3,20}$\";\n String INDEX_REGEXP = \"^[\\\\d]{8}$\";\n String CITY_STREET_REGEXP = \"^[А-Я][а-я]{3,20}$\";\n String BUILDING_REGEXP = \"^[\\\\d]{1,3}[\\\\w]?$\";\n String FLAT_REGEXP = \"^[\\\\d]{1,3}$\";\n}", "public void setRegexStr(java.lang.String regexStr) {\r\n this.regexStr = regexStr;\r\n }", "public String getMatchRegex() {\n return matchRegex;\n }", "String regen();", "public static void main(String[] args) {\n\t\t Pattern p = Pattern.compile(\"(a+)\");\r\n\t\t Matcher m = p.matcher(\"aaaaaba\");\r\n\t\t //System.out.println(m.matches())\r\n\t\t m.find();\t\t \r\n\t\t m.find();\r\n\t\t System.out.println(\"grCount \"+m.groupCount());\t \r\n\t\t MatchResult mr = m.toMatchResult();\r\n\t\t \r\n\t\t System.out.println(m.end());\r\n\t\t System.out.println(\"'\"+mr.group()+\"'\");\r\n\t\t System.out.println(\"start \"+mr.start(1));\r\n\t\t \r\n\t}", "@java.lang.Override\n public java.lang.String getRegex() {\n java.lang.Object ref = regex_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n regex_ = s;\n return s;\n }\n }", "@java.lang.Override\n public java.lang.String getRegex() {\n java.lang.Object ref = regex_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n regex_ = s;\n return s;\n }\n }", "int mo5882g(String str);", "com.google.protobuf.ByteString\n getRegexBytes();", "com.google.protobuf.ByteString\n getRegexBytes();", "@Test\n public void testParseRegexp_correctness1new()\n throws InvalidRegexpException {\n BasicRegexp re = BasicRegexp.parseRegexp(\"(01|10)*1111\");\n assertEquals(re.toString(), \"(01|10)*1111\");\n }", "public void set_isregex(String isregex) throws Exception{\n\t\tthis.isregex = isregex;\n\t}", "public static void main(String[] args) {\r\n\t\t boolean matches_1 = Pattern.matches(\"[a-zA-Z0-9]{4}\", \"0Aa1\");\r\n\t\t boolean matches_2 = Pattern.matches(\"[a-zA-Z0-9]{4}\", \"0A@a1\");\r\n\t\t\t System.out.println(\"Regular Expression is \"+matches_1 +\" for given string(0Aa1)\");\r\n\t\t\t System.out.println(\"Regular Expression is \"+matches_2 +\" for given string(0A@a1)\");\r\n\t}", "public static void main(String[] args) {\n Pattern p = Pattern.compile(\"2*5?$\");\n Matcher m = p.matcher(regex1);\n if (m.matches()) {\n System.out.println(\"YES ¦ \");\n } else {\n System.out.println(\"NO\");\n }\n\n }", "@Override\n\tpublic boolean test(MyRegex t) {\n\t\treturn false;\n\t}", "private String parseRegExp(String exp) throws Exception {\r\n\t\treturn RegexpTranslationHelper.translateANTLRToAutomatonStyle(exp);\r\n\t}", "@Test\n public void testParseRegexp_valid7() throws InvalidRegexpException {\n BasicRegexp re = BasicRegexp.parseRegexp(\"abc*def\");\n assertEquals(re.toString(), \"abc*def\");\n }", "public final String getRegex() {\n\t\treturn JsUtils.getNativePropertyString(this, \"regex\");\n\t}", "public RegexPatternBuilder ()\n {\n this.regex = null;\n }", "private boolean isRegexValid(String string)\n {\n try\n {\n Pattern.compile(string, Pattern.MULTILINE);\n return true;\n }\n catch (PatternSyntaxException e)\n {\n return false;\n }\n }", "public java.lang.Short getRegexMatch() {\r\n return regexMatch;\r\n }", "@Test\n public void testParseRegexp_valid6() throws InvalidRegexpException {\n BasicRegexp re = BasicRegexp.parseRegexp(\"ab(cd(e))ff\");\n assertEquals(re.toString(), \"abcdeff\");\n }", "@Override // kotlin.p2243e.p2244a.AbstractC32522b\n public /* synthetic */ Regex invoke(Integer num) {\n return mo131903a(num.intValue());\n }", "public static TextP regex(final String value) {\n return new TextP(new Text.RegexPredicate(value, false), value);\n }", "public static Term createRegExp(Expression exp) {\r\n\t\tTerm term = Term.function(REGEX, exp);\r\n\t\treturn term;\r\n\t}", "public Pattern getValidStringPattern();", "@Test\r\n public void testRegexp() throws Exception {\n\r\n String a = \"a/b/100/test\";\r\n\r\n Pattern pattern = Pattern.compile(\".+/(\\\\d+)/test\");\r\n\r\n System.out.println(parseIdFromUriPath(a, pattern));\r\n\r\n }", "public static Regex compile(String pattern, int cflags) throws RegexException {\n return new Regex(pattern, REG_EXTENDED | cflags);\n }", "public Expression setRegexTest(Expression exp, Expression test){\r\n\t\tregexExpr.put(exp, test);\r\n\t\tExpression tt = Term.function(Term.TEST);\r\n\t\ttt.setExpr(test);\r\n\t\tExpression seq = sequence(exp, tt);\r\n\t\treturn seq;\r\n\t}", "C11998c mo41092g(String str);", "@Test\n public void contactNumber_WhenValid_ShouldReturnTrue(){\n RegexTest valid = new RegexTest();\n boolean result = valid.contactNumber( \"91 1234567890\");\n Assert.assertEquals(true,result);\n }", "@Test\n public void testDebugPrintBasicRegexp() throws InvalidRegexpException {\n BasicRegexp re1 = BasicRegexp.parseRegexp(\"(01|10)*1111\");\n BasicRegexp.debugPrintBasicRegexp(0, re1);\n }", "@Test\r\n public void testGetRegexp() {\r\n final Regexp re = rs.getRegexp(reString);\r\n assertTrue(rs.hasRegexp(reString));\r\n assertSame(rs.getRegexp(reString), re);\r\n }", "public String checkRegularExpression(String input) {\n String actualResult=\"\";\n String pattern=\".*harry*\";\n boolean value= Pattern.matches(pattern,input);\n actualResult+=\"Is harry there?\"+value;\n return actualResult;\n\n }", "public static void main(String[] args) {\n//\n// String pattern = \"abba\";\n// String s = \"dog cat cat fish\";\n\n\n// String pattern = \"aaaa\";\n// String s = \"dog cat cat dog\";\n\n String pattern = \"abba\";\n String s = \"dog dog dog dog\";\n\n// String pattern = \"e\";\n// String s = \"eukera\";\n\n boolean flag = wordPattern(pattern, s);\n\n System.out.println(flag);\n }", "public RegexGrep(ShellEnvironment env, String[] args) {\n super(env, args);\n this.regex = Pattern.compile(args[0]);\n }", "@Test\n public void wordPatternTest() {\n String pattern = \"aaa\", str = \"aa aa aa aa\";\n boolean ans = instance.wordPattern(pattern, str);\n System.out.println(ans);\n }", "@Test\n public void testParseRegexp_valid1() throws InvalidRegexpException {\n BasicRegexp re = BasicRegexp.parseRegexp(\"\");\n assertEquals(re, null);\n }", "@Test(expected = InvalidRegexpException.class)\n public void testParseRegexp_invalid8() throws Throwable {\n BasicRegexp.parseRegexp(\"()\");\n }", "void mo37759a(String str);", "private static String globToRegex(final String glob) {\n return \"^\" + glob.replace(\".\", \"\\\\.\").replace(\"*\", \".*\") + \"$\";\n }", "void mo12635a(String str);", "com.google.privacy.dlp.v2.CustomInfoType.Regex getRegex();", "public static String toRegex(String param) \r\n\t{\r\n\t\tStringBuffer regex = new StringBuffer();\r\n\t\tfor( int i=0; i < param.length(); i++ ) \r\n\t\t{\r\n\t\t\tchar next = param.charAt( i );\r\n\t\t\t if ('*' == next) regex.append( \".+\" ); // -> multi-character match wild card\r\n\t\t\telse if ('?' == next) regex.append( \".\" ); // -> single-character match wild card\r\n\t\t\telse if ('.' == next) regex.append( \"\\\\.\" ); // all of these are special regex characters we are quoting\r\n\t\t\telse if ('+' == next) regex.append( \"\\\\+\" ); \r\n\t\t\telse if ('$' == next) regex.append( \"\\\\$\" ); \r\n\t\t\telse if ('\\\\' == next) regex.append( \"\\\\\\\\\" ); \r\n\t\t\telse if ('[' == next) regex.append( \"\\\\[\" ); \r\n\t\t\telse if (']' == next) regex.append( \"\\\\]\" ); \r\n\t\t\telse if ('{' == next) regex.append( \"\\\\{\" ); \r\n\t\t\telse if ('}' == next) regex.append( \"\\\\}\" ); \r\n\t\t\telse if ('(' == next) regex.append( \"\\\\(\" ); \r\n\t\t\telse if (')' == next) regex.append( \"\\\\)\" ); \r\n\t\t\telse if ('&' == next) regex.append( \"\\\\&\" ); \r\n\t\t\telse if ('^' == next) regex.append( \"\\\\^\" ); \r\n\t\t\telse if ('-' == next) regex.append( \"\\\\-\" ); \r\n\t\t\telse if ('|' == next) regex.append( \"\\\\|\" ); \r\n\t\t\telse regex.append( next );\r\n\t\t}\r\n\t\t\r\n\t\treturn regex.toString();\r\n\t}", "public GlobFilenameFilter(String regex) {\n super(__CACHE, __MATCHER, regex);\n }", "public static void main(String[] args) {\n// System.out.println(alphanumeric.replaceAll(\"[aei]\", \"x\"));\n\n\n String regex = \"^[A-Z]|[a-z]\";\n String username = \"kaaviya\";\n\n System.out.println(username.replaceAll( \"^[A-Za-z][A-Za-z0-9_]{7,29}$\", \"x\"));\n System.out.println(username.matches(regex));\n\n }", "String mo2801a(String str);", "public com.google.protobuf.ByteString\n getRegexBytes() {\n java.lang.Object ref = regex_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b =\n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n regex_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "public com.google.protobuf.ByteString\n getRegexBytes() {\n java.lang.Object ref = regex_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b =\n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n regex_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "public static Regex compile(String pattern) throws RegexException {\n return compile(pattern, 0);\n }", "public static void main(String[] args) throws Exception {\n String patronA = \"[0-5]\";\n\n // conjunto de letras de \"a\" a \"c\"\n String patronB = \"[a-c]\";\n\n // conjunto de todas las letras minusculas\n String patronC = \"[a-z]\";\n\n // conjunto de numeros\n String patronD = \"[0-9]\";\n\n // ejemplo con tipo de dato string\n String textoAlfanumerico = \"0123aaaa\";\n System.out.println(\"Texto alfanumerico:\" + textoAlfanumerico);\n\n String replace1 = textoAlfanumerico.replaceAll(patronA, \"X\");\n System.out.println(\"Reemplazo de numeros con X: \" + replace1);\n\n String replace2 = textoAlfanumerico.replaceAll(patronB, \"X\");\n System.out.println(\"Reemplazo de letras con X: \" + replace2);\n\n\n //[0-5][a-c];\n //String patronComplejo = patronA + patronB;\n\n //[a-c]*[0-5]*\n //String patronComplejo = patronA + \"*\" + patronB + \"*\";\n\n //\"[a-z]+\"\n\n // + = una coincidencia\n // * = ninguna o muchas\n\n //String patronComplejo = \"(\" + patronA + patronC + \")+\";\n String patronComplejo = \"(\" + patronC + \")+\";\n\n String texto = \"hola, aacc este bbcc es mi 55222aaa texto 2663aaaa blah blah\";\n System.out.println(\"patron complejo:\" + patronComplejo);\n System.out.println(texto);\n\n Pattern pattern = Pattern.compile(patronComplejo);\n Matcher matcher = pattern.matcher(texto);\n\n // buscar ocurrencias\n while (matcher.find()) {\n System.out.println(\"Encontrado:\" + matcher.group());\n }\n\n\n }", "@Test\n public void testOptimise_2() throws InvalidRegexpException {\n BasicRegexp re1 = BasicRegexp.parseRegexp(\"a+++++++++++++++++++++\");\n\n assertEquals(re1.optimise(BasicRegexp.OPTIMISE_ALL, -1).toString(),\n \"a+\");\n }", "public String returnRegex() {\n\t\tString chosenRegex;\n\t\tSystem.out.println(\"selectedRegex value is: \" + selectedRegex);\n\t\tswitch (selectedRegex) {\n\t\tcase 1:\n\t\t\tchosenRegex = \"(\\\\&?\\\\??t=\\\\d*?[h]?\\\\d*[m]?\\\\d*[s]|\\\\&t=\\\\d*)\";\n\t\t\tbreak;\n\t\tcase 2:\n\t\t\tchosenRegex = \"(\\\\&list=[a-zA-Z 0-9 -]+\\\\&?index=?\\\\d+?)\";\n\t\t\tbreak;\n\t\tcase 3:\n\t\t\tchosenRegex = \"(\\\\&feature=youtu.be)\";\n\t\t\tbreak;\n\t\tdefault:\n\t\t\tchosenRegex = \"\\\\?t.*|\\\\&t.*|\\\\&l.*|\\\\&f.*\"; // alternative:\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// (\\\\&?\\\\??t=\\\\d*?[h]?\\\\d*[m]?\\\\d*[s]|\\\\&t=\\\\d*|\\\\&list=[a-zA-Z\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// 0-9 -]*)\n\t\t\tbreak;\n\t\t}\n\t\tSystem.out.println(chosenRegex);\n\t\treturn chosenRegex;\n\t}", "@java.lang.Override\n public com.google.protobuf.ByteString\n getRegexBytes() {\n java.lang.Object ref = regex_;\n if (ref instanceof java.lang.String) {\n com.google.protobuf.ByteString b =\n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n regex_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "@java.lang.Override\n public com.google.protobuf.ByteString\n getRegexBytes() {\n java.lang.Object ref = regex_;\n if (ref instanceof java.lang.String) {\n com.google.protobuf.ByteString b =\n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n regex_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "private static String adaptRegEx(Mode mode, String regex, int flagMask, boolean removeWhitespace)\n throws QueryException {\n StringBuilder sb = new StringBuilder();\n boolean escaped = false;\n boolean groupStart = false;\n int completeGroups = 0;\n int backRef = 0;\n int charClassDepth = 0;\n int groupDepth = 0;\n\n for (char c : regex.toCharArray()) {\n if (escaped) {\n if (backRef == 0 && c == '0') {\n throw new QueryException(ErrorCode.ERR_INVALID_REGULAR_EXPRESSION, \"Reference to group 0 not allowed\");\n } else if (c >= '0' && c <= '9') {\n if (charClassDepth > 0) {\n throw new QueryException(ErrorCode.ERR_INVALID_REGULAR_EXPRESSION,\n \"Back references in character class expressions\" + \" are disallowed.\");\n }\n backRef = backRef * 10 + Integer.parseInt(Character.toString(c));\n continue;\n }\n }\n\n if (backRef > 0) {\n // Check back reference that just ended\n if (backRef > completeGroups) {\n throw new QueryException(ErrorCode.ERR_INVALID_REGULAR_EXPRESSION,\n \"Back reference to nonexisting or unfinished group.\");\n } else {\n backRef = 0;\n escaped = false;\n }\n }\n\n if (c == '\\\\' && !escaped) {\n // Not preceded by backslash\n escaped = true;\n groupStart = false;\n continue;\n }\n\n if (c == '(' && !escaped) {\n groupStart = true;\n groupDepth++;\n escaped = false;\n continue;\n }\n\n if (c == '?' && !escaped && groupStart) {\n throw new QueryException(ErrorCode.ERR_INVALID_REGULAR_EXPRESSION,\n \"Pure groups are not supported in XQuery regular expressions.\");\n } else if (c == ')' && !escaped) {\n if (--groupDepth < 0) {\n throw new QueryException(ErrorCode.ERR_INVALID_REGULAR_EXPRESSION, \"Invalid sequence of brackets.\");\n }\n completeGroups++;\n } else if (c == '[' && !escaped) {\n charClassDepth++;\n } else if (c == ']' && !escaped) {\n if (--charClassDepth < 0) {\n throw new QueryException(ErrorCode.ERR_INVALID_REGULAR_EXPRESSION, \"Invalid sequence of brackets.\");\n }\n } else if (removeWhitespace) {\n // Remove whitespace outside of character classes\n if (charClassDepth == 0 && WHITESPACE.contains(c)) {\n // Don't touch boolean flags\n continue;\n }\n\n sb.append(c);\n }\n\n groupStart = false;\n escaped = false;\n }\n\n // Check for trailing '\\' (only valid with subsequent characters)\n if (escaped && backRef == 0) {\n throw new QueryException(ErrorCode.ERR_INVALID_REGULAR_EXPRESSION, \"Trailing backslash character in pattern.\");\n }\n\n // Check back reference if that was last token in pattern\n if (backRef > 0 && backRef > completeGroups) {\n throw new QueryException(ErrorCode.ERR_INVALID_REGULAR_EXPRESSION,\n \"Back reference to nonexisting or unfinished group.\");\n }\n\n // Check for dangling brackets\n if (charClassDepth != 0 || groupDepth != 0) {\n throw new QueryException(ErrorCode.ERR_INVALID_REGULAR_EXPRESSION, \"Pattern contains dangling brackets.\");\n }\n\n if (!removeWhitespace) {\n sb.append(regex);\n }\n\n if (mode == Mode.MATCH) {\n // Adapt for XQuery substring matching by extending pattern\n if (sb.charAt(0) != '^' || ((flagMask & Pattern.MULTILINE) == Pattern.MULTILINE)) {\n if ((flagMask & Pattern.DOTALL) == Pattern.DOTALL) {\n sb.insert(0, \".*\");\n } else {\n sb.insert(0, \"(?s:.*)\");\n }\n }\n\n if (sb.charAt(sb.length() - 1) != '$' || ((flagMask & Pattern.MULTILINE) == Pattern.MULTILINE)) {\n if ((flagMask & Pattern.DOTALL) == Pattern.DOTALL) {\n sb.append(\".*\");\n } else {\n sb.append(\"(?s:.*)\");\n }\n }\n }\n\n return sb.toString();\n }", "public RegExp anyChar ()\n {\n // FIXME: there is some code duplication here with the parser\n final List <Interval> list = new ArrayList <> ();\n list.add (new Interval (0, CharClasses.maxChar));\n return new RegExp1 (sym.CCLASS, list);\n }", "protected String hookGetRegex() \r\n\t{\n\t\treturn \"\\\\s+\"; \r\n\t}", "private static boolean matchRegex(Pattern regExpression, String filename) {\n\t\tMatcher m = regExpression.matcher(filename);\n\t\tif (m.matches()) {\n\t\t\treturn true;\n\t\t} else {\n\t\t\treturn false;\n\t\t}\n\t}", "RegExConstraint createRegExConstraint();", "public void setRegexMatch(java.lang.Short regexMatch) {\r\n this.regexMatch = regexMatch;\r\n }", "void mo5871a(String str);", "private JBurgPatternMatcher()\n\t{\n\t}", "public final String getPattern() {\n/* 187 */ return this.m_pattern;\n/* */ }", "public String getPattern() {\n\treturn pattern;\n }", "public Regex mo131901a(int i) {\n C32591j jVar = C32645l.m150681b(this.f111785a.m150658d(), i);\n if (jVar.getStart().intValue() < 0) {\n return null;\n }\n String group = this.f111785a.m150658d().group(i);\n C32569u.m150513a((Object) group, \"matchResult.group(index)\");\n return new Regex(group, jVar);\n }", "@Override\n\tpublic void visit(RegExpMatchOperator arg0) {\n\t\t\n\t}", "@Test //TEST FOUR\n void testOneNumberinRabbitName()\n {\n Rabbit_RegEx rabbit_Name = new Rabbit_RegEx();\n rabbit_Name.setRabbitName(\"MO0N\");\n assertFalse(rabbit_Name.getRabbitName().matches(\"[A-Za-z-]*\"));\n }", "private LiteralToken nextRegularExpressionLiteralToken() {\n LiteralToken token = scanner.nextRegularExpressionLiteralToken();\n lastSourcePosition = token.location.end;\n return token;\n }", "public String getPattern() {\r\n \treturn pattern;\r\n }", "public int getPattern() {\n return this.pattern;\n }" ]
[ "0.72026896", "0.7194223", "0.7194223", "0.68615586", "0.6858206", "0.67436427", "0.6587065", "0.6512296", "0.64326847", "0.6404885", "0.63460666", "0.6331", "0.6291084", "0.6286594", "0.6254456", "0.6238955", "0.6219856", "0.6202358", "0.6189153", "0.61239773", "0.610071", "0.6062738", "0.6032594", "0.59982014", "0.5996874", "0.5924192", "0.59115654", "0.5864164", "0.58572525", "0.5841216", "0.58262175", "0.5814594", "0.5811531", "0.58056986", "0.580481", "0.57985896", "0.5770896", "0.57697666", "0.57547474", "0.5754631", "0.5754291", "0.57499665", "0.57477105", "0.5747135", "0.57377404", "0.5728356", "0.5720464", "0.57105994", "0.569544", "0.5688132", "0.56866807", "0.5680289", "0.5667682", "0.56612164", "0.56564504", "0.5585063", "0.5555574", "0.5529932", "0.55271614", "0.5522922", "0.55216306", "0.5515437", "0.55144066", "0.5475341", "0.54649585", "0.54602605", "0.54552746", "0.5454531", "0.54507446", "0.54498005", "0.54474837", "0.5440438", "0.54248166", "0.54176825", "0.541224", "0.5411842", "0.5410461", "0.54078144", "0.5407357", "0.5399649", "0.53911847", "0.5381891", "0.5381891", "0.53741324", "0.5369898", "0.5353865", "0.53480643", "0.53464174", "0.53416866", "0.5329152", "0.53245693", "0.5322008", "0.5312056", "0.52923334", "0.5292296", "0.5286544", "0.5280226", "0.5259832", "0.5251492" ]
0.58453
30
string regex = 1;
public Builder clearRegex() { regex_ = getDefaultInstance().getRegex(); onChanged(); return this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getRegex();", "java.lang.String getRegex();", "java.lang.String getRegex();", "public void setRegex (String regex)\n {\n this.regex = regex;\n }", "public String getRegEx();", "public RegExp (final int type)\n {\n this.type = type;\n }", "public RegexPatternBuilder (String regex)\n {\n this.regex = regex;\n }", "public String getRegEx() {\r\n return regex;\r\n }", "public GrammaticaRE(String regex) throws Exception {\n regExp = new RegExp(regex, ignoreCase);\n }", "public final native void setRegex(String regex) /*-{\n\t\tthis.regex = regex;\n\t}-*/;", "@objid (\"d7eead28-9a1c-4037-9797-4868268b54d4\")\n public RegexVerifier(String regex) {\n this.regex = regex;\n }", "public void setRegex(String regex) {\n this.regex = regex;\n }", "public static void TestRegex()\n\t{\n\t String line = \" if( aaa&&(ypbreg))\";\n\t String pattern = \"(&&)\\\\s*\\\\(*\\\\s*!?ypbreg\\\\)*\";\n\t // Create a Pattern object\n\t Pattern r = Pattern.compile(pattern);\n\t System.out.println(line.contains(pattern));\n\t // Now create matcher object.\n\t Matcher m = r.matcher(line);\n\t if (m.find( )) {\n\t // System.out.println(\"Found value: \" + m.group(0) );\n\t int count = m.groupCount();\n\t System.out.println(\"group count is \"+count);\n\t for(int i=0;i<count;i++){\n\t System.out.println(m.group(i));\n\t }\n\t // System.out.println(line.replaceFirst(BregPattern.pEqualTrue1, \"!$1\"));\n\n\t } else {\n\t System.out.println(\"NO MATCH\");\n\t }\n\t}", "public RegularExpression() {\n }", "public interface RegExp {\n String NUMBER_OF_COMPOSITION = \"^[1-2][0-9]|[1-9]$\";\n String BREAK_DATE_BY_DOT = \"[.]\";\n String IDENTIFY_BUMDLE = \"^([E|e][N|n])|[У|у][К|к][Р|р]$\";\n String DURATION = \"^[1-9]|[1-9][0-9]|[1-4][0-9][0-9]$\";\n}", "public java.lang.String getRegexStr() {\r\n return regexStr;\r\n }", "public Pattern regexPattern(String regex) {\n return Pattern.compile(regex);\n }", "@Override\n protected void compileRegex(String regex) {\n }", "protected abstract Regex pattern();", "boolean hasRegex();", "public JavaRE(String regex) throws Exception {\n if (ignoreCase) {\n pattern = Pattern.compile(regex, Pattern.CASE_INSENSITIVE);\n } else {\n pattern = Pattern.compile(regex);\n }\n }", "@Test\n public void testParseRegexp_valid3() throws InvalidRegexpException {\n BasicRegexp re = BasicRegexp.parseRegexp(\"a b c d\");\n assertEquals(re.toString(), \"abcd\");\n }", "private\n\tRegExHelper()\n\t{\n\t\tsuper();\n\t}", "public java.lang.String getRegex() {\n java.lang.Object ref = regex_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n regex_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getRegex() {\n java.lang.Object ref = regex_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n regex_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "@Override\n public boolean isRegex() {\n return false;\n }", "public String get_isregex() throws Exception {\n\t\treturn this.isregex;\n\t}", "public Boolean getbRegex() {\r\n\t\treturn bRegex;\r\n\t}", "public interface RegExp {\n String NAME_REGEXP = \"^[А-Я][а-я]{2,30}$\";\n String AGE_REGEXP = \"^((1[012][0-9])|([1-9][0-9]))$\";\n String EMAIL_REGEXP = \"^[-z0-9_.]{1,30}@([A-z]+[A-z0-9]{1,15}.){1,2}([A-z]+[A-z0-9]{1,15})$\";\n String CELL_PHONE_REGEXP = \"([\\\\+]\\\\d{2}\\\\s?)?(([\\\\(\\\\s]\\\\d{3}[\\\\)\\\\s])|\" +\n \"(\\\\d{3}))[\\\\s-]?\\\\d{3}[\\\\s-]?\\\\d{2}[\\\\s-]?\\\\d{2}$\";\n String CELL_PHONE_OPTIONAL_REGEXP = \"^(([\\\\+]\\\\d{2}\\\\s?)?(([\\\\(\\\\s]\\\\d{3}[\\\\)\\\\s])|\" +\n \"(\\\\d{3}))[\\\\s-]?\\\\d{3}[\\\\s-]?\\\\d{2}[\\\\s-]?\\\\d{2})?\";\n String LOCAL_PHONE_REGEXP = \"^([\\\\+]\\\\d{2}\\\\s?)?(([\\\\(\\\\s]\\\\d{3}[\\\\)\\\\s])|(\\\\d{3}))?[\\\\s-]?\\\\d{3}[\\\\s-]?\\\\d{3}$\";\n String COMMENT_REGEXP = \"^([\\\\d\\\\s\\\\w\\\\.\\\\,\\\\!]){0,127}$\";\n String GROUP_REGEXP = \"^[А-я]{4,10}$\";\n String SKYPE_NICK_REGEXP = \"^[\\\\w\\\\d\\\\_]{3,20}$\";\n String INDEX_REGEXP = \"^[\\\\d]{8}$\";\n String CITY_STREET_REGEXP = \"^[А-Я][а-я]{3,20}$\";\n String BUILDING_REGEXP = \"^[\\\\d]{1,3}[\\\\w]?$\";\n String FLAT_REGEXP = \"^[\\\\d]{1,3}$\";\n}", "public Builder setRegex(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n\n regex_ = value;\n onChanged();\n return this;\n }", "public Builder setRegex(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n\n regex_ = value;\n onChanged();\n return this;\n }", "public void setRegexStr(java.lang.String regexStr) {\r\n this.regexStr = regexStr;\r\n }", "public String getMatchRegex() {\n return matchRegex;\n }", "String regen();", "public static void main(String[] args) {\n\t\t Pattern p = Pattern.compile(\"(a+)\");\r\n\t\t Matcher m = p.matcher(\"aaaaaba\");\r\n\t\t //System.out.println(m.matches())\r\n\t\t m.find();\t\t \r\n\t\t m.find();\r\n\t\t System.out.println(\"grCount \"+m.groupCount());\t \r\n\t\t MatchResult mr = m.toMatchResult();\r\n\t\t \r\n\t\t System.out.println(m.end());\r\n\t\t System.out.println(\"'\"+mr.group()+\"'\");\r\n\t\t System.out.println(\"start \"+mr.start(1));\r\n\t\t \r\n\t}", "@java.lang.Override\n public java.lang.String getRegex() {\n java.lang.Object ref = regex_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n regex_ = s;\n return s;\n }\n }", "@java.lang.Override\n public java.lang.String getRegex() {\n java.lang.Object ref = regex_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n regex_ = s;\n return s;\n }\n }", "int mo5882g(String str);", "com.google.protobuf.ByteString\n getRegexBytes();", "com.google.protobuf.ByteString\n getRegexBytes();", "@Test\n public void testParseRegexp_correctness1new()\n throws InvalidRegexpException {\n BasicRegexp re = BasicRegexp.parseRegexp(\"(01|10)*1111\");\n assertEquals(re.toString(), \"(01|10)*1111\");\n }", "public void set_isregex(String isregex) throws Exception{\n\t\tthis.isregex = isregex;\n\t}", "public static void main(String[] args) {\r\n\t\t boolean matches_1 = Pattern.matches(\"[a-zA-Z0-9]{4}\", \"0Aa1\");\r\n\t\t boolean matches_2 = Pattern.matches(\"[a-zA-Z0-9]{4}\", \"0A@a1\");\r\n\t\t\t System.out.println(\"Regular Expression is \"+matches_1 +\" for given string(0Aa1)\");\r\n\t\t\t System.out.println(\"Regular Expression is \"+matches_2 +\" for given string(0A@a1)\");\r\n\t}", "public static void main(String[] args) {\n Pattern p = Pattern.compile(\"2*5?$\");\n Matcher m = p.matcher(regex1);\n if (m.matches()) {\n System.out.println(\"YES ¦ \");\n } else {\n System.out.println(\"NO\");\n }\n\n }", "@Override\n\tpublic boolean test(MyRegex t) {\n\t\treturn false;\n\t}", "private String parseRegExp(String exp) throws Exception {\r\n\t\treturn RegexpTranslationHelper.translateANTLRToAutomatonStyle(exp);\r\n\t}", "@Test\n public void testParseRegexp_valid7() throws InvalidRegexpException {\n BasicRegexp re = BasicRegexp.parseRegexp(\"abc*def\");\n assertEquals(re.toString(), \"abc*def\");\n }", "public final String getRegex() {\n\t\treturn JsUtils.getNativePropertyString(this, \"regex\");\n\t}", "public RegexPatternBuilder ()\n {\n this.regex = null;\n }", "private boolean isRegexValid(String string)\n {\n try\n {\n Pattern.compile(string, Pattern.MULTILINE);\n return true;\n }\n catch (PatternSyntaxException e)\n {\n return false;\n }\n }", "public java.lang.Short getRegexMatch() {\r\n return regexMatch;\r\n }", "@Test\n public void testParseRegexp_valid6() throws InvalidRegexpException {\n BasicRegexp re = BasicRegexp.parseRegexp(\"ab(cd(e))ff\");\n assertEquals(re.toString(), \"abcdeff\");\n }", "@Override // kotlin.p2243e.p2244a.AbstractC32522b\n public /* synthetic */ Regex invoke(Integer num) {\n return mo131903a(num.intValue());\n }", "public static TextP regex(final String value) {\n return new TextP(new Text.RegexPredicate(value, false), value);\n }", "public static Term createRegExp(Expression exp) {\r\n\t\tTerm term = Term.function(REGEX, exp);\r\n\t\treturn term;\r\n\t}", "public Pattern getValidStringPattern();", "@Test\r\n public void testRegexp() throws Exception {\n\r\n String a = \"a/b/100/test\";\r\n\r\n Pattern pattern = Pattern.compile(\".+/(\\\\d+)/test\");\r\n\r\n System.out.println(parseIdFromUriPath(a, pattern));\r\n\r\n }", "public static Regex compile(String pattern, int cflags) throws RegexException {\n return new Regex(pattern, REG_EXTENDED | cflags);\n }", "public Expression setRegexTest(Expression exp, Expression test){\r\n\t\tregexExpr.put(exp, test);\r\n\t\tExpression tt = Term.function(Term.TEST);\r\n\t\ttt.setExpr(test);\r\n\t\tExpression seq = sequence(exp, tt);\r\n\t\treturn seq;\r\n\t}", "C11998c mo41092g(String str);", "@Test\n public void contactNumber_WhenValid_ShouldReturnTrue(){\n RegexTest valid = new RegexTest();\n boolean result = valid.contactNumber( \"91 1234567890\");\n Assert.assertEquals(true,result);\n }", "@Test\n public void testDebugPrintBasicRegexp() throws InvalidRegexpException {\n BasicRegexp re1 = BasicRegexp.parseRegexp(\"(01|10)*1111\");\n BasicRegexp.debugPrintBasicRegexp(0, re1);\n }", "@Test\r\n public void testGetRegexp() {\r\n final Regexp re = rs.getRegexp(reString);\r\n assertTrue(rs.hasRegexp(reString));\r\n assertSame(rs.getRegexp(reString), re);\r\n }", "public String checkRegularExpression(String input) {\n String actualResult=\"\";\n String pattern=\".*harry*\";\n boolean value= Pattern.matches(pattern,input);\n actualResult+=\"Is harry there?\"+value;\n return actualResult;\n\n }", "public static void main(String[] args) {\n//\n// String pattern = \"abba\";\n// String s = \"dog cat cat fish\";\n\n\n// String pattern = \"aaaa\";\n// String s = \"dog cat cat dog\";\n\n String pattern = \"abba\";\n String s = \"dog dog dog dog\";\n\n// String pattern = \"e\";\n// String s = \"eukera\";\n\n boolean flag = wordPattern(pattern, s);\n\n System.out.println(flag);\n }", "public RegexGrep(ShellEnvironment env, String[] args) {\n super(env, args);\n this.regex = Pattern.compile(args[0]);\n }", "@Test\n public void wordPatternTest() {\n String pattern = \"aaa\", str = \"aa aa aa aa\";\n boolean ans = instance.wordPattern(pattern, str);\n System.out.println(ans);\n }", "@Test\n public void testParseRegexp_valid1() throws InvalidRegexpException {\n BasicRegexp re = BasicRegexp.parseRegexp(\"\");\n assertEquals(re, null);\n }", "@Test(expected = InvalidRegexpException.class)\n public void testParseRegexp_invalid8() throws Throwable {\n BasicRegexp.parseRegexp(\"()\");\n }", "void mo37759a(String str);", "private static String globToRegex(final String glob) {\n return \"^\" + glob.replace(\".\", \"\\\\.\").replace(\"*\", \".*\") + \"$\";\n }", "void mo12635a(String str);", "com.google.privacy.dlp.v2.CustomInfoType.Regex getRegex();", "public static String toRegex(String param) \r\n\t{\r\n\t\tStringBuffer regex = new StringBuffer();\r\n\t\tfor( int i=0; i < param.length(); i++ ) \r\n\t\t{\r\n\t\t\tchar next = param.charAt( i );\r\n\t\t\t if ('*' == next) regex.append( \".+\" ); // -> multi-character match wild card\r\n\t\t\telse if ('?' == next) regex.append( \".\" ); // -> single-character match wild card\r\n\t\t\telse if ('.' == next) regex.append( \"\\\\.\" ); // all of these are special regex characters we are quoting\r\n\t\t\telse if ('+' == next) regex.append( \"\\\\+\" ); \r\n\t\t\telse if ('$' == next) regex.append( \"\\\\$\" ); \r\n\t\t\telse if ('\\\\' == next) regex.append( \"\\\\\\\\\" ); \r\n\t\t\telse if ('[' == next) regex.append( \"\\\\[\" ); \r\n\t\t\telse if (']' == next) regex.append( \"\\\\]\" ); \r\n\t\t\telse if ('{' == next) regex.append( \"\\\\{\" ); \r\n\t\t\telse if ('}' == next) regex.append( \"\\\\}\" ); \r\n\t\t\telse if ('(' == next) regex.append( \"\\\\(\" ); \r\n\t\t\telse if (')' == next) regex.append( \"\\\\)\" ); \r\n\t\t\telse if ('&' == next) regex.append( \"\\\\&\" ); \r\n\t\t\telse if ('^' == next) regex.append( \"\\\\^\" ); \r\n\t\t\telse if ('-' == next) regex.append( \"\\\\-\" ); \r\n\t\t\telse if ('|' == next) regex.append( \"\\\\|\" ); \r\n\t\t\telse regex.append( next );\r\n\t\t}\r\n\t\t\r\n\t\treturn regex.toString();\r\n\t}", "public GlobFilenameFilter(String regex) {\n super(__CACHE, __MATCHER, regex);\n }", "public static void main(String[] args) {\n// System.out.println(alphanumeric.replaceAll(\"[aei]\", \"x\"));\n\n\n String regex = \"^[A-Z]|[a-z]\";\n String username = \"kaaviya\";\n\n System.out.println(username.replaceAll( \"^[A-Za-z][A-Za-z0-9_]{7,29}$\", \"x\"));\n System.out.println(username.matches(regex));\n\n }", "String mo2801a(String str);", "public com.google.protobuf.ByteString\n getRegexBytes() {\n java.lang.Object ref = regex_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b =\n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n regex_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "public com.google.protobuf.ByteString\n getRegexBytes() {\n java.lang.Object ref = regex_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b =\n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n regex_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "public static Regex compile(String pattern) throws RegexException {\n return compile(pattern, 0);\n }", "public static void main(String[] args) throws Exception {\n String patronA = \"[0-5]\";\n\n // conjunto de letras de \"a\" a \"c\"\n String patronB = \"[a-c]\";\n\n // conjunto de todas las letras minusculas\n String patronC = \"[a-z]\";\n\n // conjunto de numeros\n String patronD = \"[0-9]\";\n\n // ejemplo con tipo de dato string\n String textoAlfanumerico = \"0123aaaa\";\n System.out.println(\"Texto alfanumerico:\" + textoAlfanumerico);\n\n String replace1 = textoAlfanumerico.replaceAll(patronA, \"X\");\n System.out.println(\"Reemplazo de numeros con X: \" + replace1);\n\n String replace2 = textoAlfanumerico.replaceAll(patronB, \"X\");\n System.out.println(\"Reemplazo de letras con X: \" + replace2);\n\n\n //[0-5][a-c];\n //String patronComplejo = patronA + patronB;\n\n //[a-c]*[0-5]*\n //String patronComplejo = patronA + \"*\" + patronB + \"*\";\n\n //\"[a-z]+\"\n\n // + = una coincidencia\n // * = ninguna o muchas\n\n //String patronComplejo = \"(\" + patronA + patronC + \")+\";\n String patronComplejo = \"(\" + patronC + \")+\";\n\n String texto = \"hola, aacc este bbcc es mi 55222aaa texto 2663aaaa blah blah\";\n System.out.println(\"patron complejo:\" + patronComplejo);\n System.out.println(texto);\n\n Pattern pattern = Pattern.compile(patronComplejo);\n Matcher matcher = pattern.matcher(texto);\n\n // buscar ocurrencias\n while (matcher.find()) {\n System.out.println(\"Encontrado:\" + matcher.group());\n }\n\n\n }", "@Test\n public void testOptimise_2() throws InvalidRegexpException {\n BasicRegexp re1 = BasicRegexp.parseRegexp(\"a+++++++++++++++++++++\");\n\n assertEquals(re1.optimise(BasicRegexp.OPTIMISE_ALL, -1).toString(),\n \"a+\");\n }", "public String returnRegex() {\n\t\tString chosenRegex;\n\t\tSystem.out.println(\"selectedRegex value is: \" + selectedRegex);\n\t\tswitch (selectedRegex) {\n\t\tcase 1:\n\t\t\tchosenRegex = \"(\\\\&?\\\\??t=\\\\d*?[h]?\\\\d*[m]?\\\\d*[s]|\\\\&t=\\\\d*)\";\n\t\t\tbreak;\n\t\tcase 2:\n\t\t\tchosenRegex = \"(\\\\&list=[a-zA-Z 0-9 -]+\\\\&?index=?\\\\d+?)\";\n\t\t\tbreak;\n\t\tcase 3:\n\t\t\tchosenRegex = \"(\\\\&feature=youtu.be)\";\n\t\t\tbreak;\n\t\tdefault:\n\t\t\tchosenRegex = \"\\\\?t.*|\\\\&t.*|\\\\&l.*|\\\\&f.*\"; // alternative:\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// (\\\\&?\\\\??t=\\\\d*?[h]?\\\\d*[m]?\\\\d*[s]|\\\\&t=\\\\d*|\\\\&list=[a-zA-Z\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// 0-9 -]*)\n\t\t\tbreak;\n\t\t}\n\t\tSystem.out.println(chosenRegex);\n\t\treturn chosenRegex;\n\t}", "@java.lang.Override\n public com.google.protobuf.ByteString\n getRegexBytes() {\n java.lang.Object ref = regex_;\n if (ref instanceof java.lang.String) {\n com.google.protobuf.ByteString b =\n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n regex_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "@java.lang.Override\n public com.google.protobuf.ByteString\n getRegexBytes() {\n java.lang.Object ref = regex_;\n if (ref instanceof java.lang.String) {\n com.google.protobuf.ByteString b =\n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n regex_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "private static String adaptRegEx(Mode mode, String regex, int flagMask, boolean removeWhitespace)\n throws QueryException {\n StringBuilder sb = new StringBuilder();\n boolean escaped = false;\n boolean groupStart = false;\n int completeGroups = 0;\n int backRef = 0;\n int charClassDepth = 0;\n int groupDepth = 0;\n\n for (char c : regex.toCharArray()) {\n if (escaped) {\n if (backRef == 0 && c == '0') {\n throw new QueryException(ErrorCode.ERR_INVALID_REGULAR_EXPRESSION, \"Reference to group 0 not allowed\");\n } else if (c >= '0' && c <= '9') {\n if (charClassDepth > 0) {\n throw new QueryException(ErrorCode.ERR_INVALID_REGULAR_EXPRESSION,\n \"Back references in character class expressions\" + \" are disallowed.\");\n }\n backRef = backRef * 10 + Integer.parseInt(Character.toString(c));\n continue;\n }\n }\n\n if (backRef > 0) {\n // Check back reference that just ended\n if (backRef > completeGroups) {\n throw new QueryException(ErrorCode.ERR_INVALID_REGULAR_EXPRESSION,\n \"Back reference to nonexisting or unfinished group.\");\n } else {\n backRef = 0;\n escaped = false;\n }\n }\n\n if (c == '\\\\' && !escaped) {\n // Not preceded by backslash\n escaped = true;\n groupStart = false;\n continue;\n }\n\n if (c == '(' && !escaped) {\n groupStart = true;\n groupDepth++;\n escaped = false;\n continue;\n }\n\n if (c == '?' && !escaped && groupStart) {\n throw new QueryException(ErrorCode.ERR_INVALID_REGULAR_EXPRESSION,\n \"Pure groups are not supported in XQuery regular expressions.\");\n } else if (c == ')' && !escaped) {\n if (--groupDepth < 0) {\n throw new QueryException(ErrorCode.ERR_INVALID_REGULAR_EXPRESSION, \"Invalid sequence of brackets.\");\n }\n completeGroups++;\n } else if (c == '[' && !escaped) {\n charClassDepth++;\n } else if (c == ']' && !escaped) {\n if (--charClassDepth < 0) {\n throw new QueryException(ErrorCode.ERR_INVALID_REGULAR_EXPRESSION, \"Invalid sequence of brackets.\");\n }\n } else if (removeWhitespace) {\n // Remove whitespace outside of character classes\n if (charClassDepth == 0 && WHITESPACE.contains(c)) {\n // Don't touch boolean flags\n continue;\n }\n\n sb.append(c);\n }\n\n groupStart = false;\n escaped = false;\n }\n\n // Check for trailing '\\' (only valid with subsequent characters)\n if (escaped && backRef == 0) {\n throw new QueryException(ErrorCode.ERR_INVALID_REGULAR_EXPRESSION, \"Trailing backslash character in pattern.\");\n }\n\n // Check back reference if that was last token in pattern\n if (backRef > 0 && backRef > completeGroups) {\n throw new QueryException(ErrorCode.ERR_INVALID_REGULAR_EXPRESSION,\n \"Back reference to nonexisting or unfinished group.\");\n }\n\n // Check for dangling brackets\n if (charClassDepth != 0 || groupDepth != 0) {\n throw new QueryException(ErrorCode.ERR_INVALID_REGULAR_EXPRESSION, \"Pattern contains dangling brackets.\");\n }\n\n if (!removeWhitespace) {\n sb.append(regex);\n }\n\n if (mode == Mode.MATCH) {\n // Adapt for XQuery substring matching by extending pattern\n if (sb.charAt(0) != '^' || ((flagMask & Pattern.MULTILINE) == Pattern.MULTILINE)) {\n if ((flagMask & Pattern.DOTALL) == Pattern.DOTALL) {\n sb.insert(0, \".*\");\n } else {\n sb.insert(0, \"(?s:.*)\");\n }\n }\n\n if (sb.charAt(sb.length() - 1) != '$' || ((flagMask & Pattern.MULTILINE) == Pattern.MULTILINE)) {\n if ((flagMask & Pattern.DOTALL) == Pattern.DOTALL) {\n sb.append(\".*\");\n } else {\n sb.append(\"(?s:.*)\");\n }\n }\n }\n\n return sb.toString();\n }", "public RegExp anyChar ()\n {\n // FIXME: there is some code duplication here with the parser\n final List <Interval> list = new ArrayList <> ();\n list.add (new Interval (0, CharClasses.maxChar));\n return new RegExp1 (sym.CCLASS, list);\n }", "protected String hookGetRegex() \r\n\t{\n\t\treturn \"\\\\s+\"; \r\n\t}", "private static boolean matchRegex(Pattern regExpression, String filename) {\n\t\tMatcher m = regExpression.matcher(filename);\n\t\tif (m.matches()) {\n\t\t\treturn true;\n\t\t} else {\n\t\t\treturn false;\n\t\t}\n\t}", "RegExConstraint createRegExConstraint();", "public void setRegexMatch(java.lang.Short regexMatch) {\r\n this.regexMatch = regexMatch;\r\n }", "void mo5871a(String str);", "private JBurgPatternMatcher()\n\t{\n\t}", "public final String getPattern() {\n/* 187 */ return this.m_pattern;\n/* */ }", "public String getPattern() {\n\treturn pattern;\n }", "public Regex mo131901a(int i) {\n C32591j jVar = C32645l.m150681b(this.f111785a.m150658d(), i);\n if (jVar.getStart().intValue() < 0) {\n return null;\n }\n String group = this.f111785a.m150658d().group(i);\n C32569u.m150513a((Object) group, \"matchResult.group(index)\");\n return new Regex(group, jVar);\n }", "@Override\n\tpublic void visit(RegExpMatchOperator arg0) {\n\t\t\n\t}", "@Test //TEST FOUR\n void testOneNumberinRabbitName()\n {\n Rabbit_RegEx rabbit_Name = new Rabbit_RegEx();\n rabbit_Name.setRabbitName(\"MO0N\");\n assertFalse(rabbit_Name.getRabbitName().matches(\"[A-Za-z-]*\"));\n }", "private LiteralToken nextRegularExpressionLiteralToken() {\n LiteralToken token = scanner.nextRegularExpressionLiteralToken();\n lastSourcePosition = token.location.end;\n return token;\n }", "public String getPattern() {\r\n \treturn pattern;\r\n }", "public int getPattern() {\n return this.pattern;\n }" ]
[ "0.72026896", "0.7194223", "0.7194223", "0.68615586", "0.6858206", "0.67436427", "0.6587065", "0.6512296", "0.64326847", "0.6404885", "0.63460666", "0.6331", "0.6291084", "0.6286594", "0.6254456", "0.6238955", "0.6219856", "0.6202358", "0.6189153", "0.61239773", "0.610071", "0.6062738", "0.6032594", "0.59982014", "0.5996874", "0.5924192", "0.59115654", "0.5864164", "0.58572525", "0.58453", "0.58453", "0.5841216", "0.58262175", "0.5814594", "0.5811531", "0.58056986", "0.580481", "0.57985896", "0.5770896", "0.57697666", "0.57547474", "0.5754631", "0.5754291", "0.57499665", "0.57477105", "0.5747135", "0.57377404", "0.5728356", "0.5720464", "0.57105994", "0.569544", "0.5688132", "0.56866807", "0.5680289", "0.5667682", "0.56612164", "0.56564504", "0.5585063", "0.5555574", "0.5529932", "0.55271614", "0.5522922", "0.55216306", "0.5515437", "0.55144066", "0.5475341", "0.54649585", "0.54602605", "0.54552746", "0.5454531", "0.54507446", "0.54498005", "0.54474837", "0.5440438", "0.54248166", "0.54176825", "0.541224", "0.5411842", "0.5410461", "0.54078144", "0.5407357", "0.5399649", "0.53911847", "0.5381891", "0.5381891", "0.53741324", "0.5369898", "0.5353865", "0.53480643", "0.53464174", "0.53416866", "0.5329152", "0.53245693", "0.5322008", "0.5312056", "0.52923334", "0.5292296", "0.5286544", "0.5280226", "0.5259832", "0.5251492" ]
0.0
-1
string regex = 1;
public Builder setRegexBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); regex_ = value; onChanged(); return this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getRegex();", "java.lang.String getRegex();", "java.lang.String getRegex();", "public void setRegex (String regex)\n {\n this.regex = regex;\n }", "public String getRegEx();", "public RegExp (final int type)\n {\n this.type = type;\n }", "public RegexPatternBuilder (String regex)\n {\n this.regex = regex;\n }", "public String getRegEx() {\r\n return regex;\r\n }", "public GrammaticaRE(String regex) throws Exception {\n regExp = new RegExp(regex, ignoreCase);\n }", "public final native void setRegex(String regex) /*-{\n\t\tthis.regex = regex;\n\t}-*/;", "@objid (\"d7eead28-9a1c-4037-9797-4868268b54d4\")\n public RegexVerifier(String regex) {\n this.regex = regex;\n }", "public void setRegex(String regex) {\n this.regex = regex;\n }", "public static void TestRegex()\n\t{\n\t String line = \" if( aaa&&(ypbreg))\";\n\t String pattern = \"(&&)\\\\s*\\\\(*\\\\s*!?ypbreg\\\\)*\";\n\t // Create a Pattern object\n\t Pattern r = Pattern.compile(pattern);\n\t System.out.println(line.contains(pattern));\n\t // Now create matcher object.\n\t Matcher m = r.matcher(line);\n\t if (m.find( )) {\n\t // System.out.println(\"Found value: \" + m.group(0) );\n\t int count = m.groupCount();\n\t System.out.println(\"group count is \"+count);\n\t for(int i=0;i<count;i++){\n\t System.out.println(m.group(i));\n\t }\n\t // System.out.println(line.replaceFirst(BregPattern.pEqualTrue1, \"!$1\"));\n\n\t } else {\n\t System.out.println(\"NO MATCH\");\n\t }\n\t}", "public RegularExpression() {\n }", "public interface RegExp {\n String NUMBER_OF_COMPOSITION = \"^[1-2][0-9]|[1-9]$\";\n String BREAK_DATE_BY_DOT = \"[.]\";\n String IDENTIFY_BUMDLE = \"^([E|e][N|n])|[У|у][К|к][Р|р]$\";\n String DURATION = \"^[1-9]|[1-9][0-9]|[1-4][0-9][0-9]$\";\n}", "public java.lang.String getRegexStr() {\r\n return regexStr;\r\n }", "public Pattern regexPattern(String regex) {\n return Pattern.compile(regex);\n }", "@Override\n protected void compileRegex(String regex) {\n }", "protected abstract Regex pattern();", "boolean hasRegex();", "public JavaRE(String regex) throws Exception {\n if (ignoreCase) {\n pattern = Pattern.compile(regex, Pattern.CASE_INSENSITIVE);\n } else {\n pattern = Pattern.compile(regex);\n }\n }", "@Test\n public void testParseRegexp_valid3() throws InvalidRegexpException {\n BasicRegexp re = BasicRegexp.parseRegexp(\"a b c d\");\n assertEquals(re.toString(), \"abcd\");\n }", "private\n\tRegExHelper()\n\t{\n\t\tsuper();\n\t}", "public java.lang.String getRegex() {\n java.lang.Object ref = regex_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n regex_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getRegex() {\n java.lang.Object ref = regex_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n regex_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "@Override\n public boolean isRegex() {\n return false;\n }", "public String get_isregex() throws Exception {\n\t\treturn this.isregex;\n\t}", "public Boolean getbRegex() {\r\n\t\treturn bRegex;\r\n\t}", "public interface RegExp {\n String NAME_REGEXP = \"^[А-Я][а-я]{2,30}$\";\n String AGE_REGEXP = \"^((1[012][0-9])|([1-9][0-9]))$\";\n String EMAIL_REGEXP = \"^[-z0-9_.]{1,30}@([A-z]+[A-z0-9]{1,15}.){1,2}([A-z]+[A-z0-9]{1,15})$\";\n String CELL_PHONE_REGEXP = \"([\\\\+]\\\\d{2}\\\\s?)?(([\\\\(\\\\s]\\\\d{3}[\\\\)\\\\s])|\" +\n \"(\\\\d{3}))[\\\\s-]?\\\\d{3}[\\\\s-]?\\\\d{2}[\\\\s-]?\\\\d{2}$\";\n String CELL_PHONE_OPTIONAL_REGEXP = \"^(([\\\\+]\\\\d{2}\\\\s?)?(([\\\\(\\\\s]\\\\d{3}[\\\\)\\\\s])|\" +\n \"(\\\\d{3}))[\\\\s-]?\\\\d{3}[\\\\s-]?\\\\d{2}[\\\\s-]?\\\\d{2})?\";\n String LOCAL_PHONE_REGEXP = \"^([\\\\+]\\\\d{2}\\\\s?)?(([\\\\(\\\\s]\\\\d{3}[\\\\)\\\\s])|(\\\\d{3}))?[\\\\s-]?\\\\d{3}[\\\\s-]?\\\\d{3}$\";\n String COMMENT_REGEXP = \"^([\\\\d\\\\s\\\\w\\\\.\\\\,\\\\!]){0,127}$\";\n String GROUP_REGEXP = \"^[А-я]{4,10}$\";\n String SKYPE_NICK_REGEXP = \"^[\\\\w\\\\d\\\\_]{3,20}$\";\n String INDEX_REGEXP = \"^[\\\\d]{8}$\";\n String CITY_STREET_REGEXP = \"^[А-Я][а-я]{3,20}$\";\n String BUILDING_REGEXP = \"^[\\\\d]{1,3}[\\\\w]?$\";\n String FLAT_REGEXP = \"^[\\\\d]{1,3}$\";\n}", "public Builder setRegex(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n\n regex_ = value;\n onChanged();\n return this;\n }", "public Builder setRegex(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n\n regex_ = value;\n onChanged();\n return this;\n }", "public void setRegexStr(java.lang.String regexStr) {\r\n this.regexStr = regexStr;\r\n }", "public String getMatchRegex() {\n return matchRegex;\n }", "String regen();", "public static void main(String[] args) {\n\t\t Pattern p = Pattern.compile(\"(a+)\");\r\n\t\t Matcher m = p.matcher(\"aaaaaba\");\r\n\t\t //System.out.println(m.matches())\r\n\t\t m.find();\t\t \r\n\t\t m.find();\r\n\t\t System.out.println(\"grCount \"+m.groupCount());\t \r\n\t\t MatchResult mr = m.toMatchResult();\r\n\t\t \r\n\t\t System.out.println(m.end());\r\n\t\t System.out.println(\"'\"+mr.group()+\"'\");\r\n\t\t System.out.println(\"start \"+mr.start(1));\r\n\t\t \r\n\t}", "@java.lang.Override\n public java.lang.String getRegex() {\n java.lang.Object ref = regex_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n regex_ = s;\n return s;\n }\n }", "@java.lang.Override\n public java.lang.String getRegex() {\n java.lang.Object ref = regex_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n regex_ = s;\n return s;\n }\n }", "int mo5882g(String str);", "com.google.protobuf.ByteString\n getRegexBytes();", "com.google.protobuf.ByteString\n getRegexBytes();", "@Test\n public void testParseRegexp_correctness1new()\n throws InvalidRegexpException {\n BasicRegexp re = BasicRegexp.parseRegexp(\"(01|10)*1111\");\n assertEquals(re.toString(), \"(01|10)*1111\");\n }", "public void set_isregex(String isregex) throws Exception{\n\t\tthis.isregex = isregex;\n\t}", "public static void main(String[] args) {\r\n\t\t boolean matches_1 = Pattern.matches(\"[a-zA-Z0-9]{4}\", \"0Aa1\");\r\n\t\t boolean matches_2 = Pattern.matches(\"[a-zA-Z0-9]{4}\", \"0A@a1\");\r\n\t\t\t System.out.println(\"Regular Expression is \"+matches_1 +\" for given string(0Aa1)\");\r\n\t\t\t System.out.println(\"Regular Expression is \"+matches_2 +\" for given string(0A@a1)\");\r\n\t}", "public static void main(String[] args) {\n Pattern p = Pattern.compile(\"2*5?$\");\n Matcher m = p.matcher(regex1);\n if (m.matches()) {\n System.out.println(\"YES ¦ \");\n } else {\n System.out.println(\"NO\");\n }\n\n }", "@Override\n\tpublic boolean test(MyRegex t) {\n\t\treturn false;\n\t}", "private String parseRegExp(String exp) throws Exception {\r\n\t\treturn RegexpTranslationHelper.translateANTLRToAutomatonStyle(exp);\r\n\t}", "@Test\n public void testParseRegexp_valid7() throws InvalidRegexpException {\n BasicRegexp re = BasicRegexp.parseRegexp(\"abc*def\");\n assertEquals(re.toString(), \"abc*def\");\n }", "public final String getRegex() {\n\t\treturn JsUtils.getNativePropertyString(this, \"regex\");\n\t}", "public RegexPatternBuilder ()\n {\n this.regex = null;\n }", "private boolean isRegexValid(String string)\n {\n try\n {\n Pattern.compile(string, Pattern.MULTILINE);\n return true;\n }\n catch (PatternSyntaxException e)\n {\n return false;\n }\n }", "public java.lang.Short getRegexMatch() {\r\n return regexMatch;\r\n }", "@Test\n public void testParseRegexp_valid6() throws InvalidRegexpException {\n BasicRegexp re = BasicRegexp.parseRegexp(\"ab(cd(e))ff\");\n assertEquals(re.toString(), \"abcdeff\");\n }", "@Override // kotlin.p2243e.p2244a.AbstractC32522b\n public /* synthetic */ Regex invoke(Integer num) {\n return mo131903a(num.intValue());\n }", "public static TextP regex(final String value) {\n return new TextP(new Text.RegexPredicate(value, false), value);\n }", "public static Term createRegExp(Expression exp) {\r\n\t\tTerm term = Term.function(REGEX, exp);\r\n\t\treturn term;\r\n\t}", "public Pattern getValidStringPattern();", "@Test\r\n public void testRegexp() throws Exception {\n\r\n String a = \"a/b/100/test\";\r\n\r\n Pattern pattern = Pattern.compile(\".+/(\\\\d+)/test\");\r\n\r\n System.out.println(parseIdFromUriPath(a, pattern));\r\n\r\n }", "public static Regex compile(String pattern, int cflags) throws RegexException {\n return new Regex(pattern, REG_EXTENDED | cflags);\n }", "public Expression setRegexTest(Expression exp, Expression test){\r\n\t\tregexExpr.put(exp, test);\r\n\t\tExpression tt = Term.function(Term.TEST);\r\n\t\ttt.setExpr(test);\r\n\t\tExpression seq = sequence(exp, tt);\r\n\t\treturn seq;\r\n\t}", "C11998c mo41092g(String str);", "@Test\n public void contactNumber_WhenValid_ShouldReturnTrue(){\n RegexTest valid = new RegexTest();\n boolean result = valid.contactNumber( \"91 1234567890\");\n Assert.assertEquals(true,result);\n }", "@Test\n public void testDebugPrintBasicRegexp() throws InvalidRegexpException {\n BasicRegexp re1 = BasicRegexp.parseRegexp(\"(01|10)*1111\");\n BasicRegexp.debugPrintBasicRegexp(0, re1);\n }", "@Test\r\n public void testGetRegexp() {\r\n final Regexp re = rs.getRegexp(reString);\r\n assertTrue(rs.hasRegexp(reString));\r\n assertSame(rs.getRegexp(reString), re);\r\n }", "public String checkRegularExpression(String input) {\n String actualResult=\"\";\n String pattern=\".*harry*\";\n boolean value= Pattern.matches(pattern,input);\n actualResult+=\"Is harry there?\"+value;\n return actualResult;\n\n }", "public static void main(String[] args) {\n//\n// String pattern = \"abba\";\n// String s = \"dog cat cat fish\";\n\n\n// String pattern = \"aaaa\";\n// String s = \"dog cat cat dog\";\n\n String pattern = \"abba\";\n String s = \"dog dog dog dog\";\n\n// String pattern = \"e\";\n// String s = \"eukera\";\n\n boolean flag = wordPattern(pattern, s);\n\n System.out.println(flag);\n }", "public RegexGrep(ShellEnvironment env, String[] args) {\n super(env, args);\n this.regex = Pattern.compile(args[0]);\n }", "@Test\n public void wordPatternTest() {\n String pattern = \"aaa\", str = \"aa aa aa aa\";\n boolean ans = instance.wordPattern(pattern, str);\n System.out.println(ans);\n }", "@Test\n public void testParseRegexp_valid1() throws InvalidRegexpException {\n BasicRegexp re = BasicRegexp.parseRegexp(\"\");\n assertEquals(re, null);\n }", "@Test(expected = InvalidRegexpException.class)\n public void testParseRegexp_invalid8() throws Throwable {\n BasicRegexp.parseRegexp(\"()\");\n }", "void mo37759a(String str);", "private static String globToRegex(final String glob) {\n return \"^\" + glob.replace(\".\", \"\\\\.\").replace(\"*\", \".*\") + \"$\";\n }", "void mo12635a(String str);", "com.google.privacy.dlp.v2.CustomInfoType.Regex getRegex();", "public static String toRegex(String param) \r\n\t{\r\n\t\tStringBuffer regex = new StringBuffer();\r\n\t\tfor( int i=0; i < param.length(); i++ ) \r\n\t\t{\r\n\t\t\tchar next = param.charAt( i );\r\n\t\t\t if ('*' == next) regex.append( \".+\" ); // -> multi-character match wild card\r\n\t\t\telse if ('?' == next) regex.append( \".\" ); // -> single-character match wild card\r\n\t\t\telse if ('.' == next) regex.append( \"\\\\.\" ); // all of these are special regex characters we are quoting\r\n\t\t\telse if ('+' == next) regex.append( \"\\\\+\" ); \r\n\t\t\telse if ('$' == next) regex.append( \"\\\\$\" ); \r\n\t\t\telse if ('\\\\' == next) regex.append( \"\\\\\\\\\" ); \r\n\t\t\telse if ('[' == next) regex.append( \"\\\\[\" ); \r\n\t\t\telse if (']' == next) regex.append( \"\\\\]\" ); \r\n\t\t\telse if ('{' == next) regex.append( \"\\\\{\" ); \r\n\t\t\telse if ('}' == next) regex.append( \"\\\\}\" ); \r\n\t\t\telse if ('(' == next) regex.append( \"\\\\(\" ); \r\n\t\t\telse if (')' == next) regex.append( \"\\\\)\" ); \r\n\t\t\telse if ('&' == next) regex.append( \"\\\\&\" ); \r\n\t\t\telse if ('^' == next) regex.append( \"\\\\^\" ); \r\n\t\t\telse if ('-' == next) regex.append( \"\\\\-\" ); \r\n\t\t\telse if ('|' == next) regex.append( \"\\\\|\" ); \r\n\t\t\telse regex.append( next );\r\n\t\t}\r\n\t\t\r\n\t\treturn regex.toString();\r\n\t}", "public GlobFilenameFilter(String regex) {\n super(__CACHE, __MATCHER, regex);\n }", "public static void main(String[] args) {\n// System.out.println(alphanumeric.replaceAll(\"[aei]\", \"x\"));\n\n\n String regex = \"^[A-Z]|[a-z]\";\n String username = \"kaaviya\";\n\n System.out.println(username.replaceAll( \"^[A-Za-z][A-Za-z0-9_]{7,29}$\", \"x\"));\n System.out.println(username.matches(regex));\n\n }", "String mo2801a(String str);", "public com.google.protobuf.ByteString\n getRegexBytes() {\n java.lang.Object ref = regex_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b =\n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n regex_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "public com.google.protobuf.ByteString\n getRegexBytes() {\n java.lang.Object ref = regex_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b =\n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n regex_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "public static Regex compile(String pattern) throws RegexException {\n return compile(pattern, 0);\n }", "public static void main(String[] args) throws Exception {\n String patronA = \"[0-5]\";\n\n // conjunto de letras de \"a\" a \"c\"\n String patronB = \"[a-c]\";\n\n // conjunto de todas las letras minusculas\n String patronC = \"[a-z]\";\n\n // conjunto de numeros\n String patronD = \"[0-9]\";\n\n // ejemplo con tipo de dato string\n String textoAlfanumerico = \"0123aaaa\";\n System.out.println(\"Texto alfanumerico:\" + textoAlfanumerico);\n\n String replace1 = textoAlfanumerico.replaceAll(patronA, \"X\");\n System.out.println(\"Reemplazo de numeros con X: \" + replace1);\n\n String replace2 = textoAlfanumerico.replaceAll(patronB, \"X\");\n System.out.println(\"Reemplazo de letras con X: \" + replace2);\n\n\n //[0-5][a-c];\n //String patronComplejo = patronA + patronB;\n\n //[a-c]*[0-5]*\n //String patronComplejo = patronA + \"*\" + patronB + \"*\";\n\n //\"[a-z]+\"\n\n // + = una coincidencia\n // * = ninguna o muchas\n\n //String patronComplejo = \"(\" + patronA + patronC + \")+\";\n String patronComplejo = \"(\" + patronC + \")+\";\n\n String texto = \"hola, aacc este bbcc es mi 55222aaa texto 2663aaaa blah blah\";\n System.out.println(\"patron complejo:\" + patronComplejo);\n System.out.println(texto);\n\n Pattern pattern = Pattern.compile(patronComplejo);\n Matcher matcher = pattern.matcher(texto);\n\n // buscar ocurrencias\n while (matcher.find()) {\n System.out.println(\"Encontrado:\" + matcher.group());\n }\n\n\n }", "@Test\n public void testOptimise_2() throws InvalidRegexpException {\n BasicRegexp re1 = BasicRegexp.parseRegexp(\"a+++++++++++++++++++++\");\n\n assertEquals(re1.optimise(BasicRegexp.OPTIMISE_ALL, -1).toString(),\n \"a+\");\n }", "public String returnRegex() {\n\t\tString chosenRegex;\n\t\tSystem.out.println(\"selectedRegex value is: \" + selectedRegex);\n\t\tswitch (selectedRegex) {\n\t\tcase 1:\n\t\t\tchosenRegex = \"(\\\\&?\\\\??t=\\\\d*?[h]?\\\\d*[m]?\\\\d*[s]|\\\\&t=\\\\d*)\";\n\t\t\tbreak;\n\t\tcase 2:\n\t\t\tchosenRegex = \"(\\\\&list=[a-zA-Z 0-9 -]+\\\\&?index=?\\\\d+?)\";\n\t\t\tbreak;\n\t\tcase 3:\n\t\t\tchosenRegex = \"(\\\\&feature=youtu.be)\";\n\t\t\tbreak;\n\t\tdefault:\n\t\t\tchosenRegex = \"\\\\?t.*|\\\\&t.*|\\\\&l.*|\\\\&f.*\"; // alternative:\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// (\\\\&?\\\\??t=\\\\d*?[h]?\\\\d*[m]?\\\\d*[s]|\\\\&t=\\\\d*|\\\\&list=[a-zA-Z\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// 0-9 -]*)\n\t\t\tbreak;\n\t\t}\n\t\tSystem.out.println(chosenRegex);\n\t\treturn chosenRegex;\n\t}", "@java.lang.Override\n public com.google.protobuf.ByteString\n getRegexBytes() {\n java.lang.Object ref = regex_;\n if (ref instanceof java.lang.String) {\n com.google.protobuf.ByteString b =\n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n regex_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "@java.lang.Override\n public com.google.protobuf.ByteString\n getRegexBytes() {\n java.lang.Object ref = regex_;\n if (ref instanceof java.lang.String) {\n com.google.protobuf.ByteString b =\n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n regex_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "private static String adaptRegEx(Mode mode, String regex, int flagMask, boolean removeWhitespace)\n throws QueryException {\n StringBuilder sb = new StringBuilder();\n boolean escaped = false;\n boolean groupStart = false;\n int completeGroups = 0;\n int backRef = 0;\n int charClassDepth = 0;\n int groupDepth = 0;\n\n for (char c : regex.toCharArray()) {\n if (escaped) {\n if (backRef == 0 && c == '0') {\n throw new QueryException(ErrorCode.ERR_INVALID_REGULAR_EXPRESSION, \"Reference to group 0 not allowed\");\n } else if (c >= '0' && c <= '9') {\n if (charClassDepth > 0) {\n throw new QueryException(ErrorCode.ERR_INVALID_REGULAR_EXPRESSION,\n \"Back references in character class expressions\" + \" are disallowed.\");\n }\n backRef = backRef * 10 + Integer.parseInt(Character.toString(c));\n continue;\n }\n }\n\n if (backRef > 0) {\n // Check back reference that just ended\n if (backRef > completeGroups) {\n throw new QueryException(ErrorCode.ERR_INVALID_REGULAR_EXPRESSION,\n \"Back reference to nonexisting or unfinished group.\");\n } else {\n backRef = 0;\n escaped = false;\n }\n }\n\n if (c == '\\\\' && !escaped) {\n // Not preceded by backslash\n escaped = true;\n groupStart = false;\n continue;\n }\n\n if (c == '(' && !escaped) {\n groupStart = true;\n groupDepth++;\n escaped = false;\n continue;\n }\n\n if (c == '?' && !escaped && groupStart) {\n throw new QueryException(ErrorCode.ERR_INVALID_REGULAR_EXPRESSION,\n \"Pure groups are not supported in XQuery regular expressions.\");\n } else if (c == ')' && !escaped) {\n if (--groupDepth < 0) {\n throw new QueryException(ErrorCode.ERR_INVALID_REGULAR_EXPRESSION, \"Invalid sequence of brackets.\");\n }\n completeGroups++;\n } else if (c == '[' && !escaped) {\n charClassDepth++;\n } else if (c == ']' && !escaped) {\n if (--charClassDepth < 0) {\n throw new QueryException(ErrorCode.ERR_INVALID_REGULAR_EXPRESSION, \"Invalid sequence of brackets.\");\n }\n } else if (removeWhitespace) {\n // Remove whitespace outside of character classes\n if (charClassDepth == 0 && WHITESPACE.contains(c)) {\n // Don't touch boolean flags\n continue;\n }\n\n sb.append(c);\n }\n\n groupStart = false;\n escaped = false;\n }\n\n // Check for trailing '\\' (only valid with subsequent characters)\n if (escaped && backRef == 0) {\n throw new QueryException(ErrorCode.ERR_INVALID_REGULAR_EXPRESSION, \"Trailing backslash character in pattern.\");\n }\n\n // Check back reference if that was last token in pattern\n if (backRef > 0 && backRef > completeGroups) {\n throw new QueryException(ErrorCode.ERR_INVALID_REGULAR_EXPRESSION,\n \"Back reference to nonexisting or unfinished group.\");\n }\n\n // Check for dangling brackets\n if (charClassDepth != 0 || groupDepth != 0) {\n throw new QueryException(ErrorCode.ERR_INVALID_REGULAR_EXPRESSION, \"Pattern contains dangling brackets.\");\n }\n\n if (!removeWhitespace) {\n sb.append(regex);\n }\n\n if (mode == Mode.MATCH) {\n // Adapt for XQuery substring matching by extending pattern\n if (sb.charAt(0) != '^' || ((flagMask & Pattern.MULTILINE) == Pattern.MULTILINE)) {\n if ((flagMask & Pattern.DOTALL) == Pattern.DOTALL) {\n sb.insert(0, \".*\");\n } else {\n sb.insert(0, \"(?s:.*)\");\n }\n }\n\n if (sb.charAt(sb.length() - 1) != '$' || ((flagMask & Pattern.MULTILINE) == Pattern.MULTILINE)) {\n if ((flagMask & Pattern.DOTALL) == Pattern.DOTALL) {\n sb.append(\".*\");\n } else {\n sb.append(\"(?s:.*)\");\n }\n }\n }\n\n return sb.toString();\n }", "public RegExp anyChar ()\n {\n // FIXME: there is some code duplication here with the parser\n final List <Interval> list = new ArrayList <> ();\n list.add (new Interval (0, CharClasses.maxChar));\n return new RegExp1 (sym.CCLASS, list);\n }", "protected String hookGetRegex() \r\n\t{\n\t\treturn \"\\\\s+\"; \r\n\t}", "private static boolean matchRegex(Pattern regExpression, String filename) {\n\t\tMatcher m = regExpression.matcher(filename);\n\t\tif (m.matches()) {\n\t\t\treturn true;\n\t\t} else {\n\t\t\treturn false;\n\t\t}\n\t}", "RegExConstraint createRegExConstraint();", "public void setRegexMatch(java.lang.Short regexMatch) {\r\n this.regexMatch = regexMatch;\r\n }", "void mo5871a(String str);", "private JBurgPatternMatcher()\n\t{\n\t}", "public final String getPattern() {\n/* 187 */ return this.m_pattern;\n/* */ }", "public String getPattern() {\n\treturn pattern;\n }", "public Regex mo131901a(int i) {\n C32591j jVar = C32645l.m150681b(this.f111785a.m150658d(), i);\n if (jVar.getStart().intValue() < 0) {\n return null;\n }\n String group = this.f111785a.m150658d().group(i);\n C32569u.m150513a((Object) group, \"matchResult.group(index)\");\n return new Regex(group, jVar);\n }", "@Override\n\tpublic void visit(RegExpMatchOperator arg0) {\n\t\t\n\t}", "@Test //TEST FOUR\n void testOneNumberinRabbitName()\n {\n Rabbit_RegEx rabbit_Name = new Rabbit_RegEx();\n rabbit_Name.setRabbitName(\"MO0N\");\n assertFalse(rabbit_Name.getRabbitName().matches(\"[A-Za-z-]*\"));\n }", "private LiteralToken nextRegularExpressionLiteralToken() {\n LiteralToken token = scanner.nextRegularExpressionLiteralToken();\n lastSourcePosition = token.location.end;\n return token;\n }", "public String getPattern() {\r\n \treturn pattern;\r\n }", "public int getPattern() {\n return this.pattern;\n }" ]
[ "0.72026896", "0.7194223", "0.7194223", "0.68615586", "0.6858206", "0.67436427", "0.6587065", "0.6512296", "0.64326847", "0.6404885", "0.63460666", "0.6331", "0.6291084", "0.6286594", "0.6254456", "0.6238955", "0.6219856", "0.6202358", "0.6189153", "0.61239773", "0.610071", "0.6062738", "0.6032594", "0.59982014", "0.5996874", "0.5924192", "0.59115654", "0.5864164", "0.58572525", "0.58453", "0.58453", "0.5841216", "0.58262175", "0.5814594", "0.5811531", "0.58056986", "0.580481", "0.57985896", "0.5770896", "0.57697666", "0.57547474", "0.5754631", "0.5754291", "0.57499665", "0.57477105", "0.5747135", "0.57377404", "0.5728356", "0.5720464", "0.57105994", "0.569544", "0.5688132", "0.56866807", "0.5680289", "0.5667682", "0.56612164", "0.56564504", "0.5585063", "0.5555574", "0.5529932", "0.55271614", "0.5522922", "0.55216306", "0.5515437", "0.55144066", "0.5475341", "0.54649585", "0.54602605", "0.54552746", "0.5454531", "0.54507446", "0.54498005", "0.54474837", "0.5440438", "0.54248166", "0.54176825", "0.541224", "0.5411842", "0.5410461", "0.54078144", "0.5407357", "0.5399649", "0.53911847", "0.5381891", "0.5381891", "0.53741324", "0.5369898", "0.5353865", "0.53480643", "0.53464174", "0.53416866", "0.5329152", "0.53245693", "0.5322008", "0.5312056", "0.52923334", "0.5292296", "0.5286544", "0.5280226", "0.5259832", "0.5251492" ]
0.0
-1
int32 subnetId = 2;
@java.lang.Override public int getSubnetId() { return subnetId_; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "int getSubnetId();", "int getSubnetId();", "int getSubnetId();", "@java.lang.Override\n public int getSubnetId() {\n return subnetId_;\n }", "@java.lang.Override\n public int getSubnetId() {\n return subnetId_;\n }", "@java.lang.Override\n public int getSubnetId() {\n return subnetId_;\n }", "public String subnetId() {\n return this.subnetId;\n }", "public String getSubnetId() {\n return this.SubnetId;\n }", "public Builder setSubnetId(int value) {\n\n subnetId_ = value;\n onChanged();\n return this;\n }", "public Builder setSubnetId(int value) {\n\n subnetId_ = value;\n onChanged();\n return this;\n }", "public Builder setSubnetId(int value) {\n\n subnetId_ = value;\n onChanged();\n return this;\n }", "int netid() {\n\t\t\treturn address & (-1 << mask);\n\t\t}", "entities.Torrent.SubnetRequest getSubnetRequest();", "@Required\n public String getSubnet() {\n return subnet;\n }", "java.lang.String getSubnet();", "com.google.protobuf.ByteString getSubnetBytes();", "int getS1Ip();", "int getSnId();", "int getSnId();", "int getSnId();", "int getSnId();", "public void setSubnetId(String SubnetId) {\n this.SubnetId = SubnetId;\n }", "@Test\n public void testToInt() {\n Ip4Address ipAddress;\n\n ipAddress = Ip4Address.valueOf(\"1.2.3.4\");\n assertThat(ipAddress.toInt(), is(0x01020304));\n\n ipAddress = Ip4Address.valueOf(\"0.0.0.0\");\n assertThat(ipAddress.toInt(), is(0));\n\n ipAddress = Ip4Address.valueOf(\"255.255.255.255\");\n assertThat(ipAddress.toInt(), is(-1));\n }", "int getPacketId();", "int getInIp();", "int getInIp();", "private boolean isSubnetInUse(String subnetId) {\n return false;\n }", "entities.Torrent.SubnetResponse getSubnetResponse();", "IntExpression netid(Expression p) {\n\t\treturn addr(p).and(explicitMask(p));\n\t}", "public String subnetName() {\n return this.subnetName;\n }", "public ApiEntityReference subnet() {\n return this.subnet;\n }", "int getPrimarySnId();", "int getPrimarySnId();", "int getReceiverid();", "public SubnetInner subnet() {\n return this.subnet;\n }", "public String getSubnetArn() {\n return this.subnetArn;\n }", "public interface Constants {\n public static final short NET_MASK_MAX_LENGTH = 32;\n}", "public byte getId() {\n return 2;\n }", "@Test\n public void testAddress()\n {\n System.out.println(\"address\");\n int addr = 16893;\n System.out.println(N2TCode.address(addr));\n System.out.println(Integer.toBinaryString(addr));\n }", "public BigInteger getNetworkId() {\n return networkId;\n }", "private void sumbit(String ip){\n }", "int getBlockId();", "public final String getNetId( )\r\n {\r\n return netId;\r\n }", "Integer getSesscode();", "public long getUInt() { return bb.getInt() & 0xffff_ffffL; }", "int getSourceSnId();", "@Test\n public void testValueOfForIntegerIPv4() {\n Ip4Address ipAddress;\n\n ipAddress = Ip4Address.valueOf(0x01020304);\n assertThat(ipAddress.toString(), is(\"1.2.3.4\"));\n\n ipAddress = Ip4Address.valueOf(0);\n assertThat(ipAddress.toString(), is(\"0.0.0.0\"));\n\n ipAddress = Ip4Address.valueOf(0xffffffff);\n assertThat(ipAddress.toString(), is(\"255.255.255.255\"));\n }", "int getIp();", "int getIp();", "int getIp();", "private int getNumberBase(String n1){\n return Integer.parseUnsignedInt(n1, base);\n }", "int decodeInt();", "@Override\n\tpublic Long getNetId() {\n\t\treturn null;\n\t}", "int getAddr();", "@Test\n public void testLocalCircuitId() throws Exception {\n isisNeighbor.setLocalCircuitId((byte) 1);\n result4 = isisNeighbor.localCircuitId();\n assertThat(result4, is((byte) 1));\n }", "int getBlockNumber();", "int getBlockNumber();", "int getClientIpV4();", "Integer destinationPort();", "public static void main(String[] args) {\n byte[] ip = new byte[]{(byte) 192, (byte) 168, 1, 2};\n byte[] mask = new byte[]{(byte) 255, (byte) 255, (byte) 254, 0};\n byte[] netAddress = getNetAddress(ip, mask);\n print(ip); //11000000 10101000 00000001 00000010\n print(mask); //11111111 11111111 11111110 00000000\n print(netAddress); //11000000 10101000 00000000 00000000\n }", "public int getId() {\n\t\treturn config >> 8;\n\t}", "byte[] networkMask();", "public int getOctet(int position)\n {\n position = position > 3 ? 3 : position;\n position = position < 0 ? 0 : position;\n \n return address[position];\n }", "public Inet4Address getNetworkAddress() {\n\t\treturn subnetAddress;\n\t}", "interface MyConfig {\n int teamNumber = 5;\n int basePort = 5000;\n int udpPort = teamNumber + basePort;\n String interfaceName = \"wlan0\";\n // String broadcastAddress = \"192.168.24.255\";\n //String broadcastAddress = \"localhost\";\n}", "Uint32 getType();", "private int getSSN (){\n return ssn;\n }", "java.lang.String getSnIp();", "java.lang.String getSnIp();", "UUID getNegotiationId();", "Integer getNLNDccp();", "public int GetID()\n {\n return blockType.GetID();\n }", "private static int parseInt(String sn) {\n\t\treturn Integer.parseInt(sn.substring(2), 16);\n\t}", "private void setS1Ip(int value) {\n \n s1Ip_ = value;\n }", "private void setInIp(int value) {\n \n inIp_ = value;\n }", "private void setInIp(int value) {\n \n inIp_ = value;\n }", "static int lanPort(String xxx) {\n\t\treturn 20000 + Integer.parseInt(xxx);\n\t}", "public int getBlockTextureFromSide(int var1)\r\n {\r\n return var1 == 1 ? 72 : (var1 == 0 ? 74 : 73);\r\n }", "BigInteger getTelefone();", "entities.Torrent.SubnetRequestOrBuilder getSubnetRequestOrBuilder();", "boolean hasSubnetRequest();", "String getIdNumber();", "public int a(int var1, int var2)\r\n {\r\n byte var3 = -1;\r\n\r\n switch (var2)\r\n {\r\n case 0:\r\n var3 = 22;\r\n break;\r\n\r\n case 1:\r\n var3 = 23;\r\n break;\r\n\r\n case 2:\r\n var3 = 24;\r\n }\r\n\r\n if (var3 == -1)\r\n {\r\n var3 = 1;\r\n }\r\n\r\n return var3;\r\n }", "public static int offset_receiverNodeID() {\n return (16 / 8);\n }", "public boolean isInSubnet(Inet4Address address) {\n\t\tbyte[] sb = subnetAddress.getAddress();\n\t\tint subnet_int = ((sb[0] & 0xFF) << 24) |\n\t\t\t\t\t\t((sb[1] & 0xFF) << 16) |\n\t\t\t\t\t\t((sb[2] & 0xFF) << 8) |\n\t\t\t\t\t\t((sb[3] & 0xFF) << 0);\n\t\t\n\t\tbyte[] b = address.getAddress();\n\t\tint address_int = ((b[0] & 0xFF) << 24) |\n\t\t\t\t\t\t((b[1] & 0xFF) << 16) |\n\t\t\t\t\t\t((b[2] & 0xFF) << 8) |\n\t\t\t\t\t\t((b[3] & 0xFF) << 0);\n\t\t\n\t\tint bitmask = -1 << (32 - mask);\n\t\t\n\t\tif ((subnet_int & bitmask) == (address_int & bitmask)) {\n\t\t\treturn true;\n\t\t}else {\n\t\t\treturn false;\n\t\t}\n\t}", "int reservedPacketCircuitType();", "int getSendid();", "int getMemberId2();", "static private int makeInt(int b3, int b2, int b1, int b0) {\n return (((b3 ) << 24) |\n ((b2 & 0xff) << 16) |\n ((b1 & 0xff) << 8) |\n ((b0 & 0xff) ));\n }", "Expression subnet(Expression p) {\n\t\treturn p.join(subnet);\n\t}", "int getPinNumber();", "public byte getId() {\n return 8;\n }", "public interface CallId {\r\n}", "public int getLocalSlotNumber();", "public String getCidr() {\n return cidr;\n }", "private int toPdpType(String type) {\n char c;\n int hashCode = type.hashCode();\n if (hashCode == -2128542875) {\n if (type.equals(\"IPV4V6\")) {\n c = 2;\n switch (c) {\n case 0:\n break;\n case 1:\n break;\n case 2:\n break;\n case 3:\n break;\n }\n }\n } else if (hashCode == 2343) {\n if (type.equals(\"IP\")) {\n c = 0;\n switch (c) {\n case 0:\n break;\n case 1:\n break;\n case 2:\n break;\n case 3:\n break;\n }\n }\n } else if (hashCode == 79440) {\n if (type.equals(\"PPP\")) {\n c = 3;\n switch (c) {\n case 0:\n break;\n case 1:\n break;\n case 2:\n break;\n case 3:\n break;\n }\n }\n } else if (hashCode == 2254343 && type.equals(\"IPV6\")) {\n c = 1;\n switch (c) {\n case 0:\n return 1;\n case 1:\n return 2;\n case 2:\n return 3;\n case 3:\n return 4;\n default:\n Rlog.e(TAG, \"Unknown type: \" + type);\n return 0;\n }\n }\n c = 65535;\n switch (c) {\n case 0:\n break;\n case 1:\n break;\n case 2:\n break;\n case 3:\n break;\n }\n }", "public String long_ip(long numero_ip){\n String str_num_ip=\"\";\n for(int i=3; i>=0; i--){\n str_num_ip += (0b1111_1111 & (numero_ip >> (i*8) )) + (i!=0? \".\": \"\");\n }\n return str_num_ip;\n }", "int getVbNum();" ]
[ "0.77809644", "0.77809644", "0.77809644", "0.68461734", "0.6844633", "0.6844633", "0.66626906", "0.6474268", "0.6279669", "0.6279669", "0.6279669", "0.62370723", "0.6060043", "0.59837335", "0.59434897", "0.5932656", "0.57812864", "0.5715183", "0.5715183", "0.5715183", "0.5715183", "0.55572236", "0.5503398", "0.54916567", "0.5487927", "0.5487927", "0.5484486", "0.5478088", "0.5442048", "0.54206026", "0.54137975", "0.5392619", "0.5392619", "0.5365798", "0.5291091", "0.528957", "0.5283083", "0.5282385", "0.5268595", "0.5252715", "0.5225848", "0.5209509", "0.52053666", "0.5204332", "0.51964515", "0.5178672", "0.5174273", "0.51621306", "0.51621306", "0.51621306", "0.51385176", "0.51312715", "0.5110987", "0.5107079", "0.51043403", "0.50909513", "0.50909513", "0.5090002", "0.5086444", "0.5068104", "0.50598544", "0.5057555", "0.50325215", "0.5030072", "0.5026617", "0.5016135", "0.5011811", "0.50008655", "0.50008655", "0.49958766", "0.49948108", "0.49931207", "0.49834228", "0.4979516", "0.49757165", "0.49757165", "0.49736804", "0.49645814", "0.4964548", "0.49564615", "0.49549797", "0.49375892", "0.4935244", "0.4930095", "0.4928708", "0.49278957", "0.4926811", "0.4923332", "0.49175766", "0.49155587", "0.4915269", "0.49088785", "0.4906809", "0.49064866", "0.48997712", "0.48915312", "0.4886508", "0.48773444" ]
0.6900688
5
int32 subnetId = 2;
public Builder setSubnetId(int value) { subnetId_ = value; onChanged(); return this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "int getSubnetId();", "int getSubnetId();", "int getSubnetId();", "@java.lang.Override\n public int getSubnetId() {\n return subnetId_;\n }", "@java.lang.Override\n public int getSubnetId() {\n return subnetId_;\n }", "@java.lang.Override\n public int getSubnetId() {\n return subnetId_;\n }", "@java.lang.Override\n public int getSubnetId() {\n return subnetId_;\n }", "@java.lang.Override\n public int getSubnetId() {\n return subnetId_;\n }", "@java.lang.Override\n public int getSubnetId() {\n return subnetId_;\n }", "public String subnetId() {\n return this.subnetId;\n }", "public String getSubnetId() {\n return this.SubnetId;\n }", "int netid() {\n\t\t\treturn address & (-1 << mask);\n\t\t}", "entities.Torrent.SubnetRequest getSubnetRequest();", "@Required\n public String getSubnet() {\n return subnet;\n }", "java.lang.String getSubnet();", "com.google.protobuf.ByteString getSubnetBytes();", "int getS1Ip();", "int getSnId();", "int getSnId();", "int getSnId();", "int getSnId();", "public void setSubnetId(String SubnetId) {\n this.SubnetId = SubnetId;\n }", "@Test\n public void testToInt() {\n Ip4Address ipAddress;\n\n ipAddress = Ip4Address.valueOf(\"1.2.3.4\");\n assertThat(ipAddress.toInt(), is(0x01020304));\n\n ipAddress = Ip4Address.valueOf(\"0.0.0.0\");\n assertThat(ipAddress.toInt(), is(0));\n\n ipAddress = Ip4Address.valueOf(\"255.255.255.255\");\n assertThat(ipAddress.toInt(), is(-1));\n }", "int getPacketId();", "int getInIp();", "int getInIp();", "private boolean isSubnetInUse(String subnetId) {\n return false;\n }", "entities.Torrent.SubnetResponse getSubnetResponse();", "IntExpression netid(Expression p) {\n\t\treturn addr(p).and(explicitMask(p));\n\t}", "public String subnetName() {\n return this.subnetName;\n }", "public ApiEntityReference subnet() {\n return this.subnet;\n }", "int getPrimarySnId();", "int getPrimarySnId();", "int getReceiverid();", "public SubnetInner subnet() {\n return this.subnet;\n }", "public String getSubnetArn() {\n return this.subnetArn;\n }", "public interface Constants {\n public static final short NET_MASK_MAX_LENGTH = 32;\n}", "public byte getId() {\n return 2;\n }", "@Test\n public void testAddress()\n {\n System.out.println(\"address\");\n int addr = 16893;\n System.out.println(N2TCode.address(addr));\n System.out.println(Integer.toBinaryString(addr));\n }", "public BigInteger getNetworkId() {\n return networkId;\n }", "private void sumbit(String ip){\n }", "int getBlockId();", "public final String getNetId( )\r\n {\r\n return netId;\r\n }", "Integer getSesscode();", "public long getUInt() { return bb.getInt() & 0xffff_ffffL; }", "int getSourceSnId();", "@Test\n public void testValueOfForIntegerIPv4() {\n Ip4Address ipAddress;\n\n ipAddress = Ip4Address.valueOf(0x01020304);\n assertThat(ipAddress.toString(), is(\"1.2.3.4\"));\n\n ipAddress = Ip4Address.valueOf(0);\n assertThat(ipAddress.toString(), is(\"0.0.0.0\"));\n\n ipAddress = Ip4Address.valueOf(0xffffffff);\n assertThat(ipAddress.toString(), is(\"255.255.255.255\"));\n }", "int getIp();", "int getIp();", "int getIp();", "private int getNumberBase(String n1){\n return Integer.parseUnsignedInt(n1, base);\n }", "int decodeInt();", "@Override\n\tpublic Long getNetId() {\n\t\treturn null;\n\t}", "int getAddr();", "@Test\n public void testLocalCircuitId() throws Exception {\n isisNeighbor.setLocalCircuitId((byte) 1);\n result4 = isisNeighbor.localCircuitId();\n assertThat(result4, is((byte) 1));\n }", "int getBlockNumber();", "int getBlockNumber();", "int getClientIpV4();", "Integer destinationPort();", "public static void main(String[] args) {\n byte[] ip = new byte[]{(byte) 192, (byte) 168, 1, 2};\n byte[] mask = new byte[]{(byte) 255, (byte) 255, (byte) 254, 0};\n byte[] netAddress = getNetAddress(ip, mask);\n print(ip); //11000000 10101000 00000001 00000010\n print(mask); //11111111 11111111 11111110 00000000\n print(netAddress); //11000000 10101000 00000000 00000000\n }", "public int getId() {\n\t\treturn config >> 8;\n\t}", "byte[] networkMask();", "public int getOctet(int position)\n {\n position = position > 3 ? 3 : position;\n position = position < 0 ? 0 : position;\n \n return address[position];\n }", "public Inet4Address getNetworkAddress() {\n\t\treturn subnetAddress;\n\t}", "interface MyConfig {\n int teamNumber = 5;\n int basePort = 5000;\n int udpPort = teamNumber + basePort;\n String interfaceName = \"wlan0\";\n // String broadcastAddress = \"192.168.24.255\";\n //String broadcastAddress = \"localhost\";\n}", "Uint32 getType();", "private int getSSN (){\n return ssn;\n }", "java.lang.String getSnIp();", "java.lang.String getSnIp();", "UUID getNegotiationId();", "Integer getNLNDccp();", "public int GetID()\n {\n return blockType.GetID();\n }", "private static int parseInt(String sn) {\n\t\treturn Integer.parseInt(sn.substring(2), 16);\n\t}", "private void setS1Ip(int value) {\n \n s1Ip_ = value;\n }", "private void setInIp(int value) {\n \n inIp_ = value;\n }", "private void setInIp(int value) {\n \n inIp_ = value;\n }", "static int lanPort(String xxx) {\n\t\treturn 20000 + Integer.parseInt(xxx);\n\t}", "public int getBlockTextureFromSide(int var1)\r\n {\r\n return var1 == 1 ? 72 : (var1 == 0 ? 74 : 73);\r\n }", "BigInteger getTelefone();", "entities.Torrent.SubnetRequestOrBuilder getSubnetRequestOrBuilder();", "boolean hasSubnetRequest();", "String getIdNumber();", "public int a(int var1, int var2)\r\n {\r\n byte var3 = -1;\r\n\r\n switch (var2)\r\n {\r\n case 0:\r\n var3 = 22;\r\n break;\r\n\r\n case 1:\r\n var3 = 23;\r\n break;\r\n\r\n case 2:\r\n var3 = 24;\r\n }\r\n\r\n if (var3 == -1)\r\n {\r\n var3 = 1;\r\n }\r\n\r\n return var3;\r\n }", "public static int offset_receiverNodeID() {\n return (16 / 8);\n }", "public boolean isInSubnet(Inet4Address address) {\n\t\tbyte[] sb = subnetAddress.getAddress();\n\t\tint subnet_int = ((sb[0] & 0xFF) << 24) |\n\t\t\t\t\t\t((sb[1] & 0xFF) << 16) |\n\t\t\t\t\t\t((sb[2] & 0xFF) << 8) |\n\t\t\t\t\t\t((sb[3] & 0xFF) << 0);\n\t\t\n\t\tbyte[] b = address.getAddress();\n\t\tint address_int = ((b[0] & 0xFF) << 24) |\n\t\t\t\t\t\t((b[1] & 0xFF) << 16) |\n\t\t\t\t\t\t((b[2] & 0xFF) << 8) |\n\t\t\t\t\t\t((b[3] & 0xFF) << 0);\n\t\t\n\t\tint bitmask = -1 << (32 - mask);\n\t\t\n\t\tif ((subnet_int & bitmask) == (address_int & bitmask)) {\n\t\t\treturn true;\n\t\t}else {\n\t\t\treturn false;\n\t\t}\n\t}", "int reservedPacketCircuitType();", "int getSendid();", "int getMemberId2();", "static private int makeInt(int b3, int b2, int b1, int b0) {\n return (((b3 ) << 24) |\n ((b2 & 0xff) << 16) |\n ((b1 & 0xff) << 8) |\n ((b0 & 0xff) ));\n }", "Expression subnet(Expression p) {\n\t\treturn p.join(subnet);\n\t}", "int getPinNumber();", "public byte getId() {\n return 8;\n }", "public interface CallId {\r\n}", "public int getLocalSlotNumber();", "public String getCidr() {\n return cidr;\n }", "private int toPdpType(String type) {\n char c;\n int hashCode = type.hashCode();\n if (hashCode == -2128542875) {\n if (type.equals(\"IPV4V6\")) {\n c = 2;\n switch (c) {\n case 0:\n break;\n case 1:\n break;\n case 2:\n break;\n case 3:\n break;\n }\n }\n } else if (hashCode == 2343) {\n if (type.equals(\"IP\")) {\n c = 0;\n switch (c) {\n case 0:\n break;\n case 1:\n break;\n case 2:\n break;\n case 3:\n break;\n }\n }\n } else if (hashCode == 79440) {\n if (type.equals(\"PPP\")) {\n c = 3;\n switch (c) {\n case 0:\n break;\n case 1:\n break;\n case 2:\n break;\n case 3:\n break;\n }\n }\n } else if (hashCode == 2254343 && type.equals(\"IPV6\")) {\n c = 1;\n switch (c) {\n case 0:\n return 1;\n case 1:\n return 2;\n case 2:\n return 3;\n case 3:\n return 4;\n default:\n Rlog.e(TAG, \"Unknown type: \" + type);\n return 0;\n }\n }\n c = 65535;\n switch (c) {\n case 0:\n break;\n case 1:\n break;\n case 2:\n break;\n case 3:\n break;\n }\n }", "public String long_ip(long numero_ip){\n String str_num_ip=\"\";\n for(int i=3; i>=0; i--){\n str_num_ip += (0b1111_1111 & (numero_ip >> (i*8) )) + (i!=0? \".\": \"\");\n }\n return str_num_ip;\n }", "int getVbNum();" ]
[ "0.77809644", "0.77809644", "0.77809644", "0.6901655", "0.6901655", "0.6900688", "0.68461734", "0.6844633", "0.6844633", "0.66626906", "0.6474268", "0.62370723", "0.6060043", "0.59837335", "0.59434897", "0.5932656", "0.57812864", "0.5715183", "0.5715183", "0.5715183", "0.5715183", "0.55572236", "0.5503398", "0.54916567", "0.5487927", "0.5487927", "0.5484486", "0.5478088", "0.5442048", "0.54206026", "0.54137975", "0.5392619", "0.5392619", "0.5365798", "0.5291091", "0.528957", "0.5283083", "0.5282385", "0.5268595", "0.5252715", "0.5225848", "0.5209509", "0.52053666", "0.5204332", "0.51964515", "0.5178672", "0.5174273", "0.51621306", "0.51621306", "0.51621306", "0.51385176", "0.51312715", "0.5110987", "0.5107079", "0.51043403", "0.50909513", "0.50909513", "0.5090002", "0.5086444", "0.5068104", "0.50598544", "0.5057555", "0.50325215", "0.5030072", "0.5026617", "0.5016135", "0.5011811", "0.50008655", "0.50008655", "0.49958766", "0.49948108", "0.49931207", "0.49834228", "0.4979516", "0.49757165", "0.49757165", "0.49736804", "0.49645814", "0.4964548", "0.49564615", "0.49549797", "0.49375892", "0.4935244", "0.4930095", "0.4928708", "0.49278957", "0.4926811", "0.4923332", "0.49175766", "0.49155587", "0.4915269", "0.49088785", "0.4906809", "0.49064866", "0.48997712", "0.48915312", "0.4886508", "0.48773444" ]
0.6279669
12
int32 subnetId = 2;
public Builder clearSubnetId() { subnetId_ = 0; onChanged(); return this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "int getSubnetId();", "int getSubnetId();", "int getSubnetId();", "@java.lang.Override\n public int getSubnetId() {\n return subnetId_;\n }", "@java.lang.Override\n public int getSubnetId() {\n return subnetId_;\n }", "@java.lang.Override\n public int getSubnetId() {\n return subnetId_;\n }", "@java.lang.Override\n public int getSubnetId() {\n return subnetId_;\n }", "@java.lang.Override\n public int getSubnetId() {\n return subnetId_;\n }", "@java.lang.Override\n public int getSubnetId() {\n return subnetId_;\n }", "public String subnetId() {\n return this.subnetId;\n }", "public String getSubnetId() {\n return this.SubnetId;\n }", "public Builder setSubnetId(int value) {\n\n subnetId_ = value;\n onChanged();\n return this;\n }", "public Builder setSubnetId(int value) {\n\n subnetId_ = value;\n onChanged();\n return this;\n }", "public Builder setSubnetId(int value) {\n\n subnetId_ = value;\n onChanged();\n return this;\n }", "int netid() {\n\t\t\treturn address & (-1 << mask);\n\t\t}", "entities.Torrent.SubnetRequest getSubnetRequest();", "@Required\n public String getSubnet() {\n return subnet;\n }", "java.lang.String getSubnet();", "com.google.protobuf.ByteString getSubnetBytes();", "int getS1Ip();", "int getSnId();", "int getSnId();", "int getSnId();", "int getSnId();", "public void setSubnetId(String SubnetId) {\n this.SubnetId = SubnetId;\n }", "@Test\n public void testToInt() {\n Ip4Address ipAddress;\n\n ipAddress = Ip4Address.valueOf(\"1.2.3.4\");\n assertThat(ipAddress.toInt(), is(0x01020304));\n\n ipAddress = Ip4Address.valueOf(\"0.0.0.0\");\n assertThat(ipAddress.toInt(), is(0));\n\n ipAddress = Ip4Address.valueOf(\"255.255.255.255\");\n assertThat(ipAddress.toInt(), is(-1));\n }", "int getPacketId();", "int getInIp();", "int getInIp();", "private boolean isSubnetInUse(String subnetId) {\n return false;\n }", "entities.Torrent.SubnetResponse getSubnetResponse();", "IntExpression netid(Expression p) {\n\t\treturn addr(p).and(explicitMask(p));\n\t}", "public String subnetName() {\n return this.subnetName;\n }", "public ApiEntityReference subnet() {\n return this.subnet;\n }", "int getPrimarySnId();", "int getPrimarySnId();", "int getReceiverid();", "public SubnetInner subnet() {\n return this.subnet;\n }", "public String getSubnetArn() {\n return this.subnetArn;\n }", "public interface Constants {\n public static final short NET_MASK_MAX_LENGTH = 32;\n}", "public byte getId() {\n return 2;\n }", "@Test\n public void testAddress()\n {\n System.out.println(\"address\");\n int addr = 16893;\n System.out.println(N2TCode.address(addr));\n System.out.println(Integer.toBinaryString(addr));\n }", "public BigInteger getNetworkId() {\n return networkId;\n }", "private void sumbit(String ip){\n }", "int getBlockId();", "public final String getNetId( )\r\n {\r\n return netId;\r\n }", "Integer getSesscode();", "public long getUInt() { return bb.getInt() & 0xffff_ffffL; }", "int getSourceSnId();", "@Test\n public void testValueOfForIntegerIPv4() {\n Ip4Address ipAddress;\n\n ipAddress = Ip4Address.valueOf(0x01020304);\n assertThat(ipAddress.toString(), is(\"1.2.3.4\"));\n\n ipAddress = Ip4Address.valueOf(0);\n assertThat(ipAddress.toString(), is(\"0.0.0.0\"));\n\n ipAddress = Ip4Address.valueOf(0xffffffff);\n assertThat(ipAddress.toString(), is(\"255.255.255.255\"));\n }", "int getIp();", "int getIp();", "int getIp();", "private int getNumberBase(String n1){\n return Integer.parseUnsignedInt(n1, base);\n }", "int decodeInt();", "@Override\n\tpublic Long getNetId() {\n\t\treturn null;\n\t}", "int getAddr();", "@Test\n public void testLocalCircuitId() throws Exception {\n isisNeighbor.setLocalCircuitId((byte) 1);\n result4 = isisNeighbor.localCircuitId();\n assertThat(result4, is((byte) 1));\n }", "int getBlockNumber();", "int getBlockNumber();", "int getClientIpV4();", "Integer destinationPort();", "public static void main(String[] args) {\n byte[] ip = new byte[]{(byte) 192, (byte) 168, 1, 2};\n byte[] mask = new byte[]{(byte) 255, (byte) 255, (byte) 254, 0};\n byte[] netAddress = getNetAddress(ip, mask);\n print(ip); //11000000 10101000 00000001 00000010\n print(mask); //11111111 11111111 11111110 00000000\n print(netAddress); //11000000 10101000 00000000 00000000\n }", "public int getId() {\n\t\treturn config >> 8;\n\t}", "byte[] networkMask();", "public int getOctet(int position)\n {\n position = position > 3 ? 3 : position;\n position = position < 0 ? 0 : position;\n \n return address[position];\n }", "public Inet4Address getNetworkAddress() {\n\t\treturn subnetAddress;\n\t}", "interface MyConfig {\n int teamNumber = 5;\n int basePort = 5000;\n int udpPort = teamNumber + basePort;\n String interfaceName = \"wlan0\";\n // String broadcastAddress = \"192.168.24.255\";\n //String broadcastAddress = \"localhost\";\n}", "Uint32 getType();", "private int getSSN (){\n return ssn;\n }", "java.lang.String getSnIp();", "java.lang.String getSnIp();", "UUID getNegotiationId();", "Integer getNLNDccp();", "public int GetID()\n {\n return blockType.GetID();\n }", "private static int parseInt(String sn) {\n\t\treturn Integer.parseInt(sn.substring(2), 16);\n\t}", "private void setS1Ip(int value) {\n \n s1Ip_ = value;\n }", "private void setInIp(int value) {\n \n inIp_ = value;\n }", "private void setInIp(int value) {\n \n inIp_ = value;\n }", "static int lanPort(String xxx) {\n\t\treturn 20000 + Integer.parseInt(xxx);\n\t}", "public int getBlockTextureFromSide(int var1)\r\n {\r\n return var1 == 1 ? 72 : (var1 == 0 ? 74 : 73);\r\n }", "BigInteger getTelefone();", "entities.Torrent.SubnetRequestOrBuilder getSubnetRequestOrBuilder();", "boolean hasSubnetRequest();", "String getIdNumber();", "public int a(int var1, int var2)\r\n {\r\n byte var3 = -1;\r\n\r\n switch (var2)\r\n {\r\n case 0:\r\n var3 = 22;\r\n break;\r\n\r\n case 1:\r\n var3 = 23;\r\n break;\r\n\r\n case 2:\r\n var3 = 24;\r\n }\r\n\r\n if (var3 == -1)\r\n {\r\n var3 = 1;\r\n }\r\n\r\n return var3;\r\n }", "public static int offset_receiverNodeID() {\n return (16 / 8);\n }", "public boolean isInSubnet(Inet4Address address) {\n\t\tbyte[] sb = subnetAddress.getAddress();\n\t\tint subnet_int = ((sb[0] & 0xFF) << 24) |\n\t\t\t\t\t\t((sb[1] & 0xFF) << 16) |\n\t\t\t\t\t\t((sb[2] & 0xFF) << 8) |\n\t\t\t\t\t\t((sb[3] & 0xFF) << 0);\n\t\t\n\t\tbyte[] b = address.getAddress();\n\t\tint address_int = ((b[0] & 0xFF) << 24) |\n\t\t\t\t\t\t((b[1] & 0xFF) << 16) |\n\t\t\t\t\t\t((b[2] & 0xFF) << 8) |\n\t\t\t\t\t\t((b[3] & 0xFF) << 0);\n\t\t\n\t\tint bitmask = -1 << (32 - mask);\n\t\t\n\t\tif ((subnet_int & bitmask) == (address_int & bitmask)) {\n\t\t\treturn true;\n\t\t}else {\n\t\t\treturn false;\n\t\t}\n\t}", "int reservedPacketCircuitType();", "int getSendid();", "int getMemberId2();", "static private int makeInt(int b3, int b2, int b1, int b0) {\n return (((b3 ) << 24) |\n ((b2 & 0xff) << 16) |\n ((b1 & 0xff) << 8) |\n ((b0 & 0xff) ));\n }", "Expression subnet(Expression p) {\n\t\treturn p.join(subnet);\n\t}", "int getPinNumber();", "public byte getId() {\n return 8;\n }", "public interface CallId {\r\n}", "public int getLocalSlotNumber();", "public String getCidr() {\n return cidr;\n }", "private int toPdpType(String type) {\n char c;\n int hashCode = type.hashCode();\n if (hashCode == -2128542875) {\n if (type.equals(\"IPV4V6\")) {\n c = 2;\n switch (c) {\n case 0:\n break;\n case 1:\n break;\n case 2:\n break;\n case 3:\n break;\n }\n }\n } else if (hashCode == 2343) {\n if (type.equals(\"IP\")) {\n c = 0;\n switch (c) {\n case 0:\n break;\n case 1:\n break;\n case 2:\n break;\n case 3:\n break;\n }\n }\n } else if (hashCode == 79440) {\n if (type.equals(\"PPP\")) {\n c = 3;\n switch (c) {\n case 0:\n break;\n case 1:\n break;\n case 2:\n break;\n case 3:\n break;\n }\n }\n } else if (hashCode == 2254343 && type.equals(\"IPV6\")) {\n c = 1;\n switch (c) {\n case 0:\n return 1;\n case 1:\n return 2;\n case 2:\n return 3;\n case 3:\n return 4;\n default:\n Rlog.e(TAG, \"Unknown type: \" + type);\n return 0;\n }\n }\n c = 65535;\n switch (c) {\n case 0:\n break;\n case 1:\n break;\n case 2:\n break;\n case 3:\n break;\n }\n }", "public String long_ip(long numero_ip){\n String str_num_ip=\"\";\n for(int i=3; i>=0; i--){\n str_num_ip += (0b1111_1111 & (numero_ip >> (i*8) )) + (i!=0? \".\": \"\");\n }\n return str_num_ip;\n }", "int getVbNum();" ]
[ "0.77809644", "0.77809644", "0.77809644", "0.6901655", "0.6901655", "0.6900688", "0.68461734", "0.6844633", "0.6844633", "0.66626906", "0.6474268", "0.6279669", "0.6279669", "0.6279669", "0.62370723", "0.6060043", "0.59837335", "0.59434897", "0.5932656", "0.57812864", "0.5715183", "0.5715183", "0.5715183", "0.5715183", "0.55572236", "0.5503398", "0.54916567", "0.5487927", "0.5487927", "0.5484486", "0.5478088", "0.5442048", "0.54206026", "0.54137975", "0.5392619", "0.5392619", "0.5365798", "0.5291091", "0.528957", "0.5283083", "0.5282385", "0.5268595", "0.5252715", "0.5225848", "0.5209509", "0.52053666", "0.5204332", "0.51964515", "0.5178672", "0.5174273", "0.51621306", "0.51621306", "0.51621306", "0.51385176", "0.51312715", "0.5110987", "0.5107079", "0.51043403", "0.50909513", "0.50909513", "0.5090002", "0.5086444", "0.5068104", "0.50598544", "0.5057555", "0.50325215", "0.5030072", "0.5026617", "0.5016135", "0.5011811", "0.50008655", "0.50008655", "0.49958766", "0.49948108", "0.49931207", "0.49834228", "0.4979516", "0.49757165", "0.49757165", "0.49736804", "0.49645814", "0.4964548", "0.49564615", "0.49549797", "0.49375892", "0.4935244", "0.4930095", "0.4928708", "0.49278957", "0.4926811", "0.4923332", "0.49175766", "0.49155587", "0.4915269", "0.49088785", "0.4906809", "0.49064866", "0.48997712", "0.48915312", "0.4886508", "0.48773444" ]
0.0
-1
.Status status = 1;
int getStatusValue();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setStatus(String status) { this.status = status; }", "void setStatus(STATUS status);", "public void setStatus(EnumVar status) {\n this.status = status;\n }", "public void setStatus(Status status) {\r\n\t this.status = status;\r\n\t }", "public void setStatus(Integer status) {\r\n this.status = status;\r\n }", "public void setStatus(Integer status) {\r\n this.status = status;\r\n }", "void setStatus(int status);", "public void setStatus(Byte status) {\r\n this.status = status;\r\n }", "public void setStatus(Byte status) {\r\n this.status = status;\r\n }", "public void setStatus(Byte status) {\r\n this.status = status;\r\n }", "public void setStatus(Byte status) {\r\n this.status = status;\r\n }", "public void setStatus(Byte status) {\r\n this.status = status;\r\n }", "public void setStatus(Byte status) {\r\n this.status = status;\r\n }", "public void setStatus(Byte status) {\r\n this.status = status;\r\n }", "public void setStatus(int status){\r\n\t\tthis.status=status;\r\n\t}", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(int status);", "public void setStatus(int status);", "public void setStatus(Boolean s){ status = s;}", "public void setStatus(int status) {\n STATUS = status;\n }", "public void setStatus(Status newStatus){\n status = newStatus;\n }", "public void setStatus(String stat)\n {\n status = stat;\n }", "private void setStatus(com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n status_ = value;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(long status) {\r\n this.status = status;\r\n }", "public void setStatus(Integer status) {\n\t\tthis.status = status;\n\t}", "public void setStatus(Integer status) {\n\t\tthis.status = status;\n\t}", "public void setStatus(String status) {\r\n this.status = status;\r\n }", "public void setStatus(java.lang.Object status) {\n this.status = status;\n }", "public void setStatus(Status status)\n {\n this.status = status;\n }", "public void setgetStatus()\r\n\t{\r\n\t\tthis.status = 'S';\r\n\t}", "public void setStatus(Byte status) {\r\n\t\tthis.status = status;\r\n\t}", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "@Override\n\t\tpublic void setStatus(int status) {\n\t\t\t\n\t\t}", "public void setStatus(StatusEnum status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n\t\tthis.status = status;\n\t}", "public void setStatus(Byte status) {\n\t\tthis.status = status;\n\t}", "public void setStatus(int status) {\n this.status = status;\n }", "public void setStatus(int status) {\n this.status = status;\n }", "public void setStatus(Status status) {\r\n this.status = status;\r\n }", "public void setStatus(String status) {\r\n this.status = status;\r\n }", "public void setStatus(String status) {\r\n this.status = status;\r\n }", "public void setStatus(Short status) {\n this.status = status;\n }", "public void setStatus(STATUS status) {\n this.status = status;\n }", "void setStatus(String status);", "public void setStatus(Short status) {\n\t\tthis.status = status;\n\t}", "public void setStatus(Short status) {\n\t\tthis.status = status;\n\t}", "public void setStatus(int v) \n {\n \n if (this.status != v)\n {\n this.status = v;\n setModified(true);\n }\n \n \n }", "public void setStatus( Short status ) {\n this.status = status;\n }", "public void setStatus(String newStatus){\n\n //assigns the value of newStatus to the status field\n this.status = newStatus;\n }", "public Status getStatus(){\n return status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(Status status) {\n this.status = status;\n }", "public void setStatus(Status status) {\n this.status = status;\n }", "public void setStatus(Status status) {\n this.status = status;\n }" ]
[ "0.7656765", "0.76468766", "0.7565312", "0.7561203", "0.75449044", "0.75449044", "0.75349724", "0.74959093", "0.74959093", "0.74959093", "0.74959093", "0.74959093", "0.74959093", "0.74959093", "0.7482147", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.74783385", "0.74783385", "0.746719", "0.74658287", "0.746098", "0.7456925", "0.7452718", "0.7435934", "0.7435934", "0.7435934", "0.7435934", "0.7435934", "0.7435934", "0.7435934", "0.7435934", "0.7435934", "0.7435934", "0.7435934", "0.7435934", "0.7435934", "0.7435248", "0.7432568", "0.7432568", "0.7425985", "0.74143654", "0.74118876", "0.7398544", "0.7398282", "0.73973185", "0.73973185", "0.7396562", "0.73950607", "0.7392215", "0.7392215", "0.7382456", "0.7382456", "0.7378742", "0.73726434", "0.73726434", "0.7368736", "0.73626804", "0.7351154", "0.7345713", "0.7345713", "0.73451585", "0.7332328", "0.7329264", "0.73258084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.728639", "0.728639", "0.728639" ]
0.0
-1
.Status status = 1;
entities.Torrent.Status getStatus();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setStatus(String status) { this.status = status; }", "void setStatus(STATUS status);", "public void setStatus(EnumVar status) {\n this.status = status;\n }", "public void setStatus(Status status) {\r\n\t this.status = status;\r\n\t }", "public void setStatus(Integer status) {\r\n this.status = status;\r\n }", "public void setStatus(Integer status) {\r\n this.status = status;\r\n }", "void setStatus(int status);", "public void setStatus(Byte status) {\r\n this.status = status;\r\n }", "public void setStatus(Byte status) {\r\n this.status = status;\r\n }", "public void setStatus(Byte status) {\r\n this.status = status;\r\n }", "public void setStatus(Byte status) {\r\n this.status = status;\r\n }", "public void setStatus(Byte status) {\r\n this.status = status;\r\n }", "public void setStatus(Byte status) {\r\n this.status = status;\r\n }", "public void setStatus(Byte status) {\r\n this.status = status;\r\n }", "public void setStatus(int status){\r\n\t\tthis.status=status;\r\n\t}", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(int status);", "public void setStatus(int status);", "public void setStatus(Boolean s){ status = s;}", "public void setStatus(int status) {\n STATUS = status;\n }", "public void setStatus(Status newStatus){\n status = newStatus;\n }", "public void setStatus(String stat)\n {\n status = stat;\n }", "private void setStatus(com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n status_ = value;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(long status) {\r\n this.status = status;\r\n }", "public void setStatus(Integer status) {\n\t\tthis.status = status;\n\t}", "public void setStatus(Integer status) {\n\t\tthis.status = status;\n\t}", "public void setStatus(String status) {\r\n this.status = status;\r\n }", "public void setStatus(java.lang.Object status) {\n this.status = status;\n }", "public void setStatus(Status status)\n {\n this.status = status;\n }", "public void setgetStatus()\r\n\t{\r\n\t\tthis.status = 'S';\r\n\t}", "public void setStatus(Byte status) {\r\n\t\tthis.status = status;\r\n\t}", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "@Override\n\t\tpublic void setStatus(int status) {\n\t\t\t\n\t\t}", "public void setStatus(StatusEnum status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n\t\tthis.status = status;\n\t}", "public void setStatus(Byte status) {\n\t\tthis.status = status;\n\t}", "public void setStatus(int status) {\n this.status = status;\n }", "public void setStatus(int status) {\n this.status = status;\n }", "public void setStatus(Status status) {\r\n this.status = status;\r\n }", "public void setStatus(String status) {\r\n this.status = status;\r\n }", "public void setStatus(String status) {\r\n this.status = status;\r\n }", "public void setStatus(Short status) {\n this.status = status;\n }", "public void setStatus(STATUS status) {\n this.status = status;\n }", "void setStatus(String status);", "public void setStatus(Short status) {\n\t\tthis.status = status;\n\t}", "public void setStatus(Short status) {\n\t\tthis.status = status;\n\t}", "public void setStatus(int v) \n {\n \n if (this.status != v)\n {\n this.status = v;\n setModified(true);\n }\n \n \n }", "public void setStatus( Short status ) {\n this.status = status;\n }", "public void setStatus(String newStatus){\n\n //assigns the value of newStatus to the status field\n this.status = newStatus;\n }", "public Status getStatus(){\n return status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(Status status) {\n this.status = status;\n }", "public void setStatus(Status status) {\n this.status = status;\n }", "public void setStatus(Status status) {\n this.status = status;\n }" ]
[ "0.7656765", "0.76468766", "0.7565312", "0.7561203", "0.75449044", "0.75449044", "0.75349724", "0.74959093", "0.74959093", "0.74959093", "0.74959093", "0.74959093", "0.74959093", "0.74959093", "0.7482147", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.74783385", "0.74783385", "0.746719", "0.74658287", "0.746098", "0.7456925", "0.7452718", "0.7435934", "0.7435934", "0.7435934", "0.7435934", "0.7435934", "0.7435934", "0.7435934", "0.7435934", "0.7435934", "0.7435934", "0.7435934", "0.7435934", "0.7435934", "0.7435248", "0.7432568", "0.7432568", "0.7425985", "0.74143654", "0.74118876", "0.7398544", "0.7398282", "0.73973185", "0.73973185", "0.7396562", "0.73950607", "0.7392215", "0.7392215", "0.7382456", "0.7382456", "0.7378742", "0.73726434", "0.73726434", "0.7368736", "0.73626804", "0.7351154", "0.7345713", "0.7345713", "0.73451585", "0.7332328", "0.7329264", "0.73258084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.728639", "0.728639", "0.728639" ]
0.0
-1
string errorMessage = 2;
java.lang.String getErrorMessage();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "String errorMessage();", "private void error(String string) {\n\t\r\n}", "String getErrorMessage();", "String getErrorMessage();", "String getError(int i) {\n if (i >= 0 & i < msgs.length)\n return msgs[i];\n else\n return \"Invalid Error Code\";\n }", "java.lang.String getError();", "java.lang.String getError();", "java.lang.String getError();", "void showErrorMsg(String string);", "String getGetErrorMessage();", "java.lang.String getErr();", "public String getErrorString()\r\n\t{\r\n\t\t\r\n\t\treturn ERROR_STRING;\r\n\t}", "public void error(String string) {\n\t\t\n\t}", "String getInvalidMessage();", "private static String getMessage(int code) {\n switch (code) {\n case ME_DIV_BY_ZERO:\n return \"Attempt to divide by zero.\";\n case ME_ASSIGNLITERAL:\n return \"Attempt to assign to a literal.\";\n case ME_NONVARASSIGN:\n return \"Attempt to assign to a non-variable.\";\n default:\n return \"Unknown error.\";\n }\n }", "String getErrorsString();", "public String error();", "public String getError() {\n\treturn mistake;\n }", "private String getErrorString() {\n\t\treturn \"GUID:ERROR:\" + mErrors[0][0]\n\t\t + \":\" + mErrors[1][0]\n\t\t + \":\" + mErrors[2][0]\n\t\t + \":\" + mErrors[3][0];\n\t}", "public String getErrorMessage() \r\n\t{\r\n\t\t\r\n\t\treturn errorMessage;\r\n\t\t\r\n\t}", "public java.lang.String getErrorMessage(){\n return localErrorMessage;\n }", "java.lang.String getErrmsg();", "public String getErrorString()\n\t{\n\t\treturn errorString;\n\t}", "public static String getLastErrorMessage()\r\n\t{\n\t\treturn lastAlert;\r\n\t}", "String getMessage();", "String getMessage();", "String getMessage();", "private int getErrorId(final String message) {\n\t\tif (isLowerCase(message)) {\n\t\t\treturn ERROR_LOWER_CASE;\n\t\t} else if (isUnunsedMacro(message)) {\n\t\t\treturn ERROR_UNUSED_MACRO;\n\t\t} else if (isUnunsedVariable(message)) {\n\t\t\treturn ERROR_UNUSED_VARIABLE;\n\t\t} else if (isEndLineSpace(message) || isNoSpace(message)) {\n\t\t\treturn ERROR_NO_SPACE;\n\t\t} else if (isOneSpace(message)) {\n\t\t\treturn ERROR_ONE_SPACE;\n\t\t} else {\n\t\t\treturn ERROR_INVALID;\n\t\t}\n\t}", "public String getErrorString(String message) {\n \t\treturn getString(new StringBuffer(\"error.\").append(message).toString());\n \t}", "String getErrorMessage(E input);", "public String errorMessage()\n {\n return new String(errorMessageAsBytes());\n }", "String Message ();", "public String errorMessage() {\n return errorMessage;\n }", "void SemErr(String str);", "public String getErrorMessage()\n {\n return errorMessage;\n }", "ErrorCodes(int code){\n this.code = code;\n //this.message = message;\n }", "int getErrorCode();", "public String getErrorCode();", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n if (bs.isValidUtf8()) {\n errorMessage_ = s;\n }\n return s;\n }\n }", "void showError(@StringRes int errorMessage);", "void showError(String errorMessage);", "private static int getErrorLine(String errmsg){\n\t\treturn Integer.parseInt(errmsg.substring(0,errmsg.indexOf(\":\")).substring(errmsg.substring(0,errmsg.indexOf(\":\")).lastIndexOf(\" \")+1));\n\t}", "public String errorMessage()\n {\n return edma_errorMsg;\n }", "public String getErrorMessage() {\r\n return this.errorMessage;\r\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public String errorMessage() {\n return this.errorMessage;\n }", "public String getErrorMessage() {\n\t\treturn errorMessage;\n\t}", "public int getError() {\n return error;\n }", "public String getErrorMessage() {\n return this.errorMessage;\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n java.lang.String s = ((com.google.protobuf.ByteString) ref)\n .toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "void setErrorMessage(String errorMessage);", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "static int errorMsg(int eCode)\n {\n if (eCode == 0) return 0;\n String message = \"\";\n switch (eCode){\n case 1: message = \"Division by zero\"; break;\n case 2: message = \"Non-matching parenthesis in function\"; break;\n case 3: message = \"Must enclose negative exponents in parentheses\"; break;\n case 4: message = \"Incorrect Operator Syntax\"; break;\n case 5: message = \"Rightfunctions must use parenthesis. (example: ABS(-2);\"; break;\n case 6: message = \"Unrecognized token in function srtring.\"; break;\n case 8: message = \"Can not raise negative number to a fractional power.\"; break;\n case 10:message = \"Input a real number with no operators\"; break;\n }\n JOptionPane.showMessageDialog(null, message, \"Error \"+eCode, JOptionPane.ERROR_MESSAGE);\n return 0;\n }", "public String getError() {\n return errMsg;\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n }\n }", "public String getMsgError() {\r\n\t\treturn msgError;\r\n\t}", "public String getErrorMessage() {\n return errorMessage;\n }", "public String getErrorMessage() {\n return errorMessage;\n }", "public String getErrorMessage() {\n return errorMessage;\n }", "String getFailureMessage();", "public int error() {\n return this.error;\n }", "public String getParseErrorMessage();", "public String getErrorMessage() {\n return ERROR_MESSAGE;\n }", "public String getError() {\r\n if (scriptError == null) return \"\";\r\n return scriptError;\r\n }", "private String getGUIErrorMsg(long errorcode) {\n\t\tif (errorcode == 0) {\n\t\t\treturn \"This popup shouldn't have launched!\";\n\t\t} else if (errorcode == 9) {\n\t\t\treturn \"Latitude input format incorrect!\\nValid Latitude values are -90 to 90 with negative values being south Latitude.\";\n\t\t} else if (errorcode == 10) {\n\t\t\treturn \"Longitude input format incorrect!\\nValid Longitude values are -180 to 180 with negative values being west latitude.\";\n\t\t} else if (errorcode == 11) {\n\t\t\treturn \"Date input format incorrect!\\nValid dates go <year>-<month>-<day>\\nValid month values are 1- 12 and valid day values are 1 - 31.\";\n\t\t} else if (errorcode == 12) {\n\t\t\treturn \"Time input format incorrect!\\nValid times go <hour>-<minute>-<second>\\nValid hour values are 0 - 23 and valid minute and second values are 0 - 59\";\n\t\t} else if (errorcode == 1) {\n\t\t\treturn \"Invalid latitude!\\nValid Latitude values are -90 to 90 with negative values being south Latitude.\";\n\t\t} else if (errorcode == 2) {\n\t\t\treturn \"Invalid Longitude!\\nValid Longitude values are -180 to 180 with negative values being west latitude.\";\n\t\t} else if (errorcode == 3) {\n\t\t\treturn \"Invalid Year!\\nValid year values are \" + Integer.MIN_VALUE + \" - \" + Integer.MAX_VALUE + \".\";\n\t\t} else if (errorcode == 4) {\n\t\t\treturn \"Invalid Month!\\nValid month values are 1 - 12\";\n\t\t} else if (errorcode == 5) {\n\t\t\treturn \"Invalid Day!\\nValid day values are 1 - 31\";\n\t\t} else if (errorcode == 6) {\n\t\t\treturn \"Invalid Hour!\\nValid hour values are 0 - 23\";\n\t\t} else if (errorcode == 7) {\n\t\t\treturn \"Invalid Minute!\\nValid minute values are 0 - 59\";\n\t\t} else if (errorcode == 8) {\n\t\t\treturn \"Invalid Second!\\nValid second values are 0 - 59\";\n\t\t} \n\t\treturn \"Undefined Error Message!\";\n\t}", "public void setErrorMsg(String text) {\n this.errorMsg = text;\n }", "public int getErrorNo() {\n return this.errorNo;\n }", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();" ]
[ "0.7234827", "0.68487597", "0.68242407", "0.68242407", "0.66320926", "0.6613902", "0.6613902", "0.6613902", "0.6587221", "0.6458624", "0.642881", "0.6387629", "0.6339448", "0.63337046", "0.6318866", "0.6310054", "0.6266495", "0.6207546", "0.6169787", "0.6162002", "0.61556125", "0.61209476", "0.6114965", "0.61042917", "0.60988075", "0.60988075", "0.60988075", "0.60916275", "0.60737956", "0.6044167", "0.60035205", "0.59917176", "0.59845275", "0.59643966", "0.5963419", "0.59538627", "0.5917793", "0.58881736", "0.58858836", "0.5880861", "0.58786815", "0.5865479", "0.5863698", "0.5842632", "0.583974", "0.583974", "0.583974", "0.583974", "0.583974", "0.583974", "0.583974", "0.58391654", "0.58391654", "0.58391654", "0.5837601", "0.5828023", "0.58268774", "0.58249444", "0.5820853", "0.5818837", "0.5808825", "0.5808012", "0.5803665", "0.57976645", "0.5796016", "0.57934284", "0.57934284", "0.57934284", "0.5786855", "0.57868457", "0.5785435", "0.578205", "0.576942", "0.57514906", "0.57502955", "0.5743453", "0.57404053", "0.57404053", "0.57404053", "0.57404053", "0.57404053", "0.57404053", "0.57404053", "0.57404053", "0.57404053", "0.57404053", "0.57404053", "0.57404053", "0.57404053" ]
0.65931696
12
string errorMessage = 2;
com.google.protobuf.ByteString getErrorMessageBytes();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "String errorMessage();", "private void error(String string) {\n\t\r\n}", "String getErrorMessage();", "String getErrorMessage();", "String getError(int i) {\n if (i >= 0 & i < msgs.length)\n return msgs[i];\n else\n return \"Invalid Error Code\";\n }", "java.lang.String getError();", "java.lang.String getError();", "java.lang.String getError();", "java.lang.String getErrorMessage();", "java.lang.String getErrorMessage();", "java.lang.String getErrorMessage();", "java.lang.String getErrorMessage();", "java.lang.String getErrorMessage();", "java.lang.String getErrorMessage();", "java.lang.String getErrorMessage();", "java.lang.String getErrorMessage();", "java.lang.String getErrorMessage();", "java.lang.String getErrorMessage();", "java.lang.String getErrorMessage();", "java.lang.String getErrorMessage();", "void showErrorMsg(String string);", "String getGetErrorMessage();", "java.lang.String getErr();", "public String getErrorString()\r\n\t{\r\n\t\t\r\n\t\treturn ERROR_STRING;\r\n\t}", "public void error(String string) {\n\t\t\n\t}", "String getInvalidMessage();", "private static String getMessage(int code) {\n switch (code) {\n case ME_DIV_BY_ZERO:\n return \"Attempt to divide by zero.\";\n case ME_ASSIGNLITERAL:\n return \"Attempt to assign to a literal.\";\n case ME_NONVARASSIGN:\n return \"Attempt to assign to a non-variable.\";\n default:\n return \"Unknown error.\";\n }\n }", "String getErrorsString();", "public String error();", "public String getError() {\n\treturn mistake;\n }", "private String getErrorString() {\n\t\treturn \"GUID:ERROR:\" + mErrors[0][0]\n\t\t + \":\" + mErrors[1][0]\n\t\t + \":\" + mErrors[2][0]\n\t\t + \":\" + mErrors[3][0];\n\t}", "public String getErrorMessage() \r\n\t{\r\n\t\t\r\n\t\treturn errorMessage;\r\n\t\t\r\n\t}", "public java.lang.String getErrorMessage(){\n return localErrorMessage;\n }", "java.lang.String getErrmsg();", "public String getErrorString()\n\t{\n\t\treturn errorString;\n\t}", "public static String getLastErrorMessage()\r\n\t{\n\t\treturn lastAlert;\r\n\t}", "String getMessage();", "String getMessage();", "String getMessage();", "private int getErrorId(final String message) {\n\t\tif (isLowerCase(message)) {\n\t\t\treturn ERROR_LOWER_CASE;\n\t\t} else if (isUnunsedMacro(message)) {\n\t\t\treturn ERROR_UNUSED_MACRO;\n\t\t} else if (isUnunsedVariable(message)) {\n\t\t\treturn ERROR_UNUSED_VARIABLE;\n\t\t} else if (isEndLineSpace(message) || isNoSpace(message)) {\n\t\t\treturn ERROR_NO_SPACE;\n\t\t} else if (isOneSpace(message)) {\n\t\t\treturn ERROR_ONE_SPACE;\n\t\t} else {\n\t\t\treturn ERROR_INVALID;\n\t\t}\n\t}", "public String getErrorString(String message) {\n \t\treturn getString(new StringBuffer(\"error.\").append(message).toString());\n \t}", "String getErrorMessage(E input);", "public String errorMessage()\n {\n return new String(errorMessageAsBytes());\n }", "String Message ();", "public String errorMessage() {\n return errorMessage;\n }", "void SemErr(String str);", "public String getErrorMessage()\n {\n return errorMessage;\n }", "ErrorCodes(int code){\n this.code = code;\n //this.message = message;\n }", "int getErrorCode();", "public String getErrorCode();", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n if (bs.isValidUtf8()) {\n errorMessage_ = s;\n }\n return s;\n }\n }", "void showError(@StringRes int errorMessage);", "void showError(String errorMessage);", "private static int getErrorLine(String errmsg){\n\t\treturn Integer.parseInt(errmsg.substring(0,errmsg.indexOf(\":\")).substring(errmsg.substring(0,errmsg.indexOf(\":\")).lastIndexOf(\" \")+1));\n\t}", "public String errorMessage()\n {\n return edma_errorMsg;\n }", "public String getErrorMessage() {\r\n return this.errorMessage;\r\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public String errorMessage() {\n return this.errorMessage;\n }", "public String getErrorMessage() {\n\t\treturn errorMessage;\n\t}", "public int getError() {\n return error;\n }", "public String getErrorMessage() {\n return this.errorMessage;\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n java.lang.String s = ((com.google.protobuf.ByteString) ref)\n .toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "void setErrorMessage(String errorMessage);", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "static int errorMsg(int eCode)\n {\n if (eCode == 0) return 0;\n String message = \"\";\n switch (eCode){\n case 1: message = \"Division by zero\"; break;\n case 2: message = \"Non-matching parenthesis in function\"; break;\n case 3: message = \"Must enclose negative exponents in parentheses\"; break;\n case 4: message = \"Incorrect Operator Syntax\"; break;\n case 5: message = \"Rightfunctions must use parenthesis. (example: ABS(-2);\"; break;\n case 6: message = \"Unrecognized token in function srtring.\"; break;\n case 8: message = \"Can not raise negative number to a fractional power.\"; break;\n case 10:message = \"Input a real number with no operators\"; break;\n }\n JOptionPane.showMessageDialog(null, message, \"Error \"+eCode, JOptionPane.ERROR_MESSAGE);\n return 0;\n }", "public String getError() {\n return errMsg;\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n }\n }", "public String getMsgError() {\r\n\t\treturn msgError;\r\n\t}", "public String getErrorMessage() {\n return errorMessage;\n }", "public String getErrorMessage() {\n return errorMessage;\n }", "public String getErrorMessage() {\n return errorMessage;\n }", "String getFailureMessage();", "public int error() {\n return this.error;\n }", "public String getParseErrorMessage();", "public String getErrorMessage() {\n return ERROR_MESSAGE;\n }", "public String getError() {\r\n if (scriptError == null) return \"\";\r\n return scriptError;\r\n }", "private String getGUIErrorMsg(long errorcode) {\n\t\tif (errorcode == 0) {\n\t\t\treturn \"This popup shouldn't have launched!\";\n\t\t} else if (errorcode == 9) {\n\t\t\treturn \"Latitude input format incorrect!\\nValid Latitude values are -90 to 90 with negative values being south Latitude.\";\n\t\t} else if (errorcode == 10) {\n\t\t\treturn \"Longitude input format incorrect!\\nValid Longitude values are -180 to 180 with negative values being west latitude.\";\n\t\t} else if (errorcode == 11) {\n\t\t\treturn \"Date input format incorrect!\\nValid dates go <year>-<month>-<day>\\nValid month values are 1- 12 and valid day values are 1 - 31.\";\n\t\t} else if (errorcode == 12) {\n\t\t\treturn \"Time input format incorrect!\\nValid times go <hour>-<minute>-<second>\\nValid hour values are 0 - 23 and valid minute and second values are 0 - 59\";\n\t\t} else if (errorcode == 1) {\n\t\t\treturn \"Invalid latitude!\\nValid Latitude values are -90 to 90 with negative values being south Latitude.\";\n\t\t} else if (errorcode == 2) {\n\t\t\treturn \"Invalid Longitude!\\nValid Longitude values are -180 to 180 with negative values being west latitude.\";\n\t\t} else if (errorcode == 3) {\n\t\t\treturn \"Invalid Year!\\nValid year values are \" + Integer.MIN_VALUE + \" - \" + Integer.MAX_VALUE + \".\";\n\t\t} else if (errorcode == 4) {\n\t\t\treturn \"Invalid Month!\\nValid month values are 1 - 12\";\n\t\t} else if (errorcode == 5) {\n\t\t\treturn \"Invalid Day!\\nValid day values are 1 - 31\";\n\t\t} else if (errorcode == 6) {\n\t\t\treturn \"Invalid Hour!\\nValid hour values are 0 - 23\";\n\t\t} else if (errorcode == 7) {\n\t\t\treturn \"Invalid Minute!\\nValid minute values are 0 - 59\";\n\t\t} else if (errorcode == 8) {\n\t\t\treturn \"Invalid Second!\\nValid second values are 0 - 59\";\n\t\t} \n\t\treturn \"Undefined Error Message!\";\n\t}", "public void setErrorMsg(String text) {\n this.errorMsg = text;\n }", "public int getErrorNo() {\n return this.errorNo;\n }", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();" ]
[ "0.7234827", "0.68487597", "0.68242407", "0.68242407", "0.66320926", "0.6613902", "0.6613902", "0.6613902", "0.65931696", "0.65931696", "0.65931696", "0.65931696", "0.65931696", "0.65931696", "0.65931696", "0.65931696", "0.65931696", "0.65931696", "0.65931696", "0.65931696", "0.6587221", "0.6458624", "0.642881", "0.6387629", "0.6339448", "0.63337046", "0.6318866", "0.6310054", "0.6266495", "0.6207546", "0.6169787", "0.6162002", "0.61556125", "0.61209476", "0.6114965", "0.61042917", "0.60988075", "0.60988075", "0.60988075", "0.60916275", "0.60737956", "0.6044167", "0.60035205", "0.59917176", "0.59845275", "0.59643966", "0.5963419", "0.59538627", "0.5917793", "0.58881736", "0.58858836", "0.5880861", "0.58786815", "0.5865479", "0.5863698", "0.5842632", "0.583974", "0.583974", "0.583974", "0.583974", "0.583974", "0.583974", "0.583974", "0.58391654", "0.58391654", "0.58391654", "0.5837601", "0.5828023", "0.58268774", "0.58249444", "0.5820853", "0.5818837", "0.5808825", "0.5808012", "0.5803665", "0.57976645", "0.5796016", "0.57934284", "0.57934284", "0.57934284", "0.5786855", "0.57868457", "0.5785435", "0.578205", "0.576942", "0.57514906", "0.57502955", "0.5743453", "0.57404053", "0.57404053", "0.57404053", "0.57404053", "0.57404053", "0.57404053", "0.57404053", "0.57404053", "0.57404053", "0.57404053", "0.57404053", "0.57404053", "0.57404053" ]
0.0
-1
repeated .NodeSearchResult results = 3;
java.util.List<entities.Torrent.NodeSearchResult> getResultsList();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "entities.Torrent.NodeSearchResult getResults(int index);", "SearchResult findNext(SearchResult result);", "entities.Torrent.NodeSearchResultOrBuilder getResultsOrBuilder(\n int index);", "java.util.List<? extends entities.Torrent.NodeSearchResultOrBuilder>\n getResultsOrBuilderList();", "XResultSet() {\n this.nodeRefs = new LinkedList<>();\n this.numberFound = 0;\n }", "void setNumberOfResults(int numberOfResults);", "public Builder addAllResults(\n java.lang.Iterable<? extends entities.Torrent.NodeSearchResult> values) {\n if (resultsBuilder_ == null) {\n ensureResultsIsMutable();\n com.google.protobuf.AbstractMessageLite.Builder.addAll(\n values, results_);\n onChanged();\n } else {\n resultsBuilder_.addAllMessages(values);\n }\n return this;\n }", "@java.lang.Override\n public entities.Torrent.NodeSearchResultOrBuilder getResultsOrBuilder(\n int index) {\n return results_.get(index);\n }", "public GameList getSearchResult(){ return m_NewSearchResult;}", "int getNumberOfResults();", "public entities.Torrent.NodeSearchResultOrBuilder getResultsOrBuilder(\n int index) {\n if (resultsBuilder_ == null) {\n return results_.get(index); } else {\n return resultsBuilder_.getMessageOrBuilder(index);\n }\n }", "public entities.Torrent.NodeSearchResult.Builder addResultsBuilder() {\n return getResultsFieldBuilder().addBuilder(\n entities.Torrent.NodeSearchResult.getDefaultInstance());\n }", "private<T> void addManyResults(T... results)\n {\n int i =0;\n for(T result : results)\n {\n this.add(\"morgen-main-result\"+i, new LazyDynamicPrimitive<>(result));\n i++;\n }\n\n results = null; // Prevents Heap pollution\n }", "@Test\n public void testCombineRankHighPageRankWeight() {\n Iterator<Pair<Document, Double>> resultIterator = icsSearchEngine.searchQuery(Arrays.asList(\"anteater\"),\n 10, 1000000000.0);\n ImmutableList<Pair<Document, Double>> resultList = ImmutableList.copyOf(resultIterator);\n Assert.assertEquals(10, resultList.size());\n Assert.assertTrue(resultList.stream().limit(3).map(p -> p.getLeft())\n .anyMatch(doc -> doc.getText().contains(\"wics.ics.uci.edu\")));\n }", "public void setResults(ArrayList<Integer> results){\n this.results = results;\n }", "int getResultsCount();", "int getResultsCount();", "public int countResults() \n {\n return itsResults_size;\n }", "SearchResult findNext(SearchOptions searchOptions);", "public Builder addResults(entities.Torrent.NodeSearchResult value) {\n if (resultsBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureResultsIsMutable();\n results_.add(value);\n onChanged();\n } else {\n resultsBuilder_.addMessage(value);\n }\n return this;\n }", "private NodeSearchResult(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "@java.lang.Override\n public entities.Torrent.NodeSearchResult getResults(int index) {\n return results_.get(index);\n }", "void xsetNumberOfResults(org.apache.xmlbeans.XmlInt numberOfResults);", "public ClsNodeDocument[] GetDocuments (ClsNodeDocument[] searchDocs);", "private void numberResults ()\r\n {\r\n int partIndex = 0;\r\n\r\n for (Result result : connection.getResultMap().keySet()) {\r\n ScorePart scorePart = (ScorePart) result.getUnderlyingObject();\r\n scorePart.setId(++partIndex);\r\n }\r\n }", "public IScapSyncSearchResult[] getResults();", "public java.util.List<? extends entities.Torrent.NodeSearchResultOrBuilder>\n getResultsOrBuilderList() {\n if (resultsBuilder_ != null) {\n return resultsBuilder_.getMessageOrBuilderList();\n } else {\n return java.util.Collections.unmodifiableList(results_);\n }\n }", "@java.lang.Override\n public java.util.List<? extends entities.Torrent.NodeSearchResultOrBuilder>\n getResultsOrBuilderList() {\n return results_;\n }", "public int my_node_count();", "boolean getMoreResults();", "public entities.Torrent.NodeSearchResult.Builder addResultsBuilder(\n int index) {\n return getResultsFieldBuilder().addBuilder(\n index, entities.Torrent.NodeSearchResult.getDefaultInstance());\n }", "@Override\n\tprotected void parseResult() {\n\t\t\n\t}", "private void fetchNextBlock() {\n try {\n \tSearchClient _client = new SearchClient(\"cubansea-instance\");\n \tWebSearchResults _results = _client.webSearch(createNextRequest());\n \t\tfor(WebSearchResult _result: _results.listResults()) {\n \t\t\tresults.add(new YahooSearchResult(_result, cacheStatus+1));\n \t\t\tcacheStatus++;\n \t\t}\n \t\tif(resultCount == -1) resultCount = _results.getTotalResultsAvailable().intValue();\n } catch (IOException e) {\n\t\t\tthrow new TechnicalError(e);\n\t\t} catch (SearchException e) {\n\t\t\tthrow new TechnicalError(e);\n\t\t}\n\t}", "public void addAll(XResultSet r) {\n this.getNodeRefs().addAll(r.getNodeRefs());\n this.numberFound += r.numberFound;\n }", "@java.lang.Override\n public java.util.List<entities.Torrent.NodeSearchResult> getResultsList() {\n return results_;\n }", "@Test\n public void test002() {\n int total = response.extract().path(\"total\");\n\n\n System.out.println(\"------------------StartingTest---------------------------\");\n System.out.println(\"The search query is: \" + total);\n System.out.println(\"------------------End of Test---------------------------\");\n\n }", "public void setNumResults(int numResults) {\n mNumResults = numResults;\n }", "public ResultMap<BaseNode> findNodes(ObjectNode query, String searchTerm, ObjectNode traverse);", "public Builder setResults(\n int index, entities.Torrent.NodeSearchResult value) {\n if (resultsBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureResultsIsMutable();\n results_.set(index, value);\n onChanged();\n } else {\n resultsBuilder_.setMessage(index, value);\n }\n return this;\n }", "public ResultMap<BaseNode> findNodes(ObjectNode query, String searchTerm, ObjectNode traverse, Pagination pagination);", "public void rankMatches();", "public int numMatches();", "public void setMatches() {\r\n this.matches++;\r\n\r\n }", "public java.util.List<entities.Torrent.NodeSearchResult> getResultsList() {\n if (resultsBuilder_ == null) {\n return java.util.Collections.unmodifiableList(results_);\n } else {\n return resultsBuilder_.getMessageList();\n }\n }", "public Result getResults()\r\n {\r\n return result;\r\n }", "int countByExample(CrawlExample example);", "private int getHitsAndArticlesByURL(Category node, String url)\r\n\t{\r\n\t\tDocumentBuilderFactory domfac = DocumentBuilderFactory.newInstance();\r\n\t\tint NumRes = 0;\r\n\t\tString totalHits;\r\n\t\ttry{\r\n\t\t\tURL queryurl = new URL(url);\r\n\t\t\tURLConnection connection = queryurl.openConnection();\r\n\t\t\tconnection.setDoInput(true);\r\n\t\t\tInputStream inStream = connection.getInputStream();\r\n\t\t\tDocumentBuilder dombuilder = domfac.newDocumentBuilder();\r\n\t\t\tDocument doc = dombuilder.parse(inStream);\r\n\t\t\tElement root = doc.getDocumentElement();\r\n\t\t\tNodeList resultset_web = root.getElementsByTagName(\"resultset_web\");\r\n\t\t\tNode resultset = resultset_web.item(0);\r\n\t\t\t\r\n\t\t\ttotalHits = resultset.getAttributes().getNamedItem(\"totalhits\").getNodeValue();\r\n\t\t\tNumRes = Integer.parseInt(totalHits);\r\n\t\t\t\r\n\t\t\tint count = 0;\r\n\t\t\tNodeList results = resultset.getChildNodes(); \r\n\t\t\tif(results != null)\r\n\t\t\t{\t\t\t\r\n\t\t\t\tfor(int i = 0 ; i < results.getLength(); i++){\r\n\t\t\t\t\tNode result = results.item(i);\t\t\t\t\t\t\t\t\r\n\t\t\t\t\tArticle newArticle = new Article();\r\n\t\t\t\t\t\r\n\t\t\t\t\tif(result.getNodeType()==Node.ELEMENT_NODE){\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\tfor(Node node1 = result.getFirstChild(); node1 != null; node1 = node1.getNextSibling()){\r\n\t\t\t\t\t\t\tif(node1.getNodeType()==Node.ELEMENT_NODE){\t\t\t\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\tif(node1.getNodeName().equals(\"url\") && node1.getFirstChild() != null && count < 4){\r\n\t\t\t\t\t\t\t\t\tcount++;\r\n\t\t\t\t\t\t\t\t\tString pageUrl = node1.getFirstChild().getNodeValue();\r\n\t\t\t\t\t\t\t\t\tArticle article = new Article();\r\n\t\t\t\t\t\t\t\t\tarticle.URL = pageUrl;\r\n\t\t\t\t\t\t\t\t\tarticle.words = getWordsLynx.runLynx(pageUrl);\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\tnode.articles.add(article);\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\t\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\t\r\n\t\t}catch(ParserConfigurationException e){\r\n\t\t\te.printStackTrace();\r\n\t\t\treturn -1;\r\n\t\t}catch(SAXException e){\r\n\t\t\te.printStackTrace();\r\n\t\t\treturn -1;\r\n\t\t}catch(IOException e){\r\n\t\t\te.printStackTrace();\r\n\t\t\treturn -1;\r\n\t\t}\r\n\r\n\t\treturn NumRes;\r\n\t}", "public int numberOfOccorrence();", "@Test\n\tvoid getResultsTest() {\n\t\tassertEquals(22, utilities.getResults(-21));\n\t\tassertEquals(20, utilities.getResults(-20));\n\t\tassertEquals(40, utilities.getResults(-19));\n\t\tassertEquals(38, utilities.getResults(-18));\n\t\tassertEquals(22, utilities.getResults(21));\n\t\tassertEquals(20, utilities.getResults(20));\n\t\tassertEquals(22, utilities.getResults(2));\n\t\tassertEquals(22, utilities.getResults(1));\n\t}", "@Test\n public void testFindNMatches() {\n List<Path> files = new ArrayList<>();\n files.add(new File(String.join(File.separator, \"src\", \"test\", \"resources\"),\n \"logviewer-search-context-tests.log.test\").toPath());\n files.add(new File(String.join(File.separator, \"src\", \"test\", \"resources\"),\n \"logviewer-search-context-tests.log.gz\").toPath());\n\n final LogviewerLogSearchHandler handler = getSearchHandler();\n\n final List<Map<String, Object>> matches1 = handler.findNMatches(files, 20, 0, 0, \"needle\").getMatches();\n final List<Map<String, Object>> matches2 = handler.findNMatches(files, 20, 0, 126, \"needle\").getMatches();\n final List<Map<String, Object>> matches3 = handler.findNMatches(files, 20, 1, 0, \"needle\").getMatches();\n\n assertEquals(2, matches1.size());\n assertEquals(4, ((List) matches1.get(0).get(\"matches\")).size());\n assertEquals(4, ((List) matches1.get(1).get(\"matches\")).size());\n assertEquals(String.join(File.separator, \"test\", \"resources\", \"logviewer-search-context-tests.log.test\"), matches1.get(0).get(\"fileName\"));\n assertEquals(String.join(File.separator, \"test\", \"resources\", \"logviewer-search-context-tests.log.gz\"), matches1.get(1).get(\"fileName\"));\n\n assertEquals(2, ((List) matches2.get(0).get(\"matches\")).size());\n assertEquals(4, ((List) matches2.get(1).get(\"matches\")).size());\n\n assertEquals(1, matches3.size());\n assertEquals(4, ((List) matches3.get(0).get(\"matches\")).size());\n }", "void remoteSearch(String groupId, String type, String attr, \n String value, int threshold, String serviceHandler, \n DiscoveryListener listener)\n \tthrows IOException\n {\n Query query = new Query(groupId, type, attr, value, \n serviceHandler,listener);\n \n queries.put(listener, query);\n \n\t //if resource not found in local cache\n\t String requestId = getNextRequestId();\n\t \n\t int urisize =0;\n\t EndpointAddress[] myURIs = peer.getURIList();\n\t \n\t if (myURIs != null)\n\t urisize = myURIs.length;\n\t \n\t Element[] elm = new Element[9 + urisize];\n\t //Element[] elm = new Element[9];\n\t \n\t\n\t elm[0] = new Element(Message.MESSAGE_TYPE_TAG, Message.REQUEST_SEARCH,\n\t Message.JXTA_NAME_SPACE);\n\t elm[1] = new Element(Message.TYPE_TAG, type, \n\t Message.JXTA_NAME_SPACE);\n\t elm[2] = new Element(Message.ATTRIBUTE_TAG, attr, \n\t Message.JXTA_NAME_SPACE);\n\t elm[3] = new Element(Message.VALUE_TAG, value, \n\t Message.JXTA_NAME_SPACE);\n\t elm[4] = new Element(Message.THRESHOLD_TAG, Integer.toString(threshold), \n\t Message.JXTA_NAME_SPACE);\n\t elm[5] = new Element(Message.REQUESTID_TAG, requestId, \n\t Message.JXTA_NAME_SPACE);\n\t elm[6] = new Element(Message.ID_TAG, peer.getID().toString(), \n\t Message.JXTA_NAME_SPACE);\n\t elm[7] = new Element(Message.GROUP_ID_TAG, groupId, \n\t Message.JXTA_NAME_SPACE);\n\t elm[8] = new Element(Message.HOPCOUNT_TAG, Integer.toString(DEFAULT_HOP_COUNT), \n\t Message.JXTA_NAME_SPACE);\n\t\n\t if (urisize > 0)\n\t {\n\t\t for (int i = 0; i < myURIs.length; i++)\n\t\t {\n\t\t EndpointAddress uri = myURIs[i];\n\t\t uri = new EndpointAddress(uri, serviceName, serviceHandler);\n\t\t elm[9 + i] = new Element(NamedResource.URITAG + String.valueOf(i), uri.toString().getBytes(),\n\t\t Message.JXTA_NAME_SPACE, null);\n\t\t }\n\t }\n\t \n\t send(elm, serviceHandler);\n }", "public void setResults(ArrayOfFindResult results) {\n this.results = results;\n }", "@Test\n public void testCombinePageRankTfIdf() {\n\n Iterator<Pair<Document, Double>> resultIterator = icsSearchEngine.searchQuery(\n Arrays.asList(\"ISG\", \"Bren\", \"School\", \"UCI\"),\n 100, 100.0);\n ImmutableList<Pair<Document, Double>> resultList = ImmutableList.copyOf(resultIterator);\n\n // first result should be \"isg.ics.uci.edu\"\n Assert.assertEquals(\"isg.ics.uci.edu\", getDocumentUrl(resultList.get(0).getLeft().getText()));\n\n // top 10 should have URLs starting \"hobbes.ics.uci.edu\"\n Assert.assertTrue(resultList.stream().limit(10).map(p -> getDocumentUrl(p.getLeft().getText()))\n .anyMatch(p -> p.contains(\"hobbes.ics.uci.edu\")));\n\n // top 50 should have URL \"ipubmed2.ics.uci.edu\"\n Assert.assertTrue(resultList.stream().limit(50).map(p -> getDocumentUrl(p.getLeft().getText()))\n .anyMatch(p -> p.equals(\"ipubmed2.ics.uci.edu\")));\n\n }", "public void addMatch() {\n totalMatches ++;\n }", "int countByExample(CrawlTestExample example);", "int getNodeCount();", "int getNodeCount();", "public int getWrapperHits();", "entities.Torrent.SearchResponse getSearchResponse();", "public Builder addResults(\n int index, entities.Torrent.NodeSearchResult value) {\n if (resultsBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureResultsIsMutable();\n results_.add(index, value);\n onChanged();\n } else {\n resultsBuilder_.addMessage(index, value);\n }\n return this;\n }", "public SearchResults() {\n\t\tPageFactory.initElements(driver, this);\n\t}", "public entities.Torrent.NodeSearchResult getResults(int index) {\n if (resultsBuilder_ == null) {\n return results_.get(index);\n } else {\n return resultsBuilder_.getMessage(index);\n }\n }", "List<SearchResult> search(SearchQuery searchQuery);", "@Test\n public void test19(){\n // List<Integer> services = response.extract().path(\"data.findAll{it.services=='Samsung Experience'}.storeservices\");\n //List<HashMap<String, ?>> address = response.extract().path(\"data.findAll{it.service=='Samsung Experience'}.storeservices\");\n System.out.println(\"------------------StartingTest---------------------------\");\n System.out.println(\"The name of all services:\" );\n System.out.println(\"------------------End of Test---------------------------\");\n }", "@java.lang.Override\n public int getResultsCount() {\n return results_.size();\n }", "protected List<SearchResultElement> getResultElementsFromNodes(\n IProgressMonitor monitor, INodePO[] reuse) {\n final List<SearchResultElement> reuseLoc =\n new ArrayList<SearchResultElement>(reuse.length);\n\n for (INodePO node : reuse) {\n INodePO parent = node.getSpecAncestor();\n if (parent == null) {\n parent = node.getParentNode();\n }\n if (parent != null) {\n Long id = node.getId();\n String nodeName = GeneralLabelProvider.getTextImpl(node);\n reuseLoc.add(new SearchResultElement<Long>(NLS.bind(\n Messages.SearchResultPageElementLabel, new Object[] {\n parent.getName(), nodeName }), id,\n GeneralLabelProvider.getImageImpl(node),\n new NodeSearchResultElementAction(), node\n .getComment()));\n }\n monitor.worked(1);\n }\n return reuseLoc;\n }", "org.apache.xmlbeans.XmlInt xgetNumberOfResults();", "public int getNumResults() {\r\n\t\treturn this.numResults;\r\n\t}", "void loadResults(ArrayList<Comic> results, int totalItems);", "int nodeCount();", "@Override\r\n\tpublic void iterateCount() {\n\t\t\r\n\t}", "public void getNodesThatCall(PassedParameter pp, Set result) {\n if (USE_PARAMETER_MAP) {\n Set s = (Set)passedParamToNodes.get(pp);\n if (s == null) return;\n result.addAll(s);\n return;\n }\n for (Iterator i = this.nodeIterator(); i.hasNext(); ) {\n Node n = (Node)i.next();\n if ((n.passedParameters != null) && n.passedParameters.contains(pp))\n result.add(n);\n }\n }", "int getMatchedElements();", "private static Elements getResultsFromAppPage(Document doc) {\n Elements results = null;\n try {\n results = doc.getElementsByClass(\"attribute-container\");\n }\n catch (NullPointerException e){\n logger.info(\"no applications tab for current item\");\n return results;\n }\n logger.debug(\"total results \" + results.size());\n\n return results;\n }", "Map<String, Integer> getSearchResults(String searchTerm) {\n\n Map<String, Integer> libCount = new ConcurrentHashMap<>();\n\n try {\n Document document = Jsoup.connect(google + URLEncoder.encode(searchTerm, charset))\n .userAgent(userAgent)\n .referrer(\"http://www.google.com\")\n .get();\n\n Elements links = document.select(\"a[href]\");\n Set<String> urls = new HashSet<>();\n for (Element link: links) {\n if (link.attr(\"href\") != null && link.attr(\"href\").contains(\"=\")) {\n String url = link.attr(\"href\").split(\"=\")[1];\n if (url.contains(\"http\")) {\n urls.add(getDomainName(url));\n }\n }\n }\n\n CountDownLatch latch = new CountDownLatch(urls.size());\n\n for (String url: urls) {\n AnalysePage analysePage = new AnalysePage(url);\n completionService.submit(analysePage);\n }\n\n int completed = 0;\n\n while(completed < urls.size()) {\n try {\n Future<Set<String>> resultFuture = completionService.take();\n Set<String> strings = resultFuture.get();\n for (String lib : strings) {\n Integer count = libCount.get(lib);\n if (count == null) {\n libCount.put(lib, 1);\n } else {\n libCount.put(lib, ++count);\n }\n }\n completed++;\n latch.countDown();\n } catch (InterruptedException | ExecutionException e) {\n e.printStackTrace();\n }\n }\n try {\n latch.await();\n } catch (InterruptedException e) {\n e.printStackTrace();\n }\n\n } catch (MalformedURLException e) {\n System.out.println(\"The URL is Malformed\");\n } catch (UnsupportedEncodingException e) {\n System.out.println(\"Incorrect URL encoding\");\n } catch (IOException e) {\n System.out.println(\"Unable to read from google\");\n e.printStackTrace();\n }\n executor.shutdown();\n return libCount;\n }", "int countByExample(CfgSearchRecommendExample example);", "public static List<String> get_RankedResults(List<Doc_accum> results) {\n List<String> filenames = new ArrayList();\n\n if (results.isEmpty()) {\n GUI.JListModel.clear();\n GUI.ResultsLabel.setText(\"\");\n clickList = false;\n\n String notFound = \"Your search '\" + query + \"' is not found in any documents\";\n GUI.ResultsLabel.setText(notFound);\n\n } else {\n clickList = false;\n\n //clears list and repopulates it \n String docInfo;\n\n GUI.JListModel.clear();\n GUI.ResultsLabel.setText(\"\");\n\n for (Doc_accum p : results) {\n if (queryMode) {\n corpus.getDocument(p.getPosting().getDocumentId()).getContent();\n }\n //docInfo = corpus.getDocument(p.getPosting().getDocumentId()).getTitle();\n docInfo = corpus.getDocument(p.getPosting().getDocumentId()).getFileName().toString();\n filenames.add(docInfo);\n\n }\n }\n\n GUI.SearchBarTextField.selectAll();\n\n return filenames;\n }", "@Test\n public void resultNumberTest() throws InterruptedException, ParseException {\n HomePageNavigation.gotoHomePage();\n Thread.sleep(2000);\n SearchNavigation.gotoSearchResultsPage(index,\"\");\n assertTrue(\"Message does not exist\", CommonUtils.extractTotalResults() >= 1);\n }", "OResultSet fetchNext(int n);", "public static void test1(){\n\t\tlong[] testCase=new long[]{2034912444,1511277043};\r\n\t\tList<String> rs=SearchWrapper.search( testCase[0], testCase[testCase.length-1]);\r\n\t\t\r\n\t}", "public void testSearchByContent() {\n Message m1 = new Message(\"test\",\"bla bla david moshe\",_u1);\n Message.incId();\n try {\n Thread.sleep(10);\n } catch (InterruptedException ex) {\n ex.printStackTrace();\n }\n Message m2 = new Message(\"test2\",\"bla2 bla david tikva moshe\",_u1);\n Message.incId();\n Message m3 = new Message(\"test2\",\"moshe cohen\",_u1);\n Message.incId();\n\n this.allMsgs.put(m1.getMsg_id(), m1);\n this.allMsgs.put(m2.getMsg_id(), m2);\n this.allMsgs.put(m3.getMsg_id(), m3);\n\n this.searchEngine.addData(m1);\n this.searchEngine.addData(m2);\n this.searchEngine.addData(m3);\n\n /* SearchHit[] result = this.searchEngine.searchByContent(\"bla2\", 0,1);\n assertTrue(result.length==1);\n assertTrue(result[0].getMessage().equals(m2));\n\n SearchHit[] result2 = this.searchEngine.searchByContent(\"bla david tikva\", 0,2);\n assertTrue(result2.length==1);\n assertEquals(result2[0].getScore(),3.0);\n //assertEquals(result2[1].getScore(),2.0);\n assertTrue(result2[0].getMessage().equals(m2));\n //assertTrue(result2[1].getMessage().equals(m1));\n\n SearchHit[] result3 = this.searchEngine.searchByContent(\"bla2 tikva\", 0, 5);\n assertTrue(result3.length==0);\n */\n\n/*\n SearchHit[] result4 = this.searchEngine.searchByContent(\"bla OR tikva\", 0, 5);\n assertTrue(result4.length==2);\n assertTrue(result4[0].getMessage().equals(m2));\n assertTrue(result4[1].getMessage().equals(m1));\n\n SearchHit[] result5 = this.searchEngine.searchByContent(\"bla AND cohen\", 0, 5);\n assertTrue(result5.length==0);\n\n result5 = this.searchEngine.searchByContent(\"bla AND moshe\",0,5);\n assertTrue(result5.length==2);\n assertTrue(result5[0].getScore() == result5[1].getScore());\n assertTrue(result5[0].getMessage().equals(m2));\n assertTrue(result5[1].getMessage().equals(m1));\n\n result5 = this.searchEngine.searchByContent(\"bla AND moshe\", 10, 11);\n assertTrue(result5.length==0);\n */\n\n }", "public Results() {\n\t\t\t// TODO Auto-generated constructor stub\n\t\t}", "Object getNumberMatched();", "entities.Torrent.LocalSearchResponse getLocalSearchResponse();", "public void setResults(ArrayList results) {\n this.results = results;\n }", "public abstract void fetchNodes(NodeCallback callback);", "public void search() {\r\n \t\r\n }", "private void searchFunction() {\n\t\t\r\n\t}", "Match getMatches();", "public boolean execute(int i) {\n result.add(nodeMap.get(i));\n return true; // return true here to continue receiving results\n }", "void setSearchResults(LazyDataModel<ReagentResult> searchResults);", "@Test\n public void testMultiSearch_withoutParens() {\n List<String> fields = new ArrayList<>();\n fields.add(\"sn\");\n fields.add(\"mail\");\n\n BridgeRequest request = new BridgeRequest();\n request.setStructure(\"user\");\n request.setFields(fields);\n request.setQuery(\"memberOf=cn=VPN Users,cn=Users,dc=kineticdata,dc=com\");\n\n BridgeError expectedError = null;\n try {\n getAdapter().search(request);\n } catch (BridgeError e) {\n expectedError = e;\n }\n\n assertNotNull(expectedError);\n }", "public entities.Torrent.NodeSearchResult.Builder getResultsBuilder(\n int index) {\n return getResultsFieldBuilder().getBuilder(index);\n }", "LazyDataModel<ReagentResult> getSearchResults();", "public Long getElementCount();", "public List<NodeInfo> getStoredNodes() {\n List<NodeInfo> nodes = new ArrayList<>();\n\n SearchResponse response = client.prepareSearch(\"k8s_*\").setTypes(\"node\").setSize(10000).get();\n\n SearchHit[] hits = response.getHits().getHits();\n log.info(String.format(\"The length of node search hits is [%d]\", hits.length));\n\n ObjectMapper mapper = new ObjectMapper();\n try {\n for (SearchHit hit : hits) {\n// log.info(hit.getSourceAsString());\n NodeInfo node = mapper.readValue(hit.getSourceAsString(), NodeInfo.class);\n nodes.add(node);\n }\n } catch (Exception e) {\n e.printStackTrace();\n }\n return nodes;\n }", "public void search() {\n }", "public void onSearchResults(String term, List<WikiPage> results);", "List<T> getResults();", "@Test\n public void getResultTest() throws IOException {\n System.setProperty(\"REPO_HG_19_PATH\", REPO_PATH_RANGES);\n System.setProperty(\"REPO_HG_38_PATH\", REPO_PATH_RANGES);\n System.setProperty(\"MAX_RANGE_RECORDS_IN_RESULT\", \"10\");\n\n // test common valid flow\n Response response = new Main().getResult19(\"X:77633124\");\n Assert.assertEquals(OK.getStatusCode(), response.getStatus());\n System.out.println(response.getEntity());\n Assert.assertNotNull(response.getEntity());\n JsonNode result = ((ArrayNode) new ObjectMapper().readTree((String)response.getEntity()).get(\"entries\")).get(0);\n Assert.assertEquals(\"G\", result.get(\"ref\").asText());\n Assert.assertEquals(\"A\", result.get(\"alt\").asText());\n ArrayNode homArray = (ArrayNode) result.get(\"hom\");\n Assert.assertEquals(1, homArray.size());\n Assert.assertEquals(\"SRR14860530\", homArray.get(0).asText());\n ArrayNode hetArray = (ArrayNode) result.get(\"het\");\n Assert.assertEquals(1, hetArray.size());\n Assert.assertEquals(\"SRR14860527\", hetArray.get(0).asText());\n\n // test lower case\n response = new Main().getResult(\"x:77633124\", REPO_PATH_RANGES, 10);\n Assert.assertEquals(OK.getStatusCode(), response.getStatus());\n System.out.println(response.getEntity());\n Assert.assertNotNull(response.getEntity());\n result = ((ArrayNode) new ObjectMapper().readTree((String)response.getEntity()).get(\"entries\")).get(0);\n Assert.assertEquals(\"G\", result.get(\"ref\").asText());\n Assert.assertEquals(\"A\", result.get(\"alt\").asText());\n homArray = (ArrayNode) result.get(\"hom\");\n Assert.assertEquals(1, homArray.size());\n Assert.assertEquals(\"SRR14860530\", homArray.get(0).asText());\n hetArray = (ArrayNode) result.get(\"het\");\n Assert.assertEquals(1, hetArray.size());\n Assert.assertEquals(\"SRR14860527\", hetArray.get(0).asText());\n\n //test range query\n response = new Main().getResult(\"2:25234482-26501857\", REPO_PATH_RANGES, 10);\n Assert.assertEquals(OK.getStatusCode(), response.getStatus());\n System.out.println(response.getEntity());\n\n JsonNode jsonResult = new ObjectMapper().readTree((String)response.getEntity());\n Assert.assertEquals(11, jsonResult.get(\"count\").asInt());\n\n ArrayNode dataArray = (ArrayNode)jsonResult.get(\"data\");\n Assert.assertEquals(10, dataArray.size());\n\n JsonNode first = dataArray.get(0);\n Assert.assertEquals(25234482, first.get(\"pos\").asInt());\n Assert.assertEquals(\"C\", ((ArrayNode)first.get(\"entries\")).get(0).get(\"ref\").asText());\n Assert.assertEquals(\"T\", ((ArrayNode)first.get(\"entries\")).get(0).get(\"alt\").asText());\n\n JsonNode last = dataArray.get(9);\n Assert.assertEquals(25313958, last.get(\"pos\").asInt());\n Assert.assertEquals(\"G\", ((ArrayNode)last.get(\"entries\")).get(0).get(\"ref\").asText());\n Assert.assertEquals(\"A\", ((ArrayNode)last.get(\"entries\")).get(0).get(\"alt\").asText());\n\n // test empty case\n response = new Main().getResult(\"x:15000112\", REPO_PATH_RANGES, 10);\n Assert.assertEquals(OK.getStatusCode(), response.getStatus());\n System.out.println(response.getEntity());\n Assert.assertNotNull(response.getEntity());\n Assert.assertEquals(EMPTY_RESULT, response.getEntity());\n\n // test bad input 1\n response = new Main().getResult(\"adkwjfh\", REPO_PATH_RANGES, 10);\n Assert.assertEquals(BAD_REQUEST.getStatusCode(), response.getStatus());\n\n // test bad input 2\n response = new Main().getResult(\"s:sss\", REPO_PATH_RANGES, 10);\n Assert.assertEquals(BAD_REQUEST.getStatusCode(), response.getStatus());\n\n // test bad input 3\n response = new Main().getResult(\"s:12345\", REPO_PATH_RANGES, 10);\n Assert.assertEquals(BAD_REQUEST.getStatusCode(), response.getStatus());\n\n // test bad input 4\n response = new Main().getResult(\"x:500000000\", REPO_PATH_RANGES, 10);\n Assert.assertEquals(BAD_REQUEST.getStatusCode(), response.getStatus());\n }" ]
[ "0.6862526", "0.63839877", "0.62841016", "0.58342236", "0.5776431", "0.5734007", "0.5712916", "0.5670051", "0.5631001", "0.56302875", "0.56143415", "0.5605271", "0.55756223", "0.55691606", "0.55633014", "0.5545001", "0.5545001", "0.55326474", "0.5393185", "0.53787273", "0.5369912", "0.5363887", "0.5346187", "0.53321797", "0.5301303", "0.5284407", "0.52722657", "0.5267805", "0.52622724", "0.52575964", "0.5252404", "0.52506864", "0.52356696", "0.52289075", "0.52278465", "0.520914", "0.52049226", "0.5202083", "0.5194397", "0.51886714", "0.5180487", "0.51756376", "0.5166178", "0.51628715", "0.51591974", "0.5154797", "0.5154727", "0.51516366", "0.51494604", "0.5139536", "0.5133444", "0.51260865", "0.5104945", "0.5094455", "0.5092275", "0.5086912", "0.5086912", "0.50723696", "0.50577176", "0.5052879", "0.50482905", "0.5031012", "0.50290823", "0.5027254", "0.501943", "0.50188446", "0.5015679", "0.5012513", "0.50083816", "0.50054836", "0.50020415", "0.5001236", "0.49921787", "0.49732155", "0.49654254", "0.49647364", "0.4953986", "0.4948581", "0.49465808", "0.49438965", "0.49316013", "0.49230373", "0.49203607", "0.49165064", "0.49132589", "0.49128133", "0.49103022", "0.4900622", "0.4899564", "0.4896023", "0.4895026", "0.48880875", "0.48773724", "0.4873716", "0.48736602", "0.48714477", "0.48663822", "0.48601002", "0.4859893", "0.4855802" ]
0.59894204
3
repeated .NodeSearchResult results = 3;
entities.Torrent.NodeSearchResult getResults(int index);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "SearchResult findNext(SearchResult result);", "entities.Torrent.NodeSearchResultOrBuilder getResultsOrBuilder(\n int index);", "java.util.List<entities.Torrent.NodeSearchResult>\n getResultsList();", "java.util.List<? extends entities.Torrent.NodeSearchResultOrBuilder>\n getResultsOrBuilderList();", "XResultSet() {\n this.nodeRefs = new LinkedList<>();\n this.numberFound = 0;\n }", "void setNumberOfResults(int numberOfResults);", "public Builder addAllResults(\n java.lang.Iterable<? extends entities.Torrent.NodeSearchResult> values) {\n if (resultsBuilder_ == null) {\n ensureResultsIsMutable();\n com.google.protobuf.AbstractMessageLite.Builder.addAll(\n values, results_);\n onChanged();\n } else {\n resultsBuilder_.addAllMessages(values);\n }\n return this;\n }", "@java.lang.Override\n public entities.Torrent.NodeSearchResultOrBuilder getResultsOrBuilder(\n int index) {\n return results_.get(index);\n }", "public GameList getSearchResult(){ return m_NewSearchResult;}", "int getNumberOfResults();", "public entities.Torrent.NodeSearchResultOrBuilder getResultsOrBuilder(\n int index) {\n if (resultsBuilder_ == null) {\n return results_.get(index); } else {\n return resultsBuilder_.getMessageOrBuilder(index);\n }\n }", "public entities.Torrent.NodeSearchResult.Builder addResultsBuilder() {\n return getResultsFieldBuilder().addBuilder(\n entities.Torrent.NodeSearchResult.getDefaultInstance());\n }", "private<T> void addManyResults(T... results)\n {\n int i =0;\n for(T result : results)\n {\n this.add(\"morgen-main-result\"+i, new LazyDynamicPrimitive<>(result));\n i++;\n }\n\n results = null; // Prevents Heap pollution\n }", "@Test\n public void testCombineRankHighPageRankWeight() {\n Iterator<Pair<Document, Double>> resultIterator = icsSearchEngine.searchQuery(Arrays.asList(\"anteater\"),\n 10, 1000000000.0);\n ImmutableList<Pair<Document, Double>> resultList = ImmutableList.copyOf(resultIterator);\n Assert.assertEquals(10, resultList.size());\n Assert.assertTrue(resultList.stream().limit(3).map(p -> p.getLeft())\n .anyMatch(doc -> doc.getText().contains(\"wics.ics.uci.edu\")));\n }", "public void setResults(ArrayList<Integer> results){\n this.results = results;\n }", "int getResultsCount();", "int getResultsCount();", "public int countResults() \n {\n return itsResults_size;\n }", "SearchResult findNext(SearchOptions searchOptions);", "public Builder addResults(entities.Torrent.NodeSearchResult value) {\n if (resultsBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureResultsIsMutable();\n results_.add(value);\n onChanged();\n } else {\n resultsBuilder_.addMessage(value);\n }\n return this;\n }", "private NodeSearchResult(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "@java.lang.Override\n public entities.Torrent.NodeSearchResult getResults(int index) {\n return results_.get(index);\n }", "void xsetNumberOfResults(org.apache.xmlbeans.XmlInt numberOfResults);", "public ClsNodeDocument[] GetDocuments (ClsNodeDocument[] searchDocs);", "private void numberResults ()\r\n {\r\n int partIndex = 0;\r\n\r\n for (Result result : connection.getResultMap().keySet()) {\r\n ScorePart scorePart = (ScorePart) result.getUnderlyingObject();\r\n scorePart.setId(++partIndex);\r\n }\r\n }", "public IScapSyncSearchResult[] getResults();", "public java.util.List<? extends entities.Torrent.NodeSearchResultOrBuilder>\n getResultsOrBuilderList() {\n if (resultsBuilder_ != null) {\n return resultsBuilder_.getMessageOrBuilderList();\n } else {\n return java.util.Collections.unmodifiableList(results_);\n }\n }", "@java.lang.Override\n public java.util.List<? extends entities.Torrent.NodeSearchResultOrBuilder>\n getResultsOrBuilderList() {\n return results_;\n }", "public int my_node_count();", "boolean getMoreResults();", "public entities.Torrent.NodeSearchResult.Builder addResultsBuilder(\n int index) {\n return getResultsFieldBuilder().addBuilder(\n index, entities.Torrent.NodeSearchResult.getDefaultInstance());\n }", "@Override\n\tprotected void parseResult() {\n\t\t\n\t}", "private void fetchNextBlock() {\n try {\n \tSearchClient _client = new SearchClient(\"cubansea-instance\");\n \tWebSearchResults _results = _client.webSearch(createNextRequest());\n \t\tfor(WebSearchResult _result: _results.listResults()) {\n \t\t\tresults.add(new YahooSearchResult(_result, cacheStatus+1));\n \t\t\tcacheStatus++;\n \t\t}\n \t\tif(resultCount == -1) resultCount = _results.getTotalResultsAvailable().intValue();\n } catch (IOException e) {\n\t\t\tthrow new TechnicalError(e);\n\t\t} catch (SearchException e) {\n\t\t\tthrow new TechnicalError(e);\n\t\t}\n\t}", "public void addAll(XResultSet r) {\n this.getNodeRefs().addAll(r.getNodeRefs());\n this.numberFound += r.numberFound;\n }", "@java.lang.Override\n public java.util.List<entities.Torrent.NodeSearchResult> getResultsList() {\n return results_;\n }", "@Test\n public void test002() {\n int total = response.extract().path(\"total\");\n\n\n System.out.println(\"------------------StartingTest---------------------------\");\n System.out.println(\"The search query is: \" + total);\n System.out.println(\"------------------End of Test---------------------------\");\n\n }", "public void setNumResults(int numResults) {\n mNumResults = numResults;\n }", "public ResultMap<BaseNode> findNodes(ObjectNode query, String searchTerm, ObjectNode traverse);", "public Builder setResults(\n int index, entities.Torrent.NodeSearchResult value) {\n if (resultsBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureResultsIsMutable();\n results_.set(index, value);\n onChanged();\n } else {\n resultsBuilder_.setMessage(index, value);\n }\n return this;\n }", "public ResultMap<BaseNode> findNodes(ObjectNode query, String searchTerm, ObjectNode traverse, Pagination pagination);", "public void rankMatches();", "public int numMatches();", "public void setMatches() {\r\n this.matches++;\r\n\r\n }", "public java.util.List<entities.Torrent.NodeSearchResult> getResultsList() {\n if (resultsBuilder_ == null) {\n return java.util.Collections.unmodifiableList(results_);\n } else {\n return resultsBuilder_.getMessageList();\n }\n }", "public Result getResults()\r\n {\r\n return result;\r\n }", "int countByExample(CrawlExample example);", "private int getHitsAndArticlesByURL(Category node, String url)\r\n\t{\r\n\t\tDocumentBuilderFactory domfac = DocumentBuilderFactory.newInstance();\r\n\t\tint NumRes = 0;\r\n\t\tString totalHits;\r\n\t\ttry{\r\n\t\t\tURL queryurl = new URL(url);\r\n\t\t\tURLConnection connection = queryurl.openConnection();\r\n\t\t\tconnection.setDoInput(true);\r\n\t\t\tInputStream inStream = connection.getInputStream();\r\n\t\t\tDocumentBuilder dombuilder = domfac.newDocumentBuilder();\r\n\t\t\tDocument doc = dombuilder.parse(inStream);\r\n\t\t\tElement root = doc.getDocumentElement();\r\n\t\t\tNodeList resultset_web = root.getElementsByTagName(\"resultset_web\");\r\n\t\t\tNode resultset = resultset_web.item(0);\r\n\t\t\t\r\n\t\t\ttotalHits = resultset.getAttributes().getNamedItem(\"totalhits\").getNodeValue();\r\n\t\t\tNumRes = Integer.parseInt(totalHits);\r\n\t\t\t\r\n\t\t\tint count = 0;\r\n\t\t\tNodeList results = resultset.getChildNodes(); \r\n\t\t\tif(results != null)\r\n\t\t\t{\t\t\t\r\n\t\t\t\tfor(int i = 0 ; i < results.getLength(); i++){\r\n\t\t\t\t\tNode result = results.item(i);\t\t\t\t\t\t\t\t\r\n\t\t\t\t\tArticle newArticle = new Article();\r\n\t\t\t\t\t\r\n\t\t\t\t\tif(result.getNodeType()==Node.ELEMENT_NODE){\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\tfor(Node node1 = result.getFirstChild(); node1 != null; node1 = node1.getNextSibling()){\r\n\t\t\t\t\t\t\tif(node1.getNodeType()==Node.ELEMENT_NODE){\t\t\t\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\tif(node1.getNodeName().equals(\"url\") && node1.getFirstChild() != null && count < 4){\r\n\t\t\t\t\t\t\t\t\tcount++;\r\n\t\t\t\t\t\t\t\t\tString pageUrl = node1.getFirstChild().getNodeValue();\r\n\t\t\t\t\t\t\t\t\tArticle article = new Article();\r\n\t\t\t\t\t\t\t\t\tarticle.URL = pageUrl;\r\n\t\t\t\t\t\t\t\t\tarticle.words = getWordsLynx.runLynx(pageUrl);\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\tnode.articles.add(article);\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\t\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\t\r\n\t\t}catch(ParserConfigurationException e){\r\n\t\t\te.printStackTrace();\r\n\t\t\treturn -1;\r\n\t\t}catch(SAXException e){\r\n\t\t\te.printStackTrace();\r\n\t\t\treturn -1;\r\n\t\t}catch(IOException e){\r\n\t\t\te.printStackTrace();\r\n\t\t\treturn -1;\r\n\t\t}\r\n\r\n\t\treturn NumRes;\r\n\t}", "public int numberOfOccorrence();", "@Test\n\tvoid getResultsTest() {\n\t\tassertEquals(22, utilities.getResults(-21));\n\t\tassertEquals(20, utilities.getResults(-20));\n\t\tassertEquals(40, utilities.getResults(-19));\n\t\tassertEquals(38, utilities.getResults(-18));\n\t\tassertEquals(22, utilities.getResults(21));\n\t\tassertEquals(20, utilities.getResults(20));\n\t\tassertEquals(22, utilities.getResults(2));\n\t\tassertEquals(22, utilities.getResults(1));\n\t}", "@Test\n public void testFindNMatches() {\n List<Path> files = new ArrayList<>();\n files.add(new File(String.join(File.separator, \"src\", \"test\", \"resources\"),\n \"logviewer-search-context-tests.log.test\").toPath());\n files.add(new File(String.join(File.separator, \"src\", \"test\", \"resources\"),\n \"logviewer-search-context-tests.log.gz\").toPath());\n\n final LogviewerLogSearchHandler handler = getSearchHandler();\n\n final List<Map<String, Object>> matches1 = handler.findNMatches(files, 20, 0, 0, \"needle\").getMatches();\n final List<Map<String, Object>> matches2 = handler.findNMatches(files, 20, 0, 126, \"needle\").getMatches();\n final List<Map<String, Object>> matches3 = handler.findNMatches(files, 20, 1, 0, \"needle\").getMatches();\n\n assertEquals(2, matches1.size());\n assertEquals(4, ((List) matches1.get(0).get(\"matches\")).size());\n assertEquals(4, ((List) matches1.get(1).get(\"matches\")).size());\n assertEquals(String.join(File.separator, \"test\", \"resources\", \"logviewer-search-context-tests.log.test\"), matches1.get(0).get(\"fileName\"));\n assertEquals(String.join(File.separator, \"test\", \"resources\", \"logviewer-search-context-tests.log.gz\"), matches1.get(1).get(\"fileName\"));\n\n assertEquals(2, ((List) matches2.get(0).get(\"matches\")).size());\n assertEquals(4, ((List) matches2.get(1).get(\"matches\")).size());\n\n assertEquals(1, matches3.size());\n assertEquals(4, ((List) matches3.get(0).get(\"matches\")).size());\n }", "void remoteSearch(String groupId, String type, String attr, \n String value, int threshold, String serviceHandler, \n DiscoveryListener listener)\n \tthrows IOException\n {\n Query query = new Query(groupId, type, attr, value, \n serviceHandler,listener);\n \n queries.put(listener, query);\n \n\t //if resource not found in local cache\n\t String requestId = getNextRequestId();\n\t \n\t int urisize =0;\n\t EndpointAddress[] myURIs = peer.getURIList();\n\t \n\t if (myURIs != null)\n\t urisize = myURIs.length;\n\t \n\t Element[] elm = new Element[9 + urisize];\n\t //Element[] elm = new Element[9];\n\t \n\t\n\t elm[0] = new Element(Message.MESSAGE_TYPE_TAG, Message.REQUEST_SEARCH,\n\t Message.JXTA_NAME_SPACE);\n\t elm[1] = new Element(Message.TYPE_TAG, type, \n\t Message.JXTA_NAME_SPACE);\n\t elm[2] = new Element(Message.ATTRIBUTE_TAG, attr, \n\t Message.JXTA_NAME_SPACE);\n\t elm[3] = new Element(Message.VALUE_TAG, value, \n\t Message.JXTA_NAME_SPACE);\n\t elm[4] = new Element(Message.THRESHOLD_TAG, Integer.toString(threshold), \n\t Message.JXTA_NAME_SPACE);\n\t elm[5] = new Element(Message.REQUESTID_TAG, requestId, \n\t Message.JXTA_NAME_SPACE);\n\t elm[6] = new Element(Message.ID_TAG, peer.getID().toString(), \n\t Message.JXTA_NAME_SPACE);\n\t elm[7] = new Element(Message.GROUP_ID_TAG, groupId, \n\t Message.JXTA_NAME_SPACE);\n\t elm[8] = new Element(Message.HOPCOUNT_TAG, Integer.toString(DEFAULT_HOP_COUNT), \n\t Message.JXTA_NAME_SPACE);\n\t\n\t if (urisize > 0)\n\t {\n\t\t for (int i = 0; i < myURIs.length; i++)\n\t\t {\n\t\t EndpointAddress uri = myURIs[i];\n\t\t uri = new EndpointAddress(uri, serviceName, serviceHandler);\n\t\t elm[9 + i] = new Element(NamedResource.URITAG + String.valueOf(i), uri.toString().getBytes(),\n\t\t Message.JXTA_NAME_SPACE, null);\n\t\t }\n\t }\n\t \n\t send(elm, serviceHandler);\n }", "public void setResults(ArrayOfFindResult results) {\n this.results = results;\n }", "@Test\n public void testCombinePageRankTfIdf() {\n\n Iterator<Pair<Document, Double>> resultIterator = icsSearchEngine.searchQuery(\n Arrays.asList(\"ISG\", \"Bren\", \"School\", \"UCI\"),\n 100, 100.0);\n ImmutableList<Pair<Document, Double>> resultList = ImmutableList.copyOf(resultIterator);\n\n // first result should be \"isg.ics.uci.edu\"\n Assert.assertEquals(\"isg.ics.uci.edu\", getDocumentUrl(resultList.get(0).getLeft().getText()));\n\n // top 10 should have URLs starting \"hobbes.ics.uci.edu\"\n Assert.assertTrue(resultList.stream().limit(10).map(p -> getDocumentUrl(p.getLeft().getText()))\n .anyMatch(p -> p.contains(\"hobbes.ics.uci.edu\")));\n\n // top 50 should have URL \"ipubmed2.ics.uci.edu\"\n Assert.assertTrue(resultList.stream().limit(50).map(p -> getDocumentUrl(p.getLeft().getText()))\n .anyMatch(p -> p.equals(\"ipubmed2.ics.uci.edu\")));\n\n }", "public void addMatch() {\n totalMatches ++;\n }", "int countByExample(CrawlTestExample example);", "int getNodeCount();", "int getNodeCount();", "public int getWrapperHits();", "entities.Torrent.SearchResponse getSearchResponse();", "public Builder addResults(\n int index, entities.Torrent.NodeSearchResult value) {\n if (resultsBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureResultsIsMutable();\n results_.add(index, value);\n onChanged();\n } else {\n resultsBuilder_.addMessage(index, value);\n }\n return this;\n }", "public SearchResults() {\n\t\tPageFactory.initElements(driver, this);\n\t}", "public entities.Torrent.NodeSearchResult getResults(int index) {\n if (resultsBuilder_ == null) {\n return results_.get(index);\n } else {\n return resultsBuilder_.getMessage(index);\n }\n }", "List<SearchResult> search(SearchQuery searchQuery);", "@Test\n public void test19(){\n // List<Integer> services = response.extract().path(\"data.findAll{it.services=='Samsung Experience'}.storeservices\");\n //List<HashMap<String, ?>> address = response.extract().path(\"data.findAll{it.service=='Samsung Experience'}.storeservices\");\n System.out.println(\"------------------StartingTest---------------------------\");\n System.out.println(\"The name of all services:\" );\n System.out.println(\"------------------End of Test---------------------------\");\n }", "@java.lang.Override\n public int getResultsCount() {\n return results_.size();\n }", "protected List<SearchResultElement> getResultElementsFromNodes(\n IProgressMonitor monitor, INodePO[] reuse) {\n final List<SearchResultElement> reuseLoc =\n new ArrayList<SearchResultElement>(reuse.length);\n\n for (INodePO node : reuse) {\n INodePO parent = node.getSpecAncestor();\n if (parent == null) {\n parent = node.getParentNode();\n }\n if (parent != null) {\n Long id = node.getId();\n String nodeName = GeneralLabelProvider.getTextImpl(node);\n reuseLoc.add(new SearchResultElement<Long>(NLS.bind(\n Messages.SearchResultPageElementLabel, new Object[] {\n parent.getName(), nodeName }), id,\n GeneralLabelProvider.getImageImpl(node),\n new NodeSearchResultElementAction(), node\n .getComment()));\n }\n monitor.worked(1);\n }\n return reuseLoc;\n }", "org.apache.xmlbeans.XmlInt xgetNumberOfResults();", "public int getNumResults() {\r\n\t\treturn this.numResults;\r\n\t}", "void loadResults(ArrayList<Comic> results, int totalItems);", "int nodeCount();", "@Override\r\n\tpublic void iterateCount() {\n\t\t\r\n\t}", "public void getNodesThatCall(PassedParameter pp, Set result) {\n if (USE_PARAMETER_MAP) {\n Set s = (Set)passedParamToNodes.get(pp);\n if (s == null) return;\n result.addAll(s);\n return;\n }\n for (Iterator i = this.nodeIterator(); i.hasNext(); ) {\n Node n = (Node)i.next();\n if ((n.passedParameters != null) && n.passedParameters.contains(pp))\n result.add(n);\n }\n }", "int getMatchedElements();", "private static Elements getResultsFromAppPage(Document doc) {\n Elements results = null;\n try {\n results = doc.getElementsByClass(\"attribute-container\");\n }\n catch (NullPointerException e){\n logger.info(\"no applications tab for current item\");\n return results;\n }\n logger.debug(\"total results \" + results.size());\n\n return results;\n }", "Map<String, Integer> getSearchResults(String searchTerm) {\n\n Map<String, Integer> libCount = new ConcurrentHashMap<>();\n\n try {\n Document document = Jsoup.connect(google + URLEncoder.encode(searchTerm, charset))\n .userAgent(userAgent)\n .referrer(\"http://www.google.com\")\n .get();\n\n Elements links = document.select(\"a[href]\");\n Set<String> urls = new HashSet<>();\n for (Element link: links) {\n if (link.attr(\"href\") != null && link.attr(\"href\").contains(\"=\")) {\n String url = link.attr(\"href\").split(\"=\")[1];\n if (url.contains(\"http\")) {\n urls.add(getDomainName(url));\n }\n }\n }\n\n CountDownLatch latch = new CountDownLatch(urls.size());\n\n for (String url: urls) {\n AnalysePage analysePage = new AnalysePage(url);\n completionService.submit(analysePage);\n }\n\n int completed = 0;\n\n while(completed < urls.size()) {\n try {\n Future<Set<String>> resultFuture = completionService.take();\n Set<String> strings = resultFuture.get();\n for (String lib : strings) {\n Integer count = libCount.get(lib);\n if (count == null) {\n libCount.put(lib, 1);\n } else {\n libCount.put(lib, ++count);\n }\n }\n completed++;\n latch.countDown();\n } catch (InterruptedException | ExecutionException e) {\n e.printStackTrace();\n }\n }\n try {\n latch.await();\n } catch (InterruptedException e) {\n e.printStackTrace();\n }\n\n } catch (MalformedURLException e) {\n System.out.println(\"The URL is Malformed\");\n } catch (UnsupportedEncodingException e) {\n System.out.println(\"Incorrect URL encoding\");\n } catch (IOException e) {\n System.out.println(\"Unable to read from google\");\n e.printStackTrace();\n }\n executor.shutdown();\n return libCount;\n }", "int countByExample(CfgSearchRecommendExample example);", "public static List<String> get_RankedResults(List<Doc_accum> results) {\n List<String> filenames = new ArrayList();\n\n if (results.isEmpty()) {\n GUI.JListModel.clear();\n GUI.ResultsLabel.setText(\"\");\n clickList = false;\n\n String notFound = \"Your search '\" + query + \"' is not found in any documents\";\n GUI.ResultsLabel.setText(notFound);\n\n } else {\n clickList = false;\n\n //clears list and repopulates it \n String docInfo;\n\n GUI.JListModel.clear();\n GUI.ResultsLabel.setText(\"\");\n\n for (Doc_accum p : results) {\n if (queryMode) {\n corpus.getDocument(p.getPosting().getDocumentId()).getContent();\n }\n //docInfo = corpus.getDocument(p.getPosting().getDocumentId()).getTitle();\n docInfo = corpus.getDocument(p.getPosting().getDocumentId()).getFileName().toString();\n filenames.add(docInfo);\n\n }\n }\n\n GUI.SearchBarTextField.selectAll();\n\n return filenames;\n }", "@Test\n public void resultNumberTest() throws InterruptedException, ParseException {\n HomePageNavigation.gotoHomePage();\n Thread.sleep(2000);\n SearchNavigation.gotoSearchResultsPage(index,\"\");\n assertTrue(\"Message does not exist\", CommonUtils.extractTotalResults() >= 1);\n }", "OResultSet fetchNext(int n);", "public static void test1(){\n\t\tlong[] testCase=new long[]{2034912444,1511277043};\r\n\t\tList<String> rs=SearchWrapper.search( testCase[0], testCase[testCase.length-1]);\r\n\t\t\r\n\t}", "public void testSearchByContent() {\n Message m1 = new Message(\"test\",\"bla bla david moshe\",_u1);\n Message.incId();\n try {\n Thread.sleep(10);\n } catch (InterruptedException ex) {\n ex.printStackTrace();\n }\n Message m2 = new Message(\"test2\",\"bla2 bla david tikva moshe\",_u1);\n Message.incId();\n Message m3 = new Message(\"test2\",\"moshe cohen\",_u1);\n Message.incId();\n\n this.allMsgs.put(m1.getMsg_id(), m1);\n this.allMsgs.put(m2.getMsg_id(), m2);\n this.allMsgs.put(m3.getMsg_id(), m3);\n\n this.searchEngine.addData(m1);\n this.searchEngine.addData(m2);\n this.searchEngine.addData(m3);\n\n /* SearchHit[] result = this.searchEngine.searchByContent(\"bla2\", 0,1);\n assertTrue(result.length==1);\n assertTrue(result[0].getMessage().equals(m2));\n\n SearchHit[] result2 = this.searchEngine.searchByContent(\"bla david tikva\", 0,2);\n assertTrue(result2.length==1);\n assertEquals(result2[0].getScore(),3.0);\n //assertEquals(result2[1].getScore(),2.0);\n assertTrue(result2[0].getMessage().equals(m2));\n //assertTrue(result2[1].getMessage().equals(m1));\n\n SearchHit[] result3 = this.searchEngine.searchByContent(\"bla2 tikva\", 0, 5);\n assertTrue(result3.length==0);\n */\n\n/*\n SearchHit[] result4 = this.searchEngine.searchByContent(\"bla OR tikva\", 0, 5);\n assertTrue(result4.length==2);\n assertTrue(result4[0].getMessage().equals(m2));\n assertTrue(result4[1].getMessage().equals(m1));\n\n SearchHit[] result5 = this.searchEngine.searchByContent(\"bla AND cohen\", 0, 5);\n assertTrue(result5.length==0);\n\n result5 = this.searchEngine.searchByContent(\"bla AND moshe\",0,5);\n assertTrue(result5.length==2);\n assertTrue(result5[0].getScore() == result5[1].getScore());\n assertTrue(result5[0].getMessage().equals(m2));\n assertTrue(result5[1].getMessage().equals(m1));\n\n result5 = this.searchEngine.searchByContent(\"bla AND moshe\", 10, 11);\n assertTrue(result5.length==0);\n */\n\n }", "public Results() {\n\t\t\t// TODO Auto-generated constructor stub\n\t\t}", "Object getNumberMatched();", "entities.Torrent.LocalSearchResponse getLocalSearchResponse();", "public void setResults(ArrayList results) {\n this.results = results;\n }", "public abstract void fetchNodes(NodeCallback callback);", "public void search() {\r\n \t\r\n }", "private void searchFunction() {\n\t\t\r\n\t}", "Match getMatches();", "public boolean execute(int i) {\n result.add(nodeMap.get(i));\n return true; // return true here to continue receiving results\n }", "void setSearchResults(LazyDataModel<ReagentResult> searchResults);", "@Test\n public void testMultiSearch_withoutParens() {\n List<String> fields = new ArrayList<>();\n fields.add(\"sn\");\n fields.add(\"mail\");\n\n BridgeRequest request = new BridgeRequest();\n request.setStructure(\"user\");\n request.setFields(fields);\n request.setQuery(\"memberOf=cn=VPN Users,cn=Users,dc=kineticdata,dc=com\");\n\n BridgeError expectedError = null;\n try {\n getAdapter().search(request);\n } catch (BridgeError e) {\n expectedError = e;\n }\n\n assertNotNull(expectedError);\n }", "public entities.Torrent.NodeSearchResult.Builder getResultsBuilder(\n int index) {\n return getResultsFieldBuilder().getBuilder(index);\n }", "LazyDataModel<ReagentResult> getSearchResults();", "public Long getElementCount();", "public List<NodeInfo> getStoredNodes() {\n List<NodeInfo> nodes = new ArrayList<>();\n\n SearchResponse response = client.prepareSearch(\"k8s_*\").setTypes(\"node\").setSize(10000).get();\n\n SearchHit[] hits = response.getHits().getHits();\n log.info(String.format(\"The length of node search hits is [%d]\", hits.length));\n\n ObjectMapper mapper = new ObjectMapper();\n try {\n for (SearchHit hit : hits) {\n// log.info(hit.getSourceAsString());\n NodeInfo node = mapper.readValue(hit.getSourceAsString(), NodeInfo.class);\n nodes.add(node);\n }\n } catch (Exception e) {\n e.printStackTrace();\n }\n return nodes;\n }", "public void search() {\n }", "public void onSearchResults(String term, List<WikiPage> results);", "List<T> getResults();", "@Test\n public void getResultTest() throws IOException {\n System.setProperty(\"REPO_HG_19_PATH\", REPO_PATH_RANGES);\n System.setProperty(\"REPO_HG_38_PATH\", REPO_PATH_RANGES);\n System.setProperty(\"MAX_RANGE_RECORDS_IN_RESULT\", \"10\");\n\n // test common valid flow\n Response response = new Main().getResult19(\"X:77633124\");\n Assert.assertEquals(OK.getStatusCode(), response.getStatus());\n System.out.println(response.getEntity());\n Assert.assertNotNull(response.getEntity());\n JsonNode result = ((ArrayNode) new ObjectMapper().readTree((String)response.getEntity()).get(\"entries\")).get(0);\n Assert.assertEquals(\"G\", result.get(\"ref\").asText());\n Assert.assertEquals(\"A\", result.get(\"alt\").asText());\n ArrayNode homArray = (ArrayNode) result.get(\"hom\");\n Assert.assertEquals(1, homArray.size());\n Assert.assertEquals(\"SRR14860530\", homArray.get(0).asText());\n ArrayNode hetArray = (ArrayNode) result.get(\"het\");\n Assert.assertEquals(1, hetArray.size());\n Assert.assertEquals(\"SRR14860527\", hetArray.get(0).asText());\n\n // test lower case\n response = new Main().getResult(\"x:77633124\", REPO_PATH_RANGES, 10);\n Assert.assertEquals(OK.getStatusCode(), response.getStatus());\n System.out.println(response.getEntity());\n Assert.assertNotNull(response.getEntity());\n result = ((ArrayNode) new ObjectMapper().readTree((String)response.getEntity()).get(\"entries\")).get(0);\n Assert.assertEquals(\"G\", result.get(\"ref\").asText());\n Assert.assertEquals(\"A\", result.get(\"alt\").asText());\n homArray = (ArrayNode) result.get(\"hom\");\n Assert.assertEquals(1, homArray.size());\n Assert.assertEquals(\"SRR14860530\", homArray.get(0).asText());\n hetArray = (ArrayNode) result.get(\"het\");\n Assert.assertEquals(1, hetArray.size());\n Assert.assertEquals(\"SRR14860527\", hetArray.get(0).asText());\n\n //test range query\n response = new Main().getResult(\"2:25234482-26501857\", REPO_PATH_RANGES, 10);\n Assert.assertEquals(OK.getStatusCode(), response.getStatus());\n System.out.println(response.getEntity());\n\n JsonNode jsonResult = new ObjectMapper().readTree((String)response.getEntity());\n Assert.assertEquals(11, jsonResult.get(\"count\").asInt());\n\n ArrayNode dataArray = (ArrayNode)jsonResult.get(\"data\");\n Assert.assertEquals(10, dataArray.size());\n\n JsonNode first = dataArray.get(0);\n Assert.assertEquals(25234482, first.get(\"pos\").asInt());\n Assert.assertEquals(\"C\", ((ArrayNode)first.get(\"entries\")).get(0).get(\"ref\").asText());\n Assert.assertEquals(\"T\", ((ArrayNode)first.get(\"entries\")).get(0).get(\"alt\").asText());\n\n JsonNode last = dataArray.get(9);\n Assert.assertEquals(25313958, last.get(\"pos\").asInt());\n Assert.assertEquals(\"G\", ((ArrayNode)last.get(\"entries\")).get(0).get(\"ref\").asText());\n Assert.assertEquals(\"A\", ((ArrayNode)last.get(\"entries\")).get(0).get(\"alt\").asText());\n\n // test empty case\n response = new Main().getResult(\"x:15000112\", REPO_PATH_RANGES, 10);\n Assert.assertEquals(OK.getStatusCode(), response.getStatus());\n System.out.println(response.getEntity());\n Assert.assertNotNull(response.getEntity());\n Assert.assertEquals(EMPTY_RESULT, response.getEntity());\n\n // test bad input 1\n response = new Main().getResult(\"adkwjfh\", REPO_PATH_RANGES, 10);\n Assert.assertEquals(BAD_REQUEST.getStatusCode(), response.getStatus());\n\n // test bad input 2\n response = new Main().getResult(\"s:sss\", REPO_PATH_RANGES, 10);\n Assert.assertEquals(BAD_REQUEST.getStatusCode(), response.getStatus());\n\n // test bad input 3\n response = new Main().getResult(\"s:12345\", REPO_PATH_RANGES, 10);\n Assert.assertEquals(BAD_REQUEST.getStatusCode(), response.getStatus());\n\n // test bad input 4\n response = new Main().getResult(\"x:500000000\", REPO_PATH_RANGES, 10);\n Assert.assertEquals(BAD_REQUEST.getStatusCode(), response.getStatus());\n }" ]
[ "0.63839877", "0.62841016", "0.59894204", "0.58342236", "0.5776431", "0.5734007", "0.5712916", "0.5670051", "0.5631001", "0.56302875", "0.56143415", "0.5605271", "0.55756223", "0.55691606", "0.55633014", "0.5545001", "0.5545001", "0.55326474", "0.5393185", "0.53787273", "0.5369912", "0.5363887", "0.5346187", "0.53321797", "0.5301303", "0.5284407", "0.52722657", "0.5267805", "0.52622724", "0.52575964", "0.5252404", "0.52506864", "0.52356696", "0.52289075", "0.52278465", "0.520914", "0.52049226", "0.5202083", "0.5194397", "0.51886714", "0.5180487", "0.51756376", "0.5166178", "0.51628715", "0.51591974", "0.5154797", "0.5154727", "0.51516366", "0.51494604", "0.5139536", "0.5133444", "0.51260865", "0.5104945", "0.5094455", "0.5092275", "0.5086912", "0.5086912", "0.50723696", "0.50577176", "0.5052879", "0.50482905", "0.5031012", "0.50290823", "0.5027254", "0.501943", "0.50188446", "0.5015679", "0.5012513", "0.50083816", "0.50054836", "0.50020415", "0.5001236", "0.49921787", "0.49732155", "0.49654254", "0.49647364", "0.4953986", "0.4948581", "0.49465808", "0.49438965", "0.49316013", "0.49230373", "0.49203607", "0.49165064", "0.49132589", "0.49128133", "0.49103022", "0.4900622", "0.4899564", "0.4896023", "0.4895026", "0.48880875", "0.48773724", "0.4873716", "0.48736602", "0.48714477", "0.48663822", "0.48601002", "0.4859893", "0.4855802" ]
0.6862526
0
repeated .NodeSearchResult results = 3;
int getResultsCount();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "entities.Torrent.NodeSearchResult getResults(int index);", "SearchResult findNext(SearchResult result);", "entities.Torrent.NodeSearchResultOrBuilder getResultsOrBuilder(\n int index);", "java.util.List<entities.Torrent.NodeSearchResult>\n getResultsList();", "java.util.List<? extends entities.Torrent.NodeSearchResultOrBuilder>\n getResultsOrBuilderList();", "XResultSet() {\n this.nodeRefs = new LinkedList<>();\n this.numberFound = 0;\n }", "void setNumberOfResults(int numberOfResults);", "public Builder addAllResults(\n java.lang.Iterable<? extends entities.Torrent.NodeSearchResult> values) {\n if (resultsBuilder_ == null) {\n ensureResultsIsMutable();\n com.google.protobuf.AbstractMessageLite.Builder.addAll(\n values, results_);\n onChanged();\n } else {\n resultsBuilder_.addAllMessages(values);\n }\n return this;\n }", "@java.lang.Override\n public entities.Torrent.NodeSearchResultOrBuilder getResultsOrBuilder(\n int index) {\n return results_.get(index);\n }", "public GameList getSearchResult(){ return m_NewSearchResult;}", "int getNumberOfResults();", "public entities.Torrent.NodeSearchResultOrBuilder getResultsOrBuilder(\n int index) {\n if (resultsBuilder_ == null) {\n return results_.get(index); } else {\n return resultsBuilder_.getMessageOrBuilder(index);\n }\n }", "public entities.Torrent.NodeSearchResult.Builder addResultsBuilder() {\n return getResultsFieldBuilder().addBuilder(\n entities.Torrent.NodeSearchResult.getDefaultInstance());\n }", "private<T> void addManyResults(T... results)\n {\n int i =0;\n for(T result : results)\n {\n this.add(\"morgen-main-result\"+i, new LazyDynamicPrimitive<>(result));\n i++;\n }\n\n results = null; // Prevents Heap pollution\n }", "@Test\n public void testCombineRankHighPageRankWeight() {\n Iterator<Pair<Document, Double>> resultIterator = icsSearchEngine.searchQuery(Arrays.asList(\"anteater\"),\n 10, 1000000000.0);\n ImmutableList<Pair<Document, Double>> resultList = ImmutableList.copyOf(resultIterator);\n Assert.assertEquals(10, resultList.size());\n Assert.assertTrue(resultList.stream().limit(3).map(p -> p.getLeft())\n .anyMatch(doc -> doc.getText().contains(\"wics.ics.uci.edu\")));\n }", "public void setResults(ArrayList<Integer> results){\n this.results = results;\n }", "public int countResults() \n {\n return itsResults_size;\n }", "SearchResult findNext(SearchOptions searchOptions);", "public Builder addResults(entities.Torrent.NodeSearchResult value) {\n if (resultsBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureResultsIsMutable();\n results_.add(value);\n onChanged();\n } else {\n resultsBuilder_.addMessage(value);\n }\n return this;\n }", "private NodeSearchResult(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "@java.lang.Override\n public entities.Torrent.NodeSearchResult getResults(int index) {\n return results_.get(index);\n }", "void xsetNumberOfResults(org.apache.xmlbeans.XmlInt numberOfResults);", "public ClsNodeDocument[] GetDocuments (ClsNodeDocument[] searchDocs);", "private void numberResults ()\r\n {\r\n int partIndex = 0;\r\n\r\n for (Result result : connection.getResultMap().keySet()) {\r\n ScorePart scorePart = (ScorePart) result.getUnderlyingObject();\r\n scorePart.setId(++partIndex);\r\n }\r\n }", "public IScapSyncSearchResult[] getResults();", "public java.util.List<? extends entities.Torrent.NodeSearchResultOrBuilder>\n getResultsOrBuilderList() {\n if (resultsBuilder_ != null) {\n return resultsBuilder_.getMessageOrBuilderList();\n } else {\n return java.util.Collections.unmodifiableList(results_);\n }\n }", "@java.lang.Override\n public java.util.List<? extends entities.Torrent.NodeSearchResultOrBuilder>\n getResultsOrBuilderList() {\n return results_;\n }", "public int my_node_count();", "boolean getMoreResults();", "public entities.Torrent.NodeSearchResult.Builder addResultsBuilder(\n int index) {\n return getResultsFieldBuilder().addBuilder(\n index, entities.Torrent.NodeSearchResult.getDefaultInstance());\n }", "@Override\n\tprotected void parseResult() {\n\t\t\n\t}", "private void fetchNextBlock() {\n try {\n \tSearchClient _client = new SearchClient(\"cubansea-instance\");\n \tWebSearchResults _results = _client.webSearch(createNextRequest());\n \t\tfor(WebSearchResult _result: _results.listResults()) {\n \t\t\tresults.add(new YahooSearchResult(_result, cacheStatus+1));\n \t\t\tcacheStatus++;\n \t\t}\n \t\tif(resultCount == -1) resultCount = _results.getTotalResultsAvailable().intValue();\n } catch (IOException e) {\n\t\t\tthrow new TechnicalError(e);\n\t\t} catch (SearchException e) {\n\t\t\tthrow new TechnicalError(e);\n\t\t}\n\t}", "public void addAll(XResultSet r) {\n this.getNodeRefs().addAll(r.getNodeRefs());\n this.numberFound += r.numberFound;\n }", "@java.lang.Override\n public java.util.List<entities.Torrent.NodeSearchResult> getResultsList() {\n return results_;\n }", "@Test\n public void test002() {\n int total = response.extract().path(\"total\");\n\n\n System.out.println(\"------------------StartingTest---------------------------\");\n System.out.println(\"The search query is: \" + total);\n System.out.println(\"------------------End of Test---------------------------\");\n\n }", "public void setNumResults(int numResults) {\n mNumResults = numResults;\n }", "public ResultMap<BaseNode> findNodes(ObjectNode query, String searchTerm, ObjectNode traverse);", "public Builder setResults(\n int index, entities.Torrent.NodeSearchResult value) {\n if (resultsBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureResultsIsMutable();\n results_.set(index, value);\n onChanged();\n } else {\n resultsBuilder_.setMessage(index, value);\n }\n return this;\n }", "public ResultMap<BaseNode> findNodes(ObjectNode query, String searchTerm, ObjectNode traverse, Pagination pagination);", "public void rankMatches();", "public int numMatches();", "public void setMatches() {\r\n this.matches++;\r\n\r\n }", "public java.util.List<entities.Torrent.NodeSearchResult> getResultsList() {\n if (resultsBuilder_ == null) {\n return java.util.Collections.unmodifiableList(results_);\n } else {\n return resultsBuilder_.getMessageList();\n }\n }", "public Result getResults()\r\n {\r\n return result;\r\n }", "int countByExample(CrawlExample example);", "private int getHitsAndArticlesByURL(Category node, String url)\r\n\t{\r\n\t\tDocumentBuilderFactory domfac = DocumentBuilderFactory.newInstance();\r\n\t\tint NumRes = 0;\r\n\t\tString totalHits;\r\n\t\ttry{\r\n\t\t\tURL queryurl = new URL(url);\r\n\t\t\tURLConnection connection = queryurl.openConnection();\r\n\t\t\tconnection.setDoInput(true);\r\n\t\t\tInputStream inStream = connection.getInputStream();\r\n\t\t\tDocumentBuilder dombuilder = domfac.newDocumentBuilder();\r\n\t\t\tDocument doc = dombuilder.parse(inStream);\r\n\t\t\tElement root = doc.getDocumentElement();\r\n\t\t\tNodeList resultset_web = root.getElementsByTagName(\"resultset_web\");\r\n\t\t\tNode resultset = resultset_web.item(0);\r\n\t\t\t\r\n\t\t\ttotalHits = resultset.getAttributes().getNamedItem(\"totalhits\").getNodeValue();\r\n\t\t\tNumRes = Integer.parseInt(totalHits);\r\n\t\t\t\r\n\t\t\tint count = 0;\r\n\t\t\tNodeList results = resultset.getChildNodes(); \r\n\t\t\tif(results != null)\r\n\t\t\t{\t\t\t\r\n\t\t\t\tfor(int i = 0 ; i < results.getLength(); i++){\r\n\t\t\t\t\tNode result = results.item(i);\t\t\t\t\t\t\t\t\r\n\t\t\t\t\tArticle newArticle = new Article();\r\n\t\t\t\t\t\r\n\t\t\t\t\tif(result.getNodeType()==Node.ELEMENT_NODE){\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\tfor(Node node1 = result.getFirstChild(); node1 != null; node1 = node1.getNextSibling()){\r\n\t\t\t\t\t\t\tif(node1.getNodeType()==Node.ELEMENT_NODE){\t\t\t\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\tif(node1.getNodeName().equals(\"url\") && node1.getFirstChild() != null && count < 4){\r\n\t\t\t\t\t\t\t\t\tcount++;\r\n\t\t\t\t\t\t\t\t\tString pageUrl = node1.getFirstChild().getNodeValue();\r\n\t\t\t\t\t\t\t\t\tArticle article = new Article();\r\n\t\t\t\t\t\t\t\t\tarticle.URL = pageUrl;\r\n\t\t\t\t\t\t\t\t\tarticle.words = getWordsLynx.runLynx(pageUrl);\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\tnode.articles.add(article);\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\t\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\t\r\n\t\t}catch(ParserConfigurationException e){\r\n\t\t\te.printStackTrace();\r\n\t\t\treturn -1;\r\n\t\t}catch(SAXException e){\r\n\t\t\te.printStackTrace();\r\n\t\t\treturn -1;\r\n\t\t}catch(IOException e){\r\n\t\t\te.printStackTrace();\r\n\t\t\treturn -1;\r\n\t\t}\r\n\r\n\t\treturn NumRes;\r\n\t}", "public int numberOfOccorrence();", "@Test\n\tvoid getResultsTest() {\n\t\tassertEquals(22, utilities.getResults(-21));\n\t\tassertEquals(20, utilities.getResults(-20));\n\t\tassertEquals(40, utilities.getResults(-19));\n\t\tassertEquals(38, utilities.getResults(-18));\n\t\tassertEquals(22, utilities.getResults(21));\n\t\tassertEquals(20, utilities.getResults(20));\n\t\tassertEquals(22, utilities.getResults(2));\n\t\tassertEquals(22, utilities.getResults(1));\n\t}", "@Test\n public void testFindNMatches() {\n List<Path> files = new ArrayList<>();\n files.add(new File(String.join(File.separator, \"src\", \"test\", \"resources\"),\n \"logviewer-search-context-tests.log.test\").toPath());\n files.add(new File(String.join(File.separator, \"src\", \"test\", \"resources\"),\n \"logviewer-search-context-tests.log.gz\").toPath());\n\n final LogviewerLogSearchHandler handler = getSearchHandler();\n\n final List<Map<String, Object>> matches1 = handler.findNMatches(files, 20, 0, 0, \"needle\").getMatches();\n final List<Map<String, Object>> matches2 = handler.findNMatches(files, 20, 0, 126, \"needle\").getMatches();\n final List<Map<String, Object>> matches3 = handler.findNMatches(files, 20, 1, 0, \"needle\").getMatches();\n\n assertEquals(2, matches1.size());\n assertEquals(4, ((List) matches1.get(0).get(\"matches\")).size());\n assertEquals(4, ((List) matches1.get(1).get(\"matches\")).size());\n assertEquals(String.join(File.separator, \"test\", \"resources\", \"logviewer-search-context-tests.log.test\"), matches1.get(0).get(\"fileName\"));\n assertEquals(String.join(File.separator, \"test\", \"resources\", \"logviewer-search-context-tests.log.gz\"), matches1.get(1).get(\"fileName\"));\n\n assertEquals(2, ((List) matches2.get(0).get(\"matches\")).size());\n assertEquals(4, ((List) matches2.get(1).get(\"matches\")).size());\n\n assertEquals(1, matches3.size());\n assertEquals(4, ((List) matches3.get(0).get(\"matches\")).size());\n }", "void remoteSearch(String groupId, String type, String attr, \n String value, int threshold, String serviceHandler, \n DiscoveryListener listener)\n \tthrows IOException\n {\n Query query = new Query(groupId, type, attr, value, \n serviceHandler,listener);\n \n queries.put(listener, query);\n \n\t //if resource not found in local cache\n\t String requestId = getNextRequestId();\n\t \n\t int urisize =0;\n\t EndpointAddress[] myURIs = peer.getURIList();\n\t \n\t if (myURIs != null)\n\t urisize = myURIs.length;\n\t \n\t Element[] elm = new Element[9 + urisize];\n\t //Element[] elm = new Element[9];\n\t \n\t\n\t elm[0] = new Element(Message.MESSAGE_TYPE_TAG, Message.REQUEST_SEARCH,\n\t Message.JXTA_NAME_SPACE);\n\t elm[1] = new Element(Message.TYPE_TAG, type, \n\t Message.JXTA_NAME_SPACE);\n\t elm[2] = new Element(Message.ATTRIBUTE_TAG, attr, \n\t Message.JXTA_NAME_SPACE);\n\t elm[3] = new Element(Message.VALUE_TAG, value, \n\t Message.JXTA_NAME_SPACE);\n\t elm[4] = new Element(Message.THRESHOLD_TAG, Integer.toString(threshold), \n\t Message.JXTA_NAME_SPACE);\n\t elm[5] = new Element(Message.REQUESTID_TAG, requestId, \n\t Message.JXTA_NAME_SPACE);\n\t elm[6] = new Element(Message.ID_TAG, peer.getID().toString(), \n\t Message.JXTA_NAME_SPACE);\n\t elm[7] = new Element(Message.GROUP_ID_TAG, groupId, \n\t Message.JXTA_NAME_SPACE);\n\t elm[8] = new Element(Message.HOPCOUNT_TAG, Integer.toString(DEFAULT_HOP_COUNT), \n\t Message.JXTA_NAME_SPACE);\n\t\n\t if (urisize > 0)\n\t {\n\t\t for (int i = 0; i < myURIs.length; i++)\n\t\t {\n\t\t EndpointAddress uri = myURIs[i];\n\t\t uri = new EndpointAddress(uri, serviceName, serviceHandler);\n\t\t elm[9 + i] = new Element(NamedResource.URITAG + String.valueOf(i), uri.toString().getBytes(),\n\t\t Message.JXTA_NAME_SPACE, null);\n\t\t }\n\t }\n\t \n\t send(elm, serviceHandler);\n }", "public void setResults(ArrayOfFindResult results) {\n this.results = results;\n }", "@Test\n public void testCombinePageRankTfIdf() {\n\n Iterator<Pair<Document, Double>> resultIterator = icsSearchEngine.searchQuery(\n Arrays.asList(\"ISG\", \"Bren\", \"School\", \"UCI\"),\n 100, 100.0);\n ImmutableList<Pair<Document, Double>> resultList = ImmutableList.copyOf(resultIterator);\n\n // first result should be \"isg.ics.uci.edu\"\n Assert.assertEquals(\"isg.ics.uci.edu\", getDocumentUrl(resultList.get(0).getLeft().getText()));\n\n // top 10 should have URLs starting \"hobbes.ics.uci.edu\"\n Assert.assertTrue(resultList.stream().limit(10).map(p -> getDocumentUrl(p.getLeft().getText()))\n .anyMatch(p -> p.contains(\"hobbes.ics.uci.edu\")));\n\n // top 50 should have URL \"ipubmed2.ics.uci.edu\"\n Assert.assertTrue(resultList.stream().limit(50).map(p -> getDocumentUrl(p.getLeft().getText()))\n .anyMatch(p -> p.equals(\"ipubmed2.ics.uci.edu\")));\n\n }", "public void addMatch() {\n totalMatches ++;\n }", "int countByExample(CrawlTestExample example);", "int getNodeCount();", "int getNodeCount();", "public int getWrapperHits();", "entities.Torrent.SearchResponse getSearchResponse();", "public Builder addResults(\n int index, entities.Torrent.NodeSearchResult value) {\n if (resultsBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureResultsIsMutable();\n results_.add(index, value);\n onChanged();\n } else {\n resultsBuilder_.addMessage(index, value);\n }\n return this;\n }", "public SearchResults() {\n\t\tPageFactory.initElements(driver, this);\n\t}", "public entities.Torrent.NodeSearchResult getResults(int index) {\n if (resultsBuilder_ == null) {\n return results_.get(index);\n } else {\n return resultsBuilder_.getMessage(index);\n }\n }", "List<SearchResult> search(SearchQuery searchQuery);", "@Test\n public void test19(){\n // List<Integer> services = response.extract().path(\"data.findAll{it.services=='Samsung Experience'}.storeservices\");\n //List<HashMap<String, ?>> address = response.extract().path(\"data.findAll{it.service=='Samsung Experience'}.storeservices\");\n System.out.println(\"------------------StartingTest---------------------------\");\n System.out.println(\"The name of all services:\" );\n System.out.println(\"------------------End of Test---------------------------\");\n }", "@java.lang.Override\n public int getResultsCount() {\n return results_.size();\n }", "protected List<SearchResultElement> getResultElementsFromNodes(\n IProgressMonitor monitor, INodePO[] reuse) {\n final List<SearchResultElement> reuseLoc =\n new ArrayList<SearchResultElement>(reuse.length);\n\n for (INodePO node : reuse) {\n INodePO parent = node.getSpecAncestor();\n if (parent == null) {\n parent = node.getParentNode();\n }\n if (parent != null) {\n Long id = node.getId();\n String nodeName = GeneralLabelProvider.getTextImpl(node);\n reuseLoc.add(new SearchResultElement<Long>(NLS.bind(\n Messages.SearchResultPageElementLabel, new Object[] {\n parent.getName(), nodeName }), id,\n GeneralLabelProvider.getImageImpl(node),\n new NodeSearchResultElementAction(), node\n .getComment()));\n }\n monitor.worked(1);\n }\n return reuseLoc;\n }", "org.apache.xmlbeans.XmlInt xgetNumberOfResults();", "public int getNumResults() {\r\n\t\treturn this.numResults;\r\n\t}", "void loadResults(ArrayList<Comic> results, int totalItems);", "int nodeCount();", "@Override\r\n\tpublic void iterateCount() {\n\t\t\r\n\t}", "public void getNodesThatCall(PassedParameter pp, Set result) {\n if (USE_PARAMETER_MAP) {\n Set s = (Set)passedParamToNodes.get(pp);\n if (s == null) return;\n result.addAll(s);\n return;\n }\n for (Iterator i = this.nodeIterator(); i.hasNext(); ) {\n Node n = (Node)i.next();\n if ((n.passedParameters != null) && n.passedParameters.contains(pp))\n result.add(n);\n }\n }", "int getMatchedElements();", "private static Elements getResultsFromAppPage(Document doc) {\n Elements results = null;\n try {\n results = doc.getElementsByClass(\"attribute-container\");\n }\n catch (NullPointerException e){\n logger.info(\"no applications tab for current item\");\n return results;\n }\n logger.debug(\"total results \" + results.size());\n\n return results;\n }", "Map<String, Integer> getSearchResults(String searchTerm) {\n\n Map<String, Integer> libCount = new ConcurrentHashMap<>();\n\n try {\n Document document = Jsoup.connect(google + URLEncoder.encode(searchTerm, charset))\n .userAgent(userAgent)\n .referrer(\"http://www.google.com\")\n .get();\n\n Elements links = document.select(\"a[href]\");\n Set<String> urls = new HashSet<>();\n for (Element link: links) {\n if (link.attr(\"href\") != null && link.attr(\"href\").contains(\"=\")) {\n String url = link.attr(\"href\").split(\"=\")[1];\n if (url.contains(\"http\")) {\n urls.add(getDomainName(url));\n }\n }\n }\n\n CountDownLatch latch = new CountDownLatch(urls.size());\n\n for (String url: urls) {\n AnalysePage analysePage = new AnalysePage(url);\n completionService.submit(analysePage);\n }\n\n int completed = 0;\n\n while(completed < urls.size()) {\n try {\n Future<Set<String>> resultFuture = completionService.take();\n Set<String> strings = resultFuture.get();\n for (String lib : strings) {\n Integer count = libCount.get(lib);\n if (count == null) {\n libCount.put(lib, 1);\n } else {\n libCount.put(lib, ++count);\n }\n }\n completed++;\n latch.countDown();\n } catch (InterruptedException | ExecutionException e) {\n e.printStackTrace();\n }\n }\n try {\n latch.await();\n } catch (InterruptedException e) {\n e.printStackTrace();\n }\n\n } catch (MalformedURLException e) {\n System.out.println(\"The URL is Malformed\");\n } catch (UnsupportedEncodingException e) {\n System.out.println(\"Incorrect URL encoding\");\n } catch (IOException e) {\n System.out.println(\"Unable to read from google\");\n e.printStackTrace();\n }\n executor.shutdown();\n return libCount;\n }", "int countByExample(CfgSearchRecommendExample example);", "public static List<String> get_RankedResults(List<Doc_accum> results) {\n List<String> filenames = new ArrayList();\n\n if (results.isEmpty()) {\n GUI.JListModel.clear();\n GUI.ResultsLabel.setText(\"\");\n clickList = false;\n\n String notFound = \"Your search '\" + query + \"' is not found in any documents\";\n GUI.ResultsLabel.setText(notFound);\n\n } else {\n clickList = false;\n\n //clears list and repopulates it \n String docInfo;\n\n GUI.JListModel.clear();\n GUI.ResultsLabel.setText(\"\");\n\n for (Doc_accum p : results) {\n if (queryMode) {\n corpus.getDocument(p.getPosting().getDocumentId()).getContent();\n }\n //docInfo = corpus.getDocument(p.getPosting().getDocumentId()).getTitle();\n docInfo = corpus.getDocument(p.getPosting().getDocumentId()).getFileName().toString();\n filenames.add(docInfo);\n\n }\n }\n\n GUI.SearchBarTextField.selectAll();\n\n return filenames;\n }", "@Test\n public void resultNumberTest() throws InterruptedException, ParseException {\n HomePageNavigation.gotoHomePage();\n Thread.sleep(2000);\n SearchNavigation.gotoSearchResultsPage(index,\"\");\n assertTrue(\"Message does not exist\", CommonUtils.extractTotalResults() >= 1);\n }", "OResultSet fetchNext(int n);", "public static void test1(){\n\t\tlong[] testCase=new long[]{2034912444,1511277043};\r\n\t\tList<String> rs=SearchWrapper.search( testCase[0], testCase[testCase.length-1]);\r\n\t\t\r\n\t}", "public void testSearchByContent() {\n Message m1 = new Message(\"test\",\"bla bla david moshe\",_u1);\n Message.incId();\n try {\n Thread.sleep(10);\n } catch (InterruptedException ex) {\n ex.printStackTrace();\n }\n Message m2 = new Message(\"test2\",\"bla2 bla david tikva moshe\",_u1);\n Message.incId();\n Message m3 = new Message(\"test2\",\"moshe cohen\",_u1);\n Message.incId();\n\n this.allMsgs.put(m1.getMsg_id(), m1);\n this.allMsgs.put(m2.getMsg_id(), m2);\n this.allMsgs.put(m3.getMsg_id(), m3);\n\n this.searchEngine.addData(m1);\n this.searchEngine.addData(m2);\n this.searchEngine.addData(m3);\n\n /* SearchHit[] result = this.searchEngine.searchByContent(\"bla2\", 0,1);\n assertTrue(result.length==1);\n assertTrue(result[0].getMessage().equals(m2));\n\n SearchHit[] result2 = this.searchEngine.searchByContent(\"bla david tikva\", 0,2);\n assertTrue(result2.length==1);\n assertEquals(result2[0].getScore(),3.0);\n //assertEquals(result2[1].getScore(),2.0);\n assertTrue(result2[0].getMessage().equals(m2));\n //assertTrue(result2[1].getMessage().equals(m1));\n\n SearchHit[] result3 = this.searchEngine.searchByContent(\"bla2 tikva\", 0, 5);\n assertTrue(result3.length==0);\n */\n\n/*\n SearchHit[] result4 = this.searchEngine.searchByContent(\"bla OR tikva\", 0, 5);\n assertTrue(result4.length==2);\n assertTrue(result4[0].getMessage().equals(m2));\n assertTrue(result4[1].getMessage().equals(m1));\n\n SearchHit[] result5 = this.searchEngine.searchByContent(\"bla AND cohen\", 0, 5);\n assertTrue(result5.length==0);\n\n result5 = this.searchEngine.searchByContent(\"bla AND moshe\",0,5);\n assertTrue(result5.length==2);\n assertTrue(result5[0].getScore() == result5[1].getScore());\n assertTrue(result5[0].getMessage().equals(m2));\n assertTrue(result5[1].getMessage().equals(m1));\n\n result5 = this.searchEngine.searchByContent(\"bla AND moshe\", 10, 11);\n assertTrue(result5.length==0);\n */\n\n }", "public Results() {\n\t\t\t// TODO Auto-generated constructor stub\n\t\t}", "Object getNumberMatched();", "entities.Torrent.LocalSearchResponse getLocalSearchResponse();", "public void setResults(ArrayList results) {\n this.results = results;\n }", "public abstract void fetchNodes(NodeCallback callback);", "public void search() {\r\n \t\r\n }", "private void searchFunction() {\n\t\t\r\n\t}", "Match getMatches();", "public boolean execute(int i) {\n result.add(nodeMap.get(i));\n return true; // return true here to continue receiving results\n }", "void setSearchResults(LazyDataModel<ReagentResult> searchResults);", "@Test\n public void testMultiSearch_withoutParens() {\n List<String> fields = new ArrayList<>();\n fields.add(\"sn\");\n fields.add(\"mail\");\n\n BridgeRequest request = new BridgeRequest();\n request.setStructure(\"user\");\n request.setFields(fields);\n request.setQuery(\"memberOf=cn=VPN Users,cn=Users,dc=kineticdata,dc=com\");\n\n BridgeError expectedError = null;\n try {\n getAdapter().search(request);\n } catch (BridgeError e) {\n expectedError = e;\n }\n\n assertNotNull(expectedError);\n }", "public entities.Torrent.NodeSearchResult.Builder getResultsBuilder(\n int index) {\n return getResultsFieldBuilder().getBuilder(index);\n }", "LazyDataModel<ReagentResult> getSearchResults();", "public Long getElementCount();", "public List<NodeInfo> getStoredNodes() {\n List<NodeInfo> nodes = new ArrayList<>();\n\n SearchResponse response = client.prepareSearch(\"k8s_*\").setTypes(\"node\").setSize(10000).get();\n\n SearchHit[] hits = response.getHits().getHits();\n log.info(String.format(\"The length of node search hits is [%d]\", hits.length));\n\n ObjectMapper mapper = new ObjectMapper();\n try {\n for (SearchHit hit : hits) {\n// log.info(hit.getSourceAsString());\n NodeInfo node = mapper.readValue(hit.getSourceAsString(), NodeInfo.class);\n nodes.add(node);\n }\n } catch (Exception e) {\n e.printStackTrace();\n }\n return nodes;\n }", "public void search() {\n }", "public void onSearchResults(String term, List<WikiPage> results);", "List<T> getResults();", "@Test\n public void getResultTest() throws IOException {\n System.setProperty(\"REPO_HG_19_PATH\", REPO_PATH_RANGES);\n System.setProperty(\"REPO_HG_38_PATH\", REPO_PATH_RANGES);\n System.setProperty(\"MAX_RANGE_RECORDS_IN_RESULT\", \"10\");\n\n // test common valid flow\n Response response = new Main().getResult19(\"X:77633124\");\n Assert.assertEquals(OK.getStatusCode(), response.getStatus());\n System.out.println(response.getEntity());\n Assert.assertNotNull(response.getEntity());\n JsonNode result = ((ArrayNode) new ObjectMapper().readTree((String)response.getEntity()).get(\"entries\")).get(0);\n Assert.assertEquals(\"G\", result.get(\"ref\").asText());\n Assert.assertEquals(\"A\", result.get(\"alt\").asText());\n ArrayNode homArray = (ArrayNode) result.get(\"hom\");\n Assert.assertEquals(1, homArray.size());\n Assert.assertEquals(\"SRR14860530\", homArray.get(0).asText());\n ArrayNode hetArray = (ArrayNode) result.get(\"het\");\n Assert.assertEquals(1, hetArray.size());\n Assert.assertEquals(\"SRR14860527\", hetArray.get(0).asText());\n\n // test lower case\n response = new Main().getResult(\"x:77633124\", REPO_PATH_RANGES, 10);\n Assert.assertEquals(OK.getStatusCode(), response.getStatus());\n System.out.println(response.getEntity());\n Assert.assertNotNull(response.getEntity());\n result = ((ArrayNode) new ObjectMapper().readTree((String)response.getEntity()).get(\"entries\")).get(0);\n Assert.assertEquals(\"G\", result.get(\"ref\").asText());\n Assert.assertEquals(\"A\", result.get(\"alt\").asText());\n homArray = (ArrayNode) result.get(\"hom\");\n Assert.assertEquals(1, homArray.size());\n Assert.assertEquals(\"SRR14860530\", homArray.get(0).asText());\n hetArray = (ArrayNode) result.get(\"het\");\n Assert.assertEquals(1, hetArray.size());\n Assert.assertEquals(\"SRR14860527\", hetArray.get(0).asText());\n\n //test range query\n response = new Main().getResult(\"2:25234482-26501857\", REPO_PATH_RANGES, 10);\n Assert.assertEquals(OK.getStatusCode(), response.getStatus());\n System.out.println(response.getEntity());\n\n JsonNode jsonResult = new ObjectMapper().readTree((String)response.getEntity());\n Assert.assertEquals(11, jsonResult.get(\"count\").asInt());\n\n ArrayNode dataArray = (ArrayNode)jsonResult.get(\"data\");\n Assert.assertEquals(10, dataArray.size());\n\n JsonNode first = dataArray.get(0);\n Assert.assertEquals(25234482, first.get(\"pos\").asInt());\n Assert.assertEquals(\"C\", ((ArrayNode)first.get(\"entries\")).get(0).get(\"ref\").asText());\n Assert.assertEquals(\"T\", ((ArrayNode)first.get(\"entries\")).get(0).get(\"alt\").asText());\n\n JsonNode last = dataArray.get(9);\n Assert.assertEquals(25313958, last.get(\"pos\").asInt());\n Assert.assertEquals(\"G\", ((ArrayNode)last.get(\"entries\")).get(0).get(\"ref\").asText());\n Assert.assertEquals(\"A\", ((ArrayNode)last.get(\"entries\")).get(0).get(\"alt\").asText());\n\n // test empty case\n response = new Main().getResult(\"x:15000112\", REPO_PATH_RANGES, 10);\n Assert.assertEquals(OK.getStatusCode(), response.getStatus());\n System.out.println(response.getEntity());\n Assert.assertNotNull(response.getEntity());\n Assert.assertEquals(EMPTY_RESULT, response.getEntity());\n\n // test bad input 1\n response = new Main().getResult(\"adkwjfh\", REPO_PATH_RANGES, 10);\n Assert.assertEquals(BAD_REQUEST.getStatusCode(), response.getStatus());\n\n // test bad input 2\n response = new Main().getResult(\"s:sss\", REPO_PATH_RANGES, 10);\n Assert.assertEquals(BAD_REQUEST.getStatusCode(), response.getStatus());\n\n // test bad input 3\n response = new Main().getResult(\"s:12345\", REPO_PATH_RANGES, 10);\n Assert.assertEquals(BAD_REQUEST.getStatusCode(), response.getStatus());\n\n // test bad input 4\n response = new Main().getResult(\"x:500000000\", REPO_PATH_RANGES, 10);\n Assert.assertEquals(BAD_REQUEST.getStatusCode(), response.getStatus());\n }" ]
[ "0.6862526", "0.63839877", "0.62841016", "0.59894204", "0.58342236", "0.5776431", "0.5734007", "0.5712916", "0.5670051", "0.5631001", "0.56302875", "0.56143415", "0.5605271", "0.55756223", "0.55691606", "0.55633014", "0.55326474", "0.5393185", "0.53787273", "0.5369912", "0.5363887", "0.5346187", "0.53321797", "0.5301303", "0.5284407", "0.52722657", "0.5267805", "0.52622724", "0.52575964", "0.5252404", "0.52506864", "0.52356696", "0.52289075", "0.52278465", "0.520914", "0.52049226", "0.5202083", "0.5194397", "0.51886714", "0.5180487", "0.51756376", "0.5166178", "0.51628715", "0.51591974", "0.5154797", "0.5154727", "0.51516366", "0.51494604", "0.5139536", "0.5133444", "0.51260865", "0.5104945", "0.5094455", "0.5092275", "0.5086912", "0.5086912", "0.50723696", "0.50577176", "0.5052879", "0.50482905", "0.5031012", "0.50290823", "0.5027254", "0.501943", "0.50188446", "0.5015679", "0.5012513", "0.50083816", "0.50054836", "0.50020415", "0.5001236", "0.49921787", "0.49732155", "0.49654254", "0.49647364", "0.4953986", "0.4948581", "0.49465808", "0.49438965", "0.49316013", "0.49230373", "0.49203607", "0.49165064", "0.49132589", "0.49128133", "0.49103022", "0.4900622", "0.4899564", "0.4896023", "0.4895026", "0.48880875", "0.48773724", "0.4873716", "0.48736602", "0.48714477", "0.48663822", "0.48601002", "0.4859893", "0.4855802" ]
0.5545001
17
repeated .NodeSearchResult results = 3;
java.util.List<? extends entities.Torrent.NodeSearchResultOrBuilder> getResultsOrBuilderList();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "entities.Torrent.NodeSearchResult getResults(int index);", "SearchResult findNext(SearchResult result);", "entities.Torrent.NodeSearchResultOrBuilder getResultsOrBuilder(\n int index);", "java.util.List<entities.Torrent.NodeSearchResult>\n getResultsList();", "XResultSet() {\n this.nodeRefs = new LinkedList<>();\n this.numberFound = 0;\n }", "void setNumberOfResults(int numberOfResults);", "public Builder addAllResults(\n java.lang.Iterable<? extends entities.Torrent.NodeSearchResult> values) {\n if (resultsBuilder_ == null) {\n ensureResultsIsMutable();\n com.google.protobuf.AbstractMessageLite.Builder.addAll(\n values, results_);\n onChanged();\n } else {\n resultsBuilder_.addAllMessages(values);\n }\n return this;\n }", "@java.lang.Override\n public entities.Torrent.NodeSearchResultOrBuilder getResultsOrBuilder(\n int index) {\n return results_.get(index);\n }", "public GameList getSearchResult(){ return m_NewSearchResult;}", "int getNumberOfResults();", "public entities.Torrent.NodeSearchResultOrBuilder getResultsOrBuilder(\n int index) {\n if (resultsBuilder_ == null) {\n return results_.get(index); } else {\n return resultsBuilder_.getMessageOrBuilder(index);\n }\n }", "public entities.Torrent.NodeSearchResult.Builder addResultsBuilder() {\n return getResultsFieldBuilder().addBuilder(\n entities.Torrent.NodeSearchResult.getDefaultInstance());\n }", "private<T> void addManyResults(T... results)\n {\n int i =0;\n for(T result : results)\n {\n this.add(\"morgen-main-result\"+i, new LazyDynamicPrimitive<>(result));\n i++;\n }\n\n results = null; // Prevents Heap pollution\n }", "@Test\n public void testCombineRankHighPageRankWeight() {\n Iterator<Pair<Document, Double>> resultIterator = icsSearchEngine.searchQuery(Arrays.asList(\"anteater\"),\n 10, 1000000000.0);\n ImmutableList<Pair<Document, Double>> resultList = ImmutableList.copyOf(resultIterator);\n Assert.assertEquals(10, resultList.size());\n Assert.assertTrue(resultList.stream().limit(3).map(p -> p.getLeft())\n .anyMatch(doc -> doc.getText().contains(\"wics.ics.uci.edu\")));\n }", "public void setResults(ArrayList<Integer> results){\n this.results = results;\n }", "int getResultsCount();", "int getResultsCount();", "public int countResults() \n {\n return itsResults_size;\n }", "SearchResult findNext(SearchOptions searchOptions);", "public Builder addResults(entities.Torrent.NodeSearchResult value) {\n if (resultsBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureResultsIsMutable();\n results_.add(value);\n onChanged();\n } else {\n resultsBuilder_.addMessage(value);\n }\n return this;\n }", "private NodeSearchResult(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "@java.lang.Override\n public entities.Torrent.NodeSearchResult getResults(int index) {\n return results_.get(index);\n }", "void xsetNumberOfResults(org.apache.xmlbeans.XmlInt numberOfResults);", "public ClsNodeDocument[] GetDocuments (ClsNodeDocument[] searchDocs);", "private void numberResults ()\r\n {\r\n int partIndex = 0;\r\n\r\n for (Result result : connection.getResultMap().keySet()) {\r\n ScorePart scorePart = (ScorePart) result.getUnderlyingObject();\r\n scorePart.setId(++partIndex);\r\n }\r\n }", "public IScapSyncSearchResult[] getResults();", "public java.util.List<? extends entities.Torrent.NodeSearchResultOrBuilder>\n getResultsOrBuilderList() {\n if (resultsBuilder_ != null) {\n return resultsBuilder_.getMessageOrBuilderList();\n } else {\n return java.util.Collections.unmodifiableList(results_);\n }\n }", "@java.lang.Override\n public java.util.List<? extends entities.Torrent.NodeSearchResultOrBuilder>\n getResultsOrBuilderList() {\n return results_;\n }", "public int my_node_count();", "boolean getMoreResults();", "public entities.Torrent.NodeSearchResult.Builder addResultsBuilder(\n int index) {\n return getResultsFieldBuilder().addBuilder(\n index, entities.Torrent.NodeSearchResult.getDefaultInstance());\n }", "@Override\n\tprotected void parseResult() {\n\t\t\n\t}", "private void fetchNextBlock() {\n try {\n \tSearchClient _client = new SearchClient(\"cubansea-instance\");\n \tWebSearchResults _results = _client.webSearch(createNextRequest());\n \t\tfor(WebSearchResult _result: _results.listResults()) {\n \t\t\tresults.add(new YahooSearchResult(_result, cacheStatus+1));\n \t\t\tcacheStatus++;\n \t\t}\n \t\tif(resultCount == -1) resultCount = _results.getTotalResultsAvailable().intValue();\n } catch (IOException e) {\n\t\t\tthrow new TechnicalError(e);\n\t\t} catch (SearchException e) {\n\t\t\tthrow new TechnicalError(e);\n\t\t}\n\t}", "public void addAll(XResultSet r) {\n this.getNodeRefs().addAll(r.getNodeRefs());\n this.numberFound += r.numberFound;\n }", "@java.lang.Override\n public java.util.List<entities.Torrent.NodeSearchResult> getResultsList() {\n return results_;\n }", "@Test\n public void test002() {\n int total = response.extract().path(\"total\");\n\n\n System.out.println(\"------------------StartingTest---------------------------\");\n System.out.println(\"The search query is: \" + total);\n System.out.println(\"------------------End of Test---------------------------\");\n\n }", "public void setNumResults(int numResults) {\n mNumResults = numResults;\n }", "public ResultMap<BaseNode> findNodes(ObjectNode query, String searchTerm, ObjectNode traverse);", "public Builder setResults(\n int index, entities.Torrent.NodeSearchResult value) {\n if (resultsBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureResultsIsMutable();\n results_.set(index, value);\n onChanged();\n } else {\n resultsBuilder_.setMessage(index, value);\n }\n return this;\n }", "public ResultMap<BaseNode> findNodes(ObjectNode query, String searchTerm, ObjectNode traverse, Pagination pagination);", "public void rankMatches();", "public int numMatches();", "public void setMatches() {\r\n this.matches++;\r\n\r\n }", "public java.util.List<entities.Torrent.NodeSearchResult> getResultsList() {\n if (resultsBuilder_ == null) {\n return java.util.Collections.unmodifiableList(results_);\n } else {\n return resultsBuilder_.getMessageList();\n }\n }", "public Result getResults()\r\n {\r\n return result;\r\n }", "int countByExample(CrawlExample example);", "private int getHitsAndArticlesByURL(Category node, String url)\r\n\t{\r\n\t\tDocumentBuilderFactory domfac = DocumentBuilderFactory.newInstance();\r\n\t\tint NumRes = 0;\r\n\t\tString totalHits;\r\n\t\ttry{\r\n\t\t\tURL queryurl = new URL(url);\r\n\t\t\tURLConnection connection = queryurl.openConnection();\r\n\t\t\tconnection.setDoInput(true);\r\n\t\t\tInputStream inStream = connection.getInputStream();\r\n\t\t\tDocumentBuilder dombuilder = domfac.newDocumentBuilder();\r\n\t\t\tDocument doc = dombuilder.parse(inStream);\r\n\t\t\tElement root = doc.getDocumentElement();\r\n\t\t\tNodeList resultset_web = root.getElementsByTagName(\"resultset_web\");\r\n\t\t\tNode resultset = resultset_web.item(0);\r\n\t\t\t\r\n\t\t\ttotalHits = resultset.getAttributes().getNamedItem(\"totalhits\").getNodeValue();\r\n\t\t\tNumRes = Integer.parseInt(totalHits);\r\n\t\t\t\r\n\t\t\tint count = 0;\r\n\t\t\tNodeList results = resultset.getChildNodes(); \r\n\t\t\tif(results != null)\r\n\t\t\t{\t\t\t\r\n\t\t\t\tfor(int i = 0 ; i < results.getLength(); i++){\r\n\t\t\t\t\tNode result = results.item(i);\t\t\t\t\t\t\t\t\r\n\t\t\t\t\tArticle newArticle = new Article();\r\n\t\t\t\t\t\r\n\t\t\t\t\tif(result.getNodeType()==Node.ELEMENT_NODE){\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\tfor(Node node1 = result.getFirstChild(); node1 != null; node1 = node1.getNextSibling()){\r\n\t\t\t\t\t\t\tif(node1.getNodeType()==Node.ELEMENT_NODE){\t\t\t\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\tif(node1.getNodeName().equals(\"url\") && node1.getFirstChild() != null && count < 4){\r\n\t\t\t\t\t\t\t\t\tcount++;\r\n\t\t\t\t\t\t\t\t\tString pageUrl = node1.getFirstChild().getNodeValue();\r\n\t\t\t\t\t\t\t\t\tArticle article = new Article();\r\n\t\t\t\t\t\t\t\t\tarticle.URL = pageUrl;\r\n\t\t\t\t\t\t\t\t\tarticle.words = getWordsLynx.runLynx(pageUrl);\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\tnode.articles.add(article);\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\t\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\t\r\n\t\t}catch(ParserConfigurationException e){\r\n\t\t\te.printStackTrace();\r\n\t\t\treturn -1;\r\n\t\t}catch(SAXException e){\r\n\t\t\te.printStackTrace();\r\n\t\t\treturn -1;\r\n\t\t}catch(IOException e){\r\n\t\t\te.printStackTrace();\r\n\t\t\treturn -1;\r\n\t\t}\r\n\r\n\t\treturn NumRes;\r\n\t}", "public int numberOfOccorrence();", "@Test\n\tvoid getResultsTest() {\n\t\tassertEquals(22, utilities.getResults(-21));\n\t\tassertEquals(20, utilities.getResults(-20));\n\t\tassertEquals(40, utilities.getResults(-19));\n\t\tassertEquals(38, utilities.getResults(-18));\n\t\tassertEquals(22, utilities.getResults(21));\n\t\tassertEquals(20, utilities.getResults(20));\n\t\tassertEquals(22, utilities.getResults(2));\n\t\tassertEquals(22, utilities.getResults(1));\n\t}", "@Test\n public void testFindNMatches() {\n List<Path> files = new ArrayList<>();\n files.add(new File(String.join(File.separator, \"src\", \"test\", \"resources\"),\n \"logviewer-search-context-tests.log.test\").toPath());\n files.add(new File(String.join(File.separator, \"src\", \"test\", \"resources\"),\n \"logviewer-search-context-tests.log.gz\").toPath());\n\n final LogviewerLogSearchHandler handler = getSearchHandler();\n\n final List<Map<String, Object>> matches1 = handler.findNMatches(files, 20, 0, 0, \"needle\").getMatches();\n final List<Map<String, Object>> matches2 = handler.findNMatches(files, 20, 0, 126, \"needle\").getMatches();\n final List<Map<String, Object>> matches3 = handler.findNMatches(files, 20, 1, 0, \"needle\").getMatches();\n\n assertEquals(2, matches1.size());\n assertEquals(4, ((List) matches1.get(0).get(\"matches\")).size());\n assertEquals(4, ((List) matches1.get(1).get(\"matches\")).size());\n assertEquals(String.join(File.separator, \"test\", \"resources\", \"logviewer-search-context-tests.log.test\"), matches1.get(0).get(\"fileName\"));\n assertEquals(String.join(File.separator, \"test\", \"resources\", \"logviewer-search-context-tests.log.gz\"), matches1.get(1).get(\"fileName\"));\n\n assertEquals(2, ((List) matches2.get(0).get(\"matches\")).size());\n assertEquals(4, ((List) matches2.get(1).get(\"matches\")).size());\n\n assertEquals(1, matches3.size());\n assertEquals(4, ((List) matches3.get(0).get(\"matches\")).size());\n }", "void remoteSearch(String groupId, String type, String attr, \n String value, int threshold, String serviceHandler, \n DiscoveryListener listener)\n \tthrows IOException\n {\n Query query = new Query(groupId, type, attr, value, \n serviceHandler,listener);\n \n queries.put(listener, query);\n \n\t //if resource not found in local cache\n\t String requestId = getNextRequestId();\n\t \n\t int urisize =0;\n\t EndpointAddress[] myURIs = peer.getURIList();\n\t \n\t if (myURIs != null)\n\t urisize = myURIs.length;\n\t \n\t Element[] elm = new Element[9 + urisize];\n\t //Element[] elm = new Element[9];\n\t \n\t\n\t elm[0] = new Element(Message.MESSAGE_TYPE_TAG, Message.REQUEST_SEARCH,\n\t Message.JXTA_NAME_SPACE);\n\t elm[1] = new Element(Message.TYPE_TAG, type, \n\t Message.JXTA_NAME_SPACE);\n\t elm[2] = new Element(Message.ATTRIBUTE_TAG, attr, \n\t Message.JXTA_NAME_SPACE);\n\t elm[3] = new Element(Message.VALUE_TAG, value, \n\t Message.JXTA_NAME_SPACE);\n\t elm[4] = new Element(Message.THRESHOLD_TAG, Integer.toString(threshold), \n\t Message.JXTA_NAME_SPACE);\n\t elm[5] = new Element(Message.REQUESTID_TAG, requestId, \n\t Message.JXTA_NAME_SPACE);\n\t elm[6] = new Element(Message.ID_TAG, peer.getID().toString(), \n\t Message.JXTA_NAME_SPACE);\n\t elm[7] = new Element(Message.GROUP_ID_TAG, groupId, \n\t Message.JXTA_NAME_SPACE);\n\t elm[8] = new Element(Message.HOPCOUNT_TAG, Integer.toString(DEFAULT_HOP_COUNT), \n\t Message.JXTA_NAME_SPACE);\n\t\n\t if (urisize > 0)\n\t {\n\t\t for (int i = 0; i < myURIs.length; i++)\n\t\t {\n\t\t EndpointAddress uri = myURIs[i];\n\t\t uri = new EndpointAddress(uri, serviceName, serviceHandler);\n\t\t elm[9 + i] = new Element(NamedResource.URITAG + String.valueOf(i), uri.toString().getBytes(),\n\t\t Message.JXTA_NAME_SPACE, null);\n\t\t }\n\t }\n\t \n\t send(elm, serviceHandler);\n }", "public void setResults(ArrayOfFindResult results) {\n this.results = results;\n }", "@Test\n public void testCombinePageRankTfIdf() {\n\n Iterator<Pair<Document, Double>> resultIterator = icsSearchEngine.searchQuery(\n Arrays.asList(\"ISG\", \"Bren\", \"School\", \"UCI\"),\n 100, 100.0);\n ImmutableList<Pair<Document, Double>> resultList = ImmutableList.copyOf(resultIterator);\n\n // first result should be \"isg.ics.uci.edu\"\n Assert.assertEquals(\"isg.ics.uci.edu\", getDocumentUrl(resultList.get(0).getLeft().getText()));\n\n // top 10 should have URLs starting \"hobbes.ics.uci.edu\"\n Assert.assertTrue(resultList.stream().limit(10).map(p -> getDocumentUrl(p.getLeft().getText()))\n .anyMatch(p -> p.contains(\"hobbes.ics.uci.edu\")));\n\n // top 50 should have URL \"ipubmed2.ics.uci.edu\"\n Assert.assertTrue(resultList.stream().limit(50).map(p -> getDocumentUrl(p.getLeft().getText()))\n .anyMatch(p -> p.equals(\"ipubmed2.ics.uci.edu\")));\n\n }", "public void addMatch() {\n totalMatches ++;\n }", "int countByExample(CrawlTestExample example);", "int getNodeCount();", "int getNodeCount();", "public int getWrapperHits();", "entities.Torrent.SearchResponse getSearchResponse();", "public Builder addResults(\n int index, entities.Torrent.NodeSearchResult value) {\n if (resultsBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureResultsIsMutable();\n results_.add(index, value);\n onChanged();\n } else {\n resultsBuilder_.addMessage(index, value);\n }\n return this;\n }", "public SearchResults() {\n\t\tPageFactory.initElements(driver, this);\n\t}", "public entities.Torrent.NodeSearchResult getResults(int index) {\n if (resultsBuilder_ == null) {\n return results_.get(index);\n } else {\n return resultsBuilder_.getMessage(index);\n }\n }", "List<SearchResult> search(SearchQuery searchQuery);", "@Test\n public void test19(){\n // List<Integer> services = response.extract().path(\"data.findAll{it.services=='Samsung Experience'}.storeservices\");\n //List<HashMap<String, ?>> address = response.extract().path(\"data.findAll{it.service=='Samsung Experience'}.storeservices\");\n System.out.println(\"------------------StartingTest---------------------------\");\n System.out.println(\"The name of all services:\" );\n System.out.println(\"------------------End of Test---------------------------\");\n }", "@java.lang.Override\n public int getResultsCount() {\n return results_.size();\n }", "protected List<SearchResultElement> getResultElementsFromNodes(\n IProgressMonitor monitor, INodePO[] reuse) {\n final List<SearchResultElement> reuseLoc =\n new ArrayList<SearchResultElement>(reuse.length);\n\n for (INodePO node : reuse) {\n INodePO parent = node.getSpecAncestor();\n if (parent == null) {\n parent = node.getParentNode();\n }\n if (parent != null) {\n Long id = node.getId();\n String nodeName = GeneralLabelProvider.getTextImpl(node);\n reuseLoc.add(new SearchResultElement<Long>(NLS.bind(\n Messages.SearchResultPageElementLabel, new Object[] {\n parent.getName(), nodeName }), id,\n GeneralLabelProvider.getImageImpl(node),\n new NodeSearchResultElementAction(), node\n .getComment()));\n }\n monitor.worked(1);\n }\n return reuseLoc;\n }", "org.apache.xmlbeans.XmlInt xgetNumberOfResults();", "public int getNumResults() {\r\n\t\treturn this.numResults;\r\n\t}", "void loadResults(ArrayList<Comic> results, int totalItems);", "int nodeCount();", "@Override\r\n\tpublic void iterateCount() {\n\t\t\r\n\t}", "public void getNodesThatCall(PassedParameter pp, Set result) {\n if (USE_PARAMETER_MAP) {\n Set s = (Set)passedParamToNodes.get(pp);\n if (s == null) return;\n result.addAll(s);\n return;\n }\n for (Iterator i = this.nodeIterator(); i.hasNext(); ) {\n Node n = (Node)i.next();\n if ((n.passedParameters != null) && n.passedParameters.contains(pp))\n result.add(n);\n }\n }", "int getMatchedElements();", "private static Elements getResultsFromAppPage(Document doc) {\n Elements results = null;\n try {\n results = doc.getElementsByClass(\"attribute-container\");\n }\n catch (NullPointerException e){\n logger.info(\"no applications tab for current item\");\n return results;\n }\n logger.debug(\"total results \" + results.size());\n\n return results;\n }", "Map<String, Integer> getSearchResults(String searchTerm) {\n\n Map<String, Integer> libCount = new ConcurrentHashMap<>();\n\n try {\n Document document = Jsoup.connect(google + URLEncoder.encode(searchTerm, charset))\n .userAgent(userAgent)\n .referrer(\"http://www.google.com\")\n .get();\n\n Elements links = document.select(\"a[href]\");\n Set<String> urls = new HashSet<>();\n for (Element link: links) {\n if (link.attr(\"href\") != null && link.attr(\"href\").contains(\"=\")) {\n String url = link.attr(\"href\").split(\"=\")[1];\n if (url.contains(\"http\")) {\n urls.add(getDomainName(url));\n }\n }\n }\n\n CountDownLatch latch = new CountDownLatch(urls.size());\n\n for (String url: urls) {\n AnalysePage analysePage = new AnalysePage(url);\n completionService.submit(analysePage);\n }\n\n int completed = 0;\n\n while(completed < urls.size()) {\n try {\n Future<Set<String>> resultFuture = completionService.take();\n Set<String> strings = resultFuture.get();\n for (String lib : strings) {\n Integer count = libCount.get(lib);\n if (count == null) {\n libCount.put(lib, 1);\n } else {\n libCount.put(lib, ++count);\n }\n }\n completed++;\n latch.countDown();\n } catch (InterruptedException | ExecutionException e) {\n e.printStackTrace();\n }\n }\n try {\n latch.await();\n } catch (InterruptedException e) {\n e.printStackTrace();\n }\n\n } catch (MalformedURLException e) {\n System.out.println(\"The URL is Malformed\");\n } catch (UnsupportedEncodingException e) {\n System.out.println(\"Incorrect URL encoding\");\n } catch (IOException e) {\n System.out.println(\"Unable to read from google\");\n e.printStackTrace();\n }\n executor.shutdown();\n return libCount;\n }", "int countByExample(CfgSearchRecommendExample example);", "public static List<String> get_RankedResults(List<Doc_accum> results) {\n List<String> filenames = new ArrayList();\n\n if (results.isEmpty()) {\n GUI.JListModel.clear();\n GUI.ResultsLabel.setText(\"\");\n clickList = false;\n\n String notFound = \"Your search '\" + query + \"' is not found in any documents\";\n GUI.ResultsLabel.setText(notFound);\n\n } else {\n clickList = false;\n\n //clears list and repopulates it \n String docInfo;\n\n GUI.JListModel.clear();\n GUI.ResultsLabel.setText(\"\");\n\n for (Doc_accum p : results) {\n if (queryMode) {\n corpus.getDocument(p.getPosting().getDocumentId()).getContent();\n }\n //docInfo = corpus.getDocument(p.getPosting().getDocumentId()).getTitle();\n docInfo = corpus.getDocument(p.getPosting().getDocumentId()).getFileName().toString();\n filenames.add(docInfo);\n\n }\n }\n\n GUI.SearchBarTextField.selectAll();\n\n return filenames;\n }", "@Test\n public void resultNumberTest() throws InterruptedException, ParseException {\n HomePageNavigation.gotoHomePage();\n Thread.sleep(2000);\n SearchNavigation.gotoSearchResultsPage(index,\"\");\n assertTrue(\"Message does not exist\", CommonUtils.extractTotalResults() >= 1);\n }", "OResultSet fetchNext(int n);", "public static void test1(){\n\t\tlong[] testCase=new long[]{2034912444,1511277043};\r\n\t\tList<String> rs=SearchWrapper.search( testCase[0], testCase[testCase.length-1]);\r\n\t\t\r\n\t}", "public void testSearchByContent() {\n Message m1 = new Message(\"test\",\"bla bla david moshe\",_u1);\n Message.incId();\n try {\n Thread.sleep(10);\n } catch (InterruptedException ex) {\n ex.printStackTrace();\n }\n Message m2 = new Message(\"test2\",\"bla2 bla david tikva moshe\",_u1);\n Message.incId();\n Message m3 = new Message(\"test2\",\"moshe cohen\",_u1);\n Message.incId();\n\n this.allMsgs.put(m1.getMsg_id(), m1);\n this.allMsgs.put(m2.getMsg_id(), m2);\n this.allMsgs.put(m3.getMsg_id(), m3);\n\n this.searchEngine.addData(m1);\n this.searchEngine.addData(m2);\n this.searchEngine.addData(m3);\n\n /* SearchHit[] result = this.searchEngine.searchByContent(\"bla2\", 0,1);\n assertTrue(result.length==1);\n assertTrue(result[0].getMessage().equals(m2));\n\n SearchHit[] result2 = this.searchEngine.searchByContent(\"bla david tikva\", 0,2);\n assertTrue(result2.length==1);\n assertEquals(result2[0].getScore(),3.0);\n //assertEquals(result2[1].getScore(),2.0);\n assertTrue(result2[0].getMessage().equals(m2));\n //assertTrue(result2[1].getMessage().equals(m1));\n\n SearchHit[] result3 = this.searchEngine.searchByContent(\"bla2 tikva\", 0, 5);\n assertTrue(result3.length==0);\n */\n\n/*\n SearchHit[] result4 = this.searchEngine.searchByContent(\"bla OR tikva\", 0, 5);\n assertTrue(result4.length==2);\n assertTrue(result4[0].getMessage().equals(m2));\n assertTrue(result4[1].getMessage().equals(m1));\n\n SearchHit[] result5 = this.searchEngine.searchByContent(\"bla AND cohen\", 0, 5);\n assertTrue(result5.length==0);\n\n result5 = this.searchEngine.searchByContent(\"bla AND moshe\",0,5);\n assertTrue(result5.length==2);\n assertTrue(result5[0].getScore() == result5[1].getScore());\n assertTrue(result5[0].getMessage().equals(m2));\n assertTrue(result5[1].getMessage().equals(m1));\n\n result5 = this.searchEngine.searchByContent(\"bla AND moshe\", 10, 11);\n assertTrue(result5.length==0);\n */\n\n }", "public Results() {\n\t\t\t// TODO Auto-generated constructor stub\n\t\t}", "Object getNumberMatched();", "entities.Torrent.LocalSearchResponse getLocalSearchResponse();", "public void setResults(ArrayList results) {\n this.results = results;\n }", "public abstract void fetchNodes(NodeCallback callback);", "public void search() {\r\n \t\r\n }", "private void searchFunction() {\n\t\t\r\n\t}", "Match getMatches();", "public boolean execute(int i) {\n result.add(nodeMap.get(i));\n return true; // return true here to continue receiving results\n }", "void setSearchResults(LazyDataModel<ReagentResult> searchResults);", "@Test\n public void testMultiSearch_withoutParens() {\n List<String> fields = new ArrayList<>();\n fields.add(\"sn\");\n fields.add(\"mail\");\n\n BridgeRequest request = new BridgeRequest();\n request.setStructure(\"user\");\n request.setFields(fields);\n request.setQuery(\"memberOf=cn=VPN Users,cn=Users,dc=kineticdata,dc=com\");\n\n BridgeError expectedError = null;\n try {\n getAdapter().search(request);\n } catch (BridgeError e) {\n expectedError = e;\n }\n\n assertNotNull(expectedError);\n }", "public entities.Torrent.NodeSearchResult.Builder getResultsBuilder(\n int index) {\n return getResultsFieldBuilder().getBuilder(index);\n }", "LazyDataModel<ReagentResult> getSearchResults();", "public Long getElementCount();", "public List<NodeInfo> getStoredNodes() {\n List<NodeInfo> nodes = new ArrayList<>();\n\n SearchResponse response = client.prepareSearch(\"k8s_*\").setTypes(\"node\").setSize(10000).get();\n\n SearchHit[] hits = response.getHits().getHits();\n log.info(String.format(\"The length of node search hits is [%d]\", hits.length));\n\n ObjectMapper mapper = new ObjectMapper();\n try {\n for (SearchHit hit : hits) {\n// log.info(hit.getSourceAsString());\n NodeInfo node = mapper.readValue(hit.getSourceAsString(), NodeInfo.class);\n nodes.add(node);\n }\n } catch (Exception e) {\n e.printStackTrace();\n }\n return nodes;\n }", "public void search() {\n }", "public void onSearchResults(String term, List<WikiPage> results);", "List<T> getResults();", "@Test\n public void getResultTest() throws IOException {\n System.setProperty(\"REPO_HG_19_PATH\", REPO_PATH_RANGES);\n System.setProperty(\"REPO_HG_38_PATH\", REPO_PATH_RANGES);\n System.setProperty(\"MAX_RANGE_RECORDS_IN_RESULT\", \"10\");\n\n // test common valid flow\n Response response = new Main().getResult19(\"X:77633124\");\n Assert.assertEquals(OK.getStatusCode(), response.getStatus());\n System.out.println(response.getEntity());\n Assert.assertNotNull(response.getEntity());\n JsonNode result = ((ArrayNode) new ObjectMapper().readTree((String)response.getEntity()).get(\"entries\")).get(0);\n Assert.assertEquals(\"G\", result.get(\"ref\").asText());\n Assert.assertEquals(\"A\", result.get(\"alt\").asText());\n ArrayNode homArray = (ArrayNode) result.get(\"hom\");\n Assert.assertEquals(1, homArray.size());\n Assert.assertEquals(\"SRR14860530\", homArray.get(0).asText());\n ArrayNode hetArray = (ArrayNode) result.get(\"het\");\n Assert.assertEquals(1, hetArray.size());\n Assert.assertEquals(\"SRR14860527\", hetArray.get(0).asText());\n\n // test lower case\n response = new Main().getResult(\"x:77633124\", REPO_PATH_RANGES, 10);\n Assert.assertEquals(OK.getStatusCode(), response.getStatus());\n System.out.println(response.getEntity());\n Assert.assertNotNull(response.getEntity());\n result = ((ArrayNode) new ObjectMapper().readTree((String)response.getEntity()).get(\"entries\")).get(0);\n Assert.assertEquals(\"G\", result.get(\"ref\").asText());\n Assert.assertEquals(\"A\", result.get(\"alt\").asText());\n homArray = (ArrayNode) result.get(\"hom\");\n Assert.assertEquals(1, homArray.size());\n Assert.assertEquals(\"SRR14860530\", homArray.get(0).asText());\n hetArray = (ArrayNode) result.get(\"het\");\n Assert.assertEquals(1, hetArray.size());\n Assert.assertEquals(\"SRR14860527\", hetArray.get(0).asText());\n\n //test range query\n response = new Main().getResult(\"2:25234482-26501857\", REPO_PATH_RANGES, 10);\n Assert.assertEquals(OK.getStatusCode(), response.getStatus());\n System.out.println(response.getEntity());\n\n JsonNode jsonResult = new ObjectMapper().readTree((String)response.getEntity());\n Assert.assertEquals(11, jsonResult.get(\"count\").asInt());\n\n ArrayNode dataArray = (ArrayNode)jsonResult.get(\"data\");\n Assert.assertEquals(10, dataArray.size());\n\n JsonNode first = dataArray.get(0);\n Assert.assertEquals(25234482, first.get(\"pos\").asInt());\n Assert.assertEquals(\"C\", ((ArrayNode)first.get(\"entries\")).get(0).get(\"ref\").asText());\n Assert.assertEquals(\"T\", ((ArrayNode)first.get(\"entries\")).get(0).get(\"alt\").asText());\n\n JsonNode last = dataArray.get(9);\n Assert.assertEquals(25313958, last.get(\"pos\").asInt());\n Assert.assertEquals(\"G\", ((ArrayNode)last.get(\"entries\")).get(0).get(\"ref\").asText());\n Assert.assertEquals(\"A\", ((ArrayNode)last.get(\"entries\")).get(0).get(\"alt\").asText());\n\n // test empty case\n response = new Main().getResult(\"x:15000112\", REPO_PATH_RANGES, 10);\n Assert.assertEquals(OK.getStatusCode(), response.getStatus());\n System.out.println(response.getEntity());\n Assert.assertNotNull(response.getEntity());\n Assert.assertEquals(EMPTY_RESULT, response.getEntity());\n\n // test bad input 1\n response = new Main().getResult(\"adkwjfh\", REPO_PATH_RANGES, 10);\n Assert.assertEquals(BAD_REQUEST.getStatusCode(), response.getStatus());\n\n // test bad input 2\n response = new Main().getResult(\"s:sss\", REPO_PATH_RANGES, 10);\n Assert.assertEquals(BAD_REQUEST.getStatusCode(), response.getStatus());\n\n // test bad input 3\n response = new Main().getResult(\"s:12345\", REPO_PATH_RANGES, 10);\n Assert.assertEquals(BAD_REQUEST.getStatusCode(), response.getStatus());\n\n // test bad input 4\n response = new Main().getResult(\"x:500000000\", REPO_PATH_RANGES, 10);\n Assert.assertEquals(BAD_REQUEST.getStatusCode(), response.getStatus());\n }" ]
[ "0.6862526", "0.63839877", "0.62841016", "0.59894204", "0.5776431", "0.5734007", "0.5712916", "0.5670051", "0.5631001", "0.56302875", "0.56143415", "0.5605271", "0.55756223", "0.55691606", "0.55633014", "0.5545001", "0.5545001", "0.55326474", "0.5393185", "0.53787273", "0.5369912", "0.5363887", "0.5346187", "0.53321797", "0.5301303", "0.5284407", "0.52722657", "0.5267805", "0.52622724", "0.52575964", "0.5252404", "0.52506864", "0.52356696", "0.52289075", "0.52278465", "0.520914", "0.52049226", "0.5202083", "0.5194397", "0.51886714", "0.5180487", "0.51756376", "0.5166178", "0.51628715", "0.51591974", "0.5154797", "0.5154727", "0.51516366", "0.51494604", "0.5139536", "0.5133444", "0.51260865", "0.5104945", "0.5094455", "0.5092275", "0.5086912", "0.5086912", "0.50723696", "0.50577176", "0.5052879", "0.50482905", "0.5031012", "0.50290823", "0.5027254", "0.501943", "0.50188446", "0.5015679", "0.5012513", "0.50083816", "0.50054836", "0.50020415", "0.5001236", "0.49921787", "0.49732155", "0.49654254", "0.49647364", "0.4953986", "0.4948581", "0.49465808", "0.49438965", "0.49316013", "0.49230373", "0.49203607", "0.49165064", "0.49132589", "0.49128133", "0.49103022", "0.4900622", "0.4899564", "0.4896023", "0.4895026", "0.48880875", "0.48773724", "0.4873716", "0.48736602", "0.48714477", "0.48663822", "0.48601002", "0.4859893", "0.4855802" ]
0.58342236
4
repeated .NodeSearchResult results = 3;
entities.Torrent.NodeSearchResultOrBuilder getResultsOrBuilder( int index);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "entities.Torrent.NodeSearchResult getResults(int index);", "SearchResult findNext(SearchResult result);", "java.util.List<entities.Torrent.NodeSearchResult>\n getResultsList();", "java.util.List<? extends entities.Torrent.NodeSearchResultOrBuilder>\n getResultsOrBuilderList();", "XResultSet() {\n this.nodeRefs = new LinkedList<>();\n this.numberFound = 0;\n }", "void setNumberOfResults(int numberOfResults);", "public Builder addAllResults(\n java.lang.Iterable<? extends entities.Torrent.NodeSearchResult> values) {\n if (resultsBuilder_ == null) {\n ensureResultsIsMutable();\n com.google.protobuf.AbstractMessageLite.Builder.addAll(\n values, results_);\n onChanged();\n } else {\n resultsBuilder_.addAllMessages(values);\n }\n return this;\n }", "@java.lang.Override\n public entities.Torrent.NodeSearchResultOrBuilder getResultsOrBuilder(\n int index) {\n return results_.get(index);\n }", "public GameList getSearchResult(){ return m_NewSearchResult;}", "int getNumberOfResults();", "public entities.Torrent.NodeSearchResultOrBuilder getResultsOrBuilder(\n int index) {\n if (resultsBuilder_ == null) {\n return results_.get(index); } else {\n return resultsBuilder_.getMessageOrBuilder(index);\n }\n }", "public entities.Torrent.NodeSearchResult.Builder addResultsBuilder() {\n return getResultsFieldBuilder().addBuilder(\n entities.Torrent.NodeSearchResult.getDefaultInstance());\n }", "private<T> void addManyResults(T... results)\n {\n int i =0;\n for(T result : results)\n {\n this.add(\"morgen-main-result\"+i, new LazyDynamicPrimitive<>(result));\n i++;\n }\n\n results = null; // Prevents Heap pollution\n }", "@Test\n public void testCombineRankHighPageRankWeight() {\n Iterator<Pair<Document, Double>> resultIterator = icsSearchEngine.searchQuery(Arrays.asList(\"anteater\"),\n 10, 1000000000.0);\n ImmutableList<Pair<Document, Double>> resultList = ImmutableList.copyOf(resultIterator);\n Assert.assertEquals(10, resultList.size());\n Assert.assertTrue(resultList.stream().limit(3).map(p -> p.getLeft())\n .anyMatch(doc -> doc.getText().contains(\"wics.ics.uci.edu\")));\n }", "public void setResults(ArrayList<Integer> results){\n this.results = results;\n }", "int getResultsCount();", "int getResultsCount();", "public int countResults() \n {\n return itsResults_size;\n }", "SearchResult findNext(SearchOptions searchOptions);", "public Builder addResults(entities.Torrent.NodeSearchResult value) {\n if (resultsBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureResultsIsMutable();\n results_.add(value);\n onChanged();\n } else {\n resultsBuilder_.addMessage(value);\n }\n return this;\n }", "private NodeSearchResult(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "@java.lang.Override\n public entities.Torrent.NodeSearchResult getResults(int index) {\n return results_.get(index);\n }", "void xsetNumberOfResults(org.apache.xmlbeans.XmlInt numberOfResults);", "public ClsNodeDocument[] GetDocuments (ClsNodeDocument[] searchDocs);", "private void numberResults ()\r\n {\r\n int partIndex = 0;\r\n\r\n for (Result result : connection.getResultMap().keySet()) {\r\n ScorePart scorePart = (ScorePart) result.getUnderlyingObject();\r\n scorePart.setId(++partIndex);\r\n }\r\n }", "public IScapSyncSearchResult[] getResults();", "public java.util.List<? extends entities.Torrent.NodeSearchResultOrBuilder>\n getResultsOrBuilderList() {\n if (resultsBuilder_ != null) {\n return resultsBuilder_.getMessageOrBuilderList();\n } else {\n return java.util.Collections.unmodifiableList(results_);\n }\n }", "@java.lang.Override\n public java.util.List<? extends entities.Torrent.NodeSearchResultOrBuilder>\n getResultsOrBuilderList() {\n return results_;\n }", "public int my_node_count();", "boolean getMoreResults();", "public entities.Torrent.NodeSearchResult.Builder addResultsBuilder(\n int index) {\n return getResultsFieldBuilder().addBuilder(\n index, entities.Torrent.NodeSearchResult.getDefaultInstance());\n }", "@Override\n\tprotected void parseResult() {\n\t\t\n\t}", "private void fetchNextBlock() {\n try {\n \tSearchClient _client = new SearchClient(\"cubansea-instance\");\n \tWebSearchResults _results = _client.webSearch(createNextRequest());\n \t\tfor(WebSearchResult _result: _results.listResults()) {\n \t\t\tresults.add(new YahooSearchResult(_result, cacheStatus+1));\n \t\t\tcacheStatus++;\n \t\t}\n \t\tif(resultCount == -1) resultCount = _results.getTotalResultsAvailable().intValue();\n } catch (IOException e) {\n\t\t\tthrow new TechnicalError(e);\n\t\t} catch (SearchException e) {\n\t\t\tthrow new TechnicalError(e);\n\t\t}\n\t}", "public void addAll(XResultSet r) {\n this.getNodeRefs().addAll(r.getNodeRefs());\n this.numberFound += r.numberFound;\n }", "@java.lang.Override\n public java.util.List<entities.Torrent.NodeSearchResult> getResultsList() {\n return results_;\n }", "@Test\n public void test002() {\n int total = response.extract().path(\"total\");\n\n\n System.out.println(\"------------------StartingTest---------------------------\");\n System.out.println(\"The search query is: \" + total);\n System.out.println(\"------------------End of Test---------------------------\");\n\n }", "public void setNumResults(int numResults) {\n mNumResults = numResults;\n }", "public ResultMap<BaseNode> findNodes(ObjectNode query, String searchTerm, ObjectNode traverse);", "public Builder setResults(\n int index, entities.Torrent.NodeSearchResult value) {\n if (resultsBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureResultsIsMutable();\n results_.set(index, value);\n onChanged();\n } else {\n resultsBuilder_.setMessage(index, value);\n }\n return this;\n }", "public ResultMap<BaseNode> findNodes(ObjectNode query, String searchTerm, ObjectNode traverse, Pagination pagination);", "public void rankMatches();", "public int numMatches();", "public void setMatches() {\r\n this.matches++;\r\n\r\n }", "public java.util.List<entities.Torrent.NodeSearchResult> getResultsList() {\n if (resultsBuilder_ == null) {\n return java.util.Collections.unmodifiableList(results_);\n } else {\n return resultsBuilder_.getMessageList();\n }\n }", "public Result getResults()\r\n {\r\n return result;\r\n }", "int countByExample(CrawlExample example);", "private int getHitsAndArticlesByURL(Category node, String url)\r\n\t{\r\n\t\tDocumentBuilderFactory domfac = DocumentBuilderFactory.newInstance();\r\n\t\tint NumRes = 0;\r\n\t\tString totalHits;\r\n\t\ttry{\r\n\t\t\tURL queryurl = new URL(url);\r\n\t\t\tURLConnection connection = queryurl.openConnection();\r\n\t\t\tconnection.setDoInput(true);\r\n\t\t\tInputStream inStream = connection.getInputStream();\r\n\t\t\tDocumentBuilder dombuilder = domfac.newDocumentBuilder();\r\n\t\t\tDocument doc = dombuilder.parse(inStream);\r\n\t\t\tElement root = doc.getDocumentElement();\r\n\t\t\tNodeList resultset_web = root.getElementsByTagName(\"resultset_web\");\r\n\t\t\tNode resultset = resultset_web.item(0);\r\n\t\t\t\r\n\t\t\ttotalHits = resultset.getAttributes().getNamedItem(\"totalhits\").getNodeValue();\r\n\t\t\tNumRes = Integer.parseInt(totalHits);\r\n\t\t\t\r\n\t\t\tint count = 0;\r\n\t\t\tNodeList results = resultset.getChildNodes(); \r\n\t\t\tif(results != null)\r\n\t\t\t{\t\t\t\r\n\t\t\t\tfor(int i = 0 ; i < results.getLength(); i++){\r\n\t\t\t\t\tNode result = results.item(i);\t\t\t\t\t\t\t\t\r\n\t\t\t\t\tArticle newArticle = new Article();\r\n\t\t\t\t\t\r\n\t\t\t\t\tif(result.getNodeType()==Node.ELEMENT_NODE){\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\tfor(Node node1 = result.getFirstChild(); node1 != null; node1 = node1.getNextSibling()){\r\n\t\t\t\t\t\t\tif(node1.getNodeType()==Node.ELEMENT_NODE){\t\t\t\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\tif(node1.getNodeName().equals(\"url\") && node1.getFirstChild() != null && count < 4){\r\n\t\t\t\t\t\t\t\t\tcount++;\r\n\t\t\t\t\t\t\t\t\tString pageUrl = node1.getFirstChild().getNodeValue();\r\n\t\t\t\t\t\t\t\t\tArticle article = new Article();\r\n\t\t\t\t\t\t\t\t\tarticle.URL = pageUrl;\r\n\t\t\t\t\t\t\t\t\tarticle.words = getWordsLynx.runLynx(pageUrl);\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\tnode.articles.add(article);\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\t\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\t\r\n\t\t}catch(ParserConfigurationException e){\r\n\t\t\te.printStackTrace();\r\n\t\t\treturn -1;\r\n\t\t}catch(SAXException e){\r\n\t\t\te.printStackTrace();\r\n\t\t\treturn -1;\r\n\t\t}catch(IOException e){\r\n\t\t\te.printStackTrace();\r\n\t\t\treturn -1;\r\n\t\t}\r\n\r\n\t\treturn NumRes;\r\n\t}", "public int numberOfOccorrence();", "@Test\n\tvoid getResultsTest() {\n\t\tassertEquals(22, utilities.getResults(-21));\n\t\tassertEquals(20, utilities.getResults(-20));\n\t\tassertEquals(40, utilities.getResults(-19));\n\t\tassertEquals(38, utilities.getResults(-18));\n\t\tassertEquals(22, utilities.getResults(21));\n\t\tassertEquals(20, utilities.getResults(20));\n\t\tassertEquals(22, utilities.getResults(2));\n\t\tassertEquals(22, utilities.getResults(1));\n\t}", "@Test\n public void testFindNMatches() {\n List<Path> files = new ArrayList<>();\n files.add(new File(String.join(File.separator, \"src\", \"test\", \"resources\"),\n \"logviewer-search-context-tests.log.test\").toPath());\n files.add(new File(String.join(File.separator, \"src\", \"test\", \"resources\"),\n \"logviewer-search-context-tests.log.gz\").toPath());\n\n final LogviewerLogSearchHandler handler = getSearchHandler();\n\n final List<Map<String, Object>> matches1 = handler.findNMatches(files, 20, 0, 0, \"needle\").getMatches();\n final List<Map<String, Object>> matches2 = handler.findNMatches(files, 20, 0, 126, \"needle\").getMatches();\n final List<Map<String, Object>> matches3 = handler.findNMatches(files, 20, 1, 0, \"needle\").getMatches();\n\n assertEquals(2, matches1.size());\n assertEquals(4, ((List) matches1.get(0).get(\"matches\")).size());\n assertEquals(4, ((List) matches1.get(1).get(\"matches\")).size());\n assertEquals(String.join(File.separator, \"test\", \"resources\", \"logviewer-search-context-tests.log.test\"), matches1.get(0).get(\"fileName\"));\n assertEquals(String.join(File.separator, \"test\", \"resources\", \"logviewer-search-context-tests.log.gz\"), matches1.get(1).get(\"fileName\"));\n\n assertEquals(2, ((List) matches2.get(0).get(\"matches\")).size());\n assertEquals(4, ((List) matches2.get(1).get(\"matches\")).size());\n\n assertEquals(1, matches3.size());\n assertEquals(4, ((List) matches3.get(0).get(\"matches\")).size());\n }", "void remoteSearch(String groupId, String type, String attr, \n String value, int threshold, String serviceHandler, \n DiscoveryListener listener)\n \tthrows IOException\n {\n Query query = new Query(groupId, type, attr, value, \n serviceHandler,listener);\n \n queries.put(listener, query);\n \n\t //if resource not found in local cache\n\t String requestId = getNextRequestId();\n\t \n\t int urisize =0;\n\t EndpointAddress[] myURIs = peer.getURIList();\n\t \n\t if (myURIs != null)\n\t urisize = myURIs.length;\n\t \n\t Element[] elm = new Element[9 + urisize];\n\t //Element[] elm = new Element[9];\n\t \n\t\n\t elm[0] = new Element(Message.MESSAGE_TYPE_TAG, Message.REQUEST_SEARCH,\n\t Message.JXTA_NAME_SPACE);\n\t elm[1] = new Element(Message.TYPE_TAG, type, \n\t Message.JXTA_NAME_SPACE);\n\t elm[2] = new Element(Message.ATTRIBUTE_TAG, attr, \n\t Message.JXTA_NAME_SPACE);\n\t elm[3] = new Element(Message.VALUE_TAG, value, \n\t Message.JXTA_NAME_SPACE);\n\t elm[4] = new Element(Message.THRESHOLD_TAG, Integer.toString(threshold), \n\t Message.JXTA_NAME_SPACE);\n\t elm[5] = new Element(Message.REQUESTID_TAG, requestId, \n\t Message.JXTA_NAME_SPACE);\n\t elm[6] = new Element(Message.ID_TAG, peer.getID().toString(), \n\t Message.JXTA_NAME_SPACE);\n\t elm[7] = new Element(Message.GROUP_ID_TAG, groupId, \n\t Message.JXTA_NAME_SPACE);\n\t elm[8] = new Element(Message.HOPCOUNT_TAG, Integer.toString(DEFAULT_HOP_COUNT), \n\t Message.JXTA_NAME_SPACE);\n\t\n\t if (urisize > 0)\n\t {\n\t\t for (int i = 0; i < myURIs.length; i++)\n\t\t {\n\t\t EndpointAddress uri = myURIs[i];\n\t\t uri = new EndpointAddress(uri, serviceName, serviceHandler);\n\t\t elm[9 + i] = new Element(NamedResource.URITAG + String.valueOf(i), uri.toString().getBytes(),\n\t\t Message.JXTA_NAME_SPACE, null);\n\t\t }\n\t }\n\t \n\t send(elm, serviceHandler);\n }", "public void setResults(ArrayOfFindResult results) {\n this.results = results;\n }", "@Test\n public void testCombinePageRankTfIdf() {\n\n Iterator<Pair<Document, Double>> resultIterator = icsSearchEngine.searchQuery(\n Arrays.asList(\"ISG\", \"Bren\", \"School\", \"UCI\"),\n 100, 100.0);\n ImmutableList<Pair<Document, Double>> resultList = ImmutableList.copyOf(resultIterator);\n\n // first result should be \"isg.ics.uci.edu\"\n Assert.assertEquals(\"isg.ics.uci.edu\", getDocumentUrl(resultList.get(0).getLeft().getText()));\n\n // top 10 should have URLs starting \"hobbes.ics.uci.edu\"\n Assert.assertTrue(resultList.stream().limit(10).map(p -> getDocumentUrl(p.getLeft().getText()))\n .anyMatch(p -> p.contains(\"hobbes.ics.uci.edu\")));\n\n // top 50 should have URL \"ipubmed2.ics.uci.edu\"\n Assert.assertTrue(resultList.stream().limit(50).map(p -> getDocumentUrl(p.getLeft().getText()))\n .anyMatch(p -> p.equals(\"ipubmed2.ics.uci.edu\")));\n\n }", "public void addMatch() {\n totalMatches ++;\n }", "int countByExample(CrawlTestExample example);", "int getNodeCount();", "int getNodeCount();", "public int getWrapperHits();", "entities.Torrent.SearchResponse getSearchResponse();", "public Builder addResults(\n int index, entities.Torrent.NodeSearchResult value) {\n if (resultsBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureResultsIsMutable();\n results_.add(index, value);\n onChanged();\n } else {\n resultsBuilder_.addMessage(index, value);\n }\n return this;\n }", "public SearchResults() {\n\t\tPageFactory.initElements(driver, this);\n\t}", "public entities.Torrent.NodeSearchResult getResults(int index) {\n if (resultsBuilder_ == null) {\n return results_.get(index);\n } else {\n return resultsBuilder_.getMessage(index);\n }\n }", "List<SearchResult> search(SearchQuery searchQuery);", "@Test\n public void test19(){\n // List<Integer> services = response.extract().path(\"data.findAll{it.services=='Samsung Experience'}.storeservices\");\n //List<HashMap<String, ?>> address = response.extract().path(\"data.findAll{it.service=='Samsung Experience'}.storeservices\");\n System.out.println(\"------------------StartingTest---------------------------\");\n System.out.println(\"The name of all services:\" );\n System.out.println(\"------------------End of Test---------------------------\");\n }", "@java.lang.Override\n public int getResultsCount() {\n return results_.size();\n }", "protected List<SearchResultElement> getResultElementsFromNodes(\n IProgressMonitor monitor, INodePO[] reuse) {\n final List<SearchResultElement> reuseLoc =\n new ArrayList<SearchResultElement>(reuse.length);\n\n for (INodePO node : reuse) {\n INodePO parent = node.getSpecAncestor();\n if (parent == null) {\n parent = node.getParentNode();\n }\n if (parent != null) {\n Long id = node.getId();\n String nodeName = GeneralLabelProvider.getTextImpl(node);\n reuseLoc.add(new SearchResultElement<Long>(NLS.bind(\n Messages.SearchResultPageElementLabel, new Object[] {\n parent.getName(), nodeName }), id,\n GeneralLabelProvider.getImageImpl(node),\n new NodeSearchResultElementAction(), node\n .getComment()));\n }\n monitor.worked(1);\n }\n return reuseLoc;\n }", "org.apache.xmlbeans.XmlInt xgetNumberOfResults();", "public int getNumResults() {\r\n\t\treturn this.numResults;\r\n\t}", "void loadResults(ArrayList<Comic> results, int totalItems);", "int nodeCount();", "@Override\r\n\tpublic void iterateCount() {\n\t\t\r\n\t}", "public void getNodesThatCall(PassedParameter pp, Set result) {\n if (USE_PARAMETER_MAP) {\n Set s = (Set)passedParamToNodes.get(pp);\n if (s == null) return;\n result.addAll(s);\n return;\n }\n for (Iterator i = this.nodeIterator(); i.hasNext(); ) {\n Node n = (Node)i.next();\n if ((n.passedParameters != null) && n.passedParameters.contains(pp))\n result.add(n);\n }\n }", "int getMatchedElements();", "private static Elements getResultsFromAppPage(Document doc) {\n Elements results = null;\n try {\n results = doc.getElementsByClass(\"attribute-container\");\n }\n catch (NullPointerException e){\n logger.info(\"no applications tab for current item\");\n return results;\n }\n logger.debug(\"total results \" + results.size());\n\n return results;\n }", "Map<String, Integer> getSearchResults(String searchTerm) {\n\n Map<String, Integer> libCount = new ConcurrentHashMap<>();\n\n try {\n Document document = Jsoup.connect(google + URLEncoder.encode(searchTerm, charset))\n .userAgent(userAgent)\n .referrer(\"http://www.google.com\")\n .get();\n\n Elements links = document.select(\"a[href]\");\n Set<String> urls = new HashSet<>();\n for (Element link: links) {\n if (link.attr(\"href\") != null && link.attr(\"href\").contains(\"=\")) {\n String url = link.attr(\"href\").split(\"=\")[1];\n if (url.contains(\"http\")) {\n urls.add(getDomainName(url));\n }\n }\n }\n\n CountDownLatch latch = new CountDownLatch(urls.size());\n\n for (String url: urls) {\n AnalysePage analysePage = new AnalysePage(url);\n completionService.submit(analysePage);\n }\n\n int completed = 0;\n\n while(completed < urls.size()) {\n try {\n Future<Set<String>> resultFuture = completionService.take();\n Set<String> strings = resultFuture.get();\n for (String lib : strings) {\n Integer count = libCount.get(lib);\n if (count == null) {\n libCount.put(lib, 1);\n } else {\n libCount.put(lib, ++count);\n }\n }\n completed++;\n latch.countDown();\n } catch (InterruptedException | ExecutionException e) {\n e.printStackTrace();\n }\n }\n try {\n latch.await();\n } catch (InterruptedException e) {\n e.printStackTrace();\n }\n\n } catch (MalformedURLException e) {\n System.out.println(\"The URL is Malformed\");\n } catch (UnsupportedEncodingException e) {\n System.out.println(\"Incorrect URL encoding\");\n } catch (IOException e) {\n System.out.println(\"Unable to read from google\");\n e.printStackTrace();\n }\n executor.shutdown();\n return libCount;\n }", "int countByExample(CfgSearchRecommendExample example);", "public static List<String> get_RankedResults(List<Doc_accum> results) {\n List<String> filenames = new ArrayList();\n\n if (results.isEmpty()) {\n GUI.JListModel.clear();\n GUI.ResultsLabel.setText(\"\");\n clickList = false;\n\n String notFound = \"Your search '\" + query + \"' is not found in any documents\";\n GUI.ResultsLabel.setText(notFound);\n\n } else {\n clickList = false;\n\n //clears list and repopulates it \n String docInfo;\n\n GUI.JListModel.clear();\n GUI.ResultsLabel.setText(\"\");\n\n for (Doc_accum p : results) {\n if (queryMode) {\n corpus.getDocument(p.getPosting().getDocumentId()).getContent();\n }\n //docInfo = corpus.getDocument(p.getPosting().getDocumentId()).getTitle();\n docInfo = corpus.getDocument(p.getPosting().getDocumentId()).getFileName().toString();\n filenames.add(docInfo);\n\n }\n }\n\n GUI.SearchBarTextField.selectAll();\n\n return filenames;\n }", "@Test\n public void resultNumberTest() throws InterruptedException, ParseException {\n HomePageNavigation.gotoHomePage();\n Thread.sleep(2000);\n SearchNavigation.gotoSearchResultsPage(index,\"\");\n assertTrue(\"Message does not exist\", CommonUtils.extractTotalResults() >= 1);\n }", "OResultSet fetchNext(int n);", "public static void test1(){\n\t\tlong[] testCase=new long[]{2034912444,1511277043};\r\n\t\tList<String> rs=SearchWrapper.search( testCase[0], testCase[testCase.length-1]);\r\n\t\t\r\n\t}", "public void testSearchByContent() {\n Message m1 = new Message(\"test\",\"bla bla david moshe\",_u1);\n Message.incId();\n try {\n Thread.sleep(10);\n } catch (InterruptedException ex) {\n ex.printStackTrace();\n }\n Message m2 = new Message(\"test2\",\"bla2 bla david tikva moshe\",_u1);\n Message.incId();\n Message m3 = new Message(\"test2\",\"moshe cohen\",_u1);\n Message.incId();\n\n this.allMsgs.put(m1.getMsg_id(), m1);\n this.allMsgs.put(m2.getMsg_id(), m2);\n this.allMsgs.put(m3.getMsg_id(), m3);\n\n this.searchEngine.addData(m1);\n this.searchEngine.addData(m2);\n this.searchEngine.addData(m3);\n\n /* SearchHit[] result = this.searchEngine.searchByContent(\"bla2\", 0,1);\n assertTrue(result.length==1);\n assertTrue(result[0].getMessage().equals(m2));\n\n SearchHit[] result2 = this.searchEngine.searchByContent(\"bla david tikva\", 0,2);\n assertTrue(result2.length==1);\n assertEquals(result2[0].getScore(),3.0);\n //assertEquals(result2[1].getScore(),2.0);\n assertTrue(result2[0].getMessage().equals(m2));\n //assertTrue(result2[1].getMessage().equals(m1));\n\n SearchHit[] result3 = this.searchEngine.searchByContent(\"bla2 tikva\", 0, 5);\n assertTrue(result3.length==0);\n */\n\n/*\n SearchHit[] result4 = this.searchEngine.searchByContent(\"bla OR tikva\", 0, 5);\n assertTrue(result4.length==2);\n assertTrue(result4[0].getMessage().equals(m2));\n assertTrue(result4[1].getMessage().equals(m1));\n\n SearchHit[] result5 = this.searchEngine.searchByContent(\"bla AND cohen\", 0, 5);\n assertTrue(result5.length==0);\n\n result5 = this.searchEngine.searchByContent(\"bla AND moshe\",0,5);\n assertTrue(result5.length==2);\n assertTrue(result5[0].getScore() == result5[1].getScore());\n assertTrue(result5[0].getMessage().equals(m2));\n assertTrue(result5[1].getMessage().equals(m1));\n\n result5 = this.searchEngine.searchByContent(\"bla AND moshe\", 10, 11);\n assertTrue(result5.length==0);\n */\n\n }", "public Results() {\n\t\t\t// TODO Auto-generated constructor stub\n\t\t}", "Object getNumberMatched();", "entities.Torrent.LocalSearchResponse getLocalSearchResponse();", "public void setResults(ArrayList results) {\n this.results = results;\n }", "public abstract void fetchNodes(NodeCallback callback);", "public void search() {\r\n \t\r\n }", "private void searchFunction() {\n\t\t\r\n\t}", "Match getMatches();", "public boolean execute(int i) {\n result.add(nodeMap.get(i));\n return true; // return true here to continue receiving results\n }", "void setSearchResults(LazyDataModel<ReagentResult> searchResults);", "@Test\n public void testMultiSearch_withoutParens() {\n List<String> fields = new ArrayList<>();\n fields.add(\"sn\");\n fields.add(\"mail\");\n\n BridgeRequest request = new BridgeRequest();\n request.setStructure(\"user\");\n request.setFields(fields);\n request.setQuery(\"memberOf=cn=VPN Users,cn=Users,dc=kineticdata,dc=com\");\n\n BridgeError expectedError = null;\n try {\n getAdapter().search(request);\n } catch (BridgeError e) {\n expectedError = e;\n }\n\n assertNotNull(expectedError);\n }", "public entities.Torrent.NodeSearchResult.Builder getResultsBuilder(\n int index) {\n return getResultsFieldBuilder().getBuilder(index);\n }", "LazyDataModel<ReagentResult> getSearchResults();", "public Long getElementCount();", "public List<NodeInfo> getStoredNodes() {\n List<NodeInfo> nodes = new ArrayList<>();\n\n SearchResponse response = client.prepareSearch(\"k8s_*\").setTypes(\"node\").setSize(10000).get();\n\n SearchHit[] hits = response.getHits().getHits();\n log.info(String.format(\"The length of node search hits is [%d]\", hits.length));\n\n ObjectMapper mapper = new ObjectMapper();\n try {\n for (SearchHit hit : hits) {\n// log.info(hit.getSourceAsString());\n NodeInfo node = mapper.readValue(hit.getSourceAsString(), NodeInfo.class);\n nodes.add(node);\n }\n } catch (Exception e) {\n e.printStackTrace();\n }\n return nodes;\n }", "public void search() {\n }", "public void onSearchResults(String term, List<WikiPage> results);", "List<T> getResults();", "@Test\n public void getResultTest() throws IOException {\n System.setProperty(\"REPO_HG_19_PATH\", REPO_PATH_RANGES);\n System.setProperty(\"REPO_HG_38_PATH\", REPO_PATH_RANGES);\n System.setProperty(\"MAX_RANGE_RECORDS_IN_RESULT\", \"10\");\n\n // test common valid flow\n Response response = new Main().getResult19(\"X:77633124\");\n Assert.assertEquals(OK.getStatusCode(), response.getStatus());\n System.out.println(response.getEntity());\n Assert.assertNotNull(response.getEntity());\n JsonNode result = ((ArrayNode) new ObjectMapper().readTree((String)response.getEntity()).get(\"entries\")).get(0);\n Assert.assertEquals(\"G\", result.get(\"ref\").asText());\n Assert.assertEquals(\"A\", result.get(\"alt\").asText());\n ArrayNode homArray = (ArrayNode) result.get(\"hom\");\n Assert.assertEquals(1, homArray.size());\n Assert.assertEquals(\"SRR14860530\", homArray.get(0).asText());\n ArrayNode hetArray = (ArrayNode) result.get(\"het\");\n Assert.assertEquals(1, hetArray.size());\n Assert.assertEquals(\"SRR14860527\", hetArray.get(0).asText());\n\n // test lower case\n response = new Main().getResult(\"x:77633124\", REPO_PATH_RANGES, 10);\n Assert.assertEquals(OK.getStatusCode(), response.getStatus());\n System.out.println(response.getEntity());\n Assert.assertNotNull(response.getEntity());\n result = ((ArrayNode) new ObjectMapper().readTree((String)response.getEntity()).get(\"entries\")).get(0);\n Assert.assertEquals(\"G\", result.get(\"ref\").asText());\n Assert.assertEquals(\"A\", result.get(\"alt\").asText());\n homArray = (ArrayNode) result.get(\"hom\");\n Assert.assertEquals(1, homArray.size());\n Assert.assertEquals(\"SRR14860530\", homArray.get(0).asText());\n hetArray = (ArrayNode) result.get(\"het\");\n Assert.assertEquals(1, hetArray.size());\n Assert.assertEquals(\"SRR14860527\", hetArray.get(0).asText());\n\n //test range query\n response = new Main().getResult(\"2:25234482-26501857\", REPO_PATH_RANGES, 10);\n Assert.assertEquals(OK.getStatusCode(), response.getStatus());\n System.out.println(response.getEntity());\n\n JsonNode jsonResult = new ObjectMapper().readTree((String)response.getEntity());\n Assert.assertEquals(11, jsonResult.get(\"count\").asInt());\n\n ArrayNode dataArray = (ArrayNode)jsonResult.get(\"data\");\n Assert.assertEquals(10, dataArray.size());\n\n JsonNode first = dataArray.get(0);\n Assert.assertEquals(25234482, first.get(\"pos\").asInt());\n Assert.assertEquals(\"C\", ((ArrayNode)first.get(\"entries\")).get(0).get(\"ref\").asText());\n Assert.assertEquals(\"T\", ((ArrayNode)first.get(\"entries\")).get(0).get(\"alt\").asText());\n\n JsonNode last = dataArray.get(9);\n Assert.assertEquals(25313958, last.get(\"pos\").asInt());\n Assert.assertEquals(\"G\", ((ArrayNode)last.get(\"entries\")).get(0).get(\"ref\").asText());\n Assert.assertEquals(\"A\", ((ArrayNode)last.get(\"entries\")).get(0).get(\"alt\").asText());\n\n // test empty case\n response = new Main().getResult(\"x:15000112\", REPO_PATH_RANGES, 10);\n Assert.assertEquals(OK.getStatusCode(), response.getStatus());\n System.out.println(response.getEntity());\n Assert.assertNotNull(response.getEntity());\n Assert.assertEquals(EMPTY_RESULT, response.getEntity());\n\n // test bad input 1\n response = new Main().getResult(\"adkwjfh\", REPO_PATH_RANGES, 10);\n Assert.assertEquals(BAD_REQUEST.getStatusCode(), response.getStatus());\n\n // test bad input 2\n response = new Main().getResult(\"s:sss\", REPO_PATH_RANGES, 10);\n Assert.assertEquals(BAD_REQUEST.getStatusCode(), response.getStatus());\n\n // test bad input 3\n response = new Main().getResult(\"s:12345\", REPO_PATH_RANGES, 10);\n Assert.assertEquals(BAD_REQUEST.getStatusCode(), response.getStatus());\n\n // test bad input 4\n response = new Main().getResult(\"x:500000000\", REPO_PATH_RANGES, 10);\n Assert.assertEquals(BAD_REQUEST.getStatusCode(), response.getStatus());\n }" ]
[ "0.6862526", "0.63839877", "0.59894204", "0.58342236", "0.5776431", "0.5734007", "0.5712916", "0.5670051", "0.5631001", "0.56302875", "0.56143415", "0.5605271", "0.55756223", "0.55691606", "0.55633014", "0.5545001", "0.5545001", "0.55326474", "0.5393185", "0.53787273", "0.5369912", "0.5363887", "0.5346187", "0.53321797", "0.5301303", "0.5284407", "0.52722657", "0.5267805", "0.52622724", "0.52575964", "0.5252404", "0.52506864", "0.52356696", "0.52289075", "0.52278465", "0.520914", "0.52049226", "0.5202083", "0.5194397", "0.51886714", "0.5180487", "0.51756376", "0.5166178", "0.51628715", "0.51591974", "0.5154797", "0.5154727", "0.51516366", "0.51494604", "0.5139536", "0.5133444", "0.51260865", "0.5104945", "0.5094455", "0.5092275", "0.5086912", "0.5086912", "0.50723696", "0.50577176", "0.5052879", "0.50482905", "0.5031012", "0.50290823", "0.5027254", "0.501943", "0.50188446", "0.5015679", "0.5012513", "0.50083816", "0.50054836", "0.50020415", "0.5001236", "0.49921787", "0.49732155", "0.49654254", "0.49647364", "0.4953986", "0.4948581", "0.49465808", "0.49438965", "0.49316013", "0.49230373", "0.49203607", "0.49165064", "0.49132589", "0.49128133", "0.49103022", "0.4900622", "0.4899564", "0.4896023", "0.4895026", "0.48880875", "0.48773724", "0.4873716", "0.48736602", "0.48714477", "0.48663822", "0.48601002", "0.4859893", "0.4855802" ]
0.62841016
2
Use SearchResponse.newBuilder() to construct.
private SearchResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { super(builder); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private static SearchResponse createSearchResponse() {\n long tookInMillis = randomNonNegativeLong();\n int totalShards = randomIntBetween(1, Integer.MAX_VALUE);\n int successfulShards = randomIntBetween(0, totalShards);\n int skippedShards = randomIntBetween(0, totalShards);\n InternalSearchResponse internalSearchResponse = InternalSearchResponse.empty();\n\n return new SearchResponse(\n internalSearchResponse,\n null,\n totalShards,\n successfulShards,\n skippedShards,\n tookInMillis,\n ShardSearchFailure.EMPTY_ARRAY,\n SearchResponse.Clusters.EMPTY\n );\n }", "public SearchResponse<T, P> build(Pageable searchRequest, QueryResponse queryResponse) {\n // Create response\n SearchResponse<T, P> searchResponse = new SearchResponse<T, P>(searchRequest);\n searchResponse.setCount(queryResponse.getResults().getNumFound());\n searchResponse.setLimit(queryResponse.getResults().size());\n // The results and facets are copied into the response\n final List<ST> resultsST = queryResponse.getBeans(annotatedClass);\n // convert types\n final List<T> results = Lists.newArrayList();\n for (ST x : resultsST) {\n results.add(x);\n }\n searchResponse.setResults(results);\n searchResponse.setFacets(getFacetsFromResponse(queryResponse));\n setHighlightedFields(searchResponse, queryResponse);\n if(queryResponse.getSpellCheckResponse() != null){\n searchResponse.setSpellCheckResponse(SpellCheckResponseBuilder.build(queryResponse.getSpellCheckResponse()));\n }\n return searchResponse;\n }", "entities.Torrent.SearchResponseOrBuilder getSearchResponseOrBuilder();", "public Builder setSearchResponse(entities.Torrent.SearchResponse value) {\n if (searchResponseBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n searchResponse_ = value;\n onChanged();\n } else {\n searchResponseBuilder_.setMessage(value);\n }\n\n return this;\n }", "public Builder mergeSearchResponse(entities.Torrent.SearchResponse value) {\n if (searchResponseBuilder_ == null) {\n if (searchResponse_ != null) {\n searchResponse_ =\n entities.Torrent.SearchResponse.newBuilder(searchResponse_).mergeFrom(value).buildPartial();\n } else {\n searchResponse_ = value;\n }\n onChanged();\n } else {\n searchResponseBuilder_.mergeFrom(value);\n }\n\n return this;\n }", "public entities.Torrent.SearchResponse.Builder getSearchResponseBuilder() {\n\n onChanged();\n return getSearchResponseFieldBuilder().getBuilder();\n }", "public entities.Torrent.SearchResponseOrBuilder getSearchResponseOrBuilder() {\n if (searchResponseBuilder_ != null) {\n return searchResponseBuilder_.getMessageOrBuilder();\n } else {\n return searchResponse_ == null ?\n entities.Torrent.SearchResponse.getDefaultInstance() : searchResponse_;\n }\n }", "public static <T, ST extends T, P extends Enum<?> & SearchParameter> SearchResponseBuilder<T, ST, P> create(\n Class<T> responseClass, Class<ST> annotatedClass, BiMap<String, P> facetFieldsPropertiesMap,\n BiMap<String, String> fieldPropertyPropertiesMap) {\n\n return new SearchResponseBuilder<T, ST, P>(responseClass, annotatedClass, facetFieldsPropertiesMap,\n fieldPropertyPropertiesMap);\n }", "@java.lang.Override\n public entities.Torrent.SearchResponseOrBuilder getSearchResponseOrBuilder() {\n return getSearchResponse();\n }", "public entities.Torrent.SearchResponse getSearchResponse() {\n if (searchResponseBuilder_ == null) {\n return searchResponse_ == null ? entities.Torrent.SearchResponse.getDefaultInstance() : searchResponse_;\n } else {\n return searchResponseBuilder_.getMessage();\n }\n }", "private LocalSearchResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "public static <T, ST extends T, P extends SearchParameter> SearchResponse<T, P> buildSuggestReponse(\n Pageable searchRequest, QueryResponse queryResponse, Class<ST> annotatedClass) {\n // Create response\n SearchResponse<T, P> searchResponse = new SearchResponse<T, P>(searchRequest);\n searchResponse.setCount(queryResponse.getResults().getNumFound());\n searchResponse.setLimit(queryResponse.getResults().size());\n // The results and facets are copied into the response\n final List<ST> resultsST = queryResponse.getBeans(annotatedClass);\n // convert types\n final List<T> results = Lists.newArrayList();\n for (ST x : resultsST) {\n results.add(x);\n }\n searchResponse.setResults(results);\n return searchResponse;\n }", "public SearchResponse(JSONObject json) throws JSONException {\r\n super(json);\r\n }", "SearchResponse search(SearchRequest searchRequest) throws IOException;", "public SearchResponse search(SearchRequest request) throws SearchServiceException;", "private SearchRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "public Builder setSearch(com.clarifai.grpc.api.Search value) {\n if (searchBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n inputSource_ = value;\n onChanged();\n } else {\n searchBuilder_.setMessage(value);\n }\n inputSourceCase_ = 10;\n return this;\n }", "public SearchResponse(String from, String to, UUID uuid, Set<Entry> results) {\r\n super(from, to, new JSONObject()\r\n .put(\"type\", MessageType.SEARCH_RESPONSE.name())\r\n .put(\"status\", \"ok\")\r\n .put(\"id\", uuid.toString())\r\n .put(\"results\", new JSONArray()));\r\n for(Entry result : results)\r\n getPayload().getJSONArray(\"results\").put(result.serialize());\r\n }", "public Builder clearSearchResponse() {\n if (searchResponseBuilder_ == null) {\n searchResponse_ = null;\n onChanged();\n } else {\n searchResponse_ = null;\n searchResponseBuilder_ = null;\n }\n\n return this;\n }", "@java.lang.Override\n public entities.Torrent.SearchResponse getSearchResponse() {\n return searchResponse_ == null ? entities.Torrent.SearchResponse.getDefaultInstance() : searchResponse_;\n }", "public Builder setSearchResponse(\n entities.Torrent.SearchResponse.Builder builderForValue) {\n if (searchResponseBuilder_ == null) {\n searchResponse_ = builderForValue.build();\n onChanged();\n } else {\n searchResponseBuilder_.setMessage(builderForValue.build());\n }\n\n return this;\n }", "private SearchResponseBuilder(Class<T> responseClass, Class<ST> annotatedClass,\n BiMap<String, P> solrField2ParamEnumMap,\n BiMap<String, String> solrField2javaPropertiesMap) {\n this.responseClass = responseClass;\n this.annotatedClass = annotatedClass;\n this.solrField2ParamEnumMap = solrField2ParamEnumMap;\n this.solrField2javaPropertiesMap = solrField2javaPropertiesMap;\n keyField = getKeyField(annotatedClass);\n }", "@java.lang.Override\n public com.clarifai.grpc.api.SearchOrBuilder getSearchOrBuilder() {\n if ((inputSourceCase_ == 10) && (searchBuilder_ != null)) {\n return searchBuilder_.getMessageOrBuilder();\n } else {\n if (inputSourceCase_ == 10) {\n return (com.clarifai.grpc.api.Search) inputSource_;\n }\n return com.clarifai.grpc.api.Search.getDefaultInstance();\n }\n }", "public entities.Torrent.LocalSearchResponse.Builder getLocalSearchResponseBuilder() {\n\n onChanged();\n return getLocalSearchResponseFieldBuilder().getBuilder();\n }", "public com.clarifai.grpc.api.Search.Builder getSearchBuilder() {\n return getSearchFieldBuilder().getBuilder();\n }", "@java.lang.Override\n public com.clarifai.grpc.api.SearchOrBuilder getSearchOrBuilder() {\n if (inputSourceCase_ == 10) {\n return (com.clarifai.grpc.api.Search) inputSource_;\n }\n return com.clarifai.grpc.api.Search.getDefaultInstance();\n }", "public Builder mergeSearch(com.clarifai.grpc.api.Search value) {\n if (searchBuilder_ == null) {\n if (inputSourceCase_ == 10 &&\n inputSource_ != com.clarifai.grpc.api.Search.getDefaultInstance()) {\n inputSource_ = com.clarifai.grpc.api.Search.newBuilder((com.clarifai.grpc.api.Search) inputSource_)\n .mergeFrom(value).buildPartial();\n } else {\n inputSource_ = value;\n }\n onChanged();\n } else {\n if (inputSourceCase_ == 10) {\n searchBuilder_.mergeFrom(value);\n } else {\n searchBuilder_.setMessage(value);\n }\n }\n inputSourceCase_ = 10;\n return this;\n }", "TSearchResults createSearchResults(TSearchQuery searchQuery);", "entities.Torrent.SearchResponse getSearchResponse();", "private com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.SearchResponse, entities.Torrent.SearchResponse.Builder, entities.Torrent.SearchResponseOrBuilder>\n getSearchResponseFieldBuilder() {\n if (searchResponseBuilder_ == null) {\n searchResponseBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.SearchResponse, entities.Torrent.SearchResponse.Builder, entities.Torrent.SearchResponseOrBuilder>(\n getSearchResponse(),\n getParentForChildren(),\n isClean());\n searchResponse_ = null;\n }\n return searchResponseBuilder_;\n }", "@java.lang.Override\n public com.clarifai.grpc.api.Search getSearch() {\n if (searchBuilder_ == null) {\n if (inputSourceCase_ == 10) {\n return (com.clarifai.grpc.api.Search) inputSource_;\n }\n return com.clarifai.grpc.api.Search.getDefaultInstance();\n } else {\n if (inputSourceCase_ == 10) {\n return searchBuilder_.getMessage();\n }\n return com.clarifai.grpc.api.Search.getDefaultInstance();\n }\n }", "public static AccSearchResponse parse(\r\n javax.xml.stream.XMLStreamReader reader)\r\n throws java.lang.Exception {\r\n AccSearchResponse object = new AccSearchResponse();\r\n\r\n int event;\r\n javax.xml.namespace.QName currentQName = null;\r\n java.lang.String nillableValue = null;\r\n java.lang.String prefix = \"\";\r\n java.lang.String namespaceuri = \"\";\r\n\r\n try {\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n currentQName = reader.getName();\r\n\r\n if (reader.getAttributeValue(\r\n \"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"type\") != null) {\r\n java.lang.String fullTypeName = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"type\");\r\n\r\n if (fullTypeName != null) {\r\n java.lang.String nsPrefix = null;\r\n\r\n if (fullTypeName.indexOf(\":\") > -1) {\r\n nsPrefix = fullTypeName.substring(0,\r\n fullTypeName.indexOf(\":\"));\r\n }\r\n\r\n nsPrefix = (nsPrefix == null) ? \"\" : nsPrefix;\r\n\r\n java.lang.String type = fullTypeName.substring(fullTypeName.indexOf(\r\n \":\") + 1);\r\n\r\n if (!\"AccSearchResponse\".equals(type)) {\r\n //find namespace for the prefix\r\n java.lang.String nsUri = reader.getNamespaceContext()\r\n .getNamespaceURI(nsPrefix);\r\n\r\n return (AccSearchResponse) ExtensionMapper.getTypeObject(nsUri,\r\n type, reader);\r\n }\r\n }\r\n }\r\n\r\n // Note all attributes that were handled. Used to differ normal attributes\r\n // from anyAttributes.\r\n java.util.Vector handledAttributes = new java.util.Vector();\r\n\r\n reader.next();\r\n\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n if ((reader.isStartElement() &&\r\n new javax.xml.namespace.QName(\r\n \"http://tempuri.org/\", \"AccSearchResult\").equals(\r\n reader.getName())) ||\r\n new javax.xml.namespace.QName(\"\", \"AccSearchResult\").equals(\r\n reader.getName())) {\r\n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"nil\");\r\n\r\n if (\"true\".equals(nillableValue) ||\r\n \"1\".equals(nillableValue)) {\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"The element: \" + \"AccSearchResult\" +\r\n \" cannot be null\");\r\n }\r\n\r\n java.lang.String content = reader.getElementText();\r\n\r\n object.setAccSearchResult(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(\r\n content));\r\n\r\n reader.next();\r\n } // End of if for expected property start element\r\n\r\n else {\r\n }\r\n\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n if (reader.isStartElement()) {\r\n // 2 - A start element we are not expecting indicates a trailing invalid property\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"Unexpected subelement \" + reader.getName());\r\n }\r\n } catch (javax.xml.stream.XMLStreamException e) {\r\n throw new java.lang.Exception(e);\r\n }\r\n\r\n return object;\r\n }", "public QueryResponse(Query q) {\n this.q = q;\n this.docIDs = new HashSet<>();\n }", "@GET(\"w/api.php?action=opensearch&format=json&suggest&redirects=resolve\")\n Call<JsonElement> getSuggestionsFromSearch(@Query(\"search\") String search);", "entities.Torrent.SearchRequestOrBuilder getSearchRequestOrBuilder();", "SearchResponse search(Pageable pageable, QueryBuilder query, AggregationBuilder aggregation);", "public abstract Search create(String search, SearchBuilder builder);", "TSearchQuery createSearchQuery(SearchQueryDefinitionAPI searchQueryDefinition);", "public SearchResponseBuilder<T, ST, P> getCopy() {\n SearchResponseBuilder<T, ST, P> searchResponseBuilder =\n new SearchResponseBuilder<T, ST, P>(responseClass, annotatedClass, solrField2ParamEnumMap,\n solrField2javaPropertiesMap);\n searchResponseBuilder.hlFieldPropertyPropertiesMap = hlFieldPropertyPropertiesMap;\n return searchResponseBuilder;\n }", "public Builder setLocalSearchResponse(entities.Torrent.LocalSearchResponse value) {\n if (localSearchResponseBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n localSearchResponse_ = value;\n onChanged();\n } else {\n localSearchResponseBuilder_.setMessage(value);\n }\n\n return this;\n }", "public static QueryResult fromDiscoveryResult(QueryResponse response) {\n return new QueryResult.Builder()\n .content(response.getResults().get(0).get(\"text\").toString())\n .filename(response.getResults().get(0).getTitle())\n .build();\n }", "entities.Torrent.LocalSearchResponseOrBuilder getLocalSearchResponseOrBuilder();", "private SyncResultsResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "List<SearchResult> search(SearchQuery searchQuery);", "private StreamingRecognizeResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "public Builder setSearchRequest(entities.Torrent.SearchRequest value) {\n if (searchRequestBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n searchRequest_ = value;\n onChanged();\n } else {\n searchRequestBuilder_.setMessage(value);\n }\n\n return this;\n }", "public SearchResponse(String from, String to, UUID uuid, String error) {\r\n super(from, to, new JSONObject()\r\n .put(\"type\", MessageType.SEARCH_RESPONSE.name())\r\n .put(\"status\", \"error\")\r\n .put(\"id\", uuid.toString())\r\n .put(\"message\", error));\r\n }", "@java.lang.Override\n public com.clarifai.grpc.api.Search getSearch() {\n if (inputSourceCase_ == 10) {\n return (com.clarifai.grpc.api.Search) inputSource_;\n }\n return com.clarifai.grpc.api.Search.getDefaultInstance();\n }", "SearchResult<TimelineMeta> search(SearchQuery searchQuery);", "private HelloResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "public Builder mergeSearchRequest(entities.Torrent.SearchRequest value) {\n if (searchRequestBuilder_ == null) {\n if (searchRequest_ != null) {\n searchRequest_ =\n entities.Torrent.SearchRequest.newBuilder(searchRequest_).mergeFrom(value).buildPartial();\n } else {\n searchRequest_ = value;\n }\n onChanged();\n } else {\n searchRequestBuilder_.mergeFrom(value);\n }\n\n return this;\n }", "public QueryResponseInner() {\n }", "@java.lang.Override\n public entities.Torrent.LocalSearchResponseOrBuilder getLocalSearchResponseOrBuilder() {\n return getLocalSearchResponse();\n }", "public MagicSearch createMagicSearch();", "public entities.Torrent.LocalSearchResponseOrBuilder getLocalSearchResponseOrBuilder() {\n if (localSearchResponseBuilder_ != null) {\n return localSearchResponseBuilder_.getMessageOrBuilder();\n } else {\n return localSearchResponse_ == null ?\n entities.Torrent.LocalSearchResponse.getDefaultInstance() : localSearchResponse_;\n }\n }", "private com.google.protobuf.SingleFieldBuilderV3<\n com.clarifai.grpc.api.Search, com.clarifai.grpc.api.Search.Builder, com.clarifai.grpc.api.SearchOrBuilder> \n getSearchFieldBuilder() {\n if (searchBuilder_ == null) {\n if (!(inputSourceCase_ == 10)) {\n inputSource_ = com.clarifai.grpc.api.Search.getDefaultInstance();\n }\n searchBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<\n com.clarifai.grpc.api.Search, com.clarifai.grpc.api.Search.Builder, com.clarifai.grpc.api.SearchOrBuilder>(\n (com.clarifai.grpc.api.Search) inputSource_,\n getParentForChildren(),\n isClean());\n inputSource_ = null;\n }\n inputSourceCase_ = 10;\n onChanged();;\n return searchBuilder_;\n }", "public interface SearchVerses {\n @GET(\"/api/?type=json\")\n void searchForVerse(@Query(\"passage\") String passage, Callback<List<Verse>> callback);\n \n @GET(\"/api/?type=json\")\n List<Verse> listVerses(@Query(\"passage\") String passage);\n\n// public static class SearchResponse {\n// VerseContent response;\n//\n// public List<Verse> getVerses() {\n// return response.verses;\n// }\n// }\n\n public static class Verse {\n public String bookname;\n public String chapter;\n public String verse;\n public String text;\n public String title;\n }\n\n class VerseContent {\n List<Verse> verses;\n }\n}", "public Builder mergeLocalSearchResponse(entities.Torrent.LocalSearchResponse value) {\n if (localSearchResponseBuilder_ == null) {\n if (localSearchResponse_ != null) {\n localSearchResponse_ =\n entities.Torrent.LocalSearchResponse.newBuilder(localSearchResponse_).mergeFrom(value).buildPartial();\n } else {\n localSearchResponse_ = value;\n }\n onChanged();\n } else {\n localSearchResponseBuilder_.mergeFrom(value);\n }\n\n return this;\n }", "public Builder clearLocalSearchResponse() {\n if (localSearchResponseBuilder_ == null) {\n localSearchResponse_ = null;\n onChanged();\n } else {\n localSearchResponse_ = null;\n localSearchResponseBuilder_ = null;\n }\n\n return this;\n }", "public void searchForBooks(String query) {\n\n\n BooksAPI booksAPI = ServiceGenerator.getBooksAPI();\n Call<GBookList> call = booksAPI.getBook(query);\n call.enqueue(new Callback<GBookList>() {\n @EverythingIsNonNull\n @Override\n public void onResponse(Call<GBookList> call, Response<GBookList> response) {\n if (response.isSuccessful()) {\n //response.body() returns GBookList\n //from json format to object\n searchedBooks.setValue(response.body());\n\n }\n }\n @EverythingIsNonNull\n @Override\n public void onFailure(Call<GBookList> call, Throwable t) {\n Log.i(\"Retrofit \", \"Retrieving from google.books.com failed\");\n }\n });\n }", "public SearchResult withStatus(SearchStatus status) {\n setStatus(status);\n return this;\n }", "private Search() {}", "public QueryResultBuilder<T> applySearch(Option<Search> search);", "Search getSearch();", "private JsonObject search(JsonObject request) {\n\t\t\tJsonObject result = new JsonObject();\n\t\t\tJsonArray artists = new JsonArray();\n\t\t\tJsonArray titles = new JsonArray();\n\t\t\tJsonArray tags = new JsonArray();\n\t\t\tJsonArray arSimilars = new JsonArray();\n\t\t\tJsonArray tiSimilars = new JsonArray();\n\t\t\tJsonArray taSimilars = new JsonArray();\n\t\t\t//Individually search by artist, by title and by tag. \n\t\t\tartists = request.getAsJsonArray(\"searchByArtist\");\n\t\t\ttitles = request.getAsJsonArray(\"searchByTitle\");\n\t\t\ttags = request.getAsJsonArray(\"searchByTag\");\n\t\t\t//If the request contains \"artist\", we search each artist's similar song, and add it to a JsonArray.\n\t\t\tif(artists != null && artists.size() >= 1) {\n\t\t\t\tfor(JsonElement artist: artists) {\n\t\t\t\t\tarSimilars.add(this.sl.searchByArtist(artist.getAsString()));\t\n\t\t\t\t}\n\t\t\t\t//We add the JsonArray to result, associated with \"searchByArtist\".\n\t\t\t\tresult.add(\"searchByArtist\", arSimilars);\n\t\t\t}\n\t\t\t//If the request contains \"tag\", we search each tag's similar song, and add it to a JsonArray.\n\t\t\tif(tags != null && tags.size() >= 1) {\n\t\t\t\tfor(JsonElement tag: tags) {\t\t\t\t\n\t\t\t\t\ttaSimilars.add(this.sl.searchByTag(tag.getAsString()));\t\t\t\t\n\t\t\t\t}\n\t\t\t\t//We add the JsonArray to result, associated with \"searchByTag\".\n\t\t\t\tresult.add(\"searchByTag\", taSimilars);\n\t\t\t}\t\t\n\t\t\t//If the request contains title, we search each title's similar song, and add it to a JsonArray\n\t\t\tif(titles != null && titles.size() >= 1) {\t\t\t\n\t\t\t\tfor(JsonElement title: titles) {\n\t\t\t\t\ttiSimilars.add(this.sl.searchByTitle(title.getAsString()));\n\t\t\t\t}\n\t\t\t\t//We add the JsonArray to result, associated with \"searchByTiltle\".\n\t\t\t\tresult.add(\"searchByTitle\", tiSimilars);\n\t\t\t}\n\t\t\treturn result;\n\t\t}", "entities.Torrent.LocalSearchResponse getLocalSearchResponse();", "public static interface SearchType\n\t{\n\t\t/**\n\t\t * Creates a search of this type with the given query\n\t\t * \n\t\t * @param search The search query\n\t\t * @param builder The search builder that is compiling the search\n\t\t * @return The compiled search object representing the given query\n\t\t */\n\t\tpublic abstract Search create(String search, SearchBuilder builder);\n\n\t\t/** @return All headers that may begin a search of this type */\n\t\tpublic abstract String [] getHeaders();\n\t}", "private CalResponse(com.google.protobuf.GeneratedMessage.Builder<?> builder) {\n super(builder);\n this.unknownFields = builder.getUnknownFields();\n }", "TSearchQuery prepareSearchQuery(SearchQueryDefinitionAPI searchQueryDefinition);", "public interface SearchResult {\n\t/**\n\t * Returns the meta data of this entity associated with the search result.\n\t * \n\t * @return\tThe meta data\n\t */\n\tMetadata getMetaData();\n\t\n\t/**\n\t * Returns the identifier of this entity associated with the search result.\n\t * \n\t * @return\tThe identifier\n\t */\n\tString getHash();\n\t\n\t/**\n\t * Returns the hash algorithm used for hashing the content.\n\t * \n\t * @return The hash algorithm\n\t */\n\tString getHashAlgorithm();\n}", "public com.github.yeriomin.playstoreapi.ResponseWrapper.Builder getResponseBuilder() {\n bitField0_ |= 0x00000002;\n onChanged();\n return getResponseFieldBuilder().getBuilder();\n }", "private ResultSetResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "@Override\n public void search(SearchQuery searchQuery) throws VanilaException {\n\n setKeepQuite(false);\n\n String query = searchQuery.query;\n SearchOptions options = searchQuery.options;\n\n if (isCacheHavingResults(query)) {\n searchComplete(query, mRecentSearchResultsMap.get(query), null);\n }\n else {\n if (mIsBusyInSearch) {\n mMostRecentAwaitingQuery = searchQuery;\n }\n else {\n\n mMostRecentAwaitingQuery = null;\n mIsBusyInSearch = true;\n\n FSRequestDTO request = mFSContext.buildVenueRequest(query, options);\n\n FSVenueSearchGateway gateway = mMobilePlatformFactory.getSyncAdapter()\n .getSyncGateway(FSVenueSearchGateway.CLASS_NAME);\n gateway.fireReadVenueListRequest(request);\n }\n }\n }", "public GetAllTagsResponseBuilder() {\r\n getAllTagsResponse = new GetAllTagsResponse();\r\n }", "private RequestResponse handleSearchRequest(Request request, Response response) throws ServiceException {\n response.type(\"application/json\");\n\n String core = request.params(\":core\");\n if (StringUtils.isEmpty(core)) {\n throw new ServiceException(\"Failed to provide an index core for the document\");\n }\n\n SearchParameters searchParameters = new RequestToSearchParameters().convert(request);\n return this.searchService.query(core, searchParameters);\n }", "SearchResponse search(Pageable pageable, QueryBuilder query, Collection<AggregationBuilder> aggregations);", "public Search() {\n this.timestamp = System.currentTimeMillis();\n }", "private PrepareResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "public entities.Torrent.SearchRequest.Builder getSearchRequestBuilder() {\n\n onChanged();\n return getSearchRequestFieldBuilder().getBuilder();\n }", "private LocalSearchRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "private GetParkingByKeyWordResponse(com.google.protobuf.GeneratedMessage.Builder<?> builder) {\n super(builder);\n this.unknownFields = builder.getUnknownFields();\n }", "public interface SearchService {\n\n /**\n * Parameter that is appended to the generated links that contains the positive search terms and phrases of the\n * search expression. For several terms it occurs several times.\n */\n String PARAMETER_SEARCHTERM = \"search.term\";\n\n /**\n * Represents a result of the search consisting of a target page and one or more matching subresources. For use by\n * the search result renderer.\n */\n interface Result {\n\n /** The page which contains matches. */\n @NotNull\n Resource getTarget();\n\n /** The content child of the page which contains matches. */\n @NotNull\n Resource getTargetContent();\n\n /** A link that shows the target, including search terms with {@link #PARAMETER_SEARCHTERM} */\n @NotNull\n String getTargetUrl();\n\n /** The title of the search result. */\n @NotNull\n String getTitle();\n\n /** The score of the search result. */\n Float getScore();\n\n /**\n * One or more descendants of {@link #getTarget()} that potentially match the search expression. Mostly useful\n * for generating excerpts; can contain false positives in some search algorithms.\n */\n @NotNull\n List<Resource> getMatches();\n\n /** The fulltext search expression for which this result was found. */\n @NotNull\n String getSearchExpression();\n\n /**\n * A basic excerpt from the matches that demonstrates the occurrences of the terms from {@link\n * #getSearchExpression()} in this result. Might be empty if not applicable (e.g. if the search terms were found\n * in meta information). If there are several matches, we just give one excerpt. You might want to provide your\n * own implementation for that to accommodate for specific requirements.\n *\n * @return a text with the occurrences of the words marked with HTML tag em .\n */\n @NotNull\n String getExcerpt() throws SearchTermParseException;\n }\n\n /**\n * Fulltext search for resources. The resources are grouped if they are subresources of one target page, as\n * determined by the parameter targetResourceFilter.\n * <p>\n * Limitations: if the searchExpression consists of several search terms (implicitly combined with AND) this finds\n * only resources where a single property matches the whole search condition, i.e., all those terms. If several\n * resources of a page contain different subsets of those terms, the page is not found.\n *\n * @param context The context we use for the search.\n * @param selectors a selector string to determine the right search strategy, e.g. 'page'\n * @param root Optional parameter for the node below which we search.\n * @param searchExpression Mandatory parameter for the fulltext search expression to search for. For the syntax\n * see\n * {@link QueryConditionDsl.QueryConditionBuilder#contains(String)}\n * . It is advisable to avoid using AND and OR.\n * @param searchFilter an optional filter to drop resources to ignore.\n * @return possibly empty list of results\n * @see com.composum.sling.core.mapping.jcr.ResourceFilterMapping\n */\n @NotNull\n List<Result> search(@NotNull BeanContext context, @NotNull String selectors,\n @NotNull String root, @NotNull String searchExpression, @Nullable ResourceFilter searchFilter,\n int offset, @Nullable Integer limit)\n throws RepositoryException, SearchTermParseException;\n\n\n interface LimitedQuery {\n\n /**\n * Executes the query with the given limit; returns a pair of a boolean that is true when we are sure that all\n * results have been found in spite of the limit, and the results themselves.\n */\n Pair<Boolean, List<Result>> execQuery(int matchLimit);\n }\n\n /**\n * Execute the query with raising limit until the required number of results is met. We don't know in advance how\n * large we have to set the limit in the query to get all neccesary results, since each page can have an a priori\n * unknown number of matches. Thus, the query is executed with an estimated limit, and is reexecuted with tripled\n * limit if the number of results is not sufficient and there are more limits.\n *\n * @return up to limit elements of the result list with the offset first elements skipped.\n */\n @NotNull\n List<Result> executeQueryWithRaisingLimits(LimitedQuery limitedQuery, int offset, Integer limit);\n}", "@java.lang.Override\n public entities.Torrent.SearchRequestOrBuilder getSearchRequestOrBuilder() {\n return getSearchRequest();\n }", "private LivestockResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "interface Result {\n\n /** The page which contains matches. */\n @NotNull\n Resource getTarget();\n\n /** The content child of the page which contains matches. */\n @NotNull\n Resource getTargetContent();\n\n /** A link that shows the target, including search terms with {@link #PARAMETER_SEARCHTERM} */\n @NotNull\n String getTargetUrl();\n\n /** The title of the search result. */\n @NotNull\n String getTitle();\n\n /** The score of the search result. */\n Float getScore();\n\n /**\n * One or more descendants of {@link #getTarget()} that potentially match the search expression. Mostly useful\n * for generating excerpts; can contain false positives in some search algorithms.\n */\n @NotNull\n List<Resource> getMatches();\n\n /** The fulltext search expression for which this result was found. */\n @NotNull\n String getSearchExpression();\n\n /**\n * A basic excerpt from the matches that demonstrates the occurrences of the terms from {@link\n * #getSearchExpression()} in this result. Might be empty if not applicable (e.g. if the search terms were found\n * in meta information). If there are several matches, we just give one excerpt. You might want to provide your\n * own implementation for that to accommodate for specific requirements.\n *\n * @return a text with the occurrences of the words marked with HTML tag em .\n */\n @NotNull\n String getExcerpt() throws SearchTermParseException;\n }", "private Response(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "private Response(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "private Response(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "private Response(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "private Response(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "private Response(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "private Response(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "@Override\r\n\tpublic String getTagName() {\n\t\treturn \"PlaceSearchResponse\";\r\n\t}", "private TestResponse(com.google.protobuf.GeneratedMessageLite.Builder builder) {\n super(builder);\n\n }", "public static SearchResults createSearchResults(ClientResults apiResults) {\n List<SearchResult> resultList = new ArrayList<>();\n if (apiResults == null) return null;\n List<Item> topList = apiResults.getItems()\n .subList(0, (apiResults.getItems().size() >= MAX_DISPLAY_COUNT) ? MAX_DISPLAY_COUNT : apiResults.getItems().size());\n for (Item apiResult : topList) {\n\n if (apiResult.getOwner() == null ||\n apiResult.getDescription().isEmpty() ||\n StringUtil.isEmpty(apiResult.getName()) ||\n StringUtil.isEmpty(apiResult.getUrl()) ||\n StringUtil.isEmpty(apiResult.getDescription()) ||\n StringUtil.isEmpty(apiResult.getStargazersCount())) continue;\n\n Owner owner = apiResult.getOwner();\n if (StringUtil.isEmpty(owner.getAvatarUrl()) ||\n StringUtil.isEmpty(owner.getOrgName())) continue;\n\n SearchResult result = new SearchResult();\n result.setRepositoryName(apiResult.getName());\n result.setOrgName(owner.getOrgName());\n result.setWebUrl(apiResult.getUrl());\n result.setAvatarUrl(apiResult.getOwner().getAvatarUrl());\n result.setDescription(apiResult.getDescription());\n try {\n result.setStarCount(Integer.parseInt(apiResult.getStargazersCount()));\n } catch (NullPointerException exception) {\n continue;\n }\n resultList.add(result);\n\n }\n SearchResults searchResults = new SearchResults();\n searchResults.setSearchResults(resultList);\n return searchResults;\n }", "public VehicleSearchRequest createSearchVechicle() {\r\n\r\n\t\tVehicleSearchRequest searchRequest = new VehicleSearchRequest();\r\n\r\n\t\tif (StringUtils.isBlank(searchLocation)) {\r\n\t\t\tsearchRequest.setLocation(DefaultValues.LOCATION_DEFAULT.getDef());\r\n\t\t} else {\r\n\t\t\tsearchRequest.setLocation(searchLocation);\r\n\t\t}\r\n\r\n\t\tif (StringUtils.isBlank(searchVehicleType)) {\r\n\t\t\tsearchRequest.setVehicleType(VehicleType.getEnum(DefaultValues.VEHICLE_TYPE_DEFAULT.getDef()));\r\n\t\t} else {\r\n\t\t\tsearchRequest.setVehicleType(VehicleType.getEnum(searchVehicleType));\r\n\t\t}\r\n\r\n\t\tif (StringUtils.isBlank(searchFin)) {\r\n\t\t\tsearchRequest.setFin(DefaultValues.FIN_DEFAULT.getDef());\r\n\t\t} else {\r\n\t\t\tsearchRequest.setFin(searchFin);\r\n\t\t}\r\n\r\n\t\tif (StringUtils.isBlank(searchModel)) {\r\n\t\t\tsearchRequest.setModel(DefaultValues.MODEL_DEFAULT.getDef());\r\n\t\t} else {\r\n\t\t\tsearchRequest.setModel(searchModel);\r\n\t\t}\r\n\r\n\t\tif (StringUtils.isBlank(searchFuelType)) {\r\n\t\t\tsearchRequest.setFuelType(FuelType.DEFAULT);\r\n\t\t} else {\r\n\t\t\tsearchRequest.setFuelType(FuelType.getEnum(searchFuelType));\r\n\t\t}\r\n\r\n\t\tif (searchMaxCapacity == 0) {\r\n\t\t\tsearchRequest.setMaxCapacity(DefaultValues.MAX_CAPACITY_DEFAULT.getDefValue());\r\n\t\t} else {\r\n\t\t\tsearchRequest.setMaxCapacity(searchMaxCapacity);\r\n\t\t}\r\n\r\n\t\tif (searchMinCapacity == 0) {\r\n\t\t\tsearchRequest.setMinCapacity(DefaultValues.MIN_CAPACITY_DEFAULT.getDefValue());\r\n\t\t} else {\r\n\t\t\tsearchRequest.setMinCapacity(searchMinCapacity);\r\n\t\t}\r\n\r\n\t\tif (searchMinYear == 0) {\r\n\t\t\tsearchRequest.setMinYear(DefaultValues.MIN_YEAR_DEFAULT.getDefValue());\r\n\t\t} else {\r\n\t\t\tsearchRequest.setMinYear(searchMinYear);\r\n\t\t}\r\n\r\n\t\tif (searchMaxYear == 0) {\r\n\t\t\tsearchRequest.setMaxYear(DefaultValues.MAX_YEAR_DEFAULT.getDefValue());\r\n\t\t} else {\r\n\t\t\tsearchRequest.setMaxYear(searchMaxYear);\r\n\t\t}\r\n\r\n\t\tif (searchMaxPrice == 0) {\r\n\t\t\tsearchRequest.setMaxPrice(DefaultValues.MAX_PRICE_DEFAULT.getDefValue());\r\n\t\t} else {\r\n\t\t\tsearchRequest.setMaxPrice(searchMaxPrice);\r\n\t\t}\r\n\r\n\t\tif (searchMinPrice == 0) {\r\n\t\t\tsearchRequest.setMinPrice(DefaultValues.MIN_PRICE_DEFAULT.getDefValue());\r\n\t\t} else {\r\n\t\t\tsearchRequest.setMinPrice(searchMinPrice);\r\n\t\t}\r\n\t\treturn searchRequest;\r\n\t}", "public entities.Torrent.LocalSearchResponse getLocalSearchResponse() {\n if (localSearchResponseBuilder_ == null) {\n return localSearchResponse_ == null ? entities.Torrent.LocalSearchResponse.getDefaultInstance() : localSearchResponse_;\n } else {\n return localSearchResponseBuilder_.getMessage();\n }\n }", "@Nonnull\n private Response buildResponse(javax.ws.rs.core.Response response) {\n checkMediaType(response);\n return new Response(response.getStatus(), response.readEntity(String.class));\n }", "List<ResultDTO> search(String query);", "private FetchResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }" ]
[ "0.7701566", "0.7558379", "0.73419535", "0.73128915", "0.714745", "0.7097319", "0.69737464", "0.68957806", "0.6853066", "0.6711586", "0.66991323", "0.6651", "0.6606603", "0.65481126", "0.64791095", "0.64489514", "0.63989794", "0.63320714", "0.6330259", "0.62516814", "0.6240243", "0.62170124", "0.6206626", "0.6171077", "0.61469316", "0.61411446", "0.6082091", "0.6080145", "0.6023073", "0.60102236", "0.59776527", "0.59632355", "0.5928438", "0.59129584", "0.5891478", "0.5888673", "0.5860542", "0.5842474", "0.5825044", "0.5820456", "0.5804051", "0.5790815", "0.5783728", "0.5779771", "0.57715374", "0.5748425", "0.5689051", "0.5663747", "0.5655546", "0.56454515", "0.5640011", "0.5622242", "0.56061995", "0.559595", "0.5566921", "0.5559533", "0.5542649", "0.5535667", "0.5529991", "0.5517052", "0.5487204", "0.54531115", "0.5436726", "0.54336137", "0.5423035", "0.5416951", "0.54159254", "0.541563", "0.5395148", "0.5394702", "0.5393545", "0.53724235", "0.53618324", "0.53581274", "0.53463286", "0.5345113", "0.53401357", "0.5340071", "0.5335883", "0.5323414", "0.5316831", "0.5303644", "0.53023106", "0.5298788", "0.5298595", "0.5294478", "0.5294478", "0.5294478", "0.5294478", "0.5294478", "0.5294478", "0.5294478", "0.52936566", "0.5292709", "0.5287824", "0.52836883", "0.5280733", "0.5279759", "0.527748", "0.52746356" ]
0.76481056
1
.Status status = 1;
@java.lang.Override public int getStatusValue() { return status_; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setStatus(String status) { this.status = status; }", "void setStatus(STATUS status);", "public void setStatus(EnumVar status) {\n this.status = status;\n }", "public void setStatus(Status status) {\r\n\t this.status = status;\r\n\t }", "public void setStatus(Integer status) {\r\n this.status = status;\r\n }", "public void setStatus(Integer status) {\r\n this.status = status;\r\n }", "void setStatus(int status);", "public void setStatus(Byte status) {\r\n this.status = status;\r\n }", "public void setStatus(Byte status) {\r\n this.status = status;\r\n }", "public void setStatus(Byte status) {\r\n this.status = status;\r\n }", "public void setStatus(Byte status) {\r\n this.status = status;\r\n }", "public void setStatus(Byte status) {\r\n this.status = status;\r\n }", "public void setStatus(Byte status) {\r\n this.status = status;\r\n }", "public void setStatus(Byte status) {\r\n this.status = status;\r\n }", "public void setStatus(int status){\r\n\t\tthis.status=status;\r\n\t}", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(int status);", "public void setStatus(int status);", "public void setStatus(Boolean s){ status = s;}", "public void setStatus(int status) {\n STATUS = status;\n }", "public void setStatus(Status newStatus){\n status = newStatus;\n }", "public void setStatus(String stat)\n {\n status = stat;\n }", "private void setStatus(com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n status_ = value;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(long status) {\r\n this.status = status;\r\n }", "public void setStatus(Integer status) {\n\t\tthis.status = status;\n\t}", "public void setStatus(Integer status) {\n\t\tthis.status = status;\n\t}", "public void setStatus(String status) {\r\n this.status = status;\r\n }", "public void setStatus(java.lang.Object status) {\n this.status = status;\n }", "public void setStatus(Status status)\n {\n this.status = status;\n }", "public void setgetStatus()\r\n\t{\r\n\t\tthis.status = 'S';\r\n\t}", "public void setStatus(Byte status) {\r\n\t\tthis.status = status;\r\n\t}", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "@Override\n\t\tpublic void setStatus(int status) {\n\t\t\t\n\t\t}", "public void setStatus(StatusEnum status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n\t\tthis.status = status;\n\t}", "public void setStatus(Byte status) {\n\t\tthis.status = status;\n\t}", "public void setStatus(int status) {\n this.status = status;\n }", "public void setStatus(int status) {\n this.status = status;\n }", "public void setStatus(Status status) {\r\n this.status = status;\r\n }", "public void setStatus(String status) {\r\n this.status = status;\r\n }", "public void setStatus(String status) {\r\n this.status = status;\r\n }", "public void setStatus(Short status) {\n this.status = status;\n }", "public void setStatus(STATUS status) {\n this.status = status;\n }", "void setStatus(String status);", "public void setStatus(Short status) {\n\t\tthis.status = status;\n\t}", "public void setStatus(Short status) {\n\t\tthis.status = status;\n\t}", "public void setStatus(int v) \n {\n \n if (this.status != v)\n {\n this.status = v;\n setModified(true);\n }\n \n \n }", "public void setStatus( Short status ) {\n this.status = status;\n }", "public void setStatus(String newStatus){\n\n //assigns the value of newStatus to the status field\n this.status = newStatus;\n }", "public Status getStatus(){\n return status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(Status status) {\n this.status = status;\n }", "public void setStatus(Status status) {\n this.status = status;\n }", "public void setStatus(Status status) {\n this.status = status;\n }" ]
[ "0.7656765", "0.76468766", "0.7565312", "0.7561203", "0.75449044", "0.75449044", "0.75349724", "0.74959093", "0.74959093", "0.74959093", "0.74959093", "0.74959093", "0.74959093", "0.74959093", "0.7482147", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.74783385", "0.74783385", "0.746719", "0.74658287", "0.746098", "0.7456925", "0.7452718", "0.7435934", "0.7435934", "0.7435934", "0.7435934", "0.7435934", "0.7435934", "0.7435934", "0.7435934", "0.7435934", "0.7435934", "0.7435934", "0.7435934", "0.7435934", "0.7435248", "0.7432568", "0.7432568", "0.7425985", "0.74143654", "0.74118876", "0.7398544", "0.7398282", "0.73973185", "0.73973185", "0.7396562", "0.73950607", "0.7392215", "0.7392215", "0.7382456", "0.7382456", "0.7378742", "0.73726434", "0.73726434", "0.7368736", "0.73626804", "0.7351154", "0.7345713", "0.7345713", "0.73451585", "0.7332328", "0.7329264", "0.73258084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.728639", "0.728639", "0.728639" ]
0.0
-1
.Status status = 1;
@java.lang.Override public entities.Torrent.Status getStatus() { @SuppressWarnings("deprecation") entities.Torrent.Status result = entities.Torrent.Status.valueOf(status_); return result == null ? entities.Torrent.Status.UNRECOGNIZED : result; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setStatus(String status) { this.status = status; }", "void setStatus(STATUS status);", "public void setStatus(EnumVar status) {\n this.status = status;\n }", "public void setStatus(Status status) {\r\n\t this.status = status;\r\n\t }", "public void setStatus(Integer status) {\r\n this.status = status;\r\n }", "public void setStatus(Integer status) {\r\n this.status = status;\r\n }", "void setStatus(int status);", "public void setStatus(Byte status) {\r\n this.status = status;\r\n }", "public void setStatus(Byte status) {\r\n this.status = status;\r\n }", "public void setStatus(Byte status) {\r\n this.status = status;\r\n }", "public void setStatus(Byte status) {\r\n this.status = status;\r\n }", "public void setStatus(Byte status) {\r\n this.status = status;\r\n }", "public void setStatus(Byte status) {\r\n this.status = status;\r\n }", "public void setStatus(Byte status) {\r\n this.status = status;\r\n }", "public void setStatus(int status){\r\n\t\tthis.status=status;\r\n\t}", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(int status);", "public void setStatus(int status);", "public void setStatus(Boolean s){ status = s;}", "public void setStatus(int status) {\n STATUS = status;\n }", "public void setStatus(Status newStatus){\n status = newStatus;\n }", "public void setStatus(String stat)\n {\n status = stat;\n }", "private void setStatus(com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n status_ = value;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(long status) {\r\n this.status = status;\r\n }", "public void setStatus(Integer status) {\n\t\tthis.status = status;\n\t}", "public void setStatus(Integer status) {\n\t\tthis.status = status;\n\t}", "public void setStatus(String status) {\r\n this.status = status;\r\n }", "public void setStatus(java.lang.Object status) {\n this.status = status;\n }", "public void setStatus(Status status)\n {\n this.status = status;\n }", "public void setgetStatus()\r\n\t{\r\n\t\tthis.status = 'S';\r\n\t}", "public void setStatus(Byte status) {\r\n\t\tthis.status = status;\r\n\t}", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "@Override\n\t\tpublic void setStatus(int status) {\n\t\t\t\n\t\t}", "public void setStatus(StatusEnum status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n\t\tthis.status = status;\n\t}", "public void setStatus(Byte status) {\n\t\tthis.status = status;\n\t}", "public void setStatus(int status) {\n this.status = status;\n }", "public void setStatus(int status) {\n this.status = status;\n }", "public void setStatus(Status status) {\r\n this.status = status;\r\n }", "public void setStatus(String status) {\r\n this.status = status;\r\n }", "public void setStatus(String status) {\r\n this.status = status;\r\n }", "public void setStatus(Short status) {\n this.status = status;\n }", "public void setStatus(STATUS status) {\n this.status = status;\n }", "void setStatus(String status);", "public void setStatus(Short status) {\n\t\tthis.status = status;\n\t}", "public void setStatus(Short status) {\n\t\tthis.status = status;\n\t}", "public void setStatus(int v) \n {\n \n if (this.status != v)\n {\n this.status = v;\n setModified(true);\n }\n \n \n }", "public void setStatus( Short status ) {\n this.status = status;\n }", "public void setStatus(String newStatus){\n\n //assigns the value of newStatus to the status field\n this.status = newStatus;\n }", "public Status getStatus(){\n return status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(Status status) {\n this.status = status;\n }", "public void setStatus(Status status) {\n this.status = status;\n }", "public void setStatus(Status status) {\n this.status = status;\n }" ]
[ "0.7656765", "0.76468766", "0.7565312", "0.7561203", "0.75449044", "0.75449044", "0.75349724", "0.74959093", "0.74959093", "0.74959093", "0.74959093", "0.74959093", "0.74959093", "0.74959093", "0.7482147", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.74783385", "0.74783385", "0.746719", "0.74658287", "0.746098", "0.7456925", "0.7452718", "0.7435934", "0.7435934", "0.7435934", "0.7435934", "0.7435934", "0.7435934", "0.7435934", "0.7435934", "0.7435934", "0.7435934", "0.7435934", "0.7435934", "0.7435934", "0.7435248", "0.7432568", "0.7432568", "0.7425985", "0.74143654", "0.74118876", "0.7398544", "0.7398282", "0.73973185", "0.73973185", "0.7396562", "0.73950607", "0.7392215", "0.7392215", "0.7382456", "0.7382456", "0.7378742", "0.73726434", "0.73726434", "0.7368736", "0.73626804", "0.7351154", "0.7345713", "0.7345713", "0.73451585", "0.7332328", "0.7329264", "0.73258084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.728639", "0.728639", "0.728639" ]
0.0
-1
string errorMessage = 2;
@java.lang.Override public java.lang.String getErrorMessage() { java.lang.Object ref = errorMessage_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); errorMessage_ = s; return s; } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "String errorMessage();", "private void error(String string) {\n\t\r\n}", "String getErrorMessage();", "String getErrorMessage();", "String getError(int i) {\n if (i >= 0 & i < msgs.length)\n return msgs[i];\n else\n return \"Invalid Error Code\";\n }", "java.lang.String getError();", "java.lang.String getError();", "java.lang.String getError();", "java.lang.String getErrorMessage();", "java.lang.String getErrorMessage();", "java.lang.String getErrorMessage();", "java.lang.String getErrorMessage();", "java.lang.String getErrorMessage();", "java.lang.String getErrorMessage();", "java.lang.String getErrorMessage();", "java.lang.String getErrorMessage();", "java.lang.String getErrorMessage();", "java.lang.String getErrorMessage();", "java.lang.String getErrorMessage();", "java.lang.String getErrorMessage();", "void showErrorMsg(String string);", "String getGetErrorMessage();", "java.lang.String getErr();", "public String getErrorString()\r\n\t{\r\n\t\t\r\n\t\treturn ERROR_STRING;\r\n\t}", "public void error(String string) {\n\t\t\n\t}", "String getInvalidMessage();", "private static String getMessage(int code) {\n switch (code) {\n case ME_DIV_BY_ZERO:\n return \"Attempt to divide by zero.\";\n case ME_ASSIGNLITERAL:\n return \"Attempt to assign to a literal.\";\n case ME_NONVARASSIGN:\n return \"Attempt to assign to a non-variable.\";\n default:\n return \"Unknown error.\";\n }\n }", "String getErrorsString();", "public String error();", "public String getError() {\n\treturn mistake;\n }", "private String getErrorString() {\n\t\treturn \"GUID:ERROR:\" + mErrors[0][0]\n\t\t + \":\" + mErrors[1][0]\n\t\t + \":\" + mErrors[2][0]\n\t\t + \":\" + mErrors[3][0];\n\t}", "public String getErrorMessage() \r\n\t{\r\n\t\t\r\n\t\treturn errorMessage;\r\n\t\t\r\n\t}", "public java.lang.String getErrorMessage(){\n return localErrorMessage;\n }", "java.lang.String getErrmsg();", "public String getErrorString()\n\t{\n\t\treturn errorString;\n\t}", "public static String getLastErrorMessage()\r\n\t{\n\t\treturn lastAlert;\r\n\t}", "String getMessage();", "String getMessage();", "String getMessage();", "private int getErrorId(final String message) {\n\t\tif (isLowerCase(message)) {\n\t\t\treturn ERROR_LOWER_CASE;\n\t\t} else if (isUnunsedMacro(message)) {\n\t\t\treturn ERROR_UNUSED_MACRO;\n\t\t} else if (isUnunsedVariable(message)) {\n\t\t\treturn ERROR_UNUSED_VARIABLE;\n\t\t} else if (isEndLineSpace(message) || isNoSpace(message)) {\n\t\t\treturn ERROR_NO_SPACE;\n\t\t} else if (isOneSpace(message)) {\n\t\t\treturn ERROR_ONE_SPACE;\n\t\t} else {\n\t\t\treturn ERROR_INVALID;\n\t\t}\n\t}", "public String getErrorString(String message) {\n \t\treturn getString(new StringBuffer(\"error.\").append(message).toString());\n \t}", "String getErrorMessage(E input);", "public String errorMessage()\n {\n return new String(errorMessageAsBytes());\n }", "String Message ();", "public String errorMessage() {\n return errorMessage;\n }", "void SemErr(String str);", "public String getErrorMessage()\n {\n return errorMessage;\n }", "ErrorCodes(int code){\n this.code = code;\n //this.message = message;\n }", "int getErrorCode();", "public String getErrorCode();", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n if (bs.isValidUtf8()) {\n errorMessage_ = s;\n }\n return s;\n }\n }", "void showError(@StringRes int errorMessage);", "void showError(String errorMessage);", "private static int getErrorLine(String errmsg){\n\t\treturn Integer.parseInt(errmsg.substring(0,errmsg.indexOf(\":\")).substring(errmsg.substring(0,errmsg.indexOf(\":\")).lastIndexOf(\" \")+1));\n\t}", "public String errorMessage()\n {\n return edma_errorMsg;\n }", "public String getErrorMessage() {\r\n return this.errorMessage;\r\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public String errorMessage() {\n return this.errorMessage;\n }", "public String getErrorMessage() {\n\t\treturn errorMessage;\n\t}", "public int getError() {\n return error;\n }", "public String getErrorMessage() {\n return this.errorMessage;\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n java.lang.String s = ((com.google.protobuf.ByteString) ref)\n .toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "void setErrorMessage(String errorMessage);", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "static int errorMsg(int eCode)\n {\n if (eCode == 0) return 0;\n String message = \"\";\n switch (eCode){\n case 1: message = \"Division by zero\"; break;\n case 2: message = \"Non-matching parenthesis in function\"; break;\n case 3: message = \"Must enclose negative exponents in parentheses\"; break;\n case 4: message = \"Incorrect Operator Syntax\"; break;\n case 5: message = \"Rightfunctions must use parenthesis. (example: ABS(-2);\"; break;\n case 6: message = \"Unrecognized token in function srtring.\"; break;\n case 8: message = \"Can not raise negative number to a fractional power.\"; break;\n case 10:message = \"Input a real number with no operators\"; break;\n }\n JOptionPane.showMessageDialog(null, message, \"Error \"+eCode, JOptionPane.ERROR_MESSAGE);\n return 0;\n }", "public String getError() {\n return errMsg;\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n }\n }", "public String getMsgError() {\r\n\t\treturn msgError;\r\n\t}", "public String getErrorMessage() {\n return errorMessage;\n }", "public String getErrorMessage() {\n return errorMessage;\n }", "public String getErrorMessage() {\n return errorMessage;\n }", "String getFailureMessage();", "public int error() {\n return this.error;\n }", "public String getParseErrorMessage();", "public String getErrorMessage() {\n return ERROR_MESSAGE;\n }", "public String getError() {\r\n if (scriptError == null) return \"\";\r\n return scriptError;\r\n }", "private String getGUIErrorMsg(long errorcode) {\n\t\tif (errorcode == 0) {\n\t\t\treturn \"This popup shouldn't have launched!\";\n\t\t} else if (errorcode == 9) {\n\t\t\treturn \"Latitude input format incorrect!\\nValid Latitude values are -90 to 90 with negative values being south Latitude.\";\n\t\t} else if (errorcode == 10) {\n\t\t\treturn \"Longitude input format incorrect!\\nValid Longitude values are -180 to 180 with negative values being west latitude.\";\n\t\t} else if (errorcode == 11) {\n\t\t\treturn \"Date input format incorrect!\\nValid dates go <year>-<month>-<day>\\nValid month values are 1- 12 and valid day values are 1 - 31.\";\n\t\t} else if (errorcode == 12) {\n\t\t\treturn \"Time input format incorrect!\\nValid times go <hour>-<minute>-<second>\\nValid hour values are 0 - 23 and valid minute and second values are 0 - 59\";\n\t\t} else if (errorcode == 1) {\n\t\t\treturn \"Invalid latitude!\\nValid Latitude values are -90 to 90 with negative values being south Latitude.\";\n\t\t} else if (errorcode == 2) {\n\t\t\treturn \"Invalid Longitude!\\nValid Longitude values are -180 to 180 with negative values being west latitude.\";\n\t\t} else if (errorcode == 3) {\n\t\t\treturn \"Invalid Year!\\nValid year values are \" + Integer.MIN_VALUE + \" - \" + Integer.MAX_VALUE + \".\";\n\t\t} else if (errorcode == 4) {\n\t\t\treturn \"Invalid Month!\\nValid month values are 1 - 12\";\n\t\t} else if (errorcode == 5) {\n\t\t\treturn \"Invalid Day!\\nValid day values are 1 - 31\";\n\t\t} else if (errorcode == 6) {\n\t\t\treturn \"Invalid Hour!\\nValid hour values are 0 - 23\";\n\t\t} else if (errorcode == 7) {\n\t\t\treturn \"Invalid Minute!\\nValid minute values are 0 - 59\";\n\t\t} else if (errorcode == 8) {\n\t\t\treturn \"Invalid Second!\\nValid second values are 0 - 59\";\n\t\t} \n\t\treturn \"Undefined Error Message!\";\n\t}", "public void setErrorMsg(String text) {\n this.errorMsg = text;\n }", "public int getErrorNo() {\n return this.errorNo;\n }", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();" ]
[ "0.7234827", "0.68487597", "0.68242407", "0.68242407", "0.66320926", "0.6613902", "0.6613902", "0.6613902", "0.65931696", "0.65931696", "0.65931696", "0.65931696", "0.65931696", "0.65931696", "0.65931696", "0.65931696", "0.65931696", "0.65931696", "0.65931696", "0.65931696", "0.6587221", "0.6458624", "0.642881", "0.6387629", "0.6339448", "0.63337046", "0.6318866", "0.6310054", "0.6266495", "0.6207546", "0.6169787", "0.6162002", "0.61556125", "0.61209476", "0.6114965", "0.61042917", "0.60988075", "0.60988075", "0.60988075", "0.60916275", "0.60737956", "0.6044167", "0.60035205", "0.59917176", "0.59845275", "0.59643966", "0.5963419", "0.59538627", "0.5917793", "0.58881736", "0.58858836", "0.5880861", "0.58786815", "0.5865479", "0.5863698", "0.5842632", "0.583974", "0.583974", "0.583974", "0.583974", "0.583974", "0.583974", "0.583974", "0.58391654", "0.58391654", "0.58391654", "0.5837601", "0.5828023", "0.58268774", "0.58249444", "0.5820853", "0.5818837", "0.5808825", "0.5808012", "0.5803665", "0.57976645", "0.5796016", "0.57934284", "0.57934284", "0.57934284", "0.5786855", "0.57868457", "0.5785435", "0.578205", "0.576942", "0.57514906", "0.57502955", "0.5743453", "0.57404053", "0.57404053", "0.57404053", "0.57404053", "0.57404053", "0.57404053", "0.57404053", "0.57404053", "0.57404053", "0.57404053", "0.57404053", "0.57404053", "0.57404053" ]
0.0
-1
string errorMessage = 2;
@java.lang.Override public com.google.protobuf.ByteString getErrorMessageBytes() { java.lang.Object ref = errorMessage_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); errorMessage_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "String errorMessage();", "private void error(String string) {\n\t\r\n}", "String getErrorMessage();", "String getErrorMessage();", "String getError(int i) {\n if (i >= 0 & i < msgs.length)\n return msgs[i];\n else\n return \"Invalid Error Code\";\n }", "java.lang.String getError();", "java.lang.String getError();", "java.lang.String getError();", "java.lang.String getErrorMessage();", "java.lang.String getErrorMessage();", "java.lang.String getErrorMessage();", "java.lang.String getErrorMessage();", "java.lang.String getErrorMessage();", "java.lang.String getErrorMessage();", "java.lang.String getErrorMessage();", "java.lang.String getErrorMessage();", "java.lang.String getErrorMessage();", "java.lang.String getErrorMessage();", "java.lang.String getErrorMessage();", "java.lang.String getErrorMessage();", "void showErrorMsg(String string);", "String getGetErrorMessage();", "java.lang.String getErr();", "public String getErrorString()\r\n\t{\r\n\t\t\r\n\t\treturn ERROR_STRING;\r\n\t}", "public void error(String string) {\n\t\t\n\t}", "String getInvalidMessage();", "private static String getMessage(int code) {\n switch (code) {\n case ME_DIV_BY_ZERO:\n return \"Attempt to divide by zero.\";\n case ME_ASSIGNLITERAL:\n return \"Attempt to assign to a literal.\";\n case ME_NONVARASSIGN:\n return \"Attempt to assign to a non-variable.\";\n default:\n return \"Unknown error.\";\n }\n }", "String getErrorsString();", "public String error();", "public String getError() {\n\treturn mistake;\n }", "private String getErrorString() {\n\t\treturn \"GUID:ERROR:\" + mErrors[0][0]\n\t\t + \":\" + mErrors[1][0]\n\t\t + \":\" + mErrors[2][0]\n\t\t + \":\" + mErrors[3][0];\n\t}", "public String getErrorMessage() \r\n\t{\r\n\t\t\r\n\t\treturn errorMessage;\r\n\t\t\r\n\t}", "public java.lang.String getErrorMessage(){\n return localErrorMessage;\n }", "java.lang.String getErrmsg();", "public String getErrorString()\n\t{\n\t\treturn errorString;\n\t}", "public static String getLastErrorMessage()\r\n\t{\n\t\treturn lastAlert;\r\n\t}", "String getMessage();", "String getMessage();", "String getMessage();", "private int getErrorId(final String message) {\n\t\tif (isLowerCase(message)) {\n\t\t\treturn ERROR_LOWER_CASE;\n\t\t} else if (isUnunsedMacro(message)) {\n\t\t\treturn ERROR_UNUSED_MACRO;\n\t\t} else if (isUnunsedVariable(message)) {\n\t\t\treturn ERROR_UNUSED_VARIABLE;\n\t\t} else if (isEndLineSpace(message) || isNoSpace(message)) {\n\t\t\treturn ERROR_NO_SPACE;\n\t\t} else if (isOneSpace(message)) {\n\t\t\treturn ERROR_ONE_SPACE;\n\t\t} else {\n\t\t\treturn ERROR_INVALID;\n\t\t}\n\t}", "public String getErrorString(String message) {\n \t\treturn getString(new StringBuffer(\"error.\").append(message).toString());\n \t}", "String getErrorMessage(E input);", "public String errorMessage()\n {\n return new String(errorMessageAsBytes());\n }", "String Message ();", "public String errorMessage() {\n return errorMessage;\n }", "void SemErr(String str);", "public String getErrorMessage()\n {\n return errorMessage;\n }", "ErrorCodes(int code){\n this.code = code;\n //this.message = message;\n }", "int getErrorCode();", "public String getErrorCode();", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n if (bs.isValidUtf8()) {\n errorMessage_ = s;\n }\n return s;\n }\n }", "void showError(@StringRes int errorMessage);", "void showError(String errorMessage);", "private static int getErrorLine(String errmsg){\n\t\treturn Integer.parseInt(errmsg.substring(0,errmsg.indexOf(\":\")).substring(errmsg.substring(0,errmsg.indexOf(\":\")).lastIndexOf(\" \")+1));\n\t}", "public String errorMessage()\n {\n return edma_errorMsg;\n }", "public String getErrorMessage() {\r\n return this.errorMessage;\r\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public String errorMessage() {\n return this.errorMessage;\n }", "public String getErrorMessage() {\n\t\treturn errorMessage;\n\t}", "public int getError() {\n return error;\n }", "public String getErrorMessage() {\n return this.errorMessage;\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n java.lang.String s = ((com.google.protobuf.ByteString) ref)\n .toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "void setErrorMessage(String errorMessage);", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "static int errorMsg(int eCode)\n {\n if (eCode == 0) return 0;\n String message = \"\";\n switch (eCode){\n case 1: message = \"Division by zero\"; break;\n case 2: message = \"Non-matching parenthesis in function\"; break;\n case 3: message = \"Must enclose negative exponents in parentheses\"; break;\n case 4: message = \"Incorrect Operator Syntax\"; break;\n case 5: message = \"Rightfunctions must use parenthesis. (example: ABS(-2);\"; break;\n case 6: message = \"Unrecognized token in function srtring.\"; break;\n case 8: message = \"Can not raise negative number to a fractional power.\"; break;\n case 10:message = \"Input a real number with no operators\"; break;\n }\n JOptionPane.showMessageDialog(null, message, \"Error \"+eCode, JOptionPane.ERROR_MESSAGE);\n return 0;\n }", "public String getError() {\n return errMsg;\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n }\n }", "public String getMsgError() {\r\n\t\treturn msgError;\r\n\t}", "public String getErrorMessage() {\n return errorMessage;\n }", "public String getErrorMessage() {\n return errorMessage;\n }", "public String getErrorMessage() {\n return errorMessage;\n }", "String getFailureMessage();", "public int error() {\n return this.error;\n }", "public String getParseErrorMessage();", "public String getErrorMessage() {\n return ERROR_MESSAGE;\n }", "public String getError() {\r\n if (scriptError == null) return \"\";\r\n return scriptError;\r\n }", "private String getGUIErrorMsg(long errorcode) {\n\t\tif (errorcode == 0) {\n\t\t\treturn \"This popup shouldn't have launched!\";\n\t\t} else if (errorcode == 9) {\n\t\t\treturn \"Latitude input format incorrect!\\nValid Latitude values are -90 to 90 with negative values being south Latitude.\";\n\t\t} else if (errorcode == 10) {\n\t\t\treturn \"Longitude input format incorrect!\\nValid Longitude values are -180 to 180 with negative values being west latitude.\";\n\t\t} else if (errorcode == 11) {\n\t\t\treturn \"Date input format incorrect!\\nValid dates go <year>-<month>-<day>\\nValid month values are 1- 12 and valid day values are 1 - 31.\";\n\t\t} else if (errorcode == 12) {\n\t\t\treturn \"Time input format incorrect!\\nValid times go <hour>-<minute>-<second>\\nValid hour values are 0 - 23 and valid minute and second values are 0 - 59\";\n\t\t} else if (errorcode == 1) {\n\t\t\treturn \"Invalid latitude!\\nValid Latitude values are -90 to 90 with negative values being south Latitude.\";\n\t\t} else if (errorcode == 2) {\n\t\t\treturn \"Invalid Longitude!\\nValid Longitude values are -180 to 180 with negative values being west latitude.\";\n\t\t} else if (errorcode == 3) {\n\t\t\treturn \"Invalid Year!\\nValid year values are \" + Integer.MIN_VALUE + \" - \" + Integer.MAX_VALUE + \".\";\n\t\t} else if (errorcode == 4) {\n\t\t\treturn \"Invalid Month!\\nValid month values are 1 - 12\";\n\t\t} else if (errorcode == 5) {\n\t\t\treturn \"Invalid Day!\\nValid day values are 1 - 31\";\n\t\t} else if (errorcode == 6) {\n\t\t\treturn \"Invalid Hour!\\nValid hour values are 0 - 23\";\n\t\t} else if (errorcode == 7) {\n\t\t\treturn \"Invalid Minute!\\nValid minute values are 0 - 59\";\n\t\t} else if (errorcode == 8) {\n\t\t\treturn \"Invalid Second!\\nValid second values are 0 - 59\";\n\t\t} \n\t\treturn \"Undefined Error Message!\";\n\t}", "public void setErrorMsg(String text) {\n this.errorMsg = text;\n }", "public int getErrorNo() {\n return this.errorNo;\n }", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();" ]
[ "0.7234827", "0.68487597", "0.68242407", "0.68242407", "0.66320926", "0.6613902", "0.6613902", "0.6613902", "0.65931696", "0.65931696", "0.65931696", "0.65931696", "0.65931696", "0.65931696", "0.65931696", "0.65931696", "0.65931696", "0.65931696", "0.65931696", "0.65931696", "0.6587221", "0.6458624", "0.642881", "0.6387629", "0.6339448", "0.63337046", "0.6318866", "0.6310054", "0.6266495", "0.6207546", "0.6169787", "0.6162002", "0.61556125", "0.61209476", "0.6114965", "0.61042917", "0.60988075", "0.60988075", "0.60988075", "0.60916275", "0.60737956", "0.6044167", "0.60035205", "0.59917176", "0.59845275", "0.59643966", "0.5963419", "0.59538627", "0.5917793", "0.58881736", "0.58858836", "0.5880861", "0.58786815", "0.5865479", "0.5863698", "0.5842632", "0.583974", "0.583974", "0.583974", "0.583974", "0.583974", "0.583974", "0.583974", "0.58391654", "0.58391654", "0.58391654", "0.5837601", "0.5828023", "0.58268774", "0.58249444", "0.5820853", "0.5818837", "0.5808825", "0.5808012", "0.5803665", "0.57976645", "0.5796016", "0.57934284", "0.57934284", "0.57934284", "0.5786855", "0.57868457", "0.5785435", "0.578205", "0.576942", "0.57514906", "0.57502955", "0.5743453", "0.57404053", "0.57404053", "0.57404053", "0.57404053", "0.57404053", "0.57404053", "0.57404053", "0.57404053", "0.57404053", "0.57404053", "0.57404053", "0.57404053", "0.57404053" ]
0.0
-1
repeated .NodeSearchResult results = 3;
@java.lang.Override public java.util.List<entities.Torrent.NodeSearchResult> getResultsList() { return results_; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "entities.Torrent.NodeSearchResult getResults(int index);", "SearchResult findNext(SearchResult result);", "entities.Torrent.NodeSearchResultOrBuilder getResultsOrBuilder(\n int index);", "java.util.List<entities.Torrent.NodeSearchResult>\n getResultsList();", "java.util.List<? extends entities.Torrent.NodeSearchResultOrBuilder>\n getResultsOrBuilderList();", "XResultSet() {\n this.nodeRefs = new LinkedList<>();\n this.numberFound = 0;\n }", "void setNumberOfResults(int numberOfResults);", "public Builder addAllResults(\n java.lang.Iterable<? extends entities.Torrent.NodeSearchResult> values) {\n if (resultsBuilder_ == null) {\n ensureResultsIsMutable();\n com.google.protobuf.AbstractMessageLite.Builder.addAll(\n values, results_);\n onChanged();\n } else {\n resultsBuilder_.addAllMessages(values);\n }\n return this;\n }", "@java.lang.Override\n public entities.Torrent.NodeSearchResultOrBuilder getResultsOrBuilder(\n int index) {\n return results_.get(index);\n }", "public GameList getSearchResult(){ return m_NewSearchResult;}", "int getNumberOfResults();", "public entities.Torrent.NodeSearchResultOrBuilder getResultsOrBuilder(\n int index) {\n if (resultsBuilder_ == null) {\n return results_.get(index); } else {\n return resultsBuilder_.getMessageOrBuilder(index);\n }\n }", "public entities.Torrent.NodeSearchResult.Builder addResultsBuilder() {\n return getResultsFieldBuilder().addBuilder(\n entities.Torrent.NodeSearchResult.getDefaultInstance());\n }", "private<T> void addManyResults(T... results)\n {\n int i =0;\n for(T result : results)\n {\n this.add(\"morgen-main-result\"+i, new LazyDynamicPrimitive<>(result));\n i++;\n }\n\n results = null; // Prevents Heap pollution\n }", "@Test\n public void testCombineRankHighPageRankWeight() {\n Iterator<Pair<Document, Double>> resultIterator = icsSearchEngine.searchQuery(Arrays.asList(\"anteater\"),\n 10, 1000000000.0);\n ImmutableList<Pair<Document, Double>> resultList = ImmutableList.copyOf(resultIterator);\n Assert.assertEquals(10, resultList.size());\n Assert.assertTrue(resultList.stream().limit(3).map(p -> p.getLeft())\n .anyMatch(doc -> doc.getText().contains(\"wics.ics.uci.edu\")));\n }", "public void setResults(ArrayList<Integer> results){\n this.results = results;\n }", "int getResultsCount();", "int getResultsCount();", "public int countResults() \n {\n return itsResults_size;\n }", "SearchResult findNext(SearchOptions searchOptions);", "public Builder addResults(entities.Torrent.NodeSearchResult value) {\n if (resultsBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureResultsIsMutable();\n results_.add(value);\n onChanged();\n } else {\n resultsBuilder_.addMessage(value);\n }\n return this;\n }", "private NodeSearchResult(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "@java.lang.Override\n public entities.Torrent.NodeSearchResult getResults(int index) {\n return results_.get(index);\n }", "void xsetNumberOfResults(org.apache.xmlbeans.XmlInt numberOfResults);", "public ClsNodeDocument[] GetDocuments (ClsNodeDocument[] searchDocs);", "private void numberResults ()\r\n {\r\n int partIndex = 0;\r\n\r\n for (Result result : connection.getResultMap().keySet()) {\r\n ScorePart scorePart = (ScorePart) result.getUnderlyingObject();\r\n scorePart.setId(++partIndex);\r\n }\r\n }", "public IScapSyncSearchResult[] getResults();", "public java.util.List<? extends entities.Torrent.NodeSearchResultOrBuilder>\n getResultsOrBuilderList() {\n if (resultsBuilder_ != null) {\n return resultsBuilder_.getMessageOrBuilderList();\n } else {\n return java.util.Collections.unmodifiableList(results_);\n }\n }", "@java.lang.Override\n public java.util.List<? extends entities.Torrent.NodeSearchResultOrBuilder>\n getResultsOrBuilderList() {\n return results_;\n }", "public int my_node_count();", "boolean getMoreResults();", "public entities.Torrent.NodeSearchResult.Builder addResultsBuilder(\n int index) {\n return getResultsFieldBuilder().addBuilder(\n index, entities.Torrent.NodeSearchResult.getDefaultInstance());\n }", "@Override\n\tprotected void parseResult() {\n\t\t\n\t}", "private void fetchNextBlock() {\n try {\n \tSearchClient _client = new SearchClient(\"cubansea-instance\");\n \tWebSearchResults _results = _client.webSearch(createNextRequest());\n \t\tfor(WebSearchResult _result: _results.listResults()) {\n \t\t\tresults.add(new YahooSearchResult(_result, cacheStatus+1));\n \t\t\tcacheStatus++;\n \t\t}\n \t\tif(resultCount == -1) resultCount = _results.getTotalResultsAvailable().intValue();\n } catch (IOException e) {\n\t\t\tthrow new TechnicalError(e);\n\t\t} catch (SearchException e) {\n\t\t\tthrow new TechnicalError(e);\n\t\t}\n\t}", "public void addAll(XResultSet r) {\n this.getNodeRefs().addAll(r.getNodeRefs());\n this.numberFound += r.numberFound;\n }", "@Test\n public void test002() {\n int total = response.extract().path(\"total\");\n\n\n System.out.println(\"------------------StartingTest---------------------------\");\n System.out.println(\"The search query is: \" + total);\n System.out.println(\"------------------End of Test---------------------------\");\n\n }", "public void setNumResults(int numResults) {\n mNumResults = numResults;\n }", "public ResultMap<BaseNode> findNodes(ObjectNode query, String searchTerm, ObjectNode traverse);", "public Builder setResults(\n int index, entities.Torrent.NodeSearchResult value) {\n if (resultsBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureResultsIsMutable();\n results_.set(index, value);\n onChanged();\n } else {\n resultsBuilder_.setMessage(index, value);\n }\n return this;\n }", "public ResultMap<BaseNode> findNodes(ObjectNode query, String searchTerm, ObjectNode traverse, Pagination pagination);", "public void rankMatches();", "public int numMatches();", "public void setMatches() {\r\n this.matches++;\r\n\r\n }", "public java.util.List<entities.Torrent.NodeSearchResult> getResultsList() {\n if (resultsBuilder_ == null) {\n return java.util.Collections.unmodifiableList(results_);\n } else {\n return resultsBuilder_.getMessageList();\n }\n }", "public Result getResults()\r\n {\r\n return result;\r\n }", "int countByExample(CrawlExample example);", "private int getHitsAndArticlesByURL(Category node, String url)\r\n\t{\r\n\t\tDocumentBuilderFactory domfac = DocumentBuilderFactory.newInstance();\r\n\t\tint NumRes = 0;\r\n\t\tString totalHits;\r\n\t\ttry{\r\n\t\t\tURL queryurl = new URL(url);\r\n\t\t\tURLConnection connection = queryurl.openConnection();\r\n\t\t\tconnection.setDoInput(true);\r\n\t\t\tInputStream inStream = connection.getInputStream();\r\n\t\t\tDocumentBuilder dombuilder = domfac.newDocumentBuilder();\r\n\t\t\tDocument doc = dombuilder.parse(inStream);\r\n\t\t\tElement root = doc.getDocumentElement();\r\n\t\t\tNodeList resultset_web = root.getElementsByTagName(\"resultset_web\");\r\n\t\t\tNode resultset = resultset_web.item(0);\r\n\t\t\t\r\n\t\t\ttotalHits = resultset.getAttributes().getNamedItem(\"totalhits\").getNodeValue();\r\n\t\t\tNumRes = Integer.parseInt(totalHits);\r\n\t\t\t\r\n\t\t\tint count = 0;\r\n\t\t\tNodeList results = resultset.getChildNodes(); \r\n\t\t\tif(results != null)\r\n\t\t\t{\t\t\t\r\n\t\t\t\tfor(int i = 0 ; i < results.getLength(); i++){\r\n\t\t\t\t\tNode result = results.item(i);\t\t\t\t\t\t\t\t\r\n\t\t\t\t\tArticle newArticle = new Article();\r\n\t\t\t\t\t\r\n\t\t\t\t\tif(result.getNodeType()==Node.ELEMENT_NODE){\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\tfor(Node node1 = result.getFirstChild(); node1 != null; node1 = node1.getNextSibling()){\r\n\t\t\t\t\t\t\tif(node1.getNodeType()==Node.ELEMENT_NODE){\t\t\t\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\tif(node1.getNodeName().equals(\"url\") && node1.getFirstChild() != null && count < 4){\r\n\t\t\t\t\t\t\t\t\tcount++;\r\n\t\t\t\t\t\t\t\t\tString pageUrl = node1.getFirstChild().getNodeValue();\r\n\t\t\t\t\t\t\t\t\tArticle article = new Article();\r\n\t\t\t\t\t\t\t\t\tarticle.URL = pageUrl;\r\n\t\t\t\t\t\t\t\t\tarticle.words = getWordsLynx.runLynx(pageUrl);\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\tnode.articles.add(article);\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\t\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\t\r\n\t\t}catch(ParserConfigurationException e){\r\n\t\t\te.printStackTrace();\r\n\t\t\treturn -1;\r\n\t\t}catch(SAXException e){\r\n\t\t\te.printStackTrace();\r\n\t\t\treturn -1;\r\n\t\t}catch(IOException e){\r\n\t\t\te.printStackTrace();\r\n\t\t\treturn -1;\r\n\t\t}\r\n\r\n\t\treturn NumRes;\r\n\t}", "public int numberOfOccorrence();", "@Test\n\tvoid getResultsTest() {\n\t\tassertEquals(22, utilities.getResults(-21));\n\t\tassertEquals(20, utilities.getResults(-20));\n\t\tassertEquals(40, utilities.getResults(-19));\n\t\tassertEquals(38, utilities.getResults(-18));\n\t\tassertEquals(22, utilities.getResults(21));\n\t\tassertEquals(20, utilities.getResults(20));\n\t\tassertEquals(22, utilities.getResults(2));\n\t\tassertEquals(22, utilities.getResults(1));\n\t}", "@Test\n public void testFindNMatches() {\n List<Path> files = new ArrayList<>();\n files.add(new File(String.join(File.separator, \"src\", \"test\", \"resources\"),\n \"logviewer-search-context-tests.log.test\").toPath());\n files.add(new File(String.join(File.separator, \"src\", \"test\", \"resources\"),\n \"logviewer-search-context-tests.log.gz\").toPath());\n\n final LogviewerLogSearchHandler handler = getSearchHandler();\n\n final List<Map<String, Object>> matches1 = handler.findNMatches(files, 20, 0, 0, \"needle\").getMatches();\n final List<Map<String, Object>> matches2 = handler.findNMatches(files, 20, 0, 126, \"needle\").getMatches();\n final List<Map<String, Object>> matches3 = handler.findNMatches(files, 20, 1, 0, \"needle\").getMatches();\n\n assertEquals(2, matches1.size());\n assertEquals(4, ((List) matches1.get(0).get(\"matches\")).size());\n assertEquals(4, ((List) matches1.get(1).get(\"matches\")).size());\n assertEquals(String.join(File.separator, \"test\", \"resources\", \"logviewer-search-context-tests.log.test\"), matches1.get(0).get(\"fileName\"));\n assertEquals(String.join(File.separator, \"test\", \"resources\", \"logviewer-search-context-tests.log.gz\"), matches1.get(1).get(\"fileName\"));\n\n assertEquals(2, ((List) matches2.get(0).get(\"matches\")).size());\n assertEquals(4, ((List) matches2.get(1).get(\"matches\")).size());\n\n assertEquals(1, matches3.size());\n assertEquals(4, ((List) matches3.get(0).get(\"matches\")).size());\n }", "void remoteSearch(String groupId, String type, String attr, \n String value, int threshold, String serviceHandler, \n DiscoveryListener listener)\n \tthrows IOException\n {\n Query query = new Query(groupId, type, attr, value, \n serviceHandler,listener);\n \n queries.put(listener, query);\n \n\t //if resource not found in local cache\n\t String requestId = getNextRequestId();\n\t \n\t int urisize =0;\n\t EndpointAddress[] myURIs = peer.getURIList();\n\t \n\t if (myURIs != null)\n\t urisize = myURIs.length;\n\t \n\t Element[] elm = new Element[9 + urisize];\n\t //Element[] elm = new Element[9];\n\t \n\t\n\t elm[0] = new Element(Message.MESSAGE_TYPE_TAG, Message.REQUEST_SEARCH,\n\t Message.JXTA_NAME_SPACE);\n\t elm[1] = new Element(Message.TYPE_TAG, type, \n\t Message.JXTA_NAME_SPACE);\n\t elm[2] = new Element(Message.ATTRIBUTE_TAG, attr, \n\t Message.JXTA_NAME_SPACE);\n\t elm[3] = new Element(Message.VALUE_TAG, value, \n\t Message.JXTA_NAME_SPACE);\n\t elm[4] = new Element(Message.THRESHOLD_TAG, Integer.toString(threshold), \n\t Message.JXTA_NAME_SPACE);\n\t elm[5] = new Element(Message.REQUESTID_TAG, requestId, \n\t Message.JXTA_NAME_SPACE);\n\t elm[6] = new Element(Message.ID_TAG, peer.getID().toString(), \n\t Message.JXTA_NAME_SPACE);\n\t elm[7] = new Element(Message.GROUP_ID_TAG, groupId, \n\t Message.JXTA_NAME_SPACE);\n\t elm[8] = new Element(Message.HOPCOUNT_TAG, Integer.toString(DEFAULT_HOP_COUNT), \n\t Message.JXTA_NAME_SPACE);\n\t\n\t if (urisize > 0)\n\t {\n\t\t for (int i = 0; i < myURIs.length; i++)\n\t\t {\n\t\t EndpointAddress uri = myURIs[i];\n\t\t uri = new EndpointAddress(uri, serviceName, serviceHandler);\n\t\t elm[9 + i] = new Element(NamedResource.URITAG + String.valueOf(i), uri.toString().getBytes(),\n\t\t Message.JXTA_NAME_SPACE, null);\n\t\t }\n\t }\n\t \n\t send(elm, serviceHandler);\n }", "public void setResults(ArrayOfFindResult results) {\n this.results = results;\n }", "@Test\n public void testCombinePageRankTfIdf() {\n\n Iterator<Pair<Document, Double>> resultIterator = icsSearchEngine.searchQuery(\n Arrays.asList(\"ISG\", \"Bren\", \"School\", \"UCI\"),\n 100, 100.0);\n ImmutableList<Pair<Document, Double>> resultList = ImmutableList.copyOf(resultIterator);\n\n // first result should be \"isg.ics.uci.edu\"\n Assert.assertEquals(\"isg.ics.uci.edu\", getDocumentUrl(resultList.get(0).getLeft().getText()));\n\n // top 10 should have URLs starting \"hobbes.ics.uci.edu\"\n Assert.assertTrue(resultList.stream().limit(10).map(p -> getDocumentUrl(p.getLeft().getText()))\n .anyMatch(p -> p.contains(\"hobbes.ics.uci.edu\")));\n\n // top 50 should have URL \"ipubmed2.ics.uci.edu\"\n Assert.assertTrue(resultList.stream().limit(50).map(p -> getDocumentUrl(p.getLeft().getText()))\n .anyMatch(p -> p.equals(\"ipubmed2.ics.uci.edu\")));\n\n }", "public void addMatch() {\n totalMatches ++;\n }", "int countByExample(CrawlTestExample example);", "int getNodeCount();", "int getNodeCount();", "public int getWrapperHits();", "entities.Torrent.SearchResponse getSearchResponse();", "public Builder addResults(\n int index, entities.Torrent.NodeSearchResult value) {\n if (resultsBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureResultsIsMutable();\n results_.add(index, value);\n onChanged();\n } else {\n resultsBuilder_.addMessage(index, value);\n }\n return this;\n }", "public SearchResults() {\n\t\tPageFactory.initElements(driver, this);\n\t}", "public entities.Torrent.NodeSearchResult getResults(int index) {\n if (resultsBuilder_ == null) {\n return results_.get(index);\n } else {\n return resultsBuilder_.getMessage(index);\n }\n }", "List<SearchResult> search(SearchQuery searchQuery);", "@Test\n public void test19(){\n // List<Integer> services = response.extract().path(\"data.findAll{it.services=='Samsung Experience'}.storeservices\");\n //List<HashMap<String, ?>> address = response.extract().path(\"data.findAll{it.service=='Samsung Experience'}.storeservices\");\n System.out.println(\"------------------StartingTest---------------------------\");\n System.out.println(\"The name of all services:\" );\n System.out.println(\"------------------End of Test---------------------------\");\n }", "@java.lang.Override\n public int getResultsCount() {\n return results_.size();\n }", "protected List<SearchResultElement> getResultElementsFromNodes(\n IProgressMonitor monitor, INodePO[] reuse) {\n final List<SearchResultElement> reuseLoc =\n new ArrayList<SearchResultElement>(reuse.length);\n\n for (INodePO node : reuse) {\n INodePO parent = node.getSpecAncestor();\n if (parent == null) {\n parent = node.getParentNode();\n }\n if (parent != null) {\n Long id = node.getId();\n String nodeName = GeneralLabelProvider.getTextImpl(node);\n reuseLoc.add(new SearchResultElement<Long>(NLS.bind(\n Messages.SearchResultPageElementLabel, new Object[] {\n parent.getName(), nodeName }), id,\n GeneralLabelProvider.getImageImpl(node),\n new NodeSearchResultElementAction(), node\n .getComment()));\n }\n monitor.worked(1);\n }\n return reuseLoc;\n }", "org.apache.xmlbeans.XmlInt xgetNumberOfResults();", "public int getNumResults() {\r\n\t\treturn this.numResults;\r\n\t}", "void loadResults(ArrayList<Comic> results, int totalItems);", "int nodeCount();", "@Override\r\n\tpublic void iterateCount() {\n\t\t\r\n\t}", "public void getNodesThatCall(PassedParameter pp, Set result) {\n if (USE_PARAMETER_MAP) {\n Set s = (Set)passedParamToNodes.get(pp);\n if (s == null) return;\n result.addAll(s);\n return;\n }\n for (Iterator i = this.nodeIterator(); i.hasNext(); ) {\n Node n = (Node)i.next();\n if ((n.passedParameters != null) && n.passedParameters.contains(pp))\n result.add(n);\n }\n }", "int getMatchedElements();", "private static Elements getResultsFromAppPage(Document doc) {\n Elements results = null;\n try {\n results = doc.getElementsByClass(\"attribute-container\");\n }\n catch (NullPointerException e){\n logger.info(\"no applications tab for current item\");\n return results;\n }\n logger.debug(\"total results \" + results.size());\n\n return results;\n }", "Map<String, Integer> getSearchResults(String searchTerm) {\n\n Map<String, Integer> libCount = new ConcurrentHashMap<>();\n\n try {\n Document document = Jsoup.connect(google + URLEncoder.encode(searchTerm, charset))\n .userAgent(userAgent)\n .referrer(\"http://www.google.com\")\n .get();\n\n Elements links = document.select(\"a[href]\");\n Set<String> urls = new HashSet<>();\n for (Element link: links) {\n if (link.attr(\"href\") != null && link.attr(\"href\").contains(\"=\")) {\n String url = link.attr(\"href\").split(\"=\")[1];\n if (url.contains(\"http\")) {\n urls.add(getDomainName(url));\n }\n }\n }\n\n CountDownLatch latch = new CountDownLatch(urls.size());\n\n for (String url: urls) {\n AnalysePage analysePage = new AnalysePage(url);\n completionService.submit(analysePage);\n }\n\n int completed = 0;\n\n while(completed < urls.size()) {\n try {\n Future<Set<String>> resultFuture = completionService.take();\n Set<String> strings = resultFuture.get();\n for (String lib : strings) {\n Integer count = libCount.get(lib);\n if (count == null) {\n libCount.put(lib, 1);\n } else {\n libCount.put(lib, ++count);\n }\n }\n completed++;\n latch.countDown();\n } catch (InterruptedException | ExecutionException e) {\n e.printStackTrace();\n }\n }\n try {\n latch.await();\n } catch (InterruptedException e) {\n e.printStackTrace();\n }\n\n } catch (MalformedURLException e) {\n System.out.println(\"The URL is Malformed\");\n } catch (UnsupportedEncodingException e) {\n System.out.println(\"Incorrect URL encoding\");\n } catch (IOException e) {\n System.out.println(\"Unable to read from google\");\n e.printStackTrace();\n }\n executor.shutdown();\n return libCount;\n }", "int countByExample(CfgSearchRecommendExample example);", "public static List<String> get_RankedResults(List<Doc_accum> results) {\n List<String> filenames = new ArrayList();\n\n if (results.isEmpty()) {\n GUI.JListModel.clear();\n GUI.ResultsLabel.setText(\"\");\n clickList = false;\n\n String notFound = \"Your search '\" + query + \"' is not found in any documents\";\n GUI.ResultsLabel.setText(notFound);\n\n } else {\n clickList = false;\n\n //clears list and repopulates it \n String docInfo;\n\n GUI.JListModel.clear();\n GUI.ResultsLabel.setText(\"\");\n\n for (Doc_accum p : results) {\n if (queryMode) {\n corpus.getDocument(p.getPosting().getDocumentId()).getContent();\n }\n //docInfo = corpus.getDocument(p.getPosting().getDocumentId()).getTitle();\n docInfo = corpus.getDocument(p.getPosting().getDocumentId()).getFileName().toString();\n filenames.add(docInfo);\n\n }\n }\n\n GUI.SearchBarTextField.selectAll();\n\n return filenames;\n }", "@Test\n public void resultNumberTest() throws InterruptedException, ParseException {\n HomePageNavigation.gotoHomePage();\n Thread.sleep(2000);\n SearchNavigation.gotoSearchResultsPage(index,\"\");\n assertTrue(\"Message does not exist\", CommonUtils.extractTotalResults() >= 1);\n }", "OResultSet fetchNext(int n);", "public static void test1(){\n\t\tlong[] testCase=new long[]{2034912444,1511277043};\r\n\t\tList<String> rs=SearchWrapper.search( testCase[0], testCase[testCase.length-1]);\r\n\t\t\r\n\t}", "public void testSearchByContent() {\n Message m1 = new Message(\"test\",\"bla bla david moshe\",_u1);\n Message.incId();\n try {\n Thread.sleep(10);\n } catch (InterruptedException ex) {\n ex.printStackTrace();\n }\n Message m2 = new Message(\"test2\",\"bla2 bla david tikva moshe\",_u1);\n Message.incId();\n Message m3 = new Message(\"test2\",\"moshe cohen\",_u1);\n Message.incId();\n\n this.allMsgs.put(m1.getMsg_id(), m1);\n this.allMsgs.put(m2.getMsg_id(), m2);\n this.allMsgs.put(m3.getMsg_id(), m3);\n\n this.searchEngine.addData(m1);\n this.searchEngine.addData(m2);\n this.searchEngine.addData(m3);\n\n /* SearchHit[] result = this.searchEngine.searchByContent(\"bla2\", 0,1);\n assertTrue(result.length==1);\n assertTrue(result[0].getMessage().equals(m2));\n\n SearchHit[] result2 = this.searchEngine.searchByContent(\"bla david tikva\", 0,2);\n assertTrue(result2.length==1);\n assertEquals(result2[0].getScore(),3.0);\n //assertEquals(result2[1].getScore(),2.0);\n assertTrue(result2[0].getMessage().equals(m2));\n //assertTrue(result2[1].getMessage().equals(m1));\n\n SearchHit[] result3 = this.searchEngine.searchByContent(\"bla2 tikva\", 0, 5);\n assertTrue(result3.length==0);\n */\n\n/*\n SearchHit[] result4 = this.searchEngine.searchByContent(\"bla OR tikva\", 0, 5);\n assertTrue(result4.length==2);\n assertTrue(result4[0].getMessage().equals(m2));\n assertTrue(result4[1].getMessage().equals(m1));\n\n SearchHit[] result5 = this.searchEngine.searchByContent(\"bla AND cohen\", 0, 5);\n assertTrue(result5.length==0);\n\n result5 = this.searchEngine.searchByContent(\"bla AND moshe\",0,5);\n assertTrue(result5.length==2);\n assertTrue(result5[0].getScore() == result5[1].getScore());\n assertTrue(result5[0].getMessage().equals(m2));\n assertTrue(result5[1].getMessage().equals(m1));\n\n result5 = this.searchEngine.searchByContent(\"bla AND moshe\", 10, 11);\n assertTrue(result5.length==0);\n */\n\n }", "public Results() {\n\t\t\t// TODO Auto-generated constructor stub\n\t\t}", "Object getNumberMatched();", "entities.Torrent.LocalSearchResponse getLocalSearchResponse();", "public void setResults(ArrayList results) {\n this.results = results;\n }", "public abstract void fetchNodes(NodeCallback callback);", "public void search() {\r\n \t\r\n }", "private void searchFunction() {\n\t\t\r\n\t}", "Match getMatches();", "public boolean execute(int i) {\n result.add(nodeMap.get(i));\n return true; // return true here to continue receiving results\n }", "void setSearchResults(LazyDataModel<ReagentResult> searchResults);", "@Test\n public void testMultiSearch_withoutParens() {\n List<String> fields = new ArrayList<>();\n fields.add(\"sn\");\n fields.add(\"mail\");\n\n BridgeRequest request = new BridgeRequest();\n request.setStructure(\"user\");\n request.setFields(fields);\n request.setQuery(\"memberOf=cn=VPN Users,cn=Users,dc=kineticdata,dc=com\");\n\n BridgeError expectedError = null;\n try {\n getAdapter().search(request);\n } catch (BridgeError e) {\n expectedError = e;\n }\n\n assertNotNull(expectedError);\n }", "public entities.Torrent.NodeSearchResult.Builder getResultsBuilder(\n int index) {\n return getResultsFieldBuilder().getBuilder(index);\n }", "LazyDataModel<ReagentResult> getSearchResults();", "public Long getElementCount();", "public List<NodeInfo> getStoredNodes() {\n List<NodeInfo> nodes = new ArrayList<>();\n\n SearchResponse response = client.prepareSearch(\"k8s_*\").setTypes(\"node\").setSize(10000).get();\n\n SearchHit[] hits = response.getHits().getHits();\n log.info(String.format(\"The length of node search hits is [%d]\", hits.length));\n\n ObjectMapper mapper = new ObjectMapper();\n try {\n for (SearchHit hit : hits) {\n// log.info(hit.getSourceAsString());\n NodeInfo node = mapper.readValue(hit.getSourceAsString(), NodeInfo.class);\n nodes.add(node);\n }\n } catch (Exception e) {\n e.printStackTrace();\n }\n return nodes;\n }", "public void search() {\n }", "public void onSearchResults(String term, List<WikiPage> results);", "List<T> getResults();", "@Test\n public void getResultTest() throws IOException {\n System.setProperty(\"REPO_HG_19_PATH\", REPO_PATH_RANGES);\n System.setProperty(\"REPO_HG_38_PATH\", REPO_PATH_RANGES);\n System.setProperty(\"MAX_RANGE_RECORDS_IN_RESULT\", \"10\");\n\n // test common valid flow\n Response response = new Main().getResult19(\"X:77633124\");\n Assert.assertEquals(OK.getStatusCode(), response.getStatus());\n System.out.println(response.getEntity());\n Assert.assertNotNull(response.getEntity());\n JsonNode result = ((ArrayNode) new ObjectMapper().readTree((String)response.getEntity()).get(\"entries\")).get(0);\n Assert.assertEquals(\"G\", result.get(\"ref\").asText());\n Assert.assertEquals(\"A\", result.get(\"alt\").asText());\n ArrayNode homArray = (ArrayNode) result.get(\"hom\");\n Assert.assertEquals(1, homArray.size());\n Assert.assertEquals(\"SRR14860530\", homArray.get(0).asText());\n ArrayNode hetArray = (ArrayNode) result.get(\"het\");\n Assert.assertEquals(1, hetArray.size());\n Assert.assertEquals(\"SRR14860527\", hetArray.get(0).asText());\n\n // test lower case\n response = new Main().getResult(\"x:77633124\", REPO_PATH_RANGES, 10);\n Assert.assertEquals(OK.getStatusCode(), response.getStatus());\n System.out.println(response.getEntity());\n Assert.assertNotNull(response.getEntity());\n result = ((ArrayNode) new ObjectMapper().readTree((String)response.getEntity()).get(\"entries\")).get(0);\n Assert.assertEquals(\"G\", result.get(\"ref\").asText());\n Assert.assertEquals(\"A\", result.get(\"alt\").asText());\n homArray = (ArrayNode) result.get(\"hom\");\n Assert.assertEquals(1, homArray.size());\n Assert.assertEquals(\"SRR14860530\", homArray.get(0).asText());\n hetArray = (ArrayNode) result.get(\"het\");\n Assert.assertEquals(1, hetArray.size());\n Assert.assertEquals(\"SRR14860527\", hetArray.get(0).asText());\n\n //test range query\n response = new Main().getResult(\"2:25234482-26501857\", REPO_PATH_RANGES, 10);\n Assert.assertEquals(OK.getStatusCode(), response.getStatus());\n System.out.println(response.getEntity());\n\n JsonNode jsonResult = new ObjectMapper().readTree((String)response.getEntity());\n Assert.assertEquals(11, jsonResult.get(\"count\").asInt());\n\n ArrayNode dataArray = (ArrayNode)jsonResult.get(\"data\");\n Assert.assertEquals(10, dataArray.size());\n\n JsonNode first = dataArray.get(0);\n Assert.assertEquals(25234482, first.get(\"pos\").asInt());\n Assert.assertEquals(\"C\", ((ArrayNode)first.get(\"entries\")).get(0).get(\"ref\").asText());\n Assert.assertEquals(\"T\", ((ArrayNode)first.get(\"entries\")).get(0).get(\"alt\").asText());\n\n JsonNode last = dataArray.get(9);\n Assert.assertEquals(25313958, last.get(\"pos\").asInt());\n Assert.assertEquals(\"G\", ((ArrayNode)last.get(\"entries\")).get(0).get(\"ref\").asText());\n Assert.assertEquals(\"A\", ((ArrayNode)last.get(\"entries\")).get(0).get(\"alt\").asText());\n\n // test empty case\n response = new Main().getResult(\"x:15000112\", REPO_PATH_RANGES, 10);\n Assert.assertEquals(OK.getStatusCode(), response.getStatus());\n System.out.println(response.getEntity());\n Assert.assertNotNull(response.getEntity());\n Assert.assertEquals(EMPTY_RESULT, response.getEntity());\n\n // test bad input 1\n response = new Main().getResult(\"adkwjfh\", REPO_PATH_RANGES, 10);\n Assert.assertEquals(BAD_REQUEST.getStatusCode(), response.getStatus());\n\n // test bad input 2\n response = new Main().getResult(\"s:sss\", REPO_PATH_RANGES, 10);\n Assert.assertEquals(BAD_REQUEST.getStatusCode(), response.getStatus());\n\n // test bad input 3\n response = new Main().getResult(\"s:12345\", REPO_PATH_RANGES, 10);\n Assert.assertEquals(BAD_REQUEST.getStatusCode(), response.getStatus());\n\n // test bad input 4\n response = new Main().getResult(\"x:500000000\", REPO_PATH_RANGES, 10);\n Assert.assertEquals(BAD_REQUEST.getStatusCode(), response.getStatus());\n }" ]
[ "0.6862526", "0.63839877", "0.62841016", "0.59894204", "0.58342236", "0.5776431", "0.5734007", "0.5712916", "0.5670051", "0.5631001", "0.56302875", "0.56143415", "0.5605271", "0.55756223", "0.55691606", "0.55633014", "0.5545001", "0.5545001", "0.55326474", "0.5393185", "0.53787273", "0.5369912", "0.5363887", "0.5346187", "0.53321797", "0.5301303", "0.5284407", "0.52722657", "0.5267805", "0.52622724", "0.52575964", "0.5252404", "0.52506864", "0.52356696", "0.52289075", "0.520914", "0.52049226", "0.5202083", "0.5194397", "0.51886714", "0.5180487", "0.51756376", "0.5166178", "0.51628715", "0.51591974", "0.5154797", "0.5154727", "0.51516366", "0.51494604", "0.5139536", "0.5133444", "0.51260865", "0.5104945", "0.5094455", "0.5092275", "0.5086912", "0.5086912", "0.50723696", "0.50577176", "0.5052879", "0.50482905", "0.5031012", "0.50290823", "0.5027254", "0.501943", "0.50188446", "0.5015679", "0.5012513", "0.50083816", "0.50054836", "0.50020415", "0.5001236", "0.49921787", "0.49732155", "0.49654254", "0.49647364", "0.4953986", "0.4948581", "0.49465808", "0.49438965", "0.49316013", "0.49230373", "0.49203607", "0.49165064", "0.49132589", "0.49128133", "0.49103022", "0.4900622", "0.4899564", "0.4896023", "0.4895026", "0.48880875", "0.48773724", "0.4873716", "0.48736602", "0.48714477", "0.48663822", "0.48601002", "0.4859893", "0.4855802" ]
0.52278465
35
repeated .NodeSearchResult results = 3;
@java.lang.Override public java.util.List<? extends entities.Torrent.NodeSearchResultOrBuilder> getResultsOrBuilderList() { return results_; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "entities.Torrent.NodeSearchResult getResults(int index);", "SearchResult findNext(SearchResult result);", "entities.Torrent.NodeSearchResultOrBuilder getResultsOrBuilder(\n int index);", "java.util.List<entities.Torrent.NodeSearchResult>\n getResultsList();", "java.util.List<? extends entities.Torrent.NodeSearchResultOrBuilder>\n getResultsOrBuilderList();", "XResultSet() {\n this.nodeRefs = new LinkedList<>();\n this.numberFound = 0;\n }", "void setNumberOfResults(int numberOfResults);", "public Builder addAllResults(\n java.lang.Iterable<? extends entities.Torrent.NodeSearchResult> values) {\n if (resultsBuilder_ == null) {\n ensureResultsIsMutable();\n com.google.protobuf.AbstractMessageLite.Builder.addAll(\n values, results_);\n onChanged();\n } else {\n resultsBuilder_.addAllMessages(values);\n }\n return this;\n }", "@java.lang.Override\n public entities.Torrent.NodeSearchResultOrBuilder getResultsOrBuilder(\n int index) {\n return results_.get(index);\n }", "public GameList getSearchResult(){ return m_NewSearchResult;}", "int getNumberOfResults();", "public entities.Torrent.NodeSearchResultOrBuilder getResultsOrBuilder(\n int index) {\n if (resultsBuilder_ == null) {\n return results_.get(index); } else {\n return resultsBuilder_.getMessageOrBuilder(index);\n }\n }", "public entities.Torrent.NodeSearchResult.Builder addResultsBuilder() {\n return getResultsFieldBuilder().addBuilder(\n entities.Torrent.NodeSearchResult.getDefaultInstance());\n }", "private<T> void addManyResults(T... results)\n {\n int i =0;\n for(T result : results)\n {\n this.add(\"morgen-main-result\"+i, new LazyDynamicPrimitive<>(result));\n i++;\n }\n\n results = null; // Prevents Heap pollution\n }", "@Test\n public void testCombineRankHighPageRankWeight() {\n Iterator<Pair<Document, Double>> resultIterator = icsSearchEngine.searchQuery(Arrays.asList(\"anteater\"),\n 10, 1000000000.0);\n ImmutableList<Pair<Document, Double>> resultList = ImmutableList.copyOf(resultIterator);\n Assert.assertEquals(10, resultList.size());\n Assert.assertTrue(resultList.stream().limit(3).map(p -> p.getLeft())\n .anyMatch(doc -> doc.getText().contains(\"wics.ics.uci.edu\")));\n }", "public void setResults(ArrayList<Integer> results){\n this.results = results;\n }", "int getResultsCount();", "int getResultsCount();", "public int countResults() \n {\n return itsResults_size;\n }", "SearchResult findNext(SearchOptions searchOptions);", "public Builder addResults(entities.Torrent.NodeSearchResult value) {\n if (resultsBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureResultsIsMutable();\n results_.add(value);\n onChanged();\n } else {\n resultsBuilder_.addMessage(value);\n }\n return this;\n }", "private NodeSearchResult(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "@java.lang.Override\n public entities.Torrent.NodeSearchResult getResults(int index) {\n return results_.get(index);\n }", "void xsetNumberOfResults(org.apache.xmlbeans.XmlInt numberOfResults);", "public ClsNodeDocument[] GetDocuments (ClsNodeDocument[] searchDocs);", "private void numberResults ()\r\n {\r\n int partIndex = 0;\r\n\r\n for (Result result : connection.getResultMap().keySet()) {\r\n ScorePart scorePart = (ScorePart) result.getUnderlyingObject();\r\n scorePart.setId(++partIndex);\r\n }\r\n }", "public IScapSyncSearchResult[] getResults();", "public java.util.List<? extends entities.Torrent.NodeSearchResultOrBuilder>\n getResultsOrBuilderList() {\n if (resultsBuilder_ != null) {\n return resultsBuilder_.getMessageOrBuilderList();\n } else {\n return java.util.Collections.unmodifiableList(results_);\n }\n }", "public int my_node_count();", "boolean getMoreResults();", "public entities.Torrent.NodeSearchResult.Builder addResultsBuilder(\n int index) {\n return getResultsFieldBuilder().addBuilder(\n index, entities.Torrent.NodeSearchResult.getDefaultInstance());\n }", "@Override\n\tprotected void parseResult() {\n\t\t\n\t}", "private void fetchNextBlock() {\n try {\n \tSearchClient _client = new SearchClient(\"cubansea-instance\");\n \tWebSearchResults _results = _client.webSearch(createNextRequest());\n \t\tfor(WebSearchResult _result: _results.listResults()) {\n \t\t\tresults.add(new YahooSearchResult(_result, cacheStatus+1));\n \t\t\tcacheStatus++;\n \t\t}\n \t\tif(resultCount == -1) resultCount = _results.getTotalResultsAvailable().intValue();\n } catch (IOException e) {\n\t\t\tthrow new TechnicalError(e);\n\t\t} catch (SearchException e) {\n\t\t\tthrow new TechnicalError(e);\n\t\t}\n\t}", "public void addAll(XResultSet r) {\n this.getNodeRefs().addAll(r.getNodeRefs());\n this.numberFound += r.numberFound;\n }", "@java.lang.Override\n public java.util.List<entities.Torrent.NodeSearchResult> getResultsList() {\n return results_;\n }", "@Test\n public void test002() {\n int total = response.extract().path(\"total\");\n\n\n System.out.println(\"------------------StartingTest---------------------------\");\n System.out.println(\"The search query is: \" + total);\n System.out.println(\"------------------End of Test---------------------------\");\n\n }", "public void setNumResults(int numResults) {\n mNumResults = numResults;\n }", "public ResultMap<BaseNode> findNodes(ObjectNode query, String searchTerm, ObjectNode traverse);", "public Builder setResults(\n int index, entities.Torrent.NodeSearchResult value) {\n if (resultsBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureResultsIsMutable();\n results_.set(index, value);\n onChanged();\n } else {\n resultsBuilder_.setMessage(index, value);\n }\n return this;\n }", "public ResultMap<BaseNode> findNodes(ObjectNode query, String searchTerm, ObjectNode traverse, Pagination pagination);", "public void rankMatches();", "public int numMatches();", "public void setMatches() {\r\n this.matches++;\r\n\r\n }", "public java.util.List<entities.Torrent.NodeSearchResult> getResultsList() {\n if (resultsBuilder_ == null) {\n return java.util.Collections.unmodifiableList(results_);\n } else {\n return resultsBuilder_.getMessageList();\n }\n }", "public Result getResults()\r\n {\r\n return result;\r\n }", "int countByExample(CrawlExample example);", "private int getHitsAndArticlesByURL(Category node, String url)\r\n\t{\r\n\t\tDocumentBuilderFactory domfac = DocumentBuilderFactory.newInstance();\r\n\t\tint NumRes = 0;\r\n\t\tString totalHits;\r\n\t\ttry{\r\n\t\t\tURL queryurl = new URL(url);\r\n\t\t\tURLConnection connection = queryurl.openConnection();\r\n\t\t\tconnection.setDoInput(true);\r\n\t\t\tInputStream inStream = connection.getInputStream();\r\n\t\t\tDocumentBuilder dombuilder = domfac.newDocumentBuilder();\r\n\t\t\tDocument doc = dombuilder.parse(inStream);\r\n\t\t\tElement root = doc.getDocumentElement();\r\n\t\t\tNodeList resultset_web = root.getElementsByTagName(\"resultset_web\");\r\n\t\t\tNode resultset = resultset_web.item(0);\r\n\t\t\t\r\n\t\t\ttotalHits = resultset.getAttributes().getNamedItem(\"totalhits\").getNodeValue();\r\n\t\t\tNumRes = Integer.parseInt(totalHits);\r\n\t\t\t\r\n\t\t\tint count = 0;\r\n\t\t\tNodeList results = resultset.getChildNodes(); \r\n\t\t\tif(results != null)\r\n\t\t\t{\t\t\t\r\n\t\t\t\tfor(int i = 0 ; i < results.getLength(); i++){\r\n\t\t\t\t\tNode result = results.item(i);\t\t\t\t\t\t\t\t\r\n\t\t\t\t\tArticle newArticle = new Article();\r\n\t\t\t\t\t\r\n\t\t\t\t\tif(result.getNodeType()==Node.ELEMENT_NODE){\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\tfor(Node node1 = result.getFirstChild(); node1 != null; node1 = node1.getNextSibling()){\r\n\t\t\t\t\t\t\tif(node1.getNodeType()==Node.ELEMENT_NODE){\t\t\t\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\tif(node1.getNodeName().equals(\"url\") && node1.getFirstChild() != null && count < 4){\r\n\t\t\t\t\t\t\t\t\tcount++;\r\n\t\t\t\t\t\t\t\t\tString pageUrl = node1.getFirstChild().getNodeValue();\r\n\t\t\t\t\t\t\t\t\tArticle article = new Article();\r\n\t\t\t\t\t\t\t\t\tarticle.URL = pageUrl;\r\n\t\t\t\t\t\t\t\t\tarticle.words = getWordsLynx.runLynx(pageUrl);\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\tnode.articles.add(article);\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\t\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\t\r\n\t\t}catch(ParserConfigurationException e){\r\n\t\t\te.printStackTrace();\r\n\t\t\treturn -1;\r\n\t\t}catch(SAXException e){\r\n\t\t\te.printStackTrace();\r\n\t\t\treturn -1;\r\n\t\t}catch(IOException e){\r\n\t\t\te.printStackTrace();\r\n\t\t\treturn -1;\r\n\t\t}\r\n\r\n\t\treturn NumRes;\r\n\t}", "public int numberOfOccorrence();", "@Test\n\tvoid getResultsTest() {\n\t\tassertEquals(22, utilities.getResults(-21));\n\t\tassertEquals(20, utilities.getResults(-20));\n\t\tassertEquals(40, utilities.getResults(-19));\n\t\tassertEquals(38, utilities.getResults(-18));\n\t\tassertEquals(22, utilities.getResults(21));\n\t\tassertEquals(20, utilities.getResults(20));\n\t\tassertEquals(22, utilities.getResults(2));\n\t\tassertEquals(22, utilities.getResults(1));\n\t}", "@Test\n public void testFindNMatches() {\n List<Path> files = new ArrayList<>();\n files.add(new File(String.join(File.separator, \"src\", \"test\", \"resources\"),\n \"logviewer-search-context-tests.log.test\").toPath());\n files.add(new File(String.join(File.separator, \"src\", \"test\", \"resources\"),\n \"logviewer-search-context-tests.log.gz\").toPath());\n\n final LogviewerLogSearchHandler handler = getSearchHandler();\n\n final List<Map<String, Object>> matches1 = handler.findNMatches(files, 20, 0, 0, \"needle\").getMatches();\n final List<Map<String, Object>> matches2 = handler.findNMatches(files, 20, 0, 126, \"needle\").getMatches();\n final List<Map<String, Object>> matches3 = handler.findNMatches(files, 20, 1, 0, \"needle\").getMatches();\n\n assertEquals(2, matches1.size());\n assertEquals(4, ((List) matches1.get(0).get(\"matches\")).size());\n assertEquals(4, ((List) matches1.get(1).get(\"matches\")).size());\n assertEquals(String.join(File.separator, \"test\", \"resources\", \"logviewer-search-context-tests.log.test\"), matches1.get(0).get(\"fileName\"));\n assertEquals(String.join(File.separator, \"test\", \"resources\", \"logviewer-search-context-tests.log.gz\"), matches1.get(1).get(\"fileName\"));\n\n assertEquals(2, ((List) matches2.get(0).get(\"matches\")).size());\n assertEquals(4, ((List) matches2.get(1).get(\"matches\")).size());\n\n assertEquals(1, matches3.size());\n assertEquals(4, ((List) matches3.get(0).get(\"matches\")).size());\n }", "void remoteSearch(String groupId, String type, String attr, \n String value, int threshold, String serviceHandler, \n DiscoveryListener listener)\n \tthrows IOException\n {\n Query query = new Query(groupId, type, attr, value, \n serviceHandler,listener);\n \n queries.put(listener, query);\n \n\t //if resource not found in local cache\n\t String requestId = getNextRequestId();\n\t \n\t int urisize =0;\n\t EndpointAddress[] myURIs = peer.getURIList();\n\t \n\t if (myURIs != null)\n\t urisize = myURIs.length;\n\t \n\t Element[] elm = new Element[9 + urisize];\n\t //Element[] elm = new Element[9];\n\t \n\t\n\t elm[0] = new Element(Message.MESSAGE_TYPE_TAG, Message.REQUEST_SEARCH,\n\t Message.JXTA_NAME_SPACE);\n\t elm[1] = new Element(Message.TYPE_TAG, type, \n\t Message.JXTA_NAME_SPACE);\n\t elm[2] = new Element(Message.ATTRIBUTE_TAG, attr, \n\t Message.JXTA_NAME_SPACE);\n\t elm[3] = new Element(Message.VALUE_TAG, value, \n\t Message.JXTA_NAME_SPACE);\n\t elm[4] = new Element(Message.THRESHOLD_TAG, Integer.toString(threshold), \n\t Message.JXTA_NAME_SPACE);\n\t elm[5] = new Element(Message.REQUESTID_TAG, requestId, \n\t Message.JXTA_NAME_SPACE);\n\t elm[6] = new Element(Message.ID_TAG, peer.getID().toString(), \n\t Message.JXTA_NAME_SPACE);\n\t elm[7] = new Element(Message.GROUP_ID_TAG, groupId, \n\t Message.JXTA_NAME_SPACE);\n\t elm[8] = new Element(Message.HOPCOUNT_TAG, Integer.toString(DEFAULT_HOP_COUNT), \n\t Message.JXTA_NAME_SPACE);\n\t\n\t if (urisize > 0)\n\t {\n\t\t for (int i = 0; i < myURIs.length; i++)\n\t\t {\n\t\t EndpointAddress uri = myURIs[i];\n\t\t uri = new EndpointAddress(uri, serviceName, serviceHandler);\n\t\t elm[9 + i] = new Element(NamedResource.URITAG + String.valueOf(i), uri.toString().getBytes(),\n\t\t Message.JXTA_NAME_SPACE, null);\n\t\t }\n\t }\n\t \n\t send(elm, serviceHandler);\n }", "public void setResults(ArrayOfFindResult results) {\n this.results = results;\n }", "@Test\n public void testCombinePageRankTfIdf() {\n\n Iterator<Pair<Document, Double>> resultIterator = icsSearchEngine.searchQuery(\n Arrays.asList(\"ISG\", \"Bren\", \"School\", \"UCI\"),\n 100, 100.0);\n ImmutableList<Pair<Document, Double>> resultList = ImmutableList.copyOf(resultIterator);\n\n // first result should be \"isg.ics.uci.edu\"\n Assert.assertEquals(\"isg.ics.uci.edu\", getDocumentUrl(resultList.get(0).getLeft().getText()));\n\n // top 10 should have URLs starting \"hobbes.ics.uci.edu\"\n Assert.assertTrue(resultList.stream().limit(10).map(p -> getDocumentUrl(p.getLeft().getText()))\n .anyMatch(p -> p.contains(\"hobbes.ics.uci.edu\")));\n\n // top 50 should have URL \"ipubmed2.ics.uci.edu\"\n Assert.assertTrue(resultList.stream().limit(50).map(p -> getDocumentUrl(p.getLeft().getText()))\n .anyMatch(p -> p.equals(\"ipubmed2.ics.uci.edu\")));\n\n }", "public void addMatch() {\n totalMatches ++;\n }", "int countByExample(CrawlTestExample example);", "int getNodeCount();", "int getNodeCount();", "public int getWrapperHits();", "entities.Torrent.SearchResponse getSearchResponse();", "public Builder addResults(\n int index, entities.Torrent.NodeSearchResult value) {\n if (resultsBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureResultsIsMutable();\n results_.add(index, value);\n onChanged();\n } else {\n resultsBuilder_.addMessage(index, value);\n }\n return this;\n }", "public SearchResults() {\n\t\tPageFactory.initElements(driver, this);\n\t}", "public entities.Torrent.NodeSearchResult getResults(int index) {\n if (resultsBuilder_ == null) {\n return results_.get(index);\n } else {\n return resultsBuilder_.getMessage(index);\n }\n }", "List<SearchResult> search(SearchQuery searchQuery);", "@Test\n public void test19(){\n // List<Integer> services = response.extract().path(\"data.findAll{it.services=='Samsung Experience'}.storeservices\");\n //List<HashMap<String, ?>> address = response.extract().path(\"data.findAll{it.service=='Samsung Experience'}.storeservices\");\n System.out.println(\"------------------StartingTest---------------------------\");\n System.out.println(\"The name of all services:\" );\n System.out.println(\"------------------End of Test---------------------------\");\n }", "@java.lang.Override\n public int getResultsCount() {\n return results_.size();\n }", "protected List<SearchResultElement> getResultElementsFromNodes(\n IProgressMonitor monitor, INodePO[] reuse) {\n final List<SearchResultElement> reuseLoc =\n new ArrayList<SearchResultElement>(reuse.length);\n\n for (INodePO node : reuse) {\n INodePO parent = node.getSpecAncestor();\n if (parent == null) {\n parent = node.getParentNode();\n }\n if (parent != null) {\n Long id = node.getId();\n String nodeName = GeneralLabelProvider.getTextImpl(node);\n reuseLoc.add(new SearchResultElement<Long>(NLS.bind(\n Messages.SearchResultPageElementLabel, new Object[] {\n parent.getName(), nodeName }), id,\n GeneralLabelProvider.getImageImpl(node),\n new NodeSearchResultElementAction(), node\n .getComment()));\n }\n monitor.worked(1);\n }\n return reuseLoc;\n }", "org.apache.xmlbeans.XmlInt xgetNumberOfResults();", "public int getNumResults() {\r\n\t\treturn this.numResults;\r\n\t}", "void loadResults(ArrayList<Comic> results, int totalItems);", "int nodeCount();", "@Override\r\n\tpublic void iterateCount() {\n\t\t\r\n\t}", "public void getNodesThatCall(PassedParameter pp, Set result) {\n if (USE_PARAMETER_MAP) {\n Set s = (Set)passedParamToNodes.get(pp);\n if (s == null) return;\n result.addAll(s);\n return;\n }\n for (Iterator i = this.nodeIterator(); i.hasNext(); ) {\n Node n = (Node)i.next();\n if ((n.passedParameters != null) && n.passedParameters.contains(pp))\n result.add(n);\n }\n }", "int getMatchedElements();", "private static Elements getResultsFromAppPage(Document doc) {\n Elements results = null;\n try {\n results = doc.getElementsByClass(\"attribute-container\");\n }\n catch (NullPointerException e){\n logger.info(\"no applications tab for current item\");\n return results;\n }\n logger.debug(\"total results \" + results.size());\n\n return results;\n }", "Map<String, Integer> getSearchResults(String searchTerm) {\n\n Map<String, Integer> libCount = new ConcurrentHashMap<>();\n\n try {\n Document document = Jsoup.connect(google + URLEncoder.encode(searchTerm, charset))\n .userAgent(userAgent)\n .referrer(\"http://www.google.com\")\n .get();\n\n Elements links = document.select(\"a[href]\");\n Set<String> urls = new HashSet<>();\n for (Element link: links) {\n if (link.attr(\"href\") != null && link.attr(\"href\").contains(\"=\")) {\n String url = link.attr(\"href\").split(\"=\")[1];\n if (url.contains(\"http\")) {\n urls.add(getDomainName(url));\n }\n }\n }\n\n CountDownLatch latch = new CountDownLatch(urls.size());\n\n for (String url: urls) {\n AnalysePage analysePage = new AnalysePage(url);\n completionService.submit(analysePage);\n }\n\n int completed = 0;\n\n while(completed < urls.size()) {\n try {\n Future<Set<String>> resultFuture = completionService.take();\n Set<String> strings = resultFuture.get();\n for (String lib : strings) {\n Integer count = libCount.get(lib);\n if (count == null) {\n libCount.put(lib, 1);\n } else {\n libCount.put(lib, ++count);\n }\n }\n completed++;\n latch.countDown();\n } catch (InterruptedException | ExecutionException e) {\n e.printStackTrace();\n }\n }\n try {\n latch.await();\n } catch (InterruptedException e) {\n e.printStackTrace();\n }\n\n } catch (MalformedURLException e) {\n System.out.println(\"The URL is Malformed\");\n } catch (UnsupportedEncodingException e) {\n System.out.println(\"Incorrect URL encoding\");\n } catch (IOException e) {\n System.out.println(\"Unable to read from google\");\n e.printStackTrace();\n }\n executor.shutdown();\n return libCount;\n }", "int countByExample(CfgSearchRecommendExample example);", "public static List<String> get_RankedResults(List<Doc_accum> results) {\n List<String> filenames = new ArrayList();\n\n if (results.isEmpty()) {\n GUI.JListModel.clear();\n GUI.ResultsLabel.setText(\"\");\n clickList = false;\n\n String notFound = \"Your search '\" + query + \"' is not found in any documents\";\n GUI.ResultsLabel.setText(notFound);\n\n } else {\n clickList = false;\n\n //clears list and repopulates it \n String docInfo;\n\n GUI.JListModel.clear();\n GUI.ResultsLabel.setText(\"\");\n\n for (Doc_accum p : results) {\n if (queryMode) {\n corpus.getDocument(p.getPosting().getDocumentId()).getContent();\n }\n //docInfo = corpus.getDocument(p.getPosting().getDocumentId()).getTitle();\n docInfo = corpus.getDocument(p.getPosting().getDocumentId()).getFileName().toString();\n filenames.add(docInfo);\n\n }\n }\n\n GUI.SearchBarTextField.selectAll();\n\n return filenames;\n }", "@Test\n public void resultNumberTest() throws InterruptedException, ParseException {\n HomePageNavigation.gotoHomePage();\n Thread.sleep(2000);\n SearchNavigation.gotoSearchResultsPage(index,\"\");\n assertTrue(\"Message does not exist\", CommonUtils.extractTotalResults() >= 1);\n }", "OResultSet fetchNext(int n);", "public static void test1(){\n\t\tlong[] testCase=new long[]{2034912444,1511277043};\r\n\t\tList<String> rs=SearchWrapper.search( testCase[0], testCase[testCase.length-1]);\r\n\t\t\r\n\t}", "public void testSearchByContent() {\n Message m1 = new Message(\"test\",\"bla bla david moshe\",_u1);\n Message.incId();\n try {\n Thread.sleep(10);\n } catch (InterruptedException ex) {\n ex.printStackTrace();\n }\n Message m2 = new Message(\"test2\",\"bla2 bla david tikva moshe\",_u1);\n Message.incId();\n Message m3 = new Message(\"test2\",\"moshe cohen\",_u1);\n Message.incId();\n\n this.allMsgs.put(m1.getMsg_id(), m1);\n this.allMsgs.put(m2.getMsg_id(), m2);\n this.allMsgs.put(m3.getMsg_id(), m3);\n\n this.searchEngine.addData(m1);\n this.searchEngine.addData(m2);\n this.searchEngine.addData(m3);\n\n /* SearchHit[] result = this.searchEngine.searchByContent(\"bla2\", 0,1);\n assertTrue(result.length==1);\n assertTrue(result[0].getMessage().equals(m2));\n\n SearchHit[] result2 = this.searchEngine.searchByContent(\"bla david tikva\", 0,2);\n assertTrue(result2.length==1);\n assertEquals(result2[0].getScore(),3.0);\n //assertEquals(result2[1].getScore(),2.0);\n assertTrue(result2[0].getMessage().equals(m2));\n //assertTrue(result2[1].getMessage().equals(m1));\n\n SearchHit[] result3 = this.searchEngine.searchByContent(\"bla2 tikva\", 0, 5);\n assertTrue(result3.length==0);\n */\n\n/*\n SearchHit[] result4 = this.searchEngine.searchByContent(\"bla OR tikva\", 0, 5);\n assertTrue(result4.length==2);\n assertTrue(result4[0].getMessage().equals(m2));\n assertTrue(result4[1].getMessage().equals(m1));\n\n SearchHit[] result5 = this.searchEngine.searchByContent(\"bla AND cohen\", 0, 5);\n assertTrue(result5.length==0);\n\n result5 = this.searchEngine.searchByContent(\"bla AND moshe\",0,5);\n assertTrue(result5.length==2);\n assertTrue(result5[0].getScore() == result5[1].getScore());\n assertTrue(result5[0].getMessage().equals(m2));\n assertTrue(result5[1].getMessage().equals(m1));\n\n result5 = this.searchEngine.searchByContent(\"bla AND moshe\", 10, 11);\n assertTrue(result5.length==0);\n */\n\n }", "public Results() {\n\t\t\t// TODO Auto-generated constructor stub\n\t\t}", "Object getNumberMatched();", "entities.Torrent.LocalSearchResponse getLocalSearchResponse();", "public void setResults(ArrayList results) {\n this.results = results;\n }", "public abstract void fetchNodes(NodeCallback callback);", "public void search() {\r\n \t\r\n }", "private void searchFunction() {\n\t\t\r\n\t}", "Match getMatches();", "public boolean execute(int i) {\n result.add(nodeMap.get(i));\n return true; // return true here to continue receiving results\n }", "void setSearchResults(LazyDataModel<ReagentResult> searchResults);", "@Test\n public void testMultiSearch_withoutParens() {\n List<String> fields = new ArrayList<>();\n fields.add(\"sn\");\n fields.add(\"mail\");\n\n BridgeRequest request = new BridgeRequest();\n request.setStructure(\"user\");\n request.setFields(fields);\n request.setQuery(\"memberOf=cn=VPN Users,cn=Users,dc=kineticdata,dc=com\");\n\n BridgeError expectedError = null;\n try {\n getAdapter().search(request);\n } catch (BridgeError e) {\n expectedError = e;\n }\n\n assertNotNull(expectedError);\n }", "public entities.Torrent.NodeSearchResult.Builder getResultsBuilder(\n int index) {\n return getResultsFieldBuilder().getBuilder(index);\n }", "LazyDataModel<ReagentResult> getSearchResults();", "public Long getElementCount();", "public List<NodeInfo> getStoredNodes() {\n List<NodeInfo> nodes = new ArrayList<>();\n\n SearchResponse response = client.prepareSearch(\"k8s_*\").setTypes(\"node\").setSize(10000).get();\n\n SearchHit[] hits = response.getHits().getHits();\n log.info(String.format(\"The length of node search hits is [%d]\", hits.length));\n\n ObjectMapper mapper = new ObjectMapper();\n try {\n for (SearchHit hit : hits) {\n// log.info(hit.getSourceAsString());\n NodeInfo node = mapper.readValue(hit.getSourceAsString(), NodeInfo.class);\n nodes.add(node);\n }\n } catch (Exception e) {\n e.printStackTrace();\n }\n return nodes;\n }", "public void search() {\n }", "public void onSearchResults(String term, List<WikiPage> results);", "List<T> getResults();", "@Test\n public void getResultTest() throws IOException {\n System.setProperty(\"REPO_HG_19_PATH\", REPO_PATH_RANGES);\n System.setProperty(\"REPO_HG_38_PATH\", REPO_PATH_RANGES);\n System.setProperty(\"MAX_RANGE_RECORDS_IN_RESULT\", \"10\");\n\n // test common valid flow\n Response response = new Main().getResult19(\"X:77633124\");\n Assert.assertEquals(OK.getStatusCode(), response.getStatus());\n System.out.println(response.getEntity());\n Assert.assertNotNull(response.getEntity());\n JsonNode result = ((ArrayNode) new ObjectMapper().readTree((String)response.getEntity()).get(\"entries\")).get(0);\n Assert.assertEquals(\"G\", result.get(\"ref\").asText());\n Assert.assertEquals(\"A\", result.get(\"alt\").asText());\n ArrayNode homArray = (ArrayNode) result.get(\"hom\");\n Assert.assertEquals(1, homArray.size());\n Assert.assertEquals(\"SRR14860530\", homArray.get(0).asText());\n ArrayNode hetArray = (ArrayNode) result.get(\"het\");\n Assert.assertEquals(1, hetArray.size());\n Assert.assertEquals(\"SRR14860527\", hetArray.get(0).asText());\n\n // test lower case\n response = new Main().getResult(\"x:77633124\", REPO_PATH_RANGES, 10);\n Assert.assertEquals(OK.getStatusCode(), response.getStatus());\n System.out.println(response.getEntity());\n Assert.assertNotNull(response.getEntity());\n result = ((ArrayNode) new ObjectMapper().readTree((String)response.getEntity()).get(\"entries\")).get(0);\n Assert.assertEquals(\"G\", result.get(\"ref\").asText());\n Assert.assertEquals(\"A\", result.get(\"alt\").asText());\n homArray = (ArrayNode) result.get(\"hom\");\n Assert.assertEquals(1, homArray.size());\n Assert.assertEquals(\"SRR14860530\", homArray.get(0).asText());\n hetArray = (ArrayNode) result.get(\"het\");\n Assert.assertEquals(1, hetArray.size());\n Assert.assertEquals(\"SRR14860527\", hetArray.get(0).asText());\n\n //test range query\n response = new Main().getResult(\"2:25234482-26501857\", REPO_PATH_RANGES, 10);\n Assert.assertEquals(OK.getStatusCode(), response.getStatus());\n System.out.println(response.getEntity());\n\n JsonNode jsonResult = new ObjectMapper().readTree((String)response.getEntity());\n Assert.assertEquals(11, jsonResult.get(\"count\").asInt());\n\n ArrayNode dataArray = (ArrayNode)jsonResult.get(\"data\");\n Assert.assertEquals(10, dataArray.size());\n\n JsonNode first = dataArray.get(0);\n Assert.assertEquals(25234482, first.get(\"pos\").asInt());\n Assert.assertEquals(\"C\", ((ArrayNode)first.get(\"entries\")).get(0).get(\"ref\").asText());\n Assert.assertEquals(\"T\", ((ArrayNode)first.get(\"entries\")).get(0).get(\"alt\").asText());\n\n JsonNode last = dataArray.get(9);\n Assert.assertEquals(25313958, last.get(\"pos\").asInt());\n Assert.assertEquals(\"G\", ((ArrayNode)last.get(\"entries\")).get(0).get(\"ref\").asText());\n Assert.assertEquals(\"A\", ((ArrayNode)last.get(\"entries\")).get(0).get(\"alt\").asText());\n\n // test empty case\n response = new Main().getResult(\"x:15000112\", REPO_PATH_RANGES, 10);\n Assert.assertEquals(OK.getStatusCode(), response.getStatus());\n System.out.println(response.getEntity());\n Assert.assertNotNull(response.getEntity());\n Assert.assertEquals(EMPTY_RESULT, response.getEntity());\n\n // test bad input 1\n response = new Main().getResult(\"adkwjfh\", REPO_PATH_RANGES, 10);\n Assert.assertEquals(BAD_REQUEST.getStatusCode(), response.getStatus());\n\n // test bad input 2\n response = new Main().getResult(\"s:sss\", REPO_PATH_RANGES, 10);\n Assert.assertEquals(BAD_REQUEST.getStatusCode(), response.getStatus());\n\n // test bad input 3\n response = new Main().getResult(\"s:12345\", REPO_PATH_RANGES, 10);\n Assert.assertEquals(BAD_REQUEST.getStatusCode(), response.getStatus());\n\n // test bad input 4\n response = new Main().getResult(\"x:500000000\", REPO_PATH_RANGES, 10);\n Assert.assertEquals(BAD_REQUEST.getStatusCode(), response.getStatus());\n }" ]
[ "0.6862526", "0.63839877", "0.62841016", "0.59894204", "0.58342236", "0.5776431", "0.5734007", "0.5712916", "0.5670051", "0.5631001", "0.56302875", "0.56143415", "0.5605271", "0.55756223", "0.55691606", "0.55633014", "0.5545001", "0.5545001", "0.55326474", "0.5393185", "0.53787273", "0.5369912", "0.5363887", "0.5346187", "0.53321797", "0.5301303", "0.5284407", "0.52722657", "0.52622724", "0.52575964", "0.5252404", "0.52506864", "0.52356696", "0.52289075", "0.52278465", "0.520914", "0.52049226", "0.5202083", "0.5194397", "0.51886714", "0.5180487", "0.51756376", "0.5166178", "0.51628715", "0.51591974", "0.5154797", "0.5154727", "0.51516366", "0.51494604", "0.5139536", "0.5133444", "0.51260865", "0.5104945", "0.5094455", "0.5092275", "0.5086912", "0.5086912", "0.50723696", "0.50577176", "0.5052879", "0.50482905", "0.5031012", "0.50290823", "0.5027254", "0.501943", "0.50188446", "0.5015679", "0.5012513", "0.50083816", "0.50054836", "0.50020415", "0.5001236", "0.49921787", "0.49732155", "0.49654254", "0.49647364", "0.4953986", "0.4948581", "0.49465808", "0.49438965", "0.49316013", "0.49230373", "0.49203607", "0.49165064", "0.49132589", "0.49128133", "0.49103022", "0.4900622", "0.4899564", "0.4896023", "0.4895026", "0.48880875", "0.48773724", "0.4873716", "0.48736602", "0.48714477", "0.48663822", "0.48601002", "0.4859893", "0.4855802" ]
0.5267805
28
repeated .NodeSearchResult results = 3;
@java.lang.Override public int getResultsCount() { return results_.size(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "entities.Torrent.NodeSearchResult getResults(int index);", "SearchResult findNext(SearchResult result);", "entities.Torrent.NodeSearchResultOrBuilder getResultsOrBuilder(\n int index);", "java.util.List<entities.Torrent.NodeSearchResult>\n getResultsList();", "java.util.List<? extends entities.Torrent.NodeSearchResultOrBuilder>\n getResultsOrBuilderList();", "XResultSet() {\n this.nodeRefs = new LinkedList<>();\n this.numberFound = 0;\n }", "void setNumberOfResults(int numberOfResults);", "public Builder addAllResults(\n java.lang.Iterable<? extends entities.Torrent.NodeSearchResult> values) {\n if (resultsBuilder_ == null) {\n ensureResultsIsMutable();\n com.google.protobuf.AbstractMessageLite.Builder.addAll(\n values, results_);\n onChanged();\n } else {\n resultsBuilder_.addAllMessages(values);\n }\n return this;\n }", "@java.lang.Override\n public entities.Torrent.NodeSearchResultOrBuilder getResultsOrBuilder(\n int index) {\n return results_.get(index);\n }", "public GameList getSearchResult(){ return m_NewSearchResult;}", "int getNumberOfResults();", "public entities.Torrent.NodeSearchResultOrBuilder getResultsOrBuilder(\n int index) {\n if (resultsBuilder_ == null) {\n return results_.get(index); } else {\n return resultsBuilder_.getMessageOrBuilder(index);\n }\n }", "public entities.Torrent.NodeSearchResult.Builder addResultsBuilder() {\n return getResultsFieldBuilder().addBuilder(\n entities.Torrent.NodeSearchResult.getDefaultInstance());\n }", "private<T> void addManyResults(T... results)\n {\n int i =0;\n for(T result : results)\n {\n this.add(\"morgen-main-result\"+i, new LazyDynamicPrimitive<>(result));\n i++;\n }\n\n results = null; // Prevents Heap pollution\n }", "@Test\n public void testCombineRankHighPageRankWeight() {\n Iterator<Pair<Document, Double>> resultIterator = icsSearchEngine.searchQuery(Arrays.asList(\"anteater\"),\n 10, 1000000000.0);\n ImmutableList<Pair<Document, Double>> resultList = ImmutableList.copyOf(resultIterator);\n Assert.assertEquals(10, resultList.size());\n Assert.assertTrue(resultList.stream().limit(3).map(p -> p.getLeft())\n .anyMatch(doc -> doc.getText().contains(\"wics.ics.uci.edu\")));\n }", "public void setResults(ArrayList<Integer> results){\n this.results = results;\n }", "int getResultsCount();", "int getResultsCount();", "public int countResults() \n {\n return itsResults_size;\n }", "SearchResult findNext(SearchOptions searchOptions);", "public Builder addResults(entities.Torrent.NodeSearchResult value) {\n if (resultsBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureResultsIsMutable();\n results_.add(value);\n onChanged();\n } else {\n resultsBuilder_.addMessage(value);\n }\n return this;\n }", "private NodeSearchResult(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "@java.lang.Override\n public entities.Torrent.NodeSearchResult getResults(int index) {\n return results_.get(index);\n }", "void xsetNumberOfResults(org.apache.xmlbeans.XmlInt numberOfResults);", "public ClsNodeDocument[] GetDocuments (ClsNodeDocument[] searchDocs);", "private void numberResults ()\r\n {\r\n int partIndex = 0;\r\n\r\n for (Result result : connection.getResultMap().keySet()) {\r\n ScorePart scorePart = (ScorePart) result.getUnderlyingObject();\r\n scorePart.setId(++partIndex);\r\n }\r\n }", "public IScapSyncSearchResult[] getResults();", "public java.util.List<? extends entities.Torrent.NodeSearchResultOrBuilder>\n getResultsOrBuilderList() {\n if (resultsBuilder_ != null) {\n return resultsBuilder_.getMessageOrBuilderList();\n } else {\n return java.util.Collections.unmodifiableList(results_);\n }\n }", "@java.lang.Override\n public java.util.List<? extends entities.Torrent.NodeSearchResultOrBuilder>\n getResultsOrBuilderList() {\n return results_;\n }", "public int my_node_count();", "boolean getMoreResults();", "public entities.Torrent.NodeSearchResult.Builder addResultsBuilder(\n int index) {\n return getResultsFieldBuilder().addBuilder(\n index, entities.Torrent.NodeSearchResult.getDefaultInstance());\n }", "@Override\n\tprotected void parseResult() {\n\t\t\n\t}", "private void fetchNextBlock() {\n try {\n \tSearchClient _client = new SearchClient(\"cubansea-instance\");\n \tWebSearchResults _results = _client.webSearch(createNextRequest());\n \t\tfor(WebSearchResult _result: _results.listResults()) {\n \t\t\tresults.add(new YahooSearchResult(_result, cacheStatus+1));\n \t\t\tcacheStatus++;\n \t\t}\n \t\tif(resultCount == -1) resultCount = _results.getTotalResultsAvailable().intValue();\n } catch (IOException e) {\n\t\t\tthrow new TechnicalError(e);\n\t\t} catch (SearchException e) {\n\t\t\tthrow new TechnicalError(e);\n\t\t}\n\t}", "public void addAll(XResultSet r) {\n this.getNodeRefs().addAll(r.getNodeRefs());\n this.numberFound += r.numberFound;\n }", "@java.lang.Override\n public java.util.List<entities.Torrent.NodeSearchResult> getResultsList() {\n return results_;\n }", "@Test\n public void test002() {\n int total = response.extract().path(\"total\");\n\n\n System.out.println(\"------------------StartingTest---------------------------\");\n System.out.println(\"The search query is: \" + total);\n System.out.println(\"------------------End of Test---------------------------\");\n\n }", "public void setNumResults(int numResults) {\n mNumResults = numResults;\n }", "public ResultMap<BaseNode> findNodes(ObjectNode query, String searchTerm, ObjectNode traverse);", "public Builder setResults(\n int index, entities.Torrent.NodeSearchResult value) {\n if (resultsBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureResultsIsMutable();\n results_.set(index, value);\n onChanged();\n } else {\n resultsBuilder_.setMessage(index, value);\n }\n return this;\n }", "public ResultMap<BaseNode> findNodes(ObjectNode query, String searchTerm, ObjectNode traverse, Pagination pagination);", "public void rankMatches();", "public int numMatches();", "public void setMatches() {\r\n this.matches++;\r\n\r\n }", "public java.util.List<entities.Torrent.NodeSearchResult> getResultsList() {\n if (resultsBuilder_ == null) {\n return java.util.Collections.unmodifiableList(results_);\n } else {\n return resultsBuilder_.getMessageList();\n }\n }", "public Result getResults()\r\n {\r\n return result;\r\n }", "int countByExample(CrawlExample example);", "private int getHitsAndArticlesByURL(Category node, String url)\r\n\t{\r\n\t\tDocumentBuilderFactory domfac = DocumentBuilderFactory.newInstance();\r\n\t\tint NumRes = 0;\r\n\t\tString totalHits;\r\n\t\ttry{\r\n\t\t\tURL queryurl = new URL(url);\r\n\t\t\tURLConnection connection = queryurl.openConnection();\r\n\t\t\tconnection.setDoInput(true);\r\n\t\t\tInputStream inStream = connection.getInputStream();\r\n\t\t\tDocumentBuilder dombuilder = domfac.newDocumentBuilder();\r\n\t\t\tDocument doc = dombuilder.parse(inStream);\r\n\t\t\tElement root = doc.getDocumentElement();\r\n\t\t\tNodeList resultset_web = root.getElementsByTagName(\"resultset_web\");\r\n\t\t\tNode resultset = resultset_web.item(0);\r\n\t\t\t\r\n\t\t\ttotalHits = resultset.getAttributes().getNamedItem(\"totalhits\").getNodeValue();\r\n\t\t\tNumRes = Integer.parseInt(totalHits);\r\n\t\t\t\r\n\t\t\tint count = 0;\r\n\t\t\tNodeList results = resultset.getChildNodes(); \r\n\t\t\tif(results != null)\r\n\t\t\t{\t\t\t\r\n\t\t\t\tfor(int i = 0 ; i < results.getLength(); i++){\r\n\t\t\t\t\tNode result = results.item(i);\t\t\t\t\t\t\t\t\r\n\t\t\t\t\tArticle newArticle = new Article();\r\n\t\t\t\t\t\r\n\t\t\t\t\tif(result.getNodeType()==Node.ELEMENT_NODE){\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\tfor(Node node1 = result.getFirstChild(); node1 != null; node1 = node1.getNextSibling()){\r\n\t\t\t\t\t\t\tif(node1.getNodeType()==Node.ELEMENT_NODE){\t\t\t\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\tif(node1.getNodeName().equals(\"url\") && node1.getFirstChild() != null && count < 4){\r\n\t\t\t\t\t\t\t\t\tcount++;\r\n\t\t\t\t\t\t\t\t\tString pageUrl = node1.getFirstChild().getNodeValue();\r\n\t\t\t\t\t\t\t\t\tArticle article = new Article();\r\n\t\t\t\t\t\t\t\t\tarticle.URL = pageUrl;\r\n\t\t\t\t\t\t\t\t\tarticle.words = getWordsLynx.runLynx(pageUrl);\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\tnode.articles.add(article);\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\t\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\t\r\n\t\t}catch(ParserConfigurationException e){\r\n\t\t\te.printStackTrace();\r\n\t\t\treturn -1;\r\n\t\t}catch(SAXException e){\r\n\t\t\te.printStackTrace();\r\n\t\t\treturn -1;\r\n\t\t}catch(IOException e){\r\n\t\t\te.printStackTrace();\r\n\t\t\treturn -1;\r\n\t\t}\r\n\r\n\t\treturn NumRes;\r\n\t}", "public int numberOfOccorrence();", "@Test\n\tvoid getResultsTest() {\n\t\tassertEquals(22, utilities.getResults(-21));\n\t\tassertEquals(20, utilities.getResults(-20));\n\t\tassertEquals(40, utilities.getResults(-19));\n\t\tassertEquals(38, utilities.getResults(-18));\n\t\tassertEquals(22, utilities.getResults(21));\n\t\tassertEquals(20, utilities.getResults(20));\n\t\tassertEquals(22, utilities.getResults(2));\n\t\tassertEquals(22, utilities.getResults(1));\n\t}", "@Test\n public void testFindNMatches() {\n List<Path> files = new ArrayList<>();\n files.add(new File(String.join(File.separator, \"src\", \"test\", \"resources\"),\n \"logviewer-search-context-tests.log.test\").toPath());\n files.add(new File(String.join(File.separator, \"src\", \"test\", \"resources\"),\n \"logviewer-search-context-tests.log.gz\").toPath());\n\n final LogviewerLogSearchHandler handler = getSearchHandler();\n\n final List<Map<String, Object>> matches1 = handler.findNMatches(files, 20, 0, 0, \"needle\").getMatches();\n final List<Map<String, Object>> matches2 = handler.findNMatches(files, 20, 0, 126, \"needle\").getMatches();\n final List<Map<String, Object>> matches3 = handler.findNMatches(files, 20, 1, 0, \"needle\").getMatches();\n\n assertEquals(2, matches1.size());\n assertEquals(4, ((List) matches1.get(0).get(\"matches\")).size());\n assertEquals(4, ((List) matches1.get(1).get(\"matches\")).size());\n assertEquals(String.join(File.separator, \"test\", \"resources\", \"logviewer-search-context-tests.log.test\"), matches1.get(0).get(\"fileName\"));\n assertEquals(String.join(File.separator, \"test\", \"resources\", \"logviewer-search-context-tests.log.gz\"), matches1.get(1).get(\"fileName\"));\n\n assertEquals(2, ((List) matches2.get(0).get(\"matches\")).size());\n assertEquals(4, ((List) matches2.get(1).get(\"matches\")).size());\n\n assertEquals(1, matches3.size());\n assertEquals(4, ((List) matches3.get(0).get(\"matches\")).size());\n }", "void remoteSearch(String groupId, String type, String attr, \n String value, int threshold, String serviceHandler, \n DiscoveryListener listener)\n \tthrows IOException\n {\n Query query = new Query(groupId, type, attr, value, \n serviceHandler,listener);\n \n queries.put(listener, query);\n \n\t //if resource not found in local cache\n\t String requestId = getNextRequestId();\n\t \n\t int urisize =0;\n\t EndpointAddress[] myURIs = peer.getURIList();\n\t \n\t if (myURIs != null)\n\t urisize = myURIs.length;\n\t \n\t Element[] elm = new Element[9 + urisize];\n\t //Element[] elm = new Element[9];\n\t \n\t\n\t elm[0] = new Element(Message.MESSAGE_TYPE_TAG, Message.REQUEST_SEARCH,\n\t Message.JXTA_NAME_SPACE);\n\t elm[1] = new Element(Message.TYPE_TAG, type, \n\t Message.JXTA_NAME_SPACE);\n\t elm[2] = new Element(Message.ATTRIBUTE_TAG, attr, \n\t Message.JXTA_NAME_SPACE);\n\t elm[3] = new Element(Message.VALUE_TAG, value, \n\t Message.JXTA_NAME_SPACE);\n\t elm[4] = new Element(Message.THRESHOLD_TAG, Integer.toString(threshold), \n\t Message.JXTA_NAME_SPACE);\n\t elm[5] = new Element(Message.REQUESTID_TAG, requestId, \n\t Message.JXTA_NAME_SPACE);\n\t elm[6] = new Element(Message.ID_TAG, peer.getID().toString(), \n\t Message.JXTA_NAME_SPACE);\n\t elm[7] = new Element(Message.GROUP_ID_TAG, groupId, \n\t Message.JXTA_NAME_SPACE);\n\t elm[8] = new Element(Message.HOPCOUNT_TAG, Integer.toString(DEFAULT_HOP_COUNT), \n\t Message.JXTA_NAME_SPACE);\n\t\n\t if (urisize > 0)\n\t {\n\t\t for (int i = 0; i < myURIs.length; i++)\n\t\t {\n\t\t EndpointAddress uri = myURIs[i];\n\t\t uri = new EndpointAddress(uri, serviceName, serviceHandler);\n\t\t elm[9 + i] = new Element(NamedResource.URITAG + String.valueOf(i), uri.toString().getBytes(),\n\t\t Message.JXTA_NAME_SPACE, null);\n\t\t }\n\t }\n\t \n\t send(elm, serviceHandler);\n }", "public void setResults(ArrayOfFindResult results) {\n this.results = results;\n }", "@Test\n public void testCombinePageRankTfIdf() {\n\n Iterator<Pair<Document, Double>> resultIterator = icsSearchEngine.searchQuery(\n Arrays.asList(\"ISG\", \"Bren\", \"School\", \"UCI\"),\n 100, 100.0);\n ImmutableList<Pair<Document, Double>> resultList = ImmutableList.copyOf(resultIterator);\n\n // first result should be \"isg.ics.uci.edu\"\n Assert.assertEquals(\"isg.ics.uci.edu\", getDocumentUrl(resultList.get(0).getLeft().getText()));\n\n // top 10 should have URLs starting \"hobbes.ics.uci.edu\"\n Assert.assertTrue(resultList.stream().limit(10).map(p -> getDocumentUrl(p.getLeft().getText()))\n .anyMatch(p -> p.contains(\"hobbes.ics.uci.edu\")));\n\n // top 50 should have URL \"ipubmed2.ics.uci.edu\"\n Assert.assertTrue(resultList.stream().limit(50).map(p -> getDocumentUrl(p.getLeft().getText()))\n .anyMatch(p -> p.equals(\"ipubmed2.ics.uci.edu\")));\n\n }", "public void addMatch() {\n totalMatches ++;\n }", "int countByExample(CrawlTestExample example);", "int getNodeCount();", "int getNodeCount();", "public int getWrapperHits();", "entities.Torrent.SearchResponse getSearchResponse();", "public Builder addResults(\n int index, entities.Torrent.NodeSearchResult value) {\n if (resultsBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureResultsIsMutable();\n results_.add(index, value);\n onChanged();\n } else {\n resultsBuilder_.addMessage(index, value);\n }\n return this;\n }", "public SearchResults() {\n\t\tPageFactory.initElements(driver, this);\n\t}", "public entities.Torrent.NodeSearchResult getResults(int index) {\n if (resultsBuilder_ == null) {\n return results_.get(index);\n } else {\n return resultsBuilder_.getMessage(index);\n }\n }", "List<SearchResult> search(SearchQuery searchQuery);", "@Test\n public void test19(){\n // List<Integer> services = response.extract().path(\"data.findAll{it.services=='Samsung Experience'}.storeservices\");\n //List<HashMap<String, ?>> address = response.extract().path(\"data.findAll{it.service=='Samsung Experience'}.storeservices\");\n System.out.println(\"------------------StartingTest---------------------------\");\n System.out.println(\"The name of all services:\" );\n System.out.println(\"------------------End of Test---------------------------\");\n }", "@java.lang.Override\n public int getResultsCount() {\n return results_.size();\n }", "protected List<SearchResultElement> getResultElementsFromNodes(\n IProgressMonitor monitor, INodePO[] reuse) {\n final List<SearchResultElement> reuseLoc =\n new ArrayList<SearchResultElement>(reuse.length);\n\n for (INodePO node : reuse) {\n INodePO parent = node.getSpecAncestor();\n if (parent == null) {\n parent = node.getParentNode();\n }\n if (parent != null) {\n Long id = node.getId();\n String nodeName = GeneralLabelProvider.getTextImpl(node);\n reuseLoc.add(new SearchResultElement<Long>(NLS.bind(\n Messages.SearchResultPageElementLabel, new Object[] {\n parent.getName(), nodeName }), id,\n GeneralLabelProvider.getImageImpl(node),\n new NodeSearchResultElementAction(), node\n .getComment()));\n }\n monitor.worked(1);\n }\n return reuseLoc;\n }", "org.apache.xmlbeans.XmlInt xgetNumberOfResults();", "public int getNumResults() {\r\n\t\treturn this.numResults;\r\n\t}", "void loadResults(ArrayList<Comic> results, int totalItems);", "int nodeCount();", "@Override\r\n\tpublic void iterateCount() {\n\t\t\r\n\t}", "public void getNodesThatCall(PassedParameter pp, Set result) {\n if (USE_PARAMETER_MAP) {\n Set s = (Set)passedParamToNodes.get(pp);\n if (s == null) return;\n result.addAll(s);\n return;\n }\n for (Iterator i = this.nodeIterator(); i.hasNext(); ) {\n Node n = (Node)i.next();\n if ((n.passedParameters != null) && n.passedParameters.contains(pp))\n result.add(n);\n }\n }", "int getMatchedElements();", "private static Elements getResultsFromAppPage(Document doc) {\n Elements results = null;\n try {\n results = doc.getElementsByClass(\"attribute-container\");\n }\n catch (NullPointerException e){\n logger.info(\"no applications tab for current item\");\n return results;\n }\n logger.debug(\"total results \" + results.size());\n\n return results;\n }", "Map<String, Integer> getSearchResults(String searchTerm) {\n\n Map<String, Integer> libCount = new ConcurrentHashMap<>();\n\n try {\n Document document = Jsoup.connect(google + URLEncoder.encode(searchTerm, charset))\n .userAgent(userAgent)\n .referrer(\"http://www.google.com\")\n .get();\n\n Elements links = document.select(\"a[href]\");\n Set<String> urls = new HashSet<>();\n for (Element link: links) {\n if (link.attr(\"href\") != null && link.attr(\"href\").contains(\"=\")) {\n String url = link.attr(\"href\").split(\"=\")[1];\n if (url.contains(\"http\")) {\n urls.add(getDomainName(url));\n }\n }\n }\n\n CountDownLatch latch = new CountDownLatch(urls.size());\n\n for (String url: urls) {\n AnalysePage analysePage = new AnalysePage(url);\n completionService.submit(analysePage);\n }\n\n int completed = 0;\n\n while(completed < urls.size()) {\n try {\n Future<Set<String>> resultFuture = completionService.take();\n Set<String> strings = resultFuture.get();\n for (String lib : strings) {\n Integer count = libCount.get(lib);\n if (count == null) {\n libCount.put(lib, 1);\n } else {\n libCount.put(lib, ++count);\n }\n }\n completed++;\n latch.countDown();\n } catch (InterruptedException | ExecutionException e) {\n e.printStackTrace();\n }\n }\n try {\n latch.await();\n } catch (InterruptedException e) {\n e.printStackTrace();\n }\n\n } catch (MalformedURLException e) {\n System.out.println(\"The URL is Malformed\");\n } catch (UnsupportedEncodingException e) {\n System.out.println(\"Incorrect URL encoding\");\n } catch (IOException e) {\n System.out.println(\"Unable to read from google\");\n e.printStackTrace();\n }\n executor.shutdown();\n return libCount;\n }", "int countByExample(CfgSearchRecommendExample example);", "public static List<String> get_RankedResults(List<Doc_accum> results) {\n List<String> filenames = new ArrayList();\n\n if (results.isEmpty()) {\n GUI.JListModel.clear();\n GUI.ResultsLabel.setText(\"\");\n clickList = false;\n\n String notFound = \"Your search '\" + query + \"' is not found in any documents\";\n GUI.ResultsLabel.setText(notFound);\n\n } else {\n clickList = false;\n\n //clears list and repopulates it \n String docInfo;\n\n GUI.JListModel.clear();\n GUI.ResultsLabel.setText(\"\");\n\n for (Doc_accum p : results) {\n if (queryMode) {\n corpus.getDocument(p.getPosting().getDocumentId()).getContent();\n }\n //docInfo = corpus.getDocument(p.getPosting().getDocumentId()).getTitle();\n docInfo = corpus.getDocument(p.getPosting().getDocumentId()).getFileName().toString();\n filenames.add(docInfo);\n\n }\n }\n\n GUI.SearchBarTextField.selectAll();\n\n return filenames;\n }", "@Test\n public void resultNumberTest() throws InterruptedException, ParseException {\n HomePageNavigation.gotoHomePage();\n Thread.sleep(2000);\n SearchNavigation.gotoSearchResultsPage(index,\"\");\n assertTrue(\"Message does not exist\", CommonUtils.extractTotalResults() >= 1);\n }", "OResultSet fetchNext(int n);", "public static void test1(){\n\t\tlong[] testCase=new long[]{2034912444,1511277043};\r\n\t\tList<String> rs=SearchWrapper.search( testCase[0], testCase[testCase.length-1]);\r\n\t\t\r\n\t}", "public void testSearchByContent() {\n Message m1 = new Message(\"test\",\"bla bla david moshe\",_u1);\n Message.incId();\n try {\n Thread.sleep(10);\n } catch (InterruptedException ex) {\n ex.printStackTrace();\n }\n Message m2 = new Message(\"test2\",\"bla2 bla david tikva moshe\",_u1);\n Message.incId();\n Message m3 = new Message(\"test2\",\"moshe cohen\",_u1);\n Message.incId();\n\n this.allMsgs.put(m1.getMsg_id(), m1);\n this.allMsgs.put(m2.getMsg_id(), m2);\n this.allMsgs.put(m3.getMsg_id(), m3);\n\n this.searchEngine.addData(m1);\n this.searchEngine.addData(m2);\n this.searchEngine.addData(m3);\n\n /* SearchHit[] result = this.searchEngine.searchByContent(\"bla2\", 0,1);\n assertTrue(result.length==1);\n assertTrue(result[0].getMessage().equals(m2));\n\n SearchHit[] result2 = this.searchEngine.searchByContent(\"bla david tikva\", 0,2);\n assertTrue(result2.length==1);\n assertEquals(result2[0].getScore(),3.0);\n //assertEquals(result2[1].getScore(),2.0);\n assertTrue(result2[0].getMessage().equals(m2));\n //assertTrue(result2[1].getMessage().equals(m1));\n\n SearchHit[] result3 = this.searchEngine.searchByContent(\"bla2 tikva\", 0, 5);\n assertTrue(result3.length==0);\n */\n\n/*\n SearchHit[] result4 = this.searchEngine.searchByContent(\"bla OR tikva\", 0, 5);\n assertTrue(result4.length==2);\n assertTrue(result4[0].getMessage().equals(m2));\n assertTrue(result4[1].getMessage().equals(m1));\n\n SearchHit[] result5 = this.searchEngine.searchByContent(\"bla AND cohen\", 0, 5);\n assertTrue(result5.length==0);\n\n result5 = this.searchEngine.searchByContent(\"bla AND moshe\",0,5);\n assertTrue(result5.length==2);\n assertTrue(result5[0].getScore() == result5[1].getScore());\n assertTrue(result5[0].getMessage().equals(m2));\n assertTrue(result5[1].getMessage().equals(m1));\n\n result5 = this.searchEngine.searchByContent(\"bla AND moshe\", 10, 11);\n assertTrue(result5.length==0);\n */\n\n }", "public Results() {\n\t\t\t// TODO Auto-generated constructor stub\n\t\t}", "Object getNumberMatched();", "entities.Torrent.LocalSearchResponse getLocalSearchResponse();", "public void setResults(ArrayList results) {\n this.results = results;\n }", "public abstract void fetchNodes(NodeCallback callback);", "public void search() {\r\n \t\r\n }", "private void searchFunction() {\n\t\t\r\n\t}", "Match getMatches();", "public boolean execute(int i) {\n result.add(nodeMap.get(i));\n return true; // return true here to continue receiving results\n }", "void setSearchResults(LazyDataModel<ReagentResult> searchResults);", "@Test\n public void testMultiSearch_withoutParens() {\n List<String> fields = new ArrayList<>();\n fields.add(\"sn\");\n fields.add(\"mail\");\n\n BridgeRequest request = new BridgeRequest();\n request.setStructure(\"user\");\n request.setFields(fields);\n request.setQuery(\"memberOf=cn=VPN Users,cn=Users,dc=kineticdata,dc=com\");\n\n BridgeError expectedError = null;\n try {\n getAdapter().search(request);\n } catch (BridgeError e) {\n expectedError = e;\n }\n\n assertNotNull(expectedError);\n }", "public entities.Torrent.NodeSearchResult.Builder getResultsBuilder(\n int index) {\n return getResultsFieldBuilder().getBuilder(index);\n }", "LazyDataModel<ReagentResult> getSearchResults();", "public Long getElementCount();", "public List<NodeInfo> getStoredNodes() {\n List<NodeInfo> nodes = new ArrayList<>();\n\n SearchResponse response = client.prepareSearch(\"k8s_*\").setTypes(\"node\").setSize(10000).get();\n\n SearchHit[] hits = response.getHits().getHits();\n log.info(String.format(\"The length of node search hits is [%d]\", hits.length));\n\n ObjectMapper mapper = new ObjectMapper();\n try {\n for (SearchHit hit : hits) {\n// log.info(hit.getSourceAsString());\n NodeInfo node = mapper.readValue(hit.getSourceAsString(), NodeInfo.class);\n nodes.add(node);\n }\n } catch (Exception e) {\n e.printStackTrace();\n }\n return nodes;\n }", "public void search() {\n }", "public void onSearchResults(String term, List<WikiPage> results);", "List<T> getResults();", "@Test\n public void getResultTest() throws IOException {\n System.setProperty(\"REPO_HG_19_PATH\", REPO_PATH_RANGES);\n System.setProperty(\"REPO_HG_38_PATH\", REPO_PATH_RANGES);\n System.setProperty(\"MAX_RANGE_RECORDS_IN_RESULT\", \"10\");\n\n // test common valid flow\n Response response = new Main().getResult19(\"X:77633124\");\n Assert.assertEquals(OK.getStatusCode(), response.getStatus());\n System.out.println(response.getEntity());\n Assert.assertNotNull(response.getEntity());\n JsonNode result = ((ArrayNode) new ObjectMapper().readTree((String)response.getEntity()).get(\"entries\")).get(0);\n Assert.assertEquals(\"G\", result.get(\"ref\").asText());\n Assert.assertEquals(\"A\", result.get(\"alt\").asText());\n ArrayNode homArray = (ArrayNode) result.get(\"hom\");\n Assert.assertEquals(1, homArray.size());\n Assert.assertEquals(\"SRR14860530\", homArray.get(0).asText());\n ArrayNode hetArray = (ArrayNode) result.get(\"het\");\n Assert.assertEquals(1, hetArray.size());\n Assert.assertEquals(\"SRR14860527\", hetArray.get(0).asText());\n\n // test lower case\n response = new Main().getResult(\"x:77633124\", REPO_PATH_RANGES, 10);\n Assert.assertEquals(OK.getStatusCode(), response.getStatus());\n System.out.println(response.getEntity());\n Assert.assertNotNull(response.getEntity());\n result = ((ArrayNode) new ObjectMapper().readTree((String)response.getEntity()).get(\"entries\")).get(0);\n Assert.assertEquals(\"G\", result.get(\"ref\").asText());\n Assert.assertEquals(\"A\", result.get(\"alt\").asText());\n homArray = (ArrayNode) result.get(\"hom\");\n Assert.assertEquals(1, homArray.size());\n Assert.assertEquals(\"SRR14860530\", homArray.get(0).asText());\n hetArray = (ArrayNode) result.get(\"het\");\n Assert.assertEquals(1, hetArray.size());\n Assert.assertEquals(\"SRR14860527\", hetArray.get(0).asText());\n\n //test range query\n response = new Main().getResult(\"2:25234482-26501857\", REPO_PATH_RANGES, 10);\n Assert.assertEquals(OK.getStatusCode(), response.getStatus());\n System.out.println(response.getEntity());\n\n JsonNode jsonResult = new ObjectMapper().readTree((String)response.getEntity());\n Assert.assertEquals(11, jsonResult.get(\"count\").asInt());\n\n ArrayNode dataArray = (ArrayNode)jsonResult.get(\"data\");\n Assert.assertEquals(10, dataArray.size());\n\n JsonNode first = dataArray.get(0);\n Assert.assertEquals(25234482, first.get(\"pos\").asInt());\n Assert.assertEquals(\"C\", ((ArrayNode)first.get(\"entries\")).get(0).get(\"ref\").asText());\n Assert.assertEquals(\"T\", ((ArrayNode)first.get(\"entries\")).get(0).get(\"alt\").asText());\n\n JsonNode last = dataArray.get(9);\n Assert.assertEquals(25313958, last.get(\"pos\").asInt());\n Assert.assertEquals(\"G\", ((ArrayNode)last.get(\"entries\")).get(0).get(\"ref\").asText());\n Assert.assertEquals(\"A\", ((ArrayNode)last.get(\"entries\")).get(0).get(\"alt\").asText());\n\n // test empty case\n response = new Main().getResult(\"x:15000112\", REPO_PATH_RANGES, 10);\n Assert.assertEquals(OK.getStatusCode(), response.getStatus());\n System.out.println(response.getEntity());\n Assert.assertNotNull(response.getEntity());\n Assert.assertEquals(EMPTY_RESULT, response.getEntity());\n\n // test bad input 1\n response = new Main().getResult(\"adkwjfh\", REPO_PATH_RANGES, 10);\n Assert.assertEquals(BAD_REQUEST.getStatusCode(), response.getStatus());\n\n // test bad input 2\n response = new Main().getResult(\"s:sss\", REPO_PATH_RANGES, 10);\n Assert.assertEquals(BAD_REQUEST.getStatusCode(), response.getStatus());\n\n // test bad input 3\n response = new Main().getResult(\"s:12345\", REPO_PATH_RANGES, 10);\n Assert.assertEquals(BAD_REQUEST.getStatusCode(), response.getStatus());\n\n // test bad input 4\n response = new Main().getResult(\"x:500000000\", REPO_PATH_RANGES, 10);\n Assert.assertEquals(BAD_REQUEST.getStatusCode(), response.getStatus());\n }" ]
[ "0.6862526", "0.63839877", "0.62841016", "0.59894204", "0.58342236", "0.5776431", "0.5734007", "0.5712916", "0.5670051", "0.5631001", "0.56302875", "0.56143415", "0.5605271", "0.55756223", "0.55691606", "0.55633014", "0.5545001", "0.5545001", "0.55326474", "0.5393185", "0.53787273", "0.5369912", "0.5363887", "0.5346187", "0.53321797", "0.5301303", "0.5284407", "0.52722657", "0.5267805", "0.52622724", "0.52575964", "0.5252404", "0.52506864", "0.52356696", "0.52289075", "0.52278465", "0.520914", "0.52049226", "0.5202083", "0.5194397", "0.51886714", "0.5180487", "0.51756376", "0.5166178", "0.51628715", "0.51591974", "0.5154797", "0.5154727", "0.51516366", "0.51494604", "0.5139536", "0.5133444", "0.51260865", "0.5104945", "0.5094455", "0.5092275", "0.5086912", "0.5086912", "0.50723696", "0.50577176", "0.5052879", "0.50482905", "0.5031012", "0.50290823", "0.5027254", "0.501943", "0.50188446", "0.5015679", "0.5012513", "0.50083816", "0.50054836", "0.50020415", "0.5001236", "0.49921787", "0.49732155", "0.49654254", "0.49647364", "0.4953986", "0.4948581", "0.49465808", "0.49438965", "0.49316013", "0.49230373", "0.49203607", "0.49165064", "0.49132589", "0.49128133", "0.49103022", "0.4900622", "0.4899564", "0.4896023", "0.4895026", "0.48880875", "0.48773724", "0.4873716", "0.48736602", "0.48714477", "0.48663822", "0.48601002", "0.4859893", "0.4855802" ]
0.0
-1
repeated .NodeSearchResult results = 3;
@java.lang.Override public entities.Torrent.NodeSearchResult getResults(int index) { return results_.get(index); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "entities.Torrent.NodeSearchResult getResults(int index);", "SearchResult findNext(SearchResult result);", "entities.Torrent.NodeSearchResultOrBuilder getResultsOrBuilder(\n int index);", "java.util.List<entities.Torrent.NodeSearchResult>\n getResultsList();", "java.util.List<? extends entities.Torrent.NodeSearchResultOrBuilder>\n getResultsOrBuilderList();", "XResultSet() {\n this.nodeRefs = new LinkedList<>();\n this.numberFound = 0;\n }", "void setNumberOfResults(int numberOfResults);", "public Builder addAllResults(\n java.lang.Iterable<? extends entities.Torrent.NodeSearchResult> values) {\n if (resultsBuilder_ == null) {\n ensureResultsIsMutable();\n com.google.protobuf.AbstractMessageLite.Builder.addAll(\n values, results_);\n onChanged();\n } else {\n resultsBuilder_.addAllMessages(values);\n }\n return this;\n }", "@java.lang.Override\n public entities.Torrent.NodeSearchResultOrBuilder getResultsOrBuilder(\n int index) {\n return results_.get(index);\n }", "public GameList getSearchResult(){ return m_NewSearchResult;}", "int getNumberOfResults();", "public entities.Torrent.NodeSearchResultOrBuilder getResultsOrBuilder(\n int index) {\n if (resultsBuilder_ == null) {\n return results_.get(index); } else {\n return resultsBuilder_.getMessageOrBuilder(index);\n }\n }", "public entities.Torrent.NodeSearchResult.Builder addResultsBuilder() {\n return getResultsFieldBuilder().addBuilder(\n entities.Torrent.NodeSearchResult.getDefaultInstance());\n }", "private<T> void addManyResults(T... results)\n {\n int i =0;\n for(T result : results)\n {\n this.add(\"morgen-main-result\"+i, new LazyDynamicPrimitive<>(result));\n i++;\n }\n\n results = null; // Prevents Heap pollution\n }", "@Test\n public void testCombineRankHighPageRankWeight() {\n Iterator<Pair<Document, Double>> resultIterator = icsSearchEngine.searchQuery(Arrays.asList(\"anteater\"),\n 10, 1000000000.0);\n ImmutableList<Pair<Document, Double>> resultList = ImmutableList.copyOf(resultIterator);\n Assert.assertEquals(10, resultList.size());\n Assert.assertTrue(resultList.stream().limit(3).map(p -> p.getLeft())\n .anyMatch(doc -> doc.getText().contains(\"wics.ics.uci.edu\")));\n }", "public void setResults(ArrayList<Integer> results){\n this.results = results;\n }", "int getResultsCount();", "int getResultsCount();", "public int countResults() \n {\n return itsResults_size;\n }", "SearchResult findNext(SearchOptions searchOptions);", "public Builder addResults(entities.Torrent.NodeSearchResult value) {\n if (resultsBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureResultsIsMutable();\n results_.add(value);\n onChanged();\n } else {\n resultsBuilder_.addMessage(value);\n }\n return this;\n }", "private NodeSearchResult(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "void xsetNumberOfResults(org.apache.xmlbeans.XmlInt numberOfResults);", "public ClsNodeDocument[] GetDocuments (ClsNodeDocument[] searchDocs);", "private void numberResults ()\r\n {\r\n int partIndex = 0;\r\n\r\n for (Result result : connection.getResultMap().keySet()) {\r\n ScorePart scorePart = (ScorePart) result.getUnderlyingObject();\r\n scorePart.setId(++partIndex);\r\n }\r\n }", "public IScapSyncSearchResult[] getResults();", "public java.util.List<? extends entities.Torrent.NodeSearchResultOrBuilder>\n getResultsOrBuilderList() {\n if (resultsBuilder_ != null) {\n return resultsBuilder_.getMessageOrBuilderList();\n } else {\n return java.util.Collections.unmodifiableList(results_);\n }\n }", "@java.lang.Override\n public java.util.List<? extends entities.Torrent.NodeSearchResultOrBuilder>\n getResultsOrBuilderList() {\n return results_;\n }", "public int my_node_count();", "boolean getMoreResults();", "public entities.Torrent.NodeSearchResult.Builder addResultsBuilder(\n int index) {\n return getResultsFieldBuilder().addBuilder(\n index, entities.Torrent.NodeSearchResult.getDefaultInstance());\n }", "@Override\n\tprotected void parseResult() {\n\t\t\n\t}", "private void fetchNextBlock() {\n try {\n \tSearchClient _client = new SearchClient(\"cubansea-instance\");\n \tWebSearchResults _results = _client.webSearch(createNextRequest());\n \t\tfor(WebSearchResult _result: _results.listResults()) {\n \t\t\tresults.add(new YahooSearchResult(_result, cacheStatus+1));\n \t\t\tcacheStatus++;\n \t\t}\n \t\tif(resultCount == -1) resultCount = _results.getTotalResultsAvailable().intValue();\n } catch (IOException e) {\n\t\t\tthrow new TechnicalError(e);\n\t\t} catch (SearchException e) {\n\t\t\tthrow new TechnicalError(e);\n\t\t}\n\t}", "public void addAll(XResultSet r) {\n this.getNodeRefs().addAll(r.getNodeRefs());\n this.numberFound += r.numberFound;\n }", "@java.lang.Override\n public java.util.List<entities.Torrent.NodeSearchResult> getResultsList() {\n return results_;\n }", "@Test\n public void test002() {\n int total = response.extract().path(\"total\");\n\n\n System.out.println(\"------------------StartingTest---------------------------\");\n System.out.println(\"The search query is: \" + total);\n System.out.println(\"------------------End of Test---------------------------\");\n\n }", "public void setNumResults(int numResults) {\n mNumResults = numResults;\n }", "public ResultMap<BaseNode> findNodes(ObjectNode query, String searchTerm, ObjectNode traverse);", "public Builder setResults(\n int index, entities.Torrent.NodeSearchResult value) {\n if (resultsBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureResultsIsMutable();\n results_.set(index, value);\n onChanged();\n } else {\n resultsBuilder_.setMessage(index, value);\n }\n return this;\n }", "public ResultMap<BaseNode> findNodes(ObjectNode query, String searchTerm, ObjectNode traverse, Pagination pagination);", "public void rankMatches();", "public int numMatches();", "public void setMatches() {\r\n this.matches++;\r\n\r\n }", "public java.util.List<entities.Torrent.NodeSearchResult> getResultsList() {\n if (resultsBuilder_ == null) {\n return java.util.Collections.unmodifiableList(results_);\n } else {\n return resultsBuilder_.getMessageList();\n }\n }", "public Result getResults()\r\n {\r\n return result;\r\n }", "int countByExample(CrawlExample example);", "private int getHitsAndArticlesByURL(Category node, String url)\r\n\t{\r\n\t\tDocumentBuilderFactory domfac = DocumentBuilderFactory.newInstance();\r\n\t\tint NumRes = 0;\r\n\t\tString totalHits;\r\n\t\ttry{\r\n\t\t\tURL queryurl = new URL(url);\r\n\t\t\tURLConnection connection = queryurl.openConnection();\r\n\t\t\tconnection.setDoInput(true);\r\n\t\t\tInputStream inStream = connection.getInputStream();\r\n\t\t\tDocumentBuilder dombuilder = domfac.newDocumentBuilder();\r\n\t\t\tDocument doc = dombuilder.parse(inStream);\r\n\t\t\tElement root = doc.getDocumentElement();\r\n\t\t\tNodeList resultset_web = root.getElementsByTagName(\"resultset_web\");\r\n\t\t\tNode resultset = resultset_web.item(0);\r\n\t\t\t\r\n\t\t\ttotalHits = resultset.getAttributes().getNamedItem(\"totalhits\").getNodeValue();\r\n\t\t\tNumRes = Integer.parseInt(totalHits);\r\n\t\t\t\r\n\t\t\tint count = 0;\r\n\t\t\tNodeList results = resultset.getChildNodes(); \r\n\t\t\tif(results != null)\r\n\t\t\t{\t\t\t\r\n\t\t\t\tfor(int i = 0 ; i < results.getLength(); i++){\r\n\t\t\t\t\tNode result = results.item(i);\t\t\t\t\t\t\t\t\r\n\t\t\t\t\tArticle newArticle = new Article();\r\n\t\t\t\t\t\r\n\t\t\t\t\tif(result.getNodeType()==Node.ELEMENT_NODE){\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\tfor(Node node1 = result.getFirstChild(); node1 != null; node1 = node1.getNextSibling()){\r\n\t\t\t\t\t\t\tif(node1.getNodeType()==Node.ELEMENT_NODE){\t\t\t\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\tif(node1.getNodeName().equals(\"url\") && node1.getFirstChild() != null && count < 4){\r\n\t\t\t\t\t\t\t\t\tcount++;\r\n\t\t\t\t\t\t\t\t\tString pageUrl = node1.getFirstChild().getNodeValue();\r\n\t\t\t\t\t\t\t\t\tArticle article = new Article();\r\n\t\t\t\t\t\t\t\t\tarticle.URL = pageUrl;\r\n\t\t\t\t\t\t\t\t\tarticle.words = getWordsLynx.runLynx(pageUrl);\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\tnode.articles.add(article);\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\t\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\t\r\n\t\t}catch(ParserConfigurationException e){\r\n\t\t\te.printStackTrace();\r\n\t\t\treturn -1;\r\n\t\t}catch(SAXException e){\r\n\t\t\te.printStackTrace();\r\n\t\t\treturn -1;\r\n\t\t}catch(IOException e){\r\n\t\t\te.printStackTrace();\r\n\t\t\treturn -1;\r\n\t\t}\r\n\r\n\t\treturn NumRes;\r\n\t}", "public int numberOfOccorrence();", "@Test\n\tvoid getResultsTest() {\n\t\tassertEquals(22, utilities.getResults(-21));\n\t\tassertEquals(20, utilities.getResults(-20));\n\t\tassertEquals(40, utilities.getResults(-19));\n\t\tassertEquals(38, utilities.getResults(-18));\n\t\tassertEquals(22, utilities.getResults(21));\n\t\tassertEquals(20, utilities.getResults(20));\n\t\tassertEquals(22, utilities.getResults(2));\n\t\tassertEquals(22, utilities.getResults(1));\n\t}", "@Test\n public void testFindNMatches() {\n List<Path> files = new ArrayList<>();\n files.add(new File(String.join(File.separator, \"src\", \"test\", \"resources\"),\n \"logviewer-search-context-tests.log.test\").toPath());\n files.add(new File(String.join(File.separator, \"src\", \"test\", \"resources\"),\n \"logviewer-search-context-tests.log.gz\").toPath());\n\n final LogviewerLogSearchHandler handler = getSearchHandler();\n\n final List<Map<String, Object>> matches1 = handler.findNMatches(files, 20, 0, 0, \"needle\").getMatches();\n final List<Map<String, Object>> matches2 = handler.findNMatches(files, 20, 0, 126, \"needle\").getMatches();\n final List<Map<String, Object>> matches3 = handler.findNMatches(files, 20, 1, 0, \"needle\").getMatches();\n\n assertEquals(2, matches1.size());\n assertEquals(4, ((List) matches1.get(0).get(\"matches\")).size());\n assertEquals(4, ((List) matches1.get(1).get(\"matches\")).size());\n assertEquals(String.join(File.separator, \"test\", \"resources\", \"logviewer-search-context-tests.log.test\"), matches1.get(0).get(\"fileName\"));\n assertEquals(String.join(File.separator, \"test\", \"resources\", \"logviewer-search-context-tests.log.gz\"), matches1.get(1).get(\"fileName\"));\n\n assertEquals(2, ((List) matches2.get(0).get(\"matches\")).size());\n assertEquals(4, ((List) matches2.get(1).get(\"matches\")).size());\n\n assertEquals(1, matches3.size());\n assertEquals(4, ((List) matches3.get(0).get(\"matches\")).size());\n }", "void remoteSearch(String groupId, String type, String attr, \n String value, int threshold, String serviceHandler, \n DiscoveryListener listener)\n \tthrows IOException\n {\n Query query = new Query(groupId, type, attr, value, \n serviceHandler,listener);\n \n queries.put(listener, query);\n \n\t //if resource not found in local cache\n\t String requestId = getNextRequestId();\n\t \n\t int urisize =0;\n\t EndpointAddress[] myURIs = peer.getURIList();\n\t \n\t if (myURIs != null)\n\t urisize = myURIs.length;\n\t \n\t Element[] elm = new Element[9 + urisize];\n\t //Element[] elm = new Element[9];\n\t \n\t\n\t elm[0] = new Element(Message.MESSAGE_TYPE_TAG, Message.REQUEST_SEARCH,\n\t Message.JXTA_NAME_SPACE);\n\t elm[1] = new Element(Message.TYPE_TAG, type, \n\t Message.JXTA_NAME_SPACE);\n\t elm[2] = new Element(Message.ATTRIBUTE_TAG, attr, \n\t Message.JXTA_NAME_SPACE);\n\t elm[3] = new Element(Message.VALUE_TAG, value, \n\t Message.JXTA_NAME_SPACE);\n\t elm[4] = new Element(Message.THRESHOLD_TAG, Integer.toString(threshold), \n\t Message.JXTA_NAME_SPACE);\n\t elm[5] = new Element(Message.REQUESTID_TAG, requestId, \n\t Message.JXTA_NAME_SPACE);\n\t elm[6] = new Element(Message.ID_TAG, peer.getID().toString(), \n\t Message.JXTA_NAME_SPACE);\n\t elm[7] = new Element(Message.GROUP_ID_TAG, groupId, \n\t Message.JXTA_NAME_SPACE);\n\t elm[8] = new Element(Message.HOPCOUNT_TAG, Integer.toString(DEFAULT_HOP_COUNT), \n\t Message.JXTA_NAME_SPACE);\n\t\n\t if (urisize > 0)\n\t {\n\t\t for (int i = 0; i < myURIs.length; i++)\n\t\t {\n\t\t EndpointAddress uri = myURIs[i];\n\t\t uri = new EndpointAddress(uri, serviceName, serviceHandler);\n\t\t elm[9 + i] = new Element(NamedResource.URITAG + String.valueOf(i), uri.toString().getBytes(),\n\t\t Message.JXTA_NAME_SPACE, null);\n\t\t }\n\t }\n\t \n\t send(elm, serviceHandler);\n }", "public void setResults(ArrayOfFindResult results) {\n this.results = results;\n }", "@Test\n public void testCombinePageRankTfIdf() {\n\n Iterator<Pair<Document, Double>> resultIterator = icsSearchEngine.searchQuery(\n Arrays.asList(\"ISG\", \"Bren\", \"School\", \"UCI\"),\n 100, 100.0);\n ImmutableList<Pair<Document, Double>> resultList = ImmutableList.copyOf(resultIterator);\n\n // first result should be \"isg.ics.uci.edu\"\n Assert.assertEquals(\"isg.ics.uci.edu\", getDocumentUrl(resultList.get(0).getLeft().getText()));\n\n // top 10 should have URLs starting \"hobbes.ics.uci.edu\"\n Assert.assertTrue(resultList.stream().limit(10).map(p -> getDocumentUrl(p.getLeft().getText()))\n .anyMatch(p -> p.contains(\"hobbes.ics.uci.edu\")));\n\n // top 50 should have URL \"ipubmed2.ics.uci.edu\"\n Assert.assertTrue(resultList.stream().limit(50).map(p -> getDocumentUrl(p.getLeft().getText()))\n .anyMatch(p -> p.equals(\"ipubmed2.ics.uci.edu\")));\n\n }", "public void addMatch() {\n totalMatches ++;\n }", "int countByExample(CrawlTestExample example);", "int getNodeCount();", "int getNodeCount();", "public int getWrapperHits();", "entities.Torrent.SearchResponse getSearchResponse();", "public Builder addResults(\n int index, entities.Torrent.NodeSearchResult value) {\n if (resultsBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureResultsIsMutable();\n results_.add(index, value);\n onChanged();\n } else {\n resultsBuilder_.addMessage(index, value);\n }\n return this;\n }", "public SearchResults() {\n\t\tPageFactory.initElements(driver, this);\n\t}", "public entities.Torrent.NodeSearchResult getResults(int index) {\n if (resultsBuilder_ == null) {\n return results_.get(index);\n } else {\n return resultsBuilder_.getMessage(index);\n }\n }", "List<SearchResult> search(SearchQuery searchQuery);", "@Test\n public void test19(){\n // List<Integer> services = response.extract().path(\"data.findAll{it.services=='Samsung Experience'}.storeservices\");\n //List<HashMap<String, ?>> address = response.extract().path(\"data.findAll{it.service=='Samsung Experience'}.storeservices\");\n System.out.println(\"------------------StartingTest---------------------------\");\n System.out.println(\"The name of all services:\" );\n System.out.println(\"------------------End of Test---------------------------\");\n }", "@java.lang.Override\n public int getResultsCount() {\n return results_.size();\n }", "protected List<SearchResultElement> getResultElementsFromNodes(\n IProgressMonitor monitor, INodePO[] reuse) {\n final List<SearchResultElement> reuseLoc =\n new ArrayList<SearchResultElement>(reuse.length);\n\n for (INodePO node : reuse) {\n INodePO parent = node.getSpecAncestor();\n if (parent == null) {\n parent = node.getParentNode();\n }\n if (parent != null) {\n Long id = node.getId();\n String nodeName = GeneralLabelProvider.getTextImpl(node);\n reuseLoc.add(new SearchResultElement<Long>(NLS.bind(\n Messages.SearchResultPageElementLabel, new Object[] {\n parent.getName(), nodeName }), id,\n GeneralLabelProvider.getImageImpl(node),\n new NodeSearchResultElementAction(), node\n .getComment()));\n }\n monitor.worked(1);\n }\n return reuseLoc;\n }", "org.apache.xmlbeans.XmlInt xgetNumberOfResults();", "public int getNumResults() {\r\n\t\treturn this.numResults;\r\n\t}", "void loadResults(ArrayList<Comic> results, int totalItems);", "int nodeCount();", "@Override\r\n\tpublic void iterateCount() {\n\t\t\r\n\t}", "public void getNodesThatCall(PassedParameter pp, Set result) {\n if (USE_PARAMETER_MAP) {\n Set s = (Set)passedParamToNodes.get(pp);\n if (s == null) return;\n result.addAll(s);\n return;\n }\n for (Iterator i = this.nodeIterator(); i.hasNext(); ) {\n Node n = (Node)i.next();\n if ((n.passedParameters != null) && n.passedParameters.contains(pp))\n result.add(n);\n }\n }", "int getMatchedElements();", "private static Elements getResultsFromAppPage(Document doc) {\n Elements results = null;\n try {\n results = doc.getElementsByClass(\"attribute-container\");\n }\n catch (NullPointerException e){\n logger.info(\"no applications tab for current item\");\n return results;\n }\n logger.debug(\"total results \" + results.size());\n\n return results;\n }", "Map<String, Integer> getSearchResults(String searchTerm) {\n\n Map<String, Integer> libCount = new ConcurrentHashMap<>();\n\n try {\n Document document = Jsoup.connect(google + URLEncoder.encode(searchTerm, charset))\n .userAgent(userAgent)\n .referrer(\"http://www.google.com\")\n .get();\n\n Elements links = document.select(\"a[href]\");\n Set<String> urls = new HashSet<>();\n for (Element link: links) {\n if (link.attr(\"href\") != null && link.attr(\"href\").contains(\"=\")) {\n String url = link.attr(\"href\").split(\"=\")[1];\n if (url.contains(\"http\")) {\n urls.add(getDomainName(url));\n }\n }\n }\n\n CountDownLatch latch = new CountDownLatch(urls.size());\n\n for (String url: urls) {\n AnalysePage analysePage = new AnalysePage(url);\n completionService.submit(analysePage);\n }\n\n int completed = 0;\n\n while(completed < urls.size()) {\n try {\n Future<Set<String>> resultFuture = completionService.take();\n Set<String> strings = resultFuture.get();\n for (String lib : strings) {\n Integer count = libCount.get(lib);\n if (count == null) {\n libCount.put(lib, 1);\n } else {\n libCount.put(lib, ++count);\n }\n }\n completed++;\n latch.countDown();\n } catch (InterruptedException | ExecutionException e) {\n e.printStackTrace();\n }\n }\n try {\n latch.await();\n } catch (InterruptedException e) {\n e.printStackTrace();\n }\n\n } catch (MalformedURLException e) {\n System.out.println(\"The URL is Malformed\");\n } catch (UnsupportedEncodingException e) {\n System.out.println(\"Incorrect URL encoding\");\n } catch (IOException e) {\n System.out.println(\"Unable to read from google\");\n e.printStackTrace();\n }\n executor.shutdown();\n return libCount;\n }", "int countByExample(CfgSearchRecommendExample example);", "public static List<String> get_RankedResults(List<Doc_accum> results) {\n List<String> filenames = new ArrayList();\n\n if (results.isEmpty()) {\n GUI.JListModel.clear();\n GUI.ResultsLabel.setText(\"\");\n clickList = false;\n\n String notFound = \"Your search '\" + query + \"' is not found in any documents\";\n GUI.ResultsLabel.setText(notFound);\n\n } else {\n clickList = false;\n\n //clears list and repopulates it \n String docInfo;\n\n GUI.JListModel.clear();\n GUI.ResultsLabel.setText(\"\");\n\n for (Doc_accum p : results) {\n if (queryMode) {\n corpus.getDocument(p.getPosting().getDocumentId()).getContent();\n }\n //docInfo = corpus.getDocument(p.getPosting().getDocumentId()).getTitle();\n docInfo = corpus.getDocument(p.getPosting().getDocumentId()).getFileName().toString();\n filenames.add(docInfo);\n\n }\n }\n\n GUI.SearchBarTextField.selectAll();\n\n return filenames;\n }", "@Test\n public void resultNumberTest() throws InterruptedException, ParseException {\n HomePageNavigation.gotoHomePage();\n Thread.sleep(2000);\n SearchNavigation.gotoSearchResultsPage(index,\"\");\n assertTrue(\"Message does not exist\", CommonUtils.extractTotalResults() >= 1);\n }", "OResultSet fetchNext(int n);", "public static void test1(){\n\t\tlong[] testCase=new long[]{2034912444,1511277043};\r\n\t\tList<String> rs=SearchWrapper.search( testCase[0], testCase[testCase.length-1]);\r\n\t\t\r\n\t}", "public void testSearchByContent() {\n Message m1 = new Message(\"test\",\"bla bla david moshe\",_u1);\n Message.incId();\n try {\n Thread.sleep(10);\n } catch (InterruptedException ex) {\n ex.printStackTrace();\n }\n Message m2 = new Message(\"test2\",\"bla2 bla david tikva moshe\",_u1);\n Message.incId();\n Message m3 = new Message(\"test2\",\"moshe cohen\",_u1);\n Message.incId();\n\n this.allMsgs.put(m1.getMsg_id(), m1);\n this.allMsgs.put(m2.getMsg_id(), m2);\n this.allMsgs.put(m3.getMsg_id(), m3);\n\n this.searchEngine.addData(m1);\n this.searchEngine.addData(m2);\n this.searchEngine.addData(m3);\n\n /* SearchHit[] result = this.searchEngine.searchByContent(\"bla2\", 0,1);\n assertTrue(result.length==1);\n assertTrue(result[0].getMessage().equals(m2));\n\n SearchHit[] result2 = this.searchEngine.searchByContent(\"bla david tikva\", 0,2);\n assertTrue(result2.length==1);\n assertEquals(result2[0].getScore(),3.0);\n //assertEquals(result2[1].getScore(),2.0);\n assertTrue(result2[0].getMessage().equals(m2));\n //assertTrue(result2[1].getMessage().equals(m1));\n\n SearchHit[] result3 = this.searchEngine.searchByContent(\"bla2 tikva\", 0, 5);\n assertTrue(result3.length==0);\n */\n\n/*\n SearchHit[] result4 = this.searchEngine.searchByContent(\"bla OR tikva\", 0, 5);\n assertTrue(result4.length==2);\n assertTrue(result4[0].getMessage().equals(m2));\n assertTrue(result4[1].getMessage().equals(m1));\n\n SearchHit[] result5 = this.searchEngine.searchByContent(\"bla AND cohen\", 0, 5);\n assertTrue(result5.length==0);\n\n result5 = this.searchEngine.searchByContent(\"bla AND moshe\",0,5);\n assertTrue(result5.length==2);\n assertTrue(result5[0].getScore() == result5[1].getScore());\n assertTrue(result5[0].getMessage().equals(m2));\n assertTrue(result5[1].getMessage().equals(m1));\n\n result5 = this.searchEngine.searchByContent(\"bla AND moshe\", 10, 11);\n assertTrue(result5.length==0);\n */\n\n }", "public Results() {\n\t\t\t// TODO Auto-generated constructor stub\n\t\t}", "Object getNumberMatched();", "entities.Torrent.LocalSearchResponse getLocalSearchResponse();", "public void setResults(ArrayList results) {\n this.results = results;\n }", "public abstract void fetchNodes(NodeCallback callback);", "public void search() {\r\n \t\r\n }", "private void searchFunction() {\n\t\t\r\n\t}", "Match getMatches();", "public boolean execute(int i) {\n result.add(nodeMap.get(i));\n return true; // return true here to continue receiving results\n }", "void setSearchResults(LazyDataModel<ReagentResult> searchResults);", "@Test\n public void testMultiSearch_withoutParens() {\n List<String> fields = new ArrayList<>();\n fields.add(\"sn\");\n fields.add(\"mail\");\n\n BridgeRequest request = new BridgeRequest();\n request.setStructure(\"user\");\n request.setFields(fields);\n request.setQuery(\"memberOf=cn=VPN Users,cn=Users,dc=kineticdata,dc=com\");\n\n BridgeError expectedError = null;\n try {\n getAdapter().search(request);\n } catch (BridgeError e) {\n expectedError = e;\n }\n\n assertNotNull(expectedError);\n }", "public entities.Torrent.NodeSearchResult.Builder getResultsBuilder(\n int index) {\n return getResultsFieldBuilder().getBuilder(index);\n }", "LazyDataModel<ReagentResult> getSearchResults();", "public Long getElementCount();", "public List<NodeInfo> getStoredNodes() {\n List<NodeInfo> nodes = new ArrayList<>();\n\n SearchResponse response = client.prepareSearch(\"k8s_*\").setTypes(\"node\").setSize(10000).get();\n\n SearchHit[] hits = response.getHits().getHits();\n log.info(String.format(\"The length of node search hits is [%d]\", hits.length));\n\n ObjectMapper mapper = new ObjectMapper();\n try {\n for (SearchHit hit : hits) {\n// log.info(hit.getSourceAsString());\n NodeInfo node = mapper.readValue(hit.getSourceAsString(), NodeInfo.class);\n nodes.add(node);\n }\n } catch (Exception e) {\n e.printStackTrace();\n }\n return nodes;\n }", "public void search() {\n }", "public void onSearchResults(String term, List<WikiPage> results);", "List<T> getResults();", "@Test\n public void getResultTest() throws IOException {\n System.setProperty(\"REPO_HG_19_PATH\", REPO_PATH_RANGES);\n System.setProperty(\"REPO_HG_38_PATH\", REPO_PATH_RANGES);\n System.setProperty(\"MAX_RANGE_RECORDS_IN_RESULT\", \"10\");\n\n // test common valid flow\n Response response = new Main().getResult19(\"X:77633124\");\n Assert.assertEquals(OK.getStatusCode(), response.getStatus());\n System.out.println(response.getEntity());\n Assert.assertNotNull(response.getEntity());\n JsonNode result = ((ArrayNode) new ObjectMapper().readTree((String)response.getEntity()).get(\"entries\")).get(0);\n Assert.assertEquals(\"G\", result.get(\"ref\").asText());\n Assert.assertEquals(\"A\", result.get(\"alt\").asText());\n ArrayNode homArray = (ArrayNode) result.get(\"hom\");\n Assert.assertEquals(1, homArray.size());\n Assert.assertEquals(\"SRR14860530\", homArray.get(0).asText());\n ArrayNode hetArray = (ArrayNode) result.get(\"het\");\n Assert.assertEquals(1, hetArray.size());\n Assert.assertEquals(\"SRR14860527\", hetArray.get(0).asText());\n\n // test lower case\n response = new Main().getResult(\"x:77633124\", REPO_PATH_RANGES, 10);\n Assert.assertEquals(OK.getStatusCode(), response.getStatus());\n System.out.println(response.getEntity());\n Assert.assertNotNull(response.getEntity());\n result = ((ArrayNode) new ObjectMapper().readTree((String)response.getEntity()).get(\"entries\")).get(0);\n Assert.assertEquals(\"G\", result.get(\"ref\").asText());\n Assert.assertEquals(\"A\", result.get(\"alt\").asText());\n homArray = (ArrayNode) result.get(\"hom\");\n Assert.assertEquals(1, homArray.size());\n Assert.assertEquals(\"SRR14860530\", homArray.get(0).asText());\n hetArray = (ArrayNode) result.get(\"het\");\n Assert.assertEquals(1, hetArray.size());\n Assert.assertEquals(\"SRR14860527\", hetArray.get(0).asText());\n\n //test range query\n response = new Main().getResult(\"2:25234482-26501857\", REPO_PATH_RANGES, 10);\n Assert.assertEquals(OK.getStatusCode(), response.getStatus());\n System.out.println(response.getEntity());\n\n JsonNode jsonResult = new ObjectMapper().readTree((String)response.getEntity());\n Assert.assertEquals(11, jsonResult.get(\"count\").asInt());\n\n ArrayNode dataArray = (ArrayNode)jsonResult.get(\"data\");\n Assert.assertEquals(10, dataArray.size());\n\n JsonNode first = dataArray.get(0);\n Assert.assertEquals(25234482, first.get(\"pos\").asInt());\n Assert.assertEquals(\"C\", ((ArrayNode)first.get(\"entries\")).get(0).get(\"ref\").asText());\n Assert.assertEquals(\"T\", ((ArrayNode)first.get(\"entries\")).get(0).get(\"alt\").asText());\n\n JsonNode last = dataArray.get(9);\n Assert.assertEquals(25313958, last.get(\"pos\").asInt());\n Assert.assertEquals(\"G\", ((ArrayNode)last.get(\"entries\")).get(0).get(\"ref\").asText());\n Assert.assertEquals(\"A\", ((ArrayNode)last.get(\"entries\")).get(0).get(\"alt\").asText());\n\n // test empty case\n response = new Main().getResult(\"x:15000112\", REPO_PATH_RANGES, 10);\n Assert.assertEquals(OK.getStatusCode(), response.getStatus());\n System.out.println(response.getEntity());\n Assert.assertNotNull(response.getEntity());\n Assert.assertEquals(EMPTY_RESULT, response.getEntity());\n\n // test bad input 1\n response = new Main().getResult(\"adkwjfh\", REPO_PATH_RANGES, 10);\n Assert.assertEquals(BAD_REQUEST.getStatusCode(), response.getStatus());\n\n // test bad input 2\n response = new Main().getResult(\"s:sss\", REPO_PATH_RANGES, 10);\n Assert.assertEquals(BAD_REQUEST.getStatusCode(), response.getStatus());\n\n // test bad input 3\n response = new Main().getResult(\"s:12345\", REPO_PATH_RANGES, 10);\n Assert.assertEquals(BAD_REQUEST.getStatusCode(), response.getStatus());\n\n // test bad input 4\n response = new Main().getResult(\"x:500000000\", REPO_PATH_RANGES, 10);\n Assert.assertEquals(BAD_REQUEST.getStatusCode(), response.getStatus());\n }" ]
[ "0.6862526", "0.63839877", "0.62841016", "0.59894204", "0.58342236", "0.5776431", "0.5734007", "0.5712916", "0.5670051", "0.5631001", "0.56302875", "0.56143415", "0.5605271", "0.55756223", "0.55691606", "0.55633014", "0.5545001", "0.5545001", "0.55326474", "0.5393185", "0.53787273", "0.5369912", "0.5346187", "0.53321797", "0.5301303", "0.5284407", "0.52722657", "0.5267805", "0.52622724", "0.52575964", "0.5252404", "0.52506864", "0.52356696", "0.52289075", "0.52278465", "0.520914", "0.52049226", "0.5202083", "0.5194397", "0.51886714", "0.5180487", "0.51756376", "0.5166178", "0.51628715", "0.51591974", "0.5154797", "0.5154727", "0.51516366", "0.51494604", "0.5139536", "0.5133444", "0.51260865", "0.5104945", "0.5094455", "0.5092275", "0.5086912", "0.5086912", "0.50723696", "0.50577176", "0.5052879", "0.50482905", "0.5031012", "0.50290823", "0.5027254", "0.501943", "0.50188446", "0.5015679", "0.5012513", "0.50083816", "0.50054836", "0.50020415", "0.5001236", "0.49921787", "0.49732155", "0.49654254", "0.49647364", "0.4953986", "0.4948581", "0.49465808", "0.49438965", "0.49316013", "0.49230373", "0.49203607", "0.49165064", "0.49132589", "0.49128133", "0.49103022", "0.4900622", "0.4899564", "0.4896023", "0.4895026", "0.48880875", "0.48773724", "0.4873716", "0.48736602", "0.48714477", "0.48663822", "0.48601002", "0.4859893", "0.4855802" ]
0.5363887
22
repeated .NodeSearchResult results = 3;
@java.lang.Override public entities.Torrent.NodeSearchResultOrBuilder getResultsOrBuilder( int index) { return results_.get(index); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "entities.Torrent.NodeSearchResult getResults(int index);", "SearchResult findNext(SearchResult result);", "entities.Torrent.NodeSearchResultOrBuilder getResultsOrBuilder(\n int index);", "java.util.List<entities.Torrent.NodeSearchResult>\n getResultsList();", "java.util.List<? extends entities.Torrent.NodeSearchResultOrBuilder>\n getResultsOrBuilderList();", "XResultSet() {\n this.nodeRefs = new LinkedList<>();\n this.numberFound = 0;\n }", "void setNumberOfResults(int numberOfResults);", "public Builder addAllResults(\n java.lang.Iterable<? extends entities.Torrent.NodeSearchResult> values) {\n if (resultsBuilder_ == null) {\n ensureResultsIsMutable();\n com.google.protobuf.AbstractMessageLite.Builder.addAll(\n values, results_);\n onChanged();\n } else {\n resultsBuilder_.addAllMessages(values);\n }\n return this;\n }", "public GameList getSearchResult(){ return m_NewSearchResult;}", "int getNumberOfResults();", "public entities.Torrent.NodeSearchResultOrBuilder getResultsOrBuilder(\n int index) {\n if (resultsBuilder_ == null) {\n return results_.get(index); } else {\n return resultsBuilder_.getMessageOrBuilder(index);\n }\n }", "public entities.Torrent.NodeSearchResult.Builder addResultsBuilder() {\n return getResultsFieldBuilder().addBuilder(\n entities.Torrent.NodeSearchResult.getDefaultInstance());\n }", "private<T> void addManyResults(T... results)\n {\n int i =0;\n for(T result : results)\n {\n this.add(\"morgen-main-result\"+i, new LazyDynamicPrimitive<>(result));\n i++;\n }\n\n results = null; // Prevents Heap pollution\n }", "@Test\n public void testCombineRankHighPageRankWeight() {\n Iterator<Pair<Document, Double>> resultIterator = icsSearchEngine.searchQuery(Arrays.asList(\"anteater\"),\n 10, 1000000000.0);\n ImmutableList<Pair<Document, Double>> resultList = ImmutableList.copyOf(resultIterator);\n Assert.assertEquals(10, resultList.size());\n Assert.assertTrue(resultList.stream().limit(3).map(p -> p.getLeft())\n .anyMatch(doc -> doc.getText().contains(\"wics.ics.uci.edu\")));\n }", "public void setResults(ArrayList<Integer> results){\n this.results = results;\n }", "int getResultsCount();", "int getResultsCount();", "public int countResults() \n {\n return itsResults_size;\n }", "SearchResult findNext(SearchOptions searchOptions);", "public Builder addResults(entities.Torrent.NodeSearchResult value) {\n if (resultsBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureResultsIsMutable();\n results_.add(value);\n onChanged();\n } else {\n resultsBuilder_.addMessage(value);\n }\n return this;\n }", "private NodeSearchResult(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "@java.lang.Override\n public entities.Torrent.NodeSearchResult getResults(int index) {\n return results_.get(index);\n }", "void xsetNumberOfResults(org.apache.xmlbeans.XmlInt numberOfResults);", "public ClsNodeDocument[] GetDocuments (ClsNodeDocument[] searchDocs);", "private void numberResults ()\r\n {\r\n int partIndex = 0;\r\n\r\n for (Result result : connection.getResultMap().keySet()) {\r\n ScorePart scorePart = (ScorePart) result.getUnderlyingObject();\r\n scorePart.setId(++partIndex);\r\n }\r\n }", "public IScapSyncSearchResult[] getResults();", "public java.util.List<? extends entities.Torrent.NodeSearchResultOrBuilder>\n getResultsOrBuilderList() {\n if (resultsBuilder_ != null) {\n return resultsBuilder_.getMessageOrBuilderList();\n } else {\n return java.util.Collections.unmodifiableList(results_);\n }\n }", "@java.lang.Override\n public java.util.List<? extends entities.Torrent.NodeSearchResultOrBuilder>\n getResultsOrBuilderList() {\n return results_;\n }", "public int my_node_count();", "boolean getMoreResults();", "public entities.Torrent.NodeSearchResult.Builder addResultsBuilder(\n int index) {\n return getResultsFieldBuilder().addBuilder(\n index, entities.Torrent.NodeSearchResult.getDefaultInstance());\n }", "@Override\n\tprotected void parseResult() {\n\t\t\n\t}", "private void fetchNextBlock() {\n try {\n \tSearchClient _client = new SearchClient(\"cubansea-instance\");\n \tWebSearchResults _results = _client.webSearch(createNextRequest());\n \t\tfor(WebSearchResult _result: _results.listResults()) {\n \t\t\tresults.add(new YahooSearchResult(_result, cacheStatus+1));\n \t\t\tcacheStatus++;\n \t\t}\n \t\tif(resultCount == -1) resultCount = _results.getTotalResultsAvailable().intValue();\n } catch (IOException e) {\n\t\t\tthrow new TechnicalError(e);\n\t\t} catch (SearchException e) {\n\t\t\tthrow new TechnicalError(e);\n\t\t}\n\t}", "public void addAll(XResultSet r) {\n this.getNodeRefs().addAll(r.getNodeRefs());\n this.numberFound += r.numberFound;\n }", "@java.lang.Override\n public java.util.List<entities.Torrent.NodeSearchResult> getResultsList() {\n return results_;\n }", "@Test\n public void test002() {\n int total = response.extract().path(\"total\");\n\n\n System.out.println(\"------------------StartingTest---------------------------\");\n System.out.println(\"The search query is: \" + total);\n System.out.println(\"------------------End of Test---------------------------\");\n\n }", "public void setNumResults(int numResults) {\n mNumResults = numResults;\n }", "public ResultMap<BaseNode> findNodes(ObjectNode query, String searchTerm, ObjectNode traverse);", "public Builder setResults(\n int index, entities.Torrent.NodeSearchResult value) {\n if (resultsBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureResultsIsMutable();\n results_.set(index, value);\n onChanged();\n } else {\n resultsBuilder_.setMessage(index, value);\n }\n return this;\n }", "public ResultMap<BaseNode> findNodes(ObjectNode query, String searchTerm, ObjectNode traverse, Pagination pagination);", "public void rankMatches();", "public int numMatches();", "public void setMatches() {\r\n this.matches++;\r\n\r\n }", "public java.util.List<entities.Torrent.NodeSearchResult> getResultsList() {\n if (resultsBuilder_ == null) {\n return java.util.Collections.unmodifiableList(results_);\n } else {\n return resultsBuilder_.getMessageList();\n }\n }", "public Result getResults()\r\n {\r\n return result;\r\n }", "int countByExample(CrawlExample example);", "private int getHitsAndArticlesByURL(Category node, String url)\r\n\t{\r\n\t\tDocumentBuilderFactory domfac = DocumentBuilderFactory.newInstance();\r\n\t\tint NumRes = 0;\r\n\t\tString totalHits;\r\n\t\ttry{\r\n\t\t\tURL queryurl = new URL(url);\r\n\t\t\tURLConnection connection = queryurl.openConnection();\r\n\t\t\tconnection.setDoInput(true);\r\n\t\t\tInputStream inStream = connection.getInputStream();\r\n\t\t\tDocumentBuilder dombuilder = domfac.newDocumentBuilder();\r\n\t\t\tDocument doc = dombuilder.parse(inStream);\r\n\t\t\tElement root = doc.getDocumentElement();\r\n\t\t\tNodeList resultset_web = root.getElementsByTagName(\"resultset_web\");\r\n\t\t\tNode resultset = resultset_web.item(0);\r\n\t\t\t\r\n\t\t\ttotalHits = resultset.getAttributes().getNamedItem(\"totalhits\").getNodeValue();\r\n\t\t\tNumRes = Integer.parseInt(totalHits);\r\n\t\t\t\r\n\t\t\tint count = 0;\r\n\t\t\tNodeList results = resultset.getChildNodes(); \r\n\t\t\tif(results != null)\r\n\t\t\t{\t\t\t\r\n\t\t\t\tfor(int i = 0 ; i < results.getLength(); i++){\r\n\t\t\t\t\tNode result = results.item(i);\t\t\t\t\t\t\t\t\r\n\t\t\t\t\tArticle newArticle = new Article();\r\n\t\t\t\t\t\r\n\t\t\t\t\tif(result.getNodeType()==Node.ELEMENT_NODE){\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\tfor(Node node1 = result.getFirstChild(); node1 != null; node1 = node1.getNextSibling()){\r\n\t\t\t\t\t\t\tif(node1.getNodeType()==Node.ELEMENT_NODE){\t\t\t\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\tif(node1.getNodeName().equals(\"url\") && node1.getFirstChild() != null && count < 4){\r\n\t\t\t\t\t\t\t\t\tcount++;\r\n\t\t\t\t\t\t\t\t\tString pageUrl = node1.getFirstChild().getNodeValue();\r\n\t\t\t\t\t\t\t\t\tArticle article = new Article();\r\n\t\t\t\t\t\t\t\t\tarticle.URL = pageUrl;\r\n\t\t\t\t\t\t\t\t\tarticle.words = getWordsLynx.runLynx(pageUrl);\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\tnode.articles.add(article);\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\t\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\t\r\n\t\t}catch(ParserConfigurationException e){\r\n\t\t\te.printStackTrace();\r\n\t\t\treturn -1;\r\n\t\t}catch(SAXException e){\r\n\t\t\te.printStackTrace();\r\n\t\t\treturn -1;\r\n\t\t}catch(IOException e){\r\n\t\t\te.printStackTrace();\r\n\t\t\treturn -1;\r\n\t\t}\r\n\r\n\t\treturn NumRes;\r\n\t}", "public int numberOfOccorrence();", "@Test\n\tvoid getResultsTest() {\n\t\tassertEquals(22, utilities.getResults(-21));\n\t\tassertEquals(20, utilities.getResults(-20));\n\t\tassertEquals(40, utilities.getResults(-19));\n\t\tassertEquals(38, utilities.getResults(-18));\n\t\tassertEquals(22, utilities.getResults(21));\n\t\tassertEquals(20, utilities.getResults(20));\n\t\tassertEquals(22, utilities.getResults(2));\n\t\tassertEquals(22, utilities.getResults(1));\n\t}", "@Test\n public void testFindNMatches() {\n List<Path> files = new ArrayList<>();\n files.add(new File(String.join(File.separator, \"src\", \"test\", \"resources\"),\n \"logviewer-search-context-tests.log.test\").toPath());\n files.add(new File(String.join(File.separator, \"src\", \"test\", \"resources\"),\n \"logviewer-search-context-tests.log.gz\").toPath());\n\n final LogviewerLogSearchHandler handler = getSearchHandler();\n\n final List<Map<String, Object>> matches1 = handler.findNMatches(files, 20, 0, 0, \"needle\").getMatches();\n final List<Map<String, Object>> matches2 = handler.findNMatches(files, 20, 0, 126, \"needle\").getMatches();\n final List<Map<String, Object>> matches3 = handler.findNMatches(files, 20, 1, 0, \"needle\").getMatches();\n\n assertEquals(2, matches1.size());\n assertEquals(4, ((List) matches1.get(0).get(\"matches\")).size());\n assertEquals(4, ((List) matches1.get(1).get(\"matches\")).size());\n assertEquals(String.join(File.separator, \"test\", \"resources\", \"logviewer-search-context-tests.log.test\"), matches1.get(0).get(\"fileName\"));\n assertEquals(String.join(File.separator, \"test\", \"resources\", \"logviewer-search-context-tests.log.gz\"), matches1.get(1).get(\"fileName\"));\n\n assertEquals(2, ((List) matches2.get(0).get(\"matches\")).size());\n assertEquals(4, ((List) matches2.get(1).get(\"matches\")).size());\n\n assertEquals(1, matches3.size());\n assertEquals(4, ((List) matches3.get(0).get(\"matches\")).size());\n }", "void remoteSearch(String groupId, String type, String attr, \n String value, int threshold, String serviceHandler, \n DiscoveryListener listener)\n \tthrows IOException\n {\n Query query = new Query(groupId, type, attr, value, \n serviceHandler,listener);\n \n queries.put(listener, query);\n \n\t //if resource not found in local cache\n\t String requestId = getNextRequestId();\n\t \n\t int urisize =0;\n\t EndpointAddress[] myURIs = peer.getURIList();\n\t \n\t if (myURIs != null)\n\t urisize = myURIs.length;\n\t \n\t Element[] elm = new Element[9 + urisize];\n\t //Element[] elm = new Element[9];\n\t \n\t\n\t elm[0] = new Element(Message.MESSAGE_TYPE_TAG, Message.REQUEST_SEARCH,\n\t Message.JXTA_NAME_SPACE);\n\t elm[1] = new Element(Message.TYPE_TAG, type, \n\t Message.JXTA_NAME_SPACE);\n\t elm[2] = new Element(Message.ATTRIBUTE_TAG, attr, \n\t Message.JXTA_NAME_SPACE);\n\t elm[3] = new Element(Message.VALUE_TAG, value, \n\t Message.JXTA_NAME_SPACE);\n\t elm[4] = new Element(Message.THRESHOLD_TAG, Integer.toString(threshold), \n\t Message.JXTA_NAME_SPACE);\n\t elm[5] = new Element(Message.REQUESTID_TAG, requestId, \n\t Message.JXTA_NAME_SPACE);\n\t elm[6] = new Element(Message.ID_TAG, peer.getID().toString(), \n\t Message.JXTA_NAME_SPACE);\n\t elm[7] = new Element(Message.GROUP_ID_TAG, groupId, \n\t Message.JXTA_NAME_SPACE);\n\t elm[8] = new Element(Message.HOPCOUNT_TAG, Integer.toString(DEFAULT_HOP_COUNT), \n\t Message.JXTA_NAME_SPACE);\n\t\n\t if (urisize > 0)\n\t {\n\t\t for (int i = 0; i < myURIs.length; i++)\n\t\t {\n\t\t EndpointAddress uri = myURIs[i];\n\t\t uri = new EndpointAddress(uri, serviceName, serviceHandler);\n\t\t elm[9 + i] = new Element(NamedResource.URITAG + String.valueOf(i), uri.toString().getBytes(),\n\t\t Message.JXTA_NAME_SPACE, null);\n\t\t }\n\t }\n\t \n\t send(elm, serviceHandler);\n }", "public void setResults(ArrayOfFindResult results) {\n this.results = results;\n }", "@Test\n public void testCombinePageRankTfIdf() {\n\n Iterator<Pair<Document, Double>> resultIterator = icsSearchEngine.searchQuery(\n Arrays.asList(\"ISG\", \"Bren\", \"School\", \"UCI\"),\n 100, 100.0);\n ImmutableList<Pair<Document, Double>> resultList = ImmutableList.copyOf(resultIterator);\n\n // first result should be \"isg.ics.uci.edu\"\n Assert.assertEquals(\"isg.ics.uci.edu\", getDocumentUrl(resultList.get(0).getLeft().getText()));\n\n // top 10 should have URLs starting \"hobbes.ics.uci.edu\"\n Assert.assertTrue(resultList.stream().limit(10).map(p -> getDocumentUrl(p.getLeft().getText()))\n .anyMatch(p -> p.contains(\"hobbes.ics.uci.edu\")));\n\n // top 50 should have URL \"ipubmed2.ics.uci.edu\"\n Assert.assertTrue(resultList.stream().limit(50).map(p -> getDocumentUrl(p.getLeft().getText()))\n .anyMatch(p -> p.equals(\"ipubmed2.ics.uci.edu\")));\n\n }", "public void addMatch() {\n totalMatches ++;\n }", "int countByExample(CrawlTestExample example);", "int getNodeCount();", "int getNodeCount();", "public int getWrapperHits();", "entities.Torrent.SearchResponse getSearchResponse();", "public Builder addResults(\n int index, entities.Torrent.NodeSearchResult value) {\n if (resultsBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureResultsIsMutable();\n results_.add(index, value);\n onChanged();\n } else {\n resultsBuilder_.addMessage(index, value);\n }\n return this;\n }", "public SearchResults() {\n\t\tPageFactory.initElements(driver, this);\n\t}", "public entities.Torrent.NodeSearchResult getResults(int index) {\n if (resultsBuilder_ == null) {\n return results_.get(index);\n } else {\n return resultsBuilder_.getMessage(index);\n }\n }", "List<SearchResult> search(SearchQuery searchQuery);", "@Test\n public void test19(){\n // List<Integer> services = response.extract().path(\"data.findAll{it.services=='Samsung Experience'}.storeservices\");\n //List<HashMap<String, ?>> address = response.extract().path(\"data.findAll{it.service=='Samsung Experience'}.storeservices\");\n System.out.println(\"------------------StartingTest---------------------------\");\n System.out.println(\"The name of all services:\" );\n System.out.println(\"------------------End of Test---------------------------\");\n }", "@java.lang.Override\n public int getResultsCount() {\n return results_.size();\n }", "protected List<SearchResultElement> getResultElementsFromNodes(\n IProgressMonitor monitor, INodePO[] reuse) {\n final List<SearchResultElement> reuseLoc =\n new ArrayList<SearchResultElement>(reuse.length);\n\n for (INodePO node : reuse) {\n INodePO parent = node.getSpecAncestor();\n if (parent == null) {\n parent = node.getParentNode();\n }\n if (parent != null) {\n Long id = node.getId();\n String nodeName = GeneralLabelProvider.getTextImpl(node);\n reuseLoc.add(new SearchResultElement<Long>(NLS.bind(\n Messages.SearchResultPageElementLabel, new Object[] {\n parent.getName(), nodeName }), id,\n GeneralLabelProvider.getImageImpl(node),\n new NodeSearchResultElementAction(), node\n .getComment()));\n }\n monitor.worked(1);\n }\n return reuseLoc;\n }", "org.apache.xmlbeans.XmlInt xgetNumberOfResults();", "public int getNumResults() {\r\n\t\treturn this.numResults;\r\n\t}", "void loadResults(ArrayList<Comic> results, int totalItems);", "int nodeCount();", "@Override\r\n\tpublic void iterateCount() {\n\t\t\r\n\t}", "public void getNodesThatCall(PassedParameter pp, Set result) {\n if (USE_PARAMETER_MAP) {\n Set s = (Set)passedParamToNodes.get(pp);\n if (s == null) return;\n result.addAll(s);\n return;\n }\n for (Iterator i = this.nodeIterator(); i.hasNext(); ) {\n Node n = (Node)i.next();\n if ((n.passedParameters != null) && n.passedParameters.contains(pp))\n result.add(n);\n }\n }", "int getMatchedElements();", "private static Elements getResultsFromAppPage(Document doc) {\n Elements results = null;\n try {\n results = doc.getElementsByClass(\"attribute-container\");\n }\n catch (NullPointerException e){\n logger.info(\"no applications tab for current item\");\n return results;\n }\n logger.debug(\"total results \" + results.size());\n\n return results;\n }", "Map<String, Integer> getSearchResults(String searchTerm) {\n\n Map<String, Integer> libCount = new ConcurrentHashMap<>();\n\n try {\n Document document = Jsoup.connect(google + URLEncoder.encode(searchTerm, charset))\n .userAgent(userAgent)\n .referrer(\"http://www.google.com\")\n .get();\n\n Elements links = document.select(\"a[href]\");\n Set<String> urls = new HashSet<>();\n for (Element link: links) {\n if (link.attr(\"href\") != null && link.attr(\"href\").contains(\"=\")) {\n String url = link.attr(\"href\").split(\"=\")[1];\n if (url.contains(\"http\")) {\n urls.add(getDomainName(url));\n }\n }\n }\n\n CountDownLatch latch = new CountDownLatch(urls.size());\n\n for (String url: urls) {\n AnalysePage analysePage = new AnalysePage(url);\n completionService.submit(analysePage);\n }\n\n int completed = 0;\n\n while(completed < urls.size()) {\n try {\n Future<Set<String>> resultFuture = completionService.take();\n Set<String> strings = resultFuture.get();\n for (String lib : strings) {\n Integer count = libCount.get(lib);\n if (count == null) {\n libCount.put(lib, 1);\n } else {\n libCount.put(lib, ++count);\n }\n }\n completed++;\n latch.countDown();\n } catch (InterruptedException | ExecutionException e) {\n e.printStackTrace();\n }\n }\n try {\n latch.await();\n } catch (InterruptedException e) {\n e.printStackTrace();\n }\n\n } catch (MalformedURLException e) {\n System.out.println(\"The URL is Malformed\");\n } catch (UnsupportedEncodingException e) {\n System.out.println(\"Incorrect URL encoding\");\n } catch (IOException e) {\n System.out.println(\"Unable to read from google\");\n e.printStackTrace();\n }\n executor.shutdown();\n return libCount;\n }", "int countByExample(CfgSearchRecommendExample example);", "public static List<String> get_RankedResults(List<Doc_accum> results) {\n List<String> filenames = new ArrayList();\n\n if (results.isEmpty()) {\n GUI.JListModel.clear();\n GUI.ResultsLabel.setText(\"\");\n clickList = false;\n\n String notFound = \"Your search '\" + query + \"' is not found in any documents\";\n GUI.ResultsLabel.setText(notFound);\n\n } else {\n clickList = false;\n\n //clears list and repopulates it \n String docInfo;\n\n GUI.JListModel.clear();\n GUI.ResultsLabel.setText(\"\");\n\n for (Doc_accum p : results) {\n if (queryMode) {\n corpus.getDocument(p.getPosting().getDocumentId()).getContent();\n }\n //docInfo = corpus.getDocument(p.getPosting().getDocumentId()).getTitle();\n docInfo = corpus.getDocument(p.getPosting().getDocumentId()).getFileName().toString();\n filenames.add(docInfo);\n\n }\n }\n\n GUI.SearchBarTextField.selectAll();\n\n return filenames;\n }", "@Test\n public void resultNumberTest() throws InterruptedException, ParseException {\n HomePageNavigation.gotoHomePage();\n Thread.sleep(2000);\n SearchNavigation.gotoSearchResultsPage(index,\"\");\n assertTrue(\"Message does not exist\", CommonUtils.extractTotalResults() >= 1);\n }", "OResultSet fetchNext(int n);", "public static void test1(){\n\t\tlong[] testCase=new long[]{2034912444,1511277043};\r\n\t\tList<String> rs=SearchWrapper.search( testCase[0], testCase[testCase.length-1]);\r\n\t\t\r\n\t}", "public void testSearchByContent() {\n Message m1 = new Message(\"test\",\"bla bla david moshe\",_u1);\n Message.incId();\n try {\n Thread.sleep(10);\n } catch (InterruptedException ex) {\n ex.printStackTrace();\n }\n Message m2 = new Message(\"test2\",\"bla2 bla david tikva moshe\",_u1);\n Message.incId();\n Message m3 = new Message(\"test2\",\"moshe cohen\",_u1);\n Message.incId();\n\n this.allMsgs.put(m1.getMsg_id(), m1);\n this.allMsgs.put(m2.getMsg_id(), m2);\n this.allMsgs.put(m3.getMsg_id(), m3);\n\n this.searchEngine.addData(m1);\n this.searchEngine.addData(m2);\n this.searchEngine.addData(m3);\n\n /* SearchHit[] result = this.searchEngine.searchByContent(\"bla2\", 0,1);\n assertTrue(result.length==1);\n assertTrue(result[0].getMessage().equals(m2));\n\n SearchHit[] result2 = this.searchEngine.searchByContent(\"bla david tikva\", 0,2);\n assertTrue(result2.length==1);\n assertEquals(result2[0].getScore(),3.0);\n //assertEquals(result2[1].getScore(),2.0);\n assertTrue(result2[0].getMessage().equals(m2));\n //assertTrue(result2[1].getMessage().equals(m1));\n\n SearchHit[] result3 = this.searchEngine.searchByContent(\"bla2 tikva\", 0, 5);\n assertTrue(result3.length==0);\n */\n\n/*\n SearchHit[] result4 = this.searchEngine.searchByContent(\"bla OR tikva\", 0, 5);\n assertTrue(result4.length==2);\n assertTrue(result4[0].getMessage().equals(m2));\n assertTrue(result4[1].getMessage().equals(m1));\n\n SearchHit[] result5 = this.searchEngine.searchByContent(\"bla AND cohen\", 0, 5);\n assertTrue(result5.length==0);\n\n result5 = this.searchEngine.searchByContent(\"bla AND moshe\",0,5);\n assertTrue(result5.length==2);\n assertTrue(result5[0].getScore() == result5[1].getScore());\n assertTrue(result5[0].getMessage().equals(m2));\n assertTrue(result5[1].getMessage().equals(m1));\n\n result5 = this.searchEngine.searchByContent(\"bla AND moshe\", 10, 11);\n assertTrue(result5.length==0);\n */\n\n }", "public Results() {\n\t\t\t// TODO Auto-generated constructor stub\n\t\t}", "Object getNumberMatched();", "entities.Torrent.LocalSearchResponse getLocalSearchResponse();", "public void setResults(ArrayList results) {\n this.results = results;\n }", "public abstract void fetchNodes(NodeCallback callback);", "public void search() {\r\n \t\r\n }", "private void searchFunction() {\n\t\t\r\n\t}", "Match getMatches();", "public boolean execute(int i) {\n result.add(nodeMap.get(i));\n return true; // return true here to continue receiving results\n }", "void setSearchResults(LazyDataModel<ReagentResult> searchResults);", "@Test\n public void testMultiSearch_withoutParens() {\n List<String> fields = new ArrayList<>();\n fields.add(\"sn\");\n fields.add(\"mail\");\n\n BridgeRequest request = new BridgeRequest();\n request.setStructure(\"user\");\n request.setFields(fields);\n request.setQuery(\"memberOf=cn=VPN Users,cn=Users,dc=kineticdata,dc=com\");\n\n BridgeError expectedError = null;\n try {\n getAdapter().search(request);\n } catch (BridgeError e) {\n expectedError = e;\n }\n\n assertNotNull(expectedError);\n }", "public entities.Torrent.NodeSearchResult.Builder getResultsBuilder(\n int index) {\n return getResultsFieldBuilder().getBuilder(index);\n }", "LazyDataModel<ReagentResult> getSearchResults();", "public Long getElementCount();", "public List<NodeInfo> getStoredNodes() {\n List<NodeInfo> nodes = new ArrayList<>();\n\n SearchResponse response = client.prepareSearch(\"k8s_*\").setTypes(\"node\").setSize(10000).get();\n\n SearchHit[] hits = response.getHits().getHits();\n log.info(String.format(\"The length of node search hits is [%d]\", hits.length));\n\n ObjectMapper mapper = new ObjectMapper();\n try {\n for (SearchHit hit : hits) {\n// log.info(hit.getSourceAsString());\n NodeInfo node = mapper.readValue(hit.getSourceAsString(), NodeInfo.class);\n nodes.add(node);\n }\n } catch (Exception e) {\n e.printStackTrace();\n }\n return nodes;\n }", "public void search() {\n }", "public void onSearchResults(String term, List<WikiPage> results);", "List<T> getResults();", "@Test\n public void getResultTest() throws IOException {\n System.setProperty(\"REPO_HG_19_PATH\", REPO_PATH_RANGES);\n System.setProperty(\"REPO_HG_38_PATH\", REPO_PATH_RANGES);\n System.setProperty(\"MAX_RANGE_RECORDS_IN_RESULT\", \"10\");\n\n // test common valid flow\n Response response = new Main().getResult19(\"X:77633124\");\n Assert.assertEquals(OK.getStatusCode(), response.getStatus());\n System.out.println(response.getEntity());\n Assert.assertNotNull(response.getEntity());\n JsonNode result = ((ArrayNode) new ObjectMapper().readTree((String)response.getEntity()).get(\"entries\")).get(0);\n Assert.assertEquals(\"G\", result.get(\"ref\").asText());\n Assert.assertEquals(\"A\", result.get(\"alt\").asText());\n ArrayNode homArray = (ArrayNode) result.get(\"hom\");\n Assert.assertEquals(1, homArray.size());\n Assert.assertEquals(\"SRR14860530\", homArray.get(0).asText());\n ArrayNode hetArray = (ArrayNode) result.get(\"het\");\n Assert.assertEquals(1, hetArray.size());\n Assert.assertEquals(\"SRR14860527\", hetArray.get(0).asText());\n\n // test lower case\n response = new Main().getResult(\"x:77633124\", REPO_PATH_RANGES, 10);\n Assert.assertEquals(OK.getStatusCode(), response.getStatus());\n System.out.println(response.getEntity());\n Assert.assertNotNull(response.getEntity());\n result = ((ArrayNode) new ObjectMapper().readTree((String)response.getEntity()).get(\"entries\")).get(0);\n Assert.assertEquals(\"G\", result.get(\"ref\").asText());\n Assert.assertEquals(\"A\", result.get(\"alt\").asText());\n homArray = (ArrayNode) result.get(\"hom\");\n Assert.assertEquals(1, homArray.size());\n Assert.assertEquals(\"SRR14860530\", homArray.get(0).asText());\n hetArray = (ArrayNode) result.get(\"het\");\n Assert.assertEquals(1, hetArray.size());\n Assert.assertEquals(\"SRR14860527\", hetArray.get(0).asText());\n\n //test range query\n response = new Main().getResult(\"2:25234482-26501857\", REPO_PATH_RANGES, 10);\n Assert.assertEquals(OK.getStatusCode(), response.getStatus());\n System.out.println(response.getEntity());\n\n JsonNode jsonResult = new ObjectMapper().readTree((String)response.getEntity());\n Assert.assertEquals(11, jsonResult.get(\"count\").asInt());\n\n ArrayNode dataArray = (ArrayNode)jsonResult.get(\"data\");\n Assert.assertEquals(10, dataArray.size());\n\n JsonNode first = dataArray.get(0);\n Assert.assertEquals(25234482, first.get(\"pos\").asInt());\n Assert.assertEquals(\"C\", ((ArrayNode)first.get(\"entries\")).get(0).get(\"ref\").asText());\n Assert.assertEquals(\"T\", ((ArrayNode)first.get(\"entries\")).get(0).get(\"alt\").asText());\n\n JsonNode last = dataArray.get(9);\n Assert.assertEquals(25313958, last.get(\"pos\").asInt());\n Assert.assertEquals(\"G\", ((ArrayNode)last.get(\"entries\")).get(0).get(\"ref\").asText());\n Assert.assertEquals(\"A\", ((ArrayNode)last.get(\"entries\")).get(0).get(\"alt\").asText());\n\n // test empty case\n response = new Main().getResult(\"x:15000112\", REPO_PATH_RANGES, 10);\n Assert.assertEquals(OK.getStatusCode(), response.getStatus());\n System.out.println(response.getEntity());\n Assert.assertNotNull(response.getEntity());\n Assert.assertEquals(EMPTY_RESULT, response.getEntity());\n\n // test bad input 1\n response = new Main().getResult(\"adkwjfh\", REPO_PATH_RANGES, 10);\n Assert.assertEquals(BAD_REQUEST.getStatusCode(), response.getStatus());\n\n // test bad input 2\n response = new Main().getResult(\"s:sss\", REPO_PATH_RANGES, 10);\n Assert.assertEquals(BAD_REQUEST.getStatusCode(), response.getStatus());\n\n // test bad input 3\n response = new Main().getResult(\"s:12345\", REPO_PATH_RANGES, 10);\n Assert.assertEquals(BAD_REQUEST.getStatusCode(), response.getStatus());\n\n // test bad input 4\n response = new Main().getResult(\"x:500000000\", REPO_PATH_RANGES, 10);\n Assert.assertEquals(BAD_REQUEST.getStatusCode(), response.getStatus());\n }" ]
[ "0.6862526", "0.63839877", "0.62841016", "0.59894204", "0.58342236", "0.5776431", "0.5734007", "0.5712916", "0.5631001", "0.56302875", "0.56143415", "0.5605271", "0.55756223", "0.55691606", "0.55633014", "0.5545001", "0.5545001", "0.55326474", "0.5393185", "0.53787273", "0.5369912", "0.5363887", "0.5346187", "0.53321797", "0.5301303", "0.5284407", "0.52722657", "0.5267805", "0.52622724", "0.52575964", "0.5252404", "0.52506864", "0.52356696", "0.52289075", "0.52278465", "0.520914", "0.52049226", "0.5202083", "0.5194397", "0.51886714", "0.5180487", "0.51756376", "0.5166178", "0.51628715", "0.51591974", "0.5154797", "0.5154727", "0.51516366", "0.51494604", "0.5139536", "0.5133444", "0.51260865", "0.5104945", "0.5094455", "0.5092275", "0.5086912", "0.5086912", "0.50723696", "0.50577176", "0.5052879", "0.50482905", "0.5031012", "0.50290823", "0.5027254", "0.501943", "0.50188446", "0.5015679", "0.5012513", "0.50083816", "0.50054836", "0.50020415", "0.5001236", "0.49921787", "0.49732155", "0.49654254", "0.49647364", "0.4953986", "0.4948581", "0.49465808", "0.49438965", "0.49316013", "0.49230373", "0.49203607", "0.49165064", "0.49132589", "0.49128133", "0.49103022", "0.4900622", "0.4899564", "0.4896023", "0.4895026", "0.48880875", "0.48773724", "0.4873716", "0.48736602", "0.48714477", "0.48663822", "0.48601002", "0.4859893", "0.4855802" ]
0.5670051
8
.Status status = 1;
@java.lang.Override public int getStatusValue() { return status_; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setStatus(String status) { this.status = status; }", "void setStatus(STATUS status);", "public void setStatus(EnumVar status) {\n this.status = status;\n }", "public void setStatus(Status status) {\r\n\t this.status = status;\r\n\t }", "public void setStatus(Integer status) {\r\n this.status = status;\r\n }", "public void setStatus(Integer status) {\r\n this.status = status;\r\n }", "void setStatus(int status);", "public void setStatus(Byte status) {\r\n this.status = status;\r\n }", "public void setStatus(Byte status) {\r\n this.status = status;\r\n }", "public void setStatus(Byte status) {\r\n this.status = status;\r\n }", "public void setStatus(Byte status) {\r\n this.status = status;\r\n }", "public void setStatus(Byte status) {\r\n this.status = status;\r\n }", "public void setStatus(Byte status) {\r\n this.status = status;\r\n }", "public void setStatus(Byte status) {\r\n this.status = status;\r\n }", "public void setStatus(int status){\r\n\t\tthis.status=status;\r\n\t}", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(int status);", "public void setStatus(int status);", "public void setStatus(Boolean s){ status = s;}", "public void setStatus(int status) {\n STATUS = status;\n }", "public void setStatus(Status newStatus){\n status = newStatus;\n }", "public void setStatus(String stat)\n {\n status = stat;\n }", "private void setStatus(com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n status_ = value;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(long status) {\r\n this.status = status;\r\n }", "public void setStatus(Integer status) {\n\t\tthis.status = status;\n\t}", "public void setStatus(Integer status) {\n\t\tthis.status = status;\n\t}", "public void setStatus(String status) {\r\n this.status = status;\r\n }", "public void setStatus(java.lang.Object status) {\n this.status = status;\n }", "public void setStatus(Status status)\n {\n this.status = status;\n }", "public void setgetStatus()\r\n\t{\r\n\t\tthis.status = 'S';\r\n\t}", "public void setStatus(Byte status) {\r\n\t\tthis.status = status;\r\n\t}", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "@Override\n\t\tpublic void setStatus(int status) {\n\t\t\t\n\t\t}", "public void setStatus(StatusEnum status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n\t\tthis.status = status;\n\t}", "public void setStatus(Byte status) {\n\t\tthis.status = status;\n\t}", "public void setStatus(int status) {\n this.status = status;\n }", "public void setStatus(int status) {\n this.status = status;\n }", "public void setStatus(Status status) {\r\n this.status = status;\r\n }", "public void setStatus(String status) {\r\n this.status = status;\r\n }", "public void setStatus(String status) {\r\n this.status = status;\r\n }", "public void setStatus(Short status) {\n this.status = status;\n }", "public void setStatus(STATUS status) {\n this.status = status;\n }", "void setStatus(String status);", "public void setStatus(Short status) {\n\t\tthis.status = status;\n\t}", "public void setStatus(Short status) {\n\t\tthis.status = status;\n\t}", "public void setStatus(int v) \n {\n \n if (this.status != v)\n {\n this.status = v;\n setModified(true);\n }\n \n \n }", "public void setStatus( Short status ) {\n this.status = status;\n }", "public void setStatus(String newStatus){\n\n //assigns the value of newStatus to the status field\n this.status = newStatus;\n }", "public Status getStatus(){\n return status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(Status status) {\n this.status = status;\n }", "public void setStatus(Status status) {\n this.status = status;\n }", "public void setStatus(Status status) {\n this.status = status;\n }" ]
[ "0.7656765", "0.76468766", "0.7565312", "0.7561203", "0.75449044", "0.75449044", "0.75349724", "0.74959093", "0.74959093", "0.74959093", "0.74959093", "0.74959093", "0.74959093", "0.74959093", "0.7482147", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.74783385", "0.74783385", "0.746719", "0.74658287", "0.746098", "0.7456925", "0.7452718", "0.7435934", "0.7435934", "0.7435934", "0.7435934", "0.7435934", "0.7435934", "0.7435934", "0.7435934", "0.7435934", "0.7435934", "0.7435934", "0.7435934", "0.7435934", "0.7435248", "0.7432568", "0.7432568", "0.7425985", "0.74143654", "0.74118876", "0.7398544", "0.7398282", "0.73973185", "0.73973185", "0.7396562", "0.73950607", "0.7392215", "0.7392215", "0.7382456", "0.7382456", "0.7378742", "0.73726434", "0.73726434", "0.7368736", "0.73626804", "0.7351154", "0.7345713", "0.7345713", "0.73451585", "0.7332328", "0.7329264", "0.73258084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.728639", "0.728639", "0.728639" ]
0.0
-1
.Status status = 1;
public Builder setStatusValue(int value) { status_ = value; onChanged(); return this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setStatus(String status) { this.status = status; }", "void setStatus(STATUS status);", "public void setStatus(EnumVar status) {\n this.status = status;\n }", "public void setStatus(Status status) {\r\n\t this.status = status;\r\n\t }", "public void setStatus(Integer status) {\r\n this.status = status;\r\n }", "public void setStatus(Integer status) {\r\n this.status = status;\r\n }", "void setStatus(int status);", "public void setStatus(Byte status) {\r\n this.status = status;\r\n }", "public void setStatus(Byte status) {\r\n this.status = status;\r\n }", "public void setStatus(Byte status) {\r\n this.status = status;\r\n }", "public void setStatus(Byte status) {\r\n this.status = status;\r\n }", "public void setStatus(Byte status) {\r\n this.status = status;\r\n }", "public void setStatus(Byte status) {\r\n this.status = status;\r\n }", "public void setStatus(Byte status) {\r\n this.status = status;\r\n }", "public void setStatus(int status){\r\n\t\tthis.status=status;\r\n\t}", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(int status);", "public void setStatus(int status);", "public void setStatus(Boolean s){ status = s;}", "public void setStatus(int status) {\n STATUS = status;\n }", "public void setStatus(Status newStatus){\n status = newStatus;\n }", "public void setStatus(String stat)\n {\n status = stat;\n }", "private void setStatus(com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n status_ = value;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n this.status = status;\n }", "public void setStatus(long status) {\r\n this.status = status;\r\n }", "public void setStatus(Integer status) {\n\t\tthis.status = status;\n\t}", "public void setStatus(Integer status) {\n\t\tthis.status = status;\n\t}", "public void setStatus(String status) {\r\n this.status = status;\r\n }", "public void setStatus(java.lang.Object status) {\n this.status = status;\n }", "public void setStatus(Status status)\n {\n this.status = status;\n }", "public void setgetStatus()\r\n\t{\r\n\t\tthis.status = 'S';\r\n\t}", "public void setStatus(Byte status) {\r\n\t\tthis.status = status;\r\n\t}", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "@Override\n\t\tpublic void setStatus(int status) {\n\t\t\t\n\t\t}", "public void setStatus(StatusEnum status) {\n this.status = status;\n }", "public void setStatus(Byte status) {\n\t\tthis.status = status;\n\t}", "public void setStatus(Byte status) {\n\t\tthis.status = status;\n\t}", "public void setStatus(int status) {\n this.status = status;\n }", "public void setStatus(int status) {\n this.status = status;\n }", "public void setStatus(Status status) {\r\n this.status = status;\r\n }", "public void setStatus(String status) {\r\n this.status = status;\r\n }", "public void setStatus(String status) {\r\n this.status = status;\r\n }", "public void setStatus(Short status) {\n this.status = status;\n }", "public void setStatus(STATUS status) {\n this.status = status;\n }", "void setStatus(String status);", "public void setStatus(Short status) {\n\t\tthis.status = status;\n\t}", "public void setStatus(Short status) {\n\t\tthis.status = status;\n\t}", "public void setStatus(int v) \n {\n \n if (this.status != v)\n {\n this.status = v;\n setModified(true);\n }\n \n \n }", "public void setStatus( Short status ) {\n this.status = status;\n }", "public void setStatus(String newStatus){\n\n //assigns the value of newStatus to the status field\n this.status = newStatus;\n }", "public Status getStatus(){\n return status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(String status) {\n this.status = status;\n }", "public void setStatus(Status status) {\n this.status = status;\n }", "public void setStatus(Status status) {\n this.status = status;\n }", "public void setStatus(Status status) {\n this.status = status;\n }" ]
[ "0.7656765", "0.76468766", "0.7565312", "0.7561203", "0.75449044", "0.75449044", "0.75349724", "0.74959093", "0.74959093", "0.74959093", "0.74959093", "0.74959093", "0.74959093", "0.74959093", "0.7482147", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.7481205", "0.74783385", "0.74783385", "0.746719", "0.74658287", "0.746098", "0.7456925", "0.7452718", "0.7435934", "0.7435934", "0.7435934", "0.7435934", "0.7435934", "0.7435934", "0.7435934", "0.7435934", "0.7435934", "0.7435934", "0.7435934", "0.7435934", "0.7435934", "0.7435248", "0.7432568", "0.7432568", "0.7425985", "0.74143654", "0.74118876", "0.7398544", "0.7398282", "0.73973185", "0.73973185", "0.7396562", "0.73950607", "0.7392215", "0.7392215", "0.7382456", "0.7382456", "0.7378742", "0.73726434", "0.73726434", "0.7368736", "0.73626804", "0.7351154", "0.7345713", "0.7345713", "0.73451585", "0.7332328", "0.7329264", "0.73258084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.72955084", "0.728639", "0.728639", "0.728639" ]
0.0
-1