- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 117 for perm (0.04 sec)
-
guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java
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); } } } /** Regression test for bug found. */
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 35.9K bytes - Viewed (0) -
pom.xml
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Sat Oct 26 02:16:03 UTC 2024 - 49.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java
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); } } } /** Regression test for bug found. */
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 35.9K bytes - Viewed (0) -
cmd/erasure.go
// at any given point in time. This allows different buckets to be scanned // in different order per erasure set, this wider spread is needed when // there are lots of buckets with different order of objects in them. r := rand.New(rand.NewSource(time.Now().UnixNano())) permutes := r.Perm(len(buckets)) // Add new buckets first for _, idx := range permutes { b := buckets[idx]
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Oct 04 22:23:33 UTC 2024 - 16.1K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Collections2.java
* <pre>{@code * for (List<String> perm : orderedPermutations(asList("b", "c", "a"))) { * println(perm); * } * // -> ["a", "b", "c"] * // -> ["a", "c", "b"] * // -> ["b", "a", "c"] * // -> ["b", "c", "a"] * // -> ["c", "a", "b"] * // -> ["c", "b", "a"] * * for (List<Integer> perm : orderedPermutations(asList(1, 2, 2, 1))) { * println(perm); * } * // -> [1, 1, 2, 2]
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 20:24:49 UTC 2024 - 22.8K bytes - Viewed (0) -
guava/src/com/google/common/collect/Collections2.java
* <pre>{@code * for (List<String> perm : orderedPermutations(asList("b", "c", "a"))) { * println(perm); * } * // -> ["a", "b", "c"] * // -> ["a", "c", "b"] * // -> ["b", "a", "c"] * // -> ["b", "c", "a"] * // -> ["c", "a", "b"] * // -> ["c", "b", "a"] * * for (List<Integer> perm : orderedPermutations(asList(1, 2, 2, 1))) { * println(perm); * } * // -> [1, 1, 2, 2]
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 20:24:49 UTC 2024 - 23.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/CallablesTest.java
@Override public void checkAccess(Thread t) { throw new SecurityException(); } @Override public void checkPermission(Permission perm) { // Do nothing so we can clear the security manager at the end } }); try { final String oldName = Thread.currentThread().getName();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 15:41:36 UTC 2024 - 5.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/FinalizableReferenceQueueClassLoaderUnloadingTest.java
} @Override public void finalizeReferent() {} } private static class PermissivePolicy extends Policy { @Override public boolean implies(ProtectionDomain pd, Permission perm) { return true; } } private WeakReference<ClassLoader> useFrqInSeparateLoader() throws Exception { final ClassLoader myLoader = getClass().getClassLoader();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 13.3K bytes - Viewed (0) -
src/archive/tar/common.go
// Set file permission bits. mode = fs.FileMode(fi.h.Mode).Perm() // Set setuid, setgid and sticky bits. if fi.h.Mode&c_ISUID != 0 { mode |= fs.ModeSetuid } if fi.h.Mode&c_ISGID != 0 { mode |= fs.ModeSetgid } if fi.h.Mode&c_ISVTX != 0 { mode |= fs.ModeSticky } // Set file mode bits; clear perm, setuid, setgid, and sticky bits. switch m := fs.FileMode(fi.h.Mode) &^ 07777; m {
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Fri Sep 13 21:03:27 UTC 2024 - 24.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java
public static class AdjustablePolicy extends Policy { Permissions perms = new Permissions(); AdjustablePolicy(Permission... permissions) { for (Permission permission : permissions) perms.add(permission); } void addPermission(Permission perm) { perms.add(perm); } void clearPermissions() { perms = new Permissions(); } @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 02:42:09 UTC 2024 - 37.9K bytes - Viewed (0)