Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for permutations (0.1 sec)

  1. android/guava-tests/test/com/google/common/collect/Collections2Test.java

        assertNextPermutation(newArrayList("a", "c", "b"), permutations);
        assertNextPermutation(newArrayList("b", "a", "c"), permutations);
        assertNextPermutation(newArrayList("b", "c", "a"), permutations);
        assertNextPermutation(newArrayList("c", "a", "b"), permutations);
        assertNextPermutation(newArrayList("c", "b", "a"), permutations);
        assertNoMorePermutations(permutations);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 10:16:44 UTC 2024
    - 19.7K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/Collections2Test.java

        assertNextPermutation(newArrayList("a", "c", "b"), permutations);
        assertNextPermutation(newArrayList("b", "a", "c"), permutations);
        assertNextPermutation(newArrayList("b", "c", "a"), permutations);
        assertNextPermutation(newArrayList("c", "a", "b"), permutations);
        assertNextPermutation(newArrayList("c", "b", "a"), permutations);
        assertNoMorePermutations(permutations);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 10:16:44 UTC 2024
    - 19.7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Collections2.java

          int permutations = 1;
          int n = 1;
          int r = 1;
          while (n < sortedInputList.size()) {
            int comparison = comparator.compare(sortedInputList.get(n - 1), sortedInputList.get(n));
            if (comparison < 0) {
              // We move to the next non-repeated element.
              permutations = IntMath.saturatedMultiply(permutations, IntMath.binomial(n, r));
              r = 0;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 22.8K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/Collections2.java

          int permutations = 1;
          int n = 1;
          int r = 1;
          while (n < sortedInputList.size()) {
            int comparison = comparator.compare(sortedInputList.get(n - 1), sortedInputList.get(n));
            if (comparison < 0) {
              // We move to the next non-repeated element.
              permutations = IntMath.saturatedMultiply(permutations, IntMath.binomial(n, r));
              r = 0;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

        }
      }
    
      public void testRemoveAt_exhaustive() {
        int size = reduceExponentIfGwt(8);
        List<Integer> expected = createOrderedList(size);
        for (Collection<Integer> perm : Collections2.permutations(expected)) {
          for (int i = 0; i < perm.size(); i++) {
            MinMaxPriorityQueue<Integer> q = MinMaxPriorityQueue.create(perm);
            q.removeAt(i);
            assertIntactUsingStartedWith(perm, q);
          }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/util/DES.java

            int count = length / 8;
    
            for (int i=0; i<count; i++)
                encrypt(cipherText, i*8, clearText, i*8);
    
            return clearText;
        }
    
    
        // Tables, permutations, S-boxes, etc.
    
        private static byte[] bytebit = {
            (byte)0x80, (byte)0x40, (byte)0x20, (byte)0x10,
            (byte)0x08, (byte)0x04, (byte)0x02, (byte)0x01
        };
        private static int[] bigbyte = {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 21.4K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

        }
      }
    
      public void testRemoveAt_exhaustive() {
        int size = reduceExponentIfGwt(8);
        List<Integer> expected = createOrderedList(size);
        for (Collection<Integer> perm : Collections2.permutations(expected)) {
          for (int i = 0; i < perm.size(); i++) {
            MinMaxPriorityQueue<Integer> q = MinMaxPriorityQueue.create(perm);
            q.removeAt(i);
            assertIntactUsingStartedWith(perm, q);
          }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35.9K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/publicsuffix/PublicSuffixDatabase.kt

        // In practice, wildcards are always in the leftmost position. For now, this implementation
        // cheats and does not attempt every possible permutation. Instead, it only considers wildcards
        // in the leftmost position. We assert this fact when we generate the public suffix file. If
        // this assertion ever fails we'll need to refactor this implementation.
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  9. tensorflow/c/c_api.h

    //              The distinction between an empty array of operations and no
    //              array of operations is necessary to distinguish the case of
    //              creating a function with no body (e.g. identity or permutation)
    //              and the case of creating a function whose body contains all
    //              the nodes in the graph (except for the automatic skipping, see
    //              below).
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Oct 26 21:08:15 UTC 2023
    - 82.3K bytes
    - Viewed (0)
Back to top