- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 116 for waiters (1.07 sec)
-
src/runtime/rwmutex.go
wLock mutex // serializes writers writer muintptr // pending writer waiting for completing readers readerCount atomic.Int32 // number of pending readers readerWait atomic.Int32 // number of departing readers readRank lockRank // semantic lock rank for read locking } // Lock ranking an rwmutex has two aspects: //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 22 14:29:04 UTC 2024 - 5K bytes - Viewed (0) -
maven-settings/src/site/apt/index.apt
The following are generated from this model: * {{{./apidocs/index.html}Java sources}} with Reader and Writers for the Xpp3 XML parser, <<<ToAPiV3()>>> and <<<ToApiV4()>>> transformers, and <<<v4>>> package for Merger and v4 Reader and Writers for the Xpp3 XML parser, * A {{{./settings.html}Descriptor Reference}} * An {{{https://maven.apache.org/xsd/settings-1.2.0.xsd}XSD}}
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Sat Feb 17 18:40:11 UTC 2024 - 2K bytes - Viewed (0) -
pkg/scheduler/profile/profile_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Sep 20 09:49:54 UTC 2023 - 6.6K bytes - Viewed (0) -
cmd/kubeadm/app/phases/bootstraptoken/node/token_test.go
Secret: "bar", }, }, }, wantErr: true, }, } for _, tc := range tests { t.Run(tc.name, func(t *testing.T) { client := newMockClientForTest(t) if err := UpdateOrCreateTokens(client, tc.failIfExists, tc.tokens); (err != nil) != tc.wantErr { t.Fatalf("UpdateOrCreateTokens() error = %v, wantErr %v", err, tc.wantErr) } }) } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Sep 28 08:42:29 UTC 2023 - 3.4K bytes - Viewed (0) -
plugin/pkg/admission/certificates/subjectrestriction/admission_test.go
) func TestPlugin_Validate(t *testing.T) { tests := []struct { name string a admission.Attributes wantErr string }{ { name: "ignored resource", a: &testAttributes{ resource: schema.GroupResource{ Group: "foo", Resource: "bar", }, }, wantErr: "", }, { name: "ignored subresource", a: &testAttributes{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Feb 27 15:50:14 UTC 2020 - 5K bytes - Viewed (0) -
src/sync/atomic/example_test.go
m.Store(make(Map)) var mu sync.Mutex // used only by writers // read function can be used to read the data without further synchronization read := func(key string) (val string) { m1 := m.Load().(Map) return m1[key] } // insert function can be used to update the data without further synchronization insert := func(key, val string) { mu.Lock() // synchronize with other potential writers defer mu.Unlock()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 18 23:58:54 UTC 2018 - 2.2K bytes - Viewed (0) -
src/cmd/go/testdata/script/list_test_cycle.txt
go list ./p stdout 'example/p' ! go list -json=ImportPath -test ./p cmp stderr wanterr.txt ! go list -json=ImportPath,Deps -test ./p cmp stderr wanterr.txt ! go list -json=ImportPath,Deps -deps -test ./p cmp stderr wanterr.txt ! go list -json=ImportPath -deps -test ./p cmp stderr wanterr.txt -- wanterr.txt -- go: can't load test package: package example/p imports example/q imports example/r
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 25 19:18:23 UTC 2023 - 644 bytes - Viewed (0) -
src/sync/runtime.go
// defined in package runtime // Semacquire waits until *s > 0 and then atomically decrements it. // It is intended as a simple sleep primitive for use by the synchronization // library and should not be used directly. func runtime_Semacquire(s *uint32) // Semacquire(RW)Mutex(R) is like Semacquire, but for profiling contended // Mutexes and RWMutexes. // If lifo is true, queue waiter at the head of wait queue.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 16 16:32:27 UTC 2022 - 2.3K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/phases/upgrade/node/controlplane.go
if dryRun { return upgrade.DryRunStaticPodUpgrade(patchesDir, cfg) } waiter := apiclient.NewKubeWaiter(data.Client(), data.Cfg().Timeouts.UpgradeManifests.Duration, os.Stdout) if err := upgrade.PerformStaticPodUpgrade(client, waiter, cfg, etcdUpgrade, renewCerts, patchesDir); err != nil { return errors.Wrap(err, "couldn't complete the static pod upgrade") }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 11 10:21:20 UTC 2024 - 2.8K bytes - Viewed (0) -
pkg/channels/unbounded_test.go
wg.Wait() if !reflect.DeepEqual(reads, wantReads) { t.Errorf("reads: %#v, wantReads: %#v", reads, wantReads) } } // TestMultipleWriters starts multiple writers and one reader goroutine and // makes sure that the reader gets all the data written by all writers. func TestMultipleWriters(t *testing.T) { ub := NewUnbounded[int]() reads := []int{} var wg sync.WaitGroup wg.Add(1) go func() { defer wg.Done()
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Aug 31 19:53:39 UTC 2022 - 2.3K bytes - Viewed (0)