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
This method was generated by MyBatis Generator. This method corresponds to the database table pine_alarm
List<PineAlarm> selectByExampleSelective(@Param("example") PineAlarmExample example, @Param("selective") PineAlarm.Column ... selective);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "PineAlarm selectByPrimaryKey(Long pineAlarmId);", "SBCallAlarm selectByPrimaryKey(@Param(\"mainId\") Integer mainId, @Param(\"alarmId\") Integer alarmId);", "private void getAlarmsFromDB(){\n \t\tAlarmManager.getInstance().reset();\n \t\tAlarmManager.getInstance().load4DB(ctx, SimpleAlarm.class);\n \t\tStatu...
[ "0.662179", "0.62335896", "0.57859", "0.56751996", "0.5565052", "0.55558884", "0.5488129", "0.54484767", "0.54309213", "0.5356317", "0.52634424", "0.52595836", "0.5226362", "0.5186951", "0.51736766", "0.51700497", "0.5158317", "0.51369864", "0.513075", "0.5047717", "0.5042814...
0.53986
9
This method was generated by MyBatis Generator. This method corresponds to the database table pine_alarm
List<PineAlarm> selectByExample(PineAlarmExample example);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "PineAlarm selectByPrimaryKey(Long pineAlarmId);", "SBCallAlarm selectByPrimaryKey(@Param(\"mainId\") Integer mainId, @Param(\"alarmId\") Integer alarmId);", "private void getAlarmsFromDB(){\n \t\tAlarmManager.getInstance().reset();\n \t\tAlarmManager.getInstance().load4DB(ctx, SimpleAlarm.class);\n \t\tStatu...
[ "0.66226864", "0.62331855", "0.5784389", "0.5676232", "0.55651456", "0.5556063", "0.5449083", "0.54301167", "0.53997916", "0.5356938", "0.526222", "0.52598655", "0.5226461", "0.5187891", "0.5173056", "0.51718414", "0.51581275", "0.5134447", "0.5128042", "0.5047399", "0.504316...
0.54896426
6
This method was generated by MyBatis Generator. This method corresponds to the database table pine_alarm
PineAlarm selectByPrimaryKeySelective(@Param("pineAlarmId") Long pineAlarmId, @Param("selective") PineAlarm.Column ... selective);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "PineAlarm selectByPrimaryKey(Long pineAlarmId);", "SBCallAlarm selectByPrimaryKey(@Param(\"mainId\") Integer mainId, @Param(\"alarmId\") Integer alarmId);", "private void getAlarmsFromDB(){\n \t\tAlarmManager.getInstance().reset();\n \t\tAlarmManager.getInstance().load4DB(ctx, SimpleAlarm.class);\n \t\tStatu...
[ "0.662179", "0.62335896", "0.57859", "0.5565052", "0.55558884", "0.5488129", "0.54484767", "0.54309213", "0.53986", "0.5356317", "0.52634424", "0.52595836", "0.5226362", "0.5186951", "0.51736766", "0.51700497", "0.5158317", "0.51369864", "0.513075", "0.5047717", "0.5042814", ...
0.56751996
3
This method was generated by MyBatis Generator. This method corresponds to the database table pine_alarm
PineAlarm selectByPrimaryKey(Long pineAlarmId);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "SBCallAlarm selectByPrimaryKey(@Param(\"mainId\") Integer mainId, @Param(\"alarmId\") Integer alarmId);", "private void getAlarmsFromDB(){\n \t\tAlarmManager.getInstance().reset();\n \t\tAlarmManager.getInstance().load4DB(ctx, SimpleAlarm.class);\n \t\tStatus.getCurrentStatus().addObserver(AlarmManager.getInst...
[ "0.62320715", "0.57815576", "0.5676552", "0.5563982", "0.5555874", "0.54887265", "0.544873", "0.54296345", "0.53999186", "0.5353354", "0.52619725", "0.52598035", "0.52261424", "0.5186841", "0.5171023", "0.51702106", "0.51609004", "0.5135301", "0.5128344", "0.50474286", "0.504...
0.6622558
0
This method was generated by MyBatis Generator. This method corresponds to the database table pine_alarm
int updateByExampleSelective(@Param("record") PineAlarm record, @Param("example") PineAlarmExample example);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "PineAlarm selectByPrimaryKey(Long pineAlarmId);", "SBCallAlarm selectByPrimaryKey(@Param(\"mainId\") Integer mainId, @Param(\"alarmId\") Integer alarmId);", "private void getAlarmsFromDB(){\n \t\tAlarmManager.getInstance().reset();\n \t\tAlarmManager.getInstance().load4DB(ctx, SimpleAlarm.class);\n \t\tStatu...
[ "0.662179", "0.62335896", "0.57859", "0.56751996", "0.5565052", "0.55558884", "0.5488129", "0.54484767", "0.54309213", "0.53986", "0.5356317", "0.52634424", "0.52595836", "0.5226362", "0.5186951", "0.51736766", "0.51700497", "0.5158317", "0.51369864", "0.513075", "0.5047717",...
0.0
-1
This method was generated by MyBatis Generator. This method corresponds to the database table pine_alarm
int updateByExample(@Param("record") PineAlarm record, @Param("example") PineAlarmExample example);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "PineAlarm selectByPrimaryKey(Long pineAlarmId);", "SBCallAlarm selectByPrimaryKey(@Param(\"mainId\") Integer mainId, @Param(\"alarmId\") Integer alarmId);", "private void getAlarmsFromDB(){\n \t\tAlarmManager.getInstance().reset();\n \t\tAlarmManager.getInstance().load4DB(ctx, SimpleAlarm.class);\n \t\tStatu...
[ "0.66226864", "0.62331855", "0.5784389", "0.5676232", "0.55651456", "0.5556063", "0.54896426", "0.5449083", "0.54301167", "0.53997916", "0.5356938", "0.526222", "0.52598655", "0.5226461", "0.5187891", "0.5173056", "0.51718414", "0.51581275", "0.5134447", "0.5128042", "0.50473...
0.0
-1
This method was generated by MyBatis Generator. This method corresponds to the database table pine_alarm
int updateByPrimaryKeySelective(PineAlarm record);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "PineAlarm selectByPrimaryKey(Long pineAlarmId);", "SBCallAlarm selectByPrimaryKey(@Param(\"mainId\") Integer mainId, @Param(\"alarmId\") Integer alarmId);", "private void getAlarmsFromDB(){\n \t\tAlarmManager.getInstance().reset();\n \t\tAlarmManager.getInstance().load4DB(ctx, SimpleAlarm.class);\n \t\tStatu...
[ "0.662179", "0.62335896", "0.57859", "0.56751996", "0.5565052", "0.55558884", "0.5488129", "0.54484767", "0.54309213", "0.53986", "0.5356317", "0.52634424", "0.52595836", "0.5226362", "0.51736766", "0.51700497", "0.5158317", "0.51369864", "0.513075", "0.5047717", "0.5042814",...
0.5186951
14
This method was generated by MyBatis Generator. This method corresponds to the database table pine_alarm
int updateByPrimaryKey(PineAlarm record);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "PineAlarm selectByPrimaryKey(Long pineAlarmId);", "SBCallAlarm selectByPrimaryKey(@Param(\"mainId\") Integer mainId, @Param(\"alarmId\") Integer alarmId);", "private void getAlarmsFromDB(){\n \t\tAlarmManager.getInstance().reset();\n \t\tAlarmManager.getInstance().load4DB(ctx, SimpleAlarm.class);\n \t\tStatu...
[ "0.6622558", "0.62320715", "0.57815576", "0.5676552", "0.5563982", "0.5555874", "0.54887265", "0.54296345", "0.53999186", "0.5353354", "0.52619725", "0.52598035", "0.52261424", "0.5186841", "0.5171023", "0.51702106", "0.51609004", "0.5135301", "0.5128344", "0.50474286", "0.50...
0.544873
7
Inflate the layout for this fragment
@Override public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { rootView = inflater.inflate(R.layout.fragment_issued, container, false); empty = (ImageView) rootView.findViewById(R.id.empty); setHasOptionsMenu(true); loadData(); FirebaseApp.initializeApp(getActivity()); database = FirebaseDatabase.getInstance(); ((AppCompatActivity) getActivity()).getSupportActionBar().setDisplayShowTitleEnabled(true); emptyText = (TextView) rootView.findViewById(R.id.emptyText); notification = new NotificationCompat.Builder(getActivity(), channelId); notification.setAutoCancel(true); rootRef = database.getReference("Issue List"); mAuth = FirebaseAuth.getInstance(); databaseReference = FirebaseDatabase.getInstance().getReference(); recyclerView = (RecyclerView) rootView.findViewById(R.id.recyclerView); recyclerView.hasFixedSize(); recyclerView.setItemViewCacheSize(20); recyclerView.setDrawingCacheEnabled(true); recyclerView.setLayoutManager(new LinearLayoutManager(getActivity())); recyclerView.setAdapter(adapter); fragment_issued(); return rootView; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_main_allinfo, container, false);\n }", "@Override\r\n\tpublic View onCreateView(LayoutInflater inflater, ViewGroup...
[ "0.6739604", "0.67235583", "0.6721706", "0.6698254", "0.6691869", "0.6687986", "0.66869223", "0.6684548", "0.66766286", "0.6674615", "0.66654444", "0.66654384", "0.6664403", "0.66596216", "0.6653321", "0.6647136", "0.66423255", "0.66388357", "0.6637491", "0.6634193", "0.66251...
0.0
-1
TODO Autogenerated method stub
public static void main(String[] args) { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
TODO Autogenerated method stub
@Override public String execute() throws Exception { this.userservice.save(uservo); userlist = (ArrayList<Users>) this.userservice.findAll(); return "success"; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
call the BE REST for get the color
public String getColor() { final String uri = colorsBeUrl+"/colors_be/getColor"; //TODO: Autowire the RestTemplate in all the examples RestTemplate restTemplate = new RestTemplate(); String result = restTemplate.getForObject(uri, String.class); System.out.println(result); return result; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void handleFindByColor(String[] args) {\n if (args.length < 3) {\n String requiredArgs = \"<color>\";\n Messages.badNumberOfArgsMessage(args.length, FIND_BY_COLOR_OPERATION, requiredArgs);\n System.exit(1);\n }\n\n Color color = null;\n String st...
[ "0.69648045", "0.68704623", "0.68701464", "0.6813504", "0.6783487", "0.676723", "0.67206", "0.6718179", "0.66709304", "0.6669816", "0.666575", "0.66637814", "0.6661676", "0.6661676", "0.6659326", "0.6645212", "0.6641011", "0.66402334", "0.66402334", "0.66165876", "0.66114813"...
0.83383685
0
System.out.println(getRootPath()); System.out.println(getProjectPath("/")); System.out.println(getProjectPath("xml/dev/main.commodityConfig.xml")); System.out.println(getProjectPath("/xml/dev/main.commodityConfig.xml"));
public static void main(String[] args) { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "String rootPath();", "public static String getProjectPath() {\n\t\tif (!projectPath.isEmpty()) {\n\t\t\treturn projectPath;\n\t\t} else {\n\t\t\treturn \"No file yet\";\n\t\t}\n\t}", "public String getPath() {\n return this.projectPath;\r\n }", "public String getBasePath(){\r\n\t\t \r\n\t\t String ...
[ "0.6490663", "0.646049", "0.64206076", "0.6410981", "0.6389684", "0.6374307", "0.62899095", "0.6284327", "0.62624526", "0.6255616", "0.6235345", "0.62204933", "0.6216475", "0.6198606", "0.61889297", "0.61756045", "0.61756045", "0.6140281", "0.6139356", "0.61304617", "0.609174...
0.0
-1
Instantiate the interface and set the context
AndroidAppInterface(Context context) { this.mContext = context; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public abstract void makeContext();", "Context createContext();", "Context createContext();", "public void init(MailetContext context);", "void init(@NotNull ExecutionContext context);", "public Contexte() {\n FactoryRegistry registry = FactoryRegistry.getRegistry();\n registry.register(\"m...
[ "0.69719374", "0.68730503", "0.68730503", "0.6785889", "0.67517257", "0.6473272", "0.64333063", "0.64333063", "0.6412219", "0.6412219", "0.6412219", "0.6390958", "0.63706005", "0.63492167", "0.63458633", "0.62513137", "0.62236035", "0.62169826", "0.6187508", "0.6187508", "0.6...
0.61780345
20
Finish activity from the web page
@JavascriptInterface public void finish() { OBLogger.e("CLOSRE WINDOW"); ((Activity) mContext).finish(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void onPageFinished(WebView view, String url) {\n\n if (webProgDialog != null)\n webProgDialog.dismiss();\n\n }", "@Override\n\tpublic void onPageFinished(WebView view, String url) {\n\t\tLog.e(\"WebView\",\"onPageFinished \");\n\t\tprogr...
[ "0.7375973", "0.6754039", "0.67310065", "0.67144936", "0.6670326", "0.65808797", "0.6540141", "0.65393525", "0.6511414", "0.64533436", "0.6421162", "0.6409589", "0.63615453", "0.6335745", "0.63336474", "0.63336474", "0.63336474", "0.63336474", "0.63336474", "0.6320996", "0.63...
0.65782416
6
SPI method to refresh the rules from the underlying data provider. This method provides the opportunity for a provider to dynamically recheck the underlying data provider to find the latest rules. This could be used to load new rules without stopping the JVM. Dynamic behavior is entirely optional and most providers do not support it. This implementation returns false.
protected boolean provideRefresh() { return false; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void refreshPushRules() {\n if (isAlive() && (null != mBingRulesManager)) {\n mBingRulesManager.loadRules(new SimpleApiCallback<Void>() {\n @Override\n public void onSuccess(Void info) {\n onBingRulesUpdate();\n }\n ...
[ "0.62505907", "0.58435684", "0.5364572", "0.52702755", "0.5233199", "0.5199051", "0.50921017", "0.50503534", "0.5006274", "0.4958483", "0.49492797", "0.4921256", "0.48627207", "0.4856581", "0.48560923", "0.48423517", "0.4819545", "0.48189566", "0.48068243", "0.4791577", "0.47...
0.48289502
16
we have to clean the source folder output in case the package name changed.
@Override protected void doFullTaskAction() throws IOException { File srcOut = getSourceOutputDir(); if (srcOut != null) { FileUtils.cleanOutputDir(srcOut); } @Nullable File resOutBaseNameFile = getPackageOutputFile(); // If are in instant run mode and we have an instant run enabled manifest File instantRunManifest = getInstantRunManifestFile(); File manifestFileToPackage = instantRunBuildContext.isInInstantRunMode() && instantRunManifest != null && instantRunManifest.exists() ? instantRunManifest : getManifestFile(); AndroidBuilder builder = getBuilder(); MergingLog mergingLog = new MergingLog(getMergeBlameLogFolder()); ProcessOutputHandler processOutputHandler = new ParsingProcessOutputHandler( new ToolOutputParser(new AaptOutputParser(), getILogger()), new MergingLogRewriter(mergingLog, builder.getErrorReporter())); String preferredDensity = getResourceConfigs().isEmpty() ? getPreferredDensity() : null; /* when resConfigs are set, we should respect it */ try { Aapt aapt = AaptGradleFactory.make( getBuilder(), processOutputHandler, true, variantScope.getGlobalScope().getProject(), variantScope.getVariantConfiguration().getType(), FileUtils.mkdirs(new File(getIncrementalFolder(), "aapt-temp")), aaptOptions.getCruncherProcesses()); AaptPackageConfig.Builder config = new AaptPackageConfig.Builder() .setManifestFile(manifestFileToPackage) .setOptions(getAaptOptions()) .setResourceDir(getResDir()) .setLibraries(getAndroidDependencies()) .setCustomPackageForR(getPackageForR()) .setSymbolOutputDir(getTextSymbolOutputDir()) .setSourceOutputDir(srcOut) .setResourceOutputApk(resOutBaseNameFile) .setProguardOutputFile(getProguardOutputFile()) .setMainDexListProguardOutputFile(getMainDexListProguardOutputFile()) .setVariantType(getType()) .setDebuggable(getDebuggable()) .setPseudoLocalize(getPseudoLocalesEnabled()) .setResourceConfigs(getResourceConfigs()) .setSplits(getSplits()) .setPreferredDensity(preferredDensity) .setBaseFeature(getBaseFeature()) .setPreviousFeatures(getPreviousFeatures()); builder.processResources(aapt, config, getEnforceUniquePackageName()); if (resOutBaseNameFile != null && LOG.isInfoEnabled()) { LOG.info("Aapt output file {}", resOutBaseNameFile.getAbsolutePath()); } } catch (IOException | InterruptedException | ProcessException e) { throw new RuntimeException(e); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void cleanOutputFolder(String output) {\n \t\tFile[] files = new File[1];\n \t\tfiles[0] = new File(output);\n \t\tcleanFolder(files);\n \t}", "protected void cleanup() {\n // if the java runtime is holding onto any files in the build dir, we\n // won't be able to delete them, so we need to force a...
[ "0.63166535", "0.6055887", "0.60192454", "0.5973764", "0.5843414", "0.5755096", "0.57021874", "0.5695123", "0.5687897", "0.56851196", "0.5564003", "0.55626947", "0.5553062", "0.54848784", "0.54817665", "0.54801327", "0.54556924", "0.5435291", "0.5434733", "0.5429343", "0.5429...
0.0
-1
To force the task to execute when the manifest file to use changes. Fix for <a href="
@SuppressWarnings("unused") @Input public boolean isInstantRunMode() { return this.instantRunBuildContext.isInInstantRunMode(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void link(MainActivity pActivity) {\n\n\t\t}", "private URL getManifestUrl() {\n\n\t\treturn new URL(VERSION_MANIFEST_URL.replace(\"%s\", \"1.7.2\"));\n\t}", "@Override\n public boolean enableAutomaticStartup() {\n File destinationLink = getStartupFolderLinkFile();\n\n if (destinationL...
[ "0.5351776", "0.5303625", "0.52573854", "0.52559125", "0.52257586", "0.520665", "0.5126395", "0.50843245", "0.5069676", "0.5019479", "0.4989677", "0.49737796", "0.49602973", "0.49539584", "0.4890546", "0.4874019", "0.48655206", "0.48625115", "0.48563898", "0.48350596", "0.482...
0.0
-1
TODO Autogenerated method stub
@Override public void onCreate(SQLiteDatabase arg0) { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
TODO Autogenerated method stub
@Override public void onUpgrade(SQLiteDatabase arg0, int arg1, int arg2) { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
has Apps with usage access module
public static boolean hasModule() { try { PackageManager packageManager = AppMain.getContext().getPackageManager(); Intent intent = new Intent("android.settings.USAGE_ACCESS_SETTINGS"); List<ResolveInfo> list = packageManager.queryIntentActivities(intent, PackageManager.MATCH_DEFAULT_ONLY); return list.size() > 0; } catch (RuntimeException e) { // 在某个三星的设备上出现过安全异常 // 在某个ZTE的设备上出现过RuntimeException return false; } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean accesspermission()\n {\n AppOpsManager appOps = (AppOpsManager) context.getSystemService(Context.APP_OPS_SERVICE);\n int mode = 0;\n if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT) {\n mode = appOps.checkOpNoThrow(AppOpsManager.OPSTR_GET_USAGE_STATS,\n ...
[ "0.6871172", "0.68634355", "0.67112505", "0.6381123", "0.6264464", "0.6227176", "0.6227176", "0.61906916", "0.61658597", "0.60893506", "0.6085725", "0.60644615", "0.602412", "0.5993157", "0.5990505", "0.5962614", "0.59079486", "0.5897597", "0.58974534", "0.58884853", "0.58656...
0.66112155
3
TODO Autogenerated method stub
@Override public List<CpzMessageSetBean> get(Map para) throws Exception { Map<String,Object> m = new HashMap(); return mapper.CpzMessageSetSelect(para); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
Test of validResolution method, of class BinaryEncoder.
@Test public void testValidResolution() { System.out.println("validResolution"); BinaryEncoder instance = new BinaryEncoder(); boolean result; result = instance.validResolution(-1); assertEquals(false, result); result = instance.validResolution(0); assertEquals(false, result); result = instance.validResolution(instance.RESOLUTION_MIN-1); assertEquals(false, result); result = instance.validResolution(instance.RESOLUTION_MIN-2); assertEquals(false, result); result = instance.validResolution(instance.RESOLUTION_MAX+1); assertEquals(false, result); result = instance.validResolution(instance.RESOLUTION_MAX+1); assertEquals(false, result); for (int i=instance.RESOLUTION_MIN; i <= instance.RESOLUTION_MAX; i++) { result = instance.validResolution(i); assertEquals(true, result); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test\n public void testGetMinResolution() {\n System.out.println(\"getMinResolution\");\n BinaryEncoder instance = new BinaryEncoder();\n int expResult = instance.RESOLUTION_MIN;\n int result = instance.getMinResolution();\n assertEquals(expResult, result);\n }", "@Override\r\n\t@Test(groups = ...
[ "0.67823386", "0.67524135", "0.66375303", "0.5904599", "0.56295085", "0.5565768", "0.55399466", "0.5447872", "0.54392046", "0.5436601", "0.5434311", "0.54216456", "0.5401888", "0.5363189", "0.5359929", "0.5290436", "0.5290436", "0.52877516", "0.52774566", "0.52737564", "0.527...
0.85531396
0
Test of getTracks method, of class BinaryEncoder.
@Test public void testGetTracks() { System.out.println("getTracks"); double id = 22.0; double od = 45.0; int resolution = 5; boolean index = false; boolean clockwise = false; BinaryEncoder instance = new BinaryEncoder(); List<EncoderTrack> result = instance.getTracks(id, od, resolution, index, clockwise); assertEquals(resolution, result.size()); EncoderTrack t0 = result.get(0); assertEquals(od, t0.outerDiameter, TOL, "outer track outerDiameter"); EncoderTrack t1 = result.get(resolution-1); assertEquals(id, t1.innerDiameter, TOL, "inner track innerDiameter"); for (int i = 0; i < resolution; i++) { EncoderTrack t = result.get(i); assertEquals(1<<(resolution-i), t.stripeCount, "stripe count"); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic int getNumberOfTracks() {\n\t\treturn 6;\n\t}", "@Override\n public List<Track> getAllTracks() {\n return trackRepository.findAll();\n }", "public List<GraphicTrack> getTracks()\n\t{\n\t\treturn tracks;\n\t}", "private static void recordTracks(int i, Cell cell, int fN){\n\t\t...
[ "0.64923364", "0.603459", "0.59857297", "0.5904852", "0.5755121", "0.5695187", "0.5677557", "0.55864555", "0.5508146", "0.5483948", "0.54821515", "0.5463209", "0.53840584", "0.53754765", "0.53645754", "0.530708", "0.5303832", "0.5300189", "0.52416104", "0.5228946", "0.5227108...
0.8552753
0
Test of getMinResolution method, of class BinaryEncoder.
@Test public void testGetMinResolution() { System.out.println("getMinResolution"); BinaryEncoder instance = new BinaryEncoder(); int expResult = instance.RESOLUTION_MIN; int result = instance.getMinResolution(); assertEquals(expResult, result); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test\n public void testValidResolution() {\n System.out.println(\"validResolution\");\n BinaryEncoder instance = new BinaryEncoder();\n boolean result;\n\n result = instance.validResolution(-1);\n assertEquals(false, result);\n result = instance.validResolution(0);\n assertEquals(false, resu...
[ "0.75317854", "0.7420554", "0.6571706", "0.60232514", "0.5915623", "0.5857059", "0.58248967", "0.58231395", "0.58169293", "0.5812355", "0.56522375", "0.5638026", "0.5638026", "0.5617277", "0.5593864", "0.556936", "0.5558883", "0.5555404", "0.552247", "0.5519346", "0.5501795",...
0.8557393
0
Test of getMaxResolution method, of class BinaryEncoder.
@Test public void testGetMaxResolution() { System.out.println("getMaxResolution"); BinaryEncoder instance = new BinaryEncoder(); int expResult = instance.RESOLUTION_MAX; int result = instance.getMaxResolution(); assertEquals(expResult, result); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test\n public void testValidResolution() {\n System.out.println(\"validResolution\");\n BinaryEncoder instance = new BinaryEncoder();\n boolean result;\n\n result = instance.validResolution(-1);\n assertEquals(false, result);\n result = instance.validResolution(0);\n assertEquals(false, resu...
[ "0.7360226", "0.7248518", "0.67526555", "0.64590126", "0.638503", "0.6345354", "0.62622386", "0.62056506", "0.6143982", "0.6025112", "0.6011734", "0.59242386", "0.5910257", "0.5898767", "0.5892671", "0.58407897", "0.58218616", "0.58163816", "0.58136433", "0.5807847", "0.58060...
0.8513949
0
Test of isIndexable method, of class BasicEncoder.
@Test public void testIsIndexable() { System.out.println("isIndexable"); BasicEncoder instance = new BinaryEncoder(); boolean expResult = false; boolean result = instance.isIndexable(); assertEquals(expResult, result); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "boolean isIndex();", "boolean isIndexed();", "boolean isIndexed();", "public boolean isIndexable(String content) { return true; }", "boolean hasIndex();", "boolean hasIndex();", "boolean hasIndex();", "boolean hasIndex();", "boolean hasIndex();", "boolean hasIndex();", "boolean getIsIndexOnKeys...
[ "0.70255375", "0.70000625", "0.70000625", "0.68764013", "0.6462445", "0.6462445", "0.6462445", "0.6462445", "0.6462445", "0.6462445", "0.64173126", "0.62893045", "0.62818426", "0.6269048", "0.6217967", "0.60188454", "0.59724444", "0.5917833", "0.59175724", "0.5917047", "0.591...
0.82506824
0
Test of isDirectional method, of class BasicEncoder.
@Test public void testIsDirectional() { System.out.println("isDirectional"); BasicEncoder instance = new BinaryEncoder(); boolean expResult = true; boolean result = instance.isDirectional(); assertEquals(expResult, result); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean isDirectional() {\n return false;\n }", "boolean hasDirection();", "public boolean isMultiDirectional() {\n return false;\n }", "boolean isSetDirection();", "public boolean hasDirection() {\n return ((bitField0_ & 0x00000020) == 0x00000020);\n }", "public bo...
[ "0.73481524", "0.6565509", "0.644347", "0.6224775", "0.56403863", "0.5592784", "0.5592784", "0.55916053", "0.5564508", "0.55276746", "0.5477159", "0.54190785", "0.54172766", "0.53622395", "0.5351324", "0.5271137", "0.5227315", "0.5209009", "0.5203804", "0.5186543", "0.5143493...
0.86117136
0
Method to load list of special handlings
public ActionForward loadAllSpecialHandlings(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception { Logger l = LogUtils.enterLog(getClass(), "loadAllSpecialHandlings", new Object[]{mapping, form, request, response}); String forwardString = "loadSPHResult"; try { securePage(request, form); String entityFK = getInputRecord(request).getStringValue(ICIConstants.PK_PROPERTY, ""); /* validate */ if (!FormatUtils.isLong(entityFK)) { Exception e = new IllegalArgumentException(new StringBuffer().append( "entity FK [").append(entityFK) .append("] should be a number.") .toString()); throw new AppException("ci.cicore.invalidError.EntityfkNotExists", e.getMessage(), new Object[]{entityFK}, e); } request.setAttribute("pk",entityFK); RecordSet rs; rs = (RecordSet) request.getAttribute(RequestIds.GRID_RECORD_SET); if (rs == null) { /* Loads all SpecialHandling Data */ rs = getSpecialHandlingManager().loadSpecialHandlingsByEntity(Long.parseLong(entityFK)); } /* Sets data Bean */ setDataBean(request, rs); // Make the Summary Record available for output Record output = rs.getSummaryRecord(); // Publish the output record for use by the Oasis Tags and JSP publishOutputRecord(request, output); /* Load LOV */ loadListOfValues(request, form); /* Load grid header bean */ loadGridHeader(request); addJsMessages(); saveToken(request); } catch (Exception e) { forwardString = handleError(AppException.UNEXPECTED_ERROR, "Failed to load the loadAllSpecialHandlings page.", e, request, mapping); } ActionForward af = mapping.findForward(forwardString); l.exiting(getClass().getName(), "loadAllSpecialHandlings", af); return af; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected abstract void loadItemsInternal();", "private void loadLists() {\n }", "Class<?>[] getHandledClasses();", "private void initHandlers(){\n\t\thandlers.put((byte) 0x02, new Cmd02());\n\t\t//handlers.put((byte) 0x03, new Cmd03());\n\t\thandlers.put((byte) 0x04, new Cmd04());\n\t\thandlers.put((byte...
[ "0.56977785", "0.5617577", "0.5286052", "0.5238074", "0.52118", "0.51551676", "0.5115488", "0.5107954", "0.5107954", "0.51036584", "0.5076393", "0.50759447", "0.50717527", "0.50525564", "0.5045236", "0.5045236", "0.5045236", "0.50413615", "0.5041119", "0.5033017", "0.50276875...
0.5698769
0
This method is called by AJAX to get intitial values for a Special Handling
public ActionForward getInitialValuesForAddSpecialHandling(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception { // return load(mapping, form, request, response); Logger l = LogUtils.enterLog(getClass(), "getInitialValuesForAddSpecialHandling", new Object[]{mapping, form, request, response}); try { // Secure access to the page, load the Oasis Fields without loading the LOVs, securePage(request, form); // get input Record inputRecord = getInputRecord(request); Record initialRecord = getSpecialHandlingManager().getInitialValuesForAddSpecialHandling(inputRecord); // get LOV labels for initial values publishOutputRecord(request, initialRecord); loadListOfValues(request, form); getLovLabelsForInitialValues(request, initialRecord); // prepare return values writeAjaxXmlResponse(response, initialRecord, true); } catch (Exception e) { handleErrorForAjax(AppException.UNEXPECTED_ERROR, "Failed to get initial Special Handling data.", e, response); } ActionForward af = null; l.exiting(getClass().getName(), "getInitialValuesForAddSpecialHandling", af); return af; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public abstract Object getCustomData();", "public FunctionRequestAjax() {\r\n\t\tsuper();\r\n\t}", "private void initData() {\n requestServerToGetInformation();\n }", "private void initValues(){\n\t\tProduct p = GetMockEnitiy.getProduct();\n\t\t\n\t\tString s = JSONhelper.toJSON(p);\n\t\ttvJSON.set...
[ "0.56437933", "0.5513267", "0.5511238", "0.55074173", "0.55011845", "0.54550284", "0.5438103", "0.53744596", "0.5373852", "0.535087", "0.5350205", "0.5338734", "0.527623", "0.52518755", "0.52400506", "0.52393335", "0.5234309", "0.52224904", "0.519834", "0.5186596", "0.5175978...
0.61556536
0
/ Configuration constructor and accessor methods
public void verifyConfig() { if (getSpecialHandlingManager() == null) throw new ConfigurationException("The required property 'specialHandlingManager' is missing."); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private Config() {\n }", "public Config() {\n\t\t// TODO Auto-generated constructor stub\n\t\t\n\t}", "protected Configuration() {\r\n }", "public abstract Configuration configuration();", "public Config() {\n this(System.getProperties());\n\n }", "public ConfigExample() {\n }", "private...
[ "0.8108939", "0.7822266", "0.781161", "0.77972656", "0.7692259", "0.74164826", "0.73537654", "0.73064196", "0.7246322", "0.721714", "0.7216687", "0.7216687", "0.7216687", "0.7216687", "0.71999794", "0.7167396", "0.71617746", "0.7146422", "0.7136225", "0.712835", "0.71212864",...
0.0
-1
Try uncomment comments above and start it again.
public static void main(String[] args) { Set<Inner> set = new HashSet<>(); System.out.println(set.add(new Inner("A"))); System.out.println(set.add(new Inner("A"))); System.out.println(set.add(new Inner("A"))); System.out.println(set); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void start() {\n\n\t}", "@Override\n\tpublic void start() {\n\t\t\n\t}", "@Override\n\tpublic void start() {\n\t\t\n\t}", "@Override\n\tpublic void start() {\n\t\t\n\t}", "@Override\n\tpublic void start() {\n\t\t\n\t}", "@Override\r\n\tpublic void start() {\n\t\t\r\n\t}", "@Override\n\tpublic v...
[ "0.7162777", "0.6707906", "0.6707906", "0.6707906", "0.6707906", "0.67021996", "0.6679678", "0.6645539", "0.6645539", "0.6628862", "0.6628862", "0.6624411", "0.66005915", "0.65658885", "0.65620583", "0.65620583", "0.65620583", "0.65620583", "0.65620583", "0.65620583", "0.6562...
0.0
-1
"Compresses" files using the huffman encoding algorithm
public int compress(InputStream in, OutputStream out, boolean force) throws IOException { int walk = 0; // Temp storage for incoming byte from read file int walkCount = 0; // Number of total bits read char codeCheck = ' '; // Used as a key to find the code in the code map String[] codeMap = HuffEncoder.encoding(); // Stores the character codes, copied from HuffEncode String s2b = ""; // Temp string storage int codeLen = 0; // Temp storage for code length (array storage) BitInputStream bitIn = new BitInputStream(in); BitOutputStream bitOut = new BitOutputStream(out); // Writes the code array at the top of the file. It first writes the number of bits in the code, then // the code itself. In the decode proccess, the code length is first read, then the code is read using the length // as a guide. // A space at top of file ensures the following is the array, and the file will correctly decompress out.write(32); for (int i = 0; i < codeMap.length; i++) { // Value of the character s2b = codeMap[i]; // If null, make it zero if(s2b == null){ s2b = "0"; } // Record length of code codeLen = s2b.length(); // Write the length of the code, to use for decoding bitOut.writeBits(8, codeLen); // Write the value of the character for (int j = 0; j < s2b.length(); j++) { bitOut.writeBits(1, Integer.valueOf(s2b.charAt(j))); } } // Reads in a byte from the file, converts it to a character, then uses that // caracter to look up the huffman code. The huffman code is writen to the new // file. try { while(true){ // Read first eight bits walk = bitIn.read(); // -1 means the stream has reached the end if(walk == -1){break;} // convert the binary to a character codeCheck = (char) walk; // find the huff code for the character s2b = codeMap[codeCheck]; // write the code to new file for (int i = 0; i < s2b.length(); i++) { bitOut.writeBits(1, Integer.valueOf(s2b.charAt(i))); } walkCount += 8; // Number of bits read } bitIn.close(); bitOut.close(); return walkCount; } catch (IOException e) { bitIn.close(); bitOut.close(); throw e; } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static String huffmanCoder(String inputFileName, String outputFileName){\n File inputFile = new File(inputFileName+\".txt\");\n File outputFile = new File(outputFileName+\".txt\");\n File encodedFile = new File(\"encodedTable.txt\");\n File savingFile = new File(\"Saving.txt\");\n HuffmanComp...
[ "0.7122524", "0.6790172", "0.6722428", "0.6548948", "0.64661086", "0.6441414", "0.64399534", "0.6434847", "0.62350297", "0.62309134", "0.6168141", "0.6118402", "0.61140144", "0.61050415", "0.60680085", "0.5986303", "0.59832734", "0.5937323", "0.58811754", "0.58555675", "0.583...
0.71013135
1
END COMPRESS Creates huffman character codes for a passed in file
public int preprocessCompress(InputStream in) throws IOException { try { // Count the characters int counted = CharCounter.countAll(in); int[] countedArray = CharCounter.countValues(); // Build the huffman tree TreeBuilder countedTree = new TreeBuilder(); countedTree.buildTree(countedArray); // Create the huffman character codes HuffEncoder.huffEncode(countedTree.getRoot()); return counted; } catch (IOException e) { throw e; } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Hashtable<Character,Code> getHuffmanCodes(int numberOfCodes,Hashtable<String,Character> revCodes) throws IOException {\r\n\t\tbyte[] b;\r\n\t\tHashtable<Character,Code> codes = new Hashtable<>();\r\n\t\t for (int i = 0 ; i < numberOfCodes ; i++) {\r\n\t\t\t System.out.println(\"i = \" + i);\r\n\t\t\t // i...
[ "0.7178805", "0.71784747", "0.71036243", "0.7039008", "0.7008494", "0.6890555", "0.6874242", "0.68650866", "0.67970484", "0.6697437", "0.6559341", "0.6502337", "0.64879465", "0.6414781", "0.6398689", "0.6397592", "0.6386789", "0.6377913", "0.6277544", "0.6252565", "0.6232891"...
0.6806909
8
"Decompresses" files that were previously "compressed" by this program
public int uncompress(InputStream in, OutputStream out) throws IOException { int codeCount = 0; int code = 0; BitInputStream bitIn = new BitInputStream(in); StringBuilder codeString = new StringBuilder(0); // *** Bellow for building array of encoded values **** // **************************************************** // If the first character in the file is not a space, cannot decompress file codeCount = in.read(); if(codeCount != 32){ bitIn.close(); return -1; } // Read in length of the code, then read the codes number of bits into the code array for (int i = 0; i < decodeArr.length; i++) { //read in number of bits (length of character code) codeCount = bitIn.read(); // Create the code string (reads the number of bits found above) for (int j = 0; j < codeCount ; j++) { codeString.append(bitIn.readBits(1)); } // Add the code string to the code array decodeArr[i] = codeString.toString(); codeString = new StringBuilder(0); } // If the character has no code, make it null in array for (int i = 0; i < decodeArr.length; i++) { if(decodeArr[i].equals("0")){decodeArr[i] = null;} } // **************************************************** // **************************************************** // ********** Bellow is the decoding process ********** // **************************************************** // Slowly build a sting of binary comparing it to the codes in the map // Once a match is found, output the character associated with it. try{ codeString = new StringBuilder(0); while (true) { // Read in one bit code = bitIn.readBits(1); // If -1 is returned, reached the end of file if(code == -1){break;} // Search the code array, writing the character of the code when found codeString.append(String.valueOf(code)); for (int i = 0; i < decodeArr.length; i++) { if(decodeArr[i] != null){ // null means 0 count for a character // If the building code string matches a code in the map, write the associated character if(decodeArr[i].equals(codeString.toString())){ out.write(i); // vv make ready for next code input codeString = new StringBuilder(0); } } } } }catch (IOException e){ bitIn.close(); throw e; } // **************************************************** // **************************************************** bitIn.close(); return 0; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void unCompress()\n\t{\n\t\ttry\n\t\t{\n\t\t\tbyte[] buffer = new byte[4096];\n\t\t\tint bytesIn;\n\t\t\tZipFile rfoFile = new ZipFile(path + fileName);\n\t\t\tEnumeration<? extends ZipEntry> allFiles = rfoFile.entries();\n\t\t\twhile(allFiles.hasMoreElements())\n\t\t\t{\n\t\t\t\tZipEntry ze = (ZipEntry)al...
[ "0.7683241", "0.6730328", "0.66077477", "0.6491622", "0.6222027", "0.6126419", "0.5992611", "0.5974125", "0.5894677", "0.583913", "0.579434", "0.5735769", "0.5680713", "0.56767994", "0.5643767", "0.56142384", "0.55738795", "0.555803", "0.55448693", "0.55163777", "0.5484399", ...
0.53619516
30
UPDATE `mydb`.`candidato` SET `nombre_candidato`='Roosevelt', `apellido_candidato`='Pantaleon Vara' WHERE `id_candidato`='1';
@Modifying @Query (value="UPDATE `candidato` SET `nombre_candidato`=?2, `apellido_candidato`=?3 WHERE `id_candidato`=?1", nativeQuery=true) public void update(Integer id, String nombre, String apellido);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public int modificarPresidente(int idpresi,int idcam,int idequipo, String nombre, String paterno,String materno,String dni,String fecNac,String fechaDirect,String telefono){\n sql=\"UPDATE presidente set idCampeonato='\"+idcam+\"', idEquipo='\"+idequipo+\"',Nombre_pres='\"+nombre+\"',Ap_presidente='\"+paterno+\...
[ "0.66553205", "0.64289576", "0.64208436", "0.63387084", "0.6222025", "0.61313665", "0.60588527", "0.60581875", "0.60575694", "0.6053912", "0.60165364", "0.59898823", "0.598813", "0.59773344", "0.59753543", "0.5971495", "0.59488183", "0.58937526", "0.5886001", "0.5879422", "0....
0.64200497
3
TODO Autogenerated method stub
@Override public CiaL getCiaLById(Long idCiaL) { return _ciaLDao.getCiaLById(idCiaL); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
TODO Autogenerated method stub
@Override public CiaL getCiaLByName(String nameCiaL) { return _ciaLDao.getCiaLByName(nameCiaL); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
/ 18: / 19:
public BaseMpscLinkedArrayQueue(int initialCapacity) /* 20: */ { /* 21:184 */ RangeUtil.checkGreaterThanOrEqual(initialCapacity, 2, "initialCapacity"); /* 22: */ /* 23:186 */ int p2capacity = Pow2.roundToPowerOfTwo(initialCapacity); /* 24: */ /* 25:188 */ long mask = p2capacity - 1 << 1; /* 26: */ /* 27:190 */ E[] buffer = CircularArrayOffsetCalculator.allocate(p2capacity + 1); /* 28:191 */ this.producerBuffer = buffer; /* 29:192 */ this.producerMask = mask; /* 30:193 */ this.consumerBuffer = buffer; /* 31:194 */ this.consumerMask = mask; /* 32:195 */ soProducerLimit(mask); /* 33: */ }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void mo21877s() {\n }", "public int method_2436() {\r\n return 16;\r\n }", "@Test public void Time_len_6()\t\t\t\t\t\t\t\t\t{tst_time_(\"041526\"\t\t\t\t\t, \"04:15:26.000\");}", "void mo1506m();", "void mo1943l();", "public void mo21878t() {\n }", "void mo1942k();", "private voi...
[ "0.5556271", "0.5498122", "0.5482258", "0.5456619", "0.5439837", "0.5438966", "0.54150295", "0.53918695", "0.53599167", "0.53468144", "0.53467923", "0.53358746", "0.53172946", "0.5309607", "0.5308192", "0.52967316", "0.52839756", "0.5280054", "0.52741796", "0.5271895", "0.525...
0.0
-1
/ 34: / 35:
public final Iterator<E> iterator() /* 36: */ { /* 37:201 */ throw new UnsupportedOperationException(); /* 38: */ }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public int mo36g() {\n return 4;\n }", "public int mo36g() {\n return 2;\n }", "public int mo36g() {\n return 8;\n }", "public int method_2436() {\r\n return 16;\r\n }", "public static int i()\r\n/* 25: */ {\r\n/* 26: 48 */ return 9;\r\n/* 27: */ }", ...
[ "0.57179165", "0.54987997", "0.5440296", "0.5375258", "0.5309497", "0.5231238", "0.5204055", "0.5197004", "0.5189385", "0.5187361", "0.5135751", "0.51296926", "0.5111962", "0.50992143", "0.5085636", "0.50775063", "0.5062676", "0.5059971", "0.5042396", "0.5024569", "0.49970958...
0.0
-1
/ 39: / 40:
public final int size() /* 41: */ { /* 42:215 */ long after = lvConsumerIndex(); /* 43: */ for (;;) /* 44: */ { /* 45:219 */ long before = after; /* 46:220 */ long currentProducerIndex = lvProducerIndex(); /* 47:221 */ after = lvConsumerIndex(); /* 48:222 */ if (before == after) /* 49: */ { /* 50:224 */ long size = currentProducerIndex - after >> 1; /* 51:225 */ break; /* 52: */ } /* 53: */ } /* 54: */ long size; /* 55:230 */ if (size > 2147483647L) { /* 56:232 */ return 2147483647; /* 57: */ } /* 58:236 */ return (int)size; /* 59: */ }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public int mo36g() {\n return 4;\n }", "private int getAttackAngle() {\n\t\treturn (160 - (level * 10));\n\t}", "public int mo36g() {\n return 8;\n }", "public int getSecondR() {\n/* 48 */ return this.secondR;\n/* */ }", "public int mo36g() {\n return 2;\n }", "...
[ "0.5541226", "0.54215866", "0.5407994", "0.53785646", "0.5369478", "0.53250724", "0.52946705", "0.5275502", "0.52673584", "0.5262829", "0.52461845", "0.51944727", "0.5168201", "0.51550424", "0.51481706", "0.51271087", "0.5119957", "0.5114377", "0.51019686", "0.5090822", "0.50...
0.0
-1
/ 60: / 61:
public final boolean isEmpty() /* 62: */ { /* 63:247 */ return lvConsumerIndex() == lvProducerIndex(); /* 64: */ }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void m50366E() {\n }", "public void mo6081a() {\n }", "public void mo21877s() {\n }", "public int mo36g() {\n return 8;\n }", "public int mo36g() {\n return 4;\n }", "public int mo36g() {\n return 2;\n }", "@Override\n protected int func_150123_b(in...
[ "0.6183606", "0.61645305", "0.6079409", "0.6052267", "0.60504836", "0.6014478", "0.6012737", "0.59482193", "0.59432244", "0.58844984", "0.58328944", "0.5828866", "0.5827719", "0.5827719", "0.5827719", "0.5827719", "0.5827719", "0.5827719", "0.5827719", "0.58183205", "0.578586...
0.0
-1
/ 65: / 66:
public String toString() /* 67: */ { /* 68:253 */ return getClass().getName(); /* 69: */ }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "char caseconverter(int k,int k1)\n{\nif(k>=65 && k<=90)\n{\nk1=k1+32;\n}\nelse\nif(k>=97 && k<=122)\n{\nk1=k1-32;\n}\nreturn((char)k1);\n}", "void circulardecode()\n{\nfor(i=0;i<s.length();i++)\n{\nc=s.charAt(i);\nk=(int)c;\nif(k==90)\nk1=65;\nelse\nif(k==122)\nk1=97;\nelse\nk1=k+1;\nc1=caseconverter(k,k1);\nSys...
[ "0.65063244", "0.6499631", "0.6330571", "0.60697013", "0.60433316", "0.6003248", "0.5907476", "0.59070694", "0.5904528", "0.58680034", "0.5861132", "0.5844163", "0.577694", "0.575971", "0.5757927", "0.57454646", "0.5743476", "0.57334375", "0.5728774", "0.57053113", "0.5703603...
0.0
-1
/ 70: / 71:
public boolean offer(E e) /* 72: */ { /* 73:259 */ if (null == e) { /* 74:261 */ throw new NullPointerException(); /* 75: */ } /* 76: */ long pIndex; /* 77: */ long mask; /* 78: */ E[] buffer; /* 79: */ for (;;) /* 80: */ { /* 81:270 */ long producerLimit = lvProducerLimit(); /* 82:271 */ pIndex = lvProducerIndex(); /* 83:273 */ if ((pIndex & 1L) != 1L) /* 84: */ { /* 85:280 */ mask = this.producerMask; /* 86:281 */ buffer = this.producerBuffer; /* 87:285 */ if (producerLimit <= pIndex) /* 88: */ { /* 89:287 */ int result = offerSlowPath(mask, pIndex, producerLimit); /* 90:288 */ switch (result) /* 91: */ { /* 92: */ case 0: /* 93: */ break; /* 94: */ case 1: /* 95: */ break; /* 96: */ case 2: /* 97:295 */ return false; /* 98: */ case 3: /* 99:297 */ resize(mask, buffer, pIndex, e); /* 100:298 */ return true; /* 101: */ } /* 102: */ } /* 103: */ else /* 104: */ { /* 105:302 */ if (casProducerIndex(pIndex, pIndex + 2L)) { /* 106: */ break; /* 107: */ } /* 108: */ } /* 109: */ } /* 110: */ } /* 111:308 */ long offset = LinkedArrayQueueUtil.modifiedCalcElementOffset(pIndex, mask); /* 112:309 */ UnsafeRefArrayAccess.soElement(buffer, offset, e); /* 113:310 */ return true; /* 114: */ }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void method_4270() {}", "private void m50366E() {\n }", "public void mo21782G() {\n }", "public void mo21783H() {\n }", "public void mo21779D() {\n }", "public void mo21877s() {\n }", "public void mo2470d() {\n }", "public void mo3749d() {\n }", "public void mo21794S() {...
[ "0.63907737", "0.6337157", "0.629732", "0.62558293", "0.6254711", "0.6250895", "0.6200051", "0.61931294", "0.6192709", "0.6175865", "0.6157554", "0.61431485", "0.6140512", "0.61383027", "0.61139536", "0.61094594", "0.6107593", "0.6090739", "0.60867506", "0.60861766", "0.60844...
0.0
-1
/ 115: / 116:
public E poll() /* 117: */ { /* 118:322 */ E[] buffer = this.consumerBuffer; /* 119:323 */ long index = this.consumerIndex; /* 120:324 */ long mask = this.consumerMask; /* 121: */ /* 122:326 */ long offset = LinkedArrayQueueUtil.modifiedCalcElementOffset(index, mask); /* 123:327 */ Object e = UnsafeRefArrayAccess.lvElement(buffer, offset); /* 124:328 */ if (e == null) { /* 125:330 */ if (index != lvProducerIndex()) { /* 126: */ do /* 127: */ { /* 128:337 */ e = UnsafeRefArrayAccess.lvElement(buffer, offset); /* 129:339 */ } while (e == null); /* 130: */ } else { /* 131:343 */ return null; /* 132: */ } /* 133: */ } /* 134:347 */ if (e == JUMP) /* 135: */ { /* 136:349 */ E[] nextBuffer = getNextBuffer(buffer, mask); /* 137:350 */ return newBufferPoll(nextBuffer, index); /* 138: */ } /* 139:353 */ UnsafeRefArrayAccess.soElement(buffer, offset, null); /* 140:354 */ soConsumerIndex(index + 2L); /* 141:355 */ return e; /* 142: */ }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test(timeout = 4000)\n public void test056() throws Throwable {\n StringReader stringReader0 = new StringReader(\"+%WC\");\n JavaCharStream javaCharStream0 = new JavaCharStream(stringReader0);\n javaCharStream0.backup(416);\n javaCharStream0.BeginToken();\n javaCharStream0.adjustBeginL...
[ "0.5604", "0.5574329", "0.5440396", "0.54168254", "0.5381693", "0.53793746", "0.5369967", "0.53589803", "0.5277764", "0.5267863", "0.52588785", "0.52213234", "0.52200323", "0.52167505", "0.5204547", "0.51820534", "0.5170559", "0.51594275", "0.51520157", "0.5144417", "0.514229...
0.0
-1
/ 143: / 144:
public E peek() /* 145: */ { /* 146:367 */ E[] buffer = this.consumerBuffer; /* 147:368 */ long index = this.consumerIndex; /* 148:369 */ long mask = this.consumerMask; /* 149: */ /* 150:371 */ long offset = LinkedArrayQueueUtil.modifiedCalcElementOffset(index, mask); /* 151:372 */ Object e = UnsafeRefArrayAccess.lvElement(buffer, offset); /* 152:373 */ if ((e == null) && (index != lvProducerIndex())) { /* 153: */ do /* 154: */ { /* 155:379 */ e = UnsafeRefArrayAccess.lvElement(buffer, offset); /* 156:381 */ } while (e == null); /* 157: */ } /* 158:383 */ if (e == JUMP) { /* 159:385 */ return newBufferPeek(getNextBuffer(buffer, mask), index); /* 160: */ } /* 161:387 */ return e; /* 162: */ }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "long getMid();", "long getMid();", "void mo33732Px();", "private void m4823s() {\n float f = this.f6613u;\n if (f > 100.0f || f < 0.0f) {\n throw new IllegalArgumentException(\"Invalid percentage.\");\n }\n float j = (float) m4814j();\n this.f6595c.setY((float) (...
[ "0.5455764", "0.5455764", "0.5169187", "0.51539874", "0.5118921", "0.5103021", "0.50778306", "0.50651634", "0.50534", "0.503916", "0.50254166", "0.49767992", "0.4970816", "0.49547777", "0.49317572", "0.4926713", "0.49187177", "0.49163088", "0.49135503", "0.4890635", "0.488404...
0.0
-1
/ 163: / 164:
private int offerSlowPath(long mask, long pIndex, long producerLimit) /* 165: */ { /* 166:395 */ long cIndex = lvConsumerIndex(); /* 167:396 */ long bufferCapacity = getCurrentBufferCapacity(mask); /* 168:398 */ if (cIndex + bufferCapacity > pIndex) /* 169: */ { /* 170:400 */ if (!casProducerLimit(producerLimit, cIndex + bufferCapacity)) { /* 171:403 */ return 1; /* 172: */ } /* 173:408 */ return 0; /* 174: */ } /* 175:412 */ if (availableInQueue(pIndex, cIndex) <= 0L) { /* 176:415 */ return 2; /* 177: */ } /* 178:418 */ if (casProducerIndex(pIndex, pIndex + 1L)) { /* 179:421 */ return 3; /* 180: */ } /* 181:426 */ return 1; /* 182: */ }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void method_4270() {}", "public int n_()\r\n/* 429: */ {\r\n/* 430:442 */ return this.a.length + 4;\r\n/* 431: */ }", "public void mo12628c() {\n }", "private void m50366E() {\n }", "public void mo21879u() {\n }", "long getUnknown72();", "private void m27464b() {\n ...
[ "0.60391647", "0.5954215", "0.59297895", "0.59277385", "0.5907935", "0.58423746", "0.5825484", "0.58039755", "0.5777627", "0.5762159", "0.5755152", "0.57333845", "0.57066494", "0.56967604", "0.567206", "0.56551695", "0.56412715", "0.56389576", "0.56284684", "0.5621621", "0.56...
0.0
-1
/ 183: / 184:
protected abstract long availableInQueue(long paramLong1, long paramLong2);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public long mo1981x() throws cf {\r\n return m10270d(m10258F());\r\n }", "public final void mo14764a() {\n /*\n r9 = this;\n com.google.android.gms.common.util.Clock r0 = com.google.android.gms.ads.internal.zzp.zzkx()\n long r0 = r0.currentTimeMillis()\n ...
[ "0.5945401", "0.56839633", "0.5676048", "0.5641897", "0.5637808", "0.5623673", "0.5620594", "0.56061643", "0.5592153", "0.55883884", "0.558096", "0.5545265", "0.55403376", "0.55401057", "0.5528888", "0.5528056", "0.5527753", "0.55146515", "0.5504566", "0.55003595", "0.5490609...
0.0
-1
/ 185: / 186:
private E[] getNextBuffer(E[] buffer, long mask) /* 187: */ { /* 188:438 */ long offset = nextArrayOffset(mask); /* 189:439 */ E[] nextBuffer = (Object[])UnsafeRefArrayAccess.lvElement(buffer, offset); /* 190:440 */ UnsafeRefArrayAccess.soElement(buffer, offset, null); /* 191:441 */ return nextBuffer; /* 192: */ }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void mo1943l();", "public void mo21786K() {\n }", "public void mo21794S() {\n }", "public void mo21877s() {\n }", "public void mo12628c() {\n }", "public int method_2436() {\r\n return 16;\r\n }", "public void method_4270() {}", "public int mo36g() {\n return 4;\n }",...
[ "0.5835494", "0.58327156", "0.5827949", "0.5821478", "0.58115685", "0.5773276", "0.57729113", "0.5769361", "0.57290995", "0.57134473", "0.56994075", "0.5694723", "0.5689214", "0.56576216", "0.56324005", "0.5631794", "0.5610951", "0.56066287", "0.559491", "0.5578456", "0.55664...
0.0
-1
/ 193: / 194:
private long nextArrayOffset(long mask) /* 195: */ { /* 196:446 */ return LinkedArrayQueueUtil.modifiedCalcElementOffset(mask + 2L, 9223372036854775807L); /* 197: */ }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void mo12637b();", "public void mo12628c() {\n }", "public void mo115190b() {\n }", "public void mo21879u() {\n }", "public void method_4270() {}", "void m5768b() throws C0841b;", "public int p_()\r\n/* 96: */ {\r\n/* 97:117 */ return 64;\r\n/* 98: */ }", "@Test(timeout ...
[ "0.61515886", "0.61209524", "0.60874486", "0.60346764", "0.60144466", "0.5958108", "0.58955836", "0.589272", "0.5889686", "0.5874775", "0.58719546", "0.5851818", "0.5795395", "0.57854944", "0.5782934", "0.5778938", "0.5776883", "0.5774254", "0.577381", "0.5765931", "0.5763278...
0.0
-1
/ 198: / 199:
private E newBufferPoll(E[] nextBuffer, long index) /* 200: */ { /* 201:451 */ long offset = newBufferAndOffset(nextBuffer, index); /* 202:452 */ E n = UnsafeRefArrayAccess.lvElement(nextBuffer, offset); /* 203:453 */ if (n == null) { /* 204:455 */ throw new IllegalStateException("new buffer must have at least one element"); /* 205: */ } /* 206:457 */ UnsafeRefArrayAccess.soElement(nextBuffer, offset, null); /* 207:458 */ soConsumerIndex(index + 2L); /* 208:459 */ return n; /* 209: */ }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public int mo1980w() throws cf {\r\n return m10275g(m10257E());\r\n }", "private int m10257E() throws cf {\r\n int i = 0;\r\n int i2;\r\n if (this.g.mo1996h() >= 5) {\r\n byte[] f = this.g.mo1994f();\r\n int g = this.g.mo1995g();\r\n i2 = 0;\r\n ...
[ "0.5269111", "0.5232834", "0.5029343", "0.5022324", "0.49918437", "0.49918437", "0.49751267", "0.49600118", "0.49435967", "0.49001628", "0.48989376", "0.48919", "0.48856106", "0.48729247", "0.4864958", "0.48624492", "0.4861217", "0.48599622", "0.48492086", "0.4846688", "0.484...
0.0
-1
/ 210: / 211:
private E newBufferPeek(E[] nextBuffer, long index) /* 212: */ { /* 213:464 */ long offset = newBufferAndOffset(nextBuffer, index); /* 214:465 */ E n = UnsafeRefArrayAccess.lvElement(nextBuffer, offset); /* 215:466 */ if (null == n) { /* 216:468 */ throw new IllegalStateException("new buffer must have at least one element"); /* 217: */ } /* 218:470 */ return n; /* 219: */ }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private int e(String paramString, int paramInt)\r\n/* 628: */ {\r\n/* 629:624 */ int i1 = paramString.length();\r\n/* 630:625 */ int i2 = 0;\r\n/* 631:626 */ int i3 = 0;\r\n/* 632:627 */ int i4 = -1;\r\n/* 633:628 */ int i5 = 0;\r\n/* 634:631 */ for (; i3 < i1; i3++)\r\n/* 635: */ ...
[ "0.5363595", "0.5342096", "0.5341287", "0.5324514", "0.53008085", "0.52985126", "0.5292397", "0.52862906", "0.5281905", "0.52755195", "0.5263339", "0.5259166", "0.5235604", "0.52347594", "0.5230154", "0.52294517", "0.5220651", "0.5212211", "0.52107286", "0.5210332", "0.520534...
0.0
-1
/ 220: / 221:
private long newBufferAndOffset(E[] nextBuffer, long index) /* 222: */ { /* 223:475 */ this.consumerBuffer = nextBuffer; /* 224:476 */ this.consumerMask = (LinkedArrayQueueUtil.length(nextBuffer) - 2 << 1); /* 225:477 */ return LinkedArrayQueueUtil.modifiedCalcElementOffset(index, this.consumerMask); /* 226: */ }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private String processBytes(String bytes){\n Pattern p = Pattern.compile(\"170-180\");\r\n Matcher m = p.matcher(bytes);\r\n //find two bounds\r\n int posi[] = new int[2];\r\n for(int i=0;i<2;i++){\r\n if(m.find()) posi[i] = m.start();\r\n }\r\n //Cut string\r\n retu...
[ "0.60923004", "0.5637385", "0.5596507", "0.5581511", "0.54101455", "0.5377892", "0.5300608", "0.5261652", "0.52600867", "0.52452904", "0.5216709", "0.52065855", "0.51682425", "0.5158797", "0.5148577", "0.5147446", "0.5139459", "0.5131542", "0.5123968", "0.5122289", "0.5111298...
0.0
-1
/ 227: / 228:
public long currentProducerIndex() /* 229: */ { /* 230:483 */ return lvProducerIndex() / 2L; /* 231: */ }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void mo12628c() {\n }", "C2841w mo7234g();", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "publi...
[ "0.5741066", "0.54756445", "0.5440194", "0.5440194", "0.5440194", "0.5440194", "0.5440194", "0.5440194", "0.5440194", "0.5428838", "0.5413735", "0.5390844", "0.5378773", "0.53767407", "0.5363716", "0.5356415", "0.5341623", "0.5337632", "0.5323213", "0.5314933", "0.5312381", ...
0.0
-1
/ 232: / 233:
public long currentConsumerIndex() /* 234: */ { /* 235:489 */ return lvConsumerIndex() / 2L; /* 236: */ }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test\n public void testTakeNumberFromString224() { // FlairImage: 224\n assertEquals(\"From: FlairImage line: 225\", 123, takeNumberFromString(\"123\")); \n assertEquals(\"From: FlairImage line: 226\", 0, takeNumberFromString(\"123a\")); \n assertEquals(\"From: FlairImage line: 227\", -123, takeNumbe...
[ "0.58813", "0.5655674", "0.55702555", "0.5550539", "0.54940414", "0.54665846", "0.54245603", "0.53807986", "0.5371001", "0.53232086", "0.5312198", "0.5290533", "0.52897614", "0.5276353", "0.5274781", "0.5270189", "0.52661794", "0.5242434", "0.52360195", "0.5235545", "0.523017...
0.0
-1
/ 237: / 238:
public abstract int capacity();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void mo21794S() {\n }", "public void mo38117a() {\n }", "public void mo21877s() {\n }", "public void method_4270() {}", "public void mo21782G() {\n }", "public void mo23813b() {\n }", "public void mo21795T() {\n }", "private void m50366E() {\n }", "public void mo2187...
[ "0.59884953", "0.5957932", "0.59473974", "0.5931529", "0.59025156", "0.58984166", "0.57815224", "0.57784104", "0.57705885", "0.5765604", "0.575789", "0.5757654", "0.5757452", "0.5750644", "0.5750644", "0.5750644", "0.5750644", "0.5750644", "0.5750644", "0.5750644", "0.5741389...
0.0
-1
/ 239: / 240:
public boolean relaxedOffer(E e) /* 241: */ { /* 242:498 */ return offer(e); /* 243: */ }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void init241()\n {\n\t \twidth= p2[21]<<24 | p2[20]<<16 | p2[19]<<8 | p2[18];\n\n\n\n\t\theight= p2[25]<<24 | p2[24]<<16 | p2[23]<<8 | p2[22];\n\n\n\t\tint extra=(width*3)%4;\n \tif(extra!=0)\n \tpadding=4-extra;\n int x,z=54;\n l=0;\...
[ "0.55972284", "0.5291999", "0.5279679", "0.5256914", "0.5178837", "0.5158897", "0.51538557", "0.51485246", "0.5036952", "0.4986835", "0.49207088", "0.49174517", "0.48717356", "0.48299962", "0.4824822", "0.48225296", "0.4809296", "0.48011595", "0.4731666", "0.46923283", "0.469...
0.0
-1
/ 244: / 245:
public E relaxedPoll() /* 246: */ { /* 247:505 */ E[] buffer = this.consumerBuffer; /* 248:506 */ long index = this.consumerIndex; /* 249:507 */ long mask = this.consumerMask; /* 250: */ /* 251:509 */ long offset = LinkedArrayQueueUtil.modifiedCalcElementOffset(index, mask); /* 252:510 */ Object e = UnsafeRefArrayAccess.lvElement(buffer, offset); /* 253:511 */ if (e == null) { /* 254:513 */ return null; /* 255: */ } /* 256:515 */ if (e == JUMP) /* 257: */ { /* 258:517 */ E[] nextBuffer = getNextBuffer(buffer, mask); /* 259:518 */ return newBufferPoll(nextBuffer, index); /* 260: */ } /* 261:520 */ UnsafeRefArrayAccess.soElement(buffer, offset, null); /* 262:521 */ soConsumerIndex(index + 2L); /* 263:522 */ return e; /* 264: */ }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test\n public void testTakeNumberFromString224() { // FlairImage: 224\n assertEquals(\"From: FlairImage line: 225\", 123, takeNumberFromString(\"123\")); \n assertEquals(\"From: FlairImage line: 226\", 0, takeNumberFromString(\"123a\")); \n assertEquals(\"From: FlairImage line: 227\", -123, takeNumbe...
[ "0.55380744", "0.5254056", "0.5254056", "0.5254056", "0.5254056", "0.5254056", "0.5254056", "0.5254056", "0.52395475", "0.5202908", "0.51912594", "0.5167179", "0.51014286", "0.50510687", "0.5045877", "0.50397253", "0.5036629", "0.5034585", "0.5033694", "0.50269103", "0.502024...
0.0
-1
/ 265: / 266:
public E relaxedPeek() /* 267: */ { /* 268:529 */ E[] buffer = this.consumerBuffer; /* 269:530 */ long index = this.consumerIndex; /* 270:531 */ long mask = this.consumerMask; /* 271: */ /* 272:533 */ long offset = LinkedArrayQueueUtil.modifiedCalcElementOffset(index, mask); /* 273:534 */ Object e = UnsafeRefArrayAccess.lvElement(buffer, offset); /* 274:535 */ if (e == JUMP) { /* 275:537 */ return newBufferPeek(getNextBuffer(buffer, mask), index); /* 276: */ } /* 277:539 */ return e; /* 278: */ }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "int main()\n{\n cin>>a.h>>a.m>>a.s>>b.h>>b.m>>b.s;\n int x=a.s-b.s;\n int y=a.m-b.m;\n int z=a.h-b.h;\n if(y<0){\n y+=60;\n z--;\n }\n if(x<0){\n x+=60;\n y--;\n }\n cout<<z<<\":\"<<y<<\":\"<<x;\n}", "public void ex() {\n int inches = 86; \n int pie = 12; //1 pie = 12 inche...
[ "0.5661546", "0.54236954", "0.5389831", "0.5352063", "0.5328486", "0.5272967", "0.5265284", "0.5251868", "0.52433443", "0.5229074", "0.52164507", "0.51527524", "0.5128074", "0.51205003", "0.51089823", "0.50967616", "0.50865006", "0.5081104", "0.5078344", "0.50523055", "0.5043...
0.0
-1
/ 279: / 280:
public int fill(MessagePassingQueue.Supplier<E> s) /* 281: */ { /* 282:545 */ long result = 0L; /* 283:546 */ int capacity = capacity(); /* 284: */ do /* 285: */ { /* 286:549 */ int filled = fill(s, PortableJvmInfo.RECOMENDED_OFFER_BATCH); /* 287:550 */ if (filled == 0) { /* 288:552 */ return (int)result; /* 289: */ } /* 290:554 */ result += filled; /* 291:556 */ } while (result <= capacity); /* 292:557 */ return (int)result; /* 293: */ }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void method_4270() {}", "public int method_2436() {\r\n return 16;\r\n }", "public abstract long mo9229aD();", "long getUnknown72();", "private int m10257E() throws cf {\r\n int i = 0;\r\n int i2;\r\n if (this.g.mo1996h() >= 5) {\r\n byte[] f = this.g.mo1994f()...
[ "0.59411645", "0.59396464", "0.58443266", "0.5803041", "0.57369703", "0.5733467", "0.5727282", "0.5720655", "0.5717", "0.5698585", "0.5697483", "0.5677483", "0.5677261", "0.56765944", "0.56688595", "0.56657785", "0.56641203", "0.5659585", "0.56552106", "0.56518084", "0.565035...
0.0
-1
/ 294: / 295:
public int fill(MessagePassingQueue.Supplier<E> s, int batchSize) /* 296: */ { /* 297: */ long pIndex; /* 298: */ long mask; /* 299: */ E[] buffer; /* 300: */ for (;;) /* 301: */ { /* 302:569 */ long producerLimit = lvProducerLimit(); /* 303:570 */ pIndex = lvProducerIndex(); /* 304:572 */ if ((pIndex & 1L) != 1L) /* 305: */ { /* 306:581 */ mask = this.producerMask; /* 307:582 */ buffer = this.producerBuffer; /* 308: */ /* 309: */ /* 310: */ /* 311:586 */ long batchIndex = Math.min(producerLimit, pIndex + 2 * batchSize); /* 312:588 */ if ((pIndex >= producerLimit) || (producerLimit < batchIndex)) /* 313: */ { /* 314:590 */ int result = offerSlowPath(mask, pIndex, producerLimit); /* 315:591 */ switch (result) /* 316: */ { /* 317: */ case 0: /* 318: */ case 1: /* 319: */ break; /* 320: */ case 2: /* 321:598 */ return 0; /* 322: */ case 3: /* 323:600 */ resize(mask, buffer, pIndex, s.get()); /* 324:601 */ return 1; /* 325: */ } /* 326: */ } /* 327:606 */ else if (casProducerIndex(pIndex, batchIndex)) /* 328: */ { /* 329:608 */ int claimedSlots = (int)((batchIndex - pIndex) / 2L); /* 330:609 */ break; /* 331: */ } /* 332: */ } /* 333: */ } /* 334: */ int claimedSlots; /* 335:613 */ for (int i = 0; i < claimedSlots; i++) /* 336: */ { /* 337:615 */ long offset = LinkedArrayQueueUtil.modifiedCalcElementOffset(pIndex + 2 * i, mask); /* 338:616 */ UnsafeRefArrayAccess.soElement(buffer, offset, s.get()); /* 339: */ } /* 340:618 */ return claimedSlots; /* 341: */ }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private int m10257E() throws cf {\r\n int i = 0;\r\n int i2;\r\n if (this.g.mo1996h() >= 5) {\r\n byte[] f = this.g.mo1994f();\r\n int g = this.g.mo1995g();\r\n i2 = 0;\r\n int i3 = 0;\r\n while (true) {\r\n byte b = f[g + i...
[ "0.5762251", "0.5737434", "0.57108206", "0.5694975", "0.5679032", "0.5657387", "0.56538445", "0.56381965", "0.5609399", "0.55656075", "0.5557068", "0.555594", "0.5554698", "0.5545233", "0.5540688", "0.5529542", "0.5525806", "0.5518868", "0.5514332", "0.55047756", "0.5482972",...
0.0
-1
/ 342: / 343:
public void fill(MessagePassingQueue.Supplier<E> s, MessagePassingQueue.WaitStrategy w, MessagePassingQueue.ExitCondition exit) /* 344: */ { /* 345:628 */ while (exit.keepRunning()) { /* 346:630 */ if (fill(s, PortableJvmInfo.RECOMENDED_OFFER_BATCH) == 0) /* 347: */ { /* 348:632 */ int idleCounter = 0; /* 349:633 */ while ((exit.keepRunning()) && (fill(s, PortableJvmInfo.RECOMENDED_OFFER_BATCH) == 0)) { /* 350:635 */ idleCounter = w.idle(idleCounter); /* 351: */ } /* 352: */ } /* 353: */ } /* 354: */ }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static String getParsedColonKey(String input) {\t\n\t\tif (input == null) {\n\t\t\treturn null;\n\t\t}\n\t\treturn input.split(\":\")[0];\n\t}", "public void testYourThirdPartition() {\n\tSystem.out.print(\"\\nTesting Third Partition...\\n\");\n executeTestPrintResult(\"http://abc.com/\", true); /...
[ "0.51515716", "0.5030545", "0.4967455", "0.49370566", "0.492763", "0.4914744", "0.4841863", "0.4824034", "0.48144102", "0.48102018", "0.48006088", "0.4796877", "0.47803158", "0.4777909", "0.46843198", "0.46592295", "0.4658794", "0.46573436", "0.46503463", "0.46436605", "0.463...
0.0
-1
/ 355: / 356:
public int drain(MessagePassingQueue.Consumer<E> c) /* 357: */ { /* 358:644 */ return drain(c, capacity()); /* 359: */ }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static void main(String[] args) {\n\n String time =\"16:49:40\".substring(0,2);\n System.out.println(time);\n\n }", "public static String getParsedColonKey(String input) {\t\n\t\tif (input == null) {\n\t\t\treturn null;\n\t\t}\n\t\treturn input.split(\":\")[0];\n\t}", "private static St...
[ "0.54248065", "0.52916545", "0.5218582", "0.5187292", "0.51862276", "0.5085275", "0.5067569", "0.49534157", "0.49187365", "0.49141347", "0.48341143", "0.48341018", "0.482981", "0.48093277", "0.4780309", "0.47790182", "0.477387", "0.47724375", "0.47698537", "0.47386914", "0.47...
0.0
-1
/ 360: / 361:
public int drain(MessagePassingQueue.Consumer<E> c, int limit) /* 362: */ { /* 363: */ E m; /* 364:652 */ for (int i = 0; (i < limit) && ((m = relaxedPoll()) != null); i++) { /* 365:656 */ c.accept(m); /* 366: */ } /* 367:658 */ return i; /* 368: */ }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void camera360() {\n\n }", "private static double m29995d(double d, double d2) {\n return ((d2 - d) + 360.0d) % 360.0d;\n }", "private static double m29994c(double d, double d2) {\n return ((d - d2) + 360.0d) % 360.0d;\n }", "private static double convertBearingTo360(double dBea...
[ "0.6324961", "0.629028", "0.62652814", "0.61506635", "0.6056578", "0.6037952", "0.603794", "0.5999558", "0.5935822", "0.581103", "0.57842755", "0.57788855", "0.5775213", "0.5765685", "0.5731546", "0.569953", "0.5672741", "0.56660074", "0.56626314", "0.56256664", "0.5625047", ...
0.0
-1
/ 369: / 370:
public void drain(MessagePassingQueue.Consumer<E> c, MessagePassingQueue.WaitStrategy w, MessagePassingQueue.ExitCondition exit) /* 371: */ { /* 372:664 */ int idleCounter = 0; /* 373:665 */ while (exit.keepRunning()) /* 374: */ { /* 375:667 */ E e = relaxedPoll(); /* 376:668 */ if (e == null) /* 377: */ { /* 378:670 */ idleCounter = w.idle(idleCounter); /* 379: */ } /* 380: */ else /* 381: */ { /* 382:673 */ idleCounter = 0; /* 383:674 */ c.accept(e); /* 384: */ } /* 385: */ } /* 386: */ }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void m50366E() {\n }", "public void method_4270() {}", "private void m50367F() {\n }", "public void mo21787L() {\n }", "public void mo3749d() {\n }", "public void mo21877s() {\n }", "public void mo38117a() {\n }", "public void mo21779D() {\n }", "public void mo21794...
[ "0.66999924", "0.66245115", "0.64324266", "0.62927353", "0.6286298", "0.62608784", "0.62369144", "0.62125415", "0.6161425", "0.6154128", "0.6114088", "0.60464567", "0.6037013", "0.6035594", "0.6031727", "0.60304666", "0.60282034", "0.6027776", "0.6013585", "0.5998343", "0.599...
0.0
-1
/ 387: / 388:
private void resize(long oldMask, E[] oldBuffer, long pIndex, E e) /* 389: */ { /* 390:680 */ int newBufferLength = getNextBufferSize(oldBuffer); /* 391:681 */ E[] newBuffer = CircularArrayOffsetCalculator.allocate(newBufferLength); /* 392: */ /* 393:683 */ this.producerBuffer = newBuffer; /* 394:684 */ int newMask = newBufferLength - 2 << 1; /* 395:685 */ this.producerMask = newMask; /* 396: */ /* 397:687 */ long offsetInOld = LinkedArrayQueueUtil.modifiedCalcElementOffset(pIndex, oldMask); /* 398:688 */ long offsetInNew = LinkedArrayQueueUtil.modifiedCalcElementOffset(pIndex, newMask); /* 399: */ /* 400:690 */ UnsafeRefArrayAccess.soElement(newBuffer, offsetInNew, e); /* 401:691 */ UnsafeRefArrayAccess.soElement(oldBuffer, nextArrayOffset(oldMask), newBuffer); /* 402: */ /* 403: */ /* 404:694 */ long cIndex = lvConsumerIndex(); /* 405:695 */ long availableInQueue = availableInQueue(pIndex, cIndex); /* 406:696 */ RangeUtil.checkPositive(availableInQueue, "availableInQueue"); /* 407: */ /* 408: */ /* 409: */ /* 410:700 */ soProducerLimit(pIndex + Math.min(newMask, availableInQueue)); /* 411: */ /* 412: */ /* 413:703 */ soProducerIndex(pIndex + 2L); /* 414: */ /* 415: */ /* 416: */ /* 417: */ /* 418:708 */ UnsafeRefArrayAccess.soElement(oldBuffer, offsetInOld, JUMP); /* 419: */ }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "C1458cs mo7613iS();", "private void m81850n() {\n m81843b(m81844c(C6969H.m41409d(\"G738BEA12B634AE16F20F9277F0E4D1\")));\n }", "C2841w mo7234g();", "private static int m31084a(zzss zzss) {\n int a = zzss.mo32193a(5);\n if (a == 31) {\n return zzss.mo32193a(6) + 32;\n ...
[ "0.55987704", "0.5440725", "0.5415117", "0.540525", "0.5401696", "0.53661966", "0.53337884", "0.5329151", "0.5301391", "0.5286092", "0.52542514", "0.525182", "0.52447104", "0.5243663", "0.524146", "0.52412087", "0.52279776", "0.5223248", "0.52025557", "0.5202192", "0.52015424...
0.0
-1
/ 420: / 421:
protected abstract int getNextBufferSize(E[] paramArrayOfE);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public int method_2436() {\r\n return 16;\r\n }", "public void method_4270() {}", "private static android.util.Pair<com.google.android.exoplayer2.Format, java.lang.Long> m26780a(com.google.android.exoplayer2.p366s0.p374y.C9043p.C9044a r20, java.lang.String r21) {\n /*\n r0 = r20\n ...
[ "0.53809005", "0.53134966", "0.5282739", "0.5277765", "0.5263008", "0.52608925", "0.5260055", "0.52573824", "0.5249673", "0.52304155", "0.5187057", "0.5176176", "0.51721823", "0.51645124", "0.51462835", "0.5139488", "0.51390254", "0.5125537", "0.51178473", "0.50978875", "0.50...
0.0
-1
/ 422: / 423:
protected abstract long getCurrentBufferCapacity(long paramLong);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public BadRequestResponse()\n {\n super();\n codeSubfield = 0;\n payload = \"Bad Request\";\n }", "public String badOrMissingResponseData();", "@Override\n\t\t\t\t\tpublic void httpFail(String response) {\n\t\t\t\t\t}", "protected StatusLine createStatusLine(ProtocolVersion ver, in...
[ "0.6124126", "0.5939245", "0.5775083", "0.5721679", "0.5653895", "0.565015", "0.5616692", "0.5614532", "0.55933887", "0.55560386", "0.5522034", "0.5479259", "0.5475442", "0.5471249", "0.5471249", "0.54459155", "0.53481525", "0.5307023", "0.52858496", "0.5274205", "0.5262653",...
0.0
-1
/ renamed from: a
public void m65917a(List<SearchTrack> list) { SpotifyTrackSearchTarget spotifyTrackSearchTarget = (SpotifyTrackSearchTarget) this.f56357a.H(); if (spotifyTrackSearchTarget != null) { spotifyTrackSearchTarget.addTracks(list); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public interface C4521a {\n /* renamed from: a */\n void mo12348a();\n }", "public interface C1423a {\n /* renamed from: a */\n void mo6888a(int i);\n }", "interface bxc {\n /* renamed from: a */\n void mo2508a(bxb bxb);\n}", "interface C33292a {\n /* renamed fr...
[ "0.62497115", "0.6242887", "0.61394435", "0.61176854", "0.6114027", "0.60893", "0.6046901", "0.6024682", "0.60201293", "0.5975212", "0.59482527", "0.59121317", "0.5883635", "0.587841", "0.58703005", "0.5868436", "0.5864884", "0.5857492", "0.58306104", "0.5827752", "0.58272064...
0.0
-1
/ renamed from: a
public void m65918a(List<SearchTrack> list) { SpotifyTrackSearchTarget spotifyTrackSearchTarget = (SpotifyTrackSearchTarget) this.f56358a.H(); if (spotifyTrackSearchTarget != null) { this.f56358a.f56363e = true; spotifyTrackSearchTarget.addTracks(list); this.f56358a.f56361c = this.f56358a.f56361c + 1; } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public interface C4521a {\n /* renamed from: a */\n void mo12348a();\n }", "public interface C1423a {\n /* renamed from: a */\n void mo6888a(int i);\n }", "interface bxc {\n /* renamed from: a */\n void mo2508a(bxb bxb);\n}", "interface C33292a {\n /* renamed fr...
[ "0.62497115", "0.6242887", "0.61394435", "0.61176854", "0.6114027", "0.60893", "0.6046901", "0.6024682", "0.60201293", "0.5975212", "0.59482527", "0.59121317", "0.5883635", "0.587841", "0.58703005", "0.5868436", "0.5864884", "0.5857492", "0.58306104", "0.5827752", "0.58272064...
0.0
-1
/ renamed from: a
public void m65922a() { super.a(); this.f56360b.unsubscribe(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public interface C4521a {\n /* renamed from: a */\n void mo12348a();\n }", "public interface C1423a {\n /* renamed from: a */\n void mo6888a(int i);\n }", "interface bxc {\n /* renamed from: a */\n void mo2508a(bxb bxb);\n}", "interface C33292a {\n /* renamed fr...
[ "0.62497115", "0.6242887", "0.61394435", "0.61176854", "0.6114027", "0.60893", "0.6046901", "0.6024682", "0.60201293", "0.5975212", "0.59482527", "0.59121317", "0.5883635", "0.587841", "0.58703005", "0.5868436", "0.5864884", "0.5857492", "0.58306104", "0.5827752", "0.58272064...
0.0
-1
/ renamed from: b
public void m65928b() { this.f56360b.a(this.f56359a.m56680g().b(Schedulers.io()).a(C19397a.a()).a(new C181681(this))); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void mo2508a(bxb bxb);", "@Override\n public void func_104112_b() {\n \n }", "@Override\n public void b() {\n }", "public interface C19351a {\n /* renamed from: b */\n void mo30633b(int i, String str, byte[] bArr);\n }", "@Override\n\tpublic void b2() {\n\t\t\n\t}", "v...
[ "0.64558864", "0.6283203", "0.6252635", "0.6250949", "0.6244743", "0.6216273", "0.6194491", "0.6193556", "0.61641675", "0.6140157", "0.60993093", "0.60974354", "0.6077849", "0.6001867", "0.5997364", "0.59737104", "0.59737104", "0.5905105", "0.5904295", "0.58908087", "0.588663...
0.0
-1
/ renamed from: a
public void m65925a(String str) { if (C8578a.a(str)) { m65928b(); return; } this.f56360b.a(this.f56359a.m56659a(str, this.f56361c * 100).b(Schedulers.io()).a(C19397a.a()).a(new C181692(this))); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public interface C4521a {\n /* renamed from: a */\n void mo12348a();\n }", "public interface C1423a {\n /* renamed from: a */\n void mo6888a(int i);\n }", "interface bxc {\n /* renamed from: a */\n void mo2508a(bxb bxb);\n}", "interface C33292a {\n /* renamed fr...
[ "0.62497115", "0.6242887", "0.61394435", "0.61176854", "0.6114027", "0.60893", "0.6046901", "0.6024682", "0.60201293", "0.5975212", "0.59482527", "0.59121317", "0.5883635", "0.587841", "0.58703005", "0.5868436", "0.5864884", "0.5857492", "0.58306104", "0.5827752", "0.58272064...
0.0
-1
/ renamed from: c
public void m65930c() { this.f56361c = 0; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void mo5289a(C5102c c5102c);", "public static void c0() {\n\t}", "void mo57278c();", "private static void cajas() {\n\t\t\n\t}", "void mo5290b(C5102c c5102c);", "void mo80457c();", "void mo12638c();", "void mo28717a(zzc zzc);", "void mo21072c();", "@Override\n\tpublic void ccc() {\n\t\t\n\t}", ...
[ "0.64592767", "0.644052", "0.6431582", "0.6418656", "0.64118475", "0.6397491", "0.6250796", "0.62470585", "0.6244832", "0.6232792", "0.618864", "0.61662376", "0.6152657", "0.61496663", "0.6138441", "0.6137171", "0.6131197", "0.6103783", "0.60983956", "0.6077118", "0.6061723",...
0.0
-1
/ renamed from: d
public boolean m65931d() { return this.f56359a.m56683j(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void d() {\n }", "@Override\n\tpublic void dtd() {\n\t\t\n\t}", "@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}", "public int d()\r\n/* 79: */ {\r\n/* 80:82 */ return this.d;\r\n/* 81: */ }", "public String d_()\r\n/* 445: */ {\r\n/* 446:459 */ return \"container.inventor...
[ "0.63810617", "0.616207", "0.6071929", "0.59959275", "0.5877492", "0.58719957", "0.5825175", "0.57585526", "0.5701679", "0.5661244", "0.5651699", "0.56362265", "0.562437", "0.5615328", "0.56114155", "0.56114155", "0.5605659", "0.56001145", "0.5589302", "0.5571578", "0.5559222...
0.0
-1
/ renamed from: a
public void m65923a(SearchTrack searchTrack) { this.f56359a.m56675c(searchTrack); this.f56359a.m56657a(searchTrack).b(Schedulers.io()).a(C19397a.a()).a(new C18925y(this, searchTrack), new C18926z(this)); ((SpotifyTrackSearchTarget) H()).closeView(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public interface C4521a {\n /* renamed from: a */\n void mo12348a();\n }", "public interface C1423a {\n /* renamed from: a */\n void mo6888a(int i);\n }", "interface bxc {\n /* renamed from: a */\n void mo2508a(bxb bxb);\n}", "interface C33292a {\n /* renamed fr...
[ "0.62497115", "0.6242887", "0.61394435", "0.61176854", "0.6114027", "0.60893", "0.6046901", "0.6024682", "0.60201293", "0.5975212", "0.59482527", "0.59121317", "0.5883635", "0.587841", "0.58703005", "0.5868436", "0.5864884", "0.5857492", "0.58306104", "0.5827752", "0.58272064...
0.0
-1
/ renamed from: a
final /* synthetic */ void m65924a(SearchTrack searchTrack, Response response) { if (C8578a.a(searchTrack.getName()) == null) { m65921b(searchTrack); } this.f56359a.m56665a(searchTrack, this.f56363e, this.f56362d); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public interface C4521a {\n /* renamed from: a */\n void mo12348a();\n }", "public interface C1423a {\n /* renamed from: a */\n void mo6888a(int i);\n }", "interface bxc {\n /* renamed from: a */\n void mo2508a(bxb bxb);\n}", "interface C33292a {\n /* renamed fr...
[ "0.62497115", "0.6242887", "0.61394435", "0.61176854", "0.6114027", "0.60893", "0.6046901", "0.6024682", "0.60201293", "0.5975212", "0.59482527", "0.59121317", "0.5883635", "0.587841", "0.58703005", "0.5868436", "0.5864884", "0.5857492", "0.58306104", "0.5827752", "0.58272064...
0.0
-1
/ renamed from: b
final /* synthetic */ void m65929b(Throwable th) { if (H() != null) { ((SpotifyTrackSearchTarget) H()).toastError(R.string.spotify_connection_error); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void mo2508a(bxb bxb);", "@Override\n public void func_104112_b() {\n \n }", "@Override\n public void b() {\n }", "public interface C19351a {\n /* renamed from: b */\n void mo30633b(int i, String str, byte[] bArr);\n }", "@Override\n\tpublic void b2() {\n\t\t\n\t}", "v...
[ "0.64558864", "0.6283203", "0.6252635", "0.6250949", "0.6244743", "0.6216273", "0.6194491", "0.6193556", "0.61641675", "0.6140157", "0.60993093", "0.60974354", "0.6077849", "0.6001867", "0.5997364", "0.59737104", "0.59737104", "0.5905105", "0.5904295", "0.58908087", "0.588663...
0.0
-1
/ renamed from: e
public void m65932e() { if (this.f56359a.m56684k() != null) { this.f56360b.a(this.f56359a.m56679f().b(Schedulers.io()).a(C19397a.a()).a(new aa(this), new ab(this))); } this.f56359a.m56675c(null); ((SpotifyTrackSearchTarget) H()).closeView(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic void e() {\n\n\t}", "public void e() {\n }", "@Override\n\tpublic void processEvent(Event e) {\n\n\t}", "@Override\n public void e(String TAG, String msg) {\n }", "public String toString()\r\n {\r\n return e.toString();\r\n }", "@Override\n\t\t\t\...
[ "0.72328156", "0.66032064", "0.6412127", "0.6362734", "0.633999", "0.62543726", "0.6232265", "0.6159535", "0.61226326", "0.61226326", "0.60798717", "0.6049423", "0.60396963", "0.60011584", "0.5998842", "0.59709895", "0.59551716", "0.5937381", "0.58854383", "0.5870234", "0.586...
0.0
-1
/ renamed from: a
final /* synthetic */ void m65927a(Void voidR) { this.f56359a.m56689p(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public interface C4521a {\n /* renamed from: a */\n void mo12348a();\n }", "public interface C1423a {\n /* renamed from: a */\n void mo6888a(int i);\n }", "interface bxc {\n /* renamed from: a */\n void mo2508a(bxb bxb);\n}", "interface C33292a {\n /* renamed fr...
[ "0.62497115", "0.6242887", "0.61394435", "0.61176854", "0.6114027", "0.60893", "0.6046901", "0.6024682", "0.60201293", "0.5975212", "0.59482527", "0.59121317", "0.5883635", "0.587841", "0.58703005", "0.5868436", "0.5864884", "0.5857492", "0.58306104", "0.5827752", "0.58272064...
0.0
-1
/ renamed from: a
final /* synthetic */ void m65926a(Throwable th) { if (H() != null) { ((SpotifyTrackSearchTarget) H()).toastError(R.string.spotify_connection_error); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public interface C4521a {\n /* renamed from: a */\n void mo12348a();\n }", "public interface C1423a {\n /* renamed from: a */\n void mo6888a(int i);\n }", "interface bxc {\n /* renamed from: a */\n void mo2508a(bxb bxb);\n}", "interface C33292a {\n /* renamed fr...
[ "0.62497115", "0.6242887", "0.61394435", "0.61176854", "0.6114027", "0.60893", "0.6046901", "0.6024682", "0.60201293", "0.5975212", "0.59482527", "0.59121317", "0.5883635", "0.587841", "0.58703005", "0.5868436", "0.5864884", "0.5857492", "0.58306104", "0.5827752", "0.58272064...
0.0
-1
/ renamed from: b
private void m65921b(SearchTrack searchTrack) { if (searchTrack != null) { this.f56359a.m56664a(searchTrack, SpotifyMauType.SET_ANTHEM.toString(), SpotifyMauEventType.EXTERNAL_ENGAGEMENT.toString()); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void mo2508a(bxb bxb);", "@Override\n public void func_104112_b() {\n \n }", "@Override\n public void b() {\n }", "public interface C19351a {\n /* renamed from: b */\n void mo30633b(int i, String str, byte[] bArr);\n }", "@Override\n\tpublic void b2() {\n\t\t\n\t}", "v...
[ "0.64558864", "0.6283203", "0.6252635", "0.6250949", "0.6244743", "0.6216273", "0.6194491", "0.6193556", "0.61641675", "0.6140157", "0.60993093", "0.60974354", "0.6077849", "0.6001867", "0.5997364", "0.59737104", "0.59737104", "0.5905105", "0.5904295", "0.58908087", "0.588663...
0.0
-1
/abstract so that no one an create the object of EmployeeDaoFactory because there is no need of creating a object of EmployeeDaoFactory
public static EmployeeDao getEmployeeDao() throws IOException { EmployeeFileDaoImpl dao = new EmployeeFileDaoImpl(); //EmployeeInMemoryArrayDaoImpl dao= new EmployeeInMemoryArrayDaoImpl(); return dao; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public interface DaoFactory {\n\n // ===== Getters =====\n\n /**\n * Give the Author Data Access Object.\n *\n * @return the Author Data Access Object.\n */\n AuthorDao getAuthorDao();\n\n /**\n * Give the Book Data Access Object.\n *\n * @return the Book Data Access Object.\n */\n BookDao get...
[ "0.7144783", "0.7057946", "0.69794893", "0.6973759", "0.67938745", "0.67284524", "0.6712606", "0.6704252", "0.6688427", "0.66741705", "0.6662308", "0.6657575", "0.66546655", "0.6640353", "0.66321474", "0.6611455", "0.65686506", "0.6524528", "0.6497192", "0.64775133", "0.64656...
0.65097004
18
/ 15: / 16:
public RefreshableScriptTargetSource(BeanFactory beanFactory, String beanName, ScriptFactory scriptFactory, ScriptSource scriptSource, boolean isFactoryBean) /* 17: */ { /* 18:55 */ super(beanFactory, beanName); /* 19:56 */ Assert.notNull(scriptFactory, "ScriptFactory must not be null"); /* 20:57 */ Assert.notNull(scriptSource, "ScriptSource must not be null"); /* 21:58 */ this.scriptFactory = scriptFactory; /* 22:59 */ this.scriptSource = scriptSource; /* 23:60 */ this.isFactoryBean = isFactoryBean; /* 24: */ }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public int method_2436() {\r\n return 16;\r\n }", "@Override\n\tpublic void challenge16() {\n\n\t}", "void mo1501h();", "void mo1506m();", "@Override\n\tpublic void challenge15() {\n\n\t}", "void mo1507n();", "C1458cs mo7613iS();", "public void mo21783H() {\n }", "static void viteza(int d...
[ "0.5682014", "0.56789243", "0.5443412", "0.54357874", "0.54238033", "0.5420656", "0.5242471", "0.51672655", "0.5151734", "0.51323754", "0.5125118", "0.5124536", "0.5118519", "0.50876653", "0.50836897", "0.5061641", "0.5046952", "0.50042284", "0.4991986", "0.49875548", "0.4973...
0.0
-1
/ 25: / 26:
protected boolean requiresRefresh() /* 27: */ { /* 28:71 */ return this.scriptFactory.requiresScriptedObjectRefresh(this.scriptSource); /* 29: */ }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n protected long advanceH(final long k) {\n return 5 * k - 2;\n }", "public int method_2436() {\r\n return 16;\r\n }", "public void mo2476b() {\n Collections.reverse(mo2625k());\n }", "private void kk12() {\n\n\t}", "public static int i()\r\n/* 25: */ {\r\n/* 26: 48 *...
[ "0.5910141", "0.58280075", "0.5712075", "0.5649909", "0.5626392", "0.55814916", "0.5581042", "0.5537394", "0.55363303", "0.5520437", "0.5487419", "0.5446118", "0.542106", "0.540228", "0.539165", "0.53765297", "0.53495044", "0.53390557", "0.5320572", "0.5317091", "0.5311092", ...
0.0
-1
/ 30: / 31:
protected Object obtainFreshBean(BeanFactory beanFactory, String beanName) /* 32: */ { /* 33:79 */ return super.obtainFreshBean(beanFactory, /* 34:80 */ this.isFactoryBean ? "&" + beanName : beanName); /* 35: */ }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Period mo20733e();", "private int normalizeTime() {\n int currentTimeSeconds = (int) (System.currentTimeMillis() / 1000);\n\n // The graphing interval in minutes\n // TODO not hardcoded :3\n int interval = 30;\n\n // calculate the devisor denominator\n int denom = interv...
[ "0.58123296", "0.5408091", "0.5296399", "0.5293057", "0.51881385", "0.51842034", "0.5079915", "0.5076881", "0.5054898", "0.5010471", "0.5004682", "0.50012267", "0.49471682", "0.49352333", "0.4921015", "0.49166724", "0.48979965", "0.48919165", "0.48887467", "0.48849365", "0.48...
0.0
-1
TODO Autogenerated method stub
public static void main(String[] args) { Person krishna = new Person(101, "Krisha", "TX"); Person chani = new Person(111, "Chani", "CA"); Person boni = new Person(121, "Boni", "FL"); Person gopi = new Person(91, "Gopi", "NC"); Person suss = new Person(101, "Suss", "ML"); // Add to array List<Person> personlist = new ArrayList<Person>(); personlist.add(suss); personlist.add(gopi); personlist.add(boni); personlist.add(chani); personlist.add(krishna); System.out.println("Print the person names: " + personlist); // By using for each loop to print person names for (Person person : personlist) { System.out.println(person); } System.out.println("*******************"); Map<Integer, String> personsmap = new HashMap<Integer, String>(); // put every value list to Map for (Person person : personlist) { personsmap.put(person.getId(), person.getName()); System.out.println(person); } // Streams System.out.println(" *********** Strems ***********"); Map<Integer, String> map = personlist.stream() .collect( Collectors .toMap( Person::getId, Person::getName, (id, name) -> id + ", " + name, HashMap::new)); // print map map.forEach( (id, name) -> System.out.println(id + "=" + name)); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
Checks if there was validation errors and returns optional error message
static Optional<String> validate(Errors errors) { if (errors.hasErrors()) { return Optional.of(errors.getAllErrors() .stream() .map(DefaultMessageSourceResolvable::getDefaultMessage) .collect(Collectors.joining(","))); } return Optional.empty(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "ValidationError getValidationError();", "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 getErrorM...
[ "0.7239316", "0.7181633", "0.7181633", "0.7181633", "0.7181633", "0.7181633", "0.7181633", "0.7181633", "0.7181633", "0.7181633", "0.7181633", "0.7181633", "0.7181633", "0.7124639", "0.6998446", "0.6902492", "0.6902492", "0.6863389", "0.6863389", "0.6863389", "0.6863389", "...
0.6655155
29
TODO Autogenerated method stub
@Override public String addBatchMatStoreEmpSet(List<Map<String, Object>> entityMap) throws DataAccessException { return null; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
TODO Autogenerated method stub
@Override public String updateBatchMatStoreEmpSet(List<Map<String, Object>> entityMap) throws DataAccessException { return null; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
TODO Autogenerated method stub
@Override public String deleteMatStoreEmpSet(Map<String, Object> entityMap) throws DataAccessException { return null; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
TODO Autogenerated method stub
@Override public MatStoreEmp queryMatStoreEmpSetByCode(Map<String, Object> entityMap) throws DataAccessException { return matStoreEmpSetMapper.queryMatStoreEmpSetByCode(entityMap); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
Returns needed information about games that user owns.
@RequestMapping(value = {"/allUsersGames"}, method = RequestMethod.GET) @ResponseBody public List<GameUserDTO> showGames(@RequestParam("username") String username) { List<GameUserDTO> allGames = gameUserService.getGameUsersFromUsername(username); return allGames; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getGamesJson() {\n return new GsonBuilder().serializeNulls().create().toJson(new UserGamesJson(this));\n }", "public List<Game> getFullGameList() {\n List<Game> listOfGames = null;\n Session session = sessionFactory.openSession();\n // Try to return the user by the gi...
[ "0.60495365", "0.595287", "0.58912694", "0.5825269", "0.5797508", "0.5780717", "0.5672826", "0.56446314", "0.5579869", "0.556362", "0.54852456", "0.5430025", "0.5414061", "0.53802663", "0.53649485", "0.53649485", "0.5352728", "0.53306305", "0.53058636", "0.530141", "0.5295771...
0.54337907
11
Get a map of headers.
Map<String, String> getHeaders();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Map<String,List<String>> getHeaderMap() {\n\n\t\treturn headers;\n\t}", "public Map getHeaders() {\r\n if (headers == null) {\r\n headers = new HashMap();\r\n }\r\n\r\n return headers;\r\n }", "Map<String, List<String>> getHeaders();", "public final Map<String, Strin...
[ "0.86134535", "0.86031026", "0.8565159", "0.8351442", "0.83341223", "0.81100684", "0.8014489", "0.7951783", "0.7868545", "0.78585196", "0.7835059", "0.7827702", "0.77558", "0.77552843", "0.7743068", "0.7600155", "0.7532097", "0.7514165", "0.7270368", "0.7251856", "0.72281116"...
0.87417614
0
Gets the resource of the request. The resource is the second value in the first line of the HTTP request header.
String getResource();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Resource getResource(Request request);", "public ResourceInfo getResource() {\n\t\treturn resource;\n\t}", "public abstract ResourceInputStream getResource(String resName, HttpServletRequest request);", "private String getResourcePath() {\n\t\tString reqResource = getRequest().getResourceRef().getPath...
[ "0.7471", "0.67998654", "0.64898074", "0.6426045", "0.64085186", "0.63983744", "0.6298291", "0.6278777", "0.6142867", "0.61085314", "0.6100068", "0.6054164", "0.6017688", "0.59451884", "0.5938991", "0.5904886", "0.588952", "0.58542174", "0.584457", "0.57653457", "0.5763508", ...
0.54609215
36
Whether this request has a body. The request has a body if the ContentLength header is set and is not 0
boolean hasBody();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean hasBody() {\n /*\n * For response, a message-body is explicitly forbidden in responses to HEAD requests\n * a message-body is explicitly forbidden in 1xx (informational), 204 (no content), and 304 (not modified)\n * responses\n */\n int code = statusLine...
[ "0.8120036", "0.7950056", "0.7904259", "0.7882715", "0.7882715", "0.78328174", "0.78328174", "0.78328174", "0.78328174", "0.78328174", "0.700948", "0.69216174", "0.6918135", "0.6616427", "0.65042", "0.64049983", "0.6397763", "0.6358334", "0.6358334", "0.6297245", "0.6267121",...
0.7215722
12
Get the value of the ContentLength header. Convenience method.
int getContentLength();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public\t ContentLengthHeader getContentLength()\n { \n \treturn this.contentLengthHeader;\n }", "public String getContentLengthHeaderValue() {\n return contentLengthHeaderValue;\n }", "public long getContentLength()\r\n/* 180: */ {\r\n/* 181:269 */ String value = getFirst(\"Content-L...
[ "0.8151533", "0.81109715", "0.80800134", "0.76809335", "0.76050025", "0.7518321", "0.7489423", "0.7316707", "0.7226575", "0.71957743", "0.7127016", "0.7083622", "0.701087", "0.69661385", "0.6906606", "0.68774295", "0.66093725", "0.6583419", "0.6572427", "0.6559308", "0.652385...
0.71932805
10
/ // The Save tab (nr 9) uses a panel with a FileChooser and a Button. // The panel uses a GridBagLayout. private JPanel thePanel9 = new JPanel(); private JFileChooser theFileChooser = new JFileChooser(); private JButton theSaveButton = new JButton("Save"); private BorderLayout theLayout9 = new BorderLayout(); Constructor. Stores the convertor and initializes.
public CaseDataExtractorOptions(CaseDataExtractor vc) { theCaseDataExtractor = vc; try { jbInit(); } catch (Exception ex) { ex.printStackTrace(); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void createPanelEdit() {\n setBackground(new Color(245, 245, 245));\n setBorder(BorderFactory.createEmptyBorder(0, 300, 0, 300));\n\n setLayout(new BorderLayout());\n JPanel editPanel = new JPanel(new GridBagLayout());\n\n GridBagConstraints g = new GridBagConstraints();\n...
[ "0.71228486", "0.7070153", "0.70187956", "0.69830644", "0.68176925", "0.68067914", "0.67730254", "0.6765811", "0.6731895", "0.6730787", "0.66905814", "0.66866213", "0.66054726", "0.6599944", "0.6556659", "0.6539669", "0.6539557", "0.6533618", "0.6524338", "0.6514648", "0.6513...
0.0
-1
Initialization. Not much to do, we have to wait until the user has pressed the Mine button. Only then we have access to the log.
private void jbInit() throws Exception { // thePanel9.setLayout(theLayout9); this.setLayout(new BorderLayout()); this.add(theTabbedPane); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void startup() {\r\n createMineField();\r\n setMinesMesg( mineField.getNumHiddenMines() );\r\n\r\n adjustSize();\r\n adjustScore();\r\n\r\n settingsFrame = new MineSettings( this );\r\n setLocation( 630, 50 );// while in development\r\n setVisible( true );\r...
[ "0.65662694", "0.6168477", "0.60967594", "0.609263", "0.6037568", "0.60270077", "0.5988674", "0.5981961", "0.59569365", "0.59474444", "0.5934621", "0.593316", "0.59131205", "0.5884454", "0.5884316", "0.5874315", "0.5848812", "0.58254296", "0.5812301", "0.58019114", "0.5801498...
0.0
-1
Add a tab labeled s containing a Jlist with the items from ss to theTabbedPane. Select all items. Return the JList.
private JList Add(String[] ss, String s) { // if (ss.length > 0) { JList l = new JList(ss); int indices[] = new int[ss.length]; for (int i = 0; i < ss.length; i++) { indices[i] = i; } l.setSelectedIndices(indices); theTabbedPane.addTab(s, new JScrollPane(l)); return l; // } // return null; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void openList() {\n\t\tString title = resourceManager.getString(\"process.view.list.title\");\n\t\tint indexOfTab = tabbedPane.indexOfTab(title);\n\t\tif (indexOfTab >= 0) {\n\t\t\ttabbedPane.setSelectedIndex(indexOfTab);\n\t\t} else {\n\t\t\tlView = new ListView(this, resourceManager);\n\t\t\ttabbedPane.ad...
[ "0.6159337", "0.5950192", "0.5753246", "0.57245696", "0.5715851", "0.57058376", "0.56957287", "0.56880796", "0.5668644", "0.5574227", "0.55676746", "0.5566792", "0.5546237", "0.5523955", "0.5509749", "0.54878247", "0.5459434", "0.54460144", "0.5408442", "0.53773624", "0.53723...
0.8033288
0