- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 143 for Perm (0.08 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) -
cmd/erasure-common.go
) func (er erasureObjects) getOnlineDisks() (newDisks []StorageAPI) { disks := er.getDisks() var wg sync.WaitGroup var mu sync.Mutex r := rand.New(rand.NewSource(time.Now().UnixNano())) for _, i := range r.Perm(len(disks)) { i := i wg.Add(1) go func() { defer wg.Done() if disks[i] == nil { return } di, err := disks[i].DiskInfo(context.Background(), DiskInfoOptions{})
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Aug 12 08:38:15 UTC 2024 - 2.3K bytes - Viewed (0) -
cmd/os_unix.go
func openFileWithFD(name string, flag int, perm os.FileMode) (fd int, err error) { switch flag & writeMode { case writeMode: defer updateOSMetrics(osMetricOpenFileWFd, name)(err) default: defer updateOSMetrics(osMetricOpenFileRFd, name)(err) } var e error fd, e = syscall.Open(name, flag|syscall.O_CLOEXEC, uint32(perm)) if e != nil { return -1, &os.PathError{Op: "open", Path: name, Err: e} }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Jan 18 07:03:17 UTC 2024 - 9.3K 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) -
cmd/os-instrumented.go
} // OpenFile captures time taken to call os.OpenFile func OpenFile(name string, flag int, perm os.FileMode) (f *os.File, err error) { switch flag & writeMode { case writeMode: defer updateOSMetrics(osMetricOpenFileW, name)(err) default: defer updateOSMetrics(osMetricOpenFileR, name)(err) } return os.OpenFile(name, flag, perm) } // Access captures time taken to call syscall.Access()
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Feb 15 01:09:38 UTC 2024 - 6.3K 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) -
api/go1.22.txt
pkg math/rand/v2, func NewPCG(uint64, uint64) *PCG #61716 pkg math/rand/v2, func NewZipf(*Rand, float64, float64, uint64) *Zipf #61716 pkg math/rand/v2, func NormFloat64() float64 #61716 pkg math/rand/v2, func Perm(int) []int #61716 pkg math/rand/v2, func Shuffle(int, func(int, int)) #61716 pkg math/rand/v2, func Uint32() uint32 #61716 pkg math/rand/v2, func Uint32N(uint32) uint32 #61716 pkg math/rand/v2, func Uint64() uint64 #61716
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Wed Jan 24 20:54:27 UTC 2024 - 7.7K bytes - Viewed (0) -
cmd/erasure.go
var wg sync.WaitGroup disks := er.getDisks() infos := make([]DiskInfo, len(disks)) r := rand.New(rand.NewSource(time.Now().UnixNano())) for _, i := range r.Perm(len(disks)) { i := i wg.Add(1) go func() { defer wg.Done() disk := disks[i] if disk == nil { infos[i].Error = errDiskNotFound.Error() return }
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)