- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 95 for leastOf (0.32 sec)
-
cmd/xl-storage-format-v2.go
// Return used metadata byte slices here. var metaDataPool = sync.Pool{New: func() interface{} { return make([]byte, 0, metaDataReadDefault) }} // metaDataPoolGet will return a byte slice with capacity at least metaDataReadDefault. // It will be length 0. func metaDataPoolGet() []byte { return metaDataPool.Get().([]byte)[:0] } // metaDataPoolPut will put an unused small buffer back into the pool.
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Wed May 29 19:14:09 UTC 2024 - 63.6K bytes - Viewed (0) -
src/runtime/mgc.go
// by sweeping. When a goroutine needs to allocate a new small-object span, it // sweeps small-object spans for the same object size until it frees at least // one object. When a goroutine needs to allocate large-object span from heap, // it sweeps spans until it frees at least that many pages into heap. There is // one case where this may not suffice: if a goroutine sweeps and frees two
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 16:25:21 UTC 2024 - 62K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/cache/DiskLruCacheTest.kt
cache.close() createNewCacheWithSize(10) set("a", "a", "a") set("b", "b", "b") set("c", "c", "c") set("d", "d", "d") set("e", "e", "e") cache["b"]!!.close() // 'B' is now least recently used. // Causing the size to grow to 12 should evict 'A'. set("f", "f", "f") // Causing the size to grow to 12 should evict 'C'. set("g", "g", "g") cache.flush()
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Apr 15 14:55:09 UTC 2024 - 75.8K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/apis/apiserver/validation/validation_test.go
name string in []string matchPolicy string want string }{ { name: "audiences is empty", in: []string{}, want: "issuer.audiences: Required value: at least one issuer.audiences is required", }, { name: "audience is empty", in: []string{""}, want: "issuer.audiences[0]: Required value: audience can't be empty", }, {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 10 22:07:40 UTC 2024 - 87.2K bytes - Viewed (0) -
src/cmd/compile/internal/ppc64/ssa.go
p.From.Offset = ppc64.BO_BCTR p.Reg = ppc64.REG_CR0LT p.To.Type = obj.TYPE_BRANCH p.To.SetTarget(top) } // When ctr == 1 the loop was not generated but // there are at least 64 bytes to clear, so add // that to the remainder to generate the code // to clear those doublewords if ctr == 1 { rem += 64 } // Clear the remainder starting at offset zero
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 19:59:38 UTC 2024 - 55.4K bytes - Viewed (0) -
src/text/template/exec_test.go
name string input string data any wantErr string }{{ name: "call nothing", input: `{{call}}`, data: tVal, wantErr: "wrong number of args for call: want at least 1 got 0", }, { name: "call non-function", input: "{{call .True}}", data: tVal, wantErr: "error calling call: non-function .True of type bool", }, {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 22:23:55 UTC 2024 - 60.1K bytes - Viewed (0) -
tests/integration/ambient/baseline_test.go
framework.NewTest(t).Run(func(t framework.TestContext) { runTestToServiceWaypoint(t, func(t framework.TestContext, src echo.Instance, dst echo.Instance, opt echo.CallOptions) { // Need at least one waypoint proxy and HTTP if opt.Scheme != scheme.HTTP { return } t.ConfigIstio().Eval(apps.Namespace.Name(), map[string]string{ "Destination": "waypoint",
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jun 12 00:07:28 UTC 2024 - 78.4K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/storage/cacher/cacher_whitebox_test.go
if err != nil { t.Fatalf("unexpected error: %v", err) } // event should have at least rv + 1, since we're starting the watch at rv if podRV <= startVersion { t.Errorf("expected event with resourceVersion of at least %d, got %d", startVersion+1, podRV) } } func TestDispatchEventWillNotBeBlockedByTimedOutWatcher(t *testing.T) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 12 10:12:02 UTC 2024 - 82.9K bytes - Viewed (0) -
guava/src/com/google/common/collect/MapMakerInternalMap.java
* and accesses that were performed on the map. The queue is drained on writes and when it exceeds * its capacity threshold. * * The Least Recently Used page replacement algorithm was chosen due to its simplicity, high hit * rate, and ability to be implemented with O(1) time complexity. The initial LRU implementation
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Sat May 18 03:24:34 UTC 2024 - 90.8K bytes - Viewed (0) -
src/cmd/vendor/github.com/ianlancetaylor/demangle/demangle.go
ptype = &ExplicitObjectParameter{Base: ptype} } ret = append(ret, ptype) } // There should always be at least one type. A function that // takes no arguments will have a single parameter type // "void". if len(ret) == 0 { st.fail("expected at least one type in type list") } // Omit a single parameter type void. if len(ret) == 1 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 31 19:48:28 UTC 2024 - 94.1K bytes - Viewed (0)