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 |
|---|---|---|---|---|---|---|
Test of insertSome method, of class ByteArray. | @Test
public void testInsertSome() {
System.out.println("insertSome");
ByteArray instance = new ByteArray();
instance.writeInt(12, 0);
instance.writeInt(15, 4);
instance.writeInt(13, instance.compacity());
instance.insertSome("hello".getBytes(), 0, 4... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Test\n public void testInsert() {\n System.out.println(\"insert\");\n ByteArray instance = new ByteArray();\n \n instance.writeInt(12, 0);\n instance.writeInt(15, 4);\n instance.writeInt(13, instance.compacity());\n \n instance.insert(\"hello\".getBytes()... | [
"0.7837456",
"0.6867892",
"0.62592006",
"0.6136354",
"0.6110508",
"0.6066612",
"0.60019183",
"0.5999532",
"0.59959817",
"0.59636486",
"0.5950994",
"0.5925741",
"0.5899154",
"0.58917534",
"0.58635336",
"0.581036",
"0.58027714",
"0.5768233",
"0.5756745",
"0.5754093",
"0.5717466... | 0.84595424 | 0 |
Calcula el costo de ir de un nodo a otro. | private int calcularCosto(final Nodo origen, final Nodo fin) {
return (int) Math.sqrt((int) Math.pow((origen.getPosicionX() - fin.getPosicionX()), 2)
+ (int) Math.pow((origen.getPosicionY() - fin.getPosicionY()), 2));
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public double calcular_costo() {\n\t\t return 1.3*peso+30 ;\n\t}",
"double getCost();",
"double getCost();",
"public double darCosto(){\n return costo;\n }",
"@Override public double getCosto(){\n double d = 190.00;\n return d;\n }",
"double getTotalCost();",
"@Override\n\tpublic d... | [
"0.7266651",
"0.67070353",
"0.67070353",
"0.6661334",
"0.6647654",
"0.664128",
"0.66288406",
"0.6594867",
"0.6587194",
"0.6576741",
"0.6576741",
"0.6576741",
"0.65725636",
"0.65483636",
"0.6510038",
"0.650985",
"0.6458602",
"0.64506143",
"0.64169574",
"0.6336348",
"0.63351226... | 0.6933711 | 1 |
Graba el resultado final del recorrido. | private void imprimir() {
try {
PrintWriter pr = new PrintWriter(super.salida);
for (Nodo nodo : this.solucion) {
pr.println(nodo.getPosicionX() + " " + nodo.getPosicionY());
}
pr.close();
} catch (FileNotFoundException e) {
e.printStackTrace();
}
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void colocarComentariosResultado()\r\n\t{\r\n\t\tresultadoprueba.colocarTextoComentarios(\"\");\r\n\t}",
"void desconto_final(){\n setDesconto_final(this.inss + this.irpf);\n System.out.println(\"desconto_total = R$ \" + arredondar(this.desconto_final));\n }",
"@Override\n\tpublic Trans... | [
"0.6572741",
"0.64374965",
"0.6251681",
"0.6240255",
"0.6227462",
"0.5895011",
"0.5884375",
"0.58397794",
"0.5838509",
"0.5831339",
"0.580431",
"0.5761812",
"0.5757965",
"0.575027",
"0.5738075",
"0.57227623",
"0.56531614",
"0.5652076",
"0.56385815",
"0.56360257",
"0.5604944",... | 0.0 | -1 |
Graba la salida con error. | private void imprimir(String string) {
try {
PrintWriter pr = new PrintWriter(super.salida);
pr.println(string);
pr.close();
} catch (FileNotFoundException e) {
e.printStackTrace();
}
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void estiloError() {\r\n /**Bea y Jose**/\r\n\t}",
"private void obtieneError(int error) throws Excepciones{\n String[] err = {\n \"ERROR DE SYNTAXIS\",\n \"PARENTESIS NO BALANCEADOS\",\n \"NO EXISTE EXPRESION\",\n \"DIVISION POR CERO\"\n };\n throw new Excepciones... | [
"0.7655309",
"0.6767236",
"0.64459735",
"0.6404789",
"0.6306124",
"0.6292046",
"0.61664146",
"0.6161477",
"0.61392695",
"0.60861844",
"0.6063491",
"0.6029588",
"0.6028043",
"0.59972733",
"0.5988749",
"0.59830934",
"0.5969201",
"0.5961004",
"0.59498006",
"0.59473056",
"0.59240... | 0.0 | -1 |
Resuelve el grafo usando el algoritmo de BFS. | private void resolverBFS() {
Queue<Integer> cola = new LinkedList<Integer>();
int[] vecDistancia = new int[nodos.size()];
for (int i = 0; i < vecDistancia.length; i++) {
vecDistancia[i] = -1;
recorrido[i] = 0;
}
int nodoActual = 0;
cola.add(nodoActual);
vecDistancia[nodoActual] = 0;
recorrido[nodo... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public static String BFS(Graph grafo, Vertice vertice) {\r\n\t\tArrayList<Integer> busca = new ArrayList<Integer>(); // vertice nivel pai em ordem de descoberta\r\n\t\tArrayList<Vertice> aux1 = new ArrayList<Vertice>(); // fila de nos pais a serem visitados\r\n\t\tArrayList<Vertice> aux2 = new ArrayList<Vertice>()... | [
"0.67945117",
"0.6377754",
"0.637601",
"0.6131084",
"0.61213225",
"0.603936",
"0.60050035",
"0.5991894",
"0.59498245",
"0.5801842",
"0.57970387",
"0.57964706",
"0.5795366",
"0.5788261",
"0.5780922",
"0.5751379",
"0.5710843",
"0.5709022",
"0.57080346",
"0.56973064",
"0.5692118... | 0.6970559 | 0 |
Using this loop does not guarantee we find the largest first unfortunately. | public static void main(String[] args){
int largest = 0;
for(int i = max; i >= min; i--)
for(int j = max; j >= min; j--)
if(i*j > largest && isPalindrome(i*j))//Don't bother checking for palindromimity if the product is smaller than the current largest.
largest = i*j;
System.out.println("The palindrom... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"double largestNumber(double[] a) {\n\t\tdouble max = a[0];\n\t\tdouble no = 0;\n\t\tfor (int index = 1; index < a.length; index++) {\n\t\t\tif (max > a[index] && max > a[index + 1]) {\n\t\t\t\tno = max;\n\t\t\t\tbreak;\n\t\t\t} else if (a[index] > max && a[index] > a[index + 1]) {\n\t\t\t\tno = a[index];\n\t\t\t\t... | [
"0.6727151",
"0.65250844",
"0.6514795",
"0.6493893",
"0.6483358",
"0.64242077",
"0.64241844",
"0.6420777",
"0.63831294",
"0.63419235",
"0.6320999",
"0.6311509",
"0.6298076",
"0.6289818",
"0.62745637",
"0.62730503",
"0.62730175",
"0.6271144",
"0.62569296",
"0.62501657",
"0.624... | 0.0 | -1 |
ESTO SIEMPRE SE EJECUTA CUANDO SE CONSUME EJB | public Date getVersionRow(){
return this.versionRow;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Test\n public void testGetOrcamentos() throws Exception {\n System.out.println(\"getOrcamentos\");\n Integer idOfCostumer = null;\n EJBContainer container = javax.ejb.embeddable.EJBContainer.createEJBContainer();\n OrcamentoService instance = (OrcamentoService)container.getContext()... | [
"0.62473017",
"0.6118646",
"0.60525715",
"0.60170615",
"0.6016947",
"0.6015204",
"0.5990267",
"0.5945225",
"0.59263813",
"0.59006315",
"0.586391",
"0.58629686",
"0.5860923",
"0.58541286",
"0.5823571",
"0.5741638",
"0.57288766",
"0.57220244",
"0.57192785",
"0.5715607",
"0.5696... | 0.0 | -1 |
Creates a new telephone entry. | @PostMapping
public ResponseEntity<TelephoneEntry> createEntry(@Valid @RequestBody TelephoneEntry telephoneEntry) {
TelephoneEntry returnedTelephoneEntry = telephoneEntryService.save(telephoneEntry);
try {
return ResponseEntity
.created(new URI("/phoneNumber/" + retur... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private static void addPhone() {\n\n Phone newPhone = new Phone(); // create new Phone object\n\n String make = Validate.readString(ASK_MAKE_PHONE); // Ask for and set the make\n\n newPhone.setMake(make); //... | [
"0.6685843",
"0.6253823",
"0.6082029",
"0.5974926",
"0.5917707",
"0.58772635",
"0.57965136",
"0.5774196",
"0.57541454",
"0.5750117",
"0.57313406",
"0.57292855",
"0.57170415",
"0.56720454",
"0.5657264",
"0.56375265",
"0.5633305",
"0.5631449",
"0.5609141",
"0.5586934",
"0.55680... | 0.69374615 | 0 |
Updates the fields in the specified entry with the specified ID | @PutMapping("/{id}")
public TelephoneEntry updateEntry(@PathVariable Long id, @Valid @RequestBody TelephoneEntry telephoneEntry) {
telephoneEntryService.findById(id).orElseThrow(() -> new EntryNotFoundException(id));
return telephoneEntryService.update(id, telephoneEntry);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"protected abstract void updateEntry(PersistentEntity persistentEntity, K id, T entry);",
"private void updateEntry() {\n String desiredId = idField.getText();\n Student student = studentHashMap.get(desiredId);\n\n try {\n if (student == null) {\n throw new NoMatchFo... | [
"0.6475377",
"0.62835354",
"0.6243347",
"0.62315774",
"0.61946213",
"0.61918753",
"0.6171813",
"0.6171742",
"0.6171742",
"0.61214876",
"0.6101634",
"0.6045364",
"0.6005417",
"0.5975856",
"0.59449124",
"0.5903234",
"0.59028524",
"0.5902537",
"0.58972394",
"0.5843812",
"0.58380... | 0.55479324 | 86 |
Deletes the entry with the specified ID | @DeleteMapping("/{id}")
public void deleteEntry(@PathVariable Long id) {
telephoneEntryService.findById(id).orElseThrow(() -> new EntryNotFoundException(id));
telephoneEntryService.delete(id);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n\tpublic void deleteEntry(Serializable id) {\n\t\tT t = this.getEntryById(id);\n\t\tthis.hibernateTemplate.delete(t);\n\t}",
"boolean deleteEntry(String id) throws SQLException;",
"@Override\n\tpublic void deleteById(Long entryId) {\n\t\t\n\t\tentryDAO.delete(entryId);\n\t}",
"public void delete(S... | [
"0.81754196",
"0.8140112",
"0.8005972",
"0.79352695",
"0.79352695",
"0.79352695",
"0.79352695",
"0.79352695",
"0.7927506",
"0.7904409",
"0.79009694",
"0.79009694",
"0.79009694",
"0.78985995",
"0.78985995",
"0.78985995",
"0.78985995",
"0.78985995",
"0.7866438",
"0.7861793",
"0... | 0.76792985 | 52 |
Returns the entry with the specified ID. | @GetMapping("/{id}")
public TelephoneEntry getEntry(@PathVariable Long id) {
return telephoneEntryService.findById(id).orElseThrow(() -> new EntryNotFoundException(id));
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n\tpublic T getEntryById(Serializable id) {\n\t\treturn (T) this.hibernateTemplate.get(this.classt, id);\n\t}",
"public static LogEntry getById ( final Long id ) {\n try {\n return getWhere( createCriterionAsList( ID, id ) ).get( 0 );\n }\n catch ( final Exception e ) {\... | [
"0.7801023",
"0.73236984",
"0.7186546",
"0.7152471",
"0.7149897",
"0.7065953",
"0.7033856",
"0.69771934",
"0.6957871",
"0.6952853",
"0.69444084",
"0.6904319",
"0.6897029",
"0.68675137",
"0.68367064",
"0.68314976",
"0.68121046",
"0.68024725",
"0.6789648",
"0.67615753",
"0.6735... | 0.6853936 | 14 |
Returns all entries in the database. | @GetMapping
public ResponseEntity<Iterable<TelephoneEntry>> getVacancies() {
List<TelephoneEntry> entries = telephoneEntryService.findAll();
if(entries.isEmpty()){
return ResponseEntity.status(HttpStatus.NO_CONTENT).build();
} else {
return ResponseEntity.ok(entries)... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public Cursor fetchAllEntries() {\n return mDb.query(DATABASE_TABLE, null, null, null, null, null, null);\n }",
"@Override\n\tpublic List<Entry> getAllEntry() {\n\t\treturn entryDAO.getAllEntry();\n\t}",
"@Override\n\tpublic List<T> getAllEntry() {\n\t\treturn this.hibernateTemplate.find(\"from \"+th... | [
"0.78481853",
"0.7730298",
"0.7418032",
"0.73997563",
"0.73892015",
"0.7317569",
"0.72415966",
"0.72154987",
"0.71523255",
"0.71495545",
"0.7146196",
"0.7120744",
"0.7085854",
"0.70711076",
"0.7051446",
"0.70398545",
"0.7009029",
"0.69645",
"0.694447",
"0.69335985",
"0.691741... | 0.0 | -1 |
si null = fanisambato mitambatra ny lehilahy sy ny vehivavy, si true = fanisambato lehilahy, si false = fanisambato vehivavy | protected FanisamBato(){
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public boolean tienePapel()\n {\n //COMPLETE\n return this.hojas > 0;\n }",
"boolean isSetStraight();",
"boolean isEstConditionne();",
"private void peliLoppuuUfojenTuhoamiseen() {\n if (tuhotut == Ufolkm) {\n ingame = false;\n Loppusanat = \"STEVE HOLT!\";\n }\n ... | [
"0.5961956",
"0.5946552",
"0.5860552",
"0.58167624",
"0.57967466",
"0.579361",
"0.5735044",
"0.5732494",
"0.5695764",
"0.5658291",
"0.56406784",
"0.56406784",
"0.5626304",
"0.562507",
"0.56228095",
"0.56152695",
"0.5586278",
"0.5564314",
"0.55565536",
"0.5555161",
"0.55513114... | 0.0 | -1 |
Clean up any resources being used. | protected void dispose(boolean disposing) throws Exception {
if (disposing && (components != null))
{
components.Dispose();
}
super.Dispose(disposing);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void cleanup() {\r\n }",
"public void cleanup() {\n }",
"protected void cleanup() {\n try {\n if (_in != null) {\n _in.close();\n _in = null;\n }\n if (_out != null) {\n _out.close();\n _out = null;\n... | [
"0.80806696",
"0.79963845",
"0.79783565",
"0.7973806",
"0.7940444",
"0.78848165",
"0.78825426",
"0.7797934",
"0.77853066",
"0.7656074",
"0.76253617",
"0.76119703",
"0.75940305",
"0.75940305",
"0.7586353",
"0.7560819",
"0.7552213",
"0.7548894",
"0.74913234",
"0.748651",
"0.748... | 0.0 | -1 |
Required method for Designer support do not modify the contents of this method with the code editor. | private void initializeComponent() throws Exception {
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(FormEhrVaccinePatEdit.class);
this.label5 = new System.Windows.Forms.Label();
this.labelAmount = new System.Windows.Forms.Label();
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n\tprotected void UpdateUI() {\n\t\t\n\t}",
"@Override\n\tprotected void UpdateUI() {\n\t\t\n\t}",
"@Override\n\tprotected void setValueOnUi() {\n\n\t}",
"public void designerInputModified(DesignerEvent e);",
"public void designerAdded(DesignerEvent e);",
"@Override\r\n\tpublic void comer() \r\... | [
"0.65624535",
"0.65624535",
"0.641574",
"0.6373414",
"0.6286174",
"0.6227767",
"0.62232614",
"0.62207097",
"0.6163217",
"0.6137469",
"0.6117841",
"0.6100467",
"0.6072377",
"0.5961003",
"0.59379786",
"0.59293896",
"0.59202445",
"0.5906788",
"0.5872937",
"0.5864166",
"0.5861344... | 0.0 | -1 |
Draws one card and removes it from the deck. | public Card draw() {
if (cards.size() == 0) {
shuffleDiscardToCards();
}
return cards.remove(cards.size() - 1);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public Card drawFromDeck() {\n\t\treturn cards.remove(0);\n\t}",
"public TrainCard draw(){\n TrainCard card = cardDeck.get(0);\n cardDeck.remove(0);\n return card;\n }",
"public Card drawCard() {\n Card c = cards.get(0);//get a card\n cards.remove(0);//remove the card ... | [
"0.8274277",
"0.81522465",
"0.8142666",
"0.8122887",
"0.8050153",
"0.79594135",
"0.79196405",
"0.7854905",
"0.7734886",
"0.75632066",
"0.74523145",
"0.7399091",
"0.73696434",
"0.7336457",
"0.71857303",
"0.7129324",
"0.71252465",
"0.7004512",
"0.697826",
"0.6921541",
"0.688285... | 0.79095453 | 7 |
Add card to the discard pile. | public void discard(Card card) {
discardPile.add(card);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void addCardToDiscardPile(Card card) {\r\n discardPile.add(card);\r\n if (discardPile.size() > maxDiscardPileSize) {\r\n discardPile = discardPile.subList(1, discardPile.size());\r\n }\r\n }",
"public void addToDiscard(Card card) {\r\n\t\tthis.discard.add(card);\r\n\t}",... | [
"0.8621049",
"0.84552836",
"0.8376762",
"0.77998704",
"0.7738792",
"0.72680086",
"0.7187561",
"0.69967717",
"0.6892726",
"0.687186",
"0.6801556",
"0.670503",
"0.6703459",
"0.66360444",
"0.66315806",
"0.66032815",
"0.6590132",
"0.6581376",
"0.65587866",
"0.6557719",
"0.6554186... | 0.87381935 | 0 |
Reads the configuration file and sets up the filter rules. | protected synchronized void loadConfiguration() throws ServletException {
if (configFileName == null) {
// Missing init parameter? That's okay, perhaps there is nothing to
// redirect.
return;
}
File configFile = new File(configFileName);
DocumentBuilderFactory docBuildFac = DocumentBuild... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private void populateFilter() throws TransformerConfigurationException\r\n\t{\r\n\t\tthis.filter = new AddressSet(\"./filtered.xml\");\r\n\t\tthis.filter.addElement(\"postmaster\");\r\n\t\tthis.filter.addElement(\"uucp\");\r\n\t\tthis.filter.addElement(\"mailer-daemon\");\r\n\t\tthis.filter.addElement(\"maildaemon... | [
"0.5801217",
"0.5784137",
"0.56960315",
"0.5682011",
"0.5550935",
"0.5533742",
"0.5493525",
"0.5419898",
"0.54135984",
"0.54068035",
"0.5386144",
"0.53832734",
"0.5351595",
"0.5321235",
"0.52964133",
"0.5294872",
"0.52870774",
"0.52813864",
"0.5263728",
"0.5258301",
"0.522642... | 0.67295575 | 0 |
Creates a redirect rule object from the element node which should have turned up in the configuration file. It does full checking of the inspected element to see if the required XML grammar is okay. In a perfect world this would not be necessary, I would turn on XML validation and a file with bad grammar would be rejec... | protected RedirectRule loadRule(Element elem) {
// Ignore if required attributes are missing
if (!elem.hasAttribute("match"))
return null;
String action = elem.getTagName();
if (action.equals("forward")) {
ForwardAction rule = new ForwardAction();
if (!elem.hasAttribute("target")) {
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public XmlAdaptedRule() {}",
"@Test\n public void convertXmlToRuleTest() {\n\n final RuleXml ruleXml = new RuleXml();\n ruleXml.setName(RULE_NAME);\n ruleXml.setXml(RULE_XML);\n\n Rule rule = null;\n\n try {\n rule = ruleXml.toRule();\n } catch (RuleExcepti... | [
"0.6068134",
"0.5761263",
"0.54361993",
"0.5065026",
"0.48838824",
"0.483311",
"0.4822804",
"0.481151",
"0.48071715",
"0.47295043",
"0.47123444",
"0.46804923",
"0.46512708",
"0.46424454",
"0.45701686",
"0.45611146",
"0.45611146",
"0.45611146",
"0.45401964",
"0.45384553",
"0.4... | 0.6578654 | 0 |
Processes the filter command if one is specified in the request URI. For example, a command can be an instruction to reload filter rules. If this method returns true, the request should be considered handled. | protected boolean processCommand(HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException {
String uri = getRequestURI(request);
if (uri.endsWith("/redirect-filter")) {
String cmd = request.getParameter("c");
if (cmd != null && cmd.equals("reload") && reloa... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public boolean handle(ExchangeHelper exchangeHelper) throws IOException {\n if (method == null || method == exchangeHelper.getMethod()) {\n System.out.println(String.format(\"%s request received on path '%s', using handler: %s\", exchangeHelper.getMethod(), exchangeHelper.getUriPath(), handler.ge... | [
"0.61886543",
"0.601604",
"0.59766054",
"0.5717411",
"0.5363944",
"0.5307391",
"0.53022647",
"0.5295773",
"0.5259934",
"0.5258419",
"0.5233747",
"0.51380473",
"0.5137968",
"0.5127009",
"0.510265",
"0.509544",
"0.5073393",
"0.5016917",
"0.5013068",
"0.50048584",
"0.4976363",
... | 0.6888024 | 0 |
Processes a single redirection rule that matched the request URI. If this method returns true, the request should be considered handled. | protected boolean processRule(HttpServletRequest request, HttpServletResponse response,
RedirectRule rule, String targetURL)
throws ServletException, IOException {
String finalURL = getFinalURL(request, response, rule, targetURL);
if (rule instanceof RedirectAction) {
RedirectAction redirect... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public boolean shouldHandle(String requestUri) {\n\t\tif (requestUri.startsWith(this.requestStart)) {\n\t\t\tthis.eventListener.log(InternationalisationUtils.getI18nString(I18N_PROCESSING_REQUEST, requestUri.toString()));\n\t\t\treturn true;\n\t\t}\n\t\t\n\t\treturn false;\n\t}",
"boolean isFollowRedirect();",
... | [
"0.62055475",
"0.58688134",
"0.5805308",
"0.5766439",
"0.5731281",
"0.57287246",
"0.56958264",
"0.5620044",
"0.5603728",
"0.5575356",
"0.5538131",
"0.540212",
"0.539346",
"0.5348295",
"0.5333041",
"0.53041357",
"0.5289716",
"0.5258372",
"0.5183716",
"0.51071227",
"0.506823",
... | 0.70838827 | 0 |
Returns the URI the client used to access the specified resource. If the filter operates contextaware, the URI will have the context path stripped off, so the rules can be written in a manner which works no matter where the filter is deployed. | protected String getRequestURI(HttpServletRequest request) {
String uri = request.getRequestURI();
String ctxPath = request.getContextPath();
if (contextAware == true && uri.startsWith(ctxPath))
uri = uri.substring(ctxPath.length());
return uri;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n public String getRequestURI() {\n if (httpRequest instanceof HttpRequestImpl) {\n return strip(context, ((HttpRequestImpl) httpRequest).requestRawPath());\n }\n return strip(context, super.getRequestURI());\n }",
"p... | [
"0.5572628",
"0.5376018",
"0.5353422",
"0.5306012",
"0.5291955",
"0.5275691",
"0.52235025",
"0.52221394",
"0.5197966",
"0.5164049",
"0.515256",
"0.51465595",
"0.5122494",
"0.5104564",
"0.5071847",
"0.5054161",
"0.50244695",
"0.50228053",
"0.5014579",
"0.4988743",
"0.4988743",... | 0.55429864 | 1 |
Converts a possibly relative URL to absolute URL. If the supplied URL doesn't need any conversion, it remains unchanged. | protected String getAbsoluteURL(HttpServletRequest httpRequest, String url) {
if (url == null)
return null;
if (url.indexOf("://") != -1)
return url;
String scheme = httpRequest.getScheme();
String serverName = httpRequest.getServerName();
int port = httpRequest.getServerPort();
boole... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public static URL normalize(URL url) {\n if (url.getProtocol().equals(\"file\")) {\n try {\n File f = new File(cleanup(url.getFile()));\n if(f.exists())\n return f.toURL();\n } catch (Exception e) {}\n }\n return url;\n ... | [
"0.6984758",
"0.67285866",
"0.62469935",
"0.62240446",
"0.6158318",
"0.6095099",
"0.6067269",
"0.6019348",
"0.5934992",
"0.5804881",
"0.56767154",
"0.56587976",
"0.55250967",
"0.541929",
"0.5406963",
"0.54044247",
"0.53832424",
"0.5380902",
"0.53449166",
"0.5336897",
"0.53297... | 0.62952656 | 2 |
Converts the target URL into a final URL for a particular request and particular rule that matched. This involves converting a possibly relative URL to absolute URL and encoding it by the response object. | protected String getFinalURL(HttpServletRequest request, HttpServletResponse response,
RedirectRule rule, String targetURL) {
String finalURL = getAbsoluteURL(request, targetURL);
if ((rule instanceof RedirectAction) && ((RedirectAction)rule).encodeUrl == true)
finalURL = response.encodeRedirectURL(fina... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"protected boolean processRule(HttpServletRequest request, HttpServletResponse response, \r\n\t\t\tRedirectRule rule, String targetURL) \r\n\t\t\tthrows ServletException, IOException {\r\n\t\t\r\n\t\tString finalURL = getFinalURL(request, response, rule, targetURL);\r\n\t\t\r\n\t\tif (rule instanceof RedirectAction... | [
"0.5548524",
"0.5522185",
"0.54740703",
"0.54608",
"0.53656906",
"0.5337718",
"0.5275946",
"0.5233118",
"0.5175193",
"0.51738185",
"0.5170323",
"0.5036213",
"0.48419377",
"0.4823999",
"0.48018202",
"0.47916952",
"0.47780192",
"0.47651905",
"0.4762939",
"0.47588167",
"0.475687... | 0.77634233 | 0 |
Figures out whether the specified address resides within the specified address range. | protected boolean isAddressInRange(String range, String address)
throws ServletException {
String network;
String mask;
int slashPos = range.indexOf('/');
if (slashPos == -1) {
network = range;
mask = "255.255.255.255";
} else {
network = range.substring(0, slashPos);
mask = ... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private boolean checkRangeAddress(int address) {\r\n return (address >= startAddress && address < endAddress);\r\n }",
"boolean hasAddress();",
"boolean hasAddress();",
"boolean hasHasAddress();",
"boolean isAddressOf(int addr) {\n return addr == mAddress;\n }",
"protected boolean con... | [
"0.77595323",
"0.71981627",
"0.71981627",
"0.70093995",
"0.6908404",
"0.6799963",
"0.67787486",
"0.6730138",
"0.6638636",
"0.65086764",
"0.6335438",
"0.6330523",
"0.6309672",
"0.62973017",
"0.6292754",
"0.62723684",
"0.62647545",
"0.61626077",
"0.6019102",
"0.60162497",
"0.59... | 0.73308367 | 1 |
TODO Autogenerated method stub | @Override
public void onPostExecute(String result) {
Log.d("TAG", "getdataspinner:" + result);
setDataSpinner(result, jurusan);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}",
"@Override\n\tpublic void comer() {\n\t\t\n\t}",
"@Override\n public void perish() {\n \n }",
"@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}",
"@Override\n\tpublic void anular() {\n\n\t}",
"@Override\n\tprotected void getExr... | [
"0.6671074",
"0.6567672",
"0.6523024",
"0.6481211",
"0.6477082",
"0.64591026",
"0.64127725",
"0.63762105",
"0.6276059",
"0.6254286",
"0.623686",
"0.6223679",
"0.6201336",
"0.61950207",
"0.61950207",
"0.61922914",
"0.6186996",
"0.6173591",
"0.61327106",
"0.61285484",
"0.608016... | 0.0 | -1 |
TODO Autogenerated method stub | @Override
public void onItemSelected(AdapterView<?> parent, View view, int pos, long id) {
hasilSpinJurusan = parent.getItemAtPosition(pos).toString();
String[] parts = hasilSpinJurusan.split("--");
String kode = parts[0];
kodeJurusan=kode;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}",
"@Override\n\tpublic void comer() {\n\t\t\n\t}",
"@Override\n public void perish() {\n \n }",
"@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}",
"@Override\n\tpublic void anular() {\n\n\t}",
"@Override\n\tprotected void getExr... | [
"0.6671074",
"0.6567672",
"0.6523024",
"0.6481211",
"0.6477082",
"0.64591026",
"0.64127725",
"0.63762105",
"0.6276059",
"0.6254286",
"0.623686",
"0.6223679",
"0.6201336",
"0.61950207",
"0.61950207",
"0.61922914",
"0.6186996",
"0.6173591",
"0.61327106",
"0.61285484",
"0.608016... | 0.0 | -1 |
TODO Autogenerated method stub | @Override
public void onNothingSelected(AdapterView<?> arg0) {
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}",
"@Override\n\tpublic void comer() {\n\t\t\n\t}",
"@Override\n public void perish() {\n \n }",
"@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}",
"@Override\n\tpublic void anular() {\n\n\t}",
"@Override\n\tprotected void getExr... | [
"0.6671074",
"0.6567672",
"0.6523024",
"0.6481211",
"0.6477082",
"0.64591026",
"0.64127725",
"0.63762105",
"0.6276059",
"0.6254286",
"0.623686",
"0.6223679",
"0.6201336",
"0.61950207",
"0.61950207",
"0.61922914",
"0.6186996",
"0.6173591",
"0.61327106",
"0.61285484",
"0.608016... | 0.0 | -1 |
Called to register for repaint. | public void paintViews(Rect aRect)
{
_pntr.setTransform(1,0,0,1,0,0); // I don't know why I need this!
ViewUpdater updater = _rootView.getUpdater();
updater.paintViews(_pntr, aRect);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void repaint() {}",
"@Override\r\n public void repaint() {\r\n }",
"public void repaint() {\n\n\t}",
"public void requestRepaint() {\n }",
"public void repaint() {\n\t\n}",
"public void repaint();",
"@Override\r\n\tpublic void repaint() {\n\t\tsuper.repaint();\r\n\t}",
"@Override\r\n... | [
"0.7685561",
"0.75777286",
"0.75296897",
"0.7470469",
"0.7368475",
"0.7265068",
"0.70662683",
"0.70662683",
"0.7048029",
"0.70210516",
"0.7020945",
"0.70191485",
"0.6867587",
"0.6794313",
"0.6752551",
"0.6647281",
"0.6637213",
"0.66265523",
"0.65256095",
"0.63904756",
"0.6386... | 0.0 | -1 |
Called when root view size changes. | void rootViewSizeChange()
{
int rootW = (int) Math.ceil(_rootView.getWidth());
int rootH = (int) Math.ceil(_rootView.getHeight());
_canvas.setWidth(rootW*_scale); _canvas.setHeight(rootH*_scale);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n protected void sizeChanged () {\n }",
"@Override\n protected void onSizeChanged(int w, int h, int oldw, int oldh) {\n super.onSizeChanged(w, h, oldw, oldh);\n viewMatrix = null;\n }",
"@Override\n\t\t\tpublic void changed(ObservableValue<? extends Number> observable, Numbe... | [
"0.69647837",
"0.67076135",
"0.66425693",
"0.65896463",
"0.65622735",
"0.6553145",
"0.6427586",
"0.6382388",
"0.63319784",
"0.63155544",
"0.62960434",
"0.6287428",
"0.62747777",
"0.6268662",
"0.626544",
"0.62549675",
"0.6226497",
"0.62115586",
"0.6209655",
"0.6202858",
"0.620... | 0.84637624 | 0 |
Called to handle a drag event. Not called on app thread, because drop data must be processed when event is issued. TVEnv.runOnAppThread(() > handleDragEvent(anEvent)); | public void handleDragEvent(DragEvent anEvent)
{
anEvent.preventDefault();
ViewEvent event = ViewEvent.createEvent(_rootView, anEvent, null, null);
_rootView.getWindow().dispatchEventToWindow(event);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void handleDragGesture(DragEvent anEvent)\n {\n ViewEvent event = ViewEvent.createEvent(_rootView, anEvent, null, null);\n _rootView.getWindow().dispatchEventToWindow(event);\n if (!TVDragboard.isDragging) {\n anEvent.preventDefault();\n anEvent.stopPropagation(... | [
"0.72463787",
"0.68430394",
"0.67951995",
"0.6768415",
"0.6745922",
"0.6729818",
"0.66848505",
"0.66788316",
"0.6632022",
"0.657149",
"0.6518918",
"0.65029526",
"0.64514756",
"0.6370169",
"0.6358937",
"0.6341945",
"0.63392514",
"0.6327105",
"0.6312289",
"0.63062036",
"0.62992... | 0.7486793 | 0 |
Called to handle a drag event. | public void handleDragGesture(DragEvent anEvent)
{
ViewEvent event = ViewEvent.createEvent(_rootView, anEvent, null, null);
_rootView.getWindow().dispatchEventToWindow(event);
if (!TVDragboard.isDragging) {
anEvent.preventDefault();
anEvent.stopPropagation();
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"void onDragged();",
"public void mouseDragged(MouseEvent event)\n\t\t{}",
"public void mouseDragged( MouseEvent event ){}",
"@Override\n\t\t\tpublic void mouseDragged(MouseEvent e) {\n\t\t\t}",
"@Override\n\t\tpublic void mouseDragged(MouseEvent e) {\n\n\t\t}",
"@Override\r\n\t\t\tpublic void mouseDragge... | [
"0.78653353",
"0.7842558",
"0.7828949",
"0.7808998",
"0.7807809",
"0.77860826",
"0.7757234",
"0.7728404",
"0.77250767",
"0.77250767",
"0.77250767",
"0.7724591",
"0.77233773",
"0.77204984",
"0.77185845",
"0.7708907",
"0.77051324",
"0.77033156",
"0.77033156",
"0.76830626",
"0.7... | 0.0 | -1 |
Called to handle dragend event. | public void handleDragEnd(DragEvent anEvent)
{
ViewEvent nevent = ViewEvent.createEvent(_rootView, anEvent, null, null);
_rootView.getWindow().dispatchEventToWindow(nevent);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void dragEnd() {\n\t \n\t super.dragEnd();\n\t view.dragEnd();\n\t }",
"@Override\n\tpublic void onDragEnd(boolean success) {\n\t\t\n\t}",
"public void onDragEnded();",
"@Override\n public void onDragEnd() {\n // Do nothing.\n }",
"public void dragDropEnd(boolean success);",
... | [
"0.85892034",
"0.80017674",
"0.79111636",
"0.77142024",
"0.75913346",
"0.7558857",
"0.75353295",
"0.73686236",
"0.73359114",
"0.7293364",
"0.7179078",
"0.7161336",
"0.71478665",
"0.71415603",
"0.7130061",
"0.708877",
"0.6797827",
"0.67480916",
"0.6744235",
"0.66520995",
"0.66... | 0.7282718 | 10 |
/ If the attribute is a String, it is a primitive and we will make it into a BaseClass | public void setAttribute(java.lang.String attrName, java.lang.String value) {
try {
GovSteamFV4_primitive_builder attrEnum = GovSteamFV4_primitive_builder.valueOf(attrName);
updateAttributeInArray(attrEnum, attrEnum.construct(value));
System.out.println("Updated GovSteamFV4, setting " + attrName + " to: " ... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private void processBeanAttribute (BeanAttribute attribute) {\n\t\t// HACK TO GET RID OF UNSIGNED FROM MYSQL DEFINITIONS\r\n\t\t// -------------------------------------------------------------------------------\r\n\t\tif (attribute.getColumnType() != null && !attribute.getColumnType().isEmpty()) {\r\n\t\t\tattribu... | [
"0.5917471",
"0.5768816",
"0.5768816",
"0.5718286",
"0.5636694",
"0.5607279",
"0.560495",
"0.5552471",
"0.5411977",
"0.5395213",
"0.53571016",
"0.5314643",
"0.52909446",
"0.52871156",
"0.52484286",
"0.5228721",
"0.51797026",
"0.51796263",
"0.5179298",
"0.51714736",
"0.5170474... | 0.0 | -1 |
convert input to byte array | int hash(T key) throws IOException, NoSuchAlgorithmException {
ByteArrayOutputStream b = new ByteArrayOutputStream();
ObjectOutputStream o = new ObjectOutputStream(b);
o.writeObject(key);
byte[] data = b.toByteArray();
//hash key using MD5 algorithm
//System.out.println("St... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public abstract byte[] toByteArray();",
"public abstract byte[] toByteArray();",
"public abstract byte[] toBytes() throws Exception;",
"public byte[] marshall();",
"private static byte[] HexStringToByteArray(String input){\n\n\t\tint len = input.length();\n\n\t\tbyte[] inputByte = new byte[len/2];\n\n\t\tf... | [
"0.7818861",
"0.7818861",
"0.75217694",
"0.71822804",
"0.71590304",
"0.69849163",
"0.69849163",
"0.6922592",
"0.6890813",
"0.67789847",
"0.67780447",
"0.66620713",
"0.6656805",
"0.66268384",
"0.6592929",
"0.65456843",
"0.6511212",
"0.6480594",
"0.6464002",
"0.64590544",
"0.64... | 0.0 | -1 |
TODO Autogenerated method stub | public void requestrender() {
render(g2d);
Graphics g = getGraphics();
g.drawImage(image , 0 , 0, null);
g.dispose();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}",
"@Override\n\tpublic void comer() {\n\t\t\n\t}",
"@Override\n public void perish() {\n \n }",
"@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}",
"@Override\n\tpublic void anular() {\n\n\t}",
"@Override\n\tprotected void getExr... | [
"0.6671074",
"0.6567672",
"0.6523024",
"0.6481211",
"0.6477082",
"0.64591026",
"0.64127725",
"0.63762105",
"0.6276059",
"0.6254286",
"0.623686",
"0.6223679",
"0.6201336",
"0.61950207",
"0.61950207",
"0.61922914",
"0.6186996",
"0.6173591",
"0.61327106",
"0.61285484",
"0.608016... | 0.0 | -1 |
test case for checking whether the given input year is divisible by 400 | @Test
public void checkDivisibilityByFourHundred() {
LeapYear leapYear = new LeapYear();
boolean flag = leapYear.isItDivisibleByFourHundred(1600);
assertTrue(flag);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private boolean isDivisibleBy400(int year) {\n\t\treturn checkDivisibility(year, 400);\n\t}",
"@Test\n public void leapYearIsDivisibleBy4(){\n int year = 2020;\n assertTrue(LeapYear.isLeapYear(year));\n }",
"private boolean isDivisibleBy100(int year) {\n\t\treturn checkDivisibility(year, ... | [
"0.8283794",
"0.7818172",
"0.7739877",
"0.7685553",
"0.7488208",
"0.74060243",
"0.7328264",
"0.7309685",
"0.72248816",
"0.72123504",
"0.71568704",
"0.70008487",
"0.69837236",
"0.69529015",
"0.695108",
"0.69222164",
"0.6843876",
"0.68397",
"0.68333024",
"0.6832887",
"0.6831564... | 0.7457823 | 5 |
test case for checking whether the given input year is divisible by 100 | @Test
public void checkDivisibilityByHundred() {
LeapYear leapYear = new LeapYear();
boolean flag = leapYear.isItDivisibleByHundred(1600);
assertTrue(flag);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private boolean isDivisibleBy100(int year) {\n\t\treturn checkDivisibility(year, 100);\n\t}",
"private boolean checkDivisibility(int year, int num) {\n\t\treturn (year%num==0);\n\t}",
"@Test\n public void leapYearIsDivisibleBy4(){\n int year = 2020;\n assertTrue(LeapYear.isLeapYear(year));\n... | [
"0.8329252",
"0.76410115",
"0.7448039",
"0.7437032",
"0.73098135",
"0.7297276",
"0.7165112",
"0.7045372",
"0.68877244",
"0.68162096",
"0.68151915",
"0.67605317",
"0.6753584",
"0.6712088",
"0.658569",
"0.65559006",
"0.65382844",
"0.6522708",
"0.6518503",
"0.6515735",
"0.649067... | 0.776293 | 1 |
test case for checking whether the given input year is divisible by 4 | @Test
public void checkDivisibilityByFour() {
LeapYear leapYear = new LeapYear();
boolean flag = leapYear.isItDivisibleByFour(1600);
assertTrue(flag);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Test\n public void leapYearIsDivisibleBy4(){\n int year = 2020;\n assertTrue(LeapYear.isLeapYear(year));\n }",
"private boolean isDivisibleBy4(int year) {\n\t\treturn checkDivisibility(year,4);\n\t}",
"public void checkLeapYear(int year) {\r\n\t int count=1;\r\n\t int temp=year;\r\n... | [
"0.85426795",
"0.84433085",
"0.78963184",
"0.7760885",
"0.76203114",
"0.76073164",
"0.7523655",
"0.74847865",
"0.7430836",
"0.7376845",
"0.71542704",
"0.70217925",
"0.70124537",
"0.6935789",
"0.69189596",
"0.68944967",
"0.68719834",
"0.6866723",
"0.68532056",
"0.6839852",
"0.... | 0.80269927 | 2 |
test case for checking whether the given input year is Leap Year or not | @Test
public void checkLeapYearCriteria() {
LeapYear leapYear = new LeapYear();
boolean flag = leapYear.isItLeapYear(1600);
assertTrue(flag);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Test\n public void isLeapYear() {\n assertFalse(Deadline.isLeapYear(Integer.parseInt(VALID_YEAR_2018)));\n\n // Valid leap year -> returns true\n assertTrue(Deadline.isLeapYear(Integer.parseInt(LEAP_YEAR_2020)));\n\n // Valid year divisible by 4 but is common year -> returns false\n... | [
"0.84599733",
"0.8137806",
"0.8056117",
"0.785348",
"0.7835601",
"0.7823401",
"0.7817838",
"0.78167915",
"0.7812674",
"0.78009516",
"0.77998114",
"0.77792746",
"0.7774689",
"0.7771486",
"0.7739489",
"0.77273554",
"0.77185875",
"0.77093804",
"0.76732606",
"0.76339847",
"0.7612... | 0.77947474 | 11 |
/ gets the value in Bits per Second | public Double bitsPerSecond()
{
return getValue(DataRateUnit.BITS_PER_SEC);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void bitsPerSecond(Double val)\n\t{\n\t\tsetValue(val, DataRateUnit.BITS_PER_SEC);\n\t}",
"int getMPPerSecond();",
"public static double kiloBitsToBits(double num) { return (num*1000); }",
"public static Datarate newBitsPerSecondValue()\n\t{\n\t\treturn new Datarate(0.0, DataRateUnit.BITS_PER_SEC... | [
"0.7447268",
"0.6792654",
"0.67250395",
"0.6620424",
"0.66184884",
"0.65881175",
"0.65713286",
"0.63969064",
"0.63676685",
"0.63223267",
"0.63170934",
"0.6280038",
"0.62649506",
"0.6153279",
"0.61424196",
"0.61400455",
"0.6119673",
"0.6082229",
"0.60684633",
"0.6054396",
"0.6... | 0.8171079 | 0 |
/ stores the value in Bits per Second | public void bitsPerSecond(Double val)
{
setValue(val, DataRateUnit.BITS_PER_SEC);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public Double bitsPerSecond()\n\t{\n\t\treturn getValue(DataRateUnit.BITS_PER_SEC);\n\t}",
"public void bytesPerSecond(Double val)\n\t{\n\t\tsetValue(val, DataRateUnit.BYTES_PER_SEC);\n\t}",
"public static Datarate newBitsPerSecondValue()\n\t{\n\t\treturn new Datarate(0.0, DataRateUnit.BITS_PER_SEC);\n\t}",
... | [
"0.73221844",
"0.6927422",
"0.655924",
"0.6446429",
"0.6273161",
"0.6240439",
"0.6204203",
"0.61857605",
"0.61692655",
"0.61556405",
"0.61464405",
"0.6144183",
"0.60813284",
"0.60661286",
"0.6059353",
"0.6052144",
"0.59740436",
"0.5949792",
"0.59482825",
"0.5904715",
"0.58526... | 0.7998982 | 0 |
/ Bits per Second Constructor | public static Datarate newBitsPerSecondValue(Double new_val)
{
return new Datarate(new_val, DataRateUnit.BITS_PER_SEC);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public static Datarate newBitsPerSecondValue()\n\t{\n\t\treturn new Datarate(0.0, DataRateUnit.BITS_PER_SEC);\n\t}",
"public Double bitsPerSecond()\n\t{\n\t\treturn getValue(DataRateUnit.BITS_PER_SEC);\n\t}",
"public void bitsPerSecond(Double val)\n\t{\n\t\tsetValue(val, DataRateUnit.BITS_PER_SEC);\n\t}",
"p... | [
"0.6776571",
"0.6104053",
"0.6076663",
"0.60444224",
"0.5887499",
"0.5775816",
"0.5768888",
"0.57604414",
"0.5738301",
"0.571466",
"0.5698696",
"0.55198526",
"0.5510187",
"0.5507401",
"0.5497549",
"0.5456864",
"0.5456824",
"0.54418373",
"0.54382575",
"0.5424242",
"0.5406483",... | 0.563681 | 11 |
/ Bits per Second Constructor with zero value | public static Datarate newBitsPerSecondValue()
{
return new Datarate(0.0, DataRateUnit.BITS_PER_SEC);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public Unsigned128BitType()\n\t{\n\t\tthis( 0, 0 );\n\t}",
"private Bits32() {\r\n }",
"public Time(){\r\n Seconds = 0; \r\n }",
"public Counter()\n {\n this(0);\n }",
"private TinyMT32 getZero() {\n TinyMT32 that = new TinyMT32(this);\n that.st0 = 0;\n that.s... | [
"0.63972443",
"0.6228345",
"0.6188715",
"0.611688",
"0.61019415",
"0.6028732",
"0.6017401",
"0.5918529",
"0.59080803",
"0.587678",
"0.5851168",
"0.5850143",
"0.57747304",
"0.57635",
"0.57314205",
"0.5709368",
"0.5705549",
"0.56823635",
"0.5675141",
"0.56711376",
"0.5608798",
... | 0.6568288 | 0 |
/ gets the value in Bytes per Second | public Double bytesPerSecond()
{
return getValue(DataRateUnit.BYTES_PER_SEC);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public Double bitsPerSecond()\n\t{\n\t\treturn getValue(DataRateUnit.BITS_PER_SEC);\n\t}",
"public Double terabytesPerSecond()\n\t{\n\t\treturn getValue(DataRateUnit.TERABYTES_PER_SEC);\n\t}",
"public double getAsSeconds()\n {\n return itsValue / 1000000.0;\n }",
"public long getBytesPerSec() {\... | [
"0.7631952",
"0.7314058",
"0.7146972",
"0.7028479",
"0.69716763",
"0.6959013",
"0.68971527",
"0.68856114",
"0.6867068",
"0.6840427",
"0.6830927",
"0.680174",
"0.6774746",
"0.6757895",
"0.6723694",
"0.6710905",
"0.6700047",
"0.6666601",
"0.6632426",
"0.66045475",
"0.6578948",
... | 0.7788177 | 0 |
/ stores the value in Bytes per Second | public void bytesPerSecond(Double val)
{
setValue(val, DataRateUnit.BYTES_PER_SEC);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void bitsPerSecond(Double val)\n\t{\n\t\tsetValue(val, DataRateUnit.BITS_PER_SEC);\n\t}",
"public void terabytesPerSecond(Double val)\n\t{\n\t\tsetValue(val, DataRateUnit.TERABYTES_PER_SEC);\n\t}",
"public Double bytesPerSecond()\n\t{\n\t\treturn getValue(DataRateUnit.BYTES_PER_SEC);\n\t}",
"public vo... | [
"0.7116796",
"0.69816023",
"0.6957966",
"0.6841159",
"0.6813852",
"0.6795924",
"0.6739332",
"0.671001",
"0.66517955",
"0.6516105",
"0.64531606",
"0.64336777",
"0.6316095",
"0.6313682",
"0.62567955",
"0.62382394",
"0.6236932",
"0.6207051",
"0.62067765",
"0.61984885",
"0.619473... | 0.7453616 | 0 |
/ Bytes per Second Constructor | public static Datarate newBytesPerSecondValue(Double new_val)
{
return new Datarate(new_val, DataRateUnit.BYTES_PER_SEC);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public static Datarate newTerabytesPerSecondValue()\n\t{\n\t\treturn new Datarate(0.0, DataRateUnit.TERABYTES_PER_SEC);\n\t}",
"public static Datarate newBytesPerSecondValue()\n\t{\n\t\treturn new Datarate(0.0, DataRateUnit.BYTES_PER_SEC);\n\t}",
"public static Datarate newBitsPerSecondValue()\n\t{\n\t\treturn... | [
"0.6363369",
"0.62897646",
"0.6206734",
"0.61943054",
"0.6159305",
"0.6114011",
"0.6038485",
"0.5957537",
"0.5936052",
"0.5887444",
"0.5883082",
"0.58804154",
"0.57740074",
"0.5731376",
"0.57258415",
"0.5714335",
"0.56896526",
"0.56877553",
"0.5658663",
"0.5634241",
"0.562643... | 0.52599066 | 46 |
/ Bytes per Second Constructor with zero value | public static Datarate newBytesPerSecondValue()
{
return new Datarate(0.0, DataRateUnit.BYTES_PER_SEC);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public Time(){\r\n Seconds = 0; \r\n }",
"public static Datarate newBitsPerSecondValue()\n\t{\n\t\treturn new Datarate(0.0, DataRateUnit.BITS_PER_SEC);\n\t}",
"public ZeroCountDataWriter() {\n\t\tsuper(DataWriterType.ZEROCNTType);\n\t}",
"public Counter()\n {\n this(0);\n }",
"public... | [
"0.67751473",
"0.6403477",
"0.63278365",
"0.62839055",
"0.62771016",
"0.62368745",
"0.61571693",
"0.6113267",
"0.60869956",
"0.60501397",
"0.6015425",
"0.5984737",
"0.59398067",
"0.58934313",
"0.5889029",
"0.5869456",
"0.58549225",
"0.5845733",
"0.5817183",
"0.5782248",
"0.57... | 0.634988 | 2 |
/ gets the value in Kilobytes per Second | public Double kilobytesPerSecond()
{
return getValue(DataRateUnit.KILOBYTES_PER_SEC);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public final double kilobytes()\n\t{\n\t\treturn value / 1024.0;\n\t}",
"public Double terabytesPerSecond()\n\t{\n\t\treturn getValue(DataRateUnit.TERABYTES_PER_SEC);\n\t}",
"public Double megabytesPerSecond()\n\t{\n\t\treturn getValue(DataRateUnit.MEGABYTES_PER_SEC);\n\t}",
"public Double bytesPerSecond()\n... | [
"0.75639415",
"0.75074804",
"0.7246168",
"0.7216376",
"0.7110504",
"0.7090738",
"0.7073835",
"0.7034026",
"0.6992189",
"0.69646156",
"0.6953572",
"0.69358283",
"0.6836553",
"0.6805977",
"0.6783125",
"0.6727454",
"0.67210966",
"0.6715888",
"0.66863626",
"0.66433966",
"0.657347... | 0.7742235 | 0 |
/ stores the value in Kilobytes per Second | public void kilobytesPerSecond(Double val)
{
setValue(val, DataRateUnit.KILOBYTES_PER_SEC);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void terabytesPerSecond(Double val)\n\t{\n\t\tsetValue(val, DataRateUnit.TERABYTES_PER_SEC);\n\t}",
"public Double kilobytesPerSecond()\n\t{\n\t\treturn getValue(DataRateUnit.KILOBYTES_PER_SEC);\n\t}",
"public final double kilobytes()\n\t{\n\t\treturn value / 1024.0;\n\t}",
"public void zettabytesPerS... | [
"0.7066221",
"0.70636636",
"0.7025459",
"0.69970685",
"0.68865",
"0.68582386",
"0.682707",
"0.68244594",
"0.6784101",
"0.6702069",
"0.6582982",
"0.6503154",
"0.65019304",
"0.64960784",
"0.64928067",
"0.64756477",
"0.64645064",
"0.645877",
"0.64380354",
"0.6435829",
"0.64327",... | 0.73000675 | 0 |
/ Kilobytes per Second Constructor | public static Datarate newKilobytesPerSecondValue(Double new_val)
{
return new Datarate(new_val, DataRateUnit.KILOBYTES_PER_SEC);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public static Datarate newKilobytesPerSecondValue()\n\t{\n\t\treturn new Datarate(0.0, DataRateUnit.KILOBYTES_PER_SEC);\n\t}",
"public static Datarate newTerabytesPerSecondValue()\n\t{\n\t\treturn new Datarate(0.0, DataRateUnit.TERABYTES_PER_SEC);\n\t}",
"private KilometersPerHour() {}",
"public static Datar... | [
"0.72193414",
"0.7047011",
"0.66992533",
"0.6698406",
"0.6669963",
"0.66436386",
"0.66138035",
"0.658107",
"0.6576371",
"0.6487978",
"0.6443394",
"0.63775384",
"0.632333",
"0.6293522",
"0.6290766",
"0.6233482",
"0.62010455",
"0.6174708",
"0.6133924",
"0.612718",
"0.6104402",
... | 0.63393706 | 12 |
/ Kilobytes per Second Constructor with zero value | public static Datarate newKilobytesPerSecondValue()
{
return new Datarate(0.0, DataRateUnit.KILOBYTES_PER_SEC);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public static Datarate newTerabytesPerSecondValue()\n\t{\n\t\treturn new Datarate(0.0, DataRateUnit.TERABYTES_PER_SEC);\n\t}",
"public static Datarate newZettabytesPerSecondValue()\n\t{\n\t\treturn new Datarate(0.0, DataRateUnit.ZETTABYTES_PER_SEC);\n\t}",
"public static Datarate newPetabytesPerSecondValue()\n... | [
"0.70164937",
"0.68820643",
"0.67965204",
"0.67086387",
"0.6615421",
"0.65720016",
"0.6538278",
"0.6489485",
"0.64818555",
"0.6443005",
"0.64386326",
"0.6373914",
"0.63322884",
"0.6283429",
"0.6189194",
"0.6167986",
"0.60682476",
"0.6055703",
"0.6003862",
"0.5869949",
"0.5830... | 0.717039 | 0 |
/ gets the value in Megabytes per Second | public Double megabytesPerSecond()
{
return getValue(DataRateUnit.MEGABYTES_PER_SEC);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public Double terabytesPerSecond()\n\t{\n\t\treturn getValue(DataRateUnit.TERABYTES_PER_SEC);\n\t}",
"public Double gigabytesPerSecond()\n\t{\n\t\treturn getValue(DataRateUnit.GIGABYTES_PER_SEC);\n\t}",
"public final double terabytes()\n\t{\n\t\treturn gigabytes() / 1024.0;\n\t}",
"public Double exabytesPerS... | [
"0.7638745",
"0.760645",
"0.74227625",
"0.7416687",
"0.7409955",
"0.73983103",
"0.73199654",
"0.7315544",
"0.71850777",
"0.71268505",
"0.7117162",
"0.7088666",
"0.6968666",
"0.69325787",
"0.6859158",
"0.6844181",
"0.6813972",
"0.6739555",
"0.6726753",
"0.66885227",
"0.6630933... | 0.7963582 | 0 |
/ stores the value in Megabytes per Second | public void megabytesPerSecond(Double val)
{
setValue(val, DataRateUnit.MEGABYTES_PER_SEC);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void petabytesPerSecond(Double val)\n\t{\n\t\tsetValue(val, DataRateUnit.PETABYTES_PER_SEC);\n\t}",
"public Double megabytesPerSecond()\n\t{\n\t\treturn getValue(DataRateUnit.MEGABYTES_PER_SEC);\n\t}",
"public void terabytesPerSecond(Double val)\n\t{\n\t\tsetValue(val, DataRateUnit.TERABYTES_PER_SEC);\n... | [
"0.7353208",
"0.7349822",
"0.73230124",
"0.710761",
"0.70837",
"0.7016498",
"0.70041513",
"0.6984643",
"0.6939578",
"0.69252294",
"0.6871882",
"0.6846914",
"0.6828421",
"0.6793813",
"0.67365944",
"0.67218363",
"0.6700344",
"0.66963464",
"0.65460914",
"0.6528007",
"0.6525223",... | 0.74762833 | 0 |
/ Megabytes per Second Constructor | public static Datarate newMegabytesPerSecondValue(Double new_val)
{
return new Datarate(new_val, DataRateUnit.MEGABYTES_PER_SEC);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public static Datarate newMegabytesPerSecondValue()\n\t{\n\t\treturn new Datarate(0.0, DataRateUnit.MEGABYTES_PER_SEC);\n\t}",
"public Double megabytesPerSecond()\n\t{\n\t\treturn getValue(DataRateUnit.MEGABYTES_PER_SEC);\n\t}",
"public static Datarate newTerabytesPerSecondValue()\n\t{\n\t\treturn new Datarate... | [
"0.73183125",
"0.71615034",
"0.69769025",
"0.6938217",
"0.68959135",
"0.68618363",
"0.67827815",
"0.6668733",
"0.6644482",
"0.6582527",
"0.65636003",
"0.6505714",
"0.64933354",
"0.647037",
"0.64336073",
"0.6392921",
"0.630679",
"0.63064563",
"0.62834555",
"0.622804",
"0.62102... | 0.6416829 | 15 |
/ Megabytes per Second Constructor with zero value | public static Datarate newMegabytesPerSecondValue()
{
return new Datarate(0.0, DataRateUnit.MEGABYTES_PER_SEC);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public static Datarate newGigabytesPerSecondValue()\n\t{\n\t\treturn new Datarate(0.0, DataRateUnit.GIGABYTES_PER_SEC);\n\t}",
"public static Datarate newPetabytesPerSecondValue()\n\t{\n\t\treturn new Datarate(0.0, DataRateUnit.PETABYTES_PER_SEC);\n\t}",
"public static Datarate newTerabytesPerSecondValue()\n\t... | [
"0.70780545",
"0.70579684",
"0.7051511",
"0.7027609",
"0.69265515",
"0.6612314",
"0.6466523",
"0.6351314",
"0.63438845",
"0.63303643",
"0.63076663",
"0.6284207",
"0.6279309",
"0.62638086",
"0.6247855",
"0.62350285",
"0.620537",
"0.61531293",
"0.6141342",
"0.612497",
"0.611940... | 0.75501204 | 0 |
/ gets the value in Gigabytes per Second | public Double gigabytesPerSecond()
{
return getValue(DataRateUnit.GIGABYTES_PER_SEC);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public final double gigabytes()\n\t{\n\t\treturn megabytes() / 1024.0;\n\t}",
"public final double terabytes()\n\t{\n\t\treturn gigabytes() / 1024.0;\n\t}",
"public void gigabytesPerSecond(Double val)\n\t{\n\t\tsetValue(val, DataRateUnit.GIGABYTES_PER_SEC);\n\t}",
"public static Datarate newGigabytesPerSecon... | [
"0.78606856",
"0.75718814",
"0.7511839",
"0.72869766",
"0.71916616",
"0.7104056",
"0.70985794",
"0.6882478",
"0.6881151",
"0.68785506",
"0.6873245",
"0.6858531",
"0.68531513",
"0.6734024",
"0.66048676",
"0.65599257",
"0.6545711",
"0.65292287",
"0.65239304",
"0.6459802",
"0.64... | 0.80839825 | 0 |
/ stores the value in Gigabytes per Second | public void gigabytesPerSecond(Double val)
{
setValue(val, DataRateUnit.GIGABYTES_PER_SEC);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public Double gigabytesPerSecond()\n\t{\n\t\treturn getValue(DataRateUnit.GIGABYTES_PER_SEC);\n\t}",
"public void terabytesPerSecond(Double val)\n\t{\n\t\tsetValue(val, DataRateUnit.TERABYTES_PER_SEC);\n\t}",
"public static Datarate newGigabytesPerSecondValue()\n\t{\n\t\treturn new Datarate(0.0, DataRateUnit.G... | [
"0.7295396",
"0.7196485",
"0.70537513",
"0.70320535",
"0.6967549",
"0.68853754",
"0.68761927",
"0.6792655",
"0.6787576",
"0.66999024",
"0.6507187",
"0.64952636",
"0.6481715",
"0.6465229",
"0.64538187",
"0.6285617",
"0.62480146",
"0.62446386",
"0.62106127",
"0.6146921",
"0.600... | 0.77321 | 0 |
/ Gigabytes per Second Constructor | public static Datarate newGigabytesPerSecondValue(Double new_val)
{
return new Datarate(new_val, DataRateUnit.GIGABYTES_PER_SEC);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public static Datarate newGigabytesPerSecondValue()\n\t{\n\t\treturn new Datarate(0.0, DataRateUnit.GIGABYTES_PER_SEC);\n\t}",
"public static Datarate newTerabytesPerSecondValue()\n\t{\n\t\treturn new Datarate(0.0, DataRateUnit.TERABYTES_PER_SEC);\n\t}",
"public final double terabytes()\n\t{\n\t\treturn gigaby... | [
"0.72937167",
"0.6686983",
"0.6626219",
"0.6482092",
"0.64710736",
"0.6331739",
"0.63274735",
"0.6310077",
"0.62670827",
"0.6256841",
"0.6205764",
"0.6201813",
"0.6201721",
"0.610373",
"0.60897136",
"0.6048143",
"0.60435694",
"0.60146934",
"0.59452575",
"0.58933276",
"0.58618... | 0.6552735 | 3 |
/ Gigabytes per Second Constructor with zero value | public static Datarate newGigabytesPerSecondValue()
{
return new Datarate(0.0, DataRateUnit.GIGABYTES_PER_SEC);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public static Datarate newTerabytesPerSecondValue()\n\t{\n\t\treturn new Datarate(0.0, DataRateUnit.TERABYTES_PER_SEC);\n\t}",
"public static Datarate newPetabytesPerSecondValue()\n\t{\n\t\treturn new Datarate(0.0, DataRateUnit.PETABYTES_PER_SEC);\n\t}",
"public static Datarate newExabytesPerSecondValue()\n\t{... | [
"0.6811247",
"0.67107373",
"0.6624322",
"0.66154635",
"0.64637536",
"0.63197976",
"0.6319614",
"0.60817087",
"0.60510653",
"0.6038111",
"0.59842527",
"0.5905786",
"0.58924884",
"0.58784014",
"0.5872262",
"0.5858306",
"0.58412045",
"0.58407843",
"0.580948",
"0.58003366",
"0.57... | 0.73565215 | 0 |
/ gets the value in Terabytes per Second | public Double terabytesPerSecond()
{
return getValue(DataRateUnit.TERABYTES_PER_SEC);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public final double terabytes()\n\t{\n\t\treturn gigabytes() / 1024.0;\n\t}",
"public Double petabytesPerSecond()\n\t{\n\t\treturn getValue(DataRateUnit.PETABYTES_PER_SEC);\n\t}",
"public Double zettabytesPerSecond()\n\t{\n\t\treturn getValue(DataRateUnit.ZETTABYTES_PER_SEC);\n\t}",
"public Double exabytesPe... | [
"0.74897",
"0.74692357",
"0.73245364",
"0.7296233",
"0.7253596",
"0.7216024",
"0.71096706",
"0.7102096",
"0.70993435",
"0.7081687",
"0.7077658",
"0.70445573",
"0.7036946",
"0.69606596",
"0.69146216",
"0.6782908",
"0.66754633",
"0.6664351",
"0.6558715",
"0.6528923",
"0.6500989... | 0.7957833 | 0 |
/ stores the value in Terabytes per Second | public void terabytesPerSecond(Double val)
{
setValue(val, DataRateUnit.TERABYTES_PER_SEC);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void petabytesPerSecond(Double val)\n\t{\n\t\tsetValue(val, DataRateUnit.PETABYTES_PER_SEC);\n\t}",
"public void zettabytesPerSecond(Double val)\n\t{\n\t\tsetValue(val, DataRateUnit.ZETTABYTES_PER_SEC);\n\t}",
"public Double terabytesPerSecond()\n\t{\n\t\treturn getValue(DataRateUnit.TERABYTES_PER_SEC);... | [
"0.7387127",
"0.73493725",
"0.7211012",
"0.7145199",
"0.70497614",
"0.69103163",
"0.6796517",
"0.6755301",
"0.6673562",
"0.66692895",
"0.66535026",
"0.6593493",
"0.65915567",
"0.6580856",
"0.65759444",
"0.6540424",
"0.6533543",
"0.6453216",
"0.64054424",
"0.6387076",
"0.63318... | 0.7630794 | 0 |
/ Terabytes per Second Constructor | public static Datarate newTerabytesPerSecondValue(Double new_val)
{
return new Datarate(new_val, DataRateUnit.TERABYTES_PER_SEC);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public static Datarate newTerabytesPerSecondValue()\n\t{\n\t\treturn new Datarate(0.0, DataRateUnit.TERABYTES_PER_SEC);\n\t}",
"public static Datarate newPetabytesPerSecondValue()\n\t{\n\t\treturn new Datarate(0.0, DataRateUnit.PETABYTES_PER_SEC);\n\t}",
"public static Datarate newZettabytesPerSecondValue()\n\... | [
"0.74317163",
"0.6969417",
"0.6899743",
"0.66236234",
"0.65612453",
"0.65462965",
"0.64997995",
"0.64200205",
"0.6306058",
"0.62339276",
"0.6205958",
"0.61913514",
"0.6172642",
"0.6101579",
"0.60955477",
"0.60775167",
"0.60639745",
"0.6045677",
"0.60423064",
"0.59851205",
"0.... | 0.6605706 | 4 |
/ Terabytes per Second Constructor with zero value | public static Datarate newTerabytesPerSecondValue()
{
return new Datarate(0.0, DataRateUnit.TERABYTES_PER_SEC);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public static Datarate newZettabytesPerSecondValue()\n\t{\n\t\treturn new Datarate(0.0, DataRateUnit.ZETTABYTES_PER_SEC);\n\t}",
"public static Datarate newPetabytesPerSecondValue()\n\t{\n\t\treturn new Datarate(0.0, DataRateUnit.PETABYTES_PER_SEC);\n\t}",
"public static Datarate newExabytesPerSecondValue()\n\... | [
"0.71993613",
"0.71482676",
"0.68750256",
"0.67155975",
"0.6670359",
"0.6638442",
"0.6420776",
"0.6270973",
"0.6264723",
"0.6205393",
"0.6089101",
"0.6079932",
"0.6066704",
"0.6060522",
"0.602918",
"0.602747",
"0.60149956",
"0.6000583",
"0.59895426",
"0.5912071",
"0.5909122",... | 0.7460185 | 0 |
/ gets the value in Petabytes per Second | public Double petabytesPerSecond()
{
return getValue(DataRateUnit.PETABYTES_PER_SEC);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public Double terabytesPerSecond()\n\t{\n\t\treturn getValue(DataRateUnit.TERABYTES_PER_SEC);\n\t}",
"public Double exabytesPerSecond()\n\t{\n\t\treturn getValue(DataRateUnit.EXABYTES_PER_SEC);\n\t}",
"public final double terabytes()\n\t{\n\t\treturn gigabytes() / 1024.0;\n\t}",
"public Double gigabytesPerSe... | [
"0.78121203",
"0.73781765",
"0.73497534",
"0.7337597",
"0.72819114",
"0.72704256",
"0.7252336",
"0.71572554",
"0.7107872",
"0.7054966",
"0.7035725",
"0.7009703",
"0.686979",
"0.6858237",
"0.67451423",
"0.6726928",
"0.67003584",
"0.66671246",
"0.6639085",
"0.66091746",
"0.6547... | 0.79994196 | 0 |
/ stores the value in Petabytes per Second | public void petabytesPerSecond(Double val)
{
setValue(val, DataRateUnit.PETABYTES_PER_SEC);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public Double petabytesPerSecond()\n\t{\n\t\treturn getValue(DataRateUnit.PETABYTES_PER_SEC);\n\t}",
"public void terabytesPerSecond(Double val)\n\t{\n\t\tsetValue(val, DataRateUnit.TERABYTES_PER_SEC);\n\t}",
"public Double terabytesPerSecond()\n\t{\n\t\treturn getValue(DataRateUnit.TERABYTES_PER_SEC);\n\t}",
... | [
"0.7270977",
"0.71657735",
"0.7003345",
"0.6954047",
"0.68510395",
"0.6783334",
"0.6737244",
"0.6642263",
"0.6537559",
"0.6537517",
"0.65237534",
"0.6506104",
"0.6494153",
"0.64737284",
"0.64633197",
"0.64527416",
"0.644496",
"0.6416549",
"0.6399208",
"0.63981813",
"0.6301093... | 0.7524197 | 0 |
/ Petabytes per Second Constructor | public static Datarate newPetabytesPerSecondValue(Double new_val)
{
return new Datarate(new_val, DataRateUnit.PETABYTES_PER_SEC);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public static Datarate newPetabytesPerSecondValue()\n\t{\n\t\treturn new Datarate(0.0, DataRateUnit.PETABYTES_PER_SEC);\n\t}",
"public static Datarate newTerabytesPerSecondValue()\n\t{\n\t\treturn new Datarate(0.0, DataRateUnit.TERABYTES_PER_SEC);\n\t}",
"public static Datarate newZettabytesPerSecondValue()\n\... | [
"0.7120284",
"0.68983215",
"0.65234673",
"0.6359366",
"0.6332044",
"0.62923545",
"0.62427026",
"0.6220192",
"0.6139163",
"0.60773945",
"0.59780335",
"0.5909135",
"0.58806044",
"0.58727336",
"0.58382344",
"0.58322304",
"0.582301",
"0.5811754",
"0.5803134",
"0.5787315",
"0.5760... | 0.621052 | 8 |
/ Petabytes per Second Constructor with zero value | public static Datarate newPetabytesPerSecondValue()
{
return new Datarate(0.0, DataRateUnit.PETABYTES_PER_SEC);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public static Datarate newTerabytesPerSecondValue()\n\t{\n\t\treturn new Datarate(0.0, DataRateUnit.TERABYTES_PER_SEC);\n\t}",
"public static Datarate newZettabytesPerSecondValue()\n\t{\n\t\treturn new Datarate(0.0, DataRateUnit.ZETTABYTES_PER_SEC);\n\t}",
"public Time(){\r\n Seconds = 0; \r\n }",
... | [
"0.6978716",
"0.6867494",
"0.6703257",
"0.66801494",
"0.64733523",
"0.64649314",
"0.6429617",
"0.6305566",
"0.62066466",
"0.6119099",
"0.61047333",
"0.6082593",
"0.6072909",
"0.6063197",
"0.6003241",
"0.59934884",
"0.596763",
"0.59597117",
"0.59286135",
"0.5908975",
"0.590305... | 0.7240612 | 0 |
/ gets the value in Exabytes per Second | public Double exabytesPerSecond()
{
return getValue(DataRateUnit.EXABYTES_PER_SEC);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public Double terabytesPerSecond()\n\t{\n\t\treturn getValue(DataRateUnit.TERABYTES_PER_SEC);\n\t}",
"public final double terabytes()\n\t{\n\t\treturn gigabytes() / 1024.0;\n\t}",
"public Double petabytesPerSecond()\n\t{\n\t\treturn getValue(DataRateUnit.PETABYTES_PER_SEC);\n\t}",
"public void exabytesPerSec... | [
"0.76830643",
"0.7446234",
"0.73241895",
"0.7281223",
"0.72516495",
"0.71773964",
"0.7064298",
"0.7021304",
"0.7015278",
"0.69645923",
"0.6925035",
"0.68613726",
"0.68324375",
"0.669484",
"0.6688377",
"0.668208",
"0.6624438",
"0.65913564",
"0.6477976",
"0.6458542",
"0.6446996... | 0.8057027 | 0 |
/ stores the value in Exabytes per Second | public void exabytesPerSecond(Double val)
{
setValue(val, DataRateUnit.EXABYTES_PER_SEC);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public Double exabytesPerSecond()\n\t{\n\t\treturn getValue(DataRateUnit.EXABYTES_PER_SEC);\n\t}",
"public void terabytesPerSecond(Double val)\n\t{\n\t\tsetValue(val, DataRateUnit.TERABYTES_PER_SEC);\n\t}",
"public void zettabytesPerSecond(Double val)\n\t{\n\t\tsetValue(val, DataRateUnit.ZETTABYTES_PER_SEC);\n... | [
"0.7393451",
"0.7284416",
"0.7159301",
"0.7146282",
"0.6935981",
"0.693064",
"0.6690861",
"0.66610354",
"0.66475385",
"0.6529379",
"0.65106535",
"0.64625275",
"0.64243305",
"0.6413111",
"0.6382728",
"0.6373259",
"0.6368537",
"0.6325458",
"0.6289772",
"0.6201216",
"0.614676",
... | 0.76390105 | 0 |
/ Exabytes per Second Constructor | public static Datarate newExabytesPerSecondValue(Double new_val)
{
return new Datarate(new_val, DataRateUnit.EXABYTES_PER_SEC);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public static Datarate newExabytesPerSecondValue()\n\t{\n\t\treturn new Datarate(0.0, DataRateUnit.EXABYTES_PER_SEC);\n\t}",
"public static Datarate newTerabytesPerSecondValue()\n\t{\n\t\treturn new Datarate(0.0, DataRateUnit.TERABYTES_PER_SEC);\n\t}",
"public static Datarate newPetabytesPerSecondValue()\n\t{\... | [
"0.6940341",
"0.6884946",
"0.66508657",
"0.6607311",
"0.63807076",
"0.6300993",
"0.6292496",
"0.6287768",
"0.6118045",
"0.61137134",
"0.6099062",
"0.60232675",
"0.6003788",
"0.5973431",
"0.5946982",
"0.5938003",
"0.5880961",
"0.58787084",
"0.58328027",
"0.58246225",
"0.582074... | 0.5921881 | 16 |
/ Exabytes per Second Constructor with zero value | public static Datarate newExabytesPerSecondValue()
{
return new Datarate(0.0, DataRateUnit.EXABYTES_PER_SEC);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public static Datarate newTerabytesPerSecondValue()\n\t{\n\t\treturn new Datarate(0.0, DataRateUnit.TERABYTES_PER_SEC);\n\t}",
"public static Datarate newZettabytesPerSecondValue()\n\t{\n\t\treturn new Datarate(0.0, DataRateUnit.ZETTABYTES_PER_SEC);\n\t}",
"public static Datarate newPetabytesPerSecondValue()\n... | [
"0.6957998",
"0.69251883",
"0.6847853",
"0.6638534",
"0.6510343",
"0.6490879",
"0.63448113",
"0.61264706",
"0.60673493",
"0.6041708",
"0.6015899",
"0.5968381",
"0.59581774",
"0.59483474",
"0.5935456",
"0.5895566",
"0.58808523",
"0.58782816",
"0.5869648",
"0.58045924",
"0.5804... | 0.71863914 | 0 |
/ gets the value in Zettabytes per Second | public Double zettabytesPerSecond()
{
return getValue(DataRateUnit.ZETTABYTES_PER_SEC);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public Double terabytesPerSecond()\n\t{\n\t\treturn getValue(DataRateUnit.TERABYTES_PER_SEC);\n\t}",
"public void zettabytesPerSecond(Double val)\n\t{\n\t\tsetValue(val, DataRateUnit.ZETTABYTES_PER_SEC);\n\t}",
"public static Datarate newZettabytesPerSecondValue()\n\t{\n\t\treturn new Datarate(0.0, DataRateUni... | [
"0.7541304",
"0.74833786",
"0.7289608",
"0.7106066",
"0.70774835",
"0.70520955",
"0.7040602",
"0.6976769",
"0.6926354",
"0.6896339",
"0.6798719",
"0.6795076",
"0.67173",
"0.6670279",
"0.6649202",
"0.66446656",
"0.66164315",
"0.65868497",
"0.6540915",
"0.6517912",
"0.65111846"... | 0.8137002 | 0 |
/ stores the value in Zettabytes per Second | public void zettabytesPerSecond(Double val)
{
setValue(val, DataRateUnit.ZETTABYTES_PER_SEC);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public Double zettabytesPerSecond()\n\t{\n\t\treturn getValue(DataRateUnit.ZETTABYTES_PER_SEC);\n\t}",
"public static Datarate newZettabytesPerSecondValue()\n\t{\n\t\treturn new Datarate(0.0, DataRateUnit.ZETTABYTES_PER_SEC);\n\t}",
"public void terabytesPerSecond(Double val)\n\t{\n\t\tsetValue(val, DataRateUn... | [
"0.7633545",
"0.7266094",
"0.70250833",
"0.7013832",
"0.69017524",
"0.6856893",
"0.668883",
"0.66557586",
"0.66506416",
"0.6649805",
"0.664375",
"0.66234",
"0.65809816",
"0.6517909",
"0.64236534",
"0.6329028",
"0.6312866",
"0.62782806",
"0.6275103",
"0.6254098",
"0.62421715",... | 0.78103626 | 0 |
/ Zettabytes per Second Constructor | public static Datarate newZettabytesPerSecondValue(Double new_val)
{
return new Datarate(new_val, DataRateUnit.ZETTABYTES_PER_SEC);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public static Datarate newZettabytesPerSecondValue()\n\t{\n\t\treturn new Datarate(0.0, DataRateUnit.ZETTABYTES_PER_SEC);\n\t}",
"public Double zettabytesPerSecond()\n\t{\n\t\treturn getValue(DataRateUnit.ZETTABYTES_PER_SEC);\n\t}",
"public static Datarate newTerabytesPerSecondValue()\n\t{\n\t\treturn new Data... | [
"0.75615174",
"0.6914605",
"0.68107647",
"0.6564197",
"0.64548",
"0.636092",
"0.6360783",
"0.61255306",
"0.6075368",
"0.594208",
"0.59184194",
"0.5757122",
"0.57385993",
"0.5696743",
"0.5665715",
"0.5657722",
"0.56576633",
"0.5650533",
"0.56348264",
"0.5630843",
"0.5619987",
... | 0.6471559 | 4 |
/ Zettabytes per Second Constructor with zero value | public static Datarate newZettabytesPerSecondValue()
{
return new Datarate(0.0, DataRateUnit.ZETTABYTES_PER_SEC);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public static Datarate newTerabytesPerSecondValue()\n\t{\n\t\treturn new Datarate(0.0, DataRateUnit.TERABYTES_PER_SEC);\n\t}",
"public static Datarate newPetabytesPerSecondValue()\n\t{\n\t\treturn new Datarate(0.0, DataRateUnit.PETABYTES_PER_SEC);\n\t}",
"public static Datarate newExabytesPerSecondValue()\n\t{... | [
"0.67426187",
"0.6530056",
"0.65223074",
"0.64600945",
"0.6459076",
"0.63538283",
"0.6336567",
"0.6220497",
"0.61365944",
"0.6052328",
"0.59990436",
"0.5940274",
"0.5845189",
"0.5834016",
"0.5832064",
"0.5785828",
"0.5750839",
"0.5750732",
"0.5713946",
"0.57059425",
"0.569096... | 0.76087916 | 0 |
/ gets the value in Yottabytes per Second | public Double yottabytesPerSecond()
{
return getValue(DataRateUnit.YOTTABYTES_PER_SEC);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public Double terabytesPerSecond()\n\t{\n\t\treturn getValue(DataRateUnit.TERABYTES_PER_SEC);\n\t}",
"public void yottabytesPerSecond(Double val)\n\t{\n\t\tsetValue(val, DataRateUnit.YOTTABYTES_PER_SEC);\n\t}",
"public Double petabytesPerSecond()\n\t{\n\t\treturn getValue(DataRateUnit.PETABYTES_PER_SEC);\n\t}"... | [
"0.7734251",
"0.7482332",
"0.73637474",
"0.7351427",
"0.7291781",
"0.72499204",
"0.72414",
"0.7105384",
"0.7071026",
"0.70390564",
"0.70240813",
"0.7014881",
"0.7007253",
"0.69841135",
"0.68895155",
"0.6855204",
"0.68397355",
"0.67480814",
"0.672437",
"0.66706216",
"0.6636611... | 0.79445475 | 0 |
/ stores the value in Yottabytes per Second | public void yottabytesPerSecond(Double val)
{
setValue(val, DataRateUnit.YOTTABYTES_PER_SEC);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public Double yottabytesPerSecond()\n\t{\n\t\treturn getValue(DataRateUnit.YOTTABYTES_PER_SEC);\n\t}",
"public void terabytesPerSecond(Double val)\n\t{\n\t\tsetValue(val, DataRateUnit.TERABYTES_PER_SEC);\n\t}",
"public void zettabytesPerSecond(Double val)\n\t{\n\t\tsetValue(val, DataRateUnit.ZETTABYTES_PER_SEC... | [
"0.74587584",
"0.7285759",
"0.7207632",
"0.7138996",
"0.70924073",
"0.70043427",
"0.689617",
"0.68548214",
"0.68077546",
"0.6784277",
"0.671388",
"0.6703465",
"0.6578704",
"0.6570237",
"0.65517",
"0.6537528",
"0.65246254",
"0.6522644",
"0.6503225",
"0.64979756",
"0.6476511",
... | 0.7771313 | 0 |
/ Yottabytes per Second Constructor | public static Datarate newYottabytesPerSecondValue(Double new_val)
{
return new Datarate(new_val, DataRateUnit.YOTTABYTES_PER_SEC);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public static Datarate newTerabytesPerSecondValue()\n\t{\n\t\treturn new Datarate(0.0, DataRateUnit.TERABYTES_PER_SEC);\n\t}",
"public static Datarate newYottabytesPerSecondValue()\n\t{\n\t\treturn new Datarate(0.0, DataRateUnit.YOTTABYTES_PER_SEC);\n\t}",
"public static Datarate newZettabytesPerSecondValue()\... | [
"0.7329569",
"0.719813",
"0.7052446",
"0.69911134",
"0.6718002",
"0.6709301",
"0.66949904",
"0.66259253",
"0.649687",
"0.6418981",
"0.64172363",
"0.6364278",
"0.634331",
"0.6248654",
"0.62370044",
"0.62333715",
"0.6222738",
"0.6189486",
"0.61618626",
"0.6141051",
"0.6079446",... | 0.6181497 | 18 |
/ Yottabytes per Second Constructor with zero value | public static Datarate newYottabytesPerSecondValue()
{
return new Datarate(0.0, DataRateUnit.YOTTABYTES_PER_SEC);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public static Datarate newTerabytesPerSecondValue()\n\t{\n\t\treturn new Datarate(0.0, DataRateUnit.TERABYTES_PER_SEC);\n\t}",
"public static Datarate newZettabytesPerSecondValue()\n\t{\n\t\treturn new Datarate(0.0, DataRateUnit.ZETTABYTES_PER_SEC);\n\t}",
"public static Datarate newPetabytesPerSecondValue()\n... | [
"0.73762125",
"0.7304903",
"0.7122879",
"0.7019598",
"0.67046297",
"0.6675192",
"0.6360305",
"0.6359515",
"0.63429636",
"0.62714964",
"0.626924",
"0.62316716",
"0.61683",
"0.61616695",
"0.6151347",
"0.6146615",
"0.60267985",
"0.59592",
"0.5949387",
"0.59491354",
"0.589329",
... | 0.73644274 | 1 |
Initialisiert eine neue SpielfeldZeile | public SpielfeldZeile()
{
_spalte0 = 0;
_spalte1 = 0;
_spalte2 = 0;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void init() {\n\ttsp.init();\n }",
"public Spiel()\n {\n \tspieler = new Spieler();\n \t//landkarte = new Landkarte(5);\n //landkarte.raeumeAnlegen(spieler);\n\n \tlandkarte = levelGen.generate(spieler, 5, 6, 4, 10);\n\n parser = new Parser();\n }",
"public void initialis... | [
"0.65665907",
"0.64777565",
"0.63924325",
"0.6339446",
"0.6336189",
"0.63350475",
"0.63329595",
"0.63303095",
"0.63303095",
"0.63303095",
"0.63303095",
"0.63235563",
"0.6309584",
"0.62833",
"0.6277767",
"0.627276",
"0.6270466",
"0.6270466",
"0.62651986",
"0.626232",
"0.625924... | 0.73477286 | 0 |
Gibt den Besitzer der angegebenen Spalte in dieser Zeile. | public int gibBesitzer(int spalte)
{
int besitzer;
switch (spalte)
{
case 0:
besitzer = _spalte0;
break;
case 1:
besitzer = _spalte1;
break;
case 2:
besitzer = _spalte2;
break;
default:
throw new IllegalArgumentException(String.valueOf(spalte));
}
return besitzer;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public Feld erzeugeFeld() {\n\t\tArrayList<Schiff> schiffe = new ArrayList<Schiff>();\n\t\t\n\t\t// 1 Schlachtschiff = 5\n\t\tschiffe.add(new Schiff(5));\n\t\t// 2 Kreuzer = 4\n\t\tschiffe.add(new Schiff(4));\n\t\tschiffe.add(new Schiff(4));\n\t\t// 3 Zerstoerer = 3\n\t\tschiffe.add(new Schiff(3));\n\t\tschiffe.ad... | [
"0.63012797",
"0.6211714",
"0.59166276",
"0.5847778",
"0.57500494",
"0.57453024",
"0.57258475",
"0.5722152",
"0.5662835",
"0.56062806",
"0.5601579",
"0.55405724",
"0.5520706",
"0.54170215",
"0.54122037",
"0.5402899",
"0.53588694",
"0.5357622",
"0.5342703",
"0.5322591",
"0.531... | 0.63759893 | 0 |
Besetze die angegebene Spalte in dieser Zeile. | public void besetze(int spalte, int spieler)
{
switch (spalte)
{
case 0:
_spalte0 = spieler;
break;
case 1:
_spalte1 = spieler;
break;
case 2:
_spalte2 = spieler;
break;
default:
throw new IllegalArgumentException(String.valueOf(spalte));
}
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public SpielfeldZeile()\n\t{\n\t _spalte0 = 0;\n\t _spalte1 = 0;\n\t _spalte2 = 0;\n\t}",
"public void macheZugRueckgaengig(int spalte, int zeile, String spieler){\n\t\t\n\t\tif(spielfeld[spalte][zeile].equals(spieler)){\n\t\t\tspielfeld[spalte][zeile] = \"_\";\n\t\t}\n\t\t\t\n\t}",
"private void setu... | [
"0.6844221",
"0.6228235",
"0.6125635",
"0.6063545",
"0.6000004",
"0.59892315",
"0.5890964",
"0.58447564",
"0.5821271",
"0.57519263",
"0.5707686",
"0.5693961",
"0.569346",
"0.56688386",
"0.56539637",
"0.5624954",
"0.5608487",
"0.5597717",
"0.5592485",
"0.555254",
"0.5550756",
... | 0.6170923 | 2 |
Gibt an, ob die Zeile an allen Positionen belegt ist. | public boolean istVoll()
{
return (_spalte0 > 0) && (_spalte1 > 0) && (_spalte2 > 0);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n\tpublic int getPosition() {\n\t\treturn 0;\n\t}",
"public final int getPos() { return i; }",
"Tile getPosition();",
"@Override\n\tpublic int getPos() {\n\t\treturn 0;\n\t}",
"@Override\n public int getPosition() {\n return position;\n }",
"void positionToStart () {\n curre... | [
"0.7107381",
"0.7005379",
"0.69122905",
"0.6888628",
"0.68314224",
"0.6741475",
"0.6717014",
"0.66949487",
"0.66949487",
"0.66209143",
"0.6605498",
"0.6599961",
"0.6569765",
"0.6521653",
"0.6521653",
"0.6503154",
"0.64849794",
"0.6387319",
"0.6377593",
"0.63595533",
"0.633457... | 0.0 | -1 |
TODO Autogenerated method stub | @Override
protected void onDestroy() {
super.onDestroy();
stopTimer();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}",
"@Override\n\tpublic void comer() {\n\t\t\n\t}",
"@Override\n public void perish() {\n \n }",
"@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}",
"@Override\n\tpublic void anular() {\n\n\t}",
"@Override\n\tprotected void getExr... | [
"0.66713095",
"0.6567948",
"0.652319",
"0.648097",
"0.64770466",
"0.64586824",
"0.64132667",
"0.6376419",
"0.62759",
"0.62545097",
"0.62371093",
"0.62237984",
"0.6201738",
"0.619477",
"0.619477",
"0.61924416",
"0.61872935",
"0.6173417",
"0.613289",
"0.6127952",
"0.6080854",
... | 0.0 | -1 |
TODO Autogenerated method stub | private void initGuide() {
findViewById(R.id.btn_start).setOnClickListener(new OnClickListener() {
@Override
public void onClick(View v) {
// TODO Auto-generated method stub
//显示捡瓶子的页面
Message msg = Message.obtain();
nextStep = PIKCOUT;
msg.what = nextStep;
mHandler.sendMess... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}",
"@Override\n\tpublic void comer() {\n\t\t\n\t}",
"@Override\n public void perish() {\n \n }",
"@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}",
"@Override\n\tpublic void anular() {\n\n\t}",
"@Override\n\tprotected void getExr... | [
"0.6671074",
"0.6567672",
"0.6523024",
"0.6481211",
"0.6477082",
"0.64591026",
"0.64127725",
"0.63762105",
"0.6276059",
"0.6254286",
"0.623686",
"0.6223679",
"0.6201336",
"0.61950207",
"0.61950207",
"0.61922914",
"0.6186996",
"0.6173591",
"0.61327106",
"0.61285484",
"0.608016... | 0.0 | -1 |
TODO Autogenerated method stub | @Override
public void onClick(View v) {
Message msg = Message.obtain();
nextStep = OTHERBEACH;
msg.what = nextStep;
mHandler.sendMessage(msg);
isPause =true;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}",
"@Override\n\tpublic void comer() {\n\t\t\n\t}",
"@Override\n public void perish() {\n \n }",
"@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}",
"@Override\n\tpublic void anular() {\n\n\t}",
"@Override\n\tprotected void getExr... | [
"0.6671074",
"0.6567672",
"0.6523024",
"0.6481211",
"0.6477082",
"0.64591026",
"0.64127725",
"0.63762105",
"0.6276059",
"0.6254286",
"0.623686",
"0.6223679",
"0.6201336",
"0.61950207",
"0.61950207",
"0.61922914",
"0.6186996",
"0.6173591",
"0.61327106",
"0.61285484",
"0.608016... | 0.0 | -1 |
TODO Autogenerated method stub | @Override
public void onClick(View v) {
Message msg = Message.obtain();
nextStep = BALLON;
msg.what = nextStep;
mHandler.sendMessage(msg);
isPause =true;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}",
"@Override\n\tpublic void comer() {\n\t\t\n\t}",
"@Override\n public void perish() {\n \n }",
"@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}",
"@Override\n\tpublic void anular() {\n\n\t}",
"@Override\n\tprotected void getExr... | [
"0.6671074",
"0.6567672",
"0.6523024",
"0.6481211",
"0.6477082",
"0.64591026",
"0.64127725",
"0.63762105",
"0.6276059",
"0.6254286",
"0.623686",
"0.6223679",
"0.6201336",
"0.61950207",
"0.61950207",
"0.61922914",
"0.6186996",
"0.6173591",
"0.61327106",
"0.61285484",
"0.608016... | 0.0 | -1 |
TODO Autogenerated method stub | @Override
public void onClick(View v) {
Message msg = Message.obtain();
nextStep = PROPER;
msg.what = nextStep;
mHandler.sendMessage(msg);
isPause =true;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}",
"@Override\n\tpublic void comer() {\n\t\t\n\t}",
"@Override\n public void perish() {\n \n }",
"@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}",
"@Override\n\tpublic void anular() {\n\n\t}",
"@Override\n\tprotected void getExr... | [
"0.66713095",
"0.6567948",
"0.652319",
"0.648097",
"0.64770466",
"0.64586824",
"0.64132667",
"0.6376419",
"0.62759",
"0.62545097",
"0.62371093",
"0.62237984",
"0.6201738",
"0.619477",
"0.619477",
"0.61924416",
"0.61872935",
"0.6173417",
"0.613289",
"0.6127952",
"0.6080854",
... | 0.0 | -1 |
TODO Autogenerated method stub | @Override
public void onClick(View v) {
Message msg = Message.obtain();
nextStep = USER;
msg.what = nextStep;
mHandler.sendMessage(msg);
isPause =true;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}",
"@Override\n\tpublic void comer() {\n\t\t\n\t}",
"@Override\n public void perish() {\n \n }",
"@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}",
"@Override\n\tpublic void anular() {\n\n\t}",
"@Override\n\tprotected void getExr... | [
"0.6671074",
"0.6567672",
"0.6523024",
"0.6481211",
"0.6477082",
"0.64591026",
"0.64127725",
"0.63762105",
"0.6276059",
"0.6254286",
"0.623686",
"0.6223679",
"0.6201336",
"0.61950207",
"0.61950207",
"0.61922914",
"0.6186996",
"0.6173591",
"0.61327106",
"0.61285484",
"0.608016... | 0.0 | -1 |
TODO Autogenerated method stub | @Override
public void onClick(View v) {
Message msg = Message.obtain();
nextStep = OK;
msg.what = nextStep;
mHandler.sendMessage(msg);
isPause =true;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}",
"@Override\n\tpublic void comer() {\n\t\t\n\t}",
"@Override\n public void perish() {\n \n }",
"@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}",
"@Override\n\tpublic void anular() {\n\n\t}",
"@Override\n\tprotected void getExr... | [
"0.6671074",
"0.6567672",
"0.6523024",
"0.6481211",
"0.6477082",
"0.64591026",
"0.64127725",
"0.63762105",
"0.6276059",
"0.6254286",
"0.623686",
"0.6223679",
"0.6201336",
"0.61950207",
"0.61950207",
"0.61922914",
"0.6186996",
"0.6173591",
"0.61327106",
"0.61285484",
"0.608016... | 0.0 | -1 |
TODO Autogenerated method stub | @Override
public void onClick(View v) {
Intent intent = new Intent(GuideActivity.this,MainActivity.class);
intent.setFlags(Intent.FLAG_ACTIVITY_NO_USER_ACTION);
startActivity(intent);
MyApplication.getApp().getSysSpUtil().setIsFirstTime(false);
finish();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}",
"@Override\n\tpublic void comer() {\n\t\t\n\t}",
"@Override\n public void perish() {\n \n }",
"@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}",
"@Override\n\tpublic void anular() {\n\n\t}",
"@Override\n\tprotected void getExr... | [
"0.6671074",
"0.6567672",
"0.6523024",
"0.6481211",
"0.6477082",
"0.64591026",
"0.64127725",
"0.63762105",
"0.6276059",
"0.6254286",
"0.623686",
"0.6223679",
"0.6201336",
"0.61950207",
"0.61950207",
"0.61922914",
"0.6186996",
"0.6173591",
"0.61327106",
"0.61285484",
"0.608016... | 0.0 | -1 |
TODO Autogenerated method stub | @Override
public void onClick(View v) {
if(nextStep+1>=showflag.length)
return ;
Message msg = Message.obtain();
if(showflag[nextStep]){
nextStep +=1;
}else{
for(int i=nextStep;i>=0;i--){
if(showflag[i]){
nextStep= i+1;
break;
}
}
}
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}",
"@Override\n\tpublic void comer() {\n\t\t\n\t}",
"@Override\n public void perish() {\n \n }",
"@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}",
"@Override\n\tpublic void anular() {\n\n\t}",
"@Override\n\tprotected void getExr... | [
"0.66713095",
"0.6567948",
"0.652319",
"0.648097",
"0.64770466",
"0.64586824",
"0.64132667",
"0.6376419",
"0.62759",
"0.62545097",
"0.62371093",
"0.62237984",
"0.6201738",
"0.619477",
"0.619477",
"0.61924416",
"0.61872935",
"0.6173417",
"0.613289",
"0.6127952",
"0.6080854",
... | 0.0 | -1 |
calculate armLength (JointID.RIGHT_HAND, JointID.RIGHT_SHOULDER) | public float armLength(int userId) {
return jointsLength(userId, JointID.RIGHT_SHOULDER, JointID.RIGHT_HAND);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public Location getRightArmEnd() {\r\n\t\tfinal Location r1 = GeneralMethods.getRightSide(this.player.getLocation(), 2).add(0, 1.5, 0);\r\n\t\treturn r1.clone().add(this.player.getLocation().getDirection().normalize().multiply(this.initLength));\r\n\t}",
"public int getLength() {\n return this.sideLength;... | [
"0.65133744",
"0.61255854",
"0.6098054",
"0.60595185",
"0.60546356",
"0.60468495",
"0.60029745",
"0.597885",
"0.58770263",
"0.58587974",
"0.585423",
"0.5816307",
"0.58160293",
"0.58131725",
"0.57849",
"0.57795495",
"0.577708",
"0.57750684",
"0.57731104",
"0.57576907",
"0.5755... | 0.7821549 | 0 |
Call outside to generate a Joke | public static String getJoke(){
return jokes[getRandomNumberBetweenMinMax(0, jokes.length-1)];
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"String generateJoke();",
"@ApiMethod(name = \"tellJoke\", path = \"joke\", httpMethod = \"GET\")\n public JokeBean tellJoke() {\n JokeBean response = new JokeBean();\n int i = new Random().nextInt(JOKES.length);\n response.setData(JOKES[i]);\n return response;\n }",
"public vo... | [
"0.7393593",
"0.6746439",
"0.6357656",
"0.6160149",
"0.61165786",
"0.60045767",
"0.5999549",
"0.5904456",
"0.5848952",
"0.5699499",
"0.56760746",
"0.5669865",
"0.52847034",
"0.5283129",
"0.5244327",
"0.5206886",
"0.51882",
"0.5188069",
"0.5174975",
"0.51353395",
"0.51314104",... | 0.6096295 | 5 |
This is basically the same example as the webexamples staticsite example but it's booted using SpringBoot, not Vert.x | public static void main(String[] args) {
SpringApplication.run(Application.class, args);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public static void main(String[] args) {\n Vertx vertx = Vertx.vertx();\n vertx.deployVerticle(new VertxRestAPI());\n }",
"public static void main(String[] args) {\n Vertx vertx = Vertx.vertx();\n vertx.deployVerticle(new MainVerticle());\n }",
"public static void main(String[] args) {\... | [
"0.65174806",
"0.6468923",
"0.6381991",
"0.6240612",
"0.61256087",
"0.60767764",
"0.6040867",
"0.6039233",
"0.60161495",
"0.5996496",
"0.59774756",
"0.59687203",
"0.59499276",
"0.5878437",
"0.58063287",
"0.57941544",
"0.57811624",
"0.5777807",
"0.5659897",
"0.56530035",
"0.56... | 0.0 | -1 |
Elige un gen aleatorio del fichero fasta y lo devuelve. | public static ArrayList<String> procesarFastaCompleto(File prueba, ArrayList<String> nombres) {
System.out.println("s");
ArrayList<String> gen = new ArrayList<>();
try {
Scanner leerfichero = new Scanner(prueba);
while(leerfichero.hasNextLine()){
String reg = leerfichero.nextLine();
if (reg.startsW... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public static String leerFasta(File prueba) {\n\t\tString gen = \"\", genescogido = null;\n\t\ttry {\n\t\t\tArrayList<Integer> cabeceras = new ArrayList<>();\n\t\t\tint contador = 0;\n\t\t\tScanner leerfichero = new Scanner(prueba);\n\t\t\twhile(leerfichero.hasNextLine()){\n\t\t\t\tif (leerfichero.nextLine().start... | [
"0.7351854",
"0.5790147",
"0.5629183",
"0.55676895",
"0.5534267",
"0.5523668",
"0.54963434",
"0.54925495",
"0.5460711",
"0.54418826",
"0.5436339",
"0.53837067",
"0.5367465",
"0.5345228",
"0.53178924",
"0.52842546",
"0.5255546",
"0.52343893",
"0.5189037",
"0.51420885",
"0.5112... | 0.5902211 | 1 |
Elige un gen aleatorio del fichero fasta y lo devuelve. | public static String leerFasta(File prueba) {
String gen = "", genescogido = null;
try {
ArrayList<Integer> cabeceras = new ArrayList<>();
int contador = 0;
Scanner leerfichero = new Scanner(prueba);
while(leerfichero.hasNextLine()){
if (leerfichero.nextLine().startsWith(">")) {
cabeceras.add(c... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public static ArrayList<String> procesarFastaCompleto(File prueba, ArrayList<String> nombres) {\n\t\tSystem.out.println(\"s\");\n\n\t\tArrayList<String> gen = new ArrayList<>();\n\t\ttry {\n\t\t\tScanner leerfichero = new Scanner(prueba);\n\t\t\twhile(leerfichero.hasNextLine()){\n\t\t\t\tString reg = leerfichero.n... | [
"0.5902271",
"0.5789785",
"0.56298196",
"0.55665123",
"0.55326015",
"0.5525176",
"0.5496093",
"0.5491891",
"0.5461075",
"0.5442305",
"0.5436004",
"0.53824806",
"0.5367067",
"0.53449464",
"0.53178495",
"0.5283384",
"0.5256313",
"0.5233112",
"0.5187106",
"0.51424736",
"0.511256... | 0.7352213 | 0 |
Creates a size with given width and height. | public Size(double width, double height)
{
this.width = width;
this.height = height;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public Size(int w, int h) {\n width = w;\n height = h;\n }",
"public void size(final int theWidth, final int theHeight);",
"public void setSize(float width, float height);",
"@Override\n public Position setSize(double w, double h) {\n return new Position(w, h);\n }",
"publ... | [
"0.7363269",
"0.71147007",
"0.6916152",
"0.6839122",
"0.674668",
"0.65169346",
"0.64007694",
"0.6394446",
"0.6361496",
"0.62427646",
"0.61860317",
"0.6131491",
"0.6115807",
"0.6104681",
"0.6082437",
"0.6053895",
"0.6041457",
"0.5999438",
"0.59867567",
"0.59623533",
"0.5937271... | 0.74821436 | 0 |
Returns the size's width | public double getWidth()
{
return width;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public int getWidth() {\n return mySize.getWidth();\n }",
"public final int getWidth() {\r\n return (int) size.x();\r\n }",
"public static int getWidth()\r\n\t{\r\n\t\treturn width;\r\n\t}",
"public double getWidth();",
"public double getWidth();",
"public int getWidth();",
"public ... | [
"0.8800154",
"0.8617969",
"0.82691294",
"0.82669395",
"0.82669395",
"0.8257796",
"0.8257796",
"0.8257796",
"0.8186558",
"0.8186558",
"0.81776434",
"0.81776434",
"0.81612355",
"0.81501204",
"0.81501204",
"0.81501204",
"0.8147154",
"0.81448513",
"0.8144419",
"0.8144419",
"0.814... | 0.81259847 | 40 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.