text
stringlengths
11
6.3k
embedding
listlengths
768
768
func (u *Uname) Nodename() string { return toString(u.Utsname.Nodename[:]) }
[ -0.8332886695861816, -0.062054578214883804, 0.2725765109062195, -0.5853240489959717, -0.29212039709091187, 0.21329285204410553, -0.5088851451873779, 0.44014787673950195, -0.09853255748748779, 0.8784264922142029, 0.7309606075286865, 0.7606010437011719, 0.3683743476867676, -0.828815579414367...
func (u *Uname) Release() string { return toString(u.Utsname.Release[:]) }
[ -0.9992855787277222, 0.24627560377120972, 0.22367218136787415, -0.06977804005146027, -0.48747026920318604, 0.6799752712249756, -0.7725322842597961, -0.1450614631175995, 0.515556812286377, 0.3551940321922302, 0.40416014194488525, 0.24915581941604614, -0.15700139105319977, -0.576691389083862...
func (u *Uname) Version() string { return toString(u.Utsname.Version[:]) }
[ -0.7767162919044495, -0.48746082186698914, 0.10143610835075378, 0.04138936847448349, -0.04093068093061447, 1.314056396484375, 0.11557963490486145, 0.08192624896764755, 0.267694354057312, 0.4009767174720764, -0.12611183524131775, -0.3719188868999481, 0.20065388083457947, -0.8070462942123413...
func (u *Uname) Sysname() string { return toString(u.Utsname.Sysname[:]) }
[ -0.22578486800193787, 0.030250906944274902, 0.23024284839630127, 0.288968026638031, -0.772918164730072, -0.4163086712360382, -0.27553820610046387, 0.3560120165348053, 0.5521378517150879, -0.21511973440647125, -0.4336351454257965, 0.4188135862350464, 1.0000314712524414, -0.6186403632164001,...
func NewConnectedEnvironmentsClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) (*ConnectedEnvironmentsClient, error) { if options == nil { options = &arm.ClientOptions{} } ep := cloud.AzurePublic.Services[cloud.ResourceManager].Endpoint if c, ok := options.Cloud.Services...
[ 0.3714011013507843, -1.0675400495529175, 0.3801550567150116, 0.21339794993400574, -0.050950538367033005, 0.34376809000968933, -0.17273131012916565, -0.7774583101272583, -0.3104148507118225, -0.07168877869844437, 0.02293773554265499, 0.13787347078323364, -0.566317617893219, -0.1554466634988...
func (client *ConnectedEnvironmentsClient) checkNameAvailabilityCreateRequest(ctx context.Context, resourceGroupName string, connectedEnvironmentName string, checkNameAvailabilityRequest CheckNameAvailabilityRequest, options *ConnectedEnvironmentsClientCheckNameAvailabilityOptions) (*policy.Request, error) { urlPath :...
[ -0.8168121576309204, -0.615714430809021, 0.7308449149131775, -0.7917783856391907, -1.2105015516281128, 0.4905707538127899, -0.00958192441612482, -0.10818426311016083, -0.5119539499282837, 0.8551551699638367, -0.12750476598739624, 0.5319241881370544, -0.40216636657714844, 1.1660267114639282...
func (client *ConnectedEnvironmentsClient) checkNameAvailabilityHandleResponse(resp *http.Response) (ConnectedEnvironmentsClientCheckNameAvailabilityResponse, error) { result := ConnectedEnvironmentsClientCheckNameAvailabilityResponse{} if err := runtime.UnmarshalAsJSON(resp, &result.CheckNameAvailabilityResponse); e...
[ -0.33995315432548523, -1.489103078842163, 0.1926766186952591, -0.5227508544921875, -0.663053572177887, 0.757768452167511, 0.29049795866012573, -0.14323729276657104, 0.02500520832836628, 1.2665379047393799, -0.9547353386878967, -1.2858366966247559, -1.1932212114334106, 0.1312011480331421, ...
func (client *ConnectedEnvironmentsClient) createOrUpdateCreateRequest(ctx context.Context, resourceGroupName string, connectedEnvironmentName string, environmentEnvelope ConnectedEnvironment, options *ConnectedEnvironmentsClientBeginCreateOrUpdateOptions) (*policy.Request, error) { urlPath := "/subscriptions/{subscri...
[ -0.6204795241355896, -0.5690163969993591, 0.7700346112251282, -0.6516831517219543, -0.6706881523132324, 0.6496109962463379, 0.11492133140563965, -0.04985785111784935, -0.1338910311460495, 0.45212194323539734, 0.48351162672042847, 0.21620908379554749, -0.2813730537891388, 0.9339051246643066...
func (client *ConnectedEnvironmentsClient) deleteCreateRequest(ctx context.Context, resourceGroupName string, connectedEnvironmentName string, options *ConnectedEnvironmentsClientBeginDeleteOptions) (*policy.Request, error) { urlPath := "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Micr...
[ -0.08637166023254395, -0.4763023257255554, 0.9485907554626465, -0.2788366973400116, -0.7470366358757019, 0.38408398628234863, 0.20499733090400696, -0.07582790404558182, -0.1505585014820099, -0.2714173495769501, 0.7157116532325745, 0.6890843510627747, -0.37523260712623596, 0.544625699520111...
func (client *ConnectedEnvironmentsClient) getCreateRequest(ctx context.Context, resourceGroupName string, connectedEnvironmentName string, options *ConnectedEnvironmentsClientGetOptions) (*policy.Request, error) { urlPath := "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.App/c...
[ -0.21610866487026215, -0.19224895536899567, 1.1537138223648071, -0.3631722629070282, -0.4582476317882538, 0.33959704637527466, -0.2580314576625824, -0.2676323354244232, -0.3366434872150421, 0.10982410609722137, 0.901605486869812, 1.123552680015564, -0.35691407322883606, 0.2650182545185089,...
func (client *ConnectedEnvironmentsClient) getHandleResponse(resp *http.Response) (ConnectedEnvironmentsClientGetResponse, error) { result := ConnectedEnvironmentsClientGetResponse{} if err := runtime.UnmarshalAsJSON(resp, &result.ConnectedEnvironment); err != nil { return ConnectedEnvironmentsClientGetResponse{}, ...
[ -0.003113302169367671, -0.8562029600143433, 0.663100004196167, 0.050587497651576996, 0.1016751304268837, 0.3590804636478424, 0.45260176062583923, -0.5327683687210083, 0.42655622959136963, -0.4619300067424774, -0.1625009924173355, -1.186814308166504, -1.189442753791809, -0.5261238217353821,...
func (client *ConnectedEnvironmentsClient) NewListByResourceGroupPager(resourceGroupName string, options *ConnectedEnvironmentsClientListByResourceGroupOptions) *runtime.Pager[ConnectedEnvironmentsClientListByResourceGroupResponse] { return runtime.NewPager(runtime.PagingHandler[ConnectedEnvironmentsClientListByResour...
[ -0.6466867327690125, -0.7912909388542175, 0.23343200981616974, -0.6087770462036133, -0.26470524072647095, 0.29758188128471375, 0.18657685816287994, -0.7327206134796143, 0.28725486993789673, 0.5546813011169434, 0.82329922914505, -1.2601441144943237, -0.7562704086303711, 1.858913779258728, ...
func (client *ConnectedEnvironmentsClient) listByResourceGroupCreateRequest(ctx context.Context, resourceGroupName string, options *ConnectedEnvironmentsClientListByResourceGroupOptions) (*policy.Request, error) { urlPath := "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/co...
[ -0.3681257963180542, -0.14626359939575195, 0.21808861196041107, -0.5317202806472778, -0.20322595536708832, -0.08709795773029327, 0.19762417674064636, -0.6879603862762451, -0.11376217007637024, 0.29474180936813354, 0.27533790469169617, -0.02790100686252117, -0.39637520909309387, 1.153454780...
func (client *ConnectedEnvironmentsClient) listByResourceGroupHandleResponse(resp *http.Response) (ConnectedEnvironmentsClientListByResourceGroupResponse, error) { result := ConnectedEnvironmentsClientListByResourceGroupResponse{} if err := runtime.UnmarshalAsJSON(resp, &result.ConnectedEnvironmentCollection); err !=...
[ -0.2039519101381302, -0.9591013193130493, 0.027107534930109978, -0.8630531430244446, -0.27609899640083313, 0.33493080735206604, 0.6035560369491577, -0.8037054538726807, 0.03552563488483429, 0.09310853481292725, -0.2211998999118805, -1.840978980064392, -0.9970366358757019, 0.668640196323394...
func (client *ConnectedEnvironmentsClient) NewListBySubscriptionPager(options *ConnectedEnvironmentsClientListBySubscriptionOptions) *runtime.Pager[ConnectedEnvironmentsClientListBySubscriptionResponse] { return runtime.NewPager(runtime.PagingHandler[ConnectedEnvironmentsClientListBySubscriptionResponse]{ More: func...
[ 0.022351417690515518, -0.8302598595619202, 0.38715752959251404, -0.03201179578900337, -0.26369214057922363, 0.3016238212585449, -0.051673904061317444, -0.3342376947402954, 0.40658336877822876, 0.676091730594635, 0.505436360836029, -0.7898316979408264, -0.11918076127767563, 1.51334786415100...
func (client *ConnectedEnvironmentsClient) listBySubscriptionCreateRequest(ctx context.Context, options *ConnectedEnvironmentsClientListBySubscriptionOptions) (*policy.Request, error) { urlPath := "/subscriptions/{subscriptionId}/providers/Microsoft.App/connectedEnvironments" if client.subscriptionID == "" { return...
[ -0.06043141707777977, 0.16559328138828278, 0.4457138478755951, 0.06346440315246582, 0.06792455166578293, 0.1703324317932129, 0.17067088186740875, -0.0753665491938591, -0.09997661411762238, 0.19156032800674438, 0.18823401629924774, 0.23982489109039307, 0.1770193874835968, 0.6758384704589844...
func (client *ConnectedEnvironmentsClient) listBySubscriptionHandleResponse(resp *http.Response) (ConnectedEnvironmentsClientListBySubscriptionResponse, error) { result := ConnectedEnvironmentsClientListBySubscriptionResponse{} if err := runtime.UnmarshalAsJSON(resp, &result.ConnectedEnvironmentCollection); err != ni...
[ 0.5280826687812805, -0.697977602481842, 0.22583144903182983, -0.05453399196267128, -0.3392663598060608, 0.6220883131027222, 0.7501357197761536, -0.2118133008480072, 0.10547006875276566, 0.4871966242790222, -0.613543689250946, -1.0393542051315308, -0.29046139121055603, 0.21593770384788513, ...
func (client *ConnectedEnvironmentsClient) updateCreateRequest(ctx context.Context, resourceGroupName string, connectedEnvironmentName string, options *ConnectedEnvironmentsClientUpdateOptions) (*policy.Request, error) { urlPath := "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft...
[ -0.755736768245697, -0.7308388352394104, 0.9686222672462463, -0.4272599220275879, -1.1848299503326416, 0.5746258497238159, 0.04135854169726372, 0.022295206785202026, -0.3472125232219696, 0.3261702060699463, 0.6749649047851562, 0.6524072289466858, -0.36386314034461975, 0.3774743378162384, ...
func (client *ConnectedEnvironmentsClient) updateHandleResponse(resp *http.Response) (ConnectedEnvironmentsClientUpdateResponse, error) { result := ConnectedEnvironmentsClientUpdateResponse{} if err := runtime.UnmarshalAsJSON(resp, &result.ConnectedEnvironment); err != nil { return ConnectedEnvironmentsClientUpdate...
[ -0.37016117572784424, -1.7745636701583862, 0.42338913679122925, -0.3476724922657013, -0.5671343803405762, 0.8607837557792664, 0.4580989480018616, -0.1835605502128601, 0.2914949357509613, 0.22024302184581757, -0.3305271565914154, -1.4075027704238892, -1.4156396389007568, -0.6299725770950317...
func NewMockLoader(ctrl *gomock.Controller) *MockLoader { mock := &MockLoader{ctrl: ctrl} mock.recorder = &MockLoaderMockRecorder{mock} return mock }
[ -0.09985733032226562, 0.16979898512363434, 0.45710620284080505, 0.6447146534919739, 0.08693819493055344, 0.09152574837207794, -0.11097102612257004, -0.8437654972076416, 0.08553934842348099, 0.02371351234614849, -1.0830999612808228, -0.29013165831565857, -0.4224540591239929, 1.7615789175033...
func (m *MockLoader) EXPECT() *MockLoaderMockRecorder { return m.recorder }
[ 0.02938069961965084, -0.15685854852199554, 0.4017688035964966, 0.3062400221824646, 0.08326490223407745, 0.37032410502433777, -0.3184759318828583, 0.202994242310524, -0.0645800456404686, -0.30369704961776733, 0.6164995431900024, 0.8302116394042969, -0.8606988191604614, 1.3931200504302979, ...
func (m *MockLoader) Get(key string) ([]byte, error) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "Get", key) ret0, _ := ret[0].([]byte) ret1, _ := ret[1].(error) return ret0, ret1 }
[ -1.4151883125305176, -0.1975163370370865, 0.48376044631004333, 0.16727642714977264, 1.2030640840530396, -0.10748007148504257, 0.13265171647071838, -0.4833216071128845, -1.3978062868118286, 0.3169129192829132, -0.5971195697784424, -0.007867163047194481, -0.5568822026252747, 0.88607019186019...
func (mr *MockLoaderMockRecorder) Get(key interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Get", reflect.TypeOf((*MockLoader)(nil).Get), key) }
[ -0.9100412130355835, 0.47958219051361084, 0.38978949189186096, -0.09016808867454529, 0.19844622910022736, -0.001933165593072772, -0.8776639103889465, -1.0876911878585815, 0.07497908174991608, 1.0406568050384521, 0.5535680651664734, 1.0019363164901733, -0.9092322587966919, 1.589322566986084...
func (m *MockLoader) Import(data []byte) error { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "Import", data) ret0, _ := ret[0].(error) return ret0 }
[ -0.18346479535102844, 0.26710009574890137, 0.1557537168264389, 0.5549571514129639, 0.9472066164016724, 0.04319654032588005, 1.0909720659255981, -0.4789726138114929, -0.895158588886261, -0.10410140454769135, -1.4607166051864624, -0.1441963016986847, -0.8178120851516724, 0.31225571036338806,...
func (mr *MockLoaderMockRecorder) Import(data interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Import", reflect.TypeOf((*MockLoader)(nil).Import), data) }
[ -0.06558684259653091, 0.9702121615409851, 0.20952971279621124, 0.43938732147216797, -0.3101302981376648, 0.15486547350883484, 0.058457572013139725, -1.0529232025146484, 0.5886231660842896, 0.4927844703197479, -0.29913654923439026, 0.7343778610229492, -1.2082602977752686, 0.9298701286315918...
func (m *MockLoader) Initialize() error { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "Initialize") ret0, _ := ret[0].(error) return ret0 }
[ -1.0785353183746338, 0.23257297277450562, 0.3331318199634552, 0.894955575466156, 1.830780029296875, -0.06643993407487869, 0.22067591547966003, -0.2571636438369751, -0.8837559223175049, 0.009304642677307129, -0.29323092103004456, -0.3349425494670868, -1.14114511013031, 1.4176868200302124, ...
func (mr *MockLoaderMockRecorder) Initialize() *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Initialize", reflect.TypeOf((*MockLoader)(nil).Initialize)) }
[ -0.39081090688705444, 0.973572850227356, 0.5721493363380432, 0.6309280395507812, 0.5057894587516785, -0.1974661648273468, -0.528891384601593, -0.6814426779747009, 0.3414107859134674, 0.7931775450706482, 0.5481369495391846, 0.6095204949378967, -1.3460863828659058, 2.067896842956543, 0.033...
func (m *MockLoader) MustGetBool(key string) bool { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "MustGetBool", key) ret0, _ := ret[0].(bool) return ret0 }
[ -0.6368865370750427, 0.2581411898136139, 0.30811333656311035, 0.8285890817642212, 1.1459144353866577, 0.612313449382782, -0.0381353497505188, -0.1491442620754242, -1.0351067781448364, 0.2041940540075302, -0.7686917781829834, -0.3696240782737732, -0.8249559998512268, 0.9182686805725098, 0...
func (mr *MockLoaderMockRecorder) MustGetBool(key interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "MustGetBool", reflect.TypeOf((*MockLoader)(nil).MustGetBool), key) }
[ -0.1949252188205719, 0.9574824571609497, 0.3850996196269989, 0.683617353439331, 0.17017441987991333, 0.7227365374565125, -1.1216996908187866, -0.8077214360237122, 0.15813902020454407, 0.9683898687362671, 0.12994305789470673, 0.5606932044029236, -0.8958500623703003, 1.159895896911621, -0....
func (m *MockLoader) MustGetDuration(key string) time.Duration { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "MustGetDuration", key) ret0, _ := ret[0].(time.Duration) return ret0 }
[ -0.6893230676651001, 0.4912644326686859, 0.4330005347728729, 1.0072230100631714, 0.797577977180481, 0.8226207494735718, 0.18962164223194122, -0.6395694613456726, -0.46878090500831604, 0.6313561797142029, -0.5578975677490234, -0.5403372645378113, -0.7778311967849731, 1.5032271146774292, 0...
func (mr *MockLoaderMockRecorder) MustGetDuration(key interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "MustGetDuration", reflect.TypeOf((*MockLoader)(nil).MustGetDuration), key) }
[ -0.30699825286865234, 1.1432842016220093, 0.4342588782310486, 0.7998683452606201, 0.022589970380067825, 0.7875686883926392, -0.8667528629302979, -0.7470771074295044, 0.711854100227356, 1.2216259241104126, 0.4839528501033783, 0.2366074174642563, -0.9395848512649536, 1.5504308938980103, -0...
func (m *MockLoader) MustGetInt(key string) int { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "MustGetInt", key) ret0, _ := ret[0].(int) return ret0 }
[ -0.47624462842941284, 0.05085132271051407, 0.30986061692237854, 0.5266765356063843, 0.38185998797416687, 0.605410099029541, -0.4880050718784332, -0.6690664291381836, -0.9209033846855164, 0.25768208503723145, -0.4760366976261139, -0.6763944029808044, -1.177111268043518, 1.0187242031097412, ...
func (mr *MockLoaderMockRecorder) MustGetInt(key interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "MustGetInt", reflect.TypeOf((*MockLoader)(nil).MustGetInt), key) }
[ -0.11010923236608505, 1.008531928062439, 0.4887734055519104, 0.4021446406841278, -0.5555296540260315, 0.6742587685585022, -1.5423301458358765, -1.212411880493164, 0.2802492678165436, 1.1333171129226685, 0.382452130317688, -0.11979271471500397, -1.251953363418579, 1.144250750541687, -0.20...
func (m *MockLoader) MustGetString(key string) string { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "MustGetString", key) ret0, _ := ret[0].(string) return ret0 }
[ -1.07711660861969, -0.1769154667854309, 0.01830877922475338, 0.6059524416923523, 0.4983026087284088, 0.6689023375511169, -0.35649573802948, -0.8830199241638184, -0.8466396927833557, -0.1337970495223999, 0.08046887814998627, -0.29015520215034485, -0.8860780000686646, 0.6769219636917114, 0...
func (mr *MockLoaderMockRecorder) MustGetString(key interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "MustGetString", reflect.TypeOf((*MockLoader)(nil).MustGetString), key) }
[ -0.6763310432434082, 0.6312258243560791, 0.17078150808811188, 0.46465256810188293, -0.21078380942344666, 0.680927038192749, -1.4309446811676025, -1.35661780834198, 0.4253608286380768, 0.5681723952293396, 0.908674955368042, 0.4312582314014435, -0.8942104578018188, 1.0537992715835571, -0.1...
func (m *MockLoader) Put(key string, value []byte) error { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "Put", key, value) ret0, _ := ret[0].(error) return ret0 }
[ -0.9269285798072815, 0.5003432035446167, 0.20172426104545593, -0.6321141123771667, 0.6464934349060059, 0.7949618101119995, 1.1285701990127563, -0.13783633708953857, -1.308170199394226, 0.6022769808769226, -0.3940112292766571, -0.4230375587940216, -1.0534734725952148, 0.7802176475524902, ...
func (mr *MockLoaderMockRecorder) Put(key, value interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Put", reflect.TypeOf((*MockLoader)(nil).Put), key, value) }
[ -0.4691247344017029, 0.9908382892608643, 0.11262442171573639, -0.49175703525543213, -0.20397435128688812, 0.8843900561332703, -0.20363770425319672, -0.7278882265090942, 0.021107057109475136, 1.1162073612213135, 0.4857752025127411, 0.7891724705696106, -1.3333168029785156, 1.2313215732574463...
func Run(in io.Reader, out io.Writer, update, direct, exitWithNonZero bool, style OutputStyle) error { var modules []mod.Module dec := json.NewDecoder(in) for { var v mod.Module err := dec.Decode(&v) if err != nil { if err == io.EOF { filteredModules := mod.FilterModules(modules, update, direct) ...
[ -1.0471998453140259, -0.4472799003124237, 0.7731523513793945, -0.23184117674827576, -0.6730101108551025, 0.0001825559011194855, 0.25965023040771484, -0.22208216786384583, -0.5040226578712463, 0.49406710267066956, 0.16968800127506256, -0.20821376144886017, -0.03329741209745407, 0.6244193911...
func CreateCryptoClientFromJSONPublicKey(jsonKey []byte) (base.CryptoClient, error) { cryptoType, err := getCryptoTypeByJSONPublicKey(jsonKey) if err != nil { return nil, err } // create crypto client return CreateCryptoClient(cryptoType) }
[ -0.19491031765937805, -0.6108318567276001, 0.13871212303638458, -0.2039947509765625, 0.16769351065158844, 0.014841660857200623, -0.1759999692440033, -1.3854936361312866, -0.09342643618583679, 1.082038402557373, -0.48671334981918335, 0.26821795105934143, -0.6117604970932007, -0.013221699744...
func CreateCryptoClientFromJSONPrivateKey(jsonKey []byte) (base.CryptoClient, error) { cryptoType, err := getCryptoTypeByJSONPrivateKey(jsonKey) if err != nil { return nil, err } // create crypto client return CreateCryptoClient(cryptoType) }
[ -0.8088444471359253, -0.8473643064498901, 0.17377184331417084, -0.24991552531719208, -0.15228106081485748, -0.5291880369186401, -0.15974874794483185, -1.335394024848938, 0.23355017602443695, 1.0255322456359863, -0.6210862994194031, 0.40891456604003906, -0.5544772148132324, -0.1083462014794...
func NewMockUsersRepoInterface(ctrl *gomock.Controller) *MockUsersRepoInterface { mock := &MockUsersRepoInterface{ctrl: ctrl} mock.recorder = &MockUsersRepoInterfaceMockRecorder{mock} return mock }
[ -0.43476545810699463, -0.3951440155506134, 0.15350349247455597, -0.12099485099315643, -0.48841384053230286, 0.42943915724754333, 0.8905640840530396, -0.626967191696167, 0.462683767080307, 0.38639670610427856, -0.19602474570274353, -0.7639861106872559, -0.8693605661392212, 0.556694626808166...
func (m *MockUsersRepoInterface) EXPECT() *MockUsersRepoInterfaceMockRecorder { return m.recorder }
[ 0.12680350244045258, 0.07335399836301804, 0.23617447912693024, 0.12506577372550964, -0.36295580863952637, 0.5511718988418579, 0.617401659488678, -0.14833709597587585, 0.5192066431045532, -0.17567980289459229, 0.9174203276634216, 0.44421398639678955, -0.7036193609237671, 0.3847385346889496,...
func (m *MockUsersRepoInterface) GetByID(arg0 string) (*user.User, error) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "GetByID", arg0) ret0, _ := ret[0].(*user.User) ret1, _ := ret[1].(error) return ret0, ret1 }
[ 0.652982234954834, -0.43169328570365906, 0.3269551694393158, 0.6951022148132324, 0.9752437472343445, 0.5664971470832825, 1.210944414138794, -0.7476486563682556, -0.4835406243801117, -0.23170173168182373, -1.0730570554733276, 0.1987093985080719, -0.9083647727966309, 0.9430511593818665, 0....
func (mr *MockUsersRepoInterfaceMockRecorder) GetByID(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetByID", reflect.TypeOf((*MockUsersRepoInterface)(nil).GetByID), arg0) }
[ 0.923956036567688, 0.3649623990058899, 0.22092194855213165, 0.27686259150505066, 0.28217342495918274, 0.3888869285583496, 0.3588690757751465, -1.2469924688339233, 0.47772201895713806, 0.6226159930229187, 0.14751824736595154, 1.0402419567108154, -0.9639028906822205, 0.9893319606781006, 0....
func (m *MockUsersRepoInterface) GetByUserName(arg0 string) (*user.User, error) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "GetByUserName", arg0) ret0, _ := ret[0].(*user.User) ret1, _ := ret[1].(error) return ret0, ret1 }
[ -0.5591906905174255, 0.12161467969417572, 0.05216904357075691, 1.1091210842132568, 0.5538722276687622, 0.015033064410090446, 1.5719558000564575, -0.5123817920684814, -1.0457911491394043, -0.400146484375, -1.0760607719421387, -0.08108580112457275, -1.0385218858718872, 0.5484464168548584, ...
func (mr *MockUsersRepoInterfaceMockRecorder) GetByUserName(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetByUserName", reflect.TypeOf((*MockUsersRepoInterface)(nil).GetByUserName), arg0) }
[ -0.15799592435359955, 0.7222777009010315, 0.14705625176429749, 0.48360610008239746, -0.2360474318265915, 0.03240817412734032, 0.6805509924888611, -0.7556710839271545, -0.3560996949672699, 0.547711968421936, -0.052093565464019775, 0.4704355299472809, -1.1148505210876465, 0.7876174449920654,...
func (m *MockUsersRepoInterface) Register(arg0 *user.User) (*user.User, error) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "Register", arg0) ret0, _ := ret[0].(*user.User) ret1, _ := ret[1].(error) return ret0, ret1 }
[ -1.0510454177856445, 0.6676514148712158, 0.07152265310287476, 0.943025529384613, 1.1085416078567505, -0.18853403627872467, 1.008304238319397, 0.018817292526364326, -1.2794560194015503, -0.39811253547668457, -0.8121849298477173, -0.3492518961429596, -0.4870758652687073, 1.026068925857544, ...
func (mr *MockUsersRepoInterfaceMockRecorder) Register(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Register", reflect.TypeOf((*MockUsersRepoInterface)(nil).Register), arg0) }
[ -0.775337815284729, 1.1038895845413208, 0.05471407622098923, 0.709881603717804, 0.24454975128173828, -0.03319697827100754, 0.117390938103199, -0.7303870916366577, -0.044285453855991364, 0.13025055825710297, 0.38252556324005127, 0.5329305529594421, -0.6768198013305664, 1.8065786361694336, ...
func (m *MockUsersRepoInterface) Authorize(arg0, arg1 string) (*user.User, error) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "Authorize", arg0, arg1) ret0, _ := ret[0].(*user.User) ret1, _ := ret[1].(error) return ret0, ret1 }
[ -0.9131630659103394, 0.24227890372276306, 0.27088505029678345, 1.064031720161438, 0.9243691563606262, -0.15589724481105804, 1.174925684928894, -0.04725318402051926, -1.0637199878692627, 0.4565528333187103, -0.018298890441656113, -0.2027042806148529, -0.7857363224029541, 1.17879319190979, ...
func (mr *MockUsersRepoInterfaceMockRecorder) Authorize(arg0, arg1 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Authorize", reflect.TypeOf((*MockUsersRepoInterface)(nil).Authorize), arg0, arg1) }
[ -0.3709520697593689, 0.8008713722229004, 0.29542237520217896, 0.6466702222824097, 0.24136678874492645, 0.10189945250749588, 0.31022879481315613, -0.8270540833473206, 0.286300927400589, 1.1330361366271973, 1.1585607528686523, 0.6575852036476135, -1.0256614685058594, 1.490233302116394, 0.2...
func NewMockSessionsManagerInterface(ctrl *gomock.Controller) *MockSessionsManagerInterface { mock := &MockSessionsManagerInterface{ctrl: ctrl} mock.recorder = &MockSessionsManagerInterfaceMockRecorder{mock} return mock }
[ 0.1151517778635025, -1.0329819917678833, 0.2816411852836609, -0.024317659437656403, -0.6670278310775757, 0.23923009634017944, 0.7408954501152039, -1.6032819747924805, 0.7808965444564819, 0.44110652804374695, -0.29960203170776367, -1.2500689029693604, -0.9944090247154236, 1.0852231979370117...
func (m *MockSessionsManagerInterface) EXPECT() *MockSessionsManagerInterfaceMockRecorder { return m.recorder }
[ 0.19526547193527222, -0.2250993698835373, 0.33101001381874084, -0.19803239405155182, -0.5137224197387695, 0.4507155120372772, 0.4123314619064331, -0.5229157209396362, 1.2417150735855103, -0.0616350956261158, 0.7245777249336243, 0.2631450891494751, -1.2458226680755615, 0.7154585719108582, ...
func (m *MockSessionsManagerInterface) Create(arg0 string) (*session.Session, error) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "Create", arg0) ret0, _ := ret[0].(*session.Session) ret1, _ := ret[1].(error) return ret0, ret1 }
[ -0.5824416875839233, -0.14986997842788696, 0.08413413912057877, 0.8621676564216614, 1.3188716173171997, 0.3974030613899231, 1.119799256324768, -0.9379396438598633, -0.875528872013092, 0.13488540053367615, -0.3711099624633789, -1.3364969491958618, -0.3428238332271576, 1.1989439725875854, ...
func (mr *MockSessionsManagerInterfaceMockRecorder) Create(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Create", reflect.TypeOf((*MockSessionsManagerInterface)(nil).Create), arg0) }
[ -0.027439763769507408, 0.31476593017578125, 0.052674174308776855, 0.4959855079650879, 0.005731056910008192, 0.765773594379425, -0.22923065721988678, -1.604544758796692, 0.12556184828281403, 0.7470505833625793, 0.7374294996261597, -0.36228615045547485, -1.0355144739151, 1.871949553489685, ...
func NewTripleStore(file string, logger *log.Logger) (*TripleStore, error) { ts := &TripleStore{ dbFile: file, } var err error if ts.db, err = gorm.Open("sqlite3", file); err != nil { return nil, err } ts.db.SetLogger(logger) ts.db.CreateTable(&protocol.Triple{}) ts.db.Model(&protocol.Triple{}).AddIndex("id...
[ -0.3205333948135376, 0.1197786033153534, 0.3622989356517792, -0.7709783315658569, -1.0204284191131592, 0.7886936068534851, -0.03491845726966858, 0.2684096693992615, 0.038293253630399704, -0.1865665316581726, -0.3253723978996277, -0.36549919843673706, -0.6559498906135559, -0.465426832437515...
func (ts *TripleStore) Query(query *protocol.Triple, limit int) ([]*protocol.Triple, error) { dbq := ts.db.Where(*query) if limit > 0 { dbq = dbq.Limit(limit) } var results []*protocol.Triple if err := dbq.Find(&results).Error; err != nil { return nil, err } return results, nil }
[ -0.8865885734558105, 0.48790955543518066, 0.5672937035560608, -0.2143774777650833, -0.06890975683927536, -0.05874692276120186, -1.15216064453125, 0.4510079324245453, 0.9436754584312439, 0.6165453195571899, 0.15012288093566895, 0.12701863050460815, -0.7345185875892639, -0.6865639686584473, ...
func (ts *TripleStore) QueryArrayOp(q *protocol.ArrayOp, limit int) ([]*protocol.Triple, error) { query := ArrayOpToSQL(q) args := make([]interface{}, len(query)-1) for i, arg := range query[1:] { args[i] = arg } dbq := ts.db.Where(query[0], args...) if limit > 0 { dbq = dbq.Limit(limit) } var results []*pr...
[ -1.1692298650741577, 0.3125004172325134, 0.9398762583732605, -0.27068230509757996, -0.1405537873506546, -0.15010535717010498, -0.9352349638938904, -0.20751991868019104, 0.39762184023857117, 1.3571667671203613, 0.017443249002099037, 0.04367230460047722, -0.730437695980072, -0.99624508619308...
func (ts *TripleStore) Insert(triples []*protocol.Triple) int { count := 0 tx := ts.db.Begin() for _, triple := range triples { if err := tx.Create(triple).Error; err != nil { continue } count++ } if err := tx.Commit().Error; err != nil { return 0 } return count }
[ -1.4874215126037598, 1.2137287855148315, 0.6041778922080994, -0.6747907996177673, -0.014130961149930954, 0.2931442856788635, 0.6380249261856079, 0.8824902176856995, -0.2189003974199295, 0.6418181657791138, -0.9587920308113098, -1.1589322090148926, -1.3775644302368164, -0.3905384838581085, ...
func (ts *TripleStore) Size() (*Info, error) { fileInfo, err := os.Stat(ts.dbFile) if err != nil { return nil, err } space := du.NewDiskUsage(ts.dbFile) i := &Info{ DiskSize: uint64(fileInfo.Size()), AvailableSpace: space.Available(), } ts.db.Model(&protocol.Triple{}).Count(&i.Triples) return i, ni...
[ -0.7066054344177246, 0.6194586753845215, 0.38367876410484314, -1.3625843524932861, -0.3562701940536499, 0.3893592357635498, 0.63022780418396, -0.17109088599681854, -0.43739885091781616, -0.008623426780104637, -0.37449172139167786, -0.42584311962127686, -0.09019200503826141, -0.306942194700...
func (ts *TripleStore) EachTripleBatch(size int) (<-chan []*protocol.Triple, <-chan error) { c := make(chan []*protocol.Triple, 10) cerr := make(chan error, 1) go func() { dbq := ts.db.Where(&protocol.Triple{}).Limit(size) var triples []*protocol.Triple for i := 0; i == 0 || len(triples) > 0; i++ { triple...
[ -0.6037009954452515, -0.7936305999755859, 0.5621907114982605, -0.553165853023529, 0.14472708106040955, 0.3425961434841156, 0.22999197244644165, -0.2953609526157379, 0.02480892464518547, 0.03496440500020981, -0.7666639089584351, 0.37706297636032104, -0.23678605258464813, 0.23238953948020935...
func (c *Client) SetDryRun(enable bool) { c.transport.DryRun = enable }
[ -0.8302006125450134, -0.16391046345233917, 0.4177172780036926, -0.23266427218914032, -0.032724685966968536, 1.870046615600586, 0.20332401990890503, 0.7515008449554443, -0.6768935322761536, -0.3708755373954773, -1.6594005823135376, 0.5720284581184387, -1.291413426399231, 0.5256689786911011,...
func (c *Client) GetResource(ctx context.Context, key string, resourceType models.ResourceType) ([]*models.Object, error) { var out models.WhoisResource if err := c.transport.Get(ctx, "/"+string(resourceType)+"/"+key, &out); err != nil { return nil, err } return out.Objects.Object, nil }
[ -1.072547197341919, -0.22661274671554565, 0.41509735584259033, 0.6492749452590942, 0.8053923845291138, 0.1938268095254898, -0.4434283971786499, -0.23599599301815033, 0.7656377553939819, 1.1999882459640503, 0.29508912563323975, -0.027369031682610512, -1.0907503366470337, -0.159047931432724,...
func (c *Client) CreateResource(ctx context.Context, resource models.Resource) ([]*models.Object, error) { var out models.WhoisResource if err := c.transport.Post(ctx, "/"+resource.TypeString(), &out, transport.WithJSONRequestBody(resource.RIPEWhoisResource())); err != nil { return nil, err } return out.Objects.O...
[ -0.9943915605545044, -0.6775751113891602, 0.3217373192310333, 0.5172159075737, 0.7718381881713867, 0.7871416211128235, -0.512462854385376, -0.3953777551651001, 0.8149784803390503, 0.9907705783843994, -0.24645766615867615, -0.8863614201545715, -1.106529712677002, -0.1147112026810646, -0.0...
func (c *Client) DeleteResource(ctx context.Context, key string, resourceType models.ResourceType) ([]*models.Object, error) { var out models.WhoisResource if err := c.transport.Delete(ctx, "/"+string(resourceType)+"/"+key, &out); err != nil { return nil, err } return out.Objects.Object, nil }
[ -1.104371428489685, -0.5956007242202759, 0.19355331361293793, 0.40121349692344666, 0.5083538889884949, 0.317291796207428, -0.5608437061309814, -0.20377841591835022, 0.9694071412086487, 0.7433875799179077, 0.126644104719162, -0.2975286543369293, -0.9960293173789978, 0.31694549322128296, 0...
func NewKind() (*Kind, error) { var kind = Kind{} if err := finder.Parse(&kind); err != nil { return nil, errors.Wrap(err, "failed to parse Kind cluster argument from envs") } return &kind, nil }
[ 0.12210187315940857, -0.24233606457710266, 0.2890210449695587, 0.6928662061691284, -0.37641802430152893, -0.17911748588085175, 0.5817915201187134, -0.8770167827606201, -0.7121937870979309, 0.6151554584503174, 0.5954990983009338, 0.6592167615890503, -0.6713747978210449, 0.4697819948196411, ...
func printUsage(f *os.File, kind HelpType) { const usageTempl = ` USAGE: {{.Sp3}}{{.AppName}} --mount=<directory> --shadow=<directory> [--out=<file>] {{.Sp3}}{{.AppNameFiller}} [(--csv | --json)] [--ro] {{.Sp3}}{{.AppName}} --help {{.Sp3}}{{.AppName}} --version {{if eq .UsageVersion "short"}} Use '{{.AppName}} --he...
[ 0.8314684629440308, -0.3322606086730957, 1.0947299003601074, 0.3022943437099457, 0.2225704789161682, -0.1264232099056244, 1.2580698728561401, -0.2714099884033203, 0.08317715674638748, 0.38698166608810425, 0.35227078199386597, 0.7872785329818726, 0.3182035982608795, 0.1794952154159546, 0....
func printVersionInfo(f *os.File) { const versionTempl = ` {{.AppName}} {{.AppVersion}} Compiler: {{.Sp3}}{{.GoVersion}} ({{.Os}}/{{.Arch}}) Built on: {{.Sp3}}{{.BuildTime}} Author: {{.Sp3}}Fabio Hernandez {{.Sp3}}IN2P3/CNRS computing center, Lyon (France) Source code and documentation: {{.Sp3}}https://github.com/...
[ 0.6614993810653687, -0.9226167798042297, 0.7480114698410034, 0.2070566713809967, -0.12099293619394302, 0.9978337287902832, 0.10961711406707764, 0.2979937195777893, -1.2192796468734741, 0.0889495238661766, -0.5887389779090881, 0.07162413001060486, 0.31476303935050964, 0.13423024117946625, ...
func CustomSortDispatcher(a []int, maxMem int, maxCPU int, delay time.Duration) []int { // Best case if sort.IntsAreSorted(a) { return a } // Realistic Case result := make(chan []int, 1) for len(result) != 1 { if currMemoryAlloc() > maxMem || currCPUUse() > maxCPU { time.Sleep(delay) runtime.GC() run...
[ 0.08196486532688141, 0.07245252281427383, 0.49132001399993896, 0.36059221625328064, -0.9530224204063416, -0.670896053314209, 0.31363821029663086, -0.03216532990336418, 0.3931672275066376, -0.36111027002334595, 0.5396093726158142, 0.7271211743354797, -0.07760117948055267, 1.2530269622802734...
func SortDispatcher(a []int) []int { return CustomSortDispatcher(a, 1e9, 80, 50*time.Millisecond) }
[ -0.11169745028018951, -0.4193928837776184, 0.34749987721443176, 0.029004119336605072, -1.4244879484176636, -0.14287230372428894, 0.9519771933555603, -0.04990214481949806, 1.1138410568237305, -0.31319648027420044, 0.3074304759502411, -0.2378147542476654, 1.067065954208374, 1.918230652809143...
func Sort(a []int, out chan []int) { rand.Seed(time.Now().UnixNano()) rand.Shuffle(len(a), func(i, j int) { a[i], a[j] = a[j], a[i] }) if sort.IntsAreSorted(a) { select { case out <- a: default: } } }
[ -0.4441571533679962, 0.5038643479347229, 0.44726184010505676, -0.9664621949195862, -0.8986762762069702, -0.5152170658111572, 0.5056242346763611, -0.9942408800125122, 0.8301348686218262, 0.47956520318984985, 0.6363189220428467, 1.0544136762619019, -0.510749340057373, 0.4576413929462433, -...
func currCPUUse() int { rawData, err := ioutil.ReadFile("/proc/stat") if err != nil { log.Fatal(err) } data := string(rawData) cpuData := strings.Fields(strings.Split(data, "\n")[0]) // CPU is the 1st line if cpuData[0] != "cpu" { log.Fatal("Incorrectly parsed `/proc/stat`") } var total, idle float64 for i...
[ -0.6756676435470581, -0.24084928631782532, 0.7694910168647766, -0.7886930704116821, -0.042915716767311096, -0.7962954640388489, 0.5940384268760681, 0.09489317238330841, -1.1865302324295044, 0.14274349808692932, 0.5622509121894836, 0.10764489322900772, -1.0600658655166626, 0.319816440343856...
func currMemoryAlloc() int { var m runtime.MemStats runtime.ReadMemStats(&m) return int(m.Alloc) }
[ 0.42283928394317627, -0.6590151190757751, 0.6132251024246216, -0.6876834034919739, -0.933895468711853, -0.27842947840690613, 1.002487063407898, -0.6696040034294128, -0.13798771798610687, -0.136482372879982, 1.3851834535598755, 0.8735637068748474, 0.1695220023393631, 0.31108155846595764, ...
func (*IngressRule) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { return _IngressRule_OneofMarshaler, _IngressRule_OneofUnmarshaler, _IngressRule_OneofSizer, []interface{}{ (*I...
[ -0.12832236289978027, 0.6717204451560974, 0.5343531966209412, -0.6680199503898621, 0.872698962688446, 0.07173376530408859, 0.43921318650245667, -0.569752037525177, -0.5945056080818176, -0.0280781090259552, 0.17641125619411469, 0.08161189407110214, -1.0229657888412476, 0.7275503873825073, ...
func (c *ServerConfig) IncludeOpenAPI(value bool) { c.includeOpenAPI = value }
[ -0.049139298498630524, -0.19376423954963684, 0.2692621350288391, 0.5303180813789368, -1.4419305324554443, 1.850438117980957, 0.340424120426178, 0.2135406881570816, -0.04963747784495354, -0.5526264905929565, -1.4313938617706299, -0.44604024291038513, -1.5163050889968872, 0.4589879512786865,...
func (c *ServerConfig) SwaggerEnabled() bool { return c.getBoolean(VarSwaggerEnabled, true) }
[ -0.39398860931396484, 0.3732500672340393, 0.2711952030658722, 0.18609873950481415, -0.7894423007965088, -0.17920677363872528, -0.37965646386146545, 1.30807363986969, -0.3974842131137848, 0.39196115732192993, -1.6606674194335938, 0.04140600934624672, -1.0773112773895264, 0.3207193911075592,...
func (db *Database) InsertConnector(connector *models.ConnectorBase) error { if !open { return fmt.Errorf("db must be opened before saving!") } err := db.bolt.Update(func(tx *bolt.Tx) error { b := tx.Bucket([]byte(connectorBucketName)) enc, err := json.Marshal(connector) if err != nil { return fmt.Errorf(...
[ -1.7117140293121338, 0.07786253839731216, 0.6223468780517578, -0.4054049253463745, -0.11705392599105835, 0.10965953022241592, 0.0865323543548584, 0.23117712140083313, -0.4334827661514282, 0.4914640784263611, -1.232667326927185, -0.8669685125350952, -1.1827809810638428, 0.6207793951034546, ...
func (db *Database) GetConnectors() ([]*models.ConnectorBase, error) { if !open { return nil, fmt.Errorf("db must be opened before reading!") } connectors := make([]*models.ConnectorBase, 0) err := db.bolt.View(func(tx *bolt.Tx) error { b := tx.Bucket([]byte(connectorBucketName)) c := b.Cursor() for k, v ...
[ -1.7092573642730713, -0.7833945155143738, 0.7412045001983643, 0.13877862691879272, 0.4424366354942322, -0.4529482126235962, -0.7823100686073303, -0.3462994694709778, -0.06259960681200027, -0.1270727664232254, -0.3022209703922272, 0.014535640366375446, -0.6002642512321472, 0.643769264221191...
func (db *Database) DeleteConnector(id string) error { if !open { return fmt.Errorf("db must be opened before saving!") } err := db.bolt.Update(func(tx *bolt.Tx) error { b := tx.Bucket([]byte(connectorBucketName)) err := b.Delete([]byte(id)) return err }) return err }
[ -1.1048955917358398, -0.24367393553256989, 0.5139825344085693, -0.25825074315071106, -0.38703370094299316, -0.0923181027173996, -0.0982450395822525, 0.1565791368484497, 0.28214651346206665, -0.41743484139442444, -0.49199745059013367, -0.8379694223403931, -0.5535131692886353, 0.952171921730...
func (db *Database) SaveConnectorState(id string, running bool) error { if !open { return fmt.Errorf("db must be opened before saving!") } err := db.bolt.Update(func(tx *bolt.Tx) error { b := tx.Bucket([]byte(connectorBucketName)) c := b.Get([]byte(id)) if c != nil { con := &models.ConnectorBase{} if ...
[ -1.4955201148986816, -1.020655632019043, 0.7958698868751526, -0.5965993404388428, -0.09002462774515152, -0.026302088052034378, -0.1685919463634491, -0.11206766217947006, -0.20817109942436218, 0.7005956172943115, -1.4283616542816162, -0.8632789254188538, -1.0179121494293213, -0.074665986001...
func (rcv *impl) Receiver(msg s.Message) { var ( err error buf *bytes.Buffer ) if buf, err = rcv.Formater.Text(msg, rcv.TplText); err != nil { buf = bytes.NewBufferString(fmt.Sprintf("formatting log message error: %s", err)) } _, _ = fmt.Fprintln(os.Stderr, buf.String()) }
[ -0.07312753051519394, -0.8785210251808167, 0.5088892579078674, -1.8437559604644775, -0.2603437900543213, -0.37095022201538086, 0.21384920179843903, 0.7934142351150513, 0.32360050082206726, 0.1524943858385086, 0.8013701438903809, 0.42242199182510376, 0.047482527792453766, 0.3637076616287231...
func Render(param ...interface{}) { t, err := template.ParseFiles(param[1].(string)) checkErr(err) if len(param) == 2 { err = t.Execute(param[0].(http.ResponseWriter), nil) checkErr(err) } else if len(param) == 3 { err = t.Execute(param[0].(http.ResponseWriter), param[2].(User)) checkErr(err) } //func Re...
[ 0.17909575998783112, -0.252833753824234, 0.9136205911636353, 1.1505860090255737, 0.003649383783340454, 0.34351009130477905, 0.2728220522403717, 0.8443358540534973, -0.8780022859573364, -0.19451607763767242, 0.010996545664966106, -1.0536003112792969, -0.7832653522491455, -0.1575989425182342...
func (c ChannelLocationEmpty) construct() ChannelLocationClass { return &c }
[ -0.07352094352245331, -1.2000149488449097, 0.29221299290657043, -0.9489036202430725, 0.34012240171432495, -0.12016256153583527, 0.5576506853103638, 0.08361838012933731, 0.186667338013649, -1.3288333415985107, 0.30178704857826233, -0.0512838214635849, 0.2498941421508789, -0.3245430886745453...
func (*ChannelLocationEmpty) TypeID() uint32 { return ChannelLocationEmptyTypeID }
[ 0.1019488200545311, -1.0866663455963135, 0.6116597652435303, -0.3509114384651184, 1.0607320070266724, 1.0803265571594238, 0.9600699543952942, -0.08964930474758148, 0.5407012701034546, -0.02933596260845661, -0.6250085234642029, 0.46201497316360474, -1.2615305185317993, 0.19705963134765625, ...
func (*ChannelLocationEmpty) TypeName() string { return "channelLocationEmpty" }
[ -0.44682058691978455, -1.065183162689209, 0.5735366940498352, -0.7743162512779236, 0.8407009243965149, 0.5237001776695251, 0.4688853621482849, 0.33199524879455566, 0.13618609309196472, -0.019727487117052078, -0.6672618985176086, -0.268535852432251, -0.4863569736480713, -0.7332077026367188,...
func (c *ChannelLocationEmpty) TypeInfo() tdp.Type { typ := tdp.Type{ Name: "channelLocationEmpty", ID: ChannelLocationEmptyTypeID, } if c == nil { typ.Null = true return typ } typ.Fields = []tdp.Field{} return typ }
[ 0.1153421625494957, -0.3760855495929718, 0.3644762933254242, -1.5159491300582886, 0.9504460096359253, 0.6844887733459473, 0.5073516964912415, -0.07545191049575806, -0.22270391881465912, 0.09041933715343475, -0.77902752161026, -0.5874041318893433, -0.4098060131072998, -0.5075435638427734, ...
func (c ChannelLocation) construct() ChannelLocationClass { return &c }
[ 0.032040785998106, -1.416091799736023, 0.17171311378479004, -1.2372788190841675, -0.24222980439662933, -0.24302874505519867, 0.7340130805969238, 0.13927693665027618, 0.25714635848999023, -1.1925885677337646, 0.3806534707546234, 0.06435271352529526, 0.37843096256256104, -0.20861051976680756...
func (c *ChannelLocation) FillFrom(from interface { GetGeoPoint() (value GeoPointClass) GetAddress() (value string) }) { c.GeoPoint = from.GetGeoPoint() c.Address = from.GetAddress() }
[ 0.5402776002883911, -0.7517945766448975, 0.5167534351348877, -0.9320178031921387, 0.2941949963569641, 0.8485731482505798, -0.25012364983558655, -0.0021373815834522247, 0.6816006302833557, 0.1354978233575821, 0.3756687343120575, 0.8987836241722107, 0.7102490067481995, 0.16375423967838287, ...
func (*ChannelLocation) TypeID() uint32 { return ChannelLocationTypeID }
[ 0.24729414284229279, -1.1231039762496948, 0.48558560013771057, -0.29579949378967285, 0.5729962587356567, 0.6989263296127319, 1.1688541173934937, -0.0878261923789978, 0.8405466675758362, -0.10890931636095047, -0.4818097949028015, 0.5082376599311829, -1.3468202352523804, 0.13815544545650482,...
func (*ChannelLocation) TypeName() string { return "channelLocation" }
[ -0.356052964925766, -1.096426010131836, 0.5000817775726318, -0.7588059902191162, 0.300011545419693, 0.059478964656591415, 0.7160162329673767, 0.3539176285266876, 0.27729761600494385, -0.10925604403018951, -0.6922199726104736, -0.15176381170749664, -0.5027908682823181, -0.6471707820892334, ...
func (c *ChannelLocation) TypeInfo() tdp.Type { typ := tdp.Type{ Name: "channelLocation", ID: ChannelLocationTypeID, } if c == nil { typ.Null = true return typ } typ.Fields = []tdp.Field{ { Name: "GeoPoint", SchemaName: "geo_point", }, { Name: "Address", SchemaName: "address...
[ 0.5314611196517944, -0.1995372772216797, 0.3510738015174866, -1.4680923223495483, 0.5605074763298035, 0.4121527075767517, 0.4033011496067047, -0.17662350833415985, -0.1394643783569336, 0.5337523818016052, -0.7121002674102783, -0.5952674746513367, -0.1825631558895111, -0.5965529084205627, ...
func (c *ChannelLocation) GetGeoPoint() (value GeoPointClass) { if c == nil { return } return c.GeoPoint }
[ 0.9044890999794006, 0.03669082000851631, 0.518667995929718, 0.04956231638789177, 0.31931430101394653, 0.991902768611908, -0.26307880878448486, -0.22632542252540588, 0.7777213454246521, 0.6361216902732849, 0.14075756072998047, -0.3212837874889374, -0.8787704110145569, -0.34351667761802673, ...
func (c *ChannelLocation) GetAddress() (value string) { if c == nil { return } return c.Address }
[ 0.4941384494304657, -0.6934775114059448, 0.33459606766700745, -0.2701949179172516, 0.7302675247192383, 0.2678685486316681, 0.5358229279518127, 0.2546009123325348, 1.1687703132629395, -0.4043498933315277, 0.5080791711807251, 0.48804837465286255, -0.6707507371902466, -0.005459831096231937, ...
func (c *ChannelLocationEmpty) AsNotEmpty() (*ChannelLocation, bool) { return nil, false }
[ -1.2783299684524536, -1.2800648212432861, 0.6426682472229004, -0.7034650444984436, 0.8161043524742126, -0.4426647126674652, 0.16958068311214447, -0.3250214159488678, -0.25725191831588745, 1.021399736404419, -0.9710015654563904, -0.1772555261850357, 0.17245207726955414, 0.006768251303583383...
func (c *ChannelLocation) AsNotEmpty() (*ChannelLocation, bool) { return c, true }
[ -1.0835317373275757, -1.2587908506393433, 0.5554318428039551, -1.1885101795196533, 0.45349016785621643, -0.3034057021141052, 0.06963353604078293, -0.611788809299469, -0.2353799045085907, 1.2065829038619995, -1.253084421157837, -0.2163848727941513, -0.0008024931303225458, -0.000928898691199...
func DecodeChannelLocation(buf *bin.Buffer) (ChannelLocationClass, error) { id, err := buf.PeekID() if err != nil { return nil, err } switch id { case ChannelLocationEmptyTypeID: // Decoding channelLocationEmpty#bfb5ad8b. v := ChannelLocationEmpty{} if err := v.Decode(buf); err != nil { return nil, fmt....
[ -0.457499623298645, -1.162339210510254, 0.3422854244709015, -0.5969142913818359, 0.007454762235283852, -0.48012253642082214, 0.8330884575843811, -0.3606259524822235, 0.8971878886222839, -0.6788365244865417, -0.08445315062999725, 0.11262760311365128, -0.4118364155292511, -0.2651933133602142...
func (b *ChannelLocationBox) Decode(buf *bin.Buffer) error { if b == nil { return fmt.Errorf("unable to decode ChannelLocationBox to nil") } v, err := DecodeChannelLocation(buf) if err != nil { return fmt.Errorf("unable to decode boxed value: %w", err) } b.ChannelLocation = v return nil }
[ -0.026415765285491943, -0.10980325192213058, 0.30288293957710266, -0.49884504079818726, 0.20571398735046387, -0.45841675996780396, 0.5957472324371338, 0.2584846615791321, 0.06526372581720352, -0.9046160578727722, -0.8288853168487549, 0.735882043838501, -0.18199466168880463, 0.2297621667385...
func (b *ChannelLocationBox) Encode(buf *bin.Buffer) error { if b == nil || b.ChannelLocation == nil { return fmt.Errorf("unable to encode ChannelLocationClass as nil") } return b.ChannelLocation.Encode(buf) }
[ -0.3101710081100464, -0.30137428641319275, 0.15886706113815308, -0.15390029549598694, 0.5448169708251953, -0.11313719302415848, 0.5585752725601196, 0.05148143693804741, 0.45003068447113037, -0.6724734902381897, -0.09935716539621353, 0.5787343382835388, -0.43703311681747437, 0.2948333919048...
func GetVisitor() (int, error) { var el int key := "visitor" client := conn.Redis.Get() el, err := redis.Int(client.Do("GET", key)) if err != nil { return el, err } return el, nil }
[ -1.2105779647827148, 1.109209656715393, 0.8520405292510986, 0.5097966194152832, -0.42713481187820435, -0.8481783866882324, 0.6762366890907288, 0.4321197271347046, -0.6087247133255005, -0.2066877782344818, -0.22627152502536774, -0.11914753913879395, -0.7083185911178589, 0.42538347840309143,...
func (s ListRepositoriesInput) String() string { return awsutil.Prettify(s) }
[ -0.16107873618602753, 0.13984382152557373, 0.08760782331228256, -0.8833884596824646, -0.33083635568618774, 0.45724058151245117, 0.19161544740200043, -0.6926358342170715, 0.6400118470191956, -0.38544681668281555, 0.030453471466898918, 0.4866723120212555, 0.2564455270767212, 0.01754978671669...
func (s *ListRepositoriesInput) Validate() error { invalidParams := aws.ErrInvalidParams{Context: "ListRepositoriesInput"} if s.MaxResults != nil && *s.MaxResults < 1 { invalidParams.Add(aws.NewErrParamMinValue("MaxResults", 1)) } if s.NextToken != nil && len(*s.NextToken) < 1 { invalidParams.Add(aws.NewErrPara...
[ -0.6575139760971069, 0.4076900780200958, 0.2888774871826172, -0.8436062335968018, -0.20996716618537903, -0.6987428069114685, -0.35110265016555786, -0.2301916927099228, 0.3055817186832428, -0.6809098720550537, 0.48256298899650574, -0.25397980213165283, -0.5786169171333313, 0.853587567806243...