text
stringlengths
11
6.3k
embedding
listlengths
768
768
func (o *PiggyBankEvent) GetTransactionGroupId() string { if o == nil || o.TransactionGroupId == nil { var ret string return ret } return *o.TransactionGroupId }
[ 0.24634382128715515, 0.8786974549293518, -0.4916401505470276, -0.10176131129264832, -0.3342333734035492, -0.7258862257003784, 0.1240316703915596, -0.49594390392303467, 0.4139419496059418, 0.8178609609603882, 0.3811749815940857, -1.2868820428848267, -0.7313286066055298, 1.0746320486068726, ...
func (o *PiggyBankEvent) GetTransactionGroupIdOk() (*string, bool) { if o == nil || o.TransactionGroupId == nil { return nil, false } return o.TransactionGroupId, true }
[ 0.015783442184329033, 1.5812809467315674, 0.11135035753250122, 0.05278198421001434, 0.4012233316898346, -0.2811402678489685, 0.2322680503129959, 0.5714845061302185, -0.4426509439945221, 1.4014893770217896, -0.4367550015449524, -1.2606911659240723, -0.18822400271892548, 0.6794142723083496, ...
func (o *PiggyBankEvent) HasTransactionGroupId() bool { if o != nil && o.TransactionGroupId != nil { return true } return false }
[ 0.342149555683136, 1.0638505220413208, -0.44538816809654236, -0.8517231941223145, 0.01702558808028698, -1.454197645187378, -0.5358795523643494, 0.3472861051559448, -0.2610599398612976, 1.0314117670059204, -0.054770950227975845, -1.0035839080810547, -0.04834476858377457, 1.165935754776001, ...
func (o *PiggyBankEvent) SetTransactionGroupId(v string) { o.TransactionGroupId = &v }
[ 0.46701347827911377, 0.5098859071731567, -0.8214462995529175, -1.2611711025238037, -0.8896708488464355, -0.8440412878990173, -0.3287907540798187, -0.7112265229225159, -0.27508383989334106, 1.5617117881774902, 0.23533108830451965, 0.4237433671951294, -0.4027843773365021, 0.11933767795562744...
func (in *SesActiveReceiptRuleSet) DeepCopyInto(out *SesActiveReceiptRuleSet) { *out = *in out.TypeMeta = in.TypeMeta in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) in.Spec.DeepCopyInto(&out.Spec) in.Status.DeepCopyInto(&out.Status) }
[ 1.0892137289047241, -0.5579966902732849, 0.4368988573551178, -0.8030831217765808, -0.9904273152351379, -0.21000556647777557, 0.007100074086338282, 0.2667370140552521, -0.8739230036735535, 0.572047233581543, -0.16279730200767517, 0.7974872589111328, 0.5143546462059021, -0.9884541034698486, ...
func (in *SesActiveReceiptRuleSet) DeepCopy() *SesActiveReceiptRuleSet { if in == nil { return nil } out := new(SesActiveReceiptRuleSet) in.DeepCopyInto(out) return out }
[ 0.535884439945221, -0.3349819779396057, 0.22066457569599152, -0.6271582245826721, -0.5796040296554565, -0.17108729481697083, 0.17942474782466888, -0.012208942323923111, -0.029465388506650925, 1.0715197324752808, 0.3143419921398163, -0.42723315954208374, 0.7340020537376404, -1.3001931905746...
func (in *SesActiveReceiptRuleSet) DeepCopyObject() runtime.Object { if c := in.DeepCopy(); c != nil { return c } return nil }
[ 0.24477963149547577, -0.28823524713516235, 0.5107499957084656, -0.2722875475883484, -0.8440089821815491, 0.4247432053089142, 0.8372170925140381, 0.17456911504268646, -0.16711071133613586, 0.5090051293373108, -0.0061185890808701515, -0.2259083241224289, 0.5223338603973389, -1.02189242839813...
func (in *SesActiveReceiptRuleSetList) DeepCopyInto(out *SesActiveReceiptRuleSetList) { *out = *in out.TypeMeta = in.TypeMeta in.ListMeta.DeepCopyInto(&out.ListMeta) if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]SesActiveReceiptRuleSet, len(*in)) for i := range *in { (*in)[i].DeepCopy...
[ 0.6524999141693115, 0.07651771605014801, 0.5595329403877258, -0.15417252480983734, -0.9448621869087219, -0.11896894872188568, 0.23336629569530487, 0.254254013299942, -0.9503829479217529, 0.972597062587738, -0.3417176604270935, 0.7431949973106384, 0.18939560651779175, -0.7631821632385254, ...
func (in *SesActiveReceiptRuleSetList) DeepCopy() *SesActiveReceiptRuleSetList { if in == nil { return nil } out := new(SesActiveReceiptRuleSetList) in.DeepCopyInto(out) return out }
[ 0.5097086429595947, -0.20793218910694122, 0.2777540683746338, -0.0037607133854180574, -0.6664925217628479, 0.0594748929142952, 0.7709193229675293, -0.15641379356384277, -0.38496068120002747, 1.3904699087142944, -0.36486226320266724, -0.17472755908966064, 0.7063844203948975, -0.925820767879...
func (in *SesActiveReceiptRuleSetList) DeepCopyObject() runtime.Object { if c := in.DeepCopy(); c != nil { return c } return nil }
[ 0.06547437608242035, -0.1374386101961136, 0.5448796153068542, 0.10544857382774353, -0.9334706664085388, 0.533735990524292, 0.9588432908058167, 0.0564478263258934, -0.19531604647636414, 0.708979070186615, -0.5269877910614014, -0.16794055700302124, 0.642531156539917, -0.7655157446861267, -...
func (in *SesActiveReceiptRuleSetObservation) DeepCopyInto(out *SesActiveReceiptRuleSetObservation) { *out = *in }
[ 1.262142300605774, -0.055138930678367615, 0.22519400715827942, -0.263044148683548, -1.0599225759506226, 0.25122538208961487, 0.41566720604896545, 0.28663453459739685, -1.0705816745758057, 1.62984299659729, 0.37647679448127747, 0.5754392147064209, 0.8510538935661316, -1.2366235256195068, ...
func (in *SesActiveReceiptRuleSetObservation) DeepCopy() *SesActiveReceiptRuleSetObservation { if in == nil { return nil } out := new(SesActiveReceiptRuleSetObservation) in.DeepCopyInto(out) return out }
[ 0.5526658296585083, -0.2846572995185852, 0.07036956399679184, -0.3606427311897278, -0.8468530774116516, 0.2877000868320465, 0.5514604449272156, -0.1748044788837433, -0.383648157119751, 2.0635275840759277, 0.24873892962932587, -0.47079822421073914, 0.8319714069366455, -1.289052963256836, ...
func (in *SesActiveReceiptRuleSetParameters) DeepCopyInto(out *SesActiveReceiptRuleSetParameters) { *out = *in }
[ 0.8980230689048767, -0.23943980038166046, 0.20503081381320953, -0.7070438861846924, -0.6927427053451538, -0.05259719118475914, 0.15288423001766205, 0.05880313366651535, -1.1742416620254517, 1.612899661064148, 0.2261034995317459, 0.7721067070960999, 0.6869836449623108, -1.045749306678772, ...
func (in *SesActiveReceiptRuleSetParameters) DeepCopy() *SesActiveReceiptRuleSetParameters { if in == nil { return nil } out := new(SesActiveReceiptRuleSetParameters) in.DeepCopyInto(out) return out }
[ 0.20603793859481812, -0.5539239645004272, 0.18701693415641785, -0.5811702013015747, -0.21865318715572357, -0.10558785498142242, 0.35186800360679626, -0.2603742480278015, -0.28438621759414673, 2.046471118927002, 0.21436935663223267, 0.25196826457977295, 0.8664966225624084, -0.92888295650482...
func (in *SesActiveReceiptRuleSetSpec) DeepCopyInto(out *SesActiveReceiptRuleSetSpec) { *out = *in in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) out.ForProvider = in.ForProvider }
[ 1.4220839738845825, -0.10722628235816956, 0.29214656352996826, -0.8729066252708435, -1.0138274431228638, 0.006997814401984215, 0.4207310676574707, 0.15570588409900665, -0.8284417986869812, 0.9358282685279846, 0.2241896390914917, 1.1017045974731445, 1.350144624710083, -1.1699559688568115, ...
func (in *SesActiveReceiptRuleSetSpec) DeepCopy() *SesActiveReceiptRuleSetSpec { if in == nil { return nil } out := new(SesActiveReceiptRuleSetSpec) in.DeepCopyInto(out) return out }
[ 0.9610193967819214, -0.40787747502326965, 0.28963229060173035, -0.6989971995353699, -0.9826391935348511, 0.24613842368125916, 0.8674302697181702, -0.5433375835418701, -0.322618693113327, 1.3820620775222778, 0.8429239392280579, 0.3180413246154785, 1.4316350221633911, -1.1582260131835938, ...
func (in *SesActiveReceiptRuleSetStatus) DeepCopyInto(out *SesActiveReceiptRuleSetStatus) { *out = *in in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) out.AtProvider = in.AtProvider }
[ 1.0319699048995972, -0.5207297801971436, 0.17800652980804443, -0.8619036674499512, -0.8666871786117554, -0.05577417463064194, -0.329878568649292, 0.35032710433006287, -0.6627843976020813, 0.9725238084793091, -0.2917407751083374, 0.984652042388916, 1.3983855247497559, -0.9157970547676086, ...
func (in *SesActiveReceiptRuleSetStatus) DeepCopy() *SesActiveReceiptRuleSetStatus { if in == nil { return nil } out := new(SesActiveReceiptRuleSetStatus) in.DeepCopyInto(out) return out }
[ 0.5134255886077881, -0.822712779045105, 0.04146083444356918, -0.7714002728462219, -0.7018495798110962, -0.0740375742316246, -0.0004477783222682774, -0.04026484861969948, -0.10120989382266998, 1.562648057937622, -0.1589384824037552, 0.2467634379863739, 1.462031364440918, -0.6384756565093994...
func (s *JsonSource) Load() error { file, err := ioutil.ReadFile(s.Path) if err != nil { return err } err = json.Unmarshal([]byte(file), s.TargetStruct) if err != nil { return err } return nil }
[ -0.5906031727790833, -0.12905243039131165, 0.5829932689666748, -2.0582408905029297, -0.16079552471637726, -0.5229302644729614, -0.14513805508613586, 0.016441592946648598, -0.42796990275382996, 0.015568846836686134, -0.8683700561523438, 0.16745895147323608, 0.22400343418121338, -1.114935278...
func TestValidateTerminateMachineMessage(t *testing.T) { // TerminateMachineMessage with MachineID => should pass validation m := TerminateMachineMessage{MachineID: "i-1234567"} err := m.Validate() require.Nil(t, err, "expected validation to succeed") // TerminateMachineMessage missing MachineID => should fail va...
[ 0.6461171507835388, 0.5079315900802612, 0.3709312081336975, -0.16565808653831482, 0.852757453918457, 0.7758609652519226, -0.6207026243209839, 0.12678271532058716, -0.48117461800575256, -0.2762027680873871, -0.3120044469833374, -0.055036820471286774, -0.5227342844009399, 0.8586592078208923,...
func TestValidateSetDesiredSizeMessage(t *testing.T) { // SetDesiredSizeMessage with desiredSize => should pass validation desiredSize := 1 m := SetDesiredSizeMessage{DesiredSize: &desiredSize} err := m.Validate() require.Nil(t, err, "expected validation to succeed") // SetDesiredSizeMessage missing desiredSize ...
[ -0.05600980669260025, 0.3859209716320038, 0.6612564325332642, 0.20441201329231262, 0.45837894082069397, 0.6461611390113831, 0.22244705259799957, -0.39519912004470825, -0.5732083916664124, -0.3065973222255707, 0.008488035760819912, 0.7990382313728333, -0.39742305874824524, 0.595539450645446...
func RunConfigs() { loggingSetup() }
[ -0.39763689041137695, -0.08642072975635529, 0.29512909054756165, 0.6505665183067322, -0.10290373861789703, -0.29111966490745544, 0.7799708247184753, 0.7102271318435669, -0.34474775195121765, 0.48579102754592896, -0.40215829014778137, -0.2563616931438446, -0.7128854393959045, 0.152248755097...
func loggingSetup() { logs := utility.NewLogging() handler.Logs = logs controller.Logs = logs repository.Logs = logs logs.LogInfo("Global logs setup done.") }
[ 0.39231476187705994, 0.3197716474533081, 0.4342522621154785, -0.10236247628927231, 0.47145140171051025, -0.07017569243907928, 0.6924688220024109, 0.3382929563522339, -0.13749125599861145, 0.5449058413505554, -0.46185463666915894, -0.10013116896152496, -0.11590864509344101, 0.27612942457199...
func determineChunkKeys(step model.InsightStep, from time.Time, count int) []string { var to time.Time switch step { case model.InsightStep_YEARLY: to = from.AddDate(count-1, 0, 0) case model.InsightStep_MONTHLY: to = from.AddDate(0, count-1, 0) case model.InsightStep_WEEKLY: to = from.AddDate(0, 0, (count-...
[ -0.4900199770927429, -0.9187774062156677, 0.7254846096038818, -0.08583753556013107, 0.08968132734298706, -0.3639482259750366, -0.24207592010498047, -0.4099256694316864, -1.0562292337417603, 0.7274625301361084, 0.2693159580230713, 0.6193649172782898, 0.45654579997062683, 0.8107506036758423,...
func (option *HandlerOption) InitHandler() { factoryFunc, ok := handlerInitFunction[option.Type] if !ok { panic("not support handler type") } handler, err := factoryFunc(option.Args) if err != nil { panic(err) } handlersMap[option.Name] = handler }
[ -0.4591960310935974, -0.34393608570098877, 0.5720605850219727, 1.044348120689392, 0.8480866551399231, 0.6014290452003479, 0.7657144665718079, 0.6056731343269348, -0.6537399888038635, -0.12595480680465698, -0.8567343354225159, -0.14967337250709534, -0.1337721198797226, 0.5866533517837524, ...
func (s *Session) GetCurrentInstance() *Instance { return s.CurrentInstance }
[ -0.24708667397499084, -1.1932231187820435, 0.3934996426105499, -0.14173023402690887, -0.8505679368972778, 0.5917270183563232, 0.5728902816772461, 0.25472790002822876, 0.6451891660690308, 0.032232947647571564, 0.23160487413406372, 0.033893004059791565, -1.3289233446121216, -0.24706919491291...
func (i *Instance) GetModuleName() string { return i.Module }
[ -0.6805332899093628, -0.28892773389816284, 0.3770950734615326, 0.3123960494995117, 0.3236198127269745, 0.5779578685760498, 0.2536807358264923, 0.6391209959983826, 0.3439636826515198, 0.3093917965888977, 0.523665189743042, 0.6637429594993591, 0.2138214111328125, -0.08029875159263611, 0.05...
func (i *Instance) SetResults(r []OpfResultValue) { i.Results = append(i.Results, r) }
[ -0.8850119709968567, 0.9647594094276428, 0.19201330840587616, 0.059775546193122864, 0.8936120271682739, 0.14539547264575958, 0.31523528695106506, -0.7522252202033997, -0.5309141874313354, -0.4272558391094208, -0.6242032647132874, -0.25329574942588806, -0.438712477684021, 0.5999545454978943...
func (s *Session) NewInstance(module string) *Instance { i := &Instance{ Id: "INST_" + ksuid.New().String(), Module: module, CreatedAt: time.Now(), } s.SetInstance(i) return i }
[ -0.9399818778038025, -0.4494766294956207, 0.45644015073776245, -0.5998438000679016, -0.8809638023376465, 0.9218692183494568, -0.13167227804660797, -0.04585573449730873, 0.8536345362663269, 0.8044494986534119, -0.6834937334060669, 0.303379088640213, -0.836846649646759, 0.3577812910079956, ...
func (s *Session) SetInstance(i *Instance) *Session { s.CurrentInstance = i s.Instances = append(s.Instances, i) return s }
[ -1.444413423538208, -0.2839233875274658, 0.2286331206560135, -0.5186225771903992, -0.4670543968677521, 0.7113909721374512, 0.9793562889099121, 0.8057562112808228, 0.5972618460655212, 0.2641385495662689, -0.6136453151702881, -0.009041815996170044, -1.369293212890625, 0.15371207892894745, ...
func (f *finder) findImages(al *apps.Apps) error { return al.Walk(func(app *apps.App) error { h, err := f.findImage(app.Image, app.Asc, true) if err != nil { return err } app.ImageID = *h return nil }) }
[ 0.1179172471165657, 0.09001440554857254, 0.43079307675361633, 0.7016921043395996, 0.4216257929801941, 0.05097413808107376, 0.2304343581199646, -0.7076418995857239, -0.4397667944431305, 0.7296430468559265, 0.27070191502571106, -0.795789361000061, -0.1308615505695343, 2.9579591751098633, -...
func (f *finder) findImage(img string, asc string, discover bool) (*types.Hash, error) { // check if it is a valid hash, if so let it pass through h, err := types.NewHash(img) if err == nil { fullKey, err := f.s.ResolveKey(img) if err != nil { return nil, fmt.Errorf("could not resolve key: %v", err) } h, ...
[ 0.17059902846813202, 0.420019268989563, 0.5603042244911194, 0.29572969675064087, -0.4446960687637329, -0.25823089480400085, -0.879883348941803, -0.5495244860649109, -0.6057828068733215, 0.6783590316772461, 0.6244724988937378, -0.46810007095336914, -0.613773763179779, 0.6550180912017822, ...
func (f *fetcher) fetchImage(img string, asc string, discover bool) (string, error) { if f.withDeps && !discover { return "", fmt.Errorf("cannot fetch image's dependencies with discovery disabled") } hash, err := f.fetchSingleImage(img, asc, discover) if err != nil { return "", err } if f.withDeps { err = f...
[ -0.07842019945383072, 0.587393045425415, 0.3958381116390228, 0.400662899017334, -1.1405647993087769, -0.1880083680152893, -0.4362649917602539, -0.3430938720703125, -0.6173998713493347, 0.6620332598686218, 0.41622763872146606, -0.619094729423523, 0.3352753818035126, 1.3229154348373413, 0....
func (f *fetcher) fetchImageDeps(hash string) error { imgsl := list.New() seen := map[string]struct{}{} f.addImageDeps(hash, imgsl, seen) for el := imgsl.Front(); el != nil; el = el.Next() { img := el.Value.(string) hash, err := f.fetchSingleImage(img, "", true) if err != nil { return err } f.addImageD...
[ -0.6148213744163513, 0.6937246918678284, 0.5304734706878662, -0.3553953170776367, -0.26846328377723694, -0.1640017032623291, -0.3094961643218994, -0.5023205876350403, 0.3481588363647461, -0.170077845454216, -0.5457157492637634, -0.5325155854225159, 0.8153247833251953, 1.8950928449630737, ...
func (f *fetcher) fetchSingleImage(img string, asc string, discover bool) (string, error) { var ( ascFile *os.File err error latest bool ) if asc != "" && f.ks != nil { ascFile, err = os.Open(asc) if err != nil { return "", fmt.Errorf("unable to open signature file: %v", err) } defer ascFile.Cl...
[ 0.21031959354877472, -0.2829246520996094, 0.7198877930641174, 0.7506934404373169, -0.9470008611679077, -0.007412839215248823, 0.0963684543967247, 0.19170603156089783, 0.1980728656053543, 0.7047606110572815, 1.1040480136871338, -0.4196082055568695, 0.6249176859855652, 1.2260749340057373, ...
func (f *fetcher) fetchImageFrom(appName string, aciURL, ascURL, scheme string, ascFile *os.File, latest bool) (string, error) { var rem *store.Remote if f.insecureSkipVerify { if f.ks != nil { stderr("rkt: warning: TLS verification and signature verification has been disabled") } } else if scheme == "docker...
[ 0.37744295597076416, -0.6356475353240967, 0.516877293586731, 0.06610823422670364, -0.9717419743537903, -0.07810524106025696, -0.207410991191864, -0.2293601930141449, -0.2172396332025528, 0.649878740310669, 0.6832594275474548, 0.029778432101011276, 0.9511597752571106, 1.01347017288208, 0....
func (f *fetcher) fetch(appName string, aciURL, ascURL string, ascFile *os.File, etag string) (*openpgp.Entity, *os.File, *cacheData, error) { var ( entity *openpgp.Entity cd *cacheData ) u, err := url.Parse(aciURL) if err != nil { return nil, nil, nil, fmt.Errorf("error parsing ACI url: %v", err) } if...
[ 0.09163209050893784, -0.6862593293190002, 0.5817047953605652, 0.07805321365594864, -0.1382898986339569, -0.10842224955558777, 0.2415977567434311, -0.3437563180923462, 0.2500339448451996, 0.3787979781627655, 0.10871462523937225, 0.6158933043479919, 0.9195956587791443, 0.12218716740608215, ...
func (f *fetcher) downloadACI(aciurl string, out writeSyncer, etag string) (*cacheData, error) { return f.downloadHTTP(aciurl, "ACI", out, etag) }
[ -0.13013119995594025, -0.04640861973166466, 0.1295042783021927, 0.5278074145317078, -0.5677518248558044, -0.08353623002767563, 0.20560121536254883, -0.10599929839372635, -0.3911498785018921, 0.02963433414697647, -0.6078613996505737, -0.4329392910003662, 0.2672452926635742, -0.0768612474203...
func (f *fetcher) downloadSignatureFile(sigurl string, out writeSyncer) error { _, err := f.downloadHTTP(sigurl, "signature", out, "") return err }
[ 0.103815957903862, -0.22426101565361023, 0.3605278432369232, 0.6579908728599548, -0.05610847845673561, 0.29641014337539673, 1.0290402173995972, 0.8715963959693909, -0.8818660974502563, 0.2728983163833618, -1.0398099422454834, -1.1107513904571533, -0.06671370565891266, 0.7145422101020813, ...
func (f *fetcher) downloadHTTP(url, label string, out writeSyncer, etag string) (*cacheData, error) { req, err := http.NewRequest("GET", url, nil) if err != nil { return nil, err } options := make(http.Header) // Send credentials only over secure channel if req.URL.Scheme == "https" { if hostOpts, ok := f.hea...
[ -0.4666529595851898, 0.05941757932305336, 0.9139061570167542, 0.590408205986023, -1.20514976978302, -0.2716379463672638, -0.5068383812904358, -0.22608289122581482, -0.29587966203689575, 0.5273563265800476, -0.33246082067489624, -0.44451776146888733, -0.010558263398706913, 0.133986607193946...
func newDiscoveryApp(img string) *discovery.App { app, err := discovery.NewAppFromString(img) if err != nil { return nil } u, err := url.Parse(app.Name.String()) if err != nil || u.Scheme != "" { return nil } if _, ok := app.Labels["arch"]; !ok { app.Labels["arch"] = defaultArch } if _, ok := app.Labels[...
[ 0.3630441427230835, -0.39651012420654297, 0.3189263641834259, 0.4206126034259796, -0.7934362888336182, 0.14728105068206787, -0.02844739332795143, -0.31487444043159485, 0.7111547589302063, 0.6348252892494202, -0.5180741548538208, -0.8815160989761353, 0.8178233504295349, 0.7663671970367432, ...
func useCached(downloadTime time.Time, maxAge int) bool { freshnessLifetime := int(time.Now().Sub(downloadTime).Seconds()) if maxAge > 0 && freshnessLifetime < maxAge { return true } return false }
[ -0.5309568643569946, 0.2910706400871277, 0.7991765737533569, 0.10768768191337585, -1.0448955297470093, 0.2885475754737854, -1.1029447317123413, 0.12087875604629517, 0.08455473184585571, 0.11420294642448425, -0.00006899423897266388, -0.0008308049291372299, -0.03692188858985901, 0.8776357173...
func void(context.Context) error { return nil }
[ 0.20411571860313416, 0.2912992238998413, -0.051468245685100555, -0.304400771856308, 0.11470890790224075, -0.18219377100467682, 0.7539238333702087, -0.20102658867835999, 1.635262131690979, -0.7358085513114929, -0.6775763630867004, 1.6756631135940552, 1.0301059484481812, -0.09232087433338165...
func CreateBanknoteService(withdrawalRepository withdrawal.BaseRepository) BanknoteDataService { return BanknoteDataService{WithdrawalRepository: withdrawalRepository} }
[ -0.04599684104323387, 0.07595665752887726, 0.25116652250289917, -1.3078243732452393, 0.9286695718765259, 0.4046289920806885, -1.0911251306533813, -1.037509799003601, 0.11048660427331924, 0.19036759436130524, -0.23009468615055084, 0.44282716512680054, -0.6976538896560669, 0.5565395355224609...
func (b *BanknoteDataService) Withdrawal(value int) (*[]models.BanknoteData, error) { banknoteDatas := make([]models.BanknoteData, 0) valueLeftOver := value availableBankNotesValues := b.WithdrawalRepository.GetAvailableBanknotesValues() log.Debugf("Retrieved available bank notes: %v", availableBankNotesValues) he...
[ -0.9264248013496399, -0.04219011217355728, 0.5021859407424927, -0.7049986720085144, 0.1810898333787918, 0.7959471940994263, 0.09784185141324997, -0.35626351833343506, 0.03557317331433296, 0.6751857995986938, -0.4516010284423828, 0.05613198131322861, -0.10678118467330933, 0.1656543761491775...
func Unmarshal(b []byte, v interface{}) (err error) { // v must be a pointer pval := reflect.ValueOf(v) if pval.Kind() != reflect.Ptr || pval.IsNil() { return errors.New("must pass a valid pointer to Unmarshal") } // unmarshal may panic // note that this allows us to skip any boundary checks while unmarshallin...
[ 0.0020484854467213154, -0.1238127201795578, 0.8360052704811096, 0.005112618673592806, -0.5078490972518921, 0.16270068287849426, 0.20350880920886993, 0.8471396565437317, 0.5667533278465271, 0.49431782960891724, 0.6107770800590515, 0.6489259004592896, -1.1218372583389282, -0.425152450799942,...
func MarshalAll(v ...interface{}) (b []byte) { for i := range v { b = append(b, Marshal(v[i])...) } return }
[ 0.5368139147758484, 0.3018161952495575, 0.48810338973999023, 1.2643102407455444, 0.35396990180015564, 0.632664680480957, -1.5803728103637695, 0.09458552300930023, 0.5492180585861206, -0.4049360752105713, -0.49347561597824097, 0.6592350006103516, -0.5955744981765747, 1.127129077911377, -1...
func (ctx *Context) Copy() *Context { var pathParams Params if len(ctx.PathParams) > 0 { pathParams = append(pathParams, ctx.PathParams...) } return &Context{ responseWriter2: nil, ResponseWriter: nil, Request: ctx.Request, PathParams: pathParams, queryParam...
[ -0.2521519064903259, -1.1582703590393066, 0.6834563612937927, 0.3951769471168518, -1.6323955059051514, 1.1601784229278564, 0.49259433150291443, -0.8639843463897705, 0.957988440990448, -0.15550558269023895, 1.0598764419555664, -0.1505601406097412, 0.262163907289505, -0.49196046590805054, ...
func (ctx *Context) HandlerName() string { return nameOfFunction(ctx.handlers.last()) }
[ -0.34756654500961304, -0.8245782852172852, 0.2693743109703064, 0.12124656140804291, 0.072296142578125, -0.3395009934902191, 0.5205489993095398, 0.502758264541626, 0.0422523096203804, -0.09913364052772522, 0.5474336743354797, -0.3286300003528595, 0.3374554514884949, -0.8109856247901917, 0...
func (ctx *Context) IsAborted() bool { return ctx.handlerIndex >= __abortHandlerIndex }
[ 0.20467256009578705, -0.7760116457939148, 0.4305078387260437, -0.39557725191116333, -0.250616192817688, 0.7907597422599792, 0.053372208029031754, -0.6789555549621582, 1.127766728401184, -0.5278212428092957, 0.33279871940612793, 1.4597617387771606, -0.1436905711889267, 0.317091166973114, ...
func (ctx *Context) Abort() { ctx.handlerIndex = __abortHandlerIndex }
[ -0.407636433839798, -0.3621726930141449, 0.10353707522153854, -1.134502649307251, 0.07413437217473984, 0.960437536239624, 0.6169123649597168, -1.099147915840149, 0.5101531147956848, -1.0956951379776, 0.8753229379653931, 1.1983424425125122, 0.36289191246032715, -0.16045185923576355, 0.361...
func (ctx *Context) AbortWithStatus(code int) { ctx.ResponseWriter.WriteHeader(code) ctx.Abort() }
[ -0.3449409008026123, -0.9260817170143127, 0.4519341289997101, -0.36394065618515015, -0.049828629940748215, 0.13624761998653412, -0.06827705353498459, -1.1312788724899292, 0.37552449107170105, 0.6206253170967102, 0.5458743572235107, -0.4449605941772461, 0.42216768860816956, 0.13819175958633...
func (ctx *Context) Next() { for { ctx.handlerIndex++ if ctx.handlerIndex >= len(ctx.handlers) { ctx.handlerIndex-- break } handler := ctx.handlers[ctx.handlerIndex] if handler != nil { handler(ctx) } } }
[ -0.45757803320884705, -0.5432409644126892, 0.24700315296649933, 0.25880709290504456, 0.03154342994093895, 0.35255950689315796, 0.1766846477985382, -0.38495415449142456, 0.7265900373458862, -1.2235735654830933, -0.007556102238595486, 0.8971823453903198, -0.4928341507911682, -0.1150085926055...
func (ctx *Context) Set(key string, value interface{}) { if ctx.kvs == nil { ctx.kvs = make(map[string]interface{}) } ctx.kvs[key] = value }
[ -0.5967012643814087, -0.10761798918247223, 0.3469519019126892, -0.20696285367012024, -0.49806028604507446, 0.3050989806652069, -1.1140798330307007, -0.5498027205467224, 0.23982268571853638, 0.22329017519950867, 0.10447577387094498, -0.026413658633828163, 0.3133033812046051, 0.0020669987425...
func (ctx *Context) Delete(key string) { delete(ctx.kvs, key) }
[ 0.13658347725868225, 0.24709418416023254, 0.2865809500217438, 0.6153319478034973, -0.4123796224594116, 0.33696112036705017, -1.0654009580612183, -0.49271491169929504, 0.6657207608222961, 0.33580392599105835, 0.6920842528343201, -0.676703155040741, -0.21595430374145508, -0.01370841450989246...
func (ctx *Context) Get(key string) (value interface{}, exists bool) { value, exists = ctx.kvs[key] return }
[ -1.2672555446624756, 0.04880065843462944, 0.4919649362564087, -0.12305384129285812, -0.19512400031089783, 0.16343821585178375, -1.3722392320632935, -0.3903184235095978, -0.19695152342319489, 0.3321318030357361, 0.19103436172008514, -0.1205662414431572, 0.14102351665496826, -0.4614258706569...
func (ctx *Context) MustGet(key string) interface{} { if value, exists := ctx.Get(key); exists { return value } panic(`[kvs] value with key "` + key + `" does not exist`) }
[ -0.4101252555847168, 0.632221519947052, 0.4130874574184418, 0.4784530997276306, -0.28218308091163635, 0.5688096284866333, -1.9178043603897095, -1.299155831336975, 0.7686023116111755, 0.4958008825778961, 0.6748237609863281, -0.1487007737159729, 0.15789112448692322, -0.7733967304229736, -0...
func (ctx *Context) Cookie(name string) (*http.Cookie, error) { return ctx.Request.Cookie(name) }
[ -0.657210648059845, -0.2624729573726654, 0.4211227297782898, 0.5257076621055603, -0.9081785082817078, -0.21474876999855042, -0.26061347126960754, -1.8823403120040894, 0.12609361112117767, 0.25471022725105286, 0.5077540874481201, 0.1337306648492813, 0.5271412134170532, -0.4911775588989258, ...
func (ctx *Context) Param(name string) string { return ctx.PathParams.ByName(name) }
[ -0.13933275640010834, -0.5676037669181824, 0.3342377245426178, 0.10442572087049484, -0.33368948101997375, 0.5503662824630737, 0.8176186680793762, -0.4915453791618347, 0.3364481031894684, 0.7167381644248962, 0.9022734761238098, -0.20462335646152496, 0.5020366311073303, -0.2907599210739136, ...
func (ctx *Context) ParamByIndex(index int) string { return ctx.PathParams.ByIndex(index) }
[ -0.5870087742805481, -1.1809405088424683, 0.47177618741989136, -0.47967270016670227, 0.48365962505340576, -0.056615956127643585, 0.37101009488105774, -0.8412459492683411, -0.0028197343926876783, 0.7669019103050232, 0.5306981801986694, -0.20265918970108032, -0.2273206114768982, -0.708938658...
func (ctx *Context) QueryParams() url.Values { if ctx.queryParams == nil { ctx.queryParams = ctx.Request.URL.Query() } return ctx.queryParams }
[ -0.010194849222898483, -0.031185965985059738, 0.3385225534439087, -0.12439172714948654, 0.6532223224639893, 0.5417739748954773, -0.5379130244255066, -0.052496474236249924, 0.3982149064540863, -0.7547223567962646, 0.7669121623039246, 0.127633199095726, -0.4677881598472595, -0.18806065618991...
func (ctx *Context) Query(name string) string { return ctx.QueryParams().Get(name) }
[ -0.6062324047088623, -0.12202325463294983, 0.2840494215488434, -0.13278944790363312, -0.812564492225647, 0.022186916321516037, -0.9431480765342712, -0.5264789462089539, 0.2643122673034668, 0.6599603891372681, 0.5721621513366699, -0.16658098995685577, -0.2389054149389267, 0.1569903492927551...
func (ctx *Context) DefaultQuery(name, defaultValue string) string { queryParams := ctx.QueryParams() if vs := queryParams[name]; len(vs) > 0 { return vs[0] } return defaultValue }
[ 0.1446675956249237, -0.30892372131347656, 0.04001978784799576, 0.3824014663696289, -0.00521349161863327, -0.06804785132408142, -0.9522997736930847, -0.2974492013454437, 0.17397308349609375, 0.4430561363697052, 0.9390798211097717, -0.17854271829128265, -0.7698389887809753, 0.484626144170761...
func (ctx *Context) FormValue(name string) string { return ctx.Request.FormValue(name) }
[ -0.5918937921524048, -0.5992904305458069, 0.6759511828422546, -0.545025646686554, -0.6128671169281006, 0.3477719724178314, -0.7084258794784546, -0.9564162492752075, -0.024387679994106293, 0.02359643019735813, -0.02172861248254776, 0.15705884993076324, 0.6221823692321777, 0.9846253991127014...
func (ctx *Context) DefaultFormValue(name, defaultValue string) string { r := ctx.Request if r.Form == nil { r.ParseMultipartForm(32 << 20) // 32 MB } if vs := r.Form[name]; len(vs) > 0 { return vs[0] } return defaultValue }
[ -0.08732753247022629, 0.2696744501590729, 0.581254243850708, 0.16804556548595428, -0.5085152983665466, 0.08121827989816666, -1.088010549545288, -0.0577772781252861, -0.2406693547964096, -0.601686418056488, -0.18134081363677979, -0.5458540320396423, -0.47863510251045227, 1.2198717594146729,...
func (ctx *Context) PostFormValue(name string) (value string) { return ctx.Request.PostFormValue(name) }
[ -0.7040657997131348, -0.1255583018064499, 0.5737614035606384, 0.04810059443116188, -1.008636474609375, 0.418173611164093, -0.8300015330314636, -0.373627245426178, -0.29578128457069397, -0.998733401298523, -0.8534088134765625, -0.4966018795967102, -0.23790065944194794, 1.4328936338424683, ...
func (ctx *Context) DefaultPostFormValue(name, defaultValue string) (value string) { r := ctx.Request if r.PostForm == nil { r.ParseMultipartForm(32 << 20) // 32 MB } if vs := r.PostForm[name]; len(vs) > 0 { return vs[0] } return defaultValue }
[ -0.09452902525663376, 0.3820427656173706, 0.4517771005630493, 0.1170734390616417, -0.7422879934310913, 0.0503828190267086, -1.17220938205719, -0.1508798450231552, -0.44545647501945496, -0.5759968161582947, -0.45122626423835754, -0.9691528677940369, -0.90394526720047, 0.961780846118927, -...
func (ctx *Context) BindJSON(obj interface{}) (err error) { return ctx.BindWith(obj, binder.JSON) }
[ -0.5494394898414612, -1.6112571954727173, 0.6276991367340088, 0.6344175338745117, -1.3748629093170166, 0.1465827226638794, 0.8233184218406677, -0.3175625503063202, 1.0441086292266846, -0.07995511591434479, -0.6010258197784424, 0.6929144263267517, 0.6511657238006592, 1.10426926612854, 0.2...
func (ctx *Context) BindXML(obj interface{}) (err error) { return ctx.BindWith(obj, binder.XML) }
[ -0.21238446235656738, -1.0828179121017456, 0.4264717698097229, 1.7149723768234253, -1.2284849882125854, 0.49231624603271484, -0.01770888641476631, -0.27330490946769714, 1.2911523580551147, -0.5279563665390015, 0.5175506472587585, -0.17100659012794495, 0.3758423328399658, 0.6787048578262329...
func (ctx *Context) BindWith(obj interface{}, b binder.Binder) (err error) { if err = b.Bind(ctx.Request, obj); err != nil { return } if validator := ctx.Validator; validator != nil { return validator.ValidateStruct(obj) } return }
[ -0.21545080840587616, -1.3962911367416382, 0.8523423671722412, 1.4419246912002563, -1.1218657493591309, 0.41264796257019043, -0.3624795973300934, -0.88337641954422, 0.8724483251571655, -0.6024582982063293, -0.08795193582773209, 0.07878413796424866, -0.04764511436223984, 0.5895371437072754,...
func (ctx *Context) SetCookie(cookie *http.Cookie) { http.SetCookie(ctx.ResponseWriter, cookie) }
[ 0.22116811573505402, 0.07321155071258545, 0.3245718479156494, 0.614469587802887, 0.6263120770454407, 0.40981119871139526, 0.4532962441444397, -0.5669775605201721, 0.010125253349542618, -0.1599392592906952, 0.12388721853494644, -0.2299381047487259, 0.08259915560483932, 0.4893122911453247, ...
func (ctx *Context) Redirect(code int, location string) { http.Redirect(ctx.ResponseWriter, ctx.Request, location, code) }
[ -0.5569174885749817, -0.28654906153678894, 0.2643066644668579, -0.30581268668174744, 0.5564632415771484, 1.3073251247406006, 0.027662044391036034, -0.1286819875240326, 0.6114777326583862, -0.6645176410675049, 0.3043713867664337, 0.2518850564956665, 0.18058685958385468, -0.9733982086181641,...
func (ctx *Context) NoContent(code int) error { ctx.ResponseWriter.WriteHeader(code) return nil }
[ -0.45601576566696167, 0.5254310369491577, 0.10544611513614655, -1.180505394935608, 0.3596966564655304, 0.19380035996437073, 1.0972453355789185, -1.1458081007003784, -0.4545212984085083, 0.29157599806785583, -0.11342783272266388, -0.8880855441093445, -0.48319223523139954, -0.557834208011627...
func (ctx *Context) String(code int, format string, values ...interface{}) (err error) { w := ctx.ResponseWriter w.Header().Set(HeaderContentType, MIMETextPlainCharsetUTF8) w.Header().Set(HeaderXContentTypeOptions, "nosniff") w.WriteHeader(code) if len(values) > 0 { _, err = fmt.Fprintf(w, format, values...) } ...
[ -0.4030884802341461, -0.47820961475372314, 0.3536447286605835, -0.5939143300056458, -0.07619377225637436, -0.125729039311409, 0.5482997298240662, -1.0417916774749756, 0.16491921246051788, -0.21149727702140808, 0.2907124161720276, -0.08706700801849365, -0.256622314453125, -0.350400507450103...
func (ctx *Context) JSON(code int, obj interface{}) (err error) { w := ctx.ResponseWriter w.Header().Set(HeaderContentType, MIMEApplicationJSONCharsetUTF8) w.WriteHeader(code) return json.NewEncoder(w).Encode(obj) }
[ -0.9293304085731506, -0.9908149242401123, 0.6519639492034912, -0.035124704241752625, -0.9985270500183105, -0.1919797658920288, 0.9117891192436218, -0.8781145811080933, 0.6409950256347656, 0.3025323152542114, -0.09069860726594925, 0.39627987146377563, 0.10590711981058121, -0.292857646942138...
func (ctx *Context) JSONIndent(code int, obj interface{}, prefix string, indent string) (err error) { w := ctx.ResponseWriter body, err := json.MarshalIndent(obj, prefix, indent) if err != nil { return } w.Header().Set(HeaderContentType, MIMEApplicationJSONCharsetUTF8) w.WriteHeader(code) _, err = w.Write(body...
[ -0.9535248279571533, -0.6541328430175781, 0.5996219515800476, -0.565280556678772, -1.0042903423309326, -0.6803264021873474, 0.23502811789512634, -1.0284305810928345, 0.48870956897735596, 0.43073132634162903, -0.24712517857551575, 0.9453043937683105, -0.03439171239733696, -0.481525093317031...
func (ctx *Context) JSONBlob(code int, blob []byte) (err error) { w := ctx.ResponseWriter w.Header().Set(HeaderContentType, MIMEApplicationJSONCharsetUTF8) w.WriteHeader(code) _, err = w.Write(blob) return }
[ -0.7455263733863831, -0.5692281126976013, 0.742716372013092, 0.3001876473426819, -0.32240694761276245, -0.24731318652629852, 0.40908411145210266, -0.7646726369857788, 0.4858206808567047, 0.6451464891433716, -0.4922567903995514, 0.11167863756418228, 0.06291382014751434, -0.6480057835578918,...
func (ctx *Context) XML(code int, obj interface{}) (err error) { w := ctx.ResponseWriter w.Header().Set(HeaderContentType, MIMEApplicationXMLCharsetUTF8) w.WriteHeader(code) if _, err = io.WriteString(w, xml.Header); err != nil { return } return xml.NewEncoder(w).Encode(obj) }
[ -0.4413869082927704, -0.22638137638568878, 0.6022098064422607, 0.14899766445159912, -1.2019530534744263, 0.8170043230056763, -0.26508668065071106, -0.061678677797317505, 1.6308013200759888, 0.02033829502761364, 0.805568277835846, -0.4433944523334503, -0.20796151459217072, -0.46518653631210...
func (ctx *Context) XMLIndent(code int, obj interface{}, prefix string, indent string) (err error) { w := ctx.ResponseWriter w.Header().Set(HeaderContentType, MIMEApplicationXMLCharsetUTF8) w.WriteHeader(code) if _, err = io.WriteString(w, xml.Header); err != nil { return } encoder := xml.NewEncoder(w) encoder...
[ 0.06407924741506577, -0.597770631313324, 0.5819626450538635, -0.4518631100654602, -1.1877517700195312, -0.04135364666581154, -0.42686018347740173, -0.48147496581077576, 0.7118720412254333, 0.14401516318321228, 0.574113667011261, -0.06268811225891113, -0.33836641907691956, -0.65184533596038...
func (ctx *Context) XMLBlob(code int, blob []byte) (err error) { w := ctx.ResponseWriter w.Header().Set(HeaderContentType, MIMEApplicationXMLCharsetUTF8) w.WriteHeader(code) if !bytes.HasPrefix(bytes.TrimLeftFunc(blob, unicode.IsSpace), __xmlHeaderPrefix) { if _, err = io.WriteString(w, xml.Header); err != nil { ...
[ 0.23880557715892792, -0.36745569109916687, 0.835224986076355, -0.05420248210430145, -0.227259561419487, 0.4929410517215729, -0.24707166850566864, -0.4454307556152344, 0.46503719687461853, 0.7666015625, 0.4046786427497864, -0.5605757236480713, -0.2110254168510437, -0.8408280611038208, 0.3...
func (ctx *Context) ServeFile(filepath string) (err error) { http.ServeFile(ctx.ResponseWriter, ctx.Request, filepath) return }
[ -0.34537461400032043, -0.008143225684762001, 0.15536773204803467, 0.39265677332878113, 0.39576244354248047, 1.2375236749649048, 1.2499747276306152, 0.07125400751829147, -0.5814808011054993, 0.4885212779045105, 0.5185745358467102, -0.5915611386299133, -0.5077487826347351, 0.0513393990695476...
func (ctx *Context) ServeContent(content io.ReadSeeker, name string, modtime time.Time) (err error) { http.ServeContent(ctx.ResponseWriter, ctx.Request, name, modtime, content) return }
[ -0.7585194706916809, -0.6085368394851685, 0.46557584404945374, 0.09848041087388992, -0.511074960231781, 0.5877698659896851, 0.2840506434440613, -0.4681662619113922, -0.5510218143463135, 1.1011700630187988, -0.04945747181773186, 0.0006266389973461628, -0.6606940031051636, 0.1295878291130066...
func (ctx *Context) AttachmentFile(filepath, filename string) (err error) { file, err := os.Open(filepath) if err != nil { return } defer file.Close() fileInfo, err := file.Stat() if err != nil { return } if fileInfo.IsDir() { return errors.New("can't set a dir as file attachment") } if filename == ""...
[ 0.33625224232673645, -0.501072883605957, 0.49861401319503784, 0.22641614079475403, -0.08320042490959167, 0.449952632188797, 0.8971182107925415, -0.17536120116710663, -0.14314502477645874, 0.366436243057251, 1.1080272197723389, 0.07717414945363998, -0.12332974374294281, 0.23582597076892853,...
func (ctx *Context) Attachment(content io.Reader, filename string) (err error) { w := ctx.ResponseWriter w.Header().Set(HeaderContentType, contentTypeFromName(filename)) w.Header().Set(HeaderContentDisposition, `attachment;filename="`+url.QueryEscape(filename)+`"`) _, err = io.Copy(w, content) return }
[ 0.09979987889528275, -1.1862581968307495, 0.5240296721458435, -0.3760557770729065, -0.7673128247261047, 0.27181339263916016, 0.6188231706619263, -0.3032708764076233, -0.026212651282548904, 0.8320876955986023, 0.9546816945075989, -0.23283372819423676, 0.24954190850257874, -0.945322692394256...
func HelmDependencyUpdateOpt(path string) features.Func { return func(ctx context.Context, t *testing.T, envConf *envconf.Config) context.Context { if os.Getenv(envNameHelmNoDependencyUpdate) != "" { t.Logf( "Skipping helm dependency update because %s env is set", envNameHelmNoDependencyUpdate, ) return...
[ 0.42320555448532104, -0.9500522017478943, 0.8033784627914429, 0.007907815277576447, 0.3444490432739258, 0.26049715280532837, 1.1205962896347046, -0.8535104990005493, -0.19693568348884583, 0.3350406587123871, 0.48409605026245117, 0.18008442223072052, 0.04552691429853439, -0.5598865747451782...
func HelmInstallOpt(path string, releaseName string) features.Func { return func(ctx context.Context, t *testing.T, envConf *envconf.Config) context.Context { ctx = ctxopts.WithHelmRelease(ctx, releaseName) err := helm.InstallE(t, ctxopts.HelmOptions(ctx), path, releaseName) if err != nil { // Print setup jo...
[ 0.6217416524887085, -0.5972052216529846, 0.891550600528717, -0.02143913321197033, -0.24876636266708374, 0.010469631291925907, 0.5175023674964905, -0.7755351662635803, 0.02542894519865513, 0.9552087187767029, 0.45732447504997253, -0.20245781540870667, -0.20174604654312134, -0.68475586175918...
func HelmInstallTestOpt(path string) features.Func { return func(ctx context.Context, t *testing.T, envConf *envconf.Config) context.Context { releaseName := strings.ReleaseNameFromT(t) return HelmInstallOpt(path, releaseName)(ctx, t, envConf) } }
[ 0.8276453614234924, -0.8706889748573303, 0.5538795590400696, -0.5213828086853027, 0.8110897541046143, -0.09674502164125443, 0.721470832824707, -0.7199558019638062, -0.071787990629673, 1.0891629457473755, -0.2024802416563034, -0.26597756147384644, -0.07802598923444748, -0.6417732238769531, ...
func HelmDeleteOpt(release string) features.Func { return func(ctx context.Context, t *testing.T, envConf *envconf.Config) context.Context { helm.Delete(t, ctxopts.HelmOptions(ctx), release, true) return ctx } }
[ 0.8443100452423096, -0.7949458360671997, 0.5262026190757751, 0.29145485162734985, 0.5470584630966187, -0.14127978682518005, 0.5869826674461365, -0.8492785096168518, 0.7216799259185791, 0.32954010367393494, 0.1333589404821396, 0.6646341681480408, 0.3102457821369171, -0.6312900185585022, -...
func HelmDeleteTestOpt() features.Func { return func(ctx context.Context, t *testing.T, envConf *envconf.Config) context.Context { releaseName := ctxopts.HelmRelease(ctx) return HelmDeleteOpt(releaseName)(ctx, t, envConf) } }
[ 0.798772394657135, -0.9938594698905945, 0.5015215873718262, -0.23525480926036835, 0.674328625202179, -0.41255223751068115, 0.6077672243118286, -0.8360272645950317, 0.8047126531600952, 0.2527100145816803, -0.22219181060791016, 0.6533188223838806, -0.14270585775375366, -0.5371603965759277, ...
func SetHelmOptionsOpt(valuesFilePath string) features.Func { return func(ctx context.Context, t *testing.T, envConf *envconf.Config) context.Context { kubectlOptions := ctxopts.KubectlOptions(ctx) require.NotNil(t, kubectlOptions) // yamlFilePathCommon contains a shared set of values that: // * decrease the ...
[ 1.1688783168792725, -0.2224157601594925, 0.7226996421813965, 0.3204084634780884, 1.1420724391937256, 0.40913504362106323, 0.5909377336502075, 0.21211393177509308, 0.033027637749910355, 0.06595788151025772, -0.05563187226653099, 0.016840999945998192, 0.5812507271766663, 0.03133806213736534,...
func SetHelmOptionsTestOpt() features.Func { return func(ctx context.Context, t *testing.T, envConf *envconf.Config) context.Context { valuesFilePath := path.Join("values", strings.ValueFileFromT(t)) return SetHelmOptionsOpt(valuesFilePath)(ctx, t, envConf) } }
[ 0.6524447798728943, -0.3226608633995056, 0.4147445559501648, -0.06163959950208664, 0.6564391255378723, 0.2803899943828583, 0.11747200042009354, 0.07388021796941757, -0.39891937375068665, 0.6448506712913513, -0.36036017537117004, -0.4430720806121826, 0.9320768117904663, -0.5103490948677063,...
func (m *Model) lookUpFor(s *ast.ForStmt, spawns bool, pack *packages.Package) (lb *promela_ast.Ident, ub *promela_ast.Ident, err error) { well_formed := false lb = &promela_ast.Ident{} ub = &promela_ast.Ident{} switch cond := s.Cond.(type) { case *ast.BinaryExpr: if cond.Op == token.GEQ || cond.Op == token.GTR...
[ -0.5835211277008057, -0.5814744234085083, 0.804800271987915, -0.44347289204597473, -0.7709463834762573, 0.09632278978824615, 0.024881858378648758, -0.21328218281269073, -0.5500153303146362, 0.2741323411464691, 0.19913604855537415, -0.2597830593585968, 0.49579644203186035, 0.978424012660980...
func (m *Model) lookUp(expr ast.Expr, bound_type int, spawning_for_loop bool) (*promela_ast.Ident, error) { var ident *promela_ast.Ident var err error var bound string = "for bound" var mandatory string = "false" switch bound_type { case CHAN_BOUND: bound = "chan bound" mandatory = "true" case LOWER_FOR_BOU...
[ -0.7447109818458557, -0.7826949954032898, 0.9931267499923706, -0.24426762759685516, -0.4242731034755707, 0.19809690117835999, 0.33089104294776917, 0.33377131819725037, -0.726816713809967, 0.9261294603347778, 0.32540929317474365, 0.8548858761787415, 0.2006344199180603, 0.3452536463737488, ...
func (o *CityBusAPISchedule2040Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error) { switch response.Code() { case 200: result := NewCityBusAPISchedule2040OK() if err := result.readResponse(response, consumer, o.formats); err != nil { return nil, err } retu...
[ -0.37994319200515747, -1.3138394355773926, 0.6006666421890259, -0.17660868167877197, 0.145661398768425, -0.8516232371330261, 0.030448639765381813, 0.24415695667266846, 0.2826816439628601, 0.32572734355926514, 0.5088658928871155, -0.42958784103393555, -1.0445919036865234, -0.133370548486709...
func NewCityBusAPISchedule2040OK() *CityBusAPISchedule2040OK { return &CityBusAPISchedule2040OK{} }
[ -0.9676449298858643, -0.31030037999153137, 0.2693728506565094, -0.4630393087863922, -0.7387164235115051, 0.39660078287124634, 0.12450795620679855, 0.937649667263031, -1.0997140407562256, 1.2905583381652832, -0.536211371421814, -0.5284053683280945, -0.21451404690742493, -0.12243068218231201...
func NewCityBusAPISchedule2040Status299() *CityBusAPISchedule2040Status299 { return &CityBusAPISchedule2040Status299{} }
[ -0.5188713073730469, -0.099387526512146, 0.08171956986188889, -0.18632525205612183, -0.2826354503631592, 0.042401932179927826, -0.4363815188407898, 0.6195135712623596, 0.005813761614263058, -0.1756802201271057, 0.3290690779685974, -0.2061605155467987, -0.5837026834487915, 0.300669729709625...
func NewCityBusAPISchedule2040NotModified() *CityBusAPISchedule2040NotModified { return &CityBusAPISchedule2040NotModified{} }
[ -1.194531798362732, -0.6641679406166077, 0.19846126437187195, -1.1603734493255615, 0.3148347735404968, 0.48668932914733887, -0.6930149793624878, 0.34792226552963257, -0.6469531059265137, 0.2023637741804123, -0.24603265523910522, -0.39898690581321716, -0.47233402729034424, 0.178616628050804...
func (is *InputStream) Begin(packet []byte) (data []byte) { if len(is.b) > 0 { is.b = append(is.b, packet...) data = is.b } else { data = packet } return data }
[ -0.5454409718513489, 0.391777366399765, 0.7160350680351257, 0.18621140718460083, -0.5843547582626343, -0.3046485185623169, -0.5995097160339355, -0.7293215990066528, 1.213038444519043, -0.5047906041145325, 0.2966825067996979, 1.3476141691207886, -0.9181039929389954, 0.7905483245849609, -0...
func (is *InputStream) End(data []byte) { if len(data) > 0 { if len(data) != len(is.b) { is.b = append(is.b[:0], data...) } } else if len(is.b) > 0 { is.b = is.b[:0] } }
[ -0.0036785765551030636, -0.2924366891384125, 0.555617094039917, 0.31733042001724243, 0.7310585975646973, 0.3875764310359955, -0.4727344512939453, 0.004787432495504618, 0.518036961555481, 0.5542331337928772, -0.23446696996688843, 0.9707401990890503, -1.868714451789856, 0.9085391759872437, ...
func RunIBDWithClair(isTestnet bool, offsetfile string, ttldb string, scheduleFileName string, sig chan bool) error { //Channel to alert the main loop to break stopGoing := make(chan bool, 1) //Channel to alert stopTxottl it's ok to exit done := make(chan bool, 1) go stopRunIBD(sig, stopGoing, done) //Check ...
[ 0.49087172746658325, -0.3209524154663086, 1.1405731439590454, -0.04852558672428131, -0.7024871706962585, 1.4844099283218384, 0.09810731559991837, -0.10522732138633728, -1.0195283889770508, 0.3213549256324768, 0.13226018846035004, 0.22573906183242798, -0.5154943466186523, 0.3888438045978546...