- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 42 for 2361 (0.02 seconds)
-
android/guava-tests/test/com/google/common/primitives/BytesTest.java
testRotate(new byte[] {1, 2, 3}, 3, new byte[] {1, 2, 3}); testRotate(new byte[] {1, 2, 3}, 4, new byte[] {3, 1, 2}); testRotate(new byte[] {1, 2, 3}, 5, new byte[] {2, 3, 1}); testRotate(new byte[] {1, 2, 3, 4}, -9, new byte[] {2, 3, 4, 1}); testRotate(new byte[] {1, 2, 3, 4}, -5, new byte[] {2, 3, 4, 1}); testRotate(new byte[] {1, 2, 3, 4}, -1, new byte[] {2, 3, 4, 1});
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 01:43:32 GMT 2026 - 17.5K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/primitives/CharsTest.java
testRotate(new char[] {'1', '2', '3'}, 2, new char[] {'2', '3', '1'}); testRotate(new char[] {'1', '2', '3'}, 3, new char[] {'1', '2', '3'}); testRotate(new char[] {'1', '2', '3'}, 4, new char[] {'3', '1', '2'}); testRotate(new char[] {'1', '2', '3'}, 5, new char[] {'2', '3', '1'}); testRotate(new char[] {'1', '2', '3', '4'}, -9, new char[] {'2', '3', '4', '1'});
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 01:43:32 GMT 2026 - 26K bytes - Click Count (0) -
guava-tests/test/com/google/common/primitives/CharsTest.java
testRotate(new char[] {'1', '2', '3'}, 2, new char[] {'2', '3', '1'}); testRotate(new char[] {'1', '2', '3'}, 3, new char[] {'1', '2', '3'}); testRotate(new char[] {'1', '2', '3'}, 4, new char[] {'3', '1', '2'}); testRotate(new char[] {'1', '2', '3'}, 5, new char[] {'2', '3', '1'}); testRotate(new char[] {'1', '2', '3', '4'}, -9, new char[] {'2', '3', '4', '1'});
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 01:43:32 GMT 2026 - 26K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/primitives/DoublesTest.java
testRotate(new double[] {1, 2, 3}, 2, new double[] {2, 3, 1}); testRotate(new double[] {1, 2, 3}, 3, new double[] {1, 2, 3}); testRotate(new double[] {1, 2, 3}, 4, new double[] {3, 1, 2}); testRotate(new double[] {1, 2, 3}, 5, new double[] {2, 3, 1}); testRotate(new double[] {1, 2, 3, 4}, -9, new double[] {2, 3, 4, 1}); testRotate(new double[] {1, 2, 3, 4}, -5, new double[] {2, 3, 4, 1});
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 01:43:32 GMT 2026 - 30.9K bytes - Click Count (0) -
guava-tests/test/com/google/common/primitives/IntsTest.java
testRotate(new int[] {1, 2, 3}, 3, new int[] {1, 2, 3}); testRotate(new int[] {1, 2, 3}, 4, new int[] {3, 1, 2}); testRotate(new int[] {1, 2, 3}, 5, new int[] {2, 3, 1}); testRotate(new int[] {1, 2, 3, 4}, -9, new int[] {2, 3, 4, 1}); testRotate(new int[] {1, 2, 3, 4}, -5, new int[] {2, 3, 4, 1}); testRotate(new int[] {1, 2, 3, 4}, -1, new int[] {2, 3, 4, 1});
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 01:43:32 GMT 2026 - 29.4K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/Collections2Test.java
assertNextPermutation(newArrayList(3, 2, 1, 4), permutations); assertNextPermutation(newArrayList(2, 3, 1, 4), permutations); assertNextPermutation(newArrayList(2, 3, 4, 1), permutations); assertNextPermutation(newArrayList(2, 4, 3, 1), permutations); assertNextPermutation(newArrayList(4, 2, 3, 1), permutations); assertNextPermutation(newArrayList(4, 2, 1, 3), permutations);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 20.1K bytes - Click Count (0) -
guava-tests/test/com/google/common/primitives/BytesTest.java
testRotate(new byte[] {1, 2, 3}, 3, new byte[] {1, 2, 3}); testRotate(new byte[] {1, 2, 3}, 4, new byte[] {3, 1, 2}); testRotate(new byte[] {1, 2, 3}, 5, new byte[] {2, 3, 1}); testRotate(new byte[] {1, 2, 3, 4}, -9, new byte[] {2, 3, 4, 1}); testRotate(new byte[] {1, 2, 3, 4}, -5, new byte[] {2, 3, 4, 1}); testRotate(new byte[] {1, 2, 3, 4}, -1, new byte[] {2, 3, 4, 1});
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 01:43:32 GMT 2026 - 17.5K bytes - Click Count (0) -
guava/src/com/google/common/base/Verify.java
* Ensures that {@code expression} is {@code true}, throwing a {@code VerifyException} with a * custom message otherwise. * * <p>See {@link #verify(boolean, String, Object...)} for details. * * @since 23.1 (varargs overload since 17.0) */ public static void verify( boolean expression, String errorMessageTemplate, char p1) { if (!expression) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Dec 29 17:36:00 GMT 2025 - 18.5K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/CompactHashing.java
/** Bitmask that selects the low bits of metadata to get hashTableBits. */ static final int HASH_TABLE_BITS_MASK = (1 << HASH_TABLE_BITS_MAX_BITS) - 1; /** Maximum size of a compact hash-based collection (2^30 - 1 because 0 is UNSET). */ static final int MAX_SIZE = Ints.MAX_POWER_OF_TWO - 1; /** Default size of a compact hash-based collection. */ static final int DEFAULT_SIZE = 3; /**
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 26 20:08:09 GMT 2025 - 7.1K bytes - Click Count (0) -
guava-tests/test/com/google/common/hash/HashTestUtils.java
Random rng = new Random(0L); byte[] bytes = new byte[rng.nextInt(256) + 1]; rng.nextBytes(bytes); assertEquals(hashFunction.hashBytes(bytes), hashFunction.hashBytes(ByteBuffer.wrap(bytes))); } static void assertHashByteBufferExhaustsBuffer(HashFunction hashFunction) { Random rng = new Random(0L); byte[] bytes = new byte[rng.nextInt(256) + 1]; rng.nextBytes(bytes);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Oct 28 18:19:59 GMT 2025 - 25.6K bytes - Click Count (0)