Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 122 for boundary (0.82 sec)

  1. src/test/java/jcifs/util/HexdumpTest.java

            assertEquals("12345678", Hexdump.toHexString(0x12345678L, 8));
        }
    
        @Test
        @DisplayName("Should handle special byte values correctly")
        void testSpecialByteValues() {
            // 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
            };
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/persistent/DurableHandleV2Request.java

            dstIndex += 4;
    
            // Write context name
            System.arraycopy(CONTEXT_NAME_BYTES, 0, dst, dstIndex, 4);
            dstIndex += 4;
    
            // Padding to align data to 8-byte boundary
            dstIndex += 4;
    
            // Write durable handle V2 request data (32 bytes total)
            // MS-SMB2 2.2.13.2.4 structure:
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  3. compat/maven-artifact/src/main/java/org/apache/maven/artifact/repository/ArtifactRepositoryPolicy.java

            if (UPDATE_POLICY_ALWAYS.equals(updatePolicy)) {
                checkForUpdates = true;
            } else if (UPDATE_POLICY_DAILY.equals(updatePolicy)) {
                // Get local midnight boundary
                Calendar cal = Calendar.getInstance();
    
                cal.set(Calendar.HOUR_OF_DAY, 0);
                cal.set(Calendar.MINUTE, 0);
                cal.set(Calendar.SECOND, 0);
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  4. docs/changelogs/upgrading_to_okhttp_4.md

     * **MockWebServer**: bodyLimit, port, protocolNegotiationEnabled, protocols, requestCount,
       serverSocketFactory
     * **MultipartBody.Part**: body, headers
     * **MultipartBody.**: boundary, parts, size, type
     * **OkHttpClient**: authenticator, cache, callTimeoutMillis, certificatePinner,
       connectTimeoutMillis, connectionPool, connectionSpecs, cookieJar, dispatcher, dns,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 16:58:16 UTC 2022
    - 10.9K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyRequestTest.java

            // Then
            // Size should be aligned to 8 bytes: SMB2_HEADER_LENGTH + 32
            int expectedSize = Smb2Constants.SMB2_HEADER_LENGTH + 32;
            // The size8 method aligns to 8-byte boundary
            int alignedSize = (expectedSize + 7) & ~7;
            assertEquals(alignedSize, size);
        }
    
        @Test
        @DisplayName("Should write correct bytes to wire format")
        void testWriteBytesWireFormat() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  6. src/cmd/asm/internal/asm/testdata/ppc64_p10.s

    	PDEPD R1, R2, R3                        // 7c231138
    	PEXTD R1, R2, R3                        // 7c231178
    	PLBZ 1234(R1), $0, R3                   // 06000000886104d260000000
    	// Note, PLD crosses a 64B boundary, and a nop is inserted between PLBZ and PLD
    	PLD 1234(R1), $0, R3                    // 04000000e46104d2
    	PLFD 1234(R1), $0, F3                   // 06000000c86104d2
    	PLFS 1234567890(R4), $0, F3             // 06004996c06402d2
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Thu Mar 23 20:52:57 UTC 2023
    - 14.3K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/create/Smb2CloseRequestTest.java

        }
    
        @Test
        @DisplayName("size should return correct message size")
        void testSize() {
            int expectedSize = Smb2Constants.SMB2_HEADER_LENGTH + 24;
            // size8 method rounds up to 8-byte boundary
            int expectedAlignedSize = (expectedSize + 7) & ~7;
    
            assertEquals(expectedAlignedSize, request.size());
        }
    
        @Test
        @DisplayName("writeBytesWireFormat should write correct structure")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  8. fess-crawler/src/test/java/org/codelibs/fess/crawler/filter/UrlFilterTest.java

            thread2.start();
    
            thread1.join();
            thread2.join();
    
            // Should complete without errors
            assertNotNull(urlFilter);
        }
    
        /**
         * Test boundary conditions
         */
        public void test_boundaryConditions() {
            String sessionId = "test-session-024";
            urlFilter.init(sessionId);
    
            // Test empty pattern
            urlFilter.addInclude("");
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 19K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb1/trans/TransWaitNamedPipeTest.java

            int result2 = transWaitNamedPipe.writeSetupWireFormat(dst2, 0);
    
            // Assert
            assertEquals(result1, result2);
            assertArrayEquals(dst1, dst2);
        }
    
        @Test
        @DisplayName("Boundary test for writeSetupWireFormat with minimum buffer")
        void testWriteSetupWireFormatMinimumBuffer() {
            // Arrange
            transWaitNamedPipe = new TransWaitNamedPipe(mockConfig, testPipeName);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationResponseTest.java

            assertEquals(0, result);
    
            result = response.readDataWireFormat(null, 0, 0);
            assertEquals(0, result);
        }
    
        @Test
        @DisplayName("Test boundary conditions for buffer offsets")
        void testBoundaryConditions() {
            byte[] smallBuffer = new byte[10];
    
            // Test with maximum offset
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.9K bytes
    - Viewed (0)
Back to top