- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 62 for empties (0.06 sec)
-
guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java
} @Override public PermissionCollection getPermissions(ProtectionDomain pd) { return perms; } @Override public boolean implies(ProtectionDomain pd, Permission p) { return perms.implies(p); } @Override public void refresh() {} } /** Returns a policy containing all the permissions we ever need. */
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 02:42:09 UTC 2024 - 37.9K bytes - Viewed (0) -
doc/go_mem.html
} print(a) } func twoprint() { go doprint() go doprint() } </pre> <p> but there is no guarantee that, in <code>doprint</code>, observing the write to <code>done</code> implies observing the write to <code>a</code>. This version can (incorrectly) print an empty string instead of <code>"hello, world"</code>. </p> <p> Another incorrect idiom is busy waiting for a value, as in: </p>
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Mon Mar 04 15:54:42 UTC 2024 - 26.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/reflect/ClassPathTest.java
SecurityManager disallowFilesSecurityManager = new SecurityManager() { @Override public void checkPermission(Permission p) { if (readClassPathFiles.implies(p)) { throw new SecurityException("Disallowed: " + p); } } }; System.setSecurityManager(disallowFilesSecurityManager); try { file.exists();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jul 24 22:09:38 UTC 2024 - 25K bytes - Viewed (0) -
cmd/metacache-entries.go
} // mergeEntryChannels will merge entries from in and return them sorted on out. // To signify no more results are on an input channel, close it. // The output channel will be closed when all inputs are emptied. // If file names are equal, compareMeta is called to select which one to choose. // The entry not chosen will be discarded. // If the context is canceled the function will return the error,
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 08 15:29:58 UTC 2024 - 24.1K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableList.java
*/ @SuppressWarnings("unchecked") ImmutableList<E> buildSorted(Comparator<? super E> comparator) { // Currently only used by ImmutableListMultimap.Builder.orderValuesBy. // In particular, this implies that the comparator can never get "removed," so this can't // invalidate future builds. forceCopy = true; Arrays.sort((E[]) contents, 0, size, comparator); return asImmutableList(contents, size);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 16 21:21:17 UTC 2024 - 27.7K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/http2/HpackTest.kt
// list, it cannot be removed from it. Hence, foo is here. assertThat(hpackReader!!.getAndResetHeaderList()).isEqualTo(headerBlock) // Simulate receiving a small dynamic table size update, that implies eviction. bytesIn.writeByte(0x3F) // Dynamic table size update (size = 55). bytesIn.writeByte(0x18) hpackReader!!.readHeaders() assertThat(hpackReader!!.headerCount).isEqualTo(1) }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 38.2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Multiset.java
* @param oldCount the expected present count of the element in this multiset * @param newCount the desired count of the element in this multiset * @return {@code true} if the condition for modification was met. This implies that the multiset * was indeed modified, unless {@code oldCount == newCount}. * @throws IllegalArgumentException if {@code oldCount} or {@code newCount} is negative
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Jun 17 14:40:53 UTC 2023 - 19.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/reflect/ClassPathTest.java
SecurityManager disallowFilesSecurityManager = new SecurityManager() { @Override public void checkPermission(Permission p) { if (readClassPathFiles.implies(p)) { throw new SecurityException("Disallowed: " + p); } } }; System.setSecurityManager(disallowFilesSecurityManager); try { file.exists();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jul 24 22:09:38 UTC 2024 - 27.6K bytes - Viewed (0) -
cmd/erasure-metadata.go
if parity == -1 { // Ignore non defined parity continue } readQuorum := N - parity if defaultParityCount > 0 && parity == 0 { // In this case, parity == 0 implies that this object version is a // delete marker readQuorum = N/2 + 1 } if occ < readQuorum { // Ignore this parity since we don't have enough shards for read quorum continue }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Oct 31 22:10:24 UTC 2024 - 21.3K bytes - Viewed (0) -
guava/src/com/google/common/base/Splitter.java
* {@code ["a", "b", "c"]}. * * <p>If either {@code trimResults} option is also specified when creating a splitter, that * splitter always trims results first before checking for emptiness. So, for example, {@code * Splitter.on(':').omitEmptyStrings().trimResults().split(": : : ")} returns an empty iterable. * * <p>Note that it is ordinarily not possible for {@link #split(CharSequence)} to return an empty
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 21:14:05 UTC 2024 - 24.5K bytes - Viewed (0)