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
Returns the new object group.
public final DodlesGroup getNewObjectGroup() { return newObjectGroup; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void newGroup() {\n addGroup(null, true);\n }", "public ObjectGroup getObjectGroup() {\r\n return ObjectGroup.forType(id);\r\n }", "public static Group initGroupObject(){\n Group test_group = new Group(\"testGroup\");\n return test_group;\n }", "@Override\n\tpublic...
[ "0.7475949", "0.7363131", "0.70578057", "0.6999675", "0.6927399", "0.6853352", "0.674977", "0.6680052", "0.6636951", "0.6636951", "0.6634047", "0.6634047", "0.6634047", "0.6634047", "0.6634047", "0.6634047", "0.6634047", "0.6634047", "0.6634047", "0.6634047", "0.6634047", "...
0.8704997
0
Sets the new object group.
public final void setNewObjectGroup(DodlesGroup newNewObjectGroup) { newObjectGroup = newNewObjectGroup; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void newGroup() {\n addGroup(null, true);\n }", "public void setGroup(entity.Group value);", "public void setGroup(final Group group) {\n this.group = group;\n }", "public final DodlesGroup getNewObjectGroup() {\n return newObjectGroup;\n }", "public void setGroupID(Lon...
[ "0.768472", "0.6951424", "0.6872091", "0.6774052", "0.67361933", "0.6709885", "0.64547116", "0.64253205", "0.63946074", "0.63627714", "0.6343115", "0.6335916", "0.6311297", "0.62894624", "0.6285146", "0.6278673", "0.62382054", "0.62318534", "0.6228384", "0.61822027", "0.61746...
0.7587747
1
Returns the actor with the given ID.
public final DodlesActor getActor(String id) { return all.get(id); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic Actor findOne(long id) {\n\t\treturn actorRepository.findOne(id);\n\t}", "@Override\n\t\tpublic Actor get(int id) {\n\t\t\treturn null;\n\t\t}", "ActorId getActorId();", "public Actor getActorByIdentity(Identity ident) {\r\n\t\tIterator<Entry<Identity, Actor>> iter = actors.entrySet().ite...
[ "0.8011955", "0.7929245", "0.70349526", "0.6583077", "0.64885384", "0.6412713", "0.63523424", "0.62985796", "0.62380683", "0.623793", "0.6237082", "0.62165827", "0.6157185", "0.6149377", "0.6104254", "0.6101043", "0.60173774", "0.59988177", "0.5987677", "0.59672356", "0.59635...
0.8351031
0
Adds the actor to the object display list.
public final void addActor(DodlesActor actor) { if (actor.getName() == null) { throw new GdxRuntimeException("Actor must have a name set!"); } all.put(actor.getName(), actor); if (actor instanceof BaseDodlesViewGroup) { for (Object view : ((BaseDodlesViewGroup) ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void addActor(){\n actorProfileList.add(new ActorProfile());\n }", "public void addActor(Actor actor) { ActorSet.addElement(actor); }", "public void addActor(CastMember actor)\n\t{\n\t\tpeopleAct.add(actor);\n\t}", "void add(Actor actor);", "public void addActor(Actor actor) {\n\t\tObjects...
[ "0.7706416", "0.74429125", "0.7247816", "0.71357125", "0.6422122", "0.6254193", "0.62334996", "0.6225056", "0.61612564", "0.61453253", "0.60634434", "0.60099006", "0.6003839", "0.5868048", "0.5815282", "0.57593006", "0.56973934", "0.5692003", "0.56797487", "0.5678191", "0.566...
0.67745245
4
Removes the actor from the object display list.
public final void removeActor(String id) { DodlesActor actor = all.get(id); if (actor != null) { // Remove from scene all.remove(id); // Clear selected actors if applicable if (selectedActors.contains(actor)) { selectedActors.remove(ac...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void removeActor(Actor act) { ActorSet.removeElement(act); }", "void remove(Actor actor);", "public void removeGameObj(GameObject obj){\n display.getChildren().remove(obj.getDisplay());\n }", "public CastMember removeActor(CastMember actor)\n\t{\n\t\tpeopleAct.remove(actor);\n\t\treturn acto...
[ "0.74651945", "0.7225549", "0.7072099", "0.70054364", "0.6958822", "0.6879812", "0.6767703", "0.6196714", "0.61413836", "0.6133935", "0.6087204", "0.60625", "0.6018682", "0.6009284", "0.59975106", "0.59765977", "0.5926696", "0.59224385", "0.5902334", "0.58899033", "0.58812726...
0.682317
6
Returns the active layer.
public final BaseDodlesViewGroup getActiveLayer() { if (activeLayer == null) { activeLayer = getScene(); } return activeLayer; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Layer getActiveLayer() {\n\t\treturn null;\n\t}", "public ImageLayer getActiveImageLayer() {\n checkInvariant();\n if (activeLayer instanceof ImageLayer) {\n ImageLayer imageLayer = (ImageLayer) activeLayer;\n return imageLayer;\n }\n throw new IllegalStat...
[ "0.8496525", "0.75658923", "0.7429307", "0.7020931", "0.693071", "0.69124013", "0.6885071", "0.67996305", "0.67651623", "0.67311764", "0.65447587", "0.6422193", "0.64174384", "0.6363387", "0.63254803", "0.63249236", "0.63190943", "0.6315001", "0.62837285", "0.6226162", "0.622...
0.7957772
1
Returns all leaflevel actors that are descendants of the given actor.
public final Array<DodlesActor> getLeafActors(DodlesActor actor) { Array<DodlesActor> result = new Array<DodlesActor>(); if (actor == null) { actor = getActiveLayer(); } if ((!selectingLocked && lockedActorIDs.contains(actor.getName())) || alphaMap.containsKey(actor.getName...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean isDescendantOf(Actor actor) {\n if (actor == null)\n throw new IllegalArgumentException(\"actor cannot be null.\");\n\n if(actor instanceof Group){\n Group group=(Group)actor;\n return internalGroup.isDescendantOf(group.internalGroup);\n }\n\n ...
[ "0.5897534", "0.5857717", "0.5687494", "0.54548746", "0.54472595", "0.53982794", "0.5255003", "0.52536136", "0.51393664", "0.50687826", "0.5056437", "0.50293076", "0.4979744", "0.49730048", "0.4964854", "0.49360752", "0.4923171", "0.4909547", "0.4894622", "0.487823", "0.48664...
0.66119534
0
Sets the active layer.
public final void setActiveLayer(BaseDodlesViewGroup layer) { activeLayer = layer; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setActive(boolean active) {\n isActive = active;\n this.refreshDrawable();\n }", "public void setActive(boolean active)\n {\n this.active = active;\n\n if(!this.active)\n {\n INDirector.setProjection(ProjectionFormat.DirectorProjection2D);\n ...
[ "0.6729183", "0.6682688", "0.6547524", "0.64957255", "0.6468771", "0.6445785", "0.64280444", "0.6426229", "0.6318783", "0.6306105", "0.6285723", "0.62823075", "0.6257748", "0.62553596", "0.6248362", "0.62387115", "0.62384987", "0.62281656", "0.62231374", "0.62113935", "0.6211...
0.7855961
0
Returns all actors in the active layer, highest zindex first.
public final Array<DodlesActor> activeActors() { return activeActors(true); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public final Array<DodlesActor> activeActors(boolean highestZIndexFirst) {\n DodlesActor curActiveLayer = getActiveLayer();\n Array<DodlesActor> result = new Array<DodlesActor>();\n\n if (curActiveLayer instanceof BaseDodlesViewGroup) {\n BaseDodlesViewGroup group = (BaseDodlesViewG...
[ "0.73651624", "0.63041854", "0.62880564", "0.6254864", "0.62513685", "0.62183714", "0.6105995", "0.573562", "0.5705124", "0.56657946", "0.5642928", "0.5577966", "0.55513984", "0.5330216", "0.53284675", "0.5310901", "0.5297337", "0.5176569", "0.5138101", "0.51273054", "0.51256...
0.6182807
6
Returns all actors in the active layer, with either highest zindex first (true) or last.
public final Array<DodlesActor> activeActors(boolean highestZIndexFirst) { DodlesActor curActiveLayer = getActiveLayer(); Array<DodlesActor> result = new Array<DodlesActor>(); if (curActiveLayer instanceof BaseDodlesViewGroup) { BaseDodlesViewGroup group = (BaseDodlesViewGroup) curA...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public ArrayList<Actor> getActors() {\n ArrayList<Actor> actors = new ArrayList<Actor>();\n Location loc = getLocation();\n for (int row = loc.getRow() - 2; row <= loc.getRow() + 2; row++) {\n for (int col = loc.getCol() - 2; col <= loc.getCol() + 2; col++) {\n if (ge...
[ "0.6215663", "0.61758745", "0.61542803", "0.61097586", "0.6075373", "0.59984815", "0.5917867", "0.5677942", "0.5517537", "0.55030304", "0.54986", "0.5495759", "0.528547", "0.5235666", "0.51680547", "0.50759494", "0.507146", "0.5053667", "0.5006634", "0.4951435", "0.49164763",...
0.74902934
0
Clears all selected actors.
public final void clearSelectedActors() { selectedActors.clear(); updateStateUiAfterSelection(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void removeAllObjects()\n {\n removeObjects (getObjects(Actor.class));\n }", "void clearActions();", "public void clear()\n {\n for (SelectableGraphElement element : elements) {\n element.setSelected(false);\n }\n elements.clear();\n }", "public void...
[ "0.67488074", "0.6615424", "0.6590652", "0.65703565", "0.6542699", "0.63915765", "0.6344047", "0.6326679", "0.6267543", "0.62094915", "0.61922014", "0.61564785", "0.6149903", "0.6149903", "0.61452353", "0.6134082", "0.6094393", "0.60865444", "0.60723406", "0.6061642", "0.6029...
0.84909236
0
Attempts to select an active actor at the given point, returning true if successful.
public final boolean select(Vector2 dodlePoint) { DodlesActor previouslySelectedActor = getSelectedActor(); selectedActors.clear(); DodlesActor actor = findActiveActor(dodlePoint); if (actor != null && (previouslySelectedActor == null || previouslySelectedActor == actor)) { ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "abstract public boolean isPickedBy(Point p);", "protected boolean isSelectedControlPoint(Point p) {\n\t\tif (p != null)\n\t\t\tfor (int j = 0; j < selectedPoints.size(); ++j)\n\t\t\t\tif (selectedPoints.elementAt(j).X() == p.X()\n\t\t\t\t\t\t&& selectedPoints.elementAt(j).Y() == p.Y())\n\t\t\t\t\treturn true;\n\...
[ "0.57090193", "0.56230074", "0.5619239", "0.55124754", "0.5458664", "0.54015875", "0.5377111", "0.53527004", "0.5349323", "0.5341418", "0.5328647", "0.52692336", "0.52681327", "0.5264025", "0.5234142", "0.51866925", "0.51719487", "0.51446587", "0.5126864", "0.509098", "0.5063...
0.70648956
0
Selects an active leaf actor at the given point.
public final DodlesActor selectLeaf(Vector2 dodlePoint) { Array<DodlesActor> leafActors = getLeafActors(getActiveLayer()); return findActor(leafActors, dodlePoint); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "StatePacBuilder selectLeaf(LeafIdentifier leaf);", "public SelectTile(MapManager parent, Point selected){\n this.parent = parent;\n \n //Save the selected point\n this.selected = new Point(selected.x, selected.y);\n\n //Add the Point to the list of selected cells\n this....
[ "0.6460618", "0.62271863", "0.5719517", "0.55137986", "0.548202", "0.5454011", "0.5405908", "0.5378", "0.5366236", "0.53242964", "0.53152245", "0.52282387", "0.52280724", "0.52226466", "0.52154136", "0.51446545", "0.5142829", "0.51316494", "0.51243067", "0.5070798", "0.505543...
0.67602855
0
Adds the actor at the given point to the multi select list.
public final boolean addToMultiSelect(DodlesActor actor) { return selectedActors.add(actor); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void addActor(Actor actor) { ActorSet.addElement(actor); }", "public final void selectActor(DodlesActor actor) {\n selectedActors.clear();\n selectedActors.add(actor);\n updateStateUiAfterSelection();\n }", "void setSelectedActorIdentity(ArtistCommunitySelectableIdentity identity...
[ "0.61778617", "0.6106678", "0.5759083", "0.55671674", "0.5533634", "0.5528992", "0.54496914", "0.53377044", "0.5323134", "0.5318676", "0.5259134", "0.5247224", "0.5238382", "0.52258873", "0.52192795", "0.52027524", "0.5182426", "0.50856495", "0.5079214", "0.5077406", "0.50675...
0.6392835
0
Finds an active actor at the given point.
public final DodlesActor findActiveActor(Vector2 dodlePosition) { return findActor(activeActors(), dodlePosition); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Actor getActorAt(int x, int y) {\n\t\tif (!isWithinBounds(x, y))\n\t\t\treturn null;\n\n\t\treturn getTileAt(x, y).getActor();\n\t}", "public Actor getActor(int index) { return (Actor)ActorSet.elementAt(index); }", "private InteractionObject getInteractionUnder(float[] point) {\n\t\tfor ( int i=interact...
[ "0.62879413", "0.62402093", "0.6184914", "0.58266526", "0.58256495", "0.57748336", "0.57661563", "0.5765775", "0.5733717", "0.5704714", "0.5588817", "0.5587994", "0.5582277", "0.55673707", "0.5544977", "0.5495024", "0.5428037", "0.5424227", "0.5384877", "0.5367801", "0.535834...
0.6280429
1
Finds an actor from the supplied list at the given point.
public final DodlesActor findActor(Array<DodlesActor> actors, Vector2 dodlePosition) { for (DodlesActor actor : actors) { Vector2 local = CommonActorOperations.dodleToLocalCoordinates(actor, dodlePosition); // The built-in libgdx hit testing won't work here because of how we calculate b...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Actor getActor(int index) { return (Actor)ActorSet.elementAt(index); }", "private GComponent getComponentAt(Point point)\n {\n // Create a reverse list iterator\n ListIterator<GComponent> it = this.components.listIterator(this.components.size());\n while (it.hasPrevious())\n {\n GCompone...
[ "0.59528995", "0.56111395", "0.55753076", "0.5503708", "0.54845905", "0.54636955", "0.5420618", "0.5384138", "0.5327653", "0.5302827", "0.5248228", "0.5220038", "0.51681834", "0.5135053", "0.51328987", "0.5099872", "0.5099595", "0.5094226", "0.50786614", "0.506275", "0.505355...
0.6196452
0
Selects an actor by ID.
public final void selectActor(String actorID) { selectActor(all.get(actorID)); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public final DodlesActor getActor(String id) {\n return all.get(id);\n }", "@Override\n\tpublic Actor findOne(long id) {\n\t\treturn actorRepository.findOne(id);\n\t}", "@Override\n\t\tpublic Actor get(int id) {\n\t\t\treturn null;\n\t\t}", "void setSelectedActorIdentity(ArtistCommunitySelectableId...
[ "0.70414335", "0.7027759", "0.69305557", "0.6618285", "0.65375096", "0.64793134", "0.6406065", "0.62801236", "0.6259504", "0.6128672", "0.6121148", "0.60778", "0.60418314", "0.5997388", "0.59713286", "0.5911975", "0.5903545", "0.5882791", "0.5857143", "0.58499646", "0.5800824...
0.80489
0
Selects the given actor.
public final void selectActor(DodlesActor actor) { selectedActors.clear(); selectedActors.add(actor); updateStateUiAfterSelection(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public final void selectActor(String actorID) {\n selectActor(all.get(actorID));\n }", "void setSelectedActorIdentity(ArtistCommunitySelectableIdentity identity);", "public final DodlesActor getSelectedActor() {\n if (selectedActors.size() > 0) {\n return selectedActors.iterator().n...
[ "0.7706019", "0.7383622", "0.6925267", "0.675054", "0.6657454", "0.6627638", "0.6607451", "0.61495376", "0.61314857", "0.58960557", "0.5873623", "0.5764375", "0.57587355", "0.5677638", "0.56746596", "0.56371135", "0.56296283", "0.5624068", "0.5578915", "0.55497706", "0.548515...
0.78529453
0
Returns indicator of whether or not an object or objects are selected
public final boolean hasActorsSelected() { return (selectedActors.size() > 0); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public abstract boolean hasSelection();", "public boolean isSomethingSelected() {\r\n \t\treturn graph.getSelectionCell() != null;\r\n \t}", "public boolean isSelected() { \n \treturn selection != null; \n }", "boolean hasIronSelected();", "boolean isSelected();", "boolean isSelected();", "boolea...
[ "0.7337325", "0.7169148", "0.68919706", "0.688539", "0.6853712", "0.6853712", "0.6853712", "0.6840553", "0.6744486", "0.67195904", "0.6690445", "0.66735667", "0.6653783", "0.65596753", "0.65596753", "0.6541126", "0.650296", "0.64621305", "0.64423686", "0.64404386", "0.6428046...
0.58536315
71
Returns the selected actors.
public final List<DodlesActor> getSelectedActors() { ArrayList<DodlesActor> result = new ArrayList<DodlesActor>(); result.addAll(selectedActors); return result; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public final Array<DodlesActor> activeActors() {\n return activeActors(true);\n }", "public List<Actor> getActors() {\n System.out.println(\"LENGTH:\"+actors.size());\n return actors;\n }", "ArrayList<Actor> getActors();", "public FieldActorDescriptor[] getHighlightedActors()\n {\...
[ "0.7296814", "0.71497935", "0.7067006", "0.7061035", "0.6819097", "0.67851967", "0.6748245", "0.6644152", "0.6626749", "0.660461", "0.6411591", "0.63307333", "0.6074692", "0.60508496", "0.60208803", "0.5985176", "0.5976648", "0.59758323", "0.59424573", "0.5761394", "0.5743267...
0.8013897
0
Returns the first selected actor.
public final DodlesActor getSelectedActor() { if (selectedActors.size() > 0) { return selectedActors.iterator().next(); } return null; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public FieldActorDescriptor getSelectedActor()\n {\n return (FieldActorDescriptor) selectedDescriptor;\n }", "public Actor getActor(int index) { return (Actor)ActorSet.elementAt(index); }", "public Actor getActor() {\n\t\treturn map.getActorAt(this);\n\t}", "public Actor getCurrentActor() {\n\t\treturn ...
[ "0.7200322", "0.7164368", "0.6979185", "0.6547925", "0.648597", "0.641565", "0.63123715", "0.62761843", "0.62164384", "0.61913687", "0.61649287", "0.60739344", "0.6061672", "0.60546166", "0.5985682", "0.5953926", "0.5890846", "0.5887219", "0.58689487", "0.58689487", "0.586267...
0.83872795
0
Returns the locked actor ids.
public final ArrayList<String> getLockedActorIDs() { ArrayList<String> result = new ArrayList<String>(); result.addAll(lockedActorIDs); return result; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Set<Long> allActorIds() {\n return new HashSet<Long>( );\n }", "public Collection<Identity> getActorIdentities() {\r\n\t\treturn identities;\r\n\t}", "List<Long> getTransmissionIds();", "List<ManagementLockOwner> owners();", "public final Array<DodlesActor> activeActors() {\n retur...
[ "0.68450844", "0.6106481", "0.6076088", "0.6058157", "0.5813108", "0.57552546", "0.5745855", "0.57424295", "0.5725924", "0.5713269", "0.5637686", "0.56088305", "0.5597534", "0.5552238", "0.5537162", "0.5506907", "0.547098", "0.54478294", "0.54167765", "0.5413839", "0.54016656...
0.8349895
0
Returns information about all scenes in the dodle.
public final List<SceneData> allSceneData() { ArrayList<SceneData> result = new ArrayList<SceneData>(); for (int i = 0; i < scenes.size(); i++) { Scene scene = scenes.get(i); if (scene.getDisplayName() == null) { scene.setDisplayName(i + 1 + ""); } ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void printAllScenes() {\r\n\t\tList <Scene> allScenes = handlerBridge.loadScenes();\r\n\t\tfor (Scene scene : allScenes) {\r\n\t\t\tSystem.out.print(\"Name: \" + scene.getName());\r\n\t\t\tSystem.out.println(\" - Ident: \" + scene.getIdentifier());\r\n\t\t}\r\n\t}", "public final List<Scene> getScenes() {...
[ "0.70380193", "0.6806043", "0.6622851", "0.63981605", "0.6148368", "0.59359443", "0.5870898", "0.58472675", "0.57989603", "0.5791145", "0.5710662", "0.5697903", "0.56323916", "0.5624017", "0.5617889", "0.55934894", "0.55478626", "0.55342305", "0.5487173", "0.545487", "0.54516...
0.7081369
0
get the next number in the scene list.
public final Integer getMaxSceneId() { return getNextNumberInList(scenes.toArray()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public int getNext() {\n return value++;\n }", "public int getCurrentNext() {\n\t\tInteger ii = (Integer) get_Value(\"CurrentNext\");\n\t\tif (ii == null)\n\t\t\treturn 0;\n\t\treturn ii.intValue();\n\t}", "int getNext(int node_index) {\n\t\treturn m_list_nodes.getField(node_index, 2);\n\t}", "publ...
[ "0.671894", "0.66646445", "0.66481113", "0.6569166", "0.6558712", "0.6551925", "0.65480316", "0.6541779", "0.6518469", "0.6502369", "0.6472047", "0.6434866", "0.6433847", "0.6411853", "0.63646954", "0.6360558", "0.6326474", "0.6315775", "0.631562", "0.63120824", "0.62999994",...
0.58513427
72
get the next number in the Layer list.
public final Integer getMaxLayerId() { return getNextNumberInList(getActiveScene().getLayers().toArray()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "int getNext(int node_index) {\n\t\treturn m_list_nodes.getField(node_index, 2);\n\t}", "public int getNext() {\n return value++;\n }", "int getNextList(int list) {\n\t\treturn m_lists.getField(list, 3);\n\t}", "public int getCurrentNext() {\n\t\tInteger ii = (Integer) get_Value(\"CurrentNext\");\n\...
[ "0.67835957", "0.65939564", "0.6459687", "0.6365624", "0.6300231", "0.629406", "0.62644464", "0.62613815", "0.6255738", "0.6237627", "0.62307835", "0.62281114", "0.62195534", "0.6180443", "0.61749196", "0.61716485", "0.61534244", "0.61504936", "0.6113387", "0.61091685", "0.61...
0.6039696
25
analyze the List to determine what the next number should be. size of array vs max value of the Number + 1.
public static final Integer getNextNumberInList(Object[] actors) { // simple starting case Integer nextId = new Integer(actors.length + 1); //DodleEngine.getLogger().log("ObjectManager", "sizeofArray: " + scenes.size() + " nextId: " + nextId); for (int i = 0; i < actors.length; i++) { ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "int findGreaterNumber(ArrayList<Integer> inArrList)\r\n {\r\n//\t for(int i=0;i<inArrList.size();i++)\r\n//\t {\r\n\t\t\r\n\t//\t greaterNumbr = (ArrayList<Integer>) Collections.max(inArrList);\r\n\t // Exceed length problem:IndexOutOfBoundException.\r\n\t // Index value of Arraylist is always 0. \r\n\t int i=0;\...
[ "0.64918315", "0.6072536", "0.60253835", "0.5954207", "0.59265655", "0.5917906", "0.5873658", "0.58485943", "0.5833942", "0.58337843", "0.57691556", "0.57638043", "0.57248396", "0.57232714", "0.57214516", "0.57205015", "0.57006454", "0.5696746", "0.5670801", "0.5646091", "0.5...
0.0
-1
Returns the current scene.
public final Scene getScene() { return activeScene; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Scene getCurrentScene()\r\n\t{\r\n\t\treturn _CurrentScene;\r\n\t}", "public static Scene getCurrent() {\n//\t\tBugger.log(\"Get current scene...\");\n\t\tif (_current != null)\n\t\t\treturn _current;\n\t\telse\n\t\t\t_current = new Scene();\n\t\treturn _current;\n\t}", "public Scene retrieveScene()\n ...
[ "0.8848022", "0.8538922", "0.82222056", "0.8150951", "0.81257254", "0.79733086", "0.7964703", "0.7914115", "0.7837454", "0.7745537", "0.76956713", "0.7631548", "0.7306541", "0.7064149", "0.7032744", "0.6915891", "0.67344314", "0.65797454", "0.65537536", "0.6502258", "0.650195...
0.85563105
1
Gets the scene by index (1based).
public final Scene getScene(int number) { return scenes.get(number - 1); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public GameObject get(int index) {\r\n\t\treturn (GameObject) list.get(index);\r\n\t}", "@Override\n public Object getElement(int index){\n return gameCollection.elementAt(index);\n }", "public Game getGame(int index) {\n\t\tGame aGame = games.get(index);\n\t\treturn aGame;\n\t}", "public final ...
[ "0.65947425", "0.64738095", "0.6454075", "0.6385742", "0.6358235", "0.6322103", "0.62508005", "0.62508005", "0.62283474", "0.62086284", "0.6196619", "0.6190724", "0.61669874", "0.6156704", "0.61453104", "0.6144603", "0.60821337", "0.60821337", "0.60800785", "0.6067624", "0.60...
0.7425606
0
Clears the scenes in the dodle.
public final void clearScenes() { scenes.clear(); activeScene = null; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void clear() {\n GameObject.clearAll();\n Scene.score = 0;\n\n }", "public void clearGame() {\n\t\tselectedObjects.clear();\n\t}", "public void Unload() {\n\t\tsceneLoaded = false;\n\t\tfor (GameObject gO : gameObjects) {\n\t\t\tEngine.Instance.RemoveObject(gO);\n\t\t}\n\...
[ "0.7351249", "0.7067717", "0.7015563", "0.70102596", "0.6987504", "0.6943474", "0.6683946", "0.6677378", "0.66260964", "0.6615724", "0.6561728", "0.65492857", "0.6492494", "0.648742", "0.6478664", "0.64755267", "0.64483166", "0.64280546", "0.6401278", "0.635159", "0.6303309",...
0.82803476
0
Gets the scene by object ID.
public final Scene getScene(String id) { for (Scene scene : scenes) { if (scene.getName().equals(id)) { return scene; } } return null; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public final Scene getScene(int number) {\n return scenes.get(number - 1);\n }", "public static Scene getScene() {\n\t\tif (scene == null) {\n\t\t\tinitScene();\n\t\t}\n\t\treturn scene;\n\n\t}", "public Scene retrieveScene()\n {\n return gameStage.getScene();\n }", "public Scene getScene(Stri...
[ "0.6513902", "0.64379233", "0.6379765", "0.624112", "0.6223349", "0.6124283", "0.61242586", "0.61085886", "0.6029699", "0.5999819", "0.5997036", "0.595817", "0.5833914", "0.58203304", "0.57660276", "0.5760739", "0.57416964", "0.5691036", "0.5645823", "0.56151325", "0.5605065"...
0.7836275
0
Returns all the scenes in the dodle.
public final List<Scene> getScenes() { return Collections.unmodifiableList(scenes); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Collection<String> getScenes() {\n\t\tVector<String> scenes = new Vector<String>();\n\t\tif (mScenesInOrder!=null)\n\t\t\tscenes.addAll(mScenesInOrder);\n\t\treturn scenes;\n\t}", "public final List<SceneData> allSceneData() {\n ArrayList<SceneData> result = new ArrayList<SceneData>();\n\n f...
[ "0.74825025", "0.69904834", "0.66859496", "0.6441224", "0.6287192", "0.61670667", "0.608706", "0.60597974", "0.59716046", "0.5881916", "0.5859813", "0.5810282", "0.5795113", "0.5753122", "0.5702647", "0.56835115", "0.5676956", "0.5653823", "0.5598098", "0.5588948", "0.5570882...
0.7572219
0
very unique usage, just get the first scene in the list regardless of the id.
public final Scene getFirstScene() { if (scenes.size() > 0) { return scenes.get(0); } else { return null; } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public final Scene getScene(String id) {\n for (Scene scene : scenes) {\n if (scene.getName().equals(id)) {\n return scene;\n }\n }\n\n return null;\n }", "public Scene getScene(String name)\r\n\t{\r\n\t\t// Find the scene with the given name.\r\n\t\tf...
[ "0.7453243", "0.6470652", "0.6326295", "0.60980576", "0.5967882", "0.5910845", "0.5869318", "0.5849438", "0.583435", "0.57939893", "0.5751401", "0.57256573", "0.56663406", "0.5663434", "0.5660589", "0.5644426", "0.5636158", "0.5633671", "0.56264716", "0.55998296", "0.5587137"...
0.7345029
1
Removes the given scene from the dodle.
public final void removeScene(String sceneID) { Scene scene = getScene(sceneID); scenes.remove(scene); removeActor(scene.getName()); setActiveScene(scenes.get(scenes.size() - 1).getName()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void Unload() {\n\t\tsceneLoaded = false;\n\t\tfor (GameObject gO : gameObjects) {\n\t\t\tEngine.Instance.RemoveObject(gO);\n\t\t}\n\t\tEngine.Instance.currentScenes.remove(this);\n\t}", "public void popScene() {\n moduleCSM.popScene();\n }", "public void freeScene(final int id){\n\t\t//androi...
[ "0.71137613", "0.6783003", "0.6721963", "0.662927", "0.63370055", "0.6333738", "0.6234057", "0.6204121", "0.61200583", "0.6108157", "0.60932946", "0.60760224", "0.5925354", "0.5894116", "0.5875319", "0.57843703", "0.5780993", "0.57804865", "0.57725966", "0.57718724", "0.57392...
0.7037767
1
retrieve the active Scene.
public final Scene getActiveScene() { return activeScene; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public final Scene getScene() {\n return activeScene;\n }", "public Scene getCurrentScene()\r\n\t{\r\n\t\treturn _CurrentScene;\r\n\t}", "public static Scene getCurrent() {\n//\t\tBugger.log(\"Get current scene...\");\n\t\tif (_current != null)\n\t\t\treturn _current;\n\t\telse\n\t\t\t_current = new ...
[ "0.8646411", "0.8270617", "0.8116985", "0.7975618", "0.77805096", "0.75770634", "0.7532032", "0.7480399", "0.7361828", "0.7355203", "0.72665554", "0.7140956", "0.70405346", "0.68763155", "0.6834401", "0.65623426", "0.655242", "0.6509256", "0.6350445", "0.6322931", "0.62950754...
0.8671023
0
Returns all actors in the dodle.
public final Collection<DodlesActor> allActors() { return all.values(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public List<Actor> getAllActors() {\n\t\treturn actors.getAll();\n\t}", "public List<Actor> getActors() {\n System.out.println(\"LENGTH:\"+actors.size());\n return actors;\n }", "public final Array<DodlesActor> activeActors() {\n return activeActors(true);\n }", "ArrayList<Actor> g...
[ "0.7835698", "0.780336", "0.7555117", "0.74498624", "0.7279439", "0.7264267", "0.7195807", "0.71617824", "0.7119402", "0.6763558", "0.6587924", "0.6411706", "0.63635236", "0.6360786", "0.6330022", "0.622466", "0.62027484", "0.6189923", "0.6133527", "0.6106241", "0.60866815", ...
0.8187579
0
Returns all actors in the current scene (including the scene camera).
public final Map<String, DodlesActor> allActorsInScene(String sceneID) { Map<String, DodlesActor> result = getAllDescendants(getActor(sceneID)); result.put(SceneCamera.CAMERA_ID, cameraManager.getSceneCamera(getScene(sceneID))); return result; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public List<Actor> getAllActors() {\n\t\treturn actors.getAll();\n\t}", "public List<Actor> getActors() {\n System.out.println(\"LENGTH:\"+actors.size());\n return actors;\n }", "public ArrayList<Actor> getActors() {\n ArrayList<Actor> actors = new ArrayList<Actor>();\n Location ...
[ "0.7546228", "0.73388994", "0.7195197", "0.71186113", "0.7116975", "0.70437235", "0.6981942", "0.6937813", "0.6759544", "0.6742269", "0.6334214", "0.622989", "0.60333467", "0.60162884", "0.5988928", "0.59206486", "0.5864739", "0.5860396", "0.5831708", "0.58222836", "0.5727417...
0.67727363
8
Returns all characters in the chest.
public final Collection<ChestCharacter> allChestCharacters() { return chestCharacters.values(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public Collection<Character> getAll() {\n return characters;\n }", "public Set<Character> characters(){\r\n\t\tSet<Character> characters = new HashSet<Character>();\r\n\t\tfor(BoardObject object: boardObjects){\r\n\t\t\tif(object instanceof Character)\r\n\t\t\t\tcharacters.add((Character...
[ "0.7124046", "0.65128326", "0.6495473", "0.630905", "0.6213425", "0.6210972", "0.6182634", "0.6133967", "0.6115047", "0.608495", "0.607795", "0.60502404", "0.6000707", "0.5963691", "0.5851509", "0.58244735", "0.5781963", "0.5758109", "0.5756201", "0.57188374", "0.5711218", ...
0.82050824
0
Adds the character to the chest.
public final boolean addToChest(ChestCharacter character) { if (chestCharacters.containsKey(character.getCharacterName())) { return false; } chestCharacters.put(character.getCharacterName(), character); return true; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void addCharacter(Character chr) {\n chars.add(chr);\n }", "public void addGameCharacter(GameCharacter c)\n\t{\n\t\tif (gameCharCount>=randomGameChars.length)\n\t\t{\n\t\t\tGameCharacter[] newRandomChars = Arrays.copyOf(randomGameChars,randomGameChars.length+GameCharGenModel.NUM_CHARS_BLOCK);\n\...
[ "0.68947726", "0.6748858", "0.6581508", "0.6477296", "0.64080083", "0.6287465", "0.6171678", "0.6148911", "0.6105276", "0.608324", "0.6036698", "0.6033336", "0.6001185", "0.59941775", "0.5984478", "0.5945007", "0.5932436", "0.5902878", "0.58596766", "0.58105457", "0.58057314"...
0.7299244
0
Gets the character with the given name from the chest.
public final ChestCharacter getChestCharacterByName(String name) { return chestCharacters.get(name); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Card getCharacter(String charName) {\n return card.getCharacter(charName);\n }", "public Characters getCharacter(String characterName)\n {\n return characters.get(characterName);\n }", "public Character getChar(String name) {\n Object o = get(name);\n if (o instanceo...
[ "0.7309264", "0.7106512", "0.7064708", "0.6661516", "0.64335614", "0.6430306", "0.62442446", "0.6146937", "0.61227614", "0.6086623", "0.6070801", "0.6053326", "0.6013452", "0.59895015", "0.5980721", "0.595919", "0.5953883", "0.59437007", "0.58910054", "0.5817382", "0.58035314...
0.871064
0
Gets the character with the given ID from the chest.
public final ChestCharacter getChestCharacterByActorID(String actorID) { for (ChestCharacter character : chestCharacters.values()) { if (character.getActor().getName().equals(actorID)) { return character; } } return null; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Character getCharacter(final UUID id)\r\n {\r\n for (int index = 0; index < characters.size(); index++)\r\n {\r\n if (characters.get(index).hasId(id))\r\n return characters.get(index);\r\n }\r\n \r\n //if the character was not found, return nul...
[ "0.7719391", "0.7575068", "0.72050864", "0.6612144", "0.63356984", "0.6312828", "0.61849004", "0.59924597", "0.5907592", "0.5900507", "0.58071697", "0.5762892", "0.5741687", "0.57246405", "0.57023853", "0.5693344", "0.5676767", "0.56719875", "0.565515", "0.5654463", "0.561291...
0.67746264
3
Removes the character with the given name from the chest.
public final void removeFromChest(String name) { chestCharacters.remove(name); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Characters removeCharacter(String characterName) {\n return characters.remove(characterName);\n }", "public final ChestCharacter getChestCharacterByName(String name) {\n return chestCharacters.get(name);\n }", "public void deleteCharFromName() {\n \t\tif (playerName.length() > 0 && s...
[ "0.69574964", "0.6797655", "0.6655023", "0.65464824", "0.65464824", "0.65134484", "0.6504822", "0.643915", "0.6396384", "0.63751465", "0.62458193", "0.61503494", "0.6143435", "0.61324096", "0.6117497", "0.61150086", "0.61099786", "0.6094557", "0.6058852", "0.6002189", "0.6001...
0.8711144
0
Returns all objects that are descendents of the given actor.
public final Map<String, DodlesActor> getAllDescendants(DodlesActor root) { HashMap<String, DodlesActor> result = new HashMap<String, DodlesActor>(); getAllDescendants(root, result); return result; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean isAscendantOf(Actor actor) {\n if (actor == null) throw new IllegalArgumentException(\"actor cannot be null.\");\n if(actor instanceof Group){\n Group group=(Group)actor;\n return internalGroup.isAscendantOf(group.internalGroup);\n }\n return interna...
[ "0.60797995", "0.59979033", "0.5850781", "0.5832753", "0.57559", "0.5714732", "0.55878145", "0.55399543", "0.54719025", "0.54642385", "0.5462628", "0.54551274", "0.54284227", "0.5408628", "0.5371356", "0.5341219", "0.532986", "0.52886444", "0.5249058", "0.52243984", "0.522120...
0.56451696
6
Drills into the selected actor.
public final void drill() { final DodlesActor object = getSelectedActor(); if (object != null && object instanceof BaseDodlesViewGroup) { final BaseDodlesViewGroup previousLayer = getActiveLayer(); setActiveLayer((BaseDodlesViewGroup) object); unHideObjects(); ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public final void selectActor(DodlesActor actor) {\n selectedActors.clear();\n selectedActors.add(actor);\n updateStateUiAfterSelection();\n }", "public void action() throws Exception {\n // Cop move to another place\n move();\n\n // Search for agents nearby\n ArrayList<Positi...
[ "0.5791349", "0.5588286", "0.5494505", "0.5494373", "0.5461758", "0.5461148", "0.5357981", "0.5353658", "0.5270116", "0.52432656", "0.5213001", "0.5193102", "0.51677465", "0.51659137", "0.51566005", "0.5121253", "0.51136804", "0.51055896", "0.5088963", "0.50729555", "0.507283...
0.72344315
0
Unhide all hidden object.
public final void unHideObjects() { for (DodlesActor actor : all.values()) { ((Actor) actor).setVisible(true); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void hide() {\n visible=false;\n }", "public void hide() {\n\t\thidden = true;\n\t}", "public void hide() {\n hidden = true;\n }", "public void hideIt(){\n this.setVisible(false);\n }", "public void hide()\r\n {\r\n for( AbstractShape s: getShapes() )\r\n {\r\n ...
[ "0.7040847", "0.68126494", "0.6790143", "0.6635032", "0.66153705", "0.6572102", "0.6535399", "0.6522811", "0.64751774", "0.6387477", "0.63738555", "0.63738555", "0.63738555", "0.63738555", "0.63738555", "0.63738555", "0.63738555", "0.63738555", "0.6365449", "0.6354323", "0.63...
0.7633737
0
Peels off the active layer.
public final ArrayList<String> peel() { return peel(getSelectedActor().getName()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void evolve() {\n\t\tboolean[][] nextState = new boolean[width][height];\n\t\t\n\t\t// Look at each position\n\t\tfor (int x = 0; x < width; x++) {\n\t\t\tfor (int y = 0; y < height; y++) {\n\t\t\t\tboolean value = calculateNextState(x, y);\n\t\t\t\tnextState[x][y] = value;\n\t\t\t}\n\t\t}\n\t\t\n\t\tstate ...
[ "0.5172095", "0.5152742", "0.48488072", "0.48008192", "0.47834447", "0.47806165", "0.47592005", "0.47564748", "0.4723272", "0.47178394", "0.47079048", "0.47008422", "0.46933234", "0.46749216", "0.46458364", "0.46344313", "0.4634091", "0.46312717", "0.461399", "0.4612342", "0....
0.44947758
28
Peel the given id and any siblings of higher zindex value.
public final ArrayList<String> peel(final String id, ArrayList<String> result) { final DodlesActor object = getActor(id); final BaseDodlesViewGroup group = object.getParentDodlesViewGroup(); final Actor actor = (Actor) object; if (actor != null) { result.addAll(peelObject(act...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Node closestPrecedingNode(int id);", "public void bringToFront(int id)\n\t{\n\t\tgetObject().bringToFront(id);\n\t\treturn;\n\t}", "public Node findPredecessor(int id) {\n\t\tNode n = this;\n\t\twhile (id <= n.getId() || id > n.getSuccessor().getId()) {\n\t\t\tn = n.closestPrecedingFinger(id);\n\t\t}\n\...
[ "0.59462947", "0.5513946", "0.5138074", "0.49000588", "0.482654", "0.4813937", "0.4808795", "0.47548735", "0.47359642", "0.4713618", "0.47057983", "0.4689967", "0.46792868", "0.4663854", "0.46274167", "0.46197984", "0.46098652", "0.4592106", "0.4586473", "0.4572324", "0.45514...
0.46519262
14
Puts all objects that are descendents of the given actor into the given HashMap.
private void getAllDescendants(DodlesActor root, HashMap<String, DodlesActor> result) { result.put(root.getName(), root); if (root instanceof BaseDodlesViewGroup) { BaseDodlesViewGroup group = (BaseDodlesViewGroup) root; for (Actor child : (SnapshotArray<Actor>) group.getChildr...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public final Map<String, DodlesActor> getAllDescendants(DodlesActor root) {\n HashMap<String, DodlesActor> result = new HashMap<String, DodlesActor>();\n getAllDescendants(root, result);\n return result;\n }", "private void populate(Node father, TreeMap<Integer, TreeMap<Integer, Category>...
[ "0.5185146", "0.49673358", "0.48541045", "0.47400123", "0.47216135", "0.4712532", "0.4606862", "0.46040893", "0.45643568", "0.45438263", "0.4509204", "0.44922173", "0.44799072", "0.44669843", "0.44489026", "0.44225812", "0.44224417", "0.44220063", "0.4405475", "0.43937132", "...
0.49794534
1
Updates the state UI after making a selection.
private void updateStateUiAfterSelection() { stageManager.updateStateUi(); eventBus.publish(EventTopic.DEFAULT, EventType.SELECTED_OBJECT_CHANGED); eventManager.fireEvent(EngineEventType.SELECTED_OBJECT_CHANGED); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void updateSelection() {\n\t\t\n\t}", "void stateSelected(State state);", "private void updateSelectionModeView() {\n mSelectionMode.invalidate();\n }", "public void updateSelectionMode() {\n final int numSelected = getSelectedCount();\n if ((numSelected == 0) || mDisableCab ||...
[ "0.76280606", "0.7012384", "0.6940032", "0.6861958", "0.6845103", "0.6774814", "0.6669125", "0.66513026", "0.6648379", "0.66063285", "0.65838104", "0.6576462", "0.6556761", "0.6555203", "0.654284", "0.6453154", "0.6406838", "0.6382905", "0.6374378", "0.6288937", "0.62649137",...
0.78796595
0
Unlock the given objects.
public final void unlockObjects(ArrayList<String> ids) { lockedActorIDs.removeAll(ids); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void unlock(Object obj, Object owner, boolean releaseMultiLocked)\r\n throws LockNotReleasedException, ClassCastException, ChannelException, LockMultiLockedException;", "void unlock(Object obj, Object owner)\r\n throws LockNotReleasedException, ClassCastException, ChannelException;", "public abstract voi...
[ "0.7402302", "0.6567028", "0.6364506", "0.6340468", "0.633567", "0.59884703", "0.593209", "0.5864818", "0.5863919", "0.5858726", "0.5841598", "0.57850194", "0.57820606", "0.5773319", "0.56928647", "0.56421673", "0.5629083", "0.5628073", "0.5596916", "0.54897475", "0.54756814"...
0.73980623
1
Lock the given objects.
public final void lockObjects(ArrayList<String> ids) { lockedActorIDs.addAll(ids); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public LockState<T> lockOnObjects(Iterable<T> lockObjects) {\n ImmutableSet<T> hashSet = validateLockInput(lockObjects);\n\n final SortedMap<T, ReentrantLock> sortedLocks = getSortedLocks(hashSet);\n for (ReentrantLock lock : sortedLocks.values()) {\n lock.lock();\n }\n ...
[ "0.76261693", "0.64941406", "0.6417988", "0.6290965", "0.6217197", "0.6169378", "0.6132656", "0.6124936", "0.6115153", "0.6089225", "0.6079605", "0.6079605", "0.6079605", "0.5962173", "0.5938418", "0.59362096", "0.5931084", "0.5923112", "0.59105134", "0.59077686", "0.5901807"...
0.7439854
1
Determine whether this objectManager will select locked actors.
public final void setSelectingLocked(boolean selectingLocked) { this.selectingLocked = selectingLocked; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean isLocked();", "boolean isLocked();", "boolean isLocked();", "public final boolean hasActorsSelected() {\n return (selectedActors.size() > 0);\n }", "public final boolean hasActiveLocks() {\n\t\tif ( m_lockList != null && m_lockList.numberOfLocks() > 0)\n\t\t\treturn true;\n\t\tretu...
[ "0.6329101", "0.6255826", "0.6255826", "0.6255049", "0.61112046", "0.605606", "0.5992291", "0.5940748", "0.5929413", "0.5883522", "0.58478814", "0.58391905", "0.57685703", "0.57571274", "0.57480204", "0.5728349", "0.5724727", "0.5714352", "0.5714352", "0.5698246", "0.569489",...
0.0
-1
Unpeel the given actor.
public final void unpeel(final String id) { unpeel(new ArrayList<String>() { { add(id); } }); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void uncheck(T actor)\n {\n\tif (actor == null)\n\t throw new IllegalArgumentException(\"actor cannot be null.\");\n\n\tactor.setChecked(false);\n }", "public CastMember removeActor(CastMember actor)\n\t{\n\t\tpeopleAct.remove(actor);\n\t\treturn actor;\n\t}", "public void removeActor(Actor act...
[ "0.6014469", "0.6008498", "0.5877582", "0.58504534", "0.5476382", "0.5355894", "0.52524585", "0.51969486", "0.5181428", "0.5168389", "0.51507044", "0.5131238", "0.51028824", "0.51028824", "0.5084483", "0.50762933", "0.50287473", "0.5006825", "0.49318898", "0.49091464", "0.490...
0.49546447
18
Unpeel the list of given actors.
public final void unpeel(ArrayList<String> ids) { for (String id : ids) { final DodlesActor object = getActor(id); if (object instanceof Updatable) { Updatable actor = (Updatable) object; if (actor != null) { actor.getStrokeConfig().set...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void processActors(ArrayList<Actor> actors)\n {\n for (Actor a : actors)\n {\n if ( a instanceof Rock )\n a.removeSelfFromGrid();\n }\n }", "@Override\n\t public void processActors(ArrayList<Actor> actors)\n\t {\n\t for (Actor a : actors)\n\...
[ "0.6447784", "0.62115747", "0.615046", "0.6061541", "0.6010602", "0.55405444", "0.5453712", "0.5443836", "0.5297277", "0.52907556", "0.52865756", "0.5286369", "0.52397245", "0.51971495", "0.51931804", "0.51642483", "0.5164045", "0.509173", "0.508471", "0.50631064", "0.5062884...
0.6434488
1
Returns the tracking ID of the active dodle.
public final String getTrackingID() { return trackingID; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String trackingId() {\n return this.trackingId;\n }", "public String getTrackingNumber() {\n return trackingNumber;\n }", "public Integer getTrackingNo() {\n return trackingNo;\n }", "public String getTracking() {\n\t\t\treturn tracking;\n\t\t}", "public String getTrack...
[ "0.7133647", "0.65582335", "0.6521039", "0.641751", "0.6384805", "0.6257738", "0.6185978", "0.5983094", "0.5971327", "0.5963197", "0.5942245", "0.59394306", "0.59389365", "0.5872121", "0.5819333", "0.5818547", "0.5804309", "0.5749564", "0.5704414", "0.5680111", "0.56733334", ...
0.73219436
0
Adds a new dodle reference.
public final void addReference(DodleReference reference) { if (reference != null && !references.containsKey(reference.getTrackingID())) { references.put(reference.getTrackingID(), reference); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void addReference(Reference ref) {\n references.addElement(ref);\n }", "public void addReference() {\r\n mReferenced = true;\r\n }", "ReferenceData add(ReferenceData instance) throws DataException;", "public void addReference(final IWikiString reference) {\n\t\tif (references == ...
[ "0.7792776", "0.75575775", "0.69261503", "0.6738448", "0.6712771", "0.66544324", "0.6607335", "0.6528351", "0.6431647", "0.6430354", "0.6405419", "0.63761777", "0.63387984", "0.62797135", "0.62099963", "0.61337745", "0.61085856", "0.6007618", "0.5970934", "0.58320594", "0.580...
0.77059793
1
Imports dodle references from JSON.
public final void importReferences(JsonValue json) { references.clear(); for (DodleReference ref : DodleReference.loadReferences(json).values()) { references.put(ref.getTrackingID(), ref); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Gist deserializeGistFromJson(String json);", "public final void exportReferences(Json json) {\n json.writeArrayStart(\"references\");\n\n for (DodleReference reference : references.values()) {\n json.writeObjectStart();\n reference.writeConfig(json);\n json.writeObj...
[ "0.5952647", "0.5895109", "0.5837768", "0.5344685", "0.53304887", "0.5301025", "0.52941805", "0.5289069", "0.52387017", "0.5165833", "0.51496345", "0.51348585", "0.5132551", "0.51245373", "0.5114168", "0.50604", "0.5044246", "0.502213", "0.5015521", "0.5003474", "0.49997568",...
0.7791518
0
Exports dodle references to JSON.
public final void exportReferences(Json json) { json.writeArrayStart("references"); for (DodleReference reference : references.values()) { json.writeObjectStart(); reference.writeConfig(json); json.writeObjectEnd(); } json.writeArrayEnd(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void generateReferences(FileWriter output)\n {\n defs.generateReferences(output);\n }", "void writeReference(Object obj);", "public void guardarEnJSON () {\n Gson gson = new GsonBuilder().setPrettyPrinting().create();\n String s = gson.toJson(this);\n try {\n ...
[ "0.6100926", "0.55473065", "0.52977616", "0.52527964", "0.5245303", "0.52176493", "0.51763725", "0.5162625", "0.5121832", "0.5089914", "0.5055279", "0.50411916", "0.49096268", "0.48890662", "0.48728123", "0.48647785", "0.48620185", "0.48312348", "0.48245916", "0.48221946", "0...
0.7487154
0
Returns the scene number.
public final int getNumber() { return number; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getScene() {\n\t\treturn scene;\n\t}", "public int getPreviousScene(){\n\t\treturn _previousScene;\n\t}", "public int getMapSceneId() {\n\t\treturn mapSceneId;\n\t}", "public final Integer getMaxSceneId() {\n return getNextNumberInList(scenes.toArray());\n }", "public final Scene ge...
[ "0.71476734", "0.7128244", "0.712731", "0.7049782", "0.67892957", "0.6572411", "0.6327362", "0.6271397", "0.62587345", "0.62373996", "0.6214504", "0.6197787", "0.6168004", "0.6152091", "0.6109158", "0.6093604", "0.5963682", "0.59097534", "0.5863612", "0.5814803", "0.57609475"...
0.54886854
47
Returns a value indicating whether this is the active scene.
public final boolean isActive() { return isActive; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean isScene() {\r\n\t\treturn scene;\r\n\t}", "public final Scene getActiveScene() {\n return activeScene;\n }", "public final boolean isActive() {\n synchronized (this.lifecycleMonitor) {\n return this.active;\n }\n }", "public boolean isActive() {\n\t\treturn activeProperty...
[ "0.73732", "0.7164569", "0.6944607", "0.6850108", "0.6749749", "0.67233855", "0.67158514", "0.6671536", "0.6633451", "0.6633451", "0.6629223", "0.6627924", "0.66230386", "0.66230386", "0.66169035", "0.6605651", "0.66055363", "0.6600786", "0.6600712", "0.6585357", "0.6585357",...
0.6647781
8
/ Enabled aggressive block sorting Enabled unnecessary exception pruning Enabled aggressive exception aggregation
@Override public void close(JarFile object) { JarFileFactory jarFileFactory = instance; synchronized (jarFileFactory) { object = urlCache.remove(object); if (object != null) { fileCache.remove(URLUtil.urlNoFragString((URL)object)); } re...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n protected void updateEliminations() {\n\n }", "private PerfectMergeSort() {}", "@Test\r\n @Override\r\n @ConditionalIgnore(condition = IgnoreTreeDeferredIssue.class)\r\n public void testSortedAddDiscontinous() {\r\n super.testSortedAddDiscontinous();\r\n }", "private void opt...
[ "0.55357516", "0.54847836", "0.54518634", "0.54286635", "0.5360879", "0.53091925", "0.5284715", "0.52695996", "0.5230102", "0.51923716", "0.5191439", "0.5188387", "0.5168468", "0.5143426", "0.5143426", "0.5109729", "0.5067646", "0.5067495", "0.50652677", "0.50624096", "0.5047...
0.0
-1
/ Enabled aggressive block sorting Enabled unnecessary exception pruning Enabled aggressive exception aggregation
JarFile get(URL uRL, boolean bl) throws IOException { Object object; if (bl) { JarFile jarFile; object = instance; synchronized (object) { jarFile = this.getCachedJarFile(uRL); } object = jarFile; if (jarFile == null...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n protected void updateEliminations() {\n\n }", "private PerfectMergeSort() {}", "@Test\r\n @Override\r\n @ConditionalIgnore(condition = IgnoreTreeDeferredIssue.class)\r\n public void testSortedAddDiscontinous() {\r\n super.testSortedAddDiscontinous();\r\n }", "private void opt...
[ "0.55368066", "0.5485028", "0.54525036", "0.5429156", "0.5361027", "0.53087604", "0.52852994", "0.52692497", "0.52298915", "0.5192457", "0.5191479", "0.51884836", "0.5167498", "0.5143514", "0.5143514", "0.51092494", "0.50669515", "0.5066735", "0.5066676", "0.50626755", "0.504...
0.0
-1
/ Enabled aggressive block sorting Enabled unnecessary exception pruning Enabled aggressive exception aggregation Converted monitor instructions to comments Lifted jumps to return sites
URLConnection getConnection(JarFile object) throws IOException { JarFileFactory jarFileFactory = instance; // MONITORENTER : jarFileFactory object = urlCache.get(object); // MONITOREXIT : jarFileFactory if (object == null) return null; return ((URL)object).openConnection(...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void run() {\n /*\n r8 = this;\n r1 = com.umeng.commonsdk.proguard.b.b;\t Catch:{ Throwable -> 0x00c9 }\n monitor-enter(r1);\t Catch:{ Throwable -> 0x00c9 }\n r0 = r8.a;\t Catch:{ all -> 0x00c6 }\n if (r0 == 0) goto L_0x00c4;\n L_0x0009:\n r0 = r8.b;\t Cat...
[ "0.5992049", "0.5818038", "0.5740673", "0.56857747", "0.5626108", "0.552882", "0.5503531", "0.5436241", "0.54025126", "0.5366995", "0.5343119", "0.5324924", "0.52871484", "0.5282631", "0.5280329", "0.52797455", "0.52759844", "0.5262565", "0.5261499", "0.525841", "0.52392316",...
0.0
-1
Return local sign of the operand. For example, in the expr ab(c), local signs of the operands are +a, b, +c
static boolean adjSign(String s, int i) { if (i == 0) return true; if (s.charAt(i - 1) == '-') return false; return true; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String setSign() {\r\n\r\n\t\tif (getOperand().length() == Config.MAX_SIZE) {\r\n\t\t\treturn getOperand().toString();\r\n\t\t}\r\n\r\n\t\tif (getOperand().length() == 0) {\r\n\t\t\treturn \"0\";\r\n\t\t}\r\n\r\n\t\tif (sign) {\r\n\t\t\tsign = false;\r\n\t\t\treturn getOperand().deleteCharAt(0).toString();\...
[ "0.59616315", "0.59030324", "0.57998854", "0.575971", "0.573945", "0.56955934", "0.56000245", "0.55846417", "0.5581532", "0.5547357", "0.5531852", "0.5524804", "0.5498772", "0.54764277", "0.54554063", "0.54476273", "0.5429427", "0.5429427", "0.539658", "0.53872955", "0.536523...
0.0
-1
Evaluate expressions into the count vector of the 26 alphabets.If add is true, then add count to the count vector of the alphabets, else remove count from the count vector.
static void eval(String s, int[] v, boolean add) { // stack stores the global sign // for operands. Stack<Boolean> stk = new Stack<>(); stk.push(true); // + means true // global sign is positive initially int i = 0; while (i < s.length()) { if (s.charAt(i) == '+' || s.charAt(i) == '-') { ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private static void cryptanalysis() {\n\t for (char cipherChar : cipherText.toCharArray()) {\n\t if (Character.isLetter(cipherChar)) { // only letters are encrypted, punctuation marks and whitespace are not\n\t // following line converts letters to numbers between 0 and 25\n\t int cipher = (int...
[ "0.6113225", "0.59158766", "0.56673497", "0.5582472", "0.5506808", "0.5488892", "0.54218334", "0.5407022", "0.5382135", "0.53734696", "0.5337394", "0.533522", "0.5251963", "0.5244344", "0.5229699", "0.5150515", "0.5147763", "0.5143143", "0.51363707", "0.51193154", "0.5106052"...
0.50694203
25
Returns true if expr1 and expr2 represent same expressions
static boolean areSame(String expr1, String expr2) { // Create a vector for all operands and // initialize the vector as 0. int[] v = new int[MAX_CHAR]; // Put signs of all operands in expr1 eval(expr1, v, true); // Subtract signs of operands in expr2 eval(expr2, v, false); // If expressions are sa...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static BinaryExpression equal(Expression expression0, Expression expression1) { throw Extensions.todo(); }", "public boolean isEqual(Expression other) {\n Expression left = super.getLeft();\n Expression right = super.getRight();\n\n if (other instanceof Mult) {\n return (((...
[ "0.70920867", "0.69487673", "0.6623963", "0.6375282", "0.63709503", "0.6364318", "0.62906307", "0.62881577", "0.62858367", "0.62646836", "0.6219863", "0.61514515", "0.6133914", "0.6076783", "0.6055021", "0.6021347", "0.60001343", "0.5993811", "0.59925234", "0.59847337", "0.59...
0.8390941
0
Instantiates a new technical exception code.
public TechnicalExceptionCode(String msgId, Level severityLevel, CompletionState completionState) { super(msgId, severityLevel, completionState); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public TechnicalException() {\r\n }", "public SysAccessCodeException(int code, String businessMessage)\n/* */ {\n/* 21 */ this(businessMessage);\n/* */ }", "public TechnicalException(AbstractExceptionCode exceptionCode, String[] contextData,\n Throwable cause) {\n super(exceptionCode, ...
[ "0.709407", "0.6585142", "0.6491388", "0.63153696", "0.62831086", "0.6180849", "0.6103396", "0.5995316", "0.59640676", "0.59618235", "0.5960339", "0.59513915", "0.5909804", "0.58670926", "0.5862472", "0.5836786", "0.58324933", "0.580124", "0.5785355", "0.5774915", "0.5746687"...
0.60282344
7
Instantiates a new exception with the given exception context data elements. Calls the constructor TechnicalException(TOMTechnicalExceptionCode exceptionCode, String[] contextData, Throwable cause) with the following parameter: a default TechnicalExceptionCode DEFAULT_EXCEPTION_CODE, null for the contextData, previousl...
public TechnicalException(Throwable cause) { this(EXPRESSION_PROCESS_ERROR, null, cause); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public TechnicalException(AbstractExceptionCode exceptionCode, String[] contextData,\n Throwable cause) {\n super(exceptionCode, contextData, cause);\n }", "public TechnicalException(AbstractExceptionCode exceptionCode, Level customSeverityLevel,\n String[] contextData, Throwable cause) {\n supe...
[ "0.8309758", "0.7911861", "0.68472874", "0.66992664", "0.66059715", "0.6519321", "0.64585143", "0.6382183", "0.5855826", "0.55810213", "0.55454683", "0.54992163", "0.535407", "0.53353524", "0.53008753", "0.52489847", "0.5204064", "0.51732475", "0.5151222", "0.5119259", "0.510...
0.6173975
8
This constructor is defined to allow correct inheritance of exception classes. Call the parent constructor with a given exception code, given exception context data elements and a previously caught Throwable. Calls the constructor Exception(TechnicalExceptionCode exceptionCode, String[] contextData, Throwable cause) wi...
public TechnicalException(AbstractExceptionCode exceptionCode, String[] contextData, Throwable cause) { super(exceptionCode, contextData, cause); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public TechnicalException(AbstractExceptionCode exceptionCode, Level customSeverityLevel,\n String[] contextData, Throwable cause) {\n super(exceptionCode, customSeverityLevel, contextData, cause);\n }", "public TechnicalException() {\r\n }", "public SMSLibException(Throwable originalE)\n/* 17: *...
[ "0.77997804", "0.7101446", "0.6798281", "0.67963153", "0.67813873", "0.67786837", "0.677318", "0.6749413", "0.6690254", "0.6677794", "0.6664419", "0.6645415", "0.66409534", "0.6637631", "0.65374434", "0.6533475", "0.64234465", "0.63862544", "0.63786143", "0.6356645", "0.63295...
0.80861163
0
This constructor is defined to allow correct inheritance of exception classes.
public TechnicalException(AbstractExceptionCode exceptionCode, Level customSeverityLevel, String[] contextData, Throwable cause) { super(exceptionCode, customSeverityLevel, contextData, cause); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Exception() {\n\t\t\tsuper();\n\t\t}", "public Exception() {\n\tsuper();\n }", "public Exception(String s) {\n\tsuper(s);\n }", "public CIMException() {\n\t\tthis((String) null, (Object[]) null);\n\t}", "MyException(String str)\n {\n //parametrize constructor\n super(str);\n }"...
[ "0.8049019", "0.8033554", "0.7595525", "0.756437", "0.75331014", "0.7439674", "0.74261916", "0.7396025", "0.7395869", "0.7382163", "0.73815006", "0.73354363", "0.7331227", "0.7330706", "0.7301902", "0.72900885", "0.7260338", "0.72456455", "0.7223602", "0.71973455", "0.7186711...
0.0
-1
Test a corner case for backtracking: In this case the term dictionary has 493432 followed by 49344. When backtracking from 49343... to 4934, it's necessary to test that 4934 itself is ok before trying to append more characters.
public void testBacktracking() throws IOException { assertEquals(1, regexQueryNrHits("4934[314]")); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test \r\n public void shouldFindOneWordAtTheEnd() {\r\n \r\n String inputWord = \"bxxxxxxxe\";\r\n String[] dictionary =\r\n new String[] {\"able\", \"be\", \"ale\", \"apple\", \"bale\", \"kangaroo\"};\r\n \r\n assertEquals(\"be\", wordSeeker.lookFor(inputWord, dictionary));\r\n }", "@...
[ "0.5828243", "0.5503894", "0.5487707", "0.54579264", "0.54341453", "0.5418749", "0.54104096", "0.53982633", "0.5369195", "0.5365466", "0.53350204", "0.53237855", "0.53142303", "0.531249", "0.5264703", "0.5258798", "0.5248493", "0.52389365", "0.5224308", "0.52152336", "0.52143...
0.5702482
1
Test worstcase for getCommonSuffix optimization
public void testSlowCommonSuffix() throws Exception { expectThrows( TooComplexToDeterminizeException.class, () -> { new RegexpQuery(new Term("stringvalue", "(.*a){2000}")); }); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private String longestCommonPrefixHS(String[] strs){\n\t\tif (strs.length == 0) return \"\";\n\t\tString prefix = strs[0];\n\t\tfor (int i = 1; i < strs.length; i++){\n\t\t\twhile (strs[i].indexOf(prefix) != 0) {\n\t\t\t\tprefix = prefix.substring(0, prefix.length() - 1);\n\t\t\t\tif (prefix.isEmpty()) return \"\"...
[ "0.68023217", "0.6490391", "0.6421279", "0.64163595", "0.64041966", "0.63704073", "0.635078", "0.63353145", "0.6331731", "0.62835", "0.6258693", "0.61971706", "0.61533844", "0.6133087", "0.61181754", "0.6099946", "0.6083884", "0.60526836", "0.59677196", "0.5962966", "0.593461...
0.7045334
0
Called by the system when the service is first created.
@Override public void onCreate() { super.onCreate(); mApplication = null; Context appCtx = getApplicationContext(); if (appCtx instanceof DSCApplication) { mApplication = (DSCApplication) appCtx; } if (mApplication != null) { mApplication.initFolderObserverList(false); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic void onCreate() {\n\t\tLog.i(TAG, \"service on create\");\n\t\tsuper.onCreate();\n\t}", "private void initService() {\r\n\t}", "public void service_INIT(){\n }", "@Override\r\n public void onCreate() {\r\n Log.d(TAG, \"on service create\");\r\n }", "@Override\n\tpublic voi...
[ "0.79757905", "0.7819818", "0.77971107", "0.7617708", "0.7496392", "0.73072064", "0.7301554", "0.7086396", "0.7012359", "0.700692", "0.698125", "0.6965632", "0.6890431", "0.6856686", "0.68544805", "0.6812555", "0.6806386", "0.6791865", "0.6786074", "0.6786074", "0.67841566", ...
0.0
-1
Called by the system to notify a Service that it is no longer used and is being removed.
@Override public void onDestroy() { if (mApplication != null) { mApplication.cleanupObservers(); } super.onDestroy(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void onServiceDisconnected(ComponentName className) {\n \t\t\tmService = null;\n \t\t}", "@Override\n\tpublic void onDestroy() {\n\t\tthis.unregisterReceiver(notifyServiceReceiver);\n\t\tsuper.onDestroy();\n\t}", "public void onDestroy() {\n LogUtil.d(DownloadService.class, \"Service onDestroy\")...
[ "0.73268825", "0.73001826", "0.72958314", "0.72789896", "0.7255107", "0.72453463", "0.7245342", "0.7245342", "0.723863", "0.72172827", "0.72131586", "0.7193471", "0.7181576", "0.7160053", "0.7129976", "0.7100832", "0.70948595", "0.7073284", "0.7058681", "0.7051828", "0.703791...
0.0
-1
Called by the system every time a client explicitly starts the service by calling startService(Intent), providing the arguments it supplied and a unique integer token representing the start request. Do not call this method directly.
@Override public int onStartCommand(Intent intent, int flags, int startId) { super.onStartCommand(intent, flags, startId); if (mApplication != null) { mApplication.startWatchingObservers(); } return START_STICKY; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void onStart(Intent intent, int startid) {\n Log.d(\"ServiceTest\", \"Service started by user.\");\n }", "public void createServiceRequest() {\n getMainActivity().startService(new Intent(getMainActivity(), RequestService.class));\n }", "public void startService(View vi...
[ "0.6631368", "0.65712714", "0.6561961", "0.65325487", "0.65249014", "0.6499018", "0.6479533", "0.64237344", "0.6416891", "0.6407087", "0.6388897", "0.6388435", "0.6353661", "0.63506144", "0.6327702", "0.6277465", "0.6268656", "0.6264332", "0.62566733", "0.6254027", "0.6249895...
0.0
-1
Return the communication channel to the service. Return null because clients can not bind to the service.
@Override public IBinder onBind(Intent intent) { return null; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Object getCommunicationChannel()\r\n\t\t\tthrows PersistenceMechanismException {\n\t\treturn null;\r\n\t}", "SocketChannel getChannel();", "public SocketChannel getChannel() { return null; }", "public Channel getChannel() throws ConnectException\n {\n return getChannel(null);\n }", "public ...
[ "0.67065793", "0.66126245", "0.6604781", "0.65617764", "0.6468043", "0.6315132", "0.62431395", "0.61609524", "0.5893589", "0.5837434", "0.5821735", "0.56861305", "0.5674498", "0.5668461", "0.56083643", "0.55990124", "0.55880475", "0.55771524", "0.55697364", "0.55428797", "0.5...
0.0
-1
TODO Autogenerated method stub
protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { doGet(request, response); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
TODO Autogenerated method stub
public static void main(String[] args) { LowestCommonAncestor obj = new LowestCommonAncestor(); obj.insert(4); obj.insert(2); obj.insert(1); obj.insert(3); obj.insert(6); obj.insert(5); obj.insert(7); System.out.println("LCA of 2 numbers is " + obj...
{ "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
/ Convert list of elements to an apply tag
private void convert() { List<Node> e = findNextElements(); while(e != null) { Node parent = e.get(0).getParentNode(); Node apply = doc.createElement("apply"); parent.insertBefore(apply, e.get(0)); String fun = e.get(0).getTextContent().equals("|")? "abs" : "ceiling"; apply.appendChild(doc.createElem...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "String convertTagsToWhitespaceSeparated(List<T> tags);", "protected abstract ArrayList<Element> _toXml_();", "private String generateXml(List list)\n {\n StringBuffer buf = new StringBuffer( );\n for ( Iterator it = list.iterator( ); it.hasNext( ); )\n {\n DRLJavaEmitter emit...
[ "0.52645135", "0.5103409", "0.5101636", "0.4880444", "0.4784766", "0.47690487", "0.4741953", "0.46866912", "0.46548232", "0.46125385", "0.46008906", "0.45856935", "0.4575227", "0.4557728", "0.45457596", "0.45370486", "0.4523401", "0.45227054", "0.4522236", "0.4500626", "0.448...
0.63656527
0
/ Return a list of elements enclosed in floor brackets or surrounding a div
private List<Node> findNextElements(){ NodeList nl = doc.getElementsByTagName("mo"); List<Node> elements = new ArrayList<Node>(); for (int i = 0; i < nl.getLength(); i++) { Node next = nl.item(i); boolean complete = false; if(next.getTextContent().equalsIgnoreCase("|")) { elements.add(next); ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private List<Element> selectDiv(){\n\t\tElements allDiv = htmlParsed.select(\"div\");\n\t\treturn allDiv.stream().filter(div -> div.children().select(\"div\").isEmpty()).collect(Collectors.toList());\n\t}", "private static HtmlElement divContent() {\n HtmlElementList result = new HtmlElementList();\n\n ...
[ "0.61561465", "0.55893075", "0.55296636", "0.55296636", "0.52668077", "0.51591057", "0.5133789", "0.51005244", "0.5093485", "0.49490443", "0.49324924", "0.4931944", "0.4928898", "0.492093", "0.48815247", "0.48705918", "0.48638174", "0.4828383", "0.48108065", "0.47548944", "0....
0.49005222
14
inbuilt void method. all the general rule for void method apply you can not modify a void method.
@Test(priority=0) public void openApplication() { driver.get("https://locator.chase.com/"); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void call(Void aVoid) {\n\n }", "final /* synthetic */ void m65927a(Void voidR) {\n this.f56359a.m56689p();\n }", "public void method(){}", "@Override\r\n\tpublic boolean voidIt() {\n\t\treturn false;\r\n\t}", "void method();", "void method();", "publi...
[ "0.7021556", "0.69856524", "0.69855845", "0.69686615", "0.68869776", "0.68869776", "0.68296105", "0.6683758", "0.6683758", "0.66593623", "0.6627034", "0.6609615", "0.65945065", "0.65148103", "0.6477634", "0.645014", "0.6433116", "0.64317316", "0.64307517", "0.641405", "0.6379...
0.0
-1
inbuilt return type method we can modify. we must comply with data type
@Test(priority=1) public void getTitle() { String title=driver.getTitle(); System.out.println(( title).toUpperCase()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Type getReturnType () { return return_type; }", "public Type getReturnType() {\n/* 227 */ return Type.getReturnType(this.desc);\n/* */ }", "DataType getBase_DataType();", "public abstract ValueType getValueType();", "protected Type adjustType(Type currentType, Type addedType, Range addedRange) {\...
[ "0.6388351", "0.6157752", "0.6151276", "0.6048107", "0.6020018", "0.6006348", "0.5957173", "0.592006", "0.59032255", "0.5891763", "0.58810174", "0.58654475", "0.5861333", "0.58586323", "0.5842049", "0.5780819", "0.5770981", "0.5770663", "0.5764386", "0.5752978", "0.5751639", ...
0.0
-1
we can increase the scope of data we can not decrease the scope of the data
@Test(priority=2) public void getUrl() { Object url=driver.getCurrentUrl(); // driver.getCurrentUrl(); method is a string method // we are increasing the scope. Object urlString=url.toString().toUpperCase(); System.out.println(urlString); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void updateData() {\n\t\t\r\n\t}", "@Override\n\tprotected void getDataRefresh() {\n\t\t\n\t}", "public void updateData() {}", "private void freshTheData() {\n mData.clear();\n mData.addAll(mDataOrg);\n }", "private void updateWhereItemListData() {\n ModelWhere...
[ "0.59677196", "0.59386796", "0.57149726", "0.5700672", "0.56394833", "0.5639116", "0.5621054", "0.5612368", "0.5599749", "0.55642796", "0.5558759", "0.5552032", "0.554107", "0.551995", "0.5500994", "0.54737866", "0.5463452", "0.54590833", "0.54509896", "0.54317683", "0.537902...
0.0
-1
System.out.println("Hello Servlet"); It's the WEB ROOT System.out.println("web context: " + getServletContext().getContextPath()); System.out.println("/" + getServletContext().getRealPath("/")); System.out.println("/uploads" + getServletContext().getRealPath("/uploads")); System.out.println(File.separator);
@Override protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { uploadFile(request, response); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void fileUpload(HttpServletRequest request, HttpServletResponse response) {\n\t \ttry {\r\n\t\t\t\t\t/*\r\n\t\t\t\t\t * String appPath = request.getServletContext().getRealPath(\"\");\r\n\t\t\t\t\t * System.out.println(appPath); String savePath = appPath + File.separator +\r\n\t\t\t\t\t * SAVE_DIR; ...
[ "0.64782184", "0.62757415", "0.62178504", "0.61598223", "0.61598223", "0.61598223", "0.61598223", "0.6153807", "0.61490095", "0.6094185", "0.60321206", "0.59939724", "0.5982013", "0.59691525", "0.5959608", "0.59435403", "0.58791035", "0.5846773", "0.5772907", "0.576006", "0.5...
0.0
-1
Test case number: 0 /Coverage entropy=0.6931471805599453
@Test(timeout = 4000) public void test000() throws Throwable { StringReader stringReader0 = new StringReader("WA.W2e9@MV5G"); JavaCharStream javaCharStream0 = new JavaCharStream(stringReader0, 1, 1); JavaParserTokenManager javaParserTokenManager0 = new JavaParserTokenManager(javaCharStream0); ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test(timeout = 4000)\n public void test126() throws Throwable {\n TestInstances testInstances0 = new TestInstances();\n Instances instances0 = testInstances0.generate((String) null);\n Evaluation evaluation0 = new Evaluation(instances0);\n double double0 = evaluation0.totalCost();\n as...
[ "0.76292425", "0.7489122", "0.73876774", "0.7302642", "0.7255929", "0.7244975", "0.7244097", "0.7234258", "0.71865153", "0.7183124", "0.7178589", "0.7173862", "0.7131481", "0.7080037", "0.7052844", "0.7052605", "0.70305336", "0.7014885", "0.69984746", "0.69792557", "0.6955054...
0.0
-1
Test case number: 1 /Coverage entropy=1.3282503361840323
@Test(timeout = 4000) public void test001() throws Throwable { StringReader stringReader0 = new StringReader("WA.W2e9@MyV5G"); JavaCharStream javaCharStream0 = new JavaCharStream(stringReader0, 89, 1); JavaParserTokenManager javaParserTokenManager0 = new JavaParserTokenManager(javaCharStream0, 1);...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test(timeout = 4000)\n public void test126() throws Throwable {\n TestInstances testInstances0 = new TestInstances();\n Instances instances0 = testInstances0.generate((String) null);\n Evaluation evaluation0 = new Evaluation(instances0);\n double double0 = evaluation0.totalCost();\n as...
[ "0.7136284", "0.7045013", "0.6820417", "0.6733315", "0.6713588", "0.671295", "0.6709197", "0.66894895", "0.66745085", "0.6671932", "0.6655244", "0.6654664", "0.66534907", "0.66178936", "0.66043115", "0.6568494", "0.6559768", "0.65496916", "0.65377676", "0.6536426", "0.6534503...
0.0
-1
Test case number: 2 /Coverage entropy=1.6797442385252175
@Test(timeout = 4000) public void test002() throws Throwable { StringReader stringReader0 = new StringReader("loCng"); JavaCharStream javaCharStream0 = new JavaCharStream(stringReader0); JavaParserTokenManager javaParserTokenManager0 = new JavaParserTokenManager(javaCharStream0); javaParserT...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test(timeout = 4000)\n public void test126() throws Throwable {\n TestInstances testInstances0 = new TestInstances();\n Instances instances0 = testInstances0.generate((String) null);\n Evaluation evaluation0 = new Evaluation(instances0);\n double double0 = evaluation0.totalCost();\n as...
[ "0.7040488", "0.6894253", "0.674844", "0.672958", "0.6593083", "0.65902185", "0.6585476", "0.6551687", "0.650459", "0.65040755", "0.65033114", "0.6495545", "0.6490696", "0.64842707", "0.6475146", "0.64511466", "0.64453954", "0.64205354", "0.639661", "0.63714945", "0.6331398",...
0.0
-1
Test case number: 3 /Coverage entropy=0.6365141682948128
@Test(timeout = 4000) public void test003() throws Throwable { StringReader stringReader0 = new StringReader("void"); JavaCharStream javaCharStream0 = new JavaCharStream(stringReader0); JavaParserTokenManager javaParserTokenManager0 = new JavaParserTokenManager(javaCharStream0); javaParserTo...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test(timeout = 4000)\n public void test126() throws Throwable {\n TestInstances testInstances0 = new TestInstances();\n Instances instances0 = testInstances0.generate((String) null);\n Evaluation evaluation0 = new Evaluation(instances0);\n double double0 = evaluation0.totalCost();\n as...
[ "0.71846133", "0.7090969", "0.6901204", "0.68651116", "0.67577964", "0.6709633", "0.6700551", "0.6698388", "0.6675015", "0.66622496", "0.66483057", "0.664372", "0.66417706", "0.66306406", "0.66274303", "0.6610293", "0.66048336", "0.6599916", "0.6581567", "0.6548937", "0.65453...
0.0
-1
Test case number: 4 /Coverage entropy=0.6365141682948128
@Test(timeout = 4000) public void test004() throws Throwable { JavaParserTokenManager javaParserTokenManager0 = new JavaParserTokenManager((JavaCharStream) null); // Undeclared exception! try { javaParserTokenManager0.jjFillToken(); fail("Expecting exception: NullPointerException"...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test(timeout = 4000)\n public void test126() throws Throwable {\n TestInstances testInstances0 = new TestInstances();\n Instances instances0 = testInstances0.generate((String) null);\n Evaluation evaluation0 = new Evaluation(instances0);\n double double0 = evaluation0.totalCost();\n as...
[ "0.71825594", "0.71150094", "0.6938114", "0.6808494", "0.6801305", "0.6766384", "0.6680754", "0.66530174", "0.6649372", "0.66485846", "0.6631935", "0.66299856", "0.66239923", "0.66063076", "0.66030186", "0.65914756", "0.65844643", "0.6578452", "0.6568261", "0.65093803", "0.65...
0.0
-1
Test case number: 5 /Coverage entropy=0.6365141682948128
@Test(timeout = 4000) public void test005() throws Throwable { StringReader stringReader0 = new StringReader("}y5+{SPClS&QvLb0Qm"); JavaCharStream javaCharStream0 = new JavaCharStream(stringReader0); JavaParserTokenManager javaParserTokenManager0 = new JavaParserTokenManager(javaCharStream0); ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test(timeout = 4000)\n public void test126() throws Throwable {\n TestInstances testInstances0 = new TestInstances();\n Instances instances0 = testInstances0.generate((String) null);\n Evaluation evaluation0 = new Evaluation(instances0);\n double double0 = evaluation0.totalCost();\n as...
[ "0.71419805", "0.70207876", "0.7017047", "0.6793535", "0.67480093", "0.670541", "0.6639987", "0.6639446", "0.6588604", "0.6582385", "0.6564656", "0.6549865", "0.65325934", "0.6524301", "0.6503283", "0.6458027", "0.64558405", "0.6449692", "0.64342624", "0.6429584", "0.6429105"...
0.0
-1
Test case number: 6 /Coverage entropy=0.6931471805599453
@Test(timeout = 4000) public void test006() throws Throwable { JavaParserTokenManager javaParserTokenManager0 = new JavaParserTokenManager((JavaCharStream) null); // Undeclared exception! try { javaParserTokenManager0.getNextToken(); fail("Expecting exception: NullPointerException...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test(timeout = 4000)\n public void test126() throws Throwable {\n TestInstances testInstances0 = new TestInstances();\n Instances instances0 = testInstances0.generate((String) null);\n Evaluation evaluation0 = new Evaluation(instances0);\n double double0 = evaluation0.totalCost();\n as...
[ "0.75383884", "0.72925436", "0.7135205", "0.70604634", "0.70382243", "0.70040584", "0.69922775", "0.69919986", "0.69790727", "0.69589084", "0.69429934", "0.693275", "0.69072294", "0.6893972", "0.6873192", "0.6860422", "0.6858865", "0.68418354", "0.68313867", "0.6814685", "0.6...
0.0
-1
Test case number: 7 /Coverage entropy=0.6931471805599453
@Test(timeout = 4000) public void test007() throws Throwable { StringReader stringReader0 = new StringReader("catch"); JavaCharStream javaCharStream0 = new JavaCharStream(stringReader0, 106, 0); javaCharStream0.maxNextCharInd = (-3000); JavaParserTokenManager javaParserTokenManager0 = new Ja...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test(timeout = 4000)\n public void test126() throws Throwable {\n TestInstances testInstances0 = new TestInstances();\n Instances instances0 = testInstances0.generate((String) null);\n Evaluation evaluation0 = new Evaluation(instances0);\n double double0 = evaluation0.totalCost();\n as...
[ "0.7500504", "0.7293249", "0.7206463", "0.7112496", "0.70580304", "0.70216674", "0.7018573", "0.7000579", "0.695939", "0.69311166", "0.69306433", "0.6875188", "0.6872071", "0.6865185", "0.6858704", "0.6854174", "0.68478316", "0.68460345", "0.68271756", "0.6801464", "0.6794787...
0.0
-1
Test case number: 8 /Coverage entropy=0.6931471805599453
@Test(timeout = 4000) public void test008() throws Throwable { StringReader stringReader0 = new StringReader("interface"); JavaCharStream javaCharStream0 = new JavaCharStream(stringReader0); JavaParserTokenManager javaParserTokenManager0 = new JavaParserTokenManager(javaCharStream0); javaCha...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test(timeout = 4000)\n public void test126() throws Throwable {\n TestInstances testInstances0 = new TestInstances();\n Instances instances0 = testInstances0.generate((String) null);\n Evaluation evaluation0 = new Evaluation(instances0);\n double double0 = evaluation0.totalCost();\n as...
[ "0.7445858", "0.7252123", "0.7110566", "0.70294994", "0.7000198", "0.69863796", "0.69640845", "0.69355655", "0.6929535", "0.6916203", "0.6915264", "0.68609446", "0.6857565", "0.6807998", "0.6805401", "0.679649", "0.67936957", "0.675688", "0.67367285", "0.6731715", "0.6723617"...
0.0
-1
Test case number: 9 /Coverage entropy=0.6931471805599453
@Test(timeout = 4000) public void test009() throws Throwable { StringReader stringReader0 = new StringReader("~:}LC@A$L'2q+~$ja"); JavaCharStream javaCharStream0 = new JavaCharStream(stringReader0); JavaParserTokenManager javaParserTokenManager0 = new JavaParserTokenManager(javaCharStream0); ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test(timeout = 4000)\n public void test126() throws Throwable {\n TestInstances testInstances0 = new TestInstances();\n Instances instances0 = testInstances0.generate((String) null);\n Evaluation evaluation0 = new Evaluation(instances0);\n double double0 = evaluation0.totalCost();\n as...
[ "0.7522505", "0.7292354", "0.7203732", "0.70933217", "0.70676994", "0.7065993", "0.6994273", "0.69900227", "0.698888", "0.6944921", "0.69277924", "0.69015145", "0.6889505", "0.6842131", "0.6839339", "0.68349797", "0.6818457", "0.6808556", "0.6797491", "0.6746007", "0.6728972"...
0.0
-1
Test case number: 10 /Coverage entropy=0.6365141682948128
@Test(timeout = 4000) public void test010() throws Throwable { StringReader stringReader0 = new StringReader("pZhZ$;yY23j:"); JavaCharStream javaCharStream0 = new JavaCharStream(stringReader0, 121, 1); JavaParserTokenManager javaParserTokenManager0 = new JavaParserTokenManager(javaCharStream0); ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test(timeout = 4000)\n public void test126() throws Throwable {\n TestInstances testInstances0 = new TestInstances();\n Instances instances0 = testInstances0.generate((String) null);\n Evaluation evaluation0 = new Evaluation(instances0);\n double double0 = evaluation0.totalCost();\n as...
[ "0.7336475", "0.7223768", "0.70073855", "0.6883713", "0.6869232", "0.68685174", "0.68662685", "0.67953086", "0.67721176", "0.6757366", "0.6722032", "0.6721491", "0.67115146", "0.6703746", "0.66505903", "0.6644904", "0.6620939", "0.66140383", "0.66007584", "0.6598624", "0.6593...
0.0
-1
Test case number: 11 /Coverage entropy=1.0397207708399179
@Test(timeout = 4000) public void test011() throws Throwable { StringReader stringReader0 = new StringReader(";{\"9n/s(2C'#tQX*"); JavaCharStream javaCharStream0 = new JavaCharStream(stringReader0); JavaParserTokenManager javaParserTokenManager0 = new JavaParserTokenManager(javaCharStream0); ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test(timeout = 4000)\n public void test126() throws Throwable {\n TestInstances testInstances0 = new TestInstances();\n Instances instances0 = testInstances0.generate((String) null);\n Evaluation evaluation0 = new Evaluation(instances0);\n double double0 = evaluation0.totalCost();\n as...
[ "0.7312728", "0.7212703", "0.69507194", "0.68555623", "0.68354785", "0.68299663", "0.68151456", "0.6797911", "0.67879283", "0.67857015", "0.678354", "0.6768255", "0.67394197", "0.67008275", "0.6690844", "0.6673818", "0.6669484", "0.6647057", "0.66438425", "0.6631675", "0.6580...
0.0
-1
Test case number: 12 /Coverage entropy=0.9017750298932845
@Test(timeout = 4000) public void test012() throws Throwable { StringReader stringReader0 = new StringReader("D!%cD=EVjn`"); JavaCharStream javaCharStream0 = new JavaCharStream(stringReader0, 93, (-1)); JavaParserTokenManager javaParserTokenManager0 = new JavaParserTokenManager(javaCharStream0); ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test(timeout = 4000)\n public void test126() throws Throwable {\n TestInstances testInstances0 = new TestInstances();\n Instances instances0 = testInstances0.generate((String) null);\n Evaluation evaluation0 = new Evaluation(instances0);\n double double0 = evaluation0.totalCost();\n as...
[ "0.7226179", "0.71417135", "0.68678087", "0.6830288", "0.6816583", "0.6777502", "0.67484653", "0.67378837", "0.6722853", "0.67144835", "0.670433", "0.6678761", "0.6652692", "0.6627275", "0.6607233", "0.6598179", "0.658594", "0.65787536", "0.65770155", "0.6554223", "0.65538406...
0.0
-1
Test case number: 13 /Coverage entropy=0.9532710147058912
@Test(timeout = 4000) public void test013() throws Throwable { StringReader stringReader0 = new StringReader("D!%cD=EVjn`"); JavaCharStream javaCharStream0 = new JavaCharStream(stringReader0); JavaParserTokenManager javaParserTokenManager0 = new JavaParserTokenManager(javaCharStream0); javaP...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test(timeout = 4000)\n public void test126() throws Throwable {\n TestInstances testInstances0 = new TestInstances();\n Instances instances0 = testInstances0.generate((String) null);\n Evaluation evaluation0 = new Evaluation(instances0);\n double double0 = evaluation0.totalCost();\n as...
[ "0.74256647", "0.7330442", "0.6983061", "0.696266", "0.6891131", "0.68773645", "0.68666536", "0.68504715", "0.6845201", "0.6830736", "0.6829737", "0.68217003", "0.67840767", "0.67585546", "0.6748289", "0.67473507", "0.6701782", "0.6697914", "0.6668099", "0.6666268", "0.666244...
0.0
-1
Test case number: 14 /Coverage entropy=1.0986122886681096
@Test(timeout = 4000) public void test014() throws Throwable { JavaParserTokenManager javaParserTokenManager0 = null; try { javaParserTokenManager0 = new JavaParserTokenManager((JavaCharStream) null, 1632); fail("Expecting exception: Error"); } catch(Error e) { // ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test(timeout = 4000)\n public void test126() throws Throwable {\n TestInstances testInstances0 = new TestInstances();\n Instances instances0 = testInstances0.generate((String) null);\n Evaluation evaluation0 = new Evaluation(instances0);\n double double0 = evaluation0.totalCost();\n as...
[ "0.73363054", "0.72423124", "0.69345516", "0.6890128", "0.6879626", "0.68539053", "0.68129873", "0.6812274", "0.6804511", "0.67841935", "0.6762154", "0.67619646", "0.675385", "0.6749741", "0.67472357", "0.6732158", "0.67038673", "0.67018247", "0.6682732", "0.6669904", "0.6643...
0.0
-1
Test case number: 15 /Coverage entropy=1.404774143668883
@Test(timeout = 4000) public void test015() throws Throwable { StringReader stringReader0 = new StringReader(" 6PR~"); JavaCharStream javaCharStream0 = new JavaCharStream(stringReader0); JavaParserTokenManager javaParserTokenManager0 = new JavaParserTokenManager(javaCharStream0, 2); // Undec...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test(timeout = 4000)\n public void test126() throws Throwable {\n TestInstances testInstances0 = new TestInstances();\n Instances instances0 = testInstances0.generate((String) null);\n Evaluation evaluation0 = new Evaluation(instances0);\n double double0 = evaluation0.totalCost();\n as...
[ "0.73080117", "0.7119837", "0.68947905", "0.68837106", "0.68500465", "0.68227416", "0.6783464", "0.674294", "0.6730953", "0.67149633", "0.67141104", "0.6674085", "0.66460335", "0.66388583", "0.66375715", "0.6633966", "0.6629031", "0.66083163", "0.6583225", "0.65634406", "0.65...
0.0
-1
Test case number: 16 /Coverage entropy=1.404774143668883
@Test(timeout = 4000) public void test016() throws Throwable { StringReader stringReader0 = new StringReader(")0\":rw.f=QJ{Y+>$7"); JavaCharStream javaCharStream0 = new JavaCharStream(stringReader0); JavaParserTokenManager javaParserTokenManager0 = new JavaParserTokenManager(javaCharStream0, 3); ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test(timeout = 4000)\n public void test126() throws Throwable {\n TestInstances testInstances0 = new TestInstances();\n Instances instances0 = testInstances0.generate((String) null);\n Evaluation evaluation0 = new Evaluation(instances0);\n double double0 = evaluation0.totalCost();\n as...
[ "0.73499846", "0.71724355", "0.6823598", "0.67965657", "0.67901474", "0.6759731", "0.67357105", "0.6718222", "0.6698924", "0.6690886", "0.66881514", "0.66813767", "0.6679429", "0.66741174", "0.6659047", "0.66390663", "0.6632809", "0.6616891", "0.6601652", "0.6600525", "0.6563...
0.0
-1