Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for permutations (0.34 sec)

  1. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 20.1K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/base/Utf8Test.java

      }
    
      /** Tests that round tripping of all three byte permutations work. */
      @GwtIncompatible // java.nio.charset.Charset
    
      public void testIsWellFormed_3Bytes() {
        testBytes(3, EXPECTED_THREE_BYTE_ROUNDTRIPPABLE_COUNT);
      }
    
      /**
       * Tests that round tripping of a sample of four byte permutations work. All permutations are
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/util/DES.java

            final 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 };
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 22.7K bytes
    - Viewed (0)
  4. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 36K bytes
    - Viewed (0)
Back to top