- Sort Score
- Num 10 results
- Language All
Results 131 - 140 of 454 for positive (0.14 seconds)
-
guava/src/com/google/common/collect/LinkedListMultimap.java
* "https://github.com/google/guava/wiki/NewCollectionTypesExplained#multimap">{@code Multimap}</a>. * * @author Mike Bostock * @since 2.0 */ @GwtCompatible @SuppressWarnings("WrongCommentType") // false positive public class LinkedListMultimap<K extends @Nullable Object, V extends @Nullable Object> extends AbstractMultimap<K, V> implements ListMultimap<K, V>, Serializable { /*Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 18:35:44 GMT 2025 - 27K bytes - Click Count (0) -
android/guava/src/com/google/common/primitives/Shorts.java
* * @param a the first {@code short} to compare * @param b the second {@code short} to compare * @return a negative value if {@code a} is less than {@code b}; a positive value if {@code a} is * greater than {@code b}; or zero if they are equal */ @InlineMe(replacement = "Short.compare(a, b)") public static int compare(short a, short b) { return Short.compare(a, b);Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Oct 22 18:14:49 GMT 2025 - 25.7K bytes - Click Count (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java
if (coreMultiplier <= 0.0f) { throw new IllegalArgumentException("Invalid threads core multiplier value: '" + threadConfiguration + "'. Value must be positive."); } int procs = Runtime.getRuntime().availableProcessors(); int threads = (int) (coreMultiplier * procs); return threads == 0 ? 1 : threads;Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Mon Oct 27 13:24:03 GMT 2025 - 78.1K bytes - Click Count (0) -
guava/src/com/google/common/base/Splitter.java
* length, CEILING)}. To avoid this behavior, use {@code omitEmptyStrings}. * * @param length the desired length of pieces after splitting, a positive integer * @return a splitter, with default settings, that can split into fixed sized pieces * @throws IllegalArgumentException if {@code length} is zero or negative */Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 23.8K bytes - Click Count (0) -
guava/src/com/google/common/collect/CompactHashSet.java
*/ public static <E extends @Nullable Object> CompactHashSet<E> createWithExpectedSize( int expectedSize) { return new CompactHashSet<>(expectedSize); } /** * Maximum allowed false positive probability of detecting a hash flooding attack given random * input. */ @VisibleForTesting( ) static final double HASH_FLOODING_FPP = 0.001; /**
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Jul 08 18:32:10 GMT 2025 - 24.7K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/math/IntMathTest.java
// Promote the int value (rather than using intValue() on the expected value) to avoid // any risk of truncation which could lead to a false positive. assertEquals(BigIntegerMath.sqrt(valueOf(x), mode), valueOf(IntMath.sqrt(x, mode))); } } } /* Relies on the correctness of sqrt(int, FLOOR). */ @GwtIncompatible // sqrt
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Aug 11 19:31:30 GMT 2025 - 24.1K bytes - Click Count (0) -
okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerTest.kt
@Test fun `boolean`() { val bytes = "0101FF".decodeHex() assertThat(Adapters.BOOLEAN.fromDer(bytes)).isEqualTo(true) assertThat(Adapters.BOOLEAN.toDer(true)).isEqualTo(bytes) } @Test fun `positive integer`() { val bytes = "020132".decodeHex() assertThat(Adapters.INTEGER_AS_LONG.toDer(50L)).isEqualTo(bytes) assertThat(Adapters.INTEGER_AS_LONG.fromDer(bytes)).isEqualTo(50L) }Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 31.7K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/LinkedListMultimap.java
* "https://github.com/google/guava/wiki/NewCollectionTypesExplained#multimap">{@code Multimap}</a>. * * @author Mike Bostock * @since 2.0 */ @GwtCompatible @SuppressWarnings("WrongCommentType") // false positive public class LinkedListMultimap<K extends @Nullable Object, V extends @Nullable Object> extends AbstractMultimap<K, V> implements ListMultimap<K, V>, Serializable { /*Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 18:35:44 GMT 2025 - 26.6K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java
assertTrue(MinMaxPriorityQueue.isEvenLevel(i - 1)); assertTrue(MinMaxPriorityQueue.isEvenLevel(i)); // 1 << 31 is negative because of overflow, 1 << 31 - 1 is positive // since isEvenLevel adds 1, we need to do - 2. assertTrue(MinMaxPriorityQueue.isEvenLevel((1 << 31) - 2)); assertTrue(MinMaxPriorityQueue.isEvenLevel(Integer.MAX_VALUE - 1));
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 13:11:08 GMT 2026 - 36.2K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Connection.kt
origin: String, protocol: ByteString, host: String, port: Int, maxAge: Long, ) { // TODO: register alternate service. } } /** Even, positive numbered streams are pushed streams in HTTP/2. */ internal fun pushedStream(streamId: Int): Boolean = streamId != 0 && streamId and 1 == 0 internal fun pushRequestLater( streamId: Int,Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 31.9K bytes - Click Count (0)