- Sort Score
- Result 10 results
- Languages All
Results 271 - 280 of 408 for negation (0.06 sec)
-
android/guava/src/com/google/common/net/PercentEscaper.java
} } return s; } /** Escapes the given Unicode code point in UTF-8. */ @Override protected char @Nullable [] escape(int cp) { // We should never get negative values here but if we do it will throw an // IndexOutOfBoundsException, so at least it will get spotted. if (cp < safeOctets.length && safeOctets[cp]) { return null; } else if (cp == ' ' && plusForSpace) {Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 28 01:26:26 UTC 2024 - 8.6K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cookie.kt
) if (dateCharacter == !invert) return i } return limit } /** * Returns the positive value if [s] is positive, or [Long.MIN_VALUE] if it is either 0 or * negative. If the value is positive but out of range, this returns [Long.MAX_VALUE]. * * @throws NumberFormatException if [s] is not an integer of any precision. */ private fun parseMaxAge(s: String): Long {Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon May 05 16:01:00 UTC 2025 - 23.1K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/Graphs.java
} @CanIgnoreReturnValue static int checkNonNegative(int value) { checkArgument(value >= 0, "Not true that %s is non-negative.", value); return value; } @CanIgnoreReturnValue static long checkNonNegative(long value) { checkArgument(value >= 0, "Not true that %s is non-negative.", value); return value; } @CanIgnoreReturnValue static int checkPositive(int value) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Aug 01 00:26:14 UTC 2025 - 22.7K bytes - Viewed (0) -
guava/src/com/google/common/graph/Graphs.java
} @CanIgnoreReturnValue static int checkNonNegative(int value) { checkArgument(value >= 0, "Not true that %s is non-negative.", value); return value; } @CanIgnoreReturnValue static long checkNonNegative(long value) { checkArgument(value >= 0, "Not true that %s is non-negative.", value); return value; } @CanIgnoreReturnValue static int checkPositive(int value) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Aug 01 00:26:14 UTC 2025 - 23.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/UnsignedLongsTest.java
assertThrows( NumberFormatException.class, () -> UnsignedLongs.parseUnsignedLong("0", Character.MAX_RADIX + 1)); // The radix is used as an array index, so try a negative value. assertThrows(NumberFormatException.class, () -> UnsignedLongs.parseUnsignedLong("0", -1)); } public void testToString() { String[] tests = { "0", "ffffffffffffffff",Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 12.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/TransWaitNamedPipeResponseTest.java
assertEquals(0, response.readParametersWireFormat(emptyBuffer, 0, 0)); assertEquals(0, response.readDataWireFormat(emptyBuffer, 0, 0)); } @Test @DisplayName("Methods should handle negative indices") void testMethodsWithNegativeIndices() { // Arrange byte[] buffer = new byte[100]; int negativeIndex = -1; // Act & Assert
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.1K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/UrlComponentEncodingTester.kt
encodings[ 0x12] = encoding // Device Control 2 encodings[ 0x13] = encoding // Device Control 3 (oft. XOFF) encodings[ 0x14] = encoding // Device Control 4 encodings[ 0x15] = encoding // Negative Acknowledgment encodings[ 0x16] = encoding // Synchronous idle encodings[ 0x17] = encoding // End of Transmission Block encodings[ 0x18] = encoding // Cancel encodings[ 0x19] = encoding // End of Medium
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 12.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectResponseTest.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescTest.java
assertEquals(0x00, dst[13]); // Check security information assertEquals(0x12345678, SMBUtil.readInt4(dst, 14)); } @Test @DisplayName("Test with negative FID value (should handle as unsigned)") void testNegativeFidValue() { int fid = -1; // Will be treated as 0xFFFF in unsigned 16-bit
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.9K bytes - Viewed (0) -
src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTest.java
assertFalse(auth.isExpired()); // Test with no expiration (TTL = 0) auth.setAuthenticationTTL(0); Thread.sleep(100); assertFalse(auth.isExpired()); // Test with negative TTL (no expiration) auth.setAuthenticationTTL(-1); Thread.sleep(100); assertFalse(auth.isExpired()); } /** * Test close() method */ @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 23.3K bytes - Viewed (0)