- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 122 for boundary (0.3 sec)
-
src/main/java/jcifs/internal/smb2/create/LeaseV2CreateContextRequest.java
this.epoch = epoch; } @Override public int size() { // Context header: 16 bytes // Name: 4 bytes ("RqL2") // Padding: 4 bytes (to align data to 8-byte boundary) // Data: 52 bytes (lease V2 structure) return 16 + 4 + 4 + 52; } @Override public int encode(byte[] dst, int dstIndex) { int start = dstIndex;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 02:21:31 UTC 2025 - 6.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/CreateContextRequestTest.java
assertEquals(0, request.getData().length); } @Test @DisplayName("Should handle boundary conditions in encode") void testBoundaryConditions() { byte[] buffer = new byte[256]; byte[] name = "BOUNDARY".getBytes(StandardCharsets.UTF_8); TestCreateContextRequest request = new TestCreateContextRequest(name);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 24.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/math/MathTesting.java
static final Iterable<Integer> NONZERO_INTEGER_CANDIDATES; static final Iterable<Integer> ALL_INTEGER_CANDIDATES; static { ImmutableSet.Builder<Integer> intValues = ImmutableSet.builder(); // Add boundary values manually to avoid over/under flow (this covers 2^N for 0 and 31). intValues.add(Integer.MAX_VALUE - 1, Integer.MAX_VALUE); // Add values up to 40. This covers cases like "square of a prime" and such.
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 11.3K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/ndr/NdrShortTest.java
verify(buffer2).dec_ndr_short(); assertEquals(75, ndrShort.value); } @Test @DisplayName("Should handle boundary values correctly") void testBoundaryValues() { // Test various boundary values assertEquals(0, new NdrShort(0).value); assertEquals(255, new NdrShort(255).value);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.2K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/WinErrorTest.java
assertNotNull(message, String.format("Message for code %d should not be null", code)); } } } @Nested @DisplayName("Boundary conditions") class Boundary { @Test void accessingInvalidIndexThrows() { assertThrows(ArrayIndexOutOfBoundsException.class, () -> {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.7K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/create/LeaseV1CreateContextRequest.java
this.leaseFlags = leaseFlags; } @Override public int size() { // Context header: 16 bytes // Name: 4 bytes ("RqLs") // Padding: 4 bytes (to align data to 8-byte boundary) // Data: 32 bytes (lease V1 structure) return 16 + 4 + 4 + 32; } @Override public int encode(byte[] dst, int dstIndex) { int start = dstIndex;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 02:21:31 UTC 2025 - 4.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/AllocInfoTest.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/CommonServerMessageBlockTest.java
// Then assertEquals(expectedMid, actualMid); verify(messageBlock).setMid(expectedMid); verify(messageBlock).getMid(); } @Test @DisplayName("Test setMid with boundary values") void testSetMidWithBoundaryValues() { // Test with MAX_VALUE long maxMid = Long.MAX_VALUE; doNothing().when(messageBlock).setMid(maxMid);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.7K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/KotlinDeprecationErrorTest.kt
} @Test @Disabled fun multipartBody() { val multipartBody: MultipartBody = MultipartBody.Builder().build() val type: MediaType = multipartBody.type() val boundary: String = multipartBody.boundary() val size: Int = multipartBody.size() val parts: List<MultipartBody.Part> = multipartBody.parts() } @Test @Disabled fun multipartBodyPart() {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 13.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2EchoRequestTest.java
@Test @DisplayName("Should return correct size") void testSize() { int expectedSize = Smb2Constants.SMB2_HEADER_LENGTH + 4; // size8 rounds up to 8-byte boundary int expectedAlignedSize = (expectedSize + 7) & ~7; assertEquals(expectedAlignedSize, echoRequest.size()); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.3K bytes - Viewed (0)