- Sort Score
- Result 10 results
- Languages All
Results 371 - 380 of 587 for relative (0.04 sec)
-
src/test/java/jcifs/util/HexdumpTest.java
// Test boundary values byte[] data = { (byte) 0x00, // min value (byte) 0xFF, // max value (-1 as signed byte) (byte) 0x7F, // max positive (byte) 0x80 // min negative }; String result = Hexdump.toHexString(data); assertEquals("00FF7F80", result); } @Test @DisplayName("Should handle large byte arrays efficiently")Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionResponseTest.java
setupCountField.setAccessible(true); assertEquals(255, setupCountField.get(response)); } @Test @DisplayName("Test negative values handling (as unsigned)") void testNegativeValuesAsUnsigned() throws Exception { byte[] buffer = new byte[100]; int bufferIndex = 0; // Reserved bytes
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 16.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/session/Smb2LogoffRequestTest.java
// Act/Assert assertThrows(ArrayIndexOutOfBoundsException.class, () -> req.writeBytesWireFormat(tiny, 0)); } @Test @DisplayName("writeBytesWireFormat throws with negative index") void writeBytesWireFormat_throwsIfNegativeIndex() { // Arrange Smb2LogoffRequest req = newRequest(); byte[] buf = new byte[4]; // Act/AssertRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.4K bytes - Viewed (0) -
cmd/service.go
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Wed Feb 28 07:02:14 UTC 2024 - 3.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/entity/ElevateWordTest.java
assertEquals(0.0f, elevateWord.getBoost(), 0.001f); } @Test public void testConstructorWithNegativeBoost() { // Test constructor with negative boost String word = "negative boost"; float boost = -1.5f; List<String> readings = Arrays.asList("reading1"); List<String> fields = Arrays.asList("field1"); List<String> tags = Arrays.asList("tag1");
Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Mon Sep 01 13:33:03 UTC 2025 - 16K bytes - Viewed (0) -
utils/utils_test.go
input: []int{1, 2, 3}, trimLen: 1, expected: []int{1, 2}, }, { name: "Empty slice", input: []int{}, trimLen: 2, expected: []int{}, }, { name: "Negative trim length (should be treated as zero)", input: []int{1, 2, 3}, trimLen: -1, expected: []int{1, 2, 3}, }, } for _, testcase := range tests { t.Run(testcase.name, func(t *testing.T) {Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Thu Aug 22 11:03:42 UTC 2024 - 4.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtCancelTest.java
readParams.setAccessible(true); assertEquals(0, readParams.invoke(cancel, emptyArray, 0)); } @Test @DisplayName("Should handle negative MID values") void testWithNegativeMid() throws Exception { // Given Configuration config = mock(Configuration.class); when(config.getPid()).thenReturn(12345);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 12.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/job/PurgeThumbnailJobTest.java
assertSame(purgeThumbnailJob, result); // Test value was not changed assertEquals(originalExpiry, purgeThumbnailJob.getExpiry()); } // Test expiry setter with negative value (should not change) public void test_expiry_negativeValue() { long originalExpiry = purgeThumbnailJob.getExpiry(); PurgeThumbnailJob result = purgeThumbnailJob.expiry(-1000L);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 7.2K bytes - Viewed (0) -
src/main/java/jcifs/smb1/netbios/SessionServicePacket.java
static final int SESSION_REQUEST = 0x81; /** * NetBIOS positive session response packet type. */ public static final int POSITIVE_SESSION_RESPONSE = 0x82; /** * NetBIOS negative session response packet type. */ public static final int NEGATIVE_SESSION_RESPONSE = 0x83; static final int SESSION_RETARGET_RESPONSE = 0x84; static final int SESSION_KEEP_ALIVE = 0x85;Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/DosErrorTest.java
void messagesOutOfBoundsThrows() { // Arrange String[] msgs = DosError.DOS_ERROR_MESSAGES; // Act & Assert: negative index assertThrows(ArrayIndexOutOfBoundsException.class, () -> { @SuppressWarnings("unused") String s = msgs[-1]; }); // Act & Assert: index equal to length
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.9K bytes - Viewed (0)