text stringlengths 7 2.39k | embedding listlengths 768 768 |
|---|---|
DefaultOrder returns the list of default ordering fields. | [
-1.0143479108810425,
0.5808640718460083,
0.04883180186152458,
1.3299311399459839,
1.101880669593811,
0.11155294626951218,
-0.7440629601478577,
-0.2560420334339142,
0.11570043116807938,
-0.6128724217414856,
-2.0179264545440674,
-1.73490309715271,
-0.44433867931365967,
0.7646911144256592,
... |
Doc returns the documentation for the object | [
0.40735772252082825,
-0.7442647814750671,
0.2924450933933258,
0.2377733588218689,
-0.21157637238502502,
0.3001486659049988,
0.47865939140319824,
-0.19324727356433868,
0.6109362840652466,
-0.4021018147468567,
-0.0868179127573967,
0.15971489250659943,
1.2782331705093384,
-0.10690037161111832... |
ToSparse returns the sparse version of the model. The returned object will only contain the given fields. No field means entire field set. | [
-0.22031645476818085,
0.46164849400520325,
0.4655570387840271,
-0.11892154812812805,
0.2734578549861908,
0.21604636311531067,
-0.37898483872413635,
-1.1055963039398193,
-0.2027662843465805,
-0.37324631214141846,
-1.070713758468628,
-0.29974251985549927,
-0.6704465746879578,
-1.253202795982... |
Patch apply the non nil value of a SparseEnforcerReport to the object. | [
1.2465463876724243,
0.4123309552669525,
0.22702881693840027,
-1.082963228225708,
0.3212868571281433,
0.14703787863254547,
0.08895116299390793,
0.8047313690185547,
1.364795207977295,
-0.2777949571609497,
-0.4080466330051422,
-0.14875634014606476,
-1.0592703819274902,
0.03955939784646034,
... |
DeepCopy returns a deep copy if the EnforcerReport. | [
0.37671685218811035,
0.487198144197464,
0.4444385766983032,
0.3735092878341675,
0.4085940718650818,
-0.1167297437787056,
0.594113290309906,
-0.3059852421283722,
0.6602178812026978,
-0.47115570306777954,
0.0814061090350151,
-0.4359546899795532,
-1.6102471351623535,
-0.695736825466156,
-0.... |
DeepCopyInto copies the receiver into the given EnforcerReport. | [
0.9001031517982483,
-0.059313587844371796,
0.3482954800128937,
-0.12916789948940277,
0.2398587018251419,
0.2784598171710968,
0.6334220767021179,
0.034735340625047684,
0.21308445930480957,
-1.210761547088623,
-0.05189336836338043,
0.027582868933677673,
-1.0414059162139893,
-0.48525896668434... |
Validate valides the current information stored into the structure. | [
0.19215308129787445,
-0.6852872371673584,
0.16385993361473083,
-0.020960912108421326,
1.0752934217453003,
0.1684449166059494,
0.4910762310028076,
-0.04193486273288727,
-1.4135408401489258,
-0.7653500437736511,
0.283596009016037,
0.015051032416522503,
-0.5416996479034424,
0.6812747716903687... |
SpecificationForAttribute returns the AttributeSpecification for the given attribute name key. | [
-0.23011893033981323,
-0.5212281942367554,
0.11473237723112106,
-1.501309871673584,
-0.6894252300262451,
-0.936012864112854,
0.05679910629987717,
-0.40085941553115845,
-0.14338967204093933,
0.642202615737915,
0.2861756682395935,
-0.27040624618530273,
1.619994044303894,
-0.27939391136169434... |
AttributeSpecifications returns the full attribute specifications map. | [
-0.4623977839946747,
-0.861884593963623,
0.44513699412345886,
-1.1279034614562988,
-0.33223122358322144,
-0.1935463845729828,
-0.011273816227912903,
0.14716732501983643,
0.3439103960990906,
-0.16478708386421204,
-0.5831780433654785,
0.2076324075460434,
1.5052802562713623,
0.277421653270721... |
ValueForAttribute returns the value for the given attribute. This is a very advanced function that you should not need but in some very specific use cases. | [
-0.2028948962688446,
-0.30916059017181396,
0.4946784973144531,
-0.6574665904045105,
-0.21232707798480988,
-0.5495105981826782,
0.6108077168464661,
-0.013909813947975636,
-0.7060185074806213,
-0.7184271812438965,
0.6261564493179321,
-0.15038937330245972,
1.1386003494262695,
0.41372910141944... |
Identity returns the identity of the objects in the list. | [
-1.5573474168777466,
-1.27797532081604,
0.5049148797988892,
1.4741367101669312,
1.5168834924697876,
0.6709188222885132,
0.19566534459590912,
0.0555143877863884,
1.1573433876037598,
0.22319716215133667,
-2.1734204292297363,
-0.992900013923645,
-0.758128821849823,
0.42887550592422485,
-1.3... |
Copy returns a pointer to a copy the SparseEnforcerReportsList. | [
0.7503044605255127,
-0.1506464034318924,
0.27412259578704834,
-0.0317535400390625,
0.3973710834980011,
0.8393696546554565,
-0.04388464614748955,
0.047053784132003784,
0.9615184664726257,
0.610334575176239,
-0.3638092279434204,
-0.03405967727303505,
-1.5199311971664429,
-0.29061591625213623... |
Append appends the objects to the a new copy of the SparseEnforcerReportsList. | [
0.3796987235546112,
-0.053041957318782806,
0.10504283756017685,
0.06872305274009705,
1.2557071447372437,
0.9154245257377625,
-0.3097991943359375,
0.5419756770133972,
0.21169203519821167,
0.4327344596385956,
-0.4950852394104004,
-0.1416235715150833,
-0.8880726099014282,
0.3268471360206604,
... |
List converts the object to an elemental.IdentifiablesList. | [
-0.9600877165794373,
-0.30213984847068787,
0.23277205228805542,
-0.2363506257534027,
0.9523643851280212,
0.8807448148727417,
-0.5574062466621399,
0.3838338851928711,
1.7640093564987183,
0.5025591254234314,
-1.7199063301086426,
-0.014203044585883617,
0.8071699142456055,
-0.1913297027349472,... |
DefaultOrder returns the default ordering fields of the content. | [
-0.6483005881309509,
0.2232595533132553,
0.1529625505208969,
0.4739619195461273,
1.2243590354919434,
-0.17158040404319763,
-0.57158362865448,
-0.7590711116790771,
-0.29285165667533875,
-0.5427825450897217,
-1.5687713623046875,
-1.665823221206665,
-0.9715241193771362,
0.5721712112426758,
... |
ToPlain returns the SparseEnforcerReportsList converted to EnforcerReportsList. | [
0.3723836839199066,
0.45377326011657715,
0.2420741468667984,
-1.105841040611267,
1.115196943283081,
-0.05530219525098801,
-0.19696737825870514,
0.18838362395763397,
0.8822618126869202,
0.3381183445453644,
-1.0422395467758179,
-0.7293533086776733,
-1.4115766286849976,
0.20197032392024994,
... |
Version returns the version of the content. | [
-0.002026192843914032,
-1.2441654205322266,
0.09488499909639359,
-0.0666007474064827,
0.40971729159355164,
0.16992899775505066,
0.5500407814979553,
-0.6270066499710083,
-0.5982568264007568,
0.6791283488273621,
-0.6349871158599854,
-0.5798309445381165,
-0.9640220403671265,
-0.06875483691692... |
NewSparseEnforcerReport returns a new SparseEnforcerReport. | [
1.0386306047439575,
0.267028272151947,
0.05110025405883789,
-0.303666889667511,
0.49935513734817505,
-1.1392138004302979,
-0.14727036654949188,
0.5469012260437012,
0.05147334933280945,
-1.4218780994415283,
-1.0232363939285278,
-0.546954870223999,
-1.5702680349349976,
0.4217768907546997,
... |
Identity returns the Identity of the sparse object. | [
-0.10346566885709763,
-0.8688185214996338,
0.5010505318641663,
1.5938597917556763,
0.8015711307525635,
1.4821052551269531,
0.3750031292438507,
-0.28763601183891296,
1.4790377616882324,
-0.3649393618106842,
-1.454539179801941,
-0.26444128155708313,
-0.4300297498703003,
-0.9029339551925659,
... |
Identifier returns the value of the sparse object's unique identifier. | [
0.410859614610672,
-0.6227310299873352,
0.6361749172210693,
0.14428704977035522,
-0.11614245921373367,
1.079205870628357,
0.6542263627052307,
0.9671564698219299,
1.463561773300171,
-0.47147101163864136,
-1.3574199676513672,
0.23109517991542816,
-0.05204891040921211,
-1.14712655544281,
-0... |
SetIdentifier sets the value of the sparse object's unique identifier. | [
0.14854544401168823,
-0.5231460332870483,
0.32392647862434387,
0.19773811101913452,
-0.21558159589767456,
1.4970729351043701,
0.7680076360702515,
0.9381939768791199,
0.8944364786148071,
-0.16090936958789825,
-1.8323014974594116,
0.33327528834342957,
0.4275352656841278,
-0.19278530776500702... |
GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID. | [
-0.16205400228500366,
-0.15549048781394958,
0.550056517124176,
0.1793619990348816,
0.1714877039194107,
0.30355292558670044,
-0.24578720331192017,
-0.16097669303417206,
1.8386250734329224,
-0.9652994275093079,
0.5482439994812012,
0.9261605739593506,
-0.3160775899887085,
-0.00700245611369609... |
SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID. | [
-0.37723228335380554,
-0.3958483040332794,
0.3969792127609253,
0.10089442133903503,
-0.16202835738658905,
0.5435289144515991,
-0.263464093208313,
-0.10207336395978928,
1.517702341079712,
-0.5953258275985718,
0.20559218525886536,
0.997705340385437,
-0.3588419258594513,
0.40581557154655457,
... |
Version returns the hardcoded version of the model. | [
-0.3388679623603821,
-1.2214012145996094,
0.04859277606010437,
0.6236059069633484,
0.5751096606254578,
1.2737253904342651,
0.42161670327186584,
-0.04793591424822807,
-0.15058059990406036,
0.7452157735824585,
-1.6071122884750366,
-0.4795745313167572,
0.5358558893203735,
0.19901494681835175,... |
ToPlain returns the plain version of the sparse model. | [
0.42559850215911865,
-0.16283410787582397,
0.31566935777664185,
-1.3193976879119873,
-0.5628998875617981,
1.1156675815582275,
-0.12238647788763046,
-0.47921833395957947,
0.4033755362033844,
-0.1352912187576294,
-0.9047534465789795,
-0.47592008113861084,
-0.01829308643937111,
-1.21176493167... |
DeepCopy returns a deep copy if the SparseEnforcerReport. | [
0.5250279903411865,
0.9704703688621521,
0.2279975563287735,
0.36324673891067505,
0.32218483090400696,
-0.04053165018558502,
0.09353455901145935,
0.27921196818351746,
0.8744601607322693,
0.2771507799625397,
-0.3348596692085266,
0.1482662856578827,
-1.3311729431152344,
-0.5875698328018188,
... |
DeepCopyInto copies the receiver into the given SparseEnforcerReport. | [
1.1698904037475586,
0.3580596148967743,
0.09153958410024643,
-0.11624538153409958,
0.2858682870864868,
0.14822012186050415,
0.12628622353076935,
0.43994206190109253,
0.42047592997550964,
-0.5998039245605469,
-0.2525233328342438,
0.21433107554912567,
-0.8738641738891602,
-0.2329834252595901... |
Returns the closest timestamp to the query key | [
-0.3347302973270416,
-0.32819339632987976,
0.4758906364440918,
-0.1487167924642563,
-1.0634363889694214,
0.7623534202575684,
-0.5019007921218872,
-1.4971802234649658,
0.28149205446243286,
0.5994418859481812,
0.7321510314941406,
-0.6764370203018188,
-0.3683830797672272,
-0.13975109159946442... |
Search for index of earliest timestamp in log | [
-0.04158095642924309,
-0.43416109681129456,
0.5686988830566406,
-0.5095590949058533,
-0.5987243056297302,
-0.3646748661994934,
0.13272474706172943,
-0.6197647452354431,
0.41423702239990234,
-0.9406227469444275,
0.2666989862918854,
0.0076539041474461555,
0.3887448310852051,
-0.1940342038869... |
Searches in a circular log | [
0.05739441514015198,
-0.7507972121238708,
0.29758569598197937,
-0.6955942511558533,
-0.536106526851654,
-0.5072373747825623,
1.1492222547531128,
-1.2008548974990845,
-0.12789605557918549,
-0.5512000322341919,
0.3783388137817383,
0.9323078393936157,
-0.45012733340263367,
0.3255191445350647,... |
NewCommandStartAllInOne provides a CLI handler for 'start' command | [
0.5970368981361389,
-0.6481755375862122,
0.49561363458633423,
1.3290506601333618,
0.22801180183887482,
-0.222083181142807,
-0.44159379601478577,
0.5501840710639954,
-0.6620674729347229,
-0.3984526991844177,
-0.5302513241767883,
-0.24768048524856567,
0.5355058312416077,
-0.17319579422473907... |
GetAllInOneArgs makes sure that the node and master args that should be shared, are shared | [
-0.08593009412288666,
0.21458862721920013,
0.41035401821136475,
0.832838237285614,
0.21711419522762299,
0.1873866766691208,
-0.3741006553173065,
0.10677201300859451,
-0.945281982421875,
-0.11593832075595856,
0.4964713454246521,
0.7683814764022827,
-1.2172106504440308,
1.2587970495224,
0.... |
StartAllInOne: 1. Creates the signer certificate if needed 2. Calls RunMaster 3. Calls RunNode 4. If only writing configs, it exits 5. Waits forever | [
-0.5312288403511047,
0.13775135576725006,
0.4760133922100067,
1.9325283765792847,
0.13858358561992645,
-0.01610742323100567,
0.22960500419139862,
0.9332181811332703,
-0.23748095333576202,
-0.42786359786987305,
-0.5085740089416504,
-0.519599974155426,
-0.9824160933494568,
0.6880119442939758... |
Upsample2D simply upscaling Tensor by scale factor. / 1, 2 3, 4 converts to 1,1,2,2 1,1,2,2 3,3,4,4, 3,3,4,4, | [
-1.0980206727981567,
-0.7071318030357361,
0.850640594959259,
-0.0405396893620491,
-0.5402655005455017,
-0.4786747395992279,
0.23737482726573944,
-0.9353844523429871,
-0.8548285961151123,
0.5672439336776733,
-0.5700294971466064,
-0.059221379458904266,
0.6881036758422852,
-0.1768571436405182... |
NewNetBooter parses a boot entry config and returns a Booter instance, or an error if any | [
0.2556246519088745,
-0.215317964553833,
0.20944958925247192,
1.6720645427703857,
-0.8144559264183044,
-0.325609028339386,
-0.5290603637695312,
-0.8332061171531677,
-0.3519042432308197,
-0.15183822810649872,
-0.2557488679885864,
-1.3279452323913574,
-0.5262418985366821,
1.5729365348815918,
... |
Boot will run the boot procedure. In the case of NetBooter, it will call the `fbnetboot` command | [
-0.24657317996025085,
0.11202819645404816,
0.4496942162513733,
2.245154857635498,
-0.17562296986579895,
0.2352542281150818,
-0.3748469948768616,
-0.4507453143596649,
0.9523991942405701,
-0.7077224850654602,
0.5150346755981445,
0.0998571589589119,
-0.08152975142002106,
1.5291599035263062,
... |
TypeName returns the name of the booter type | [
-0.6765166521072388,
-0.005267524626106024,
0.7021700143814087,
1.3923532962799072,
0.21876640617847443,
-0.5364459753036499,
0.20612041652202606,
-1.1190792322158813,
-0.5154180526733398,
0.27589115500450134,
-0.5162202715873718,
-0.8221722841262817,
-1.2606658935546875,
1.182983756065368... |
Validate checks the field values on StreamAccessLogsResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations. | [
0.9809130430221558,
-0.4903525412082672,
0.27004796266555786,
-0.5872510075569153,
-0.043255534023046494,
-0.5927364826202393,
0.8525924682617188,
-1.0814728736877441,
-0.14110945165157318,
0.901263415813446,
1.0722410678863525,
0.2510105073451996,
-1.0490504503250122,
0.12838873267173767,... |
Field function returns field value. | [
0.33100125193595886,
0.29577893018722534,
-0.06345858424901962,
-0.3825039267539978,
0.25016751885414124,
0.2519412636756897,
0.26578786969184875,
-0.3713754117488861,
-0.544784665107727,
-0.8565637469291687,
-0.2552646994590759,
0.02159406989812851,
0.5772322416305542,
-0.7238466143608093... |
Reason function returns reason value. | [
0.8841832876205444,
0.34229227900505066,
-0.010742401704192162,
0.27820995450019836,
-0.5309323668479919,
-0.6235560178756714,
0.2893587350845337,
-0.7213923931121826,
0.8952884674072266,
-0.8150588870048523,
0.31903284788131714,
1.7003884315490723,
-0.20805808901786804,
-0.151180416345596... |
Cause function returns cause value. | [
0.8835529088973999,
-0.6200166940689087,
0.07661707699298859,
0.6952545046806335,
-0.3498709201812744,
-0.9125795364379883,
0.28894826769828796,
-0.14033524692058563,
-0.1654733419418335,
-0.7764858603477478,
0.8620729446411133,
0.9569346308708191,
-0.1501324623823166,
-0.2259129136800766,... |
Key function returns key value. | [
-0.27527105808258057,
-0.029989592730998993,
0.07735767960548401,
0.5825873613357544,
-0.07275958359241486,
-0.24944967031478882,
-0.18950405716896057,
-0.3890359401702881,
-1.1918399333953857,
0.37702545523643494,
0.22294971346855164,
0.14719311892986298,
-0.046689897775650024,
-0.5757056... |
Validate checks the field values on StreamAccessLogsMessage with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations. | [
0.768096923828125,
0.23094215989112854,
0.4277990460395813,
-0.5171107649803162,
0.3499775528907776,
-0.43464019894599915,
0.3247295320034027,
-1.1136399507522583,
-0.49529483914375305,
0.1763133555650711,
1.374821424484253,
1.3046607971191406,
-0.9513118267059326,
0.7417664527893066,
-0... |
Field function returns field value. | [
0.33100125193595886,
0.29577893018722534,
-0.06345858424901962,
-0.3825039267539978,
0.25016751885414124,
0.2519412636756897,
0.26578786969184875,
-0.3713754117488861,
-0.544784665107727,
-0.8565637469291687,
-0.2552646994590759,
0.02159406989812851,
0.5772322416305542,
-0.7238466143608093... |
Reason function returns reason value. | [
0.8841832876205444,
0.34229227900505066,
-0.010742401704192162,
0.27820995450019836,
-0.5309323668479919,
-0.6235560178756714,
0.2893587350845337,
-0.7213923931121826,
0.8952884674072266,
-0.8150588870048523,
0.31903284788131714,
1.7003884315490723,
-0.20805808901786804,
-0.151180416345596... |
Cause function returns cause value. | [
0.8835529088973999,
-0.6200166940689087,
0.07661707699298859,
0.6952545046806335,
-0.3498709201812744,
-0.9125795364379883,
0.28894826769828796,
-0.14033524692058563,
-0.1654733419418335,
-0.7764858603477478,
0.8620729446411133,
0.9569346308708191,
-0.1501324623823166,
-0.2259129136800766,... |
Key function returns key value. | [
-0.27527105808258057,
-0.029989592730998993,
0.07735767960548401,
0.5825873613357544,
-0.07275958359241486,
-0.24944967031478882,
-0.18950405716896057,
-0.3890359401702881,
-1.1918399333953857,
0.37702545523643494,
0.22294971346855164,
0.14719311892986298,
-0.046689897775650024,
-0.5757056... |
Validate checks the field values on StreamAccessLogsMessage_Identifier with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations. | [
0.9946240782737732,
-0.02091880515217781,
0.3555910885334015,
-0.7547308802604675,
-0.28009822964668274,
0.16240812838077545,
0.6975405812263489,
-0.28276824951171875,
-0.14216645061969757,
0.35454416275024414,
0.8647730946540833,
1.043277382850647,
-0.8933325409889221,
0.9508815407752991,... |
Field function returns field value. | [
0.33100125193595886,
0.29577893018722534,
-0.06345858424901962,
-0.3825039267539978,
0.25016751885414124,
0.2519412636756897,
0.26578786969184875,
-0.3713754117488861,
-0.544784665107727,
-0.8565637469291687,
-0.2552646994590759,
0.02159406989812851,
0.5772322416305542,
-0.7238466143608093... |
Reason function returns reason value. | [
0.8841832876205444,
0.34229227900505066,
-0.010742401704192162,
0.27820995450019836,
-0.5309323668479919,
-0.6235560178756714,
0.2893587350845337,
-0.7213923931121826,
0.8952884674072266,
-0.8150588870048523,
0.31903284788131714,
1.7003884315490723,
-0.20805808901786804,
-0.151180416345596... |
Cause function returns cause value. | [
0.8835529088973999,
-0.6200166940689087,
0.07661707699298859,
0.6952545046806335,
-0.3498709201812744,
-0.9125795364379883,
0.28894826769828796,
-0.14033524692058563,
-0.1654733419418335,
-0.7764858603477478,
0.8620729446411133,
0.9569346308708191,
-0.1501324623823166,
-0.2259129136800766,... |
Key function returns key value. | [
-0.27527105808258057,
-0.029989592730998993,
0.07735767960548401,
0.5825873613357544,
-0.07275958359241486,
-0.24944967031478882,
-0.18950405716896057,
-0.3890359401702881,
-1.1918399333953857,
0.37702545523643494,
0.22294971346855164,
0.14719311892986298,
-0.046689897775650024,
-0.5757056... |
Validate checks the field values on StreamAccessLogsMessage_HTTPAccessLogEntries with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations. | [
1.3879650831222534,
0.5835530161857605,
0.4810115694999695,
-0.28042101860046387,
-0.17776139080524445,
-0.030587542802095413,
0.5965836644172668,
-0.7042052745819092,
-0.8022143840789795,
0.8086351752281189,
1.2334555387496948,
1.5041922330856323,
-1.0317357778549194,
1.0045888423919678,
... |
Field function returns field value. | [
0.33100125193595886,
0.29577893018722534,
-0.06345858424901962,
-0.3825039267539978,
0.25016751885414124,
0.2519412636756897,
0.26578786969184875,
-0.3713754117488861,
-0.544784665107727,
-0.8565637469291687,
-0.2552646994590759,
0.02159406989812851,
0.5772322416305542,
-0.7238466143608093... |
Reason function returns reason value. | [
0.8841832876205444,
0.34229227900505066,
-0.010742401704192162,
0.27820995450019836,
-0.5309323668479919,
-0.6235560178756714,
0.2893587350845337,
-0.7213923931121826,
0.8952884674072266,
-0.8150588870048523,
0.31903284788131714,
1.7003884315490723,
-0.20805808901786804,
-0.151180416345596... |
Cause function returns cause value. | [
0.8835529088973999,
-0.6200166940689087,
0.07661707699298859,
0.6952545046806335,
-0.3498709201812744,
-0.9125795364379883,
0.28894826769828796,
-0.14033524692058563,
-0.1654733419418335,
-0.7764858603477478,
0.8620729446411133,
0.9569346308708191,
-0.1501324623823166,
-0.2259129136800766,... |
Key function returns key value. | [
-0.27527105808258057,
-0.029989592730998993,
0.07735767960548401,
0.5825873613357544,
-0.07275958359241486,
-0.24944967031478882,
-0.18950405716896057,
-0.3890359401702881,
-1.1918399333953857,
0.37702545523643494,
0.22294971346855164,
0.14719311892986298,
-0.046689897775650024,
-0.5757056... |
Validate checks the field values on StreamAccessLogsMessage_TCPAccessLogEntries with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations. | [
1.577384114265442,
0.9161885380744934,
0.26403647661209106,
-0.5332056283950806,
-0.19702211022377014,
0.15418404340744019,
0.3623238205909729,
-0.5289053320884705,
-0.83949875831604,
1.173016905784607,
1.38652503490448,
0.29472801089286804,
-0.8200532793998718,
0.908488392829895,
-0.708... |
Field function returns field value. | [
0.33100125193595886,
0.29577893018722534,
-0.06345858424901962,
-0.3825039267539978,
0.25016751885414124,
0.2519412636756897,
0.26578786969184875,
-0.3713754117488861,
-0.544784665107727,
-0.8565637469291687,
-0.2552646994590759,
0.02159406989812851,
0.5772322416305542,
-0.7238466143608093... |
Reason function returns reason value. | [
0.8841832876205444,
0.34229227900505066,
-0.010742401704192162,
0.27820995450019836,
-0.5309323668479919,
-0.6235560178756714,
0.2893587350845337,
-0.7213923931121826,
0.8952884674072266,
-0.8150588870048523,
0.31903284788131714,
1.7003884315490723,
-0.20805808901786804,
-0.151180416345596... |
Cause function returns cause value. | [
0.8835529088973999,
-0.6200166940689087,
0.07661707699298859,
0.6952545046806335,
-0.3498709201812744,
-0.9125795364379883,
0.28894826769828796,
-0.14033524692058563,
-0.1654733419418335,
-0.7764858603477478,
0.8620729446411133,
0.9569346308708191,
-0.1501324623823166,
-0.2259129136800766,... |
Key function returns key value. | [
-0.27527105808258057,
-0.029989592730998993,
0.07735767960548401,
0.5825873613357544,
-0.07275958359241486,
-0.24944967031478882,
-0.18950405716896057,
-0.3890359401702881,
-1.1918399333953857,
0.37702545523643494,
0.22294971346855164,
0.14719311892986298,
-0.046689897775650024,
-0.5757056... |
TestDeltaCreate creates a delta and checks if it exists | [
0.2842293381690979,
-0.15577822923660278,
0.5055636167526245,
0.7854377031326294,
1.1567164659500122,
2.006876230239868,
0.04028959572315216,
-0.44707438349723816,
0.1565786451101303,
-1.611962914466858,
-0.5204558968544006,
-1.3950724601745605,
0.11195734888315201,
-0.2938840389251709,
... |
TestDeltaCreateDestinationLock triggers a delta generation job, waits for it to start and removes the destination image. Until 1e83de47e32ac0caf3b4e02094aeb76da28b90b3 this would remove unprocessed destination layers and break delta generation. | [
0.06821533292531967,
0.44476479291915894,
0.601326584815979,
0.18570081889629364,
0.2576036751270294,
0.7301378846168518,
1.1950318813323975,
-0.026065053418278694,
-0.6567872166633606,
-1.2018277645111084,
-0.29756441712379456,
-0.5513347387313843,
0.4895428419113159,
-0.07977799326181412... |
TestDeltaSize checks if the sizes of generated deltas have not increased. In other words, this test is designed to catch regressions in the delta sizes. The expected sizes (wantSize) were defined empirically so that they match the values we were getting by the time the case was created. This test logs the expected and ... | [
0.0235555749386549,
0.8354655504226685,
0.6369113922119141,
-0.4111412465572357,
0.6505596041679382,
0.9889252781867981,
0.8998565673828125,
-0.4828111529350281,
0.17373953759670258,
-1.100624442100525,
-0.21477562189102173,
0.5962344408035278,
-0.10069587826728821,
0.3048289716243744,
0... |
TestDeltaCorrectness checks if applying a delta on a base image results in an image with the same contents as the original target image. | [
-0.12125768512487411,
-1.2196173667907715,
0.5445857644081116,
0.2888871729373932,
0.398019403219223,
1.2079977989196777,
0.6289406418800354,
0.13431060314178467,
0.5721883177757263,
-0.8628101348876953,
0.562362015247345,
0.08042801916599274,
0.3243043124675751,
-0.023033423349261284,
-... |
TestPullUsingDeltaStore checks if balenaEngine's alternative delta root feature is working as expected. | [
0.7153043746948242,
0.5842131972312927,
0.15167032182216644,
-0.14094451069831848,
-0.201777383685112,
0.9174034595489502,
-0.15746350586414337,
0.5474402904510498,
0.8776758909225464,
-0.43564271926879883,
-0.34890326857566833,
0.47740718722343445,
0.6551716327667236,
0.052374593913555145... |
Temporary Test Registry (TTR) helper functions With regards to image names: all these functions expect plain image names (like "002"), but under the hood they'll add the temporary test registry name to the images ("127.0.0.1:5000/002"). In other words, this is about image tagging. Most of these functions will work even... | [
-0.2729320228099823,
-0.42810767889022827,
0.3186418414115906,
-0.9614675045013428,
-0.29340121150016785,
0.11324698477983475,
0.542540967464447,
0.2006126344203949,
0.5808308720588684,
0.007536362390965223,
-0.03541933745145798,
-0.4942527115345001,
-0.17379967868328094,
0.268302798271179... |
ttrRemoveImageAsserting removes a given image. Asserts that the operation succeeded. | [
-1.1860603094100952,
0.2792162299156189,
0.22007104754447937,
-0.7086803317070007,
-0.06419684737920761,
-0.054332539439201355,
0.5681795477867126,
0.8667030334472656,
-0.06909321248531342,
0.5196932554244995,
0.7259953022003174,
-0.9391142129898071,
-0.6783949732780457,
-0.458068162202835... |
ttrCreateDeltaAsserting creates a delta between base and target, and tags the delta as deltaName(base, target). Returns a function that, when called, removes the created delta. | [
-0.1426844596862793,
-1.2338989973068237,
0.5892356038093567,
-0.8643115758895874,
-0.3694296181201935,
0.4814907908439636,
0.005270284600555897,
-0.405549019575119,
-0.16347885131835938,
-0.40724706649780273,
0.20077988505363464,
-0.5976292490959167,
0.1755596399307251,
-0.909036159515380... |
ttrPushImageAsserting pushes a given image to the temporary test registry. It asserts that the operation succeeded. | [
-0.5215325355529785,
0.6981600522994995,
0.25206202268600464,
-0.780896782875061,
0.45860132575035095,
0.8547338247299194,
0.5904182195663452,
0.1797809898853302,
0.008925141766667366,
0.9579805135726929,
0.2113388627767563,
-0.13074800372123718,
-0.6648603677749634,
0.2788061797618866,
... |
ttrPullImage pulls a given image from the temporary test registry. The image parameter must not include the registry name. Unlike the typical ttr() function, this one returns an error instead of doing the asserts internally. | [
-0.4316652715206146,
0.7454821467399597,
0.27464884519577026,
-1.3129372596740723,
-0.41877880692481995,
-0.05463689565658569,
-0.05491873621940613,
-0.23741678893566132,
0.957358181476593,
1.1402671337127686,
0.43004152178764343,
-0.21380411088466644,
-0.5239920020103455,
0.73796367645263... |
ttrPullImageAsserting pulls a given image from the temporary test registry. The image parameter must not include the registry name. Asserts that the operation succeeded. | [
-0.5989956855773926,
0.5308242440223694,
0.14146022498607635,
-1.2427475452423096,
-0.12438265979290009,
0.6124697923660278,
0.3669322431087494,
0.0014606136828660965,
0.5703125,
0.49382829666137695,
0.3469505310058594,
0.017628148198127747,
-0.8395536541938782,
0.3660493493080139,
0.101... |
ttrQueryDeltaSizeAsserting returns the size in bytes of a delta image. Asserts that the operation succeeded. | [
-0.39489808678627014,
0.0017508220626041293,
0.4765233099460602,
-0.7955276370048523,
-0.562160313129425,
0.8238624334335327,
0.4249110221862793,
-0.5673503875732422,
0.7642150521278381,
-0.172295942902565,
0.666335940361023,
-0.4078931212425232,
-0.37183910608291626,
0.24001601338386536,
... |
ttrImageName returns the image name including the test registry. | [
-0.6923385262489319,
0.10018333792686462,
0.17724096775054932,
-0.8430485725402832,
-0.31381648778915405,
0.3427596092224121,
-0.12243279814720154,
0.2579219341278076,
0.3329463601112366,
1.7699613571166992,
0.20692601799964905,
-0.13674473762512207,
0.3267715275287628,
0.5898621678352356,... |
ttrHashImageAsserting computes a hash based on the contents of a given image. Asserts that the operation succeeded. | [
0.2105618566274643,
0.32981857657432556,
0.2607986032962799,
-0.30574944615364075,
0.39482465386390686,
0.39905837178230286,
0.15267039835453033,
0.2873692214488983,
-0.4199918210506439,
0.06695111095905304,
0.7554757595062256,
-0.6616470217704773,
0.3921588957309723,
-0.11746345460414886,... |
Other helper functions deltaName returns the name we'll use in the tests for a delta from base to target. | [
-0.13973253965377808,
-1.1734552383422852,
0.7851884365081787,
-0.9903192520141602,
-0.24847793579101562,
0.7361829280853271,
0.13641640543937683,
-0.01915822923183441,
0.003292004344984889,
-0.18775451183319092,
0.5505017042160034,
0.5166751146316528,
0.4649260938167572,
-0.51507985591888... |
readAllAndClose reads everything from r, closes it, and returns whatever was read as a string. | [
0.14617767930030823,
-1.845887541770935,
0.6617929339408875,
-0.06951005756855011,
-1.3128249645233154,
0.44150596857070923,
-0.8341206312179565,
-1.154764175415039,
-0.203901469707489,
-0.23164403438568115,
1.4992984533309937,
-0.8939310908317566,
-0.27887824177742004,
0.24706967175006866... |
sliceContains checks if the haystack slice contains the needle string. | [
0.7746355533599854,
-0.4901794493198395,
0.17595705389976501,
0.08769024163484573,
0.05765624716877937,
-0.4539801776409149,
-0.3243167996406555,
-0.31161344051361084,
-0.2220667004585266,
0.5830342769622803,
-0.01676185056567192,
0.28528645634651184,
0.5192967653274536,
-0.276634097099304... |
Wait for the response to a request. On success, decodes the response into x. Returns error if e.err is set or if decoding fails. Caller must have the lock (e.mu). | [
-0.5703009963035583,
0.1848737597465515,
0.45153331756591797,
0.40884244441986084,
-0.34695687890052795,
-0.24051976203918457,
-0.44355151057243347,
-0.8781235814094543,
0.8081512451171875,
-1.332963466644287,
-0.16751274466514587,
-0.37496334314346313,
-0.11803346872329712,
-1.36672270298... |
Prepare a new packet with a fresh request ID. Caller must have the lock. | [
-0.659825325012207,
0.1766062080860138,
0.295773983001709,
0.9756084680557251,
-0.6938745975494385,
-0.6073235869407654,
-0.5976994633674622,
-1.4950841665267944,
0.9734379649162292,
-0.8730899095535278,
-0.5591791868209839,
0.6264185905456543,
-0.27577275037765503,
-0.30686861276626587,
... |
Make a request with the given request/response objects. | [
-0.9276024699211121,
-1.1745864152908325,
0.3116489052772522,
0.6922077536582947,
0.42092442512512207,
0.25684690475463867,
-0.9038752317428589,
-1.1219288110733032,
0.761542797088623,
-0.8253363370895386,
0.23177871108055115,
0.04531631991267204,
0.6723790764808655,
-1.0625438690185547,
... |
Close the e.cmd if set. Caller must have the lock. | [
0.2625091075897217,
0.18666720390319824,
0.4269646406173706,
1.1083065271377563,
0.9531264305114746,
1.1456141471862793,
0.8339353799819946,
-0.7194492816925049,
0.3368183970451355,
-0.823035478591919,
1.2715647220611572,
0.05515288561582565,
-0.606275200843811,
1.526015043258667,
0.6936... |
CreateClientset creates a new Clientset for the given kubeconfig. | [
0.7289960980415344,
-0.29915666580200195,
-0.034313853830099106,
-0.20712077617645264,
0.0031596687622368336,
-0.18451224267482758,
-0.3560834527015686,
-1.4667366743087769,
-1.1388593912124634,
0.4540378749370575,
0.3842955529689789,
0.31252431869506836,
-1.1730715036392212,
-0.0514953732... |
createTestNamespace creates a namespace for test. Returns name of the namespace on success, and error if there is any. | [
0.2019493728876114,
-0.3991752862930298,
0.45605993270874023,
-0.0612366646528244,
-0.22695769369602203,
-0.4047570824623108,
0.6042581796646118,
-1.064632773399353,
1.3178184032440186,
-0.14861010015010834,
-0.45210543274879456,
-0.6260960698127747,
-1.3960365056991577,
0.0748960822820663... |
deleteTestNamespace deletes a namespace for test. | [
0.8748862743377686,
-0.4653477072715759,
0.1116192415356636,
-0.10967782884836197,
0.4576605558395386,
-0.6612430810928345,
0.1823348104953766,
-0.8965345025062561,
1.8429981470108032,
-0.5502238273620605,
-0.42865443229675293,
0.3062497079372406,
-0.7104063630104065,
0.5323936343193054,
... |
createService creates a service object and returns a pointer pointing to this object on success. | [
-0.2612619996070862,
-0.9062077403068542,
0.34194329380989075,
-0.08240524679422379,
-0.23575416207313538,
0.04593343287706375,
-0.055744435638189316,
-1.9144985675811768,
0.41309311985969543,
-1.356649398803711,
-0.2343420684337616,
-0.14418232440948486,
-1.369493842124939,
0.056354511529... |
deleteService deletes a service. | [
0.016916148364543915,
0.1823001205921173,
-0.09269090741872787,
0.705051839351654,
0.7668207287788391,
-0.6812589168548584,
-0.46225306391716003,
-0.7256662249565125,
0.3057671785354614,
-0.6162925362586975,
0.3583093583583832,
0.5220988392829895,
-0.8934696912765503,
0.839469313621521,
... |
createPod creates a pod object and returns a pointer pointing to this object on success. | [
-0.13764344155788422,
-0.46882185339927673,
0.4869978427886963,
-0.2811974883079529,
-0.09181869029998779,
0.14397616684436798,
0.4608495533466339,
-1.429987907409668,
0.7417924404144287,
-0.5189017057418823,
0.21866163611412048,
-0.8910704255104065,
-0.8954293727874756,
-1.140952825546264... |
deletePod deletes a pod. | [
0.10484562814235687,
0.905549168586731,
0.13768115639686584,
0.4810260236263275,
0.6752196550369263,
-0.42432114481925964,
0.38988548517227173,
0.23367638885974884,
0.5935137867927551,
-0.1363098919391632,
0.48665115237236023,
0.08678010106086731,
-0.1774088442325592,
-0.9367995858192444,
... |
createIstioCARole creates a role object named "istiocarole". | [
0.13969466090202332,
-0.16651009023189545,
0.34160932898521423,
0.23169197142124176,
1.2310935258865356,
0.2065315842628479,
0.44914498925209045,
-1.1090543270111084,
-0.8414379358291626,
0.006635019090026617,
-0.4370930790901184,
-0.6256163716316223,
-0.1774941235780716,
-1.33895945549011... |
createIstioCARoleBinding binds role "istiocarole" to default service account. | [
0.04439287260174751,
0.5402688384056091,
0.037392180413007736,
1.1022554636001587,
1.0897314548492432,
0.5119444727897644,
0.4203130900859833,
-1.0238364934921265,
-0.06730598956346512,
-0.02789231948554516,
0.12139077484607697,
-0.16945821046829224,
-0.28249403834342957,
-0.86580532789230... |
WaitForSecretExist takes name of a secret and watches the secret. Returns the requested secret if it exists, or error on timeouts. | [
0.4750449061393738,
-0.4839071035385132,
0.4566808342933655,
0.48702165484428406,
0.5199540853500366,
-0.3106923997402191,
-0.9084296226501465,
-1.4150744676589966,
-0.23991310596466064,
0.6846550703048706,
-0.8758572936058044,
-0.11380739510059357,
-0.19916462898254395,
-0.008070138283073... |
ExamineSecret examines the content of an Istio secret to make sure that Secret type is correctly set; Key, certificate and CA root are correctly saved in the data section; | [
-0.04836374893784523,
0.28859418630599976,
0.3226790726184845,
0.9412673711776733,
0.8858314752578735,
0.4830894470214844,
0.15141579508781433,
-0.8899825215339661,
-0.3164873421192169,
-0.5853742957115173,
-0.5180234909057617,
0.13720664381980896,
-0.24227306246757507,
0.49589070677757263... |
DeleteSecret deletes a secret. | [
1.285187840461731,
0.47639453411102295,
0.08002576977014542,
0.4205094277858734,
0.22301916778087616,
-1.3397449254989624,
-0.6922141909599304,
-0.5059650540351868,
0.05888398736715317,
-0.6720759272575378,
-1.315430998802185,
0.3873136043548584,
0.06507598608732224,
0.10802658647298813,
... |
NewQuerier creates a DBQuerier that implements Querier. conn is typically pgx.Conn, pgx.Tx, or pgxpool.Pool. | [
-0.12328074127435684,
-0.7146920561790466,
0.3218177258968353,
0.3555435836315155,
-0.28011471033096313,
0.008790813386440277,
-1.0991239547729492,
0.10268501937389374,
-0.5808193683624268,
-0.982118546962738,
-0.47902029752731323,
0.350309818983078,
-0.31467869877815247,
0.518549203872680... |
WithTx creates a new DBQuerier that uses the transaction to run all queries. | [
0.16277264058589935,
0.13675865530967712,
0.3292338252067566,
-0.719842255115509,
-0.06529700011014938,
-0.21146249771118164,
-1.102595567703247,
-0.8720415830612183,
0.17054425179958344,
-0.9373778104782104,
-0.3253594636917114,
-0.1746261715888977,
0.23761887848377228,
0.5586249828338623... |
PrepareAllQueries executes a PREPARE statement for all pggen generated SQL queries in querier files. Typical usage is as the AfterConnect callback for pgxpool.Config pgx will use the prepared statement if available. Calling PrepareAllQueries is an optional optimization to avoid a network roundtrip the first time pgx ru... | [
0.0880056843161583,
-0.2825411558151245,
0.5447095036506653,
0.33682823181152344,
-0.5145494937896729,
0.28301307559013367,
-0.7323347926139832,
-0.6240533590316772,
-0.3319763243198395,
-0.4053855240345001,
-0.24906447529792786,
-0.6496773958206177,
0.2016853392124176,
0.8583486080169678,... |
Author: gageshan Date: 2020/9/26 Time: 10:56 | [
0.35428351163864136,
-0.6482614278793335,
0.756921648979187,
0.5565503239631653,
1.1023026704788208,
-0.13824322819709778,
0.7048475742340088,
-0.5436961650848389,
-0.25697264075279236,
0.03210224211215973,
-0.9458452463150024,
0.7189251184463501,
-0.8144219517707825,
0.23240672051906586,
... |
RedirectHTTP is an HTTP handler (suitable for use with http.HandleFunc) that responds to all requests by redirecting to the same URL served over HTTPS. It should only be invoked for requests received over HTTP. | [
0.18868538737297058,
-0.10392589867115021,
0.5146835446357727,
0.5090847015380859,
-0.4399801194667816,
1.5205694437026978,
0.34146931767463684,
-0.8735441565513611,
0.06204034760594368,
0.01926290988922119,
-0.2865028977394104,
0.19522631168365479,
0.8278011083602905,
-0.8381317853927612,... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.