text
stringlengths
11
6.3k
embedding
listlengths
768
768
func (r *PullsDeleteReviewCommentReq) Rel(link RelName, resp *PullsDeleteReviewCommentResponse) bool { u := resp.RelLink(link) if u == "" { return false } r._url = u return true }
[ 0.2798651158809662, -0.05271858349442482, 0.6364550590515137, -0.1938498318195343, -0.0775042474269867, 0.3093758225440979, -0.22360552847385406, 0.8170424103736877, 0.4218270480632782, -0.8000313639640808, 0.07837145030498505, -0.7100956439971924, -0.7138387560844421, -0.9393081068992615,...
func (r *PullsDismissReviewReq) HTTPRequest(ctx context.Context, opt ...RequestOption) (*http.Request, error) { return buildHTTPRequest(ctx, r, opt) }
[ 0.008859419263899326, 0.18094249069690704, 0.4803278148174286, -0.21612820029258728, 0.2655007243156433, 0.7167128920555115, -0.7395695447921753, 0.37169018387794495, 0.43119579553604126, -0.5117843747138977, 1.1101590394973755, 0.8465973734855652, -0.3273780643939972, -0.1671411693096161,...
func (r *PullsDismissReviewReq) Rel(link RelName, resp *PullsDismissReviewResponse) bool { u := resp.RelLink(link) if u == "" { return false } r._url = u return true }
[ 0.37850522994995117, 0.09169171750545502, 0.5085161328315735, -0.28946563601493835, -0.4944297969341278, 0.6083041429519653, -0.6849478483200073, 0.8359966278076172, 0.6189028024673462, -0.7925733923912048, -0.13126246631145477, -0.6916525363922119, -0.6245824098587036, -0.7034565806388855...
func (r *PullsGetReq) HTTPRequest(ctx context.Context, opt ...RequestOption) (*http.Request, error) { return buildHTTPRequest(ctx, r, opt) }
[ -0.2627906799316406, 0.10980446636676788, 0.551538348197937, 0.22693201899528503, 0.6032243967056274, 0.5968321561813354, -0.6574869155883789, 0.3786710798740387, 0.2854648232460022, -0.7415140867233276, 1.0329740047454834, 1.138363242149353, -0.054942984133958817, -0.6310105323791504, -...
func (r *PullsGetReq) Rel(link RelName, resp *PullsGetResponse) bool { u := resp.RelLink(link) if u == "" { return false } r._url = u return true }
[ 0.04353003203868866, 0.15218082070350647, 0.6041934490203857, -0.010453763417899609, -0.160659521818161, 0.48191359639167786, -0.566539466381073, 0.7626942992210388, 0.37413761019706726, -1.079816460609436, -0.23677898943424225, -0.4835841953754425, -0.567905068397522, -1.0415517091751099,...
func (r *PullsGetReviewReq) HTTPRequest(ctx context.Context, opt ...RequestOption) (*http.Request, error) { return buildHTTPRequest(ctx, r, opt) }
[ -0.30373597145080566, 0.17347218096256256, 0.5269790291786194, -0.062251780182123184, 0.31261155009269714, 0.8336493968963623, -0.8728191256523132, 0.7432180643081665, 0.12659166753292084, -0.7441549301147461, 1.2554445266723633, 1.5098726749420166, -0.18603426218032837, -0.602554440498352...
func (r *PullsGetReviewReq) Rel(link RelName, resp *PullsGetReviewResponse) bool { u := resp.RelLink(link) if u == "" { return false } r._url = u return true }
[ 0.11213629692792892, 0.10726920515298843, 0.5587000250816345, -0.06626024842262268, -0.46434837579727173, 0.47750571370124817, -0.7093040943145752, 0.893277645111084, 0.35448503494262695, -0.9761537909507751, 0.10504378378391266, -0.5085583329200745, -0.5253024697303772, -1.004852533340454...
func (r *PullsGetReviewCommentReq) HTTPRequest(ctx context.Context, opt ...RequestOption) (*http.Request, error) { return buildHTTPRequest(ctx, r, opt) }
[ -0.19300122559070587, -0.13161739706993103, 0.6714140176773071, -0.263731449842453, 0.6675532460212708, 0.5951623916625977, -0.31750747561454773, 0.5447309613227844, -0.010848897509276867, -0.3531612753868103, 1.1091132164001465, 1.1871795654296875, -0.3412710130214691, -0.4411190152168274...
func (r *PullsGetReviewCommentReq) Rel(link RelName, resp *PullsGetReviewCommentResponse) bool { u := resp.RelLink(link) if u == "" { return false } r._url = u return true }
[ 0.2023734301328659, -0.06658373773097992, 0.6729841828346252, -0.2137860804796219, -0.07202611118555069, 0.2651427388191223, -0.18808212876319885, 0.6379883885383606, 0.27545085549354553, -0.7943230271339417, -0.02714971825480461, -0.6567135453224182, -0.5581913590431213, -1.07820045948028...
func (r *PullsListReq) HTTPRequest(ctx context.Context, opt ...RequestOption) (*http.Request, error) { return buildHTTPRequest(ctx, r, opt) }
[ -0.6511760354042053, 0.1495208591222763, 0.4420328736305237, 0.31557804346084595, 0.31737270951271057, 0.7147305607795715, -0.6550669074058533, 0.5447083711624146, 0.3021462559700012, -0.47593361139297485, 0.5722489356994629, 0.5975934267044067, -0.20669065415859222, -0.25552037358283997, ...
func (r *PullsListReq) Rel(link RelName, resp *PullsListResponse) bool { u := resp.RelLink(link) if u == "" { return false } r._url = u return true }
[ -0.10686410218477249, 0.17224711179733276, 0.5462417602539062, 0.039484068751335144, -0.22929200530052185, 0.5249141454696655, -0.49562564492225647, 0.9088650345802307, 0.5548641681671143, -0.9483820796012878, -0.5346546769142151, -0.9496648907661438, -0.6063286662101746, -0.69256925582885...
func (r *PullsListCommentsForReviewReq) HTTPRequest(ctx context.Context, opt ...RequestOption) (*http.Request, error) { return buildHTTPRequest(ctx, r, opt) }
[ -0.6218675374984741, 0.024862607941031456, 0.5027140378952026, -0.22194740176200867, 0.35395118594169617, 0.5367092490196228, -0.43225157260894775, 0.535904049873352, -0.18975397944450378, -0.4127613604068756, 0.9600398540496826, 0.8678218126296997, -0.35434916615486145, -0.057222113013267...
func (r *PullsListCommentsForReviewReq) Rel(link RelName, resp *PullsListCommentsForReviewResponse) bool { u := resp.RelLink(link) if u == "" { return false } r._url = u return true }
[ -0.029536820948123932, 0.017480773851275444, 0.5879759192466736, -0.0701039731502533, -0.44517359137535095, 0.30026569962501526, -0.32268640398979187, 0.6909111738204956, 0.259510338306427, -0.8442638516426086, -0.030845701694488525, -0.827735424041748, -0.6092194318771362, -0.707789659500...
func (r *PullsListCommitsReq) HTTPRequest(ctx context.Context, opt ...RequestOption) (*http.Request, error) { return buildHTTPRequest(ctx, r, opt) }
[ -0.2824888229370117, 0.23648032546043396, 0.36797767877578735, -0.1297280639410019, 0.444831520318985, 0.029317177832126617, -0.46079221367836, 0.3960692882537842, 0.060558099299669266, -0.3366391956806183, 0.6600857377052307, 0.6329616904258728, -0.5343336462974548, -0.2868366837501526, ...
func (r *PullsListCommitsReq) Rel(link RelName, resp *PullsListCommitsResponse) bool { u := resp.RelLink(link) if u == "" { return false } r._url = u return true }
[ 0.377134770154953, 0.08118090033531189, 0.44714248180389404, -0.321870893239975, -0.06623958051204681, 0.17209184169769287, -0.26799657940864563, 0.895156979560852, 0.3986179828643799, -0.638348400592804, -0.44627845287323, -0.6856427788734436, -0.7362445592880249, -0.7602972388267517, -...
func (r *PullsListFilesReq) HTTPRequest(ctx context.Context, opt ...RequestOption) (*http.Request, error) { return buildHTTPRequest(ctx, r, opt) }
[ -0.3661373257637024, 0.10956628620624542, 0.45438748598098755, 0.31256937980651855, 0.4686547815799713, 0.5520552396774292, -0.17137834429740906, 0.6149474382400513, 0.09729953855276108, -0.7539708018302917, 0.6180142164230347, 0.31461673974990845, -0.35763484239578247, -0.3047436773777008...
func (r *PullsListFilesReq) Rel(link RelName, resp *PullsListFilesResponse) bool { u := resp.RelLink(link) if u == "" { return false } r._url = u return true }
[ 0.08456851541996002, 0.1309775412082672, 0.5222203135490417, 0.129187673330307, 0.00971236266195774, 0.3460611402988434, -0.16715550422668457, 0.9299560785293579, 0.41420769691467285, -1.1274030208587646, -0.4868316650390625, -1.0420506000518799, -0.6980018615722656, -0.7166842818260193, ...
func (r *PullsListRequestedReviewersReq) HTTPRequest(ctx context.Context, opt ...RequestOption) (*http.Request, error) { return buildHTTPRequest(ctx, r, opt) }
[ -1.0987719297409058, 0.05694453790783882, 0.4902530610561371, 0.34853923320770264, 0.3197377324104309, 0.5924824476242065, -0.935878336429596, 0.7257437705993652, 0.06470496207475662, -0.44436100125312805, 0.8983955979347229, 1.1538969278335571, -0.4126526713371277, -0.3823150396347046, ...
func (r *PullsListRequestedReviewersReq) Rel(link RelName, resp *PullsListRequestedReviewersResponse) bool { u := resp.RelLink(link) if u == "" { return false } r._url = u return true }
[ -0.5197113752365112, 0.10062926262617111, 0.5436201691627502, 0.2897382378578186, -0.4474668800830841, 0.24553827941417694, -0.8966120481491089, 0.9432367086410522, 0.366586834192276, -0.8545342087745667, -0.03886895626783371, -0.5954833030700684, -0.694240391254425, -0.8450009226799011, ...
func (r *PullsListReviewCommentsReq) HTTPRequest(ctx context.Context, opt ...RequestOption) (*http.Request, error) { return buildHTTPRequest(ctx, r, opt) }
[ -0.46352750062942505, -0.13666270673274994, 0.5799981951713562, -0.2301177978515625, 0.4979088306427002, 0.5973361730575562, -0.4253728985786438, 0.48079025745391846, -0.06897520273923874, -0.3557373583316803, 0.8688424229621887, 0.9225245118141174, -0.5487393140792847, -0.1516636610031128...
func (r *PullsListReviewCommentsReq) Rel(link RelName, resp *PullsListReviewCommentsResponse) bool { u := resp.RelLink(link) if u == "" { return false } r._url = u return true }
[ 0.07491418719291687, -0.0070192888379096985, 0.6126387715339661, -0.11495106667280197, -0.2337658554315567, 0.2572970688343048, -0.29267215728759766, 0.5453352928161621, 0.30221906304359436, -0.8285946249961853, -0.14065782725811005, -0.7718092203140259, -0.7187091112136841, -0.77266138792...
func (r *PullsListReviewCommentsForRepoReq) HTTPRequest(ctx context.Context, opt ...RequestOption) (*http.Request, error) { return buildHTTPRequest(ctx, r, opt) }
[ -0.6993498802185059, -0.11221673339605331, 0.5546010732650757, -0.3109787702560425, 0.688444972038269, 0.15035201609134674, -0.26350560784339905, 0.4413331151008606, 0.045625414699316025, -0.3677810728549957, 0.8695148825645447, 0.8425495624542236, -0.29926976561546326, -0.0018861807184293...
func (r *PullsListReviewCommentsForRepoReq) Rel(link RelName, resp *PullsListReviewCommentsForRepoResponse) bool { u := resp.RelLink(link) if u == "" { return false } r._url = u return true }
[ -0.1961636245250702, -0.016954148188233376, 0.6150721311569214, -0.06080128997564316, -0.34517917037010193, 0.2286761999130249, -0.19556814432144165, 0.6637251973152161, 0.3145066201686859, -0.716032862663269, -0.15859763324260712, -0.8240781426429749, -0.6452341675758362, -0.8343896865844...
func (r *PullsListReviewsReq) HTTPRequest(ctx context.Context, opt ...RequestOption) (*http.Request, error) { return buildHTTPRequest(ctx, r, opt) }
[ -0.7386248707771301, 0.042063720524311066, 0.3849649429321289, 0.015098419971764088, 0.4392992854118347, 0.6646798849105835, -0.6252882480621338, 0.814015805721283, 0.2201942354440689, -0.6830654740333557, 0.8157456517219543, 1.0937951803207397, -0.3687601387500763, -0.3530121445655823, ...
func (r *PullsListReviewsReq) Rel(link RelName, resp *PullsListReviewsResponse) bool { u := resp.RelLink(link) if u == "" { return false } r._url = u return true }
[ -0.06142757833003998, -0.022965041920542717, 0.488395631313324, -0.05399477481842041, -0.36379289627075195, 0.43465879559516907, -0.5440636873245239, 1.0687040090560913, 0.6269828677177429, -0.7944891452789307, -0.32345718145370483, -0.6091204285621643, -0.6154109835624695, -0.803022623062...
func (r *PullsMergeReq) HTTPRequest(ctx context.Context, opt ...RequestOption) (*http.Request, error) { return buildHTTPRequest(ctx, r, opt) }
[ -0.6491025686264038, 0.11540884524583817, 0.6061277389526367, 0.37690749764442444, 0.4560734033584595, 0.24580718576908112, -0.10341360419988632, 0.2644304037094116, 0.35288476943969727, -0.5541172623634338, 0.6036386489868164, 0.6323719024658203, -0.3234473466873169, -0.17971999943256378,...
func (r *PullsMergeReq) Rel(link RelName, resp *PullsMergeResponse) bool { u := resp.RelLink(link) if u == "" { return false } r._url = u return true }
[ -0.01984134316444397, 0.10383253544569016, 0.5348033905029297, 0.041150037199258804, -0.1906173825263977, 0.21242767572402954, -0.051195863634347916, 1.1086543798446655, 0.48294562101364136, -0.855068027973175, -0.48690149188041687, -0.8436775207519531, -0.762402355670929, -0.5448125600814...
func (r *PullsRemoveRequestedReviewersReq) HTTPRequest(ctx context.Context, opt ...RequestOption) (*http.Request, error) { return buildHTTPRequest(ctx, r, opt) }
[ -0.5312408208847046, 0.016683530062437057, 0.6136062145233154, 0.18566663563251495, 0.04771175980567932, 0.34141966700553894, -0.7426694631576538, 1.029940128326416, 0.2073788046836853, -0.3457838296890259, 1.1252386569976807, 1.2692317962646484, -0.40324079990386963, -0.5241910815238953, ...
func (r *PullsRemoveRequestedReviewersReq) Rel(link RelName, resp *PullsRemoveRequestedReviewersResponse) bool { u := resp.RelLink(link) if u == "" { return false } r._url = u return true }
[ -0.24500493705272675, 0.14202286303043365, 0.6094238758087158, 0.19917361438274384, -0.48856213688850403, 0.08081649988889694, -0.6800287365913391, 1.1379098892211914, 0.2827780544757843, -0.87725830078125, -0.026669232174754143, -0.49888309836387634, -0.7828323841094971, -1.00502681732177...
func (r *PullsRequestReviewersReq) HTTPRequest(ctx context.Context, opt ...RequestOption) (*http.Request, error) { return buildHTTPRequest(ctx, r, opt) }
[ -0.7991858124732971, 0.002537171822041273, 0.46389010548591614, 0.2592950761318207, 0.18808571994304657, 0.7903603315353394, -1.0194964408874512, 0.5468633770942688, -0.044259704649448395, -0.5079907178878784, 1.1888980865478516, 1.1900722980499268, -0.4413801431655884, -0.5207575559616089...
func (r *PullsRequestReviewersReq) Rel(link RelName, resp *PullsRequestReviewersResponse) bool { u := resp.RelLink(link) if u == "" { return false } r._url = u return true }
[ -0.21683557331562042, 0.09711712598800659, 0.5063260793685913, 0.19258469343185425, -0.4962620437145233, 0.3047523498535156, -0.8131359219551086, 0.7966464757919312, 0.2061387151479721, -0.8133769035339355, 0.15745702385902405, -0.6421785354614258, -0.6665977239608765, -0.8941272497177124,...
func (r *PullsSubmitReviewReq) HTTPRequest(ctx context.Context, opt ...RequestOption) (*http.Request, error) { return buildHTTPRequest(ctx, r, opt) }
[ -0.5072569847106934, 0.05884961783885956, 0.4480331540107727, 0.10418727248907089, 0.030571406707167625, 0.920438826084137, -0.9752513766288757, 0.7621396780014038, 0.05416271090507507, -0.4723544120788574, 1.2038352489471436, 1.2180238962173462, -0.30811989307403564, -0.2936369776725769, ...
func (r *PullsSubmitReviewReq) Rel(link RelName, resp *PullsSubmitReviewResponse) bool { u := resp.RelLink(link) if u == "" { return false } r._url = u return true }
[ 0.12488940358161926, 0.043137822300195694, 0.47510233521461487, 0.018919935449957848, -0.596375048160553, 0.5984488129615784, -0.7266054749488831, 0.9486044645309448, 0.26204001903533936, -0.9288456439971924, 0.14646804332733154, -0.5719723105430603, -0.5339047908782959, -0.710776686668396...
func (r *PullsUpdateReq) HTTPRequest(ctx context.Context, opt ...RequestOption) (*http.Request, error) { return buildHTTPRequest(ctx, r, opt) }
[ -0.727489173412323, -0.2779576778411865, 0.4966486096382141, 0.3564421236515045, -0.059950631111860275, 0.7292848825454712, -0.646862804889679, 0.42987796664237976, 0.3345683217048645, -0.24373584985733032, 0.7523428201675415, 0.533115804195404, -0.35703104734420776, -0.6255346536636353, ...
func (r *PullsUpdateReq) Rel(link RelName, resp *PullsUpdateResponse) bool { u := resp.RelLink(link) if u == "" { return false } r._url = u return true }
[ -0.0850224569439888, -0.19114714860916138, 0.5873598456382751, 0.15021568536758423, -0.49069350957870483, 0.5574751496315002, -0.5887123346328735, 0.8821369409561157, 0.5835792422294617, -0.8736236095428467, -0.35588952898979187, -0.9507681727409363, -0.5907509922981262, -0.943907558917999...
func (r *PullsUpdateBranchReq) HTTPRequest(ctx context.Context, opt ...RequestOption) (*http.Request, error) { return buildHTTPRequest(ctx, r, opt) }
[ -0.5543770790100098, 0.052262019366025925, 0.5800280570983887, 0.7032340168952942, -0.0620223805308342, 0.630888044834137, -0.48812174797058105, 0.19805602729320526, 0.1303585320711136, -0.22260227799415588, 0.5875851511955261, 0.7478346228599548, -0.8415887951850891, -0.3360051214694977, ...
func (r *PullsUpdateBranchReq) Rel(link RelName, resp *PullsUpdateBranchResponse) bool { u := resp.RelLink(link) if u == "" { return false } r._url = u return true }
[ 0.08535633981227875, 0.015160717070102692, 0.6001735329627991, 0.3461768925189972, -0.322277694940567, 0.5286388993263245, -0.45190104842185974, 0.6943062543869019, 0.40727031230926514, -0.9504610896110535, -0.21532286703586578, -0.8200337886810303, -0.9884073734283447, -0.7633739709854126...
func (r *PullsUpdateReviewReq) HTTPRequest(ctx context.Context, opt ...RequestOption) (*http.Request, error) { return buildHTTPRequest(ctx, r, opt) }
[ -0.8390969038009644, -0.06618760526180267, 0.4838148355484009, 0.17635652422904968, -0.16540563106536865, 0.9434659481048584, -0.8238272666931152, 0.6940101385116577, 0.07490526884794235, -0.3052954375743866, 0.9723809957504272, 0.9217366576194763, -0.37581494450569153, -0.5304909944534302...
func (r *PullsUpdateReviewReq) Rel(link RelName, resp *PullsUpdateReviewResponse) bool { u := resp.RelLink(link) if u == "" { return false } r._url = u return true }
[ -0.12044388055801392, -0.10736548155546188, 0.5650644898414612, 0.0975482240319252, -0.7439124584197998, 0.5724560022354126, -0.7420660853385925, 0.9382672905921936, 0.4346991777420044, -0.7951664924621582, -0.019155198708176613, -0.8796249628067017, -0.6254258751869202, -0.913354754447937...
func (r *PullsUpdateReviewCommentReq) HTTPRequest(ctx context.Context, opt ...RequestOption) (*http.Request, error) { return buildHTTPRequest(ctx, r, opt) }
[ -0.6908662915229797, -0.30425605177879333, 0.6283102035522461, -0.039054788649082184, 0.2299758493900299, 0.7601035833358765, -0.3027837574481964, 0.48371589183807373, -0.10934465378522873, 0.06013381481170654, 0.8546570539474487, 0.751463770866394, -0.5587646961212158, -0.4356280565261841...
func (r *PullsUpdateReviewCommentReq) Rel(link RelName, resp *PullsUpdateReviewCommentResponse) bool { u := resp.RelLink(link) if u == "" { return false } r._url = u return true }
[ 0.013478106819093227, -0.2143942266702652, 0.6601770520210266, -0.03771113231778145, -0.40039369463920593, 0.3859872817993164, -0.243952676653862, 0.6451676487922668, 0.35247698426246643, -0.6326597929000854, -0.16331620514392853, -0.9029762744903564, -0.6773544549942017, -0.96535176038742...
func (c *generateMigrationCommand) Run(args []string) error { if len(args) < 1 || args[0] == "" { return fmt.Errorf("no NAME given") } name := args[0] if c.option.ORM == "" { c.option.ORM = defaultORM } orm, exists := ORM[c.option.ORM] if !exists { return fmt.Errorf("unsupported ORM: `%v'", c.option.ORM) ...
[ -0.34108439087867737, 0.11324243992567062, 1.2151144742965698, -0.27350836992263794, -0.029768329113721848, 0.4374881386756897, 0.6892266869544983, -0.13989563286304474, -0.41685381531715393, 1.0173436403274536, -1.1223726272583008, 0.05721205845475197, -0.468028724193573, 0.40442082285881...
func (m InstanceReservationConfigDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { return true, fmt.Errorf(strings.Join(errMessage, "\n")) } return false, nil }
[ -1.077597975730896, 0.07860106974840164, 0.6024280190467834, -0.5741627812385559, -0.4355980455875397, 0.9028950929641724, 0.7516786456108093, 0.2978352904319763, -0.8721160292625427, 0.726986825466156, -0.10010895878076553, -0.09720611572265625, -0.5319227576255798, 1.3015319108963013, ...
func NewCustconfTimePseudoStreaming() *CustconfTimePseudoStreaming { this := CustconfTimePseudoStreaming{} return &this }
[ -0.009329041466116905, 0.48157763481140137, 0.24918772280216217, -0.12006841599941254, -0.9392080307006836, -0.12099875509738922, 0.1983782798051834, 0.34846147894859314, -0.6544708013534546, -0.013057546690106392, -0.5960765480995178, -0.4084937572479248, -0.5459195971488953, -0.052847687...
func NewCustconfTimePseudoStreamingWithDefaults() *CustconfTimePseudoStreaming { this := CustconfTimePseudoStreaming{} return &this }
[ 0.1962398737668991, 0.7237069010734558, 0.19334688782691956, 0.26906818151474, -0.06014574319124222, 0.04620692878961563, -0.6128689646720886, 0.3968091309070587, -0.48689165711402893, -0.4421331286430359, -0.857420027256012, -1.068269968032837, -0.9518612623214722, 0.016395987942814827, ...
func (o *CustconfTimePseudoStreaming) GetId() string { if o == nil || o.Id == nil { var ret string return ret } return *o.Id }
[ 1.1177572011947632, 0.029193906113505363, 0.2743085026741028, 0.9378519654273987, 0.3893042802810669, 0.4500904679298401, 0.6359542012214661, -0.22380833327770233, 1.701492428779602, -0.2231864035129547, -0.18172767758369446, -1.0501266717910767, -1.0915117263793945, 0.7858630418777466, ...
func (o *CustconfTimePseudoStreaming) GetIdOk() (*string, bool) { if o == nil || o.Id == nil { return nil, false } return o.Id, true }
[ -0.5255686044692993, 0.8088029026985168, 0.3402632474899292, 1.1269317865371704, 0.4384004771709442, 0.23223252594470978, 0.5109570026397705, 0.7747122049331665, 0.9924201965332031, -0.04412006214261055, -0.9890315532684326, -0.4339503049850464, -0.4578673839569092, 0.24725109338760376, ...
func (o *CustconfTimePseudoStreaming) HasId() bool { if o != nil && o.Id != nil { return true } return false }
[ 1.2129290103912354, 0.02826128527522087, 0.3727725148200989, 0.6662484407424927, 0.48111650347709656, 0.6725025177001953, -0.12735027074813843, 0.6936657428741455, 1.3899195194244385, -0.41039755940437317, -0.5201766490936279, -0.6389918923377991, -1.015887975692749, 0.4156723916530609, ...
func (o *CustconfTimePseudoStreaming) SetId(v string) { o.Id = &v }
[ 0.7477508783340454, -0.01780235767364502, -0.14344483613967896, 0.21417638659477234, -0.9148042798042297, 0.5423171520233154, -0.426468163728714, -0.2872884273529053, 0.7749776840209961, 0.5381937026977539, -0.31928113102912903, 0.5405972003936768, -1.0438270568847656, -0.05529662221670151...
func (o *CustconfTimePseudoStreaming) GetJumpToTimeStartParam() string { if o == nil || o.JumpToTimeStartParam == nil { var ret string return ret } return *o.JumpToTimeStartParam }
[ -0.5212719440460205, -0.2574130594730377, 0.6948714852333069, -0.31525781750679016, 0.07675497233867645, 0.461402028799057, 0.16767196357250214, -0.9857285022735596, 0.5342113971710205, 0.6750308275222778, 0.047255195677280426, -0.2492993324995041, -0.2557319402694702, 0.3499704897403717, ...
func (o *CustconfTimePseudoStreaming) GetJumpToTimeStartParamOk() (*string, bool) { if o == nil || o.JumpToTimeStartParam == nil { return nil, false } return o.JumpToTimeStartParam, true }
[ -1.1008621454238892, 0.3396691381931305, 0.8295116424560547, 0.32848092913627625, 0.09711110591888428, 0.39216160774230957, 0.2814582586288452, 0.061257537454366684, 0.45754367113113403, 0.9646317362785339, -0.47544750571250916, -0.12818771600723267, 0.6245886087417603, 0.4461019039154053,...
func (o *CustconfTimePseudoStreaming) HasJumpToTimeStartParam() bool { if o != nil && o.JumpToTimeStartParam != nil { return true } return false }
[ -0.606414794921875, -0.0017912181792780757, 0.7636862397193909, -0.713117241859436, 0.3455100357532501, -0.18669843673706055, -0.23499749600887299, -0.3661114573478699, -0.048740312457084656, 0.4999866485595703, -0.7739486694335938, -0.31584542989730835, 0.29440826177597046, 0.836554706096...
func (o *CustconfTimePseudoStreaming) SetJumpToTimeStartParam(v string) { o.JumpToTimeStartParam = &v }
[ -0.640446126461029, -0.35467618703842163, 0.4290122091770172, -1.1255954504013062, -0.4520781636238098, 0.7150149345397949, 0.05068506300449371, -0.610190212726593, -0.0690963864326477, 1.03891921043396, -0.1211073026061058, 0.504758894443512, 0.0015782533446326852, -0.07868006080389023, ...
func (o *CustconfTimePseudoStreaming) GetJumpToTimeEndParam() string { if o == nil || o.JumpToTimeEndParam == nil { var ret string return ret } return *o.JumpToTimeEndParam }
[ -0.4159759283065796, 0.3452213406562805, 0.7233936190605164, -0.2413070648908615, 0.0997454896569252, 0.6022475957870483, 0.04293811693787575, -0.7763372659683228, -0.7066761255264282, 1.0205843448638916, -0.1512172669172287, -0.29845255613327026, -0.3393844962120056, 0.8523426055908203, ...
func (o *CustconfTimePseudoStreaming) GetJumpToTimeEndParamOk() (*string, bool) { if o == nil || o.JumpToTimeEndParam == nil { return nil, false } return o.JumpToTimeEndParam, true }
[ -1.2024643421173096, 0.6514552235603333, 0.798641562461853, -0.01930873654782772, 0.16240179538726807, 0.45406219363212585, -0.00949521642178297, 0.15543067455291748, -0.444405734539032, 1.4280951023101807, -0.6218600869178772, -0.35873135924339294, 0.4667403995990753, 0.7264049649238586, ...
func (o *CustconfTimePseudoStreaming) HasJumpToTimeEndParam() bool { if o != nil && o.JumpToTimeEndParam != nil { return true } return false }
[ -0.32614660263061523, 0.3972832262516022, 0.7379988431930542, -0.6722524762153625, 0.3749889135360718, -0.11445847898721695, -0.3836768567562103, -0.0695313811302185, -1.2703030109405518, 0.6777865886688232, -0.718884289264679, -0.3071446418762207, 0.32630300521850586, 1.417600393295288, ...
func (o *CustconfTimePseudoStreaming) SetJumpToTimeEndParam(v string) { o.JumpToTimeEndParam = &v }
[ -0.607426643371582, 0.1937607377767563, 0.30743080377578735, -1.136933445930481, -0.08499510586261749, 0.6443405151367188, -0.1749209761619568, -0.42561548948287964, -1.1217643022537231, 1.098520040512085, -0.33785998821258545, 0.3746360242366791, -0.3294307291507721, 0.44522809982299805, ...
func (o *CustconfTimePseudoStreaming) GetEnabled() bool { if o == nil || o.Enabled == nil { var ret bool return ret } return *o.Enabled }
[ 0.5046839714050293, 0.5280096530914307, 0.30472874641418457, 0.9360356330871582, -0.2260419875383377, -0.18975725769996643, 0.24754172563552856, 0.6294434666633606, 0.5205245018005371, -0.42662107944488525, -0.5795255303382874, -0.4328126311302185, -1.4215401411056519, 0.6927757859230042, ...
func (o *CustconfTimePseudoStreaming) GetEnabledOk() (*bool, bool) { if o == nil || o.Enabled == nil { return nil, false } return o.Enabled, true }
[ 0.4962872266769409, 0.2710282802581787, 0.01705632358789444, 0.7794819474220276, -0.4554138779640198, 0.32817861437797546, 0.7468876838684082, 0.8340913653373718, 0.09691199660301208, 0.13004188239574432, -1.2900972366333008, -0.19007159769535065, -0.5469690561294556, 0.7033781409263611, ...
func (o *CustconfTimePseudoStreaming) HasEnabled() bool { if o != nil && o.Enabled != nil { return true } return false }
[ 1.0614861249923706, 0.7185342907905579, 0.06830959022045135, 0.33304256200790405, 0.4470086097717285, -0.20815254747867584, -0.49489641189575195, 1.2755764722824097, 0.11276694387197495, -0.05258916690945625, -0.955322802066803, -0.5928796529769897, -0.8313030004501343, 0.5476652979850769,...
func (o *CustconfTimePseudoStreaming) SetEnabled(v bool) { o.Enabled = &v }
[ 0.5207667946815491, 1.0076959133148193, 0.09529181569814682, 0.7597577571868896, -0.6135902404785156, 0.21412266790866852, -0.471527636051178, -0.08314843475818634, -0.44839057326316833, 0.6014455556869507, -0.5765547752380371, 0.377152681350708, -1.0825611352920532, 0.006908789277076721, ...
func getMailFromMessage(data []byte, messageType string, h message.Header) (*message.Mail, error) { if err := checkMessageType(wire.MailCode, messageType, data, h); err != nil { return nil, err } return message.CreateMailFromBytes(data, h) }
[ 0.28615453839302063, 0.22074063122272491, 0.36444520950317383, 0.3098943531513214, 0.027710629627108574, 0.4311116337776184, -0.8318423628807068, -0.7209965586662292, 0.48540282249450684, -0.3454825282096863, 0.08732166886329651, 1.2357438802719116, -1.6216052770614624, 0.22530561685562134...
func checkMessageType(expectedType, actualType string, data []byte, h message.Header) error { if actualType == wire.ErrorCode { return adErrors.CreateErrorFromBytes(data, h) } if actualType != expectedType { return fmt.Errorf("Expected Type %s, but received %s.", actualType, expectedType) } return nil }
[ 0.19069260358810425, -0.09539828449487686, 0.5958086252212524, -0.19708634912967682, 0.3578752875328064, -0.047194793820381165, -0.5163953304290771, -0.7334098219871521, -0.053596701472997665, 1.1615972518920898, 0.3668628931045532, 0.6884612441062927, -0.5597591996192932, 0.97619479894638...
func (c *Client) getMessageListFromServer(since uint64, loc *Location) ([]*message.Mail, error) { transferRequest := server.CreateTransferMessageList( since, // The earliest message to be returned c.Origin.Address, // The user sending the message loc.Server, // The server performing the transfer...
[ -0.23357658088207245, -0.8601709008216858, 0.6131561994552612, -0.10553356260061264, -0.2927562892436981, -0.07640597224235535, 0.06299091875553131, -0.3518107831478119, -0.1900993436574936, 0.2822321653366089, -0.6431914567947388, 0.8011590242385864, -0.6540846824645996, 1.255854129791259...
func NewFlowMapper(args *Args) *FlowMapper { return &FlowMapper{workdir: args.WorkDir, mapfile: args.MapFile} }
[ -0.595970869064331, -1.6931135654449463, 0.364023894071579, 0.08905203640460968, -1.091333270072937, 0.7847927808761597, 0.4761115312576294, -0.9411991834640503, 0.605243980884552, -0.6377772092819214, -0.20831739902496338, -0.25708088278770447, -0.4506381154060364, 0.9043811559677124, 0...
func (m *FlowMapper) Run() { m.flowMap = ReadFlowMap(m.mapfile) zips := GetZipNames(m.workdir) for _, name := range zips { sourcePath := filepath.Join(m.workdir, name) targetPath := filepath.Join(m.workdir, "peflocus_"+name) DeleteExisting(targetPath) log.Println("INFO: map flows in", sourcePath, "to", targe...
[ -0.9049599170684814, -1.715947151184082, 0.6523468494415283, -0.502011775970459, 0.2523367404937744, 0.8437138199806213, 1.6019322872161865, 0.25044652819633484, 0.9730069637298584, -0.33806103467941284, -0.4728683829307556, -0.3741814196109772, -0.23689883947372437, 0.5418898463249207, ...
func (c *Config) Validate() error { names := make(map[string]struct{}, len(c.Configs)) for idx, c := range c.Configs { if c.Name == "" { return fmt.Errorf("tempo config at index %d is missing a name", idx) } if _, exist := names[c.Name]; exist { return fmt.Errorf("found multiple tempo configs with name %s...
[ -0.2594556212425232, 0.5362235307693481, 0.5014190077781677, -0.7669774293899536, 0.267637699842453, -0.2562757730484009, -0.06931136548519135, -0.5468868613243103, -0.969753623008728, 1.281426191329956, -0.8492713570594788, -0.7458665370941162, -0.49598515033721924, 0.8149973154067993, ...
func exporter(remoteWriteConfig RemoteWriteConfig) (map[string]interface{}, error) { if len(remoteWriteConfig.Endpoint) == 0 { return nil, errors.New("must have a configured a backend endpoint") } headers := map[string]string{} if remoteWriteConfig.Headers != nil { headers = remoteWriteConfig.Headers } if r...
[ 0.0755927711725235, -0.8760325908660889, 0.856179416179657, 0.18088550865650177, -0.8699248433113098, -0.8495576977729797, -0.650242269039154, -0.5601053833961487, 0.239980086684227, 0.8569231033325195, -0.23702040314674377, -0.1935216188430786, -0.38845014572143555, 0.15967731177806854, ...
func (c *InstanceConfig) exporters() (map[string]interface{}, error) { if len(c.RemoteWrite) == 0 { otlpExporter, err := exporter(RemoteWriteConfig{ Endpoint: c.PushConfig.Endpoint, Compression: c.PushConfig.Compression, Insecure: c.PushConfig.Insecure, InsecureSkipVerify: c.Pu...
[ -0.999040961265564, -0.37222304940223694, 0.5738841891288757, -0.5847107172012329, -0.27854135632514954, -0.006631589960306883, -0.626903772354126, 0.13151800632476807, -0.08050688356161118, 1.2214736938476562, -0.19182178378105164, 0.18457086384296417, -0.7369102239608765, 0.4627985358238...
func tracingFactories() (component.Factories, error) { extensions, err := component.MakeExtensionFactoryMap() if err != nil { return component.Factories{}, err } receivers, err := component.MakeReceiverFactoryMap( jaegerreceiver.NewFactory(), zipkinreceiver.NewFactory(), otlpreceiver.NewFactory(), opence...
[ -0.017040854319930077, 0.17784616351127625, 0.7404107451438904, -0.15889587998390198, 0.08697458356618881, -0.3220115303993225, 0.8226574659347534, -0.6841895580291748, 0.7847727537155151, -1.117940068244934, -0.4283939003944397, -0.6043310761451721, 0.2524653673171997, -0.4557214677333832...
func (r *CustomResourceDiscoverySetReconciler) Reconcile(req ctrl.Request) (ctrl.Result, error) { var ( ctx = context.Background() result ctrl.Result ) crDiscoverySet := &corev1alpha1.CustomResourceDiscoverySet{} if err := r.Get(ctx, req.NamespacedName, crDiscoverySet); err != nil { return result, client....
[ -0.10491323471069336, -0.07858657091856003, 0.5287579894065857, -0.09055910259485245, 0.08104362338781357, -0.6472001075744629, 0.5315738320350647, -0.5454330444335938, -0.23011544346809387, -0.39260250329971313, 0.5126889944076538, -0.08881667256355286, -0.5188843011856079, 0.674779355525...
func (c *Component) Server() *grpc.Server { return c.srv }
[ -0.7143085598945618, -1.2763075828552246, 0.14381064474582672, -0.011874085292220116, 0.8735727071762085, 0.7010672688484192, 0.8955901861190796, 0.14839066565036774, 0.3122471570968628, -1.014473557472229, -0.16001540422439575, 0.45822617411613464, -1.0973960161209106, -0.1260394155979156...
func (c *Component) Run(ctx context.Context) error { lis, err := net.Listen("tcp", fmt.Sprintf(":%d", c.port)) if err != nil { return fmt.Errorf("failed to listen: %w", err) } go func() { <-ctx.Done() c.srv.GracefulStop() }() slog.Debug("gRPC component listening", slog.Int("port", c.port)) return c.srv.S...
[ -0.4202410876750946, -0.32304927706718445, 0.5532346367835999, -1.010393500328064, 0.8397223353385925, 0.7239090800285339, 0.711746871471405, -0.03276467323303223, -0.47855129837989807, 0.11650920659303665, -0.22766512632369995, -0.3847951292991638, -0.8492373824119568, -0.4237475097179413...
func (f *Flow) Do(cb interface{}) { f.Consume(1, cb) }
[ 0.3201276659965515, 0.20382016897201538, 0.6072922945022583, 0.7245449423789978, 0.698552131652832, 0.6198792457580566, 0.1418791264295578, -1.1736429929733276, -0.07789868116378784, 0.23072068393230438, -0.7504794001579285, 0.6609756350517273, 0.019874513149261475, 0.8255568742752075, -...
func Lit(v interface{}) *Statement { return newStatement().Lit(v) }
[ 0.609401285648346, -0.8138666152954102, 0.22242747247219086, -0.9377037882804871, -1.5545790195465088, -0.006527160760015249, -0.8110493421554565, -0.7295443415641785, 0.9008240699768066, -0.30537739396095276, -0.42620956897735596, -0.8087899088859558, -0.6876854300498962, -0.2698795199394...
func (g *Group) Lit(v interface{}) *Statement { s := Lit(v) g.items = append(g.items, s) return s }
[ 0.18497751653194427, -0.593803346157074, 0.2580360472202301, -1.7381229400634766, -1.1439762115478516, 0.24484968185424805, -0.8895168304443359, -0.7877667546272278, 0.04809124395251274, 0.1674814522266388, -0.26762476563453674, -0.6342668533325195, -0.41464290022850037, -0.416074007749557...
func (s *Statement) Lit(v interface{}) *Statement { t := token{ typ: literalToken, content: v, } *s = append(*s, t) return s }
[ 0.630977988243103, -0.7208950519561768, 0.2752259373664856, -1.8121144771575928, -1.0856983661651611, 0.46965616941452026, -1.6841238737106323, -0.19828367233276367, 0.41257596015930176, -0.36036261916160583, -0.7197946906089783, -0.6123629808425903, 0.1589736044406891, -0.392132043838501,...
func LitFunc(f func() interface{}) *Statement { return newStatement().LitFunc(f) }
[ 1.0964406728744507, -0.13990119099617004, 0.23014801740646362, -0.5549324750900269, -1.0345538854599, -0.43428072333335876, -0.21065479516983032, 0.4081134796142578, 0.5141815543174744, -0.33320873975753784, -0.14911647140979767, 0.17940619587898254, 0.7513077855110168, -0.0977914929389953...
func (g *Group) LitFunc(f func() interface{}) *Statement { s := LitFunc(f) g.items = append(g.items, s) return s }
[ 0.513950526714325, -0.2727370858192444, 0.2933303415775299, -1.2251101732254028, -0.5952513217926025, 0.010797488503158092, -0.12031538784503937, 0.2686809301376343, -0.22312895953655243, -0.2101818323135376, -0.05393391102552414, 0.12322518229484558, 0.654144287109375, -0.3801933228969574...
func (s *Statement) LitFunc(f func() interface{}) *Statement { t := token{ typ: literalToken, content: f(), } *s = append(*s, t) return s }
[ 0.9492887258529663, -0.26922285556793213, 0.31745123863220215, -1.1357848644256592, -0.6798608303070068, -0.23442845046520233, -0.831960916519165, 0.6321182250976562, 0.044331107288599014, -0.7064846754074097, -0.3074599504470825, 0.4115373194217682, 1.0680820941925049, -0.2202507853507995...
func Dict(m map[Code]Code) *Statement { return newStatement().Dict(m) }
[ -0.39886239171028137, 0.079165518283844, 0.05649207532405853, -0.21820998191833496, -1.870194673538208, -0.16248813271522522, 0.2032754123210907, -0.08025825023651123, -0.165614053606987, 0.011100473813712597, 0.5301398038864136, -0.4479139447212219, -0.23873993754386902, 1.084221959114074...
func (g *Group) Dict(m map[Code]Code) *Statement { s := Dict(m) g.items = append(g.items, s) return s }
[ -0.5465327501296997, 0.3306390345096588, 0.09077673405408859, -0.7427626848220825, -0.9350547194480896, 0.2879309356212616, 0.3034926652908325, -0.2790673077106476, -0.8009713888168335, 0.20835846662521362, 0.4856344163417816, -0.22479470074176788, -0.15949292480945587, 0.8705803751945496,...
func (s *Statement) Dict(m map[Code]Code) *Statement { d := dict{ m: m, } *s = append(*s, d) return s }
[ -0.18228812515735626, 0.5319347977638245, 0.13346971571445465, -0.329569011926651, -1.11409592628479, 0.32371243834495544, 0.06087160110473633, 0.0417146272957325, -0.11860696226358414, -0.23324042558670044, 0.4156217575073242, 0.058171793818473816, 0.473737508058548, 1.1114451885223389, ...
func DictFunc(f func(map[Code]Code)) *Statement { return newStatement().DictFunc(f) }
[ -0.09344365447759628, 0.0647679790854454, 0.25622546672821045, -0.5756157040596008, -1.174462080001831, -0.6156896948814392, 0.2892950475215912, 0.7067705988883972, -0.1758866012096405, 0.13235428929328918, 0.6694755554199219, 0.44427886605262756, 1.492071509361267, 0.3527105748653412, -...
func (g *Group) DictFunc(f func(map[Code]Code)) *Statement { s := DictFunc(f) g.items = append(g.items, s) return s }
[ -0.210606649518013, 0.01079620886594057, 0.33996254205703735, -0.7759289741516113, -0.6309160590171814, -0.29818153381347656, 0.3581737279891968, 0.5653177499771118, -0.5424031019210815, 0.23903264105319977, 0.591361403465271, 0.5389794111251831, 1.4330096244812012, 0.16127139329910278, ...
func (s *Statement) DictFunc(f func(map[Code]Code)) *Statement { m := map[Code]Code{} f(m) ml := dict{ m: m, } *s = append(*s, ml) return s }
[ 0.1422806829214096, 0.1500663161277771, 0.34375646710395813, -0.5808083415031433, -0.8003891706466675, -0.40236639976501465, -0.08729342371225357, 0.8898248672485352, -0.18804931640625, 0.07187364995479584, 0.6320174336433411, 0.40827256441116333, 1.5772113800048828, 0.7986292839050293, ...
func (d *dumper) doDump(fmt string, a []interface{}) { end := len(fmt) //formatLoop: for i := 0; i < end; { lasti := i for i < end && fmt[i] != '%' { i++ } if i > lasti { d.buf.WriteString(fmt[lasti:i]) } i++ if i >= end { break } c := fmt[i] d.intel = false d.altFlag = false d.precV...
[ -0.6285015344619751, -0.2019064575433731, 1.0248185396194458, -0.41054558753967285, -0.30647003650665283, 0.36511945724487305, 0.571735143661499, -0.5230984687805176, 0.8943281173706055, -0.799667477607727, -0.11769828200340271, 0.03351445123553276, -0.12701894342899323, 0.6031113862991333...
func parsenum(s string, start, end int) (num int, isnum bool, newi int) { if start >= end { return 0, false, end } for newi = start; newi < end && '0' <= s[newi] && s[newi] <= '9'; newi++ { if tooLarge(num) { return 0, false, end // Overflow; crazy long number most likely. } num = num*10 + int(s[newi]-'0'...
[ -0.19160273671150208, -0.25980204343795776, 0.7869731783866882, 0.22986634075641632, -0.1148187592625618, -0.6722623109817505, 0.42376214265823364, -0.03780559077858925, -0.02750551700592041, -0.3362787067890167, -0.7718234062194824, 0.27087414264678955, -0.032477956265211105, 0.0038652175...
func tooLarge(x int) bool { const max int = 1e6 return x > max || x < -max }
[ -0.24860288202762604, 0.9771511554718018, 0.5423457026481628, -0.49879780411720276, -0.9604670405387878, -0.2371276617050171, -0.8080963492393494, -1.0047987699508667, -0.2815406918525696, 0.21918144822120667, -0.015865949913859367, -0.3130880296230316, -0.5345030426979065, 0.1353076398372...
func Fprintf(w io.Writer, buf []byte, fmt string, a ...interface{}) (n int, err error) { var d dumper d.input = buf d.doDump(fmt, a) n, err = w.Write(d.buf.Bytes()) return }
[ -0.22516289353370667, -0.007757212966680527, 0.333352267742157, 0.057185981422662735, 0.11927670985460281, -0.39176154136657715, 0.6318108439445496, -0.48942673206329346, 0.13501355051994324, -0.9101181030273438, -0.4057980477809906, -0.346945583820343, -0.03369913250207901, 1.328758120536...
func Printf(buf []byte, fmt string, a ...interface{}) (n int, err error) { return Fprintf(os.Stdout, buf, fmt, a...) }
[ 0.34734880924224854, -0.2620871663093567, 0.4606653153896332, 0.6046169996261597, -0.45274609327316284, -0.8879048824310303, 0.3409581780433655, -0.2856510877609253, -0.5853627920150757, -0.723294198513031, -0.19117753207683563, 0.01313475240021944, -0.02489349991083145, 1.1734404563903809...
func Sprintf(buf []byte, fmt string, a ...interface{}) string { var d dumper d.input = buf d.doDump(fmt, a) return d.buf.String() }
[ -0.001607959857210517, -0.37654775381088257, 0.29605358839035034, -0.3699999749660492, -0.6709381341934204, 0.4210560619831085, -0.005066830199211836, -0.15042944252490997, 0.39349207282066345, -0.5508561134338379, -0.4545768201351166, -0.08336084336042404, 0.3781043291091919, 0.6632000803...
func NewRPCChainIO(rpcConfig rpcclient.ConnConfig, net *chaincfg.Params) (*RPCChainIO, error) { // TODO: bring back this. rpcclient/v6 changed the semantics of the // context passed to Connect(). /* connectTimeout := 30 * time.Second ctx, cancel := context.WithTimeout(context.Background(), connectTimeout) defe...
[ 0.09500342607498169, -0.6397627592086792, 0.746299684047699, 0.08209250122308731, 0.562029242515564, -0.15675973892211914, -0.48335590958595276, -0.1634468138217926, -1.3303226232528687, 0.009999241679906845, -0.4619883596897125, 0.03039846010506153, -0.8060389757156372, -0.019728304818272...
func (s *RPCChainIO) GetBestBlock() (*chainhash.Hash, int32, error) { s.mu.Lock() defer s.mu.Unlock() if s.chain == nil { return nil, 0, ErrUnconnected } hash, height, err := s.chain.GetBestBlock(context.TODO()) return hash, int32(height), err }
[ 0.3911813497543335, -0.11565162986516953, 0.7394711971282959, 1.0464121103286743, 0.17588086426258087, -0.22135131061077118, -0.20484746992588043, -0.660690426826477, -0.7654690742492676, -0.9486133456230164, -1.0483423471450806, 1.2580326795578003, -0.1981075406074524, 0.5128416419029236,...
func (s *RPCChainIO) GetUtxo(op *wire.OutPoint, pkScript []byte, heightHint uint32, cancel <-chan struct{}) (*wire.TxOut, error) { s.mu.Lock() defer s.mu.Unlock() if s.chain == nil { return nil, ErrUnconnected } txout, err := s.chain.GetTxOut(context.TODO(), &op.Hash, op.Index, op.Tree, false) if err != nil ...
[ 0.9686240553855896, 0.07846250385046005, 0.915838897228241, 0.530549168586731, -0.6437016725540161, -0.8136848211288452, 0.09886042773723602, 0.42674964666366577, -0.5813285708427429, 0.4724597930908203, -0.46999117732048035, 0.010648684576153755, 0.1307944506406784, -0.4096759557723999, ...
func (s *RPCChainIO) GetBlock(blockHash *chainhash.Hash) (*wire.MsgBlock, error) { s.mu.Lock() defer s.mu.Unlock() if s.chain == nil { return nil, ErrUnconnected } return s.chain.GetBlock(context.TODO(), blockHash) }
[ 0.7715755105018616, 0.9808084964752197, 0.6657673120498657, 1.2519025802612305, 1.257066011428833, -0.5219939947128296, 0.012140430510044098, -1.1782400608062744, 0.28068485856056213, -0.39993056654930115, 0.18594485521316528, 1.2440258264541626, -1.3648960590362549, 0.6829556226730347, ...
func (s *RPCChainIO) GetBlockHash(blockHeight int64) (*chainhash.Hash, error) { s.mu.Lock() defer s.mu.Unlock() if s.chain == nil { return nil, ErrUnconnected } return s.chain.GetBlockHash(context.TODO(), blockHeight) }
[ 0.7481970191001892, 0.5979818105697632, 0.6658839583396912, 1.6264766454696655, 0.4556061625480652, -0.3994060754776001, -0.12717196345329285, -1.4190654754638672, -0.7384212017059326, 0.22210754454135895, -0.5204694271087646, 1.0369024276733398, -1.5776029825210571, -0.37094104290008545, ...
func (s *SmartContract) Init(APIstub shim.ChaincodeStubInterface) sc.Response { return shim.Success(nil) }
[ -0.5243491530418396, 0.08938487619161606, 0.506217896938324, 0.07783778756856918, 0.08763840049505234, -0.6433934569358826, -0.0882711410522461, 0.7688431739807129, 0.3836457133293152, -0.6624517440795898, -0.5816953778266907, 0.5960165858268738, -0.5361734628677368, 0.08645450323820114, ...
func (s *SmartContract) Invoke(APIstub shim.ChaincodeStubInterface) sc.Response { // Retrieve the requested Smart Contract function and arguments function, args := APIstub.GetFunctionAndParameters() // Route to the appropriate handler function to interact with the ledger appropriately if function == "queryCard" { ...
[ -0.7140708565711975, 0.23764632642269135, 0.8353116512298584, 0.24132026731967926, -0.11278393864631653, -0.9338231086730957, -0.3324154019355774, 0.25162744522094727, 0.21013428270816803, -0.33180737495422363, -0.16775041818618774, 0.3538559675216675, -0.03254380449652672, -0.250394970178...
func main() { // Create a new Smart Contract err := shim.Start(new(SmartContract)) if err != nil { fmt.Printf("Error creating new Smart Contract: %s", err) } }
[ 0.9188963174819946, -0.04043641313910484, 0.726228654384613, 1.0211631059646606, 0.0017453532200306654, 0.0693558007478714, 0.410116970539093, 1.0851428508758545, 0.6619133353233337, -0.2647523581981659, -0.7748851180076599, 0.4329872727394104, -0.1346379667520523, -0.07924967259168625, ...