query
stringlengths
10
3.85k
ru_query
stringlengths
9
3.76k
document
stringlengths
17
430k
metadata
dict
negatives
listlengths
97
100
negative_scores
listlengths
97
100
document_score
stringlengths
5
10
document_rank
stringclasses
2 values
Get retrieves the RolloutBlock from the indexer for a given namespace and name.
Get получает RolloutBlock из индексера для заданного пространства имен и имени.
func (s rolloutBlockNamespaceLister) Get(name string) (*v1alpha1.RolloutBlock, error) { obj, exists, err := s.indexer.GetByKey(s.namespace + "/" + name) if err != nil { return nil, err } if !exists { return nil, errors.NewNotFound(v1alpha1.Resource("rolloutblock"), name) } return obj.(*v1alpha1.RolloutBlock),...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func (s beeNamespaceLister) Get(name string) (*v1beta1.Bee, error) {\n\tobj, exists, err := s.indexer.GetByKey(s.namespace + \"/\" + name)\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\tif !exists {\n\t\treturn nil, errors.NewNotFound(v1beta1.Resource(\"bee\"), name)\n\t}\n\treturn obj.(*v1beta1.Bee), nil\n}", ...
[ "0.6030591", "0.59331393", "0.5855316", "0.5818759", "0.5671234", "0.56690836", "0.5618589", "0.55901265", "0.5538037", "0.55035794", "0.548112", "0.54450256", "0.5436534", "0.54056436", "0.539699", "0.53958815", "0.53886515", "0.5377897", "0.5372501", "0.53640854", "0.535776...
0.80333996
0
AddCopy creates a new QuarksSecrets controller to watch for the user defined secrets.
AddCopy создает новый контроллер QuarksSecrets для наблюдения за секретами, определенными пользователем.
func AddCopy(ctx context.Context, config *config.Config, mgr manager.Manager) error { ctx = ctxlog.NewContextWithRecorder(ctx, "copy-reconciler", mgr.GetEventRecorderFor("copy-recorder")) log := ctxlog.ExtractLogger(ctx) r := NewCopyReconciler(ctx, config, mgr, credsgen.NewInMemoryGenerator(log), controllerutil.SetC...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func add(mgr manager.Manager, r reconcile.Reconciler) error {\n\n \t// minimumRefreshRate = os.Getenv(\"MINIMUM_REFRESH_RATE\")\n\n\t// Create a new controller\n\tc, err := controller.New(\"vaultsecret-controller\", mgr, controller.Options{Reconciler: r})\n\tif err != nil {\n\t\treturn err\n\t}\n\n\t// Watch for c...
[ "0.61047924", "0.58078575", "0.55848235", "0.5407227", "0.5254048", "0.5200474", "0.51375145", "0.49901083", "0.49053696", "0.48901126", "0.4862202", "0.4833981", "0.48101637", "0.48065236", "0.47915724", "0.47563052", "0.47331327", "0.47252765", "0.47191927", "0.46923995", "...
0.8458819
0
listQuarksSecretsReconciles lists all Quarks Secrets associated with the a particular secret.
listQuarksSecretsReconciles перечисляет все Quarks Secrets, связанные с определенным секретом.
func listQuarksSecretsReconciles(ctx context.Context, client crc.Client, secret *corev1.Secret, namespace string) ([]reconcile.Request, error) { quarksSecretList := &qsv1a1.QuarksSecretList{} err := client.List(ctx, quarksSecretList, crc.InNamespace(namespace)) if err != nil { return nil, errors.Wrap(err, "failed ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func (s Secrets) List(ctx context.Context, maxResults int32) ([]string, error) {\n\tvers, err := s.Ops.Secrets().List(ctx, maxResults)\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\tout := make([]string, 0, len(vers))\n\tfor _, ver := range vers {\n\t\tout = append(out, ver.ID)\n\t}\n\treturn out, nil\n}", "fun...
[ "0.57259434", "0.5530794", "0.5380004", "0.53071386", "0.5273651", "0.5255789", "0.52251434", "0.52205926", "0.5210257", "0.51597595", "0.51561975", "0.5152343", "0.51374936", "0.51229763", "0.5094752", "0.50841784", "0.50665426", "0.50590277", "0.4997374", "0.4994975", "0.49...
0.833262
0
RecoverPanics wraps http.Handler to recover and log panics.
RecoverPanics оборачивает http.Handler для восстановления и логирования паник.
func RecoverPanics(handler http.Handler) http.Handler { return http.HandlerFunc(func(w http.ResponseWriter, req *http.Request) { defer func() { if x := recover(); x != nil { w.WriteHeader(http.StatusInternalServerError) fmt.Fprint(w, "apis panic. Look in log for details.") glog.Infof("APIServer panic'...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func RecoverPanics(handler http.Handler) http.Handler {\n\treturn http.HandlerFunc(func(w http.ResponseWriter, req *http.Request) {\n\t\tdefer func() {\n\t\t\tif x := recover(); x != nil {\n\t\t\t\thttp.Error(w, \"apis panic. Look in log for details.\", http.StatusInternalServerError)\n\t\t\t\tglog.Errorf(\"APISer...
[ "0.73594993", "0.7038121", "0.7008406", "0.6885905", "0.6658655", "0.6547491", "0.64594406", "0.64355105", "0.6379547", "0.63791853", "0.63632184", "0.63296616", "0.631733", "0.630849", "0.6275611", "0.6274496", "0.6261786", "0.62580246", "0.6256298", "0.6241197", "0.6223762"...
0.74536425
0
Opts returns a redisconn.Opts object with the configured options applied.
Opts возвращает объект redisconn.Opts с примененными настроенными параметрами.
func (cfg ClientConfig) Opts() redisconn.Opts { opts := redisconn.Opts{} cfg.Options.ApplyOpts(&opts) return opts }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func GetRedisOpts(driver *dipper.Driver) *Options {\n\tif conn, ok := dipper.GetMapData(driver.Options, \"data.connection\"); ok {\n\t\tdefer delete(conn.(map[string]interface{}), \"Password\")\n\t}\n\tif tls, ok := dipper.GetMapData(driver.Options, \"data.connection.TLS\"); ok {\n\t\tdefer delete(tls.(map[string]...
[ "0.69560456", "0.65203357", "0.6464695", "0.60208565", "0.6006148", "0.5755672", "0.5684365", "0.56654674", "0.5618213", "0.55474895", "0.54999447", "0.5461396", "0.5443127", "0.54348564", "0.5417129", "0.5403839", "0.5378627", "0.5340202", "0.53303003", "0.53119975", "0.5279...
0.7253291
0
Opts returns a rediscluster.Opts object with the configured options applied.
Opts возвращает объект rediscluster.Opts с примененными настроенными параметрами.
func (cfg ClusterConfig) Opts() rediscluster.Opts { opts := rediscluster.Opts{} cfg.Options.ApplyOpts(&opts.HostOpts) cfg.Cluster.ApplyOpts(&opts) return opts }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func (cfg ClientConfig) Opts() redisconn.Opts {\n\topts := redisconn.Opts{}\n\tcfg.Options.ApplyOpts(&opts)\n\treturn opts\n}", "func GetRedisOpts(driver *dipper.Driver) *Options {\n\tif conn, ok := dipper.GetMapData(driver.Options, \"data.connection\"); ok {\n\t\tdefer delete(conn.(map[string]interface{}), \"Pa...
[ "0.6970594", "0.6281927", "0.59078234", "0.5868081", "0.5761447", "0.56771445", "0.56171125", "0.55353045", "0.5506973", "0.5471589", "0.54695356", "0.54681355", "0.54206634", "0.5406276", "0.5379113", "0.53657633", "0.5356025", "0.5337401", "0.52826387", "0.52810746", "0.523...
0.73391664
0
VersionString returns a TLS version string.
VersionString возвращает строку версии TLS.
func VersionString(value uint16) string { if str, found := tlsVersionString[value]; found { return str } return fmt.Sprintf("TLS_VERSION_UNKNOWN_%d", value) }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func VersionString() string {\n\treturn C.GoString(C.LZ4_versionString())\n}", "func TLSVersion(ver uint16) string {\n\tswitch ver {\n\tcase tls.VersionTLS10:\n\t\treturn \"1.0\"\n\tcase tls.VersionTLS11:\n\t\treturn \"1.1\"\n\tcase tls.VersionTLS12:\n\t\treturn \"1.2\"\n\t}\n\treturn fmt.Sprintf(\"Unknown [%x]\...
[ "0.74643797", "0.7188609", "0.70724016", "0.70276886", "0.6924166", "0.6852171", "0.68485165", "0.68244296", "0.6796393", "0.6793432", "0.67549765", "0.67549765", "0.6725175", "0.6683086", "0.6674843", "0.66420186", "0.6634001", "0.6576915", "0.65724236", "0.6564921", "0.6546...
0.77363867
0
CipherSuiteString returns the TLS cipher suite as a string.
CipherSuiteString возвращает TLS-шифровальную комбинацию в виде строки.
func CipherSuiteString(value uint16) string { if str, found := tlsCipherSuiteString[value]; found { return str } return fmt.Sprintf("TLS_CIPHER_SUITE_UNKNOWN_%d", value) }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func CipherSuiteName(suite uint16) string {\n\tswitch suite {\n\tcase tls.TLS_RSA_WITH_RC4_128_SHA:\n\t\treturn \"TLS_RSA_WITH_RC4_128_SHA\"\n\tcase tls.TLS_RSA_WITH_3DES_EDE_CBC_SHA:\n\t\treturn \"TLS_RSA_WITH_3DES_EDE_CBC_SHA\"\n\tcase tls.TLS_RSA_WITH_AES_128_CBC_SHA:\n\t\treturn \"TLS_RSA_WITH_AES_128_CBC_SHA\...
[ "0.69200236", "0.6264078", "0.60463476", "0.553764", "0.552981", "0.55205077", "0.5297108", "0.52549493", "0.521741", "0.5183919", "0.51783603", "0.51552385", "0.5096407", "0.50740904", "0.5053442", "0.49669608", "0.49222544", "0.49079034", "0.4856489", "0.48283112", "0.47250...
0.77113676
0
launch will start given hook.
Запуск начнет заданный хук.
func (e *Engine) launch(h Hook) { e.wait.Add(1) go func() { defer e.wait.Done() runtime := &HookRuntime{} // Wait for an event to notify this goroutine that a shutdown is required. // It could either be from engine's context or during Hook startup if an error has occurred. // NOTE: If HookRuntime retur...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func Launch(actions []actloop.Action, logger *log.Logger) (stop func()) {\n\tloop := actloop.NewActLoop(actions, logger)\n\tgo loop.Run(time.Second*2, time.Minute*5, notifyReady)\n\treturn loop.Cancel\n}", "func Launch(addr, localDir, filename string,\n\targs []string, logDir string, retry int) error {\n\n\tfiel...
[ "0.5877089", "0.5779476", "0.5759628", "0.57347715", "0.56235826", "0.5620141", "0.56181556", "0.5604568", "0.5598416", "0.5588178", "0.5450167", "0.5426442", "0.54139924", "0.53387564", "0.5329647", "0.5309052", "0.52930015", "0.52812076", "0.5246368", "0.52041054", "0.51378...
0.73184854
0
Start will launch the engine and start registered hooks. It will block until every hooks has shutdown, gracefully or with force...
Start запустит движок и начнет зарегистрированные хуки. Он будет блокировать до тех пор, пока все хуки не завершат работу, гладко или принудительно...
func (e *Engine) Start() error { e.init() go e.waitShutdownNotification() for _, h := range e.hooks { e.launch(h) } e.wait.Wait() if e.afterShutdown != nil { e.afterShutdown() } e.mutex.Lock() defer e.mutex.Unlock() return e.cause }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func (e *EngineConfig) Start() error {\n\tlogger.Info(\"Engine: Starting...\")\n\n\t// Todo document RunnerType for engine configuration\n\trunnerType := config.GetRunnerType()\n\te.Init(runnerType == \"DIRECT\")\n\n\tactionRunner := e.actionRunner.(interface{})\n\n\tif managedRunner, ok := actionRunner.(util.Mana...
[ "0.70842016", "0.70279807", "0.6923318", "0.6841361", "0.6739894", "0.6596409", "0.6575987", "0.6469447", "0.64490694", "0.6430585", "0.64055973", "0.6379535", "0.6339723", "0.6337157", "0.6315934", "0.6285416", "0.62843764", "0.6270798", "0.62603813", "0.62498593", "0.622291...
0.78836673
0
initDNSServer creates an instance of the dnsforward.Server Please note that we must do it even if we don't start it so that we had access to the query log and the stats
initDNSServer создает экземпляр dnsforward.Server Обратите внимание, что мы должны это сделать даже если не запускаем его, чтобы иметь доступ к журналу запросов и статистике
func initDNSServer(baseDir string) { err := os.MkdirAll(baseDir, 0755) if err != nil { log.Fatalf("Cannot create DNS data dir at %s: %s", baseDir, err) } dnsServer = dnsforward.NewServer(baseDir) }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func runDNSServer() {\n\n\t// load the blocked domains\n\tblacklist := LoadBlacklistOrFail(blacklistPath)\n\tfmt.Printf(\"Loading list of %d blocked domains...\\n\", blacklist.Size())\n\n\t// make the custom handler function to reply to DNS queries\n\tupstream := getEnvOrDefault(\"UPSTREAM_DNS\", \"1.1.1.1:53\")\n...
[ "0.6577117", "0.61836004", "0.58856076", "0.5873448", "0.58571017", "0.5849781", "0.58205044", "0.5788006", "0.5765969", "0.5757338", "0.57560205", "0.57468", "0.5746392", "0.57075214", "0.5705852", "0.56903404", "0.5686891", "0.56743336", "0.5671335", "0.5657342", "0.5653865...
0.7915286
0
checkIfBackupInNewOrProgress check whether there are backups created by this schedule still in New or InProgress state
checkIfBackupInNewOrProgress проверяет, есть ли резервные копии, созданные этим расписанием, в состоянии New или InProgress
func (c *scheduleReconciler) checkIfBackupInNewOrProgress(schedule *velerov1.Schedule) bool { log := c.logger.WithField("schedule", kube.NamespaceAndName(schedule)) backupList := &velerov1.BackupList{} options := &client.ListOptions{ Namespace: schedule.Namespace, LabelSelector: labels.Set(map[string]string{ ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func (t *Task) hasBackupCompleted(backup *velero.Backup) (bool, []string) {\n\tcompleted := false\n\treasons := []string{}\n\tprogress := []string{}\n\n\tpvbs := t.getPodVolumeBackupsForBackup(backup)\n\n\tswitch backup.Status.Phase {\n\tcase velero.BackupPhaseNew:\n\t\tprogress = append(\n\t\t\tprogress,\n\t\t\tf...
[ "0.65107685", "0.60924333", "0.6047755", "0.59358364", "0.5879894", "0.58064044", "0.579322", "0.5754999", "0.546307", "0.54417455", "0.54404837", "0.54389805", "0.5420077", "0.54141295", "0.53390694", "0.5332677", "0.5270624", "0.52638215", "0.5197946", "0.51915765", "0.5188...
0.8554207
0
ifDue check whether schedule is due to create a new backup.
еслиDue проверьте, нужно ли создать новый резервную копию.
func (c *scheduleReconciler) ifDue(schedule *velerov1.Schedule, cronSchedule cron.Schedule) bool { isDue, nextRunTime := getNextRunTime(schedule, cronSchedule, c.clock.Now()) log := c.logger.WithField("schedule", kube.NamespaceAndName(schedule)) if !isDue { log.WithField("nextRunTime", nextRunTime).Debug("Schedul...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func (c *scheduleReconciler) checkIfBackupInNewOrProgress(schedule *velerov1.Schedule) bool {\n\tlog := c.logger.WithField(\"schedule\", kube.NamespaceAndName(schedule))\n\tbackupList := &velerov1.BackupList{}\n\toptions := &client.ListOptions{\n\t\tNamespace: schedule.Namespace,\n\t\tLabelSelector: labels.Set(map...
[ "0.5760196", "0.5610772", "0.52594167", "0.5190598", "0.51561713", "0.5043613", "0.4985795", "0.4985035", "0.49514583", "0.4903711", "0.49007374", "0.4899634", "0.48967138", "0.48667654", "0.485368", "0.4840095", "0.48217595", "0.4819338", "0.4814378", "0.48026362", "0.479245...
0.7543842
0
submitBackup create a backup from schedule.
submitBackup создает резервную копию по расписанию.
func (c *scheduleReconciler) submitBackup(ctx context.Context, schedule *velerov1.Schedule) error { c.logger.WithField("schedule", schedule.Namespace+"/"+schedule.Name).Info("Schedule is due, going to submit backup.") now := c.clock.Now() // Don't attempt to "catch up" if there are any missed or failed runs - simpl...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func createBackup(w http.ResponseWriter, r *http.Request) {\n\tlogrus.Infof(\">>>>CreateBackup r=%s\", r)\n\n\tif RunningBackupAPIID != \"\" {\n\t\tlogrus.Infof(\"Another backup id %s is already running. Aborting.\", RunningBackupAPIID)\n\t\thttp.Error(w, fmt.Sprintf(\"Another backup id %s is already running. Abor...
[ "0.68177533", "0.6513657", "0.6345432", "0.61539024", "0.6150429", "0.59448236", "0.59301215", "0.57305014", "0.567647", "0.56463933", "0.56347996", "0.55442417", "0.5516464", "0.5512978", "0.54288435", "0.54252183", "0.5423092", "0.53933567", "0.53620535", "0.5304515", "0.53...
0.78230155
0
GetUserList get user list from paas
GetUserList получает список пользователей из paas
func (m *publicUser) GetUserList(c *gin.Context) (int, interface{}) { user := plugins.CurrentPlugin(c, m.config.LoginVersion) userList, err := user.GetUserList(c, m.config.ConfigMap) rspBody := metadata.LonginSystemUserListResult{} if nil != err { rspBody.Code = common.CCErrCommHTTPDoRequestFailed rspBody.ErrMs...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func GetListUser(c *gin.Context) {\r\n\tvar usr []model.UserTemporary\r\n\tres := model.GetLUser(usr)\r\n\r\n\tutils.WrapAPIData(c, map[string]interface{}{\r\n\t\t\"Data\": res,\r\n\t}, http.StatusOK, \"success\")\r\n}", "func getUserList() string {\n\tvar userlist string\n\tfmt.Println(len(Users))\n\tfor key, v...
[ "0.7359356", "0.72904336", "0.7077272", "0.7028727", "0.7027776", "0.702073", "0.70161134", "0.6993351", "0.6991551", "0.6870929", "0.6868621", "0.68681204", "0.68483824", "0.6812991", "0.67967814", "0.6774643", "0.6770087", "0.6731464", "0.67262626", "0.6713845", "0.6699844"...
0.7338346
1
Register a new tunnel on this control connection
Зарегистрировать новый туннель на этом контролируемом соединении
func (c *Control) registerTunnel(rawTunnelReq *msg.ReqTunnel) { for _, proto := range strings.Split(rawTunnelReq.Protocol, "+") { tunnelReq := *rawTunnelReq tunnelReq.Protocol = proto c.conn.Debug("Registering new tunnel") t, err := NewTunnel(&tunnelReq, c) if err != nil { ack := &msg.NewTunnel{Error: er...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func (na *Nagent) CreateTunnel(tun *netproto.Tunnel) error {\n\terr := na.validateMeta(tun.Kind, tun.ObjectMeta)\n\tif err != nil {\n\t\treturn err\n\t}\n\t// check if tunnel already exists\n\toldTun, err := na.FindTunnel(tun.ObjectMeta)\n\tif err == nil {\n\t\t// check if tunnel contents are same\n\t\tif !proto.E...
[ "0.6146846", "0.61225635", "0.5909397", "0.56072223", "0.5565189", "0.5540766", "0.5476352", "0.54763263", "0.54655796", "0.5418362", "0.53958005", "0.5362109", "0.5323186", "0.5291799", "0.52836424", "0.526554", "0.5163012", "0.5159695", "0.51567835", "0.51567405", "0.515555...
0.73147064
0
GenerateModels parses the magmagenmeta key of the given swagger YAML file, copies the files that the target file depends on into the current working directory, shells out to `swagger generate models`, then cleans up the dependency files.
GenerateModels парсит ключ magmagenmeta заданного файла swagger YAML, копирует файлы, на которые зависит целевой файл, в текущую рабочую директорию, выполняет команду `swagger generate models`, а затем удаляет файлы зависимостей.
func GenerateModels(targetFilepath string, configFilepath string, rootDir string, specs map[string]MagmaSwaggerSpec) error { absTargetFilepath, err := filepath.Abs(targetFilepath) if err != nil { return fmt.Errorf("target filepath %s is invalid: %w", targetFilepath, err) } tmpGenDir, err := ioutil.TempDir(".", "...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func (g *Generator) Generate(context *common.Context, schema *schema.Schema) ([]common.Output, error) {\n\tmoduleName := strings.ToLower(schema.Title)\n\tvar outputs []common.Output\n\n\tfor _, def := range schema.Definitions {\n\t\t// create models only for objects\n\t\tif def.Type != nil {\n\t\t\tif t, ok := def...
[ "0.66913444", "0.64157486", "0.61856574", "0.61356175", "0.5997691", "0.589548", "0.57147914", "0.56822777", "0.56303346", "0.5599357", "0.5589933", "0.55740947", "0.5566793", "0.5553001", "0.55090463", "0.5508715", "0.5495265", "0.54901445", "0.5487085", "0.5477915", "0.5435...
0.8132264
0
ParseSwaggerDependencyTree parses the entire dependency tree of a magma swagger spec file specified by the rootFilepath parameter. The returned value maps between the absolute specified dependency filepath and the parsed struct for the dependency file.
ParseSwaggerDependencyTree парсит всю зависимость дерева магма swagger-спецификации файла, указанного параметром rootFilepath. Возвращаемое значение отображает между абсолютным указанным путем зависимого файла и структурой, разобранной для файла зависимости.
func ParseSwaggerDependencyTree(rootFilepath string, rootDir string) (map[string]MagmaSwaggerSpec, error) { absRootFilepath, err := filepath.Abs(rootFilepath) if err != nil { return nil, fmt.Errorf("root filepath %s is invalid: %w", rootFilepath, err) } targetSpec, err := readSwaggerSpec(absRootFilepath) if err...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func (m *Matcher) GeneratorDependencyTree(manifestFilePath string) string {\n\tlog.Debug().Msgf(\"Executing: Generate dependencies.txt\")\n\tmaven, err := exec.LookPath(\"mvn\")\n\tif err != nil {\n\t\tlog.Fatal().Err(err).Msgf(\"Please make sure Maven is installed. Hint: Check same by executing: mvn --version \\n...
[ "0.44742846", "0.4455825", "0.43550068", "0.43006805", "0.4232624", "0.41817617", "0.40636328", "0.40288898", "0.39767098", "0.39680606", "0.39440867", "0.3909975", "0.38882518", "0.38842115", "0.38663462", "0.3862431", "0.38287383", "0.38224056", "0.3783585", "0.37813827", "...
0.8142745
0
MarshalToYAML marshals a MagmaSwaggerSpec to a YAMLformatted string.
MarshalToYAML сериализует MagmaSwaggerSpec в строку в формате YAML.
func (m *MagmaSwaggerSpec) MarshalToYAML() (string, error) { d, err := yaml.Marshal(&m) if err != nil { return "", err } return string(d), nil }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func (d LegacyDec) MarshalYAML() (interface{}, error) {\n\treturn d.String(), nil\n}", "func (c *Components) MarshalYAML() (interface{}, error) {\n\tnb := high.NewNodeBuilder(c, c.low)\n\treturn nb.Render(), nil\n}", "func (f Fixed8) MarshalYAML() (interface{}, error) {\n\treturn f.String(), nil\n}", "func (...
[ "0.6445463", "0.6326264", "0.63029575", "0.63027453", "0.6261498", "0.6249017", "0.6187328", "0.6172001", "0.61505026", "0.6124385", "0.6124385", "0.60929036", "0.6092049", "0.6075512", "0.6065055", "0.6051939", "0.60301274", "0.6030115", "0.59681195", "0.5957629", "0.5953704...
0.77819127
0
/ The function NewObjectLength calls NewUnaryFunctionBase to create a function named OBJECT_LENGTH with an expression as input.
Функция NewObjectLength вызывает NewUnaryFunctionBase для создания функции с именем OBJECT_LENGTH и выражением в качестве входных данных.
func NewObjectLength(operand Expression) Function { rv := &ObjectLength{ *NewUnaryFunctionBase("object_length", operand), } rv.expr = rv return rv }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func (this *ObjectLength) Constructor() FunctionConstructor {\n\treturn func(operands ...Expression) Function {\n\t\treturn NewObjectLength(operands[0])\n\t}\n}", "func (this *ObjectLength) Constructor() FunctionConstructor {\n\treturn func(operands ...Expression) Function {\n\t\treturn NewObjectLength(operands[...
[ "0.6523122", "0.6523122", "0.5879528", "0.585225", "0.57606673", "0.57606673", "0.57047075", "0.56010866", "0.5507508", "0.5425705", "0.5425705", "0.5403266", "0.53994787", "0.53820825", "0.5202233", "0.5193633", "0.5174063", "0.5164767", "0.5130811", "0.5112785", "0.5112785"...
0.84461415
1
/ The constructor returns a NewObjectLength with the an operand cast to a Function as the FunctionConstructor.
Конструктор возвращает NewObjectLength с операндом, приведенным к Function как FunctionConstructor.
func (this *ObjectLength) Constructor() FunctionConstructor { return func(operands ...Expression) Function { return NewObjectLength(operands[0]) } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func (this *ObjectAdd) Constructor() FunctionConstructor {\n\treturn func(operands ...Expression) Function {\n\t\treturn NewObjectAdd(operands[0], operands[1], operands[2])\n\t}\n}", "func (this *ObjectRemove) Constructor() FunctionConstructor {\n\treturn func(operands ...Expression) Function {\n\t\treturn NewOb...
[ "0.7275384", "0.69671285", "0.6962341", "0.68921953", "0.6845353", "0.6845353", "0.68416286", "0.68416286", "0.6744794", "0.6708235", "0.6654913", "0.6654913", "0.66427934", "0.6617833", "0.6557411", "0.6531051", "0.65282565", "0.65282565", "0.6448263", "0.6430938", "0.642644...
0.79440147
1
/ The function NewObjectNames calls NewUnaryFunctionBase to create a function named OBJECT_NAMES with an expression as input.
Функция NewObjectNames вызывает NewUnaryFunctionBase для создания функции с именем OBJECT_NAMES и выражением в качестве входных данных.
func NewObjectNames(operand Expression) Function { rv := &ObjectNames{ *NewUnaryFunctionBase("object_names", operand), } rv.expr = rv return rv }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func (this *ObjectNames) Constructor() FunctionConstructor {\n\treturn func(operands ...Expression) Function {\n\t\treturn NewObjectNames(operands[0])\n\t}\n}", "func (this *ObjectNames) Constructor() FunctionConstructor {\n\treturn func(operands ...Expression) Function {\n\t\treturn NewObjectNames(operands[0])\...
[ "0.58631206", "0.58631206", "0.5818655", "0.5258608", "0.5123252", "0.5123252", "0.50969934", "0.5032237", "0.50116974", "0.5003598", "0.49712798", "0.48637605", "0.48614097", "0.4857428", "0.48428673", "0.4813975", "0.48088303", "0.4790116", "0.478159", "0.478159", "0.477660...
0.8870936
1
/ The constructor returns a NewObjectNames with the an operand cast to a Function as the FunctionConstructor.
Конструктор возвращает NewObjectNames с операндом, приведенным к Function как FunctionConstructor.
func (this *ObjectNames) Constructor() FunctionConstructor { return func(operands ...Expression) Function { return NewObjectNames(operands[0]) } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func (this *ObjectAdd) Constructor() FunctionConstructor {\n\treturn func(operands ...Expression) Function {\n\t\treturn NewObjectAdd(operands[0], operands[1], operands[2])\n\t}\n}", "func (this *StrToZoneName) Constructor() FunctionConstructor {\n\treturn func(operands ...Expression) Function {\n\t\treturn NewS...
[ "0.7036529", "0.6818059", "0.67975676", "0.6667405", "0.66347975", "0.66347975", "0.66178346", "0.65968144", "0.65968144", "0.65434146", "0.65172905", "0.6424325", "0.6424325", "0.641571", "0.63585794", "0.6329511", "0.6329511", "0.6309147", "0.6287411", "0.6280646", "0.62142...
0.78175247
1
/ The function NewObjectPairs calls NewUnaryFunctionBase to create a function named OBJECT_PAIRS with an expression as input.
Функция NewObjectPairs вызывает NewUnaryFunctionBase для создания функции с именем OBJECT_PAIRS и выражением в качестве входных данных.
func NewObjectPairs(operand Expression) Function { rv := &ObjectPairs{ *NewUnaryFunctionBase("object_pairs", operand), } rv.expr = rv return rv }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func NewObjectInnerPairs(operand Expression) Function {\n\trv := &ObjectInnerPairs{\n\t\t*NewUnaryFunctionBase(\"object_innerpairs\", operand),\n\t}\n\n\trv.expr = rv\n\treturn rv\n}", "func NewPairs(array *expression.ArrayConstruct) (pairs Pairs, err error) {\n\toperands := array.Operands()\n\tpairs = make(Pair...
[ "0.77096313", "0.681373", "0.6260862", "0.61187327", "0.5915429", "0.5915429", "0.55906564", "0.5551416", "0.55439746", "0.55439746", "0.5494457", "0.5456087", "0.5395901", "0.52397954", "0.52306813", "0.52306813", "0.5191114", "0.5183652", "0.50730604", "0.5071748", "0.50323...
0.83893144
1
/ The constructor returns a NewObjectPairs with the an operand cast to a Function as the FunctionConstructor.
Конструктор возвращает NewObjectPairs с операндом, приведенным к типу Function как FunctionConstructor.
func (this *ObjectPairs) Constructor() FunctionConstructor { return func(operands ...Expression) Function { return NewObjectPairs(operands[0]) } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func (this *ObjectInnerPairs) Constructor() FunctionConstructor {\n\treturn func(operands ...Expression) Function {\n\t\treturn NewObjectInnerPairs(operands[0])\n\t}\n}", "func (this *ObjectValues) Constructor() FunctionConstructor {\n\treturn func(operands ...Expression) Function {\n\t\treturn NewObjectValues(o...
[ "0.7153522", "0.7010794", "0.7010794", "0.694256", "0.6708602", "0.66994077", "0.66873187", "0.66873187", "0.66498196", "0.64264494", "0.64111173", "0.62730813", "0.62703615", "0.6267153", "0.6256307", "0.6193001", "0.6129393", "0.6126082", "0.6126082", "0.6101058", "0.607602...
0.7555158
1
/ The function NewObjectValues calls NewUnaryFunctionBase to create a function named OBJECT_VALUES with an expression as input.
Функция NewObjectValues вызывает NewUnaryFunctionBase для создания функции с именем OBJECT_VALUES и выражением в качестве входных данных.
func NewObjectValues(operand Expression) Function { rv := &ObjectValues{ *NewUnaryFunctionBase("object_values", operand), } rv.expr = rv return rv }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func NewObjectInnerValues(operand Expression) Function {\n\trv := &ObjectInnerValues{\n\t\t*NewUnaryFunctionBase(\"object_innervalues\", operand),\n\t}\n\n\trv.expr = rv\n\treturn rv\n}", "func NewValuesFunc(ctx sessionctx.Context, offset int, retTp *types.FieldType) *ScalarFunction {\n\tfc := &valuesFunctionCla...
[ "0.751708", "0.63653314", "0.6325895", "0.6325895", "0.621891", "0.6025096", "0.58745253", "0.5860087", "0.5854441", "0.57969606", "0.5770344", "0.57039964", "0.57039964", "0.5660476", "0.5660476", "0.5658049", "0.5558985", "0.54201657", "0.5405711", "0.5354272", "0.53477496"...
0.83485734
1
/ The constructor returns a NewObjectValues with the an operand cast to a Function as the FunctionConstructor.
Конструктор возвращает NewObjectValues с операндом, приведенным к Function как FunctionConstructor.
func (this *ObjectValues) Constructor() FunctionConstructor { return func(operands ...Expression) Function { return NewObjectValues(operands[0]) } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func (this *ObjectInnerValues) Constructor() FunctionConstructor {\n\treturn func(operands ...Expression) Function {\n\t\treturn NewObjectInnerValues(operands[0])\n\t}\n}", "func (this *ObjectAdd) Constructor() FunctionConstructor {\n\treturn func(operands ...Expression) Function {\n\t\treturn NewObjectAdd(opera...
[ "0.73529464", "0.7189014", "0.6843478", "0.6823034", "0.6823034", "0.67909425", "0.67158616", "0.6683737", "0.66169643", "0.66169643", "0.65581906", "0.65378344", "0.6475921", "0.64629835", "0.64629835", "0.64201945", "0.63533115", "0.63398314", "0.6316713", "0.63069826", "0....
0.78348684
1
NewTransform creates a new default transform, corresponding to identity.
NewTransform создает новый стандартный преобразователь, соответствующий тождеству.
func NewTransform() *Transform { return &Transform{} }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func NewTransform() *Transform {\n\treturn transformPool.Get().(*Transform)\n}", "func NewTransform() Transform {\n\tt := transform{\n\t\tmodelView: mgl32.Ident4(),\n\t\trotation: mgl32.Vec3{0, 0, 0},\n\t\ttranslation: mgl32.Vec3{0, 0, 0},\n\t}\n\treturn &t\n}", "func (t *Transform) New() *Transform {\n\t...
[ "0.7560676", "0.7552853", "0.7524606", "0.72407454", "0.66244805", "0.6586805", "0.6541571", "0.64616334", "0.6403893", "0.6273406", "0.6072438", "0.6038543", "0.58727026", "0.5844496", "0.5673262", "0.5662089", "0.5576789", "0.55677426", "0.55498636", "0.55261695", "0.552174...
0.7824815
0
SetScale sets transform scale.
SetScale устанавливает масштаб трансформации.
func (t *Transform) SetScale(sx, sy float64) *Transform { t.Scale1.X = sx - 1 t.Scale1.Y = sy - 1 return t }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func (xf *Transform) SetScale(scale float32) {\n\txf.Scale = mgl32.Vec2{scale, scale}\n}", "func (t *Transform) SetScale(v *Vector) ITransform {\n\tt.Scale = v\n\treturn t\n}", "func (this *Transformable) SetScale(scale Vector2f) {\n\tC.sfTransformable_setScale(this.cptr, scale.toC())\n}", "func (g *GameObje...
[ "0.82044643", "0.82026076", "0.8044438", "0.80010784", "0.738389", "0.73492926", "0.72787267", "0.7259887", "0.72031957", "0.71859896", "0.7162448", "0.71623427", "0.714276", "0.7092354", "0.7020097", "0.6801338", "0.65981305", "0.65689886", "0.65219027", "0.64675266", "0.646...
0.8562481
0
SetRotation sets transform rotation.
SetRotation устанавливает поворот трансформации.
func (t *Transform) SetRotation(angle float64) *Transform { t.Rotation = angle return t }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func (t *Transform) SetRotation(r float64) ITransform {\n\tt.Rotation = r\n\treturn t\n}", "func (this *Transformable) SetRotation(rot float32) {\n\tC.sfTransformable_setRotation(this.cptr, C.float(rot))\n}", "func (p *Plane) SetRotation(rot mgl32.Mat4) {\n\tp.model.Rotation = rot\n}", "func (d *Device) SetR...
[ "0.8625573", "0.8057875", "0.8017207", "0.77256304", "0.7505977", "0.74746484", "0.74095", "0.7240528", "0.7185497", "0.7154693", "0.6705631", "0.6337583", "0.6166817", "0.602419", "0.6017595", "0.59994197", "0.59966457", "0.5940456", "0.5913534", "0.5878609", "0.5819131", ...
0.85688853
1
SetTranslation sets transform translation.
SetTranslation устанавливает преобразование перевода.
func (t *Transform) SetTranslation(tx, ty float64) *Transform { t.Translation.X = tx t.Translation.Y = ty return t }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func (s *Surface) SetTransform(a, b, c, d, e, f float64) {\n\ts.Ctx.Call(\"setTransform\", a, b, c, d, e, f)\n}", "func (g *Group) SetTransform(m *algebra.Matrix) {\n\tif len(m.Get()) != 4 || len(m.Get()[0]) != 4 {\n\t\tpanic(algebra.ExpectedDimension(4))\n\t}\n\tg.transform = m\n}", "func (c *canvasRenderer) ...
[ "0.6251086", "0.59690094", "0.58699065", "0.5786746", "0.57243615", "0.5712761", "0.5690545", "0.5640491", "0.54449964", "0.5348975", "0.5331226", "0.5321163", "0.53097576", "0.5235144", "0.50976515", "0.5094021", "0.5056659", "0.5056363", "0.50562334", "0.50424784", "0.50373...
0.822304
0
SetDepth sets transform depth.
SetDepth задает глубину трансформации.
func (t *Transform) SetDepth(depth float64) *Transform { t.Depth = depth return t }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func (o *Dig) SetDepth(v int32) {\n\to.Depth = v\n}", "func (a *GetFlattenedDocumentArgs) SetDepth(depth int) *GetFlattenedDocumentArgs {\n\ta.Depth = &depth\n\treturn a\n}", "func (dev *Device) SetDepthMode(mode FrameMode) int {\n\treturn int(C.freenect_set_depth_mode(dev.ptr(), *mode.ptr()))\n}", "func (a ...
[ "0.72426546", "0.66944337", "0.6489197", "0.64702225", "0.63566595", "0.63047695", "0.62911135", "0.6192278", "0.6161013", "0.60781723", "0.6054071", "0.5927159", "0.580917", "0.5697966", "0.56346196", "0.5625042", "0.54987735", "0.5410169", "0.53793144", "0.535777", "0.53403...
0.8295805
0
SetOrigin sets transform origin.
SetOrigin устанавливает точку преобразования.
func (t *Transform) SetOrigin(origin string) *Transform { t.Origin = origin return t }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func (this *Transformable) SetOrigin(orig Vector2f) {\n\tC.sfTransformable_setOrigin(this.cptr, orig.toC())\n}", "func SetOrigin(\n\tctx context.Context,\n\tcallOrigin string,\n) context.Context {\n\treturn setIncomingMD(ctx, map[string]string{callOriginHeaderName: callOrigin})\n}", "func (a *SetPermissionArgs...
[ "0.80196726", "0.7189707", "0.7154953", "0.7088292", "0.6934476", "0.68809646", "0.6803109", "0.67791086", "0.6698489", "0.6690764", "0.66876876", "0.66319853", "0.65280163", "0.6461048", "0.6432481", "0.6425079", "0.6382391", "0.6347609", "0.6234449", "0.6170806", "0.6167759...
0.79898334
1
ComputeOriginOffset returns the transform origin offset.
ComputeOriginOffset возвращает смещение точки преобразования.
func (t *Transform) ComputeOriginOffset(screenWidth, screenHeight float64) (offsetX, offsetY float64) { switch t.Origin { case TransformOriginTopLeft: offsetX, offsetY = 0, screenHeight case TransformOriginTopMiddle: offsetX, offsetY = screenWidth/2, screenHeight case TransformOriginTopRight: offsetX, offsetY...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func (this *Transformable) GetOrigin() (origin Vector2f) {\n\torigin.fromC(C.sfTransformable_getOrigin(this.cptr))\n\treturn\n}", "func (p point) distanceToOrigin() int {\n\treturn p.distanceToPoint(point{x: 0, y: 0})\n}", "func (tlc *TLCMessage) GetOrigin() string {\n\treturn tlc.Origin\n}", "func calcCoord...
[ "0.5914239", "0.53744346", "0.5362208", "0.53457284", "0.5273407", "0.5206835", "0.51678556", "0.51544935", "0.513803", "0.5098593", "0.50667167", "0.49152374", "0.49146998", "0.49081457", "0.48933637", "0.48863855", "0.4874854", "0.48649567", "0.4814246", "0.481144", "0.4782...
0.7910798
0
Deprecated: Use TopicSubmissionMessage.ProtoReflect.Descriptor instead.
Устаревший: используйте TopicSubmissionMessage.ProtoReflect.Descriptor вместо этого.
func (*TopicSubmissionMessage) Descriptor() ([]byte, []int) { return file_topic_submission_message_proto_rawDescGZIP(), []int{0} }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func (*Topic) Descriptor() ([]byte, []int) {\n\treturn file_feedbackreq_proto_rawDescGZIP(), []int{2}\n}", "func (*Topic) Descriptor() ([]byte, []int) {\n\treturn file_proto_google_fhir_proto_r5_core_resources_topic_proto_rawDescGZIP(), []int{0}\n}", "func (*TopicMessage) Descriptor() ([]byte, []int) {\n\tretu...
[ "0.68175507", "0.67892355", "0.67468566", "0.6635227", "0.6584398", "0.6502781", "0.64011806", "0.6390371", "0.6389811", "0.63250625", "0.629232", "0.6287109", "0.6235323", "0.62342507", "0.61407334", "0.6138201", "0.612377", "0.6117275", "0.6095283", "0.60721815", "0.6071343...
0.72706485
0
NewVvolBindingDeleteParams creates a new VvolBindingDeleteParams object, with the default timeout for this client. Default values are not hydrated, since defaults are normally applied by the API server side. To enforce default values in parameter, use SetDefaults or WithDefaults.
NewVvolBindingDeleteParams создает новый объект VvolBindingDeleteParams с default timeout для этого клиента. Default значения не гидратируются, поскольку обычно применяются по умолчанию сервером API. Чтобы принудительно применить значения по умолчанию в параметрах, используйте SetDefaults или WithDefaults.
func NewVvolBindingDeleteParams() *VvolBindingDeleteParams { return &VvolBindingDeleteParams{ timeout: cr.DefaultTimeout, } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func NewVvolBindingDeleteParamsWithTimeout(timeout time.Duration) *VvolBindingDeleteParams {\n\treturn &VvolBindingDeleteParams{\n\t\ttimeout: timeout,\n\t}\n}", "func (o *VvolBindingDeleteParams) WithTimeout(timeout time.Duration) *VvolBindingDeleteParams {\n\to.SetTimeout(timeout)\n\treturn o\n}", "func NewV...
[ "0.8443394", "0.80488086", "0.79342115", "0.7605265", "0.73258764", "0.71807414", "0.66015834", "0.656757", "0.6386962", "0.6290172", "0.624446", "0.62381047", "0.61957663", "0.61885685", "0.61526823", "0.6124373", "0.6017747", "0.6001432", "0.5993086", "0.5975276", "0.596195...
0.89485335
0
NewVvolBindingDeleteParamsWithTimeout creates a new VvolBindingDeleteParams object with the ability to set a timeout on a request.
NewVvolBindingDeleteParamsWithTimeout создает новый объект VvolBindingDeleteParams с возможностью установки таймаута на запрос.
func NewVvolBindingDeleteParamsWithTimeout(timeout time.Duration) *VvolBindingDeleteParams { return &VvolBindingDeleteParams{ timeout: timeout, } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func (o *VvolBindingDeleteParams) WithTimeout(timeout time.Duration) *VvolBindingDeleteParams {\n\to.SetTimeout(timeout)\n\treturn o\n}", "func NewVvolBindingDeleteParams() *VvolBindingDeleteParams {\n\treturn &VvolBindingDeleteParams{\n\t\ttimeout: cr.DefaultTimeout,\n\t}\n}", "func (o *VvolBindingDeleteParam...
[ "0.833041", "0.75770617", "0.75299597", "0.75071734", "0.7177665", "0.71717817", "0.7094056", "0.7027132", "0.69987446", "0.6997985", "0.6857217", "0.68130285", "0.6753555", "0.67476237", "0.67308384", "0.6725506", "0.6687974", "0.66241753", "0.65718096", "0.65705854", "0.653...
0.89275056
0
NewVvolBindingDeleteParamsWithContext creates a new VvolBindingDeleteParams object with the ability to set a context for a request.
NewVvolBindingDeleteParamsWithContext создает новый объект VvolBindingDeleteParams с возможностью установки контекста запроса.
func NewVvolBindingDeleteParamsWithContext(ctx context.Context) *VvolBindingDeleteParams { return &VvolBindingDeleteParams{ Context: ctx, } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func NewVvolBindingDeleteParams() *VvolBindingDeleteParams {\n\treturn &VvolBindingDeleteParams{\n\t\ttimeout: cr.DefaultTimeout,\n\t}\n}", "func NewVvolBindingDeleteParamsWithHTTPClient(client *http.Client) *VvolBindingDeleteParams {\n\treturn &VvolBindingDeleteParams{\n\t\tHTTPClient: client,\n\t}\n}", "func...
[ "0.7681622", "0.74235815", "0.72549915", "0.64245224", "0.64204115", "0.6269961", "0.6203132", "0.6025189", "0.5897464", "0.58345693", "0.5770824", "0.56995344", "0.5696491", "0.5662892", "0.5658423", "0.56506205", "0.5478355", "0.5402012", "0.52876925", "0.5245509", "0.52265...
0.883239
0
NewVvolBindingDeleteParamsWithHTTPClient creates a new VvolBindingDeleteParams object with the ability to set a custom HTTPClient for a request.
NewVvolBindingDeleteParamsWithHTTPClient создает новый объект VvolBindingDeleteParams с возможностью задания пользовательского HTTPClient для запроса.
func NewVvolBindingDeleteParamsWithHTTPClient(client *http.Client) *VvolBindingDeleteParams { return &VvolBindingDeleteParams{ HTTPClient: client, } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func (o *VvolBindingDeleteParams) WithHTTPClient(client *http.Client) *VvolBindingDeleteParams {\n\to.SetHTTPClient(client)\n\treturn o\n}", "func NewVvolBindingDeleteParams() *VvolBindingDeleteParams {\n\treturn &VvolBindingDeleteParams{\n\t\ttimeout: cr.DefaultTimeout,\n\t}\n}", "func NewVolumeDeleteParamsWi...
[ "0.8671437", "0.7384527", "0.7372792", "0.73189396", "0.7087894", "0.7058488", "0.6999345", "0.6938914", "0.69215393", "0.68205565", "0.68110675", "0.66864115", "0.66708326", "0.6662493", "0.6658155", "0.6491086", "0.647839", "0.6460584", "0.6460478", "0.6459379", "0.6436317"...
0.85762304
1
WithDefaults hydrates default values in the vvol binding delete params (not the query body). All values with no default are reset to their zero value.
WithDefaults загружает значения по умолчанию в параметрах vvol binding delete (не в теле запроса). Все значения без значения по умолчанию сбрасываются к своему нулевому значению.
func (o *VvolBindingDeleteParams) WithDefaults() *VvolBindingDeleteParams { o.SetDefaults() return o }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func (o *VvolBindingDeleteParams) SetDefaults() {\n\tvar (\n\t\tdeleteAllReferencesDefault = bool(false)\n\t)\n\n\tval := VvolBindingDeleteParams{\n\t\tDeleteAllReferences: &deleteAllReferencesDefault,\n\t}\n\n\tval.timeout = o.timeout\n\tval.Context = o.Context\n\tval.HTTPClient = o.HTTPClient\n\t*o = val\n}", ...
[ "0.8024694", "0.69307846", "0.6919275", "0.68561697", "0.68067634", "0.6789882", "0.6783438", "0.6654979", "0.65403056", "0.64354616", "0.6425076", "0.6423718", "0.63207895", "0.6310937", "0.62996227", "0.6297419", "0.6264217", "0.6254231", "0.624768", "0.6148051", "0.6038849...
0.7161946
1
SetDefaults hydrates default values in the vvol binding delete params (not the query body). All values with no default are reset to their zero value.
SetDefaults загружает значения по умолчанию для параметров удаления vvol связывания (не в теле запроса). Все значения без значения по умолчанию сбрасываются к своему нулевому значению.
func (o *VvolBindingDeleteParams) SetDefaults() { var ( deleteAllReferencesDefault = bool(false) ) val := VvolBindingDeleteParams{ DeleteAllReferences: &deleteAllReferencesDefault, } val.timeout = o.timeout val.Context = o.Context val.HTTPClient = o.HTTPClient *o = val }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func (o *DeleteBlueprintRequestUsingDELETE1Params) SetDefaults() {\n\t// no default values defined for this parameter\n}", "func (o *ComponentDeleteParams) SetDefaults() {\n\t// no default values defined for this parameter\n}", "func (o *DeleteUsingDELETE1Params) SetDefaults() {\n\t// no default values defined...
[ "0.75364006", "0.75100535", "0.7508836", "0.74438876", "0.7425384", "0.729681", "0.7260536", "0.72358084", "0.7212591", "0.71349096", "0.71285725", "0.7104628", "0.7054597", "0.7035304", "0.697078", "0.6863822", "0.67509896", "0.6714793", "0.67139083", "0.6703411", "0.6660703...
0.84096485
0
WithTimeout adds the timeout to the vvol binding delete params
WithTimeout добавляет таймаут в параметры удаления привязки vvol
func (o *VvolBindingDeleteParams) WithTimeout(timeout time.Duration) *VvolBindingDeleteParams { o.SetTimeout(timeout) return o }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func (o *VvolBindingDeleteParams) SetTimeout(timeout time.Duration) {\n\to.timeout = timeout\n}", "func NewVvolBindingDeleteParamsWithTimeout(timeout time.Duration) *VvolBindingDeleteParams {\n\treturn &VvolBindingDeleteParams{\n\t\ttimeout: timeout,\n\t}\n}", "func (o *VolumeDeleteParams) SetTimeout(timeout t...
[ "0.7468831", "0.67573833", "0.6754353", "0.66252846", "0.6508116", "0.6367591", "0.6355736", "0.63485533", "0.6238335", "0.6232378", "0.62192976", "0.621058", "0.6202076", "0.6191659", "0.61659044", "0.616456", "0.6153679", "0.60536504", "0.5998588", "0.5980925", "0.597944", ...
0.751193
0
SetTimeout adds the timeout to the vvol binding delete params
SetTimeout добавляет таймаут в параметры удаления vvol привязки
func (o *VvolBindingDeleteParams) SetTimeout(timeout time.Duration) { o.timeout = timeout }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func (o *VolumeDeleteParams) SetTimeout(timeout time.Duration) {\n\to.timeout = timeout\n}", "func (o *DeleteProtocolUsingDELETEParams) SetTimeout(timeout time.Duration) {\n\to.timeout = timeout\n}", "func (o *DeleteDebugRequestParams) SetTimeout(timeout time.Duration) {\n\to.timeout = timeout\n}", "func (o ...
[ "0.7573724", "0.7207692", "0.7046025", "0.7044389", "0.70108753", "0.7000114", "0.6995935", "0.6985808", "0.6983977", "0.69346863", "0.6927923", "0.68983376", "0.68788433", "0.6873153", "0.68369544", "0.68284047", "0.6817396", "0.6802894", "0.6794395", "0.67751145", "0.676817...
0.81471366
0
SetContext adds the context to the vvol binding delete params
SetContext добавляет контекст в параметры удаления vvol-связи
func (o *VvolBindingDeleteParams) SetContext(ctx context.Context) { o.Context = ctx }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func (o *VvolBindingDeleteParams) WithContext(ctx context.Context) *VvolBindingDeleteParams {\n\to.SetContext(ctx)\n\treturn o\n}", "func (t *TrudyPipe) DeleteContext(key string) {\n\tt.pipeMutex.Lock()\n\tdelete(t.KV, key)\n\tt.pipeMutex.Unlock()\n}", "func (o *VolumeDeleteParams) SetContext(ctx context.Conte...
[ "0.66318446", "0.6619967", "0.61802596", "0.6071842", "0.6011937", "0.59528744", "0.57643175", "0.56513625", "0.56484604", "0.56130177", "0.5583455", "0.5573217", "0.5562416", "0.5535417", "0.5529479", "0.5527358", "0.55204093", "0.5519037", "0.55094343", "0.5493999", "0.5492...
0.70238644
0
WithHTTPClient adds the HTTPClient to the vvol binding delete params
WithHTTPClient добавляет HTTPClient в параметры удаления vvol binding
func (o *VvolBindingDeleteParams) WithHTTPClient(client *http.Client) *VvolBindingDeleteParams { o.SetHTTPClient(client) return o }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func (o *VvolBindingDeleteParams) SetHTTPClient(client *http.Client) {\n\to.HTTPClient = client\n}", "func (o *VolumeDeleteParams) SetHTTPClient(client *http.Client) {\n\to.HTTPClient = client\n}", "func (o *VolumeDeleteParams) WithHTTPClient(client *http.Client) *VolumeDeleteParams {\n\to.SetHTTPClient(client...
[ "0.7519185", "0.6756765", "0.66501546", "0.6649163", "0.66412854", "0.65906143", "0.65437907", "0.6530756", "0.64375067", "0.64069736", "0.64000154", "0.6371847", "0.63688064", "0.6310587", "0.62990755", "0.6244727", "0.62355083", "0.61710334", "0.6162737", "0.6149288", "0.61...
0.7508446
1
SetHTTPClient adds the HTTPClient to the vvol binding delete params
SetHTTPClient добавляет HTTPClient в параметры удаления vvol привязки
func (o *VvolBindingDeleteParams) SetHTTPClient(client *http.Client) { o.HTTPClient = client }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func (o *VolumeDeleteParams) SetHTTPClient(client *http.Client) {\n\to.HTTPClient = client\n}", "func (o *DeleteProtocolUsingDELETEParams) SetHTTPClient(client *http.Client) {\n\to.HTTPClient = client\n}", "func (o *DeleteGerritListenerByIDUsingDELETEParams) SetHTTPClient(client *http.Client) {\n\to.HTTPClient...
[ "0.75474316", "0.74891007", "0.7454922", "0.73563224", "0.7226734", "0.719675", "0.71747655", "0.7127238", "0.7110341", "0.7092532", "0.70717365", "0.70638525", "0.70218146", "0.701651", "0.70134234", "0.70107466", "0.7001641", "0.6992659", "0.69905186", "0.69791144", "0.6966...
0.81960213
0
WithDeleteAllReferences adds the deleteAllReferences to the vvol binding delete params
WithDeleteAllReferences добавляет deleteAllReferences в параметры удаления vvol привязки
func (o *VvolBindingDeleteParams) WithDeleteAllReferences(deleteAllReferences *bool) *VvolBindingDeleteParams { o.SetDeleteAllReferences(deleteAllReferences) return o }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func (o *VvolBindingDeleteParams) SetDeleteAllReferences(deleteAllReferences *bool) {\n\to.DeleteAllReferences = deleteAllReferences\n}", "func (o *VvolBindingDeleteParams) SetDefaults() {\n\tvar (\n\t\tdeleteAllReferencesDefault = bool(false)\n\t)\n\n\tval := VvolBindingDeleteParams{\n\t\tDeleteAllReferences: &...
[ "0.7380496", "0.6893267", "0.6104744", "0.604309", "0.58674455", "0.58534765", "0.5822575", "0.5779294", "0.5631722", "0.5625062", "0.5582434", "0.5573762", "0.5568083", "0.5548098", "0.55454016", "0.5544827", "0.5540688", "0.55064595", "0.54958194", "0.5486631", "0.54630715"...
0.74422747
0
SetDeleteAllReferences adds the deleteAllReferences to the vvol binding delete params
SetDeleteAllReferences добавляет deleteAllReferences в параметры удаления vvol связывания
func (o *VvolBindingDeleteParams) SetDeleteAllReferences(deleteAllReferences *bool) { o.DeleteAllReferences = deleteAllReferences }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func (o *VvolBindingDeleteParams) WithDeleteAllReferences(deleteAllReferences *bool) *VvolBindingDeleteParams {\n\to.SetDeleteAllReferences(deleteAllReferences)\n\treturn o\n}", "func (o *VvolBindingDeleteParams) SetDefaults() {\n\tvar (\n\t\tdeleteAllReferencesDefault = bool(false)\n\t)\n\n\tval := VvolBindingD...
[ "0.70774865", "0.69914395", "0.6261222", "0.61479115", "0.6081627", "0.6005739", "0.5977111", "0.57168645", "0.56603426", "0.56408215", "0.5606522", "0.56003577", "0.5594191", "0.55833054", "0.55614084", "0.5522759", "0.55059785", "0.55058986", "0.5471875", "0.5471104", "0.54...
0.7569814
0
WithProtocolEndpointUUID adds the protocolEndpointUUID to the vvol binding delete params
WithProtocolEndpointUUID добавляет protocolEndpointUUID в параметры удаления привязки vvol
func (o *VvolBindingDeleteParams) WithProtocolEndpointUUID(protocolEndpointUUID string) *VvolBindingDeleteParams { o.SetProtocolEndpointUUID(protocolEndpointUUID) return o }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func (o *VvolBindingDeleteParams) SetProtocolEndpointUUID(protocolEndpointUUID string) {\n\to.ProtocolEndpointUUID = protocolEndpointUUID\n}", "func (a *DeprecatedBusManagementRouterApiService) DeleteBindingUsingDELETE(ctx _context.Context, routingKeyFilter string, fifoName string) ApiDeleteBindingUsingDELETEReq...
[ "0.78896624", "0.6120699", "0.5892373", "0.58651924", "0.56486714", "0.5636188", "0.5624453", "0.5530282", "0.55268186", "0.5493304", "0.5451638", "0.5444671", "0.54328173", "0.5395458", "0.53122944", "0.52827656", "0.52808744", "0.5268355", "0.52518433", "0.52463406", "0.524...
0.79024434
0
SetProtocolEndpointUUID adds the protocolEndpointUuid to the vvol binding delete params
SetProtocolEndpointUUID добавляет protocolEndpointUuid в параметры удаления связывания vvol
func (o *VvolBindingDeleteParams) SetProtocolEndpointUUID(protocolEndpointUUID string) { o.ProtocolEndpointUUID = protocolEndpointUUID }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func (o *VvolBindingDeleteParams) WithProtocolEndpointUUID(protocolEndpointUUID string) *VvolBindingDeleteParams {\n\to.SetProtocolEndpointUUID(protocolEndpointUUID)\n\treturn o\n}", "func (ec *ExtensionClient) DeleteEndpoint(extensionID, serviceID, URL string) error {\n\n\turl := url.QueryEscape(URL)\n\trequest...
[ "0.7659155", "0.570262", "0.5665805", "0.5574231", "0.5487855", "0.5458138", "0.54484373", "0.53901285", "0.53780055", "0.5294667", "0.525582", "0.52462846", "0.5224845", "0.51934177", "0.51763844", "0.5141262", "0.51157594", "0.50997233", "0.50864244", "0.5083183", "0.507416...
0.8175953
0
WithVvolUUID adds the vvolUUID to the vvol binding delete params
WithVvolUUID добавляет vvolUUID в параметры удаления привязки vvol
func (o *VvolBindingDeleteParams) WithVvolUUID(vvolUUID string) *VvolBindingDeleteParams { o.SetVvolUUID(vvolUUID) return o }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func (o *VvolBindingDeleteParams) SetVvolUUID(vvolUUID string) {\n\to.VvolUUID = vvolUUID\n}", "func (o *VvolBindingDeleteParams) WithProtocolEndpointUUID(protocolEndpointUUID string) *VvolBindingDeleteParams {\n\to.SetProtocolEndpointUUID(protocolEndpointUUID)\n\treturn o\n}", "func DeleteVol(uuid string) int...
[ "0.6342966", "0.57557654", "0.56391346", "0.5401194", "0.5321719", "0.5308691", "0.52751863", "0.52710754", "0.5231506", "0.5231353", "0.5230582", "0.5166526", "0.5165278", "0.51168615", "0.5112844", "0.50630164", "0.5059387", "0.5027256", "0.50054806", "0.5002026", "0.498795...
0.70726687
0
SetVvolUUID adds the vvolUuid to the vvol binding delete params
SetVvolUUID добавляет vvolUuid в параметры удаления привязки vvol
func (o *VvolBindingDeleteParams) SetVvolUUID(vvolUUID string) { o.VvolUUID = vvolUUID }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func (o *VvolBindingDeleteParams) WithVvolUUID(vvolUUID string) *VvolBindingDeleteParams {\n\to.SetVvolUUID(vvolUUID)\n\treturn o\n}", "func DeleteVol(uuid string) int32 {\n\n\t_, conn, err := utils.DialVolMgr(VolMgrHosts)\n\tif err != nil {\n\t\tlogger.Error(\"DeleteVol failed,Dial to VolMgrHosts fail :%v\", er...
[ "0.6738907", "0.5607763", "0.53754246", "0.5191161", "0.5182265", "0.5169527", "0.5094504", "0.5089154", "0.50468004", "0.50332665", "0.5024225", "0.49893975", "0.4986372", "0.49672964", "0.4869989", "0.48687732", "0.48615307", "0.48320144", "0.47920194", "0.47809136", "0.474...
0.7143403
0
SessionKey returns the most recent sessionKey in MemStore.
SessionKey возвращает самый последний sessionKey в MemStore.
func (ms *MemStore) SessionKey() string { return ms.sessionKey }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func (a *Account) SessionKey() *big.Int {\n\tif a.sessionKey == nil {\n\t\ta.sessionKey, _ = new(big.Int).SetString(a.SessionKeyStr, 16)\n\t}\n\n\treturn a.sessionKey\n}", "func (session *Session) GetSessionKey() string {\n\treturn session.id.String()\n}", "func SessionStoreKey() string {\n\treturn app.Session...
[ "0.66067576", "0.6544803", "0.6505307", "0.64512503", "0.6407087", "0.6332514", "0.62486035", "0.61219746", "0.606997", "0.6033466", "0.6021937", "0.6005555", "0.59739584", "0.5952178", "0.59406084", "0.593616", "0.5876714", "0.5831891", "0.58072", "0.5770329", "0.56571907", ...
0.7522756
0
AddPrivateKeyEntry adds private KeyEntry to memory store.
AddPrivateKeyEntry добавляет private KeyEntry в хранилище в памяти.
func (ms *MemStore) AddPrivateKeyEntry(ke *uid.KeyEntry) { ms.privateKeyEntryMap[ke.HASH] = ke }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func (s *Service) AddPrivateKey(keyID string, privateKey crypto.PrivateKey) error {\n\tif _, ok := s.keys[keyID]; ok {\n\t\ts.log.Error(\"The specified key ID is already in use\", \"keyID\", keyID)\n\t\treturn signingkeys.ErrSigningKeyAlreadyExists.Errorf(\"The specified key ID is already in use: %s\", keyID)\n\t}...
[ "0.70359194", "0.6639596", "0.5902523", "0.5467966", "0.5320013", "0.5296554", "0.5258727", "0.5252541", "0.52133185", "0.51536345", "0.513239", "0.5129155", "0.5101568", "0.5091105", "0.5075747", "0.5056588", "0.5034122", "0.50106305", "0.5004521", "0.50001854", "0.49769345"...
0.8498008
0
AddPublicKeyEntry adds public KeyEntry from identity to memory store.
AddPublicKeyEntry добавляет публичную запись KeyEntry из идентичности в хранилище в памяти.
func (ms *MemStore) AddPublicKeyEntry(identity string, ke *uid.KeyEntry) { ms.publicKeyEntryMap[identity] = ke }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func (rd *RootDomain) AddNewMemberToPublicKeyMap(publicKey string, memberRef insolar.Reference) error {\n\ttrimmedPublicKey := foundation.TrimPublicKey(publicKey)\n\tshardIndex := foundation.GetShardIndex(trimmedPublicKey, insolar.GenesisAmountPublicKeyShards)\n\tif shardIndex >= len(rd.PublicKeyShards) {\n\t\tret...
[ "0.63024616", "0.59909403", "0.569348", "0.5526946", "0.5513472", "0.5460001", "0.5453411", "0.5379979", "0.533164", "0.53291917", "0.532534", "0.5313849", "0.5195983", "0.515629", "0.51547736", "0.51377964", "0.50954324", "0.50908095", "0.50813365", "0.50612247", "0.5059582"...
0.847996
0
SetSessionState implemented in memory.
SetSessionState реализован в памяти.
func (ms *MemStore) SetSessionState( sessionStateKey string, sessionState *session.State, ) error { ms.sessionStates[sessionStateKey] = sessionState return nil }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func (mc *mgmtClient) SetSessionState(ctx context.Context, sessionID string, state []byte) error {\n\tuuid, err := uuid.New()\n\n\tif err != nil {\n\t\treturn err\n\t}\n\n\tamqpMsg := &amqp.Message{\n\t\tValue: map[string]interface{}{\n\t\t\t\"session-id\": sessionID,\n\t\t\t\"session-state\": state,\n\t\t},\n\...
[ "0.75131947", "0.6425117", "0.6318091", "0.6184344", "0.6074247", "0.6017674", "0.59498626", "0.58186895", "0.5739513", "0.57371587", "0.5629504", "0.56084186", "0.5596258", "0.5556739", "0.55478746", "0.5545527", "0.5541016", "0.5524564", "0.55016655", "0.5493186", "0.546998...
0.7806558
0
StoreSession implemented in memory.
StoreSession реализован в памяти.
func (ms *MemStore) StoreSession( sessionKey, rootKeyHash, chainKey string, send, recv []string, ) error { if len(send) != len(recv) { return log.Error("memstore: len(send) != len(recv)") } log.Debugf("memstore.StoreSession(): %s", sessionKey) s, ok := ms.sessions[sessionKey] if !ok { ms.sessions[sessionKey]...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func Store() gorillaSessions.Store {\n\n}", "func (session *Session) Store() error {\n\treturn session.cache.Store(session.id, session)\n}", "func (s *inMemorySessionStore) Save(session USSDSession) {\n\ts.lock.Lock()\n\tdefer s.lock.Unlock()\n\ts.deleteOldestIfFull()\n\tif s.store[session.ID] == nil {\n\t\ts....
[ "0.7168202", "0.7162182", "0.7039447", "0.6854262", "0.68216854", "0.6818332", "0.6646486", "0.66210485", "0.6595175", "0.6536938", "0.6471403", "0.6465982", "0.6429156", "0.64185417", "0.6374666", "0.6370199", "0.63664067", "0.63397634", "0.6339028", "0.6318748", "0.6291724"...
0.7362877
0
HasSession implemented in memory.
HasSession реализован в памяти.
func (ms *MemStore) HasSession(sessionKey string) bool { _, ok := ms.sessions[sessionKey] return ok }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func (pder *MemSessionProvider) HasSession(sid string) (bool, error) {\r\n\tpder.lock.RLock()\r\n\tdefer pder.lock.RUnlock()\r\n\r\n\t_, ok := pder.sessions[sid]\r\n\treturn ok, nil\r\n}", "func (f *Features) canSession(ctx context.Context, adminDB *mongo.Database) {\n\tcmd := bson.D{\n\t\t{\n\t\t\tKey: \"repl...
[ "0.73276985", "0.6829984", "0.663619", "0.66340333", "0.6624183", "0.66232616", "0.66033375", "0.65276873", "0.6525407", "0.6486037", "0.6478318", "0.6466748", "0.64379466", "0.6426397", "0.63889796", "0.6324362", "0.63059235", "0.6290662", "0.623621", "0.6206161", "0.6145826...
0.7448208
0
GetPrivateKeyEntry implemented in memory.
GetPrivateKeyEntry реализован в памяти.
func (ms *MemStore) GetPrivateKeyEntry(pubKeyHash string) (*uid.KeyEntry, error) { ke, ok := ms.privateKeyEntryMap[pubKeyHash] if !ok { return nil, log.Error(session.ErrNoKeyEntry) } return ke, nil }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func (a *Account) GetPrivateKey() crypto.PrivateKey { return a.key }", "func (a *Account) GetPrivateKey() crypto.PrivateKey {\n\treturn a.key\n}", "func (w *Whisper) GetPrivateKey(id string) (*ecdsa.PrivateKey, error) {\n\tw.keyMu.RLock()\n\tdefer w.keyMu.RUnlock()\n\tkey := w.privateKeys[id]\n\tif key == nil ...
[ "0.7356036", "0.66376597", "0.65908307", "0.651616", "0.6494148", "0.647002", "0.6434694", "0.6398078", "0.6364217", "0.63412416", "0.6313559", "0.62824595", "0.62165207", "0.6210221", "0.6189422", "0.6186901", "0.61555266", "0.6147926", "0.6114492", "0.6103414", "0.60985696"...
0.71336013
1
GetPublicKeyEntry implemented in memory.
GetPublicKeyEntry реализован в памяти.
func (ms *MemStore) GetPublicKeyEntry(uidMsg *uid.Message) (*uid.KeyEntry, string, error) { ke, ok := ms.publicKeyEntryMap[uidMsg.Identity()] if !ok { return nil, "", log.Error(session.ErrNoKeyEntry) } return ke, "undefined", nil }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func (pk PrivateKey) GetPublicKey() PublicKey {\n\treturn NewPublicKey(pk[32:])\n}", "func (store *keyStore) GetPublicKey(address string) (*openpgp.Entity, error) {\n\tel := store.lookupPublicKey(address)\n\tif len(el) > 0 {\n\t\treturn el[0], nil\n\t}\n\treturn nil, nil\n}", "func (pk *PrivateKey) GetPublicKe...
[ "0.6892429", "0.68824655", "0.6855572", "0.68315506", "0.67732835", "0.6762745", "0.673968", "0.67140543", "0.667578", "0.66340315", "0.66220355", "0.6611298", "0.6580103", "0.6537619", "0.6503447", "0.6442019", "0.6441319", "0.6419658", "0.6399346", "0.63818866", "0.63710785...
0.7593955
0
NumMessageKeys implemented in memory.
NumMessageKeys реализован в памяти.
func (ms *MemStore) NumMessageKeys(sessionKey string) (uint64, error) { s, ok := ms.sessions[sessionKey] if !ok { return 0, log.Errorf("memstore: no session found for %s", sessionKey) } return uint64(len(s.send)), nil }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func (m *Message) NKeys() int { return 12 }", "func (m *SubMessage) NKeys() int { return 4 }", "func (p BnetAuthCheckPacket) NumKeys() int {\n\tpb := PacketBuffer(p)\n\treturn pb.Uint32(16)\n}", "func (m *WatcherMetrics) NKeys() int { return 4 }", "func (m *Metric) NKeys() int { return 5 }", "func (d *Da...
[ "0.81549484", "0.78064597", "0.75367594", "0.7298265", "0.7173821", "0.7139803", "0.7030167", "0.6948036", "0.6934252", "0.69107145", "0.6790297", "0.6749787", "0.6585243", "0.65516406", "0.6520214", "0.6461423", "0.64228487", "0.64208007", "0.63739985", "0.63620496", "0.6316...
0.80916345
1
GetMessageKey implemented in memory.
GetMessageKey реализован в памяти.
func (ms *MemStore) GetMessageKey( sessionKey string, sender bool, msgIndex uint64, ) (*[64]byte, error) { s, ok := ms.sessions[sessionKey] if !ok { return nil, log.Errorf("memstore: no session found for %s", sessionKey) } if msgIndex >= uint64(len(s.send)) { return nil, log.Error("memstore: message index ou...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func (m Message) Key() []byte {\n\tstart, end, size := m.keyOffsets()\n\tif size == -1 {\n\t\treturn nil\n\t}\n\treturn m[start+4 : end]\n}", "func MessageKey(authKey Key, plaintextPadded []byte, mode Side) bin.Int128 {\n\t// `msg_key_large = SHA256 (substr (auth_key, 88+x, 32) + plaintext + random_padding);`\n\...
[ "0.73595506", "0.6789251", "0.6704122", "0.66150147", "0.6544578", "0.6529682", "0.64331543", "0.641901", "0.6389284", "0.6387634", "0.63848305", "0.63806224", "0.63209355", "0.62894017", "0.62710315", "0.62678534", "0.6229667", "0.62214786", "0.6218583", "0.61587995", "0.615...
0.7453689
0
GetChainKey implemented in memory.
GetChainKey реализован в памяти.
func (ms *MemStore) GetChainKey(sessionKey string) (*[32]byte, error) { s, ok := ms.sessions[sessionKey] if !ok { return nil, log.Errorf("memstore: no session found for %s", sessionKey) } // decode chain key var key [32]byte k, err := base64.Decode(s.chainKey) if err != nil { return nil, log.Error("memstore:...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func GetChainKey(chainID string) []byte {\n\treturn append(KeyPrefix(ChainKey), []byte(chainID)...)\n}", "func (hs *HandshakeState) GetChainingKey() []byte {\n\treturn hs.ss.chainingKey[:]\n}", "func (k *Keychain) Key() (string, error) {\n\tkey, err := k.BinKey()\n\tif err != nil {\n\t\treturn \"\", err\n\t}\n...
[ "0.7708475", "0.6766239", "0.6656993", "0.6499389", "0.6392745", "0.62943345", "0.62314993", "0.6175444", "0.6171842", "0.614765", "0.6102029", "0.6063963", "0.6012486", "0.59941924", "0.5986066", "0.5903795", "0.589596", "0.5884794", "0.58799124", "0.5879614", "0.58652234", ...
0.75926346
1
DelMessageKey implemented in memory.
DelMessageKey реализован в памяти.
func (ms *MemStore) DelMessageKey( sessionKey string, sender bool, msgIndex uint64, ) error { s, ok := ms.sessions[sessionKey] if !ok { return log.Errorf("memstore: no session found for %s", sessionKey) } if msgIndex >= uint64(len(s.send)) { return log.Error("memstore: message index out of bounds") } // de...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func (k Keeper) RemoveMessage(ctx sdk.Context, id uint64) {\n\tstore := prefix.NewStore(ctx.KVStore(k.storeKey), types.KeyPrefix(types.MessageKey))\n\tstore.Delete(GetMessageIDBytes(id))\n}", "func (c Context) Del(key string) {\n\tdelete(c.data, key)\n}", "func (u *UdMap) Del(key string) { delete(u.Data, key) ...
[ "0.6409165", "0.62833005", "0.62153774", "0.6165137", "0.6157906", "0.61292326", "0.60809404", "0.60754925", "0.60167915", "0.5963728", "0.5958929", "0.5957783", "0.5909399", "0.59034777", "0.58986545", "0.5890563", "0.5835201", "0.58141613", "0.5803102", "0.57944787", "0.578...
0.805607
0
AddSessionKey implemented in memory.
AddSessionKey реализован в памяти.
func (ms *MemStore) AddSessionKey( hash, json, privKey string, cleanupTime uint64, ) error { ms.sessionKeys[hash] = &sessionKey{ json: json, privKey: privKey, cleanupTime: cleanupTime, } return nil }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func (s *Session) Add(key string, value interface{}) error {\n\tbts, err := json.Marshal(value)\n\tif err != nil {\n\t\treturn err\n\t}\n\n\ts.values[key] = string(bts)\n\n\treturn nil\n}", "func addSession(user *User) error {\n\trandBytes, err := scrypt.GenerateRandomBytes(32)\n\tif err != nil {\n\t\treturn err...
[ "0.6423503", "0.6323099", "0.62819356", "0.6256926", "0.61663294", "0.616442", "0.6119882", "0.6119334", "0.6081158", "0.6046519", "0.5989558", "0.5984429", "0.5983712", "0.59713036", "0.59532416", "0.59405285", "0.5913878", "0.59074885", "0.5815175", "0.5807486", "0.580188",...
0.8089887
0
DelPrivSessionKey implemented in memory.
DelPrivSessionKey реализован в памяти.
func (ms *MemStore) DelPrivSessionKey(hash string) error { sk, ok := ms.sessionKeys[hash] if !ok { return nil } sk.privKey = "" return nil }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func (privKey *YubiHsmPrivateKey) UnloadYubiHsmPrivKey() {\n\tif privKey.sessionMgr == nil {\n\t\treturn\n\t}\n\tprivKey.sessionMgr.Destroy()\n}", "func (sess Session) Del(key string) {\n\tdelete(sess, key)\n}", "func (m *MemoryStorer) Del(key string) error {\n\tm.mut.Lock()\n\tdelete(m.sessions, key)\n\tm.mut...
[ "0.6715381", "0.6082555", "0.5926367", "0.5817727", "0.5523478", "0.551132", "0.54544395", "0.53445286", "0.530673", "0.52464896", "0.5220689", "0.52179104", "0.5181789", "0.51731354", "0.5166579", "0.51601577", "0.51547384", "0.51293325", "0.51090336", "0.51075536", "0.51048...
0.81617534
0
CleanupSessionKeys implemented in memory.
CleanupSessionKeys реализован в памяти.
func (ms *MemStore) CleanupSessionKeys(t uint64) error { var oldKeys []string for hash, sk := range ms.sessionKeys { if sk.cleanupTime < t { oldKeys = append(oldKeys, hash) } } for _, hash := range oldKeys { delete(ms.sessionKeys, hash) } return nil }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func SessionCleanup() {\n\tfor {\n\t\tselect {\n\t\tcase <-time.After(SessionManager.SessionCleanupTime * time.Minute):\n\t\t\tSessionManager.ReqSessionMem <- 1 // ask to access the shared mem, blocks until granted\n\t\t\t<-SessionManager.ReqSessionMemAck // make sure we got it\n\t\t\tss := make(map[string]*Sess...
[ "0.7089904", "0.61599636", "0.58887005", "0.5850469", "0.57533306", "0.56555283", "0.5642214", "0.56363297", "0.5590619", "0.55601865", "0.55595326", "0.5538021", "0.551168", "0.5497634", "0.5470665", "0.544381", "0.54413", "0.5432986", "0.54288346", "0.53801996", "0.53740805...
0.7981413
0
NewDatapoint creates a new Datapoint, inserts it to the database and returns it
NewDatapoint создает новый Datapoint, вставляет его в базу данных и возвращает его
func NewDatapoint(datasetID int64, imageURL string) (dp *Datapoint, err error) { var id int64 err = DB.QueryRow("INSERT INTO datapoint (dataset_id, image_url) VALUES ($1, $2) RETURNING id", datasetID, imageURL).Scan(&id) if err != nil { return // something went wrong! lets get out of here! } //blank space for...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func (db *PostgresDatapointRepo) CreateDatapoint(dp earthworks.Datapoint) (earthworks.Datapoint, error) {\n\tquery := `INSERT INTO datapoint (location) VALUES ($1) RETURNING id`\n\tcreated := earthworks.Datapoint{}\n\terr := db.Get(&created, query, wkt.MarshalString(dp.Location))\n\tif err != nil {\n\t\treturn ear...
[ "0.8000808", "0.6696262", "0.63995373", "0.6313884", "0.59810144", "0.58154607", "0.5605545", "0.5546164", "0.5510137", "0.54992396", "0.54607934", "0.54099196", "0.53961456", "0.53786576", "0.5377734", "0.5367833", "0.5366217", "0.5314214", "0.52989596", "0.5285048", "0.5267...
0.7536382
1
GetDatapointByID fetches a datapoint from the database and returns it
GetDatapointByID извлекает точку данных из базы данных и возвращает ее
func GetDatapointByID(id int64) (dp *Datapoint, err error) { var datasetID int64 var imageURL string err = DB.QueryRow("SELECT id, dataset_id, image_url FROM datapoint WHERE id=$1", id).Scan(&id, &datasetID, &imageURL) if err != nil { return // something went wrong! lets get out of here! } dp = &Datapoint{ ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func GetDataByID(c *gin.Context) {\r\n\tid := c.Params.ByName(\"id\")\r\n\tvar predict Models.Predict\r\n\terr := Models.GetDataByID(&predict, id)\r\n\tif err != nil {\r\n\t\tc.AbortWithStatus(http.StatusNotFound)\r\n\t} else {\r\n\t\tc.JSON(http.StatusOK, predict)\r\n\t}\r\n}", "func (c *MainController) getData...
[ "0.6412124", "0.6151225", "0.61227614", "0.5906473", "0.5903145", "0.5848986", "0.58184546", "0.57869554", "0.5733625", "0.5729925", "0.5715823", "0.56466913", "0.5554012", "0.55272156", "0.540155", "0.53998554", "0.5389559", "0.53856915", "0.5385416", "0.53666097", "0.536644...
0.81728685
0
NewDeleteCoreV1NamespacedPodOK creates DeleteCoreV1NamespacedPodOK with default headers values
NewDeleteCoreV1NamespacedPodOK создает DeleteCoreV1NamespacedPodOK с значениями заголовков по умолчанию
func NewDeleteCoreV1NamespacedPodOK() *DeleteCoreV1NamespacedPodOK { return &DeleteCoreV1NamespacedPodOK{} }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func NewDeleteCoreV1NamespacedServiceOK() *DeleteCoreV1NamespacedServiceOK {\n\treturn &DeleteCoreV1NamespacedServiceOK{}\n}", "func NewCreateCoreV1NamespacedPodOK() *CreateCoreV1NamespacedPodOK {\n\treturn &CreateCoreV1NamespacedPodOK{}\n}", "func NewDeleteCoreV1NamespacedPodUnauthorized() *DeleteCoreV1Namesp...
[ "0.68976986", "0.68763286", "0.6668603", "0.66465414", "0.6645578", "0.6539118", "0.62248933", "0.61037683", "0.6061472", "0.5951946", "0.5913124", "0.5850097", "0.5843914", "0.5727536", "0.5688485", "0.5683131", "0.5660715", "0.5644126", "0.55773365", "0.5564169", "0.5547353...
0.7737533
0
WithPayload adds the payload to the delete core v1 namespaced pod o k response
WithPayload добавляет payload в ответ delete core v1 namespaced pod o k
func (o *DeleteCoreV1NamespacedPodOK) WithPayload(payload *models.IoK8sAPICoreV1Pod) *DeleteCoreV1NamespacedPodOK { o.Payload = payload return o }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func (o *DeleteCoreV1NamespacedPodOK) SetPayload(payload *models.IoK8sAPICoreV1Pod) {\n\to.Payload = payload\n}", "func (o *DeleteCoreV1NamespacedPodAccepted) WithPayload(payload *models.IoK8sAPICoreV1Pod) *DeleteCoreV1NamespacedPodAccepted {\n\to.Payload = payload\n\treturn o\n}", "func (o *DeleteCoreV1Namesp...
[ "0.6468498", "0.64082247", "0.63500136", "0.61151206", "0.59689397", "0.5954123", "0.58461696", "0.58247715", "0.5803609", "0.5773006", "0.5763528", "0.5742729", "0.5729572", "0.57046115", "0.5686261", "0.5660893", "0.55726016", "0.55641377", "0.5547944", "0.5534036", "0.5494...
0.7650072
0
SetPayload sets the payload to the delete core v1 namespaced pod o k response
SetPayload устанавливает полезную нагрузку для ответа delete core v1 namespaced pod o k
func (o *DeleteCoreV1NamespacedPodOK) SetPayload(payload *models.IoK8sAPICoreV1Pod) { o.Payload = payload }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func (o *DeleteCoreV1NamespacedPodAccepted) SetPayload(payload *models.IoK8sAPICoreV1Pod) {\n\to.Payload = payload\n}", "func (o *DeleteCoreV1NamespacedConfigMapOK) SetPayload(payload *models.IoK8sApimachineryPkgApisMetaV1Status) {\n\to.Payload = payload\n}", "func (o *DeleteOrganizationOK) SetPayload(payload ...
[ "0.73235345", "0.72438246", "0.7051416", "0.6964047", "0.67757857", "0.67754436", "0.6732913", "0.6657868", "0.6622713", "0.66210383", "0.6610833", "0.66014844", "0.65748113", "0.6540989", "0.6538674", "0.651376", "0.64942646", "0.6494105", "0.64776886", "0.64722115", "0.6457...
0.78772104
0
NewDeleteCoreV1NamespacedPodAccepted creates DeleteCoreV1NamespacedPodAccepted with default headers values
NewDeleteCoreV1NamespacedPodAccepted создает DeleteCoreV1NamespacedPodAccepted с значениями заголовков по умолчанию
func NewDeleteCoreV1NamespacedPodAccepted() *DeleteCoreV1NamespacedPodAccepted { return &DeleteCoreV1NamespacedPodAccepted{} }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func NewCreateCoreV1NamespacedPodAccepted() *CreateCoreV1NamespacedPodAccepted {\n\treturn &CreateCoreV1NamespacedPodAccepted{}\n}", "func NewDeleteCoreV1NamespacedEventAccepted() *DeleteCoreV1NamespacedEventAccepted {\n\treturn &DeleteCoreV1NamespacedEventAccepted{}\n}", "func NewDeleteCoreV1NamespacedService...
[ "0.7400152", "0.71234435", "0.7122447", "0.70157105", "0.6747055", "0.6736624", "0.62136", "0.61368066", "0.6057876", "0.59432584", "0.58190614", "0.57760686", "0.5772118", "0.5759336", "0.5682018", "0.5618317", "0.55684346", "0.5558717", "0.5553073", "0.54162437", "0.5408024...
0.7965179
0
WithPayload adds the payload to the delete core v1 namespaced pod accepted response
WithPayload добавляет payload в ответ на удаление core v1 namespaced pod, который был принят
func (o *DeleteCoreV1NamespacedPodAccepted) WithPayload(payload *models.IoK8sAPICoreV1Pod) *DeleteCoreV1NamespacedPodAccepted { o.Payload = payload return o }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func (o *DeleteCoreV1NamespacedPodOK) WithPayload(payload *models.IoK8sAPICoreV1Pod) *DeleteCoreV1NamespacedPodOK {\n\to.Payload = payload\n\treturn o\n}", "func (o *DeleteCoreV1NamespacedPodAccepted) SetPayload(payload *models.IoK8sAPICoreV1Pod) {\n\to.Payload = payload\n}", "func (o *DeleteCoreV1NamespacedCo...
[ "0.71526045", "0.6462131", "0.6293177", "0.6276558", "0.61928785", "0.61641407", "0.6049591", "0.5963603", "0.58372116", "0.5814466", "0.5764856", "0.5737774", "0.56375915", "0.5615515", "0.5608715", "0.55636376", "0.55465573", "0.55429196", "0.5533813", "0.5521526", "0.55142...
0.7290295
0
SetPayload sets the payload to the delete core v1 namespaced pod accepted response
SetPayload устанавливает полезную нагрузку для ответа на удаление вспомогательного объекта v1 в пространстве имен пода, принятого
func (o *DeleteCoreV1NamespacedPodAccepted) SetPayload(payload *models.IoK8sAPICoreV1Pod) { o.Payload = payload }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func (o *DeleteCoreV1NamespacedPodOK) SetPayload(payload *models.IoK8sAPICoreV1Pod) {\n\to.Payload = payload\n}", "func (o *DeleteCoreV1NamespacedConfigMapOK) SetPayload(payload *models.IoK8sApimachineryPkgApisMetaV1Status) {\n\to.Payload = payload\n}", "func (o *DeleteCoreV1NamespacedConfigMapAccepted) SetPay...
[ "0.7707723", "0.7229816", "0.7217126", "0.71624154", "0.70172673", "0.69015056", "0.6838018", "0.67712045", "0.67628366", "0.67597437", "0.6754284", "0.6739403", "0.6705884", "0.6703655", "0.6668181", "0.66570735", "0.6654698", "0.66288686", "0.6608131", "0.65916646", "0.6590...
0.77040833
1
NewDeleteCoreV1NamespacedPodUnauthorized creates DeleteCoreV1NamespacedPodUnauthorized with default headers values
NewDeleteCoreV1NamespacedPodUnauthorized создает DeleteCoreV1NamespacedPodUnauthorized с значениями заголовков по умолчанию
func NewDeleteCoreV1NamespacedPodUnauthorized() *DeleteCoreV1NamespacedPodUnauthorized { return &DeleteCoreV1NamespacedPodUnauthorized{} }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func NewCreateCoreV1NamespacedPodUnauthorized() *CreateCoreV1NamespacedPodUnauthorized {\n\treturn &CreateCoreV1NamespacedPodUnauthorized{}\n}", "func NewDeleteCoreV1NamespacedServiceUnauthorized() *DeleteCoreV1NamespacedServiceUnauthorized {\n\treturn &DeleteCoreV1NamespacedServiceUnauthorized{}\n}", "func Ne...
[ "0.740951", "0.6979649", "0.6803902", "0.67638403", "0.674884", "0.6690887", "0.6411087", "0.6345015", "0.62293595", "0.6227683", "0.6223361", "0.6140357", "0.60931987", "0.59411067", "0.59172565", "0.58970165", "0.58314055", "0.5726889", "0.57166153", "0.5705346", "0.5610533...
0.7787556
0
ID returns the unique name of the driver.
ID возвращает уникальное имя драйвера.
func (*Driver) ID() string { return DriverID }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func (d *driver) Name() string {\n\treturn driverName\n}", "func (d *driver) Name() string {\n\treturn driverName\n}", "func (d *driver) Name() string {\n\treturn driverName\n}", "func (d *hdbDriver) Name() string { return DriverName }", "func ID() (string, error) {\n\tid, err := hardwareId()\n\tif err !=...
[ "0.7027706", "0.7010078", "0.7010078", "0.69331926", "0.67615914", "0.6571657", "0.65653706", "0.65030783", "0.6484946", "0.6479828", "0.62847674", "0.62813586", "0.62324375", "0.6207377", "0.6207377", "0.61767435", "0.60884994", "0.60639834", "0.6063588", "0.60591555", "0.60...
0.83944076
1
LoadAll loads all indexes for given db and table
LoadAll загружает все индексы для заданной базы данных и таблицы
func (d *Driver) LoadAll(db, table string) ([]sql.Index, error) { var ( indexes []sql.Index errors []string root = filepath.Join(d.root, db, table) ) dirs, err := ioutil.ReadDir(root) if err != nil { if os.IsNotExist(err) { return indexes, nil } return nil, err } for _, info := range dirs { ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func (d *Driver) LoadAll(db, table string) ([]sql.Index, error) {\n\tvar (\n\t\tindexes []sql.Index\n\t\terrors []string\n\t\troot = filepath.Join(d.root, db, table)\n\t)\n\n\tdirs, err := ioutil.ReadDir(root)\n\tif err != nil {\n\t\tif os.IsNotExist(err) {\n\t\t\treturn indexes, nil\n\t\t}\n\t\treturn nil, er...
[ "0.78944623", "0.68740505", "0.6471731", "0.603011", "0.59038955", "0.5777211", "0.57490975", "0.57390857", "0.56201786", "0.5588074", "0.54888165", "0.5481768", "0.5458776", "0.544559", "0.54259926", "0.5420168", "0.53962743", "0.5382967", "0.533865", "0.5331422", "0.5327325...
0.790122
0
dedupLiveResources handles removes live resource duplicates with the same UID. Duplicates are created in a separate resource groups. E.g. apps/Deployment produces duplicate in extensions/Deployment, authorization.openshift.io/ClusterRole produces duplicate in rbac.authorization.k8s.io/ClusterRole etc. The method remove...
dedupLiveResources удаляет дубликаты живых ресурсов с одинаковым UID. Дубликаты создаются в отдельных группах ресурсов. Например, apps/Deployment создаёт дубликат в extensions/Deployment, authorization.openshift.io/ClusterRole создаёт дубликат в rbac.authorization.k8s.io/ClusterRole и т.д. Метод удаляет такие дубликаты...
func dedupLiveResources(targetObjs []*unstructured.Unstructured, liveObjsByKey map[kubeutil.ResourceKey]*unstructured.Unstructured) { targetObjByKey := make(map[kubeutil.ResourceKey]*unstructured.Unstructured) for i := range targetObjs { targetObjByKey[kubeutil.GetResourceKey(targetObjs[i])] = targetObjs[i] } liv...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func (r *ContainerizedWorkloadReconciler) cleanupResources(ctx context.Context,\n\tworkload *oamv1alpha2.ContainerizedWorkload, deployUID, serviceUID *types.UID) error {\n\tlog := r.Log.WithValues(\"gc deployment\", workload.Name)\n\tvar deploy appsv1.Deployment\n\tvar service corev1.Service\n\tfor _, res := range...
[ "0.570892", "0.55854475", "0.53175753", "0.5260137", "0.5203018", "0.50135106", "0.50129366", "0.5002672", "0.49678025", "0.49068257", "0.49068257", "0.4880002", "0.4870154", "0.48697236", "0.48677993", "0.48084393", "0.48019645", "0.4737808", "0.47268918", "0.47148904", "0.4...
0.732469
0
syncBucket syncs the local gallery with the bucket
syncBucket синхронизирует локальную галерею с бакетом
func syncBucket(name string) { objects, err := s3.ListBucket(name, "") if err != nil { log.Printf("Can't list objects in bucket: %v", err) } // download each file that we don't have yet locally: for _, object := range objects { localfile := filepath.Join(galleryPath, object) if _, err := os.Stat(localfile); ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func Sync(t time.Time, log *zap.Logger) {\n\tlog.Info(\"S3 sync begun\")\n\n\tbucket := Config.bucket\n\tregion := Config.bucketRegion\n\n\tsvc := setUpAwsSession(region)\n\tresp, err := listBucket(bucket, region, svc, log)\n\tif err != nil {\n\t\tlog.Error(\"failed to list bucket\",\n\t\t\tzap.Error(err),\n\t\t\t...
[ "0.6680358", "0.602391", "0.57765335", "0.5678034", "0.5564744", "0.55118626", "0.5504865", "0.5477009", "0.5462354", "0.54434687", "0.54375553", "0.54249734", "0.5424158", "0.53969073", "0.5366358", "0.5366358", "0.5363845", "0.5360529", "0.5357023", "0.5355839", "0.5343172"...
0.8269777
0
RegisterHandler registers a file descriptor with the Poller and returns a Pollable which can be used for reading/writing as well as readiness notification. File descriptors registered with the poller will be placed into nonblocking mode.
RegisterHandler регистрирует дескриптор файла с помощью Poller и возвращает Pollable, который может использоваться для чтения/записи, а также для уведомления о готовности. Дескрипторы файлов, зарегистрированные с помощью poller, будут помещены в неблокирующий режим.
func (p *Poller) RegisterHandler(fd uintptr, h EventHandler, data interface{}) (*Pollable, error) { if err := syscall.SetNonblock(int(fd), true); err != nil { return nil, err } return p.register(fd, h, data) }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func NewPoller() (*Epoll, error) {\n\treturn NewPollerWithBuffer(128)\n}", "func (h *Handler) AddPoller(c echo.Context) error {\n\tid := c.Param(\"id\")\n\trequest := &PollerRequest{}\n\tvar err error\n\tif err = c.Bind(request); err != nil {\n\t\treturn err\n\t}\n\tp := &poller.Poller{}\n\tp.UUID = uuid.NewV4()...
[ "0.5313639", "0.52643883", "0.5241936", "0.5210753", "0.5175671", "0.5104131", "0.50692457", "0.5018211", "0.49877605", "0.49037454", "0.48952135", "0.4866136", "0.48658457", "0.48586193", "0.48374307", "0.4825528", "0.4811092", "0.47992", "0.47865638", "0.47729722", "0.47683...
0.7504527
0
GetInstNameField returns the inst name field
GetInstNameField возвращает поле имени инстанса
func GetInstNameField(objID string) string { switch objID { case BKInnerObjIDApp: return BKAppNameField case BKInnerObjIDSet: return BKSetNameField case BKInnerObjIDModule: return BKModuleNameField case BKInnerObjIDObject: return BKInstNameField case BKInnerObjIDHost: return BKHostNameField case BKInne...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func (p *GetField) Name() string { return p.name }", "func (inst *InstFPToUI) GetName() string {\n\treturn inst.Name\n}", "func (inst *InstTrunc) GetName() string {\n\treturn inst.Name\n}", "func (inst *InstFPExt) GetName() string {\n\treturn inst.Name\n}", "func (inst *InstSExt) GetName() string {\n\tretu...
[ "0.683984", "0.66691345", "0.66529775", "0.6619471", "0.65891474", "0.6570262", "0.6415572", "0.63976705", "0.6358292", "0.6319564", "0.62703145", "0.62133884", "0.62109816", "0.61973596", "0.6195115", "0.6148975", "0.61299187", "0.6109643", "0.61041665", "0.60617775", "0.601...
0.81934553
0
GetInstIDField get primary key of object's collection/table
GetInstIDField получает первичный ключ коллекции/таблицы объекта
func GetInstIDField(objType string) string { switch objType { case BKInnerObjIDApp: return BKAppIDField case BKInnerObjIDSet: return BKSetIDField case BKInnerObjIDModule: return BKModuleIDField case BKInnerObjIDObject: return BKInstIDField case BKInnerObjIDHost: return BKHostIDField case BKInnerObjIDPr...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func getPrimaryKeyField(data []models.Create) (models.TableField, string, error) {\n\tfor _, d := range data {\n\t\tfor _, f := range d.TableFields {\n\t\t\tif f.Tags.PrimaryKey {\n\t\t\t\treturn f, d.TableName, nil\n\t\t\t}\n\t\t}\n\t}\n\treturn models.TableField{}, \"\", errors.New(\"unable to find primary key\"...
[ "0.64741033", "0.64149576", "0.6027425", "0.5938452", "0.59127915", "0.588824", "0.5860908", "0.5822916", "0.579606", "0.5791429", "0.5788975", "0.5778923", "0.57776135", "0.5776322", "0.5768322", "0.5766646", "0.5741552", "0.5735442", "0.57068944", "0.56671613", "0.5661163",...
0.71526545
0
IsInnerMainlineModel judge if the object type is inner mainline model
IsInnerMainlineModel определяет, является ли тип объекта внутренней моделью mainline
func IsInnerMainlineModel(objType string) bool { switch objType { case BKInnerObjIDApp, BKInnerObjIDSet, BKInnerObjIDModule: return true default: return false } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func (t Type) IsModel() bool {\n\t_, isModel := t.impl.(*modelImpl)\n\treturn isModel\n}", "func (ref *UIElement) IsMain() bool {\n\tret, _ := ref.BoolAttr(MainAttribute)\n\treturn ret\n}", "func (c Category) IsMainSet() bool {\n\treturn c.Main != 0\n}", "func (o *LinkRouteTable) GetMainOk() (*bool, bool) {\...
[ "0.5549369", "0.54470146", "0.5239084", "0.5052032", "0.5040084", "0.5008778", "0.49941906", "0.49561843", "0.49561843", "0.49077177", "0.4892996", "0.48708993", "0.486818", "0.4856625", "0.48033246", "0.4745723", "0.47209913", "0.470247", "0.46628037", "0.4641946", "0.463597...
0.89547443
0
NewNodeResourceTopologies makes a CRD golang object representing NodeResourceTopology definition
NewNodeResourceTopologies создает CRD объект golang, представляющий определение NodeResourceTopology
func NewNodeResourceTopologies() (*apiextensionsv1.CustomResourceDefinition, error) { _, file, _, ok := runtime.Caller(0) if !ok { return nil, fmt.Errorf("cannot retrieve manifests directory") } baseDir := filepath.Dir(file) crdPath := filepath.Clean(filepath.Join(baseDir, "..", "..", "..", "deployment", "base"...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func CreateNodeResourceTopologies(ctx context.Context, extClient extclient.Interface) (*apiextensionsv1.CustomResourceDefinition, error) {\n\tcrd, err := NewNodeResourceTopologies()\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\n\t// Delete existing CRD (if any) with this we also get rid of stale objects\n\terr =...
[ "0.7307852", "0.5481046", "0.51689094", "0.51133436", "0.5092512", "0.5070375", "0.50654244", "0.50550437", "0.49681288", "0.4944798", "0.49046588", "0.48953402", "0.48414528", "0.48259762", "0.48138842", "0.4809819", "0.47841248", "0.47633776", "0.47466254", "0.47246203", "0...
0.7762249
0
CreateNodeResourceTopologies creates the NodeResourceTopology in the cluster if the CRD doesn't exists already. Returns the CRD golang object present in the cluster.
CreateNodeResourceTopologies создает NodeResourceTopology в кластере, если CRD не существует. Возвращает CRD объект golang, находящийся в кластере.
func CreateNodeResourceTopologies(ctx context.Context, extClient extclient.Interface) (*apiextensionsv1.CustomResourceDefinition, error) { crd, err := NewNodeResourceTopologies() if err != nil { return nil, err } // Delete existing CRD (if any) with this we also get rid of stale objects err = extClient.Apiexten...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func NewNodeResourceTopologies() (*apiextensionsv1.CustomResourceDefinition, error) {\n\t_, file, _, ok := runtime.Caller(0)\n\tif !ok {\n\t\treturn nil, fmt.Errorf(\"cannot retrieve manifests directory\")\n\t}\n\n\tbaseDir := filepath.Dir(file)\n\tcrdPath := filepath.Clean(filepath.Join(baseDir, \"..\", \"..\", \...
[ "0.76723534", "0.56957585", "0.5255607", "0.52420557", "0.5161676", "0.51323014", "0.51153105", "0.5114872", "0.51094985", "0.50911283", "0.50660753", "0.5031809", "0.50017095", "0.49854472", "0.49768355", "0.49335805", "0.49045685", "0.48949906", "0.48829058", "0.4836229", "...
0.80550957
0
AllocatableResourceListFromNodeResourceTopology extract the map zone:allocatableResources from the given NodeResourceTopology instance.
AllocatableResourceListFromNodeResourceTopology извлекает карту zone:allocatableResources из заданного экземпляра NodeResourceTopology.
func AllocatableResourceListFromNodeResourceTopology(nodeTopo *v1alpha2.NodeResourceTopology) map[string]corev1.ResourceList { allocRes := make(map[string]corev1.ResourceList) for _, zone := range nodeTopo.Zones { if zone.Type != "Node" { continue } resList := make(corev1.ResourceList) for _, res := range ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func GetMemoryResources(reservedMemory map[int]int64, getAvailableMemory func() ([]*topology.Node, []*rtesysinfo.Hugepages, error)) (map[string]PerNUMACounters, error) {\n\tnumaMemory := make(map[string]PerNUMACounters)\n\tnodes, hugepages, err := getAvailableMemory()\n\tif err != nil {\n\t\treturn numaMemory, err...
[ "0.5364796", "0.50617653", "0.5001727", "0.4769316", "0.47181323", "0.4706976", "0.46147397", "0.4606428", "0.45965248", "0.45897478", "0.45863438", "0.45834994", "0.45776933", "0.45581096", "0.45503893", "0.4532366", "0.45284724", "0.45280227", "0.45074448", "0.45017514", "0...
0.8464234
0
CompareAllocatableResources compares `expected` and `got` map zone:allocatableResources respectively (see: AllocatableResourceListFromNodeResourceTopology), and informs the caller if the maps are equal. Here `equal` means the same zoneNames with the same resources, where the resources are equal if they have the same re...
CompareAllocatableResources сравнивает `expected` и `got` map zone:allocatableResources соответственно (см.: AllocatableResourceListFromNodeResourceTopology), и информирует вызывающего, равны ли карты. Здесь `равно` означает одинаковые zoneNames с одинаковыми ресурсами, где ресурсы считаются равными, если у них одинако...
func CompareAllocatableResources(expected, got map[string]corev1.ResourceList) (string, string, int, bool) { if len(got) != len(expected) { framework.Logf("-> expected=%v (len=%d) got=%v (len=%d)", expected, len(expected), got, len(got)) return "", "", 0, false } for expZoneName, expResList := range expected { ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func CompareResourceList(expected, got corev1.ResourceList) (string, int, bool) {\n\tif len(got) != len(expected) {\n\t\tframework.Logf(\"-> expected=%v (len=%d) got=%v (len=%d)\", expected, len(expected), got, len(got))\n\t\treturn \"\", 0, false\n\t}\n\tfor expResName, expResQty := range expected {\n\t\tgotResQt...
[ "0.64290345", "0.5865311", "0.58325607", "0.5697454", "0.54446197", "0.5403544", "0.5374727", "0.53742474", "0.53078616", "0.52964586", "0.52862316", "0.51846445", "0.51759404", "0.5174776", "0.51174635", "0.5074527", "0.50719815", "0.50290644", "0.5021602", "0.5009109", "0.4...
0.84132695
0
CompareResourceList compares `expected` and `got` ResourceList respectively, and informs the caller if the two ResourceList are equal. Here `equal` means the same resources with the same quantities. Returns the different resource, the comparison result (same semantic as strings.Compare) and a boolean that reports if th...
CompareResourceList сравнивает `expected` и `got` ResourceList соответственно, и информирует вызывающего, равны ли два ResourceList. Здесь `равно` означает одинаковые ресурсы с одинаковыми количествами. Возвращает отличающийся ресурс, результат сравнения (имеет тот же семантический смысл, что и strings.Compare) и булев...
func CompareResourceList(expected, got corev1.ResourceList) (string, int, bool) { if len(got) != len(expected) { framework.Logf("-> expected=%v (len=%d) got=%v (len=%d)", expected, len(expected), got, len(got)) return "", 0, false } for expResName, expResQty := range expected { gotResQty, ok := got[expResName]...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func TestResourceListSorting(t *testing.T) {\n\tsortedResourceList := make([]string, len(resourceList))\n\tcopy(sortedResourceList, resourceList)\n\tsort.Strings(sortedResourceList)\n\tfor i := 0; i < len(resourceList); i++ {\n\t\tif resourceList[i] != sortedResourceList[i] {\n\t\t\tt.Errorf(\"Expected resourceLis...
[ "0.65800613", "0.6343115", "0.6236883", "0.59654737", "0.55586445", "0.5427846", "0.5257756", "0.5227804", "0.5226022", "0.51560676", "0.5124971", "0.5118968", "0.50719607", "0.5029155", "0.50274366", "0.50094444", "0.5001012", "0.49900916", "0.49872172", "0.49872172", "0.497...
0.83638287
0
IsValidNodeTopology checks the provided NodeResourceTopology object if it is wellformad, internally consistent and consistent with the given kubelet config object. Returns true if the NodeResourceTopology object is consistent and well formet, false otherwise; if return false, logs the failure reason.
IsValidNodeTopology проверяет предоставленный объект NodeResourceTopology на соответствие формату, внутреннюю согласованность и согласованность с заданным объектом kubelet config. Возвращает true, если объект NodeResourceTopology согласован и правильно сформирован, и false в противном случае; если возвращается false, з...
func IsValidNodeTopology(nodeTopology *v1alpha2.NodeResourceTopology, kubeletConfig *kubeletconfig.KubeletConfiguration) bool { if nodeTopology == nil || len(nodeTopology.TopologyPolicies) == 0 { framework.Logf("failed to get topology policy from the node topology resource") return false } tmPolicy := string(to...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func nodeIsValidForTopologyAwareHints(node *corev1.Node) bool {\n\treturn !node.Status.Allocatable.Cpu().IsZero() && node.Labels[corev1.LabelTopologyZone] != \"\"\n}", "func (t Topology) Validate() error {\n\terrs := []string{}\n\n\t// Check all node metadatas are valid, and the keys are parseable, i.e.\n\t// co...
[ "0.61786824", "0.5564089", "0.5552909", "0.5381619", "0.50309676", "0.50297743", "0.5022979", "0.49563727", "0.49521244", "0.48063827", "0.47571453", "0.47314247", "0.4716992", "0.47108042", "0.4706679", "0.4685612", "0.4675897", "0.4675828", "0.46655697", "0.46429", "0.46191...
0.8106002
0
ParseSoftwareAttribute parses the bytes into a SoftwareAttribute instance.
ParseSoftwareAttribute парсит байты в экземпляр SoftwareAttribute.
func ParseSoftwareAttribute(r *read.BigEndian, l uint16) (SoftwareAttribute, error) { sw, err := Read127CharString(r, l) return SoftwareAttribute{sw}, err }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func ParseAttribute(b []byte) (Attribute, error) {\n\tif len(b) < 22 {\n\t\treturn Attribute{}, fmt.Errorf(\"attribute data should be at least 22 bytes but is %d\", len(b))\n\t}\n\n\tr := binutil.NewLittleEndianReader(b)\n\n\tnameLength := r.Byte(0x09)\n\tnameOffset := r.Uint16(0x0A)\n\n\tname := \"\"\n\tif nameLe...
[ "0.6094672", "0.49585745", "0.49561727", "0.47174284", "0.4682577", "0.4675515", "0.4654408", "0.46499464", "0.45818946", "0.4525342", "0.45146385", "0.44944", "0.44848514", "0.44841257", "0.44420215", "0.44036722", "0.4384886", "0.43354794", "0.42904556", "0.42374355", "0.42...
0.82919925
0
SetGlobalBalancer set grpc balancer with scheme.
SetGlobalBalancer устанавливает gRPC балансер с схемой.
func SetGlobalBalancer(scheme string, builder selector.Builder) { mu.Lock() defer mu.Unlock() b := base.NewBalancerBuilder( scheme, &Builder{builder: builder}, base.Config{HealthCheck: true}, ) gBalancer.Register(b) }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func (p *ioThrottlerPool) SetGlobalLimit(r rate.Limit, b int) {\n\tp.mu.Lock()\n\tdefer p.mu.Unlock()\n\tp.globalLimiter.SetBurst(b)\n\tp.globalLimiter.SetLimit(r)\n\tp.updateBufferSize()\n}", "func startGrpcBalancer(host string, addresses []string) (error) {\n\t// Start tcp listening port\n\tlis, err := net.Lis...
[ "0.5183199", "0.5077026", "0.49607387", "0.4854912", "0.47470388", "0.47414953", "0.4728902", "0.47090948", "0.46896395", "0.46880862", "0.46415812", "0.4627773", "0.46094668", "0.4597579", "0.45945796", "0.45730206", "0.45671153", "0.45562032", "0.4491078", "0.44766483", "0....
0.8345059
0
Build creates a grpc Picker.
Build creates a grpc Picker.
func (b *Builder) Build(info base.PickerBuildInfo) gBalancer.Picker { if len(info.ReadySCs) == 0 { // Block the RPC until a new picker is available via UpdateState(). return base.NewErrPicker(gBalancer.ErrNoSubConnAvailable) } nodes := make([]selector.Node, 0) for conn, info := range info.ReadySCs { ins, _ :...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func (*nodePickerBuilder) Build(info base.PickerBuildInfo) balancer.V2Picker {\n\tif len(info.ReadySCs) == 0 {\n\t\treturn base.NewErrPickerV2(balancer.ErrNoSubConnAvailable)\n\t}\n\n\tvar scs []balancer.SubConn\n\tfor sc := range info.ReadySCs {\n\t\tscs = append(scs, sc)\n\t}\n\n\treturn &nodePicker{\n\t\tsubCon...
[ "0.64123386", "0.54491264", "0.5207384", "0.519233", "0.51873875", "0.5060041", "0.500911", "0.49661744", "0.49641725", "0.49387065", "0.4873675", "0.48730406", "0.48674744", "0.48580194", "0.48238623", "0.48182973", "0.4813414", "0.48090446", "0.47689024", "0.47326857", "0.4...
0.75783914
0
Deprecated: Use MetricSpecWithThreshold.ProtoReflect.Descriptor instead.
Устарело: используйте MetricSpecWithThreshold.ProtoReflect.Descriptor вместо этого.
func (*MetricSpecWithThreshold) Descriptor() ([]byte, []int) { return file_api_adaptive_load_metric_spec_proto_rawDescGZIP(), []int{2} }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func (*ThresholdSpec) Descriptor() ([]byte, []int) {\n\treturn file_api_adaptive_load_metric_spec_proto_rawDescGZIP(), []int{1}\n}", "func (*TelemetryThreshold) Descriptor() ([]byte, []int) {\n\treturn file_huawei_telemetry_proto_rawDescGZIP(), []int{5}\n}", "func (*AlertingCondition_Spec_TimeSeries_Threshold)...
[ "0.6960433", "0.65074533", "0.60811925", "0.6029226", "0.60165745", "0.6012746", "0.59527254", "0.5918514", "0.58969796", "0.5872111", "0.5858821", "0.5857826", "0.58539706", "0.58046436", "0.5786188", "0.5784575", "0.5756746", "0.572665", "0.56305903", "0.56272644", "0.55960...
0.7160946
0
Deprecated: Use Scorecard.ProtoReflect.Descriptor instead.
Устарело: используйте Scorecard.ProtoReflect.Descriptor вместо этого.
func (*Scorecard) Descriptor() ([]byte, []int) { return file_google_monitoring_dashboard_v1_scorecard_proto_rawDescGZIP(), []int{0} }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func (*Score) Descriptor() ([]byte, []int) {\n\treturn file_mitre_cvss_v3_cvss_proto_rawDescGZIP(), []int{2}\n}", "func (*BaseScore) Descriptor() ([]byte, []int) {\n\treturn file_mitre_cvss_v3_cvss_proto_rawDescGZIP(), []int{3}\n}", "func (*CMsgPlayerCard) Descriptor() ([]byte, []int) {\n\treturn file_dota_gcm...
[ "0.700281", "0.6879392", "0.68285745", "0.6728023", "0.66748387", "0.6673123", "0.6658392", "0.6644106", "0.66355675", "0.66153055", "0.66022944", "0.66015166", "0.65768534", "0.6576063", "0.65572953", "0.6551013", "0.65416706", "0.6523413", "0.6518851", "0.651338", "0.650620...
0.72033995
0
Deprecated: Use Scorecard_GaugeView.ProtoReflect.Descriptor instead.
Устарело: используйте Scorecard_GaugeView.ProtoReflect.Descriptor вместо этого.
func (*Scorecard_GaugeView) Descriptor() ([]byte, []int) { return file_google_monitoring_dashboard_v1_scorecard_proto_rawDescGZIP(), []int{0, 0} }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func (*ClrGC) Descriptor() ([]byte, []int) {\n\treturn file_language_agent_CLRMetric_proto_rawDescGZIP(), []int{2}\n}", "func (*KafkaGauge) Descriptor() ([]byte, []int) {\n\treturn file_pkg_sinks_plugin_proto_metrics_proto_rawDescGZIP(), []int{1}\n}", "func (*CLRMetric) Descriptor() ([]byte, []int) {\n\treturn...
[ "0.6824529", "0.68163484", "0.67460763", "0.66216606", "0.65765965", "0.65765387", "0.6563826", "0.65418273", "0.6529831", "0.65259284", "0.65070504", "0.6475942", "0.6463522", "0.6460196", "0.6457537", "0.6445932", "0.6419697", "0.6413116", "0.6407112", "0.63850945", "0.6349...
0.77736974
0
Deprecated: Use Scorecard_SparkChartView.ProtoReflect.Descriptor instead.
Устарело: используйте Scorecard_SparkChartView.ProtoReflect.Descriptor вместо этого.
func (*Scorecard_SparkChartView) Descriptor() ([]byte, []int) { return file_google_monitoring_dashboard_v1_scorecard_proto_rawDescGZIP(), []int{0, 1} }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func (*FeedbackMetrics) Descriptor() ([]byte, []int) {\n\treturn file_ssn_dataservice_v1_dataservice_proto_rawDescGZIP(), []int{12}\n}", "func (*Scorecard_GaugeView) Descriptor() ([]byte, []int) {\n\treturn file_google_monitoring_dashboard_v1_scorecard_proto_rawDescGZIP(), []int{0, 0}\n}", "func (*Chart) Descr...
[ "0.65494704", "0.6429943", "0.63701975", "0.6346591", "0.6337553", "0.62929755", "0.6288999", "0.62860525", "0.6271876", "0.6259072", "0.6255981", "0.6247951", "0.6228296", "0.6202115", "0.6201875", "0.6154162", "0.61452585", "0.6145207", "0.61450595", "0.61404777", "0.613757...
0.7641592
0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AESConfiguration.
DeepCopy — это автоматически сгенерированная функция глубокого копирования, копирующая получатель, создавая новый объект AESConfiguration.
func (in *AESConfiguration) DeepCopy() *AESConfiguration { if in == nil { return nil } out := new(AESConfiguration) in.DeepCopyInto(out) return out }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func (in *EncryptionConfiguration) DeepCopy() *EncryptionConfiguration {\n\tif in == nil {\n\t\treturn nil\n\t}\n\tout := new(EncryptionConfiguration)\n\tin.DeepCopyInto(out)\n\treturn out\n}", "func (in *EncryptionConfig) DeepCopy() *EncryptionConfig {\n\tif in == nil {\n\t\treturn nil\n\t}\n\tout := new(Encryp...
[ "0.6966809", "0.64778304", "0.5603832", "0.53495884", "0.53042156", "0.52616113", "0.5155239", "0.5146213", "0.51294535", "0.5119548", "0.5056005", "0.4989806", "0.49877337", "0.49724552", "0.49615574", "0.49553683", "0.4941303", "0.49344137", "0.48960802", "0.4832625", "0.48...
0.89656043
0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EncryptionConfiguration.
DeepCopy — это автоматически сгенерированная функция глубокого копирования, копирующая получателя, создавая новый объект EncryptionConfiguration.
func (in *EncryptionConfiguration) DeepCopy() *EncryptionConfiguration { if in == nil { return nil } out := new(EncryptionConfiguration) in.DeepCopyInto(out) return out }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func (in *EncryptionConfig) DeepCopy() *EncryptionConfig {\n\tif in == nil {\n\t\treturn nil\n\t}\n\tout := new(EncryptionConfig)\n\tin.DeepCopyInto(out)\n\treturn out\n}", "func (s *DataLakeResource) SetEncryptionConfiguration(v *DataLakeEncryptionConfiguration) *DataLakeResource {\n\ts.EncryptionConfiguration ...
[ "0.81821805", "0.69133514", "0.67663676", "0.6730935", "0.6721722", "0.6714277", "0.65690655", "0.6349009", "0.6184369", "0.60215807", "0.59392107", "0.5796518", "0.56959784", "0.5585565", "0.5557125", "0.5539182", "0.5539182", "0.5539182", "0.55084985", "0.54757833", "0.5467...
0.895874
0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IdentityConfiguration.
DeepCopy — это автоматически сгенерированная функция глубокого копирования, копирующая получателя, создавая новый IdentityConfiguration.
func (in *IdentityConfiguration) DeepCopy() *IdentityConfiguration { if in == nil { return nil } out := new(IdentityConfiguration) in.DeepCopyInto(out) return out }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func (in *WorkloadIdentityConfig) DeepCopy() *WorkloadIdentityConfig {\n\tif in == nil {\n\t\treturn nil\n\t}\n\tout := new(WorkloadIdentityConfig)\n\tin.DeepCopyInto(out)\n\treturn out\n}", "func (in *Identity) DeepCopy() *Identity {\n\tif in == nil {\n\t\treturn nil\n\t}\n\tout := new(Identity)\n\tin.DeepCopyI...
[ "0.7011574", "0.6334423", "0.60347545", "0.57493186", "0.571666", "0.56987476", "0.5546887", "0.5438429", "0.5377126", "0.5345208", "0.5251954", "0.5242645", "0.523284", "0.510815", "0.5105444", "0.50964445", "0.50964445", "0.5054068", "0.5006278", "0.50049424", "0.49703652",...
0.84669703
0