Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 30 for worst (0.04 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. 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)
  5. 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)
  6. 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)
  7. 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)
  8. android/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. tensorflow/cc/ops/while_loop.cc

      // defining the frame) and that they are executed once per loop iteration.
      //
      // TODO(skyewm): the control dep will be added to all nodes in the cond graph.
      // This is at best unnecessary, and at worst may prevent different parts of
      // different loop iterations from executing in parallel.
      Scope cond_scope =
          scope.NewSubScope("cond").WithControlDependencies(inputs[0]);
      Output raw_cond_out;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Feb 26 01:01:21 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  10. src/encoding/ascii85/ascii85.go

    			if nb == 1 {
    				return 0, 0, CorruptInputError(len(src))
    			}
    			for i := nb; i < 5; i++ {
    				// The short encoding truncated the output value.
    				// We have to assume the worst case values (digit 84)
    				// in order to ensure that the top bits are correct.
    				v = v*85 + 84
    			}
    			for i := 0; i < nb-1; i++ {
    				dst[ndst] = byte(v >> 24)
    				v <<= 8
    				ndst++
    			}
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:04:28 UTC 2023
    - 6.9K bytes
    - Viewed (0)
Back to top