Search Options

Results per page
Sort
Preferred Languages
Advance

Results 381 - 390 of 959 for lengths (0.32 sec)

  1. src/main/java/jcifs/internal/smb1/SMB1SigningDigest.java

            }
        }
    
        /**
         * Update digest with data
         *
         * @param input
         *            The input data to update the digest with
         * @param offset
         *            The starting offset in the input data
         * @param len
         *            The length of data to process
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/fscc/FileSystemInformationTest.java

                if (offset + length <= bufferSize && length >= 24) {
                    assertDoesNotThrow(() -> {
                        info.decode(buffer, offset, length);
                    });
                }
            }
        }
    
        @Nested
        @DisplayName("Interface Compatibility Tests")
        class InterfaceCompatibilityTests {
    
            @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseInputValidationTest.java

            // At offset 128 + 64 (header start), set context with excessive data length
            int contextPos = 192;
            SMBUtil.writeInt2(1, buffer, contextPos); // Context type
            SMBUtil.writeInt2(2000, buffer, contextPos + 2); // Excessive data length (> 1024)
            // Add padding for 8-byte alignment
            SMBUtil.writeInt2(0, buffer, contextPos + 4); // Reserved
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/nego/NegotiateContextResponseTest.java

                };
    
                // Act
                int decodedSize = context.decode(buffer, 0, buffer.length);
    
                // Assert
                assertEquals(4, decodedSize);
                assertEquals(0, context.getHashAlgos().length);
                assertEquals(0, context.getSalt().length);
            }
    
            @ParameterizedTest
            @ValueSource(ints = { 0, 1, 3, 5, 10 })
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/opensearch/log/bsentity/BsClickLog.java

            sb.append(dm).append(queryRequestedAt);
            sb.append(dm).append(requestedAt);
            sb.append(dm).append(url);
            sb.append(dm).append(userSessionId);
            if (sb.length() > dm.length()) {
                sb.delete(0, dm.length());
            }
            sb.insert(0, "{").append("}");
            return sb.toString();
        }
    
        // ===================================================================================
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 7K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/opensearch/config/bsentity/BsFileConfig.java

            sb.append(dm).append(timeToLive);
            sb.append(dm).append(updatedBy);
            sb.append(dm).append(updatedTime);
            sb.append(dm).append(virtualHosts);
            if (sb.length() > dm.length()) {
                sb.delete(0, dm.length());
            }
            sb.insert(0, "{").append("}");
            return sb.toString();
        }
    
        // ===================================================================================
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 13.7K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/text/JsonUtil.java

         * @return escaped string.
         */
        public static String escape(final String value) {
            if (value == null) {
                return null;
            }
    
            char c;
            final int len = value.length();
            final StringBuilder buf = new StringBuilder(len * 2);
    
            for (int i = 0; i < len; i++) {
                c = value.charAt(i);
                String escaped = switch (c) {
                case '\\', '"' -> "\\" + c;
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 24 01:52:43 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  8. src/main/java/jcifs/Decodable.java

         * Decode data from a byte buffer
         *
         * @param buffer the byte buffer containing the data to decode
         * @param bufferIndex the starting index in the buffer
         * @param len the maximum length of data to decode
         * @return decoded length
         * @throws SMBProtocolDecodingException if decoding fails
         */
        int decode(byte[] buffer, int bufferIndex, int len) throws SMBProtocolDecodingException;
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/dcerpc/UnicodeString.java

         *            wrapped string
         * @param zterm
         *            whether the string should be zero terminated
         */
        public UnicodeString(final rpc.unicode_string rus, final boolean zterm) {
            this.length = rus.length;
            this.maximum_length = rus.maximum_length;
            this.buffer = rus.buffer;
            this.zterm = zterm;
        }
    
        /**
         * Constructs a UnicodeString from a Java String.
         *
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  10. src/main/java/jcifs/util/Hexdump.java

         * method. It is an efficient relative that also will pad the left side so
         * that the result is <code>size</code> digits.
         *
         * @param val the integer value to convert to hexadecimal
         * @param size the desired length of the resulting hex string (will be left-padded with zeros)
         * @return a hexadecimal string representation of the value, padded to the specified size
         */
        public static String toHexString(final int val, final int size) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.3K bytes
    - Viewed (0)
Back to top