- Sort Score
- Num 10 results
- Language All
Results 31 - 40 of 694 for _entriess (0.04 seconds)
-
internal/store/queuestore.go
store.RLock() defer store.RUnlock() entries := make([]string, 0, len(store.entries)) for entry := range store.entries { entries = append(entries, entry) } // Sort entries... sort.Slice(entries, func(i, j int) bool { return store.entries[entries[i]] < store.entries[entries[j]] }) for i := range entries { keys = append(keys, parseKey(entries[i])) } return keys }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 7.8K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultisetNavigationTester.java
sort(entries, sortedMultiset.comparator()); // some tests assume SEVERAL == 3 if (entries.size() >= 1) { a = Multisets.immutableEntry(entries.get(0), sortedMultiset.count(entries.get(0))); if (entries.size() >= 3) { b = Multisets.immutableEntry(entries.get(1), sortedMultiset.count(entries.get(1))); c = Multisets.immutableEntry(entries.get(2), sortedMultiset.count(entries.get(2))); } }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 20:14:36 GMT 2024 - 26K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/MapsCollectionTest.java
new TestStringBiMapGenerator() { @Override protected BiMap<String, String> create(Entry<String, String>[] entries) { BiMap<String, String> bimap = HashBiMap.create(entries.length); for (Entry<String, String> entry : entries) { checkArgument(!bimap.containsKey(entry.getKey())); bimap.put(entry.getKey(), entry.getValue());
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 32.4K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/DerivedGoogleCollectionGenerators.java
@SuppressWarnings("unchecked") @Override public BiMap<V, K> create(Object... elements) { Entry<?, ?>[] entries = new Entry<?, ?>[elements.length]; for (int i = 0; i < elements.length; i++) { entries[i] = reverse((Entry<K, V>) elements[i]); } return generator.create((Object[]) entries).inverse(); } @SuppressWarnings("unchecked") @OverrideCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 6.8K bytes - Click Count (2) -
internal/crypto/sse_test.go
} } var ssecUnsealObjectKeyTests = []struct { Headers http.Header Bucket, Object string Metadata map[string]string ExpectedErr error }{ { // 0 - Valid HTTP headers and valid metadata entries for bucket/object Headers: http.Header{ "X-Amz-Server-Side-Encryption-Customer-Algorithm": []string{"AES256"}, "X-Amz-Server-Side-Encryption-Customer-Key": []string{"MzJieXRlc2xvbmdzZWNyZXRrZXltdXN0cHJvdmlkZWQ="},Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Jun 01 21:59:40 GMT 2021 - 8.4K bytes - Click Count (0) -
benchmarks/src/main/java/org/elasticsearch/common/bytes/PagedBytesReferenceReadVIntBenchmark.java
@Param(value = { "10000000" }) int entries; private StreamInput streamInput; @Setup public void initResults() throws IOException { final BytesStreamOutput tmp = new BytesStreamOutput(); for (int i = 0; i < entries / 2; i++) { tmp.writeVInt(i); } for (int i = 0; i < entries / 2; i++) { tmp.writeVInt(Integer.MAX_VALUE - i); }Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Mon Apr 12 20:25:06 GMT 2021 - 2.2K bytes - Click Count (0) -
benchmarks/src/main/java/org/elasticsearch/common/bytes/PagedBytesReferenceReadVLongBenchmark.java
@Param(value = { "10000000" }) int entries; private StreamInput streamInput; @Setup public void initResults() throws IOException { final BytesStreamOutput tmp = new BytesStreamOutput(); for (int i = 0; i < entries / 2; i++) { tmp.writeVLong(i); } for (int i = 0; i < entries / 2; i++) { tmp.writeVLong(Long.MAX_VALUE - i); }Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Mon Apr 12 20:25:06 GMT 2021 - 2.2K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/msrpc/MsrpcDfsRootEnumTest.java
// When FileEntry[] entries = dfsRootEnum.getEntries(); // Then assertNotNull(entries, "The returned entries array should not be null."); assertEquals(2, entries.length, "The number of entries should be correct."); // The getEntries method returns FileEntry objects. We can check their names.Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 3.5K bytes - Click Count (0) -
cmd/os_windows.go
// directory symlinks are ignored. continue } case data.FileAttributes&syscall.FILE_ATTRIBUTE_DIRECTORY != 0: name += SlashSeparator } count-- entries = append(entries, name) } return entries, nil } func globalSync() { // no-op on windows } func syscallErrToFileErr(dirPath string, err error) error { switch err { case nil: return nil
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Feb 18 16:25:55 GMT 2025 - 5K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/DerivedCollectionGenerators.java
// Start with a suitably shaped collection of entries Collection<Entry<K, V>> originalEntries = mapGenerator.getSampleElements(elements.length); // Create a copy of that, with the desired value for each key Collection<Entry<K, V>> entries = new ArrayList<>(elements.length); int i = 0; for (Entry<K, V> entry : originalEntries) { entries.add(mapEntry(keysArray[i++], entry.getValue())); }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 30 16:59:10 GMT 2025 - 18.2K bytes - Click Count (0)