- Sort Score
- Num 10 results
- Language All
Results 1551 - 1560 of 2,189 for else_ (0.19 seconds)
-
guava/src/com/google/common/io/CharStreams.java
// optimize for common output types which are optimized to deal with char[] if (to instanceof StringBuilder) { return copyReaderToBuilder((Reader) from, (StringBuilder) to); } else { return copyReaderToWriter((Reader) from, asWriter(to)); } } checkNotNull(from); checkNotNull(to); long total = 0; CharBuffer buf = createBuffer();
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Sep 29 13:56:24 GMT 2025 - 11.9K bytes - Click Count (0) -
compat/maven-embedder/src/main/java/org/eclipse/sisu/plexus/PlexusXmlBeanConverter.java
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Jul 23 17:27:08 GMT 2025 - 15.3K bytes - Click Count (0) -
guava/src/com/google/common/util/concurrent/AtomicLongMap.java
key, (K k, @Nullable Long oldValue) -> { if (oldValue == null || oldValue == 0) { noValue.set(true); return newValue; } else { return oldValue; } }); return noValue.get() ? 0L : requireNonNull(result).longValue(); } /**Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Fri Oct 10 23:13:45 GMT 2025 - 11.7K bytes - Click Count (0) -
docs/smb3-features/06-witness-protocol-design.md
log.info("Successfully registered for witness notifications: {}", registration.getRegistrationId()); return registration; } else { throw new IOException("Witness registration failed: " + response.getError()); } } catch (Exception e) {
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 02:53:50 GMT 2025 - 42K bytes - Click Count (0) -
guava/src/com/google/common/collect/Iterables.java
Collection<? extends T> c = (Collection<? extends T>) iterable; if (c.isEmpty()) { return defaultValue; } else if (iterable instanceof List) { return getLastInNonemptyList((List<? extends T>) iterable); } else if (iterable instanceof SortedSet) { return ((SortedSet<? extends T>) iterable).last(); } }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Nov 17 22:50:48 GMT 2025 - 43.6K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/google/SetMultimapTestSuiteBuilder.java
Set<Feature<?>> features = computeMultimapAsMapGetFeatures(parentBuilder.getFeatures()); if (Collections.disjoint(features, EnumSet.allOf(CollectionSize.class))) { return new TestSuite(); } else { return SetTestSuiteBuilder.using( new MultimapAsMapGetGenerator<K, V>(parentBuilder.getSubjectGenerator())) .withFeatures(features) .named(parentBuilder.getName() + ".asMap[].get[key]")
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 5.6K bytes - Click Count (0) -
guava-tests/benchmark/com/google/common/primitives/UnsignedLongsBenchmark.java
// not have a big impact on the measurement. private static long randomDivisor(long dividend) { long r = randomSource.nextLong(); if (dividend == -1) { return r; } else { return UnsignedLongs.remainder(r, dividend + 1); } }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Dec 28 01:26:26 GMT 2024 - 4.4K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/ReflectionFreeAssertThrows.java
if (userPassedSupplier) { throw new AssertionError( "expected to throw " + expectedThrowable.getSimpleName() + " but returned result: " + result); } else { throw new AssertionError("expected to throw " + expectedThrowable.getSimpleName()); } } private enum PlatformSpecificExceptionBatch { PLATFORM { @GwtIncompatible
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 6.3K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/math/ReflectionFreeAssertThrows.java
if (userPassedSupplier) { throw new AssertionError( "expected to throw " + expectedThrowable.getSimpleName() + " but returned result: " + result); } else { throw new AssertionError("expected to throw " + expectedThrowable.getSimpleName()); } } private enum PlatformSpecificExceptionBatch { PLATFORM { @GwtIncompatible
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 6.2K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/net/ReflectionFreeAssertThrows.java
if (userPassedSupplier) { throw new AssertionError( "expected to throw " + expectedThrowable.getSimpleName() + " but returned result: " + result); } else { throw new AssertionError("expected to throw " + expectedThrowable.getSimpleName()); } } private enum PlatformSpecificExceptionBatch { PLATFORM { @GwtIncompatible
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 6.2K bytes - Click Count (0)