- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 401 for negate (0.04 sec)
-
guava/src/com/google/common/base/Predicates.java
} /** * Returns a predicate that evaluates to {@code true} if the given predicate evaluates to {@code * false}. * * <p><b>Discouraged:</b> Prefer using {@code predicate.negate()}. */ public static <T extends @Nullable Object> Predicate<T> not(Predicate<T> predicate) { return new NotPredicate<>(predicate); } /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 26.6K bytes - Viewed (0) -
src/test/java/jcifs/SmbConnectionTest.java
assertTrue(readAndXClose >= 0, "ReadAndX.Close batch limit should be non-negative"); int treeConnectCheck = config.getBatchLimit("TreeConnectAndX.CheckDirectory"); assertTrue(treeConnectCheck >= 0, "TreeConnectAndX.CheckDirectory batch limit should be non-negative"); int treeConnectCreate = config.getBatchLimit("TreeConnectAndX.CreateDirectory");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.1K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/av/AvFlagsTest.java
// Test with a negative integer int negativeFlags = -12345; AvFlags negAvFlags = new AvFlags(negativeFlags); assertNotNull(negAvFlags, "AvFlags object should not be null for negative flags"); assertEquals(negativeFlags, negAvFlags.getFlags(), "Flags should match the negative input integer"); } /** * Test getFlags method.
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/validation/CustomSizeValidator.java
if (min < 0) { throw new IllegalArgumentException("The min parameter cannot be negative."); } if (max < 0) { throw new IllegalArgumentException("The max parameter cannot be negative."); } if (max < min) { throw new IllegalArgumentException("The length cannot be negative."); } }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 3K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/ndr/NdrSmallTest.java
} @Test void testConstructor_negativeValue() { // Test with a negative value, expecting it to be masked to a positive byte NdrSmall ndrSmall = new NdrSmall(-1); // -1 & 0xFF = 255 assertEquals(255, ndrSmall.value, "Negative value should be masked to its unsigned byte equivalent."); } @Test void testConstructor_overflowValue() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseInputValidationTest.java
} /** * Test validation of negative buffer sizes. */ @Test public void testNegativeBufferSizes() { byte[] buffer = createBasicNegotiateResponseBuffer(); // Test negative maxReadSize SMBUtil.writeInt4(1024 * 1024, buffer, 28); // 1MB transact - valid SMBUtil.writeInt4(-1, buffer, 32); // Negative read size
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 15.8K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/AbstractIndexedListIterator.java
* #previous()} can retrieve the preceding {@code position} elements. * * @throws IndexOutOfBoundsException if {@code position} is negative or is greater than {@code * size} * @throws IllegalArgumentException if {@code size} is negative */ protected AbstractIndexedListIterator(int size, int position) { checkPositionIndex(position, size); this.size = size; this.position = position;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 3.2K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComOpenAndXResponseTest.java
} @Test void testReadParameterWordsWireFormat() { byte[] buffer = new byte[1024]; int result = response.readParameterWordsWireFormat(buffer, 0); // The method should read parameter words assertTrue(result >= 0, "readParameterWordsWireFormat should return non-negative value"); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.2K bytes - Viewed (0) -
src/test/java/jcifs/smb1/ntlmssp/NtlmMessageTest.java
} @Test @DisplayName("writeUShort handles negative values as unsigned") void testWriteUShortNegative() { byte[] dest = new byte[2]; NtlmMessage.writeUShort(dest, 0, -2); assertArrayEquals(new byte[] { -2, -1 }, dest, "Negative short should be encoded unsigned"); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.8K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/NtlmMessageTest.java
// Test with max int value (unsigned interpretation) buffer.putInt(0, 0xFFFFFFFF); assertEquals(0xFFFFFFFF, NtlmMessage.readULong(data, 0), "Should read max ULong correctly."); // Test with a negative int (should be interpreted as unsigned positive) buffer.putInt(0, -1); // -1 is 0xFFFFFFFF assertEquals(0xFFFFFFFF, NtlmMessage.readULong(data, 0), "Should interpret -1 as unsigned max ULong."); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.5K bytes - Viewed (0)