- Sort Score
- Num 10 results
- Language All
Results 11 - 20 of 28 for elsewhere (0.05 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
architecture/standards/0006-use-of-provider-apis-in-gradle.md
existingThing = objects.newInstance(DefaultExistingThing.class) existingThing.convention("some-value") ``` It's not acceptable to treat an unset Provider as if the convention is requested when the convention could be set elsewhere: ```groovy public interface NewThing { Property<String> getSomeProperty() } // Unacceptable String value if (!getSomeProperty().isPresent()) { value = "convention" } else {
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Thu Mar 05 12:39:41 GMT 2026 - 10K bytes - Click Count (0) -
src/archive/tar/strconv.go
} copy(b, s) if len(s) < len(b) { b[len(s)] = 0 } // Some buggy readers treat regular files with a trailing slash // in the V7 path field as a directory even though the full path // recorded elsewhere (e.g., via PAX record) contains no trailing slash. if len(s) > len(b) && b[len(b)-1] == '/' { n := len(strings.TrimRight(s[:len(b)-1], "/")) b[n] = 0 // Replace trailing slash with NUL terminator } }
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Tue Dec 30 15:28:53 GMT 2025 - 9.1K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/TreeMultiset.java
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 13:11:08 GMT 2026 - 34K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/DerivedCollectionGenerators.java
} @Override public OneSizeTestContainerGenerator<Map<K, V>, Entry<K, V>> getInnerGenerator() { return mapGenerator; } } // TODO(cpovirk): could something like this be used elsewhere, e.g., ReserializedListGenerator? static class ForwardingTestMapGenerator<K extends @Nullable Object, V extends @Nullable Object> implements TestMapGenerator<K, V> { TestMapGenerator<K, V> delegate;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) -
guava-testlib/src/com/google/common/collect/testing/DerivedCollectionGenerators.java
} @Override public OneSizeTestContainerGenerator<Map<K, V>, Entry<K, V>> getInnerGenerator() { return mapGenerator; } } // TODO(cpovirk): could something like this be used elsewhere, e.g., ReserializedListGenerator? static class ForwardingTestMapGenerator<K extends @Nullable Object, V extends @Nullable Object> implements TestMapGenerator<K, V> { TestMapGenerator<K, V> delegate;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) -
android/guava/src/com/google/common/util/concurrent/AggregateFuture.java
try { if (future.isCancelled()) { // Clear futures prior to cancelling children. This sets our own state but lets // the input futures keep running, as some of them may be used elsewhere. futures = null; cancel(false); } else { collectValueFromNonCancelledFuture(index, future); } } finally { /*Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 16K bytes - Click Count (0) -
compat/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/VersionRangeTest.java
VersionRange mergedRange = range1.restrict(range2); // TODO current policy is to retain the original version - is this correct, do we need strategies or is that // handled elsewhere? // assertEquals( "1.1", mergedRange.getRecommendedVersion().toString(), CHECK_VERSION_RECOMMENDATION ); assertEquals("1.0", mergedRange.getRecommendedVersion().toString(), CHECK_VERSION_RECOMMENDATION);
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Sun Mar 30 23:08:36 GMT 2025 - 44.1K bytes - Click Count (0) -
guava-tests/test/com/google/common/hash/BloomFilterTest.java
/** * This test will fail whenever someone updates/reorders the BloomFilterStrategies constants. Only * appending a new constant is allowed. */ // This test ensures that our reliance on the ordering elsewhere is safe. @SuppressWarnings("EnumOrdinal") public void testBloomFilterStrategies() { assertThat(BloomFilterStrategies.values()).hasLength(2);Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 19 18:53:45 GMT 2026 - 23K bytes - Click Count (0) -
guava/src/com/google/common/base/Converter.java
* checkers from issuing errors related to LegacyConverter, since it turns out that * LegacyConverter does violate the assumptions we make elsewhere. */ private @Nullable B unsafeDoForward(@Nullable A a) { return doForward(uncheckedCastNullableTToT(a)); } private @Nullable A unsafeDoBackward(@Nullable B b) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jun 18 21:43:06 GMT 2025 - 22.8K bytes - Click Count (0) -
guava/src/com/google/common/collect/ImmutableSet.java
* can hold setSize elements with the desired load factor. Always returns at least setSize + 2. */ // TODO(cpovirk): Move to Hashing or something, since it's used elsewhere in the Android version. static int chooseTableSize(int setSize) { setSize = max(setSize, 2); // Correct the size for open addressing to match desired load factor. if (setSize < CUTOFF) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Nov 07 16:09:47 GMT 2025 - 35.3K bytes - Click Count (0)