Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 952 for lengths (0.82 sec)

  1. src/test/java/jcifs/internal/smb1/trans/TransCallNamedPipeResponseTest.java

            System.arraycopy(sourceData, 0, buffer, 10, sourceData.length);
    
            // Execute
            int result = response.readDataWireFormat(buffer, 10, sourceData.length);
    
            // Verify
            assertEquals(sourceData.length, result);
            // Check that data was copied to output buffer
            for (int i = 0; i < sourceData.length; i++) {
                assertEquals(sourceData[i], outputBuffer[i]);
            }
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.8K 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/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)
  6. src/main/java/jcifs/smb1/util/DES.java

            final int length = cipherText.length;
    
            if (length % 8 != 0) {
                // DES requires 8-byte blocks
                throw new IllegalArgumentException("Array must be a multiple of 8 bytes for DES encryption");
            }
    
            final byte[] clearText = new byte[length];
            final int count = length / 8;
    
            for (int i = 0; i < count; i++) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 22.7K bytes
    - Viewed (0)
  7. src/test/java/jcifs/dcerpc/DcerpcPipeHandleTest.java

            @Test
            @DisplayName("Should throw IOException for fragment length exceeding max")
            void testDoSendReceiveFragment_FragmentTooLarge() throws Exception {
                DcerpcPipeHandle handle = createMockedDcerpcPipeHandle();
    
                byte[] buf = new byte[50];
                byte[] inB = new byte[100];
    
                // Setup fragment length exceeding max (4280)
                Encdec.enc_uint16le((short) 4281, inB, 8);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/netbios/Lmhosts.java

                    ip = i = 0;
                    for (; i < data.length && c == '.'; i++) {
                        int b = 0x00;
    
                        for (; i < data.length && (c = data[i]) >= 48 && c <= 57; i++) {
                            b = b * 10 + c - '0';
                        }
                        ip = (ip << 8) + b;
                    }
                    while (i < data.length && Character.isWhitespace(data[i])) {
                        i++;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb1/util/HMACT64Test.java

            HMACT64 clonedHmac = (HMACT64) originalHmac.clone();
    
            assertNotNull(clonedHmac);
            assertNotSame(originalHmac, clonedHmac);
    
            // Both should produce the same result when given the same remaining data
            originalHmac.engineUpdate(TEST_DATA, TEST_DATA.length / 2, TEST_DATA.length - TEST_DATA.length / 2);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/fs/FileSystemClient.java

                                throw new MaxLengthExceededException("The content length (" + responseData.getContentLength()
                                        + " byte) is over " + maxLength + " byte. The url is " + filePath);
                            }
                        }
    
                        if (includeContent) {
                            if (file.length() < maxCachedContentSize) {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Nov 23 12:19:14 UTC 2025
    - 15.1K bytes
    - Viewed (0)
Back to top