Search Options

Results per page
Sort
Preferred Languages
Advance

Results 421 - 430 of 959 for lengths (0.89 sec)

  1. src/main/java/jcifs/smb1/smb1/SmbComSessionSetupAndXResponse.java

        int readBytesWireFormat(final byte[] buffer, int bufferIndex) {
            final int start = bufferIndex;
    
            if (extendedSecurity) {
                System.arraycopy(buffer, bufferIndex, blob, 0, blob.length);
                bufferIndex += blob.length;
            }
            nativeOs = readString(buffer, bufferIndex);
            bufferIndex += stringWireLength(nativeOs, bufferIndex);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/pac/PacSignatureTest.java

            ByteArrayOutputStream baos = new ByteArrayOutputStream();
            int defaultType = 99;
            writeLittleEndianInt(baos, defaultType);
            byte[] checksum = new byte[10]; // Arbitrary length
            for (int i = 0; i < checksum.length; i++) {
                checksum[i] = (byte) i;
            }
            baos.write(checksum);
            byte[] data = baos.toByteArray();
    
            // Create PacSignature
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/util/GsaConfigParser.java

         * @param length the number of characters to use from the character array
         * @throws SAXException if a SAX error occurs during character processing
         */
        @Override
        public void characters(final char[] ch, final int start, final int length) throws SAXException {
            final String text = new String(ch, start, length);
            if (logger.isDebugEnabled()) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 21.6K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/service/ElevateWordService.java

            String item = list.get(index).trim();
            if (StringUtil.isBlank(item)) {
                return StringUtil.EMPTY;
            }
            if (item.length() > 1 && item.charAt(0) == '"' && item.charAt(item.length() - 1) == '"') {
                item = item.substring(1, item.length() - 1);
            }
            return item;
        }
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 18.3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/spnego/NegTokenInit.java

        @Override
        public String toString() {
            String mic = null;
            if (this.getMechanismListMIC() != null) {
                mic = Hexdump.toHexString(this.getMechanismListMIC(), 0, this.getMechanismListMIC().length);
            }
            return String.format("NegTokenInit[flags=%d,mechs=%s,mic=%s]", this.getContextFlags(), Arrays.toString(this.getMechanisms()), mic);
        }
    
        @Override
        public byte[] toByteArray() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/dcerpc/DcerpcMessageTest.java

            buf.enc_ndr_small(2); // ptype = 2 (Response)
            buf.enc_ndr_small(0); // flags
            buf.enc_ndr_long(0x00000010); // data representation
            buf.enc_ndr_short(20); // length
            buf.enc_ndr_short(0); // auth length
            buf.enc_ndr_long(0); // call_id
    
            // Response body
            buf.enc_ndr_long(4); // alloc_hint
            buf.enc_ndr_short(0); // context_id
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 7K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/AndXServerMessageBlock.java

            dstIndex += writeHeaderWireFormat(dst, dstIndex);
            dstIndex += writeAndXWireFormat(dst, dstIndex);
            length = dstIndex - start;
    
            if (digest != null) {
                digest.sign(dst, headerStart, length, this, response);
            }
    
            return length;
        }
    
        /*
         * We overload this because we want readAndXWireFormat to
         * read the parameter words and bytes. This is so when
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  8. src/main/java/jcifs/dcerpc/msrpc/MsrpcLsarOpenPolicy2.java

            super(server, new lsarpc.LsarObjectAttributes(), access, policyHandle);
            this.object_attributes.length = 24;
            final lsarpc.LsarQosInfo qos = new lsarpc.LsarQosInfo();
            qos.length = 12;
            qos.impersonation_level = 2;
            qos.context_mode = 1;
            qos.effective_only = 0;
            this.object_attributes.security_quality_of_service = qos;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/ioctl/SrvCopychunkCopy.java

        public int encode(final byte[] dst, int dstIndex) {
            final int start = dstIndex;
    
            System.arraycopy(this.sourceKey, 0, dst, dstIndex, 24);
            dstIndex += 24;
    
            SMBUtil.writeInt4(this.chunks.length, dst, dstIndex);
            dstIndex += 4;
    
            dstIndex += 4; // Reserved
    
            for (final SrvCopychunk chk : this.chunks) {
                dstIndex += chk.encode(dst, dstIndex);
            }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/smb1/SmbComNegotiateResponseTest.java

            serverData.encryptionKeyLength = 8;
            response.flags2 = ServerMessageBlock.FLAGS2_UNICODE;
            byte[] domainNameBytes = "DOMAIN_U".getBytes("UTF-16LE");
            response.byteCount = 8 + domainNameBytes.length + 2; // key + domain + null terminator
    
            // Prepare byte array
            byte[] encryptionKey = "12345678".getBytes();
            ByteBuffer buffer = ByteBuffer.allocate(response.byteCount);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.2K bytes
    - Viewed (0)
Back to top