- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 85 for loadstore (0.13 sec)
-
pkg/registry/core/serviceaccount/storage/storage_test.go
StorageConfig: etcdStorage, Decorator: generic.UndecoratedStorage, DeleteCollectionWorkers: 1, ResourcePrefix: "serviceaccounts", } // set issuer, podStore and secretStore to allow the token endpoint to be initialised rest, err := NewREST(restOptions, fakeTokenGenerator{"fake"}, nil, 0, panicGetter{}, panicGetter{}, nil, false) if err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 6.7K bytes - Viewed (0) -
src/cmd/go/scriptconds_test.go
// number of net tests that can run concurrently so that the overall number // of network connections won't exceed the limit. _, dup := scriptNetEnabled.LoadOrStore(t, true) if !dup { // Acquire a net token for this test until the test completes. netTestSem <- struct{}{} t.Cleanup(func() { <-netTestSem scriptNetEnabled.Delete(t) }) } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 21 22:16:54 UTC 2024 - 7.4K bytes - Viewed (0) -
src/encoding/gob/type.go
// Store the name and type provided by the user.... if t, dup := nameToConcreteType.LoadOrStore(name, reflect.TypeOf(value)); dup && t != ut.user { panic(fmt.Sprintf("gob: registering duplicate types for %q: %s != %s", name, t, ut.user)) } // but the flattened type in the type table, since that's what decode needs. if n, dup := concreteTypeToName.LoadOrStore(ut.base, name); dup && n != name { nameToConcreteType.Delete(name)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 02:00:26 UTC 2024 - 27.2K bytes - Viewed (0) -
src/internal/testenv/exec.go
func MustHaveExecPath(t testing.TB, path string) { MustHaveExec(t) err, found := execPaths.Load(path) if !found { _, err = exec.LookPath(path) err, _ = execPaths.LoadOrStore(path, err) } if err != nil { t.Skipf("skipping test: %s: %s", path, err) } } // CleanCmdEnv will fill cmd.Env with the environment, excluding certain
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Oct 27 17:53:23 UTC 2023 - 7.5K bytes - Viewed (0) -
schema/schema.go
} } } // Cache the schema if v, loaded := cacheStore.LoadOrStore(schemaCacheKey, schema); loaded { s := v.(*Schema) // Wait for the initialization of other goroutines to complete <-s.initialized return s, s.err } defer func() { if schema.err != nil {
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Wed Jun 12 10:52:33 UTC 2024 - 13.7K bytes - Viewed (0) -
src/internal/godebug/godebug.go
func lookup(name string) *setting { if v, ok := cache.Load(name); ok { return v.(*setting) } s := new(setting) s.info = godebugs.Lookup(name) s.value.Store(&empty) if v, loaded := cache.LoadOrStore(name, s); loaded { // Lost race: someone else created it. Use theirs. return v.(*setting) } return s } // setUpdate is provided by package runtime.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Mar 09 14:19:39 UTC 2024 - 9.4K bytes - Viewed (0) -
api/go1.9.txt
pkg runtime/pprof, type LabelSet struct pkg sync, method (*Map) Delete(interface{}) pkg sync, method (*Map) Load(interface{}) (interface{}, bool) pkg sync, method (*Map) LoadOrStore(interface{}, interface{}) (interface{}, bool) pkg sync, method (*Map) Range(func(interface{}, interface{}) bool) pkg sync, method (*Map) Store(interface{}, interface{}) pkg sync, type Map struct
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Oct 04 20:20:20 UTC 2021 - 10.7K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/util/peerproxy/peerproxy_handler.go
versionSplit := strings.Split(version, "/") if len(versionSplit) == 2 { version = versionSplit[1] } gvr.Version = version apiserversi, _ := h.svMap.LoadOrStore(gvr, &sync.Map{}) apiservers := apiserversi.(*sync.Map) apiservers.Store(gr.APIServerID, true) } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jul 19 00:36:22 UTC 2023 - 11.5K bytes - Viewed (0) -
src/encoding/xml/typeinfo.go
continue } // Add the field if it doesn't conflict with other fields. if err := addFieldInfo(typ, tinfo, finfo); err != nil { return nil, err } } } ti, _ := tinfoMap.LoadOrStore(typ, tinfo) return ti.(*typeInfo), nil } // structFieldInfo builds and returns a fieldInfo for f. func structFieldInfo(typ reflect.Type, f *reflect.StructField) (*fieldInfo, error) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Aug 07 00:23:29 UTC 2023 - 9.6K bytes - Viewed (0) -
src/cmd/link/internal/loader/loader_test.go
// do anything interesting with this symbol (such as look at its // data or relocations). func addDummyObjSym(t *testing.T, ldr *Loader, or *oReader, name string) Sym { idx := uint32(len(ldr.objSyms)) st := loadState{l: ldr} return st.addSym(name, 0, or, idx, nonPkgDef, &goobj.Sym{}) } func mkLoader() *Loader { er := ErrorReporter{} ldr := NewLoader(0, &er) er.ldr = ldr return ldr }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 07 19:08:09 UTC 2024 - 12K bytes - Viewed (0)