- Sort Score
- Result 10 results
- Languages All
Results 231 - 240 of 312 for maxValue (0.05 sec)
-
guava-tests/test/com/google/common/primitives/ShortsTest.java
private static final short[] ARRAY234 = {(short) 2, (short) 3, (short) 4}; private static final short LEAST = Short.MIN_VALUE; private static final short GREATEST = Short.MAX_VALUE; private static final short[] VALUES = {LEAST, (short) -1, (short) 0, (short) 1, GREATEST}; // We need to test that our method behaves like the JDK method. @SuppressWarnings("InlineMeInliner")
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 27.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/io/Smb2FlushResponseTest.java
@Test @DisplayName("Should handle maximum buffer index") void testMaxBufferIndex() throws SMBProtocolDecodingException { // Given byte[] buffer = new byte[Integer.MAX_VALUE / 1000]; // Use reasonable size int bufferIndex = buffer.length - 4; SMBUtil.writeInt2(4, buffer, bufferIndex); // When
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.3K bytes - Viewed (0) -
guava/src/com/google/common/primitives/UnsignedInteger.java
public static final UnsignedInteger ZERO = fromIntBits(0); public static final UnsignedInteger ONE = fromIntBits(1); public static final UnsignedInteger MAX_VALUE = fromIntBits(-1); private final int value; private UnsignedInteger(int value) { // GWT doesn't consistently overflow values to make them 32-bit, so we need to force it. this.value = value & 0xffffffff;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 8.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileInformationTest.java
} /** * Test FileEndOfFileInformation with various end of file values */ @ParameterizedTest @ValueSource(longs = { 0L, 1L, -1L, Long.MAX_VALUE, Long.MIN_VALUE, 1024L, 1048576L }) @DisplayName("Test FileEndOfFileInformation with various values") void testFileEndOfFileInformationWithVariousValues(long endOfFile) throws SMBProtocolDecodingException {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/UnsignedInts.java
checkPositionIndexes(fromIndex, toIndex, array.length); for (int i = fromIndex; i < toIndex; i++) { array[i] ^= Integer.MAX_VALUE; } Arrays.sort(array, fromIndex, toIndex); for (int i = fromIndex; i < toIndex; i++) { array[i] ^= Integer.MAX_VALUE; } } /** * Returns dividend / divisor, where the dividend and divisor are treated as unsigned 32-bit * quantities.
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Feb 09 16:22:33 UTC 2025 - 13.8K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableList.java
// whatever warnings might come along with it. :( /** * Returns an immutable list containing the given elements, in order. * * <p>The array {@code others} must not be longer than {@code Integer.MAX_VALUE - 12}. * * @throws NullPointerException if any element is null * @since 3.0 (source-compatible since 2.0) */ @SafeVarargs // For Eclipse. For internal javac we have disabled this pointless type of warning.
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 27.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/multichannel/ChannelLoadBalancer.java
return list.get(index); } private ChannelInfo selectLeastLoaded(Collection<ChannelInfo> channels) { ChannelInfo leastLoadedChannel = null; long minPending = Long.MAX_VALUE; for (ChannelInfo channel : channels) { long pending = channel.getRequestsPending(); if (pending < minPending) { minPending = pending;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 8.2K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/CacheTest.kt
@BeforeEach fun setUp() { platform.assumeNotOpenJSSE() server.protocolNegotiationEnabled = false fileSystem.emulateUnix() cache = Cache(fileSystem, "/cache/".toPath(), Long.MAX_VALUE) client = clientTestRule .newClientBuilder() .cache(cache) .cookieJar(JavaNetCookieJar(cookieManager)) .build() } @AfterEach fun tearDown() {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 16 09:39:51 UTC 2025 - 113.6K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Dispatcher.kt
@get:Synchronized val executorService: ExecutorService get() { if (executorServiceOrNull == null) { executorServiceOrNull = ThreadPoolExecutor( 0, Int.MAX_VALUE, 60, TimeUnit.SECONDS, SynchronousQueue(), threadFactory("$okHttpName Dispatcher", false), ) } return executorServiceOrNull!! }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed May 28 23:28:25 UTC 2025 - 8.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2FindFirst2Test.java
} @Test @DisplayName("Test with maximum values") void testWithMaximumValues() { trans2FindFirst2 = new Trans2FindFirst2(mockConfig, "\\test", "*.*", 0xFFFF, 65535, Integer.MAX_VALUE); byte[] buffer = new byte[256]; int written = trans2FindFirst2.writeParametersWireFormat(buffer, 0); // Verify search attributes are still masked
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.8K bytes - Viewed (0)