Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 920 for lengths (1.14 sec)

  1. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateRequestTest.java

            assertNotNull(request.getPreauthSalt());
    
            // Verify data integrity
            assertEquals(16, request.getClientGuid().length);
            assertEquals(32, request.getPreauthSalt().length);
            assertTrue(request.getDialects().length > 0);
            assertEquals(2, request.getNegotiateContexts().length);
        }
    
        @Test
        @DisplayName("Should handle minimum version greater than SMB202")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupRequestTest.java

            assertTrue(securityBufferOffset > 0);
    
            // Security Buffer Length
            assertEquals(token.length, SMBUtil.readInt2(buffer, bodyOffset + 14));
    
            // Previous Session ID
            assertEquals(previousSessionId, SMBUtil.readInt8(buffer, bodyOffset + 16));
    
            // Token content
            byte[] actualToken = new byte[token.length];
            System.arraycopy(buffer, securityBufferOffset, actualToken, 0, token.length);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/dcerpc/DcerpcHandle.java

         * @param buf the buffer containing the fragment data
         * @param off the offset into the buffer
         * @param length the length of data to send
         * @throws IOException if an I/O error occurs during transmission
         */
        protected abstract void doSendFragment(byte[] buf, int off, int length) throws IOException;
    
        /**
         * Receives a DCERPC fragment from the remote endpoint
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/Kerb5ContextTest.java

            int len = 2 + 2 + der.length + 4 + nb.length;
            byte[] out = new byte[len];
            int i = 0;
            out[i++] = 0x04; // TOK_ID[0]
            out[i++] = 0x01; // TOK_ID[1]
            out[i++] = (byte) ((der.length >> 8) & 0xFF);
            out[i++] = (byte) (der.length & 0xFF);
            System.arraycopy(der, 0, out, i, der.length);
            i += der.length;
            out[i++] = (byte) ((nb.length >> 24) & 0xFF);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/netbios/NameServiceClientImpl.java

            final UniAddress[] addrs = new UniAddress[iaddrs.length];
            for (int ii = 0; ii < iaddrs.length; ii++) {
                addrs[ii] = new UniAddress(iaddrs[ii]);
            }
            return addrs;
        }
    
        private static UniAddress[] wrapNetbiosAddresses(final NetbiosAddress[] addr) {
            final UniAddress[] addrs = new UniAddress[addr.length];
            for (int i = 0; i < addr.length; i++) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 38.5K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/util/QueryStringBuilder.java

                final String[] values = entry.getValue();
                if (values == null) {
                    // nothing
                } else if (values.length == 1) {
                    queryBuf.append(' ').append(key).append(":\"").append(values[0]).append('\"');
                } else if (values.length > 1) {
                    boolean first = true;
                    queryBuf.append(" (");
                    for (final String value : values) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/CsvExtractor.java

            }
    
            // Add rows to text
            for (final String[] row : rows) {
                if (headers != null && headers.length > 0) {
                    // Associate values with column names
                    final int minLength = Math.min(headers.length, row.length);
                    for (int i = 0; i < minLength; i++) {
                        if (StringUtil.isNotBlank(row[i])) {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 08:38:29 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/net/NetServerEnum2Test.java

            byte[] actualDescrBytes = new byte[expectedDescrBytes.length];
            System.arraycopy(dst, 2, actualDescrBytes, 0, expectedDescrBytes.length);
            assertArrayEquals(expectedDescrBytes, actualDescrBytes);
    
            // Verify level (0x0001)
            int descrEnd = 2 + expectedDescrBytes.length;
            assertEquals(0x01, dst[descrEnd]);
            assertEquals(0x00, dst[descrEnd + 1]);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.7K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/NtlmUtil.java

            System.arraycopy(mac, 0, ret, 0, mac.length);
            System.arraycopy(clientData, 0, ret, mac.length, clientData.length);
            return ret;
        }
    
        /**
         * Generates the NTOWFv2 hash for the given domain, username, and password.
         *
         * @param domain the authentication domain
         * @param username the username
         * @param password the password
         *
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/ioctl/Smb2IoctlResponseTest.java

            byte[] packet = new byte[header.length + body.length];
            System.arraycopy(header, 0, packet, 0, header.length);
            System.arraycopy(body, 0, packet, header.length, body.length);
    
            BaseConfiguration config = new BaseConfiguration(true);
            byte[] outBuf = new byte[output.length];
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
Back to top