Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,142 for measure (0.2 sec)

  1. src/cmd/compile/internal/types2/signature.go

    				}
    			} else if len(tparams) < len(recvTParams) {
    				// Reporting an error here is a stop-gap measure to avoid crashes in the
    				// compiler when a type parameter/argument cannot be inferred later. It
    				// may lead to follow-on errors (see issues go.dev/issue/51339, go.dev/issue/51343).
    				// TODO(gri) find a better solution
    				got := measure(len(tparams), "type parameter")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 21:33:05 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  2. platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/processor/AbstractInstrumentationProcessor.java

                .map(it -> (ExecutableElement) it)
                // Ensure that the elements have a stable order, as the annotation processing engine does not guarantee that for type elements.
                // The order in which the executable elements are listed should be the order in which they appear in the code but
                // we take an extra measure of care here and ensure the ordering between all elements.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:40 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  3. guava/src/com/google/common/hash/LittleEndianByteArray.java

       * @param offset the offset into the array at which to start
       * @return the value found in the array in the form of a long
       */
      static int load32(byte[] source, int offset) {
        // TODO(user): Measure the benefit of delegating this to LittleEndianBytes also.
        return (source[offset] & 0xFF)
            | ((source[offset + 1] & 0xFF) << 8)
            | ((source[offset + 2] & 0xFF) << 16)
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/hash/LittleEndianByteArray.java

       * @param offset the offset into the array at which to start
       * @return the value found in the array in the form of a long
       */
      static int load32(byte[] source, int offset) {
        // TODO(user): Measure the benefit of delegating this to LittleEndianBytes also.
        return (source[offset] & 0xFF)
            | ((source[offset + 1] & 0xFF) << 8)
            | ((source[offset + 2] & 0xFF) << 16)
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/admission/plugin/resourcequota/controller.go

    	// as a result, we need to measure the usage of this object for quota
    	// on updates, we need to subtract the previous measured usage
    	// if usage shows no change, just return since it has no impact on quota
    	deltaUsage, err := evaluator.Usage(inputObject)
    	if err != nil {
    		return quotas, err
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  6. src/runtime/mstats.go

    	// c-shared and c-archive build modes and other sources of stacks from
    	// the OS (notably, any allocated by C code) are not currently measured.
    	// Note this too may change in the future.
    	StackSys uint64
    
    	// Off-heap memory statistics.
    	//
    	// The following statistics measure runtime-internal
    	// structures that are not allocated from heap memory (usually
    	// because they are part of implementing the heap). Unlike
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 08 21:03:13 UTC 2024
    - 34.2K bytes
    - Viewed (0)
  7. pilot/pkg/xds/bench_test.go

    	},
    	{
    		// Knative Gateway simulates a full Knative routing setup. There have been a variety of performance issues and optimizations
    		// around Knative's somewhat abnormal usage, so its good to keep track and measure
    		Name:      "knative-gateway",
    		Services:  100,
    		ProxyType: model.Router,
    	},
    
    	// Testing different port types
    	{
    		Name:     "http",
    		Services: 100,
    	},
    	{
    		Name:     "tcp",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 22 18:13:40 UTC 2024
    - 19.7K bytes
    - Viewed (0)
  8. src/math/rand/rand_test.go

    		p := make([]int, 30)
    		for i := range p {
    			p[i] = i
    		}
    		r.Shuffle(30, func(i, j int) { p[i], p[j] = p[j], p[i] })
    	}
    }
    
    // BenchmarkShuffleOverhead uses a minimal swap function
    // to measure just the shuffling overhead.
    func BenchmarkShuffleOverhead(b *testing.B) {
    	r := New(NewSource(1))
    	for n := b.N; n > 0; n-- {
    		r.Shuffle(52, func(i, j int) {
    			if i < 0 || i >= 52 || j < 0 || j >= 52 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  9. src/runtime/mgclimit.go

    // Otherwise, it returns true.
    //
    // The caller must be non-preemptible until at least stop is called or this function
    // returns false. Because this is trying to measure "on-CPU" time of some event, getting
    // scheduled away during it can mean that whatever we're measuring isn't a reflection
    // of "on-CPU" time. The OS could deschedule us at any time, but we want to maintain as
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 22:07:41 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  10. src/runtime/metrics/doc.go

    		Estimated total CPU time spent performing GC tasks on spare CPU
    		resources that the Go scheduler could not otherwise find a use
    		for. This should be subtracted from the total GC CPU time to
    		obtain a measure of compulsory GC CPU time. This metric is an
    		overestimate, and not directly comparable to system CPU time
    		measurements. Compare only with other /cpu/classes metrics.
    
    	/cpu/classes/gc/pause:cpu-seconds
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:58:43 UTC 2024
    - 20K bytes
    - Viewed (0)
Back to top