Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 114 for shuffled (0.21 sec)

  1. src/cmd/go/internal/test/test.go

    	    the Go tree can run a sanity check but not spend time running
    	    exhaustive tests.
    
    	-shuffle off,on,N
    	    Randomize the execution order of tests and benchmarks.
    	    It is off by default. If -shuffle is set to on, then it will seed
    	    the randomizer using the system clock. If -shuffle is set to an
    	    integer N, then N will be used as the seed value. In both cases,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 71.9K bytes
    - Viewed (0)
  2. android/guava-tests/benchmark/com/google/common/base/EnumsBenchmark.java

          misses.add("INVALID");
        }
    
        List<String> sampleDataList = new ArrayList<>();
        sampleDataList.addAll(hits);
        sampleDataList.addAll(misses);
        Collections.shuffle(sampleDataList);
        sampleData = sampleDataList.toArray(new String[sampleDataList.size()]);
      }
    
      // Since we can't pass a concrete SomeEnum.class directly, we need to use a raw type.
      @SuppressWarnings("unchecked")
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 17:15:24 UTC 2024
    - 29.4K bytes
    - Viewed (0)
  3. guava-tests/benchmark/com/google/common/base/EnumsBenchmark.java

          misses.add("INVALID");
        }
    
        List<String> sampleDataList = new ArrayList<>();
        sampleDataList.addAll(hits);
        sampleDataList.addAll(misses);
        Collections.shuffle(sampleDataList);
        sampleData = sampleDataList.toArray(new String[sampleDataList.size()]);
      }
    
      // Since we can't pass a concrete SomeEnum.class directly, we need to use a raw type.
      @SuppressWarnings("unchecked")
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 17:15:24 UTC 2024
    - 29.4K bytes
    - Viewed (0)
  4. pkg/apis/flowcontrol/validation/validation.go

    	if queuing.QueueLengthLimit <= 0 {
    		allErrs = append(allErrs, field.Invalid(fldPath.Child("queueLengthLimit"), queuing.QueueLengthLimit, "must be positive"))
    	}
    
    	// validate input arguments for shuffle-sharding
    	if queuing.Queues <= 0 {
    		allErrs = append(allErrs, field.Invalid(fldPath.Child("queues"), queuing.Queues, "must be positive"))
    	} else if queuing.Queues > priorityLevelConfigurationQueuingMaxQueues {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 22:22:51 UTC 2023
    - 26.7K bytes
    - Viewed (0)
  5. src/cmd/internal/objabi/reloctype.go

    	// attribute of form DW_FORM_data4.
    	R_DWARFFILEREF
    
    	// Platform dependent relocations. Architectures with fixed width instructions
    	// have the inherent issue that a 32-bit (or 64-bit!) displacement cannot be
    	// stuffed into a 32-bit instruction, so an address needs to be spread across
    	// several instructions, and in turn this requires a sequence of relocations, each
    	// updating a part of an instruction. This leads to relocation codes that are
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 27 17:26:07 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  6. cmd/metacache-entries_test.go

    		// Run for a number of times, shuffling the input to ensure that output is consistent.
    		for i := 0; i < 10; i++ {
    			t.Run(fmt.Sprintf("test-%d-%s-run-%d", testID, tt.name, i), func(t *testing.T) {
    				if i > 0 {
    					rng.Shuffle(len(tt.m), func(i, j int) {
    						tt.m[i], tt.m[j] = tt.m[j], tt.m[i]
    					})
    				}
    				gotSelected, gotOk := tt.m.resolve(&tt.r)
    				if gotOk != tt.wantOk {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sun Jan 02 17:15:06 UTC 2022
    - 31.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/math/Quantiles.java

     * randomly ordered data (the probability decreases faster than exponentially in N), but if you are
     * passing in unsanitized user data then a malicious user could force it. A light shuffle of the
     * data using an unpredictable seed should normally be enough to thwart this attack.
     *
     * <p>The time taken to compute multiple quantiles on the same dataset using {@link Scale#indexes
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 12 17:02:53 UTC 2023
    - 29.9K bytes
    - Viewed (0)
  8. cmd/metacache-set.go

    		askDisks = len(disks) // use all available drives
    	}
    
    	// However many we ask, versions must exist on ~50%
    	listingQuorum := (askDisks + 1) / 2
    
    	if askDisks > 0 && len(disks) > askDisks {
    		rand.Shuffle(len(disks), func(i, j int) {
    			disks[i], disks[j] = disks[j], disks[i]
    		})
    		fallbackDisks = disks[askDisks:]
    		disks = disks[:askDisks]
    	}
    
    	// How to resolve results.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 07 22:18:44 UTC 2024
    - 30.4K bytes
    - Viewed (0)
  9. guava/src/com/google/common/math/Quantiles.java

     * randomly ordered data (the probability decreases faster than exponentially in N), but if you are
     * passing in unsanitized user data then a malicious user could force it. A light shuffle of the
     * data using an unpredictable seed should normally be enough to thwart this attack.
     *
     * <p>The time taken to compute multiple quantiles on the same dataset using {@link Scale#indexes
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 12 17:02:53 UTC 2023
    - 29.9K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/apf_controller.go

    // upon return or (b) locking is irrelevant.
    
    // StartFunction begins the process of handling a request.  If the
    // request gets queued then this function uses the given hashValue as
    // the source of entropy as it shuffle-shards the request into a
    // queue.  The descr1 and descr2 values play no role in the logic but
    // appear in log messages.  This method does not return until the
    // queuing, if any, for this request is done.  If `execute` is false
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 48.8K bytes
    - Viewed (0)
Back to top