Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 37 for SHUFFLE (0.12 sec)

  1. src/crypto/sha1/sha1block_arm.s

    	MIX(Ra, Rb, Rc, Rd, Re)
    
    #define ROUND1x(Ra, Rb, Rc, Rd, Re) \
    	SHUFFLE(Re)	; \
    	FUNC1(Ra, Rb, Rc, Rd, Re)	; \
    	MIX(Ra, Rb, Rc, Rd, Re)
    
    #define ROUND2(Ra, Rb, Rc, Rd, Re) \
    	SHUFFLE(Re)	; \
    	FUNC2(Ra, Rb, Rc, Rd, Re)	; \
    	MIX(Ra, Rb, Rc, Rd, Re)
    
    #define ROUND3(Ra, Rb, Rc, Rd, Re) \
    	SHUFFLE(Re)	; \
    	FUNC3(Ra, Rb, Rc, Rd, Re)	; \
    	MIX(Ra, Rb, Rc, Rd, Re)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  2. src/math/rand/example_test.go

    	words := strings.Fields("ink runs from the corners of my mouth")
    	rand.Shuffle(len(words), func(i, j int) {
    		words[i], words[j] = words[j], words[i]
    	})
    	fmt.Println(words)
    }
    
    func ExampleShuffle_slicesInUnison() {
    	numbers := []byte("12345")
    	letters := []byte("ABCDE")
    	// Shuffle numbers, swapping corresponding entries in letters at the same time.
    	rand.Shuffle(len(numbers), func(i, j int) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 26 16:24:57 UTC 2022
    - 4.2K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/CollectionBenchmarkSampleData.java

          Collections.shuffle(tmp, random);
          queryList.addAll(tmp.subList(0, extras));
        }
    
        // now add bad queries
        while (queryList.size() < numQueries) {
          Element candidate = newElement();
          if (!elementsInSet.contains(candidate)) {
            queryList.add(candidate);
          }
        }
        Collections.shuffle(queryList, random);
        return queryList.toArray(new Element[0]);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 17 15:49:06 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  4. docs/en/docs/js/custom.js

                }
                return true;
            });
        }
        window.addEventListener("scroll", loadVisibleTermynals);
        createTermynals();
        loadVisibleTermynals();
    }
    
    function shuffle(array) {
        var currentIndex = array.length, temporaryValue, randomIndex;
        while (0 !== currentIndex) {
            randomIndex = Math.floor(Math.random() * currentIndex);
            currentIndex -= 1;
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat May 08 17:50:56 UTC 2021
    - 6.6K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/util/shufflesharding/shufflesharding.go

    // of bits of hash value that are consumed in shuffle sharding a deck of the given size
    // to a hand of the given size.  The result is meaningful only if
    // 1 <= handSize <= deckSize <= 1<<26.
    func RequiredEntropyBits(deckSize, handSize int) int {
    	return int(math.Ceil(math.Log2(float64(deckSize)) * float64(handSize)))
    }
    
    // Dealer contains some necessary parameters and provides some methods for shuffle sharding.
    // Dealer is thread-safe.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Oct 23 08:38:03 UTC 2019
    - 4K bytes
    - Viewed (0)
  6. platforms/software/security/src/main/java/org/gradle/security/internal/PublicKeyDownloadService.java

            Collections.shuffle(servers);
            tryDownloadKeyFromServer(toLongIdHexString(keyId), servers, builder, keyring -> findMatchingKey(keyId, keyring, builder));
        }
    
        @Override
        public void findByFingerprint(byte[] fingerprint, PublicKeyResultBuilder builder) {
            List<URI> servers = new ArrayList<>(keyServers);
            Collections.shuffle(servers);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 12 08:49:35 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  7. src/cmd/go/internal/test/flagdefs.go

    	"mutexprofile":         true,
    	"mutexprofilefraction": true,
    	"outputdir":            true,
    	"parallel":             true,
    	"run":                  true,
    	"short":                true,
    	"shuffle":              true,
    	"skip":                 true,
    	"timeout":              true,
    	"trace":                true,
    	"v":                    true,
    }
    
    var passAnalyzersToVet = map[string]bool{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 01:02:40 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  8. maven-model-builder/src/test/java/org/apache/maven/model/building/GraphTest.java

                if (line.startsWith("\t")) {
                    data.add(new String[] {k, line.trim()});
                } else {
                    k = line;
                }
            }
            Collections.shuffle(data);
    
            long t0 = System.nanoTime();
            Graph g = new Graph();
            data.parallelStream().forEach(s -> {
                try {
                    g.addEdge(s[0], s[1]);
                } catch (Exception e) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Jan 15 16:49:26 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/fairqueuing/interface.go

    	// StartRequest begins the process of handling a request.  If the
    	// request gets queued and the number of queues is greater than 1
    	// then StartRequest 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 always returns quickly (without
    	// waiting for the request to be dequeued).  If this method
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Sep 26 12:55:23 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/MinimalCollection.java

      private final boolean allowNulls;
    
      // Package-private so that it can be extended.
      MinimalCollection(Class<? super @NonNull E> type, boolean allowNulls, E... contents) {
        // TODO: consider making it shuffle the contents to test iteration order.
        this.contents = Platform.clone(contents);
        this.type = type;
        this.allowNulls = allowNulls;
    
        if (!allowNulls) {
          for (Object element : contents) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 3.8K bytes
    - Viewed (0)
Back to top