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 |
|---|---|---|---|---|---|---|
Fetch updates for a given fundraiser. Return from most recent to least recent, paginating. | function fetchUpdates(fundraiserId, page, limit) {
var paginated = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : true;
return new Promise(function (resolve, reject) {
if (!paginated) {
page = 1;
}
external_commonjs_vue_commonjs2_vue_root_Vue_default.a.axios.get("".concat(bas... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function update() {\n var key = [user, fundCode];\n var population, charges;\n\n // do these two requests in parallel.\n // process the results in gotChargesAll\n\n // get user counts to normalize charges\n couch(\"_view/population\", {\n group: true,\n startkey: key,\n endkey: key.concat({})\n }, ... | [
"0.58217466",
"0.5614297",
"0.5510925",
"0.5485558",
"0.54679245",
"0.51412946",
"0.509423",
"0.5066368",
"0.50287354",
"0.50244695",
"0.5014973",
"0.49570084",
"0.49556458",
"0.49556458",
"0.49444935",
"0.49305555",
"0.49296302",
"0.48772717",
"0.48553962",
"0.48447645",
"0.... | 0.745671 | 0 |
Fetch comments for a given fundraiser. Return from most recent to least recent, paginating. | function fetchComments(fundraiserId, page, limit) {
var paginated = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : true;
return new Promise(function (resolve, reject) {
if (!paginated) {
page = 1;
}
external_commonjs_vue_commonjs2_vue_root_Vue_default.a.axios.get("".concat(ba... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function fetchComments(offset)\n{\n $.getJSON('/_/comments?offset='+offset, function(data) {\n if(typeof data.first === 'undefined') {return ;}\n var pagination = '<b>Showing comments '+(data.first+1)+' - ' +\n (data.first + data.comments.length)+' of '+data.total+'</b>';\n if(data.first > ... | [
"0.6324429",
"0.62342536",
"0.6230631",
"0.6082502",
"0.58601016",
"0.5840434",
"0.5687328",
"0.56015706",
"0.5568142",
"0.54951125",
"0.548737",
"0.5422344",
"0.5420543",
"0.5417266",
"0.5388442",
"0.5384342",
"0.5379744",
"0.5368246",
"0.5367086",
"0.5366798",
"0.5361492",
... | 0.7375572 | 0 |
Fetch donations for a given nonprofit or fundraiser. | function fetchDonations(query, page, limit) {
var paginated = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : true;
return new Promise(function (resolve, reject) {
if (!paginated) {
page = 1;
}
external_commonjs_vue_commonjs2_vue_root_Vue_default.a.axios.get("".concat(baseURL,... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function getUserDonations(data) {\n return dispatch => {\n dispatch(progressBarActions.start());\n baseServices.GET(queries.getUserDonationsQuery(data)).then(\n response => {\n dispatch(progressBarActions.stop());\n dispatch(success(response));\n },\n error => {\n dispatc... | [
"0.6063945",
"0.55762434",
"0.54353976",
"0.54306036",
"0.53375965",
"0.53355134",
"0.53288776",
"0.52959496",
"0.52644783",
"0.5230561",
"0.5227835",
"0.51707166",
"0.5139658",
"0.5099877",
"0.5058444",
"0.5001118",
"0.49480855",
"0.49166775",
"0.4911364",
"0.48999387",
"0.4... | 0.5877469 | 1 |
Fetch data for the home page. | function fetchHomePage() {
return new Promise(function (resolve, reject) {
external_commonjs_vue_commonjs2_vue_root_Vue_default.a.axios.get("".concat(baseURL, "/pages?page_name=home")).then(function (response) {
if (response.data) {
resolve(response.data[0]);
} else {
reject({
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function fetchHome(dispatch) {\n dispatch(setLoading(true))\n return getHomepageFeed()\n .then((response) => {\n dispatch(setLoading(false))\n return handleResponse(response)\n })\n .then((result) => {\n dispatch(receiveVideoData([...result.featured, ...r... | [
"0.71189207",
"0.7039425",
"0.6923186",
"0.6731675",
"0.6720553",
"0.66972876",
"0.6571821",
"0.6568033",
"0.6542344",
"0.64407915",
"0.64407915",
"0.63958883",
"0.63184124",
"0.63070655",
"0.62780726",
"0.6239543",
"0.6236982",
"0.62277156",
"0.6216279",
"0.62069803",
"0.620... | 0.72674996 | 0 |
Send donation to the API. For now, mock a server response, randomly rejecting a donation. | function sendDonation(donation) {
return new Promise(function (resolve, reject) {
setTimeout(function () {
if (Math.random() > 0.5) {
reject({
code: 401
});
} else {
resolve({
data: {
donation: donation
}
});
}
}, 3000... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function requestDonation(tokenData) {\n var donateParams = {'form': {\n 'APIKey': apiInfoObject.apiKey,\n 'apipassword': apiInfoObject.apiPassword, \n 'action': 'donate',\n 'token': tokenData,\n 'proposalId': proposalId,\n 'amount': DONATION_AMOUNT,\n 'email': (donorInfoObject... | [
"0.7368133",
"0.61532503",
"0.5959594",
"0.5943444",
"0.59336746",
"0.58818877",
"0.5653982",
"0.56332326",
"0.5614587",
"0.5583441",
"0.55382353",
"0.5408054",
"0.53825486",
"0.5312956",
"0.52912766",
"0.52441955",
"0.52344966",
"0.5218339",
"0.5187966",
"0.5179367",
"0.5150... | 0.78130054 | 0 |
Remove a payment method. TODO: the complete call. This also needs to be protected behind auth and restricted to the user. | function removePaymentMethod(id) {
return new Promise(function (resolve, reject) {
// Emulate an API call. Randomly reject some calls.
setTimeout(function () {
if (Math.random > 0.5) {
reject({
code: 401
});
}
resolve(id);
}, 4000);
});
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"deletePaymentMethod(paymentMethodId) {\r\n this.authService.invokeWithUserId((userId) => {\r\n this.store.dispatch(new UserActions.DeleteUserPaymentMethod({\r\n userId,\r\n paymentMethodId,\r\n }));\r\n });\r\n }",
"removePayment(paymentId, loa... | [
"0.6924992",
"0.6211172",
"0.6072082",
"0.5937016",
"0.572689",
"0.55839205",
"0.5567278",
"0.5560333",
"0.5556234",
"0.54936147",
"0.5457084",
"0.5412783",
"0.539049",
"0.53792965",
"0.53616947",
"0.5339175",
"0.52944326",
"0.5180146",
"0.51681024",
"0.51145107",
"0.51021457... | 0.6618413 | 1 |
Send a nonprofit form. TODO: the complete call. This also requires a second page of data for the fundraiser to be created. | function submitNonprofitForm(form) {
return new Promise(function (resolve, reject) {
// Emulate an API call.
// Randomly reject some calls
setTimeout(function () {
if (Math.random() > 0.95) {
reject({
code: 401
});
}
resolve(form);
}, 1000);
});
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"submitForm(){\n\t\tlet instance = this;\n\t\tconst\tdata = JSON.stringify({\n\t\t\tinterest: instance.dropdownData.interest,\n\t\t\tloan: instance.calculatorData,\n\t\t\tnumberOfMonths: instance.dropdownData.months,\n\t\t\ttotalDebt: instance.debt\n\t\t});\n\t\t\n\t\t\n\t\tfetch(instance.endpoint, {\n\t\t\tmethod:... | [
"0.62932694",
"0.606215",
"0.5850431",
"0.57518154",
"0.57298315",
"0.5701312",
"0.5607158",
"0.5561865",
"0.5538718",
"0.5510052",
"0.5428451",
"0.541958",
"0.54112303",
"0.53466386",
"0.5328863",
"0.5314673",
"0.5311594",
"0.53106546",
"0.52991855",
"0.5289853",
"0.526441",... | 0.6411514 | 0 |
objects with a name and carbonated property. The Drink function should also include a shake prototype method. | function Drink (name, carbonated) {
this.name = name
this.carbonated = carbonated
this.shake = function () {
if(carbonated === true) {
console.log("EXPLOSION!!!")
} else {
console.log("nothing happens...")
}
}
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function Drink(name) {\n this.name = name;\n}",
"function Drink (name, sugar, ice, amount) {\n this.name = name\n this.sugar = sugar\n this.ice = ice\n this.amount = amount\n}",
"function Drink(size, caffContent) {\n this.oz = size;\n this.caffeine = caffContent;\n}",
"function Drink( name, descript... | [
"0.7327551",
"0.7049787",
"0.66644645",
"0.643772",
"0.6102515",
"0.60979414",
"0.608731",
"0.6049707",
"0.60058486",
"0.59504974",
"0.59483176",
"0.5906817",
"0.59026873",
"0.5902594",
"0.590031",
"0.590003",
"0.58911014",
"0.58664423",
"0.58594185",
"0.584495",
"0.5824692",... | 0.78934497 | 0 |
Parses and compiles a formula to a highly optimized function. Combination of `parse` and `compile`. If the formula doesn't match any elements, it returns [`boolbase`]( `falseFunc`. Otherwise, a function accepting an _index_ is returned, which returns whether or not the passed _index_ matches the formula. Note: The nthr... | function nthCheck(formula) {
return compile_1.compile(parse_1.parse(formula));
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function nthCheck(formula) {\n return compile_1.compile(parse_1.parse(formula));\n}",
"function nthCheck(formula) {\n return compile_1.compile(parse_1$1.parse(formula));\n}",
"function nthCheck(formula) {\n return compile_1.compile(parse_1.parse(formula));\n }",
"function evalFunctionFormula(formula,... | [
"0.69053525",
"0.6846493",
"0.6818447",
"0.606885",
"0.59819674",
"0.5960242",
"0.5923918",
"0.5923918",
"0.5923918",
"0.58721",
"0.5785388",
"0.5602121",
"0.55640405",
"0.5547341",
"0.5546373",
"0.5513689",
"0.5513689",
"0.5513689",
"0.5513689",
"0.5513689",
"0.5513689",
"... | 0.69639677 | 1 |
Graph data source. Takes an implementation object, which should implement 'getVertices' and 'getIndices' functions. | function GraphDataSource(implementation) {
this.getVertices = implementation.getVertices;
this.getEdges = implementation.getEdges;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function Graph()\n{\n\n// published docs section (ref. assignment page)\n\t// for this section, strip line comments\n\t// no JSDOC comments in this section\n\n\n\t// base property fields\n\n this.vert = [];\t\t\t\t\t// vertex list (an array of Vertex objects)\n this.nv = 0;\t\t\t\t\t// number of vertices\n ... | [
"0.5833181",
"0.5802323",
"0.57598543",
"0.5716435",
"0.57126915",
"0.5691009",
"0.5632726",
"0.5631249",
"0.5573157",
"0.5538837",
"0.5520954",
"0.54990685",
"0.54112077",
"0.54028666",
"0.5382309",
"0.53691673",
"0.53541064",
"0.52761585",
"0.52656454",
"0.52376705",
"0.522... | 0.8306285 | 0 |
Graph visualization. Should be bound to a DOM element and data source to start visualization. | function GraphVisualization() {
this.element = null; // DOM element to display in
this.selection = null; // d3 selection of DOM element
this.dataSource = null; // Data source for vertices/edges
this.svg = null; // SVG inside DOM element
this.wid... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function showGraphViz(gr) {\n var element = document.getElementById(\"shownGraphDiv\");\n element.innerHTML = Viz(gr.toGraphViz(), \"svg\");\n}",
"function drawVisualization() {\n // Create and populate a data table.\n formArrayFromObj(satData);\n\n\n // specify options\n var options = {\n ... | [
"0.6641019",
"0.6304791",
"0.62893134",
"0.6238574",
"0.62254715",
"0.62234235",
"0.62194353",
"0.6211964",
"0.6209183",
"0.6203449",
"0.6150953",
"0.6143817",
"0.61168385",
"0.6094401",
"0.6083314",
"0.60812116",
"0.60745215",
"0.6063968",
"0.60269",
"0.6013224",
"0.60120326... | 0.6972659 | 0 |
determines if this exception is omittable from the display this is the case if the exception (or its cause exception) are caused by other tasks failing that is, they have a task_trace_id field similar to TaskUtils.isCausedByTaskExecutionFailedExceptionImpl() | function isOmittableTaskFailureException(exception) {
if (exception.circular_reference != null) {
//this is a circular reference to some previous exception
return false;
}
if (exception.cause == null) {
//no cause
return false;
}
if (exception.cause.task_trace_id != null) {
return true;
}
r... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function Ui(e){return Object.prototype.toString.call(e).indexOf(\"Error\")>-1}",
"function No(t){return Object.prototype.toString.call(t).indexOf(\"Error\")>-1}",
"function Ti(e){return Object.prototype.toString.call(e).indexOf(\"Error\")>-1}",
"function Ni(e){return Object.prototype.toString.call(e).indexOf... | [
"0.5387222",
"0.52574366",
"0.525515",
"0.51870483",
"0.51870483",
"0.5119256",
"0.5119256",
"0.51091194",
"0.5100952",
"0.50426316",
"0.50397563",
"0.5034658",
"0.50323325",
"0.50216645",
"0.50216645",
"0.5020167",
"0.50162596",
"0.49817652",
"0.49801135",
"0.4970193",
"0.49... | 0.6649651 | 0 |
Make a function that uses slice() and the other functions you've written to return the first half of the string returnFirstHalf("Hello") // => "He" returnFirstHalf("Hello World") // => "Hello" | function firstHalf(foo) {
return foo.slice(0, halfword(foo));
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function returnFirstHalf(text){\n var length = text.length\n console.log(text.slice(0, Math.floor(length / 2)));\n}",
"function iPutTheFunIn(string){\n\n var firstSlice = \"\";\n\n var seconSlice = \"\";\n\n var newWord = \"\";\n\n firstSlice = string.slice(0, string.length/2);\n\n secondSlice = strin... | [
"0.74532324",
"0.6935966",
"0.68640363",
"0.67240953",
"0.66521394",
"0.656024",
"0.650132",
"0.6458287",
"0.6434054",
"0.6422719",
"0.6344123",
"0.63412577",
"0.6331163",
"0.6320492",
"0.6294484",
"0.6278379",
"0.6265105",
"0.62563735",
"0.6150515",
"0.6137011",
"0.60829383"... | 0.7582834 | 0 |
creates a selector which uses the inventory contents to derive the amount of hold space which has been used. this should be mounted on the 'player' state chunk. | function createHoldSpaceUsedSelector(playerSelectors) {
const getInventoryQuantity = playerSelectors.inventory.getInventoryQuantity;
// we need to select the quantity of every commodity which has
// a volume, and transform it into the amount of space used
// for that quantity of that commodity
const commodit... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function inventory() { }",
"function GameItem(selector) {\n var obj = {};\n obj.$element = $(selector);\n obj.width = obj.$element.width();\n obj.height = obj.$element.height();\n obj.x = 0;\n obj.y = 0;\n obj.velocityX = 0;\n obj.velocityY = 0;\n return obj;\n }",
"function lootSel... | [
"0.5483738",
"0.5426474",
"0.51245064",
"0.508946",
"0.5080734",
"0.50752544",
"0.505023",
"0.5035237",
"0.49943343",
"0.4989092",
"0.4955092",
"0.49516505",
"0.4936971",
"0.49187273",
"0.48687533",
"0.48602897",
"0.48560628",
"0.48513138",
"0.4848825",
"0.48325658",
"0.48225... | 0.7226871 | 0 |
create a function when user click a btn to remove the parent | function removeParent(event){
event.target.parentNode.remove();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function removeParent(e){\r\n e.target.parentNode.remove();\r\n}",
"function remove(btn) {\n btn.addEventListener(\"click\", function () {\n btn.parentNode.remove();\n });\n}",
"function removeParent(e){\n\te.target.parentNode.remove();\n}",
"function removeContact(btn) {\n $(btn).parent().remove(... | [
"0.76955783",
"0.76411587",
"0.7633433",
"0.7458",
"0.7415536",
"0.73881525",
"0.7349559",
"0.73309803",
"0.7327537",
"0.72303706",
"0.7229826",
"0.72154003",
"0.7130782",
"0.7108536",
"0.7081763",
"0.70544004",
"0.7023712",
"0.69614446",
"0.69396454",
"0.6917394",
"0.6911148... | 0.7825451 | 0 |
Stretch 3: Write a function called getGoals() that accepts a parameter `data` and returns the team with the most goals score per appearance (average goals for) in the World Cup finals | function getGoals(/* code here */) {
//highest average goals per appearance in finals
/* code here */
let teamGoalsObject = {};
let finals = getFinals(fifaData);
finals.forEach(e=>{
let hInitials = e["Home Team Initials"];
let aInitials = e["Away Team Initials"];
let hGoals =... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function getGoals(data) {\n let teamsMap = new Map(); //key: team name, value: {goals, appearances}\n const finals = data.filter((x) => x[\"Stage\"] === \"Final\");\n finals.forEach((x) => {\n const homeName = x[\"Home Team Name\"];\n const homeGoals = x[\"Home Team Goals\"];\n const awayName = x[\"Awa... | [
"0.843118",
"0.7377649",
"0.7327844",
"0.7266708",
"0.7132446",
"0.6990741",
"0.6489507",
"0.62036484",
"0.6114989",
"0.5996328",
"0.5958581",
"0.59504586",
"0.58669114",
"0.58269536",
"0.5822541",
"0.5793107",
"0.57280743",
"0.57056785",
"0.5659385",
"0.5619931",
"0.55794966... | 0.78475934 | 1 |
Stretch 4: Write a function called badDefense() that accepts a parameter `data` and calculates the team with the most goals scored against them per appearance (average goals against) in the World Cup finals | function badDefense(/* code here */) {
//highest average points scored by opposing team
//This would be almost identical to getGoals() above, but instead of adding hGoals to hInitials, you would add hGoals to aInitials (and rename a few variables for readability)
/* code here */
const goals = getFinals(... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function badDefense(data) {\n let teamsMap = new Map();\n const finals = data.filter((x) => x[\"Stage\"] === \"Final\");\n finals.forEach((x) => {\n const homeName = x[\"Home Team Name\"];\n const homeGoals = x[\"Home Team Goals\"];\n const awayName = x[\"Away Team Name\"];\n const awayGoals = x[\"A... | [
"0.8429617",
"0.7006424",
"0.6667118",
"0.6417625",
"0.6198475",
"0.61216897",
"0.60509944",
"0.5992548",
"0.5906569",
"0.5898644",
"0.5893619",
"0.5831918",
"0.57912004",
"0.5760579",
"0.5686601",
"0.5670326",
"0.56617105",
"0.5617214",
"0.56119466",
"0.55821973",
"0.5576565... | 0.79015 | 1 |
init details about project | function initDetailsProject(){
$(".slideprojects").pageslide({ direction: "left", modal: true });
$(".slideprojects").click(function() {
$activeProject = $(this).parent();
showDetailsProject();
});
$('.close_project').click(function() {
hideDetailsPr... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function initProject() {\n\t\t//Add the app listeners\n\t\tSitoolsDesk.app.addListener(\"allJsIncludesDone\", _onAllJsIncludesDone);\n\t\tSitoolsDesk.app.addListener(\"ready\", desktopReady);\n\t\tSitoolsDesk.app.addListener(\"modulesLoaded\", _onModulesLoaded);\n\n sql2ext.load(loadUrl.get('APP_URL') + \"/... | [
"0.7050255",
"0.70021796",
"0.6690094",
"0.6689657",
"0.6538139",
"0.6529241",
"0.6459602",
"0.6451883",
"0.6412429",
"0.63985544",
"0.63850886",
"0.63770926",
"0.63724995",
"0.6314603",
"0.62926114",
"0.62621564",
"0.62320364",
"0.62073237",
"0.6185654",
"0.61707145",
"0.614... | 0.71984553 | 0 |
Hide details about project (hide slide) | function hideDetailsProject(){
$.pageslide.close();
$("#active_project_wrapper").html('').hide();
$('#content_projects').fadeIn();
if($(window).width() > 768){
$("#projects").css("margin-left","365px");
}
$('#sidebar').animate({left:'0'});
$("html").c... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function hideProject() {\n //remove the added dom elements\n img.remove();\n hr.remove();\n p.remove();\n linkContainer.remove();\n\n //change the styles back to the originals\n styles.width = 50 + 'px';\n styles.height = 50 + 'px';\n styles.top = top;\n styles.lef... | [
"0.7506673",
"0.713386",
"0.7132956",
"0.7114171",
"0.69857764",
"0.6961857",
"0.6862537",
"0.66450953",
"0.6615676",
"0.6612313",
"0.65892863",
"0.6574931",
"0.6572906",
"0.65443575",
"0.6522633",
"0.6522633",
"0.64947313",
"0.64640045",
"0.6432596",
"0.64278305",
"0.6419663... | 0.7423281 | 1 |
1. Create a method to add 1 to secondsElapsed 2. Create something that will call the above method every 1 second or 1000 ms For part 1, we can just take in the previous state, which is really only the secondsElapsed, and add one to it. Add the following code to your class, underneath your constructor. Remember, that st... | tick() {
this.setState((prevState) => ({
secondsElapsed: prevState.secondsElapsed + 1
}));
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"tick() {\n this.setState({secondsElapsed: this.state.secondsElapsed + 1});\n }",
"constructor(props) {\n super(props); //we need to take in props, use super(props), and then we can set our state\n this.state = {secondsElapsed: 0}; //set a state for this time that we want to display and update whe... | [
"0.72101563",
"0.6977587",
"0.6885014",
"0.6867368",
"0.6834968",
"0.67741174",
"0.66684943",
"0.6603795",
"0.6586175",
"0.6547173",
"0.65368396",
"0.6525547",
"0.65239805",
"0.64620167",
"0.6431199",
"0.6431199",
"0.64256644",
"0.64052266",
"0.6401636",
"0.6390594",
"0.63867... | 0.74426115 | 0 |
Render the node of the tree for selection of filter | nodeRender(item) {
// verifica se é um grupo ou filtro
return item.id ?
<a className="selectable" onClick={this.filterClick(item)}>{item.label}</a> :
<a className="lnk-label" onClick={this.groupClick(item)}><b style={{ fontSize: '1.2em' }}>{item.label}</b></a>;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"onFilterChanged_() {\n // Returns immediately, if the tree is hidden.\n if (this.hidden) {\n return;\n }\n\n this.redraw(true /* recursive */);\n }",
"render () {\n let data = this.getData();\n this._tree = this._createTree(data);\n this._toolTip = this._createToolTip();\n ... | [
"0.6656622",
"0.6388985",
"0.6383942",
"0.62115824",
"0.61732584",
"0.61458886",
"0.61044765",
"0.60938644",
"0.59569573",
"0.5947422",
"0.5930805",
"0.59129655",
"0.5904341",
"0.5892025",
"0.58634895",
"0.5856116",
"0.5851365",
"0.58469594",
"0.57689303",
"0.57607096",
"0.57... | 0.7134512 | 0 |
=============================================================== 1 bread is discounted at 50% for every 2 cans of soup =============================================================== | function everyTwoTinsOfSoupMakesOneBreadHalfPrice(contents) {
const numberOfSoups = contents.soup || 0;
const numberOfbread = contents.bread || 0;
// There must be 2 tins of soup for every bread discount;
const numberOfQualifyingDiscounts = Math.floor(numberOfSoups / 2);
// What is the actual num... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function discount(price) {\r\n return price * 0.8;\r\n}",
"function discount(price) {\n return price * 0.8;\n}",
"function saleHotDogs(n){\n var precio;\n n < 5 ? precio = 100 * n: n >=5 && n < 10 ? precio = 95 * n: precio = 90*n;\n return \"$\" + (precio/100) + \" or \" + precio + \" cents\";\n... | [
"0.61919934",
"0.6154486",
"0.60139954",
"0.59680474",
"0.59426326",
"0.5941283",
"0.5897788",
"0.5887181",
"0.58624357",
"0.58477116",
"0.5798915",
"0.57899886",
"0.57645017",
"0.57580227",
"0.5690487",
"0.5664833",
"0.5651693",
"0.5624482",
"0.5622548",
"0.5612991",
"0.5612... | 0.7128696 | 0 |
=============================================================== all bags of apples are discounted at 10% =============================================================== | function discountBagsOfApples(contents) {
const discountsThatApply = contents.apples || 0;
// calculate and return the discount for apples
const discount = utils.roundDown((priceList.apples || 0) * 0.1) * discountsThatApply;
return { name:'Apples', rate:'10%', discount };
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function bonAppetit(bill, k, b) {\n//k -> item which Anna wont eat\n//b -> amount calculated by Brian to pay\n//bill -> array\n\n let itemsInBill = bill.length;\n let removeAnnasShare = bill[k];\n let costAsPerBrian = b;\n\n let totalFoodBill = 0;\n for(let food of bill) {\n totalFoodBill += ... | [
"0.609013",
"0.60806644",
"0.60772747",
"0.59785736",
"0.5915668",
"0.58803684",
"0.5814082",
"0.5779082",
"0.5768082",
"0.5742026",
"0.57139385",
"0.5701922",
"0.5680813",
"0.56660956",
"0.56579167",
"0.56418663",
"0.5619651",
"0.5617942",
"0.5616878",
"0.56004494",
"0.55892... | 0.7257776 | 0 |
Method to click NYT cooking website logo | clickSiteLogo() {
if (this.siteLogo.waitForExist()) {
this.siteLogo.click();
}
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"clickProductListingCard() {\n return this\n .waitForElementVisible('@productListingCardImg')\n .click('@productListingCardImg');\n }",
"function route_logo(route_id) {\n\t$img = $('<img src=\"./images/routes/' + route_id.toLowerCase() + '.svg\">')\n\t$img.click({route_id : route_id}, load_route_fro... | [
"0.5911223",
"0.5892701",
"0.58749986",
"0.5774323",
"0.5755239",
"0.56468534",
"0.5558701",
"0.54828215",
"0.54670215",
"0.54628646",
"0.54504156",
"0.541758",
"0.5415702",
"0.5398271",
"0.5357558",
"0.5356796",
"0.53565544",
"0.5346839",
"0.5305384",
"0.5303984",
"0.5298071... | 0.6937277 | 0 |
Method to get recipe of the day ID | getRecipeOfTheDayID() {
let recipeID = this.articleSaveRecipeOfTheDay.getAttribute('data-id');
//console.log(`Recipe of the Day ID - ${ recipeID}`);
return recipeID;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"async function getDiyRecById(id) {\n const response = await axios.get(`/diy_recipes/${id}`);\n return response.data.diy_recipe;\n }",
"async function getRecipeById(rec_id) {\n const res = await axios.get(`${MD_BASE_URL}/lookup.php?i=${rec_id}`);\n return res.data.meals[0];\n }",
"function findRec... | [
"0.6964885",
"0.67965275",
"0.6598447",
"0.64854455",
"0.64689964",
"0.64387846",
"0.642372",
"0.6368224",
"0.62620515",
"0.6248829",
"0.61561465",
"0.6134269",
"0.60882604",
"0.6059268",
"0.60099417",
"0.5904354",
"0.58808666",
"0.5880262",
"0.58537847",
"0.58462924",
"0.584... | 0.6880209 | 1 |
Method to get recipe ID saved from the general recipe card | getRecipeID() {
let recipeID = this.articleSaveRecipeCard.getAttribute('data-id');
//console.log(`General Recipe ID - ${ recipeID}`);
return recipeID;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function getRecipeId(recipeTitle) {\n let savedData = getStoredQuery();\n let recipe = savedData.find(recipe => {\n return recipe.title == recipeTitle;\n })\n\n let recipeId = recipe.id;\n\n return recipeId;\n}",
"getRecipeOfTheDayID() {\n let recipeID = this.articleSaveRecipeOfTheDay.getAttribute... | [
"0.7041005",
"0.67985475",
"0.6244173",
"0.6103105",
"0.5979094",
"0.58869135",
"0.5860401",
"0.58135",
"0.569763",
"0.5684734",
"0.567443",
"0.56458044",
"0.56416154",
"0.5634764",
"0.5618364",
"0.56102043",
"0.5567186",
"0.5519662",
"0.5497248",
"0.5463224",
"0.5444321",
... | 0.7444436 | 0 |
Method to save recipe of the day | saveRecipeOfTheDay() {
if (this.articleSaveRecipeOfTheDayButton.waitForExist()) {
this.recipeOfTheDayID = this.getRecipeOfTheDayID();
this.articleSaveRecipeOfTheDayButton.click();
}
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"async save(recipe) {\n await this.client.index({\n index: this.index,\n type: 'recipe',\n body: recipe\n });\n }",
"saveRecipe() {\n // read recipes is none -> create recipes\n let recipes = localStorage.getItem(\"recipes\")\n let info = {\n ... | [
"0.64693475",
"0.64239156",
"0.6421113",
"0.62395614",
"0.62277853",
"0.62121266",
"0.61834097",
"0.61797154",
"0.6167795",
"0.61603487",
"0.61225104",
"0.6120558",
"0.6103249",
"0.60348344",
"0.60081655",
"0.6003585",
"0.5987937",
"0.59569913",
"0.59537333",
"0.59501976",
"0... | 0.7848724 | 0 |
Undisplay all form fields classified with a Movie segment name from MovieCategoryEL.labels | function undisplayAllSegmentFields( domNode, segmentNames) {
if (!domNode) domNode = document; // normally invoked for a form element
for (const segmentName of segmentNames) {
const fields = domNode.getElementsByClassName( segmentName);
for (const el of fields) {
el.style.display = ... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function undisplayAllSegmentFields( domNode, segmentNames) {\n if (!domNode) domNode = document; // normally invoked for a form element\n for (const segmentName of segmentNames) {\n const fields = domNode.getElementsByClassName( segmentName);\n for (const el of fields) {\n el.style.display = \"none\"... | [
"0.6239103",
"0.5694014",
"0.5677263",
"0.5590956",
"0.55388427",
"0.5434907",
"0.54050124",
"0.53867507",
"0.5384403",
"0.53829217",
"0.53771996",
"0.5375661",
"0.5336373",
"0.53086483",
"0.52870035",
"0.5272314",
"0.5254103",
"0.5232799",
"0.5190998",
"0.5189608",
"0.518940... | 0.62279755 | 1 |
Crypto Import an RSA public key (PEM format). Key is imported with the specified hashing algorithm and as RSASSAPKCS1v1_5, for signature verification only. | function importRsaPublicKeyPem(pemText, hashAlgorithm) {
// Based on https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypto/importKey#examples.
// Fetch Base64 encoded text between PEM markers.
const pemHeader = "-----BEGIN PUBLIC KEY-----";
const pemFooter = "-----END PUBLIC KEY-----";
const pemHead... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function importKey(format, data, algorithm, extractable, usage) {\n return Promise.resolve()\n .then(function(){\n return cryptoSubtle.importKey(format, data, algorithm, extractable, usage);\n })\n .catch(function(e) {\n if (format !== 'spki' && format !== 'pkcs8') ... | [
"0.6391093",
"0.624352",
"0.5680885",
"0.5386835",
"0.5373862",
"0.53431404",
"0.52988756",
"0.52386874",
"0.5221952",
"0.52022475",
"0.5164407",
"0.51442206",
"0.5127296",
"0.5110274",
"0.50944656",
"0.50944656",
"0.50944656",
"0.50944656",
"0.5076458",
"0.5067418",
"0.50562... | 0.6947404 | 0 |
Verify the QR code signature using the public key. Returns a "result" object. | async function verifySignature(qrCodeText, pemPublicKey) {
var result = new Object();
result.text = null;
result.signedDataJson = null;
var signedDataJson = null;
try {
const separatorIndex = qrCodeText.indexOf("#");
const signatureBase64 = qrCodeText.substr(0, separatorIndex);
const signedData... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function verifySignatureBox(signature, pub_key) {\n return curve.sign.open(str2buf(signature, 'base64'), pub_key);\n}",
"verifyTrxSignature() {\n const publicKey = this.data.publicKey;\n const publicKeyBuffer = Buffer.from(publicKey, 'hex'); // Need to use a JS buffer object for Crypto's veri... | [
"0.68397063",
"0.6788413",
"0.6505063",
"0.6372444",
"0.6355853",
"0.6313809",
"0.6289559",
"0.626347",
"0.6254794",
"0.62321097",
"0.6188721",
"0.60244876",
"0.6008178",
"0.60006803",
"0.59981745",
"0.5912906",
"0.5875084",
"0.58645386",
"0.5846575",
"0.5826792",
"0.5693935"... | 0.76994973 | 0 |
Matches the inputted value with the company list symbols | function findMatches(wordToMatch, companies) {
return companies.filter(obj => {
const regex = new RegExp('^' + wordToMatch, 'gi');
return obj.symbol.match(regex);
});
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function findMatches(wordToMatch, parsedCompanyList) {\r\n return parsedCompanyList.filter(obj => {\r\n const regex = new RegExp(wordToMatch, 'gi');\r\n return obj.symbol.match(regex);\r\n });\r\n }",
"function checkCompanyName(companyName, description) {\n ... | [
"0.68442893",
"0.57883066",
"0.56319195",
"0.5602778",
"0.5588777",
"0.55819935",
"0.54779655",
"0.5473708",
"0.53754103",
"0.53201145",
"0.5310067",
"0.5254595",
"0.52515346",
"0.51795",
"0.51649624",
"0.5164153",
"0.5141068",
"0.5109871",
"0.51090026",
"0.5103007",
"0.50988... | 0.64277947 | 1 |
Fills Company Information Section | function infoFill(comp) {
//List of Companies
document.querySelector("#stockLogo").innerHTML = "<img src='logos/" + comp.symbol + ".svg' alt='" + comp.symbol + "'> <br>";
document.querySelector("#stockSymbol").innerHTML = comp.symbol + "<br>";
document.querySelector... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"async getCompanyInfo() {\n //change to calling the company contract created by the owner\n //need a way to call company ID using the owner's connected address\n //should likely be added as a method to the registry\n // let coId = await payrollContract.methods.getCompanyId(this.state.acc... | [
"0.64309704",
"0.6304853",
"0.6150688",
"0.609817",
"0.60949767",
"0.5942518",
"0.5914977",
"0.58747697",
"0.58724344",
"0.58243996",
"0.5814047",
"0.58037394",
"0.57748",
"0.5768926",
"0.5765507",
"0.57526964",
"0.57152236",
"0.5714055",
"0.57055587",
"0.56309474",
"0.560648... | 0.6370524 | 1 |
Adds Stocks to Table | function showStocks(data) {
for (i of data) {
const mainTable = document.querySelector("#stockTable");
const tableRow = document.createElement("tr");
const tableDate = document.createElement("td");
const tableOpen = doc... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function addToTable(t) {\n \"use strict\";\n var row = table.insertRow(1),\n lNameCell = row.insertCell(0),\n fNameCell = row.insertCell(1),\n sNameCell = row.insertCell(2),\n numSharesCell = row.insertCell(3),\n priceSharesCell = row.insertCell(4),\n commissionCell ... | [
"0.58551025",
"0.5822467",
"0.5770703",
"0.57587564",
"0.5746336",
"0.5711733",
"0.5710812",
"0.56527734",
"0.55668867",
"0.5524622",
"0.55151683",
"0.5508036",
"0.5490552",
"0.5482942",
"0.54571694",
"0.5438695",
"0.5421155",
"0.53832394",
"0.5376473",
"0.5374333",
"0.536529... | 0.6635113 | 0 |
Creates the rows for the finance data table | function financialData(info) {
const financeTable = document.querySelector("#financeTable");
if (info.financials == null) {
financeTable.innerHTML = "";
const financeError = document.createElement("p");
financeError.textContent = "This company does not have any a... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function createTable(data){\n d3.select(tableElement).html('');\n\n let tbody = d3.select(tableElement).append('tbody');\n let rows = tbody.selectAll('tr')\n .data(data)\n .enter()\n .append('tr')\n rows.append('th')\n .text(function (d)... | [
"0.66796285",
"0.6638138",
"0.6590437",
"0.6583854",
"0.6552545",
"0.6494527",
"0.64758855",
"0.6436672",
"0.64276737",
"0.640282",
"0.63874435",
"0.6363369",
"0.6351128",
"0.63432896",
"0.63407105",
"0.63241535",
"0.6316767",
"0.631403",
"0.6304292",
"0.6290588",
"0.6290027"... | 0.6713393 | 0 |
Creates the headers for the finance table | function financeHeaders() {
document.querySelector("#financeTable").innerHTML = "";
const fTable = document.querySelector("#financeTable");
const financeHeaders = document.createElement("tr");
const fDate = document.createElement("th");
const fRevenue = document.createEl... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function create_thead() {\n var schema = _store.active_columns();\n var total = _store.active_rows()['total'];\n var html = [ '<tr>' ];\n\n // create header\n schema.forEach( function ( column ) {\n html.push( '<td class=\"', column['key'], ' ' );\n html.pus... | [
"0.76125723",
"0.75161344",
"0.7415593",
"0.724165",
"0.7241433",
"0.71918017",
"0.71292543",
"0.7125997",
"0.7118929",
"0.7107341",
"0.7104964",
"0.7071571",
"0.70710844",
"0.7049782",
"0.70487666",
"0.70475274",
"0.7017817",
"0.7012191",
"0.697379",
"0.69710183",
"0.696334"... | 0.8594384 | 0 |
Enabling toggling option for more items | function enableTogglingMoreItems(_handler, _parentHandler, _doExpand) {
var onclick = function (event) {
var isCollapsed = true;
if ($(this).hasClass('expand') || $(this).attr('title') == "Expand") {
$(this).removeClass("expand");
$(this).addClass("collapse");
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function toggleExtended(el){\n\t\t\t\tvar togglePanel = $('#extendedNotePanel').find('ul')\n\t\t\t\tif(togglePanel.is(':visible')){\n\t\t\t\t\tel.html('<span >►</span> <span class=\"linkdec\">More Options</span>');\n\t\t\t\t}else{\n\t\t\t\t\tel.html('<span >▼</span> <span class=\"linkdec\">Fewer Option... | [
"0.6576805",
"0.65184814",
"0.63940144",
"0.6332843",
"0.6264729",
"0.6261702",
"0.61697555",
"0.6151545",
"0.606766",
"0.60335344",
"0.6024418",
"0.59899193",
"0.5981407",
"0.598104",
"0.5972542",
"0.596954",
"0.59442353",
"0.5929603",
"0.59252757",
"0.59228706",
"0.5914376"... | 0.6849017 | 0 |
Function to animate height: auto | function autoHeightAnimate(element, time) {
var curHeight = element.height(), // Get Default Height
autoHeight = element.css('height', 'auto').height(); // Get Auto Height
element.height(curHeight); // Reset to Default Height
element.stop().animate({
height: autoHeight
}, time); // Anima... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function autoHeightAnimate(element, time){\n var curHeight = element.height(), // Get Default Height\n autoHeight = element.css('height', 'auto').height(); // Get Auto Height\n element.height(curHeight); // Reset to Default Height\n element.stop().animate({ height: autoH... | [
"0.78694975",
"0.78528666",
"0.7824163",
"0.78099334",
"0.74216014",
"0.72944057",
"0.6927802",
"0.6816472",
"0.6807878",
"0.6635158",
"0.66158026",
"0.6534021",
"0.65110695",
"0.6449413",
"0.63872117",
"0.6385762",
"0.6379372",
"0.63744754",
"0.6352464",
"0.6342768",
"0.6319... | 0.7861414 | 1 |
Function to grab passwords from openssl | function getPassword(type)
{
var opensslCmd = '/usr/bin/openssl rsautl -inkey /opt/webservice/keys/key.txt -decrypt < /opt/webservice/keys/output.bin';
var child = exec(opensslCmd).split(' ');
if (type == 'ssh') {
return child[1];
} else {
return child[3];
}
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function extractPassword(stdout) {\n let response;\n stdout.stdout.split('\\n').forEach((val) => {\n const arr = val.split('=');\n if (arr[0] === 'rpcpassword') {\n response = String(arr[1]);\n }\n });\n return response;\n}",
"function getPassword() {\n var data = getRecord()\n blob = bin2Str... | [
"0.65515447",
"0.6138382",
"0.6021651",
"0.58098245",
"0.5741748",
"0.5692993",
"0.5600453",
"0.55585146",
"0.54705536",
"0.5430746",
"0.5421467",
"0.54195005",
"0.53719634",
"0.5368824",
"0.53558433",
"0.53523797",
"0.53438216",
"0.5328664",
"0.5326031",
"0.53024495",
"0.530... | 0.6734855 | 0 |
decorator of a reactive provide | function ProvideReactive(key) {
return Object(vue_class_component__WEBPACK_IMPORTED_MODULE_1__["createDecorator"])(function (componentOptions, k) {
var provide = componentOptions.provide;
// inject parent reactive services (if any)
if (!Array.isArray(componentOptions.inject)) {
c... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function ProvideReactive(key) {\n return createDecorator(function (componentOptions, k) {\n var provide = componentOptions.provide;\n if (typeof provide !== 'function' || !provide.managed) {\n var original_2 = componentOptions.provide;\n provide = componentOptions.provide = f... | [
"0.6404436",
"0.6391929",
"0.6384307",
"0.6384307",
"0.6250089",
"0.58711475",
"0.58711475",
"0.58687025",
"0.5804423",
"0.5804423",
"0.5804423",
"0.5795475",
"0.5737593",
"0.5737593",
"0.5737593",
"0.5737593",
"0.56582916",
"0.56582916",
"0.56582916",
"0.5591454",
"0.5495324... | 0.66083056 | 0 |
decorator of a synced prop | function PropSync(propName, options) {
if (options === void 0) { options = {}; }
// @ts-ignore
return function (target, key) {
applyMetadata(options, target, key);
Object(vue_class_component__WEBPACK_IMPORTED_MODULE_1__["createDecorator"])(function (componentOptions, k) {
;
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function PropSync(propName, options) {\n if (options === void 0) { options = {}; }\n // @ts-ignore\n return function (target, key) {\n applyMetadata(options, target, key);\n createDecorator(function (componentOptions, k) {\n ;\n (componentOptions.props || (componentOpti... | [
"0.61899495",
"0.61899495",
"0.61899495",
"0.61899495",
"0.6172723",
"0.5624531",
"0.560434",
"0.55631906",
"0.55430317",
"0.5522831",
"0.53962797",
"0.53610986",
"0.5335693",
"0.53168666",
"0.52447367",
"0.52447367",
"0.52413297",
"0.5237659",
"0.52259547",
"0.52245677",
"0.... | 0.6298405 | 0 |
Checks if a variable is a Firestore Document Reference | function isDocumentRef(o) {
return o && o.onSnapshot;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function isReference(schema) {\n var refd_type;\n // simple reference\n if ((refd_type = schema.options.ref)) return refd_type;\n // array of references\n if ((refd_type = schema.options.type && schema.options.type[0] && schema.options.type[0].ref)) return refd_type;\n return false;\n}",
"funct... | [
"0.6686391",
"0.6474312",
"0.6161689",
"0.6072591",
"0.6066004",
"0.6059343",
"0.6059343",
"0.6059343",
"0.6059343",
"0.6059343",
"0.6059343",
"0.6059343",
"0.60574573",
"0.60574573",
"0.60574573",
"0.6012393",
"0.59914744",
"0.5733973",
"0.56700605",
"0.560995",
"0.550664",
... | 0.74112296 | 0 |
Convert firebase RTDB snapshot into a bindable data record. | function createRecordFromRTDBSnapshot(snapshot) {
var value = snapshot.val();
var res = isObject(value) ? value : Object.defineProperty({}, '.value', { value: value });
// if (isObject(value)) {
// res = value
// } else {
// res = {}
// Object.defineProperty(res, '.value', { val... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"snapshotToArray(snapshot) {\n var returnArr = [];\n\n snapshot.forEach(function(childSnapshot) {\n var item = childSnapshot.val();\n item.key = childSnapshot.key;\n\n returnArr.push(item);\n });\n\n return returnArr;\n }",
"function snapshotToArray(snapshot) {\n ... | [
"0.57121074",
"0.56502265",
"0.5640541",
"0.5304548",
"0.5259425",
"0.5227044",
"0.51380044",
"0.51176876",
"0.50874764",
"0.50820076",
"0.5047574",
"0.50340915",
"0.50297314",
"0.50284594",
"0.500743",
"0.5002878",
"0.49035397",
"0.49005994",
"0.48967785",
"0.48950958",
"0.4... | 0.75148004 | 0 |
Find the index for an object with given key. | function indexForKey(array, key) {
for (var i = 0; i < array.length; i++) {
if (array[i]['.key'] === key)
return i;
}
return -1;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function keyIndexByKey (key) {\n return keys.findIndex(element => {return element.key === key});\n}",
"function objectFindByKey(array, key, value) {\n for (var i = 0; i < array.length; i++) {\n //console.log(array[i][key] , value);\n if (array[i][key] === value) {\n return i;\n ... | [
"0.7492754",
"0.7256465",
"0.7143153",
"0.70879364",
"0.70770466",
"0.701814",
"0.68664",
"0.679767",
"0.67910296",
"0.6788415",
"0.67612416",
"0.6744846",
"0.67048925",
"0.6691604",
"0.668194",
"0.6588878",
"0.65778375",
"0.65778375",
"0.65778375",
"0.65778375",
"0.65778375"... | 0.76431036 | 0 |
Binds a RTDB reference as an object | function rtdbBindAsObject(_a, extraOptions) {
var vm = _a.vm, key = _a.key, document = _a.document, resolve = _a.resolve, reject = _a.reject, ops = _a.ops;
if (extraOptions === void 0) { extraOptions = DEFAULT_OPTIONS; }
var options = Object.assign({}, DEFAULT_OPTIONS, extraOptions);
var listener = ... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function db_wrapper(idb) {\n\t\tObject.defineProperty(this, \"_db\", {\n\t\t\tconfigurable: false,\n\t\t\tenumerable: false,\n\t\t\twritable: false,\n\t\t\tvalue: idb,\n\t\t});\n\n\t\tstores.forEach(function (store) {\n\t\t\tObject.defineProperty(this, store, {\n\t\t\t\tconfigurable: false,\n\t\t\t\tenumerable: tr... | [
"0.58379877",
"0.58186114",
"0.5803261",
"0.5761622",
"0.5749261",
"0.57116693",
"0.5580158",
"0.5566491",
"0.5528763",
"0.55214375",
"0.55073905",
"0.5506512",
"0.5488061",
"0.54454815",
"0.54454815",
"0.5367475",
"0.53644",
"0.5346155",
"0.5344245",
"0.53101665",
"0.5283353... | 0.68214834 | 0 |
Binds a RTDB reference or query as an array | function rtdbBindAsArray(_a, extraOptions) {
var vm = _a.vm, key = _a.key, collection = _a.collection, resolve = _a.resolve, reject = _a.reject, ops = _a.ops;
if (extraOptions === void 0) { extraOptions = DEFAULT_OPTIONS; }
var options = Object.assign({}, DEFAULT_OPTIONS, extraOptions);
var array = ... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function arrayifyQuery(query) {\n return [query.sql, escapeForAndroid(query.args || [])];\n}",
"function getDB(uid, array) {\n if (array == 'toDoArray') {\n const dbRef = ref(db, 'users/' + uid + '/toDos/');\n onValue(dbRef, (snapshot) => {\n const data = snapshot.val() || [];\n toDoArray = Obj... | [
"0.56755924",
"0.56630224",
"0.5345851",
"0.53071207",
"0.5151396",
"0.50720084",
"0.5042326",
"0.5019011",
"0.49912944",
"0.49584174",
"0.4932011",
"0.49124",
"0.48952675",
"0.4890189",
"0.4882654",
"0.48813006",
"0.4877945",
"0.48612925",
"0.48345044",
"0.48339528",
"0.4829... | 0.6902369 | 0 |
Binds a Document to a property of vm | function bindDocument(_a, extraOptions) {
var vm = _a.vm, key = _a.key, document = _a.document, resolve = _a.resolve, reject = _a.reject, ops = _a.ops;
if (extraOptions === void 0) { extraOptions = DEFAULT_OPTIONS$1; }
var options = Object.assign({}, DEFAULT_OPTIONS$1, extraOptions); // fill default valu... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"get selectedDocument() {\n return new Document(this.object.document, this)\n }",
"constructor() {\n\t\t/**\n\t\t * Selection done on this document.\n\t\t *\n\t\t * @readonly\n\t\t * @member {module:engine/view/documentselection~DocumentSelection} module:engine/view/document~Document#selection\n\t\t */\n\... | [
"0.6308795",
"0.60033864",
"0.59031105",
"0.5836054",
"0.5833429",
"0.5833429",
"0.5833429",
"0.5833429",
"0.5833429",
"0.5833429",
"0.56108326",
"0.5557877",
"0.5520442",
"0.5487558",
"0.5487558",
"0.5420046",
"0.5376525",
"0.5348446",
"0.53090936",
"0.53090936",
"0.53090936... | 0.64290714 | 0 |
calculate COMP token APY for a given cToken market (i.e. if cToken = cDAI, then the underlying asset = DAI) COMP tokens are are given to lenders and borrowers each block as part of the liquidity mining program incentives of Compound | async function calculateCompApy(cTokenAddress, underlyingTicker, underlyingDecimals) {
//console.log(`Processing: ${underlyingTicker}`);
// get the amount of COMP tokens that will be distributed to borrowers and lenders in this market for the current block
let compSpeed = await Compound.eth.read(
c... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"async function calculateSupplyApy(cTokenAddress) {\n // get the current supply rate per block for the specified cToken from Compound (if the annual supply rate = 4%, then this per block supply rate is going to be way less)\n // use Compound.eth.read() in order to read data from the Compound smart contract us... | [
"0.63712054",
"0.5107471",
"0.5028988",
"0.49870998",
"0.49556762",
"0.49044302",
"0.48597026",
"0.47678322",
"0.47577104",
"0.4663298",
"0.46065536",
"0.4581323",
"0.45175958",
"0.45133564",
"0.45098448",
"0.44820094",
"0.4469414",
"0.4437997",
"0.4411959",
"0.44118586",
"0.... | 0.7386943 | 0 |
Define table columns on scope, filter for enabled, set default filter state on dynamicModel | function updateTableColumns(){
//filters = $scope.tableColumns; //master filter list from client
$scope.columns = _.filter($scope.tableColumns,function(d){
return d.enabled;
});
filters = $scope.columns; //master filter list from client
$scope.columns.forEach(function(d){
if(angular.... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function updateTableFilters(){\n if(angular.isDefined($scope.tableFilters)){\n $scope.columns.forEach(function(d){\n if($scope.tableFilters.hasOwnProperty(d.model)){\n $scope.dynamicModel[d.model] = $scope.tableFilters[d.model];\n $scope[d.model] = $scope.tableFilters[d.model];\n ... | [
"0.7454104",
"0.7052594",
"0.65807754",
"0.63729876",
"0.61802006",
"0.6001332",
"0.5910657",
"0.58900565",
"0.58780175",
"0.5839494",
"0.5798615",
"0.5790553",
"0.57837063",
"0.57675385",
"0.5762376",
"0.5749105",
"0.57402176",
"0.5707543",
"0.569766",
"0.569766",
"0.569766"... | 0.7650755 | 0 |
When Parent controller changes tableFilters obj, take in changes, so long as columns definition has model type that matches filter property | function updateTableFilters(){
if(angular.isDefined($scope.tableFilters)){
$scope.columns.forEach(function(d){
if($scope.tableFilters.hasOwnProperty(d.model)){
$scope.dynamicModel[d.model] = $scope.tableFilters[d.model];
$scope[d.model] = $scope.tableFilters[d.model];
$sc... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function updateTableColumns(){\n //filters = $scope.tableColumns; //master filter list from client \n $scope.columns = _.filter($scope.tableColumns,function(d){\n return d.enabled;\n });\n\n filters = $scope.columns; //master filter list from client \n\n $scope.columns.forEach(function(d){\n ... | [
"0.7134635",
"0.6737848",
"0.6522301",
"0.64433485",
"0.6406179",
"0.62098765",
"0.62092876",
"0.6203865",
"0.61679506",
"0.61679506",
"0.61572194",
"0.6135842",
"0.6130241",
"0.61207974",
"0.61001587",
"0.609136",
"0.60455996",
"0.5997141",
"0.59826666",
"0.59815466",
"0.597... | 0.7840532 | 0 |
Calculate mark price from current orders. Mark price is an average between the best bid and the best ask prices. | function getMark() {
const min_ask = Math.min(
...orders.filter((o) => o.side === "sell").map((o) => o.price)
);
const max_bid = Math.max(
...orders.filter((o) => o.side === "buy").map((o) => o.price)
);
if (isFinite(min_ask) && isFinite(max_bid)) {
return (min_ask + max_bid) * 0.5;
} else if (... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function orderThanMarket(order, ticker, marketSide) {\r\n if (marketSide === \"bid\") var diff = ((ticker.bid / order.price) - 1) * 100;\r\n else if (marketSide === \"ask\") var diff = ((ticker.ask / order.price) - 1) * 100;\r\n else {}\r\n console.log(\"diff ask =\" + ticker.ask+\"/\"+order.price);\r\... | [
"0.6119239",
"0.6083846",
"0.60542303",
"0.59557396",
"0.5954003",
"0.576108",
"0.57048005",
"0.5612026",
"0.5610623",
"0.5571528",
"0.5556115",
"0.5425139",
"0.54059887",
"0.53889066",
"0.52993757",
"0.5291267",
"0.52752894",
"0.5252102",
"0.52451116",
"0.52294964",
"0.52271... | 0.748066 | 0 |
Display a contract based on the ulr search params | function loadContract() {
// sources.contracts.query("GALO_ContractNum == :1 and BillToCompanyID = :2", {
// params: [GALO_ContractNum, clientKey],
sources.contracts.query("ContractID == :1 or GALO_ContractNum == :1", {
params: [contractID],
onSucce... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function onShowContracts(){\n\tvar restriction = new Ab.view.Restriction();\n\trestriction.addClause(\"eq.eq_id\",$(\"wr.eq_id\").value,'=');\n\tView.openDialog(\"ab-helpdesk-request-equipment.axvw\", restriction, false); \n}",
"function onQueryAddress() {\n var invoicingAddress = $(\"#query-invoicing-add... | [
"0.6190169",
"0.5858049",
"0.58313847",
"0.5825705",
"0.57714117",
"0.5732301",
"0.57265836",
"0.5722748",
"0.5709377",
"0.56386423",
"0.5599653",
"0.5592374",
"0.5577215",
"0.55351126",
"0.55324006",
"0.549312",
"0.54885274",
"0.5428585",
"0.5413338",
"0.5398108",
"0.5364168... | 0.6407436 | 0 |
It manages the presentation of Albums, creates an array of Track components and inserts it inside of an array of tables, each one of them corresponding with a disc number | function Album(props) {
console.log(props);
let tables = props.tracks.map((cd,i) => {
let tracksList = cd.map((item, i) => {
return (
<Track key={i} track={item} onFavoriteClick={props.handleFavorite} onSongClick={props.handleAudio} favorite={props.favorites.includes(item.id)} />
);
})... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function renderAlbums(albums) {\n var albumPanel = [];\n\n for (var i = 0; i < albums.length; i++) {\n albumPanel.push(createPanel(albums[i]));\n }\n albumContainer.append(albumPanel);\n }",
"function updateAlbumTable(){\n\n\tif(databaseObj){\n\t\tvar albumTable = document.getElementById(\"albu... | [
"0.64926237",
"0.6354743",
"0.6184206",
"0.61744976",
"0.611764",
"0.61159426",
"0.6112474",
"0.6076689",
"0.6074045",
"0.60203636",
"0.59505844",
"0.5926891",
"0.5917498",
"0.58886117",
"0.5885847",
"0.588057",
"0.5876011",
"0.5871318",
"0.5825211",
"0.58019805",
"0.57679",
... | 0.6701001 | 0 |
EINDE FUNCTION window.onload / clearGameField Deze functie maakt het speelveld helemaal leeg door alle imgtags te vullen met empty.jpg. | function clearGameField() {
for(var celnum = 0; celnum < 9; celnum++) {
GAME_FIELD_ELEMENT[celnum].src = PLAYER_IMAGES[0];
}
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function clearGameField() {\n for (var celnum = 0; celnum < 9; celnum++) {\n GAME_FIELD_ELEMENT[celnum].src = PLAYER_IMAGES[0];\n }\n}",
"function clearImgs() {\n imgCardPanel.clear();\n}",
"function C999_Common_Achievements_ResetImage() {\n C999_Common_Achievements_Image = \"\";\n}",
"funct... | [
"0.76379454",
"0.64384747",
"0.6394737",
"0.6334542",
"0.6278781",
"0.6247339",
"0.62236285",
"0.6220834",
"0.6218861",
"0.62183446",
"0.6198078",
"0.6182789",
"0.6176621",
"0.61759746",
"0.6163929",
"0.6141489",
"0.613988",
"0.61363727",
"0.61297214",
"0.6125394",
"0.6104064... | 0.76283896 | 1 |
Create the HTML UL element for the menu and link it to the parent. | function makeUl(parentDomElem, parentMenu) {
var ulElem = document.createElement('ul');
parentDomElem.appendChild(ulElem);
var children = parentMenu.children;
for ( var i = 0; i < children.length; i++) {
var liElem = document.createElement('li');
var divElem = document.createElement('div'... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function makeUl( parentDomElem, parentMenu ) {\n\n var ulElem = document.createElement(\"ul\");\n parentDomElem.appendChild(ulElem);\n\n var children = parentMenu.children;\n\n for (var i=0; i<children.length; i++) {\n var liElem = document.createElement(\"li\");\n var divElem = d... | [
"0.79576546",
"0.76861864",
"0.6812835",
"0.6746496",
"0.66849804",
"0.65820706",
"0.6579698",
"0.6456587",
"0.64364237",
"0.64123225",
"0.6397213",
"0.6385414",
"0.6385271",
"0.63484424",
"0.6304427",
"0.6295525",
"0.6276111",
"0.62582636",
"0.62506455",
"0.62459403",
"0.624... | 0.7691343 | 1 |
Determine whether the given properties match those of a `CfnAssociationProps` | function CfnAssociationPropsValidator(properties) {
if (!cdk.canInspect(properties)) {
return cdk.VALIDATION_SUCCESS;
}
const errors = new cdk.ValidationResults();
if (typeof properties !== 'object') {
errors.collect(new cdk.ValidationResult('Expected an object, but received: ' + JSON.st... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"matches(properties) {\n for (const type in properties) {\n const component = this.component(type);\n if (!component.exists())\n return false;\n for (const key in properties[type]) {\n const value = properties[type][key];\n if (component.property(ke... | [
"0.66424525",
"0.6375472",
"0.61768126",
"0.6154603",
"0.6077743",
"0.5930624",
"0.58994156",
"0.5883687",
"0.58531034",
"0.5820434",
"0.5765755",
"0.5745356",
"0.57108784",
"0.57108784",
"0.5704924",
"0.5686538",
"0.5682947",
"0.56822443",
"0.56822443",
"0.56822443",
"0.5682... | 0.6798316 | 0 |
Renders the AWS CloudFormation properties of an `AWS::SSM::Association` resource | function cfnAssociationPropsToCloudFormation(properties) {
if (!cdk.canInspect(properties)) {
return properties;
}
CfnAssociationPropsValidator(properties).assertSuccess();
return {
Name: cdk.stringToCloudFormation(properties.name),
ApplyOnlyAtCronInterval: cdk.booleanToCloudForm... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function cfnInstanceSsmAssociationPropertyToCloudFormation(properties) {\n if (!cdk.canInspect(properties)) {\n return properties;\n }\n CfnInstance_SsmAssociationPropertyValidator(properties).assertSuccess();\n return {\n AssociationParameters: cdk.listMapper(cfnInstanceAssociationParame... | [
"0.61213285",
"0.55461454",
"0.5294296",
"0.51931876",
"0.51899177",
"0.51839525",
"0.5109814",
"0.5103487",
"0.50677896",
"0.5051795",
"0.5029152",
"0.5028006",
"0.5021768",
"0.5017207",
"0.50153565",
"0.50050354",
"0.49995124",
"0.4981638",
"0.4978342",
"0.49735427",
"0.495... | 0.59284544 | 1 |
Determine whether the given properties match those of a `InstanceAssociationOutputLocationProperty` | function CfnAssociation_InstanceAssociationOutputLocationPropertyValidator(properties) {
if (!cdk.canInspect(properties)) {
return cdk.VALIDATION_SUCCESS;
}
const errors = new cdk.ValidationResults();
if (typeof properties !== 'object') {
errors.collect(new cdk.ValidationResult('Expected... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function CfnAssociation_S3OutputLocationPropertyValidator(properties) {\n if (!cdk.canInspect(properties)) {\n return cdk.VALIDATION_SUCCESS;\n }\n const errors = new cdk.ValidationResults();\n if (typeof properties !== 'object') {\n errors.collect(new cdk.ValidationResult('Expected an ob... | [
"0.6590998",
"0.6082325",
"0.60456795",
"0.5468995",
"0.538105",
"0.5353625",
"0.5353625",
"0.5331264",
"0.5270993",
"0.52708185",
"0.5260375",
"0.5246757",
"0.5242392",
"0.5228899",
"0.52266526",
"0.5144757",
"0.513691",
"0.51131094",
"0.5088992",
"0.50885963",
"0.5053188",
... | 0.72252464 | 0 |
Renders the AWS CloudFormation properties of an `AWS::SSM::Association.InstanceAssociationOutputLocation` resource | function cfnAssociationInstanceAssociationOutputLocationPropertyToCloudFormation(properties) {
if (!cdk.canInspect(properties)) {
return properties;
}
CfnAssociation_InstanceAssociationOutputLocationPropertyValidator(properties).assertSuccess();
return {
S3Location: cfnAssociationS3Outpu... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function cfnAssociationS3OutputLocationPropertyToCloudFormation(properties) {\n if (!cdk.canInspect(properties)) {\n return properties;\n }\n CfnAssociation_S3OutputLocationPropertyValidator(properties).assertSuccess();\n return {\n OutputS3BucketName: cdk.stringToCloudFormation(propertie... | [
"0.6055851",
"0.5641747",
"0.4962342",
"0.4913792",
"0.4898152",
"0.48140857",
"0.47745848",
"0.47566327",
"0.4686132",
"0.46651447",
"0.46641555",
"0.4662992",
"0.46343556",
"0.46219325",
"0.461399",
"0.46093643",
"0.45810723",
"0.45810723",
"0.45555112",
"0.45419213",
"0.45... | 0.6861167 | 0 |
Determine whether the given properties match those of a `S3OutputLocationProperty` | function CfnAssociation_S3OutputLocationPropertyValidator(properties) {
if (!cdk.canInspect(properties)) {
return cdk.VALIDATION_SUCCESS;
}
const errors = new cdk.ValidationResults();
if (typeof properties !== 'object') {
errors.collect(new cdk.ValidationResult('Expected an object, but r... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function CfnAssociation_InstanceAssociationOutputLocationPropertyValidator(properties) {\n if (!cdk.canInspect(properties)) {\n return cdk.VALIDATION_SUCCESS;\n }\n const errors = new cdk.ValidationResults();\n if (typeof properties !== 'object') {\n errors.collect(new cdk.ValidationResul... | [
"0.7405113",
"0.66803455",
"0.6666474",
"0.66650134",
"0.66171247",
"0.6607438",
"0.65743256",
"0.64516366",
"0.6249149",
"0.62408376",
"0.6134572",
"0.6049043",
"0.6005517",
"0.58524305",
"0.58524305",
"0.5847404",
"0.58373654",
"0.56331056",
"0.55978626",
"0.5594402",
"0.55... | 0.77774787 | 0 |
Renders the AWS CloudFormation properties of an `AWS::SSM::Association.S3OutputLocation` resource | function cfnAssociationS3OutputLocationPropertyToCloudFormation(properties) {
if (!cdk.canInspect(properties)) {
return properties;
}
CfnAssociation_S3OutputLocationPropertyValidator(properties).assertSuccess();
return {
OutputS3BucketName: cdk.stringToCloudFormation(properties.outputS3B... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function cfnAssociationInstanceAssociationOutputLocationPropertyToCloudFormation(properties) {\n if (!cdk.canInspect(properties)) {\n return properties;\n }\n CfnAssociation_InstanceAssociationOutputLocationPropertyValidator(properties).assertSuccess();\n return {\n S3Location: cfnAssocia... | [
"0.70078415",
"0.62124276",
"0.60224295",
"0.60224295",
"0.59507376",
"0.58851266",
"0.5869772",
"0.5869772",
"0.5795338",
"0.57795745",
"0.57642287",
"0.5742811",
"0.5606557",
"0.5489867",
"0.5301015",
"0.52424276",
"0.51380485",
"0.5137972",
"0.5049249",
"0.50461435",
"0.50... | 0.729586 | 0 |
Renders the AWS CloudFormation properties of an `AWS::SSM::Association.Target` resource | function cfnAssociationTargetPropertyToCloudFormation(properties) {
if (!cdk.canInspect(properties)) {
return properties;
}
CfnAssociation_TargetPropertyValidator(properties).assertSuccess();
return {
Key: cdk.stringToCloudFormation(properties.key),
Values: cdk.listMapper(cdk.str... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function cfnDataSourceDocumentAttributeTargetPropertyToCloudFormation(properties) {\n if (!cdk.canInspect(properties)) {\n return properties;\n }\n CfnDataSource_DocumentAttributeTargetPropertyValidator(properties).assertSuccess();\n return {\n TargetDocumentAttributeKey: cdk.stringToClou... | [
"0.53735524",
"0.51983595",
"0.51626635",
"0.51546675",
"0.5139758",
"0.5000434",
"0.49466276",
"0.4935928",
"0.49192342",
"0.48729366",
"0.4815519",
"0.47801802",
"0.47647348",
"0.4722564",
"0.47105622",
"0.47062466",
"0.46767005",
"0.46714267",
"0.4636232",
"0.4629354",
"0.... | 0.5984704 | 0 |
Determine whether the given properties match those of a `CfnDocumentProps` | function CfnDocumentPropsValidator(properties) {
if (!cdk.canInspect(properties)) {
return cdk.VALIDATION_SUCCESS;
}
const errors = new cdk.ValidationResults();
if (typeof properties !== 'object') {
errors.collect(new cdk.ValidationResult('Expected an object, but received: ' + JSON.strin... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"matches(properties) {\n for (const type in properties) {\n const component = this.component(type);\n if (!component.exists())\n return false;\n for (const key in properties[type]) {\n const value = properties[type][key];\n if (component.property(ke... | [
"0.69145304",
"0.64980245",
"0.6442108",
"0.640053",
"0.640053",
"0.6364385",
"0.63037175",
"0.6287277",
"0.62669307",
"0.62661976",
"0.6256009",
"0.6253532",
"0.607873",
"0.60626113",
"0.60626113",
"0.60626113",
"0.60626113",
"0.60626113",
"0.60626113",
"0.60626113",
"0.6062... | 0.69327825 | 0 |
Renders the AWS CloudFormation properties of an `AWS::SSM::Document` resource | function cfnDocumentPropsToCloudFormation(properties) {
if (!cdk.canInspect(properties)) {
return properties;
}
CfnDocumentPropsValidator(properties).assertSuccess();
return {
Content: cdk.objectToCloudFormation(properties.content),
Attachments: cdk.listMapper(cfnDocumentAttachme... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function cfnDocumentDocumentRequiresPropertyToCloudFormation(properties) {\n if (!cdk.canInspect(properties)) {\n return properties;\n }\n CfnDocument_DocumentRequiresPropertyValidator(properties).assertSuccess();\n return {\n Name: cdk.stringToCloudFormation(properties.name),\n Ve... | [
"0.58693177",
"0.5495663",
"0.5490272",
"0.54831463",
"0.5419194",
"0.53740144",
"0.52976716",
"0.52609617",
"0.5247777",
"0.5247777",
"0.5196143",
"0.5153168",
"0.51520526",
"0.51210976",
"0.50881505",
"0.5079067",
"0.50565934",
"0.5048708",
"0.50482017",
"0.5039981",
"0.503... | 0.5518331 | 1 |
Determine whether the given properties match those of a `AttachmentsSourceProperty` | function CfnDocument_AttachmentsSourcePropertyValidator(properties) {
if (!cdk.canInspect(properties)) {
return cdk.VALIDATION_SUCCESS;
}
const errors = new cdk.ValidationResults();
if (typeof properties !== 'object') {
errors.collect(new cdk.ValidationResult('Expected an object, but rec... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"matches(properties) {\n for (const type in properties) {\n const component = this.component(type);\n if (!component.exists())\n return false;\n for (const key in properties[type]) {\n const value = properties[type][key];\n if (component.property(ke... | [
"0.6591419",
"0.61978555",
"0.60038143",
"0.57513845",
"0.57124865",
"0.55931854",
"0.5591445",
"0.558711",
"0.5565164",
"0.55502033",
"0.5533874",
"0.5528299",
"0.5528299",
"0.5501985",
"0.55014664",
"0.549377",
"0.54604137",
"0.54464686",
"0.5432711",
"0.5424741",
"0.541826... | 0.72533274 | 0 |
Renders the AWS CloudFormation properties of an `AWS::SSM::Document.AttachmentsSource` resource | function cfnDocumentAttachmentsSourcePropertyToCloudFormation(properties) {
if (!cdk.canInspect(properties)) {
return properties;
}
CfnDocument_AttachmentsSourcePropertyValidator(properties).assertSuccess();
return {
Key: cdk.stringToCloudFormation(properties.key),
Name: cdk.stri... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"get attachmentsSourceInput() {\n return this._attachmentsSource;\n }",
"function CfnDocument_AttachmentsSourcePropertyValidator(properties) {\n if (!cdk.canInspect(properties)) {\n return cdk.VALIDATION_SUCCESS;\n }\n const errors = new cdk.ValidationResults();\n if (typeof propertie... | [
"0.5550867",
"0.55235815",
"0.54198045",
"0.5388347",
"0.53638035",
"0.50580037",
"0.5025112",
"0.4977448",
"0.49515542",
"0.4944882",
"0.49136126",
"0.48550037",
"0.4832402",
"0.48226961",
"0.4782261",
"0.47500935",
"0.4733865",
"0.47061396",
"0.4695406",
"0.46912298",
"0.46... | 0.65035874 | 0 |
Determine whether the given properties match those of a `DocumentRequiresProperty` | function CfnDocument_DocumentRequiresPropertyValidator(properties) {
if (!cdk.canInspect(properties)) {
return cdk.VALIDATION_SUCCESS;
}
const errors = new cdk.ValidationResults();
if (typeof properties !== 'object') {
errors.collect(new cdk.ValidationResult('Expected an object, but rece... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"matches(properties) {\n for (const type in properties) {\n const component = this.component(type);\n if (!component.exists())\n return false;\n for (const key in properties[type]) {\n const value = properties[type][key];\n if (component.property(ke... | [
"0.67359126",
"0.66480786",
"0.65838355",
"0.63686544",
"0.6362247",
"0.6254965",
"0.624422",
"0.62330467",
"0.61336726",
"0.61209965",
"0.61149",
"0.607582",
"0.60691357",
"0.60372955",
"0.6003523",
"0.5992657",
"0.59893817",
"0.5979835",
"0.59449923",
"0.5935423",
"0.592784... | 0.74124146 | 0 |
Renders the AWS CloudFormation properties of an `AWS::SSM::Document.DocumentRequires` resource | function cfnDocumentDocumentRequiresPropertyToCloudFormation(properties) {
if (!cdk.canInspect(properties)) {
return properties;
}
CfnDocument_DocumentRequiresPropertyValidator(properties).assertSuccess();
return {
Name: cdk.stringToCloudFormation(properties.name),
Version: cdk.s... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function CfnDocument_DocumentRequiresPropertyValidator(properties) {\n if (!cdk.canInspect(properties)) {\n return cdk.VALIDATION_SUCCESS;\n }\n const errors = new cdk.ValidationResults();\n if (typeof properties !== 'object') {\n errors.collect(new cdk.ValidationResult('Expected an objec... | [
"0.54994017",
"0.4832941",
"0.47991583",
"0.47712418",
"0.47189057",
"0.46933046",
"0.4671856",
"0.46637708",
"0.46228924",
"0.4586256",
"0.4586256",
"0.4586256",
"0.4586256",
"0.4586256",
"0.4586256",
"0.4586256",
"0.4586256",
"0.4586256",
"0.4586256",
"0.4586256",
"0.458625... | 0.61614496 | 0 |
Determine whether the given properties match those of a `CfnMaintenanceWindowProps` | function CfnMaintenanceWindowPropsValidator(properties) {
if (!cdk.canInspect(properties)) {
return cdk.VALIDATION_SUCCESS;
}
const errors = new cdk.ValidationResults();
if (typeof properties !== 'object') {
errors.collect(new cdk.ValidationResult('Expected an object, but received: ' + J... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function CfnMaintenanceWindowTargetPropsValidator(properties) {\n if (!cdk.canInspect(properties)) {\n return cdk.VALIDATION_SUCCESS;\n }\n const errors = new cdk.ValidationResults();\n if (typeof properties !== 'object') {\n errors.collect(new cdk.ValidationResult('Expected an object, bu... | [
"0.6967957",
"0.6210474",
"0.6035267",
"0.5863801",
"0.5863801",
"0.58528256",
"0.57242674",
"0.56846327",
"0.5660728",
"0.5637941",
"0.5526801",
"0.55218685",
"0.5521727",
"0.5470001",
"0.54620457",
"0.5446667",
"0.54431987",
"0.5438979",
"0.5419204",
"0.5363354",
"0.5357445... | 0.71455526 | 0 |
Renders the AWS CloudFormation properties of an `AWS::SSM::MaintenanceWindow` resource | function cfnMaintenanceWindowPropsToCloudFormation(properties) {
if (!cdk.canInspect(properties)) {
return properties;
}
CfnMaintenanceWindowPropsValidator(properties).assertSuccess();
return {
AllowUnassociatedTargets: cdk.booleanToCloudFormation(properties.allowUnassociatedTargets),
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function cfnMaintenanceWindowTaskPropsToCloudFormation(properties) {\n if (!cdk.canInspect(properties)) {\n return properties;\n }\n CfnMaintenanceWindowTaskPropsValidator(properties).assertSuccess();\n return {\n Priority: cdk.numberToCloudFormation(properties.priority),\n TaskArn... | [
"0.5972497",
"0.5915473",
"0.5724759",
"0.5714632",
"0.54716086",
"0.5428213",
"0.5427283",
"0.53188825",
"0.5193064",
"0.5172971",
"0.51699907",
"0.5084495",
"0.5076441",
"0.50361246",
"0.49858403",
"0.49576876",
"0.495645",
"0.49110034",
"0.49095297",
"0.4889263",
"0.483898... | 0.6385851 | 0 |
Create a new `AWS::SSM::MaintenanceWindow`. | constructor(scope, id, props) {
super(scope, id, { type: CfnMaintenanceWindow.CFN_RESOURCE_TYPE_NAME, properties: props });
try {
jsiiDeprecationWarnings.aws_cdk_lib_aws_ssm_CfnMaintenanceWindowProps(props);
}
catch (error) {
if (process.env.JSII_DEBUG !== "1" && ... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function makeTimeWindow(timeWindow) {\n var result = schemas.timeWindow.validate(timeWindow);\n if (result.error !== null) {\n throw result.error;\n }\n\n var tw = result.value;\n return jsprit.TimeWindow.newInstance(tw.start, tw.end);\n}",
"static _fromCloudFormation(scope, id, resourceAtt... | [
"0.5642192",
"0.55252373",
"0.5226346",
"0.5054602",
"0.5017177",
"0.49437037",
"0.4941372",
"0.49179873",
"0.49109262",
"0.4901105",
"0.48530015",
"0.4799053",
"0.47735438",
"0.4764595",
"0.47486588",
"0.4745376",
"0.4732125",
"0.47291443",
"0.47289377",
"0.47181517",
"0.471... | 0.56381035 | 1 |
Determine whether the given properties match those of a `CfnMaintenanceWindowTargetProps` | function CfnMaintenanceWindowTargetPropsValidator(properties) {
if (!cdk.canInspect(properties)) {
return cdk.VALIDATION_SUCCESS;
}
const errors = new cdk.ValidationResults();
if (typeof properties !== 'object') {
errors.collect(new cdk.ValidationResult('Expected an object, but received:... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function CfnMaintenanceWindowPropsValidator(properties) {\n if (!cdk.canInspect(properties)) {\n return cdk.VALIDATION_SUCCESS;\n }\n const errors = new cdk.ValidationResults();\n if (typeof properties !== 'object') {\n errors.collect(new cdk.ValidationResult('Expected an object, but rece... | [
"0.6655723",
"0.6488443",
"0.64866495",
"0.63234174",
"0.6233829",
"0.5824829",
"0.57125854",
"0.5595405",
"0.5595405",
"0.54065186",
"0.53678834",
"0.53117555",
"0.5302445",
"0.52423155",
"0.5160779",
"0.51487005",
"0.51380384",
"0.5120956",
"0.50927824",
"0.5074344",
"0.506... | 0.74974585 | 0 |
Renders the AWS CloudFormation properties of an `AWS::SSM::MaintenanceWindowTarget` resource | function cfnMaintenanceWindowTargetPropsToCloudFormation(properties) {
if (!cdk.canInspect(properties)) {
return properties;
}
CfnMaintenanceWindowTargetPropsValidator(properties).assertSuccess();
return {
ResourceType: cdk.stringToCloudFormation(properties.resourceType),
Targets... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function cfnMaintenanceWindowPropsToCloudFormation(properties) {\n if (!cdk.canInspect(properties)) {\n return properties;\n }\n CfnMaintenanceWindowPropsValidator(properties).assertSuccess();\n return {\n AllowUnassociatedTargets: cdk.booleanToCloudFormation(properties.allowUnassociatedT... | [
"0.6113829",
"0.6017754",
"0.59418744",
"0.57827955",
"0.5778514",
"0.55180234",
"0.52834654",
"0.52830243",
"0.52755624",
"0.527136",
"0.51981574",
"0.5133449",
"0.5126132",
"0.5036978",
"0.49603626",
"0.49413493",
"0.48910442",
"0.48886952",
"0.4883493",
"0.4869367",
"0.481... | 0.67173725 | 0 |
Create a new `AWS::SSM::MaintenanceWindowTarget`. | constructor(scope, id, props) {
super(scope, id, { type: CfnMaintenanceWindowTarget.CFN_RESOURCE_TYPE_NAME, properties: props });
try {
jsiiDeprecationWarnings.aws_cdk_lib_aws_ssm_CfnMaintenanceWindowTargetProps(props);
}
catch (error) {
if (process.env.JSII_DEBUG... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"static _fromCloudFormation(scope, id, resourceAttributes, options) {\n resourceAttributes = resourceAttributes || {};\n const resourceProperties = options.parser.parseValue(resourceAttributes.Properties);\n const propsResult = CfnMaintenanceWindowTargetPropsFromCloudFormation(resourcePropertie... | [
"0.56979024",
"0.54043233",
"0.5170824",
"0.51532453",
"0.50988966",
"0.49413502",
"0.49021873",
"0.48033524",
"0.47996804",
"0.46832767",
"0.46644413",
"0.46084216",
"0.45475063",
"0.45159256",
"0.4497385",
"0.44457734",
"0.4430948",
"0.4425128",
"0.4405509",
"0.43828675",
"... | 0.5496679 | 1 |
Renders the AWS CloudFormation properties of an `AWS::SSM::MaintenanceWindowTarget.Targets` resource | function cfnMaintenanceWindowTargetTargetsPropertyToCloudFormation(properties) {
if (!cdk.canInspect(properties)) {
return properties;
}
CfnMaintenanceWindowTarget_TargetsPropertyValidator(properties).assertSuccess();
return {
Key: cdk.stringToCloudFormation(properties.key),
Valu... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function cfnMaintenanceWindowTargetPropsToCloudFormation(properties) {\n if (!cdk.canInspect(properties)) {\n return properties;\n }\n CfnMaintenanceWindowTargetPropsValidator(properties).assertSuccess();\n return {\n ResourceType: cdk.stringToCloudFormation(properties.resourceType),\n ... | [
"0.6646585",
"0.61591727",
"0.5982553",
"0.5405856",
"0.529993",
"0.52941006",
"0.5289574",
"0.52460474",
"0.5245061",
"0.5187597",
"0.51811373",
"0.5177569",
"0.50844187",
"0.5021799",
"0.5010766",
"0.48763534",
"0.48566836",
"0.4839248",
"0.48368368",
"0.48237675",
"0.47528... | 0.67280287 | 0 |
Determine whether the given properties match those of a `CfnMaintenanceWindowTaskProps` | function CfnMaintenanceWindowTaskPropsValidator(properties) {
if (!cdk.canInspect(properties)) {
return cdk.VALIDATION_SUCCESS;
}
const errors = new cdk.ValidationResults();
if (typeof properties !== 'object') {
errors.collect(new cdk.ValidationResult('Expected an object, but received: '... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function CfnMaintenanceWindowPropsValidator(properties) {\n if (!cdk.canInspect(properties)) {\n return cdk.VALIDATION_SUCCESS;\n }\n const errors = new cdk.ValidationResults();\n if (typeof properties !== 'object') {\n errors.collect(new cdk.ValidationResult('Expected an object, but rece... | [
"0.6681449",
"0.6651506",
"0.6332967",
"0.61982405",
"0.6037221",
"0.6020192",
"0.59156984",
"0.5767984",
"0.5741288",
"0.5741288",
"0.5734251",
"0.56201005",
"0.55688655",
"0.5529516",
"0.5523991",
"0.5520099",
"0.55196244",
"0.55095917",
"0.54686815",
"0.5430535",
"0.536984... | 0.7144518 | 0 |
Renders the AWS CloudFormation properties of an `AWS::SSM::MaintenanceWindowTask` resource | function cfnMaintenanceWindowTaskPropsToCloudFormation(properties) {
if (!cdk.canInspect(properties)) {
return properties;
}
CfnMaintenanceWindowTaskPropsValidator(properties).assertSuccess();
return {
Priority: cdk.numberToCloudFormation(properties.priority),
TaskArn: cdk.string... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function cfnMaintenanceWindowTaskTaskInvocationParametersPropertyToCloudFormation(properties) {\n if (!cdk.canInspect(properties)) {\n return properties;\n }\n CfnMaintenanceWindowTask_TaskInvocationParametersPropertyValidator(properties).assertSuccess();\n return {\n MaintenanceWindowAut... | [
"0.5941871",
"0.58448434",
"0.582992",
"0.5629269",
"0.55756754",
"0.54629993",
"0.53653675",
"0.5356982",
"0.5330291",
"0.53262794",
"0.5297213",
"0.5291244",
"0.5255491",
"0.51308143",
"0.50808793",
"0.50720733",
"0.50515366",
"0.50184256",
"0.49881166",
"0.4893296",
"0.488... | 0.66950256 | 0 |
Create a new `AWS::SSM::MaintenanceWindowTask`. | constructor(scope, id, props) {
super(scope, id, { type: CfnMaintenanceWindowTask.CFN_RESOURCE_TYPE_NAME, properties: props });
try {
jsiiDeprecationWarnings.aws_cdk_lib_aws_ssm_CfnMaintenanceWindowTaskProps(props);
}
catch (error) {
if (process.env.JSII_DEBUG !==... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"static _fromCloudFormation(scope, id, resourceAttributes, options) {\n resourceAttributes = resourceAttributes || {};\n const resourceProperties = options.parser.parseValue(resourceAttributes.Properties);\n const propsResult = CfnMaintenanceWindowTaskPropsFromCloudFormation(resourceProperties)... | [
"0.5910393",
"0.57978183",
"0.5482903",
"0.54651314",
"0.5454443",
"0.5355855",
"0.5257292",
"0.5225603",
"0.5145441",
"0.51395464",
"0.5093951",
"0.49983773",
"0.49786967",
"0.49599373",
"0.49218336",
"0.49005467",
"0.48950964",
"0.48939967",
"0.4889809",
"0.48839647",
"0.48... | 0.6091987 | 0 |
Determine whether the given properties match those of a `CloudWatchOutputConfigProperty` | function CfnMaintenanceWindowTask_CloudWatchOutputConfigPropertyValidator(properties) {
if (!cdk.canInspect(properties)) {
return cdk.VALIDATION_SUCCESS;
}
const errors = new cdk.ValidationResults();
if (typeof properties !== 'object') {
errors.collect(new cdk.ValidationResult('Expected ... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"matches(properties) {\n for (const type in properties) {\n const component = this.component(type);\n if (!component.exists())\n return false;\n for (const key in properties[type]) {\n const value = properties[type][key];\n if (component.property(ke... | [
"0.65783393",
"0.59861857",
"0.59222925",
"0.5826964",
"0.5818687",
"0.57308143",
"0.57275385",
"0.5724251",
"0.56993604",
"0.56715465",
"0.56379044",
"0.557843",
"0.5557915",
"0.5546408",
"0.55331796",
"0.55271006",
"0.5525807",
"0.55097044",
"0.5504396",
"0.5503905",
"0.548... | 0.70487577 | 0 |
Renders the AWS CloudFormation properties of an `AWS::SSM::MaintenanceWindowTask.CloudWatchOutputConfig` resource | function cfnMaintenanceWindowTaskCloudWatchOutputConfigPropertyToCloudFormation(properties) {
if (!cdk.canInspect(properties)) {
return properties;
}
CfnMaintenanceWindowTask_CloudWatchOutputConfigPropertyValidator(properties).assertSuccess();
return {
CloudWatchLogGroupName: cdk.stringT... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function CfnMaintenanceWindowTask_CloudWatchOutputConfigPropertyValidator(properties) {\n if (!cdk.canInspect(properties)) {\n return cdk.VALIDATION_SUCCESS;\n }\n const errors = new cdk.ValidationResults();\n if (typeof properties !== 'object') {\n errors.collect(new cdk.ValidationResult... | [
"0.6156372",
"0.5647098",
"0.5434219",
"0.53937685",
"0.53183496",
"0.52101874",
"0.51174885",
"0.51044375",
"0.5094611",
"0.5074921",
"0.5060044",
"0.5040325",
"0.5031825",
"0.5021248",
"0.50076383",
"0.49593472",
"0.49402863",
"0.49264234",
"0.4917142",
"0.49029434",
"0.486... | 0.7087344 | 0 |
Determine whether the given properties match those of a `LoggingInfoProperty` | function CfnMaintenanceWindowTask_LoggingInfoPropertyValidator(properties) {
if (!cdk.canInspect(properties)) {
return cdk.VALIDATION_SUCCESS;
}
const errors = new cdk.ValidationResults();
if (typeof properties !== 'object') {
errors.collect(new cdk.ValidationResult('Expected an object, ... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"matches(properties) {\n for (const type in properties) {\n const component = this.component(type);\n if (!component.exists())\n return false;\n for (const key in properties[type]) {\n const value = properties[type][key];\n if (component.property(ke... | [
"0.6465847",
"0.6459784",
"0.62173355",
"0.61385804",
"0.5954008",
"0.5889759",
"0.58327633",
"0.5819682",
"0.57594997",
"0.5706875",
"0.56766343",
"0.56036794",
"0.559544",
"0.5575035",
"0.5484696",
"0.5482076",
"0.5482076",
"0.5458893",
"0.54437566",
"0.5435061",
"0.5422971... | 0.6609426 | 0 |
Renders the AWS CloudFormation properties of an `AWS::SSM::MaintenanceWindowTask.LoggingInfo` resource | function cfnMaintenanceWindowTaskLoggingInfoPropertyToCloudFormation(properties) {
if (!cdk.canInspect(properties)) {
return properties;
}
CfnMaintenanceWindowTask_LoggingInfoPropertyValidator(properties).assertSuccess();
return {
Region: cdk.stringToCloudFormation(properties.region),
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function CfnMaintenanceWindowTask_LoggingInfoPropertyValidator(properties) {\n if (!cdk.canInspect(properties)) {\n return cdk.VALIDATION_SUCCESS;\n }\n const errors = new cdk.ValidationResults();\n if (typeof properties !== 'object') {\n errors.collect(new cdk.ValidationResult('Expected ... | [
"0.54232544",
"0.5161831",
"0.49910906",
"0.49737257",
"0.49468273",
"0.48852062",
"0.48438618",
"0.48438618",
"0.4840554",
"0.48041004",
"0.4775612",
"0.47721747",
"0.47024906",
"0.46984592",
"0.46979856",
"0.46851733",
"0.4678213",
"0.46477214",
"0.46456215",
"0.464044",
"0... | 0.6347409 | 0 |
Determine whether the given properties match those of a `MaintenanceWindowAutomationParametersProperty` | function CfnMaintenanceWindowTask_MaintenanceWindowAutomationParametersPropertyValidator(properties) {
if (!cdk.canInspect(properties)) {
return cdk.VALIDATION_SUCCESS;
}
const errors = new cdk.ValidationResults();
if (typeof properties !== 'object') {
errors.collect(new cdk.ValidationRe... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function CfnMaintenanceWindowTask_TaskInvocationParametersPropertyValidator(properties) {\n if (!cdk.canInspect(properties)) {\n return cdk.VALIDATION_SUCCESS;\n }\n const errors = new cdk.ValidationResults();\n if (typeof properties !== 'object') {\n errors.collect(new cdk.ValidationResu... | [
"0.6422958",
"0.6421166",
"0.63309044",
"0.60837954",
"0.6068611",
"0.590698",
"0.57853466",
"0.5752443",
"0.567536",
"0.5594961",
"0.55872935",
"0.55540067",
"0.55487436",
"0.55405205",
"0.55303055",
"0.55073327",
"0.5462113",
"0.5380939",
"0.52893895",
"0.5286547",
"0.52706... | 0.7277102 | 0 |
Renders the AWS CloudFormation properties of an `AWS::SSM::MaintenanceWindowTask.MaintenanceWindowAutomationParameters` resource | function cfnMaintenanceWindowTaskMaintenanceWindowAutomationParametersPropertyToCloudFormation(properties) {
if (!cdk.canInspect(properties)) {
return properties;
}
CfnMaintenanceWindowTask_MaintenanceWindowAutomationParametersPropertyValidator(properties).assertSuccess();
return {
Docum... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function cfnMaintenanceWindowTaskMaintenanceWindowRunCommandParametersPropertyToCloudFormation(properties) {\n if (!cdk.canInspect(properties)) {\n return properties;\n }\n CfnMaintenanceWindowTask_MaintenanceWindowRunCommandParametersPropertyValidator(properties).assertSuccess();\n return {\n ... | [
"0.65229326",
"0.62961733",
"0.5856356",
"0.5740605",
"0.56139356",
"0.55156565",
"0.55087984",
"0.52649844",
"0.522483",
"0.51759094",
"0.508254",
"0.49838474",
"0.49363562",
"0.49301863",
"0.4886125",
"0.48724765",
"0.48491296",
"0.4832343",
"0.48284072",
"0.48274305",
"0.4... | 0.6750762 | 0 |
Determine whether the given properties match those of a `MaintenanceWindowLambdaParametersProperty` | function CfnMaintenanceWindowTask_MaintenanceWindowLambdaParametersPropertyValidator(properties) {
if (!cdk.canInspect(properties)) {
return cdk.VALIDATION_SUCCESS;
}
const errors = new cdk.ValidationResults();
if (typeof properties !== 'object') {
errors.collect(new cdk.ValidationResult... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function CfnMaintenanceWindowTask_TaskInvocationParametersPropertyValidator(properties) {\n if (!cdk.canInspect(properties)) {\n return cdk.VALIDATION_SUCCESS;\n }\n const errors = new cdk.ValidationResults();\n if (typeof properties !== 'object') {\n errors.collect(new cdk.ValidationResu... | [
"0.68338615",
"0.6819552",
"0.6567551",
"0.6422473",
"0.64032644",
"0.6288704",
"0.6263366",
"0.62491405",
"0.605647",
"0.59735674",
"0.5961359",
"0.59314203",
"0.5916943",
"0.58991015",
"0.589838",
"0.58888584",
"0.58821064",
"0.5834542",
"0.5810559",
"0.57944894",
"0.578918... | 0.7583582 | 0 |
Renders the AWS CloudFormation properties of an `AWS::SSM::MaintenanceWindowTask.MaintenanceWindowLambdaParameters` resource | function cfnMaintenanceWindowTaskMaintenanceWindowLambdaParametersPropertyToCloudFormation(properties) {
if (!cdk.canInspect(properties)) {
return properties;
}
CfnMaintenanceWindowTask_MaintenanceWindowLambdaParametersPropertyValidator(properties).assertSuccess();
return {
ClientContext... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function cfnMaintenanceWindowTaskMaintenanceWindowRunCommandParametersPropertyToCloudFormation(properties) {\n if (!cdk.canInspect(properties)) {\n return properties;\n }\n CfnMaintenanceWindowTask_MaintenanceWindowRunCommandParametersPropertyValidator(properties).assertSuccess();\n return {\n ... | [
"0.6770687",
"0.66279167",
"0.6466913",
"0.6339926",
"0.60739315",
"0.59999716",
"0.5777152",
"0.56636393",
"0.55429345",
"0.54390395",
"0.54346454",
"0.5324213",
"0.53062534",
"0.52707446",
"0.5269021",
"0.5195135",
"0.5163807",
"0.5148384",
"0.5141212",
"0.5135743",
"0.5127... | 0.7375638 | 0 |
Determine whether the given properties match those of a `MaintenanceWindowRunCommandParametersProperty` | function CfnMaintenanceWindowTask_MaintenanceWindowRunCommandParametersPropertyValidator(properties) {
if (!cdk.canInspect(properties)) {
return cdk.VALIDATION_SUCCESS;
}
const errors = new cdk.ValidationResults();
if (typeof properties !== 'object') {
errors.collect(new cdk.ValidationRe... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function CfnMaintenanceWindowTask_MaintenanceWindowAutomationParametersPropertyValidator(properties) {\n if (!cdk.canInspect(properties)) {\n return cdk.VALIDATION_SUCCESS;\n }\n const errors = new cdk.ValidationResults();\n if (typeof properties !== 'object') {\n errors.collect(new cdk.V... | [
"0.6955346",
"0.6769299",
"0.60266346",
"0.5992419",
"0.59899926",
"0.597609",
"0.590037",
"0.577972",
"0.5748781",
"0.573641",
"0.5637889",
"0.56272566",
"0.5383872",
"0.53530616",
"0.5348287",
"0.53432",
"0.52731746",
"0.52648383",
"0.5207483",
"0.519605",
"0.51413536",
"... | 0.7292044 | 0 |
Renders the AWS CloudFormation properties of an `AWS::SSM::MaintenanceWindowTask.MaintenanceWindowRunCommandParameters` resource | function cfnMaintenanceWindowTaskMaintenanceWindowRunCommandParametersPropertyToCloudFormation(properties) {
if (!cdk.canInspect(properties)) {
return properties;
}
CfnMaintenanceWindowTask_MaintenanceWindowRunCommandParametersPropertyValidator(properties).assertSuccess();
return {
Cloud... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function CfnMaintenanceWindowTask_MaintenanceWindowRunCommandParametersPropertyValidator(properties) {\n if (!cdk.canInspect(properties)) {\n return cdk.VALIDATION_SUCCESS;\n }\n const errors = new cdk.ValidationResults();\n if (typeof properties !== 'object') {\n errors.collect(new cdk.V... | [
"0.6261192",
"0.62516224",
"0.60115504",
"0.56631744",
"0.5640639",
"0.53568935",
"0.5323627",
"0.5237397",
"0.506699",
"0.49862513",
"0.495703",
"0.49467543",
"0.49353108",
"0.48095697",
"0.47215897",
"0.47077683",
"0.47021082",
"0.4664787",
"0.46597734",
"0.46338335",
"0.46... | 0.7424571 | 0 |
Determine whether the given properties match those of a `MaintenanceWindowStepFunctionsParametersProperty` | function CfnMaintenanceWindowTask_MaintenanceWindowStepFunctionsParametersPropertyValidator(properties) {
if (!cdk.canInspect(properties)) {
return cdk.VALIDATION_SUCCESS;
}
const errors = new cdk.ValidationResults();
if (typeof properties !== 'object') {
errors.collect(new cdk.Validatio... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function CfnMaintenanceWindowTask_MaintenanceWindowAutomationParametersPropertyValidator(properties) {\n if (!cdk.canInspect(properties)) {\n return cdk.VALIDATION_SUCCESS;\n }\n const errors = new cdk.ValidationResults();\n if (typeof properties !== 'object') {\n errors.collect(new cdk.V... | [
"0.68022907",
"0.668033",
"0.6623003",
"0.6347287",
"0.6333324",
"0.6265645",
"0.61341625",
"0.60943866",
"0.60710865",
"0.6062949",
"0.6039305",
"0.60037476",
"0.5956141",
"0.5947971",
"0.59438044",
"0.5915519",
"0.58391386",
"0.58365107",
"0.57928777",
"0.5768271",
"0.57420... | 0.74295473 | 0 |
Renders the AWS CloudFormation properties of an `AWS::SSM::MaintenanceWindowTask.MaintenanceWindowStepFunctionsParameters` resource | function cfnMaintenanceWindowTaskMaintenanceWindowStepFunctionsParametersPropertyToCloudFormation(properties) {
if (!cdk.canInspect(properties)) {
return properties;
}
CfnMaintenanceWindowTask_MaintenanceWindowStepFunctionsParametersPropertyValidator(properties).assertSuccess();
return {
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function cfnMaintenanceWindowTaskMaintenanceWindowLambdaParametersPropertyToCloudFormation(properties) {\n if (!cdk.canInspect(properties)) {\n return properties;\n }\n CfnMaintenanceWindowTask_MaintenanceWindowLambdaParametersPropertyValidator(properties).assertSuccess();\n return {\n Cl... | [
"0.6396634",
"0.6333197",
"0.626461",
"0.6178379",
"0.6136033",
"0.5973188",
"0.5973188",
"0.591355",
"0.5754575",
"0.57315326",
"0.55962765",
"0.555336",
"0.55523753",
"0.55523753",
"0.54902655",
"0.5470909",
"0.5451451",
"0.5438852",
"0.5438852",
"0.53528917",
"0.535235",
... | 0.7378974 | 0 |
Determine whether the given properties match those of a `NotificationConfigProperty` | function CfnMaintenanceWindowTask_NotificationConfigPropertyValidator(properties) {
if (!cdk.canInspect(properties)) {
return cdk.VALIDATION_SUCCESS;
}
const errors = new cdk.ValidationResults();
if (typeof properties !== 'object') {
errors.collect(new cdk.ValidationResult('Expected an o... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"matches(properties) {\n for (const type in properties) {\n const component = this.component(type);\n if (!component.exists())\n return false;\n for (const key in properties[type]) {\n const value = properties[type][key];\n if (component.property(ke... | [
"0.69028664",
"0.64550626",
"0.61952215",
"0.60759753",
"0.6047443",
"0.59288085",
"0.59104484",
"0.5909432",
"0.58788913",
"0.5876239",
"0.5864519",
"0.5853103",
"0.58450735",
"0.58439434",
"0.58147025",
"0.5789734",
"0.5773885",
"0.5765867",
"0.5753602",
"0.57418275",
"0.57... | 0.67730117 | 1 |
Renders the AWS CloudFormation properties of an `AWS::SSM::MaintenanceWindowTask.NotificationConfig` resource | function cfnMaintenanceWindowTaskNotificationConfigPropertyToCloudFormation(properties) {
if (!cdk.canInspect(properties)) {
return properties;
}
CfnMaintenanceWindowTask_NotificationConfigPropertyValidator(properties).assertSuccess();
return {
NotificationArn: cdk.stringToCloudFormation... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function cfnMaintenanceWindowTaskCloudWatchOutputConfigPropertyToCloudFormation(properties) {\n if (!cdk.canInspect(properties)) {\n return properties;\n }\n CfnMaintenanceWindowTask_CloudWatchOutputConfigPropertyValidator(properties).assertSuccess();\n return {\n CloudWatchLogGroupName: ... | [
"0.6077273",
"0.6013545",
"0.564665",
"0.5615532",
"0.56121355",
"0.5574913",
"0.5555849",
"0.554195",
"0.5528953",
"0.5481625",
"0.54076",
"0.5357146",
"0.52739066",
"0.5251939",
"0.5238217",
"0.52220094",
"0.52212894",
"0.5120412",
"0.5113898",
"0.5071489",
"0.50694025",
... | 0.684444 | 0 |
Renders the AWS CloudFormation properties of an `AWS::SSM::MaintenanceWindowTask.Target` resource | function cfnMaintenanceWindowTaskTargetPropertyToCloudFormation(properties) {
if (!cdk.canInspect(properties)) {
return properties;
}
CfnMaintenanceWindowTask_TargetPropertyValidator(properties).assertSuccess();
return {
Key: cdk.stringToCloudFormation(properties.key),
Values: cd... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function cfnMaintenanceWindowTargetPropsToCloudFormation(properties) {\n if (!cdk.canInspect(properties)) {\n return properties;\n }\n CfnMaintenanceWindowTargetPropsValidator(properties).assertSuccess();\n return {\n ResourceType: cdk.stringToCloudFormation(properties.resourceType),\n ... | [
"0.63951284",
"0.607312",
"0.59353054",
"0.5587556",
"0.548654",
"0.5281469",
"0.5269589",
"0.5245381",
"0.5215872",
"0.5192368",
"0.51897746",
"0.5159562",
"0.50881225",
"0.5057603",
"0.49880043",
"0.4900342",
"0.48846143",
"0.48724365",
"0.4841122",
"0.4835166",
"0.48345694... | 0.6561809 | 0 |
Determine whether the given properties match those of a `TaskInvocationParametersProperty` | function CfnMaintenanceWindowTask_TaskInvocationParametersPropertyValidator(properties) {
if (!cdk.canInspect(properties)) {
return cdk.VALIDATION_SUCCESS;
}
const errors = new cdk.ValidationResults();
if (typeof properties !== 'object') {
errors.collect(new cdk.ValidationResult('Expecte... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"matches(properties) {\n for (const type in properties) {\n const component = this.component(type);\n if (!component.exists())\n return false;\n for (const key in properties[type]) {\n const value = properties[type][key];\n if (component.property(ke... | [
"0.6225381",
"0.56537384",
"0.56523234",
"0.5525041",
"0.55237454",
"0.54727995",
"0.5407688",
"0.53313136",
"0.52930397",
"0.5291653",
"0.52579343",
"0.5246861",
"0.5243762",
"0.5230084",
"0.5198438",
"0.51690125",
"0.51621735",
"0.5158042",
"0.5147324",
"0.5140279",
"0.5126... | 0.6674131 | 0 |
Renders the AWS CloudFormation properties of an `AWS::SSM::MaintenanceWindowTask.TaskInvocationParameters` resource | function cfnMaintenanceWindowTaskTaskInvocationParametersPropertyToCloudFormation(properties) {
if (!cdk.canInspect(properties)) {
return properties;
}
CfnMaintenanceWindowTask_TaskInvocationParametersPropertyValidator(properties).assertSuccess();
return {
MaintenanceWindowAutomationPara... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function cfnMaintenanceWindowTaskMaintenanceWindowRunCommandParametersPropertyToCloudFormation(properties) {\n if (!cdk.canInspect(properties)) {\n return properties;\n }\n CfnMaintenanceWindowTask_MaintenanceWindowRunCommandParametersPropertyValidator(properties).assertSuccess();\n return {\n ... | [
"0.60208166",
"0.57461184",
"0.5644739",
"0.55566084",
"0.5430378",
"0.54010975",
"0.52114975",
"0.5158856",
"0.5112215",
"0.50656796",
"0.50467265",
"0.49344867",
"0.48421392",
"0.47920474",
"0.47434896",
"0.47274464",
"0.47084075",
"0.46900773",
"0.46672958",
"0.46488526",
... | 0.68493456 | 0 |
Determine whether the given properties match those of a `CfnParameterProps` | function CfnParameterPropsValidator(properties) {
if (!cdk.canInspect(properties)) {
return cdk.VALIDATION_SUCCESS;
}
const errors = new cdk.ValidationResults();
if (typeof properties !== 'object') {
errors.collect(new cdk.ValidationResult('Expected an object, but received: ' + JSON.stri... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"matches(properties) {\n for (const type in properties) {\n const component = this.component(type);\n if (!component.exists())\n return false;\n for (const key in properties[type]) {\n const value = properties[type][key];\n if (component.property(ke... | [
"0.67840016",
"0.64230144",
"0.6325247",
"0.630121",
"0.6274113",
"0.617968",
"0.617968",
"0.61362994",
"0.6075138",
"0.60491234",
"0.60106456",
"0.598969",
"0.5944616",
"0.5915233",
"0.5889435",
"0.5850894",
"0.58437324",
"0.58330154",
"0.58294773",
"0.5818033",
"0.57962674"... | 0.7040379 | 0 |
Create a new `AWS::SSM::Parameter`. | constructor(scope, id, props) {
super(scope, id, { type: CfnParameter.CFN_RESOURCE_TYPE_NAME, properties: props });
try {
jsiiDeprecationWarnings.aws_cdk_lib_aws_ssm_CfnParameterProps(props);
}
catch (error) {
if (process.env.JSII_DEBUG !== "1" && error.name === "... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function Param(paramObj) {\n this.paramObj = paramObj;\n let props = paramObj._impl;\n this.dataType = props.$dataType;\n this.name = props.$name;\n this.value = props.$currentValue.value;\n this.formattedValue = props.$currentValue.formattedValue;\n }",
"function Parameter() {}",
"function ... | [
"0.56778353",
"0.55589837",
"0.5543479",
"0.5543479",
"0.53712815",
"0.5364954",
"0.52841187",
"0.52084583",
"0.5202204",
"0.51634073",
"0.51206696",
"0.5039633",
"0.49940026",
"0.49758378",
"0.4963188",
"0.49401814",
"0.49401814",
"0.4884166",
"0.4864199",
"0.48505816",
"0.4... | 0.6124753 | 0 |
Determine whether the given properties match those of a `CfnPatchBaselineProps` | function CfnPatchBaselinePropsValidator(properties) {
if (!cdk.canInspect(properties)) {
return cdk.VALIDATION_SUCCESS;
}
const errors = new cdk.ValidationResults();
if (typeof properties !== 'object') {
errors.collect(new cdk.ValidationResult('Expected an object, but received: ' + JSON.... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function cfnPatchBaselinePropsToCloudFormation(properties) {\n if (!cdk.canInspect(properties)) {\n return properties;\n }\n CfnPatchBaselinePropsValidator(properties).assertSuccess();\n return {\n Name: cdk.stringToCloudFormation(properties.name),\n ApprovalRules: cfnPatchBaseline... | [
"0.65069",
"0.63605094",
"0.6323234",
"0.6226208",
"0.6036652",
"0.6012761",
"0.6003772",
"0.6003772",
"0.6003772",
"0.6003772",
"0.6003772",
"0.6003772",
"0.6003772",
"0.6003772",
"0.6003772",
"0.6003772",
"0.6003772",
"0.6003772",
"0.6003772",
"0.6003772",
"0.6003772",
"0... | 0.73894024 | 0 |
Renders the AWS CloudFormation properties of an `AWS::SSM::PatchBaseline` resource | function cfnPatchBaselinePropsToCloudFormation(properties) {
if (!cdk.canInspect(properties)) {
return properties;
}
CfnPatchBaselinePropsValidator(properties).assertSuccess();
return {
Name: cdk.stringToCloudFormation(properties.name),
ApprovalRules: cfnPatchBaselineRuleGroupPro... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function cfnPatchBaselinePatchSourcePropertyToCloudFormation(properties) {\n if (!cdk.canInspect(properties)) {\n return properties;\n }\n CfnPatchBaseline_PatchSourcePropertyValidator(properties).assertSuccess();\n return {\n Configuration: cdk.stringToCloudFormation(properties.configura... | [
"0.6047313",
"0.6040892",
"0.5831528",
"0.57682866",
"0.56404763",
"0.5568799",
"0.531281",
"0.5300232",
"0.5273234",
"0.5157849",
"0.50108397",
"0.49958333",
"0.49871773",
"0.49869782",
"0.49869782",
"0.4959576",
"0.48934",
"0.48404658",
"0.47913182",
"0.4781401",
"0.4757899... | 0.67045504 | 0 |
Create a new `AWS::SSM::PatchBaseline`. | constructor(scope, id, props) {
super(scope, id, { type: CfnPatchBaseline.CFN_RESOURCE_TYPE_NAME, properties: props });
try {
jsiiDeprecationWarnings.aws_cdk_lib_aws_ssm_CfnPatchBaselineProps(props);
}
catch (error) {
if (process.env.JSII_DEBUG !== "1" && error.na... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"static _fromCloudFormation(scope, id, resourceAttributes, options) {\n resourceAttributes = resourceAttributes || {};\n const resourceProperties = options.parser.parseValue(resourceAttributes.Properties);\n const propsResult = CfnPatchBaselinePropsFromCloudFormation(resourceProperties);\n ... | [
"0.60021645",
"0.5910999",
"0.5634267",
"0.5452568",
"0.5401943",
"0.5396108",
"0.5380461",
"0.53511524",
"0.5197319",
"0.5162039",
"0.502747",
"0.5007043",
"0.49806276",
"0.4977475",
"0.4956645",
"0.4956645",
"0.4956645",
"0.4956645",
"0.49242854",
"0.49242854",
"0.49242854"... | 0.6260789 | 0 |
Determine whether the given properties match those of a `PatchFilterProperty` | function CfnPatchBaseline_PatchFilterPropertyValidator(properties) {
if (!cdk.canInspect(properties)) {
return cdk.VALIDATION_SUCCESS;
}
const errors = new cdk.ValidationResults();
if (typeof properties !== 'object') {
errors.collect(new cdk.ValidationResult('Expected an object, but rece... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function filtersMatched( properties, filters )\n {\n var count, required_count, prop, filter;\n for ( prop in properties )\n {\n if ( isInheritedProperty( properties, prop ) ||\n in_object( prop, __ignored_props ) ){ continue; }\n count = required_count = 0;\n for ( filter in fil... | [
"0.7296218",
"0.6753664",
"0.6568831",
"0.64795595",
"0.635935",
"0.63398075",
"0.62701267",
"0.61399335",
"0.6110271",
"0.60932964",
"0.60789156",
"0.60440546",
"0.60365653",
"0.601776",
"0.5991827",
"0.5915929",
"0.5870885",
"0.58648694",
"0.5832867",
"0.582946",
"0.5825202... | 0.7389243 | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.