Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 41 for Shuffle (0.26 sec)

  1. tests/tests_test.go

    	var err error
    	allModels := []interface{}{&User{}, &Account{}, &Pet{}, &Company{}, &Toy{}, &Language{}, &Coupon{}, &CouponProduct{}, &Order{}, &Parent{}, &Child{}, &Tools{}}
    	rand.Seed(time.Now().UnixNano())
    	rand.Shuffle(len(allModels), func(i, j int) { allModels[i], allModels[j] = allModels[j], allModels[i] })
    
    	DB.Migrator().DropTable("user_friends", "user_speaks")
    
    	if err = DB.Migrator().DropTable(allModels...); err != nil {
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Fri Dec 15 08:36:08 GMT 2023
    - 3.3K bytes
    - Viewed (1)
  2. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

                  return null;
                }
              });
        }
        assertEquals(allTasks.size() + 1, barrier.getParties());
        for (int i = 0; i < 1000; i++) {
          Collections.shuffle(allTasks);
          final AbstractFuture<String> future = new AbstractFuture<String>() {};
          currentFuture.set(future);
          for (Callable<?> task : allTasks) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 46.8K bytes
    - Viewed (0)
  3. docs/bigdata/README.md

    mapreduce.fileoutputcommitter.algorithm.version=2 # Use the latest committer version
    mapreduce.job.reduce.slowstart.completedmaps=0.99 # 99% map, then reduce
    mapreduce.reduce.shuffle.input.buffer.percent=0.9 # Min % buffer in RAM
    mapreduce.reduce.shuffle.merge.percent=0.9 # Minimum % merges in RAM
    mapreduce.reduce.speculative=false # Disable speculation for reducing
    mapreduce.task.io.sort.factor=999 # Threshold before writing to disk
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Sep 29 04:28:45 GMT 2022
    - 14.7K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

                  return null;
                }
              });
        }
        assertEquals(allTasks.size() + 1, barrier.getParties());
        for (int i = 0; i < 1000; i++) {
          Collections.shuffle(allTasks);
          final AbstractFuture<String> future = new AbstractFuture<String>() {};
          currentFuture.set(future);
          for (Callable<?> task : allTasks) {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 46.8K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

        for (int attempts = 0; attempts < reduceIterationsIfGwt(1000); attempts++) {
          ArrayList<Integer> elements = createOrderedList(10);
          Collections.shuffle(elements, random);
          MinMaxPriorityQueue<Integer> queue = MinMaxPriorityQueue.create(elements);
          Collections.shuffle(elements, random);
          for (Integer element : elements) {
            assertThat(queue.remove(element)).isTrue();
            assertIntact(queue);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 36.1K bytes
    - Viewed (0)
  6. cmd/xl-storage-format-v2_test.go

    		}
    		buf = xlMetaV2TrimData(buf)
    
    		vers = append(vers, metaCacheEntry{
    			name:     "a",
    			metadata: buf,
    		})
    	}
    
    	// Shuffle...
    	for i := 0; i < 100; i++ {
    		rng := rand.New(rand.NewSource(int64(i)))
    		rng.Shuffle(len(vers), func(i, j int) {
    			vers[i], vers[j] = vers[j], vers[i]
    		})
    		var entries []chan metaCacheEntry
    		for _, v := range vers {
    			v.cached = nil
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Mar 08 17:50:48 GMT 2024
    - 36.4K bytes
    - Viewed (0)
  7. common-protos/k8s.io/api/flowcontrol/v1beta1/generated.proto

      // +optional
      optional int32 queues = 1;
    
      // `handSize` is a small positive number that configures the
      // shuffle sharding of requests into queues.  When enqueuing a request
      // at this priority level the request's flow identifier (a string
      // pair) is hashed and the hash value is used to shuffle the list
      // of queues and deal a hand of the size specified here.  The
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 19.4K bytes
    - Viewed (0)
  8. common-protos/k8s.io/api/flowcontrol/v1beta3/generated.proto

      // +optional
      optional int32 queues = 1;
    
      // `handSize` is a small positive number that configures the
      // shuffle sharding of requests into queues.  When enqueuing a request
      // at this priority level the request's flow identifier (a string
      // pair) is hashed and the hash value is used to shuffle the list
      // of queues and deal a hand of the size specified here.  The
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 19.5K bytes
    - Viewed (0)
  9. common-protos/k8s.io/api/flowcontrol/v1beta2/generated.proto

      // +optional
      optional int32 queues = 1;
    
      // `handSize` is a small positive number that configures the
      // shuffle sharding of requests into queues.  When enqueuing a request
      // at this priority level the request's flow identifier (a string
      // pair) is hashed and the hash value is used to shuffle the list
      // of queues and deal a hand of the size specified here.  The
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 19.4K bytes
    - Viewed (0)
  10. common-protos/k8s.io/api/flowcontrol/v1alpha1/generated.proto

      // +optional
      optional int32 queues = 1;
    
      // `handSize` is a small positive number that configures the
      // shuffle sharding of requests into queues.  When enqueuing a request
      // at this priority level the request's flow identifier (a string
      // pair) is hashed and the hash value is used to shuffle the list
      // of queues and deal a hand of the size specified here.  The
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 19.4K bytes
    - Viewed (0)
Back to top