Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 191 for worst (0.05 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. test/fixedbugs/issue44344.go

    package main
    
    func main() {
    	pv := []int{3, 4, 5}
    	if pv[1] != 9 {
    		pv = append(pv, 9)
    	}
    	tryit := func() bool {
    		lpv := len(pv)
    		if lpv == 101 {
    			return false
    		}
    		if worst := pv[pv[1]&1]; worst != 101 {
    			return true
    		}
    		return false
    	}()
    	if tryit {
    		println(pv[0])
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 19 14:46:21 UTC 2021
    - 575 bytes
    - Viewed (0)
  3. src/internal/trace/traceviewer/mmu.go

             })
             .done(function(worst) {
                details.text('Lowest mutator utilization in ' + niceDuration(windowNS) + ' windows:');
                for (var i = 0; i < worst.length; i++) {
                  details.append($('<br>'));
                  var text = worst[i].MutatorUtil.toFixed(3) + ' at time ' + niceDuration(worst[i].Time);
                  details.append($('<a/>').text(text).attr('href', worst[i].URL));
                }
             });
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 21:29:53 UTC 2023
    - 13K bytes
    - Viewed (0)
  4. src/internal/trace/gc.go

    		acc.mmu = mu
    	}
    	acc.bound = acc.mmu
    
    	if acc.nWorst == 0 {
    		// If the minimum has reached zero, it can't go any
    		// lower, so we can stop early.
    		return mu == 0
    	}
    
    	// Consider adding this window to the n worst.
    	if len(acc.wHeap) < acc.nWorst || mu < acc.wHeap[0].MutatorUtil {
    		// This window is lower than the K'th worst window.
    		//
    		// Check if there's any overlapping window
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 26K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/TopKSelector.java

     * offering expected O(n + k log k) performance (worst case O(n log k)) for n calls to {@link
     * #offer} and a call to {@link #topK}, with O(k) memory. In comparison, quickselect has the same
     * asymptotics but requires O(n) memory, and a {@code PriorityQueue} implementation takes O(n log
     * k). In benchmarks, this implementation performs at least as well as either implementation, and
     * degrades more gracefully for worst-case input.
     *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  6. 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)
  7. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/compilation.go

    	Error   *apiservercel.Error
    	// If true, the compiled expression contains a reference to the identifier "oldSelf".
    	UsesOldSelf bool
    	// Represents the worst-case cost of the compiled expression in terms of CEL's cost units, as used by cel.EstimateCost.
    	MaxCost uint64
    	// MaxCardinality represents the worse case number of times this validation rule could be invoked if contained under an
    	// unbounded map or list in an OpenAPIv3 schema.
    	MaxCardinality uint64
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 20:13:14 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/TopKSelector.java

     * offering expected O(n + k log k) performance (worst case O(n log k)) for n calls to {@link
     * #offer} and a call to {@link #topK}, with O(k) memory. In comparison, quickselect has the same
     * asymptotics but requires O(n) memory, and a {@code PriorityQueue} implementation takes O(n log
     * k). In benchmarks, this implementation performs at least as well as either implementation, and
     * degrades more gracefully for worst-case input.
     *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  9. 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)
  10. src/cmd/compile/internal/ssa/sccp.go

    	constValue.reset(OpInvalid)
    	return lattice{bottom, nil}
    }
    
    func (t *worklist) visitValue(val *Value) {
    	if !possibleConst(val) {
    		// fast fail for always worst Values, i.e. there is no lowering happen
    		// on them, their lattices must be initially worse Bottom.
    		return
    	}
    
    	oldLt := t.getLatticeCell(val)
    	defer func() {
    		// re-visit all uses of value if its lattice is changed
    		newLt := t.getLatticeCell(val)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 16:54:50 UTC 2024
    - 17.6K bytes
    - Viewed (0)
Back to top