Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 98 for 4096 (0.02 sec)

  1. src/test/java/jcifs/internal/fscc/FileSystemInformationTest.java

                buffer[9] = 0x10; // alloc = 4096
                buffer[12] = 0x00;
                buffer[13] = 0x08; // free = 2048
                buffer[16] = 0x00;
                buffer[17] = 0x02; // bytesPerSect = 512
    
                int bytesDecoded = smbInfoAllocation.decode(buffer, 0, buffer.length);
    
                assertEquals(20, bytesDecoded);
                assertEquals(8L * 4096L * 512L, smbInfoAllocation.getCapacity());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/io/Smb2WriteRequestTest.java

                byte[] buffer = new byte[4096];
                int bytesWritten = request.writeBytesWireFormat(buffer, 100);
                assertEquals(48 + 1024, bytesWritten);
    
                // Verify written structure
                assertEquals(49, SMBUtil.readInt2(buffer, 100)); // Structure size
                assertEquals(1024, SMBUtil.readInt4(buffer, 104)); // Data length
                assertEquals(4096L, SMBUtil.readInt8(buffer, 108)); // Offset
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.4K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/helper/SearchHelperTest.java

            public String getCookieSearchParameterKeys() {
                return "q,lang";
            }
    
            @Override
            public Integer getCookieSearchParameterMaxLengthAsInteger() {
                return 4096;
            }
    
            @Override
            public String getCookieSearchParameterName() {
                return "FESS_SEARCH_PARAM";
            }
    
            @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 18.9K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/curl/CurlRequest.java

                try (BufferedInputStream bis = new BufferedInputStream(handler.get());
                        ContentOutputStream dfos = new ContentOutputStream(threshold, Curl.tmpDir)) {
                    final byte[] bytes = new byte[4096];
                    int length = bis.read(bytes);
                    while (length != -1) {
                        if (length != 0) {
                            final int len = length;
                            logger.fine(() -> {
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Sat Jul 05 01:38:18 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionTest.java

            transaction.setTotalParameterCount(500);
            transaction.setTotalDataCount(1000);
            transaction.setMaxParameterCount(2048);
            transaction.setMaxDataCountForTest(4096);
            transaction.setParameterCount(250);
            transaction.setParameterOffset(150);
            transaction.setDataCount(500);
            transaction.setDataOffset(400);
            transaction.setSetupCount(2);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupRequestTest.java

        }
    
        @Test
        @DisplayName("Should handle large token correctly")
        void testLargeToken() throws Exception {
            // Given
            byte[] largeToken = createTestData(4096);
            Smb2SessionSetupRequest req =
                    new Smb2SessionSetupRequest(mockContext, TEST_SECURITY_MODE, TEST_CAPABILITIES, TEST_PREVIOUS_SESSION_ID, largeToken);
            byte[] buffer = new byte[8192];
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectRequestTest.java

            }
            String longPath = longPathBuilder.toString();
    
            Smb2TreeConnectRequest req = new Smb2TreeConnectRequest(mockConfig, longPath);
            byte[] buffer = new byte[4096];
    
            // When
            req.encode(buffer, 0);
    
            // Then
            byte[] pathBytes = longPath.getBytes(StandardCharsets.UTF_16LE);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  8. src/test/java/jcifs/dcerpc/msrpc/samrTest.java

                assertEquals(512, samr.ACB_PWNOEXP);
                assertEquals(1024, samr.ACB_AUTOLOCK);
                assertEquals(2048, samr.ACB_ENC_TXT_PWD_ALLOWED);
                assertEquals(4096, samr.ACB_SMARTCARD_REQUIRED);
                assertEquals(8192, samr.ACB_TRUSTED_FOR_DELEGATION);
                assertEquals(16384, samr.ACB_NOT_DELEGATED);
                assertEquals(32768, samr.ACB_USE_DES_KEY_ONLY);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 33.7K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/lock/Smb2LockRequestTest.java

                expectedSize = ((expectedSize + 7) / 8) * 8;
                assertEquals(expectedSize, lockRequest.size());
    
                // Write to buffer
                byte[] buffer = new byte[4096];
                int bytesWritten = lockRequest.writeBytesWireFormat(buffer, 0);
                assertEquals(24 + (24 * lockCount), bytesWritten);
                assertEquals(lockCount, SMBUtil.readInt2(buffer, 2));
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 25.3K bytes
    - Viewed (0)
  10. src/main/java/jcifs/dcerpc/msrpc/samr.java

        public static final int ACB_ENC_TXT_PWD_ALLOWED = 2048;
        /** Account control bit flag: Smart card is required for login */
        public static final int ACB_SMARTCARD_REQUIRED = 4096;
        /** Account control bit flag: Account is trusted for delegation */
        public static final int ACB_TRUSTED_FOR_DELEGATION = 8192;
        /** Account control bit flag: Account is not delegated */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 23.4K bytes
    - Viewed (0)
Back to top