- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 98 for Mlock (1.85 sec)
-
doc/go1.17_spec.html
and ends at the end of the innermost containing block.</li> <li>The scope of a type identifier declared inside a function begins at the identifier in the TypeSpec and ends at the end of the innermost containing block.</li> </ol> <p> An identifier declared in a block may be redeclared in an inner block. While the identifier of the inner declaration is in scope, it denotes
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 11 20:22:45 UTC 2024 - 211.6K bytes - Viewed (0) -
pkg/scheduler/internal/queue/scheduling_queue_test.go
// sorts them by Timestamps if they have the same Pod Priority). // Using a fake clock for the queue and incrementing it after each added Pod will // solve this issue on Windows unit test runs. // For more details on the Windows clock resolution issue, see: https://github.com/golang/go/issues/8687 for _, p := range test.initialPods { q.Add(logger, p)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 12 13:26:09 UTC 2024 - 146.9K bytes - Viewed (0) -
guava/src/com/google/common/cache/LocalCache.java
} } /** A reference to a value. */ interface ValueReference<K, V> { /** Returns the value. Does not block or throw exceptions. */ @CheckForNull V get(); /** * Waits for a value that may still be loading. Unlike get(), this method can block (in the case * of FutureValueReference). * * @throws ExecutionException if the loading thread throws an exception
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Sat May 18 03:24:34 UTC 2024 - 149.2K bytes - Viewed (0) -
src/database/sql/sql_test.go
type dbConn struct { db *DB c *driverConn } freedFrom := make(map[dbConn]string) var mu sync.Mutex getFreedFrom := func(c dbConn) string { mu.Lock() defer mu.Unlock() return freedFrom[c] } setFreedFrom := func(c dbConn, s string) { mu.Lock() defer mu.Unlock() freedFrom[c] = s } putConnHook = func(db *DB, c *driverConn) { if slices.Contains(db.freeConn, c) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 18:42:28 UTC 2024 - 111.6K bytes - Viewed (0) -
android/guava/src/com/google/common/cache/LocalCache.java
} } /** A reference to a value. */ interface ValueReference<K, V> { /** Returns the value. Does not block or throw exceptions. */ @CheckForNull V get(); /** * Waits for a value that may still be loading. Unlike get(), this method can block (in the case * of FutureValueReference). * * @throws ExecutionException if the loading thread throws an exception
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Sat May 18 03:24:34 UTC 2024 - 143.6K bytes - Viewed (0) -
src/net/http/transport_test.go
func (tcs *testConnSet) check(t *testing.T) { tcs.mu.Lock() defer tcs.mu.Unlock() for i := 4; i >= 0; i-- { for i, c := range tcs.list { if tcs.closed[c] { continue } if i != 0 { // TODO(bcmills): What is the Sleep here doing, and why is this // Unlock/Sleep/Lock cycle needed at all? tcs.mu.Unlock() time.Sleep(50 * time.Millisecond) tcs.mu.Lock() continue }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jun 06 21:59:21 UTC 2024 - 192.6K bytes - Viewed (0) -
pkg/controller/garbagecollector/garbagecollector_test.go
func (f *fakeServerResources) ServerPreferredResources() ([]*metav1.APIResourceList, error) { f.Lock.Lock() defer f.Lock.Unlock() f.InterfaceUsedCount++ return f.PreferredResources, f.Error } func (f *fakeServerResources) setPreferredResources(resources []*metav1.APIResourceList, err error) { f.Lock.Lock() defer f.Lock.Unlock() f.PreferredResources = resources f.Error = err }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 111.6K bytes - Viewed (0) -
pkg/kubelet/eviction/eviction_manager_test.go
"k8s.io/kubernetes/pkg/features" evictionapi "k8s.io/kubernetes/pkg/kubelet/eviction/api" "k8s.io/kubernetes/pkg/kubelet/lifecycle" kubelettypes "k8s.io/kubernetes/pkg/kubelet/types" testingclock "k8s.io/utils/clock/testing" "k8s.io/utils/ptr" ) const ( lowPriority = -1 defaultPriority = 0 highPriority = 1 ) // mockPodKiller is used to testing which pod is killed type mockPodKiller struct {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 15 23:14:12 UTC 2024 - 119.9K bytes - Viewed (0) -
pkg/controller/podautoscaler/horizontal_test.go
m.Lock() defer m.Unlock() m.reconciliationActionLabels = append(m.reconciliationActionLabels, action) m.reconciliationErrorLabels = append(m.reconciliationErrorLabels, err) } func (m *mockMonitor) ObserveMetricComputationResult(action monitor.ActionLabel, err monitor.ErrorLabel, duration time.Duration, metricType autoscalingv2.MetricSourceType) { m.Lock() defer m.Unlock()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 25 14:24:16 UTC 2024 - 199.3K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/_gen/generic.rules
&& disjoint(op, t1.Size(), p2, t2.Size()) => @mem.Block (Load <t1> (OffPtr <op.Type> [o1] p3) mem) (Load <t1> op:(OffPtr [o1] p1) (Store {t2} p2 _ (Store {t3} p3 _ mem:(Zero [n] p4 _)))) && o1 >= 0 && o1+t1.Size() <= n && isSamePtr(p1, p4) && CanSSA(t1) && disjoint(op, t1.Size(), p2, t2.Size()) && disjoint(op, t1.Size(), p3, t3.Size()) => @mem.Block (Load <t1> (OffPtr <op.Type> [o1] p4) mem)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 22:21:05 UTC 2024 - 135.3K bytes - Viewed (0)