query stringlengths 10 3.6k | document stringlengths 19 61.4k | metadata dict | negatives listlengths 0 101 | negative_scores listlengths 0 101 | document_score stringlengths 3 10 | document_rank stringclasses 102
values |
|---|---|---|---|---|---|---|
Cleanup the aiohttp Session | async def close(YKHO):
await YKHO.http_session.close() | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def fFx9(YKHO):\n YKHO._http_session.close()",
"def Qsgj(YKHO):\n return",
"async def async_close_session(YKHO) -> None:\n await YKHO.request_handler.client_session.close()",
"def fFx9(YKHO):\n YKHO.session.close()",
"def fFx9(YKHO):\n YKHO.session.close()",
"def N8bh(YKHO):\n YKHO.sess... | [
"0.7934661",
"0.7784786",
"0.7338306",
"0.7262669",
"0.7262669",
"0.7180696",
"0.71602094",
"0.715565",
"0.7150789",
"0.7087599",
"0.70521677",
"0.70521677",
"0.6935052",
"0.6916418",
"0.69092596",
"0.68517154",
"0.6834115",
"0.68324196",
"0.68164325",
"0.6787601",
"0.6782638... | 0.73761237 | 2 |
Round to nearest integer towards zero. Round an array of floats elementwise to nearest integer towards zero. The rounded values are returned as floats. | def yhqV(WKvO, LVAh=None):
WKvO = jHsn.asanyarray(WKvO)
si3g = jHsn.floor(WKvO)
skBL = jHsn.ceil(WKvO)
if LVAh is None:
LVAh = jHsn.asanyarray(si3g)
LVAh[...] = jHsn.where(WKvO >= 0, si3g, skBL)
return LVAh | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def KACG(jzdc):\n nPrm = oyIN.asanyarray(jzdc)\n BWXx = oyIN.where(nPrm >= 0, oyIN.floor(nPrm + 0.5), oyIN.ceil(nPrm - 0.5)).astype(int)\n if not hasattr(jzdc, '__iter__'):\n BWXx = BWXx.item()\n return BWXx",
"def pfTA(VPfE):\n Zihr = (VPfE >= 0) * 2 - 1\n yvT9 = oyIN.array(VPfE + Zihr ... | [
"0.6670535",
"0.64712197",
"0.638076",
"0.6257205",
"0.6255741",
"0.61913663",
"0.6114763",
"0.6056856",
"0.60456586",
"0.6027288",
"0.5995071",
"0.58698785",
"0.58204657",
"0.57889056",
"0.57615554",
"0.5747888",
"0.57292604",
"0.5720608",
"0.5712727",
"0.56693476",
"0.56637... | 0.0 | -1 |
Initializes the Priority Queue with Round Robin | def FIMM(YKHO, m_Xw=[0, 0, 1], rWde=32):
YKHO.rr_list = m_Xw
YKHO.rr_len = len(m_Xw)
YKHO.rr_index = 0
YKHO.queue = []
YKHO.queue_len = 0
YKHO.q_size = rWde | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def FIMM(YKHO):\n super(sijU, YKHO).__init__()",
"def FIMM(YKHO):\n YKHO.capacity = sijU.INITIAL_CAPACITY\n YKHO.array = [None] * YKHO.capacity\n YKHO.count = 0\n YKHO.timestamp = 0",
"def FIMM(YKHO):\n YKHO.__data = []\n YKHO.__locator = {}\n YKHO.__counter = Hs6x.count()",
"def FIMM... | [
"0.7782656",
"0.7424203",
"0.7395704",
"0.7322052",
"0.72993314",
"0.729243",
"0.7251034",
"0.7187457",
"0.71639997",
"0.7051264",
"0.69759643",
"0.6957202",
"0.69400775",
"0.6909978",
"0.68971723",
"0.6880672",
"0.67948264",
"0.67713344",
"0.6759687",
"0.67458284",
"0.673859... | 0.6157497 | 88 |
Enqueues a new item into the queue | def jvNa(YKHO, nPrm, jKWc=0):
Ylbp = False
if len(YKHO.queue) == YKHO.q_size:
print('Queue Full!')
else:
YKHO.queue.append((nPrm, jKWc))
YKHO.queue = sorted(YKHO.queue, key=TU9R(1))
YKHO.queue_len = YKHO.queue_len + 1
Ylbp = True
return Ylbp | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def jvNa(YKHO, ZfUD):\n YKHO._queue.append(ZfUD)",
"def jvNa(YKHO, ZfUD):\n YKHO._items.append(ZfUD)",
"def jvNa(YKHO, ZfUD):\n YKHO._items.append(ZfUD)",
"def jvNa(YKHO, ZfUD):\n YKHO.__queue.appendleft(ZfUD)",
"def NpNj(YKHO, ZfUD):\n YKHO.queue.put_nowait(ZfUD)",
"def Ty2c(YKHO, ZfUD):\... | [
"0.8316596",
"0.82791734",
"0.82791734",
"0.82562965",
"0.8239243",
"0.8160079",
"0.8139223",
"0.8113089",
"0.80499786",
"0.8046106",
"0.8036765",
"0.79775864",
"0.79683316",
"0.79683316",
"0.79597586",
"0.79597586",
"0.79597586",
"0.79597586",
"0.79597586",
"0.7943497",
"0.7... | 0.0 | -1 |
Return an Image object which is a deep copy of this one. | def jth9(YKHO):
return hnIv(YKHO._img.copy()) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def jth9(YKHO):\n return OFAI()",
"def jth9(YKHO):\n return hnIv(YKHO, YKHO.pos, YKHO.rotation, YKHO.scale, YKHO.colorize)",
"def jth9(YKHO):\n return OFAI(YKHO.array.copy(), YKHO.bounds, YKHO.wcs)",
"def jth9(YKHO):\n LNo8 = hnIv()\n for SRYB in YKHO.__dict__:\n LNo8.__setattr__(SRYB, ... | [
"0.8728276",
"0.85857546",
"0.84807014",
"0.84603834",
"0.8153338",
"0.8069526",
"0.7710394",
"0.7563488",
"0.7520716",
"0.7439299",
"0.7424248",
"0.7376788",
"0.7272436",
"0.7186198",
"0.7084681",
"0.7084681",
"0.706567",
"0.7018817",
"0.6970432",
"0.69571364",
"0.695274",
... | 0.8803586 | 0 |
Return a grayscale version of the image. | def ltPy(YKHO):
if YKHO.channels() == 3:
VN0f = XC5k.cvtColor(YKHO._img, XC5k.COLOR_BGR2GRAY)
elif YKHO.channels() == 4:
VN0f = XC5k.cvtColor(YKHO._img, XC5k.COLOR_BGRA2GRAY)
else:
VN0f = YKHO._img
return hnIv(VN0f) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def qWz7(LNo8):\n xV4z = oyIN.copy(LNo8)\n F3_L = 0.299 * LNo8[2] + 0.587 * LNo8[1] + 0.114 * LNo8[0]\n xV4z[0] = F3_L\n xV4z[1] = F3_L\n xV4z[2] = F3_L\n return xV4z",
"def KcW0(Xn71):\n return Xn71",
"def qWz7(VXjJ):\n return XC5k.cvtColor(VXjJ, XC5k.COLOR_RGB2GRAY)",
"def qWz7(VXjJ... | [
"0.81778914",
"0.8108951",
"0.79942757",
"0.79942757",
"0.79942757",
"0.79942757",
"0.79942757",
"0.7945993",
"0.7939722",
"0.79195195",
"0.79119563",
"0.79119563",
"0.7900027",
"0.7900027",
"0.7879759",
"0.78446543",
"0.78103304",
"0.78103304",
"0.78103304",
"0.78103304",
"0... | 0.0 | -1 |
Convert the image into a 3 channel BGR image. | def _BwQ(YKHO):
if YKHO.channels() == 1:
qfpW = XC5k.cvtColor(YKHO._img, XC5k.COLOR_GRAY2BGR)
elif YKHO.channels() == 4:
qfpW = XC5k.cvtColor(YKHO._img, XC5k.COLOR_BGR2BGRA)
else:
qfpW = YKHO._img
return hnIv(qfpW) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def NVzg(LNo8):\n if LNo8.shape[-1] == 1:\n LNo8 = oyIN.stack([LNo8[:, :, -1], LNo8[:, :, -1], LNo8[:, :, -1]], axis=-1)\n return LNo8",
"def zLrJ(LNo8: torch.Tensor) -> ht2j.Tensor:\n if not ht2j.is_tensor(LNo8):\n raise TypeError('Input type is not a torch.Tensor. Got {}'.format(type(LNo... | [
"0.7725522",
"0.6901222",
"0.6766534",
"0.67313445",
"0.6721217",
"0.6666776",
"0.65686417",
"0.65640986",
"0.6549791",
"0.6409994",
"0.6401654",
"0.63869745",
"0.63712394",
"0.63712394",
"0.62772787",
"0.6270705",
"0.6252146",
"0.6243191",
"0.61802626",
"0.6155833",
"0.61418... | 0.67069966 | 5 |
Copy an image, discarding all but a range of frequency components. E.g. for a coarseness range of (1, 50), only features with sizes between 1 and 50 pixels are retained (providing `working_size_factor == 1`). `1.0/working_size_factor` is used as a prefactor to the coarseness range bounds. This is useful for the purpose... | def amqU(YKHO, _Wd1, SnCn):
z01g, Hbcf = _Wd1
LSh8 = int(z01g / SnCn)
CN9P = int(Hbcf / SnCn)
jzdc = XC5k.blur(YKHO._img, (LSh8, LSh8))
Fg_i = XC5k.blur(YKHO._img, (CN9P, CN9P))
ilDZ = oyIN.subtract(jzdc, Fg_i) + 128
return hnIv(ilDZ) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def myXy(VXjJ, aM8h):\n oTDq = VXjJ[::aM8h, ::aM8h].copy()\n return oTDq",
"def myXy(VXjJ, aOex=(5, 5), WTkW=1.4):\n k5v1 = hD3N(aOex, WTkW)\n VXjJ = b_zE(VXjJ, k5v1)\n return VXjJ[::2, ::2]",
"def myXy(LNo8, w9FG, dDGN='exclude'):\n tbr7, obHv = LNo8.shape\n if dDGN == 'exclude':\n ... | [
"0.63879365",
"0.5870938",
"0.58477926",
"0.5766035",
"0.57285315",
"0.5728422",
"0.57010883",
"0.5595709",
"0.55935574",
"0.5578239",
"0.5559387",
"0.5559213",
"0.55576485",
"0.5553046",
"0.55474186",
"0.5465077",
"0.5444268",
"0.54347485",
"0.54300827",
"0.5423941",
"0.5411... | 0.0 | -1 |
Unload a config entry. | async def async_unload_entry(ajET: HomeAssistant, bTKY: ConfigEntry) -> bool:
k0N6 = XQIF(ajET)[bTKY.entry_id]
begE = k0N6.device
if isinstance(begE, NIFZ):
await begE.shutdown()
return True
if isinstance(begE, DbTz):
begE.shutdown()
return True
i3kb = stNg
if not... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"async def async_unload_entry(ajET: HomeAssistant, bTKY: config_entries.ConfigEntry):\n return await ajET.config_entries.async_forward_entry_unload(bTKY, lQ1Q)",
"async def async_unload_entry(ajET: HomeAssistantType, bTKY: ConfigEntry):\n nNXP = ajET.data[Sugg][bTKY.unique_id]\n await nNXP.async_unload()... | [
"0.70418245",
"0.69975436",
"0.69197667",
"0.69024074",
"0.6896897",
"0.6870464",
"0.6840728",
"0.67911863",
"0.67835754",
"0.6782968",
"0.6776581",
"0.67688036",
"0.6737991",
"0.6730449",
"0.6713354",
"0.67085946",
"0.6664857",
"0.66411716",
"0.6637687",
"0.66157013",
"0.660... | 0.0 | -1 |
Recursively find subclasses, and add them into subclasses list (very brute force). | def Zc9M(YKHO, KndY):
YKHO.subclasses = []
for G1Hx in KndY.keys():
if KndY[G1Hx].superclass == YKHO.name:
KndY[G1Hx].findSubclasses(KndY)
YKHO.subclasses.append(KndY[G1Hx])
YKHO.subclasses.sort() | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def TPXT(gZ1O, Fw0R=[], rb7a=None):\n for dm7U in gZ1O.__subclasses__():\n Fw0R.append(dm7U)\n if rb7a is None or rb7a > 0:\n try:\n rb7a = rb7a - 1\n except:\n pass\n Fw0R = TPXT(dm7U, Fw0R, depth=rb7a)\n return Fw0R",
"def j4j8(... | [
"0.71877503",
"0.7159361",
"0.71313953",
"0.6903471",
"0.68487793",
"0.68355215",
"0.6830003",
"0.67711306",
"0.6736133",
"0.6721815",
"0.66825145",
"0.66726124",
"0.6657834",
"0.65898836",
"0.6587185",
"0.6559712",
"0.6519358",
"0.65177065",
"0.6506956",
"0.6480707",
"0.6465... | 0.76146215 | 0 |
NEEDS TO BE REWRITTEN TO ADJUST TO THE GRAPHCHECKER CLASS. Runs graph_checker from 1 to 706 (except 596) and displays results and plots a bar graph | def zPBj():
yCJp = []
s8fK = []
gXLT = []
n6wW = set(range(1, 707)).difference({596})
for YRbF in n6wW:
tZKu(YRbF, yCJp, s8fK, gXLT)
print('Number of null graphs: ', len(s8fK))
print('Number of disconnected graphs: ', len(gXLT))
print('Finally, number of wrong formats(no models r... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def JfyU(YKHO, SYsl):\n try:\n lKWl = int(YKHO.pixelConversion.text())\n except ValueError:\n p06G.error_box('Invalid pixel conversion factor')",
"def fH6m(DW23, H7n7, myfe, viu0):\n WKvO = oyIN.arange(len(DW23))\n hh7H = QrM1.subplot(1, 1, 1)\n yzQ0 = 0.1\n QrM1.xticks(WKvO + yzQ... | [
"0.6186835",
"0.61810875",
"0.61366576",
"0.61223185",
"0.6039294",
"0.6035351",
"0.60138583",
"0.59838605",
"0.5978885",
"0.5965305",
"0.5960412",
"0.5948016",
"0.59405404",
"0.5832609",
"0.58320904",
"0.58257186",
"0.58245903",
"0.58108383",
"0.58071166",
"0.5805928",
"0.57... | 0.72650373 | 0 |
Colors a string green & returns it. | def VNXj(Ol8d: str) -> str:
return f'\x1b[32;1m{Ol8d}\x1b[00m' | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def LLTj(YKHO, vIwR):\n return qOWY.mircColor(vIwR, 'green')",
"def LLTj(YKHO, vIwR):\n return qOWY.mircColor(vIwR, 'green')",
"def jlxe(vIwR) -> str:\n return mMnU(vIwR, color=wfuh)",
"def typm(e1fs):\n return f'\\x1b[32;1m{e1fs}\\x1b[0m'",
"def jlxe(l5Ny):\n return qfpW(l5Ny, 32)",
"def ... | [
"0.84874207",
"0.848431",
"0.8464612",
"0.84178233",
"0.8399944",
"0.83322734",
"0.8042396",
"0.79658365",
"0.7948746",
"0.7867261",
"0.77794117",
"0.7687387",
"0.7683102",
"0.7682927",
"0.76661426",
"0.7649401",
"0.7612166",
"0.7587867",
"0.7545806",
"0.7533762",
"0.7495742"... | 0.0 | -1 |
Returns all values of the Slot as a list. Returns None if there is no __value. | def qAdU(YKHO):
qAdU = list()
if YKHO.__value is not None:
for YRbF in range(len(YKHO.__value)):
qAdU.append(YKHO.__value[YRbF].value_confidence['value'])
else:
return YKHO.__value
return qAdU | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def v9CE(YKHO):\n return YKHO._values",
"def RZMD(YKHO) -> list:\n return list(super().GetValue())",
"def hkxX(YKHO):\n return list(YKHO._values)",
"def hkxX(YKHO):\n return list(YKHO.itervalues())",
"def hkxX(YKHO):\n return list(YKHO.itervalues())",
"def _vnK(YKHO):\n if YKHO.value is... | [
"0.7527429",
"0.7461336",
"0.73603857",
"0.73015946",
"0.7290418",
"0.7290115",
"0.7242435",
"0.7241845",
"0.71908075",
"0.7180952",
"0.71794754",
"0.7170192",
"0.71649325",
"0.7157912",
"0.7151858",
"0.71216357",
"0.71089244",
"0.70923555",
"0.7085199",
"0.7081027",
"0.70642... | 0.6674775 | 84 |
Initialize object of the Domains class. | def FIMM(YKHO, epQQ):
YKHO._commcell_object = epQQ
YKHO._cvpysdk_object = epQQ._cvpysdk_object
YKHO._services = epQQ._services
YKHO._update_response_ = epQQ._update_response_
YKHO._DOMAIN_CONTROLER = YKHO._services['DOMAIN_CONTROLER']
YKHO._domains = None
YKHO.refresh() | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def FIMM(YKHO, Ffjq):\n YKHO.domain_data_store = Ffjq",
"def FIMM(Ro_8, *, zrIJ: str):\n qe4Y.set(Ro_8, 'domain', zrIJ)",
"def FIMM(Ro_8, *, zrIJ: str):\n qe4Y.set(Ro_8, 'domain', zrIJ)",
"def n3uE(YKHO, zrIJ):\n if YKHO.domain is None:\n YKHO.domain = zrIJ",
"def FIMM(YKHO):\n YKHO.d... | [
"0.7209172",
"0.7174619",
"0.7174619",
"0.716404",
"0.71363026",
"0.68540424",
"0.67328465",
"0.6725461",
"0.65687627",
"0.6526175",
"0.65092486",
"0.6477856",
"0.64610827",
"0.64610827",
"0.644668",
"0.63948035",
"0.6391506",
"0.63757896",
"0.6373319",
"0.6367081",
"0.635319... | 0.0 | -1 |
Representation string consisting of all domains of the Commcell. | def zAg0(YKHO):
dbZk = '{:^5}\t{:^50}\n\n'.format('S. No.', 'Domain')
for d6pt, d1Tj in enumerate(YKHO._domains):
AgAX = '{:^5}\t{:30}\n'.format(d6pt + 1, d1Tj)
dbZk += AgAX
return dbZk.strip() | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def wHJl(YKHO):\n return \"Domains class instance for Commcell: '{0}'\".format(YKHO._commcell_object.commserv_name)",
"def aRbh(YKHO):\n return \"domain '\" + YKHO.name + \"' on the \" + str(YKHO.manifold)",
"def zAg0(YKHO):\n WBPg = '### MultiDomain ###\\n'\n zEgx = ' - domains: ' + str(YKHO.__do... | [
"0.7425565",
"0.72139806",
"0.6875715",
"0.64246595",
"0.64246595",
"0.64246595",
"0.6407907",
"0.6350169",
"0.63218",
"0.6287258",
"0.6267608",
"0.6222426",
"0.6218523",
"0.61689824",
"0.6117687",
"0.60993487",
"0.60879546",
"0.6066479",
"0.6059894",
"0.60453093",
"0.5992849... | 0.71917313 | 2 |
Representation string for the instance of the Domains class. | def wHJl(YKHO):
return "Domains class instance for Commcell: '{0}'".format(YKHO._commcell_object.commserv_name) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def zAg0(YKHO):\n dbZk = '{:^5}\\t{:^50}\\n\\n'.format('S. No.', 'Domain')\n for d6pt, d1Tj in enumerate(YKHO._domains):\n AgAX = '{:^5}\\t{:30}\\n'.format(d6pt + 1, d1Tj)\n dbZk += AgAX\n return dbZk.strip()",
"def aRbh(YKHO):\n return \"domain '\" + YKHO.name + \"' on the \" + str(YKH... | [
"0.7934733",
"0.77125645",
"0.73555857",
"0.73052984",
"0.7121918",
"0.6978699",
"0.695717",
"0.6916803",
"0.68936855",
"0.68039113",
"0.6743901",
"0.67374516",
"0.6736756",
"0.6684793",
"0.6634966",
"0.6616016",
"0.6562282",
"0.6561541",
"0.6554506",
"0.65400857",
"0.6487741... | 0.7263703 | 4 |
Resets the model's internal state. | def SiRx(YKHO):
YKHO.__init__(YKHO.config) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def SiRx(YKHO):\n YKHO.model.reset()",
"def OWfQ(YKHO):\n raise NotImplementedError",
"def OWfQ(YKHO):\n raise NotImplementedError",
"def SiRx(YKHO):\n YKHO.model = None\n YKHO.iter_info = {}",
"def OWfQ(YKHO):\n if YKHO.model != None:\n YKHO.model = None",
"def SiRx(YKHO):\n ... | [
"0.887742",
"0.84969306",
"0.84969306",
"0.8409371",
"0.834667",
"0.8038669",
"0.79802305",
"0.7947563",
"0.79184616",
"0.7875491",
"0.78484684",
"0.77955514",
"0.76933223",
"0.7642325",
"0.7633918",
"0.76307315",
"0.761487",
"0.75908136",
"0.75844055",
"0.7577897",
"0.754309... | 0.0 | -1 |
Return the largest item in an iterable or the largest of two or more arguments. | def Np5D(qw7D: Iterable[int]) -> int:
return Pusg(lambda WKvO, LVAh: WKvO if WKvO > LVAh else LVAh, qw7D) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def CjUr(*qIxc):\n if len(qIxc) == 2:\n jzdc, Fg_i = qIxc\n return ymPF(jzdc > Fg_i, jzdc, Fg_i)\n else:\n return max(E5BI(qIxc), axis=0)",
"def tdNS(cntZ, *qIxc):\n return cntZ if cntZ > lpDM(*qIxc) else lpDM(*qIxc)",
"def max(*qIxc):\n return fR_9.max(*qIxc)",
"def lpDM(*qI... | [
"0.77536494",
"0.7661249",
"0.7422024",
"0.73695445",
"0.7337106",
"0.72891384",
"0.72891384",
"0.72891384",
"0.72891384",
"0.7174778",
"0.7172528",
"0.7153839",
"0.71373844",
"0.7097784",
"0.69937146",
"0.6991734",
"0.69470954",
"0.69465506",
"0.69357604",
"0.6921302",
"0.69... | 0.64216524 | 55 |
Concatenate strings in args together. | def P2jN(*qIxc):
OYqV = ''
for GIN8 in qIxc:
OYqV += GIN8
return OYqV | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def ENFq(*qIxc):\n try:\n return ''.join(qIxc)\n except TypeError:\n return ''.join(eNCK.from_iterable(qIxc))",
"def AGzf(*qIxc):\n return ' '.join(['--arg={}'.format(d7pR) for d7pR in qIxc])",
"def MPiJ(OaeV, *l5Ny):\n Aofo = ''\n for d7pR in l5Ny:\n Aofo += x7vA.to_string(... | [
"0.8066117",
"0.7855089",
"0.7828864",
"0.75996447",
"0.7584731",
"0.7516063",
"0.7255467",
"0.71910673",
"0.71572274",
"0.71438026",
"0.7137111",
"0.7090498",
"0.69882405",
"0.69824994",
"0.69399804",
"0.6914355",
"0.684653",
"0.6821927",
"0.6785115",
"0.6778077",
"0.6749700... | 0.0 | -1 |
Check support of categorical values. | def xOI5(Ehsq):
Ehsq.chdir(Hy7s.path.dirname(Hy7s.path.abspath(xAKo)))
with ZPtw(experiments=[], trials=[]):
PsWF.core.cli.main(['hunt', '--config', './benchmark/meshadaptivedirectsearch.yaml', './benchmark/rosenbrock.py', '-x~choices([-5, -2, 0, 2, 5])']) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def PjR6(YKHO, K5qA):\n K5qA = jth9.deepcopy(set(K5qA))\n kpLf = min(K5qA)\n JCoA = max(K5qA)\n if sum(K5qA) != (kpLf + JCoA) / 2 * len(set(K5qA)):\n return False\n else:\n return True",
"def Tmle(YKHO):\n YKHO.assertIsInstance(YKHO.df['type'].dtype, U8zw)",
"def TH1r(nPrm, z0q4... | [
"0.7256875",
"0.7011411",
"0.6833351",
"0.6758636",
"0.673878",
"0.6716248",
"0.66623497",
"0.66317415",
"0.6609256",
"0.6594497",
"0.6526859",
"0.65251154",
"0.6489952",
"0.6359612",
"0.63484985",
"0.63484985",
"0.634631",
"0.63281184",
"0.6312548",
"0.6266523",
"0.6262077",... | 0.5824427 | 54 |
Removes the last item and returns it. | def BEuN(YKHO):
if YKHO.end == YKHO.begin == None:
return None
elif YKHO.begin == YKHO.end:
uatB = YKHO.end
YKHO.begin = YKHO.end = None
return uatB.value
else:
uatB = YKHO.end
YKHO.end = YKHO.end.prev
YKHO.end.next = None
return uatB.value | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def BEuN(YKHO):\n if not YKHO.items:\n return None\n J3uN = YKHO.items[-1]\n YKHO.items = YKHO.items[:-1]\n return J3uN",
"def BEuN(YKHO):\n return YKHO.items.pop(0)",
"def BIls(YKHO):\n if YKHO.is_empty():\n raise rWmY('Queue is empty')\n ANfV = YKHO._data[YKHO._back]\n Y... | [
"0.816755",
"0.8085988",
"0.80408174",
"0.8039639",
"0.8028035",
"0.78918064",
"0.78774035",
"0.7851268",
"0.78444487",
"0.7840101",
"0.7800339",
"0.7780599",
"0.7750814",
"0.7749298",
"0.7725875",
"0.77155155",
"0.7712568",
"0.771164",
"0.76798123",
"0.7675181",
"0.76695734"... | 0.0 | -1 |
Removes the first item (from begin) and returns it. | def pU95(YKHO):
if YKHO.end == YKHO.begin == None:
return None
elif YKHO.begin == YKHO.end:
F9ah = YKHO.begin
YKHO.begin = YKHO.end = None
return F9ah.value
else:
F9ah = YKHO.begin
YKHO.begin = YKHO.begin.next
return F9ah.value | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def WvVJ(YKHO):\n return YKHO.items.pop(0)",
"def WvVJ(YKHO):\n return YKHO.items.pop(0)",
"def k_ru(YKHO):\n return YKHO.items.pop(0)",
"def WvVJ(YKHO):\n if YKHO.items:\n return YKHO.items.pop(0)\n else:\n return None",
"def WvVJ(YKHO):\n return YKHO.items.pop()",
"def H... | [
"0.8073511",
"0.8073511",
"0.80338585",
"0.79330707",
"0.7876526",
"0.7798499",
"0.77699965",
"0.76266307",
"0.756901",
"0.7537279",
"0.7461441",
"0.7377263",
"0.7369155",
"0.734407",
"0.73264617",
"0.73257786",
"0.73209196",
"0.7316209",
"0.7304599",
"0.7288056",
"0.72877854... | 0.0 | -1 |
Returns a reference to the first item, does not remove. | def cntZ(YKHO):
return YKHO.begin.value | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def cntZ(YKHO):\n if len(YKHO.list) < 1:\n return None\n return YKHO.list[0]",
"def cntZ(YKHO):\n if len(YKHO) == 0:\n return None\n return YKHO[0]",
"def nNP9(Emd4):\n return Emd4.query.first()",
"def cntZ(YKHO, WmM4=None):\n if len(YKHO._items) > 0:\n return YKHO._ite... | [
"0.8208773",
"0.8140366",
"0.7926425",
"0.778214",
"0.777028",
"0.7719491",
"0.7717406",
"0.76998377",
"0.76863956",
"0.75990725",
"0.75599533",
"0.7530039",
"0.75196624",
"0.7507577",
"0.7468419",
"0.74562305",
"0.7428422",
"0.7425916",
"0.74068785",
"0.7402197",
"0.73952407... | 0.0 | -1 |
Layer normalizes a 2D tensor along its second axis, which corresponds to batch | def vUJ3(input, UqYS, KMvS, _hZ2=1e-05, max=1000):
with ZylS.device('/cpu:0'):
JBMS, SRYB = ZylS.nn.moments(input, [1], keep_dims=True)
LAzk = (input - JBMS) / ZylS.sqrt(SRYB + _hZ2)
return LAzk * KMvS + UqYS | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def idFg(CK9p):\n return ZylS.layers.batch_normalization(CK9p)",
"def lS53(CK9p):\n assert len(CK9p.get_shape()) == 4\n yphq = CK9p.get_shape().as_list()\n JBMS, SRYB = ZylS.nn.moments(CK9p, axes=[0, 1, 2])\n tYiq = yphq[3]\n vgXP = ZylS.Variable(ZylS.zeros([tYiq]))\n NXpY = ZylS.Variable(Zy... | [
"0.79000765",
"0.7616385",
"0.7587874",
"0.72760314",
"0.7256282",
"0.72356343",
"0.7183905",
"0.70931125",
"0.70860815",
"0.7033082",
"0.70311916",
"0.7003482",
"0.69628125",
"0.69598037",
"0.6911719",
"0.6902198",
"0.68677336",
"0.68149185",
"0.67893064",
"0.6775382",
"0.67... | 0.62649095 | 80 |
Batch normalizes a 2D tensor along its first axis | def idFg(input, UqYS, KMvS, _hZ2=1e-05, max=1000):
with ZylS.device('/cpu:0'):
JBMS, SRYB = ZylS.nn.moments(ANqO, [0])
return ZylS.nn.batch_normalization(input, JBMS, SRYB, UqYS, KMvS, _hZ2) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def zYio(WKvO):\n JBMS, SRYB = ZylS.nn.moments(WKvO, axes=[0, 1, 2])\n n6Ai = WKvO.get_shape().as_list()[3]\n vgXP = ZylS.Variable(ZylS.zeros([n6Ai]))\n NXpY = ZylS.Variable(ZylS.ones([n6Ai]))\n idFg = ZylS.nn.batch_normalization(WKvO, JBMS, SRYB, vgXP, NXpY, 0.001)\n return idFg",
"def idFg(CK... | [
"0.80581325",
"0.77978176",
"0.77725697",
"0.773747",
"0.7360964",
"0.73142904",
"0.72186816",
"0.71984607",
"0.71679187",
"0.7107677",
"0.70507294",
"0.6984498",
"0.69319576",
"0.6911665",
"0.6904585",
"0.690045",
"0.68659663",
"0.6807176",
"0.67553735",
"0.6725886",
"0.6725... | 0.6880659 | 16 |
Enables the status LED. The status LED is the blue LED next to the USB connector. If enabled is is on and it flickers if data is transfered. If disabled it is always off. The default state is enabled. | def eiPM(YKHO):
YKHO.ipcon.send_request(YKHO, VsTO.FUNCTION_ENABLE_STATUS_LED, (), '', '') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def eiPM(YKHO):\n YKHO.ipcon.send_request(YKHO, Rcfl.FUNCTION_ENABLE_STATUS_LED, (), '', '')",
"def l4Wb():\n jGRS._is_enabled = True",
"def n4e3(YKHO, jGRS='off'):\n nRzW = {'on': 0, 'off': 1}\n jGRS = nRzW.get(jGRS)\n bo34.debug('LED: {0}'.format(jGRS))\n if jGRS is None:\n raise OHS... | [
"0.85956913",
"0.75482064",
"0.7514881",
"0.74652123",
"0.7442233",
"0.74202347",
"0.7136061",
"0.70781803",
"0.692322",
"0.685573",
"0.6852979",
"0.68172604",
"0.68168986",
"0.680904",
"0.6805443",
"0.67913926",
"0.6758504",
"0.66872245",
"0.66684484",
"0.66572857",
"0.66539... | 0.8680438 | 0 |
get_columns() > List of (cached) column names May raise ttypes.NoSuchObjectException if the table name is bogus. | def FSKv(YKHO):
if YKHO.columns is None:
jKuv = ayNO.meta_client().get_table('default', YKHO.name)
YKHO.columns = [Z9rn.name for Z9rn in jKuv.sd.cols]
return YKHO.columns | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def FSKv(YKHO, GTA_):\n RdPg.error('Not implemented')",
"def FSKv(YKHO, KKqc):\n N1p7 = YKHO._cursor\n N1p7.execute('SHOW COLUMNS FROM ' + KKqc)\n ZLJ_ = N1p7.fetchall()\n return [z0q4 for z0q4, *bGrB in ZLJ_]",
"def XyEw(YKHO, k9X4, uPxI=None):\n Layf = tq_1(YKHO.get_engine())\n return [B... | [
"0.7969084",
"0.76197803",
"0.7551875",
"0.75150967",
"0.75105846",
"0.7389699",
"0.73422045",
"0.73188806",
"0.7314603",
"0.72936964",
"0.725327",
"0.7252248",
"0.72326946",
"0.7143082",
"0.7110923",
"0.71001804",
"0.7090879",
"0.70865273",
"0.7081328",
"0.7075222",
"0.70715... | 0.7812563 | 1 |
Converts seconds to a string that contains hours, minutes, seconds. A unit of time is not output if it is not needed. | def FeIV(C6wh: int) -> str:
jmHs = ''
if C6wh >= 3600:
Wave = int(C6wh // 3600)
jmHs += str(Wave) + 'h '
C6wh -= Wave * 3600
if C6wh >= 60:
O66n = int(C6wh // 60)
jmHs += str(O66n) + 'm '
C6wh -= O66n * 60
if C6wh > 0:
jmHs += str(C6wh) + 's '
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def reXX(YKHO, C6wh):\n r8hN, KCHu = divmod(C6wh, 60)\n MKlR, r8hN = divmod(r8hN, 60)\n l5Ny = '%d hours %02d mins %02d seconds' % (MKlR, r8hN, KCHu)\n return l5Ny",
"def Ps7O(C6wh):\n O66n = int(C6wh / 60)\n if O66n:\n return f'{O66n} min, '\n else:\n return f'{C6wh % 60:0.0f}... | [
"0.80588615",
"0.8002164",
"0.7871199",
"0.78391284",
"0.77795863",
"0.77109736",
"0.76847047",
"0.76832575",
"0.7651365",
"0.7637935",
"0.7607225",
"0.7559553",
"0.7442254",
"0.73957634",
"0.73931646",
"0.7372115",
"0.7368154",
"0.73623526",
"0.73525774",
"0.7345964",
"0.731... | 0.72013676 | 26 |
Gets the last compress timestamp from the .lastcompress file | def LN5u() -> int:
if not Hy7s.path.exists('.lastcompress'):
print('A .lastcompress file was not detected. Is this your first time using this program?')
print(f'All mp4 files in {Hy7s.getcwd()} will be compressed and OVERWRITTEN.')
print('Your CPU will likely be at 100% on all cores through ... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def uu0S(YKHO):\n return YKHO.archive[-1][0]",
"def TO1Y(YKHO):\n return qcWV.fromtimestamp(YKHO._info.file.mtime)",
"def RfsW():\n VlDb = {nUeQ: Hy7s.stat(nUeQ).st_mtime for nUeQ in FWnO()}\n for VqRE, s537 in VlDb.items():\n if s537 == max(VlDb.values()):\n return VqRE\n retu... | [
"0.72409487",
"0.684821",
"0.67784023",
"0.67739606",
"0.6722625",
"0.6692914",
"0.66636944",
"0.6559557",
"0.6559557",
"0.6559557",
"0.65451574",
"0.6533922",
"0.64869803",
"0.6477105",
"0.64709723",
"0.6456089",
"0.6444108",
"0.644296",
"0.64402974",
"0.6416523",
"0.6398961... | 0.76465935 | 0 |
Load backends in a lazy way with `ibis.`. This also registers the backend options. Examples >>> import ibis >>> con = ibis.sqlite.connect(...) When accessing the `sqlite` attribute of the `ibis` module, this function is called, and a backend with the `sqlite` name is tried to load from the `ibis.backends` entrypoints. ... | def JgjC(mWFP: str) -> cF0t:
ldV7 = {cfQG for cfQG in gnPz.backend_entry_points() if cfQG.name == mWFP}
if not ldV7:
tO9_ = f"module 'ibis' has no attribute '{mWFP}'. "
if mWFP in E_GA:
tO9_ += f"If you are trying to access the '{mWFP}' backend,\n try installing it... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def rB7g(Emd4) -> cuzp[str, IQ9R]:\n ...",
"def NCGm():\n gPRb = [WKvO[:-3] for WKvO in Hy7s.listdir(Hy7s.path.dirname(Hy7s.path.realpath(xAKo))) if WKvO.endswith('.py')]\n HwRy.path.insert(0, Hy7s.path.dirname(Hy7s.path.realpath(xAKo)))\n for DDLl in gPRb:\n __import__(DDLl)",
"def JgjC(mWF... | [
"0.7041089",
"0.69180465",
"0.678124",
"0.65956265",
"0.6564003",
"0.6564003",
"0.652116",
"0.64786965",
"0.640319",
"0.6378184",
"0.63425606",
"0.6307446",
"0.6251411",
"0.62355745",
"0.61917824",
"0.6133354",
"0.61240524",
"0.6113167",
"0.60701203",
"0.60412496",
"0.6004461... | 0.6548109 | 6 |
Swap the content between two layers This command swaps the content of layers FIRST and SECOND. Both FIRST and SECOND must be existing layer ids. The `prob` option controls the probability with which each path are swapped. With a value lower than 1.0, some paths will remain in their original layer. If the `prob` option ... | def hL_F(C13M: vp.Document, cntZ: int, CsFy: int, JxU2: float | None, tZuX: bool) -> vuA2.Document:
zLpi = fOiU(cntZ, C13M, must_exist=True)
kekB = fOiU(CsFy, C13M, must_exist=True)
if JxU2 is None:
C13M.swap_content(zLpi, kekB)
if not tZuX:
C13M.layers[zLpi].metadata, C13M.layer... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def tTZb(zr3f, zZcM=None):\n if zZcM:\n return zr3f.replace(zZcM)\n else:\n return zr3f.detach()",
"def b3SJ(qIxc):\n XP5J = PDen(b3SJ.__doc__)\n VKhi, qIxc = XP5J.parse_args(qIxc)\n if len(qIxc) < 1:\n HwRy.exit(not XP5J.print_help())\n aZFj, = qIxc\n kSBC = aZFj + '.sw... | [
"0.59827715",
"0.55619794",
"0.5353864",
"0.5235771",
"0.5098047",
"0.5047282",
"0.5026625",
"0.49710837",
"0.4919109",
"0.48998624",
"0.4896528",
"0.4896413",
"0.48958108",
"0.4886713",
"0.48845738",
"0.48623812",
"0.4854161",
"0.48449588",
"0.4842938",
"0.48292723",
"0.4827... | 0.70202595 | 0 |
Clears the custom name format for recording files. New recordings will use the default format. | def mkJf(Emd4) -> None:
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def jWyr(Emd4, format: str) -> None:\n ...",
"def YOMj():\n if GPtr.FILE_NAMES is None:\n return\n if not Hy7s.path.exists(GPtr.FILE_NAMES):\n return\n Hy7s.unlink(GPtr.FILE_NAMES)\n nPrm.NAMES.clear()",
"def Flko(Emd4):\n for sB1G in Emd4._formatters_from_file:\n _588 = ... | [
"0.68676865",
"0.63448113",
"0.61487085",
"0.59384924",
"0.57640564",
"0.5665936",
"0.5661202",
"0.5576539",
"0.55538017",
"0.55408555",
"0.55383766",
"0.5529137",
"0.5504758",
"0.54993176",
"0.54946744",
"0.5488855",
"0.5477135",
"0.5476248",
"0.5390226",
"0.5388818",
"0.538... | 0.882825 | 0 |
Get summoner objects mapped by summoner ID for a given list of summoner IDs. | def fbl9(YqQU, rJDA=None, zn0c=None, **B2fa):
zn0c = oMHX(zn0c)
A07C = yqxO(YqQU)
bD7m = '{}{}/{}/summoner/{}'.format(Ms2Z, zn0c, DpZH, A07C)
bD7m = bD7m.format(zn0c)
return zSD6(rJDA, bD7m, **B2fa) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"async def get_summoners_info_by_ids(YKHO, YqQU):\n dixj = []\n for vcn7 in gnPz.grouper(YqQU, 40):\n bD7m = YKHO.base_summoner_url + ','.join((str(CbSq) for CbSq in vcn7 if CbSq))\n dixj.append(await YKHO.get(bD7m))\n return gnPz.dict_merge(dixj)",
"async def get_summoner_names_by_ids(YKHO... | [
"0.78267443",
"0.7440444",
"0.69684756",
"0.6754968",
"0.67019534",
"0.6582624",
"0.65350735",
"0.65099585",
"0.61732554",
"0.610534",
"0.6095749",
"0.5949517",
"0.5877135",
"0.5739756",
"0.57383716",
"0.564352",
"0.5629736",
"0.5608732",
"0.56007814",
"0.55812657",
"0.557263... | 0.6862583 | 3 |
Get summoner names mapped by summoner ID for a given list of summoner IDs. | def mWFP(YqQU, rJDA=None, zn0c=None, **B2fa):
zn0c = oMHX(zn0c)
A07C = yqxO(YqQU)
bD7m = '{}{}/{}/summoner/{}/name'.format(Ms2Z, zn0c, DpZH, A07C)
bD7m = bD7m.format(zn0c)
return zSD6(rJDA, bD7m, **B2fa) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"async def get_summoner_names_by_ids(YKHO, YqQU):\n dixj = []\n for vcn7 in gnPz.grouper(YqQU, 40):\n bD7m = YKHO.base_summoner_url + ','.join((str(CbSq) for CbSq in vcn7 if CbSq)) + '/name'\n dixj.append(await YKHO.get(bD7m))\n return gnPz.dict_merge(dixj)",
"async def get_summoners_info_b... | [
"0.8418845",
"0.72346914",
"0.7059444",
"0.666786",
"0.65526146",
"0.6489835",
"0.6427567",
"0.63181716",
"0.6196591",
"0.6176215",
"0.6086323",
"0.5927601",
"0.5881498",
"0.5720738",
"0.5705829",
"0.57024914",
"0.5698365",
"0.5648527",
"0.5621514",
"0.5585496",
"0.5583845",
... | 0.6423879 | 7 |
normalize value or list of values so it always lies between 0 and 1 | def NkkI(YKHO, BWXx):
CkYf = []
for ZfUD in BWXx:
CkYf.append(1.0 * (ZfUD - YKHO.min) / (YKHO.max - YKHO.min))
return CkYf | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def NkkI(YKHO, hkxX):\n kpLf = YKHO.expected_range[0]\n JCoA = YKHO.expected_range[1]\n SnCn = JCoA - kpLf\n D4B9 = kpLf\n return (hkxX - D4B9) / SnCn - 0.5",
"def NkkI(T6S7):\n kpLf = oyIN.min(T6S7)\n JCoA = oyIN.max(T6S7)\n return (T6S7 - kpLf) / (JCoA - kpLf)",
"def r0lV(BWXx, bKEy, ... | [
"0.77689505",
"0.7704134",
"0.76693666",
"0.761282",
"0.74257934",
"0.7396275",
"0.73865086",
"0.7380029",
"0.7373832",
"0.73608553",
"0.7310842",
"0.72911656",
"0.7263653",
"0.7257952",
"0.72566956",
"0.7234696",
"0.7230325",
"0.7220077",
"0.7209451",
"0.7189969",
"0.7189575... | 0.784579 | 0 |
Implementation of get_state that returns state without builder name. | def r2mo(YKHO) -> cuzp[str, ImMB]:
i1Ta = {tpio.value: mBtZ.get_state() for tpio, mBtZ in YKHO._elasticity_builders.items()}
cJ3T = list(map(lambda WKvO: WKvO.value, YKHO.get_available_elasticity_dims()))
return {YKHO._state_names.BUILDER_STATES: i1Ta, YKHO._state_names.AVAILABLE_ELASTICITY_DIMS: cJ3T} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def bGIA(YKHO):\n return YKHO.__state",
"def bGIA(YKHO):\n return YKHO.__state",
"def bGIA(YKHO):\n return YKHO.__state",
"def bGIA(YKHO):\n return YKHO.__state",
"def bGIA(YKHO):\n return YKHO.__state",
"def bGIA(YKHO):\n return YKHO.__state",
"def bGIA(YKHO):\n return YKHO.__stat... | [
"0.6965038",
"0.6965038",
"0.6965038",
"0.6965038",
"0.6965038",
"0.6965038",
"0.6965038",
"0.6965038",
"0.6965038",
"0.6965038",
"0.6965038",
"0.6965038",
"0.6965038",
"0.6965038",
"0.6965038",
"0.6965038",
"0.6965038",
"0.6965038",
"0.6965038",
"0.6965038",
"0.6965038",
"... | 0.0 | -1 |
Test the password reset page | def FeF9(x0hE):
Aofo = x0hE.get('/password-reset?username=fred')
B2Dn = rKuS(Aofo.data, 'html.parser')
assert B2Dn.title
assert B2Dn.title.string == 'Expired Password Reset - noggin' | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def n13R(YKHO):\n geh0 = YKHO.client.get(gxEw('password_reset'))\n YKHO.assertEqual(geh0.status_code, 200)\n YKHO.assertTemplateUsed(geh0, 'food/account/password_reset.html')",
"def rCri(YKHO):\n pass",
"def OAOs(YKHO):\n pass",
"def ilRP(YKHO):\n geh0 = YKHO.client.get(gxEw('password_reset... | [
"0.8662953",
"0.8467633",
"0.846516",
"0.8371851",
"0.82801926",
"0.82664436",
"0.8261497",
"0.8119957",
"0.8119887",
"0.8115665",
"0.8095347",
"0.80689996",
"0.7950318",
"0.789452",
"0.789026",
"0.7821305",
"0.7813877",
"0.7800023",
"0.77787507",
"0.774673",
"0.769712",
"0... | 0.81067777 | 10 |
Test the password reset page with no username | def xSS3(x0hE):
Aofo = x0hE.get('/password-reset')
assert Aofo.status_code == 404 | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def rCri(YKHO):\n pass",
"def OFuC(x0hE, WTWI):\n Aofo = x0hE.get('/password-reset')\n assert Aofo.location == '/user/dummy/settings/password'\n Aofo = x0hE.get('/password-reset', follow_redirects=True)\n B2Dn = rKuS(Aofo.data, 'html.parser')\n EW_T = B2Dn.select('#pageheading')[0]\n assert ... | [
"0.79425865",
"0.7895547",
"0.78947073",
"0.78921604",
"0.7836216",
"0.7802663",
"0.7783057",
"0.7722072",
"0.7634161",
"0.75142604",
"0.7498148",
"0.74934345",
"0.7491575",
"0.74749076",
"0.7471588",
"0.7457093",
"0.73908085",
"0.72903067",
"0.7259122",
"0.71941423",
"0.7183... | 0.80508673 | 0 |
Where both cards are the same number/face, split cards into two hands | def lpha(YKHO, ezIe, m0Ti, uzh9=0):
if YKHO.name == 'DEALER':
print(f'Dealer cannot split')
if len(YKHO.hands[uzh9].cards) != 2:
print(f'You can only split on your first new card. Current cards are {YKHO.hands[uzh9].cards}.')
return 'na'
if YKHO.hands[uzh9].cards[0][0] != YKHO.hands[... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def sWMp(zFiD):\n EOVu = zFiD.split(' ')[:5]\n zzpC = zFiD.split(' ')[5:]\n for Z9rn in EOVu:\n dxhl = F1Hz(Z9rn[0], Z9rn[1])\n EOVu[EOVu.index(Z9rn)] = dxhl\n ZnXF = MsG1(*EOVu)\n for Z9rn in zzpC:\n dxhl = F1Hz(Z9rn[0], Z9rn[1])\n zzpC[zzpC.index(Z9rn)] = dxhl\n IXCr... | [
"0.7047532",
"0.7022646",
"0.6994864",
"0.69441426",
"0.6925825",
"0.68932414",
"0.68911344",
"0.684802",
"0.6777265",
"0.6716691",
"0.6698524",
"0.6695754",
"0.66917884",
"0.66653985",
"0.665542",
"0.6651116",
"0.662524",
"0.660751",
"0.6606894",
"0.65679353",
"0.6549362",
... | 0.7331264 | 0 |
If the given ``path`` is a relative path, then assume it is relative to ``original_root``. This method will update the path to be resolve it relative to ``new_root`` and return. Examples Assume a file called template.txt at location /tmp/original/root/template.txt expressed as relative path We are trying to update it t... | def MSJ6(pmON, NoOu, wyPV):
if not isinstance(pmON, str) or pmON.startswith('s3://') or pmON.startswith('http://') or pmON.startswith('https://') or Hy7s.path.isabs(pmON):
return None
return Hy7s.path.relpath(Hy7s.path.normpath(Hy7s.path.join(oAb3.Path(NoOu).resolve(), pmON)), oAb3.Path(wyPV).resolve()) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def _cPw(YKHO, pmON):\n pmON = str(pmON)\n if not Hy7s.path.isabs(pmON):\n pmON = Hy7s.path.join(YKHO._filepath, pmON)\n return Hy7s.path.normpath(pmON)",
"def ssrL(YKHO, pmON, eLpg=False):\n return YKHO.resolve_path('{0}/{1}'.format(YKHO['sysfs_path'], pmON), eLpg)",
"def ID9D(YKHO, o466, c... | [
"0.6634515",
"0.6567189",
"0.65396255",
"0.64974743",
"0.63894343",
"0.63836586",
"0.62647516",
"0.6213303",
"0.62084585",
"0.62051445",
"0.61984694",
"0.6149224",
"0.6139206",
"0.6114353",
"0.6015122",
"0.59970146",
"0.5990569",
"0.59816575",
"0.5971823",
"0.5945129",
"0.593... | 0.78376895 | 0 |
Helper function that converts a feature list into tf.gather indices. | def OxtY(V5XR, XsHc):
sORk = oyIN.arange(XsHc) + len(V5XR)
for P2GO, bGrB in enumerate(sORk):
if P2GO in V5XR:
sORk[P2GO] = V5XR.index(P2GO)
return sORk | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def xg6L(_0VL, bySB):\n return [bySB[d6pt] for d6pt in _0VL]",
"def H5cA(g4y1, _0VL):\n _0VL = ZylS.cast(_0VL, dtype=ZylS.int32)\n return ZylS.gather(g4y1, _0VL, batch_dims=1, axis=1)",
"def HWw0(M8d_, EsUw):\n NXy5 = ZylS.gather(M8d_, EsUw)\n f_9U = int(NXy5.get_shape()[2]) * 2\n NXy5 = ZylS... | [
"0.7242537",
"0.6620999",
"0.66094965",
"0.6575794",
"0.6559644",
"0.6544003",
"0.6480658",
"0.63494873",
"0.63491684",
"0.6347091",
"0.633213",
"0.6312045",
"0.6265417",
"0.6244029",
"0.620853",
"0.6174641",
"0.6174641",
"0.61686885",
"0.61686885",
"0.6114012",
"0.60785574",... | 0.70981526 | 1 |
Add an error to the end of the self.errors. | def nVrR(YKHO, P1dF):
YKHO.errors.append(P1dF) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def SStx(YKHO, P1dF: VCFHandlerBaseError) -> None:\n YKHO.errors.append(P1dF)",
"def rrRC(YKHO, P1dF):\n YKHO._validation_errors.append(P1dF)",
"def EYvN(YKHO):\n YKHO.error = YKHO.error + 1",
"def XKQY(YKHO, P1dF):\n YKHO._errorLog.append(P1dF)",
"def EYvN(YKHO, wfRC, P1dF):\n if wfRC in YK... | [
"0.7948108",
"0.78114563",
"0.77777314",
"0.7476444",
"0.7251704",
"0.71900517",
"0.7017389",
"0.70105696",
"0.6885263",
"0.681287",
"0.6810193",
"0.67915297",
"0.6788192",
"0.6783715",
"0.67695916",
"0.672734",
"0.66633636",
"0.6625097",
"0.66178274",
"0.66178274",
"0.661782... | 0.7003216 | 8 |
rotation nonmaximum suppression (NMS) on the boxes according to their intersectionoverunion (IoU) | def YAi8(JpvN, cCrA, PKpG=0.5, PWAq=0.001, **B2fa):
JpvN = oyIN.array(JpvN)
cCrA = oyIN.array(cCrA)
UV8M = JpvN[:, 0]
vHO5 = JpvN[:, 1]
yzQ0 = JpvN[:, 2]
MKlR = JpvN[:, 3]
q7In = JpvN[:, 4] * 180.0 / oyIN.pi
T4Wy = cCrA.argsort()[::-1]
ILBk = yzQ0 * MKlR
uZq5 = []
while T4Wy.... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def lIj3(YKHO, oUSw, VYEF):\n if len(oUSw) == 0:\n return oUSw\n NYnl = oyIN.zeros(len(oUSw))\n for YRbF in range(len(oUSw)):\n NYnl[YRbF] = oUSw[YRbF][4]\n X7Vz = XC5k.sortIdx(NYnl, -1).reshape(-1)\n P11B = []\n for YRbF in range(len(oUSw)):\n kVmB = oUSw[X7Vz[YRbF]]\n ... | [
"0.66779494",
"0.65386736",
"0.6501022",
"0.6452558",
"0.64399195",
"0.64068973",
"0.6396578",
"0.638235",
"0.63326246",
"0.6332325",
"0.6297894",
"0.6297663",
"0.6285346",
"0.62828517",
"0.62770575",
"0.62761533",
"0.62623835",
"0.6254889",
"0.6252666",
"0.6252106",
"0.62463... | 0.0 | -1 |
Returns the workspace that has the given name If the workspace isn't registered then `None` is returned. | def w7bG(YKHO, mWFP):
YKHO._populate()
return YKHO.workspaces.get(mWFP) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def jRq6(NPt0):\n return lnpD.get_by_id(NPt0)",
"def NMoC(HCmI, TRLE=None, vSUp=None):\n x0hE = AGI6(HCmI.cli_ctx)\n U34r = L74h(HCmI, TRLE, vSUp, None)\n if not U34r.resource_group or not U34r.name:\n raise llBy(\"Please run 'az quantum workspace set' first to select a default Quantum Workspa... | [
"0.70809865",
"0.7069993",
"0.6937354",
"0.66746277",
"0.6663248",
"0.6613871",
"0.6595283",
"0.6563879",
"0.6546701",
"0.6498916",
"0.6494831",
"0.6424789",
"0.6385815",
"0.6385815",
"0.6385815",
"0.6355707",
"0.63537496",
"0.63256335",
"0.63256335",
"0.62886584",
"0.6288658... | 0.83642787 | 0 |
Return True if datatype dtype is a float kind | def QpCZ(yDqo):
return 'float' in yDqo.name or yDqo.name in ['single', 'double'] | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def cEmi(qw7D):\n try:\n return qw7D.dtype.kind == 'f'\n except AttributeError:\n return oyIN.asarray(qw7D).dtype.kind in rhbs",
"def QpCZ(YKHO) -> bool:\n return YKHO.dtype == YGwF",
"def OK0g(YKHO) -> bool:\n return _TCE(YKHO.dtype)",
"def QpCZ(YKHO):\n return YKHO.memory_type ... | [
"0.81650716",
"0.8149941",
"0.80902946",
"0.79659146",
"0.7964911",
"0.7631384",
"0.755876",
"0.7490059",
"0.74403465",
"0.7410545",
"0.7404161",
"0.73928946",
"0.73716027",
"0.7349862",
"0.73317766",
"0.73196906",
"0.73100895",
"0.7284529",
"0.72499937",
"0.72423947",
"0.722... | 0.8769512 | 0 |
Copy an array portion to a unicode string | def J4KO(YKHO, K9Bc):
lhUV, GF7e, LyK2, g_kY = VNc1(K9Bc)
BdPz = YKHO.model().get_data()
hlel = kJm3.StringIO()
ywwl.savetxt(hlel, BdPz[lhUV:GF7e + 1, LyK2:g_kY + 1], delimiter='\t')
kGys = hlel.getvalue()
hlel.close()
return kGys | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def QUR_(qw7D):\n wnxD().strings = qw7D",
"def qUae(Z3fE):\n yvT9 = ''.join((chr(YB8B) for YB8B in Z3fE))\n PurT.debug('converted string: %s', yvT9)\n return yvT9",
"def yM2U(rY4R: np.ndarray) -> str:\n return ''.join((chr(Gpjm) for Gpjm in rY4R))",
"def EqGc(ezWE):\n return ezWE.tostring()... | [
"0.6364845",
"0.6311993",
"0.62608683",
"0.6164864",
"0.6143521",
"0.6135275",
"0.5985411",
"0.59011793",
"0.5820488",
"0.5819359",
"0.57926154",
"0.5781241",
"0.57448685",
"0.5719004",
"0.5677822",
"0.5669906",
"0.56447697",
"0.56397253",
"0.5623507",
"0.56095046",
"0.5604",... | 0.0 | -1 |
Calculate GAN loss for the discriminator | def zsMs(YKHO) -> None:
Lcol = ht2j.cat((YKHO.real_a, YKHO.fake_b), 1)
K3La = YKHO._discriminator_module(Lcol.detach())
L64D = YKHO._gan_criterion(K3La, False)
ykWE = ht2j.cat((YKHO.real_a, YKHO.real_b), 1)
EhEJ = YKHO._discriminator_module(ykWE)
KGGT = YKHO._gan_criterion(EhEJ, True)
Mv81 =... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def MQYF(iMxe):\n if iMxe:\n N77f = xt2q(YNTO, uf3V)\n else:\n N77f = ZylS.add(xt2q(NcZM, PB_6), xt2q(1 - YNTO, AyLV), name=PhI6)\n return N77f",
"def AOC4(Oa1e, Csk6, Yw_3, i63c, **B2fa):\n WKvO = Oa1e(i63c, **B2fa)\n tTpl = ZylS.random.uniform([ZylS.shape(Yw_3)[0], 1, 1, 1])\n f... | [
"0.7656528",
"0.7500776",
"0.7443934",
"0.7375168",
"0.73524827",
"0.7344937",
"0.72886795",
"0.72307914",
"0.71859646",
"0.7184881",
"0.71775943",
"0.71699685",
"0.716676",
"0.7160415",
"0.7133836",
"0.7129042",
"0.7095958",
"0.7080802",
"0.7058385",
"0.7031051",
"0.7012525"... | 0.0 | -1 |
Compute softmax values for each sets of scores in x. | def N93T(WKvO, jDK_=-1, Kt_s=1):
WKvO = WKvO / float(Kt_s)
uw5A = oyIN.exp(WKvO - oyIN.max(WKvO))
ciZM = oyIN.expand_dims(uw5A.sum(axis=jDK_), axis=jDK_)
return uw5A / ciZM | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def oSvh(WKvO):\n S2MS = []\n if oyIN.array(WKvO).ndim == 1:\n hrCc = oyIN.exp(WKvO)\n RmXN = oyIN.sum(hrCc)\n xzMv = hrCc / RmXN\n dzye = xzMv\n else:\n dzye = oyIN.exp(cCrA) / oyIN.sum(oyIN.exp(cCrA), axis=0)\n return dzye",
"def N93T(WKvO):\n j1LR = oyIN.exp(o... | [
"0.80113125",
"0.77607703",
"0.77607703",
"0.7687368",
"0.76707524",
"0.76605",
"0.76571554",
"0.76571554",
"0.76571554",
"0.76571554",
"0.76571554",
"0.76571554",
"0.76571554",
"0.76397043",
"0.762786",
"0.7551623",
"0.7532752",
"0.74565",
"0.73242354",
"0.73171765",
"0.7298... | 0.0 | -1 |
Return a matrix of discounted returns. | def LCdC(hkxX, FMQW):
return Zxt2.signal.lfilter([1], [1, float(-FMQW)], hkxX.T[::-1], axis=0)[::-1].T | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def a_Eg(Mkmy, tzvm):\n exwG = len(Mkmy)\n Oa1e = oyIN.zeros(Mkmy.shape)\n jvSB = 0\n for YRbF in reversed(range(0, exwG)):\n jvSB = Mkmy[YRbF] + jvSB * tzvm\n Oa1e[YRbF] = jvSB\n return Oa1e",
"def wPpH(vwlo, FMQW):\n A3Vt = 0\n CuxP = []\n for Mkmy in vwlo[::-1]:\n ... | [
"0.6765498",
"0.67372805",
"0.64651036",
"0.64248353",
"0.6295985",
"0.6207233",
"0.61064875",
"0.5937838",
"0.59172505",
"0.59158057",
"0.5884742",
"0.58098733",
"0.5806588",
"0.5782922",
"0.5780484",
"0.576761",
"0.576761",
"0.576761",
"0.5757511",
"0.5731415",
"0.56967825"... | 0.0 | -1 |
Sample from geometric, but truncated values to `truncated_threshold`. This geometric has support from {0, 1, 2, ...}, meaning it includes 0. All values greater than `truncated_threshold` will be set to `new_value`. If `new_value` is None, then they will be assigned random integers from 0 to `truncate_threshold`. | def B8EE(XP5J, eEVN, zNig, Qj8D=None):
gGnb = oyIN.random.geometric(XP5J, zNig) - 1
lMgo = gGnb > eEVN
AtEv = sum(lMgo)
if Qj8D is None:
gGnb[gGnb > eEVN] = oyIN.random.randint(0, eEVN, AtEv)
else:
gGnb[gGnb > eEVN] = Qj8D
return gGnb | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def RTqr(BWXx):\n bHg_ = 0.2\n ARTs = bHg_ * tuKI.random() - bHg_ / 2.0\n hlel = BWXx + ARTs\n return round(hlel)",
"def xfgS(Q6uT, tAX0):\n pBSp = int(epAf.floor(tAX0))\n lO1m = int(epAf.ceil(tAX0))\n Mwj3 = tAX0 - pBSp\n S7on = tuKI.random() < Mwj3\n if S7on:\n Q6uT = Q6uT[:-p... | [
"0.60687965",
"0.6020303",
"0.57785857",
"0.57424086",
"0.5729774",
"0.56078446",
"0.5607178",
"0.54977447",
"0.54977447",
"0.5368158",
"0.53179735",
"0.5292426",
"0.5285837",
"0.52622795",
"0.52467215",
"0.5222547",
"0.52070725",
"0.5182375",
"0.5181216",
"0.5167716",
"0.516... | 0.8170246 | 0 |
Return if current board has enough memory. | def F0KE(YKHO):
HCmI = ['info-debug-variable-BOARD_INSUFFICIENT_MEMORY']
a4lo = YKHO.make(HCmI, log_error=True).strip().split()
Esyc = YKHO.board not in a4lo
YKHO.logger.info('Board has enough memory: %s', Esyc)
return Esyc | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Esyc(YKHO) -> bool:\n return YKHO._total_memory() > YKHO.requested_memory",
"def TGx2():\n if gCyI().percent > 80:\n MKXK('Holding pattern...')\n return False\n else:\n return True",
"def CvKN(YKHO):\n return True if YKHO.size >= 31 else False",
"def L03_(YKHO) -> bool:\n... | [
"0.80218375",
"0.7191259",
"0.7168331",
"0.7139805",
"0.7058878",
"0.7057515",
"0.7055748",
"0.7014366",
"0.6997856",
"0.6993317",
"0.6978949",
"0.6947817",
"0.6947817",
"0.6927004",
"0.6926972",
"0.69120854",
"0.6885895",
"0.688195",
"0.68735033",
"0.68298995",
"0.682391",
... | 0.8943204 | 0 |
Get previous result output for step `name`. Returns `output` if it is there, None if not. | def DtD2(YKHO, mWFP):
try:
with open(YKHO._outfile('%s.success' % mWFP), encoding='utf-8') as AVVH:
YKHO.logger.info('Nothing to be done for %s', mWFP)
return AVVH.read()
except OSError:
pass
return None | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def vDEE(hlel):\n return jg1M[hlel]",
"def tic5(YKHO):\n return YKHO(YKHO.previous_input)",
"def LI2u(YKHO, mWFP):\n return YKHO.outputs[mWFP]",
"def Lbmr(YKHO, gR3p):\n i4mH = YKHO._find_valid_prev_steps(gR3p)\n if len(i4mH) == 0:\n raise ValueError('No workflow available for sample {}... | [
"0.6950774",
"0.6583026",
"0.65536666",
"0.6394593",
"0.6372524",
"0.6211365",
"0.59890646",
"0.58077955",
"0.57944524",
"0.57691705",
"0.5751709",
"0.5737979",
"0.5699492",
"0.5699492",
"0.56516343",
"0.5588621",
"0.55190104",
"0.5510191",
"0.54703504",
"0.54629177",
"0.5438... | 0.7627162 | 0 |
Getter method for index, mapped from YANG variable /bgp/rib/attr_sets/attr_set/state/index (uint64) | def aqIr(YKHO):
return YKHO.__index | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def QTBn(YKHO):\n if YKHO.index is None:\n return None\n return YKHO.states[YKHO.index]",
"def Vn7Z(YKHO):\n return YKHO.attrs.index",
"def d6pt(YKHO):\n return YKHO.attrs.get('index')",
"def CsWX(YKHO):\n if YKHO.is_wide:\n d6pt = 0\n for YRbF in range(YKHO.height):\n ... | [
"0.6190105",
"0.6172236",
"0.60378057",
"0.59717214",
"0.5969804",
"0.59040415",
"0.5855267",
"0.58469516",
"0.5846584",
"0.5836139",
"0.5788626",
"0.57822156",
"0.57428914",
"0.5714784",
"0.5711331",
"0.5690486",
"0.5659895",
"0.5655265",
"0.5648071",
"0.564391",
"0.5643378"... | 0.5429801 | 76 |
Setter method for index, mapped from YANG variable /bgp/rib/attr_sets/attr_set/state/index (uint64) | def _yGE(YKHO, Ty9i, tyeH=False):
if hasattr(Ty9i, '_utype'):
Ty9i = Ty9i._utype(Ty9i)
try:
a1PO = ltgX(Ty9i, base=ukQ0(base_type=Swre, restriction_dict={'range': ['0..18446744073709551615']}, int_size=64), is_leaf=True, yang_name='index', parent=YKHO, path_helper=YKHO._path_helper, extmethods=Y... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def _yGE(YKHO, Ty9i, tyeH=False):\n if hasattr(Ty9i, '_utype'):\n Ty9i = Ty9i._utype(Ty9i)\n try:\n a1PO = ltgX(Ty9i, base=ukQ0(base_type=Swre, restriction_dict={'range': ['0..18446744073709551615']}, int_size=64), is_leaf=True, yang_name='index', parent=YKHO, path_helper=YKHO._path_helper, ext... | [
"0.68072045",
"0.68072045",
"0.68072045",
"0.68072045",
"0.6456595",
"0.6387841",
"0.6373239",
"0.63581395",
"0.63479304",
"0.63106656",
"0.6298153",
"0.623792",
"0.6236487",
"0.60301197",
"0.60164624",
"0.59418863",
"0.59242386",
"0.5909002",
"0.58686906",
"0.5812723",
"0.57... | 0.69715583 | 5 |
Setter method for med, mapped from YANG variable /bgp/rib/attr_sets/attr_set/state/med (uint32) | def NnCW(YKHO, Ty9i, tyeH=False):
if hasattr(Ty9i, '_utype'):
Ty9i = Ty9i._utype(Ty9i)
try:
a1PO = ltgX(Ty9i, base=ukQ0(base_type=Swre, restriction_dict={'range': ['0..4294967295']}, int_size=32), is_leaf=True, yang_name='med', parent=YKHO, path_helper=YKHO._path_helper, extmethods=YKHO._extmeth... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def sVe_(ENc3, efKl):\n global med, mad\n usD_.update(ENc3)\n XNqj.update(efKl)",
"def odk1(YKHO, RLSu: str, Z0HO: int) -> None:\n YKHO.state.setdefault(RLSu, {})['brightness_dimmed'] = Z0HO\n YKHO._save_state()",
"def O4J1(YKHO):\n return YKHO.__med",
"def O4J1(YKHO):\n return YKHO.__me... | [
"0.61066574",
"0.5554944",
"0.5405823",
"0.5405823",
"0.5405823",
"0.5405823",
"0.5405823",
"0.5405823",
"0.5405823",
"0.5119542",
"0.5045982",
"0.5004258",
"0.48853382",
"0.4844386",
"0.4741918",
"0.46963048",
"0.467732",
"0.46282414",
"0.4615849",
"0.46110824",
"0.45704567"... | 0.74463826 | 1 |
Getter method for local_pref, mapped from YANG variable /bgp/rib/attr_sets/attr_set/state/local_pref (uint32) | def N1lH(YKHO):
return YKHO.__local_pref | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def yt2r(YKHO, Ty9i, tyeH=False):\n if hasattr(Ty9i, '_utype'):\n Ty9i = Ty9i._utype(Ty9i)\n try:\n a1PO = ltgX(Ty9i, base=ukQ0(base_type=Swre, restriction_dict={'range': ['0..4294967295']}, int_size=32), is_leaf=True, yang_name='local-pref', parent=YKHO, path_helper=YKHO._path_helper, extmetho... | [
"0.81332576",
"0.81332576",
"0.81332576",
"0.81332576",
"0.81332576",
"0.81332576",
"0.81332576",
"0.6691956",
"0.55580175",
"0.55580175",
"0.55580175",
"0.55580175",
"0.55216455",
"0.54128134",
"0.52575517",
"0.52575517",
"0.52575517",
"0.52575517",
"0.5182632",
"0.51620513",
... | 0.58485085 | 9 |
Setter method for local_pref, mapped from YANG variable /bgp/rib/attr_sets/attr_set/state/local_pref (uint32) | def yt2r(YKHO, Ty9i, tyeH=False):
if hasattr(Ty9i, '_utype'):
Ty9i = Ty9i._utype(Ty9i)
try:
a1PO = ltgX(Ty9i, base=ukQ0(base_type=Swre, restriction_dict={'range': ['0..4294967295']}, int_size=32), is_leaf=True, yang_name='local-pref', parent=YKHO, path_helper=YKHO._path_helper, extmethods=YKHO._... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Srg8(YKHO, Ty9i, tyeH=False):\n if hasattr(Ty9i, '_utype'):\n Ty9i = Ty9i._utype(Ty9i)\n try:\n a1PO = ltgX(Ty9i, base=ukQ0(base_type=Swre, restriction_dict={'range': ['0..4294967295']}, int_size=32), is_leaf=True, yang_name='local-state', rest_name='local-state', parent=YKHO, path_helper=Y... | [
"0.70153236",
"0.58408064",
"0.5816498",
"0.5799258",
"0.5799258",
"0.5799258",
"0.5799258",
"0.563967",
"0.55958354",
"0.5528674",
"0.5528674",
"0.5528674",
"0.5528674",
"0.5528674",
"0.5444875",
"0.5444875",
"0.5444875",
"0.5444875",
"0.54141176",
"0.54141176",
"0.54141176"... | 0.8627136 | 5 |
Getter method for aigp, mapped from YANG variable /bgp/rib/attr_sets/attr_set/state/aigp (uint64) | def _pfx(YKHO):
return YKHO.__aigp | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def fbAZ(YKHO, Ty9i, tyeH=False):\n if hasattr(Ty9i, '_utype'):\n Ty9i = Ty9i._utype(Ty9i)\n try:\n a1PO = ltgX(Ty9i, base=ukQ0(base_type=Swre, restriction_dict={'range': ['0..18446744073709551615']}, int_size=64), is_leaf=True, yang_name='aigp', parent=YKHO, path_helper=YKHO._path_helper, extm... | [
"0.75982994",
"0.75982994",
"0.75982994",
"0.75982994",
"0.75982994",
"0.75982994",
"0.75982994",
"0.51931345",
"0.4933056",
"0.487927",
"0.4867245",
"0.48558748",
"0.48509067",
"0.474664",
"0.47200018",
"0.4700575",
"0.46753037",
"0.46495038",
"0.4629277",
"0.46068946",
"0.4... | 0.6752461 | 8 |
Getter method for index, mapped from YANG variable /bgp/rib/attr_sets/attr_set/state/index (uint64) | def aqIr(YKHO):
return YKHO.__index | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def QTBn(YKHO):\n if YKHO.index is None:\n return None\n return YKHO.states[YKHO.index]",
"def Vn7Z(YKHO):\n return YKHO.attrs.index",
"def d6pt(YKHO):\n return YKHO.attrs.get('index')",
"def CsWX(YKHO):\n if YKHO.is_wide:\n d6pt = 0\n for YRbF in range(YKHO.height):\n ... | [
"0.61909205",
"0.61721504",
"0.6037976",
"0.59706295",
"0.5970098",
"0.5904061",
"0.5856174",
"0.5847002",
"0.5845719",
"0.58358973",
"0.57872844",
"0.5781926",
"0.5742745",
"0.57155406",
"0.57114816",
"0.5690426",
"0.56599677",
"0.56556803",
"0.5647558",
"0.56436527",
"0.564... | 0.542907 | 77 |
Setter method for index, mapped from YANG variable /bgp/rib/attr_sets/attr_set/state/index (uint64) | def _yGE(YKHO, Ty9i, tyeH=False):
if hasattr(Ty9i, '_utype'):
Ty9i = Ty9i._utype(Ty9i)
try:
a1PO = ltgX(Ty9i, base=ukQ0(base_type=Swre, restriction_dict={'range': ['0..18446744073709551615']}, int_size=64), is_leaf=True, yang_name='index', parent=YKHO, path_helper=YKHO._path_helper, extmethods=Y... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def _yGE(YKHO, Ty9i, tyeH=False):\n if hasattr(Ty9i, '_utype'):\n Ty9i = Ty9i._utype(Ty9i)\n try:\n a1PO = ltgX(Ty9i, base=ukQ0(base_type=Swre, restriction_dict={'range': ['0..18446744073709551615']}, int_size=64), is_leaf=True, yang_name='index', parent=YKHO, path_helper=YKHO._path_helper, ext... | [
"0.6807585",
"0.6807585",
"0.6807585",
"0.6807585",
"0.6458554",
"0.6388698",
"0.6374091",
"0.6359197",
"0.6348985",
"0.63115335",
"0.62990075",
"0.623982",
"0.623894",
"0.6031277",
"0.6018264",
"0.5943205",
"0.592564",
"0.5911631",
"0.58693206",
"0.5814204",
"0.5799894",
"... | 0.69717073 | 6 |
Setter method for med, mapped from YANG variable /bgp/rib/attr_sets/attr_set/state/med (uint32) | def NnCW(YKHO, Ty9i, tyeH=False):
if hasattr(Ty9i, '_utype'):
Ty9i = Ty9i._utype(Ty9i)
try:
a1PO = ltgX(Ty9i, base=ukQ0(base_type=Swre, restriction_dict={'range': ['0..4294967295']}, int_size=32), is_leaf=True, yang_name='med', parent=YKHO, path_helper=YKHO._path_helper, extmethods=YKHO._extmeth... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def sVe_(ENc3, efKl):\n global med, mad\n usD_.update(ENc3)\n XNqj.update(efKl)",
"def odk1(YKHO, RLSu: str, Z0HO: int) -> None:\n YKHO.state.setdefault(RLSu, {})['brightness_dimmed'] = Z0HO\n YKHO._save_state()",
"def O4J1(YKHO):\n return YKHO.__med",
"def O4J1(YKHO):\n return YKHO.__me... | [
"0.611",
"0.5555014",
"0.54095227",
"0.54095227",
"0.54095227",
"0.54095227",
"0.54095227",
"0.54095227",
"0.54095227",
"0.5119179",
"0.50472254",
"0.5003579",
"0.4888787",
"0.48477286",
"0.47416577",
"0.4694198",
"0.4680465",
"0.46317863",
"0.4620251",
"0.4610155",
"0.457324... | 0.744895 | 6 |
Getter method for local_pref, mapped from YANG variable /bgp/rib/attr_sets/attr_set/state/local_pref (uint32) | def N1lH(YKHO):
return YKHO.__local_pref | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def yt2r(YKHO, Ty9i, tyeH=False):\n if hasattr(Ty9i, '_utype'):\n Ty9i = Ty9i._utype(Ty9i)\n try:\n a1PO = ltgX(Ty9i, base=ukQ0(base_type=Swre, restriction_dict={'range': ['0..4294967295']}, int_size=32), is_leaf=True, yang_name='local-pref', parent=YKHO, path_helper=YKHO._path_helper, extmetho... | [
"0.81343794",
"0.81343794",
"0.81343794",
"0.81343794",
"0.81343794",
"0.81343794",
"0.81343794",
"0.66945493",
"0.5556336",
"0.5556336",
"0.5556336",
"0.5556336",
"0.55214095",
"0.5414701",
"0.5257154",
"0.5257154",
"0.5257154",
"0.5257154",
"0.518397",
"0.51651716",
"0.5078... | 0.5850058 | 11 |
Setter method for local_pref, mapped from YANG variable /bgp/rib/attr_sets/attr_set/state/local_pref (uint32) | def yt2r(YKHO, Ty9i, tyeH=False):
if hasattr(Ty9i, '_utype'):
Ty9i = Ty9i._utype(Ty9i)
try:
a1PO = ltgX(Ty9i, base=ukQ0(base_type=Swre, restriction_dict={'range': ['0..4294967295']}, int_size=32), is_leaf=True, yang_name='local-pref', parent=YKHO, path_helper=YKHO._path_helper, extmethods=YKHO._... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Srg8(YKHO, Ty9i, tyeH=False):\n if hasattr(Ty9i, '_utype'):\n Ty9i = Ty9i._utype(Ty9i)\n try:\n a1PO = ltgX(Ty9i, base=ukQ0(base_type=Swre, restriction_dict={'range': ['0..4294967295']}, int_size=32), is_leaf=True, yang_name='local-state', rest_name='local-state', parent=YKHO, path_helper=Y... | [
"0.70146227",
"0.5839329",
"0.581511",
"0.57976514",
"0.57976514",
"0.57976514",
"0.57976514",
"0.563794",
"0.55929774",
"0.55260813",
"0.55260813",
"0.55260813",
"0.55260813",
"0.55260813",
"0.54420257",
"0.54420257",
"0.54420257",
"0.54420257",
"0.54119486",
"0.54119486",
"... | 0.8627086 | 6 |
Getter method for aigp, mapped from YANG variable /bgp/rib/attr_sets/attr_set/state/aigp (uint64) | def _pfx(YKHO):
return YKHO.__aigp | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def fbAZ(YKHO, Ty9i, tyeH=False):\n if hasattr(Ty9i, '_utype'):\n Ty9i = Ty9i._utype(Ty9i)\n try:\n a1PO = ltgX(Ty9i, base=ukQ0(base_type=Swre, restriction_dict={'range': ['0..18446744073709551615']}, int_size=64), is_leaf=True, yang_name='aigp', parent=YKHO, path_helper=YKHO._path_helper, extm... | [
"0.75963974",
"0.75963974",
"0.75963974",
"0.75963974",
"0.75963974",
"0.75963974",
"0.75963974",
"0.5191732",
"0.49329394",
"0.4878191",
"0.48661876",
"0.48570088",
"0.48504663",
"0.47467354",
"0.47189984",
"0.47004703",
"0.46764743",
"0.46511954",
"0.46293053",
"0.4608438",
... | 0.6751151 | 9 |
Getter method for index, mapped from YANG variable /bgp/rib/attr_sets/attr_set/state/index (uint64) | def aqIr(YKHO):
return YKHO.__index | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def QTBn(YKHO):\n if YKHO.index is None:\n return None\n return YKHO.states[YKHO.index]",
"def Vn7Z(YKHO):\n return YKHO.attrs.index",
"def d6pt(YKHO):\n return YKHO.attrs.get('index')",
"def CsWX(YKHO):\n if YKHO.is_wide:\n d6pt = 0\n for YRbF in range(YKHO.height):\n ... | [
"0.6190105",
"0.6172236",
"0.60378057",
"0.59717214",
"0.5969804",
"0.59040415",
"0.5855267",
"0.58469516",
"0.5846584",
"0.5836139",
"0.5788626",
"0.57822156",
"0.57428914",
"0.5714784",
"0.5711331",
"0.5690486",
"0.5659895",
"0.5655265",
"0.5648071",
"0.564391",
"0.5643378"... | 0.5429801 | 75 |
Setter method for index, mapped from YANG variable /bgp/rib/attr_sets/attr_set/state/index (uint64) | def _yGE(YKHO, Ty9i, tyeH=False):
if hasattr(Ty9i, '_utype'):
Ty9i = Ty9i._utype(Ty9i)
try:
a1PO = ltgX(Ty9i, base=ukQ0(base_type=Swre, restriction_dict={'range': ['0..18446744073709551615']}, int_size=64), is_leaf=True, yang_name='index', parent=YKHO, path_helper=YKHO._path_helper, extmethods=Y... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def _yGE(YKHO, Ty9i, tyeH=False):\n if hasattr(Ty9i, '_utype'):\n Ty9i = Ty9i._utype(Ty9i)\n try:\n a1PO = ltgX(Ty9i, base=ukQ0(base_type=Swre, restriction_dict={'range': ['0..18446744073709551615']}, int_size=64), is_leaf=True, yang_name='index', parent=YKHO, path_helper=YKHO._path_helper, ext... | [
"0.68072045",
"0.68072045",
"0.68072045",
"0.68072045",
"0.6456595",
"0.6387841",
"0.6373239",
"0.63581395",
"0.63479304",
"0.63106656",
"0.6298153",
"0.623792",
"0.6236487",
"0.60301197",
"0.60164624",
"0.59418863",
"0.59242386",
"0.5909002",
"0.58686906",
"0.5812723",
"0.57... | 0.69715583 | 4 |
Setter method for med, mapped from YANG variable /bgp/rib/attr_sets/attr_set/state/med (uint32) | def NnCW(YKHO, Ty9i, tyeH=False):
if hasattr(Ty9i, '_utype'):
Ty9i = Ty9i._utype(Ty9i)
try:
a1PO = ltgX(Ty9i, base=ukQ0(base_type=Swre, restriction_dict={'range': ['0..4294967295']}, int_size=32), is_leaf=True, yang_name='med', parent=YKHO, path_helper=YKHO._path_helper, extmethods=YKHO._extmeth... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def sVe_(ENc3, efKl):\n global med, mad\n usD_.update(ENc3)\n XNqj.update(efKl)",
"def odk1(YKHO, RLSu: str, Z0HO: int) -> None:\n YKHO.state.setdefault(RLSu, {})['brightness_dimmed'] = Z0HO\n YKHO._save_state()",
"def O4J1(YKHO):\n return YKHO.__med",
"def O4J1(YKHO):\n return YKHO.__me... | [
"0.61066574",
"0.5554944",
"0.5405823",
"0.5405823",
"0.5405823",
"0.5405823",
"0.5405823",
"0.5405823",
"0.5405823",
"0.5119542",
"0.5045982",
"0.5004258",
"0.48853382",
"0.4844386",
"0.4741918",
"0.46963048",
"0.467732",
"0.46282414",
"0.4615849",
"0.46110824",
"0.45704567"... | 0.74463826 | 5 |
Getter method for local_pref, mapped from YANG variable /bgp/rib/attr_sets/attr_set/state/local_pref (uint32) | def N1lH(YKHO):
return YKHO.__local_pref | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def yt2r(YKHO, Ty9i, tyeH=False):\n if hasattr(Ty9i, '_utype'):\n Ty9i = Ty9i._utype(Ty9i)\n try:\n a1PO = ltgX(Ty9i, base=ukQ0(base_type=Swre, restriction_dict={'range': ['0..4294967295']}, int_size=32), is_leaf=True, yang_name='local-pref', parent=YKHO, path_helper=YKHO._path_helper, extmetho... | [
"0.81332576",
"0.81332576",
"0.81332576",
"0.81332576",
"0.81332576",
"0.81332576",
"0.81332576",
"0.6691956",
"0.55580175",
"0.55580175",
"0.55580175",
"0.55580175",
"0.55216455",
"0.54128134",
"0.52575517",
"0.52575517",
"0.52575517",
"0.52575517",
"0.5182632",
"0.51620513",
... | 0.58485085 | 10 |
Setter method for local_pref, mapped from YANG variable /bgp/rib/attr_sets/attr_set/state/local_pref (uint32) | def yt2r(YKHO, Ty9i, tyeH=False):
if hasattr(Ty9i, '_utype'):
Ty9i = Ty9i._utype(Ty9i)
try:
a1PO = ltgX(Ty9i, base=ukQ0(base_type=Swre, restriction_dict={'range': ['0..4294967295']}, int_size=32), is_leaf=True, yang_name='local-pref', parent=YKHO, path_helper=YKHO._path_helper, extmethods=YKHO._... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Srg8(YKHO, Ty9i, tyeH=False):\n if hasattr(Ty9i, '_utype'):\n Ty9i = Ty9i._utype(Ty9i)\n try:\n a1PO = ltgX(Ty9i, base=ukQ0(base_type=Swre, restriction_dict={'range': ['0..4294967295']}, int_size=32), is_leaf=True, yang_name='local-state', rest_name='local-state', parent=YKHO, path_helper=Y... | [
"0.70153236",
"0.58408064",
"0.5816498",
"0.5799258",
"0.5799258",
"0.5799258",
"0.5799258",
"0.563967",
"0.55958354",
"0.5528674",
"0.5528674",
"0.5528674",
"0.5528674",
"0.5528674",
"0.5444875",
"0.5444875",
"0.5444875",
"0.5444875",
"0.54141176",
"0.54141176",
"0.54141176"... | 0.8627136 | 1 |
Getter method for aigp, mapped from YANG variable /bgp/rib/attr_sets/attr_set/state/aigp (uint64) | def _pfx(YKHO):
return YKHO.__aigp | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def fbAZ(YKHO, Ty9i, tyeH=False):\n if hasattr(Ty9i, '_utype'):\n Ty9i = Ty9i._utype(Ty9i)\n try:\n a1PO = ltgX(Ty9i, base=ukQ0(base_type=Swre, restriction_dict={'range': ['0..18446744073709551615']}, int_size=64), is_leaf=True, yang_name='aigp', parent=YKHO, path_helper=YKHO._path_helper, extm... | [
"0.75982994",
"0.75982994",
"0.75982994",
"0.75982994",
"0.75982994",
"0.75982994",
"0.75982994",
"0.51931345",
"0.4933056",
"0.487927",
"0.4867245",
"0.48558748",
"0.48509067",
"0.474664",
"0.47200018",
"0.4700575",
"0.46753037",
"0.46495038",
"0.4629277",
"0.46068946",
"0.4... | 0.6752461 | 10 |
Getter method for index, mapped from YANG variable /bgp/rib/attr_sets/attr_set/state/index (uint64) | def aqIr(YKHO):
return YKHO.__index | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def QTBn(YKHO):\n if YKHO.index is None:\n return None\n return YKHO.states[YKHO.index]",
"def Vn7Z(YKHO):\n return YKHO.attrs.index",
"def d6pt(YKHO):\n return YKHO.attrs.get('index')",
"def CsWX(YKHO):\n if YKHO.is_wide:\n d6pt = 0\n for YRbF in range(YKHO.height):\n ... | [
"0.61909205",
"0.61721504",
"0.6037976",
"0.59706295",
"0.5970098",
"0.5904061",
"0.5856174",
"0.5847002",
"0.5845719",
"0.58358973",
"0.57872844",
"0.5781926",
"0.5742745",
"0.57155406",
"0.57114816",
"0.5690426",
"0.56599677",
"0.56556803",
"0.5647558",
"0.56436527",
"0.564... | 0.542907 | 74 |
Setter method for index, mapped from YANG variable /bgp/rib/attr_sets/attr_set/state/index (uint64) | def _yGE(YKHO, Ty9i, tyeH=False):
if hasattr(Ty9i, '_utype'):
Ty9i = Ty9i._utype(Ty9i)
try:
a1PO = ltgX(Ty9i, base=ukQ0(base_type=Swre, restriction_dict={'range': ['0..18446744073709551615']}, int_size=64), is_leaf=True, yang_name='index', parent=YKHO, path_helper=YKHO._path_helper, extmethods=Y... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def _yGE(YKHO, Ty9i, tyeH=False):\n if hasattr(Ty9i, '_utype'):\n Ty9i = Ty9i._utype(Ty9i)\n try:\n a1PO = ltgX(Ty9i, base=ukQ0(base_type=Swre, restriction_dict={'range': ['0..18446744073709551615']}, int_size=64), is_leaf=True, yang_name='index', parent=YKHO, path_helper=YKHO._path_helper, ext... | [
"0.6807585",
"0.6807585",
"0.6807585",
"0.6807585",
"0.6458554",
"0.6388698",
"0.6374091",
"0.6359197",
"0.6348985",
"0.63115335",
"0.62990075",
"0.623982",
"0.623894",
"0.6031277",
"0.6018264",
"0.5943205",
"0.592564",
"0.5911631",
"0.58693206",
"0.5814204",
"0.5799894",
"... | 0.69717073 | 3 |
Setter method for med, mapped from YANG variable /bgp/rib/attr_sets/attr_set/state/med (uint32) | def NnCW(YKHO, Ty9i, tyeH=False):
if hasattr(Ty9i, '_utype'):
Ty9i = Ty9i._utype(Ty9i)
try:
a1PO = ltgX(Ty9i, base=ukQ0(base_type=Swre, restriction_dict={'range': ['0..4294967295']}, int_size=32), is_leaf=True, yang_name='med', parent=YKHO, path_helper=YKHO._path_helper, extmethods=YKHO._extmeth... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def sVe_(ENc3, efKl):\n global med, mad\n usD_.update(ENc3)\n XNqj.update(efKl)",
"def odk1(YKHO, RLSu: str, Z0HO: int) -> None:\n YKHO.state.setdefault(RLSu, {})['brightness_dimmed'] = Z0HO\n YKHO._save_state()",
"def O4J1(YKHO):\n return YKHO.__med",
"def O4J1(YKHO):\n return YKHO.__me... | [
"0.611",
"0.5555014",
"0.54095227",
"0.54095227",
"0.54095227",
"0.54095227",
"0.54095227",
"0.54095227",
"0.54095227",
"0.5119179",
"0.50472254",
"0.5003579",
"0.4888787",
"0.48477286",
"0.47416577",
"0.4694198",
"0.4680465",
"0.46317863",
"0.4620251",
"0.4610155",
"0.457324... | 0.744895 | 2 |
Getter method for local_pref, mapped from YANG variable /bgp/rib/attr_sets/attr_set/state/local_pref (uint32) | def N1lH(YKHO):
return YKHO.__local_pref | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def yt2r(YKHO, Ty9i, tyeH=False):\n if hasattr(Ty9i, '_utype'):\n Ty9i = Ty9i._utype(Ty9i)\n try:\n a1PO = ltgX(Ty9i, base=ukQ0(base_type=Swre, restriction_dict={'range': ['0..4294967295']}, int_size=32), is_leaf=True, yang_name='local-pref', parent=YKHO, path_helper=YKHO._path_helper, extmetho... | [
"0.81343794",
"0.81343794",
"0.81343794",
"0.81343794",
"0.81343794",
"0.81343794",
"0.81343794",
"0.66945493",
"0.5556336",
"0.5556336",
"0.5556336",
"0.5556336",
"0.55214095",
"0.5414701",
"0.5257154",
"0.5257154",
"0.5257154",
"0.5257154",
"0.518397",
"0.51651716",
"0.5078... | 0.5850058 | 12 |
Setter method for local_pref, mapped from YANG variable /bgp/rib/attr_sets/attr_set/state/local_pref (uint32) | def yt2r(YKHO, Ty9i, tyeH=False):
if hasattr(Ty9i, '_utype'):
Ty9i = Ty9i._utype(Ty9i)
try:
a1PO = ltgX(Ty9i, base=ukQ0(base_type=Swre, restriction_dict={'range': ['0..4294967295']}, int_size=32), is_leaf=True, yang_name='local-pref', parent=YKHO, path_helper=YKHO._path_helper, extmethods=YKHO._... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Srg8(YKHO, Ty9i, tyeH=False):\n if hasattr(Ty9i, '_utype'):\n Ty9i = Ty9i._utype(Ty9i)\n try:\n a1PO = ltgX(Ty9i, base=ukQ0(base_type=Swre, restriction_dict={'range': ['0..4294967295']}, int_size=32), is_leaf=True, yang_name='local-state', rest_name='local-state', parent=YKHO, path_helper=Y... | [
"0.70146227",
"0.5839329",
"0.581511",
"0.57976514",
"0.57976514",
"0.57976514",
"0.57976514",
"0.563794",
"0.55929774",
"0.55260813",
"0.55260813",
"0.55260813",
"0.55260813",
"0.55260813",
"0.54420257",
"0.54420257",
"0.54420257",
"0.54420257",
"0.54119486",
"0.54119486",
"... | 0.8627086 | 2 |
Getter method for aigp, mapped from YANG variable /bgp/rib/attr_sets/attr_set/state/aigp (uint64) | def _pfx(YKHO):
return YKHO.__aigp | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def fbAZ(YKHO, Ty9i, tyeH=False):\n if hasattr(Ty9i, '_utype'):\n Ty9i = Ty9i._utype(Ty9i)\n try:\n a1PO = ltgX(Ty9i, base=ukQ0(base_type=Swre, restriction_dict={'range': ['0..18446744073709551615']}, int_size=64), is_leaf=True, yang_name='aigp', parent=YKHO, path_helper=YKHO._path_helper, extm... | [
"0.75963974",
"0.75963974",
"0.75963974",
"0.75963974",
"0.75963974",
"0.75963974",
"0.75963974",
"0.5191732",
"0.49329394",
"0.4878191",
"0.48661876",
"0.48570088",
"0.48504663",
"0.47467354",
"0.47189984",
"0.47004703",
"0.46764743",
"0.46511954",
"0.46293053",
"0.4608438",
... | 0.6751151 | 12 |
Getter method for index, mapped from YANG variable /bgp/rib/attr_sets/attr_set/state/index (uint64) | def aqIr(YKHO):
return YKHO.__index | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def QTBn(YKHO):\n if YKHO.index is None:\n return None\n return YKHO.states[YKHO.index]",
"def Vn7Z(YKHO):\n return YKHO.attrs.index",
"def d6pt(YKHO):\n return YKHO.attrs.get('index')",
"def CsWX(YKHO):\n if YKHO.is_wide:\n d6pt = 0\n for YRbF in range(YKHO.height):\n ... | [
"0.6190105",
"0.6172236",
"0.60378057",
"0.59717214",
"0.5969804",
"0.59040415",
"0.5855267",
"0.58469516",
"0.5846584",
"0.5836139",
"0.5788626",
"0.57822156",
"0.57428914",
"0.5714784",
"0.5711331",
"0.5690486",
"0.5659895",
"0.5655265",
"0.5648071",
"0.564391",
"0.5643378"... | 0.5429801 | 73 |
Setter method for index, mapped from YANG variable /bgp/rib/attr_sets/attr_set/state/index (uint64) | def _yGE(YKHO, Ty9i, tyeH=False):
if hasattr(Ty9i, '_utype'):
Ty9i = Ty9i._utype(Ty9i)
try:
a1PO = ltgX(Ty9i, base=ukQ0(base_type=Swre, restriction_dict={'range': ['0..18446744073709551615']}, int_size=64), is_leaf=True, yang_name='index', parent=YKHO, path_helper=YKHO._path_helper, extmethods=Y... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def _yGE(YKHO, Ty9i, tyeH=False):\n if hasattr(Ty9i, '_utype'):\n Ty9i = Ty9i._utype(Ty9i)\n try:\n a1PO = ltgX(Ty9i, base=ukQ0(base_type=Swre, restriction_dict={'range': ['0..18446744073709551615']}, int_size=64), is_leaf=True, yang_name='index', parent=YKHO, path_helper=YKHO._path_helper, ext... | [
"0.68072045",
"0.68072045",
"0.68072045",
"0.68072045",
"0.6456595",
"0.6387841",
"0.6373239",
"0.63581395",
"0.63479304",
"0.63106656",
"0.6298153",
"0.623792",
"0.6236487",
"0.60301197",
"0.60164624",
"0.59418863",
"0.59242386",
"0.5909002",
"0.58686906",
"0.5812723",
"0.57... | 0.69715583 | 2 |
Setter method for med, mapped from YANG variable /bgp/rib/attr_sets/attr_set/state/med (uint32) | def NnCW(YKHO, Ty9i, tyeH=False):
if hasattr(Ty9i, '_utype'):
Ty9i = Ty9i._utype(Ty9i)
try:
a1PO = ltgX(Ty9i, base=ukQ0(base_type=Swre, restriction_dict={'range': ['0..4294967295']}, int_size=32), is_leaf=True, yang_name='med', parent=YKHO, path_helper=YKHO._path_helper, extmethods=YKHO._extmeth... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def sVe_(ENc3, efKl):\n global med, mad\n usD_.update(ENc3)\n XNqj.update(efKl)",
"def odk1(YKHO, RLSu: str, Z0HO: int) -> None:\n YKHO.state.setdefault(RLSu, {})['brightness_dimmed'] = Z0HO\n YKHO._save_state()",
"def O4J1(YKHO):\n return YKHO.__med",
"def O4J1(YKHO):\n return YKHO.__me... | [
"0.61066574",
"0.5554944",
"0.5405823",
"0.5405823",
"0.5405823",
"0.5405823",
"0.5405823",
"0.5405823",
"0.5405823",
"0.5119542",
"0.5045982",
"0.5004258",
"0.48853382",
"0.4844386",
"0.4741918",
"0.46963048",
"0.467732",
"0.46282414",
"0.4615849",
"0.46110824",
"0.45704567"... | 0.74463826 | 4 |
Getter method for local_pref, mapped from YANG variable /bgp/rib/attr_sets/attr_set/state/local_pref (uint32) | def N1lH(YKHO):
return YKHO.__local_pref | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def yt2r(YKHO, Ty9i, tyeH=False):\n if hasattr(Ty9i, '_utype'):\n Ty9i = Ty9i._utype(Ty9i)\n try:\n a1PO = ltgX(Ty9i, base=ukQ0(base_type=Swre, restriction_dict={'range': ['0..4294967295']}, int_size=32), is_leaf=True, yang_name='local-pref', parent=YKHO, path_helper=YKHO._path_helper, extmetho... | [
"0.81332576",
"0.81332576",
"0.81332576",
"0.81332576",
"0.81332576",
"0.81332576",
"0.81332576",
"0.6691956",
"0.55580175",
"0.55580175",
"0.55580175",
"0.55580175",
"0.55216455",
"0.54128134",
"0.52575517",
"0.52575517",
"0.52575517",
"0.52575517",
"0.5182632",
"0.51620513",
... | 0.58485085 | 14 |
Setter method for local_pref, mapped from YANG variable /bgp/rib/attr_sets/attr_set/state/local_pref (uint32) | def yt2r(YKHO, Ty9i, tyeH=False):
if hasattr(Ty9i, '_utype'):
Ty9i = Ty9i._utype(Ty9i)
try:
a1PO = ltgX(Ty9i, base=ukQ0(base_type=Swre, restriction_dict={'range': ['0..4294967295']}, int_size=32), is_leaf=True, yang_name='local-pref', parent=YKHO, path_helper=YKHO._path_helper, extmethods=YKHO._... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Srg8(YKHO, Ty9i, tyeH=False):\n if hasattr(Ty9i, '_utype'):\n Ty9i = Ty9i._utype(Ty9i)\n try:\n a1PO = ltgX(Ty9i, base=ukQ0(base_type=Swre, restriction_dict={'range': ['0..4294967295']}, int_size=32), is_leaf=True, yang_name='local-state', rest_name='local-state', parent=YKHO, path_helper=Y... | [
"0.70153236",
"0.58408064",
"0.5816498",
"0.5799258",
"0.5799258",
"0.5799258",
"0.5799258",
"0.563967",
"0.55958354",
"0.5528674",
"0.5528674",
"0.5528674",
"0.5528674",
"0.5528674",
"0.5444875",
"0.5444875",
"0.5444875",
"0.5444875",
"0.54141176",
"0.54141176",
"0.54141176"... | 0.8627136 | 4 |
Getter method for aigp, mapped from YANG variable /bgp/rib/attr_sets/attr_set/state/aigp (uint64) | def _pfx(YKHO):
return YKHO.__aigp | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def fbAZ(YKHO, Ty9i, tyeH=False):\n if hasattr(Ty9i, '_utype'):\n Ty9i = Ty9i._utype(Ty9i)\n try:\n a1PO = ltgX(Ty9i, base=ukQ0(base_type=Swre, restriction_dict={'range': ['0..18446744073709551615']}, int_size=64), is_leaf=True, yang_name='aigp', parent=YKHO, path_helper=YKHO._path_helper, extm... | [
"0.75982994",
"0.75982994",
"0.75982994",
"0.75982994",
"0.75982994",
"0.75982994",
"0.75982994",
"0.51931345",
"0.4933056",
"0.487927",
"0.4867245",
"0.48558748",
"0.48509067",
"0.474664",
"0.47200018",
"0.4700575",
"0.46753037",
"0.46495038",
"0.4629277",
"0.46068946",
"0.4... | 0.6752461 | 11 |
Getter method for index, mapped from YANG variable /bgp/rib/attr_sets/attr_set/state/index (uint64) | def aqIr(YKHO):
return YKHO.__index | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def QTBn(YKHO):\n if YKHO.index is None:\n return None\n return YKHO.states[YKHO.index]",
"def Vn7Z(YKHO):\n return YKHO.attrs.index",
"def d6pt(YKHO):\n return YKHO.attrs.get('index')",
"def CsWX(YKHO):\n if YKHO.is_wide:\n d6pt = 0\n for YRbF in range(YKHO.height):\n ... | [
"0.61909205",
"0.61721504",
"0.6037976",
"0.59706295",
"0.5970098",
"0.5904061",
"0.5856174",
"0.5847002",
"0.5845719",
"0.58358973",
"0.57872844",
"0.5781926",
"0.5742745",
"0.57155406",
"0.57114816",
"0.5690426",
"0.56599677",
"0.56556803",
"0.5647558",
"0.56436527",
"0.564... | 0.542907 | 78 |
Setter method for index, mapped from YANG variable /bgp/rib/attr_sets/attr_set/state/index (uint64) | def _yGE(YKHO, Ty9i, tyeH=False):
if hasattr(Ty9i, '_utype'):
Ty9i = Ty9i._utype(Ty9i)
try:
a1PO = ltgX(Ty9i, base=ukQ0(base_type=Swre, restriction_dict={'range': ['0..18446744073709551615']}, int_size=64), is_leaf=True, yang_name='index', parent=YKHO, path_helper=YKHO._path_helper, extmethods=Y... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def _yGE(YKHO, Ty9i, tyeH=False):\n if hasattr(Ty9i, '_utype'):\n Ty9i = Ty9i._utype(Ty9i)\n try:\n a1PO = ltgX(Ty9i, base=ukQ0(base_type=Swre, restriction_dict={'range': ['0..18446744073709551615']}, int_size=64), is_leaf=True, yang_name='index', parent=YKHO, path_helper=YKHO._path_helper, ext... | [
"0.6807585",
"0.6807585",
"0.6807585",
"0.6807585",
"0.6458554",
"0.6388698",
"0.6374091",
"0.6359197",
"0.6348985",
"0.63115335",
"0.62990075",
"0.623982",
"0.623894",
"0.6031277",
"0.6018264",
"0.5943205",
"0.592564",
"0.5911631",
"0.58693206",
"0.5814204",
"0.5799894",
"... | 0.69717073 | 0 |
Setter method for med, mapped from YANG variable /bgp/rib/attr_sets/attr_set/state/med (uint32) | def NnCW(YKHO, Ty9i, tyeH=False):
if hasattr(Ty9i, '_utype'):
Ty9i = Ty9i._utype(Ty9i)
try:
a1PO = ltgX(Ty9i, base=ukQ0(base_type=Swre, restriction_dict={'range': ['0..4294967295']}, int_size=32), is_leaf=True, yang_name='med', parent=YKHO, path_helper=YKHO._path_helper, extmethods=YKHO._extmeth... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def sVe_(ENc3, efKl):\n global med, mad\n usD_.update(ENc3)\n XNqj.update(efKl)",
"def odk1(YKHO, RLSu: str, Z0HO: int) -> None:\n YKHO.state.setdefault(RLSu, {})['brightness_dimmed'] = Z0HO\n YKHO._save_state()",
"def O4J1(YKHO):\n return YKHO.__med",
"def O4J1(YKHO):\n return YKHO.__me... | [
"0.611",
"0.5555014",
"0.54095227",
"0.54095227",
"0.54095227",
"0.54095227",
"0.54095227",
"0.54095227",
"0.54095227",
"0.5119179",
"0.50472254",
"0.5003579",
"0.4888787",
"0.48477286",
"0.47416577",
"0.4694198",
"0.4680465",
"0.46317863",
"0.4620251",
"0.4610155",
"0.457324... | 0.744895 | 3 |
Getter method for local_pref, mapped from YANG variable /bgp/rib/attr_sets/attr_set/state/local_pref (uint32) | def N1lH(YKHO):
return YKHO.__local_pref | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def yt2r(YKHO, Ty9i, tyeH=False):\n if hasattr(Ty9i, '_utype'):\n Ty9i = Ty9i._utype(Ty9i)\n try:\n a1PO = ltgX(Ty9i, base=ukQ0(base_type=Swre, restriction_dict={'range': ['0..4294967295']}, int_size=32), is_leaf=True, yang_name='local-pref', parent=YKHO, path_helper=YKHO._path_helper, extmetho... | [
"0.81343794",
"0.81343794",
"0.81343794",
"0.81343794",
"0.81343794",
"0.81343794",
"0.81343794",
"0.66945493",
"0.5556336",
"0.5556336",
"0.5556336",
"0.5556336",
"0.55214095",
"0.5414701",
"0.5257154",
"0.5257154",
"0.5257154",
"0.5257154",
"0.518397",
"0.51651716",
"0.5078... | 0.5850058 | 13 |
Setter method for local_pref, mapped from YANG variable /bgp/rib/attr_sets/attr_set/state/local_pref (uint32) | def yt2r(YKHO, Ty9i, tyeH=False):
if hasattr(Ty9i, '_utype'):
Ty9i = Ty9i._utype(Ty9i)
try:
a1PO = ltgX(Ty9i, base=ukQ0(base_type=Swre, restriction_dict={'range': ['0..4294967295']}, int_size=32), is_leaf=True, yang_name='local-pref', parent=YKHO, path_helper=YKHO._path_helper, extmethods=YKHO._... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Srg8(YKHO, Ty9i, tyeH=False):\n if hasattr(Ty9i, '_utype'):\n Ty9i = Ty9i._utype(Ty9i)\n try:\n a1PO = ltgX(Ty9i, base=ukQ0(base_type=Swre, restriction_dict={'range': ['0..4294967295']}, int_size=32), is_leaf=True, yang_name='local-state', rest_name='local-state', parent=YKHO, path_helper=Y... | [
"0.70146227",
"0.5839329",
"0.581511",
"0.57976514",
"0.57976514",
"0.57976514",
"0.57976514",
"0.563794",
"0.55929774",
"0.55260813",
"0.55260813",
"0.55260813",
"0.55260813",
"0.55260813",
"0.54420257",
"0.54420257",
"0.54420257",
"0.54420257",
"0.54119486",
"0.54119486",
"... | 0.8627086 | 3 |
Getter method for aigp, mapped from YANG variable /bgp/rib/attr_sets/attr_set/state/aigp (uint64) | def _pfx(YKHO):
return YKHO.__aigp | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def fbAZ(YKHO, Ty9i, tyeH=False):\n if hasattr(Ty9i, '_utype'):\n Ty9i = Ty9i._utype(Ty9i)\n try:\n a1PO = ltgX(Ty9i, base=ukQ0(base_type=Swre, restriction_dict={'range': ['0..18446744073709551615']}, int_size=64), is_leaf=True, yang_name='aigp', parent=YKHO, path_helper=YKHO._path_helper, extm... | [
"0.75963974",
"0.75963974",
"0.75963974",
"0.75963974",
"0.75963974",
"0.75963974",
"0.75963974",
"0.5191732",
"0.49329394",
"0.4878191",
"0.48661876",
"0.48570088",
"0.48504663",
"0.47467354",
"0.47189984",
"0.47004703",
"0.46764743",
"0.46511954",
"0.46293053",
"0.4608438",
... | 0.6751151 | 13 |
Getter method for index, mapped from YANG variable /bgp/rib/attr_sets/attr_set/state/index (uint64) | def aqIr(YKHO):
return YKHO.__index | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def QTBn(YKHO):\n if YKHO.index is None:\n return None\n return YKHO.states[YKHO.index]",
"def Vn7Z(YKHO):\n return YKHO.attrs.index",
"def d6pt(YKHO):\n return YKHO.attrs.get('index')",
"def CsWX(YKHO):\n if YKHO.is_wide:\n d6pt = 0\n for YRbF in range(YKHO.height):\n ... | [
"0.6190105",
"0.6172236",
"0.60378057",
"0.59717214",
"0.5969804",
"0.59040415",
"0.5855267",
"0.58469516",
"0.5846584",
"0.5836139",
"0.5788626",
"0.57822156",
"0.57428914",
"0.5714784",
"0.5711331",
"0.5690486",
"0.5659895",
"0.5655265",
"0.5648071",
"0.564391",
"0.5643378"... | 0.5429801 | 72 |
Setter method for index, mapped from YANG variable /bgp/rib/attr_sets/attr_set/state/index (uint64) | def _yGE(YKHO, Ty9i, tyeH=False):
if hasattr(Ty9i, '_utype'):
Ty9i = Ty9i._utype(Ty9i)
try:
a1PO = ltgX(Ty9i, base=ukQ0(base_type=Swre, restriction_dict={'range': ['0..18446744073709551615']}, int_size=64), is_leaf=True, yang_name='index', parent=YKHO, path_helper=YKHO._path_helper, extmethods=Y... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def _yGE(YKHO, Ty9i, tyeH=False):\n if hasattr(Ty9i, '_utype'):\n Ty9i = Ty9i._utype(Ty9i)\n try:\n a1PO = ltgX(Ty9i, base=ukQ0(base_type=Swre, restriction_dict={'range': ['0..18446744073709551615']}, int_size=64), is_leaf=True, yang_name='index', parent=YKHO, path_helper=YKHO._path_helper, ext... | [
"0.68072045",
"0.68072045",
"0.68072045",
"0.68072045",
"0.6456595",
"0.6387841",
"0.6373239",
"0.63581395",
"0.63479304",
"0.63106656",
"0.6298153",
"0.623792",
"0.6236487",
"0.60301197",
"0.60164624",
"0.59418863",
"0.59242386",
"0.5909002",
"0.58686906",
"0.5812723",
"0.57... | 0.69715583 | 1 |
Setter method for med, mapped from YANG variable /bgp/rib/attr_sets/attr_set/state/med (uint32) | def NnCW(YKHO, Ty9i, tyeH=False):
if hasattr(Ty9i, '_utype'):
Ty9i = Ty9i._utype(Ty9i)
try:
a1PO = ltgX(Ty9i, base=ukQ0(base_type=Swre, restriction_dict={'range': ['0..4294967295']}, int_size=32), is_leaf=True, yang_name='med', parent=YKHO, path_helper=YKHO._path_helper, extmethods=YKHO._extmeth... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def sVe_(ENc3, efKl):\n global med, mad\n usD_.update(ENc3)\n XNqj.update(efKl)",
"def odk1(YKHO, RLSu: str, Z0HO: int) -> None:\n YKHO.state.setdefault(RLSu, {})['brightness_dimmed'] = Z0HO\n YKHO._save_state()",
"def O4J1(YKHO):\n return YKHO.__med",
"def O4J1(YKHO):\n return YKHO.__me... | [
"0.61066574",
"0.5554944",
"0.5405823",
"0.5405823",
"0.5405823",
"0.5405823",
"0.5405823",
"0.5405823",
"0.5405823",
"0.5119542",
"0.5045982",
"0.5004258",
"0.48853382",
"0.4844386",
"0.4741918",
"0.46963048",
"0.467732",
"0.46282414",
"0.4615849",
"0.46110824",
"0.45704567"... | 0.74463826 | 0 |
Getter method for local_pref, mapped from YANG variable /bgp/rib/attr_sets/attr_set/state/local_pref (uint32) | def N1lH(YKHO):
return YKHO.__local_pref | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def yt2r(YKHO, Ty9i, tyeH=False):\n if hasattr(Ty9i, '_utype'):\n Ty9i = Ty9i._utype(Ty9i)\n try:\n a1PO = ltgX(Ty9i, base=ukQ0(base_type=Swre, restriction_dict={'range': ['0..4294967295']}, int_size=32), is_leaf=True, yang_name='local-pref', parent=YKHO, path_helper=YKHO._path_helper, extmetho... | [
"0.81332576",
"0.81332576",
"0.81332576",
"0.81332576",
"0.81332576",
"0.81332576",
"0.81332576",
"0.6691956",
"0.55580175",
"0.55580175",
"0.55580175",
"0.55580175",
"0.55216455",
"0.54128134",
"0.52575517",
"0.52575517",
"0.52575517",
"0.52575517",
"0.5182632",
"0.51620513",
... | 0.58485085 | 8 |
Setter method for local_pref, mapped from YANG variable /bgp/rib/attr_sets/attr_set/state/local_pref (uint32) | def yt2r(YKHO, Ty9i, tyeH=False):
if hasattr(Ty9i, '_utype'):
Ty9i = Ty9i._utype(Ty9i)
try:
a1PO = ltgX(Ty9i, base=ukQ0(base_type=Swre, restriction_dict={'range': ['0..4294967295']}, int_size=32), is_leaf=True, yang_name='local-pref', parent=YKHO, path_helper=YKHO._path_helper, extmethods=YKHO._... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Srg8(YKHO, Ty9i, tyeH=False):\n if hasattr(Ty9i, '_utype'):\n Ty9i = Ty9i._utype(Ty9i)\n try:\n a1PO = ltgX(Ty9i, base=ukQ0(base_type=Swre, restriction_dict={'range': ['0..4294967295']}, int_size=32), is_leaf=True, yang_name='local-state', rest_name='local-state', parent=YKHO, path_helper=Y... | [
"0.70153236",
"0.58408064",
"0.5816498",
"0.5799258",
"0.5799258",
"0.5799258",
"0.5799258",
"0.563967",
"0.55958354",
"0.5528674",
"0.5528674",
"0.5528674",
"0.5528674",
"0.5528674",
"0.5444875",
"0.5444875",
"0.5444875",
"0.5444875",
"0.54141176",
"0.54141176",
"0.54141176"... | 0.8627136 | 0 |
Getter method for aigp, mapped from YANG variable /bgp/rib/attr_sets/attr_set/state/aigp (uint64) | def _pfx(YKHO):
return YKHO.__aigp | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def fbAZ(YKHO, Ty9i, tyeH=False):\n if hasattr(Ty9i, '_utype'):\n Ty9i = Ty9i._utype(Ty9i)\n try:\n a1PO = ltgX(Ty9i, base=ukQ0(base_type=Swre, restriction_dict={'range': ['0..18446744073709551615']}, int_size=64), is_leaf=True, yang_name='aigp', parent=YKHO, path_helper=YKHO._path_helper, extm... | [
"0.75982994",
"0.75982994",
"0.75982994",
"0.75982994",
"0.75982994",
"0.75982994",
"0.75982994",
"0.51931345",
"0.4933056",
"0.487927",
"0.4867245",
"0.48558748",
"0.48509067",
"0.474664",
"0.47200018",
"0.4700575",
"0.46753037",
"0.46495038",
"0.4629277",
"0.46068946",
"0.4... | 0.6752461 | 7 |
This function says that is the ball hits the edge of the screen, it will bounce off and move in the opposite direction | def BZN_(YKHO):
YKHO.rect.x += YKHO.x_speed
YKHO.rect.y += YKHO.y_speed
if YKHO.rect.left < 0 or YKHO.rect.right > YKHO.window_width:
YKHO.x_speed = -YKHO.x_speed
if YKHO.rect.top < 0 or YKHO.rect.bottom > YKHO.window_height:
YKHO.y_speed = -YKHO.y_speed | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def psSi(YKHO):\n if YKHO.rect.right > zMH2:\n YKHO.xmove = YKHO.xmove * -1\n if YKHO.rect.left < 0:\n YKHO.xmove = YKHO.xmove * -1\n if YKHO.rect.bottom > vkJL:\n YKHO.ymove = YKHO.ymove * -1\n if YKHO.rect.top < 0:\n YKHO.ymove = YKHO.ymove * -1",
"def OfFX(YKHO):\n i... | [
"0.7749164",
"0.76758844",
"0.75945294",
"0.7587738",
"0.7538824",
"0.75008386",
"0.75008386",
"0.7470786",
"0.7455316",
"0.7392026",
"0.7267594",
"0.72328913",
"0.7195992",
"0.7182927",
"0.7124674",
"0.7098975",
"0.70771646",
"0.70767623",
"0.7047102",
"0.7001928",
"0.698777... | 0.0 | -1 |
Test case for approve_shipment_diversion | def qIYx(YKHO):
pass | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Ksik(YKHO):\n pass",
"def T1XX(YKHO):\n pass",
"def rmQC(YKHO):\n pass",
"def aQDP(YKHO):\n pass",
"def hSUL(YKHO):\n pass",
"def sXAh(YKHO):\n pass",
"def y4_o(YKHO):\n pass",
"def Demy(YKHO):\n T4Wy = {'banana': 10, 'apple': 5}\n Cxcu = [{'name': 'pk', 'inventory': {'... | [
"0.82794034",
"0.8124298",
"0.70524776",
"0.6534887",
"0.6496846",
"0.6485401",
"0.6087473",
"0.60733163",
"0.5939895",
"0.5905267",
"0.5812711",
"0.5806479",
"0.5791032",
"0.57645214",
"0.57610536",
"0.5691088",
"0.56655484",
"0.56626815",
"0.5656383",
"0.559727",
"0.5595693... | 0.9253249 | 0 |
Iterate over groups of cells given a tile shape (in pixels). The tiles are always aligned to pixel (0, 0) so that a single grid cell never overlaps with multiple tiles. For the the same reason, the tile size should be an integer multiple of the maximum cell size. | def gXBm(YKHO, TVTK, H2v2):
iagN = YKHO.pixel_width.max()
if TVTK % iagN != 0 or H2v2 % iagN != 0:
raise ValueError('width and height should be a multiple of {}'.format(iagN))
BQGg, h3cg, bYzl, Z3uP = YKHO.get_extent_pixels()
TPao = int(BQGg // TVTK)
Smcs = int(h3cg // H2v2)
fVVZ = int(o... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def GaYc(LNo8, pA0V):\n yzQ0, MKlR = LNo8.size\n for LVAh in Ni9Y(0, MKlR, pA0V):\n for WKvO in Ni9Y(0, yzQ0, pA0V):\n yield (WKvO, LVAh)",
"def THpb(YKHO):\n MKlR, Ty9i = (10, 8)\n Cs6h = eege()\n JnVq = Cs6h.get_cells_for_tile(MKlR, Ty9i)\n for VmPb in JnVq:\n YKHO.as... | [
"0.7318648",
"0.68877107",
"0.6877496",
"0.684781",
"0.6774793",
"0.6732691",
"0.67184937",
"0.65535855",
"0.65448433",
"0.6470887",
"0.64323246",
"0.6412206",
"0.63778895",
"0.63193536",
"0.6300978",
"0.62987006",
"0.62967217",
"0.629251",
"0.62704027",
"0.62425727",
"0.6216... | 0.7193015 | 1 |
Calculate the critical h. For 1D problem, q is theoretically constant everywhere if no mass gain/loss. So the q at the left boundary can be treated as the q everywhere. | def vlkU(cJsZ, Oa1e):
HLId = (cJsZ * cJsZ / Oa1e) ** (1.0 / 3.0)
return HLId | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def kmSE(adSQ, jzdc, MKlR, vexM=0):\n tlxW = jzdc * adSQ ** (vexM + 1)\n JyK9 = 1 + MKlR * jzdc * adSQ ** (vexM + 1)\n Nq1b = tlxW / JyK9\n return Nq1b",
"def fP7U(M6pR):\n cJsZ = M6pR[0][0]\n hbUd = M6pR[1][0]\n BzON = M6pR[2][0]\n iv7Q = M6pR[3][0]\n d5jE = -1 * oyIN.array([[-2 * BzO... | [
"0.6604301",
"0.6515443",
"0.64429504",
"0.64390755",
"0.6424119",
"0.63550025",
"0.6352521",
"0.633151",
"0.63268775",
"0.6321594",
"0.63105476",
"0.629767",
"0.62438565",
"0.6230377",
"0.6179056",
"0.6168806",
"0.6168806",
"0.6168806",
"0.6162163",
"0.6155923",
"0.61472476"... | 0.6029521 | 28 |
declare_sample_delay(my_csv_sptr self, int which, int delay) declare_sample_delay(my_csv_sptr self, unsigned int delay) | def YaEX(YKHO, *qIxc) -> 'void':
return czGp.my_csv_sptr_declare_sample_delay(YKHO, *qIxc) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def fbzN(YKHO, Nygx: 'int') -> 'unsigned int':\n return czGp.my_csv_sptr_sample_delay(YKHO, Nygx)",
"def YaEX(YKHO, *qIxc):\n return tE_f.viterbi_i_sptr_declare_sample_delay(YKHO, *qIxc)",
"def YaEX(YKHO, *qIxc):\n return oyZL.reader_sptr_declare_sample_delay(YKHO, *qIxc)",
"def YaEX(YKHO, *qIxc):\n... | [
"0.7947718",
"0.74344534",
"0.7424216",
"0.74023515",
"0.7398298",
"0.7395989",
"0.7368165",
"0.7351525",
"0.73138547",
"0.7313578",
"0.7301354",
"0.7300597",
"0.7289227",
"0.7285304",
"0.7282705",
"0.7282116",
"0.7278101",
"0.72773004",
"0.72742295",
"0.7261565",
"0.72494334... | 0.8784194 | 0 |
sample_delay(my_csv_sptr self, int which) > unsigned int | def fbzN(YKHO, Nygx: 'int') -> 'unsigned int':
return czGp.my_csv_sptr_sample_delay(YKHO, Nygx) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def YaEX(YKHO, *qIxc) -> 'void':\n return czGp.my_csv_sptr_declare_sample_delay(YKHO, *qIxc)",
"def fbzN(YKHO, Nygx):\n return oyZL.reader_sptr_sample_delay(YKHO, Nygx)",
"def fbzN(YKHO, *qIxc, **B2fa):\n return tE_f.viterbi_combined_fi_sptr_sample_delay(YKHO, *qIxc, **B2fa)",
"def fbzN(YKHO, *qIxc,... | [
"0.7838895",
"0.7240047",
"0.70945287",
"0.7065125",
"0.70634115",
"0.699877",
"0.6990145",
"0.6962343",
"0.6954447",
"0.6950622",
"0.6949481",
"0.694402",
"0.69392484",
"0.6937309",
"0.69300586",
"0.6921413",
"0.69200766",
"0.6910135",
"0.6903653",
"0.68908185",
"0.68871367"... | 0.86066765 | 0 |