Search Options

Results per page
Sort
Preferred Languages
Advance

Results 361 - 370 of 952 for lengths (1.46 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/entity/ResponseDataTest.java

            assertNotNull(data.getResponseBody());
    
            try (InputStream is = data.getResponseBody()) {
                byte[] buffer = new byte[content.length];
                int bytesRead = is.read(buffer);
                assertEquals(content.length, bytesRead);
                assertTrue(Arrays.equals(content, buffer));
            } catch (IOException e) {
                fail("IOException should not occur: " + e.getMessage());
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 13 13:29:22 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseManagerTest.java

            assertNull(directoryLeaseManager.getCachedDirectoryListing(directoryPath));
    
            // Setup mock files
            when(mockFile1.getName()).thenReturn("file1.txt");
            when(mockFile1.length()).thenReturn(1024L);
            when(mockFile1.lastModified()).thenReturn(1000L);
            when(mockFile1.isDirectory()).thenReturn(false);
            when(mockFile1.getAttributes()).thenReturn(0x20);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/com/SmbComSessionSetupAndXTest.java

            try {
                var cls = target.getClass();
                // Build proper parameter types array, handling primitive types
                Class<?>[] paramTypes = new Class<?>[params.length];
                for (int i = 0; i < params.length; i++) {
                    if (params[i] instanceof byte[]) {
                        paramTypes[i] = byte[].class;
                    } else if (params[i] instanceof Integer) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/util/SecureCredentialStorage.java

        public SecureCredentialStorage(char[] masterPassword, byte[] salt) throws GeneralSecurityException {
            if (masterPassword == null || masterPassword.length == 0) {
                throw new IllegalArgumentException("Master password cannot be null or empty");
            }
            if (salt == null || salt.length != SALT_SIZE) {
                throw new IllegalArgumentException("Invalid salt");
            }
    
            this.salt = salt.clone();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/ntlmssp/Type2Message.java

            return "Type2Message[target=" + target + ",challenge=" + (challenge == null ? "null" : "<" + challenge.length + " bytes>")
                    + ",context=" + (context == null ? "null" : "<" + context.length + " bytes>") + ",targetInformation="
                    + (targetInformation == null ? "null" : "<" + targetInformation.length + " bytes>") + ",flags=0x"
                    + jcifs.smb1.util.Hexdump.toHexString(getFlags(), 8) + "]";
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 13K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/suggest/util/SuggestUtil.java

        private SuggestUtil() {
        }
    
        /**
         * Creates a unique identifier for the given text by encoding it to a Base64 string.
         * If the encoded string exceeds the maximum allowed length, it truncates the string
         * to the specified maximum length.
         *
         * @param text the input text to be encoded
         * @return the encoded string, truncated if necessary
         */
        public static String createSuggestTextId(final String text) {
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Sun Nov 23 11:21:40 UTC 2025
    - 17.5K bytes
    - Viewed (1)
  7. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/s3/S3ClientTest.java

                fail();
            } catch (ChildUrlsException e) {
                String[] values = e.getChildUrlList().stream().map(d -> d.getUrl()).sorted().toArray(n -> new String[n]);
                assertEquals(3, values.length);
                assertEquals("s3://fess/dir1/", values[0]);
                assertEquals("s3://fess/dir3/", values[1]);
                assertEquals("s3://fess/file1.txt", values[2]);
            }
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 07:57:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/net/SmbShareInfoTest.java

        }
    
        @Test
        @DisplayName("Test length always returns 0")
        void testLength() {
            // Default instance
            assertEquals(0L, shareInfo.length());
    
            // Instance with values - length is still 0
            SmbShareInfo info = new SmbShareInfo(TEST_NET_NAME, TEST_TYPE, TEST_REMARK);
            assertEquals(0L, info.length());
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateResponse.java

                        hdrStart + securityBufferOffset + securityBufferLength > buffer.length) {
                    throw new SMBProtocolDecodingException("Security buffer extends beyond available data (offset: " + securityBufferOffset
                            + ", length: " + securityBufferLength + ", buffer size: " + buffer.length + ")");
                }
    
                this.securityBuffer = new byte[securityBufferLength];
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 24K bytes
    - Viewed (0)
  10. src/main/java/jcifs/pac/Pac.java

            byte[] checksumData = data.clone();
            try {
                PacDataInputStream pacStream = new PacDataInputStream(new DataInputStream(new ByteArrayInputStream(data)));
    
                if (data.length <= 8) {
                    throw new PACDecodingException("Empty PAC");
                }
    
                int bufferCount = pacStream.readInt();
                int version = pacStream.readInt();
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.3K bytes
    - Viewed (0)
Back to top