text
stringlengths
11
6.3k
embedding
listlengths
768
768
func (c *Counter) Datapoints() []*datapoint.Datapoint { var dims map[string]string if c.DroppedReason != "" { dims = map[string]string{"reason": c.DroppedReason} } return []*datapoint.Datapoint{ sfxclient.Cumulative("total_process_errors", nil, atomic.LoadInt64(&c.TotalProcessErrors)), sfxclient.Cumulative("t...
[ 0.8395858407020569, 0.32105058431625366, 0.4478611350059509, -0.782621443271637, 0.36503365635871887, 0.3454209864139557, 0.12465403974056244, -0.4650462567806244, 0.26236167550086975, -0.2841786742210388, -0.039205461740493774, 0.8463095426559448, -0.03037768416106701, 0.6176812648773193,...
func (c *Counter) AddDatapoints(ctx context.Context, points []*datapoint.Datapoint, next Sink) error { atomic.AddInt64(&c.TotalDatapoints, int64(len(points))) atomic.AddInt64(&c.TotalProcessCalls, 1) atomic.AddInt64(&c.CallsInFlight, 1) start := time.Now() err := next.AddDatapoints(ctx, points) atomic.AddInt64(&c...
[ -0.35266217589378357, 0.8391304612159729, 0.5462231040000916, -0.25968417525291443, 0.4677848517894745, -0.02566378563642502, 0.3374703824520111, 0.06667238473892212, 0.499225378036499, -0.04711652174592018, -0.1284003108739853, 0.2291650027036667, -0.5201725363731384, 0.9463005661964417, ...
func (c *Counter) AddEvents(ctx context.Context, events []*event.Event, next Sink) error { atomic.AddInt64(&c.TotalEvents, int64(len(events))) atomic.AddInt64(&c.TotalProcessCalls, 1) atomic.AddInt64(&c.CallsInFlight, 1) start := time.Now() err := next.AddEvents(ctx, events) atomic.AddInt64(&c.TotalProcessTimeNs,...
[ -0.23721835017204285, 0.6446828842163086, 0.698837161064148, -0.7127520442008972, 0.5816516876220703, -0.3340132236480713, 0.48782220482826233, -0.5696370601654053, 0.5391777753829956, -0.5998050570487976, 0.7436195611953735, -0.1539582759141922, -0.9176415801048279, 0.6145593523979187, ...
func (c *Counter) AddSpans(ctx context.Context, spans []*trace.Span, next trace.Sink) error { atomic.AddInt64(&c.TotalSpans, int64(len(spans))) atomic.AddInt64(&c.TotalProcessCalls, 1) atomic.AddInt64(&c.CallsInFlight, 1) start := time.Now() err := next.AddSpans(ctx, spans) atomic.AddInt64(&c.TotalProcessTimeNs, ...
[ -0.3609139919281006, 0.7369206547737122, 0.7498533129692078, -0.4635096788406372, -0.3476499021053314, 0.4767618477344513, 0.6422849893569946, -0.8744065761566162, 0.7831315994262695, -0.7188591957092285, 0.32084113359451294, 0.02943340502679348, -0.36433741450309753, 0.7388505935668945, ...
func (h *HistoCounter) AddDatapoints(ctx context.Context, points []*datapoint.Datapoint, next Sink) error { h.DatapointBucket.Add(float64(len(points))) return h.sink.AddDatapoints(ctx, points, next) }
[ -0.15490558743476868, 0.9869800806045532, 0.24940918385982513, -0.12107986211776733, 0.9501733779907227, 0.2866896390914917, 0.3070004880428314, 0.44896331429481506, 0.6862477660179138, -0.6778783798217773, -1.2120767831802368, 0.2775334417819977, 0.14471371471881866, 0.8708537817001343, ...
func (h *HistoCounter) AddEvents(ctx context.Context, events []*event.Event, next Sink) error { h.EventBucket.Add(float64(len(events))) return h.sink.AddEvents(ctx, events, next) }
[ 0.08627729117870331, 0.9431934356689453, 0.4250507950782776, -0.16727489233016968, 1.3647593259811401, -0.12707003951072693, 0.48239853978157043, -0.13761605322360992, 0.3526252806186676, -1.4144080877304077, -0.3087546229362488, -0.25439661741256714, -0.4244101345539093, 0.818007111549377...
func (h *HistoCounter) AddSpans(ctx context.Context, spans []*trace.Span, next trace.Sink) error { h.SpanBucket.Add(float64(len(spans))) return h.sink.AddSpans(ctx, spans, next) }
[ -0.0010909676784649491, 1.1091455221176147, 0.32881826162338257, 0.02872539311647415, 0.6280096173286438, 0.8291648030281067, 0.6282416582107544, -0.6382303833961487, 0.8875463604927063, -1.4543347358703613, -0.647722601890564, -0.24589571356773376, -0.4419819116592407, 0.9816120862960815,...
func (h *HistoCounter) Datapoints() []*datapoint.Datapoint { dps := h.sink.Datapoints() dps = append(dps, h.DatapointBucket.Datapoints()...) dps = append(dps, h.EventBucket.Datapoints()...) dps = append(dps, h.SpanBucket.Datapoints()...) return dps }
[ 0.5597218871116638, 0.43376851081848145, 0.2762274444103241, 0.17200788855552673, 1.1586617231369019, 0.052441634237766266, -0.016034403815865517, -0.0597655363380909, 0.6080811023712158, -0.5810136795043945, -0.47268232703208923, 0.6220755577087402, 0.24709536135196686, 0.9749199151992798...
func NewHistoCounter(sink *Counter) *HistoCounter { return &HistoCounter{ sink: sink, DatapointBucket: sfxclient.NewRollingBucket("datapoint_batch_size", map[string]string{}), EventBucket: sfxclient.NewRollingBucket("event_batch_size", map[string]string{}), SpanBucket: sfxclient.NewRollingB...
[ 0.722500741481781, 0.3337172865867615, 0.397771954536438, -0.5329986214637756, -0.629342257976532, -0.8772761821746826, 0.11741677671670914, -0.04417510703206062, 0.2339145839214325, -1.1861965656280518, -0.9471979141235352, 0.6506142020225525, 0.64447420835495, 1.0018552541732788, 0.838...
func NewDelegation(d *types.Delegation) *Delegation { return &Delegation{Delegation: *d, cg: new(singleflight.Group)} }
[ -0.26610684394836426, 0.4039836525917053, 0.21782870590686798, 0.3746851980686188, -0.6898248195648193, 0.1626763641834259, 0.12411848455667496, -0.1040620282292366, 0.6398075222969055, 0.20022256672382355, -0.10476928949356079, 0.16980452835559845, -0.1241413876414299, 1.1550012826919556,...
func (rs *rootResolver) Delegation(args *struct { Address common.Address Staker hexutil.Big }) (*Delegation, error) { // get the delegator detail from backend d, err := repository.R().Delegation(&args.Address, &args.Staker) if err != nil { return nil, err } return NewDelegation(d), nil }
[ -0.09143055975437164, 0.7478796243667603, 0.5141413807868958, 0.0976521447300911, 0.20056331157684326, -0.8564198613166809, -0.20078252255916595, 0.2210315763950348, 0.3869495689868927, 0.11773832887411118, 0.5446035265922546, 0.3778577446937561, -0.7141010165214539, 0.07671067118644714, ...
func (del Delegation) IsSelfStake() bool { return strings.EqualFold(del.Address.String(), del.ToStakerAddress.String()) }
[ -0.49000734090805054, 0.12295257300138474, 0.509382426738739, -0.2377917766571045, -0.6837484240531921, -0.8017661571502686, -0.2580934166908264, 0.3461843430995941, 0.4415206015110016, -0.12840086221694946, -0.8659524321556091, 0.6541082859039307, 0.005571485962718725, 0.5016384124755859,...
func (del Delegation) AmountDelegated() hexutil.Big { if del.Delegation.AmountDelegated == nil { return hexutil.Big{} } return *del.Delegation.AmountDelegated }
[ 0.9907989501953125, 0.17295067012310028, 1.0297034978866577, -0.9163621068000793, 0.092787005007267, 0.45042625069618225, -0.31198573112487793, 0.06769668310880661, 1.0610792636871338, -0.4722730815410614, 0.015281487256288528, 0.20226095616817474, 0.7961890697479248, 0.673448920249939, ...
func (del Delegation) ToStakerId() hexutil.Big { if del.Delegation.ToStakerId == nil { return hexutil.Big{} } return *del.Delegation.ToStakerId }
[ -0.017010090872645378, 0.8091690540313721, 0.6425437927246094, -0.15950997173786163, -0.3070870041847229, -0.1545708328485489, -0.4533003866672516, 0.6175779700279236, 0.34373560547828674, 0.7435626983642578, -0.48493829369544983, 0.19726964831352234, 0.07102545350790024, 1.537931561470031...
func (del Delegation) Amount() (hexutil.Big, error) { // get the base amount delegated base, err := repository.R().DelegationAmountStaked(&del.Address, del.Delegation.ToStakerId) if err != nil { return hexutil.Big{}, err } // get the sum of all pending withdrawals wd, err := del.pendingWithdrawalsValue() if e...
[ -0.20698370039463043, 0.4025209844112396, 0.6543805599212646, -0.9250648617744446, -0.08004581183195114, 0.13348999619483948, -0.5424198508262634, 0.8516002297401428, 0.8546023368835449, 0.5759885907173157, 0.41955724358558655, 0.26789361238479614, 0.5831183195114136, 0.9490118622779846, ...
func (del Delegation) pendingWithdrawalsValue() (*big.Int, error) { // call for it only once val, err, _ := del.cg.Do("withdraw-total", func() (interface{}, error) { return repository.R().WithdrawRequestsPendingTotal(&del.Address, del.Delegation.ToStakerId) }) if err != nil { return nil, err } return val.(*bi...
[ -0.39384546875953674, 0.5851998925209045, 0.8242400288581848, -1.3088678121566772, -0.8857667446136475, -0.09920112043619156, -0.5775923728942871, -0.6464350819587708, -0.1281084567308426, -0.6308462023735046, 0.15869764983654022, -0.836879551410675, 1.0318135023117065, 1.167144775390625, ...
func (del Delegation) AmountInWithdraw() (hexutil.Big, error) { val, err := del.pendingWithdrawalsValue() if err != nil { return hexutil.Big{}, err } return (hexutil.Big)(*val), nil }
[ -0.24879229068756104, 0.5769240260124207, 0.7698312997817993, -0.9502136707305908, -1.4142247438430786, -0.010209822095930576, -0.6519926190376282, 0.17686571180820465, 0.8391402959823608, -0.7585128545761108, 0.47078222036361694, 0.23266012966632843, 1.0492030382156372, 0.8969525098800659...
func (del Delegation) PendingRewards() (types.PendingRewards, error) { r, err := repository.R().PendingRewards(&del.Address, del.Delegation.ToStakerId) if err != nil { return types.PendingRewards{}, err } return *r, nil }
[ 0.3527471125125885, 0.47598981857299805, 0.5347657203674316, -1.0866270065307617, 0.2893773019313812, -0.9456780552864075, -0.88409423828125, -0.06262937188148499, 1.0662554502487183, 0.4489867389202118, 0.22598887979984283, 0.35975512862205505, -0.3324466049671173, 0.5367986559867859, 0...
func (del Delegation) ClaimedReward() (hexutil.Big, error) { val, err := repository.R().RewardsClaimed(&del.Address, (*big.Int)(del.Delegation.ToStakerId), nil, nil) if err != nil { return hexutil.Big{}, err } return (hexutil.Big)(*val), nil }
[ 0.6664387583732605, 0.8219408392906189, 0.5441836714744568, -1.4273425340652466, 0.43388015031814575, -0.8713627457618713, -0.5649835467338562, 0.15002737939357758, 1.5059794187545776, -0.583783745765686, -0.4434596598148346, 0.8169994950294495, 0.25553733110427856, 0.4598425626754761, 0...
func (del Delegation) WithdrawRequests(args struct { Cursor *Cursor Count int32 ActiveOnly bool }) ([]WithdrawRequest, error) { // limit query size; the count can be either positive or negative // this controls the loading direction args.Count = listLimitCount(args.Count, listMaxEdgesPerRequest) // pul...
[ -1.036175012588501, 0.49169668555259705, 0.6388667225837708, -0.3036993741989136, -0.13009949028491974, 0.03904661163687706, -0.3490654528141022, 0.2539927065372467, -0.010944399051368237, 0.42148473858833313, 0.12709715962409973, -0.3141624927520752, -0.44536834955215454, -0.0115396864712...
func (del Delegation) RewardClaims(args struct { Cursor *Cursor Count int32 }) (*RewardClaimList, error) { // limit query size; the count can be either positive or negative // this controls the loading direction args.Count = listLimitCount(args.Count, listMaxEdgesPerRequest) // pull list of withdrawals cl, err...
[ -0.3470030426979065, 0.8101490139961243, 0.5225074291229248, -0.44631487131118774, -0.08729219436645508, 0.16780580580234528, -0.6389772295951843, 0.4285546541213989, 0.4018685221672058, 0.7994265556335449, 0.17874036729335785, 0.25637730956077576, -0.36253130435943604, -0.3319433331489563...
func (del Delegation) DelegationLock() (*types.DelegationLock, error) { // load the delegations lock only once dl, err, _ := del.cg.Do("lock", func() (interface{}, error) { return repository.R().DelegationLock(&del.Address, del.Delegation.ToStakerId) }) if err != nil { return nil, err } return dl.(*types.Dele...
[ -0.18552234768867493, 0.7621048092842102, 0.7560564875602722, -0.2303500920534134, 0.03903348743915558, 0.07418546080589294, -0.007791783194988966, 0.19561730325222015, 0.519855797290802, -0.14147324860095978, 0.4771837890148163, 0.35216161608695984, -0.148270383477211, 0.24807167053222656...
func (del Delegation) IsDelegationLocked() (bool, error) { lock, err := del.DelegationLock() if err != nil { return false, err } return lock != nil && 0 > zeroInt.Cmp((*big.Int)(&lock.LockedAmount)) && uint64(lock.LockedUntil) > uint64(time.Now().UTC().Unix()-delegationLockSafetyWallSec), nil }
[ -0.27867963910102844, 0.7929649353027344, 0.9028052687644958, 0.20635457336902618, -0.240859717130661, -0.26188376545906067, 0.0021830678451806307, -0.10363823920488358, 0.5881412625312805, 0.3053092062473297, -0.3064309060573578, 0.34735968708992004, -0.13496460020542145, 0.76221734285354...
func (del Delegation) IsFluidStakingActive() (bool, error) { return repository.R().DelegationFluidStakingActive(&del.Address, del.Delegation.ToStakerId) }
[ -0.4871011972427368, 0.43306249380111694, 0.6462064981460571, -0.1996961236000061, -0.8844364881515503, -0.6971490383148193, 0.516973078250885, 0.7437874674797058, -0.3294285535812378, 0.1060791015625, -0.7084945440292358, -0.031087756156921387, 0.030529707670211792, 0.3497067987918854, ...
func (del Delegation) LockedUntil() (hexutil.Uint64, error) { lock, err := del.DelegationLock() if err != nil { return hexutil.Uint64(0), err } // is there any lock in place? if lock == nil || 0 <= zeroInt.Cmp(lock.LockedAmount.ToInt()) { return hexutil.Uint64(0), nil } return lock.LockedUntil, nil }
[ 0.42259344458580017, 0.23962177336215973, 0.660097062587738, -0.1371203064918518, -0.30303192138671875, 0.07297512143850327, -0.44345128536224365, -0.10350250452756882, 0.5551465153694153, -0.28049737215042114, -0.044362615793943405, 0.7956885695457458, -0.6600396037101746, 0.1713431477546...
func (del Delegation) LockDuration() (hexutil.Uint64, error) { lock, err := del.DelegationLock() if err != nil { return 0, err } if lock == nil || 0 <= zeroInt.Cmp(lock.LockedAmount.ToInt()) { return hexutil.Uint64(0), nil } return lock.Duration, nil }
[ -0.2768552601337433, 0.10538717359304428, 0.5956189632415771, 0.08557207882404327, -0.24242301285266876, 0.41885071992874146, 0.20221655070781708, 0.19485585391521454, 0.9280409216880798, 0.10996448248624802, 0.4421193301677704, 0.4204944670200348, -0.38770079612731934, 0.2873799204826355,...
func (del Delegation) LockedFromEpoch() (hexutil.Uint64, error) { lock, err := del.DelegationLock() if err != nil { return hexutil.Uint64(0), err } // is there any lock in place? if lock == nil || 0 <= zeroInt.Cmp(lock.LockedAmount.ToInt()) { return hexutil.Uint64(0), nil } return lock.LockedFromEpoch, nil }
[ 0.5851305723190308, -0.3513195514678955, 0.6515921354293823, -0.148687481880188, -0.08295834809541702, 0.017218705266714096, -0.49217426776885986, -0.16767114400863647, 0.49904292821884155, -0.8121362328529358, -0.05842674523591995, 0.05922994762659073, -0.48111021518707275, 0.262408167123...
func (del Delegation) LockedAmount() (hexutil.Big, error) { lock, err := del.DelegationLock() if err != nil { return hexutil.Big{}, err } return lock.LockedAmount, nil }
[ 0.10438879579305649, 0.5670596361160278, 0.590766966342926, 0.12205279618501663, -0.5457727313041687, 0.1562333106994629, -0.10477441549301147, 0.7913273572921753, 0.8894490003585815, 0.07356336712837219, -0.022568903863430023, 1.1036083698272705, -0.38235074281692505, 0.10727468132972717,...
func (del Delegation) UnlockedAmount() (hexutil.Big, error) { return repository.R().DelegationAmountUnlocked(&del.Address, (*big.Int)(del.Delegation.ToStakerId)) }
[ -0.31798070669174194, 0.604436457157135, 0.517856240272522, -0.5131905674934387, -0.8980098962783813, -0.752978503704071, 0.2235097587108612, 0.6046599745750427, 0.8254274129867554, -0.11619537323713303, -0.5222742557525635, 0.8583149313926697, 0.3115726411342621, 0.032360710203647614, 0...
func (del Delegation) UnlockPenalty(args struct{ Amount hexutil.Big }) (hexutil.Big, error) { return repository.R().DelegationUnlockPenalty(&del.Address, (*big.Int)(del.Delegation.ToStakerId), (*big.Int)(&args.Amount)) }
[ -0.6352012753486633, 0.4689560532569885, 0.7495934367179871, -0.946700394153595, -0.584740936756134, -0.3752903640270233, 0.025790631771087646, 0.08542679995298386, 0.2152291089296341, 0.862694501876831, -0.03971518203616142, 0.09481900930404663, -0.8578357696533203, -1.4752180576324463, ...
func (del Delegation) OutstandingSFTM() (hexutil.Big, error) { val, err := repository.R().DelegationOutstandingSFTM(&del.Address, del.Delegation.ToStakerId) if err != nil { return hexutil.Big{}, err } return *val, nil }
[ -0.18113906681537628, 0.5293603539466858, 0.6593287587165833, -0.6864628791809082, -0.47447332739830017, -0.4486531615257263, -0.5869485139846802, -0.286670446395874, -0.1974703073501587, 0.2054213285446167, -0.19777150452136993, -0.42126622796058655, 0.4676527678966522, 1.1257027387619019...
func (del Delegation) TokenizerAllowedToWithdraw() (bool, error) { // check the tokenizer lock status lock, err := repository.R().DelegationTokenizerUnlocked(&del.Address, del.Delegation.ToStakerId) if err != nil { return false, err } return lock, nil }
[ -0.4118345081806183, 0.6507113575935364, 0.7771705985069275, -1.1092462539672852, -1.6017554998397827, 0.16736944019794464, -0.3376961350440979, -0.40132859349250793, -0.32528430223464966, -0.04068532958626747, 0.35334956645965576, 0.01738622784614563, 0.12241190671920776, 0.66326534748077...
func (p *Player) Ready() <-chan struct{} { return p.ready }
[ -0.7808976173400879, -0.4482418894767761, 0.6161918640136719, -0.4826607406139374, -0.5017054080963135, 0.08619241416454315, -0.2658901810646057, -0.5904320478439331, 0.32249629497528076, -0.050309523940086365, -0.8578726649284363, 1.4523324966430664, -0.3207578957080841, -0.11980015039443...
func (tl *testListener) Accept() (net.Conn, error) { c1, c2 := net.Pipe() tl.ch <- c1 return c2, nil }
[ -0.11651088297367096, -0.9293546080589294, 0.5223724246025085, -0.413790225982666, 0.04488374665379524, 0.7416686415672302, 0.615844190120697, 0.03254305571317673, -1.265930414199829, 0.13700810074806213, 0.059483032673597336, -0.09950150549411774, -0.6843025088310242, 0.7949676513671875, ...
func (tl *testListener) Close() error { return nil }
[ 0.7743280529975891, -1.2359918355941772, 0.2543877959251404, -0.38269907236099243, -0.22649060189723969, 1.3967862129211426, 1.0200897455215454, -0.6754512786865234, -0.06476833671331406, -0.6615602374076843, 0.254866361618042, -0.31865400075912476, -1.35104238986969, 1.3435657024383545, ...
func (tl *testListener) Addr() net.Addr { return nil }
[ 1.1100883483886719, -1.0203158855438232, 0.30297085642814636, 0.22657428681850433, -0.28829607367515564, 1.1172144412994385, 0.8145408034324646, -0.09502829611301422, 0.8608599305152893, -1.033490777015686, 0.7129539847373962, -0.14408162236213684, -0.3910069763660431, 1.092593789100647, ...
func NewProducerClient(ctx context.Context, cfg *ProducerConfig, options ...Option) (*Producer, error) { opts := applyOptions(options...) lp := glog.FromContext(ctx) lp.Info().Msg("producer client connecting to kafka").String("hosts", cfg.Hosts).Fire() tracer := NewProducerTrace(opts.tracer) s, err := newSyncPro...
[ -0.20396320521831512, -0.26865023374557495, 0.5432531237602234, 0.9447029232978821, -1.6799358129501343, -0.5524161458015442, 0.6208062767982483, -0.7431634068489075, -0.08363151550292969, 0.9471645951271057, -0.18623067438602448, 0.6663573980331421, -0.6239057183265686, -0.356569647789001...
func (p *Producer) SyncProduce(ctx context.Context, topic string, msg []byte) (pid int32, offset int64, err error) { message := &sarama.ProducerMessage{ Topic: topic, Value: sarama.ByteEncoder(msg), Metadata: ctx, //provide context for opentracing.SpanFromContext } pid, offset, err = p.syncProducer.Send...
[ -0.007558311801403761, 0.21984829008579254, 0.5293880105018616, -0.016662636771798134, -0.6220875978469849, 0.48404422402381897, 0.8031468987464905, -0.4801197052001953, 0.41262087225914, 0.4140280485153198, -0.16337114572525024, 1.4431071281433105, -0.5987676978111267, -0.0644803270697593...
func (p *Producer) Close() { if p == nil { return } p.lp.Info().Msg("waiting for sarama producer stop").Fire() if err := p.syncProducer.Close(); err != nil { p.lp.Error().Error("closing syncProducer error", err).Fire() } if err := p.asyncProducer.Close(); err != nil { p.lp.Error().Error("closing syncProduce...
[ -0.7507783770561218, -0.19722531735897064, 0.4415299892425537, 0.3240652084350586, -0.1035880371928215, 0.5815672874450684, 0.6048458218574524, -0.1110859289765358, -0.40190982818603516, 0.2164066731929779, 0.36420947313308716, -0.07383592426776886, -1.059695839881897, 0.09953014552593231,...
func RegisterConversions(s *runtime.Scheme) error { if err := s.AddGeneratedConversionFunc((*DNSEntry)(nil), (*apis.DNSEntry)(nil), func(a, b interface{}, scope conversion.Scope) error { return Convert_v1alpha1_DNSEntry_To_apis_DNSEntry(a.(*DNSEntry), b.(*apis.DNSEntry), scope) }); err != nil { return err } if ...
[ -1.1644688844680786, 0.5490646362304688, 0.9680498242378235, -0.35832691192626953, 0.6249528527259827, -1.093424677848816, 0.24325397610664368, -0.7508863806724548, 0.6714515686035156, -0.267010897397995, -1.1475261449813843, 0.28881651163101196, 0.53541100025177, 0.8427937030792236, 0.5...
func Convert_v1alpha1_DNSEntry_To_apis_DNSEntry(in *DNSEntry, out *apis.DNSEntry, s conversion.Scope) error { return autoConvert_v1alpha1_DNSEntry_To_apis_DNSEntry(in, out, s) }
[ -1.552176594734192, 0.5242651700973511, 0.25425422191619873, 0.1880836933851242, -0.5169982314109802, -0.816146731376648, -0.42851904034614563, -0.25614580512046814, 1.2864423990249634, 0.4470122456550598, -0.8866095542907715, 0.9624652862548828, 0.49483722448349, -0.20832931995391846, 0...
func Convert_apis_DNSEntry_To_v1alpha1_DNSEntry(in *apis.DNSEntry, out *DNSEntry, s conversion.Scope) error { return autoConvert_apis_DNSEntry_To_v1alpha1_DNSEntry(in, out, s) }
[ -1.7450610399246216, 0.20358143746852875, 0.3244369924068451, 0.1504598706960678, -0.26741477847099304, -0.6745367050170898, -0.5319786071777344, -0.5572638511657715, 1.2122704982757568, 1.0614718198776245, -0.6431463956832886, 1.2358808517456055, 0.8948293924331665, -0.2599335312843323, ...
func Convert_v1alpha1_DNSState_To_apis_DNSState(in *DNSState, out *apis.DNSState, s conversion.Scope) error { return autoConvert_v1alpha1_DNSState_To_apis_DNSState(in, out, s) }
[ -0.8395703434944153, 0.38813409209251404, 0.1967337429523468, -0.14744514226913452, -0.8889381289482117, -0.7681996822357178, -0.22046469151973724, -0.16131310164928436, 1.7806271314620972, 0.32933148741722107, -0.9429088234901428, 0.843865156173706, 0.47162365913391113, -0.136077865958213...
func Convert_apis_DNSState_To_v1alpha1_DNSState(in *apis.DNSState, out *DNSState, s conversion.Scope) error { return autoConvert_apis_DNSState_To_v1alpha1_DNSState(in, out, s) }
[ -0.7813305258750916, 0.1883499026298523, 0.2245236337184906, -0.08494815230369568, -0.7556885480880737, -0.6363095045089722, -0.48951783776283264, -0.39320483803749084, 1.565416932106018, 0.6388996243476868, -0.8242020010948181, 0.8308963179588318, 0.6864168047904968, -0.2923817038536072, ...
func execExamples(arity int, p *gop.Context) { args := p.GetArgs(arity) conv := func(args []interface{}) []*ast.File { ret := make([]*ast.File, len(args)) for i, arg := range args { ret[i] = arg.(*ast.File) } return ret } ret := doc.Examples(conv(args[0:])...) p.Ret(arity, ret) }
[ -0.21057207882404327, 0.28258025646209717, 0.775483250617981, -0.09694615006446838, 0.32225367426872253, 0.057870037853717804, -0.20508214831352234, 0.3991508483886719, -0.4703678488731384, 0.3162981867790222, 0.2279835045337677, 0.273345947265625, 0.002121042227372527, 0.6064068078994751,...
func execIsPredeclared(_ int, p *gop.Context) { args := p.GetArgs(1) ret := doc.IsPredeclared(args[0].(string)) p.Ret(1, ret) }
[ 0.12841394543647766, 0.5915822386741638, 0.9879801273345947, 0.5073406100273132, 0.7065691351890564, 0.6316400766372681, 0.5842729210853577, 0.560649037361145, 0.25245264172554016, -0.7363491058349609, -0.1096503734588623, 1.6020746231079102, -0.7420324683189392, 0.4360687732696533, -0.7...
func execNew(_ int, p *gop.Context) { args := p.GetArgs(3) ret := doc.New(args[0].(*ast.Package), args[1].(string), doc.Mode(args[2].(int))) p.Ret(3, ret) }
[ -0.2988699674606323, 0.12304839491844177, 0.6621341705322266, -0.3084277808666229, -0.06409770250320435, 0.4956285059452057, -0.31798869371414185, -0.44205760955810547, -1.205674648284912, 0.030509697273373604, -0.05174017697572708, -0.1880323886871338, 0.2873140275478363, -0.6268996596336...
func execSynopsis(_ int, p *gop.Context) { args := p.GetArgs(1) ret := doc.Synopsis(args[0].(string)) p.Ret(1, ret) }
[ -0.24428826570510864, 0.6554252505302429, 0.5910839438438416, 0.5577212572097778, -0.05596116557717323, -0.16554509103298187, -0.025197243317961693, 0.39503157138824463, -0.349054217338562, 0.24240420758724213, -0.30408918857574463, 0.24058109521865845, -0.10807210206985474, -0.72915518283...
func execToHTML(_ int, p *gop.Context) { args := p.GetArgs(3) doc.ToHTML(args[0].(io.Writer), args[1].(string), args[2].(map[string]string)) }
[ 0.019234338775277138, -0.2757851183414459, 0.6711835265159607, 0.6258006691932678, -0.0561474934220314, 0.6649237275123596, 0.19456085562705994, 0.48264601826667786, -1.2326806783676147, 0.4575493335723877, 0.3685775101184845, 0.08252613991498947, 0.11388388276100159, -0.3892844319343567, ...
func execToText(_ int, p *gop.Context) { args := p.GetArgs(5) doc.ToText(args[0].(io.Writer), args[1].(string), args[2].(string), args[3].(string), args[4].(int)) }
[ 0.17320971190929413, -0.4433479309082031, 0.8275637626647949, -0.04701773822307587, 0.2306450605392456, -0.09955689311027527, 0.15131539106369019, -0.3817358911037445, -0.5525477528572083, 0.827755331993103, -0.5519672632217407, -0.420883446931839, -1.0636550188064575, -0.7211710810661316,...
func (d *DeprecatedProcessor) Process(field protoreflect.FieldDescriptor, msg protoreflect.Message) (data ResultData, applied bool) { if d.ClearField { msg.Clear(field) } return ResultData{Message: "deprecated"}, true }
[ -0.41518521308898926, 1.2212841510772705, 0.47418728470802307, -0.9206355214118958, -0.4150927662849426, -0.019691098481416702, -0.555030345916748, -0.5605688691139221, 0.12945857644081116, 0.38187867403030396, -0.4112049639225006, 0.30091774463653564, -0.42429524660110474, 1.0919798612594...
func NewApp(databaseName, password string) *App { // Setup db: db, err := newDatabase(databaseName, password) if err != nil { if err, ok := err.(*mysql.MySQLError); ok && err.Number == 1049 { // unknown database fmt.Printf("Creating and reconnecting to %s", databaseName) // Create and use `ElasticJury` db...
[ 0.5644299983978271, -0.3681747317314148, 0.8512654900550842, 0.4717068076133728, 0.16482411324977875, 0.376678466796875, 0.1843605637550354, -0.41439008712768555, -0.30121707916259766, 0.6601361632347107, 0.37972187995910645, -0.16378368437290192, -0.04816111922264099, 0.8452290892601013, ...
func (e *Node) Next() *Node { return e.next }
[ -0.5017210841178894, 0.27398765087127686, 0.1700729876756668, 0.47833454608917236, -0.514420747756958, 0.6629421710968018, -0.4175012707710266, 0.49887704849243164, 0.5580226182937622, -0.32091304659843445, 0.09582585841417313, 1.405413269996643, 0.0796121135354042, 0.1651746779680252, 0...
func (e *Node) Prev() *Node { return e.prev }
[ 0.04244611784815788, 0.8473243117332458, 0.6969487071037292, 0.2737792134284973, 0.485278457403183, 0.25408586859703064, 0.931215226650238, 0.5137758851051331, -0.15453441441059113, -0.2162623405456543, 0.19022949039936066, 0.7995420694351196, -0.052087485790252686, -0.48275938630104065, ...
func (l *List) First() *Node { return l.first }
[ 0.22992770373821259, 0.6250738501548767, -0.003486270783469081, -0.1516226977109909, 0.7207165360450745, -0.23605595529079437, -0.6074255704879761, 0.8952312469482422, -0.07955668121576309, -0.20184111595153809, -0.8233502507209778, 0.9291907548904419, 0.07066518068313599, 0.61862945556640...
func (l *List) Last() *Node { return l.last }
[ -0.5930987000465393, 0.21586592495441437, 0.5305726528167725, -0.49742355942726135, 0.42703691124916077, 0.23769961297512054, -0.20609606802463531, 0.643022358417511, 0.39474236965179443, 0.21474269032478333, -0.5450646281242371, 0.184397891163826, -0.7522480487823486, -0.18786045908927917...
func (l *List) PushBack(v interface{}) { n := Node{Val: v, prev: l.last} if l.last != nil { l.last.next = &n } l.last = &n if l.first == nil { l.first = &n } }
[ -0.6350182294845581, 1.0299577713012695, 0.925457239151001, -0.5243140459060669, 0.14355669915676117, -0.30295395851135254, 0.4721376597881317, 0.7640528082847595, 0.8506053686141968, 1.0865778923034668, -0.10956132411956787, 0.33357155323028564, -0.9776703119277954, 0.5779930949211121, ...
func NewList(args ...interface{}) *List { l := List{} for _, data := range args { l.PushBack(data) } return &l }
[ 0.28104734420776367, 0.003764683846384287, 0.3896874487400055, 0.30293771624565125, 0.3568260669708252, 0.41149836778640747, -0.813216507434845, 0.25374335050582886, -0.09851372987031937, -0.278910368680954, -0.1382358968257904, -0.04456932470202446, -0.13628201186656952, 0.042183898389339...
func (l *List) PushFront(v interface{}) { n := Node{Val: v, next: l.first} if l.first != nil { l.first.prev = &n } l.first = &n if l.last == nil { l.last = &n } }
[ -0.49186164140701294, 1.1948033571243286, 0.32765984535217285, -0.9095375537872314, 0.1781013309955597, -0.9559683799743652, -0.7180150747299194, 0.2196437567472458, 1.0042277574539185, 0.25174087285995483, -0.8167899250984192, 1.0930055379867554, 0.18080908060073853, 1.586299180984497, ...
func (l *List) PopFront() (interface{}, error) { if l.first == nil { return nil, ErrEmptyList } n := l.first if l.last == n { l.last = nil } l.first = n.next if l.first != nil { l.first.prev = nil } return n.Val, nil }
[ -0.2531774044036865, 0.7046951055526733, 0.47777503728866577, -0.9183306694030762, 0.04611823335289955, -1.16536283493042, -0.6366279125213623, 0.3081011474132538, 0.7236079573631287, 0.3365524113178253, -1.6284215450286865, 0.4981728792190552, -0.3151084780693054, 1.0516537427902222, 0....
func (l *List) PopBack() (interface{}, error) { if l.last == nil { return nil, ErrEmptyList } n := l.last if l.first == n { l.first = nil } l.last = n.prev if l.last != nil { l.last.next = nil } return n.Val, nil }
[ -0.3446844816207886, 0.8548643589019775, 1.2155697345733643, -0.30155330896377563, 0.11556541174650192, -0.9078892469406128, 0.0448814295232296, 0.2620786428451538, 0.6204558610916138, 1.2209250926971436, -0.8371594548225403, -0.11940822750329971, -1.1488622426986694, 0.18350568413734436, ...
func (l *List) Reverse() *List { r := List{} for data, err := l.PopBack(); err == nil; data, err = l.PopBack() { r.PushBack(data) } l.first, l.last = r.first, r.last return l }
[ -0.7644917368888855, 0.3245760500431061, 0.6484935283660889, -0.3425271511077881, 0.7719581127166748, -0.3165794014930725, -0.6953302025794983, 1.363953948020935, -0.03541415184736252, -0.28012120723724365, -1.0586748123168945, 0.0077621289528906345, -0.748856782913208, -0.4705473780632019...
func (a AvailabilityZonePeers) MarshalJSON() ([]byte, error) { objectMap := make(map[string]any) populate(objectMap, "availabilityZone", a.AvailabilityZone) populate(objectMap, "peers", a.Peers) return json.Marshal(objectMap) }
[ -0.9926946759223938, -1.4656753540039062, -0.060914430767297745, -0.6391360759735107, -0.6438015699386597, 0.2784999907016754, 0.25934261083602905, 1.2865571975708008, 0.9051151871681213, 0.9627290368080139, -0.1575787216424942, 0.3776792287826538, -0.8513746857643127, 0.19238442182540894,...
func (a *AvailabilityZonePeers) UnmarshalJSON(data []byte) error { var rawMsg map[string]json.RawMessage if err := json.Unmarshal(data, &rawMsg); err != nil { return fmt.Errorf("unmarshalling type %T: %v", a, err) } for key, val := range rawMsg { var err error switch key { case "availabilityZone": err = ...
[ -1.206239104270935, -0.2379104048013687, 0.27037307620048523, -1.4618065357208252, -1.1025785207748413, 0.09415557235479355, 0.0073830727487802505, 0.6417834758758545, -0.07320144027471542, 1.319051742553711, 0.2075277715921402, -0.04966739937663078, -0.8171688914299011, 0.5027273893356323...
func (c CheckResourceNameResult) MarshalJSON() ([]byte, error) { objectMap := make(map[string]any) populate(objectMap, "name", c.Name) populate(objectMap, "status", c.Status) populate(objectMap, "type", c.Type) return json.Marshal(objectMap) }
[ -0.13940872251987457, -0.9526845812797546, 0.14933079481124878, -0.39109039306640625, -0.5858609676361084, -0.37054532766342163, 0.2619892954826355, -0.5119852423667908, 0.17262762784957886, 1.1751956939697266, -1.1740323305130005, -0.07528217881917953, -0.6670824885368347, 0.9091530442237...
func (c *CheckResourceNameResult) UnmarshalJSON(data []byte) error { var rawMsg map[string]json.RawMessage if err := json.Unmarshal(data, &rawMsg); err != nil { return fmt.Errorf("unmarshalling type %T: %v", c, err) } for key, val := range rawMsg { var err error switch key { case "name": err = unpopulate...
[ -0.211922287940979, 0.3010551333427429, 0.5479281544685364, -1.0632859468460083, -0.6317161917686462, -0.7497761845588684, 0.47927120327949524, -0.8429098129272461, -0.38601064682006836, 1.2264584302902222, -0.5737473368644714, -0.6549800038337708, -0.7987960577011108, 0.9917099475860596, ...
func (c CheckZonePeersRequest) MarshalJSON() ([]byte, error) { objectMap := make(map[string]any) populate(objectMap, "location", c.Location) populate(objectMap, "subscriptionIds", c.SubscriptionIDs) return json.Marshal(objectMap) }
[ -0.8828813433647156, -0.8865774273872375, 0.13013148307800293, 0.01065224688500166, -0.20583446323871613, -0.45057764649391174, -0.4369480609893799, -0.23258164525032043, 0.25054964423179626, 0.5730705857276917, -0.1537836343050003, 1.0244871377944946, -0.7994557023048401, 0.89461928606033...
func (c *CheckZonePeersRequest) UnmarshalJSON(data []byte) error { var rawMsg map[string]json.RawMessage if err := json.Unmarshal(data, &rawMsg); err != nil { return fmt.Errorf("unmarshalling type %T: %v", c, err) } for key, val := range rawMsg { var err error switch key { case "location": err = unpopula...
[ -1.0179904699325562, -0.19662682712078094, 0.4505252242088318, -0.7434049248695374, -0.3935675024986267, -0.5597696304321289, -0.30436018109321594, -0.5510416626930237, -0.1134340763092041, 0.6702336668968201, 0.41214507818222046, 0.25266033411026, -0.6742454767227173, 0.961413562297821, ...
func (c CheckZonePeersResult) MarshalJSON() ([]byte, error) { objectMap := make(map[string]any) populate(objectMap, "availabilityZonePeers", c.AvailabilityZonePeers) populate(objectMap, "location", c.Location) populate(objectMap, "subscriptionId", c.SubscriptionID) return json.Marshal(objectMap) }
[ -0.08131228387355804, -1.0794154405593872, -0.04985830560326576, 0.005339962430298328, -0.27029404044151306, -0.31997933983802795, 0.16310042142868042, 0.21988855302333832, 0.8101744651794434, 0.6801398396492004, -0.7300857305526733, 0.2691856622695923, -1.0984052419662476, 0.4988264143466...
func (c *CheckZonePeersResult) UnmarshalJSON(data []byte) error { var rawMsg map[string]json.RawMessage if err := json.Unmarshal(data, &rawMsg); err != nil { return fmt.Errorf("unmarshalling type %T: %v", c, err) } for key, val := range rawMsg { var err error switch key { case "availabilityZonePeers": er...
[ -0.5055137276649475, 0.0355365015566349, 0.1816660463809967, -0.7977800965309143, -0.5682612061500549, -0.5470010042190552, 0.32183563709259033, -0.19087402522563934, -0.05196879804134369, 0.7894222736358643, -0.3907588720321655, -0.2817545235157013, -1.0715714693069458, 0.8020252585411072...
func (l Location) MarshalJSON() ([]byte, error) { objectMap := make(map[string]any) populate(objectMap, "displayName", l.DisplayName) populate(objectMap, "id", l.ID) populate(objectMap, "latitude", l.Latitude) populate(objectMap, "longitude", l.Longitude) populate(objectMap, "name", l.Name) populate(objectMap, "...
[ -0.5916569232940674, -1.1114966869354248, 0.09260517358779907, -0.8621920943260193, -0.7199049592018127, -0.11968838423490524, 0.22433696687221527, 0.5486894845962524, 0.5567751526832581, -0.04365728795528412, -1.062770962715149, 0.2410803735256195, 0.17984765768051147, 1.0480320453643799,...
func (l *Location) UnmarshalJSON(data []byte) error { var rawMsg map[string]json.RawMessage if err := json.Unmarshal(data, &rawMsg); err != nil { return fmt.Errorf("unmarshalling type %T: %v", l, err) } for key, val := range rawMsg { var err error switch key { case "displayName": err = unpopulate(val, "D...
[ -0.7602524757385254, -0.25834470987319946, 0.5707189440727234, -1.4750241041183472, -1.016249418258667, -0.1791369467973709, 0.5696959495544434, 0.13479873538017273, -0.03876086696982384, 0.20326904952526093, -0.07157313078641891, -0.23138105869293213, 0.03344196081161499, 0.94170260429382...
func (l LocationListResult) MarshalJSON() ([]byte, error) { objectMap := make(map[string]any) populate(objectMap, "value", l.Value) return json.Marshal(objectMap) }
[ -0.6287941932678223, -0.38582754135131836, -0.04976832866668701, 0.11978598684072495, -0.8293809294700623, -0.16980385780334473, -0.10954014956951141, 0.5929511189460754, 0.7297074198722839, 0.4492019712924957, -0.8774691224098206, -0.016014354303479195, -0.28556498885154724, 0.52461642026...
func (l *LocationListResult) UnmarshalJSON(data []byte) error { var rawMsg map[string]json.RawMessage if err := json.Unmarshal(data, &rawMsg); err != nil { return fmt.Errorf("unmarshalling type %T: %v", l, err) } for key, val := range rawMsg { var err error switch key { case "value": err = unpopulate(val...
[ -0.5830089449882507, 0.2714587152004242, 0.2274254709482193, -0.7797359228134155, -1.1405198574066162, -0.42908647656440735, 0.038894765079021454, 0.23743684589862823, 0.042391106486320496, 0.6328572034835815, -0.4695565700531006, -0.5246136784553528, -0.24881793558597565, 0.64132130146026...
func (o Operation) MarshalJSON() ([]byte, error) { objectMap := make(map[string]any) populate(objectMap, "display", o.Display) populate(objectMap, "name", o.Name) return json.Marshal(objectMap) }
[ -0.9057305455207825, -0.06235050782561302, 0.35462090373039246, -0.09412599354982376, -1.1258941888809204, -0.5673789381980896, 1.461646556854248, 0.2718714475631714, 0.7210410833358765, 0.9242441058158875, -0.8708688616752625, -0.2843416929244995, 0.2949714660644531, -0.06382405757904053,...
func (o *Operation) UnmarshalJSON(data []byte) error { var rawMsg map[string]json.RawMessage if err := json.Unmarshal(data, &rawMsg); err != nil { return fmt.Errorf("unmarshalling type %T: %v", o, err) } for key, val := range rawMsg { var err error switch key { case "display": err = unpopulate(val, "Disp...
[ -1.3358054161071777, 1.0278030633926392, 0.7387421727180481, -0.8706362843513489, -1.2330260276794434, -0.6322547197341919, 1.184236764907837, -0.09349305182695389, 0.1332426220178604, 1.3584129810333252, -0.45177245140075684, -1.2292762994766235, -0.2553064227104187, 0.14413051307201385, ...
func (o OperationDisplay) MarshalJSON() ([]byte, error) { objectMap := make(map[string]any) populate(objectMap, "description", o.Description) populate(objectMap, "operation", o.Operation) populate(objectMap, "provider", o.Provider) populate(objectMap, "resource", o.Resource) return json.Marshal(objectMap) }
[ -0.0980282872915268, -0.6667476296424866, 0.3795863091945648, -0.23589566349983215, -0.5070350766181946, -0.48068466782569885, 1.1626877784729004, -0.29245930910110474, 0.42093491554260254, 0.3328338861465454, 0.1789349913597107, 0.04805667698383331, 0.36435097455978394, 0.2877940833568573...
func (o *OperationDisplay) UnmarshalJSON(data []byte) error { var rawMsg map[string]json.RawMessage if err := json.Unmarshal(data, &rawMsg); err != nil { return fmt.Errorf("unmarshalling type %T: %v", o, err) } for key, val := range rawMsg { var err error switch key { case "description": err = unpopulate...
[ -0.4222696125507355, -0.0570034384727478, 0.716328501701355, -0.8391895890235901, -0.9057877063751221, -0.5583958625793457, 1.099440574645996, -0.6187239289283752, 0.06422543525695801, 0.6627155542373657, 0.5890065431594849, -0.7000767588615417, 0.2443346381187439, 0.763357937335968, 0.8...
func (o OperationListResult) MarshalJSON() ([]byte, error) { objectMap := make(map[string]any) populate(objectMap, "nextLink", o.NextLink) populate(objectMap, "value", o.Value) return json.Marshal(objectMap) }
[ -0.8783255219459534, 0.2593447268009186, 0.10099475085735321, -0.14959090948104858, -0.7621785402297974, -0.9674838185310364, 0.7599955201148987, -0.10206601023674011, 0.6411017775535583, 0.19296321272850037, -0.7099853754043579, -0.400545209646225, -0.31309759616851807, 0.3807779848575592...
func (o *OperationListResult) UnmarshalJSON(data []byte) error { var rawMsg map[string]json.RawMessage if err := json.Unmarshal(data, &rawMsg); err != nil { return fmt.Errorf("unmarshalling type %T: %v", o, err) } for key, val := range rawMsg { var err error switch key { case "nextLink": err = unpopulate...
[ -0.9549810290336609, 0.7735432982444763, 0.26176756620407104, -1.0785037279129028, -1.0105624198913574, -1.2056912183761597, 0.6871576309204102, -0.320782870054245, -0.11378613114356995, 0.5957425236701965, -0.6430268883705139, -0.9972739815711975, -0.46074342727661133, 0.5355521440505981,...
func (p Peers) MarshalJSON() ([]byte, error) { objectMap := make(map[string]any) populate(objectMap, "availabilityZone", p.AvailabilityZone) populate(objectMap, "subscriptionId", p.SubscriptionID) return json.Marshal(objectMap) }
[ -0.7401466965675354, -0.7888868451118469, -0.09905347973108292, -0.6716566681861877, -0.2303026169538498, -0.0086186733096838, -0.5506587028503418, 0.9004307389259338, 0.5425592660903931, 0.5966092348098755, -0.6204653382301331, 0.8165755271911621, -0.9115915894508362, 0.7230321764945984, ...
func (p *Peers) UnmarshalJSON(data []byte) error { var rawMsg map[string]json.RawMessage if err := json.Unmarshal(data, &rawMsg); err != nil { return fmt.Errorf("unmarshalling type %T: %v", p, err) } for key, val := range rawMsg { var err error switch key { case "availabilityZone": err = unpopulate(val, ...
[ -0.9946854114532471, 0.1961582750082016, 0.33635514974594116, -1.6529812812805176, -0.49886763095855713, -0.2355174720287323, -0.5166223049163818, 0.53397136926651, -0.018743811175227165, 0.7685038447380066, 0.16831164062023163, 0.11531160026788712, -0.7567341327667236, 0.9354673027992249,...
func (r ResourceName) MarshalJSON() ([]byte, error) { objectMap := make(map[string]any) populate(objectMap, "name", r.Name) populate(objectMap, "type", r.Type) return json.Marshal(objectMap) }
[ -0.746266782283783, -0.9694725275039673, 0.0428164042532444, -0.7687491774559021, -0.5703871846199036, -0.5282220840454102, 0.2651187777519226, 0.1484217643737793, 0.13276873528957367, 0.9407340884208679, -0.4833967089653015, 0.19905397295951843, -0.23510825634002686, 0.47678545117378235, ...
func (r *ResourceName) UnmarshalJSON(data []byte) error { var rawMsg map[string]json.RawMessage if err := json.Unmarshal(data, &rawMsg); err != nil { return fmt.Errorf("unmarshalling type %T: %v", r, err) } for key, val := range rawMsg { var err error switch key { case "name": err = unpopulate(val, "Name...
[ -0.7824783325195312, 0.2894704043865204, 0.35136106610298157, -1.6697746515274048, -0.6134858727455139, -0.6456393003463745, 0.25285959243774414, -0.20811860263347626, -0.3814697265625, 1.1397302150726318, 0.12845151126384735, -0.4375742971897125, -0.3240927457809448, 0.6768973469734192, ...
func (s Subscription) MarshalJSON() ([]byte, error) { objectMap := make(map[string]any) populate(objectMap, "authorizationSource", s.AuthorizationSource) populate(objectMap, "displayName", s.DisplayName) populate(objectMap, "id", s.ID) populate(objectMap, "state", s.State) populate(objectMap, "subscriptionId", s....
[ -0.08255172520875931, -0.562583327293396, 0.07866212725639343, -0.078534796833992, -1.0591907501220703, -0.5213711857795715, -0.09494832903146744, 0.09190652519464493, 0.9704204797744751, -0.11886981874704361, -1.5714219808578491, 0.5624120235443115, 0.8248745799064636, 0.3562472462654114,...
func (s *Subscription) UnmarshalJSON(data []byte) error { var rawMsg map[string]json.RawMessage if err := json.Unmarshal(data, &rawMsg); err != nil { return fmt.Errorf("unmarshalling type %T: %v", s, err) } for key, val := range rawMsg { var err error switch key { case "authorizationSource": err = unpopu...
[ -0.3370245397090912, 0.02237512543797493, 0.4006796181201935, -0.8343020677566528, -0.8941249847412109, -0.661445140838623, -0.0165888499468565, -0.38822728395462036, 0.39961591362953186, 0.010871723294258118, -0.779917299747467, 0.3219274878501892, 0.34981223940849304, 0.6054750680923462,...
func (s SubscriptionListResult) MarshalJSON() ([]byte, error) { objectMap := make(map[string]any) populate(objectMap, "nextLink", s.NextLink) populate(objectMap, "value", s.Value) return json.Marshal(objectMap) }
[ 0.01859155297279358, 0.2036380171775818, -0.2056174874305725, 0.06878609955310822, -0.8086424469947815, -0.9940211176872253, -0.3886444568634033, 0.43537870049476624, 0.518214225769043, 0.07872596383094788, -1.173793077468872, 0.528712272644043, 0.0010237357346341014, 0.8451851010322571, ...
func (s *SubscriptionListResult) UnmarshalJSON(data []byte) error { var rawMsg map[string]json.RawMessage if err := json.Unmarshal(data, &rawMsg); err != nil { return fmt.Errorf("unmarshalling type %T: %v", s, err) } for key, val := range rawMsg { var err error switch key { case "nextLink": err = unpopul...
[ -0.21238930523395538, 0.7427454590797424, 0.023966830223798752, -0.8417240381240845, -1.0820488929748535, -1.2015109062194824, -0.18576738238334656, -0.05761916562914848, -0.04712294414639473, 0.33478179574012756, -0.715823769569397, -0.28512588143348694, -0.0866188108921051, 0.92508012056...
func (s SubscriptionPolicies) MarshalJSON() ([]byte, error) { objectMap := make(map[string]any) populate(objectMap, "locationPlacementId", s.LocationPlacementID) populate(objectMap, "quotaId", s.QuotaID) populate(objectMap, "spendingLimit", s.SpendingLimit) return json.Marshal(objectMap) }
[ 0.37776631116867065, -0.6339470744132996, 0.05546583607792854, -0.7355813384056091, -0.6987326741218567, 0.42447027564048767, -0.5893048048019409, 0.4900774359703064, 1.1825190782546997, 0.5370664000511169, -0.6176978945732117, 0.4456408619880676, 0.025652291253209114, 0.00550475949421525,...
func (s *SubscriptionPolicies) UnmarshalJSON(data []byte) error { var rawMsg map[string]json.RawMessage if err := json.Unmarshal(data, &rawMsg); err != nil { return fmt.Errorf("unmarshalling type %T: %v", s, err) } for key, val := range rawMsg { var err error switch key { case "locationPlacementId": err ...
[ -0.08482952415943146, 0.01979527622461319, 0.36676815152168274, -1.3987551927566528, -1.0038925409317017, 0.11279409378767014, -0.5167027711868286, -0.11179763823747635, 0.5856602191925049, 0.7037326097488403, -0.02197992242872715, -0.12666556239128113, -0.16630661487579346, 0.207258969545...
func (t TenantIDDescription) MarshalJSON() ([]byte, error) { objectMap := make(map[string]any) populate(objectMap, "id", t.ID) populate(objectMap, "tenantId", t.TenantID) return json.Marshal(objectMap) }
[ 0.47334203124046326, -0.644187867641449, -0.1343388557434082, -0.6551182270050049, -0.044302668422460556, -0.2747862935066223, -0.7907869219779968, 0.2628491520881653, -0.006837910041213036, 0.5090319514274597, -0.3658510744571686, 1.1477006673812866, -0.30134791135787964, 1.05002546310424...
func (t *TenantIDDescription) UnmarshalJSON(data []byte) error { var rawMsg map[string]json.RawMessage if err := json.Unmarshal(data, &rawMsg); err != nil { return fmt.Errorf("unmarshalling type %T: %v", t, err) } for key, val := range rawMsg { var err error switch key { case "id": err = unpopulate(val, ...
[ -0.05743860453367233, -0.01873515360057354, 0.20851179957389832, -1.5570173263549805, -0.5806320309638977, -0.3870760500431061, -0.5420339107513428, -0.1992565393447876, -0.4460195302963257, 1.1475956439971924, 0.13083000481128693, 0.486987441778183, -0.2926333546638489, 1.2572524547576904...
func (t TenantListResult) MarshalJSON() ([]byte, error) { objectMap := make(map[string]any) populate(objectMap, "nextLink", t.NextLink) populate(objectMap, "value", t.Value) return json.Marshal(objectMap) }
[ -0.36703887581825256, -0.18382418155670166, -0.10293281078338623, -0.3224068582057953, -0.6192792057991028, -0.8093181848526001, -0.27816739678382874, 0.42880699038505554, 0.20494329929351807, 0.00831630639731884, -1.4715166091918945, 0.21640701591968536, -0.3279232382774353, 0.93993985652...
func (t *TenantListResult) UnmarshalJSON(data []byte) error { var rawMsg map[string]json.RawMessage if err := json.Unmarshal(data, &rawMsg); err != nil { return fmt.Errorf("unmarshalling type %T: %v", t, err) } for key, val := range rawMsg { var err error switch key { case "nextLink": err = unpopulate(va...
[ -0.32601219415664673, 0.3863663673400879, 0.1574086844921112, -1.2247967720031738, -1.0067399740219116, -1.0694743394851685, -0.04380801320075989, -0.03399651125073433, -0.2579324543476105, 0.37018316984176636, -0.7929312586784363, -0.3621402680873871, -0.44340500235557556, 0.9496564269065...
func NewEditL3ServiceProfileUsingPUTParams() *EditL3ServiceProfileUsingPUTParams { var () return &EditL3ServiceProfileUsingPUTParams{ timeout: cr.DefaultTimeout, } }
[ 0.5935971736907959, 0.22285985946655273, 0.46599674224853516, -0.3259350657463074, -0.9949208498001099, 0.4843139350414276, -0.1662052571773529, -0.29858455061912537, -0.9329451322555542, 0.76153963804245, -0.5259923934936523, -0.5694572925567627, -1.7103893756866455, 0.01734941266477108, ...
func NewEditL3ServiceProfileUsingPUTParamsWithTimeout(timeout time.Duration) *EditL3ServiceProfileUsingPUTParams { var () return &EditL3ServiceProfileUsingPUTParams{ timeout: timeout, } }
[ 1.016304612159729, 0.11165761202573776, 0.538345992565155, -0.31775081157684326, -1.1554673910140991, 0.9201267957687378, -0.4758535921573639, -0.08738066256046295, -0.8891246914863586, 1.2551647424697876, -0.4904565215110779, -0.3160068988800049, -1.4239647388458252, 0.1101616844534874, ...
func NewEditL3ServiceProfileUsingPUTParamsWithContext(ctx context.Context) *EditL3ServiceProfileUsingPUTParams { var () return &EditL3ServiceProfileUsingPUTParams{ Context: ctx, } }
[ 0.5194180011749268, 0.14407873153686523, 0.7441872954368591, -0.7573902010917664, -0.9400116205215454, 0.9389358758926392, -0.5287862420082092, -0.7413294315338135, -0.6120716333389282, 0.9959274530410767, -0.8400160670280457, -0.35334616899490356, -1.47311270236969, -0.38053905963897705, ...
func NewEditL3ServiceProfileUsingPUTParamsWithHTTPClient(client *http.Client) *EditL3ServiceProfileUsingPUTParams { var () return &EditL3ServiceProfileUsingPUTParams{ HTTPClient: client, } }
[ 0.3037649691104889, 0.08298606425523758, 0.64372718334198, -0.48434367775917053, -0.728532075881958, 0.9502730965614319, 0.19086872041225433, -0.280793160200119, -1.2232625484466553, 0.5891092419624329, -0.7437977194786072, -0.48850390315055847, -1.2295106649398804, -0.40482717752456665, ...
func (o *EditL3ServiceProfileUsingPUTParams) WithTimeout(timeout time.Duration) *EditL3ServiceProfileUsingPUTParams { o.SetTimeout(timeout) return o }
[ 0.9781287312507629, 0.33762475848197937, 0.4221445918083191, -0.7978922724723816, -1.0022763013839722, 0.512069046497345, 0.2963264584541321, -0.24928399920463562, 0.13615690171718597, 0.9810830950737, -0.14204645156860352, -0.19888873398303986, -0.5871143341064453, -0.15685950219631195, ...
func (o *EditL3ServiceProfileUsingPUTParams) SetTimeout(timeout time.Duration) { o.timeout = timeout }
[ 0.6244941353797913, 0.47043880820274353, 0.2776314914226532, -0.5312454700469971, -0.38405174016952515, 0.8929290771484375, 0.48031896352767944, 0.12707410752773285, -0.5580258369445801, 0.9683687090873718, -0.04352680593729019, -0.0697626918554306, -1.039743423461914, 0.14290721714496613,...