text
stringlengths
11
6.3k
embedding
listlengths
768
768
func (m *MockPoolRegistry) Pools() ([]registry.Pool, error) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "Pools") ret0, _ := ret[0].([]registry.Pool) ret1, _ := ret[1].(error) return ret0, ret1 }
[ -0.761241614818573, 0.5730357766151428, 0.07917088270187378, 0.1023707240819931, 0.6995786428451538, 1.0838919878005981, 1.545599341392517, -0.6812451481819153, -0.10667059570550919, -0.5681321024894714, -0.516260027885437, -0.8818222284317017, -0.6676943898200989, 1.13068425655365, -0.5...
func (mr *MockPoolRegistryMockRecorder) Pools() *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Pools", reflect.TypeOf((*MockPoolRegistry)(nil).Pools)) }
[ -0.26748159527778625, 1.3743997812271118, 0.13420386612415314, -0.28712281584739685, -0.04612910747528076, 0.7291318774223328, 0.013167974539101124, -1.1451714038848877, 0.950387716293335, 0.07764967530965805, 0.33637556433677673, 0.4541040062904358, -0.9054120182991028, 1.3842601776123047...
func (m *MockPoolRegistry) UpdateHost(bricks []registry.BrickInfo) error { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "UpdateHost", bricks) ret0, _ := ret[0].(error) return ret0 }
[ -0.3312990367412567, -0.465076208114624, 0.36464112997055054, 1.129612684249878, 0.8240130543708801, 0.016506070271134377, 0.8163951635360718, -0.21495556831359863, -1.4139817953109741, 0.050376757979393005, -0.8039019107818604, -0.32378464937210083, -1.243001103401184, 0.40972989797592163...
func (mr *MockPoolRegistryMockRecorder) UpdateHost(bricks interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateHost", reflect.TypeOf((*MockPoolRegistry)(nil).UpdateHost), bricks) }
[ -0.20467033982276917, 0.24538709223270416, 0.1099628135561943, 0.7318344116210938, -0.4780401885509491, 0.35542961955070496, 0.043164271861314774, -0.3989718556404114, 0.17602300643920898, 1.0160586833953857, -0.015022097155451775, 0.7697515487670898, -1.0594675540924072, 0.803434014320373...
func (m *MockPoolRegistry) KeepAliveHost(hostname string) error { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "KeepAliveHost", hostname) ret0, _ := ret[0].(error) return ret0 }
[ -0.6539638042449951, -0.4676971435546875, 0.5045492053031921, 0.21792399883270264, 0.6089653968811035, 1.2297755479812622, 0.7022664546966553, -0.9422555565834045, -0.6521599888801575, -0.14681532979011536, -0.9636721014976501, -0.6918111443519592, -1.4058094024658203, 0.38273122906684875,...
func (mr *MockPoolRegistryMockRecorder) KeepAliveHost(hostname interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "KeepAliveHost", reflect.TypeOf((*MockPoolRegistry)(nil).KeepAliveHost), hostname) }
[ -0.21135886013507843, 0.09296352416276932, 0.40118616819381714, 0.132480651140213, -0.07620222121477127, 1.3617550134658813, -0.25226694345474243, -0.9327544569969177, 0.19402188062667847, 0.8635515570640564, -0.13282890617847443, 0.3076413869857788, -1.3046698570251465, 0.3289368748664856...
func (m *MockPoolRegistry) AllocateBricksForVolume(volume registry.Volume) ([]registry.BrickAllocation, error) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "AllocateBricksForVolume", volume) ret0, _ := ret[0].([]registry.BrickAllocation) ret1, _ := ret[1].(error) return ret0, ret1 }
[ -0.10511868447065353, 0.35180267691612244, 0.07782088965177536, 0.3591064512729645, 1.1076178550720215, -0.09516119211912155, 0.9947301745414734, -0.03649767115712166, -0.6045660972595215, -0.7542756795883179, 0.5117713212966919, -0.9948017597198486, -0.7003865242004395, 0.1219515800476074...
func (mr *MockPoolRegistryMockRecorder) AllocateBricksForVolume(volume interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AllocateBricksForVolume", reflect.TypeOf((*MockPoolRegistry)(nil).AllocateBricksForVolume), volume) }
[ 0.2798856794834137, 1.098975658416748, 0.17716608941555023, -0.020186642184853554, 0.3727901577949524, -0.14595387876033783, -0.35529381036758423, -0.6135848164558411, -0.07210993021726608, 0.20951880514621735, 1.042836308479309, -0.38531428575515747, -0.5839217305183411, 0.138618856668472...
func (m *MockPoolRegistry) DeallocateBricks(volume registry.VolumeName) error { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "DeallocateBricks", volume) ret0, _ := ret[0].(error) return ret0 }
[ -0.29903098940849304, 0.08144678920507431, 0.13227777183055878, 0.4867807924747467, 0.9725373387336731, -0.47808942198753357, 0.29596462845802307, 0.3165358304977417, -0.1824473738670349, -0.7581517696380615, -0.6741918325424194, -0.9552348256111145, -1.7793225049972534, 0.3621244132518768...
func (mr *MockPoolRegistryMockRecorder) DeallocateBricks(volume interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeallocateBricks", reflect.TypeOf((*MockPoolRegistry)(nil).DeallocateBricks), volume) }
[ -0.3431679308414459, 0.8878775835037231, 0.04747229814529419, 0.3178098797798157, 0.14395427703857422, -0.5731525421142578, -0.36956754326820374, -0.2297435998916626, 0.7418294548988342, 0.32205435633659363, -0.05827660113573074, -0.357561320066452, -1.4011868238449097, 0.36725127696990967...
func (m *MockPoolRegistry) HardDeleteAllocations(allocations []registry.BrickAllocation) error { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "HardDeleteAllocations", allocations) ret0, _ := ret[0].(error) return ret0 }
[ -0.5330585241317749, 0.1425236463546753, 0.19772972166538239, 0.4707690179347992, 0.6687814593315125, 0.8596650958061218, 1.2555174827575684, -0.4952049255371094, -0.4665389657020569, -0.6027230620384216, 0.39728331565856934, -0.5828914642333984, -0.5229936838150024, 1.2525252103805542, ...
func (mr *MockPoolRegistryMockRecorder) HardDeleteAllocations(allocations interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "HardDeleteAllocations", reflect.TypeOf((*MockPoolRegistry)(nil).HardDeleteAllocations), allocations) }
[ -0.36244550347328186, 0.7297393679618835, 0.3238280415534973, 0.268830269575119, 0.05842847377061844, 0.7930367588996887, -0.36442017555236816, -0.6386812925338745, 0.9751686453819275, 0.17441801726818085, 0.894226610660553, 0.3040189743041992, -0.08209532499313354, 1.228466272354126, -0...
func (m *MockPoolRegistry) GetAllocationsForHost(hostname string) ([]registry.BrickAllocation, error) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "GetAllocationsForHost", hostname) ret0, _ := ret[0].([]registry.BrickAllocation) ret1, _ := ret[1].(error) return ret0, ret1 }
[ 0.3660365641117096, 0.568780779838562, 0.33899325132369995, 1.0004463195800781, 0.4856977164745331, 0.28566545248031616, 1.4742002487182617, -0.7057272791862488, -0.9889166355133057, -1.0993150472640991, 0.7244240045547485, -1.0898867845535278, -0.4451825022697449, 1.3298007249832153, 0....
func (mr *MockPoolRegistryMockRecorder) GetAllocationsForHost(hostname interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetAllocationsForHost", reflect.TypeOf((*MockPoolRegistry)(nil).GetAllocationsForHost), hostname) }
[ 0.5316102504730225, 1.2355107069015503, 0.29674357175827026, 0.22949202358722687, -0.10810030251741409, 0.3138181269168854, 0.0508294552564621, -0.5631101131439209, -0.17516246438026428, -0.06652288883924484, 0.9500755071640015, -0.14610369503498077, -0.19239212572574615, 1.519011259078979...
func (m *MockPoolRegistry) GetAllocationsForVolume(volume registry.VolumeName) ([]registry.BrickAllocation, error) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "GetAllocationsForVolume", volume) ret0, _ := ret[0].([]registry.BrickAllocation) ret1, _ := ret[1].(error) return ret0, ret1 }
[ -0.04805169254541397, 0.23190855979919434, 0.38301771879196167, 0.6345751285552979, 0.8175129890441895, -0.0032179520931094885, 2.054464817047119, -0.3221350312232971, -0.7990226745605469, -1.138505220413208, 0.994011640548706, -1.054202675819397, -0.8425901532173157, 0.688971996307373, ...
func (mr *MockPoolRegistryMockRecorder) GetAllocationsForVolume(volume interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetAllocationsForVolume", reflect.TypeOf((*MockPoolRegistry)(nil).GetAllocationsForVolume), volume) }
[ 0.2542712390422821, 0.9780871868133545, 0.43573981523513794, -0.03766241297125816, 0.19501566886901855, 0.09671130031347275, 0.42053166031837463, -0.42251259088516235, 0.058442845940589905, -0.32523420453071594, 1.6143807172775269, -0.1383424699306488, -0.5565301179885864, 0.83073365688323...
func (m *MockPoolRegistry) GetBrickInfo(hostname, device string) (registry.BrickInfo, error) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "GetBrickInfo", hostname, device) ret0, _ := ret[0].(registry.BrickInfo) ret1, _ := ret[1].(error) return ret0, ret1 }
[ 0.12845441699028015, -0.059164151549339294, 0.4119170904159546, 0.9290159344673157, 1.5290906429290771, -0.15280626714229584, 1.2927542924880981, -0.6857036352157593, -1.1464003324508667, -0.7451338171958923, -1.266430377960205, -0.2332760989665985, -0.8953831791877747, 0.678474485874176, ...
func (mr *MockPoolRegistryMockRecorder) GetBrickInfo(hostname, device interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetBrickInfo", reflect.TypeOf((*MockPoolRegistry)(nil).GetBrickInfo), hostname, device) }
[ 0.47526445984840393, 0.861103892326355, 0.21936003863811493, 0.5220794081687927, 0.8936322927474976, -0.12336388975381851, 0.17429111897945404, -1.035300612449646, -0.1826043277978897, 0.10154561698436737, -0.337397962808609, 0.4717462658882141, -1.046526551246643, 0.7671962976455688, 0....
func (m *MockPoolRegistry) GetNewHostBrickAllocations(ctxt context.Context, hostname string) <-chan registry.BrickAllocation { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "GetNewHostBrickAllocations", ctxt, hostname) ret0, _ := ret[0].(<-chan registry.BrickAllocation) return ret0 }
[ -0.7087687849998474, 0.004931100644171238, 0.46612703800201416, 1.2942233085632324, 0.6774218082427979, -0.031056590378284454, 1.5921679735183716, -0.1695515215396881, -1.3675310611724854, -0.5388728976249695, -0.19952650368213654, -0.4564148485660553, -1.224957823753357, 0.832355260848999...
func (mr *MockPoolRegistryMockRecorder) GetNewHostBrickAllocations(ctxt, hostname interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetNewHostBrickAllocations", reflect.TypeOf((*MockPoolRegistry)(nil).GetNewHostBrickAllocations), ctxt, hostname) }
[ -0.2928287088871002, 0.7300711274147034, 0.42011377215385437, 1.1993402242660522, -0.06782587617635727, -0.11912219226360321, 0.3204883635044098, -0.29728302359580994, -0.4861854612827301, 0.41368332505226135, 0.17696629464626312, 0.20840570330619812, -1.158524751663208, 1.215184211730957,...
func BFS(g Graph, id ID) []ID { if _, err := g.GetNode(id); err != nil { return nil } q := []ID{id} visited := make(map[ID]bool) visited[id] = true rs := []ID{id} // while Q is not empty: for len(q) != 0 { u := q[0] q = q[1:len(q):len(q)] // for each vertex w adjacent to u: cmap, _ := g.GetTargets...
[ -0.20210835337638855, -0.7876502871513367, 0.9686011672019958, -0.524039089679718, 0.06687582284212112, -0.3768949806690216, 0.1657738983631134, -0.43888118863105774, 0.973839521408081, 0.41258835792541504, -0.6974489092826843, 1.1915396451950073, -0.37309378385543823, 0.25303158164024353,...
func DFS(g Graph, id ID) []ID { if _, err := g.GetNode(id); err != nil { return nil } s := []ID{id} visited := make(map[ID]bool) rs := []ID{} // while S is not empty: for len(s) != 0 { u := s[len(s)-1] s = s[:len(s)-1 : len(s)-1] // if u is not visited yet: if _, ok := visited[u]; !ok { // label...
[ -0.5398395657539368, 0.14868371188640594, 0.831791341304779, -0.8007544875144958, -0.17711147665977478, -0.54052734375, 0.5618404746055603, -0.024845365434885025, 0.7487240433692932, 0.25845757126808167, -0.3920089304447174, 0.7864107489585876, -0.36085543036460876, 0.3004780113697052, -...
func DFSRecursion(g Graph, id ID) []ID { if _, err := g.GetNode(id); err != nil { return nil } visited := make(map[ID]bool) rs := []ID{} dfsRecursion(g, id, visited, &rs) return rs }
[ -0.9092754125595093, 0.8495515584945679, 0.587350070476532, -0.06343142688274384, 0.27514156699180603, -1.219968557357788, 0.30724895000457764, 0.13087865710258484, 0.4665607213973999, 0.49489495158195496, -0.47371137142181396, 0.5736227035522461, 0.04599592462182045, 0.42874693870544434, ...
func DockstoreComposeFromFile(filePath string) (model *ComposeFull, err error) { fileBytes, err := ioutil.ReadFile(filePath) if nil != err { return nil, err } return DockstoreComposeFromBytes(fileBytes) }
[ 0.02624879591166973, -0.4637039601802826, 0.253374308347702, 0.004729515872895718, -0.6049898266792297, 0.5984406471252441, 1.5460875034332275, -0.10922890156507492, 0.046627476811409, 0.4899533987045288, -0.2563931345939636, -0.7520520091056824, -0.20403669774532318, -0.011417326517403126...
func DockstoreComposeFromStr(composeYaml string) (model *ComposeFull, err error) { return DockstoreComposeFromBytes([]byte(composeYaml)) }
[ -0.0625552162528038, -0.32836684584617615, 0.1735239177942276, 0.318403035402298, -0.9292879104614258, -0.4549379050731659, 1.6356401443481445, -0.10594184696674347, 0.8343374133110046, 0.009533742442727089, -0.5155252814292908, -0.32448285818099976, -0.01132950372993946, -0.16604386270046...
func DockstoreComposeFromBytes(yamlBytes []byte) (model *ComposeFull, err error) { model = &ComposeFull{} err = yaml.Unmarshal(yamlBytes, model) if nil != err { return nil, err } return model, model.Sanitize() }
[ -0.021442865952849388, -0.6042845249176025, 0.17522214353084564, -0.08596279472112656, -0.5798331499099731, -0.27058207988739014, 1.1465235948562622, 0.2727850377559662, 1.1142642498016357, 0.44237020611763, -0.8959532380104065, -0.6821702718734741, 0.017331190407276154, 0.5151152610778809...
func (model *ComposeFull) Sanitize() error { cleanServices := make(map[string]ComposeService, len(model.Services)) for key, service := range model.Services { // k8s wants DNS-safe container names - let's just do that here service.Name = strings.ToLower(key) for _, badChar := range [...]string{"_", "/", " "} { ...
[ 0.07153259962797165, -0.06189798191189766, 0.813119649887085, -0.10082589834928513, 0.20878823101520538, -0.5979140996932983, 0.08845961838960648, -0.5937238335609436, -0.1782897263765335, 0.4250164330005646, 0.6840417385101318, 0.14020855724811554, -0.22229956090450287, 0.4881179332733154...
func (rspec *ComposeResourceSpec) BuildK8sResource() map[k8sv1.ResourceName]resource.Quantity { result := make(map[k8sv1.ResourceName]resource.Quantity) if rspec.CPU != "" { result[k8sv1.ResourceCPU] = resource.MustParse(rspec.CPU) } if rspec.Memory != "" { result[k8sv1.ResourceMemory] = resource.MustParse(rspe...
[ -0.9185372591018677, -0.7696884274482727, 0.2840404510498047, -0.4823951721191406, -0.9563620090484619, -0.31125807762145996, -0.6742196679115295, 0.49782589077949524, 0.17070335149765015, 0.6838238835334778, 0.24342194199562073, 0.4864995777606964, -0.1410766988992691, 0.1903185248374939,...
func (service *ComposeService) ToK8sContainer(friend *k8sv1.Container) (mountUserVolume bool, mountSharedMemory bool, err error) { friend.Name = service.Name //friend.CPULimit = service.Deploy.Resources.Limits.CPU //friend.MemoryLimit = service.Deploy.Resources.Limits.Memory friend.Image = service.Image friend.Ima...
[ -0.441359281539917, -0.5014170408248901, 0.5519526600837708, -0.0440770648419857, -0.08212560415267944, -0.48109257221221924, 0.3501054048538208, -0.23596413433551788, 0.12365727871656418, 0.22301597893238068, 0.25764381885528564, -0.07996322959661484, 0.49710002541542053, 0.03836801648139...
func (model *ComposeFull) BuildHatchApp() (*Container, error) { hatchApp := &Container{} service := model.Services[model.RootService] hatchApp.Name = service.Name hatchApp.CPULimit = service.Deploy.Resources.Limits.CPU hatchApp.MemoryLimit = service.Deploy.Resources.Limits.Memory hatchApp.UserUID = service.UserUI...
[ -0.10221481323242188, -0.9369040131568909, 0.8590195178985596, 0.9035167694091797, -0.04486435279250145, -0.1094510480761528, 0.4582362771034241, -0.40712544322013855, -0.0699630156159401, 0.07886900752782822, 0.1836480051279068, -0.5947374701499939, 0.29153168201446533, 0.1870212405920028...
func multiResponseServer(responses []R) *httptest.Server { var index = 0 return httptest.NewServer( http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { if index < len(responses) { responses[index](w, r) index += 1 } else { responses[len(responses)-1](w, r) } })) }
[ -0.8038230538368225, -1.0691665410995483, 0.5650075674057007, -0.5247641205787659, 0.8328492045402527, 0.08163665980100632, 0.5081676244735718, -0.8741047382354736, 1.4821103811264038, -1.2800064086914062, -0.5985654592514038, -0.6923505663871765, -0.7733314633369446, -0.20583823323249817,...
func TestClientFindUnamed(t *testing.T) { var matches, err = findMatchingTunnel( `[{"domain_names": ["test1"], "tunnel_identifier": null, "id": "fakeid"}]`, "", []string{"test1"}) if err != nil { t.Errorf("client.Find errored %+v\n", err) } if !reflect.DeepEqual(matches, []string{"fakeid"}) { t.Errorf("cl...
[ 0.24206942319869995, 0.46332183480262756, 0.7465636730194092, -1.2340340614318848, -0.10294952243566513, 0.45092353224754333, 0.7445366382598877, -0.9258096814155579, -0.19014589488506317, -0.4283648133277893, -0.5472810864448547, 0.2795247733592987, -0.2003662884235382, 0.414484441280365,...
func TestClientFindNamed(t *testing.T) { var matches, err = findMatchingTunnel( listTunnelJSON, "badname", []string{"sauce-connect.proxy"}) if err != nil { t.Errorf("client.Find errored %+v\n", err) } // Make sure we got an empty array if matches != nil { t.Errorf("client.Find returned %+v\n", matches) } ...
[ 0.4932878613471985, 0.3170386850833893, 0.5768728852272034, -1.3046064376831055, -0.044816866517066956, 0.5878835916519165, -0.04029497504234314, -1.4072225093841553, 0.27343928813934326, -0.06064702942967415, -0.28007933497428894, -0.09208594262599945, -0.5404850244522095, 0.9487697482109...
func TestClientFindDuplicate(t *testing.T) { const tunnelsJSON = `[ { "domain_names": [ "sauce-connect.proxy" ], "tunnel_identifier": null, "id": "fakeid" }, { "domain_names": [ "sauce-connect.proxy", "test.proxy" ], ...
[ -0.06304088234901428, 0.06826961785554886, 0.5457367300987244, -0.6064633727073669, 0.26885032653808594, -0.06742136180400848, 0.7939111590385437, -1.277637004852295, 0.32351359724998474, -0.09564119577407837, -0.4268665015697479, -0.23023344576358795, -0.09511964023113251, 0.1271995007991...
func TestTunnelLoop(t *testing.T) { var server = multiResponseServer([]R{ stringResponse(createJSON), stringResponse(statusRunningJSON), stringResponse(statusShutdownJSON), }) tunnel, err := createTunnel(server.URL) if err != nil { t.Errorf("client.createWithTimeout errored %+v\n", err) } go tunnel.serve...
[ -0.21330603957176208, 0.017174959182739258, 0.5933790802955627, -0.6260128021240234, 0.11087290197610855, 0.7825489640235901, -0.06393949687480927, -0.7371135950088501, 0.41141802072525024, -0.2597994804382324, -0.476641446352005, -0.3411918878555298, 0.33963289856910706, 0.130393773317337...
func TestTunnelLoopClientStop(t *testing.T) { var server = multiResponseServer([]R{ stringResponse(createJSON), stringResponse(statusRunningJSON), heartbeatChecker(true, 1, t), heartbeatChecker(false, 0, t), }) tunnel, err := createTunnel(server.URL) if err != nil { t.Errorf("client.createWithTimeout err...
[ 0.42965224385261536, -0.17249076068401337, 0.5030076503753662, -0.7105253338813782, 0.25829043984413147, 0.8339703679084778, -0.10230297595262527, -0.6738340258598328, -0.3060859441757202, 0.31375470757484436, -0.4406816065311432, -0.39200055599212646, 0.07049956917762756, -0.3961413800716...
func Parse(src []byte) (*ast.File, error) { // normalize all line endings // since the scanner and output only work with "\n" line endings, we may // end up with dangling "\r" characters in the parsed data. src = bytes.Replace(src, []byte("\r\n"), []byte("\n"), -1) p := newParser(src) return p.Parse() }
[ 0.40162745118141174, -0.17828337848186493, 0.45277178287506104, -0.29503118991851807, -1.4621177911758423, -0.6504263877868652, -0.44296568632125854, 0.1535855531692505, 0.008874841034412384, -0.6091499328613281, 0.16122858226299286, -0.37465956807136536, -0.35072892904281616, 0.7347728013...
func (p *Parser) Parse() (*ast.File, error) { f := &ast.File{} var err, scerr error p.sc.Error = func(pos token.Pos, msg string) { scerr = &PosError{Pos: pos, Err: errors.New(msg)} } f.Node, err = p.objectList(false) if scerr != nil { return nil, scerr } if err != nil { return nil, err } f.Comments = ...
[ 0.014214015565812588, -0.26525843143463135, 0.6599656343460083, -0.4057212173938751, -0.4177015423774719, -0.24439026415348053, -0.20351259410381317, 0.034702740609645844, -0.9384080171585083, -0.36348608136177063, 0.06226826086640358, -0.1996719241142273, 0.1982007920742035, -0.1530071645...
func (p *Parser) objectItem() (*ast.ObjectItem, error) { defer un(trace(p, "ParseObjectItem")) keys, err := p.objectKey() if len(keys) > 0 && err == errEofToken { // We ignore eof token here since it is an error if we didn't // receive a value (but we did receive a key) for the item. err = nil } if len(keys...
[ -0.5085405111312866, -0.6489508152008057, 0.7942367792129517, 0.21575312316417694, -0.14743855595588684, 0.017385080456733704, 0.014904617331922054, -0.3035900592803955, -0.32842257618904114, 0.6797535419464111, -0.03207636997103691, 0.07031957805156708, -0.059596624225378036, -0.435902267...
func (p *Parser) objectKey() ([]*ast.ObjectKey, error) { keyCount := 0 keys := make([]*ast.ObjectKey, 0) for { tok := p.scan() switch tok.Type { case token.EOF: // It is very important to also return the keys here as well as // the error. This is because we need to be able to tell if we // did parse ...
[ -0.9495229125022888, -0.49404001235961914, 0.9004560112953186, 0.09657282382249832, -0.0935177430510521, -0.2029399573802948, -0.4294736087322235, -0.17344345152378082, -0.8079584240913391, 1.1181491613388062, 0.27094680070877075, 0.44338956475257874, -0.10758154094219208, 0.33225345611572...
func (p *Parser) object() (ast.Node, error) { defer un(trace(p, "ParseType")) tok := p.scan() switch tok.Type { case token.NUMBER, token.FLOAT, token.BOOL, token.STRING, token.HEREDOC: return p.literalType() case token.LBRACE: return p.objectType() case token.LBRACK: return p.listType() case token.COMMENT...
[ -0.43865424394607544, -0.6389318704605103, 0.9049272537231445, -0.6972273588180542, -0.33447009325027466, 0.4187036454677582, 0.19249583780765533, -0.2003983110189438, -0.38392171263694763, 0.06710554659366608, -0.27536964416503906, 0.3606628477573395, 0.28350651264190674, -0.4854754507541...
func (p *Parser) objectType() (*ast.ObjectType, error) { defer un(trace(p, "ParseObjectType")) // we assume that the currently scanned token is a LBRACE o := &ast.ObjectType{ Lbrace: p.tok.Pos, } l, err := p.objectList(true) // if we hit RBRACE, we are good to go (means we parsed all Items), if it's // not ...
[ 0.10940279811620712, -0.4814322590827942, 0.8443806171417236, -0.05286888778209686, 0.32784202694892883, -0.2505783140659332, -0.4125013053417206, -0.5996866226196289, 0.3172081410884857, 0.650708794593811, -0.05595938116312027, -0.21636171638965607, -0.6704283356666565, 0.1846418231725692...
func (p *Parser) listType() (*ast.ListType, error) { defer un(trace(p, "ParseListType")) // we assume that the currently scanned token is a LBRACK l := &ast.ListType{ Lbrack: p.tok.Pos, } needComma := false for { tok := p.scan() if needComma { switch tok.Type { case token.COMMA, token.RBRACK: def...
[ 0.4946323335170746, -0.5538815259933472, 0.9547136425971985, 0.030987942591309547, 0.5498285293579102, -0.15468324720859528, -0.45221272110939026, 0.14193890988826752, 0.40667954087257385, 0.3075285851955414, -0.21681298315525055, -0.18830962479114532, -0.42073655128479004, 0.6346263885498...
func (p *Parser) literalType() (*ast.LiteralType, error) { defer un(trace(p, "ParseLiteral")) return &ast.LiteralType{ Token: p.tok, }, nil }
[ 1.328971266746521, -0.4456338584423065, 0.21529613435268402, -0.4060305953025818, 0.004253383260220289, 0.13150842487812042, -1.392250418663025, 0.46570104360580444, 0.46771299839019775, -0.15523716807365417, 0.22072650492191315, -0.06170353293418884, -0.517407238483429, -0.357905089855194...
func (p *Parser) scan() token.Token { // If we have a token on the buffer, then return it. if p.n != 0 { p.n = 0 return p.tok } // Otherwise read the next token from the scanner and Save it to the buffer // in case we unscan later. prev := p.tok p.tok = p.sc.Scan() if p.tok.Type == token.COMMENT { var c...
[ 0.18250127136707306, -0.9944576621055603, 0.9499465823173523, -0.29591354727745056, -0.23935924470424652, -0.04500176012516022, 0.5502018332481384, 0.14194190502166748, -0.12416762113571167, -0.8118885159492493, -0.12199578434228897, 0.28021225333213806, -0.34886932373046875, -0.1197255626...
func (p *Parser) unscan() { p.n = 1 }
[ -0.4742296040058136, 0.2548373341560364, 0.20201067626476288, -0.971522867679596, -0.5402283668518066, -0.524177074432373, 0.5111873149871826, 0.5513539910316467, -1.048597812652588, -0.6310830116271973, -0.35419559478759766, -0.10028162598609924, -0.18245120346546173, 0.45478540658950806,...
func un(p *Parser) { p.indent-- p.printTrace(")") }
[ 0.9069969058036804, -0.675113320350647, 0.4908372461795807, -0.5349131226539612, -0.046879641711711884, 1.528882384300232, 0.4509590268135071, 1.313968539237976, -0.31454282999038696, -0.5274451971054077, -0.012137704528868198, 0.7578132152557373, -0.23122771084308624, -0.21904993057250977...
func NewFont(face Face) *Font { var font Font font.face = face font.faceUpem = Position(font.face.Upem()) font.XScale = font.faceUpem font.YScale = font.faceUpem if opentypeFace, ok := face.(FaceOpentype); ok { lt := opentypeFace.LayoutTables() font.otTables = &lt // accelerators font.gsubAccels = make...
[ -0.08703865855932236, -0.44417431950569153, 0.38097840547561646, 0.2895146906375885, -1.1987491846084595, -0.6779712438583374, 1.5070770978927612, -1.0971124172210693, 0.4516322910785675, -0.4033842086791992, 0.3138859272003174, -0.0653640478849411, 0.31404218077659607, -0.4416778385639190...
func (f *Font) SetVarCoordsDesign(coords []float32) { if varFace, ok := f.face.(FaceOpentype); ok { varFace.SetVarCoordinates(varFace.NormalizeVariations(coords)) } }
[ -0.25552329421043396, 0.003926478326320648, 0.367780864238739, 0.01624460704624653, -0.7020251154899597, 0.16688042879104614, 0.3487120270729065, -0.5377439856529236, 0.4856301546096802, -0.9654140472412109, -0.42828309535980225, -0.07865074276924133, -0.07909908890724182, 0.24993015825748...
func (f *Font) Face() fonts.Face { return f.face }
[ -0.04709045961499214, -0.5710263252258301, 0.28875038027763367, 0.6288048624992371, 0.07236560434103012, 0.24616630375385284, 0.8171367049217224, -0.7316612005233765, 0.39871543645858765, -1.096137285232544, -0.523740828037262, 0.5930494666099548, -0.19392217695713043, 0.04656064137816429,...
func (f *Font) emScaleX(v int16) Position { return Position(v) * f.XScale / f.faceUpem }
[ -0.41604873538017273, 0.21680936217308044, 0.4974331557750702, -0.8453882336616516, -1.0420570373535156, 0.015325529500842094, -1.5008020401000977, -0.4319659471511841, 0.3790437877178192, 0.6530193090438843, -0.9222250580787659, -0.5930941104888916, 0.4706173539161682, -0.2010255604982376...
func (f *Font) GlyphExtents(glyph fonts.GID) (out GlyphExtents, ok bool) { ext, ok := f.face.GlyphExtents(glyph, f.XPpem, f.YPpem) if !ok { return out, false } out.XBearing = f.emScalefX(ext.XBearing) out.Width = f.emScalefX(ext.Width) out.YBearing = f.emScalefY(ext.YBearing) out.Height = f.emScalefY(ext.Heigh...
[ 0.007273686118423939, 0.7914803624153137, 0.6426060199737549, -0.631211519241333, -0.25707945227622986, -0.2148217260837555, -0.03680173680186272, -1.1128015518188477, 0.7830603122711182, 0.7444764971733093, -1.124039888381958, -0.23122714459896088, -0.9249659180641174, 0.43604880571365356...
func (f *Font) GlyphAdvanceForDirection(glyph fonts.GID, dir Direction) (x, y Position) { if dir.isHorizontal() { return f.GlyphHAdvance(glyph), 0 } return 0, f.getGlyphVAdvance(glyph) }
[ -0.34845903515815735, -0.003461884567514062, 0.4417971074581146, -1.4182474613189697, 0.4248335659503937, -0.5237347483634949, 0.1057506576180458, -0.9631299376487732, 0.1265832483768463, 0.1254505068063736, -0.2503907084465027, 0.6518402099609375, 0.22698767483234406, 0.5116338133811951, ...
func (f *Font) GlyphHAdvance(glyph fonts.GID) Position { adv := f.face.HorizontalAdvance(glyph) return f.emScalefX(adv) }
[ 0.34302324056625366, 0.35415664315223694, 0.5994850993156433, -1.2078851461410522, 0.3145953416824341, 0.04291437566280365, -0.838156521320343, -1.0958741903305054, 0.023738836869597435, 0.25813379883766174, -0.6841589212417603, 0.2349315583705902, 0.13313181698322296, 0.7117851972579956, ...
func (f *Font) getGlyphVAdvance(glyph fonts.GID) Position { adv := f.face.VerticalAdvance(glyph) return f.emScalefY(adv) }
[ -0.22435137629508972, -0.14976714551448822, 0.58705735206604, -1.1330711841583252, 0.09153713285923004, -0.6102423071861267, -0.5571696758270264, -1.5223097801208496, 0.07725043594837189, 0.592073917388916, -0.4394497573375702, 0.629266083240509, 0.15219901502132416, 0.8441998362541199, ...
func (f *Font) subtractGlyphOriginForDirection(glyph fonts.GID, direction Direction, x, y Position) (Position, Position) { originX, originY := f.getGlyphOriginForDirection(glyph, direction) return x - originX, y - originY }
[ -0.32519304752349854, -0.713639497756958, 0.34625890851020813, -1.4630651473999023, -0.3194212317466736, 0.15017695724964142, 0.5116568803787231, -0.03868597000837326, 0.10297197103500366, -0.16215774416923523, -0.8122352361679077, 0.5746899247169495, -0.1814723163843155, -0.48523497581481...
func (f *Font) getGlyphOriginForDirection(glyph fonts.GID, direction Direction) (x, y Position) { if direction.isHorizontal() { return f.getGlyphHOriginWithFallback(glyph) } return f.getGlyphVOriginWithFallback(glyph) }
[ -0.0060022189281880856, 0.8340124487876892, 0.28132015466690063, -0.8975697755813599, -0.13211630284786224, -0.09797407686710358, 0.38951215147972107, -0.3157207667827606, 0.21011196076869965, 0.04478192329406738, -0.4984465539455414, 0.8776040077209473, -0.48602813482284546, -0.2585676610...
func (f *Font) glyphToString(glyph fonts.GID) string { if name := f.face.GlyphName(glyph); name != "" { return name } return fmt.Sprintf("gid%d", glyph) }
[ -0.15654698014259338, 0.17223967611789703, 0.21237564086914062, -1.1350654363632202, 0.4409870207309723, 0.2668771743774414, -0.17357204854488373, -1.4694465398788452, 0.49597200751304626, 0.840441882610321, -0.08660890907049179, 0.5158617496490479, -0.22319255769252777, 0.4719383716583252...
func (f *Font) ExtentsForDirection(direction Direction) fonts.FontExtents { var ( extents fonts.FontExtents ok bool ) if direction.isHorizontal() { extents, ok = f.face.FontHExtents() extents.Ascender = float32(f.emScalefY(extents.Ascender)) extents.Descender = float32(f.emScalefY(extents.Descender)) ...
[ -0.3671817183494568, -0.14095281064510345, 0.8136669993400574, -0.9156209826469421, -0.5328910946846008, -0.37340691685676575, -0.2376670390367508, -0.3757849335670471, 0.794750988483429, 0.03546575829386711, -0.3525131344795227, -0.17283529043197632, 0.41163235902786255, 1.054328918457031...
func (f *Font) LineMetric(metric fonts.LineMetric) (int32, bool) { m, ok := f.face.LineMetric(metric) return f.emScalefY(m), ok }
[ -0.23553699254989624, 0.9578083157539368, 0.5500849485397339, -0.07244569808244705, -0.6343245506286621, 0.38299760222435, -0.6045819520950317, -1.0955421924591064, -0.6860362887382507, 0.36801090836524963, -0.4408457279205322, -1.2907756567001343, -0.601484477519989, 0.19813326001167297, ...
func (f *Font) GetOTLayoutTables() *tt.LayoutTables { return f.otTables }
[ -0.41139504313468933, 0.13028745353221893, 0.5432489514350891, 0.03462040796875954, -0.8719942569732666, 0.328151673078537, 1.0382837057113647, -0.7597134113311768, 0.4966217279434204, -1.0047783851623535, -0.6417685151100159, -0.2765544056892395, -0.006562516558915377, -0.5656771063804626...
func (f *Font) GetOTGlyphClass(glyph fonts.GID) uint32 { if f.otTables == nil { return 0 } if cl := f.otTables.GDEF.Class; cl != nil { class, _ := cl.ClassID(glyph) return class } return 0 }
[ -0.5567350387573242, 0.6720227003097534, 0.5628788471221924, -0.7826576828956604, 0.08128926903009415, 0.09005354344844818, 0.1346479207277298, -0.682529866695404, 0.17882563173770905, -0.11970854550600052, -0.4231841564178467, 0.6060359477996826, -0.059534862637519836, 1.0888954401016235,...
func (f *Font) GetOTLigatureCarets(direction Direction, glyph fonts.GID) []Position { if f.otTables == nil { return nil } varStore := f.otTables.GDEF.VariationStore list := f.otTables.GDEF.LigatureCaretList if list.Coverage == nil { return nil } index, ok := list.Coverage.Index(glyph) if !ok { return n...
[ -0.12465576827526093, -0.715697169303894, 0.42531073093414307, -0.964271068572998, 0.20335064828395844, -0.4510778784751892, -0.4663882255554199, -0.539080023765564, 0.4471319615840912, 0.22519633173942566, 0.04515015706419945, 0.5282913446426392, 0.09771361202001572, 0.20010599493980408, ...
func (f *Font) getCaretValue(caret truetype.CaretValue, direction Direction, glyph fonts.GID, varStore truetype.VariationStore) Position { switch caret := caret.(type) { case truetype.CaretValueFormat1: if direction.isHorizontal() { return f.emScaleX(int16(caret)) } else { return f.emScaleY(int16(caret)) ...
[ -0.34583917260169983, -0.4594138264656067, 0.7020532488822937, -0.6798937916755676, -0.3865623474121094, 0.004728425294160843, -0.4613722860813141, -0.3569160997867584, -0.1625913381576538, 0.18180707097053528, -0.023913083598017693, 0.42308861017227173, -0.06834588944911957, 0.22923830151...
func (v GetAdvancedSettingsAttackPayloadLoggingRequest) Validate() error { return edgegriderr.ParseValidationErrors(validation.Errors{ "ConfigID": validation.Validate(v.ConfigID, validation.Required), "Version": validation.Validate(v.Version, validation.Required), }) }
[ -0.5077757835388184, 0.6730733513832092, 0.5098316073417664, -0.6431041359901428, -0.25602883100509644, -0.055980246514081955, -0.7513211965560913, -1.0125812292099, -0.9906507730484009, 0.8864623308181763, 0.8260031938552856, 0.1219140812754631, 0.7207251787185669, 0.7354519963264465, 1...
func (v UpdateAdvancedSettingsAttackPayloadLoggingRequest) Validate() error { return edgegriderr.ParseValidationErrors(validation.Errors{ "ConfigID": validation.Validate(v.ConfigID, validation.Required), "Version": validation.Validate(v.Version, validation.Required), }) }
[ -0.7791122198104858, 0.3160652816295624, 0.56022709608078, -0.6894023418426514, -0.7117836475372314, 0.1510658860206604, -0.6373950242996216, -0.8030471801757812, -0.860703706741333, 1.3507084846496582, 0.5508500337600708, -0.09872451424598694, 0.32734033465385437, 0.7965261340141296, 1....
func (v RemoveAdvancedSettingsAttackPayloadLoggingRequest) Validate() error { return edgegriderr.ParseValidationErrors(validation.Errors{ "ConfigID": validation.Validate(v.ConfigID, validation.Required), "Version": validation.Validate(v.Version, validation.Required), }) }
[ -0.38551539182662964, 0.46814554929733276, 0.5660682320594788, -0.7231868505477905, -0.5181983113288879, -0.17610296607017517, -0.48523807525634766, -0.5770698189735413, -0.8776113986968994, 1.0198084115982056, 0.5630760192871094, -0.4639583230018616, 0.28290119767189026, 0.781961858272552...
func NewProxyRegistry() *ProxyRegistry { return &ProxyRegistry{ connectedProxies: make(map[int64]*models.Proxy), } }
[ 0.33979853987693787, -0.29413002729415894, -0.16701774299144745, -0.5058780312538147, 0.04807250574231148, -0.3645175099372864, -0.24160970747470856, -0.45736759901046753, -0.27612602710723877, -0.46526771783828735, -1.0356336832046509, -0.07657841593027115, -0.3928350508213043, 0.67702454...
func (pr *ProxyRegistry) RegisterProxy(proxy *models.Proxy) { pr.mu.Lock() defer pr.mu.Unlock() pr.connectedProxies[proxy.GetConnectionID()] = proxy log.Debug().Str("proxy", proxy.String()).Msgf("Registered proxy %s from stream %d", proxy.String(), proxy.GetConnectionID()) }
[ -0.23963820934295654, 0.2860202491283417, 0.4508034288883209, -0.9004437923431396, 0.8206430077552795, 0.08386753499507904, -1.0046671628952026, -0.3556598126888275, -0.3372436463832855, -0.45260491967201233, -1.0820412635803223, 0.39237868785858154, -1.4788073301315308, 0.701625406742096,...
func (pr *ProxyRegistry) GetConnectedProxy(connectionID int64) *models.Proxy { pr.mu.Lock() defer pr.mu.Unlock() return pr.connectedProxies[connectionID] }
[ 0.27153849601745605, -0.0009278171346522868, 0.08516576141119003, 0.01583632081747055, 0.35861894488334656, -0.12646809220314026, -0.7237892150878906, -0.984734833240509, -0.249694362282753, -0.13996034860610962, 0.0038836037274450064, -0.03969547897577286, -1.5190562009811401, 0.408598124...
func (pr *ProxyRegistry) UnregisterProxy(connectionID int64) { pr.mu.Lock() defer pr.mu.Unlock() delete(pr.connectedProxies, connectionID) log.Debug().Msgf("Unregistered proxy from stream %d", connectionID) }
[ 0.10971646755933762, 0.618891179561615, 0.3569769561290741, -1.2851512432098389, 0.2535557150840759, -0.2793099284172058, -0.004815632943063974, 0.2048313319683075, -0.6617764234542847, 0.048153575509786606, -0.5405966639518738, 0.07026129215955734, -1.78397536277771, 0.7974644899368286, ...
func (pr *ProxyRegistry) GetConnectedProxyCount() int { pr.mu.Lock() defer pr.mu.Unlock() return len(pr.connectedProxies) }
[ 0.2364223450422287, -0.10227490216493607, 0.3701919615268707, -0.4959036111831665, 0.5767486095428467, 0.3806416392326355, 0.5345197916030884, 0.19526560604572296, -0.31396207213401794, -0.4240625202655792, -0.755776584148407, 0.03393980860710144, -0.863673985004425, 0.10250389575958252, ...
func (pr *ProxyRegistry) ListConnectedProxies() map[string]*models.Proxy { pr.mu.Lock() defer pr.mu.Unlock() proxies := make(map[string]*models.Proxy, len(pr.connectedProxies)) for _, p := range pr.connectedProxies { // A proxy could connect twice quickly and not register the disconnect, so we return the proxy w...
[ -0.3499004542827606, -0.9179621934890747, 0.2584397792816162, -0.6152849197387695, 0.3267270028591156, -0.36361387372016907, -0.5933945775032043, -0.7883564829826355, 0.33078306913375854, 0.4108877182006836, -0.405727744102478, -0.4876856505870819, -0.7135993838310242, 0.09872814267873764,...
func runProgram(program []int) (result []int, err error) { if len(program) <= 0 { return nil, errors.New("program is empty") } result = program instructionPointer := 0 for instructionPointer < len(result) { opcode := result[instructionPointer] if opcode == 99 { return result, nil } else { // We ha...
[ -0.7751504182815552, -0.08708973973989487, 0.9536291360855103, 0.3993912935256958, 0.4406296908855438, -0.6770044565200806, 1.281251072883606, -0.31363677978515625, -0.04604794457554817, 0.3439837396144867, -0.2580680847167969, -0.5413986444473267, -1.1061381101608276, 0.10341555625200272,...
func (r *RequestBody) AddDefaults() { if r.DomainScope == "" { r.DomainScope = "annotated" } if len(r.Background) > 0 && r.DomainScope != "custom" { r.DomainScope = "custom" } if r.Organism == "" { r.Organism = "hsapiens" } if r.SignificanceThresholdMethod == "" { r.SignificanceThresholdMethod = "gSCS"...
[ -0.4625961184501648, 0.37125760316848755, 0.25325244665145874, 0.41619622707366943, 0.9432618021965027, 0.30396178364753723, -0.6839187145233154, -1.1079392433166504, 0.79810631275177, -0.4207698702812195, 0.006856546271592379, 0.2860925495624542, -1.0089606046676636, 1.333278775215149, ...
func readInt(b []byte, off, size uintptr) (u uint64, ok bool) { if len(b) < int(off+size) { return 0, false } if isBigEndian { return readIntBE(b[off:], size), true } return readIntLE(b[off:], size), true }
[ -0.5437865257263184, -0.1119152083992958, 0.4107397198677063, 0.04944589361548424, -0.8094215393066406, 0.8433935046195984, -0.45095521211624146, -0.005409972742199898, -0.4169174134731293, 0.5980048179626465, 0.517864465713501, -0.2898549437522888, -1.027207851409912, -0.17002032697200775...
func PrintRandomTweet() string { rand.Seed(time.Now().Unix()) randomIndex := rand.Intn(maxItem) return allTweets[randomIndex] }
[ 0.45683401823043823, -0.8380811214447021, 0.2918185889720917, -0.47413378953933716, -0.14063918590545654, 0.8665096759796143, -0.3356802761554718, -0.3937467932701111, 0.6354373097419739, -0.41073134541511536, 0.31224527955055237, 0.2595304846763611, -0.2680495083332062, -0.111994065344333...
func NewChatMessageAttachment()(*ChatMessageAttachment) { m := &ChatMessageAttachment{ } m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); m.SetAdditionalData(make(map[string]any)) return m }
[ -0.03830309957265854, -1.3309324979782104, 0.030934926122426987, -0.3727874457836151, -0.5238671898841858, 0.20044535398483276, 0.0604410246014595, -0.16050106287002563, -0.6849340796470642, -0.508284866809845, -0.2232849895954132, -0.1282678246498108, -0.9986193776130676, 0.68206143379211...
func CreateChatMessageAttachmentFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { return NewChatMessageAttachment(), nil }
[ 0.27982139587402344, -0.7603455185890198, 0.3710341155529022, 0.11139707267284393, -1.1343178749084473, 0.8909873366355896, 0.1941402107477188, -0.12208936363458633, -0.054489754140377045, -0.5729287266731262, 0.13502976298332214, 0.37889543175697327, -0.0704120621085167, 1.057098865509033...
func (m *ChatMessageAttachment) GetAdditionalData()(map[string]any) { val , err := m.backingStore.Get("additionalData") if err != nil { panic(err) } if val == nil { var value = make(map[string]any); m.SetAdditionalData(value); } return val.(map[string]any) }
[ 0.4720119535923004, -0.4851227104663849, 0.26711663603782654, -0.2040027230978012, -1.0784276723861694, 0.7542082071304321, -0.36718273162841797, -0.5896344184875488, 0.9372941255569458, -1.0022902488708496, 0.046213068068027496, 0.9037496447563171, -0.09382104873657227, 0.3897863030433655...
func (m *ChatMessageAttachment) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { return m.backingStore }
[ 0.6238574981689453, -0.593130350112915, 0.34709250926971436, -0.31008243560791016, -0.09806913882493973, 0.5427883863449097, 1.0766605138778687, -0.8106192350387573, 0.4434139132499695, -0.9873858094215393, 0.8573783040046692, 0.2161080539226532, -1.7781697511672974, -0.7231324315071106, ...
func (m *ChatMessageAttachment) GetContent()(*string) { val, err := m.GetBackingStore().Get("content") if err != nil { panic(err) } if val != nil { return val.(*string) } return nil }
[ 0.9622410535812378, -0.1567409485578537, 0.20331542193889618, 0.7203292846679688, -0.1858481615781784, 0.7526555061340332, 0.3860379457473755, -1.34027898311615, 0.42145833373069763, -0.11653417348861694, 0.7036380767822266, -0.24103394150733948, -0.4783119857311249, -1.2348684072494507, ...
func (m *ChatMessageAttachment) GetContentType()(*string) { val, err := m.GetBackingStore().Get("contentType") if err != nil { panic(err) } if val != nil { return val.(*string) } return nil }
[ 1.2854782342910767, -0.22476987540721893, 0.1166606917977333, 0.7800726890563965, 0.10090994834899902, 0.41616567969322205, 0.43256622552871704, -0.8665214776992798, 0.4856031835079193, -0.23668597638607025, 0.8320457339286804, 0.2592425048351288, -0.6846727728843689, -0.34231650829315186,...
func (m *ChatMessageAttachment) GetContentUrl()(*string) { val, err := m.GetBackingStore().Get("contentUrl") if err != nil { panic(err) } if val != nil { return val.(*string) } return nil }
[ 0.7514258623123169, -0.5083334445953369, 0.2087240368127823, 0.8822368383407593, -0.1666935533285141, 0.9333966970443726, 0.7532608509063721, -0.7325987815856934, 0.19118058681488037, 0.05200938880443573, 0.5841075778007507, 0.0070082698948681355, -0.6075766682624817, -0.7377374768257141, ...
func (m *ChatMessageAttachment) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["content"] = func (n i878a80d2330e89...
[ 0.31946197152137756, -0.2527555823326111, 0.7173798680305481, -1.0550274848937988, -0.34656912088394165, -0.6274471282958984, 0.673128068447113, -0.4176929295063019, -0.9438886046409607, -0.902224600315094, -0.5969763994216919, 0.1480274200439453, -0.8227710127830505, 0.1793915331363678, ...
func (m *ChatMessageAttachment) GetId()(*string) { val, err := m.GetBackingStore().Get("id") if err != nil { panic(err) } if val != nil { return val.(*string) } return nil }
[ 1.1256955862045288, -0.3627692759037018, 0.38386544585227966, 1.015006422996521, 0.14542971551418304, 1.3480846881866455, 0.07995737344026566, -0.9989003539085388, 1.2429159879684448, -0.45283836126327515, 0.5715112686157227, 0.1506078988313675, -0.40941956639289856, -0.2720673084259033, ...
func (m *ChatMessageAttachment) GetName()(*string) { val, err := m.GetBackingStore().Get("name") if err != nil { panic(err) } if val != nil { return val.(*string) } return nil }
[ 0.5928651690483093, -0.3770165741443634, 0.5294790863990784, 0.7241399884223938, -0.27310487627983093, 0.36547160148620605, 0.2283976674079895, -1.136030912399292, 0.1398070752620697, 0.35011714696884155, 0.3397378623485565, -0.19332298636436462, -0.16815097630023956, -0.4321243464946747, ...
func (m *ChatMessageAttachment) GetTeamsAppId()(*string) { val, err := m.GetBackingStore().Get("teamsAppId") if err != nil { panic(err) } if val != nil { return val.(*string) } return nil }
[ 1.237219214439392, -0.39417949318885803, 0.055630724877119064, 0.24756240844726562, -0.5606822371482849, 1.2190406322479248, 0.3761042356491089, -0.6999900341033936, 0.9553369879722595, 0.5673983693122864, -0.6534222364425659, -0.42984405159950256, 0.515271782875061, -0.021168874576687813,...
func (m *ChatMessageAttachment) GetThumbnailUrl()(*string) { val, err := m.GetBackingStore().Get("thumbnailUrl") if err != nil { panic(err) } if val != nil { return val.(*string) } return nil }
[ 0.2580258846282959, 0.36982443928718567, 0.22158493101596832, 1.0833444595336914, 0.5926847457885742, 0.39745309948921204, 0.45011770725250244, 0.06374956667423248, 0.2611551880836487, -0.027667948976159096, -0.2240041345357895, -0.4060904085636139, 0.03411254286766052, -0.5386837720870972...
func (m *ChatMessageAttachment) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { { err := writer.WriteStringValue("content", m.GetContent()) if err != nil { return err } } { err := writer.WriteStringV...
[ -0.0589534267783165, -0.4846152067184448, 0.5119854807853699, -0.46944811940193176, 0.000304083718219772, -0.21749289333820343, 0.7945290803909302, -0.5461176633834839, -0.46715018153190613, -0.22023358941078186, -0.36600783467292786, 0.28882116079330444, -0.23857684433460236, 0.4150933325...
func (m *ChatMessageAttachment) SetAdditionalData(value map[string]any)() { err := m.GetBackingStore().Set("additionalData", value) if err != nil { panic(err) } }
[ 0.40205246210098267, -0.09427893906831741, -0.025430843234062195, -0.03724425658583641, -0.7545285224914551, 1.643812656402588, 0.08225620537996292, -0.8360238075256348, 0.5142062902450562, -0.8818142414093018, -0.2102346271276474, 0.6615275740623474, -0.08171723783016205, 0.51564824581146...
func (m *ChatMessageAttachment) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { m.backingStore = value }
[ 0.24938787519931793, -0.09271323680877686, 0.23368804156780243, -0.3722742795944214, -0.2328188419342041, 0.711804986000061, 1.1170234680175781, -0.9015821218490601, -0.2935289740562439, -0.4119800329208374, 0.18329648673534393, -0.5426621437072754, -0.9555880427360535, 0.04168528690934181...
func (m *ChatMessageAttachment) SetContent(value *string)() { err := m.GetBackingStore().Set("content", value) if err != nil { panic(err) } }
[ 0.430425226688385, 0.09572719782590866, 0.08803949505090714, 0.6265720725059509, -0.17334721982479095, 1.49709153175354, 0.3245488703250885, -0.8979476690292358, -0.3330927789211273, -0.06404829770326614, -0.11035674810409546, -0.9010900855064392, -0.4462077021598816, -0.618303120136261, ...
func (m *ChatMessageAttachment) SetContentType(value *string)() { err := m.GetBackingStore().Set("contentType", value) if err != nil { panic(err) } }
[ 0.7820071578025818, -0.08693783730268478, 0.0032652816735208035, 0.7038198709487915, -0.1851627081632614, 0.8868089318275452, 0.48784902691841125, -0.6385597586631775, -0.113309346139431, 0.0035890124272555113, -0.0841655358672142, -0.40979263186454773, -0.4789828956127167, 0.3242711424827...
func (m *ChatMessageAttachment) SetContentUrl(value *string)() { err := m.GetBackingStore().Set("contentUrl", value) if err != nil { panic(err) } }
[ 0.2420070916414261, -0.3905501365661621, 0.04766414314508438, 0.5054683685302734, -0.4597483277320862, 1.4046862125396729, 0.7883367538452148, -0.3679586350917816, -0.39194127917289734, 0.2756381630897522, -0.3051658272743225, -0.4297219514846802, -0.5694578289985657, -0.3338208794593811, ...
func (m *ChatMessageAttachment) SetId(value *string)() { err := m.GetBackingStore().Set("id", value) if err != nil { panic(err) } }
[ 0.24943387508392334, -0.42716172337532043, 0.24067281186580658, 0.9240608811378479, -0.15816600620746613, 2.1132352352142334, 0.1162516251206398, -0.6942158341407776, 0.7207352519035339, -0.5155509114265442, -0.42359310388565063, -0.4412137567996979, -0.3689139783382416, 0.3095064759254455...
func (m *ChatMessageAttachment) SetName(value *string)() { err := m.GetBackingStore().Set("name", value) if err != nil { panic(err) } }
[ -0.06571124494075775, -0.1804930418729782, 0.3832343816757202, 0.6764002442359924, -0.7182354927062988, 0.9848145246505737, 0.2957727909088135, -0.8886291980743408, -0.3228989243507385, 0.49742019176483154, -0.654499351978302, -0.8465901017189026, -0.14976762235164642, 0.15765781700611115,...
func (m *ChatMessageAttachment) SetTeamsAppId(value *string)() { err := m.GetBackingStore().Set("teamsAppId", value) if err != nil { panic(err) } }
[ 0.8306112289428711, -0.4495067000389099, -0.15016815066337585, -0.04143685847520828, -0.6589623689651489, 1.2270150184631348, 0.05326884239912033, -0.6111551523208618, 0.43299028277397156, 0.9342387914657593, -1.3011128902435303, -0.9601565599441528, 0.606570839881897, 0.46562460064888, ...
func (m *ChatMessageAttachment) SetThumbnailUrl(value *string)() { err := m.GetBackingStore().Set("thumbnailUrl", value) if err != nil { panic(err) } }
[ -0.29123932123184204, 0.40333741903305054, 0.10610270500183105, 0.7598060965538025, 0.3702233135700226, 0.7120091319084167, 0.7056497931480408, 0.11533112078905106, -0.3210920989513397, 0.5344269275665283, -1.0596420764923096, -0.97322016954422, 0.22406405210494995, -0.412484735250473, -...
func (db *PSQL) CreateOrganization(organization *models.Organization) error { return nil }
[ -0.6486417055130005, 0.4258244037628174, 0.2823171317577362, 0.956098735332489, 0.7308225035667419, -0.1536133587360382, 0.5215644836425781, -0.32334309816360474, -0.01589273288846016, 0.42866721749305725, -0.49060314893722534, -1.1064484119415283, -0.35483428835868835, 0.9992271065711975,...