- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 225 for isSmall (0.21 sec)
-
src/test/java/jcifs/smb1/smb1/AndXServerMessageBlockTest.java
import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Test; /** * JUnit 5 tests for AndXServerMessageBlock in legacy smb1 package. * * The tests use small stub subclasses to drive encode/decode paths and * validate batching, chaining, signing, and NT_CREATE_ANDX extended handling. */ class AndXServerMessageBlockTest { /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.5K bytes - Viewed (0) -
src/main/java/jcifs/http/NetworkExplorer.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 23.4K bytes - Viewed (0) -
android/guava/src/com/google/common/escape/Escapers.java
* ArrayBasedUnicodeEscaper} to provide the desired behavior. However this builder is suitable for * creating escapers that replace a relative small set of characters. * * @author David Beaumont * @since 15.0 */ public static final class Builder { private final Map<Character, String> replacementMap = new HashMap<>();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 6.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/io/Smb2FlushRequestTest.java
} @Test @DisplayName("Test buffer overflow protection") void testBufferOverflowProtection() { byte[] smallBuffer = new byte[23]; // One byte too small // Should throw ArrayIndexOutOfBoundsException assertThrows(ArrayIndexOutOfBoundsException.class, () -> { request.writeBytesWireFormat(smallBuffer, 0); }); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/Smb2IoctlResponseTest.java
System.arraycopy(body, 0, packet, header.length, body.length); BaseConfiguration config = new BaseConfiguration(true); byte[] outBuf = new byte[4]; // too small Smb2IoctlResponse resp = new Smb2IoctlResponse(config, outBuf); assertThrows(SMBProtocolDecodingException.class, () -> resp.decode(packet, 0)); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/RoleQueryHelperTest.java
long currentTime = roleQueryHelper.getCurrentTime(); assertTrue(currentTime > 0); long currentTimeMillis = System.currentTimeMillis(); // Allow for small time difference assertTrue(Math.abs(currentTime - currentTimeMillis) < 1000); } public void test_constants() { assertEquals("userRoles", RoleQueryHelper.USER_ROLES); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 19 23:49:30 UTC 2025 - 28.5K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/UnsignedLongs.java
* number. * * <p>Users of these utilities must be <i>extremely careful</i> not to mix up signed and unsigned * {@code long} values. When possible, it is recommended that the {@link UnsignedLong} wrapper class * be used, at a small efficiency penalty, to enforce the distinction in the type system. * * <p>See the Guava User Guide article on <a * href="https://github.com/google/guava/wiki/PrimitivesExplained#unsigned-support">unsigned
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 17.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/CreateContextRequestTest.java
byte[] smallBuffer = new byte[10]; assertThrows(ArrayIndexOutOfBoundsException.class, () -> testRequest.encode(smallBuffer, 5), "Should throw exception when buffer is too small"); } @Test @DisplayName("Should handle zero-length name") void testZeroLengthName() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 24.9K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/NavigableSetNavigationTester.java
resetWithHole(); assertEquals(c, navigableSet.higher(a)); assertEquals(c, navigableSet.higher(b)); assertEquals(null, navigableSet.higher(c)); } /* * TODO(cpovirk): make "too small" and "too large" elements available for better navigation * testing. At that point, we may be able to eliminate the "hole" tests, which would mean that * ContiguousSet's tests would no longer need to suppress them. */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 8.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/TransCallNamedPipeTest.java
// Given transCallNamedPipe = new TransCallNamedPipe(mockConfig, TEST_PIPE_NAME, TEST_DATA, 0, TEST_DATA.length); byte[] dst = new byte[5]; // Buffer too small for TEST_DATA // When int bytesWritten = transCallNamedPipe.writeDataWireFormat(dst, 0); // Then assertEquals(0, bytesWritten); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.8K bytes - Viewed (0)