text stringlengths 7 2.39k | embedding listlengths 768 768 |
|---|---|
New creates a new alloc with the given meta. new collects expired allocs as needed to make room for the resource requirements as indicated by meta. | [
0.08735713362693787,
-0.3883383870124817,
0.43613100051879883,
0.845932126045227,
-0.9008495211601257,
0.3331539034843445,
0.6876418590545654,
-0.27056121826171875,
-0.022029822692275047,
0.8296748399734497,
1.2304635047912598,
0.0045958696864545345,
0.9203546047210693,
-0.1793516278266906... |
Free frees alloc a from this ResourcePool and invokes `AllocManager.Kill` on it. | [
0.33667364716529846,
-0.8474037051200867,
0.5834359526634216,
-0.08877148479223251,
-0.5679008364677429,
0.25216421484947205,
0.8162856698036194,
-1.51852285861969,
0.8421456813812256,
0.07086586207151413,
0.29710325598716736,
0.3301628828048706,
0.11888522654771805,
0.1883135735988617,
... |
doFree frees alloc a from this ResourcePool and invokes `AllocManager.Kill` on it. This must be call only if the lock `p.mu` is held. | [
0.3579160273075104,
-0.3875815272331238,
0.6636217832565308,
-0.036928314715623856,
-0.010754372924566269,
0.3883705139160156,
0.9418097138404846,
-1.3632495403289795,
0.631149411201477,
0.4206978976726532,
0.5432187914848328,
0.7028928399085999,
-0.13538095355033875,
0.285549134016037,
... |
Alive tells whether an alloc's lease is current. | [
0.48166990280151367,
-1.731337308883667,
0.8079363107681274,
-0.020396005362272263,
-0.33154210448265076,
0.8881291747093201,
-1.2712644338607788,
0.4653007984161377,
0.25797751545906067,
1.3837528228759766,
-0.14439082145690918,
-0.7539591789245605,
-0.0070387027226388454,
-0.997162997722... |
ID returns the ID of the resource pool. | [
0.8586471676826477,
-0.63304603099823,
0.14625638723373413,
-0.2891513407230377,
0.7348899245262146,
1.54336416721344,
0.7397263646125793,
-0.6443566083908081,
1.430533766746521,
-0.29650208353996277,
-0.20201142132282257,
0.26900726556777954,
-0.715600311756134,
-0.0992511734366417,
-1.... |
Offer looks up the an offer by ID. | [
-0.3874206840991974,
0.08785270899534225,
0.02610722929239273,
-0.3494953215122223,
-0.45893192291259766,
-0.4603135883808136,
-0.6072072982788086,
0.2675887644290924,
0.15659742057323456,
0.08963300287723541,
1.2740110158920288,
0.46495935320854187,
-0.05848994478583336,
-0.40251481533050... |
Offers enumerates all the current offers of this ResourcePool. It always returns either no offers, when there are no more available resources, or 1 offer comprising the entirety of available resources. | [
-1.0493335723876953,
-0.751215398311615,
0.63249272108078,
-0.2347591072320938,
-0.10308569669723511,
0.2443309873342514,
0.3093873858451843,
-0.3278529942035675,
0.1263405978679657,
-0.23925058543682098,
1.208066463470459,
0.6411451101303101,
-0.6459800601005554,
-0.05613091215491295,
-... |
Alloc looks up an alloc by ID. | [
0.20639415085315704,
-0.0933624878525734,
0.12646637856960297,
-0.6293078660964966,
-0.5515297055244446,
-0.19004464149475098,
-0.0074834199622273445,
-0.3811187744140625,
0.8694025278091431,
0.11650040000677109,
1.0828865766525269,
0.26836010813713074,
1.0427740812301636,
-1.0080567598342... |
Allocs lists all the active allocs in this resource pool. | [
0.11141877621412277,
-0.9868053793907166,
0.5418097376823425,
0.5455355644226074,
-0.2121039479970932,
0.43984007835388184,
0.7824109196662903,
-0.9025967121124268,
1.2003118991851807,
0.08104057610034943,
0.8696439266204834,
0.3181101679801941,
-0.007166628260165453,
-0.4553338587284088,
... |
StopIfIdle stops the pool if it is idle. Returns whether the pool was stopped. If the pool was not stopped (ie, it was not idle), returns the current max duration to expiry of all allocs in the resource pool. Note that further alloc keepalive calls can make the pool unstoppable after the given duration passes. | [
-1.387282371520996,
-0.0024964935146272182,
0.7024559378623962,
-0.15248729288578033,
0.1354660540819168,
0.7651410698890686,
-0.43625015020370483,
-0.6435369253158569,
0.5470683574676514,
0.5769158601760864,
-0.7797561287879944,
-0.3952644467353821,
-0.5528454780578613,
-0.648664653301239... |
newID generates a random hex string. | [
-0.14934587478637695,
-0.9649863839149475,
0.03431221470236778,
-0.8043863773345947,
-0.4151741862297058,
1.2527931928634644,
-1.3194375038146973,
0.39217621088027954,
1.003032922744751,
-0.5054057240486145,
-0.12050322443246841,
-0.3331626355648041,
-0.23518088459968567,
0.258795201778411... |
SetField uses reflection to set a field on the model if the model has a property SetFieldNames, and triggers custom JSON serialization logic to only serialize properties that have been set using this function. | [
-1.1373413801193237,
0.16868701577186584,
0.3723982870578766,
-0.987377941608429,
-0.33688807487487793,
-0.2847083806991577,
0.1489134281873703,
-0.4816010892391205,
-0.5503409504890442,
-0.11313054710626602,
-1.11302649974823,
0.03229274973273277,
0.401873916387558,
0.11344326287508011,
... |
String returns a JSON representation of the model | [
-1.5530626773834229,
-2.4089605808258057,
0.3770749568939209,
-0.9596893787384033,
-1.035468578338623,
0.4436759054660797,
-0.4034327566623688,
-1.026373267173767,
0.007697850465774536,
0.7556281685829163,
-1.0539326667785645,
-0.14815498888492584,
0.29758384823799133,
-0.5649598240852356,... |
getContext provides the appengine context that all of the appengine services rely on. Notice the build tag that only includes this version if we're running on appengine. The standalone version is in standalong.go | [
1.170560598373413,
-0.1441911906003952,
0.27174755930900574,
1.1875157356262207,
-0.0557347871363163,
0.6316128969192505,
-0.5796652436256409,
0.38446667790412903,
0.30719417333602905,
-0.06999068707227707,
0.14984466135501862,
-0.08750748634338379,
-0.15125468373298645,
0.4615532159805298... |
NewSMSService creates new instance of sms service using given provider | [
-0.10952053219079971,
0.2660965323448181,
0.010803010314702988,
0.3258126378059387,
0.21965928375720978,
0.273989200592041,
-0.8875719308853149,
-0.8916275501251221,
0.5818281173706055,
0.36961495876312256,
-0.9996568560600281,
0.2440909743309021,
-0.6791946291923523,
1.1465480327606201,
... |
Sort return list of nodes in descending order. | [
-0.43668562173843384,
-0.04448890686035156,
0.6578919291496277,
0.04514123499393463,
0.24984179437160492,
-0.3961929380893707,
-0.5853584408760071,
-0.32182785868644714,
-0.4162657856941223,
-0.21801885962486267,
-0.4046570360660553,
0.2284717559814453,
-0.017855532467365265,
0.42062097787... |
Less return true if node with index i is less than node with index j. | [
0.22742028534412384,
-0.09974494576454163,
0.08501153439283371,
-0.19626301527023315,
-0.4356468915939331,
-0.5565263032913208,
0.5278807878494263,
-1.574831247329712,
-0.553862452507019,
-0.245724618434906,
-0.9224272966384888,
-0.3127692937850952,
-1.016357183456421,
-0.05242223292589187... |
Swap is swapping the nodes in the list. | [
-2.112985372543335,
0.5965675711631775,
0.18748050928115845,
0.5375825762748718,
0.3235567510128021,
-0.3581712245941162,
-0.3538132607936859,
1.0676430463790894,
0.4977923035621643,
-0.39995744824409485,
-0.7775490880012512,
0.9364848136901855,
-0.049606241285800934,
0.613841712474823,
... |
Len return the length of node's list. | [
-0.2075040340423584,
0.4518473148345947,
-0.06674326956272125,
-1.0838208198547363,
0.8017789721488953,
-0.2665975093841553,
0.006018650718033314,
1.4764142036437988,
0.6622397899627686,
-0.13680827617645264,
-1.8858944177627563,
0.3611762225627899,
0.7423589825630188,
0.22446143627166748,... |
DecodeVarint decodes a variable length int | [
0.8547685742378235,
-0.8315224051475525,
0.17721787095069885,
-1.397674798965454,
-0.9564234614372253,
-0.3130257725715637,
-0.06455691158771515,
-0.9675827026367188,
0.3909479081630707,
-0.7619368433952332,
-0.9229850769042969,
0.3704984486103058,
0.12405487149953842,
-0.3273563086986542,... |
EncodeVarint encodes a variable length int | [
1.0269347429275513,
-0.5426918864250183,
0.054213996976614,
-0.4278089702129364,
-0.3313640058040619,
0.3023258447647095,
-0.6623627543449402,
-1.0297071933746338,
0.8234571814537048,
-0.051681071519851685,
-1.7704956531524658,
0.41990432143211365,
-0.9503922462463379,
0.13408878445625305,... |
ReadConfigFromFile reads program configuration from a configuration file | [
0.32335343956947327,
-0.35134372115135193,
0.38240158557891846,
0.9767627716064453,
-0.7418457269668579,
1.19302237033844,
0.8788154125213623,
0.6610777974128723,
-1.8838815689086914,
0.8155874609947205,
0.06730764359235764,
-0.4412049651145935,
0.004248180892318487,
-0.3054758906364441,
... |
Decrypt returns the AESCBC decryption of a ciphertext under a given key. | [
1.0375546216964722,
1.4116909503936768,
0.1572701781988144,
0.122857965528965,
-0.8810221552848816,
-0.4254452884197235,
-0.497155100107193,
-0.3435802757740021,
0.37699267268180847,
0.46867963671684265,
-0.0859215259552002,
-0.2038995772600174,
-0.4429520070552826,
-0.6997546553611755,
... |
Encrypt returns the AESCBC encryption of a plaintext under a given key. | [
0.8730010986328125,
1.571860432624817,
0.09381566941738129,
0.18236728012561798,
-0.5293875932693481,
-0.01587214693427086,
-0.8448672890663147,
-0.7108588218688965,
0.1281711906194687,
0.7350810766220093,
-0.20205888152122498,
-0.08362632244825363,
-0.7048742175102234,
-0.5685045123100281... |
ValidTruncMAC checks whether a message is correctly authenticated using HMACSHA256. | [
0.08927275985479355,
-0.16565130650997162,
0.28721538186073303,
-0.6770482659339905,
0.139906644821167,
-1.0072730779647827,
0.7884142994880676,
-0.250039279460907,
0.16174954175949097,
0.06041065976023674,
-0.4283979833126068,
0.6561126708984375,
-0.881443977355957,
-0.405815452337265,
... |
ComputeTruncatedMAC computes a HMACSHA256 MAC and returns its prefix of a given size. | [
0.5184534192085266,
0.4278533458709717,
0.4087814390659332,
-0.7674822211265564,
-0.1767285019159317,
-1.057252287864685,
0.4938809871673584,
-0.24474206566810608,
1.056795597076416,
0.4604220688343048,
-0.16539961099624634,
0.8325814008712769,
-0.238422691822052,
-0.23264051973819733,
0... |
NewRepository registers a new resource with the given unique name, arguments, and options. | [
-0.15587802231311798,
0.047132279723882675,
0.2945021688938141,
0.07607755064964294,
0.304824560880661,
-0.6825224161148071,
0.3349863290786743,
0.8540058135986328,
0.04753102362155914,
0.006445679347962141,
-0.8215117454528809,
-0.4406909942626953,
-0.09016598761081696,
0.2521576881408691... |
GetRepository gets an existing Repository resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required). | [
-0.2018347829580307,
-0.3526563346385956,
0.295678049325943,
-0.06384934484958649,
0.14986862242221832,
-1.3549871444702148,
-1.0271949768066406,
0.25954604148864746,
0.4670218229293823,
-0.2897574007511139,
-0.09777282923460007,
0.1774710863828659,
0.3501358926296234,
-1.0306925773620605,... |
Set set config and decode. | [
-0.8472465872764587,
-0.4477764666080475,
-0.04405644163489342,
-0.5960022807121277,
-0.627141535282135,
-0.6431694626808167,
-0.5147741436958313,
0.3542424440383911,
0.27872228622436523,
0.1455884724855423,
-1.5074462890625,
0.2789415419101715,
0.5222449898719788,
0.37339112162590027,
0... |
Teardown is to clean test environment | [
1.3509032726287842,
-0.7104523181915283,
0.5399815440177917,
0.3760043680667877,
0.6164898872375488,
1.4470670223236084,
1.6438618898391724,
-0.1751524955034256,
0.2774930000305176,
0.5062642693519592,
0.0920390635728836,
0.31556034088134766,
-0.3968704640865326,
0.4092148244380951,
-1.1... |
FlatDisplay writes giving Entries as seperated blocks of contents where the each content is converted within a block like below: Message: We must create new standard behaviour Function: BuildPack | display: red, words: 20, Message: We must create new standard behaviour Function: BuildPack | display: red, words: 20, | [
0.12569934129714966,
-0.30929848551750183,
0.36137473583221436,
0.14640536904335022,
-0.14564993977546692,
-0.08839572966098785,
0.48153167963027954,
-0.5691719055175781,
0.34563925862312317,
-0.22845667600631714,
0.3856542408466339,
0.41122397780418396,
-0.870825469493866,
1.5135138034820... |
FlatDisplayWith writes giving Entries as seperated blocks of contents where the each content is converted within a block like below: [Header]: We must create new standard behaviour Function: BuildPack | display: red, words: 20, [Header]: We must create new standard behaviour Function: BuildPack | display: red, words: 2... | [
0.13294152915477753,
-0.7616052627563477,
0.5265666246414185,
-0.02247379533946514,
-0.913646936416626,
-0.3095698356628418,
-0.1550930142402649,
-0.6598308682441711,
0.5128620266914368,
-0.2670537829399109,
0.5255727171897888,
0.2188776731491089,
-0.16873253881931305,
1.2495331764221191,
... |
===================================================================================== BlockDisplay writes giving Entries as seperated blocks of contents where the each content is converted within a block like below: Message: We must create new standard behaviour Function: BuildPack +++ | displayrange.address.bolder | "... | [
0.8233615159988403,
-1.1689412593841553,
0.8806810975074768,
-0.06724752485752106,
-0.7229806780815125,
-0.07867716997861862,
0.7418326139450073,
-0.41097310185432434,
-0.752396821975708,
0.2721521556377411,
-0.18203043937683105,
0.3831250071525574,
-0.6260484457015991,
0.6856064200401306,... |
BlockDisplayWith writes giving Entries as seperated blocks of contents where the each content is converted within a block like below: Message: We must create new standard behaviour Function: BuildPack +++ | displayrange.address.bolder | "No 20 tokura flag" | +++ +++ | displayrange.bolder.size | 20 | +++ | [
0.6113312244415283,
-1.0806803703308105,
0.5808979868888855,
0.39629876613616943,
-0.9094628691673279,
-0.29010558128356934,
0.19779552519321442,
-0.6153895854949951,
-0.2345171868801117,
0.0705471783876419,
-0.08784427493810654,
0.28778138756752014,
-0.15446160733699799,
0.680280029773712... |
===================================================================================== StackDisplay writes giving Entries as seperated blocks of contents where the each content is converted within a block like below: Message: We must create new standard behaviour Function: BuildPack displayrange.address.bolder: "No 20 t... | [
1.2084813117980957,
-0.9586313366889954,
0.7369319200515747,
-0.5121139883995056,
-0.7399817109107971,
-0.5488445162773132,
0.7588990926742554,
-0.35364681482315063,
-0.6786466836929321,
0.4062858521938324,
-0.3895832300186157,
0.41813161969184875,
-0.6415579319000244,
1.0446640253067017,
... |
StackDisplayWith writes giving Entries as seperated blocks of contents where the each content is converted within a block like below: [Header]: We must create new standard behaviour Function: BuildPack [tag] displayrange.address.bolder: "No 20 tokura flag" [tag] displayrange.bolder.size: 20 | [
0.7386348843574524,
-0.7085490822792053,
0.501163899898529,
-0.16715873777866364,
-0.7018589377403259,
-0.718765377998352,
0.05287853255867958,
-0.6274417638778687,
-0.3313217759132385,
-0.04559144377708435,
-0.18507950007915497,
0.09956441819667816,
0.060824304819107056,
0.718589901924133... |
NewEmitter returns a new instance of Emitter. | [
-0.5501404404640198,
-0.6556919813156128,
-0.03724447637796402,
0.8822342753410339,
-0.7420949935913086,
0.4424905776977539,
-0.8216754198074341,
0.30800703167915344,
-0.02403463050723076,
-1.001013159751892,
-0.6886876821517944,
0.22711823880672455,
-1.2607412338256836,
0.624424159526825,... |
Handle implements the metrics.metrics interface. | [
0.5173646211624146,
0.40443140268325806,
0.20487038791179657,
-0.05028143152594566,
0.613897979259491,
0.9908065795898438,
0.9112874865531921,
-0.5933194756507874,
-0.20650748908519745,
-1.3139889240264893,
0.5340318083763123,
-0.2384142428636551,
-0.03280777856707573,
-0.15552563965320587... |
returns a suitable 'ping request' packet, with id & seq and a payload length of pktlen | [
-0.7764127254486084,
0.2442346066236496,
0.3944769501686096,
-0.23186363279819489,
-0.3881548345088959,
0.056855231523513794,
-1.5816569328308105,
-0.4376398026943207,
1.148440957069397,
-0.1353774070739746,
-0.14459216594696045,
-0.6944052577018738,
-0.12099196761846542,
0.101044811308383... |
test (raw) IP socket using ICMP | [
-0.6418148279190063,
0.15391245484352112,
0.15701904892921448,
0.03691108897328377,
0.06950248777866364,
-0.28086721897125244,
0.23405034840106964,
-0.16472889482975006,
0.8290573954582214,
-0.32598644495010376,
0.24854782223701477,
-0.31414133310317993,
-1.2007404565811157,
-1.55510008335... |
Run func implements confirn prompt | [
-1.0899118185043335,
-0.879859447479248,
0.10018950700759888,
1.2287200689315796,
-0.3934627175331116,
-0.06635862588882446,
1.7143635749816895,
0.770157516002655,
-0.6417524218559265,
-0.5669229030609131,
-0.6541670560836792,
0.05389883741736412,
1.0805792808532715,
-0.1563873291015625,
... |
Confirm func is predefined easy confirm promp | [
0.7162701487541199,
-0.2638808488845825,
0.5358947515487671,
0.8531087636947632,
0.17968043684959412,
0.5839577317237854,
0.9530424475669861,
0.2101517617702484,
0.06380109488964081,
0.4140150249004364,
-0.8123583793640137,
0.6463028788566589,
0.12080030143260956,
-0.15329191088676453,
-... |
RunServer : Starts the Server which selects the Mode in which it should be running, | [
-1.5764786005020142,
-1.2628204822540283,
0.6213849186897278,
1.0766550302505493,
0.4170245826244354,
1.0467205047607422,
0.1702997237443924,
0.8047823309898376,
-0.2726520895957947,
-0.348907470703125,
-1.0070440769195557,
0.4970861077308655,
-1.010878562927246,
-0.10809294879436493,
1.... |
ShutdownCurrentServer Shuts down the current server with a 1 Second timeout | [
-1.0749356746673584,
-1.4683306217193604,
0.2464236468076706,
0.7338347434997559,
-0.5853419899940491,
-0.1056332066655159,
0.13067488372325897,
0.5722249746322632,
-0.06188327446579933,
1.1050723791122437,
0.04147220402956009,
0.9798427224159241,
-1.602423071861267,
0.45378199219703674,
... |
CreateServer creates a proxy server on addr:port | [
-0.2435777187347412,
-0.21765762567520142,
0.21593348681926727,
-0.7155817747116089,
0.9954158663749695,
0.7672004699707031,
-0.5286855697631836,
-0.015077335759997368,
0.0587538480758667,
-0.3097172975540161,
-0.2762928009033203,
-0.4737456440925598,
-0.6938464045524597,
-0.44279140233993... |
helper fn which writes opcode followed by session id on the current connection | [
-0.10173151642084122,
-2.0365216732025146,
0.33319613337516785,
0.07645802199840546,
-0.033864591270685196,
-0.906653106212616,
0.42112618684768677,
-0.1074320375919342,
0.8725887537002563,
0.9818569421768188,
0.43135011196136475,
0.5391499400138855,
-0.14355753362178802,
-0.34085929393768... |
Extracts_block extracts parameters frome the /block endpoint | [
-0.814655065536499,
0.8022162318229675,
0.48629486560821533,
0.873208224773407,
0.7458680868148804,
-1.2900588512420654,
-0.2585183382034302,
-0.39114126563072205,
-1.0651129484176636,
0.6403560638427734,
0.0414639376103878,
-0.11097979545593262,
-0.38407981395721436,
0.05903318524360657,
... |
see run fio in a loop of fixed duration to fulfill a larger duration, this to facilitate a relatively timely termination when an error occurs elsewhere. podName name of the fio pod duration time in seconds to run fio thinktime usecs, stall the job for the specified period of time after an I/O has completed before issui... | [
0.08774533122777939,
-0.2028297483921051,
0.6941369771957397,
0.2684718370437622,
0.22935964167118073,
-0.21550916135311127,
0.09381783753633499,
-0.15084925293922424,
-0.807343065738678,
-0.1735360026359558,
-0.623030424118042,
0.19798164069652557,
-0.7069469094276428,
-0.2362590730190277... |
ValidateStruct validates a given struct based on the `validate` field tag. | [
0.3643203675746918,
0.29890909790992737,
0.2146412432193756,
1.0276192426681519,
-0.2516905665397644,
-0.7354451417922974,
0.11985770612955093,
-1.1386698484420776,
0.0298094991594553,
-1.3135019540786743,
-0.06132620573043823,
-0.879094123840332,
0.014703630469739437,
0.25745776295661926,... |
PharmacistsOrErr returns the Pharmacists value or an error if the edge was not loaded in eagerloading, or loaded but was not found. | [
-0.6959776878356934,
-0.6293501257896423,
0.24402977526187897,
-0.9598625302314758,
0.4721205234527588,
0.034434784203767776,
-0.17806032299995422,
-0.605295717716217,
0.6919999718666077,
0.00928198266774416,
1.4661006927490234,
0.3158702552318573,
-0.6375844478607178,
-0.8585805296897888,... |
PaymentsOrErr returns the Payments value or an error if the edge was not loaded in eagerloading, or loaded but was not found. | [
-0.24419145286083221,
-0.07937950640916824,
0.4117491841316223,
-1.2128616571426392,
0.11097840964794159,
-0.6348845362663269,
-0.29817065596580505,
-1.0250654220581055,
0.620242714881897,
0.09607581794261932,
1.8390244245529175,
0.27503934502601624,
0.1392134130001068,
-0.0449987612664699... |
DispenseMedicinesOrErr returns the DispenseMedicines value or an error if the edge was not loaded in eagerloading, or loaded but was not found. | [
-0.3160746991634369,
-0.8420822024345398,
0.37373217940330505,
-1.6640735864639282,
0.3855862617492676,
-0.6002562046051025,
-0.31600338220596313,
-0.6344013810157776,
0.7747224569320679,
0.0718899667263031,
1.8316349983215332,
-0.5228757262229919,
0.30320167541503906,
-0.07070305198431015... |
scanValues returns the types for scanning values from sql.Rows. | [
-0.11444148421287537,
0.9527615308761597,
0.4098605513572693,
0.946639358997345,
0.07789497077465057,
-0.024475106969475746,
-0.36197763681411743,
-0.79620760679245,
0.5114680528640747,
-0.8609367609024048,
-0.4028056263923645,
0.1302328109741211,
1.0849542617797852,
0.6107139587402344,
... |
fkValues returns the types for scanning foreignkeys values from sql.Rows. | [
0.032927919179201126,
1.219462513923645,
0.3978223204612732,
0.9243658781051636,
0.5653607845306396,
-0.7468644380569458,
0.1958569884300232,
-0.8394625186920166,
0.5968015193939209,
-0.7616603970527649,
-0.2973592281341553,
-0.7887226939201355,
0.8023763298988342,
0.7376741766929626,
-0... |
assignValues assigns the values that were returned from sql.Rows (after scanning) to the Bill fields. | [
0.11381151527166367,
0.13492555916309357,
0.20688140392303467,
-0.014175458811223507,
0.3129194676876068,
0.5568380951881409,
0.38821491599082947,
0.1201140359044075,
-0.5437190532684326,
-1.0683248043060303,
-0.4813765287399292,
-0.29381582140922546,
0.13263793289661407,
1.822908163070678... |
QueryPharmacists queries the pharmacists edge of the Bill. | [
0.3729841411113739,
-0.038010694086551666,
0.10880652070045471,
-0.3464270234107971,
-0.31585055589675903,
-0.11696641892194748,
-0.8958512544631958,
-0.09704988449811935,
0.9735581874847412,
-0.30937474966049194,
0.6683914661407471,
0.73658287525177,
-0.9647858738899231,
-1.12262535095214... |
QueryPayments queries the payments edge of the Bill. | [
0.9659457802772522,
1.1525077819824219,
0.27401623129844666,
0.32676661014556885,
0.2200353443622589,
-0.28877970576286316,
-0.5660266876220703,
-0.809029221534729,
0.987368106842041,
-0.5124022364616394,
1.3793712854385376,
-0.3095792829990387,
-0.8103381395339966,
0.09861090034246445,
... |
QueryDispenseMedicines queries the dispenseMedicines edge of the Bill. | [
0.34683483839035034,
-0.09322292357683182,
0.45474371314048767,
-1.3778612613677979,
0.09768683463335037,
-0.4696625769138336,
-0.4730193018913269,
-0.48431387543678284,
0.6291531920433044,
-0.41745975613594055,
0.5531890392303467,
-0.7481754422187805,
0.3894082009792328,
-0.12562607228755... |
Update returns a builder for updating this Bill. Note that, you need to call Bill.Unwrap() before calling this method, if this Bill was returned from a transaction, and the transaction was committed or rolled back. | [
0.4456075429916382,
-0.5538005232810974,
0.31697872281074524,
0.35605543851852417,
-0.8552877306938171,
0.7803504467010498,
-0.1338341385126114,
0.4441773295402527,
0.8005304336547852,
-0.851458728313446,
0.21799331903457642,
0.660831093788147,
-0.8892088532447815,
0.19322329759597778,
-... |
Unwrap unwraps the entity that was returned from a transaction after it was closed, so that all next queries will be executed through the driver which created the transaction. | [
-0.17325150966644287,
-0.3780941963195801,
0.3808448612689972,
-0.9037958383560181,
-0.3757835030555725,
-0.14754189550876617,
0.5852317214012146,
0.34561821818351746,
-0.12900616228580475,
-0.115107960999012,
0.8209194540977478,
0.09006651490926743,
0.7306953072547913,
-1.0506023168563843... |
String implements the fmt.Stringer. | [
-0.35802018642425537,
-1.5810582637786865,
0.21453221142292023,
-0.6768918037414551,
-0.32525303959846497,
0.6018292903900146,
0.10726158320903778,
-0.8095663189888,
-0.1302347183227539,
-1.3097699880599976,
0.40913793444633484,
-0.2947554588317871,
0.6693325638771057,
0.5705350041389465,
... |
MarshalJSON marshals the given Provenance as JSON into a byte slice | [
-0.49468016624450684,
-0.16679558157920837,
0.36781013011932373,
0.6744730472564697,
-0.4823065400123596,
-0.47164127230644226,
-0.9686046838760376,
0.4663124680519104,
1.0102777481079102,
-0.2121230959892273,
-0.006434094160795212,
0.8475053310394287,
-0.048341937363147736,
0.174400448799... |
UnmarshalProvenance unmarshals a Provenance. | [
0.18147246539592743,
-0.17256061732769012,
0.4622315466403961,
-0.0352851003408432,
-0.26681220531463623,
-0.13793297111988068,
-0.714709997177124,
0.7086881399154663,
0.5806151628494263,
0.2629239857196808,
0.5935304164886475,
-0.6798734664916992,
-0.614197313785553,
-0.7625957727432251,
... |
Implement Solution to Problem 1 | [
0.0032066167332232,
0.2220543473958969,
0.12418947368860245,
1.4972050189971924,
-0.7903380393981934,
0.3719513714313507,
2.0309898853302,
0.6883202791213989,
0.21294167637825012,
0.972954273223877,
-0.7600802183151245,
-0.20530369877815247,
0.056979890912771225,
1.091251015663147,
-1.53... |
Implement Solution to Problem 2 | [
-0.12246338278055191,
-0.8579382300376892,
0.1820903867483139,
0.8416366577148438,
-1.2618732452392578,
-0.20963528752326965,
1.6240739822387695,
0.1103615090250969,
-0.2757624685764313,
0.45553871989250183,
-0.888502299785614,
-0.19743695855140686,
0.7326626777648926,
1.3442217111587524,
... |
main() contains code adapted from example found in Colly's docs: Function that runs the Echo server | [
-0.4649054706096649,
-0.47238609194755554,
0.4413173496723175,
1.3453174829483032,
-0.11844324320554733,
-0.16405180096626282,
0.21144744753837585,
0.7897818088531494,
0.10882139205932617,
0.272255539894104,
-0.5417835116386414,
0.29288947582244873,
-0.5038074254989624,
-0.0922236964106559... |
GracefulContext works like Graceful, but also shuts down the server when ctx is done, i.e., when the channel returned from ctx.Done() is closed. Any error from ctx.Err() is discarded. | [
-0.24280306696891785,
-0.3563850224018097,
0.8695961236953735,
-0.01649569161236286,
-0.6439917683601379,
0.37045493721961975,
0.11958278715610504,
-1.220349669456482,
0.35713911056518555,
-0.1782185584306717,
-0.3215542733669281,
0.24838870763778687,
-0.35691767930984497,
-0.1826517283916... |
Match returns whether filename matches this format. | [
-0.10733665525913239,
-1.2227076292037964,
0.4711706340312958,
1.1928125619888306,
-0.055555153638124466,
0.14715024828910828,
-0.0026160478591918945,
0.7432768940925598,
-0.3642460107803345,
-0.6804884076118469,
0.4415909945964813,
-0.3807648718357086,
-0.10359511524438858,
0.175709053874... |
isTarXz checks the file has the xz compressed Tar format header by reading its beginning block. | [
1.1236449480056763,
-0.7379533052444458,
0.18453040719032288,
0.49991339445114136,
-0.31320473551750183,
-0.024709710851311684,
-0.64676833152771,
0.11088182777166367,
-0.18708394467830658,
-0.19950179755687714,
-0.2476101666688919,
0.2790628671646118,
0.036397483199834824,
-0.055012516677... |
Write outputs a .tar.xz file to a Writer containing the contents of files listed in filePaths. File paths can be those of regular files or directories. Regular files are stored at the 'root' of the archive, and directories are recursively added. | [
0.1331738531589508,
-0.02437085472047329,
0.23648302257061005,
0.9272922277450562,
-0.014880452305078506,
-0.2494266778230667,
0.933324933052063,
1.0820553302764893,
-0.039239298552274704,
-0.5687487721443176,
0.16052332520484924,
-0.7113564610481262,
0.23749876022338867,
-0.22220024466514... |
Make creates a .tar.xz file at xzPath containing the contents of files listed in filePaths. File paths can be those of regular files or directories. Regular files are stored at the 'root' of the archive, and directories are recursively added. | [
0.9506584405899048,
-0.05888594686985016,
0.32834407687187195,
0.6460188031196594,
-0.3645043671131134,
-0.045487917959690094,
0.686755359172821,
0.34695619344711304,
-0.23623232543468475,
-0.7675225734710693,
-0.0452861450612545,
-0.23206667602062225,
-0.04949318245053291,
-0.439362496137... |
Read untars a .tar.xz file read from a Reader and decompresses the contents into destination. | [
0.03555942699313164,
-0.1404966115951538,
0.1742675006389618,
-0.3339574337005615,
-1.2923916578292847,
0.16223445534706116,
-0.3201339840888977,
0.9278532266616821,
-1.0651006698608398,
-0.1496371626853943,
0.41665661334991455,
-0.9312107563018799,
1.0795116424560547,
-1.6329345703125,
... |
Open untars source and decompresses the contents into destination. | [
-1.0300242900848389,
0.3336978852748871,
0.09484083950519562,
-0.404990017414093,
-1.674670696258545,
0.13885128498077393,
0.14340272545814514,
1.5433965921401978,
-0.6944882869720459,
-0.5473398566246033,
-0.5329625010490417,
-0.5886963605880737,
0.9591196179389954,
-1.5572444200515747,
... |
Server is a main server middleware. Adds application headers. | [
-0.05554899200797081,
-0.7656825184822083,
0.5434862971305847,
1.3555309772491455,
-0.23670710623264313,
0.6980304718017578,
-0.731657862663269,
0.0014625650364905596,
0.6029373407363892,
-0.5186797380447388,
0.37704363465309143,
-0.6626723408699036,
-0.3936243951320648,
0.5308210253715515... |
HealthHandler is a net/http handler for health checks. | [
0.5658348798751831,
-1.11411452293396,
0.11077915877103806,
0.4596329927444458,
-0.9061535000801086,
1.279601812362671,
-0.36838284134864807,
0.14005738496780396,
-0.06106242164969444,
-0.8171079158782959,
0.756891131401062,
-0.9731851816177368,
0.2229507714509964,
0.04844118282198906,
-... |
Run registers routes and starts web server. | [
-0.37361064553260803,
0.05590803176164627,
0.35885095596313477,
1.2080026865005493,
0.5641315579414368,
-0.037033043801784515,
1.1955876350402832,
1.2889658212661743,
0.5289605855941772,
-0.46934640407562256,
-1.4458844661712646,
0.999717116355896,
0.18649685382843018,
1.2949117422103882,
... |
NewRuleCache returns redis rule cache implementation. | [
0.15417692065238953,
-0.07744267582893372,
0.10357759892940521,
0.16403728723526,
0.4565224051475525,
0.09589042514562607,
-0.5962451696395874,
0.7967905402183533,
0.23170685768127441,
0.7040707468986511,
0.32053881883621216,
0.2130574882030487,
-0.01225590705871582,
0.4079977869987488,
... |
BatchPinComplete is called inline with a particular ledger's stream of events, so while we block here this blockchain event remains unacknowledged, and no further events will arrive from this particular ledger. We must block here long enough to get the payload from the publicstorage, persist the messages in the correct... | [
0.013813916593790054,
-0.12624512612819672,
0.5895947813987732,
-0.10110121965408325,
0.7650269269943237,
0.6015415787696838,
0.2522643804550171,
-0.2881864607334137,
-0.3874778151512146,
0.2206888049840927,
-1.4972202777862549,
0.21576878428459167,
-0.14311416447162628,
0.4431068003177643... |
Load config from file then from environment variables | [
0.7305808663368225,
-0.8808175921440125,
0.16113655269145966,
0.7007818222045898,
-0.15595506131649017,
0.803617000579834,
-0.7194818258285522,
0.4991271495819092,
-2.2835159301757812,
1.4276114702224731,
-0.663334310054779,
-0.4541793763637543,
0.15121598541736603,
1.1273401975631714,
0... |
A Bit Writer has functions to write bits to a writer | [
-0.6432852745056152,
-0.010764002799987793,
0.492094486951828,
0.5918095707893372,
0.6063886880874634,
-0.7042962312698364,
0.7492039799690247,
-0.5667365193367004,
-0.28510943055152893,
-1.6534719467163086,
-0.50543212890625,
0.08160821348428726,
0.4393456280231476,
0.24055936932563782,
... |
NewCommentService creates object of CommentService | [
-0.30112212896347046,
-1.4520351886749268,
0.09273289144039154,
-0.18191146850585938,
0.5220217704772949,
-0.14616365730762482,
0.08717797696590424,
-1.8668099641799927,
-0.05813983827829361,
0.22018463909626007,
-0.3638816475868225,
0.022999361157417297,
-1.359682321548462,
0.705556631088... |
Comments returns all health center comments | [
0.6973762512207031,
-1.7319329977035522,
0.2845555245876312,
0.10616596788167953,
1.6647090911865234,
-0.5143316984176636,
-0.5941599607467651,
-0.27900004386901855,
0.2755270004272461,
0.09962555766105652,
0.010480990633368492,
-0.44204068183898926,
0.04119964689016342,
0.2145938724279403... |
Comment returns single healthcenter comment | [
1.0825945138931274,
-1.4660879373550415,
0.23913425207138062,
-0.2754315733909607,
1.5847939252853394,
-0.5123314261436462,
0.7003852725028992,
0.0882474035024643,
0.3364502489566803,
0.006742256227880716,
1.062988519668579,
-0.593731701374054,
-0.7580005526542664,
-0.46337443590164185,
... |
DeleteComment deletes single comment | [
1.154857873916626,
0.21354635059833527,
0.16139960289001465,
0.6734665632247925,
1.7009788751602173,
-0.7409155964851379,
1.424754023551941,
1.082849144935608,
0.26407575607299805,
-0.020684698596596718,
0.37333038449287415,
-0.6306917667388916,
-0.7161270976066589,
0.22954262793064117,
... |
CheckUser checks if user is valid to give feedback | [
0.617767333984375,
0.3035610616207123,
0.08175777643918991,
2.3019938468933105,
-0.4629840850830078,
1.063987135887146,
1.0501912832260132,
-0.3052733540534973,
-0.12286651134490967,
-0.9750461578369141,
0.09059839695692062,
-0.022511670365929604,
-0.6043252944946289,
0.7806373834609985,
... |
expected output is 3 | [
-0.49967241287231445,
0.7010404467582703,
0.4928095042705536,
1.213655710220337,
0.04435057193040848,
0.3135024309158325,
0.23450425267219543,
0.446311891078949,
-0.6131293773651123,
-0.4596759080886841,
-1.0352392196655273,
-1.4466792345046997,
0.28731441497802734,
-0.7576949596405029,
... |
PCMarkWorkAndroidApp executes PCMark Android App to do benchmark for PCMark Work and acquire test score. | [
1.0716626644134521,
-0.6792242527008057,
0.08205648511648178,
0.607218325138092,
1.423788070678711,
0.6586309671401978,
1.1317659616470337,
-0.8994314670562744,
-0.11213047802448273,
0.47630536556243896,
0.4378703832626343,
-0.6341522932052612,
-0.3125419020652771,
0.11817142367362976,
-... |
installPCMarkComponents installs the PCMark's inapp software component, and returns the "RUN" button object. | [
0.668278157711029,
-0.5100926160812378,
0.1103157103061676,
-0.013083135709166527,
-0.12812002003192902,
0.5738668441772461,
0.8119034171104431,
0.007874528877437115,
0.3223719894886017,
-0.17799901962280273,
-0.5943920016288757,
-1.1504788398742676,
-1.6584504842758179,
-0.392301231622695... |
buttonWithText finds button with certain text. It is found that PCMark UI can change accross different runs the text string might be in "field: text" or "field: contentdescription". Here use multiple ui.SelectorOption to find a ui object. | [
0.6097968816757202,
-0.9880581498146057,
0.41759225726127625,
0.5331796407699585,
0.08965854346752167,
-0.03737344220280647,
0.23380126059055328,
-0.4229986071586609,
0.2047407031059265,
-0.14677920937538147,
-0.352952778339386,
-0.1125619113445282,
-0.6426631212234497,
0.6903485655784607,... |
buttonWithRegex finds button with text matching the given regex string. It is found that PCMark UI can change accross different runs the text string might be in "field: text" or "field: contentdescription". Here use multiple ui.SelectorOption to find a ui object. | [
0.1366306096315384,
-1.1166582107543945,
0.4729801118373871,
0.4448425769805908,
0.431149959564209,
0.09007079899311066,
0.5117807388305664,
0.10534703731536865,
0.20688766241073608,
-0.5926143527030945,
-0.3667357861995697,
-0.08182720839977264,
-0.5593022108078003,
0.23905165493488312,
... |
"bbbab" [[1 0 0 0 0] [0 1 0 0 0] [0 0 1 0 0] [0 0 0 1 0] [0 0 0 0 1]] [[1 2 3 3 2] [0 1 2 2 2] [0 0 1 1 3] [0 0 0 1 1] [0 0 0 0 1]] [[1 0 0 0 0] [0 1 0 0 0] [0 0 1 0 0] [0 0 0 1 0] [0 0 0 0 1]] [[1 2 3 3 4] [0 1 2 2 3] [0 0 1 1 3] [0 0 0 1 1] [0 0 0 0 1]] | [
0.26098528504371643,
-0.3834257423877716,
1.1469459533691406,
0.07940756529569626,
0.2532874345779419,
-0.03559373691678047,
1.2212773561477661,
-0.3500896096229553,
0.48909974098205566,
0.25016623735427856,
-0.3547293543815613,
-0.17784668505191803,
-0.2584948241710663,
-0.208397343754768... |
Height gets console height | [
0.4675317406654358,
-0.8737443089485168,
0.16100768744945526,
1.1483423709869385,
-0.31751924753189087,
-0.2765488624572754,
1.2694793939590454,
-1.6449705362319946,
-1.3890880346298218,
-0.34702545404434204,
-0.9173072576522827,
0.14272747933864594,
-0.18067198991775513,
0.010448187589645... |
SignRequest sign a SAML 2.0 AuthnRequest `privateKeyPath` must be a path on the filesystem, xmlsec1 is run out of process through `exec` | [
-1.1473758220672607,
-0.977851390838623,
0.45889562368392944,
1.4726667404174805,
-0.10867973417043686,
-0.4401840567588806,
0.20649763941764832,
-0.13116727769374847,
0.6314911842346191,
0.09605759382247925,
-0.06353805214166641,
-0.08581975847482681,
-0.35895460844039917,
0.6314479112625... |
SignResponse sign a SAML 2.0 Response `privateKeyPath` must be a path on the filesystem, xmlsec1 is run out of process through `exec` | [
-0.06129469349980354,
-1.7492176294326782,
0.38585224747657776,
1.2209213972091675,
0.09830567240715027,
-0.40576669573783875,
0.5389987230300903,
-0.17712128162384033,
1.3836618661880493,
-0.019923308864235878,
-0.6134294271469116,
-0.8518730401992798,
-0.7352473139762878,
-0.205609202384... |
DecryptResponse decrypt a SAML 2.0 xml using his private key | [
0.23121273517608643,
-0.4201865792274475,
0.18353740870952606,
0.43868595361709595,
-0.5026043057441711,
-1.098507285118103,
-0.42179736495018005,
-0.44595059752464294,
2.0006840229034424,
0.5358525514602661,
-0.3527628183364868,
-0.48273420333862305,
-0.4397917687892914,
-0.31125450134277... |
VerifyResponseSignature verify signature of a SAML 2.0 Response document `publicCertPath` must be a path on the filesystem, xmlsec1 is run out of process through `exec` | [
0.9186288118362427,
-1.4008431434631348,
0.4014531075954437,
1.4236817359924316,
0.3115611970424652,
0.10633587837219238,
0.9154930114746094,
-1.0207265615463257,
0.8894115686416626,
-0.6692026853561401,
-1.3374192714691162,
-0.33998650312423706,
-0.3832981288433075,
-0.31296390295028687,
... |
VerifyAssertionSignature verifies the signature of the assertion in a SAML 2.0 Response document. If encrypted, decryption must occur prior. | [
0.38992419838905334,
-0.6378903985023499,
0.3286572992801666,
0.8474728465080261,
-0.3098547160625458,
0.08596059679985046,
0.7277243733406067,
-0.6958411931991577,
1.1846463680267334,
0.295714795589447,
-0.7806301116943359,
0.02765601873397827,
-1.0989537239074707,
0.0935686007142067,
-... |
VerifyRequestSignature verify signature of a SAML 2.0 AuthnRequest document `publicCertPath` must be a path on the filesystem, xmlsec1 is run out of process through `exec` | [
-0.27970197796821594,
-0.9436452388763428,
0.37116456031799316,
2.074723243713379,
-0.07086485624313354,
0.22507642209529877,
0.09309142827987671,
-0.9231396913528442,
0.21499451994895935,
-0.6977624297142029,
-0.5873735547065735,
0.2564128637313843,
-0.15584692358970642,
0.383396804332733... |
deleteTempFile remove a file and ignore error Intended to be called in a defer after the creation of a temp file to ensure cleanup | [
1.203905701637268,
-0.44196993112564087,
0.6501857042312622,
-0.17093026638031006,
-0.39119866490364075,
0.9831722378730774,
0.30888208746910095,
0.5480283498764038,
0.22420315444469452,
-0.4694577157497406,
-0.30997398495674133,
-1.0812653303146362,
-0.4309367835521698,
0.5563728213310242... |
NewBuffer returns a new Buffer configured with the given Options. If there's an issue with the provided Options, this returns an error. | [
0.061457544565200806,
-0.12827888131141663,
0.4909115731716156,
1.4075926542282104,
0.14352788031101227,
0.06186903640627861,
-0.08851197361946106,
-1.0127007961273193,
0.07043245434761047,
-0.2942010164260864,
0.36695924401283264,
0.40254053473472595,
-1.0104777812957764,
-0.1214607805013... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.