text
stringlengths
11
6.3k
embedding
listlengths
768
768
func gvkForFlags(f *flag.FlagSet) *resource.Resource { r := &resource.Resource{} f.StringVar(&r.Group, "group", "", "resource Group") f.StringVar(&r.Version, "version", "", "resource Version") f.StringVar(&r.Kind, "kind", "", "resource Kind") f.StringVar(&r.Resource, "resource", "", "resource Resource") return r ...
[ 0.7881269454956055, -0.12339791655540466, 0.26348069310188293, -0.9361777901649475, 0.04800501838326454, -0.3925960063934326, -0.2937374711036682, -0.854903519153595, -0.7400637269020081, -0.5079492330551147, 0.7383953332901001, -0.023022202774882317, -0.21077010035514832, 0.69455116987228...
func (x Int26_6) mul(y Int26_6) Int26_6 { const M, N = 26, 6 lo, hi := muli32(int32(x), int32(y)) ret := Int26_6(hi<<M | lo>>N) ret += Int26_6((lo >> (N - 1)) & 1) // Round to nearest, instead of rounding down. return ret }
[ -0.02182261273264885, -0.10575561970472336, 0.44474348425865173, 0.45736196637153625, -0.7806164026260376, 0.07489284873008728, -0.29141923785209656, -1.295121192932129, 0.6395778656005859, -0.2669927179813385, -0.5481172800064087, 0.31337669491767883, -0.24442005157470703, 0.0857058614492...
func muli32(u, v int32) (lo, hi uint32) { const ( s = 16 mask = 1<<s - 1 ) u1 := uint32(u >> s) u0 := uint32(u & mask) v1 := uint32(v >> s) v0 := uint32(v & mask) w0 := u0 * v0 t := u1*v0 + w0>>s w1 := t & mask w2 := uint32(int32(t) >> s) w1 += u0 * v1 return uint32(u) * uint32(v), u1*v1 + w2 + uin...
[ 0.6613349318504333, -0.21543626487255096, 0.7804727554321289, -0.03833793103694916, -0.7750758528709412, 0.4312373399734497, -0.07846713811159134, -0.11698334664106369, 0.3432041108608246, -0.14476920664310455, -1.0567805767059326, -0.1528756469488144, -0.05727490410208702, -0.656128644943...
func mulu32(u, v uint32) (lo, hi uint32) { const ( s = 16 mask = 1<<s - 1 ) u0 := u & mask u1 := u >> s v0 := v & mask v1 := v >> s w0 := u0 * v0 t := u1*v0 + w0>>s w1 := t & mask w2 := t >> s w1 += u0 * v1 return u * v, u1*v1 + w2 + w1>>s }
[ 0.06771612912416458, -0.06794727593660355, 0.9666543006896973, -0.3496502935886383, -0.8525194525718689, 0.10544569045305252, -0.10287190973758698, 0.13260464370250702, 0.019421100616455078, -0.5430895686149597, -0.8465240597724915, 0.6938150525093079, 0.3708568215370178, -0.64412164688110...
func (proc_status *ProcStatus) SetStatus(status string) { proc_status.Status = status }
[ 0.6334700584411621, -1.659157156944275, 0.19055750966072083, -0.09024219959974289, -0.14474937319755554, 0.7159669399261475, -0.35529738664627075, 0.7791463732719421, 0.3595306873321533, -0.46626341342926025, -1.2083410024642944, 1.0648853778839111, 0.632068395614624, 1.0557361841201782, ...
func (proc_status *ProcStatus) IncrRestart() { proc_status.Restarts++ }
[ 0.32720041275024414, -0.3563171923160553, 0.2961120903491974, -0.44682830572128296, 0.5922276973724365, -0.16021525859832764, -0.29413047432899475, 0.7513644099235535, -0.09367147833108902, -0.5704271197319031, -0.539099395275116, 1.290608525276184, -0.19657683372497559, 0.251230388879776,...
func (proc *Proc) Restore(p *os.Process) { proc.Pid = p.Pid proc.process = p proc.Status.SetStatus("restored") }
[ 1.49289870262146, -1.5823602676391602, 0.3014010190963745, -0.9337910413742065, 0.00016205510473810136, 0.6319267749786377, -0.9194334745407104, 0.6268370151519775, 0.6710314154624939, -0.5114375948905945, -0.4100474715232849, 0.8811420798301697, -0.43168920278549194, -0.40449485182762146,...
func (proc *Proc) Start() error { inFile, err := common.GetFile(proc.Infile) if err != nil { return err } outFile, err := common.GetFile(proc.Outfile) if err != nil { return err } errFile, err := common.GetFile(proc.Errfile) if err != nil { return err } wd, _ := os.Getwd() procAtr := &os.ProcAttr{ Di...
[ 0.7003576159477234, -1.6579965353012085, 0.7523553967475891, -0.1568593829870224, 0.2060604840517044, 0.5175239443778992, 0.7562954425811768, 0.3865344226360321, -0.9855647683143616, 0.15563184022903442, -0.23350410163402557, 1.0794695615768433, -0.016738414764404297, 0.3737107217311859, ...
func (proc *Proc) ForceStop() error { if proc.process != nil { err := proc.process.Signal(syscall.SIGKILL) proc.Status.SetStatus("stopped") proc.release() return err } return errors.New("Process does not exist.") }
[ -0.5592812299728394, -0.21018065512180328, 0.4968797266483307, -0.24102936685085297, 0.9464119672775269, 0.3726145923137665, -0.6946111917495728, -0.35520270466804504, -0.4233509600162506, 1.0667506456375122, -0.5656474828720093, 0.8991782069206238, 0.5248482823371887, 0.6617401838302612, ...
func (proc *Proc) GracefullyStop() error { if proc.process != nil { err := proc.process.Signal(syscall.SIGTERM) proc.Status.SetStatus("asked to stop") return err } return errors.New("Process does not exist.") }
[ 0.533808708190918, 0.058240801095962524, 0.5729362368583679, -0.43554365634918213, 0.8831610679626465, -0.0003380081325303763, -0.23722441494464874, 0.43366479873657227, -0.586357057094574, -0.09598307311534882, -0.43194249272346497, -0.3798498809337616, 0.47345492243766785, 0.687971770763...
func (proc *Proc) Stop() error { if proc.process != nil { if proc.Sys != nil && proc.Sys.Setpgid == true { // We use Setpgid to allow snort processes to run even if matra exists or restarts: // https://medium.com/@felixge/killing-a-child-process-and-all-of-its-children-in-go-54079af94773 // Internally this ...
[ 0.33867859840393066, -0.6158930659294128, 0.9197031855583191, 0.057306863367557526, 0.777153730392456, -0.16159477829933167, -0.28439661860466003, 0.0681246742606163, -0.4430394470691681, 0.6284102201461792, -0.12350723147392273, 0.0018584758508950472, 0.3972736895084381, 0.380832225084304...
func (proc *Proc) Restart() error { if proc.IsAlive() { err := proc.Stop() if err != nil { return err } } return proc.Start() }
[ 1.1234818696975708, -0.7311778664588928, 0.6985751986503601, 0.022968299686908722, 0.4365866780281067, 0.19934743642807007, -0.4833410680294037, 0.20976318418979645, -0.3678201138973236, 0.5974712371826172, 0.44790366291999817, 0.3906402587890625, -0.796804666519165, -0.1951024979352951, ...
func (proc *Proc) Delete() error { proc.release() err := common.DeleteFile(proc.Infile) if err != nil { return err } err = common.DeleteFile(proc.Outfile) if err != nil { return err } err = common.DeleteFile(proc.Errfile) if err != nil { return err } return nil //os.RemoveAll(proc.Path) }
[ 1.2819973230361938, -0.43049612641334534, 0.8976465463638306, 0.07790935784578323, 0.2910575866699219, 0.08680219203233719, 0.9445757865905762, -0.21395035088062286, -0.18939073383808136, -0.2350771129131317, 0.525236964225769, 0.07451668381690979, -1.1594817638397217, 0.3916555941104889, ...
func (proc *Proc) IsAlive() bool { dir := fmt.Sprintf("/proc/%d", proc.GetPid()) _, err := os.Stat(dir) if err != nil { if os.IsNotExist(err) { return false } logger.Errorf("Error while checking process state: %s", err) return false } return true }
[ 0.2536066770553589, -1.2321112155914307, 1.2030037641525269, -0.3992684483528137, 1.3371511697769165, 0.4883919954299927, -0.2025877833366394, 0.127947598695755, 0.06606905162334442, 0.5717371106147766, -0.05908377096056938, -0.1272362768650055, -1.030463457107544, -0.2358730286359787, -...
func (proc *Proc) WatchNonChild() *watcherProcStatus { for { if !proc.IsAlive() { return &watcherProcStatus{state: "existed (non-child)"} } time.Sleep(1 * time.Second) } }
[ 0.6218294501304626, -0.7691113352775574, 0.4041460454463959, -0.6991620659828186, 0.13205966353416443, 0.8705716729164124, 0.36236006021499634, -0.5153404474258423, -0.9926934838294983, -0.19468431174755096, -0.6027905941009521, 0.8483967781066895, -0.42081910371780396, 0.752987802028656, ...
func (proc *Proc) release() { if proc.process != nil { proc.process.Release() } common.DeleteFile(proc.Pidfile) }
[ 0.7484714388847351, -0.8240581750869751, 0.44511184096336365, -0.41521748900413513, 0.44487959146499634, 0.14841628074645996, 0.3509204685688019, 0.17928288877010345, -0.3835519254207611, -0.16956283152103424, 0.7791179418563843, 0.2813466191291809, -0.5075063109397888, 1.250063419342041, ...
func (proc *Proc) AddRestart() { proc.Status.IncrRestart() }
[ 0.33891016244888306, -0.6824524402618408, 0.5562372207641602, -0.6379063129425049, 0.6136389970779419, 0.21027223765850067, -0.455365926027298, 0.5609053373336792, 0.29664382338523865, -1.010101556777954, -0.2985856235027313, 0.9611877202987671, -0.9019868969917297, 0.5746209025382996, -...
func (proc *Proc) GetPid() int { return proc.Pid }
[ 1.6751703023910522, -0.5646619200706482, 0.662010908126831, 0.3818615674972534, 0.6855639219284058, 0.49943578243255615, 0.8488931059837341, -0.12310300767421722, 0.3931359350681305, -0.5920040011405945, 0.2252933382987976, 0.2797802984714508, -0.6950390934944153, 0.30400675535202026, 1....
func (proc *Proc) GetStatus() *ProcStatus { return proc.Status }
[ 1.1795755624771118, -1.0404400825500488, 0.29356619715690613, -0.16731254756450653, 0.6317178010940552, 0.26620787382125854, 0.1835712194442749, -0.003958080895245075, 0.5615090131759644, -0.7966442108154297, -0.7097294926643372, 1.4212217330932617, -0.2700521647930145, 0.9823176860809326,...
func (proc *Proc) Identifier() string { return proc.Name }
[ 0.6289266347885132, -0.8584615588188171, 0.3233258128166199, -0.6612583994865417, -0.4470059871673584, 0.786601722240448, 0.5458030104637146, 0.28857043385505676, 0.5998849868774414, -0.32816076278686523, -0.6779296398162842, 0.5617005825042725, 0.17745430767536163, 0.27652376890182495, ...
func (proc *Proc) ShouldKeepAlive() bool { return proc.KeepAlive }
[ 0.9477759599685669, -0.5131581425666809, 0.9394350647926331, 0.37098798155784607, -0.05546636879444122, 1.2559621334075928, -0.9330575466156006, -0.24997183680534363, -0.771902322769165, -0.20417001843452454, -0.7078021168708801, -0.23151686787605286, -0.8428439497947693, -0.69024097919464...
func InitWatcher() *Watcher { watcher := &Watcher{ restartProc: make(chan ProcContainer), watchProcs: make(map[string]*ProcWatcher), } return watcher }
[ 0.617520272731781, -1.02783203125, 0.2540850043296814, 0.2065088003873825, 0.250160276889801, -0.002429515589028597, -0.17392723262310028, 0.16100403666496277, -0.48688647150993347, -0.9116829037666321, -0.5575253367424011, 1.1296062469482422, -0.17068417370319366, 0.9046372771263123, 0....
func (watcher *Watcher) RestartProc() chan ProcContainer { return watcher.restartProc }
[ 1.6173807382583618, -0.5227006673812866, 0.3811533749103546, -0.31811246275901794, -0.12437492609024048, -0.09015465527772903, 0.49064770340919495, -0.16624584794044495, -0.2971988916397095, 0.1750553995370865, 0.5354549288749695, 1.1142287254333496, -0.011888938955962658, -0.5182009935379...
func (watcher *Watcher) AddProcWatcher(proc ProcContainer, notChild bool) { watcher.Lock() defer watcher.Unlock() if _, ok := watcher.watchProcs[proc.Identifier()]; ok { logger.Debugf("A watcher for this process already exists.") return } procWatcher := &ProcWatcher{ procStatus: make(chan *watcherProcStatus...
[ 0.12935608625411987, -0.8777716159820557, 0.7765879034996033, 0.04254148155450821, 0.5379693508148193, 0.03406304121017456, -0.20973609387874603, -0.1088157519698143, -0.023251380771398544, -0.8092125058174133, -0.4337328374385834, 0.5223750472068787, 0.3221961259841919, 0.6197525858879089...
func (watcher *Watcher) StopWatcher(identifier string) chan bool { if watcher, ok := watcher.watchProcs[identifier]; ok { logger.Debugf("Stopping watcher on proc %s", identifier) watcher.stopWatcher <- true waitStop := make(chan bool, 1) go func() { <-watcher.procStatus waitStop <- true }() return wa...
[ -0.9989470839500427, -0.5297894477844238, 0.660258412361145, -0.6707350611686707, -0.15811003744602203, 0.3336624205112457, -0.10736192762851715, -0.05421709641814232, -0.5638207197189331, -0.03898494318127632, -0.8517701625823975, -0.1336185336112976, -0.3274201452732086, 0.70735698938369...
func (master *ProcMaster) WatchProcs() { for proc := range master.Watcher.RestartProc() { if !proc.ShouldKeepAlive() { master.Lock() master.updateStatus(proc) master.Unlock() logger.Debugf("Proc %s does not have keep alive set. Will not be restarted.", proc.Identifier()) continue } logger.Debugf("...
[ 0.24198414385318756, -0.8761071562767029, 0.501072108745575, -0.4883893132209778, 0.13312123715877533, 0.08901780098676682, -0.05101991444826126, -0.19130605459213257, 0.028488580137491226, 0.24701085686683655, -0.2743629813194275, 0.3702101707458496, -0.4951491057872772, -0.26489073038101...
func (master *ProcMaster) restart(proc ProcContainer) error { err := master.stop(proc) if err != nil { return err } return master.start(proc) }
[ -0.22440461814403534, -0.6107021570205688, 0.45545104146003723, 0.05411163344979286, -0.285365492105484, 0.19496789574623108, -0.2457694709300995, 0.43457871675491333, -0.2829248905181885, 0.20346908271312714, -0.13741450011730194, 0.6160793304443359, -0.25299400091171265, 0.09348974376916...
func (master *ProcMaster) StopProcess(name string) error { master.Lock() defer master.Unlock() if proc, ok := master.Procs[name]; ok { err := master.stop(proc) if err != nil { return err } delete(master.Procs, proc.Identifier()) return nil } return errors.New("Unknown process.") }
[ -0.4151654839515686, -0.9140270352363586, 0.4806871712207794, -0.7105493545532227, -0.6106280088424683, -0.3610323965549469, -0.5012352466583252, -0.3674183785915375, 0.42164504528045654, 0.43389803171157837, -0.8381748795509338, 0.23528939485549927, -0.5174263119697571, -0.447902262210845...
func (master *ProcMaster) stop(proc ProcContainer) error { if proc.IsAlive() { waitStop := master.Watcher.StopWatcher(proc.Identifier()) err := proc.Stop() if err != nil { return err } if waitStop != nil { <-waitStop proc.SetStatus("stopped") } err = proc.Delete() if err != nil { logger.War...
[ 0.2107858508825302, -0.8895894885063171, 0.8469365835189819, -0.21289652585983276, 0.23948515951633453, -0.09802591800689697, 0.6004475951194763, 0.4623583257198334, -0.08929815888404846, 0.31633460521698, -0.13077569007873535, 0.2559124827384949, -0.04620559886097908, -0.00115885643754154...
func (master *ProcMaster) start(proc ProcContainer) error { if !proc.IsAlive() { err := proc.Start() if err != nil { return err } master.Watcher.AddProcWatcher(proc, false) proc.SetStatus("running") } return nil }
[ 0.7390770316123962, -0.6042398810386658, 0.5732652544975281, 0.2779715955257416, 0.3307480216026306, 0.55331951379776, 0.415675550699234, 0.9440122246742249, -0.27700740098953247, 0.40925896167755127, -0.2663065493106842, 1.0041321516036987, 0.016620920971035957, 0.8935454487800598, 0.03...
func (master *ProcMaster) Restore(proc ProcContainer) error { master.Lock() defer master.Unlock() if _, ok := master.Procs[proc.Identifier()]; ok { logger.Warningf("Proc %s already exist.", proc.Identifier()) return errors.New("Trying to start a process that already exist.") } err := master.restore(proc) if ...
[ 0.46200060844421387, -0.6526196599006653, 0.5479463338851929, -0.22683502733707428, 0.3974226415157318, -0.14301817119121552, 0.14863841235637665, -0.43250519037246704, 1.0774465799331665, -0.3674911558628082, -0.3002917766571045, 0.41362085938453674, -0.9908308386802673, -0.57373315095901...
func (master *ProcMaster) restore(proc ProcContainer) error { if proc.IsAlive() { master.Watcher.AddProcWatcher(proc, true /*non-child*/) proc.SetStatus("restored") return nil } return errors.New(fmt.Sprintf("Restore called on %s but process not running.", proc.Identifier())) }
[ 0.7229368686676025, -0.27907347679138184, 0.7313050031661987, 0.015025068074464798, 0.11693934351205826, 0.2453136295080185, -0.2963464558124542, -0.1845237910747528, 0.31256332993507385, -0.23259106278419495, 0.20426452159881592, 0.1643965244293213, -1.2487884759902954, 0.0555295310914516...
func NewFormSerializationWriter() *FormSerializationWriter { return &FormSerializationWriter{ writer: make([]string, 0), } }
[ -0.693362832069397, -0.257040798664093, -0.11129127442836761, 0.7109435796737671, -0.4393386244773865, -1.4135463237762451, -0.6951770186424255, 0.7955411076545715, -0.19485469162464142, -1.0984082221984863, -0.5733996033668518, -1.4674179553985596, 0.8706126809120178, 0.5229066610336304, ...
func (w *FormSerializationWriter) WriteStringValue(key string, value *string) error { if key != "" && value != nil { w.writePropertyName(key) } if value != nil { w.writeStringValue(*value) } if key != "" && value != nil { w.writePropertySeparator() } return nil }
[ -1.029245376586914, -0.4152103662490845, 0.4356900751590729, -0.2928135097026825, -0.16276097297668457, -0.492582768201828, -0.5139412879943848, 0.2631637752056122, -0.6241608262062073, -0.04981425404548645, -0.03446833789348602, -0.671204686164856, 0.4181613326072693, 0.8719918727874756, ...
func (w *FormSerializationWriter) WriteBoolValue(key string, value *bool) error { if key != "" && value != nil { w.writePropertyName(key) } if value != nil { w.writeRawValue(strconv.FormatBool(*value)) } if key != "" && value != nil { w.writePropertySeparator() } return nil }
[ -0.7315817475318909, -0.46770259737968445, 0.5610522031784058, -0.07375182956457138, 0.012299329042434692, 0.08098258078098297, -0.841712474822998, 0.8370122909545898, -0.7104892134666443, 0.139247328042984, -0.29339855909347534, -0.5714370608329773, 0.8903594613075256, 0.6039454936981201,...
func (w *FormSerializationWriter) WriteByteValue(key string, value *byte) error { if value != nil { cast := int64(*value) return w.WriteInt64Value(key, &cast) } return nil }
[ -1.3088241815567017, 0.4265115261077881, 0.6317500472068787, 0.02834170125424862, 0.31859713792800903, -0.40979862213134766, -0.31152376532554626, 0.5211148262023926, 0.48815396428108215, 0.06369759887456894, -0.4423583447933197, -0.2681960463523865, -0.5684946775436401, 1.3729255199432373...
func (w *FormSerializationWriter) WriteInt8Value(key string, value *int8) error { if value != nil { cast := int64(*value) return w.WriteInt64Value(key, &cast) } return nil }
[ -2.0422909259796143, 0.03073567897081375, 0.20052415132522583, -0.09819363057613373, -0.13359296321868896, -0.352885365486145, -0.008938017301261425, 0.004588334821164608, 0.9051070213317871, 0.40099796652793884, -0.23425307869911194, -0.3634829819202423, -0.9988053441047668, 1.17481231689...
func (w *FormSerializationWriter) WriteInt32Value(key string, value *int32) error { if value != nil { cast := int64(*value) return w.WriteInt64Value(key, &cast) } return nil }
[ -1.321032166481018, 0.29538145661354065, 0.4758189618587494, -0.34175899624824524, -0.23252664506435394, -0.17988888919353485, -0.6159793734550476, -0.256879597902298, -0.09013520926237106, -0.021205922588706017, -0.2421950250864029, -0.36483702063560486, -0.23956580460071564, 1.1976563930...
func (w *FormSerializationWriter) WriteInt64Value(key string, value *int64) error { if key != "" && value != nil { w.writePropertyName(key) } if value != nil { w.writeRawValue(strconv.FormatInt(*value, 10)) } if key != "" && value != nil { w.writePropertySeparator() } return nil }
[ -1.2046841382980347, -0.3436211347579956, 0.5719284415245056, -0.26507946848869324, -0.018168596550822258, -0.5583034753799438, -0.1192789152264595, 0.35309696197509766, -0.14358901977539062, -0.030949914827942848, -0.08467259258031845, -0.9181554317474365, 0.19676540791988373, 1.089848875...
func (w *FormSerializationWriter) WriteFloat32Value(key string, value *float32) error { if value != nil { cast := float64(*value) return w.WriteFloat64Value(key, &cast) } return nil }
[ -0.6908968687057495, 0.8286976218223572, 0.5030549168586731, 0.0473271980881691, 0.07182072848081589, -0.10510750859975815, -0.6113311648368835, -0.0771007388830185, -0.3866654634475708, -0.4849819839000702, -0.25908616185188293, -0.45796433091163635, 0.33262357115745544, 1.633880138397216...
func (w *FormSerializationWriter) WriteFloat64Value(key string, value *float64) error { if key != "" && value != nil { w.writePropertyName(key) } if value != nil { w.writeRawValue(strconv.FormatFloat(*value, 'f', -1, 64)) } if key != "" && value != nil { w.writePropertySeparator() } return nil }
[ -0.756047785282135, 0.0053055561147630215, 0.4903362989425659, 0.2645588219165802, 0.0313856340944767, -0.565554678440094, -0.07793691009283066, 0.5291531682014465, -0.35443899035453796, -0.7433504462242126, 0.22502580285072327, -1.030112385749817, 0.7538516521453857, 1.4985274076461792, ...
func (w *FormSerializationWriter) WriteTimeValue(key string, value *time.Time) error { if key != "" && value != nil { w.writePropertyName(key) } if value != nil { w.writeStringValue((*value).Format(time.RFC3339)) } if key != "" && value != nil { w.writePropertySeparator() } return nil }
[ -0.7460598945617676, -0.4495185315608978, 0.7485158443450928, -0.6047478914260864, -0.00937665719538927, -0.25958681106567383, -0.8746402859687805, 0.1795445680618286, -0.27510422468185425, 0.26460909843444824, -0.24434489011764526, -0.893831193447113, 0.21691210567951202, 1.39897215366363...
func (w *FormSerializationWriter) WriteISODurationValue(key string, value *absser.ISODuration) error { if key != "" && value != nil { w.writePropertyName(key) } if value != nil { w.writeStringValue((*value).String()) } if key != "" && value != nil { w.writePropertySeparator() } return nil }
[ -1.1492992639541626, -0.47583308815956116, 0.39205202460289, 0.1177603080868721, -0.29059579968452454, 0.1534653604030609, -0.08379479497671127, 0.3524240553379059, -0.2133558839559555, 0.5096033811569214, 0.03508231043815613, -0.4745226800441742, 0.8470748066902161, 0.4834410548210144, ...
func (w *FormSerializationWriter) WriteTimeOnlyValue(key string, value *absser.TimeOnly) error { if key != "" && value != nil { w.writePropertyName(key) } if value != nil { w.writeStringValue((*value).String()) } if key != "" && value != nil { w.writePropertySeparator() } return nil }
[ -0.7273500561714172, -0.06987813860177994, 0.32283473014831543, -0.257403701543808, -0.5835371613502502, -0.19616885483264923, -0.7658689618110657, 0.7426185011863708, -0.09441731870174408, 0.438977986574173, -0.1842505931854248, -0.3937879204750061, 0.4843398332595825, 1.6899499893188477,...
func (w *FormSerializationWriter) WriteDateOnlyValue(key string, value *absser.DateOnly) error { if key != "" && value != nil { w.writePropertyName(key) } if value != nil { w.writeStringValue((*value).String()) } if key != "" && value != nil { w.writePropertySeparator() } return nil }
[ -0.6504626274108887, 0.05482339859008789, 0.3328135907649994, -0.05557544156908989, -0.9444200992584229, 0.3479045331478119, -0.650263249874115, 0.6531466841697693, 0.03697524964809418, -0.2217697650194168, -0.27807819843292236, -0.10337001085281372, 0.5057067275047302, 1.4850643873214722,...
func (w *FormSerializationWriter) WriteUUIDValue(key string, value *uuid.UUID) error { if key != "" && value != nil { w.writePropertyName(key) } if value != nil { w.writeStringValue((*value).String()) } if key != "" && value != nil { w.writePropertySeparator() } return nil }
[ -1.038415789604187, -0.45112061500549316, 0.4238041341304779, -0.6646924018859863, -0.2837771475315094, -0.2828006148338318, -0.29835620522499084, 0.8562127351760864, -0.3415839672088623, -0.4300174415111542, -0.055054567754268646, -0.38284870982170105, 0.5727338790893555, 0.64427149295806...
func (w *FormSerializationWriter) WriteByteArrayValue(key string, value []byte) error { if key != "" && value != nil { w.writePropertyName(key) } if value != nil { w.writeStringValue(base64.StdEncoding.EncodeToString(value)) } if key != "" && value != nil { w.writePropertySeparator() } return nil }
[ -0.4385946989059448, -0.48516982793807983, 0.6069632768630981, -0.49817320704460144, 0.11190398782491684, -0.3762015700340271, -0.6283010244369507, 0.2838592529296875, 0.07657259702682495, 0.20387797057628632, -0.4596358835697174, 0.06089111417531967, 0.2672583758831024, 1.059411883354187,...
func (w *FormSerializationWriter) WriteObjectValue(key string, item absser.Parsable, additionalValuesToMerge ...absser.Parsable) error { if w.depth > 0 { return errors.New("nested objects serialization is not supported with FormSerializationWriter") } w.depth++ additionalValuesLen := len(additionalValuesToMerge) ...
[ -0.8166877627372742, -0.6875808835029602, 1.0029345750808716, 0.14469370245933533, -0.20148858428001404, 0.07157370448112488, 0.3779445290565491, -0.05069351568818092, -0.058522216975688934, -0.4681703448295593, -0.7664617896080017, -0.489676833152771, 0.23087123036384583, 0.77024960517883...
func (w *FormSerializationWriter) WriteCollectionOfObjectValues(key string, collection []absser.Parsable) error { return errors.New("collections serialization is not supported with FormSerializationWriter") }
[ -1.1341520547866821, -0.1712053269147873, 0.5836824774742126, 0.33926427364349365, 0.3508405089378357, 0.5428299307823181, -0.5379968285560608, 0.1034029871225357, -0.7707713842391968, -0.42799147963523865, -0.6901906132698059, -0.9521281719207764, 0.5541819334030151, 1.4783793687820435, ...
func (w *FormSerializationWriter) WriteCollectionOfStringValues(key string, collection []string) error { return writeCollectionOfPrimitiveValues(key, w.WriteStringValue, collection) }
[ -1.2971093654632568, -0.5700057744979858, 0.2364269196987152, -0.31328752636909485, 0.6837852001190186, -0.09694939106702805, -0.8805209398269653, 0.22274668514728546, -1.4718579053878784, -0.5168505907058716, 0.12070897221565247, -0.5737154483795166, 0.15694992244243622, 1.506934165954589...
func (w *FormSerializationWriter) WriteCollectionOfInt32Values(key string, collection []int32) error { return writeCollectionOfPrimitiveValues(key, w.WriteInt32Value, collection) }
[ -1.171456217765808, 0.21043661236763, 0.25185051560401917, -0.3822477161884308, 0.6399416923522949, 0.4877327084541321, -0.5420648455619812, -0.6289222836494446, -1.061232566833496, -0.03164370357990265, -0.2615293860435486, -0.905598521232605, -0.48453181982040405, 1.7869446277618408, -...
func (w *FormSerializationWriter) WriteCollectionOfInt64Values(key string, collection []int64) error { return writeCollectionOfPrimitiveValues(key, w.WriteInt64Value, collection) }
[ -1.8396931886672974, -0.11428964883089066, 0.20916835963726044, 0.6301853060722351, 0.6717554926872253, -0.23854520916938782, -0.23711954057216644, -0.013108443468809128, -0.6600703597068787, 0.13340726494789124, -0.23280441761016846, -1.137947916984558, -0.3144420087337494, 1.757613539695...
func (w *FormSerializationWriter) WriteCollectionOfFloat32Values(key string, collection []float32) error { return writeCollectionOfPrimitiveValues(key, w.WriteFloat32Value, collection) }
[ -0.7995353937149048, 0.3423852324485779, 0.3306818902492523, -0.3776169717311859, 0.25405317544937134, 0.9302085041999817, 0.2488432079553604, -0.6552606821060181, -1.3882752656936646, -0.6020439863204956, 0.13241010904312134, -0.5716378092765808, -0.21518248319625854, 2.115723133087158, ...
func (w *FormSerializationWriter) WriteCollectionOfFloat64Values(key string, collection []float64) error { return writeCollectionOfPrimitiveValues(key, w.WriteFloat64Value, collection) }
[ -1.273858904838562, 0.08018045872449875, 0.2331157624721527, 0.3930705487728119, 0.31708961725234985, 0.2751635015010834, 0.39222511649131775, -0.06670991331338882, -1.121436357498169, -0.5049998164176941, 0.25651615858078003, -0.8593614101409912, -0.14015963673591614, 2.0287435054779053, ...
func (w *FormSerializationWriter) WriteCollectionOfTimeValues(key string, collection []time.Time) error { return writeCollectionOfPrimitiveValues(key, w.WriteTimeValue, collection) }
[ -1.6017601490020752, 0.09698070585727692, 0.3796456456184387, 0.09688620269298553, 0.5337943434715271, -0.026317106559872627, -0.6953383684158325, -0.025408299639821053, -0.8759505748748779, 0.10316746681928635, -0.49586567282676697, -0.9852293133735657, 0.06888644397258759, 2.115921974182...
func (w *FormSerializationWriter) WriteCollectionOfISODurationValues(key string, collection []absser.ISODuration) error { return writeCollectionOfPrimitiveValues(key, w.WriteISODurationValue, collection) }
[ -1.5746936798095703, 0.16469216346740723, 0.30714741349220276, 0.8957181572914124, 0.5477458834648132, 0.3921509087085724, -0.10254718363285065, 0.36117827892303467, -0.9912521243095398, 0.5655576586723328, 0.009629816748201847, -0.7384173274040222, 0.34549054503440857, 0.9557523727416992,...
func (w *FormSerializationWriter) WriteCollectionOfTimeOnlyValues(key string, collection []absser.TimeOnly) error { return writeCollectionOfPrimitiveValues(key, w.WriteTimeOnlyValue, collection) }
[ -1.1179792881011963, 0.24078142642974854, 0.27652764320373535, 0.24702094495296478, 0.07944926619529724, 0.15625347197055817, -0.7334542870521545, 0.6263457536697388, -0.8697094321250916, 0.3948347568511963, -0.3164672255516052, -0.41518935561180115, 0.0562443882226944, 2.456207752227783, ...
func (w *FormSerializationWriter) WriteCollectionOfDateOnlyValues(key string, collection []absser.DateOnly) error { return writeCollectionOfPrimitiveValues(key, w.WriteDateOnlyValue, collection) }
[ -1.2111204862594604, 0.31869250535964966, 0.26459747552871704, 0.47717389464378357, -0.21900008618831635, 0.6483956575393677, -0.481052428483963, 0.6456705927848816, -0.7906307578086853, -0.18632955849170685, -0.50492262840271, -0.16652317345142365, 0.2069067656993866, 2.1070120334625244, ...
func (w *FormSerializationWriter) WriteCollectionOfUUIDValues(key string, collection []uuid.UUID) error { return writeCollectionOfPrimitiveValues(key, w.WriteUUIDValue, collection) }
[ -1.7060348987579346, 0.0766565129160881, 0.17753346264362335, -0.050128210335969925, 0.5335347652435303, -0.1029420793056488, -0.04465948045253754, 0.606218695640564, -1.026063084602356, -0.23208701610565186, -0.1595122218132019, -0.8875938057899475, 0.1477516144514084, 1.2370944023132324,...
func (w *FormSerializationWriter) WriteCollectionOfBoolValues(key string, collection []bool) error { return writeCollectionOfPrimitiveValues(key, w.WriteBoolValue, collection) }
[ -1.4039589166641235, -0.25078701972961426, 0.25224655866622925, 0.36581528186798096, 0.6899937987327576, 0.3619144856929779, -0.4209100008010864, 0.3408193290233612, -1.6096900701522827, 0.22442807257175446, -0.2990003526210785, -0.8383086919784546, -0.012766016647219658, 1.341781377792358...
func (w *FormSerializationWriter) WriteCollectionOfByteValues(key string, collection []byte) error { return writeCollectionOfPrimitiveValues(key, w.WriteByteValue, collection) }
[ -1.264322280883789, 0.1726972907781601, 0.3010719120502472, -0.005673963110893965, 0.6053347587585449, -0.005601251032203436, -0.3230724036693573, 0.18501707911491394, -0.6764371991157532, -0.33039605617523193, -0.6415637731552124, -0.6321519017219543, -0.5094975829124451, 1.90122139453887...
func (w *FormSerializationWriter) WriteCollectionOfInt8Values(key string, collection []int8) error { return writeCollectionOfPrimitiveValues(key, w.WriteInt8Value, collection) }
[ -1.8678277730941772, 0.005812693387269974, 0.04322252795100212, -0.25143569707870483, 0.7816022038459778, -0.09102888405323029, -0.32149434089660645, -0.4021659195423126, -0.08160244673490524, 0.33537405729293823, -0.2489919662475586, -0.721295177936554, -1.0844204425811768, 1.490772247314...
func (w *FormSerializationWriter) GetSerializedContent() ([]byte, error) { w.trimLastPropertySeparator() resultStr := strings.Join(w.writer, "") return []byte(resultStr), nil }
[ 0.15335671603679657, 0.05630126968026161, 0.5770270824432373, 0.0454108789563179, -0.25057411193847656, -0.5515628457069397, -0.03973006457090378, -0.6477620601654053, -0.40193837881088257, -0.6786758303642273, -0.25456947088241577, -0.1825295388698578, -0.6120040416717529, -0.754547536373...
func (w *FormSerializationWriter) WriteAnyValue(key string, value interface{}) error { return errors.New("serialization of any value is not supported with FormSerializationWriter") }
[ -1.4724230766296387, -0.6276317238807678, 0.6267826557159424, 0.3258117139339447, -0.7485880255699158, -0.45872625708580017, -0.9377803206443787, 0.7376224994659424, -0.14091522991657257, -0.9411110281944275, -0.5610888600349426, -0.6973367929458618, -0.21513564884662628, 1.061056017875671...
func (w *FormSerializationWriter) WriteAdditionalData(value map[string]interface{}) error { var err error if len(value) != 0 { for key, input := range value { switch value := input.(type) { case absser.Parsable: err = w.WriteObjectValue(key, value) case []absser.Parsable: err = w.WriteCollectionOfO...
[ -1.0813060998916626, -0.5084517002105713, 0.8223567008972168, -0.1711101531982422, -0.19405952095985413, 0.8168922066688538, 0.08922658115625381, -0.31545719504356384, -0.39158180356025696, -0.30868232250213623, -0.06781270354986191, -0.09595023095607758, 0.45527219772338867, 2.05369710922...
func (w *FormSerializationWriter) Close() error { w.writer = make([]string, 0) return nil }
[ -0.22394134104251862, -0.2886204421520233, 0.09709147363901138, -0.9194465279579163, 0.21058785915374756, 0.24221013486385345, 0.09034746140241623, 0.28379878401756287, -0.7176690101623535, -1.04047429561615, 0.1957940012216568, -0.7426952123641968, -0.9596741199493408, 0.8884704113006592,...
func SendMessageTo(msg *Message, conn Connection, addr *net.UDPAddr) (CoapResponse, error) { if conn == nil { return nil, ErrNilConn } if msg == nil { return nil, ErrNilMessage } if addr == nil { return nil, ErrNilAddr } b, _ := MessageToBytes(msg) _, err := conn.WriteTo(b, addr) if err != nil { r...
[ 0.018115120008587837, 0.246212899684906, 1.0028985738754272, 0.3765036165714264, 0.27778616547584534, -0.4101794958114624, 0.023692624643445015, -0.1539173126220703, -0.190672367811203, 0.42356982827186584, -0.336360901594162, 0.04612613469362259, -0.3919467031955719, 0.42027637362480164, ...
func SendMessage(msg *Message, conn Connection) (CoapResponse, error) { if conn == nil { return nil, ErrNilConn } b, _ := MessageToBytes(msg) _, err := conn.Write(b) if err != nil { return nil, err } if msg.MessageType == MessageNonConfirmable { return nil, err } var buf = make([]byte, 1500) conn.Se...
[ -0.28410327434539795, 0.5024358630180359, 0.7449620366096497, 0.5614593625068665, 0.249309241771698, -0.8533381819725037, 0.1029505580663681, -0.033447738736867905, -0.06381899863481522, 0.7891032099723816, 0.14426523447036743, -0.07853420078754425, -1.349398136138916, 0.38775911927223206,...
func (r *Resolver) Query() generated.QueryResolver { return &queryResolver{r} }
[ 0.0017501392867416143, -0.48795756697654724, 0.11716366559267044, 0.41594451665878296, -0.170012965798378, -0.03253801167011261, -0.6646475195884705, 0.6134193539619446, 0.6766958832740784, -1.769515037536621, -0.099466972053051, -0.8924757242202759, -0.0530250146985054, 0.1281633079051971...
func NewValidORMDietaryOrder24() []Validation { v := []Validation{ Validation{Location: "MSH.9.0", VCheck: SpecificValue, Value: "ORM"}, Validation{Location: "MSH.9.1", VCheck: SpecificValue, Value: "001"}, } v = append(v, NewValidMSH24()...) v = append(v, NewValidPID24()...) v = append(v, NewValidPV124()...) ...
[ -0.7647156119346619, -0.7204686999320984, 0.5669786334037781, 0.5900543928146362, -0.5711063742637634, -0.577240526676178, -0.7699846625328064, -0.14393535256385803, 0.10741107910871506, -0.5794483423233032, -0.3035426139831543, -0.051152851432561874, -0.2933361828327179, 0.092956565320491...
func NewValidMSH24() []Validation { return []Validation{ Validation{Location: "MSH.0", VCheck: SpecificValue, Value: "MSH"}, Validation{Location: "MSH.1", VCheck: HasValue}, Validation{Location: "MSH.2", VCheck: HasValue}, Validation{Location: "MSH.9", VCheck: HasValue}, Validation{Location: "MSH.10", VCheck...
[ 0.3243744671344757, -1.1288856267929077, 0.6080319881439209, 0.37586110830307007, -1.0519075393676758, 0.2274588644504547, -0.6144269704818726, -0.13489367067813873, -0.22263048589229584, -0.24961088597774506, -0.4571317136287689, -0.15138092637062073, 0.06400808691978455, 1.07334542274475...
func NewValidPID24() []Validation { return []Validation{ Validation{Location: "PID.0", VCheck: SpecificValue, Value: "PID"}, Validation{Location: "PID.3", VCheck: HasValue}, Validation{Location: "PID.5", VCheck: HasValue}, } }
[ -0.530067503452301, -1.242082118988037, 0.44592171907424927, 0.28810954093933105, -0.6425171494483948, 0.2913781404495239, -0.8387770056724548, 0.43133145570755005, -0.25357863306999207, -0.2526768743991852, -0.410832017660141, -0.22127853333950043, -0.3758413791656494, -0.1598484069108963...
func NewValidPV124() []Validation { return []Validation{ Validation{Location: "PV1.0", VCheck: SpecificValue, Value: "PV1"}, } }
[ -0.9036049246788025, -0.8516706228256226, 0.33903267979621887, 0.7851353883743286, -0.705371081829071, 0.5806295871734619, -0.6669492721557617, -0.2765086889266968, 0.019655119627714157, -0.08042541891336441, -0.34797224402427673, -0.04501328244805336, -0.2953895330429077, 0.90496575832366...
func NewValidORC24() []Validation { return []Validation{ Validation{Location: "ORC.0", VCheck: SpecificValue, Value: "ORC"}, Validation{Location: "ORC.1", VCheck: HasValue}, } }
[ -0.7150241136550903, -1.1262284517288208, 0.28350088000297546, -0.05988692492246628, -0.409977525472641, -0.7415663599967957, 0.010098502039909363, -0.19699880480766296, 0.007944876328110695, -0.35784080624580383, -0.18555933237075806, -0.18742702901363373, 0.3822944164276123, -0.035502061...
func NewValidODS24() []Validation { return []Validation{ Validation{Location: "ODS.0", VCheck: SpecificValue, Value: "ODS"}, Validation{Location: "ODS.1", VCheck: HasValue}, Validation{Location: "ODS.2", VCheck: HasValue}, } }
[ -1.0859403610229492, -0.4246482253074646, 0.3993983268737793, 0.06309735029935837, -0.36289456486701965, 0.06558147072792053, -0.8970415592193604, -0.30467575788497925, 0.3442411720752716, -0.611709475517273, 0.18349558115005493, 0.5129818320274353, 0.13353492319583893, 0.2449822723865509,...
func SetupSignalHandler() (context.Context, func()) { ctx, cancel := context.WithCancel(context.Background()) sigc := make(chan os.Signal, 1) signal.Notify(sigc, syscall.SIGINT, syscall.SIGQUIT, syscall.SIGTERM) go func() { <-sigc cancel() <-sigc panic("received second signal, exiting immediately") }() ...
[ 1.296469807624817, -0.7823494076728821, 0.5738148093223572, 0.5033976435661316, -0.16275033354759216, -0.06264276802539825, -0.05065349116921425, 0.19710981845855713, -0.06055432930588722, 0.3767479360103607, -0.5782309174537659, -0.45408692955970764, 0.24535509943962097, 0.192139565944671...
func NewNetworkElementSummaryAllOf(classId string, objectType string) *NetworkElementSummaryAllOf { this := NetworkElementSummaryAllOf{} this.ClassId = classId this.ObjectType = objectType return &this }
[ 0.3777567148208618, -0.1736275851726532, 0.3006233274936676, 0.16786076128482819, -0.7780522704124451, 0.5121366381645203, 0.8120636343955994, -0.12126109004020691, 1.0113084316253662, -0.06874706596136093, -0.8009847402572632, -0.04529859870672226, 0.055871084332466125, 0.6903554201126099...
func NewNetworkElementSummaryAllOfWithDefaults() *NetworkElementSummaryAllOf { this := NetworkElementSummaryAllOf{} var classId string = "network.ElementSummary" this.ClassId = classId var objectType string = "network.ElementSummary" this.ObjectType = objectType return &this }
[ 0.51401287317276, 0.37007230520248413, 0.13685831427574158, 0.14344674348831177, -0.13007724285125732, 0.5476257801055908, 0.16937975585460663, -0.3322749435901642, 0.8510199189186096, -0.6508803963661194, -0.8375127911567688, -1.062182903289795, -0.04926764592528343, 0.6811414957046509, ...
func (o *NetworkElementSummaryAllOf) GetClassId() string { if o == nil { var ret string return ret } return o.ClassId }
[ 0.6436236500740051, -0.16971242427825928, -0.042006753385066986, 0.6628929376602173, 0.2434796839952469, 1.0005927085876465, 0.5699287056922913, 0.23386456072330475, 1.4845495223999023, -0.7606655359268188, 0.6366608142852783, -0.4773939847946167, -0.2781597971916199, 0.3157099485397339, ...
func (o *NetworkElementSummaryAllOf) GetClassIdOk() (*string, bool) { if o == nil { return nil, false } return &o.ClassId, true }
[ -0.4049878716468811, 0.3663308322429657, 0.6613844037055969, 0.9369750618934631, 0.4820784032344818, 0.7663677930831909, 0.7505357265472412, 0.645664632320404, 0.7310472130775452, -0.21783852577209473, -0.8546658158302307, -0.7236018180847168, -0.03521870821714401, 0.721829354763031, -0....
func (o *NetworkElementSummaryAllOf) SetClassId(v string) { o.ClassId = v }
[ 0.5156511068344116, -0.47367772459983826, -0.04107454791665077, -0.1280333697795868, -0.452788770198822, 0.7544061541557312, 0.4020179212093353, 0.5371867418289185, 1.2957115173339844, 0.2903856635093689, 0.18209628760814667, 0.2114068567752838, -0.15600532293319702, 0.42062562704086304, ...
func (o *NetworkElementSummaryAllOf) GetObjectType() string { if o == nil { var ret string return ret } return o.ObjectType }
[ 0.4973089098930359, 0.5702608227729797, -0.061291299760341644, -0.1775042712688446, 0.6458798050880432, 0.626136839389801, 0.17762111127376556, -0.28759628534317017, 0.4507860541343689, -0.1346781998872757, 0.060652028769254684, -1.2604973316192627, -0.7721586227416992, -0.3778616786003113...
func (o *NetworkElementSummaryAllOf) GetObjectTypeOk() (*string, bool) { if o == nil { return nil, false } return &o.ObjectType, true }
[ -0.28771156072616577, 0.284848153591156, 0.6645682454109192, -0.2596062123775482, 0.12847082316875458, 0.40736398100852966, 0.13342832028865814, 0.23282749950885773, -0.1488446295261383, 1.735794186592102, -1.2898863554000854, -1.7484204769134521, 0.2596171200275421, -0.10287689417600632, ...
func (o *NetworkElementSummaryAllOf) SetObjectType(v string) { o.ObjectType = v }
[ 0.4462120831012726, 0.10029855370521545, -0.04663700982928276, -0.7531027793884277, -0.1412927806377411, 0.694251298904419, 0.14457038044929504, -0.41963279247283936, 0.2905298173427582, 0.4957066476345062, -0.525769829750061, -0.6707501411437988, -0.32037025690078735, -0.20579689741134644...
func (o *NetworkElementSummaryAllOf) GetAdminEvacState() string { if o == nil || o.AdminEvacState == nil { var ret string return ret } return *o.AdminEvacState }
[ 0.4893651306629181, 0.7558897733688354, 0.09690985083580017, -0.07274051755666733, -1.1711958646774292, 0.0841900110244751, -0.45065945386886597, -1.5243327617645264, 0.9623004198074341, -0.22045201063156128, 0.1328568309545517, -0.26510724425315857, -0.1904142051935196, -0.103598192334175...
func (o *NetworkElementSummaryAllOf) GetAdminEvacStateOk() (*string, bool) { if o == nil || o.AdminEvacState == nil { return nil, false } return o.AdminEvacState, true }
[ 0.03584502264857292, 0.466553270816803, 0.5940365791320801, 0.026373738422989845, -0.8562225103378296, 0.5165796875953674, -0.18513578176498413, -1.0350204706192017, 0.6120868921279907, 0.7571814060211182, -0.3599860966205597, -0.12217187881469727, 0.8947768211364746, 0.05276040360331535, ...
func (o *NetworkElementSummaryAllOf) HasAdminEvacState() bool { if o != nil && o.AdminEvacState != nil { return true } return false }
[ 0.6406850814819336, 0.9580743908882141, 0.2241540551185608, -0.6686961650848389, -0.4540731608867645, -0.39435166120529175, -0.5367192625999451, -0.6056235432624817, 0.6827217936515808, -0.25891831517219543, -0.35035112500190735, -0.22113603353500366, 0.7111291289329529, 0.4898765683174133...
func (o *NetworkElementSummaryAllOf) SetAdminEvacState(v string) { o.AdminEvacState = &v }
[ 0.9411428570747375, 0.6829066276550293, 0.04411596432328224, -1.1139051914215088, -1.146024465560913, 0.36091259121894836, -0.7500212788581848, -1.319749116897583, 0.797178328037262, 0.014577357098460197, 0.036239273846149445, 0.758273184299469, 0.31804072856903076, -0.9112942218780518, ...
func (o *NetworkElementSummaryAllOf) GetAdminInbandInterfaceState() string { if o == nil || o.AdminInbandInterfaceState == nil { var ret string return ret } return *o.AdminInbandInterfaceState }
[ 0.9059903025627136, 0.8672832250595093, 0.16455064713954926, -0.5623385310173035, -0.7135428786277771, 0.5981648564338684, 0.2879285514354706, -1.7914923429489136, 0.7771297097206116, -0.2470971792936325, -0.3481159806251526, -0.4637881815433502, -1.0874266624450684, 0.3797938823699951, ...
func (o *NetworkElementSummaryAllOf) GetAdminInbandInterfaceStateOk() (*string, bool) { if o == nil || o.AdminInbandInterfaceState == nil { return nil, false } return o.AdminInbandInterfaceState, true }
[ 0.40818095207214355, 0.7641836404800415, 0.24296513199806213, -0.2523985803127289, -0.5770002007484436, 0.5861231684684753, 0.4118886888027191, -1.1560786962509155, 0.35753950476646423, 0.8553707003593445, -0.5573634505271912, -0.3835279643535614, -0.20665298402309418, 0.40754470229148865,...
func (o *NetworkElementSummaryAllOf) HasAdminInbandInterfaceState() bool { if o != nil && o.AdminInbandInterfaceState != nil { return true } return false }
[ 1.0680588483810425, 0.9576157331466675, 0.18669207394123077, -0.8157625198364258, -0.26391834020614624, 0.15689024329185486, 0.33068162202835083, -1.0459260940551758, 0.6059492826461792, -0.5162926912307739, -0.8361127376556396, -0.3939112722873688, -0.3515167236328125, 0.791874885559082, ...
func (o *NetworkElementSummaryAllOf) SetAdminInbandInterfaceState(v string) { o.AdminInbandInterfaceState = &v }
[ 1.0125831365585327, 0.6683521270751953, -0.10261845588684082, -1.203273057937622, -0.800782322883606, 0.9396518468856812, 0.24256247282028198, -1.4856841564178467, 0.7778789401054382, -0.011625518091022968, -0.3755783140659332, 0.5235104560852051, -0.7975982427597046, -0.1960555911064148, ...
func (o *NetworkElementSummaryAllOf) GetAlarmSummary() ComputeAlarmSummary { if o == nil || o.AlarmSummary.Get() == nil { var ret ComputeAlarmSummary return ret } return *o.AlarmSummary.Get() }
[ 0.3546478748321533, 0.5603901147842407, 0.36703476309776306, 1.029528260231018, -0.16037413477897644, -0.003633568063378334, -0.25456252694129944, -0.11877427250146866, 0.8632667660713196, -0.3058885633945465, 0.2875460982322693, -0.33449533581733704, 0.21133215725421906, 0.102158248424530...
func (o *NetworkElementSummaryAllOf) GetAlarmSummaryOk() (*ComputeAlarmSummary, bool) { if o == nil { return nil, false } return o.AlarmSummary.Get(), o.AlarmSummary.IsSet() }
[ 0.0035974669735878706, 0.6387849450111389, 0.633773148059845, 0.4131039083003998, 0.18643639981746674, -0.04659097269177437, -0.057440534234046936, 0.3328968286514282, -0.18465997278690338, 0.2864897847175598, -0.8926181197166443, -0.8297180533409119, 1.148871660232544, 0.21552342176437378...
func (o *NetworkElementSummaryAllOf) HasAlarmSummary() bool { if o != nil && o.AlarmSummary.IsSet() { return true } return false }
[ 0.7721723914146423, 0.4748888313770294, 0.3413883149623871, -0.07857685536146164, -0.1895720213651657, -0.08608938753604889, -0.39405155181884766, -0.13989797234535217, -0.05461124703288078, 0.15308204293251038, -0.5164980888366699, -0.9433814883232117, 0.750192403793335, 0.371854990720748...
func (o *NetworkElementSummaryAllOf) SetAlarmSummary(v ComputeAlarmSummary) { o.AlarmSummary.Set(&v) }
[ 0.6723224520683289, 0.43682146072387695, 0.32776159048080444, 0.20424923300743103, -0.6817651987075806, 0.5664042830467224, -0.5239143371582031, -0.13698333501815796, 0.06822779029607773, 0.5354723334312439, -0.2523505985736847, 0.11961012333631516, 1.018135905265808, -0.13019748032093048,...
func (o *NetworkElementSummaryAllOf) SetAlarmSummaryNil() { o.AlarmSummary.Set(nil) }
[ 0.4699666500091553, 0.08921696990728378, 0.4187677800655365, -0.5447832942008972, -0.6038174629211426, 0.6889206767082214, 0.46208733320236206, -0.12388508021831512, 0.29986438155174255, -0.026441145688295364, -0.2920887768268585, 0.1029583215713501, 0.800692617893219, -0.11854277551174164...
func (o *NetworkElementSummaryAllOf) UnsetAlarmSummary() { o.AlarmSummary.Unset() }
[ 0.5750151872634888, 0.44674333930015564, -0.03922579437494278, -0.4453904926776886, -0.7115570902824402, 0.11768833547830582, 0.49076855182647705, -0.2286006659269333, -0.5152683258056641, 0.36340415477752686, -0.03547830507159233, -0.22348806262016296, 0.35244283080101013, -0.475584715604...
func (o *NetworkElementSummaryAllOf) GetAvailableMemory() string { if o == nil || o.AvailableMemory == nil { var ret string return ret } return *o.AvailableMemory }
[ 0.21773043274879456, -0.12046173959970474, -0.13834193348884583, 0.13058015704154968, -0.04888439550995827, 0.6741894483566284, 0.30133238434791565, -0.4477124810218811, 0.7212460041046143, 0.09697303920984268, -0.06267343461513519, -0.29273152351379395, -0.7242177128791809, 0.637118041515...
func (o *NetworkElementSummaryAllOf) GetAvailableMemoryOk() (*string, bool) { if o == nil || o.AvailableMemory == nil { return nil, false } return o.AvailableMemory, true }
[ 0.4402967393398285, -0.003835981013253331, 0.20217129588127136, -0.20939324796199799, -0.2637036442756653, 0.45724281668663025, 0.4733544886112213, 0.7886444330215454, 0.18241433799266815, 0.5510871410369873, -0.9410008192062378, -0.5300474762916565, -0.3054141104221344, 0.8660407662391663...