- Sort Score
- Result 10 results
- Languages All
Results 1451 - 1460 of 3,507 for int (0.03 sec)
-
android/guava/src/com/google/common/primitives/ParseRequest.java
/** A string to be parsed as a number and the radix to interpret it in. */ @GwtCompatible final class ParseRequest { final String rawValue; final int radix; private ParseRequest(String rawValue, int radix) { this.rawValue = rawValue; this.radix = radix; } static ParseRequest fromString(String stringValue) { if (stringValue.length() == 0) {Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 1.7K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/AggregateFutureState.java
// & this future completes. Released when the future releases the reference to the running state private @Nullable Set<Throwable> seenExceptions = null; private int remaining; AggregateFutureState(int remainingFutures) { this.remaining = remainingFutures; } final Set<Throwable> getOrInitSeenExceptions() { if (seenExceptions == null) { seenExceptions = newHashSet();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 1.7K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbAuthExceptionTest.java
/** * Tests for {@link SmbAuthException}. * * These tests exercise the constructor and the mapping logic of * {@link SmbException#getMessageByCode(int)} and * {@link SmbException#getStatusByCode(int)}. */ @DisplayName("SmbAuthException Tests") class SmbAuthExceptionTest { /** * Provides a set of error codes covering normal, edge and unknown cases. */Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.2K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/testing/FakeTickerTest.java
} @GwtIncompatible // concurrency public void testConcurrentAutoIncrementStep() throws Exception { int incrementByNanos = 3; FakeTicker ticker = new FakeTicker().setAutoIncrementStep(incrementByNanos, NANOSECONDS); int numberOfThreads = 64; runConcurrentTest( numberOfThreads, new Callable<@Nullable Void>() { @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 6.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/multichannel/ChannelInfoTest.java
} @Test void testScoring() { channelInfo.setState(ChannelState.ESTABLISHED); int baseScore = channelInfo.getScore(); assertTrue(baseScore > 0); // Active channel should have lower score (busy penalty) channelInfo.setState(ChannelState.ACTIVE); int activeScore = channelInfo.getScore(); assertTrue(activeScore < baseScore);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 7.4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/RegularImmutableBiMap.java
private final transient @Nullable Object keyHashTable; @VisibleForTesting final transient @Nullable Object[] alternatingKeysAndValues; private final transient int keyOffset; // 0 for K-to-V, 1 for V-to-K private final transient int size; private final transient RegularImmutableBiMap<V, K> inverse; /** Constructor for empty bimap. */ @SuppressWarnings("unchecked") private RegularImmutableBiMap() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 4.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/session/Smb2LogoffResponseTest.java
@DisplayName("Returns 0 regardless of dst and index") void returnsZero_forVariousIndexes(int index) { // Arrange Smb2LogoffResponse resp = newResponse(); byte[] buffer = new byte[8]; byte[] original = buffer.clone(); // Act int written = resp.writeBytesWireFormat(buffer, index); // AssertRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.7K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/CollectPreconditions.java
} else if (value == null) { throw new NullPointerException("null value in entry: " + key + "=null"); } } @CanIgnoreReturnValue static int checkNonnegative(int value, String name) { if (value < 0) { throw new IllegalArgumentException(name + " cannot be negative but was: " + value); } return value; } @CanIgnoreReturnValue
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 2.1K bytes - Viewed (0) -
android/guava/src/com/google/common/io/CountingOutputStream.java
} /** Returns the number of bytes written. */ public long getCount() { return count; } @Override public void write(byte[] b, int off, int len) throws IOException { out.write(b, off, len); count += len; } @Override public void write(int b) throws IOException { out.write(b); count++; } // Overriding close() because FilterOutputStream's close() method pre-JDK8 has bad behavior:
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 1.9K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-HostnamesCommon.kt
} return address } /** Decodes an IPv4 address suffix of an IPv6 address, like 1111::5555:6666:192.168.0.1. */ internal fun decodeIpv4Suffix( input: String, pos: Int, limit: Int, address: ByteArray, addressOffset: Int, ): Boolean { var b = addressOffset var i = pos while (i < limit) { if (b == address.size) return false // Too many groups. // Read a delimiter.
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 11.2K bytes - Viewed (0)