- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 48 for worst (0.04 sec)
-
src/internal/trace/gc_test.go
} worst := mmuCurve.Examples(test.window, 2) // Which exact windows are returned is unspecified // (and depends on the exact banding), so we just // check that we got the right number with the right // utilizations. if len(worst) != len(test.worst) { t.Errorf("for %s window, want worst %v, got %v", test.window, test.worst, worst) } else { for i := range worst {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 5.3K bytes - Viewed (0) -
test/fixedbugs/issue44344.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 19 14:46:21 UTC 2021 - 575 bytes - Viewed (0) -
guava-tests/test/com/google/common/eventbus/AsyncEventBusTest.java
assertEquals("Correct string should be delivered.", EVENT, events.get(0)); } /** * An {@link Executor} wanna-be that simply records the tasks it's given. Arguably the Worst * Executor Ever. * * @author cbiffle */ public static class FakeExecutor implements Executor { List<Runnable> tasks = Lists.newArrayList(); @Override
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 2.3K bytes - Viewed (0) -
src/runtime/metrics/example_test.go
default: // This may happen as new metrics get added. // // The safest thing to do here is to simply log it somewhere // as something to look into, but ignore it for now. // In the worst case, you might temporarily miss out on a new metric. fmt.Printf("%s: unexpected metric Kind: %v\n", name, value.Kind()) } } } func medianBucket(h *metrics.Float64Histogram) float64 { total := uint64(0)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 08 16:09:01 UTC 2021 - 2.6K bytes - Viewed (0) -
src/runtime/mem_windows.go
// on all our VirtualAlloc calls, try freeing successively smaller pieces until // we manage to free something, and then repeat. This ends up being O(n log n) // in the worst case, but that's fast enough. for n > 0 { small := n for small >= 4096 && stdcall3(_VirtualFree, uintptr(v), small, _MEM_DECOMMIT) == 0 { small /= 2 small &^= 4096 - 1 } if small < 4096 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 22 19:05:10 UTC 2023 - 3.9K bytes - Viewed (0) -
tensorflow/compiler/aot/benchmark.cc
snprintf(buf, kBufSize, "Mean of %2.0f%% best:", best_ratio * 100); std::string label_best(buf); std::vector<std::pair<std::string, double>> groups = { {"Best:", sorted_us.front()}, {"Worst:", sorted_us.back()}, {"Median:", sorted_us[count_us / 2]}, {"Mean:", sum_us / count_us}, {std::move(label_trimmed), sum_us_trimmed / count_us_trimmed}, {std::move(label_best), sum_us_best / count_us_best},
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Sep 12 19:45:29 UTC 2023 - 4.5K bytes - Viewed (0) -
guava/src/com/google/common/collect/ForwardingSortedMap.java
protected class StandardKeySet extends Maps.SortedKeySet<K, V> { /** Constructor for use by subclasses. */ public StandardKeySet() { super(ForwardingSortedMap.this); } } // unsafe, but worst case is a CCE or NPE is thrown, which callers will be expecting @SuppressWarnings({"unchecked", "nullness"}) static int unsafeCompare(
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri May 12 15:26:39 UTC 2023 - 5.6K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/storage/value/encrypt/envelope/kmsv2/cache_test.go
cache := newSimpleCache(fakeClock, time.Second, "providerName") t.Run("AllocsPerRun test", func(t *testing.T) { key, err := generateKey(encryptedDEKSourceMaxSize) // simulate worst case EDEK if err != nil { t.Fatal(err) } f := func() { out := cache.keyFunc(key) if len(out) != sha256.Size { t.Errorf("Expected %d bytes, got %d", sha256.Size, len(out)) } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Aug 31 20:26:58 UTC 2023 - 4.9K bytes - Viewed (0) -
src/os/path_windows.go
// Note that getwdCache might be outdated if the working directory has been // changed without using os.Chdir, i.e. using syscall.Chdir directly or cgo. // This is fine, as the worst that can happen is that we fail to fix the path. getwdCache.Lock() if getwdCache.dir == "" { // Init the working directory cache. getwdCache.dir, _ = syscall.Getwd() } pathLength += len(getwdCache.dir) + 1
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 18:44:48 UTC 2024 - 4.7K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ForwardingSortedMap.java
protected class StandardKeySet extends Maps.SortedKeySet<K, V> { /** Constructor for use by subclasses. */ public StandardKeySet() { super(ForwardingSortedMap.this); } } // unsafe, but worst case is a CCE or NPE is thrown, which callers will be expecting @SuppressWarnings({"unchecked", "nullness"}) static int unsafeCompare(
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri May 12 15:26:39 UTC 2023 - 5.6K bytes - Viewed (0)