Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 40 for worst (0.06 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. guava/src/com/google/common/collect/RegularContiguousSet.java

      }
    
      @Override
      public boolean contains(@CheckForNull Object object) {
        if (object == null) {
          return false;
        }
        try {
          @SuppressWarnings("unchecked") // The worst case is usually CCE, which we catch.
          C c = (C) object;
          return range.contains(c);
        } catch (ClassCastException e) {
          return false;
        }
      }
    
      @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  9. src/internal/types/testdata/fixedbugs/issue51229.go

    func g4[M ~map[string]S, E any, S ~[]E](m M) {}
    func g5[E any, M ~map[string]S, S ~[]E](m M) {}
    
    func _(m map[string][]byte) {
    	g0(m)
    	g1(m)
    	g2(m)
    	g3(m)
    	g4(m)
    	g5(m)
    }
    
    // Worst-case scenario.
    // There are 10 unknown type parameters. In each iteration of
    // constraint type inference we infer one more, from right to left.
    // Each iteration looks repeatedly at all 11 type parameters,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 17 19:54:27 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  10. security/pkg/server/ca/server.go

    		ca:             ca,
    		monitoring:     newMonitoringMetrics(),
    	}
    
    	if len(features.CATrustedNodeAccounts) > 0 {
    		// TODO: do we need some way to delayed readiness until this is synced? Probably
    		// Worst case is we deny some requests though which are retried
    		server.nodeAuthorizer = NewMulticlusterNodeAuthenticator(features.CATrustedNodeAccounts, controller)
    	}
    	return server, nil
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 28 17:35:26 UTC 2024
    - 8K bytes
    - Viewed (0)
Back to top