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
Returns true if both objects are equal
def xa14(YKHO, Elif): if not isinstance(Elif, GbKw): return False return YKHO.to_dict() == Elif.to_dict()
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def xa14(YKHO, Elif):\n return p6XU(YKHO, Elif)", "def xa14(YKHO, Elif):\n return p6XU(YKHO, Elif)", "def xa14(YKHO, Elif):\n try:\n return YKHO.object == Elif.object and isinstance(YKHO, type(Elif))\n except:\n return False", "def xa14(YKHO, Elif):\n if isinstance(YKHO, Elif.__c...
[ "0.8088132", "0.8088132", "0.8054589", "0.7982687", "0.79670393", "0.79670393", "0.79670393", "0.79670393", "0.79670393", "0.79670393", "0.79670393", "0.79670393", "0.79670393", "0.79670393", "0.79670393", "0.79670393", "0.79670393", "0.79670393", "0.79670393", "0.79670393", ...
0.0
-1
Returns true if both objects are not equal
def Vdqg(YKHO, Elif): if not isinstance(Elif, GbKw): return True return YKHO.to_dict() != Elif.to_dict()
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Vdqg(YKHO, Elif: object) -> bool:\n if YKHO.__eq__(Elif):\n return False\n return True", "def Vdqg(YKHO, Elif: object) -> bool:\n return not YKHO.__eq__(Elif)", "def Vdqg(YKHO, Elif) -> bool:\n return not YKHO.__eq__(Elif)", "def xa14(YKHO, Elif):\n return not YKHO.__ne__(Elif)", ...
[ "0.845611", "0.8391477", "0.8144138", "0.81410587", "0.8132492", "0.8093973", "0.80920255", "0.80920255", "0.80920255", "0.8085325", "0.8085325", "0.8076365", "0.8076365", "0.8065748", "0.8042487", "0.8042487", "0.8042487", "0.8042487", "0.8042487", "0.8042487", "0.8042487", ...
0.0
-1
Convert French month string to month number
def cwGe(x0eS): qXEg = 'janvfévrmarsavr-mai-juinjuilaoûtseptoct-nov-déc-' UVnF = ZbWC.search(x0eS.lower(), qXEg.lower()) if UVnF: dBdQ = (UVnF.start() + 4) / 4 return '0{}'.format(dBdQ)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def pL8v(vIwR):\n pdbK = qcWV.datetime.strptime(vIwR, '%B')\n ZR0n = pdbK.month\n return ZR0n", "def VIcm(vIwR):\n return int(vIwR[15:17])", "def pL8v(kUBT):\n CjKC, x0eS, lO87 = tuple(kUBT.group().split())\n e2VL = ['janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'se...
[ "0.77312475", "0.7318786", "0.6853059", "0.68296826", "0.6756675", "0.65487796", "0.649647", "0.6458225", "0.6411457", "0.63929135", "0.63658", "0.6313183", "0.626573", "0.6254738", "0.6229748", "0.62218606", "0.619408", "0.6188771", "0.615514", "0.6108722", "0.6102363", "0...
0.8581391
0
Map list of colorings to palette RGB colors
def hM6B(tn62, SnED): p9sx = [] for vxzt in SnED: p9sx.append(PDCB(tn62, vxzt)) return p9sx
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def PDCB(tn62, vxzt):\n io2a = []\n for qfpW in vxzt:\n io2a.append(tn62[qfpW % len(tn62)])\n return io2a", "def nfXt():\n um2A = {}\n for mWFP, hex in I8kJ.colors.cnames.items():\n qfpW = []\n for YRbF in I8kJ.colors.to_rgb(hex):\n qfpW.append(int(YRbF * 255))\n ...
[ "0.7596271", "0.75921935", "0.7532873", "0.7364121", "0.71395063", "0.71362543", "0.70034564", "0.69784653", "0.695025", "0.6821048", "0.6819641", "0.6804819", "0.6797782", "0.6774424", "0.67717034", "0.67503273", "0.6745318", "0.6733766", "0.67218775", "0.67147607", "0.67137...
0.76621413
0
Map coloring to palette RGB colors
def PDCB(tn62, vxzt): io2a = [] for qfpW in vxzt: io2a.append(tn62[qfpW % len(tn62)]) return io2a
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def XnA2(iMGt):\n return 255.0 * oyIN.array([iMGt(WKvO)[:3] for WKvO in oyIN.linspace(0, 1, 256)]).ravel().astype('int')", "def nfXt():\n um2A = {}\n for mWFP, hex in I8kJ.colors.cnames.items():\n qfpW = []\n for YRbF in I8kJ.colors.to_rgb(hex):\n qfpW.append(int(YRbF * 255))\n ...
[ "0.72013336", "0.7133012", "0.71307456", "0.6968792", "0.6954284", "0.6954284", "0.6954284", "0.6954284", "0.6933416", "0.6929779", "0.6850055", "0.6827679", "0.6823488", "0.6742514", "0.67194724", "0.6713468", "0.6703489", "0.66758156", "0.66448396", "0.663965", "0.6631956",...
0.72201467
0
Choose m elements from n elements
def yRwn(exwG, r8hN): assert exwG >= r8hN, 'Cannot choose {0} elements from {1}'.format(r8hN, exwG) Aofo = 1 for TD9s, kqeo in zip(range(exwG, r8hN, -1), range(1, r8hN + 1)): Aofo *= TD9s Aofo /= kqeo return Aofo
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def aKHo(r8hN, exwG):\n return [YRbF * exwG // r8hN + exwG // (2 * r8hN) for YRbF in range(r8hN)]", "def slice(exwG, r8hN):\n eHxA = []\n for mrj1 in uOgj(exwG, r8hN):\n eHxA.append(mrj1)\n return eHxA", "def EfUA(xRqF, exwG):\n return xRqF[:exwG]", "def k_ve(BDwY, min, max):\n fcYF ...
[ "0.7494856", "0.7139842", "0.70403945", "0.6865885", "0.68473375", "0.6767502", "0.67674476", "0.6696457", "0.6691403", "0.66241354", "0.651283", "0.643008", "0.63425565", "0.61162794", "0.6092371", "0.59768516", "0.5939783", "0.59225035", "0.59218305", "0.5900335", "0.589956...
0.7034338
3
Check that model weights are correctly reset after scaling batch size.
def h5aU(TBXe): oeN8.reset_seed() C3ST = chhr() CErl = wnMz(default_root_dir=TBXe, max_epochs=1) f2Lj = _qLf(C3ST.state_dict()) CErl.tuner.scale_batch_size(C3ST, max_trials=5) N3nF = C3ST.state_dict() for H5ew in f2Lj.keys(): assert ht2j.all(ht2j.eq(f2Lj[H5ew], N3nF[H5ew])), 'Model w...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def XNGo(C3ST, I7JW):\n eHNT = XNGo\n gbKR = C3ST.conv1._module_to_wrap.weight\n if I7JW != 0:\n assert not oyIN.allclose(gbKR.cpu().detach().numpy(), eHNT.conv1_w_value_old.cpu().detach().numpy())\n else:\n eHNT.conv1_w_value_old = gbKR.clone()", "def MyUA(YKHO):\n YKHO.weights -= Y...
[ "0.6612874", "0.60912544", "0.60814744", "0.60643995", "0.60411406", "0.60411406", "0.6029534", "0.6002305", "0.59729177", "0.5958375", "0.589969", "0.5893286", "0.5891956", "0.5890338", "0.587805", "0.5869061", "0.5862104", "0.5819306", "0.57661283", "0.5764744", "0.57642144...
0.7630574
0
Returns the attribute attribute from self.metadata
def oUlR(YKHO, xC3W): return YKHO.metadata.get(xC3W, None)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def i5iS(YKHO):\n return YKHO.Attribute", "def xhr3(YKHO, hkS8):\n return YKHO._attrs[hkS8]", "def GTRl(YKHO, H5ew):\n return YKHO.attributes[H5ew]", "def KDVe(YKHO, hkS8, tk5Y=None):\n with YKHO._h5file('r') as tapr:\n if tk5Y is None:\n YEnM = tapr\n else:\n ...
[ "0.7698988", "0.75706184", "0.7489808", "0.7486213", "0.74652475", "0.7447476", "0.73192173", "0.7289231", "0.7238039", "0.7235435", "0.72260016", "0.70961744", "0.7089558", "0.70409554", "0.7020166", "0.69633734", "0.69633734", "0.69633734", "0.6960901", "0.6950058", "0.6948...
0.7687847
1
called when potentially ignorable white spaces have been found
def uKKK(YKHO, nPrm): pass
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def KGhg(YKHO):\n dbu8 = [' ', '\\t', '\\n', '\\r']\n while YKHO.index < YKHO.length and YKHO.xtext[YKHO.index] in dbu8:\n YKHO.index += 1", "def nfoh(YKHO):\n pass", "def JskG(YKHO):\n while YKHO.current_char is not None and YKHO.current_char.isspace():\n YKHO.advance()", "def ZHf8...
[ "0.7722481", "0.7388306", "0.7317434", "0.72187626", "0.69264704", "0.68165123", "0.6749289", "0.65514636", "0.65417564", "0.6534789", "0.65259004", "0.6425805", "0.6417111", "0.6389931", "0.63572717", "0.62899035", "0.62627196", "0.61865145", "0.616928", "0.61682016", "0.614...
0.7569415
1
This function is DEPRECATED. Use xmlIsChar_ch or xmlIsCharQ instead
def zTjG(Npgh): U5bT = L3iJ.xmlIsChar(Npgh) return U5bT
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def XlRq(Npgh):\n U5bT = L3iJ.xmlIsBaseChar(Npgh)\n return U5bT", "def Il6g(jDBu):\n U5bT = L3iJ.xmlCheckUTF8(jDBu)\n return U5bT", "def Ntai(Npgh):\n U5bT = L3iJ.xmlIsPubidChar(Npgh)\n return U5bT", "def DVaJ(P6bq):\n\n def QJ6T(Z9rn):\n if ord(Z9rn) > 1114111:\n retur...
[ "0.6725618", "0.64901584", "0.6441081", "0.6356659", "0.6143915", "0.60902697", "0.6029015", "0.59723574", "0.5833566", "0.5728962", "0.56791", "0.566596", "0.56356716", "0.55601776", "0.55440605", "0.5528061", "0.5522496", "0.54902", "0.5487975", "0.54566807", "0.5436685", ...
0.78450227
0
Check whether the character is allowed by the production
def Nd7B(Z9rn): U5bT = L3iJ.xmlIsLetter(Z9rn) return U5bT
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def SQf0(Npgh):\n return Npgh.isalnum() or Npgh in '#.>+*:$-_!@'", "def tIfN(YKHO, hcXw):\n return hcXw not in YKHO.guessedChars", "def cGC2(YKHO, hcXw: str) -> bool:\n if hcXw.isdigit():\n raise ValueError(\"Characters can't be numbers\")\n return hcXw.isalpha() or hcXw.isspace()", "def O...
[ "0.7252002", "0.68900114", "0.68873036", "0.68641794", "0.6783739", "0.6729494", "0.6701006", "0.66576254", "0.6622803", "0.6611747", "0.65644807", "0.65293676", "0.6515883", "0.64711505", "0.64628905", "0.6453177", "0.6418206", "0.64152646", "0.6413183", "0.6373065", "0.6366...
0.0
-1
Create a progressive HTML parser context to build either an event flow if the SAX object is not None, or a DOM tree otherwise.
def b8rX(YkcR, yOAJ, zNig, i3wb): U5bT = L3iJ.htmlCreatePushParser(YkcR, yOAJ, zNig, i3wb) if U5bT is None: raise UOjH('htmlCreatePushParser() failed') return CNX1(_obj=U5bT)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ZeVD():\n U5bT = L3iJ.htmlNewParserCtxt()\n if U5bT is None:\n raise UOjH('htmlNewParserCtxt() failed')\n return CNX1(_obj=U5bT)", "def MBFE():\n L3iJ.htmlDefaultSAXHandlerInit()", "def DcwG(YKHO, str):\n U5bT = L3iJ.xmlXPathNewParserContext(str, YKHO._o)\n if U5bT is None:\n ...
[ "0.5580728", "0.52244985", "0.5219326", "0.4971787", "0.49331936", "0.4897002", "0.4876947", "0.48768243", "0.4840878", "0.48387754", "0.48234627", "0.48183054", "0.48007166", "0.47663307", "0.47604406", "0.47394907", "0.47191575", "0.4683373", "0.46808636", "0.46579728", "0....
0.5510737
1
get the default compression mode used, ZLIB based.
def rpHw(): U5bT = L3iJ.xmlGetCompressMode() return U5bT
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def tYXc(YKHO, j8eK):\n bo34.debug('UriParser.get_compression: %s' % j8eK)\n Ecac = None\n if YKHO._has_tar_extension(j8eK):\n Ecac = 'tar'\n if YKHO._has_zip_extension(j8eK):\n Ecac = 'zip'\n if YKHO._has_gzip_extension(j8eK):\n Ecac = 'gz'\n if YKHO._has_bzip2_extension(j8e...
[ "0.67118573", "0.65765655", "0.64555365", "0.62255585", "0.617949", "0.5975738", "0.58742684", "0.5685615", "0.56682426", "0.56184006", "0.5603057", "0.55788654", "0.5561151", "0.5521909", "0.55162984", "0.5446851", "0.5438274", "0.542934", "0.54196274", "0.5408364", "0.54015...
0.7039618
0
Unescaping routine, but does not check that the string is an URI. The output is a direct unsigned char translation of %XX values (no encoding) Note that the length of the result can only be smaller or same size as the input string.
def pQzA(str, len, pan_): U5bT = L3iJ.xmlURIUnescapeString(str, len, pan_) return U5bT
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def rtow(KCHu):\n Ylbp = KCHu.split('%')\n if len(Ylbp) == 1:\n return KCHu\n KCHu = Ylbp[0]\n for ZfUD in Ylbp[1:]:\n try:\n KCHu += gLSY[ZfUD[:2]] + ZfUD[2:]\n except KeyError:\n KCHu += '%' + ZfUD\n except UnicodeDecodeError:\n KCHu += mYt...
[ "0.7086737", "0.67993665", "0.67149264", "0.6667785", "0.6647624", "0.6623473", "0.6579626", "0.65545785", "0.6473317", "0.64601105", "0.6435534", "0.6424301", "0.6409981", "0.6319381", "0.6313064", "0.63032216", "0.6286844", "0.6235557", "0.6227575", "0.62082344", "0.6169079...
0.7117446
0
Constructs an URI expressing the existing path
def vtV4(pmON): U5bT = L3iJ.xmlPathToURI(pmON) return U5bT
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def tJ84(YKHO, *pmON):\n P8oC = YKHO.request.protocol + '://' + YKHO.request.host + '/'\n return P8oC + '/'.join(pmON)", "def Y7Yn(YKHO, pmON):\n if not YKHO.base_location:\n raise ValueError('No base_location set. Cannot construct url.')\n if pmON:\n pmON = YKHO._normalise_last_slashes...
[ "0.7760281", "0.74670595", "0.73406106", "0.73133355", "0.7102454", "0.6990934", "0.6905022", "0.68408686", "0.6825221", "0.676529", "0.6685873", "0.6485737", "0.64586323", "0.6440919", "0.64137435", "0.6382459", "0.6380145", "0.6372646", "0.63670737", "0.63372594", "0.631922...
0.0
-1
Get the last global error registered. This is per thread if compiled with thread support.
def NzVF(): U5bT = L3iJ.xmlGetLastError() if U5bT is None: raise yH2X('xmlGetLastError() failed') return xxyF(_obj=U5bT)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def S0w3(YKHO) -> uLKX[None, str, Exception]:\n return YKHO._last_error", "def OlTD():\n global raise_on_error\n return WfA9", "def YCxY(YKHO) -> None:\n return YKHO.send(YKHO.cmd.GET_GLOBALSTATUS_CURRENTERROR)", "def TFki():\n return g4Kh.state.copy()", "def LxVv(yHDX):\n return p0Jv.dev...
[ "0.6466926", "0.64120245", "0.6274629", "0.62491804", "0.62048197", "0.61550677", "0.60835016", "0.6041156", "0.59797066", "0.59572244", "0.5884652", "0.58156806", "0.5775394", "0.5773872", "0.5770362", "0.5766424", "0.5694209", "0.55749077", "0.5537371", "0.55003476", "0.550...
0.60574347
7
Create an xmlTextReader structure fed with the resource at
def AwEo(i3wb): U5bT = L3iJ.xmlNewTextReaderFilename(i3wb) if U5bT is None: raise yH2X('xmlNewTextReaderFilename() failed') return y2P1(_obj=U5bT)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def OAsS(YKHO, i3wb):\n U5bT = L3iJ.xmlNewTextReader(YKHO._o, i3wb)\n if U5bT is None:\n raise yH2X('xmlNewTextReader() failed')\n qn2R = y2P1(_obj=U5bT)\n qn2R.input = YKHO\n return qn2R", "def l17s(Emd4, YTxc, Oz1B, wPWn):\n VKPh = QGpr.fromstring(YTxc)\n nMlH = VKPh.get('url_name',...
[ "0.599172", "0.5848686", "0.5762597", "0.5688935", "0.5594342", "0.5510486", "0.5497622", "0.54910576", "0.5465926", "0.5398475", "0.53583485", "0.53567195", "0.5350529", "0.53442305", "0.5291393", "0.52586955", "0.52466536", "0.52362645", "0.5173407", "0.51640904", "0.515111...
0.5487368
8
Replaces 0xd, 0x9 and 0xa with a space.
def NpzY(BWXx): U5bT = L3iJ.xmlSchemaWhiteSpaceReplace(BWXx) return U5bT
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def gl7I(str):\n f_yB = u'\\xa0'\n str = str.replace(f_yB, ' ')\n return str", "def mwr5(X9sb):\n st9m = X9sb[0] + X9sb[1]\n for YRbF in range(2, len(X9sb) - 1, 2):\n st9m = st9m + ' ' + X9sb[YRbF] + X9sb[YRbF + 1]\n return st9m", "def TuUp(l5Ny):\n return SwjJ.escape(l5Ny).replace(...
[ "0.67686284", "0.6336741", "0.61528826", "0.614171", "0.6113304", "0.6041112", "0.60222983", "0.5982461", "0.59503126", "0.5928348", "0.59213674", "0.59191465", "0.5866775", "0.5829342", "0.5802349", "0.57977957", "0.5797599", "0.5786544", "0.57697207", "0.56884027", "0.56818...
0.0
-1
compares the two UCS4 values
def l6Df(ZJFz, y_DQ): U5bT = L3iJ.xmlUTF8Charcmp(ZJFz, y_DQ) return U5bT
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Ag3m(dg7v, iYf1):\n return abs(ord(dg7v) - ord(iYf1)) == 32", "def K7gw(jzdc, Fg_i):\n fHeP = lQZW(QMSQ(jzdc))\n RRSr = lQZW(QMSQ(Fg_i))\n return eHkp(fHeP, RRSr)", "def Hily(ni3Z, EeIQ):\n if ni3Z is EeIQ:\n return '0'\n return '1'", "def pOv4(YNMh, rZCo):\n if not HwRy.getsi...
[ "0.6699792", "0.66762197", "0.64139557", "0.61354375", "0.60899913", "0.60749286", "0.6034908", "0.5917306", "0.58385956", "0.5746488", "0.573079", "0.57267785", "0.57199466", "0.5713211", "0.5704477", "0.56998503", "0.56981194", "0.5697687", "0.56384003", "0.56189615", "0.55...
0.6219653
3
a function to provide the equivalent of fetching a character from a string array
def Km23(jDBu, oeNL): U5bT = L3iJ.xmlUTF8Strpos(jDBu, oeNL) return U5bT
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Fhmz(YKHO, Npgh):\n return ord(Npgh) - ord('a')", "def PPJV(V22M, oeNL):\n if oeNL < 0 or oeNL >= len(V22M):\n return None\n return V22M[oeNL]", "def bseI(r8hN) -> str:\n return r8hN[0]", "def ccBJ(Z9rn):\n if Z9rn not in gLiZ:\n return ValueError\n XP5J = gLiZ.index(Z9rn)...
[ "0.6806628", "0.6536529", "0.65011644", "0.64920455", "0.6266894", "0.61941254", "0.6132833", "0.60884976", "0.6077027", "0.60740536", "0.6070055", "0.60424185", "0.6034162", "0.5934114", "0.5908122", "0.58560026", "0.5853726", "0.58154845", "0.58107185", "0.58103335", "0.580...
0.0
-1
Check whether the character is part of AegeanNumbers UCS Block
def DbQw(Wxnj): U5bT = L3iJ.xmlUCSIsAegeanNumbers(Wxnj) return U5bT
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def pbT6(YKHO):\n try:\n oeNL = 0\n while YKHO.firstblock[oeNL] == chr(0):\n oeNL += 1\n except IndexError:\n return False\n else:\n napn = YKHO.firstblock[oeNL:]\n if napn.startswith('\\x1bE\\x1b') or napn.startswith('\\x1b%1BBPIN;') or (oeNL == 11000 and nap...
[ "0.66408443", "0.6549573", "0.64411193", "0.64199454", "0.6409486", "0.63818234", "0.636808", "0.6329359", "0.6297487", "0.6295482", "0.6278988", "0.6264876", "0.62280464", "0.6141169", "0.61290556", "0.6122901", "0.6119209", "0.6098052", "0.6069379", "0.6049674", "0.60486555...
0.0
-1
Check whether the character is part of Cs UCS Category
def CsN2(Wxnj): U5bT = L3iJ.xmlUCSIsCatCs(Wxnj) return U5bT
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def v7Pj(U7YL):\n if 19968 <= U7YL <= 40959 or 13312 <= U7YL <= 19903 or 131072 <= U7YL <= 173791 or (173824 <= U7YL <= 177983) or (177984 <= U7YL <= 178207) or (178208 <= U7YL <= 183983) or (63744 <= U7YL <= 64255) or (194560 <= U7YL <= 195103):\n return True\n return False", "def v7Pj(YKHO, U7YL):...
[ "0.7120394", "0.70932084", "0.70512354", "0.7028114", "0.70140517", "0.67472684", "0.6453193", "0.6403625", "0.63685673", "0.636453", "0.63432723", "0.63299656", "0.6305439", "0.6305439", "0.61195374", "0.61061364", "0.6066101", "0.6041552", "0.60340095", "0.6026278", "0.5997...
0.54495776
75
Check whether the character is part of Mn UCS Category
def INFW(Wxnj): U5bT = L3iJ.xmlUCSIsCatMn(Wxnj) return U5bT
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def v7Pj(YKHO, U7YL):\n if U7YL >= 19968 and U7YL <= 40959 or (U7YL >= 13312 and U7YL <= 19903) or (U7YL >= 131072 and U7YL <= 173791) or (U7YL >= 173824 and U7YL <= 177983) or (U7YL >= 177984 and U7YL <= 178207) or (U7YL >= 178208 and U7YL <= 183983) or (U7YL >= 63744 and U7YL <= 64255) or (U7YL >= 194560 and ...
[ "0.6885657", "0.6828464", "0.67706877", "0.6758313", "0.67339784", "0.6654428", "0.6425656", "0.596364", "0.594716", "0.594167", "0.593869", "0.5927419", "0.5897338", "0.58950764", "0.58478963", "0.5840693", "0.58279794", "0.58279794", "0.5775948", "0.56935036", "0.5689013", ...
0.60384196
7
Check whether the character is part of S UCS Category
def DWD2(Wxnj): U5bT = L3iJ.xmlUCSIsCatS(Wxnj) return U5bT
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def v7Pj(YKHO, U7YL):\n if 19968 <= U7YL <= 40959 or 13312 <= U7YL <= 19903 or 131072 <= U7YL <= 173791 or (173824 <= U7YL <= 177983) or (177984 <= U7YL <= 178207) or (178208 <= U7YL <= 183983) or (63744 <= U7YL <= 64255) or (194560 <= U7YL <= 195103):\n return True\n return False", "def v7Pj(U7YL):...
[ "0.6688409", "0.668411", "0.6662303", "0.6622611", "0.6611198", "0.65336794", "0.6495247", "0.61984015", "0.6139208", "0.60758066", "0.60719836", "0.6022493", "0.60101", "0.6004175", "0.5984135", "0.5977859", "0.59500027", "0.5949812", "0.59312725", "0.5931115", "0.5918904", ...
0.0
-1
Check whether the character is part of Z UCS Category
def ZVHq(Wxnj): U5bT = L3iJ.xmlUCSIsCatZ(Wxnj) return U5bT
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def v7Pj(U7YL):\n if 19968 <= U7YL <= 40959 or 13312 <= U7YL <= 19903 or 131072 <= U7YL <= 173791 or (173824 <= U7YL <= 177983) or (177984 <= U7YL <= 178207) or (178208 <= U7YL <= 183983) or (63744 <= U7YL <= 64255) or (194560 <= U7YL <= 195103):\n return True\n return False", "def v7Pj(YKHO, U7YL):...
[ "0.6881153", "0.68295944", "0.68155175", "0.6811644", "0.67710483", "0.6659007", "0.66327614", "0.6449877", "0.64406884", "0.64335674", "0.6426675", "0.6404547", "0.6355245", "0.63239163", "0.6315347", "0.6315347", "0.6314501", "0.62698114", "0.6189976", "0.61371017", "0.6087...
0.0
-1
Check whether the character is part of Zs UCS Category
def nlS6(Wxnj): U5bT = L3iJ.xmlUCSIsCatZs(Wxnj) return U5bT
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def v7Pj(U7YL):\n if 19968 <= U7YL <= 40959 or 13312 <= U7YL <= 19903 or 131072 <= U7YL <= 173791 or (173824 <= U7YL <= 177983) or (177984 <= U7YL <= 178207) or (178208 <= U7YL <= 183983) or (63744 <= U7YL <= 64255) or (194560 <= U7YL <= 195103):\n return True\n return False", "def v7Pj(YKHO, U7YL):...
[ "0.68625087", "0.68170416", "0.6805463", "0.67996037", "0.6750738", "0.65890515", "0.6457409", "0.64517945", "0.6392122", "0.63342154", "0.63160294", "0.6299228", "0.62393886", "0.6238268", "0.622698", "0.6226922", "0.6220175", "0.6195797", "0.61642206", "0.61642206", "0.6106...
0.0
-1
Check whether the character is part of CombiningDiacriticalMarksforSymbols UCS Block
def RXfk(Wxnj): U5bT = L3iJ.xmlUCSIsCombiningDiacriticalMarksforSymbols(Wxnj) return U5bT
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def koU9(hcXw):\n return hcXw in [u'¬', u'∧', u'∨', u'→', u'↔']", "def tIfN(YKHO, hcXw):\n return hcXw not in YKHO.guessedChars", "def OdH3(Z9rn: str) -> bool:\n return Z9rn in ULO1", "def x32m(vIwR):\n for Z9rn in vIwR:\n if not ord(Z9rn) < 128:\n return True\n return False"...
[ "0.67542905", "0.6488043", "0.63056177", "0.62720853", "0.62386703", "0.6195144", "0.61637557", "0.61625886", "0.6158391", "0.61349285", "0.6021518", "0.6016175", "0.59976923", "0.599169", "0.59724486", "0.5970104", "0.5963076", "0.595758", "0.5944574", "0.5943077", "0.591232...
0.6083154
10
Check whether the character is part of CypriotSyllabary UCS Block
def dvzp(Wxnj): U5bT = L3iJ.xmlUCSIsCypriotSyllabary(Wxnj) return U5bT
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def v7Pj(U7YL):\n if 19968 <= U7YL <= 40959 or 13312 <= U7YL <= 19903 or 131072 <= U7YL <= 173791 or (173824 <= U7YL <= 177983) or (177984 <= U7YL <= 178207) or (178208 <= U7YL <= 183983) or (63744 <= U7YL <= 64255) or (194560 <= U7YL <= 195103):\n return True\n return False", "def cZLT(Npgh):\n ...
[ "0.6655662", "0.66316545", "0.6620379", "0.66038454", "0.65704805", "0.6455905", "0.62977135", "0.6269772", "0.6206612", "0.6198674", "0.6126134", "0.6115812", "0.6066588", "0.60533285", "0.60401267", "0.60245794", "0.6011982", "0.6011982", "0.60011905", "0.5993336", "0.58592...
0.549506
47
Check whether the character is part of Georgian UCS Block
def DsLD(Wxnj): U5bT = L3iJ.xmlUCSIsGeorgian(Wxnj) return U5bT
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def vYai(hcXw):\n return ord(hcXw) > SRBd", "def v7Pj(U7YL):\n if 19968 <= U7YL <= 40959 or 13312 <= U7YL <= 19903 or 131072 <= U7YL <= 173791 or (173824 <= U7YL <= 177983) or (177984 <= U7YL <= 178207) or (178208 <= U7YL <= 183983) or (63744 <= U7YL <= 64255) or (194560 <= U7YL <= 195103):\n return...
[ "0.6318864", "0.62632054", "0.62560225", "0.624882", "0.6225683", "0.6209045", "0.6140211", "0.6089018", "0.60356957", "0.60324204", "0.5976017", "0.5959633", "0.59406215", "0.59061116", "0.5892374", "0.5848069", "0.5841565", "0.58109623", "0.5767756", "0.57643455", "0.575783...
0.0
-1
Check whether the character is part of Gothic UCS Block
def j5dm(Wxnj): U5bT = L3iJ.xmlUCSIsGothic(Wxnj) return U5bT
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Zxwp(RtKw):\n if 'chr' in RtKw.references[0]:\n return True\n return False", "def pbT6(YKHO):\n try:\n oeNL = 0\n while YKHO.firstblock[oeNL] == chr(0):\n oeNL += 1\n except IndexError:\n return False\n else:\n napn = YKHO.firstblock[oeNL:]\n ...
[ "0.6268962", "0.622562", "0.6179216", "0.61525154", "0.613479", "0.6119628", "0.61114025", "0.6106372", "0.6098136", "0.60956156", "0.6070342", "0.6043201", "0.60412467", "0.6018926", "0.6004982", "0.6001978", "0.5981072", "0.59694266", "0.5964252", "0.59307843", "0.59239584"...
0.0
-1
Check whether the character is part of GreekExtended UCS Block
def JXwV(Wxnj): U5bT = L3iJ.xmlUCSIsGreekExtended(Wxnj) return U5bT
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def OdH3(Z9rn: str) -> bool:\n return Z9rn in ULO1", "def ktvO(YKHO, bseI):\n if bseI in YKHO._charset:\n return bseI\n else:\n raise YAXX(bseI)", "def bseI(WKvO):\n if WKvO == 'a' or WKvO == 'A' or WKvO == 'e' or (WKvO == 'E') or (WKvO == 'i') or (WKvO == 'I') or (WKvO == 'o') or (WK...
[ "0.6428094", "0.63963044", "0.6163088", "0.6132576", "0.6123872", "0.60250735", "0.6024986", "0.600266", "0.60020566", "0.5981608", "0.59512156", "0.59377265", "0.5933231", "0.59172153", "0.58909094", "0.5890591", "0.58843416", "0.5869262", "0.586846", "0.5847215", "0.5835054...
0.55646527
53
Check whether the character is part of Gujarati UCS Block
def VmKG(Wxnj): U5bT = L3iJ.xmlUCSIsGujarati(Wxnj) return U5bT
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def pbT6(YKHO):\n try:\n oeNL = 0\n while YKHO.firstblock[oeNL] == chr(0):\n oeNL += 1\n except IndexError:\n return False\n else:\n napn = YKHO.firstblock[oeNL:]\n if napn.startswith('\\x1bE\\x1b') or napn.startswith('\\x1b%1BBPIN;') or (oeNL == 11000 and nap...
[ "0.6415847", "0.63373804", "0.63350093", "0.633389", "0.63214743", "0.63096917", "0.63008136", "0.62038624", "0.6181789", "0.6178694", "0.61478335", "0.61178005", "0.6114686", "0.6105846", "0.6087921", "0.6073775", "0.60697854", "0.606755", "0.6017226", "0.5958984", "0.595292...
0.0
-1
Check whether the character is part of HangulSyllables UCS Block
def oBwk(Wxnj): U5bT = L3iJ.xmlUCSIsHangulSyllables(Wxnj) return U5bT
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def cZLT(Npgh):\n if len(Npgh) != 1:\n return None\n HBmV = ord(Npgh)\n if HBmV < rtGJ or HBmV > NJtS:\n return False\n else:\n return True", "def v7Pj(U7YL):\n if U7YL >= 19968 and U7YL <= 40959 or (U7YL >= 13312 and U7YL <= 19903) or (U7YL >= 131072 and U7YL <= 173791) or (U...
[ "0.7816527", "0.6597602", "0.6568438", "0.65628743", "0.6554801", "0.6307898", "0.6307542", "0.62720597", "0.6127377", "0.61202717", "0.60577327", "0.6050799", "0.6045673", "0.59976923", "0.5957908", "0.5893488", "0.5887572", "0.58652097", "0.5852793", "0.58434165", "0.582746...
0.5807802
24
Check whether the character is part of Latin1Supplement UCS Block
def kcSh(Wxnj): U5bT = L3iJ.xmlUCSIsLatin1Supplement(Wxnj) return U5bT
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Tc8p(r8FF: bytes) -> bool:\n return all((Z9rn < 128 for Z9rn in r8FF))", "def x32m(vIwR):\n for Z9rn in vIwR:\n if not ord(Z9rn) < 128:\n return True\n return False", "def CuM0(Fb5b):\n try:\n Fb5b.encode('ascii')\n except UnicodeEncodeError:\n return True\n ...
[ "0.6751452", "0.6472651", "0.63020015", "0.6204774", "0.61254275", "0.6116666", "0.61134475", "0.60482055", "0.60103244", "0.599851", "0.59935474", "0.5991672", "0.596792", "0.59348947", "0.58945864", "0.5884718", "0.5878046", "0.58676445", "0.58676445", "0.5835576", "0.58329...
0.60462785
8
Check whether the character is part of LatinExtendedAdditional UCS Block
def mogw(Wxnj): U5bT = L3iJ.xmlUCSIsLatinExtendedAdditional(Wxnj) return U5bT
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def x32m(vIwR):\n for Z9rn in vIwR:\n if not ord(Z9rn) < 128:\n return True\n return False", "def CuM0(Fb5b):\n try:\n Fb5b.encode('ascii')\n except UnicodeEncodeError:\n return True\n return False", "def ktvO(YKHO, bseI):\n if bseI in YKHO._charset:\n r...
[ "0.63535583", "0.6329838", "0.619025", "0.6104876", "0.6019007", "0.5973198", "0.5955598", "0.59406", "0.5875274", "0.58665967", "0.5859558", "0.5797452", "0.57949615", "0.57662433", "0.57598805", "0.5731037", "0.5722178", "0.56806666", "0.56663406", "0.5655721", "0.56418383"...
0.5995005
5
Check whether the character is part of LatinExtendedB UCS Block
def fE3I(Wxnj): U5bT = L3iJ.xmlUCSIsLatinExtendedB(Wxnj) return U5bT
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def SXTN(Fg_i):\n return ord(Fg_i) & 192 != 128", "def x32m(vIwR):\n for Z9rn in vIwR:\n if not ord(Z9rn) < 128:\n return True\n return False", "def Tc8p(r8FF: bytes) -> bool:\n return all((Z9rn < 128 for Z9rn in r8FF))", "def CuM0(Fb5b):\n try:\n Fb5b.encode('ascii')\...
[ "0.6506576", "0.6489305", "0.64591473", "0.6300405", "0.62968326", "0.62709177", "0.62440604", "0.6227176", "0.6220396", "0.619808", "0.6125777", "0.61124414", "0.60864663", "0.6070859", "0.60658324", "0.603156", "0.601", "0.59883535", "0.5985938", "0.5979215", "0.59785974", ...
0.5950127
22
Check whether the character is part of LetterlikeSymbols UCS Block
def U40G(Wxnj): U5bT = L3iJ.xmlUCSIsLetterlikeSymbols(Wxnj) return U5bT
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def IVV1(VmPb):\n if xueM(VmPb):\n return True\n return not bool(ZbWC.search('[a-zA-Z]', str(VmPb)))", "def GoVZ(XP5J):\n return len(XP5J) == 1 and XP5J.isalpha()", "def vFJM(Z9rn):\n return 'A' <= Z9rn <= 'Z' or 'a' <= Z9rn <= 'z'", "def qKXg(GIN8):\n for hcXw in GIN8:\n if hcXw...
[ "0.6804174", "0.676072", "0.6721271", "0.66995573", "0.6637394", "0.6599473", "0.65932524", "0.6572517", "0.6556395", "0.65337056", "0.6477971", "0.64665747", "0.6396451", "0.6394857", "0.636974", "0.63539344", "0.6351893", "0.6350727", "0.6346091", "0.6333155", "0.6332454", ...
0.0
-1
Check whether the character is part of LowSurrogates UCS Block
def Up3j(Wxnj): U5bT = L3iJ.xmlUCSIsLowSurrogates(Wxnj) return U5bT
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def cZLT(Npgh):\n if len(Npgh) != 1:\n return None\n HBmV = ord(Npgh)\n if HBmV < rtGJ or HBmV > NJtS:\n return False\n else:\n return True", "def v7Pj(U7YL):\n if 19968 <= U7YL <= 40959 or 13312 <= U7YL <= 19903 or 131072 <= U7YL <= 173791 or (173824 <= U7YL <= 177983) or (17...
[ "0.6274512", "0.61621267", "0.6149349", "0.61440223", "0.6143803", "0.61258423", "0.6106003", "0.60564345", "0.6033513", "0.6026354", "0.59541553", "0.5943754", "0.59345233", "0.5912861", "0.59128195", "0.5899648", "0.5816307", "0.57792777", "0.5765093", "0.57100254", "0.5690...
0.5310575
70
Check whether the character is part of MathematicalAlphanumericSymbols UCS Block
def rPEZ(Wxnj): U5bT = L3iJ.xmlUCSIsMathematicalAlphanumericSymbols(Wxnj) return U5bT
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def GoVZ(XP5J):\n return len(XP5J) == 1 and XP5J.isalpha()", "def P3el(l5Ny):\n LU8G = S2yg.findall(okCT(l5Ny))\n if LU8G:\n raise FWad('invalid symbols found: {}'.format(LU8G))", "def YUOx(eOtH):\n BrKl = set(vIwR.printable)\n for hcXw in eOtH:\n if hcXw not in BrKl:\n ...
[ "0.6829568", "0.6755213", "0.66529053", "0.664704", "0.6624206", "0.66020626", "0.6598744", "0.65249825", "0.64695936", "0.6431509", "0.6402722", "0.64006525", "0.6399854", "0.639897", "0.6396008", "0.63927525", "0.63805676", "0.63613945", "0.6359596", "0.6359596", "0.6352812...
0.62156177
28
Check whether the character is part of Mongolian UCS Block
def Rtuv(Wxnj): U5bT = L3iJ.xmlUCSIsMongolian(Wxnj) return U5bT
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def OdH3(Z9rn: str) -> bool:\n return Z9rn in ULO1", "def ktvO(YKHO, bseI):\n if bseI in YKHO._charset:\n return bseI\n else:\n raise YAXX(bseI)", "def cZLT(Npgh):\n if len(Npgh) != 1:\n return None\n HBmV = ord(Npgh)\n if HBmV < rtGJ or HBmV > NJtS:\n return False...
[ "0.6658338", "0.6640261", "0.6482865", "0.6476198", "0.64656323", "0.6460286", "0.6450511", "0.6427563", "0.64133054", "0.64124", "0.639122", "0.6385589", "0.637947", "0.6376651", "0.63377166", "0.6313076", "0.63036484", "0.628719", "0.62768877", "0.62768877", "0.62740993", ...
0.0
-1
Check whether the character is part of NumberForms UCS Block
def zgSz(Wxnj): U5bT = L3iJ.xmlUCSIsNumberForms(Wxnj) return U5bT
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def pbT6(YKHO):\n try:\n oeNL = 0\n while YKHO.firstblock[oeNL] == chr(0):\n oeNL += 1\n except IndexError:\n return False\n else:\n napn = YKHO.firstblock[oeNL:]\n if napn.startswith('\\x1bE\\x1b') or napn.startswith('\\x1b%1BBPIN;') or (oeNL == 11000 and nap...
[ "0.6659621", "0.6055021", "0.60490143", "0.60004824", "0.59888935", "0.5983998", "0.5976473", "0.5861715", "0.58549243", "0.5783365", "0.57830095", "0.57612693", "0.5751774", "0.5735471", "0.5733864", "0.5733477", "0.5733477", "0.5717954", "0.5692369", "0.5692303", "0.5675607...
0.0
-1
Check whether the character is part of Specials UCS Block
def f1Ke(Wxnj): U5bT = L3iJ.xmlUCSIsSpecials(Wxnj) return U5bT
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def x32m(vIwR):\n for Z9rn in vIwR:\n if not ord(Z9rn) < 128:\n return True\n return False", "def OdH3(Z9rn: str) -> bool:\n return Z9rn in ULO1", "def tIfN(YKHO, hcXw):\n return hcXw not in YKHO.guessedChars", "def CuM0(Fb5b):\n try:\n Fb5b.encode('ascii')\n except...
[ "0.63346905", "0.6240177", "0.6221176", "0.6146193", "0.6121107", "0.6119375", "0.6116377", "0.610082", "0.60883087", "0.608431", "0.60792303", "0.60789275", "0.6073359", "0.6067243", "0.60450834", "0.60331506", "0.6025784", "0.6011119", "0.5924793", "0.5922072", "0.5920303",...
0.0
-1
Check whether the character is part of TaiXuanJingSymbols UCS Block
def ydqV(Wxnj): U5bT = L3iJ.xmlUCSIsTaiXuanJingSymbols(Wxnj) return U5bT
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def v7Pj(U7YL):\n if U7YL >= 19968 and U7YL <= 40959 or (U7YL >= 13312 and U7YL <= 19903) or (U7YL >= 131072 and U7YL <= 173791) or (U7YL >= 173824 and U7YL <= 177983) or (U7YL >= 177984 and U7YL <= 178207) or (U7YL >= 178208 and U7YL <= 183983) or (U7YL >= 63744 and U7YL <= 64255) or (U7YL >= 194560 and U7YL <...
[ "0.6870638", "0.6835684", "0.6800423", "0.6777926", "0.6771159", "0.6665157", "0.6552845", "0.6440913", "0.6409706", "0.63962597", "0.63265944", "0.6230233", "0.6177892", "0.61777425", "0.61251307", "0.61197335", "0.60917306", "0.6084213", "0.6080666", "0.6056604", "0.605403"...
0.56423664
61
Check whether the character is part of Telugu UCS Block
def TcFJ(Wxnj): U5bT = L3iJ.xmlUCSIsTelugu(Wxnj) return U5bT
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def v7Pj(U7YL):\n if U7YL >= 19968 and U7YL <= 40959 or (U7YL >= 13312 and U7YL <= 19903) or (U7YL >= 131072 and U7YL <= 173791) or (U7YL >= 173824 and U7YL <= 177983) or (U7YL >= 177984 and U7YL <= 178207) or (U7YL >= 178208 and U7YL <= 183983) or (U7YL >= 63744 and U7YL <= 64255) or (U7YL >= 194560 and U7YL <...
[ "0.6860739", "0.6851751", "0.6844562", "0.6831338", "0.68274045", "0.67171144", "0.6413674", "0.6367036", "0.63042223", "0.62851715", "0.62727433", "0.62706983", "0.6263993", "0.6240653", "0.6232585", "0.6185245", "0.61715865", "0.61442715", "0.61014634", "0.60301965", "0.602...
0.0
-1
Check whether the character is part of Thai UCS Block
def Fr8P(Wxnj): U5bT = L3iJ.xmlUCSIsThai(Wxnj) return U5bT
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def v7Pj(U7YL):\n if U7YL >= 19968 and U7YL <= 40959 or (U7YL >= 13312 and U7YL <= 19903) or (U7YL >= 131072 and U7YL <= 173791) or (U7YL >= 173824 and U7YL <= 177983) or (U7YL >= 177984 and U7YL <= 178207) or (U7YL >= 178208 and U7YL <= 183983) or (U7YL >= 63744 and U7YL <= 64255) or (U7YL >= 194560 and U7YL <...
[ "0.6890721", "0.6851697", "0.68464243", "0.6826954", "0.67566496", "0.6618903", "0.65381867", "0.6530539", "0.6498274", "0.6312951", "0.628551", "0.6268834", "0.62281865", "0.61762065", "0.6120312", "0.6047685", "0.6038989", "0.6034304", "0.59619224", "0.5934907", "0.5916094"...
0.0
-1
Check whether the character is part of YiRadicals UCS Block
def REdy(Wxnj): U5bT = L3iJ.xmlUCSIsYiRadicals(Wxnj) return U5bT
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def pbT6(YKHO):\n try:\n oeNL = 0\n while YKHO.firstblock[oeNL] == chr(0):\n oeNL += 1\n except IndexError:\n return False\n else:\n napn = YKHO.firstblock[oeNL:]\n if napn.startswith('\\x1bE\\x1b') or napn.startswith('\\x1b%1BBPIN;') or (oeNL == 11000 and nap...
[ "0.65001184", "0.61863464", "0.6089085", "0.60689175", "0.589443", "0.5870569", "0.58657444", "0.58600974", "0.58261186", "0.5810115", "0.58087724", "0.57927966", "0.57730794", "0.57691866", "0.5729916", "0.572436", "0.57218814", "0.57078123", "0.56941926", "0.56741375", "0.5...
0.0
-1
Check whether the character is part of YiSyllables UCS Block
def sf2A(Wxnj): U5bT = L3iJ.xmlUCSIsYiSyllables(Wxnj) return U5bT
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def cZLT(Npgh):\n if len(Npgh) != 1:\n return None\n HBmV = ord(Npgh)\n if HBmV < rtGJ or HBmV > NJtS:\n return False\n else:\n return True", "def v7Pj(U7YL):\n if 19968 <= U7YL <= 40959 or 13312 <= U7YL <= 19903 or 131072 <= U7YL <= 173791 or (173824 <= U7YL <= 177983) or (17...
[ "0.67516756", "0.6208438", "0.618466", "0.6166076", "0.613725", "0.6136685", "0.59724396", "0.5936056", "0.5850519", "0.58077836", "0.57101405", "0.56960744", "0.56602806", "0.5647691", "0.56304836", "0.5619279", "0.5611568", "0.56048197", "0.55960405", "0.55956066", "0.55802...
0.57533777
10
Check whether the character is part of YijingHexagramSymbols UCS Block
def htrC(Wxnj): U5bT = L3iJ.xmlUCSIsYijingHexagramSymbols(Wxnj) return U5bT
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def OdH3(Z9rn: str) -> bool:\n return Z9rn in ULO1", "def pbT6(YKHO):\n try:\n oeNL = 0\n while YKHO.firstblock[oeNL] == chr(0):\n oeNL += 1\n except IndexError:\n return False\n else:\n napn = YKHO.firstblock[oeNL:]\n if napn.startswith('\\x1bE\\x1b') or...
[ "0.6578791", "0.64820987", "0.6453358", "0.643272", "0.64260525", "0.6421604", "0.636663", "0.6365147", "0.636239", "0.6331426", "0.630943", "0.6247839", "0.61893773", "0.6186104", "0.6147783", "0.61374485", "0.60967004", "0.60831857", "0.607673", "0.6063233", "0.60559845", ...
0.596454
24
Finds the first child node of that element which is a Element node Note the handling of entities references is different than in the W3C DOM element traversal spec since we don't have back reference from entities content to entities references.
def C9Cw(YKHO): U5bT = L3iJ.xmlFirstElementChild(YKHO._o) if U5bT is None: return None qn2R = RM48(_obj=U5bT) return qn2R
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def gQcZ(YKHO):\n pass", "def asyk(YKHO):\n pass", "def rtez(J_Es, mWFP, GQk7=False):\n mWFP = mWFP.lower()\n if not J_Es.hasChildNodes():\n return None\n for aUGN in J_Es.childNodes:\n if aUGN.nodeType != aUGN.ELEMENT_NODE:\n continue\n if aUGN.tagName.lower() ==...
[ "0.7092839", "0.6675003", "0.6595589", "0.6419877", "0.615913", "0.6093673", "0.6082459", "0.60191154", "0.5988092", "0.5964394", "0.59306955", "0.59306955", "0.59306955", "0.59306955", "0.59306955", "0.5921491", "0.5916791", "0.59113455", "0.5853532", "0.58277804", "0.570506...
0.75834
0
Read the value of a node, this can be either the text carried directly by this node if it's a TEXT node or the aggregate string of the values carried by this node child's (TEXT and ENTITY_REF). Entity references are substituted.
def BoLg(YKHO): U5bT = L3iJ.xmlNodeGetContent(YKHO._o) return U5bT
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def wEf2(Q6kx: md.Document) -> str:\n try:\n Q6kx.normalize()\n return Q6kx.firstChild.wholeText.strip()\n except AttributeError:\n return ''", "def XOTR(Q6kx):\n return Q6kx.text if Q6kx is not None else None", "def XOTR(Q6kx):\n if Q6kx is not None:\n return Q6kx.text\...
[ "0.70789075", "0.70407754", "0.69837594", "0.6891649", "0.6891649", "0.688199", "0.6628465", "0.6520078", "0.64785606", "0.6472029", "0.6356359", "0.6163238", "0.6138085", "0.6108428", "0.60740906", "0.6008055", "0.6000422", "0.59952414", "0.5912809", "0.5897301", "0.5868449"...
0.0
-1
Creation of a new Namespace. This function will refuse to create a namespace with a similar prefix than an existing one present on this node. Note that for a default namespace, should be None. We use href==None in the case of an element creation where the namespace was not defined.
def y0Vw(YKHO, qvey, y0cW): U5bT = L3iJ.xmlNewNs(YKHO._o, qvey, y0cW) if U5bT is None: raise yH2X('xmlNewNs() failed') qn2R = BnHL(_obj=U5bT) return qn2R
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def lNf3(YKHO, qvey, y0cW):\n U5bT = L3iJ.xmlNewGlobalNs(YKHO._o, qvey, y0cW)\n if U5bT is None:\n raise yH2X('xmlNewGlobalNs() failed')\n qn2R = BnHL(_obj=U5bT)\n return qn2R", "def xepT(YKHO):\n raise NotImplementedError('Endpoint can not be used directly.')", "def LdsH(YKHO) -> qe4Y.Ou...
[ "0.68840706", "0.6408603", "0.6292905", "0.62912923", "0.59343344", "0.5796834", "0.574832", "0.57481617", "0.5618297", "0.5617807", "0.56170005", "0.5609323", "0.55720663", "0.5559587", "0.55577034", "0.547088", "0.5414772", "0.5413569", "0.53996885", "0.53973347", "0.536714...
0.75347716
0
Set (or reset) the name of a node.
def oSgC(YKHO, mWFP): L3iJ.xmlNodeSetName(YKHO._o, mWFP)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def WZrJ(YKHO, mWFP):\n YKHO.stream.set_node_name(YKHO.node, mWFP)", "def AwDt(YKHO, BWXx: str):\n YKHO._properties['nodeName'] = BWXx", "def WZrJ(YKHO, L15R=''):\n YKHO.name = L15R", "def oSgC(YKHO, BWXx):\n assert BWXx == None or type(BWXx) == str, repr(BWXx) + ' is not a valid name'\n YKHO....
[ "0.8469247", "0.82021064", "0.7645156", "0.7411011", "0.7373661", "0.7373661", "0.7358336", "0.72840995", "0.7279071", "0.7240787", "0.7240787", "0.7240787", "0.7240787", "0.7240787", "0.7234777", "0.72242934", "0.7221681", "0.7220605", "0.718619", "0.7182344", "0.7182344", ...
0.7942927
2
Create a new xmlXPathObjectPtr of type NodeSet and initialize it with the single Node
def ILZ0(YKHO): U5bT = L3iJ.xmlXPathNewNodeSet(YKHO._o) if U5bT is None: raise VP46('xmlXPathNewNodeSet() failed') return YdMW(U5bT)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def FIMM(YKHO):\n YKHO.nodes = set()", "def FIMM(YKHO, mWVN=None):\n if mWVN is None:\n YKHO.set = wzZh.ipset_new()\n else:\n YKHO.set = mWVN", "def m8m4(Q6kx):\n Q6kx.parent = Q6kx\n Q6kx.rank = 0", "def ZBAI(YKHO, Os4s):\n if Os4s is None:\n EQJE = None\n else:\n ...
[ "0.61179084", "0.5967734", "0.5944864", "0.58640605", "0.58334535", "0.57554126", "0.57178366", "0.56645423", "0.5663016", "0.5648847", "0.560601", "0.5573773", "0.5562206", "0.5550534", "0.55234694", "0.5463693", "0.5419366", "0.5390111", "0.5381358", "0.53748506", "0.535731...
0.7615347
0
Traversal function for the "descendant" direction the descendant axis contains the descendants of the context node in document order; a descendant is a child or a child of a child and so on.
def IXIQ(YKHO, bp_0): if bp_0 is None: rl0b = None else: rl0b = bp_0._o U5bT = L3iJ.xmlXPathNextDescendant(rl0b, YKHO._o) if U5bT is None: raise VP46('xmlXPathNextDescendant() failed') qn2R = RM48(_obj=U5bT) return qn2R
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def bnq0(YKHO, Q6kx):\n return False", "def Hlc1(YKHO, *qIxc):\n return dndU.BRepAlgo_AsDes_Descendant(YKHO, *qIxc)", "def rLVo(YKHO, J_Es, F_G6, KMNw):\n if F_G6 == KMNw:\n return True\n if KMNw:\n return YKHO.is_descendant(J_Es, F_G6, J_Es[KMNw])\n else:\n return False", ...
[ "0.62418586", "0.6158562", "0.60502523", "0.600423", "0.58839774", "0.5854555", "0.58086693", "0.57791096", "0.57668775", "0.5732382", "0.5722833", "0.56278074", "0.5622524", "0.5606942", "0.55858153", "0.55819464", "0.55639637", "0.5555646", "0.55441815", "0.551621", "0.5511...
0.65130424
0
Creation of a new Fragment node.
def XArB(YKHO): U5bT = L3iJ.xmlNewDocFragment(YKHO._o) if U5bT is None: raise yH2X('xmlNewDocFragment() failed') qn2R = RM48(_obj=U5bT) return qn2R
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def rr6K(YKHO, yR_P: ghidra.program.model.listing.ProgramModule, S3tr: unicode, yKcO: ghidra.program.model.address.Address, u54L: long) -> RnTg.program.model.listing.ProgramFragment:\n ...", "def EdDj(YKHO):\n EdDj = vBtp()\n YKHO.addfragment(EdDj)\n return EdDj", "def rr6K(YKHO, S3tr: unicode, yKc...
[ "0.75943834", "0.7522764", "0.7519081", "0.738074", "0.7344464", "0.6433047", "0.6398718", "0.57991993", "0.57515997", "0.56497353", "0.55263096", "0.55009705", "0.5438686", "0.5434041", "0.541678", "0.53840953", "0.5336673", "0.5307505", "0.5305317", "0.53049797", "0.529167"...
0.6259627
7
Dump an XML document to a file. Will use compression if compiled in and enabled. If is "" the stdout file is used.
def MB0I(YKHO, Ux0P): U5bT = L3iJ.xmlSaveFile(Ux0P, YKHO._o) return U5bT
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def e4qb(MADV):\n assert MADV is not None\n wvEv = QGpr.XMLParser(resolve_entities=False, strip_cdata=False, remove_blank_text=True)\n J_Es = QGpr.parse(MADV, wvEv)\n J_Es.write(MADV, pretty_print=True, encoding='utf-8')", "def _qZF(YKHO, Ux0P):\n KCHu = GXnK.tostring(YKHO._root)\n KCHu = KCHu....
[ "0.67543775", "0.6734696", "0.66024315", "0.65410817", "0.6504647", "0.6418736", "0.6414425", "0.6402215", "0.6318662", "0.62653476", "0.62402594", "0.62257445", "0.61975116", "0.61889076", "0.6018429", "0.60046333", "0.6000926", "0.59872544", "0.5945279", "0.5889024", "0.586...
0.0
-1
Parse the value string and build the node list associated. Should produce a flat tree with only TEXTs and ENTITY_REFs.
def CA6L(YKHO, BWXx): U5bT = L3iJ.xmlStringGetNodeList(YKHO._o, BWXx) if U5bT is None: raise yH2X('xmlStringGetNodeList() failed') qn2R = RM48(_obj=U5bT) return qn2R
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def aISO(YKHO, BWXx: Union[str, List[str]]) -> x1iM[str]:\n if isinstance(BWXx, str):\n BWXx = [BWXx]\n wPOg = []\n for Ty9i in BWXx:\n try:\n Ty9i = YKHO.biolink_model_toolkit.get_descendants(Ty9i, reflexive=True, formatted=True)\n Ty9i = [WKvO.split(':')[-1] for WKvO ...
[ "0.55384916", "0.5524442", "0.55080354", "0.5466301", "0.5425505", "0.53831816", "0.53748024", "0.5324236", "0.5317434", "0.53156865", "0.5285466", "0.5257722", "0.52491236", "0.52484447", "0.52354056", "0.5231106", "0.5219272", "0.5193949", "0.51790655", "0.51685584", "0.515...
0.5503709
3
Parse the value string and build the node list associated. Should produce a flat tree with only TEXTs and ENTITY_REFs.
def QPpS(YKHO, BWXx, len): U5bT = L3iJ.xmlStringLenGetNodeList(YKHO._o, BWXx, len) if U5bT is None: raise yH2X('xmlStringLenGetNodeList() failed') qn2R = RM48(_obj=U5bT) return qn2R
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def aISO(YKHO, BWXx: Union[str, List[str]]) -> x1iM[str]:\n if isinstance(BWXx, str):\n BWXx = [BWXx]\n wPOg = []\n for Ty9i in BWXx:\n try:\n Ty9i = YKHO.biolink_model_toolkit.get_descendants(Ty9i, reflexive=True, formatted=True)\n Ty9i = [WKvO.split(':')[-1] for WKvO ...
[ "0.55368286", "0.5525423", "0.5506422", "0.5503712", "0.5465669", "0.5426662", "0.5380313", "0.53765684", "0.5324345", "0.53160894", "0.5314449", "0.5284918", "0.52610373", "0.5248054", "0.52479637", "0.5233414", "0.523035", "0.5219269", "0.51937866", "0.5179171", "0.5168176"...
0.0
-1
Setup an xmltextReader to parse a preparsed XML document. This reuses the existing xmlTextReader.
def Tnnu(YKHO, N5Pj): if N5Pj is None: JWCR = None else: JWCR = N5Pj._o U5bT = L3iJ.xmlReaderNewWalker(JWCR, YKHO._o) return U5bT
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def QGNb(YKHO, N5Pj, rOmR, tZ2K, xAU6):\n if N5Pj is None:\n JWCR = None\n else:\n JWCR = N5Pj._o\n U5bT = L3iJ.xmlTextReaderSetup(JWCR, YKHO._o, rOmR, tZ2K, xAU6)\n return U5bT", "def Lxj7(YKHO):\n U5bT = L3iJ.xmlReaderWalker(YKHO._o)\n if U5bT is None:\n raise yH2X('xmlRe...
[ "0.6678506", "0.6309224", "0.6135679", "0.58738106", "0.5689437", "0.568153", "0.5621", "0.55730283", "0.55638665", "0.5485195", "0.5445137", "0.54172146", "0.5404788", "0.5395796", "0.5320016", "0.5296876", "0.52628356", "0.5184031", "0.5175442", "0.5143241", "0.5125082", ...
0.53594816
14
Create an xmltextReader for a preparsed document.
def Lxj7(YKHO): U5bT = L3iJ.xmlReaderWalker(YKHO._o) if U5bT is None: raise yH2X('xmlReaderWalker() failed') qn2R = y2P1(_obj=U5bT) return qn2R
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def OAsS(YKHO, i3wb):\n U5bT = L3iJ.xmlNewTextReader(YKHO._o, i3wb)\n if U5bT is None:\n raise yH2X('xmlNewTextReader() failed')\n qn2R = y2P1(_obj=U5bT)\n qn2R.input = YKHO\n return qn2R", "def tUlI(DpUl, rOmR, tZ2K, xAU6):\n U5bT = L3iJ.xmlReaderForDoc(DpUl, rOmR, tZ2K, xAU6)\n if U...
[ "0.6715174", "0.6186738", "0.59500754", "0.58724743", "0.5842006", "0.5842006", "0.5842006", "0.5821771", "0.5751628", "0.5751628", "0.5751628", "0.5730878", "0.5730878", "0.5730878", "0.5730878", "0.5730878", "0.5730878", "0.5730878", "0.57150286", "0.56195873", "0.55802447"...
0.6276999
1
Use RelaxNG schema context to validate the document as it is processed. Activation is only possible before the first Read(). If is None, then RelaxNG schema validation is deactivated.
def pngk(YKHO, N5Pj, xAU6): if N5Pj is None: JWCR = None else: JWCR = N5Pj._o U5bT = L3iJ.xmlTextReaderRelaxNGValidateCtxt(JWCR, YKHO._o, xAU6) return U5bT
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def G7hO(YKHO):\n YKHO.__validate_file(YKHO.__schema_path, 'RNG')\n with open(YKHO.__schema_path) as dGPa:\n KdQx = QGpr.parse(dGPa)\n YKHO.__compiled = QGpr.RelaxNG(KdQx)", "def DY5z(YKHO, A97Q):\n if A97Q is None:\n cbFf = None\n else:\n cbFf = A97Q._o\n U5bT = L3iJ.x...
[ "0.6574761", "0.63376504", "0.6302527", "0.63017464", "0.62832236", "0.6158795", "0.614134", "0.5947016", "0.5909192", "0.5819778", "0.5794172", "0.5736365", "0.5608846", "0.5593983", "0.5570945", "0.5515278", "0.55016327", "0.54607266", "0.543467", "0.5408998", "0.539711", ...
0.6492264
1
Obtain the base URI for the given locator.
def bSxS(YKHO): U5bT = L3iJ.xmlTextReaderLocatorBaseURI(YKHO._o) return U5bT
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def SIn2(YKHO) -> 'URI':\n return i3wb(YKHO.base_url)", "def bcfl(J_Es):\n AuNA = J_Es.xpath('//base/@href')\n if AuNA:\n return AuNA[0]", "def x_Wb(QpfX, d7pR=None):\n if not d7pR:\n d7pR = [QpfX.node]\n if hasattr(d7pR[0], 'baseUri'):\n return d7pR[0].baseUri\n elif has...
[ "0.7473824", "0.69681245", "0.688707", "0.6730729", "0.6730003", "0.66972476", "0.66958964", "0.6643906", "0.6633247", "0.6608386", "0.657198", "0.65166444", "0.64839375", "0.64793915", "0.6388643", "0.63834256", "0.6355502", "0.63504857", "0.6320808", "0.62981516", "0.629415...
0.64516795
14
Provides the number of attributes of the current node
def e6cK(YKHO): U5bT = L3iJ.xmlTextReaderAttributeCount(YKHO._o) return U5bT
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Hw5h(YKHO) -> int:\n return YKHO._num_attributes", "def z2mi(YKHO):\n return YKHO.numAttributes", "def NlDI(YKHO):\n return _VfD.XMLToken_getAttributesLength(YKHO)", "def z2mi(YKHO):\n return len(YKHO._attributes)", "def Bqm6(YKHO):\n return YKHO.host.nattributes", "def U6wA(Q6kx):\n ...
[ "0.8165931", "0.8146601", "0.7758259", "0.77480614", "0.7674911", "0.7596263", "0.7589291", "0.7287927", "0.7210451", "0.6957965", "0.69524485", "0.6913117", "0.6879684", "0.6815503", "0.6784407", "0.66879034", "0.6667056", "0.6642448", "0.6642448", "0.66421497", "0.6626294",...
0.7264316
8
Provides the value of the attribute with the specified index relative to the containing element.
def ie2I(YKHO, KOdv): U5bT = L3iJ.xmlTextReaderGetAttributeNo(YKHO._o, KOdv) return U5bT
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def hkS8(YKHO, d6pt):\n return YKHO.row[0, d6pt]", "def G7Ug(YKHO, BWXx):\n return YKHO.index[BWXx]", "def NMoC(YKHO, d6pt):\n return YKHO._node.attributes.get_public(d6pt)", "def M9KB(YKHO, eC0u, k32k=0):\n return YKHO.get_element_by_attr_key(eC0u, k32k).attrib[eC0u]", "def jcTc(YKHO, d6pt):\n...
[ "0.7973939", "0.78768593", "0.77169317", "0.7191979", "0.69905233", "0.67998517", "0.67998517", "0.6762899", "0.6762899", "0.66932595", "0.6683685", "0.66433764", "0.6632507", "0.65694195", "0.65352", "0.65352", "0.651367", "0.6508671", "0.645374", "0.6427007", "0.64249367", ...
0.0
-1
Whether the node has attributes.
def y1B2(YKHO): U5bT = L3iJ.xmlTextReaderHasAttributes(YKHO._o) return U5bT
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def MwwV(YKHO):\n return bool(YKHO.attrs)", "def MwwV(YKHO):\n pass", "def Gnar(YKHO, *qIxc):\n return _VfD.XMLToken_hasAttr(YKHO, *qIxc)", "def ceTe(YKHO):\n return _VfD.Port_hasRequiredAttributes(YKHO)", "def yGDC(YKHO, *qIxc):\n return _VfD.XMLAttributes_hasAttribute(YKHO, *qIxc)", "def...
[ "0.83239025", "0.79196817", "0.7688488", "0.7592858", "0.7555036", "0.7507363", "0.7484842", "0.7457762", "0.7456241", "0.7368404", "0.7356775", "0.7356266", "0.73343277", "0.73131114", "0.7311659", "0.73077255", "0.7304092", "0.73038083", "0.7288707", "0.7273403", "0.7271777...
0.762227
3
Whether the node can have a text value.
def cpx5(YKHO): U5bT = L3iJ.xmlTextReaderHasValue(YKHO._o) return U5bT
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def c7kL(YKHO):\n return YKHO.value_type in (str, QMSQ)", "def SQbn(YKHO):\n U5bT = L3iJ.xmlNodeIsText(YKHO._o)\n return U5bT", "def c7kL(YKHO):\n return YKHO.get_main_type() == 'text'", "def SQbn(YKHO):\n return _VfD.XMLToken_isText(YKHO)", "def l5Ny(BWXx):\n return True", "def c7kL(BW...
[ "0.8067282", "0.7692974", "0.76693165", "0.74505806", "0.7388207", "0.73716974", "0.7264626", "0.6939472", "0.6678142", "0.65031266", "0.6480164", "0.63573647", "0.6338539", "0.6326346", "0.6254525", "0.62253195", "0.6142649", "0.6134447", "0.6100366", "0.6020692", "0.5988547...
0.63704664
11
The local name of the node.
def uJXW(YKHO): U5bT = L3iJ.xmlTextReaderConstLocalName(YKHO._o) return U5bT
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def AwDt(YKHO):\n return YKHO._node_name", "def CUOW(YKHO):\n return gnPz.join_names_underscore(YKHO.name, str(YKHO.as_pointer()))", "def aVN6(YKHO):\n return YKHO.name", "def _Cn9(YKHO):\n return YKHO.local_name", "def CUOW(YKHO, Q6kx):\n return Q6kx.name", "def mWFP(Q6kx):\n return Eg...
[ "0.83967096", "0.83538955", "0.8189074", "0.81453395", "0.8053078", "0.785049", "0.7731316", "0.7669126", "0.76590663", "0.76590663", "0.76590663", "0.76590663", "0.76575", "0.7550364", "0.7526844", "0.7526844", "0.74913985", "0.74797255", "0.7365345", "0.7282848", "0.7211275...
0.71297276
23
Setup an xmltextReader to parse a preparsed XML document. This reuses the existing xmlTextReader.
def Tnnu(YKHO, A97Q): if A97Q is None: cbFf = None else: cbFf = A97Q._o U5bT = L3iJ.xmlReaderNewWalker(YKHO._o, cbFf) return U5bT
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def QGNb(YKHO, N5Pj, rOmR, tZ2K, xAU6):\n if N5Pj is None:\n JWCR = None\n else:\n JWCR = N5Pj._o\n U5bT = L3iJ.xmlTextReaderSetup(JWCR, YKHO._o, rOmR, tZ2K, xAU6)\n return U5bT", "def Lxj7(YKHO):\n U5bT = L3iJ.xmlReaderWalker(YKHO._o)\n if U5bT is None:\n raise yH2X('xmlRe...
[ "0.6678506", "0.6309224", "0.6135679", "0.58738106", "0.5689437", "0.568153", "0.5621", "0.55730283", "0.55638665", "0.5485195", "0.5445137", "0.54172146", "0.5404788", "0.5395796", "0.53594816", "0.5320016", "0.5296876", "0.5184031", "0.5175442", "0.5143241", "0.5125082", ...
0.52628356
17
This tells the XML Reader to preserve the current node. The caller must also use xmlTextReaderCurrentDoc() to keep an handle on the resulting document once parsing has finished
def r337(YKHO): U5bT = L3iJ.xmlTextReaderPreserve(YKHO._o) if U5bT is None: raise yH2X('xmlTextReaderPreserve() failed') qn2R = RM48(_obj=U5bT) return qn2R
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def _A3c(YKHO):\n U5bT = L3iJ.xmlTextReaderCurrentNode(YKHO._o)\n if U5bT is None:\n raise yH2X('xmlTextReaderCurrentNode() failed')\n qn2R = RM48(_obj=U5bT)\n return qn2R", "def ud_f(YKHO, RM48):\n YKHO._localReadMoreXML(RM48)", "def S49z(YKHO):\n U5bT = L3iJ.xmlTextReaderCurrentDoc(Y...
[ "0.6185541", "0.5796757", "0.5724552", "0.56313354", "0.55605096", "0.5523793", "0.54767066", "0.5460335", "0.54363084", "0.5377306", "0.5350271", "0.53452843", "0.53303885", "0.52216536", "0.5217955", "0.52096635", "0.52059966", "0.5168074", "0.5125313", "0.50881505", "0.506...
0.79174346
0
Gets the read state of the reader.
def goMq(YKHO): U5bT = L3iJ.xmlTextReaderReadState(YKHO._o) return U5bT
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Ueki(YKHO):\n YKHO._read(True)\n return YKHO._readings", "def N5Pj(YKHO):\n return YKHO._r", "def Ueki(YKHO):\n return YKHO.read_value", "def fcQr(YKHO):\n return YKHO._read_count", "def Ueki(YKHO):\n yield YKHO.we.eq(1)\n BWXx = (yield YKHO.status)\n yield\n yield YKHO.we.eq...
[ "0.68192196", "0.6818999", "0.676076", "0.65528125", "0.65164566", "0.63261074", "0.6305331", "0.6200104", "0.6172844", "0.616465", "0.6120261", "0.607991", "0.60774946", "0.60774946", "0.60774946", "0.60774946", "0.60774946", "0.6075114", "0.60727316", "0.606379", "0.606379"...
0.6878498
0
Use RelaxNG schema context to validate the document as it is processed. Activation is only possible before the first Read(). If is None, then RelaxNG schema validation is deactivated.
def pngk(YKHO, bp_0, xAU6): if bp_0 is None: rl0b = None else: rl0b = bp_0._o U5bT = L3iJ.xmlTextReaderRelaxNGValidateCtxt(YKHO._o, rl0b, xAU6) return U5bT
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def G7hO(YKHO):\n YKHO.__validate_file(YKHO.__schema_path, 'RNG')\n with open(YKHO.__schema_path) as dGPa:\n KdQx = QGpr.parse(dGPa)\n YKHO.__compiled = QGpr.RelaxNG(KdQx)", "def pngk(YKHO, N5Pj, xAU6):\n if N5Pj is None:\n JWCR = None\n else:\n JWCR = N5Pj._o\n U5bT = ...
[ "0.65751565", "0.6492051", "0.63366103", "0.63034385", "0.62838393", "0.6158408", "0.6141259", "0.59461147", "0.5908322", "0.5819402", "0.5794456", "0.57376087", "0.5609765", "0.55950445", "0.557167", "0.55144495", "0.55021095", "0.5461673", "0.5434451", "0.54102814", "0.5396...
0.6301564
4
Get the fragment part from an URI
def vBtp(YKHO): U5bT = L3iJ.xmlURIGetFragment(YKHO._o) return U5bT
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def dMFr(bD7m):\n bftO = bD7m.split('#', 1)\n if len(bftO) == 2:\n vBtp = bftO[1]\n else:\n vBtp = ''\n return (bftO[0], vBtp)", "def PfzJ(YKHO):\n return YKHO.fragment", "def IibQ(vBtp):\n tk5Y = gCuF.MEDIA_URL\n tk5Y += tk5Y[-1:] != '/' and '/' or ''\n return KVWQ.urljoi...
[ "0.76206195", "0.64301586", "0.6231943", "0.62209624", "0.6149573", "0.6149573", "0.6006007", "0.58030957", "0.57189006", "0.5681673", "0.5634952", "0.56340593", "0.56243575", "0.5589098", "0.55552614", "0.55399334", "0.55142874", "0.5401985", "0.5371582", "0.5371391", "0.534...
0.7035488
1
Get the raw query part from an URI (i.e. the unescaped form).
def kZgo(YKHO): U5bT = L3iJ.xmlURIGetQueryRaw(YKHO._o) return U5bT
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def rtow(j8eK):\n j8eK = j8eK.encode('ascii')\n P5wc = XZu5(j8eK)\n return P5wc.decode('utf-8')", "def OPRw(YKHO):\n lpha = YKHO.path_s.split('?', 1)\n if len(lpha) == 1:\n return ''\n else:\n return lpha[1]", "def kHU8(YKHO):\n return SwjJ.parse_qs(YKHO.query_string)", "de...
[ "0.65132475", "0.63932306", "0.6358423", "0.6228292", "0.59702307", "0.5963525", "0.592729", "0.578123", "0.57751065", "0.5770467", "0.576925", "0.5684611", "0.56510466", "0.55364186", "0.5531121", "0.54801196", "0.54443794", "0.5430089", "0.5393686", "0.53562164", "0.5313901...
0.69485015
0
Get the scheme part from an URI
def ht58(YKHO): U5bT = L3iJ.xmlURIGetScheme(YKHO._o) return U5bT
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def w1jt(bD7m):\n return NoPH(bD7m, 'http').scheme", "def QGeh(bD7m):\n return XuVn(bD7m)[0]", "def qzhZ(bD7m):\n _rrB = 'abcdefghijklmnopqrstuvwxyz0123456789+-.'\n ht58 = ''\n wOmD = bD7m\n Dn4b = bD7m.split(':', 1)\n if len(Dn4b) == 2:\n Dn4b[0] = Dn4b[0].lower()\n if Dn4b[...
[ "0.8242303", "0.8218862", "0.72309506", "0.7141906", "0.67746186", "0.668706", "0.6635462", "0.6599847", "0.6558034", "0.6557602", "0.6522099", "0.6467841", "0.6408412", "0.636154", "0.63174677", "0.62988037", "0.62939143", "0.62795985", "0.6257035", "0.62325263", "0.62194073...
0.7388046
2
Parse an URI reference string based on RFC 3986 and fills in the appropriate fields of the structure URIreference = URI / relativeref
def WaHg(YKHO, str): U5bT = L3iJ.xmlParseURIReference(YKHO._o, str) return U5bT
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def SEjE(vIwR):\n try:\n ht58, Rci7 = vIwR.split(':', 1)\n except ValueError:\n raise YGS0('Unable to find scheme and location in URI %s. No : character present.' % vIwR)\n return (ht58, Rci7)", "def trcm(str):\n U5bT = L3iJ.xmlParseURI(str)\n if U5bT is None:\n raise Mx9Q('xm...
[ "0.6705625", "0.64814", "0.6445073", "0.6400029", "0.6355857", "0.6254597", "0.6248235", "0.6095493", "0.6044861", "0.59552515", "0.59499735", "0.5939472", "0.59078145", "0.58503413", "0.58306634", "0.5817362", "0.57882315", "0.5741685", "0.5726676", "0.5707717", "0.56686205"...
0.75260377
0
Save the URI as an escaped string
def IRXU(YKHO): U5bT = L3iJ.xmlSaveUri(YKHO._o) return U5bT
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def D2vs(vIwR):\n return NCC9(vIwR.encode('utf-8'))", "def F21H(j8eK):\n ERVO = j8eK\n for lvR3, qx_G in nAHV.items():\n ERVO = ERVO.replace(lvR3, qx_G)\n return ERVO", "def tqgx(j8eK):\n import urlparse\n import urllib\n vP2v = urlparse.urlparse(j8eK)\n oyIN = urllib.quote(vP2v[...
[ "0.63651454", "0.63299185", "0.63224655", "0.62547195", "0.6247071", "0.6225495", "0.6225305", "0.61992526", "0.6196737", "0.6164729", "0.6151104", "0.6126265", "0.609872", "0.60887545", "0.60557216", "0.60220456", "0.6004564", "0.59546256", "0.59054124", "0.5870987", "0.5844...
0.5880957
19
Search in the namespace declaration array of the context for the given namespace name associated to the given prefix
def UIO9(YKHO, y0cW): U5bT = L3iJ.xmlXPathNsLookup(YKHO._o, y0cW) return U5bT
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def padd(YKHO, _63S):\n dSH5 = YKHO.__inScopePrefixes.get(_63S)\n if dSH5:\n return next(iter(dSH5))\n return None", "def RRWh(YKHO, y0cW):\n U5bT = L3iJ.xmlTextReaderLookupNamespace(YKHO._o, y0cW)\n return U5bT", "def Hfue(YKHO, *qIxc):\n return _VfD.XMLNamespaces_getIndexByPrefix(YKH...
[ "0.68028617", "0.66046846", "0.65448135", "0.6492623", "0.6474199", "0.646664", "0.6368129", "0.6215092", "0.6195845", "0.6088999", "0.6075654", "0.6043819", "0.6024036", "0.60078406", "0.5959179", "0.5949412", "0.59352547", "0.5933056", "0.59142834", "0.59072155", "0.5894120...
0.67920697
1
Registers all default XPath functions in this context
def JWv7(YKHO): L3iJ.xmlXPathRegisterAllFunctions(YKHO._o)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ynnR(YKHO):\n L3iJ.xmlXPathRegisteredFuncsCleanup(YKHO._o)", "def HcCv(YKHO, Ti4m):\n L3iJ.xmlXPathTranslateFunction(YKHO._o, Ti4m)", "def CaeC():\n L3iJ.xmlRegisterDefaultInputCallbacks()", "def FIMM(YKHO, zvuz=True):\n YKHO.functions = {}\n if zvuz:\n for m2Zb in Gcwd:\n ...
[ "0.6483255", "0.63628125", "0.63570243", "0.6289997", "0.6078314", "0.60745823", "0.60423625", "0.5879413", "0.5802026", "0.5744044", "0.5727727", "0.5696978", "0.5673808", "0.56569076", "0.5644433", "0.56136346", "0.5592473", "0.5575194", "0.55486524", "0.5536253", "0.550555...
0.8232112
0
Traversal function for the "descendant" direction the descendant axis contains the descendants of the context node in document order; a descendant is a child or a child of a child and so on.
def IXIQ(YKHO, DpUl): if DpUl is None: _Lm_ = None else: _Lm_ = DpUl._o U5bT = L3iJ.xmlXPathNextDescendant(YKHO._o, _Lm_) if U5bT is None: raise VP46('xmlXPathNextDescendant() failed') qn2R = RM48(_obj=U5bT) return qn2R
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def IXIQ(YKHO, bp_0):\n if bp_0 is None:\n rl0b = None\n else:\n rl0b = bp_0._o\n U5bT = L3iJ.xmlXPathNextDescendant(rl0b, YKHO._o)\n if U5bT is None:\n raise VP46('xmlXPathNextDescendant() failed')\n qn2R = RM48(_obj=U5bT)\n return qn2R", "def bnq0(YKHO, Q6kx):\n return...
[ "0.65134144", "0.62416375", "0.61566764", "0.60502476", "0.60035783", "0.5883835", "0.58529603", "0.5808182", "0.5778056", "0.57680064", "0.5721821", "0.56282127", "0.56205016", "0.56068796", "0.5585778", "0.5582599", "0.55649924", "0.55547965", "0.5543806", "0.55174935", "0....
0.5732781
10
utcnow() should always return a timezone naive datetime
def CQ1B(): Aues = qcWV.datetime.utcnow() assert Aues.tzinfo is None
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def E0PF() -> qcWV:\n return qcWV.now(tz=FXGE.timezone('UTC'))", "def fa__():\n return qcWV.utcnow().replace(tzinfo=rIAI)", "def SsoH() -> qcWV:\n return qcWV.now(rIAI.utc)", "def WmcE():\n return qcWV.datetime.utcnow().replace(tzinfo=FXGE.utc)", "def wj6w():\n return qcWV.utcnow().replace(t...
[ "0.87445724", "0.8384677", "0.83001596", "0.82903826", "0.82823855", "0.8258008", "0.82146007", "0.81436074", "0.80177647", "0.7975264", "0.77837163", "0.777409", "0.77561104", "0.77379006", "0.76930153", "0.76128054", "0.75415707", "0.75314873", "0.7527916", "0.7519877", "0....
0.77370924
14
Store the editor's current text in the current tab. Strangely appears to be called twice on current editor's textChanged and backspace key...
def pFpX(YKHO): if YKHO.tabs.count() == 0: YKHO.new_tab() if YKHO.tabs.get('saved'): YKHO.tabs['original_text'] = YKHO.tabs['text'] YKHO.tabs['saved'] = False YKHO.tabs.repaint() elif YKHO.tabs.get('original_text') is not None: if YKHO.tabs['original_text'] == YKHO.ed...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def GwiQ(YKHO, d6pt):\n nPrm = YKHO.tabs.tabData(d6pt)\n if not nPrm:\n return\n l5Ny = nPrm['text']\n if l5Ny is None or not l5Ny.strip():\n pmON = nPrm.get('path')\n if pmON is None:\n l5Ny = ''\n elif not Hy7s.path.isfile(pmON):\n l5Ny = ''\n ...
[ "0.7271244", "0.68063784", "0.6525491", "0.6514625", "0.6450829", "0.6424653", "0.6403789", "0.63543683", "0.61981255", "0.61182433", "0.61182433", "0.6069198", "0.60433704", "0.6022986", "0.60139585", "0.601367", "0.59182906", "0.58943516", "0.5877356", "0.5873905", "0.58125...
0.80716074
0
... another way to design this class is to let name attribute be assigned when registered, but we need to allow FLAGS names such as 'jobdir' to be legal. In this perspective, this design is better.
def FIMM(YKHO, HyJ9, JBZA, gr_i=None, mWFP=None, LJSO=False, **B2fa): YKHO._default_value = HyJ9 YKHO._description = JBZA YKHO._register = gr_i YKHO._name = mWFP YKHO._is_key = LJSO YKHO._kwargs = B2fa YKHO._value = HyJ9 YKHO._frozen = False
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def FIMM(YKHO, mWFP):\n YKHO._name = mWFP\n YKHO._registry = {}", "def FIMM(YKHO, mWFP, _AKB=None):\n YKHO._name = mWFP\n YKHO._parent = _AKB\n YKHO._defs = {}\n YKHO._unparsed = None", "def FIMM(YKHO, mWFP: str, p5Rr: str, glsA=False):\n YKHO.key = mWFP\n YKHO.value = p5Rr\n YKHO.re...
[ "0.62441325", "0.6114193", "0.6042312", "0.59837526", "0.597775", "0.587255", "0.5865956", "0.5852568", "0.581961", "0.581961", "0.5814994", "0.5801965", "0.5794763", "0.57895905", "0.5774067", "0.57660866", "0.5760786", "0.57374156", "0.5713522", "0.5698044", "0.5689585", ...
0.0
-1
Reshaping happens during the call to forward.
def q3V_(YKHO, es2x, tlxW): pass
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def KVH6(YKHO, input):\n Ep8u = input.size(0)\n ROpF = (Ep8u, *YKHO.shape)\n yvT9 = input.reshape(ROpF)\n return yvT9", "def fK3f(YKHO):\n YKHO._frame._setup(width=YKHO._width, height=YKHO._height, startx=YKHO._x, starty=YKHO._y)", "def KVH6(YKHO, WKvO):\n WKvO = WKvO.permute(0, 3, 1, 2)\n ...
[ "0.7052694", "0.66112494", "0.6553348", "0.6553348", "0.6445214", "0.6263273", "0.6219224", "0.62077326", "0.6204762", "0.612587", "0.612587", "0.6098139", "0.6093421", "0.6090613", "0.60858375", "0.60803044", "0.6076111", "0.60631406", "0.60622656", "0.60548824", "0.60481465...
0.0
-1
Highlights a list of annotations in a given document. Annotations must not overlap.
def frm2(gn_Q: str, XgyP: Iterable[Dict], W9eb: str='On_Green') -> None: xVIE = 0 for ICn2 in sorted(XgyP, key=lambda uFSR: uFSR['begin']): HwRy.stdout.write(gn_Q[xVIE:ICn2['begin']]) HwRy.stdout.write(M1t0(gn_Q, max(xVIE, ICn2['begin']), ICn2['end'], highlight_color=W9eb)) xVIE = max(xV...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def U0Nw(gn_Q: str, ICn2: Dict, _8mq: int=300, W9eb: str='On_Green') -> None:\n HwRy.stdout.write(M1t0(gn_Q, ICn2['begin'], ICn2['end'], _8mq, W9eb))", "def dT6N(RRlC, xAU6):\n for pmON in RRlC:\n if Hy7s.path.isdir(pmON):\n if xAU6.recursive:\n dT6N([Hy7s.path.join(pmON, X...
[ "0.7080051", "0.60490745", "0.59433645", "0.58831733", "0.58799285", "0.58492786", "0.57725203", "0.57654566", "0.57036406", "0.5669521", "0.5652381", "0.5652167", "0.5624313", "0.5593907", "0.5587485", "0.5564704", "0.5563558", "0.5555434", "0.5553595", "0.55472547", "0.5547...
0.80828357
0
Converts a date (as a string) to a datetime object.
def tZRA(wyVH): return qcWV(*[int(KCHu) for KCHu in wyVH.split('-')])
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def J6Ib(_c1T):\n import datetime\n _c1T = str(_c1T)\n lO87 = int(_c1T[0:4])\n x0eS = int(_c1T[4:6])\n CjKC = int(_c1T[6:8])\n return datetime.datetime(lO87, x0eS, CjKC)", "def OLXh(JvEs):\n return JRYC.strptime(JvEs, '%Y-%m-%d')", "def HD4I(I7Da):\n ZMli = qcWV.datetime.strptime(I7Da, ...
[ "0.80922514", "0.790415", "0.78785604", "0.77028054", "0.7698652", "0.7649403", "0.76074004", "0.7581258", "0.7482939", "0.7430819", "0.7366046", "0.73239124", "0.7284672", "0.72745645", "0.72657996", "0.72620285", "0.7256204", "0.7252677", "0.72424376", "0.72264755", "0.7225...
0.7204752
21
Renders the game world as a grid of rectangles. Yellow rectangles > blips Blue rectangle > water Green rectangles > forest
def bRZ8(YKHO, EmUK): YKHO.window.fill(YKHO.background_color) for LVAh in range(0, YKHO.height): for WKvO in range(0, YKHO.width): Z9rn = XDQs XD0Z = 0 if EmUK.map[LVAh][WKvO].blips: XD0Z = len(EmUK.map[LVAh][WKvO].blips) ppkt = (0, 0, ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def OiwQ(YKHO):\n for rdlD in range(YKHO.cell_row):\n for fvDH in range(YKHO.cell_col):\n o4D3 = fvDH * YKHO.cell_size\n si3g = rdlD * YKHO.cell_size\n ajwV = o4D3 + YKHO.cell_size\n skBL = si3g + YKHO.cell_size\n if YKHO.world_status.now[rdlD, fvDH]...
[ "0.7346073", "0.7248224", "0.71032715", "0.70222116", "0.6971212", "0.6943968", "0.69210404", "0.69105214", "0.68864065", "0.68738705", "0.6869376", "0.67319995", "0.6669917", "0.66646194", "0.66581994", "0.66568285", "0.6651013", "0.66274613", "0.6592659", "0.65897304", "0.6...
0.7463191
0
Produces and displays in a Jupyter notebook a single plot with the running reward, the loss function and the last chosen actions. This function can also save the plot to .pdf in the PLOT_DIR_NAME folder
def prAS(N_e1, j1tU, TEA5=6000, jBgH=None, dxHy=None, FtRo=None, MtLO=400, A6Tp=None, GuLE=False, a2vR=False, kY4K='', AHE9=None): jBgH, dxHy, FtRo = b65d(N_e1, j1tU, jBgH, dxHy, FtRo) kcm1 = GkAb(jBgH).exists() Aixt = GkAb(dxHy).exists() Ljqt = GkAb(FtRo).exists() OifI = int(kcm1) + 2 * int(Aixt) +...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def sRiZ(YKHO):\n SQP_ = Hy7s.path.join(YKHO.env.logdir, 'rewards')\n Hy7s.makedirs(SQP_, exist_ok=True)\n if YKHO.env.episode_steps > 0:\n mqH0.EPISODES_WINDOW = 50\n mqH0.plot_curves([(oyIN.arange(YKHO.env.episode_steps), oyIN.asarray(YKHO.rewards_history[-YKHO.env.episode_steps:]))], 'ste...
[ "0.6782284", "0.67792064", "0.66833574", "0.6679927", "0.66696393", "0.66619444", "0.6626264", "0.6623414", "0.65421945", "0.6491245", "0.64768285", "0.6402456", "0.64001065", "0.63970363", "0.63754916", "0.6343628", "0.6320106", "0.6314399", "0.6297286", "0.62664104", "0.625...
0.59590304
61
Returns the services that have undelivered messages
def GNya(YKHO): return YKHO.storage.iterkeys()
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def aTLL(YKHO):\n return [WKvO for WKvO in YKHO.processes.values() if WKvO.get_state() not in ujeW]", "def G3DJ(YKHO, _63S, Epyv=60):\n uIrn = []\n with YKHO.lock:\n for YWSi in YKHO.dead_agents(_63S, Epyv):\n uIrn.append((YWSi.message, YWSi.queue))\n return uIrn", "def mhws():\n ...
[ "0.61688673", "0.6009357", "0.5988664", "0.5877161", "0.5824229", "0.5704935", "0.5678364", "0.5670037", "0.5651657", "0.5635998", "0.56153345", "0.56144786", "0.5593253", "0.5561594", "0.55564815", "0.5547541", "0.5484969", "0.54783714", "0.5434256", "0.5425893", "0.5408618"...
0.0
-1
Returns a list of services subscribed to the channel
def cUo5(YKHO, YwkQ): if YwkQ not in YKHO.clients.keys(): return [] return YKHO.clients[YwkQ]
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def eKeX(YKHO, Fv2L):\n pass", "def ttkl(YKHO):\n return eWrP()", "def Mj8P():\n X5oK = Pt6R.tools.list_ports.comports()\n p_z1.executor = _u6t(max_workers=len(X5oK))\n for bIwZ in X5oK:\n if bIwZ.device in iGAT:\n continue\n RKD7.info('Found {}'.format(bIwZ.device))\n ...
[ "0.6905363", "0.67928594", "0.6696701", "0.6649453", "0.6616173", "0.6582425", "0.64968055", "0.6494159", "0.64863396", "0.64528817", "0.6441343", "0.6378388", "0.63407737", "0.63243127", "0.63199013", "0.6310301", "0.6300896", "0.62992406", "0.6277665", "0.626891", "0.626095...
0.6991777
0
Returns the number of unsent messages for service in a given channel
def amzH(YKHO, x0hE, YwkQ): Aofo = None if x0hE not in YKHO.storage: return Aofo if YwkQ not in YKHO.storage[x0hE]: return Aofo Aofo = len(YKHO.storage[x0hE][YwkQ]) return Aofo
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "async def _count(YKHO, OaeV: Context, CBIr: discord.Member, YwkQ: discord.TextChannel=None):\n if not YwkQ:\n YwkQ = OaeV.channel\n UHFx = 0\n async with OaeV.typing():\n async for Ol8d in YwkQ.history(limit=None):\n if Ol8d.author.id == CBIr.id:\n UHFx += 1\n aw...
[ "0.657975", "0.59816855", "0.58021677", "0.5771974", "0.57275295", "0.5691235", "0.5691174", "0.56775624", "0.5657044", "0.5656259", "0.5635233", "0.5601015", "0.556196", "0.5548311", "0.55401486", "0.55262053", "0.55195576", "0.5518822", "0.5511645", "0.5510795", "0.55021274...
0.6867112
0
Gets the activity query inspector record corresponding to the given ``Activity`` record ``Type``.
def Z3XF(YKHO, TCM4): return
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def l92l(YKHO, TCM4=None):\n if not YKHO.has_record_type():\n raise bfHs()\n else:\n raise e6xC()", "def v1MY(YKHO, G0yE):\n return", "def kNx8(YKHO, iu4m):\n return", "def nZ2i(YKHO, type=None):\n return M80X._get_query_dict(type=type)", "def Pp3X(YKHO, TCM4=None):\n if not...
[ "0.67879206", "0.64453965", "0.6404483", "0.64042526", "0.6296901", "0.62636566", "0.58736485", "0.5838845", "0.5720649", "0.5668118", "0.54776895", "0.54259235", "0.5411182", "0.5331479", "0.52392346", "0.520575", "0.5184123", "0.5157491", "0.51459914", "0.5143486", "0.51172...
0.81860197
0
Gets the minimum completion terms.
def RoG1(YKHO): return
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def V7A_(YKHO):\n return", "def YP8A():\n return [cO8C([0.78547, 0.78547, 0.78547])]", "def KKDF(YKHO):\n if YKHO.freq:\n i88l = min(YKHO.freq.keys())\n return list(YKHO.freq[i88l])[0]\n return ''", "def KKDF(YKHO):\n if len(YKHO.word_to_freq) == 0:\n return ''\n sdCG =...
[ "0.63126713", "0.61316425", "0.5962791", "0.59045184", "0.5888861", "0.58421934", "0.578313", "0.57707787", "0.5694143", "0.56812745", "0.56062764", "0.55989003", "0.55989003", "0.55989003", "0.55989003", "0.55989003", "0.55989003", "0.55989003", "0.55989003", "0.55989003", "...
0.8391211
0
Gets the proficiency query inspector record corresponding to the given ``Proficiency`` record ``Type``.
def Bw7v(YKHO, MMWh): return
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def v1MY(YKHO, G0yE):\n return", "def kNx8(YKHO, iu4m):\n return", "def Z3XF(YKHO, TCM4):\n return", "def JYay(YKHO, CG7U):\n return", "def zEnq(YKHO, WYW6):\n return", "def G7Zg(YKHO, iu4m=None):\n if not YKHO.has_record_type():\n raise jian()\n else:\n raise e6xC()", ...
[ "0.63591987", "0.62713504", "0.6026866", "0.58138317", "0.5691092", "0.5357006", "0.527741", "0.52291757", "0.5086739", "0.48908895", "0.4890077", "0.4824123", "0.48151183", "0.47936258", "0.47927105", "0.47503322", "0.47462612", "0.47068703", "0.4681817", "0.467146", "0.4662...
0.8406018
0
Gets the objective bank query inspector record corresponding to the given ``ObjectiveBank`` record ``Type``.
def JYay(YKHO, CG7U): return
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def kaqf(YKHO, CG7U=None):\n if not YKHO.has_record_type():\n raise bfHs()\n else:\n raise e6xC()", "def kNx8(YKHO, iu4m):\n return", "def tV70(YKHO, CG7U=None):\n if not YKHO.has_record_type():\n raise jian()\n else:\n raise e6xC()", "def G7Zg(YKHO, iu4m=None):\n ...
[ "0.7199655", "0.69777894", "0.67696565", "0.5914984", "0.5845147", "0.58391196", "0.57155895", "0.56362814", "0.55428874", "0.5401722", "0.53363025", "0.5284087", "0.5259767", "0.5170561", "0.5122044", "0.51102024", "0.5049079", "0.4987995", "0.4967631", "0.4967631", "0.49676...
0.8413634
0
Get the fully qualified class name, most useful when complaining about duplicate plugins names.
def kn2E(Emd4): return '{}.{}'.format(Emd4.__module__, Emd4.__name__)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def jeLr(Emd4):\n yR_P = Emd4.__module__\n if yR_P is None or yR_P == str.__class__.__module__:\n return Emd4.__class__.__name__\n return yR_P + '.' + Emd4.__class__.__name__", "def vrep(YKHO):\n return YKHO.__class__.__name__", "def n78L(KAOR):\n return '%s.%s' % (KAOR.__module__, KAOR._...
[ "0.79360193", "0.78168327", "0.7763607", "0.7654578", "0.7619782", "0.76041156", "0.7600725", "0.7532845", "0.7532845", "0.74793655", "0.74146235", "0.73687404", "0.7310958", "0.7237848", "0.7211929", "0.71931446", "0.71931446", "0.7184884", "0.715749", "0.71413517", "0.70624...
0.8088907
0
Get a list of this plugin's handlers for hook.
def f8x_(YKHO, OQzj: str) -> x1iM[YrBT]: return [getattr(YKHO, mWFP) for mWFP in YKHO.__plugin_data.hooks.get(OQzj, ())]
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def jM3M(YKHO):\n return list(YKHO._registry.values())", "def iSCP(YKHO):\n bo34.debug('%s: Returned %d handlers.' % (YKHO.__class__.__name__, len(YKHO._handlers)))\n return YKHO._handlers[:]", "def iSCP(YKHO):\n return YKHO._handlers", "def NgNB(YKHO):\n return YKHO.__hooks", "def list(YKHO...
[ "0.77432156", "0.7456003", "0.73861814", "0.71060324", "0.7051369", "0.70463943", "0.70434904", "0.6915323", "0.69048995", "0.68458396", "0.68361706", "0.6792545", "0.67363906", "0.6728525", "0.66819966", "0.66679096", "0.6660004", "0.65822107", "0.65810406", "0.6430461", "0....
0.75495875
1
Relative path to the cmake build subdirectory.
def Mvpk(YKHO): return zOLB('..', YKHO.build_dirname)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def EL0N():\n qaEx = Hy7s.path.abspath(xAKo)\n jNha = Hy7s.path.join(Hy7s.path.dirname(qaEx), '..')\n return Hy7s.path.abspath(jNha)", "def n8un(Emd4, PsRC):\n if Hy7s.path.basename(PsRC).startswith('BUILD'):\n return PsRC\n else:\n return Hy7s.path.join(PsRC, 'BUILD')", "def kmfe(...
[ "0.7112076", "0.7053106", "0.6903622", "0.68874216", "0.68780637", "0.6837933", "0.68231887", "0.68205684", "0.6790611", "0.67787915", "0.6761821", "0.6761821", "0.6761821", "0.6761821", "0.6710841", "0.6709403", "0.6703601", "0.66841537", "0.66659045", "0.66612375", "0.66225...
0.7620638
0
toString private method, extracts metric expression from health rule condition metric expression
def MFSU(YKHO, BLVK): if BLVK['type'] == 'LEAF_METRIC_EXPRESSION': return BLVK['metricDefinition']['logicalMetricName'].lower() else: return MFSU(BLVK['expression1']) + ' ' + BLVK['operator']['type'] + ' ' + MFSU(BLVK['expression2'])
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Cq8I(YKHO, Ao4I):\n\n def thaR(XEri, lsX7):\n if 'metricExpression' in XEri:\n return lsX7.replace(XEri['shortName'], XEri['metricExpression']['metricDefinition']['logicalMetricName'].lower() + ' ' + XEri['operator'].lower() + ' ' + str(XEri['value']))\n else:\n return th...
[ "0.691603", "0.68240106", "0.66684645", "0.6566739", "0.63927627", "0.5783587", "0.56656826", "0.5571627", "0.55572325", "0.5518419", "0.5497137", "0.54811907", "0.5424083", "0.5418357", "0.5399262", "0.53923273", "0.53899384", "0.53899384", "0.53529954", "0.5334207", "0.5309...
0.7310391
0
Function returns boolean value as to whether this franchise is the public or a tenant.
def C76K(YKHO): return YKHO.schema_name == 'public' or YKHO.schema_name == 'test'
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def WQHE(YKHO, Gen1, ehIZ):\n return ehIZ in [a1PO.name for a1PO in Gen1.tenants.list()]", "def Zfjy(YKHO):\n Z8dB = YKHO.get_taxonomy()\n return True if YKHO.request.user == Z8dB.author else Z8dB.public", "def Y5nx(YKHO):\n YKHO.do_visible(True, None, True, tenant='froggy')", "def zKHw(YKHO, CBI...
[ "0.6567402", "0.647456", "0.6304006", "0.62529886", "0.62166", "0.62166", "0.62166", "0.62166", "0.6149672", "0.6149672", "0.61125606", "0.6090532", "0.6083297", "0.60828847", "0.60821176", "0.60732126", "0.60732126", "0.60578513", "0.6044697", "0.60166425", "0.60162115", "...
0.6381577
2
Returns list of qs
def YYJw(rQ8K, spUL, Tz3w, uB9o, B2Yt, Rhv4): WlEx, xtLL, dKDp = Rhv4 BDwY = [] pSfY = 0 VNqG = 0 for YRbF in range(0, len(uB9o)): BDwY.append(vexM(rQ8K[YRbF], spUL[pSfY:pSfY + uB9o[YRbF]], Tz3w[VNqG:VNqG + B2Yt[YRbF]], WlEx[YRbF], xtLL[pSfY:pSfY + uB9o[YRbF]], dKDp[VNqG:VNqG + B2Yt[YRbF]]))...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def fMWL(YKHO):\n if YKHO.qs == None:\n umWR = YKHO.get_queryset()\n else:\n umWR = YKHO.qs\n return umWR", "def fMWL(YKHO):\n if YKHO.qs == None:\n umWR = YKHO.get_queryset()\n else:\n umWR = YKHO.qs\n return umWR", "def SR0I(YKHO, QePW):\n umWR = YKHO.model.al...
[ "0.77139455", "0.77139455", "0.7624155", "0.7504078", "0.7456416", "0.74161375", "0.7331651", "0.732145", "0.72809654", "0.7242367", "0.7231469", "0.7228179", "0.72244585", "0.7213833", "0.7202845", "0.7179051", "0.71603197", "0.7144912", "0.71108544", "0.71063864", "0.710333...
0.0
-1