text
stringlengths
11
6.3k
embedding
listlengths
768
768
func (o *HclFirmware) GetDriverName() string { if o == nil || o.DriverName == nil { var ret string return ret } return *o.DriverName }
[ -0.50835782289505, -0.11492390930652618, 0.2545616924762726, 1.2716444730758667, -0.09938545525074005, -0.8610296845436096, 0.30973541736602783, 0.06529384851455688, 0.41996684670448303, 0.10356830805540085, -0.027357889339327812, -2.065586805343628, -1.3074568510055542, 1.084530234336853,...
func (o *HclFirmware) GetDriverNameOk() (*string, bool) { if o == nil || o.DriverName == nil { return nil, false } return o.DriverName, true }
[ -1.0739223957061768, -0.08454366028308868, 0.43050986528396606, 0.20203767716884613, -0.0229744054377079, -0.6662660241127014, 0.29852724075317383, 0.7086025476455688, 0.3116927444934845, 0.2923438847064972, -0.3877831995487213, -0.8417887091636658, -0.7247493863105774, 0.761444091796875, ...
func (o *HclFirmware) HasDriverName() bool { if o != nil && o.DriverName != nil { return true } return false }
[ -0.0847930982708931, -0.2969885468482971, 0.11510197073221207, 0.19976834952831268, 0.3805559575557709, -1.0117467641830444, 0.12317939102649689, 0.8460218906402588, -0.07505092769861221, -0.15130524337291718, -0.5409814119338989, -1.6199305057525635, -1.163820505142212, 1.0415621995925903...
func (o *HclFirmware) SetDriverName(v string) { o.DriverName = &v }
[ -0.20862355828285217, -0.46197184920310974, -0.404855877161026, 0.4965800642967224, -0.7375264763832092, -1.0361926555633545, 0.03156369924545288, -0.44075146317481995, -0.2602047026157379, 0.5161145329475403, -0.15362519025802612, -0.13287492096424103, -1.0993096828460693, 0.3007391691207...
func (o *HclFirmware) GetDriverVersion() string { if o == nil || o.DriverVersion == nil { var ret string return ret } return *o.DriverVersion }
[ -0.38733991980552673, -0.735784649848938, 0.07486860454082489, 0.8436353802680969, 0.13547749817371368, -0.46852394938468933, 0.7517653107643127, -0.09591860324144363, 0.5700101852416992, -0.18705835938453674, -0.581352949142456, -1.5512869358062744, -1.3098058700561523, 1.0568175315856934...
func (o *HclFirmware) GetDriverVersionOk() (*string, bool) { if o == nil || o.DriverVersion == nil { return nil, false } return o.DriverVersion, true }
[ -0.7838656902313232, -1.2963310480117798, 0.04878009855747223, 0.5179231762886047, -0.3491111099720001, -0.8364475965499878, 0.8024301528930664, 0.79600590467453, -0.3138943016529083, 1.210021734237671, -1.2993110418319702, -1.358020544052124, -0.15654334425926208, 0.6481277942657471, 0....
func (o *HclFirmware) HasDriverVersion() bool { if o != nil && o.DriverVersion != nil { return true } return false }
[ -0.36480021476745605, -0.963172972202301, -0.17906641960144043, 0.22827035188674927, 0.4706926643848419, -1.290500283241272, 0.2917197346687317, 0.7026525139808655, -0.21613892912864685, -0.32131654024124146, -1.03612220287323, -1.6486741304397583, -0.7984657883644104, 1.193739652633667, ...
func (o *HclFirmware) SetDriverVersion(v string) { o.DriverVersion = &v }
[ 0.058177608996629715, -1.3063074350357056, -0.27393829822540283, -0.0778859555721283, -0.29740872979164124, -0.9194948077201843, 0.25644609332084656, -0.2766903042793274, -0.3432479202747345, 0.20792873203754425, -0.6828232407569885, 0.03431834280490875, -1.191526174545288, 0.4384855628013...
func (o *HclFirmware) GetFirmwareVersion() string { if o == nil || o.FirmwareVersion == nil { var ret string return ret } return *o.FirmwareVersion }
[ 0.12826521694660187, 0.47165900468826294, 0.028858045116066933, 1.3440715074539185, -0.18337585031986237, -0.9465702772140503, 0.95806485414505, -0.05484612286090851, 0.707314670085907, -0.5366116166114807, -0.6377267241477966, -1.6338791847229004, -0.7554260492324829, 2.0039196014404297, ...
func (o *HclFirmware) GetFirmwareVersionOk() (*string, bool) { if o == nil || o.FirmwareVersion == nil { return nil, false } return o.FirmwareVersion, true }
[ -0.20524419844150543, 0.3582180142402649, 0.03279862180352211, 1.2269929647445679, -0.23234762251377106, -0.7887993454933167, 1.2906872034072876, 0.9931122064590454, -0.2790716588497162, 0.8122679591178894, -1.212310791015625, -1.6659176349639893, -0.0659150779247284, 1.6607271432876587, ...
func (o *HclFirmware) HasFirmwareVersion() bool { if o != nil && o.FirmwareVersion != nil { return true } return false }
[ 0.13792848587036133, 0.7136456370353699, -0.1954384744167328, 0.7802479863166809, 0.5691243410110474, -1.6501882076263428, 0.5082314610481262, 0.40608224272727966, 0.01187386829406023, -0.8511226177215576, -1.1882926225662231, -1.9385501146316528, -0.22364327311515808, 2.166348695755005, ...
func (o *HclFirmware) SetFirmwareVersion(v string) { o.FirmwareVersion = &v }
[ 0.17870835959911346, -0.10246213525533676, -0.34667396545410156, 0.36374378204345703, -0.2450806051492691, -1.112432837486267, 0.38136836886405945, -0.6805647611618042, -0.26856622099876404, -0.21145032346248627, -0.5462093949317932, -0.14832253754138947, -0.7765867114067078, 0.95128709077...
func (o *HclFirmware) GetId() string { if o == nil || o.Id == nil { var ret string return ret } return *o.Id }
[ 1.2158840894699097, 0.21225528419017792, 0.24269264936447144, 1.3527069091796875, 0.49527350068092346, 0.4215719997882843, 1.0558607578277588, -0.36990153789520264, 1.833377480506897, -0.45782947540283203, -0.08173304051160812, -1.3536657094955444, -1.0958480834960938, 1.189332365989685, ...
func (o *HclFirmware) GetIdOk() (*string, bool) { if o == nil || o.Id == nil { return nil, false } return o.Id, true }
[ -0.4851865768432617, 0.7049530148506165, 0.36152374744415283, 1.3607200384140015, 0.517156183719635, 0.18579068779945374, 0.8570913076400757, 0.6045709252357483, 1.0517165660858154, -0.2974492609500885, -0.9656937718391418, -0.6214178800582886, -0.3630605936050415, 0.4395323693752289, 0....
func (o *HclFirmware) HasId() bool { if o != nil && o.Id != nil { return true } return false }
[ 1.3622015714645386, 0.046303343027830124, 0.2888389229774475, 1.0743335485458374, 0.6305747032165527, 0.8709478378295898, 0.4202329218387604, 0.6278583407402039, 1.5573095083236694, -0.7965423464775085, -0.49154573678970337, -0.9851983189582825, -0.9427780508995056, 0.7720998525619507, 0...
func (o *HclFirmware) SetId(v string) { o.Id = &v }
[ 1.1592073440551758, -0.1093280166387558, -0.34618493914604187, 0.47066327929496765, -0.37663665413856506, 0.5511361360549927, -0.01348648127168417, -0.46730947494506836, 1.0787169933319092, -0.08524811267852783, -0.141821950674057, 0.5456962585449219, -1.0370762348175049, 0.535404860973358...
func (o *HclFirmware) GetLatestDriver() bool { if o == nil || o.LatestDriver == nil { var ret bool return ret } return *o.LatestDriver }
[ -0.9168592095375061, -0.5774118304252625, 0.677087128162384, 0.6092285513877869, 0.18550342321395874, -0.10072951018810272, -0.08579001575708389, 0.13397011160850525, 0.20170608162879944, 0.003556053154170513, -0.14565831422805786, -1.5944730043411255, -1.2198498249053955, 1.08713221549987...
func (o *HclFirmware) GetLatestDriverOk() (*bool, bool) { if o == nil || o.LatestDriver == nil { return nil, false } return o.LatestDriver, true }
[ -0.8998757600784302, 0.011489014141261578, 0.528788149356842, 0.8850522041320801, 0.15809567272663116, -0.2292523831129074, 0.17019134759902954, 0.7393837571144104, 0.15993958711624146, 0.17376808822155, -0.2867015600204468, -0.9688248038291931, -0.6856508255004883, 1.0056880712509155, 0...
func (o *HclFirmware) HasLatestDriver() bool { if o != nil && o.LatestDriver != nil { return true } return false }
[ -0.6297662854194641, -0.7626557350158691, 0.40109753608703613, 0.17592385411262512, 0.9084206819534302, -0.8732762932777405, -0.7142261266708374, 0.7997348308563232, -0.09924250841140747, -0.3423171639442444, -0.19967497885227203, -1.364274501800537, -0.20940609276294708, 1.653755187988281...
func (o *HclFirmware) SetLatestDriver(v bool) { o.LatestDriver = &v }
[ -0.45820334553718567, -0.18130993843078613, -0.07385429739952087, 0.18294702470302582, 0.26402896642684937, -0.3498339354991913, -0.2307351529598236, -0.27162861824035645, -0.44431760907173157, 0.31606003642082214, 0.05017932876944542, -0.6287611722946167, -0.9180136919021606, 1.0632971525...
func (o *HclFirmware) GetLatestFirmware() bool { if o == nil || o.LatestFirmware == nil { var ret bool return ret } return *o.LatestFirmware }
[ -0.19349557161331177, 0.5533629059791565, 0.5029414892196655, 1.1008130311965942, -0.056112226098775864, -0.21504166722297668, 0.3584482669830322, -0.10902045667171478, 0.42352014780044556, -0.8256824016571045, -0.4457547068595886, -1.5058691501617432, -1.064108967781067, 1.717612147331237...
func (o *HclFirmware) GetLatestFirmwareOk() (*bool, bool) { if o == nil || o.LatestFirmware == nil { return nil, false } return o.LatestFirmware, true }
[ -0.6299120187759399, 0.03063424676656723, 0.5607863664627075, 0.8939791917800903, -0.12124451249837875, 0.1988401710987091, 0.8763079047203064, 0.18416272103786469, -0.17079001665115356, 0.14804710447788239, -0.7487413287162781, -1.3209919929504395, -0.1404954195022583, 1.6336133480072021,...
func (o *HclFirmware) HasLatestFirmware() bool { if o != nil && o.LatestFirmware != nil { return true } return false }
[ -0.04165573790669441, 0.5896557569503784, 0.2436821460723877, 0.5685349702835083, 0.5416507124900818, -0.7005877494812012, 0.007952514104545116, 0.03724215552210808, -0.11291863769292831, -0.9737807512283325, -0.5600452423095703, -1.3145536184310913, -0.03800135478377342, 2.068236112594604...
func (o *HclFirmware) SetLatestFirmware(v bool) { o.LatestFirmware = &v }
[ -0.14187809824943542, 0.717808723449707, -0.11415201425552368, 0.3941061496734619, 0.154753640294075, -0.28489604592323303, 0.08051538467407227, -0.7602534890174866, -0.1840459555387497, -0.34966927766799927, -0.35962870717048645, -0.737088143825531, -0.630397379398346, 1.2294102907180786,...
func LoggingHooks() *twirp.ServerHooks { return &twirp.ServerHooks{ RequestReceived: func(ctx context.Context) (context.Context, error) { start := time.Now() id := uuid.New() ctx = context.WithValue(ctx, timeKey, start) ctx = context.WithValue(ctx, idKey, id) return ctx, nil }, RequestRouted: func...
[ -0.4496481716632843, -1.1221075057983398, 0.8674147725105286, -1.0289530754089355, -0.17559924721717834, 0.13250963389873505, -0.12115991115570068, -0.6079111099243164, 0.39852452278137207, -0.5220078825950623, -0.454387366771698, -0.047242309898138046, -0.49572882056236267, -0.17068272829...
func LoggingHooksWithExceptions(exceptions ...LoggingException) *twirp.ServerHooks { return &twirp.ServerHooks{ RequestReceived: func(ctx context.Context) (context.Context, error) { start := time.Now() id := uuid.New() ctx = context.WithValue(ctx, timeKey, start) ctx = context.WithValue(ctx, idKey, id) ...
[ -0.24780166149139404, -0.7286606431007385, 0.9250534772872925, -0.7810187935829163, -0.33323681354522705, -0.32256144285202026, -0.1818908005952835, -0.593653678894043, 0.39627575874328613, -0.42611271142959595, 0.033299755305051804, -0.2640962600708008, -0.4148043990135193, -0.26076281070...
func SetHomeDir(root string) { Path.homeDir = root }
[ 0.9173407554626465, -0.3945668041706085, 0.6510442495346069, 0.8934541344642639, -1.047213077545166, 0.8927443623542786, -0.01044464111328125, 0.43924009799957275, 0.4800250828266144, -0.6147701740264893, -0.14117541909217834, 0.8720530271530151, 0.14723429083824158, 1.5982427597045898, ...
func SetConfig(file string) { Path.configFile = file }
[ 0.9153575897216797, -0.3952394425868988, 0.12448690086603165, 0.8640403151512146, 0.25897759199142456, 1.3003149032592773, 1.3560030460357666, 1.8166378736495972, -1.6421854496002197, 0.507001519203186, -0.7598263025283813, -0.5932273268699646, 0.9374476671218872, 1.135799765586853, 0.03...
func (p *path) Resolve(path string) string { if !filepath.IsAbs(path) { return filepath.Join(p.HomeDir(), path) } return path }
[ 0.510522723197937, 0.13598324358463287, 0.6639761924743652, 0.916027843952179, -0.18241514265537262, 0.685877799987793, -0.7671900391578674, -0.6096358895301819, -0.25679343938827515, -0.7164589762687683, 0.7640070915222168, -0.7201185822486877, -0.6826795935630798, 0.2606779932975769, -...
func (p *path) IsSubPath(path string) bool { homedir := p.HomeDir() path = p.Resolve(path) rel, err := filepath.Rel(homedir, path) if err != nil { return false } return !strings.Contains(rel, "..") }
[ 0.2041102945804596, -0.20564031600952148, 0.4181213080883026, 0.7904502749443054, -0.1663815677165985, 0.3461644947528839, 0.5057134032249451, -0.3188389539718628, 0.9114531874656677, -0.47255998849868774, -0.5223096609115601, -0.15559275448322296, -0.9663617610931396, -0.6750830411911011,...
func (e Error) Bytes() ([]byte, error) { return e.Base.Bytes(&e) }
[ -0.8385215997695923, -0.2063395082950592, 0.30838799476623535, -0.1123584732413292, 0.5482804179191589, 0.20210914313793182, -1.2327873706817627, -0.4645403325557709, 1.1814897060394287, -0.42406195402145386, -0.316323846578598, 1.1856343746185303, 0.3457534909248352, 0.5598656535148621, ...
func (e Error) FromBytes(b []byte) error { return e.Base.FromBytes(b, &e) }
[ 0.147840678691864, -0.38731372356414795, 0.3025364875793457, 0.2092776745557785, -0.12711626291275024, 0.004432864487171173, -0.17019164562225342, 0.7395343780517578, 1.3284605741500854, 0.1027718335390091, -0.09872332215309143, 0.5196928977966309, 0.030797282233834267, -0.0550732426345348...
func (message *Message) HasAttachments() bool { return message.GetInteger(3591) & 0x10 != 0 }
[ 0.2708541750907898, 0.779384195804596, 0.6983016729354858, -0.11086223274469376, -0.3068859875202179, 0.3687596321105957, 0.7920388579368591, -0.40818536281585693, 0.5328445434570312, -0.9348148703575134, -0.023176241666078568, 0.014116675592958927, -0.9527584910392761, 1.3130172491073608,...
func (pstFile *File) GetAttachmentsTableContext(message *Message, formatType string, encryptionType string) ([][]TableContextItem, error) { if len(message.AttachmentsTableContext) == 0 { // Initialize the attachments table context. attachmentsLocalDescriptor, err := FindLocalDescriptor(message.LocalDescriptors, 16...
[ 0.21373765170574188, -0.2522020637989044, 0.8327498435974121, 0.014514810405671597, 0.2069372683763504, -0.33164653182029724, 0.19799816608428955, -0.7168176174163818, -0.32894572615623474, -0.08282477408647537, 0.4648280739784241, 0.7262367606163025, 0.11137132346630096, 0.669216930866241...
func (pstFile *File) GetAttachmentsCount(message *Message, formatType string, encryptionType string) (int, error) { attachmentsTableContext, err := pstFile.GetAttachmentsTableContext(message, formatType, encryptionType) if err != nil { return -1, err } return len(attachmentsTableContext), nil }
[ -0.15539026260375977, 0.3058503270149231, 0.6719428896903992, 0.29120072722435, -0.2955395579338074, -0.30794936418533325, 0.6796581149101257, -0.6015836596488953, -0.7578175067901611, -0.2613352835178375, 0.29137903451919556, 0.3915427327156067, -0.7625100016593933, 0.4327336549758911, ...
func (pstFile *File) GetAttachment(message *Message, attachmentNumber int, formatType string, encryptionType string) (Attachment, error) { if !message.HasAttachments() { return Attachment{}, nil } attachmentsTableContext, err := pstFile.GetAttachmentsTableContext(message, formatType, encryptionType) if err != n...
[ 0.6940441131591797, -0.43506792187690735, 0.9357240796089172, 0.06509698927402496, 0.43832358717918396, -0.4875194728374481, 0.6423261761665344, -0.3228697180747986, -0.01780075952410698, -0.6643083691596985, 0.8966269493103027, 0.943435549736023, -0.11855213344097137, 0.816746175289154, ...
func (pstFile *File) GetAttachments(message *Message, formatType string, encryptionType string) ([]Attachment, error) { if !message.HasAttachments() { return nil, nil } attachmentsTableContext, err := pstFile.GetAttachmentsTableContext(message, formatType, encryptionType) if err != nil { return nil, err } ...
[ -0.1631690412759781, -0.03613787516951561, 0.6827972531318665, 1.1483650207519531, 0.5482426881790161, -0.2340371459722519, -0.0439838245511055, -1.0527619123458862, -0.45095348358154297, -0.4294329285621643, 0.5133012533187866, 0.7738557457923889, -1.3225494623184204, 1.3357785940170288, ...
func (attachment *Attachment) GetString(propertyID int) string { propertyContextItem, err := FindPropertyContextItem(attachment.PropertyContext, propertyID) if err != nil { return "" } return BytesToString(propertyContextItem.Data) }
[ 0.5396833419799805, -0.8253527283668518, 0.6644627451896667, 0.10928044468164444, -0.4711241126060486, 0.18495525419712067, -0.45126989483833313, -1.629645586013794, 1.0126787424087524, -0.07338696718215942, 0.9222723841667175, 0.44457361102104187, -0.39221128821372986, -0.9372400641441345...
func (attachment *Attachment) GetFilename() string { return attachment.GetString(14084) }
[ 0.5978037118911743, -0.8945804238319397, 0.581337034702301, 0.039144374430179596, 0.05349905416369438, -0.326676607131958, 0.48827505111694336, -0.03431422635912895, 0.520662248134613, -0.4234774112701416, 0.9617733955383301, -0.08254720270633698, 0.4244072139263153, -0.6049354076385498, ...
func (attachment *Attachment) GetLongFilename() string { return attachment.GetString(14087) }
[ 0.6988734006881714, -0.03673151880502701, 0.7969639897346497, -0.5983490347862244, 0.11988640576601028, -0.1884966641664505, -0.3848287761211395, 0.6717783212661743, 0.34927085041999817, -0.8397639393806458, -0.4655849039554596, -0.0032266336493194103, 0.7609526515007019, -0.33857843279838...
func (pstFile *File) GetAttachmentInputStream(attachment Attachment, formatType string, encryptionType string) (HeapOnNodeInputStream, error) { attachmentInputStreamPropertyContextItem, err := FindPropertyContextItem(attachment.PropertyContext, 14081) if err != nil { return HeapOnNodeInputStream{}, err } if att...
[ 0.041406482458114624, -0.8820031881332397, 0.8862370848655701, 0.06130640208721161, -0.6501485705375671, 0.08690378814935684, 0.08883073180913925, -0.5389355421066284, 0.3587345480918884, -0.765819251537323, 1.1261200904846191, 0.9182090163230896, -0.5357716083526611, 0.7612112760543823, ...
func (pstFile *File) WriteAttachmentToFile(attachment Attachment, outputPath string, formatType string, encryptionType string) error { attachmentInputStream, err := pstFile.GetAttachmentInputStream(attachment, formatType, encryptionType) if err != nil { return err } currentOffset := 0 var outputBuffer []byte ...
[ 0.14935268461704254, -1.1437393426895142, 0.9087945222854614, 0.06932689249515533, 0.48935961723327637, 0.20343105494976044, 1.0771745443344116, -0.6748960018157959, -0.36719784140586853, 0.2675613462924957, -0.07917160540819168, -0.05774829164147377, -0.03508678823709488, 0.10418074578046...
func AlertAggrViewDel(ids []int64, createBy ...interface{}) error { if len(ids) == 0 { return nil } if len(createBy) > 0 { return DB().Where("id in ? and create_by = ?", ids, createBy).Delete(new(AlertAggrView)).Error } return DB().Where("id in ?", ids).Delete(new(AlertAggrView)).Error }
[ -0.06835109740495682, 0.06738653779029846, 0.8425197601318359, 1.082497239112854, -0.3362843096256256, -0.21347901225090027, 0.1326655149459839, 0.38478678464889526, -0.10234538465738297, 0.46845999360084534, 1.1352381706237793, 0.8983489274978638, 0.438116192817688, 0.43999144434928894, ...
func HubRouteTableRouteID(input string) (*HubRouteTableRouteId, error) { id, err := resourceids.ParseAzureResourceID(input) if err != nil { return nil, err } resourceId := HubRouteTableRouteId{ SubscriptionId: id.SubscriptionID, ResourceGroup: id.ResourceGroup, } if resourceId.SubscriptionId == "" { re...
[ 0.45290324091911316, -0.5743708610534668, 0.5478193163871765, 0.11406243592500687, -0.32549893856048584, 0.06190834939479828, 1.045905590057373, 0.4946727156639099, 0.18383273482322693, 0.9519268274307251, 0.45126116275787354, -0.35339608788490295, -0.38843631744384766, 0.6405289769172668,...
func Open(origin file) (*EmbedFs, error) { stat, err := origin.Stat() if err != nil { return nil, err } footprint := embedFsFootprint{} _, err = origin.Seek(-int64(binary.Size(footprint)), os.SEEK_END) if err != nil { return nil, err } err = binary.Read(origin, binary.BigEndian, &footprint) if err != nil...
[ -0.1990075260400772, -0.3910059332847595, 0.8117498159408569, -0.46352508664131165, -0.8473963737487793, 0.6842043399810791, 0.7976669073104858, 0.6793857216835022, -0.16052739322185516, -0.6394885778427124, -0.1172594502568245, 0.16206365823745728, 0.05960125848650932, -0.4596934616565704...
func Truncate(origin file) error { fs, err := Open(origin) if err != nil { return err } return origin.Truncate(fs.offset) }
[ 0.1544044464826584, 0.021999957039952278, 0.6068649291992188, -0.46022453904151917, -0.035776201635599136, 0.75905442237854, 0.20482900738716125, 0.6265901923179626, -0.97310870885849, 0.04685908555984497, -0.06404729187488556, 0.2217874675989151, 0.05716703087091446, -0.46387171745300293,...
func Create(origin file) (*Embedder, error) { currentSeek, err := origin.Seek(0, os.SEEK_CUR) if err != nil { return nil, err } return &Embedder{ writer: tar.NewWriter(origin), offset: currentSeek, origin: origin, }, nil }
[ 0.4494202733039856, -0.4366971552371979, 0.3650955855846405, 0.020062671974301338, -0.5428892374038696, 1.0842655897140503, 0.036799732595682144, 0.2524014413356781, -1.107105016708374, -0.585381269454956, 0.18658800423145294, -0.6519374251365662, 0.047825634479522705, 1.0358798503875732, ...
func (e Embedder) EmbedFile(path string, target string) error { stat, err := os.Stat(path) if err != nil { return err } tarHeader, err := tar.FileInfoHeader(stat, "") if err != nil { return err } tarHeader.Name = filepath.Join("/", target) e.writer.WriteHeader(tarHeader) if err != nil { return err } ...
[ 0.5144070982933044, 0.09763869643211365, 0.9185951352119446, -0.5312336087226868, 0.25435250997543335, 1.264869213104248, 0.6141103506088257, 0.8495202660560608, -0.5740251541137695, 0.8815941214561462, -0.0558936633169651, -0.36691683530807495, 0.025075683370232582, -0.7688494324684143, ...
func (e Embedder) EmbedDirectory(root, prefix string) error { return filepath.Walk(root, func(path string, info os.FileInfo, err error) error { if err != nil { return err } if info.IsDir() { return nil } return e.EmbedFile(path, filepath.Join(prefix, strings.TrimPrefix(path, root))) },...
[ -0.015835152938961983, -0.2566593885421753, 0.8168966770172119, -0.06101011112332344, 0.017027519643306732, -0.03037491999566555, 0.7848270535469055, 0.11357145011425018, 0.793350338935852, -0.08050450682640076, 0.2414783239364624, 0.4139706790447235, 0.1192404180765152, 0.7920622825622559...
func (e Embedder) Close() error { err := e.writer.Close() if err != nil { return err } err = binary.Write(e.origin, binary.BigEndian, embedFsFootprint{ signature, e.offset, }) return err }
[ 0.03948096185922623, 0.07589338719844818, 0.6383150815963745, 0.24445100128650665, -0.12023690342903137, 0.6828191876411438, 0.8254576325416565, 0.21077948808670044, -0.7624379396438599, -0.48462536931037903, 0.24719516932964325, -0.43063241243362427, -0.9929047226905823, 1.492483377456665...
func (fs *EmbedFs) Open(path string) (file, error) { path = filepath.Join("/", path) if !fs.IsFileExist(path) { return nil, ErrNoExist } return &embedFileReader{ start: fs.index[path].offset, length: fs.index[path].header.Size, source: fs.origin, name: path, }, nil }
[ -0.1884501427412033, -0.5373739004135132, 0.6779022216796875, -0.6628608703613281, -0.9722623825073242, 0.4376707375049591, 0.584408700466156, 0.3676125705242157, -0.0986979529261589, -0.49152088165283203, -0.007675232831388712, -0.31970399618148804, -0.40256357192993164, -0.81690567731857...
func (fs EmbedFs) ListDir(path string) ([]string, error) { result := []string{} for _, entry := range fs.files { rootName := filepath.Join("/", entry.name) if strings.HasPrefix(rootName, filepath.Join(path, "/")) { result = append(result, entry.name) } } return result, nil }
[ -0.16144424676895142, -1.1241629123687744, 0.8499217629432678, 0.8317825198173523, -1.0183025598526, -0.2067802995443344, 0.09002522379159927, 0.37613487243652344, 0.812873125076294, 0.10440772771835327, 0.2653266489505768, 0.004973735194653273, -0.21620219945907593, 1.7012019157409668, ...
func (fs *EmbedFs) IsFileExist(path string) bool { _, exist := fs.index[path] return exist }
[ -0.5846248269081116, -0.5668330192565918, 0.5312367081642151, 0.26315873861312866, 0.8623198866844177, 0.1701720803976059, -0.17060919106006622, 0.4386852979660034, 0.1162751093506813, 0.618639349937439, -0.43271875381469727, -1.0319509506225586, -0.5372216105461121, -0.4231635630130768, ...
func (fs *EmbedFs) Create(path string) (file, error) { return nil, ErrNotAvail }
[ 0.07832330465316772, -0.271717369556427, 0.39733800292015076, 0.37498486042022705, -0.33077627420425415, 0.358905553817749, -0.010033995844423771, -0.393204003572464, -0.6860281229019165, -0.8504205346107483, -0.20645584166049957, -0.9909045696258545, -0.1494373381137848, -0.13497291505336...
func (fs EmbedFs) TempFile() (file, error) { return nil, ErrNotAvail }
[ 0.33157071471214294, -0.2876433730125427, 0.44467929005622864, 0.08251054584980011, 0.4049927890300751, -0.014821616932749748, -0.08315742015838623, 0.5766642689704895, 0.20686687529087067, -0.3442182242870331, -0.5750463604927063, -1.0822104215621948, -0.3269059956073761, 0.06114644929766...
func (fs *EmbedFs) Move(from string, to string) error { return ErrNotAvail }
[ -0.7865463495254517, -1.1144990921020508, 0.37981367111206055, 0.4434652626514435, -0.444375216960907, 0.35760289430618286, -0.4166368544101715, -0.02990429475903511, -0.7329995036125183, -0.28641611337661743, -0.35420915484428406, 0.04857589304447174, -0.26360294222831726, -0.906194210052...
func (fs *EmbedFs) Close() error { return fs.origin.Close() }
[ -0.1553374081850052, -0.8637234568595886, 0.46497711539268494, 0.3165261149406433, -0.7989822030067444, 0.8848086595535278, 0.5290815830230713, 0.5282366275787354, -0.5268596410751343, -1.238502860069275, 0.18823963403701782, 0.0733209103345871, -0.891403079032898, 0.11986587196588516, -...
func (reader *embedFileReader) Read(b []byte) (int, error) { rest := reader.length - reader.offset if rest <= 0 { return 0, io.EOF } n, err := reader.source.ReadAt(b, reader.start+reader.offset) if rest < int64(n) { reader.offset += int64(rest) return int(rest), err } else { reader.offset += int64(n) ...
[ -0.43632927536964417, -0.35337966680526733, 0.7417280077934265, -0.47552382946014404, -0.501011312007904, 0.4223093092441559, 0.8211889863014221, 0.7595096826553345, -0.22691331803798676, -0.06233443319797516, -0.34802260994911194, 0.11623696982860565, -0.840245246887207, -0.09666097164154...
func (reader *embedFileReader) Write(b []byte) (int, error) { return 0, ErrNotAvail }
[ -1.0483413934707642, -0.18960441648960114, 0.5294028520584106, 0.5283211469650269, 0.6294531226158142, 0.5102906823158264, 0.6870346665382385, 1.0068691968917847, -0.4871079623699188, 0.21392342448234558, -0.897939145565033, -0.9410697817802429, -1.101386547088623, 0.29361873865127563, -...
func (reader *embedFileReader) Name() string { return reader.name }
[ -0.18229755759239197, -1.6331355571746826, 0.5031335949897766, -0.3203663229942322, -0.8342139720916748, 0.5855832099914551, 0.17888809740543365, 0.20981568098068237, -0.7582127451896667, 0.2455972135066986, -0.0003570995759218931, -0.580134391784668, -0.60384601354599, -0.3457790017127991...
func (reader *embedFileReader) Close() error { return reader.source.Close() }
[ 0.2257573902606964, -0.5626674294471741, 0.3668440580368042, -0.5577194094657898, -0.5964910387992859, 0.7482683062553406, 0.2579108774662018, 0.4718344807624817, -0.8245416879653931, -0.6987585425376892, -0.008697650395333767, -0.41121360659599304, -1.3824955224990845, 0.2362726628780365,...
func (reader *embedFileReader) ReadAt(p []byte, off int64) (int, error) { return 0, ErrNotImplemented }
[ -0.5944164395332336, -1.0697323083877563, 0.6067087650299072, -0.9729404449462891, -0.5681968331336975, 1.0408109426498413, -0.13450156152248383, 0.24942591786384583, -0.9522795081138611, -0.06890431046485901, 0.04256309196352959, -0.30518198013305664, -0.45612698793411255, -0.311038345098...
func (reader *embedFileReader) Seek(offset int64, whence int) (int64, error) { return 0, ErrNotImplemented }
[ -0.6831637620925903, -0.3608083426952362, 0.5022704601287842, -0.3961993157863617, -0.21898676455020905, 0.6000283360481262, 0.8919709920883179, 0.05640505626797676, -0.46036309003829956, -0.8744122385978699, -0.15449385344982147, -0.25229117274284363, -0.7031444907188416, -0.2294801622629...
func (reader *embedFileReader) Stat() (os.FileInfo, error) { return nil, ErrNotImplemented }
[ 0.3706344962120056, -1.6445916891098022, 0.44939231872558594, -0.6774410605430603, -0.0745958760380745, 0.06632967293262482, 0.7276887893676758, 0.12020141631364822, -0.2685125172138214, -1.1217421293258667, -0.6240631341934204, -0.3623097240924835, -0.18800388276576996, 0.6895998120307922...
func (reader *embedFileReader) Truncate(int64) error { return ErrNotAvail }
[ -0.303964763879776, 0.24830608069896698, 0.47291314601898193, 0.4452226161956787, 0.35010725259780884, -0.04992544278502464, 0.2800646722316742, -0.36610129475593567, -0.5677720308303833, 0.07019312679767609, -0.1261419951915741, -0.2782514989376068, -0.9213007688522339, 0.1794920265674591...
func NewTransitRouterPrefixListAssociation(ctx *pulumi.Context, name string, args *TransitRouterPrefixListAssociationArgs, opts ...pulumi.ResourceOption) (*TransitRouterPrefixListAssociation, error) { if args == nil { return nil, errors.New("missing one or more required arguments") } if args.NextHop == nil { r...
[ -1.0697815418243408, 0.44665729999542236, 0.12799301743507385, -0.49226632714271545, -0.5291012525558472, -0.4151347875595093, 0.1324029117822647, 0.15600094199180603, -0.36410877108573914, 1.4431692361831665, -0.7007878422737122, -1.4449878931045532, -0.4900437295436859, 0.893164455890655...
func GetTransitRouterPrefixListAssociation(ctx *pulumi.Context, name string, id pulumi.IDInput, state *TransitRouterPrefixListAssociationState, opts ...pulumi.ResourceOption) (*TransitRouterPrefixListAssociation, error) { var resource TransitRouterPrefixListAssociation err := ctx.ReadResource("alicloud:cen/transitRo...
[ -0.9868103861808777, -0.00043836768600158393, 0.35093605518341064, -0.9409595131874084, 0.019009333103895187, -0.47748658061027527, -0.10043291747570038, -0.08629321306943893, 0.8137415051460266, 1.357067584991455, -0.3796895444393158, -0.5519133806228638, -0.15967506170272827, -0.02570852...
func (o TransitRouterPrefixListAssociationOutput) NextHop() pulumi.StringOutput { return o.ApplyT(func(v *TransitRouterPrefixListAssociation) pulumi.StringOutput { return v.NextHop }).(pulumi.StringOutput) }
[ -0.5416969060897827, 0.26698750257492065, 0.44649258255958557, 0.2108902633190155, -0.3090529143810272, 1.11333167552948, 0.3304615318775177, 0.10846459120512009, 1.1420425176620483, 0.5655193328857422, 0.604849100112915, 0.16761241853237152, 0.6243589520454407, -0.896265983581543, 0.328...
func (o TransitRouterPrefixListAssociationOutput) NextHopType() pulumi.StringOutput { return o.ApplyT(func(v *TransitRouterPrefixListAssociation) pulumi.StringOutput { return v.NextHopType }).(pulumi.StringOutput) }
[ -0.44791480898857117, 0.5097869634628296, 0.4509194493293762, 0.208829864859581, -0.15790097415447235, 0.9776179790496826, 0.3006129860877991, -0.1923121064901352, 1.1213773488998413, 0.4273422360420227, 0.4556658864021301, 0.21583880484104156, 0.4389001131057739, -0.3750436007976532, 0....
func (o TransitRouterPrefixListAssociationOutput) OwnerUid() pulumi.IntOutput { return o.ApplyT(func(v *TransitRouterPrefixListAssociation) pulumi.IntOutput { return v.OwnerUid }).(pulumi.IntOutput) }
[ -0.12395821511745453, -0.15892769396305084, 0.4675818085670471, 0.2216256558895111, 0.7314969301223755, 0.6371369361877441, 0.9248090386390686, 0.643487811088562, 0.8583372831344604, -0.8737507462501526, 0.20884546637535095, 1.142952799797058, 0.4043036103248596, -1.0828267335891724, -0....
func (o TransitRouterPrefixListAssociationOutput) PrefixListId() pulumi.StringOutput { return o.ApplyT(func(v *TransitRouterPrefixListAssociation) pulumi.StringOutput { return v.PrefixListId }).(pulumi.StringOutput) }
[ 0.2744210362434387, 0.07774699479341507, 0.31328627467155457, -0.07669506967067719, 0.3257656693458557, 1.0576553344726562, 0.17693665623664856, 0.5410951972007751, 1.426795482635498, 0.979768693447113, -0.448382705450058, 0.29240351915359497, 0.12398109585046768, 0.07312300056219101, -0...
func (o TransitRouterPrefixListAssociationOutput) Status() pulumi.StringOutput { return o.ApplyT(func(v *TransitRouterPrefixListAssociation) pulumi.StringOutput { return v.Status }).(pulumi.StringOutput) }
[ -0.19667397439479828, -0.3640379309654236, 0.21230526268482208, -0.5987564325332642, 0.45056331157684326, 0.998436689376831, 0.2445148527622223, 1.051018238067627, 0.8197559118270874, 0.8246658444404602, -0.4048762023448944, 0.42764049768447876, 0.5932995676994324, -0.3628370761871338, -...
func (o TransitRouterPrefixListAssociationOutput) TransitRouterId() pulumi.StringOutput { return o.ApplyT(func(v *TransitRouterPrefixListAssociation) pulumi.StringOutput { return v.TransitRouterId }).(pulumi.StringOutput) }
[ -0.45569974184036255, -0.10038194805383682, 0.1852172464132309, -0.6153732538223267, 0.42683249711990356, 0.8072107434272766, 0.27756810188293457, 0.8083357810974121, 0.5133913159370422, 1.050471544265747, -0.3206148147583008, 0.14240774512290955, 0.05984432250261307, 0.044038526713848114,...
func (o TransitRouterPrefixListAssociationOutput) TransitRouterTableId() pulumi.StringOutput { return o.ApplyT(func(v *TransitRouterPrefixListAssociation) pulumi.StringOutput { return v.TransitRouterTableId }).(pulumi.StringOutput) }
[ 0.13633957505226135, 0.2867337465286255, 0.29017046093940735, -0.1886131763458252, 0.2542155981063843, 0.8778526186943054, 0.5646186470985413, 0.30219948291778564, 0.13812655210494995, 0.7760391235351562, -0.3292112946510315, 0.055038634687662125, -0.007772950921207666, -0.2004662603139877...
func EncodeSHA1(str string) string { h := sha1.New() h.Write([]byte(str)) return hex.EncodeToString(h.Sum(nil)) }
[ 0.047653451561927795, -0.3319306969642639, 0.31456810235977173, 0.6398283839225769, -0.6231451034545898, 1.1807018518447876, -0.4035396873950958, 0.5825225114822388, 0.7925879955291748, 0.8485144972801208, 0.1223585233092308, 0.5828443765640259, -0.49853456020355225, 0.14732898771762848, ...
func NewSecretToekn() string { return EncodeSHA1(uuid.NewV4().String()) }
[ -0.12568636238574982, -0.7028261423110962, 0.14005064964294434, 1.1008511781692505, 0.10979335010051727, -0.6568330526351929, -0.15528036653995514, -0.43684712052345276, 0.47521424293518066, -0.004342834465205669, -0.6737958192825317, 0.5335157513618469, 0.3409208357334137, -0.191799223423...
func Int64sToStrings(ints []int64) []string { strs := make([]string, len(ints)) for i := range ints { strs[i] = com.ToStr(ints[i]) } return strs }
[ -1.4428075551986694, -0.5520451664924622, 0.2505291998386383, -0.15236008167266846, 0.3254545331001282, 0.3179168105125427, -1.284353256225586, -0.7723212838172913, 0.318143367767334, 1.2523300647735596, 0.5881447196006775, 0.5439231395721436, -0.6336262226104736, 0.35446810722351074, -0...
func signMac(w io.Writer, name string, data string) error { // name := "projects/my-project/locations/us-east1/keyRings/my-key-ring/cryptoKeys/my-key/cryptoKeyVersions/123" // data := "my data to sign" // Create the client. ctx := context.Background() client, err := kms.NewKeyManagementClient(ctx) if err != nil ...
[ -0.379326194524765, -0.3120914697647095, 0.6110553741455078, -0.22896017134189606, -0.6777913570404053, 0.05164320766925812, -0.392802894115448, -0.18593773245811462, -0.2877854108810425, 0.04731876030564308, -0.39869746565818787, 0.4467649757862091, -0.6511203050613403, -0.192596673965454...
func MaxValue(freqMap map[string]int) int { m := 0 firstTimeThrough := true for _, value := range freqMap { if firstTimeThrough || value > m { m = value firstTimeThrough = false } } return m }
[ 0.04639025777578354, -0.20404605567455292, 0.5400103330612183, 0.19243328273296356, 0.034579288214445114, -0.18547262251377106, 0.19121584296226501, 0.21122457087039948, -0.5228338837623596, -0.3641324043273926, 0.8509597778320312, -0.6079488396644592, -0.26136285066604614, 1.2282139062881...
func FrequencyMap(text string, k int) map[string]int { freq := make(map[string]int) // range over all k-mer substrings of text for j :=0; j < len(text)-k+1; j++ { pattern := text[j:j+k] //method 1: /* // does freq[pattern] exist? _, exists := freq[pattern] //...
[ 0.49281764030456543, -0.12974034249782562, 0.8997056484222412, 0.15722405910491943, -0.20458301901817322, 0.0547691211104393, 1.0924139022827148, 0.5835444927215576, 0.2597026526927948, 0.12131863087415695, 0.07611527293920517, -0.5580807328224182, 0.007860587909817696, 0.21785220503807068...
func BoostLove(dict map[string]int) { dict["Love"] = 100 }
[ -0.412357896566391, 0.563565194606781, 0.34462255239486694, -0.36609116196632385, -0.5028507709503174, 0.18050606548786163, -1.5741022825241089, -0.1553107351064682, -0.9652207493782043, 0.16032692790031433, -1.304010272026062, -0.18479900062084198, 0.5278300642967224, 0.38023170828819275,...
func (a *baseDomain) Dependencies() []asset.Asset { return []asset.Asset{ &platform{}, } }
[ 0.10206392407417297, -0.8939746022224426, 0.26072660088539124, -0.12754248082637787, 0.4423998296260834, 0.6529210805892944, 0.7907931208610535, -0.27310362458229065, 0.07444030046463013, -0.6542150378227234, -0.7099927663803101, 0.505378246307373, 0.0657605528831482, 0.5450614094734192, ...
func (a *baseDomain) Generate(parents asset.Parents) error { platform := &platform{} parents.Get(platform) var err error switch platform.CurrentName() { case alibabacloud.Name: a.BaseDomain, err = alibabacloudconfig.GetBaseDomain() if err != nil { return err } return nil case aws.Name: a.BaseDomain,...
[ -0.4653351604938507, 0.40162354707717896, 0.7451470494270325, 0.7704308032989502, 0.1600278913974762, 0.5364516377449036, 0.6969872713088989, -0.8695207238197327, -0.2776089012622833, 0.06096058338880539, 0.05910179018974304, 0.4096221327781677, -0.3601331412792206, 0.5588972568511963, 0...
func (a *baseDomain) Name() string { return "Base Domain" }
[ -0.4231726825237274, -1.1350243091583252, 0.34063443541526794, 0.3117485046386719, -0.5118975639343262, 0.8093000650405884, 0.34862372279167175, -0.23111401498317719, 0.22672028839588165, 0.24895811080932617, -0.5012711882591248, 0.9922651648521423, 0.09409695863723755, 0.18808840215206146...
func main() { //Enter your code here. Read input from STDIN. Print output to STDOUT size := 5 numbers = make([]int64, size) for i := range numbers { fmt.Scanf("%d", &numbers[i]) if (numbers[i] < 1) && (numbers[i] > 10e+9) { break } } fmt.Printf("len(numbers)=%d,...
[ 0.05962366983294487, -0.05472254008054733, 1.0786446332931519, 0.8158556818962097, -0.3091394007205963, 0.2023545801639557, 0.34822311997413635, -0.6590626835823059, 0.013665537349879742, -0.21950621902942657, -0.8224387168884277, 0.40790635347366333, 0.28996559977531433, -0.00810940284281...
func NewUuid() string { b := make([]byte, 16) rand.Read(b) return fmt.Sprintf("%x", b) }
[ 0.8789177536964417, -0.6089314222335815, 0.6490726470947266, -0.7101725935935974, -0.7735840082168579, 0.8758339881896973, -0.9828364253044128, 0.5118630528450012, 0.7754867076873779, 0.1125560775399208, 0.6417765617370605, 0.388902872800827, -0.6442264914512634, -0.9669399261474609, -0....
func NewUuid62() string { return ConvertUp(NewUuid(), base62alphabet) }
[ -0.7090157866477966, -1.8621817827224731, 0.2238532453775406, -0.026474637910723686, -1.931549072265625, -0.13741916418075562, -0.9185010194778442, 0.1788722574710846, -0.14762943983078003, 0.7787901759147644, -0.3759496212005615, 0.34441447257995605, 0.13424603641033173, -0.64133214950561...
func ConvertUp(oldNumber string, baseAlphabet string) string { n := big.NewInt(0) n.SetString(oldNumber, 16) base := big.NewInt(int64(len(baseAlphabet))) newNumber := make([]byte, 23) //converted size of max base-62 uuid i := len(newNumber) for n.Int64() != 0 { i-- _, r := n.DivMod(n, base, big.N...
[ -0.9371015429496765, -0.1327187418937683, 0.9924059510231018, -0.3253432512283325, -0.4434337019920349, 0.08124150335788727, -0.2254623919725418, 1.2106022834777832, 0.5103791356086731, 0.816319465637207, 0.09180979430675507, 0.22266869246959686, 0.009200258180499077, -1.0769418478012085, ...
func (objectSet *ShelfObjectSet) CreateObject(payload *nimbleos.Shelf) (*nimbleos.Shelf, error) { return nil, fmt.Errorf("Unsupported operation 'create' on Shelf") }
[ 0.05237976461648941, -0.116745226085186, 0.3985547721385956, 0.1575746387243271, 0.2097240537405014, 0.930141031742096, 0.6256484389305115, -1.4693665504455566, -1.0432184934616089, -0.12919630110263824, -0.4274970293045044, -1.049425721168518, 0.13746924698352814, 0.8159947395324707, 0....
func (objectSet *ShelfObjectSet) UpdateObject(id string, payload *nimbleos.Shelf) (*nimbleos.Shelf, error) { resp, err := objectSet.Client.Put(shelfPath, id, payload, &nimbleos.Shelf{}) if err != nil { return nil, err } return resp.(*nimbleos.Shelf), err }
[ -0.7906810641288757, -0.3986774981021881, 0.4996630549430847, -0.12585686147212982, -0.5666681528091431, 0.9131799340248108, 0.1763683259487152, -1.1443926095962524, -0.6880105137825012, 0.19946584105491638, -1.005264401435852, -0.26877787709236145, -0.2803018391132355, 0.14209316670894623...
func (objectSet *ShelfObjectSet) DeleteObject(id string) error { return fmt.Errorf("Unsupported operation 'delete' on Shelf") }
[ 0.247206449508667, -0.2768041789531708, 0.4436931908130646, 0.47682929039001465, -0.14628230035305023, 0.674838125705719, 0.6761173605918884, -0.44160425662994385, -0.4006171226501465, -0.27346327900886536, -0.8044050335884094, -0.2625599801540375, 0.22957314550876617, 0.6311643719673157, ...
func (objectSet *ShelfObjectSet) GetObject(id string) (*nimbleos.Shelf, error) { resp, err := objectSet.Client.Get(shelfPath, id, &nimbleos.Shelf{}) if err != nil { return nil, err } // null check if resp == nil { return nil, nil } return resp.(*nimbleos.Shelf), err }
[ -0.4646841883659363, -0.0007435183506458998, 0.4433618485927582, 0.28219011425971985, 0.007139114197343588, 0.24023008346557617, 0.6242795586585999, -1.6033191680908203, -0.2516738474369049, -0.43325474858283997, -0.5768299698829651, 0.08257246762514114, -0.10283458977937698, 0.23139764368...
func (objectSet *ShelfObjectSet) GetObjectList() ([]*nimbleos.Shelf, error) { resp, err := objectSet.Client.List(shelfPath) if err != nil { return nil, err } return buildShelfObjectSet(resp), err }
[ -0.5002681016921997, -0.0360146127641201, 0.4585222601890564, 0.5502069592475891, 1.0922510623931885, 0.3425004482269287, 0.4395824372768402, -0.9986817240715027, -0.24117174744606018, 0.1573425829410553, -0.21941494941711426, -0.0566587895154953, 0.14680907130241394, 0.22200123965740204, ...
func (objectSet *ShelfObjectSet) GetObjectListFromParams(params *param.GetParams) ([]*nimbleos.Shelf, error) { shelfObjectSetResp, err := objectSet.Client.ListFromParams(shelfPath, params) if err != nil { return nil, err } return buildShelfObjectSet(shelfObjectSetResp), err }
[ -0.8029105067253113, -0.6295064687728882, 0.4972996413707733, 0.8471787571907043, 0.7430347800254822, 0.5028135776519775, 0.3572129011154175, -0.9219409227371216, -0.5743351578712463, -0.05884484574198723, -0.0605664923787117, -0.23874439299106598, 0.18015113472938538, 0.5931865572929382, ...
func buildShelfObjectSet(response interface{}) []*nimbleos.Shelf { values := reflect.ValueOf(response) results := make([]*nimbleos.Shelf, values.Len()) for i := 0; i < values.Len(); i++ { value := &nimbleos.Shelf{} jsonutil.Decode(values.Index(i).Interface(), value) results[i] = value } return results }
[ -1.0978654623031616, -0.6875859498977661, 0.37823542952537537, -0.17458514869213104, 0.016578394919633865, 0.0010256461100652814, 0.5392122864723206, -1.5557972192764282, -0.20439107716083527, -0.5823153853416443, -0.33483895659446716, -0.4194420278072357, -0.061980850994586945, 0.16041490...
func (objectSet *ShelfObjectSet) Identify(id *string, cid *nimbleos.NsControllerId, status *bool) (*nimbleos.NsShelfIdentifyStatusReturn, error) { identifyUri := shelfPath identifyUri = identifyUri + "/" + *id identifyUri = identifyUri + "/actions/" + "identify" payload := &struct { Id *string ...
[ 0.06493796408176422, 0.10265962779521942, 0.5681083798408508, 1.1350665092468262, 0.943973183631897, 0.21721166372299194, -0.36462223529815674, -0.7620108723640442, 0.10387580841779709, 0.15945103764533997, -1.2029671669006348, 0.2750728130340576, -0.8015338182449341, 1.0874805450439453, ...
func (objectSet *ShelfObjectSet) Evacuate(id *string, driveset *uint64, dryRun *bool, start *bool, cancel *bool, pause *bool, resume *bool) error { evacuateUri := shelfPath evacuateUri = evacuateUri + "/" + *id evacuateUri = evacuateUri + "/actions/" + "evacuate" payload := &struct { Id *string `json:"id,o...
[ -0.7421502470970154, 0.18405681848526, 0.7969189882278442, -0.12446748465299606, 0.328742116689682, -0.3000999987125397, 0.3745688796043396, -0.6171761155128479, -0.2896236479282379, 0.3497419059276581, -0.6105830073356628, 0.5181413292884827, -1.0462125539779663, 0.09439964592456818, 0....
func (c *GlPushGroupMarkerEXT) Label(ctx context.Context, s *api.GlobalState) string { return readString(ctx, c, s, c.Marker(), c.Length()) }
[ -0.020740240812301636, -0.5839146375656128, 0.0993267223238945, -0.4602903127670288, 0.3078233003616333, 0.9458606839179993, -0.054982494562864304, -0.4194975197315216, 0.4012223184108734, 0.9560211300849915, 0.9603606462478638, 0.01875581219792366, -0.9128900170326233, -0.8532127737998962...
func (c *GlInsertEventMarkerEXT) Label(ctx context.Context, s *api.GlobalState) string { return readString(ctx, c, s, c.Marker(), c.Length()) }
[ 0.3764597475528717, -0.7894946932792664, 0.06494012475013733, -0.7263845801353455, 0.5679416656494141, 0.9739986062049866, -0.1948491781949997, 0.15948639810085297, 0.7941192984580994, 0.9129683971405029, 0.6918927431106567, 0.12149225175380707, -0.7363491058349609, -0.7637054920196533, ...
func (c *GlPushDebugGroup) Label(ctx context.Context, s *api.GlobalState) string { // This is incorrect, fudging for a bug in Unity which has been fixed but not // rolled out. // See https://github.com/google/gapid/issues/459 for reference. // // c.Length() should only be treated as null-terminated if c.Length() i...
[ -0.18656767904758453, -0.19581760466098785, 0.16916313767433167, -0.6616456508636475, 0.3217049539089203, 0.3736286163330078, -0.22069862484931946, -1.059951901435852, 0.36195164918899536, 0.48573794960975647, 0.3502008318901062, 0.13449475169181824, -0.8318610191345215, -0.220991298556327...