text
stringlengths
11
6.3k
embedding
listlengths
768
768
func (e *err) Export() ErrDetail { return ErrDetail{ Chains: e.chains, GlobalTag: globalTag, Tag: e.tag, GlobalFields: globalFields, Fields: e.fields, Code: e.code, E: func() string { if e.e == nil { return "" } return e.e.Error() }(), } }
[ 0.6642084121704102, -0.4357738792896271, 0.4159069061279297, -0.24406585097312927, -0.24264560639858246, -0.22553154826164246, -0.569614827632904, 0.09484416991472244, 0.6252875328063965, -0.015351230278611183, -0.29338905215263367, 1.0790009498596191, 0.16390438377857208, 0.32802680134773...
func (e *err) Detail() string { b, _ := json.Marshal(e.Export()) return string(b) }
[ 0.22474338114261627, -0.4477095603942871, 0.40353527665138245, -0.954556941986084, -0.3212335407733917, -0.16551867127418518, -0.9768639802932739, -0.2115500122308731, 0.72392338514328, 0.5894066691398621, 0.019263481721282005, 1.3944534063339233, 0.3372225761413574, -0.2727941870689392, ...
func (e *err) DetailText() string { var text string if e.chains != nil && len(e.chains) != 0 { text = fmt.Sprintf("CallChains=%s, ", strings.Join(e.chains, ".")) } if len(globalTag) != 0 { text += fmt.Sprintf("GlobalTag=%s, ", globalTag) } if len(e.tag) != 0 { text += fmt.Sprintf("Tag=%s, ", e.tag) } if g...
[ 0.33900612592697144, -0.34555938839912415, 0.9176239371299744, -0.7889377474784851, -0.32054403424263, -0.10526792705059052, -0.34765204787254333, -0.2203945815563202, 0.24980393052101135, 0.6439803242683411, -0.27842840552330017, 0.6955960392951965, -0.5006199479103088, 0.7687036991119385...
func (e *err) Is(code any) bool { return e.code == code }
[ -1.0222523212432861, -0.272320032119751, 0.24152354896068573, 0.1999146193265915, 0.44325655698776245, -0.060868602246046066, -1.1871434450149536, 0.005460123531520367, 1.048173427581787, 0.10026633739471436, 0.25147145986557007, 1.16904878616333, -0.08558550477027893, 0.5363146662712097, ...
func (e *err) WithTag(tag string) Err { e.tag = tag return e }
[ 0.2043166309595108, -0.4286871552467346, 0.2733984589576721, -0.36448585987091064, 0.16046969592571259, 0.5819384455680847, 0.11201903969049454, 0.6863896250724792, 0.23801283538341522, -0.03436078131198883, -0.25936082005500793, -0.08632533997297287, 0.8334563970565796, 1.0691441297531128...
func (e *err) WithFields(fields map[string]interface{}) Err { for k, v := range fields { e.fields[k] = v } return e }
[ -0.47042834758758545, 0.510905385017395, 0.17518648505210876, -1.126434326171875, 0.16229259967803955, 0.611015796661377, -0.4878446161746979, -0.09254319220781326, -0.03662434592843056, -0.06480234861373901, 0.1322883516550064, -0.46983641386032104, 0.20467707514762878, 0.2232549488544464...
func callerName() (caller string) { pc, _, _, ok := runtime.Caller(2) // 0: function-self, 1: parent function caller if !ok { caller = "#" } else { path := runtime.FuncForPC(pc).Name() items := strings.Split(path, ".") caller = items[len(items)-1] if len(caller) == 0 { caller = path } } return calle...
[ -0.3902268707752228, -0.21639184653759003, 0.8398845791816711, 0.6008637547492981, -0.5125049352645874, -0.1932051181793213, 0.3768690526485443, -0.2914234399795532, -0.6102535128593445, -0.06963323801755905, 0.6690282225608826, -0.3195442855358124, -0.26982641220092773, 0.6236370205879211...
func DefaultExecutorRegistry() map[schema.GroupVersionKind]ifc.ExecutorFactory { execMap := make(map[schema.GroupVersionKind]ifc.ExecutorFactory) // add executors here return execMap }
[ -0.03804238140583038, 0.07473141700029373, 0.3133887052536011, 0.1507907658815384, 0.8177871704101562, -0.18708662688732147, 0.5666712522506714, 0.2415773570537567, 0.04183724895119667, -0.29369300603866577, -0.3936414420604706, 0.5408493876457214, -0.26987579464912415, 0.23282255232334137...
func (p *Cmd) GetPhase(name string) (*airshipv1.Phase, error) { bundle, err := p.getBundle() if err != nil { return nil, err } phaseConfig := &airshipv1.Phase{ ObjectMeta: metav1.ObjectMeta{ Name: name, }, } selector, err := document.NewSelector().ByObject(phaseConfig, airshipv1.Scheme) if err != nil { ...
[ -0.8101995587348938, -0.24463392794132233, 0.679701030254364, 0.13225799798965454, 0.3717709481716156, -0.385728120803833, -0.3293924331665039, -0.5004175901412964, 0.14963671565055847, 0.5542663335800171, 0.4578629434108734, -0.36362260580062866, -0.6444453597068787, 0.40304675698280334, ...
func (p *Cmd) GetExecutor(phase *airshipv1.Phase) (ifc.Executor, error) { bundle, err := p.getBundle() if err != nil { return nil, err } phaseConfig := phase.Config // Searching executor configuration document referenced in // phase configuration refGVK := phaseConfig.ExecutorRef.GroupVersionKind() selector :...
[ 0.04537077993154526, -0.3342394232749939, 0.6636094450950623, -0.11010909080505371, 0.3023248016834259, -0.08650389313697815, 0.7373233437538147, 0.200404554605484, 0.3386431634426117, 0.04289091005921364, 0.7645176649093628, 0.48073887825012207, -0.11468666791915894, 1.027129054069519, ...
func (p *Cmd) Plan() (map[string][]string, error) { bundle, err := p.getBundle() if err != nil { return nil, err } plan := &airshipv1.PhasePlan{} selector, err := document.NewSelector().ByObject(plan, airshipv1.Scheme) if err != nil { return nil, err } doc, err := bundle.SelectOne(selector) if err != nil {...
[ -1.3166193962097168, -0.4408072829246521, 0.4834206700325012, -0.6927534937858582, -1.10127592086792, 0.06347829848527908, 0.07316062599420547, -0.24138091504573822, -0.24594394862651825, 0.609307050704956, -0.5380423665046692, -0.3133254647254944, 0.011151700280606747, 0.3734293580055237,...
func (b *WindowDialogFactory) CreateButton() Button { return &WindowButton{} }
[ 1.2582767009735107, -0.6416120529174805, 0.3227219581604004, 0.489430695772171, -0.2050323486328125, 0.377765953540802, -0.05163557082414627, 0.2446172535419464, 0.6671436429023743, -0.3992985486984253, -0.28481757640838623, -0.29539433121681213, -1.1282958984375, 0.7088546752929688, -0....
func (fn GetUsersUsernameOrgsHandlerFunc) Handle(params GetUsersUsernameOrgsParams) middleware.Responder { return fn(params) }
[ 0.16481274366378784, 0.9427976608276367, 0.2780224680900574, 0.9956715703010559, -0.3806648552417755, -0.025899745523929596, 0.5711212754249573, 0.18080230057239532, -0.42995646595954895, -0.5850551724433899, 0.27192971110343933, 0.0335751511156559, 0.1375104784965515, -0.3901281952857971,...
func NewGetUsersUsernameOrgs(ctx *middleware.Context, handler GetUsersUsernameOrgsHandler) *GetUsersUsernameOrgs { return &GetUsersUsernameOrgs{Context: ctx, Handler: handler} }
[ -0.20622657239437103, 0.8107795715332031, -0.1478428691625595, 1.0349315404891968, -1.0415031909942627, -0.35095417499542236, -0.1757972538471222, 0.2644973695278168, -0.40541204810142517, 0.006613509263843298, -0.08443212509155273, 0.6048921942710876, -0.13634739816188812, -0.147815138101...
func insert(nums int) { timeStart := util.Microsecond() for i := 0; i < nums; i++ { key := []byte("key_" + strconv.Itoa(i)) // 10 bytes value := []byte("value_" + strconv.Itoa(i)) //12 bytes bDB.Update(func(tx *bolt.Tx) error { b := tx.Bucket([]byte("copernicus")) err := b.Put(key, value) return er...
[ -0.6144126653671265, 1.082563042640686, 0.5874132513999939, -0.614406406879425, 0.5908442735671997, 0.16364140808582306, 0.11525531113147736, 0.6533786654472351, -1.3542728424072266, 0.6899354457855225, -1.1632457971572876, -0.438785195350647, -1.026362419128418, 0.07958992570638657, 0.0...
func selects(nums int) { t := util.Microsecond() for i := 0; i < nums; i++ { key := []byte("key_" + strconv.Itoa(i)) bDB.View(func(tx *bolt.Tx) error { b := tx.Bucket([]byte("copernicus")) if r := b.Get(key); r == nil { fmt.Println("select value not found the index:", i) } return nil }) } fmt....
[ -0.7022143006324768, 0.06326615065336227, 0.40680453181266785, -0.16846951842308044, 0.6826006174087524, -0.8025476932525635, 0.005767041817307472, -0.9087507724761963, -0.5363371968269348, 0.5414308309555054, -0.23030009865760803, 0.38198283314704895, -0.1952928900718689, -0.0842944011092...
func delete(nums int) { t := util.Microsecond() for i := 0; i < nums; i++ { key := []byte("key_" + strconv.Itoa(i)) bDB.Update(func(tx *bolt.Tx) error { b := tx.Bucket([]byte("copernicus")) if err := b.Delete(key); err != nil { fmt.Println(err) } return nil }) } fmt.Println("delete time is :",...
[ 0.16045929491519928, 0.6047840118408203, 0.6121903657913208, 0.178717702627182, 0.8335886597633362, 0.07299132645130157, 0.09495684504508972, 0.47316068410873413, -0.8228297233581543, 1.1753238439559937, -0.42379337549209595, -0.3811475336551666, -0.8349494934082031, 0.14061330258846283, ...
func (mock *nvmlUUIDerMock) GetUUIDCalls() []struct { } { var calls []struct { } mock.lockGetUUID.RLock() calls = mock.calls.GetUUID mock.lockGetUUID.RUnlock() return calls }
[ -0.8489976525306702, 0.8600979447364807, 0.5750244855880737, 1.2102347612380981, -0.08080897480249405, -0.3289150297641754, -0.2897654175758362, -0.41208556294441223, 0.10988159477710724, 0.13023240864276886, -0.21246500313282013, -0.10271410644054413, -1.2014538049697876, 0.70314055681228...
func (u Student) GetPassword() string { return u.getPassword() }
[ -0.3702354431152344, -0.5545018315315247, 0.7476029396057129, 1.4767999649047852, -0.07871075719594955, 0.2483428418636322, 0.6721150279045105, 0.2946484088897705, 0.5406658053398132, -0.1474609225988388, -0.3518246114253998, 0.4910770058631897, 0.29921358823776245, 0.14831101894378662, ...
func (u Student) getPassword() string { return u.password }
[ -0.37731051445007324, -0.4008973240852356, 0.6489589810371399, 1.3998018503189087, -0.008230620063841343, 0.47879558801651, 0.7972787022590637, 0.554887592792511, 0.49659836292266846, -0.2622740566730499, -0.5001452565193176, 0.6260433793067932, 0.20038791000843048, 0.04717446491122246, ...
func NewVironAuthtypeResponseCollection(res vironviews.VironAuthtypeCollectionView) VironAuthtypeResponseCollection { body := make([]*VironAuthtypeResponse, len(res)) for i, val := range res { body[i] = &VironAuthtypeResponse{ Type: *val.Type, Provider: *val.Provider, URL: *val.URL, Method: *...
[ -0.8860436677932739, -1.4548090696334839, 0.03682168200612068, 0.23088154196739197, -0.05969783663749695, -0.9284108281135559, 0.461162269115448, -0.609910249710083, 1.2004848718643188, 0.3832840621471405, -0.05764785036444664, -0.07000459730625153, -0.4018370509147644, 0.27560368180274963...
func NewVironMenuResponseBody(res *vironviews.VironMenuView) *VironMenuResponseBody { body := &VironMenuResponseBody{ Name: *res.Name, Thumbnail: res.Thumbnail, Color: res.Color, Theme: res.Theme, } if res.Tags != nil { body.Tags = make([]string, len(res.Tags)) for i, val := range res.Tags {...
[ -0.2932392954826355, -1.5130388736724854, 0.46725866198539734, -0.512536883354187, -0.3549787402153015, -0.7996541857719421, -0.7226206064224243, -0.19522002339363098, 0.9091360569000244, 0.5605414509773254, -0.08317749202251434, -0.4723130166530609, -0.03871488943696022, -0.03185834735631...
func ValidateVironPageResponseBody(body *VironPageResponseBody) (err error) { if body.Components == nil { err = goa.MergeErrors(err, goa.MissingFieldError("components", "body")) } for _, e := range body.Components { if e != nil { if err2 := ValidateVironComponentResponseBody(e); err2 != nil { err = goa.Me...
[ 0.02781093493103981, -1.2671006917953491, 0.2772762179374695, -0.2711843252182007, 1.0007306337356567, 0.3537265658378601, 0.42716431617736816, -0.7623074650764465, 0.25804582238197327, 1.2164989709854126, 0.6727837324142456, -1.455737829208374, -1.1228159666061401, 0.622380793094635, -0...
func ValidateVironComponentResponseBody(body *VironComponentResponseBody) (err error) { if body.API == nil { err = goa.MergeErrors(err, goa.MissingFieldError("api", "body")) } if !(body.Style == "number" || body.Style == "table" || body.Style == "graph-bar" || body.Style == "graph-scatterplot" || body.Style == "gr...
[ 0.17309091985225677, -0.8764738440513611, 0.5333341360092163, -0.17581112682819366, 0.2276654839515686, 0.14528346061706543, 0.9149518013000488, -1.242599368095398, 0.47246116399765015, 0.7618797421455383, -0.09484316408634186, -0.41403353214263916, -0.6053072810173035, 0.4776826500892639,...
func (v *TableWidgetDefinitionType) GetAllowedValues() []TableWidgetDefinitionType { return allowedTableWidgetDefinitionTypeEnumValues }
[ 0.5433775186538696, 0.5764411687850952, 0.3528941869735718, 1.105198621749878, -0.16069544851779938, 0.4984978437423706, 0.04058721661567688, -0.22016577422618866, -0.16343125700950623, -0.5776384472846985, -0.17601996660232544, 0.3768419027328491, 0.11693884432315826, 1.8001078367233276, ...
func (v *TableWidgetDefinitionType) UnmarshalJSON(src []byte) error { var value string err := json.Unmarshal(src, &value) if err != nil { return err } *v = TableWidgetDefinitionType(value) return nil }
[ -0.21238356828689575, 0.851808488368988, 0.2016485184431076, -0.680436909198761, -0.07592510432004929, -0.16216571629047394, 0.04489361494779587, -0.03205135092139244, -0.2210446447134018, 0.45478421449661255, -0.3932742178440094, -0.43638551235198975, 0.05286548286676407, 1.63006007671356...
func NewTableWidgetDefinitionTypeFromValue(v string) (*TableWidgetDefinitionType, error) { ev := TableWidgetDefinitionType(v) if ev.IsValid() { return &ev, nil } return nil, fmt.Errorf("invalid value '%v' for TableWidgetDefinitionType: valid values are %v", v, allowedTableWidgetDefinitionTypeEnumValues) }
[ 0.7907885313034058, 0.13672108948230743, -0.25332751870155334, 0.9794778823852539, -0.36555472016334534, 0.039023902267217636, 0.3132135570049286, -0.5718380808830261, -0.05318249389529228, -0.042636286467313766, -0.007539995945990086, -0.870506763458252, -0.1404821127653122, 1.34386444091...
func (v TableWidgetDefinitionType) IsValid() bool { for _, existing := range allowedTableWidgetDefinitionTypeEnumValues { if existing == v { return true } } return false }
[ -0.3139370083808899, -0.005906107369810343, 0.3880833387374878, 0.8475841283798218, 0.3938469886779785, 0.8731467127799988, 0.2643280625343323, -0.38363975286483765, -0.3172963857650757, 0.3896651268005371, -0.15388625860214233, -0.04832170531153679, 0.01631038822233677, 1.1580384969711304...
func (v TableWidgetDefinitionType) Ptr() *TableWidgetDefinitionType { return &v }
[ 1.3342595100402832, 0.6303600668907166, -0.3010191023349762, 0.43262046575546265, -0.2047882080078125, 0.8355708122253418, -0.43644437193870544, -1.0903635025024414, 0.08211913704872131, 0.03242024406790733, 0.909805417060852, -0.30496302247047424, -0.29037976264953613, 1.2888035774230957,...
func (f *File) View() ([]byte, error) { if _, err := exec.LookPath("cat"); err != nil { return nil, fmt.Errorf("cat is required") } return exec.Command("cat", f.Name).Output() }
[ 0.10030506551265717, 0.25277477502822876, 0.30805355310440063, -0.8472400307655334, -0.2889796495437622, -0.2860047519207001, 0.11472999304533005, -0.3896884322166443, -1.506861925125122, -1.0502252578735352, 0.9434940218925476, 0.8170216679573059, 0.3188258707523346, 0.39787912368774414, ...
func (f *PDF) View() ([]byte, error) { if _, err := exec.LookPath("pdftotext"); err != nil { return nil, fmt.Errorf("pdftotext is required") } return exec.Command("pdftotext", f.Name, "-").Output() }
[ -0.03818901628255844, -0.3083353042602539, 0.597076952457428, -1.0971879959106445, 0.14264889061450958, -0.8109464645385742, 0.33887940645217896, -0.2277035266160965, -0.16192889213562012, -0.47665971517562866, 0.6800952553749084, 0.2554984986782074, -0.3136805593967438, -0.514732658863067...
func (f *Image) View() ([]byte, error) { if _, err := exec.LookPath("catimg"); err != nil { return nil, fmt.Errorf("catimg is required") } return exec.Command("catimg", "-w", "192", f.Name).Output() }
[ -0.6098499298095703, 0.2829807698726654, 0.32091379165649414, -0.6793027520179749, -0.5830429196357727, -0.4379591643810272, 0.23715174198150635, -0.3597105145454407, -1.0660346746444702, -0.6220500469207764, 0.6356458067893982, 0.7671799063682556, 0.05430874228477478, 0.6895687580108643, ...
func (f *Zipfile) View() ([]byte, error) { if _, err := exec.LookPath("unzip"); err != nil { return nil, fmt.Errorf("unzip is required") } return exec.Command("unzip", "-l", f.Name).Output() }
[ 0.15192459523677826, 0.38317251205444336, 0.4038010537624359, -1.0849498510360718, 0.09160061925649643, -0.594828724861145, 0.6828247904777527, -0.02491653524339199, -0.12623178958892822, -0.7132730484008789, 0.6157925128936768, 0.3238133490085602, -0.4520004093647003, -0.23072390258312225...
func (f *Tarfile) View() ([]byte, error) { if _, err := exec.LookPath("tar"); err != nil { return nil, fmt.Errorf("tar is required") } return exec.Command("tar", "tf", f.Name).Output() }
[ 0.33972448110580444, 0.44150009751319885, 0.24436961114406586, -1.6003080606460571, -0.1695529967546463, -0.11717289686203003, 0.4693547189235687, -0.3715166747570038, -1.0734622478485107, -0.7650994658470154, 0.788836658000946, 0.22364488244056702, 0.08501669019460678, -0.0675460323691368...
func (f *MP3) View() ([]byte, error) { if _, err := exec.LookPath("mp3info"); err != nil { return nil, fmt.Errorf("mp3info is required") } return exec.Command("mp3info", "-x", f.Name).Output() }
[ 0.041152048856019974, -0.37182945013046265, 0.4051729142665863, -1.0513789653778076, -0.23728494346141815, 0.1346675008535385, 0.03602375462651253, -0.9751576781272888, -0.3999083638191223, -0.9299227595329285, 0.5744084119796753, 0.7780877351760864, -0.941395103931427, -0.2834967672824859...
func (f *Rar) View() ([]byte, error) { if _, err := exec.LookPath("unrar"); err != nil { return nil, fmt.Errorf("unrar is required") } return exec.Command("unrar", "l", f.Name).Output() }
[ 0.05234718695282936, -0.2980911135673523, 0.4126131236553192, -0.8883840441703796, -0.30782008171081543, -0.8061404228210449, 0.5532408356666565, -0.06882822513580322, 0.32075995206832886, -0.7958762645721436, 0.8319905400276184, 0.517970860004425, -0.17720015347003937, 0.3200867772102356,...
func (f *Word) View() ([]byte, error) { if _, err := exec.LookPath("antiword"); err != nil { return nil, fmt.Errorf("antiword is required") } return exec.Command("antiword", f.Name).Output() }
[ 0.3986017107963562, 0.2108025848865509, 0.30270278453826904, -0.6248043179512024, -0.5471799969673157, -0.03403453528881073, 0.3531407117843628, -0.3316553831100464, -0.40423667430877686, -0.06419456750154495, 0.8003900647163391, 1.1219578981399536, -1.1562684774398804, 0.7787765860557556,...
func (f *XLSX) View() ([]byte, error) { // https://git.io/vXOHi if _, err := exec.LookPath("xlsx2tsv.py"); err != nil { return nil, fmt.Errorf("xlsx2tsv is required, https://git.io/vXOHi") } out, err := exec.Command("xlsx2tsv.py", f.Name).Output() if err == nil { return out, err } return exec.Command("xlsx2t...
[ 0.24582448601722717, 0.07404778152704239, 0.4027092456817627, -0.7954948544502258, -0.5640385150909424, -0.37298402190208435, -0.5253848433494568, -0.36858659982681274, -0.4339255690574646, -0.6535367369651794, 0.5673849582672119, 0.9172660112380981, 0.3325510323047638, -0.2273560464382171...
func (f *DMG) View() ([]byte, error) { if _, err := exec.LookPath("hdiutil"); err != nil { return nil, fmt.Errorf("hdiutil is required") } return exec.Command("hdiutil", "imageinfo", f.Name).Output() }
[ -0.5029597282409668, 0.20555713772773743, 0.28600478172302246, -0.9089409112930298, 0.09903950244188309, -0.7917583584785461, -0.14823779463768005, -0.5438451766967773, -0.5960367321968079, -0.8531076908111572, 0.38491132855415344, 0.6017687320709229, -0.035024307668209076, 0.2805864214897...
func DispatchFile(s string) (Viewer, error) { switch { case strings.HasSuffix(s, ".pdf"): return &PDF{File{Name: s}}, nil case strings.HasSuffix(s, ".jpg"): return &Image{File{Name: s}}, nil case strings.HasSuffix(s, ".png"): return &Image{File{Name: s}}, nil case strings.HasSuffix(s, ".gif"): return &Imag...
[ 0.8907120823860168, -1.1007896661758423, 0.90904301404953, -0.7521258592605591, -1.2909704446792603, -0.45433712005615234, 0.601386308670044, -0.05335397645831108, -0.1765342503786087, -0.7141917943954468, 0.17473594844341278, 0.36834365129470825, 0.21602001786231995, -0.03445393219590187,...
func (m CustconfOriginPullProtocolProtocolEnumWrapperValue) Validate(formats strfmt.Registry) error { var res []error // value enum if err := m.validateCustconfOriginPullProtocolProtocolEnumWrapperValueEnum("", "body", m); err != nil { return err } if len(res) > 0 { return errors.CompositeValidationError(res...
[ -1.0684044361114502, 0.1265520304441452, 0.2953260838985443, 0.08429233729839325, -0.13551202416419983, 0.9511732459068298, 0.3549121618270874, 0.10951975733041763, -0.8890541791915894, 0.4468698799610138, 0.3078822195529938, -0.0808902457356453, -0.8768134713172913, -0.02825738489627838, ...
func New(output *os.File, NoColors ...bool) *Tiny { nocolors := false if len(NoColors) > 0 { nocolors = NoColors[0] } l := logrus.New() l.SetLevel(logrus.DebugLevel) log.SetOutput(output) l.SetFormatter(&f.Formatter{ NoColors: nocolors, HideKeys: true, FieldsOrder: []string{"component", "category"}...
[ -0.04996289312839508, -0.6202055811882019, 0.45333239436149597, -1.4764289855957031, -1.2479581832885742, -0.3984454274177551, -0.15240108966827393, -0.5933024287223816, -1.1190601587295532, -1.2152621746063232, -0.13148283958435059, 0.6244034171104431, 0.9403467774391174, 0.20499293506145...
func RegisterJobRunners(workflow *types.Workflow, eventBusObservable observer.Observer) { for id := range workflow.Jobs { workflow.Jobs[id].Internal.JobsToCompleteBeforeStart = calculateDependenciesJobs(id, workflow) runJob(id, workflow, eventBusObservable) } }
[ -0.7813450694084167, -0.09547194838523865, 0.4609910845756531, 0.0968400165438652, 0.7054290771484375, -0.061517246067523956, -0.021175621077418327, -0.11691372841596603, -0.8418946266174316, -0.3965553939342499, -1.1638106107711792, -0.35711297392845154, -0.5149039030075073, 1.06892526149...
func NewDeviceManagementIntentDeviceState()(*DeviceManagementIntentDeviceState) { m := &DeviceManagementIntentDeviceState{ Entity: *NewEntity(), } return m }
[ -1.0345474481582642, -0.4547673761844635, 0.10506938397884369, -0.6559958457946777, -0.6120571494102478, -0.17491252720355988, 0.7920839786529541, -0.40561261773109436, 0.5117611885070801, 0.035490624606609344, 0.22680304944515228, -0.18515637516975403, -0.11826778203248978, -0.07103998959...
func CreateDeviceManagementIntentDeviceStateFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { return NewDeviceManagementIntentDeviceState(), nil }
[ 0.08996713906526566, -0.17508943378925323, 0.27460139989852905, -0.3525025546550751, -0.6589366793632507, 0.4587426483631134, 0.7562698721885681, -0.01983582228422165, 0.9325605630874634, -0.2649447023868561, 0.4184941351413727, 0.2535373866558075, 0.010288857854902744, 0.33478331565856934...
func (m *DeviceManagementIntentDeviceState) GetDeviceDisplayName()(*string) { val, err := m.GetBackingStore().Get("deviceDisplayName") if err != nil { panic(err) } if val != nil { return val.(*string) } return nil }
[ -0.08517774939537048, 0.3692462742328644, 0.12873536348342896, 0.7192890048027039, -0.3714354932308197, 0.0687493160367012, 0.756752610206604, -0.2696632146835327, 0.6990644335746765, -0.47805777192115784, 0.3899660110473633, -0.8129708766937256, 0.09799302369356155, -0.46198219060897827, ...
func (m *DeviceManagementIntentDeviceState) GetDeviceId()(*string) { val, err := m.GetBackingStore().Get("deviceId") if err != nil { panic(err) } if val != nil { return val.(*string) } return nil }
[ 0.6881390810012817, 0.13211388885974884, 0.15934334695339203, 0.7714024186134338, -0.1939430832862854, 1.205693244934082, 0.6587709188461304, -0.2813102900981903, 1.9004853963851929, -0.19332771003246307, 1.0476139783859253, 0.036580655723810196, 0.24503569304943085, -0.2718510329723358, ...
func (m *DeviceManagementIntentDeviceState) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := m.Entity.GetFieldDeserializers() res["deviceDisplayName"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91....
[ -0.03155960515141487, 0.38173767924308777, 0.6174490451812744, -1.2282963991165161, -0.03532189503312111, -0.7570812106132507, 0.5087490677833557, -0.0848895013332367, -0.4394623339176178, -0.9891626238822937, -0.4332572817802429, -0.05531313642859459, -0.745769739151001, 0.231122061610221...
func (m *DeviceManagementIntentDeviceState) GetLastReportedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { val, err := m.GetBackingStore().Get("lastReportedDateTime") if err != nil { panic(err) } if val != nil { return val.(*i336074805fc853987abe6f7f...
[ 0.047735899686813354, 0.8640424609184265, 0.3961099684238434, -1.1380332708358765, 0.6158302426338196, 0.16628488898277283, 0.17127136886119843, -0.03860441967844963, 0.3238127529621124, -0.5957269072532654, -0.2427341490983963, -0.6203534603118896, -1.5249968767166138, -0.2520310580730438...
func (m *DeviceManagementIntentDeviceState) GetState()(*ComplianceStatus) { val, err := m.GetBackingStore().Get("state") if err != nil { panic(err) } if val != nil { return val.(*ComplianceStatus) } return nil }
[ 0.45438146591186523, 1.0953022241592407, 0.2967309355735779, 0.9103755354881287, 0.4500480890274048, 0.47105708718299866, 1.0476195812225342, 0.14296680688858032, 0.7768341898918152, -0.13004128634929657, 0.591196596622467, -0.5214470624923706, -0.7269465327262878, -0.05537237226963043, ...
func (m *DeviceManagementIntentDeviceState) GetUserName()(*string) { val, err := m.GetBackingStore().Get("userName") if err != nil { panic(err) } if val != nil { return val.(*string) } return nil }
[ 0.16578242182731628, 0.6222434639930725, 0.18811944127082825, 0.7424471974372864, -0.01908712275326252, -0.03521112725138664, 0.8300041556358337, -0.16779938340187073, 1.0848422050476074, -0.060151681303977966, 0.5622605085372925, -0.615862250328064, -0.2590908706188202, -1.124756217002868...
func (m *DeviceManagementIntentDeviceState) GetUserPrincipalName()(*string) { val, err := m.GetBackingStore().Get("userPrincipalName") if err != nil { panic(err) } if val != nil { return val.(*string) } return nil }
[ 0.35955122113227844, -0.1664864718914032, 0.28793054819107056, 0.431207537651062, -1.013574481010437, 0.521004319190979, 0.8026182055473328, 0.17616988718509674, 1.3873120546340942, 0.09819552302360535, -0.008154427632689476, -0.1512725055217743, -0.1031220406293869, -1.289534330368042, ...
func (m *DeviceManagementIntentDeviceState) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { err := m.Entity.Serialize(writer) if err != nil { return err } { err = writer.WriteStringValue("deviceDisplayName", m.GetDeviceDisp...
[ -0.6331005096435547, 0.1489449292421341, 0.40703085064888, -0.6931595206260681, 0.10893656313419342, -0.44753319025039673, 0.9483156800270081, -0.46037930250167847, 0.5340873003005981, -0.08265212178230286, 0.15155349671840668, -0.021303294226527214, -0.32075342535972595, 0.368191003799438...
func (m *DeviceManagementIntentDeviceState) SetDeviceDisplayName(value *string)() { err := m.GetBackingStore().Set("deviceDisplayName", value) if err != nil { panic(err) } }
[ -0.6515024304389954, 0.46201857924461365, -0.021040361374616623, 0.5117536783218384, -0.5158059000968933, 0.3249191641807556, 0.9437944889068604, -0.33544060587882996, 0.4456452429294586, -0.20496493577957153, -0.1525488793849945, -1.1179386377334595, 0.23353786766529083, -0.19864682853221...
func (m *DeviceManagementIntentDeviceState) SetDeviceId(value *string)() { err := m.GetBackingStore().Set("deviceId", value) if err != nil { panic(err) } }
[ 0.15254707634449005, 0.2772521674633026, 0.10957568138837814, 0.7246859669685364, -0.3815038502216339, 1.4410312175750732, 0.7012219429016113, 0.04403886944055557, 1.1816908121109009, -0.012892916798591614, 0.49564430117607117, -0.5080030560493469, 0.20117436349391937, 0.43357402086257935,...
func (m *DeviceManagementIntentDeviceState) SetLastReportedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { err := m.GetBackingStore().Set("lastReportedDateTime", value) if err != nil { panic(err) } }
[ -0.38870248198509216, 0.792908787727356, 0.23907352983951569, -1.1754264831542969, 0.5589041113853455, 0.16047403216362, 0.3255881369113922, -0.1283741593360901, 0.32465070486068726, -0.24664221704006195, -0.6156929135322571, -0.9878348112106323, -1.2070270776748657, -0.039875950664281845,...
func (m *DeviceManagementIntentDeviceState) SetState(value *ComplianceStatus)() { err := m.GetBackingStore().Set("state", value) if err != nil { panic(err) } }
[ -0.3329058587551117, 1.5903711318969727, 0.11224660277366638, 0.7951898574829102, 0.16722017526626587, 0.8411093354225159, 1.1593718528747559, 0.47221919894218445, 0.5407383441925049, -0.28723961114883423, 0.18370777368545532, -0.8436509370803833, -0.7337726950645447, 0.6361193060874939, ...
func (m *DeviceManagementIntentDeviceState) SetUserName(value *string)() { err := m.GetBackingStore().Set("userName", value) if err != nil { panic(err) } }
[ -0.2993208169937134, 0.9580602049827576, 0.11262354999780655, 0.84605872631073, -0.2559013068675995, 0.3637451231479645, 1.1071853637695312, 0.37245866656303406, 0.37126171588897705, 0.12913481891155243, -0.190242737531662, -1.1133366823196411, -0.05213022604584694, -0.5945809483528137, ...
func (m *DeviceManagementIntentDeviceState) SetUserPrincipalName(value *string)() { err := m.GetBackingStore().Set("userPrincipalName", value) if err != nil { panic(err) } }
[ 0.1017250344157219, -0.40525591373443604, 0.09633589535951614, -0.010798460803925991, -1.0497955083847046, 0.842311680316925, 1.1156747341156006, 0.515761137008667, 1.2799853086471558, 0.47981637716293335, -0.39209577441215515, -0.6375353932380676, 0.13268642127513885, -1.1180830001831055,...
func GetStruct(filename string) []TD { output := CSV(filename) var stsli TD var result []TD // row traverse // count excluding the header row for i := 1; i < len(output); i++ { stsli.Class = slm.StrToInt(output[i][0]) stsli.Weight = slm.StrToInt(output[i][0]) * 100 stsli.Text = output[i][1] result = appe...
[ -0.9292587637901306, -0.2808075547218323, 0.39876028895378113, 0.07233823090791702, -0.8478059768676758, -0.08497999608516693, 0.04595552757382393, -0.323257178068161, -0.45283886790275574, 0.1252324879169464, -0.0958893820643425, -0.1965995877981186, 0.283187597990036, 0.3752388656139374,...
func GetInclFt(filename string) string { output := CSV(filename) var icstr string // row traverse // count excluding the header row for i := 1; i < len(output); i++ { icstr += "," + output[i][0] } return icstr }
[ 0.6750965118408203, -0.20922817289829254, 0.6299425959587097, -0.9968255758285522, -1.058613896369934, -0.4340333938598633, 0.17030231654644012, 0.26618731021881104, -0.08682125061750412, 0.49481648206710815, 0.9648123383522034, 0.044283799827098846, -0.7455412745475769, -0.197696685791015...
func GetExcFt(filename string) []string { output := CSV(filename) var exclude_arr []string // row traverse // count excluding the header row for i := 1; i < len(output); i++ { exclude_arr = append(exclude_arr, output[i][0]) } return exclude_arr }
[ 0.47867295145988464, -0.12401126325130463, 0.6667651534080505, 0.34081247448921204, -1.095213532447815, -0.022250976413488388, 0.2382836788892746, 0.5922287106513977, 0.25247418880462646, 0.38290345668792725, 0.03416460379958153, 0.24676360189914703, -0.4832630753517151, 0.789160430431366,...
func CSV(filename string) [][]string { // func Open(name string) (file *File, err error) file, err := os.Open(filename) if err != nil { // fmt.Println(err.Error()) fmt.Println("Error:", err) return nil } // func (f *File) Close() error defer file.Close() // func NewReader(r io.Reader) *Reader // it can ...
[ 0.26152297854423523, -0.9981250762939453, 0.9964819550514221, -0.22220519185066223, -0.12170135974884033, 0.4763428568840027, 0.40844517946243286, 0.1306009739637375, -0.12194161862134933, 0.286208838224411, 0.8452654480934143, 1.165667176246643, -0.06627969443798065, 0.19433748722076416, ...
func NewConnection(cycle int) (Connection, error){ return NewConnectionToURLS(cycle, os.Getenv("DISQUE_NODES")) }
[ -1.0691343545913696, -0.11132925003767014, 0.12917375564575195, 0.08526041358709335, -0.16755743324756622, -0.6460126042366028, 0.8588870763778687, 0.05305778980255127, -1.287549614906311, 0.5892167091369629, 0.14910893142223358, -0.2957875728607178, 0.577623188495636, 0.43387481570243835,...
func NewConnectionToURLS(cycle int, nodes string) (Connection, error) { return NewConnectionToNodes(cycle, strings.Split(nodes, ",")...) }
[ -1.1049835681915283, -0.29673057794570923, 0.2189309149980545, -0.49934130907058716, -0.5617814660072327, -0.8764416575431824, -0.28864586353302, 0.30022865533828735, -0.6269965767860413, 0.6370322108268738, 0.5464176535606384, -0.6279023885726929, -0.16254550218582153, -0.4922246634960174...
func NewConnectionToNodes(cycle int, nodes ...string) (Connection, error){ disqueConn, err := connectToFirstAvailableNode(nodes...); if err != nil { return Connection{Cycle: cycle, Nodes: nodes}, err } return Connection{disqueConn, cycle, nodes}, nil }
[ -1.182713508605957, -0.39731699228286743, 0.4685724675655365, -0.38451752066612244, -0.07285995781421661, -0.7227904200553894, 0.23685544729232788, 0.11415331065654755, -0.5824487805366516, 1.0630120038986206, 0.2021724134683609, -0.38369813561439514, 0.2527763247489929, -0.286417663097381...
func connectToFirstAvailableNode(nodes ...string) (redis.Conn, error) { for _, node := range nodes { conn, err := redis.Dial("tcp", node); if err == nil { return conn, err } } return nil, errors.New("No available nodes") }
[ -0.945879340171814, -0.11041702330112457, 0.4163326025009155, -0.19282720983028412, 0.6402079463005066, 0.13142944872379303, -0.809466540813446, -0.21748465299606323, -0.7947448492050171, 1.2486919164657593, 0.612645149230957, 0.1175479143857956, 0.42823290824890137, 0.5664476752281189, ...
func (c *Connection) AddJob(queue string, payload string, timeout time.Duration) (string ,error) { arguments := redis.Args{}. Add(queue). Add(payload). Add(int64(timeout.Seconds() * 1000)) return redis.String(c.Do("ADDJOB", arguments...)) }
[ 0.1754133105278015, 0.6207605004310608, 0.6506671905517578, 0.2175963670015335, -0.7779367566108704, 0.5611282587051392, -2.0855398178100586, -0.27616098523139954, 0.028044240549206734, 0.34614598751068115, 0.7424065470695496, -0.32039645314216614, -0.5545450448989868, -0.11219093203544617...
func (c *Connection) GetJob(count int, timeout time.Duration, queues ...string) (Job, error){ arguments := redis.Args{}. Add("TIMEOUT").Add(int64(timeout.Seconds() * 1000)). Add("COUNT").Add(count). Add("FROM").AddFlat(queues) values, err := redis.Values(c.Do("GETJOB", arguments...)); if err != nil { ...
[ 0.20889680087566376, 0.27675119042396545, 0.8691613078117371, 0.3761245906352997, -0.3836776316165924, 0.17386551201343536, -1.3870681524276733, -0.15894661843776703, -0.6144580245018005, -0.14457999169826508, 0.33189547061920166, 0.1621321439743042, 0.08182598650455475, -0.287570863962173...
func (c *Connection) Ack(jobID string) error { _, err := c.Do("ACKJOB", jobID) return err }
[ 0.22903624176979065, 0.34387442469596863, 0.40308067202568054, 0.09662478417158127, -0.443983793258667, 0.6870074272155762, 0.6262291073799133, 0.34728479385375977, -0.36502954363822937, 0.6957346200942993, -0.402315229177475, 0.8279878497123718, -0.32378721237182617, 0.7743890285491943, ...
func (c *Connection) NAck(jobID string) error { _, err := c.Do("NACK", jobID) return err }
[ -0.17844441533088684, 1.2086724042892456, 0.47348329424858093, -0.2104468047618866, -0.05034422129392624, 0.23722447454929352, 0.5464350581169128, -0.9100000262260437, -0.6454359889030457, 0.8553059101104736, 0.025103623047471046, 0.6205030083656311, -0.41287165880203247, 0.881797790527343...
func NewPatchV1AdminUsersUserOK() *PatchV1AdminUsersUserOK { return &PatchV1AdminUsersUserOK{} }
[ -0.5565624237060547, 0.4818432033061981, 0.24679914116859436, 0.5278262495994568, -1.3845188617706299, 0.37518975138664246, 0.1158958449959755, -0.012093186378479004, 0.5349039435386658, 1.1436383724212646, 0.32817769050598145, 0.9149978756904602, -0.28648829460144043, 0.3293897211551666, ...
func (o *PatchV1AdminUsersUserOK) WithPayload(payload string) *PatchV1AdminUsersUserOK { o.Payload = payload return o }
[ -0.1179298460483551, 0.7939959764480591, -0.011085734702646732, -0.07431033253669739, -1.3037946224212646, 0.17175084352493286, -0.11491256207227707, -0.3789727985858917, 0.7110925316810608, 0.7324819564819336, 0.4950050413608551, 0.054097265005111694, -0.07801693677902222, -0.086495742201...
func (o *PatchV1AdminUsersUserOK) SetPayload(payload string) { o.Payload = payload }
[ -0.14963141083717346, 0.8844601511955261, -0.10063681751489639, 0.18561479449272156, -1.1340429782867432, 0.5504173636436462, -0.09648671001195908, -0.1865597367286682, 0.25400781631469727, 0.9248706102371216, 0.4131013751029968, 0.4600605368614197, -0.6694151759147644, 0.3266814351081848,...
func (o *PatchV1AdminUsersUserOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { rw.WriteHeader(200) payload := o.Payload if err := producer.Produce(rw, payload); err != nil { panic(err) // let the recovery middleware deal with this } }
[ -0.7245669364929199, 0.20978698134422302, 0.18737836182117462, 0.2251170426607132, 0.2703583538532257, -0.12028984725475311, 0.4526350498199463, 0.033151473850011826, 0.4585854113101959, 0.7962546348571777, 0.2998674213886261, 0.09250829368829727, -0.45222383737564087, 0.008588952012360096...
func NewPatchV1AdminUsersUserBadRequest() *PatchV1AdminUsersUserBadRequest { return &PatchV1AdminUsersUserBadRequest{} }
[ -0.3561704158782959, -0.20078574120998383, 0.5175163745880127, 0.5282973647117615, -1.7221790552139282, 0.622641384601593, -0.21040582656860352, -0.0979517251253128, 0.13896428048610687, 0.56197190284729, 0.27241507172584534, 1.730901837348938, -0.15234635770320892, 0.7571054697036743, -...
func (o *PatchV1AdminUsersUserBadRequest) WithPayload(payload string) *PatchV1AdminUsersUserBadRequest { o.Payload = payload return o }
[ -0.13092505931854248, -0.019524801522493362, 0.3776116669178009, 0.1416584700345993, -1.3021659851074219, 0.6120703816413879, -0.5521940588951111, -0.964322566986084, 0.41650235652923584, 0.3363052010536194, 0.6686585545539856, 0.733186662197113, -0.40110668540000916, 0.4993819296360016, ...
func (o *PatchV1AdminUsersUserBadRequest) SetPayload(payload string) { o.Payload = payload }
[ -0.45173025131225586, 0.28944826126098633, 0.18039804697036743, 0.20643563568592072, -0.9449140429496765, 0.9324638247489929, -0.6488502025604248, -0.9180898666381836, -0.007937008515000343, 0.5719794034957886, 0.3492085039615631, 1.1194605827331543, -1.0495469570159912, 0.6664312481880188...
func (o *PatchV1AdminUsersUserBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { rw.WriteHeader(400) payload := o.Payload if err := producer.Produce(rw, payload); err != nil { panic(err) // let the recovery middleware deal with this } }
[ -0.639515221118927, -0.1914212852716446, 0.4829449951648712, 0.4976353347301483, 0.18481183052062988, 0.307539701461792, 0.000549406511709094, -0.679889976978302, 0.4583462178707123, 0.554341197013855, 0.13395506143569946, 0.7059129476547241, -0.7649739980697632, 0.18085266649723053, -0....
func NewPatchV1AdminUsersUserUnauthorized() *PatchV1AdminUsersUserUnauthorized { return &PatchV1AdminUsersUserUnauthorized{} }
[ -0.1693217009305954, 0.09069027751684189, 0.5462056994438171, 0.7660871148109436, -1.695959210395813, 0.5374172329902649, 0.06445344537496567, 0.8919728994369507, 0.2380855232477188, 0.29213958978652954, 0.6040151119232178, 2.187990188598633, -0.15988260507583618, -0.25956493616104126, -...
func (o *PatchV1AdminUsersUserUnauthorized) WithPayload(payload string) *PatchV1AdminUsersUserUnauthorized { o.Payload = payload return o }
[ 0.15378251671791077, 0.5038549900054932, 0.34262901544570923, 0.28536784648895264, -1.4619921445846558, 0.5341858863830566, -0.0904308408498764, 0.2729887068271637, 0.7616350650787354, 0.17720164358615875, 0.7713368535041809, 1.2446595430374146, -0.006601296830922365, -0.25294575095176697,...
func (o *PatchV1AdminUsersUserUnauthorized) SetPayload(payload string) { o.Payload = payload }
[ 0.051651060581207275, 0.7060279250144958, 0.11349552124738693, 0.32320931553840637, -1.2166507244110107, 0.9148679375648499, 0.10220750421285629, 0.4481707215309143, 0.3435414433479309, 0.41360440850257874, 0.39729201793670654, 1.5113232135772705, -0.45173195004463196, -0.05875062197446823...
func (o *PatchV1AdminUsersUserUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { rw.WriteHeader(401) payload := o.Payload if err := producer.Produce(rw, payload); err != nil { panic(err) // let the recovery middleware deal with this } }
[ -0.6000239253044128, 0.06700470298528671, 0.3602370321750641, 0.297891229391098, -0.06449052691459656, 0.31806179881095886, 0.5372375249862671, 0.47306305170059204, 0.6636937260627747, 0.6168818473815918, 0.4333948493003845, 0.7643609046936035, -0.5498141050338745, -0.42458102107048035, ...
func NewPatchV1AdminUsersUserForbidden() *PatchV1AdminUsersUserForbidden { return &PatchV1AdminUsersUserForbidden{} }
[ 0.6019922494888306, 0.7991414666175842, 0.28229793906211853, 1.1616885662078857, -1.5648802518844604, 1.1114565134048462, 0.33909109234809875, -0.42059293389320374, 0.11521966010332108, 0.4325099587440491, 0.24316124618053436, 1.824422001838684, -0.15799249708652496, -0.3973202705383301, ...
func (o *PatchV1AdminUsersUserForbidden) WithPayload(payload string) *PatchV1AdminUsersUserForbidden { o.Payload = payload return o }
[ 0.8902719020843506, 0.865890622138977, 0.06263475865125656, 0.7717459201812744, -1.312834620475769, 0.8892102837562561, 0.08690610527992249, -1.0279326438903809, 0.40621763467788696, 0.2869023084640503, 0.6203288435935974, 0.8072891235351562, -0.2224903255701065, -0.17905762791633606, 0....
func (o *PatchV1AdminUsersUserForbidden) SetPayload(payload string) { o.Payload = payload }
[ 0.5498444437980652, 1.265660285949707, 0.06343604624271393, 0.7640827298164368, -1.1832220554351807, 1.2875852584838867, 0.2874120771884918, -0.7755811214447021, 0.06099363788962364, 0.5604045987129211, 0.24958524107933044, 1.2327781915664673, -0.7768577933311462, -0.20687457919120789, 0...
func (o *PatchV1AdminUsersUserForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { rw.WriteHeader(403) payload := o.Payload if err := producer.Produce(rw, payload); err != nil { panic(err) // let the recovery middleware deal with this } }
[ 0.04924280568957329, 0.47877398133277893, 0.2999987006187439, 0.43242916464805603, -0.006461052224040031, 0.38415658473968506, 0.6086341142654419, -0.7351577877998352, 0.42553871870040894, 0.8496565222740173, 0.4329971969127655, 0.6761624217033386, -0.7364084124565125, -0.43572741746902466...
func NewPatchV1AdminUsersUserNotFound() *PatchV1AdminUsersUserNotFound { return &PatchV1AdminUsersUserNotFound{} }
[ -0.01848001591861248, -0.29165130853652954, -0.14088952541351318, 0.2022356539964676, -1.0527770519256592, 1.2947633266448975, 0.3266259431838989, -0.36834651231765747, 0.4164709150791168, 0.6714174747467041, 0.33570677042007446, 1.6888211965560913, -0.203425332903862, 0.42188090085983276,...
func (o *PatchV1AdminUsersUserNotFound) WithPayload(payload string) *PatchV1AdminUsersUserNotFound { o.Payload = payload return o }
[ 0.028363358229398727, 0.14875929057598114, -0.17013730108737946, -0.21783803403377533, -0.8051635026931763, 0.8461309671401978, 0.03175598010420799, -0.8631375432014465, 0.6562580466270447, 0.3277572691440582, 0.4495399296283722, 0.8022109866142273, -0.10650648921728134, 0.2371178865432739...
func (o *PatchV1AdminUsersUserNotFound) SetPayload(payload string) { o.Payload = payload }
[ -0.2322569489479065, 0.37493008375167847, -0.1848534643650055, -0.02535461261868477, -0.5128492116928101, 1.211459755897522, 0.06335946172475815, -0.7042584419250488, 0.22691676020622253, 0.5483010411262512, 0.23822447657585144, 1.1365535259246826, -0.6759281754493713, 0.4451223611831665, ...
func (o *PatchV1AdminUsersUserNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { rw.WriteHeader(404) payload := o.Payload if err := producer.Produce(rw, payload); err != nil { panic(err) // let the recovery middleware deal with this } }
[ -0.7540603876113892, -0.20350952446460724, 0.13710252940654755, 0.13343025743961334, 0.5826236605644226, 0.2946356236934662, 0.5835280418395996, -0.4970550239086151, 0.42196062207221985, 0.8411330580711365, 0.24392935633659363, 0.6372662782669067, -0.5966536998748779, 0.09180324524641037, ...
func (o *PatchV1AdminUsersUserInternalServerError) WithPayload(payload string) *PatchV1AdminUsersUserInternalServerError { o.Payload = payload return o }
[ -0.29162296652793884, 0.3527814745903015, 0.14093080163002014, -0.9707729816436768, -1.5940008163452148, 0.9700276255607605, 0.061140481382608414, 0.014490206725895405, 0.5372628569602966, 0.3556121289730072, 0.4840331971645355, 1.1990630626678467, -0.8731896281242371, -0.07767100632190704...
func (o *PatchV1AdminUsersUserInternalServerError) SetPayload(payload string) { o.Payload = payload }
[ -0.3976070284843445, 0.46452829241752625, 0.1209736242890358, -0.6637171506881714, -1.3340734243392944, 1.0580228567123413, 0.04527495056390762, 0.17228499054908752, 0.23766429722309113, 0.6173038482666016, 0.24044765532016754, 1.2835614681243896, -1.3632460832595825, 0.3932545483112335, ...
func (o *PatchV1AdminUsersUserInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { rw.WriteHeader(500) payload := o.Payload if err := producer.Produce(rw, payload); err != nil { panic(err) // let the recovery middleware deal with this } }
[ -0.8917332887649536, 0.019003821536898613, 0.2762686610221863, -0.19729258120059967, 0.011494341306388378, 0.3220888078212738, 0.6361789107322693, 0.23707358539104462, 0.6311678886413574, 0.8100848197937012, 0.45883193612098694, 0.8115877509117126, -1.0128909349441528, -0.11625011265277863...
func NewModifierList() *ModifierList { return &ModifierList{} }
[ -1.2351545095443726, -0.7086526155471802, -0.12783917784690857, 0.2876588702201843, -0.374889999628067, -0.836577296257019, -0.567450761795044, 0.71847003698349, 0.258926659822464, 0.00848273653537035, -1.6103874444961548, 0.06837127357721329, -0.2461455911397934, 2.263472557067871, -0.2...
func (ml *ModifierList) Visit(ctx *parser.ModifierListContext) { ml.Start = ctx.GetStart() ml.Stop = ctx.GetStop() ml.External = ctx.ExternalKeyword(0) != nil ml.Public = ctx.PublicKeyword(0) != nil ml.Internal = ctx.InternalKeyword(0) != nil ml.Private = ctx.PrivateKeyword(0) != nil ml.StateMutability = NewStat...
[ -1.88577139377594, -0.346894234418869, 0.5826221704483032, -0.6462147831916809, -0.27333155274391174, -0.5671428442001343, -0.05591500177979469, -0.34506887197494507, 0.13555170595645905, 0.3423892855644226, -0.5782831907272339, 0.6631317734718323, -0.7284067869186401, 1.5877795219421387, ...
func findInDir(file, dir string, env environ.Env) (string, error) { var exts []string if x, ok := env.Lookup(`PATHEXT`); ok { for _, e := range strings.Split(strings.ToLower(x), `;`) { if e == "" { continue } if e[0] != '.' { e = "." + e } exts = append(exts, e) } } else { exts = []strin...
[ 0.5386009812355042, -0.47858789563179016, 1.1512937545776367, 0.7006307244300842, -0.6420859694480896, 0.6067694425582886, 0.18264077603816986, -0.5617899894714355, -0.6875321865081787, 0.2907733917236328, 1.1528420448303223, 0.6504048705101013, -1.142485499382019, 0.6412208676338196, -0...
func (d *differ) correspond(old, new types.Type) bool { return d.corr(old, new, nil) }
[ -0.5878126621246338, 0.10694284737110138, 0.5377120971679688, 0.060895200818777084, 0.14785946905612946, 0.5983978509902954, -0.08772502094507217, 0.12792159616947174, -0.5050597190856934, 0.5183643698692322, -0.22815383970737457, 0.07170505076646805, -0.24846456944942474, 0.85618573427200...
func (d *differ) corr(old, new types.Type, p *ifacePair) bool { // Structure copied from types.Identical. switch old := old.(type) { case *types.Basic: return types.Identical(old, new) case *types.Array: if new, ok := new.(*types.Array); ok { return d.corr(old.Elem(), new.Elem(), p) && old.Len() == new.Len(...
[ -0.7791914343833923, 0.4247974455356598, 0.9250051975250244, -0.4253242313861847, -0.7297444939613342, 0.4460735619068146, 0.4072949290275574, -0.530071496963501, -0.2788398265838623, 0.3897719383239746, -0.002040414372459054, -0.004423214588314295, -0.6363363265991211, 0.678414523601532, ...
func (d *differ) corrFieldNames(of, nf *types.Var) bool { if of.Anonymous() && nf.Anonymous() && !of.Exported() && !nf.Exported() { if on, ok := of.Type().(*types.Named); ok { nn := nf.Type().(*types.Named) return d.establishCorrespondence(on, nn) } } return of.Name() == nf.Name() }
[ -0.5945392847061157, -0.1635027527809143, 0.6434296369552612, -0.2218480259180069, -0.3732759952545166, 0.12337278574705124, 0.23376789689064026, -1.0053174495697021, 0.20961368083953857, 0.6451529860496521, -1.3375017642974854, 0.023352811112999916, -0.7983988523483276, 0.5311797261238098...