text
stringlengths
11
6.3k
embedding
listlengths
768
768
func (h *Hub) Version() (result string, err error) { return h.client.sendXPathRequest(mySagemcomBoxDeviceInfoProductClass) }
[ -1.4837353229522705, -0.46479877829551697, 0.3414066433906555, 1.4251652956008911, 0.5876445174217224, 0.24152600765228271, 0.9699119329452515, -0.7161589860916138, 0.5167619585990906, 0.562639057636261, -0.8496222496032715, -0.617257297039032, -0.5725614428520203, 0.08717497438192368, 1...
func (h *Hub) WiFiSecurityMode() (result string, err error) { return h.client.sendXPathRequest(mySagemcomBoxDeviceInfoWifi24SecurityMode) }
[ -0.7364338040351868, 0.4851488471031189, 0.44810956716537476, 1.045449137687683, 0.8617652654647827, -0.8760893940925598, 0.007443908601999283, 0.05808146297931671, 0.00250991340726614, -0.253818154335022, -1.0140877962112427, 0.06435533612966537, -0.9549424052238464, -0.2181573063135147, ...
func (h *Hub) WiFiSSID() (result string, err error) { return h.client.sendXPathRequest(mySagemcomBoxDeviceInfoWifi24Ssid) }
[ -0.4468776285648346, -0.11183301359415054, 0.38796767592430115, 0.3767135441303253, -0.2678835391998291, -0.8453776836395264, 0.06559547036886215, 0.2912125587463379, 1.0988333225250244, 0.05877900868654251, -0.7391923069953918, 0.5389760732650757, -1.3745979070663452, 0.29359060525894165,...
func (o GetAclsAclOutput) Id() pulumi.StringOutput { return o.ApplyT(func(v GetAclsAcl) string { return v.Id }).(pulumi.StringOutput) }
[ 1.6780177354812622, -0.385466068983078, 0.31770750880241394, 0.37585654854774475, 0.10499194264411926, 0.9795178174972534, -0.020812783390283585, 0.36937278509140015, 1.6569713354110718, 0.04707227647304535, 0.2781635522842407, 1.1025164127349854, 0.8790376782417297, -1.5057005882263184, ...
func (o GetAclsAclOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v GetAclsAcl) string { return v.Name }).(pulumi.StringOutput) }
[ 1.214032530784607, -0.7229564189910889, 0.5245518088340759, 0.07324344664812088, -1.0885300636291504, 0.4943654537200928, -0.0551103875041008, -0.20678722858428955, 0.7033514976501465, 0.977981448173523, 0.3839544653892517, 0.9381069540977478, 1.6079446077346802, -1.392316460609436, 0.66...
func (o GetSmartagFlowLogsLogOutput) ActiveAging() pulumi.IntOutput { return o.ApplyT(func(v GetSmartagFlowLogsLog) int { return v.ActiveAging }).(pulumi.IntOutput) }
[ 0.7353430390357971, -0.4303050637245178, 0.5283210277557373, -0.2127249538898468, -0.24633638560771942, 0.4950343370437622, 0.44748687744140625, 0.2367217242717743, 0.6288238763809204, 0.01435946486890316, -0.12331445515155792, 1.4599487781524658, 0.43813496828079224, -1.2409417629241943, ...
func (o GetSmartagFlowLogsLogOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v GetSmartagFlowLogsLog) string { return v.Description }).(pulumi.StringOutput) }
[ 1.6574562788009644, 0.308121919631958, 0.3023148775100708, 0.021603429690003395, -0.2353050410747528, 0.30228614807128906, -0.6417225003242493, -0.1491445153951645, 0.8646069169044495, 0.4994926452636719, 0.05222243443131447, 1.1223286390304565, 0.7334146499633789, -1.2016230821609497, -...
func (o GetSmartagFlowLogsLogOutput) FlowLogId() pulumi.StringOutput { return o.ApplyT(func(v GetSmartagFlowLogsLog) string { return v.FlowLogId }).(pulumi.StringOutput) }
[ 1.4911636114120483, -0.4246707260608673, 0.24534566700458527, 0.2702997326850891, -0.7638645768165588, 1.1551320552825928, 0.0706603154540062, -0.18813683092594147, 1.2837843894958496, -0.04074773192405701, -0.4421125650405884, 1.1789045333862305, 0.750441312789917, -0.6114183068275452, ...
func (o GetSmartagFlowLogsLogOutput) FlowLogName() pulumi.StringOutput { return o.ApplyT(func(v GetSmartagFlowLogsLog) string { return v.FlowLogName }).(pulumi.StringOutput) }
[ 0.967662513256073, -0.5698020458221436, 0.3564485013484955, 0.05448223650455475, -1.090822696685791, 0.783275842666626, 0.06524664163589478, -0.3213770389556885, 0.6739399433135986, 0.2608782649040222, -0.167642280459404, 0.6502726078033447, 1.2145555019378662, -0.8795760273933411, 0.228...
func (o GetSmartagFlowLogsLogOutput) Id() pulumi.StringOutput { return o.ApplyT(func(v GetSmartagFlowLogsLog) string { return v.Id }).(pulumi.StringOutput) }
[ 1.7368091344833374, 0.16244672238826752, 0.3224927484989166, 0.09357266873121262, -0.11238323897123337, 0.6706623435020447, -0.1619977205991745, 0.10688813775777817, 1.3962734937667847, 0.03173845633864403, -0.47220727801322937, 0.9555407166481018, 0.5660752058029175, -1.0945605039596558, ...
func (o GetSmartagFlowLogsLogOutput) InactiveAging() pulumi.IntOutput { return o.ApplyT(func(v GetSmartagFlowLogsLog) int { return v.InactiveAging }).(pulumi.IntOutput) }
[ 0.4939473867416382, -0.2928035259246826, 0.5104435682296753, -0.5497884154319763, -0.4566729664802551, 0.8697928190231323, 0.24471238255500793, 0.20468516647815704, 0.7222573757171631, -0.22252346575260162, 0.09551015496253967, 1.429236650466919, -0.10111436247825623, -0.7785377502441406, ...
func (o GetSmartagFlowLogsLogOutput) LogstoreName() pulumi.StringOutput { return o.ApplyT(func(v GetSmartagFlowLogsLog) string { return v.LogstoreName }).(pulumi.StringOutput) }
[ 0.7597975134849548, -0.3365541696548462, 0.24773870408535004, -0.6121049523353577, -1.0963988304138184, 0.37574756145477295, -0.2324777990579605, -0.05488775670528412, 1.3757810592651367, 0.31398457288742065, 0.2618641257286072, 0.9745661616325378, 0.6129519939422607, -1.165917158126831, ...
func (o GetSmartagFlowLogsLogOutput) NetflowServerIp() pulumi.StringOutput { return o.ApplyT(func(v GetSmartagFlowLogsLog) string { return v.NetflowServerIp }).(pulumi.StringOutput) }
[ 0.18254181742668152, -0.21339501440525055, 0.4065607488155365, 0.418479323387146, -0.5711144804954529, 0.710032045841217, -0.10778233408927917, 0.23364552855491638, 1.148401141166687, -0.42384979128837585, -0.14209973812103271, -0.24139443039894104, 0.22182446718215942, -0.6777011752128601...
func (o GetSmartagFlowLogsLogOutput) NetflowServerPort() pulumi.IntOutput { return o.ApplyT(func(v GetSmartagFlowLogsLog) int { return v.NetflowServerPort }).(pulumi.IntOutput) }
[ 0.8733053803443909, 0.37422889471054077, 0.3901146352291107, 0.3542550802230835, 0.4749036431312561, 0.5065737366676331, 0.6789961457252502, -0.2982866168022156, 1.0471965074539185, -0.37544485926628113, -0.8493266701698303, 0.23874855041503906, -0.32510244846343994, 0.03728024289011955, ...
func (o GetSmartagFlowLogsLogOutput) NetflowVersion() pulumi.StringOutput { return o.ApplyT(func(v GetSmartagFlowLogsLog) string { return v.NetflowVersion }).(pulumi.StringOutput) }
[ 1.3405864238739014, -0.476483553647995, 0.28569769859313965, 0.3891456127166748, 0.1368669867515564, 0.7171323895454407, -0.0402117520570755, -0.14653001725673676, 0.7391597032546997, -0.2438071072101593, -0.9568915367126465, 0.5785146951675415, 0.6734333634376526, -0.3684554994106293, -...
func (o GetSmartagFlowLogsLogOutput) OutputType() pulumi.StringOutput { return o.ApplyT(func(v GetSmartagFlowLogsLog) string { return v.OutputType }).(pulumi.StringOutput) }
[ 1.2274444103240967, 0.29658663272857666, 0.2888287603855133, 0.37028026580810547, 0.11727097630500793, 0.03172492980957031, 0.09130644798278809, -0.38782212138175964, 0.9606014490127563, 0.1783342957496643, 0.02706216275691986, 0.9135258197784424, 0.5500814914703369, -0.937271237373352, ...
func (o GetSmartagFlowLogsLogOutput) ProjectName() pulumi.StringOutput { return o.ApplyT(func(v GetSmartagFlowLogsLog) string { return v.ProjectName }).(pulumi.StringOutput) }
[ 0.8311446905136108, 0.3954133987426758, 0.363214910030365, 0.4003934860229492, -0.4602369964122772, 0.5913057327270508, -0.12968485057353973, 0.26515841484069824, 0.6643624305725098, 0.5130864381790161, 0.5319435000419617, 0.4600980281829834, 0.6325982213020325, -1.310623049736023, -0.31...
func (o GetSmartagFlowLogsLogOutput) ResourceGroupId() pulumi.StringOutput { return o.ApplyT(func(v GetSmartagFlowLogsLog) string { return v.ResourceGroupId }).(pulumi.StringOutput) }
[ 1.5357404947280884, 0.6704099178314209, 0.1783040314912796, -0.5185113549232483, -0.5083543062210083, 0.3942738175392151, 0.10122078657150269, 0.2027599960565567, 0.9230161905288696, -0.3710966408252716, 0.557719886302948, 0.8958094120025635, 0.13534769415855408, -0.2871510088443756, 0.0...
func (o GetSmartagFlowLogsLogOutput) SlsRegionId() pulumi.StringOutput { return o.ApplyT(func(v GetSmartagFlowLogsLog) string { return v.SlsRegionId }).(pulumi.StringOutput) }
[ 1.2234941720962524, 0.1357027292251587, 0.21959911286830902, -0.5869894027709961, 0.48246073722839355, 0.4184461236000061, 0.1989821344614029, 0.5415154695510864, 1.433344841003418, -0.4957772493362427, -0.2980870306491852, 1.5782980918884277, -0.12992353737354279, -0.7173810005187988, -...
func (o GetSmartagFlowLogsLogOutput) Status() pulumi.StringOutput { return o.ApplyT(func(v GetSmartagFlowLogsLog) string { return v.Status }).(pulumi.StringOutput) }
[ 1.364658236503601, -0.44074222445487976, 0.23387055099010468, -0.13564273715019226, -0.33935999870300293, 0.5952615737915039, -0.4397565424442291, 0.3323988914489746, 1.0343048572540283, 0.14011691510677338, -0.5393109321594238, 1.0937960147857666, 1.0749354362487793, -0.9697744250297546, ...
func (o GetSmartagFlowLogsLogOutput) TotalSagNum() pulumi.IntOutput { return o.ApplyT(func(v GetSmartagFlowLogsLog) int { return v.TotalSagNum }).(pulumi.IntOutput) }
[ 0.6633479595184326, 0.4704211354255676, 0.621154248714447, -0.2239396572113037, 0.5096505284309387, -0.5835137367248535, 0.7441624999046326, 0.2938302755355835, 0.9823188185691833, -0.6054577827453613, -1.0404974222183228, 0.5404844880104065, 0.5998663902282715, -1.4346579313278198, 0.24...
func GetActionAction(c *gin.Context) { result := render.NewResult() defer c.JSON(http.StatusOK, result) idArg := c.Param("id") id, err := strconv.ParseUint(idArg, 10, 64) if nil != err { result.Error(err) return } srv := service.FromContext(c) data, err := srv.Actions.Find(c, id) if nil == data { resu...
[ -0.7101088166236877, -0.602787435054779, 0.6532124280929565, -0.4847545027732849, 0.9842657446861267, -0.049843475222587585, 0.8479799032211304, -0.6089127659797668, 0.6540259718894958, 0.6672248840332031, -0.7516364455223083, 1.187491774559021, -0.4975334107875824, 0.6897715330123901, -...
func DeleteActionAction(c *gin.Context) { result := render.NewResult() defer c.JSON(http.StatusOK, result) idArg := c.Param("id") id, err := strconv.ParseUint(idArg, 10, 64) if nil != err { result.Error(err) return } srv := service.FromContext(c) if err := srv.Actions.Delete(c, id); nil != err { result...
[ -0.5958287715911865, -1.2469922304153442, 0.5010842680931091, -0.23588815331459045, 0.48928728699684143, 0.28498029708862305, 1.077977180480957, -0.1776512861251831, 1.1347386837005615, 0.4977869391441345, -0.5365393161773682, 0.8310977816581726, -0.2795465886592865, 0.6266217231750488, ...
func UpdateActionAction(c *gin.Context) { result := render.NewResult() defer c.JSON(http.StatusOK, result) idArg := c.Param("id") id, err := strconv.ParseUint(idArg, 10, 64) if nil != err { result.Error(err) return } action := &model.Action{Model: model.Model{ID: uint64(id)}} if err := c.BindJSON(action)...
[ -1.3273966312408447, -1.7750699520111084, 0.5984042286872864, -0.29594969749450684, -0.11794187128543854, 0.5126973986625671, 0.8130519986152649, -0.2878866493701935, 0.6696490049362183, 1.3328673839569092, -0.8997464179992676, 0.6225433945655823, -0.4528242349624634, 0.25732043385505676, ...
func AddActionAction(c *gin.Context) { result := render.NewResult() defer c.JSON(http.StatusOK, result) action := &model.Action{} if err := c.BindJSON(action); nil != err { result.Error(err) return } srv := service.FromContext(c) if err := srv.Actions.Create(c, action); nil != err { result.Error(err) }...
[ -0.7965254187583923, -0.9127745032310486, 0.7676454782485962, -0.24035364389419556, 0.5650036334991455, 0.5124156475067139, 0.6364022493362427, -0.31638261675834656, 0.7751660346984863, 0.5067905783653259, -0.6893461346626282, 0.3299499452114105, -0.3838779926300049, 0.6936843395233154, ...
func RequireMakeTempDir(t *testing.T, dirname string) string { newdir, err := os.MkdirTemp("", dirname) require.NoError(t, err) return newdir }
[ -0.7774755358695984, -0.09005091339349747, 0.4588683843612671, -0.5594744682312012, -0.7936167120933533, 0.9732884168624878, 0.7613488435745239, -0.35245099663734436, 0.4329729378223419, -0.014398718252778053, -0.41919374465942383, -0.43605297803878784, -1.0233019590377808, 0.4550583660602...
func RequireOpenTempFile(t *testing.T, suffix string) (*os.File, string) { file, err := os.CreateTemp("", suffix) require.NoError(t, err) name := file.Name() return file, name }
[ 0.09484172612428665, -0.8978257775306702, 0.5892341136932373, -0.9036072492599487, -0.9331319332122803, 1.1284717321395874, 0.753376841545105, 0.7241832613945007, -0.9749647378921509, -0.11117663234472275, -1.1496191024780273, -0.3433918356895447, -0.063149593770504, 0.24633526802062988, ...
func RequireReadLink(t *testing.T, path string) string { target, err := os.Readlink(path) require.NoError(t, err) return target }
[ -0.3254375457763672, -0.7299144268035889, 0.3968678116798401, -0.7155959606170654, -0.2860797047615051, 0.5761330723762512, 0.08657009154558182, -0.5103194713592529, -0.37900102138519287, -0.29505881667137146, 0.8015298247337341, 0.5120429992675781, -0.15784065425395966, -0.072476662695407...
func closeRedis(request *Request, conn redis.Conn) { if config.RedisConnectionsDebug { rawLog(1, request, "Called closeRedis with conn %p", conn) } if conn == nil { rawLog(1, request, "nil connection passed to closeRedis") return } if err := conn.Close(); err != nil { rawLog(1, request, "Error closing redi...
[ -1.3055663108825684, -0.39037907123565674, 0.6862936615943909, 0.07770326733589172, -0.2842152416706085, 0.44366195797920227, -1.0431987047195435, -0.13477902114391327, 0.4910837411880493, -0.7150476574897766, 0.8268333077430725, 0.17184960842132568, -0.09446152299642563, 0.890984952449798...
func NewMockProvider(ctrl *gomock.Controller) *MockProvider { mock := &MockProvider{ctrl: ctrl} mock.recorder = &MockProviderMockRecorder{mock} return mock }
[ -0.0986453965306282, 0.3910309672355652, 0.1117168515920639, 0.9454098343849182, -0.013698438182473183, 0.3810182213783264, 0.4250999093055725, -0.7669780254364014, 0.9146217107772827, 1.1438515186309814, -0.5733456611633301, -0.20803387463092804, -0.581371009349823, 1.1119866371154785, ...
func (m *MockProvider) EXPECT() *MockProviderMockRecorder { return m.recorder }
[ -0.3054896295070648, 0.16834166646003723, 0.21436446905136108, 0.5335744023323059, 0.1627933233976364, 0.31428954005241394, 0.037487275898456573, 0.22436587512493134, 1.0293400287628174, 0.4481503367424011, 0.2966248691082001, 0.9902622103691101, -0.9623739123344421, 0.3121325671672821, ...
func (m *MockProvider) KMSDecryptEnv(arg0, arg1 string) { m.ctrl.T.Helper() m.ctrl.Call(m, "KMSDecryptEnv", arg0, arg1) }
[ -0.9124885201454163, 0.19754861295223236, 0.5692619681358337, 0.3264390230178833, 0.49205470085144043, 0.6167488694190979, 0.3190738260746002, 0.007529504131525755, -1.094074010848999, -0.042753949761390686, -0.06844175606966019, 0.290401816368103, -0.16675707697868347, 1.1338824033737183,...
func (mr *MockProviderMockRecorder) KMSDecryptEnv(arg0, arg1 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "KMSDecryptEnv", reflect.TypeOf((*MockProvider)(nil).KMSDecryptEnv), arg0, arg1) }
[ -0.6401885747909546, 0.6933871507644653, 0.3392125070095062, 0.14629732072353363, -0.11056990921497345, 0.557765543460846, -0.5245171189308167, -0.6505798697471619, -0.08939918130636215, 0.8961739540100098, 0.4168139398097992, 1.0338064432144165, -0.34961187839508057, 1.1957036256790161, ...
func (m *MockProvider) SSMDecryptEnv(arg0, arg1 string) { m.ctrl.T.Helper() m.ctrl.Call(m, "SSMDecryptEnv", arg0, arg1) }
[ -1.2924401760101318, 0.311922550201416, 0.5447990894317627, 0.047609955072402954, 0.640265703201294, 0.5713740587234497, 0.946022629737854, -0.2197394073009491, -1.2319568395614624, -0.11869760602712631, -0.07570810616016388, 0.9027457237243652, -0.2663435637950897, 1.340997338294983, -0...
func (mr *MockProviderMockRecorder) SSMDecryptEnv(arg0, arg1 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SSMDecryptEnv", reflect.TypeOf((*MockProvider)(nil).SSMDecryptEnv), arg0, arg1) }
[ -0.874729335308075, 0.8392567038536072, 0.3350132703781128, -0.06647036224603653, -0.16560140252113342, 0.5646301507949829, -0.06438007950782776, -0.9113248586654663, -0.25792571902275085, 0.7331271171569824, 0.4924726188182831, 1.4956597089767456, -0.5195820927619934, 1.3474767208099365, ...
func createContextID(n int) string { b := make([]rune, n) for i := range b { b[i] = letterRunes[rand.Intn(len(letterRunes))] } return string(b) }
[ 0.11386244744062424, -0.27993568778038025, 0.4663570821285248, -1.000402569770813, 0.3698066473007202, 0.25994500517845154, -0.2145671546459198, -0.4459340274333954, 1.311105728149414, 0.8750938177108765, 0.22132740914821625, 0.14576087892055511, -1.3921946287155151, 0.37682074308395386, ...
func NewActivityLogger(options Options) (*ActivityLogger, error) { var f *os.File var err error if options.OutputFolder != "" { if err := fileutilities.CreateDirs(options.OutputFolder); err != nil { return nil, err } } logPath := path.Join(options.OutputFolder, "c8y.activitylog."+time.Now().Format("2006-01...
[ 0.454733282327652, -0.7374566793441772, 0.6322525143623352, 0.1603657603263855, -1.1777620315551758, -0.09452727437019348, 0.5300359129905701, 0.2568690776824951, 0.5396347641944885, 0.8489832878112793, 0.009354920126497746, -0.21975518763065338, -1.3522675037384033, 0.49223145842552185, ...
func (l *ActivityLogger) GetPath() string { return l.fullName }
[ 0.8778641223907471, -0.9076060652732849, 0.5507542490959167, 0.30575013160705566, -0.7258892059326172, 0.7712687849998474, 0.9197078943252563, -0.47134894132614136, 0.5004400610923767, 0.26777076721191406, -0.15281330049037933, -0.19607047736644745, -0.8642429113388062, 0.5547018051147461,...
func (l *ActivityLogger) LogCommand(cmd *cobra.Command, args []string, cmdStr string, messages ...string) { if l.options.Disabled { return } l.mu.Lock() defer l.mu.Unlock() argc, _ := json.Marshal(os.Args[1:]) if len(messages) > 0 && messages[0] != "" { fmt.Fprintf(l.w, `{"time":"%s","ctx":"%s","type":"co...
[ 0.005257902201265097, -0.28348490595817566, 0.8510658740997314, -0.9655947089195251, 0.7599580883979797, -0.04407864436507225, -0.11564765125513077, -0.2629421055316925, 0.36660921573638916, -0.18175509572029114, 0.1451512575149536, 0.7575961947441101, -0.594130277633667, 0.841247379779815...
func (l *ActivityLogger) LogCustom(message string) { if l.options.Disabled { return } l.mu.Lock() defer l.mu.Unlock() fmt.Fprintf(l.w, `{"time":"%s","ctx":"%s","type":"user","message":"%s"}`+"\n", time.Now().Format(time.RFC3339Nano), l.contextID, message, ) }
[ 0.31707942485809326, -0.24339739978313446, 0.6560975313186646, -0.574717104434967, -0.5164627432823181, -0.2985917031764984, -0.03816595301032066, -0.1570771187543869, 0.26626724004745483, -0.21302813291549683, 0.09140626341104507, 1.1266202926635742, -0.7054760456085205, -0.15109780430793...
func (l *ActivityLogger) LogRequest(resp *http.Response, body *gjson.Result, responseTime int64) { if l.options.Disabled { return } if resp == nil { return } if !strings.Contains(l.options.Methods, resp.Request.Method) { return } query, err := url.QueryUnescape(resp.Request.URL.RawQuery) query = string...
[ -0.5500750541687012, -0.6207900047302246, 1.1252049207687378, -0.5061551332473755, -0.06318207830190659, -0.48303699493408203, -0.15332072973251343, -0.3123091757297516, 0.20288510620594025, 0.07952629774808884, 0.40043845772743225, -0.144576296210289, -0.16638000309467316, 0.1768982112407...
func (l *ActivityLogger) GetLogEntries(filter Filter, onValue func(line []byte) error) error { path := l.GetPath() file, err := os.Open(path) if err != nil { return err } defer file.Close() scan := bufio.NewScanner(file) entry := &RequestEntry{} for scan.Scan() { line := scan.Bytes() err := json.Unmarsh...
[ -0.3614591956138611, -0.4836561381816864, 0.8965054154396057, 0.3226884603500366, -0.4148947596549988, -0.49243462085723877, -0.10745767503976822, -0.3824940323829651, -0.8461615443229675, -0.12083350867033005, -0.15404172241687775, 0.8553372025489807, -0.26601704955101013, 0.5468418002128...
func TestPreForkBlock_BuildBlockWithContext(t *testing.T) { require := require.New(t) ctrl := gomock.NewController(t) pChainHeight := uint64(1337) blkID := ids.GenerateTestID() innerBlk := snowman.NewMockBlock(ctrl) innerBlk.EXPECT().ID().Return(blkID).AnyTimes() innerBlk.EXPECT().Timestamp().Return(mockable.Ma...
[ 0.40481239557266235, 0.18102414906024933, 1.0184037685394287, 1.1063038110733032, 0.1205386072397232, 0.004240168258547783, 0.10903245955705643, -0.26620376110076904, -0.32582157850265503, -0.8008795380592346, -0.8456641435623169, 0.27140724658966064, -0.9393888711929321, 0.566910743713378...
func packBytes(bas... []byte) []byte { var packed []byte for _, ba := range bas { packed = append(packed, ba...) } return packed }
[ 0.12389492988586426, 1.07012939453125, 0.3313616216182709, 1.0600800514221191, 0.2668241262435913, 0.23239478468894958, -0.11530649662017822, -0.041989993304014206, -0.3099336624145508, 0.349836528301239, -0.3346988558769226, -0.006462867371737957, -0.8097915053367615, 1.1211274862289429, ...
func trimmed(bs []byte) []byte { for i, b := range bs { if b == 0x00 { return bs[:i] } } return bs }
[ 0.8844478726387024, -1.0937490463256836, 0.37418296933174133, 0.26047831773757935, 0.20829904079437256, 0.46204468607902527, -0.4514431655406952, -0.7638862729072571, 1.6327906847000122, 0.42601048946380615, -0.331108421087265, 1.1096652746200562, -0.7393179535865784, 0.3072003424167633, ...
func DeleteIngress(client kubernetes.Interface, ns, name string) error { return client.ExtensionsV1beta1().Ingresses(ns).Delete(name, &meta_v1.DeleteOptions{}) }
[ -0.519747793674469, -0.3390008211135864, 0.48200708627700806, -0.023582540452480316, -0.7437546849250793, 0.3433333933353424, -0.6344257593154907, -0.7295776605606079, 0.7577477693557739, 0.403964102268219, -0.5569984316825867, 1.385589838027954, -1.1053407192230225, 0.23145386576652527, ...
func (h *Having) Reindent(buf *bytes.Buffer) error { elements, err := processPunctuation(h.Element) if err != nil { return err } for _, el := range elements { if token, ok := el.(lexer.Token); ok { write(buf, token, h.IndentLevel) } else { el.Reindent(buf) } } return nil }
[ 0.9151479601860046, -0.6301805377006531, 0.657208263874054, -0.14381122589111328, 0.15783099830150604, 0.22378511726856232, 0.0570002980530262, 0.8897236585617065, -1.243820071220398, 0.298461377620697, -0.6928627490997314, 0.4363793432712555, -1.3392683267593384, 0.641706109046936, 0.78...
func (h *Having) IncrementIndentLevel(lev int) { h.IndentLevel += lev }
[ -1.2689822912216187, -0.6230188608169556, 0.46896907687187195, 0.23904290795326233, -0.6921463012695312, 0.8237789273262024, 0.5940920114517212, -0.3614174425601959, 0.09261424094438553, -0.12410429865121841, -1.2364732027053833, 0.34539201855659485, -0.8688003420829773, 0.5926698446273804...
func UpdateDevice(router HTTPPatcher, updater device.Updater) { router.PATCH("/api/devices/:id", updateDeviceHandler(updater)) }
[ -0.9707667231559753, -0.5691856145858765, 0.267426460981369, 1.0148208141326904, -0.2770130932331085, 0.5246379971504211, 0.4755580723285675, 0.36625370383262634, 0.5326368808746338, -0.760168194770813, 0.2025500386953354, 0.2343432903289795, 0.4133274257183075, 1.0004818439483643, 0.330...
func NewDataStore(path string) (*DataStore, error) { s := DataStore{Path: path} if s.Path == "" { return &s, errors.New("No database location specfied in config") } err := s.Open() return &s, err }
[ 0.09972992539405823, -0.13594594597816467, 0.09354224056005478, -0.2579014003276825, -1.2237895727157593, 0.25519317388534546, -0.047950420528650284, 0.2606477737426758, 0.14125683903694153, -0.46976229548454285, -0.4982183873653412, -0.16894029080867767, -0.5006647109985352, 0.62093943357...
func (s *DataStore) APIRootService() cabby.APIRootService { return APIRootService{DB: s.DB, DataStore: s} }
[ -0.08380047976970673, -0.5848169326782227, 0.08273432403802872, -0.8613228797912598, -0.649616539478302, -0.3249276280403137, -1.0695428848266602, -0.3074835538864136, 0.7687093615531921, -0.4219604432582855, -0.33212074637413025, 0.7527652978897095, -0.4387354552745819, 0.1561264395713806...
func (s *DataStore) Close() { err := s.DB.Close() if err != nil { log.WithFields(log.Fields{"error": err}).Error("Failed to close the database connection") } }
[ 0.5709783434867859, 0.5646012425422668, 0.13791976869106293, -0.6112204790115356, -0.5262485146522522, 0.21383701264858246, -0.4204036593437195, 0.5598322749137878, -0.3093973696231842, -0.32995790243148804, 0.273146390914917, 0.43550366163253784, -0.8946687579154968, 1.1337891817092896, ...
func (s *DataStore) CollectionService() cabby.CollectionService { return CollectionService{DB: s.DB, DataStore: s} }
[ 0.46646782755851746, -0.23758439719676971, 0.0828610509634018, -0.5173101425170898, -0.11764837801456451, 0.27760636806488037, -0.3986022174358368, -0.4491877555847168, 0.22481028735637665, -0.948326587677002, -0.24065953493118286, 0.2302483171224594, 0.12134239822626114, 0.786279082298278...
func (s *DataStore) DiscoveryService() cabby.DiscoveryService { return DiscoveryService{DB: s.DB, DataStore: s} }
[ 1.0251893997192383, 0.30852076411247253, -0.05063093453645706, -0.04524747654795647, -0.47725537419319153, -0.28031817078590393, -0.6318734288215637, -0.1837400496006012, 0.5369071364402771, -1.0393115282058716, -0.06173935532569885, 0.04113632068037987, 0.11394742876291275, 0.722249746322...
func (s *DataStore) ManifestService() cabby.ManifestService { return ManifestService{DB: s.DB} }
[ 0.3699512481689453, -0.19564364850521088, -0.03589782863855362, -0.31234994530677795, -1.2019203901290894, -0.4324853718280792, -1.7654200792312622, 0.24587120115756989, 1.0534030199050903, -0.8295316100120544, -0.09016414731740952, 0.4184994697570801, -0.162354975938797, 0.658685028553009...
func (s *DataStore) MigrationService() cabby.MigrationService { ms := NewMigrationService() ms.DB = s.DB return ms }
[ -0.049289245158433914, 0.3964187502861023, 0.13042914867401123, 0.2954215109348297, -0.30488672852516174, -0.2615134119987488, -1.1968549489974976, -0.6839454770088196, 0.15695098042488098, -0.27944642305374146, -0.789979875087738, -0.020783917978405952, -0.5107476711273193, 0.658873140811...
func (s *DataStore) ObjectService() cabby.ObjectService { return ObjectService{DB: s.DB, DataStore: s} }
[ 0.13612693548202515, -0.535995602607727, 0.31002581119537354, -0.4970951974391937, -0.732381284236908, 0.5176267027854919, -0.5845006704330444, -0.05868436023592949, 0.4956451654434204, -0.25793057680130005, -0.6833247542381287, 0.27769389748573303, 0.2952894866466522, 0.14304783940315247,...
func (s *DataStore) Open() (err error) { // set foreign key pragma to true in connection: https://github.com/mattn/go-sqlite3#connection-string s.DB, err = sql.Open("sqlite3", s.Path+"?_fk=true") if err != nil { log.Error(err) } return }
[ -0.27336668968200684, 0.8361868262290955, 0.31612884998321533, -0.2572312355041504, -0.34264618158340454, 0.790755569934845, 0.05589432641863823, 1.6908799409866333, -0.16902026534080505, 0.3146936297416687, 0.4044024646282196, 0.17138537764549255, -0.3023609519004822, -0.09665192663669586...
func (s *DataStore) StatusService() cabby.StatusService { return StatusService{DB: s.DB, DataStore: s} }
[ 0.379671186208725, -0.901399552822113, -0.07068543136119843, -0.044471219182014465, -0.4737069308757782, 0.4991123676300049, -0.765438437461853, 0.6993056535720825, 0.6739153861999512, -0.6422063708305359, -0.523456871509552, 0.15359321236610413, -0.11736030876636505, 0.46979859471321106, ...
func (s *DataStore) UserService() cabby.UserService { return UserService{DB: s.DB, DataStore: s} }
[ 0.2108777016401291, -0.1616765558719635, 0.0664517879486084, -0.12122002243995667, -0.9906215071678162, 0.062195051461458206, -0.13162828981876373, 0.07014305144548416, 0.7516181468963623, -0.6383016705513, -0.5489160418510437, 0.4702180325984955, 0.26472482085227966, 0.3130558729171753, ...
func (s *DataStore) VersionsService() cabby.VersionsService { return VersionsService{DB: s.DB, DataStore: s} }
[ 0.15252633392810822, -0.2323673814535141, -0.17323847115039825, -0.6401483416557312, -0.19172850251197815, 0.014486041851341724, -0.7300283312797546, -0.20730316638946533, 0.4562593400478363, -0.27258405089378357, -0.31836387515068054, 0.011636722832918167, 0.1986263394355774, 0.8245511651...
func (s *DataStore) write(query string, args ...interface{}) error { tx, stmt, err := s.writeOperation(query) if err != nil { log.WithFields(log.Fields{"sql": query, "error": err}).Error("error in sql") return err } defer tx.Commit() defer stmt.Close() return s.execute(stmt, args...) }
[ -1.1279575824737549, 0.6120703816413879, 0.38015443086624146, 0.05291023850440979, 0.3836527168750763, 0.13993734121322632, 0.04660709947347641, 0.440336138010025, -0.21558141708374023, 0.5115583539009094, 0.028085879981517792, -0.5569741725921631, -0.3580460846424103, -0.3535001575946808,...
func (f *Filter) QueryString() (q string, args []interface{}) { var filters []string if !f.AddedAfter.IsZero() { filter, newArgs := filterAddedAfter(f.AddedAfter.String()) if filter != "" { filters = append(filters, filter) args = append(args, newArgs...) } } if len(f.Versions) > 0 { filter, newArgs...
[ -0.28196197748184204, -1.0077404975891113, 0.23646438121795654, -0.8414905071258545, -0.6331863403320312, -0.0844421535730362, 0.030373206362128258, 0.08526244014501572, -0.6816964745521545, 0.1930404007434845, 0.3421735465526581, 0.08080832660198212, 0.3744400441646576, -0.283404946327209...
func (p *Page) QueryString() (q string, args []interface{}) { if p.Valid() { q = "limit ?" args = []interface{}{(p.Limit)} } return }
[ 0.011000057682394981, -0.1434997171163559, 0.38342028856277466, -0.848952054977417, 0.13255292177200317, 0.3692033886909485, -0.3230333924293518, -0.35838624835014343, 0.43899837136268616, 0.20822153985500336, 0.8636913895606995, -0.24757720530033112, -0.46149444580078125, -0.8235957622528...
func ReadJSON(resp *http.Response, out interface{}) error { defer func() { if err := resp.Body.Close(); err != nil { log.Warn(err) } }() if resp.StatusCode >= 400 { body, err := ioutil.ReadAll(resp.Body) if err != nil { return err } return fmt.Errorf("StatusCode: %d, Body: %s", resp.StatusCode, bo...
[ -0.3078365623950958, -0.8547760844230652, 1.0320029258728027, 0.12481505423784256, -1.4997916221618652, -0.39306411147117615, -0.21479152143001556, 0.12811502814292908, 0.4651729166507721, 0.15982751548290253, -0.001680200919508934, 0.8210312128067017, -0.13437530398368835, -0.050101347267...
func NewUpdateSmbShareParams() *UpdateSmbShareParams { var () return &UpdateSmbShareParams{ timeout: cr.DefaultTimeout, } }
[ 0.7208831906318665, -0.4290618896484375, 0.2732630968093872, 1.4793105125427246, -0.8852462768554688, -0.06747682392597198, 0.07098233699798584, 1.0199998617172241, -0.9589812755584717, 0.6517184972763062, -0.7565609216690063, 0.7934702634811401, -1.6331112384796143, 0.5105100274085999, ...
func NewUpdateSmbShareParamsWithTimeout(timeout time.Duration) *UpdateSmbShareParams { var () return &UpdateSmbShareParams{ timeout: timeout, } }
[ 1.2317293882369995, -0.6002429127693176, 0.5085200071334839, 1.3168212175369263, -0.8429713249206543, 0.648862361907959, -0.7129039168357849, 0.7529581785202026, -0.8940495252609253, 1.4473174810409546, -0.46922117471694946, 1.0886080265045166, -1.429766058921814, 0.6690694689750671, -0....
func NewUpdateSmbShareParamsWithContext(ctx context.Context) *UpdateSmbShareParams { var () return &UpdateSmbShareParams{ Context: ctx, } }
[ 0.7584704160690308, -0.653748095035553, 0.6586569547653198, 0.7644914388656616, -0.5979177951812744, 0.9027512669563293, -0.5525991320610046, 0.1417188197374344, -0.49262967705726624, 1.1623456478118896, -0.7525640726089478, 0.7662248015403748, -1.3722453117370605, 0.07233972102403641, -...
func NewUpdateSmbShareParamsWithHTTPClient(client *http.Client) *UpdateSmbShareParams { var () return &UpdateSmbShareParams{ HTTPClient: client, } }
[ 0.5439732074737549, -0.6486510038375854, 0.6423672437667847, 0.9024048447608948, -0.36477130651474, 0.544621467590332, 0.41665565967559814, 0.34092873334884644, -1.1333961486816406, 0.41874945163726807, -0.926213264465332, 0.8561307191848755, -1.0659750699996948, -0.13378916680812836, -0...
func (o *UpdateSmbShareParams) WithTimeout(timeout time.Duration) *UpdateSmbShareParams { o.SetTimeout(timeout) return o }
[ 1.1048684120178223, 0.14556363224983215, 0.42509907484054565, 0.7108978033065796, -0.6016792058944702, 0.40240514278411865, -0.08415840566158295, 0.28835996985435486, -0.00872624572366476, 0.9350932836532593, -0.2774481475353241, 0.7246037721633911, -0.9273830652236938, 0.46840226650238037...
func (o *UpdateSmbShareParams) SetTimeout(timeout time.Duration) { o.timeout = timeout }
[ 0.71728515625, 0.20567303895950317, 0.4411301016807556, 0.8200045228004456, -0.038350388407707214, 0.7031974792480469, 0.24762789905071259, 0.5184088945388794, -0.5811098217964172, 0.951749324798584, -0.21886733174324036, 0.6802974343299866, -1.494970440864563, 0.5308607816696167, -0.696...
func (o *UpdateSmbShareParams) WithContext(ctx context.Context) *UpdateSmbShareParams { o.SetContext(ctx) return o }
[ 0.30472829937934875, 0.16049350798130035, 0.5442975759506226, 0.6281217932701111, -0.7289742231369019, 0.5189753770828247, -0.14605215191841125, -0.2944786846637726, 0.5335727334022522, 0.48154935240745544, -0.5258359313011169, 0.4292163848876953, -1.3658744096755981, -0.1167484000325203, ...
func (o *UpdateSmbShareParams) SetContext(ctx context.Context) { o.Context = ctx }
[ 0.09982577711343765, 0.25830474495887756, 0.4548337459564209, 0.8525072932243347, -0.05676267296075821, 0.5591475367546082, 0.17403769493103027, -0.048802755773067474, 0.34616726636886597, 0.5830687880516052, -0.4692753851413727, 0.5533856749534607, -1.5676827430725098, 0.02148490771651268...
func (o *UpdateSmbShareParams) WithHTTPClient(client *http.Client) *UpdateSmbShareParams { o.SetHTTPClient(client) return o }
[ 0.6474761366844177, -0.6782503724098206, 0.4531765580177307, 0.28536832332611084, -0.5264163017272949, 0.1166800856590271, 0.5152350664138794, -0.192006453871727, -0.3290710151195526, -0.037483979016542435, -0.4397175908088684, 0.49603959918022156, -0.7204810976982117, -0.5350345969200134,...
func (o *UpdateSmbShareParams) SetHTTPClient(client *http.Client) { o.HTTPClient = client }
[ 0.8005537986755371, -0.4075854420661926, 0.4289669394493103, -0.035973090678453445, -0.4837144911289215, 0.03022526018321514, 0.8605676293373108, -0.10019762068986893, -0.9480335712432861, 0.1723875254392624, -0.5949370265007019, 0.868004560470581, -1.425449252128601, -0.5989464521408081, ...
func (o *UpdateSmbShareParams) WithSmbShare(smbShare *models.SmbShare) *UpdateSmbShareParams { o.SetSmbShare(smbShare) return o }
[ 0.8692764639854431, -0.44073617458343506, 0.3861401379108429, 1.3632545471191406, -1.0461294651031494, 0.2606750428676605, -0.8343325853347778, -0.23824357986450195, -0.12493780255317688, 0.5979297161102295, -0.24908147752285004, 0.2266559600830078, -1.5727958679199219, 0.9758883714675903,...
func (o *UpdateSmbShareParams) SetSmbShare(smbShare *models.SmbShare) { o.SmbShare = smbShare }
[ 0.4035104513168335, -0.44789016246795654, 0.39980316162109375, 1.3111047744750977, -0.5670179128646851, 0.46046045422554016, -0.18502655625343323, 0.3502289056777954, -0.32076889276504517, 0.4143097400665283, -0.779313325881958, 0.8581997156143188, -2.1143429279327393, 1.1178244352340698, ...
func (o *UpdateSmbShareParams) WithSmbShareID(smbShareID string) *UpdateSmbShareParams { o.SetSmbShareID(smbShareID) return o }
[ 1.1903371810913086, -0.7159121632575989, 0.4926488697528839, 1.0773931741714478, -1.1457408666610718, 0.4503536820411682, -0.5421346426010132, 0.16686709225177765, 0.5137655138969421, 0.975464403629303, -0.129471555352211, 0.793704628944397, -1.265697717666626, 1.2614468336105347, -0.469...
func (o *UpdateSmbShareParams) SetSmbShareID(smbShareID string) { o.SmbShareID = smbShareID }
[ 0.7373464703559875, -0.9549750685691833, 0.4296387732028961, 1.0341118574142456, -0.6069428324699402, 0.666438102722168, -0.10655080527067184, 0.8517929315567017, 0.1979442685842514, 0.7277520298957825, -0.5275067687034607, 1.3612127304077148, -1.8272823095321655, 1.507511019706726, -0.8...
func (o *UpdateSmbShareParams) WithZone(zone *string) *UpdateSmbShareParams { o.SetZone(zone) return o }
[ 0.021744193509221077, 0.0345674604177475, 0.1467418670654297, 1.0068511962890625, -0.40934503078460693, -0.10947663336992264, 0.7133818864822388, 0.586081862449646, 0.4111745357513428, 0.12455283105373383, -0.6157002449035645, 0.0176696740090847, -1.648222804069519, 0.4073144793510437, -...
func (o *UpdateSmbShareParams) SetZone(zone *string) { o.Zone = zone }
[ -0.20499750971794128, -0.13302434980869293, 0.20202969014644623, 1.392577886581421, -0.03621548414230347, -0.05128707364201546, 0.9667840003967285, 0.9641051888465881, -0.006146858911961317, 0.28886717557907104, -0.6932597160339355, 0.4267057776451111, -2.0741207599639893, 0.74056202173233...
func (o *UpdateSmbShareParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error { if err := r.SetTimeout(o.timeout); err != nil { return err } var res []error if o.SmbShare != nil { if err := r.SetBodyParam(o.SmbShare); err != nil { return err } } // path param SmbShareId if err := ...
[ -0.37930411100387573, -0.2357182800769806, 1.0528147220611572, 0.2797350585460663, 0.34145480394363403, 0.0396500825881958, 1.353455901145935, 0.28037166595458984, -0.20296305418014526, 0.48470592498779297, -0.10101945698261261, 0.9760787487030029, -1.1255007982254028, 0.3525870740413666, ...
func NewDeleteCmd(globalCfg *config.GlobalImpl) *cobra.Command { deleteOptions := config.NewDeleteOptions() cmd := &cobra.Command{ Use: "delete", Short: "DEPRECATED: delete releases from state file (helm delete)", RunE: func(cmd *cobra.Command, args []string) error { deleteImpl := config.NewDeleteImpl(glo...
[ 0.3755098581314087, -0.8853679299354553, 0.853756308555603, -0.04876622557640076, 0.21347931027412415, -0.1653701215982437, 0.5827282667160034, -0.17833632230758667, -0.13842009007930756, -0.11454392969608307, 0.23353788256645203, 0.36076486110687256, 0.015129921957850456, 0.65273696184158...
func (handle *Handle) Pointer() unsafe.Pointer { return unsafe.Pointer(handle.x) }
[ 1.004347801208496, -0.7147318124771118, 0.20142501592636108, -0.2806798219680786, 0.7383098006248474, 1.309770107269287, 0.3700439929962158, -1.117834210395813, 0.2979203760623932, -0.9713588953018188, 0.6532130241394043, 0.33690977096557617, -0.6957272291183472, -0.5534986853599548, 1.1...
func NewHandle() *Handle { var handle C.cudnnHandle_t err := Status(C.cudnnCreate(&handle)).error("NewHandle") if err != nil { panic(err) } var handler = &Handle{x: handle} runtime.SetFinalizer(handler, destroyhandle) return handler }
[ 0.7600660920143127, -0.34813785552978516, 0.15003667771816254, 0.8323256373405457, 0.1296941637992859, 0.44232478737831116, -0.28139379620552063, -0.23163780570030212, 0.07702689617872238, -1.1178417205810547, 0.4021488130092621, -0.19914822280406952, -1.177121639251709, -0.683036923408508...
func (handle *Handle) create() error { y := C.cudnnCreate(&handle.x) return Status(y).error("(*Handle).Create") }
[ 0.5176172852516174, 0.06900782883167267, 0.19861942529678345, 0.9099336862564087, 1.1882301568984985, 0.7521876692771912, 0.22344183921813965, -0.6086535453796387, -0.7286474704742432, -0.9206451177597046, -0.1741926372051239, -0.3148244023323059, -0.5011460185050964, 0.14232274889945984, ...
func (handle *Handle) Destroy() error { y := C.cudnnDestroy(handle.x) return Status(y).error("(*Handle).Destroy") }
[ 0.343802273273468, -0.07394812256097794, 0.14692185819149017, -0.005686310585588217, 0.8779320120811462, 0.5416499376296997, -0.10302842408418655, 0.15397529304027557, 0.0008949456387199461, -0.25271761417388916, 0.02148067019879818, -0.552171528339386, -1.0195974111557007, 0.1548386216163...
func (handle *Handle) SetStream(s *Stream) error { y := C.cudnnSetStream(handle.x, s.stream) return Status(y).error("(*Handle).SetStream") }
[ 0.31114038825035095, 0.2455022931098938, 0.2722666263580322, 1.3594374656677246, -0.22294770181179047, 0.22941875457763672, 0.5660985708236694, -0.1181044727563858, 0.4465867280960083, -1.2942224740982056, -0.5404766201972961, 0.4891819357872009, 0.032112959772348404, 0.8656054139137268, ...
func (handle *Handle) GetStream() (Stream, error) { var s Stream var some *C.cudaStream_t //x := C.cudnnHandle_t(handle.Pointer()) y := C.cudnnGetStream(handle.x, some) s.stream = *some return s, Status(y).error("(*Handle).GetStream") }
[ 0.4896835684776306, 0.3559788167476654, 0.6410777568817139, 1.3420367240905762, 0.29432475566864014, -0.5678839683532715, 0.6034684181213379, -0.7534854412078857, 0.4355943202972412, -1.0528048276901245, 0.0991976335644722, 0.5788074731826782, -0.20685847103595734, 0.4513022005558014, 0....
func (server *SServer) Close() error { var err error for _, listener := range server.listeners { if err_ := listener.Close(); err_ != nil && err == nil { err = err_ } } return err }
[ -0.3416149914264679, -0.5199861526489258, 0.6516962051391602, -0.23781812191009521, 0.241861492395401, 0.6744674444198608, -0.02155839279294014, -0.2584307789802551, -0.7578798532485962, -0.05364823713898659, 0.2795308828353882, 0.24529145658016205, -1.0912351608276367, 1.4875842332839966,...
func (server *SServer) handleConnection(connection net.Conn) { wrappedConnection, clientId, err := server.config.ConnectionWrapper.WrapServer(connection) if err != nil { log.WithError(err).Println("can't wrap connection from acraproxy") if closeErr := connection.Close(); closeErr != nil { log.WithError(closeEr...
[ -0.24226507544517517, -0.001516709802672267, 0.661033034324646, -0.19918733835220337, -0.021051669493317604, -0.45106828212738037, 0.19654963910579681, -0.07088545709848404, 0.29866406321525574, 0.5102182030677795, 0.14788463711738586, -0.6109480261802673, 0.14871205389499664, -0.086998611...
func (server *SServer) Start() { listener, err := network.Listen(server.config.GetAcraConnectionString()) if err != nil { log.WithError(err).Errorln("can't start listen connections") return } defer listener.Close() server.addListener(listener) log.Infof("start listening %s", server.config.GetAcraConnectionStr...
[ -0.05711478739976883, -0.6985895037651062, 0.6791797876358032, -0.5416155457496643, 0.2381753921508789, 0.4899241328239441, -0.04590464010834694, 0.6382685899734497, -0.7090278267860413, 0.12776896357536316, 0.05365164577960968, 1.1983298063278198, 0.4011952579021454, 0.47752344608306885, ...
func (server *SServer) handleCommandsConnection(connection net.Conn) { clientSession, err := NewClientCommandsSession(server.keystorage, server.config, connection) if err != nil { log.WithError(err).Errorln("can't init session") return } wrappedConnection, _, err := server.config.ConnectionWrapper.WrapServer(c...
[ -0.49295443296432495, -0.7299197912216187, 0.6005923748016357, -0.05022555962204933, 0.26430973410606384, -0.18741250038146973, -0.04266895353794098, -0.5387255549430847, 0.1996302753686905, -0.26603055000305176, 0.16047030687332153, -0.8409118056297302, 0.0738784521818161, 0.2754642367362...
func (server *SServer) StartCommands() { listener, err := network.Listen(server.config.GetAcraAPIConnectionString()) if err != nil { log.WithError(err).Errorln("can't start listen command connections") return } defer listener.Close() server.addListener(listener) log.Infof("start listening api %s", server.conf...
[ -0.36594948172569275, -0.7092223763465881, 0.6341876983642578, -0.3007355332374573, 0.5247343182563782, 0.15201225876808167, 0.37215059995651245, -0.09885485470294952, -0.6155779361724854, -0.4576803147792816, 0.20613175630569458, 0.2808617651462555, -0.03429161012172699, 0.523331522941589...
func Current() (*User, error) { return current() }
[ -0.4686710238456726, -0.8279772400856018, 0.15084069967269897, 0.8522378206253052, -0.9416947960853577, 0.581416666507721, 0.9043456315994263, -0.7285453677177429, -0.40564319491386414, -1.0783883333206177, 0.3568352460861206, 1.5166445970535278, 0.8890515565872192, -0.28410637378692627, ...
func CurrentGroup() (*Group, error) { return currentGroup() }
[ -0.3084293603897095, 0.17019377648830414, 0.08152603358030319, 0.7813435196876526, -0.9434126019477844, -0.47309693694114685, 0.4982192814350128, -0.728038489818573, -0.21659055352210999, -0.5030094981193542, 0.5175996422767639, 1.3894720077514648, -0.34021642804145813, 0.25540488958358765...
func (u *User) In(g *Group) (bool, error) { return userInGroup(u, g) }
[ -0.9054911732673645, 0.17330670356750488, 0.43588754534721375, 0.6311878561973572, -1.2982720136642456, 0.6618448495864868, 0.5440433621406555, 0.06858762353658676, -0.8150364756584167, -0.2688469886779785, -0.22795948386192322, 0.9398664236068726, -0.5416151285171509, -0.00304270605556666...
func (g *Group) Members() ([]string, error) { return groupMembers(g) }
[ -1.0444200038909912, -0.1426864117383957, -0.1754082590341568, 0.31038543581962585, 0.4245366156101227, 0.07521594315767288, -0.41586586833000183, -0.7548750638961792, -0.30109670758247375, -0.08085733652114868, -0.16231146454811096, 0.7634044885635376, -0.8535068035125732, 0.4423930346965...
func (lc *LicenseCreate) SetCreateTime(t time.Time) *LicenseCreate { lc.mutation.SetCreateTime(t) return lc }
[ -0.3074330687522888, -0.1287013739347458, 0.2111416906118393, -0.08814868330955505, 0.5589199662208557, 0.07028033584356308, -0.5476380586624146, 0.43733224272727966, 0.15334278345108032, 0.6591706871986389, -1.1102380752563477, -1.1686217784881592, 0.0992303416132927, 1.2949564456939697, ...
func (lc *LicenseCreate) SetNillableCreateTime(t *time.Time) *LicenseCreate { if t != nil { lc.SetCreateTime(*t) } return lc }
[ 0.18569330871105194, 0.46636098623275757, 0.16077415645122528, -0.12817758321762085, -0.30321425199508667, 0.2959668040275574, -0.6870076656341553, -0.14122715592384338, 0.09834464639425278, 0.42521268129348755, -0.7978190183639526, -1.3945658206939697, -0.5343475341796875, 1.5302495956420...