Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for nondeterministic (0.29 sec)

  1. .idea/dictionaries/abreslav.xml

      <dictionary name="abreslav">
        <words>
          <w>accessor</w>
          <w>covariantly</w>
          <w>deserialized</w>
          <w>dominator</w>
          <w>inferrer</w>
          <w>iterable</w>
          <w>nondeterministic</w>
          <w>nullable</w>
          <w>overridable</w>
          <w>pseudocode</w>
          <w>substitutor</w>
          <w>subtyping</w>
          <w>supertype</w>
          <w>supertypes</w>
          <w>tuple</w>
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu Jul 09 13:32:24 UTC 2015
    - 500 bytes
    - Viewed (0)
  2. src/cmd/go/testdata/vcstest/hg/hgrepo1.txt

    	# commit always uses the current date (so is not reproducible). Fortunately,
    	# that commit lands on the 'default' branch and is not tagged as 'tip', so it
    	# seems to be mostly harmless. However, because it is nondeterministic we
    	# should avoid listing it here.
    	#
    	# Unfortunately, some of our builders are still running Debian 9 “Stretch”,
    	# which shipped with a version of 'hg' that does not support 'hg branch -r'
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 25 16:48:06 UTC 2022
    - 4.3K bytes
    - Viewed (0)
  3. src/runtime/sema_test.go

    	const iter = 10000
    	ok := 0
    	for i := 0; i < iter; i++ {
    		if testSemaHandoff() {
    			ok++
    		}
    	}
    	// As long as two thirds of handoffs are direct, we
    	// consider the test successful. The scheduler is
    	// nondeterministic, so this test checks that we get the
    	// desired outcome in a significant majority of cases.
    	// The actual ratio of direct handoffs is much higher
    	// (>90%) but we use a lower threshold to minimize the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 21 19:37:22 UTC 2022
    - 4.2K bytes
    - Viewed (0)
  4. tools/bug-report/pkg/config/config_test.go

    			"l1": "lv1",
    			"l2": "lv2",
    		},
    		Annotations: map[string]string{
    			"a1": "av1",
    		},
    		Containers: []string{"c1", "c2"},
    	}
    	// there are 2 possible results as map iteration order is nondeterministic
    	want1 := []byte(`"ns1,ns2/d1,d2/p1,p2/l1=lv1,l2=lv2/a1=av1/c1,c2"`)
    	want2 := []byte(`"ns1,ns2/d1,d2/p1,p2/l2=lv2,l1=lv1/a1=av1/c1,c2"`)
    
    	got, err := spec.MarshalJSON()
    	if err != nil {
    		t.Fatal(err)
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Dec 15 15:19:50 UTC 2021
    - 4.4K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apimachinery/pkg/util/mergepatch/util_test.go

    		testStr := fmt.Sprintf("A = %#v, B = %#v", testCase.A, testCase.B)
    		// Run each test case multiple times if it passes because HasConflicts()
    		// uses map iteration, which returns keys in nondeterministic order.
    		for try := 0; try < 10; try++ {
    			out, err := HasConflicts(testCase.A, testCase.B)
    			if err != nil {
    				t.Errorf("%v: unexpected error: %v", testStr, err)
    				break
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 11 09:16:00 UTC 2018
    - 4.3K bytes
    - Viewed (0)
  6. src/sort/sort_test.go

    func (t *nonDeterministicTestingData) Less(i, j int) bool {
    	if i < 0 || j < 0 || i >= t.Len() || j >= t.Len() {
    		panic("nondeterministic comparison out of bounds")
    	}
    	return t.r.Float32() < 0.5
    }
    func (t *nonDeterministicTestingData) Swap(i, j int) {
    	if i < 0 || j < 0 || i >= t.Len() || j >= t.Len() {
    		panic("nondeterministic comparison out of bounds")
    	}
    }
    
    func TestNonDeterministicComparison(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 19:41:04 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  7. pilot/pkg/config/kube/ingress/controller.go

    func sortIngressByCreationTime(ingr []*knetworking.Ingress) []*knetworking.Ingress {
    	sort.Slice(ingr, func(i, j int) bool {
    		// If creation time is the same, then behavior is nondeterministic. In this case, we can
    		// pick an arbitrary but consistent ordering based on name and namespace, which is unique.
    		// CreationTimestamp is stored in seconds, so this is not uncommon.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 06 03:53:05 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/pkginit/initAsanGlobals.go

    // globals.
    // And the key is the object name. For example, in package p, a global foo would be in this
    // map as "foo".
    // Consider range over maps is nondeterministic, make a slice to hold all the values in the
    // InstrumentGlobalsMap and iterate over the InstrumentGlobalsSlice.
    var InstrumentGlobalsMap = make(map[string]ir.Node)
    var InstrumentGlobalsSlice = make([]ir.Node, 0, 0)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 17 19:36:24 UTC 2023
    - 8.7K bytes
    - Viewed (0)
  9. src/cmd/go/internal/modget/query.go

    // call to f for the given path has completed on return.
    //
    // pathOnce is safe for concurrent use by multiple goroutines, but note that
    // multiple concurrent calls will result in the sets being added in
    // nondeterministic order.
    func (q *query) pathOnce(path string, f func() pathSet) {
    	if _, dup := q.pathSeen.LoadOrStore(path, nil); dup {
    		return
    	}
    
    	cs := f()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 27 15:48:25 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/cache/PopulatedCachesTest.java

        // of the values gets evicted. With weak keys, we use identity equality, which means using
        // System.identityHashCode, which means the assignment of keys to segments is nondeterministic,
        // so more than (maximumSize / #segments) keys could get assigned to the same segment, which
        // would cause one to be evicted.
        return new CacheBuilderFactory()
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 15K bytes
    - Viewed (0)
Back to top