- Sort Score
- Result 10 results
- Languages All
Results 191 - 200 of 293 for maxValue (0.08 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 Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 20:45:32 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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 8.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/FileBackedOutputStreamTest.java
out.reset(); } public void testReset() throws Exception { byte[] data = newPreFilledByteArray(100); FileBackedOutputStream out = new FileBackedOutputStream(Integer.MAX_VALUE); ByteSource source = out.asByteSource(); out.write(data); assertThat(source.read()).isEqualTo(data); out.reset(); assertThat(source.read()).isEmpty(); out.write(data);
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Oct 30 16:30:29 UTC 2025 - 6.7K 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 Dec 26 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/Multiset.java
* not used in this API). Since the count of an element is represented as an {@code int}, a multiset * may never contain more than {@link Integer#MAX_VALUE} occurrences of any one element. * * <p>{@code Multiset} refines the specifications of several methods from {@code Collection}. It * also defines an additional query operation, {@link #count}, which returns the count of anRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Jul 08 18:32:10 UTC 2025 - 19.5K 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); // WhenRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.3K bytes - Viewed (0) -
src/main/java/org/codelibs/core/text/Tokenizer.java
/** * Represents a word. */ public static final int TT_WORD = -3; private static final int TT_NOTHING = -4; private static final int NEED_CHAR = Integer.MAX_VALUE; private static final int QUOTE = '\''; private static final byte CT_WHITESPACE = 1; private static final byte CT_ALPHA = 4; private final byte[] ctype;Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat Jul 05 00:11:05 UTC 2025 - 8.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/index/contents/document/ESSourceReaderTest.java
reader = new ESSourceReader(client, settings, indexName); reader.setScrollSize(1000); reader.addSort(SortBuilders.fieldSort("field2").order(SortOrder.DESC)); count = 0; prev = Integer.MAX_VALUE; while ((source = reader.read()) != null) { int current = Integer.parseInt(source.get("field2").toString()); assertTrue(prev > current); prev = current; count++;
Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Sun Nov 23 13:04:17 UTC 2025 - 8.7K bytes - Viewed (0) -
src/test/java/jcifs/smb/WinErrorTest.java
assertEquals(expectedMessage, lookupMessage(code).orElse(null)); } @ParameterizedTest @ValueSource(ints = { -1, Integer.MIN_VALUE, Integer.MAX_VALUE }) @DisplayName("Unknown codes: lookup returns empty Optional") void lookup_returns_empty_for_unknown_codes(int unknownCode) { // Invalid inputs: codes not present should yield no message
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ImmutableListTest.java
IllegalArgumentException expected = assertThrows( IllegalArgumentException.class, () -> builder.addAll(nCopies(Integer.MAX_VALUE - 50, "a"))); assertThat(expected) .hasMessageThat() .contains("cannot store more than Integer.MAX_VALUE elements"); }Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 24.2K bytes - Viewed (0)