Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 37 for SHUFFLE (0.14 sec)

  1. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/CppAppWithLibrariesWithApiDependencies.groovy

    #define EXPORT_FUNC
    #endif
    
    class EXPORT_FUNC Deck {
        Card card;
    public:
        void shuffle();
        Card& draw();
    };
    """))
            final SourceFileElement source = ofFile(new SourceFile("cpp", "deck.cpp", """
    #include "deck.h"
    #include "shuffle.h"
    
    void Deck::shuffle() {
        ShuffleAlgorithm shuffler;
        shuffler.shuffle();
    }
    
    Card& Deck::draw() {
        return card;
    }
    """))
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 3K bytes
    - Viewed (0)
  2. src/cmd/go/testdata/script/test_shuffle.txt

    go test -c
    exec ./m.test -test.shuffle=off
    ! stdout '^-test.shuffle '
    
    exec ./m.test -test.shuffle=on
    stdout '^-test.shuffle '
    
    exec ./m.test -test.v -test.bench=. -test.shuffle=0 foo_test.go
    stdout '^-test.shuffle 0'
    stdout '(?s)TestTwo(.*)TestOne(.*)TestThree(.*)BenchmarkThree(.*)BenchmarkOne(.*)BenchmarkTwo'
    
    exec ./m.test -test.v -test.bench=. -test.shuffle=123 foo_test.go
    stdout '^-test.shuffle 123'
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 19 20:46:11 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  3. platforms/native/language-native/src/integTest/groovy/org/gradle/language/cpp/CppStaticLibraryPublishingIntegrationTest.groovy

                    dependencies {
                        api project(':card')
                        implementation project(':shuffle')
                    }
                }
            """
            app.deck.writeToProject(file('deck'))
            app.card.writeToProject(file('card'))
            app.shuffle.writeToProject(file('shuffle'))
    
            when:
            run('publish')
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 8.1K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/graph/GraphMutationTest.java

          assertThat(graph.edges()).isEmpty(); // no edges can remain if there's no nodes
          AbstractGraphTest.validateGraph(graph);
    
          Collections.shuffle(nodeList, gen);
          for (Integer node : nodeList) {
            assertThat(graph.addNode(node)).isTrue();
          }
          Collections.shuffle(edgeList, gen);
          for (EndpointPair<Integer> edge : edgeList) {
            assertThat(graph.putEdge(edge.nodeU(), edge.nodeV())).isTrue();
          }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Aug 18 16:17:46 UTC 2017
    - 4.2K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_layout_helper.h

    SmallVector<int64_t, 4> GetDataFormatPermutation(StringRef from, StringRef to);
    
    // Shuffle elements in the `attr` according to the permutation. Optional
    // `inner_size` allows to shuffle array attributes created from rank 2 tensors
    // on outer dimension only.
    ArrayAttr ShuffleArrayAttr(ArrayAttr attr, ArrayRef<int64_t> permutation,
                               int inner_size = 1);
    
    // Shuffle ranked tensor dimensions according to the permutation.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 08 01:19:25 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_layout_helper.cc

        return {0, 3, 1, 2};
      } else if (from == "NCHW" && to == "NHWC") {
        return {0, 2, 3, 1};
      } else {
        return {};
      }
    }
    
    // Shuffle elements in the `attr` according to the permutation. Optional
    // `inner_size` allows to shuffle array attributes created from rank 2 tensors
    // on outer dimension only.
    ArrayAttr ShuffleArrayAttr(ArrayAttr attr, ArrayRef<int64_t> permutation,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  7. src/crypto/sha1/sha1block_386.s

    	MIX(a, b, c, d, e, 0x5A827999)
    
    #define ROUND1x(a, b, c, d, e, index) \
    	SHUFFLE(index, e); \
    	FUNC1(a, b, c, d, e); \
    	MIX(a, b, c, d, e, 0x5A827999)
    
    #define ROUND2(a, b, c, d, e, index) \
    	SHUFFLE(index, e); \
    	FUNC2(a, b, c, d, e); \
    	MIX(a, b, c, d, e, 0x6ED9EBA1)
    
    #define ROUND3(a, b, c, d, e, index) \
    	SHUFFLE(index, e); \
    	FUNC3(a, b, c, d, e); \
    	MIX(a, b, c, d, e, 0x8F1BBCDC)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 6K bytes
    - Viewed (0)
  8. src/vendor/golang.org/x/crypto/chacha20/chacha_s390x.s

    	BNE loop
    
    	// decrement length
    	ADD $-256, R4
    
    	// rearrange vectors
    	SHUFFLE(X0, X1, X2, X3, M0, M1, M2, M3)
    	ADDV(J0, X0, X1, X2, X3)
    	SHUFFLE(X4, X5, X6, X7, M0, M1, M2, M3)
    	ADDV(KEY0, X4, X5, X6, X7)
    	SHUFFLE(X8, X9, X10, X11, M0, M1, M2, M3)
    	ADDV(KEY1, X8, X9, X10, X11)
    	VAF CTR, X12, X12
    	SHUFFLE(X12, X13, X14, X15, M0, M1, M2, M3)
    	ADDV(NONCE, X12, X13, X14, X15)
    
    	// increment counters
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  9. pkg/test/loadbalancersim/loadbalancer/roundrobin.go

    	var lbConns []*WeightedConnection
    	for _, conn := range conns {
    		for i := uint32(0); i < conn.Weight; i++ {
    			lbConns = append(lbConns, conn)
    		}
    	}
    
    	// Shuffle the connections.
    	rand.Shuffle(len(lbConns), func(i, j int) {
    		lbConns[i], lbConns[j] = lbConns[j], lbConns[i]
    	})
    
    	return &roundRobin{
    		weightedConnections: newLBConnection("RoundRobinLB", lbConns),
    	}
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Feb 03 18:19:25 UTC 2022
    - 1.5K bytes
    - Viewed (0)
  10. src/math/rand/v2/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: Mon Oct 30 17:09:26 UTC 2023
    - 4.4K bytes
    - Viewed (0)
Back to top