- Sort Score
- Result 10 results
- Languages All
Results 131 - 140 of 495 for negation (0.14 sec)
-
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"); } @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/PreconditionsTest.java
IndexOutOfBoundsException expected = assertThrows(IndexOutOfBoundsException.class, () -> checkElementIndex(-1, 1)); assertThat(expected).hasMessageThat().isEqualTo("index (-1) must not be negative"); } public void testCheckElementIndex_tooHigh() { IndexOutOfBoundsException expected = assertThrows(IndexOutOfBoundsException.class, () -> checkElementIndex(1, 1));Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 19K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFileFilterTest.java
void accept_lengthBasedFilter_handlesNumericEdges() throws Exception { // Arrange: filter that accepts only strictly positive length SmbFileFilter filter = f -> f.length() > 0; // negative size -> reject when(smbFile.length()).thenReturn(-1L); assertFalse(filter.accept(smbFile), "Negative size should be rejected");
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.4K bytes - Viewed (0) -
src/bytes/buffer.go
// another n bytes. After Grow(n), at least n bytes can be written to the // buffer without another allocation. // If n is negative, Grow will panic. // If the buffer can't grow it will panic with [ErrTooLarge]. func (b *Buffer) Grow(n int) { if n < 0 { panic("bytes.Buffer.Grow: negative count") } m := b.grow(n) b.buf = b.buf[:m] } // Write appends the contents of p to the buffer, growing the buffer as
Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Fri Nov 14 19:01:17 UTC 2025 - 16.5K bytes - Viewed (0) -
build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/UpdateInitPluginTemplateVersionFile.kt
Charsets.ISO_8859_1, "\n" ) } private fun findLatest(name: String, notation: String, dest: Properties) { val libDependencies = arrayOf(project.dependencies.create(notation)) @Suppress("SpreadOperator") val templateVersionConfiguration = project.configurations.detachedConfiguration(*libDependencies)Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Mon Nov 24 20:45:41 UTC 2025 - 5K 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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.5K bytes - Viewed (0) -
dbflute_fess/dfprop/sequenceMap.dfprop
# /--------------------------------------------------------------------------- # sequenceMap: (NotRequired - Default map:{}) # # The relation mappings between sequence and table. # If you don't specify the mappings, you cannot insert a record of the table by sequence. # The table names are treated as case insensitive. # # Example: # map:{ # ; PURCHASE = SEQ_PURCHASE # ; MEMBER = SEQ_MEMBER # ; MEMBER_LOGIN = SEQ_MEMBER_LOGINRegistered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Sat Oct 31 23:35:14 UTC 2015 - 717 bytes - Viewed (0) -
src/test/java/jcifs/smb/WinErrorTest.java
} @Test @DisplayName("Codes: all non-negative and unique") void codes_are_non_negative_and_unique() { // Edge checks: ensure there are no negative or duplicate codes Set<Integer> seen = new HashSet<>(); for (int c : WinError.WINERR_CODES) { assertTrue(c >= 0, "Code should be non-negative: " + c); assertTrue(seen.add(c), "Duplicate code detected: " + c);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.4K bytes - Viewed (0) -
compat/maven-embedder/src/main/java/org/fusesource/jansi/Ansi.java
* Moves the cursor up. If the parameter y is negative it moves the cursor down. * * @param y the number of lines to move up * @return this Ansi instance */ public Ansi cursorUp(final int y) { return y > 0 ? appendEscapeSequence('A', y) : y < 0 ? cursorDown(-y) : this; } /** * Moves the cursor down. If the parameter y is negative it moves the cursor up. *Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Sat Apr 05 11:52:05 UTC 2025 - 23.1K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultisetSetCountConditionallyTester.java
} private void assertSetCountNegativeOldCount() { try { getMultiset().setCount(e3(), -1, 1); fail("calling setCount() with a negative oldCount should throw IllegalArgumentException"); } catch (IllegalArgumentException expected) { } } // Negative oldCount. @CollectionFeature.Require(SUPPORTS_ADD) public void testSetCountConditional_negativeOldCount_addSupported() {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 4K bytes - Viewed (0)