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
optional string residues = 3; usually be numbered sequentially.
public com.google.protobuf.ByteString getResiduesBytes() { java.lang.Object ref = residues_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); residues_ = b;...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "java.lang.String getResidues();", "public Builder setResidues(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000004;\n residues_ = value;\n onChanged();\n return this;\n }", "public java.lang.String ...
[ "0.6329081", "0.6194227", "0.54719037", "0.5433558", "0.518184", "0.5128492", "0.49376035", "0.48442668", "0.4724605", "0.47152042", "0.46729997", "0.46720904", "0.46649334", "0.46318775", "0.45997924", "0.45697337", "0.4542916", "0.45292935", "0.4528893", "0.4520108", "0.451...
0.53454846
4
optional string residues = 3; usually be numbered sequentially.
public Builder setResidues( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; residues_ = value; onChanged(); return this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "java.lang.String getResidues();", "public java.lang.String getResidues() {\n java.lang.Object ref = residues_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref...
[ "0.632804", "0.54703444", "0.54320204", "0.53430146", "0.5179291", "0.512601", "0.49395695", "0.48429784", "0.4722289", "0.47159922", "0.46766278", "0.46699157", "0.46671402", "0.4631843", "0.4602065", "0.45691842", "0.4545522", "0.45275655", "0.4526531", "0.45224777", "0.451...
0.6192523
1
optional string residues = 3; usually be numbered sequentially.
public Builder clearResidues() { bitField0_ = (bitField0_ & ~0x00000004); residues_ = getDefaultInstance().getResidues(); onChanged(); return this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "java.lang.String getResidues();", "public Builder setResidues(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000004;\n residues_ = value;\n onChanged();\n return this;\n }", "public java.lang.String ...
[ "0.6327813", "0.6192469", "0.54701954", "0.54318446", "0.53435236", "0.517985", "0.51273394", "0.49388522", "0.4843686", "0.47237444", "0.47163254", "0.4672512", "0.46710652", "0.46661896", "0.46322954", "0.46011934", "0.4569921", "0.45437083", "0.45296323", "0.45279846", "0....
0.0
-1
optional string residues = 3; usually be numbered sequentially.
public Builder setResiduesBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; residues_ = value; onChanged(); return this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "java.lang.String getResidues();", "public Builder setResidues(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000004;\n residues_ = value;\n onChanged();\n return this;\n }", "public java.lang.String ...
[ "0.6329081", "0.6194227", "0.54719037", "0.5433558", "0.53454846", "0.518184", "0.49376035", "0.48442668", "0.4724605", "0.47152042", "0.46729997", "0.46720904", "0.46649334", "0.46318775", "0.45997924", "0.45697337", "0.4542916", "0.45292935", "0.4528893", "0.4520108", "0.45...
0.5128492
6
optional int32 target_pos = 5; Index in target protein that this decoy protein is from
public boolean hasTargetPos() { return ((bitField0_ & 0x00000008) == 0x00000008); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "int getTargetPos();", "public int getTargetPos() {\n return targetPos_;\n }", "public int getTargetPos() {\n return targetPos_;\n }", "public void setTargetPos(final int target) {\n \n switch(target){\n // Set target position right from current position\n ...
[ "0.7208216", "0.711838", "0.7026227", "0.6587456", "0.6540184", "0.63887453", "0.6240099", "0.60881144", "0.60421956", "0.60260797", "0.59927416", "0.5961661", "0.5951217", "0.5929538", "0.5864982", "0.5806449", "0.57913244", "0.5777108", "0.57526284", "0.5707325", "0.5663112...
0.5230993
71
optional int32 target_pos = 5; Index in target protein that this decoy protein is from
public int getTargetPos() { return targetPos_; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "int getTargetPos();", "public int getTargetPos() {\n return targetPos_;\n }", "public void setTargetPos(final int target) {\n \n switch(target){\n // Set target position right from current position\n case T_RIGHT:\n if(this.columnT < this.buffer.get(li...
[ "0.72070193", "0.71176636", "0.65883696", "0.6540211", "0.6389332", "0.62401557", "0.6088823", "0.6042046", "0.6026822", "0.59922683", "0.59617716", "0.5952347", "0.5927231", "0.5865617", "0.5804873", "0.57911575", "0.5779437", "0.5752125", "0.57074404", "0.56632656", "0.5658...
0.7025487
2
optional int32 target_pos = 5; Index in target protein that this decoy protein is from
public Builder setTargetPos(int value) { bitField0_ |= 0x00000008; targetPos_ = value; onChanged(); return this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "int getTargetPos();", "public int getTargetPos() {\n return targetPos_;\n }", "public int getTargetPos() {\n return targetPos_;\n }", "public void setTargetPos(final int target) {\n \n switch(target){\n // Set target position right from current position\n ...
[ "0.7206571", "0.7117444", "0.7025358", "0.6587333", "0.654027", "0.6389806", "0.6238807", "0.6088033", "0.6042456", "0.6026513", "0.5990601", "0.596186", "0.59256035", "0.58652", "0.58051986", "0.5791811", "0.5778122", "0.5752512", "0.5707377", "0.56628066", "0.56578076", "...
0.5950487
12
optional int32 target_pos = 5; Index in target protein that this decoy protein is from
public Builder clearTargetPos() { bitField0_ = (bitField0_ & ~0x00000008); targetPos_ = 0; onChanged(); return this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "int getTargetPos();", "public int getTargetPos() {\n return targetPos_;\n }", "public int getTargetPos() {\n return targetPos_;\n }", "public void setTargetPos(final int target) {\n \n switch(target){\n // Set target position right from current position\n ...
[ "0.7208216", "0.711838", "0.7026227", "0.6587456", "0.6540184", "0.63887453", "0.6240099", "0.60881144", "0.60421956", "0.60260797", "0.59927416", "0.5961661", "0.5951217", "0.5929538", "0.5864982", "0.5806449", "0.57913244", "0.5777108", "0.57526284", "0.5707325", "0.5663112...
0.0
-1
Creates a ConfigPackage with costs incremented by 1
public ConfigPackage(Set<RelayRouteCost> relayTable, String senderNodeId){ this.relayTable = new TreeSet<>(relayTable); this.senderNodeId = senderNodeId; incrementRelayTable(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "PackageBuilder() {\n\t\tweightMap = new HashMap<>();\n\t\tcostMap = new HashMap<>();\n\t\tcombinations = new ArrayList<>();\n\t}", "private void setupSettlementCost(){\n\t\tsettlementCost.put(ResourceKind.WOOL, 1);\n\t\tsettlementCost.put(ResourceKind.WOOD, 1);\n\t\tsettlementCost.put(ResourceKind.BRICK, 1);\n\t...
[ "0.5587466", "0.5441681", "0.5439995", "0.5340993", "0.5309832", "0.5205512", "0.51179576", "0.5072119", "0.50627923", "0.49767083", "0.49758542", "0.48874995", "0.48658842", "0.48511446", "0.48467708", "0.48290274", "0.4827892", "0.4825164", "0.480296", "0.47982532", "0.4788...
0.44802707
66
Create positive disk material
public void createPositiveDisk(int diskID, float posX, float posY, float speedX, float speedY){ Material posDiskMat = new Material(sapp.getAssetManager(), "Common/MatDefs/Misc/Unshaded.j3md"); posDiskMat.setColor("Color", ColorRGBA.Green); Vector3f tempVector = new Vector3f(sp...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "WithCreate withDiskSizeGB(Integer diskSizeGB);", "void createMaterial(Material material) throws CreateException;", "public static void create(Disks disk){\r\n\t\t\r\n\t\ttry {\r\n\t\t\t\r\n\t\t\tHibernateUtilMastere.getSession().save(disk);\r\n\t\t\tHibernateUtilMastere.getSession().getTransaction().commit();\...
[ "0.61397094", "0.5998623", "0.5983162", "0.57539666", "0.5750802", "0.5513415", "0.54283464", "0.5422495", "0.5408602", "0.5337485", "0.5330776", "0.53133655", "0.5297355", "0.52669907", "0.52639765", "0.52135414", "0.519362", "0.5188232", "0.5182378", "0.51565593", "0.515590...
0.60108584
1
Create negative disks material
public void createNegativeDisk(int diskID, float posX, float posY, float speedX, float speedY){ Material negDiskMat = new Material(sapp.getAssetManager(), "Common/MatDefs/Misc/Unshaded.j3md"); negDiskMat.setColor("Color", ColorRGBA.Red); Vector3f tempVector = new Vector3f(spee...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void createMaterial(Material material) throws CreateException;", "public static ItemStack createItemStack()\r\n \t{\r\n \t\treturn new ItemStack(0);\r\n \t}", "public ItemStack generateItem(){\n\t\tItemStack item = new ItemStack(material);\n\t\tif(damage >= 0) item.setDurability(damage);\n\t\t\n\t\tif(itemName...
[ "0.5429146", "0.5215044", "0.51875705", "0.51807195", "0.50621617", "0.5034565", "0.49938855", "0.49938855", "0.49938855", "0.49896938", "0.4910868", "0.4893043", "0.48611668", "0.485249", "0.4841365", "0.48263356", "0.4809562", "0.4799176", "0.4780119", "0.4744383", "0.47409...
0.6641388
0
Custom Keybinding: Map named actions to inputs.
private void initKeys() { //add left, down, right, up playerKeys.add(new keyList(KeyInput.KEY_J, KeyInput.KEY_K, KeyInput.KEY_L, KeyInput.KEY_I)); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void addStandardBindings() {\n inmap = new InputMap();\n acmap = new ActionMap();\n\n Action copy = ActionTable.getAction(Actions.COPY_ACTION);\n inmap.put((KeyStroke) copy.getValue(Action.ACCELERATOR_KEY), copy.getValue(Action.ACTION_COMMAND_KEY));\n acmap.put(copy.getVa...
[ "0.68691844", "0.6709685", "0.64483935", "0.618849", "0.6125379", "0.60649943", "0.60281223", "0.5966863", "0.59096044", "0.58873606", "0.5813006", "0.58100194", "0.5801122", "0.579321", "0.5774507", "0.57584053", "0.57436734", "0.5721829", "0.5704422", "0.5703563", "0.568648...
0.0
-1
Disposal Method to destroy all resources when game terminates
@Override public void dispose() { super.dispose(); AssetLoader.dispose(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static void dispose() {\n\t\ttexture.dispose();\n\t\tcoin.dispose();\n\t\tflap.dispose();\n\t\tdead.dispose();\n\t\tfont.dispose();\n\t\tshadow.dispose();\n\t}", "@Override\n public void dispose() {\n background.dispose();\n logo.dispose();\n game.dispose();\n batch.dispose(...
[ "0.7963949", "0.7776638", "0.77074283", "0.7620322", "0.7596121", "0.759525", "0.74702835", "0.74165326", "0.7411671", "0.7410868", "0.740023", "0.73898804", "0.73595166", "0.73581666", "0.73453546", "0.73241216", "0.73123425", "0.72921616", "0.72827667", "0.7280445", "0.7280...
0.0
-1
TODO Autogenerated method stub
@Override public boolean onKeyDown(int keyCode, KeyEvent event) { if (keyCode == KeyEvent.KEYCODE_HOME || keyCode == KeyEvent.KEYCODE_SEARCH) { Music.getInstance(mContext).stop(); } return super.onKeyDown(keyCode, event); }
{ "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
Provides a way for the view to show the values of the model. Is called from the single constructor of the class.
private void setupView() { view.setName(advertisement.getTitle()); view.setPrice(advertisement.getPrice()); view.setDescription(advertisement.getDescription()); view.setDate(advertisement.getDatePublished()); view.setTags(advertisement.getTags()); setCondition(); ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public ViewStudent() {\n initComponents();\n DB_Connection();\n DisplayInitialValues();\n }", "@Override\r\n\tpublic void setModel() {\n\t}", "public ViewDataIn() {\n initComponents();\n }", "public FinancialAssessmentEntityValuesView() {\n this(DSL.name(\"financial_a...
[ "0.6388327", "0.63286704", "0.6306812", "0.6244554", "0.62418354", "0.62278646", "0.61733705", "0.61729634", "0.6126477", "0.6086289", "0.6029034", "0.60283065", "0.60283065", "0.5997702", "0.5997702", "0.5993807", "0.5987181", "0.595941", "0.59439045", "0.5941676", "0.593567...
0.0
-1
Creates new chat with the owner of the advertisement.
private void createNewChat() { if (advertisement.getUniqueOwnerID().equals(dataModel.getUserID())) { view.showCanNotSendMessageToYourselfToast(); return; } dataModel.createNewChat(advertisement.getUniqueOwnerID(), advertisement.getOwner(), advertisement.getUniqueID(), ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Conversation newConversation(Uuid id, String title, Uuid owner, Time creationTime);", "@Override\n\tpublic void chatCreated(Chat chat, boolean createdLocally) {\n\t\tif (!createdLocally){\n\t\t\t/*try {\n\t\t\t\tchat.sendMessage(\"我是客户端发送的消息!!\");\n\t\t\t} catch (NotConnectedException e) {\n\t\t\t\t// TODOAuto-g...
[ "0.6699399", "0.64964175", "0.6363686", "0.6176104", "0.59892815", "0.59523624", "0.5824125", "0.5821683", "0.5778704", "0.5769653", "0.5768573", "0.57663506", "0.57283413", "0.57186896", "0.5712417", "0.5708854", "0.56988716", "0.56770164", "0.5666618", "0.5653004", "0.56518...
0.8258849
0
Tells the view to open the editview.
public void onChangedAdBtnPressed() { String uniqueID = advertisement.getUniqueID(); view.showEditView(uniqueID); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void clickEdit() {\r\n\t\tEdit.click();\r\n\t}", "@FXML\n\tpublic void editClicked(ActionEvent e) {\n\t\tMain.getInstance().navigateToDialog(\n\t\t\t\tConstants.EditableCourseDataViewPath, course);\n\t}", "protected void editClicked(View view){\n FragmentManager fm = getSupportFragmentManager();\...
[ "0.7257606", "0.7012689", "0.68159324", "0.6801494", "0.67296076", "0.6718455", "0.6694782", "0.6688191", "0.6678473", "0.66738445", "0.6644337", "0.6629224", "0.6618185", "0.66160226", "0.66018766", "0.6591853", "0.65881145", "0.6576684", "0.6554193", "0.6524426", "0.6506619...
0.0
-1
Checks if the current user already has an active chat associated with the advertisement. If so, the method finds and opens the already existing chat. Otherwise it creates and opens a new chat.
public void contactOwnerBtnClicked() { if (contactOwnerButtonClickedOnceBefore) { String chatID = dataModel.findChatID(advertisement.getUniqueID()); if (chatID != null) { openChat(chatID); } else { createNewChat(); } } else ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void createNewChat() {\n if (advertisement.getUniqueOwnerID().equals(dataModel.getUserID())) {\n view.showCanNotSendMessageToYourselfToast();\n return;\n }\n\n dataModel.createNewChat(advertisement.getUniqueOwnerID(), advertisement.getOwner(), advertisement.getUni...
[ "0.70256215", "0.61822337", "0.60210705", "0.6005191", "0.5892593", "0.5844747", "0.5819451", "0.57845044", "0.5733149", "0.5694194", "0.56805545", "0.56578803", "0.5651399", "0.56103283", "0.5585023", "0.5584359", "0.5551874", "0.54723805", "0.5415248", "0.53993917", "0.5398...
0.4890523
66
Updates the current advertisement to be marked as a favourite if not already marked as such, if so it removes the advertisement from the users favourites. Also updates the favouriteicon in the DetailsView to correctly represent if the advertisement is a favourite or not.
public void onFavouritesIconPressed() { if (currentAdvertIsFavourite()) { dataModel.removeFromFavourites(advertisement); view.setIsNotAFavouriteIcon(); } else { dataModel.addToFavourites(advertisement); view.setIsAFavouriteIcon(); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setUpFavouriteIcon() {\n if (isUserOwner()) {\n view.hideFavouriteIcon();\n } else if (currentAdvertIsFavourite()) {\n view.setIsAFavouriteIcon();\n } else {\n view.setIsNotAFavouriteIcon();\n }\n }", "@Override\n public void ...
[ "0.73203", "0.70733714", "0.70605034", "0.6869812", "0.67203593", "0.6696734", "0.6635987", "0.66157424", "0.6578075", "0.657259", "0.6554182", "0.6497724", "0.64836675", "0.6468765", "0.6436896", "0.6414036", "0.64104605", "0.6410034", "0.6357171", "0.63508373", "0.63321775"...
0.75529426
0
Initializes the favouriteicon according to if the current advertisement is part of the users favourites or not.
public void setUpFavouriteIcon() { if (isUserOwner()) { view.hideFavouriteIcon(); } else if (currentAdvertIsFavourite()) { view.setIsAFavouriteIcon(); } else { view.setIsNotAFavouriteIcon(); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void onFavouritesIconPressed() {\n if (currentAdvertIsFavourite()) {\n dataModel.removeFromFavourites(advertisement);\n view.setIsNotAFavouriteIcon();\n } else {\n dataModel.addToFavourites(advertisement);\n view.setIsAFavouriteIcon();\n }\n ...
[ "0.7267459", "0.7104111", "0.6746408", "0.673133", "0.6561797", "0.6528038", "0.64450735", "0.6290142", "0.6235763", "0.6209432", "0.61167514", "0.60265166", "0.60265166", "0.6019936", "0.6010999", "0.6000573", "0.59876174", "0.5939797", "0.59284246", "0.59034956", "0.5883208...
0.8131646
0
Used to make sure a user cant open multiple views of the same type by tapping a button.
public boolean canProceedWithTapAction() { return ClickDelayHelper.canProceedWithTapAction(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void buttonClick(ClickEvent event) {\r\n\t\tString buttonId = event.getButton().getId();\r\n\t\t\r\n\t\tswitch(buttonId) {\r\n\t\t\r\n\t\t//opens the mainView if the user clicks the gefühlslage button\r\n\t\tcase \"gefuehlslage\":\r\n\t\t\tmenuView.getUI().getNavigator().navigateTo(Views.MAIN...
[ "0.6009797", "0.59018767", "0.5881475", "0.5861835", "0.5852222", "0.57226205", "0.5719741", "0.57192945", "0.56980556", "0.5684141", "0.56703556", "0.5669088", "0.5669088", "0.5669088", "0.5669088", "0.5669088", "0.5669088", "0.5669088", "0.5665722", "0.5608521", "0.5607661"...
0.0
-1
Auto Created by Zeng
public ShapeBox selectById(Integer id){ return shapeBoxDao.selectById(id); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void create() {\n\t\t\n\t}", "@Override\r\n\tpublic void create() {\n\t\t\r\n\t}", "@Override\n\tpublic void create() {\n\t\t\n\t}", "@DISPID(1001) //= 0x3e9. The runtime will prefer the VTID if present\r\n @VTID(8)\r\n int creator();", "@DISPID(1001) //= 0x3e9. The runtime will prefer the VTID if...
[ "0.6920432", "0.65931475", "0.6527934", "0.65259665", "0.65259665", "0.6510404", "0.6483923", "0.642283", "0.63991857", "0.6369586", "0.6333894", "0.62375087", "0.61862254", "0.6148531", "0.61039674", "0.61033475", "0.60890955", "0.6081319", "0.6070017", "0.60607654", "0.6055...
0.0
-1
Auto Created by Zeng
public int insert(ShapeBox shapeBox){ return shapeBoxDao.insertShapeBox(shapeBox); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void create() {\n\t\t\n\t}", "@Override\r\n\tpublic void create() {\n\t\t\r\n\t}", "@DISPID(1001) //= 0x3e9. The runtime will prefer the VTID if present\r\n @VTID(8)\r\n int creator();", "@DISPID(1001) //= 0x3e9. The runtime will prefer the VTID if present\r\n @VTID(8)\r\n int creator();", "@Ove...
[ "0.6919447", "0.6592205", "0.65273136", "0.65273136", "0.6526771", "0.6509322", "0.6482939", "0.64226073", "0.6398116", "0.6369605", "0.63347435", "0.6240456", "0.61868435", "0.6148987", "0.61028475", "0.61028135", "0.6089556", "0.6082778", "0.6072123", "0.6063734", "0.605474...
0.0
-1
Created by Amal Krishnan on 23052017.
public interface OnTouchBeyondarViewListenerMod { void onTouchBeyondarView(MotionEvent var1, ArBeyondarGLSurfaceView var2); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void perish() {\n \n }", "private stendhal() {\n\t}", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "public final void mo51373a() {\n }", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "@Override\r\n\tpubl...
[ "0.60097826", "0.57922465", "0.5725419", "0.567964", "0.5644708", "0.5616999", "0.5616999", "0.56001365", "0.5577452", "0.555679", "0.55538267", "0.5534123", "0.5534123", "0.5534123", "0.5534123", "0.5534123", "0.5534123", "0.5525553", "0.55094194", "0.5507896", "0.55045986",...
0.0
-1
private static final Unsafe unsafe = Unsafe.getUnsafe();
public static void main(String[] args) { ConcurrentHashMap<String, String> chm=new ConcurrentHashMap<String, String>(17,0.75f,5); chm.put("hello", "hello"); chm.put("1", "23"); chm.get("1"); String s="hh"; HashMap hm=new HashMap(); int sshift = 0; int ssize = 1; int concurrencyLevel=16; ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static Unsafe getUnsafe() {\n return THE_UNSAFE;\n }", "private static Unsafe getUnsafe() {\n try {\n Field singleOneInstanceField = Unsafe.class.getDeclaredField(\"theUnsafe\");\n singleOneInstanceField.setAccessible(true);\n return (Unsafe) singleOneInst...
[ "0.83629423", "0.83534235", "0.815895", "0.80678904", "0.73616946", "0.692554", "0.6731847", "0.6082858", "0.5870311", "0.5616615", "0.5604604", "0.5487079", "0.54483455", "0.5427406", "0.527393", "0.52713174", "0.52694935", "0.5239426", "0.5213782", "0.5183362", "0.51049787"...
0.0
-1
Returns the "sessionCookie" string in SharedPreferences for the given context
public static String getCookie(Context pAppContext) { if (pAppContext == null) { return null; } return getSharedPrefsString(pAppContext, R.string.sessionCookie); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "static String getToken(Context context) {\r\n SharedPreferences preferences = context.getSharedPreferences(context.getString(R.string.shared_preferences), MODE_PRIVATE);\r\n return preferences.getString(context.getString(R.string.token), null);\r\n }", "private static SharedPreferences getShared...
[ "0.66377497", "0.63749456", "0.62523687", "0.6195589", "0.60424423", "0.60420924", "0.5935473", "0.59057283", "0.5900811", "0.5848164", "0.58455265", "0.56802076", "0.56473005", "0.5607421", "0.559549", "0.5592728", "0.55611265", "0.55581695", "0.552941", "0.54964846", "0.548...
0.7978646
0
Sets the "sessionCookie" string the SharedPreferences for the given context to a given value
public static boolean setCookie(Context pAppContext, String pNewCookie) { // Fail if either argument is null if (pAppContext == null || pNewCookie == null) { return false; } return setSharedPrefsString(pAppContext, R.string.sessionCookie, pNewCookie); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static void setShared(Context context, String name, String value) {\n SharedPreferences prefs = PreferenceManager\n .getDefaultSharedPreferences(context);\n SharedPreferences.Editor editor = prefs.edit();\n editor.putString(name, value);\n editor.commit();\n }",...
[ "0.66143054", "0.64805824", "0.64343756", "0.6188803", "0.6108566", "0.60626197", "0.59827685", "0.5930201", "0.59094304", "0.5900715", "0.58769464", "0.58760184", "0.5819049", "0.5819049", "0.58189255", "0.5815629", "0.5812871", "0.57881904", "0.5762996", "0.5734808", "0.572...
0.6491435
1
Sets a boolean in the SharedPrefs for the given context
public static boolean setSharedPrefsBoolean(Context pAppContext, int pBooleanNameResourceId, boolean pBooleanValue) { // Convert the resource identity to a string String sharedPrefsStringName = getResourceString(pAppContext, pBooleanNameResourceId); return setSharedPrefsBoolean(pAppContext, sharedPrefsStr...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static void setSetting(Context context, String key, boolean value) {\n SharedPreferences sp = PreferenceManager.getDefaultSharedPreferences(context);\n SharedPreferences.Editor editor = sp.edit();\n editor.putBoolean(key, value);\n editor.commit();\n\n }", "public static voi...
[ "0.795464", "0.77862585", "0.7650687", "0.7484669", "0.73441094", "0.72765124", "0.7183628", "0.718027", "0.71211416", "0.7095026", "0.7021326", "0.6993276", "0.6875474", "0.68187416", "0.6585955", "0.65656066", "0.6463755", "0.6460333", "0.64553726", "0.64386284", "0.6430174...
0.59912205
48
Sets a string in the SharedPrefs for the given context
public static boolean setSharedPrefsBoolean(Context pAppContext, String pBooleanName, boolean pBooleanValue) { if (pAppContext == null || pBooleanName == null) { // It is arguable if we will allow pStringValue to be null here or // if we // force the usage of SharedPrefs.remove() return false; } /...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static void setPrefStringData(Context context, String key, String value) {\n SharedPreferences appInstallInfoSharedPref = context.\n getSharedPreferences(APP_CONFIG_PREF, Context.MODE_PRIVATE);\n SharedPreferences.Editor appInstallInfoEditor = appInstallInfoSharedPref.edit();\n ...
[ "0.7643051", "0.7543771", "0.7414805", "0.7322049", "0.72934365", "0.72327393", "0.71924514", "0.718181", "0.71346825", "0.7003543", "0.69725865", "0.6902486", "0.6902486", "0.680964", "0.6793557", "0.6659102", "0.661727", "0.6612261", "0.65764105", "0.6557974", "0.654436", ...
0.0
-1
Sets a string in the SharedPrefs for the given context
public static boolean setSharedPrefsString(Context pAppContext, int pStringNameResourceId, String pStringValue) { // Convert the resource identity to a string String sharedPrefsStringName = getResourceString(pAppContext, pStringNameResourceId); return setSharedPrefsString(pAppContext, sharedPrefsStringNam...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static void setPrefStringData(Context context, String key, String value) {\n SharedPreferences appInstallInfoSharedPref = context.\n getSharedPreferences(APP_CONFIG_PREF, Context.MODE_PRIVATE);\n SharedPreferences.Editor appInstallInfoEditor = appInstallInfoSharedPref.edit();\n ...
[ "0.7642844", "0.75441843", "0.7416204", "0.73226136", "0.7294058", "0.7231375", "0.71916324", "0.7181179", "0.7135139", "0.7004751", "0.6972463", "0.69044876", "0.69044876", "0.68094987", "0.6793291", "0.6660063", "0.66190267", "0.6614692", "0.6577168", "0.6557441", "0.654419...
0.62328964
43
Sets a string in the SharedPrefs for the given context
public static boolean setSharedPrefsString(Context pAppContext, String pStringName, String pStringValue) { if (pAppContext == null || pStringName == null || pStringValue == null) { // It is arguable if we will allow pStringValue to be null here or // if we // force the usage of SharedPrefs.remove() ret...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static void setPrefStringData(Context context, String key, String value) {\n SharedPreferences appInstallInfoSharedPref = context.\n getSharedPreferences(APP_CONFIG_PREF, Context.MODE_PRIVATE);\n SharedPreferences.Editor appInstallInfoEditor = appInstallInfoSharedPref.edit();\n ...
[ "0.76428187", "0.7544289", "0.74160355", "0.7322859", "0.72951674", "0.7232091", "0.7192184", "0.71814966", "0.7134157", "0.7004901", "0.69712895", "0.690441", "0.690441", "0.6808672", "0.679368", "0.6661741", "0.6619375", "0.6614457", "0.6577379", "0.65572774", "0.65448475",...
0.65088904
22
This method allows passing resource identifiers instead of boolean literals as names of preferences to retrieve
public static boolean getSharedPrefsBoolean(Context pAppContext, int pResourceBooleanNameId) { // Convert the resource identity to a string String sharedPrefsBooleanName = getResourceString(pAppContext, pResourceBooleanNameId); return getSharedPrefsBoolean(pAppContext, sharedPrefsBooleanName); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "io.dstore.values.BooleanValue getPredefinedValues();", "public static boolean GetPreferByBoolean(Context context, String key) {\n\t\tSharedPreferences mPrefer = PreferenceManager.getDefaultSharedPreferences(context);\n\t\treturn mPrefer.getBoolean(key, false);\n\t}", "public interface PreferenceHelper {\r\n ...
[ "0.5828776", "0.58287084", "0.5722213", "0.5699058", "0.5603334", "0.553961", "0.55338895", "0.550918", "0.5503169", "0.5439246", "0.5391722", "0.5354792", "0.5342816", "0.5341258", "0.5312798", "0.52936333", "0.527813", "0.5247384", "0.5243968", "0.5233342", "0.522189", "0...
0.5315311
14
This method allows passing resource identifiers instead of string literals as names of preferences to retrieve
public static String getSharedPrefsString(Context pAppContext, int pResourceStringNameId) { // Convert the resource identity to a string String sharedPrefsStringName = getResourceString(pAppContext, pResourceStringNameId); return getSharedPrefsString(pAppContext, sharedPrefsStringName); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected abstract String getHintGivenSharedPreferencesKey();", "private String prefTag(String id) {\n\t\treturn preferenceTag + \"_\" + id;\n\t}", "Object getPreference(String prefKey, Object defaultValue);", "@JavascriptInterface\n public String getPreference(String name) {\n Log.d(TAG, \"getPref...
[ "0.606936", "0.58681124", "0.57357526", "0.56694585", "0.55774236", "0.5543293", "0.55100864", "0.5490212", "0.54842764", "0.54636055", "0.54156685", "0.54150856", "0.53483295", "0.53286195", "0.5324749", "0.5297082", "0.52717626", "0.5269856", "0.5228262", "0.5216671", "0.52...
0.4652306
93
Returns the value of the resource string identified by the resource ID in the context the given context
public static String getResourceString(Context pAppContext, int pResourceId) { return pAppContext.getString(pResourceId); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static String getString(Context context,int resID){\n\t\treturn context.getResources().getString(resID);\n\t}", "public String getStringResourceById(int resourceId) {\n \treturn mContext.getResources().getString(resourceId);\n }", "public static String getStringInRcse(int resourceId) {\n Re...
[ "0.7355492", "0.69432455", "0.6864549", "0.68542737", "0.6730518", "0.6518599", "0.6465926", "0.64405614", "0.64249885", "0.6335351", "0.6274864", "0.61476207", "0.61468625", "0.6097805", "0.608601", "0.6063267", "0.6039857", "0.6024733", "0.60074633", "0.5946676", "0.5920869...
0.6448858
7
Returns the password has using a special salt
public static String getPasswordHash(String username, String password) { // Setup the password encoding arguments final String salt = "09234j234kj!@#213lk$#$)(*)DFSDFL##$"; final String passwordAndSalt = username + password + salt; // Encode the password with base64 and salt String encodedPassword = null; ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "String generateHashFromPassword(String password, byte[] salt);", "String hashPassword(String salt, String password);", "public String getPasswordSalt() {\r\n return passwordSalt;\r\n }", "public String getSalt()\n {\n return base64Encode(salt);\n }", "public static String getPassHash(String ...
[ "0.77557987", "0.7746473", "0.754562", "0.74813366", "0.7350255", "0.73480695", "0.73269355", "0.73269355", "0.73269355", "0.73269355", "0.73158157", "0.7177938", "0.7174952", "0.7174952", "0.7174952", "0.7174952", "0.7174952", "0.7174952", "0.7174952", "0.7170881", "0.715386...
0.0
-1
Defines methods that need to be implemented by validation listeners.
public interface InputValidationListener { /** * Called when the command that has been entered is illegal. * * @param reason The reason that the command is illegal */ void illegalCommand(final String reason); /** * Called when the command that has been entered is legal. * ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public interface FormValidationListener {\n public void onValid();\n public void onInvalid(String msg);\n}", "@Override\r\n public void addValidListener(ValidListener l) {\n\r\n }", "@Override\n public void customValidation() {\n }", "@Override\n public void customValidation() {\n }",...
[ "0.73677987", "0.72633225", "0.70616156", "0.70616156", "0.70616156", "0.68897194", "0.6715001", "0.6685925", "0.6682062", "0.6661237", "0.65978986", "0.6562766", "0.644559", "0.64082235", "0.6403", "0.63862526", "0.62932384", "0.6280052", "0.6266532", "0.6233911", "0.6229914...
0.67771465
6
Called when the command that has been entered is illegal.
void illegalCommand(final String reason);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public final void invalidInput() {\n\t\tout.println(\"Command not recognized. Please try again.\");\n\t}", "public static void handleInvalidCommandException() {\n System.out.println(\"\\tSorry sir, I do not recognise this command.\");\n Help.execute();\n Duke.jarvis.printDivider();\n }", ...
[ "0.78259087", "0.7397395", "0.7260397", "0.6860477", "0.6808543", "0.67020285", "0.6695715", "0.65811056", "0.6397667", "0.6386715", "0.63177484", "0.63093144", "0.6278109", "0.62395567", "0.62176645", "0.61512226", "0.6146746", "0.6145931", "0.6105964", "0.6080088", "0.60359...
0.77497023
1
Called when the command that has been entered is legal.
void legalCommand();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n public void execute()\r\n {\r\n printInvalidCommandMessage();\r\n }", "private void processCommand()\n {\n String vInput = this.aEntryField.getText();\n this.aEntryField.setText(\"\");\n\n this.aEngine.interpretCommand( vInput );\n }", "private void hand...
[ "0.68796325", "0.67813927", "0.6566642", "0.6562761", "0.6390201", "0.6361727", "0.6343888", "0.6288626", "0.6227571", "0.62251306", "0.61901516", "0.61433315", "0.61120486", "0.61071885", "0.6082623", "0.6067267", "0.606582", "0.6052343", "0.6048262", "0.60339725", "0.601504...
0.75816727
0
Called when the text or command that has been entered will be wrapped onto multiple lines.
void wrappedText(final int count);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void wrapText() {\r\n if (atEnd()) {\r\n setPosition(0);\r\n updateMatcher();\r\n }\r\n }", "private static boolean HandleEnterBreakForPlainText(TextEditor This)\r\n { \r\n boolean wasSelectionChanged = true;\r\n\r\n // Filter Environment.NewLine ba...
[ "0.66179717", "0.66149676", "0.6552133", "0.6132734", "0.60642856", "0.58712274", "0.5826606", "0.5747339", "0.5674595", "0.56674093", "0.55721813", "0.5544076", "0.5509815", "0.5509063", "0.5491005", "0.54901457", "0.5488344", "0.5407929", "0.53902984", "0.53668916", "0.5360...
0.5407777
18
sendet 4x4 Matrix an glsl
public void sendUniformMat4f(Matrix4f mat) { setMatFloatBuffer(mat.getMatrix()); GL4 gl = (GL4) GLContext.getCurrentGL(); gl.glUniformMatrix4fv(uniformID,1,true,matBuffer); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic vec4 get4(String ponits) {\n\t\treturn null;\r\n\t}", "private float a(int paramInt, boolean paramBoolean)\r\n/* 161: */ {\r\n/* 162:172 */ float f1 = paramInt % 16 * 8;\r\n/* 163:173 */ float f2 = paramInt / 16 * 8;\r\n/* 164:174 */ float f3 = paramBoolean ? 1.0F : 0.0F;\r...
[ "0.6155426", "0.6129309", "0.5995644", "0.5876177", "0.58640283", "0.5840484", "0.5813383", "0.5798799", "0.5781035", "0.57597613", "0.5571733", "0.5560866", "0.5555222", "0.55386406", "0.5523425", "0.55049783", "0.5498897", "0.5491453", "0.54835725", "0.5475021", "0.547434",...
0.57251585
10
Matrix nicht transponiert von row major nach column major ( die inverse von column majaor = row major)
public void sendUniformMat4fTransposed(Matrix4f mat) { setMatFloatBuffer(mat.getMatrix()); GL4 gl = (GL4) GLContext.getCurrentGL(); gl.glUniformMatrix4fv(uniformID,1,false,matBuffer); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void invert() {\n \n float[] result = new float[16];\n System.arraycopy(IDENTITY, 0, result, 0, 16);\n \n for(int i = 0; i < 4; i++){\n int i4 = i*4;\n \n // make sure[i,i] is != 0\n \n for(int j = 0; matrix[i4+i] == 0...
[ "0.63443303", "0.6239527", "0.6174155", "0.61727405", "0.6110002", "0.60591346", "0.59317267", "0.5927466", "0.58685595", "0.5836477", "0.5812778", "0.57915795", "0.5766151", "0.575346", "0.5744706", "0.56538934", "0.5636562", "0.5620222", "0.5586087", "0.5579978", "0.5571412...
0.0
-1
Downloads a file from a URL
public void downloadFile(String fileURL, String saveDir) throws IOException { URL url = new URL(fileURL); HttpURLConnection httpConn = (HttpURLConnection) url.openConnection(); int responseCode = httpConn.getResponseCode(); // always check HTTP response code first if...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "String download(String path) throws IOException;", "private String downloadFile(String url) throws Exception {\n StringBuilder builder = new StringBuilder();\n \n URL u = new URL(url);\n URLConnection conn = u.openConnection();\n BufferedReader rd = new Buff...
[ "0.78106034", "0.7785092", "0.75326455", "0.71529764", "0.7118574", "0.7086989", "0.70553774", "0.69817096", "0.6979288", "0.6946859", "0.69177467", "0.6879436", "0.68734425", "0.68372047", "0.6814567", "0.68041337", "0.67914176", "0.6769337", "0.6647246", "0.66017973", "0.65...
0.6383121
32
/ Complete the 'gradingStudents' function below. The function is expected to return an INTEGER_ARRAY. The function accepts INTEGER_ARRAY grades as parameter.
public static List<Integer> gradingStudents(List<Integer> grades) { // Write your code here for (int i = 0; i < grades.size(); i++) { Integer grade = grades.get(i); if (grade > 37 && grade % 5 > 2) { grades.set(i, grade + 5 - grade % 5); } } ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static List<Integer> gradingStudents(List<Integer> grades) {\n List<Integer> updatedGrades = new ArrayList<Integer>();\n \n for (int i = 0; i < grades.size(); i++) {\n int grade = grades.get(i);\n \n if ((grade >= 38) && (grade % 5 >= 3)) {\n ...
[ "0.6755378", "0.6698805", "0.6433183", "0.6430651", "0.6400085", "0.6265582", "0.62049216", "0.6164819", "0.6127946", "0.6093872", "0.60643375", "0.60410565", "0.5951739", "0.5874103", "0.58629453", "0.58342594", "0.58322996", "0.5825167", "0.57864195", "0.57335716", "0.57042...
0.64877415
2
/ Input: 4 73 67 38 33 Output: 75 67 40 33
public static void main(String[] args) throws IOException { BufferedReader bufferedReader = new BufferedReader(new InputStreamReader(System.in)); int gradesCount = Integer.parseInt(bufferedReader.readLine().trim()); List<Integer> grades = IntStream.range(0, gradesCount).mapToObj(i -> { ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private static void eval5(){\n for(int i = 0; i < 46; i++){\n for(int j = i + 1; j < 47; j++){\n for(int k = j + 1; k < 48; k++){\n for(int l = k + 1; l < 49; l++){\n for(int m = l + 1; m < 50; m++){\n Evaluator.evaluate(i, j, k, l, m);\n }\n }\n ...
[ "0.60035276", "0.5991002", "0.59379226", "0.59360653", "0.59175587", "0.5891674", "0.5890819", "0.5885304", "0.58830124", "0.5852057", "0.5851355", "0.5841377", "0.583576", "0.5814751", "0.5811054", "0.5803322", "0.578039", "0.5774307", "0.57620937", "0.5761256", "0.575171", ...
0.0
-1
avl tree test ll rotate
@Test public void test1() { Integer[] data = new Integer[]{// 100, 50, 25, // }; baseRotateTest(data); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void LLRotation(IAVLNode node)\r\n\t{\r\n\t\tIAVLNode parent = node.getParent(); \r\n\t\tIAVLNode leftChild = node.getLeft(); \r\n\t\tIAVLNode rightGrandChild = node.getLeft().getRight(); \r\n\t\t\t\t\t\t\t\t\t\t \r\n\t\tif(node != root) \r\n\t\t{\r\n\t\t\tif(node == parent.getLeft()) \r\n\t\t\t\tparent...
[ "0.69056463", "0.682897", "0.6761755", "0.6618509", "0.6568093", "0.6525723", "0.6512745", "0.6493243", "0.6376243", "0.63216084", "0.6313309", "0.62847257", "0.62092745", "0.6200809", "0.61739385", "0.61626774", "0.6139413", "0.6136598", "0.6114357", "0.61141604", "0.6099497...
0.0
-1
avl tree test rr rotate
@Test public void test2() { Integer[] data = new Integer[]{// 25, 50, 100, // }; baseRotateTest(data); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void RRRotation(IAVLNode node)\r\n\t{\r\n\t\tIAVLNode parent = node.getParent(); \r\n\t\tIAVLNode rightChild = node.getRight() ; \r\n\t\tIAVLNode leftGrandChild = node.getRight().getLeft(); \r\n\t\t\r\n\t\tif(node != root) \r\n\t\t{\r\n\t\t\tif(node == parent.getLeft())\r\n\t\t\t\tparent.setLeft(rightChild...
[ "0.6858467", "0.6819399", "0.6695318", "0.66937506", "0.6626784", "0.66111296", "0.65065384", "0.6441919", "0.6406262", "0.63672125", "0.6351469", "0.62502235", "0.62023383", "0.61996025", "0.6196432", "0.6191595", "0.61851007", "0.6175034", "0.60857344", "0.60826534", "0.606...
0.0
-1
avl tree test lr rotate
@Test public void test3() { Integer[] data = new Integer[]{// 100, 50, 75, // }; baseRotateTest(data); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void doubleRotateLeftDel (WAVLNode z) {\n\t WAVLNode a = z.right.left;\r\n\t WAVLNode y = z.right;\r\n\t WAVLNode c = z.right.left.left;\r\n\t WAVLNode d = z.right.left.right;\r\n\t if(z.parent!=null) {\r\n\t\t if(parentside(z.parent, z).equals(\"left\")) {\r\n\t\t\t z.parent.left=a;\r\n\r\n\...
[ "0.66792125", "0.6662892", "0.66527903", "0.6624228", "0.65759677", "0.65560085", "0.649569", "0.64537954", "0.6352874", "0.6332299", "0.6319652", "0.6316152", "0.6276758", "0.6262932", "0.61980855", "0.6058913", "0.60576993", "0.60414207", "0.6010811", "0.5997243", "0.598823...
0.0
-1
avl tree test rl rotate
@Test public void test4() { Integer[] data = new Integer[]{// 50, 100, 75, // }; baseRotateTest(data); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void doubleRotateLeftDel (WAVLNode z) {\n\t WAVLNode a = z.right.left;\r\n\t WAVLNode y = z.right;\r\n\t WAVLNode c = z.right.left.left;\r\n\t WAVLNode d = z.right.left.right;\r\n\t if(z.parent!=null) {\r\n\t\t if(parentside(z.parent, z).equals(\"left\")) {\r\n\t\t\t z.parent.left=a;\r\n\r\n\...
[ "0.68408227", "0.679537", "0.6735798", "0.67263937", "0.661906", "0.65833336", "0.6499564", "0.64921385", "0.64647055", "0.645796", "0.6438803", "0.6274945", "0.62339723", "0.6233728", "0.6232243", "0.6206748", "0.62034017", "0.6200702", "0.6126279", "0.61110216", "0.60778564...
0.0
-1
ensure working directory exists
@PostConstruct private void init() throws MalformedURLException { workingDirectoryPath = Paths.get(workDirectory).toAbsolutePath(); if (Files.exists(workingDirectoryPath)) { if (!Files.isDirectory(workingDirectoryPath)) { throw new FhFormException(workingDirectoryPath + "...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void setupWorkingDir(Execute exe) {\r\n if (dir == null) {\r\n dir = getProject().getBaseDir();\r\n }\r\n else if (!dir.exists() || !dir.isDirectory()) {\r\n throw new BuildException(dir.getAbsolutePath() + \" is not a valid directory\", getLocation());\r\n ...
[ "0.6487748", "0.63067645", "0.6261291", "0.62500685", "0.61615556", "0.61127734", "0.6075573", "0.60634977", "0.5945581", "0.5914948", "0.5900998", "0.58306056", "0.5820726", "0.5820673", "0.5813047", "0.5806937", "0.5760603", "0.5747085", "0.5724879", "0.57101566", "0.568810...
0.0
-1
prepare package directory if not exists
public Path createDynamicFile(Path otherBasePath, String generatedCode, String newClassPackage, String newClassName, String extension) { Path packagePath; try { packagePath = otherBasePath.resolve(newClassPackage.replace(".", "/")); Files.createDirectories(packagePath); }...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public IStatus prepareRuntimeDirectory(IPath baseDir);", "public IStatus prepareDeployDirectory(IPath deployPath);", "@Override\n protected void createRootDir() {\n }", "protected abstract void generatePackageFiles(ClassTree classtree) throws Exception;", "private void makeDirectory() {\n Stri...
[ "0.67241853", "0.60337037", "0.576266", "0.5719131", "0.5680241", "0.56785697", "0.56481934", "0.56244045", "0.55850625", "0.5565801", "0.5501648", "0.5397756", "0.53599715", "0.5354233", "0.5337559", "0.5303104", "0.52934605", "0.5291396", "0.52892405", "0.52825356", "0.5274...
0.0
-1
public WorkExperience queryWorkExpById(int studentId) throws Exception;
public WorkExperience queryWorkExpById(int workExperienceId) throws Exception;
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Employee getStudentOnId(int id);", "public student getstudent(Integer id);", "public Student findById(int theStudent_id);", "public Student findStudent(int id);", "Student getStudentById(Long id);", "@NotNull\n public StudentExam findOneWithExercises(Long studentExamId) {\n log.debug(\"R...
[ "0.7071605", "0.6979144", "0.6886932", "0.68008476", "0.6620547", "0.6585859", "0.6515268", "0.6448238", "0.642655", "0.6401756", "0.6375531", "0.6360169", "0.6336425", "0.63142306", "0.6307636", "0.63042474", "0.6235976", "0.6205943", "0.61551213", "0.6067166", "0.6066764", ...
0.8488119
0
Inflate the layout for this fragment
@Override public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { View v = inflater.inflate(R.layout.fragment_feed, container, false); recyclerView = (RecyclerView) v.findViewById(R.id.post_recycler_view); recyclerV...
{ "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.6740084", "0.6724855", "0.6721061", "0.669875", "0.6690866", "0.6688299", "0.66871583", "0.6685089", "0.6676965", "0.66749275", "0.6666751", "0.66662604", "0.6664662", "0.6660371", "0.6653889", "0.66494936", "0.6642919", "0.6638222", "0.66376024", "0.6634041", "0.6625364",...
0.0
-1
Converts a file into byte[]
public byte[] convertToFile(String content, String filename){ byte[] contentByteArray = null; try{ //Converting a Base64 String into Content byte array contentByteArray = decodeContent(content); // Write a content byte array into file system FileOutputStream co...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public byte[] file2byte() {\n\t\tbyte[] result = null;\n\t\t\n\t\tif (this.isFile()) {\n\t\t\tBufferedInputStream bufferedInputStream = null;\n\t\t\tByteArrayOutputStream byteArrayOutputStream = null;\n\t\t\t\n\t\t\ttry {\n\t\t\t\tbufferedInputStream = new BufferedInputStream(new FileInputStream(this));\n\t\t\t\tb...
[ "0.8155481", "0.772582", "0.7340409", "0.73001117", "0.7141515", "0.7053219", "0.7031124", "0.7007456", "0.6983011", "0.690156", "0.6898443", "0.6861498", "0.68344665", "0.6828765", "0.68211037", "0.68041277", "0.68018603", "0.6719386", "0.66901106", "0.6625925", "0.66229457"...
0.57028687
61
This is the main decoder of file to byte[]
public byte[] decodeContent(String contentDataString){ return Base64.decodeBase64(contentDataString); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public byte[] file2byte() {\n\t\tbyte[] result = null;\n\t\t\n\t\tif (this.isFile()) {\n\t\t\tBufferedInputStream bufferedInputStream = null;\n\t\t\tByteArrayOutputStream byteArrayOutputStream = null;\n\t\t\t\n\t\t\ttry {\n\t\t\t\tbufferedInputStream = new BufferedInputStream(new FileInputStream(this));\n\t\t\t\tb...
[ "0.6831062", "0.67389065", "0.6531284", "0.65128994", "0.6407733", "0.6368195", "0.6363365", "0.63211817", "0.6297166", "0.6287908", "0.6287908", "0.62216944", "0.6205931", "0.61798346", "0.6150387", "0.6150387", "0.6089204", "0.6047614", "0.59898186", "0.59566134", "0.592533...
0.0
-1
super.doGet(req, resp); req.getRequestDispatcher(resp.encodeURL("/jsp/user/reserve.jsp")).forward(req, resp);
@Override protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException { this.doPost(req,resp); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n request.getRequestDispatcher(\"/WEB-INF/Register.jsp\").forward(request, response);\n //processRequest(request, response);\n\n }", "@Override\n p...
[ "0.773367", "0.7523677", "0.74938506", "0.74924356", "0.74824494", "0.7456347", "0.7371951", "0.7367503", "0.7321828", "0.7283826", "0.7222168", "0.718999", "0.7098831", "0.7084845", "0.708411", "0.7044036", "0.7021685", "0.7020329", "0.7000139", "0.69909203", "0.6976677", ...
0.677204
48
super.doPost(req, resp); PrintWriter out=resp.getWriter(); out.println("ReserveServlet>dopost:println");
@Override protected void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException { HttpSession hpSession = req.getSession(); User u = (User) hpSession.getAttribute("user"); String start=req.getParameter("Start"); String end=req.getParameter("End"); if(start==null||end==n...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n protected void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\n\tsuper.doPost(req, resp);\n\t\n\tSystem.out.println(\"dddd\");\n}", "@Override\r\n\tprotected void doPost(HttpServletRequest req, HttpServletResponse res) throws ServletException, IO...
[ "0.7970743", "0.7586927", "0.7577237", "0.7455075", "0.7455075", "0.73841655", "0.7382704", "0.7382704", "0.7382704", "0.73352426", "0.73352426", "0.73352426", "0.7323525", "0.7321477", "0.730626", "0.730626", "0.72965455", "0.7276625", "0.7271159", "0.72566265", "0.7256325",...
0.0
-1
for printing long log
private static void log(String message){ int maxLogSize = 2000; for(int i = 0; i <= message.length() / maxLogSize; i++) { int start = i * maxLogSize; int end = (i+1) * maxLogSize; end = end > message.length() ? message.length() : end; Log.i(TAG, message.su...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private static void longInfo(@Nullable String str)\r\n\t{\r\n\t\tif (str == null) str = \"[null]\";\r\n\r\n\t\tif (str.length() > 4000)\r\n\t\t{\r\n\t\t\tLog.println(LOG_LEVEL, LOG_TAG, str.substring(0, 4000));\r\n\t\t\tlongInfo(str.substring(4000));\r\n\t\t}\r\n\t\telse\r\n\t\t{\r\n\t\t\tLog.println(LOG_LEVEL, LO...
[ "0.662016", "0.6337329", "0.63186085", "0.6223717", "0.609914", "0.60885996", "0.6087757", "0.6044308", "0.6014167", "0.5980862", "0.59463394", "0.5839249", "0.58099085", "0.57715803", "0.57659847", "0.5763297", "0.574776", "0.57445383", "0.5728576", "0.5717788", "0.57014936"...
0.6115148
4
/ returns established connection to database
public Connection connect() { try { connection = DriverManager.getConnection(URL, USERNAME, PASSWORD); } catch (SQLException e) { // TODO Auto-generated catch block e.printStackTrace(); } System.out.println("Creating connection"); return connection; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private Connection dbConnection() {\n\t\t\n\t\t///\n\t\t/// declare local variables\n\t\t///\n\t\t\n\t\tConnection result = null;\t// holds the resulting connection\n\t\t\n\t\t// try to make the connection\n\t\ttry {\n\t\t\tClass.forName(\"org.sqlite.JDBC\");\n\t\t\tresult = DriverManager.getConnection(CONNECTION_...
[ "0.804067", "0.75212234", "0.746436", "0.7463956", "0.74350846", "0.7349203", "0.73463386", "0.73463386", "0.73463386", "0.734602", "0.72980785", "0.7292795", "0.7290465", "0.7288719", "0.725294", "0.7244721", "0.72387713", "0.7232932", "0.7221132", "0.718198", "0.7181247", ...
0.70424706
58
/ Breaks open connection
public void disconnect() { try { connection.close(); } catch (SQLException e) { e.printStackTrace(); } System.out.println("Disconnected"); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void connectionLost(){\n\t\ttry {\n\t\t\tconnect(\"andrewTest\", false, (short) 100);\n\t\n\t\t} catch (Exception e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t\ttry {\n\t\t\t\tThread.sleep(1000);\n\t\t\t} catch (InterruptedException e1) {\t\t\t\n\t\t\t}\n\t\t\tconnectionLo...
[ "0.64771456", "0.6347979", "0.63371396", "0.6336249", "0.62903327", "0.62744313", "0.625761", "0.6228579", "0.6215018", "0.6211903", "0.6151693", "0.6132802", "0.61277276", "0.61249095", "0.61089647", "0.60887134", "0.6055149", "0.6034666", "0.60195047", "0.6014681", "0.60074...
0.0
-1
TODO Autogenerated method stub
public int getVertexSize() { return graph.vertexSet().size(); }
{ "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
public int getEdgeSixe() { return graph.edgeSet().size(); }
{ "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 implementar join session, search session
public void setCurrentSession(Session session){ if(currentSession == null){ currentSession = new MutableLiveData<>(); } Log.i("VIewModelSessions", "setting current session"); currentSession.setValue(session); Log.i("ViewModelSessions", "current session: "+session.toSt...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "List<Joined> findBySession(Long Session);", "Session getSession();", "Session getSession();", "public boolean canSearch(Session session);", "List<Joined> findByUserIdAndSession(String userId, Long session);", "public Session getSession();", "Session getCurrentSession();", "Session getCurrentSession()...
[ "0.6578155", "0.63650954", "0.63650954", "0.6328576", "0.61636037", "0.6152405", "0.61501455", "0.61501455", "0.60300744", "0.5993524", "0.5954213", "0.5947092", "0.59111863", "0.58928245", "0.58450675", "0.5827144", "0.5825651", "0.5821838", "0.5818531", "0.57933784", "0.566...
0.0
-1
Constructor que recibe el jugador1, el jugador2 y la baraja
Partida(Jugador jugador1, Jugador jugador2, Baraja baraja) { this.jugador1 = jugador1; this.jugador2 = jugador2; this.baraja = baraja; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Juego(String nombreJ1, String nombreJ2){\r\n\t\tMINATR = 3;\r\n\t\tMAXATR = 6;\r\n\t\tjugador1 = new Jugador(nombreJ1);\r\n\t\tjugador2 = new Jugador(nombreJ2);\r\n\t\tjugadorEnTurno = jugador1;\r\n\t}", "public JogoVelha(Jogador jogador1, Jogador jogador2) {\r\n // recebe os jogadores\r\n t...
[ "0.76471144", "0.7186292", "0.6670487", "0.642396", "0.6382762", "0.636958", "0.6339476", "0.62204254", "0.5981113", "0.5977977", "0.5962522", "0.59591734", "0.59472245", "0.59300536", "0.59228164", "0.58865875", "0.585599", "0.58550704", "0.5852841", "0.5850001", "0.58449906...
0.7357558
1
Lee el jugador1 de la partida
public Jugador getJugador1() { return jugador1; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setJugador1(Jugador jugador1) {\n\t\tthis.jugador1 = jugador1;\n\t}", "public Jugador obtenerJugador();", "Partida(Jugador jugador1, Jugador jugador2, Baraja baraja) {\n\t\tthis.jugador1 = jugador1;\n\t\tthis.jugador2 = jugador2;\n\t\tthis.baraja = baraja;\n\t}", "private static void eligeJugador...
[ "0.7061503", "0.67391115", "0.6704006", "0.66561383", "0.6553491", "0.64758164", "0.6453385", "0.6318098", "0.6318093", "0.62822545", "0.62820184", "0.62683946", "0.6228716", "0.61931205", "0.61586577", "0.61514616", "0.61501515", "0.61231595", "0.6122823", "0.61086756", "0.6...
0.67192984
2
Escribe el jugador1 de la partida
public void setJugador1(Jugador jugador1) { this.jugador1 = jugador1; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setJoueur1(String joueur1) {\r\n\t\tthis.joueur1 = joueur1;\r\n\t}", "Partida(Jugador jugador1, Jugador jugador2, Baraja baraja) {\n\t\tthis.jugador1 = jugador1;\n\t\tthis.jugador2 = jugador2;\n\t\tthis.baraja = baraja;\n\t}", "public Jugador getJugador1() {\n\t\treturn jugador1;\n\t}", "public J...
[ "0.6408069", "0.63899297", "0.61917454", "0.6158044", "0.6130575", "0.5929364", "0.5927171", "0.59236765", "0.58392733", "0.58290905", "0.57395935", "0.5710916", "0.5668816", "0.5648642", "0.55824107", "0.5582018", "0.5578569", "0.55404365", "0.5534625", "0.55334216", "0.5527...
0.6776013
0
Lee el jugador2 de la partida
public Jugador getJugador2() { return jugador2; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setJugador2(Jugador jugador2) {\n\t\tthis.jugador2 = jugador2;\n\t}", "Partida(Jugador jugador1, Jugador jugador2, Baraja baraja) {\n\t\tthis.jugador1 = jugador1;\n\t\tthis.jugador2 = jugador2;\n\t\tthis.baraja = baraja;\n\t}", "public Jugador obtenerJugador();", "private static void eligeJuego()...
[ "0.66417694", "0.6596943", "0.65483767", "0.65287787", "0.6346459", "0.6332266", "0.6283035", "0.6229103", "0.62170774", "0.62038517", "0.6189799", "0.61854213", "0.61513907", "0.6011278", "0.59651774", "0.59467953", "0.59163016", "0.5905568", "0.5903387", "0.5900627", "0.588...
0.6271446
7
Escribe el jugador2 de la partida
public void setJugador2(Jugador jugador2) { this.jugador2 = jugador2; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public int enfrentarJugadores(int J1, int J2) {\n if ((J1 == 0 && J2 == 2) || (J1 == 1 && J2 == 0) || (J1 == 2 && J2 == 1)) {\n return 1;\n } else if ((J2 == 0 && J1 == 2) || (J2 == 1 && J1 == 0) || (J2 == 2 && J1 == 1)) {\n return 2;\n } else {\n return 0;\n ...
[ "0.6209033", "0.616267", "0.6036375", "0.5886414", "0.58692706", "0.57492954", "0.563751", "0.55853295", "0.55841494", "0.553163", "0.55092716", "0.5482392", "0.54678977", "0.54607755", "0.53857577", "0.5379545", "0.53764445", "0.5375492", "0.53483033", "0.5337708", "0.533709...
0.65278924
0
Lee la baraja de la partida
public Baraja getBaraja() { return baraja; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void iniciarBatalha() {\r\n\t\trede.iniciarPartidaRede();\r\n\t}", "private void cargarFichaLepra_control() {\r\n\r\n\t\tMap<String, Object> parameters = new HashMap<String, Object>();\r\n\t\tparameters.put(\"codigo_empresa\", codigo_empresa);\r\n\t\tparameters.put(\"codigo_sucursal\", codigo_sucursal);\r...
[ "0.6401771", "0.63704383", "0.63317996", "0.63076377", "0.62935734", "0.6245728", "0.62285805", "0.6212311", "0.61368537", "0.61328", "0.6010979", "0.60102385", "0.59516716", "0.5913449", "0.5909638", "0.58975244", "0.5887565", "0.5878692", "0.5870196", "0.5866694", "0.583980...
0.0
-1
Escribe la baraja de la partida
public void setBaraja(Baraja baraja) { this.baraja = baraja; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void transcribir() \r\n\t{\r\n\t\tpalabras = new ArrayList<List<CruciCasillas>>();\r\n\t\tmanejadorArchivos = new CruciSerializacion();\r\n\t\tint contador = 0;\r\n\t\t\r\n\t\tmanejadorArchivos.leer(\"src/Archivos/crucigrama.txt\");\r\n\t\t\r\n\t\tfor(int x = 0;x<manejadorArchivos.getPalabras().size();x++){...
[ "0.61669195", "0.591328", "0.5766881", "0.5752663", "0.57018", "0.56666297", "0.56431043", "0.5610741", "0.5608938", "0.55868715", "0.5559272", "0.550493", "0.54883516", "0.5478783", "0.5478292", "0.5472217", "0.54099995", "0.5408864", "0.53842765", "0.53815633", "0.5377952",...
0.0
-1
This method is called from within the constructor to initialize the form. WARNING: Do NOT modify this code. The content of this method is always regenerated by the Form Editor.
@SuppressWarnings("unchecked") // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents private void initComponents() { winTransporte = new javax.swing.JDialog(); jPanel2 = new javax.swing.JPanel(); jLabel2 = new javax.swing.JLabel(); jLabel3 = n...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Form() {\n initComponents();\n }", "public MainForm() {\n initComponents();\n }", "public MainForm() {\n initComponents();\n }", "public MainForm() {\n initComponents();\n }", "public frmRectangulo() {\n initComponents();\n }", "public form() {\n ...
[ "0.73192346", "0.7290526", "0.7290526", "0.7290526", "0.7285891", "0.72480357", "0.7213616", "0.7207808", "0.71955067", "0.71891475", "0.71844363", "0.7159038", "0.71474695", "0.7092269", "0.7079923", "0.70560205", "0.69864315", "0.697697", "0.69552195", "0.6953691", "0.69458...
0.0
-1
End of variables declaration//GENEND:variables
private void limpiarCampos(){ txtId.setText(""); txtCosto.setText(""); txtDestino.setText(""); txtKilom.setText(""); txtMatricula.setText(""); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void lavar() {\n\t\t// TODO Auto-generated method stub\n\t\t\n\t}", "public void mo38117a() {\n }", "@Override\r\n\tpublic void initVariables() {\n\t\t\r\n\t}", "private void assignment() {\n\n\t\t\t}", "private void kk12() {\n\n\t}", "public void gored() {\n\t\t\n\t}", "public void mo217...
[ "0.63615173", "0.6281746", "0.61903405", "0.60961616", "0.6093657", "0.60717505", "0.60532993", "0.6052408", "0.6004846", "0.5988544", "0.5972297", "0.596838", "0.59683335", "0.5966663", "0.5962469", "0.59415865", "0.5909242", "0.58975977", "0.5891806", "0.58837473", "0.58798...
0.0
-1
Creates new form AdminAgentMeny
public AdminAgentMeny() { initComponents(); jPanelRegAgent.setVisible(false); jPanelDelAgent.setVisible(false); jPanelAlterAgent.setVisible(false); jPanelMerInställningar.setVisible(false); try { idb = new InfDB("mibdb", "3306", "mibdba", "mibkey"); ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@GetMapping(\"/showNewDeliveryManForm\")\n\tpublic String showNewDeliveryManForm(Model model){\n\t\tDeliveryMan dm = new DeliveryMan();\n\t\tmodel.addAttribute(\"deliveryMan\",dm);\n\t\tmodel.addAttribute(\"cities\", City.values());\n\t\treturn \"new_deliveryMan\";\n\t}", "public Result addNewRoomType() {\n\n ...
[ "0.6261268", "0.596593", "0.59535944", "0.59431326", "0.58509743", "0.58393097", "0.57853997", "0.57748765", "0.5753762", "0.57392013", "0.5715472", "0.568056", "0.5671957", "0.5654125", "0.56419057", "0.5636452", "0.5616119", "0.56088305", "0.5602279", "0.56020975", "0.55945...
0.63254297
0
This method is called from within the constructor to initialize the form. WARNING: Do NOT modify this code. The content of this method is always regenerated by the Form Editor.
@SuppressWarnings("unchecked") // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents private void initComponents() { jButton4 = new javax.swing.JButton(); jTextField3 = new javax.swing.JTextField(); jPanel1 = new javax.swing.JPanel(); jButtonR...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Form() {\n initComponents();\n }", "public MainForm() {\n initComponents();\n }", "public MainForm() {\n initComponents();\n }", "public MainForm() {\n initComponents();\n }", "public frmRectangulo() {\n initComponents();\n }", "public form() {\n ...
[ "0.73195875", "0.7291065", "0.7291065", "0.7291065", "0.7286258", "0.7248489", "0.7213822", "0.7208757", "0.7195916", "0.7190243", "0.7184025", "0.71591616", "0.7148041", "0.70930153", "0.7080625", "0.7056986", "0.6987694", "0.69770867", "0.6955136", "0.69538426", "0.69452894...
0.0
-1
number of words ignored for stats
public void runDisplay() { scFrame = new SpellCheckFrame(); scFrame.setVisible(true); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public int getNumberOfWords() {\n return 0;\n }", "int totalWords();", "public int numWords(int length) {\r\n return 0;\r\n }", "public int getWordCount() {\n\t\treturn 10;\n\t}", "public int getNumWords() {\n // TODO: count the number of distinct words,\n // ie. th...
[ "0.75482935", "0.7117944", "0.7027906", "0.7011641", "0.6872629", "0.6864433", "0.68425137", "0.6812373", "0.67879784", "0.6783278", "0.67506135", "0.6742474", "0.67329484", "0.6696922", "0.6612024", "0.6595738", "0.6559454", "0.6557404", "0.6518111", "0.6514071", "0.64978456...
0.0
-1
used to assign dialog box option at fileClose Constructor Sets up the menu bar
public SpellCheckMenuBar() { // menu bar set up file = new JMenu("File"); help = new JMenu("Help"); newFile = new JMenuItem("New File(s)"); fileClose = new JMenuItem("Close"); howToUse = new JMenuItem("How to use Spell Checker"); stats = new JMenu("Statistics"); printStats = new JMenuItem("Print Statis...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void setUpMenuBar_FileMenu(){\r\n\t\t// Add the file menu.\r\n\t\tthis.fileMenu = new JMenu(STR_FILE);\r\n\t\tthis.openMenuItem = new JMenuItem(STR_OPEN);\r\n\t\tthis.openMenuItem2 = new JMenuItem(STR_OPEN2);\r\n\t\tthis.resetMenuItem = new JMenuItem(STR_RESET);\r\n\t\tthis.saveMenuItem = new JMenuItem(STR...
[ "0.6838301", "0.6741157", "0.6693578", "0.6685039", "0.6608965", "0.6605026", "0.6569696", "0.6564583", "0.6552627", "0.6545493", "0.65409327", "0.65379304", "0.6516455", "0.65051323", "0.6491253", "0.6435709", "0.64252484", "0.64134943", "0.6406183", "0.6369983", "0.636785",...
0.60281724
78
System exits only if user responds with yes
public void actionPerformed(ActionEvent event) { end = JOptionPane.showConfirmDialog(null, "Are you sure you want to exit?"); if (end == JOptionPane.YES_OPTION) { System.exit(0); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void requestExit()\r\n {\r\n // WE MAY HAVE TO SAVE CURRENT WORK\r\n boolean continueToExit = true;\r\n if (!saved)\r\n {\r\n // THE USER CAN OPT OUT HERE\r\n continueToExit = promptToSave();\r\n }\r\n \r\n // IF THE USER REALLY WANTS...
[ "0.7266851", "0.7033299", "0.6991645", "0.6919099", "0.6876675", "0.68655264", "0.6857927", "0.68551505", "0.6807818", "0.6795412", "0.6793201", "0.67418", "0.6740643", "0.6715667", "0.6713271", "0.669068", "0.6685126", "0.6685126", "0.6685126", "0.6685126", "0.6685126", "0...
0.0
-1
Creates the frame for the help instructions
public void actionPerformed(ActionEvent event) { helpFrame = new JFrame(); helpText = new JTextField(); scroller = new JScrollPane(helpText, JScrollPane.VERTICAL_SCROLLBAR_ALWAYS, JScrollPane.HORIZONTAL_SCROLLBAR_NEVER); helpFrame.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE); ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Help createHelp();", "public helpFrame() {\n this.setTitle(\"Help\");\n JPanel panel = new JPanel();\n panel.setLayout(new BoxLayout(panel, BoxLayout.Y_AXIS));\n\n JLabel helpLabel = new JLabel(\"This is helpful\");\n JTextArea helpArea = new JTextArea(\"Exe...
[ "0.75637186", "0.7195452", "0.71215296", "0.69351894", "0.68834937", "0.67744017", "0.6743922", "0.6741858", "0.6729089", "0.6724891", "0.6715814", "0.6696188", "0.6653836", "0.6618745", "0.65805984", "0.6556265", "0.65503794", "0.65397346", "0.6526013", "0.65165037", "0.6502...
0.650859
20
opens file and appends the words chosen to be added to the dictionary disables both add and ignore buttons after first click
public void actionPerformed(ActionEvent event) { Set<String> currentDictionaryTree = treeHandler.convertFileToTree(selectedWord.dictionaryFile); try { if(treeHandler.wordIsUnique(selectedWord.word, currentDictionaryTree)) { selectedWord.added = true; out = new Buffer...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void saveButtonMouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_saveButtonMouseClicked\n \n FileDialog dialog = new FileDialog(this, \"Ssuvegarder le fichier dictionnaire\", FileDialog.SAVE);\n dialog.setFile(loadedDictionaryFilename);\n dialog.setVisible(true);\n ...
[ "0.7125378", "0.6809816", "0.6596934", "0.6571581", "0.6565408", "0.64847124", "0.646556", "0.632406", "0.6302253", "0.6273092", "0.6231701", "0.62069315", "0.61759055", "0.61219406", "0.6012753", "0.60023636", "0.5992419", "0.5976721", "0.5953028", "0.5923878", "0.59131634",...
0.68405646
1
appends current word to text area.
void extend(SpellCheckWord scWord) { if(!scWord.word.equals("\n\n")) super.append(scWord.word + " "); else super.append(scWord.word); contentPairs.add(scWord); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void append(String text)\n{\n\ttextArea().append(text);\n}", "private void appendText(String text) {\n textArea.appendText(text);\n }", "@FXML\n\tpublic void addWord() {\n\n\t\twordList.add(new Word(TextFieldWord.getText(), TextFieldDescribe.getText(), liczbaznakow));\n\n\t\ttry {\n\n\t\t\tout...
[ "0.6938807", "0.68860644", "0.6660949", "0.6580735", "0.6565503", "0.6397553", "0.63102615", "0.6272854", "0.62564343", "0.61790955", "0.6161846", "0.6131643", "0.611657", "0.611657", "0.61050403", "0.60814095", "0.6068238", "0.6065651", "0.6064534", "0.6060476", "0.60535234"...
0.5741203
43
/ Unhighlights words that have be added, ignored, or replaced by user
void unhighlight(SpellCheckWord word) { Highlighter highlighter = getHighlighter(); Highlighter.Highlight[] highlights = highlighter.getHighlights(); for (int i = 0; i < highlights.length; i++) { if(highlights[i].getStartOffset() == word.startLocation) { highlighter.remov...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void removeAllHighlights() {}", "public void removeHighlight() {\n if (highlightWord == null) {\r\n return;\r\n }\r\n \r\n for (int i = 0; i < highlightWord.length(); i++) {\r\n if (hightlightDir == Ranker.RIGHT) {\r\n cells[highlightX][high...
[ "0.7570647", "0.7247604", "0.6895501", "0.67993736", "0.6615981", "0.659097", "0.6499931", "0.63813543", "0.62091523", "0.6150599", "0.61286175", "0.59662604", "0.5925606", "0.58978444", "0.5808415", "0.5787608", "0.57728124", "0.5738306", "0.5696929", "0.5696841", "0.5684459...
0.7579834
0
/ Used to add the name of current input file an dictionary file so that the user can know with which pair they are working
public void extend(String inputFileName) { super.append(inputFileName); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static void doDictionaryEditMode(String[] args) throws FileNotFoundException {\r\n\t\tif (args.length == 0) {\r\n\t\t\tdoUsage();\r\n\t\t\tSystem.exit(-1);\r\n\t\t}\r\n\t\tString testDictionary = args[1];\r\n\t\tFile f = new File(testDictionary);\r\n\t\tString name = f.getName();\r\n\t\tString newname = nam...
[ "0.62767166", "0.62697154", "0.60393375", "0.59757966", "0.59581333", "0.5936777", "0.59166324", "0.5908152", "0.58474755", "0.584557", "0.57873946", "0.5745853", "0.57113826", "0.56717604", "0.56598157", "0.56339335", "0.56135935", "0.5609439", "0.5604008", "0.5587065", "0.5...
0.0
-1
used to reset the panel after at least one file has been processed. Constructor
public SpellCheckFrame() { // frame parameters setTitle("MO42 Spell Checker"); setSize(500,500); // default size is 0,0 setLocationRelativeTo(null); // default is 0,0 (top left corner) // window listeners addWindowListener ( new WindowAdapter() { public void windowClosing(WindowEvent eve...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public FilePanel() {\n\t\tsuper();\n\t\tinitialize();\n\t}", "public FilePane() {\n this(null);\n }", "public HitSortFilePanel() {\n initComponents();\n String[] hitSortFileNames = null;\n\n hitSortFileNames = getHitSortFileNames();\n\n cmbSelectHitSortFile.setModel(ne...
[ "0.71497464", "0.63900656", "0.6378176", "0.6300657", "0.6255983", "0.61888105", "0.6155474", "0.613377", "0.6124913", "0.6111694", "0.60935867", "0.5990956", "0.59644544", "0.59448874", "0.5893718", "0.5889985", "0.5879314", "0.58625555", "0.58478636", "0.5839352", "0.583783...
0.0
-1
only exits if the user clicks yes, nothing otherwise
public void windowClosing(WindowEvent event) { end = JOptionPane.showConfirmDialog(null, "Are you sure you want to exit?"); if (end == JOptionPane.YES_OPTION) { dispose(); System.exit(0); } else setDefaultCloseOperation(DO_NOTHING_ON_CLOSE); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean saidYes(boolean onQuit) {\r\n\r\n System.out.print(\" (Y/N) \");\r\n \r\n\t\tchar responce = Keyboard.readChar();\r\n responce = Character.toLowerCase(responce);\r\n\r\n\t\tswitch (responce) {\r\n case 'y':\r\n return true;\r\n\r\n case 'q':\...
[ "0.750244", "0.7382191", "0.72109437", "0.7064262", "0.70413613", "0.69963825", "0.6990937", "0.6989778", "0.6977709", "0.69620425", "0.6932694", "0.69140285", "0.68787897", "0.6848838", "0.68402183", "0.6834854", "0.68285304", "0.68268865", "0.6813543", "0.6802476", "0.67952...
0.0
-1
process that allows user to select input file(s) and dictionary file(s) and displays misspelled words
public void actionPerformed(ActionEvent event) { // if an input file is already loaded, clear panel before adding new words if(!empty.status) { // new session only if user responds with yes end = JOptionPane.showConfirmDialog(null, "Are you sure you want to start a new spell check session...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static void doInteractiveMode(String[] args) throws FileNotFoundException {\r\n\t\tString dictionaryFile = args[0];\r\n\t\tString filename = args[1];\r\n\t\t// create file for original file\r\n\t\tFile newFile = new File(dictionaryFile);\r\n\t\tString name = newFile.getName();\r\n\t\tString newname = name +...
[ "0.6970442", "0.6823508", "0.6657768", "0.6576274", "0.6574008", "0.65502423", "0.6293594", "0.62233573", "0.62226135", "0.62180626", "0.620628", "0.6184589", "0.6171448", "0.6149207", "0.6148744", "0.6100145", "0.6066634", "0.6047723", "0.6045214", "0.6037123", "0.60309935",...
0.6210062
10
Get the value of the PatternUI annotation's message attribute for the pattern which name is patternName.
public static String getMessage(IPatternMatch match, boolean generatedMatcher) { if (generatedMatcher) { return getMessageForGeneratedMatcher(match); } else { return getMessageForGenericMatcher(match); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Pattern getMessageAttribute() {\r\n return pattern_messageContinuationLine;\r\n }", "@objid (\"cf87d3fa-73a0-4533-b21a-4a235c0108e3\")\n public String getPatternParameterLabel() {\n return this.elt.getTagValue(PatternParameter.MdaTypes.PATTERNPARAMETER_LABEL_TAGTYPE_ELT);\n }", "@...
[ "0.6978135", "0.6593396", "0.6515798", "0.5984946", "0.5955889", "0.5941587", "0.5913721", "0.5892693", "0.5892693", "0.58884513", "0.5846398", "0.5843118", "0.58144456", "0.58115655", "0.5764827", "0.57571256", "0.5745934", "0.5744344", "0.56877035", "0.5658785", "0.5596823"...
0.5663546
19
Get the DatabindingAdapter generated for the pattern whose name is patternName
public static DatabindingAdapter<IPatternMatch> getDatabindingAdapter(String patternName, boolean generatedMatcher) { if (generatedMatcher) { return getDatabindingAdapterForGeneratedMatcher(patternName); } else { return getDatabindingAdapterForGenericMatcher(patternName); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public CommonAdapter findAdapterByName(final String name) {\n if (LOGGER.isDebugEnabled()) {\n LOGGER.debug(\"Find adapter : \" + name);\n }\n return ADAPTERS.get(name);\n }", "public String getAdapter() {\n return adapter;\n }", "DataBinding createDataBinding();", ...
[ "0.56027704", "0.5448583", "0.5341051", "0.5341051", "0.5135894", "0.50808555", "0.50724936", "0.50639665", "0.50342315", "0.49946705", "0.4986267", "0.49813354", "0.49628517", "0.49523497", "0.48480076", "0.48199782", "0.48096022", "0.48010963", "0.47940516", "0.4766892", "0...
0.8015993
0
Create a PatternMatcher root for the given key element.
@SuppressWarnings({ "unchecked" }) public static ObservablePatternMatcherRoot createPatternMatcherRoot(MatcherTreeViewerRootKey key) { ObservablePatternMatcherRoot root = new ObservablePatternMatcherRoot(key); //generated matchers IExtensionRegistry reg = Platform.getExtensionRegistry(); IExtensio...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected TemplateElement(final String key) {\n this.key = key;\n if (this.key.charAt(0) != SEPARATOR) {\n this.key = SEPARATOR + this.key;\n }\n if (this.key.charAt(key.length() - 1) != SEPARATOR) {\n this.key += SEPARATOR;\n }\n }", "public static Pat...
[ "0.5095629", "0.50605595", "0.49499527", "0.4923589", "0.4866785", "0.48343328", "0.48158774", "0.47713608", "0.46071532", "0.45635515", "0.45504752", "0.45461243", "0.45427024", "0.45352966", "0.4532345", "0.4528212", "0.45281819", "0.45240185", "0.4508791", "0.44884664", "0...
0.7359063
0
/ renamed from: androidx.appcompat.widget.m0$a / compiled from: ShareActionProvider
public interface C0531a { /* renamed from: a */ boolean mo2805a(C0530m0 m0Var, Intent intent); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void m122580a() {\n ((ShareActionBar) this.receiver).mo95951a();\n }", "public View mo1753d() {\n ActivityChooserView activityChooserView = new ActivityChooserView(this.f2117g);\n if (!activityChooserView.isInEditMode()) {\n activityChooserView.setActivityChoose...
[ "0.6618636", "0.6524277", "0.64660895", "0.6456472", "0.644385", "0.64279896", "0.6357381", "0.6351051", "0.62178", "0.6136001", "0.6114361", "0.60817295", "0.60717356", "0.60685796", "0.60631675", "0.6061937", "0.6039462", "0.60372305", "0.6029449", "0.59982634", "0.5987538"...
0.0
-1
/ renamed from: a
boolean mo2805a(C0530m0 m0Var, Intent intent);
{ "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 boolean mo2512a(C0475c cVar, Intent intent) { C0530m0 m0Var = C0530m0.this; C0531a aVar = m0Var.f2119i; if (aVar != null) { aVar.mo2805a(m0Var, intent); } return false; }
{ "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: i
private void m2843i() { if (this.f2119i != null) { if (this.f2120j == null) { this.f2120j = new C0532b(); } C0475c.m2615a(this.f2117g, this.f2118h).mo2495a(this.f2120j); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void mo17022c(int i);", "public final void mo5394iy(int i) {\n }", "void mo88773a(int i);", "void mo32046rn(int i);", "public final void mo91727g(int i) {\n }", "void mo54447l(int i);", "void mo1761g(int i);", "void mo54406a(int i);", "void mo23327tY(int i);", "void mo1753b(int i);", "@Ov...
[ "0.68150276", "0.67924464", "0.6714078", "0.67086816", "0.66985506", "0.6697436", "0.66779053", "0.6652412", "0.66520256", "0.6647883", "0.6642103", "0.663781", "0.6593486", "0.658991", "0.6587463", "0.6563837", "0.6560967", "0.6547643", "0.6537753", "0.6529683", "0.65124357"...
0.0
-1
/ renamed from: a
public void mo2802a(C0531a aVar) { this.f2119i = aVar; m2843i(); }
{ "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
/ access modifiers changed from: 0000 / renamed from: b
public void mo2804b(Intent intent) { if (VERSION.SDK_INT >= 21) { intent.addFlags(134742016); } else { intent.addFlags(524288); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void func_104112_b() {\n \n }", "protected b(int mb) {\n/* 87 */ this.b = mb;\n/* */ }", "public void mo115190b() {\n }", "public abstract void mo70713b();", "public abstract void mo70702a(C30989b c30989b);", "public interface C19351a {\n /* renamed from...
[ "0.7316015", "0.6803759", "0.6712111", "0.67048204", "0.66646415", "0.6619312", "0.66174126", "0.6600416", "0.65210277", "0.6494179", "0.64865243", "0.64419717", "0.6440986", "0.64153117", "0.6403416", "0.64004207", "0.6388945", "0.63789034", "0.6378066", "0.6369168", "0.6366...
0.0
-1
/ renamed from: b
public boolean mo1752b() { return true; }
{ "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: d
public View mo1753d() { ActivityChooserView activityChooserView = new ActivityChooserView(this.f2117g); if (!activityChooserView.isInEditMode()) { activityChooserView.setActivityChooserModel(C0475c.m2615a(this.f2117g, this.f2118h)); } TypedValue typedValue = new TypedValue();...
{ "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.637724", "0.6160382", "0.6070847", "0.5993489", "0.587634", "0.5868696", "0.58239543", "0.5755673", "0.57014745", "0.5660435", "0.5650112", "0.5635051", "0.5621533", "0.5615009", "0.5609681", "0.5609681", "0.56053764", "0.5598181", "0.5588647", "0.55685943", "0.55585486", ...
0.0
-1
/ renamed from: a
public void mo1751a(SubMenu subMenu) { subMenu.clear(); C0475c a = C0475c.m2615a(this.f2117g, this.f2118h); PackageManager packageManager = this.f2117g.getPackageManager(); int a2 = a.mo2490a(); int min = Math.min(a2, this.f2115e); for (int i = 0; i < min; i++) { ...
{ "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 mo2803a(String str) { this.f2118h = str; m2843i(); }
{ "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 mo2801a(Intent intent) { if (intent != null) { String action = intent.getAction(); if ("android.intent.action.SEND".equals(action) || "android.intent.action.SEND_MULTIPLE".equals(action)) { mo2804b(intent); } } C0475c.m2615a(this.f2...
{ "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
TODO: Warning this method won't work in the case the id fields are not set
@Override public boolean equals(Object object) { if (!(object instanceof MetodoPagoCliente)) { return false; } MetodoPagoCliente other = (MetodoPagoCliente) object; if ((this.idMetodoPagoCliente == null && other.idMetodoPagoCliente != null) || (this.idMetodoPagoCliente !=...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void setId(Integer id) { this.id = id; }", "private Integer getId() { return this.id; }", "public void setId(int id){ this.id = id; }", "public void setId(Long id) {this.id = id;}", "public void setId(Long id) {this.id = id;}", "public void setID(String idIn) {this.id = idIn;}", "public void se...
[ "0.6894075", "0.6838163", "0.6703205", "0.6639082", "0.6639082", "0.6590798", "0.65762895", "0.65762895", "0.65737987", "0.65737987", "0.65737987", "0.65737987", "0.65737987", "0.65737987", "0.6559597", "0.6559597", "0.6543704", "0.65236825", "0.6515142", "0.6486868", "0.6475...
0.0
-1
On Start Of Details Activity bind views
@Override public void onStart(Pastry pastry) { if (pastry != null) { view.bindViews(pastry); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic void initView() {\n\t\tIntent intent=getIntent();\n\t\tString title=intent.getStringExtra(\"title\");\n\t\tcontext=intent.getStringExtra(\"context\");\n\t\tsetTitle(title);\n\t\tsetGone();\n\t\tsetBack();\n\t\tlist=new ArrayList<GameFighterBean>();\n\t\ttopNewsMoreLV = (LoadListViewnews) findVi...
[ "0.6815005", "0.66322494", "0.659813", "0.65896755", "0.65731865", "0.65590304", "0.6512372", "0.6494863", "0.648589", "0.6478347", "0.6473502", "0.64342415", "0.64123577", "0.6397461", "0.63759804", "0.6354344", "0.6343365", "0.63362557", "0.6335649", "0.6333996", "0.6321339...
0.0
-1