- Sort Score
- Num 10 results
- Language All
Results 71 - 80 of 98 for minValue (0.06 seconds)
-
android/guava/src/com/google/common/escape/ArrayBasedCharEscaper.java
if (safeMax < safeMin) { // If the safe range is empty, set the range limits to opposite extremes // to ensure the first test of either value will (almost certainly) fail. safeMax = Character.MIN_VALUE; safeMin = Character.MAX_VALUE; } this.safeMin = safeMin; this.safeMax = safeMax; } /* * This is overridden to improve performance. Rough benchmarking shows that this almost doubles
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 6.2K bytes - Click Count (0) -
guava-tests/test/com/google/common/primitives/ImmutableLongArrayTest.java
public static final class ImmutableLongArrayHeadSubListAsListGenerator extends TestLongListGenerator { @Override protected List<Long> create(Long[] elements) { Long[] suffix = {Long.MIN_VALUE, Long.MAX_VALUE}; Long[] all = concat(elements, suffix); return makeArray(all).subArray(0, elements.length).asList(); } } @J2ktIncompatible @GwtIncompatible // used only from suiteCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Fri Dec 12 14:49:24 GMT 2025 - 20.9K bytes - Click Count (0) -
android/guava/src/com/google/common/xml/XmlEscapers.java
// (Unicode code points above \uFFFF are represented via surrogate pairs // which means they are treated as pairs of safe characters). builder.setSafeRange(Character.MIN_VALUE, '\uFFFD'); // Unsafe characters are replaced with the Unicode replacement character. builder.setUnsafeReplacement("\uFFFD"); /*Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Sep 11 17:06:34 GMT 2025 - 6.4K bytes - Click Count (0) -
compat/maven-embedder/src/main/java/org/fusesource/jansi/Ansi.java
} public Ansi scrollUp(final int rows) { if (rows == Integer.MIN_VALUE) { return scrollDown(Integer.MAX_VALUE); } return rows > 0 ? appendEscapeSequence('S', rows) : rows < 0 ? scrollDown(-rows) : this; } public Ansi scrollDown(final int rows) { if (rows == Integer.MIN_VALUE) { return scrollUp(Integer.MAX_VALUE); }Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Sat Apr 05 11:52:05 GMT 2025 - 23.1K bytes - Click Count (0) -
src/test/java/jcifs/smb/FileEntryTest.java
Arguments.of((LongGetter) FileEntry::lastAccess, 0L, "zero lastAccess"), Arguments.of((LongGetter) FileEntry::lastAccess, Long.MIN_VALUE, "min lastAccess"), Arguments.of((LongGetter) FileEntry::length, -100L, "negative length"), Arguments.of((LongGetter) FileEntry::length, 0L, "zero length"),Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10K bytes - Click Count (0) -
src/test/java/jcifs/internal/fscc/FsctlPipeWaitRequestTest.java
assertEquals(nameBytes.length, SMBUtil.readInt4(buffer, 8)); } @ParameterizedTest @DisplayName("Test with various timeout values") @ValueSource(longs = { 0L, 1L, -1L, Long.MAX_VALUE, Long.MIN_VALUE, 1000L, -1000L }) void testWithVariousTimeoutValues(long timeout) { // Setup String pipeName = "TestPipe"; FsctlPipeWaitRequest request = new FsctlPipeWaitRequest(pipeName, timeout);
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 13.1K bytes - Click Count (0) -
src/test/java/jcifs/smb/WinErrorTest.java
// Valid inputs: each known code must map to its documented message 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 messageCreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8.4K bytes - Click Count (0) -
android/guava/src/com/google/common/primitives/Longs.java
return null; } long accum = -digit; long cap = Long.MIN_VALUE / radix; while (index < string.length()) { digit = AsciiDigits.digit(string.charAt(index++)); if (digit < 0 || digit >= radix || accum < cap) { return null; } accum *= radix; if (accum < Long.MIN_VALUE + digit) { return null; } accum -= digit; }Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Oct 22 18:14:49 GMT 2025 - 29K bytes - Click Count (0) -
src/test/java/jcifs/internal/fscc/FileSystemInformationTest.java
} @Nested @DisplayName("Test Implementation Tests") class TestImplementationTests { @ParameterizedTest @ValueSource(bytes = { -1, 0, 1, 3, 7, Byte.MAX_VALUE, Byte.MIN_VALUE }) @DisplayName("Should handle various information class values") void testVariousInformationClassValues(byte classValue) {Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/util/SMBUtilTest.java
int result = SMBUtil.readInt4(buffer, 0); assertEquals((int) (input & 0xFFFFFFFFL), result); } @ParameterizedTest @ValueSource(longs = { 0L, 1L, -1L, Long.MAX_VALUE, Long.MIN_VALUE, 0x123456789ABCDEF0L }) void testWriteReadInt8RoundTrip(long input) { byte[] buffer = new byte[8]; SMBUtil.writeInt8(input, buffer, 0); long result = SMBUtil.readInt8(buffer, 0);
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.1K bytes - Click Count (0)