query stringlengths 9 14.6k | document stringlengths 8 5.39M | metadata dict | negatives listlengths 0 30 | negative_scores listlengths 0 30 | document_score stringlengths 5 10 | document_rank stringclasses 2
values |
|---|---|---|---|---|---|---|
Create a single emoticon element | function emoticonButton(name, url) {
if (tagtype=='bbcode')
// return "<span id='IzEmoticons_"+name+"' title='" + name + "' onmousedown='(function() {var rich_edit = document.getElementById(\""+textar+"\");rich_edit.value+=\"[img]"+url+"[/img]\";})();'><img src='" + url + "' alt='" + name + "' border='0'></span>\n... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function emojiImage(el) {\n const image = document.createElement('img')\n image.className = 'emoji'\n image.alt = el.getAttribute('alias') || ''\n image.height = 20\n image.width = 20\n return image\n}",
"addEmoticons(jq) {\n const sets = this.emoticonSets;\n const regex = this.emoticonRegex;\n if... | [
"0.6918772",
"0.6720245",
"0.65928733",
"0.6388918",
"0.63202673",
"0.6143818",
"0.61309373",
"0.6081609",
"0.59870785",
"0.5969567",
"0.592854",
"0.59164935",
"0.5875938",
"0.5855051",
"0.5798375",
"0.57712424",
"0.57283795",
"0.5711589",
"0.57016385",
"0.56891453",
"0.56504... | 0.67968965 | 1 |
Parse the arguments of traversal functions. These functions can take one optional first argument which is an options object. If present, this object will be stored in args.options. The only mandatory argument is the callback function which can appear in the first or second position (if an options object is given). This... | function parseArgs() {
var args = {};
if (arguments.length === 1) {
if (typeof arguments[0] === 'function') {
args.fn = arguments[0];
} else {
args.options = arguments[0];
}
} else if (arguments.length === 2) {
if (typeof arguments[0] === 'function') {
args.fn... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function parseArguments(args, callback) { \n var inRepl = (callback != undefined);\n if( !callback) callback= function() {};\n\n var argIndex= inRepl?0:2,\n keepGoing= true, \n arg=\"\";\n if( typeof(args) == 'string' ) args= splitArgs(args);\n while(keepGoing && argIndex < args.leng... | [
"0.52676",
"0.50065553",
"0.49607643",
"0.4949841",
"0.4949841",
"0.48718753",
"0.48384234",
"0.47627968",
"0.47627968",
"0.4746089",
"0.4746089",
"0.4746089",
"0.4746089",
"0.4746089",
"0.4746089",
"0.47040713",
"0.4679453",
"0.46520856",
"0.4640274",
"0.46097353",
"0.460721... | 0.73062307 | 0 |
Funtion to construct an engineer instance from the prompted answers, and add to list of team members for building the team. | function createEngineer() {
inquirer.prompt(engineerQuestions)
.then(({ name, emailID, employeeId, github}) => {
const engineer = new Engineer(name, "Engineer", emailID, employeeId, github)
teamMembers.push(engineer);
buildTeam();
})
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function createEngineer() {\n inquirer\n .prompt([\n {\n type: \"input\",\n name: \"engineerName\",\n message: `What is your engineer's name?`\n },\n {\n type: \"input\",\n name: \"engineerId\",\n ... | [
"0.80719733",
"0.8043026",
"0.80284023",
"0.79485226",
"0.7870748",
"0.78504086",
"0.7825694",
"0.78205675",
"0.7765819",
"0.7757893",
"0.77455485",
"0.77231324",
"0.7712647",
"0.76151663",
"0.75954753",
"0.75898546",
"0.7585973",
"0.7571709",
"0.75271803",
"0.7495822",
"0.74... | 0.8211765 | 0 |
Funtion to construct an intern instance from the prompted answers, and add to list of team members for building the team. | function createIntern() {
inquirer.prompt(internQuestions)
.then(({ name, emailID, employeeId, school}) => {
const intern = new Intern(name, "Intern", emailID, employeeId, school)
teamMembers.push(intern)
buildTeam();
})
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function addIntern() {\n inquirer.\n prompt([\n questions[9], questions[10], questions[11], questions[12]\n ])\n .then(answers => {\n const intern = new Intern(answers.name, answers.id, answers.email, answers.school);\n teamMembers.push(intern);\n ... | [
"0.788018",
"0.77104926",
"0.77039474",
"0.7687067",
"0.7597551",
"0.75877213",
"0.7531116",
"0.74370664",
"0.74026555",
"0.73580825",
"0.7351809",
"0.73381674",
"0.7260971",
"0.719847",
"0.7196522",
"0.71964663",
"0.7133575",
"0.711749",
"0.70348287",
"0.6923378",
"0.6891491... | 0.7900443 | 0 |
Funtion to conditionally invoke team member constructor based on roles | function memberConstructor(role) {
switch (role) {
case 'Engineer': {
createEngineer();
break;
}
case 'Intern': {
createIntern();
break;
}
default: {
init();
}
}
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"role(user, editor, admin) {\n this.role = user;\n this.role = editor;\n this.role = admin; \n }",
"init () {\n const {\n activeUser,\n getRoles,\n userFromId,\n roles } = this.props;\n const { currentRolesMaxCount } = this.state;\n const user = userFromId(activeUser);\n if (!u... | [
"0.6237925",
"0.61332697",
"0.59387326",
"0.58485067",
"0.5781003",
"0.57603383",
"0.5694632",
"0.5681438",
"0.56561625",
"0.5637864",
"0.56363225",
"0.5525504",
"0.5511706",
"0.54785544",
"0.5449985",
"0.5409871",
"0.53978765",
"0.53766596",
"0.5361822",
"0.5358106",
"0.5357... | 0.73007095 | 0 |
Initialize the app, to prompt to enter managers profile data. | function init() {
console.log("****************************************************************************")
console.log("*******************Application Start: Team Profile Generator****************")
console.log("****************************************************************************")
inquirer.p... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function init() {\n promptManager();\n}",
"function init() {\n promptManager();\n}",
"function initManager() {\n employeeList.length = 0;\n inquirer.prompt(managerQues).then(function (data) {\n const manager = new Manager(\n data.name,\n employeeID,\n data.email,\n data.officeNum... | [
"0.6523091",
"0.6523091",
"0.64551806",
"0.6337134",
"0.6172509",
"0.61461383",
"0.6122502",
"0.61159754",
"0.6112154",
"0.60201055",
"0.59930396",
"0.59844494",
"0.5982248",
"0.5974033",
"0.59676206",
"0.5919629",
"0.5919309",
"0.59095377",
"0.59063166",
"0.5886883",
"0.5876... | 0.7649529 | 0 |
Join the contents of byte container a and b returning c. | function concatByteContainers(a, b) {
if (HAS_BUFFER)
return Buffer.concat([a, b]);
// make sure everything is unit8
if (a instanceof ArrayBuffer)
a = new Uint8Array(a);
if (b instanceof ArrayBuffer)
b = new Uint8Array(b);
// sizes of originals
var aLen = a.length;
var b... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function concatenate(a, b) {\n const length = a.length + b.length;\n const buffer = safe_buffer_1.Buffer.allocUnsafe(length); // creates a buffer object of length 'length'\n for (let i = 0; i < a.length; i += 1) {\n buffer[i] = a[i];\n }\n for (let j = 0; j < b.length; j += 1) {\n buff... | [
"0.70267874",
"0.7011645",
"0.6936154",
"0.68447983",
"0.66281444",
"0.6580431",
"0.6515904",
"0.6501327",
"0.6455911",
"0.6451306",
"0.6196368",
"0.6123578",
"0.6051377",
"0.60091907",
"0.59750956",
"0.59681344",
"0.59662694",
"0.59298426",
"0.59104735",
"0.58821535",
"0.586... | 0.7197599 | 1 |
Join the contents of byte container a and b returning c. | function concatByteContainers(a, b) {
if (HAS_BUFFER)
return Buffer.concat([a, b]);
// make sure everything is unit8
if (a instanceof ArrayBuffer)
a = new Uint8Array(a);
if (b instanceof ArrayBuffer)
b = new Uint8Array(b);
// sizes of originals
var aLen = a.length;
var b... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function concatenate(a, b) {\n const length = a.length + b.length;\n const buffer = safe_buffer_1.Buffer.allocUnsafe(length); // creates a buffer object of length 'length'\n for (let i = 0; i < a.length; i += 1) {\n buffer[i] = a[i];\n }\n for (let j = 0; j < b.length; j += 1) {\n buff... | [
"0.70267874",
"0.7011645",
"0.6936154",
"0.68447983",
"0.66281444",
"0.6580431",
"0.6515904",
"0.6501327",
"0.6455911",
"0.6451306",
"0.6196368",
"0.6123578",
"0.6051377",
"0.60091907",
"0.59750956",
"0.59681344",
"0.59662694",
"0.59298426",
"0.59104735",
"0.58821535",
"0.586... | 0.7197599 | 0 |
Circle Button with SVG | function CircleButton(props) {
let icon;
if (props.icon) {
const Icon = props.icon;
icon = (
<Icon
className={classnames(styles.icon, props.iconClassName)}
width={props.iconWidth}
height={props.iconHeight}
x={props.iconX}
y={props.iconY}
/>
);
}
co... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function createActCircle(cx, cy)\n{\n var myCircle = document.createElementNS(svgNS,\"circle\"); //to create a circle. for rectangle use \"rectangle\"\n myCircle.setAttributeNS(null,\"id\",\"actCircle\");\n myCircle.setAttributeNS(null,\"cx\",cx);\n myCircle.setAttributeNS(null,\"cy\",cy);\n myCircle.setAttri... | [
"0.65421045",
"0.64585006",
"0.64140505",
"0.6314182",
"0.625315",
"0.62417775",
"0.6171998",
"0.61629784",
"0.61434305",
"0.6137501",
"0.61040926",
"0.6092055",
"0.60872144",
"0.6067294",
"0.6030253",
"0.60226405",
"0.5967172",
"0.5964886",
"0.59501135",
"0.59388757",
"0.590... | 0.76042587 | 0 |
Liefert einen vor den ersten ZAT zurueckgesetzten Spielplanzeiger saison Enthaelt die Nummer der laufenden Saison ligaSize Anzahl der Teams in dieser Liga (Gegner + 1) ZAT pro Abrechnungsmonat Saison ZAT GameType Heim/Auswaerts Gegner Tore Gegentore Ligengroesse Ligaspieltag Pokalrunde Eurorunde Hin/Rueck ZAT Rueck ZAT... | function firstZAT(saison, ligaSize) {
return {
'anzZATpMonth' : ((saison < 2) ? 7 : 6), // Erste Saison 7 ZAT, danach 6 ZAT...
'saison' : saison,
'ZAT' : 0,
'gameType' : 'spielfrei',
'heim' : true,
'gegner' : "",
'gFor' ... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function jelKenta(niz)\n{\n\t/* make a set from an array */\n\tvar skup = napraviSet(niz);\n\tvar tmpn = Array.from(skup);\n\ttmpn.sort();\n\n\tif(skup.size === 5)\n\t{\n\t\tconsole.log(tmpn[4]);\n\t\t/* kandidat za kentu */\n\t\tif((tmpn[4] - tmpn[0]) === 4)\n\t\t{\n\t\t\t/* velika ili mala kenta? */\n\t\t\tif(tm... | [
"0.56196356",
"0.5616572",
"0.5483289",
"0.54005826",
"0.5388058",
"0.52936316",
"0.5214031",
"0.51281863",
"0.511908",
"0.50934726",
"0.5068347",
"0.5058742",
"0.50441766",
"0.5027582",
"0.49919382",
"0.49889398",
"0.4977387",
"0.49710885",
"0.49427924",
"0.4935158",
"0.4920... | 0.6685559 | 0 |
Liefert den ZAT als String currZAT Enthaelt den Spielplanzeiger auf den aktuellen ZAT longStats Formatiert die Langversion des Textes | function getZAT(currZAT, longStats) {
return (longStats ? currZAT.gameType + ' ' + (currZAT.heim ? "Heim" : "Ausw\xE4rts") + ' ' : "") +
(longStats ? '[' + currZAT.ligaSpieltag + ' ' + currZAT.pokalRunde + ' ' + currZAT.euroRunde + "] " : "") +
(longStats ? '[' + currZAT.ZATrueck + __HINRUECK[... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"getStatusText(format = true) {\n if (format) {\n let collider = this.player.collider;\n let percent = collider.health * 100 / collider.maxHealth;\n\n let {qX, qY, sX, sY} = this.player.gameObject.getLocation();\n let position = `${qX} - ${qY}; ${sX} - ${sY}`;\n ... | [
"0.57476354",
"0.5617577",
"0.55179477",
"0.55097014",
"0.54818076",
"0.5444762",
"0.5430681",
"0.5404501",
"0.5321978",
"0.52772295",
"0.5273305",
"0.5271061",
"0.52602035",
"0.5257432",
"0.52478045",
"0.52478045",
"0.52478045",
"0.52478045",
"0.52478045",
"0.52478045",
"0.5... | 0.69118273 | 0 |
Spult die Daten um anzZAT ZAT vor und schreibt Parameter anhand des Spielplans fort. Also Spieltag, Runde, etc. currZAT Enthaelt den Spielplanzeiger auf den aktuellen ZAT anzZAT Anzahl der ZAT, um die vorgespult wird | function incZAT(currZAT, anzZAT) {
for (let i = 0; i < anzZAT; i++) {
currZAT.ZAT++;
}
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function getZAT(currZAT, longStats) {\n return (longStats ? currZAT.gameType + ' ' + (currZAT.heim ? \"Heim\" : \"Ausw\\xE4rts\") + ' ' : \"\") +\n (longStats ? '[' + currZAT.ligaSpieltag + ' ' + currZAT.pokalRunde + ' ' + currZAT.euroRunde + \"] \" : \"\") +\n (longStats ? '[' + currZAT.ZAT... | [
"0.615741",
"0.5395025",
"0.5319859",
"0.52955914",
"0.5159262",
"0.5142514",
"0.5098829",
"0.50607485",
"0.50436157",
"0.49688703",
"0.49347067",
"0.492452",
"0.4882863",
"0.48747995",
"0.48632747",
"0.4853706",
"0.4850576",
"0.48297393",
"0.48149654",
"0.4813878",
"0.478124... | 0.55157495 | 1 |
Ermittelt die Spielart aus einer Tabellenzelle und setzt gameType/heim im Spielplanzeiger currZAT Enthaelt den Spielplanzeiger auf den aktuellen ZAT cell Tabellenzelle mit Eintrag "Liga : Heim" oder "Liga Heim" | function setSpielArtFromCell(currZAT, cell) {
const __SPIELART = getSpielArtFromCell(cell);
currZAT.gameType = __SPIELART[0];
currZAT.heim = (__SPIELART.length < 2) || (__SPIELART[1] === "Heim");
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function gameTile(type)\r\n{\r\n\tthis.type = type;\r\n}",
"updateGame() {\r\n grid.updateInfos(); // Met à jour les cases armes et force si besoin\r\n newGame.nextTurn(); // Change le joueur actif\r\n $('#playerName').html(currentPlayer.name).prop(\"class\", \"name-\" + currentPlayer.classN... | [
"0.5860021",
"0.57784617",
"0.564534",
"0.56108284",
"0.5573689",
"0.5568287",
"0.5555547",
"0.554555",
"0.5544149",
"0.55375487",
"0.5513361",
"0.5487641",
"0.54819924",
"0.5452846",
"0.54450005",
"0.54324406",
"0.54200375",
"0.5411935",
"0.5402654",
"0.5383751",
"0.538353",... | 0.66065526 | 0 |
Gibt die ID fuer den Namen eines Wettbewerbs zurueck cell Tabellenzelle mit Link auf den SpielberichtsLink gameType Name des Wettbewerbs eines Spiels label Anzuklickender Text des neuen Links return HTMLLink auf die PreviewSeite fuer diesen Spielbericht | function getBilanzLinkFromCell(cell, gameType, label) {
const __GAMETYPEID = getGameTypeID(gameType);
let ret = "";
if (cell.textContent != "Vorschau") { // Nur falls Link nicht bereits vorhanden
if (__GAMETYPEID > 1) { // nicht moeglich fuer "Friendly" bzw. "spielfrei"
co... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function IdFormatter (cell, row) {\n return <Link to={\"asset/\" + cell}>\n {cell}\n </Link>\n}",
"function HrefFormater(value, row, index) {\n return '<a href=\"' + '/vuln/' +row.id + '\"> ' + row.name +'</a>';\n}",
"function g_link(template, id) {\r\n return \"/\" + templa... | [
"0.5825562",
"0.5780734",
"0.56879425",
"0.5640674",
"0.5607367",
"0.5572415",
"0.5565036",
"0.5539119",
"0.5520056",
"0.54967433",
"0.54740924",
"0.54693156",
"0.5460814",
"0.54188937",
"0.5410029",
"0.5406175",
"0.5356474",
"0.5328911",
"0.5317512",
"0.53124744",
"0.5272468... | 0.63226646 | 0 |
Addiert einen Link auf die Bilanz hinter den SpielberichtsLink cell Tabellenzelle mit Link auf den SpielberichtsLink gameType Name des Wettbewerbs eines Spiels label Anzuklickender Text des neuen Links | function addBilanzLinkToCell(cell, gameType, label) {
const __BILANZLINK = getBilanzLinkFromCell(cell, gameType, label);
if (__BILANZLINK !== "") {
cell.innerHTML += __BILANZLINK;
}
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function AddLink(thetype) {\n\tAddTag(\"[\" + thetype + \"]\", \"[/\" + thetype + \"]\", '');\n}",
"link(cell){\n if (cell == null ||cell == undefined ) return ;\n if (this.linked(cell)) return ;\n this.linkIds.push(cell.id) ;\n this.links[cell.tag] = cell ;\n cell.link(this) ;... | [
"0.683587",
"0.66020805",
"0.6515871",
"0.6426947",
"0.6317862",
"0.6311101",
"0.6300747",
"0.62836576",
"0.6162729",
"0.61407393",
"0.61225885",
"0.6066719",
"0.60011387",
"0.59973454",
"0.5976215",
"0.591824",
"0.5913686",
"0.59086925",
"0.5906417",
"0.5883477",
"0.58521754... | 0.7418126 | 0 |
Gibt die laufende Nummer des ZAT im Text einer Zelle zurueck cell Tabellenzelle mit der ZATNummer im Text return ZATNummer im Text | function getZATNrFromCell(cell) {
const __TEXT = cell.textContent.split(' ');
let ZATNr = 0;
for (let i = 1; (ZATNr === 0) && (i < __TEXT.length); i++) {
if (__TEXT[i - 1] === "ZAT") {
if (__TEXT[i] !== "ist") {
ZATNr = parseInt(__TEXT[i], 10);
}
}
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"getYerlesenNumber(html) {\n return html.match(/\\>[0-9]{1,3}|(---)?<\\/font></)[1]\n }",
"function getText_DataIndex() {\n\treturn 0;\n}",
"function RellenaTexto(aux, TotalDigitos, TipoCaracter) {\r\n\tvar Numero = aux.toString();\r\n\tvar mon_len = parseInt(TotalDigitos) - Numero.length;\r\n\t\r\n\t... | [
"0.61895835",
"0.5835151",
"0.58275336",
"0.5682687",
"0.5635587",
"0.55089146",
"0.549221",
"0.5455932",
"0.54506385",
"0.5408564",
"0.5395396",
"0.5384912",
"0.53678054",
"0.53594244",
"0.5354833",
"0.53170615",
"0.52960956",
"0.52669567",
"0.52655494",
"0.5247574",
"0.5243... | 0.75137407 | 0 |
Function to calculate costs for all buildings based on a date and a portfolio scenario | function calculateCostsAll() {
if (!checkConsoleFields()) {
return;
}
var console = View.panels.get('allocGroupConsole');
var date_report = console.getFieldValue('gp.date_start');
var portfolio_scenario_id = console.getFieldValue('gp.portfolio_scenario_id');
var bl_id = console.getFieldValue('gp.bl_id');
var... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function getProgramCost(land_cat, age_cat, num_days, prepay_cat) {\n console.log(prepay_cat, age_cat);\n\n // define price tables for each land category\n // [prepay_cat][age_cat]\n\n var A_pricetable = [\n [30, 50, 80],\n [50, 70, 100],\n [70, 90, 120]\n ];\n\n var B_priceta... | [
"0.6108553",
"0.6101289",
"0.58905977",
"0.5787374",
"0.5762246",
"0.57262665",
"0.5671495",
"0.56672716",
"0.56536806",
"0.56389105",
"0.5615414",
"0.5612668",
"0.5594004",
"0.5573164",
"0.55702555",
"0.55490226",
"0.55373764",
"0.553628",
"0.55341107",
"0.55175984",
"0.5495... | 0.62166107 | 0 |
Function to set the current date on the allocGroupConsole | function setCurrentDate () {
var console = View.panels.get('allocGroupConsole');
var record = console.getRecord();
if (console.getFieldValue('gp.date_start') == '') {
record.setValue('gp.date_start', new Date());
console.onModelUpdate();
}
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function setDate() {\n const now = new Date();\n let calendarDate = `${\n now.getMonth() + 1\n }/${now.getDate()}/${now.getFullYear()} `;\n let time = `${now.getHours()}:${pad(now.getMinutes(), 2)} `;\n let punchDate = `punch date = ${time} ${calendarDate} ${now.getMonth()}`;\n console.log('punchDate valu... | [
"0.64914757",
"0.6092974",
"0.6084745",
"0.59570265",
"0.58842534",
"0.5859607",
"0.5838978",
"0.58017015",
"0.57756656",
"0.57731646",
"0.57616395",
"0.5757556",
"0.5730828",
"0.5722456",
"0.5721356",
"0.5701533",
"0.57008606",
"0.5668314",
"0.5666959",
"0.5665499",
"0.56515... | 0.8053922 | 0 |
Function to set the default scenario on the allocGroupConsole to Baseline | function setPortfolioScenario () {
var console = View.panels.get('allocGroupConsole');
var record = console.getRecord();
var portfolio_scenario_id = record.getValue('gp.portfolio_scenario_id');
if (console.getFieldValue('gp.portfolio_scenario_id') == '') {
record.setValue('gp.portfolio_scenario_id', "Baseline");
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"setDefault() { }",
"setupDefaultGroup({commit}) {\n commit('SET_GROUP', defaultGroupData());\n }",
"function setAllScenariosToDefault() {\n var deferred = protractor.promise.defer();\n var response = request('PUT', baseUrl + '/mocks/defaults', {\n headers: {\n 'Conte... | [
"0.54259133",
"0.5319013",
"0.52137095",
"0.517817",
"0.5045547",
"0.5011965",
"0.4948677",
"0.4884469",
"0.48373973",
"0.4805165",
"0.47802854",
"0.47774702",
"0.47774702",
"0.47774702",
"0.47647882",
"0.47346312",
"0.47241762",
"0.47125027",
"0.47075602",
"0.47032633",
"0.4... | 0.5780805 | 0 |
Function to add a certain period to a date field in the allocGroupConsole | function addPeriod (periodType,num,consoleName,dateToAddField,dateToUpdateField) {
var console = View.panels.get(consoleName);
var record = console.getRecord();
var date_start = record.getValue(dateToAddField);
if (console.getFieldValue(dateToAddField) != '') {
if (periodType == "MONTH") {
date_start = date... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"static add2(name, aggregateKey: string, strLength, onBoundary) {\n let period = Period.periods.get(name);\n\n if (!period) {\n throw \"Must have previously been declared as a period.\";\n }\n\n let new_period = new SummingPeriod();\n\n new_period.name = period.name;\n new_period.roundDown = ... | [
"0.6231419",
"0.61936796",
"0.6057552",
"0.600792",
"0.5841535",
"0.5724502",
"0.5588517",
"0.5448079",
"0.5442068",
"0.5401988",
"0.54009235",
"0.53976804",
"0.5381152",
"0.53763473",
"0.5347613",
"0.5340446",
"0.5340446",
"0.5304138",
"0.52857006",
"0.5239854",
"0.5207381",... | 0.7424213 | 0 |
Function to check if the date and portfolio scenario are filled in | function checkConsoleFields() {
var console = View.panels.get('allocGroupConsole');
var date_report = console.getFieldValue('gp.date_start');
var portfolio_scenario_id = console.getFieldValue('gp.portfolio_scenario_id');
if (date_report == "") {
View.showMessage(getMessage('error_date_report'));
return false;
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function checkChartConsoleFields() {\n\tvar console = View.panels.get('allocGroupConsole');\n\tvar date_start = console.getFieldValue('gp.date_start');\n\tvar date_end = console.getFieldValue('gp.date_end');\n\tvar portfolio_scenario_id = console.getFieldValue('gp.portfolio_scenario_id');\n\n\tif (date_start == \"... | [
"0.6592285",
"0.5988166",
"0.5873827",
"0.5866431",
"0.5827331",
"0.581034",
"0.58072376",
"0.5791402",
"0.57193565",
"0.57024467",
"0.5690963",
"0.56779766",
"0.5626879",
"0.56251234",
"0.5593709",
"0.5577467",
"0.5572532",
"0.5567142",
"0.5558194",
"0.5557955",
"0.554929",
... | 0.6289487 | 1 |
Function to check if the date and portfolio scenario are filled in | function checkChartConsoleFields() {
var console = View.panels.get('allocGroupConsole');
var date_start = console.getFieldValue('gp.date_start');
var date_end = console.getFieldValue('gp.date_end');
var portfolio_scenario_id = console.getFieldValue('gp.portfolio_scenario_id');
if (date_start == "") {
View.showM... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function checkConsoleFields() {\n\tvar console = View.panels.get('allocGroupConsole');\n\tvar date_report = console.getFieldValue('gp.date_start');\n\tvar portfolio_scenario_id = console.getFieldValue('gp.portfolio_scenario_id');\n\n\tif (date_report == \"\") {\n\t\tView.showMessage(getMessage('error_date_report')... | [
"0.6289487",
"0.5988166",
"0.5873827",
"0.5866431",
"0.5827331",
"0.581034",
"0.58072376",
"0.5791402",
"0.57193565",
"0.57024467",
"0.5690963",
"0.56779766",
"0.5626879",
"0.56251234",
"0.5593709",
"0.5577467",
"0.5572532",
"0.5567142",
"0.5558194",
"0.5557955",
"0.554929",
... | 0.6592285 | 0 |
These should match EscapeSequence > NonEscapeCharacter but don't as that again uses DecimalDigit and not OctalDigit, and again isn't compatible with implementations. | function testOctalEscape_6() {
assertEquals("8abc", "\8abc");
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"validateEscapes(str, options = {}) {\r\n\t\t\t\tvar before, hex, invalidEscape, invalidEscapeRegex, match, message, octal, ref, unicode, unicodeCodePoint;\r\n\t\t\t\tinvalidEscapeRegex = options.isRegex ? REGEX_INVALID_ESCAPE : STRING_INVALID_ESCAPE;\r\n\t\t\t\tmatch = invalidEscapeRegex.exec(str);\r\n\t\t\t\tif (... | [
"0.6832188",
"0.652261",
"0.6160943",
"0.60530365",
"0.6043671",
"0.6041421",
"0.6041421",
"0.5985017",
"0.59430975",
"0.59403914",
"0.5889137",
"0.57812923",
"0.5770431",
"0.5748574",
"0.5737918",
"0.5728425",
"0.5668689",
"0.5633319",
"0.56329983",
"0.5606086",
"0.5601787",... | 0.68919915 | 0 |
Shorthand for just making sure a promise eventually equals a value | function eventuallyEqual(promise, expected, done) {
all([
promise.should.be.fulfilled,
promise.should.eventually.deep.equal(expected)
], done);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function fulfilled(value) {\n return new aplus.Promise(value)\n}",
"function promiseTask() {\n return Promise.resolve(\"the value is ignored\");\n}",
"onFulfilled(val) {\r\n //once settled can't go back\r\n if (this.state === states[0]) {\r\n this.state = states[1];\r\n th... | [
"0.6441508",
"0.618822",
"0.61197877",
"0.59955233",
"0.5979487",
"0.5968667",
"0.5963474",
"0.59595567",
"0.595613",
"0.595613",
"0.595613",
"0.595613",
"0.595613",
"0.595613",
"0.595613",
"0.595613",
"0.595613",
"0.5945619",
"0.59173894",
"0.590714",
"0.5896853",
"0.58763... | 0.6510041 | 0 |
Shorthand for making sure promise eventually fulfilled | function eventuallyFulfilled(promise, done) {
all([
promise.should.be.fulfilled
], done);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function fulfilled(value) {\n return new aplus.Promise(value)\n}",
"then(onFulfilled) {\n const promise = privateProps.promise.get(this);\n return promise.then(onFulfilled);\n }",
"then(onFulfilled) {\n const promise = privateProps.promise.get(this);\n return promise.then(onFulfilled);\n }... | [
"0.7162341",
"0.65271944",
"0.6384945",
"0.63698375",
"0.6336025",
"0.6302001",
"0.62998545",
"0.62584144",
"0.62519276",
"0.6182477",
"0.61070305",
"0.6101351",
"0.60708994",
"0.60426074",
"0.60199827",
"0.60166395",
"0.6012526",
"0.5979394",
"0.5974129",
"0.5968021",
"0.595... | 0.70344377 | 1 |
Add command line arguments to a given object | function addCommandLineArgs(obj) {
_.extend(obj, argv);
delete obj.$0;
delete obj._;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function addCLIArgs(...args) {\n process.argv = process.argv.concat(args)\n}",
"addArgument(arg, value) {\n if (typeof arg !== 'string') {\n throw new TypeError('Argument \"arg\" should be typeof string');\n }\n\n this.commandArguments.push(arg);\n\n if (value !== undefined && value !== null) {... | [
"0.6718309",
"0.65943706",
"0.60785437",
"0.59303236",
"0.59303236",
"0.58026344",
"0.57201767",
"0.5700991",
"0.5700991",
"0.5698392",
"0.56511134",
"0.5631636",
"0.56170464",
"0.56037927",
"0.55448806",
"0.5528167",
"0.5508942",
"0.54465604",
"0.54103774",
"0.5408819",
"0.5... | 0.81821513 | 0 |
Decrypt Ballot IDs that a voter can use to verify his vote. | function decryptBallotIDs(){
var alertBox = $(".alert");
userData.BallotID.forEach(function(el, ind, all){
encryptedBallotIDs[el.PostID] = el.BallotString;
ballotIDs[el.PostID] = decryptFromPassword(el.BallotString);
alertBox.html(alertBox.html()+"<br>Ballot ID for Post "+el.PostID+" = "... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function createDecipher() {\n return crypto.createDecipheriv(algoritsymm, Buffer.from(password), initVector);\n }",
"decrypt(data) {\n let key = \"2139226343519743\";\n let iv = \"4370627107694550\";\n key = CryptoJS.enc.Utf8.parse(key);\n iv = CryptoJS.enc.Utf8.parse(iv);\n\n le... | [
"0.52631974",
"0.52336687",
"0.5216281",
"0.52153206",
"0.5195162",
"0.51644295",
"0.51587194",
"0.51364183",
"0.5126716",
"0.5126716",
"0.50961316",
"0.5014178",
"0.49762014",
"0.4951599",
"0.49504492",
"0.49255908",
"0.4921914",
"0.4912916",
"0.49010047",
"0.48777822",
"0.4... | 0.71421677 | 0 |
Convert Public Key from JSON to Base64 | function serializePublicKey(pub){
return sjcl.codec.base64.fromBits(pub.get().x.concat(pub.get().y));
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function _rsapem_pemToBase64(b){var a=b;a=a.replace(\"-----BEGIN RSA PRIVATE KEY-----\",\"\");a=a.replace(\"-----END RSA PRIVATE KEY-----\",\"\");a=a.replace(/[ \\n]+/g,\"\");return a}",
"function _rsapem_pemToBase64(b){var a=b;a=a.replace(\"-----BEGIN RSA PRIVATE KEY-----\",\"\");a=a.replace(\"-----END RSA PRIV... | [
"0.6955557",
"0.6955557",
"0.68835986",
"0.68835986",
"0.6707462",
"0.65927637",
"0.6589935",
"0.64721614",
"0.64721614",
"0.639603",
"0.639603",
"0.6360994",
"0.6359423",
"0.6253218",
"0.6226783",
"0.622276",
"0.61728156",
"0.616915",
"0.60991776",
"0.6074768",
"0.60598105",... | 0.70533365 | 0 |
Decrypt something with the user's password as the key for symmetrically encrypted objects. | function decryptFromPassword(something){
return sjcl.decrypt(userPassword, something);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function decrypt(password) {\n var decipher = crypto.createDecipher(algorithm, privateKey);\n var dec = decipher.update(password, 'hex', 'utf8');\n dec += decipher.final('utf8');\n return dec;\n}",
"decryptPrivateKey(key, password) {\n if (password.hashCode() == localStorage.getItem(\"password\"))... | [
"0.6810254",
"0.67467463",
"0.67180854",
"0.6621671",
"0.64698064",
"0.6464812",
"0.63757586",
"0.6311368",
"0.62922806",
"0.6067928",
"0.5969272",
"0.59638005",
"0.59469914",
"0.5927554",
"0.59234065",
"0.5903394",
"0.58842015",
"0.58534735",
"0.58240414",
"0.5776187",
"0.57... | 0.7322703 | 0 |
Encrypt something symmetrically with the user's password as the key. | function encryptWithPassword(something){
return sjcl.encrypt(userPassword, something);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"encryptPrivateKey(key, password) {\n return CryptoJS.AES.encrypt(key, password);\n }",
"function encrypt(password) {\n var cipher = crypto.createCipher(algorithm, privateKey);\n var crypted = cipher.update(password, 'utf8', 'hex');\n crypted += cipher.final('hex');\n return crypted;\n}",
"funct... | [
"0.69409245",
"0.67112094",
"0.67112094",
"0.66624534",
"0.66441387",
"0.6577907",
"0.64954245",
"0.6359996",
"0.63253754",
"0.6324794",
"0.62644416",
"0.62557435",
"0.62446266",
"0.61952513",
"0.60844874",
"0.60824925",
"0.6071032",
"0.6057988",
"0.6029995",
"0.6028506",
"0.... | 0.69454277 | 0 |
Call the appropriate functions to submit votes. | function submitVotes(){
encryptVotes();
sendVotes();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function submitVote(event) {\n\t\tvar eventId = $(event.target).attr('name');\n\t\tvar vote = $(event.target).val();\n\t\tuser.vote(eventId, vote);\n\t\tdisableVoteButtons();\n\t}",
"function submitVote(postID) {\n\t\tif (votedPostIDs.indexOf(postID) <= -1) {\n\t\t\tvotedPostIDs.push(postID);\n\t\t\tvar url = vo... | [
"0.72163224",
"0.6684906",
"0.66473734",
"0.6389384",
"0.63389903",
"0.6321996",
"0.62589717",
"0.6235844",
"0.617498",
"0.60849303",
"0.6073926",
"0.59900016",
"0.58821195",
"0.58774525",
"0.5871302",
"0.5835706",
"0.582896",
"0.5822849",
"0.58064485",
"0.5788013",
"0.577888... | 0.8055177 | 0 |
Creates BallotIDs and encrypts it using public keys of candidates and CEO. | function encryptVotes(){
allPosts.forEach(function(post, ind, all){
var ballotID = getRandomString();
var pid = parseInt(post["PostID"]);
ballotIDs[pid] = ballotID;
encryptedBallotIDs[pid] = encryptWithPassword(ballotID);
var noOfCandidatesVotedFor = votesCandidateNames[pid]... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function createCandidates() {\n /* TODO: sort out find for subdoc or redesign schema, probably need to redesign\n as currently a candidate just holds references to a person & party */\n\n deleted = candidatesCollect.count();\n created = updated = 0;\n\n candidatesCollect.drop(); // just for now, may need ... | [
"0.56958413",
"0.567197",
"0.5491611",
"0.54372334",
"0.5312489",
"0.52971184",
"0.5284132",
"0.5250083",
"0.52431154",
"0.52429736",
"0.5231718",
"0.52268267",
"0.5125055",
"0.51052105",
"0.5098065",
"0.5089333",
"0.50889975",
"0.50744236",
"0.50572103",
"0.5028751",
"0.5003... | 0.58733976 | 0 |
Sends the unencrypted private key to the server. | function sendPrivateKey(){
var privKey = decryptFromPassword(userData.PrivateKey);
$.ajax({
type: "POST",
url: "/candidate/declarePrivateKey",
contentType: 'application/json; charset=utf-8',
data: JSON.stringify({
'pubkey': userData.PublicKey,
'privkey': p... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function encryptWithYourPrivate() {\n var message = document.getElementById(\"messageArea\").value;\n yourKeyPair.setType(\"private\");\n message = RSA.encryptWithKey(message, yourKeyPair);\n document.getElementById(\"messageArea\").value = message;\n}",
"function PrivateKey() {\r\n this.conn = nu... | [
"0.61198276",
"0.59841263",
"0.5853514",
"0.5789076",
"0.5758026",
"0.56535244",
"0.5548204",
"0.544737",
"0.5429008",
"0.5429008",
"0.5429008",
"0.54277205",
"0.53848726",
"0.53827053",
"0.5377807",
"0.52989215",
"0.52913153",
"0.52862287",
"0.52826226",
"0.52760965",
"0.526... | 0.6686866 | 0 |
Show the message that the private key has been submitted. | function showPrivateKeySubmitted(){
$(".welcomed").html("Your key has been submitted. All the best for the results.");
$("button").remove();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"showPrivateKey() {\n // Get private key\n if (!this._Wallet.decrypt(this.commonPK)) this.reset();\n return;\n }",
"function showSubmitKey(key) {\r\n $('#submit-code').text(key);\r\n $('#experiment').hide();\r\n $('#succesful-submit').show();\r\n selectText('submit-code');\r\n}... | [
"0.6438771",
"0.64120376",
"0.6317558",
"0.6076943",
"0.5825465",
"0.57525194",
"0.57524717",
"0.57497746",
"0.5724087",
"0.56774276",
"0.56668484",
"0.56047845",
"0.5602413",
"0.5440094",
"0.5424443",
"0.5378191",
"0.53702706",
"0.53689176",
"0.5349152",
"0.5317762",
"0.5283... | 0.65230286 | 0 |
Return an object where the keys are each char in String `s` and the values are the number of times that char appears in s | function countLetters (s) {
return s.split('')
.filter(c => c !== '-')
.reduce((counts, c) => {
const count = counts[c] || 0
return Object.assign(counts, { [c]: count + 1 })
}, {})
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function countChars(str) {\n var result = {};\n Array.from(str).forEach(function (char) {\n var curVal = result[char];\n\n if (curVal) {\n result[char] += 1;\n } else {\n result[char] = 1;\n }\n });\n return result;\n}",
"function count (string) { \n r = {};\n string.split('').forEac... | [
"0.79332477",
"0.7907934",
"0.78978074",
"0.78834724",
"0.7850801",
"0.7832491",
"0.7788265",
"0.77682346",
"0.77271116",
"0.7718285",
"0.76965034",
"0.7678466",
"0.76621515",
"0.7629796",
"0.76236665",
"0.7597369",
"0.7592549",
"0.75876313",
"0.75811344",
"0.75420755",
"0.75... | 0.79155767 | 1 |
get the ascii code for char `c` | function ord (c) {
return c.charCodeAt(0)
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function ord(c) {\n return c.charCodeAt(0);\n }",
"function getChar(c){\n return String.fromCodePoint(c);\n}",
"function c(n){\r\n\treturn String.fromCharCode(n);\r\n}",
"function getChar(c){\n return String.fromCharCode(c)\n}",
"function charToIndex (c) {\n return parseInt(c.toLower... | [
"0.7956133",
"0.76578367",
"0.7539985",
"0.73203063",
"0.7277342",
"0.7220929",
"0.705353",
"0.70215076",
"0.70007664",
"0.70007664",
"0.6891752",
"0.6870889",
"0.6829212",
"0.68033516",
"0.6723645",
"0.67031026",
"0.67031026",
"0.67031026",
"0.6699465",
"0.66898817",
"0.6664... | 0.7749666 | 1 |
Remove the message. Triggers the MessengerEvents.RemoveMessage event for all messenger objects on all clients, including this one. | remove() {
MessagingModule.removeMessage(this.conversation, this.uuid);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function removeMessage( id ) {\n message.remove( id );\n}",
"_deleteMessageElement(message) {\n const registeredMessage = messageRegistry.get(message);\n const messageElement = registeredMessage && registeredMessage.messageElement;\n if (messagesContainer && messageElement) {\n m... | [
"0.6883224",
"0.6410841",
"0.63958216",
"0.6291422",
"0.6256496",
"0.6157574",
"0.6123838",
"0.6086987",
"0.6086987",
"0.60120094",
"0.59493256",
"0.5943201",
"0.59247214",
"0.57556295",
"0.57500637",
"0.56882244",
"0.56752443",
"0.56061167",
"0.55908245",
"0.55801517",
"0.55... | 0.7776618 | 0 |
This is a function for deploysGet / Returns all deploys in the project, most recent first, in pages of 20. | deploysGet(incomingOptions, cb) {
const Rollbar = require('./dist');
let apiInstance = new Rollbar.DefaultApi(); // String | Use a project access token with 'read' scope
/*let xRollbarAccessToken = "xRollbarAccessToken_example";*/ let opts = {
page: 56, // Number | Page number, starting from 1. 20 de... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function getStatsPage(req, res) {\n var app = req.app;\n var deploymentTrackerDb = app.get(\"deployment-tracker-db\");\n if (!deploymentTrackerDb) {\n return res.status(500);\n }\n var eventsDb = deploymentTrackerDb.use(\"events\");\n eventsDb.view(\"deployments\", \"by_repo_unique\", {\n ... | [
"0.60798883",
"0.5750697",
"0.57278126",
"0.57157874",
"0.5642285",
"0.5621422",
"0.55952156",
"0.5586355",
"0.55649084",
"0.5547357",
"0.5540438",
"0.55331403",
"0.55237",
"0.55013996",
"0.5478501",
"0.54562706",
"0.5444616",
"0.5416635",
"0.54041207",
"0.5396754",
"0.538738... | 0.619676 | 0 |
This is a function for itemsGet / Examples Get the 101st through 199th active items: &x60;&x60;&x60;curl curl H \"XRollbarAccessToken: YOUR_ACCESS_TOKEN\" &39; &x60;&x60;&x60; Get the first page of items that are error or critical, in the production environment: &x60;&x60;&x60;curl curl H \"XRollbarAccessToken: YOUR_AC... | itemsGet(incomingOptions, cb) {
const Rollbar = require('./dist');
let apiInstance = new Rollbar.DefaultApi(); // String | Use a project access token with 'read' scope
/*let xRollbarAccessToken = "xRollbarAccessToken_example";*/ let opts = {
// 'assignedUser': "assignedUser_example", // String | If ... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"itemIdInstancesGet(incomingOptions, cb) {\n const Rollbar = require('./dist');\n\n let apiInstance = new Rollbar.OccurrenceApi(); // String | Use a project access token with 'read' scop // Number | The item ID\n /*let xRollbarAccessToken = \"xRollbarAccessToken_example\";*/ /*let itemId = 56;*/ let opts =... | [
"0.68212146",
"0.6057151",
"0.6039196",
"0.5920187",
"0.5918118",
"0.5895686",
"0.58842605",
"0.58600956",
"0.58486515",
"0.5819388",
"0.5724432",
"0.56835616",
"0.5636709",
"0.55646026",
"0.5539268",
"0.55348545",
"0.5481012",
"0.54788727",
"0.544381",
"0.54430574",
"0.54388... | 0.6959507 | 0 |
This is a function for projectIdAccessTokensGet / List all project access tokens | projectIdAccessTokensGet(incomingOptions, cb) {
const Rollbar = require('./dist');
let apiInstance = new Rollbar.DefaultApi(); // String | Use an account access token with 'read' scop // String |
/*let xRollbarAccessToken = "xRollbarAccessToken_example";*/ /*let id = "id_example";*/ apiInstance.projectIdAc... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"getAccessTokens() {\n return this._data.accessTokens;\n }",
"getAccessToken() {}",
"function getAccesstoken(e) {\n var PA = new ProjectApp(false, this.prop, null);\n if (!e.length) {\n return PA.doGet();\n } else if (e.length > 1) {\n if (e[0] == \"doget\") {\n PA.saveRefr... | [
"0.67756635",
"0.5932417",
"0.5896701",
"0.5735234",
"0.5720998",
"0.5624898",
"0.5614384",
"0.5596323",
"0.55146223",
"0.5416753",
"0.5410396",
"0.53817207",
"0.53627485",
"0.53336143",
"0.5277723",
"0.5259294",
"0.52588964",
"0.52510726",
"0.5231708",
"0.5214105",
"0.520784... | 0.6107077 | 1 |
This is a function for versionsVersionItemsGet / List items by code version List items that have occurrences for one specific code version. | versionsVersionItemsGet(incomingOptions, cb) {
const Rollbar = require('./dist');
let apiInstance = new Rollbar.VersionsApi(); // String | Use a project access token with 'read' scop // String | The code version sent on the occurrence payloa // String | For one code version list the items only for this environ... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"get versions() {\r\n return new ItemVersions(this);\r\n }",
"function filterItems(items, value) {\n var result = [];\n for(var id in items){\n if(items[id].hasOwnProperty(\"completed\") && \n items[id].completed === value){\n r... | [
"0.5721541",
"0.48783135",
"0.4768549",
"0.47227427",
"0.46946368",
"0.46936846",
"0.46501377",
"0.46198773",
"0.46156412",
"0.46112007",
"0.4610267",
"0.4608187",
"0.46075666",
"0.45968887",
"0.4580316",
"0.4579135",
"0.4575194",
"0.45693997",
"0.4567959",
"0.4564455",
"0.45... | 0.5226315 | 1 |
This is a function for instanceInstanceIdGet / Get an occurrence Returns a JSON object describing the occurrence. This is similar to the \"Raw JSON\" section of the occurrence detail page. &x60;instance_id&x60; must be an Occurrence ID for an occurrence in the project. These IDs are returned as the &x60;id&x60; field i... | instanceInstanceIdGet(incomingOptions, cb) {
const Rollbar = require('./dist');
let apiInstance = new Rollbar.OccurrenceApi(); // String | Use a project access token with 'read' scop // Number | The occurrence ID
/*let xRollbarAccessToken = "xRollbarAccessToken_example";*/ /*let instanceId = 56;*/ apiInsta... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"async function getInstanceDetails(instancePage) {\n return Promise.resolve(\n await instancePage.evaluate(() => {\n var instanceDetail = Array.from(\n document.querySelectorAll(\"#instance_detail div.col-xs-8 p\")\n ).slice(0, 4);\n const instance = {\n status: instanceDetail[0].in... | [
"0.5572179",
"0.55373967",
"0.5235711",
"0.5191321",
"0.5172851",
"0.5112796",
"0.4938667",
"0.48628098",
"0.48552313",
"0.4840841",
"0.48159277",
"0.48081368",
"0.4801062",
"0.47860906",
"0.47714642",
"0.4746717",
"0.47387457",
"0.47030982",
"0.46893558",
"0.4624728",
"0.462... | 0.6111144 | 0 |
This is a function for instancesGet / List all occurrences in a project Returns all occurrences in the project, in pages of 20. Order is descending by occurrence ID (which is approximately descending by timestamp). | instancesGet(incomingOptions, cb) {
const Rollbar = require('./dist');
let apiInstance = new Rollbar.OccurrenceApi(); // String | Use a project access token with 'read' scope
/*let xRollbarAccessToken = "xRollbarAccessToken_example";*/ let opts = {
page: 1, // Number | Page number to return, starting... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function getAllProjects() {\n //get all the projects (up to 500)\n allProjects = new Array();\n var response = UrlFetchApp.fetch('https://api.10000ft.com/api/v1/projects?per_page=500&fields=custom_field_values,tags,phase_count', params);\n\n var jsonProjects = JSON.parse(response.getContentText()); //JSONified... | [
"0.53788227",
"0.5301643",
"0.52847445",
"0.52756816",
"0.52261204",
"0.52209777",
"0.52108866",
"0.52108866",
"0.5131572",
"0.5131572",
"0.5130575",
"0.5123322",
"0.5117496",
"0.51169777",
"0.5085691",
"0.50757325",
"0.50666004",
"0.5002178",
"0.49981824",
"0.49881065",
"0.4... | 0.58847773 | 0 |
This is a function for itemIdInstancesGet / List all occurrences in an item Returns all occurrences of an item, in pages of 20. Order is descending by occurrence ID (which is approximately descending by timestamp). | itemIdInstancesGet(incomingOptions, cb) {
const Rollbar = require('./dist');
let apiInstance = new Rollbar.OccurrenceApi(); // String | Use a project access token with 'read' scop // Number | The item ID
/*let xRollbarAccessToken = "xRollbarAccessToken_example";*/ /*let itemId = 56;*/ let opts = {
pa... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"static get PAGE_ITEMS() {\n return 10;\n }",
"getAll(requestSize = 2000, acceptHeader = \"application/json;odata=nometadata\") {\r\n Logger.write(\"Calling items.getAll should be done sparingly. Ensure this is the correct choice. If you are unsure, it is not.\", 2 /* Warning */);\r\n // this wi... | [
"0.57653224",
"0.5524404",
"0.55197245",
"0.5394823",
"0.52950823",
"0.51813453",
"0.513888",
"0.51363015",
"0.5135576",
"0.5135576",
"0.5011132",
"0.50048846",
"0.50048846",
"0.49607196",
"0.49181578",
"0.49157792",
"0.48769674",
"0.48748574",
"0.48260936",
"0.4820397",
"0.4... | 0.62278044 | 0 |
This is a function for proguardPost / Upload an Android Proguard file | proguardPost(incomingOptions, cb) {
const Rollbar = require('./dist');
let apiInstance = new Rollbar.DefaultApi(); // String | Use a post server item access token
/*let xRollbarAccessToken = "xRollbarAccessToken_example";*/ let opts = {
body: new Rollbar.Api1ProguardRequest(), // Api1ProguardRequest ... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"minify() {\n\n }",
"livelyPrepareSave() {\n }",
"async onPostBuild({ utils }) {\n await utils.cache.save('./cache')\n }",
"phototaked(file) {}",
"static uploadPoPFile() {\n return `purchase/payment-methods/regular-eft/payment-proof/upload`\n }",
"function uploadiOS() {\n bugsnag.upload({... | [
"0.48463684",
"0.47746626",
"0.46843776",
"0.46767625",
"0.4674048",
"0.4597343",
"0.4575262",
"0.450823",
"0.4470325",
"0.44147608",
"0.4364713",
"0.4357435",
"0.4349085",
"0.43124655",
"0.4309089",
"0.42981488",
"0.4238333",
"0.42290375",
"0.42240956",
"0.42230707",
"0.4198... | 0.6872516 | 0 |
This is a function for projectIdAccessTokensPost / Create a project access token | projectIdAccessTokensPost(incomingOptions, cb) {
const Rollbar = require('./dist');
let apiInstance = new Rollbar.ProjectAccessTokensApi(); // String | Use an account access token with 'write' scop // String | // ProjectAccessToken |
/*let xRollbarAccessToken = "xRollbarAccessToken_example";*/ /*let id = "... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function set_access_token(project_id, callback) {\n post_data = {\"auth\": {\"identity\": {\"methods\": [\"password\"],\"password\": {\"user\": {\n \"domain\": {\"name\": \"users\"},\"name\": USER_NAME,\"password\": PASSWORD}}},\n \"scope\":\n {\"project\": {\"... | [
"0.680312",
"0.6144109",
"0.6045797",
"0.5986338",
"0.59192365",
"0.5877357",
"0.5867669",
"0.5755796",
"0.5700818",
"0.5694329",
"0.56870455",
"0.5663953",
"0.56435937",
"0.56414765",
"0.5619631",
"0.5574728",
"0.5556537",
"0.554799",
"0.55454594",
"0.5536529",
"0.55012643",... | 0.7023463 | 0 |
This is a function for notificationsEmailPut / Configuring Email Notifications integration | notificationsEmailPut(incomingOptions, cb) {
const Rollbar = require('./dist');
let apiInstance = new Rollbar.NotificationsApi(); // String | Use a project access token with 'write' scop // EmailIntegrationConfig |
/*let xRollbarAccessToken = "xRollbarAccessToken_example";*/ /*let body = new Rollbar.EmailI... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"putemail(payloadPutEmail) {\n return apiClient.put(`users/user/${payloadPutEmail.username}/email`, {\n email: payloadPutEmail.email,\n })\n }",
"notificationsEmailRulesPut(incomingOptions, cb) {\n const Rollbar = require('./dist');\n\n let apiInstance = new Rollbar.NotificationsApi(); // String... | [
"0.6175215",
"0.6173189",
"0.58684945",
"0.5794538",
"0.57926244",
"0.57045794",
"0.56861895",
"0.56014377",
"0.5556483",
"0.5529144",
"0.55025274",
"0.5496278",
"0.5481442",
"0.54631466",
"0.5450573",
"0.5450116",
"0.5407891",
"0.5402005",
"0.5401012",
"0.53867334",
"0.53247... | 0.66341513 | 0 |
This is a function for notificationsEmailRulesPut / Setup Email notification rules | notificationsEmailRulesPut(incomingOptions, cb) {
const Rollbar = require('./dist');
let apiInstance = new Rollbar.NotificationsApi(); // String | Use a project access token with 'write' scop // [EmailRule] |
/*let xRollbarAccessToken = "xRollbarAccessToken_example";*/ /*let body = [new Rollbar.EmailRule()... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"notificationsSlackRulesPut(incomingOptions, cb) {\n const Rollbar = require('./dist');\n\n let apiInstance = new Rollbar.NotificationsApi(); // String | Use a project access token with 'write' scop // [SlackRule] |\n /*let xRollbarAccessToken = \"xRollbarAccessToken_example\";*/ /*let body = [new Rollbar.... | [
"0.5596846",
"0.5422647",
"0.53917885",
"0.5138215",
"0.5035678",
"0.49904028",
"0.4919987",
"0.4907108",
"0.48804098",
"0.48357037",
"0.48351914",
"0.4831649",
"0.48144227",
"0.48023796",
"0.47372454",
"0.47104007",
"0.47057858",
"0.46380597",
"0.4628409",
"0.46272182",
"0.4... | 0.6462223 | 0 |
This is a function for notificationsPagerdutyPut / Configuring PagerDuty integration | notificationsPagerdutyPut(incomingOptions, cb) {
const Rollbar = require('./dist');
let apiInstance = new Rollbar.NotificationsApi(); // String | Use a project access token with 'write' scop // PagerDutyIntegrationConfig |
/*let xRollbarAccessToken = "xRollbarAccessToken_example";*/ /*let body = new Rollba... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"notificationsPagerdutyRulesPut(incomingOptions, cb) {\n const Rollbar = require('./dist');\n\n let apiInstance = new Rollbar.NotificationsApi(); // String | Use a project access token with 'write' scop // [PagerDutyRule] |\n /*let xRollbarAccessToken = \"xRollbarAccessToken_example\";*/ /*let body = [new ... | [
"0.6643443",
"0.578642",
"0.5682689",
"0.56279576",
"0.5623085",
"0.56072813",
"0.5372601",
"0.5343848",
"0.5255309",
"0.5190419",
"0.5157429",
"0.51565236",
"0.51503956",
"0.5142895",
"0.51337284",
"0.5123872",
"0.5119076",
"0.50870085",
"0.5056264",
"0.5028105",
"0.5027969"... | 0.7425724 | 0 |
This is a function for notificationsPagerdutyRulesPut / Setup PagerDuty notification rules | notificationsPagerdutyRulesPut(incomingOptions, cb) {
const Rollbar = require('./dist');
let apiInstance = new Rollbar.NotificationsApi(); // String | Use a project access token with 'write' scop // [PagerDutyRule] |
/*let xRollbarAccessToken = "xRollbarAccessToken_example";*/ /*let body = [new Rollbar.Pag... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"notificationsEmailRulesPut(incomingOptions, cb) {\n const Rollbar = require('./dist');\n\n let apiInstance = new Rollbar.NotificationsApi(); // String | Use a project access token with 'write' scop // [EmailRule] |\n /*let xRollbarAccessToken = \"xRollbarAccessToken_example\";*/ /*let body = [new Rollbar.... | [
"0.5812735",
"0.56994766",
"0.56988806",
"0.55021924",
"0.5198408",
"0.50185657",
"0.49806172",
"0.4975637",
"0.497108",
"0.4889126",
"0.48730305",
"0.4862305",
"0.48548183",
"0.47806522",
"0.47768456",
"0.47624895",
"0.46682882",
"0.45921806",
"0.45539606",
"0.454929",
"0.45... | 0.7106022 | 0 |
This is a function for notificationsSlackPut / Configuring Slack integration | notificationsSlackPut(incomingOptions, cb) {
const Rollbar = require('./dist');
let apiInstance = new Rollbar.NotificationsApi(); // String | Use a project access token with 'write' scop // SlackIntegrationConfig |
/*let xRollbarAccessToken = "xRollbarAccessToken_example";*/ /*let body = new Rollbar.SlackI... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"notificationsSlackRulesPut(incomingOptions, cb) {\n const Rollbar = require('./dist');\n\n let apiInstance = new Rollbar.NotificationsApi(); // String | Use a project access token with 'write' scop // [SlackRule] |\n /*let xRollbarAccessToken = \"xRollbarAccessToken_example\";*/ /*let body = [new Rollbar.... | [
"0.72742",
"0.6674493",
"0.6589235",
"0.6544217",
"0.6458689",
"0.6251483",
"0.62169236",
"0.6053554",
"0.5937508",
"0.58963287",
"0.57365525",
"0.5726354",
"0.57215357",
"0.57211965",
"0.5715605",
"0.56887937",
"0.5659365",
"0.56499547",
"0.5630331",
"0.56065124",
"0.5605861... | 0.77912545 | 0 |
This is a function for notificationsSlackRulesPut / Setup Slack notification rules | notificationsSlackRulesPut(incomingOptions, cb) {
const Rollbar = require('./dist');
let apiInstance = new Rollbar.NotificationsApi(); // String | Use a project access token with 'write' scop // [SlackRule] |
/*let xRollbarAccessToken = "xRollbarAccessToken_example";*/ /*let body = [new Rollbar.SlackRule()... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"notificationsEmailRulesPut(incomingOptions, cb) {\n const Rollbar = require('./dist');\n\n let apiInstance = new Rollbar.NotificationsApi(); // String | Use a project access token with 'write' scop // [EmailRule] |\n /*let xRollbarAccessToken = \"xRollbarAccessToken_example\";*/ /*let body = [new Rollbar.... | [
"0.6564984",
"0.62660515",
"0.60232604",
"0.5720475",
"0.5433313",
"0.53654474",
"0.53247565",
"0.53096926",
"0.53077954",
"0.52791363",
"0.5262508",
"0.5261943",
"0.5143855",
"0.5140832",
"0.50789225",
"0.50679076",
"0.50562805",
"0.50116235",
"0.4999977",
"0.49605212",
"0.4... | 0.7431697 | 0 |
This is a function for instanceInstanceIdDelete / Delete an occurrence Permanently deletes an occurrence. This will make it unavailable in the Rollbar UI and API. Aggregate counts are not updated. | instanceInstanceIdDelete(incomingOptions, cb) {
const Rollbar = require('./dist');
let apiInstance = new Rollbar.OccurrenceApi(); // String | Use a project access token with 'read' scop // Number | The occurrence ID
/*let xRollbarAccessToken = "xRollbarAccessToken_example";*/ /*let instanceId = 56;*/ apiIn... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function hardDeleteByGUID(instanceGUID, callback) {\n _getEntityInstanceHead(instanceGUID, function (err, instanceHead) {\n if(err)return callback(err); //Already message instance\n\n if(instanceHead['DEL'] === 0)\n return callback([\n message.report('ENTITY', 'INSTANCE_NOT_MARKED_DELETE', 'E', ... | [
"0.61522883",
"0.6088574",
"0.5961113",
"0.5868666",
"0.57157314",
"0.5668762",
"0.56511766",
"0.5623921",
"0.5623921",
"0.5623921",
"0.5623921",
"0.5623921",
"0.5623921",
"0.56101966",
"0.56070024",
"0.5583824",
"0.5583824",
"0.5583824",
"0.5583824",
"0.556968",
"0.553922",
... | 0.7074425 | 0 |
This is a function for projectProjectIdAccessTokenProjectAccessTokenPatch / Update a rate limit | projectProjectIdAccessTokenProjectAccessTokenPatch(incomingOptions, cb) {
const Rollbar = require('./dist');
let apiInstance = new Rollbar.DefaultApi(); // Number | // String | // String | Use an account access token with 'write' scope
/*let projectId = 56;*/ /*let projectAccessToken = "projectAccessToken_... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function updateRateLimits(\n limits,\n { statusCode, headers },\n now = Date.now(),\n) {\n const updatedRateLimits = {\n ...limits,\n };\n\n // \"The name is case-insensitive.\"\n // https://developer.mozilla.org/en-US/docs/Web/API/Headers/get\n const rateLimitHeader = headers && headers['x-sentry-rate-... | [
"0.59660304",
"0.594382",
"0.58654004",
"0.57572824",
"0.5453411",
"0.53617483",
"0.5314355",
"0.5274327",
"0.51714665",
"0.5091459",
"0.50473017",
"0.5037679",
"0.4974914",
"0.49709043",
"0.49485517",
"0.4944977",
"0.4906403",
"0.4906403",
"0.48766726",
"0.48671216",
"0.4836... | 0.63033056 | 0 |
Because of the 3D transform, we have to manually set the height of the card back. Run this on componentDidMount & componentDidUpdate. | setCardHeight() {
if (this.refs.back && this.refs.front) {
this.refs.back.style.height = `${this.refs.front.clientHeight}px`;
}
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"componentDidMount() {\n this.transitionElement.style.height = `${getAbsoluteHeight(this.cardElement) + 4}px`;\n }",
"calcHeight() {\n\n const card = document.querySelector('.card');\n const { width } = card.getBoundingClientRect();\n const aspectRatio = 409 / 663;\n const height = Math.min(width,... | [
"0.796101",
"0.75707555",
"0.69612813",
"0.6705729",
"0.67006296",
"0.66566217",
"0.648902",
"0.6482448",
"0.6401475",
"0.63972837",
"0.6328095",
"0.63057613",
"0.62901574",
"0.6255049",
"0.62439805",
"0.6212139",
"0.6158663",
"0.61306244",
"0.61035115",
"0.6089795",
"0.60875... | 0.77149236 | 1 |
defining a function that returns the last character of the argument | function lastCharacter(str) {
return str[str.length - 1];
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function last(input) {\n var lastChar = input.charAt(input.length-1);\n return lastChar;\n\n}",
"function getLastChar(string) {\n return string[string.length - 1];\n}",
"function LastChar (stringname){\n\treturn stringname.slice(-1);\n}",
"function lastChar (string) {\n\treturn string.charAt(string.le... | [
"0.8285547",
"0.7999395",
"0.7985922",
"0.7884949",
"0.7883694",
"0.7726167",
"0.76925915",
"0.7682916",
"0.76059085",
"0.75962514",
"0.75763017",
"0.754527",
"0.74818397",
"0.74765664",
"0.743626",
"0.7333443",
"0.6942351",
"0.6939008",
"0.6866461",
"0.6840685",
"0.67994547"... | 0.8176167 | 1 |
Defining a function that returns the character at the position represented by the number. | function GiveACharacter(str, num) {
if (num >=0) {
return str[num];
}
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function at(position) {\n return value.charAt(position)\n }",
"function at(position) {\n return value.charAt(position)\n }",
"function at(position) {\n return value.charAt(position)\n }",
"function at(position) {\n return value.charAt(position)\n }",
"function at(position) {\n return val... | [
"0.712636",
"0.712636",
"0.712636",
"0.712636",
"0.7093783",
"0.68588704",
"0.682073",
"0.6805901",
"0.6801462",
"0.6794758",
"0.678995",
"0.678035",
"0.6681569",
"0.65994406",
"0.6559763",
"0.65433115",
"0.65174276",
"0.65108943",
"0.6501489",
"0.648222",
"0.64591956",
"0.... | 0.7431426 | 0 |
Defining a function that takes two numbers and a string. It's the string that tells which arithmetic operators we have to use with the two numbers. If there is no string, it returns "0". | function stringTellsWhatToDo(num1, num2, str) {
if (str === "add") {
return num1 + num2;
}
if (str === "subtract") {
return num1 - num2;
}
if (str === "mult") {
return num1 * num2;
}
if (str === "div") {
return num1 / num2;
}
else {
return 0;
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function twoNumbers(firstNumber, secondNumber, sign)\n{ let calculate; let operation; \n if (sign === \"add\"){\n operation = \"Adding\"\n calculate = firstNumber + secondNumber\n } else if (sign === \"sub\"){\n operation = \"Subtracting\"\n calculate = firstNumber - secondNumb... | [
"0.735109",
"0.73373985",
"0.7330489",
"0.7285129",
"0.7279728",
"0.7250785",
"0.722733",
"0.7220899",
"0.71776867",
"0.71722925",
"0.71688724",
"0.71535397",
"0.7139098",
"0.71215516",
"0.71163726",
"0.71077836",
"0.7087948",
"0.70876044",
"0.7054461",
"0.7051737",
"0.704883... | 0.79227304 | 0 |
Defining a function that takes a phrase as a string, and returns the longest word in that phrase. | function longestWord(aPhrase) {
var becomeAnArray = aPhrase.split(" ");
var longest = 0;
var word = "";
for (var i = 0; i < aPhrase.length; i++) {
if (longest < aPhrase[i].length) {
longest = aPhrase[i].length;
word = aPhrase[i];
}
}
return word;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function longestWord(sen) {}",
"function longest_word(word) {\n var longest = word[0];\n for (var i = 0; i< word.length; i++) {\n if (word[i].length > longest.length) {\n longest = word[i];\n }\n }\n return longest;\n}",
"function findLongestWord(string) {\n return string.length;\n}... | [
"0.8398102",
"0.80164105",
"0.7964731",
"0.7955954",
"0.79427606",
"0.79159755",
"0.7896074",
"0.787782",
"0.787572",
"0.7872227",
"0.78644454",
"0.78644454",
"0.78512055",
"0.7845081",
"0.7844828",
"0.78441066",
"0.78316164",
"0.7828742",
"0.78261495",
"0.78188145",
"0.78088... | 0.82649493 | 1 |
Defining a function that takes a phrase, and returns the same phrase with every word capitalized | function everyWordCapitalized(aPhrase) {
var becomeAnArray = aPhrase.split(" ");
for (var i=0; i<becomeAnArray.length; i++){
var firstChar = becomeAnArray[i].charAt(0);
var rest = becomeAnArray[i].substring(1);
firstChar = firstChar.toUpperCase();
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function f(str) {\n let phrase = str.split(\" \");\n let newPhrase = [];\n for (i=0; i < phrase.length; i++) {\n let word = phrase[i];\n let newWord = [];\n for (j=0; j < word.length; j++) {\n if (j === 0) newWord.push(word[j].toUpperCase());\n if (j !== 0) newWord.push(word[j].toLowerCase())... | [
"0.7747083",
"0.76138264",
"0.75664556",
"0.7554789",
"0.7540726",
"0.75279",
"0.7527328",
"0.74974793",
"0.7487637",
"0.7485223",
"0.74586535",
"0.74432796",
"0.7388607",
"0.7365491",
"0.73624015",
"0.7360571",
"0.7357948",
"0.7343843",
"0.73360837",
"0.7299603",
"0.72981936... | 0.84837717 | 0 |
shows in ontology area a box containing all concepts in ontology | function showAllConcepts(tag){
new Ajax.Updater('disambiOntologyContainer', 'ajax/personalMapping.php?tag='+tag);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function displayOntology(){\n document.getElementById(\"ontology_lookup\").style.display='';\n document.getElementById(\"geographic_location\").style.display='none';\n document.getElementById(\"map_canvas\").style.visibility='hidden';\n}",
"function generateConcepts(concepts) {\n\tvar conceptsHtml = \"\... | [
"0.57452613",
"0.5514721",
"0.54178685",
"0.54104686",
"0.5397478",
"0.53787893",
"0.5276314",
"0.52393574",
"0.51787466",
"0.508015",
"0.5054942",
"0.5025573",
"0.50081724",
"0.50004965",
"0.49842787",
"0.49823496",
"0.4963673",
"0.4926944",
"0.48956543",
"0.4877668",
"0.487... | 0.5827329 | 0 |
Use the trained model to classify some posts from the "new" page of HN. | function recommendNewPosts() {
model.loadModel();
getNewPosts(function (err, posts) {
var label
;
posts.forEach(function (post) {
label = model.classifyPost(post);
if (label == 'like') {
console.log(post);
}
});
});
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function predict() {\n classifier.predict(gotResults);\n}",
"function classify() {\n classifier.classify(gotResults);\n}",
"function classify() {\n classifier.classify(gotResults);\n}",
"function classify() {\n classifier.classify(getResults);\n}",
"function preload() {\n focusedClassifier = ml5.ima... | [
"0.60466367",
"0.5970058",
"0.596658",
"0.5954443",
"0.5948015",
"0.5933184",
"0.5840044",
"0.58300704",
"0.57828104",
"0.57205456",
"0.5664409",
"0.56637627",
"0.5660794",
"0.5628297",
"0.5622801",
"0.5608969",
"0.55874383",
"0.558677",
"0.5582358",
"0.5580936",
"0.55734485"... | 0.6611972 | 0 |
to get player object having turn | getPlayerWithTurn() {
return JSON.parse(JSON.stringify(this.state.players.find((player) => {
return player.turn
})))
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function isMyTurn() {\n return playerId == turn;\n}",
"turn () {\n return this.chessGame.getTurn()\n }",
"opponent() {\n return this.players[1 - this.turn]\n }",
"get turn() {\n return this._turn;\n }",
"function turn(player) {\r\n if (player.sign === playerOne.sign) {\r\n retu... | [
"0.7311319",
"0.7030286",
"0.6840616",
"0.6773358",
"0.6738713",
"0.66598654",
"0.65837556",
"0.65344274",
"0.6486243",
"0.6449737",
"0.6441008",
"0.6429334",
"0.63744396",
"0.63367265",
"0.63189805",
"0.63091826",
"0.62856406",
"0.62408805",
"0.61597496",
"0.61110437",
"0.60... | 0.7480536 | 0 |
save note data to obj and then put in array and store to local storage | function saveNoteDataToLocalStorage() {
noteObj = {
userEndTime: userEndTime,
noteText: noteText,
Index: noteList.length
}
noteList.push(noteObj);
localStorage.setItem("noteList", JSON.stringify(noteList));
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function saveNoteDataToLocalStorage() {\n\n noteObj = {\n userEndTime: userEndTime,\n noteText: noteText,\n Index: noteList.length\n }\n noteList.push(noteObj);\n localStorage.setItem(\"noteList\", JSON.stringify(noteList));\n}",
"function addNoteToArray(textDetails,taskDate,task... | [
"0.8181743",
"0.80319643",
"0.7702068",
"0.76691705",
"0.7655281",
"0.76521116",
"0.76185244",
"0.7527445",
"0.7485823",
"0.7414664",
"0.73165876",
"0.726655",
"0.7227038",
"0.72034514",
"0.71694654",
"0.7138471",
"0.71117026",
"0.7056652",
"0.6996981",
"0.69882244",
"0.69699... | 0.8183729 | 0 |
Just to pretty print the matrix output | function printMatrix(mat) {
console.log(mat);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function matStdout(mat) { console.log(matStr(mat)); }",
"function displayInConsole(mat, width, height) {\n for (var i = 0; i < width; i++) {\n let line = \"\";\n for (var j = 0; j < width; j++) {\n line += mat[i][j];\n }\n console.log(line);\n }\n}",
"function printMatrix(name,matrix) { ... | [
"0.7523316",
"0.73247004",
"0.7229794",
"0.7229794",
"0.7154148",
"0.7069713",
"0.7031264",
"0.6962465",
"0.6953773",
"0.6924413",
"0.6869598",
"0.6796392",
"0.6718343",
"0.67015326",
"0.65712994",
"0.6518655",
"0.6471127",
"0.6435541",
"0.6400066",
"0.63961715",
"0.638501",
... | 0.7401932 | 1 |
============================================================================ Change display theme to a new one. Themes must be defined is projeqtor.css. The change is also stored in Session. | function changeTheme(newTheme) {
if (newTheme != "") {
dojo.byId('body').className = 'tundra ' + newTheme;
// Mehdi #2887
var callBack = function() {
addMessage("Theme=" + newTheme);
};
saveDataToSession('theme',newTheme, true, callBack);
}
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function updateTheme() {\r\n let theme = getSettingValue('userTheme');\r\n const localStorageTheme = localStorage.getItem('theme') ? localStorage.getItem('theme') : 'system';\r\n // console.log('local storage theme: ' + localStorageTheme);\r\n theme = theme != undefined ? theme : localStorageTheme;\r\n\r\n\r\n... | [
"0.73413765",
"0.7306236",
"0.73000395",
"0.727552",
"0.727346",
"0.7270235",
"0.7197",
"0.7165218",
"0.7165218",
"0.7165218",
"0.7165218",
"0.7165218",
"0.7156637",
"0.7141092",
"0.71212316",
"0.7118877",
"0.7101428",
"0.7099875",
"0.7089732",
"0.7089732",
"0.70524913",
"0... | 0.765479 | 0 |
============================================================================ Save the browser locale to session. Needed for number formating under PHP 5.2 compatibility | function saveBrowserLocaleToSession() {
browserLocale = dojo.locale;
//#2887
saveDataToSession('browserLocale', browserLocale, null);
var date = new Date(2000, 11, 31, 0, 0, 0, 0);
if (browserLocaleDateFormat) {
format = browserLocaleDateFormat;
} else {
var formatted = dojo.date.locale.form... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"static getLocale() {\n return 'en_US';\n }",
"saveRequestLocale(locale) {\n var _a, _b;\n if (locale) {\n (_a = this.ctx) === null || _a === void 0 ? void 0 : _a.setAttr(interface_1.I18N_ATTR_KEY, (0, utils_1.formatLocale)(locale));\n }\n else {\n (_b =... | [
"0.6286314",
"0.625659",
"0.6240075",
"0.62184405",
"0.61666846",
"0.60437346",
"0.60128516",
"0.5904166",
"0.5888292",
"0.5888137",
"0.5888137",
"0.5888137",
"0.5888137",
"0.5888137",
"0.5888137",
"0.584873",
"0.5839935",
"0.5824285",
"0.5818163",
"0.5813875",
"0.580604",
... | 0.7808879 | 0 |
============================================================================ Check if destnation is correct If not in main page and detect we have login page => wrong destination | function checkDestination(destination) {
if (dojo.byId("isLoginPage") && destination != "loginResultDiv") {
// if (dojo.isFF) {
consoleTraceLog("errorConnection: isLoginPage but destination is not loginResultDiv");
quitConfirmed = true;
noDisconnect = true;
window.location = "main.php?lostCo... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function redirect(dest) {\n\thideCurrent(locate);\n\tactive_nav(dest);\n\t//show desired page element\n\tswitch(dest) {\n\t\tcase 'Home':\n\t\t\tshowElement('#slide-show');\n\t\t\tbreak;\n\t\tcase 'Login':\n\t\t\thideElement('#slide-show');\n\t\t\tshowElement('.full-page');\n\t\t\tshowElement('.login');\n\t\t\tbre... | [
"0.62276655",
"0.61437654",
"0.6015056",
"0.5931937",
"0.5914714",
"0.58951",
"0.5868249",
"0.5732679",
"0.5720695",
"0.56755346",
"0.5655567",
"0.5624428",
"0.5559267",
"0.5535619",
"0.5514371",
"0.5501206",
"0.5491703",
"0.54765874",
"0.54672873",
"0.54636586",
"0.5460773",... | 0.6749266 | 0 |
BEGIN ADD BY TABARY NOTIFICATION SYSTEM ============================================================================ Refresh the Notification tree on the 'Unread Notifications' Accordion | function refreshNotificationTree(bCheckFormChangeInProgress) {
if (paramNotificationSystemActiv == "NO") {
return;
}
if (bCheckFormChangeInProgress && waitingForReply) {
return;
}
dijit.byId("notificationTree").model.store.clearOnClose = true;
dijit.byId("notificationTree... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function addNotification() {\n var unread = document.getElementById(\"unread\");\n var newUnread = unread.cloneNode(true);\n var bell = document.getElementById(\"bell\");\n var newBell = bell.cloneNode(true);\n var notification_container = document.getElementById(\"notification_c... | [
"0.66806847",
"0.6640655",
"0.65116566",
"0.64739585",
"0.6387707",
"0.63770324",
"0.6365003",
"0.62465787",
"0.6225481",
"0.62226504",
"0.6209344",
"0.62072915",
"0.60989743",
"0.6096768",
"0.60797644",
"0.60609376",
"0.60373884",
"0.598166",
"0.59807754",
"0.59795696",
"0.5... | 0.69433314 | 0 |
============================================================================ Operates locking, hide and show correct buttons when a change is done on form to be able to validate changes, and avoid actions that may lead to loose change ADD BY Marc TABARY 20170306 ALLOW DISABLED SPECIFIC WIDGET | function formChanged(specificWidgetArray) {
// Old
//function formChanged() {
// END CHANGE BY Marc TABARY - 2017-03-06 - ALLOW DISABLED SPECIFIC WIDGET
var updateRight = dojo.byId('updateRight');
if (updateRight && updateRight.value == 'NO') {
return;
}
disableWidget('newButton');
disableWid... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function formLock() {\r\n disableWidget('newButton');\r\n disableWidget('newButtonList');\r\n disableWidget('saveButton');\r\n disableWidget('printButton');\r\n disableWidget('printButtonPdf');\r\n disableWidget('copyButton');\r\n disableWidget('undoButton');\r\n hideWidget('undoButton');\r\n disableWidge... | [
"0.73742104",
"0.69172907",
"0.6826379",
"0.672938",
"0.6694804",
"0.66257685",
"0.65674347",
"0.6505785",
"0.6427999",
"0.637699",
"0.635873",
"0.63562214",
"0.6345199",
"0.6298262",
"0.6271585",
"0.626402",
"0.6188829",
"0.6137323",
"0.60628515",
"0.60568756",
"0.6037306",
... | 0.7399094 | 0 |
============================================================================ Operates locking, to disable all actions during form submition | function formLock() {
disableWidget('newButton');
disableWidget('newButtonList');
disableWidget('saveButton');
disableWidget('printButton');
disableWidget('printButtonPdf');
disableWidget('copyButton');
disableWidget('undoButton');
hideWidget('undoButton');
disableWidget('deleteButton');
d... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function _lockFunctionality() {\n lockUserActions = true;\n viewModel.set(\"lockUserActions\", lockUserActions);\n}",
"function lock() {\n $('button').attr(\"disabled\", \"true\");\n }",
"function setUnlocked(esign_action) {\r\n\tvar form_name = getParameterByName('page');\r\n\t// Bring back Sa... | [
"0.7235522",
"0.70269823",
"0.7000192",
"0.6946566",
"0.69103956",
"0.68902117",
"0.6727666",
"0.6478964",
"0.6464934",
"0.64445585",
"0.64319694",
"0.6424968",
"0.6384761",
"0.63671607",
"0.63669574",
"0.6359103",
"0.6342936",
"0.6342936",
"0.630554",
"0.63001615",
"0.630016... | 0.78938943 | 0 |
============================================================================ Lock some buttons depending on access rights | function buttonRightLock() {
var createRight = dojo.byId('createRight');
var updateRight = dojo.byId('updateRight');
var deleteRight = dojo.byId('deleteRight');
if (createRight) {
if (createRight.value != 'YES') {
disableWidget('newButton');
disableWidget('newButtonList');
disableW... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function formLock() {\r\n disableWidget('newButton');\r\n disableWidget('newButtonList');\r\n disableWidget('saveButton');\r\n disableWidget('printButton');\r\n disableWidget('printButtonPdf');\r\n disableWidget('copyButton');\r\n disableWidget('undoButton');\r\n hideWidget('undoButton');\r\n disableWidge... | [
"0.73281044",
"0.70192087",
"0.70126575",
"0.68110603",
"0.66580284",
"0.6580333",
"0.6538862",
"0.6536438",
"0.6380412",
"0.6364738",
"0.634435",
"0.6316292",
"0.6254764",
"0.6251614",
"0.6205051",
"0.6171928",
"0.6162909",
"0.61417735",
"0.6091339",
"0.607741",
"0.6047857",... | 0.74632883 | 0 |
============================================================================ Disable a widget, testing it exists before to avoid error | function disableWidget(widgetName) {
if (dijit.byId(widgetName)) {
dijit.byId(widgetName).set('disabled', true);
}
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"disable() {\n\t // leave empty in Widget.js\n\t }",
"function enableWidget(widgetName) {\r\n if (dijit.byId(widgetName)) {\r\n dijit.byId(widgetName).set('disabled', false);\r\n }\r\n}",
"enable() {\n\t // leave empty in Widget.js\n\t }",
"matchesWidget(widget) {\n return false;\n... | [
"0.7517487",
"0.7167105",
"0.64468324",
"0.6412918",
"0.63835037",
"0.6361531",
"0.6242497",
"0.6114277",
"0.6041899",
"0.60180545",
"0.59918386",
"0.5951459",
"0.58325154",
"0.5825875",
"0.5817191",
"0.579274",
"0.5790161",
"0.5789859",
"0.5772553",
"0.57655454",
"0.5732883"... | 0.73986566 | 1 |
============================================================================ Enable a widget, testing it exists before to avoid error | function enableWidget(widgetName) {
if (dijit.byId(widgetName)) {
dijit.byId(widgetName).set('disabled', false);
}
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"enable() {\n\t // leave empty in Widget.js\n\t }",
"function runOnloadIfWidgetsEnabled () {\n\t\t\n\t}",
"function disableWidget(widgetName) {\r\n if (dijit.byId(widgetName)) {\r\n dijit.byId(widgetName).set('disabled', true);\r\n }\r\n}",
"function enable() {\n _indicator = new DockerMenu.... | [
"0.70838",
"0.6369407",
"0.5928571",
"0.588872",
"0.58436435",
"0.5743103",
"0.5671631",
"0.5664073",
"0.5649295",
"0.5628967",
"0.56003475",
"0.556695",
"0.5562191",
"0.5561781",
"0.5556626",
"0.5548435",
"0.55410635",
"0.5537249",
"0.55125386",
"0.5474944",
"0.5415255",
"... | 0.7047125 | 1 |
============================================================================ Hide a widget, testing it exists before to avoid error | function hideWidget(widgetName) {
if (dojo.byId(widgetName)) {
dojo.style(dijit.byId(widgetName).domNode, {
display : 'none'
});
}
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function removeWidget(){\n\tfrmAnimation.hboxContainer.setVisibility(false, animationConfigDisable);\n}",
"function hideWidget() {\n widgets.forEach((widget) => {\n $(widget).css(\"z-index\", \"0\");\n $(widget).hide();\n $(widget).removeClass(\"active\");\n });\n}",
"hide() {\n checkPresent(th... | [
"0.6954556",
"0.66739917",
"0.6507362",
"0.64904666",
"0.6476774",
"0.62788624",
"0.62540495",
"0.62429625",
"0.62356263",
"0.6153983",
"0.6150213",
"0.6122897",
"0.61101633",
"0.6106142",
"0.6103726",
"0.6099834",
"0.60860676",
"0.6084222",
"0.60716534",
"0.6058121",
"0.6055... | 0.7534237 | 0 |
============================================================================ Show a widget, testing it exists before to avoid error | function showWidget(widgetName) {
if (dojo.byId(widgetName)) {
dojo.style(dijit.byId(widgetName).domNode, {
display : 'inline-block'
});
}
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function displayWidget () \n{\n\tif(!window.TGS || !TGS.IsReady())\n\t{\n\t\treturn;\n\t}\n\n\tinitWidget();\n}",
"function showWidget(widget_name) {\n\t$('#widget_example').hide('slow',function() {\n\t\t$('#widget_example').load(\"incs/widgets/\" + widget_name + \".php\", function() {\n\t \t$('#widget_exampl... | [
"0.6345169",
"0.63005376",
"0.60505086",
"0.6035072",
"0.6031343",
"0.5956903",
"0.59489113",
"0.5921852",
"0.58605176",
"0.58166945",
"0.5713466",
"0.57010347",
"0.56980604",
"0.56556594",
"0.5627945",
"0.56259143",
"0.56145823",
"0.5611537",
"0.56092054",
"0.5574251",
"0.54... | 0.69204485 | 0 |
============================================================================ Unlock a widget, testing it exists before to avoid error | function unlockWidget(widgetName) {
if (dijit.byId(widgetName)) {
dijit.byId(widgetName).set('readOnly', false);
}
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"unlock() {\n if (this.game.player.buyCheck(100, \"htmls\")) {\n this.show();\n this.locked = false;\n } else {\n // error message\n }\n }",
"unlock() {\n const that = this;\n\n that.locked = that.unfocusable = false;\n that._setFocusab... | [
"0.6588183",
"0.65073943",
"0.64030385",
"0.62367207",
"0.6024172",
"0.59827644",
"0.59374726",
"0.5880767",
"0.58337814",
"0.5767869",
"0.5729609",
"0.569864",
"0.56872433",
"0.5648938",
"0.56135523",
"0.5609843",
"0.5586132",
"0.55844444",
"0.5582997",
"0.5582997",
"0.55759... | 0.7087116 | 0 |
============================================================================ Check if a change is waiting for form submission to be able to avoid unwanted actions leading to loose of data change | function checkFormChangeInProgress(actionYes, actionNo) {
if (waitingForReply) {
showInfo(i18n("alertOngoingQuery"));
return true;
} else if (formChangeInProgress) {
if (multiSelection) {
endMultipleUpdateMode();
return false;
}
if (actionYes) {
if (!actionNo) {
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function confirmChanges() {\r\n return (isChanged ||\r\n isPageDataChanged());\r\n}",
"enableSubmit() {\n this.wasChange = true;\n }",
"function waitForChangeEvents() {\n clock.tick(Field.DELAYED_CHANGE_FREQUENCY + Field.CHANGE_FREQUENCY);\n}",
"formSubmit() {\n return !(this.... | [
"0.64749295",
"0.64040244",
"0.6332793",
"0.62880576",
"0.61994183",
"0.6154677",
"0.6154677",
"0.6130762",
"0.6109102",
"0.60998964",
"0.6093056",
"0.60926163",
"0.60716873",
"0.6046176",
"0.6006372",
"0.59970284",
"0.59595907",
"0.59481835",
"0.59417295",
"0.591031",
"0.588... | 0.70354575 | 0 |
Draw a gantt chart using jsGantt | function drawGantt() {
// first, if detail is displayed, reload class
if (dojo.byId('objectClass') && !dojo.byId('objectClass').value
&& dojo.byId("objectClassName") && dojo.byId("objectClassName").value) {
dojo.byId('objectClass').value = dojo.byId("objectClassName").value;
}
if (dojo.byId("obj... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function gantt(options) {\n //declare needed variables\n let diagram = eve.initVis(options),\n currentSerie = diagram.series[0],\n maxTaskLength = 0,\n timeDomainStart = null,\n timeDomainEnd = null,\n autoMargin = 0,\n margin = { left... | [
"0.7404925",
"0.72506434",
"0.6956952",
"0.6944139",
"0.681373",
"0.67726094",
"0.6580543",
"0.65088576",
"0.6462605",
"0.6420516",
"0.6273616",
"0.6232676",
"0.6184653",
"0.61619574",
"0.6126466",
"0.6098616",
"0.6089306",
"0.60629237",
"0.60377795",
"0.60195124",
"0.6002728... | 0.7842927 | 0 |
Return the day of the week like php function : date("N",$valDate) Monday=1, Tuesday=2, Wednesday=3, Thursday=4, Friday=5, Saturday=6, Sunday=7 (not 0 !) | function getDay(valDate) {
var day = valDate.getDay();
day = (day == 0) ? 7 : day;
return day;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function fetchdayoftheweek(){\r\n var d = new Date();\r\n var n = d.getDay();\r\n\r\n let sat = \"Saturday\"\r\n let sun = \"Sunday\"\r\n let mon = \"Monday\"\r\n let tue = \"Tuesday\"\r\n let wed = \"Wednesday\"\r\n let thu = \"Thursday\"\r\n let fri ... | [
"0.7223747",
"0.70946735",
"0.7046227",
"0.7025954",
"0.70029205",
"0.6965946",
"0.694122",
"0.69206095",
"0.6906387",
"0.690577",
"0.68911326",
"0.6853733",
"0.68345064",
"0.68302315",
"0.6830211",
"0.6800724",
"0.676949",
"0.67588943",
"0.6730984",
"0.66856384",
"0.667639",... | 0.8035092 | 0 |
============================================================================ Calculate new date after adding some work days, subtracting weekends | function addWorkDaysToDate_old(paramDate, paramDays) {
var startDate = paramDate;
var days = paramDays;
if (days <= 0) {
return startDate;
}
days -= 1;
if (getDay(startDate) >= 6) {
// startDate.setDate(startDate.getDate()+8-getDay(startDate));
}
var weekEnds = Math.floor(days / 5);
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function weekdayCalculation() {\n\t\t\t//define local variables\n\t\t\tvar daysOfWeek = [\"Sunday\", \"Monday\", \"Tuesday\", \"Wednesday\", \"Thursday\", \"Friday\", \"Saturday\"];\n\t\t\tvar currentDate = new Date(self.year, self.activedate.month - 1, self.activedate.day);\n\t\t\tvar wkdayNum = currentDate.getD... | [
"0.68798834",
"0.65952533",
"0.64476955",
"0.6261696",
"0.6250958",
"0.6247687",
"0.62461305",
"0.6223341",
"0.619622",
"0.618886",
"0.6172404",
"0.6148837",
"0.6106519",
"0.6097507",
"0.6085468",
"0.6076634",
"0.60558164",
"0.60432106",
"0.6038552",
"0.60320216",
"0.6025822"... | 0.74569213 | 0 |
Flag a change on workflow definition | function workflowChange(line, column, profileList) {
var change = dojo.byId('workflowUpdate');
change.value = new Date();
formChanged();
if (line == null) {
return;
}
var allChecked = true;
var reg = new RegExp("[ ]+", "g");
var profileArray = profileList.split(reg);
var check = dijit.by... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"_handleButtonEditWorkflow()\n {\n Radio.channel('rodan').trigger(RODAN_EVENTS.EVENT__WORKFLOWBUILDER_SELECTED, {workflow: this.model});\n }",
"onModifyDef() {}",
"function setIsChangedFlag(booleanValue) {\r\n isChanged = booleanValue;\r\n}",
"function editMade() {\n version += 1;\n ... | [
"0.5816562",
"0.5805942",
"0.57564753",
"0.56539124",
"0.5651998",
"0.55831665",
"0.5504623",
"0.54663736",
"0.544099",
"0.5422106",
"0.53365624",
"0.53365624",
"0.5333194",
"0.5330981",
"0.5320106",
"0.53027475",
"0.5291814",
"0.52802265",
"0.5279503",
"0.5279503",
"0.527087... | 0.5969034 | 0 |
refresh Projects List on Today screen | function refreshTodayProjectsList(value) {
loadContent("../view/today.php?refreshProjects=true", "Today_project",
"todayProjectsForm", false);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function _viewProjectList() {\n const userProjects = todo.returnAll().slice(1);\n _renderPanel(projectPanel, renderList, userProjects);\n }",
"function refreshProjects() {\n console.log('refreshing....');\n database.getProjects((projs) => {\n if (projs.length > 0) {\n con... | [
"0.7217539",
"0.7155941",
"0.70186836",
"0.68262464",
"0.6790307",
"0.66448176",
"0.6639271",
"0.6582501",
"0.65636754",
"0.65094763",
"0.65056765",
"0.6472577",
"0.6433565",
"0.6429453",
"0.6401412",
"0.6360645",
"0.6352392",
"0.6298496",
"0.627478",
"0.62574726",
"0.6231039... | 0.7686415 | 0 |
WHAT: updates property in Threejs UI. If 'prop' contains a `.` then updates the subproperty prop: `rotation.x` | function updatePropObject3D(prop, val) {
const dataValue = parseInt(val * 100)/100;
if (!p.currentObject3D) return null;
const props = prop.split('.');
// shabby way, but it accepts two levels of depth in the props
if (props.length === 1)
p.currentObject3D[props[0]] ... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"setRotation(angle){\n this.rotation = angle;\n }",
"onUpdateRotation() {\n this.wall.setRotationFromEuler(new THREE.Euler().setFromVector3(this.rotation.clone()));\n }",
"function updateData(){\n angle += 0.01 ;\n\n modelView.rotateX(0.1);\n}",
"set property(){}",
"setRotation(rotation)... | [
"0.5728873",
"0.56655717",
"0.56055355",
"0.55298847",
"0.5523791",
"0.549645",
"0.5470929",
"0.5450762",
"0.5424354",
"0.54197717",
"0.54163194",
"0.5392055",
"0.5389972",
"0.5334826",
"0.53288823",
"0.5327285",
"0.5325434",
"0.532378",
"0.53177214",
"0.53177214",
"0.5317721... | 0.7074167 | 0 |
Print the parsed column names (lowercase). | function column(info, req, next) {
print(req.psinfo.titles, req, next);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"'getColumnNames'() {\n return __range__(0, sqlite3_data_count(this.stmt), false).map((i) => sqlite3_column_name(this.stmt, i));\n }",
"function getColumnNames(columns, options) {\n var columns = _.flatten([columns || 'symbol']).join(',');\n var parser = createColumnParser(options)... | [
"0.6185296",
"0.60779846",
"0.5859311",
"0.58509004",
"0.57811093",
"0.5688187",
"0.5594107",
"0.54795176",
"0.5467857",
"0.54243404",
"0.54119456",
"0.5394791",
"0.52491504",
"0.5228193",
"0.5174011",
"0.5105291",
"0.50625724",
"0.50516504",
"0.5030668",
"0.49963632",
"0.499... | 0.63846 | 0 |
This function is used to display employment details like employers, careers,various other statistics related to employment. | function displayEmploymentDetails() {
var ul = document.getElementById('selectable3');
var list = ul.getElementsByClassName('ui-state-default');
var ptags1 = ul.getElementsByClassName('ui-descr1');
var ptags2 = ul.getElementsByClassName('ui-descr2');
var ulEle = document.createElement('ol');
$(ulEle).... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function employee_info() {\n var emp=\n [\n {\n name:\"Amarjeet malik\",\n age:22,\n salary:8000,\n DOB:\"04/08/1996\"\n },\n {\n name:\"Dolly\",\n age:21,\n salary:10000,\n DOB:\"14/11/1997\"\n },\n {\n nam... | [
"0.639487",
"0.6267025",
"0.62013227",
"0.61453676",
"0.6133132",
"0.60970116",
"0.6080396",
"0.6045583",
"0.5983239",
"0.5942932",
"0.59105563",
"0.59068984",
"0.5851493",
"0.5825467",
"0.580924",
"0.5805112",
"0.57959956",
"0.5789207",
"0.5777801",
"0.5772658",
"0.57685715"... | 0.64104766 | 0 |
This function is used to display the data of undergrad degree section | function displayUndergrad() {
$.getJSON("https://people.rit.edu/~sarics/web_proxy.php?path=degrees")
.done(function (data) {
$("#list1").append(document.createTextNode(data.undergraduate[0].title));
$("#list2").append(document.createTextNode(data.undergraduate[1].title));
$("#list3").... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function toTextualDescription(degree){\r\nvar sectors = ['Northerly','North Easterly','Easterly','South Easterly','Southerly','South Westerly','Westerly','North Westerly'];\r\n degree += 22.5;\r\n var which = parseInt(degree / 45);\r\n return sectors[which%8];\r\n}",
"function section4RightBottom( placeholde... | [
"0.6246377",
"0.5909196",
"0.5738956",
"0.5729998",
"0.57277185",
"0.5722053",
"0.5715434",
"0.56897044",
"0.56864107",
"0.5656666",
"0.5627813",
"0.5560557",
"0.55587983",
"0.5519656",
"0.5431998",
"0.5429503",
"0.5412694",
"0.5412518",
"0.53831375",
"0.53588825",
"0.5353965... | 0.64373934 | 0 |
This function is used to display the data of about section | function displayAbout() {
var newdiv1 = document.createElement("div");
$.getJSON("https://people.rit.edu/~sarics/web_proxy.php?path=about")
.done(function (data) {
var newdiv2 = document.createElement("div");
var newdiv3 = document.createElement("div");
var newdiv4 = document.createElemen... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function showAbout() {\n\t\n\tvar info = \"\";\n\tinfo += \"Shift Work Calendar WebApp by DesignaQuark\\n\";\n\tinfo += \"Version: 1.0\\n\";\n\tinfo += \"Author: Josiah Neuberger\\n\";\n\tinfo += \"Contact: http://designaquark@gmail.com\\n\";\n\tinfo += \"\\n\\nLicense: \" + getLicenseInfo() + \"\\n\";\n\t\n\taler... | [
"0.7376409",
"0.7298893",
"0.71410674",
"0.7123241",
"0.70123434",
"0.70036757",
"0.690303",
"0.6853534",
"0.6848252",
"0.6829437",
"0.6807685",
"0.6765778",
"0.67066276",
"0.66761327",
"0.6659913",
"0.66378117",
"0.66282",
"0.6628121",
"0.66194916",
"0.6600522",
"0.6537338",... | 0.7552044 | 0 |
This function is used to populate the data tables for for coop and employer information section. | function populateData(what,id) {
var val="https://people.rit.edu/~sarics/web_proxy.php?path="+what;
$.getJSON(val)
.done(function (data) {
var arrayOfData;
var length;
var trHTML,table;
if(id == 1) {
arrayOfData = data.coopTable.coopInformation;
}
else{
arrayOfData = data.employmentTable... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function displayEmployeePageData(tablesInput) {\r\n // Set global variables\r\n\r\n departments = tablesInput['departments'];\r\n departments.forEach(function(department) {\r\n\r\n departmentLocation[department['id']] = department['location'];\r\n departmentLocationId[department['id']] = department['locat... | [
"0.6120462",
"0.60815805",
"0.6058424",
"0.6038058",
"0.59264445",
"0.5893384",
"0.58884877",
"0.58867794",
"0.5874706",
"0.58105457",
"0.57286745",
"0.5696416",
"0.56789494",
"0.5669686",
"0.5668662",
"0.5660841",
"0.5660095",
"0.5638449",
"0.5633145",
"0.56118196",
"0.55962... | 0.6548135 | 0 |
sets up a callback for what to do when the gamepad disconnects | function onDisconnect(callback){
socket.on('gamepadleft', function(input){
callback();
});
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"disconnectedCallback() { }",
"disconnectedCallback() {}",
"disconnectedCallback() {}",
"disconnectedCallback () {\n\n }",
"disconnectedCallback () {\n }",
"disconnectedCallback () {}",
"disconnectedCallback(){}",
"disconnectedCallback(){}",
"disconnectedCallback(){}",
"disconnectedCallback(... | [
"0.76401174",
"0.76123106",
"0.76123106",
"0.7601186",
"0.75794727",
"0.7569884",
"0.7558242",
"0.7558242",
"0.7558242",
"0.7540523",
"0.7540523",
"0.7520703",
"0.7520703",
"0.7520703",
"0.7520703",
"0.7474473",
"0.7474473",
"0.7474473",
"0.7474183",
"0.7449336",
"0.7449336",... | 0.8200868 | 0 |
use this Knex instance to query the noteful_notes table | getAllNotes(knex) {
return knex.select('*').from('noteful_notes')
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"deleteNote(knex, id) {\n /* return Promise.resolve({}) */\n return knex('noteful_notes')\n .where({ id })\n .delete()\n }",
"getAllComments(knex) {\n return knex.select(\"*\").from(\"comments\");\n }",
"get(db) {\n return db\n .get(\"notes\")\n .orderBy(\... | [
"0.6128479",
"0.60991806",
"0.6076349",
"0.60427684",
"0.60427684",
"0.59650666",
"0.584455",
"0.58230937",
"0.58145076",
"0.5755257",
"0.57387906",
"0.57189345",
"0.57027525",
"0.5675718",
"0.5664725",
"0.56464463",
"0.5639245",
"0.55602074",
"0.55081207",
"0.5502383",
"0.54... | 0.7975093 | 0 |
Replace the dynamic parts of the AST with the actual quasi expressions. | function replaceDynamicBits(statements) {
var isDynamic = false;
statements.forEach((statement, i) => {
const childNode = statement.expression;
if (childNode.type === 'ArrayExpression') {
let newAst = childNode.elements.map(e => t.expressionStatement(e));
le... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function replaceDynamicBits(statements) {\n var isDynamic = false;\n\n statements.forEach((statement, i) => {\n const childNode = statement.expression;\n\n if (childNode.type === 'ArrayExpression') {\n let newAst = childNode.elements.map(e => t.expressionStatement(e));\n ... | [
"0.58632475",
"0.52959734",
"0.5244627",
"0.5244627",
"0.5224175",
"0.51752114",
"0.51752114",
"0.51430005",
"0.50127536",
"0.4988721",
"0.4974114",
"0.49412566",
"0.49325767",
"0.4926446",
"0.49248016",
"0.490332",
"0.48826715",
"0.48720115",
"0.48658168",
"0.4854709",
"0.48... | 0.55265236 | 1 |
takes a tile (by index), and the next tile and returns the corresponding operator | function getOperator(currentTileIndex, nextTileIndex){
var col = Math.floor(currentTileIndex / GRIDSIZE);
var operator = null;
//DOWN
if(currentTileIndex == nextTileIndex - 1){
operator = OPERATORS[opers[currentTileIndex + (0) + (GRIDSIZE - 1) * col]];
}
//UP
else if(currentTileIndex == nextTileIndex + 1){... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function nextTo(tribe, x, y)\n{\n if(withinTiles(x - 1, y))\n {\n if(tiles[x - 1][y].getTribeId() == tribe)\n {\n return true;\n }\n }\n\n if(withinTiles(x + 1, y))\n {\n if(tiles[x + 1][y].getTribeId() == tribe)\n {\n return true;\n }\n }\n\n if(withinTiles(x, y - 1))\n {\n ... | [
"0.5929575",
"0.5466801",
"0.54372245",
"0.53967196",
"0.53967196",
"0.5393983",
"0.53360605",
"0.5335412",
"0.5308443",
"0.5252895",
"0.5238678",
"0.5233668",
"0.5230338",
"0.5214629",
"0.5205186",
"0.52024245",
"0.5172518",
"0.51707655",
"0.5170631",
"0.5148481",
"0.5144046... | 0.76563346 | 0 |
given an absolute URI, calculate the relative URI | function relativeURI(uri, base) {
// reduce base and uri strings to just their difference string
var baseParts = base.split('/');
baseParts.pop();
base = baseParts.join('/') + '/';
i = 0;
while (base.substr(i, 1) == uri.substr(i, 1))
i++;
while (base.substr(i, 1) != '/')
i--... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"abs (relativePath) {\n return this.url(relativePath).href;\n }",
"function absoluteURI(uri, base) {\n if (uri.substr(0, 2) == './')\n uri = uri.substr(2); \n \n var baseParts = base.split('/');\n var uriParts = uri.split('/');\n \n baseParts.pop();\n \n while (curPart = ur... | [
"0.70155114",
"0.7006134",
"0.69741184",
"0.69741184",
"0.69741184",
"0.69741184",
"0.6779948",
"0.66602707",
"0.664918",
"0.6644844",
"0.65800726",
"0.6546446",
"0.647831",
"0.6437243",
"0.6420129",
"0.64113706",
"0.6408255",
"0.6398106",
"0.639356",
"0.63733846",
"0.6289527... | 0.74240196 | 1 |
Normalize all injections into Objectbased format | function normalizeInject (options, vm) {
var inject = options.inject;
if (!inject) { return }
var normalized = options.inject = {};
if (Array.isArray(inject)) {
for (var i = 0; i < inject.length; i++) {
normalized[inject[i]] = { from: inject[i] };
}
} else if (isPlainObject(inject)) {
for (v... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function normalizeInject(options) {\n\t var inject = options.inject;\n\t if (Array.isArray(inject)) {\n\t var normalized = options.inject = {};\n\t for (var i = 0; i < inject.length; i++) {\n\t normalized[inject[i]] = inject[i];\n\t }\n\t }\n\t}",
"function normalizeInject(options) {\n\t var in... | [
"0.6662807",
"0.6662807",
"0.6650511",
"0.6650511",
"0.6650511",
"0.6650511",
"0.6650511",
"0.6650511",
"0.6650511",
"0.6650511",
"0.6650511",
"0.6635942",
"0.6635942",
"0.66333044",
"0.66333044",
"0.65843964",
"0.65843964",
"0.65843964",
"0.65843964",
"0.65576065",
"0.654783... | 0.67549723 | 1 |
return true if the given doc matches the supplied selector | function matchesSelector(doc, selector) {
/* istanbul ignore if */
if (typeof selector !== 'object') {
// match the CouchDB error message
throw new Error('Selector error: expected a JSON object');
}
selector = massageSelector(selector);
var row = {
'doc': doc
};
var rowsMatched = filterInMem... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function matchesSelector(doc, selector) {\n\t /* istanbul ignore if */\n\t if (typeof selector !== 'object') {\n\t // match the CouchDB error message\n\t throw new Error('Selector error: expected a JSON object');\n\t }\n\n\t selector = massageSelector(selector);\n\t var row = {\n\t 'doc': doc\n\t };... | [
"0.7891607",
"0.7891393",
"0.68257505",
"0.68257505",
"0.6633541",
"0.64249736",
"0.63947785",
"0.6354774",
"0.6324669",
"0.62871546",
"0.62871546",
"0.62871546",
"0.6147902",
"0.6131271",
"0.6069602",
"0.6046851",
"0.6024531",
"0.6024531",
"0.6008125",
"0.6008125",
"0.600812... | 0.79104877 | 0 |
create a string signature for a view so we can cache it and uniq it | function createViewSignature(mapFun, reduceFun) {
// the "undefined" part is for backwards compatibility
return stringify(mapFun) + stringify(reduceFun) + 'undefined';
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function createViewSignature(mapFun, reduceFun) {\n // the \"undefined\" part is for backwards compatibility\n return stringify(mapFun) + stringify(reduceFun) + 'undefined';\n }",
"function createViewSignature(mapFun, reduceFun) {\n\t // the \"undefined\" part is for backwards compatibility\n\t re... | [
"0.7195503",
"0.71337855",
"0.67938876",
"0.6086942",
"0.6071007",
"0.54635674",
"0.5439295",
"0.5393927",
"0.5374368",
"0.5365235",
"0.5361125",
"0.5265376",
"0.52010095",
"0.5197261",
"0.5197261",
"0.5197261",
"0.51883346",
"0.5174862",
"0.5074083",
"0.50674367",
"0.5057421... | 0.71374166 | 1 |
same as above, but treat the left array as an unordered set e.g. ['b', 'a'], ['a', 'b', 'c'] is true, but ['c'], ['a', 'b', 'c'] is false | function oneSetIsSubArrayOfOther(left, right) {
left = left.slice();
for (var i = 0, len = right.length; i < len; i++) {
var field = right[i];
if (!left.length) {
break;
}
var leftIdx = left.indexOf(field);
if (leftIdx === -1) {
return false;
} else {
left.splice(leftIdx, 1... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function oneSetIsSubArrayOfOther(left, right) {\n\t left = left.slice();\n\t for (var i = 0, len = right.length; i < len; i++) {\n\t var field = right[i];\n\t if (!left.length) {\n\t break;\n\t }\n\t var leftIdx = left.indexOf(field);\n\t if (leftIdx === -1) {\n\t return false;\n\t } ... | [
"0.6444087",
"0.62249285",
"0.6213128",
"0.61238587",
"0.60970134",
"0.6049234",
"0.6038445",
"0.60227",
"0.6010561",
"0.59149635",
"0.5841643",
"0.5818306",
"0.57856375",
"0.57856375",
"0.57856375",
"0.57772905",
"0.57598525",
"0.5741796",
"0.57363796",
"0.57020915",
"0.5693... | 0.6518131 | 0 |
find the best index, i.e. the one that matches the most fields in the user's query | function findBestMatchingIndex(selector, userFields, sortOrder, indexes, useIndex) {
var matchingIndexes = findMatchingIndexes(selector, userFields, sortOrder, indexes);
if (matchingIndexes.length === 0) {
if (useIndex) {
throw {
error: "no_usable_index",
message: "There is no index avai... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function findBestMatchingIndex(selector, userFields, sortOrder, indexes, useIndex) {\n\n var matchingIndexes = findMatchingIndexes(selector, userFields, sortOrder, indexes);\n\n if (matchingIndexes.length === 0) {\n if (useIndex) {\n throw {\n error: \"no_usable_index\",\n message: \"There ... | [
"0.7253623",
"0.72371155",
"0.5816793",
"0.57741576",
"0.5629524",
"0.5472626",
"0.53942275",
"0.5393229",
"0.53851324",
"0.5377968",
"0.53544897",
"0.53459936",
"0.53324807",
"0.53170013",
"0.5307535",
"0.5277604",
"0.51895785",
"0.51826715",
"0.5175182",
"0.5159131",
"0.514... | 0.7243231 | 1 |
This remaps internal names like '$vuetify.icons.cancel' to the current name for that icon. | function remapInternalIcon(vm, iconName) {
if (!iconName.startsWith(ICONS_PREFIX)) {
return iconName;
}
// Now look up icon indirection name, e.g. '$vuetify.icons.cancel'
return getObjectValueByPath(vm, iconName, iconName);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function remapInternalIcon(vm, iconName) {\n if (!iconName.startsWith(ICONS_PREFIX)) {\n return iconName;\n } // Get the target icon name\n\n\n const iconPath = `$vuetify.icons.values.${iconName.split('.').pop()}`; // Now look up icon indirection name,\n // e.g. '$vuetify.icons.values.cancel'\n\n return ge... | [
"0.8005173",
"0.8003553",
"0.8003553",
"0.8003553",
"0.8003553",
"0.79994684",
"0.7962497",
"0.7962497",
"0.7962497",
"0.77633387",
"0.75535715",
"0.75535715",
"0.7462673",
"0.7462673",
"0.64773715",
"0.63736933",
"0.6225453",
"0.621584",
"0.6189452",
"0.6108356",
"0.6108356"... | 0.80312634 | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.