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
Generate on case matches statement.
protected abstract void onMatch(String value, Label end);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "CaseStatement createCaseStatement();", "@Override\n\tpublic void visit(CaseExpression arg0) {\n\t\t\n\t}", "@Override\n\tpublic void visit(CaseExpression arg0) {\n\n\t}", "public static void matchMaker()\n {\n \n }", "CaseStmtRule createCaseStmtRule();", "@Override\n public boolean render...
[ "0.6633003", "0.6186894", "0.61429805", "0.57390565", "0.5690964", "0.56652194", "0.54712915", "0.54626554", "0.54409695", "0.54233766", "0.5407736", "0.5370374", "0.53287965", "0.5299549", "0.52361697", "0.5229397", "0.52010703", "0.51975137", "0.51941824", "0.5177847", "0.5...
0.5076752
28
Write the string switch implementation.
public void write(GeneratorAdapter writer) { Set<String> keys = getKeys(); if (keys.isEmpty()) { return; } if (keys.size() == 1) { Label end = new Label(); String key = keys.iterator().next(); generateValueCase(writer, key, end); ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void write(String text) {\n }", "void writeString(String value);", "public void write (String s) {\n pw.print(s);\n }", "void write(String text);", "protected final void write(String s) throws IOException {\n\t\toutput.write(s);\n\t}", "String charWrite();", "String s...
[ "0.6555672", "0.6390916", "0.5991336", "0.5963608", "0.5939341", "0.5925905", "0.5923629", "0.58965987", "0.57885104", "0.5757521", "0.5735003", "0.5735003", "0.5722966", "0.570058", "0.5687819", "0.5676969", "0.5652273", "0.56150377", "0.56000274", "0.55537224", "0.5544679",...
0.5571503
19
Generate the switch case.
protected void generateValueCase(GeneratorAdapter writer, String string, Label end) { pushStringValue(); writer.push(string); writer.invokeVirtual(Type.getType(Object.class), new Method("equals", Type.BOOLEAN_TYPE, new Type[]{Type.getType(Object.class)})); writer.push(true); Labe...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public boolean render(InternalContextAdapter context, Writer writer, Node node) throws IOException, ResourceNotFoundException, ParseErrorException, MethodInvocationException {\n if (node.jjtGetChild(0) == null) {\n //rsvc.error(\"#switch() error : null argument\");\n re...
[ "0.6841161", "0.65020305", "0.6475083", "0.6455292", "0.639074", "0.63703173", "0.61105984", "0.6104012", "0.60961634", "0.5958256", "0.5957388", "0.59456724", "0.5926727", "0.5919701", "0.58850855", "0.58841425", "0.5860838", "0.5845734", "0.58271366", "0.58116364", "0.57551...
0.0
-1
Some devices such as Samsungs which have their own gallery app require write permission. Testing is advised!
@OnClick(R.id.documents_button) protected void onPickFromDocumentsClicked() { EasyImage.openDocuments(this); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void requestWriteStoragePermission() {\n if (ActivityCompat.shouldShowRequestPermissionRationale(MainActivity.this,\n Manifest.permission.WRITE_EXTERNAL_STORAGE)) {\n //show explanation to user\n Toast.makeText(this, \"Write storage permission is needed to save p...
[ "0.7542686", "0.71999705", "0.7166937", "0.71539396", "0.7066827", "0.7064368", "0.70271504", "0.7016579", "0.7015368", "0.69715416", "0.6961796", "0.695688", "0.6956544", "0.69199026", "0.69025797", "0.6892707", "0.6890126", "0.6889355", "0.6875985", "0.6825688", "0.6825407"...
0.0
-1
Some devices such as Samsungs which have their own gallery app require write permission. Testing is advised!
@OnClick(R.id.gallery_button) protected void onPickFromGaleryClicked() { EasyImage.openGallery(this); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void requestWriteStoragePermission() {\n if (ActivityCompat.shouldShowRequestPermissionRationale(MainActivity.this,\n Manifest.permission.WRITE_EXTERNAL_STORAGE)) {\n //show explanation to user\n Toast.makeText(this, \"Write storage permission is needed to save p...
[ "0.75427276", "0.7198806", "0.7166848", "0.7153707", "0.7067182", "0.7064827", "0.7027268", "0.7016718", "0.7015663", "0.6971409", "0.69617337", "0.69575757", "0.6956615", "0.69202125", "0.690218", "0.689359", "0.68902194", "0.6888954", "0.68753844", "0.6826035", "0.6825423",...
0.0
-1
Cancel handling, you might wanna remove taken photo if it was canceled
@Override public void onCanceled(EasyImage.ImageSource source) { if (source == EasyImage.ImageSource.CAMERA) { File photoFile = EasyImage.lastlyTakenButCanceledPhoto(MainActivity.this); if (photoFile != null) photoFile.delete(); } ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void onCanceled(EasyImage.ImageSource source, int type) {\n Log.d(TAG, \"Canceling taken photo\");\n if (source == EasyImage.ImageSource.CAMERA) {\n File photoFile = EasyImage.lastlyTakenB...
[ "0.7826396", "0.7622273", "0.7162568", "0.7093943", "0.7058439", "0.7048369", "0.7007776", "0.7006298", "0.6984831", "0.6977781", "0.6974617", "0.69718426", "0.69718426", "0.69718426", "0.69718426", "0.69718426", "0.69718426", "0.69718426", "0.69718426", "0.69718426", "0.6971...
0.78283244
0
Clear any configuration that was done!
@Override protected void onDestroy() { EasyImage.clearConfiguration(this); super.onDestroy(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static void resetConfiguration() {\n\t\t// Ignore\n\t}", "public void resetConfiguration() {\n\t\tthis.hierarchy.resetConfiguration();\n\t}", "public void clearProxyConfig();", "@VisibleForTesting\n void clear() {\n try {\n configStore.delete(NamespaceId.SYSTEM.getNamespace(), TYPE, NAME);\n ...
[ "0.7462311", "0.69630593", "0.68352455", "0.6832354", "0.6770464", "0.6684027", "0.66610783", "0.6650029", "0.6624198", "0.6619683", "0.6567585", "0.65498066", "0.65498066", "0.65476686", "0.6512831", "0.6511742", "0.6511742", "0.65100396", "0.650848", "0.650848", "0.6468193"...
0.0
-1
Get view from his name.
public static final FileBrowserView fromName(String name) { FileBrowserView result = DEFAULT; if (name != null) { for (FileBrowserView view : FileBrowserView.values()) { if (name.equals(view.name)) { result = view; break; ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "ViewCreator get(String userName);", "@Override\n\tpublic View getView(String viewName) {\n\n\t\tint resourceID = context.getResources().getIdentifier(viewName, \"id\",\n\t\t\t\tcontext.getPackageName());\n\t\tviewObject = activity.findViewById(resourceID);\n\n\t\treturn viewObject;\n\t}", "@CheckForNull\n V...
[ "0.70025986", "0.69732517", "0.69637084", "0.6791497", "0.6674743", "0.66575485", "0.6608944", "0.6602331", "0.658228", "0.65345556", "0.65345556", "0.65060115", "0.650015", "0.6333032", "0.61735815", "0.6025734", "0.6022231", "0.6005574", "0.6005574", "0.6005574", "0.5966900...
0.68076396
3
//////////////////////END AREA CREATE METHODS//////////////////////////// //////////////////////AREA MAP METHODS///////////////////////////////////
private void mapAreaOne() { Area area = areaIDMap.get(Constants.FIRST_AREA_ID); area.areaMap.put(Constants.North, areaIDMap.get(Constants.SECOND_AREA_ID)); area.areaMap.put(Constants.South, areaIDMap.get(Constants.FIFTH_AREA_ID)); area.areaMap.put(Constants.East, areaIDMap.get(C...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "AREA createAREA();", "private void buildMapArea(MapBuilderBase mapBuilder) {\n\t\tmap = new Tile[width][height];\n\n\t\tthis.name = mapBuilder.buildMap(map);\n\t\tupdateValues();\n\n\t\t// TODO: pathfinding precalculations?\n\n\t\t// Log.debug(\"Calculating path maps...\");\n\t\t// pointGraph = new PointGraph();...
[ "0.76719207", "0.73200274", "0.7047325", "0.6761681", "0.6571971", "0.652685", "0.63550663", "0.6337255", "0.6336071", "0.63216805", "0.62946874", "0.6260986", "0.62409127", "0.62221", "0.6162964", "0.6154019", "0.6110898", "0.60538965", "0.6026212", "0.60004205", "0.5949171"...
0.76680064
1
area parameter is area we are currently in
public Area GetNextAreaRandom(Area area) { Random rand = new Random(); int i = 0; switch(area.paths) { case Constants.North: i = rand.nextInt(2); if(i==0) return area.areaMap.get(Constants.North); if(i==1) return...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setArea(String area) {\n this.area = area;\n }", "public void setArea(String area) {\n this.area = area;\n }", "public void setArea(String area) {\n\t\tthis.area = area;\n\t}", "public String getArea() {\n return this.area;\n }", "@Override\r\n\tpublic void...
[ "0.78650594", "0.78477687", "0.7736812", "0.74295205", "0.7406653", "0.7299283", "0.7298003", "0.72758585", "0.7235479", "0.7235479", "0.7235479", "0.7234443", "0.71064144", "0.7069422", "0.69959956", "0.69959956", "0.69801164", "0.69801164", "0.69240385", "0.691561", "0.6913...
0.0
-1
Is this a possible path?
public boolean isCommandValid(Character character, String command) { if(command.length() > 4 && isKill(command)) { HandleKill(character, command); return true; } if(isPossess(command)) { HandlePossess(character); retu...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public abstract boolean isPath();", "Path getHasPath();", "public boolean hasPath() {\n try {\n aStarPath();\n } catch (PathNotFoundException e){\n return false;\n }\n return true;\n }", "public final boolean hasPath ()\r\n {\r\n return _value.hasP...
[ "0.80403435", "0.766847", "0.6971055", "0.68661696", "0.6855585", "0.67612857", "0.67197233", "0.6694867", "0.6694867", "0.65552694", "0.6534819", "0.6534819", "0.6534819", "0.6534819", "0.6534819", "0.65173984", "0.6462999", "0.6448829", "0.64371777", "0.64362013", "0.637376...
0.0
-1
area is the area we are currently in
public Area enterCommand(Character character) { String command = getCommand(); while(!isCommandValid(character,command)) { NewFrame.addToCombatLog("Command not recognized"); DisplayUtils.printDirections(character.currentArea); NewFrame.addToCombatLo...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getArea() {\n return this.area;\n }", "public int getArea() {\n\t\treturn area;\n\t}", "public String getArea() {\n return area;\n }", "public String getArea() {\n\t\treturn area;\n\t}", "public String getArea() {\n return area;\n }", "public String get...
[ "0.7900133", "0.78029346", "0.77771884", "0.77607816", "0.77017814", "0.77017814", "0.77017814", "0.7674031", "0.7640583", "0.7617859", "0.7559225", "0.75443816", "0.75357836", "0.73931515", "0.73918766", "0.73669213", "0.72788197", "0.72593004", "0.72593004", "0.72527814", "...
0.0
-1
// gameFrame = new JFrame(); JLabel label = new JLabel("TextOnly Label"); label.setFont(new Font("Serif", Font.PLAIN, 22)); gameFrame.add(label); gameFrame.setSize(1800, 1000); gameFrame.setVisible(true);/
public static void main(String args[]) { NewFrame.introDialog(); EvolutionGame game = new EvolutionGame(); while(true) { Area nextArea = ioUtils.enterCommand(character); if(!character.fighting) { ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private Label createGameOverLabel(){\n Label text;\n Label.LabelStyle textStyle;\n BitmapFont font = new BitmapFont();\n\n textStyle = new Label.LabelStyle();\n textStyle.font = font;\n\n text = new Label(\"GAME OVER\",textStyle);\n text.setAlignment(Align.center);\...
[ "0.68821114", "0.67220193", "0.66845167", "0.66255444", "0.6622033", "0.65672207", "0.65230936", "0.6519792", "0.64777046", "0.6466446", "0.64608073", "0.63668483", "0.6364294", "0.63616765", "0.6323201", "0.63091844", "0.628262", "0.6270209", "0.62653583", "0.62553436", "0.6...
0.0
-1
Create the menu bar.
public static void initMenuBars() { menuBar = new JMenuBar(); //Build the first menu. menu = new JMenu("Options"); menu.setMnemonic(KeyEvent.VK_A); menu.getAccessibleContext().setAccessibleDescription( "The only menu in this program that has menu items"); menuBar.add(menu); //a group of JMenu...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void createMenu() {\n\t\tJMenuBar mb = new JMenuBar();\n\t\tsetJMenuBar(mb);\n\t\tmb.setVisible(true);\n\t\t\n\t\tJMenu menu = new JMenu(\"File\");\n\t\tmb.add(menu);\n\t\t//mb.getComponent();\n\t\tmenu.add(new JMenuItem(\"Exit\"));\n\t\t\n\t\t\n\t}", "public void generateMenu(){\n\t\tmenuBar = new JMenu...
[ "0.8279719", "0.82674277", "0.8175769", "0.8174775", "0.8130873", "0.8128267", "0.8125956", "0.80292475", "0.79278904", "0.7911564", "0.78774446", "0.786729", "0.7860913", "0.7859108", "0.7835449", "0.78341454", "0.77923745", "0.77579904", "0.7749535", "0.77422744", "0.767204...
0.7304142
43
The image data for the favicon (PNG encoded). optional bytes favicon = 1;
boolean hasFavicon();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "com.google.protobuf.ByteString getFavicon();", "public byte[] getIcon()\n {\n return Resources.getImage(Resources.DICT_LOGO);\n }", "public byte[] getIcon()\r\n {\r\n return icon;\r\n }", "public Bitmap getFavicon(int position) {\n return getBitmap(Browser.HISTORY_PROJECTION_...
[ "0.7664248", "0.62641495", "0.6064934", "0.5966377", "0.5887347", "0.58685213", "0.57715154", "0.5661365", "0.5628655", "0.5628655", "0.55906457", "0.5514118", "0.549225", "0.5457344", "0.5431839", "0.53248113", "0.531241", "0.5308116", "0.5292123", "0.5289212", "0.5286798", ...
0.57308257
7
The image data for the favicon (PNG encoded). optional bytes favicon = 1;
com.google.protobuf.ByteString getFavicon();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public byte[] getIcon()\n {\n return Resources.getImage(Resources.DICT_LOGO);\n }", "public byte[] getIcon()\r\n {\r\n return icon;\r\n }", "public Bitmap getFavicon(int position) {\n return getBitmap(Browser.HISTORY_PROJECTION_FAVICON_INDEX, position);\n }", "@ZAttr(id=80...
[ "0.62641495", "0.6064934", "0.5966377", "0.5887347", "0.58685213", "0.57715154", "0.57308257", "0.5661365", "0.5628655", "0.5628655", "0.55906457", "0.5514118", "0.549225", "0.5457344", "0.5431839", "0.53248113", "0.531241", "0.5308116", "0.5292123", "0.5289212", "0.5286798",...
0.7664248
0
The favicon dimensions. optional int32 width = 2;
boolean hasWidth();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public int getIconWidth()\r\n/* 154: */ {\r\n/* 155:194 */ return SIZE;\r\n/* 156: */ }", "public int getIconWidth()\r\n/* 50: */ {\r\n/* 51: 99 */ return SIZE;\r\n/* 52: */ }", "public void\r GetIconDimensions(CType display_context, int_t width, int_t height,\r ...
[ "0.6996835", "0.69104177", "0.6787622", "0.65995777", "0.6599202", "0.6491551", "0.6262972", "0.6202373", "0.6166551", "0.61524814", "0.6141744", "0.6141658", "0.5906706", "0.58637244", "0.57546943", "0.57546943", "0.5739523", "0.5716309", "0.5688724", "0.5685927", "0.5651772...
0.0
-1
The favicon dimensions. optional int32 width = 2;
int getWidth();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public int getIconWidth()\r\n/* 154: */ {\r\n/* 155:194 */ return SIZE;\r\n/* 156: */ }", "public int getIconWidth()\r\n/* 50: */ {\r\n/* 51: 99 */ return SIZE;\r\n/* 52: */ }", "public void\r GetIconDimensions(CType display_context, int_t width, int_t height,\r ...
[ "0.69983494", "0.6912098", "0.6788075", "0.66015273", "0.660131", "0.6493497", "0.6264305", "0.62043047", "0.61686474", "0.6153964", "0.61430264", "0.614062", "0.5906471", "0.5865401", "0.5756428", "0.5756428", "0.5741234", "0.57152325", "0.5690281", "0.5686678", "0.56527567"...
0.5401082
57
optional int32 height = 3;
boolean hasHeight();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Integer getHeight(){return this.height;}", "int getHeight() {return height;}", "public int Height(){\r\n return height;\r\n }", "public int getHeight(){\n return height;\n }", "public int getHeight()\n {return height;}", "public int getH() { return height; }", "public int getHeight() ...
[ "0.7454506", "0.7423522", "0.7246295", "0.7238387", "0.7142166", "0.71230704", "0.71189094", "0.7116791", "0.70745313", "0.70108104", "0.6999963", "0.6964231", "0.6944457", "0.6917365", "0.6917365", "0.6917365", "0.6917365", "0.6909599", "0.6906277", "0.6893894", "0.68711454"...
0.0
-1
optional int32 height = 3;
int getHeight();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Integer getHeight(){return this.height;}", "int getHeight() {return height;}", "public int Height(){\r\n return height;\r\n }", "public int getHeight(){\n return height;\n }", "public int getHeight()\n {return height;}", "public int getH() { return height; }", "public int getHeight() ...
[ "0.7454506", "0.7423522", "0.7246295", "0.7238387", "0.7142166", "0.71230704", "0.71189094", "0.7116791", "0.70745313", "0.70108104", "0.6999963", "0.6964231", "0.6944457", "0.6917365", "0.6917365", "0.6917365", "0.6917365", "0.6909599", "0.6906277", "0.6893894", "0.68711454"...
0.6493197
63
TODO Autogenerated method stub
private static void pruebas() { ResultadosDaoImpl resultadosDao = new ResultadosDaoImpl(); PartidosDaoImpl partidosDao = new PartidosDaoImpl(); EquiposDaoImpl equiposDao = new EquiposDaoImpl(); JornadasDaoImpl jornadasDao = new JornadasDaoImpl(); EstadisticasDaoImpl estadisticasDao = new EstadisticasDaoIm...
{ "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.66713095", "0.6567948", "0.652319", "0.648097", "0.64770466", "0.64586824", "0.64132667", "0.6376419", "0.62759", "0.62545097", "0.62371093", "0.62237984", "0.6201738", "0.619477", "0.619477", "0.61924416", "0.61872935", "0.6173417", "0.613289", "0.6127952", "0.6080854", ...
0.0
-1
sets position of source building indicator
public void markSource(int x, int y) { sourceSpot = new Point(); sourceSpot.set(x, y); this.invalidate(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setOrigin(int source) {\r\n\t\tthis.origin = source;\r\n\t}", "public void setSourceStart(int x)\n\t{\n\t\tsourceStart = x;\n\t}", "<E extends CtElement> E setPositions(SourcePosition position);", "private void setCurrentPos() {\n\t\tcurrentPos=layout_Circle[l.y][l.x];\n\t\tcurrentPos.setFill(Pai...
[ "0.63715583", "0.62580293", "0.6222684", "0.61073405", "0.6101104", "0.5927993", "0.59159565", "0.59159565", "0.58620703", "0.58424073", "0.5812478", "0.5806161", "0.5803242", "0.5789483", "0.5781348", "0.57772416", "0.5772984", "0.57641196", "0.57619035", "0.5753125", "0.573...
0.54531354
61
sets position of dest building indicator
public void markDest(int x, int y) { destSpot = new Point(); destSpot.set(x, y); this.invalidate(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setPos(int pos);", "public void setPos(int pos);", "public void setPosition(Position pos);", "public void set(Coord dest) {\n x = dest.x;\n y = dest.y;\n }", "private void setCurrentPos() {\n\t\tcurrentPos=layout_Circle[l.y][l.x];\n\t\tcurrentPos.setFill(Paint.valueOf(\"Red\"))...
[ "0.59564275", "0.59564275", "0.5898866", "0.5822132", "0.5803117", "0.5747513", "0.57380533", "0.57228684", "0.571678", "0.5683215", "0.5678948", "0.5678948", "0.5670461", "0.5669229", "0.5652279", "0.5630223", "0.5611502", "0.5584622", "0.5577872", "0.55703115", "0.5523052",...
0.5443639
34
sets the list of points along path
public void drawPath(float[] points) { pathPoints = points; this.invalidate(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setPoints(List<GeoPoint> points){\n\t\tclearPath();\n\t\tint size = points.size();\n\t\tmOriginalPoints = new int[size][2];\n\t\tfor (int i=0; i<size; i++){\n\t\t\tGeoPoint p = points.get(i);\n\t\t\tmOriginalPoints[i][0] = p.getLatitudeE6();\n\t\t\tmOriginalPoints[i][1] = p.getLongitudeE6();\n\t\t\tif ...
[ "0.76750344", "0.71478707", "0.70082825", "0.6770374", "0.67412925", "0.673683", "0.6652192", "0.6549972", "0.6545533", "0.65153337", "0.649294", "0.64481825", "0.64405966", "0.63864243", "0.63532174", "0.63371646", "0.62490726", "0.6222654", "0.62048066", "0.62035304", "0.61...
0.66400564
7
set the scale factor of the map. Based on original size.
public void setScaleFactor(float scale){ scaleFactor = scale; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setScale(float scale);", "void scale(double factor);", "public void zoomScale(double scaleDelta) {\n \t\tzoomToScale((float) (mapDisplay.sc * scaleDelta));\n \t}", "public void rescale()\r\n\t{\n\t}", "public void setScale(double value) {\n this.scale = value;\n }", "@Override\n ...
[ "0.7484828", "0.73159516", "0.7199375", "0.7129819", "0.7109159", "0.7108254", "0.7100276", "0.70874465", "0.7040855", "0.7039909", "0.702928", "0.69754815", "0.69737655", "0.69630945", "0.6914741", "0.69059914", "0.68832105", "0.6880936", "0.68712777", "0.68703485", "0.68666...
0.7614512
0
set the amount to shift the image from default
public void setShift(int x, int y){ xShift = x; yShift = y; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n public void move(ImageView image, Double xInitial) {\n\r\n }", "public void move() {\r\n\t\tsetY(getY() + 134);\r\n\t\tmyImage = myImage.getScaledInstance(100, 300, 60);\r\n\r\n\t}", "public void adjust()\n {\n }", "public void moveBack() {\r\n\t\tsetY(getY() - 134);\r\n\t\tmyImage = myIm...
[ "0.6422554", "0.6042706", "0.60397005", "0.60342616", "0.59528303", "0.59106386", "0.5815717", "0.5630582", "0.5614378", "0.5575301", "0.55738765", "0.5571886", "0.5556766", "0.5524032", "0.5499374", "0.54738647", "0.54730034", "0.5453914", "0.545284", "0.54309005", "0.539626...
0.0
-1
TODO: save user to database
@Override public boolean save(User user) { String userHash = UUID.randomUUID().toString(); user.setUserHash(userHash); boolean status = userRepository.save(user); if (status) { System.out.println("USER ID : " + user.getId()); System.out.println("User has been inserted!"); } else { System.out.println...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void saveUser(User user) {\n }", "public void saveUser(User user);", "@Override\r\n\tpublic void save(User user) {\n\t\t\r\n\t}", "void saveUserData(User user);", "void save(User user);", "public void createUser(User user) {\n\n\t}", "@Override\r\n\tpublic int saveUser(User use...
[ "0.7651618", "0.75041246", "0.7481768", "0.7355618", "0.72136605", "0.71838474", "0.7178308", "0.7166144", "0.7115515", "0.7100379", "0.7097422", "0.7078488", "0.70773876", "0.7075253", "0.7059779", "0.70356035", "0.7016486", "0.7002707", "0.7001876", "0.6981863", "0.6981195"...
0.6854249
34
TODO: delete user from database by userHash
@Override public boolean deleteByUserHash(String userHash) { boolean status = userRepository.delete(userHash); if (status) { System.out.println("User has been deleted!"); } else { System.out.println("User has not been deleted!."); } return status; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void deleteUser(User userToDelete) throws Exception;", "public void deleteUser(long userId);", "void deleteUser(String userId);", "public void deleteUserById(Long userId);", "@Override\n\tpublic void deleteUser(User user) {\n\t\topenSession().createQuery(\"DELETE FROM User where userId =\" + user.ge...
[ "0.74367166", "0.7313219", "0.7258198", "0.7204521", "0.71801955", "0.71737087", "0.71489763", "0.7144712", "0.7136682", "0.710092", "0.70939016", "0.7067072", "0.7057271", "0.70525587", "0.70414406", "0.7037186", "0.6990672", "0.6968122", "0.6966387", "0.69595194", "0.695615...
0.7924268
0
TODO: update user from database by userHash
@Override public boolean updateByUserHash(User user) { boolean status = userRepository.update(user); if (status) { System.out.println("User has been updated!"); } else { System.out.println("User has not been updated!"); } return status; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void updateUserPassword(User user);", "public void updateUser(User oldUser, User newUser) ;", "public void updateUser(int uid, String name, String phone, String email, String password, int money, int credit);", "public void updateUser(User user) {\n\t\t\r\n\t}", "void updateUserById(String username, User u...
[ "0.71345717", "0.69874054", "0.69484395", "0.6914022", "0.6865215", "0.68569595", "0.6846789", "0.6803354", "0.6800371", "0.6756909", "0.6719146", "0.664168", "0.6615153", "0.66115856", "0.6610971", "0.66058654", "0.6602665", "0.6601937", "0.6597861", "0.6548691", "0.65073067...
0.6987545
1
TODO Autogenerated method stub
@Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_acknowledgement); mTTS = new TextToSpeech(this, this); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
TODO Autogenerated method stub
@Override protected void onPause() { super.onPause(); Log.d(TAG, "onPause"); if (mTTS != null) { mTTS.stop(); mTTS.shutdown(); mTTS = null; } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
TODO Autogenerated method stub
@Override public void onInit(int status) { prompt("Thank you! Good Day!"); new Timer().schedule(new TimerTask() { @Override public void run() { // TODO Auto-generated method stub AcknowledgementPresentActivity.this.finish(); } }, 2000); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
TODO Autogenerated method stub
@Override public void run() { AcknowledgementPresentActivity.this.finish(); }
{ "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.66713095", "0.6567948", "0.652319", "0.648097", "0.64770466", "0.64586824", "0.64132667", "0.6376419", "0.62759", "0.62545097", "0.62371093", "0.62237984", "0.6201738", "0.619477", "0.619477", "0.61924416", "0.61872935", "0.6173417", "0.613289", "0.6127952", "0.6080854", ...
0.0
-1
1 Opening the httpClinet Connection one more method
@Test public void latest_Client() throws ClientProtocolException, IOException { CloseableHttpClient httpclinet2=HttpClientBuilder.create().build(); // 2 Url purpose HttpGet httpget= new HttpGet("https://reqres.in"); // 3 Add Header httpget.addHeader("Authorization","Bearer_ HG...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void establishConnection() {\n httpNetworkService = new HTTPNetworkService(handler);\n }", "private void openConnection(){}", "public TriasConnection() throws IOException {\n URL url = new URL(urlString);\n URLConnection con = url.openConnection();\n http = (HttpURLConnect...
[ "0.73527884", "0.6814656", "0.6667186", "0.6546201", "0.649265", "0.6473231", "0.6462633", "0.644703", "0.6323286", "0.631143", "0.6298183", "0.6292645", "0.6282591", "0.6280061", "0.6275855", "0.6270023", "0.62320906", "0.62080187", "0.6199982", "0.6169036", "0.61384225", ...
0.0
-1
function to read configuration file
public static void basefn() throws IOException { //Below line creates an object of Properties called 'prop' prop = new Properties(); //Below line creates an object of FileInputStream called 'fi'. Give the path of the properties file which you have created FileInputStream fi = new FileInputStream("D:\\...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String readConfiguration(String path);", "private static void readConfigFile() {\n\n BufferedReader input = null;\n try {\n input = new BufferedReader(new FileReader(getConfigFile()));\n String sLine = null;\n while ((sLine = input.readLine()) != null) {\n fina...
[ "0.84405893", "0.78741294", "0.7852637", "0.75019765", "0.7441707", "0.73453206", "0.7339412", "0.7301332", "0.72530997", "0.7143415", "0.709759", "0.70794713", "0.7067219", "0.7008008", "0.6991885", "0.69704366", "0.6964069", "0.6945445", "0.6941407", "0.6915844", "0.6910945...
0.0
-1
reading test data from Excel
@Test public void verifyErrorMsgWithOutDataTest() throws InvalidFormatException, IOException, Throwable{ String errorMSg = fdata.getExcelData("Sheet2", 5, 2); driver.get(pobj.getProperty("url")); //click on login Button with out data Log_In lpage = PageFactory.initElements(driver, Log_In.class); ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static void getData() throws Exception {\n\t\tString filepath = \"F:\\\\Selenium Practice\\\\Framework\\\\TestData\\\\TestData.xlsx\";\n\t\tFile f = new File(filepath);\n\t\tFileInputStream str = new FileInputStream(f);\n\t\tWorkbook w = new XSSFWorkbook(str);\n\t\tSheet sh = w.getSheet(\"TestData\");\n\t\t...
[ "0.79136765", "0.7579681", "0.7418986", "0.73517877", "0.7349282", "0.7348146", "0.72334504", "0.72149813", "0.71339154", "0.7085983", "0.7084354", "0.70739347", "0.70357513", "0.7012138", "0.7010676", "0.69236237", "0.6915783", "0.69098514", "0.6749706", "0.6726294", "0.6720...
0.0
-1
Creates new form SceltaAzioni
public SceltaAzioni() { initComponents(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public creacionempresa() {\n initComponents();\n mostrardatos();\n }", "private void azzeraInsertForm() {\n\t\tviewInserimento.getCmbbxTipologia().setSelectedIndex(-1);\n\t\tviewInserimento.getTxtFieldDataI().setText(\"\");\n\t\tviewInserimento.getTxtFieldValore().setText(\"\");\n\t\tviewInserim...
[ "0.6887139", "0.6517989", "0.646834", "0.64270145", "0.62289864", "0.62001395", "0.6144787", "0.61076736", "0.6081647", "0.6079226", "0.60723174", "0.60598105", "0.60530335", "0.60415065", "0.6039377", "0.60366696", "0.60307276", "0.6022042", "0.60218763", "0.6015048", "0.600...
0.6899267
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() { jLabel1 = new javax.swing.JLabel(); jButton1 = new javax.swing.JButton(); jButton2 = new javax.swing.JButton(); jButton3 = new...
{ "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.73206544", "0.7291311", "0.7291311", "0.7291311", "0.7286492", "0.7249181", "0.7213362", "0.72085494", "0.71965617", "0.7190475", "0.7184897", "0.7159234", "0.71483016", "0.7094075", "0.7081491", "0.70579433", "0.6987627", "0.69776064", "0.69552463", "0.69549114", "0.69453...
0.0
-1
logerror("%04x: 68705 port A read %02x\n",cpu_get_pc(),portA_in);
public int handler(int offset) { return (portA_out & ddrA) | (portA_in & ~ddrA); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic void getError() {\n System.err.println(\"8877挂掉了\");\n\t}", "static void out_from_acc(String passed){\n\t\tSystem.out.println(\"Output to port \"+hexa_to_deci(passed.substring(3))+\" : \"+registers.get('A'));\n\t}", "public void failure(ActionInvocation actionInvocation, UpnpResponse...
[ "0.634322", "0.616306", "0.57962406", "0.57285666", "0.5681913", "0.5467023", "0.5453306", "0.54006165", "0.53538686", "0.5346505", "0.5339243", "0.5283624", "0.5283624", "0.52149135", "0.5191065", "0.5188007", "0.51747906", "0.5154371", "0.5128465", "0.51153", "0.5092126", ...
0.0
-1
logerror("%04x: 68705 port A write %02x\n",cpu_get_pc(),data);
public void handler(int offset, int data) { portA_out = (char) (data & 0xFF); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic void getError() {\n System.err.println(\"8877挂掉了\");\n\t}", "@Override\n public void onError(String data) {\n\n log.e(\"ipcChannel error!!!\");\n }", "public abstract void errWrite(final String msg);", "private static void err(String msg) {\n...
[ "0.61313987", "0.5694049", "0.5677461", "0.56696403", "0.5634942", "0.5607943", "0.556275", "0.5489691", "0.547403", "0.5450787", "0.5436559", "0.540861", "0.5377359", "0.53472626", "0.53197753", "0.52776265", "0.5264765", "0.5258355", "0.52560127", "0.5248077", "0.52251226",...
0.0
-1
The following is defined within the KNX spec: Project Scheme 2.1 public documentation Piiii/project.xml Created by user; contains the global data for project iiii (internal project ID, formatted as 4 hex digits).
private String getProjectNumber(ZipFile zipFile) throws ZipException { Pattern pattern = Pattern.compile( "^P-[\\dA-F]{4}", Pattern.CASE_INSENSITIVE); for (FileHeader fileHeader : zipFile.getFileHeaders ( ) ) { Matcher matcher = pattern.matcher(fileHeader.getFileName()); if (...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Integer getProjectID() { return projectID; }", "public int getProjectID() {\n return projectID;\n }", "public java.lang.Object getProjectID() {\n return projectID;\n }", "protected Integer getIdProject() {\n\n return (Integer) getExtraData().get(ProcessListener.EXTRA_DATA_ID...
[ "0.6906088", "0.6859616", "0.677713", "0.6661347", "0.65610105", "0.6490178", "0.64651793", "0.64636886", "0.6392575", "0.63793635", "0.63793635", "0.6373851", "0.6336067", "0.6334445", "0.63009423", "0.6293384", "0.62867254", "0.62859184", "0.62727636", "0.62366146", "0.6211...
0.0
-1
Created by fx on 2017/8/31.
public interface StoreGoodView { void showGoods(List<GoodListItemBean> list); void showState(int state); }
{ "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}", "@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\tpublic void bicar() {\n\t\t\r\n\t}", "@Override\r...
[ "0.6124943", "0.59680915", "0.59483624", "0.5920205", "0.5890607", "0.5890607", "0.57986945", "0.57658386", "0.5760829", "0.5757568", "0.57430786", "0.57346755", "0.5713077", "0.56963474", "0.56886077", "0.5681979", "0.56731516", "0.5672724", "0.5671035", "0.5671035", "0.5671...
0.0
-1
insert all the denoted points
public void insert(final ArrayList<SelectablePoint2> points) { additions.sort((o1, o2) -> o2.cachedIndex - o1.cachedIndex); for (final SelectablePoint2 p : additions) { points.add(p.cachedIndex, p); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Point2D insertPoint(int i, double x, double y);", "public void addPoints(List<Point2D> points);", "public void insert(Point2D p) {\n pointSet.add(p);\n }", "public void addPoints(int i, List<Point2D> points);", "public void addAll(Points points) {\n\t\tfor (int i = 0; i < points.size(); i+...
[ "0.64996034", "0.6468375", "0.6335253", "0.62669337", "0.621225", "0.6074088", "0.6044657", "0.6033245", "0.6029392", "0.6018651", "0.5953108", "0.59505904", "0.59436256", "0.5923986", "0.5906602", "0.58812743", "0.5865122", "0.5856105", "0.58315074", "0.58100843", "0.5805739...
0.6865179
0
Remove the filter from service
public void destroy() { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void removeFilter() {\r\n\t\tfilter = null;\r\n\t}", "void removeFilter(IntentFilter filter);", "public void removeFilter(MessageFilter filter);", "void removeRecipeFilter(RecipeFilter recipeFilter);", "void removeFilterListener(FilterListener listener);", "public void removeFilter(String arg) {\n...
[ "0.8150531", "0.78348285", "0.7638846", "0.7415027", "0.72988755", "0.7250267", "0.6839935", "0.6817183", "0.68129486", "0.67798674", "0.6769441", "0.6684849", "0.6601016", "0.65994096", "0.65703243", "0.6564055", "0.651712", "0.64997333", "0.6491527", "0.6409511", "0.6384", ...
0.0
-1
Return the request URI
public String getRequestURI() { return uri; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public URI getRequestURI();", "static public String getURI(HttpServletRequest request){\r\n\t\treturn request.getRequestURI();\r\n\t}", "public String getRequestURI ()\n {\n return uri;\n }", "public String getRequestUri()\n {\n return requestUri;\n }", "String getRequestURL();", "@Over...
[ "0.83638406", "0.8342246", "0.82571125", "0.81400883", "0.79441667", "0.78581923", "0.7699645", "0.76930505", "0.76571447", "0.764922", "0.7619963", "0.7591435", "0.7555736", "0.7517319", "0.7418536", "0.7396105", "0.7342795", "0.72965914", "0.7294088", "0.72715986", "0.72395...
0.80473846
4
Return the request URL
public StringBuffer getRequestURL() { return new StringBuffer(url); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "String getRequestURL();", "String getQueryRequestUrl();", "String getRequestedUrl();", "@Override\n public StringBuffer getRequestURL() {\n //StringBuffer requestURL = super.getRequestURL();\n //System.out.println(\"URL: \" + requestURL.toString());\n return this.requestURL;\n }", "public String...
[ "0.88249487", "0.83436733", "0.83209586", "0.8174316", "0.81074464", "0.7863316", "0.7699094", "0.7585442", "0.7545734", "0.7435083", "0.74186486", "0.73961467", "0.73905253", "0.73126405", "0.72526044", "0.72526044", "0.72526044", "0.72526044", "0.72526044", "0.72526044", "0...
0.8004733
5
Return the path information
public String getPathInfo() { return pathInfo; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "String getPath();", "String getPath();", "String getPath();", "String getPath();", "String getPath();", "public String getPathName();", "public String getPath()\r\n/* 26: */ {\r\n/* 27:57 */ return this.path;\r\n/* 28: */ }", "Path getPath();", "public String getPath() {\n\t\treturn get...
[ "0.74356765", "0.74356765", "0.74356765", "0.74356765", "0.74356765", "0.7396698", "0.7365055", "0.7342354", "0.73335046", "0.7289426", "0.7289426", "0.7286603", "0.7286603", "0.7286603", "0.7274971", "0.72336143", "0.72261643", "0.72064507", "0.72024643", "0.72024643", "0.71...
0.82043046
0
Retrieve a named parameter
public String getParameter(String name) { String[] values = getParameterValues(name); return (values != null) ? values[0] : null; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Object getParameter(String name);", "String getParam( String paraName );", "Parameter getParameter();", "public String getParameter(String name)\n {\n return parameters.get(name);\n }", "public String getParameter(String name) {\r\n return _parameters.get(name);\r\n }", "public String getParamet...
[ "0.8522034", "0.8198459", "0.81475246", "0.81132096", "0.7994723", "0.7937018", "0.7874657", "0.76847523", "0.760671", "0.75926185", "0.7553215", "0.75326735", "0.7483954", "0.747938", "0.74510145", "0.7383379", "0.72271866", "0.7181803", "0.7178824", "0.71701324", "0.7162742...
0.7526706
12
Retrieve the map of parameters
public Map getParameterMap() { return params; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Map getParameters();", "Map<String, String> getParameters();", "Map<String, Object> getParameters();", "Map<String, Object> getParameters();", "public Map getParameters()\n\t{\n\t\tMap returnValue = null;\n\n\t\tif (params == null)\n\t\t{\n\t\t\treturnValue = new HashMap();\n\t\t}\n\t\telse\n\t\t{\n...
[ "0.91866046", "0.8925789", "0.887087", "0.887087", "0.8341225", "0.8317483", "0.8238781", "0.81861305", "0.813518", "0.80796254", "0.7923932", "0.78248125", "0.7793709", "0.7773117", "0.7767947", "0.77590525", "0.77357215", "0.77104527", "0.76961946", "0.76736414", "0.7648599...
0.8353656
4
Retrieve a parameter value as a String[]
public String[] getParameterValues(String name) { return (String[]) params.get(name); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String[] getArrayValue();", "String [] getParameters();", "public String[] getStringArray() {\r\n\t\tString[] a = value.getStringArray();\r\n\t\tif (a == null)\r\n\t\t\treturn null;\r\n\t\tint n = a.length;\r\n\t\tString[] b = new String[n];\r\n\t\tfor (int i = 0; i < n; i++)\r\n\t\t\tb[i] = substitutio...
[ "0.7795117", "0.740142", "0.6999718", "0.6931609", "0.68525094", "0.67870224", "0.66522187", "0.6643418", "0.65377116", "0.6532267", "0.6439901", "0.6403567", "0.63387614", "0.62865937", "0.6259146", "0.62503695", "0.62481123", "0.6243788", "0.62263405", "0.6223013", "0.62185...
0.6963695
3
Set the path information for the request
public void setPathInfo(String pathInfo) { this.pathInfo = pathInfo; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public abstract String getRequestPathInfo();", "public HttpBuilder<E,T> setPath (String path)\n\t{\n\t\tthis.path = String.format(path);\n\t\treturn this;\n\t}", "protected void setupRequestPathExp(StringBuilder sb, RomanticTransaction tx) {\n final String requestPath = tx.getRequestPath();\n if ...
[ "0.68933344", "0.6731902", "0.6723108", "0.64557064", "0.6402894", "0.6323525", "0.62908167", "0.62615556", "0.6219197", "0.61414415", "0.61223584", "0.61157644", "0.6110321", "0.61011314", "0.6069967", "0.6064238", "0.6033431", "0.601865", "0.601865", "0.5978202", "0.5973033...
0.6333518
5
Start with no output points
static int clipSegmentToLine(ClipVertex vOut[], ClipVertex vIn[], Vec2 normal, float offset) { int numOut = 0; // Calculate the distance of end points to the line float distance0 = Vec2.dot(normal, vIn[0].v) - offset; float distance1 = Vec2.dot(normal, vIn[1].v) - offset; ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void beginOutput() {\n this.currentState = states.OUTPUT;\n this.buildOutStack();\n this.setOutputMode(0);\n }", "private boolean no_output() {\n\t\treturn _outcaptures.size() > 0 || _outhides.size() > 0;\n\t}", "public void intermediateProcessing() {\n //empty\n }"...
[ "0.6362649", "0.6177228", "0.61083215", "0.58860797", "0.58244294", "0.5729933", "0.57187146", "0.5636626", "0.5581962", "0.5580695", "0.55805665", "0.55562836", "0.5554089", "0.553705", "0.5516405", "0.55051297", "0.5502847", "0.5487388", "0.54599243", "0.54063296", "0.53760...
0.0
-1
Find the max separation between poly1 and poly2 using face normals from poly1.
static MaxSeparation findMaxSeparation(PolygonShape poly1, XForm xf1, PolygonShape poly2, XForm xf2) { MaxSeparation separation = new MaxSeparation(); int count1 = poly1.m_vertexCount; // Vector pointing from the centroid of poly1 to the centroid of poly2. Vec2 d =...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private static float getIntersectionLength(Vector2 first, Vector2 second)\n {\n float coeff = 1;\n\n // Swap (first should be with max X)\n if (first.getX() < second.getX())\n {\n Vector2 temp = first;\n first = second;\n second = temp;\n coeff = -1;\n }\n\n if (first.getY() ...
[ "0.53198695", "0.5284955", "0.52419055", "0.52060586", "0.50811964", "0.4982221", "0.49816105", "0.49753696", "0.49463266", "0.4911117", "0.4887899", "0.48706552", "0.48623955", "0.48598033", "0.48561782", "0.48475593", "0.4839098", "0.48316407", "0.47944212", "0.47881708", "...
0.7775289
0
Find edge normal of max separation on A return if separating axis is found Find edge normal of max separation on B return if separation axis is found Choose reference edge as min(minA, minB) Find incident edge Clip The normal points from 1 to 2
public static void collidePoly(Manifold manif, PolygonShape polyA, XForm xfA, PolygonShape polyB, XForm xfB) { //testbed.PTest.debugCount++; manif.pointCount = 0; // Fixed a problem with contacts MaxSeparation sepA = findMaxSeparation(polyA, xfA, polyB, xfB); if (sepA...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "static MaxSeparation findMaxSeparation(PolygonShape poly1, XForm xf1,\n \t\t\t\t\t\t\t\t\t PolygonShape poly2, XForm xf2) {\n MaxSeparation separation = new MaxSeparation();\n\n int count1 = poly1.m_vertexCount;\n \n // Vector pointing from the centroid of poly1 to the centroid of ...
[ "0.5963698", "0.5613902", "0.55713856", "0.55114657", "0.5485157", "0.54838717", "0.54471725", "0.5439549", "0.5320906", "0.5318551", "0.5315798", "0.53096634", "0.5307552", "0.5307388", "0.526994", "0.5249493", "0.52329844", "0.5212751", "0.520187", "0.5188227", "0.5153392",...
0.4711777
77
[source:,target:,type:,parent:] shallow copy of data structure
@SuppressWarnings("unchecked") public AnalysisGraph createNewInstance() { AnalysisGraph graph = new AnalysisGraph(); graph.currentIndex = currentIndex; graph.nodes = (HashMap<String, Node>) nodes.clone(); graph.nodeList = (ArrayList<Node>)((ArrayList<Node>) nodeList).clone(); graph.links = (ArrayList<Link...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public abstract Type treeCopy();", "public abstract TreeNode copy();", "public abstract Node copy();", "public abstract Type treeCopyNoTransform();", "Component deepClone();", "Prototype makeCopy();", "Nda<V> shallowCopy();", "public abstract INodo copy();", "public T cloneDeep();", "Nda<V> deepC...
[ "0.72055674", "0.70228595", "0.6976102", "0.6968202", "0.6891266", "0.6854436", "0.68423724", "0.6797948", "0.67306346", "0.67213583", "0.6716323", "0.66224563", "0.6528502", "0.6517611", "0.64868015", "0.6477082", "0.6477082", "0.64724123", "0.6448307", "0.6419232", "0.64034...
0.0
-1
helper function which automatically create a cloned link when editing values used to create transformed graph and preserve the original link's information
void resetLink(Link link, Node source, Node target, Dependency type) { links.remove(link); links.add(new Link(source, target, type, source)); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected void mutateAddLink() {\n\t\t// Make sure network is not fully connected\n\n\t\t// Sum number of connections\n\t\tint totalconnections = numGenes();\n\n\t\t// Find number of each type of node\n\t\tint in = population.numInputs;\n\t\tint out = population.numOutputs;\n\t\tint hid = numNodes() - (in + out);\...
[ "0.6276657", "0.6059898", "0.59666485", "0.59433186", "0.5678281", "0.5628051", "0.56116515", "0.56092197", "0.5579149", "0.55540043", "0.5547453", "0.5529202", "0.5527949", "0.5522119", "0.550492", "0.5480102", "0.5427257", "0.54087216", "0.540123", "0.53966427", "0.5390112"...
0.5360533
23
TODO Autogenerated method stub
public static void main(String[] args) { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.66713095", "0.6567948", "0.652319", "0.648097", "0.64770466", "0.64586824", "0.64132667", "0.6376419", "0.62759", "0.62545097", "0.62371093", "0.62237984", "0.6201738", "0.619477", "0.619477", "0.61924416", "0.61872935", "0.6173417", "0.613289", "0.6127952", "0.6080854", ...
0.0
-1
/ access modifiers changed from: protected
public boolean onFieldChange(int i, Object obj, int i2) { return false; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n protected void prot() {\n }", "private stendhal() {\n\t}", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override...
[ "0.7375736", "0.7042321", "0.6922649", "0.6909494", "0.68470824", "0.6830288", "0.68062353", "0.6583185", "0.6539446", "0.65011257", "0.64917654", "0.64917654", "0.64733833", "0.6438831", "0.64330196", "0.64330196", "0.64295477", "0.6426414", "0.6420484", "0.64083177", "0.640...
0.0
-1
/ access modifiers changed from: protected
public void executeBindings() { long j; String str; boolean z; synchronized (this) { j = this.mDirtyFlags; this.mDirtyFlags = 0; } BodyUpdates bodyUpdates = this.mBodyupdate; String str2 = null; int i = 0; int i2 = ((j & 3) ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n protected void prot() {\n }", "private stendhal() {\n\t}", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override...
[ "0.7375736", "0.7042321", "0.6922649", "0.6909494", "0.68470824", "0.6830288", "0.68062353", "0.6583185", "0.6539446", "0.65011257", "0.64917654", "0.64917654", "0.64733833", "0.6438831", "0.64330196", "0.64330196", "0.64295477", "0.6426414", "0.6420484", "0.64083177", "0.640...
0.0
-1
method to connect the client to the server
public void connect() throws IOException, XMPPException, SmackException { InetAddress addr = InetAddress.getByName("192.168.1.44"); HostnameVerifier verifier = new HostnameVerifier() { @Override public boolean verify(String hostname, SSLSession session) { return f...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "ClientConnection connection();", "private void connectToServer() {\n\t\ttry {\n\t\t\tsocket = new Socket(InetAddress.getLocalHost(), Server.SERVER_PORT);\n\t\t\tin = new BufferedReader(new InputStreamReader(\n\t\t\tsocket.getInputStream()));\n\t\t\tout = new PrintWriter(socket.getOutputStream());\n\t\t}\n\t\tcat...
[ "0.76165444", "0.73346895", "0.72729176", "0.7132745", "0.7129099", "0.71147364", "0.70489234", "0.7045647", "0.7015619", "0.69870794", "0.6981484", "0.69745404", "0.69489825", "0.6929255", "0.6923312", "0.68799293", "0.68799293", "0.68799293", "0.6855209", "0.68209046", "0.6...
0.0
-1
broadcast method to send message from one client to another
private void setupUiThreadBroadCastMessageReceiver() { uiThreadMessageReceiver = new BroadcastReceiver() { @Override public void onReceive(Context context, Intent intent) { //Check if the Intents purpose is to send the message. String action = intent.getAc...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void broadcast(Object msg);", "private void broadcast(String message)\n \t{\n \t\tfor(int i = 0; i < players.length; i++)\n \t\t{\n // PROTOCOL\n \t\t\tplayers[i].sendMessage(message);\n // PROTOCOL\n \t\t}\n \t}", "public void broadcast(String message){\n Iterator it = subscribedClientsOutputStreams...
[ "0.74864435", "0.7448719", "0.70801395", "0.70448285", "0.69869274", "0.68510306", "0.68465954", "0.6820922", "0.680513", "0.6739681", "0.6713449", "0.6686117", "0.66524667", "0.6645524", "0.66320264", "0.6623631", "0.65877086", "0.65026975", "0.65013474", "0.646311", "0.6450...
0.0
-1
Check if the Intents purpose is to send the message.
@Override public void onReceive(Context context, Intent intent) { String action = intent.getAction(); if (action.equals(XmppConnectionService.SEND_MESSAGE)) { //Send the message. sendMessage(intent.getStringExtra(XmppConnectionService.B...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean hasSendMessage() {\n return typeCase_ == 4;\n }", "public boolean hasSendMessage() {\n return typeCase_ == 4;\n }", "boolean hasSender();", "boolean hasSender();", "boolean hasSender();", "boolean hasSender();", "boolean hasSender();", "boolean hasSender();", "boo...
[ "0.69031376", "0.6866395", "0.6865458", "0.6865458", "0.6865458", "0.6865458", "0.6865458", "0.6865458", "0.68568385", "0.681389", "0.67193276", "0.63622415", "0.63606757", "0.6356275", "0.6331245", "0.62317485", "0.6196219", "0.6175191", "0.6159265", "0.6121014", "0.61130047...
0.0
-1
method to send message from one client to another
private void sendMessage(String body, String toJid) { Log.d(TAG, "Sending message to :" + toJid); EntityBareJid jid = null; toJid = toJid + "@" + mApplicationContext.getString(R.string.txt_domain_name) + "/" + mApplicationContext.getString(R.string.txt_resource); ChatManager chatManage...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void sendMessage2Client(String msg){\n\t\t\t\n\t\t\toutPrintStream.println(msg);\n\t\t\t\n\t\t}", "private void sendMessageToClient(String messageToClient){\n SwingUtilities.invokeLater(new Runnable() {\n @Override\n public void run() {\n output.println(\"\\n\" ...
[ "0.78197056", "0.75601256", "0.7357101", "0.7146061", "0.71254826", "0.70823807", "0.7060171", "0.69629586", "0.69562656", "0.6910592", "0.69029653", "0.68976635", "0.6848304", "0.6841247", "0.6802269", "0.67879456", "0.67235345", "0.6713196", "0.66448134", "0.66407555", "0.6...
0.0
-1
method to disconnect the user from the server
public void disconnect() { SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(mApplicationContext); prefs.edit().putBoolean("xmpp_logged_in", false).commit(); if (mConnection != null) { mConnection.disconnect(); } mConnection = null; // ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static opCode logoutUser()\n {\n Operation request = new Operation(username);\n request.setPassword(password);\n request.setCode(opCode.LOGOUT);\n\n sendReq(clientSocketChannel,request);\n\n //chiudo socket del client\n if(clientSocketChannel != null)\n {\...
[ "0.77241075", "0.75998414", "0.7506498", "0.7477237", "0.7296189", "0.7264196", "0.7202066", "0.7119236", "0.71178454", "0.71099293", "0.7095143", "0.7056023", "0.7017184", "0.69789475", "0.6971557", "0.68853194", "0.68800485", "0.687838", "0.6871033", "0.6868099", "0.6861729...
0.69402695
15
acquire read lock for searcher (released through lockObject.releaseLock())
protected synchronized Lock acquireLock() { acquireReadLock(); return new Lock(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void acquireReadLock(E key);", "public void lock_read() {\n boolean update = false;\n logger.log(Level.INFO,\"lock_read()\"+this.lockState);\n lock.lock();\n logger.log(Level.INFO,\"lock_read : taking mutex : \"+this.lockState);\n \t\tswitch(this.lockState){\n \t\t\tcase RLC :\n \...
[ "0.6652368", "0.65532476", "0.6471492", "0.63370526", "0.6318244", "0.62829125", "0.6152964", "0.6129309", "0.5970793", "0.59622234", "0.58980167", "0.57505983", "0.5702034", "0.56956863", "0.56612355", "0.56463504", "0.5635109", "0.5627012", "0.5600685", "0.55830604", "0.557...
0.6238315
6
should be called only within read/write locked blocks
protected IndexSearcher getSearcher() { return indexSearcher; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void checkReadLock() {\r\n return;\r\n }", "protected final void lockRead() {\n m_lock.readLock().lock();\n }", "@Override\r\n\t\t\tpublic void progressMade() {\n\t\t\t\twriteReadSemaphore.refreshReadLock(lockKey, readToken, lockTimeoutSec);\r\n\t\t\t}", "protected final void lockW...
[ "0.7006462", "0.68434453", "0.68126047", "0.67627716", "0.6722422", "0.6693174", "0.66762304", "0.66675055", "0.6569356", "0.6517564", "0.64499867", "0.6353523", "0.633747", "0.6325576", "0.6296319", "0.6098254", "0.60946643", "0.6090598", "0.6077854", "0.6052486", "0.6048958...
0.0
-1
should be called only within read/write locked blocks
protected IndexReader getReader() { return indexReader; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void checkReadLock() {\r\n return;\r\n }", "protected final void lockRead() {\n m_lock.readLock().lock();\n }", "@Override\r\n\t\t\tpublic void progressMade() {\n\t\t\t\twriteReadSemaphore.refreshReadLock(lockKey, readToken, lockTimeoutSec);\r\n\t\t\t}", "protected final void lockW...
[ "0.7006462", "0.68434453", "0.68126047", "0.67627716", "0.6722422", "0.6693174", "0.66762304", "0.66675055", "0.6569356", "0.6517564", "0.64499867", "0.6353523", "0.633747", "0.6325576", "0.6296319", "0.6098254", "0.60946643", "0.6090598", "0.6077854", "0.6052486", "0.6048958...
0.0
-1
Created by Gao Yuan on 2016/2/19.
public interface IFacet extends Serializable { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void perish() {\n \n }", "private stendhal() {\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "@Override\r...
[ "0.6116522", "0.5955619", "0.5896459", "0.5891664", "0.5870144", "0.5870144", "0.582045", "0.5790157", "0.5783909", "0.5748415", "0.5736973", "0.570178", "0.57001305", "0.56980413", "0.568866", "0.5658373", "0.5650958", "0.5640666", "0.56143874", "0.5608493", "0.5605955", "...
0.0
-1
Count the number of protocols and features of this protocol (excluding this protocol itself)
@Override public int getCount() throws TableException { AtomicInteger count = new AtomicInteger(0); try { countTuplesRec(protocol, count); } catch (DatabaseException e) { throw new RuntimeException(e); } return count.get(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "int getFeaturesCount();", "public int getFeaturesCount();", "int countFeatures();", "int countFeatures();", "int getDetectionRulesCount();", "int getPeerCount();", "public int numberOfFeatures(){\n\t\treturn indexByFeature.keySet().size();\n\t}", "public @UInt32 int getChannelCount();", "Integer ge...
[ "0.6762078", "0.66685194", "0.66009456", "0.66009456", "0.6372868", "0.6337319", "0.6326672", "0.63070565", "0.630388", "0.62932384", "0.62778914", "0.62744826", "0.62744826", "0.62718254", "0.6222354", "0.6216877", "0.6189542", "0.6103697", "0.61021984", "0.6100067", "0.6094...
0.0
-1
This method is used to reset the properties for the recentlyChangedCommerceItems
private void resetPropertiesForRecentlyChangedCommerceItem(final NMOrderImpl order) throws CommerceItemNotFoundException, InvalidParameterException { NMCommerceItem commerceItem; final NMPricingTools pricingTools = CommonComponentHelper.getPricingTools(); final List<RecentlyChangedCommerceItem> recentlyC...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void resetSaleAndCostTracking() {\n for (int i = 0; i < stockList.size(); i++) {\r\n // If the beanBag object at the current position is \"isSold\" bool is true.\r\n if (((BeanBag) stockList.get(i)).isSold()) {\r\n // Remove beanBag object at that position from the \"stockList\".\r\n ...
[ "0.64878833", "0.63850105", "0.630068", "0.62033886", "0.6196363", "0.6186293", "0.6108181", "0.60312563", "0.5968344", "0.5911703", "0.5880147", "0.5877899", "0.5856483", "0.5838473", "0.58352816", "0.5834724", "0.5816335", "0.5808852", "0.5794027", "0.5782441", "0.57740885"...
0.6986796
0
Determine oos configured items.
private void displayMsgForOOSConfiguredItems(final CheckoutPageModel pageModel, final List<NMCommerceItem> commerceItemsList, final String countryCode) { final Map<String, String> messageForOOSConfiguredItems = new HashMap<String, String>(); final ConfiguratorUtils configuratorUtils = CommonComponentHelper.ge...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static ArrayList<ConfigurationItem> getAllConfigurationItems() {\n\t\tString path = CONFIGURATION;\n\t\tHttpResponse<String> response = sendRequest(path);\n\t\tif(response == null) return null;\n\t\tArrayList<ConfigurationItem> items = getConfigItems(response);\n\t\treturn items;\n\t}", "private static Ar...
[ "0.56184614", "0.54172134", "0.5388018", "0.5187606", "0.51478875", "0.51476115", "0.5141615", "0.507621", "0.5035032", "0.50301236", "0.501356", "0.50088656", "0.4998507", "0.49686489", "0.4966607", "0.4966181", "0.495192", "0.49096084", "0.48885238", "0.48868898", "0.487032...
0.584895
0
Returns the factory that creates the instances of the model.
public CoreFactory getCoreFactory() { return (CoreFactory)getEFactoryInstance(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "ModelsFactory getModelsFactory();", "public ObjectifyFactory factory() {\n return ofy().factory();\n }", "TestModelFactory getTestModelFactory();", "BehaviouralModelFactory getBehaviouralModelFactory();", "public static Factory factory() {\n return ext_dbf::new;\n }", "public ValueFactory<K...
[ "0.7365279", "0.7147646", "0.7042554", "0.66732574", "0.66433585", "0.6542524", "0.6426967", "0.6378293", "0.63225335", "0.62815636", "0.6185782", "0.61756575", "0.6168043", "0.6150566", "0.61496305", "0.61323225", "0.6131665", "0.6126879", "0.61266255", "0.6124763", "0.61157...
0.0
-1
Fixes up the loaded package, to make it appear as if it had been programmatically built.
public void fixPackageContents() { if (isFixed) return; isFixed = true; fixEClassifiers(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void fixPackageContents() {\r\n\t\tif (isFixed)\r\n\t\t\treturn;\r\n\t\tisFixed = true;\r\n\t\tfixEClassifiers();\r\n\t}", "public void setPackage()\n {\n ensureLoaded();\n m_flags.setPackage();\n setModified(true);\n }", "public void reInit() {\n super.reInit();\n ...
[ "0.65859056", "0.6445231", "0.6040012", "0.5858144", "0.58497256", "0.5806339", "0.57575876", "0.56268746", "0.56007606", "0.55704385", "0.5438613", "0.54217327", "0.5386763", "0.5374762", "0.5364798", "0.53626007", "0.535043", "0.5325274", "0.53136295", "0.5305056", "0.53009...
0.6589629
1
Sets the instance class on the given classifier.
@Override protected void fixInstanceClass(EClassifier eClassifier) { if (eClassifier.getInstanceClassName() == null) { eClassifier.setInstanceClassName("CIM15.IEC61970.Core." + eClassifier.getName()); setGeneratedClassName(eClassifier); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setClassifier(Classifier classifier) {\n this.classifier = classifier;\n //setClassifier(classifier, false);\n }", "public void setClassifier(String classifier) {\n JodaBeanUtils.notNull(classifier, \"classifier\");\n this._classifier = classifier;\n }", "public void setClas...
[ "0.7152014", "0.7083713", "0.6633443", "0.6102613", "0.6088898", "0.59818774", "0.5928768", "0.5919774", "0.5912261", "0.58657753", "0.5854344", "0.57654154", "0.57302356", "0.5724473", "0.5711917", "0.5675266", "0.567507", "0.5671128", "0.56490755", "0.5638619", "0.5636793",...
0.5413339
30
Defines literals for the meta objects that represent each class, each feature of each class, each operation of each class, each enum, and each data type
public interface Literals { /** * The meta object literal for the '{@link CIM15.IEC61970.Core.PowerSystemResource <em>Power System Resource</em>}' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see CIM15.IEC61970.Core.PowerSystemResource * @see CIM15.IEC61970.Core.CorePackage#getPowerSyste...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void generateCoreTypes() {\n\t\tvoidDt = new VoidDataType(progDataTypes);\n\t\tArrayList<TypeMap> typeList = new ArrayList<>();\n\t\ttypeList.add(new TypeMap(DataType.DEFAULT, \"undefined\", \"unknown\", false, false));\n\n\t\tfor (DataType dt : Undefined.getUndefinedDataTypes()) {\n\t\t\ttypeList.add(new ...
[ "0.5967461", "0.59550714", "0.5851314", "0.58498555", "0.58129734", "0.5715808", "0.57072264", "0.5677675", "0.5551472", "0.5547063", "0.5537038", "0.55309373", "0.5517563", "0.5499821", "0.54968923", "0.54700065", "0.5466992", "0.54558617", "0.54542357", "0.54536456", "0.543...
0.0
-1
/ Returns a list of Strings representing the stuff we have to collect in the room
private List<String> retrieveObjectsInRoom(Room room) { List<String> retirevedInRoom = new ArrayList<>(); for (String object : room.getObjects()) { if (wantedObjects.contains(object)) { retirevedInRoom.add(object); } } return retirevedInRoom; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "java.util.List<com.rpg.framework.database.Protocol.Quest> \n getQuestList();", "private RoomType[] getRoomTypeStrings()\r\n\t{\r\n\t\treturn bCtrl.getAllRoomTypes().stream().toArray(RoomType[]::new);\r\n\t}", "static private void inspectRoom() {\n ArrayList items = itemLocation.getItems(currentRo...
[ "0.6126703", "0.6108314", "0.6105139", "0.60863817", "0.6083358", "0.60657585", "0.60582083", "0.6053664", "0.5994641", "0.5985858", "0.5985632", "0.59540385", "0.59416705", "0.59397113", "0.58447033", "0.58299184", "0.57813245", "0.5775292", "0.57505083", "0.57439107", "0.57...
0.6275484
0
/ Calculates the number of spaces needed for correct spacing, it could become useless if we decide to have a maximum length for attributes' values
private int calcWhiteSpaces(Set<Room> rooms) { int n = 0; for (Room room : rooms) { if (room.getId() > n) { n = room.getId(); } } for (Room room : rooms) { if (room.getObjects().toString().length() > n) { n = room.getObj...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected int GetMaxSpacing() {\n return Card.HEIGHT/3;\n }", "protected int GetMaxSpacing() {\n return Card.HEIGHT/3;\n }", "protected int GetMaxSpacing() {\n return Card.HEIGHT/3;\n }", "protected int GetMaxSpacing() {\n\t\n return Card.HEIGHT/3;\n }", "private float getPadding() {\n ...
[ "0.6629706", "0.6629706", "0.6629706", "0.66209865", "0.6460775", "0.63652366", "0.62286055", "0.61659753", "0.610561", "0.60136205", "0.59863454", "0.5984306", "0.59760624", "0.59696525", "0.5959232", "0.5943954", "0.59240097", "0.59240097", "0.5914561", "0.59118825", "0.590...
0.6479701
4
/ Adds the header as per wanted output format to StringBuilder
private void insertHeader(StringBuilder sb) { String id = "ID"; String name = "Name"; String objects = "Objects collected"; sb.append(id); insertSpacing(sb, id); sb.append(name); insertSpacing(sb, name); sb.append(objects); insertSpacing(sb, object...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "String makeHeader() {\n StringBuilder ans = new StringBuilder(\" \"); // README shows two spaces at\n String sep=\"\"; //start with nothing to separate, then switch to | to separate\n for (int i = 0; i < toDisplay.getWidth(); i++) {\n ans.append(sep);\n ans.append(i);\n sep = \"|\";\n }...
[ "0.73548484", "0.7066484", "0.7029699", "0.7005242", "0.6890088", "0.67847466", "0.6718012", "0.67113", "0.670452", "0.66886246", "0.659898", "0.6548107", "0.6511379", "0.6499199", "0.6444999", "0.6405237", "0.638609", "0.63853633", "0.63266176", "0.62612236", "0.6233178", ...
0.76430434
0
/ Adds a line to StringBuilder with room's id, name and retrieved objects
private void printRoomInfo(Room room, List<String> retirevedInRoom, StringBuilder sb) { sb.append(room.getId()); insertSpacing(sb, room.getId().toString()); sb.append(room.getName()); insertSpacing(sb, room.getName()); if (CollectionUtils.isNotEmpty(retirevedInRoom)) { ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String toString()\n {\n String filler = new String(\"\\\"RoomId\\\", \\\"Name\\\", \\\"Surname\\\", \\\"Situation\\\"\");\n for(Room temp : data_set)\n {\n filler += \"\\n\" + temp.toString();\n }\n return filler;\n }", "public StringBuilder out()\n {...
[ "0.65379477", "0.5776002", "0.56545025", "0.55721647", "0.5524072", "0.5500876", "0.54490966", "0.5429835", "0.53989094", "0.538469", "0.5379687", "0.537402", "0.5348834", "0.53475106", "0.53141445", "0.52824914", "0.5279074", "0.52745503", "0.52731514", "0.52694803", "0.5266...
0.66153383
0
write your code here
public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); System.out.println("Introduce un numero: "); int n = Integer.parseInt(br.readLine()); System.out.println(fiborepe(n)); System.out.prin...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void logic(){\r\n\r\n\t}", "public static void generateCode()\n {\n \n }", "@Override\n\tprotected void logic() {\n\n\t}", "private static void cajas() {\n\t\t\n\t}", "void pramitiTechTutorials() {\n\t\n}", "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "@Override\r\n\tpub...
[ "0.61019534", "0.6054925", "0.58806974", "0.58270746", "0.5796887", "0.56999695", "0.5690986", "0.56556827", "0.5648637", "0.5640487", "0.56354505", "0.56032085", "0.56016207", "0.56006724", "0.5589654", "0.5583692", "0.55785793", "0.55733466", "0.5560209", "0.55325305", "0.5...
0.0
-1
Spring Data JPA repository for the OrderServices entity.
@SuppressWarnings("unused") @Repository public interface OrderServicesRepository extends JpaRepository<OrderServices, Long>, JpaSpecificationExecutor<OrderServices> { @Query("select distinct order_services from OrderServices order_services left join fetch order_services.quotations") List<OrderServices> findAllW...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Repository\npublic interface IOrderRepository extends JpaRepository<Order, Long> {\n}", "@Repository\npublic interface OrderRepository extends CrudRepository<Order, Long> {\n\n Order findByOrderCode(Long orderCode);\n List<Order> findByStatus(OrderRequestStatus status);\n\t\n}", "public interface OrderS...
[ "0.7117867", "0.70363164", "0.69633293", "0.6947319", "0.69175327", "0.68665224", "0.6839193", "0.6815957", "0.66926634", "0.66884995", "0.6672934", "0.6667783", "0.66524726", "0.6610719", "0.6577383", "0.6560182", "0.65568733", "0.65198135", "0.644943", "0.6440921", "0.64290...
0.0
-1
$ANTLR start "evaluator" C:\\work\\art\\latestcode\\vclangcodedd0a89f0d579f02ec8c3d8cd398ea8f7cbb445aa\\src\\art\\grammar\\expression.g:25:1: evaluator : ( stringExpression | freeExpression | STRING ) ;
public final expressionParser.evaluator_return evaluator() throws RecognitionException { expressionParser.evaluator_return retval = new expressionParser.evaluator_return(); retval.start = input.LT(1); CommonTree root_0 = null; Token STRING3=null; expressionParser.stringExpressi...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public final expressionParser.expression_return expression() throws RecognitionException {\n expressionParser.expression_return retval = new expressionParser.expression_return();\n retval.start = input.LT(1);\n\n CommonTree root_0 = null;\n\n expressionParser.freeExpression_return freeE...
[ "0.63428193", "0.6246925", "0.6225711", "0.6121832", "0.60882723", "0.593525", "0.59200114", "0.5869896", "0.5837415", "0.5787397", "0.5720064", "0.5692705", "0.568264", "0.567502", "0.56617403", "0.5625325", "0.5611566", "0.5611566", "0.55949944", "0.5585623", "0.55785435", ...
0.76653767
0
$ANTLR start "expression" C:\\work\\art\\latestcode\\vclangcodedd0a89f0d579f02ec8c3d8cd398ea8f7cbb445aa\\src\\art\\grammar\\expression.g:34:1: expression : ( freeExpression | stringExpression );
public final expressionParser.expression_return expression() throws RecognitionException { expressionParser.expression_return retval = new expressionParser.expression_return(); retval.start = input.LT(1); CommonTree root_0 = null; expressionParser.freeExpression_return freeExpression4 ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public final expressionParser.freeExpression_return freeExpression() throws RecognitionException {\n expressionParser.freeExpression_return retval = new expressionParser.freeExpression_return();\n retval.start = input.LT(1);\n\n CommonTree root_0 = null;\n\n Token string_literal21=null;...
[ "0.61547375", "0.5722296", "0.5720332", "0.55557483", "0.5487412", "0.5479412", "0.54343534", "0.5425283", "0.5419851", "0.5342788", "0.53269696", "0.53101677", "0.52954483", "0.528792", "0.52729553", "0.5247247", "0.5245954", "0.5233571", "0.51864564", "0.51602733", "0.51532...
0.7118413
0
$ANTLR start "stringExpression" C:\\work\\art\\latestcode\\vclangcodedd0a89f0d579f02ec8c3d8cd398ea8f7cbb445aa\\src\\art\\grammar\\expression.g:39:1: stringExpression : ( ( STRING ) ( nameExpression )+ ( STRING ) )+ ;
public final expressionParser.stringExpression_return stringExpression() throws RecognitionException { expressionParser.stringExpression_return retval = new expressionParser.stringExpression_return(); retval.start = input.LT(1); CommonTree root_0 = null; Token STRING6=null; Tok...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "StringExpression createStringExpression();", "StringLiteralExp createStringLiteralExp();", "<C> StringLiteralExp<C> createStringLiteralExp();", "public final void synpred1_expression_fragment() throws RecognitionException { \n // C:\\\\work\\\\art\\\\latest-code\\\\vclang-code-dd0a89f0d579f02ec8c3d8...
[ "0.7159973", "0.6661967", "0.6165245", "0.6019744", "0.6013783", "0.6000679", "0.5991285", "0.59567165", "0.58960325", "0.5867471", "0.585505", "0.5796266", "0.57823", "0.57737094", "0.576706", "0.57382184", "0.57319355", "0.5723628", "0.5681351", "0.5629712", "0.5624723", ...
0.7214204
0
$ANTLR start "nameExpression" C:\\work\\art\\latestcode\\vclangcodedd0a89f0d579f02ec8c3d8cd398ea8f7cbb445aa\\src\\art\\grammar\\expression.g:43:1: nameExpression : ( EPRESSIONCHAR simpleExpr EPRESSIONCHAR | EPRESSIONCHAR freeExpression ( EPRESSIONCHAR )+ );
public final expressionParser.nameExpression_return nameExpression() throws RecognitionException { expressionParser.nameExpression_return retval = new expressionParser.nameExpression_return(); retval.start = input.LT(1); CommonTree root_0 = null; Token EPRESSIONCHAR9=null; Toke...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public final expressionParser.nameExprTerm_return nameExprTerm() throws RecognitionException {\n expressionParser.nameExprTerm_return retval = new expressionParser.nameExprTerm_return();\n retval.start = input.LT(1);\n\n CommonTree root_0 = null;\n\n Token IDENT17=null;\n Token R...
[ "0.6272083", "0.6245714", "0.6154132", "0.601657", "0.5797595", "0.5783413", "0.57715845", "0.5770486", "0.5718415", "0.5680027", "0.56729466", "0.5656466", "0.5562224", "0.55149275", "0.5421006", "0.5408772", "0.54001236", "0.5253613", "0.52430767", "0.5222301", "0.5205381",...
0.723962
0
$ANTLR start "simpleExpr" C:\\work\\art\\latestcode\\vclangcodedd0a89f0d579f02ec8c3d8cd398ea8f7cbb445aa\\src\\art\\grammar\\expression.g:49:1: simpleExpr : REFERENCECHAR ( nameExprTerm ) ;
public final expressionParser.simpleExpr_return simpleExpr() throws RecognitionException { expressionParser.simpleExpr_return retval = new expressionParser.simpleExpr_return(); retval.start = input.LT(1); CommonTree root_0 = null; Token REFERENCECHAR15=null; expressionParser.na...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public final expressionParser.nameExprTerm_return nameExprTerm() throws RecognitionException {\n expressionParser.nameExprTerm_return retval = new expressionParser.nameExprTerm_return();\n retval.start = input.LT(1);\n\n CommonTree root_0 = null;\n\n Token IDENT17=null;\n Token R...
[ "0.6795694", "0.6511196", "0.5804806", "0.5735568", "0.5682956", "0.5617687", "0.555635", "0.5274084", "0.5208895", "0.5170626", "0.5158647", "0.5147721", "0.51298094", "0.5074072", "0.50729936", "0.4989051", "0.49334425", "0.4886282", "0.48546454", "0.48546454", "0.48318684"...
0.81235766
0
$ANTLR start "nameExprTerm" C:\\work\\art\\latestcode\\vclangcodedd0a89f0d579f02ec8c3d8cd398ea8f7cbb445aa\\src\\art\\grammar\\expression.g:53:1: nameExprTerm : ( IDENT | REFERENCECHAR simpleExpr | simpleExpr ) ;
public final expressionParser.nameExprTerm_return nameExprTerm() throws RecognitionException { expressionParser.nameExprTerm_return retval = new expressionParser.nameExprTerm_return(); retval.start = input.LT(1); CommonTree root_0 = null; Token IDENT17=null; Token REFERENCECHAR...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public final void synpred11_expression_fragment() throws RecognitionException { \n // C:\\\\work\\\\art\\\\latest-code\\\\vclang-code-dd0a89f0d579f02ec8c3d8cd398ea8f7cbb445aa\\\\src\\\\art\\\\grammar\\\\expression.g:50:20: ( nameExprTerm )\n // C:\\\\work\\\\art\\\\latest-code\\\\vclang-code-dd0a89...
[ "0.66833234", "0.64059675", "0.6351447", "0.6340084", "0.6014435", "0.56771857", "0.565035", "0.56498146", "0.56385785", "0.55903894", "0.54880476", "0.54753834", "0.54488957", "0.54469997", "0.54319316", "0.54023325", "0.5395774", "0.538409", "0.53695977", "0.53099835", "0.5...
0.76545334
0
$ANTLR start "freeExpression" C:\\work\\art\\latestcode\\vclangcodedd0a89f0d579f02ec8c3d8cd398ea8f7cbb445aa\\src\\art\\grammar\\expression.g:60:1: freeExpression : (r1= relation ( ( '&&' | '||' ) r2= relation ) ) ;
public final expressionParser.freeExpression_return freeExpression() throws RecognitionException { expressionParser.freeExpression_return retval = new expressionParser.freeExpression_return(); retval.start = input.LT(1); CommonTree root_0 = null; Token string_literal21=null; To...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public final expressionParser.expression_return expression() throws RecognitionException {\n expressionParser.expression_return retval = new expressionParser.expression_return();\n retval.start = input.LT(1);\n\n CommonTree root_0 = null;\n\n expressionParser.freeExpression_return freeE...
[ "0.5778125", "0.51328385", "0.507644", "0.49241412", "0.49146777", "0.48973888", "0.4881163", "0.48640102", "0.48540702", "0.48124117", "0.48092097", "0.4772653", "0.47222728", "0.47195387", "0.47035158", "0.47031245", "0.46959928", "0.46958205", "0.46944427", "0.46842614", "...
0.73805183
0
$ANTLR start "arithmeticTerm" C:\\work\\art\\latestcode\\vclangcodedd0a89f0d579f02ec8c3d8cd398ea8f7cbb445aa\\src\\art\\grammar\\expression.g:68:1: arithmeticTerm : ( IDENT | '(' freeExpression ')' | ( 'true' | 'false' ) | INTEGER ) ;
public final expressionParser.arithmeticTerm_return arithmeticTerm() throws RecognitionException { expressionParser.arithmeticTerm_return retval = new expressionParser.arithmeticTerm_return(); retval.start = input.LT(1); CommonTree root_0 = null; Token IDENT23=null; Token char_...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public String getParsedGrammar() {\n return \"<arithmetic_expression> -> id\\n\";\n }", "int parseExpression() {\r\n\t\t\t\tint x = parseTerm();\r\n\t\t\t\tfor (;;) {\r\n\t\t\t\t\tif (eat('+'))\r\n\t\t\t\t\t\tx += parseTerm(); // addition\r\n\t\t\t\t\telse if (eat('-'))\r\n\t\t\t\t\t\tx ...
[ "0.6353756", "0.61689657", "0.5914452", "0.5863296", "0.5863296", "0.58346766", "0.5795384", "0.5697401", "0.5646069", "0.5631663", "0.5622461", "0.55966985", "0.5585391", "0.5564501", "0.55447865", "0.5511098", "0.54526794", "0.543683", "0.5427297", "0.54214907", "0.53736657...
0.7737874
0
$ANTLR start "relation" C:\\work\\art\\latestcode\\vclangcodedd0a89f0d579f02ec8c3d8cd398ea8f7cbb445aa\\src\\art\\grammar\\expression.g:75:1: relation : ( add ( ( '==' | '!=' | '=' | '>' ) add ) ) ;
public final expressionParser.relation_return relation() throws RecognitionException { expressionParser.relation_return retval = new expressionParser.relation_return(); retval.start = input.LT(1); CommonTree root_0 = null; Token string_literal30=null; Token string_literal31=nul...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void addRelation(String value) {\n/* 262 */ addStringToBag(\"relation\", value);\n/* */ }", "public final EObject ruleRelationalExpression() throws RecognitionException {\n EObject current = null;\n\n Token lv_operator_2_1=null;\n Token lv_operator_2_2=null;\n Token l...
[ "0.6270198", "0.58573514", "0.57774645", "0.56632006", "0.5656785", "0.5608711", "0.54893774", "0.54750866", "0.54134566", "0.5406569", "0.54058677", "0.5373782", "0.52200127", "0.52194685", "0.51774955", "0.5127658", "0.50996614", "0.5076144", "0.50758123", "0.5060335", "0.5...
0.7356519
0
$ANTLR start "add" C:\\work\\art\\latestcode\\vclangcodedd0a89f0d579f02ec8c3d8cd398ea8f7cbb445aa\\src\\art\\grammar\\expression.g:79:1: add : mult ( ( '+' | '' ) mult ) ;
public final expressionParser.add_return add() throws RecognitionException { expressionParser.add_return retval = new expressionParser.add_return(); retval.start = input.LT(1); CommonTree root_0 = null; Token char_literal38=null; Token char_literal39=null; expressionPar...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Expression addExpression() throws SyntaxException {\r\n\t\tToken first = t;\r\n\t\tExpression e0 = multExpression();\r\n\t\twhile(isKind(OP_PLUS, OP_MINUS)) {\r\n\t\t\tToken op = consume();\r\n\t\t\tExpression e1 = multExpression();\r\n\t\t\te0 = new ExpressionBinary(first,e0,op,e1);\r\n\t\t}\r\n\t\treturn e0;\r\n...
[ "0.7270118", "0.6878345", "0.67677563", "0.6618803", "0.6610582", "0.6489004", "0.63331515", "0.6304838", "0.62941384", "0.62403303", "0.6150175", "0.6126444", "0.60786676", "0.60420036", "0.6005353", "0.60053253", "0.5996659", "0.597952", "0.5907499", "0.5901644", "0.5838399...
0.7521461
0
$ANTLR start "mult" C:\\work\\art\\latestcode\\vclangcodedd0a89f0d579f02ec8c3d8cd398ea8f7cbb445aa\\src\\art\\grammar\\expression.g:83:1: mult : unary ( ( '' | '/' ) unary ) ;
public final expressionParser.mult_return mult() throws RecognitionException { expressionParser.mult_return retval = new expressionParser.mult_return(); retval.start = input.LT(1); CommonTree root_0 = null; Token char_literal42=null; Token char_literal43=null; expressio...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private Term parseMul(final boolean required) throws ParseException {\n Term t1 = parseUnary(required);\n while (t1 != null) {\n int tt = _tokenizer.next();\n if (tt == '*') {\n Term t2 = parseUnary(true);\n if (t1.isD() && t2.isN() || t1.isN(...
[ "0.70308876", "0.6677482", "0.6669924", "0.6359911", "0.63184804", "0.6290486", "0.6233217", "0.613799", "0.60709083", "0.6004858", "0.6000944", "0.5972892", "0.59380746", "0.5920007", "0.5798326", "0.57455003", "0.57455003", "0.5708241", "0.5702253", "0.56924963", "0.5671930...
0.73566955
0
$ANTLR start "unary" C:\\work\\art\\latestcode\\vclangcodedd0a89f0d579f02ec8c3d8cd398ea8f7cbb445aa\\src\\art\\grammar\\expression.g:87:1: unary : ( ( '+' | negation ) arithmeticTerm | defined arithmeticTerm | bpv );
public final expressionParser.unary_return unary() throws RecognitionException { expressionParser.unary_return retval = new expressionParser.unary_return(); retval.start = input.LT(1); CommonTree root_0 = null; Token char_literal45=null; expressionParser.negation_return negatio...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public final void unaryExpression() throws RecognitionException {\n int unaryExpression_StartIndex = input.index();\n try { dbg.enterRule(getGrammarFileName(), \"unaryExpression\");\n if ( getRuleLevel()==0 ) {dbg.commence();}\n incRuleLevel();\n dbg.location(815, 1);\n\n ...
[ "0.7145209", "0.709638", "0.700599", "0.69490516", "0.6935517", "0.6905523", "0.6800711", "0.6757483", "0.6597216", "0.6539349", "0.64754474", "0.64519626", "0.643111", "0.63309187", "0.6307105", "0.6212904", "0.6204806", "0.6183596", "0.6171396", "0.61493134", "0.6140721", ...
0.7392185
0
$ANTLR start "negation" C:\\work\\art\\latestcode\\vclangcodedd0a89f0d579f02ec8c3d8cd398ea8f7cbb445aa\\src\\art\\grammar\\expression.g:93:1: negation : '' > NEGATION ;
public final expressionParser.negation_return negation() throws RecognitionException { expressionParser.negation_return retval = new expressionParser.negation_return(); retval.start = input.LT(1); CommonTree root_0 = null; Token char_literal51=null; CommonTree char_literal51_t...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Node negaposi()\r\n\t{\r\n\t\tint index = lexer.getPosition();\r\n\t\tif(lexer.getToken()==Lexer.Token.PLUS)\r\n\t\t{\r\n\t\t\tNode fact = power();\r\n\t\t\tif(fact!=null)\r\n\t\t\t{\r\n\t\t\t\treturn new Positive(fact);\r\n\t\t\t}\r\n\t\t}\r\n\t\tlexer.setPosition(index);\r\n\t\tif(lexer.getToken()==Lexer....
[ "0.688108", "0.6802199", "0.6741505", "0.6694194", "0.66343975", "0.65907496", "0.65463173", "0.6483481", "0.6482221", "0.6443474", "0.64217013", "0.62942135", "0.62765604", "0.61061734", "0.60724044", "0.6067735", "0.6053213", "0.6042093", "0.5989753", "0.5976608", "0.597162...
0.7703194
0
$ANTLR start "defined" C:\\work\\art\\latestcode\\vclangcodedd0a89f0d579f02ec8c3d8cd398ea8f7cbb445aa\\src\\art\\grammar\\expression.g:97:1: defined : 'defined' > DEFINED ;
public final expressionParser.defined_return defined() throws RecognitionException { expressionParser.defined_return retval = new expressionParser.defined_return(); retval.start = input.LT(1); CommonTree root_0 = null; Token string_literal52=null; CommonTree string_literal52_t...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public final void mDEFINED() throws RecognitionException {\r\n try {\r\n int _type = DEFINED;\r\n int _channel = DEFAULT_TOKEN_CHANNEL;\r\n // C:\\\\sandbox\\\\objc2j\\\\src\\\\ru\\\\andremoniy\\\\objctojavacnv\\\\antlr\\\\Preprocessor.g:267:9: ( 'defined' )\r\n /...
[ "0.7787591", "0.63481843", "0.58029133", "0.53242517", "0.5321066", "0.5193829", "0.5184738", "0.50741756", "0.505257", "0.49734485", "0.49010926", "0.48889562", "0.48592335", "0.48281413", "0.4825723", "0.48138556", "0.47976276", "0.47916216", "0.47688198", "0.46820644", "0....
0.73767906
1
$ANTLR start "artvarchar" C:\\work\\art\\latestcode\\vclangcodedd0a89f0d579f02ec8c3d8cd398ea8f7cbb445aa\\src\\art\\grammar\\expression.g:101:1: artvarchar : '$' > ARTVARCHAR ;
public final expressionParser.artvarchar_return artvarchar() throws RecognitionException { expressionParser.artvarchar_return retval = new expressionParser.artvarchar_return(); retval.start = input.LT(1); CommonTree root_0 = null; Token char_literal53=null; CommonTree char_lit...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public final void mT__89() throws RecognitionException {\n try {\n int _type = T__89;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // /Users/devdatta.kulkarni/Documents/Cassandra/apache-cassandra-0.8.6-src/src/java/org/apache/cassandra/cql/Cql.g:56:7: ( 'varchar' )\n ...
[ "0.5068209", "0.49582246", "0.4821812", "0.47692174", "0.45191514", "0.4507746", "0.44682232", "0.44638586", "0.44476426", "0.44096994", "0.43999147", "0.4387746", "0.43876615", "0.43776527", "0.43667182", "0.43601072", "0.4354114", "0.43461838", "0.43250147", "0.43191448", "...
0.7835005
0
$ANTLR start "bpv" C:\\work\\art\\latestcode\\vclangcodedd0a89f0d579f02ec8c3d8cd398ea8f7cbb445aa\\src\\art\\grammar\\expression.g:110:1: bpv : ( artvarchar ISLAST arithmeticTerm | artvarchar ISFIRST arithmeticTerm | artvarchar SIZE arithmeticTerm | artvarchar ISNUMERIC arithmeticTerm | artvarchar ULCAP arithmeticTerm |...
public final expressionParser.bpv_return bpv() throws RecognitionException { expressionParser.bpv_return retval = new expressionParser.bpv_return(); retval.start = input.LT(1); CommonTree root_0 = null; Token ISLAST55=null; Token ISFIRST58=null; Token SIZE61=null; ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public interface JavaGrammarConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int PLUS = 5;\n /** RegularExpression Id. */\n int MINUS = 6;\n /** RegularExpression Id. */\n int MULTIPLY = 7;\n /** RegularExpression Id. */\n int DIVIDE = 8;\n /** RegularExpression Id. */...
[ "0.51238954", "0.50264746", "0.5012568", "0.49698403", "0.46764368", "0.46612477", "0.46548378", "0.4652743", "0.46472988", "0.46046484", "0.45776814", "0.45733407", "0.4562851", "0.45556128", "0.454998", "0.45454842", "0.45307928", "0.4506239", "0.44925424", "0.44828132", "0...
0.71838236
0
$ANTLR start "islast" C:\\work\\art\\latestcode\\vclangcodedd0a89f0d579f02ec8c3d8cd398ea8f7cbb445aa\\src\\art\\grammar\\expression.g:142:1: islast : ISLAST '(' IDENT ')' ;
public final expressionParser.islast_return islast() throws RecognitionException { expressionParser.islast_return retval = new expressionParser.islast_return(); retval.start = input.LT(1); CommonTree root_0 = null; Token ISLAST82=null; Token char_literal83=null; Token I...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Snippet visit(DotIsLast n, Snippet argu) {\n\t Snippet _ret= new Snippet(\"\",\"\",null,false);\n\t _ret = n.identifier.accept(this, argu);\n\t n.nodeToken.accept(this, argu);\n\t n.nodeToken1.accept(this, argu);\n\t n.nodeToken2.accept(this, argu);\n\t n.nodeToken3.accept(this...
[ "0.58826214", "0.58655024", "0.5633149", "0.56043327", "0.5492679", "0.53841287", "0.53273684", "0.52973133", "0.5230517", "0.52298635", "0.5160006", "0.5136549", "0.51077336", "0.51059234", "0.50670785", "0.5039658", "0.50013065", "0.4949425", "0.49444094", "0.4923124", "0.4...
0.77026427
0
$ANTLR start "isfirst" C:\\work\\art\\latestcode\\vclangcodedd0a89f0d579f02ec8c3d8cd398ea8f7cbb445aa\\src\\art\\grammar\\expression.g:143:1: isfirst : ISFIRST '(' IDENT ')' ;
public final expressionParser.isfirst_return isfirst() throws RecognitionException { expressionParser.isfirst_return retval = new expressionParser.isfirst_return(); retval.start = input.LT(1); CommonTree root_0 = null; Token ISFIRST86=null; Token char_literal87=null; To...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Snippet visit(DotIsFirst n, Snippet argu) {\n\t Snippet _ret= new Snippet(\"\",\"\",null,false);\n\t _ret = n.identifier.accept(this, argu);\n\t n.nodeToken.accept(this, argu);\n\t n.nodeToken1.accept(this, argu);\n\t n.nodeToken2.accept(this, argu);\n\t n.nodeToken3.accept(thi...
[ "0.60472363", "0.5989453", "0.5756684", "0.5641304", "0.56170475", "0.55553865", "0.5530987", "0.5398362", "0.5337646", "0.53320676", "0.53257567", "0.5322051", "0.52843845", "0.52837384", "0.52776814", "0.52575505", "0.51989377", "0.51817554", "0.5176897", "0.5165165", "0.51...
0.77141625
0
$ANTLR end "isfirst" $ANTLR start synpred1_expression
public final void synpred1_expression_fragment() throws RecognitionException { // C:\\work\\art\\latest-code\\vclang-code-dd0a89f0d579f02ec8c3d8cd398ea8f7cbb445aa\\src\\art\\grammar\\expression.g:27:4: ( stringExpression ) // C:\\work\\art\\latest-code\\vclang-code-dd0a89f0d579f02ec8c3d8cd398ea8f7cbb...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public final expressionParser.isfirst_return isfirst() throws RecognitionException {\n expressionParser.isfirst_return retval = new expressionParser.isfirst_return();\n retval.start = input.LT(1);\n\n CommonTree root_0 = null;\n\n Token ISFIRST86=null;\n Token char_literal87=null...
[ "0.6576263", "0.6172567", "0.5888769", "0.57577604", "0.5588832", "0.5558461", "0.5511327", "0.54588187", "0.5257596", "0.5221327", "0.5202367", "0.517245", "0.51709", "0.5149392", "0.51390433", "0.5129537", "0.51189095", "0.51111585", "0.50808716", "0.5074797", "0.50681543",...
0.4764665
47