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 .FileInfo files = 4;
public Builder setFiles( int index, entities.Torrent.FileInfo value) { if (filesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureFilesIsMutable(); files_.set(index, value); onChanged(); } else { filesBuilder_.setMessage(index, value); } return this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "int getFileInfoCount();", "public void incFileCount(){\n\t\tthis.num_files++;\n\t}", "entities.Torrent.FileInfo getFiles(int index);", "public Files(){\n this.fileNameArray.add(\"bridge_1.txt\");\n this.fileNameArray.add(\"bridge_2.txt\");\n this.fileNameArray.add(\"bridge_3.txt\");\n this.fileNameArray.add(\"bridge_4.txt\");\n this.fileNameArray.add(\"bridge_5.txt\");\n this.fileNameArray.add(\"bridge_6.txt\");\n this.fileNameArray.add(\"bridge_7.txt\");\n this.fileNameArray.add(\"bridge_8.txt\");\n this.fileNameArray.add(\"bridge_9.txt\");\n this.fileNameArray.add(\"ladder_1.txt\");\n this.fileNameArray.add(\"ladder_2.txt\");\n this.fileNameArray.add(\"ladder_3.txt\");\n this.fileNameArray.add(\"ladder_4.txt\");\n this.fileNameArray.add(\"ladder_5.txt\");\n this.fileNameArray.add(\"ladder_6.txt\");\n this.fileNameArray.add(\"ladder_7.txt\");\n this.fileNameArray.add(\"ladder_8.txt\");\n this.fileNameArray.add(\"ladder_9.txt\");\n }", "int getFileNamesCount();", "int getFileNamesCount();", "ds.hdfs.generated.FileMetadata getFiles(int index);", "int getFilesCount();", "int getFilesCount();", "int getFileCount();", "private void gatherFile(FileStatus[] fstat)\r\n\t{\r\n\t inputSize = 0;\t\r\n\t paths = new Path[fstat.length];\t\r\n\t for(int i=0;i<fstat.length;i++)\r\n\t {\r\n\t inputSize+=fstat[i].getLen();\r\n\t paths[i] = fstat[i].getPath();\r\n\t }\r\n\t }", "@java.lang.Override\n public int getFileInfoCount() {\n return fileInfo_.size();\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}", "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}", "private void initializeFileArrays(){\n File downloadedFilesFolder = new File(MainActivity.DB_PATH);\n File[] files = downloadedFilesFolder.listFiles();\n System.out.println(\"*** \" + files.length + \" ***\");\n if(files != null){\n System.out.println(\"*** \" + files.length + \" ***\");\n for(File f : files){\n if(f != null){\n System.out.println(\"***\\n FILE FOUND - \" + f.getAbsolutePath()+\"\\nSIZE - \" +\n f.length() + \" BYTES \\n***\");\n fileNames.add(f.getName());\n fileSizes.add(f.length()+\"\");\n this.files.add(f);\n }\n }\n }\n }", "entities.Torrent.FileInfoOrBuilder getFilesOrBuilder(\n int index);", "List<UploadInfo> simpleUploadAll(List<SimpleFile> files);", "public List<FileUpload> getFileUploads(int numberOfFileUploads, Long startIndex) throws AppException;", "void addFile(int numberLines);", "private void updateFiles() {\n\t}", "@Override\n public void addSingleFile(FileInfo file) {\n }", "entities.Torrent.FileInfo getFileInfo(int index);", "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}", "private static void showFiles(File[] files) {\n\t\t for (File file : files) {\r\n\t\t if (file.isDirectory()) {\r\n\t\t // System.out.println(\"Directory: \" + file.getName());\r\n\t\t showFiles(file.listFiles()); // Calls same method again.\r\n\t\t } else {\r\n\t\t // System.out.println(\"File: \" + file.getName());\r\n\t\t }\r\n\t\t }\r\n\t\t\r\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 }", "private void findRecordings(){\n File[] files = new File(\"Concatenated/\").listFiles();\n _records.clear();\n _versionNum = 1;\n for (File file : files){\n if (file.isFile()){\n String nameOnFile = file.getName().substring(file.getName().lastIndexOf('_')+1,file.getName().lastIndexOf('.')).toUpperCase();\n if (nameOnFile.equals(_name.toUpperCase())){\n _records.add(file.getName());\n _versionNum++;\n }\n }\n }\n }", "private void checkDuplicateOfFile(Iterable<FileInfo> files, DuplicateDataDTO data) {\n for(FileInfo nextFile: files) {\n for(FileInfo nextFile2: files) {\n if(nextFile.duplicate(nextFile2)) {\n LOG.info(\"Duplicate - {}\", nextFile);\n\n processDuplicate(nextFile,data);\n }\n }\n }\n }", "public TagFileInfo[] getTagFiles() {\n/* 176 */ return this.tagFiles;\n/* */ }", "@Test\n\tpublic void testNumLargeFiles() {\n\t\tFile test = new File(\"X:\\\\Documents\\\\PS9 Test\");\n\t\tassertEquals(6,Explorer.numLargeFiles(test));\n\t}", "public double getNumFiles(){\n\t\treturn (this.num_files);\n\t}", "public Files files();", "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 }", "@Test\n\tpublic void testSetFileInfo() {\n\n\t}", "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 readFileList() throws IOException {\n\t\tint entries = metadataFile.readInt();\n\n\t\tfor (int i = 0; i < entries; i++) {\n\t\t\tint hash = metadataFile.readInt();\n\t\t\tlong dataOffset = metadataFile.readInt() & 0xFFFFFFFFL;\n\t\t\tlong dataSize = metadataFile.readInt() & 0xFFFFFFFFL;\n\t\t\tint pathListIndex = metadataFile.readInt();\n\n\t\t\tlong position = metadataFile.getPosition();\n\t\t\tmetadataFile.setPosition(pathListOffset + 8 + (pathListIndex * 8));\n\n\t\t\tlong pathOffset = metadataFile.readInt() & 0xFFFFFFFFL;\n\t\t\tint pathSize = metadataFile.readInt();\n\n\t\t\tmetadataFile.setPosition(pathListOffset + pathOffset);\n\t\t\tString path = metadataFile.readString(pathSize).trim();\n\n\t\t\tif (hash == hash(path)) \n\t\t\t\tfileEntries.add(new RAFFileEntry(dataOffset, dataSize, path));\n\t\t\telse\n\t\t\t\tthrow new IOException(\"Invalid hash for item '\" + path + \"'.\");\n\n\t\t\tmetadataFile.setPosition(position);\n\t\t}\n\t}", "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 static void main(String[] args) {\n\t\tint count=0;\n\t\t File f=new File(\"C:\\\\Users\\\\kumaujjv\\\\Downloads\\\\Assignments - Copy\");\n\t\t String[] s=f.list();\n\n\t\t for(String s1:s) {\n\t\t File f1=new File(f,s1);\n\t\t if(f1.isFile()) {\n\t\t\t //count++;\n\t\t\t System.out.println(s1);\n\t\t }\n\t\t}\n\t\tSystem.out.println(\"total number : \"+count);\n\n\t\t}", "public float[] accumulateDetailFiles(ArrayList<File> files){\r\n\t\tfloat[] values = new float[100];\r\n\t\tint counter = 0;\r\n\r\n\t for(File file:files){\t\t\r\n\t \tSystem.out.println(file.getName());\r\n\t \tcounter = 0;\r\n\t BufferedReader reader;\r\n\t try{\r\n\t reader = new BufferedReader(new FileReader(file));\r\n\t String line = reader.readLine(); \r\n\t while(line != null){\t\r\n\t \tif(!line.substring(0,1).equals(\"#\")){\r\n\t \t\tString[] values2 = line.split(\" \");\r\n\t \t\tvalues[counter] += Float.valueOf(values2[values2.length-1]);\r\n\t\t \tcounter++;\r\n\t \t}\r\n\t \tline = reader.readLine();\r\n\t }\r\n\t \r\n\t\t\t} catch (FileNotFoundException e) {\r\n\t\t\t System.err.println(\"FileNotFoundException: \" + e.getMessage());\r\n\t\t\t} catch (IOException e) {\r\n\t\t\t System.err.println(\"Caught IOException: \" + e.getMessage());\r\n\t\t\t}\r\n\t }\r\n\r\n\t float[] returnValues = new float[counter];\r\n\t \r\n\t for(int j = 0; j < returnValues.length; j++) \treturnValues[j] = ((float)values[j]/files.size());\r\n\t\r\n\t \r\n \treturn returnValues;\r\n\t}", "ds.hdfs.generated.FileMetadataOrBuilder getFilesOrBuilder(\n int index);", "private static void calculateSizes() {\n for(EmailTypes type : EmailTypes.values()){\n File f = unpackedFiles.get(type);\n setSizes.put(type, Objects.requireNonNull(f.listFiles()).length);\n }\n }", "public int[] filesRemaining();", "public static void main(String[] args) {\n\t\tFile dir = new File(\"H:\");\r\n\t\tString[] filelist = dir.list();\r\n\t\tlong total = 0;\r\n\t\tlong t = 0;\r\n\t\tfor(int i=0;i<filelist.length;i++){\r\n\t\t\t File readfile = new File(\"H:\" + \"\\\\\" + filelist[i]);\r\n\t\t\t t = readFile(readfile)/1024/1024;\r\n\t\t\t System.out.println(\"name=\" + readfile.getName() + \" size:=\" + t + \"MB\");\r\n\t\t\t total += t;\r\n\t\t}\r\n\t\tSystem.out.println(\"OK,all the files is list over,the number is \" + filelist.length + \"the total size is \" + total); \r\n\t}", "@Test\n public void tagFilesShouldReturnNonEmptyTagFiles() throws Exception {\n //given\n givenInfoMessageCode();\n\n //when\n List<IFileSpec> tagFiles = tagDelegator.tagFiles(fileSpecs, LABEL_NAME, opts);\n //then\n assertThat(tagFiles.size(), is(1));\n assertThat(tagFiles.get(0).getDepotPathString(), is(TEST_FILE_DEPOT_PATH));\n }", "public int getFileInfoCount() {\n if (fileInfoBuilder_ == null) {\n return fileInfo_.size();\n } else {\n return fileInfoBuilder_.getCount();\n }\n }", "private static ArrayList<File> buildFilesArray() {\n ArrayList<File> result = new ArrayList<>();\n rAddFilesToArray(workingDirectory, result);\n return result;\n }", "@java.lang.Override\n public entities.Torrent.FileInfoOrBuilder getFilesOrBuilder(\n int index) {\n return files_.get(index);\n }", "java.lang.String getFileNames(int index);", "java.lang.String getFileNames(int index);", "public void filesNotFound(File... f) { }", "public void filesNotFound(File... f) { }", "public static int filesWithSizes (File f)\n\t{\n\t\tif (f.isFile())\n\t\t{\n\t\t\tif (f.length()>= 10000 && f.length() <= 25000)\n\t\t\t{\n\t\t\t\treturn 1;\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\treturn 0;\n\t\t\t}\n\t\t}\n\t\telse\n\t\t{\n\t\t\tint count = 0;\n\t\t\tfor (File file: f.listFiles())\n\t\t\t{\n\t\t\t\tcount += filesWithSizes(file);\n\t\t\t}\n\t\t\treturn count;\n\t\t}\n\t}", "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 }", "public java.lang.String[] getNewFiles(){\r\n return localNewFiles;\r\n }", "entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder();", "entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder();", "@Test\n public void shouldReturnNonEmptyTagFiles() throws Exception {\n //given\n givenInfoMessageCode();\n //when\n List<IFileSpec> tagFiles = tagDelegator.tagFiles(\n fileSpecs,\n LABEL_NAME,\n listOnly1,\n delete1);\n //then\n assertThat(tagFiles.size(), is(1));\n assertThat(tagFiles.get(0).getDepotPathString(), is(TEST_FILE_DEPOT_PATH));\n }", "@Test\n public void maxFiles() throws Throwable {\n MergeFilesOptions opts = new MergeFilesOptions();\n opts.setStream(\"//Ace/dev\");\n opts.setReverseMapping(true);\n opts.setMaxFiles(1);\n opts.setForceStreamMerge(true);\n\n List<IFileSpec> merged = client.mergeFiles(null, null, opts);\n assertEquals(\"wrong number of files\", 1, merged.size());\n\n List<IFileSpec> opened = client.openedFiles(null, null);\n assertEquals(\"files should not have been opened\", 1, opened.size());\n }", "public FileCount(int numFiles){\n this.numFiles = numFiles;\n }", "public int getFileNamesCount() {\n return fileNames_.size();\n }", "static public ObservableList<ImageMetaInfo> getImagesInfo(File path) {\n ObservableList<ImageMetaInfo> observableList = FXCollections.observableArrayList();\n ExtFilter fileFilter = new ExtFilter();\n File[] imageFilesArray = path.listFiles(fileFilter);\n for (File file : imageFilesArray) {\n ImageMetaInfo imageMetaInfo = getImageMetaInfo(file);\n observableList.add(imageMetaInfo);\n }\n return observableList;\n }", "private void get_file_List() {\n\tString file_name=null;\r\n\tfor (int i = 0; i < listOfFiles.length; i++) \r\n\t {\r\n\t \r\n\t if (listOfFiles[i].isFile()) \r\n\t {\r\n\t\t file_name = listOfFiles[i].getName();\r\n\t if (file_name.endsWith(\".xml\") || file_name.endsWith(\".XML\"))\r\n\t {\r\n\t file_list.add(file_name) ;\r\n\t }\r\n\t }\r\n\t }\r\n\t\r\n}", "public static void getListOfAllFileVarianta2() {\n\t\tPath pathToSrc = Paths.get(\"D:\\\\TorrentsMd\");\r\n\t\ttry {\r\n\t\t\t//cu method references\r\n//\t\t\tFiles.walk(pathToSrc)\r\n//\t\t\t\t.map(Path::toFile)\r\n//\t\t\t\t.filter(File::isFile)\r\n//\t\t\t\t.map(File::getName)\r\n//\t\t\t\t.sorted()\r\n//\t\t\t\t.forEach(System.out::println);\r\n\t\t\t\r\n\t\t\t//cu lambda, dar dpdv semantic sunt identice\r\n\t\t\tFiles.walk(pathToSrc)\r\n\t\t\t\t .map(path -> path.toFile()) //trasnform fiecare Path din stream intr-un File\r\n\t\t\t\t .filter(file -> file.isFile()) //filtrez doar fisierele\r\n\t\t\t\t .map(file -> file.getName())//transform fiecare File din stream intr-un String, care e numele sau\r\n\t\t\t\t .sorted()\r\n\t\t\t\t .forEach(file -> System.out.println(file));\r\n\t\t} catch (IOException e) {\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t}", "@java.lang.Override\n public int getFilesCount() {\n return files_.size();\n }", "static List<File> gitAttributes(File projectDir, Iterable<File> files) {\n List<File> gitAttrFiles = new ArrayList<>();\n Set<File> visitedFolders = new HashSet<>();\n for (File file : files) {\n gitAttrAddWithParents(projectDir, file.getAbsoluteFile(), visitedFolders, gitAttrFiles);\n }\n return gitAttrFiles;\n }", "public static int getNumberOfFiles() {\n\t\treturn EXTENSIONS.length;\n\t}", "public Map<String, NewData> getSnapshotFiles (final List<String> files){\n \t\tMap<String,NewData> w = new HashMap<String,NewData>();\n \t\tList<String> l = new LinkedList<String>();\n \t\tString s=\"\";\n \t\t\n \t\tfor (String str : files){\n \t\t\tw.put(str, new NewData(str));\n \t\t\tl=this.readFile(this.getSnapshot().getRoot() + File.separatorChar +str);\n \t\t\t\n \t\t\tfor (String str2 : l)\n \t\t\t\ts=s+str2+\"\\n\";\n \t\t\t\n \t\t\tw.get(str).setFileContent(s);\n \t\t\tw.get(str).getLclock().putAll(this.getFilelist().get(str));\n \t\t}\n \t\t\t\t\n \t\treturn w;\n \t}", "entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder(\n int index);", "public void getPeerFiles(){\n\t\t\n\t\tFile[] files = new File(path).listFiles();\n\t\tfor (File file : files) {\n\t\t\tfileNames.add(file.getName());\n\t\t}\n\t\tSystem.out.println(\"Number of Files Registerd to the server - \"+fileNames.size());\n\t\tSystem.out.println(\"To search for file give command: get <Filename>\");\n\t\tSystem.out.println(\"To refresh type command: refresh\");\n\t\tSystem.out.println(\"To disconnect type command: disconnect\");\n\t}", "public static void main(String[] args) {\nFile files=new File(\"C:\\\\Users\\\\k74\");\nString filenames[]=files.list();\nfor(String filename :filenames)\n\tSystem.out.println(filename);\n\t}", "public static void rankFiles(Hashtable<?, Integer> fname, int numberOfOccurrences) \r\n\t{\n\t\tArrayList<Map.Entry<?, Integer>> arrayList = new ArrayList(fname.entrySet());\r\n\r\n\t\tCollections.sort(arrayList, new Comparator<Map.Entry<?, Integer>>() \r\n\t\t{\r\n\t\t\tpublic int compare(Map.Entry<?, Integer> obj1, Map.Entry<?, Integer> obj2) \r\n\t\t\t{\r\n\t\t\t\treturn obj1.getValue().compareTo(obj2.getValue());\r\n\t\t\t}\r\n\t\t});\r\n\r\n\t\tCollections.reverse(arrayList);\r\n\r\n\t\tif (numberOfOccurrences > 0) \r\n\t\t{\r\n\t\t\tSystem.out.println(\"\\n------Top 10 search results-----\\n\");\r\n\r\n\t\t\tint my_number = 10;\r\n\t\t\tint j = 1;\r\n\t\t\twhile (arrayList.size() > j && my_number > 0) \r\n\t\t\t{\r\n\t\t\t\tSystem.out.println(\"(\" + j + \") \" + arrayList.get(j) + \" times \");\r\n\t\t\t\tj++;\r\n\t\t\t\tmy_number--;\r\n\t\t\t}\r\n\t\t} \r\n\t}", "@Override\n public List<FileInfo> getLibrarySubFiles(FileInfo fileInfo) {\n return null;\n }", "public final void mo14831s() {\n Iterator it = ((ArrayList) mo14817d()).iterator();\n while (it.hasNext()) {\n File file = (File) it.next();\n if (file.listFiles() != null) {\n m6739b(file);\n long c = m6740c(file, false);\n if (((long) this.f6567b.mo14797a()) != c) {\n try {\n new File(new File(file, String.valueOf(c)), \"stale.tmp\").createNewFile();\n } catch (IOException unused) {\n f6563c.mo14884b(6, \"Could not write staleness marker.\", new Object[0]);\n }\n }\n for (File b : file.listFiles()) {\n m6739b(b);\n }\n }\n }\n }", "@Test\n public void testGetFilesList() {\n System.out.println(\"getFilesList from existing folder with existing subfiles\");\n String entryPath = folder.toString()+fSeparator+\"Images\";\n FilesDao instance = new FilesDao();\n String[] expResult = new String[2];\n expResult[0] = \"testImg.jpg\";\n expResult[1] = \"testImg2.jpg\";\n String[] result;\n try{\n result = instance.getFilesList(entryPath);\n }catch(EntryException ex){\n result = null;\n }\n assertArrayEquals(expResult, result);\n }", "private void populateList(File[] filesList) {\n Log.i(\"mPackage\",\"FilesList: \"+filesList.length);\n for(File file : filesList) {\n //Log.i(\"mPackage\",\"Path: \"+file);\n if(file.isDirectory()) {\n populateList(file.listFiles());\n }\n else {\n MarkerModel markerModel = new MarkerModel();\n Boolean containsObj = false;\n for(File modelFile : filesList) {\n String[] extension = modelFile.getName().split(\"\\\\.\");\n if(extension[extension.length-1].equals(\"obj\")) {\n markerModel.setObj(modelFile.getPath());\n containsObj = true;\n }\n else if(extension[extension.length-1].equals(\"mtl\"))\n markerModel.setMtl(modelFile.getPath());\n else\n markerModel.addTexture(modelFile.getPath());\n }\n if(containsObj)\n models.add(markerModel);\n return;\n //models.add(file.getPath());\n //Log.i(\"mPackage\",\"Path: \"+file.getPath());\n }\n }\n }", "java.util.List<? extends ds.hdfs.generated.FileMetadataOrBuilder> \n getFilesOrBuilderList();", "public List<String> splitByCount(String fileName, int count)\n throws IOException, InterruptedException {\n\n List<String> parts = new ArrayList<String>();\n File file = new File(fileName);\n int blockSize = (int) Math.ceil(file.length() / (double) count);\n RandomAccessFile raf = new RandomAccessFile(fileName, \"r\");\n long totalLen = raf.length();\n CountDownLatch latch = new CountDownLatch(count);\n\n long startPos = 0L;\n long nextPos = 0L;\n\n for (int i = 0; i < count; i++) {\n nextPos = Long.min((long) (i + 1) * blockSize, totalLen - 1);\n raf.seek(nextPos);\n //Calculate the start position for the next file.\n do {\n raf.seek(nextPos);\n if (raf.readByte() == '\\n') {\n nextPos = nextPos + 1;\n break;\n }\n nextPos--;\n } while (true);\n long readSizeTemp = nextPos - startPos;\n int readSize = (int) readSizeTemp;\n String partFileName = fileName.replace(\"raw\", \"raw\" + (i + 1));\n new SplitRunnable(readSize, startPos, partFileName, file, latch).run();\n startPos = nextPos;\n parts.add(partFileName);\n }\n //Wait until all the files are written.\n latch.await();\n return parts;\n }", "public float[] accumulateSimpleMixFiles(ArrayList<File> files){\r\n\t\t\tfloat[] returnValue = new float[10];\r\n\t\t\tfloat[] values = new float[10];\r\n\t\t\t\r\n\t\t for(File file:files){\t\t\t\t\t\r\n\t\t BufferedReader reader;\r\n\t\t try{\r\n\t\t reader = new BufferedReader(new FileReader(file));\r\n\t\t String line = reader.readLine(); \r\n\t\t while(line != null){\t\r\n\t\t \tif(line.substring(0,5).equals(\"Total\")){\r\n\t\t \t\tString[] values2 = line.split(\" \");\r\n\t\t \t\t\r\n\t\t \t\tfor(int i = 2; i < values2.length; i++) values[i-2] += Float.valueOf(values2[i]);\r\n\t\t \t}\r\n\t\t \tline = reader.readLine();\r\n\t\t }\r\n\t\t \r\n\t\t\t\t} catch (FileNotFoundException e) {\r\n\t\t\t\t System.err.println(\"FileNotFoundException: \" + e.getMessage());\r\n\t\t\t\t} catch (IOException e) {\r\n\t\t\t\t System.err.println(\"Caught IOException: \" + e.getMessage());\r\n\t\t\t\t}\r\n\t\t }\r\n\r\n\t\t for(int j = 0; j < values.length; j++) returnValue[j] = (float)values[j]/files.size();\t\r\n\t\t \r\n\t\t return returnValue;\r\n\t\t}", "private Map<ServerFile, Integer> totalFiles(){\n\t\tMap<ServerFile, Integer> ret = new HashMap<ServerFile, Integer>();\n\t\tfor (ClientObj c : clients){\n\t\t\tfor (ServerFile f : c.getFiles()){\n\t\t\t\tif (!ret.containsKey(f))\n\t\t\t\t\tret.put(f, 1);\n\t\t\t\telse\n\t\t\t\t\tret.put(f, ret.get(f) + 1);\n\t\t\t}\n\t\t}\n\t\treturn ret;\n\t}", "int getSourceFileCount();", "public void checkForRepeats(String selectedMarket)\r\n {\r\n System.out.println(backUpPath + selectedMarket);\r\n \tFile f = new File(backUpPath + selectedMarket);\r\n \tArrayList<File> fileContents = new ArrayList<File>(Arrays.asList(f.listFiles()));\r\n \t\r\n for(int i = 0;i< scriptAds.size();i++)\r\n \t{\r\n String currentFileName;\r\n long modified;\r\n Date modifiedDate;\r\n \r\n for(int j = 0;j < fileContents.size();j++)\r\n {\r\n currentFileName = fileContents.get(j).getName();\r\n \r\n if(currentFileName.contains(\".\"))\r\n {\r\n currentFileName = currentFileName.substring(0,currentFileName.lastIndexOf(\".\"));\r\n }\r\n if(scriptAds.get(i).getAdNumber().toLowerCase().equals(currentFileName.toLowerCase()))\r\n {\r\n modified = fileContents.get(j).lastModified();\r\n modifiedDate = new Date(modified);\r\n \r\n String dateToPrint = DateFormat.getDateTimeInstance(DateFormat.SHORT, DateFormat.SHORT).format(modifiedDate);\r\n dateToPrint = dateToPrint.substring(0,dateToPrint.indexOf(\" \"));\r\n \r\n infoText.append(\"<p>CC# \" + scriptAds.get(i).getccNumber() \r\n + \" matches a backup of last modified : \" + scriptAds.get(i).getAdNumber() \r\n + \" \" + dateToPrint + \"\\nin \" + importFileName + \"</p>\");\r\n }\r\n }\r\n }\r\n }", "public void mo83570c() {\n File[] listFiles;\n File file = new File(this.f60297d);\n if (file.isDirectory() && (listFiles = file.listFiles()) != null && listFiles.length >= this.f60294a) {\n Arrays.sort(listFiles, this.f60295b);\n for (int i = 0; i < listFiles.length && listFiles.length >= this.f60294a; i++) {\n File file2 = listFiles[i];\n if (!this.f60299f.contains(file2)) {\n ArgusLogger.m85574b(String.format(C6969H.m41409d(\"G4D8AC619BE22AF20E809D047FEE1C6C47DC3D008AD3FB969E71DD05BE6EAD1D26DC3D008AD3FB969EA079D41E6A5D1D26880DD1FBB70E36CF547\"), file2.getPath()));\n mo83569b(Collections.singleton(file2));\n }\n }\n }\n }", "public File[] filesReadOnly(File... f) { return f; }", "public List<File> getFiles();", "@Test\n\tpublic void testCountItems() {\n\t\tFile test = new File(\"X:\\\\Documents\\\\PS9 Test\");\n\t\tassertEquals(13,Explorer.countItems(test));\n\t}", "void update(FileInfo fileInfo);", "private static ArrayList m5336a(File[] fileArr) {\n ArrayList arrayList = new ArrayList();\n int i = 0;\n while (i < fileArr.length) {\n if (fileArr[i].isFile() && fileArr[i].getName().length() == 10 && TextUtils.isDigitsOnly(fileArr[i].getName())) {\n arrayList.add(fileArr[i]);\n }\n i++;\n }\n return arrayList;\n }", "@Test(timeout = 4000)\n public void test23() throws Throwable {\n FileUtil fileUtil0 = new FileUtil();\n ArrayList<Object> arrayList0 = new ArrayList<Object>();\n File file0 = fileUtil0.getAccessories(\"YP=8V~@ch)3vts}p8\", arrayList0);\n assertNull(file0);\n }", "public void findDupe(int choice) {\n\n\t\tString fullName = null;\n\t\tboolean flag = true;\n\n\t\tfor (Path file : filesArray) {\n\t\t\ttry {\n\t\t\t\tfullName = getFullName(file, choice);\n\t\t\t} catch (Exception e) {\n\t\t\t\tSystem.out.println(\"problem read file: \" + file);\n\t\t\t\tflag = false;\n\t\t\t}\n\n\t\t\tif (flag) {\n\t\t\t\tmultiMap.put(fullName, file);\n\t\t\t\tCollection<Path> vals = (Collection<Path>) multiMap.get(fullName);\n\n\t\t\t\tif (vals.size() > 1) {\n\t\t\t\t\tcounter++;\n\t\t\t\t}\n\t\t\t}\n\t\t\tflag = true;\n\t\t}\n\n\t\tSet<String> keys = multiMap.keySet();\n\t\tIterator<String> items = keys.iterator();\n\n\t\twhile (items.hasNext()) {\n\t\t\tString str = (String) items.next();\n\n\t\t\t@SuppressWarnings(\"unchecked\")\n\t\t\tCollection<Path> val = (Collection<Path>) multiMap.get(str);\n\t\t\tArrayList<Path> arr = new ArrayList<>(val);\n\n\t\t\tif (arr.size() <= 1)\n\t\t\t\titems.remove();\n\n\t\t}\n\n\t}", "java.util.List<entities.Torrent.FileInfo>\n getFileInfoList();", "List<DownloadChunk> mo54445j(int i);", "void visitFile(StorageUnit unit, long off, long lim);", "public void fileInfo(String info);", "private List<FileInfoDTO> createFileInfoDTOs(MultipartFile file1, MultipartFile file2, int totalLinesFirstFile,\n\t\t\tint totalLinesSecondFile) {\n\t\tint unmatchedRecordsFirstFile = firstFileMap.getCountMap().values().stream().mapToInt(Integer::valueOf).sum();\n\t\tint unmatchedRecordsSecondFile = secondFileMap.getCountMap().values().stream().mapToInt(Integer::valueOf).sum();\n\n\t\tFileInfo firstFileInfo = new FileInfo();\n\t\tfirstFileInfo.setName(file1.getOriginalFilename());\n\t\tfirstFileInfo.setTotalRecords(totalLinesFirstFile);\n\t\tfirstFileInfo.setUnmatchedRecords(unmatchedRecordsFirstFile);\n\t\tfirstFileInfo.setMatchingRecords(totalLinesFirstFile - unmatchedRecordsFirstFile);\n\n\t\tFileInfo secondFileInfo = new FileInfo();\n\t\tsecondFileInfo.setName(file2.getOriginalFilename());\n\t\tsecondFileInfo.setTotalRecords(totalLinesSecondFile);\n\t\tsecondFileInfo.setUnmatchedRecords(unmatchedRecordsSecondFile);\n\t\tsecondFileInfo.setMatchingRecords(totalLinesSecondFile - unmatchedRecordsSecondFile);\n\n\t\treturn List.of(firstFileInfo, secondFileInfo).stream()\n\t\t\t\t.map(file -> DTOConverter.convertFileInfoToFileInfoDTO(file)).collect(Collectors.toList());\n\t}", "public void a(File file, List<WxAndQqScanPathInfo> list) {\n if (file != null && !this.p) {\n File[] listFiles = file.listFiles();\n if (listFiles != null) {\n int length = listFiles.length;\n int i2 = 0;\n while (i2 < length) {\n File file2 = listFiles[i2];\n if (!this.p) {\n if (file2 != null) {\n if (!file2.isDirectory()) {\n if (!\".nomedia\".equals(file2.getName()) && file2.length() >= 5 && file2 != null && file2.exists()) {\n CleanWxItemInfo cleanWxItemInfo = new CleanWxItemInfo();\n cleanWxItemInfo.setFileType(((WxAndQqScanPathInfo) list.get(0)).getType());\n cleanWxItemInfo.setFile(file2);\n cleanWxItemInfo.setDays(TimeUtil.changeTimeToDay(cleanWxItemInfo.getFile().lastModified()));\n cleanWxItemInfo.setFileSize(file2.length());\n switch (((WxAndQqScanPathInfo) list.get(0)).getType()) {\n case 1:\n o += cleanWxItemInfo.getFileSize();\n d.setTotalSize(d.getTotalSize() + cleanWxItemInfo.getFileSize());\n d.setTotalNum(d.getTotalNum() + 1);\n if (d.isChecked()) {\n cleanWxItemInfo.setChecked(true);\n d.setSelectSize(d.getSelectSize() + cleanWxItemInfo.getFileSize());\n d.setSelectNum(d.getSelectNum() + 1);\n }\n cleanWxItemInfo.setDays(TimeUtil.changeTimeToDay(0));\n a(d, cleanWxItemInfo);\n break;\n case 2:\n if (!file2.getAbsolutePath().endsWith(\"_cover\") && !new File(file2.getAbsolutePath() + \"_cover\").exists()) {\n if (!\"finishActivity\".equals(this.r) && !\"bigGarbageFragment\".equals(this.r)) {\n if (e.isFinished()) {\n j.setTotalNum(j.getTotalNum() + 1);\n j.setTotalSize(j.getTotalSize() + cleanWxItemInfo.getFileSize());\n a(j, cleanWxItemInfo);\n break;\n } else {\n o += cleanWxItemInfo.getFileSize();\n e.setTotalNum(e.getTotalNum() + 1);\n e.setTotalSize(e.getTotalSize() + cleanWxItemInfo.getFileSize());\n if (e.isChecked()) {\n cleanWxItemInfo.setChecked(true);\n e.setSelectNum(e.getSelectNum() + 1);\n e.setSelectSize(e.getSelectSize() + cleanWxItemInfo.getFileSize());\n }\n a(e, cleanWxItemInfo);\n break;\n }\n }\n } else {\n j.setTotalSize(j.getTotalSize() + cleanWxItemInfo.getFileSize());\n j.setTotalNum(j.getTotalNum() + 1);\n a(j, cleanWxItemInfo);\n break;\n }\n break;\n case 3:\n o += cleanWxItemInfo.getFileSize();\n f.setTotalSize(f.getTotalSize() + cleanWxItemInfo.getFileSize());\n f.setTotalNum(f.getTotalNum() + 1);\n if (f.isChecked()) {\n cleanWxItemInfo.setChecked(true);\n f.setSelectSize(f.getSelectSize() + cleanWxItemInfo.getFileSize());\n f.setSelectNum(f.getSelectNum() + 1);\n }\n a(f, cleanWxItemInfo);\n break;\n case 4:\n if (file2.getName().startsWith(\"snstblur_src_\")) {\n if (Constants.PRIVATE_LOG_CONTROLER) {\n break;\n } else {\n file2.delete();\n break;\n }\n } else {\n if (!file2.getName().startsWith(\"snst_\")) {\n if (file2.getName().startsWith(\"snsu_\") && new File(file2.getAbsolutePath().replace(\"snsu_\", \"snsb_\")).exists()) {\n break;\n }\n } else if (!new File(file2.getAbsolutePath().replace(\"snst_\", \"snsu_\")).exists()) {\n if (new File(file2.getAbsolutePath().replace(\"snst_\", \"snsb_\")).exists()) {\n break;\n }\n } else {\n break;\n }\n o += cleanWxItemInfo.getFileSize();\n g.setTotalSize(g.getTotalSize() + cleanWxItemInfo.getFileSize());\n g.setTotalNum(g.getTotalNum() + 1);\n if (g.isChecked()) {\n cleanWxItemInfo.setChecked(true);\n g.setSelectSize(g.getSelectSize() + cleanWxItemInfo.getFileSize());\n g.setSelectNum(g.getSelectNum() + 1);\n }\n a(g, cleanWxItemInfo);\n break;\n }\n case 5:\n if (file2.getName().endsWith(\".jpg_hevc\")) {\n if (Constants.PRIVATE_LOG_CONTROLER) {\n break;\n } else {\n file2.delete();\n break;\n }\n } else {\n if (file2.getName().startsWith(\"th_\")) {\n if (!file2.getName().endsWith(\"hd\")) {\n break;\n } else {\n break;\n }\n }\n h.setTotalSize(h.getTotalSize() + cleanWxItemInfo.getFileSize());\n h.setTotalNum(h.getTotalNum() + 1);\n a(h, cleanWxItemInfo);\n break;\n }\n case 6:\n if (!file2.getAbsolutePath().contains(\"download/appbrand\")) {\n if (file2.getName().endsWith(\".jpg\")) {\n if (!new File(file2.getAbsolutePath().replace(\".jpg\", \".mp4\")).exists() && !Constants.PRIVATE_LOG_CONTROLER) {\n file2.delete();\n break;\n }\n } else {\n i.setTotalSize(i.getTotalSize() + cleanWxItemInfo.getFileSize());\n i.setTotalNum(i.getTotalNum() + 1);\n a(i, cleanWxItemInfo);\n break;\n }\n } else {\n break;\n }\n case 8:\n k.setTotalSize(k.getTotalSize() + cleanWxItemInfo.getFileSize());\n k.setTotalNum(k.getTotalNum() + 1);\n a(k, cleanWxItemInfo);\n break;\n case 9:\n if (!file2.getName().endsWith(\".mp4\")) {\n l.setTotalSize(l.getTotalSize() + cleanWxItemInfo.getFileSize());\n l.setTotalNum(l.getTotalNum() + 1);\n l.getMineList().add(cleanWxItemInfo);\n a(l, cleanWxItemInfo);\n break;\n } else {\n m.setTotalSize(m.getTotalSize() + cleanWxItemInfo.getFileSize());\n m.setTotalNum(m.getTotalNum() + 1);\n m.getMineList().add(cleanWxItemInfo);\n a(m, cleanWxItemInfo);\n break;\n }\n case 10:\n n.setTotalSize(n.getTotalSize() + cleanWxItemInfo.getFileSize());\n n.setTotalNum(n.getTotalNum() + 1);\n a(n, cleanWxItemInfo);\n break;\n }\n }\n } else {\n try {\n if (file2.listFiles() == null || file2.listFiles().length == 0) {\n FileUtils.deleteFileAndFolder(file2);\n }\n } catch (Exception e2) {\n Logger.iCatch(Logger.TAG, Logger.ZYTAG, \"CleanWxClearNewActivity---wxFileScan ---- \", e2);\n }\n a(file2, list);\n }\n }\n i2++;\n } else {\n return;\n }\n }\n }\n }\n }", "java.util.List<? extends entities.Torrent.FileInfoOrBuilder>\n getFileInfoOrBuilderList();", "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 }", "public Builder addAllFiles(\n java.lang.Iterable<? extends entities.Torrent.FileInfo> values) {\n if (filesBuilder_ == null) {\n ensureFilesIsMutable();\n com.google.protobuf.AbstractMessageLite.Builder.addAll(\n values, files_);\n onChanged();\n } else {\n filesBuilder_.addAllMessages(values);\n }\n return this;\n }", "public filesMB() {\n }", "com.google.protobuf.ByteString\n getFileNamesBytes(int index);", "public int getFileNamesCount() {\n return fileNames_.size();\n }", "@java.lang.Override\n public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder(\n int index) {\n return fileInfo_.get(index);\n }" ]
[ "0.65325207", "0.6227456", "0.6177881", "0.6116598", "0.6065684", "0.6065684", "0.590164", "0.58970237", "0.58970237", "0.5783433", "0.57750136", "0.5763771", "0.5762734", "0.57547295", "0.5746625", "0.5744839", "0.5644452", "0.563878", "0.5628507", "0.56053144", "0.5601631", "0.5583571", "0.55456394", "0.5545325", "0.5545274", "0.5519314", "0.55032945", "0.5502879", "0.5497437", "0.54956275", "0.5495291", "0.54928", "0.5474748", "0.5458041", "0.54520524", "0.54351526", "0.5411701", "0.5409407", "0.5396235", "0.5388728", "0.5378012", "0.537654", "0.53608066", "0.5359268", "0.53519815", "0.5335172", "0.5334883", "0.5334883", "0.53343636", "0.53343636", "0.5319273", "0.5309602", "0.53086674", "0.52990717", "0.52990717", "0.5284801", "0.5278754", "0.5276997", "0.5274732", "0.52718306", "0.52717876", "0.5270142", "0.5268754", "0.5264792", "0.5254606", "0.5237259", "0.52320284", "0.52265704", "0.5221797", "0.5220387", "0.5209014", "0.5206498", "0.519874", "0.51969546", "0.5187828", "0.5185607", "0.5185165", "0.518249", "0.5176273", "0.5165428", "0.51650506", "0.5165015", "0.5163598", "0.5161906", "0.51600796", "0.51514554", "0.5150045", "0.51442325", "0.5133645", "0.51309294", "0.5130048", "0.51299196", "0.5128534", "0.51266265", "0.5125555", "0.5115963", "0.51151603", "0.51146954", "0.51012677", "0.50983685", "0.5096151" ]
0.0
-1
repeated .FileInfo files = 4;
public Builder setFiles( int index, entities.Torrent.FileInfo.Builder builderForValue) { if (filesBuilder_ == null) { ensureFilesIsMutable(); files_.set(index, builderForValue.build()); onChanged(); } else { filesBuilder_.setMessage(index, builderForValue.build()); } return this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "int getFileInfoCount();", "public void incFileCount(){\n\t\tthis.num_files++;\n\t}", "entities.Torrent.FileInfo getFiles(int index);", "public Files(){\n this.fileNameArray.add(\"bridge_1.txt\");\n this.fileNameArray.add(\"bridge_2.txt\");\n this.fileNameArray.add(\"bridge_3.txt\");\n this.fileNameArray.add(\"bridge_4.txt\");\n this.fileNameArray.add(\"bridge_5.txt\");\n this.fileNameArray.add(\"bridge_6.txt\");\n this.fileNameArray.add(\"bridge_7.txt\");\n this.fileNameArray.add(\"bridge_8.txt\");\n this.fileNameArray.add(\"bridge_9.txt\");\n this.fileNameArray.add(\"ladder_1.txt\");\n this.fileNameArray.add(\"ladder_2.txt\");\n this.fileNameArray.add(\"ladder_3.txt\");\n this.fileNameArray.add(\"ladder_4.txt\");\n this.fileNameArray.add(\"ladder_5.txt\");\n this.fileNameArray.add(\"ladder_6.txt\");\n this.fileNameArray.add(\"ladder_7.txt\");\n this.fileNameArray.add(\"ladder_8.txt\");\n this.fileNameArray.add(\"ladder_9.txt\");\n }", "int getFileNamesCount();", "int getFileNamesCount();", "ds.hdfs.generated.FileMetadata getFiles(int index);", "int getFilesCount();", "int getFilesCount();", "int getFileCount();", "private void gatherFile(FileStatus[] fstat)\r\n\t{\r\n\t inputSize = 0;\t\r\n\t paths = new Path[fstat.length];\t\r\n\t for(int i=0;i<fstat.length;i++)\r\n\t {\r\n\t inputSize+=fstat[i].getLen();\r\n\t paths[i] = fstat[i].getPath();\r\n\t }\r\n\t }", "@java.lang.Override\n public int getFileInfoCount() {\n return fileInfo_.size();\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}", "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}", "private void initializeFileArrays(){\n File downloadedFilesFolder = new File(MainActivity.DB_PATH);\n File[] files = downloadedFilesFolder.listFiles();\n System.out.println(\"*** \" + files.length + \" ***\");\n if(files != null){\n System.out.println(\"*** \" + files.length + \" ***\");\n for(File f : files){\n if(f != null){\n System.out.println(\"***\\n FILE FOUND - \" + f.getAbsolutePath()+\"\\nSIZE - \" +\n f.length() + \" BYTES \\n***\");\n fileNames.add(f.getName());\n fileSizes.add(f.length()+\"\");\n this.files.add(f);\n }\n }\n }\n }", "entities.Torrent.FileInfoOrBuilder getFilesOrBuilder(\n int index);", "List<UploadInfo> simpleUploadAll(List<SimpleFile> files);", "public List<FileUpload> getFileUploads(int numberOfFileUploads, Long startIndex) throws AppException;", "void addFile(int numberLines);", "private void updateFiles() {\n\t}", "@Override\n public void addSingleFile(FileInfo file) {\n }", "entities.Torrent.FileInfo getFileInfo(int index);", "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}", "private static void showFiles(File[] files) {\n\t\t for (File file : files) {\r\n\t\t if (file.isDirectory()) {\r\n\t\t // System.out.println(\"Directory: \" + file.getName());\r\n\t\t showFiles(file.listFiles()); // Calls same method again.\r\n\t\t } else {\r\n\t\t // System.out.println(\"File: \" + file.getName());\r\n\t\t }\r\n\t\t }\r\n\t\t\r\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 }", "private void findRecordings(){\n File[] files = new File(\"Concatenated/\").listFiles();\n _records.clear();\n _versionNum = 1;\n for (File file : files){\n if (file.isFile()){\n String nameOnFile = file.getName().substring(file.getName().lastIndexOf('_')+1,file.getName().lastIndexOf('.')).toUpperCase();\n if (nameOnFile.equals(_name.toUpperCase())){\n _records.add(file.getName());\n _versionNum++;\n }\n }\n }\n }", "private void checkDuplicateOfFile(Iterable<FileInfo> files, DuplicateDataDTO data) {\n for(FileInfo nextFile: files) {\n for(FileInfo nextFile2: files) {\n if(nextFile.duplicate(nextFile2)) {\n LOG.info(\"Duplicate - {}\", nextFile);\n\n processDuplicate(nextFile,data);\n }\n }\n }\n }", "public TagFileInfo[] getTagFiles() {\n/* 176 */ return this.tagFiles;\n/* */ }", "@Test\n\tpublic void testNumLargeFiles() {\n\t\tFile test = new File(\"X:\\\\Documents\\\\PS9 Test\");\n\t\tassertEquals(6,Explorer.numLargeFiles(test));\n\t}", "public double getNumFiles(){\n\t\treturn (this.num_files);\n\t}", "public Files files();", "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 }", "@Test\n\tpublic void testSetFileInfo() {\n\n\t}", "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 readFileList() throws IOException {\n\t\tint entries = metadataFile.readInt();\n\n\t\tfor (int i = 0; i < entries; i++) {\n\t\t\tint hash = metadataFile.readInt();\n\t\t\tlong dataOffset = metadataFile.readInt() & 0xFFFFFFFFL;\n\t\t\tlong dataSize = metadataFile.readInt() & 0xFFFFFFFFL;\n\t\t\tint pathListIndex = metadataFile.readInt();\n\n\t\t\tlong position = metadataFile.getPosition();\n\t\t\tmetadataFile.setPosition(pathListOffset + 8 + (pathListIndex * 8));\n\n\t\t\tlong pathOffset = metadataFile.readInt() & 0xFFFFFFFFL;\n\t\t\tint pathSize = metadataFile.readInt();\n\n\t\t\tmetadataFile.setPosition(pathListOffset + pathOffset);\n\t\t\tString path = metadataFile.readString(pathSize).trim();\n\n\t\t\tif (hash == hash(path)) \n\t\t\t\tfileEntries.add(new RAFFileEntry(dataOffset, dataSize, path));\n\t\t\telse\n\t\t\t\tthrow new IOException(\"Invalid hash for item '\" + path + \"'.\");\n\n\t\t\tmetadataFile.setPosition(position);\n\t\t}\n\t}", "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 static void main(String[] args) {\n\t\tint count=0;\n\t\t File f=new File(\"C:\\\\Users\\\\kumaujjv\\\\Downloads\\\\Assignments - Copy\");\n\t\t String[] s=f.list();\n\n\t\t for(String s1:s) {\n\t\t File f1=new File(f,s1);\n\t\t if(f1.isFile()) {\n\t\t\t //count++;\n\t\t\t System.out.println(s1);\n\t\t }\n\t\t}\n\t\tSystem.out.println(\"total number : \"+count);\n\n\t\t}", "public float[] accumulateDetailFiles(ArrayList<File> files){\r\n\t\tfloat[] values = new float[100];\r\n\t\tint counter = 0;\r\n\r\n\t for(File file:files){\t\t\r\n\t \tSystem.out.println(file.getName());\r\n\t \tcounter = 0;\r\n\t BufferedReader reader;\r\n\t try{\r\n\t reader = new BufferedReader(new FileReader(file));\r\n\t String line = reader.readLine(); \r\n\t while(line != null){\t\r\n\t \tif(!line.substring(0,1).equals(\"#\")){\r\n\t \t\tString[] values2 = line.split(\" \");\r\n\t \t\tvalues[counter] += Float.valueOf(values2[values2.length-1]);\r\n\t\t \tcounter++;\r\n\t \t}\r\n\t \tline = reader.readLine();\r\n\t }\r\n\t \r\n\t\t\t} catch (FileNotFoundException e) {\r\n\t\t\t System.err.println(\"FileNotFoundException: \" + e.getMessage());\r\n\t\t\t} catch (IOException e) {\r\n\t\t\t System.err.println(\"Caught IOException: \" + e.getMessage());\r\n\t\t\t}\r\n\t }\r\n\r\n\t float[] returnValues = new float[counter];\r\n\t \r\n\t for(int j = 0; j < returnValues.length; j++) \treturnValues[j] = ((float)values[j]/files.size());\r\n\t\r\n\t \r\n \treturn returnValues;\r\n\t}", "ds.hdfs.generated.FileMetadataOrBuilder getFilesOrBuilder(\n int index);", "private static void calculateSizes() {\n for(EmailTypes type : EmailTypes.values()){\n File f = unpackedFiles.get(type);\n setSizes.put(type, Objects.requireNonNull(f.listFiles()).length);\n }\n }", "public int[] filesRemaining();", "public static void main(String[] args) {\n\t\tFile dir = new File(\"H:\");\r\n\t\tString[] filelist = dir.list();\r\n\t\tlong total = 0;\r\n\t\tlong t = 0;\r\n\t\tfor(int i=0;i<filelist.length;i++){\r\n\t\t\t File readfile = new File(\"H:\" + \"\\\\\" + filelist[i]);\r\n\t\t\t t = readFile(readfile)/1024/1024;\r\n\t\t\t System.out.println(\"name=\" + readfile.getName() + \" size:=\" + t + \"MB\");\r\n\t\t\t total += t;\r\n\t\t}\r\n\t\tSystem.out.println(\"OK,all the files is list over,the number is \" + filelist.length + \"the total size is \" + total); \r\n\t}", "@Test\n public void tagFilesShouldReturnNonEmptyTagFiles() throws Exception {\n //given\n givenInfoMessageCode();\n\n //when\n List<IFileSpec> tagFiles = tagDelegator.tagFiles(fileSpecs, LABEL_NAME, opts);\n //then\n assertThat(tagFiles.size(), is(1));\n assertThat(tagFiles.get(0).getDepotPathString(), is(TEST_FILE_DEPOT_PATH));\n }", "public int getFileInfoCount() {\n if (fileInfoBuilder_ == null) {\n return fileInfo_.size();\n } else {\n return fileInfoBuilder_.getCount();\n }\n }", "private static ArrayList<File> buildFilesArray() {\n ArrayList<File> result = new ArrayList<>();\n rAddFilesToArray(workingDirectory, result);\n return result;\n }", "@java.lang.Override\n public entities.Torrent.FileInfoOrBuilder getFilesOrBuilder(\n int index) {\n return files_.get(index);\n }", "java.lang.String getFileNames(int index);", "java.lang.String getFileNames(int index);", "public void filesNotFound(File... f) { }", "public void filesNotFound(File... f) { }", "public static int filesWithSizes (File f)\n\t{\n\t\tif (f.isFile())\n\t\t{\n\t\t\tif (f.length()>= 10000 && f.length() <= 25000)\n\t\t\t{\n\t\t\t\treturn 1;\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\treturn 0;\n\t\t\t}\n\t\t}\n\t\telse\n\t\t{\n\t\t\tint count = 0;\n\t\t\tfor (File file: f.listFiles())\n\t\t\t{\n\t\t\t\tcount += filesWithSizes(file);\n\t\t\t}\n\t\t\treturn count;\n\t\t}\n\t}", "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 }", "public java.lang.String[] getNewFiles(){\r\n return localNewFiles;\r\n }", "entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder();", "entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder();", "@Test\n public void shouldReturnNonEmptyTagFiles() throws Exception {\n //given\n givenInfoMessageCode();\n //when\n List<IFileSpec> tagFiles = tagDelegator.tagFiles(\n fileSpecs,\n LABEL_NAME,\n listOnly1,\n delete1);\n //then\n assertThat(tagFiles.size(), is(1));\n assertThat(tagFiles.get(0).getDepotPathString(), is(TEST_FILE_DEPOT_PATH));\n }", "@Test\n public void maxFiles() throws Throwable {\n MergeFilesOptions opts = new MergeFilesOptions();\n opts.setStream(\"//Ace/dev\");\n opts.setReverseMapping(true);\n opts.setMaxFiles(1);\n opts.setForceStreamMerge(true);\n\n List<IFileSpec> merged = client.mergeFiles(null, null, opts);\n assertEquals(\"wrong number of files\", 1, merged.size());\n\n List<IFileSpec> opened = client.openedFiles(null, null);\n assertEquals(\"files should not have been opened\", 1, opened.size());\n }", "public FileCount(int numFiles){\n this.numFiles = numFiles;\n }", "public int getFileNamesCount() {\n return fileNames_.size();\n }", "static public ObservableList<ImageMetaInfo> getImagesInfo(File path) {\n ObservableList<ImageMetaInfo> observableList = FXCollections.observableArrayList();\n ExtFilter fileFilter = new ExtFilter();\n File[] imageFilesArray = path.listFiles(fileFilter);\n for (File file : imageFilesArray) {\n ImageMetaInfo imageMetaInfo = getImageMetaInfo(file);\n observableList.add(imageMetaInfo);\n }\n return observableList;\n }", "private void get_file_List() {\n\tString file_name=null;\r\n\tfor (int i = 0; i < listOfFiles.length; i++) \r\n\t {\r\n\t \r\n\t if (listOfFiles[i].isFile()) \r\n\t {\r\n\t\t file_name = listOfFiles[i].getName();\r\n\t if (file_name.endsWith(\".xml\") || file_name.endsWith(\".XML\"))\r\n\t {\r\n\t file_list.add(file_name) ;\r\n\t }\r\n\t }\r\n\t }\r\n\t\r\n}", "public static void getListOfAllFileVarianta2() {\n\t\tPath pathToSrc = Paths.get(\"D:\\\\TorrentsMd\");\r\n\t\ttry {\r\n\t\t\t//cu method references\r\n//\t\t\tFiles.walk(pathToSrc)\r\n//\t\t\t\t.map(Path::toFile)\r\n//\t\t\t\t.filter(File::isFile)\r\n//\t\t\t\t.map(File::getName)\r\n//\t\t\t\t.sorted()\r\n//\t\t\t\t.forEach(System.out::println);\r\n\t\t\t\r\n\t\t\t//cu lambda, dar dpdv semantic sunt identice\r\n\t\t\tFiles.walk(pathToSrc)\r\n\t\t\t\t .map(path -> path.toFile()) //trasnform fiecare Path din stream intr-un File\r\n\t\t\t\t .filter(file -> file.isFile()) //filtrez doar fisierele\r\n\t\t\t\t .map(file -> file.getName())//transform fiecare File din stream intr-un String, care e numele sau\r\n\t\t\t\t .sorted()\r\n\t\t\t\t .forEach(file -> System.out.println(file));\r\n\t\t} catch (IOException e) {\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t}", "@java.lang.Override\n public int getFilesCount() {\n return files_.size();\n }", "static List<File> gitAttributes(File projectDir, Iterable<File> files) {\n List<File> gitAttrFiles = new ArrayList<>();\n Set<File> visitedFolders = new HashSet<>();\n for (File file : files) {\n gitAttrAddWithParents(projectDir, file.getAbsoluteFile(), visitedFolders, gitAttrFiles);\n }\n return gitAttrFiles;\n }", "public static int getNumberOfFiles() {\n\t\treturn EXTENSIONS.length;\n\t}", "public Map<String, NewData> getSnapshotFiles (final List<String> files){\n \t\tMap<String,NewData> w = new HashMap<String,NewData>();\n \t\tList<String> l = new LinkedList<String>();\n \t\tString s=\"\";\n \t\t\n \t\tfor (String str : files){\n \t\t\tw.put(str, new NewData(str));\n \t\t\tl=this.readFile(this.getSnapshot().getRoot() + File.separatorChar +str);\n \t\t\t\n \t\t\tfor (String str2 : l)\n \t\t\t\ts=s+str2+\"\\n\";\n \t\t\t\n \t\t\tw.get(str).setFileContent(s);\n \t\t\tw.get(str).getLclock().putAll(this.getFilelist().get(str));\n \t\t}\n \t\t\t\t\n \t\treturn w;\n \t}", "entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder(\n int index);", "public void getPeerFiles(){\n\t\t\n\t\tFile[] files = new File(path).listFiles();\n\t\tfor (File file : files) {\n\t\t\tfileNames.add(file.getName());\n\t\t}\n\t\tSystem.out.println(\"Number of Files Registerd to the server - \"+fileNames.size());\n\t\tSystem.out.println(\"To search for file give command: get <Filename>\");\n\t\tSystem.out.println(\"To refresh type command: refresh\");\n\t\tSystem.out.println(\"To disconnect type command: disconnect\");\n\t}", "public static void main(String[] args) {\nFile files=new File(\"C:\\\\Users\\\\k74\");\nString filenames[]=files.list();\nfor(String filename :filenames)\n\tSystem.out.println(filename);\n\t}", "public static void rankFiles(Hashtable<?, Integer> fname, int numberOfOccurrences) \r\n\t{\n\t\tArrayList<Map.Entry<?, Integer>> arrayList = new ArrayList(fname.entrySet());\r\n\r\n\t\tCollections.sort(arrayList, new Comparator<Map.Entry<?, Integer>>() \r\n\t\t{\r\n\t\t\tpublic int compare(Map.Entry<?, Integer> obj1, Map.Entry<?, Integer> obj2) \r\n\t\t\t{\r\n\t\t\t\treturn obj1.getValue().compareTo(obj2.getValue());\r\n\t\t\t}\r\n\t\t});\r\n\r\n\t\tCollections.reverse(arrayList);\r\n\r\n\t\tif (numberOfOccurrences > 0) \r\n\t\t{\r\n\t\t\tSystem.out.println(\"\\n------Top 10 search results-----\\n\");\r\n\r\n\t\t\tint my_number = 10;\r\n\t\t\tint j = 1;\r\n\t\t\twhile (arrayList.size() > j && my_number > 0) \r\n\t\t\t{\r\n\t\t\t\tSystem.out.println(\"(\" + j + \") \" + arrayList.get(j) + \" times \");\r\n\t\t\t\tj++;\r\n\t\t\t\tmy_number--;\r\n\t\t\t}\r\n\t\t} \r\n\t}", "@Override\n public List<FileInfo> getLibrarySubFiles(FileInfo fileInfo) {\n return null;\n }", "public final void mo14831s() {\n Iterator it = ((ArrayList) mo14817d()).iterator();\n while (it.hasNext()) {\n File file = (File) it.next();\n if (file.listFiles() != null) {\n m6739b(file);\n long c = m6740c(file, false);\n if (((long) this.f6567b.mo14797a()) != c) {\n try {\n new File(new File(file, String.valueOf(c)), \"stale.tmp\").createNewFile();\n } catch (IOException unused) {\n f6563c.mo14884b(6, \"Could not write staleness marker.\", new Object[0]);\n }\n }\n for (File b : file.listFiles()) {\n m6739b(b);\n }\n }\n }\n }", "@Test\n public void testGetFilesList() {\n System.out.println(\"getFilesList from existing folder with existing subfiles\");\n String entryPath = folder.toString()+fSeparator+\"Images\";\n FilesDao instance = new FilesDao();\n String[] expResult = new String[2];\n expResult[0] = \"testImg.jpg\";\n expResult[1] = \"testImg2.jpg\";\n String[] result;\n try{\n result = instance.getFilesList(entryPath);\n }catch(EntryException ex){\n result = null;\n }\n assertArrayEquals(expResult, result);\n }", "private void populateList(File[] filesList) {\n Log.i(\"mPackage\",\"FilesList: \"+filesList.length);\n for(File file : filesList) {\n //Log.i(\"mPackage\",\"Path: \"+file);\n if(file.isDirectory()) {\n populateList(file.listFiles());\n }\n else {\n MarkerModel markerModel = new MarkerModel();\n Boolean containsObj = false;\n for(File modelFile : filesList) {\n String[] extension = modelFile.getName().split(\"\\\\.\");\n if(extension[extension.length-1].equals(\"obj\")) {\n markerModel.setObj(modelFile.getPath());\n containsObj = true;\n }\n else if(extension[extension.length-1].equals(\"mtl\"))\n markerModel.setMtl(modelFile.getPath());\n else\n markerModel.addTexture(modelFile.getPath());\n }\n if(containsObj)\n models.add(markerModel);\n return;\n //models.add(file.getPath());\n //Log.i(\"mPackage\",\"Path: \"+file.getPath());\n }\n }\n }", "java.util.List<? extends ds.hdfs.generated.FileMetadataOrBuilder> \n getFilesOrBuilderList();", "public List<String> splitByCount(String fileName, int count)\n throws IOException, InterruptedException {\n\n List<String> parts = new ArrayList<String>();\n File file = new File(fileName);\n int blockSize = (int) Math.ceil(file.length() / (double) count);\n RandomAccessFile raf = new RandomAccessFile(fileName, \"r\");\n long totalLen = raf.length();\n CountDownLatch latch = new CountDownLatch(count);\n\n long startPos = 0L;\n long nextPos = 0L;\n\n for (int i = 0; i < count; i++) {\n nextPos = Long.min((long) (i + 1) * blockSize, totalLen - 1);\n raf.seek(nextPos);\n //Calculate the start position for the next file.\n do {\n raf.seek(nextPos);\n if (raf.readByte() == '\\n') {\n nextPos = nextPos + 1;\n break;\n }\n nextPos--;\n } while (true);\n long readSizeTemp = nextPos - startPos;\n int readSize = (int) readSizeTemp;\n String partFileName = fileName.replace(\"raw\", \"raw\" + (i + 1));\n new SplitRunnable(readSize, startPos, partFileName, file, latch).run();\n startPos = nextPos;\n parts.add(partFileName);\n }\n //Wait until all the files are written.\n latch.await();\n return parts;\n }", "public float[] accumulateSimpleMixFiles(ArrayList<File> files){\r\n\t\t\tfloat[] returnValue = new float[10];\r\n\t\t\tfloat[] values = new float[10];\r\n\t\t\t\r\n\t\t for(File file:files){\t\t\t\t\t\r\n\t\t BufferedReader reader;\r\n\t\t try{\r\n\t\t reader = new BufferedReader(new FileReader(file));\r\n\t\t String line = reader.readLine(); \r\n\t\t while(line != null){\t\r\n\t\t \tif(line.substring(0,5).equals(\"Total\")){\r\n\t\t \t\tString[] values2 = line.split(\" \");\r\n\t\t \t\t\r\n\t\t \t\tfor(int i = 2; i < values2.length; i++) values[i-2] += Float.valueOf(values2[i]);\r\n\t\t \t}\r\n\t\t \tline = reader.readLine();\r\n\t\t }\r\n\t\t \r\n\t\t\t\t} catch (FileNotFoundException e) {\r\n\t\t\t\t System.err.println(\"FileNotFoundException: \" + e.getMessage());\r\n\t\t\t\t} catch (IOException e) {\r\n\t\t\t\t System.err.println(\"Caught IOException: \" + e.getMessage());\r\n\t\t\t\t}\r\n\t\t }\r\n\r\n\t\t for(int j = 0; j < values.length; j++) returnValue[j] = (float)values[j]/files.size();\t\r\n\t\t \r\n\t\t return returnValue;\r\n\t\t}", "private Map<ServerFile, Integer> totalFiles(){\n\t\tMap<ServerFile, Integer> ret = new HashMap<ServerFile, Integer>();\n\t\tfor (ClientObj c : clients){\n\t\t\tfor (ServerFile f : c.getFiles()){\n\t\t\t\tif (!ret.containsKey(f))\n\t\t\t\t\tret.put(f, 1);\n\t\t\t\telse\n\t\t\t\t\tret.put(f, ret.get(f) + 1);\n\t\t\t}\n\t\t}\n\t\treturn ret;\n\t}", "int getSourceFileCount();", "public void checkForRepeats(String selectedMarket)\r\n {\r\n System.out.println(backUpPath + selectedMarket);\r\n \tFile f = new File(backUpPath + selectedMarket);\r\n \tArrayList<File> fileContents = new ArrayList<File>(Arrays.asList(f.listFiles()));\r\n \t\r\n for(int i = 0;i< scriptAds.size();i++)\r\n \t{\r\n String currentFileName;\r\n long modified;\r\n Date modifiedDate;\r\n \r\n for(int j = 0;j < fileContents.size();j++)\r\n {\r\n currentFileName = fileContents.get(j).getName();\r\n \r\n if(currentFileName.contains(\".\"))\r\n {\r\n currentFileName = currentFileName.substring(0,currentFileName.lastIndexOf(\".\"));\r\n }\r\n if(scriptAds.get(i).getAdNumber().toLowerCase().equals(currentFileName.toLowerCase()))\r\n {\r\n modified = fileContents.get(j).lastModified();\r\n modifiedDate = new Date(modified);\r\n \r\n String dateToPrint = DateFormat.getDateTimeInstance(DateFormat.SHORT, DateFormat.SHORT).format(modifiedDate);\r\n dateToPrint = dateToPrint.substring(0,dateToPrint.indexOf(\" \"));\r\n \r\n infoText.append(\"<p>CC# \" + scriptAds.get(i).getccNumber() \r\n + \" matches a backup of last modified : \" + scriptAds.get(i).getAdNumber() \r\n + \" \" + dateToPrint + \"\\nin \" + importFileName + \"</p>\");\r\n }\r\n }\r\n }\r\n }", "public void mo83570c() {\n File[] listFiles;\n File file = new File(this.f60297d);\n if (file.isDirectory() && (listFiles = file.listFiles()) != null && listFiles.length >= this.f60294a) {\n Arrays.sort(listFiles, this.f60295b);\n for (int i = 0; i < listFiles.length && listFiles.length >= this.f60294a; i++) {\n File file2 = listFiles[i];\n if (!this.f60299f.contains(file2)) {\n ArgusLogger.m85574b(String.format(C6969H.m41409d(\"G4D8AC619BE22AF20E809D047FEE1C6C47DC3D008AD3FB969E71DD05BE6EAD1D26DC3D008AD3FB969EA079D41E6A5D1D26880DD1FBB70E36CF547\"), file2.getPath()));\n mo83569b(Collections.singleton(file2));\n }\n }\n }\n }", "public File[] filesReadOnly(File... f) { return f; }", "public List<File> getFiles();", "@Test\n\tpublic void testCountItems() {\n\t\tFile test = new File(\"X:\\\\Documents\\\\PS9 Test\");\n\t\tassertEquals(13,Explorer.countItems(test));\n\t}", "void update(FileInfo fileInfo);", "private static ArrayList m5336a(File[] fileArr) {\n ArrayList arrayList = new ArrayList();\n int i = 0;\n while (i < fileArr.length) {\n if (fileArr[i].isFile() && fileArr[i].getName().length() == 10 && TextUtils.isDigitsOnly(fileArr[i].getName())) {\n arrayList.add(fileArr[i]);\n }\n i++;\n }\n return arrayList;\n }", "@Test(timeout = 4000)\n public void test23() throws Throwable {\n FileUtil fileUtil0 = new FileUtil();\n ArrayList<Object> arrayList0 = new ArrayList<Object>();\n File file0 = fileUtil0.getAccessories(\"YP=8V~@ch)3vts}p8\", arrayList0);\n assertNull(file0);\n }", "public void findDupe(int choice) {\n\n\t\tString fullName = null;\n\t\tboolean flag = true;\n\n\t\tfor (Path file : filesArray) {\n\t\t\ttry {\n\t\t\t\tfullName = getFullName(file, choice);\n\t\t\t} catch (Exception e) {\n\t\t\t\tSystem.out.println(\"problem read file: \" + file);\n\t\t\t\tflag = false;\n\t\t\t}\n\n\t\t\tif (flag) {\n\t\t\t\tmultiMap.put(fullName, file);\n\t\t\t\tCollection<Path> vals = (Collection<Path>) multiMap.get(fullName);\n\n\t\t\t\tif (vals.size() > 1) {\n\t\t\t\t\tcounter++;\n\t\t\t\t}\n\t\t\t}\n\t\t\tflag = true;\n\t\t}\n\n\t\tSet<String> keys = multiMap.keySet();\n\t\tIterator<String> items = keys.iterator();\n\n\t\twhile (items.hasNext()) {\n\t\t\tString str = (String) items.next();\n\n\t\t\t@SuppressWarnings(\"unchecked\")\n\t\t\tCollection<Path> val = (Collection<Path>) multiMap.get(str);\n\t\t\tArrayList<Path> arr = new ArrayList<>(val);\n\n\t\t\tif (arr.size() <= 1)\n\t\t\t\titems.remove();\n\n\t\t}\n\n\t}", "java.util.List<entities.Torrent.FileInfo>\n getFileInfoList();", "List<DownloadChunk> mo54445j(int i);", "void visitFile(StorageUnit unit, long off, long lim);", "public void fileInfo(String info);", "private List<FileInfoDTO> createFileInfoDTOs(MultipartFile file1, MultipartFile file2, int totalLinesFirstFile,\n\t\t\tint totalLinesSecondFile) {\n\t\tint unmatchedRecordsFirstFile = firstFileMap.getCountMap().values().stream().mapToInt(Integer::valueOf).sum();\n\t\tint unmatchedRecordsSecondFile = secondFileMap.getCountMap().values().stream().mapToInt(Integer::valueOf).sum();\n\n\t\tFileInfo firstFileInfo = new FileInfo();\n\t\tfirstFileInfo.setName(file1.getOriginalFilename());\n\t\tfirstFileInfo.setTotalRecords(totalLinesFirstFile);\n\t\tfirstFileInfo.setUnmatchedRecords(unmatchedRecordsFirstFile);\n\t\tfirstFileInfo.setMatchingRecords(totalLinesFirstFile - unmatchedRecordsFirstFile);\n\n\t\tFileInfo secondFileInfo = new FileInfo();\n\t\tsecondFileInfo.setName(file2.getOriginalFilename());\n\t\tsecondFileInfo.setTotalRecords(totalLinesSecondFile);\n\t\tsecondFileInfo.setUnmatchedRecords(unmatchedRecordsSecondFile);\n\t\tsecondFileInfo.setMatchingRecords(totalLinesSecondFile - unmatchedRecordsSecondFile);\n\n\t\treturn List.of(firstFileInfo, secondFileInfo).stream()\n\t\t\t\t.map(file -> DTOConverter.convertFileInfoToFileInfoDTO(file)).collect(Collectors.toList());\n\t}", "public void a(File file, List<WxAndQqScanPathInfo> list) {\n if (file != null && !this.p) {\n File[] listFiles = file.listFiles();\n if (listFiles != null) {\n int length = listFiles.length;\n int i2 = 0;\n while (i2 < length) {\n File file2 = listFiles[i2];\n if (!this.p) {\n if (file2 != null) {\n if (!file2.isDirectory()) {\n if (!\".nomedia\".equals(file2.getName()) && file2.length() >= 5 && file2 != null && file2.exists()) {\n CleanWxItemInfo cleanWxItemInfo = new CleanWxItemInfo();\n cleanWxItemInfo.setFileType(((WxAndQqScanPathInfo) list.get(0)).getType());\n cleanWxItemInfo.setFile(file2);\n cleanWxItemInfo.setDays(TimeUtil.changeTimeToDay(cleanWxItemInfo.getFile().lastModified()));\n cleanWxItemInfo.setFileSize(file2.length());\n switch (((WxAndQqScanPathInfo) list.get(0)).getType()) {\n case 1:\n o += cleanWxItemInfo.getFileSize();\n d.setTotalSize(d.getTotalSize() + cleanWxItemInfo.getFileSize());\n d.setTotalNum(d.getTotalNum() + 1);\n if (d.isChecked()) {\n cleanWxItemInfo.setChecked(true);\n d.setSelectSize(d.getSelectSize() + cleanWxItemInfo.getFileSize());\n d.setSelectNum(d.getSelectNum() + 1);\n }\n cleanWxItemInfo.setDays(TimeUtil.changeTimeToDay(0));\n a(d, cleanWxItemInfo);\n break;\n case 2:\n if (!file2.getAbsolutePath().endsWith(\"_cover\") && !new File(file2.getAbsolutePath() + \"_cover\").exists()) {\n if (!\"finishActivity\".equals(this.r) && !\"bigGarbageFragment\".equals(this.r)) {\n if (e.isFinished()) {\n j.setTotalNum(j.getTotalNum() + 1);\n j.setTotalSize(j.getTotalSize() + cleanWxItemInfo.getFileSize());\n a(j, cleanWxItemInfo);\n break;\n } else {\n o += cleanWxItemInfo.getFileSize();\n e.setTotalNum(e.getTotalNum() + 1);\n e.setTotalSize(e.getTotalSize() + cleanWxItemInfo.getFileSize());\n if (e.isChecked()) {\n cleanWxItemInfo.setChecked(true);\n e.setSelectNum(e.getSelectNum() + 1);\n e.setSelectSize(e.getSelectSize() + cleanWxItemInfo.getFileSize());\n }\n a(e, cleanWxItemInfo);\n break;\n }\n }\n } else {\n j.setTotalSize(j.getTotalSize() + cleanWxItemInfo.getFileSize());\n j.setTotalNum(j.getTotalNum() + 1);\n a(j, cleanWxItemInfo);\n break;\n }\n break;\n case 3:\n o += cleanWxItemInfo.getFileSize();\n f.setTotalSize(f.getTotalSize() + cleanWxItemInfo.getFileSize());\n f.setTotalNum(f.getTotalNum() + 1);\n if (f.isChecked()) {\n cleanWxItemInfo.setChecked(true);\n f.setSelectSize(f.getSelectSize() + cleanWxItemInfo.getFileSize());\n f.setSelectNum(f.getSelectNum() + 1);\n }\n a(f, cleanWxItemInfo);\n break;\n case 4:\n if (file2.getName().startsWith(\"snstblur_src_\")) {\n if (Constants.PRIVATE_LOG_CONTROLER) {\n break;\n } else {\n file2.delete();\n break;\n }\n } else {\n if (!file2.getName().startsWith(\"snst_\")) {\n if (file2.getName().startsWith(\"snsu_\") && new File(file2.getAbsolutePath().replace(\"snsu_\", \"snsb_\")).exists()) {\n break;\n }\n } else if (!new File(file2.getAbsolutePath().replace(\"snst_\", \"snsu_\")).exists()) {\n if (new File(file2.getAbsolutePath().replace(\"snst_\", \"snsb_\")).exists()) {\n break;\n }\n } else {\n break;\n }\n o += cleanWxItemInfo.getFileSize();\n g.setTotalSize(g.getTotalSize() + cleanWxItemInfo.getFileSize());\n g.setTotalNum(g.getTotalNum() + 1);\n if (g.isChecked()) {\n cleanWxItemInfo.setChecked(true);\n g.setSelectSize(g.getSelectSize() + cleanWxItemInfo.getFileSize());\n g.setSelectNum(g.getSelectNum() + 1);\n }\n a(g, cleanWxItemInfo);\n break;\n }\n case 5:\n if (file2.getName().endsWith(\".jpg_hevc\")) {\n if (Constants.PRIVATE_LOG_CONTROLER) {\n break;\n } else {\n file2.delete();\n break;\n }\n } else {\n if (file2.getName().startsWith(\"th_\")) {\n if (!file2.getName().endsWith(\"hd\")) {\n break;\n } else {\n break;\n }\n }\n h.setTotalSize(h.getTotalSize() + cleanWxItemInfo.getFileSize());\n h.setTotalNum(h.getTotalNum() + 1);\n a(h, cleanWxItemInfo);\n break;\n }\n case 6:\n if (!file2.getAbsolutePath().contains(\"download/appbrand\")) {\n if (file2.getName().endsWith(\".jpg\")) {\n if (!new File(file2.getAbsolutePath().replace(\".jpg\", \".mp4\")).exists() && !Constants.PRIVATE_LOG_CONTROLER) {\n file2.delete();\n break;\n }\n } else {\n i.setTotalSize(i.getTotalSize() + cleanWxItemInfo.getFileSize());\n i.setTotalNum(i.getTotalNum() + 1);\n a(i, cleanWxItemInfo);\n break;\n }\n } else {\n break;\n }\n case 8:\n k.setTotalSize(k.getTotalSize() + cleanWxItemInfo.getFileSize());\n k.setTotalNum(k.getTotalNum() + 1);\n a(k, cleanWxItemInfo);\n break;\n case 9:\n if (!file2.getName().endsWith(\".mp4\")) {\n l.setTotalSize(l.getTotalSize() + cleanWxItemInfo.getFileSize());\n l.setTotalNum(l.getTotalNum() + 1);\n l.getMineList().add(cleanWxItemInfo);\n a(l, cleanWxItemInfo);\n break;\n } else {\n m.setTotalSize(m.getTotalSize() + cleanWxItemInfo.getFileSize());\n m.setTotalNum(m.getTotalNum() + 1);\n m.getMineList().add(cleanWxItemInfo);\n a(m, cleanWxItemInfo);\n break;\n }\n case 10:\n n.setTotalSize(n.getTotalSize() + cleanWxItemInfo.getFileSize());\n n.setTotalNum(n.getTotalNum() + 1);\n a(n, cleanWxItemInfo);\n break;\n }\n }\n } else {\n try {\n if (file2.listFiles() == null || file2.listFiles().length == 0) {\n FileUtils.deleteFileAndFolder(file2);\n }\n } catch (Exception e2) {\n Logger.iCatch(Logger.TAG, Logger.ZYTAG, \"CleanWxClearNewActivity---wxFileScan ---- \", e2);\n }\n a(file2, list);\n }\n }\n i2++;\n } else {\n return;\n }\n }\n }\n }\n }", "java.util.List<? extends entities.Torrent.FileInfoOrBuilder>\n getFileInfoOrBuilderList();", "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 }", "public Builder addAllFiles(\n java.lang.Iterable<? extends entities.Torrent.FileInfo> values) {\n if (filesBuilder_ == null) {\n ensureFilesIsMutable();\n com.google.protobuf.AbstractMessageLite.Builder.addAll(\n values, files_);\n onChanged();\n } else {\n filesBuilder_.addAllMessages(values);\n }\n return this;\n }", "public filesMB() {\n }", "com.google.protobuf.ByteString\n getFileNamesBytes(int index);", "public int getFileNamesCount() {\n return fileNames_.size();\n }", "@java.lang.Override\n public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder(\n int index) {\n return fileInfo_.get(index);\n }" ]
[ "0.65325207", "0.6227456", "0.6177881", "0.6116598", "0.6065684", "0.6065684", "0.590164", "0.58970237", "0.58970237", "0.5783433", "0.57750136", "0.5763771", "0.5762734", "0.57547295", "0.5746625", "0.5744839", "0.5644452", "0.563878", "0.5628507", "0.56053144", "0.5601631", "0.5583571", "0.55456394", "0.5545325", "0.5545274", "0.5519314", "0.55032945", "0.5502879", "0.5497437", "0.54956275", "0.5495291", "0.54928", "0.5474748", "0.5458041", "0.54520524", "0.54351526", "0.5411701", "0.5409407", "0.5396235", "0.5388728", "0.5378012", "0.537654", "0.53608066", "0.5359268", "0.53519815", "0.5335172", "0.5334883", "0.5334883", "0.53343636", "0.53343636", "0.5319273", "0.5309602", "0.53086674", "0.52990717", "0.52990717", "0.5284801", "0.5278754", "0.5276997", "0.5274732", "0.52718306", "0.52717876", "0.5270142", "0.5268754", "0.5264792", "0.5254606", "0.5237259", "0.52320284", "0.52265704", "0.5221797", "0.5220387", "0.5209014", "0.5206498", "0.519874", "0.51969546", "0.5187828", "0.5185607", "0.5185165", "0.518249", "0.5176273", "0.5165428", "0.51650506", "0.5165015", "0.5163598", "0.5161906", "0.51600796", "0.51514554", "0.5150045", "0.51442325", "0.5133645", "0.51309294", "0.5130048", "0.51299196", "0.5128534", "0.51266265", "0.5125555", "0.5115963", "0.51151603", "0.51146954", "0.51012677", "0.50983685", "0.5096151" ]
0.0
-1
repeated .FileInfo files = 4;
public Builder addFiles(entities.Torrent.FileInfo value) { if (filesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureFilesIsMutable(); files_.add(value); onChanged(); } else { filesBuilder_.addMessage(value); } return this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "int getFileInfoCount();", "public void incFileCount(){\n\t\tthis.num_files++;\n\t}", "entities.Torrent.FileInfo getFiles(int index);", "public Files(){\n this.fileNameArray.add(\"bridge_1.txt\");\n this.fileNameArray.add(\"bridge_2.txt\");\n this.fileNameArray.add(\"bridge_3.txt\");\n this.fileNameArray.add(\"bridge_4.txt\");\n this.fileNameArray.add(\"bridge_5.txt\");\n this.fileNameArray.add(\"bridge_6.txt\");\n this.fileNameArray.add(\"bridge_7.txt\");\n this.fileNameArray.add(\"bridge_8.txt\");\n this.fileNameArray.add(\"bridge_9.txt\");\n this.fileNameArray.add(\"ladder_1.txt\");\n this.fileNameArray.add(\"ladder_2.txt\");\n this.fileNameArray.add(\"ladder_3.txt\");\n this.fileNameArray.add(\"ladder_4.txt\");\n this.fileNameArray.add(\"ladder_5.txt\");\n this.fileNameArray.add(\"ladder_6.txt\");\n this.fileNameArray.add(\"ladder_7.txt\");\n this.fileNameArray.add(\"ladder_8.txt\");\n this.fileNameArray.add(\"ladder_9.txt\");\n }", "int getFileNamesCount();", "int getFileNamesCount();", "ds.hdfs.generated.FileMetadata getFiles(int index);", "int getFilesCount();", "int getFilesCount();", "int getFileCount();", "private void gatherFile(FileStatus[] fstat)\r\n\t{\r\n\t inputSize = 0;\t\r\n\t paths = new Path[fstat.length];\t\r\n\t for(int i=0;i<fstat.length;i++)\r\n\t {\r\n\t inputSize+=fstat[i].getLen();\r\n\t paths[i] = fstat[i].getPath();\r\n\t }\r\n\t }", "@java.lang.Override\n public int getFileInfoCount() {\n return fileInfo_.size();\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}", "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}", "private void initializeFileArrays(){\n File downloadedFilesFolder = new File(MainActivity.DB_PATH);\n File[] files = downloadedFilesFolder.listFiles();\n System.out.println(\"*** \" + files.length + \" ***\");\n if(files != null){\n System.out.println(\"*** \" + files.length + \" ***\");\n for(File f : files){\n if(f != null){\n System.out.println(\"***\\n FILE FOUND - \" + f.getAbsolutePath()+\"\\nSIZE - \" +\n f.length() + \" BYTES \\n***\");\n fileNames.add(f.getName());\n fileSizes.add(f.length()+\"\");\n this.files.add(f);\n }\n }\n }\n }", "entities.Torrent.FileInfoOrBuilder getFilesOrBuilder(\n int index);", "List<UploadInfo> simpleUploadAll(List<SimpleFile> files);", "public List<FileUpload> getFileUploads(int numberOfFileUploads, Long startIndex) throws AppException;", "void addFile(int numberLines);", "private void updateFiles() {\n\t}", "@Override\n public void addSingleFile(FileInfo file) {\n }", "entities.Torrent.FileInfo getFileInfo(int index);", "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}", "private static void showFiles(File[] files) {\n\t\t for (File file : files) {\r\n\t\t if (file.isDirectory()) {\r\n\t\t // System.out.println(\"Directory: \" + file.getName());\r\n\t\t showFiles(file.listFiles()); // Calls same method again.\r\n\t\t } else {\r\n\t\t // System.out.println(\"File: \" + file.getName());\r\n\t\t }\r\n\t\t }\r\n\t\t\r\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 }", "private void findRecordings(){\n File[] files = new File(\"Concatenated/\").listFiles();\n _records.clear();\n _versionNum = 1;\n for (File file : files){\n if (file.isFile()){\n String nameOnFile = file.getName().substring(file.getName().lastIndexOf('_')+1,file.getName().lastIndexOf('.')).toUpperCase();\n if (nameOnFile.equals(_name.toUpperCase())){\n _records.add(file.getName());\n _versionNum++;\n }\n }\n }\n }", "private void checkDuplicateOfFile(Iterable<FileInfo> files, DuplicateDataDTO data) {\n for(FileInfo nextFile: files) {\n for(FileInfo nextFile2: files) {\n if(nextFile.duplicate(nextFile2)) {\n LOG.info(\"Duplicate - {}\", nextFile);\n\n processDuplicate(nextFile,data);\n }\n }\n }\n }", "public TagFileInfo[] getTagFiles() {\n/* 176 */ return this.tagFiles;\n/* */ }", "@Test\n\tpublic void testNumLargeFiles() {\n\t\tFile test = new File(\"X:\\\\Documents\\\\PS9 Test\");\n\t\tassertEquals(6,Explorer.numLargeFiles(test));\n\t}", "public double getNumFiles(){\n\t\treturn (this.num_files);\n\t}", "public Files files();", "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 }", "@Test\n\tpublic void testSetFileInfo() {\n\n\t}", "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 readFileList() throws IOException {\n\t\tint entries = metadataFile.readInt();\n\n\t\tfor (int i = 0; i < entries; i++) {\n\t\t\tint hash = metadataFile.readInt();\n\t\t\tlong dataOffset = metadataFile.readInt() & 0xFFFFFFFFL;\n\t\t\tlong dataSize = metadataFile.readInt() & 0xFFFFFFFFL;\n\t\t\tint pathListIndex = metadataFile.readInt();\n\n\t\t\tlong position = metadataFile.getPosition();\n\t\t\tmetadataFile.setPosition(pathListOffset + 8 + (pathListIndex * 8));\n\n\t\t\tlong pathOffset = metadataFile.readInt() & 0xFFFFFFFFL;\n\t\t\tint pathSize = metadataFile.readInt();\n\n\t\t\tmetadataFile.setPosition(pathListOffset + pathOffset);\n\t\t\tString path = metadataFile.readString(pathSize).trim();\n\n\t\t\tif (hash == hash(path)) \n\t\t\t\tfileEntries.add(new RAFFileEntry(dataOffset, dataSize, path));\n\t\t\telse\n\t\t\t\tthrow new IOException(\"Invalid hash for item '\" + path + \"'.\");\n\n\t\t\tmetadataFile.setPosition(position);\n\t\t}\n\t}", "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 static void main(String[] args) {\n\t\tint count=0;\n\t\t File f=new File(\"C:\\\\Users\\\\kumaujjv\\\\Downloads\\\\Assignments - Copy\");\n\t\t String[] s=f.list();\n\n\t\t for(String s1:s) {\n\t\t File f1=new File(f,s1);\n\t\t if(f1.isFile()) {\n\t\t\t //count++;\n\t\t\t System.out.println(s1);\n\t\t }\n\t\t}\n\t\tSystem.out.println(\"total number : \"+count);\n\n\t\t}", "public float[] accumulateDetailFiles(ArrayList<File> files){\r\n\t\tfloat[] values = new float[100];\r\n\t\tint counter = 0;\r\n\r\n\t for(File file:files){\t\t\r\n\t \tSystem.out.println(file.getName());\r\n\t \tcounter = 0;\r\n\t BufferedReader reader;\r\n\t try{\r\n\t reader = new BufferedReader(new FileReader(file));\r\n\t String line = reader.readLine(); \r\n\t while(line != null){\t\r\n\t \tif(!line.substring(0,1).equals(\"#\")){\r\n\t \t\tString[] values2 = line.split(\" \");\r\n\t \t\tvalues[counter] += Float.valueOf(values2[values2.length-1]);\r\n\t\t \tcounter++;\r\n\t \t}\r\n\t \tline = reader.readLine();\r\n\t }\r\n\t \r\n\t\t\t} catch (FileNotFoundException e) {\r\n\t\t\t System.err.println(\"FileNotFoundException: \" + e.getMessage());\r\n\t\t\t} catch (IOException e) {\r\n\t\t\t System.err.println(\"Caught IOException: \" + e.getMessage());\r\n\t\t\t}\r\n\t }\r\n\r\n\t float[] returnValues = new float[counter];\r\n\t \r\n\t for(int j = 0; j < returnValues.length; j++) \treturnValues[j] = ((float)values[j]/files.size());\r\n\t\r\n\t \r\n \treturn returnValues;\r\n\t}", "ds.hdfs.generated.FileMetadataOrBuilder getFilesOrBuilder(\n int index);", "private static void calculateSizes() {\n for(EmailTypes type : EmailTypes.values()){\n File f = unpackedFiles.get(type);\n setSizes.put(type, Objects.requireNonNull(f.listFiles()).length);\n }\n }", "public int[] filesRemaining();", "public static void main(String[] args) {\n\t\tFile dir = new File(\"H:\");\r\n\t\tString[] filelist = dir.list();\r\n\t\tlong total = 0;\r\n\t\tlong t = 0;\r\n\t\tfor(int i=0;i<filelist.length;i++){\r\n\t\t\t File readfile = new File(\"H:\" + \"\\\\\" + filelist[i]);\r\n\t\t\t t = readFile(readfile)/1024/1024;\r\n\t\t\t System.out.println(\"name=\" + readfile.getName() + \" size:=\" + t + \"MB\");\r\n\t\t\t total += t;\r\n\t\t}\r\n\t\tSystem.out.println(\"OK,all the files is list over,the number is \" + filelist.length + \"the total size is \" + total); \r\n\t}", "@Test\n public void tagFilesShouldReturnNonEmptyTagFiles() throws Exception {\n //given\n givenInfoMessageCode();\n\n //when\n List<IFileSpec> tagFiles = tagDelegator.tagFiles(fileSpecs, LABEL_NAME, opts);\n //then\n assertThat(tagFiles.size(), is(1));\n assertThat(tagFiles.get(0).getDepotPathString(), is(TEST_FILE_DEPOT_PATH));\n }", "public int getFileInfoCount() {\n if (fileInfoBuilder_ == null) {\n return fileInfo_.size();\n } else {\n return fileInfoBuilder_.getCount();\n }\n }", "private static ArrayList<File> buildFilesArray() {\n ArrayList<File> result = new ArrayList<>();\n rAddFilesToArray(workingDirectory, result);\n return result;\n }", "@java.lang.Override\n public entities.Torrent.FileInfoOrBuilder getFilesOrBuilder(\n int index) {\n return files_.get(index);\n }", "java.lang.String getFileNames(int index);", "java.lang.String getFileNames(int index);", "public void filesNotFound(File... f) { }", "public void filesNotFound(File... f) { }", "public static int filesWithSizes (File f)\n\t{\n\t\tif (f.isFile())\n\t\t{\n\t\t\tif (f.length()>= 10000 && f.length() <= 25000)\n\t\t\t{\n\t\t\t\treturn 1;\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\treturn 0;\n\t\t\t}\n\t\t}\n\t\telse\n\t\t{\n\t\t\tint count = 0;\n\t\t\tfor (File file: f.listFiles())\n\t\t\t{\n\t\t\t\tcount += filesWithSizes(file);\n\t\t\t}\n\t\t\treturn count;\n\t\t}\n\t}", "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 }", "public java.lang.String[] getNewFiles(){\r\n return localNewFiles;\r\n }", "entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder();", "entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder();", "@Test\n public void shouldReturnNonEmptyTagFiles() throws Exception {\n //given\n givenInfoMessageCode();\n //when\n List<IFileSpec> tagFiles = tagDelegator.tagFiles(\n fileSpecs,\n LABEL_NAME,\n listOnly1,\n delete1);\n //then\n assertThat(tagFiles.size(), is(1));\n assertThat(tagFiles.get(0).getDepotPathString(), is(TEST_FILE_DEPOT_PATH));\n }", "@Test\n public void maxFiles() throws Throwable {\n MergeFilesOptions opts = new MergeFilesOptions();\n opts.setStream(\"//Ace/dev\");\n opts.setReverseMapping(true);\n opts.setMaxFiles(1);\n opts.setForceStreamMerge(true);\n\n List<IFileSpec> merged = client.mergeFiles(null, null, opts);\n assertEquals(\"wrong number of files\", 1, merged.size());\n\n List<IFileSpec> opened = client.openedFiles(null, null);\n assertEquals(\"files should not have been opened\", 1, opened.size());\n }", "public FileCount(int numFiles){\n this.numFiles = numFiles;\n }", "public int getFileNamesCount() {\n return fileNames_.size();\n }", "static public ObservableList<ImageMetaInfo> getImagesInfo(File path) {\n ObservableList<ImageMetaInfo> observableList = FXCollections.observableArrayList();\n ExtFilter fileFilter = new ExtFilter();\n File[] imageFilesArray = path.listFiles(fileFilter);\n for (File file : imageFilesArray) {\n ImageMetaInfo imageMetaInfo = getImageMetaInfo(file);\n observableList.add(imageMetaInfo);\n }\n return observableList;\n }", "private void get_file_List() {\n\tString file_name=null;\r\n\tfor (int i = 0; i < listOfFiles.length; i++) \r\n\t {\r\n\t \r\n\t if (listOfFiles[i].isFile()) \r\n\t {\r\n\t\t file_name = listOfFiles[i].getName();\r\n\t if (file_name.endsWith(\".xml\") || file_name.endsWith(\".XML\"))\r\n\t {\r\n\t file_list.add(file_name) ;\r\n\t }\r\n\t }\r\n\t }\r\n\t\r\n}", "public static void getListOfAllFileVarianta2() {\n\t\tPath pathToSrc = Paths.get(\"D:\\\\TorrentsMd\");\r\n\t\ttry {\r\n\t\t\t//cu method references\r\n//\t\t\tFiles.walk(pathToSrc)\r\n//\t\t\t\t.map(Path::toFile)\r\n//\t\t\t\t.filter(File::isFile)\r\n//\t\t\t\t.map(File::getName)\r\n//\t\t\t\t.sorted()\r\n//\t\t\t\t.forEach(System.out::println);\r\n\t\t\t\r\n\t\t\t//cu lambda, dar dpdv semantic sunt identice\r\n\t\t\tFiles.walk(pathToSrc)\r\n\t\t\t\t .map(path -> path.toFile()) //trasnform fiecare Path din stream intr-un File\r\n\t\t\t\t .filter(file -> file.isFile()) //filtrez doar fisierele\r\n\t\t\t\t .map(file -> file.getName())//transform fiecare File din stream intr-un String, care e numele sau\r\n\t\t\t\t .sorted()\r\n\t\t\t\t .forEach(file -> System.out.println(file));\r\n\t\t} catch (IOException e) {\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t}", "@java.lang.Override\n public int getFilesCount() {\n return files_.size();\n }", "static List<File> gitAttributes(File projectDir, Iterable<File> files) {\n List<File> gitAttrFiles = new ArrayList<>();\n Set<File> visitedFolders = new HashSet<>();\n for (File file : files) {\n gitAttrAddWithParents(projectDir, file.getAbsoluteFile(), visitedFolders, gitAttrFiles);\n }\n return gitAttrFiles;\n }", "public static int getNumberOfFiles() {\n\t\treturn EXTENSIONS.length;\n\t}", "public Map<String, NewData> getSnapshotFiles (final List<String> files){\n \t\tMap<String,NewData> w = new HashMap<String,NewData>();\n \t\tList<String> l = new LinkedList<String>();\n \t\tString s=\"\";\n \t\t\n \t\tfor (String str : files){\n \t\t\tw.put(str, new NewData(str));\n \t\t\tl=this.readFile(this.getSnapshot().getRoot() + File.separatorChar +str);\n \t\t\t\n \t\t\tfor (String str2 : l)\n \t\t\t\ts=s+str2+\"\\n\";\n \t\t\t\n \t\t\tw.get(str).setFileContent(s);\n \t\t\tw.get(str).getLclock().putAll(this.getFilelist().get(str));\n \t\t}\n \t\t\t\t\n \t\treturn w;\n \t}", "entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder(\n int index);", "public void getPeerFiles(){\n\t\t\n\t\tFile[] files = new File(path).listFiles();\n\t\tfor (File file : files) {\n\t\t\tfileNames.add(file.getName());\n\t\t}\n\t\tSystem.out.println(\"Number of Files Registerd to the server - \"+fileNames.size());\n\t\tSystem.out.println(\"To search for file give command: get <Filename>\");\n\t\tSystem.out.println(\"To refresh type command: refresh\");\n\t\tSystem.out.println(\"To disconnect type command: disconnect\");\n\t}", "public static void main(String[] args) {\nFile files=new File(\"C:\\\\Users\\\\k74\");\nString filenames[]=files.list();\nfor(String filename :filenames)\n\tSystem.out.println(filename);\n\t}", "public static void rankFiles(Hashtable<?, Integer> fname, int numberOfOccurrences) \r\n\t{\n\t\tArrayList<Map.Entry<?, Integer>> arrayList = new ArrayList(fname.entrySet());\r\n\r\n\t\tCollections.sort(arrayList, new Comparator<Map.Entry<?, Integer>>() \r\n\t\t{\r\n\t\t\tpublic int compare(Map.Entry<?, Integer> obj1, Map.Entry<?, Integer> obj2) \r\n\t\t\t{\r\n\t\t\t\treturn obj1.getValue().compareTo(obj2.getValue());\r\n\t\t\t}\r\n\t\t});\r\n\r\n\t\tCollections.reverse(arrayList);\r\n\r\n\t\tif (numberOfOccurrences > 0) \r\n\t\t{\r\n\t\t\tSystem.out.println(\"\\n------Top 10 search results-----\\n\");\r\n\r\n\t\t\tint my_number = 10;\r\n\t\t\tint j = 1;\r\n\t\t\twhile (arrayList.size() > j && my_number > 0) \r\n\t\t\t{\r\n\t\t\t\tSystem.out.println(\"(\" + j + \") \" + arrayList.get(j) + \" times \");\r\n\t\t\t\tj++;\r\n\t\t\t\tmy_number--;\r\n\t\t\t}\r\n\t\t} \r\n\t}", "@Override\n public List<FileInfo> getLibrarySubFiles(FileInfo fileInfo) {\n return null;\n }", "public final void mo14831s() {\n Iterator it = ((ArrayList) mo14817d()).iterator();\n while (it.hasNext()) {\n File file = (File) it.next();\n if (file.listFiles() != null) {\n m6739b(file);\n long c = m6740c(file, false);\n if (((long) this.f6567b.mo14797a()) != c) {\n try {\n new File(new File(file, String.valueOf(c)), \"stale.tmp\").createNewFile();\n } catch (IOException unused) {\n f6563c.mo14884b(6, \"Could not write staleness marker.\", new Object[0]);\n }\n }\n for (File b : file.listFiles()) {\n m6739b(b);\n }\n }\n }\n }", "@Test\n public void testGetFilesList() {\n System.out.println(\"getFilesList from existing folder with existing subfiles\");\n String entryPath = folder.toString()+fSeparator+\"Images\";\n FilesDao instance = new FilesDao();\n String[] expResult = new String[2];\n expResult[0] = \"testImg.jpg\";\n expResult[1] = \"testImg2.jpg\";\n String[] result;\n try{\n result = instance.getFilesList(entryPath);\n }catch(EntryException ex){\n result = null;\n }\n assertArrayEquals(expResult, result);\n }", "private void populateList(File[] filesList) {\n Log.i(\"mPackage\",\"FilesList: \"+filesList.length);\n for(File file : filesList) {\n //Log.i(\"mPackage\",\"Path: \"+file);\n if(file.isDirectory()) {\n populateList(file.listFiles());\n }\n else {\n MarkerModel markerModel = new MarkerModel();\n Boolean containsObj = false;\n for(File modelFile : filesList) {\n String[] extension = modelFile.getName().split(\"\\\\.\");\n if(extension[extension.length-1].equals(\"obj\")) {\n markerModel.setObj(modelFile.getPath());\n containsObj = true;\n }\n else if(extension[extension.length-1].equals(\"mtl\"))\n markerModel.setMtl(modelFile.getPath());\n else\n markerModel.addTexture(modelFile.getPath());\n }\n if(containsObj)\n models.add(markerModel);\n return;\n //models.add(file.getPath());\n //Log.i(\"mPackage\",\"Path: \"+file.getPath());\n }\n }\n }", "java.util.List<? extends ds.hdfs.generated.FileMetadataOrBuilder> \n getFilesOrBuilderList();", "public List<String> splitByCount(String fileName, int count)\n throws IOException, InterruptedException {\n\n List<String> parts = new ArrayList<String>();\n File file = new File(fileName);\n int blockSize = (int) Math.ceil(file.length() / (double) count);\n RandomAccessFile raf = new RandomAccessFile(fileName, \"r\");\n long totalLen = raf.length();\n CountDownLatch latch = new CountDownLatch(count);\n\n long startPos = 0L;\n long nextPos = 0L;\n\n for (int i = 0; i < count; i++) {\n nextPos = Long.min((long) (i + 1) * blockSize, totalLen - 1);\n raf.seek(nextPos);\n //Calculate the start position for the next file.\n do {\n raf.seek(nextPos);\n if (raf.readByte() == '\\n') {\n nextPos = nextPos + 1;\n break;\n }\n nextPos--;\n } while (true);\n long readSizeTemp = nextPos - startPos;\n int readSize = (int) readSizeTemp;\n String partFileName = fileName.replace(\"raw\", \"raw\" + (i + 1));\n new SplitRunnable(readSize, startPos, partFileName, file, latch).run();\n startPos = nextPos;\n parts.add(partFileName);\n }\n //Wait until all the files are written.\n latch.await();\n return parts;\n }", "public float[] accumulateSimpleMixFiles(ArrayList<File> files){\r\n\t\t\tfloat[] returnValue = new float[10];\r\n\t\t\tfloat[] values = new float[10];\r\n\t\t\t\r\n\t\t for(File file:files){\t\t\t\t\t\r\n\t\t BufferedReader reader;\r\n\t\t try{\r\n\t\t reader = new BufferedReader(new FileReader(file));\r\n\t\t String line = reader.readLine(); \r\n\t\t while(line != null){\t\r\n\t\t \tif(line.substring(0,5).equals(\"Total\")){\r\n\t\t \t\tString[] values2 = line.split(\" \");\r\n\t\t \t\t\r\n\t\t \t\tfor(int i = 2; i < values2.length; i++) values[i-2] += Float.valueOf(values2[i]);\r\n\t\t \t}\r\n\t\t \tline = reader.readLine();\r\n\t\t }\r\n\t\t \r\n\t\t\t\t} catch (FileNotFoundException e) {\r\n\t\t\t\t System.err.println(\"FileNotFoundException: \" + e.getMessage());\r\n\t\t\t\t} catch (IOException e) {\r\n\t\t\t\t System.err.println(\"Caught IOException: \" + e.getMessage());\r\n\t\t\t\t}\r\n\t\t }\r\n\r\n\t\t for(int j = 0; j < values.length; j++) returnValue[j] = (float)values[j]/files.size();\t\r\n\t\t \r\n\t\t return returnValue;\r\n\t\t}", "private Map<ServerFile, Integer> totalFiles(){\n\t\tMap<ServerFile, Integer> ret = new HashMap<ServerFile, Integer>();\n\t\tfor (ClientObj c : clients){\n\t\t\tfor (ServerFile f : c.getFiles()){\n\t\t\t\tif (!ret.containsKey(f))\n\t\t\t\t\tret.put(f, 1);\n\t\t\t\telse\n\t\t\t\t\tret.put(f, ret.get(f) + 1);\n\t\t\t}\n\t\t}\n\t\treturn ret;\n\t}", "int getSourceFileCount();", "public void checkForRepeats(String selectedMarket)\r\n {\r\n System.out.println(backUpPath + selectedMarket);\r\n \tFile f = new File(backUpPath + selectedMarket);\r\n \tArrayList<File> fileContents = new ArrayList<File>(Arrays.asList(f.listFiles()));\r\n \t\r\n for(int i = 0;i< scriptAds.size();i++)\r\n \t{\r\n String currentFileName;\r\n long modified;\r\n Date modifiedDate;\r\n \r\n for(int j = 0;j < fileContents.size();j++)\r\n {\r\n currentFileName = fileContents.get(j).getName();\r\n \r\n if(currentFileName.contains(\".\"))\r\n {\r\n currentFileName = currentFileName.substring(0,currentFileName.lastIndexOf(\".\"));\r\n }\r\n if(scriptAds.get(i).getAdNumber().toLowerCase().equals(currentFileName.toLowerCase()))\r\n {\r\n modified = fileContents.get(j).lastModified();\r\n modifiedDate = new Date(modified);\r\n \r\n String dateToPrint = DateFormat.getDateTimeInstance(DateFormat.SHORT, DateFormat.SHORT).format(modifiedDate);\r\n dateToPrint = dateToPrint.substring(0,dateToPrint.indexOf(\" \"));\r\n \r\n infoText.append(\"<p>CC# \" + scriptAds.get(i).getccNumber() \r\n + \" matches a backup of last modified : \" + scriptAds.get(i).getAdNumber() \r\n + \" \" + dateToPrint + \"\\nin \" + importFileName + \"</p>\");\r\n }\r\n }\r\n }\r\n }", "public void mo83570c() {\n File[] listFiles;\n File file = new File(this.f60297d);\n if (file.isDirectory() && (listFiles = file.listFiles()) != null && listFiles.length >= this.f60294a) {\n Arrays.sort(listFiles, this.f60295b);\n for (int i = 0; i < listFiles.length && listFiles.length >= this.f60294a; i++) {\n File file2 = listFiles[i];\n if (!this.f60299f.contains(file2)) {\n ArgusLogger.m85574b(String.format(C6969H.m41409d(\"G4D8AC619BE22AF20E809D047FEE1C6C47DC3D008AD3FB969E71DD05BE6EAD1D26DC3D008AD3FB969EA079D41E6A5D1D26880DD1FBB70E36CF547\"), file2.getPath()));\n mo83569b(Collections.singleton(file2));\n }\n }\n }\n }", "public File[] filesReadOnly(File... f) { return f; }", "public List<File> getFiles();", "@Test\n\tpublic void testCountItems() {\n\t\tFile test = new File(\"X:\\\\Documents\\\\PS9 Test\");\n\t\tassertEquals(13,Explorer.countItems(test));\n\t}", "void update(FileInfo fileInfo);", "private static ArrayList m5336a(File[] fileArr) {\n ArrayList arrayList = new ArrayList();\n int i = 0;\n while (i < fileArr.length) {\n if (fileArr[i].isFile() && fileArr[i].getName().length() == 10 && TextUtils.isDigitsOnly(fileArr[i].getName())) {\n arrayList.add(fileArr[i]);\n }\n i++;\n }\n return arrayList;\n }", "@Test(timeout = 4000)\n public void test23() throws Throwable {\n FileUtil fileUtil0 = new FileUtil();\n ArrayList<Object> arrayList0 = new ArrayList<Object>();\n File file0 = fileUtil0.getAccessories(\"YP=8V~@ch)3vts}p8\", arrayList0);\n assertNull(file0);\n }", "public void findDupe(int choice) {\n\n\t\tString fullName = null;\n\t\tboolean flag = true;\n\n\t\tfor (Path file : filesArray) {\n\t\t\ttry {\n\t\t\t\tfullName = getFullName(file, choice);\n\t\t\t} catch (Exception e) {\n\t\t\t\tSystem.out.println(\"problem read file: \" + file);\n\t\t\t\tflag = false;\n\t\t\t}\n\n\t\t\tif (flag) {\n\t\t\t\tmultiMap.put(fullName, file);\n\t\t\t\tCollection<Path> vals = (Collection<Path>) multiMap.get(fullName);\n\n\t\t\t\tif (vals.size() > 1) {\n\t\t\t\t\tcounter++;\n\t\t\t\t}\n\t\t\t}\n\t\t\tflag = true;\n\t\t}\n\n\t\tSet<String> keys = multiMap.keySet();\n\t\tIterator<String> items = keys.iterator();\n\n\t\twhile (items.hasNext()) {\n\t\t\tString str = (String) items.next();\n\n\t\t\t@SuppressWarnings(\"unchecked\")\n\t\t\tCollection<Path> val = (Collection<Path>) multiMap.get(str);\n\t\t\tArrayList<Path> arr = new ArrayList<>(val);\n\n\t\t\tif (arr.size() <= 1)\n\t\t\t\titems.remove();\n\n\t\t}\n\n\t}", "java.util.List<entities.Torrent.FileInfo>\n getFileInfoList();", "List<DownloadChunk> mo54445j(int i);", "void visitFile(StorageUnit unit, long off, long lim);", "public void fileInfo(String info);", "private List<FileInfoDTO> createFileInfoDTOs(MultipartFile file1, MultipartFile file2, int totalLinesFirstFile,\n\t\t\tint totalLinesSecondFile) {\n\t\tint unmatchedRecordsFirstFile = firstFileMap.getCountMap().values().stream().mapToInt(Integer::valueOf).sum();\n\t\tint unmatchedRecordsSecondFile = secondFileMap.getCountMap().values().stream().mapToInt(Integer::valueOf).sum();\n\n\t\tFileInfo firstFileInfo = new FileInfo();\n\t\tfirstFileInfo.setName(file1.getOriginalFilename());\n\t\tfirstFileInfo.setTotalRecords(totalLinesFirstFile);\n\t\tfirstFileInfo.setUnmatchedRecords(unmatchedRecordsFirstFile);\n\t\tfirstFileInfo.setMatchingRecords(totalLinesFirstFile - unmatchedRecordsFirstFile);\n\n\t\tFileInfo secondFileInfo = new FileInfo();\n\t\tsecondFileInfo.setName(file2.getOriginalFilename());\n\t\tsecondFileInfo.setTotalRecords(totalLinesSecondFile);\n\t\tsecondFileInfo.setUnmatchedRecords(unmatchedRecordsSecondFile);\n\t\tsecondFileInfo.setMatchingRecords(totalLinesSecondFile - unmatchedRecordsSecondFile);\n\n\t\treturn List.of(firstFileInfo, secondFileInfo).stream()\n\t\t\t\t.map(file -> DTOConverter.convertFileInfoToFileInfoDTO(file)).collect(Collectors.toList());\n\t}", "public void a(File file, List<WxAndQqScanPathInfo> list) {\n if (file != null && !this.p) {\n File[] listFiles = file.listFiles();\n if (listFiles != null) {\n int length = listFiles.length;\n int i2 = 0;\n while (i2 < length) {\n File file2 = listFiles[i2];\n if (!this.p) {\n if (file2 != null) {\n if (!file2.isDirectory()) {\n if (!\".nomedia\".equals(file2.getName()) && file2.length() >= 5 && file2 != null && file2.exists()) {\n CleanWxItemInfo cleanWxItemInfo = new CleanWxItemInfo();\n cleanWxItemInfo.setFileType(((WxAndQqScanPathInfo) list.get(0)).getType());\n cleanWxItemInfo.setFile(file2);\n cleanWxItemInfo.setDays(TimeUtil.changeTimeToDay(cleanWxItemInfo.getFile().lastModified()));\n cleanWxItemInfo.setFileSize(file2.length());\n switch (((WxAndQqScanPathInfo) list.get(0)).getType()) {\n case 1:\n o += cleanWxItemInfo.getFileSize();\n d.setTotalSize(d.getTotalSize() + cleanWxItemInfo.getFileSize());\n d.setTotalNum(d.getTotalNum() + 1);\n if (d.isChecked()) {\n cleanWxItemInfo.setChecked(true);\n d.setSelectSize(d.getSelectSize() + cleanWxItemInfo.getFileSize());\n d.setSelectNum(d.getSelectNum() + 1);\n }\n cleanWxItemInfo.setDays(TimeUtil.changeTimeToDay(0));\n a(d, cleanWxItemInfo);\n break;\n case 2:\n if (!file2.getAbsolutePath().endsWith(\"_cover\") && !new File(file2.getAbsolutePath() + \"_cover\").exists()) {\n if (!\"finishActivity\".equals(this.r) && !\"bigGarbageFragment\".equals(this.r)) {\n if (e.isFinished()) {\n j.setTotalNum(j.getTotalNum() + 1);\n j.setTotalSize(j.getTotalSize() + cleanWxItemInfo.getFileSize());\n a(j, cleanWxItemInfo);\n break;\n } else {\n o += cleanWxItemInfo.getFileSize();\n e.setTotalNum(e.getTotalNum() + 1);\n e.setTotalSize(e.getTotalSize() + cleanWxItemInfo.getFileSize());\n if (e.isChecked()) {\n cleanWxItemInfo.setChecked(true);\n e.setSelectNum(e.getSelectNum() + 1);\n e.setSelectSize(e.getSelectSize() + cleanWxItemInfo.getFileSize());\n }\n a(e, cleanWxItemInfo);\n break;\n }\n }\n } else {\n j.setTotalSize(j.getTotalSize() + cleanWxItemInfo.getFileSize());\n j.setTotalNum(j.getTotalNum() + 1);\n a(j, cleanWxItemInfo);\n break;\n }\n break;\n case 3:\n o += cleanWxItemInfo.getFileSize();\n f.setTotalSize(f.getTotalSize() + cleanWxItemInfo.getFileSize());\n f.setTotalNum(f.getTotalNum() + 1);\n if (f.isChecked()) {\n cleanWxItemInfo.setChecked(true);\n f.setSelectSize(f.getSelectSize() + cleanWxItemInfo.getFileSize());\n f.setSelectNum(f.getSelectNum() + 1);\n }\n a(f, cleanWxItemInfo);\n break;\n case 4:\n if (file2.getName().startsWith(\"snstblur_src_\")) {\n if (Constants.PRIVATE_LOG_CONTROLER) {\n break;\n } else {\n file2.delete();\n break;\n }\n } else {\n if (!file2.getName().startsWith(\"snst_\")) {\n if (file2.getName().startsWith(\"snsu_\") && new File(file2.getAbsolutePath().replace(\"snsu_\", \"snsb_\")).exists()) {\n break;\n }\n } else if (!new File(file2.getAbsolutePath().replace(\"snst_\", \"snsu_\")).exists()) {\n if (new File(file2.getAbsolutePath().replace(\"snst_\", \"snsb_\")).exists()) {\n break;\n }\n } else {\n break;\n }\n o += cleanWxItemInfo.getFileSize();\n g.setTotalSize(g.getTotalSize() + cleanWxItemInfo.getFileSize());\n g.setTotalNum(g.getTotalNum() + 1);\n if (g.isChecked()) {\n cleanWxItemInfo.setChecked(true);\n g.setSelectSize(g.getSelectSize() + cleanWxItemInfo.getFileSize());\n g.setSelectNum(g.getSelectNum() + 1);\n }\n a(g, cleanWxItemInfo);\n break;\n }\n case 5:\n if (file2.getName().endsWith(\".jpg_hevc\")) {\n if (Constants.PRIVATE_LOG_CONTROLER) {\n break;\n } else {\n file2.delete();\n break;\n }\n } else {\n if (file2.getName().startsWith(\"th_\")) {\n if (!file2.getName().endsWith(\"hd\")) {\n break;\n } else {\n break;\n }\n }\n h.setTotalSize(h.getTotalSize() + cleanWxItemInfo.getFileSize());\n h.setTotalNum(h.getTotalNum() + 1);\n a(h, cleanWxItemInfo);\n break;\n }\n case 6:\n if (!file2.getAbsolutePath().contains(\"download/appbrand\")) {\n if (file2.getName().endsWith(\".jpg\")) {\n if (!new File(file2.getAbsolutePath().replace(\".jpg\", \".mp4\")).exists() && !Constants.PRIVATE_LOG_CONTROLER) {\n file2.delete();\n break;\n }\n } else {\n i.setTotalSize(i.getTotalSize() + cleanWxItemInfo.getFileSize());\n i.setTotalNum(i.getTotalNum() + 1);\n a(i, cleanWxItemInfo);\n break;\n }\n } else {\n break;\n }\n case 8:\n k.setTotalSize(k.getTotalSize() + cleanWxItemInfo.getFileSize());\n k.setTotalNum(k.getTotalNum() + 1);\n a(k, cleanWxItemInfo);\n break;\n case 9:\n if (!file2.getName().endsWith(\".mp4\")) {\n l.setTotalSize(l.getTotalSize() + cleanWxItemInfo.getFileSize());\n l.setTotalNum(l.getTotalNum() + 1);\n l.getMineList().add(cleanWxItemInfo);\n a(l, cleanWxItemInfo);\n break;\n } else {\n m.setTotalSize(m.getTotalSize() + cleanWxItemInfo.getFileSize());\n m.setTotalNum(m.getTotalNum() + 1);\n m.getMineList().add(cleanWxItemInfo);\n a(m, cleanWxItemInfo);\n break;\n }\n case 10:\n n.setTotalSize(n.getTotalSize() + cleanWxItemInfo.getFileSize());\n n.setTotalNum(n.getTotalNum() + 1);\n a(n, cleanWxItemInfo);\n break;\n }\n }\n } else {\n try {\n if (file2.listFiles() == null || file2.listFiles().length == 0) {\n FileUtils.deleteFileAndFolder(file2);\n }\n } catch (Exception e2) {\n Logger.iCatch(Logger.TAG, Logger.ZYTAG, \"CleanWxClearNewActivity---wxFileScan ---- \", e2);\n }\n a(file2, list);\n }\n }\n i2++;\n } else {\n return;\n }\n }\n }\n }\n }", "java.util.List<? extends entities.Torrent.FileInfoOrBuilder>\n getFileInfoOrBuilderList();", "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 }", "public Builder addAllFiles(\n java.lang.Iterable<? extends entities.Torrent.FileInfo> values) {\n if (filesBuilder_ == null) {\n ensureFilesIsMutable();\n com.google.protobuf.AbstractMessageLite.Builder.addAll(\n values, files_);\n onChanged();\n } else {\n filesBuilder_.addAllMessages(values);\n }\n return this;\n }", "public filesMB() {\n }", "com.google.protobuf.ByteString\n getFileNamesBytes(int index);", "public int getFileNamesCount() {\n return fileNames_.size();\n }", "@java.lang.Override\n public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder(\n int index) {\n return fileInfo_.get(index);\n }" ]
[ "0.65325207", "0.6227456", "0.6177881", "0.6116598", "0.6065684", "0.6065684", "0.590164", "0.58970237", "0.58970237", "0.5783433", "0.57750136", "0.5763771", "0.5762734", "0.57547295", "0.5746625", "0.5744839", "0.5644452", "0.563878", "0.5628507", "0.56053144", "0.5601631", "0.5583571", "0.55456394", "0.5545325", "0.5545274", "0.5519314", "0.55032945", "0.5502879", "0.5497437", "0.54956275", "0.5495291", "0.54928", "0.5474748", "0.5458041", "0.54520524", "0.54351526", "0.5411701", "0.5409407", "0.5396235", "0.5388728", "0.5378012", "0.537654", "0.53608066", "0.5359268", "0.53519815", "0.5335172", "0.5334883", "0.5334883", "0.53343636", "0.53343636", "0.5319273", "0.5309602", "0.53086674", "0.52990717", "0.52990717", "0.5284801", "0.5278754", "0.5276997", "0.5274732", "0.52718306", "0.52717876", "0.5270142", "0.5268754", "0.5264792", "0.5254606", "0.5237259", "0.52320284", "0.52265704", "0.5221797", "0.5220387", "0.5209014", "0.5206498", "0.519874", "0.51969546", "0.5187828", "0.5185607", "0.5185165", "0.518249", "0.5176273", "0.5165428", "0.51650506", "0.5165015", "0.5163598", "0.5161906", "0.51600796", "0.51514554", "0.5150045", "0.51442325", "0.5133645", "0.51309294", "0.5130048", "0.51299196", "0.5128534", "0.51266265", "0.5125555", "0.5115963", "0.51151603", "0.51146954", "0.51012677", "0.50983685", "0.5096151" ]
0.0
-1
repeated .FileInfo files = 4;
public Builder addFiles( int index, entities.Torrent.FileInfo value) { if (filesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureFilesIsMutable(); files_.add(index, value); onChanged(); } else { filesBuilder_.addMessage(index, value); } return this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "int getFileInfoCount();", "public void incFileCount(){\n\t\tthis.num_files++;\n\t}", "entities.Torrent.FileInfo getFiles(int index);", "public Files(){\n this.fileNameArray.add(\"bridge_1.txt\");\n this.fileNameArray.add(\"bridge_2.txt\");\n this.fileNameArray.add(\"bridge_3.txt\");\n this.fileNameArray.add(\"bridge_4.txt\");\n this.fileNameArray.add(\"bridge_5.txt\");\n this.fileNameArray.add(\"bridge_6.txt\");\n this.fileNameArray.add(\"bridge_7.txt\");\n this.fileNameArray.add(\"bridge_8.txt\");\n this.fileNameArray.add(\"bridge_9.txt\");\n this.fileNameArray.add(\"ladder_1.txt\");\n this.fileNameArray.add(\"ladder_2.txt\");\n this.fileNameArray.add(\"ladder_3.txt\");\n this.fileNameArray.add(\"ladder_4.txt\");\n this.fileNameArray.add(\"ladder_5.txt\");\n this.fileNameArray.add(\"ladder_6.txt\");\n this.fileNameArray.add(\"ladder_7.txt\");\n this.fileNameArray.add(\"ladder_8.txt\");\n this.fileNameArray.add(\"ladder_9.txt\");\n }", "int getFileNamesCount();", "int getFileNamesCount();", "ds.hdfs.generated.FileMetadata getFiles(int index);", "int getFilesCount();", "int getFilesCount();", "int getFileCount();", "private void gatherFile(FileStatus[] fstat)\r\n\t{\r\n\t inputSize = 0;\t\r\n\t paths = new Path[fstat.length];\t\r\n\t for(int i=0;i<fstat.length;i++)\r\n\t {\r\n\t inputSize+=fstat[i].getLen();\r\n\t paths[i] = fstat[i].getPath();\r\n\t }\r\n\t }", "@java.lang.Override\n public int getFileInfoCount() {\n return fileInfo_.size();\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}", "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}", "private void initializeFileArrays(){\n File downloadedFilesFolder = new File(MainActivity.DB_PATH);\n File[] files = downloadedFilesFolder.listFiles();\n System.out.println(\"*** \" + files.length + \" ***\");\n if(files != null){\n System.out.println(\"*** \" + files.length + \" ***\");\n for(File f : files){\n if(f != null){\n System.out.println(\"***\\n FILE FOUND - \" + f.getAbsolutePath()+\"\\nSIZE - \" +\n f.length() + \" BYTES \\n***\");\n fileNames.add(f.getName());\n fileSizes.add(f.length()+\"\");\n this.files.add(f);\n }\n }\n }\n }", "entities.Torrent.FileInfoOrBuilder getFilesOrBuilder(\n int index);", "List<UploadInfo> simpleUploadAll(List<SimpleFile> files);", "public List<FileUpload> getFileUploads(int numberOfFileUploads, Long startIndex) throws AppException;", "void addFile(int numberLines);", "private void updateFiles() {\n\t}", "@Override\n public void addSingleFile(FileInfo file) {\n }", "entities.Torrent.FileInfo getFileInfo(int index);", "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}", "private static void showFiles(File[] files) {\n\t\t for (File file : files) {\r\n\t\t if (file.isDirectory()) {\r\n\t\t // System.out.println(\"Directory: \" + file.getName());\r\n\t\t showFiles(file.listFiles()); // Calls same method again.\r\n\t\t } else {\r\n\t\t // System.out.println(\"File: \" + file.getName());\r\n\t\t }\r\n\t\t }\r\n\t\t\r\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 }", "private void findRecordings(){\n File[] files = new File(\"Concatenated/\").listFiles();\n _records.clear();\n _versionNum = 1;\n for (File file : files){\n if (file.isFile()){\n String nameOnFile = file.getName().substring(file.getName().lastIndexOf('_')+1,file.getName().lastIndexOf('.')).toUpperCase();\n if (nameOnFile.equals(_name.toUpperCase())){\n _records.add(file.getName());\n _versionNum++;\n }\n }\n }\n }", "private void checkDuplicateOfFile(Iterable<FileInfo> files, DuplicateDataDTO data) {\n for(FileInfo nextFile: files) {\n for(FileInfo nextFile2: files) {\n if(nextFile.duplicate(nextFile2)) {\n LOG.info(\"Duplicate - {}\", nextFile);\n\n processDuplicate(nextFile,data);\n }\n }\n }\n }", "public TagFileInfo[] getTagFiles() {\n/* 176 */ return this.tagFiles;\n/* */ }", "@Test\n\tpublic void testNumLargeFiles() {\n\t\tFile test = new File(\"X:\\\\Documents\\\\PS9 Test\");\n\t\tassertEquals(6,Explorer.numLargeFiles(test));\n\t}", "public double getNumFiles(){\n\t\treturn (this.num_files);\n\t}", "public Files files();", "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 }", "@Test\n\tpublic void testSetFileInfo() {\n\n\t}", "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 readFileList() throws IOException {\n\t\tint entries = metadataFile.readInt();\n\n\t\tfor (int i = 0; i < entries; i++) {\n\t\t\tint hash = metadataFile.readInt();\n\t\t\tlong dataOffset = metadataFile.readInt() & 0xFFFFFFFFL;\n\t\t\tlong dataSize = metadataFile.readInt() & 0xFFFFFFFFL;\n\t\t\tint pathListIndex = metadataFile.readInt();\n\n\t\t\tlong position = metadataFile.getPosition();\n\t\t\tmetadataFile.setPosition(pathListOffset + 8 + (pathListIndex * 8));\n\n\t\t\tlong pathOffset = metadataFile.readInt() & 0xFFFFFFFFL;\n\t\t\tint pathSize = metadataFile.readInt();\n\n\t\t\tmetadataFile.setPosition(pathListOffset + pathOffset);\n\t\t\tString path = metadataFile.readString(pathSize).trim();\n\n\t\t\tif (hash == hash(path)) \n\t\t\t\tfileEntries.add(new RAFFileEntry(dataOffset, dataSize, path));\n\t\t\telse\n\t\t\t\tthrow new IOException(\"Invalid hash for item '\" + path + \"'.\");\n\n\t\t\tmetadataFile.setPosition(position);\n\t\t}\n\t}", "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 static void main(String[] args) {\n\t\tint count=0;\n\t\t File f=new File(\"C:\\\\Users\\\\kumaujjv\\\\Downloads\\\\Assignments - Copy\");\n\t\t String[] s=f.list();\n\n\t\t for(String s1:s) {\n\t\t File f1=new File(f,s1);\n\t\t if(f1.isFile()) {\n\t\t\t //count++;\n\t\t\t System.out.println(s1);\n\t\t }\n\t\t}\n\t\tSystem.out.println(\"total number : \"+count);\n\n\t\t}", "public float[] accumulateDetailFiles(ArrayList<File> files){\r\n\t\tfloat[] values = new float[100];\r\n\t\tint counter = 0;\r\n\r\n\t for(File file:files){\t\t\r\n\t \tSystem.out.println(file.getName());\r\n\t \tcounter = 0;\r\n\t BufferedReader reader;\r\n\t try{\r\n\t reader = new BufferedReader(new FileReader(file));\r\n\t String line = reader.readLine(); \r\n\t while(line != null){\t\r\n\t \tif(!line.substring(0,1).equals(\"#\")){\r\n\t \t\tString[] values2 = line.split(\" \");\r\n\t \t\tvalues[counter] += Float.valueOf(values2[values2.length-1]);\r\n\t\t \tcounter++;\r\n\t \t}\r\n\t \tline = reader.readLine();\r\n\t }\r\n\t \r\n\t\t\t} catch (FileNotFoundException e) {\r\n\t\t\t System.err.println(\"FileNotFoundException: \" + e.getMessage());\r\n\t\t\t} catch (IOException e) {\r\n\t\t\t System.err.println(\"Caught IOException: \" + e.getMessage());\r\n\t\t\t}\r\n\t }\r\n\r\n\t float[] returnValues = new float[counter];\r\n\t \r\n\t for(int j = 0; j < returnValues.length; j++) \treturnValues[j] = ((float)values[j]/files.size());\r\n\t\r\n\t \r\n \treturn returnValues;\r\n\t}", "ds.hdfs.generated.FileMetadataOrBuilder getFilesOrBuilder(\n int index);", "private static void calculateSizes() {\n for(EmailTypes type : EmailTypes.values()){\n File f = unpackedFiles.get(type);\n setSizes.put(type, Objects.requireNonNull(f.listFiles()).length);\n }\n }", "public int[] filesRemaining();", "public static void main(String[] args) {\n\t\tFile dir = new File(\"H:\");\r\n\t\tString[] filelist = dir.list();\r\n\t\tlong total = 0;\r\n\t\tlong t = 0;\r\n\t\tfor(int i=0;i<filelist.length;i++){\r\n\t\t\t File readfile = new File(\"H:\" + \"\\\\\" + filelist[i]);\r\n\t\t\t t = readFile(readfile)/1024/1024;\r\n\t\t\t System.out.println(\"name=\" + readfile.getName() + \" size:=\" + t + \"MB\");\r\n\t\t\t total += t;\r\n\t\t}\r\n\t\tSystem.out.println(\"OK,all the files is list over,the number is \" + filelist.length + \"the total size is \" + total); \r\n\t}", "@Test\n public void tagFilesShouldReturnNonEmptyTagFiles() throws Exception {\n //given\n givenInfoMessageCode();\n\n //when\n List<IFileSpec> tagFiles = tagDelegator.tagFiles(fileSpecs, LABEL_NAME, opts);\n //then\n assertThat(tagFiles.size(), is(1));\n assertThat(tagFiles.get(0).getDepotPathString(), is(TEST_FILE_DEPOT_PATH));\n }", "public int getFileInfoCount() {\n if (fileInfoBuilder_ == null) {\n return fileInfo_.size();\n } else {\n return fileInfoBuilder_.getCount();\n }\n }", "private static ArrayList<File> buildFilesArray() {\n ArrayList<File> result = new ArrayList<>();\n rAddFilesToArray(workingDirectory, result);\n return result;\n }", "@java.lang.Override\n public entities.Torrent.FileInfoOrBuilder getFilesOrBuilder(\n int index) {\n return files_.get(index);\n }", "java.lang.String getFileNames(int index);", "java.lang.String getFileNames(int index);", "public void filesNotFound(File... f) { }", "public void filesNotFound(File... f) { }", "public static int filesWithSizes (File f)\n\t{\n\t\tif (f.isFile())\n\t\t{\n\t\t\tif (f.length()>= 10000 && f.length() <= 25000)\n\t\t\t{\n\t\t\t\treturn 1;\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\treturn 0;\n\t\t\t}\n\t\t}\n\t\telse\n\t\t{\n\t\t\tint count = 0;\n\t\t\tfor (File file: f.listFiles())\n\t\t\t{\n\t\t\t\tcount += filesWithSizes(file);\n\t\t\t}\n\t\t\treturn count;\n\t\t}\n\t}", "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 }", "public java.lang.String[] getNewFiles(){\r\n return localNewFiles;\r\n }", "entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder();", "entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder();", "@Test\n public void shouldReturnNonEmptyTagFiles() throws Exception {\n //given\n givenInfoMessageCode();\n //when\n List<IFileSpec> tagFiles = tagDelegator.tagFiles(\n fileSpecs,\n LABEL_NAME,\n listOnly1,\n delete1);\n //then\n assertThat(tagFiles.size(), is(1));\n assertThat(tagFiles.get(0).getDepotPathString(), is(TEST_FILE_DEPOT_PATH));\n }", "@Test\n public void maxFiles() throws Throwable {\n MergeFilesOptions opts = new MergeFilesOptions();\n opts.setStream(\"//Ace/dev\");\n opts.setReverseMapping(true);\n opts.setMaxFiles(1);\n opts.setForceStreamMerge(true);\n\n List<IFileSpec> merged = client.mergeFiles(null, null, opts);\n assertEquals(\"wrong number of files\", 1, merged.size());\n\n List<IFileSpec> opened = client.openedFiles(null, null);\n assertEquals(\"files should not have been opened\", 1, opened.size());\n }", "public FileCount(int numFiles){\n this.numFiles = numFiles;\n }", "public int getFileNamesCount() {\n return fileNames_.size();\n }", "static public ObservableList<ImageMetaInfo> getImagesInfo(File path) {\n ObservableList<ImageMetaInfo> observableList = FXCollections.observableArrayList();\n ExtFilter fileFilter = new ExtFilter();\n File[] imageFilesArray = path.listFiles(fileFilter);\n for (File file : imageFilesArray) {\n ImageMetaInfo imageMetaInfo = getImageMetaInfo(file);\n observableList.add(imageMetaInfo);\n }\n return observableList;\n }", "private void get_file_List() {\n\tString file_name=null;\r\n\tfor (int i = 0; i < listOfFiles.length; i++) \r\n\t {\r\n\t \r\n\t if (listOfFiles[i].isFile()) \r\n\t {\r\n\t\t file_name = listOfFiles[i].getName();\r\n\t if (file_name.endsWith(\".xml\") || file_name.endsWith(\".XML\"))\r\n\t {\r\n\t file_list.add(file_name) ;\r\n\t }\r\n\t }\r\n\t }\r\n\t\r\n}", "public static void getListOfAllFileVarianta2() {\n\t\tPath pathToSrc = Paths.get(\"D:\\\\TorrentsMd\");\r\n\t\ttry {\r\n\t\t\t//cu method references\r\n//\t\t\tFiles.walk(pathToSrc)\r\n//\t\t\t\t.map(Path::toFile)\r\n//\t\t\t\t.filter(File::isFile)\r\n//\t\t\t\t.map(File::getName)\r\n//\t\t\t\t.sorted()\r\n//\t\t\t\t.forEach(System.out::println);\r\n\t\t\t\r\n\t\t\t//cu lambda, dar dpdv semantic sunt identice\r\n\t\t\tFiles.walk(pathToSrc)\r\n\t\t\t\t .map(path -> path.toFile()) //trasnform fiecare Path din stream intr-un File\r\n\t\t\t\t .filter(file -> file.isFile()) //filtrez doar fisierele\r\n\t\t\t\t .map(file -> file.getName())//transform fiecare File din stream intr-un String, care e numele sau\r\n\t\t\t\t .sorted()\r\n\t\t\t\t .forEach(file -> System.out.println(file));\r\n\t\t} catch (IOException e) {\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t}", "@java.lang.Override\n public int getFilesCount() {\n return files_.size();\n }", "static List<File> gitAttributes(File projectDir, Iterable<File> files) {\n List<File> gitAttrFiles = new ArrayList<>();\n Set<File> visitedFolders = new HashSet<>();\n for (File file : files) {\n gitAttrAddWithParents(projectDir, file.getAbsoluteFile(), visitedFolders, gitAttrFiles);\n }\n return gitAttrFiles;\n }", "public static int getNumberOfFiles() {\n\t\treturn EXTENSIONS.length;\n\t}", "public Map<String, NewData> getSnapshotFiles (final List<String> files){\n \t\tMap<String,NewData> w = new HashMap<String,NewData>();\n \t\tList<String> l = new LinkedList<String>();\n \t\tString s=\"\";\n \t\t\n \t\tfor (String str : files){\n \t\t\tw.put(str, new NewData(str));\n \t\t\tl=this.readFile(this.getSnapshot().getRoot() + File.separatorChar +str);\n \t\t\t\n \t\t\tfor (String str2 : l)\n \t\t\t\ts=s+str2+\"\\n\";\n \t\t\t\n \t\t\tw.get(str).setFileContent(s);\n \t\t\tw.get(str).getLclock().putAll(this.getFilelist().get(str));\n \t\t}\n \t\t\t\t\n \t\treturn w;\n \t}", "entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder(\n int index);", "public void getPeerFiles(){\n\t\t\n\t\tFile[] files = new File(path).listFiles();\n\t\tfor (File file : files) {\n\t\t\tfileNames.add(file.getName());\n\t\t}\n\t\tSystem.out.println(\"Number of Files Registerd to the server - \"+fileNames.size());\n\t\tSystem.out.println(\"To search for file give command: get <Filename>\");\n\t\tSystem.out.println(\"To refresh type command: refresh\");\n\t\tSystem.out.println(\"To disconnect type command: disconnect\");\n\t}", "public static void main(String[] args) {\nFile files=new File(\"C:\\\\Users\\\\k74\");\nString filenames[]=files.list();\nfor(String filename :filenames)\n\tSystem.out.println(filename);\n\t}", "public static void rankFiles(Hashtable<?, Integer> fname, int numberOfOccurrences) \r\n\t{\n\t\tArrayList<Map.Entry<?, Integer>> arrayList = new ArrayList(fname.entrySet());\r\n\r\n\t\tCollections.sort(arrayList, new Comparator<Map.Entry<?, Integer>>() \r\n\t\t{\r\n\t\t\tpublic int compare(Map.Entry<?, Integer> obj1, Map.Entry<?, Integer> obj2) \r\n\t\t\t{\r\n\t\t\t\treturn obj1.getValue().compareTo(obj2.getValue());\r\n\t\t\t}\r\n\t\t});\r\n\r\n\t\tCollections.reverse(arrayList);\r\n\r\n\t\tif (numberOfOccurrences > 0) \r\n\t\t{\r\n\t\t\tSystem.out.println(\"\\n------Top 10 search results-----\\n\");\r\n\r\n\t\t\tint my_number = 10;\r\n\t\t\tint j = 1;\r\n\t\t\twhile (arrayList.size() > j && my_number > 0) \r\n\t\t\t{\r\n\t\t\t\tSystem.out.println(\"(\" + j + \") \" + arrayList.get(j) + \" times \");\r\n\t\t\t\tj++;\r\n\t\t\t\tmy_number--;\r\n\t\t\t}\r\n\t\t} \r\n\t}", "@Override\n public List<FileInfo> getLibrarySubFiles(FileInfo fileInfo) {\n return null;\n }", "public final void mo14831s() {\n Iterator it = ((ArrayList) mo14817d()).iterator();\n while (it.hasNext()) {\n File file = (File) it.next();\n if (file.listFiles() != null) {\n m6739b(file);\n long c = m6740c(file, false);\n if (((long) this.f6567b.mo14797a()) != c) {\n try {\n new File(new File(file, String.valueOf(c)), \"stale.tmp\").createNewFile();\n } catch (IOException unused) {\n f6563c.mo14884b(6, \"Could not write staleness marker.\", new Object[0]);\n }\n }\n for (File b : file.listFiles()) {\n m6739b(b);\n }\n }\n }\n }", "@Test\n public void testGetFilesList() {\n System.out.println(\"getFilesList from existing folder with existing subfiles\");\n String entryPath = folder.toString()+fSeparator+\"Images\";\n FilesDao instance = new FilesDao();\n String[] expResult = new String[2];\n expResult[0] = \"testImg.jpg\";\n expResult[1] = \"testImg2.jpg\";\n String[] result;\n try{\n result = instance.getFilesList(entryPath);\n }catch(EntryException ex){\n result = null;\n }\n assertArrayEquals(expResult, result);\n }", "private void populateList(File[] filesList) {\n Log.i(\"mPackage\",\"FilesList: \"+filesList.length);\n for(File file : filesList) {\n //Log.i(\"mPackage\",\"Path: \"+file);\n if(file.isDirectory()) {\n populateList(file.listFiles());\n }\n else {\n MarkerModel markerModel = new MarkerModel();\n Boolean containsObj = false;\n for(File modelFile : filesList) {\n String[] extension = modelFile.getName().split(\"\\\\.\");\n if(extension[extension.length-1].equals(\"obj\")) {\n markerModel.setObj(modelFile.getPath());\n containsObj = true;\n }\n else if(extension[extension.length-1].equals(\"mtl\"))\n markerModel.setMtl(modelFile.getPath());\n else\n markerModel.addTexture(modelFile.getPath());\n }\n if(containsObj)\n models.add(markerModel);\n return;\n //models.add(file.getPath());\n //Log.i(\"mPackage\",\"Path: \"+file.getPath());\n }\n }\n }", "java.util.List<? extends ds.hdfs.generated.FileMetadataOrBuilder> \n getFilesOrBuilderList();", "public List<String> splitByCount(String fileName, int count)\n throws IOException, InterruptedException {\n\n List<String> parts = new ArrayList<String>();\n File file = new File(fileName);\n int blockSize = (int) Math.ceil(file.length() / (double) count);\n RandomAccessFile raf = new RandomAccessFile(fileName, \"r\");\n long totalLen = raf.length();\n CountDownLatch latch = new CountDownLatch(count);\n\n long startPos = 0L;\n long nextPos = 0L;\n\n for (int i = 0; i < count; i++) {\n nextPos = Long.min((long) (i + 1) * blockSize, totalLen - 1);\n raf.seek(nextPos);\n //Calculate the start position for the next file.\n do {\n raf.seek(nextPos);\n if (raf.readByte() == '\\n') {\n nextPos = nextPos + 1;\n break;\n }\n nextPos--;\n } while (true);\n long readSizeTemp = nextPos - startPos;\n int readSize = (int) readSizeTemp;\n String partFileName = fileName.replace(\"raw\", \"raw\" + (i + 1));\n new SplitRunnable(readSize, startPos, partFileName, file, latch).run();\n startPos = nextPos;\n parts.add(partFileName);\n }\n //Wait until all the files are written.\n latch.await();\n return parts;\n }", "public float[] accumulateSimpleMixFiles(ArrayList<File> files){\r\n\t\t\tfloat[] returnValue = new float[10];\r\n\t\t\tfloat[] values = new float[10];\r\n\t\t\t\r\n\t\t for(File file:files){\t\t\t\t\t\r\n\t\t BufferedReader reader;\r\n\t\t try{\r\n\t\t reader = new BufferedReader(new FileReader(file));\r\n\t\t String line = reader.readLine(); \r\n\t\t while(line != null){\t\r\n\t\t \tif(line.substring(0,5).equals(\"Total\")){\r\n\t\t \t\tString[] values2 = line.split(\" \");\r\n\t\t \t\t\r\n\t\t \t\tfor(int i = 2; i < values2.length; i++) values[i-2] += Float.valueOf(values2[i]);\r\n\t\t \t}\r\n\t\t \tline = reader.readLine();\r\n\t\t }\r\n\t\t \r\n\t\t\t\t} catch (FileNotFoundException e) {\r\n\t\t\t\t System.err.println(\"FileNotFoundException: \" + e.getMessage());\r\n\t\t\t\t} catch (IOException e) {\r\n\t\t\t\t System.err.println(\"Caught IOException: \" + e.getMessage());\r\n\t\t\t\t}\r\n\t\t }\r\n\r\n\t\t for(int j = 0; j < values.length; j++) returnValue[j] = (float)values[j]/files.size();\t\r\n\t\t \r\n\t\t return returnValue;\r\n\t\t}", "private Map<ServerFile, Integer> totalFiles(){\n\t\tMap<ServerFile, Integer> ret = new HashMap<ServerFile, Integer>();\n\t\tfor (ClientObj c : clients){\n\t\t\tfor (ServerFile f : c.getFiles()){\n\t\t\t\tif (!ret.containsKey(f))\n\t\t\t\t\tret.put(f, 1);\n\t\t\t\telse\n\t\t\t\t\tret.put(f, ret.get(f) + 1);\n\t\t\t}\n\t\t}\n\t\treturn ret;\n\t}", "int getSourceFileCount();", "public void checkForRepeats(String selectedMarket)\r\n {\r\n System.out.println(backUpPath + selectedMarket);\r\n \tFile f = new File(backUpPath + selectedMarket);\r\n \tArrayList<File> fileContents = new ArrayList<File>(Arrays.asList(f.listFiles()));\r\n \t\r\n for(int i = 0;i< scriptAds.size();i++)\r\n \t{\r\n String currentFileName;\r\n long modified;\r\n Date modifiedDate;\r\n \r\n for(int j = 0;j < fileContents.size();j++)\r\n {\r\n currentFileName = fileContents.get(j).getName();\r\n \r\n if(currentFileName.contains(\".\"))\r\n {\r\n currentFileName = currentFileName.substring(0,currentFileName.lastIndexOf(\".\"));\r\n }\r\n if(scriptAds.get(i).getAdNumber().toLowerCase().equals(currentFileName.toLowerCase()))\r\n {\r\n modified = fileContents.get(j).lastModified();\r\n modifiedDate = new Date(modified);\r\n \r\n String dateToPrint = DateFormat.getDateTimeInstance(DateFormat.SHORT, DateFormat.SHORT).format(modifiedDate);\r\n dateToPrint = dateToPrint.substring(0,dateToPrint.indexOf(\" \"));\r\n \r\n infoText.append(\"<p>CC# \" + scriptAds.get(i).getccNumber() \r\n + \" matches a backup of last modified : \" + scriptAds.get(i).getAdNumber() \r\n + \" \" + dateToPrint + \"\\nin \" + importFileName + \"</p>\");\r\n }\r\n }\r\n }\r\n }", "public void mo83570c() {\n File[] listFiles;\n File file = new File(this.f60297d);\n if (file.isDirectory() && (listFiles = file.listFiles()) != null && listFiles.length >= this.f60294a) {\n Arrays.sort(listFiles, this.f60295b);\n for (int i = 0; i < listFiles.length && listFiles.length >= this.f60294a; i++) {\n File file2 = listFiles[i];\n if (!this.f60299f.contains(file2)) {\n ArgusLogger.m85574b(String.format(C6969H.m41409d(\"G4D8AC619BE22AF20E809D047FEE1C6C47DC3D008AD3FB969E71DD05BE6EAD1D26DC3D008AD3FB969EA079D41E6A5D1D26880DD1FBB70E36CF547\"), file2.getPath()));\n mo83569b(Collections.singleton(file2));\n }\n }\n }\n }", "public File[] filesReadOnly(File... f) { return f; }", "public List<File> getFiles();", "@Test\n\tpublic void testCountItems() {\n\t\tFile test = new File(\"X:\\\\Documents\\\\PS9 Test\");\n\t\tassertEquals(13,Explorer.countItems(test));\n\t}", "void update(FileInfo fileInfo);", "private static ArrayList m5336a(File[] fileArr) {\n ArrayList arrayList = new ArrayList();\n int i = 0;\n while (i < fileArr.length) {\n if (fileArr[i].isFile() && fileArr[i].getName().length() == 10 && TextUtils.isDigitsOnly(fileArr[i].getName())) {\n arrayList.add(fileArr[i]);\n }\n i++;\n }\n return arrayList;\n }", "@Test(timeout = 4000)\n public void test23() throws Throwable {\n FileUtil fileUtil0 = new FileUtil();\n ArrayList<Object> arrayList0 = new ArrayList<Object>();\n File file0 = fileUtil0.getAccessories(\"YP=8V~@ch)3vts}p8\", arrayList0);\n assertNull(file0);\n }", "public void findDupe(int choice) {\n\n\t\tString fullName = null;\n\t\tboolean flag = true;\n\n\t\tfor (Path file : filesArray) {\n\t\t\ttry {\n\t\t\t\tfullName = getFullName(file, choice);\n\t\t\t} catch (Exception e) {\n\t\t\t\tSystem.out.println(\"problem read file: \" + file);\n\t\t\t\tflag = false;\n\t\t\t}\n\n\t\t\tif (flag) {\n\t\t\t\tmultiMap.put(fullName, file);\n\t\t\t\tCollection<Path> vals = (Collection<Path>) multiMap.get(fullName);\n\n\t\t\t\tif (vals.size() > 1) {\n\t\t\t\t\tcounter++;\n\t\t\t\t}\n\t\t\t}\n\t\t\tflag = true;\n\t\t}\n\n\t\tSet<String> keys = multiMap.keySet();\n\t\tIterator<String> items = keys.iterator();\n\n\t\twhile (items.hasNext()) {\n\t\t\tString str = (String) items.next();\n\n\t\t\t@SuppressWarnings(\"unchecked\")\n\t\t\tCollection<Path> val = (Collection<Path>) multiMap.get(str);\n\t\t\tArrayList<Path> arr = new ArrayList<>(val);\n\n\t\t\tif (arr.size() <= 1)\n\t\t\t\titems.remove();\n\n\t\t}\n\n\t}", "java.util.List<entities.Torrent.FileInfo>\n getFileInfoList();", "List<DownloadChunk> mo54445j(int i);", "void visitFile(StorageUnit unit, long off, long lim);", "public void fileInfo(String info);", "private List<FileInfoDTO> createFileInfoDTOs(MultipartFile file1, MultipartFile file2, int totalLinesFirstFile,\n\t\t\tint totalLinesSecondFile) {\n\t\tint unmatchedRecordsFirstFile = firstFileMap.getCountMap().values().stream().mapToInt(Integer::valueOf).sum();\n\t\tint unmatchedRecordsSecondFile = secondFileMap.getCountMap().values().stream().mapToInt(Integer::valueOf).sum();\n\n\t\tFileInfo firstFileInfo = new FileInfo();\n\t\tfirstFileInfo.setName(file1.getOriginalFilename());\n\t\tfirstFileInfo.setTotalRecords(totalLinesFirstFile);\n\t\tfirstFileInfo.setUnmatchedRecords(unmatchedRecordsFirstFile);\n\t\tfirstFileInfo.setMatchingRecords(totalLinesFirstFile - unmatchedRecordsFirstFile);\n\n\t\tFileInfo secondFileInfo = new FileInfo();\n\t\tsecondFileInfo.setName(file2.getOriginalFilename());\n\t\tsecondFileInfo.setTotalRecords(totalLinesSecondFile);\n\t\tsecondFileInfo.setUnmatchedRecords(unmatchedRecordsSecondFile);\n\t\tsecondFileInfo.setMatchingRecords(totalLinesSecondFile - unmatchedRecordsSecondFile);\n\n\t\treturn List.of(firstFileInfo, secondFileInfo).stream()\n\t\t\t\t.map(file -> DTOConverter.convertFileInfoToFileInfoDTO(file)).collect(Collectors.toList());\n\t}", "public void a(File file, List<WxAndQqScanPathInfo> list) {\n if (file != null && !this.p) {\n File[] listFiles = file.listFiles();\n if (listFiles != null) {\n int length = listFiles.length;\n int i2 = 0;\n while (i2 < length) {\n File file2 = listFiles[i2];\n if (!this.p) {\n if (file2 != null) {\n if (!file2.isDirectory()) {\n if (!\".nomedia\".equals(file2.getName()) && file2.length() >= 5 && file2 != null && file2.exists()) {\n CleanWxItemInfo cleanWxItemInfo = new CleanWxItemInfo();\n cleanWxItemInfo.setFileType(((WxAndQqScanPathInfo) list.get(0)).getType());\n cleanWxItemInfo.setFile(file2);\n cleanWxItemInfo.setDays(TimeUtil.changeTimeToDay(cleanWxItemInfo.getFile().lastModified()));\n cleanWxItemInfo.setFileSize(file2.length());\n switch (((WxAndQqScanPathInfo) list.get(0)).getType()) {\n case 1:\n o += cleanWxItemInfo.getFileSize();\n d.setTotalSize(d.getTotalSize() + cleanWxItemInfo.getFileSize());\n d.setTotalNum(d.getTotalNum() + 1);\n if (d.isChecked()) {\n cleanWxItemInfo.setChecked(true);\n d.setSelectSize(d.getSelectSize() + cleanWxItemInfo.getFileSize());\n d.setSelectNum(d.getSelectNum() + 1);\n }\n cleanWxItemInfo.setDays(TimeUtil.changeTimeToDay(0));\n a(d, cleanWxItemInfo);\n break;\n case 2:\n if (!file2.getAbsolutePath().endsWith(\"_cover\") && !new File(file2.getAbsolutePath() + \"_cover\").exists()) {\n if (!\"finishActivity\".equals(this.r) && !\"bigGarbageFragment\".equals(this.r)) {\n if (e.isFinished()) {\n j.setTotalNum(j.getTotalNum() + 1);\n j.setTotalSize(j.getTotalSize() + cleanWxItemInfo.getFileSize());\n a(j, cleanWxItemInfo);\n break;\n } else {\n o += cleanWxItemInfo.getFileSize();\n e.setTotalNum(e.getTotalNum() + 1);\n e.setTotalSize(e.getTotalSize() + cleanWxItemInfo.getFileSize());\n if (e.isChecked()) {\n cleanWxItemInfo.setChecked(true);\n e.setSelectNum(e.getSelectNum() + 1);\n e.setSelectSize(e.getSelectSize() + cleanWxItemInfo.getFileSize());\n }\n a(e, cleanWxItemInfo);\n break;\n }\n }\n } else {\n j.setTotalSize(j.getTotalSize() + cleanWxItemInfo.getFileSize());\n j.setTotalNum(j.getTotalNum() + 1);\n a(j, cleanWxItemInfo);\n break;\n }\n break;\n case 3:\n o += cleanWxItemInfo.getFileSize();\n f.setTotalSize(f.getTotalSize() + cleanWxItemInfo.getFileSize());\n f.setTotalNum(f.getTotalNum() + 1);\n if (f.isChecked()) {\n cleanWxItemInfo.setChecked(true);\n f.setSelectSize(f.getSelectSize() + cleanWxItemInfo.getFileSize());\n f.setSelectNum(f.getSelectNum() + 1);\n }\n a(f, cleanWxItemInfo);\n break;\n case 4:\n if (file2.getName().startsWith(\"snstblur_src_\")) {\n if (Constants.PRIVATE_LOG_CONTROLER) {\n break;\n } else {\n file2.delete();\n break;\n }\n } else {\n if (!file2.getName().startsWith(\"snst_\")) {\n if (file2.getName().startsWith(\"snsu_\") && new File(file2.getAbsolutePath().replace(\"snsu_\", \"snsb_\")).exists()) {\n break;\n }\n } else if (!new File(file2.getAbsolutePath().replace(\"snst_\", \"snsu_\")).exists()) {\n if (new File(file2.getAbsolutePath().replace(\"snst_\", \"snsb_\")).exists()) {\n break;\n }\n } else {\n break;\n }\n o += cleanWxItemInfo.getFileSize();\n g.setTotalSize(g.getTotalSize() + cleanWxItemInfo.getFileSize());\n g.setTotalNum(g.getTotalNum() + 1);\n if (g.isChecked()) {\n cleanWxItemInfo.setChecked(true);\n g.setSelectSize(g.getSelectSize() + cleanWxItemInfo.getFileSize());\n g.setSelectNum(g.getSelectNum() + 1);\n }\n a(g, cleanWxItemInfo);\n break;\n }\n case 5:\n if (file2.getName().endsWith(\".jpg_hevc\")) {\n if (Constants.PRIVATE_LOG_CONTROLER) {\n break;\n } else {\n file2.delete();\n break;\n }\n } else {\n if (file2.getName().startsWith(\"th_\")) {\n if (!file2.getName().endsWith(\"hd\")) {\n break;\n } else {\n break;\n }\n }\n h.setTotalSize(h.getTotalSize() + cleanWxItemInfo.getFileSize());\n h.setTotalNum(h.getTotalNum() + 1);\n a(h, cleanWxItemInfo);\n break;\n }\n case 6:\n if (!file2.getAbsolutePath().contains(\"download/appbrand\")) {\n if (file2.getName().endsWith(\".jpg\")) {\n if (!new File(file2.getAbsolutePath().replace(\".jpg\", \".mp4\")).exists() && !Constants.PRIVATE_LOG_CONTROLER) {\n file2.delete();\n break;\n }\n } else {\n i.setTotalSize(i.getTotalSize() + cleanWxItemInfo.getFileSize());\n i.setTotalNum(i.getTotalNum() + 1);\n a(i, cleanWxItemInfo);\n break;\n }\n } else {\n break;\n }\n case 8:\n k.setTotalSize(k.getTotalSize() + cleanWxItemInfo.getFileSize());\n k.setTotalNum(k.getTotalNum() + 1);\n a(k, cleanWxItemInfo);\n break;\n case 9:\n if (!file2.getName().endsWith(\".mp4\")) {\n l.setTotalSize(l.getTotalSize() + cleanWxItemInfo.getFileSize());\n l.setTotalNum(l.getTotalNum() + 1);\n l.getMineList().add(cleanWxItemInfo);\n a(l, cleanWxItemInfo);\n break;\n } else {\n m.setTotalSize(m.getTotalSize() + cleanWxItemInfo.getFileSize());\n m.setTotalNum(m.getTotalNum() + 1);\n m.getMineList().add(cleanWxItemInfo);\n a(m, cleanWxItemInfo);\n break;\n }\n case 10:\n n.setTotalSize(n.getTotalSize() + cleanWxItemInfo.getFileSize());\n n.setTotalNum(n.getTotalNum() + 1);\n a(n, cleanWxItemInfo);\n break;\n }\n }\n } else {\n try {\n if (file2.listFiles() == null || file2.listFiles().length == 0) {\n FileUtils.deleteFileAndFolder(file2);\n }\n } catch (Exception e2) {\n Logger.iCatch(Logger.TAG, Logger.ZYTAG, \"CleanWxClearNewActivity---wxFileScan ---- \", e2);\n }\n a(file2, list);\n }\n }\n i2++;\n } else {\n return;\n }\n }\n }\n }\n }", "java.util.List<? extends entities.Torrent.FileInfoOrBuilder>\n getFileInfoOrBuilderList();", "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 }", "public Builder addAllFiles(\n java.lang.Iterable<? extends entities.Torrent.FileInfo> values) {\n if (filesBuilder_ == null) {\n ensureFilesIsMutable();\n com.google.protobuf.AbstractMessageLite.Builder.addAll(\n values, files_);\n onChanged();\n } else {\n filesBuilder_.addAllMessages(values);\n }\n return this;\n }", "public filesMB() {\n }", "com.google.protobuf.ByteString\n getFileNamesBytes(int index);", "public int getFileNamesCount() {\n return fileNames_.size();\n }", "@java.lang.Override\n public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder(\n int index) {\n return fileInfo_.get(index);\n }" ]
[ "0.65325207", "0.6227456", "0.6177881", "0.6116598", "0.6065684", "0.6065684", "0.590164", "0.58970237", "0.58970237", "0.5783433", "0.57750136", "0.5763771", "0.5762734", "0.57547295", "0.5746625", "0.5744839", "0.5644452", "0.563878", "0.5628507", "0.56053144", "0.5601631", "0.5583571", "0.55456394", "0.5545325", "0.5545274", "0.5519314", "0.55032945", "0.5502879", "0.5497437", "0.54956275", "0.5495291", "0.54928", "0.5474748", "0.5458041", "0.54520524", "0.54351526", "0.5411701", "0.5409407", "0.5396235", "0.5388728", "0.5378012", "0.537654", "0.53608066", "0.5359268", "0.53519815", "0.5335172", "0.5334883", "0.5334883", "0.53343636", "0.53343636", "0.5319273", "0.5309602", "0.53086674", "0.52990717", "0.52990717", "0.5284801", "0.5278754", "0.5276997", "0.5274732", "0.52718306", "0.52717876", "0.5270142", "0.5268754", "0.5264792", "0.5254606", "0.5237259", "0.52320284", "0.52265704", "0.5221797", "0.5220387", "0.5209014", "0.5206498", "0.519874", "0.51969546", "0.5187828", "0.5185607", "0.5185165", "0.518249", "0.5176273", "0.5165428", "0.51650506", "0.5165015", "0.5163598", "0.5161906", "0.51600796", "0.51514554", "0.5150045", "0.51442325", "0.5133645", "0.51309294", "0.5130048", "0.51299196", "0.5128534", "0.51266265", "0.5125555", "0.5115963", "0.51151603", "0.51146954", "0.51012677", "0.50983685", "0.5096151" ]
0.0
-1
repeated .FileInfo files = 4;
public Builder addFiles( entities.Torrent.FileInfo.Builder builderForValue) { if (filesBuilder_ == null) { ensureFilesIsMutable(); files_.add(builderForValue.build()); onChanged(); } else { filesBuilder_.addMessage(builderForValue.build()); } return this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "int getFileInfoCount();", "public void incFileCount(){\n\t\tthis.num_files++;\n\t}", "entities.Torrent.FileInfo getFiles(int index);", "public Files(){\n this.fileNameArray.add(\"bridge_1.txt\");\n this.fileNameArray.add(\"bridge_2.txt\");\n this.fileNameArray.add(\"bridge_3.txt\");\n this.fileNameArray.add(\"bridge_4.txt\");\n this.fileNameArray.add(\"bridge_5.txt\");\n this.fileNameArray.add(\"bridge_6.txt\");\n this.fileNameArray.add(\"bridge_7.txt\");\n this.fileNameArray.add(\"bridge_8.txt\");\n this.fileNameArray.add(\"bridge_9.txt\");\n this.fileNameArray.add(\"ladder_1.txt\");\n this.fileNameArray.add(\"ladder_2.txt\");\n this.fileNameArray.add(\"ladder_3.txt\");\n this.fileNameArray.add(\"ladder_4.txt\");\n this.fileNameArray.add(\"ladder_5.txt\");\n this.fileNameArray.add(\"ladder_6.txt\");\n this.fileNameArray.add(\"ladder_7.txt\");\n this.fileNameArray.add(\"ladder_8.txt\");\n this.fileNameArray.add(\"ladder_9.txt\");\n }", "int getFileNamesCount();", "int getFileNamesCount();", "ds.hdfs.generated.FileMetadata getFiles(int index);", "int getFilesCount();", "int getFilesCount();", "int getFileCount();", "private void gatherFile(FileStatus[] fstat)\r\n\t{\r\n\t inputSize = 0;\t\r\n\t paths = new Path[fstat.length];\t\r\n\t for(int i=0;i<fstat.length;i++)\r\n\t {\r\n\t inputSize+=fstat[i].getLen();\r\n\t paths[i] = fstat[i].getPath();\r\n\t }\r\n\t }", "@java.lang.Override\n public int getFileInfoCount() {\n return fileInfo_.size();\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}", "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}", "private void initializeFileArrays(){\n File downloadedFilesFolder = new File(MainActivity.DB_PATH);\n File[] files = downloadedFilesFolder.listFiles();\n System.out.println(\"*** \" + files.length + \" ***\");\n if(files != null){\n System.out.println(\"*** \" + files.length + \" ***\");\n for(File f : files){\n if(f != null){\n System.out.println(\"***\\n FILE FOUND - \" + f.getAbsolutePath()+\"\\nSIZE - \" +\n f.length() + \" BYTES \\n***\");\n fileNames.add(f.getName());\n fileSizes.add(f.length()+\"\");\n this.files.add(f);\n }\n }\n }\n }", "entities.Torrent.FileInfoOrBuilder getFilesOrBuilder(\n int index);", "List<UploadInfo> simpleUploadAll(List<SimpleFile> files);", "public List<FileUpload> getFileUploads(int numberOfFileUploads, Long startIndex) throws AppException;", "void addFile(int numberLines);", "private void updateFiles() {\n\t}", "@Override\n public void addSingleFile(FileInfo file) {\n }", "entities.Torrent.FileInfo getFileInfo(int index);", "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}", "private static void showFiles(File[] files) {\n\t\t for (File file : files) {\r\n\t\t if (file.isDirectory()) {\r\n\t\t // System.out.println(\"Directory: \" + file.getName());\r\n\t\t showFiles(file.listFiles()); // Calls same method again.\r\n\t\t } else {\r\n\t\t // System.out.println(\"File: \" + file.getName());\r\n\t\t }\r\n\t\t }\r\n\t\t\r\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 }", "private void findRecordings(){\n File[] files = new File(\"Concatenated/\").listFiles();\n _records.clear();\n _versionNum = 1;\n for (File file : files){\n if (file.isFile()){\n String nameOnFile = file.getName().substring(file.getName().lastIndexOf('_')+1,file.getName().lastIndexOf('.')).toUpperCase();\n if (nameOnFile.equals(_name.toUpperCase())){\n _records.add(file.getName());\n _versionNum++;\n }\n }\n }\n }", "private void checkDuplicateOfFile(Iterable<FileInfo> files, DuplicateDataDTO data) {\n for(FileInfo nextFile: files) {\n for(FileInfo nextFile2: files) {\n if(nextFile.duplicate(nextFile2)) {\n LOG.info(\"Duplicate - {}\", nextFile);\n\n processDuplicate(nextFile,data);\n }\n }\n }\n }", "public TagFileInfo[] getTagFiles() {\n/* 176 */ return this.tagFiles;\n/* */ }", "@Test\n\tpublic void testNumLargeFiles() {\n\t\tFile test = new File(\"X:\\\\Documents\\\\PS9 Test\");\n\t\tassertEquals(6,Explorer.numLargeFiles(test));\n\t}", "public double getNumFiles(){\n\t\treturn (this.num_files);\n\t}", "public Files files();", "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 }", "@Test\n\tpublic void testSetFileInfo() {\n\n\t}", "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 readFileList() throws IOException {\n\t\tint entries = metadataFile.readInt();\n\n\t\tfor (int i = 0; i < entries; i++) {\n\t\t\tint hash = metadataFile.readInt();\n\t\t\tlong dataOffset = metadataFile.readInt() & 0xFFFFFFFFL;\n\t\t\tlong dataSize = metadataFile.readInt() & 0xFFFFFFFFL;\n\t\t\tint pathListIndex = metadataFile.readInt();\n\n\t\t\tlong position = metadataFile.getPosition();\n\t\t\tmetadataFile.setPosition(pathListOffset + 8 + (pathListIndex * 8));\n\n\t\t\tlong pathOffset = metadataFile.readInt() & 0xFFFFFFFFL;\n\t\t\tint pathSize = metadataFile.readInt();\n\n\t\t\tmetadataFile.setPosition(pathListOffset + pathOffset);\n\t\t\tString path = metadataFile.readString(pathSize).trim();\n\n\t\t\tif (hash == hash(path)) \n\t\t\t\tfileEntries.add(new RAFFileEntry(dataOffset, dataSize, path));\n\t\t\telse\n\t\t\t\tthrow new IOException(\"Invalid hash for item '\" + path + \"'.\");\n\n\t\t\tmetadataFile.setPosition(position);\n\t\t}\n\t}", "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 static void main(String[] args) {\n\t\tint count=0;\n\t\t File f=new File(\"C:\\\\Users\\\\kumaujjv\\\\Downloads\\\\Assignments - Copy\");\n\t\t String[] s=f.list();\n\n\t\t for(String s1:s) {\n\t\t File f1=new File(f,s1);\n\t\t if(f1.isFile()) {\n\t\t\t //count++;\n\t\t\t System.out.println(s1);\n\t\t }\n\t\t}\n\t\tSystem.out.println(\"total number : \"+count);\n\n\t\t}", "public float[] accumulateDetailFiles(ArrayList<File> files){\r\n\t\tfloat[] values = new float[100];\r\n\t\tint counter = 0;\r\n\r\n\t for(File file:files){\t\t\r\n\t \tSystem.out.println(file.getName());\r\n\t \tcounter = 0;\r\n\t BufferedReader reader;\r\n\t try{\r\n\t reader = new BufferedReader(new FileReader(file));\r\n\t String line = reader.readLine(); \r\n\t while(line != null){\t\r\n\t \tif(!line.substring(0,1).equals(\"#\")){\r\n\t \t\tString[] values2 = line.split(\" \");\r\n\t \t\tvalues[counter] += Float.valueOf(values2[values2.length-1]);\r\n\t\t \tcounter++;\r\n\t \t}\r\n\t \tline = reader.readLine();\r\n\t }\r\n\t \r\n\t\t\t} catch (FileNotFoundException e) {\r\n\t\t\t System.err.println(\"FileNotFoundException: \" + e.getMessage());\r\n\t\t\t} catch (IOException e) {\r\n\t\t\t System.err.println(\"Caught IOException: \" + e.getMessage());\r\n\t\t\t}\r\n\t }\r\n\r\n\t float[] returnValues = new float[counter];\r\n\t \r\n\t for(int j = 0; j < returnValues.length; j++) \treturnValues[j] = ((float)values[j]/files.size());\r\n\t\r\n\t \r\n \treturn returnValues;\r\n\t}", "ds.hdfs.generated.FileMetadataOrBuilder getFilesOrBuilder(\n int index);", "private static void calculateSizes() {\n for(EmailTypes type : EmailTypes.values()){\n File f = unpackedFiles.get(type);\n setSizes.put(type, Objects.requireNonNull(f.listFiles()).length);\n }\n }", "public int[] filesRemaining();", "public static void main(String[] args) {\n\t\tFile dir = new File(\"H:\");\r\n\t\tString[] filelist = dir.list();\r\n\t\tlong total = 0;\r\n\t\tlong t = 0;\r\n\t\tfor(int i=0;i<filelist.length;i++){\r\n\t\t\t File readfile = new File(\"H:\" + \"\\\\\" + filelist[i]);\r\n\t\t\t t = readFile(readfile)/1024/1024;\r\n\t\t\t System.out.println(\"name=\" + readfile.getName() + \" size:=\" + t + \"MB\");\r\n\t\t\t total += t;\r\n\t\t}\r\n\t\tSystem.out.println(\"OK,all the files is list over,the number is \" + filelist.length + \"the total size is \" + total); \r\n\t}", "@Test\n public void tagFilesShouldReturnNonEmptyTagFiles() throws Exception {\n //given\n givenInfoMessageCode();\n\n //when\n List<IFileSpec> tagFiles = tagDelegator.tagFiles(fileSpecs, LABEL_NAME, opts);\n //then\n assertThat(tagFiles.size(), is(1));\n assertThat(tagFiles.get(0).getDepotPathString(), is(TEST_FILE_DEPOT_PATH));\n }", "public int getFileInfoCount() {\n if (fileInfoBuilder_ == null) {\n return fileInfo_.size();\n } else {\n return fileInfoBuilder_.getCount();\n }\n }", "private static ArrayList<File> buildFilesArray() {\n ArrayList<File> result = new ArrayList<>();\n rAddFilesToArray(workingDirectory, result);\n return result;\n }", "@java.lang.Override\n public entities.Torrent.FileInfoOrBuilder getFilesOrBuilder(\n int index) {\n return files_.get(index);\n }", "java.lang.String getFileNames(int index);", "java.lang.String getFileNames(int index);", "public void filesNotFound(File... f) { }", "public void filesNotFound(File... f) { }", "public static int filesWithSizes (File f)\n\t{\n\t\tif (f.isFile())\n\t\t{\n\t\t\tif (f.length()>= 10000 && f.length() <= 25000)\n\t\t\t{\n\t\t\t\treturn 1;\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\treturn 0;\n\t\t\t}\n\t\t}\n\t\telse\n\t\t{\n\t\t\tint count = 0;\n\t\t\tfor (File file: f.listFiles())\n\t\t\t{\n\t\t\t\tcount += filesWithSizes(file);\n\t\t\t}\n\t\t\treturn count;\n\t\t}\n\t}", "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 }", "public java.lang.String[] getNewFiles(){\r\n return localNewFiles;\r\n }", "entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder();", "entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder();", "@Test\n public void shouldReturnNonEmptyTagFiles() throws Exception {\n //given\n givenInfoMessageCode();\n //when\n List<IFileSpec> tagFiles = tagDelegator.tagFiles(\n fileSpecs,\n LABEL_NAME,\n listOnly1,\n delete1);\n //then\n assertThat(tagFiles.size(), is(1));\n assertThat(tagFiles.get(0).getDepotPathString(), is(TEST_FILE_DEPOT_PATH));\n }", "@Test\n public void maxFiles() throws Throwable {\n MergeFilesOptions opts = new MergeFilesOptions();\n opts.setStream(\"//Ace/dev\");\n opts.setReverseMapping(true);\n opts.setMaxFiles(1);\n opts.setForceStreamMerge(true);\n\n List<IFileSpec> merged = client.mergeFiles(null, null, opts);\n assertEquals(\"wrong number of files\", 1, merged.size());\n\n List<IFileSpec> opened = client.openedFiles(null, null);\n assertEquals(\"files should not have been opened\", 1, opened.size());\n }", "public FileCount(int numFiles){\n this.numFiles = numFiles;\n }", "public int getFileNamesCount() {\n return fileNames_.size();\n }", "static public ObservableList<ImageMetaInfo> getImagesInfo(File path) {\n ObservableList<ImageMetaInfo> observableList = FXCollections.observableArrayList();\n ExtFilter fileFilter = new ExtFilter();\n File[] imageFilesArray = path.listFiles(fileFilter);\n for (File file : imageFilesArray) {\n ImageMetaInfo imageMetaInfo = getImageMetaInfo(file);\n observableList.add(imageMetaInfo);\n }\n return observableList;\n }", "private void get_file_List() {\n\tString file_name=null;\r\n\tfor (int i = 0; i < listOfFiles.length; i++) \r\n\t {\r\n\t \r\n\t if (listOfFiles[i].isFile()) \r\n\t {\r\n\t\t file_name = listOfFiles[i].getName();\r\n\t if (file_name.endsWith(\".xml\") || file_name.endsWith(\".XML\"))\r\n\t {\r\n\t file_list.add(file_name) ;\r\n\t }\r\n\t }\r\n\t }\r\n\t\r\n}", "public static void getListOfAllFileVarianta2() {\n\t\tPath pathToSrc = Paths.get(\"D:\\\\TorrentsMd\");\r\n\t\ttry {\r\n\t\t\t//cu method references\r\n//\t\t\tFiles.walk(pathToSrc)\r\n//\t\t\t\t.map(Path::toFile)\r\n//\t\t\t\t.filter(File::isFile)\r\n//\t\t\t\t.map(File::getName)\r\n//\t\t\t\t.sorted()\r\n//\t\t\t\t.forEach(System.out::println);\r\n\t\t\t\r\n\t\t\t//cu lambda, dar dpdv semantic sunt identice\r\n\t\t\tFiles.walk(pathToSrc)\r\n\t\t\t\t .map(path -> path.toFile()) //trasnform fiecare Path din stream intr-un File\r\n\t\t\t\t .filter(file -> file.isFile()) //filtrez doar fisierele\r\n\t\t\t\t .map(file -> file.getName())//transform fiecare File din stream intr-un String, care e numele sau\r\n\t\t\t\t .sorted()\r\n\t\t\t\t .forEach(file -> System.out.println(file));\r\n\t\t} catch (IOException e) {\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t}", "@java.lang.Override\n public int getFilesCount() {\n return files_.size();\n }", "static List<File> gitAttributes(File projectDir, Iterable<File> files) {\n List<File> gitAttrFiles = new ArrayList<>();\n Set<File> visitedFolders = new HashSet<>();\n for (File file : files) {\n gitAttrAddWithParents(projectDir, file.getAbsoluteFile(), visitedFolders, gitAttrFiles);\n }\n return gitAttrFiles;\n }", "public static int getNumberOfFiles() {\n\t\treturn EXTENSIONS.length;\n\t}", "public Map<String, NewData> getSnapshotFiles (final List<String> files){\n \t\tMap<String,NewData> w = new HashMap<String,NewData>();\n \t\tList<String> l = new LinkedList<String>();\n \t\tString s=\"\";\n \t\t\n \t\tfor (String str : files){\n \t\t\tw.put(str, new NewData(str));\n \t\t\tl=this.readFile(this.getSnapshot().getRoot() + File.separatorChar +str);\n \t\t\t\n \t\t\tfor (String str2 : l)\n \t\t\t\ts=s+str2+\"\\n\";\n \t\t\t\n \t\t\tw.get(str).setFileContent(s);\n \t\t\tw.get(str).getLclock().putAll(this.getFilelist().get(str));\n \t\t}\n \t\t\t\t\n \t\treturn w;\n \t}", "entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder(\n int index);", "public void getPeerFiles(){\n\t\t\n\t\tFile[] files = new File(path).listFiles();\n\t\tfor (File file : files) {\n\t\t\tfileNames.add(file.getName());\n\t\t}\n\t\tSystem.out.println(\"Number of Files Registerd to the server - \"+fileNames.size());\n\t\tSystem.out.println(\"To search for file give command: get <Filename>\");\n\t\tSystem.out.println(\"To refresh type command: refresh\");\n\t\tSystem.out.println(\"To disconnect type command: disconnect\");\n\t}", "public static void main(String[] args) {\nFile files=new File(\"C:\\\\Users\\\\k74\");\nString filenames[]=files.list();\nfor(String filename :filenames)\n\tSystem.out.println(filename);\n\t}", "public static void rankFiles(Hashtable<?, Integer> fname, int numberOfOccurrences) \r\n\t{\n\t\tArrayList<Map.Entry<?, Integer>> arrayList = new ArrayList(fname.entrySet());\r\n\r\n\t\tCollections.sort(arrayList, new Comparator<Map.Entry<?, Integer>>() \r\n\t\t{\r\n\t\t\tpublic int compare(Map.Entry<?, Integer> obj1, Map.Entry<?, Integer> obj2) \r\n\t\t\t{\r\n\t\t\t\treturn obj1.getValue().compareTo(obj2.getValue());\r\n\t\t\t}\r\n\t\t});\r\n\r\n\t\tCollections.reverse(arrayList);\r\n\r\n\t\tif (numberOfOccurrences > 0) \r\n\t\t{\r\n\t\t\tSystem.out.println(\"\\n------Top 10 search results-----\\n\");\r\n\r\n\t\t\tint my_number = 10;\r\n\t\t\tint j = 1;\r\n\t\t\twhile (arrayList.size() > j && my_number > 0) \r\n\t\t\t{\r\n\t\t\t\tSystem.out.println(\"(\" + j + \") \" + arrayList.get(j) + \" times \");\r\n\t\t\t\tj++;\r\n\t\t\t\tmy_number--;\r\n\t\t\t}\r\n\t\t} \r\n\t}", "@Override\n public List<FileInfo> getLibrarySubFiles(FileInfo fileInfo) {\n return null;\n }", "public final void mo14831s() {\n Iterator it = ((ArrayList) mo14817d()).iterator();\n while (it.hasNext()) {\n File file = (File) it.next();\n if (file.listFiles() != null) {\n m6739b(file);\n long c = m6740c(file, false);\n if (((long) this.f6567b.mo14797a()) != c) {\n try {\n new File(new File(file, String.valueOf(c)), \"stale.tmp\").createNewFile();\n } catch (IOException unused) {\n f6563c.mo14884b(6, \"Could not write staleness marker.\", new Object[0]);\n }\n }\n for (File b : file.listFiles()) {\n m6739b(b);\n }\n }\n }\n }", "@Test\n public void testGetFilesList() {\n System.out.println(\"getFilesList from existing folder with existing subfiles\");\n String entryPath = folder.toString()+fSeparator+\"Images\";\n FilesDao instance = new FilesDao();\n String[] expResult = new String[2];\n expResult[0] = \"testImg.jpg\";\n expResult[1] = \"testImg2.jpg\";\n String[] result;\n try{\n result = instance.getFilesList(entryPath);\n }catch(EntryException ex){\n result = null;\n }\n assertArrayEquals(expResult, result);\n }", "private void populateList(File[] filesList) {\n Log.i(\"mPackage\",\"FilesList: \"+filesList.length);\n for(File file : filesList) {\n //Log.i(\"mPackage\",\"Path: \"+file);\n if(file.isDirectory()) {\n populateList(file.listFiles());\n }\n else {\n MarkerModel markerModel = new MarkerModel();\n Boolean containsObj = false;\n for(File modelFile : filesList) {\n String[] extension = modelFile.getName().split(\"\\\\.\");\n if(extension[extension.length-1].equals(\"obj\")) {\n markerModel.setObj(modelFile.getPath());\n containsObj = true;\n }\n else if(extension[extension.length-1].equals(\"mtl\"))\n markerModel.setMtl(modelFile.getPath());\n else\n markerModel.addTexture(modelFile.getPath());\n }\n if(containsObj)\n models.add(markerModel);\n return;\n //models.add(file.getPath());\n //Log.i(\"mPackage\",\"Path: \"+file.getPath());\n }\n }\n }", "java.util.List<? extends ds.hdfs.generated.FileMetadataOrBuilder> \n getFilesOrBuilderList();", "public List<String> splitByCount(String fileName, int count)\n throws IOException, InterruptedException {\n\n List<String> parts = new ArrayList<String>();\n File file = new File(fileName);\n int blockSize = (int) Math.ceil(file.length() / (double) count);\n RandomAccessFile raf = new RandomAccessFile(fileName, \"r\");\n long totalLen = raf.length();\n CountDownLatch latch = new CountDownLatch(count);\n\n long startPos = 0L;\n long nextPos = 0L;\n\n for (int i = 0; i < count; i++) {\n nextPos = Long.min((long) (i + 1) * blockSize, totalLen - 1);\n raf.seek(nextPos);\n //Calculate the start position for the next file.\n do {\n raf.seek(nextPos);\n if (raf.readByte() == '\\n') {\n nextPos = nextPos + 1;\n break;\n }\n nextPos--;\n } while (true);\n long readSizeTemp = nextPos - startPos;\n int readSize = (int) readSizeTemp;\n String partFileName = fileName.replace(\"raw\", \"raw\" + (i + 1));\n new SplitRunnable(readSize, startPos, partFileName, file, latch).run();\n startPos = nextPos;\n parts.add(partFileName);\n }\n //Wait until all the files are written.\n latch.await();\n return parts;\n }", "public float[] accumulateSimpleMixFiles(ArrayList<File> files){\r\n\t\t\tfloat[] returnValue = new float[10];\r\n\t\t\tfloat[] values = new float[10];\r\n\t\t\t\r\n\t\t for(File file:files){\t\t\t\t\t\r\n\t\t BufferedReader reader;\r\n\t\t try{\r\n\t\t reader = new BufferedReader(new FileReader(file));\r\n\t\t String line = reader.readLine(); \r\n\t\t while(line != null){\t\r\n\t\t \tif(line.substring(0,5).equals(\"Total\")){\r\n\t\t \t\tString[] values2 = line.split(\" \");\r\n\t\t \t\t\r\n\t\t \t\tfor(int i = 2; i < values2.length; i++) values[i-2] += Float.valueOf(values2[i]);\r\n\t\t \t}\r\n\t\t \tline = reader.readLine();\r\n\t\t }\r\n\t\t \r\n\t\t\t\t} catch (FileNotFoundException e) {\r\n\t\t\t\t System.err.println(\"FileNotFoundException: \" + e.getMessage());\r\n\t\t\t\t} catch (IOException e) {\r\n\t\t\t\t System.err.println(\"Caught IOException: \" + e.getMessage());\r\n\t\t\t\t}\r\n\t\t }\r\n\r\n\t\t for(int j = 0; j < values.length; j++) returnValue[j] = (float)values[j]/files.size();\t\r\n\t\t \r\n\t\t return returnValue;\r\n\t\t}", "private Map<ServerFile, Integer> totalFiles(){\n\t\tMap<ServerFile, Integer> ret = new HashMap<ServerFile, Integer>();\n\t\tfor (ClientObj c : clients){\n\t\t\tfor (ServerFile f : c.getFiles()){\n\t\t\t\tif (!ret.containsKey(f))\n\t\t\t\t\tret.put(f, 1);\n\t\t\t\telse\n\t\t\t\t\tret.put(f, ret.get(f) + 1);\n\t\t\t}\n\t\t}\n\t\treturn ret;\n\t}", "int getSourceFileCount();", "public void checkForRepeats(String selectedMarket)\r\n {\r\n System.out.println(backUpPath + selectedMarket);\r\n \tFile f = new File(backUpPath + selectedMarket);\r\n \tArrayList<File> fileContents = new ArrayList<File>(Arrays.asList(f.listFiles()));\r\n \t\r\n for(int i = 0;i< scriptAds.size();i++)\r\n \t{\r\n String currentFileName;\r\n long modified;\r\n Date modifiedDate;\r\n \r\n for(int j = 0;j < fileContents.size();j++)\r\n {\r\n currentFileName = fileContents.get(j).getName();\r\n \r\n if(currentFileName.contains(\".\"))\r\n {\r\n currentFileName = currentFileName.substring(0,currentFileName.lastIndexOf(\".\"));\r\n }\r\n if(scriptAds.get(i).getAdNumber().toLowerCase().equals(currentFileName.toLowerCase()))\r\n {\r\n modified = fileContents.get(j).lastModified();\r\n modifiedDate = new Date(modified);\r\n \r\n String dateToPrint = DateFormat.getDateTimeInstance(DateFormat.SHORT, DateFormat.SHORT).format(modifiedDate);\r\n dateToPrint = dateToPrint.substring(0,dateToPrint.indexOf(\" \"));\r\n \r\n infoText.append(\"<p>CC# \" + scriptAds.get(i).getccNumber() \r\n + \" matches a backup of last modified : \" + scriptAds.get(i).getAdNumber() \r\n + \" \" + dateToPrint + \"\\nin \" + importFileName + \"</p>\");\r\n }\r\n }\r\n }\r\n }", "public void mo83570c() {\n File[] listFiles;\n File file = new File(this.f60297d);\n if (file.isDirectory() && (listFiles = file.listFiles()) != null && listFiles.length >= this.f60294a) {\n Arrays.sort(listFiles, this.f60295b);\n for (int i = 0; i < listFiles.length && listFiles.length >= this.f60294a; i++) {\n File file2 = listFiles[i];\n if (!this.f60299f.contains(file2)) {\n ArgusLogger.m85574b(String.format(C6969H.m41409d(\"G4D8AC619BE22AF20E809D047FEE1C6C47DC3D008AD3FB969E71DD05BE6EAD1D26DC3D008AD3FB969EA079D41E6A5D1D26880DD1FBB70E36CF547\"), file2.getPath()));\n mo83569b(Collections.singleton(file2));\n }\n }\n }\n }", "public File[] filesReadOnly(File... f) { return f; }", "public List<File> getFiles();", "@Test\n\tpublic void testCountItems() {\n\t\tFile test = new File(\"X:\\\\Documents\\\\PS9 Test\");\n\t\tassertEquals(13,Explorer.countItems(test));\n\t}", "void update(FileInfo fileInfo);", "private static ArrayList m5336a(File[] fileArr) {\n ArrayList arrayList = new ArrayList();\n int i = 0;\n while (i < fileArr.length) {\n if (fileArr[i].isFile() && fileArr[i].getName().length() == 10 && TextUtils.isDigitsOnly(fileArr[i].getName())) {\n arrayList.add(fileArr[i]);\n }\n i++;\n }\n return arrayList;\n }", "@Test(timeout = 4000)\n public void test23() throws Throwable {\n FileUtil fileUtil0 = new FileUtil();\n ArrayList<Object> arrayList0 = new ArrayList<Object>();\n File file0 = fileUtil0.getAccessories(\"YP=8V~@ch)3vts}p8\", arrayList0);\n assertNull(file0);\n }", "public void findDupe(int choice) {\n\n\t\tString fullName = null;\n\t\tboolean flag = true;\n\n\t\tfor (Path file : filesArray) {\n\t\t\ttry {\n\t\t\t\tfullName = getFullName(file, choice);\n\t\t\t} catch (Exception e) {\n\t\t\t\tSystem.out.println(\"problem read file: \" + file);\n\t\t\t\tflag = false;\n\t\t\t}\n\n\t\t\tif (flag) {\n\t\t\t\tmultiMap.put(fullName, file);\n\t\t\t\tCollection<Path> vals = (Collection<Path>) multiMap.get(fullName);\n\n\t\t\t\tif (vals.size() > 1) {\n\t\t\t\t\tcounter++;\n\t\t\t\t}\n\t\t\t}\n\t\t\tflag = true;\n\t\t}\n\n\t\tSet<String> keys = multiMap.keySet();\n\t\tIterator<String> items = keys.iterator();\n\n\t\twhile (items.hasNext()) {\n\t\t\tString str = (String) items.next();\n\n\t\t\t@SuppressWarnings(\"unchecked\")\n\t\t\tCollection<Path> val = (Collection<Path>) multiMap.get(str);\n\t\t\tArrayList<Path> arr = new ArrayList<>(val);\n\n\t\t\tif (arr.size() <= 1)\n\t\t\t\titems.remove();\n\n\t\t}\n\n\t}", "java.util.List<entities.Torrent.FileInfo>\n getFileInfoList();", "List<DownloadChunk> mo54445j(int i);", "void visitFile(StorageUnit unit, long off, long lim);", "public void fileInfo(String info);", "private List<FileInfoDTO> createFileInfoDTOs(MultipartFile file1, MultipartFile file2, int totalLinesFirstFile,\n\t\t\tint totalLinesSecondFile) {\n\t\tint unmatchedRecordsFirstFile = firstFileMap.getCountMap().values().stream().mapToInt(Integer::valueOf).sum();\n\t\tint unmatchedRecordsSecondFile = secondFileMap.getCountMap().values().stream().mapToInt(Integer::valueOf).sum();\n\n\t\tFileInfo firstFileInfo = new FileInfo();\n\t\tfirstFileInfo.setName(file1.getOriginalFilename());\n\t\tfirstFileInfo.setTotalRecords(totalLinesFirstFile);\n\t\tfirstFileInfo.setUnmatchedRecords(unmatchedRecordsFirstFile);\n\t\tfirstFileInfo.setMatchingRecords(totalLinesFirstFile - unmatchedRecordsFirstFile);\n\n\t\tFileInfo secondFileInfo = new FileInfo();\n\t\tsecondFileInfo.setName(file2.getOriginalFilename());\n\t\tsecondFileInfo.setTotalRecords(totalLinesSecondFile);\n\t\tsecondFileInfo.setUnmatchedRecords(unmatchedRecordsSecondFile);\n\t\tsecondFileInfo.setMatchingRecords(totalLinesSecondFile - unmatchedRecordsSecondFile);\n\n\t\treturn List.of(firstFileInfo, secondFileInfo).stream()\n\t\t\t\t.map(file -> DTOConverter.convertFileInfoToFileInfoDTO(file)).collect(Collectors.toList());\n\t}", "public void a(File file, List<WxAndQqScanPathInfo> list) {\n if (file != null && !this.p) {\n File[] listFiles = file.listFiles();\n if (listFiles != null) {\n int length = listFiles.length;\n int i2 = 0;\n while (i2 < length) {\n File file2 = listFiles[i2];\n if (!this.p) {\n if (file2 != null) {\n if (!file2.isDirectory()) {\n if (!\".nomedia\".equals(file2.getName()) && file2.length() >= 5 && file2 != null && file2.exists()) {\n CleanWxItemInfo cleanWxItemInfo = new CleanWxItemInfo();\n cleanWxItemInfo.setFileType(((WxAndQqScanPathInfo) list.get(0)).getType());\n cleanWxItemInfo.setFile(file2);\n cleanWxItemInfo.setDays(TimeUtil.changeTimeToDay(cleanWxItemInfo.getFile().lastModified()));\n cleanWxItemInfo.setFileSize(file2.length());\n switch (((WxAndQqScanPathInfo) list.get(0)).getType()) {\n case 1:\n o += cleanWxItemInfo.getFileSize();\n d.setTotalSize(d.getTotalSize() + cleanWxItemInfo.getFileSize());\n d.setTotalNum(d.getTotalNum() + 1);\n if (d.isChecked()) {\n cleanWxItemInfo.setChecked(true);\n d.setSelectSize(d.getSelectSize() + cleanWxItemInfo.getFileSize());\n d.setSelectNum(d.getSelectNum() + 1);\n }\n cleanWxItemInfo.setDays(TimeUtil.changeTimeToDay(0));\n a(d, cleanWxItemInfo);\n break;\n case 2:\n if (!file2.getAbsolutePath().endsWith(\"_cover\") && !new File(file2.getAbsolutePath() + \"_cover\").exists()) {\n if (!\"finishActivity\".equals(this.r) && !\"bigGarbageFragment\".equals(this.r)) {\n if (e.isFinished()) {\n j.setTotalNum(j.getTotalNum() + 1);\n j.setTotalSize(j.getTotalSize() + cleanWxItemInfo.getFileSize());\n a(j, cleanWxItemInfo);\n break;\n } else {\n o += cleanWxItemInfo.getFileSize();\n e.setTotalNum(e.getTotalNum() + 1);\n e.setTotalSize(e.getTotalSize() + cleanWxItemInfo.getFileSize());\n if (e.isChecked()) {\n cleanWxItemInfo.setChecked(true);\n e.setSelectNum(e.getSelectNum() + 1);\n e.setSelectSize(e.getSelectSize() + cleanWxItemInfo.getFileSize());\n }\n a(e, cleanWxItemInfo);\n break;\n }\n }\n } else {\n j.setTotalSize(j.getTotalSize() + cleanWxItemInfo.getFileSize());\n j.setTotalNum(j.getTotalNum() + 1);\n a(j, cleanWxItemInfo);\n break;\n }\n break;\n case 3:\n o += cleanWxItemInfo.getFileSize();\n f.setTotalSize(f.getTotalSize() + cleanWxItemInfo.getFileSize());\n f.setTotalNum(f.getTotalNum() + 1);\n if (f.isChecked()) {\n cleanWxItemInfo.setChecked(true);\n f.setSelectSize(f.getSelectSize() + cleanWxItemInfo.getFileSize());\n f.setSelectNum(f.getSelectNum() + 1);\n }\n a(f, cleanWxItemInfo);\n break;\n case 4:\n if (file2.getName().startsWith(\"snstblur_src_\")) {\n if (Constants.PRIVATE_LOG_CONTROLER) {\n break;\n } else {\n file2.delete();\n break;\n }\n } else {\n if (!file2.getName().startsWith(\"snst_\")) {\n if (file2.getName().startsWith(\"snsu_\") && new File(file2.getAbsolutePath().replace(\"snsu_\", \"snsb_\")).exists()) {\n break;\n }\n } else if (!new File(file2.getAbsolutePath().replace(\"snst_\", \"snsu_\")).exists()) {\n if (new File(file2.getAbsolutePath().replace(\"snst_\", \"snsb_\")).exists()) {\n break;\n }\n } else {\n break;\n }\n o += cleanWxItemInfo.getFileSize();\n g.setTotalSize(g.getTotalSize() + cleanWxItemInfo.getFileSize());\n g.setTotalNum(g.getTotalNum() + 1);\n if (g.isChecked()) {\n cleanWxItemInfo.setChecked(true);\n g.setSelectSize(g.getSelectSize() + cleanWxItemInfo.getFileSize());\n g.setSelectNum(g.getSelectNum() + 1);\n }\n a(g, cleanWxItemInfo);\n break;\n }\n case 5:\n if (file2.getName().endsWith(\".jpg_hevc\")) {\n if (Constants.PRIVATE_LOG_CONTROLER) {\n break;\n } else {\n file2.delete();\n break;\n }\n } else {\n if (file2.getName().startsWith(\"th_\")) {\n if (!file2.getName().endsWith(\"hd\")) {\n break;\n } else {\n break;\n }\n }\n h.setTotalSize(h.getTotalSize() + cleanWxItemInfo.getFileSize());\n h.setTotalNum(h.getTotalNum() + 1);\n a(h, cleanWxItemInfo);\n break;\n }\n case 6:\n if (!file2.getAbsolutePath().contains(\"download/appbrand\")) {\n if (file2.getName().endsWith(\".jpg\")) {\n if (!new File(file2.getAbsolutePath().replace(\".jpg\", \".mp4\")).exists() && !Constants.PRIVATE_LOG_CONTROLER) {\n file2.delete();\n break;\n }\n } else {\n i.setTotalSize(i.getTotalSize() + cleanWxItemInfo.getFileSize());\n i.setTotalNum(i.getTotalNum() + 1);\n a(i, cleanWxItemInfo);\n break;\n }\n } else {\n break;\n }\n case 8:\n k.setTotalSize(k.getTotalSize() + cleanWxItemInfo.getFileSize());\n k.setTotalNum(k.getTotalNum() + 1);\n a(k, cleanWxItemInfo);\n break;\n case 9:\n if (!file2.getName().endsWith(\".mp4\")) {\n l.setTotalSize(l.getTotalSize() + cleanWxItemInfo.getFileSize());\n l.setTotalNum(l.getTotalNum() + 1);\n l.getMineList().add(cleanWxItemInfo);\n a(l, cleanWxItemInfo);\n break;\n } else {\n m.setTotalSize(m.getTotalSize() + cleanWxItemInfo.getFileSize());\n m.setTotalNum(m.getTotalNum() + 1);\n m.getMineList().add(cleanWxItemInfo);\n a(m, cleanWxItemInfo);\n break;\n }\n case 10:\n n.setTotalSize(n.getTotalSize() + cleanWxItemInfo.getFileSize());\n n.setTotalNum(n.getTotalNum() + 1);\n a(n, cleanWxItemInfo);\n break;\n }\n }\n } else {\n try {\n if (file2.listFiles() == null || file2.listFiles().length == 0) {\n FileUtils.deleteFileAndFolder(file2);\n }\n } catch (Exception e2) {\n Logger.iCatch(Logger.TAG, Logger.ZYTAG, \"CleanWxClearNewActivity---wxFileScan ---- \", e2);\n }\n a(file2, list);\n }\n }\n i2++;\n } else {\n return;\n }\n }\n }\n }\n }", "java.util.List<? extends entities.Torrent.FileInfoOrBuilder>\n getFileInfoOrBuilderList();", "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 }", "public Builder addAllFiles(\n java.lang.Iterable<? extends entities.Torrent.FileInfo> values) {\n if (filesBuilder_ == null) {\n ensureFilesIsMutable();\n com.google.protobuf.AbstractMessageLite.Builder.addAll(\n values, files_);\n onChanged();\n } else {\n filesBuilder_.addAllMessages(values);\n }\n return this;\n }", "public filesMB() {\n }", "com.google.protobuf.ByteString\n getFileNamesBytes(int index);", "public int getFileNamesCount() {\n return fileNames_.size();\n }", "@java.lang.Override\n public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder(\n int index) {\n return fileInfo_.get(index);\n }" ]
[ "0.65325207", "0.6227456", "0.6177881", "0.6116598", "0.6065684", "0.6065684", "0.590164", "0.58970237", "0.58970237", "0.5783433", "0.57750136", "0.5763771", "0.5762734", "0.57547295", "0.5746625", "0.5744839", "0.5644452", "0.563878", "0.5628507", "0.56053144", "0.5601631", "0.5583571", "0.55456394", "0.5545325", "0.5545274", "0.5519314", "0.55032945", "0.5502879", "0.5497437", "0.54956275", "0.5495291", "0.54928", "0.5474748", "0.5458041", "0.54520524", "0.54351526", "0.5411701", "0.5409407", "0.5396235", "0.5388728", "0.5378012", "0.537654", "0.53608066", "0.5359268", "0.53519815", "0.5335172", "0.5334883", "0.5334883", "0.53343636", "0.53343636", "0.5319273", "0.5309602", "0.53086674", "0.52990717", "0.52990717", "0.5284801", "0.5278754", "0.5276997", "0.5274732", "0.52718306", "0.52717876", "0.5270142", "0.5268754", "0.5264792", "0.5254606", "0.5237259", "0.52320284", "0.52265704", "0.5221797", "0.5220387", "0.5209014", "0.5206498", "0.519874", "0.51969546", "0.5187828", "0.5185607", "0.5185165", "0.518249", "0.5176273", "0.5165428", "0.51650506", "0.5165015", "0.5163598", "0.5161906", "0.51600796", "0.51514554", "0.5150045", "0.51442325", "0.5133645", "0.51309294", "0.5130048", "0.51299196", "0.5128534", "0.51266265", "0.5125555", "0.5115963", "0.51151603", "0.51146954", "0.51012677", "0.50983685", "0.5096151" ]
0.0
-1
repeated .FileInfo files = 4;
public Builder addFiles( int index, entities.Torrent.FileInfo.Builder builderForValue) { if (filesBuilder_ == null) { ensureFilesIsMutable(); files_.add(index, builderForValue.build()); onChanged(); } else { filesBuilder_.addMessage(index, builderForValue.build()); } return this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "int getFileInfoCount();", "public void incFileCount(){\n\t\tthis.num_files++;\n\t}", "entities.Torrent.FileInfo getFiles(int index);", "public Files(){\n this.fileNameArray.add(\"bridge_1.txt\");\n this.fileNameArray.add(\"bridge_2.txt\");\n this.fileNameArray.add(\"bridge_3.txt\");\n this.fileNameArray.add(\"bridge_4.txt\");\n this.fileNameArray.add(\"bridge_5.txt\");\n this.fileNameArray.add(\"bridge_6.txt\");\n this.fileNameArray.add(\"bridge_7.txt\");\n this.fileNameArray.add(\"bridge_8.txt\");\n this.fileNameArray.add(\"bridge_9.txt\");\n this.fileNameArray.add(\"ladder_1.txt\");\n this.fileNameArray.add(\"ladder_2.txt\");\n this.fileNameArray.add(\"ladder_3.txt\");\n this.fileNameArray.add(\"ladder_4.txt\");\n this.fileNameArray.add(\"ladder_5.txt\");\n this.fileNameArray.add(\"ladder_6.txt\");\n this.fileNameArray.add(\"ladder_7.txt\");\n this.fileNameArray.add(\"ladder_8.txt\");\n this.fileNameArray.add(\"ladder_9.txt\");\n }", "int getFileNamesCount();", "int getFileNamesCount();", "ds.hdfs.generated.FileMetadata getFiles(int index);", "int getFilesCount();", "int getFilesCount();", "int getFileCount();", "private void gatherFile(FileStatus[] fstat)\r\n\t{\r\n\t inputSize = 0;\t\r\n\t paths = new Path[fstat.length];\t\r\n\t for(int i=0;i<fstat.length;i++)\r\n\t {\r\n\t inputSize+=fstat[i].getLen();\r\n\t paths[i] = fstat[i].getPath();\r\n\t }\r\n\t }", "@java.lang.Override\n public int getFileInfoCount() {\n return fileInfo_.size();\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}", "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}", "private void initializeFileArrays(){\n File downloadedFilesFolder = new File(MainActivity.DB_PATH);\n File[] files = downloadedFilesFolder.listFiles();\n System.out.println(\"*** \" + files.length + \" ***\");\n if(files != null){\n System.out.println(\"*** \" + files.length + \" ***\");\n for(File f : files){\n if(f != null){\n System.out.println(\"***\\n FILE FOUND - \" + f.getAbsolutePath()+\"\\nSIZE - \" +\n f.length() + \" BYTES \\n***\");\n fileNames.add(f.getName());\n fileSizes.add(f.length()+\"\");\n this.files.add(f);\n }\n }\n }\n }", "entities.Torrent.FileInfoOrBuilder getFilesOrBuilder(\n int index);", "List<UploadInfo> simpleUploadAll(List<SimpleFile> files);", "public List<FileUpload> getFileUploads(int numberOfFileUploads, Long startIndex) throws AppException;", "void addFile(int numberLines);", "private void updateFiles() {\n\t}", "@Override\n public void addSingleFile(FileInfo file) {\n }", "entities.Torrent.FileInfo getFileInfo(int index);", "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}", "private static void showFiles(File[] files) {\n\t\t for (File file : files) {\r\n\t\t if (file.isDirectory()) {\r\n\t\t // System.out.println(\"Directory: \" + file.getName());\r\n\t\t showFiles(file.listFiles()); // Calls same method again.\r\n\t\t } else {\r\n\t\t // System.out.println(\"File: \" + file.getName());\r\n\t\t }\r\n\t\t }\r\n\t\t\r\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 }", "private void findRecordings(){\n File[] files = new File(\"Concatenated/\").listFiles();\n _records.clear();\n _versionNum = 1;\n for (File file : files){\n if (file.isFile()){\n String nameOnFile = file.getName().substring(file.getName().lastIndexOf('_')+1,file.getName().lastIndexOf('.')).toUpperCase();\n if (nameOnFile.equals(_name.toUpperCase())){\n _records.add(file.getName());\n _versionNum++;\n }\n }\n }\n }", "private void checkDuplicateOfFile(Iterable<FileInfo> files, DuplicateDataDTO data) {\n for(FileInfo nextFile: files) {\n for(FileInfo nextFile2: files) {\n if(nextFile.duplicate(nextFile2)) {\n LOG.info(\"Duplicate - {}\", nextFile);\n\n processDuplicate(nextFile,data);\n }\n }\n }\n }", "public TagFileInfo[] getTagFiles() {\n/* 176 */ return this.tagFiles;\n/* */ }", "@Test\n\tpublic void testNumLargeFiles() {\n\t\tFile test = new File(\"X:\\\\Documents\\\\PS9 Test\");\n\t\tassertEquals(6,Explorer.numLargeFiles(test));\n\t}", "public double getNumFiles(){\n\t\treturn (this.num_files);\n\t}", "public Files files();", "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 }", "@Test\n\tpublic void testSetFileInfo() {\n\n\t}", "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 readFileList() throws IOException {\n\t\tint entries = metadataFile.readInt();\n\n\t\tfor (int i = 0; i < entries; i++) {\n\t\t\tint hash = metadataFile.readInt();\n\t\t\tlong dataOffset = metadataFile.readInt() & 0xFFFFFFFFL;\n\t\t\tlong dataSize = metadataFile.readInt() & 0xFFFFFFFFL;\n\t\t\tint pathListIndex = metadataFile.readInt();\n\n\t\t\tlong position = metadataFile.getPosition();\n\t\t\tmetadataFile.setPosition(pathListOffset + 8 + (pathListIndex * 8));\n\n\t\t\tlong pathOffset = metadataFile.readInt() & 0xFFFFFFFFL;\n\t\t\tint pathSize = metadataFile.readInt();\n\n\t\t\tmetadataFile.setPosition(pathListOffset + pathOffset);\n\t\t\tString path = metadataFile.readString(pathSize).trim();\n\n\t\t\tif (hash == hash(path)) \n\t\t\t\tfileEntries.add(new RAFFileEntry(dataOffset, dataSize, path));\n\t\t\telse\n\t\t\t\tthrow new IOException(\"Invalid hash for item '\" + path + \"'.\");\n\n\t\t\tmetadataFile.setPosition(position);\n\t\t}\n\t}", "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 static void main(String[] args) {\n\t\tint count=0;\n\t\t File f=new File(\"C:\\\\Users\\\\kumaujjv\\\\Downloads\\\\Assignments - Copy\");\n\t\t String[] s=f.list();\n\n\t\t for(String s1:s) {\n\t\t File f1=new File(f,s1);\n\t\t if(f1.isFile()) {\n\t\t\t //count++;\n\t\t\t System.out.println(s1);\n\t\t }\n\t\t}\n\t\tSystem.out.println(\"total number : \"+count);\n\n\t\t}", "public float[] accumulateDetailFiles(ArrayList<File> files){\r\n\t\tfloat[] values = new float[100];\r\n\t\tint counter = 0;\r\n\r\n\t for(File file:files){\t\t\r\n\t \tSystem.out.println(file.getName());\r\n\t \tcounter = 0;\r\n\t BufferedReader reader;\r\n\t try{\r\n\t reader = new BufferedReader(new FileReader(file));\r\n\t String line = reader.readLine(); \r\n\t while(line != null){\t\r\n\t \tif(!line.substring(0,1).equals(\"#\")){\r\n\t \t\tString[] values2 = line.split(\" \");\r\n\t \t\tvalues[counter] += Float.valueOf(values2[values2.length-1]);\r\n\t\t \tcounter++;\r\n\t \t}\r\n\t \tline = reader.readLine();\r\n\t }\r\n\t \r\n\t\t\t} catch (FileNotFoundException e) {\r\n\t\t\t System.err.println(\"FileNotFoundException: \" + e.getMessage());\r\n\t\t\t} catch (IOException e) {\r\n\t\t\t System.err.println(\"Caught IOException: \" + e.getMessage());\r\n\t\t\t}\r\n\t }\r\n\r\n\t float[] returnValues = new float[counter];\r\n\t \r\n\t for(int j = 0; j < returnValues.length; j++) \treturnValues[j] = ((float)values[j]/files.size());\r\n\t\r\n\t \r\n \treturn returnValues;\r\n\t}", "ds.hdfs.generated.FileMetadataOrBuilder getFilesOrBuilder(\n int index);", "private static void calculateSizes() {\n for(EmailTypes type : EmailTypes.values()){\n File f = unpackedFiles.get(type);\n setSizes.put(type, Objects.requireNonNull(f.listFiles()).length);\n }\n }", "public int[] filesRemaining();", "public static void main(String[] args) {\n\t\tFile dir = new File(\"H:\");\r\n\t\tString[] filelist = dir.list();\r\n\t\tlong total = 0;\r\n\t\tlong t = 0;\r\n\t\tfor(int i=0;i<filelist.length;i++){\r\n\t\t\t File readfile = new File(\"H:\" + \"\\\\\" + filelist[i]);\r\n\t\t\t t = readFile(readfile)/1024/1024;\r\n\t\t\t System.out.println(\"name=\" + readfile.getName() + \" size:=\" + t + \"MB\");\r\n\t\t\t total += t;\r\n\t\t}\r\n\t\tSystem.out.println(\"OK,all the files is list over,the number is \" + filelist.length + \"the total size is \" + total); \r\n\t}", "@Test\n public void tagFilesShouldReturnNonEmptyTagFiles() throws Exception {\n //given\n givenInfoMessageCode();\n\n //when\n List<IFileSpec> tagFiles = tagDelegator.tagFiles(fileSpecs, LABEL_NAME, opts);\n //then\n assertThat(tagFiles.size(), is(1));\n assertThat(tagFiles.get(0).getDepotPathString(), is(TEST_FILE_DEPOT_PATH));\n }", "public int getFileInfoCount() {\n if (fileInfoBuilder_ == null) {\n return fileInfo_.size();\n } else {\n return fileInfoBuilder_.getCount();\n }\n }", "private static ArrayList<File> buildFilesArray() {\n ArrayList<File> result = new ArrayList<>();\n rAddFilesToArray(workingDirectory, result);\n return result;\n }", "@java.lang.Override\n public entities.Torrent.FileInfoOrBuilder getFilesOrBuilder(\n int index) {\n return files_.get(index);\n }", "java.lang.String getFileNames(int index);", "java.lang.String getFileNames(int index);", "public void filesNotFound(File... f) { }", "public void filesNotFound(File... f) { }", "public static int filesWithSizes (File f)\n\t{\n\t\tif (f.isFile())\n\t\t{\n\t\t\tif (f.length()>= 10000 && f.length() <= 25000)\n\t\t\t{\n\t\t\t\treturn 1;\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\treturn 0;\n\t\t\t}\n\t\t}\n\t\telse\n\t\t{\n\t\t\tint count = 0;\n\t\t\tfor (File file: f.listFiles())\n\t\t\t{\n\t\t\t\tcount += filesWithSizes(file);\n\t\t\t}\n\t\t\treturn count;\n\t\t}\n\t}", "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 }", "public java.lang.String[] getNewFiles(){\r\n return localNewFiles;\r\n }", "entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder();", "entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder();", "@Test\n public void shouldReturnNonEmptyTagFiles() throws Exception {\n //given\n givenInfoMessageCode();\n //when\n List<IFileSpec> tagFiles = tagDelegator.tagFiles(\n fileSpecs,\n LABEL_NAME,\n listOnly1,\n delete1);\n //then\n assertThat(tagFiles.size(), is(1));\n assertThat(tagFiles.get(0).getDepotPathString(), is(TEST_FILE_DEPOT_PATH));\n }", "@Test\n public void maxFiles() throws Throwable {\n MergeFilesOptions opts = new MergeFilesOptions();\n opts.setStream(\"//Ace/dev\");\n opts.setReverseMapping(true);\n opts.setMaxFiles(1);\n opts.setForceStreamMerge(true);\n\n List<IFileSpec> merged = client.mergeFiles(null, null, opts);\n assertEquals(\"wrong number of files\", 1, merged.size());\n\n List<IFileSpec> opened = client.openedFiles(null, null);\n assertEquals(\"files should not have been opened\", 1, opened.size());\n }", "public FileCount(int numFiles){\n this.numFiles = numFiles;\n }", "public int getFileNamesCount() {\n return fileNames_.size();\n }", "static public ObservableList<ImageMetaInfo> getImagesInfo(File path) {\n ObservableList<ImageMetaInfo> observableList = FXCollections.observableArrayList();\n ExtFilter fileFilter = new ExtFilter();\n File[] imageFilesArray = path.listFiles(fileFilter);\n for (File file : imageFilesArray) {\n ImageMetaInfo imageMetaInfo = getImageMetaInfo(file);\n observableList.add(imageMetaInfo);\n }\n return observableList;\n }", "private void get_file_List() {\n\tString file_name=null;\r\n\tfor (int i = 0; i < listOfFiles.length; i++) \r\n\t {\r\n\t \r\n\t if (listOfFiles[i].isFile()) \r\n\t {\r\n\t\t file_name = listOfFiles[i].getName();\r\n\t if (file_name.endsWith(\".xml\") || file_name.endsWith(\".XML\"))\r\n\t {\r\n\t file_list.add(file_name) ;\r\n\t }\r\n\t }\r\n\t }\r\n\t\r\n}", "public static void getListOfAllFileVarianta2() {\n\t\tPath pathToSrc = Paths.get(\"D:\\\\TorrentsMd\");\r\n\t\ttry {\r\n\t\t\t//cu method references\r\n//\t\t\tFiles.walk(pathToSrc)\r\n//\t\t\t\t.map(Path::toFile)\r\n//\t\t\t\t.filter(File::isFile)\r\n//\t\t\t\t.map(File::getName)\r\n//\t\t\t\t.sorted()\r\n//\t\t\t\t.forEach(System.out::println);\r\n\t\t\t\r\n\t\t\t//cu lambda, dar dpdv semantic sunt identice\r\n\t\t\tFiles.walk(pathToSrc)\r\n\t\t\t\t .map(path -> path.toFile()) //trasnform fiecare Path din stream intr-un File\r\n\t\t\t\t .filter(file -> file.isFile()) //filtrez doar fisierele\r\n\t\t\t\t .map(file -> file.getName())//transform fiecare File din stream intr-un String, care e numele sau\r\n\t\t\t\t .sorted()\r\n\t\t\t\t .forEach(file -> System.out.println(file));\r\n\t\t} catch (IOException e) {\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t}", "@java.lang.Override\n public int getFilesCount() {\n return files_.size();\n }", "static List<File> gitAttributes(File projectDir, Iterable<File> files) {\n List<File> gitAttrFiles = new ArrayList<>();\n Set<File> visitedFolders = new HashSet<>();\n for (File file : files) {\n gitAttrAddWithParents(projectDir, file.getAbsoluteFile(), visitedFolders, gitAttrFiles);\n }\n return gitAttrFiles;\n }", "public static int getNumberOfFiles() {\n\t\treturn EXTENSIONS.length;\n\t}", "public Map<String, NewData> getSnapshotFiles (final List<String> files){\n \t\tMap<String,NewData> w = new HashMap<String,NewData>();\n \t\tList<String> l = new LinkedList<String>();\n \t\tString s=\"\";\n \t\t\n \t\tfor (String str : files){\n \t\t\tw.put(str, new NewData(str));\n \t\t\tl=this.readFile(this.getSnapshot().getRoot() + File.separatorChar +str);\n \t\t\t\n \t\t\tfor (String str2 : l)\n \t\t\t\ts=s+str2+\"\\n\";\n \t\t\t\n \t\t\tw.get(str).setFileContent(s);\n \t\t\tw.get(str).getLclock().putAll(this.getFilelist().get(str));\n \t\t}\n \t\t\t\t\n \t\treturn w;\n \t}", "entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder(\n int index);", "public void getPeerFiles(){\n\t\t\n\t\tFile[] files = new File(path).listFiles();\n\t\tfor (File file : files) {\n\t\t\tfileNames.add(file.getName());\n\t\t}\n\t\tSystem.out.println(\"Number of Files Registerd to the server - \"+fileNames.size());\n\t\tSystem.out.println(\"To search for file give command: get <Filename>\");\n\t\tSystem.out.println(\"To refresh type command: refresh\");\n\t\tSystem.out.println(\"To disconnect type command: disconnect\");\n\t}", "public static void main(String[] args) {\nFile files=new File(\"C:\\\\Users\\\\k74\");\nString filenames[]=files.list();\nfor(String filename :filenames)\n\tSystem.out.println(filename);\n\t}", "public static void rankFiles(Hashtable<?, Integer> fname, int numberOfOccurrences) \r\n\t{\n\t\tArrayList<Map.Entry<?, Integer>> arrayList = new ArrayList(fname.entrySet());\r\n\r\n\t\tCollections.sort(arrayList, new Comparator<Map.Entry<?, Integer>>() \r\n\t\t{\r\n\t\t\tpublic int compare(Map.Entry<?, Integer> obj1, Map.Entry<?, Integer> obj2) \r\n\t\t\t{\r\n\t\t\t\treturn obj1.getValue().compareTo(obj2.getValue());\r\n\t\t\t}\r\n\t\t});\r\n\r\n\t\tCollections.reverse(arrayList);\r\n\r\n\t\tif (numberOfOccurrences > 0) \r\n\t\t{\r\n\t\t\tSystem.out.println(\"\\n------Top 10 search results-----\\n\");\r\n\r\n\t\t\tint my_number = 10;\r\n\t\t\tint j = 1;\r\n\t\t\twhile (arrayList.size() > j && my_number > 0) \r\n\t\t\t{\r\n\t\t\t\tSystem.out.println(\"(\" + j + \") \" + arrayList.get(j) + \" times \");\r\n\t\t\t\tj++;\r\n\t\t\t\tmy_number--;\r\n\t\t\t}\r\n\t\t} \r\n\t}", "@Override\n public List<FileInfo> getLibrarySubFiles(FileInfo fileInfo) {\n return null;\n }", "public final void mo14831s() {\n Iterator it = ((ArrayList) mo14817d()).iterator();\n while (it.hasNext()) {\n File file = (File) it.next();\n if (file.listFiles() != null) {\n m6739b(file);\n long c = m6740c(file, false);\n if (((long) this.f6567b.mo14797a()) != c) {\n try {\n new File(new File(file, String.valueOf(c)), \"stale.tmp\").createNewFile();\n } catch (IOException unused) {\n f6563c.mo14884b(6, \"Could not write staleness marker.\", new Object[0]);\n }\n }\n for (File b : file.listFiles()) {\n m6739b(b);\n }\n }\n }\n }", "@Test\n public void testGetFilesList() {\n System.out.println(\"getFilesList from existing folder with existing subfiles\");\n String entryPath = folder.toString()+fSeparator+\"Images\";\n FilesDao instance = new FilesDao();\n String[] expResult = new String[2];\n expResult[0] = \"testImg.jpg\";\n expResult[1] = \"testImg2.jpg\";\n String[] result;\n try{\n result = instance.getFilesList(entryPath);\n }catch(EntryException ex){\n result = null;\n }\n assertArrayEquals(expResult, result);\n }", "private void populateList(File[] filesList) {\n Log.i(\"mPackage\",\"FilesList: \"+filesList.length);\n for(File file : filesList) {\n //Log.i(\"mPackage\",\"Path: \"+file);\n if(file.isDirectory()) {\n populateList(file.listFiles());\n }\n else {\n MarkerModel markerModel = new MarkerModel();\n Boolean containsObj = false;\n for(File modelFile : filesList) {\n String[] extension = modelFile.getName().split(\"\\\\.\");\n if(extension[extension.length-1].equals(\"obj\")) {\n markerModel.setObj(modelFile.getPath());\n containsObj = true;\n }\n else if(extension[extension.length-1].equals(\"mtl\"))\n markerModel.setMtl(modelFile.getPath());\n else\n markerModel.addTexture(modelFile.getPath());\n }\n if(containsObj)\n models.add(markerModel);\n return;\n //models.add(file.getPath());\n //Log.i(\"mPackage\",\"Path: \"+file.getPath());\n }\n }\n }", "java.util.List<? extends ds.hdfs.generated.FileMetadataOrBuilder> \n getFilesOrBuilderList();", "public List<String> splitByCount(String fileName, int count)\n throws IOException, InterruptedException {\n\n List<String> parts = new ArrayList<String>();\n File file = new File(fileName);\n int blockSize = (int) Math.ceil(file.length() / (double) count);\n RandomAccessFile raf = new RandomAccessFile(fileName, \"r\");\n long totalLen = raf.length();\n CountDownLatch latch = new CountDownLatch(count);\n\n long startPos = 0L;\n long nextPos = 0L;\n\n for (int i = 0; i < count; i++) {\n nextPos = Long.min((long) (i + 1) * blockSize, totalLen - 1);\n raf.seek(nextPos);\n //Calculate the start position for the next file.\n do {\n raf.seek(nextPos);\n if (raf.readByte() == '\\n') {\n nextPos = nextPos + 1;\n break;\n }\n nextPos--;\n } while (true);\n long readSizeTemp = nextPos - startPos;\n int readSize = (int) readSizeTemp;\n String partFileName = fileName.replace(\"raw\", \"raw\" + (i + 1));\n new SplitRunnable(readSize, startPos, partFileName, file, latch).run();\n startPos = nextPos;\n parts.add(partFileName);\n }\n //Wait until all the files are written.\n latch.await();\n return parts;\n }", "public float[] accumulateSimpleMixFiles(ArrayList<File> files){\r\n\t\t\tfloat[] returnValue = new float[10];\r\n\t\t\tfloat[] values = new float[10];\r\n\t\t\t\r\n\t\t for(File file:files){\t\t\t\t\t\r\n\t\t BufferedReader reader;\r\n\t\t try{\r\n\t\t reader = new BufferedReader(new FileReader(file));\r\n\t\t String line = reader.readLine(); \r\n\t\t while(line != null){\t\r\n\t\t \tif(line.substring(0,5).equals(\"Total\")){\r\n\t\t \t\tString[] values2 = line.split(\" \");\r\n\t\t \t\t\r\n\t\t \t\tfor(int i = 2; i < values2.length; i++) values[i-2] += Float.valueOf(values2[i]);\r\n\t\t \t}\r\n\t\t \tline = reader.readLine();\r\n\t\t }\r\n\t\t \r\n\t\t\t\t} catch (FileNotFoundException e) {\r\n\t\t\t\t System.err.println(\"FileNotFoundException: \" + e.getMessage());\r\n\t\t\t\t} catch (IOException e) {\r\n\t\t\t\t System.err.println(\"Caught IOException: \" + e.getMessage());\r\n\t\t\t\t}\r\n\t\t }\r\n\r\n\t\t for(int j = 0; j < values.length; j++) returnValue[j] = (float)values[j]/files.size();\t\r\n\t\t \r\n\t\t return returnValue;\r\n\t\t}", "private Map<ServerFile, Integer> totalFiles(){\n\t\tMap<ServerFile, Integer> ret = new HashMap<ServerFile, Integer>();\n\t\tfor (ClientObj c : clients){\n\t\t\tfor (ServerFile f : c.getFiles()){\n\t\t\t\tif (!ret.containsKey(f))\n\t\t\t\t\tret.put(f, 1);\n\t\t\t\telse\n\t\t\t\t\tret.put(f, ret.get(f) + 1);\n\t\t\t}\n\t\t}\n\t\treturn ret;\n\t}", "int getSourceFileCount();", "public void checkForRepeats(String selectedMarket)\r\n {\r\n System.out.println(backUpPath + selectedMarket);\r\n \tFile f = new File(backUpPath + selectedMarket);\r\n \tArrayList<File> fileContents = new ArrayList<File>(Arrays.asList(f.listFiles()));\r\n \t\r\n for(int i = 0;i< scriptAds.size();i++)\r\n \t{\r\n String currentFileName;\r\n long modified;\r\n Date modifiedDate;\r\n \r\n for(int j = 0;j < fileContents.size();j++)\r\n {\r\n currentFileName = fileContents.get(j).getName();\r\n \r\n if(currentFileName.contains(\".\"))\r\n {\r\n currentFileName = currentFileName.substring(0,currentFileName.lastIndexOf(\".\"));\r\n }\r\n if(scriptAds.get(i).getAdNumber().toLowerCase().equals(currentFileName.toLowerCase()))\r\n {\r\n modified = fileContents.get(j).lastModified();\r\n modifiedDate = new Date(modified);\r\n \r\n String dateToPrint = DateFormat.getDateTimeInstance(DateFormat.SHORT, DateFormat.SHORT).format(modifiedDate);\r\n dateToPrint = dateToPrint.substring(0,dateToPrint.indexOf(\" \"));\r\n \r\n infoText.append(\"<p>CC# \" + scriptAds.get(i).getccNumber() \r\n + \" matches a backup of last modified : \" + scriptAds.get(i).getAdNumber() \r\n + \" \" + dateToPrint + \"\\nin \" + importFileName + \"</p>\");\r\n }\r\n }\r\n }\r\n }", "public void mo83570c() {\n File[] listFiles;\n File file = new File(this.f60297d);\n if (file.isDirectory() && (listFiles = file.listFiles()) != null && listFiles.length >= this.f60294a) {\n Arrays.sort(listFiles, this.f60295b);\n for (int i = 0; i < listFiles.length && listFiles.length >= this.f60294a; i++) {\n File file2 = listFiles[i];\n if (!this.f60299f.contains(file2)) {\n ArgusLogger.m85574b(String.format(C6969H.m41409d(\"G4D8AC619BE22AF20E809D047FEE1C6C47DC3D008AD3FB969E71DD05BE6EAD1D26DC3D008AD3FB969EA079D41E6A5D1D26880DD1FBB70E36CF547\"), file2.getPath()));\n mo83569b(Collections.singleton(file2));\n }\n }\n }\n }", "public File[] filesReadOnly(File... f) { return f; }", "public List<File> getFiles();", "@Test\n\tpublic void testCountItems() {\n\t\tFile test = new File(\"X:\\\\Documents\\\\PS9 Test\");\n\t\tassertEquals(13,Explorer.countItems(test));\n\t}", "void update(FileInfo fileInfo);", "private static ArrayList m5336a(File[] fileArr) {\n ArrayList arrayList = new ArrayList();\n int i = 0;\n while (i < fileArr.length) {\n if (fileArr[i].isFile() && fileArr[i].getName().length() == 10 && TextUtils.isDigitsOnly(fileArr[i].getName())) {\n arrayList.add(fileArr[i]);\n }\n i++;\n }\n return arrayList;\n }", "@Test(timeout = 4000)\n public void test23() throws Throwable {\n FileUtil fileUtil0 = new FileUtil();\n ArrayList<Object> arrayList0 = new ArrayList<Object>();\n File file0 = fileUtil0.getAccessories(\"YP=8V~@ch)3vts}p8\", arrayList0);\n assertNull(file0);\n }", "public void findDupe(int choice) {\n\n\t\tString fullName = null;\n\t\tboolean flag = true;\n\n\t\tfor (Path file : filesArray) {\n\t\t\ttry {\n\t\t\t\tfullName = getFullName(file, choice);\n\t\t\t} catch (Exception e) {\n\t\t\t\tSystem.out.println(\"problem read file: \" + file);\n\t\t\t\tflag = false;\n\t\t\t}\n\n\t\t\tif (flag) {\n\t\t\t\tmultiMap.put(fullName, file);\n\t\t\t\tCollection<Path> vals = (Collection<Path>) multiMap.get(fullName);\n\n\t\t\t\tif (vals.size() > 1) {\n\t\t\t\t\tcounter++;\n\t\t\t\t}\n\t\t\t}\n\t\t\tflag = true;\n\t\t}\n\n\t\tSet<String> keys = multiMap.keySet();\n\t\tIterator<String> items = keys.iterator();\n\n\t\twhile (items.hasNext()) {\n\t\t\tString str = (String) items.next();\n\n\t\t\t@SuppressWarnings(\"unchecked\")\n\t\t\tCollection<Path> val = (Collection<Path>) multiMap.get(str);\n\t\t\tArrayList<Path> arr = new ArrayList<>(val);\n\n\t\t\tif (arr.size() <= 1)\n\t\t\t\titems.remove();\n\n\t\t}\n\n\t}", "java.util.List<entities.Torrent.FileInfo>\n getFileInfoList();", "List<DownloadChunk> mo54445j(int i);", "void visitFile(StorageUnit unit, long off, long lim);", "public void fileInfo(String info);", "private List<FileInfoDTO> createFileInfoDTOs(MultipartFile file1, MultipartFile file2, int totalLinesFirstFile,\n\t\t\tint totalLinesSecondFile) {\n\t\tint unmatchedRecordsFirstFile = firstFileMap.getCountMap().values().stream().mapToInt(Integer::valueOf).sum();\n\t\tint unmatchedRecordsSecondFile = secondFileMap.getCountMap().values().stream().mapToInt(Integer::valueOf).sum();\n\n\t\tFileInfo firstFileInfo = new FileInfo();\n\t\tfirstFileInfo.setName(file1.getOriginalFilename());\n\t\tfirstFileInfo.setTotalRecords(totalLinesFirstFile);\n\t\tfirstFileInfo.setUnmatchedRecords(unmatchedRecordsFirstFile);\n\t\tfirstFileInfo.setMatchingRecords(totalLinesFirstFile - unmatchedRecordsFirstFile);\n\n\t\tFileInfo secondFileInfo = new FileInfo();\n\t\tsecondFileInfo.setName(file2.getOriginalFilename());\n\t\tsecondFileInfo.setTotalRecords(totalLinesSecondFile);\n\t\tsecondFileInfo.setUnmatchedRecords(unmatchedRecordsSecondFile);\n\t\tsecondFileInfo.setMatchingRecords(totalLinesSecondFile - unmatchedRecordsSecondFile);\n\n\t\treturn List.of(firstFileInfo, secondFileInfo).stream()\n\t\t\t\t.map(file -> DTOConverter.convertFileInfoToFileInfoDTO(file)).collect(Collectors.toList());\n\t}", "public void a(File file, List<WxAndQqScanPathInfo> list) {\n if (file != null && !this.p) {\n File[] listFiles = file.listFiles();\n if (listFiles != null) {\n int length = listFiles.length;\n int i2 = 0;\n while (i2 < length) {\n File file2 = listFiles[i2];\n if (!this.p) {\n if (file2 != null) {\n if (!file2.isDirectory()) {\n if (!\".nomedia\".equals(file2.getName()) && file2.length() >= 5 && file2 != null && file2.exists()) {\n CleanWxItemInfo cleanWxItemInfo = new CleanWxItemInfo();\n cleanWxItemInfo.setFileType(((WxAndQqScanPathInfo) list.get(0)).getType());\n cleanWxItemInfo.setFile(file2);\n cleanWxItemInfo.setDays(TimeUtil.changeTimeToDay(cleanWxItemInfo.getFile().lastModified()));\n cleanWxItemInfo.setFileSize(file2.length());\n switch (((WxAndQqScanPathInfo) list.get(0)).getType()) {\n case 1:\n o += cleanWxItemInfo.getFileSize();\n d.setTotalSize(d.getTotalSize() + cleanWxItemInfo.getFileSize());\n d.setTotalNum(d.getTotalNum() + 1);\n if (d.isChecked()) {\n cleanWxItemInfo.setChecked(true);\n d.setSelectSize(d.getSelectSize() + cleanWxItemInfo.getFileSize());\n d.setSelectNum(d.getSelectNum() + 1);\n }\n cleanWxItemInfo.setDays(TimeUtil.changeTimeToDay(0));\n a(d, cleanWxItemInfo);\n break;\n case 2:\n if (!file2.getAbsolutePath().endsWith(\"_cover\") && !new File(file2.getAbsolutePath() + \"_cover\").exists()) {\n if (!\"finishActivity\".equals(this.r) && !\"bigGarbageFragment\".equals(this.r)) {\n if (e.isFinished()) {\n j.setTotalNum(j.getTotalNum() + 1);\n j.setTotalSize(j.getTotalSize() + cleanWxItemInfo.getFileSize());\n a(j, cleanWxItemInfo);\n break;\n } else {\n o += cleanWxItemInfo.getFileSize();\n e.setTotalNum(e.getTotalNum() + 1);\n e.setTotalSize(e.getTotalSize() + cleanWxItemInfo.getFileSize());\n if (e.isChecked()) {\n cleanWxItemInfo.setChecked(true);\n e.setSelectNum(e.getSelectNum() + 1);\n e.setSelectSize(e.getSelectSize() + cleanWxItemInfo.getFileSize());\n }\n a(e, cleanWxItemInfo);\n break;\n }\n }\n } else {\n j.setTotalSize(j.getTotalSize() + cleanWxItemInfo.getFileSize());\n j.setTotalNum(j.getTotalNum() + 1);\n a(j, cleanWxItemInfo);\n break;\n }\n break;\n case 3:\n o += cleanWxItemInfo.getFileSize();\n f.setTotalSize(f.getTotalSize() + cleanWxItemInfo.getFileSize());\n f.setTotalNum(f.getTotalNum() + 1);\n if (f.isChecked()) {\n cleanWxItemInfo.setChecked(true);\n f.setSelectSize(f.getSelectSize() + cleanWxItemInfo.getFileSize());\n f.setSelectNum(f.getSelectNum() + 1);\n }\n a(f, cleanWxItemInfo);\n break;\n case 4:\n if (file2.getName().startsWith(\"snstblur_src_\")) {\n if (Constants.PRIVATE_LOG_CONTROLER) {\n break;\n } else {\n file2.delete();\n break;\n }\n } else {\n if (!file2.getName().startsWith(\"snst_\")) {\n if (file2.getName().startsWith(\"snsu_\") && new File(file2.getAbsolutePath().replace(\"snsu_\", \"snsb_\")).exists()) {\n break;\n }\n } else if (!new File(file2.getAbsolutePath().replace(\"snst_\", \"snsu_\")).exists()) {\n if (new File(file2.getAbsolutePath().replace(\"snst_\", \"snsb_\")).exists()) {\n break;\n }\n } else {\n break;\n }\n o += cleanWxItemInfo.getFileSize();\n g.setTotalSize(g.getTotalSize() + cleanWxItemInfo.getFileSize());\n g.setTotalNum(g.getTotalNum() + 1);\n if (g.isChecked()) {\n cleanWxItemInfo.setChecked(true);\n g.setSelectSize(g.getSelectSize() + cleanWxItemInfo.getFileSize());\n g.setSelectNum(g.getSelectNum() + 1);\n }\n a(g, cleanWxItemInfo);\n break;\n }\n case 5:\n if (file2.getName().endsWith(\".jpg_hevc\")) {\n if (Constants.PRIVATE_LOG_CONTROLER) {\n break;\n } else {\n file2.delete();\n break;\n }\n } else {\n if (file2.getName().startsWith(\"th_\")) {\n if (!file2.getName().endsWith(\"hd\")) {\n break;\n } else {\n break;\n }\n }\n h.setTotalSize(h.getTotalSize() + cleanWxItemInfo.getFileSize());\n h.setTotalNum(h.getTotalNum() + 1);\n a(h, cleanWxItemInfo);\n break;\n }\n case 6:\n if (!file2.getAbsolutePath().contains(\"download/appbrand\")) {\n if (file2.getName().endsWith(\".jpg\")) {\n if (!new File(file2.getAbsolutePath().replace(\".jpg\", \".mp4\")).exists() && !Constants.PRIVATE_LOG_CONTROLER) {\n file2.delete();\n break;\n }\n } else {\n i.setTotalSize(i.getTotalSize() + cleanWxItemInfo.getFileSize());\n i.setTotalNum(i.getTotalNum() + 1);\n a(i, cleanWxItemInfo);\n break;\n }\n } else {\n break;\n }\n case 8:\n k.setTotalSize(k.getTotalSize() + cleanWxItemInfo.getFileSize());\n k.setTotalNum(k.getTotalNum() + 1);\n a(k, cleanWxItemInfo);\n break;\n case 9:\n if (!file2.getName().endsWith(\".mp4\")) {\n l.setTotalSize(l.getTotalSize() + cleanWxItemInfo.getFileSize());\n l.setTotalNum(l.getTotalNum() + 1);\n l.getMineList().add(cleanWxItemInfo);\n a(l, cleanWxItemInfo);\n break;\n } else {\n m.setTotalSize(m.getTotalSize() + cleanWxItemInfo.getFileSize());\n m.setTotalNum(m.getTotalNum() + 1);\n m.getMineList().add(cleanWxItemInfo);\n a(m, cleanWxItemInfo);\n break;\n }\n case 10:\n n.setTotalSize(n.getTotalSize() + cleanWxItemInfo.getFileSize());\n n.setTotalNum(n.getTotalNum() + 1);\n a(n, cleanWxItemInfo);\n break;\n }\n }\n } else {\n try {\n if (file2.listFiles() == null || file2.listFiles().length == 0) {\n FileUtils.deleteFileAndFolder(file2);\n }\n } catch (Exception e2) {\n Logger.iCatch(Logger.TAG, Logger.ZYTAG, \"CleanWxClearNewActivity---wxFileScan ---- \", e2);\n }\n a(file2, list);\n }\n }\n i2++;\n } else {\n return;\n }\n }\n }\n }\n }", "java.util.List<? extends entities.Torrent.FileInfoOrBuilder>\n getFileInfoOrBuilderList();", "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 }", "public Builder addAllFiles(\n java.lang.Iterable<? extends entities.Torrent.FileInfo> values) {\n if (filesBuilder_ == null) {\n ensureFilesIsMutable();\n com.google.protobuf.AbstractMessageLite.Builder.addAll(\n values, files_);\n onChanged();\n } else {\n filesBuilder_.addAllMessages(values);\n }\n return this;\n }", "public filesMB() {\n }", "com.google.protobuf.ByteString\n getFileNamesBytes(int index);", "public int getFileNamesCount() {\n return fileNames_.size();\n }", "@java.lang.Override\n public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder(\n int index) {\n return fileInfo_.get(index);\n }" ]
[ "0.65325207", "0.6227456", "0.6177881", "0.6116598", "0.6065684", "0.6065684", "0.590164", "0.58970237", "0.58970237", "0.5783433", "0.57750136", "0.5763771", "0.5762734", "0.57547295", "0.5746625", "0.5744839", "0.5644452", "0.563878", "0.5628507", "0.56053144", "0.5601631", "0.5583571", "0.55456394", "0.5545325", "0.5545274", "0.5519314", "0.55032945", "0.5502879", "0.5497437", "0.54956275", "0.5495291", "0.54928", "0.5474748", "0.5458041", "0.54520524", "0.54351526", "0.5411701", "0.5409407", "0.5396235", "0.5388728", "0.5378012", "0.537654", "0.53608066", "0.5359268", "0.53519815", "0.5335172", "0.5334883", "0.5334883", "0.53343636", "0.53343636", "0.5319273", "0.5309602", "0.53086674", "0.52990717", "0.52990717", "0.5284801", "0.5278754", "0.5276997", "0.5274732", "0.52718306", "0.52717876", "0.5270142", "0.5268754", "0.5264792", "0.5254606", "0.5237259", "0.52320284", "0.52265704", "0.5221797", "0.5220387", "0.5209014", "0.5206498", "0.519874", "0.51969546", "0.5187828", "0.5185607", "0.5185165", "0.518249", "0.5176273", "0.5165428", "0.51650506", "0.5165015", "0.5163598", "0.5161906", "0.51600796", "0.51514554", "0.5150045", "0.51442325", "0.5133645", "0.51309294", "0.5130048", "0.51299196", "0.5128534", "0.51266265", "0.5125555", "0.5115963", "0.51151603", "0.51146954", "0.51012677", "0.50983685", "0.5096151" ]
0.0
-1
repeated .FileInfo files = 4;
public Builder addAllFiles( java.lang.Iterable<? extends entities.Torrent.FileInfo> values) { if (filesBuilder_ == null) { ensureFilesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, files_); onChanged(); } else { filesBuilder_.addAllMessages(values); } return this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "int getFileInfoCount();", "public void incFileCount(){\n\t\tthis.num_files++;\n\t}", "entities.Torrent.FileInfo getFiles(int index);", "public Files(){\n this.fileNameArray.add(\"bridge_1.txt\");\n this.fileNameArray.add(\"bridge_2.txt\");\n this.fileNameArray.add(\"bridge_3.txt\");\n this.fileNameArray.add(\"bridge_4.txt\");\n this.fileNameArray.add(\"bridge_5.txt\");\n this.fileNameArray.add(\"bridge_6.txt\");\n this.fileNameArray.add(\"bridge_7.txt\");\n this.fileNameArray.add(\"bridge_8.txt\");\n this.fileNameArray.add(\"bridge_9.txt\");\n this.fileNameArray.add(\"ladder_1.txt\");\n this.fileNameArray.add(\"ladder_2.txt\");\n this.fileNameArray.add(\"ladder_3.txt\");\n this.fileNameArray.add(\"ladder_4.txt\");\n this.fileNameArray.add(\"ladder_5.txt\");\n this.fileNameArray.add(\"ladder_6.txt\");\n this.fileNameArray.add(\"ladder_7.txt\");\n this.fileNameArray.add(\"ladder_8.txt\");\n this.fileNameArray.add(\"ladder_9.txt\");\n }", "int getFileNamesCount();", "int getFileNamesCount();", "ds.hdfs.generated.FileMetadata getFiles(int index);", "int getFilesCount();", "int getFilesCount();", "int getFileCount();", "private void gatherFile(FileStatus[] fstat)\r\n\t{\r\n\t inputSize = 0;\t\r\n\t paths = new Path[fstat.length];\t\r\n\t for(int i=0;i<fstat.length;i++)\r\n\t {\r\n\t inputSize+=fstat[i].getLen();\r\n\t paths[i] = fstat[i].getPath();\r\n\t }\r\n\t }", "@java.lang.Override\n public int getFileInfoCount() {\n return fileInfo_.size();\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}", "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}", "private void initializeFileArrays(){\n File downloadedFilesFolder = new File(MainActivity.DB_PATH);\n File[] files = downloadedFilesFolder.listFiles();\n System.out.println(\"*** \" + files.length + \" ***\");\n if(files != null){\n System.out.println(\"*** \" + files.length + \" ***\");\n for(File f : files){\n if(f != null){\n System.out.println(\"***\\n FILE FOUND - \" + f.getAbsolutePath()+\"\\nSIZE - \" +\n f.length() + \" BYTES \\n***\");\n fileNames.add(f.getName());\n fileSizes.add(f.length()+\"\");\n this.files.add(f);\n }\n }\n }\n }", "entities.Torrent.FileInfoOrBuilder getFilesOrBuilder(\n int index);", "List<UploadInfo> simpleUploadAll(List<SimpleFile> files);", "public List<FileUpload> getFileUploads(int numberOfFileUploads, Long startIndex) throws AppException;", "void addFile(int numberLines);", "private void updateFiles() {\n\t}", "@Override\n public void addSingleFile(FileInfo file) {\n }", "entities.Torrent.FileInfo getFileInfo(int index);", "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}", "private static void showFiles(File[] files) {\n\t\t for (File file : files) {\r\n\t\t if (file.isDirectory()) {\r\n\t\t // System.out.println(\"Directory: \" + file.getName());\r\n\t\t showFiles(file.listFiles()); // Calls same method again.\r\n\t\t } else {\r\n\t\t // System.out.println(\"File: \" + file.getName());\r\n\t\t }\r\n\t\t }\r\n\t\t\r\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 }", "private void findRecordings(){\n File[] files = new File(\"Concatenated/\").listFiles();\n _records.clear();\n _versionNum = 1;\n for (File file : files){\n if (file.isFile()){\n String nameOnFile = file.getName().substring(file.getName().lastIndexOf('_')+1,file.getName().lastIndexOf('.')).toUpperCase();\n if (nameOnFile.equals(_name.toUpperCase())){\n _records.add(file.getName());\n _versionNum++;\n }\n }\n }\n }", "private void checkDuplicateOfFile(Iterable<FileInfo> files, DuplicateDataDTO data) {\n for(FileInfo nextFile: files) {\n for(FileInfo nextFile2: files) {\n if(nextFile.duplicate(nextFile2)) {\n LOG.info(\"Duplicate - {}\", nextFile);\n\n processDuplicate(nextFile,data);\n }\n }\n }\n }", "public TagFileInfo[] getTagFiles() {\n/* 176 */ return this.tagFiles;\n/* */ }", "@Test\n\tpublic void testNumLargeFiles() {\n\t\tFile test = new File(\"X:\\\\Documents\\\\PS9 Test\");\n\t\tassertEquals(6,Explorer.numLargeFiles(test));\n\t}", "public double getNumFiles(){\n\t\treturn (this.num_files);\n\t}", "public Files files();", "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 }", "@Test\n\tpublic void testSetFileInfo() {\n\n\t}", "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 readFileList() throws IOException {\n\t\tint entries = metadataFile.readInt();\n\n\t\tfor (int i = 0; i < entries; i++) {\n\t\t\tint hash = metadataFile.readInt();\n\t\t\tlong dataOffset = metadataFile.readInt() & 0xFFFFFFFFL;\n\t\t\tlong dataSize = metadataFile.readInt() & 0xFFFFFFFFL;\n\t\t\tint pathListIndex = metadataFile.readInt();\n\n\t\t\tlong position = metadataFile.getPosition();\n\t\t\tmetadataFile.setPosition(pathListOffset + 8 + (pathListIndex * 8));\n\n\t\t\tlong pathOffset = metadataFile.readInt() & 0xFFFFFFFFL;\n\t\t\tint pathSize = metadataFile.readInt();\n\n\t\t\tmetadataFile.setPosition(pathListOffset + pathOffset);\n\t\t\tString path = metadataFile.readString(pathSize).trim();\n\n\t\t\tif (hash == hash(path)) \n\t\t\t\tfileEntries.add(new RAFFileEntry(dataOffset, dataSize, path));\n\t\t\telse\n\t\t\t\tthrow new IOException(\"Invalid hash for item '\" + path + \"'.\");\n\n\t\t\tmetadataFile.setPosition(position);\n\t\t}\n\t}", "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 static void main(String[] args) {\n\t\tint count=0;\n\t\t File f=new File(\"C:\\\\Users\\\\kumaujjv\\\\Downloads\\\\Assignments - Copy\");\n\t\t String[] s=f.list();\n\n\t\t for(String s1:s) {\n\t\t File f1=new File(f,s1);\n\t\t if(f1.isFile()) {\n\t\t\t //count++;\n\t\t\t System.out.println(s1);\n\t\t }\n\t\t}\n\t\tSystem.out.println(\"total number : \"+count);\n\n\t\t}", "public float[] accumulateDetailFiles(ArrayList<File> files){\r\n\t\tfloat[] values = new float[100];\r\n\t\tint counter = 0;\r\n\r\n\t for(File file:files){\t\t\r\n\t \tSystem.out.println(file.getName());\r\n\t \tcounter = 0;\r\n\t BufferedReader reader;\r\n\t try{\r\n\t reader = new BufferedReader(new FileReader(file));\r\n\t String line = reader.readLine(); \r\n\t while(line != null){\t\r\n\t \tif(!line.substring(0,1).equals(\"#\")){\r\n\t \t\tString[] values2 = line.split(\" \");\r\n\t \t\tvalues[counter] += Float.valueOf(values2[values2.length-1]);\r\n\t\t \tcounter++;\r\n\t \t}\r\n\t \tline = reader.readLine();\r\n\t }\r\n\t \r\n\t\t\t} catch (FileNotFoundException e) {\r\n\t\t\t System.err.println(\"FileNotFoundException: \" + e.getMessage());\r\n\t\t\t} catch (IOException e) {\r\n\t\t\t System.err.println(\"Caught IOException: \" + e.getMessage());\r\n\t\t\t}\r\n\t }\r\n\r\n\t float[] returnValues = new float[counter];\r\n\t \r\n\t for(int j = 0; j < returnValues.length; j++) \treturnValues[j] = ((float)values[j]/files.size());\r\n\t\r\n\t \r\n \treturn returnValues;\r\n\t}", "ds.hdfs.generated.FileMetadataOrBuilder getFilesOrBuilder(\n int index);", "private static void calculateSizes() {\n for(EmailTypes type : EmailTypes.values()){\n File f = unpackedFiles.get(type);\n setSizes.put(type, Objects.requireNonNull(f.listFiles()).length);\n }\n }", "public int[] filesRemaining();", "public static void main(String[] args) {\n\t\tFile dir = new File(\"H:\");\r\n\t\tString[] filelist = dir.list();\r\n\t\tlong total = 0;\r\n\t\tlong t = 0;\r\n\t\tfor(int i=0;i<filelist.length;i++){\r\n\t\t\t File readfile = new File(\"H:\" + \"\\\\\" + filelist[i]);\r\n\t\t\t t = readFile(readfile)/1024/1024;\r\n\t\t\t System.out.println(\"name=\" + readfile.getName() + \" size:=\" + t + \"MB\");\r\n\t\t\t total += t;\r\n\t\t}\r\n\t\tSystem.out.println(\"OK,all the files is list over,the number is \" + filelist.length + \"the total size is \" + total); \r\n\t}", "@Test\n public void tagFilesShouldReturnNonEmptyTagFiles() throws Exception {\n //given\n givenInfoMessageCode();\n\n //when\n List<IFileSpec> tagFiles = tagDelegator.tagFiles(fileSpecs, LABEL_NAME, opts);\n //then\n assertThat(tagFiles.size(), is(1));\n assertThat(tagFiles.get(0).getDepotPathString(), is(TEST_FILE_DEPOT_PATH));\n }", "public int getFileInfoCount() {\n if (fileInfoBuilder_ == null) {\n return fileInfo_.size();\n } else {\n return fileInfoBuilder_.getCount();\n }\n }", "private static ArrayList<File> buildFilesArray() {\n ArrayList<File> result = new ArrayList<>();\n rAddFilesToArray(workingDirectory, result);\n return result;\n }", "@java.lang.Override\n public entities.Torrent.FileInfoOrBuilder getFilesOrBuilder(\n int index) {\n return files_.get(index);\n }", "java.lang.String getFileNames(int index);", "java.lang.String getFileNames(int index);", "public void filesNotFound(File... f) { }", "public void filesNotFound(File... f) { }", "public static int filesWithSizes (File f)\n\t{\n\t\tif (f.isFile())\n\t\t{\n\t\t\tif (f.length()>= 10000 && f.length() <= 25000)\n\t\t\t{\n\t\t\t\treturn 1;\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\treturn 0;\n\t\t\t}\n\t\t}\n\t\telse\n\t\t{\n\t\t\tint count = 0;\n\t\t\tfor (File file: f.listFiles())\n\t\t\t{\n\t\t\t\tcount += filesWithSizes(file);\n\t\t\t}\n\t\t\treturn count;\n\t\t}\n\t}", "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 }", "public java.lang.String[] getNewFiles(){\r\n return localNewFiles;\r\n }", "entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder();", "entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder();", "@Test\n public void shouldReturnNonEmptyTagFiles() throws Exception {\n //given\n givenInfoMessageCode();\n //when\n List<IFileSpec> tagFiles = tagDelegator.tagFiles(\n fileSpecs,\n LABEL_NAME,\n listOnly1,\n delete1);\n //then\n assertThat(tagFiles.size(), is(1));\n assertThat(tagFiles.get(0).getDepotPathString(), is(TEST_FILE_DEPOT_PATH));\n }", "@Test\n public void maxFiles() throws Throwable {\n MergeFilesOptions opts = new MergeFilesOptions();\n opts.setStream(\"//Ace/dev\");\n opts.setReverseMapping(true);\n opts.setMaxFiles(1);\n opts.setForceStreamMerge(true);\n\n List<IFileSpec> merged = client.mergeFiles(null, null, opts);\n assertEquals(\"wrong number of files\", 1, merged.size());\n\n List<IFileSpec> opened = client.openedFiles(null, null);\n assertEquals(\"files should not have been opened\", 1, opened.size());\n }", "public FileCount(int numFiles){\n this.numFiles = numFiles;\n }", "public int getFileNamesCount() {\n return fileNames_.size();\n }", "static public ObservableList<ImageMetaInfo> getImagesInfo(File path) {\n ObservableList<ImageMetaInfo> observableList = FXCollections.observableArrayList();\n ExtFilter fileFilter = new ExtFilter();\n File[] imageFilesArray = path.listFiles(fileFilter);\n for (File file : imageFilesArray) {\n ImageMetaInfo imageMetaInfo = getImageMetaInfo(file);\n observableList.add(imageMetaInfo);\n }\n return observableList;\n }", "private void get_file_List() {\n\tString file_name=null;\r\n\tfor (int i = 0; i < listOfFiles.length; i++) \r\n\t {\r\n\t \r\n\t if (listOfFiles[i].isFile()) \r\n\t {\r\n\t\t file_name = listOfFiles[i].getName();\r\n\t if (file_name.endsWith(\".xml\") || file_name.endsWith(\".XML\"))\r\n\t {\r\n\t file_list.add(file_name) ;\r\n\t }\r\n\t }\r\n\t }\r\n\t\r\n}", "public static void getListOfAllFileVarianta2() {\n\t\tPath pathToSrc = Paths.get(\"D:\\\\TorrentsMd\");\r\n\t\ttry {\r\n\t\t\t//cu method references\r\n//\t\t\tFiles.walk(pathToSrc)\r\n//\t\t\t\t.map(Path::toFile)\r\n//\t\t\t\t.filter(File::isFile)\r\n//\t\t\t\t.map(File::getName)\r\n//\t\t\t\t.sorted()\r\n//\t\t\t\t.forEach(System.out::println);\r\n\t\t\t\r\n\t\t\t//cu lambda, dar dpdv semantic sunt identice\r\n\t\t\tFiles.walk(pathToSrc)\r\n\t\t\t\t .map(path -> path.toFile()) //trasnform fiecare Path din stream intr-un File\r\n\t\t\t\t .filter(file -> file.isFile()) //filtrez doar fisierele\r\n\t\t\t\t .map(file -> file.getName())//transform fiecare File din stream intr-un String, care e numele sau\r\n\t\t\t\t .sorted()\r\n\t\t\t\t .forEach(file -> System.out.println(file));\r\n\t\t} catch (IOException e) {\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t}", "@java.lang.Override\n public int getFilesCount() {\n return files_.size();\n }", "static List<File> gitAttributes(File projectDir, Iterable<File> files) {\n List<File> gitAttrFiles = new ArrayList<>();\n Set<File> visitedFolders = new HashSet<>();\n for (File file : files) {\n gitAttrAddWithParents(projectDir, file.getAbsoluteFile(), visitedFolders, gitAttrFiles);\n }\n return gitAttrFiles;\n }", "public static int getNumberOfFiles() {\n\t\treturn EXTENSIONS.length;\n\t}", "public Map<String, NewData> getSnapshotFiles (final List<String> files){\n \t\tMap<String,NewData> w = new HashMap<String,NewData>();\n \t\tList<String> l = new LinkedList<String>();\n \t\tString s=\"\";\n \t\t\n \t\tfor (String str : files){\n \t\t\tw.put(str, new NewData(str));\n \t\t\tl=this.readFile(this.getSnapshot().getRoot() + File.separatorChar +str);\n \t\t\t\n \t\t\tfor (String str2 : l)\n \t\t\t\ts=s+str2+\"\\n\";\n \t\t\t\n \t\t\tw.get(str).setFileContent(s);\n \t\t\tw.get(str).getLclock().putAll(this.getFilelist().get(str));\n \t\t}\n \t\t\t\t\n \t\treturn w;\n \t}", "entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder(\n int index);", "public void getPeerFiles(){\n\t\t\n\t\tFile[] files = new File(path).listFiles();\n\t\tfor (File file : files) {\n\t\t\tfileNames.add(file.getName());\n\t\t}\n\t\tSystem.out.println(\"Number of Files Registerd to the server - \"+fileNames.size());\n\t\tSystem.out.println(\"To search for file give command: get <Filename>\");\n\t\tSystem.out.println(\"To refresh type command: refresh\");\n\t\tSystem.out.println(\"To disconnect type command: disconnect\");\n\t}", "public static void main(String[] args) {\nFile files=new File(\"C:\\\\Users\\\\k74\");\nString filenames[]=files.list();\nfor(String filename :filenames)\n\tSystem.out.println(filename);\n\t}", "public static void rankFiles(Hashtable<?, Integer> fname, int numberOfOccurrences) \r\n\t{\n\t\tArrayList<Map.Entry<?, Integer>> arrayList = new ArrayList(fname.entrySet());\r\n\r\n\t\tCollections.sort(arrayList, new Comparator<Map.Entry<?, Integer>>() \r\n\t\t{\r\n\t\t\tpublic int compare(Map.Entry<?, Integer> obj1, Map.Entry<?, Integer> obj2) \r\n\t\t\t{\r\n\t\t\t\treturn obj1.getValue().compareTo(obj2.getValue());\r\n\t\t\t}\r\n\t\t});\r\n\r\n\t\tCollections.reverse(arrayList);\r\n\r\n\t\tif (numberOfOccurrences > 0) \r\n\t\t{\r\n\t\t\tSystem.out.println(\"\\n------Top 10 search results-----\\n\");\r\n\r\n\t\t\tint my_number = 10;\r\n\t\t\tint j = 1;\r\n\t\t\twhile (arrayList.size() > j && my_number > 0) \r\n\t\t\t{\r\n\t\t\t\tSystem.out.println(\"(\" + j + \") \" + arrayList.get(j) + \" times \");\r\n\t\t\t\tj++;\r\n\t\t\t\tmy_number--;\r\n\t\t\t}\r\n\t\t} \r\n\t}", "@Override\n public List<FileInfo> getLibrarySubFiles(FileInfo fileInfo) {\n return null;\n }", "public final void mo14831s() {\n Iterator it = ((ArrayList) mo14817d()).iterator();\n while (it.hasNext()) {\n File file = (File) it.next();\n if (file.listFiles() != null) {\n m6739b(file);\n long c = m6740c(file, false);\n if (((long) this.f6567b.mo14797a()) != c) {\n try {\n new File(new File(file, String.valueOf(c)), \"stale.tmp\").createNewFile();\n } catch (IOException unused) {\n f6563c.mo14884b(6, \"Could not write staleness marker.\", new Object[0]);\n }\n }\n for (File b : file.listFiles()) {\n m6739b(b);\n }\n }\n }\n }", "@Test\n public void testGetFilesList() {\n System.out.println(\"getFilesList from existing folder with existing subfiles\");\n String entryPath = folder.toString()+fSeparator+\"Images\";\n FilesDao instance = new FilesDao();\n String[] expResult = new String[2];\n expResult[0] = \"testImg.jpg\";\n expResult[1] = \"testImg2.jpg\";\n String[] result;\n try{\n result = instance.getFilesList(entryPath);\n }catch(EntryException ex){\n result = null;\n }\n assertArrayEquals(expResult, result);\n }", "private void populateList(File[] filesList) {\n Log.i(\"mPackage\",\"FilesList: \"+filesList.length);\n for(File file : filesList) {\n //Log.i(\"mPackage\",\"Path: \"+file);\n if(file.isDirectory()) {\n populateList(file.listFiles());\n }\n else {\n MarkerModel markerModel = new MarkerModel();\n Boolean containsObj = false;\n for(File modelFile : filesList) {\n String[] extension = modelFile.getName().split(\"\\\\.\");\n if(extension[extension.length-1].equals(\"obj\")) {\n markerModel.setObj(modelFile.getPath());\n containsObj = true;\n }\n else if(extension[extension.length-1].equals(\"mtl\"))\n markerModel.setMtl(modelFile.getPath());\n else\n markerModel.addTexture(modelFile.getPath());\n }\n if(containsObj)\n models.add(markerModel);\n return;\n //models.add(file.getPath());\n //Log.i(\"mPackage\",\"Path: \"+file.getPath());\n }\n }\n }", "java.util.List<? extends ds.hdfs.generated.FileMetadataOrBuilder> \n getFilesOrBuilderList();", "public List<String> splitByCount(String fileName, int count)\n throws IOException, InterruptedException {\n\n List<String> parts = new ArrayList<String>();\n File file = new File(fileName);\n int blockSize = (int) Math.ceil(file.length() / (double) count);\n RandomAccessFile raf = new RandomAccessFile(fileName, \"r\");\n long totalLen = raf.length();\n CountDownLatch latch = new CountDownLatch(count);\n\n long startPos = 0L;\n long nextPos = 0L;\n\n for (int i = 0; i < count; i++) {\n nextPos = Long.min((long) (i + 1) * blockSize, totalLen - 1);\n raf.seek(nextPos);\n //Calculate the start position for the next file.\n do {\n raf.seek(nextPos);\n if (raf.readByte() == '\\n') {\n nextPos = nextPos + 1;\n break;\n }\n nextPos--;\n } while (true);\n long readSizeTemp = nextPos - startPos;\n int readSize = (int) readSizeTemp;\n String partFileName = fileName.replace(\"raw\", \"raw\" + (i + 1));\n new SplitRunnable(readSize, startPos, partFileName, file, latch).run();\n startPos = nextPos;\n parts.add(partFileName);\n }\n //Wait until all the files are written.\n latch.await();\n return parts;\n }", "public float[] accumulateSimpleMixFiles(ArrayList<File> files){\r\n\t\t\tfloat[] returnValue = new float[10];\r\n\t\t\tfloat[] values = new float[10];\r\n\t\t\t\r\n\t\t for(File file:files){\t\t\t\t\t\r\n\t\t BufferedReader reader;\r\n\t\t try{\r\n\t\t reader = new BufferedReader(new FileReader(file));\r\n\t\t String line = reader.readLine(); \r\n\t\t while(line != null){\t\r\n\t\t \tif(line.substring(0,5).equals(\"Total\")){\r\n\t\t \t\tString[] values2 = line.split(\" \");\r\n\t\t \t\t\r\n\t\t \t\tfor(int i = 2; i < values2.length; i++) values[i-2] += Float.valueOf(values2[i]);\r\n\t\t \t}\r\n\t\t \tline = reader.readLine();\r\n\t\t }\r\n\t\t \r\n\t\t\t\t} catch (FileNotFoundException e) {\r\n\t\t\t\t System.err.println(\"FileNotFoundException: \" + e.getMessage());\r\n\t\t\t\t} catch (IOException e) {\r\n\t\t\t\t System.err.println(\"Caught IOException: \" + e.getMessage());\r\n\t\t\t\t}\r\n\t\t }\r\n\r\n\t\t for(int j = 0; j < values.length; j++) returnValue[j] = (float)values[j]/files.size();\t\r\n\t\t \r\n\t\t return returnValue;\r\n\t\t}", "private Map<ServerFile, Integer> totalFiles(){\n\t\tMap<ServerFile, Integer> ret = new HashMap<ServerFile, Integer>();\n\t\tfor (ClientObj c : clients){\n\t\t\tfor (ServerFile f : c.getFiles()){\n\t\t\t\tif (!ret.containsKey(f))\n\t\t\t\t\tret.put(f, 1);\n\t\t\t\telse\n\t\t\t\t\tret.put(f, ret.get(f) + 1);\n\t\t\t}\n\t\t}\n\t\treturn ret;\n\t}", "int getSourceFileCount();", "public void checkForRepeats(String selectedMarket)\r\n {\r\n System.out.println(backUpPath + selectedMarket);\r\n \tFile f = new File(backUpPath + selectedMarket);\r\n \tArrayList<File> fileContents = new ArrayList<File>(Arrays.asList(f.listFiles()));\r\n \t\r\n for(int i = 0;i< scriptAds.size();i++)\r\n \t{\r\n String currentFileName;\r\n long modified;\r\n Date modifiedDate;\r\n \r\n for(int j = 0;j < fileContents.size();j++)\r\n {\r\n currentFileName = fileContents.get(j).getName();\r\n \r\n if(currentFileName.contains(\".\"))\r\n {\r\n currentFileName = currentFileName.substring(0,currentFileName.lastIndexOf(\".\"));\r\n }\r\n if(scriptAds.get(i).getAdNumber().toLowerCase().equals(currentFileName.toLowerCase()))\r\n {\r\n modified = fileContents.get(j).lastModified();\r\n modifiedDate = new Date(modified);\r\n \r\n String dateToPrint = DateFormat.getDateTimeInstance(DateFormat.SHORT, DateFormat.SHORT).format(modifiedDate);\r\n dateToPrint = dateToPrint.substring(0,dateToPrint.indexOf(\" \"));\r\n \r\n infoText.append(\"<p>CC# \" + scriptAds.get(i).getccNumber() \r\n + \" matches a backup of last modified : \" + scriptAds.get(i).getAdNumber() \r\n + \" \" + dateToPrint + \"\\nin \" + importFileName + \"</p>\");\r\n }\r\n }\r\n }\r\n }", "public void mo83570c() {\n File[] listFiles;\n File file = new File(this.f60297d);\n if (file.isDirectory() && (listFiles = file.listFiles()) != null && listFiles.length >= this.f60294a) {\n Arrays.sort(listFiles, this.f60295b);\n for (int i = 0; i < listFiles.length && listFiles.length >= this.f60294a; i++) {\n File file2 = listFiles[i];\n if (!this.f60299f.contains(file2)) {\n ArgusLogger.m85574b(String.format(C6969H.m41409d(\"G4D8AC619BE22AF20E809D047FEE1C6C47DC3D008AD3FB969E71DD05BE6EAD1D26DC3D008AD3FB969EA079D41E6A5D1D26880DD1FBB70E36CF547\"), file2.getPath()));\n mo83569b(Collections.singleton(file2));\n }\n }\n }\n }", "public File[] filesReadOnly(File... f) { return f; }", "public List<File> getFiles();", "@Test\n\tpublic void testCountItems() {\n\t\tFile test = new File(\"X:\\\\Documents\\\\PS9 Test\");\n\t\tassertEquals(13,Explorer.countItems(test));\n\t}", "void update(FileInfo fileInfo);", "private static ArrayList m5336a(File[] fileArr) {\n ArrayList arrayList = new ArrayList();\n int i = 0;\n while (i < fileArr.length) {\n if (fileArr[i].isFile() && fileArr[i].getName().length() == 10 && TextUtils.isDigitsOnly(fileArr[i].getName())) {\n arrayList.add(fileArr[i]);\n }\n i++;\n }\n return arrayList;\n }", "@Test(timeout = 4000)\n public void test23() throws Throwable {\n FileUtil fileUtil0 = new FileUtil();\n ArrayList<Object> arrayList0 = new ArrayList<Object>();\n File file0 = fileUtil0.getAccessories(\"YP=8V~@ch)3vts}p8\", arrayList0);\n assertNull(file0);\n }", "public void findDupe(int choice) {\n\n\t\tString fullName = null;\n\t\tboolean flag = true;\n\n\t\tfor (Path file : filesArray) {\n\t\t\ttry {\n\t\t\t\tfullName = getFullName(file, choice);\n\t\t\t} catch (Exception e) {\n\t\t\t\tSystem.out.println(\"problem read file: \" + file);\n\t\t\t\tflag = false;\n\t\t\t}\n\n\t\t\tif (flag) {\n\t\t\t\tmultiMap.put(fullName, file);\n\t\t\t\tCollection<Path> vals = (Collection<Path>) multiMap.get(fullName);\n\n\t\t\t\tif (vals.size() > 1) {\n\t\t\t\t\tcounter++;\n\t\t\t\t}\n\t\t\t}\n\t\t\tflag = true;\n\t\t}\n\n\t\tSet<String> keys = multiMap.keySet();\n\t\tIterator<String> items = keys.iterator();\n\n\t\twhile (items.hasNext()) {\n\t\t\tString str = (String) items.next();\n\n\t\t\t@SuppressWarnings(\"unchecked\")\n\t\t\tCollection<Path> val = (Collection<Path>) multiMap.get(str);\n\t\t\tArrayList<Path> arr = new ArrayList<>(val);\n\n\t\t\tif (arr.size() <= 1)\n\t\t\t\titems.remove();\n\n\t\t}\n\n\t}", "java.util.List<entities.Torrent.FileInfo>\n getFileInfoList();", "List<DownloadChunk> mo54445j(int i);", "void visitFile(StorageUnit unit, long off, long lim);", "public void fileInfo(String info);", "private List<FileInfoDTO> createFileInfoDTOs(MultipartFile file1, MultipartFile file2, int totalLinesFirstFile,\n\t\t\tint totalLinesSecondFile) {\n\t\tint unmatchedRecordsFirstFile = firstFileMap.getCountMap().values().stream().mapToInt(Integer::valueOf).sum();\n\t\tint unmatchedRecordsSecondFile = secondFileMap.getCountMap().values().stream().mapToInt(Integer::valueOf).sum();\n\n\t\tFileInfo firstFileInfo = new FileInfo();\n\t\tfirstFileInfo.setName(file1.getOriginalFilename());\n\t\tfirstFileInfo.setTotalRecords(totalLinesFirstFile);\n\t\tfirstFileInfo.setUnmatchedRecords(unmatchedRecordsFirstFile);\n\t\tfirstFileInfo.setMatchingRecords(totalLinesFirstFile - unmatchedRecordsFirstFile);\n\n\t\tFileInfo secondFileInfo = new FileInfo();\n\t\tsecondFileInfo.setName(file2.getOriginalFilename());\n\t\tsecondFileInfo.setTotalRecords(totalLinesSecondFile);\n\t\tsecondFileInfo.setUnmatchedRecords(unmatchedRecordsSecondFile);\n\t\tsecondFileInfo.setMatchingRecords(totalLinesSecondFile - unmatchedRecordsSecondFile);\n\n\t\treturn List.of(firstFileInfo, secondFileInfo).stream()\n\t\t\t\t.map(file -> DTOConverter.convertFileInfoToFileInfoDTO(file)).collect(Collectors.toList());\n\t}", "public void a(File file, List<WxAndQqScanPathInfo> list) {\n if (file != null && !this.p) {\n File[] listFiles = file.listFiles();\n if (listFiles != null) {\n int length = listFiles.length;\n int i2 = 0;\n while (i2 < length) {\n File file2 = listFiles[i2];\n if (!this.p) {\n if (file2 != null) {\n if (!file2.isDirectory()) {\n if (!\".nomedia\".equals(file2.getName()) && file2.length() >= 5 && file2 != null && file2.exists()) {\n CleanWxItemInfo cleanWxItemInfo = new CleanWxItemInfo();\n cleanWxItemInfo.setFileType(((WxAndQqScanPathInfo) list.get(0)).getType());\n cleanWxItemInfo.setFile(file2);\n cleanWxItemInfo.setDays(TimeUtil.changeTimeToDay(cleanWxItemInfo.getFile().lastModified()));\n cleanWxItemInfo.setFileSize(file2.length());\n switch (((WxAndQqScanPathInfo) list.get(0)).getType()) {\n case 1:\n o += cleanWxItemInfo.getFileSize();\n d.setTotalSize(d.getTotalSize() + cleanWxItemInfo.getFileSize());\n d.setTotalNum(d.getTotalNum() + 1);\n if (d.isChecked()) {\n cleanWxItemInfo.setChecked(true);\n d.setSelectSize(d.getSelectSize() + cleanWxItemInfo.getFileSize());\n d.setSelectNum(d.getSelectNum() + 1);\n }\n cleanWxItemInfo.setDays(TimeUtil.changeTimeToDay(0));\n a(d, cleanWxItemInfo);\n break;\n case 2:\n if (!file2.getAbsolutePath().endsWith(\"_cover\") && !new File(file2.getAbsolutePath() + \"_cover\").exists()) {\n if (!\"finishActivity\".equals(this.r) && !\"bigGarbageFragment\".equals(this.r)) {\n if (e.isFinished()) {\n j.setTotalNum(j.getTotalNum() + 1);\n j.setTotalSize(j.getTotalSize() + cleanWxItemInfo.getFileSize());\n a(j, cleanWxItemInfo);\n break;\n } else {\n o += cleanWxItemInfo.getFileSize();\n e.setTotalNum(e.getTotalNum() + 1);\n e.setTotalSize(e.getTotalSize() + cleanWxItemInfo.getFileSize());\n if (e.isChecked()) {\n cleanWxItemInfo.setChecked(true);\n e.setSelectNum(e.getSelectNum() + 1);\n e.setSelectSize(e.getSelectSize() + cleanWxItemInfo.getFileSize());\n }\n a(e, cleanWxItemInfo);\n break;\n }\n }\n } else {\n j.setTotalSize(j.getTotalSize() + cleanWxItemInfo.getFileSize());\n j.setTotalNum(j.getTotalNum() + 1);\n a(j, cleanWxItemInfo);\n break;\n }\n break;\n case 3:\n o += cleanWxItemInfo.getFileSize();\n f.setTotalSize(f.getTotalSize() + cleanWxItemInfo.getFileSize());\n f.setTotalNum(f.getTotalNum() + 1);\n if (f.isChecked()) {\n cleanWxItemInfo.setChecked(true);\n f.setSelectSize(f.getSelectSize() + cleanWxItemInfo.getFileSize());\n f.setSelectNum(f.getSelectNum() + 1);\n }\n a(f, cleanWxItemInfo);\n break;\n case 4:\n if (file2.getName().startsWith(\"snstblur_src_\")) {\n if (Constants.PRIVATE_LOG_CONTROLER) {\n break;\n } else {\n file2.delete();\n break;\n }\n } else {\n if (!file2.getName().startsWith(\"snst_\")) {\n if (file2.getName().startsWith(\"snsu_\") && new File(file2.getAbsolutePath().replace(\"snsu_\", \"snsb_\")).exists()) {\n break;\n }\n } else if (!new File(file2.getAbsolutePath().replace(\"snst_\", \"snsu_\")).exists()) {\n if (new File(file2.getAbsolutePath().replace(\"snst_\", \"snsb_\")).exists()) {\n break;\n }\n } else {\n break;\n }\n o += cleanWxItemInfo.getFileSize();\n g.setTotalSize(g.getTotalSize() + cleanWxItemInfo.getFileSize());\n g.setTotalNum(g.getTotalNum() + 1);\n if (g.isChecked()) {\n cleanWxItemInfo.setChecked(true);\n g.setSelectSize(g.getSelectSize() + cleanWxItemInfo.getFileSize());\n g.setSelectNum(g.getSelectNum() + 1);\n }\n a(g, cleanWxItemInfo);\n break;\n }\n case 5:\n if (file2.getName().endsWith(\".jpg_hevc\")) {\n if (Constants.PRIVATE_LOG_CONTROLER) {\n break;\n } else {\n file2.delete();\n break;\n }\n } else {\n if (file2.getName().startsWith(\"th_\")) {\n if (!file2.getName().endsWith(\"hd\")) {\n break;\n } else {\n break;\n }\n }\n h.setTotalSize(h.getTotalSize() + cleanWxItemInfo.getFileSize());\n h.setTotalNum(h.getTotalNum() + 1);\n a(h, cleanWxItemInfo);\n break;\n }\n case 6:\n if (!file2.getAbsolutePath().contains(\"download/appbrand\")) {\n if (file2.getName().endsWith(\".jpg\")) {\n if (!new File(file2.getAbsolutePath().replace(\".jpg\", \".mp4\")).exists() && !Constants.PRIVATE_LOG_CONTROLER) {\n file2.delete();\n break;\n }\n } else {\n i.setTotalSize(i.getTotalSize() + cleanWxItemInfo.getFileSize());\n i.setTotalNum(i.getTotalNum() + 1);\n a(i, cleanWxItemInfo);\n break;\n }\n } else {\n break;\n }\n case 8:\n k.setTotalSize(k.getTotalSize() + cleanWxItemInfo.getFileSize());\n k.setTotalNum(k.getTotalNum() + 1);\n a(k, cleanWxItemInfo);\n break;\n case 9:\n if (!file2.getName().endsWith(\".mp4\")) {\n l.setTotalSize(l.getTotalSize() + cleanWxItemInfo.getFileSize());\n l.setTotalNum(l.getTotalNum() + 1);\n l.getMineList().add(cleanWxItemInfo);\n a(l, cleanWxItemInfo);\n break;\n } else {\n m.setTotalSize(m.getTotalSize() + cleanWxItemInfo.getFileSize());\n m.setTotalNum(m.getTotalNum() + 1);\n m.getMineList().add(cleanWxItemInfo);\n a(m, cleanWxItemInfo);\n break;\n }\n case 10:\n n.setTotalSize(n.getTotalSize() + cleanWxItemInfo.getFileSize());\n n.setTotalNum(n.getTotalNum() + 1);\n a(n, cleanWxItemInfo);\n break;\n }\n }\n } else {\n try {\n if (file2.listFiles() == null || file2.listFiles().length == 0) {\n FileUtils.deleteFileAndFolder(file2);\n }\n } catch (Exception e2) {\n Logger.iCatch(Logger.TAG, Logger.ZYTAG, \"CleanWxClearNewActivity---wxFileScan ---- \", e2);\n }\n a(file2, list);\n }\n }\n i2++;\n } else {\n return;\n }\n }\n }\n }\n }", "java.util.List<? extends entities.Torrent.FileInfoOrBuilder>\n getFileInfoOrBuilderList();", "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 }", "public filesMB() {\n }", "com.google.protobuf.ByteString\n getFileNamesBytes(int index);", "public int getFileNamesCount() {\n return fileNames_.size();\n }", "@java.lang.Override\n public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder(\n int index) {\n return fileInfo_.get(index);\n }" ]
[ "0.65325207", "0.6227456", "0.6177881", "0.6116598", "0.6065684", "0.6065684", "0.590164", "0.58970237", "0.58970237", "0.5783433", "0.57750136", "0.5763771", "0.5762734", "0.57547295", "0.5746625", "0.5744839", "0.5644452", "0.563878", "0.5628507", "0.56053144", "0.5601631", "0.5583571", "0.55456394", "0.5545325", "0.5545274", "0.5519314", "0.55032945", "0.5502879", "0.5497437", "0.54956275", "0.5495291", "0.54928", "0.5474748", "0.5458041", "0.54520524", "0.54351526", "0.5411701", "0.5409407", "0.5396235", "0.5388728", "0.5378012", "0.537654", "0.53608066", "0.5359268", "0.53519815", "0.5335172", "0.5334883", "0.5334883", "0.53343636", "0.53343636", "0.5319273", "0.5309602", "0.53086674", "0.52990717", "0.52990717", "0.5284801", "0.5278754", "0.5276997", "0.5274732", "0.52718306", "0.52717876", "0.5270142", "0.5268754", "0.5264792", "0.5254606", "0.5237259", "0.52320284", "0.52265704", "0.5221797", "0.5220387", "0.5209014", "0.5206498", "0.519874", "0.51969546", "0.5187828", "0.5185607", "0.5185165", "0.518249", "0.5176273", "0.5165428", "0.51650506", "0.5165015", "0.5163598", "0.5161906", "0.51600796", "0.51514554", "0.5150045", "0.51442325", "0.5133645", "0.51309294", "0.5130048", "0.51299196", "0.5128534", "0.51266265", "0.5125555", "0.5115963", "0.51146954", "0.51012677", "0.50983685", "0.5096151" ]
0.51151603
96
repeated .FileInfo files = 4;
public Builder clearFiles() { if (filesBuilder_ == null) { files_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { filesBuilder_.clear(); } return this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "int getFileInfoCount();", "public void incFileCount(){\n\t\tthis.num_files++;\n\t}", "entities.Torrent.FileInfo getFiles(int index);", "public Files(){\n this.fileNameArray.add(\"bridge_1.txt\");\n this.fileNameArray.add(\"bridge_2.txt\");\n this.fileNameArray.add(\"bridge_3.txt\");\n this.fileNameArray.add(\"bridge_4.txt\");\n this.fileNameArray.add(\"bridge_5.txt\");\n this.fileNameArray.add(\"bridge_6.txt\");\n this.fileNameArray.add(\"bridge_7.txt\");\n this.fileNameArray.add(\"bridge_8.txt\");\n this.fileNameArray.add(\"bridge_9.txt\");\n this.fileNameArray.add(\"ladder_1.txt\");\n this.fileNameArray.add(\"ladder_2.txt\");\n this.fileNameArray.add(\"ladder_3.txt\");\n this.fileNameArray.add(\"ladder_4.txt\");\n this.fileNameArray.add(\"ladder_5.txt\");\n this.fileNameArray.add(\"ladder_6.txt\");\n this.fileNameArray.add(\"ladder_7.txt\");\n this.fileNameArray.add(\"ladder_8.txt\");\n this.fileNameArray.add(\"ladder_9.txt\");\n }", "int getFileNamesCount();", "int getFileNamesCount();", "ds.hdfs.generated.FileMetadata getFiles(int index);", "int getFilesCount();", "int getFilesCount();", "int getFileCount();", "private void gatherFile(FileStatus[] fstat)\r\n\t{\r\n\t inputSize = 0;\t\r\n\t paths = new Path[fstat.length];\t\r\n\t for(int i=0;i<fstat.length;i++)\r\n\t {\r\n\t inputSize+=fstat[i].getLen();\r\n\t paths[i] = fstat[i].getPath();\r\n\t }\r\n\t }", "@java.lang.Override\n public int getFileInfoCount() {\n return fileInfo_.size();\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}", "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}", "private void initializeFileArrays(){\n File downloadedFilesFolder = new File(MainActivity.DB_PATH);\n File[] files = downloadedFilesFolder.listFiles();\n System.out.println(\"*** \" + files.length + \" ***\");\n if(files != null){\n System.out.println(\"*** \" + files.length + \" ***\");\n for(File f : files){\n if(f != null){\n System.out.println(\"***\\n FILE FOUND - \" + f.getAbsolutePath()+\"\\nSIZE - \" +\n f.length() + \" BYTES \\n***\");\n fileNames.add(f.getName());\n fileSizes.add(f.length()+\"\");\n this.files.add(f);\n }\n }\n }\n }", "entities.Torrent.FileInfoOrBuilder getFilesOrBuilder(\n int index);", "List<UploadInfo> simpleUploadAll(List<SimpleFile> files);", "public List<FileUpload> getFileUploads(int numberOfFileUploads, Long startIndex) throws AppException;", "void addFile(int numberLines);", "private void updateFiles() {\n\t}", "@Override\n public void addSingleFile(FileInfo file) {\n }", "entities.Torrent.FileInfo getFileInfo(int index);", "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}", "private static void showFiles(File[] files) {\n\t\t for (File file : files) {\r\n\t\t if (file.isDirectory()) {\r\n\t\t // System.out.println(\"Directory: \" + file.getName());\r\n\t\t showFiles(file.listFiles()); // Calls same method again.\r\n\t\t } else {\r\n\t\t // System.out.println(\"File: \" + file.getName());\r\n\t\t }\r\n\t\t }\r\n\t\t\r\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 }", "private void findRecordings(){\n File[] files = new File(\"Concatenated/\").listFiles();\n _records.clear();\n _versionNum = 1;\n for (File file : files){\n if (file.isFile()){\n String nameOnFile = file.getName().substring(file.getName().lastIndexOf('_')+1,file.getName().lastIndexOf('.')).toUpperCase();\n if (nameOnFile.equals(_name.toUpperCase())){\n _records.add(file.getName());\n _versionNum++;\n }\n }\n }\n }", "private void checkDuplicateOfFile(Iterable<FileInfo> files, DuplicateDataDTO data) {\n for(FileInfo nextFile: files) {\n for(FileInfo nextFile2: files) {\n if(nextFile.duplicate(nextFile2)) {\n LOG.info(\"Duplicate - {}\", nextFile);\n\n processDuplicate(nextFile,data);\n }\n }\n }\n }", "public TagFileInfo[] getTagFiles() {\n/* 176 */ return this.tagFiles;\n/* */ }", "@Test\n\tpublic void testNumLargeFiles() {\n\t\tFile test = new File(\"X:\\\\Documents\\\\PS9 Test\");\n\t\tassertEquals(6,Explorer.numLargeFiles(test));\n\t}", "public double getNumFiles(){\n\t\treturn (this.num_files);\n\t}", "public Files files();", "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 }", "@Test\n\tpublic void testSetFileInfo() {\n\n\t}", "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 readFileList() throws IOException {\n\t\tint entries = metadataFile.readInt();\n\n\t\tfor (int i = 0; i < entries; i++) {\n\t\t\tint hash = metadataFile.readInt();\n\t\t\tlong dataOffset = metadataFile.readInt() & 0xFFFFFFFFL;\n\t\t\tlong dataSize = metadataFile.readInt() & 0xFFFFFFFFL;\n\t\t\tint pathListIndex = metadataFile.readInt();\n\n\t\t\tlong position = metadataFile.getPosition();\n\t\t\tmetadataFile.setPosition(pathListOffset + 8 + (pathListIndex * 8));\n\n\t\t\tlong pathOffset = metadataFile.readInt() & 0xFFFFFFFFL;\n\t\t\tint pathSize = metadataFile.readInt();\n\n\t\t\tmetadataFile.setPosition(pathListOffset + pathOffset);\n\t\t\tString path = metadataFile.readString(pathSize).trim();\n\n\t\t\tif (hash == hash(path)) \n\t\t\t\tfileEntries.add(new RAFFileEntry(dataOffset, dataSize, path));\n\t\t\telse\n\t\t\t\tthrow new IOException(\"Invalid hash for item '\" + path + \"'.\");\n\n\t\t\tmetadataFile.setPosition(position);\n\t\t}\n\t}", "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 static void main(String[] args) {\n\t\tint count=0;\n\t\t File f=new File(\"C:\\\\Users\\\\kumaujjv\\\\Downloads\\\\Assignments - Copy\");\n\t\t String[] s=f.list();\n\n\t\t for(String s1:s) {\n\t\t File f1=new File(f,s1);\n\t\t if(f1.isFile()) {\n\t\t\t //count++;\n\t\t\t System.out.println(s1);\n\t\t }\n\t\t}\n\t\tSystem.out.println(\"total number : \"+count);\n\n\t\t}", "public float[] accumulateDetailFiles(ArrayList<File> files){\r\n\t\tfloat[] values = new float[100];\r\n\t\tint counter = 0;\r\n\r\n\t for(File file:files){\t\t\r\n\t \tSystem.out.println(file.getName());\r\n\t \tcounter = 0;\r\n\t BufferedReader reader;\r\n\t try{\r\n\t reader = new BufferedReader(new FileReader(file));\r\n\t String line = reader.readLine(); \r\n\t while(line != null){\t\r\n\t \tif(!line.substring(0,1).equals(\"#\")){\r\n\t \t\tString[] values2 = line.split(\" \");\r\n\t \t\tvalues[counter] += Float.valueOf(values2[values2.length-1]);\r\n\t\t \tcounter++;\r\n\t \t}\r\n\t \tline = reader.readLine();\r\n\t }\r\n\t \r\n\t\t\t} catch (FileNotFoundException e) {\r\n\t\t\t System.err.println(\"FileNotFoundException: \" + e.getMessage());\r\n\t\t\t} catch (IOException e) {\r\n\t\t\t System.err.println(\"Caught IOException: \" + e.getMessage());\r\n\t\t\t}\r\n\t }\r\n\r\n\t float[] returnValues = new float[counter];\r\n\t \r\n\t for(int j = 0; j < returnValues.length; j++) \treturnValues[j] = ((float)values[j]/files.size());\r\n\t\r\n\t \r\n \treturn returnValues;\r\n\t}", "ds.hdfs.generated.FileMetadataOrBuilder getFilesOrBuilder(\n int index);", "private static void calculateSizes() {\n for(EmailTypes type : EmailTypes.values()){\n File f = unpackedFiles.get(type);\n setSizes.put(type, Objects.requireNonNull(f.listFiles()).length);\n }\n }", "public int[] filesRemaining();", "public static void main(String[] args) {\n\t\tFile dir = new File(\"H:\");\r\n\t\tString[] filelist = dir.list();\r\n\t\tlong total = 0;\r\n\t\tlong t = 0;\r\n\t\tfor(int i=0;i<filelist.length;i++){\r\n\t\t\t File readfile = new File(\"H:\" + \"\\\\\" + filelist[i]);\r\n\t\t\t t = readFile(readfile)/1024/1024;\r\n\t\t\t System.out.println(\"name=\" + readfile.getName() + \" size:=\" + t + \"MB\");\r\n\t\t\t total += t;\r\n\t\t}\r\n\t\tSystem.out.println(\"OK,all the files is list over,the number is \" + filelist.length + \"the total size is \" + total); \r\n\t}", "@Test\n public void tagFilesShouldReturnNonEmptyTagFiles() throws Exception {\n //given\n givenInfoMessageCode();\n\n //when\n List<IFileSpec> tagFiles = tagDelegator.tagFiles(fileSpecs, LABEL_NAME, opts);\n //then\n assertThat(tagFiles.size(), is(1));\n assertThat(tagFiles.get(0).getDepotPathString(), is(TEST_FILE_DEPOT_PATH));\n }", "public int getFileInfoCount() {\n if (fileInfoBuilder_ == null) {\n return fileInfo_.size();\n } else {\n return fileInfoBuilder_.getCount();\n }\n }", "private static ArrayList<File> buildFilesArray() {\n ArrayList<File> result = new ArrayList<>();\n rAddFilesToArray(workingDirectory, result);\n return result;\n }", "@java.lang.Override\n public entities.Torrent.FileInfoOrBuilder getFilesOrBuilder(\n int index) {\n return files_.get(index);\n }", "java.lang.String getFileNames(int index);", "java.lang.String getFileNames(int index);", "public void filesNotFound(File... f) { }", "public void filesNotFound(File... f) { }", "public static int filesWithSizes (File f)\n\t{\n\t\tif (f.isFile())\n\t\t{\n\t\t\tif (f.length()>= 10000 && f.length() <= 25000)\n\t\t\t{\n\t\t\t\treturn 1;\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\treturn 0;\n\t\t\t}\n\t\t}\n\t\telse\n\t\t{\n\t\t\tint count = 0;\n\t\t\tfor (File file: f.listFiles())\n\t\t\t{\n\t\t\t\tcount += filesWithSizes(file);\n\t\t\t}\n\t\t\treturn count;\n\t\t}\n\t}", "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 }", "public java.lang.String[] getNewFiles(){\r\n return localNewFiles;\r\n }", "entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder();", "entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder();", "@Test\n public void shouldReturnNonEmptyTagFiles() throws Exception {\n //given\n givenInfoMessageCode();\n //when\n List<IFileSpec> tagFiles = tagDelegator.tagFiles(\n fileSpecs,\n LABEL_NAME,\n listOnly1,\n delete1);\n //then\n assertThat(tagFiles.size(), is(1));\n assertThat(tagFiles.get(0).getDepotPathString(), is(TEST_FILE_DEPOT_PATH));\n }", "@Test\n public void maxFiles() throws Throwable {\n MergeFilesOptions opts = new MergeFilesOptions();\n opts.setStream(\"//Ace/dev\");\n opts.setReverseMapping(true);\n opts.setMaxFiles(1);\n opts.setForceStreamMerge(true);\n\n List<IFileSpec> merged = client.mergeFiles(null, null, opts);\n assertEquals(\"wrong number of files\", 1, merged.size());\n\n List<IFileSpec> opened = client.openedFiles(null, null);\n assertEquals(\"files should not have been opened\", 1, opened.size());\n }", "public FileCount(int numFiles){\n this.numFiles = numFiles;\n }", "public int getFileNamesCount() {\n return fileNames_.size();\n }", "static public ObservableList<ImageMetaInfo> getImagesInfo(File path) {\n ObservableList<ImageMetaInfo> observableList = FXCollections.observableArrayList();\n ExtFilter fileFilter = new ExtFilter();\n File[] imageFilesArray = path.listFiles(fileFilter);\n for (File file : imageFilesArray) {\n ImageMetaInfo imageMetaInfo = getImageMetaInfo(file);\n observableList.add(imageMetaInfo);\n }\n return observableList;\n }", "private void get_file_List() {\n\tString file_name=null;\r\n\tfor (int i = 0; i < listOfFiles.length; i++) \r\n\t {\r\n\t \r\n\t if (listOfFiles[i].isFile()) \r\n\t {\r\n\t\t file_name = listOfFiles[i].getName();\r\n\t if (file_name.endsWith(\".xml\") || file_name.endsWith(\".XML\"))\r\n\t {\r\n\t file_list.add(file_name) ;\r\n\t }\r\n\t }\r\n\t }\r\n\t\r\n}", "public static void getListOfAllFileVarianta2() {\n\t\tPath pathToSrc = Paths.get(\"D:\\\\TorrentsMd\");\r\n\t\ttry {\r\n\t\t\t//cu method references\r\n//\t\t\tFiles.walk(pathToSrc)\r\n//\t\t\t\t.map(Path::toFile)\r\n//\t\t\t\t.filter(File::isFile)\r\n//\t\t\t\t.map(File::getName)\r\n//\t\t\t\t.sorted()\r\n//\t\t\t\t.forEach(System.out::println);\r\n\t\t\t\r\n\t\t\t//cu lambda, dar dpdv semantic sunt identice\r\n\t\t\tFiles.walk(pathToSrc)\r\n\t\t\t\t .map(path -> path.toFile()) //trasnform fiecare Path din stream intr-un File\r\n\t\t\t\t .filter(file -> file.isFile()) //filtrez doar fisierele\r\n\t\t\t\t .map(file -> file.getName())//transform fiecare File din stream intr-un String, care e numele sau\r\n\t\t\t\t .sorted()\r\n\t\t\t\t .forEach(file -> System.out.println(file));\r\n\t\t} catch (IOException e) {\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t}", "@java.lang.Override\n public int getFilesCount() {\n return files_.size();\n }", "static List<File> gitAttributes(File projectDir, Iterable<File> files) {\n List<File> gitAttrFiles = new ArrayList<>();\n Set<File> visitedFolders = new HashSet<>();\n for (File file : files) {\n gitAttrAddWithParents(projectDir, file.getAbsoluteFile(), visitedFolders, gitAttrFiles);\n }\n return gitAttrFiles;\n }", "public static int getNumberOfFiles() {\n\t\treturn EXTENSIONS.length;\n\t}", "public Map<String, NewData> getSnapshotFiles (final List<String> files){\n \t\tMap<String,NewData> w = new HashMap<String,NewData>();\n \t\tList<String> l = new LinkedList<String>();\n \t\tString s=\"\";\n \t\t\n \t\tfor (String str : files){\n \t\t\tw.put(str, new NewData(str));\n \t\t\tl=this.readFile(this.getSnapshot().getRoot() + File.separatorChar +str);\n \t\t\t\n \t\t\tfor (String str2 : l)\n \t\t\t\ts=s+str2+\"\\n\";\n \t\t\t\n \t\t\tw.get(str).setFileContent(s);\n \t\t\tw.get(str).getLclock().putAll(this.getFilelist().get(str));\n \t\t}\n \t\t\t\t\n \t\treturn w;\n \t}", "entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder(\n int index);", "public void getPeerFiles(){\n\t\t\n\t\tFile[] files = new File(path).listFiles();\n\t\tfor (File file : files) {\n\t\t\tfileNames.add(file.getName());\n\t\t}\n\t\tSystem.out.println(\"Number of Files Registerd to the server - \"+fileNames.size());\n\t\tSystem.out.println(\"To search for file give command: get <Filename>\");\n\t\tSystem.out.println(\"To refresh type command: refresh\");\n\t\tSystem.out.println(\"To disconnect type command: disconnect\");\n\t}", "public static void main(String[] args) {\nFile files=new File(\"C:\\\\Users\\\\k74\");\nString filenames[]=files.list();\nfor(String filename :filenames)\n\tSystem.out.println(filename);\n\t}", "public static void rankFiles(Hashtable<?, Integer> fname, int numberOfOccurrences) \r\n\t{\n\t\tArrayList<Map.Entry<?, Integer>> arrayList = new ArrayList(fname.entrySet());\r\n\r\n\t\tCollections.sort(arrayList, new Comparator<Map.Entry<?, Integer>>() \r\n\t\t{\r\n\t\t\tpublic int compare(Map.Entry<?, Integer> obj1, Map.Entry<?, Integer> obj2) \r\n\t\t\t{\r\n\t\t\t\treturn obj1.getValue().compareTo(obj2.getValue());\r\n\t\t\t}\r\n\t\t});\r\n\r\n\t\tCollections.reverse(arrayList);\r\n\r\n\t\tif (numberOfOccurrences > 0) \r\n\t\t{\r\n\t\t\tSystem.out.println(\"\\n------Top 10 search results-----\\n\");\r\n\r\n\t\t\tint my_number = 10;\r\n\t\t\tint j = 1;\r\n\t\t\twhile (arrayList.size() > j && my_number > 0) \r\n\t\t\t{\r\n\t\t\t\tSystem.out.println(\"(\" + j + \") \" + arrayList.get(j) + \" times \");\r\n\t\t\t\tj++;\r\n\t\t\t\tmy_number--;\r\n\t\t\t}\r\n\t\t} \r\n\t}", "@Override\n public List<FileInfo> getLibrarySubFiles(FileInfo fileInfo) {\n return null;\n }", "public final void mo14831s() {\n Iterator it = ((ArrayList) mo14817d()).iterator();\n while (it.hasNext()) {\n File file = (File) it.next();\n if (file.listFiles() != null) {\n m6739b(file);\n long c = m6740c(file, false);\n if (((long) this.f6567b.mo14797a()) != c) {\n try {\n new File(new File(file, String.valueOf(c)), \"stale.tmp\").createNewFile();\n } catch (IOException unused) {\n f6563c.mo14884b(6, \"Could not write staleness marker.\", new Object[0]);\n }\n }\n for (File b : file.listFiles()) {\n m6739b(b);\n }\n }\n }\n }", "@Test\n public void testGetFilesList() {\n System.out.println(\"getFilesList from existing folder with existing subfiles\");\n String entryPath = folder.toString()+fSeparator+\"Images\";\n FilesDao instance = new FilesDao();\n String[] expResult = new String[2];\n expResult[0] = \"testImg.jpg\";\n expResult[1] = \"testImg2.jpg\";\n String[] result;\n try{\n result = instance.getFilesList(entryPath);\n }catch(EntryException ex){\n result = null;\n }\n assertArrayEquals(expResult, result);\n }", "private void populateList(File[] filesList) {\n Log.i(\"mPackage\",\"FilesList: \"+filesList.length);\n for(File file : filesList) {\n //Log.i(\"mPackage\",\"Path: \"+file);\n if(file.isDirectory()) {\n populateList(file.listFiles());\n }\n else {\n MarkerModel markerModel = new MarkerModel();\n Boolean containsObj = false;\n for(File modelFile : filesList) {\n String[] extension = modelFile.getName().split(\"\\\\.\");\n if(extension[extension.length-1].equals(\"obj\")) {\n markerModel.setObj(modelFile.getPath());\n containsObj = true;\n }\n else if(extension[extension.length-1].equals(\"mtl\"))\n markerModel.setMtl(modelFile.getPath());\n else\n markerModel.addTexture(modelFile.getPath());\n }\n if(containsObj)\n models.add(markerModel);\n return;\n //models.add(file.getPath());\n //Log.i(\"mPackage\",\"Path: \"+file.getPath());\n }\n }\n }", "java.util.List<? extends ds.hdfs.generated.FileMetadataOrBuilder> \n getFilesOrBuilderList();", "public List<String> splitByCount(String fileName, int count)\n throws IOException, InterruptedException {\n\n List<String> parts = new ArrayList<String>();\n File file = new File(fileName);\n int blockSize = (int) Math.ceil(file.length() / (double) count);\n RandomAccessFile raf = new RandomAccessFile(fileName, \"r\");\n long totalLen = raf.length();\n CountDownLatch latch = new CountDownLatch(count);\n\n long startPos = 0L;\n long nextPos = 0L;\n\n for (int i = 0; i < count; i++) {\n nextPos = Long.min((long) (i + 1) * blockSize, totalLen - 1);\n raf.seek(nextPos);\n //Calculate the start position for the next file.\n do {\n raf.seek(nextPos);\n if (raf.readByte() == '\\n') {\n nextPos = nextPos + 1;\n break;\n }\n nextPos--;\n } while (true);\n long readSizeTemp = nextPos - startPos;\n int readSize = (int) readSizeTemp;\n String partFileName = fileName.replace(\"raw\", \"raw\" + (i + 1));\n new SplitRunnable(readSize, startPos, partFileName, file, latch).run();\n startPos = nextPos;\n parts.add(partFileName);\n }\n //Wait until all the files are written.\n latch.await();\n return parts;\n }", "public float[] accumulateSimpleMixFiles(ArrayList<File> files){\r\n\t\t\tfloat[] returnValue = new float[10];\r\n\t\t\tfloat[] values = new float[10];\r\n\t\t\t\r\n\t\t for(File file:files){\t\t\t\t\t\r\n\t\t BufferedReader reader;\r\n\t\t try{\r\n\t\t reader = new BufferedReader(new FileReader(file));\r\n\t\t String line = reader.readLine(); \r\n\t\t while(line != null){\t\r\n\t\t \tif(line.substring(0,5).equals(\"Total\")){\r\n\t\t \t\tString[] values2 = line.split(\" \");\r\n\t\t \t\t\r\n\t\t \t\tfor(int i = 2; i < values2.length; i++) values[i-2] += Float.valueOf(values2[i]);\r\n\t\t \t}\r\n\t\t \tline = reader.readLine();\r\n\t\t }\r\n\t\t \r\n\t\t\t\t} catch (FileNotFoundException e) {\r\n\t\t\t\t System.err.println(\"FileNotFoundException: \" + e.getMessage());\r\n\t\t\t\t} catch (IOException e) {\r\n\t\t\t\t System.err.println(\"Caught IOException: \" + e.getMessage());\r\n\t\t\t\t}\r\n\t\t }\r\n\r\n\t\t for(int j = 0; j < values.length; j++) returnValue[j] = (float)values[j]/files.size();\t\r\n\t\t \r\n\t\t return returnValue;\r\n\t\t}", "private Map<ServerFile, Integer> totalFiles(){\n\t\tMap<ServerFile, Integer> ret = new HashMap<ServerFile, Integer>();\n\t\tfor (ClientObj c : clients){\n\t\t\tfor (ServerFile f : c.getFiles()){\n\t\t\t\tif (!ret.containsKey(f))\n\t\t\t\t\tret.put(f, 1);\n\t\t\t\telse\n\t\t\t\t\tret.put(f, ret.get(f) + 1);\n\t\t\t}\n\t\t}\n\t\treturn ret;\n\t}", "int getSourceFileCount();", "public void checkForRepeats(String selectedMarket)\r\n {\r\n System.out.println(backUpPath + selectedMarket);\r\n \tFile f = new File(backUpPath + selectedMarket);\r\n \tArrayList<File> fileContents = new ArrayList<File>(Arrays.asList(f.listFiles()));\r\n \t\r\n for(int i = 0;i< scriptAds.size();i++)\r\n \t{\r\n String currentFileName;\r\n long modified;\r\n Date modifiedDate;\r\n \r\n for(int j = 0;j < fileContents.size();j++)\r\n {\r\n currentFileName = fileContents.get(j).getName();\r\n \r\n if(currentFileName.contains(\".\"))\r\n {\r\n currentFileName = currentFileName.substring(0,currentFileName.lastIndexOf(\".\"));\r\n }\r\n if(scriptAds.get(i).getAdNumber().toLowerCase().equals(currentFileName.toLowerCase()))\r\n {\r\n modified = fileContents.get(j).lastModified();\r\n modifiedDate = new Date(modified);\r\n \r\n String dateToPrint = DateFormat.getDateTimeInstance(DateFormat.SHORT, DateFormat.SHORT).format(modifiedDate);\r\n dateToPrint = dateToPrint.substring(0,dateToPrint.indexOf(\" \"));\r\n \r\n infoText.append(\"<p>CC# \" + scriptAds.get(i).getccNumber() \r\n + \" matches a backup of last modified : \" + scriptAds.get(i).getAdNumber() \r\n + \" \" + dateToPrint + \"\\nin \" + importFileName + \"</p>\");\r\n }\r\n }\r\n }\r\n }", "public void mo83570c() {\n File[] listFiles;\n File file = new File(this.f60297d);\n if (file.isDirectory() && (listFiles = file.listFiles()) != null && listFiles.length >= this.f60294a) {\n Arrays.sort(listFiles, this.f60295b);\n for (int i = 0; i < listFiles.length && listFiles.length >= this.f60294a; i++) {\n File file2 = listFiles[i];\n if (!this.f60299f.contains(file2)) {\n ArgusLogger.m85574b(String.format(C6969H.m41409d(\"G4D8AC619BE22AF20E809D047FEE1C6C47DC3D008AD3FB969E71DD05BE6EAD1D26DC3D008AD3FB969EA079D41E6A5D1D26880DD1FBB70E36CF547\"), file2.getPath()));\n mo83569b(Collections.singleton(file2));\n }\n }\n }\n }", "public File[] filesReadOnly(File... f) { return f; }", "public List<File> getFiles();", "@Test\n\tpublic void testCountItems() {\n\t\tFile test = new File(\"X:\\\\Documents\\\\PS9 Test\");\n\t\tassertEquals(13,Explorer.countItems(test));\n\t}", "void update(FileInfo fileInfo);", "private static ArrayList m5336a(File[] fileArr) {\n ArrayList arrayList = new ArrayList();\n int i = 0;\n while (i < fileArr.length) {\n if (fileArr[i].isFile() && fileArr[i].getName().length() == 10 && TextUtils.isDigitsOnly(fileArr[i].getName())) {\n arrayList.add(fileArr[i]);\n }\n i++;\n }\n return arrayList;\n }", "@Test(timeout = 4000)\n public void test23() throws Throwable {\n FileUtil fileUtil0 = new FileUtil();\n ArrayList<Object> arrayList0 = new ArrayList<Object>();\n File file0 = fileUtil0.getAccessories(\"YP=8V~@ch)3vts}p8\", arrayList0);\n assertNull(file0);\n }", "public void findDupe(int choice) {\n\n\t\tString fullName = null;\n\t\tboolean flag = true;\n\n\t\tfor (Path file : filesArray) {\n\t\t\ttry {\n\t\t\t\tfullName = getFullName(file, choice);\n\t\t\t} catch (Exception e) {\n\t\t\t\tSystem.out.println(\"problem read file: \" + file);\n\t\t\t\tflag = false;\n\t\t\t}\n\n\t\t\tif (flag) {\n\t\t\t\tmultiMap.put(fullName, file);\n\t\t\t\tCollection<Path> vals = (Collection<Path>) multiMap.get(fullName);\n\n\t\t\t\tif (vals.size() > 1) {\n\t\t\t\t\tcounter++;\n\t\t\t\t}\n\t\t\t}\n\t\t\tflag = true;\n\t\t}\n\n\t\tSet<String> keys = multiMap.keySet();\n\t\tIterator<String> items = keys.iterator();\n\n\t\twhile (items.hasNext()) {\n\t\t\tString str = (String) items.next();\n\n\t\t\t@SuppressWarnings(\"unchecked\")\n\t\t\tCollection<Path> val = (Collection<Path>) multiMap.get(str);\n\t\t\tArrayList<Path> arr = new ArrayList<>(val);\n\n\t\t\tif (arr.size() <= 1)\n\t\t\t\titems.remove();\n\n\t\t}\n\n\t}", "java.util.List<entities.Torrent.FileInfo>\n getFileInfoList();", "List<DownloadChunk> mo54445j(int i);", "void visitFile(StorageUnit unit, long off, long lim);", "public void fileInfo(String info);", "private List<FileInfoDTO> createFileInfoDTOs(MultipartFile file1, MultipartFile file2, int totalLinesFirstFile,\n\t\t\tint totalLinesSecondFile) {\n\t\tint unmatchedRecordsFirstFile = firstFileMap.getCountMap().values().stream().mapToInt(Integer::valueOf).sum();\n\t\tint unmatchedRecordsSecondFile = secondFileMap.getCountMap().values().stream().mapToInt(Integer::valueOf).sum();\n\n\t\tFileInfo firstFileInfo = new FileInfo();\n\t\tfirstFileInfo.setName(file1.getOriginalFilename());\n\t\tfirstFileInfo.setTotalRecords(totalLinesFirstFile);\n\t\tfirstFileInfo.setUnmatchedRecords(unmatchedRecordsFirstFile);\n\t\tfirstFileInfo.setMatchingRecords(totalLinesFirstFile - unmatchedRecordsFirstFile);\n\n\t\tFileInfo secondFileInfo = new FileInfo();\n\t\tsecondFileInfo.setName(file2.getOriginalFilename());\n\t\tsecondFileInfo.setTotalRecords(totalLinesSecondFile);\n\t\tsecondFileInfo.setUnmatchedRecords(unmatchedRecordsSecondFile);\n\t\tsecondFileInfo.setMatchingRecords(totalLinesSecondFile - unmatchedRecordsSecondFile);\n\n\t\treturn List.of(firstFileInfo, secondFileInfo).stream()\n\t\t\t\t.map(file -> DTOConverter.convertFileInfoToFileInfoDTO(file)).collect(Collectors.toList());\n\t}", "public void a(File file, List<WxAndQqScanPathInfo> list) {\n if (file != null && !this.p) {\n File[] listFiles = file.listFiles();\n if (listFiles != null) {\n int length = listFiles.length;\n int i2 = 0;\n while (i2 < length) {\n File file2 = listFiles[i2];\n if (!this.p) {\n if (file2 != null) {\n if (!file2.isDirectory()) {\n if (!\".nomedia\".equals(file2.getName()) && file2.length() >= 5 && file2 != null && file2.exists()) {\n CleanWxItemInfo cleanWxItemInfo = new CleanWxItemInfo();\n cleanWxItemInfo.setFileType(((WxAndQqScanPathInfo) list.get(0)).getType());\n cleanWxItemInfo.setFile(file2);\n cleanWxItemInfo.setDays(TimeUtil.changeTimeToDay(cleanWxItemInfo.getFile().lastModified()));\n cleanWxItemInfo.setFileSize(file2.length());\n switch (((WxAndQqScanPathInfo) list.get(0)).getType()) {\n case 1:\n o += cleanWxItemInfo.getFileSize();\n d.setTotalSize(d.getTotalSize() + cleanWxItemInfo.getFileSize());\n d.setTotalNum(d.getTotalNum() + 1);\n if (d.isChecked()) {\n cleanWxItemInfo.setChecked(true);\n d.setSelectSize(d.getSelectSize() + cleanWxItemInfo.getFileSize());\n d.setSelectNum(d.getSelectNum() + 1);\n }\n cleanWxItemInfo.setDays(TimeUtil.changeTimeToDay(0));\n a(d, cleanWxItemInfo);\n break;\n case 2:\n if (!file2.getAbsolutePath().endsWith(\"_cover\") && !new File(file2.getAbsolutePath() + \"_cover\").exists()) {\n if (!\"finishActivity\".equals(this.r) && !\"bigGarbageFragment\".equals(this.r)) {\n if (e.isFinished()) {\n j.setTotalNum(j.getTotalNum() + 1);\n j.setTotalSize(j.getTotalSize() + cleanWxItemInfo.getFileSize());\n a(j, cleanWxItemInfo);\n break;\n } else {\n o += cleanWxItemInfo.getFileSize();\n e.setTotalNum(e.getTotalNum() + 1);\n e.setTotalSize(e.getTotalSize() + cleanWxItemInfo.getFileSize());\n if (e.isChecked()) {\n cleanWxItemInfo.setChecked(true);\n e.setSelectNum(e.getSelectNum() + 1);\n e.setSelectSize(e.getSelectSize() + cleanWxItemInfo.getFileSize());\n }\n a(e, cleanWxItemInfo);\n break;\n }\n }\n } else {\n j.setTotalSize(j.getTotalSize() + cleanWxItemInfo.getFileSize());\n j.setTotalNum(j.getTotalNum() + 1);\n a(j, cleanWxItemInfo);\n break;\n }\n break;\n case 3:\n o += cleanWxItemInfo.getFileSize();\n f.setTotalSize(f.getTotalSize() + cleanWxItemInfo.getFileSize());\n f.setTotalNum(f.getTotalNum() + 1);\n if (f.isChecked()) {\n cleanWxItemInfo.setChecked(true);\n f.setSelectSize(f.getSelectSize() + cleanWxItemInfo.getFileSize());\n f.setSelectNum(f.getSelectNum() + 1);\n }\n a(f, cleanWxItemInfo);\n break;\n case 4:\n if (file2.getName().startsWith(\"snstblur_src_\")) {\n if (Constants.PRIVATE_LOG_CONTROLER) {\n break;\n } else {\n file2.delete();\n break;\n }\n } else {\n if (!file2.getName().startsWith(\"snst_\")) {\n if (file2.getName().startsWith(\"snsu_\") && new File(file2.getAbsolutePath().replace(\"snsu_\", \"snsb_\")).exists()) {\n break;\n }\n } else if (!new File(file2.getAbsolutePath().replace(\"snst_\", \"snsu_\")).exists()) {\n if (new File(file2.getAbsolutePath().replace(\"snst_\", \"snsb_\")).exists()) {\n break;\n }\n } else {\n break;\n }\n o += cleanWxItemInfo.getFileSize();\n g.setTotalSize(g.getTotalSize() + cleanWxItemInfo.getFileSize());\n g.setTotalNum(g.getTotalNum() + 1);\n if (g.isChecked()) {\n cleanWxItemInfo.setChecked(true);\n g.setSelectSize(g.getSelectSize() + cleanWxItemInfo.getFileSize());\n g.setSelectNum(g.getSelectNum() + 1);\n }\n a(g, cleanWxItemInfo);\n break;\n }\n case 5:\n if (file2.getName().endsWith(\".jpg_hevc\")) {\n if (Constants.PRIVATE_LOG_CONTROLER) {\n break;\n } else {\n file2.delete();\n break;\n }\n } else {\n if (file2.getName().startsWith(\"th_\")) {\n if (!file2.getName().endsWith(\"hd\")) {\n break;\n } else {\n break;\n }\n }\n h.setTotalSize(h.getTotalSize() + cleanWxItemInfo.getFileSize());\n h.setTotalNum(h.getTotalNum() + 1);\n a(h, cleanWxItemInfo);\n break;\n }\n case 6:\n if (!file2.getAbsolutePath().contains(\"download/appbrand\")) {\n if (file2.getName().endsWith(\".jpg\")) {\n if (!new File(file2.getAbsolutePath().replace(\".jpg\", \".mp4\")).exists() && !Constants.PRIVATE_LOG_CONTROLER) {\n file2.delete();\n break;\n }\n } else {\n i.setTotalSize(i.getTotalSize() + cleanWxItemInfo.getFileSize());\n i.setTotalNum(i.getTotalNum() + 1);\n a(i, cleanWxItemInfo);\n break;\n }\n } else {\n break;\n }\n case 8:\n k.setTotalSize(k.getTotalSize() + cleanWxItemInfo.getFileSize());\n k.setTotalNum(k.getTotalNum() + 1);\n a(k, cleanWxItemInfo);\n break;\n case 9:\n if (!file2.getName().endsWith(\".mp4\")) {\n l.setTotalSize(l.getTotalSize() + cleanWxItemInfo.getFileSize());\n l.setTotalNum(l.getTotalNum() + 1);\n l.getMineList().add(cleanWxItemInfo);\n a(l, cleanWxItemInfo);\n break;\n } else {\n m.setTotalSize(m.getTotalSize() + cleanWxItemInfo.getFileSize());\n m.setTotalNum(m.getTotalNum() + 1);\n m.getMineList().add(cleanWxItemInfo);\n a(m, cleanWxItemInfo);\n break;\n }\n case 10:\n n.setTotalSize(n.getTotalSize() + cleanWxItemInfo.getFileSize());\n n.setTotalNum(n.getTotalNum() + 1);\n a(n, cleanWxItemInfo);\n break;\n }\n }\n } else {\n try {\n if (file2.listFiles() == null || file2.listFiles().length == 0) {\n FileUtils.deleteFileAndFolder(file2);\n }\n } catch (Exception e2) {\n Logger.iCatch(Logger.TAG, Logger.ZYTAG, \"CleanWxClearNewActivity---wxFileScan ---- \", e2);\n }\n a(file2, list);\n }\n }\n i2++;\n } else {\n return;\n }\n }\n }\n }\n }", "java.util.List<? extends entities.Torrent.FileInfoOrBuilder>\n getFileInfoOrBuilderList();", "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 }", "public Builder addAllFiles(\n java.lang.Iterable<? extends entities.Torrent.FileInfo> values) {\n if (filesBuilder_ == null) {\n ensureFilesIsMutable();\n com.google.protobuf.AbstractMessageLite.Builder.addAll(\n values, files_);\n onChanged();\n } else {\n filesBuilder_.addAllMessages(values);\n }\n return this;\n }", "public filesMB() {\n }", "com.google.protobuf.ByteString\n getFileNamesBytes(int index);", "public int getFileNamesCount() {\n return fileNames_.size();\n }", "@java.lang.Override\n public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder(\n int index) {\n return fileInfo_.get(index);\n }" ]
[ "0.65325207", "0.6227456", "0.6177881", "0.6116598", "0.6065684", "0.6065684", "0.590164", "0.58970237", "0.58970237", "0.5783433", "0.57750136", "0.5763771", "0.5762734", "0.57547295", "0.5746625", "0.5744839", "0.5644452", "0.563878", "0.5628507", "0.56053144", "0.5601631", "0.5583571", "0.55456394", "0.5545325", "0.5545274", "0.5519314", "0.55032945", "0.5502879", "0.5497437", "0.54956275", "0.5495291", "0.54928", "0.5474748", "0.5458041", "0.54520524", "0.54351526", "0.5411701", "0.5409407", "0.5396235", "0.5388728", "0.5378012", "0.537654", "0.53608066", "0.5359268", "0.53519815", "0.5335172", "0.5334883", "0.5334883", "0.53343636", "0.53343636", "0.5319273", "0.5309602", "0.53086674", "0.52990717", "0.52990717", "0.5284801", "0.5278754", "0.5276997", "0.5274732", "0.52718306", "0.52717876", "0.5270142", "0.5268754", "0.5264792", "0.5254606", "0.5237259", "0.52320284", "0.52265704", "0.5221797", "0.5220387", "0.5209014", "0.5206498", "0.519874", "0.51969546", "0.5187828", "0.5185607", "0.5185165", "0.518249", "0.5176273", "0.5165428", "0.51650506", "0.5165015", "0.5163598", "0.5161906", "0.51600796", "0.51514554", "0.5150045", "0.51442325", "0.5133645", "0.51309294", "0.5130048", "0.51299196", "0.5128534", "0.51266265", "0.5125555", "0.5115963", "0.51151603", "0.51146954", "0.51012677", "0.50983685", "0.5096151" ]
0.0
-1
repeated .FileInfo files = 4;
public Builder removeFiles(int index) { if (filesBuilder_ == null) { ensureFilesIsMutable(); files_.remove(index); onChanged(); } else { filesBuilder_.remove(index); } return this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "int getFileInfoCount();", "public void incFileCount(){\n\t\tthis.num_files++;\n\t}", "entities.Torrent.FileInfo getFiles(int index);", "public Files(){\n this.fileNameArray.add(\"bridge_1.txt\");\n this.fileNameArray.add(\"bridge_2.txt\");\n this.fileNameArray.add(\"bridge_3.txt\");\n this.fileNameArray.add(\"bridge_4.txt\");\n this.fileNameArray.add(\"bridge_5.txt\");\n this.fileNameArray.add(\"bridge_6.txt\");\n this.fileNameArray.add(\"bridge_7.txt\");\n this.fileNameArray.add(\"bridge_8.txt\");\n this.fileNameArray.add(\"bridge_9.txt\");\n this.fileNameArray.add(\"ladder_1.txt\");\n this.fileNameArray.add(\"ladder_2.txt\");\n this.fileNameArray.add(\"ladder_3.txt\");\n this.fileNameArray.add(\"ladder_4.txt\");\n this.fileNameArray.add(\"ladder_5.txt\");\n this.fileNameArray.add(\"ladder_6.txt\");\n this.fileNameArray.add(\"ladder_7.txt\");\n this.fileNameArray.add(\"ladder_8.txt\");\n this.fileNameArray.add(\"ladder_9.txt\");\n }", "int getFileNamesCount();", "int getFileNamesCount();", "ds.hdfs.generated.FileMetadata getFiles(int index);", "int getFilesCount();", "int getFilesCount();", "int getFileCount();", "private void gatherFile(FileStatus[] fstat)\r\n\t{\r\n\t inputSize = 0;\t\r\n\t paths = new Path[fstat.length];\t\r\n\t for(int i=0;i<fstat.length;i++)\r\n\t {\r\n\t inputSize+=fstat[i].getLen();\r\n\t paths[i] = fstat[i].getPath();\r\n\t }\r\n\t }", "@java.lang.Override\n public int getFileInfoCount() {\n return fileInfo_.size();\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}", "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}", "private void initializeFileArrays(){\n File downloadedFilesFolder = new File(MainActivity.DB_PATH);\n File[] files = downloadedFilesFolder.listFiles();\n System.out.println(\"*** \" + files.length + \" ***\");\n if(files != null){\n System.out.println(\"*** \" + files.length + \" ***\");\n for(File f : files){\n if(f != null){\n System.out.println(\"***\\n FILE FOUND - \" + f.getAbsolutePath()+\"\\nSIZE - \" +\n f.length() + \" BYTES \\n***\");\n fileNames.add(f.getName());\n fileSizes.add(f.length()+\"\");\n this.files.add(f);\n }\n }\n }\n }", "entities.Torrent.FileInfoOrBuilder getFilesOrBuilder(\n int index);", "List<UploadInfo> simpleUploadAll(List<SimpleFile> files);", "public List<FileUpload> getFileUploads(int numberOfFileUploads, Long startIndex) throws AppException;", "void addFile(int numberLines);", "private void updateFiles() {\n\t}", "@Override\n public void addSingleFile(FileInfo file) {\n }", "entities.Torrent.FileInfo getFileInfo(int index);", "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}", "private static void showFiles(File[] files) {\n\t\t for (File file : files) {\r\n\t\t if (file.isDirectory()) {\r\n\t\t // System.out.println(\"Directory: \" + file.getName());\r\n\t\t showFiles(file.listFiles()); // Calls same method again.\r\n\t\t } else {\r\n\t\t // System.out.println(\"File: \" + file.getName());\r\n\t\t }\r\n\t\t }\r\n\t\t\r\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 }", "private void findRecordings(){\n File[] files = new File(\"Concatenated/\").listFiles();\n _records.clear();\n _versionNum = 1;\n for (File file : files){\n if (file.isFile()){\n String nameOnFile = file.getName().substring(file.getName().lastIndexOf('_')+1,file.getName().lastIndexOf('.')).toUpperCase();\n if (nameOnFile.equals(_name.toUpperCase())){\n _records.add(file.getName());\n _versionNum++;\n }\n }\n }\n }", "private void checkDuplicateOfFile(Iterable<FileInfo> files, DuplicateDataDTO data) {\n for(FileInfo nextFile: files) {\n for(FileInfo nextFile2: files) {\n if(nextFile.duplicate(nextFile2)) {\n LOG.info(\"Duplicate - {}\", nextFile);\n\n processDuplicate(nextFile,data);\n }\n }\n }\n }", "public TagFileInfo[] getTagFiles() {\n/* 176 */ return this.tagFiles;\n/* */ }", "@Test\n\tpublic void testNumLargeFiles() {\n\t\tFile test = new File(\"X:\\\\Documents\\\\PS9 Test\");\n\t\tassertEquals(6,Explorer.numLargeFiles(test));\n\t}", "public double getNumFiles(){\n\t\treturn (this.num_files);\n\t}", "public Files files();", "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 }", "@Test\n\tpublic void testSetFileInfo() {\n\n\t}", "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 readFileList() throws IOException {\n\t\tint entries = metadataFile.readInt();\n\n\t\tfor (int i = 0; i < entries; i++) {\n\t\t\tint hash = metadataFile.readInt();\n\t\t\tlong dataOffset = metadataFile.readInt() & 0xFFFFFFFFL;\n\t\t\tlong dataSize = metadataFile.readInt() & 0xFFFFFFFFL;\n\t\t\tint pathListIndex = metadataFile.readInt();\n\n\t\t\tlong position = metadataFile.getPosition();\n\t\t\tmetadataFile.setPosition(pathListOffset + 8 + (pathListIndex * 8));\n\n\t\t\tlong pathOffset = metadataFile.readInt() & 0xFFFFFFFFL;\n\t\t\tint pathSize = metadataFile.readInt();\n\n\t\t\tmetadataFile.setPosition(pathListOffset + pathOffset);\n\t\t\tString path = metadataFile.readString(pathSize).trim();\n\n\t\t\tif (hash == hash(path)) \n\t\t\t\tfileEntries.add(new RAFFileEntry(dataOffset, dataSize, path));\n\t\t\telse\n\t\t\t\tthrow new IOException(\"Invalid hash for item '\" + path + \"'.\");\n\n\t\t\tmetadataFile.setPosition(position);\n\t\t}\n\t}", "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 static void main(String[] args) {\n\t\tint count=0;\n\t\t File f=new File(\"C:\\\\Users\\\\kumaujjv\\\\Downloads\\\\Assignments - Copy\");\n\t\t String[] s=f.list();\n\n\t\t for(String s1:s) {\n\t\t File f1=new File(f,s1);\n\t\t if(f1.isFile()) {\n\t\t\t //count++;\n\t\t\t System.out.println(s1);\n\t\t }\n\t\t}\n\t\tSystem.out.println(\"total number : \"+count);\n\n\t\t}", "public float[] accumulateDetailFiles(ArrayList<File> files){\r\n\t\tfloat[] values = new float[100];\r\n\t\tint counter = 0;\r\n\r\n\t for(File file:files){\t\t\r\n\t \tSystem.out.println(file.getName());\r\n\t \tcounter = 0;\r\n\t BufferedReader reader;\r\n\t try{\r\n\t reader = new BufferedReader(new FileReader(file));\r\n\t String line = reader.readLine(); \r\n\t while(line != null){\t\r\n\t \tif(!line.substring(0,1).equals(\"#\")){\r\n\t \t\tString[] values2 = line.split(\" \");\r\n\t \t\tvalues[counter] += Float.valueOf(values2[values2.length-1]);\r\n\t\t \tcounter++;\r\n\t \t}\r\n\t \tline = reader.readLine();\r\n\t }\r\n\t \r\n\t\t\t} catch (FileNotFoundException e) {\r\n\t\t\t System.err.println(\"FileNotFoundException: \" + e.getMessage());\r\n\t\t\t} catch (IOException e) {\r\n\t\t\t System.err.println(\"Caught IOException: \" + e.getMessage());\r\n\t\t\t}\r\n\t }\r\n\r\n\t float[] returnValues = new float[counter];\r\n\t \r\n\t for(int j = 0; j < returnValues.length; j++) \treturnValues[j] = ((float)values[j]/files.size());\r\n\t\r\n\t \r\n \treturn returnValues;\r\n\t}", "ds.hdfs.generated.FileMetadataOrBuilder getFilesOrBuilder(\n int index);", "private static void calculateSizes() {\n for(EmailTypes type : EmailTypes.values()){\n File f = unpackedFiles.get(type);\n setSizes.put(type, Objects.requireNonNull(f.listFiles()).length);\n }\n }", "public int[] filesRemaining();", "public static void main(String[] args) {\n\t\tFile dir = new File(\"H:\");\r\n\t\tString[] filelist = dir.list();\r\n\t\tlong total = 0;\r\n\t\tlong t = 0;\r\n\t\tfor(int i=0;i<filelist.length;i++){\r\n\t\t\t File readfile = new File(\"H:\" + \"\\\\\" + filelist[i]);\r\n\t\t\t t = readFile(readfile)/1024/1024;\r\n\t\t\t System.out.println(\"name=\" + readfile.getName() + \" size:=\" + t + \"MB\");\r\n\t\t\t total += t;\r\n\t\t}\r\n\t\tSystem.out.println(\"OK,all the files is list over,the number is \" + filelist.length + \"the total size is \" + total); \r\n\t}", "@Test\n public void tagFilesShouldReturnNonEmptyTagFiles() throws Exception {\n //given\n givenInfoMessageCode();\n\n //when\n List<IFileSpec> tagFiles = tagDelegator.tagFiles(fileSpecs, LABEL_NAME, opts);\n //then\n assertThat(tagFiles.size(), is(1));\n assertThat(tagFiles.get(0).getDepotPathString(), is(TEST_FILE_DEPOT_PATH));\n }", "public int getFileInfoCount() {\n if (fileInfoBuilder_ == null) {\n return fileInfo_.size();\n } else {\n return fileInfoBuilder_.getCount();\n }\n }", "private static ArrayList<File> buildFilesArray() {\n ArrayList<File> result = new ArrayList<>();\n rAddFilesToArray(workingDirectory, result);\n return result;\n }", "@java.lang.Override\n public entities.Torrent.FileInfoOrBuilder getFilesOrBuilder(\n int index) {\n return files_.get(index);\n }", "java.lang.String getFileNames(int index);", "java.lang.String getFileNames(int index);", "public void filesNotFound(File... f) { }", "public void filesNotFound(File... f) { }", "public static int filesWithSizes (File f)\n\t{\n\t\tif (f.isFile())\n\t\t{\n\t\t\tif (f.length()>= 10000 && f.length() <= 25000)\n\t\t\t{\n\t\t\t\treturn 1;\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\treturn 0;\n\t\t\t}\n\t\t}\n\t\telse\n\t\t{\n\t\t\tint count = 0;\n\t\t\tfor (File file: f.listFiles())\n\t\t\t{\n\t\t\t\tcount += filesWithSizes(file);\n\t\t\t}\n\t\t\treturn count;\n\t\t}\n\t}", "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 }", "public java.lang.String[] getNewFiles(){\r\n return localNewFiles;\r\n }", "entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder();", "entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder();", "@Test\n public void shouldReturnNonEmptyTagFiles() throws Exception {\n //given\n givenInfoMessageCode();\n //when\n List<IFileSpec> tagFiles = tagDelegator.tagFiles(\n fileSpecs,\n LABEL_NAME,\n listOnly1,\n delete1);\n //then\n assertThat(tagFiles.size(), is(1));\n assertThat(tagFiles.get(0).getDepotPathString(), is(TEST_FILE_DEPOT_PATH));\n }", "@Test\n public void maxFiles() throws Throwable {\n MergeFilesOptions opts = new MergeFilesOptions();\n opts.setStream(\"//Ace/dev\");\n opts.setReverseMapping(true);\n opts.setMaxFiles(1);\n opts.setForceStreamMerge(true);\n\n List<IFileSpec> merged = client.mergeFiles(null, null, opts);\n assertEquals(\"wrong number of files\", 1, merged.size());\n\n List<IFileSpec> opened = client.openedFiles(null, null);\n assertEquals(\"files should not have been opened\", 1, opened.size());\n }", "public FileCount(int numFiles){\n this.numFiles = numFiles;\n }", "public int getFileNamesCount() {\n return fileNames_.size();\n }", "static public ObservableList<ImageMetaInfo> getImagesInfo(File path) {\n ObservableList<ImageMetaInfo> observableList = FXCollections.observableArrayList();\n ExtFilter fileFilter = new ExtFilter();\n File[] imageFilesArray = path.listFiles(fileFilter);\n for (File file : imageFilesArray) {\n ImageMetaInfo imageMetaInfo = getImageMetaInfo(file);\n observableList.add(imageMetaInfo);\n }\n return observableList;\n }", "private void get_file_List() {\n\tString file_name=null;\r\n\tfor (int i = 0; i < listOfFiles.length; i++) \r\n\t {\r\n\t \r\n\t if (listOfFiles[i].isFile()) \r\n\t {\r\n\t\t file_name = listOfFiles[i].getName();\r\n\t if (file_name.endsWith(\".xml\") || file_name.endsWith(\".XML\"))\r\n\t {\r\n\t file_list.add(file_name) ;\r\n\t }\r\n\t }\r\n\t }\r\n\t\r\n}", "public static void getListOfAllFileVarianta2() {\n\t\tPath pathToSrc = Paths.get(\"D:\\\\TorrentsMd\");\r\n\t\ttry {\r\n\t\t\t//cu method references\r\n//\t\t\tFiles.walk(pathToSrc)\r\n//\t\t\t\t.map(Path::toFile)\r\n//\t\t\t\t.filter(File::isFile)\r\n//\t\t\t\t.map(File::getName)\r\n//\t\t\t\t.sorted()\r\n//\t\t\t\t.forEach(System.out::println);\r\n\t\t\t\r\n\t\t\t//cu lambda, dar dpdv semantic sunt identice\r\n\t\t\tFiles.walk(pathToSrc)\r\n\t\t\t\t .map(path -> path.toFile()) //trasnform fiecare Path din stream intr-un File\r\n\t\t\t\t .filter(file -> file.isFile()) //filtrez doar fisierele\r\n\t\t\t\t .map(file -> file.getName())//transform fiecare File din stream intr-un String, care e numele sau\r\n\t\t\t\t .sorted()\r\n\t\t\t\t .forEach(file -> System.out.println(file));\r\n\t\t} catch (IOException e) {\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t}", "@java.lang.Override\n public int getFilesCount() {\n return files_.size();\n }", "static List<File> gitAttributes(File projectDir, Iterable<File> files) {\n List<File> gitAttrFiles = new ArrayList<>();\n Set<File> visitedFolders = new HashSet<>();\n for (File file : files) {\n gitAttrAddWithParents(projectDir, file.getAbsoluteFile(), visitedFolders, gitAttrFiles);\n }\n return gitAttrFiles;\n }", "public static int getNumberOfFiles() {\n\t\treturn EXTENSIONS.length;\n\t}", "public Map<String, NewData> getSnapshotFiles (final List<String> files){\n \t\tMap<String,NewData> w = new HashMap<String,NewData>();\n \t\tList<String> l = new LinkedList<String>();\n \t\tString s=\"\";\n \t\t\n \t\tfor (String str : files){\n \t\t\tw.put(str, new NewData(str));\n \t\t\tl=this.readFile(this.getSnapshot().getRoot() + File.separatorChar +str);\n \t\t\t\n \t\t\tfor (String str2 : l)\n \t\t\t\ts=s+str2+\"\\n\";\n \t\t\t\n \t\t\tw.get(str).setFileContent(s);\n \t\t\tw.get(str).getLclock().putAll(this.getFilelist().get(str));\n \t\t}\n \t\t\t\t\n \t\treturn w;\n \t}", "entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder(\n int index);", "public void getPeerFiles(){\n\t\t\n\t\tFile[] files = new File(path).listFiles();\n\t\tfor (File file : files) {\n\t\t\tfileNames.add(file.getName());\n\t\t}\n\t\tSystem.out.println(\"Number of Files Registerd to the server - \"+fileNames.size());\n\t\tSystem.out.println(\"To search for file give command: get <Filename>\");\n\t\tSystem.out.println(\"To refresh type command: refresh\");\n\t\tSystem.out.println(\"To disconnect type command: disconnect\");\n\t}", "public static void main(String[] args) {\nFile files=new File(\"C:\\\\Users\\\\k74\");\nString filenames[]=files.list();\nfor(String filename :filenames)\n\tSystem.out.println(filename);\n\t}", "public static void rankFiles(Hashtable<?, Integer> fname, int numberOfOccurrences) \r\n\t{\n\t\tArrayList<Map.Entry<?, Integer>> arrayList = new ArrayList(fname.entrySet());\r\n\r\n\t\tCollections.sort(arrayList, new Comparator<Map.Entry<?, Integer>>() \r\n\t\t{\r\n\t\t\tpublic int compare(Map.Entry<?, Integer> obj1, Map.Entry<?, Integer> obj2) \r\n\t\t\t{\r\n\t\t\t\treturn obj1.getValue().compareTo(obj2.getValue());\r\n\t\t\t}\r\n\t\t});\r\n\r\n\t\tCollections.reverse(arrayList);\r\n\r\n\t\tif (numberOfOccurrences > 0) \r\n\t\t{\r\n\t\t\tSystem.out.println(\"\\n------Top 10 search results-----\\n\");\r\n\r\n\t\t\tint my_number = 10;\r\n\t\t\tint j = 1;\r\n\t\t\twhile (arrayList.size() > j && my_number > 0) \r\n\t\t\t{\r\n\t\t\t\tSystem.out.println(\"(\" + j + \") \" + arrayList.get(j) + \" times \");\r\n\t\t\t\tj++;\r\n\t\t\t\tmy_number--;\r\n\t\t\t}\r\n\t\t} \r\n\t}", "@Override\n public List<FileInfo> getLibrarySubFiles(FileInfo fileInfo) {\n return null;\n }", "public final void mo14831s() {\n Iterator it = ((ArrayList) mo14817d()).iterator();\n while (it.hasNext()) {\n File file = (File) it.next();\n if (file.listFiles() != null) {\n m6739b(file);\n long c = m6740c(file, false);\n if (((long) this.f6567b.mo14797a()) != c) {\n try {\n new File(new File(file, String.valueOf(c)), \"stale.tmp\").createNewFile();\n } catch (IOException unused) {\n f6563c.mo14884b(6, \"Could not write staleness marker.\", new Object[0]);\n }\n }\n for (File b : file.listFiles()) {\n m6739b(b);\n }\n }\n }\n }", "@Test\n public void testGetFilesList() {\n System.out.println(\"getFilesList from existing folder with existing subfiles\");\n String entryPath = folder.toString()+fSeparator+\"Images\";\n FilesDao instance = new FilesDao();\n String[] expResult = new String[2];\n expResult[0] = \"testImg.jpg\";\n expResult[1] = \"testImg2.jpg\";\n String[] result;\n try{\n result = instance.getFilesList(entryPath);\n }catch(EntryException ex){\n result = null;\n }\n assertArrayEquals(expResult, result);\n }", "private void populateList(File[] filesList) {\n Log.i(\"mPackage\",\"FilesList: \"+filesList.length);\n for(File file : filesList) {\n //Log.i(\"mPackage\",\"Path: \"+file);\n if(file.isDirectory()) {\n populateList(file.listFiles());\n }\n else {\n MarkerModel markerModel = new MarkerModel();\n Boolean containsObj = false;\n for(File modelFile : filesList) {\n String[] extension = modelFile.getName().split(\"\\\\.\");\n if(extension[extension.length-1].equals(\"obj\")) {\n markerModel.setObj(modelFile.getPath());\n containsObj = true;\n }\n else if(extension[extension.length-1].equals(\"mtl\"))\n markerModel.setMtl(modelFile.getPath());\n else\n markerModel.addTexture(modelFile.getPath());\n }\n if(containsObj)\n models.add(markerModel);\n return;\n //models.add(file.getPath());\n //Log.i(\"mPackage\",\"Path: \"+file.getPath());\n }\n }\n }", "java.util.List<? extends ds.hdfs.generated.FileMetadataOrBuilder> \n getFilesOrBuilderList();", "public List<String> splitByCount(String fileName, int count)\n throws IOException, InterruptedException {\n\n List<String> parts = new ArrayList<String>();\n File file = new File(fileName);\n int blockSize = (int) Math.ceil(file.length() / (double) count);\n RandomAccessFile raf = new RandomAccessFile(fileName, \"r\");\n long totalLen = raf.length();\n CountDownLatch latch = new CountDownLatch(count);\n\n long startPos = 0L;\n long nextPos = 0L;\n\n for (int i = 0; i < count; i++) {\n nextPos = Long.min((long) (i + 1) * blockSize, totalLen - 1);\n raf.seek(nextPos);\n //Calculate the start position for the next file.\n do {\n raf.seek(nextPos);\n if (raf.readByte() == '\\n') {\n nextPos = nextPos + 1;\n break;\n }\n nextPos--;\n } while (true);\n long readSizeTemp = nextPos - startPos;\n int readSize = (int) readSizeTemp;\n String partFileName = fileName.replace(\"raw\", \"raw\" + (i + 1));\n new SplitRunnable(readSize, startPos, partFileName, file, latch).run();\n startPos = nextPos;\n parts.add(partFileName);\n }\n //Wait until all the files are written.\n latch.await();\n return parts;\n }", "public float[] accumulateSimpleMixFiles(ArrayList<File> files){\r\n\t\t\tfloat[] returnValue = new float[10];\r\n\t\t\tfloat[] values = new float[10];\r\n\t\t\t\r\n\t\t for(File file:files){\t\t\t\t\t\r\n\t\t BufferedReader reader;\r\n\t\t try{\r\n\t\t reader = new BufferedReader(new FileReader(file));\r\n\t\t String line = reader.readLine(); \r\n\t\t while(line != null){\t\r\n\t\t \tif(line.substring(0,5).equals(\"Total\")){\r\n\t\t \t\tString[] values2 = line.split(\" \");\r\n\t\t \t\t\r\n\t\t \t\tfor(int i = 2; i < values2.length; i++) values[i-2] += Float.valueOf(values2[i]);\r\n\t\t \t}\r\n\t\t \tline = reader.readLine();\r\n\t\t }\r\n\t\t \r\n\t\t\t\t} catch (FileNotFoundException e) {\r\n\t\t\t\t System.err.println(\"FileNotFoundException: \" + e.getMessage());\r\n\t\t\t\t} catch (IOException e) {\r\n\t\t\t\t System.err.println(\"Caught IOException: \" + e.getMessage());\r\n\t\t\t\t}\r\n\t\t }\r\n\r\n\t\t for(int j = 0; j < values.length; j++) returnValue[j] = (float)values[j]/files.size();\t\r\n\t\t \r\n\t\t return returnValue;\r\n\t\t}", "private Map<ServerFile, Integer> totalFiles(){\n\t\tMap<ServerFile, Integer> ret = new HashMap<ServerFile, Integer>();\n\t\tfor (ClientObj c : clients){\n\t\t\tfor (ServerFile f : c.getFiles()){\n\t\t\t\tif (!ret.containsKey(f))\n\t\t\t\t\tret.put(f, 1);\n\t\t\t\telse\n\t\t\t\t\tret.put(f, ret.get(f) + 1);\n\t\t\t}\n\t\t}\n\t\treturn ret;\n\t}", "int getSourceFileCount();", "public void checkForRepeats(String selectedMarket)\r\n {\r\n System.out.println(backUpPath + selectedMarket);\r\n \tFile f = new File(backUpPath + selectedMarket);\r\n \tArrayList<File> fileContents = new ArrayList<File>(Arrays.asList(f.listFiles()));\r\n \t\r\n for(int i = 0;i< scriptAds.size();i++)\r\n \t{\r\n String currentFileName;\r\n long modified;\r\n Date modifiedDate;\r\n \r\n for(int j = 0;j < fileContents.size();j++)\r\n {\r\n currentFileName = fileContents.get(j).getName();\r\n \r\n if(currentFileName.contains(\".\"))\r\n {\r\n currentFileName = currentFileName.substring(0,currentFileName.lastIndexOf(\".\"));\r\n }\r\n if(scriptAds.get(i).getAdNumber().toLowerCase().equals(currentFileName.toLowerCase()))\r\n {\r\n modified = fileContents.get(j).lastModified();\r\n modifiedDate = new Date(modified);\r\n \r\n String dateToPrint = DateFormat.getDateTimeInstance(DateFormat.SHORT, DateFormat.SHORT).format(modifiedDate);\r\n dateToPrint = dateToPrint.substring(0,dateToPrint.indexOf(\" \"));\r\n \r\n infoText.append(\"<p>CC# \" + scriptAds.get(i).getccNumber() \r\n + \" matches a backup of last modified : \" + scriptAds.get(i).getAdNumber() \r\n + \" \" + dateToPrint + \"\\nin \" + importFileName + \"</p>\");\r\n }\r\n }\r\n }\r\n }", "public void mo83570c() {\n File[] listFiles;\n File file = new File(this.f60297d);\n if (file.isDirectory() && (listFiles = file.listFiles()) != null && listFiles.length >= this.f60294a) {\n Arrays.sort(listFiles, this.f60295b);\n for (int i = 0; i < listFiles.length && listFiles.length >= this.f60294a; i++) {\n File file2 = listFiles[i];\n if (!this.f60299f.contains(file2)) {\n ArgusLogger.m85574b(String.format(C6969H.m41409d(\"G4D8AC619BE22AF20E809D047FEE1C6C47DC3D008AD3FB969E71DD05BE6EAD1D26DC3D008AD3FB969EA079D41E6A5D1D26880DD1FBB70E36CF547\"), file2.getPath()));\n mo83569b(Collections.singleton(file2));\n }\n }\n }\n }", "public File[] filesReadOnly(File... f) { return f; }", "public List<File> getFiles();", "@Test\n\tpublic void testCountItems() {\n\t\tFile test = new File(\"X:\\\\Documents\\\\PS9 Test\");\n\t\tassertEquals(13,Explorer.countItems(test));\n\t}", "void update(FileInfo fileInfo);", "private static ArrayList m5336a(File[] fileArr) {\n ArrayList arrayList = new ArrayList();\n int i = 0;\n while (i < fileArr.length) {\n if (fileArr[i].isFile() && fileArr[i].getName().length() == 10 && TextUtils.isDigitsOnly(fileArr[i].getName())) {\n arrayList.add(fileArr[i]);\n }\n i++;\n }\n return arrayList;\n }", "@Test(timeout = 4000)\n public void test23() throws Throwable {\n FileUtil fileUtil0 = new FileUtil();\n ArrayList<Object> arrayList0 = new ArrayList<Object>();\n File file0 = fileUtil0.getAccessories(\"YP=8V~@ch)3vts}p8\", arrayList0);\n assertNull(file0);\n }", "public void findDupe(int choice) {\n\n\t\tString fullName = null;\n\t\tboolean flag = true;\n\n\t\tfor (Path file : filesArray) {\n\t\t\ttry {\n\t\t\t\tfullName = getFullName(file, choice);\n\t\t\t} catch (Exception e) {\n\t\t\t\tSystem.out.println(\"problem read file: \" + file);\n\t\t\t\tflag = false;\n\t\t\t}\n\n\t\t\tif (flag) {\n\t\t\t\tmultiMap.put(fullName, file);\n\t\t\t\tCollection<Path> vals = (Collection<Path>) multiMap.get(fullName);\n\n\t\t\t\tif (vals.size() > 1) {\n\t\t\t\t\tcounter++;\n\t\t\t\t}\n\t\t\t}\n\t\t\tflag = true;\n\t\t}\n\n\t\tSet<String> keys = multiMap.keySet();\n\t\tIterator<String> items = keys.iterator();\n\n\t\twhile (items.hasNext()) {\n\t\t\tString str = (String) items.next();\n\n\t\t\t@SuppressWarnings(\"unchecked\")\n\t\t\tCollection<Path> val = (Collection<Path>) multiMap.get(str);\n\t\t\tArrayList<Path> arr = new ArrayList<>(val);\n\n\t\t\tif (arr.size() <= 1)\n\t\t\t\titems.remove();\n\n\t\t}\n\n\t}", "java.util.List<entities.Torrent.FileInfo>\n getFileInfoList();", "List<DownloadChunk> mo54445j(int i);", "void visitFile(StorageUnit unit, long off, long lim);", "public void fileInfo(String info);", "private List<FileInfoDTO> createFileInfoDTOs(MultipartFile file1, MultipartFile file2, int totalLinesFirstFile,\n\t\t\tint totalLinesSecondFile) {\n\t\tint unmatchedRecordsFirstFile = firstFileMap.getCountMap().values().stream().mapToInt(Integer::valueOf).sum();\n\t\tint unmatchedRecordsSecondFile = secondFileMap.getCountMap().values().stream().mapToInt(Integer::valueOf).sum();\n\n\t\tFileInfo firstFileInfo = new FileInfo();\n\t\tfirstFileInfo.setName(file1.getOriginalFilename());\n\t\tfirstFileInfo.setTotalRecords(totalLinesFirstFile);\n\t\tfirstFileInfo.setUnmatchedRecords(unmatchedRecordsFirstFile);\n\t\tfirstFileInfo.setMatchingRecords(totalLinesFirstFile - unmatchedRecordsFirstFile);\n\n\t\tFileInfo secondFileInfo = new FileInfo();\n\t\tsecondFileInfo.setName(file2.getOriginalFilename());\n\t\tsecondFileInfo.setTotalRecords(totalLinesSecondFile);\n\t\tsecondFileInfo.setUnmatchedRecords(unmatchedRecordsSecondFile);\n\t\tsecondFileInfo.setMatchingRecords(totalLinesSecondFile - unmatchedRecordsSecondFile);\n\n\t\treturn List.of(firstFileInfo, secondFileInfo).stream()\n\t\t\t\t.map(file -> DTOConverter.convertFileInfoToFileInfoDTO(file)).collect(Collectors.toList());\n\t}", "public void a(File file, List<WxAndQqScanPathInfo> list) {\n if (file != null && !this.p) {\n File[] listFiles = file.listFiles();\n if (listFiles != null) {\n int length = listFiles.length;\n int i2 = 0;\n while (i2 < length) {\n File file2 = listFiles[i2];\n if (!this.p) {\n if (file2 != null) {\n if (!file2.isDirectory()) {\n if (!\".nomedia\".equals(file2.getName()) && file2.length() >= 5 && file2 != null && file2.exists()) {\n CleanWxItemInfo cleanWxItemInfo = new CleanWxItemInfo();\n cleanWxItemInfo.setFileType(((WxAndQqScanPathInfo) list.get(0)).getType());\n cleanWxItemInfo.setFile(file2);\n cleanWxItemInfo.setDays(TimeUtil.changeTimeToDay(cleanWxItemInfo.getFile().lastModified()));\n cleanWxItemInfo.setFileSize(file2.length());\n switch (((WxAndQqScanPathInfo) list.get(0)).getType()) {\n case 1:\n o += cleanWxItemInfo.getFileSize();\n d.setTotalSize(d.getTotalSize() + cleanWxItemInfo.getFileSize());\n d.setTotalNum(d.getTotalNum() + 1);\n if (d.isChecked()) {\n cleanWxItemInfo.setChecked(true);\n d.setSelectSize(d.getSelectSize() + cleanWxItemInfo.getFileSize());\n d.setSelectNum(d.getSelectNum() + 1);\n }\n cleanWxItemInfo.setDays(TimeUtil.changeTimeToDay(0));\n a(d, cleanWxItemInfo);\n break;\n case 2:\n if (!file2.getAbsolutePath().endsWith(\"_cover\") && !new File(file2.getAbsolutePath() + \"_cover\").exists()) {\n if (!\"finishActivity\".equals(this.r) && !\"bigGarbageFragment\".equals(this.r)) {\n if (e.isFinished()) {\n j.setTotalNum(j.getTotalNum() + 1);\n j.setTotalSize(j.getTotalSize() + cleanWxItemInfo.getFileSize());\n a(j, cleanWxItemInfo);\n break;\n } else {\n o += cleanWxItemInfo.getFileSize();\n e.setTotalNum(e.getTotalNum() + 1);\n e.setTotalSize(e.getTotalSize() + cleanWxItemInfo.getFileSize());\n if (e.isChecked()) {\n cleanWxItemInfo.setChecked(true);\n e.setSelectNum(e.getSelectNum() + 1);\n e.setSelectSize(e.getSelectSize() + cleanWxItemInfo.getFileSize());\n }\n a(e, cleanWxItemInfo);\n break;\n }\n }\n } else {\n j.setTotalSize(j.getTotalSize() + cleanWxItemInfo.getFileSize());\n j.setTotalNum(j.getTotalNum() + 1);\n a(j, cleanWxItemInfo);\n break;\n }\n break;\n case 3:\n o += cleanWxItemInfo.getFileSize();\n f.setTotalSize(f.getTotalSize() + cleanWxItemInfo.getFileSize());\n f.setTotalNum(f.getTotalNum() + 1);\n if (f.isChecked()) {\n cleanWxItemInfo.setChecked(true);\n f.setSelectSize(f.getSelectSize() + cleanWxItemInfo.getFileSize());\n f.setSelectNum(f.getSelectNum() + 1);\n }\n a(f, cleanWxItemInfo);\n break;\n case 4:\n if (file2.getName().startsWith(\"snstblur_src_\")) {\n if (Constants.PRIVATE_LOG_CONTROLER) {\n break;\n } else {\n file2.delete();\n break;\n }\n } else {\n if (!file2.getName().startsWith(\"snst_\")) {\n if (file2.getName().startsWith(\"snsu_\") && new File(file2.getAbsolutePath().replace(\"snsu_\", \"snsb_\")).exists()) {\n break;\n }\n } else if (!new File(file2.getAbsolutePath().replace(\"snst_\", \"snsu_\")).exists()) {\n if (new File(file2.getAbsolutePath().replace(\"snst_\", \"snsb_\")).exists()) {\n break;\n }\n } else {\n break;\n }\n o += cleanWxItemInfo.getFileSize();\n g.setTotalSize(g.getTotalSize() + cleanWxItemInfo.getFileSize());\n g.setTotalNum(g.getTotalNum() + 1);\n if (g.isChecked()) {\n cleanWxItemInfo.setChecked(true);\n g.setSelectSize(g.getSelectSize() + cleanWxItemInfo.getFileSize());\n g.setSelectNum(g.getSelectNum() + 1);\n }\n a(g, cleanWxItemInfo);\n break;\n }\n case 5:\n if (file2.getName().endsWith(\".jpg_hevc\")) {\n if (Constants.PRIVATE_LOG_CONTROLER) {\n break;\n } else {\n file2.delete();\n break;\n }\n } else {\n if (file2.getName().startsWith(\"th_\")) {\n if (!file2.getName().endsWith(\"hd\")) {\n break;\n } else {\n break;\n }\n }\n h.setTotalSize(h.getTotalSize() + cleanWxItemInfo.getFileSize());\n h.setTotalNum(h.getTotalNum() + 1);\n a(h, cleanWxItemInfo);\n break;\n }\n case 6:\n if (!file2.getAbsolutePath().contains(\"download/appbrand\")) {\n if (file2.getName().endsWith(\".jpg\")) {\n if (!new File(file2.getAbsolutePath().replace(\".jpg\", \".mp4\")).exists() && !Constants.PRIVATE_LOG_CONTROLER) {\n file2.delete();\n break;\n }\n } else {\n i.setTotalSize(i.getTotalSize() + cleanWxItemInfo.getFileSize());\n i.setTotalNum(i.getTotalNum() + 1);\n a(i, cleanWxItemInfo);\n break;\n }\n } else {\n break;\n }\n case 8:\n k.setTotalSize(k.getTotalSize() + cleanWxItemInfo.getFileSize());\n k.setTotalNum(k.getTotalNum() + 1);\n a(k, cleanWxItemInfo);\n break;\n case 9:\n if (!file2.getName().endsWith(\".mp4\")) {\n l.setTotalSize(l.getTotalSize() + cleanWxItemInfo.getFileSize());\n l.setTotalNum(l.getTotalNum() + 1);\n l.getMineList().add(cleanWxItemInfo);\n a(l, cleanWxItemInfo);\n break;\n } else {\n m.setTotalSize(m.getTotalSize() + cleanWxItemInfo.getFileSize());\n m.setTotalNum(m.getTotalNum() + 1);\n m.getMineList().add(cleanWxItemInfo);\n a(m, cleanWxItemInfo);\n break;\n }\n case 10:\n n.setTotalSize(n.getTotalSize() + cleanWxItemInfo.getFileSize());\n n.setTotalNum(n.getTotalNum() + 1);\n a(n, cleanWxItemInfo);\n break;\n }\n }\n } else {\n try {\n if (file2.listFiles() == null || file2.listFiles().length == 0) {\n FileUtils.deleteFileAndFolder(file2);\n }\n } catch (Exception e2) {\n Logger.iCatch(Logger.TAG, Logger.ZYTAG, \"CleanWxClearNewActivity---wxFileScan ---- \", e2);\n }\n a(file2, list);\n }\n }\n i2++;\n } else {\n return;\n }\n }\n }\n }\n }", "java.util.List<? extends entities.Torrent.FileInfoOrBuilder>\n getFileInfoOrBuilderList();", "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 }", "public Builder addAllFiles(\n java.lang.Iterable<? extends entities.Torrent.FileInfo> values) {\n if (filesBuilder_ == null) {\n ensureFilesIsMutable();\n com.google.protobuf.AbstractMessageLite.Builder.addAll(\n values, files_);\n onChanged();\n } else {\n filesBuilder_.addAllMessages(values);\n }\n return this;\n }", "public filesMB() {\n }", "com.google.protobuf.ByteString\n getFileNamesBytes(int index);", "public int getFileNamesCount() {\n return fileNames_.size();\n }", "@java.lang.Override\n public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder(\n int index) {\n return fileInfo_.get(index);\n }" ]
[ "0.65325207", "0.6227456", "0.6177881", "0.6116598", "0.6065684", "0.6065684", "0.590164", "0.58970237", "0.58970237", "0.5783433", "0.57750136", "0.5763771", "0.5762734", "0.57547295", "0.5746625", "0.5744839", "0.5644452", "0.563878", "0.5628507", "0.56053144", "0.5601631", "0.5583571", "0.55456394", "0.5545325", "0.5545274", "0.5519314", "0.55032945", "0.5502879", "0.5497437", "0.54956275", "0.5495291", "0.54928", "0.5474748", "0.5458041", "0.54520524", "0.54351526", "0.5411701", "0.5409407", "0.5396235", "0.5388728", "0.5378012", "0.537654", "0.53608066", "0.5359268", "0.53519815", "0.5335172", "0.5334883", "0.5334883", "0.53343636", "0.53343636", "0.5319273", "0.5309602", "0.53086674", "0.52990717", "0.52990717", "0.5284801", "0.5278754", "0.5276997", "0.5274732", "0.52718306", "0.52717876", "0.5270142", "0.5268754", "0.5264792", "0.5254606", "0.5237259", "0.52320284", "0.52265704", "0.5221797", "0.5220387", "0.5209014", "0.5206498", "0.519874", "0.51969546", "0.5187828", "0.5185607", "0.5185165", "0.518249", "0.5176273", "0.5165428", "0.51650506", "0.5165015", "0.5163598", "0.5161906", "0.51600796", "0.51514554", "0.5150045", "0.51442325", "0.5133645", "0.51309294", "0.5130048", "0.51299196", "0.5128534", "0.51266265", "0.5125555", "0.5115963", "0.51151603", "0.51146954", "0.51012677", "0.50983685", "0.5096151" ]
0.0
-1
repeated .FileInfo files = 4;
public entities.Torrent.FileInfo.Builder getFilesBuilder( int index) { return getFilesFieldBuilder().getBuilder(index); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "int getFileInfoCount();", "public void incFileCount(){\n\t\tthis.num_files++;\n\t}", "entities.Torrent.FileInfo getFiles(int index);", "public Files(){\n this.fileNameArray.add(\"bridge_1.txt\");\n this.fileNameArray.add(\"bridge_2.txt\");\n this.fileNameArray.add(\"bridge_3.txt\");\n this.fileNameArray.add(\"bridge_4.txt\");\n this.fileNameArray.add(\"bridge_5.txt\");\n this.fileNameArray.add(\"bridge_6.txt\");\n this.fileNameArray.add(\"bridge_7.txt\");\n this.fileNameArray.add(\"bridge_8.txt\");\n this.fileNameArray.add(\"bridge_9.txt\");\n this.fileNameArray.add(\"ladder_1.txt\");\n this.fileNameArray.add(\"ladder_2.txt\");\n this.fileNameArray.add(\"ladder_3.txt\");\n this.fileNameArray.add(\"ladder_4.txt\");\n this.fileNameArray.add(\"ladder_5.txt\");\n this.fileNameArray.add(\"ladder_6.txt\");\n this.fileNameArray.add(\"ladder_7.txt\");\n this.fileNameArray.add(\"ladder_8.txt\");\n this.fileNameArray.add(\"ladder_9.txt\");\n }", "int getFileNamesCount();", "int getFileNamesCount();", "ds.hdfs.generated.FileMetadata getFiles(int index);", "int getFilesCount();", "int getFilesCount();", "int getFileCount();", "private void gatherFile(FileStatus[] fstat)\r\n\t{\r\n\t inputSize = 0;\t\r\n\t paths = new Path[fstat.length];\t\r\n\t for(int i=0;i<fstat.length;i++)\r\n\t {\r\n\t inputSize+=fstat[i].getLen();\r\n\t paths[i] = fstat[i].getPath();\r\n\t }\r\n\t }", "@java.lang.Override\n public int getFileInfoCount() {\n return fileInfo_.size();\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}", "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}", "private void initializeFileArrays(){\n File downloadedFilesFolder = new File(MainActivity.DB_PATH);\n File[] files = downloadedFilesFolder.listFiles();\n System.out.println(\"*** \" + files.length + \" ***\");\n if(files != null){\n System.out.println(\"*** \" + files.length + \" ***\");\n for(File f : files){\n if(f != null){\n System.out.println(\"***\\n FILE FOUND - \" + f.getAbsolutePath()+\"\\nSIZE - \" +\n f.length() + \" BYTES \\n***\");\n fileNames.add(f.getName());\n fileSizes.add(f.length()+\"\");\n this.files.add(f);\n }\n }\n }\n }", "entities.Torrent.FileInfoOrBuilder getFilesOrBuilder(\n int index);", "List<UploadInfo> simpleUploadAll(List<SimpleFile> files);", "public List<FileUpload> getFileUploads(int numberOfFileUploads, Long startIndex) throws AppException;", "void addFile(int numberLines);", "private void updateFiles() {\n\t}", "@Override\n public void addSingleFile(FileInfo file) {\n }", "entities.Torrent.FileInfo getFileInfo(int index);", "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}", "private static void showFiles(File[] files) {\n\t\t for (File file : files) {\r\n\t\t if (file.isDirectory()) {\r\n\t\t // System.out.println(\"Directory: \" + file.getName());\r\n\t\t showFiles(file.listFiles()); // Calls same method again.\r\n\t\t } else {\r\n\t\t // System.out.println(\"File: \" + file.getName());\r\n\t\t }\r\n\t\t }\r\n\t\t\r\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 }", "private void findRecordings(){\n File[] files = new File(\"Concatenated/\").listFiles();\n _records.clear();\n _versionNum = 1;\n for (File file : files){\n if (file.isFile()){\n String nameOnFile = file.getName().substring(file.getName().lastIndexOf('_')+1,file.getName().lastIndexOf('.')).toUpperCase();\n if (nameOnFile.equals(_name.toUpperCase())){\n _records.add(file.getName());\n _versionNum++;\n }\n }\n }\n }", "private void checkDuplicateOfFile(Iterable<FileInfo> files, DuplicateDataDTO data) {\n for(FileInfo nextFile: files) {\n for(FileInfo nextFile2: files) {\n if(nextFile.duplicate(nextFile2)) {\n LOG.info(\"Duplicate - {}\", nextFile);\n\n processDuplicate(nextFile,data);\n }\n }\n }\n }", "public TagFileInfo[] getTagFiles() {\n/* 176 */ return this.tagFiles;\n/* */ }", "@Test\n\tpublic void testNumLargeFiles() {\n\t\tFile test = new File(\"X:\\\\Documents\\\\PS9 Test\");\n\t\tassertEquals(6,Explorer.numLargeFiles(test));\n\t}", "public double getNumFiles(){\n\t\treturn (this.num_files);\n\t}", "public Files files();", "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 }", "@Test\n\tpublic void testSetFileInfo() {\n\n\t}", "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 readFileList() throws IOException {\n\t\tint entries = metadataFile.readInt();\n\n\t\tfor (int i = 0; i < entries; i++) {\n\t\t\tint hash = metadataFile.readInt();\n\t\t\tlong dataOffset = metadataFile.readInt() & 0xFFFFFFFFL;\n\t\t\tlong dataSize = metadataFile.readInt() & 0xFFFFFFFFL;\n\t\t\tint pathListIndex = metadataFile.readInt();\n\n\t\t\tlong position = metadataFile.getPosition();\n\t\t\tmetadataFile.setPosition(pathListOffset + 8 + (pathListIndex * 8));\n\n\t\t\tlong pathOffset = metadataFile.readInt() & 0xFFFFFFFFL;\n\t\t\tint pathSize = metadataFile.readInt();\n\n\t\t\tmetadataFile.setPosition(pathListOffset + pathOffset);\n\t\t\tString path = metadataFile.readString(pathSize).trim();\n\n\t\t\tif (hash == hash(path)) \n\t\t\t\tfileEntries.add(new RAFFileEntry(dataOffset, dataSize, path));\n\t\t\telse\n\t\t\t\tthrow new IOException(\"Invalid hash for item '\" + path + \"'.\");\n\n\t\t\tmetadataFile.setPosition(position);\n\t\t}\n\t}", "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 static void main(String[] args) {\n\t\tint count=0;\n\t\t File f=new File(\"C:\\\\Users\\\\kumaujjv\\\\Downloads\\\\Assignments - Copy\");\n\t\t String[] s=f.list();\n\n\t\t for(String s1:s) {\n\t\t File f1=new File(f,s1);\n\t\t if(f1.isFile()) {\n\t\t\t //count++;\n\t\t\t System.out.println(s1);\n\t\t }\n\t\t}\n\t\tSystem.out.println(\"total number : \"+count);\n\n\t\t}", "public float[] accumulateDetailFiles(ArrayList<File> files){\r\n\t\tfloat[] values = new float[100];\r\n\t\tint counter = 0;\r\n\r\n\t for(File file:files){\t\t\r\n\t \tSystem.out.println(file.getName());\r\n\t \tcounter = 0;\r\n\t BufferedReader reader;\r\n\t try{\r\n\t reader = new BufferedReader(new FileReader(file));\r\n\t String line = reader.readLine(); \r\n\t while(line != null){\t\r\n\t \tif(!line.substring(0,1).equals(\"#\")){\r\n\t \t\tString[] values2 = line.split(\" \");\r\n\t \t\tvalues[counter] += Float.valueOf(values2[values2.length-1]);\r\n\t\t \tcounter++;\r\n\t \t}\r\n\t \tline = reader.readLine();\r\n\t }\r\n\t \r\n\t\t\t} catch (FileNotFoundException e) {\r\n\t\t\t System.err.println(\"FileNotFoundException: \" + e.getMessage());\r\n\t\t\t} catch (IOException e) {\r\n\t\t\t System.err.println(\"Caught IOException: \" + e.getMessage());\r\n\t\t\t}\r\n\t }\r\n\r\n\t float[] returnValues = new float[counter];\r\n\t \r\n\t for(int j = 0; j < returnValues.length; j++) \treturnValues[j] = ((float)values[j]/files.size());\r\n\t\r\n\t \r\n \treturn returnValues;\r\n\t}", "ds.hdfs.generated.FileMetadataOrBuilder getFilesOrBuilder(\n int index);", "private static void calculateSizes() {\n for(EmailTypes type : EmailTypes.values()){\n File f = unpackedFiles.get(type);\n setSizes.put(type, Objects.requireNonNull(f.listFiles()).length);\n }\n }", "public int[] filesRemaining();", "public static void main(String[] args) {\n\t\tFile dir = new File(\"H:\");\r\n\t\tString[] filelist = dir.list();\r\n\t\tlong total = 0;\r\n\t\tlong t = 0;\r\n\t\tfor(int i=0;i<filelist.length;i++){\r\n\t\t\t File readfile = new File(\"H:\" + \"\\\\\" + filelist[i]);\r\n\t\t\t t = readFile(readfile)/1024/1024;\r\n\t\t\t System.out.println(\"name=\" + readfile.getName() + \" size:=\" + t + \"MB\");\r\n\t\t\t total += t;\r\n\t\t}\r\n\t\tSystem.out.println(\"OK,all the files is list over,the number is \" + filelist.length + \"the total size is \" + total); \r\n\t}", "@Test\n public void tagFilesShouldReturnNonEmptyTagFiles() throws Exception {\n //given\n givenInfoMessageCode();\n\n //when\n List<IFileSpec> tagFiles = tagDelegator.tagFiles(fileSpecs, LABEL_NAME, opts);\n //then\n assertThat(tagFiles.size(), is(1));\n assertThat(tagFiles.get(0).getDepotPathString(), is(TEST_FILE_DEPOT_PATH));\n }", "public int getFileInfoCount() {\n if (fileInfoBuilder_ == null) {\n return fileInfo_.size();\n } else {\n return fileInfoBuilder_.getCount();\n }\n }", "private static ArrayList<File> buildFilesArray() {\n ArrayList<File> result = new ArrayList<>();\n rAddFilesToArray(workingDirectory, result);\n return result;\n }", "@java.lang.Override\n public entities.Torrent.FileInfoOrBuilder getFilesOrBuilder(\n int index) {\n return files_.get(index);\n }", "java.lang.String getFileNames(int index);", "java.lang.String getFileNames(int index);", "public void filesNotFound(File... f) { }", "public void filesNotFound(File... f) { }", "public static int filesWithSizes (File f)\n\t{\n\t\tif (f.isFile())\n\t\t{\n\t\t\tif (f.length()>= 10000 && f.length() <= 25000)\n\t\t\t{\n\t\t\t\treturn 1;\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\treturn 0;\n\t\t\t}\n\t\t}\n\t\telse\n\t\t{\n\t\t\tint count = 0;\n\t\t\tfor (File file: f.listFiles())\n\t\t\t{\n\t\t\t\tcount += filesWithSizes(file);\n\t\t\t}\n\t\t\treturn count;\n\t\t}\n\t}", "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 }", "public java.lang.String[] getNewFiles(){\r\n return localNewFiles;\r\n }", "entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder();", "entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder();", "@Test\n public void shouldReturnNonEmptyTagFiles() throws Exception {\n //given\n givenInfoMessageCode();\n //when\n List<IFileSpec> tagFiles = tagDelegator.tagFiles(\n fileSpecs,\n LABEL_NAME,\n listOnly1,\n delete1);\n //then\n assertThat(tagFiles.size(), is(1));\n assertThat(tagFiles.get(0).getDepotPathString(), is(TEST_FILE_DEPOT_PATH));\n }", "@Test\n public void maxFiles() throws Throwable {\n MergeFilesOptions opts = new MergeFilesOptions();\n opts.setStream(\"//Ace/dev\");\n opts.setReverseMapping(true);\n opts.setMaxFiles(1);\n opts.setForceStreamMerge(true);\n\n List<IFileSpec> merged = client.mergeFiles(null, null, opts);\n assertEquals(\"wrong number of files\", 1, merged.size());\n\n List<IFileSpec> opened = client.openedFiles(null, null);\n assertEquals(\"files should not have been opened\", 1, opened.size());\n }", "public FileCount(int numFiles){\n this.numFiles = numFiles;\n }", "public int getFileNamesCount() {\n return fileNames_.size();\n }", "static public ObservableList<ImageMetaInfo> getImagesInfo(File path) {\n ObservableList<ImageMetaInfo> observableList = FXCollections.observableArrayList();\n ExtFilter fileFilter = new ExtFilter();\n File[] imageFilesArray = path.listFiles(fileFilter);\n for (File file : imageFilesArray) {\n ImageMetaInfo imageMetaInfo = getImageMetaInfo(file);\n observableList.add(imageMetaInfo);\n }\n return observableList;\n }", "private void get_file_List() {\n\tString file_name=null;\r\n\tfor (int i = 0; i < listOfFiles.length; i++) \r\n\t {\r\n\t \r\n\t if (listOfFiles[i].isFile()) \r\n\t {\r\n\t\t file_name = listOfFiles[i].getName();\r\n\t if (file_name.endsWith(\".xml\") || file_name.endsWith(\".XML\"))\r\n\t {\r\n\t file_list.add(file_name) ;\r\n\t }\r\n\t }\r\n\t }\r\n\t\r\n}", "public static void getListOfAllFileVarianta2() {\n\t\tPath pathToSrc = Paths.get(\"D:\\\\TorrentsMd\");\r\n\t\ttry {\r\n\t\t\t//cu method references\r\n//\t\t\tFiles.walk(pathToSrc)\r\n//\t\t\t\t.map(Path::toFile)\r\n//\t\t\t\t.filter(File::isFile)\r\n//\t\t\t\t.map(File::getName)\r\n//\t\t\t\t.sorted()\r\n//\t\t\t\t.forEach(System.out::println);\r\n\t\t\t\r\n\t\t\t//cu lambda, dar dpdv semantic sunt identice\r\n\t\t\tFiles.walk(pathToSrc)\r\n\t\t\t\t .map(path -> path.toFile()) //trasnform fiecare Path din stream intr-un File\r\n\t\t\t\t .filter(file -> file.isFile()) //filtrez doar fisierele\r\n\t\t\t\t .map(file -> file.getName())//transform fiecare File din stream intr-un String, care e numele sau\r\n\t\t\t\t .sorted()\r\n\t\t\t\t .forEach(file -> System.out.println(file));\r\n\t\t} catch (IOException e) {\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t}", "@java.lang.Override\n public int getFilesCount() {\n return files_.size();\n }", "static List<File> gitAttributes(File projectDir, Iterable<File> files) {\n List<File> gitAttrFiles = new ArrayList<>();\n Set<File> visitedFolders = new HashSet<>();\n for (File file : files) {\n gitAttrAddWithParents(projectDir, file.getAbsoluteFile(), visitedFolders, gitAttrFiles);\n }\n return gitAttrFiles;\n }", "public static int getNumberOfFiles() {\n\t\treturn EXTENSIONS.length;\n\t}", "public Map<String, NewData> getSnapshotFiles (final List<String> files){\n \t\tMap<String,NewData> w = new HashMap<String,NewData>();\n \t\tList<String> l = new LinkedList<String>();\n \t\tString s=\"\";\n \t\t\n \t\tfor (String str : files){\n \t\t\tw.put(str, new NewData(str));\n \t\t\tl=this.readFile(this.getSnapshot().getRoot() + File.separatorChar +str);\n \t\t\t\n \t\t\tfor (String str2 : l)\n \t\t\t\ts=s+str2+\"\\n\";\n \t\t\t\n \t\t\tw.get(str).setFileContent(s);\n \t\t\tw.get(str).getLclock().putAll(this.getFilelist().get(str));\n \t\t}\n \t\t\t\t\n \t\treturn w;\n \t}", "entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder(\n int index);", "public void getPeerFiles(){\n\t\t\n\t\tFile[] files = new File(path).listFiles();\n\t\tfor (File file : files) {\n\t\t\tfileNames.add(file.getName());\n\t\t}\n\t\tSystem.out.println(\"Number of Files Registerd to the server - \"+fileNames.size());\n\t\tSystem.out.println(\"To search for file give command: get <Filename>\");\n\t\tSystem.out.println(\"To refresh type command: refresh\");\n\t\tSystem.out.println(\"To disconnect type command: disconnect\");\n\t}", "public static void main(String[] args) {\nFile files=new File(\"C:\\\\Users\\\\k74\");\nString filenames[]=files.list();\nfor(String filename :filenames)\n\tSystem.out.println(filename);\n\t}", "public static void rankFiles(Hashtable<?, Integer> fname, int numberOfOccurrences) \r\n\t{\n\t\tArrayList<Map.Entry<?, Integer>> arrayList = new ArrayList(fname.entrySet());\r\n\r\n\t\tCollections.sort(arrayList, new Comparator<Map.Entry<?, Integer>>() \r\n\t\t{\r\n\t\t\tpublic int compare(Map.Entry<?, Integer> obj1, Map.Entry<?, Integer> obj2) \r\n\t\t\t{\r\n\t\t\t\treturn obj1.getValue().compareTo(obj2.getValue());\r\n\t\t\t}\r\n\t\t});\r\n\r\n\t\tCollections.reverse(arrayList);\r\n\r\n\t\tif (numberOfOccurrences > 0) \r\n\t\t{\r\n\t\t\tSystem.out.println(\"\\n------Top 10 search results-----\\n\");\r\n\r\n\t\t\tint my_number = 10;\r\n\t\t\tint j = 1;\r\n\t\t\twhile (arrayList.size() > j && my_number > 0) \r\n\t\t\t{\r\n\t\t\t\tSystem.out.println(\"(\" + j + \") \" + arrayList.get(j) + \" times \");\r\n\t\t\t\tj++;\r\n\t\t\t\tmy_number--;\r\n\t\t\t}\r\n\t\t} \r\n\t}", "@Override\n public List<FileInfo> getLibrarySubFiles(FileInfo fileInfo) {\n return null;\n }", "public final void mo14831s() {\n Iterator it = ((ArrayList) mo14817d()).iterator();\n while (it.hasNext()) {\n File file = (File) it.next();\n if (file.listFiles() != null) {\n m6739b(file);\n long c = m6740c(file, false);\n if (((long) this.f6567b.mo14797a()) != c) {\n try {\n new File(new File(file, String.valueOf(c)), \"stale.tmp\").createNewFile();\n } catch (IOException unused) {\n f6563c.mo14884b(6, \"Could not write staleness marker.\", new Object[0]);\n }\n }\n for (File b : file.listFiles()) {\n m6739b(b);\n }\n }\n }\n }", "@Test\n public void testGetFilesList() {\n System.out.println(\"getFilesList from existing folder with existing subfiles\");\n String entryPath = folder.toString()+fSeparator+\"Images\";\n FilesDao instance = new FilesDao();\n String[] expResult = new String[2];\n expResult[0] = \"testImg.jpg\";\n expResult[1] = \"testImg2.jpg\";\n String[] result;\n try{\n result = instance.getFilesList(entryPath);\n }catch(EntryException ex){\n result = null;\n }\n assertArrayEquals(expResult, result);\n }", "private void populateList(File[] filesList) {\n Log.i(\"mPackage\",\"FilesList: \"+filesList.length);\n for(File file : filesList) {\n //Log.i(\"mPackage\",\"Path: \"+file);\n if(file.isDirectory()) {\n populateList(file.listFiles());\n }\n else {\n MarkerModel markerModel = new MarkerModel();\n Boolean containsObj = false;\n for(File modelFile : filesList) {\n String[] extension = modelFile.getName().split(\"\\\\.\");\n if(extension[extension.length-1].equals(\"obj\")) {\n markerModel.setObj(modelFile.getPath());\n containsObj = true;\n }\n else if(extension[extension.length-1].equals(\"mtl\"))\n markerModel.setMtl(modelFile.getPath());\n else\n markerModel.addTexture(modelFile.getPath());\n }\n if(containsObj)\n models.add(markerModel);\n return;\n //models.add(file.getPath());\n //Log.i(\"mPackage\",\"Path: \"+file.getPath());\n }\n }\n }", "java.util.List<? extends ds.hdfs.generated.FileMetadataOrBuilder> \n getFilesOrBuilderList();", "public List<String> splitByCount(String fileName, int count)\n throws IOException, InterruptedException {\n\n List<String> parts = new ArrayList<String>();\n File file = new File(fileName);\n int blockSize = (int) Math.ceil(file.length() / (double) count);\n RandomAccessFile raf = new RandomAccessFile(fileName, \"r\");\n long totalLen = raf.length();\n CountDownLatch latch = new CountDownLatch(count);\n\n long startPos = 0L;\n long nextPos = 0L;\n\n for (int i = 0; i < count; i++) {\n nextPos = Long.min((long) (i + 1) * blockSize, totalLen - 1);\n raf.seek(nextPos);\n //Calculate the start position for the next file.\n do {\n raf.seek(nextPos);\n if (raf.readByte() == '\\n') {\n nextPos = nextPos + 1;\n break;\n }\n nextPos--;\n } while (true);\n long readSizeTemp = nextPos - startPos;\n int readSize = (int) readSizeTemp;\n String partFileName = fileName.replace(\"raw\", \"raw\" + (i + 1));\n new SplitRunnable(readSize, startPos, partFileName, file, latch).run();\n startPos = nextPos;\n parts.add(partFileName);\n }\n //Wait until all the files are written.\n latch.await();\n return parts;\n }", "public float[] accumulateSimpleMixFiles(ArrayList<File> files){\r\n\t\t\tfloat[] returnValue = new float[10];\r\n\t\t\tfloat[] values = new float[10];\r\n\t\t\t\r\n\t\t for(File file:files){\t\t\t\t\t\r\n\t\t BufferedReader reader;\r\n\t\t try{\r\n\t\t reader = new BufferedReader(new FileReader(file));\r\n\t\t String line = reader.readLine(); \r\n\t\t while(line != null){\t\r\n\t\t \tif(line.substring(0,5).equals(\"Total\")){\r\n\t\t \t\tString[] values2 = line.split(\" \");\r\n\t\t \t\t\r\n\t\t \t\tfor(int i = 2; i < values2.length; i++) values[i-2] += Float.valueOf(values2[i]);\r\n\t\t \t}\r\n\t\t \tline = reader.readLine();\r\n\t\t }\r\n\t\t \r\n\t\t\t\t} catch (FileNotFoundException e) {\r\n\t\t\t\t System.err.println(\"FileNotFoundException: \" + e.getMessage());\r\n\t\t\t\t} catch (IOException e) {\r\n\t\t\t\t System.err.println(\"Caught IOException: \" + e.getMessage());\r\n\t\t\t\t}\r\n\t\t }\r\n\r\n\t\t for(int j = 0; j < values.length; j++) returnValue[j] = (float)values[j]/files.size();\t\r\n\t\t \r\n\t\t return returnValue;\r\n\t\t}", "private Map<ServerFile, Integer> totalFiles(){\n\t\tMap<ServerFile, Integer> ret = new HashMap<ServerFile, Integer>();\n\t\tfor (ClientObj c : clients){\n\t\t\tfor (ServerFile f : c.getFiles()){\n\t\t\t\tif (!ret.containsKey(f))\n\t\t\t\t\tret.put(f, 1);\n\t\t\t\telse\n\t\t\t\t\tret.put(f, ret.get(f) + 1);\n\t\t\t}\n\t\t}\n\t\treturn ret;\n\t}", "int getSourceFileCount();", "public void checkForRepeats(String selectedMarket)\r\n {\r\n System.out.println(backUpPath + selectedMarket);\r\n \tFile f = new File(backUpPath + selectedMarket);\r\n \tArrayList<File> fileContents = new ArrayList<File>(Arrays.asList(f.listFiles()));\r\n \t\r\n for(int i = 0;i< scriptAds.size();i++)\r\n \t{\r\n String currentFileName;\r\n long modified;\r\n Date modifiedDate;\r\n \r\n for(int j = 0;j < fileContents.size();j++)\r\n {\r\n currentFileName = fileContents.get(j).getName();\r\n \r\n if(currentFileName.contains(\".\"))\r\n {\r\n currentFileName = currentFileName.substring(0,currentFileName.lastIndexOf(\".\"));\r\n }\r\n if(scriptAds.get(i).getAdNumber().toLowerCase().equals(currentFileName.toLowerCase()))\r\n {\r\n modified = fileContents.get(j).lastModified();\r\n modifiedDate = new Date(modified);\r\n \r\n String dateToPrint = DateFormat.getDateTimeInstance(DateFormat.SHORT, DateFormat.SHORT).format(modifiedDate);\r\n dateToPrint = dateToPrint.substring(0,dateToPrint.indexOf(\" \"));\r\n \r\n infoText.append(\"<p>CC# \" + scriptAds.get(i).getccNumber() \r\n + \" matches a backup of last modified : \" + scriptAds.get(i).getAdNumber() \r\n + \" \" + dateToPrint + \"\\nin \" + importFileName + \"</p>\");\r\n }\r\n }\r\n }\r\n }", "public void mo83570c() {\n File[] listFiles;\n File file = new File(this.f60297d);\n if (file.isDirectory() && (listFiles = file.listFiles()) != null && listFiles.length >= this.f60294a) {\n Arrays.sort(listFiles, this.f60295b);\n for (int i = 0; i < listFiles.length && listFiles.length >= this.f60294a; i++) {\n File file2 = listFiles[i];\n if (!this.f60299f.contains(file2)) {\n ArgusLogger.m85574b(String.format(C6969H.m41409d(\"G4D8AC619BE22AF20E809D047FEE1C6C47DC3D008AD3FB969E71DD05BE6EAD1D26DC3D008AD3FB969EA079D41E6A5D1D26880DD1FBB70E36CF547\"), file2.getPath()));\n mo83569b(Collections.singleton(file2));\n }\n }\n }\n }", "public File[] filesReadOnly(File... f) { return f; }", "public List<File> getFiles();", "@Test\n\tpublic void testCountItems() {\n\t\tFile test = new File(\"X:\\\\Documents\\\\PS9 Test\");\n\t\tassertEquals(13,Explorer.countItems(test));\n\t}", "void update(FileInfo fileInfo);", "private static ArrayList m5336a(File[] fileArr) {\n ArrayList arrayList = new ArrayList();\n int i = 0;\n while (i < fileArr.length) {\n if (fileArr[i].isFile() && fileArr[i].getName().length() == 10 && TextUtils.isDigitsOnly(fileArr[i].getName())) {\n arrayList.add(fileArr[i]);\n }\n i++;\n }\n return arrayList;\n }", "@Test(timeout = 4000)\n public void test23() throws Throwable {\n FileUtil fileUtil0 = new FileUtil();\n ArrayList<Object> arrayList0 = new ArrayList<Object>();\n File file0 = fileUtil0.getAccessories(\"YP=8V~@ch)3vts}p8\", arrayList0);\n assertNull(file0);\n }", "public void findDupe(int choice) {\n\n\t\tString fullName = null;\n\t\tboolean flag = true;\n\n\t\tfor (Path file : filesArray) {\n\t\t\ttry {\n\t\t\t\tfullName = getFullName(file, choice);\n\t\t\t} catch (Exception e) {\n\t\t\t\tSystem.out.println(\"problem read file: \" + file);\n\t\t\t\tflag = false;\n\t\t\t}\n\n\t\t\tif (flag) {\n\t\t\t\tmultiMap.put(fullName, file);\n\t\t\t\tCollection<Path> vals = (Collection<Path>) multiMap.get(fullName);\n\n\t\t\t\tif (vals.size() > 1) {\n\t\t\t\t\tcounter++;\n\t\t\t\t}\n\t\t\t}\n\t\t\tflag = true;\n\t\t}\n\n\t\tSet<String> keys = multiMap.keySet();\n\t\tIterator<String> items = keys.iterator();\n\n\t\twhile (items.hasNext()) {\n\t\t\tString str = (String) items.next();\n\n\t\t\t@SuppressWarnings(\"unchecked\")\n\t\t\tCollection<Path> val = (Collection<Path>) multiMap.get(str);\n\t\t\tArrayList<Path> arr = new ArrayList<>(val);\n\n\t\t\tif (arr.size() <= 1)\n\t\t\t\titems.remove();\n\n\t\t}\n\n\t}", "java.util.List<entities.Torrent.FileInfo>\n getFileInfoList();", "List<DownloadChunk> mo54445j(int i);", "void visitFile(StorageUnit unit, long off, long lim);", "public void fileInfo(String info);", "private List<FileInfoDTO> createFileInfoDTOs(MultipartFile file1, MultipartFile file2, int totalLinesFirstFile,\n\t\t\tint totalLinesSecondFile) {\n\t\tint unmatchedRecordsFirstFile = firstFileMap.getCountMap().values().stream().mapToInt(Integer::valueOf).sum();\n\t\tint unmatchedRecordsSecondFile = secondFileMap.getCountMap().values().stream().mapToInt(Integer::valueOf).sum();\n\n\t\tFileInfo firstFileInfo = new FileInfo();\n\t\tfirstFileInfo.setName(file1.getOriginalFilename());\n\t\tfirstFileInfo.setTotalRecords(totalLinesFirstFile);\n\t\tfirstFileInfo.setUnmatchedRecords(unmatchedRecordsFirstFile);\n\t\tfirstFileInfo.setMatchingRecords(totalLinesFirstFile - unmatchedRecordsFirstFile);\n\n\t\tFileInfo secondFileInfo = new FileInfo();\n\t\tsecondFileInfo.setName(file2.getOriginalFilename());\n\t\tsecondFileInfo.setTotalRecords(totalLinesSecondFile);\n\t\tsecondFileInfo.setUnmatchedRecords(unmatchedRecordsSecondFile);\n\t\tsecondFileInfo.setMatchingRecords(totalLinesSecondFile - unmatchedRecordsSecondFile);\n\n\t\treturn List.of(firstFileInfo, secondFileInfo).stream()\n\t\t\t\t.map(file -> DTOConverter.convertFileInfoToFileInfoDTO(file)).collect(Collectors.toList());\n\t}", "public void a(File file, List<WxAndQqScanPathInfo> list) {\n if (file != null && !this.p) {\n File[] listFiles = file.listFiles();\n if (listFiles != null) {\n int length = listFiles.length;\n int i2 = 0;\n while (i2 < length) {\n File file2 = listFiles[i2];\n if (!this.p) {\n if (file2 != null) {\n if (!file2.isDirectory()) {\n if (!\".nomedia\".equals(file2.getName()) && file2.length() >= 5 && file2 != null && file2.exists()) {\n CleanWxItemInfo cleanWxItemInfo = new CleanWxItemInfo();\n cleanWxItemInfo.setFileType(((WxAndQqScanPathInfo) list.get(0)).getType());\n cleanWxItemInfo.setFile(file2);\n cleanWxItemInfo.setDays(TimeUtil.changeTimeToDay(cleanWxItemInfo.getFile().lastModified()));\n cleanWxItemInfo.setFileSize(file2.length());\n switch (((WxAndQqScanPathInfo) list.get(0)).getType()) {\n case 1:\n o += cleanWxItemInfo.getFileSize();\n d.setTotalSize(d.getTotalSize() + cleanWxItemInfo.getFileSize());\n d.setTotalNum(d.getTotalNum() + 1);\n if (d.isChecked()) {\n cleanWxItemInfo.setChecked(true);\n d.setSelectSize(d.getSelectSize() + cleanWxItemInfo.getFileSize());\n d.setSelectNum(d.getSelectNum() + 1);\n }\n cleanWxItemInfo.setDays(TimeUtil.changeTimeToDay(0));\n a(d, cleanWxItemInfo);\n break;\n case 2:\n if (!file2.getAbsolutePath().endsWith(\"_cover\") && !new File(file2.getAbsolutePath() + \"_cover\").exists()) {\n if (!\"finishActivity\".equals(this.r) && !\"bigGarbageFragment\".equals(this.r)) {\n if (e.isFinished()) {\n j.setTotalNum(j.getTotalNum() + 1);\n j.setTotalSize(j.getTotalSize() + cleanWxItemInfo.getFileSize());\n a(j, cleanWxItemInfo);\n break;\n } else {\n o += cleanWxItemInfo.getFileSize();\n e.setTotalNum(e.getTotalNum() + 1);\n e.setTotalSize(e.getTotalSize() + cleanWxItemInfo.getFileSize());\n if (e.isChecked()) {\n cleanWxItemInfo.setChecked(true);\n e.setSelectNum(e.getSelectNum() + 1);\n e.setSelectSize(e.getSelectSize() + cleanWxItemInfo.getFileSize());\n }\n a(e, cleanWxItemInfo);\n break;\n }\n }\n } else {\n j.setTotalSize(j.getTotalSize() + cleanWxItemInfo.getFileSize());\n j.setTotalNum(j.getTotalNum() + 1);\n a(j, cleanWxItemInfo);\n break;\n }\n break;\n case 3:\n o += cleanWxItemInfo.getFileSize();\n f.setTotalSize(f.getTotalSize() + cleanWxItemInfo.getFileSize());\n f.setTotalNum(f.getTotalNum() + 1);\n if (f.isChecked()) {\n cleanWxItemInfo.setChecked(true);\n f.setSelectSize(f.getSelectSize() + cleanWxItemInfo.getFileSize());\n f.setSelectNum(f.getSelectNum() + 1);\n }\n a(f, cleanWxItemInfo);\n break;\n case 4:\n if (file2.getName().startsWith(\"snstblur_src_\")) {\n if (Constants.PRIVATE_LOG_CONTROLER) {\n break;\n } else {\n file2.delete();\n break;\n }\n } else {\n if (!file2.getName().startsWith(\"snst_\")) {\n if (file2.getName().startsWith(\"snsu_\") && new File(file2.getAbsolutePath().replace(\"snsu_\", \"snsb_\")).exists()) {\n break;\n }\n } else if (!new File(file2.getAbsolutePath().replace(\"snst_\", \"snsu_\")).exists()) {\n if (new File(file2.getAbsolutePath().replace(\"snst_\", \"snsb_\")).exists()) {\n break;\n }\n } else {\n break;\n }\n o += cleanWxItemInfo.getFileSize();\n g.setTotalSize(g.getTotalSize() + cleanWxItemInfo.getFileSize());\n g.setTotalNum(g.getTotalNum() + 1);\n if (g.isChecked()) {\n cleanWxItemInfo.setChecked(true);\n g.setSelectSize(g.getSelectSize() + cleanWxItemInfo.getFileSize());\n g.setSelectNum(g.getSelectNum() + 1);\n }\n a(g, cleanWxItemInfo);\n break;\n }\n case 5:\n if (file2.getName().endsWith(\".jpg_hevc\")) {\n if (Constants.PRIVATE_LOG_CONTROLER) {\n break;\n } else {\n file2.delete();\n break;\n }\n } else {\n if (file2.getName().startsWith(\"th_\")) {\n if (!file2.getName().endsWith(\"hd\")) {\n break;\n } else {\n break;\n }\n }\n h.setTotalSize(h.getTotalSize() + cleanWxItemInfo.getFileSize());\n h.setTotalNum(h.getTotalNum() + 1);\n a(h, cleanWxItemInfo);\n break;\n }\n case 6:\n if (!file2.getAbsolutePath().contains(\"download/appbrand\")) {\n if (file2.getName().endsWith(\".jpg\")) {\n if (!new File(file2.getAbsolutePath().replace(\".jpg\", \".mp4\")).exists() && !Constants.PRIVATE_LOG_CONTROLER) {\n file2.delete();\n break;\n }\n } else {\n i.setTotalSize(i.getTotalSize() + cleanWxItemInfo.getFileSize());\n i.setTotalNum(i.getTotalNum() + 1);\n a(i, cleanWxItemInfo);\n break;\n }\n } else {\n break;\n }\n case 8:\n k.setTotalSize(k.getTotalSize() + cleanWxItemInfo.getFileSize());\n k.setTotalNum(k.getTotalNum() + 1);\n a(k, cleanWxItemInfo);\n break;\n case 9:\n if (!file2.getName().endsWith(\".mp4\")) {\n l.setTotalSize(l.getTotalSize() + cleanWxItemInfo.getFileSize());\n l.setTotalNum(l.getTotalNum() + 1);\n l.getMineList().add(cleanWxItemInfo);\n a(l, cleanWxItemInfo);\n break;\n } else {\n m.setTotalSize(m.getTotalSize() + cleanWxItemInfo.getFileSize());\n m.setTotalNum(m.getTotalNum() + 1);\n m.getMineList().add(cleanWxItemInfo);\n a(m, cleanWxItemInfo);\n break;\n }\n case 10:\n n.setTotalSize(n.getTotalSize() + cleanWxItemInfo.getFileSize());\n n.setTotalNum(n.getTotalNum() + 1);\n a(n, cleanWxItemInfo);\n break;\n }\n }\n } else {\n try {\n if (file2.listFiles() == null || file2.listFiles().length == 0) {\n FileUtils.deleteFileAndFolder(file2);\n }\n } catch (Exception e2) {\n Logger.iCatch(Logger.TAG, Logger.ZYTAG, \"CleanWxClearNewActivity---wxFileScan ---- \", e2);\n }\n a(file2, list);\n }\n }\n i2++;\n } else {\n return;\n }\n }\n }\n }\n }", "java.util.List<? extends entities.Torrent.FileInfoOrBuilder>\n getFileInfoOrBuilderList();", "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 }", "public Builder addAllFiles(\n java.lang.Iterable<? extends entities.Torrent.FileInfo> values) {\n if (filesBuilder_ == null) {\n ensureFilesIsMutable();\n com.google.protobuf.AbstractMessageLite.Builder.addAll(\n values, files_);\n onChanged();\n } else {\n filesBuilder_.addAllMessages(values);\n }\n return this;\n }", "public filesMB() {\n }", "com.google.protobuf.ByteString\n getFileNamesBytes(int index);", "public int getFileNamesCount() {\n return fileNames_.size();\n }", "@java.lang.Override\n public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder(\n int index) {\n return fileInfo_.get(index);\n }" ]
[ "0.65325207", "0.6227456", "0.6177881", "0.6116598", "0.6065684", "0.6065684", "0.590164", "0.58970237", "0.58970237", "0.5783433", "0.57750136", "0.5763771", "0.5762734", "0.57547295", "0.5746625", "0.5744839", "0.5644452", "0.563878", "0.5628507", "0.56053144", "0.5601631", "0.5583571", "0.55456394", "0.5545325", "0.5545274", "0.5519314", "0.55032945", "0.5502879", "0.5497437", "0.54956275", "0.5495291", "0.54928", "0.5474748", "0.5458041", "0.54520524", "0.54351526", "0.5411701", "0.5409407", "0.5396235", "0.5388728", "0.5378012", "0.537654", "0.53608066", "0.5359268", "0.53519815", "0.5335172", "0.5334883", "0.5334883", "0.53343636", "0.53343636", "0.5319273", "0.5309602", "0.53086674", "0.52990717", "0.52990717", "0.5284801", "0.5278754", "0.5276997", "0.5274732", "0.52718306", "0.52717876", "0.5270142", "0.5268754", "0.5264792", "0.5254606", "0.5237259", "0.52320284", "0.52265704", "0.5221797", "0.5220387", "0.5209014", "0.5206498", "0.519874", "0.51969546", "0.5187828", "0.5185607", "0.5185165", "0.518249", "0.5176273", "0.5165428", "0.51650506", "0.5165015", "0.5163598", "0.5161906", "0.51600796", "0.51514554", "0.5150045", "0.51442325", "0.5133645", "0.51309294", "0.5130048", "0.51299196", "0.5128534", "0.51266265", "0.5125555", "0.5115963", "0.51151603", "0.51146954", "0.51012677", "0.50983685", "0.5096151" ]
0.0
-1
repeated .FileInfo files = 4;
public entities.Torrent.FileInfoOrBuilder getFilesOrBuilder( int index) { if (filesBuilder_ == null) { return files_.get(index); } else { return filesBuilder_.getMessageOrBuilder(index); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "int getFileInfoCount();", "public void incFileCount(){\n\t\tthis.num_files++;\n\t}", "entities.Torrent.FileInfo getFiles(int index);", "public Files(){\n this.fileNameArray.add(\"bridge_1.txt\");\n this.fileNameArray.add(\"bridge_2.txt\");\n this.fileNameArray.add(\"bridge_3.txt\");\n this.fileNameArray.add(\"bridge_4.txt\");\n this.fileNameArray.add(\"bridge_5.txt\");\n this.fileNameArray.add(\"bridge_6.txt\");\n this.fileNameArray.add(\"bridge_7.txt\");\n this.fileNameArray.add(\"bridge_8.txt\");\n this.fileNameArray.add(\"bridge_9.txt\");\n this.fileNameArray.add(\"ladder_1.txt\");\n this.fileNameArray.add(\"ladder_2.txt\");\n this.fileNameArray.add(\"ladder_3.txt\");\n this.fileNameArray.add(\"ladder_4.txt\");\n this.fileNameArray.add(\"ladder_5.txt\");\n this.fileNameArray.add(\"ladder_6.txt\");\n this.fileNameArray.add(\"ladder_7.txt\");\n this.fileNameArray.add(\"ladder_8.txt\");\n this.fileNameArray.add(\"ladder_9.txt\");\n }", "int getFileNamesCount();", "int getFileNamesCount();", "ds.hdfs.generated.FileMetadata getFiles(int index);", "int getFilesCount();", "int getFilesCount();", "int getFileCount();", "private void gatherFile(FileStatus[] fstat)\r\n\t{\r\n\t inputSize = 0;\t\r\n\t paths = new Path[fstat.length];\t\r\n\t for(int i=0;i<fstat.length;i++)\r\n\t {\r\n\t inputSize+=fstat[i].getLen();\r\n\t paths[i] = fstat[i].getPath();\r\n\t }\r\n\t }", "@java.lang.Override\n public int getFileInfoCount() {\n return fileInfo_.size();\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}", "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}", "private void initializeFileArrays(){\n File downloadedFilesFolder = new File(MainActivity.DB_PATH);\n File[] files = downloadedFilesFolder.listFiles();\n System.out.println(\"*** \" + files.length + \" ***\");\n if(files != null){\n System.out.println(\"*** \" + files.length + \" ***\");\n for(File f : files){\n if(f != null){\n System.out.println(\"***\\n FILE FOUND - \" + f.getAbsolutePath()+\"\\nSIZE - \" +\n f.length() + \" BYTES \\n***\");\n fileNames.add(f.getName());\n fileSizes.add(f.length()+\"\");\n this.files.add(f);\n }\n }\n }\n }", "entities.Torrent.FileInfoOrBuilder getFilesOrBuilder(\n int index);", "List<UploadInfo> simpleUploadAll(List<SimpleFile> files);", "public List<FileUpload> getFileUploads(int numberOfFileUploads, Long startIndex) throws AppException;", "void addFile(int numberLines);", "private void updateFiles() {\n\t}", "@Override\n public void addSingleFile(FileInfo file) {\n }", "entities.Torrent.FileInfo getFileInfo(int index);", "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}", "private static void showFiles(File[] files) {\n\t\t for (File file : files) {\r\n\t\t if (file.isDirectory()) {\r\n\t\t // System.out.println(\"Directory: \" + file.getName());\r\n\t\t showFiles(file.listFiles()); // Calls same method again.\r\n\t\t } else {\r\n\t\t // System.out.println(\"File: \" + file.getName());\r\n\t\t }\r\n\t\t }\r\n\t\t\r\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 }", "private void findRecordings(){\n File[] files = new File(\"Concatenated/\").listFiles();\n _records.clear();\n _versionNum = 1;\n for (File file : files){\n if (file.isFile()){\n String nameOnFile = file.getName().substring(file.getName().lastIndexOf('_')+1,file.getName().lastIndexOf('.')).toUpperCase();\n if (nameOnFile.equals(_name.toUpperCase())){\n _records.add(file.getName());\n _versionNum++;\n }\n }\n }\n }", "private void checkDuplicateOfFile(Iterable<FileInfo> files, DuplicateDataDTO data) {\n for(FileInfo nextFile: files) {\n for(FileInfo nextFile2: files) {\n if(nextFile.duplicate(nextFile2)) {\n LOG.info(\"Duplicate - {}\", nextFile);\n\n processDuplicate(nextFile,data);\n }\n }\n }\n }", "public TagFileInfo[] getTagFiles() {\n/* 176 */ return this.tagFiles;\n/* */ }", "@Test\n\tpublic void testNumLargeFiles() {\n\t\tFile test = new File(\"X:\\\\Documents\\\\PS9 Test\");\n\t\tassertEquals(6,Explorer.numLargeFiles(test));\n\t}", "public double getNumFiles(){\n\t\treturn (this.num_files);\n\t}", "public Files files();", "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 }", "@Test\n\tpublic void testSetFileInfo() {\n\n\t}", "private void readFileList() throws IOException {\n\t\tint entries = metadataFile.readInt();\n\n\t\tfor (int i = 0; i < entries; i++) {\n\t\t\tint hash = metadataFile.readInt();\n\t\t\tlong dataOffset = metadataFile.readInt() & 0xFFFFFFFFL;\n\t\t\tlong dataSize = metadataFile.readInt() & 0xFFFFFFFFL;\n\t\t\tint pathListIndex = metadataFile.readInt();\n\n\t\t\tlong position = metadataFile.getPosition();\n\t\t\tmetadataFile.setPosition(pathListOffset + 8 + (pathListIndex * 8));\n\n\t\t\tlong pathOffset = metadataFile.readInt() & 0xFFFFFFFFL;\n\t\t\tint pathSize = metadataFile.readInt();\n\n\t\t\tmetadataFile.setPosition(pathListOffset + pathOffset);\n\t\t\tString path = metadataFile.readString(pathSize).trim();\n\n\t\t\tif (hash == hash(path)) \n\t\t\t\tfileEntries.add(new RAFFileEntry(dataOffset, dataSize, path));\n\t\t\telse\n\t\t\t\tthrow new IOException(\"Invalid hash for item '\" + path + \"'.\");\n\n\t\t\tmetadataFile.setPosition(position);\n\t\t}\n\t}", "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 static void main(String[] args) {\n\t\tint count=0;\n\t\t File f=new File(\"C:\\\\Users\\\\kumaujjv\\\\Downloads\\\\Assignments - Copy\");\n\t\t String[] s=f.list();\n\n\t\t for(String s1:s) {\n\t\t File f1=new File(f,s1);\n\t\t if(f1.isFile()) {\n\t\t\t //count++;\n\t\t\t System.out.println(s1);\n\t\t }\n\t\t}\n\t\tSystem.out.println(\"total number : \"+count);\n\n\t\t}", "public float[] accumulateDetailFiles(ArrayList<File> files){\r\n\t\tfloat[] values = new float[100];\r\n\t\tint counter = 0;\r\n\r\n\t for(File file:files){\t\t\r\n\t \tSystem.out.println(file.getName());\r\n\t \tcounter = 0;\r\n\t BufferedReader reader;\r\n\t try{\r\n\t reader = new BufferedReader(new FileReader(file));\r\n\t String line = reader.readLine(); \r\n\t while(line != null){\t\r\n\t \tif(!line.substring(0,1).equals(\"#\")){\r\n\t \t\tString[] values2 = line.split(\" \");\r\n\t \t\tvalues[counter] += Float.valueOf(values2[values2.length-1]);\r\n\t\t \tcounter++;\r\n\t \t}\r\n\t \tline = reader.readLine();\r\n\t }\r\n\t \r\n\t\t\t} catch (FileNotFoundException e) {\r\n\t\t\t System.err.println(\"FileNotFoundException: \" + e.getMessage());\r\n\t\t\t} catch (IOException e) {\r\n\t\t\t System.err.println(\"Caught IOException: \" + e.getMessage());\r\n\t\t\t}\r\n\t }\r\n\r\n\t float[] returnValues = new float[counter];\r\n\t \r\n\t for(int j = 0; j < returnValues.length; j++) \treturnValues[j] = ((float)values[j]/files.size());\r\n\t\r\n\t \r\n \treturn returnValues;\r\n\t}", "ds.hdfs.generated.FileMetadataOrBuilder getFilesOrBuilder(\n int index);", "private static void calculateSizes() {\n for(EmailTypes type : EmailTypes.values()){\n File f = unpackedFiles.get(type);\n setSizes.put(type, Objects.requireNonNull(f.listFiles()).length);\n }\n }", "public int[] filesRemaining();", "public static void main(String[] args) {\n\t\tFile dir = new File(\"H:\");\r\n\t\tString[] filelist = dir.list();\r\n\t\tlong total = 0;\r\n\t\tlong t = 0;\r\n\t\tfor(int i=0;i<filelist.length;i++){\r\n\t\t\t File readfile = new File(\"H:\" + \"\\\\\" + filelist[i]);\r\n\t\t\t t = readFile(readfile)/1024/1024;\r\n\t\t\t System.out.println(\"name=\" + readfile.getName() + \" size:=\" + t + \"MB\");\r\n\t\t\t total += t;\r\n\t\t}\r\n\t\tSystem.out.println(\"OK,all the files is list over,the number is \" + filelist.length + \"the total size is \" + total); \r\n\t}", "@Test\n public void tagFilesShouldReturnNonEmptyTagFiles() throws Exception {\n //given\n givenInfoMessageCode();\n\n //when\n List<IFileSpec> tagFiles = tagDelegator.tagFiles(fileSpecs, LABEL_NAME, opts);\n //then\n assertThat(tagFiles.size(), is(1));\n assertThat(tagFiles.get(0).getDepotPathString(), is(TEST_FILE_DEPOT_PATH));\n }", "public int getFileInfoCount() {\n if (fileInfoBuilder_ == null) {\n return fileInfo_.size();\n } else {\n return fileInfoBuilder_.getCount();\n }\n }", "private static ArrayList<File> buildFilesArray() {\n ArrayList<File> result = new ArrayList<>();\n rAddFilesToArray(workingDirectory, result);\n return result;\n }", "@java.lang.Override\n public entities.Torrent.FileInfoOrBuilder getFilesOrBuilder(\n int index) {\n return files_.get(index);\n }", "java.lang.String getFileNames(int index);", "java.lang.String getFileNames(int index);", "public void filesNotFound(File... f) { }", "public void filesNotFound(File... f) { }", "public static int filesWithSizes (File f)\n\t{\n\t\tif (f.isFile())\n\t\t{\n\t\t\tif (f.length()>= 10000 && f.length() <= 25000)\n\t\t\t{\n\t\t\t\treturn 1;\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\treturn 0;\n\t\t\t}\n\t\t}\n\t\telse\n\t\t{\n\t\t\tint count = 0;\n\t\t\tfor (File file: f.listFiles())\n\t\t\t{\n\t\t\t\tcount += filesWithSizes(file);\n\t\t\t}\n\t\t\treturn count;\n\t\t}\n\t}", "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 }", "public java.lang.String[] getNewFiles(){\r\n return localNewFiles;\r\n }", "entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder();", "entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder();", "@Test\n public void shouldReturnNonEmptyTagFiles() throws Exception {\n //given\n givenInfoMessageCode();\n //when\n List<IFileSpec> tagFiles = tagDelegator.tagFiles(\n fileSpecs,\n LABEL_NAME,\n listOnly1,\n delete1);\n //then\n assertThat(tagFiles.size(), is(1));\n assertThat(tagFiles.get(0).getDepotPathString(), is(TEST_FILE_DEPOT_PATH));\n }", "@Test\n public void maxFiles() throws Throwable {\n MergeFilesOptions opts = new MergeFilesOptions();\n opts.setStream(\"//Ace/dev\");\n opts.setReverseMapping(true);\n opts.setMaxFiles(1);\n opts.setForceStreamMerge(true);\n\n List<IFileSpec> merged = client.mergeFiles(null, null, opts);\n assertEquals(\"wrong number of files\", 1, merged.size());\n\n List<IFileSpec> opened = client.openedFiles(null, null);\n assertEquals(\"files should not have been opened\", 1, opened.size());\n }", "public FileCount(int numFiles){\n this.numFiles = numFiles;\n }", "public int getFileNamesCount() {\n return fileNames_.size();\n }", "static public ObservableList<ImageMetaInfo> getImagesInfo(File path) {\n ObservableList<ImageMetaInfo> observableList = FXCollections.observableArrayList();\n ExtFilter fileFilter = new ExtFilter();\n File[] imageFilesArray = path.listFiles(fileFilter);\n for (File file : imageFilesArray) {\n ImageMetaInfo imageMetaInfo = getImageMetaInfo(file);\n observableList.add(imageMetaInfo);\n }\n return observableList;\n }", "private void get_file_List() {\n\tString file_name=null;\r\n\tfor (int i = 0; i < listOfFiles.length; i++) \r\n\t {\r\n\t \r\n\t if (listOfFiles[i].isFile()) \r\n\t {\r\n\t\t file_name = listOfFiles[i].getName();\r\n\t if (file_name.endsWith(\".xml\") || file_name.endsWith(\".XML\"))\r\n\t {\r\n\t file_list.add(file_name) ;\r\n\t }\r\n\t }\r\n\t }\r\n\t\r\n}", "public static void getListOfAllFileVarianta2() {\n\t\tPath pathToSrc = Paths.get(\"D:\\\\TorrentsMd\");\r\n\t\ttry {\r\n\t\t\t//cu method references\r\n//\t\t\tFiles.walk(pathToSrc)\r\n//\t\t\t\t.map(Path::toFile)\r\n//\t\t\t\t.filter(File::isFile)\r\n//\t\t\t\t.map(File::getName)\r\n//\t\t\t\t.sorted()\r\n//\t\t\t\t.forEach(System.out::println);\r\n\t\t\t\r\n\t\t\t//cu lambda, dar dpdv semantic sunt identice\r\n\t\t\tFiles.walk(pathToSrc)\r\n\t\t\t\t .map(path -> path.toFile()) //trasnform fiecare Path din stream intr-un File\r\n\t\t\t\t .filter(file -> file.isFile()) //filtrez doar fisierele\r\n\t\t\t\t .map(file -> file.getName())//transform fiecare File din stream intr-un String, care e numele sau\r\n\t\t\t\t .sorted()\r\n\t\t\t\t .forEach(file -> System.out.println(file));\r\n\t\t} catch (IOException e) {\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t}", "@java.lang.Override\n public int getFilesCount() {\n return files_.size();\n }", "static List<File> gitAttributes(File projectDir, Iterable<File> files) {\n List<File> gitAttrFiles = new ArrayList<>();\n Set<File> visitedFolders = new HashSet<>();\n for (File file : files) {\n gitAttrAddWithParents(projectDir, file.getAbsoluteFile(), visitedFolders, gitAttrFiles);\n }\n return gitAttrFiles;\n }", "public static int getNumberOfFiles() {\n\t\treturn EXTENSIONS.length;\n\t}", "public Map<String, NewData> getSnapshotFiles (final List<String> files){\n \t\tMap<String,NewData> w = new HashMap<String,NewData>();\n \t\tList<String> l = new LinkedList<String>();\n \t\tString s=\"\";\n \t\t\n \t\tfor (String str : files){\n \t\t\tw.put(str, new NewData(str));\n \t\t\tl=this.readFile(this.getSnapshot().getRoot() + File.separatorChar +str);\n \t\t\t\n \t\t\tfor (String str2 : l)\n \t\t\t\ts=s+str2+\"\\n\";\n \t\t\t\n \t\t\tw.get(str).setFileContent(s);\n \t\t\tw.get(str).getLclock().putAll(this.getFilelist().get(str));\n \t\t}\n \t\t\t\t\n \t\treturn w;\n \t}", "entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder(\n int index);", "public void getPeerFiles(){\n\t\t\n\t\tFile[] files = new File(path).listFiles();\n\t\tfor (File file : files) {\n\t\t\tfileNames.add(file.getName());\n\t\t}\n\t\tSystem.out.println(\"Number of Files Registerd to the server - \"+fileNames.size());\n\t\tSystem.out.println(\"To search for file give command: get <Filename>\");\n\t\tSystem.out.println(\"To refresh type command: refresh\");\n\t\tSystem.out.println(\"To disconnect type command: disconnect\");\n\t}", "public static void main(String[] args) {\nFile files=new File(\"C:\\\\Users\\\\k74\");\nString filenames[]=files.list();\nfor(String filename :filenames)\n\tSystem.out.println(filename);\n\t}", "public static void rankFiles(Hashtable<?, Integer> fname, int numberOfOccurrences) \r\n\t{\n\t\tArrayList<Map.Entry<?, Integer>> arrayList = new ArrayList(fname.entrySet());\r\n\r\n\t\tCollections.sort(arrayList, new Comparator<Map.Entry<?, Integer>>() \r\n\t\t{\r\n\t\t\tpublic int compare(Map.Entry<?, Integer> obj1, Map.Entry<?, Integer> obj2) \r\n\t\t\t{\r\n\t\t\t\treturn obj1.getValue().compareTo(obj2.getValue());\r\n\t\t\t}\r\n\t\t});\r\n\r\n\t\tCollections.reverse(arrayList);\r\n\r\n\t\tif (numberOfOccurrences > 0) \r\n\t\t{\r\n\t\t\tSystem.out.println(\"\\n------Top 10 search results-----\\n\");\r\n\r\n\t\t\tint my_number = 10;\r\n\t\t\tint j = 1;\r\n\t\t\twhile (arrayList.size() > j && my_number > 0) \r\n\t\t\t{\r\n\t\t\t\tSystem.out.println(\"(\" + j + \") \" + arrayList.get(j) + \" times \");\r\n\t\t\t\tj++;\r\n\t\t\t\tmy_number--;\r\n\t\t\t}\r\n\t\t} \r\n\t}", "@Override\n public List<FileInfo> getLibrarySubFiles(FileInfo fileInfo) {\n return null;\n }", "public final void mo14831s() {\n Iterator it = ((ArrayList) mo14817d()).iterator();\n while (it.hasNext()) {\n File file = (File) it.next();\n if (file.listFiles() != null) {\n m6739b(file);\n long c = m6740c(file, false);\n if (((long) this.f6567b.mo14797a()) != c) {\n try {\n new File(new File(file, String.valueOf(c)), \"stale.tmp\").createNewFile();\n } catch (IOException unused) {\n f6563c.mo14884b(6, \"Could not write staleness marker.\", new Object[0]);\n }\n }\n for (File b : file.listFiles()) {\n m6739b(b);\n }\n }\n }\n }", "@Test\n public void testGetFilesList() {\n System.out.println(\"getFilesList from existing folder with existing subfiles\");\n String entryPath = folder.toString()+fSeparator+\"Images\";\n FilesDao instance = new FilesDao();\n String[] expResult = new String[2];\n expResult[0] = \"testImg.jpg\";\n expResult[1] = \"testImg2.jpg\";\n String[] result;\n try{\n result = instance.getFilesList(entryPath);\n }catch(EntryException ex){\n result = null;\n }\n assertArrayEquals(expResult, result);\n }", "private void populateList(File[] filesList) {\n Log.i(\"mPackage\",\"FilesList: \"+filesList.length);\n for(File file : filesList) {\n //Log.i(\"mPackage\",\"Path: \"+file);\n if(file.isDirectory()) {\n populateList(file.listFiles());\n }\n else {\n MarkerModel markerModel = new MarkerModel();\n Boolean containsObj = false;\n for(File modelFile : filesList) {\n String[] extension = modelFile.getName().split(\"\\\\.\");\n if(extension[extension.length-1].equals(\"obj\")) {\n markerModel.setObj(modelFile.getPath());\n containsObj = true;\n }\n else if(extension[extension.length-1].equals(\"mtl\"))\n markerModel.setMtl(modelFile.getPath());\n else\n markerModel.addTexture(modelFile.getPath());\n }\n if(containsObj)\n models.add(markerModel);\n return;\n //models.add(file.getPath());\n //Log.i(\"mPackage\",\"Path: \"+file.getPath());\n }\n }\n }", "java.util.List<? extends ds.hdfs.generated.FileMetadataOrBuilder> \n getFilesOrBuilderList();", "public List<String> splitByCount(String fileName, int count)\n throws IOException, InterruptedException {\n\n List<String> parts = new ArrayList<String>();\n File file = new File(fileName);\n int blockSize = (int) Math.ceil(file.length() / (double) count);\n RandomAccessFile raf = new RandomAccessFile(fileName, \"r\");\n long totalLen = raf.length();\n CountDownLatch latch = new CountDownLatch(count);\n\n long startPos = 0L;\n long nextPos = 0L;\n\n for (int i = 0; i < count; i++) {\n nextPos = Long.min((long) (i + 1) * blockSize, totalLen - 1);\n raf.seek(nextPos);\n //Calculate the start position for the next file.\n do {\n raf.seek(nextPos);\n if (raf.readByte() == '\\n') {\n nextPos = nextPos + 1;\n break;\n }\n nextPos--;\n } while (true);\n long readSizeTemp = nextPos - startPos;\n int readSize = (int) readSizeTemp;\n String partFileName = fileName.replace(\"raw\", \"raw\" + (i + 1));\n new SplitRunnable(readSize, startPos, partFileName, file, latch).run();\n startPos = nextPos;\n parts.add(partFileName);\n }\n //Wait until all the files are written.\n latch.await();\n return parts;\n }", "public float[] accumulateSimpleMixFiles(ArrayList<File> files){\r\n\t\t\tfloat[] returnValue = new float[10];\r\n\t\t\tfloat[] values = new float[10];\r\n\t\t\t\r\n\t\t for(File file:files){\t\t\t\t\t\r\n\t\t BufferedReader reader;\r\n\t\t try{\r\n\t\t reader = new BufferedReader(new FileReader(file));\r\n\t\t String line = reader.readLine(); \r\n\t\t while(line != null){\t\r\n\t\t \tif(line.substring(0,5).equals(\"Total\")){\r\n\t\t \t\tString[] values2 = line.split(\" \");\r\n\t\t \t\t\r\n\t\t \t\tfor(int i = 2; i < values2.length; i++) values[i-2] += Float.valueOf(values2[i]);\r\n\t\t \t}\r\n\t\t \tline = reader.readLine();\r\n\t\t }\r\n\t\t \r\n\t\t\t\t} catch (FileNotFoundException e) {\r\n\t\t\t\t System.err.println(\"FileNotFoundException: \" + e.getMessage());\r\n\t\t\t\t} catch (IOException e) {\r\n\t\t\t\t System.err.println(\"Caught IOException: \" + e.getMessage());\r\n\t\t\t\t}\r\n\t\t }\r\n\r\n\t\t for(int j = 0; j < values.length; j++) returnValue[j] = (float)values[j]/files.size();\t\r\n\t\t \r\n\t\t return returnValue;\r\n\t\t}", "private Map<ServerFile, Integer> totalFiles(){\n\t\tMap<ServerFile, Integer> ret = new HashMap<ServerFile, Integer>();\n\t\tfor (ClientObj c : clients){\n\t\t\tfor (ServerFile f : c.getFiles()){\n\t\t\t\tif (!ret.containsKey(f))\n\t\t\t\t\tret.put(f, 1);\n\t\t\t\telse\n\t\t\t\t\tret.put(f, ret.get(f) + 1);\n\t\t\t}\n\t\t}\n\t\treturn ret;\n\t}", "int getSourceFileCount();", "public void checkForRepeats(String selectedMarket)\r\n {\r\n System.out.println(backUpPath + selectedMarket);\r\n \tFile f = new File(backUpPath + selectedMarket);\r\n \tArrayList<File> fileContents = new ArrayList<File>(Arrays.asList(f.listFiles()));\r\n \t\r\n for(int i = 0;i< scriptAds.size();i++)\r\n \t{\r\n String currentFileName;\r\n long modified;\r\n Date modifiedDate;\r\n \r\n for(int j = 0;j < fileContents.size();j++)\r\n {\r\n currentFileName = fileContents.get(j).getName();\r\n \r\n if(currentFileName.contains(\".\"))\r\n {\r\n currentFileName = currentFileName.substring(0,currentFileName.lastIndexOf(\".\"));\r\n }\r\n if(scriptAds.get(i).getAdNumber().toLowerCase().equals(currentFileName.toLowerCase()))\r\n {\r\n modified = fileContents.get(j).lastModified();\r\n modifiedDate = new Date(modified);\r\n \r\n String dateToPrint = DateFormat.getDateTimeInstance(DateFormat.SHORT, DateFormat.SHORT).format(modifiedDate);\r\n dateToPrint = dateToPrint.substring(0,dateToPrint.indexOf(\" \"));\r\n \r\n infoText.append(\"<p>CC# \" + scriptAds.get(i).getccNumber() \r\n + \" matches a backup of last modified : \" + scriptAds.get(i).getAdNumber() \r\n + \" \" + dateToPrint + \"\\nin \" + importFileName + \"</p>\");\r\n }\r\n }\r\n }\r\n }", "public void mo83570c() {\n File[] listFiles;\n File file = new File(this.f60297d);\n if (file.isDirectory() && (listFiles = file.listFiles()) != null && listFiles.length >= this.f60294a) {\n Arrays.sort(listFiles, this.f60295b);\n for (int i = 0; i < listFiles.length && listFiles.length >= this.f60294a; i++) {\n File file2 = listFiles[i];\n if (!this.f60299f.contains(file2)) {\n ArgusLogger.m85574b(String.format(C6969H.m41409d(\"G4D8AC619BE22AF20E809D047FEE1C6C47DC3D008AD3FB969E71DD05BE6EAD1D26DC3D008AD3FB969EA079D41E6A5D1D26880DD1FBB70E36CF547\"), file2.getPath()));\n mo83569b(Collections.singleton(file2));\n }\n }\n }\n }", "public File[] filesReadOnly(File... f) { return f; }", "public List<File> getFiles();", "@Test\n\tpublic void testCountItems() {\n\t\tFile test = new File(\"X:\\\\Documents\\\\PS9 Test\");\n\t\tassertEquals(13,Explorer.countItems(test));\n\t}", "void update(FileInfo fileInfo);", "private static ArrayList m5336a(File[] fileArr) {\n ArrayList arrayList = new ArrayList();\n int i = 0;\n while (i < fileArr.length) {\n if (fileArr[i].isFile() && fileArr[i].getName().length() == 10 && TextUtils.isDigitsOnly(fileArr[i].getName())) {\n arrayList.add(fileArr[i]);\n }\n i++;\n }\n return arrayList;\n }", "@Test(timeout = 4000)\n public void test23() throws Throwable {\n FileUtil fileUtil0 = new FileUtil();\n ArrayList<Object> arrayList0 = new ArrayList<Object>();\n File file0 = fileUtil0.getAccessories(\"YP=8V~@ch)3vts}p8\", arrayList0);\n assertNull(file0);\n }", "public void findDupe(int choice) {\n\n\t\tString fullName = null;\n\t\tboolean flag = true;\n\n\t\tfor (Path file : filesArray) {\n\t\t\ttry {\n\t\t\t\tfullName = getFullName(file, choice);\n\t\t\t} catch (Exception e) {\n\t\t\t\tSystem.out.println(\"problem read file: \" + file);\n\t\t\t\tflag = false;\n\t\t\t}\n\n\t\t\tif (flag) {\n\t\t\t\tmultiMap.put(fullName, file);\n\t\t\t\tCollection<Path> vals = (Collection<Path>) multiMap.get(fullName);\n\n\t\t\t\tif (vals.size() > 1) {\n\t\t\t\t\tcounter++;\n\t\t\t\t}\n\t\t\t}\n\t\t\tflag = true;\n\t\t}\n\n\t\tSet<String> keys = multiMap.keySet();\n\t\tIterator<String> items = keys.iterator();\n\n\t\twhile (items.hasNext()) {\n\t\t\tString str = (String) items.next();\n\n\t\t\t@SuppressWarnings(\"unchecked\")\n\t\t\tCollection<Path> val = (Collection<Path>) multiMap.get(str);\n\t\t\tArrayList<Path> arr = new ArrayList<>(val);\n\n\t\t\tif (arr.size() <= 1)\n\t\t\t\titems.remove();\n\n\t\t}\n\n\t}", "java.util.List<entities.Torrent.FileInfo>\n getFileInfoList();", "List<DownloadChunk> mo54445j(int i);", "void visitFile(StorageUnit unit, long off, long lim);", "public void fileInfo(String info);", "private List<FileInfoDTO> createFileInfoDTOs(MultipartFile file1, MultipartFile file2, int totalLinesFirstFile,\n\t\t\tint totalLinesSecondFile) {\n\t\tint unmatchedRecordsFirstFile = firstFileMap.getCountMap().values().stream().mapToInt(Integer::valueOf).sum();\n\t\tint unmatchedRecordsSecondFile = secondFileMap.getCountMap().values().stream().mapToInt(Integer::valueOf).sum();\n\n\t\tFileInfo firstFileInfo = new FileInfo();\n\t\tfirstFileInfo.setName(file1.getOriginalFilename());\n\t\tfirstFileInfo.setTotalRecords(totalLinesFirstFile);\n\t\tfirstFileInfo.setUnmatchedRecords(unmatchedRecordsFirstFile);\n\t\tfirstFileInfo.setMatchingRecords(totalLinesFirstFile - unmatchedRecordsFirstFile);\n\n\t\tFileInfo secondFileInfo = new FileInfo();\n\t\tsecondFileInfo.setName(file2.getOriginalFilename());\n\t\tsecondFileInfo.setTotalRecords(totalLinesSecondFile);\n\t\tsecondFileInfo.setUnmatchedRecords(unmatchedRecordsSecondFile);\n\t\tsecondFileInfo.setMatchingRecords(totalLinesSecondFile - unmatchedRecordsSecondFile);\n\n\t\treturn List.of(firstFileInfo, secondFileInfo).stream()\n\t\t\t\t.map(file -> DTOConverter.convertFileInfoToFileInfoDTO(file)).collect(Collectors.toList());\n\t}", "public void a(File file, List<WxAndQqScanPathInfo> list) {\n if (file != null && !this.p) {\n File[] listFiles = file.listFiles();\n if (listFiles != null) {\n int length = listFiles.length;\n int i2 = 0;\n while (i2 < length) {\n File file2 = listFiles[i2];\n if (!this.p) {\n if (file2 != null) {\n if (!file2.isDirectory()) {\n if (!\".nomedia\".equals(file2.getName()) && file2.length() >= 5 && file2 != null && file2.exists()) {\n CleanWxItemInfo cleanWxItemInfo = new CleanWxItemInfo();\n cleanWxItemInfo.setFileType(((WxAndQqScanPathInfo) list.get(0)).getType());\n cleanWxItemInfo.setFile(file2);\n cleanWxItemInfo.setDays(TimeUtil.changeTimeToDay(cleanWxItemInfo.getFile().lastModified()));\n cleanWxItemInfo.setFileSize(file2.length());\n switch (((WxAndQqScanPathInfo) list.get(0)).getType()) {\n case 1:\n o += cleanWxItemInfo.getFileSize();\n d.setTotalSize(d.getTotalSize() + cleanWxItemInfo.getFileSize());\n d.setTotalNum(d.getTotalNum() + 1);\n if (d.isChecked()) {\n cleanWxItemInfo.setChecked(true);\n d.setSelectSize(d.getSelectSize() + cleanWxItemInfo.getFileSize());\n d.setSelectNum(d.getSelectNum() + 1);\n }\n cleanWxItemInfo.setDays(TimeUtil.changeTimeToDay(0));\n a(d, cleanWxItemInfo);\n break;\n case 2:\n if (!file2.getAbsolutePath().endsWith(\"_cover\") && !new File(file2.getAbsolutePath() + \"_cover\").exists()) {\n if (!\"finishActivity\".equals(this.r) && !\"bigGarbageFragment\".equals(this.r)) {\n if (e.isFinished()) {\n j.setTotalNum(j.getTotalNum() + 1);\n j.setTotalSize(j.getTotalSize() + cleanWxItemInfo.getFileSize());\n a(j, cleanWxItemInfo);\n break;\n } else {\n o += cleanWxItemInfo.getFileSize();\n e.setTotalNum(e.getTotalNum() + 1);\n e.setTotalSize(e.getTotalSize() + cleanWxItemInfo.getFileSize());\n if (e.isChecked()) {\n cleanWxItemInfo.setChecked(true);\n e.setSelectNum(e.getSelectNum() + 1);\n e.setSelectSize(e.getSelectSize() + cleanWxItemInfo.getFileSize());\n }\n a(e, cleanWxItemInfo);\n break;\n }\n }\n } else {\n j.setTotalSize(j.getTotalSize() + cleanWxItemInfo.getFileSize());\n j.setTotalNum(j.getTotalNum() + 1);\n a(j, cleanWxItemInfo);\n break;\n }\n break;\n case 3:\n o += cleanWxItemInfo.getFileSize();\n f.setTotalSize(f.getTotalSize() + cleanWxItemInfo.getFileSize());\n f.setTotalNum(f.getTotalNum() + 1);\n if (f.isChecked()) {\n cleanWxItemInfo.setChecked(true);\n f.setSelectSize(f.getSelectSize() + cleanWxItemInfo.getFileSize());\n f.setSelectNum(f.getSelectNum() + 1);\n }\n a(f, cleanWxItemInfo);\n break;\n case 4:\n if (file2.getName().startsWith(\"snstblur_src_\")) {\n if (Constants.PRIVATE_LOG_CONTROLER) {\n break;\n } else {\n file2.delete();\n break;\n }\n } else {\n if (!file2.getName().startsWith(\"snst_\")) {\n if (file2.getName().startsWith(\"snsu_\") && new File(file2.getAbsolutePath().replace(\"snsu_\", \"snsb_\")).exists()) {\n break;\n }\n } else if (!new File(file2.getAbsolutePath().replace(\"snst_\", \"snsu_\")).exists()) {\n if (new File(file2.getAbsolutePath().replace(\"snst_\", \"snsb_\")).exists()) {\n break;\n }\n } else {\n break;\n }\n o += cleanWxItemInfo.getFileSize();\n g.setTotalSize(g.getTotalSize() + cleanWxItemInfo.getFileSize());\n g.setTotalNum(g.getTotalNum() + 1);\n if (g.isChecked()) {\n cleanWxItemInfo.setChecked(true);\n g.setSelectSize(g.getSelectSize() + cleanWxItemInfo.getFileSize());\n g.setSelectNum(g.getSelectNum() + 1);\n }\n a(g, cleanWxItemInfo);\n break;\n }\n case 5:\n if (file2.getName().endsWith(\".jpg_hevc\")) {\n if (Constants.PRIVATE_LOG_CONTROLER) {\n break;\n } else {\n file2.delete();\n break;\n }\n } else {\n if (file2.getName().startsWith(\"th_\")) {\n if (!file2.getName().endsWith(\"hd\")) {\n break;\n } else {\n break;\n }\n }\n h.setTotalSize(h.getTotalSize() + cleanWxItemInfo.getFileSize());\n h.setTotalNum(h.getTotalNum() + 1);\n a(h, cleanWxItemInfo);\n break;\n }\n case 6:\n if (!file2.getAbsolutePath().contains(\"download/appbrand\")) {\n if (file2.getName().endsWith(\".jpg\")) {\n if (!new File(file2.getAbsolutePath().replace(\".jpg\", \".mp4\")).exists() && !Constants.PRIVATE_LOG_CONTROLER) {\n file2.delete();\n break;\n }\n } else {\n i.setTotalSize(i.getTotalSize() + cleanWxItemInfo.getFileSize());\n i.setTotalNum(i.getTotalNum() + 1);\n a(i, cleanWxItemInfo);\n break;\n }\n } else {\n break;\n }\n case 8:\n k.setTotalSize(k.getTotalSize() + cleanWxItemInfo.getFileSize());\n k.setTotalNum(k.getTotalNum() + 1);\n a(k, cleanWxItemInfo);\n break;\n case 9:\n if (!file2.getName().endsWith(\".mp4\")) {\n l.setTotalSize(l.getTotalSize() + cleanWxItemInfo.getFileSize());\n l.setTotalNum(l.getTotalNum() + 1);\n l.getMineList().add(cleanWxItemInfo);\n a(l, cleanWxItemInfo);\n break;\n } else {\n m.setTotalSize(m.getTotalSize() + cleanWxItemInfo.getFileSize());\n m.setTotalNum(m.getTotalNum() + 1);\n m.getMineList().add(cleanWxItemInfo);\n a(m, cleanWxItemInfo);\n break;\n }\n case 10:\n n.setTotalSize(n.getTotalSize() + cleanWxItemInfo.getFileSize());\n n.setTotalNum(n.getTotalNum() + 1);\n a(n, cleanWxItemInfo);\n break;\n }\n }\n } else {\n try {\n if (file2.listFiles() == null || file2.listFiles().length == 0) {\n FileUtils.deleteFileAndFolder(file2);\n }\n } catch (Exception e2) {\n Logger.iCatch(Logger.TAG, Logger.ZYTAG, \"CleanWxClearNewActivity---wxFileScan ---- \", e2);\n }\n a(file2, list);\n }\n }\n i2++;\n } else {\n return;\n }\n }\n }\n }\n }", "java.util.List<? extends entities.Torrent.FileInfoOrBuilder>\n getFileInfoOrBuilderList();", "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 }", "public Builder addAllFiles(\n java.lang.Iterable<? extends entities.Torrent.FileInfo> values) {\n if (filesBuilder_ == null) {\n ensureFilesIsMutable();\n com.google.protobuf.AbstractMessageLite.Builder.addAll(\n values, files_);\n onChanged();\n } else {\n filesBuilder_.addAllMessages(values);\n }\n return this;\n }", "public filesMB() {\n }", "com.google.protobuf.ByteString\n getFileNamesBytes(int index);", "public int getFileNamesCount() {\n return fileNames_.size();\n }", "@java.lang.Override\n public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder(\n int index) {\n return fileInfo_.get(index);\n }" ]
[ "0.65325207", "0.6227456", "0.6177881", "0.6116598", "0.6065684", "0.6065684", "0.590164", "0.58970237", "0.58970237", "0.5783433", "0.57750136", "0.5763771", "0.5762734", "0.57547295", "0.5746625", "0.5744839", "0.5644452", "0.563878", "0.5628507", "0.56053144", "0.5601631", "0.5583571", "0.55456394", "0.5545325", "0.5545274", "0.5519314", "0.55032945", "0.5502879", "0.5497437", "0.54956275", "0.5495291", "0.54928", "0.5474748", "0.54520524", "0.54351526", "0.5411701", "0.5409407", "0.5396235", "0.5388728", "0.5378012", "0.537654", "0.53608066", "0.5359268", "0.53519815", "0.5335172", "0.5334883", "0.5334883", "0.53343636", "0.53343636", "0.5319273", "0.5309602", "0.53086674", "0.52990717", "0.52990717", "0.5284801", "0.5278754", "0.5276997", "0.5274732", "0.52718306", "0.52717876", "0.5270142", "0.5268754", "0.5264792", "0.5254606", "0.5237259", "0.52320284", "0.52265704", "0.5221797", "0.5220387", "0.5209014", "0.5206498", "0.519874", "0.51969546", "0.5187828", "0.5185607", "0.5185165", "0.518249", "0.5176273", "0.5165428", "0.51650506", "0.5165015", "0.5163598", "0.5161906", "0.51600796", "0.51514554", "0.5150045", "0.51442325", "0.5133645", "0.51309294", "0.5130048", "0.51299196", "0.5128534", "0.51266265", "0.5125555", "0.5115963", "0.51151603", "0.51146954", "0.51012677", "0.50983685", "0.5096151" ]
0.5458041
33
repeated .FileInfo files = 4;
public java.util.List<? extends entities.Torrent.FileInfoOrBuilder> getFilesOrBuilderList() { if (filesBuilder_ != null) { return filesBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(files_); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "int getFileInfoCount();", "public void incFileCount(){\n\t\tthis.num_files++;\n\t}", "entities.Torrent.FileInfo getFiles(int index);", "public Files(){\n this.fileNameArray.add(\"bridge_1.txt\");\n this.fileNameArray.add(\"bridge_2.txt\");\n this.fileNameArray.add(\"bridge_3.txt\");\n this.fileNameArray.add(\"bridge_4.txt\");\n this.fileNameArray.add(\"bridge_5.txt\");\n this.fileNameArray.add(\"bridge_6.txt\");\n this.fileNameArray.add(\"bridge_7.txt\");\n this.fileNameArray.add(\"bridge_8.txt\");\n this.fileNameArray.add(\"bridge_9.txt\");\n this.fileNameArray.add(\"ladder_1.txt\");\n this.fileNameArray.add(\"ladder_2.txt\");\n this.fileNameArray.add(\"ladder_3.txt\");\n this.fileNameArray.add(\"ladder_4.txt\");\n this.fileNameArray.add(\"ladder_5.txt\");\n this.fileNameArray.add(\"ladder_6.txt\");\n this.fileNameArray.add(\"ladder_7.txt\");\n this.fileNameArray.add(\"ladder_8.txt\");\n this.fileNameArray.add(\"ladder_9.txt\");\n }", "int getFileNamesCount();", "int getFileNamesCount();", "ds.hdfs.generated.FileMetadata getFiles(int index);", "int getFilesCount();", "int getFilesCount();", "int getFileCount();", "private void gatherFile(FileStatus[] fstat)\r\n\t{\r\n\t inputSize = 0;\t\r\n\t paths = new Path[fstat.length];\t\r\n\t for(int i=0;i<fstat.length;i++)\r\n\t {\r\n\t inputSize+=fstat[i].getLen();\r\n\t paths[i] = fstat[i].getPath();\r\n\t }\r\n\t }", "@java.lang.Override\n public int getFileInfoCount() {\n return fileInfo_.size();\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}", "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}", "private void initializeFileArrays(){\n File downloadedFilesFolder = new File(MainActivity.DB_PATH);\n File[] files = downloadedFilesFolder.listFiles();\n System.out.println(\"*** \" + files.length + \" ***\");\n if(files != null){\n System.out.println(\"*** \" + files.length + \" ***\");\n for(File f : files){\n if(f != null){\n System.out.println(\"***\\n FILE FOUND - \" + f.getAbsolutePath()+\"\\nSIZE - \" +\n f.length() + \" BYTES \\n***\");\n fileNames.add(f.getName());\n fileSizes.add(f.length()+\"\");\n this.files.add(f);\n }\n }\n }\n }", "entities.Torrent.FileInfoOrBuilder getFilesOrBuilder(\n int index);", "List<UploadInfo> simpleUploadAll(List<SimpleFile> files);", "public List<FileUpload> getFileUploads(int numberOfFileUploads, Long startIndex) throws AppException;", "void addFile(int numberLines);", "private void updateFiles() {\n\t}", "@Override\n public void addSingleFile(FileInfo file) {\n }", "entities.Torrent.FileInfo getFileInfo(int index);", "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}", "private static void showFiles(File[] files) {\n\t\t for (File file : files) {\r\n\t\t if (file.isDirectory()) {\r\n\t\t // System.out.println(\"Directory: \" + file.getName());\r\n\t\t showFiles(file.listFiles()); // Calls same method again.\r\n\t\t } else {\r\n\t\t // System.out.println(\"File: \" + file.getName());\r\n\t\t }\r\n\t\t }\r\n\t\t\r\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 }", "private void findRecordings(){\n File[] files = new File(\"Concatenated/\").listFiles();\n _records.clear();\n _versionNum = 1;\n for (File file : files){\n if (file.isFile()){\n String nameOnFile = file.getName().substring(file.getName().lastIndexOf('_')+1,file.getName().lastIndexOf('.')).toUpperCase();\n if (nameOnFile.equals(_name.toUpperCase())){\n _records.add(file.getName());\n _versionNum++;\n }\n }\n }\n }", "private void checkDuplicateOfFile(Iterable<FileInfo> files, DuplicateDataDTO data) {\n for(FileInfo nextFile: files) {\n for(FileInfo nextFile2: files) {\n if(nextFile.duplicate(nextFile2)) {\n LOG.info(\"Duplicate - {}\", nextFile);\n\n processDuplicate(nextFile,data);\n }\n }\n }\n }", "public TagFileInfo[] getTagFiles() {\n/* 176 */ return this.tagFiles;\n/* */ }", "@Test\n\tpublic void testNumLargeFiles() {\n\t\tFile test = new File(\"X:\\\\Documents\\\\PS9 Test\");\n\t\tassertEquals(6,Explorer.numLargeFiles(test));\n\t}", "public double getNumFiles(){\n\t\treturn (this.num_files);\n\t}", "public Files files();", "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 }", "@Test\n\tpublic void testSetFileInfo() {\n\n\t}", "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 readFileList() throws IOException {\n\t\tint entries = metadataFile.readInt();\n\n\t\tfor (int i = 0; i < entries; i++) {\n\t\t\tint hash = metadataFile.readInt();\n\t\t\tlong dataOffset = metadataFile.readInt() & 0xFFFFFFFFL;\n\t\t\tlong dataSize = metadataFile.readInt() & 0xFFFFFFFFL;\n\t\t\tint pathListIndex = metadataFile.readInt();\n\n\t\t\tlong position = metadataFile.getPosition();\n\t\t\tmetadataFile.setPosition(pathListOffset + 8 + (pathListIndex * 8));\n\n\t\t\tlong pathOffset = metadataFile.readInt() & 0xFFFFFFFFL;\n\t\t\tint pathSize = metadataFile.readInt();\n\n\t\t\tmetadataFile.setPosition(pathListOffset + pathOffset);\n\t\t\tString path = metadataFile.readString(pathSize).trim();\n\n\t\t\tif (hash == hash(path)) \n\t\t\t\tfileEntries.add(new RAFFileEntry(dataOffset, dataSize, path));\n\t\t\telse\n\t\t\t\tthrow new IOException(\"Invalid hash for item '\" + path + \"'.\");\n\n\t\t\tmetadataFile.setPosition(position);\n\t\t}\n\t}", "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 static void main(String[] args) {\n\t\tint count=0;\n\t\t File f=new File(\"C:\\\\Users\\\\kumaujjv\\\\Downloads\\\\Assignments - Copy\");\n\t\t String[] s=f.list();\n\n\t\t for(String s1:s) {\n\t\t File f1=new File(f,s1);\n\t\t if(f1.isFile()) {\n\t\t\t //count++;\n\t\t\t System.out.println(s1);\n\t\t }\n\t\t}\n\t\tSystem.out.println(\"total number : \"+count);\n\n\t\t}", "public float[] accumulateDetailFiles(ArrayList<File> files){\r\n\t\tfloat[] values = new float[100];\r\n\t\tint counter = 0;\r\n\r\n\t for(File file:files){\t\t\r\n\t \tSystem.out.println(file.getName());\r\n\t \tcounter = 0;\r\n\t BufferedReader reader;\r\n\t try{\r\n\t reader = new BufferedReader(new FileReader(file));\r\n\t String line = reader.readLine(); \r\n\t while(line != null){\t\r\n\t \tif(!line.substring(0,1).equals(\"#\")){\r\n\t \t\tString[] values2 = line.split(\" \");\r\n\t \t\tvalues[counter] += Float.valueOf(values2[values2.length-1]);\r\n\t\t \tcounter++;\r\n\t \t}\r\n\t \tline = reader.readLine();\r\n\t }\r\n\t \r\n\t\t\t} catch (FileNotFoundException e) {\r\n\t\t\t System.err.println(\"FileNotFoundException: \" + e.getMessage());\r\n\t\t\t} catch (IOException e) {\r\n\t\t\t System.err.println(\"Caught IOException: \" + e.getMessage());\r\n\t\t\t}\r\n\t }\r\n\r\n\t float[] returnValues = new float[counter];\r\n\t \r\n\t for(int j = 0; j < returnValues.length; j++) \treturnValues[j] = ((float)values[j]/files.size());\r\n\t\r\n\t \r\n \treturn returnValues;\r\n\t}", "ds.hdfs.generated.FileMetadataOrBuilder getFilesOrBuilder(\n int index);", "private static void calculateSizes() {\n for(EmailTypes type : EmailTypes.values()){\n File f = unpackedFiles.get(type);\n setSizes.put(type, Objects.requireNonNull(f.listFiles()).length);\n }\n }", "public int[] filesRemaining();", "public static void main(String[] args) {\n\t\tFile dir = new File(\"H:\");\r\n\t\tString[] filelist = dir.list();\r\n\t\tlong total = 0;\r\n\t\tlong t = 0;\r\n\t\tfor(int i=0;i<filelist.length;i++){\r\n\t\t\t File readfile = new File(\"H:\" + \"\\\\\" + filelist[i]);\r\n\t\t\t t = readFile(readfile)/1024/1024;\r\n\t\t\t System.out.println(\"name=\" + readfile.getName() + \" size:=\" + t + \"MB\");\r\n\t\t\t total += t;\r\n\t\t}\r\n\t\tSystem.out.println(\"OK,all the files is list over,the number is \" + filelist.length + \"the total size is \" + total); \r\n\t}", "@Test\n public void tagFilesShouldReturnNonEmptyTagFiles() throws Exception {\n //given\n givenInfoMessageCode();\n\n //when\n List<IFileSpec> tagFiles = tagDelegator.tagFiles(fileSpecs, LABEL_NAME, opts);\n //then\n assertThat(tagFiles.size(), is(1));\n assertThat(tagFiles.get(0).getDepotPathString(), is(TEST_FILE_DEPOT_PATH));\n }", "public int getFileInfoCount() {\n if (fileInfoBuilder_ == null) {\n return fileInfo_.size();\n } else {\n return fileInfoBuilder_.getCount();\n }\n }", "private static ArrayList<File> buildFilesArray() {\n ArrayList<File> result = new ArrayList<>();\n rAddFilesToArray(workingDirectory, result);\n return result;\n }", "@java.lang.Override\n public entities.Torrent.FileInfoOrBuilder getFilesOrBuilder(\n int index) {\n return files_.get(index);\n }", "java.lang.String getFileNames(int index);", "java.lang.String getFileNames(int index);", "public void filesNotFound(File... f) { }", "public void filesNotFound(File... f) { }", "public static int filesWithSizes (File f)\n\t{\n\t\tif (f.isFile())\n\t\t{\n\t\t\tif (f.length()>= 10000 && f.length() <= 25000)\n\t\t\t{\n\t\t\t\treturn 1;\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\treturn 0;\n\t\t\t}\n\t\t}\n\t\telse\n\t\t{\n\t\t\tint count = 0;\n\t\t\tfor (File file: f.listFiles())\n\t\t\t{\n\t\t\t\tcount += filesWithSizes(file);\n\t\t\t}\n\t\t\treturn count;\n\t\t}\n\t}", "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 }", "public java.lang.String[] getNewFiles(){\r\n return localNewFiles;\r\n }", "entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder();", "entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder();", "@Test\n public void shouldReturnNonEmptyTagFiles() throws Exception {\n //given\n givenInfoMessageCode();\n //when\n List<IFileSpec> tagFiles = tagDelegator.tagFiles(\n fileSpecs,\n LABEL_NAME,\n listOnly1,\n delete1);\n //then\n assertThat(tagFiles.size(), is(1));\n assertThat(tagFiles.get(0).getDepotPathString(), is(TEST_FILE_DEPOT_PATH));\n }", "@Test\n public void maxFiles() throws Throwable {\n MergeFilesOptions opts = new MergeFilesOptions();\n opts.setStream(\"//Ace/dev\");\n opts.setReverseMapping(true);\n opts.setMaxFiles(1);\n opts.setForceStreamMerge(true);\n\n List<IFileSpec> merged = client.mergeFiles(null, null, opts);\n assertEquals(\"wrong number of files\", 1, merged.size());\n\n List<IFileSpec> opened = client.openedFiles(null, null);\n assertEquals(\"files should not have been opened\", 1, opened.size());\n }", "public FileCount(int numFiles){\n this.numFiles = numFiles;\n }", "public int getFileNamesCount() {\n return fileNames_.size();\n }", "static public ObservableList<ImageMetaInfo> getImagesInfo(File path) {\n ObservableList<ImageMetaInfo> observableList = FXCollections.observableArrayList();\n ExtFilter fileFilter = new ExtFilter();\n File[] imageFilesArray = path.listFiles(fileFilter);\n for (File file : imageFilesArray) {\n ImageMetaInfo imageMetaInfo = getImageMetaInfo(file);\n observableList.add(imageMetaInfo);\n }\n return observableList;\n }", "private void get_file_List() {\n\tString file_name=null;\r\n\tfor (int i = 0; i < listOfFiles.length; i++) \r\n\t {\r\n\t \r\n\t if (listOfFiles[i].isFile()) \r\n\t {\r\n\t\t file_name = listOfFiles[i].getName();\r\n\t if (file_name.endsWith(\".xml\") || file_name.endsWith(\".XML\"))\r\n\t {\r\n\t file_list.add(file_name) ;\r\n\t }\r\n\t }\r\n\t }\r\n\t\r\n}", "public static void getListOfAllFileVarianta2() {\n\t\tPath pathToSrc = Paths.get(\"D:\\\\TorrentsMd\");\r\n\t\ttry {\r\n\t\t\t//cu method references\r\n//\t\t\tFiles.walk(pathToSrc)\r\n//\t\t\t\t.map(Path::toFile)\r\n//\t\t\t\t.filter(File::isFile)\r\n//\t\t\t\t.map(File::getName)\r\n//\t\t\t\t.sorted()\r\n//\t\t\t\t.forEach(System.out::println);\r\n\t\t\t\r\n\t\t\t//cu lambda, dar dpdv semantic sunt identice\r\n\t\t\tFiles.walk(pathToSrc)\r\n\t\t\t\t .map(path -> path.toFile()) //trasnform fiecare Path din stream intr-un File\r\n\t\t\t\t .filter(file -> file.isFile()) //filtrez doar fisierele\r\n\t\t\t\t .map(file -> file.getName())//transform fiecare File din stream intr-un String, care e numele sau\r\n\t\t\t\t .sorted()\r\n\t\t\t\t .forEach(file -> System.out.println(file));\r\n\t\t} catch (IOException e) {\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t}", "@java.lang.Override\n public int getFilesCount() {\n return files_.size();\n }", "static List<File> gitAttributes(File projectDir, Iterable<File> files) {\n List<File> gitAttrFiles = new ArrayList<>();\n Set<File> visitedFolders = new HashSet<>();\n for (File file : files) {\n gitAttrAddWithParents(projectDir, file.getAbsoluteFile(), visitedFolders, gitAttrFiles);\n }\n return gitAttrFiles;\n }", "public static int getNumberOfFiles() {\n\t\treturn EXTENSIONS.length;\n\t}", "public Map<String, NewData> getSnapshotFiles (final List<String> files){\n \t\tMap<String,NewData> w = new HashMap<String,NewData>();\n \t\tList<String> l = new LinkedList<String>();\n \t\tString s=\"\";\n \t\t\n \t\tfor (String str : files){\n \t\t\tw.put(str, new NewData(str));\n \t\t\tl=this.readFile(this.getSnapshot().getRoot() + File.separatorChar +str);\n \t\t\t\n \t\t\tfor (String str2 : l)\n \t\t\t\ts=s+str2+\"\\n\";\n \t\t\t\n \t\t\tw.get(str).setFileContent(s);\n \t\t\tw.get(str).getLclock().putAll(this.getFilelist().get(str));\n \t\t}\n \t\t\t\t\n \t\treturn w;\n \t}", "entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder(\n int index);", "public void getPeerFiles(){\n\t\t\n\t\tFile[] files = new File(path).listFiles();\n\t\tfor (File file : files) {\n\t\t\tfileNames.add(file.getName());\n\t\t}\n\t\tSystem.out.println(\"Number of Files Registerd to the server - \"+fileNames.size());\n\t\tSystem.out.println(\"To search for file give command: get <Filename>\");\n\t\tSystem.out.println(\"To refresh type command: refresh\");\n\t\tSystem.out.println(\"To disconnect type command: disconnect\");\n\t}", "public static void main(String[] args) {\nFile files=new File(\"C:\\\\Users\\\\k74\");\nString filenames[]=files.list();\nfor(String filename :filenames)\n\tSystem.out.println(filename);\n\t}", "public static void rankFiles(Hashtable<?, Integer> fname, int numberOfOccurrences) \r\n\t{\n\t\tArrayList<Map.Entry<?, Integer>> arrayList = new ArrayList(fname.entrySet());\r\n\r\n\t\tCollections.sort(arrayList, new Comparator<Map.Entry<?, Integer>>() \r\n\t\t{\r\n\t\t\tpublic int compare(Map.Entry<?, Integer> obj1, Map.Entry<?, Integer> obj2) \r\n\t\t\t{\r\n\t\t\t\treturn obj1.getValue().compareTo(obj2.getValue());\r\n\t\t\t}\r\n\t\t});\r\n\r\n\t\tCollections.reverse(arrayList);\r\n\r\n\t\tif (numberOfOccurrences > 0) \r\n\t\t{\r\n\t\t\tSystem.out.println(\"\\n------Top 10 search results-----\\n\");\r\n\r\n\t\t\tint my_number = 10;\r\n\t\t\tint j = 1;\r\n\t\t\twhile (arrayList.size() > j && my_number > 0) \r\n\t\t\t{\r\n\t\t\t\tSystem.out.println(\"(\" + j + \") \" + arrayList.get(j) + \" times \");\r\n\t\t\t\tj++;\r\n\t\t\t\tmy_number--;\r\n\t\t\t}\r\n\t\t} \r\n\t}", "@Override\n public List<FileInfo> getLibrarySubFiles(FileInfo fileInfo) {\n return null;\n }", "public final void mo14831s() {\n Iterator it = ((ArrayList) mo14817d()).iterator();\n while (it.hasNext()) {\n File file = (File) it.next();\n if (file.listFiles() != null) {\n m6739b(file);\n long c = m6740c(file, false);\n if (((long) this.f6567b.mo14797a()) != c) {\n try {\n new File(new File(file, String.valueOf(c)), \"stale.tmp\").createNewFile();\n } catch (IOException unused) {\n f6563c.mo14884b(6, \"Could not write staleness marker.\", new Object[0]);\n }\n }\n for (File b : file.listFiles()) {\n m6739b(b);\n }\n }\n }\n }", "@Test\n public void testGetFilesList() {\n System.out.println(\"getFilesList from existing folder with existing subfiles\");\n String entryPath = folder.toString()+fSeparator+\"Images\";\n FilesDao instance = new FilesDao();\n String[] expResult = new String[2];\n expResult[0] = \"testImg.jpg\";\n expResult[1] = \"testImg2.jpg\";\n String[] result;\n try{\n result = instance.getFilesList(entryPath);\n }catch(EntryException ex){\n result = null;\n }\n assertArrayEquals(expResult, result);\n }", "private void populateList(File[] filesList) {\n Log.i(\"mPackage\",\"FilesList: \"+filesList.length);\n for(File file : filesList) {\n //Log.i(\"mPackage\",\"Path: \"+file);\n if(file.isDirectory()) {\n populateList(file.listFiles());\n }\n else {\n MarkerModel markerModel = new MarkerModel();\n Boolean containsObj = false;\n for(File modelFile : filesList) {\n String[] extension = modelFile.getName().split(\"\\\\.\");\n if(extension[extension.length-1].equals(\"obj\")) {\n markerModel.setObj(modelFile.getPath());\n containsObj = true;\n }\n else if(extension[extension.length-1].equals(\"mtl\"))\n markerModel.setMtl(modelFile.getPath());\n else\n markerModel.addTexture(modelFile.getPath());\n }\n if(containsObj)\n models.add(markerModel);\n return;\n //models.add(file.getPath());\n //Log.i(\"mPackage\",\"Path: \"+file.getPath());\n }\n }\n }", "java.util.List<? extends ds.hdfs.generated.FileMetadataOrBuilder> \n getFilesOrBuilderList();", "public List<String> splitByCount(String fileName, int count)\n throws IOException, InterruptedException {\n\n List<String> parts = new ArrayList<String>();\n File file = new File(fileName);\n int blockSize = (int) Math.ceil(file.length() / (double) count);\n RandomAccessFile raf = new RandomAccessFile(fileName, \"r\");\n long totalLen = raf.length();\n CountDownLatch latch = new CountDownLatch(count);\n\n long startPos = 0L;\n long nextPos = 0L;\n\n for (int i = 0; i < count; i++) {\n nextPos = Long.min((long) (i + 1) * blockSize, totalLen - 1);\n raf.seek(nextPos);\n //Calculate the start position for the next file.\n do {\n raf.seek(nextPos);\n if (raf.readByte() == '\\n') {\n nextPos = nextPos + 1;\n break;\n }\n nextPos--;\n } while (true);\n long readSizeTemp = nextPos - startPos;\n int readSize = (int) readSizeTemp;\n String partFileName = fileName.replace(\"raw\", \"raw\" + (i + 1));\n new SplitRunnable(readSize, startPos, partFileName, file, latch).run();\n startPos = nextPos;\n parts.add(partFileName);\n }\n //Wait until all the files are written.\n latch.await();\n return parts;\n }", "public float[] accumulateSimpleMixFiles(ArrayList<File> files){\r\n\t\t\tfloat[] returnValue = new float[10];\r\n\t\t\tfloat[] values = new float[10];\r\n\t\t\t\r\n\t\t for(File file:files){\t\t\t\t\t\r\n\t\t BufferedReader reader;\r\n\t\t try{\r\n\t\t reader = new BufferedReader(new FileReader(file));\r\n\t\t String line = reader.readLine(); \r\n\t\t while(line != null){\t\r\n\t\t \tif(line.substring(0,5).equals(\"Total\")){\r\n\t\t \t\tString[] values2 = line.split(\" \");\r\n\t\t \t\t\r\n\t\t \t\tfor(int i = 2; i < values2.length; i++) values[i-2] += Float.valueOf(values2[i]);\r\n\t\t \t}\r\n\t\t \tline = reader.readLine();\r\n\t\t }\r\n\t\t \r\n\t\t\t\t} catch (FileNotFoundException e) {\r\n\t\t\t\t System.err.println(\"FileNotFoundException: \" + e.getMessage());\r\n\t\t\t\t} catch (IOException e) {\r\n\t\t\t\t System.err.println(\"Caught IOException: \" + e.getMessage());\r\n\t\t\t\t}\r\n\t\t }\r\n\r\n\t\t for(int j = 0; j < values.length; j++) returnValue[j] = (float)values[j]/files.size();\t\r\n\t\t \r\n\t\t return returnValue;\r\n\t\t}", "private Map<ServerFile, Integer> totalFiles(){\n\t\tMap<ServerFile, Integer> ret = new HashMap<ServerFile, Integer>();\n\t\tfor (ClientObj c : clients){\n\t\t\tfor (ServerFile f : c.getFiles()){\n\t\t\t\tif (!ret.containsKey(f))\n\t\t\t\t\tret.put(f, 1);\n\t\t\t\telse\n\t\t\t\t\tret.put(f, ret.get(f) + 1);\n\t\t\t}\n\t\t}\n\t\treturn ret;\n\t}", "int getSourceFileCount();", "public void checkForRepeats(String selectedMarket)\r\n {\r\n System.out.println(backUpPath + selectedMarket);\r\n \tFile f = new File(backUpPath + selectedMarket);\r\n \tArrayList<File> fileContents = new ArrayList<File>(Arrays.asList(f.listFiles()));\r\n \t\r\n for(int i = 0;i< scriptAds.size();i++)\r\n \t{\r\n String currentFileName;\r\n long modified;\r\n Date modifiedDate;\r\n \r\n for(int j = 0;j < fileContents.size();j++)\r\n {\r\n currentFileName = fileContents.get(j).getName();\r\n \r\n if(currentFileName.contains(\".\"))\r\n {\r\n currentFileName = currentFileName.substring(0,currentFileName.lastIndexOf(\".\"));\r\n }\r\n if(scriptAds.get(i).getAdNumber().toLowerCase().equals(currentFileName.toLowerCase()))\r\n {\r\n modified = fileContents.get(j).lastModified();\r\n modifiedDate = new Date(modified);\r\n \r\n String dateToPrint = DateFormat.getDateTimeInstance(DateFormat.SHORT, DateFormat.SHORT).format(modifiedDate);\r\n dateToPrint = dateToPrint.substring(0,dateToPrint.indexOf(\" \"));\r\n \r\n infoText.append(\"<p>CC# \" + scriptAds.get(i).getccNumber() \r\n + \" matches a backup of last modified : \" + scriptAds.get(i).getAdNumber() \r\n + \" \" + dateToPrint + \"\\nin \" + importFileName + \"</p>\");\r\n }\r\n }\r\n }\r\n }", "public void mo83570c() {\n File[] listFiles;\n File file = new File(this.f60297d);\n if (file.isDirectory() && (listFiles = file.listFiles()) != null && listFiles.length >= this.f60294a) {\n Arrays.sort(listFiles, this.f60295b);\n for (int i = 0; i < listFiles.length && listFiles.length >= this.f60294a; i++) {\n File file2 = listFiles[i];\n if (!this.f60299f.contains(file2)) {\n ArgusLogger.m85574b(String.format(C6969H.m41409d(\"G4D8AC619BE22AF20E809D047FEE1C6C47DC3D008AD3FB969E71DD05BE6EAD1D26DC3D008AD3FB969EA079D41E6A5D1D26880DD1FBB70E36CF547\"), file2.getPath()));\n mo83569b(Collections.singleton(file2));\n }\n }\n }\n }", "public File[] filesReadOnly(File... f) { return f; }", "public List<File> getFiles();", "@Test\n\tpublic void testCountItems() {\n\t\tFile test = new File(\"X:\\\\Documents\\\\PS9 Test\");\n\t\tassertEquals(13,Explorer.countItems(test));\n\t}", "void update(FileInfo fileInfo);", "private static ArrayList m5336a(File[] fileArr) {\n ArrayList arrayList = new ArrayList();\n int i = 0;\n while (i < fileArr.length) {\n if (fileArr[i].isFile() && fileArr[i].getName().length() == 10 && TextUtils.isDigitsOnly(fileArr[i].getName())) {\n arrayList.add(fileArr[i]);\n }\n i++;\n }\n return arrayList;\n }", "@Test(timeout = 4000)\n public void test23() throws Throwable {\n FileUtil fileUtil0 = new FileUtil();\n ArrayList<Object> arrayList0 = new ArrayList<Object>();\n File file0 = fileUtil0.getAccessories(\"YP=8V~@ch)3vts}p8\", arrayList0);\n assertNull(file0);\n }", "public void findDupe(int choice) {\n\n\t\tString fullName = null;\n\t\tboolean flag = true;\n\n\t\tfor (Path file : filesArray) {\n\t\t\ttry {\n\t\t\t\tfullName = getFullName(file, choice);\n\t\t\t} catch (Exception e) {\n\t\t\t\tSystem.out.println(\"problem read file: \" + file);\n\t\t\t\tflag = false;\n\t\t\t}\n\n\t\t\tif (flag) {\n\t\t\t\tmultiMap.put(fullName, file);\n\t\t\t\tCollection<Path> vals = (Collection<Path>) multiMap.get(fullName);\n\n\t\t\t\tif (vals.size() > 1) {\n\t\t\t\t\tcounter++;\n\t\t\t\t}\n\t\t\t}\n\t\t\tflag = true;\n\t\t}\n\n\t\tSet<String> keys = multiMap.keySet();\n\t\tIterator<String> items = keys.iterator();\n\n\t\twhile (items.hasNext()) {\n\t\t\tString str = (String) items.next();\n\n\t\t\t@SuppressWarnings(\"unchecked\")\n\t\t\tCollection<Path> val = (Collection<Path>) multiMap.get(str);\n\t\t\tArrayList<Path> arr = new ArrayList<>(val);\n\n\t\t\tif (arr.size() <= 1)\n\t\t\t\titems.remove();\n\n\t\t}\n\n\t}", "java.util.List<entities.Torrent.FileInfo>\n getFileInfoList();", "List<DownloadChunk> mo54445j(int i);", "void visitFile(StorageUnit unit, long off, long lim);", "public void fileInfo(String info);", "private List<FileInfoDTO> createFileInfoDTOs(MultipartFile file1, MultipartFile file2, int totalLinesFirstFile,\n\t\t\tint totalLinesSecondFile) {\n\t\tint unmatchedRecordsFirstFile = firstFileMap.getCountMap().values().stream().mapToInt(Integer::valueOf).sum();\n\t\tint unmatchedRecordsSecondFile = secondFileMap.getCountMap().values().stream().mapToInt(Integer::valueOf).sum();\n\n\t\tFileInfo firstFileInfo = new FileInfo();\n\t\tfirstFileInfo.setName(file1.getOriginalFilename());\n\t\tfirstFileInfo.setTotalRecords(totalLinesFirstFile);\n\t\tfirstFileInfo.setUnmatchedRecords(unmatchedRecordsFirstFile);\n\t\tfirstFileInfo.setMatchingRecords(totalLinesFirstFile - unmatchedRecordsFirstFile);\n\n\t\tFileInfo secondFileInfo = new FileInfo();\n\t\tsecondFileInfo.setName(file2.getOriginalFilename());\n\t\tsecondFileInfo.setTotalRecords(totalLinesSecondFile);\n\t\tsecondFileInfo.setUnmatchedRecords(unmatchedRecordsSecondFile);\n\t\tsecondFileInfo.setMatchingRecords(totalLinesSecondFile - unmatchedRecordsSecondFile);\n\n\t\treturn List.of(firstFileInfo, secondFileInfo).stream()\n\t\t\t\t.map(file -> DTOConverter.convertFileInfoToFileInfoDTO(file)).collect(Collectors.toList());\n\t}", "public void a(File file, List<WxAndQqScanPathInfo> list) {\n if (file != null && !this.p) {\n File[] listFiles = file.listFiles();\n if (listFiles != null) {\n int length = listFiles.length;\n int i2 = 0;\n while (i2 < length) {\n File file2 = listFiles[i2];\n if (!this.p) {\n if (file2 != null) {\n if (!file2.isDirectory()) {\n if (!\".nomedia\".equals(file2.getName()) && file2.length() >= 5 && file2 != null && file2.exists()) {\n CleanWxItemInfo cleanWxItemInfo = new CleanWxItemInfo();\n cleanWxItemInfo.setFileType(((WxAndQqScanPathInfo) list.get(0)).getType());\n cleanWxItemInfo.setFile(file2);\n cleanWxItemInfo.setDays(TimeUtil.changeTimeToDay(cleanWxItemInfo.getFile().lastModified()));\n cleanWxItemInfo.setFileSize(file2.length());\n switch (((WxAndQqScanPathInfo) list.get(0)).getType()) {\n case 1:\n o += cleanWxItemInfo.getFileSize();\n d.setTotalSize(d.getTotalSize() + cleanWxItemInfo.getFileSize());\n d.setTotalNum(d.getTotalNum() + 1);\n if (d.isChecked()) {\n cleanWxItemInfo.setChecked(true);\n d.setSelectSize(d.getSelectSize() + cleanWxItemInfo.getFileSize());\n d.setSelectNum(d.getSelectNum() + 1);\n }\n cleanWxItemInfo.setDays(TimeUtil.changeTimeToDay(0));\n a(d, cleanWxItemInfo);\n break;\n case 2:\n if (!file2.getAbsolutePath().endsWith(\"_cover\") && !new File(file2.getAbsolutePath() + \"_cover\").exists()) {\n if (!\"finishActivity\".equals(this.r) && !\"bigGarbageFragment\".equals(this.r)) {\n if (e.isFinished()) {\n j.setTotalNum(j.getTotalNum() + 1);\n j.setTotalSize(j.getTotalSize() + cleanWxItemInfo.getFileSize());\n a(j, cleanWxItemInfo);\n break;\n } else {\n o += cleanWxItemInfo.getFileSize();\n e.setTotalNum(e.getTotalNum() + 1);\n e.setTotalSize(e.getTotalSize() + cleanWxItemInfo.getFileSize());\n if (e.isChecked()) {\n cleanWxItemInfo.setChecked(true);\n e.setSelectNum(e.getSelectNum() + 1);\n e.setSelectSize(e.getSelectSize() + cleanWxItemInfo.getFileSize());\n }\n a(e, cleanWxItemInfo);\n break;\n }\n }\n } else {\n j.setTotalSize(j.getTotalSize() + cleanWxItemInfo.getFileSize());\n j.setTotalNum(j.getTotalNum() + 1);\n a(j, cleanWxItemInfo);\n break;\n }\n break;\n case 3:\n o += cleanWxItemInfo.getFileSize();\n f.setTotalSize(f.getTotalSize() + cleanWxItemInfo.getFileSize());\n f.setTotalNum(f.getTotalNum() + 1);\n if (f.isChecked()) {\n cleanWxItemInfo.setChecked(true);\n f.setSelectSize(f.getSelectSize() + cleanWxItemInfo.getFileSize());\n f.setSelectNum(f.getSelectNum() + 1);\n }\n a(f, cleanWxItemInfo);\n break;\n case 4:\n if (file2.getName().startsWith(\"snstblur_src_\")) {\n if (Constants.PRIVATE_LOG_CONTROLER) {\n break;\n } else {\n file2.delete();\n break;\n }\n } else {\n if (!file2.getName().startsWith(\"snst_\")) {\n if (file2.getName().startsWith(\"snsu_\") && new File(file2.getAbsolutePath().replace(\"snsu_\", \"snsb_\")).exists()) {\n break;\n }\n } else if (!new File(file2.getAbsolutePath().replace(\"snst_\", \"snsu_\")).exists()) {\n if (new File(file2.getAbsolutePath().replace(\"snst_\", \"snsb_\")).exists()) {\n break;\n }\n } else {\n break;\n }\n o += cleanWxItemInfo.getFileSize();\n g.setTotalSize(g.getTotalSize() + cleanWxItemInfo.getFileSize());\n g.setTotalNum(g.getTotalNum() + 1);\n if (g.isChecked()) {\n cleanWxItemInfo.setChecked(true);\n g.setSelectSize(g.getSelectSize() + cleanWxItemInfo.getFileSize());\n g.setSelectNum(g.getSelectNum() + 1);\n }\n a(g, cleanWxItemInfo);\n break;\n }\n case 5:\n if (file2.getName().endsWith(\".jpg_hevc\")) {\n if (Constants.PRIVATE_LOG_CONTROLER) {\n break;\n } else {\n file2.delete();\n break;\n }\n } else {\n if (file2.getName().startsWith(\"th_\")) {\n if (!file2.getName().endsWith(\"hd\")) {\n break;\n } else {\n break;\n }\n }\n h.setTotalSize(h.getTotalSize() + cleanWxItemInfo.getFileSize());\n h.setTotalNum(h.getTotalNum() + 1);\n a(h, cleanWxItemInfo);\n break;\n }\n case 6:\n if (!file2.getAbsolutePath().contains(\"download/appbrand\")) {\n if (file2.getName().endsWith(\".jpg\")) {\n if (!new File(file2.getAbsolutePath().replace(\".jpg\", \".mp4\")).exists() && !Constants.PRIVATE_LOG_CONTROLER) {\n file2.delete();\n break;\n }\n } else {\n i.setTotalSize(i.getTotalSize() + cleanWxItemInfo.getFileSize());\n i.setTotalNum(i.getTotalNum() + 1);\n a(i, cleanWxItemInfo);\n break;\n }\n } else {\n break;\n }\n case 8:\n k.setTotalSize(k.getTotalSize() + cleanWxItemInfo.getFileSize());\n k.setTotalNum(k.getTotalNum() + 1);\n a(k, cleanWxItemInfo);\n break;\n case 9:\n if (!file2.getName().endsWith(\".mp4\")) {\n l.setTotalSize(l.getTotalSize() + cleanWxItemInfo.getFileSize());\n l.setTotalNum(l.getTotalNum() + 1);\n l.getMineList().add(cleanWxItemInfo);\n a(l, cleanWxItemInfo);\n break;\n } else {\n m.setTotalSize(m.getTotalSize() + cleanWxItemInfo.getFileSize());\n m.setTotalNum(m.getTotalNum() + 1);\n m.getMineList().add(cleanWxItemInfo);\n a(m, cleanWxItemInfo);\n break;\n }\n case 10:\n n.setTotalSize(n.getTotalSize() + cleanWxItemInfo.getFileSize());\n n.setTotalNum(n.getTotalNum() + 1);\n a(n, cleanWxItemInfo);\n break;\n }\n }\n } else {\n try {\n if (file2.listFiles() == null || file2.listFiles().length == 0) {\n FileUtils.deleteFileAndFolder(file2);\n }\n } catch (Exception e2) {\n Logger.iCatch(Logger.TAG, Logger.ZYTAG, \"CleanWxClearNewActivity---wxFileScan ---- \", e2);\n }\n a(file2, list);\n }\n }\n i2++;\n } else {\n return;\n }\n }\n }\n }\n }", "java.util.List<? extends entities.Torrent.FileInfoOrBuilder>\n getFileInfoOrBuilderList();", "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 }", "public Builder addAllFiles(\n java.lang.Iterable<? extends entities.Torrent.FileInfo> values) {\n if (filesBuilder_ == null) {\n ensureFilesIsMutable();\n com.google.protobuf.AbstractMessageLite.Builder.addAll(\n values, files_);\n onChanged();\n } else {\n filesBuilder_.addAllMessages(values);\n }\n return this;\n }", "public filesMB() {\n }", "com.google.protobuf.ByteString\n getFileNamesBytes(int index);", "public int getFileNamesCount() {\n return fileNames_.size();\n }", "@java.lang.Override\n public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder(\n int index) {\n return fileInfo_.get(index);\n }" ]
[ "0.65325207", "0.6227456", "0.6177881", "0.6116598", "0.6065684", "0.6065684", "0.590164", "0.58970237", "0.58970237", "0.5783433", "0.57750136", "0.5763771", "0.5762734", "0.57547295", "0.5746625", "0.5744839", "0.5644452", "0.563878", "0.5628507", "0.56053144", "0.5601631", "0.5583571", "0.55456394", "0.5545325", "0.5545274", "0.5519314", "0.55032945", "0.5502879", "0.5497437", "0.54956275", "0.5495291", "0.54928", "0.5474748", "0.5458041", "0.54520524", "0.54351526", "0.5411701", "0.5409407", "0.5396235", "0.5388728", "0.5378012", "0.537654", "0.53608066", "0.5359268", "0.53519815", "0.5335172", "0.5334883", "0.5334883", "0.53343636", "0.53343636", "0.5319273", "0.5309602", "0.53086674", "0.52990717", "0.52990717", "0.5284801", "0.5278754", "0.5276997", "0.5274732", "0.52718306", "0.52717876", "0.5270142", "0.5268754", "0.5264792", "0.5254606", "0.5237259", "0.52320284", "0.52265704", "0.5221797", "0.5220387", "0.5209014", "0.5206498", "0.519874", "0.51969546", "0.5187828", "0.5185607", "0.5185165", "0.518249", "0.5176273", "0.5165428", "0.51650506", "0.5165015", "0.5163598", "0.5161906", "0.51600796", "0.51514554", "0.5150045", "0.51442325", "0.5133645", "0.51309294", "0.5130048", "0.51299196", "0.5128534", "0.51266265", "0.5125555", "0.5115963", "0.51151603", "0.51146954", "0.51012677", "0.50983685", "0.5096151" ]
0.0
-1
repeated .FileInfo files = 4;
public entities.Torrent.FileInfo.Builder addFilesBuilder() { return getFilesFieldBuilder().addBuilder( entities.Torrent.FileInfo.getDefaultInstance()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "int getFileInfoCount();", "public void incFileCount(){\n\t\tthis.num_files++;\n\t}", "entities.Torrent.FileInfo getFiles(int index);", "public Files(){\n this.fileNameArray.add(\"bridge_1.txt\");\n this.fileNameArray.add(\"bridge_2.txt\");\n this.fileNameArray.add(\"bridge_3.txt\");\n this.fileNameArray.add(\"bridge_4.txt\");\n this.fileNameArray.add(\"bridge_5.txt\");\n this.fileNameArray.add(\"bridge_6.txt\");\n this.fileNameArray.add(\"bridge_7.txt\");\n this.fileNameArray.add(\"bridge_8.txt\");\n this.fileNameArray.add(\"bridge_9.txt\");\n this.fileNameArray.add(\"ladder_1.txt\");\n this.fileNameArray.add(\"ladder_2.txt\");\n this.fileNameArray.add(\"ladder_3.txt\");\n this.fileNameArray.add(\"ladder_4.txt\");\n this.fileNameArray.add(\"ladder_5.txt\");\n this.fileNameArray.add(\"ladder_6.txt\");\n this.fileNameArray.add(\"ladder_7.txt\");\n this.fileNameArray.add(\"ladder_8.txt\");\n this.fileNameArray.add(\"ladder_9.txt\");\n }", "int getFileNamesCount();", "int getFileNamesCount();", "ds.hdfs.generated.FileMetadata getFiles(int index);", "int getFilesCount();", "int getFilesCount();", "int getFileCount();", "private void gatherFile(FileStatus[] fstat)\r\n\t{\r\n\t inputSize = 0;\t\r\n\t paths = new Path[fstat.length];\t\r\n\t for(int i=0;i<fstat.length;i++)\r\n\t {\r\n\t inputSize+=fstat[i].getLen();\r\n\t paths[i] = fstat[i].getPath();\r\n\t }\r\n\t }", "@java.lang.Override\n public int getFileInfoCount() {\n return fileInfo_.size();\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}", "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}", "private void initializeFileArrays(){\n File downloadedFilesFolder = new File(MainActivity.DB_PATH);\n File[] files = downloadedFilesFolder.listFiles();\n System.out.println(\"*** \" + files.length + \" ***\");\n if(files != null){\n System.out.println(\"*** \" + files.length + \" ***\");\n for(File f : files){\n if(f != null){\n System.out.println(\"***\\n FILE FOUND - \" + f.getAbsolutePath()+\"\\nSIZE - \" +\n f.length() + \" BYTES \\n***\");\n fileNames.add(f.getName());\n fileSizes.add(f.length()+\"\");\n this.files.add(f);\n }\n }\n }\n }", "entities.Torrent.FileInfoOrBuilder getFilesOrBuilder(\n int index);", "List<UploadInfo> simpleUploadAll(List<SimpleFile> files);", "public List<FileUpload> getFileUploads(int numberOfFileUploads, Long startIndex) throws AppException;", "void addFile(int numberLines);", "private void updateFiles() {\n\t}", "@Override\n public void addSingleFile(FileInfo file) {\n }", "entities.Torrent.FileInfo getFileInfo(int index);", "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}", "private static void showFiles(File[] files) {\n\t\t for (File file : files) {\r\n\t\t if (file.isDirectory()) {\r\n\t\t // System.out.println(\"Directory: \" + file.getName());\r\n\t\t showFiles(file.listFiles()); // Calls same method again.\r\n\t\t } else {\r\n\t\t // System.out.println(\"File: \" + file.getName());\r\n\t\t }\r\n\t\t }\r\n\t\t\r\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 }", "private void findRecordings(){\n File[] files = new File(\"Concatenated/\").listFiles();\n _records.clear();\n _versionNum = 1;\n for (File file : files){\n if (file.isFile()){\n String nameOnFile = file.getName().substring(file.getName().lastIndexOf('_')+1,file.getName().lastIndexOf('.')).toUpperCase();\n if (nameOnFile.equals(_name.toUpperCase())){\n _records.add(file.getName());\n _versionNum++;\n }\n }\n }\n }", "private void checkDuplicateOfFile(Iterable<FileInfo> files, DuplicateDataDTO data) {\n for(FileInfo nextFile: files) {\n for(FileInfo nextFile2: files) {\n if(nextFile.duplicate(nextFile2)) {\n LOG.info(\"Duplicate - {}\", nextFile);\n\n processDuplicate(nextFile,data);\n }\n }\n }\n }", "public TagFileInfo[] getTagFiles() {\n/* 176 */ return this.tagFiles;\n/* */ }", "@Test\n\tpublic void testNumLargeFiles() {\n\t\tFile test = new File(\"X:\\\\Documents\\\\PS9 Test\");\n\t\tassertEquals(6,Explorer.numLargeFiles(test));\n\t}", "public double getNumFiles(){\n\t\treturn (this.num_files);\n\t}", "public Files files();", "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 }", "@Test\n\tpublic void testSetFileInfo() {\n\n\t}", "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 readFileList() throws IOException {\n\t\tint entries = metadataFile.readInt();\n\n\t\tfor (int i = 0; i < entries; i++) {\n\t\t\tint hash = metadataFile.readInt();\n\t\t\tlong dataOffset = metadataFile.readInt() & 0xFFFFFFFFL;\n\t\t\tlong dataSize = metadataFile.readInt() & 0xFFFFFFFFL;\n\t\t\tint pathListIndex = metadataFile.readInt();\n\n\t\t\tlong position = metadataFile.getPosition();\n\t\t\tmetadataFile.setPosition(pathListOffset + 8 + (pathListIndex * 8));\n\n\t\t\tlong pathOffset = metadataFile.readInt() & 0xFFFFFFFFL;\n\t\t\tint pathSize = metadataFile.readInt();\n\n\t\t\tmetadataFile.setPosition(pathListOffset + pathOffset);\n\t\t\tString path = metadataFile.readString(pathSize).trim();\n\n\t\t\tif (hash == hash(path)) \n\t\t\t\tfileEntries.add(new RAFFileEntry(dataOffset, dataSize, path));\n\t\t\telse\n\t\t\t\tthrow new IOException(\"Invalid hash for item '\" + path + \"'.\");\n\n\t\t\tmetadataFile.setPosition(position);\n\t\t}\n\t}", "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 static void main(String[] args) {\n\t\tint count=0;\n\t\t File f=new File(\"C:\\\\Users\\\\kumaujjv\\\\Downloads\\\\Assignments - Copy\");\n\t\t String[] s=f.list();\n\n\t\t for(String s1:s) {\n\t\t File f1=new File(f,s1);\n\t\t if(f1.isFile()) {\n\t\t\t //count++;\n\t\t\t System.out.println(s1);\n\t\t }\n\t\t}\n\t\tSystem.out.println(\"total number : \"+count);\n\n\t\t}", "public float[] accumulateDetailFiles(ArrayList<File> files){\r\n\t\tfloat[] values = new float[100];\r\n\t\tint counter = 0;\r\n\r\n\t for(File file:files){\t\t\r\n\t \tSystem.out.println(file.getName());\r\n\t \tcounter = 0;\r\n\t BufferedReader reader;\r\n\t try{\r\n\t reader = new BufferedReader(new FileReader(file));\r\n\t String line = reader.readLine(); \r\n\t while(line != null){\t\r\n\t \tif(!line.substring(0,1).equals(\"#\")){\r\n\t \t\tString[] values2 = line.split(\" \");\r\n\t \t\tvalues[counter] += Float.valueOf(values2[values2.length-1]);\r\n\t\t \tcounter++;\r\n\t \t}\r\n\t \tline = reader.readLine();\r\n\t }\r\n\t \r\n\t\t\t} catch (FileNotFoundException e) {\r\n\t\t\t System.err.println(\"FileNotFoundException: \" + e.getMessage());\r\n\t\t\t} catch (IOException e) {\r\n\t\t\t System.err.println(\"Caught IOException: \" + e.getMessage());\r\n\t\t\t}\r\n\t }\r\n\r\n\t float[] returnValues = new float[counter];\r\n\t \r\n\t for(int j = 0; j < returnValues.length; j++) \treturnValues[j] = ((float)values[j]/files.size());\r\n\t\r\n\t \r\n \treturn returnValues;\r\n\t}", "ds.hdfs.generated.FileMetadataOrBuilder getFilesOrBuilder(\n int index);", "private static void calculateSizes() {\n for(EmailTypes type : EmailTypes.values()){\n File f = unpackedFiles.get(type);\n setSizes.put(type, Objects.requireNonNull(f.listFiles()).length);\n }\n }", "public int[] filesRemaining();", "public static void main(String[] args) {\n\t\tFile dir = new File(\"H:\");\r\n\t\tString[] filelist = dir.list();\r\n\t\tlong total = 0;\r\n\t\tlong t = 0;\r\n\t\tfor(int i=0;i<filelist.length;i++){\r\n\t\t\t File readfile = new File(\"H:\" + \"\\\\\" + filelist[i]);\r\n\t\t\t t = readFile(readfile)/1024/1024;\r\n\t\t\t System.out.println(\"name=\" + readfile.getName() + \" size:=\" + t + \"MB\");\r\n\t\t\t total += t;\r\n\t\t}\r\n\t\tSystem.out.println(\"OK,all the files is list over,the number is \" + filelist.length + \"the total size is \" + total); \r\n\t}", "@Test\n public void tagFilesShouldReturnNonEmptyTagFiles() throws Exception {\n //given\n givenInfoMessageCode();\n\n //when\n List<IFileSpec> tagFiles = tagDelegator.tagFiles(fileSpecs, LABEL_NAME, opts);\n //then\n assertThat(tagFiles.size(), is(1));\n assertThat(tagFiles.get(0).getDepotPathString(), is(TEST_FILE_DEPOT_PATH));\n }", "public int getFileInfoCount() {\n if (fileInfoBuilder_ == null) {\n return fileInfo_.size();\n } else {\n return fileInfoBuilder_.getCount();\n }\n }", "private static ArrayList<File> buildFilesArray() {\n ArrayList<File> result = new ArrayList<>();\n rAddFilesToArray(workingDirectory, result);\n return result;\n }", "@java.lang.Override\n public entities.Torrent.FileInfoOrBuilder getFilesOrBuilder(\n int index) {\n return files_.get(index);\n }", "java.lang.String getFileNames(int index);", "java.lang.String getFileNames(int index);", "public void filesNotFound(File... f) { }", "public void filesNotFound(File... f) { }", "public static int filesWithSizes (File f)\n\t{\n\t\tif (f.isFile())\n\t\t{\n\t\t\tif (f.length()>= 10000 && f.length() <= 25000)\n\t\t\t{\n\t\t\t\treturn 1;\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\treturn 0;\n\t\t\t}\n\t\t}\n\t\telse\n\t\t{\n\t\t\tint count = 0;\n\t\t\tfor (File file: f.listFiles())\n\t\t\t{\n\t\t\t\tcount += filesWithSizes(file);\n\t\t\t}\n\t\t\treturn count;\n\t\t}\n\t}", "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 }", "public java.lang.String[] getNewFiles(){\r\n return localNewFiles;\r\n }", "entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder();", "entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder();", "@Test\n public void shouldReturnNonEmptyTagFiles() throws Exception {\n //given\n givenInfoMessageCode();\n //when\n List<IFileSpec> tagFiles = tagDelegator.tagFiles(\n fileSpecs,\n LABEL_NAME,\n listOnly1,\n delete1);\n //then\n assertThat(tagFiles.size(), is(1));\n assertThat(tagFiles.get(0).getDepotPathString(), is(TEST_FILE_DEPOT_PATH));\n }", "@Test\n public void maxFiles() throws Throwable {\n MergeFilesOptions opts = new MergeFilesOptions();\n opts.setStream(\"//Ace/dev\");\n opts.setReverseMapping(true);\n opts.setMaxFiles(1);\n opts.setForceStreamMerge(true);\n\n List<IFileSpec> merged = client.mergeFiles(null, null, opts);\n assertEquals(\"wrong number of files\", 1, merged.size());\n\n List<IFileSpec> opened = client.openedFiles(null, null);\n assertEquals(\"files should not have been opened\", 1, opened.size());\n }", "public FileCount(int numFiles){\n this.numFiles = numFiles;\n }", "public int getFileNamesCount() {\n return fileNames_.size();\n }", "static public ObservableList<ImageMetaInfo> getImagesInfo(File path) {\n ObservableList<ImageMetaInfo> observableList = FXCollections.observableArrayList();\n ExtFilter fileFilter = new ExtFilter();\n File[] imageFilesArray = path.listFiles(fileFilter);\n for (File file : imageFilesArray) {\n ImageMetaInfo imageMetaInfo = getImageMetaInfo(file);\n observableList.add(imageMetaInfo);\n }\n return observableList;\n }", "private void get_file_List() {\n\tString file_name=null;\r\n\tfor (int i = 0; i < listOfFiles.length; i++) \r\n\t {\r\n\t \r\n\t if (listOfFiles[i].isFile()) \r\n\t {\r\n\t\t file_name = listOfFiles[i].getName();\r\n\t if (file_name.endsWith(\".xml\") || file_name.endsWith(\".XML\"))\r\n\t {\r\n\t file_list.add(file_name) ;\r\n\t }\r\n\t }\r\n\t }\r\n\t\r\n}", "public static void getListOfAllFileVarianta2() {\n\t\tPath pathToSrc = Paths.get(\"D:\\\\TorrentsMd\");\r\n\t\ttry {\r\n\t\t\t//cu method references\r\n//\t\t\tFiles.walk(pathToSrc)\r\n//\t\t\t\t.map(Path::toFile)\r\n//\t\t\t\t.filter(File::isFile)\r\n//\t\t\t\t.map(File::getName)\r\n//\t\t\t\t.sorted()\r\n//\t\t\t\t.forEach(System.out::println);\r\n\t\t\t\r\n\t\t\t//cu lambda, dar dpdv semantic sunt identice\r\n\t\t\tFiles.walk(pathToSrc)\r\n\t\t\t\t .map(path -> path.toFile()) //trasnform fiecare Path din stream intr-un File\r\n\t\t\t\t .filter(file -> file.isFile()) //filtrez doar fisierele\r\n\t\t\t\t .map(file -> file.getName())//transform fiecare File din stream intr-un String, care e numele sau\r\n\t\t\t\t .sorted()\r\n\t\t\t\t .forEach(file -> System.out.println(file));\r\n\t\t} catch (IOException e) {\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t}", "@java.lang.Override\n public int getFilesCount() {\n return files_.size();\n }", "static List<File> gitAttributes(File projectDir, Iterable<File> files) {\n List<File> gitAttrFiles = new ArrayList<>();\n Set<File> visitedFolders = new HashSet<>();\n for (File file : files) {\n gitAttrAddWithParents(projectDir, file.getAbsoluteFile(), visitedFolders, gitAttrFiles);\n }\n return gitAttrFiles;\n }", "public static int getNumberOfFiles() {\n\t\treturn EXTENSIONS.length;\n\t}", "public Map<String, NewData> getSnapshotFiles (final List<String> files){\n \t\tMap<String,NewData> w = new HashMap<String,NewData>();\n \t\tList<String> l = new LinkedList<String>();\n \t\tString s=\"\";\n \t\t\n \t\tfor (String str : files){\n \t\t\tw.put(str, new NewData(str));\n \t\t\tl=this.readFile(this.getSnapshot().getRoot() + File.separatorChar +str);\n \t\t\t\n \t\t\tfor (String str2 : l)\n \t\t\t\ts=s+str2+\"\\n\";\n \t\t\t\n \t\t\tw.get(str).setFileContent(s);\n \t\t\tw.get(str).getLclock().putAll(this.getFilelist().get(str));\n \t\t}\n \t\t\t\t\n \t\treturn w;\n \t}", "entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder(\n int index);", "public void getPeerFiles(){\n\t\t\n\t\tFile[] files = new File(path).listFiles();\n\t\tfor (File file : files) {\n\t\t\tfileNames.add(file.getName());\n\t\t}\n\t\tSystem.out.println(\"Number of Files Registerd to the server - \"+fileNames.size());\n\t\tSystem.out.println(\"To search for file give command: get <Filename>\");\n\t\tSystem.out.println(\"To refresh type command: refresh\");\n\t\tSystem.out.println(\"To disconnect type command: disconnect\");\n\t}", "public static void main(String[] args) {\nFile files=new File(\"C:\\\\Users\\\\k74\");\nString filenames[]=files.list();\nfor(String filename :filenames)\n\tSystem.out.println(filename);\n\t}", "public static void rankFiles(Hashtable<?, Integer> fname, int numberOfOccurrences) \r\n\t{\n\t\tArrayList<Map.Entry<?, Integer>> arrayList = new ArrayList(fname.entrySet());\r\n\r\n\t\tCollections.sort(arrayList, new Comparator<Map.Entry<?, Integer>>() \r\n\t\t{\r\n\t\t\tpublic int compare(Map.Entry<?, Integer> obj1, Map.Entry<?, Integer> obj2) \r\n\t\t\t{\r\n\t\t\t\treturn obj1.getValue().compareTo(obj2.getValue());\r\n\t\t\t}\r\n\t\t});\r\n\r\n\t\tCollections.reverse(arrayList);\r\n\r\n\t\tif (numberOfOccurrences > 0) \r\n\t\t{\r\n\t\t\tSystem.out.println(\"\\n------Top 10 search results-----\\n\");\r\n\r\n\t\t\tint my_number = 10;\r\n\t\t\tint j = 1;\r\n\t\t\twhile (arrayList.size() > j && my_number > 0) \r\n\t\t\t{\r\n\t\t\t\tSystem.out.println(\"(\" + j + \") \" + arrayList.get(j) + \" times \");\r\n\t\t\t\tj++;\r\n\t\t\t\tmy_number--;\r\n\t\t\t}\r\n\t\t} \r\n\t}", "@Override\n public List<FileInfo> getLibrarySubFiles(FileInfo fileInfo) {\n return null;\n }", "public final void mo14831s() {\n Iterator it = ((ArrayList) mo14817d()).iterator();\n while (it.hasNext()) {\n File file = (File) it.next();\n if (file.listFiles() != null) {\n m6739b(file);\n long c = m6740c(file, false);\n if (((long) this.f6567b.mo14797a()) != c) {\n try {\n new File(new File(file, String.valueOf(c)), \"stale.tmp\").createNewFile();\n } catch (IOException unused) {\n f6563c.mo14884b(6, \"Could not write staleness marker.\", new Object[0]);\n }\n }\n for (File b : file.listFiles()) {\n m6739b(b);\n }\n }\n }\n }", "@Test\n public void testGetFilesList() {\n System.out.println(\"getFilesList from existing folder with existing subfiles\");\n String entryPath = folder.toString()+fSeparator+\"Images\";\n FilesDao instance = new FilesDao();\n String[] expResult = new String[2];\n expResult[0] = \"testImg.jpg\";\n expResult[1] = \"testImg2.jpg\";\n String[] result;\n try{\n result = instance.getFilesList(entryPath);\n }catch(EntryException ex){\n result = null;\n }\n assertArrayEquals(expResult, result);\n }", "private void populateList(File[] filesList) {\n Log.i(\"mPackage\",\"FilesList: \"+filesList.length);\n for(File file : filesList) {\n //Log.i(\"mPackage\",\"Path: \"+file);\n if(file.isDirectory()) {\n populateList(file.listFiles());\n }\n else {\n MarkerModel markerModel = new MarkerModel();\n Boolean containsObj = false;\n for(File modelFile : filesList) {\n String[] extension = modelFile.getName().split(\"\\\\.\");\n if(extension[extension.length-1].equals(\"obj\")) {\n markerModel.setObj(modelFile.getPath());\n containsObj = true;\n }\n else if(extension[extension.length-1].equals(\"mtl\"))\n markerModel.setMtl(modelFile.getPath());\n else\n markerModel.addTexture(modelFile.getPath());\n }\n if(containsObj)\n models.add(markerModel);\n return;\n //models.add(file.getPath());\n //Log.i(\"mPackage\",\"Path: \"+file.getPath());\n }\n }\n }", "java.util.List<? extends ds.hdfs.generated.FileMetadataOrBuilder> \n getFilesOrBuilderList();", "public List<String> splitByCount(String fileName, int count)\n throws IOException, InterruptedException {\n\n List<String> parts = new ArrayList<String>();\n File file = new File(fileName);\n int blockSize = (int) Math.ceil(file.length() / (double) count);\n RandomAccessFile raf = new RandomAccessFile(fileName, \"r\");\n long totalLen = raf.length();\n CountDownLatch latch = new CountDownLatch(count);\n\n long startPos = 0L;\n long nextPos = 0L;\n\n for (int i = 0; i < count; i++) {\n nextPos = Long.min((long) (i + 1) * blockSize, totalLen - 1);\n raf.seek(nextPos);\n //Calculate the start position for the next file.\n do {\n raf.seek(nextPos);\n if (raf.readByte() == '\\n') {\n nextPos = nextPos + 1;\n break;\n }\n nextPos--;\n } while (true);\n long readSizeTemp = nextPos - startPos;\n int readSize = (int) readSizeTemp;\n String partFileName = fileName.replace(\"raw\", \"raw\" + (i + 1));\n new SplitRunnable(readSize, startPos, partFileName, file, latch).run();\n startPos = nextPos;\n parts.add(partFileName);\n }\n //Wait until all the files are written.\n latch.await();\n return parts;\n }", "public float[] accumulateSimpleMixFiles(ArrayList<File> files){\r\n\t\t\tfloat[] returnValue = new float[10];\r\n\t\t\tfloat[] values = new float[10];\r\n\t\t\t\r\n\t\t for(File file:files){\t\t\t\t\t\r\n\t\t BufferedReader reader;\r\n\t\t try{\r\n\t\t reader = new BufferedReader(new FileReader(file));\r\n\t\t String line = reader.readLine(); \r\n\t\t while(line != null){\t\r\n\t\t \tif(line.substring(0,5).equals(\"Total\")){\r\n\t\t \t\tString[] values2 = line.split(\" \");\r\n\t\t \t\t\r\n\t\t \t\tfor(int i = 2; i < values2.length; i++) values[i-2] += Float.valueOf(values2[i]);\r\n\t\t \t}\r\n\t\t \tline = reader.readLine();\r\n\t\t }\r\n\t\t \r\n\t\t\t\t} catch (FileNotFoundException e) {\r\n\t\t\t\t System.err.println(\"FileNotFoundException: \" + e.getMessage());\r\n\t\t\t\t} catch (IOException e) {\r\n\t\t\t\t System.err.println(\"Caught IOException: \" + e.getMessage());\r\n\t\t\t\t}\r\n\t\t }\r\n\r\n\t\t for(int j = 0; j < values.length; j++) returnValue[j] = (float)values[j]/files.size();\t\r\n\t\t \r\n\t\t return returnValue;\r\n\t\t}", "private Map<ServerFile, Integer> totalFiles(){\n\t\tMap<ServerFile, Integer> ret = new HashMap<ServerFile, Integer>();\n\t\tfor (ClientObj c : clients){\n\t\t\tfor (ServerFile f : c.getFiles()){\n\t\t\t\tif (!ret.containsKey(f))\n\t\t\t\t\tret.put(f, 1);\n\t\t\t\telse\n\t\t\t\t\tret.put(f, ret.get(f) + 1);\n\t\t\t}\n\t\t}\n\t\treturn ret;\n\t}", "int getSourceFileCount();", "public void checkForRepeats(String selectedMarket)\r\n {\r\n System.out.println(backUpPath + selectedMarket);\r\n \tFile f = new File(backUpPath + selectedMarket);\r\n \tArrayList<File> fileContents = new ArrayList<File>(Arrays.asList(f.listFiles()));\r\n \t\r\n for(int i = 0;i< scriptAds.size();i++)\r\n \t{\r\n String currentFileName;\r\n long modified;\r\n Date modifiedDate;\r\n \r\n for(int j = 0;j < fileContents.size();j++)\r\n {\r\n currentFileName = fileContents.get(j).getName();\r\n \r\n if(currentFileName.contains(\".\"))\r\n {\r\n currentFileName = currentFileName.substring(0,currentFileName.lastIndexOf(\".\"));\r\n }\r\n if(scriptAds.get(i).getAdNumber().toLowerCase().equals(currentFileName.toLowerCase()))\r\n {\r\n modified = fileContents.get(j).lastModified();\r\n modifiedDate = new Date(modified);\r\n \r\n String dateToPrint = DateFormat.getDateTimeInstance(DateFormat.SHORT, DateFormat.SHORT).format(modifiedDate);\r\n dateToPrint = dateToPrint.substring(0,dateToPrint.indexOf(\" \"));\r\n \r\n infoText.append(\"<p>CC# \" + scriptAds.get(i).getccNumber() \r\n + \" matches a backup of last modified : \" + scriptAds.get(i).getAdNumber() \r\n + \" \" + dateToPrint + \"\\nin \" + importFileName + \"</p>\");\r\n }\r\n }\r\n }\r\n }", "public void mo83570c() {\n File[] listFiles;\n File file = new File(this.f60297d);\n if (file.isDirectory() && (listFiles = file.listFiles()) != null && listFiles.length >= this.f60294a) {\n Arrays.sort(listFiles, this.f60295b);\n for (int i = 0; i < listFiles.length && listFiles.length >= this.f60294a; i++) {\n File file2 = listFiles[i];\n if (!this.f60299f.contains(file2)) {\n ArgusLogger.m85574b(String.format(C6969H.m41409d(\"G4D8AC619BE22AF20E809D047FEE1C6C47DC3D008AD3FB969E71DD05BE6EAD1D26DC3D008AD3FB969EA079D41E6A5D1D26880DD1FBB70E36CF547\"), file2.getPath()));\n mo83569b(Collections.singleton(file2));\n }\n }\n }\n }", "public File[] filesReadOnly(File... f) { return f; }", "public List<File> getFiles();", "@Test\n\tpublic void testCountItems() {\n\t\tFile test = new File(\"X:\\\\Documents\\\\PS9 Test\");\n\t\tassertEquals(13,Explorer.countItems(test));\n\t}", "void update(FileInfo fileInfo);", "private static ArrayList m5336a(File[] fileArr) {\n ArrayList arrayList = new ArrayList();\n int i = 0;\n while (i < fileArr.length) {\n if (fileArr[i].isFile() && fileArr[i].getName().length() == 10 && TextUtils.isDigitsOnly(fileArr[i].getName())) {\n arrayList.add(fileArr[i]);\n }\n i++;\n }\n return arrayList;\n }", "@Test(timeout = 4000)\n public void test23() throws Throwable {\n FileUtil fileUtil0 = new FileUtil();\n ArrayList<Object> arrayList0 = new ArrayList<Object>();\n File file0 = fileUtil0.getAccessories(\"YP=8V~@ch)3vts}p8\", arrayList0);\n assertNull(file0);\n }", "public void findDupe(int choice) {\n\n\t\tString fullName = null;\n\t\tboolean flag = true;\n\n\t\tfor (Path file : filesArray) {\n\t\t\ttry {\n\t\t\t\tfullName = getFullName(file, choice);\n\t\t\t} catch (Exception e) {\n\t\t\t\tSystem.out.println(\"problem read file: \" + file);\n\t\t\t\tflag = false;\n\t\t\t}\n\n\t\t\tif (flag) {\n\t\t\t\tmultiMap.put(fullName, file);\n\t\t\t\tCollection<Path> vals = (Collection<Path>) multiMap.get(fullName);\n\n\t\t\t\tif (vals.size() > 1) {\n\t\t\t\t\tcounter++;\n\t\t\t\t}\n\t\t\t}\n\t\t\tflag = true;\n\t\t}\n\n\t\tSet<String> keys = multiMap.keySet();\n\t\tIterator<String> items = keys.iterator();\n\n\t\twhile (items.hasNext()) {\n\t\t\tString str = (String) items.next();\n\n\t\t\t@SuppressWarnings(\"unchecked\")\n\t\t\tCollection<Path> val = (Collection<Path>) multiMap.get(str);\n\t\t\tArrayList<Path> arr = new ArrayList<>(val);\n\n\t\t\tif (arr.size() <= 1)\n\t\t\t\titems.remove();\n\n\t\t}\n\n\t}", "java.util.List<entities.Torrent.FileInfo>\n getFileInfoList();", "List<DownloadChunk> mo54445j(int i);", "void visitFile(StorageUnit unit, long off, long lim);", "public void fileInfo(String info);", "private List<FileInfoDTO> createFileInfoDTOs(MultipartFile file1, MultipartFile file2, int totalLinesFirstFile,\n\t\t\tint totalLinesSecondFile) {\n\t\tint unmatchedRecordsFirstFile = firstFileMap.getCountMap().values().stream().mapToInt(Integer::valueOf).sum();\n\t\tint unmatchedRecordsSecondFile = secondFileMap.getCountMap().values().stream().mapToInt(Integer::valueOf).sum();\n\n\t\tFileInfo firstFileInfo = new FileInfo();\n\t\tfirstFileInfo.setName(file1.getOriginalFilename());\n\t\tfirstFileInfo.setTotalRecords(totalLinesFirstFile);\n\t\tfirstFileInfo.setUnmatchedRecords(unmatchedRecordsFirstFile);\n\t\tfirstFileInfo.setMatchingRecords(totalLinesFirstFile - unmatchedRecordsFirstFile);\n\n\t\tFileInfo secondFileInfo = new FileInfo();\n\t\tsecondFileInfo.setName(file2.getOriginalFilename());\n\t\tsecondFileInfo.setTotalRecords(totalLinesSecondFile);\n\t\tsecondFileInfo.setUnmatchedRecords(unmatchedRecordsSecondFile);\n\t\tsecondFileInfo.setMatchingRecords(totalLinesSecondFile - unmatchedRecordsSecondFile);\n\n\t\treturn List.of(firstFileInfo, secondFileInfo).stream()\n\t\t\t\t.map(file -> DTOConverter.convertFileInfoToFileInfoDTO(file)).collect(Collectors.toList());\n\t}", "public void a(File file, List<WxAndQqScanPathInfo> list) {\n if (file != null && !this.p) {\n File[] listFiles = file.listFiles();\n if (listFiles != null) {\n int length = listFiles.length;\n int i2 = 0;\n while (i2 < length) {\n File file2 = listFiles[i2];\n if (!this.p) {\n if (file2 != null) {\n if (!file2.isDirectory()) {\n if (!\".nomedia\".equals(file2.getName()) && file2.length() >= 5 && file2 != null && file2.exists()) {\n CleanWxItemInfo cleanWxItemInfo = new CleanWxItemInfo();\n cleanWxItemInfo.setFileType(((WxAndQqScanPathInfo) list.get(0)).getType());\n cleanWxItemInfo.setFile(file2);\n cleanWxItemInfo.setDays(TimeUtil.changeTimeToDay(cleanWxItemInfo.getFile().lastModified()));\n cleanWxItemInfo.setFileSize(file2.length());\n switch (((WxAndQqScanPathInfo) list.get(0)).getType()) {\n case 1:\n o += cleanWxItemInfo.getFileSize();\n d.setTotalSize(d.getTotalSize() + cleanWxItemInfo.getFileSize());\n d.setTotalNum(d.getTotalNum() + 1);\n if (d.isChecked()) {\n cleanWxItemInfo.setChecked(true);\n d.setSelectSize(d.getSelectSize() + cleanWxItemInfo.getFileSize());\n d.setSelectNum(d.getSelectNum() + 1);\n }\n cleanWxItemInfo.setDays(TimeUtil.changeTimeToDay(0));\n a(d, cleanWxItemInfo);\n break;\n case 2:\n if (!file2.getAbsolutePath().endsWith(\"_cover\") && !new File(file2.getAbsolutePath() + \"_cover\").exists()) {\n if (!\"finishActivity\".equals(this.r) && !\"bigGarbageFragment\".equals(this.r)) {\n if (e.isFinished()) {\n j.setTotalNum(j.getTotalNum() + 1);\n j.setTotalSize(j.getTotalSize() + cleanWxItemInfo.getFileSize());\n a(j, cleanWxItemInfo);\n break;\n } else {\n o += cleanWxItemInfo.getFileSize();\n e.setTotalNum(e.getTotalNum() + 1);\n e.setTotalSize(e.getTotalSize() + cleanWxItemInfo.getFileSize());\n if (e.isChecked()) {\n cleanWxItemInfo.setChecked(true);\n e.setSelectNum(e.getSelectNum() + 1);\n e.setSelectSize(e.getSelectSize() + cleanWxItemInfo.getFileSize());\n }\n a(e, cleanWxItemInfo);\n break;\n }\n }\n } else {\n j.setTotalSize(j.getTotalSize() + cleanWxItemInfo.getFileSize());\n j.setTotalNum(j.getTotalNum() + 1);\n a(j, cleanWxItemInfo);\n break;\n }\n break;\n case 3:\n o += cleanWxItemInfo.getFileSize();\n f.setTotalSize(f.getTotalSize() + cleanWxItemInfo.getFileSize());\n f.setTotalNum(f.getTotalNum() + 1);\n if (f.isChecked()) {\n cleanWxItemInfo.setChecked(true);\n f.setSelectSize(f.getSelectSize() + cleanWxItemInfo.getFileSize());\n f.setSelectNum(f.getSelectNum() + 1);\n }\n a(f, cleanWxItemInfo);\n break;\n case 4:\n if (file2.getName().startsWith(\"snstblur_src_\")) {\n if (Constants.PRIVATE_LOG_CONTROLER) {\n break;\n } else {\n file2.delete();\n break;\n }\n } else {\n if (!file2.getName().startsWith(\"snst_\")) {\n if (file2.getName().startsWith(\"snsu_\") && new File(file2.getAbsolutePath().replace(\"snsu_\", \"snsb_\")).exists()) {\n break;\n }\n } else if (!new File(file2.getAbsolutePath().replace(\"snst_\", \"snsu_\")).exists()) {\n if (new File(file2.getAbsolutePath().replace(\"snst_\", \"snsb_\")).exists()) {\n break;\n }\n } else {\n break;\n }\n o += cleanWxItemInfo.getFileSize();\n g.setTotalSize(g.getTotalSize() + cleanWxItemInfo.getFileSize());\n g.setTotalNum(g.getTotalNum() + 1);\n if (g.isChecked()) {\n cleanWxItemInfo.setChecked(true);\n g.setSelectSize(g.getSelectSize() + cleanWxItemInfo.getFileSize());\n g.setSelectNum(g.getSelectNum() + 1);\n }\n a(g, cleanWxItemInfo);\n break;\n }\n case 5:\n if (file2.getName().endsWith(\".jpg_hevc\")) {\n if (Constants.PRIVATE_LOG_CONTROLER) {\n break;\n } else {\n file2.delete();\n break;\n }\n } else {\n if (file2.getName().startsWith(\"th_\")) {\n if (!file2.getName().endsWith(\"hd\")) {\n break;\n } else {\n break;\n }\n }\n h.setTotalSize(h.getTotalSize() + cleanWxItemInfo.getFileSize());\n h.setTotalNum(h.getTotalNum() + 1);\n a(h, cleanWxItemInfo);\n break;\n }\n case 6:\n if (!file2.getAbsolutePath().contains(\"download/appbrand\")) {\n if (file2.getName().endsWith(\".jpg\")) {\n if (!new File(file2.getAbsolutePath().replace(\".jpg\", \".mp4\")).exists() && !Constants.PRIVATE_LOG_CONTROLER) {\n file2.delete();\n break;\n }\n } else {\n i.setTotalSize(i.getTotalSize() + cleanWxItemInfo.getFileSize());\n i.setTotalNum(i.getTotalNum() + 1);\n a(i, cleanWxItemInfo);\n break;\n }\n } else {\n break;\n }\n case 8:\n k.setTotalSize(k.getTotalSize() + cleanWxItemInfo.getFileSize());\n k.setTotalNum(k.getTotalNum() + 1);\n a(k, cleanWxItemInfo);\n break;\n case 9:\n if (!file2.getName().endsWith(\".mp4\")) {\n l.setTotalSize(l.getTotalSize() + cleanWxItemInfo.getFileSize());\n l.setTotalNum(l.getTotalNum() + 1);\n l.getMineList().add(cleanWxItemInfo);\n a(l, cleanWxItemInfo);\n break;\n } else {\n m.setTotalSize(m.getTotalSize() + cleanWxItemInfo.getFileSize());\n m.setTotalNum(m.getTotalNum() + 1);\n m.getMineList().add(cleanWxItemInfo);\n a(m, cleanWxItemInfo);\n break;\n }\n case 10:\n n.setTotalSize(n.getTotalSize() + cleanWxItemInfo.getFileSize());\n n.setTotalNum(n.getTotalNum() + 1);\n a(n, cleanWxItemInfo);\n break;\n }\n }\n } else {\n try {\n if (file2.listFiles() == null || file2.listFiles().length == 0) {\n FileUtils.deleteFileAndFolder(file2);\n }\n } catch (Exception e2) {\n Logger.iCatch(Logger.TAG, Logger.ZYTAG, \"CleanWxClearNewActivity---wxFileScan ---- \", e2);\n }\n a(file2, list);\n }\n }\n i2++;\n } else {\n return;\n }\n }\n }\n }\n }", "java.util.List<? extends entities.Torrent.FileInfoOrBuilder>\n getFileInfoOrBuilderList();", "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 }", "public Builder addAllFiles(\n java.lang.Iterable<? extends entities.Torrent.FileInfo> values) {\n if (filesBuilder_ == null) {\n ensureFilesIsMutable();\n com.google.protobuf.AbstractMessageLite.Builder.addAll(\n values, files_);\n onChanged();\n } else {\n filesBuilder_.addAllMessages(values);\n }\n return this;\n }", "public filesMB() {\n }", "com.google.protobuf.ByteString\n getFileNamesBytes(int index);", "public int getFileNamesCount() {\n return fileNames_.size();\n }", "@java.lang.Override\n public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder(\n int index) {\n return fileInfo_.get(index);\n }" ]
[ "0.65325207", "0.6227456", "0.6177881", "0.6116598", "0.6065684", "0.6065684", "0.590164", "0.58970237", "0.58970237", "0.5783433", "0.57750136", "0.5763771", "0.5762734", "0.57547295", "0.5746625", "0.5744839", "0.5644452", "0.563878", "0.5628507", "0.56053144", "0.5601631", "0.5583571", "0.55456394", "0.5545325", "0.5545274", "0.5519314", "0.55032945", "0.5502879", "0.5497437", "0.54956275", "0.5495291", "0.54928", "0.5474748", "0.5458041", "0.54520524", "0.54351526", "0.5411701", "0.5409407", "0.5396235", "0.5388728", "0.5378012", "0.537654", "0.53608066", "0.5359268", "0.53519815", "0.5335172", "0.5334883", "0.5334883", "0.53343636", "0.53343636", "0.5319273", "0.5309602", "0.53086674", "0.52990717", "0.52990717", "0.5284801", "0.5278754", "0.5276997", "0.5274732", "0.52718306", "0.52717876", "0.5270142", "0.5268754", "0.5264792", "0.5254606", "0.5237259", "0.52320284", "0.52265704", "0.5221797", "0.5220387", "0.5209014", "0.5206498", "0.519874", "0.51969546", "0.5187828", "0.5185607", "0.5185165", "0.518249", "0.5176273", "0.5165428", "0.51650506", "0.5165015", "0.5163598", "0.5161906", "0.51600796", "0.51514554", "0.5150045", "0.51442325", "0.5133645", "0.51309294", "0.5130048", "0.51299196", "0.5128534", "0.51266265", "0.5125555", "0.5115963", "0.51151603", "0.51146954", "0.51012677", "0.50983685", "0.5096151" ]
0.0
-1
repeated .FileInfo files = 4;
public entities.Torrent.FileInfo.Builder addFilesBuilder( int index) { return getFilesFieldBuilder().addBuilder( index, entities.Torrent.FileInfo.getDefaultInstance()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "int getFileInfoCount();", "public void incFileCount(){\n\t\tthis.num_files++;\n\t}", "entities.Torrent.FileInfo getFiles(int index);", "public Files(){\n this.fileNameArray.add(\"bridge_1.txt\");\n this.fileNameArray.add(\"bridge_2.txt\");\n this.fileNameArray.add(\"bridge_3.txt\");\n this.fileNameArray.add(\"bridge_4.txt\");\n this.fileNameArray.add(\"bridge_5.txt\");\n this.fileNameArray.add(\"bridge_6.txt\");\n this.fileNameArray.add(\"bridge_7.txt\");\n this.fileNameArray.add(\"bridge_8.txt\");\n this.fileNameArray.add(\"bridge_9.txt\");\n this.fileNameArray.add(\"ladder_1.txt\");\n this.fileNameArray.add(\"ladder_2.txt\");\n this.fileNameArray.add(\"ladder_3.txt\");\n this.fileNameArray.add(\"ladder_4.txt\");\n this.fileNameArray.add(\"ladder_5.txt\");\n this.fileNameArray.add(\"ladder_6.txt\");\n this.fileNameArray.add(\"ladder_7.txt\");\n this.fileNameArray.add(\"ladder_8.txt\");\n this.fileNameArray.add(\"ladder_9.txt\");\n }", "int getFileNamesCount();", "int getFileNamesCount();", "ds.hdfs.generated.FileMetadata getFiles(int index);", "int getFilesCount();", "int getFilesCount();", "int getFileCount();", "private void gatherFile(FileStatus[] fstat)\r\n\t{\r\n\t inputSize = 0;\t\r\n\t paths = new Path[fstat.length];\t\r\n\t for(int i=0;i<fstat.length;i++)\r\n\t {\r\n\t inputSize+=fstat[i].getLen();\r\n\t paths[i] = fstat[i].getPath();\r\n\t }\r\n\t }", "@java.lang.Override\n public int getFileInfoCount() {\n return fileInfo_.size();\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}", "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}", "private void initializeFileArrays(){\n File downloadedFilesFolder = new File(MainActivity.DB_PATH);\n File[] files = downloadedFilesFolder.listFiles();\n System.out.println(\"*** \" + files.length + \" ***\");\n if(files != null){\n System.out.println(\"*** \" + files.length + \" ***\");\n for(File f : files){\n if(f != null){\n System.out.println(\"***\\n FILE FOUND - \" + f.getAbsolutePath()+\"\\nSIZE - \" +\n f.length() + \" BYTES \\n***\");\n fileNames.add(f.getName());\n fileSizes.add(f.length()+\"\");\n this.files.add(f);\n }\n }\n }\n }", "entities.Torrent.FileInfoOrBuilder getFilesOrBuilder(\n int index);", "List<UploadInfo> simpleUploadAll(List<SimpleFile> files);", "public List<FileUpload> getFileUploads(int numberOfFileUploads, Long startIndex) throws AppException;", "void addFile(int numberLines);", "private void updateFiles() {\n\t}", "@Override\n public void addSingleFile(FileInfo file) {\n }", "entities.Torrent.FileInfo getFileInfo(int index);", "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}", "private static void showFiles(File[] files) {\n\t\t for (File file : files) {\r\n\t\t if (file.isDirectory()) {\r\n\t\t // System.out.println(\"Directory: \" + file.getName());\r\n\t\t showFiles(file.listFiles()); // Calls same method again.\r\n\t\t } else {\r\n\t\t // System.out.println(\"File: \" + file.getName());\r\n\t\t }\r\n\t\t }\r\n\t\t\r\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 }", "private void findRecordings(){\n File[] files = new File(\"Concatenated/\").listFiles();\n _records.clear();\n _versionNum = 1;\n for (File file : files){\n if (file.isFile()){\n String nameOnFile = file.getName().substring(file.getName().lastIndexOf('_')+1,file.getName().lastIndexOf('.')).toUpperCase();\n if (nameOnFile.equals(_name.toUpperCase())){\n _records.add(file.getName());\n _versionNum++;\n }\n }\n }\n }", "private void checkDuplicateOfFile(Iterable<FileInfo> files, DuplicateDataDTO data) {\n for(FileInfo nextFile: files) {\n for(FileInfo nextFile2: files) {\n if(nextFile.duplicate(nextFile2)) {\n LOG.info(\"Duplicate - {}\", nextFile);\n\n processDuplicate(nextFile,data);\n }\n }\n }\n }", "public TagFileInfo[] getTagFiles() {\n/* 176 */ return this.tagFiles;\n/* */ }", "@Test\n\tpublic void testNumLargeFiles() {\n\t\tFile test = new File(\"X:\\\\Documents\\\\PS9 Test\");\n\t\tassertEquals(6,Explorer.numLargeFiles(test));\n\t}", "public double getNumFiles(){\n\t\treturn (this.num_files);\n\t}", "public Files files();", "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 }", "@Test\n\tpublic void testSetFileInfo() {\n\n\t}", "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 readFileList() throws IOException {\n\t\tint entries = metadataFile.readInt();\n\n\t\tfor (int i = 0; i < entries; i++) {\n\t\t\tint hash = metadataFile.readInt();\n\t\t\tlong dataOffset = metadataFile.readInt() & 0xFFFFFFFFL;\n\t\t\tlong dataSize = metadataFile.readInt() & 0xFFFFFFFFL;\n\t\t\tint pathListIndex = metadataFile.readInt();\n\n\t\t\tlong position = metadataFile.getPosition();\n\t\t\tmetadataFile.setPosition(pathListOffset + 8 + (pathListIndex * 8));\n\n\t\t\tlong pathOffset = metadataFile.readInt() & 0xFFFFFFFFL;\n\t\t\tint pathSize = metadataFile.readInt();\n\n\t\t\tmetadataFile.setPosition(pathListOffset + pathOffset);\n\t\t\tString path = metadataFile.readString(pathSize).trim();\n\n\t\t\tif (hash == hash(path)) \n\t\t\t\tfileEntries.add(new RAFFileEntry(dataOffset, dataSize, path));\n\t\t\telse\n\t\t\t\tthrow new IOException(\"Invalid hash for item '\" + path + \"'.\");\n\n\t\t\tmetadataFile.setPosition(position);\n\t\t}\n\t}", "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 static void main(String[] args) {\n\t\tint count=0;\n\t\t File f=new File(\"C:\\\\Users\\\\kumaujjv\\\\Downloads\\\\Assignments - Copy\");\n\t\t String[] s=f.list();\n\n\t\t for(String s1:s) {\n\t\t File f1=new File(f,s1);\n\t\t if(f1.isFile()) {\n\t\t\t //count++;\n\t\t\t System.out.println(s1);\n\t\t }\n\t\t}\n\t\tSystem.out.println(\"total number : \"+count);\n\n\t\t}", "public float[] accumulateDetailFiles(ArrayList<File> files){\r\n\t\tfloat[] values = new float[100];\r\n\t\tint counter = 0;\r\n\r\n\t for(File file:files){\t\t\r\n\t \tSystem.out.println(file.getName());\r\n\t \tcounter = 0;\r\n\t BufferedReader reader;\r\n\t try{\r\n\t reader = new BufferedReader(new FileReader(file));\r\n\t String line = reader.readLine(); \r\n\t while(line != null){\t\r\n\t \tif(!line.substring(0,1).equals(\"#\")){\r\n\t \t\tString[] values2 = line.split(\" \");\r\n\t \t\tvalues[counter] += Float.valueOf(values2[values2.length-1]);\r\n\t\t \tcounter++;\r\n\t \t}\r\n\t \tline = reader.readLine();\r\n\t }\r\n\t \r\n\t\t\t} catch (FileNotFoundException e) {\r\n\t\t\t System.err.println(\"FileNotFoundException: \" + e.getMessage());\r\n\t\t\t} catch (IOException e) {\r\n\t\t\t System.err.println(\"Caught IOException: \" + e.getMessage());\r\n\t\t\t}\r\n\t }\r\n\r\n\t float[] returnValues = new float[counter];\r\n\t \r\n\t for(int j = 0; j < returnValues.length; j++) \treturnValues[j] = ((float)values[j]/files.size());\r\n\t\r\n\t \r\n \treturn returnValues;\r\n\t}", "ds.hdfs.generated.FileMetadataOrBuilder getFilesOrBuilder(\n int index);", "private static void calculateSizes() {\n for(EmailTypes type : EmailTypes.values()){\n File f = unpackedFiles.get(type);\n setSizes.put(type, Objects.requireNonNull(f.listFiles()).length);\n }\n }", "public int[] filesRemaining();", "public static void main(String[] args) {\n\t\tFile dir = new File(\"H:\");\r\n\t\tString[] filelist = dir.list();\r\n\t\tlong total = 0;\r\n\t\tlong t = 0;\r\n\t\tfor(int i=0;i<filelist.length;i++){\r\n\t\t\t File readfile = new File(\"H:\" + \"\\\\\" + filelist[i]);\r\n\t\t\t t = readFile(readfile)/1024/1024;\r\n\t\t\t System.out.println(\"name=\" + readfile.getName() + \" size:=\" + t + \"MB\");\r\n\t\t\t total += t;\r\n\t\t}\r\n\t\tSystem.out.println(\"OK,all the files is list over,the number is \" + filelist.length + \"the total size is \" + total); \r\n\t}", "@Test\n public void tagFilesShouldReturnNonEmptyTagFiles() throws Exception {\n //given\n givenInfoMessageCode();\n\n //when\n List<IFileSpec> tagFiles = tagDelegator.tagFiles(fileSpecs, LABEL_NAME, opts);\n //then\n assertThat(tagFiles.size(), is(1));\n assertThat(tagFiles.get(0).getDepotPathString(), is(TEST_FILE_DEPOT_PATH));\n }", "public int getFileInfoCount() {\n if (fileInfoBuilder_ == null) {\n return fileInfo_.size();\n } else {\n return fileInfoBuilder_.getCount();\n }\n }", "private static ArrayList<File> buildFilesArray() {\n ArrayList<File> result = new ArrayList<>();\n rAddFilesToArray(workingDirectory, result);\n return result;\n }", "@java.lang.Override\n public entities.Torrent.FileInfoOrBuilder getFilesOrBuilder(\n int index) {\n return files_.get(index);\n }", "java.lang.String getFileNames(int index);", "java.lang.String getFileNames(int index);", "public void filesNotFound(File... f) { }", "public void filesNotFound(File... f) { }", "public static int filesWithSizes (File f)\n\t{\n\t\tif (f.isFile())\n\t\t{\n\t\t\tif (f.length()>= 10000 && f.length() <= 25000)\n\t\t\t{\n\t\t\t\treturn 1;\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\treturn 0;\n\t\t\t}\n\t\t}\n\t\telse\n\t\t{\n\t\t\tint count = 0;\n\t\t\tfor (File file: f.listFiles())\n\t\t\t{\n\t\t\t\tcount += filesWithSizes(file);\n\t\t\t}\n\t\t\treturn count;\n\t\t}\n\t}", "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 }", "public java.lang.String[] getNewFiles(){\r\n return localNewFiles;\r\n }", "entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder();", "entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder();", "@Test\n public void shouldReturnNonEmptyTagFiles() throws Exception {\n //given\n givenInfoMessageCode();\n //when\n List<IFileSpec> tagFiles = tagDelegator.tagFiles(\n fileSpecs,\n LABEL_NAME,\n listOnly1,\n delete1);\n //then\n assertThat(tagFiles.size(), is(1));\n assertThat(tagFiles.get(0).getDepotPathString(), is(TEST_FILE_DEPOT_PATH));\n }", "@Test\n public void maxFiles() throws Throwable {\n MergeFilesOptions opts = new MergeFilesOptions();\n opts.setStream(\"//Ace/dev\");\n opts.setReverseMapping(true);\n opts.setMaxFiles(1);\n opts.setForceStreamMerge(true);\n\n List<IFileSpec> merged = client.mergeFiles(null, null, opts);\n assertEquals(\"wrong number of files\", 1, merged.size());\n\n List<IFileSpec> opened = client.openedFiles(null, null);\n assertEquals(\"files should not have been opened\", 1, opened.size());\n }", "public FileCount(int numFiles){\n this.numFiles = numFiles;\n }", "public int getFileNamesCount() {\n return fileNames_.size();\n }", "static public ObservableList<ImageMetaInfo> getImagesInfo(File path) {\n ObservableList<ImageMetaInfo> observableList = FXCollections.observableArrayList();\n ExtFilter fileFilter = new ExtFilter();\n File[] imageFilesArray = path.listFiles(fileFilter);\n for (File file : imageFilesArray) {\n ImageMetaInfo imageMetaInfo = getImageMetaInfo(file);\n observableList.add(imageMetaInfo);\n }\n return observableList;\n }", "private void get_file_List() {\n\tString file_name=null;\r\n\tfor (int i = 0; i < listOfFiles.length; i++) \r\n\t {\r\n\t \r\n\t if (listOfFiles[i].isFile()) \r\n\t {\r\n\t\t file_name = listOfFiles[i].getName();\r\n\t if (file_name.endsWith(\".xml\") || file_name.endsWith(\".XML\"))\r\n\t {\r\n\t file_list.add(file_name) ;\r\n\t }\r\n\t }\r\n\t }\r\n\t\r\n}", "public static void getListOfAllFileVarianta2() {\n\t\tPath pathToSrc = Paths.get(\"D:\\\\TorrentsMd\");\r\n\t\ttry {\r\n\t\t\t//cu method references\r\n//\t\t\tFiles.walk(pathToSrc)\r\n//\t\t\t\t.map(Path::toFile)\r\n//\t\t\t\t.filter(File::isFile)\r\n//\t\t\t\t.map(File::getName)\r\n//\t\t\t\t.sorted()\r\n//\t\t\t\t.forEach(System.out::println);\r\n\t\t\t\r\n\t\t\t//cu lambda, dar dpdv semantic sunt identice\r\n\t\t\tFiles.walk(pathToSrc)\r\n\t\t\t\t .map(path -> path.toFile()) //trasnform fiecare Path din stream intr-un File\r\n\t\t\t\t .filter(file -> file.isFile()) //filtrez doar fisierele\r\n\t\t\t\t .map(file -> file.getName())//transform fiecare File din stream intr-un String, care e numele sau\r\n\t\t\t\t .sorted()\r\n\t\t\t\t .forEach(file -> System.out.println(file));\r\n\t\t} catch (IOException e) {\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t}", "@java.lang.Override\n public int getFilesCount() {\n return files_.size();\n }", "static List<File> gitAttributes(File projectDir, Iterable<File> files) {\n List<File> gitAttrFiles = new ArrayList<>();\n Set<File> visitedFolders = new HashSet<>();\n for (File file : files) {\n gitAttrAddWithParents(projectDir, file.getAbsoluteFile(), visitedFolders, gitAttrFiles);\n }\n return gitAttrFiles;\n }", "public static int getNumberOfFiles() {\n\t\treturn EXTENSIONS.length;\n\t}", "public Map<String, NewData> getSnapshotFiles (final List<String> files){\n \t\tMap<String,NewData> w = new HashMap<String,NewData>();\n \t\tList<String> l = new LinkedList<String>();\n \t\tString s=\"\";\n \t\t\n \t\tfor (String str : files){\n \t\t\tw.put(str, new NewData(str));\n \t\t\tl=this.readFile(this.getSnapshot().getRoot() + File.separatorChar +str);\n \t\t\t\n \t\t\tfor (String str2 : l)\n \t\t\t\ts=s+str2+\"\\n\";\n \t\t\t\n \t\t\tw.get(str).setFileContent(s);\n \t\t\tw.get(str).getLclock().putAll(this.getFilelist().get(str));\n \t\t}\n \t\t\t\t\n \t\treturn w;\n \t}", "entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder(\n int index);", "public void getPeerFiles(){\n\t\t\n\t\tFile[] files = new File(path).listFiles();\n\t\tfor (File file : files) {\n\t\t\tfileNames.add(file.getName());\n\t\t}\n\t\tSystem.out.println(\"Number of Files Registerd to the server - \"+fileNames.size());\n\t\tSystem.out.println(\"To search for file give command: get <Filename>\");\n\t\tSystem.out.println(\"To refresh type command: refresh\");\n\t\tSystem.out.println(\"To disconnect type command: disconnect\");\n\t}", "public static void main(String[] args) {\nFile files=new File(\"C:\\\\Users\\\\k74\");\nString filenames[]=files.list();\nfor(String filename :filenames)\n\tSystem.out.println(filename);\n\t}", "public static void rankFiles(Hashtable<?, Integer> fname, int numberOfOccurrences) \r\n\t{\n\t\tArrayList<Map.Entry<?, Integer>> arrayList = new ArrayList(fname.entrySet());\r\n\r\n\t\tCollections.sort(arrayList, new Comparator<Map.Entry<?, Integer>>() \r\n\t\t{\r\n\t\t\tpublic int compare(Map.Entry<?, Integer> obj1, Map.Entry<?, Integer> obj2) \r\n\t\t\t{\r\n\t\t\t\treturn obj1.getValue().compareTo(obj2.getValue());\r\n\t\t\t}\r\n\t\t});\r\n\r\n\t\tCollections.reverse(arrayList);\r\n\r\n\t\tif (numberOfOccurrences > 0) \r\n\t\t{\r\n\t\t\tSystem.out.println(\"\\n------Top 10 search results-----\\n\");\r\n\r\n\t\t\tint my_number = 10;\r\n\t\t\tint j = 1;\r\n\t\t\twhile (arrayList.size() > j && my_number > 0) \r\n\t\t\t{\r\n\t\t\t\tSystem.out.println(\"(\" + j + \") \" + arrayList.get(j) + \" times \");\r\n\t\t\t\tj++;\r\n\t\t\t\tmy_number--;\r\n\t\t\t}\r\n\t\t} \r\n\t}", "@Override\n public List<FileInfo> getLibrarySubFiles(FileInfo fileInfo) {\n return null;\n }", "public final void mo14831s() {\n Iterator it = ((ArrayList) mo14817d()).iterator();\n while (it.hasNext()) {\n File file = (File) it.next();\n if (file.listFiles() != null) {\n m6739b(file);\n long c = m6740c(file, false);\n if (((long) this.f6567b.mo14797a()) != c) {\n try {\n new File(new File(file, String.valueOf(c)), \"stale.tmp\").createNewFile();\n } catch (IOException unused) {\n f6563c.mo14884b(6, \"Could not write staleness marker.\", new Object[0]);\n }\n }\n for (File b : file.listFiles()) {\n m6739b(b);\n }\n }\n }\n }", "@Test\n public void testGetFilesList() {\n System.out.println(\"getFilesList from existing folder with existing subfiles\");\n String entryPath = folder.toString()+fSeparator+\"Images\";\n FilesDao instance = new FilesDao();\n String[] expResult = new String[2];\n expResult[0] = \"testImg.jpg\";\n expResult[1] = \"testImg2.jpg\";\n String[] result;\n try{\n result = instance.getFilesList(entryPath);\n }catch(EntryException ex){\n result = null;\n }\n assertArrayEquals(expResult, result);\n }", "private void populateList(File[] filesList) {\n Log.i(\"mPackage\",\"FilesList: \"+filesList.length);\n for(File file : filesList) {\n //Log.i(\"mPackage\",\"Path: \"+file);\n if(file.isDirectory()) {\n populateList(file.listFiles());\n }\n else {\n MarkerModel markerModel = new MarkerModel();\n Boolean containsObj = false;\n for(File modelFile : filesList) {\n String[] extension = modelFile.getName().split(\"\\\\.\");\n if(extension[extension.length-1].equals(\"obj\")) {\n markerModel.setObj(modelFile.getPath());\n containsObj = true;\n }\n else if(extension[extension.length-1].equals(\"mtl\"))\n markerModel.setMtl(modelFile.getPath());\n else\n markerModel.addTexture(modelFile.getPath());\n }\n if(containsObj)\n models.add(markerModel);\n return;\n //models.add(file.getPath());\n //Log.i(\"mPackage\",\"Path: \"+file.getPath());\n }\n }\n }", "java.util.List<? extends ds.hdfs.generated.FileMetadataOrBuilder> \n getFilesOrBuilderList();", "public List<String> splitByCount(String fileName, int count)\n throws IOException, InterruptedException {\n\n List<String> parts = new ArrayList<String>();\n File file = new File(fileName);\n int blockSize = (int) Math.ceil(file.length() / (double) count);\n RandomAccessFile raf = new RandomAccessFile(fileName, \"r\");\n long totalLen = raf.length();\n CountDownLatch latch = new CountDownLatch(count);\n\n long startPos = 0L;\n long nextPos = 0L;\n\n for (int i = 0; i < count; i++) {\n nextPos = Long.min((long) (i + 1) * blockSize, totalLen - 1);\n raf.seek(nextPos);\n //Calculate the start position for the next file.\n do {\n raf.seek(nextPos);\n if (raf.readByte() == '\\n') {\n nextPos = nextPos + 1;\n break;\n }\n nextPos--;\n } while (true);\n long readSizeTemp = nextPos - startPos;\n int readSize = (int) readSizeTemp;\n String partFileName = fileName.replace(\"raw\", \"raw\" + (i + 1));\n new SplitRunnable(readSize, startPos, partFileName, file, latch).run();\n startPos = nextPos;\n parts.add(partFileName);\n }\n //Wait until all the files are written.\n latch.await();\n return parts;\n }", "public float[] accumulateSimpleMixFiles(ArrayList<File> files){\r\n\t\t\tfloat[] returnValue = new float[10];\r\n\t\t\tfloat[] values = new float[10];\r\n\t\t\t\r\n\t\t for(File file:files){\t\t\t\t\t\r\n\t\t BufferedReader reader;\r\n\t\t try{\r\n\t\t reader = new BufferedReader(new FileReader(file));\r\n\t\t String line = reader.readLine(); \r\n\t\t while(line != null){\t\r\n\t\t \tif(line.substring(0,5).equals(\"Total\")){\r\n\t\t \t\tString[] values2 = line.split(\" \");\r\n\t\t \t\t\r\n\t\t \t\tfor(int i = 2; i < values2.length; i++) values[i-2] += Float.valueOf(values2[i]);\r\n\t\t \t}\r\n\t\t \tline = reader.readLine();\r\n\t\t }\r\n\t\t \r\n\t\t\t\t} catch (FileNotFoundException e) {\r\n\t\t\t\t System.err.println(\"FileNotFoundException: \" + e.getMessage());\r\n\t\t\t\t} catch (IOException e) {\r\n\t\t\t\t System.err.println(\"Caught IOException: \" + e.getMessage());\r\n\t\t\t\t}\r\n\t\t }\r\n\r\n\t\t for(int j = 0; j < values.length; j++) returnValue[j] = (float)values[j]/files.size();\t\r\n\t\t \r\n\t\t return returnValue;\r\n\t\t}", "private Map<ServerFile, Integer> totalFiles(){\n\t\tMap<ServerFile, Integer> ret = new HashMap<ServerFile, Integer>();\n\t\tfor (ClientObj c : clients){\n\t\t\tfor (ServerFile f : c.getFiles()){\n\t\t\t\tif (!ret.containsKey(f))\n\t\t\t\t\tret.put(f, 1);\n\t\t\t\telse\n\t\t\t\t\tret.put(f, ret.get(f) + 1);\n\t\t\t}\n\t\t}\n\t\treturn ret;\n\t}", "int getSourceFileCount();", "public void checkForRepeats(String selectedMarket)\r\n {\r\n System.out.println(backUpPath + selectedMarket);\r\n \tFile f = new File(backUpPath + selectedMarket);\r\n \tArrayList<File> fileContents = new ArrayList<File>(Arrays.asList(f.listFiles()));\r\n \t\r\n for(int i = 0;i< scriptAds.size();i++)\r\n \t{\r\n String currentFileName;\r\n long modified;\r\n Date modifiedDate;\r\n \r\n for(int j = 0;j < fileContents.size();j++)\r\n {\r\n currentFileName = fileContents.get(j).getName();\r\n \r\n if(currentFileName.contains(\".\"))\r\n {\r\n currentFileName = currentFileName.substring(0,currentFileName.lastIndexOf(\".\"));\r\n }\r\n if(scriptAds.get(i).getAdNumber().toLowerCase().equals(currentFileName.toLowerCase()))\r\n {\r\n modified = fileContents.get(j).lastModified();\r\n modifiedDate = new Date(modified);\r\n \r\n String dateToPrint = DateFormat.getDateTimeInstance(DateFormat.SHORT, DateFormat.SHORT).format(modifiedDate);\r\n dateToPrint = dateToPrint.substring(0,dateToPrint.indexOf(\" \"));\r\n \r\n infoText.append(\"<p>CC# \" + scriptAds.get(i).getccNumber() \r\n + \" matches a backup of last modified : \" + scriptAds.get(i).getAdNumber() \r\n + \" \" + dateToPrint + \"\\nin \" + importFileName + \"</p>\");\r\n }\r\n }\r\n }\r\n }", "public void mo83570c() {\n File[] listFiles;\n File file = new File(this.f60297d);\n if (file.isDirectory() && (listFiles = file.listFiles()) != null && listFiles.length >= this.f60294a) {\n Arrays.sort(listFiles, this.f60295b);\n for (int i = 0; i < listFiles.length && listFiles.length >= this.f60294a; i++) {\n File file2 = listFiles[i];\n if (!this.f60299f.contains(file2)) {\n ArgusLogger.m85574b(String.format(C6969H.m41409d(\"G4D8AC619BE22AF20E809D047FEE1C6C47DC3D008AD3FB969E71DD05BE6EAD1D26DC3D008AD3FB969EA079D41E6A5D1D26880DD1FBB70E36CF547\"), file2.getPath()));\n mo83569b(Collections.singleton(file2));\n }\n }\n }\n }", "public File[] filesReadOnly(File... f) { return f; }", "public List<File> getFiles();", "@Test\n\tpublic void testCountItems() {\n\t\tFile test = new File(\"X:\\\\Documents\\\\PS9 Test\");\n\t\tassertEquals(13,Explorer.countItems(test));\n\t}", "void update(FileInfo fileInfo);", "private static ArrayList m5336a(File[] fileArr) {\n ArrayList arrayList = new ArrayList();\n int i = 0;\n while (i < fileArr.length) {\n if (fileArr[i].isFile() && fileArr[i].getName().length() == 10 && TextUtils.isDigitsOnly(fileArr[i].getName())) {\n arrayList.add(fileArr[i]);\n }\n i++;\n }\n return arrayList;\n }", "@Test(timeout = 4000)\n public void test23() throws Throwable {\n FileUtil fileUtil0 = new FileUtil();\n ArrayList<Object> arrayList0 = new ArrayList<Object>();\n File file0 = fileUtil0.getAccessories(\"YP=8V~@ch)3vts}p8\", arrayList0);\n assertNull(file0);\n }", "public void findDupe(int choice) {\n\n\t\tString fullName = null;\n\t\tboolean flag = true;\n\n\t\tfor (Path file : filesArray) {\n\t\t\ttry {\n\t\t\t\tfullName = getFullName(file, choice);\n\t\t\t} catch (Exception e) {\n\t\t\t\tSystem.out.println(\"problem read file: \" + file);\n\t\t\t\tflag = false;\n\t\t\t}\n\n\t\t\tif (flag) {\n\t\t\t\tmultiMap.put(fullName, file);\n\t\t\t\tCollection<Path> vals = (Collection<Path>) multiMap.get(fullName);\n\n\t\t\t\tif (vals.size() > 1) {\n\t\t\t\t\tcounter++;\n\t\t\t\t}\n\t\t\t}\n\t\t\tflag = true;\n\t\t}\n\n\t\tSet<String> keys = multiMap.keySet();\n\t\tIterator<String> items = keys.iterator();\n\n\t\twhile (items.hasNext()) {\n\t\t\tString str = (String) items.next();\n\n\t\t\t@SuppressWarnings(\"unchecked\")\n\t\t\tCollection<Path> val = (Collection<Path>) multiMap.get(str);\n\t\t\tArrayList<Path> arr = new ArrayList<>(val);\n\n\t\t\tif (arr.size() <= 1)\n\t\t\t\titems.remove();\n\n\t\t}\n\n\t}", "java.util.List<entities.Torrent.FileInfo>\n getFileInfoList();", "List<DownloadChunk> mo54445j(int i);", "void visitFile(StorageUnit unit, long off, long lim);", "public void fileInfo(String info);", "private List<FileInfoDTO> createFileInfoDTOs(MultipartFile file1, MultipartFile file2, int totalLinesFirstFile,\n\t\t\tint totalLinesSecondFile) {\n\t\tint unmatchedRecordsFirstFile = firstFileMap.getCountMap().values().stream().mapToInt(Integer::valueOf).sum();\n\t\tint unmatchedRecordsSecondFile = secondFileMap.getCountMap().values().stream().mapToInt(Integer::valueOf).sum();\n\n\t\tFileInfo firstFileInfo = new FileInfo();\n\t\tfirstFileInfo.setName(file1.getOriginalFilename());\n\t\tfirstFileInfo.setTotalRecords(totalLinesFirstFile);\n\t\tfirstFileInfo.setUnmatchedRecords(unmatchedRecordsFirstFile);\n\t\tfirstFileInfo.setMatchingRecords(totalLinesFirstFile - unmatchedRecordsFirstFile);\n\n\t\tFileInfo secondFileInfo = new FileInfo();\n\t\tsecondFileInfo.setName(file2.getOriginalFilename());\n\t\tsecondFileInfo.setTotalRecords(totalLinesSecondFile);\n\t\tsecondFileInfo.setUnmatchedRecords(unmatchedRecordsSecondFile);\n\t\tsecondFileInfo.setMatchingRecords(totalLinesSecondFile - unmatchedRecordsSecondFile);\n\n\t\treturn List.of(firstFileInfo, secondFileInfo).stream()\n\t\t\t\t.map(file -> DTOConverter.convertFileInfoToFileInfoDTO(file)).collect(Collectors.toList());\n\t}", "public void a(File file, List<WxAndQqScanPathInfo> list) {\n if (file != null && !this.p) {\n File[] listFiles = file.listFiles();\n if (listFiles != null) {\n int length = listFiles.length;\n int i2 = 0;\n while (i2 < length) {\n File file2 = listFiles[i2];\n if (!this.p) {\n if (file2 != null) {\n if (!file2.isDirectory()) {\n if (!\".nomedia\".equals(file2.getName()) && file2.length() >= 5 && file2 != null && file2.exists()) {\n CleanWxItemInfo cleanWxItemInfo = new CleanWxItemInfo();\n cleanWxItemInfo.setFileType(((WxAndQqScanPathInfo) list.get(0)).getType());\n cleanWxItemInfo.setFile(file2);\n cleanWxItemInfo.setDays(TimeUtil.changeTimeToDay(cleanWxItemInfo.getFile().lastModified()));\n cleanWxItemInfo.setFileSize(file2.length());\n switch (((WxAndQqScanPathInfo) list.get(0)).getType()) {\n case 1:\n o += cleanWxItemInfo.getFileSize();\n d.setTotalSize(d.getTotalSize() + cleanWxItemInfo.getFileSize());\n d.setTotalNum(d.getTotalNum() + 1);\n if (d.isChecked()) {\n cleanWxItemInfo.setChecked(true);\n d.setSelectSize(d.getSelectSize() + cleanWxItemInfo.getFileSize());\n d.setSelectNum(d.getSelectNum() + 1);\n }\n cleanWxItemInfo.setDays(TimeUtil.changeTimeToDay(0));\n a(d, cleanWxItemInfo);\n break;\n case 2:\n if (!file2.getAbsolutePath().endsWith(\"_cover\") && !new File(file2.getAbsolutePath() + \"_cover\").exists()) {\n if (!\"finishActivity\".equals(this.r) && !\"bigGarbageFragment\".equals(this.r)) {\n if (e.isFinished()) {\n j.setTotalNum(j.getTotalNum() + 1);\n j.setTotalSize(j.getTotalSize() + cleanWxItemInfo.getFileSize());\n a(j, cleanWxItemInfo);\n break;\n } else {\n o += cleanWxItemInfo.getFileSize();\n e.setTotalNum(e.getTotalNum() + 1);\n e.setTotalSize(e.getTotalSize() + cleanWxItemInfo.getFileSize());\n if (e.isChecked()) {\n cleanWxItemInfo.setChecked(true);\n e.setSelectNum(e.getSelectNum() + 1);\n e.setSelectSize(e.getSelectSize() + cleanWxItemInfo.getFileSize());\n }\n a(e, cleanWxItemInfo);\n break;\n }\n }\n } else {\n j.setTotalSize(j.getTotalSize() + cleanWxItemInfo.getFileSize());\n j.setTotalNum(j.getTotalNum() + 1);\n a(j, cleanWxItemInfo);\n break;\n }\n break;\n case 3:\n o += cleanWxItemInfo.getFileSize();\n f.setTotalSize(f.getTotalSize() + cleanWxItemInfo.getFileSize());\n f.setTotalNum(f.getTotalNum() + 1);\n if (f.isChecked()) {\n cleanWxItemInfo.setChecked(true);\n f.setSelectSize(f.getSelectSize() + cleanWxItemInfo.getFileSize());\n f.setSelectNum(f.getSelectNum() + 1);\n }\n a(f, cleanWxItemInfo);\n break;\n case 4:\n if (file2.getName().startsWith(\"snstblur_src_\")) {\n if (Constants.PRIVATE_LOG_CONTROLER) {\n break;\n } else {\n file2.delete();\n break;\n }\n } else {\n if (!file2.getName().startsWith(\"snst_\")) {\n if (file2.getName().startsWith(\"snsu_\") && new File(file2.getAbsolutePath().replace(\"snsu_\", \"snsb_\")).exists()) {\n break;\n }\n } else if (!new File(file2.getAbsolutePath().replace(\"snst_\", \"snsu_\")).exists()) {\n if (new File(file2.getAbsolutePath().replace(\"snst_\", \"snsb_\")).exists()) {\n break;\n }\n } else {\n break;\n }\n o += cleanWxItemInfo.getFileSize();\n g.setTotalSize(g.getTotalSize() + cleanWxItemInfo.getFileSize());\n g.setTotalNum(g.getTotalNum() + 1);\n if (g.isChecked()) {\n cleanWxItemInfo.setChecked(true);\n g.setSelectSize(g.getSelectSize() + cleanWxItemInfo.getFileSize());\n g.setSelectNum(g.getSelectNum() + 1);\n }\n a(g, cleanWxItemInfo);\n break;\n }\n case 5:\n if (file2.getName().endsWith(\".jpg_hevc\")) {\n if (Constants.PRIVATE_LOG_CONTROLER) {\n break;\n } else {\n file2.delete();\n break;\n }\n } else {\n if (file2.getName().startsWith(\"th_\")) {\n if (!file2.getName().endsWith(\"hd\")) {\n break;\n } else {\n break;\n }\n }\n h.setTotalSize(h.getTotalSize() + cleanWxItemInfo.getFileSize());\n h.setTotalNum(h.getTotalNum() + 1);\n a(h, cleanWxItemInfo);\n break;\n }\n case 6:\n if (!file2.getAbsolutePath().contains(\"download/appbrand\")) {\n if (file2.getName().endsWith(\".jpg\")) {\n if (!new File(file2.getAbsolutePath().replace(\".jpg\", \".mp4\")).exists() && !Constants.PRIVATE_LOG_CONTROLER) {\n file2.delete();\n break;\n }\n } else {\n i.setTotalSize(i.getTotalSize() + cleanWxItemInfo.getFileSize());\n i.setTotalNum(i.getTotalNum() + 1);\n a(i, cleanWxItemInfo);\n break;\n }\n } else {\n break;\n }\n case 8:\n k.setTotalSize(k.getTotalSize() + cleanWxItemInfo.getFileSize());\n k.setTotalNum(k.getTotalNum() + 1);\n a(k, cleanWxItemInfo);\n break;\n case 9:\n if (!file2.getName().endsWith(\".mp4\")) {\n l.setTotalSize(l.getTotalSize() + cleanWxItemInfo.getFileSize());\n l.setTotalNum(l.getTotalNum() + 1);\n l.getMineList().add(cleanWxItemInfo);\n a(l, cleanWxItemInfo);\n break;\n } else {\n m.setTotalSize(m.getTotalSize() + cleanWxItemInfo.getFileSize());\n m.setTotalNum(m.getTotalNum() + 1);\n m.getMineList().add(cleanWxItemInfo);\n a(m, cleanWxItemInfo);\n break;\n }\n case 10:\n n.setTotalSize(n.getTotalSize() + cleanWxItemInfo.getFileSize());\n n.setTotalNum(n.getTotalNum() + 1);\n a(n, cleanWxItemInfo);\n break;\n }\n }\n } else {\n try {\n if (file2.listFiles() == null || file2.listFiles().length == 0) {\n FileUtils.deleteFileAndFolder(file2);\n }\n } catch (Exception e2) {\n Logger.iCatch(Logger.TAG, Logger.ZYTAG, \"CleanWxClearNewActivity---wxFileScan ---- \", e2);\n }\n a(file2, list);\n }\n }\n i2++;\n } else {\n return;\n }\n }\n }\n }\n }", "java.util.List<? extends entities.Torrent.FileInfoOrBuilder>\n getFileInfoOrBuilderList();", "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 }", "public Builder addAllFiles(\n java.lang.Iterable<? extends entities.Torrent.FileInfo> values) {\n if (filesBuilder_ == null) {\n ensureFilesIsMutable();\n com.google.protobuf.AbstractMessageLite.Builder.addAll(\n values, files_);\n onChanged();\n } else {\n filesBuilder_.addAllMessages(values);\n }\n return this;\n }", "public filesMB() {\n }", "com.google.protobuf.ByteString\n getFileNamesBytes(int index);", "public int getFileNamesCount() {\n return fileNames_.size();\n }", "@java.lang.Override\n public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder(\n int index) {\n return fileInfo_.get(index);\n }" ]
[ "0.65325207", "0.6227456", "0.6177881", "0.6116598", "0.6065684", "0.6065684", "0.590164", "0.58970237", "0.58970237", "0.5783433", "0.57750136", "0.5763771", "0.5762734", "0.57547295", "0.5746625", "0.5744839", "0.5644452", "0.563878", "0.5628507", "0.56053144", "0.5601631", "0.5583571", "0.55456394", "0.5545325", "0.5545274", "0.5519314", "0.55032945", "0.5502879", "0.5497437", "0.54956275", "0.5495291", "0.54928", "0.5474748", "0.5458041", "0.54520524", "0.54351526", "0.5411701", "0.5409407", "0.5396235", "0.5388728", "0.5378012", "0.537654", "0.53608066", "0.5359268", "0.53519815", "0.5335172", "0.5334883", "0.5334883", "0.53343636", "0.53343636", "0.5319273", "0.5309602", "0.53086674", "0.52990717", "0.52990717", "0.5284801", "0.5278754", "0.5276997", "0.5274732", "0.52718306", "0.52717876", "0.5270142", "0.5268754", "0.5264792", "0.5254606", "0.5237259", "0.52320284", "0.52265704", "0.5221797", "0.5220387", "0.5209014", "0.5206498", "0.519874", "0.51969546", "0.5187828", "0.5185607", "0.5185165", "0.518249", "0.5176273", "0.5165428", "0.51650506", "0.5165015", "0.5163598", "0.5161906", "0.51600796", "0.51514554", "0.5150045", "0.51442325", "0.5133645", "0.51309294", "0.5130048", "0.51299196", "0.5128534", "0.51266265", "0.5125555", "0.5115963", "0.51151603", "0.51146954", "0.51012677", "0.50983685", "0.5096151" ]
0.0
-1
repeated .FileInfo files = 4;
public java.util.List<entities.Torrent.FileInfo.Builder> getFilesBuilderList() { return getFilesFieldBuilder().getBuilderList(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "int getFileInfoCount();", "public void incFileCount(){\n\t\tthis.num_files++;\n\t}", "entities.Torrent.FileInfo getFiles(int index);", "public Files(){\n this.fileNameArray.add(\"bridge_1.txt\");\n this.fileNameArray.add(\"bridge_2.txt\");\n this.fileNameArray.add(\"bridge_3.txt\");\n this.fileNameArray.add(\"bridge_4.txt\");\n this.fileNameArray.add(\"bridge_5.txt\");\n this.fileNameArray.add(\"bridge_6.txt\");\n this.fileNameArray.add(\"bridge_7.txt\");\n this.fileNameArray.add(\"bridge_8.txt\");\n this.fileNameArray.add(\"bridge_9.txt\");\n this.fileNameArray.add(\"ladder_1.txt\");\n this.fileNameArray.add(\"ladder_2.txt\");\n this.fileNameArray.add(\"ladder_3.txt\");\n this.fileNameArray.add(\"ladder_4.txt\");\n this.fileNameArray.add(\"ladder_5.txt\");\n this.fileNameArray.add(\"ladder_6.txt\");\n this.fileNameArray.add(\"ladder_7.txt\");\n this.fileNameArray.add(\"ladder_8.txt\");\n this.fileNameArray.add(\"ladder_9.txt\");\n }", "int getFileNamesCount();", "int getFileNamesCount();", "ds.hdfs.generated.FileMetadata getFiles(int index);", "int getFilesCount();", "int getFilesCount();", "int getFileCount();", "private void gatherFile(FileStatus[] fstat)\r\n\t{\r\n\t inputSize = 0;\t\r\n\t paths = new Path[fstat.length];\t\r\n\t for(int i=0;i<fstat.length;i++)\r\n\t {\r\n\t inputSize+=fstat[i].getLen();\r\n\t paths[i] = fstat[i].getPath();\r\n\t }\r\n\t }", "@java.lang.Override\n public int getFileInfoCount() {\n return fileInfo_.size();\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}", "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}", "private void initializeFileArrays(){\n File downloadedFilesFolder = new File(MainActivity.DB_PATH);\n File[] files = downloadedFilesFolder.listFiles();\n System.out.println(\"*** \" + files.length + \" ***\");\n if(files != null){\n System.out.println(\"*** \" + files.length + \" ***\");\n for(File f : files){\n if(f != null){\n System.out.println(\"***\\n FILE FOUND - \" + f.getAbsolutePath()+\"\\nSIZE - \" +\n f.length() + \" BYTES \\n***\");\n fileNames.add(f.getName());\n fileSizes.add(f.length()+\"\");\n this.files.add(f);\n }\n }\n }\n }", "entities.Torrent.FileInfoOrBuilder getFilesOrBuilder(\n int index);", "List<UploadInfo> simpleUploadAll(List<SimpleFile> files);", "public List<FileUpload> getFileUploads(int numberOfFileUploads, Long startIndex) throws AppException;", "void addFile(int numberLines);", "private void updateFiles() {\n\t}", "@Override\n public void addSingleFile(FileInfo file) {\n }", "entities.Torrent.FileInfo getFileInfo(int index);", "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}", "private static void showFiles(File[] files) {\n\t\t for (File file : files) {\r\n\t\t if (file.isDirectory()) {\r\n\t\t // System.out.println(\"Directory: \" + file.getName());\r\n\t\t showFiles(file.listFiles()); // Calls same method again.\r\n\t\t } else {\r\n\t\t // System.out.println(\"File: \" + file.getName());\r\n\t\t }\r\n\t\t }\r\n\t\t\r\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 }", "private void findRecordings(){\n File[] files = new File(\"Concatenated/\").listFiles();\n _records.clear();\n _versionNum = 1;\n for (File file : files){\n if (file.isFile()){\n String nameOnFile = file.getName().substring(file.getName().lastIndexOf('_')+1,file.getName().lastIndexOf('.')).toUpperCase();\n if (nameOnFile.equals(_name.toUpperCase())){\n _records.add(file.getName());\n _versionNum++;\n }\n }\n }\n }", "private void checkDuplicateOfFile(Iterable<FileInfo> files, DuplicateDataDTO data) {\n for(FileInfo nextFile: files) {\n for(FileInfo nextFile2: files) {\n if(nextFile.duplicate(nextFile2)) {\n LOG.info(\"Duplicate - {}\", nextFile);\n\n processDuplicate(nextFile,data);\n }\n }\n }\n }", "public TagFileInfo[] getTagFiles() {\n/* 176 */ return this.tagFiles;\n/* */ }", "@Test\n\tpublic void testNumLargeFiles() {\n\t\tFile test = new File(\"X:\\\\Documents\\\\PS9 Test\");\n\t\tassertEquals(6,Explorer.numLargeFiles(test));\n\t}", "public double getNumFiles(){\n\t\treturn (this.num_files);\n\t}", "public Files files();", "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 }", "@Test\n\tpublic void testSetFileInfo() {\n\n\t}", "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 readFileList() throws IOException {\n\t\tint entries = metadataFile.readInt();\n\n\t\tfor (int i = 0; i < entries; i++) {\n\t\t\tint hash = metadataFile.readInt();\n\t\t\tlong dataOffset = metadataFile.readInt() & 0xFFFFFFFFL;\n\t\t\tlong dataSize = metadataFile.readInt() & 0xFFFFFFFFL;\n\t\t\tint pathListIndex = metadataFile.readInt();\n\n\t\t\tlong position = metadataFile.getPosition();\n\t\t\tmetadataFile.setPosition(pathListOffset + 8 + (pathListIndex * 8));\n\n\t\t\tlong pathOffset = metadataFile.readInt() & 0xFFFFFFFFL;\n\t\t\tint pathSize = metadataFile.readInt();\n\n\t\t\tmetadataFile.setPosition(pathListOffset + pathOffset);\n\t\t\tString path = metadataFile.readString(pathSize).trim();\n\n\t\t\tif (hash == hash(path)) \n\t\t\t\tfileEntries.add(new RAFFileEntry(dataOffset, dataSize, path));\n\t\t\telse\n\t\t\t\tthrow new IOException(\"Invalid hash for item '\" + path + \"'.\");\n\n\t\t\tmetadataFile.setPosition(position);\n\t\t}\n\t}", "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 static void main(String[] args) {\n\t\tint count=0;\n\t\t File f=new File(\"C:\\\\Users\\\\kumaujjv\\\\Downloads\\\\Assignments - Copy\");\n\t\t String[] s=f.list();\n\n\t\t for(String s1:s) {\n\t\t File f1=new File(f,s1);\n\t\t if(f1.isFile()) {\n\t\t\t //count++;\n\t\t\t System.out.println(s1);\n\t\t }\n\t\t}\n\t\tSystem.out.println(\"total number : \"+count);\n\n\t\t}", "public float[] accumulateDetailFiles(ArrayList<File> files){\r\n\t\tfloat[] values = new float[100];\r\n\t\tint counter = 0;\r\n\r\n\t for(File file:files){\t\t\r\n\t \tSystem.out.println(file.getName());\r\n\t \tcounter = 0;\r\n\t BufferedReader reader;\r\n\t try{\r\n\t reader = new BufferedReader(new FileReader(file));\r\n\t String line = reader.readLine(); \r\n\t while(line != null){\t\r\n\t \tif(!line.substring(0,1).equals(\"#\")){\r\n\t \t\tString[] values2 = line.split(\" \");\r\n\t \t\tvalues[counter] += Float.valueOf(values2[values2.length-1]);\r\n\t\t \tcounter++;\r\n\t \t}\r\n\t \tline = reader.readLine();\r\n\t }\r\n\t \r\n\t\t\t} catch (FileNotFoundException e) {\r\n\t\t\t System.err.println(\"FileNotFoundException: \" + e.getMessage());\r\n\t\t\t} catch (IOException e) {\r\n\t\t\t System.err.println(\"Caught IOException: \" + e.getMessage());\r\n\t\t\t}\r\n\t }\r\n\r\n\t float[] returnValues = new float[counter];\r\n\t \r\n\t for(int j = 0; j < returnValues.length; j++) \treturnValues[j] = ((float)values[j]/files.size());\r\n\t\r\n\t \r\n \treturn returnValues;\r\n\t}", "ds.hdfs.generated.FileMetadataOrBuilder getFilesOrBuilder(\n int index);", "private static void calculateSizes() {\n for(EmailTypes type : EmailTypes.values()){\n File f = unpackedFiles.get(type);\n setSizes.put(type, Objects.requireNonNull(f.listFiles()).length);\n }\n }", "public int[] filesRemaining();", "public static void main(String[] args) {\n\t\tFile dir = new File(\"H:\");\r\n\t\tString[] filelist = dir.list();\r\n\t\tlong total = 0;\r\n\t\tlong t = 0;\r\n\t\tfor(int i=0;i<filelist.length;i++){\r\n\t\t\t File readfile = new File(\"H:\" + \"\\\\\" + filelist[i]);\r\n\t\t\t t = readFile(readfile)/1024/1024;\r\n\t\t\t System.out.println(\"name=\" + readfile.getName() + \" size:=\" + t + \"MB\");\r\n\t\t\t total += t;\r\n\t\t}\r\n\t\tSystem.out.println(\"OK,all the files is list over,the number is \" + filelist.length + \"the total size is \" + total); \r\n\t}", "@Test\n public void tagFilesShouldReturnNonEmptyTagFiles() throws Exception {\n //given\n givenInfoMessageCode();\n\n //when\n List<IFileSpec> tagFiles = tagDelegator.tagFiles(fileSpecs, LABEL_NAME, opts);\n //then\n assertThat(tagFiles.size(), is(1));\n assertThat(tagFiles.get(0).getDepotPathString(), is(TEST_FILE_DEPOT_PATH));\n }", "public int getFileInfoCount() {\n if (fileInfoBuilder_ == null) {\n return fileInfo_.size();\n } else {\n return fileInfoBuilder_.getCount();\n }\n }", "private static ArrayList<File> buildFilesArray() {\n ArrayList<File> result = new ArrayList<>();\n rAddFilesToArray(workingDirectory, result);\n return result;\n }", "@java.lang.Override\n public entities.Torrent.FileInfoOrBuilder getFilesOrBuilder(\n int index) {\n return files_.get(index);\n }", "java.lang.String getFileNames(int index);", "java.lang.String getFileNames(int index);", "public void filesNotFound(File... f) { }", "public void filesNotFound(File... f) { }", "public static int filesWithSizes (File f)\n\t{\n\t\tif (f.isFile())\n\t\t{\n\t\t\tif (f.length()>= 10000 && f.length() <= 25000)\n\t\t\t{\n\t\t\t\treturn 1;\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\treturn 0;\n\t\t\t}\n\t\t}\n\t\telse\n\t\t{\n\t\t\tint count = 0;\n\t\t\tfor (File file: f.listFiles())\n\t\t\t{\n\t\t\t\tcount += filesWithSizes(file);\n\t\t\t}\n\t\t\treturn count;\n\t\t}\n\t}", "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 }", "public java.lang.String[] getNewFiles(){\r\n return localNewFiles;\r\n }", "entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder();", "entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder();", "@Test\n public void shouldReturnNonEmptyTagFiles() throws Exception {\n //given\n givenInfoMessageCode();\n //when\n List<IFileSpec> tagFiles = tagDelegator.tagFiles(\n fileSpecs,\n LABEL_NAME,\n listOnly1,\n delete1);\n //then\n assertThat(tagFiles.size(), is(1));\n assertThat(tagFiles.get(0).getDepotPathString(), is(TEST_FILE_DEPOT_PATH));\n }", "@Test\n public void maxFiles() throws Throwable {\n MergeFilesOptions opts = new MergeFilesOptions();\n opts.setStream(\"//Ace/dev\");\n opts.setReverseMapping(true);\n opts.setMaxFiles(1);\n opts.setForceStreamMerge(true);\n\n List<IFileSpec> merged = client.mergeFiles(null, null, opts);\n assertEquals(\"wrong number of files\", 1, merged.size());\n\n List<IFileSpec> opened = client.openedFiles(null, null);\n assertEquals(\"files should not have been opened\", 1, opened.size());\n }", "public FileCount(int numFiles){\n this.numFiles = numFiles;\n }", "public int getFileNamesCount() {\n return fileNames_.size();\n }", "static public ObservableList<ImageMetaInfo> getImagesInfo(File path) {\n ObservableList<ImageMetaInfo> observableList = FXCollections.observableArrayList();\n ExtFilter fileFilter = new ExtFilter();\n File[] imageFilesArray = path.listFiles(fileFilter);\n for (File file : imageFilesArray) {\n ImageMetaInfo imageMetaInfo = getImageMetaInfo(file);\n observableList.add(imageMetaInfo);\n }\n return observableList;\n }", "private void get_file_List() {\n\tString file_name=null;\r\n\tfor (int i = 0; i < listOfFiles.length; i++) \r\n\t {\r\n\t \r\n\t if (listOfFiles[i].isFile()) \r\n\t {\r\n\t\t file_name = listOfFiles[i].getName();\r\n\t if (file_name.endsWith(\".xml\") || file_name.endsWith(\".XML\"))\r\n\t {\r\n\t file_list.add(file_name) ;\r\n\t }\r\n\t }\r\n\t }\r\n\t\r\n}", "public static void getListOfAllFileVarianta2() {\n\t\tPath pathToSrc = Paths.get(\"D:\\\\TorrentsMd\");\r\n\t\ttry {\r\n\t\t\t//cu method references\r\n//\t\t\tFiles.walk(pathToSrc)\r\n//\t\t\t\t.map(Path::toFile)\r\n//\t\t\t\t.filter(File::isFile)\r\n//\t\t\t\t.map(File::getName)\r\n//\t\t\t\t.sorted()\r\n//\t\t\t\t.forEach(System.out::println);\r\n\t\t\t\r\n\t\t\t//cu lambda, dar dpdv semantic sunt identice\r\n\t\t\tFiles.walk(pathToSrc)\r\n\t\t\t\t .map(path -> path.toFile()) //trasnform fiecare Path din stream intr-un File\r\n\t\t\t\t .filter(file -> file.isFile()) //filtrez doar fisierele\r\n\t\t\t\t .map(file -> file.getName())//transform fiecare File din stream intr-un String, care e numele sau\r\n\t\t\t\t .sorted()\r\n\t\t\t\t .forEach(file -> System.out.println(file));\r\n\t\t} catch (IOException e) {\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t}", "@java.lang.Override\n public int getFilesCount() {\n return files_.size();\n }", "static List<File> gitAttributes(File projectDir, Iterable<File> files) {\n List<File> gitAttrFiles = new ArrayList<>();\n Set<File> visitedFolders = new HashSet<>();\n for (File file : files) {\n gitAttrAddWithParents(projectDir, file.getAbsoluteFile(), visitedFolders, gitAttrFiles);\n }\n return gitAttrFiles;\n }", "public static int getNumberOfFiles() {\n\t\treturn EXTENSIONS.length;\n\t}", "public Map<String, NewData> getSnapshotFiles (final List<String> files){\n \t\tMap<String,NewData> w = new HashMap<String,NewData>();\n \t\tList<String> l = new LinkedList<String>();\n \t\tString s=\"\";\n \t\t\n \t\tfor (String str : files){\n \t\t\tw.put(str, new NewData(str));\n \t\t\tl=this.readFile(this.getSnapshot().getRoot() + File.separatorChar +str);\n \t\t\t\n \t\t\tfor (String str2 : l)\n \t\t\t\ts=s+str2+\"\\n\";\n \t\t\t\n \t\t\tw.get(str).setFileContent(s);\n \t\t\tw.get(str).getLclock().putAll(this.getFilelist().get(str));\n \t\t}\n \t\t\t\t\n \t\treturn w;\n \t}", "entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder(\n int index);", "public void getPeerFiles(){\n\t\t\n\t\tFile[] files = new File(path).listFiles();\n\t\tfor (File file : files) {\n\t\t\tfileNames.add(file.getName());\n\t\t}\n\t\tSystem.out.println(\"Number of Files Registerd to the server - \"+fileNames.size());\n\t\tSystem.out.println(\"To search for file give command: get <Filename>\");\n\t\tSystem.out.println(\"To refresh type command: refresh\");\n\t\tSystem.out.println(\"To disconnect type command: disconnect\");\n\t}", "public static void main(String[] args) {\nFile files=new File(\"C:\\\\Users\\\\k74\");\nString filenames[]=files.list();\nfor(String filename :filenames)\n\tSystem.out.println(filename);\n\t}", "public static void rankFiles(Hashtable<?, Integer> fname, int numberOfOccurrences) \r\n\t{\n\t\tArrayList<Map.Entry<?, Integer>> arrayList = new ArrayList(fname.entrySet());\r\n\r\n\t\tCollections.sort(arrayList, new Comparator<Map.Entry<?, Integer>>() \r\n\t\t{\r\n\t\t\tpublic int compare(Map.Entry<?, Integer> obj1, Map.Entry<?, Integer> obj2) \r\n\t\t\t{\r\n\t\t\t\treturn obj1.getValue().compareTo(obj2.getValue());\r\n\t\t\t}\r\n\t\t});\r\n\r\n\t\tCollections.reverse(arrayList);\r\n\r\n\t\tif (numberOfOccurrences > 0) \r\n\t\t{\r\n\t\t\tSystem.out.println(\"\\n------Top 10 search results-----\\n\");\r\n\r\n\t\t\tint my_number = 10;\r\n\t\t\tint j = 1;\r\n\t\t\twhile (arrayList.size() > j && my_number > 0) \r\n\t\t\t{\r\n\t\t\t\tSystem.out.println(\"(\" + j + \") \" + arrayList.get(j) + \" times \");\r\n\t\t\t\tj++;\r\n\t\t\t\tmy_number--;\r\n\t\t\t}\r\n\t\t} \r\n\t}", "@Override\n public List<FileInfo> getLibrarySubFiles(FileInfo fileInfo) {\n return null;\n }", "public final void mo14831s() {\n Iterator it = ((ArrayList) mo14817d()).iterator();\n while (it.hasNext()) {\n File file = (File) it.next();\n if (file.listFiles() != null) {\n m6739b(file);\n long c = m6740c(file, false);\n if (((long) this.f6567b.mo14797a()) != c) {\n try {\n new File(new File(file, String.valueOf(c)), \"stale.tmp\").createNewFile();\n } catch (IOException unused) {\n f6563c.mo14884b(6, \"Could not write staleness marker.\", new Object[0]);\n }\n }\n for (File b : file.listFiles()) {\n m6739b(b);\n }\n }\n }\n }", "@Test\n public void testGetFilesList() {\n System.out.println(\"getFilesList from existing folder with existing subfiles\");\n String entryPath = folder.toString()+fSeparator+\"Images\";\n FilesDao instance = new FilesDao();\n String[] expResult = new String[2];\n expResult[0] = \"testImg.jpg\";\n expResult[1] = \"testImg2.jpg\";\n String[] result;\n try{\n result = instance.getFilesList(entryPath);\n }catch(EntryException ex){\n result = null;\n }\n assertArrayEquals(expResult, result);\n }", "private void populateList(File[] filesList) {\n Log.i(\"mPackage\",\"FilesList: \"+filesList.length);\n for(File file : filesList) {\n //Log.i(\"mPackage\",\"Path: \"+file);\n if(file.isDirectory()) {\n populateList(file.listFiles());\n }\n else {\n MarkerModel markerModel = new MarkerModel();\n Boolean containsObj = false;\n for(File modelFile : filesList) {\n String[] extension = modelFile.getName().split(\"\\\\.\");\n if(extension[extension.length-1].equals(\"obj\")) {\n markerModel.setObj(modelFile.getPath());\n containsObj = true;\n }\n else if(extension[extension.length-1].equals(\"mtl\"))\n markerModel.setMtl(modelFile.getPath());\n else\n markerModel.addTexture(modelFile.getPath());\n }\n if(containsObj)\n models.add(markerModel);\n return;\n //models.add(file.getPath());\n //Log.i(\"mPackage\",\"Path: \"+file.getPath());\n }\n }\n }", "java.util.List<? extends ds.hdfs.generated.FileMetadataOrBuilder> \n getFilesOrBuilderList();", "public List<String> splitByCount(String fileName, int count)\n throws IOException, InterruptedException {\n\n List<String> parts = new ArrayList<String>();\n File file = new File(fileName);\n int blockSize = (int) Math.ceil(file.length() / (double) count);\n RandomAccessFile raf = new RandomAccessFile(fileName, \"r\");\n long totalLen = raf.length();\n CountDownLatch latch = new CountDownLatch(count);\n\n long startPos = 0L;\n long nextPos = 0L;\n\n for (int i = 0; i < count; i++) {\n nextPos = Long.min((long) (i + 1) * blockSize, totalLen - 1);\n raf.seek(nextPos);\n //Calculate the start position for the next file.\n do {\n raf.seek(nextPos);\n if (raf.readByte() == '\\n') {\n nextPos = nextPos + 1;\n break;\n }\n nextPos--;\n } while (true);\n long readSizeTemp = nextPos - startPos;\n int readSize = (int) readSizeTemp;\n String partFileName = fileName.replace(\"raw\", \"raw\" + (i + 1));\n new SplitRunnable(readSize, startPos, partFileName, file, latch).run();\n startPos = nextPos;\n parts.add(partFileName);\n }\n //Wait until all the files are written.\n latch.await();\n return parts;\n }", "public float[] accumulateSimpleMixFiles(ArrayList<File> files){\r\n\t\t\tfloat[] returnValue = new float[10];\r\n\t\t\tfloat[] values = new float[10];\r\n\t\t\t\r\n\t\t for(File file:files){\t\t\t\t\t\r\n\t\t BufferedReader reader;\r\n\t\t try{\r\n\t\t reader = new BufferedReader(new FileReader(file));\r\n\t\t String line = reader.readLine(); \r\n\t\t while(line != null){\t\r\n\t\t \tif(line.substring(0,5).equals(\"Total\")){\r\n\t\t \t\tString[] values2 = line.split(\" \");\r\n\t\t \t\t\r\n\t\t \t\tfor(int i = 2; i < values2.length; i++) values[i-2] += Float.valueOf(values2[i]);\r\n\t\t \t}\r\n\t\t \tline = reader.readLine();\r\n\t\t }\r\n\t\t \r\n\t\t\t\t} catch (FileNotFoundException e) {\r\n\t\t\t\t System.err.println(\"FileNotFoundException: \" + e.getMessage());\r\n\t\t\t\t} catch (IOException e) {\r\n\t\t\t\t System.err.println(\"Caught IOException: \" + e.getMessage());\r\n\t\t\t\t}\r\n\t\t }\r\n\r\n\t\t for(int j = 0; j < values.length; j++) returnValue[j] = (float)values[j]/files.size();\t\r\n\t\t \r\n\t\t return returnValue;\r\n\t\t}", "private Map<ServerFile, Integer> totalFiles(){\n\t\tMap<ServerFile, Integer> ret = new HashMap<ServerFile, Integer>();\n\t\tfor (ClientObj c : clients){\n\t\t\tfor (ServerFile f : c.getFiles()){\n\t\t\t\tif (!ret.containsKey(f))\n\t\t\t\t\tret.put(f, 1);\n\t\t\t\telse\n\t\t\t\t\tret.put(f, ret.get(f) + 1);\n\t\t\t}\n\t\t}\n\t\treturn ret;\n\t}", "int getSourceFileCount();", "public void checkForRepeats(String selectedMarket)\r\n {\r\n System.out.println(backUpPath + selectedMarket);\r\n \tFile f = new File(backUpPath + selectedMarket);\r\n \tArrayList<File> fileContents = new ArrayList<File>(Arrays.asList(f.listFiles()));\r\n \t\r\n for(int i = 0;i< scriptAds.size();i++)\r\n \t{\r\n String currentFileName;\r\n long modified;\r\n Date modifiedDate;\r\n \r\n for(int j = 0;j < fileContents.size();j++)\r\n {\r\n currentFileName = fileContents.get(j).getName();\r\n \r\n if(currentFileName.contains(\".\"))\r\n {\r\n currentFileName = currentFileName.substring(0,currentFileName.lastIndexOf(\".\"));\r\n }\r\n if(scriptAds.get(i).getAdNumber().toLowerCase().equals(currentFileName.toLowerCase()))\r\n {\r\n modified = fileContents.get(j).lastModified();\r\n modifiedDate = new Date(modified);\r\n \r\n String dateToPrint = DateFormat.getDateTimeInstance(DateFormat.SHORT, DateFormat.SHORT).format(modifiedDate);\r\n dateToPrint = dateToPrint.substring(0,dateToPrint.indexOf(\" \"));\r\n \r\n infoText.append(\"<p>CC# \" + scriptAds.get(i).getccNumber() \r\n + \" matches a backup of last modified : \" + scriptAds.get(i).getAdNumber() \r\n + \" \" + dateToPrint + \"\\nin \" + importFileName + \"</p>\");\r\n }\r\n }\r\n }\r\n }", "public void mo83570c() {\n File[] listFiles;\n File file = new File(this.f60297d);\n if (file.isDirectory() && (listFiles = file.listFiles()) != null && listFiles.length >= this.f60294a) {\n Arrays.sort(listFiles, this.f60295b);\n for (int i = 0; i < listFiles.length && listFiles.length >= this.f60294a; i++) {\n File file2 = listFiles[i];\n if (!this.f60299f.contains(file2)) {\n ArgusLogger.m85574b(String.format(C6969H.m41409d(\"G4D8AC619BE22AF20E809D047FEE1C6C47DC3D008AD3FB969E71DD05BE6EAD1D26DC3D008AD3FB969EA079D41E6A5D1D26880DD1FBB70E36CF547\"), file2.getPath()));\n mo83569b(Collections.singleton(file2));\n }\n }\n }\n }", "public File[] filesReadOnly(File... f) { return f; }", "public List<File> getFiles();", "@Test\n\tpublic void testCountItems() {\n\t\tFile test = new File(\"X:\\\\Documents\\\\PS9 Test\");\n\t\tassertEquals(13,Explorer.countItems(test));\n\t}", "void update(FileInfo fileInfo);", "private static ArrayList m5336a(File[] fileArr) {\n ArrayList arrayList = new ArrayList();\n int i = 0;\n while (i < fileArr.length) {\n if (fileArr[i].isFile() && fileArr[i].getName().length() == 10 && TextUtils.isDigitsOnly(fileArr[i].getName())) {\n arrayList.add(fileArr[i]);\n }\n i++;\n }\n return arrayList;\n }", "@Test(timeout = 4000)\n public void test23() throws Throwable {\n FileUtil fileUtil0 = new FileUtil();\n ArrayList<Object> arrayList0 = new ArrayList<Object>();\n File file0 = fileUtil0.getAccessories(\"YP=8V~@ch)3vts}p8\", arrayList0);\n assertNull(file0);\n }", "public void findDupe(int choice) {\n\n\t\tString fullName = null;\n\t\tboolean flag = true;\n\n\t\tfor (Path file : filesArray) {\n\t\t\ttry {\n\t\t\t\tfullName = getFullName(file, choice);\n\t\t\t} catch (Exception e) {\n\t\t\t\tSystem.out.println(\"problem read file: \" + file);\n\t\t\t\tflag = false;\n\t\t\t}\n\n\t\t\tif (flag) {\n\t\t\t\tmultiMap.put(fullName, file);\n\t\t\t\tCollection<Path> vals = (Collection<Path>) multiMap.get(fullName);\n\n\t\t\t\tif (vals.size() > 1) {\n\t\t\t\t\tcounter++;\n\t\t\t\t}\n\t\t\t}\n\t\t\tflag = true;\n\t\t}\n\n\t\tSet<String> keys = multiMap.keySet();\n\t\tIterator<String> items = keys.iterator();\n\n\t\twhile (items.hasNext()) {\n\t\t\tString str = (String) items.next();\n\n\t\t\t@SuppressWarnings(\"unchecked\")\n\t\t\tCollection<Path> val = (Collection<Path>) multiMap.get(str);\n\t\t\tArrayList<Path> arr = new ArrayList<>(val);\n\n\t\t\tif (arr.size() <= 1)\n\t\t\t\titems.remove();\n\n\t\t}\n\n\t}", "java.util.List<entities.Torrent.FileInfo>\n getFileInfoList();", "List<DownloadChunk> mo54445j(int i);", "void visitFile(StorageUnit unit, long off, long lim);", "public void fileInfo(String info);", "private List<FileInfoDTO> createFileInfoDTOs(MultipartFile file1, MultipartFile file2, int totalLinesFirstFile,\n\t\t\tint totalLinesSecondFile) {\n\t\tint unmatchedRecordsFirstFile = firstFileMap.getCountMap().values().stream().mapToInt(Integer::valueOf).sum();\n\t\tint unmatchedRecordsSecondFile = secondFileMap.getCountMap().values().stream().mapToInt(Integer::valueOf).sum();\n\n\t\tFileInfo firstFileInfo = new FileInfo();\n\t\tfirstFileInfo.setName(file1.getOriginalFilename());\n\t\tfirstFileInfo.setTotalRecords(totalLinesFirstFile);\n\t\tfirstFileInfo.setUnmatchedRecords(unmatchedRecordsFirstFile);\n\t\tfirstFileInfo.setMatchingRecords(totalLinesFirstFile - unmatchedRecordsFirstFile);\n\n\t\tFileInfo secondFileInfo = new FileInfo();\n\t\tsecondFileInfo.setName(file2.getOriginalFilename());\n\t\tsecondFileInfo.setTotalRecords(totalLinesSecondFile);\n\t\tsecondFileInfo.setUnmatchedRecords(unmatchedRecordsSecondFile);\n\t\tsecondFileInfo.setMatchingRecords(totalLinesSecondFile - unmatchedRecordsSecondFile);\n\n\t\treturn List.of(firstFileInfo, secondFileInfo).stream()\n\t\t\t\t.map(file -> DTOConverter.convertFileInfoToFileInfoDTO(file)).collect(Collectors.toList());\n\t}", "public void a(File file, List<WxAndQqScanPathInfo> list) {\n if (file != null && !this.p) {\n File[] listFiles = file.listFiles();\n if (listFiles != null) {\n int length = listFiles.length;\n int i2 = 0;\n while (i2 < length) {\n File file2 = listFiles[i2];\n if (!this.p) {\n if (file2 != null) {\n if (!file2.isDirectory()) {\n if (!\".nomedia\".equals(file2.getName()) && file2.length() >= 5 && file2 != null && file2.exists()) {\n CleanWxItemInfo cleanWxItemInfo = new CleanWxItemInfo();\n cleanWxItemInfo.setFileType(((WxAndQqScanPathInfo) list.get(0)).getType());\n cleanWxItemInfo.setFile(file2);\n cleanWxItemInfo.setDays(TimeUtil.changeTimeToDay(cleanWxItemInfo.getFile().lastModified()));\n cleanWxItemInfo.setFileSize(file2.length());\n switch (((WxAndQqScanPathInfo) list.get(0)).getType()) {\n case 1:\n o += cleanWxItemInfo.getFileSize();\n d.setTotalSize(d.getTotalSize() + cleanWxItemInfo.getFileSize());\n d.setTotalNum(d.getTotalNum() + 1);\n if (d.isChecked()) {\n cleanWxItemInfo.setChecked(true);\n d.setSelectSize(d.getSelectSize() + cleanWxItemInfo.getFileSize());\n d.setSelectNum(d.getSelectNum() + 1);\n }\n cleanWxItemInfo.setDays(TimeUtil.changeTimeToDay(0));\n a(d, cleanWxItemInfo);\n break;\n case 2:\n if (!file2.getAbsolutePath().endsWith(\"_cover\") && !new File(file2.getAbsolutePath() + \"_cover\").exists()) {\n if (!\"finishActivity\".equals(this.r) && !\"bigGarbageFragment\".equals(this.r)) {\n if (e.isFinished()) {\n j.setTotalNum(j.getTotalNum() + 1);\n j.setTotalSize(j.getTotalSize() + cleanWxItemInfo.getFileSize());\n a(j, cleanWxItemInfo);\n break;\n } else {\n o += cleanWxItemInfo.getFileSize();\n e.setTotalNum(e.getTotalNum() + 1);\n e.setTotalSize(e.getTotalSize() + cleanWxItemInfo.getFileSize());\n if (e.isChecked()) {\n cleanWxItemInfo.setChecked(true);\n e.setSelectNum(e.getSelectNum() + 1);\n e.setSelectSize(e.getSelectSize() + cleanWxItemInfo.getFileSize());\n }\n a(e, cleanWxItemInfo);\n break;\n }\n }\n } else {\n j.setTotalSize(j.getTotalSize() + cleanWxItemInfo.getFileSize());\n j.setTotalNum(j.getTotalNum() + 1);\n a(j, cleanWxItemInfo);\n break;\n }\n break;\n case 3:\n o += cleanWxItemInfo.getFileSize();\n f.setTotalSize(f.getTotalSize() + cleanWxItemInfo.getFileSize());\n f.setTotalNum(f.getTotalNum() + 1);\n if (f.isChecked()) {\n cleanWxItemInfo.setChecked(true);\n f.setSelectSize(f.getSelectSize() + cleanWxItemInfo.getFileSize());\n f.setSelectNum(f.getSelectNum() + 1);\n }\n a(f, cleanWxItemInfo);\n break;\n case 4:\n if (file2.getName().startsWith(\"snstblur_src_\")) {\n if (Constants.PRIVATE_LOG_CONTROLER) {\n break;\n } else {\n file2.delete();\n break;\n }\n } else {\n if (!file2.getName().startsWith(\"snst_\")) {\n if (file2.getName().startsWith(\"snsu_\") && new File(file2.getAbsolutePath().replace(\"snsu_\", \"snsb_\")).exists()) {\n break;\n }\n } else if (!new File(file2.getAbsolutePath().replace(\"snst_\", \"snsu_\")).exists()) {\n if (new File(file2.getAbsolutePath().replace(\"snst_\", \"snsb_\")).exists()) {\n break;\n }\n } else {\n break;\n }\n o += cleanWxItemInfo.getFileSize();\n g.setTotalSize(g.getTotalSize() + cleanWxItemInfo.getFileSize());\n g.setTotalNum(g.getTotalNum() + 1);\n if (g.isChecked()) {\n cleanWxItemInfo.setChecked(true);\n g.setSelectSize(g.getSelectSize() + cleanWxItemInfo.getFileSize());\n g.setSelectNum(g.getSelectNum() + 1);\n }\n a(g, cleanWxItemInfo);\n break;\n }\n case 5:\n if (file2.getName().endsWith(\".jpg_hevc\")) {\n if (Constants.PRIVATE_LOG_CONTROLER) {\n break;\n } else {\n file2.delete();\n break;\n }\n } else {\n if (file2.getName().startsWith(\"th_\")) {\n if (!file2.getName().endsWith(\"hd\")) {\n break;\n } else {\n break;\n }\n }\n h.setTotalSize(h.getTotalSize() + cleanWxItemInfo.getFileSize());\n h.setTotalNum(h.getTotalNum() + 1);\n a(h, cleanWxItemInfo);\n break;\n }\n case 6:\n if (!file2.getAbsolutePath().contains(\"download/appbrand\")) {\n if (file2.getName().endsWith(\".jpg\")) {\n if (!new File(file2.getAbsolutePath().replace(\".jpg\", \".mp4\")).exists() && !Constants.PRIVATE_LOG_CONTROLER) {\n file2.delete();\n break;\n }\n } else {\n i.setTotalSize(i.getTotalSize() + cleanWxItemInfo.getFileSize());\n i.setTotalNum(i.getTotalNum() + 1);\n a(i, cleanWxItemInfo);\n break;\n }\n } else {\n break;\n }\n case 8:\n k.setTotalSize(k.getTotalSize() + cleanWxItemInfo.getFileSize());\n k.setTotalNum(k.getTotalNum() + 1);\n a(k, cleanWxItemInfo);\n break;\n case 9:\n if (!file2.getName().endsWith(\".mp4\")) {\n l.setTotalSize(l.getTotalSize() + cleanWxItemInfo.getFileSize());\n l.setTotalNum(l.getTotalNum() + 1);\n l.getMineList().add(cleanWxItemInfo);\n a(l, cleanWxItemInfo);\n break;\n } else {\n m.setTotalSize(m.getTotalSize() + cleanWxItemInfo.getFileSize());\n m.setTotalNum(m.getTotalNum() + 1);\n m.getMineList().add(cleanWxItemInfo);\n a(m, cleanWxItemInfo);\n break;\n }\n case 10:\n n.setTotalSize(n.getTotalSize() + cleanWxItemInfo.getFileSize());\n n.setTotalNum(n.getTotalNum() + 1);\n a(n, cleanWxItemInfo);\n break;\n }\n }\n } else {\n try {\n if (file2.listFiles() == null || file2.listFiles().length == 0) {\n FileUtils.deleteFileAndFolder(file2);\n }\n } catch (Exception e2) {\n Logger.iCatch(Logger.TAG, Logger.ZYTAG, \"CleanWxClearNewActivity---wxFileScan ---- \", e2);\n }\n a(file2, list);\n }\n }\n i2++;\n } else {\n return;\n }\n }\n }\n }\n }", "java.util.List<? extends entities.Torrent.FileInfoOrBuilder>\n getFileInfoOrBuilderList();", "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 }", "public Builder addAllFiles(\n java.lang.Iterable<? extends entities.Torrent.FileInfo> values) {\n if (filesBuilder_ == null) {\n ensureFilesIsMutable();\n com.google.protobuf.AbstractMessageLite.Builder.addAll(\n values, files_);\n onChanged();\n } else {\n filesBuilder_.addAllMessages(values);\n }\n return this;\n }", "public filesMB() {\n }", "com.google.protobuf.ByteString\n getFileNamesBytes(int index);", "public int getFileNamesCount() {\n return fileNames_.size();\n }", "@java.lang.Override\n public entities.Torrent.FileInfoOrBuilder getFileInfoOrBuilder(\n int index) {\n return fileInfo_.get(index);\n }" ]
[ "0.65325207", "0.6227456", "0.6177881", "0.6116598", "0.6065684", "0.6065684", "0.590164", "0.58970237", "0.58970237", "0.5783433", "0.57750136", "0.5763771", "0.5762734", "0.57547295", "0.5746625", "0.5744839", "0.5644452", "0.563878", "0.5628507", "0.56053144", "0.5601631", "0.5583571", "0.55456394", "0.5545325", "0.5545274", "0.5519314", "0.55032945", "0.5502879", "0.5497437", "0.54956275", "0.5495291", "0.54928", "0.5474748", "0.5458041", "0.54520524", "0.54351526", "0.5411701", "0.5409407", "0.5396235", "0.5388728", "0.5378012", "0.537654", "0.53608066", "0.5359268", "0.53519815", "0.5335172", "0.5334883", "0.5334883", "0.53343636", "0.53343636", "0.5319273", "0.5309602", "0.53086674", "0.52990717", "0.52990717", "0.5284801", "0.5278754", "0.5276997", "0.5274732", "0.52718306", "0.52717876", "0.5270142", "0.5268754", "0.5264792", "0.5254606", "0.5237259", "0.52320284", "0.52265704", "0.5221797", "0.5220387", "0.5209014", "0.5206498", "0.519874", "0.51969546", "0.5187828", "0.5185607", "0.5185165", "0.518249", "0.5176273", "0.5165428", "0.51650506", "0.5165015", "0.5163598", "0.5161906", "0.51600796", "0.51514554", "0.5150045", "0.51442325", "0.5133645", "0.51309294", "0.5130048", "0.51299196", "0.5128534", "0.51266265", "0.5125555", "0.5115963", "0.51151603", "0.51146954", "0.51012677", "0.50983685", "0.5096151" ]
0.0
-1
Short alias or acronym of the owner of the node string owner = 1;
java.lang.String getOwner();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setOwner (String owner) {\n\t\tthis.owner=owner;\n\t}", "String getOwner();", "String getOwner();", "public void setOwner(String owner) {\n this.owner = owner;\n }", "public void setOwner(String owner) {\n this.owner = owner;\n }", "public void setOwner(String owner) {\n this.owner = owner;\n }", "public void setOwner(String owner) {\n this.owner = owner;\n }", "public String getOwner();", "@DISPID(33)\r\n\t// = 0x21. The runtime will prefer the VTID if present\r\n\t@VTID(38)\r\n\tjava.lang.String owner();", "public String getOwner() {\r\n if (mOwner==null) {\r\n return \"n/a\";\r\n }\r\n return mOwner;\r\n }", "void setOwner(String owner);", "public String getOwner() { return owner; }", "public String getownerName() {\n\t return this.ownerName;\n\t}", "public void setOwner(String owner) {\n mOwner = owner;\n }", "public String getOwner(){\n return owner;\r\n }", "@DISPID(75)\r\n\t// = 0x4b. The runtime will prefer the VTID if present\r\n\t@VTID(73)\r\n\tjava.lang.String owner();", "public String getOwner() {\r\n return owner;\r\n }", "public String getOwner() {\r\n\t\treturn owner;\r\n\t}", "@Override\n\t\tpublic String ownerName() {\n\t\t\treturn \"Cat Owner\";\n\t\t}", "public void setOwner(String owner) {\r\n this.owner = owner == null ? null : owner.trim();\r\n }", "public void setOwner(String owner) {\n this.owner = owner == null ? null : owner.trim();\n }", "public void setOwner(String owner) {\n this.owner = owner == null ? null : owner.trim();\n }", "public String getOwnerName() {\r\n return this.ownerName;\r\n }", "public String getOwner() {\n return owner;\n }", "public String getOwner() {\n return owner;\n }", "public String getOwner() {\n return owner;\n }", "public String getOwner() {\n return owner;\n }", "public String getOwner() {\n return owner;\n }", "public String getOwner() {\n return owner;\n }", "@Column(name=\"owner\")\n\tpublic String getOwner() {\n\t\treturn owner;\n\t}", "public String getOwner() {\n\n return owner;\n\n }", "public String owner() {\n return this.owner;\n }", "@Override\n\t\tpublic String ownerName() {\n\t\t\treturn \"Tiger Owner\";\n\t\t}", "public String ownerName() {\n\t\t\treturn null;\n\t\t}", "public void changeOwner(String o){\n owner = o;\r\n }", "Optional<String> getOwner();", "public String getOwner() {\n\n return Owner;\n }", "public String getOwnerName() {\r\n\t\treturn ownerName;\r\n\t}", "public void setOwnerName(String name) {\r\n this.ownerName = name;\r\n }", "public String getOwner() {\n return mOwner;\n }", "@Override\n\t\tpublic String ownerName() {\n\t\t\treturn \"Dog Owner\";\n\t\t}", "public void setOwner(String mOwner) {\r\n this.mOwner = mOwner;\r\n }", "public void setOwner(int owner) { this.owner = owner; }", "public java.lang.String getOwnername() {\n\treturn ownername;\n}", "public String getOwnerName() {\n\t\treturn ownerName;\n\t}", "public void setownerName(String ownerName) {\n\t this.ownerName = ownerName;\n\t}", "public String getOwnerName() {\n\n return ownerName;\n }", "public void setOwnerName( String name ) {\n\n ownerName = name;\n }", "public void setOwnerString(String s) {\n ownerString = s;\r\n }", "public void setOwnername(java.lang.String newOwnername) {\n\townername = newOwnername;\n}", "public java.lang.String getOwner() {\n java.lang.Object ref = owner_;\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 owner_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getOwner() {\n java.lang.Object ref = owner_;\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 owner_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public long getOwner() {\n\t\treturn owner;\n\t}", "public final String getOwnerName() {\n return ElementUtils.getDeclaringClassName(node);\n }", "@Column (name=\"OWNER\", insertable = true, updatable = false)\r\n\tpublic String getOwner() {\r\n\t\treturn owner;\r\n\t}", "public synchronized void setOwner(String s) {\n owner = s;\n }", "public java.lang.String getOwnerId() {\r\n return ownerId;\r\n }", "public String getOwnerId() {\n return ownerId;\n }", "public void setOwnerName(String ownerName) {\r\n\t\tthis.ownerName = ownerName;\r\n\t}", "public void setOwnerName(String ownerName) {\r\n\t\tthis.ownerName = ownerName;\r\n\t}", "public void setOwnerId(String ownerId) {\n this.ownerId = ownerId;\n }", "@java.lang.Override\n public java.lang.String getOwner() {\n java.lang.Object ref = owner_;\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 owner_ = s;\n return s;\n }\n }", "@java.lang.Override\n public java.lang.String getOwner() {\n java.lang.Object ref = owner_;\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 owner_ = s;\n return s;\n }\n }", "public Builder setOwner(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n\n owner_ = value;\n onChanged();\n return this;\n }", "public Builder setOwner(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n\n owner_ = value;\n onChanged();\n return this;\n }", "@JsonSetter(\"owner\")\r\n public void setOwner(String owner) {\r\n this.owner = owner;\r\n }", "public UUID getOwner() {\n return owner;\n }", "public UUID getOwner() {\n return owner;\n }", "public interface Owner {\n\n /**\n * Returns the unique owner ID of this object. This ID is used to separate\n * different owners from each other.\n * \n * @return the unique owner ID\n */\n int getOwnerID();\n\n /**\n * @return a descriptive name of the owner (for printing, debugging, etc.)\n */\n String getName();\n\n}", "public String getOwnerString() {\n return String.valueOf(enteredBy);\n }", "default String getOwnerId()\n {\n return Long.toUnsignedString(getOwnerIdLong());\n }", "public com.google.protobuf.ByteString\n getOwnerBytes() {\n java.lang.Object ref = owner_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b =\n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n owner_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "public com.google.protobuf.ByteString\n getOwnerBytes() {\n java.lang.Object ref = owner_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b =\n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n owner_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "public void setOwner(Owner owner) {\n this.owner = owner;\n }", "public String getOwner(){\n\t\treturn new SmartAPIModel().getCpOwner(cp.getLocalName());\n\t}", "User getOwner();", "@JsonGetter(\"owner\")\r\n public String getOwner() {\r\n return owner;\r\n }", "@objid (\"8b942215-f0a1-454e-9f8a-596315ee40d5\")\n Instance getOwner();", "final int GetOwner() {\n return owner;\n }", "com.google.protobuf.ByteString getOwner();", "com.google.protobuf.ByteString getOwner();", "public void setOwner(String newOwner) {\n\t\t_pcs.firePropertyChange(\"owner\", this.owner, newOwner); //$NON-NLS-1$\n\t\tthis.owner = newOwner;\n\t}", "public void setOwnerId(java.lang.String ownerId) {\r\n this.ownerId = ownerId;\r\n }", "public void setOwner(User owner) {\n this.owner = owner;\n }", "public synchronized static String getOwner() {\n return owner;\n }", "public void setOwner(Person owner)\n {\n this.owner = owner;\n }", "int getOwnerID();", "public String getOwnerHref() {\n return ownerHref;\n }", "String getHandOwner();", "public Owner getOwner() {\n return owner;\n }", "public String getDataOwner();", "public OwnerReference getOwnerReference() {\n return new OwnerReferenceBuilder()\n .withController(true)\n .withApiVersion(getApiVersion())\n .withKind(getKind())\n .withName(getMetaName())\n .withUid(getMetadata().getUid())\n .build();\n }", "public Owner getOwner()\n {\n return owner;\n }", "public void setOwner(com.sforce.soap.enterprise.sobject.SObject owner) {\r\n this.owner = owner;\r\n }", "public int getOwnerID() {\r\n\t\treturn ownerID;\r\n\t}", "@java.lang.Override\n public com.google.protobuf.ByteString\n getOwnerBytes() {\n java.lang.Object ref = owner_;\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 owner_ = 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 getOwnerBytes() {\n java.lang.Object ref = owner_;\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 owner_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "public final String getOwnerNameWithoutPackage() {\n return ElementUtils.getDeclaringClassNameWithoutPackage(node);\n }", "public String getOwnerType() {\n\t\treturn ownerType;\n\t}" ]
[ "0.74065536", "0.73466945", "0.73466945", "0.7311053", "0.7311053", "0.7311053", "0.7311053", "0.7263259", "0.7213029", "0.7118967", "0.7112759", "0.7107489", "0.70584834", "0.7019887", "0.70074487", "0.69962007", "0.698706", "0.69788957", "0.697594", "0.69668484", "0.69505423", "0.69505423", "0.6945902", "0.691211", "0.691211", "0.691211", "0.691211", "0.691211", "0.691211", "0.6911764", "0.6885357", "0.6854573", "0.6781322", "0.6775824", "0.6748939", "0.6729221", "0.6698837", "0.6697248", "0.66964847", "0.66933", "0.66756", "0.66747534", "0.6647751", "0.66408736", "0.6621013", "0.6601264", "0.65922177", "0.6558556", "0.6543966", "0.6501517", "0.6477338", "0.6476864", "0.6453348", "0.6451658", "0.6423627", "0.63971823", "0.63694674", "0.6367561", "0.6364921", "0.6364921", "0.6360787", "0.6343424", "0.63428575", "0.63074654", "0.63074654", "0.62923425", "0.6279634", "0.6279634", "0.6277894", "0.6266074", "0.626146", "0.62493145", "0.62493145", "0.62283397", "0.62242776", "0.6219216", "0.6211749", "0.6209155", "0.6198026", "0.61691684", "0.61691684", "0.6168147", "0.6161632", "0.6144825", "0.6106978", "0.6105473", "0.61036485", "0.6099844", "0.60854083", "0.6080756", "0.6066904", "0.60624945", "0.60612667", "0.59760445", "0.59749985", "0.59659946", "0.59659946", "0.5952078", "0.5927696" ]
0.75407934
0
Short alias or acronym of the owner of the node string owner = 1;
com.google.protobuf.ByteString getOwnerBytes();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "java.lang.String getOwner();", "java.lang.String getOwner();", "public void setOwner (String owner) {\n\t\tthis.owner=owner;\n\t}", "String getOwner();", "String getOwner();", "public void setOwner(String owner) {\n this.owner = owner;\n }", "public void setOwner(String owner) {\n this.owner = owner;\n }", "public void setOwner(String owner) {\n this.owner = owner;\n }", "public void setOwner(String owner) {\n this.owner = owner;\n }", "public String getOwner();", "@DISPID(33)\r\n\t// = 0x21. The runtime will prefer the VTID if present\r\n\t@VTID(38)\r\n\tjava.lang.String owner();", "public String getOwner() {\r\n if (mOwner==null) {\r\n return \"n/a\";\r\n }\r\n return mOwner;\r\n }", "void setOwner(String owner);", "public String getOwner() { return owner; }", "public String getownerName() {\n\t return this.ownerName;\n\t}", "public void setOwner(String owner) {\n mOwner = owner;\n }", "public String getOwner(){\n return owner;\r\n }", "@DISPID(75)\r\n\t// = 0x4b. The runtime will prefer the VTID if present\r\n\t@VTID(73)\r\n\tjava.lang.String owner();", "public String getOwner() {\r\n return owner;\r\n }", "public String getOwner() {\r\n\t\treturn owner;\r\n\t}", "@Override\n\t\tpublic String ownerName() {\n\t\t\treturn \"Cat Owner\";\n\t\t}", "public void setOwner(String owner) {\r\n this.owner = owner == null ? null : owner.trim();\r\n }", "public void setOwner(String owner) {\n this.owner = owner == null ? null : owner.trim();\n }", "public void setOwner(String owner) {\n this.owner = owner == null ? null : owner.trim();\n }", "public String getOwnerName() {\r\n return this.ownerName;\r\n }", "public String getOwner() {\n return owner;\n }", "public String getOwner() {\n return owner;\n }", "public String getOwner() {\n return owner;\n }", "public String getOwner() {\n return owner;\n }", "public String getOwner() {\n return owner;\n }", "public String getOwner() {\n return owner;\n }", "@Column(name=\"owner\")\n\tpublic String getOwner() {\n\t\treturn owner;\n\t}", "public String getOwner() {\n\n return owner;\n\n }", "public String owner() {\n return this.owner;\n }", "@Override\n\t\tpublic String ownerName() {\n\t\t\treturn \"Tiger Owner\";\n\t\t}", "public String ownerName() {\n\t\t\treturn null;\n\t\t}", "public void changeOwner(String o){\n owner = o;\r\n }", "Optional<String> getOwner();", "public String getOwner() {\n\n return Owner;\n }", "public String getOwnerName() {\r\n\t\treturn ownerName;\r\n\t}", "public void setOwnerName(String name) {\r\n this.ownerName = name;\r\n }", "public String getOwner() {\n return mOwner;\n }", "@Override\n\t\tpublic String ownerName() {\n\t\t\treturn \"Dog Owner\";\n\t\t}", "public void setOwner(String mOwner) {\r\n this.mOwner = mOwner;\r\n }", "public void setOwner(int owner) { this.owner = owner; }", "public java.lang.String getOwnername() {\n\treturn ownername;\n}", "public String getOwnerName() {\n\t\treturn ownerName;\n\t}", "public void setownerName(String ownerName) {\n\t this.ownerName = ownerName;\n\t}", "public String getOwnerName() {\n\n return ownerName;\n }", "public void setOwnerName( String name ) {\n\n ownerName = name;\n }", "public void setOwnerString(String s) {\n ownerString = s;\r\n }", "public void setOwnername(java.lang.String newOwnername) {\n\townername = newOwnername;\n}", "public java.lang.String getOwner() {\n java.lang.Object ref = owner_;\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 owner_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getOwner() {\n java.lang.Object ref = owner_;\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 owner_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public long getOwner() {\n\t\treturn owner;\n\t}", "public final String getOwnerName() {\n return ElementUtils.getDeclaringClassName(node);\n }", "@Column (name=\"OWNER\", insertable = true, updatable = false)\r\n\tpublic String getOwner() {\r\n\t\treturn owner;\r\n\t}", "public synchronized void setOwner(String s) {\n owner = s;\n }", "public java.lang.String getOwnerId() {\r\n return ownerId;\r\n }", "public String getOwnerId() {\n return ownerId;\n }", "public void setOwnerName(String ownerName) {\r\n\t\tthis.ownerName = ownerName;\r\n\t}", "public void setOwnerName(String ownerName) {\r\n\t\tthis.ownerName = ownerName;\r\n\t}", "public void setOwnerId(String ownerId) {\n this.ownerId = ownerId;\n }", "@java.lang.Override\n public java.lang.String getOwner() {\n java.lang.Object ref = owner_;\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 owner_ = s;\n return s;\n }\n }", "@java.lang.Override\n public java.lang.String getOwner() {\n java.lang.Object ref = owner_;\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 owner_ = s;\n return s;\n }\n }", "public Builder setOwner(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n\n owner_ = value;\n onChanged();\n return this;\n }", "public Builder setOwner(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n\n owner_ = value;\n onChanged();\n return this;\n }", "@JsonSetter(\"owner\")\r\n public void setOwner(String owner) {\r\n this.owner = owner;\r\n }", "public UUID getOwner() {\n return owner;\n }", "public UUID getOwner() {\n return owner;\n }", "public interface Owner {\n\n /**\n * Returns the unique owner ID of this object. This ID is used to separate\n * different owners from each other.\n * \n * @return the unique owner ID\n */\n int getOwnerID();\n\n /**\n * @return a descriptive name of the owner (for printing, debugging, etc.)\n */\n String getName();\n\n}", "public String getOwnerString() {\n return String.valueOf(enteredBy);\n }", "default String getOwnerId()\n {\n return Long.toUnsignedString(getOwnerIdLong());\n }", "public com.google.protobuf.ByteString\n getOwnerBytes() {\n java.lang.Object ref = owner_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b =\n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n owner_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "public com.google.protobuf.ByteString\n getOwnerBytes() {\n java.lang.Object ref = owner_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b =\n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n owner_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "public void setOwner(Owner owner) {\n this.owner = owner;\n }", "public String getOwner(){\n\t\treturn new SmartAPIModel().getCpOwner(cp.getLocalName());\n\t}", "User getOwner();", "@JsonGetter(\"owner\")\r\n public String getOwner() {\r\n return owner;\r\n }", "@objid (\"8b942215-f0a1-454e-9f8a-596315ee40d5\")\n Instance getOwner();", "final int GetOwner() {\n return owner;\n }", "com.google.protobuf.ByteString getOwner();", "com.google.protobuf.ByteString getOwner();", "public void setOwner(String newOwner) {\n\t\t_pcs.firePropertyChange(\"owner\", this.owner, newOwner); //$NON-NLS-1$\n\t\tthis.owner = newOwner;\n\t}", "public void setOwnerId(java.lang.String ownerId) {\r\n this.ownerId = ownerId;\r\n }", "public void setOwner(User owner) {\n this.owner = owner;\n }", "public synchronized static String getOwner() {\n return owner;\n }", "public void setOwner(Person owner)\n {\n this.owner = owner;\n }", "int getOwnerID();", "public String getOwnerHref() {\n return ownerHref;\n }", "String getHandOwner();", "public Owner getOwner() {\n return owner;\n }", "public String getDataOwner();", "public OwnerReference getOwnerReference() {\n return new OwnerReferenceBuilder()\n .withController(true)\n .withApiVersion(getApiVersion())\n .withKind(getKind())\n .withName(getMetaName())\n .withUid(getMetadata().getUid())\n .build();\n }", "public Owner getOwner()\n {\n return owner;\n }", "public void setOwner(com.sforce.soap.enterprise.sobject.SObject owner) {\r\n this.owner = owner;\r\n }", "public int getOwnerID() {\r\n\t\treturn ownerID;\r\n\t}", "@java.lang.Override\n public com.google.protobuf.ByteString\n getOwnerBytes() {\n java.lang.Object ref = owner_;\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 owner_ = 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 getOwnerBytes() {\n java.lang.Object ref = owner_;\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 owner_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "public final String getOwnerNameWithoutPackage() {\n return ElementUtils.getDeclaringClassNameWithoutPackage(node);\n }", "public String getOwnerType() {\n\t\treturn ownerType;\n\t}" ]
[ "0.75407934", "0.75407934", "0.74065536", "0.73466945", "0.73466945", "0.7311053", "0.7311053", "0.7311053", "0.7311053", "0.7263259", "0.7213029", "0.7118967", "0.7112759", "0.7107489", "0.70584834", "0.7019887", "0.70074487", "0.69962007", "0.698706", "0.69788957", "0.697594", "0.69668484", "0.69505423", "0.69505423", "0.6945902", "0.691211", "0.691211", "0.691211", "0.691211", "0.691211", "0.691211", "0.6911764", "0.6885357", "0.6854573", "0.6781322", "0.6775824", "0.6748939", "0.6729221", "0.6698837", "0.6697248", "0.66964847", "0.66933", "0.66756", "0.66747534", "0.6647751", "0.66408736", "0.6621013", "0.6601264", "0.65922177", "0.6558556", "0.6543966", "0.6501517", "0.6477338", "0.6476864", "0.6453348", "0.6451658", "0.6423627", "0.63971823", "0.63694674", "0.6367561", "0.6364921", "0.6364921", "0.6360787", "0.6343424", "0.63428575", "0.63074654", "0.63074654", "0.62923425", "0.6279634", "0.6279634", "0.6277894", "0.6266074", "0.626146", "0.62493145", "0.62493145", "0.62283397", "0.62242776", "0.6219216", "0.6211749", "0.6209155", "0.6198026", "0.61691684", "0.61691684", "0.6168147", "0.6161632", "0.6144825", "0.6106978", "0.6105473", "0.61036485", "0.6099844", "0.60854083", "0.6080756", "0.6066904", "0.60624945", "0.60612667", "0.59760445", "0.59749985", "0.59659946", "0.59659946", "0.5952078", "0.5927696" ]
0.0
-1
Node index within the owner's nodes. Must be 1, 2, or 3 int32 index = 2;
int getIndex();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public long getNodeIndex();", "public int getNodeIndexAt(int index)\n {\n if (index < 0 || index > 1)\n {\n throw new IllegalArgumentException();\n }\n \n return this.nodeList[index];\n }", "entities.Torrent.NodeId getNodes(int index);", "public NodeExpr index()\n\t{\n\t\treturn _index;\n\t}", "io.netifi.proteus.admin.om.Node getNodes(int index);", "int node(final int index) {\r\n\t\tif (index < (size >> 1)) {\r\n\t\t\tint x = first;\r\n\t\t\tfor (long l = 0; l < index; l++) {\r\n\t\t\t\tx = getNextPointer(x);\r\n\t\t\t}\r\n\t\t\treturn x;\r\n\t\t} else {\r\n\t\t\tint x = last;\r\n\t\t\tfor (int i = size - 1; i > index; i--) {\r\n\t\t\t\tx = getPrevPointer(x);\r\n\t\t\t}\r\n\t\t\treturn x;\r\n\t\t}\r\n\t}", "private int getIndex(Entity entity){\n int currentIndex = 0;\n\n for(QuadTree node: this.getNodes()){\n\n /*PhysicsComponent bp = (PhysicsComponent)entity.getProperty(PhysicsComponent.ID);\n if( node.getBounds().contains(bp.getBounds())){\n return currentIndex;\n }*/\n currentIndex++;\n }\n return -1; // Subnode not found (part of the root then)\n }", "public int getIndex(){\r\n \treturn index;\r\n }", "private static int getNodeIndex(int index, int depth) {\n return (index >>> depth) & 0x1F;\n }", "private static String findNode(int index){\n return indexTable.get(index);\n }", "public ListNode findIndexNode(int index)\n {\n //should probably hande this by throwing an exception when head == null rather than using the if statement.\n if (head != null)\n {\n int counter = 0;\n ListNode iteratorNode = head;\n do\n { \n if (counter + 1 == index)\n {\n return iteratorNode;\n }\n if (iteratorNode.getNext() != null)\n {\n iteratorNode = iteratorNode.getNext();\n counter++;\n }\n } while(counter + 1 <= size);\n }\n return head;\n }", "public abstract int getNeighboursNumber(int index);", "public int indexNode(Node node) {\n if (!isEdge()) {\n return -1;\n }\n for (int i = 0; i < nbNode(); i++) {\n if (node.same(getNode(i))) {\n return i;\n }\n }\n return -1;\n }", "public int getIndex(TreeNode node) { \n for (int i=0; i<data.length; i++) \n if (data[i].equals(node)) return i; \n return -1; \n }", "public int getIndex(){\n\t\treturn index;\n\t}", "public int getIndex(){\n\t\treturn index;\n\t}", "public int getIndex(){\n\t\treturn index;\n\t}", "public int getIndex() {\r\n \t\t\treturn index;\r\n \t\t}", "public int getIndex(\n )\n {return index;}", "public int getIndex() {\n \t\treturn index;\n \t}", "private int parent(int index) {\n return index / 2;\n }", "private int parent(int index) {\n return index / 2;\n }", "public int getIndex(){\n return index;\n }", "public int getIndex(){\n return index;\n }", "private Node findNode(int index){\n Node current = start;\n for(int i = 0; i < index; i++){\n current = current.getNext();\n }\n return current;\n }", "public final int getIndex(){\n return index_;\n }", "int getIndex() {\n\t\treturn index;\n\t}", "public int getIndex()\n {\n return index;\n }", "public int getIndexNumber(){\n return id;\r\n }", "public int getOwnIndex() throws RemoteException {\r\n return ownIndex;\r\n }", "@Override public long nodeIndex() {\n throw new UnsupportedOperationException(\"Unsupported operation\");\n }", "public int getIndex() {\n return index;\n }", "public int getIndex() { return this.index; }", "int getIndex(){\r\n\t\treturn index;\r\n\t}", "@Override\r\n\tpublic int getIndex() {\n\t\treturn index;\r\n\t}", "private int getIndex() {\n\t\treturn this.index;\r\n\t}", "public int getIndex() {\r\n\t\treturn index;\r\n\t}", "public int getIndex()\n {\n return index;\n }", "entities.Torrent.NodeIdOrBuilder getNodesOrBuilder(\n int index);", "public int getIndex() {\r\n return index;\r\n }", "private int parentIdx(int idx) {\r\n // TODO\r\n return -1;\r\n }", "private int get_parent(int index){\r\n return (index-1)/2;\r\n }", "private Node getNodeAt(int index) {\n\t\tNode node = head;\n\t\t// follow the links between nodes until it counts off the right number\n\t\tfor (int i = 0; i < index; i++) {\n\t\t\tif (node == null) {\n\t\t\t\t// In case we run out of nodes before we get up to the desired index, return null\n\t\t\t\treturn null;\n\t\t\t}\n\t\t\tnode = node.getNext();\n\t\t}\n\t\treturn node;\n\t}", "public int getIndex() {\r\n return _index;\r\n }", "public int getIndex() {\r\n return _index;\r\n }", "public int getIndex() {\n\t\treturn index;\n\t}", "public int getIndex() {\n\t\treturn index;\n\t}", "public int getIndex() {\n\t\treturn index;\n\t}", "protected abstract int applyGetIndex(CControlManager mgr, CDasherNode node);", "@Override public int getNodeId(String name) {\n\t\tint id = node_index_.tryGet(name);\n\t\tif (id == -1) System.err.println(\"Unknown node name=\" + name);\n\t\treturn id;\n\t}", "private int getParentOf(int index) {\n // TODO: YOUR CODE HERE\n return index / 2;\n }", "protected final int getIndex() {\n return index;\n }", "public int getPlayerIndexOfOwner() {\n\t\tif (this.settlement == null) {\n\t\t\tif (this.city == null) {\n\t\t\t\treturn -1;\n\t\t\t}\n\t\t\telse {\n\t\t\t\treturn this.city.getPlayerIndex();\n\t\t\t}\n\t\t}\n\t\telse {\n\t\t\treturn this.settlement.getPlayerIndex();\n\t\t}\n\t}", "public int getIndex() {\n return index;\n }", "public int getIndex() {\n return index;\n }", "public int getIndex() {\n return index;\n }", "public int getIndex() {\n return index;\n }", "public int getIndex() {\n return index;\n }", "public int getIndex()\n {\n return m_index;\n }", "private ListNode nodeAt(int index) {\n\t\tListNode current = front;\n\t\tfor (int i = 0; i < index; i++) {\n\t\t\tcurrent = current.next;\n\t\t}\n\t\treturn current;\n\t}", "public int getIndex() {\n return index;\n }", "public int index();", "public abstract TreeNode getNode(int i);", "private int getIndex(int u) {\n int ind = -1;\n for (int i = 0; i < getGraphRep().size(); i++) {\n ArrayList subList = getGraphRep().get(i);\n String temp = (String) subList.get(0);\n int vert = Integer.parseInt(temp);\n if (vert == u) {\n ind = i;\n }\n }\n return ind;\n }", "public int getIndex() {\n\t\treturn 0;\n\t}", "private int getIndex(T target) {\r\n for (int i = 0; i < SIZE; i++) {\r\n if (tree[i] == target) {\r\n return i;\r\n }\r\n }\r\n return -1;\r\n }", "public Integer getIndex() {\n return index;\n }", "public int index() {\n\t\treturn this.index;\n\t}", "private Node<T> find(int index) throws IndexException {\n if (!isValid(index)) {\n throw new IndexException();\n }\n\n Node<T> node = head;\n int counter = 0;\n while (node != null && counter < index) {\n node = node.next;\n counter = counter + 1;\n }\n return node;\n }", "@Override\n public final int getIndex() {\n return index;\n }", "public abstract int getIndex();", "public int getIndex();", "public int getIndex();", "public int getIndex();", "public final Integer indexInParent() {\n Container p = getParent();\n return p==null ? null : p.indexOf(this);\n }", "public Integer index() {\n return this.index;\n }", "private int vertexIndex(T obj){\n for (int i = 0; i < n; i++){\n if (obj.equals(vertices[i])){\n return i;\n }\n }\n return NOT_FOUND;\n }", "int index();", "protected Node<U> getNodeAtIndex(int index) {\n\t\t\tNode<U> currNode;\n\n\t\t\tif (index < Math.ceil(mLength / 2)) {\n\t\t\t\tcurrNode = mHead;\n\t\t\t\tfor (int i = 0; i < index; ++i) {\n\t\t\t\t\tcurrNode = currNode.getNext();\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tcurrNode = mTail;\n\t\t\t\tfor (int i = mLength - 1; i > index; --i) {\n\t\t\t\t\tcurrNode = currNode.getPrev();\n\t\t\t\t}\n\t\t\t}\n\n\t\t\treturn currNode;\n\t\t}", "private Node find(int index)\n {\n Node curr = head;\n for(int i = 0; i < index; i++)\n {\n curr = curr.next;\n }\n return curr;\n }", "public int getIndex() {\n return index_;\n }", "public int getIndex() {\n return index_;\n }", "public int getIndex() {\n return index_;\n }", "public int getIndex() {\n return index_;\n }", "public int getIndex() {\n return index_;\n }", "public int getIndex() {\n return index_;\n }", "private Node getNth(int index) \n { \n int currIndex = 0;\n Node currNode = this.head.next;\n while(currIndex < index)\n {\n currNode = currNode.getNext();\n currIndex++;\n }\n return currNode;\n }", "private int getRoot(int index) {\n while(index < nodes.length && index != nodes[index]) {\n index = nodes[index];\n }\n return nodes[index];\n }" ]
[ "0.7500443", "0.68688774", "0.6756237", "0.67194885", "0.65622145", "0.65495247", "0.654598", "0.6371059", "0.6346452", "0.63256186", "0.631888", "0.6302094", "0.6295798", "0.6287246", "0.62847424", "0.62847424", "0.62847424", "0.6279708", "0.6261193", "0.6251442", "0.6242739", "0.6242739", "0.6241857", "0.6241857", "0.6208733", "0.6206022", "0.62011683", "0.6183654", "0.61591274", "0.61529624", "0.6147137", "0.6143392", "0.6141713", "0.6135582", "0.61225814", "0.61166406", "0.6107651", "0.6104165", "0.61005926", "0.60946685", "0.60822815", "0.60812014", "0.6074412", "0.6068814", "0.6068814", "0.6063961", "0.6063961", "0.6063961", "0.6060916", "0.6053954", "0.6040153", "0.6031262", "0.6022122", "0.60192233", "0.60192233", "0.60192233", "0.60192233", "0.60192233", "0.6015835", "0.600992", "0.59980476", "0.5992838", "0.5992139", "0.59911066", "0.5983856", "0.5981232", "0.5947162", "0.5941781", "0.5940249", "0.59331936", "0.5924577", "0.59192735", "0.59192735", "0.59192735", "0.5912432", "0.5905022", "0.5899277", "0.58960223", "0.589121", "0.58909345", "0.5889975", "0.5889975", "0.5889975", "0.5889975", "0.5889975", "0.5889975", "0.58897495", "0.58852684" ]
0.59101737
87
The port on which the node is listening for connections int32 port = 3;
int getPort();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public int getPort() { return port; }", "Integer listeningPort();", "public int getPort() {\n return port;\n }", "public int getPort() {\n return port;\n }", "public int getPort() {\n return port;\n }", "public int getPort() {\n return port;\n }", "public int getPort() {\n return port;\n }", "default Object port() {\n return metadata().get(\"server-port\");\n }", "public int getPort() {\r\n return port;\r\n }", "public int getPort() {\r\n return port;\r\n }", "public int getPort() {\r\n return port;\r\n }", "int getPort()\n {\n return port;\n }", "public int getPort() {\n return port_;\n }", "public int getPort() {\n return port_;\n }", "public int getPort() {\n return port_;\n }", "public int getPort() {\n return port_;\n }", "public int getPort() {\n return port;\n }", "public int getPort() {\n return port;\n }", "public int getPort()\n {\n return port;\n }", "public int getPort();", "public int getPort();", "public int getPort();", "public Integer getPort() {\n return port;\n }", "public int getPort() {\n return port;\n }", "public int getPort() {\n return port;\n }", "public int getPort() {\n return port;\n }", "public int getPort() {\n return port;\n }", "public int getPort() {\n return port;\n }", "public int getPort() {\n return port;\n }", "public int getPort() {\n return port;\n }", "public int getPort() {\n return port;\n }", "public int getPort () {\n return port;\n }", "int getPort() {\n return port;\n }", "public int getPort() {\n \t\treturn port;\n \t}", "public int getPort() {\n \t\treturn port;\n \t}", "public Integer port() {\n return this.port;\n }", "public Integer port() {\n return this.port;\n }", "public static int getPort() {\n return port;\n }", "public int getPort() {\n return port_;\n }", "public int getPort() {\n return port_;\n }", "public int getPort() {\n return port_;\n }", "public int getPort() {\n return port_;\n }", "public int getPort() {\n return port_;\n }", "public int getPort() {\n return port_;\n }", "default int getPort() {\n return getServer().getPort();\n }", "public int getPort()\n {\n return port;\n }", "public int getPort(){\n\treturn port;\n }", "public int getPort()\n\t{\n\t\treturn port;\n\t}", "public int getPort()\n\t{\n\t\treturn port;\n\t}", "public int getPort() {\n return this.port;\n }", "public Integer getPort() {\n return port;\n }", "public Integer getPort() {\n return port;\n }", "public int getPort()\n {\n return _nodeVRL.getPort(); \n }", "public int getPort() {\r\n\t\treturn port;\r\n\t}", "public int getPort() {\r\n\t\treturn port;\r\n\t}", "int serverPort ();", "public int getPort(){\n return port;\n }", "public int getPort() {\n\t\treturn port;\n\t}", "public int getPort() {\n\t\treturn port;\n\t}", "public int getPort() {\n\t\treturn port;\n\t}", "public int getPort() {\n\t\treturn port;\n\t}", "public int getPort() {\n\t\treturn port;\n\t}", "public int getPort() {\n return this.port;\n }", "public int getPort(){\n\t\treturn this.port;\n\t}", "public int getServerPortNumber(){\n return this.serverPortNumber;\n }", "public int getServerPort(){\n\t\treturn serverPort; \n\t}", "@java.lang.Override\n public int getPort() {\n return port_;\n }", "@java.lang.Override\n public int getPort() {\n return port_;\n }", "public int getPortNumber (){\r\n\t\treturn portNumber;\r\n\t}", "public Integer getPort() {\n return this.port;\n }", "@Override\n\tpublic Integer getPort() {\n\t\treturn port;\n\t}", "public int getPortNumber() {\n return portNumber;\n }", "public int getPortNumber() {\n return portNumber;\n }", "public static int getPort(){\n return catalogue.port;\n }", "@java.lang.Override\n public int getPort() {\n return port_;\n }", "@java.lang.Override\n public int getPort() {\n return port_;\n }", "public static String getPort() {\n\t\treturn port;\r\n\t}", "public Integer getServerport() {\n return serverport;\n }", "public int getPort ()\n {\n return thisPort;\n }", "public String getPort(){\n return port;\n }", "public int getServerPort() {\n return serverPort;\n }", "public int getPort() {\n/* 122 */ return ((TCPEndpoint)this.ep).getPort();\n/* */ }", "public int getPort( ) {\n\t\treturn port;\n\t}", "public long getPortNumber() {\n return portNumber;\n }", "public static int getServerPort(){\n return thisServer.getPort();\n }", "public static int getServerPort() {\n return serverPort;\n }", "public int getPort() {\n return instance.getPort();\n }", "public int getPort() {\n return instance.getPort();\n }" ]
[ "0.8138145", "0.8053881", "0.79897994", "0.79897994", "0.79897994", "0.79897994", "0.79897994", "0.79708135", "0.7956499", "0.7956499", "0.7956499", "0.79393137", "0.79379064", "0.79379064", "0.79379064", "0.79379064", "0.79337215", "0.79337215", "0.79178256", "0.790876", "0.790876", "0.790876", "0.78922004", "0.78871065", "0.78871065", "0.78871065", "0.78871065", "0.78871065", "0.78871065", "0.78871065", "0.78871065", "0.7879909", "0.78779566", "0.7868307", "0.7868307", "0.7858395", "0.7858395", "0.7857214", "0.78537107", "0.78537107", "0.78537107", "0.78537107", "0.78537107", "0.78537107", "0.7848039", "0.7837833", "0.7825301", "0.78211087", "0.78211087", "0.78128356", "0.78119373", "0.78119373", "0.7783778", "0.7771697", "0.7771697", "0.7745402", "0.7729624", "0.77273095", "0.77273095", "0.77273095", "0.77273095", "0.77273095", "0.7726471", "0.7713943", "0.77134323", "0.76752967", "0.76641196", "0.76633394", "0.76400995", "0.7633266", "0.7632279", "0.7604842", "0.7604842", "0.7596168", "0.7548483", "0.7548483", "0.7547908", "0.7513233", "0.74595904", "0.74545825", "0.7450155", "0.74319094", "0.7428527", "0.7424341", "0.7417287", "0.74172705", "0.74124265", "0.74124265" ]
0.76321834
83
Use RegistrationRequest.newBuilder() to construct.
private RegistrationRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { super(builder); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "entities.Torrent.RegistrationRequestOrBuilder getRegistrationRequestOrBuilder();", "public entities.Torrent.RegistrationRequestOrBuilder getRegistrationRequestOrBuilder() {\n if (registrationRequestBuilder_ != null) {\n return registrationRequestBuilder_.getMessageOrBuilder();\n } else {\n return registrationRequest_ == null ?\n entities.Torrent.RegistrationRequest.getDefaultInstance() : registrationRequest_;\n }\n }", "public entities.Torrent.RegistrationRequest getRegistrationRequest() {\n if (registrationRequestBuilder_ == null) {\n return registrationRequest_ == null ? entities.Torrent.RegistrationRequest.getDefaultInstance() : registrationRequest_;\n } else {\n return registrationRequestBuilder_.getMessage();\n }\n }", "public Builder setRegistrationRequest(entities.Torrent.RegistrationRequest value) {\n if (registrationRequestBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n registrationRequest_ = value;\n onChanged();\n } else {\n registrationRequestBuilder_.setMessage(value);\n }\n\n return this;\n }", "@java.lang.Override\n public entities.Torrent.RegistrationRequestOrBuilder getRegistrationRequestOrBuilder() {\n return getRegistrationRequest();\n }", "private RegisterRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "private RequestRegister(com.google.protobuf.GeneratedMessage.Builder<?> builder) {\n super(builder);\n this.unknownFields = builder.getUnknownFields();\n }", "@java.lang.Override\n public entities.Torrent.RegistrationRequest getRegistrationRequest() {\n return registrationRequest_ == null ? entities.Torrent.RegistrationRequest.getDefaultInstance() : registrationRequest_;\n }", "public static void register(GCMRegistrationRequest request,\n APIResponseHandler<GenericSuccessModel> response) {\n\n APIConnection.send(API_PATH + \"register\", request, GenericSuccessModel.class, response);\n }", "public Builder mergeRegistrationRequest(entities.Torrent.RegistrationRequest value) {\n if (registrationRequestBuilder_ == null) {\n if (registrationRequest_ != null) {\n registrationRequest_ =\n entities.Torrent.RegistrationRequest.newBuilder(registrationRequest_).mergeFrom(value).buildPartial();\n } else {\n registrationRequest_ = value;\n }\n onChanged();\n } else {\n registrationRequestBuilder_.mergeFrom(value);\n }\n\n return this;\n }", "private RegistrationResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "public Register.Req getRegisterReq() {\n if (reqCase_ == 7) {\n return (Register.Req) req_;\n }\n return Register.Req.getDefaultInstance();\n }", "public entities.Torrent.RegistrationRequest.Builder getRegistrationRequestBuilder() {\n\n onChanged();\n return getRegistrationRequestFieldBuilder().getBuilder();\n }", "entities.Torrent.RegistrationRequest getRegistrationRequest();", "private com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.RegistrationRequest, entities.Torrent.RegistrationRequest.Builder, entities.Torrent.RegistrationRequestOrBuilder>\n getRegistrationRequestFieldBuilder() {\n if (registrationRequestBuilder_ == null) {\n registrationRequestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.RegistrationRequest, entities.Torrent.RegistrationRequest.Builder, entities.Torrent.RegistrationRequestOrBuilder>(\n getRegistrationRequest(),\n getParentForChildren(),\n isClean());\n registrationRequest_ = null;\n }\n return registrationRequestBuilder_;\n }", "entities.Torrent.RegistrationResponseOrBuilder getRegistrationResponseOrBuilder();", "private void createRequest() {\n GoogleSignInOptions gso = new GoogleSignInOptions.Builder(GoogleSignInOptions.DEFAULT_SIGN_IN)\n .requestIdToken(getString(default_web_client_id))\n .requestEmail()\n .build();\n\n mGoogleSignInClient = GoogleSignIn.getClient(Signup.this, gso);\n\n\n }", "public byte[] createRegistrationRequestPacket(RegistrationType regoType){\n byte[] header = createHeader(REGISTRATION_REQUEST);\n byte[] body = new byte[REGISTRATION_REQUEST.getLength()];\n addFieldToByteArray(body, REGISTRATION_REQUEST_TYPE, regoType.value());\n return generatePacket(header, body);\n }", "private RegistryRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "@Override\n public RegisterBO register(UserRequest userRequest) {\n User user = new User().with(u -> u.email = userRequest.getEmail())\n .with(u -> u.username = userRequest.getEmail())\n .with(u -> u.preferredLanguages.add(new Locale(\"es\", \"CL\")))//TODO: revisar mas adelante\n .with(u -> u.password = userRequest.getPassword())\n .with(u -> u.fullName = userRequest.getFullName());\n if (userRequest.getPhone() != null)\n user.with(u -> u.mobilePhone = userRequest.getPhone().trim());\n\n // Se inicia el registro de usuario y objecto request\n UserRegistration registration = new UserRegistration();\n registration.applicationId = UUID.fromString(aplicationId);\n registration.verified = false;\n\n RegistrationRequest request = new RegistrationRequest(user, registration);\n\n // Uso el objeto ClientResponse para capturar respuesta\n ClientResponse<RegistrationResponse, Errors> response = getFusionAuthClient.register(null, request);\n\n // Traducto respuesta segun exito o error\n return registerTranslate.translate(response);\n }", "private RegisterResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "public Builder setRegistrationRequest(\n entities.Torrent.RegistrationRequest.Builder builderForValue) {\n if (registrationRequestBuilder_ == null) {\n registrationRequest_ = builderForValue.build();\n onChanged();\n } else {\n registrationRequestBuilder_.setMessage(builderForValue.build());\n }\n\n return this;\n }", "public Builder setRegisterReq(Register.Req value) {\n copyOnWrite();\n instance.setRegisterReq(value);\n return this;\n }", "private void createRequest() {\n // Configure Google Sign In\n GoogleSignInOptions gso = new GoogleSignInOptions.Builder(GoogleSignInOptions.DEFAULT_SIGN_IN)\n .requestIdToken(getString(R.string.default_web_client_id))\n .requestEmail()\n .build();\n\n // Build a GoogleSignInClient with the options specified by gso.\n mGoogleSignInClient = GoogleSignIn.getClient(this, gso);\n }", "Register.Req getRegisterReq();", "public entities.Torrent.RegistrationResponse.Builder getRegistrationResponseBuilder() {\n\n onChanged();\n return getRegistrationResponseFieldBuilder().getBuilder();\n }", "UserRegistrationResponse registrationPost(RegistrationForm registrationForm);", "public Builder clearRegistrationRequest() {\n if (registrationRequestBuilder_ == null) {\n registrationRequest_ = null;\n onChanged();\n } else {\n registrationRequest_ = null;\n registrationRequestBuilder_ = null;\n }\n\n return this;\n }", "@PostMapping(\"/signup\")\n public ResponseEntity<?> registerUser(@RequestBody RegistrationRequest registrationRequest){\n return userService.registerUser(registrationRequest);\n }", "private void sendRegistrationRequestToServer() {\r\n\t\tnew ServerAsyncTask(ApplicationConstant.appurl\r\n\t\t\t\t+ ApplicationConstant.registrationRequestType + \"&userid=62\"\r\n\t\t\t\t+ \"&email=\" + emailAddress.getText().toString().trim()\r\n\t\t\t\t+ \"&firstname=\" + firstName.getText().toString().trim()\r\n\t\t\t\t+ \"&lastname=\" + lastName.getText().toString().trim()\r\n\t\t\t\t+ \"&password=\" + password.getText().toString().trim()\r\n\t\t\t\t+ \"&roles=1\" + \"access=20\", context, new ResponseCallback() {\r\n\r\n\t\t\t@Override\r\n\t\t\tpublic void onSuccessRecieve(Object object) {\r\n\r\n\t\t\t\tloadingProgress.setVisibility(View.GONE);\r\n\t\t\t\tshowToastMessage(\"Successfully register on app\");\r\n\t\t\t\tfinish();\r\n\t\t\t}\r\n\r\n\t\t\t@Override\r\n\t\t\tpublic void onErrorRecieve(Object object) {\r\n\r\n\t\t\t\tloadingProgress.setVisibility(View.GONE);\r\n\t\t\t\tshowToastMessage((String) object);\r\n\t\t\t}\r\n\t\t}, ApplicationConstant.registrationRequestType).execute();\r\n\r\n\t}", "public static RegisterRequest buildRegisterRequest(String userName, int age, String school, String[] interests) {\n RegisterRequest.Data registerRequestData = RegisterRequest.Data.builder()\n .userName(userName)\n .age(age)\n .school(school)\n .interests(interests)\n .build();\n return RegisterRequest.builder()\n .request(\"register\")\n .data(registerRequestData)\n .build();\n }", "private static Registrant makeNewRegistrantFromUserInput() {\n\t\tString input_name = getResponseTo(\"Enter registant's first and Last name: \");\r\n\t\tRegistrant new_Registrant = new Registrant(input_name);\r\n\t\treturn new_Registrant;\r\n\t}", "private void createRequest() {\n GoogleSignInOptions gso = new GoogleSignInOptions\n .Builder(GoogleSignInOptions.DEFAULT_SIGN_IN)\n .requestIdToken(getString(R.string.default_web_client_id))\n .requestEmail()\n .build();\n\n googleApiClient = new GoogleApiClient.Builder(this)\n .enableAutoManage(this, this)\n .addApi(Auth.GOOGLE_SIGN_IN_API, gso)\n .build();\n\n signInButton = (SignInButton) findViewById(R.id.sign_in_button);\n signInButton.setSize(SignInButton.SIZE_WIDE);\n signInButton.setColorScheme(signInButton.COLOR_DARK);\n signInButton.setOnClickListener((v) -> {\n Intent intent = Auth.GoogleSignInApi.getSignInIntent(googleApiClient);\n startActivityForResult(intent, SIGN_IN_CODE);\n });\n }", "private void creatRequest() {\n GoogleSignInOptions gso = new GoogleSignInOptions.Builder(GoogleSignInOptions.DEFAULT_SIGN_IN)\n .requestIdToken(getString(R.string.default_web_client_id)) //R.string.default_web_client_id需要將系統執行一次,讓他產生\n .requestEmail()\n .build();\n\n mGoogleSignInClient = GoogleSignIn.getClient(this,gso);\n }", "private void sendRegistrationRequest(AccountCredentials credentials) {\n final String url = API_BASE_URL + \"register/send\";\n\n GsonRequest<AuthenticationResponse> request = new GsonRequest<>(\n Request.Method.POST, url, credentials, AuthenticationResponse.class,\n\n new Response.Listener<AuthenticationResponse>() {\n\n @Override\n public void onResponse(AuthenticationResponse authenticationResponse) {\n Intent intent = new Intent(RegisterActivity.this, EmailNotConfirmedActivity.class);\n startActivity(intent);\n }\n },\n\n new Response.ErrorListener() {\n\n @Override\n public void onErrorResponse(VolleyError error) {\n HttpRequestHelper.handleErrorResponse(error.networkResponse, RegisterActivity.this);\n }\n });\n VolleyController.getInstance(this).addToRequestQueue(request);\n }", "public InquiryGrupomuscularRequest()\r\n\t{\r\n\r\n\t}", "@java.lang.Override\n public entities.Torrent.RegistrationResponseOrBuilder getRegistrationResponseOrBuilder() {\n return getRegistrationResponse();\n }", "public static RegisterResult register(RegisterRequest r) {\n\n User new_user = new User(UUID.randomUUID().toString(), r.userName, r.password, r.email,\n r.firstName, r.lastName, r.gender);\n\n RegisterResult result = new RegisterResult();\n\n User test_user = UserDao.getUser(r.userName);\n if (test_user != null && !test_user.userName.equals(\"\"))\n {\n result.message = \"Error: Username already taken by another user\";\n result.success = false;\n return result;\n }\n\n result.authToken = UUID.randomUUID().toString();\n AuthTokenDao.updateToken(r.userName, result.authToken);\n\n Person p = new Person(new_user.personID, r.userName, r.firstName, r.lastName, r.gender);\n PersonDao.addPerson(p);\n\n result.userName = r.userName;\n result.personID = new_user.personID;\n UserDao.addUser(new_user);\n\n // Generate 4 generations of ancestry\n GenerateData.generateGenerations(r.userName, 4);\n\n result.success = true;\n\n return result;\n }", "public entities.Torrent.RegistrationResponseOrBuilder getRegistrationResponseOrBuilder() {\n if (registrationResponseBuilder_ != null) {\n return registrationResponseBuilder_.getMessageOrBuilder();\n } else {\n return registrationResponse_ == null ?\n entities.Torrent.RegistrationResponse.getDefaultInstance() : registrationResponse_;\n }\n }", "public RegisterResponse register(RegisterRequest request) throws IOException {\n ClientCommunicator registerCommunicator = new ClientCommunicator(new RegisterStrategy());\n\n RegisterResponse response = (RegisterResponse) registerCommunicator.doWebRequest(request, null);\n\n if (response.getSuccess()) {\n User newUser = new User();\n newUser.setImageBytes(request.getImage());\n newUser.setAlias(request.getUsername());\n newUser.setLastName(request.getLastName());\n newUser.setFirstName(request.getFirstName());\n newUser.setFolloweeCount(0);\n newUser.setFollowerCount(0);\n newUser.setImageUrl(\"\");\n response.setUser(newUser);\n }\n\n return response;\n }", "private ResponseRegister(com.google.protobuf.GeneratedMessage.Builder<?> builder) {\n super(builder);\n this.unknownFields = builder.getUnknownFields();\n }", "private void register() {\n Intent registrationIntent = new Intent(REQUEST_REGISTRATION_INTENT);\n registrationIntent.setPackage(GSF_PACKAGE);\n registrationIntent.putExtra(\n EXTRA_APPLICATION_PENDING_INTENT, PendingIntent.getBroadcast(context, 0, new Intent(), 0));\n registrationIntent.putExtra(EXTRA_SENDER, senderId);\n context.startService(registrationIntent);\n }", "@POST\n @Path(\"/google\")\n @Consumes(\"application/x-www-form-urlencoded\")\n @Deprecated\n public RegistrationResult createGoogleUser(@FormParam(\"googleAuthToken\") String googleAuthToken,\n @FormParam(\"deviceRegId\") String deviceRegId) {\n\n return registerGoogle(googleAuthToken, deviceRegId);\n\n }", "public ChangeRegistrationResponse() {\r\n super(FunctionID.CHANGE_REGISTRATION.toString());\r\n }", "public RegistrationInfo getRegistrationInfo();", "@UpnpAction(out = {@UpnpOutputArgument(name = \"RegistrationRespMsg\", stateVariable = \"A_ARG_TYPE_RegistrationRespMsg\")})\n/* */ public byte[] registerDevice(@UpnpInputArgument(name = \"RegistrationReqMsg\", stateVariable = \"A_ARG_TYPE_RegistrationReqMsg\") byte[] registrationReqMsg) {\n/* 138 */ return new byte[0];\n/* */ }", "public entities.Torrent.RegistrationResponse getRegistrationResponse() {\n if (registrationResponseBuilder_ == null) {\n return registrationResponse_ == null ? entities.Torrent.RegistrationResponse.getDefaultInstance() : registrationResponse_;\n } else {\n return registrationResponseBuilder_.getMessage();\n }\n }", "com.bingo.server.msg.REQ.RegistryRequestOrBuilder getRegistryOrBuilder();", "public NewMemberRequest build() {\r\n return newMemberRequest;\r\n }", "public Builder setRegistrationResponse(entities.Torrent.RegistrationResponse value) {\n if (registrationResponseBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n registrationResponse_ = value;\n onChanged();\n } else {\n registrationResponseBuilder_.setMessage(value);\n }\n\n return this;\n }", "public UserRegisterResponse() {\n }", "@Nonnull\n RegisterUserDeviceTokenResponse registerUserDeviceToken(@Nonnull final RegisterUserDeviceTokenRequest request);", "public Builder setRegisterReq(\n Register.Req.Builder builderForValue) {\n copyOnWrite();\n instance.setRegisterReq(builderForValue);\n return this;\n }", "private void registration() {\n\t\tif (ur_name.getText().length() > 0 && email.getText().length() > 0\r\n\t\t\t\t&& pass.getText().length() > 0\r\n\t\t\t\t&& re_pass.getText().length() > 0) {\r\n\t\t\tif (pass.getText().toString()\r\n\t\t\t\t\t.equalsIgnoreCase(re_pass.getText().toString())) {\r\n\t\t\t\tString postEntity = \"user_name=\" + ur_name.getText().toString()\r\n\t\t\t\t\t\t+ \"&email=\" + email.getText().toString() + \"&password=\"\r\n\t\t\t\t\t\t+ pass.getText().toString() + \"&gcm_id=\"\r\n\t\t\t\t\t\t+ GlobalDeclares.getGcmId();\r\n\t\t\t\tnew ServerUtilities(getApplicationContext(),\r\n\t\t\t\t\t\tGlobalDeclares.NEW_REGISTRATION, postEntity, delegate);\r\n\r\n\t\t\t} else {\r\n\t\t\t\tToast.makeText(getApplicationContext(),\r\n\t\t\t\t\t\t\"Password does not match!\", Toast.LENGTH_LONG).show();\r\n\t\t\t}\r\n\r\n\t\t} else {\r\n\t\t\tToast.makeText(getApplicationContext(),\r\n\t\t\t\t\t\"You need to fill all the fields!\", Toast.LENGTH_LONG)\r\n\t\t\t\t\t.show();\r\n\t\t}\r\n\r\n\t}", "public void register(RegistrationData d) {}", "public void signUpUser(RegistrationRequest request) {\n String requestEmail = request.getEmail();\n\n // sign up user through user service and get token UUID\n String token = applicationUserService.signUpUser(\n // convert request to client user\n convertRegistrationRequestToApplicationUser(request));\n\n // create confirmation link\n String host = \"localhost:8080\";\n String link = \"http://\" + host + \"/registration/confirm?token=\" + token;\n\n // send email with link to the user's email address\n emailSender.send(requestEmail,\n // build email message\n EmailMessageHelper.buildEmailMessage(request.getUsername(), link));\n\n }", "public NewMemberRequestBuilder() {\r\n newMemberRequest = new NewMemberRequest();\r\n }", "@GET(Config.REGISTER) Call<User> registerUser(@QueryMap Map<String, String> body);", "public Register.Req getRegisterReq() {\n return instance.getRegisterReq();\n }", "public Builder clearRegisterReq() {\n copyOnWrite();\n instance.clearRegisterReq();\n return this;\n }", "public ConfirmRegister build() {\r\n\t\t\treturn new ConfirmRegister(this);\r\n\t\t}", "public static TemplatePushRequest newRequest() {\n return new TemplatePushRequest();\n }", "boolean hasRegistrationRequest();", "entities.Torrent.RegistrationResponse getRegistrationResponse();", "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 }", "static public QRScanProviderVolunteerRequest create(String serializedData) {\n Gson gson = new Gson();\n return gson.fromJson(serializedData, QRScanProviderVolunteerRequest.class);\n }", "User registration(User user);", "private CreateRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "private RequestUser(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "public Builder mergeRegisterReq(Register.Req value) {\n copyOnWrite();\n instance.mergeRegisterReq(value);\n return this;\n }", "protected void createRegistrationInfo() {\n registrationInfo.put(\"email\", email.getText().toString());\n registrationInfo.put(\"password\", password.getText().toString());\n }", "public Request(){\n\t\tthis(null, null, null);\n\t}", "void signUp(SignUpRequest signupRequest);", "public Builder mergeRegistrationResponse(entities.Torrent.RegistrationResponse value) {\n if (registrationResponseBuilder_ == null) {\n if (registrationResponse_ != null) {\n registrationResponse_ =\n entities.Torrent.RegistrationResponse.newBuilder(registrationResponse_).mergeFrom(value).buildPartial();\n } else {\n registrationResponse_ = value;\n }\n onChanged();\n } else {\n registrationResponseBuilder_.mergeFrom(value);\n }\n\n return this;\n }", "public void readRegisterRequest() {\n\t\tMessagingNodesList mNodeList = node.getCurrentMessagingNodesList();\n\t\tiStream = new ByteArrayInputStream(marshalledBytes);\t\n\t\tdin = new DataInputStream(new BufferedInputStream(iStream));\n\t\ttry {\n\t\t\t//Reading IP Address\n\t\t\tint ipAddressLength = din.readInt();\n\t\t\tbyte[] ipAddrBytes = new byte[ipAddressLength];\n\t\t\tdin.readFully(ipAddrBytes);\n\t\t\tString ipAddress = new String(ipAddrBytes);\n\t\t\tint portNumber = din.readInt();\n\t\t\tdin.readLong();\n\t\t\tiStream.close(); din.close();\n\t\t\t\n\t\t\tString additionalInfo=\"\", statusCode=\"FAILURE\";\n\t\t\tif(!ipAddress.contentEquals( originSocket.getInetAddress().getHostName())) {\n\t\t\t\tadditionalInfo =\"Registration request failed. The registration request has an IP which does not match the IP of the machine it came from.\";\n\t\t\t}\n\t\t\tif(mNodeList==null) {\t//handles null list issue if list has not been created yet\n\t\t\t\tMessagingNodesList mnl = new MessagingNodesList();\n\t\t\t\tmnl.addNode(ipAddress, portNumber,originSocket);\n\t\t\t\tadditionalInfo =\"Registration request successful. The number of messaging nodes currently constituting the overlay is (\" + mnl.getSize() +\").\";\n\t\t\t\tstatusCode = \"SUCCESS\";\n\t\t\t\tnode.setMessagingNodesList(mnl);\n\t\t\t}\n\t\t\telse if (mNodeList.searchFor(ipAddress,portNumber)){\t\t//Checks if the node was already registered\n\t\t\t\tadditionalInfo =\"Registration request failed for \"+ipAddress+\". The node being added was already registered in the registry.\";\n\t\t\t}\n\t\t\telse { // Else add the Node \n\t\t\t\tmNodeList.addNode(ipAddress, portNumber,originSocket);\n\t\t\t\tadditionalInfo =\"Registration request successful. The number of messaging nodes currently constituting the overlay is (\" + mNodeList.getSize() +\").\";\n\t\t\t\tstatusCode = \"SUCCESS\";\n\t\t\t}\n\t\t\tif(statusCode.contentEquals(\"FAILURE\")) System.out.println(additionalInfo);\n\n\t\t\tnode.decreaseNeededConnects();\n\t\t\tif(node.getNumberNeededPeers() == 0) {\n\t\t\t\tSystem.out.println(\"All connections are established. Number of connections: \"+(node.getCurrentMessagingNodesList().getSize()));\n\t\t\t}\n\t\t\t//Now sending a RegisterResponse\n\t\t\tMessage response = new RegisterResponse(statusCode, additionalInfo);\n\t\t\tSocket senderSocket = new Socket(ipAddress, portNumber);\n\t\t\tnode.getConnections().addConnection(ipAddress, senderSocket);\n\t\t\tnew TCPSender(senderSocket, response);\n\n\t\t} catch (IOException e) {\n\t\t\tSystem.out.println(\"Failed to read message. \"); \n\t\t}\n\t}", "public com.lanjiu.im.grpc.RegisteredUser.Builder getRegisteredUserBuilder() {\n \n onChanged();\n return getRegisteredUserFieldBuilder().getBuilder();\n }", "@java.lang.Override\n public entities.Torrent.RegistrationResponse getRegistrationResponse() {\n return registrationResponse_ == null ? entities.Torrent.RegistrationResponse.getDefaultInstance() : registrationResponse_;\n }", "private Request() {\n initFields();\n }", "private RequestEnvelop(com.google.protobuf.GeneratedMessage.Builder<?> builder) {\n super(builder);\n this.unknownFields = builder.getUnknownFields();\n }", "private com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.RegistrationResponse, entities.Torrent.RegistrationResponse.Builder, entities.Torrent.RegistrationResponseOrBuilder>\n getRegistrationResponseFieldBuilder() {\n if (registrationResponseBuilder_ == null) {\n registrationResponseBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.RegistrationResponse, entities.Torrent.RegistrationResponse.Builder, entities.Torrent.RegistrationResponseOrBuilder>(\n getRegistrationResponse(),\n getParentForChildren(),\n isClean());\n registrationResponse_ = null;\n }\n return registrationResponseBuilder_;\n }", "PrefixRegistrationSessionEventStart startRequest(PrefixRegistrationRequest request,\n String actor,\n String additionalInformation) throws PrefixRegistrationRequestManagementServiceException;", "public static Message makeRegisterMessage(String username, String password) {\n return new Message(MessageType.REGISTER, username, password);\n }", "X509RegistrationResultParser()\n {\n }", "private GRPCRequest(com.google.protobuf.GeneratedMessage.Builder<?> builder) {\n super(builder);\n }", "public ReAuthRequest createReAuthRequest(Request req) {\n return null;\r\n }", "public Request() {\n }", "public InquiryGrupomuscularRequest(Grupomuscular grupomuscular)\r\n\t{\r\n\t\taddGrupomuscular(grupomuscular);\r\n\t}", "private RequestLogin(com.google.protobuf.GeneratedMessage.Builder<?> builder) {\n super(builder);\n this.unknownFields = builder.getUnknownFields();\n }", "protected abstract void registerUser(Map<String, String> registrationInfo);", "private UserFriendRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "public Object register(HttpServletRequest req);", "@FormUrlEncoded\n// @Headers(\"Oakey:ipv4api22344\")\n @Headers(\"Appkey:N8e1WhJ42OmkYJStLX4TEvzk0EblN38W\")\n @POST(Urls.REGISTRATION)\n Single<ResponseBody> register(@FieldMap HashMap<String, String> params);", "String createUserRequest(String username, UserRequestType type);", "private void RegisterGoogleSignup() {\n\n\t\ttry {\n\t\t\tLocalData data = new LocalData(SplashActivity.this);\n\n\t\t\tArrayList<String> asName = new ArrayList<String>();\n\t\t\tArrayList<String> asValue = new ArrayList<String>();\n\n\t\t\tasName.add(\"email\");\n\t\t\tasName.add(\"firstname\");\n\t\t\tasName.add(\"gender\");\n\t\t\tasName.add(\"id\");\n\t\t\tasName.add(\"lastname\");\n\t\t\tasName.add(\"name\");\n\t\t\t// asName.add(\"link\");\n\n\t\t\tasName.add(\"device_type\");\n\t\t\tasName.add(\"device_id\");\n\t\t\tasName.add(\"gcm_id\");\n\t\t\tasName.add(\"timezone\");\n\n\t\t\tasValue.add(data.GetS(LocalData.EMAIL));\n\t\t\tasValue.add(data.GetS(LocalData.FIRST_NAME));\n\t\t\tasValue.add(data.GetS(LocalData.GENDER));\n\t\t\tasValue.add(data.GetS(LocalData.ID));\n\t\t\tasValue.add(data.GetS(LocalData.LAST_NAME));\n\t\t\tasValue.add(data.GetS(LocalData.NAME));\n\t\t\t// asValue.add(data.GetS(LocalData.LINK));\n\n\t\t\tasValue.add(\"A\");\n\n\t\t\tString android_id = Secure\n\t\t\t\t\t.getString(SplashActivity.this.getContentResolver(),\n\t\t\t\t\t\t\tSecure.ANDROID_ID);\n\n\t\t\tasValue.add(android_id);\n\n\t\t\tLocalData data1 = new LocalData(SplashActivity.this);\n\t\t\tasValue.add(data1.GetS(\"gcmId\"));\n\t\t\tasValue.add(Main.GetTimeZone());\n\t\t\tString sURL = StringURLs.getQuery(StringURLs.GOOGLE_LOGIN, asName,\n\t\t\t\t\tasValue);\n\n\t\t\tConnectServer connectServer = new ConnectServer();\n\t\t\tconnectServer.setMode(ConnectServer.MODE_POST);\n\t\t\tconnectServer.setContext(SplashActivity.this);\n\t\t\tconnectServer.setListener(new ConnectServerListener() {\n\n\t\t\t\t@Override\n\t\t\t\tpublic void onServerResponse(String sJSON, JSONObject jsonObject) {\n\t\t\t\t\t// TODO Auto-generated method stub\n\n\t\t\t\t\tLog.d(\"JSON DATA\", sJSON);\n\n\t\t\t\t\ttry {\n\n\t\t\t\t\t\tif (sJSON.length() != 0) {\n\t\t\t\t\t\t\tJSONObject object = new JSONObject(sJSON);\n\t\t\t\t\t\t\tJSONObject response = object\n\t\t\t\t\t\t\t\t\t.getJSONObject(JSONStrings.JSON_RESPONSE);\n\t\t\t\t\t\t\tString sResult = response\n\t\t\t\t\t\t\t\t\t.getString(JSONStrings.JSON_SUCCESS);\n\n\t\t\t\t\t\t\tif (sResult.equalsIgnoreCase(\"1\") == true) {\n\n\t\t\t\t\t\t\t\tString user_id = response.getString(\"userid\");\n\n\t\t\t\t\t\t\t\tLocalData data = new LocalData(\n\t\t\t\t\t\t\t\t\t\tSplashActivity.this);\n\t\t\t\t\t\t\t\tdata.Update(\"userid\", user_id);\n\t\t\t\t\t\t\t\tdata.Update(\"name\", response.getString(\"name\"));\n\n\t\t\t\t\t\t\t\tGetNotificationCount();\n\n\t\t\t\t\t\t\t} else if (sResult.equalsIgnoreCase(\"0\") == true) {\n\n\t\t\t\t\t\t\t\tString msgcode = jsonObject.getJSONObject(\n\t\t\t\t\t\t\t\t\t\t\"response\").getString(\"msgcode\");\n\n\t\t\t\t\t\t\t\tToast.makeText(\n\t\t\t\t\t\t\t\t\t\tSplashActivity.this,\n\t\t\t\t\t\t\t\t\t\tMain.getStringResourceByName(\n\t\t\t\t\t\t\t\t\t\t\t\tSplashActivity.this, msgcode),\n\t\t\t\t\t\t\t\t\t\tToast.LENGTH_LONG).show();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} else {\n\n\t\t\t\t\t\t\tToast.makeText(\n\t\t\t\t\t\t\t\t\tSplashActivity.this,\n\t\t\t\t\t\t\t\t\tMain.getStringResourceByName(\n\t\t\t\t\t\t\t\t\t\t\tSplashActivity.this, \"c100\"),\n\t\t\t\t\t\t\t\t\tToast.LENGTH_LONG).show();\n\t\t\t\t\t\t}\n\n\t\t\t\t\t} catch (Exception exp) {\n\n\t\t\t\t\t\tToast.makeText(\n\t\t\t\t\t\t\t\tSplashActivity.this,\n\t\t\t\t\t\t\t\tMain.getStringResourceByName(\n\t\t\t\t\t\t\t\t\t\tSplashActivity.this, \"c100\"),\n\t\t\t\t\t\t\t\tToast.LENGTH_LONG).show();\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t});\n\n\t\t\tconnectServer.execute(sURL);\n\n\t\t} catch (Exception exp) {\n\n\t\t\tToast.makeText(SplashActivity.this,\n\t\t\t\t\tMain.getStringResourceByName(SplashActivity.this, \"c100\"),\n\t\t\t\t\tToast.LENGTH_LONG).show();\n\t\t}\n\t}", "public void registerApplication(org.thethingsnetwork.management.proto.HandlerOuterClass.ApplicationIdentifier request,\n io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver);", "private void gcmRegister() {\n\t\taController = (Controller) getApplicationContext();\n\n\t\t// Check if Internet present\n\t\tif (!aController.isConnectingToInternet()) {\n\n\t\t\t// Internet Connection is not present\n\t\t\taController.showAlertDialog(RegisterActivity.this,\n\t\t\t\t\t\"Internet Connection Error\",\n\t\t\t\t\t\"Please connect to Internet connection\", false);\n\t\t\t// stop executing code by return\n\t\t\treturn;\n\t\t}\n\t\t// Make sure the device has the proper dependencies.\n\t\tGCMRegistrar.checkDevice(this);\n\n\t\t// Make sure the manifest permissions was properly set\n\t\tGCMRegistrar.checkManifest(this);\n\t\t// Register custom Broadcast receiver to show messages on activity\n\t\tregisterReceiver(mHandleMessageReceiver, new IntentFilter(\n\t\t\t\tConfig.DISPLAY_MESSAGE_ACTION));\n\n\t\t// Get GCM registration id\n\t\tfinal String regId = GCMRegistrar.getRegistrationId(this);\n\t\tLog.i(\"regId\", regId);\n\n\t\t// Check if regid already presents\n\t\tif (regId.equals(\"\")) {\n\n\t\t\t// Register with GCM\n\t\t\tGCMRegistrar.register(getApplicationContext(),\n\t\t\t\t\tConfig.GOOGLE_SENDER_ID);\n\n\t\t} else {\n\n\t\t\t// Device is already registered on GCM Server\n\t\t\tif (GCMRegistrar.isRegisteredOnServer(this)) {\n\t\t\t\t// Try to register again, but not in the UI thread.\n\t\t\t\t// It's also necessary to cancel the thread onDestroy(),\n\t\t\t\t// hence the use of AsyncTask instead of a raw thread.\n\n\t\t\t\tfinal Context context = this;\n\t\t\t\tmRegisterTask = new AsyncTask<Void, Void, Void>() {\n\n\t\t\t\t\t@Override\n\t\t\t\t\tprotected Void doInBackground(Void... params) {\n\n\t\t\t\t\t\t// Register on our server\n\t\t\t\t\t\t// On server creates a new user\n\n\t\t\t\t\t\taController.register(context, email, regId);\n\t\t\t\t\t\treturn null;\n\t\t\t\t\t}\n\n\t\t\t\t\t@Override\n\t\t\t\t\tprotected void onPostExecute(Void result) {\n\t\t\t\t\t\tmRegisterTask = null;\n\t\t\t\t\t}\n\n\t\t\t\t};\n\n\t\t\t\t// execute AsyncTask\n\t\t\t\tmRegisterTask.execute(null, null, null);\n\n\t\t\t} else {\n\n\t\t\t}\n\t\t}\n\t}", "CreateResponse create(@NonNull CreateRequest request);" ]
[ "0.76712793", "0.735845", "0.7247804", "0.7221944", "0.7102764", "0.7004691", "0.6972663", "0.67722017", "0.65944445", "0.65619147", "0.6518961", "0.64569044", "0.6404262", "0.6371991", "0.63670594", "0.63224065", "0.62407863", "0.62025386", "0.61341393", "0.6101906", "0.6083599", "0.60794526", "0.60445696", "0.60047555", "0.5937241", "0.59253657", "0.5924693", "0.58359015", "0.5792829", "0.57926077", "0.5758917", "0.5753488", "0.57508415", "0.5742598", "0.57338464", "0.572815", "0.5723436", "0.5720315", "0.56893563", "0.5657837", "0.565622", "0.56124675", "0.56120884", "0.55992156", "0.55828834", "0.5544537", "0.55083966", "0.5500207", "0.5500178", "0.5495516", "0.54678947", "0.54566044", "0.5438075", "0.54109675", "0.53986037", "0.53980786", "0.5374318", "0.5350291", "0.5339369", "0.53180295", "0.530809", "0.5294955", "0.52933234", "0.526687", "0.52487004", "0.52487004", "0.52487004", "0.52487004", "0.52454996", "0.52408063", "0.5225884", "0.51996505", "0.5189651", "0.5174332", "0.51579255", "0.51528543", "0.51436514", "0.5127952", "0.5113839", "0.51055866", "0.50913733", "0.50765353", "0.50752306", "0.506869", "0.50604224", "0.5058269", "0.5056096", "0.50460404", "0.5037653", "0.50201", "0.5010251", "0.49983653", "0.49975353", "0.4995576", "0.49920562", "0.49887976", "0.49867308", "0.49855208", "0.49850878", "0.49799082" ]
0.7469868
1
Short alias or acronym of the owner of the node string owner = 1;
@java.lang.Override public java.lang.String getOwner() { java.lang.Object ref = owner_; 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(); owner_ = s; return s; } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "java.lang.String getOwner();", "java.lang.String getOwner();", "public void setOwner (String owner) {\n\t\tthis.owner=owner;\n\t}", "String getOwner();", "String getOwner();", "public void setOwner(String owner) {\n this.owner = owner;\n }", "public void setOwner(String owner) {\n this.owner = owner;\n }", "public void setOwner(String owner) {\n this.owner = owner;\n }", "public void setOwner(String owner) {\n this.owner = owner;\n }", "public String getOwner();", "@DISPID(33)\r\n\t// = 0x21. The runtime will prefer the VTID if present\r\n\t@VTID(38)\r\n\tjava.lang.String owner();", "public String getOwner() {\r\n if (mOwner==null) {\r\n return \"n/a\";\r\n }\r\n return mOwner;\r\n }", "void setOwner(String owner);", "public String getOwner() { return owner; }", "public String getownerName() {\n\t return this.ownerName;\n\t}", "public void setOwner(String owner) {\n mOwner = owner;\n }", "public String getOwner(){\n return owner;\r\n }", "@DISPID(75)\r\n\t// = 0x4b. The runtime will prefer the VTID if present\r\n\t@VTID(73)\r\n\tjava.lang.String owner();", "public String getOwner() {\r\n return owner;\r\n }", "public String getOwner() {\r\n\t\treturn owner;\r\n\t}", "@Override\n\t\tpublic String ownerName() {\n\t\t\treturn \"Cat Owner\";\n\t\t}", "public void setOwner(String owner) {\r\n this.owner = owner == null ? null : owner.trim();\r\n }", "public void setOwner(String owner) {\n this.owner = owner == null ? null : owner.trim();\n }", "public void setOwner(String owner) {\n this.owner = owner == null ? null : owner.trim();\n }", "public String getOwnerName() {\r\n return this.ownerName;\r\n }", "public String getOwner() {\n return owner;\n }", "public String getOwner() {\n return owner;\n }", "public String getOwner() {\n return owner;\n }", "public String getOwner() {\n return owner;\n }", "public String getOwner() {\n return owner;\n }", "public String getOwner() {\n return owner;\n }", "@Column(name=\"owner\")\n\tpublic String getOwner() {\n\t\treturn owner;\n\t}", "public String getOwner() {\n\n return owner;\n\n }", "public String owner() {\n return this.owner;\n }", "@Override\n\t\tpublic String ownerName() {\n\t\t\treturn \"Tiger Owner\";\n\t\t}", "public String ownerName() {\n\t\t\treturn null;\n\t\t}", "public void changeOwner(String o){\n owner = o;\r\n }", "Optional<String> getOwner();", "public String getOwner() {\n\n return Owner;\n }", "public String getOwnerName() {\r\n\t\treturn ownerName;\r\n\t}", "public void setOwnerName(String name) {\r\n this.ownerName = name;\r\n }", "public String getOwner() {\n return mOwner;\n }", "@Override\n\t\tpublic String ownerName() {\n\t\t\treturn \"Dog Owner\";\n\t\t}", "public void setOwner(String mOwner) {\r\n this.mOwner = mOwner;\r\n }", "public void setOwner(int owner) { this.owner = owner; }", "public java.lang.String getOwnername() {\n\treturn ownername;\n}", "public String getOwnerName() {\n\t\treturn ownerName;\n\t}", "public void setownerName(String ownerName) {\n\t this.ownerName = ownerName;\n\t}", "public String getOwnerName() {\n\n return ownerName;\n }", "public void setOwnerName( String name ) {\n\n ownerName = name;\n }", "public void setOwnerString(String s) {\n ownerString = s;\r\n }", "public void setOwnername(java.lang.String newOwnername) {\n\townername = newOwnername;\n}", "public java.lang.String getOwner() {\n java.lang.Object ref = owner_;\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 owner_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getOwner() {\n java.lang.Object ref = owner_;\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 owner_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public long getOwner() {\n\t\treturn owner;\n\t}", "public final String getOwnerName() {\n return ElementUtils.getDeclaringClassName(node);\n }", "@Column (name=\"OWNER\", insertable = true, updatable = false)\r\n\tpublic String getOwner() {\r\n\t\treturn owner;\r\n\t}", "public synchronized void setOwner(String s) {\n owner = s;\n }", "public java.lang.String getOwnerId() {\r\n return ownerId;\r\n }", "public String getOwnerId() {\n return ownerId;\n }", "public void setOwnerName(String ownerName) {\r\n\t\tthis.ownerName = ownerName;\r\n\t}", "public void setOwnerName(String ownerName) {\r\n\t\tthis.ownerName = ownerName;\r\n\t}", "public void setOwnerId(String ownerId) {\n this.ownerId = ownerId;\n }", "public Builder setOwner(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n\n owner_ = value;\n onChanged();\n return this;\n }", "public Builder setOwner(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n\n owner_ = value;\n onChanged();\n return this;\n }", "@JsonSetter(\"owner\")\r\n public void setOwner(String owner) {\r\n this.owner = owner;\r\n }", "public UUID getOwner() {\n return owner;\n }", "public UUID getOwner() {\n return owner;\n }", "public interface Owner {\n\n /**\n * Returns the unique owner ID of this object. This ID is used to separate\n * different owners from each other.\n * \n * @return the unique owner ID\n */\n int getOwnerID();\n\n /**\n * @return a descriptive name of the owner (for printing, debugging, etc.)\n */\n String getName();\n\n}", "public String getOwnerString() {\n return String.valueOf(enteredBy);\n }", "default String getOwnerId()\n {\n return Long.toUnsignedString(getOwnerIdLong());\n }", "public com.google.protobuf.ByteString\n getOwnerBytes() {\n java.lang.Object ref = owner_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b =\n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n owner_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "public com.google.protobuf.ByteString\n getOwnerBytes() {\n java.lang.Object ref = owner_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b =\n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n owner_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "public void setOwner(Owner owner) {\n this.owner = owner;\n }", "public String getOwner(){\n\t\treturn new SmartAPIModel().getCpOwner(cp.getLocalName());\n\t}", "User getOwner();", "@JsonGetter(\"owner\")\r\n public String getOwner() {\r\n return owner;\r\n }", "@objid (\"8b942215-f0a1-454e-9f8a-596315ee40d5\")\n Instance getOwner();", "final int GetOwner() {\n return owner;\n }", "com.google.protobuf.ByteString getOwner();", "com.google.protobuf.ByteString getOwner();", "public void setOwner(String newOwner) {\n\t\t_pcs.firePropertyChange(\"owner\", this.owner, newOwner); //$NON-NLS-1$\n\t\tthis.owner = newOwner;\n\t}", "public void setOwnerId(java.lang.String ownerId) {\r\n this.ownerId = ownerId;\r\n }", "public void setOwner(User owner) {\n this.owner = owner;\n }", "public synchronized static String getOwner() {\n return owner;\n }", "public void setOwner(Person owner)\n {\n this.owner = owner;\n }", "int getOwnerID();", "public String getOwnerHref() {\n return ownerHref;\n }", "String getHandOwner();", "public Owner getOwner() {\n return owner;\n }", "public String getDataOwner();", "public OwnerReference getOwnerReference() {\n return new OwnerReferenceBuilder()\n .withController(true)\n .withApiVersion(getApiVersion())\n .withKind(getKind())\n .withName(getMetaName())\n .withUid(getMetadata().getUid())\n .build();\n }", "public Owner getOwner()\n {\n return owner;\n }", "public void setOwner(com.sforce.soap.enterprise.sobject.SObject owner) {\r\n this.owner = owner;\r\n }", "public int getOwnerID() {\r\n\t\treturn ownerID;\r\n\t}", "@java.lang.Override\n public com.google.protobuf.ByteString\n getOwnerBytes() {\n java.lang.Object ref = owner_;\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 owner_ = 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 getOwnerBytes() {\n java.lang.Object ref = owner_;\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 owner_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "public final String getOwnerNameWithoutPackage() {\n return ElementUtils.getDeclaringClassNameWithoutPackage(node);\n }", "public String getOwnerType() {\n\t\treturn ownerType;\n\t}" ]
[ "0.75407934", "0.75407934", "0.74065536", "0.73466945", "0.73466945", "0.7311053", "0.7311053", "0.7311053", "0.7311053", "0.7263259", "0.7213029", "0.7118967", "0.7112759", "0.7107489", "0.70584834", "0.7019887", "0.70074487", "0.69962007", "0.698706", "0.69788957", "0.697594", "0.69668484", "0.69505423", "0.69505423", "0.6945902", "0.691211", "0.691211", "0.691211", "0.691211", "0.691211", "0.691211", "0.6911764", "0.6885357", "0.6854573", "0.6781322", "0.6775824", "0.6748939", "0.6729221", "0.6698837", "0.6697248", "0.66964847", "0.66933", "0.66756", "0.66747534", "0.6647751", "0.66408736", "0.6621013", "0.6601264", "0.65922177", "0.6558556", "0.6543966", "0.6501517", "0.6477338", "0.6476864", "0.6453348", "0.6451658", "0.6423627", "0.63971823", "0.63694674", "0.6367561", "0.6364921", "0.6364921", "0.6360787", "0.63074654", "0.63074654", "0.62923425", "0.6279634", "0.6279634", "0.6277894", "0.6266074", "0.626146", "0.62493145", "0.62493145", "0.62283397", "0.62242776", "0.6219216", "0.6211749", "0.6209155", "0.6198026", "0.61691684", "0.61691684", "0.6168147", "0.6161632", "0.6144825", "0.6106978", "0.6105473", "0.61036485", "0.6099844", "0.60854083", "0.6080756", "0.6066904", "0.60624945", "0.60612667", "0.59760445", "0.59749985", "0.59659946", "0.59659946", "0.5952078", "0.5927696" ]
0.63428575
64
Short alias or acronym of the owner of the node string owner = 1;
@java.lang.Override public com.google.protobuf.ByteString getOwnerBytes() { java.lang.Object ref = owner_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); owner_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "java.lang.String getOwner();", "java.lang.String getOwner();", "public void setOwner (String owner) {\n\t\tthis.owner=owner;\n\t}", "String getOwner();", "String getOwner();", "public void setOwner(String owner) {\n this.owner = owner;\n }", "public void setOwner(String owner) {\n this.owner = owner;\n }", "public void setOwner(String owner) {\n this.owner = owner;\n }", "public void setOwner(String owner) {\n this.owner = owner;\n }", "public String getOwner();", "@DISPID(33)\r\n\t// = 0x21. The runtime will prefer the VTID if present\r\n\t@VTID(38)\r\n\tjava.lang.String owner();", "public String getOwner() {\r\n if (mOwner==null) {\r\n return \"n/a\";\r\n }\r\n return mOwner;\r\n }", "void setOwner(String owner);", "public String getOwner() { return owner; }", "public String getownerName() {\n\t return this.ownerName;\n\t}", "public void setOwner(String owner) {\n mOwner = owner;\n }", "public String getOwner(){\n return owner;\r\n }", "@DISPID(75)\r\n\t// = 0x4b. The runtime will prefer the VTID if present\r\n\t@VTID(73)\r\n\tjava.lang.String owner();", "public String getOwner() {\r\n return owner;\r\n }", "public String getOwner() {\r\n\t\treturn owner;\r\n\t}", "@Override\n\t\tpublic String ownerName() {\n\t\t\treturn \"Cat Owner\";\n\t\t}", "public void setOwner(String owner) {\r\n this.owner = owner == null ? null : owner.trim();\r\n }", "public void setOwner(String owner) {\n this.owner = owner == null ? null : owner.trim();\n }", "public void setOwner(String owner) {\n this.owner = owner == null ? null : owner.trim();\n }", "public String getOwnerName() {\r\n return this.ownerName;\r\n }", "public String getOwner() {\n return owner;\n }", "public String getOwner() {\n return owner;\n }", "public String getOwner() {\n return owner;\n }", "public String getOwner() {\n return owner;\n }", "public String getOwner() {\n return owner;\n }", "public String getOwner() {\n return owner;\n }", "@Column(name=\"owner\")\n\tpublic String getOwner() {\n\t\treturn owner;\n\t}", "public String getOwner() {\n\n return owner;\n\n }", "public String owner() {\n return this.owner;\n }", "@Override\n\t\tpublic String ownerName() {\n\t\t\treturn \"Tiger Owner\";\n\t\t}", "public String ownerName() {\n\t\t\treturn null;\n\t\t}", "public void changeOwner(String o){\n owner = o;\r\n }", "Optional<String> getOwner();", "public String getOwner() {\n\n return Owner;\n }", "public String getOwnerName() {\r\n\t\treturn ownerName;\r\n\t}", "public void setOwnerName(String name) {\r\n this.ownerName = name;\r\n }", "public String getOwner() {\n return mOwner;\n }", "@Override\n\t\tpublic String ownerName() {\n\t\t\treturn \"Dog Owner\";\n\t\t}", "public void setOwner(String mOwner) {\r\n this.mOwner = mOwner;\r\n }", "public void setOwner(int owner) { this.owner = owner; }", "public java.lang.String getOwnername() {\n\treturn ownername;\n}", "public String getOwnerName() {\n\t\treturn ownerName;\n\t}", "public void setownerName(String ownerName) {\n\t this.ownerName = ownerName;\n\t}", "public String getOwnerName() {\n\n return ownerName;\n }", "public void setOwnerName( String name ) {\n\n ownerName = name;\n }", "public void setOwnerString(String s) {\n ownerString = s;\r\n }", "public void setOwnername(java.lang.String newOwnername) {\n\townername = newOwnername;\n}", "public java.lang.String getOwner() {\n java.lang.Object ref = owner_;\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 owner_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getOwner() {\n java.lang.Object ref = owner_;\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 owner_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public long getOwner() {\n\t\treturn owner;\n\t}", "public final String getOwnerName() {\n return ElementUtils.getDeclaringClassName(node);\n }", "@Column (name=\"OWNER\", insertable = true, updatable = false)\r\n\tpublic String getOwner() {\r\n\t\treturn owner;\r\n\t}", "public synchronized void setOwner(String s) {\n owner = s;\n }", "public java.lang.String getOwnerId() {\r\n return ownerId;\r\n }", "public String getOwnerId() {\n return ownerId;\n }", "public void setOwnerName(String ownerName) {\r\n\t\tthis.ownerName = ownerName;\r\n\t}", "public void setOwnerName(String ownerName) {\r\n\t\tthis.ownerName = ownerName;\r\n\t}", "public void setOwnerId(String ownerId) {\n this.ownerId = ownerId;\n }", "@java.lang.Override\n public java.lang.String getOwner() {\n java.lang.Object ref = owner_;\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 owner_ = s;\n return s;\n }\n }", "@java.lang.Override\n public java.lang.String getOwner() {\n java.lang.Object ref = owner_;\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 owner_ = s;\n return s;\n }\n }", "public Builder setOwner(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n\n owner_ = value;\n onChanged();\n return this;\n }", "public Builder setOwner(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n\n owner_ = value;\n onChanged();\n return this;\n }", "@JsonSetter(\"owner\")\r\n public void setOwner(String owner) {\r\n this.owner = owner;\r\n }", "public UUID getOwner() {\n return owner;\n }", "public UUID getOwner() {\n return owner;\n }", "public interface Owner {\n\n /**\n * Returns the unique owner ID of this object. This ID is used to separate\n * different owners from each other.\n * \n * @return the unique owner ID\n */\n int getOwnerID();\n\n /**\n * @return a descriptive name of the owner (for printing, debugging, etc.)\n */\n String getName();\n\n}", "public String getOwnerString() {\n return String.valueOf(enteredBy);\n }", "default String getOwnerId()\n {\n return Long.toUnsignedString(getOwnerIdLong());\n }", "public com.google.protobuf.ByteString\n getOwnerBytes() {\n java.lang.Object ref = owner_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b =\n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n owner_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "public com.google.protobuf.ByteString\n getOwnerBytes() {\n java.lang.Object ref = owner_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b =\n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n owner_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "public void setOwner(Owner owner) {\n this.owner = owner;\n }", "public String getOwner(){\n\t\treturn new SmartAPIModel().getCpOwner(cp.getLocalName());\n\t}", "User getOwner();", "@JsonGetter(\"owner\")\r\n public String getOwner() {\r\n return owner;\r\n }", "@objid (\"8b942215-f0a1-454e-9f8a-596315ee40d5\")\n Instance getOwner();", "final int GetOwner() {\n return owner;\n }", "com.google.protobuf.ByteString getOwner();", "com.google.protobuf.ByteString getOwner();", "public void setOwner(String newOwner) {\n\t\t_pcs.firePropertyChange(\"owner\", this.owner, newOwner); //$NON-NLS-1$\n\t\tthis.owner = newOwner;\n\t}", "public void setOwnerId(java.lang.String ownerId) {\r\n this.ownerId = ownerId;\r\n }", "public void setOwner(User owner) {\n this.owner = owner;\n }", "public synchronized static String getOwner() {\n return owner;\n }", "public void setOwner(Person owner)\n {\n this.owner = owner;\n }", "int getOwnerID();", "public String getOwnerHref() {\n return ownerHref;\n }", "String getHandOwner();", "public Owner getOwner() {\n return owner;\n }", "public String getDataOwner();", "public OwnerReference getOwnerReference() {\n return new OwnerReferenceBuilder()\n .withController(true)\n .withApiVersion(getApiVersion())\n .withKind(getKind())\n .withName(getMetaName())\n .withUid(getMetadata().getUid())\n .build();\n }", "public Owner getOwner()\n {\n return owner;\n }", "public void setOwner(com.sforce.soap.enterprise.sobject.SObject owner) {\r\n this.owner = owner;\r\n }", "public int getOwnerID() {\r\n\t\treturn ownerID;\r\n\t}", "public final String getOwnerNameWithoutPackage() {\n return ElementUtils.getDeclaringClassNameWithoutPackage(node);\n }", "public String getOwnerType() {\n\t\treturn ownerType;\n\t}" ]
[ "0.75407934", "0.75407934", "0.74065536", "0.73466945", "0.73466945", "0.7311053", "0.7311053", "0.7311053", "0.7311053", "0.7263259", "0.7213029", "0.7118967", "0.7112759", "0.7107489", "0.70584834", "0.7019887", "0.70074487", "0.69962007", "0.698706", "0.69788957", "0.697594", "0.69668484", "0.69505423", "0.69505423", "0.6945902", "0.691211", "0.691211", "0.691211", "0.691211", "0.691211", "0.691211", "0.6911764", "0.6885357", "0.6854573", "0.6781322", "0.6775824", "0.6748939", "0.6729221", "0.6698837", "0.6697248", "0.66964847", "0.66933", "0.66756", "0.66747534", "0.6647751", "0.66408736", "0.6621013", "0.6601264", "0.65922177", "0.6558556", "0.6543966", "0.6501517", "0.6477338", "0.6476864", "0.6453348", "0.6451658", "0.6423627", "0.63971823", "0.63694674", "0.6367561", "0.6364921", "0.6364921", "0.6360787", "0.6343424", "0.63428575", "0.63074654", "0.63074654", "0.62923425", "0.6279634", "0.6279634", "0.6277894", "0.6266074", "0.626146", "0.62493145", "0.62493145", "0.62283397", "0.62242776", "0.6219216", "0.6211749", "0.6209155", "0.6198026", "0.61691684", "0.61691684", "0.6168147", "0.6161632", "0.6144825", "0.6106978", "0.6105473", "0.61036485", "0.6099844", "0.60854083", "0.6080756", "0.6066904", "0.60624945", "0.60612667", "0.59760445", "0.59749985", "0.5952078", "0.5927696" ]
0.59659946
97
Node index within the owner's nodes. Must be 1, 2, or 3 int32 index = 2;
@java.lang.Override public int getIndex() { return index_; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public long getNodeIndex();", "public int getNodeIndexAt(int index)\n {\n if (index < 0 || index > 1)\n {\n throw new IllegalArgumentException();\n }\n \n return this.nodeList[index];\n }", "entities.Torrent.NodeId getNodes(int index);", "public NodeExpr index()\n\t{\n\t\treturn _index;\n\t}", "io.netifi.proteus.admin.om.Node getNodes(int index);", "int node(final int index) {\r\n\t\tif (index < (size >> 1)) {\r\n\t\t\tint x = first;\r\n\t\t\tfor (long l = 0; l < index; l++) {\r\n\t\t\t\tx = getNextPointer(x);\r\n\t\t\t}\r\n\t\t\treturn x;\r\n\t\t} else {\r\n\t\t\tint x = last;\r\n\t\t\tfor (int i = size - 1; i > index; i--) {\r\n\t\t\t\tx = getPrevPointer(x);\r\n\t\t\t}\r\n\t\t\treturn x;\r\n\t\t}\r\n\t}", "private int getIndex(Entity entity){\n int currentIndex = 0;\n\n for(QuadTree node: this.getNodes()){\n\n /*PhysicsComponent bp = (PhysicsComponent)entity.getProperty(PhysicsComponent.ID);\n if( node.getBounds().contains(bp.getBounds())){\n return currentIndex;\n }*/\n currentIndex++;\n }\n return -1; // Subnode not found (part of the root then)\n }", "public int getIndex(){\r\n \treturn index;\r\n }", "private static int getNodeIndex(int index, int depth) {\n return (index >>> depth) & 0x1F;\n }", "private static String findNode(int index){\n return indexTable.get(index);\n }", "public ListNode findIndexNode(int index)\n {\n //should probably hande this by throwing an exception when head == null rather than using the if statement.\n if (head != null)\n {\n int counter = 0;\n ListNode iteratorNode = head;\n do\n { \n if (counter + 1 == index)\n {\n return iteratorNode;\n }\n if (iteratorNode.getNext() != null)\n {\n iteratorNode = iteratorNode.getNext();\n counter++;\n }\n } while(counter + 1 <= size);\n }\n return head;\n }", "public abstract int getNeighboursNumber(int index);", "public int indexNode(Node node) {\n if (!isEdge()) {\n return -1;\n }\n for (int i = 0; i < nbNode(); i++) {\n if (node.same(getNode(i))) {\n return i;\n }\n }\n return -1;\n }", "public int getIndex(TreeNode node) { \n for (int i=0; i<data.length; i++) \n if (data[i].equals(node)) return i; \n return -1; \n }", "public int getIndex(){\n\t\treturn index;\n\t}", "public int getIndex(){\n\t\treturn index;\n\t}", "public int getIndex(){\n\t\treturn index;\n\t}", "public int getIndex() {\r\n \t\t\treturn index;\r\n \t\t}", "public int getIndex(\n )\n {return index;}", "public int getIndex() {\n \t\treturn index;\n \t}", "private int parent(int index) {\n return index / 2;\n }", "private int parent(int index) {\n return index / 2;\n }", "public int getIndex(){\n return index;\n }", "public int getIndex(){\n return index;\n }", "private Node findNode(int index){\n Node current = start;\n for(int i = 0; i < index; i++){\n current = current.getNext();\n }\n return current;\n }", "public final int getIndex(){\n return index_;\n }", "int getIndex() {\n\t\treturn index;\n\t}", "public int getIndex()\n {\n return index;\n }", "public int getIndexNumber(){\n return id;\r\n }", "public int getOwnIndex() throws RemoteException {\r\n return ownIndex;\r\n }", "@Override public long nodeIndex() {\n throw new UnsupportedOperationException(\"Unsupported operation\");\n }", "public int getIndex() {\n return index;\n }", "public int getIndex() { return this.index; }", "int getIndex(){\r\n\t\treturn index;\r\n\t}", "@Override\r\n\tpublic int getIndex() {\n\t\treturn index;\r\n\t}", "private int getIndex() {\n\t\treturn this.index;\r\n\t}", "public int getIndex() {\r\n\t\treturn index;\r\n\t}", "public int getIndex()\n {\n return index;\n }", "entities.Torrent.NodeIdOrBuilder getNodesOrBuilder(\n int index);", "public int getIndex() {\r\n return index;\r\n }", "private int parentIdx(int idx) {\r\n // TODO\r\n return -1;\r\n }", "private int get_parent(int index){\r\n return (index-1)/2;\r\n }", "private Node getNodeAt(int index) {\n\t\tNode node = head;\n\t\t// follow the links between nodes until it counts off the right number\n\t\tfor (int i = 0; i < index; i++) {\n\t\t\tif (node == null) {\n\t\t\t\t// In case we run out of nodes before we get up to the desired index, return null\n\t\t\t\treturn null;\n\t\t\t}\n\t\t\tnode = node.getNext();\n\t\t}\n\t\treturn node;\n\t}", "public int getIndex() {\r\n return _index;\r\n }", "public int getIndex() {\r\n return _index;\r\n }", "public int getIndex() {\n\t\treturn index;\n\t}", "public int getIndex() {\n\t\treturn index;\n\t}", "public int getIndex() {\n\t\treturn index;\n\t}", "protected abstract int applyGetIndex(CControlManager mgr, CDasherNode node);", "@Override public int getNodeId(String name) {\n\t\tint id = node_index_.tryGet(name);\n\t\tif (id == -1) System.err.println(\"Unknown node name=\" + name);\n\t\treturn id;\n\t}", "private int getParentOf(int index) {\n // TODO: YOUR CODE HERE\n return index / 2;\n }", "protected final int getIndex() {\n return index;\n }", "public int getPlayerIndexOfOwner() {\n\t\tif (this.settlement == null) {\n\t\t\tif (this.city == null) {\n\t\t\t\treturn -1;\n\t\t\t}\n\t\t\telse {\n\t\t\t\treturn this.city.getPlayerIndex();\n\t\t\t}\n\t\t}\n\t\telse {\n\t\t\treturn this.settlement.getPlayerIndex();\n\t\t}\n\t}", "public int getIndex() {\n return index;\n }", "public int getIndex() {\n return index;\n }", "public int getIndex() {\n return index;\n }", "public int getIndex() {\n return index;\n }", "public int getIndex() {\n return index;\n }", "public int getIndex()\n {\n return m_index;\n }", "private ListNode nodeAt(int index) {\n\t\tListNode current = front;\n\t\tfor (int i = 0; i < index; i++) {\n\t\t\tcurrent = current.next;\n\t\t}\n\t\treturn current;\n\t}", "public int getIndex() {\n return index;\n }", "public abstract TreeNode getNode(int i);", "public int index();", "private int getIndex(int u) {\n int ind = -1;\n for (int i = 0; i < getGraphRep().size(); i++) {\n ArrayList subList = getGraphRep().get(i);\n String temp = (String) subList.get(0);\n int vert = Integer.parseInt(temp);\n if (vert == u) {\n ind = i;\n }\n }\n return ind;\n }", "public int getIndex() {\n\t\treturn 0;\n\t}", "private int getIndex(T target) {\r\n for (int i = 0; i < SIZE; i++) {\r\n if (tree[i] == target) {\r\n return i;\r\n }\r\n }\r\n return -1;\r\n }", "public Integer getIndex() {\n return index;\n }", "private Node<T> find(int index) throws IndexException {\n if (!isValid(index)) {\n throw new IndexException();\n }\n\n Node<T> node = head;\n int counter = 0;\n while (node != null && counter < index) {\n node = node.next;\n counter = counter + 1;\n }\n return node;\n }", "public int index() {\n\t\treturn this.index;\n\t}", "@Override\n public final int getIndex() {\n return index;\n }", "public abstract int getIndex();", "public int getIndex();", "public int getIndex();", "public int getIndex();", "public final Integer indexInParent() {\n Container p = getParent();\n return p==null ? null : p.indexOf(this);\n }", "int getIndex();", "int getIndex();", "int getIndex();", "int getIndex();", "int getIndex();", "int getIndex();", "int getIndex();", "int getIndex();", "int getIndex();", "int getIndex();", "int getIndex();", "int getIndex();", "int getIndex();", "public Integer index() {\n return this.index;\n }", "private int vertexIndex(T obj){\n for (int i = 0; i < n; i++){\n if (obj.equals(vertices[i])){\n return i;\n }\n }\n return NOT_FOUND;\n }", "int index();", "private Node find(int index)\n {\n Node curr = head;\n for(int i = 0; i < index; i++)\n {\n curr = curr.next;\n }\n return curr;\n }", "protected Node<U> getNodeAtIndex(int index) {\n\t\t\tNode<U> currNode;\n\n\t\t\tif (index < Math.ceil(mLength / 2)) {\n\t\t\t\tcurrNode = mHead;\n\t\t\t\tfor (int i = 0; i < index; ++i) {\n\t\t\t\t\tcurrNode = currNode.getNext();\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tcurrNode = mTail;\n\t\t\t\tfor (int i = mLength - 1; i > index; --i) {\n\t\t\t\t\tcurrNode = currNode.getPrev();\n\t\t\t\t}\n\t\t\t}\n\n\t\t\treturn currNode;\n\t\t}", "private Node getNth(int index) \n { \n int currIndex = 0;\n Node currNode = this.head.next;\n while(currIndex < index)\n {\n currNode = currNode.getNext();\n currIndex++;\n }\n return currNode;\n }", "public int getIndex() {\n return index_;\n }", "public int getIndex() {\n return index_;\n }", "public int getIndex() {\n return index_;\n }", "public int getIndex() {\n return index_;\n }", "public int getIndex() {\n return index_;\n }", "public int getIndex() {\n return index_;\n }", "private int getRoot(int index) {\n while(index < nodes.length && index != nodes[index]) {\n index = nodes[index];\n }\n return nodes[index];\n }" ]
[ "0.7500926", "0.68702143", "0.67576754", "0.6719682", "0.65634763", "0.65505934", "0.65468836", "0.6370985", "0.63478774", "0.63273644", "0.63200206", "0.63020974", "0.62959725", "0.62881017", "0.62844205", "0.62844205", "0.62844205", "0.62794596", "0.62608105", "0.62510484", "0.62425506", "0.62425506", "0.62417376", "0.62417376", "0.6210419", "0.62058336", "0.6200783", "0.61832285", "0.6159567", "0.61523086", "0.6147638", "0.6143038", "0.61416453", "0.6135396", "0.6122621", "0.6116187", "0.6107198", "0.61037266", "0.61019856", "0.6094304", "0.60829127", "0.608101", "0.6075831", "0.60686475", "0.60686475", "0.60634434", "0.60634434", "0.60634434", "0.60603476", "0.60549355", "0.6039927", "0.60309494", "0.60212576", "0.60187924", "0.60187924", "0.60187924", "0.60187924", "0.60187924", "0.60156703", "0.60114616", "0.59976476", "0.599331", "0.5992252", "0.5990667", "0.59830713", "0.5981311", "0.5946676", "0.59422624", "0.5941195", "0.5933461", "0.59243256", "0.59187734", "0.59187734", "0.59187734", "0.5911864", "0.59096843", "0.59096843", "0.59096843", "0.59096843", "0.59096843", "0.59096843", "0.59096843", "0.59096843", "0.59096843", "0.59096843", "0.59096843", "0.59096843", "0.59096843", "0.5904542", "0.58996254", "0.58953947", "0.5892547", "0.58924705", "0.58897316", "0.5889531", "0.5889531", "0.5889531", "0.5889531", "0.5889531", "0.5889531", "0.58867013" ]
0.0
-1
The port on which the node is listening for connections int32 port = 3;
@java.lang.Override public int getPort() { return port_; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public int getPort() { return port; }", "Integer listeningPort();", "public int getPort() {\n return port;\n }", "public int getPort() {\n return port;\n }", "public int getPort() {\n return port;\n }", "public int getPort() {\n return port;\n }", "public int getPort() {\n return port;\n }", "default Object port() {\n return metadata().get(\"server-port\");\n }", "public int getPort() {\r\n return port;\r\n }", "public int getPort() {\r\n return port;\r\n }", "public int getPort() {\r\n return port;\r\n }", "int getPort()\n {\n return port;\n }", "public int getPort() {\n return port_;\n }", "public int getPort() {\n return port_;\n }", "public int getPort() {\n return port_;\n }", "public int getPort() {\n return port_;\n }", "public int getPort() {\n return port;\n }", "public int getPort() {\n return port;\n }", "public int getPort()\n {\n return port;\n }", "public int getPort();", "public int getPort();", "public int getPort();", "public Integer getPort() {\n return port;\n }", "public int getPort() {\n return port;\n }", "public int getPort() {\n return port;\n }", "public int getPort() {\n return port;\n }", "public int getPort() {\n return port;\n }", "public int getPort() {\n return port;\n }", "public int getPort() {\n return port;\n }", "public int getPort() {\n return port;\n }", "public int getPort() {\n return port;\n }", "public int getPort () {\n return port;\n }", "int getPort() {\n return port;\n }", "public int getPort() {\n \t\treturn port;\n \t}", "public int getPort() {\n \t\treturn port;\n \t}", "public Integer port() {\n return this.port;\n }", "public Integer port() {\n return this.port;\n }", "public static int getPort() {\n return port;\n }", "public int getPort() {\n return port_;\n }", "public int getPort() {\n return port_;\n }", "public int getPort() {\n return port_;\n }", "public int getPort() {\n return port_;\n }", "public int getPort() {\n return port_;\n }", "public int getPort() {\n return port_;\n }", "default int getPort() {\n return getServer().getPort();\n }", "public int getPort()\n {\n return port;\n }", "public int getPort(){\n\treturn port;\n }", "public int getPort()\n\t{\n\t\treturn port;\n\t}", "public int getPort()\n\t{\n\t\treturn port;\n\t}", "public int getPort() {\n return this.port;\n }", "public Integer getPort() {\n return port;\n }", "public Integer getPort() {\n return port;\n }", "public int getPort()\n {\n return _nodeVRL.getPort(); \n }", "public int getPort() {\r\n\t\treturn port;\r\n\t}", "public int getPort() {\r\n\t\treturn port;\r\n\t}", "int serverPort ();", "public int getPort(){\n return port;\n }", "public int getPort() {\n\t\treturn port;\n\t}", "public int getPort() {\n\t\treturn port;\n\t}", "public int getPort() {\n\t\treturn port;\n\t}", "public int getPort() {\n\t\treturn port;\n\t}", "public int getPort() {\n\t\treturn port;\n\t}", "public int getPort() {\n return this.port;\n }", "public int getPort(){\n\t\treturn this.port;\n\t}", "public int getServerPortNumber(){\n return this.serverPortNumber;\n }", "public int getServerPort(){\n\t\treturn serverPort; \n\t}", "@java.lang.Override\n public int getPort() {\n return port_;\n }", "@java.lang.Override\n public int getPort() {\n return port_;\n }", "public int getPortNumber (){\r\n\t\treturn portNumber;\r\n\t}", "public Integer getPort() {\n return this.port;\n }", "int getPort();", "int getPort();", "int getPort();", "int getPort();", "int getPort();", "int getPort();", "int getPort();", "int getPort();", "int getPort();", "int getPort();", "int getPort();", "int getPort();", "int getPort();", "@Override\n\tpublic Integer getPort() {\n\t\treturn port;\n\t}", "public int getPortNumber() {\n return portNumber;\n }", "public int getPortNumber() {\n return portNumber;\n }", "public static int getPort(){\n return catalogue.port;\n }", "public static String getPort() {\n\t\treturn port;\r\n\t}", "public Integer getServerport() {\n return serverport;\n }", "public int getPort ()\n {\n return thisPort;\n }", "public String getPort(){\n return port;\n }", "public int getServerPort() {\n return serverPort;\n }", "public int getPort() {\n/* 122 */ return ((TCPEndpoint)this.ep).getPort();\n/* */ }", "public int getPort( ) {\n\t\treturn port;\n\t}", "public long getPortNumber() {\n return portNumber;\n }", "public static int getServerPort(){\n return thisServer.getPort();\n }", "public static int getServerPort() {\n return serverPort;\n }", "public int getPort() {\n return instance.getPort();\n }", "public int getPort() {\n return instance.getPort();\n }" ]
[ "0.81379586", "0.8053419", "0.7989314", "0.7989314", "0.7989314", "0.7989314", "0.7989314", "0.7970132", "0.79560274", "0.79560274", "0.79560274", "0.7938901", "0.79374117", "0.79374117", "0.79374117", "0.79374117", "0.7933181", "0.7933181", "0.79173136", "0.79085565", "0.79085565", "0.79085565", "0.78916407", "0.7886595", "0.7886595", "0.7886595", "0.7886595", "0.7886595", "0.7886595", "0.7886595", "0.7886595", "0.7879462", "0.7877591", "0.78678465", "0.78678465", "0.7857597", "0.7857597", "0.7856187", "0.78531647", "0.78531647", "0.78531647", "0.78531647", "0.78531647", "0.78531647", "0.7847537", "0.78374594", "0.78248996", "0.78204745", "0.78204745", "0.78123623", "0.78113544", "0.78113544", "0.7783889", "0.77711457", "0.77711457", "0.774469", "0.77292705", "0.77267104", "0.77267104", "0.77267104", "0.77267104", "0.77267104", "0.7725944", "0.77134603", "0.7712562", "0.7674529", "0.76637965", "0.76630205", "0.7639518", "0.76326823", "0.76318634", "0.76318634", "0.76318634", "0.76318634", "0.76318634", "0.76318634", "0.76318634", "0.76318634", "0.76318634", "0.76318634", "0.76318634", "0.76318634", "0.76318634", "0.7631835", "0.76042235", "0.76042235", "0.75952613", "0.7546941", "0.75119454", "0.745924", "0.74542314", "0.7449311", "0.7431813", "0.7427771", "0.74235225", "0.7416258", "0.74162227", "0.7412089", "0.7412089" ]
0.75480783
87
Short alias or acronym of the owner of the node string owner = 1;
public java.lang.String getOwner() { java.lang.Object ref = owner_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); owner_ = s; return s; } else { return (java.lang.String) ref; } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "java.lang.String getOwner();", "java.lang.String getOwner();", "public void setOwner (String owner) {\n\t\tthis.owner=owner;\n\t}", "String getOwner();", "String getOwner();", "public void setOwner(String owner) {\n this.owner = owner;\n }", "public void setOwner(String owner) {\n this.owner = owner;\n }", "public void setOwner(String owner) {\n this.owner = owner;\n }", "public void setOwner(String owner) {\n this.owner = owner;\n }", "public String getOwner();", "@DISPID(33)\r\n\t// = 0x21. The runtime will prefer the VTID if present\r\n\t@VTID(38)\r\n\tjava.lang.String owner();", "public String getOwner() {\r\n if (mOwner==null) {\r\n return \"n/a\";\r\n }\r\n return mOwner;\r\n }", "void setOwner(String owner);", "public String getOwner() { return owner; }", "public String getownerName() {\n\t return this.ownerName;\n\t}", "public void setOwner(String owner) {\n mOwner = owner;\n }", "public String getOwner(){\n return owner;\r\n }", "@DISPID(75)\r\n\t// = 0x4b. The runtime will prefer the VTID if present\r\n\t@VTID(73)\r\n\tjava.lang.String owner();", "public String getOwner() {\r\n return owner;\r\n }", "public String getOwner() {\r\n\t\treturn owner;\r\n\t}", "@Override\n\t\tpublic String ownerName() {\n\t\t\treturn \"Cat Owner\";\n\t\t}", "public void setOwner(String owner) {\r\n this.owner = owner == null ? null : owner.trim();\r\n }", "public void setOwner(String owner) {\n this.owner = owner == null ? null : owner.trim();\n }", "public void setOwner(String owner) {\n this.owner = owner == null ? null : owner.trim();\n }", "public String getOwnerName() {\r\n return this.ownerName;\r\n }", "public String getOwner() {\n return owner;\n }", "public String getOwner() {\n return owner;\n }", "public String getOwner() {\n return owner;\n }", "public String getOwner() {\n return owner;\n }", "public String getOwner() {\n return owner;\n }", "public String getOwner() {\n return owner;\n }", "@Column(name=\"owner\")\n\tpublic String getOwner() {\n\t\treturn owner;\n\t}", "public String getOwner() {\n\n return owner;\n\n }", "public String owner() {\n return this.owner;\n }", "@Override\n\t\tpublic String ownerName() {\n\t\t\treturn \"Tiger Owner\";\n\t\t}", "public String ownerName() {\n\t\t\treturn null;\n\t\t}", "public void changeOwner(String o){\n owner = o;\r\n }", "Optional<String> getOwner();", "public String getOwner() {\n\n return Owner;\n }", "public String getOwnerName() {\r\n\t\treturn ownerName;\r\n\t}", "public void setOwnerName(String name) {\r\n this.ownerName = name;\r\n }", "public String getOwner() {\n return mOwner;\n }", "@Override\n\t\tpublic String ownerName() {\n\t\t\treturn \"Dog Owner\";\n\t\t}", "public void setOwner(String mOwner) {\r\n this.mOwner = mOwner;\r\n }", "public void setOwner(int owner) { this.owner = owner; }", "public java.lang.String getOwnername() {\n\treturn ownername;\n}", "public String getOwnerName() {\n\t\treturn ownerName;\n\t}", "public void setownerName(String ownerName) {\n\t this.ownerName = ownerName;\n\t}", "public String getOwnerName() {\n\n return ownerName;\n }", "public void setOwnerName( String name ) {\n\n ownerName = name;\n }", "public void setOwnerString(String s) {\n ownerString = s;\r\n }", "public void setOwnername(java.lang.String newOwnername) {\n\townername = newOwnername;\n}", "public long getOwner() {\n\t\treturn owner;\n\t}", "public final String getOwnerName() {\n return ElementUtils.getDeclaringClassName(node);\n }", "@Column (name=\"OWNER\", insertable = true, updatable = false)\r\n\tpublic String getOwner() {\r\n\t\treturn owner;\r\n\t}", "public synchronized void setOwner(String s) {\n owner = s;\n }", "public java.lang.String getOwnerId() {\r\n return ownerId;\r\n }", "public String getOwnerId() {\n return ownerId;\n }", "public void setOwnerName(String ownerName) {\r\n\t\tthis.ownerName = ownerName;\r\n\t}", "public void setOwnerName(String ownerName) {\r\n\t\tthis.ownerName = ownerName;\r\n\t}", "public void setOwnerId(String ownerId) {\n this.ownerId = ownerId;\n }", "@java.lang.Override\n public java.lang.String getOwner() {\n java.lang.Object ref = owner_;\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 owner_ = s;\n return s;\n }\n }", "@java.lang.Override\n public java.lang.String getOwner() {\n java.lang.Object ref = owner_;\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 owner_ = s;\n return s;\n }\n }", "public Builder setOwner(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n\n owner_ = value;\n onChanged();\n return this;\n }", "public Builder setOwner(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n\n owner_ = value;\n onChanged();\n return this;\n }", "@JsonSetter(\"owner\")\r\n public void setOwner(String owner) {\r\n this.owner = owner;\r\n }", "public UUID getOwner() {\n return owner;\n }", "public UUID getOwner() {\n return owner;\n }", "public interface Owner {\n\n /**\n * Returns the unique owner ID of this object. This ID is used to separate\n * different owners from each other.\n * \n * @return the unique owner ID\n */\n int getOwnerID();\n\n /**\n * @return a descriptive name of the owner (for printing, debugging, etc.)\n */\n String getName();\n\n}", "public String getOwnerString() {\n return String.valueOf(enteredBy);\n }", "default String getOwnerId()\n {\n return Long.toUnsignedString(getOwnerIdLong());\n }", "public com.google.protobuf.ByteString\n getOwnerBytes() {\n java.lang.Object ref = owner_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b =\n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n owner_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "public com.google.protobuf.ByteString\n getOwnerBytes() {\n java.lang.Object ref = owner_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b =\n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n owner_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "public void setOwner(Owner owner) {\n this.owner = owner;\n }", "public String getOwner(){\n\t\treturn new SmartAPIModel().getCpOwner(cp.getLocalName());\n\t}", "User getOwner();", "@JsonGetter(\"owner\")\r\n public String getOwner() {\r\n return owner;\r\n }", "@objid (\"8b942215-f0a1-454e-9f8a-596315ee40d5\")\n Instance getOwner();", "final int GetOwner() {\n return owner;\n }", "com.google.protobuf.ByteString getOwner();", "com.google.protobuf.ByteString getOwner();", "public void setOwner(String newOwner) {\n\t\t_pcs.firePropertyChange(\"owner\", this.owner, newOwner); //$NON-NLS-1$\n\t\tthis.owner = newOwner;\n\t}", "public void setOwnerId(java.lang.String ownerId) {\r\n this.ownerId = ownerId;\r\n }", "public void setOwner(User owner) {\n this.owner = owner;\n }", "public synchronized static String getOwner() {\n return owner;\n }", "public void setOwner(Person owner)\n {\n this.owner = owner;\n }", "int getOwnerID();", "public String getOwnerHref() {\n return ownerHref;\n }", "String getHandOwner();", "public Owner getOwner() {\n return owner;\n }", "public String getDataOwner();", "public OwnerReference getOwnerReference() {\n return new OwnerReferenceBuilder()\n .withController(true)\n .withApiVersion(getApiVersion())\n .withKind(getKind())\n .withName(getMetaName())\n .withUid(getMetadata().getUid())\n .build();\n }", "public Owner getOwner()\n {\n return owner;\n }", "public void setOwner(com.sforce.soap.enterprise.sobject.SObject owner) {\r\n this.owner = owner;\r\n }", "public int getOwnerID() {\r\n\t\treturn ownerID;\r\n\t}", "@java.lang.Override\n public com.google.protobuf.ByteString\n getOwnerBytes() {\n java.lang.Object ref = owner_;\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 owner_ = 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 getOwnerBytes() {\n java.lang.Object ref = owner_;\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 owner_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "public final String getOwnerNameWithoutPackage() {\n return ElementUtils.getDeclaringClassNameWithoutPackage(node);\n }", "public String getOwnerType() {\n\t\treturn ownerType;\n\t}" ]
[ "0.75407934", "0.75407934", "0.74065536", "0.73466945", "0.73466945", "0.7311053", "0.7311053", "0.7311053", "0.7311053", "0.7263259", "0.7213029", "0.7118967", "0.7112759", "0.7107489", "0.70584834", "0.7019887", "0.70074487", "0.69962007", "0.698706", "0.69788957", "0.697594", "0.69668484", "0.69505423", "0.69505423", "0.6945902", "0.691211", "0.691211", "0.691211", "0.691211", "0.691211", "0.691211", "0.6911764", "0.6885357", "0.6854573", "0.6781322", "0.6775824", "0.6748939", "0.6729221", "0.6698837", "0.6697248", "0.66964847", "0.66933", "0.66756", "0.66747534", "0.6647751", "0.66408736", "0.6621013", "0.6601264", "0.65922177", "0.6558556", "0.6543966", "0.6501517", "0.6453348", "0.6451658", "0.6423627", "0.63971823", "0.63694674", "0.6367561", "0.6364921", "0.6364921", "0.6360787", "0.6343424", "0.63428575", "0.63074654", "0.63074654", "0.62923425", "0.6279634", "0.6279634", "0.6277894", "0.6266074", "0.626146", "0.62493145", "0.62493145", "0.62283397", "0.62242776", "0.6219216", "0.6211749", "0.6209155", "0.6198026", "0.61691684", "0.61691684", "0.6168147", "0.6161632", "0.6144825", "0.6106978", "0.6105473", "0.61036485", "0.6099844", "0.60854083", "0.6080756", "0.6066904", "0.60624945", "0.60612667", "0.59760445", "0.59749985", "0.59659946", "0.59659946", "0.5952078", "0.5927696" ]
0.6476864
53
Short alias or acronym of the owner of the node string owner = 1;
public com.google.protobuf.ByteString getOwnerBytes() { java.lang.Object ref = owner_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); owner_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "java.lang.String getOwner();", "java.lang.String getOwner();", "public void setOwner (String owner) {\n\t\tthis.owner=owner;\n\t}", "String getOwner();", "String getOwner();", "public void setOwner(String owner) {\n this.owner = owner;\n }", "public void setOwner(String owner) {\n this.owner = owner;\n }", "public void setOwner(String owner) {\n this.owner = owner;\n }", "public void setOwner(String owner) {\n this.owner = owner;\n }", "public String getOwner();", "@DISPID(33)\r\n\t// = 0x21. The runtime will prefer the VTID if present\r\n\t@VTID(38)\r\n\tjava.lang.String owner();", "public String getOwner() {\r\n if (mOwner==null) {\r\n return \"n/a\";\r\n }\r\n return mOwner;\r\n }", "void setOwner(String owner);", "public String getOwner() { return owner; }", "public String getownerName() {\n\t return this.ownerName;\n\t}", "public void setOwner(String owner) {\n mOwner = owner;\n }", "public String getOwner(){\n return owner;\r\n }", "@DISPID(75)\r\n\t// = 0x4b. The runtime will prefer the VTID if present\r\n\t@VTID(73)\r\n\tjava.lang.String owner();", "public String getOwner() {\r\n return owner;\r\n }", "public String getOwner() {\r\n\t\treturn owner;\r\n\t}", "@Override\n\t\tpublic String ownerName() {\n\t\t\treturn \"Cat Owner\";\n\t\t}", "public void setOwner(String owner) {\r\n this.owner = owner == null ? null : owner.trim();\r\n }", "public void setOwner(String owner) {\n this.owner = owner == null ? null : owner.trim();\n }", "public void setOwner(String owner) {\n this.owner = owner == null ? null : owner.trim();\n }", "public String getOwnerName() {\r\n return this.ownerName;\r\n }", "public String getOwner() {\n return owner;\n }", "public String getOwner() {\n return owner;\n }", "public String getOwner() {\n return owner;\n }", "public String getOwner() {\n return owner;\n }", "public String getOwner() {\n return owner;\n }", "public String getOwner() {\n return owner;\n }", "@Column(name=\"owner\")\n\tpublic String getOwner() {\n\t\treturn owner;\n\t}", "public String getOwner() {\n\n return owner;\n\n }", "public String owner() {\n return this.owner;\n }", "@Override\n\t\tpublic String ownerName() {\n\t\t\treturn \"Tiger Owner\";\n\t\t}", "public String ownerName() {\n\t\t\treturn null;\n\t\t}", "public void changeOwner(String o){\n owner = o;\r\n }", "Optional<String> getOwner();", "public String getOwner() {\n\n return Owner;\n }", "public String getOwnerName() {\r\n\t\treturn ownerName;\r\n\t}", "public void setOwnerName(String name) {\r\n this.ownerName = name;\r\n }", "public String getOwner() {\n return mOwner;\n }", "@Override\n\t\tpublic String ownerName() {\n\t\t\treturn \"Dog Owner\";\n\t\t}", "public void setOwner(String mOwner) {\r\n this.mOwner = mOwner;\r\n }", "public void setOwner(int owner) { this.owner = owner; }", "public java.lang.String getOwnername() {\n\treturn ownername;\n}", "public String getOwnerName() {\n\t\treturn ownerName;\n\t}", "public void setownerName(String ownerName) {\n\t this.ownerName = ownerName;\n\t}", "public String getOwnerName() {\n\n return ownerName;\n }", "public void setOwnerName( String name ) {\n\n ownerName = name;\n }", "public void setOwnerString(String s) {\n ownerString = s;\r\n }", "public void setOwnername(java.lang.String newOwnername) {\n\townername = newOwnername;\n}", "public java.lang.String getOwner() {\n java.lang.Object ref = owner_;\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 owner_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getOwner() {\n java.lang.Object ref = owner_;\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 owner_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public long getOwner() {\n\t\treturn owner;\n\t}", "public final String getOwnerName() {\n return ElementUtils.getDeclaringClassName(node);\n }", "@Column (name=\"OWNER\", insertable = true, updatable = false)\r\n\tpublic String getOwner() {\r\n\t\treturn owner;\r\n\t}", "public synchronized void setOwner(String s) {\n owner = s;\n }", "public java.lang.String getOwnerId() {\r\n return ownerId;\r\n }", "public String getOwnerId() {\n return ownerId;\n }", "public void setOwnerName(String ownerName) {\r\n\t\tthis.ownerName = ownerName;\r\n\t}", "public void setOwnerName(String ownerName) {\r\n\t\tthis.ownerName = ownerName;\r\n\t}", "public void setOwnerId(String ownerId) {\n this.ownerId = ownerId;\n }", "@java.lang.Override\n public java.lang.String getOwner() {\n java.lang.Object ref = owner_;\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 owner_ = s;\n return s;\n }\n }", "@java.lang.Override\n public java.lang.String getOwner() {\n java.lang.Object ref = owner_;\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 owner_ = s;\n return s;\n }\n }", "public Builder setOwner(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n\n owner_ = value;\n onChanged();\n return this;\n }", "public Builder setOwner(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n\n owner_ = value;\n onChanged();\n return this;\n }", "@JsonSetter(\"owner\")\r\n public void setOwner(String owner) {\r\n this.owner = owner;\r\n }", "public UUID getOwner() {\n return owner;\n }", "public UUID getOwner() {\n return owner;\n }", "public interface Owner {\n\n /**\n * Returns the unique owner ID of this object. This ID is used to separate\n * different owners from each other.\n * \n * @return the unique owner ID\n */\n int getOwnerID();\n\n /**\n * @return a descriptive name of the owner (for printing, debugging, etc.)\n */\n String getName();\n\n}", "public String getOwnerString() {\n return String.valueOf(enteredBy);\n }", "default String getOwnerId()\n {\n return Long.toUnsignedString(getOwnerIdLong());\n }", "public void setOwner(Owner owner) {\n this.owner = owner;\n }", "public String getOwner(){\n\t\treturn new SmartAPIModel().getCpOwner(cp.getLocalName());\n\t}", "User getOwner();", "@JsonGetter(\"owner\")\r\n public String getOwner() {\r\n return owner;\r\n }", "@objid (\"8b942215-f0a1-454e-9f8a-596315ee40d5\")\n Instance getOwner();", "final int GetOwner() {\n return owner;\n }", "com.google.protobuf.ByteString getOwner();", "com.google.protobuf.ByteString getOwner();", "public void setOwner(String newOwner) {\n\t\t_pcs.firePropertyChange(\"owner\", this.owner, newOwner); //$NON-NLS-1$\n\t\tthis.owner = newOwner;\n\t}", "public void setOwnerId(java.lang.String ownerId) {\r\n this.ownerId = ownerId;\r\n }", "public void setOwner(User owner) {\n this.owner = owner;\n }", "public synchronized static String getOwner() {\n return owner;\n }", "public void setOwner(Person owner)\n {\n this.owner = owner;\n }", "int getOwnerID();", "public String getOwnerHref() {\n return ownerHref;\n }", "String getHandOwner();", "public Owner getOwner() {\n return owner;\n }", "public String getDataOwner();", "public OwnerReference getOwnerReference() {\n return new OwnerReferenceBuilder()\n .withController(true)\n .withApiVersion(getApiVersion())\n .withKind(getKind())\n .withName(getMetaName())\n .withUid(getMetadata().getUid())\n .build();\n }", "public Owner getOwner()\n {\n return owner;\n }", "public void setOwner(com.sforce.soap.enterprise.sobject.SObject owner) {\r\n this.owner = owner;\r\n }", "public int getOwnerID() {\r\n\t\treturn ownerID;\r\n\t}", "@java.lang.Override\n public com.google.protobuf.ByteString\n getOwnerBytes() {\n java.lang.Object ref = owner_;\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 owner_ = 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 getOwnerBytes() {\n java.lang.Object ref = owner_;\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 owner_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "public final String getOwnerNameWithoutPackage() {\n return ElementUtils.getDeclaringClassNameWithoutPackage(node);\n }", "public String getOwnerType() {\n\t\treturn ownerType;\n\t}" ]
[ "0.75407934", "0.75407934", "0.74065536", "0.73466945", "0.73466945", "0.7311053", "0.7311053", "0.7311053", "0.7311053", "0.7263259", "0.7213029", "0.7118967", "0.7112759", "0.7107489", "0.70584834", "0.7019887", "0.70074487", "0.69962007", "0.698706", "0.69788957", "0.697594", "0.69668484", "0.69505423", "0.69505423", "0.6945902", "0.691211", "0.691211", "0.691211", "0.691211", "0.691211", "0.691211", "0.6911764", "0.6885357", "0.6854573", "0.6781322", "0.6775824", "0.6748939", "0.6729221", "0.6698837", "0.6697248", "0.66964847", "0.66933", "0.66756", "0.66747534", "0.6647751", "0.66408736", "0.6621013", "0.6601264", "0.65922177", "0.6558556", "0.6543966", "0.6501517", "0.6477338", "0.6476864", "0.6453348", "0.6451658", "0.6423627", "0.63971823", "0.63694674", "0.6367561", "0.6364921", "0.6364921", "0.6360787", "0.6343424", "0.63428575", "0.63074654", "0.63074654", "0.62923425", "0.6279634", "0.6279634", "0.6277894", "0.6266074", "0.626146", "0.62283397", "0.62242776", "0.6219216", "0.6211749", "0.6209155", "0.6198026", "0.61691684", "0.61691684", "0.6168147", "0.6161632", "0.6144825", "0.6106978", "0.6105473", "0.61036485", "0.6099844", "0.60854083", "0.6080756", "0.6066904", "0.60624945", "0.60612667", "0.59760445", "0.59749985", "0.59659946", "0.59659946", "0.5952078", "0.5927696" ]
0.62493145
73
Short alias or acronym of the owner of the node string owner = 1;
public Builder setOwner( java.lang.String value) { if (value == null) { throw new NullPointerException(); } owner_ = value; onChanged(); return this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "java.lang.String getOwner();", "java.lang.String getOwner();", "public void setOwner (String owner) {\n\t\tthis.owner=owner;\n\t}", "String getOwner();", "String getOwner();", "public void setOwner(String owner) {\n this.owner = owner;\n }", "public void setOwner(String owner) {\n this.owner = owner;\n }", "public void setOwner(String owner) {\n this.owner = owner;\n }", "public void setOwner(String owner) {\n this.owner = owner;\n }", "public String getOwner();", "@DISPID(33)\r\n\t// = 0x21. The runtime will prefer the VTID if present\r\n\t@VTID(38)\r\n\tjava.lang.String owner();", "public String getOwner() {\r\n if (mOwner==null) {\r\n return \"n/a\";\r\n }\r\n return mOwner;\r\n }", "void setOwner(String owner);", "public String getOwner() { return owner; }", "public String getownerName() {\n\t return this.ownerName;\n\t}", "public void setOwner(String owner) {\n mOwner = owner;\n }", "public String getOwner(){\n return owner;\r\n }", "@DISPID(75)\r\n\t// = 0x4b. The runtime will prefer the VTID if present\r\n\t@VTID(73)\r\n\tjava.lang.String owner();", "public String getOwner() {\r\n return owner;\r\n }", "public String getOwner() {\r\n\t\treturn owner;\r\n\t}", "@Override\n\t\tpublic String ownerName() {\n\t\t\treturn \"Cat Owner\";\n\t\t}", "public void setOwner(String owner) {\r\n this.owner = owner == null ? null : owner.trim();\r\n }", "public void setOwner(String owner) {\n this.owner = owner == null ? null : owner.trim();\n }", "public void setOwner(String owner) {\n this.owner = owner == null ? null : owner.trim();\n }", "public String getOwnerName() {\r\n return this.ownerName;\r\n }", "public String getOwner() {\n return owner;\n }", "public String getOwner() {\n return owner;\n }", "public String getOwner() {\n return owner;\n }", "public String getOwner() {\n return owner;\n }", "public String getOwner() {\n return owner;\n }", "public String getOwner() {\n return owner;\n }", "@Column(name=\"owner\")\n\tpublic String getOwner() {\n\t\treturn owner;\n\t}", "public String getOwner() {\n\n return owner;\n\n }", "public String owner() {\n return this.owner;\n }", "@Override\n\t\tpublic String ownerName() {\n\t\t\treturn \"Tiger Owner\";\n\t\t}", "public String ownerName() {\n\t\t\treturn null;\n\t\t}", "public void changeOwner(String o){\n owner = o;\r\n }", "Optional<String> getOwner();", "public String getOwner() {\n\n return Owner;\n }", "public String getOwnerName() {\r\n\t\treturn ownerName;\r\n\t}", "public void setOwnerName(String name) {\r\n this.ownerName = name;\r\n }", "public String getOwner() {\n return mOwner;\n }", "@Override\n\t\tpublic String ownerName() {\n\t\t\treturn \"Dog Owner\";\n\t\t}", "public void setOwner(String mOwner) {\r\n this.mOwner = mOwner;\r\n }", "public void setOwner(int owner) { this.owner = owner; }", "public java.lang.String getOwnername() {\n\treturn ownername;\n}", "public String getOwnerName() {\n\t\treturn ownerName;\n\t}", "public void setownerName(String ownerName) {\n\t this.ownerName = ownerName;\n\t}", "public String getOwnerName() {\n\n return ownerName;\n }", "public void setOwnerName( String name ) {\n\n ownerName = name;\n }", "public void setOwnerString(String s) {\n ownerString = s;\r\n }", "public void setOwnername(java.lang.String newOwnername) {\n\townername = newOwnername;\n}", "public java.lang.String getOwner() {\n java.lang.Object ref = owner_;\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 owner_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getOwner() {\n java.lang.Object ref = owner_;\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 owner_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public long getOwner() {\n\t\treturn owner;\n\t}", "public final String getOwnerName() {\n return ElementUtils.getDeclaringClassName(node);\n }", "@Column (name=\"OWNER\", insertable = true, updatable = false)\r\n\tpublic String getOwner() {\r\n\t\treturn owner;\r\n\t}", "public synchronized void setOwner(String s) {\n owner = s;\n }", "public java.lang.String getOwnerId() {\r\n return ownerId;\r\n }", "public String getOwnerId() {\n return ownerId;\n }", "public void setOwnerName(String ownerName) {\r\n\t\tthis.ownerName = ownerName;\r\n\t}", "public void setOwnerName(String ownerName) {\r\n\t\tthis.ownerName = ownerName;\r\n\t}", "public void setOwnerId(String ownerId) {\n this.ownerId = ownerId;\n }", "@java.lang.Override\n public java.lang.String getOwner() {\n java.lang.Object ref = owner_;\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 owner_ = s;\n return s;\n }\n }", "@java.lang.Override\n public java.lang.String getOwner() {\n java.lang.Object ref = owner_;\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 owner_ = s;\n return s;\n }\n }", "@JsonSetter(\"owner\")\r\n public void setOwner(String owner) {\r\n this.owner = owner;\r\n }", "public UUID getOwner() {\n return owner;\n }", "public UUID getOwner() {\n return owner;\n }", "public interface Owner {\n\n /**\n * Returns the unique owner ID of this object. This ID is used to separate\n * different owners from each other.\n * \n * @return the unique owner ID\n */\n int getOwnerID();\n\n /**\n * @return a descriptive name of the owner (for printing, debugging, etc.)\n */\n String getName();\n\n}", "public String getOwnerString() {\n return String.valueOf(enteredBy);\n }", "default String getOwnerId()\n {\n return Long.toUnsignedString(getOwnerIdLong());\n }", "public com.google.protobuf.ByteString\n getOwnerBytes() {\n java.lang.Object ref = owner_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b =\n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n owner_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "public com.google.protobuf.ByteString\n getOwnerBytes() {\n java.lang.Object ref = owner_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b =\n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n owner_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "public void setOwner(Owner owner) {\n this.owner = owner;\n }", "public String getOwner(){\n\t\treturn new SmartAPIModel().getCpOwner(cp.getLocalName());\n\t}", "User getOwner();", "@JsonGetter(\"owner\")\r\n public String getOwner() {\r\n return owner;\r\n }", "@objid (\"8b942215-f0a1-454e-9f8a-596315ee40d5\")\n Instance getOwner();", "final int GetOwner() {\n return owner;\n }", "com.google.protobuf.ByteString getOwner();", "com.google.protobuf.ByteString getOwner();", "public void setOwner(String newOwner) {\n\t\t_pcs.firePropertyChange(\"owner\", this.owner, newOwner); //$NON-NLS-1$\n\t\tthis.owner = newOwner;\n\t}", "public void setOwnerId(java.lang.String ownerId) {\r\n this.ownerId = ownerId;\r\n }", "public void setOwner(User owner) {\n this.owner = owner;\n }", "public synchronized static String getOwner() {\n return owner;\n }", "int getOwnerID();", "public void setOwner(Person owner)\n {\n this.owner = owner;\n }", "public String getOwnerHref() {\n return ownerHref;\n }", "String getHandOwner();", "public Owner getOwner() {\n return owner;\n }", "public String getDataOwner();", "public OwnerReference getOwnerReference() {\n return new OwnerReferenceBuilder()\n .withController(true)\n .withApiVersion(getApiVersion())\n .withKind(getKind())\n .withName(getMetaName())\n .withUid(getMetadata().getUid())\n .build();\n }", "public Owner getOwner()\n {\n return owner;\n }", "public int getOwnerID() {\r\n\t\treturn ownerID;\r\n\t}", "public void setOwner(com.sforce.soap.enterprise.sobject.SObject owner) {\r\n this.owner = owner;\r\n }", "@java.lang.Override\n public com.google.protobuf.ByteString\n getOwnerBytes() {\n java.lang.Object ref = owner_;\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 owner_ = 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 getOwnerBytes() {\n java.lang.Object ref = owner_;\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 owner_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "public final String getOwnerNameWithoutPackage() {\n return ElementUtils.getDeclaringClassNameWithoutPackage(node);\n }", "public String getOwnerType() {\n\t\treturn ownerType;\n\t}" ]
[ "0.7541952", "0.7541952", "0.7404938", "0.73477423", "0.73477423", "0.73094344", "0.73094344", "0.73094344", "0.73094344", "0.7264176", "0.72127324", "0.71200573", "0.71115613", "0.7107754", "0.70586705", "0.7018213", "0.700771", "0.6995917", "0.69870716", "0.69787616", "0.6976896", "0.6965988", "0.694967", "0.694967", "0.6946298", "0.6912108", "0.6912108", "0.6912108", "0.6912108", "0.6912108", "0.6912108", "0.691131", "0.6885251", "0.68548006", "0.6782148", "0.67766124", "0.67476904", "0.6729878", "0.66988164", "0.6697488", "0.66957855", "0.66935015", "0.66760194", "0.6673469", "0.6645072", "0.66413873", "0.66212505", "0.66001266", "0.6592491", "0.65576", "0.65438765", "0.6501523", "0.64780265", "0.64775485", "0.6453189", "0.64521873", "0.6423255", "0.6396222", "0.6369413", "0.6367241", "0.63639116", "0.63639116", "0.63591945", "0.6344203", "0.6343639", "0.6290524", "0.6279667", "0.6279667", "0.62777317", "0.6266629", "0.6262634", "0.6249699", "0.6249699", "0.6226207", "0.6225365", "0.62197965", "0.62113315", "0.62094766", "0.6197586", "0.61697274", "0.61697274", "0.61675113", "0.61600786", "0.6143016", "0.61072075", "0.6104353", "0.6103295", "0.6101519", "0.60864174", "0.60804147", "0.6067694", "0.6063714", "0.6061149", "0.5974254", "0.59740484", "0.5966696", "0.5966696", "0.595344", "0.5926654" ]
0.63067675
65
Short alias or acronym of the owner of the node string owner = 1;
public Builder clearOwner() { owner_ = getDefaultInstance().getOwner(); onChanged(); return this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "java.lang.String getOwner();", "java.lang.String getOwner();", "public void setOwner (String owner) {\n\t\tthis.owner=owner;\n\t}", "String getOwner();", "String getOwner();", "public void setOwner(String owner) {\n this.owner = owner;\n }", "public void setOwner(String owner) {\n this.owner = owner;\n }", "public void setOwner(String owner) {\n this.owner = owner;\n }", "public void setOwner(String owner) {\n this.owner = owner;\n }", "public String getOwner();", "@DISPID(33)\r\n\t// = 0x21. The runtime will prefer the VTID if present\r\n\t@VTID(38)\r\n\tjava.lang.String owner();", "public String getOwner() {\r\n if (mOwner==null) {\r\n return \"n/a\";\r\n }\r\n return mOwner;\r\n }", "void setOwner(String owner);", "public String getOwner() { return owner; }", "public String getownerName() {\n\t return this.ownerName;\n\t}", "public void setOwner(String owner) {\n mOwner = owner;\n }", "public String getOwner(){\n return owner;\r\n }", "@DISPID(75)\r\n\t// = 0x4b. The runtime will prefer the VTID if present\r\n\t@VTID(73)\r\n\tjava.lang.String owner();", "public String getOwner() {\r\n return owner;\r\n }", "public String getOwner() {\r\n\t\treturn owner;\r\n\t}", "@Override\n\t\tpublic String ownerName() {\n\t\t\treturn \"Cat Owner\";\n\t\t}", "public void setOwner(String owner) {\r\n this.owner = owner == null ? null : owner.trim();\r\n }", "public void setOwner(String owner) {\n this.owner = owner == null ? null : owner.trim();\n }", "public void setOwner(String owner) {\n this.owner = owner == null ? null : owner.trim();\n }", "public String getOwnerName() {\r\n return this.ownerName;\r\n }", "public String getOwner() {\n return owner;\n }", "public String getOwner() {\n return owner;\n }", "public String getOwner() {\n return owner;\n }", "public String getOwner() {\n return owner;\n }", "public String getOwner() {\n return owner;\n }", "public String getOwner() {\n return owner;\n }", "@Column(name=\"owner\")\n\tpublic String getOwner() {\n\t\treturn owner;\n\t}", "public String getOwner() {\n\n return owner;\n\n }", "public String owner() {\n return this.owner;\n }", "@Override\n\t\tpublic String ownerName() {\n\t\t\treturn \"Tiger Owner\";\n\t\t}", "public String ownerName() {\n\t\t\treturn null;\n\t\t}", "public void changeOwner(String o){\n owner = o;\r\n }", "Optional<String> getOwner();", "public String getOwner() {\n\n return Owner;\n }", "public String getOwnerName() {\r\n\t\treturn ownerName;\r\n\t}", "public void setOwnerName(String name) {\r\n this.ownerName = name;\r\n }", "public String getOwner() {\n return mOwner;\n }", "@Override\n\t\tpublic String ownerName() {\n\t\t\treturn \"Dog Owner\";\n\t\t}", "public void setOwner(String mOwner) {\r\n this.mOwner = mOwner;\r\n }", "public void setOwner(int owner) { this.owner = owner; }", "public java.lang.String getOwnername() {\n\treturn ownername;\n}", "public String getOwnerName() {\n\t\treturn ownerName;\n\t}", "public void setownerName(String ownerName) {\n\t this.ownerName = ownerName;\n\t}", "public String getOwnerName() {\n\n return ownerName;\n }", "public void setOwnerName( String name ) {\n\n ownerName = name;\n }", "public void setOwnerString(String s) {\n ownerString = s;\r\n }", "public void setOwnername(java.lang.String newOwnername) {\n\townername = newOwnername;\n}", "public java.lang.String getOwner() {\n java.lang.Object ref = owner_;\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 owner_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getOwner() {\n java.lang.Object ref = owner_;\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 owner_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public long getOwner() {\n\t\treturn owner;\n\t}", "public final String getOwnerName() {\n return ElementUtils.getDeclaringClassName(node);\n }", "@Column (name=\"OWNER\", insertable = true, updatable = false)\r\n\tpublic String getOwner() {\r\n\t\treturn owner;\r\n\t}", "public synchronized void setOwner(String s) {\n owner = s;\n }", "public java.lang.String getOwnerId() {\r\n return ownerId;\r\n }", "public String getOwnerId() {\n return ownerId;\n }", "public void setOwnerName(String ownerName) {\r\n\t\tthis.ownerName = ownerName;\r\n\t}", "public void setOwnerName(String ownerName) {\r\n\t\tthis.ownerName = ownerName;\r\n\t}", "public void setOwnerId(String ownerId) {\n this.ownerId = ownerId;\n }", "@java.lang.Override\n public java.lang.String getOwner() {\n java.lang.Object ref = owner_;\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 owner_ = s;\n return s;\n }\n }", "@java.lang.Override\n public java.lang.String getOwner() {\n java.lang.Object ref = owner_;\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 owner_ = s;\n return s;\n }\n }", "public Builder setOwner(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n\n owner_ = value;\n onChanged();\n return this;\n }", "public Builder setOwner(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n\n owner_ = value;\n onChanged();\n return this;\n }", "@JsonSetter(\"owner\")\r\n public void setOwner(String owner) {\r\n this.owner = owner;\r\n }", "public UUID getOwner() {\n return owner;\n }", "public UUID getOwner() {\n return owner;\n }", "public interface Owner {\n\n /**\n * Returns the unique owner ID of this object. This ID is used to separate\n * different owners from each other.\n * \n * @return the unique owner ID\n */\n int getOwnerID();\n\n /**\n * @return a descriptive name of the owner (for printing, debugging, etc.)\n */\n String getName();\n\n}", "public String getOwnerString() {\n return String.valueOf(enteredBy);\n }", "default String getOwnerId()\n {\n return Long.toUnsignedString(getOwnerIdLong());\n }", "public com.google.protobuf.ByteString\n getOwnerBytes() {\n java.lang.Object ref = owner_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b =\n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n owner_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "public com.google.protobuf.ByteString\n getOwnerBytes() {\n java.lang.Object ref = owner_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b =\n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n owner_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "public void setOwner(Owner owner) {\n this.owner = owner;\n }", "public String getOwner(){\n\t\treturn new SmartAPIModel().getCpOwner(cp.getLocalName());\n\t}", "User getOwner();", "@JsonGetter(\"owner\")\r\n public String getOwner() {\r\n return owner;\r\n }", "@objid (\"8b942215-f0a1-454e-9f8a-596315ee40d5\")\n Instance getOwner();", "final int GetOwner() {\n return owner;\n }", "com.google.protobuf.ByteString getOwner();", "com.google.protobuf.ByteString getOwner();", "public void setOwner(String newOwner) {\n\t\t_pcs.firePropertyChange(\"owner\", this.owner, newOwner); //$NON-NLS-1$\n\t\tthis.owner = newOwner;\n\t}", "public void setOwnerId(java.lang.String ownerId) {\r\n this.ownerId = ownerId;\r\n }", "public void setOwner(User owner) {\n this.owner = owner;\n }", "public synchronized static String getOwner() {\n return owner;\n }", "public void setOwner(Person owner)\n {\n this.owner = owner;\n }", "int getOwnerID();", "public String getOwnerHref() {\n return ownerHref;\n }", "String getHandOwner();", "public Owner getOwner() {\n return owner;\n }", "public String getDataOwner();", "public OwnerReference getOwnerReference() {\n return new OwnerReferenceBuilder()\n .withController(true)\n .withApiVersion(getApiVersion())\n .withKind(getKind())\n .withName(getMetaName())\n .withUid(getMetadata().getUid())\n .build();\n }", "public Owner getOwner()\n {\n return owner;\n }", "public void setOwner(com.sforce.soap.enterprise.sobject.SObject owner) {\r\n this.owner = owner;\r\n }", "public int getOwnerID() {\r\n\t\treturn ownerID;\r\n\t}", "@java.lang.Override\n public com.google.protobuf.ByteString\n getOwnerBytes() {\n java.lang.Object ref = owner_;\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 owner_ = 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 getOwnerBytes() {\n java.lang.Object ref = owner_;\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 owner_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "public final String getOwnerNameWithoutPackage() {\n return ElementUtils.getDeclaringClassNameWithoutPackage(node);\n }", "public String getOwnerType() {\n\t\treturn ownerType;\n\t}" ]
[ "0.75407934", "0.75407934", "0.74065536", "0.73466945", "0.73466945", "0.7311053", "0.7311053", "0.7311053", "0.7311053", "0.7263259", "0.7213029", "0.7118967", "0.7112759", "0.7107489", "0.70584834", "0.7019887", "0.70074487", "0.69962007", "0.698706", "0.69788957", "0.697594", "0.69668484", "0.69505423", "0.69505423", "0.6945902", "0.691211", "0.691211", "0.691211", "0.691211", "0.691211", "0.691211", "0.6911764", "0.6885357", "0.6854573", "0.6781322", "0.6775824", "0.6748939", "0.6729221", "0.6698837", "0.6697248", "0.66964847", "0.66933", "0.66756", "0.66747534", "0.6647751", "0.66408736", "0.6621013", "0.6601264", "0.65922177", "0.6558556", "0.6543966", "0.6501517", "0.6477338", "0.6476864", "0.6453348", "0.6451658", "0.6423627", "0.63971823", "0.63694674", "0.6367561", "0.6364921", "0.6364921", "0.6360787", "0.6343424", "0.63428575", "0.63074654", "0.63074654", "0.62923425", "0.6279634", "0.6279634", "0.6277894", "0.6266074", "0.626146", "0.62493145", "0.62493145", "0.62283397", "0.62242776", "0.6219216", "0.6211749", "0.6209155", "0.6198026", "0.61691684", "0.61691684", "0.6168147", "0.6161632", "0.6144825", "0.6106978", "0.6105473", "0.61036485", "0.6099844", "0.60854083", "0.6080756", "0.6066904", "0.60624945", "0.60612667", "0.59760445", "0.59749985", "0.59659946", "0.59659946", "0.5952078", "0.5927696" ]
0.0
-1
Short alias or acronym of the owner of the node string owner = 1;
public Builder setOwnerBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); owner_ = value; onChanged(); return this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "java.lang.String getOwner();", "java.lang.String getOwner();", "public void setOwner (String owner) {\n\t\tthis.owner=owner;\n\t}", "String getOwner();", "String getOwner();", "public void setOwner(String owner) {\n this.owner = owner;\n }", "public void setOwner(String owner) {\n this.owner = owner;\n }", "public void setOwner(String owner) {\n this.owner = owner;\n }", "public void setOwner(String owner) {\n this.owner = owner;\n }", "public String getOwner();", "@DISPID(33)\r\n\t// = 0x21. The runtime will prefer the VTID if present\r\n\t@VTID(38)\r\n\tjava.lang.String owner();", "public String getOwner() {\r\n if (mOwner==null) {\r\n return \"n/a\";\r\n }\r\n return mOwner;\r\n }", "void setOwner(String owner);", "public String getOwner() { return owner; }", "public String getownerName() {\n\t return this.ownerName;\n\t}", "public void setOwner(String owner) {\n mOwner = owner;\n }", "public String getOwner(){\n return owner;\r\n }", "@DISPID(75)\r\n\t// = 0x4b. The runtime will prefer the VTID if present\r\n\t@VTID(73)\r\n\tjava.lang.String owner();", "public String getOwner() {\r\n return owner;\r\n }", "public String getOwner() {\r\n\t\treturn owner;\r\n\t}", "@Override\n\t\tpublic String ownerName() {\n\t\t\treturn \"Cat Owner\";\n\t\t}", "public void setOwner(String owner) {\r\n this.owner = owner == null ? null : owner.trim();\r\n }", "public void setOwner(String owner) {\n this.owner = owner == null ? null : owner.trim();\n }", "public void setOwner(String owner) {\n this.owner = owner == null ? null : owner.trim();\n }", "public String getOwnerName() {\r\n return this.ownerName;\r\n }", "public String getOwner() {\n return owner;\n }", "public String getOwner() {\n return owner;\n }", "public String getOwner() {\n return owner;\n }", "public String getOwner() {\n return owner;\n }", "public String getOwner() {\n return owner;\n }", "public String getOwner() {\n return owner;\n }", "@Column(name=\"owner\")\n\tpublic String getOwner() {\n\t\treturn owner;\n\t}", "public String getOwner() {\n\n return owner;\n\n }", "public String owner() {\n return this.owner;\n }", "@Override\n\t\tpublic String ownerName() {\n\t\t\treturn \"Tiger Owner\";\n\t\t}", "public String ownerName() {\n\t\t\treturn null;\n\t\t}", "public void changeOwner(String o){\n owner = o;\r\n }", "Optional<String> getOwner();", "public String getOwner() {\n\n return Owner;\n }", "public String getOwnerName() {\r\n\t\treturn ownerName;\r\n\t}", "public void setOwnerName(String name) {\r\n this.ownerName = name;\r\n }", "public String getOwner() {\n return mOwner;\n }", "@Override\n\t\tpublic String ownerName() {\n\t\t\treturn \"Dog Owner\";\n\t\t}", "public void setOwner(String mOwner) {\r\n this.mOwner = mOwner;\r\n }", "public void setOwner(int owner) { this.owner = owner; }", "public java.lang.String getOwnername() {\n\treturn ownername;\n}", "public String getOwnerName() {\n\t\treturn ownerName;\n\t}", "public void setownerName(String ownerName) {\n\t this.ownerName = ownerName;\n\t}", "public String getOwnerName() {\n\n return ownerName;\n }", "public void setOwnerName( String name ) {\n\n ownerName = name;\n }", "public void setOwnerString(String s) {\n ownerString = s;\r\n }", "public void setOwnername(java.lang.String newOwnername) {\n\townername = newOwnername;\n}", "public java.lang.String getOwner() {\n java.lang.Object ref = owner_;\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 owner_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getOwner() {\n java.lang.Object ref = owner_;\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 owner_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public long getOwner() {\n\t\treturn owner;\n\t}", "public final String getOwnerName() {\n return ElementUtils.getDeclaringClassName(node);\n }", "@Column (name=\"OWNER\", insertable = true, updatable = false)\r\n\tpublic String getOwner() {\r\n\t\treturn owner;\r\n\t}", "public synchronized void setOwner(String s) {\n owner = s;\n }", "public java.lang.String getOwnerId() {\r\n return ownerId;\r\n }", "public String getOwnerId() {\n return ownerId;\n }", "public void setOwnerName(String ownerName) {\r\n\t\tthis.ownerName = ownerName;\r\n\t}", "public void setOwnerName(String ownerName) {\r\n\t\tthis.ownerName = ownerName;\r\n\t}", "public void setOwnerId(String ownerId) {\n this.ownerId = ownerId;\n }", "@java.lang.Override\n public java.lang.String getOwner() {\n java.lang.Object ref = owner_;\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 owner_ = s;\n return s;\n }\n }", "@java.lang.Override\n public java.lang.String getOwner() {\n java.lang.Object ref = owner_;\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 owner_ = s;\n return s;\n }\n }", "public Builder setOwner(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n\n owner_ = value;\n onChanged();\n return this;\n }", "public Builder setOwner(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n\n owner_ = value;\n onChanged();\n return this;\n }", "@JsonSetter(\"owner\")\r\n public void setOwner(String owner) {\r\n this.owner = owner;\r\n }", "public UUID getOwner() {\n return owner;\n }", "public UUID getOwner() {\n return owner;\n }", "public interface Owner {\n\n /**\n * Returns the unique owner ID of this object. This ID is used to separate\n * different owners from each other.\n * \n * @return the unique owner ID\n */\n int getOwnerID();\n\n /**\n * @return a descriptive name of the owner (for printing, debugging, etc.)\n */\n String getName();\n\n}", "public String getOwnerString() {\n return String.valueOf(enteredBy);\n }", "default String getOwnerId()\n {\n return Long.toUnsignedString(getOwnerIdLong());\n }", "public com.google.protobuf.ByteString\n getOwnerBytes() {\n java.lang.Object ref = owner_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b =\n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n owner_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "public com.google.protobuf.ByteString\n getOwnerBytes() {\n java.lang.Object ref = owner_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b =\n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n owner_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "public void setOwner(Owner owner) {\n this.owner = owner;\n }", "public String getOwner(){\n\t\treturn new SmartAPIModel().getCpOwner(cp.getLocalName());\n\t}", "User getOwner();", "@JsonGetter(\"owner\")\r\n public String getOwner() {\r\n return owner;\r\n }", "@objid (\"8b942215-f0a1-454e-9f8a-596315ee40d5\")\n Instance getOwner();", "final int GetOwner() {\n return owner;\n }", "com.google.protobuf.ByteString getOwner();", "com.google.protobuf.ByteString getOwner();", "public void setOwner(String newOwner) {\n\t\t_pcs.firePropertyChange(\"owner\", this.owner, newOwner); //$NON-NLS-1$\n\t\tthis.owner = newOwner;\n\t}", "public void setOwnerId(java.lang.String ownerId) {\r\n this.ownerId = ownerId;\r\n }", "public void setOwner(User owner) {\n this.owner = owner;\n }", "public synchronized static String getOwner() {\n return owner;\n }", "public void setOwner(Person owner)\n {\n this.owner = owner;\n }", "int getOwnerID();", "public String getOwnerHref() {\n return ownerHref;\n }", "String getHandOwner();", "public Owner getOwner() {\n return owner;\n }", "public String getDataOwner();", "public OwnerReference getOwnerReference() {\n return new OwnerReferenceBuilder()\n .withController(true)\n .withApiVersion(getApiVersion())\n .withKind(getKind())\n .withName(getMetaName())\n .withUid(getMetadata().getUid())\n .build();\n }", "public Owner getOwner()\n {\n return owner;\n }", "public void setOwner(com.sforce.soap.enterprise.sobject.SObject owner) {\r\n this.owner = owner;\r\n }", "public int getOwnerID() {\r\n\t\treturn ownerID;\r\n\t}", "@java.lang.Override\n public com.google.protobuf.ByteString\n getOwnerBytes() {\n java.lang.Object ref = owner_;\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 owner_ = 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 getOwnerBytes() {\n java.lang.Object ref = owner_;\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 owner_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "public final String getOwnerNameWithoutPackage() {\n return ElementUtils.getDeclaringClassNameWithoutPackage(node);\n }", "public String getOwnerType() {\n\t\treturn ownerType;\n\t}" ]
[ "0.75407934", "0.75407934", "0.74065536", "0.73466945", "0.73466945", "0.7311053", "0.7311053", "0.7311053", "0.7311053", "0.7263259", "0.7213029", "0.7118967", "0.7112759", "0.7107489", "0.70584834", "0.7019887", "0.70074487", "0.69962007", "0.698706", "0.69788957", "0.697594", "0.69668484", "0.69505423", "0.69505423", "0.6945902", "0.691211", "0.691211", "0.691211", "0.691211", "0.691211", "0.691211", "0.6911764", "0.6885357", "0.6854573", "0.6781322", "0.6775824", "0.6748939", "0.6729221", "0.6698837", "0.6697248", "0.66964847", "0.66933", "0.66756", "0.66747534", "0.6647751", "0.66408736", "0.6621013", "0.6601264", "0.65922177", "0.6558556", "0.6543966", "0.6501517", "0.6477338", "0.6476864", "0.6453348", "0.6451658", "0.6423627", "0.63971823", "0.63694674", "0.6367561", "0.6364921", "0.6364921", "0.6360787", "0.6343424", "0.63428575", "0.63074654", "0.63074654", "0.62923425", "0.6279634", "0.6279634", "0.6277894", "0.6266074", "0.626146", "0.62493145", "0.62493145", "0.62283397", "0.62242776", "0.6219216", "0.6211749", "0.6209155", "0.6198026", "0.61691684", "0.61691684", "0.6168147", "0.6161632", "0.6144825", "0.6106978", "0.6105473", "0.61036485", "0.6099844", "0.60854083", "0.6080756", "0.6066904", "0.60624945", "0.60612667", "0.59760445", "0.59749985", "0.59659946", "0.59659946", "0.5952078", "0.5927696" ]
0.0
-1
Node index within the owner's nodes. Must be 1, 2, or 3 int32 index = 2;
@java.lang.Override public int getIndex() { return index_; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public long getNodeIndex();", "public int getNodeIndexAt(int index)\n {\n if (index < 0 || index > 1)\n {\n throw new IllegalArgumentException();\n }\n \n return this.nodeList[index];\n }", "entities.Torrent.NodeId getNodes(int index);", "public NodeExpr index()\n\t{\n\t\treturn _index;\n\t}", "io.netifi.proteus.admin.om.Node getNodes(int index);", "int node(final int index) {\r\n\t\tif (index < (size >> 1)) {\r\n\t\t\tint x = first;\r\n\t\t\tfor (long l = 0; l < index; l++) {\r\n\t\t\t\tx = getNextPointer(x);\r\n\t\t\t}\r\n\t\t\treturn x;\r\n\t\t} else {\r\n\t\t\tint x = last;\r\n\t\t\tfor (int i = size - 1; i > index; i--) {\r\n\t\t\t\tx = getPrevPointer(x);\r\n\t\t\t}\r\n\t\t\treturn x;\r\n\t\t}\r\n\t}", "private int getIndex(Entity entity){\n int currentIndex = 0;\n\n for(QuadTree node: this.getNodes()){\n\n /*PhysicsComponent bp = (PhysicsComponent)entity.getProperty(PhysicsComponent.ID);\n if( node.getBounds().contains(bp.getBounds())){\n return currentIndex;\n }*/\n currentIndex++;\n }\n return -1; // Subnode not found (part of the root then)\n }", "public int getIndex(){\r\n \treturn index;\r\n }", "private static int getNodeIndex(int index, int depth) {\n return (index >>> depth) & 0x1F;\n }", "private static String findNode(int index){\n return indexTable.get(index);\n }", "public ListNode findIndexNode(int index)\n {\n //should probably hande this by throwing an exception when head == null rather than using the if statement.\n if (head != null)\n {\n int counter = 0;\n ListNode iteratorNode = head;\n do\n { \n if (counter + 1 == index)\n {\n return iteratorNode;\n }\n if (iteratorNode.getNext() != null)\n {\n iteratorNode = iteratorNode.getNext();\n counter++;\n }\n } while(counter + 1 <= size);\n }\n return head;\n }", "public abstract int getNeighboursNumber(int index);", "public int indexNode(Node node) {\n if (!isEdge()) {\n return -1;\n }\n for (int i = 0; i < nbNode(); i++) {\n if (node.same(getNode(i))) {\n return i;\n }\n }\n return -1;\n }", "public int getIndex(TreeNode node) { \n for (int i=0; i<data.length; i++) \n if (data[i].equals(node)) return i; \n return -1; \n }", "public int getIndex(){\n\t\treturn index;\n\t}", "public int getIndex(){\n\t\treturn index;\n\t}", "public int getIndex(){\n\t\treturn index;\n\t}", "public int getIndex() {\r\n \t\t\treturn index;\r\n \t\t}", "public int getIndex(\n )\n {return index;}", "public int getIndex() {\n \t\treturn index;\n \t}", "private int parent(int index) {\n return index / 2;\n }", "private int parent(int index) {\n return index / 2;\n }", "public int getIndex(){\n return index;\n }", "public int getIndex(){\n return index;\n }", "private Node findNode(int index){\n Node current = start;\n for(int i = 0; i < index; i++){\n current = current.getNext();\n }\n return current;\n }", "public final int getIndex(){\n return index_;\n }", "int getIndex() {\n\t\treturn index;\n\t}", "public int getIndex()\n {\n return index;\n }", "public int getIndexNumber(){\n return id;\r\n }", "public int getOwnIndex() throws RemoteException {\r\n return ownIndex;\r\n }", "@Override public long nodeIndex() {\n throw new UnsupportedOperationException(\"Unsupported operation\");\n }", "public int getIndex() {\n return index;\n }", "public int getIndex() { return this.index; }", "int getIndex(){\r\n\t\treturn index;\r\n\t}", "@Override\r\n\tpublic int getIndex() {\n\t\treturn index;\r\n\t}", "private int getIndex() {\n\t\treturn this.index;\r\n\t}", "public int getIndex() {\r\n\t\treturn index;\r\n\t}", "public int getIndex()\n {\n return index;\n }", "entities.Torrent.NodeIdOrBuilder getNodesOrBuilder(\n int index);", "public int getIndex() {\r\n return index;\r\n }", "private int parentIdx(int idx) {\r\n // TODO\r\n return -1;\r\n }", "private int get_parent(int index){\r\n return (index-1)/2;\r\n }", "private Node getNodeAt(int index) {\n\t\tNode node = head;\n\t\t// follow the links between nodes until it counts off the right number\n\t\tfor (int i = 0; i < index; i++) {\n\t\t\tif (node == null) {\n\t\t\t\t// In case we run out of nodes before we get up to the desired index, return null\n\t\t\t\treturn null;\n\t\t\t}\n\t\t\tnode = node.getNext();\n\t\t}\n\t\treturn node;\n\t}", "public int getIndex() {\r\n return _index;\r\n }", "public int getIndex() {\r\n return _index;\r\n }", "public int getIndex() {\n\t\treturn index;\n\t}", "public int getIndex() {\n\t\treturn index;\n\t}", "public int getIndex() {\n\t\treturn index;\n\t}", "protected abstract int applyGetIndex(CControlManager mgr, CDasherNode node);", "@Override public int getNodeId(String name) {\n\t\tint id = node_index_.tryGet(name);\n\t\tif (id == -1) System.err.println(\"Unknown node name=\" + name);\n\t\treturn id;\n\t}", "private int getParentOf(int index) {\n // TODO: YOUR CODE HERE\n return index / 2;\n }", "protected final int getIndex() {\n return index;\n }", "public int getPlayerIndexOfOwner() {\n\t\tif (this.settlement == null) {\n\t\t\tif (this.city == null) {\n\t\t\t\treturn -1;\n\t\t\t}\n\t\t\telse {\n\t\t\t\treturn this.city.getPlayerIndex();\n\t\t\t}\n\t\t}\n\t\telse {\n\t\t\treturn this.settlement.getPlayerIndex();\n\t\t}\n\t}", "public int getIndex() {\n return index;\n }", "public int getIndex() {\n return index;\n }", "public int getIndex() {\n return index;\n }", "public int getIndex() {\n return index;\n }", "public int getIndex() {\n return index;\n }", "public int getIndex()\n {\n return m_index;\n }", "private ListNode nodeAt(int index) {\n\t\tListNode current = front;\n\t\tfor (int i = 0; i < index; i++) {\n\t\t\tcurrent = current.next;\n\t\t}\n\t\treturn current;\n\t}", "public int getIndex() {\n return index;\n }", "public int index();", "public abstract TreeNode getNode(int i);", "private int getIndex(int u) {\n int ind = -1;\n for (int i = 0; i < getGraphRep().size(); i++) {\n ArrayList subList = getGraphRep().get(i);\n String temp = (String) subList.get(0);\n int vert = Integer.parseInt(temp);\n if (vert == u) {\n ind = i;\n }\n }\n return ind;\n }", "public int getIndex() {\n\t\treturn 0;\n\t}", "private int getIndex(T target) {\r\n for (int i = 0; i < SIZE; i++) {\r\n if (tree[i] == target) {\r\n return i;\r\n }\r\n }\r\n return -1;\r\n }", "public Integer getIndex() {\n return index;\n }", "public int index() {\n\t\treturn this.index;\n\t}", "private Node<T> find(int index) throws IndexException {\n if (!isValid(index)) {\n throw new IndexException();\n }\n\n Node<T> node = head;\n int counter = 0;\n while (node != null && counter < index) {\n node = node.next;\n counter = counter + 1;\n }\n return node;\n }", "@Override\n public final int getIndex() {\n return index;\n }", "public abstract int getIndex();", "public int getIndex();", "public int getIndex();", "public int getIndex();", "public final Integer indexInParent() {\n Container p = getParent();\n return p==null ? null : p.indexOf(this);\n }", "int getIndex();", "int getIndex();", "int getIndex();", "int getIndex();", "int getIndex();", "int getIndex();", "int getIndex();", "int getIndex();", "int getIndex();", "int getIndex();", "int getIndex();", "int getIndex();", "int getIndex();", "public Integer index() {\n return this.index;\n }", "private int vertexIndex(T obj){\n for (int i = 0; i < n; i++){\n if (obj.equals(vertices[i])){\n return i;\n }\n }\n return NOT_FOUND;\n }", "int index();", "protected Node<U> getNodeAtIndex(int index) {\n\t\t\tNode<U> currNode;\n\n\t\t\tif (index < Math.ceil(mLength / 2)) {\n\t\t\t\tcurrNode = mHead;\n\t\t\t\tfor (int i = 0; i < index; ++i) {\n\t\t\t\t\tcurrNode = currNode.getNext();\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tcurrNode = mTail;\n\t\t\t\tfor (int i = mLength - 1; i > index; --i) {\n\t\t\t\t\tcurrNode = currNode.getPrev();\n\t\t\t\t}\n\t\t\t}\n\n\t\t\treturn currNode;\n\t\t}", "private Node find(int index)\n {\n Node curr = head;\n for(int i = 0; i < index; i++)\n {\n curr = curr.next;\n }\n return curr;\n }", "public int getIndex() {\n return index_;\n }", "public int getIndex() {\n return index_;\n }", "public int getIndex() {\n return index_;\n }", "public int getIndex() {\n return index_;\n }", "public int getIndex() {\n return index_;\n }", "public int getIndex() {\n return index_;\n }", "private Node getNth(int index) \n { \n int currIndex = 0;\n Node currNode = this.head.next;\n while(currIndex < index)\n {\n currNode = currNode.getNext();\n currIndex++;\n }\n return currNode;\n }", "private int getRoot(int index) {\n while(index < nodes.length && index != nodes[index]) {\n index = nodes[index];\n }\n return nodes[index];\n }" ]
[ "0.7500443", "0.68688774", "0.6756237", "0.67194885", "0.65622145", "0.65495247", "0.654598", "0.6371059", "0.6346452", "0.63256186", "0.631888", "0.6302094", "0.6295798", "0.6287246", "0.62847424", "0.62847424", "0.62847424", "0.6279708", "0.6261193", "0.6251442", "0.6242739", "0.6242739", "0.6241857", "0.6241857", "0.6208733", "0.6206022", "0.62011683", "0.6183654", "0.61591274", "0.61529624", "0.6147137", "0.6143392", "0.6141713", "0.6135582", "0.61225814", "0.61166406", "0.6107651", "0.6104165", "0.61005926", "0.60946685", "0.60822815", "0.60812014", "0.6074412", "0.6068814", "0.6068814", "0.6063961", "0.6063961", "0.6063961", "0.6060916", "0.6053954", "0.6040153", "0.6031262", "0.6022122", "0.60192233", "0.60192233", "0.60192233", "0.60192233", "0.60192233", "0.6015835", "0.600992", "0.59980476", "0.5992838", "0.5992139", "0.59911066", "0.5983856", "0.5981232", "0.5947162", "0.5941781", "0.5940249", "0.59331936", "0.5924577", "0.59192735", "0.59192735", "0.59192735", "0.5912432", "0.59101737", "0.59101737", "0.59101737", "0.59101737", "0.59101737", "0.59101737", "0.59101737", "0.59101737", "0.59101737", "0.59101737", "0.59101737", "0.59101737", "0.59101737", "0.5905022", "0.5899277", "0.58960223", "0.589121", "0.58909345", "0.5889975", "0.5889975", "0.5889975", "0.5889975", "0.5889975", "0.5889975", "0.58897495", "0.58852684" ]
0.0
-1
Node index within the owner's nodes. Must be 1, 2, or 3 int32 index = 2;
public Builder setIndex(int value) { index_ = value; onChanged(); return this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public long getNodeIndex();", "public int getNodeIndexAt(int index)\n {\n if (index < 0 || index > 1)\n {\n throw new IllegalArgumentException();\n }\n \n return this.nodeList[index];\n }", "entities.Torrent.NodeId getNodes(int index);", "public NodeExpr index()\n\t{\n\t\treturn _index;\n\t}", "io.netifi.proteus.admin.om.Node getNodes(int index);", "int node(final int index) {\r\n\t\tif (index < (size >> 1)) {\r\n\t\t\tint x = first;\r\n\t\t\tfor (long l = 0; l < index; l++) {\r\n\t\t\t\tx = getNextPointer(x);\r\n\t\t\t}\r\n\t\t\treturn x;\r\n\t\t} else {\r\n\t\t\tint x = last;\r\n\t\t\tfor (int i = size - 1; i > index; i--) {\r\n\t\t\t\tx = getPrevPointer(x);\r\n\t\t\t}\r\n\t\t\treturn x;\r\n\t\t}\r\n\t}", "private int getIndex(Entity entity){\n int currentIndex = 0;\n\n for(QuadTree node: this.getNodes()){\n\n /*PhysicsComponent bp = (PhysicsComponent)entity.getProperty(PhysicsComponent.ID);\n if( node.getBounds().contains(bp.getBounds())){\n return currentIndex;\n }*/\n currentIndex++;\n }\n return -1; // Subnode not found (part of the root then)\n }", "public int getIndex(){\r\n \treturn index;\r\n }", "private static int getNodeIndex(int index, int depth) {\n return (index >>> depth) & 0x1F;\n }", "private static String findNode(int index){\n return indexTable.get(index);\n }", "public ListNode findIndexNode(int index)\n {\n //should probably hande this by throwing an exception when head == null rather than using the if statement.\n if (head != null)\n {\n int counter = 0;\n ListNode iteratorNode = head;\n do\n { \n if (counter + 1 == index)\n {\n return iteratorNode;\n }\n if (iteratorNode.getNext() != null)\n {\n iteratorNode = iteratorNode.getNext();\n counter++;\n }\n } while(counter + 1 <= size);\n }\n return head;\n }", "public abstract int getNeighboursNumber(int index);", "public int indexNode(Node node) {\n if (!isEdge()) {\n return -1;\n }\n for (int i = 0; i < nbNode(); i++) {\n if (node.same(getNode(i))) {\n return i;\n }\n }\n return -1;\n }", "public int getIndex(TreeNode node) { \n for (int i=0; i<data.length; i++) \n if (data[i].equals(node)) return i; \n return -1; \n }", "public int getIndex(){\n\t\treturn index;\n\t}", "public int getIndex(){\n\t\treturn index;\n\t}", "public int getIndex(){\n\t\treturn index;\n\t}", "public int getIndex() {\r\n \t\t\treturn index;\r\n \t\t}", "public int getIndex(\n )\n {return index;}", "public int getIndex() {\n \t\treturn index;\n \t}", "private int parent(int index) {\n return index / 2;\n }", "private int parent(int index) {\n return index / 2;\n }", "public int getIndex(){\n return index;\n }", "public int getIndex(){\n return index;\n }", "private Node findNode(int index){\n Node current = start;\n for(int i = 0; i < index; i++){\n current = current.getNext();\n }\n return current;\n }", "public final int getIndex(){\n return index_;\n }", "int getIndex() {\n\t\treturn index;\n\t}", "public int getIndex()\n {\n return index;\n }", "public int getIndexNumber(){\n return id;\r\n }", "public int getOwnIndex() throws RemoteException {\r\n return ownIndex;\r\n }", "@Override public long nodeIndex() {\n throw new UnsupportedOperationException(\"Unsupported operation\");\n }", "public int getIndex() {\n return index;\n }", "public int getIndex() { return this.index; }", "int getIndex(){\r\n\t\treturn index;\r\n\t}", "@Override\r\n\tpublic int getIndex() {\n\t\treturn index;\r\n\t}", "private int getIndex() {\n\t\treturn this.index;\r\n\t}", "public int getIndex() {\r\n\t\treturn index;\r\n\t}", "public int getIndex()\n {\n return index;\n }", "entities.Torrent.NodeIdOrBuilder getNodesOrBuilder(\n int index);", "public int getIndex() {\r\n return index;\r\n }", "private int parentIdx(int idx) {\r\n // TODO\r\n return -1;\r\n }", "private int get_parent(int index){\r\n return (index-1)/2;\r\n }", "private Node getNodeAt(int index) {\n\t\tNode node = head;\n\t\t// follow the links between nodes until it counts off the right number\n\t\tfor (int i = 0; i < index; i++) {\n\t\t\tif (node == null) {\n\t\t\t\t// In case we run out of nodes before we get up to the desired index, return null\n\t\t\t\treturn null;\n\t\t\t}\n\t\t\tnode = node.getNext();\n\t\t}\n\t\treturn node;\n\t}", "public int getIndex() {\r\n return _index;\r\n }", "public int getIndex() {\r\n return _index;\r\n }", "public int getIndex() {\n\t\treturn index;\n\t}", "public int getIndex() {\n\t\treturn index;\n\t}", "public int getIndex() {\n\t\treturn index;\n\t}", "protected abstract int applyGetIndex(CControlManager mgr, CDasherNode node);", "@Override public int getNodeId(String name) {\n\t\tint id = node_index_.tryGet(name);\n\t\tif (id == -1) System.err.println(\"Unknown node name=\" + name);\n\t\treturn id;\n\t}", "private int getParentOf(int index) {\n // TODO: YOUR CODE HERE\n return index / 2;\n }", "protected final int getIndex() {\n return index;\n }", "public int getPlayerIndexOfOwner() {\n\t\tif (this.settlement == null) {\n\t\t\tif (this.city == null) {\n\t\t\t\treturn -1;\n\t\t\t}\n\t\t\telse {\n\t\t\t\treturn this.city.getPlayerIndex();\n\t\t\t}\n\t\t}\n\t\telse {\n\t\t\treturn this.settlement.getPlayerIndex();\n\t\t}\n\t}", "public int getIndex() {\n return index;\n }", "public int getIndex() {\n return index;\n }", "public int getIndex() {\n return index;\n }", "public int getIndex() {\n return index;\n }", "public int getIndex() {\n return index;\n }", "public int getIndex()\n {\n return m_index;\n }", "private ListNode nodeAt(int index) {\n\t\tListNode current = front;\n\t\tfor (int i = 0; i < index; i++) {\n\t\t\tcurrent = current.next;\n\t\t}\n\t\treturn current;\n\t}", "public int getIndex() {\n return index;\n }", "public abstract TreeNode getNode(int i);", "public int index();", "private int getIndex(int u) {\n int ind = -1;\n for (int i = 0; i < getGraphRep().size(); i++) {\n ArrayList subList = getGraphRep().get(i);\n String temp = (String) subList.get(0);\n int vert = Integer.parseInt(temp);\n if (vert == u) {\n ind = i;\n }\n }\n return ind;\n }", "public int getIndex() {\n\t\treturn 0;\n\t}", "private int getIndex(T target) {\r\n for (int i = 0; i < SIZE; i++) {\r\n if (tree[i] == target) {\r\n return i;\r\n }\r\n }\r\n return -1;\r\n }", "public Integer getIndex() {\n return index;\n }", "private Node<T> find(int index) throws IndexException {\n if (!isValid(index)) {\n throw new IndexException();\n }\n\n Node<T> node = head;\n int counter = 0;\n while (node != null && counter < index) {\n node = node.next;\n counter = counter + 1;\n }\n return node;\n }", "public int index() {\n\t\treturn this.index;\n\t}", "@Override\n public final int getIndex() {\n return index;\n }", "public abstract int getIndex();", "public int getIndex();", "public int getIndex();", "public int getIndex();", "public final Integer indexInParent() {\n Container p = getParent();\n return p==null ? null : p.indexOf(this);\n }", "int getIndex();", "int getIndex();", "int getIndex();", "int getIndex();", "int getIndex();", "int getIndex();", "int getIndex();", "int getIndex();", "int getIndex();", "int getIndex();", "int getIndex();", "int getIndex();", "int getIndex();", "public Integer index() {\n return this.index;\n }", "private int vertexIndex(T obj){\n for (int i = 0; i < n; i++){\n if (obj.equals(vertices[i])){\n return i;\n }\n }\n return NOT_FOUND;\n }", "int index();", "private Node find(int index)\n {\n Node curr = head;\n for(int i = 0; i < index; i++)\n {\n curr = curr.next;\n }\n return curr;\n }", "protected Node<U> getNodeAtIndex(int index) {\n\t\t\tNode<U> currNode;\n\n\t\t\tif (index < Math.ceil(mLength / 2)) {\n\t\t\t\tcurrNode = mHead;\n\t\t\t\tfor (int i = 0; i < index; ++i) {\n\t\t\t\t\tcurrNode = currNode.getNext();\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tcurrNode = mTail;\n\t\t\t\tfor (int i = mLength - 1; i > index; --i) {\n\t\t\t\t\tcurrNode = currNode.getPrev();\n\t\t\t\t}\n\t\t\t}\n\n\t\t\treturn currNode;\n\t\t}", "private Node getNth(int index) \n { \n int currIndex = 0;\n Node currNode = this.head.next;\n while(currIndex < index)\n {\n currNode = currNode.getNext();\n currIndex++;\n }\n return currNode;\n }", "public int getIndex() {\n return index_;\n }", "public int getIndex() {\n return index_;\n }", "public int getIndex() {\n return index_;\n }", "public int getIndex() {\n return index_;\n }", "public int getIndex() {\n return index_;\n }", "public int getIndex() {\n return index_;\n }", "private int getRoot(int index) {\n while(index < nodes.length && index != nodes[index]) {\n index = nodes[index];\n }\n return nodes[index];\n }" ]
[ "0.7500926", "0.68702143", "0.67576754", "0.6719682", "0.65634763", "0.65505934", "0.65468836", "0.6370985", "0.63478774", "0.63273644", "0.63200206", "0.63020974", "0.62959725", "0.62881017", "0.62844205", "0.62844205", "0.62844205", "0.62794596", "0.62608105", "0.62510484", "0.62425506", "0.62425506", "0.62417376", "0.62417376", "0.6210419", "0.62058336", "0.6200783", "0.61832285", "0.6159567", "0.61523086", "0.6147638", "0.6143038", "0.61416453", "0.6135396", "0.6122621", "0.6116187", "0.6107198", "0.61037266", "0.61019856", "0.6094304", "0.60829127", "0.608101", "0.6075831", "0.60686475", "0.60686475", "0.60634434", "0.60634434", "0.60634434", "0.60603476", "0.60549355", "0.6039927", "0.60309494", "0.60212576", "0.60187924", "0.60187924", "0.60187924", "0.60187924", "0.60187924", "0.60156703", "0.60114616", "0.59976476", "0.599331", "0.5992252", "0.5990667", "0.59830713", "0.5981311", "0.5946676", "0.59422624", "0.5941195", "0.5933461", "0.59243256", "0.59187734", "0.59187734", "0.59187734", "0.5911864", "0.59096843", "0.59096843", "0.59096843", "0.59096843", "0.59096843", "0.59096843", "0.59096843", "0.59096843", "0.59096843", "0.59096843", "0.59096843", "0.59096843", "0.59096843", "0.5904542", "0.58996254", "0.58953947", "0.5892547", "0.58924705", "0.58897316", "0.5889531", "0.5889531", "0.5889531", "0.5889531", "0.5889531", "0.5889531", "0.58867013" ]
0.0
-1
Node index within the owner's nodes. Must be 1, 2, or 3 int32 index = 2;
public Builder clearIndex() { index_ = 0; onChanged(); return this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public long getNodeIndex();", "public int getNodeIndexAt(int index)\n {\n if (index < 0 || index > 1)\n {\n throw new IllegalArgumentException();\n }\n \n return this.nodeList[index];\n }", "entities.Torrent.NodeId getNodes(int index);", "public NodeExpr index()\n\t{\n\t\treturn _index;\n\t}", "io.netifi.proteus.admin.om.Node getNodes(int index);", "int node(final int index) {\r\n\t\tif (index < (size >> 1)) {\r\n\t\t\tint x = first;\r\n\t\t\tfor (long l = 0; l < index; l++) {\r\n\t\t\t\tx = getNextPointer(x);\r\n\t\t\t}\r\n\t\t\treturn x;\r\n\t\t} else {\r\n\t\t\tint x = last;\r\n\t\t\tfor (int i = size - 1; i > index; i--) {\r\n\t\t\t\tx = getPrevPointer(x);\r\n\t\t\t}\r\n\t\t\treturn x;\r\n\t\t}\r\n\t}", "private int getIndex(Entity entity){\n int currentIndex = 0;\n\n for(QuadTree node: this.getNodes()){\n\n /*PhysicsComponent bp = (PhysicsComponent)entity.getProperty(PhysicsComponent.ID);\n if( node.getBounds().contains(bp.getBounds())){\n return currentIndex;\n }*/\n currentIndex++;\n }\n return -1; // Subnode not found (part of the root then)\n }", "public int getIndex(){\r\n \treturn index;\r\n }", "private static int getNodeIndex(int index, int depth) {\n return (index >>> depth) & 0x1F;\n }", "private static String findNode(int index){\n return indexTable.get(index);\n }", "public ListNode findIndexNode(int index)\n {\n //should probably hande this by throwing an exception when head == null rather than using the if statement.\n if (head != null)\n {\n int counter = 0;\n ListNode iteratorNode = head;\n do\n { \n if (counter + 1 == index)\n {\n return iteratorNode;\n }\n if (iteratorNode.getNext() != null)\n {\n iteratorNode = iteratorNode.getNext();\n counter++;\n }\n } while(counter + 1 <= size);\n }\n return head;\n }", "public abstract int getNeighboursNumber(int index);", "public int indexNode(Node node) {\n if (!isEdge()) {\n return -1;\n }\n for (int i = 0; i < nbNode(); i++) {\n if (node.same(getNode(i))) {\n return i;\n }\n }\n return -1;\n }", "public int getIndex(TreeNode node) { \n for (int i=0; i<data.length; i++) \n if (data[i].equals(node)) return i; \n return -1; \n }", "public int getIndex(){\n\t\treturn index;\n\t}", "public int getIndex(){\n\t\treturn index;\n\t}", "public int getIndex(){\n\t\treturn index;\n\t}", "public int getIndex() {\r\n \t\t\treturn index;\r\n \t\t}", "public int getIndex(\n )\n {return index;}", "public int getIndex() {\n \t\treturn index;\n \t}", "private int parent(int index) {\n return index / 2;\n }", "private int parent(int index) {\n return index / 2;\n }", "public int getIndex(){\n return index;\n }", "public int getIndex(){\n return index;\n }", "private Node findNode(int index){\n Node current = start;\n for(int i = 0; i < index; i++){\n current = current.getNext();\n }\n return current;\n }", "public final int getIndex(){\n return index_;\n }", "int getIndex() {\n\t\treturn index;\n\t}", "public int getIndex()\n {\n return index;\n }", "public int getIndexNumber(){\n return id;\r\n }", "public int getOwnIndex() throws RemoteException {\r\n return ownIndex;\r\n }", "@Override public long nodeIndex() {\n throw new UnsupportedOperationException(\"Unsupported operation\");\n }", "public int getIndex() {\n return index;\n }", "public int getIndex() { return this.index; }", "int getIndex(){\r\n\t\treturn index;\r\n\t}", "@Override\r\n\tpublic int getIndex() {\n\t\treturn index;\r\n\t}", "private int getIndex() {\n\t\treturn this.index;\r\n\t}", "public int getIndex() {\r\n\t\treturn index;\r\n\t}", "public int getIndex()\n {\n return index;\n }", "entities.Torrent.NodeIdOrBuilder getNodesOrBuilder(\n int index);", "public int getIndex() {\r\n return index;\r\n }", "private int parentIdx(int idx) {\r\n // TODO\r\n return -1;\r\n }", "private int get_parent(int index){\r\n return (index-1)/2;\r\n }", "private Node getNodeAt(int index) {\n\t\tNode node = head;\n\t\t// follow the links between nodes until it counts off the right number\n\t\tfor (int i = 0; i < index; i++) {\n\t\t\tif (node == null) {\n\t\t\t\t// In case we run out of nodes before we get up to the desired index, return null\n\t\t\t\treturn null;\n\t\t\t}\n\t\t\tnode = node.getNext();\n\t\t}\n\t\treturn node;\n\t}", "public int getIndex() {\r\n return _index;\r\n }", "public int getIndex() {\r\n return _index;\r\n }", "public int getIndex() {\n\t\treturn index;\n\t}", "public int getIndex() {\n\t\treturn index;\n\t}", "public int getIndex() {\n\t\treturn index;\n\t}", "protected abstract int applyGetIndex(CControlManager mgr, CDasherNode node);", "@Override public int getNodeId(String name) {\n\t\tint id = node_index_.tryGet(name);\n\t\tif (id == -1) System.err.println(\"Unknown node name=\" + name);\n\t\treturn id;\n\t}", "private int getParentOf(int index) {\n // TODO: YOUR CODE HERE\n return index / 2;\n }", "protected final int getIndex() {\n return index;\n }", "public int getPlayerIndexOfOwner() {\n\t\tif (this.settlement == null) {\n\t\t\tif (this.city == null) {\n\t\t\t\treturn -1;\n\t\t\t}\n\t\t\telse {\n\t\t\t\treturn this.city.getPlayerIndex();\n\t\t\t}\n\t\t}\n\t\telse {\n\t\t\treturn this.settlement.getPlayerIndex();\n\t\t}\n\t}", "public int getIndex() {\n return index;\n }", "public int getIndex() {\n return index;\n }", "public int getIndex() {\n return index;\n }", "public int getIndex() {\n return index;\n }", "public int getIndex() {\n return index;\n }", "public int getIndex()\n {\n return m_index;\n }", "private ListNode nodeAt(int index) {\n\t\tListNode current = front;\n\t\tfor (int i = 0; i < index; i++) {\n\t\t\tcurrent = current.next;\n\t\t}\n\t\treturn current;\n\t}", "public int getIndex() {\n return index;\n }", "public abstract TreeNode getNode(int i);", "public int index();", "private int getIndex(int u) {\n int ind = -1;\n for (int i = 0; i < getGraphRep().size(); i++) {\n ArrayList subList = getGraphRep().get(i);\n String temp = (String) subList.get(0);\n int vert = Integer.parseInt(temp);\n if (vert == u) {\n ind = i;\n }\n }\n return ind;\n }", "public int getIndex() {\n\t\treturn 0;\n\t}", "private int getIndex(T target) {\r\n for (int i = 0; i < SIZE; i++) {\r\n if (tree[i] == target) {\r\n return i;\r\n }\r\n }\r\n return -1;\r\n }", "public Integer getIndex() {\n return index;\n }", "private Node<T> find(int index) throws IndexException {\n if (!isValid(index)) {\n throw new IndexException();\n }\n\n Node<T> node = head;\n int counter = 0;\n while (node != null && counter < index) {\n node = node.next;\n counter = counter + 1;\n }\n return node;\n }", "public int index() {\n\t\treturn this.index;\n\t}", "@Override\n public final int getIndex() {\n return index;\n }", "public abstract int getIndex();", "public int getIndex();", "public int getIndex();", "public int getIndex();", "public final Integer indexInParent() {\n Container p = getParent();\n return p==null ? null : p.indexOf(this);\n }", "int getIndex();", "int getIndex();", "int getIndex();", "int getIndex();", "int getIndex();", "int getIndex();", "int getIndex();", "int getIndex();", "int getIndex();", "int getIndex();", "int getIndex();", "int getIndex();", "int getIndex();", "public Integer index() {\n return this.index;\n }", "private int vertexIndex(T obj){\n for (int i = 0; i < n; i++){\n if (obj.equals(vertices[i])){\n return i;\n }\n }\n return NOT_FOUND;\n }", "int index();", "private Node find(int index)\n {\n Node curr = head;\n for(int i = 0; i < index; i++)\n {\n curr = curr.next;\n }\n return curr;\n }", "protected Node<U> getNodeAtIndex(int index) {\n\t\t\tNode<U> currNode;\n\n\t\t\tif (index < Math.ceil(mLength / 2)) {\n\t\t\t\tcurrNode = mHead;\n\t\t\t\tfor (int i = 0; i < index; ++i) {\n\t\t\t\t\tcurrNode = currNode.getNext();\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tcurrNode = mTail;\n\t\t\t\tfor (int i = mLength - 1; i > index; --i) {\n\t\t\t\t\tcurrNode = currNode.getPrev();\n\t\t\t\t}\n\t\t\t}\n\n\t\t\treturn currNode;\n\t\t}", "private Node getNth(int index) \n { \n int currIndex = 0;\n Node currNode = this.head.next;\n while(currIndex < index)\n {\n currNode = currNode.getNext();\n currIndex++;\n }\n return currNode;\n }", "public int getIndex() {\n return index_;\n }", "public int getIndex() {\n return index_;\n }", "public int getIndex() {\n return index_;\n }", "public int getIndex() {\n return index_;\n }", "public int getIndex() {\n return index_;\n }", "public int getIndex() {\n return index_;\n }", "private int getRoot(int index) {\n while(index < nodes.length && index != nodes[index]) {\n index = nodes[index];\n }\n return nodes[index];\n }" ]
[ "0.7500445", "0.6870603", "0.67567205", "0.67199993", "0.6562653", "0.6550274", "0.65467656", "0.6371014", "0.6347057", "0.63266873", "0.6320223", "0.6302569", "0.62972647", "0.62883", "0.6284718", "0.6284718", "0.6284718", "0.6279876", "0.6261033", "0.6251457", "0.62437236", "0.62437236", "0.6241873", "0.6241873", "0.62105674", "0.620592", "0.62009877", "0.6183559", "0.6158065", "0.6152272", "0.6147155", "0.61433774", "0.61419684", "0.61353445", "0.6122889", "0.61162966", "0.6107736", "0.6104147", "0.6100746", "0.6094758", "0.6083121", "0.60817283", "0.607613", "0.6068739", "0.6068739", "0.6063941", "0.6063941", "0.6063941", "0.6059493", "0.60537463", "0.60407895", "0.6031265", "0.60213155", "0.60192525", "0.60192525", "0.60192525", "0.60192525", "0.60192525", "0.6016269", "0.6011559", "0.5998145", "0.59928536", "0.5992197", "0.59902996", "0.5983088", "0.5981456", "0.59470177", "0.5942321", "0.59418964", "0.5933647", "0.59241873", "0.5918931", "0.5918931", "0.5918931", "0.5913072", "0.5909785", "0.5909785", "0.5909785", "0.5909785", "0.5909785", "0.5909785", "0.5909785", "0.5909785", "0.5909785", "0.5909785", "0.5909785", "0.5909785", "0.5909785", "0.59049594", "0.589973", "0.589538", "0.5892781", "0.58927643", "0.58902395", "0.58898467", "0.58898467", "0.58898467", "0.58898467", "0.58898467", "0.58898467", "0.5886452" ]
0.0
-1
The port on which the node is listening for connections int32 port = 3;
@java.lang.Override public int getPort() { return port_; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public int getPort() { return port; }", "Integer listeningPort();", "public int getPort() {\n return port;\n }", "public int getPort() {\n return port;\n }", "public int getPort() {\n return port;\n }", "public int getPort() {\n return port;\n }", "public int getPort() {\n return port;\n }", "default Object port() {\n return metadata().get(\"server-port\");\n }", "public int getPort() {\r\n return port;\r\n }", "public int getPort() {\r\n return port;\r\n }", "public int getPort() {\r\n return port;\r\n }", "int getPort()\n {\n return port;\n }", "public int getPort() {\n return port_;\n }", "public int getPort() {\n return port_;\n }", "public int getPort() {\n return port_;\n }", "public int getPort() {\n return port_;\n }", "public int getPort() {\n return port;\n }", "public int getPort() {\n return port;\n }", "public int getPort()\n {\n return port;\n }", "public int getPort();", "public int getPort();", "public int getPort();", "public Integer getPort() {\n return port;\n }", "public int getPort() {\n return port;\n }", "public int getPort() {\n return port;\n }", "public int getPort() {\n return port;\n }", "public int getPort() {\n return port;\n }", "public int getPort() {\n return port;\n }", "public int getPort() {\n return port;\n }", "public int getPort() {\n return port;\n }", "public int getPort() {\n return port;\n }", "public int getPort () {\n return port;\n }", "int getPort() {\n return port;\n }", "public int getPort() {\n \t\treturn port;\n \t}", "public int getPort() {\n \t\treturn port;\n \t}", "public Integer port() {\n return this.port;\n }", "public Integer port() {\n return this.port;\n }", "public static int getPort() {\n return port;\n }", "public int getPort() {\n return port_;\n }", "public int getPort() {\n return port_;\n }", "public int getPort() {\n return port_;\n }", "public int getPort() {\n return port_;\n }", "public int getPort() {\n return port_;\n }", "public int getPort() {\n return port_;\n }", "default int getPort() {\n return getServer().getPort();\n }", "public int getPort()\n {\n return port;\n }", "public int getPort(){\n\treturn port;\n }", "public int getPort()\n\t{\n\t\treturn port;\n\t}", "public int getPort()\n\t{\n\t\treturn port;\n\t}", "public int getPort() {\n return this.port;\n }", "public Integer getPort() {\n return port;\n }", "public Integer getPort() {\n return port;\n }", "public int getPort()\n {\n return _nodeVRL.getPort(); \n }", "public int getPort() {\r\n\t\treturn port;\r\n\t}", "public int getPort() {\r\n\t\treturn port;\r\n\t}", "int serverPort ();", "public int getPort(){\n return port;\n }", "public int getPort() {\n\t\treturn port;\n\t}", "public int getPort() {\n\t\treturn port;\n\t}", "public int getPort() {\n\t\treturn port;\n\t}", "public int getPort() {\n\t\treturn port;\n\t}", "public int getPort() {\n\t\treturn port;\n\t}", "public int getPort() {\n return this.port;\n }", "public int getPort(){\n\t\treturn this.port;\n\t}", "public int getServerPortNumber(){\n return this.serverPortNumber;\n }", "public int getServerPort(){\n\t\treturn serverPort; \n\t}", "public int getPortNumber (){\r\n\t\treturn portNumber;\r\n\t}", "public Integer getPort() {\n return this.port;\n }", "int getPort();", "int getPort();", "int getPort();", "int getPort();", "int getPort();", "int getPort();", "int getPort();", "int getPort();", "int getPort();", "int getPort();", "int getPort();", "int getPort();", "int getPort();", "@Override\n\tpublic Integer getPort() {\n\t\treturn port;\n\t}", "public int getPortNumber() {\n return portNumber;\n }", "public int getPortNumber() {\n return portNumber;\n }", "public static int getPort(){\n return catalogue.port;\n }", "@java.lang.Override\n public int getPort() {\n return port_;\n }", "@java.lang.Override\n public int getPort() {\n return port_;\n }", "public static String getPort() {\n\t\treturn port;\r\n\t}", "public Integer getServerport() {\n return serverport;\n }", "public int getPort ()\n {\n return thisPort;\n }", "public String getPort(){\n return port;\n }", "public int getServerPort() {\n return serverPort;\n }", "public int getPort() {\n/* 122 */ return ((TCPEndpoint)this.ep).getPort();\n/* */ }", "public int getPort( ) {\n\t\treturn port;\n\t}", "public long getPortNumber() {\n return portNumber;\n }", "public static int getServerPort(){\n return thisServer.getPort();\n }", "public static int getServerPort() {\n return serverPort;\n }", "public int getPort() {\n return instance.getPort();\n }", "public int getPort() {\n return instance.getPort();\n }" ]
[ "0.81379586", "0.8053419", "0.7989314", "0.7989314", "0.7989314", "0.7989314", "0.7989314", "0.7970132", "0.79560274", "0.79560274", "0.79560274", "0.7938901", "0.79374117", "0.79374117", "0.79374117", "0.79374117", "0.7933181", "0.7933181", "0.79173136", "0.79085565", "0.79085565", "0.79085565", "0.78916407", "0.7886595", "0.7886595", "0.7886595", "0.7886595", "0.7886595", "0.7886595", "0.7886595", "0.7886595", "0.7879462", "0.7877591", "0.78678465", "0.78678465", "0.7857597", "0.7857597", "0.7856187", "0.78531647", "0.78531647", "0.78531647", "0.78531647", "0.78531647", "0.78531647", "0.7847537", "0.78374594", "0.78248996", "0.78204745", "0.78204745", "0.78123623", "0.78113544", "0.78113544", "0.7783889", "0.77711457", "0.77711457", "0.774469", "0.77292705", "0.77267104", "0.77267104", "0.77267104", "0.77267104", "0.77267104", "0.7725944", "0.77134603", "0.7712562", "0.7674529", "0.7639518", "0.76326823", "0.76318634", "0.76318634", "0.76318634", "0.76318634", "0.76318634", "0.76318634", "0.76318634", "0.76318634", "0.76318634", "0.76318634", "0.76318634", "0.76318634", "0.76318634", "0.7631835", "0.76042235", "0.76042235", "0.75952613", "0.75480783", "0.75480783", "0.7546941", "0.75119454", "0.745924", "0.74542314", "0.7449311", "0.7431813", "0.7427771", "0.74235225", "0.7416258", "0.74162227", "0.7412089", "0.7412089" ]
0.76637965
66
The port on which the node is listening for connections int32 port = 3;
public Builder setPort(int value) { port_ = value; onChanged(); return this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public int getPort() { return port; }", "Integer listeningPort();", "public int getPort() {\n return port;\n }", "public int getPort() {\n return port;\n }", "public int getPort() {\n return port;\n }", "public int getPort() {\n return port;\n }", "public int getPort() {\n return port;\n }", "default Object port() {\n return metadata().get(\"server-port\");\n }", "public int getPort() {\r\n return port;\r\n }", "public int getPort() {\r\n return port;\r\n }", "public int getPort() {\r\n return port;\r\n }", "int getPort()\n {\n return port;\n }", "public int getPort() {\n return port_;\n }", "public int getPort() {\n return port_;\n }", "public int getPort() {\n return port_;\n }", "public int getPort() {\n return port_;\n }", "public int getPort() {\n return port;\n }", "public int getPort() {\n return port;\n }", "public int getPort()\n {\n return port;\n }", "public int getPort();", "public int getPort();", "public int getPort();", "public Integer getPort() {\n return port;\n }", "public int getPort() {\n return port;\n }", "public int getPort() {\n return port;\n }", "public int getPort() {\n return port;\n }", "public int getPort() {\n return port;\n }", "public int getPort() {\n return port;\n }", "public int getPort() {\n return port;\n }", "public int getPort() {\n return port;\n }", "public int getPort() {\n return port;\n }", "public int getPort () {\n return port;\n }", "int getPort() {\n return port;\n }", "public int getPort() {\n \t\treturn port;\n \t}", "public int getPort() {\n \t\treturn port;\n \t}", "public Integer port() {\n return this.port;\n }", "public Integer port() {\n return this.port;\n }", "public static int getPort() {\n return port;\n }", "public int getPort() {\n return port_;\n }", "public int getPort() {\n return port_;\n }", "public int getPort() {\n return port_;\n }", "public int getPort() {\n return port_;\n }", "public int getPort() {\n return port_;\n }", "public int getPort() {\n return port_;\n }", "default int getPort() {\n return getServer().getPort();\n }", "public int getPort()\n {\n return port;\n }", "public int getPort(){\n\treturn port;\n }", "public int getPort()\n\t{\n\t\treturn port;\n\t}", "public int getPort()\n\t{\n\t\treturn port;\n\t}", "public int getPort() {\n return this.port;\n }", "public Integer getPort() {\n return port;\n }", "public Integer getPort() {\n return port;\n }", "public int getPort()\n {\n return _nodeVRL.getPort(); \n }", "public int getPort() {\r\n\t\treturn port;\r\n\t}", "public int getPort() {\r\n\t\treturn port;\r\n\t}", "int serverPort ();", "public int getPort(){\n return port;\n }", "public int getPort() {\n\t\treturn port;\n\t}", "public int getPort() {\n\t\treturn port;\n\t}", "public int getPort() {\n\t\treturn port;\n\t}", "public int getPort() {\n\t\treturn port;\n\t}", "public int getPort() {\n\t\treturn port;\n\t}", "public int getPort() {\n return this.port;\n }", "public int getPort(){\n\t\treturn this.port;\n\t}", "public int getServerPortNumber(){\n return this.serverPortNumber;\n }", "public int getServerPort(){\n\t\treturn serverPort; \n\t}", "@java.lang.Override\n public int getPort() {\n return port_;\n }", "@java.lang.Override\n public int getPort() {\n return port_;\n }", "public int getPortNumber (){\r\n\t\treturn portNumber;\r\n\t}", "public Integer getPort() {\n return this.port;\n }", "int getPort();", "int getPort();", "int getPort();", "int getPort();", "int getPort();", "int getPort();", "int getPort();", "int getPort();", "int getPort();", "int getPort();", "int getPort();", "int getPort();", "int getPort();", "@Override\n\tpublic Integer getPort() {\n\t\treturn port;\n\t}", "public int getPortNumber() {\n return portNumber;\n }", "public int getPortNumber() {\n return portNumber;\n }", "public static int getPort(){\n return catalogue.port;\n }", "@java.lang.Override\n public int getPort() {\n return port_;\n }", "@java.lang.Override\n public int getPort() {\n return port_;\n }", "public static String getPort() {\n\t\treturn port;\r\n\t}", "public Integer getServerport() {\n return serverport;\n }", "public int getPort ()\n {\n return thisPort;\n }", "public String getPort(){\n return port;\n }", "public int getServerPort() {\n return serverPort;\n }", "public int getPort() {\n/* 122 */ return ((TCPEndpoint)this.ep).getPort();\n/* */ }", "public int getPort( ) {\n\t\treturn port;\n\t}", "public long getPortNumber() {\n return portNumber;\n }", "public static int getServerPort(){\n return thisServer.getPort();\n }", "public static int getServerPort() {\n return serverPort;\n }", "public int getPort() {\n return instance.getPort();\n }", "public int getPort() {\n return instance.getPort();\n }" ]
[ "0.81379586", "0.8053419", "0.7989314", "0.7989314", "0.7989314", "0.7989314", "0.7989314", "0.7970132", "0.79560274", "0.79560274", "0.79560274", "0.7938901", "0.79374117", "0.79374117", "0.79374117", "0.79374117", "0.7933181", "0.7933181", "0.79173136", "0.79085565", "0.79085565", "0.79085565", "0.78916407", "0.7886595", "0.7886595", "0.7886595", "0.7886595", "0.7886595", "0.7886595", "0.7886595", "0.7886595", "0.7879462", "0.7877591", "0.78678465", "0.78678465", "0.7857597", "0.7857597", "0.7856187", "0.78531647", "0.78531647", "0.78531647", "0.78531647", "0.78531647", "0.78531647", "0.7847537", "0.78374594", "0.78248996", "0.78204745", "0.78204745", "0.78123623", "0.78113544", "0.78113544", "0.7783889", "0.77711457", "0.77711457", "0.774469", "0.77292705", "0.77267104", "0.77267104", "0.77267104", "0.77267104", "0.77267104", "0.7725944", "0.77134603", "0.7712562", "0.7674529", "0.76637965", "0.76630205", "0.7639518", "0.76326823", "0.76318634", "0.76318634", "0.76318634", "0.76318634", "0.76318634", "0.76318634", "0.76318634", "0.76318634", "0.76318634", "0.76318634", "0.76318634", "0.76318634", "0.76318634", "0.7631835", "0.76042235", "0.76042235", "0.75952613", "0.75480783", "0.75480783", "0.7546941", "0.75119454", "0.745924", "0.74542314", "0.7449311", "0.7431813", "0.7427771", "0.74235225", "0.7416258", "0.74162227", "0.7412089", "0.7412089" ]
0.0
-1
The port on which the node is listening for connections int32 port = 3;
public Builder clearPort() { port_ = 0; onChanged(); return this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public int getPort() { return port; }", "Integer listeningPort();", "public int getPort() {\n return port;\n }", "public int getPort() {\n return port;\n }", "public int getPort() {\n return port;\n }", "public int getPort() {\n return port;\n }", "public int getPort() {\n return port;\n }", "default Object port() {\n return metadata().get(\"server-port\");\n }", "public int getPort() {\r\n return port;\r\n }", "public int getPort() {\r\n return port;\r\n }", "public int getPort() {\r\n return port;\r\n }", "int getPort()\n {\n return port;\n }", "public int getPort() {\n return port_;\n }", "public int getPort() {\n return port_;\n }", "public int getPort() {\n return port_;\n }", "public int getPort() {\n return port_;\n }", "public int getPort() {\n return port;\n }", "public int getPort() {\n return port;\n }", "public int getPort()\n {\n return port;\n }", "public int getPort();", "public int getPort();", "public int getPort();", "public Integer getPort() {\n return port;\n }", "public int getPort() {\n return port;\n }", "public int getPort() {\n return port;\n }", "public int getPort() {\n return port;\n }", "public int getPort() {\n return port;\n }", "public int getPort() {\n return port;\n }", "public int getPort() {\n return port;\n }", "public int getPort() {\n return port;\n }", "public int getPort() {\n return port;\n }", "public int getPort () {\n return port;\n }", "int getPort() {\n return port;\n }", "public int getPort() {\n \t\treturn port;\n \t}", "public int getPort() {\n \t\treturn port;\n \t}", "public Integer port() {\n return this.port;\n }", "public Integer port() {\n return this.port;\n }", "public static int getPort() {\n return port;\n }", "public int getPort() {\n return port_;\n }", "public int getPort() {\n return port_;\n }", "public int getPort() {\n return port_;\n }", "public int getPort() {\n return port_;\n }", "public int getPort() {\n return port_;\n }", "public int getPort() {\n return port_;\n }", "default int getPort() {\n return getServer().getPort();\n }", "public int getPort()\n {\n return port;\n }", "public int getPort(){\n\treturn port;\n }", "public int getPort()\n\t{\n\t\treturn port;\n\t}", "public int getPort()\n\t{\n\t\treturn port;\n\t}", "public int getPort() {\n return this.port;\n }", "public Integer getPort() {\n return port;\n }", "public Integer getPort() {\n return port;\n }", "public int getPort()\n {\n return _nodeVRL.getPort(); \n }", "public int getPort() {\r\n\t\treturn port;\r\n\t}", "public int getPort() {\r\n\t\treturn port;\r\n\t}", "int serverPort ();", "public int getPort(){\n return port;\n }", "public int getPort() {\n\t\treturn port;\n\t}", "public int getPort() {\n\t\treturn port;\n\t}", "public int getPort() {\n\t\treturn port;\n\t}", "public int getPort() {\n\t\treturn port;\n\t}", "public int getPort() {\n\t\treturn port;\n\t}", "public int getPort() {\n return this.port;\n }", "public int getPort(){\n\t\treturn this.port;\n\t}", "public int getServerPortNumber(){\n return this.serverPortNumber;\n }", "public int getServerPort(){\n\t\treturn serverPort; \n\t}", "@java.lang.Override\n public int getPort() {\n return port_;\n }", "@java.lang.Override\n public int getPort() {\n return port_;\n }", "public int getPortNumber (){\r\n\t\treturn portNumber;\r\n\t}", "public Integer getPort() {\n return this.port;\n }", "@Override\n\tpublic Integer getPort() {\n\t\treturn port;\n\t}", "int getPort();", "int getPort();", "int getPort();", "int getPort();", "int getPort();", "int getPort();", "int getPort();", "int getPort();", "int getPort();", "int getPort();", "int getPort();", "int getPort();", "int getPort();", "public int getPortNumber() {\n return portNumber;\n }", "public int getPortNumber() {\n return portNumber;\n }", "public static int getPort(){\n return catalogue.port;\n }", "@java.lang.Override\n public int getPort() {\n return port_;\n }", "@java.lang.Override\n public int getPort() {\n return port_;\n }", "public static String getPort() {\n\t\treturn port;\r\n\t}", "public Integer getServerport() {\n return serverport;\n }", "public int getPort ()\n {\n return thisPort;\n }", "public String getPort(){\n return port;\n }", "public int getServerPort() {\n return serverPort;\n }", "public int getPort() {\n/* 122 */ return ((TCPEndpoint)this.ep).getPort();\n/* */ }", "public int getPort( ) {\n\t\treturn port;\n\t}", "public long getPortNumber() {\n return portNumber;\n }", "public static int getServerPort(){\n return thisServer.getPort();\n }", "public static int getServerPort() {\n return serverPort;\n }", "public int getPort() {\n return instance.getPort();\n }", "public int getPort() {\n return instance.getPort();\n }" ]
[ "0.8138145", "0.8053881", "0.79897994", "0.79897994", "0.79897994", "0.79897994", "0.79897994", "0.79708135", "0.7956499", "0.7956499", "0.7956499", "0.79393137", "0.79379064", "0.79379064", "0.79379064", "0.79379064", "0.79337215", "0.79337215", "0.79178256", "0.790876", "0.790876", "0.790876", "0.78922004", "0.78871065", "0.78871065", "0.78871065", "0.78871065", "0.78871065", "0.78871065", "0.78871065", "0.78871065", "0.7879909", "0.78779566", "0.7868307", "0.7868307", "0.7858395", "0.7858395", "0.7857214", "0.78537107", "0.78537107", "0.78537107", "0.78537107", "0.78537107", "0.78537107", "0.7848039", "0.7837833", "0.7825301", "0.78211087", "0.78211087", "0.78128356", "0.78119373", "0.78119373", "0.7783778", "0.7771697", "0.7771697", "0.7745402", "0.7729624", "0.77273095", "0.77273095", "0.77273095", "0.77273095", "0.77273095", "0.7726471", "0.7713943", "0.77134323", "0.76752967", "0.76641196", "0.76633394", "0.76400995", "0.7633266", "0.7632279", "0.76321834", "0.76321834", "0.76321834", "0.76321834", "0.76321834", "0.76321834", "0.76321834", "0.76321834", "0.76321834", "0.76321834", "0.76321834", "0.76321834", "0.76321834", "0.7604842", "0.7604842", "0.7596168", "0.7548483", "0.7548483", "0.7547908", "0.7513233", "0.74595904", "0.74545825", "0.7450155", "0.74319094", "0.7428527", "0.7424341", "0.7417287", "0.74172705", "0.74124265", "0.74124265" ]
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
19
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
Use RegistrationResponse.newBuilder() to construct.
private RegistrationResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { super(builder); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "entities.Torrent.RegistrationResponseOrBuilder getRegistrationResponseOrBuilder();", "public Builder setRegistrationResponse(entities.Torrent.RegistrationResponse value) {\n if (registrationResponseBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n registrationResponse_ = value;\n onChanged();\n } else {\n registrationResponseBuilder_.setMessage(value);\n }\n\n return this;\n }", "public entities.Torrent.RegistrationResponseOrBuilder getRegistrationResponseOrBuilder() {\n if (registrationResponseBuilder_ != null) {\n return registrationResponseBuilder_.getMessageOrBuilder();\n } else {\n return registrationResponse_ == null ?\n entities.Torrent.RegistrationResponse.getDefaultInstance() : registrationResponse_;\n }\n }", "public entities.Torrent.RegistrationResponse.Builder getRegistrationResponseBuilder() {\n\n onChanged();\n return getRegistrationResponseFieldBuilder().getBuilder();\n }", "@java.lang.Override\n public entities.Torrent.RegistrationResponseOrBuilder getRegistrationResponseOrBuilder() {\n return getRegistrationResponse();\n }", "private RegisterResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "public entities.Torrent.RegistrationResponse getRegistrationResponse() {\n if (registrationResponseBuilder_ == null) {\n return registrationResponse_ == null ? entities.Torrent.RegistrationResponse.getDefaultInstance() : registrationResponse_;\n } else {\n return registrationResponseBuilder_.getMessage();\n }\n }", "public ChangeRegistrationResponse() {\r\n super(FunctionID.CHANGE_REGISTRATION.toString());\r\n }", "public Builder mergeRegistrationResponse(entities.Torrent.RegistrationResponse value) {\n if (registrationResponseBuilder_ == null) {\n if (registrationResponse_ != null) {\n registrationResponse_ =\n entities.Torrent.RegistrationResponse.newBuilder(registrationResponse_).mergeFrom(value).buildPartial();\n } else {\n registrationResponse_ = value;\n }\n onChanged();\n } else {\n registrationResponseBuilder_.mergeFrom(value);\n }\n\n return this;\n }", "private ResponseRegister(com.google.protobuf.GeneratedMessage.Builder<?> builder) {\n super(builder);\n this.unknownFields = builder.getUnknownFields();\n }", "@java.lang.Override\n public entities.Torrent.RegistrationResponse getRegistrationResponse() {\n return registrationResponse_ == null ? entities.Torrent.RegistrationResponse.getDefaultInstance() : registrationResponse_;\n }", "private com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.RegistrationResponse, entities.Torrent.RegistrationResponse.Builder, entities.Torrent.RegistrationResponseOrBuilder>\n getRegistrationResponseFieldBuilder() {\n if (registrationResponseBuilder_ == null) {\n registrationResponseBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.RegistrationResponse, entities.Torrent.RegistrationResponse.Builder, entities.Torrent.RegistrationResponseOrBuilder>(\n getRegistrationResponse(),\n getParentForChildren(),\n isClean());\n registrationResponse_ = null;\n }\n return registrationResponseBuilder_;\n }", "public Builder setRegistrationResponse(\n entities.Torrent.RegistrationResponse.Builder builderForValue) {\n if (registrationResponseBuilder_ == null) {\n registrationResponse_ = builderForValue.build();\n onChanged();\n } else {\n registrationResponseBuilder_.setMessage(builderForValue.build());\n }\n\n return this;\n }", "entities.Torrent.RegistrationResponse getRegistrationResponse();", "public Builder clearRegistrationResponse() {\n if (registrationResponseBuilder_ == null) {\n registrationResponse_ = null;\n onChanged();\n } else {\n registrationResponse_ = null;\n registrationResponseBuilder_ = null;\n }\n\n return this;\n }", "public UserRegisterResponse() {\n }", "@Override\n public void onRegistrationSuccess(RegistrationResponse response) {\n if (response.isStatus()) {\n\n startActivityForResult(new Intent(this,VerifyEmailActivity.class)\n .putExtra(getString(R.string.from_sign_up_key),true)\n .putExtra(getString(R.string.email_id_key),model.getEmail().getValue()),VERIFY_EMAIL_REQUEST_CODE);\n\n\n } else {\n StringBuilder errorMsg = new StringBuilder();\n if (null != response.getErrors()) {\n for (Error e : response.getErrors()) {\n if (e.getCode().equalsIgnoreCase(\"REG005\")) {\n signUpBinding.txtEmailId.setErrorEnabled(true);\n signUpBinding.txtEmailId.setError(e.getMessage());\n } else {\n errorMsg.append(e.getMessage()).append(\"\\n\");\n }\n }\n } else {\n errorMsg.append(getString(R.string.server_error));\n }\n signUpBinding.txtError.setText(errorMsg);\n signUpBinding.txtError.setVisibility(View.VISIBLE);\n }\n }", "public static void register(GCMRegistrationRequest request,\n APIResponseHandler<GenericSuccessModel> response) {\n\n APIConnection.send(API_PATH + \"register\", request, GenericSuccessModel.class, response);\n }", "public ResponseRegister() {\n }", "private RegistrationRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "entities.Torrent.RegistrationRequestOrBuilder getRegistrationRequestOrBuilder();", "public Response getRegisterResponse(){\n\t\treturn this.registerResponse;\n\t}", "private RequestRegister(com.google.protobuf.GeneratedMessage.Builder<?> builder) {\n super(builder);\n this.unknownFields = builder.getUnknownFields();\n }", "@java.lang.Override\n public entities.Torrent.RegistrationRequestOrBuilder getRegistrationRequestOrBuilder() {\n return getRegistrationRequest();\n }", "public Builder setRegistrationRequest(entities.Torrent.RegistrationRequest value) {\n if (registrationRequestBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n registrationRequest_ = value;\n onChanged();\n } else {\n registrationRequestBuilder_.setMessage(value);\n }\n\n return this;\n }", "boolean hasRegistrationResponse();", "public entities.Torrent.RegistrationRequestOrBuilder getRegistrationRequestOrBuilder() {\n if (registrationRequestBuilder_ != null) {\n return registrationRequestBuilder_.getMessageOrBuilder();\n } else {\n return registrationRequest_ == null ?\n entities.Torrent.RegistrationRequest.getDefaultInstance() : registrationRequest_;\n }\n }", "UserRegistrationResponse registrationPost(RegistrationForm registrationForm);", "public RegistrationInfo getRegistrationInfo();", "public entities.Torrent.RegistrationRequest getRegistrationRequest() {\n if (registrationRequestBuilder_ == null) {\n return registrationRequest_ == null ? entities.Torrent.RegistrationRequest.getDefaultInstance() : registrationRequest_;\n } else {\n return registrationRequestBuilder_.getMessage();\n }\n }", "private HelloResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "public void setRegisterResponse(Response registerResponse){\n\t\tthis.registerResponse=registerResponse;\n\t}", "private RegisterRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "public Register.Res getRegisterRes() {\n if (rspCase_ == 7) {\n return (Register.Res) rsp_;\n }\n return Register.Res.getDefaultInstance();\n }", "public boolean hasRegistrationResponse() {\n return registrationResponseBuilder_ != null || registrationResponse_ != null;\n }", "public static void register(String secret, String gcmRegistrationID,\n APIResponseHandler<GenericSuccessModel> response) {\n\n GCMRegistrationRequest request = new GCMRegistrationRequest();\n\n request.secret = secret;\n request.gcmRegistrationID = gcmRegistrationID;\n\n register(request, response);\n }", "@java.lang.Override\n public boolean hasRegistrationResponse() {\n return registrationResponse_ != null;\n }", "@java.lang.Override\n public entities.Torrent.RegistrationRequest getRegistrationRequest() {\n return registrationRequest_ == null ? entities.Torrent.RegistrationRequest.getDefaultInstance() : registrationRequest_;\n }", "public entities.Torrent.RegistrationRequest.Builder getRegistrationRequestBuilder() {\n\n onChanged();\n return getRegistrationRequestFieldBuilder().getBuilder();\n }", "private SaveRegionsResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "@PostMapping(\"/signup\")\n public ResponseEntity<?> registerUser(@RequestBody RegistrationRequest registrationRequest){\n return userService.registerUser(registrationRequest);\n }", "public ChangeRegistrationResponse(@NonNull Boolean success, @NonNull Result resultCode) {\r\n\t\tthis();\r\n\t\tsetSuccess(success);\r\n\t\tsetResultCode(resultCode);\r\n\t}", "public Builder mergeRegistrationRequest(entities.Torrent.RegistrationRequest value) {\n if (registrationRequestBuilder_ == null) {\n if (registrationRequest_ != null) {\n registrationRequest_ =\n entities.Torrent.RegistrationRequest.newBuilder(registrationRequest_).mergeFrom(value).buildPartial();\n } else {\n registrationRequest_ = value;\n }\n onChanged();\n } else {\n registrationRequestBuilder_.mergeFrom(value);\n }\n\n return this;\n }", "private CreateResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "X509RegistrationResultParser()\n {\n }", "public MetadataResponse() {\n }", "private SignedDGResponse(com.google.protobuf.GeneratedMessage.Builder<?> builder) {\n super(builder);\n this.unknownFields = builder.getUnknownFields();\n }", "Response createResponse();", "@PostMapping(path = \"/online-sales-service/registerForAnEvent\")\n\tpublic ResponseEntity<?> eventRegistration(@RequestBody final EventRegistration eventReg, final HttpServletRequest request,\n\t\t\tfinal HttpServletResponse response) {\n\t\tResponseEntity<?> responseEntity;\n\t\tEventRegistration thisEvent = null;\n\t\ttry {\n\t\t\tthisEvent = eventRegistrationService.createEventRegistration(eventReg);\n\t\t} catch (Exception e) {\n\t\t\tresponseEntity = new ResponseEntity<String>(e.getMessage(), HttpStatus.NOT_FOUND);\n\t\t}\n\t\tresponseEntity = new ResponseEntity<EventRegistration>(thisEvent, HttpStatus.OK);\n\t\treturn responseEntity;\n\t}", "private com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.RegistrationRequest, entities.Torrent.RegistrationRequest.Builder, entities.Torrent.RegistrationRequestOrBuilder>\n getRegistrationRequestFieldBuilder() {\n if (registrationRequestBuilder_ == null) {\n registrationRequestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.RegistrationRequest, entities.Torrent.RegistrationRequest.Builder, entities.Torrent.RegistrationRequestOrBuilder>(\n getRegistrationRequest(),\n getParentForChildren(),\n isClean());\n registrationRequest_ = null;\n }\n return registrationRequestBuilder_;\n }", "public ChangeRegistrationResponse(Hashtable<String, Object> hash) {\r\n super(hash);\r\n }", "public Register.Req getRegisterReq() {\n if (reqCase_ == 7) {\n return (Register.Req) req_;\n }\n return Register.Req.getDefaultInstance();\n }", "private DGResponse(com.google.protobuf.GeneratedMessage.Builder<?> builder) {\n super(builder);\n this.unknownFields = builder.getUnknownFields();\n }", "private CallResponse() {\n initFields();\n }", "private Response() {\n initFields();\n }", "entities.Torrent.RegistrationRequest getRegistrationRequest();", "public Builder setRegisteredUser(com.lanjiu.im.grpc.RegisteredUser value) {\n if (registeredUserBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n registeredUser_ = value;\n onChanged();\n } else {\n registeredUserBuilder_.setMessage(value);\n }\n\n return this;\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 }", "public com.lanjiu.im.grpc.RegisteredUser.Builder getRegisteredUserBuilder() {\n \n onChanged();\n return getRegisteredUserFieldBuilder().getBuilder();\n }", "Register.Req getRegisterReq();", "@Override\n public void onResponse(String response) {\n Log.d(\"RESPONSE\", response);\n\n if (response.equals(\"success\")) {\n loading.dismiss();\n Intent intent = new Intent(RegisterActivity.this, LoginActivity.class);\n Toasty.success(RegisterActivity.this, \"Registration successful\", Toast.LENGTH_SHORT).show();\n startActivity(intent);\n } else if (response.equals(\"exists\")) {\n\n Toasty.warning(RegisterActivity.this, \"User already exists!\", Toast.LENGTH_SHORT).show();\n loading.dismiss();\n\n }\n\n else if (response.equals(\"failure\")) {\n\n Toasty.error(RegisterActivity.this, \"Registration Failed!\", Toast.LENGTH_SHORT).show();\n loading.dismiss();\n\n }\n }", "@UpnpAction(out = {@UpnpOutputArgument(name = \"RegistrationRespMsg\", stateVariable = \"A_ARG_TYPE_RegistrationRespMsg\")})\n/* */ public byte[] registerDevice(@UpnpInputArgument(name = \"RegistrationReqMsg\", stateVariable = \"A_ARG_TYPE_RegistrationReqMsg\") byte[] registrationReqMsg) {\n/* 138 */ return new byte[0];\n/* */ }", "public static RegisterResult register(RegisterRequest r) {\n\n User new_user = new User(UUID.randomUUID().toString(), r.userName, r.password, r.email,\n r.firstName, r.lastName, r.gender);\n\n RegisterResult result = new RegisterResult();\n\n User test_user = UserDao.getUser(r.userName);\n if (test_user != null && !test_user.userName.equals(\"\"))\n {\n result.message = \"Error: Username already taken by another user\";\n result.success = false;\n return result;\n }\n\n result.authToken = UUID.randomUUID().toString();\n AuthTokenDao.updateToken(r.userName, result.authToken);\n\n Person p = new Person(new_user.personID, r.userName, r.firstName, r.lastName, r.gender);\n PersonDao.addPerson(p);\n\n result.userName = r.userName;\n result.personID = new_user.personID;\n UserDao.addUser(new_user);\n\n // Generate 4 generations of ancestry\n GenerateData.generateGenerations(r.userName, 4);\n\n result.success = true;\n\n return result;\n }", "public MetadataResponse() {\n data = new HashMap<String, Object>();\n }", "@Override\n public void OnServerRespondedCallback(InternalRequest response) {\n switch (response.Status){\n case InternalRequest.STATUS_OK:\n Log.i(MY_TAG, \"got server callback registration ok\");\n CommonUtil.PutCommonPreferenceIsRegisteredDevice(this, true);\n// intent.putExtra(ServicesBroadcastReceiver.BROADCAST_REC_EXTRA_ACTION_KEY,\n// ServicesBroadcastReceiver.ACTION_CODE_REGISTRATION_SUCCESS);\n break;\n case InternalRequest.STATUS_FAIL:\n Log.i(MY_TAG, \"got server callback registration fail\");\n CommonUtil.PutCommonPreferenceIsRegisteredDevice(this, false);\n// intent.putExtra(ServicesBroadcastReceiver.BROADCAST_REC_EXTRA_ACTION_KEY,\n// ServicesBroadcastReceiver.ACTION_CODE_REGISTRATION_FAIL);\n break;\n default:\n Log.i(MY_TAG, \"unexpected callback status from server!\");\n return;\n }\n// sendBroadcast(intent);\n }", "private GetPictureResponse(com.google.protobuf.GeneratedMessage.Builder<?> builder) {\n super(builder);\n this.unknownFields = builder.getUnknownFields();\n }", "public static RegistrationVO getRegistrationVO() {\r\n\t\treturn registrationVO;\r\n\t}", "public Builder setRegistrationRequest(\n entities.Torrent.RegistrationRequest.Builder builderForValue) {\n if (registrationRequestBuilder_ == null) {\n registrationRequest_ = builderForValue.build();\n onChanged();\n } else {\n registrationRequestBuilder_.setMessage(builderForValue.build());\n }\n\n return this;\n }", "private void sendRegistrationRequestToServer() {\r\n\t\tnew ServerAsyncTask(ApplicationConstant.appurl\r\n\t\t\t\t+ ApplicationConstant.registrationRequestType + \"&userid=62\"\r\n\t\t\t\t+ \"&email=\" + emailAddress.getText().toString().trim()\r\n\t\t\t\t+ \"&firstname=\" + firstName.getText().toString().trim()\r\n\t\t\t\t+ \"&lastname=\" + lastName.getText().toString().trim()\r\n\t\t\t\t+ \"&password=\" + password.getText().toString().trim()\r\n\t\t\t\t+ \"&roles=1\" + \"access=20\", context, new ResponseCallback() {\r\n\r\n\t\t\t@Override\r\n\t\t\tpublic void onSuccessRecieve(Object object) {\r\n\r\n\t\t\t\tloadingProgress.setVisibility(View.GONE);\r\n\t\t\t\tshowToastMessage(\"Successfully register on app\");\r\n\t\t\t\tfinish();\r\n\t\t\t}\r\n\r\n\t\t\t@Override\r\n\t\t\tpublic void onErrorRecieve(Object object) {\r\n\r\n\t\t\t\tloadingProgress.setVisibility(View.GONE);\r\n\t\t\t\tshowToastMessage((String) object);\r\n\t\t\t}\r\n\t\t}, ApplicationConstant.registrationRequestType).execute();\r\n\r\n\t}", "private PrepareResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "private ObtainCouponResponse(com.google.protobuf.GeneratedMessage.Builder<?> builder) {\n super(builder);\n }", "@Override\n public void onRegistrationFail(RegistrationResponse response) {\n StringBuilder errorMsg = new StringBuilder();\n if (null != response.getErrors() && response.getErrors().size() > 0) {\n for (Error e : response.getErrors()) {\n\n if (e.getCode().equalsIgnoreCase(ERROR_CODE.REG001.toString())) {\n signUpBinding.txtUserId.setErrorEnabled(true);\n signUpBinding.txtUserId.setError(e.getMessage());\n\n } else if (e.getCode().equalsIgnoreCase(ERROR_CODE.REG002.toString())) {\n signUpBinding.txtUserName.setErrorEnabled(true);\n signUpBinding.txtUserName.setError(e.getMessage());\n\n } else if (e.getCode().equalsIgnoreCase(ERROR_CODE.REG003.toString())) {\n signUpBinding.txtEmailId.setErrorEnabled(true);\n signUpBinding.txtEmailId.setError(e.getMessage());\n\n } else if (e.getCode().equalsIgnoreCase(ERROR_CODE.REG004.toString())) {\n signUpBinding.txtPassword.setErrorEnabled(true);\n signUpBinding.txtPassword.setError(e.getMessage());\n\n } else if (e.getCode().equalsIgnoreCase(ERROR_CODE.REG005.toString())) {\n signUpBinding.txtConfPassword.setErrorEnabled(true);\n signUpBinding.txtConfPassword.setError(e.getMessage());\n\n } else if (e.getCode().equalsIgnoreCase(ERROR_CODE.REG006.toString())) {\n\n if (signUpBinding.txtUserId.isErrorEnabled() && signUpBinding.txtUserId.getError().toString().equalsIgnoreCase(getString(R.string.user_id_already))) {\n signUpBinding.txtUserId.setErrorEnabled(true);\n signUpBinding.txtUserId.setError(getString(R.string.user_id_already));\n } else {\n signUpBinding.txtEmailId.setErrorEnabled(true);\n signUpBinding.txtEmailId.setError(e.getMessage());\n }\n\n } else {\n errorMsg.append(e.getMessage()).append(\"\\n\");\n signUpBinding.txtError.setText(errorMsg);\n signUpBinding.txtError.setVisibility(View.VISIBLE);\n }\n }\n } else {\n errorMsg.append(getString(R.string.server_error));\n signUpBinding.txtError.setText(errorMsg);\n signUpBinding.txtError.setVisibility(View.VISIBLE);\n }\n }", "public Builder setRegisterReq(Register.Req value) {\n copyOnWrite();\n instance.setRegisterReq(value);\n return this;\n }", "private Response() {}", "private Response() {}", "private CallResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "private LoginResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "private LoginResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "@Override\n public RegisterBO register(UserRequest userRequest) {\n User user = new User().with(u -> u.email = userRequest.getEmail())\n .with(u -> u.username = userRequest.getEmail())\n .with(u -> u.preferredLanguages.add(new Locale(\"es\", \"CL\")))//TODO: revisar mas adelante\n .with(u -> u.password = userRequest.getPassword())\n .with(u -> u.fullName = userRequest.getFullName());\n if (userRequest.getPhone() != null)\n user.with(u -> u.mobilePhone = userRequest.getPhone().trim());\n\n // Se inicia el registro de usuario y objecto request\n UserRegistration registration = new UserRegistration();\n registration.applicationId = UUID.fromString(aplicationId);\n registration.verified = false;\n\n RegistrationRequest request = new RegistrationRequest(user, registration);\n\n // Uso el objeto ClientResponse para capturar respuesta\n ClientResponse<RegistrationResponse, Errors> response = getFusionAuthClient.register(null, request);\n\n // Traducto respuesta segun exito o error\n return registerTranslate.translate(response);\n }", "protected void createRegistrationInfo() {\n registrationInfo.put(\"email\", email.getText().toString());\n registrationInfo.put(\"password\", password.getText().toString());\n }", "Register.Res getRegisterRes();", "private CreateProofResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "public static RegistrationServiceStub newStub(io.grpc.Channel channel) {\n io.grpc.stub.AbstractStub.StubFactory<RegistrationServiceStub> factory =\n new io.grpc.stub.AbstractStub.StubFactory<RegistrationServiceStub>() {\n @java.lang.Override\n public RegistrationServiceStub newStub(\n io.grpc.Channel channel, io.grpc.CallOptions callOptions) {\n return new RegistrationServiceStub(channel, callOptions);\n }\n };\n return RegistrationServiceStub.newStub(factory, channel);\n }", "public RegisterResponse register(RegisterRequest request) throws IOException {\n ClientCommunicator registerCommunicator = new ClientCommunicator(new RegisterStrategy());\n\n RegisterResponse response = (RegisterResponse) registerCommunicator.doWebRequest(request, null);\n\n if (response.getSuccess()) {\n User newUser = new User();\n newUser.setImageBytes(request.getImage());\n newUser.setAlias(request.getUsername());\n newUser.setLastName(request.getLastName());\n newUser.setFirstName(request.getFirstName());\n newUser.setFolloweeCount(0);\n newUser.setFollowerCount(0);\n newUser.setImageUrl(\"\");\n response.setUser(newUser);\n }\n\n return response;\n }", "public Builder setRegisterRes(Register.Res value) {\n copyOnWrite();\n instance.setRegisterRes(value);\n return this;\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 }", "public GetDeviceRegistrationResult withDeviceRegistration(String deviceRegistration) {\n setDeviceRegistration(deviceRegistration);\n return this;\n }", "public DictAccountRegistration getRegistration()\n {\n return registration;\n }", "private SignatureStatusResponse(Builder builder) {\n requestId = builder.requestId;\n organizations = builder.organizations;\n }", "public Response(){\n\t\t// nothing needed\n\t}", "private ResponseLogin(com.google.protobuf.GeneratedMessage.Builder<?> builder) {\n super(builder);\n this.unknownFields = builder.getUnknownFields();\n }", "private PushParkingResponse(com.google.protobuf.GeneratedMessage.Builder<?> builder) {\n super(builder);\n this.unknownFields = builder.getUnknownFields();\n }", "private QueryProfileResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "@PostMapping(value = \"/rest/appregistration\")\r\n \t@ResponseStatus(HttpStatus.CREATED)\r\n \t@ResponseBody\r\n \tpublic ResponseEntity createRegistration(@RequestBody RegistrationDto regObject) {\n \t\t\r\n \t\tRegistrationDto registrationDto = new RegistrationDto();\r\n\r\n\r\n \t\treturn new ResponseEntity(registrationDto, HttpStatus.OK);\r\n \t}" ]
[ "0.7912327", "0.7729178", "0.74852014", "0.7404782", "0.7403171", "0.7301939", "0.72998893", "0.71375155", "0.7122181", "0.7018601", "0.6970325", "0.6833374", "0.6816122", "0.67369944", "0.6732985", "0.6656486", "0.6537606", "0.64942783", "0.64913315", "0.64819956", "0.64166355", "0.6264101", "0.607368", "0.60564935", "0.60240406", "0.60228974", "0.59817034", "0.59762394", "0.5952373", "0.58445144", "0.5843009", "0.5801543", "0.57961166", "0.5766763", "0.574635", "0.5745609", "0.5739275", "0.5668887", "0.5668465", "0.56134856", "0.5604169", "0.5552772", "0.5543643", "0.5534909", "0.5520281", "0.5520225", "0.551918", "0.55124193", "0.5487793", "0.54874283", "0.5472215", "0.5459646", "0.5456871", "0.5445327", "0.54417616", "0.54378426", "0.54360104", "0.54331857", "0.54331857", "0.54331857", "0.54331857", "0.54331857", "0.54331857", "0.54331857", "0.5428571", "0.5417728", "0.54116935", "0.54081917", "0.53922325", "0.53758883", "0.5375443", "0.5371106", "0.53544295", "0.5348619", "0.53403705", "0.5336123", "0.53308785", "0.5323658", "0.5314574", "0.529656", "0.529656", "0.5268994", "0.52621466", "0.52621466", "0.52513915", "0.52225715", "0.52135664", "0.5212458", "0.52105725", "0.5209534", "0.5205624", "0.518598", "0.5184874", "0.51841044", "0.51769096", "0.51738924", "0.5172721", "0.51631063", "0.5161019", "0.51520944" ]
0.7793121
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
.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
61
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
int32 subnetId = 1;
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 }", "int netid() {\n\t\t\treturn address & (-1 << mask);\n\t\t}", "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 }", "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();", "private boolean isSubnetInUse(String subnetId) {\n return false;\n }", "public void setSubnetId(String SubnetId) {\n this.SubnetId = SubnetId;\n }", "int getPrimarySnId();", "int getPrimarySnId();", "public String subnetName() {\n return this.subnetName;\n }", "int getPacketId();", "entities.Torrent.SubnetResponse getSubnetResponse();", "public ApiEntityReference subnet() {\n return this.subnet;\n }", "int getInIp();", "int getInIp();", "IntExpression netid(Expression p) {\n\t\treturn addr(p).and(explicitMask(p));\n\t}", "public BigInteger getNetworkId() {\n return networkId;\n }", "int getReceiverid();", "public SubnetInner subnet() {\n return this.subnet;\n }", "public final String getNetId( )\r\n {\r\n return netId;\r\n }", "@Override\n\tpublic Long getNetId() {\n\t\treturn null;\n\t}", "int getBlockId();", "public String getSubnetArn() {\n return this.subnetArn;\n }", "int getSourceSnId();", "@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 }", "private void sumbit(String ip){\n }", "@Test\n public void testLocalCircuitId() throws Exception {\n isisNeighbor.setLocalCircuitId((byte) 1);\n result4 = isisNeighbor.localCircuitId();\n assertThat(result4, is((byte) 1));\n }", "public interface Constants {\n public static final short NET_MASK_MAX_LENGTH = 32;\n}", "public byte getId() {\n return 2;\n }", "int getIp();", "int getIp();", "int getIp();", "int getAddr();", "boolean hasSubnetRequest();", "public Inet4Address getNetworkAddress() {\n\t\treturn subnetAddress;\n\t}", "private void setS1Ip(int value) {\n \n s1Ip_ = value;\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 }", "UUID getNegotiationId();", "public int getId() {\n\t\treturn config >> 8;\n\t}", "private int getSSN (){\n return ssn;\n }", "int getBlockNumber();", "int getBlockNumber();", "public int GetID()\n {\n return blockType.GetID();\n }", "byte[] networkMask();", "public long getUInt() { return bb.getInt() & 0xffff_ffffL; }", "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}", "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 }", "private int getNumberBase(String n1){\n return Integer.parseUnsignedInt(n1, base);\n }", "Integer destinationPort();", "int getClientIpV4();", "int getSendid();", "Integer getSesscode();", "public SubnetAddress(Controller controller, Inet4Address subnetAddress, int mask, long subnetID, String bridgeName) throws Exception {\n\t\tthis.controller = controller;\n\t\tthis.subnetAddress = subnetAddress;\n\t\tthis.mask = mask;\n\t\tthis.usedAddresses = new ArrayList<Inet4Address>();\n\t\tthis.state = BridgeState.NON_EXISTENT;\n\t\t\n\t\t//add broadcast and gateway to usedAddress\n\t\tthis.usedAddresses.add(getNetworkAddress());\n\t\tthis.usedAddresses.add(getGatewayAddress());\n\t\tthis.usedAddresses.add(getBroadcastAddress());\n\t\t\n\t\tthis.subnetID = subnetID;\n\t\tthis.bridgeName = bridgeName;\n\n\t\tthis.scriptDirectory = controller.configMap.get(\"LocScript\");\n\t\tthis.processMap = new HashMap<>();\n\t\t\n\t\tthis.updateTimer = new Timer();\n\t\tthis.updateTask = new UpdateStateTask();\n\t\t\n\t\t// create bridge on host machine\n\t\tif (createBridgeOnHost() == 0) {\n\t\t\tDebug.redDebug(\"createBridgeOnHost() FAILED!\");\n\t\t\tthrow new Exception(\"Error when creating a bridge on host for the subnet: \" + subnetID);\n\t\t}\n\t}", "public static String look_for_any_node(final Context context,final String subnet) {\n String host;\n for (int i = 98; i < 255; i++) {\n host = subnet + i;\n try {\n MyClientTask myClientTask = new MyClientTask(\n context,\n NodeDB.getNode_db(context),\n host,\n 2121,\n new RequestObj(\"HeartBeat\", null).toString());\n String rs = myClientTask.sendData();\n\n if (rs.contains(\"HeartBeat\")){\n return host;\n }\n\n\n\n } catch (Exception e) {\n e.printStackTrace();\n }\n }\n return null;\n\n }", "public Builder clearSubnetId() {\n\n subnetId_ = 0;\n onChanged();\n return this;\n }", "public Builder clearSubnetId() {\n\n subnetId_ = 0;\n onChanged();\n return this;\n }", "public Builder clearSubnetId() {\n\n subnetId_ = 0;\n onChanged();\n return this;\n }", "private void setInIp(int value) {\n \n inIp_ = value;\n }", "private void setInIp(int value) {\n \n inIp_ = value;\n }", "public String targetSubnetName() {\n return this.targetSubnetName;\n }", "java.lang.String getSnIp();", "java.lang.String getSnIp();", "Integer getNLNDccp();", "public String getCidr() {\n return cidr;\n }", "@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 }", "BigInteger getTelefone();", "entities.Torrent.SubnetRequestOrBuilder getSubnetRequestOrBuilder();", "int getPoolNumber();", "public static int offset_receiverNodeID() {\n return (16 / 8);\n }", "static int lanPort(String xxx) {\n\t\treturn 20000 + Integer.parseInt(xxx);\n\t}", "public EthernetStaticIP() {\n }", "public static void setPeerId(){\n Random ran = new Random();\n int rand_id = ran.nextInt(5555555 - 1000000 + 1) + 1000000;\n String peer_id_string = \"GROUP4AREL33t\" + rand_id;\n PEER_ID = peer_id_string.getBytes();\n }", "private int randomAddress() {\n\t\tint randomAddressId = (int) (Math.random() * 603);\n\t\treturn randomAddressId;\n\t}", "public int getSnId() {\n return snId_;\n }", "public int getSnId() {\n return snId_;\n }", "public int getSnId() {\n return snId_;\n }", "public int getSnId() {\n return snId_;\n }", "int getMemberId1();", "public int getBlockTextureFromSide(int var1)\r\n {\r\n return var1 == 1 ? 72 : (var1 == 0 ? 74 : 73);\r\n }", "public interface CallId {\r\n}", "public int getS1Ip() {\n return s1Ip_;\n }", "public Long getNetworkId() {\n return networkId;\n }" ]
[ "0.7044385", "0.7044385", "0.7043342", "0.69908655", "0.6989053", "0.6989053", "0.68427664", "0.66405904", "0.639932", "0.6353313", "0.6353313", "0.6353313", "0.6199429", "0.6086055", "0.5966089", "0.59449893", "0.5927204", "0.58684903", "0.58684903", "0.58684903", "0.58684903", "0.574828", "0.5727918", "0.5639678", "0.5639678", "0.56322354", "0.55968857", "0.5558868", "0.5541369", "0.55275476", "0.55275476", "0.54849064", "0.54605764", "0.5439422", "0.5415875", "0.5411967", "0.54071265", "0.5401679", "0.53645235", "0.5350983", "0.53066045", "0.52860135", "0.52735424", "0.5253662", "0.52495414", "0.5233831", "0.5233831", "0.5233831", "0.5220911", "0.52008635", "0.5192297", "0.5186687", "0.51841426", "0.51717365", "0.51686543", "0.51472735", "0.514632", "0.514632", "0.51328605", "0.5130428", "0.5125152", "0.51206124", "0.51191884", "0.5103814", "0.5101022", "0.5086394", "0.50843185", "0.50807726", "0.5077425", "0.5076314", "0.50504166", "0.50504166", "0.50504166", "0.5040175", "0.5040175", "0.503786", "0.5037662", "0.5037662", "0.50374025", "0.50269574", "0.5014255", "0.5012401", "0.5005485", "0.50003356", "0.49987212", "0.49910396", "0.49907535", "0.4990675", "0.49886334", "0.4987713", "0.4987713", "0.4987713", "0.4987713", "0.49835333", "0.49827197", "0.49807772", "0.49784943", "0.49767902" ]
0.78766483
1
Use SubnetRequest.newBuilder() to construct.
private SubnetRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { super(builder); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "entities.Torrent.SubnetRequestOrBuilder getSubnetRequestOrBuilder();", "entities.Torrent.SubnetRequest getSubnetRequest();", "public Builder setSubnetRequest(entities.Torrent.SubnetRequest value) {\n if (subnetRequestBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n subnetRequest_ = value;\n onChanged();\n } else {\n subnetRequestBuilder_.setMessage(value);\n }\n\n return this;\n }", "public entities.Torrent.SubnetRequestOrBuilder getSubnetRequestOrBuilder() {\n if (subnetRequestBuilder_ != null) {\n return subnetRequestBuilder_.getMessageOrBuilder();\n } else {\n return subnetRequest_ == null ?\n entities.Torrent.SubnetRequest.getDefaultInstance() : subnetRequest_;\n }\n }", "@java.lang.Override\n public entities.Torrent.SubnetRequestOrBuilder getSubnetRequestOrBuilder() {\n return getSubnetRequest();\n }", "public entities.Torrent.SubnetRequest getSubnetRequest() {\n if (subnetRequestBuilder_ == null) {\n return subnetRequest_ == null ? entities.Torrent.SubnetRequest.getDefaultInstance() : subnetRequest_;\n } else {\n return subnetRequestBuilder_.getMessage();\n }\n }", "public Builder mergeSubnetRequest(entities.Torrent.SubnetRequest value) {\n if (subnetRequestBuilder_ == null) {\n if (subnetRequest_ != null) {\n subnetRequest_ =\n entities.Torrent.SubnetRequest.newBuilder(subnetRequest_).mergeFrom(value).buildPartial();\n } else {\n subnetRequest_ = value;\n }\n onChanged();\n } else {\n subnetRequestBuilder_.mergeFrom(value);\n }\n\n return this;\n }", "@java.lang.Override\n public entities.Torrent.SubnetRequest getSubnetRequest() {\n return subnetRequest_ == null ? entities.Torrent.SubnetRequest.getDefaultInstance() : subnetRequest_;\n }", "public entities.Torrent.SubnetRequest.Builder getSubnetRequestBuilder() {\n\n onChanged();\n return getSubnetRequestFieldBuilder().getBuilder();\n }", "private com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.SubnetRequest, entities.Torrent.SubnetRequest.Builder, entities.Torrent.SubnetRequestOrBuilder>\n getSubnetRequestFieldBuilder() {\n if (subnetRequestBuilder_ == null) {\n subnetRequestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.SubnetRequest, entities.Torrent.SubnetRequest.Builder, entities.Torrent.SubnetRequestOrBuilder>(\n getSubnetRequest(),\n getParentForChildren(),\n isClean());\n subnetRequest_ = null;\n }\n return subnetRequestBuilder_;\n }", "public Builder clearSubnetRequest() {\n if (subnetRequestBuilder_ == null) {\n subnetRequest_ = null;\n onChanged();\n } else {\n subnetRequest_ = null;\n subnetRequestBuilder_ = null;\n }\n\n return this;\n }", "public Builder setSubnetRequest(\n entities.Torrent.SubnetRequest.Builder builderForValue) {\n if (subnetRequestBuilder_ == null) {\n subnetRequest_ = builderForValue.build();\n onChanged();\n } else {\n subnetRequestBuilder_.setMessage(builderForValue.build());\n }\n\n return this;\n }", "private SubnetResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "entities.Torrent.SubnetResponseOrBuilder getSubnetResponseOrBuilder();", "public SubRequestFacade(Request request) {\n super(request);\n }", "com.google.protobuf.ByteString getSubnetBytes();", "public DelegatedSubnetUsage() {\n }", "public entities.Torrent.SubnetResponse.Builder getSubnetResponseBuilder() {\n\n onChanged();\n return getSubnetResponseFieldBuilder().getBuilder();\n }", "entities.Torrent.SubnetResponse getSubnetResponse();", "@Required\n public String getSubnet() {\n return subnet;\n }", "boolean hasSubnetRequest();", "CreateSubnetGroupResult createSubnetGroup(CreateSubnetGroupRequest createSubnetGroupRequest);", "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 }", "private CallRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "@java.lang.Override\n public entities.Torrent.SubnetResponseOrBuilder getSubnetResponseOrBuilder() {\n return getSubnetResponse();\n }", "public Builder setSubnetResponse(entities.Torrent.SubnetResponse value) {\n if (subnetResponseBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n subnetResponse_ = value;\n onChanged();\n } else {\n subnetResponseBuilder_.setMessage(value);\n }\n\n return this;\n }", "public void setSubnetId(String SubnetId) {\n this.SubnetId = SubnetId;\n }", "public entities.Torrent.SubnetResponseOrBuilder getSubnetResponseOrBuilder() {\n if (subnetResponseBuilder_ != null) {\n return subnetResponseBuilder_.getMessageOrBuilder();\n } else {\n return subnetResponse_ == null ?\n entities.Torrent.SubnetResponse.getDefaultInstance() : subnetResponse_;\n }\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 }", "private GRPCRequest(com.google.protobuf.GeneratedMessage.Builder<?> builder) {\n super(builder);\n }", "public Builder mergeSubnetResponse(entities.Torrent.SubnetResponse value) {\n if (subnetResponseBuilder_ == null) {\n if (subnetResponse_ != null) {\n subnetResponse_ =\n entities.Torrent.SubnetResponse.newBuilder(subnetResponse_).mergeFrom(value).buildPartial();\n } else {\n subnetResponse_ = value;\n }\n onChanged();\n } else {\n subnetResponseBuilder_.mergeFrom(value);\n }\n\n return this;\n }", "public RequestBuilder() {\n this.https = false;\n }", "java.lang.String getSubnet();", "private ConverseRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "public ServiceRequest() {\n super();\n this.addNamespaceToRequest = true;\n }", "private OffchainWithdrawalRequest(com.google.protobuf.GeneratedMessage.Builder<?> builder) {\n super(builder);\n }", "public PrivateAccessVirtualNetwork withSubnets(List<PrivateAccessSubnet> subnets) {\n this.subnets = subnets;\n return this;\n }", "public Builder setRequestBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000002;\n request_ = value;\n onChanged();\n return this;\n }", "@java.lang.Override\n public boolean hasSubnetRequest() {\n return subnetRequest_ != null;\n }", "public entities.Torrent.SubnetResponse getSubnetResponse() {\n if (subnetResponseBuilder_ == null) {\n return subnetResponse_ == null ? entities.Torrent.SubnetResponse.getDefaultInstance() : subnetResponse_;\n } else {\n return subnetResponseBuilder_.getMessage();\n }\n }", "public SubnetAddress(Controller controller, Inet4Address subnetAddress, int mask, long subnetID, String bridgeName) throws Exception {\n\t\tthis.controller = controller;\n\t\tthis.subnetAddress = subnetAddress;\n\t\tthis.mask = mask;\n\t\tthis.usedAddresses = new ArrayList<Inet4Address>();\n\t\tthis.state = BridgeState.NON_EXISTENT;\n\t\t\n\t\t//add broadcast and gateway to usedAddress\n\t\tthis.usedAddresses.add(getNetworkAddress());\n\t\tthis.usedAddresses.add(getGatewayAddress());\n\t\tthis.usedAddresses.add(getBroadcastAddress());\n\t\t\n\t\tthis.subnetID = subnetID;\n\t\tthis.bridgeName = bridgeName;\n\n\t\tthis.scriptDirectory = controller.configMap.get(\"LocScript\");\n\t\tthis.processMap = new HashMap<>();\n\t\t\n\t\tthis.updateTimer = new Timer();\n\t\tthis.updateTask = new UpdateStateTask();\n\t\t\n\t\t// create bridge on host machine\n\t\tif (createBridgeOnHost() == 0) {\n\t\t\tDebug.redDebug(\"createBridgeOnHost() FAILED!\");\n\t\t\tthrow new Exception(\"Error when creating a bridge on host for the subnet: \" + subnetID);\n\t\t}\n\t}", "public Request(){\n\t\tthis(null, null, null);\n\t}", "public Builder mergeRequest(net.iGap.proto.ProtoRequest.Request value) {\n copyOnWrite();\n instance.mergeRequest(value);\n return this;\n }", "public boolean hasSubnetRequest() {\n return subnetRequestBuilder_ != null || subnetRequest_ != null;\n }", "@Test\n public void configuration() throws ConstructionException {\n Node node1 = new Node(Node.NodeIDType.OPENFLOW, 1L);\n Node node2 = new Node(Node.NodeIDType.OPENFLOW, 2L);\n Node node3 = new Node(Node.NodeIDType.OPENFLOW, 3L);\n NodeConnector nc1 = new NodeConnector(NodeConnector.NodeConnectorIDType.OPENFLOW, (short)1, node1);\n NodeConnector nc2 = new NodeConnector(NodeConnector.NodeConnectorIDType.OPENFLOW, (short)2, node2);\n NodeConnector nc3 = new NodeConnector(NodeConnector.NodeConnectorIDType.OPENFLOW, (short)3, node3);\n List<String> portList = new ArrayList<String>();\n portList.add(nc1.toString());\n portList.add(nc2.toString());\n portList.add(nc3.toString());\n\n // Full subnet creation\n SubnetConfig config = new SubnetConfig(\"eng\", \"11.1.1.254/16\", portList);\n Status status = config.validate();\n Assert.assertTrue(status.isSuccess());\n\n // No port set specified\n config = new SubnetConfig(\"eng\", \"11.1.1.254/16\", null);\n status = config.validate();\n Assert.assertTrue(status.isSuccess());\n\n // Empty port set\n config = new SubnetConfig(\"eng\", \"11.1.1.254/16\", new ArrayList<String>(0));\n status = config.validate();\n Assert.assertTrue(status.isSuccess());\n\n // Zero subnet\n config = new SubnetConfig(\"eng\", \"1.2.3.254/1\", null);\n status = config.validate();\n Assert.assertFalse(status.isSuccess());\n\n // Port set with invalid port notation\n List<String> badPortList = new ArrayList<String>();\n badPortList.add(\"1/1\");\n config = new SubnetConfig(\"eng\", \"1.2.3.254/1\", badPortList);\n status = config.validate();\n Assert.assertFalse(status.isSuccess());\n }", "public StochasticSamplingSubnetLayer(final Layer subnetwork, final int samples) {\n super(subnetwork);\n this.samples = samples;\n }", "private RequestGetPrototype(com.google.protobuf.GeneratedMessage.Builder<?> builder) {\n super(builder);\n this.unknownFields = builder.getUnknownFields();\n }", "public CreateNetworkAclRequest(CreateNetworkAclRequest source) {\n if (source.VpcId != null) {\n this.VpcId = new String(source.VpcId);\n }\n if (source.NetworkAclName != null) {\n this.NetworkAclName = new String(source.NetworkAclName);\n }\n if (source.NetworkAclType != null) {\n this.NetworkAclType = new String(source.NetworkAclType);\n }\n if (source.Tags != null) {\n this.Tags = new Tag[source.Tags.length];\n for (int i = 0; i < source.Tags.length; i++) {\n this.Tags[i] = new Tag(source.Tags[i]);\n }\n }\n }", "@java.lang.Override\n public entities.Torrent.SubnetResponse getSubnetResponse() {\n return subnetResponse_ == null ? entities.Torrent.SubnetResponse.getDefaultInstance() : subnetResponse_;\n }", "public com.vodafone.global.er.decoupling.binding.request.GetSupercreditBalancesRequest createGetSupercreditBalancesRequest()\n throws javax.xml.bind.JAXBException\n {\n return new com.vodafone.global.er.decoupling.binding.request.impl.GetSupercreditBalancesRequestImpl();\n }", "Subnet(String subnetString, Map<String,NetNode> addresses) {\n\t\t\tthis.members = members(subnetString, addresses);\n\t\t\tthis.groups = groups(subnetString, members);\n\t\t}", "public InterfaceEndpointInner withSubnet(SubnetInner subnet) {\n this.subnet = subnet;\n return this;\n }", "private Request(com.google.protobuf.GeneratedMessage.ExtendableBuilder<Pokemon.Request, ?> builder) {\n super(builder);\n this.unknownFields = builder.getUnknownFields();\n }", "public Builder mergeRequest(netty.framework.messages.TestMessage.TestRequest value) {\n if (((bitField0_ & 0x00000001) == 0x00000001) &&\n request_ != netty.framework.messages.TestMessage.TestRequest.getDefaultInstance()) {\n request_ =\n netty.framework.messages.TestMessage.TestRequest.newBuilder(request_).mergeFrom(value).buildPartial();\n } else {\n request_ = value;\n }\n\n bitField0_ |= 0x00000001;\n return this;\n }", "public String getSubnetArn() {\n return this.subnetArn;\n }", "private LesenRPCRequest(com.google.protobuf.GeneratedMessage.Builder<?> builder) {\n super(builder);\n this.unknownFields = builder.getUnknownFields();\n }", "private Request build() {\n Request.Builder builder =\n new Request.Builder().cacheControl(new CacheControl.Builder().noCache().build());\n\n HttpUrl.Builder urlBuilder = HttpUrl.parse(url).newBuilder();\n for (Map.Entry<String, String> entry : queryParams.entrySet()) {\n urlBuilder = urlBuilder.addEncodedQueryParameter(entry.getKey(), entry.getValue());\n }\n builder = builder.url(urlBuilder.build());\n\n for (Map.Entry<String, String> entry : headers.entrySet()) {\n builder = builder.header(entry.getKey(), entry.getValue());\n }\n\n RequestBody body = (bodyBuilder == null) ? null : bodyBuilder.build();\n builder = builder.method(method.name(), body);\n\n return builder.build();\n }", "public RPCRequest()\n\t{\n\t\tsuper();\n\t}", "public Builder clearSubnetId() {\n\n subnetId_ = 0;\n onChanged();\n return this;\n }", "public Builder clearSubnetId() {\n\n subnetId_ = 0;\n onChanged();\n return this;\n }", "public Builder clearSubnetId() {\n\n subnetId_ = 0;\n onChanged();\n return this;\n }", "Expression subnet(Expression p) {\n\t\treturn p.join(subnet);\n\t}", "@Override\n public Call<ListaUnidadesNegocioResponse> obtenerUnidadesNegocio(@Body ServerRequest request) {\n return serviceInterface.obtenerUnidadesNegocio(request);\n\n }", "public Builder clearSubnetResponse() {\n if (subnetResponseBuilder_ == null) {\n subnetResponse_ = null;\n onChanged();\n } else {\n subnetResponse_ = null;\n subnetResponseBuilder_ = null;\n }\n\n return this;\n }", "public VirtualNetworksLayer(String name, Parameters params) {\n\t\tsuper(name,params);\n\t\tSystem.out.println(\"Virtual networks layer : \"+params);\n\t\trand = new Random();\n\t\tint maxNetNum = 0;\n\t\tString names[] = params.names();\n\t\tint numNets = names.length;\n\t\tnetworks = new short[numNets][2];\n\t\tfor(int i=0;i<numNets;i++) {\n\t\t\tString subName = names[i];\n\t\t\tshort subNumber = (short)0;\n\t\t\ttry {subNumber = params.getShort(subName);}\n\t\t\tcatch(ParamDoesNotExistException pdnee) {\n\t\t\t\tthrow new RuntimeException(\"Invalid parameter for subnet \"+subName+\".\");\n\t\t\t}\n\t\t\tnetworks[i][0] = Short.parseShort(subName);\n\t\t\tnetworks[i][1] = subNumber;\n\t\t\tSystem.out.println(\"-> Add subnetwork: \"+subName+\"-\"+subNumber);\n\t\t\tif(networks[i][0] > maxNetNum) maxNetNum = networks[i][0];\n\t\t}\n\t\tint numNetBytes = (short)(maxNetNum >> 3) + 1;\n\t\tnetBits = new byte[numNetBytes];\n\t\tfor(int i = 0; i < numNets; i++) {\n\t\t\tint nByte = networks[i][0] >> 3; // division par 8\n\t\t\tint nBit = networks[i][0] & 7; // modulo 8\n\t\t\tnetBits[nByte] = (byte)(netBits[nByte] | (1 << nBit)); // set the corresponding bit\n\t\t}\n }", "private MessageRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "com.uzak.inter.bean.test.TestRequest.TestBeanRequestOrBuilder getRequestOrBuilder();", "private DownloadRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "public SystemRequest(@NonNull RequestType requestType){\r\n\t\tthis();\r\n\t\tsetRequestType(requestType);\r\n\t}", "private CreateRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "public IComplianceRequest buildRequest(final java.util.List<? extends com.microsoft.graph.options.Option> requestOptions) {\n return new com.microsoft.graph.requests.extensions.ComplianceRequest(getRequestUrl(), getClient(), requestOptions);\n }", "public IAgreementRequest buildRequest(final java.util.List<? extends com.microsoft.graph.options.Option> requestOptions) {\n return new com.microsoft.graph.requests.extensions.AgreementRequest(getRequestUrl(), getClient(), requestOptions);\n }", "private ReflectionRequest(Builder builder) {\n super(builder);\n }", "public SubnetInner subnet() {\n return this.subnet;\n }", "public com.vodafone.global.er.decoupling.binding.request.SelfcareSubscriptionsRequest createSelfcareSubscriptionsRequest()\n throws javax.xml.bind.JAXBException\n {\n return new com.vodafone.global.er.decoupling.binding.request.impl.SelfcareSubscriptionsRequestImpl();\n }", "private BlockLocationRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "private Request() {}", "private Request() {}", "public SipRequest getGenericRequest(String requestUri, String method,\n String profileUri) throws SipUriSyntaxException {\n //8.1.1\n SipRequest request = new SipRequest(method, new SipURI(requestUri));\n SipHeaders headers = request.getSipHeaders();\n //String hostAddress = utils.getMyAddress().getHostAddress();\n \n //Via\n \n //TODO no Via should be added directly by UAC, Via is normally added by Transaction layer\n \n// StringBuffer viaBuf = new StringBuffer();\n// viaBuf.append(RFC3261.DEFAULT_SIP_VERSION);\n// // TODO choose real transport\n// viaBuf.append(\"/UDP \");\n// viaBuf.append(hostAddress);\n// SipHeaderFieldValue via = new SipHeaderFieldValue(viaBuf.toString());\n// via.addParam(new SipHeaderParamName(RFC3261.PARAM_BRANCHID),\n// utils.generateBranchId());\n// headers.add(new SipHeaderFieldName(RFC3261.HDR_VIA), via);\n \n Utils.addCommonHeaders(headers);\n \n //To\n \n NameAddress to = new NameAddress(requestUri);\n headers.add(new SipHeaderFieldName(RFC3261.HDR_TO),\n new SipHeaderFieldValue(to.toString()));\n \n //From\n \n NameAddress fromNA = new NameAddress(profileUri);\n SipHeaderFieldValue from = new SipHeaderFieldValue(fromNA.toString());\n from.addParam(new SipHeaderParamName(RFC3261.PARAM_TAG),\n Utils.generateTag());\n headers.add(new SipHeaderFieldName(RFC3261.HDR_FROM), from);\n \n //Call-ID\n \n headers.add(new SipHeaderFieldName(RFC3261.HDR_CALLID),\n new SipHeaderFieldValue(\n Utils.generateCallID(userAgent.getMyAddress())));\n \n //CSeq\n \n headers.add(new SipHeaderFieldName(RFC3261.HDR_CSEQ),\n new SipHeaderFieldValue(userAgent.generateCSeq(method)));\n \n return request;\n }", "public NewMemberRequest build() {\r\n return newMemberRequest;\r\n }", "public Builder setRequest(netty.framework.messages.TestMessage.TestRequest value) {\n if (value == null) {\n throw new NullPointerException();\n }\n request_ = value;\n\n bitField0_ |= 0x00000001;\n return this;\n }", "public Request() {\n }", "protected BaseErrorRequest(final byte[] request) {\n super(request);\n this.errorDescription = null;\n }", "static Request parseRequest(InputStream in) throws IOException {\n\t\tRequestLine request = readRequestLine(in);\n\t\tHeaders headers = readHeaders(in);\n\t\tlong length = -1;\n\t\tInputStream body;\n\t\tif (HeaderValue.CHUNKED.equals(headers.get(HeaderName.TRANSFER_ENCODING))) {\n\t\t\tbody = new ChunkedInputStream(in);\n\t\t} else {\n\t\t\tString header = headers.get(HeaderName.CONTENT_LENGTH);\n\t\t\tlength = header == null ? 0 : Long.parseLong(header);\n\t\t\tbody = new LimitedInputStream(in, length);\n\t\t}\n\t\treturn new Request(request.method(), request.target(), request.path(), request.query(), headers, length, body);\n\t}", "public Request(String requestType, ArrayList<String> requestParameters) {\n this.requestType = requestType;\n this.requestParameters = requestParameters;\n }", "public com.vodafone.global.er.decoupling.binding.request.ModifySubscriptionRequest createModifySubscriptionRequest()\n throws javax.xml.bind.JAXBException\n {\n return new com.vodafone.global.er.decoupling.binding.request.impl.ModifySubscriptionRequestImpl();\n }", "private void mergeRequest(net.iGap.proto.ProtoRequest.Request value) {\n if (request_ != null &&\n request_ != net.iGap.proto.ProtoRequest.Request.getDefaultInstance()) {\n request_ =\n net.iGap.proto.ProtoRequest.Request.newBuilder(request_).mergeFrom(value).buildPartial();\n } else {\n request_ = value;\n }\n \n }", "public com.vodafone.global.er.decoupling.binding.request.SelfcareMicroServicesRequest createSelfcareMicroServicesRequest()\n throws javax.xml.bind.JAXBException\n {\n return new com.vodafone.global.er.decoupling.binding.request.impl.SelfcareMicroServicesRequestImpl();\n }", "private BaseRequest(int method, String url, @Nullable Response.Listener<T> listener,\n @Nullable Response.ErrorListener errorListener) {\n super(method, url, errorListener);\n this.listener = listener;\n }", "private CalRequest(com.google.protobuf.GeneratedMessage.Builder<?> builder) {\n super(builder);\n this.unknownFields = builder.getUnknownFields();\n }", "private ReadBlockRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "private static byte[] createRequest(String name, String requestType) {\n\n // Creates the header for the request\n byte[] header = createHeader();\n\n // Creates the query for the request\n byte[] query = createQuery(name, requestType);\n\n // Final Packet.\n byte[] request = new byte[header.length + query.length];\n\n // Byte Buffers provide useful utilities.\n ByteBuffer rqBuf = ByteBuffer.wrap(request);\n\n // Combine header and query\n rqBuf.put(header);\n rqBuf.put(query);\n\n return request;\n }", "public Builder mergeRequest(com.czht.face.recognition.Czhtdev.Request value) {\n if (requestBuilder_ == null) {\n if (((bitField0_ & 0x00000002) == 0x00000002) &&\n request_ != null &&\n request_ != com.czht.face.recognition.Czhtdev.Request.getDefaultInstance()) {\n request_ =\n com.czht.face.recognition.Czhtdev.Request.newBuilder(request_).mergeFrom(value).buildPartial();\n } else {\n request_ = value;\n }\n onChanged();\n } else {\n requestBuilder_.mergeFrom(value);\n }\n bitField0_ |= 0x00000002;\n return this;\n }", "public TransmissionProtocol.RequestOrBuilder getRequestOrBuilder(\n int index) {\n return request_.get(index);\n }", "private ReplicateRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }" ]
[ "0.7426096", "0.7118486", "0.7037306", "0.6882948", "0.6780423", "0.6759028", "0.66338587", "0.6616214", "0.62018895", "0.6013529", "0.5964602", "0.596126", "0.59561723", "0.5930449", "0.56581503", "0.5631283", "0.5500874", "0.54128695", "0.54048324", "0.52842927", "0.5235701", "0.5215128", "0.5195259", "0.5195259", "0.5195259", "0.5195259", "0.5184203", "0.51784647", "0.50901556", "0.50875926", "0.507467", "0.5061923", "0.5061923", "0.5061923", "0.50585335", "0.50558704", "0.5037693", "0.502608", "0.5003078", "0.49743155", "0.49625704", "0.49476886", "0.4947532", "0.49317646", "0.49227807", "0.49162072", "0.4894373", "0.48885223", "0.48765293", "0.48661068", "0.48546085", "0.48504776", "0.48397794", "0.48356956", "0.48294327", "0.48273692", "0.4797403", "0.47969142", "0.47911614", "0.47838834", "0.47790995", "0.47557098", "0.47525546", "0.47495192", "0.47495192", "0.47495192", "0.47425115", "0.47291738", "0.47284117", "0.46926734", "0.46923634", "0.4684261", "0.46831566", "0.4665789", "0.46650612", "0.46604443", "0.4656521", "0.46522883", "0.46446124", "0.46309924", "0.46301442", "0.46268412", "0.46268412", "0.4624676", "0.46147317", "0.4610031", "0.45988417", "0.45836776", "0.45795172", "0.4578221", "0.45776954", "0.45663622", "0.45660257", "0.45602822", "0.45513242", "0.45490327", "0.4546949", "0.4544614", "0.45440802", "0.45427975" ]
0.75724345
0
int32 subnetId = 1;
@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 }", "int netid() {\n\t\t\treturn address & (-1 << mask);\n\t\t}", "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 }", "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();", "private boolean isSubnetInUse(String subnetId) {\n return false;\n }", "public void setSubnetId(String SubnetId) {\n this.SubnetId = SubnetId;\n }", "int getPrimarySnId();", "int getPrimarySnId();", "public String subnetName() {\n return this.subnetName;\n }", "int getPacketId();", "entities.Torrent.SubnetResponse getSubnetResponse();", "public ApiEntityReference subnet() {\n return this.subnet;\n }", "int getInIp();", "int getInIp();", "IntExpression netid(Expression p) {\n\t\treturn addr(p).and(explicitMask(p));\n\t}", "public BigInteger getNetworkId() {\n return networkId;\n }", "int getReceiverid();", "public SubnetInner subnet() {\n return this.subnet;\n }", "public final String getNetId( )\r\n {\r\n return netId;\r\n }", "@Override\n\tpublic Long getNetId() {\n\t\treturn null;\n\t}", "int getBlockId();", "public String getSubnetArn() {\n return this.subnetArn;\n }", "int getSourceSnId();", "@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 }", "private void sumbit(String ip){\n }", "@Test\n public void testLocalCircuitId() throws Exception {\n isisNeighbor.setLocalCircuitId((byte) 1);\n result4 = isisNeighbor.localCircuitId();\n assertThat(result4, is((byte) 1));\n }", "public interface Constants {\n public static final short NET_MASK_MAX_LENGTH = 32;\n}", "public byte getId() {\n return 2;\n }", "int getIp();", "int getIp();", "int getIp();", "int getAddr();", "boolean hasSubnetRequest();", "public Inet4Address getNetworkAddress() {\n\t\treturn subnetAddress;\n\t}", "private void setS1Ip(int value) {\n \n s1Ip_ = value;\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 }", "UUID getNegotiationId();", "public int getId() {\n\t\treturn config >> 8;\n\t}", "private int getSSN (){\n return ssn;\n }", "int getBlockNumber();", "int getBlockNumber();", "public int GetID()\n {\n return blockType.GetID();\n }", "byte[] networkMask();", "public long getUInt() { return bb.getInt() & 0xffff_ffffL; }", "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}", "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 }", "private int getNumberBase(String n1){\n return Integer.parseUnsignedInt(n1, base);\n }", "Integer destinationPort();", "int getClientIpV4();", "int getSendid();", "Integer getSesscode();", "public SubnetAddress(Controller controller, Inet4Address subnetAddress, int mask, long subnetID, String bridgeName) throws Exception {\n\t\tthis.controller = controller;\n\t\tthis.subnetAddress = subnetAddress;\n\t\tthis.mask = mask;\n\t\tthis.usedAddresses = new ArrayList<Inet4Address>();\n\t\tthis.state = BridgeState.NON_EXISTENT;\n\t\t\n\t\t//add broadcast and gateway to usedAddress\n\t\tthis.usedAddresses.add(getNetworkAddress());\n\t\tthis.usedAddresses.add(getGatewayAddress());\n\t\tthis.usedAddresses.add(getBroadcastAddress());\n\t\t\n\t\tthis.subnetID = subnetID;\n\t\tthis.bridgeName = bridgeName;\n\n\t\tthis.scriptDirectory = controller.configMap.get(\"LocScript\");\n\t\tthis.processMap = new HashMap<>();\n\t\t\n\t\tthis.updateTimer = new Timer();\n\t\tthis.updateTask = new UpdateStateTask();\n\t\t\n\t\t// create bridge on host machine\n\t\tif (createBridgeOnHost() == 0) {\n\t\t\tDebug.redDebug(\"createBridgeOnHost() FAILED!\");\n\t\t\tthrow new Exception(\"Error when creating a bridge on host for the subnet: \" + subnetID);\n\t\t}\n\t}", "public static String look_for_any_node(final Context context,final String subnet) {\n String host;\n for (int i = 98; i < 255; i++) {\n host = subnet + i;\n try {\n MyClientTask myClientTask = new MyClientTask(\n context,\n NodeDB.getNode_db(context),\n host,\n 2121,\n new RequestObj(\"HeartBeat\", null).toString());\n String rs = myClientTask.sendData();\n\n if (rs.contains(\"HeartBeat\")){\n return host;\n }\n\n\n\n } catch (Exception e) {\n e.printStackTrace();\n }\n }\n return null;\n\n }", "public Builder clearSubnetId() {\n\n subnetId_ = 0;\n onChanged();\n return this;\n }", "public Builder clearSubnetId() {\n\n subnetId_ = 0;\n onChanged();\n return this;\n }", "public Builder clearSubnetId() {\n\n subnetId_ = 0;\n onChanged();\n return this;\n }", "private void setInIp(int value) {\n \n inIp_ = value;\n }", "private void setInIp(int value) {\n \n inIp_ = value;\n }", "public String targetSubnetName() {\n return this.targetSubnetName;\n }", "java.lang.String getSnIp();", "java.lang.String getSnIp();", "Integer getNLNDccp();", "public String getCidr() {\n return cidr;\n }", "@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 }", "BigInteger getTelefone();", "entities.Torrent.SubnetRequestOrBuilder getSubnetRequestOrBuilder();", "int getPoolNumber();", "public static int offset_receiverNodeID() {\n return (16 / 8);\n }", "static int lanPort(String xxx) {\n\t\treturn 20000 + Integer.parseInt(xxx);\n\t}", "public EthernetStaticIP() {\n }", "public static void setPeerId(){\n Random ran = new Random();\n int rand_id = ran.nextInt(5555555 - 1000000 + 1) + 1000000;\n String peer_id_string = \"GROUP4AREL33t\" + rand_id;\n PEER_ID = peer_id_string.getBytes();\n }", "private int randomAddress() {\n\t\tint randomAddressId = (int) (Math.random() * 603);\n\t\treturn randomAddressId;\n\t}", "public int getSnId() {\n return snId_;\n }", "public int getSnId() {\n return snId_;\n }", "public int getSnId() {\n return snId_;\n }", "public int getSnId() {\n return snId_;\n }", "int getMemberId1();", "public int getBlockTextureFromSide(int var1)\r\n {\r\n return var1 == 1 ? 72 : (var1 == 0 ? 74 : 73);\r\n }", "public interface CallId {\r\n}", "public int getS1Ip() {\n return s1Ip_;\n }", "public Long getNetworkId() {\n return networkId;\n }" ]
[ "0.78766483", "0.78766483", "0.78766483", "0.7044385", "0.7044385", "0.7043342", "0.68427664", "0.66405904", "0.639932", "0.6353313", "0.6353313", "0.6353313", "0.6199429", "0.6086055", "0.5966089", "0.59449893", "0.5927204", "0.58684903", "0.58684903", "0.58684903", "0.58684903", "0.574828", "0.5727918", "0.5639678", "0.5639678", "0.56322354", "0.55968857", "0.5558868", "0.5541369", "0.55275476", "0.55275476", "0.54849064", "0.54605764", "0.5439422", "0.5415875", "0.5411967", "0.54071265", "0.5401679", "0.53645235", "0.5350983", "0.53066045", "0.52860135", "0.52735424", "0.5253662", "0.52495414", "0.5233831", "0.5233831", "0.5233831", "0.5220911", "0.52008635", "0.5192297", "0.5186687", "0.51841426", "0.51717365", "0.51686543", "0.51472735", "0.514632", "0.514632", "0.51328605", "0.5130428", "0.5125152", "0.51206124", "0.51191884", "0.5103814", "0.5101022", "0.5086394", "0.50843185", "0.50807726", "0.5077425", "0.5076314", "0.50504166", "0.50504166", "0.50504166", "0.5040175", "0.5040175", "0.503786", "0.5037662", "0.5037662", "0.50374025", "0.50269574", "0.5014255", "0.5012401", "0.5005485", "0.50003356", "0.49987212", "0.49910396", "0.49907535", "0.4990675", "0.49886334", "0.4987713", "0.4987713", "0.4987713", "0.4987713", "0.49835333", "0.49827197", "0.49807772", "0.49784943", "0.49767902" ]
0.69908655
6
int32 subnetId = 1;
@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 }", "int netid() {\n\t\t\treturn address & (-1 << mask);\n\t\t}", "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 }", "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();", "private boolean isSubnetInUse(String subnetId) {\n return false;\n }", "public void setSubnetId(String SubnetId) {\n this.SubnetId = SubnetId;\n }", "int getPrimarySnId();", "int getPrimarySnId();", "public String subnetName() {\n return this.subnetName;\n }", "int getPacketId();", "entities.Torrent.SubnetResponse getSubnetResponse();", "public ApiEntityReference subnet() {\n return this.subnet;\n }", "int getInIp();", "int getInIp();", "IntExpression netid(Expression p) {\n\t\treturn addr(p).and(explicitMask(p));\n\t}", "public BigInteger getNetworkId() {\n return networkId;\n }", "int getReceiverid();", "public SubnetInner subnet() {\n return this.subnet;\n }", "public final String getNetId( )\r\n {\r\n return netId;\r\n }", "@Override\n\tpublic Long getNetId() {\n\t\treturn null;\n\t}", "int getBlockId();", "public String getSubnetArn() {\n return this.subnetArn;\n }", "int getSourceSnId();", "@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 }", "private void sumbit(String ip){\n }", "@Test\n public void testLocalCircuitId() throws Exception {\n isisNeighbor.setLocalCircuitId((byte) 1);\n result4 = isisNeighbor.localCircuitId();\n assertThat(result4, is((byte) 1));\n }", "public interface Constants {\n public static final short NET_MASK_MAX_LENGTH = 32;\n}", "public byte getId() {\n return 2;\n }", "int getIp();", "int getIp();", "int getIp();", "int getAddr();", "boolean hasSubnetRequest();", "public Inet4Address getNetworkAddress() {\n\t\treturn subnetAddress;\n\t}", "private void setS1Ip(int value) {\n \n s1Ip_ = value;\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 }", "UUID getNegotiationId();", "public int getId() {\n\t\treturn config >> 8;\n\t}", "private int getSSN (){\n return ssn;\n }", "int getBlockNumber();", "int getBlockNumber();", "public int GetID()\n {\n return blockType.GetID();\n }", "byte[] networkMask();", "public long getUInt() { return bb.getInt() & 0xffff_ffffL; }", "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}", "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 }", "private int getNumberBase(String n1){\n return Integer.parseUnsignedInt(n1, base);\n }", "Integer destinationPort();", "int getClientIpV4();", "int getSendid();", "Integer getSesscode();", "public SubnetAddress(Controller controller, Inet4Address subnetAddress, int mask, long subnetID, String bridgeName) throws Exception {\n\t\tthis.controller = controller;\n\t\tthis.subnetAddress = subnetAddress;\n\t\tthis.mask = mask;\n\t\tthis.usedAddresses = new ArrayList<Inet4Address>();\n\t\tthis.state = BridgeState.NON_EXISTENT;\n\t\t\n\t\t//add broadcast and gateway to usedAddress\n\t\tthis.usedAddresses.add(getNetworkAddress());\n\t\tthis.usedAddresses.add(getGatewayAddress());\n\t\tthis.usedAddresses.add(getBroadcastAddress());\n\t\t\n\t\tthis.subnetID = subnetID;\n\t\tthis.bridgeName = bridgeName;\n\n\t\tthis.scriptDirectory = controller.configMap.get(\"LocScript\");\n\t\tthis.processMap = new HashMap<>();\n\t\t\n\t\tthis.updateTimer = new Timer();\n\t\tthis.updateTask = new UpdateStateTask();\n\t\t\n\t\t// create bridge on host machine\n\t\tif (createBridgeOnHost() == 0) {\n\t\t\tDebug.redDebug(\"createBridgeOnHost() FAILED!\");\n\t\t\tthrow new Exception(\"Error when creating a bridge on host for the subnet: \" + subnetID);\n\t\t}\n\t}", "public static String look_for_any_node(final Context context,final String subnet) {\n String host;\n for (int i = 98; i < 255; i++) {\n host = subnet + i;\n try {\n MyClientTask myClientTask = new MyClientTask(\n context,\n NodeDB.getNode_db(context),\n host,\n 2121,\n new RequestObj(\"HeartBeat\", null).toString());\n String rs = myClientTask.sendData();\n\n if (rs.contains(\"HeartBeat\")){\n return host;\n }\n\n\n\n } catch (Exception e) {\n e.printStackTrace();\n }\n }\n return null;\n\n }", "public Builder clearSubnetId() {\n\n subnetId_ = 0;\n onChanged();\n return this;\n }", "public Builder clearSubnetId() {\n\n subnetId_ = 0;\n onChanged();\n return this;\n }", "public Builder clearSubnetId() {\n\n subnetId_ = 0;\n onChanged();\n return this;\n }", "private void setInIp(int value) {\n \n inIp_ = value;\n }", "private void setInIp(int value) {\n \n inIp_ = value;\n }", "public String targetSubnetName() {\n return this.targetSubnetName;\n }", "java.lang.String getSnIp();", "java.lang.String getSnIp();", "Integer getNLNDccp();", "public String getCidr() {\n return cidr;\n }", "@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 }", "BigInteger getTelefone();", "entities.Torrent.SubnetRequestOrBuilder getSubnetRequestOrBuilder();", "int getPoolNumber();", "public static int offset_receiverNodeID() {\n return (16 / 8);\n }", "static int lanPort(String xxx) {\n\t\treturn 20000 + Integer.parseInt(xxx);\n\t}", "public EthernetStaticIP() {\n }", "public static void setPeerId(){\n Random ran = new Random();\n int rand_id = ran.nextInt(5555555 - 1000000 + 1) + 1000000;\n String peer_id_string = \"GROUP4AREL33t\" + rand_id;\n PEER_ID = peer_id_string.getBytes();\n }", "private int randomAddress() {\n\t\tint randomAddressId = (int) (Math.random() * 603);\n\t\treturn randomAddressId;\n\t}", "public int getSnId() {\n return snId_;\n }", "public int getSnId() {\n return snId_;\n }", "public int getSnId() {\n return snId_;\n }", "public int getSnId() {\n return snId_;\n }", "int getMemberId1();", "public int getBlockTextureFromSide(int var1)\r\n {\r\n return var1 == 1 ? 72 : (var1 == 0 ? 74 : 73);\r\n }", "public interface CallId {\r\n}", "public int getS1Ip() {\n return s1Ip_;\n }", "public Long getNetworkId() {\n return networkId;\n }" ]
[ "0.78766483", "0.78766483", "0.78766483", "0.69908655", "0.6989053", "0.6989053", "0.68427664", "0.66405904", "0.639932", "0.6353313", "0.6353313", "0.6353313", "0.6199429", "0.6086055", "0.5966089", "0.59449893", "0.5927204", "0.58684903", "0.58684903", "0.58684903", "0.58684903", "0.574828", "0.5727918", "0.5639678", "0.5639678", "0.56322354", "0.55968857", "0.5558868", "0.5541369", "0.55275476", "0.55275476", "0.54849064", "0.54605764", "0.5439422", "0.5415875", "0.5411967", "0.54071265", "0.5401679", "0.53645235", "0.5350983", "0.53066045", "0.52860135", "0.52735424", "0.5253662", "0.52495414", "0.5233831", "0.5233831", "0.5233831", "0.5220911", "0.52008635", "0.5192297", "0.5186687", "0.51841426", "0.51717365", "0.51686543", "0.51472735", "0.514632", "0.514632", "0.51328605", "0.5130428", "0.5125152", "0.51206124", "0.51191884", "0.5103814", "0.5101022", "0.5086394", "0.50843185", "0.50807726", "0.5077425", "0.5076314", "0.50504166", "0.50504166", "0.50504166", "0.5040175", "0.5040175", "0.503786", "0.5037662", "0.5037662", "0.50374025", "0.50269574", "0.5014255", "0.5012401", "0.5005485", "0.50003356", "0.49987212", "0.49910396", "0.49907535", "0.4990675", "0.49886334", "0.4987713", "0.4987713", "0.4987713", "0.4987713", "0.49835333", "0.49827197", "0.49807772", "0.49784943", "0.49767902" ]
0.7044385
4
int32 subnetId = 1;
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();", "private boolean isSubnetInUse(String subnetId) {\n return false;\n }", "public void setSubnetId(String SubnetId) {\n this.SubnetId = SubnetId;\n }", "int getPrimarySnId();", "int getPrimarySnId();", "public String subnetName() {\n return this.subnetName;\n }", "int getPacketId();", "entities.Torrent.SubnetResponse getSubnetResponse();", "public ApiEntityReference subnet() {\n return this.subnet;\n }", "int getInIp();", "int getInIp();", "IntExpression netid(Expression p) {\n\t\treturn addr(p).and(explicitMask(p));\n\t}", "public BigInteger getNetworkId() {\n return networkId;\n }", "int getReceiverid();", "public SubnetInner subnet() {\n return this.subnet;\n }", "public final String getNetId( )\r\n {\r\n return netId;\r\n }", "@Override\n\tpublic Long getNetId() {\n\t\treturn null;\n\t}", "int getBlockId();", "public String getSubnetArn() {\n return this.subnetArn;\n }", "int getSourceSnId();", "@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 }", "private void sumbit(String ip){\n }", "@Test\n public void testLocalCircuitId() throws Exception {\n isisNeighbor.setLocalCircuitId((byte) 1);\n result4 = isisNeighbor.localCircuitId();\n assertThat(result4, is((byte) 1));\n }", "public interface Constants {\n public static final short NET_MASK_MAX_LENGTH = 32;\n}", "public byte getId() {\n return 2;\n }", "int getIp();", "int getIp();", "int getIp();", "int getAddr();", "boolean hasSubnetRequest();", "public Inet4Address getNetworkAddress() {\n\t\treturn subnetAddress;\n\t}", "private void setS1Ip(int value) {\n \n s1Ip_ = value;\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 }", "UUID getNegotiationId();", "public int getId() {\n\t\treturn config >> 8;\n\t}", "private int getSSN (){\n return ssn;\n }", "int getBlockNumber();", "int getBlockNumber();", "public int GetID()\n {\n return blockType.GetID();\n }", "byte[] networkMask();", "public long getUInt() { return bb.getInt() & 0xffff_ffffL; }", "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}", "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 }", "private int getNumberBase(String n1){\n return Integer.parseUnsignedInt(n1, base);\n }", "Integer destinationPort();", "int getClientIpV4();", "int getSendid();", "Integer getSesscode();", "public SubnetAddress(Controller controller, Inet4Address subnetAddress, int mask, long subnetID, String bridgeName) throws Exception {\n\t\tthis.controller = controller;\n\t\tthis.subnetAddress = subnetAddress;\n\t\tthis.mask = mask;\n\t\tthis.usedAddresses = new ArrayList<Inet4Address>();\n\t\tthis.state = BridgeState.NON_EXISTENT;\n\t\t\n\t\t//add broadcast and gateway to usedAddress\n\t\tthis.usedAddresses.add(getNetworkAddress());\n\t\tthis.usedAddresses.add(getGatewayAddress());\n\t\tthis.usedAddresses.add(getBroadcastAddress());\n\t\t\n\t\tthis.subnetID = subnetID;\n\t\tthis.bridgeName = bridgeName;\n\n\t\tthis.scriptDirectory = controller.configMap.get(\"LocScript\");\n\t\tthis.processMap = new HashMap<>();\n\t\t\n\t\tthis.updateTimer = new Timer();\n\t\tthis.updateTask = new UpdateStateTask();\n\t\t\n\t\t// create bridge on host machine\n\t\tif (createBridgeOnHost() == 0) {\n\t\t\tDebug.redDebug(\"createBridgeOnHost() FAILED!\");\n\t\t\tthrow new Exception(\"Error when creating a bridge on host for the subnet: \" + subnetID);\n\t\t}\n\t}", "public static String look_for_any_node(final Context context,final String subnet) {\n String host;\n for (int i = 98; i < 255; i++) {\n host = subnet + i;\n try {\n MyClientTask myClientTask = new MyClientTask(\n context,\n NodeDB.getNode_db(context),\n host,\n 2121,\n new RequestObj(\"HeartBeat\", null).toString());\n String rs = myClientTask.sendData();\n\n if (rs.contains(\"HeartBeat\")){\n return host;\n }\n\n\n\n } catch (Exception e) {\n e.printStackTrace();\n }\n }\n return null;\n\n }", "public Builder clearSubnetId() {\n\n subnetId_ = 0;\n onChanged();\n return this;\n }", "public Builder clearSubnetId() {\n\n subnetId_ = 0;\n onChanged();\n return this;\n }", "public Builder clearSubnetId() {\n\n subnetId_ = 0;\n onChanged();\n return this;\n }", "private void setInIp(int value) {\n \n inIp_ = value;\n }", "private void setInIp(int value) {\n \n inIp_ = value;\n }", "public String targetSubnetName() {\n return this.targetSubnetName;\n }", "java.lang.String getSnIp();", "java.lang.String getSnIp();", "Integer getNLNDccp();", "public String getCidr() {\n return cidr;\n }", "@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 }", "BigInteger getTelefone();", "entities.Torrent.SubnetRequestOrBuilder getSubnetRequestOrBuilder();", "int getPoolNumber();", "public static int offset_receiverNodeID() {\n return (16 / 8);\n }", "static int lanPort(String xxx) {\n\t\treturn 20000 + Integer.parseInt(xxx);\n\t}", "public EthernetStaticIP() {\n }", "public static void setPeerId(){\n Random ran = new Random();\n int rand_id = ran.nextInt(5555555 - 1000000 + 1) + 1000000;\n String peer_id_string = \"GROUP4AREL33t\" + rand_id;\n PEER_ID = peer_id_string.getBytes();\n }", "private int randomAddress() {\n\t\tint randomAddressId = (int) (Math.random() * 603);\n\t\treturn randomAddressId;\n\t}", "public int getSnId() {\n return snId_;\n }", "public int getSnId() {\n return snId_;\n }", "public int getSnId() {\n return snId_;\n }", "public int getSnId() {\n return snId_;\n }", "int getMemberId1();", "public int getBlockTextureFromSide(int var1)\r\n {\r\n return var1 == 1 ? 72 : (var1 == 0 ? 74 : 73);\r\n }", "public interface CallId {\r\n}", "public int getS1Ip() {\n return s1Ip_;\n }", "public Long getNetworkId() {\n return networkId;\n }" ]
[ "0.78766483", "0.78766483", "0.78766483", "0.7044385", "0.7044385", "0.7043342", "0.69908655", "0.6989053", "0.6989053", "0.68427664", "0.66405904", "0.639932", "0.6199429", "0.6086055", "0.5966089", "0.59449893", "0.5927204", "0.58684903", "0.58684903", "0.58684903", "0.58684903", "0.574828", "0.5727918", "0.5639678", "0.5639678", "0.56322354", "0.55968857", "0.5558868", "0.5541369", "0.55275476", "0.55275476", "0.54849064", "0.54605764", "0.5439422", "0.5415875", "0.5411967", "0.54071265", "0.5401679", "0.53645235", "0.5350983", "0.53066045", "0.52860135", "0.52735424", "0.5253662", "0.52495414", "0.5233831", "0.5233831", "0.5233831", "0.5220911", "0.52008635", "0.5192297", "0.5186687", "0.51841426", "0.51717365", "0.51686543", "0.51472735", "0.514632", "0.514632", "0.51328605", "0.5130428", "0.5125152", "0.51206124", "0.51191884", "0.5103814", "0.5101022", "0.5086394", "0.50843185", "0.50807726", "0.5077425", "0.5076314", "0.50504166", "0.50504166", "0.50504166", "0.5040175", "0.5040175", "0.503786", "0.5037662", "0.5037662", "0.50374025", "0.50269574", "0.5014255", "0.5012401", "0.5005485", "0.50003356", "0.49987212", "0.49910396", "0.49907535", "0.4990675", "0.49886334", "0.4987713", "0.4987713", "0.4987713", "0.4987713", "0.49835333", "0.49827197", "0.49807772", "0.49784943", "0.49767902" ]
0.6353313
12
int32 subnetId = 1;
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 }", "int netid() {\n\t\t\treturn address & (-1 << mask);\n\t\t}", "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 }", "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();", "private boolean isSubnetInUse(String subnetId) {\n return false;\n }", "public void setSubnetId(String SubnetId) {\n this.SubnetId = SubnetId;\n }", "int getPrimarySnId();", "int getPrimarySnId();", "public String subnetName() {\n return this.subnetName;\n }", "int getPacketId();", "entities.Torrent.SubnetResponse getSubnetResponse();", "public ApiEntityReference subnet() {\n return this.subnet;\n }", "int getInIp();", "int getInIp();", "IntExpression netid(Expression p) {\n\t\treturn addr(p).and(explicitMask(p));\n\t}", "public BigInteger getNetworkId() {\n return networkId;\n }", "int getReceiverid();", "public SubnetInner subnet() {\n return this.subnet;\n }", "public final String getNetId( )\r\n {\r\n return netId;\r\n }", "@Override\n\tpublic Long getNetId() {\n\t\treturn null;\n\t}", "int getBlockId();", "public String getSubnetArn() {\n return this.subnetArn;\n }", "int getSourceSnId();", "@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 }", "private void sumbit(String ip){\n }", "@Test\n public void testLocalCircuitId() throws Exception {\n isisNeighbor.setLocalCircuitId((byte) 1);\n result4 = isisNeighbor.localCircuitId();\n assertThat(result4, is((byte) 1));\n }", "public interface Constants {\n public static final short NET_MASK_MAX_LENGTH = 32;\n}", "public byte getId() {\n return 2;\n }", "int getIp();", "int getIp();", "int getIp();", "int getAddr();", "boolean hasSubnetRequest();", "public Inet4Address getNetworkAddress() {\n\t\treturn subnetAddress;\n\t}", "private void setS1Ip(int value) {\n \n s1Ip_ = value;\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 }", "UUID getNegotiationId();", "public int getId() {\n\t\treturn config >> 8;\n\t}", "private int getSSN (){\n return ssn;\n }", "int getBlockNumber();", "int getBlockNumber();", "public int GetID()\n {\n return blockType.GetID();\n }", "byte[] networkMask();", "public long getUInt() { return bb.getInt() & 0xffff_ffffL; }", "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}", "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 }", "private int getNumberBase(String n1){\n return Integer.parseUnsignedInt(n1, base);\n }", "Integer destinationPort();", "int getClientIpV4();", "int getSendid();", "Integer getSesscode();", "public SubnetAddress(Controller controller, Inet4Address subnetAddress, int mask, long subnetID, String bridgeName) throws Exception {\n\t\tthis.controller = controller;\n\t\tthis.subnetAddress = subnetAddress;\n\t\tthis.mask = mask;\n\t\tthis.usedAddresses = new ArrayList<Inet4Address>();\n\t\tthis.state = BridgeState.NON_EXISTENT;\n\t\t\n\t\t//add broadcast and gateway to usedAddress\n\t\tthis.usedAddresses.add(getNetworkAddress());\n\t\tthis.usedAddresses.add(getGatewayAddress());\n\t\tthis.usedAddresses.add(getBroadcastAddress());\n\t\t\n\t\tthis.subnetID = subnetID;\n\t\tthis.bridgeName = bridgeName;\n\n\t\tthis.scriptDirectory = controller.configMap.get(\"LocScript\");\n\t\tthis.processMap = new HashMap<>();\n\t\t\n\t\tthis.updateTimer = new Timer();\n\t\tthis.updateTask = new UpdateStateTask();\n\t\t\n\t\t// create bridge on host machine\n\t\tif (createBridgeOnHost() == 0) {\n\t\t\tDebug.redDebug(\"createBridgeOnHost() FAILED!\");\n\t\t\tthrow new Exception(\"Error when creating a bridge on host for the subnet: \" + subnetID);\n\t\t}\n\t}", "public static String look_for_any_node(final Context context,final String subnet) {\n String host;\n for (int i = 98; i < 255; i++) {\n host = subnet + i;\n try {\n MyClientTask myClientTask = new MyClientTask(\n context,\n NodeDB.getNode_db(context),\n host,\n 2121,\n new RequestObj(\"HeartBeat\", null).toString());\n String rs = myClientTask.sendData();\n\n if (rs.contains(\"HeartBeat\")){\n return host;\n }\n\n\n\n } catch (Exception e) {\n e.printStackTrace();\n }\n }\n return null;\n\n }", "private void setInIp(int value) {\n \n inIp_ = value;\n }", "private void setInIp(int value) {\n \n inIp_ = value;\n }", "public String targetSubnetName() {\n return this.targetSubnetName;\n }", "java.lang.String getSnIp();", "java.lang.String getSnIp();", "Integer getNLNDccp();", "public String getCidr() {\n return cidr;\n }", "@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 }", "BigInteger getTelefone();", "entities.Torrent.SubnetRequestOrBuilder getSubnetRequestOrBuilder();", "int getPoolNumber();", "public static int offset_receiverNodeID() {\n return (16 / 8);\n }", "static int lanPort(String xxx) {\n\t\treturn 20000 + Integer.parseInt(xxx);\n\t}", "public EthernetStaticIP() {\n }", "public static void setPeerId(){\n Random ran = new Random();\n int rand_id = ran.nextInt(5555555 - 1000000 + 1) + 1000000;\n String peer_id_string = \"GROUP4AREL33t\" + rand_id;\n PEER_ID = peer_id_string.getBytes();\n }", "private int randomAddress() {\n\t\tint randomAddressId = (int) (Math.random() * 603);\n\t\treturn randomAddressId;\n\t}", "public int getSnId() {\n return snId_;\n }", "public int getSnId() {\n return snId_;\n }", "public int getSnId() {\n return snId_;\n }", "public int getSnId() {\n return snId_;\n }", "int getMemberId1();", "public int getBlockTextureFromSide(int var1)\r\n {\r\n return var1 == 1 ? 72 : (var1 == 0 ? 74 : 73);\r\n }", "public interface CallId {\r\n}", "public int getS1Ip() {\n return s1Ip_;\n }", "public Long getNetworkId() {\n return networkId;\n }" ]
[ "0.78766483", "0.78766483", "0.78766483", "0.7044385", "0.7044385", "0.7043342", "0.69908655", "0.6989053", "0.6989053", "0.68427664", "0.66405904", "0.639932", "0.6353313", "0.6353313", "0.6353313", "0.6199429", "0.6086055", "0.5966089", "0.59449893", "0.5927204", "0.58684903", "0.58684903", "0.58684903", "0.58684903", "0.574828", "0.5727918", "0.5639678", "0.5639678", "0.56322354", "0.55968857", "0.5558868", "0.5541369", "0.55275476", "0.55275476", "0.54849064", "0.54605764", "0.5439422", "0.5415875", "0.5411967", "0.54071265", "0.5401679", "0.53645235", "0.5350983", "0.53066045", "0.52860135", "0.52735424", "0.5253662", "0.52495414", "0.5233831", "0.5233831", "0.5233831", "0.5220911", "0.52008635", "0.5192297", "0.5186687", "0.51841426", "0.51717365", "0.51686543", "0.51472735", "0.514632", "0.514632", "0.51328605", "0.5130428", "0.5125152", "0.51206124", "0.51191884", "0.5103814", "0.5101022", "0.5086394", "0.50843185", "0.50807726", "0.5077425", "0.5076314", "0.5040175", "0.5040175", "0.503786", "0.5037662", "0.5037662", "0.50374025", "0.50269574", "0.5014255", "0.5012401", "0.5005485", "0.50003356", "0.49987212", "0.49910396", "0.49907535", "0.4990675", "0.49886334", "0.4987713", "0.4987713", "0.4987713", "0.4987713", "0.49835333", "0.49827197", "0.49807772", "0.49784943", "0.49767902" ]
0.50504166
75
.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
10
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 .NodeId nodes = 3;
java.util.List<entities.Torrent.NodeId> getNodesList();
{ "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;
entities.Torrent.NodeId getNodes(int index);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public int my_node_count();", "int getNodeCount();", "int getNodeCount();", "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.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.57780284
3
repeated .NodeId nodes = 3;
int getNodesCount();
{ "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();", "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.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.565362
14
repeated .NodeId nodes = 3;
java.util.List<? extends entities.Torrent.NodeIdOrBuilder> getNodesOrBuilderList();
{ "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;
entities.Torrent.NodeIdOrBuilder getNodesOrBuilder( int 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 }", "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.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.5492895
25
Use SubnetResponse.newBuilder() to construct.
private SubnetResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { super(builder); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "entities.Torrent.SubnetResponseOrBuilder getSubnetResponseOrBuilder();", "public Builder setSubnetResponse(entities.Torrent.SubnetResponse value) {\n if (subnetResponseBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n subnetResponse_ = value;\n onChanged();\n } else {\n subnetResponseBuilder_.setMessage(value);\n }\n\n return this;\n }", "public entities.Torrent.SubnetResponseOrBuilder getSubnetResponseOrBuilder() {\n if (subnetResponseBuilder_ != null) {\n return subnetResponseBuilder_.getMessageOrBuilder();\n } else {\n return subnetResponse_ == null ?\n entities.Torrent.SubnetResponse.getDefaultInstance() : subnetResponse_;\n }\n }", "entities.Torrent.SubnetResponse getSubnetResponse();", "@java.lang.Override\n public entities.Torrent.SubnetResponseOrBuilder getSubnetResponseOrBuilder() {\n return getSubnetResponse();\n }", "public Builder mergeSubnetResponse(entities.Torrent.SubnetResponse value) {\n if (subnetResponseBuilder_ == null) {\n if (subnetResponse_ != null) {\n subnetResponse_ =\n entities.Torrent.SubnetResponse.newBuilder(subnetResponse_).mergeFrom(value).buildPartial();\n } else {\n subnetResponse_ = value;\n }\n onChanged();\n } else {\n subnetResponseBuilder_.mergeFrom(value);\n }\n\n return this;\n }", "public entities.Torrent.SubnetResponse.Builder getSubnetResponseBuilder() {\n\n onChanged();\n return getSubnetResponseFieldBuilder().getBuilder();\n }", "public entities.Torrent.SubnetResponse getSubnetResponse() {\n if (subnetResponseBuilder_ == null) {\n return subnetResponse_ == null ? entities.Torrent.SubnetResponse.getDefaultInstance() : subnetResponse_;\n } else {\n return subnetResponseBuilder_.getMessage();\n }\n }", "@java.lang.Override\n public entities.Torrent.SubnetResponse getSubnetResponse() {\n return subnetResponse_ == null ? entities.Torrent.SubnetResponse.getDefaultInstance() : subnetResponse_;\n }", "public Builder clearSubnetResponse() {\n if (subnetResponseBuilder_ == null) {\n subnetResponse_ = null;\n onChanged();\n } else {\n subnetResponse_ = null;\n subnetResponseBuilder_ = null;\n }\n\n return this;\n }", "public Builder setSubnetResponse(\n entities.Torrent.SubnetResponse.Builder builderForValue) {\n if (subnetResponseBuilder_ == null) {\n subnetResponse_ = builderForValue.build();\n onChanged();\n } else {\n subnetResponseBuilder_.setMessage(builderForValue.build());\n }\n\n return this;\n }", "private com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.SubnetResponse, entities.Torrent.SubnetResponse.Builder, entities.Torrent.SubnetResponseOrBuilder>\n getSubnetResponseFieldBuilder() {\n if (subnetResponseBuilder_ == null) {\n subnetResponseBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.SubnetResponse, entities.Torrent.SubnetResponse.Builder, entities.Torrent.SubnetResponseOrBuilder>(\n getSubnetResponse(),\n getParentForChildren(),\n isClean());\n subnetResponse_ = null;\n }\n return subnetResponseBuilder_;\n }", "private SubnetRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "entities.Torrent.SubnetRequestOrBuilder getSubnetRequestOrBuilder();", "entities.Torrent.SubnetRequest getSubnetRequest();", "private CallResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "public Builder setResponseBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000002;\n response_ = value;\n onChanged();\n return this;\n }", "com.google.protobuf.ByteString getSubnetBytes();", "public Builder setSubnetRequest(entities.Torrent.SubnetRequest value) {\n if (subnetRequestBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n subnetRequest_ = value;\n onChanged();\n } else {\n subnetRequestBuilder_.setMessage(value);\n }\n\n return this;\n }", "public Builder addResponse(com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureResponseIsMutable();\n response_.add(value);\n onChanged();\n return this;\n }", "@java.lang.Override\n public entities.Torrent.SubnetRequestOrBuilder getSubnetRequestOrBuilder() {\n return getSubnetRequest();\n }", "boolean hasSubnetResponse();", "private LivestockResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "public boolean hasSubnetResponse() {\n return subnetResponseBuilder_ != null || subnetResponse_ != null;\n }", "public Builder mergeResponse(com.google.search.now.wire.feed.ResponseProto.Response value) {\n copyOnWrite();\n instance.mergeResponse(value);\n return this;\n }", "public Builder mergeResponse(com.google.search.now.wire.feed.ResponseProto.Response value) {\n copyOnWrite();\n instance.mergeResponse(value);\n return this;\n }", "public entities.Torrent.SubnetRequest.Builder getSubnetRequestBuilder() {\n\n onChanged();\n return getSubnetRequestFieldBuilder().getBuilder();\n }", "public BtcRpcGetAddressInfoEmbeddedResponse() {\n super();\n }", "@java.lang.Override\n public boolean hasSubnetResponse() {\n return subnetResponse_ != null;\n }", "public Builder mergeSubnetRequest(entities.Torrent.SubnetRequest value) {\n if (subnetRequestBuilder_ == null) {\n if (subnetRequest_ != null) {\n subnetRequest_ =\n entities.Torrent.SubnetRequest.newBuilder(subnetRequest_).mergeFrom(value).buildPartial();\n } else {\n subnetRequest_ = value;\n }\n onChanged();\n } else {\n subnetRequestBuilder_.mergeFrom(value);\n }\n\n return this;\n }", "public Builder mergeResponse(net.iGap.proto.ProtoResponse.Response value) {\n copyOnWrite();\n instance.mergeResponse(value);\n return this;\n }", "public Builder mergeResponse(net.iGap.proto.ProtoResponse.Response value) {\n copyOnWrite();\n instance.mergeResponse(value);\n return this;\n }", "private LesenRPCResponse(com.google.protobuf.GeneratedMessage.Builder<?> builder) {\n super(builder);\n this.unknownFields = builder.getUnknownFields();\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 }", "private ServerResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n\t\t\tsuper(builder);\n\t\t}", "private CallResponse() {\n initFields();\n }", "public DownloadResponseInner() {\n }", "private BaseResponse(com.google.protobuf.GeneratedMessage.Builder<?> builder) {\n super(builder);\n }", "private MsgInstantiateContractResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "public DescribeSubnetsResponse describeSubnets(DescribeSubnets describeSubnets) {\n \t\treturn null;\r\n \t}", "public Builder setResponseAddress(com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000010;\n responseAddress_ = value;\n onChanged();\n return this;\n }", "private ServerStopResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "public Builder mergeInitialResponse(com.google.search.now.wire.feed.ResponseProto.Response value) {\n copyOnWrite();\n instance.mergeInitialResponse(value);\n return this;\n }", "public entities.Torrent.SubnetRequestOrBuilder getSubnetRequestOrBuilder() {\n if (subnetRequestBuilder_ != null) {\n return subnetRequestBuilder_.getMessageOrBuilder();\n } else {\n return subnetRequest_ == null ?\n entities.Torrent.SubnetRequest.getDefaultInstance() : subnetRequest_;\n }\n }", "public void receiveResultsub(\n loadbalance.LoadBalanceStub.SubResponse result\n ) {\n }", "private ReadBlockResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "private ResponseGetPrototype(com.google.protobuf.GeneratedMessage.Builder<?> builder) {\n super(builder);\n this.unknownFields = builder.getUnknownFields();\n }", "private ResponseBank(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "public Builder setResponse(br.com.sergio.wallet.Response value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n response_ = value.getNumber();\n onChanged();\n return this;\n }", "public static OperationResponse builder() {\n\t\treturn new OperationResponse();\n\t}", "private BlockReportResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "public Builder mergeResponse(com.github.yeriomin.playstoreapi.ResponseWrapper value) {\n if (responseBuilder_ == null) {\n if (((bitField0_ & 0x00000002) == 0x00000002) &&\n response_ != com.github.yeriomin.playstoreapi.ResponseWrapper.getDefaultInstance()) {\n response_ =\n com.github.yeriomin.playstoreapi.ResponseWrapper.newBuilder(response_).mergeFrom(value).buildPartial();\n } else {\n response_ = value;\n }\n onChanged();\n } else {\n responseBuilder_.mergeFrom(value);\n }\n bitField0_ |= 0x00000002;\n return this;\n }", "private StreamingRecognizeResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\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 }", "public entities.Torrent.SubnetRequest getSubnetRequest() {\n if (subnetRequestBuilder_ == null) {\n return subnetRequest_ == null ? entities.Torrent.SubnetRequest.getDefaultInstance() : subnetRequest_;\n } else {\n return subnetRequestBuilder_.getMessage();\n }\n }", "@java.lang.Override\n public entities.Torrent.SubnetRequest getSubnetRequest() {\n return subnetRequest_ == null ? entities.Torrent.SubnetRequest.getDefaultInstance() : subnetRequest_;\n }", "public Builder setSubnetRequest(\n entities.Torrent.SubnetRequest.Builder builderForValue) {\n if (subnetRequestBuilder_ == null) {\n subnetRequest_ = builderForValue.build();\n onChanged();\n } else {\n subnetRequestBuilder_.setMessage(builderForValue.build());\n }\n\n return this;\n }", "private HelloResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "public DelegatedSubnetUsage() {\n }", "public com.github.yeriomin.playstoreapi.ResponseWrapper.Builder getResponseBuilder() {\n bitField0_ |= 0x00000002;\n onChanged();\n return getResponseFieldBuilder().getBuilder();\n }", "public edu.usfca.cs.dfs.StorageMessages.ListResponse.Builder getListResponseBuilder() {\n return getListResponseFieldBuilder().getBuilder();\n }", "private TeamInfoRespMsg(com.google.protobuf.GeneratedMessage.Builder<?> builder) {\n super(builder);\n this.unknownFields = builder.getUnknownFields();\n }", "public Builder setSubTypeBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n subType_ = value;\n onChanged();\n return this;\n }", "private PrepareResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "public Builder setResponse(\n int index, com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureResponseIsMutable();\n response_.set(index, value);\n onChanged();\n return this;\n }", "com.google.protobuf.ByteString\n getResponseBytes();", "public SubnetInner subnet() {\n return this.subnet;\n }", "@Override\n public Call<Void> clone() {\n return new HttpCall(httpClient, endpoint, compressionEnabled, encodedSpans);\n }", "public Builder setResponseBodyBytes(\n com.google.protobuf.ByteString value) {\n copyOnWrite();\n instance.setResponseBodyBytes(value);\n return this;\n }", "public Builder setInitialResponse(com.google.search.now.wire.feed.ResponseProto.Response value) {\n copyOnWrite();\n instance.setInitialResponse(value);\n return this;\n }", "private BenchmarkResponse(com.google.protobuf.GeneratedMessage.Builder builder) {\n super(builder);\n }", "public void receiveResultsub2(\n loadbalance.LoadBalanceStub.Sub2Response result\n ) {\n }", "private BlockLocationResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "private DownloadResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "private CalResponse(com.google.protobuf.GeneratedMessage.Builder<?> builder) {\n super(builder);\n this.unknownFields = builder.getUnknownFields();\n }", "private GetAoisByRegionIdResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "private ReplicateResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "private CreateResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "public Builder setResponse(com.github.yeriomin.playstoreapi.ResponseWrapper value) {\n if (responseBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n response_ = value;\n onChanged();\n } else {\n responseBuilder_.setMessage(value);\n }\n bitField0_ |= 0x00000002;\n return this;\n }", "public Builder mergeResponse(com.czht.face.recognition.Czhtdev.Response value) {\n if (responseBuilder_ == null) {\n if (((bitField0_ & 0x00000004) == 0x00000004) &&\n response_ != null &&\n response_ != com.czht.face.recognition.Czhtdev.Response.getDefaultInstance()) {\n response_ =\n com.czht.face.recognition.Czhtdev.Response.newBuilder(response_).mergeFrom(value).buildPartial();\n } else {\n response_ = value;\n }\n onChanged();\n } else {\n responseBuilder_.mergeFrom(value);\n }\n bitField0_ |= 0x00000004;\n return this;\n }", "com.google.protobuf.ByteString\n getResponseBytes();", "private MessageResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "private FetchResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "private void mergeResponse(com.google.search.now.wire.feed.ResponseProto.Response value) {\n if (response_ != null &&\n response_ != com.google.search.now.wire.feed.ResponseProto.Response.getDefaultInstance()) {\n response_ =\n com.google.search.now.wire.feed.ResponseProto.Response.newBuilder(response_).mergeFrom(value).buildPartial();\n } else {\n response_ = value;\n }\n bitField0_ |= 0x00000002;\n }", "private ListCouponsResponse(com.google.protobuf.GeneratedMessage.Builder<?> builder) {\n super(builder);\n }", "private TestResponse(com.google.protobuf.GeneratedMessageLite.Builder builder) {\n super(builder);\n\n }", "public POGOProtos.Rpc.AssetVersionOutProto.AssetVersionResponseProto.Builder addResponseBuilder() {\n return getResponseFieldBuilder().addBuilder(\n POGOProtos.Rpc.AssetVersionOutProto.AssetVersionResponseProto.getDefaultInstance());\n }", "public Builder mergeDownloadResponse(entities.Torrent.DownloadResponse value) {\n if (downloadResponseBuilder_ == null) {\n if (downloadResponse_ != null) {\n downloadResponse_ =\n entities.Torrent.DownloadResponse.newBuilder(downloadResponse_).mergeFrom(value).buildPartial();\n } else {\n downloadResponse_ = value;\n }\n onChanged();\n } else {\n downloadResponseBuilder_.mergeFrom(value);\n }\n\n return this;\n }", "private void mergeResponse(com.google.search.now.wire.feed.ResponseProto.Response value) {\n if (response_ != null &&\n response_ != com.google.search.now.wire.feed.ResponseProto.Response.getDefaultInstance()) {\n response_ =\n com.google.search.now.wire.feed.ResponseProto.Response.newBuilder(response_).mergeFrom(value).buildPartial();\n } else {\n response_ = value;\n }\n bitField0_ |= 0x00000001;\n }", "private RetrieveFileResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "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 Builder setResponse(com.google.search.now.wire.feed.ResponseProto.Response value) {\n copyOnWrite();\n instance.setResponse(value);\n return this;\n }", "public Builder setResponse(com.google.search.now.wire.feed.ResponseProto.Response value) {\n copyOnWrite();\n instance.setResponse(value);\n return this;\n }" ]
[ "0.7438417", "0.73101497", "0.70496565", "0.69888115", "0.6961889", "0.6939209", "0.6930933", "0.6884552", "0.67746925", "0.6395208", "0.63757753", "0.6316611", "0.6067483", "0.58335775", "0.5816054", "0.5615313", "0.560029", "0.5576513", "0.5575988", "0.5385599", "0.5384782", "0.53622645", "0.53526103", "0.53500646", "0.5319919", "0.5319919", "0.53043365", "0.5290381", "0.52856123", "0.52511007", "0.52421707", "0.52421707", "0.5217327", "0.51959974", "0.51959974", "0.51959974", "0.51959974", "0.51959974", "0.51959974", "0.51959974", "0.51496464", "0.51414335", "0.51367486", "0.513344", "0.5126071", "0.51247704", "0.5118822", "0.51162094", "0.5110234", "0.51082176", "0.5107568", "0.51041555", "0.5092821", "0.50920653", "0.50812685", "0.5081242", "0.5066526", "0.5021434", "0.5019844", "0.50112", "0.50082844", "0.49988502", "0.4987606", "0.49862838", "0.49770153", "0.49624956", "0.4950756", "0.4945899", "0.4939369", "0.49311295", "0.49286395", "0.49230978", "0.49216676", "0.49193212", "0.49163094", "0.49153993", "0.49087068", "0.4908558", "0.49052396", "0.49034417", "0.4903352", "0.48967767", "0.48947495", "0.48938745", "0.48896986", "0.487985", "0.48786762", "0.48693234", "0.48531213", "0.4843125", "0.4840705", "0.4829272", "0.48246387", "0.48233908", "0.48224935", "0.48176068", "0.48133072", "0.48133072", "0.48120075", "0.48120075" ]
0.7589639
0
.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 .NodeId nodes = 3;
@java.lang.Override public java.util.List<entities.Torrent.NodeId> getNodesList() { return 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;
@java.lang.Override public java.util.List<? extends entities.Torrent.NodeIdOrBuilder> getNodesOrBuilderList() { return 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;
@java.lang.Override public int getNodesCount() { return nodes_.size(); }
{ "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;
@java.lang.Override public entities.Torrent.NodeId getNodes(int index) { return nodes_.get(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;
@java.lang.Override public entities.Torrent.NodeIdOrBuilder getNodesOrBuilder( int index) { return nodes_.get(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
.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.58391654
65
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 .NodeId nodes = 3;
public java.util.List<entities.Torrent.NodeId> getNodesList() { if (nodesBuilder_ == null) { return java.util.Collections.unmodifiableList(nodes_); } else { return nodesBuilder_.getMessageList(); } }
{ "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 int getNodesCount() { if (nodesBuilder_ == null) { return nodes_.size(); } else { return nodesBuilder_.getCount(); } }
{ "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 getNodes(int index) { if (nodesBuilder_ == null) { return nodes_.get(index); } else { return nodesBuilder_.getMessage(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 Builder setNodes( int index, entities.Torrent.NodeId value) { if (nodesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureNodesIsMutable(); nodes_.set(index, value); onChanged(); } else { nodesBuilder_.setMessage(index, value); } 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 Builder setNodes( int index, entities.Torrent.NodeId.Builder builderForValue) { if (nodesBuilder_ == null) { ensureNodesIsMutable(); nodes_.set(index, builderForValue.build()); onChanged(); } else { nodesBuilder_.setMessage(index, builderForValue.build()); } 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 Builder addNodes(entities.Torrent.NodeId value) { if (nodesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureNodesIsMutable(); nodes_.add(value); onChanged(); } else { nodesBuilder_.addMessage(value); } 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 Builder addNodes( int index, entities.Torrent.NodeId value) { if (nodesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureNodesIsMutable(); nodes_.add(index, value); onChanged(); } else { nodesBuilder_.addMessage(index, value); } 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 Builder addNodes( entities.Torrent.NodeId.Builder builderForValue) { if (nodesBuilder_ == null) { ensureNodesIsMutable(); nodes_.add(builderForValue.build()); onChanged(); } else { nodesBuilder_.addMessage(builderForValue.build()); } 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 Builder addNodes( int index, entities.Torrent.NodeId.Builder builderForValue) { if (nodesBuilder_ == null) { ensureNodesIsMutable(); nodes_.add(index, builderForValue.build()); onChanged(); } else { nodesBuilder_.addMessage(index, builderForValue.build()); } 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 Builder addAllNodes( java.lang.Iterable<? extends entities.Torrent.NodeId> values) { if (nodesBuilder_ == null) { ensureNodesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, nodes_); onChanged(); } else { nodesBuilder_.addAllMessages(values); } 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 Builder clearNodes() { if (nodesBuilder_ == null) { nodes_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { nodesBuilder_.clear(); } 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