Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 25 for pad8 (0.07 sec)

  1. src/main/java/jcifs/internal/smb2/ServerMessageBlock2Request.java

            final int actual = getLength();
            if (exp != actual) {
                // Log the size mismatch for debugging but don't throw exception
                // This can occur due to padding alignment differences between size8() and pad8()
                if (log.isDebugEnabled()) {
                    log.debug("Size calculation mismatch: expected {} but got {} (difference: {})", exp, actual, actual - exp);
                }
            }
            return len;
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Mon Aug 25 14:34:10 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/session/Smb2SessionSetupRequest.java

            dstIndex += 2;
            SMBUtil.writeInt8(this.previousSessionId, dst, dstIndex);
            dstIndex += 8;
            SMBUtil.writeInt2(dstIndex - getHeaderStart(), dst, offsetOffset);
    
            dstIndex += pad8(dstIndex);
    
            if (this.token != null) {
                System.arraycopy(this.token, 0, dst, dstIndex, this.token.length);
                dstIndex += this.token.length;
            }
    
            return dstIndex - start;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateRequest.java

            }
            dstIndex += 8;
    
            for (final int dialect : this.dialects) {
                SMBUtil.writeInt2(dialect, dst, dstIndex);
                dstIndex += 2;
            }
    
            dstIndex += pad8(dstIndex);
    
            if (this.negotiateContexts != null && this.negotiateContexts.length != 0) {
                SMBUtil.writeInt4(dstIndex - getHeaderStart(), dst, negotitateContextOffsetOffset);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/SmbComTransactionResponse.java

                    + dataCount + ",dataOffset=" + dataOffset + ",dataDisplacement=" + dataDisplacement + ",setupCount=" + setupCount + ",pad="
                    + pad + ",pad1=" + pad1);
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  5. guava/src/com/google/common/hash/AbstractStreamingHasher.java

       * The passed {@code ByteBuffer} is guaranteed to be non-empty.
       *
       * <p>This implementation simply pads with zeros and delegates to {@link #process(ByteBuffer)}.
       */
      protected void processRemaining(ByteBuffer bb) {
        Java8Compatibility.position(bb, bb.limit()); // move at the end
        Java8Compatibility.limit(bb, chunkSize + 7); // get ready to pad with longs
        while (bb.position() < chunkSize) {
          bb.putLong(0);
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb1/com/SmbComWriteAndX.java

            final int start = dstIndex;
    
            this.dataOffset = dstIndex - this.headerStart + 26; // 26 = off from here to pad
    
            this.pad = (this.dataOffset - this.headerStart) % 4;
            this.pad = this.pad == 0 ? 0 : 4 - this.pad;
            this.dataOffset += this.pad;
    
            SMBUtil.writeInt2(this.fid, dst, dstIndex);
            dstIndex += 2;
            SMBUtil.writeInt4(this.offset, dst, dstIndex);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  7. docs/id/docs/tutorial/static-files.md

    ## Detail
    
    Terhadap `"/static"` pertama mengacu pada sub-jalur yang akan menjadi tempat "sub-aplikasi" ini akan "dimount". Maka, jalur apa pun yang dimulai dengan `"/static"` akan ditangani oleh sub-jalur tersebut.
    
    Terhadap `directory="static"` mengacu pada nama direktori yang berisi berkas statis Anda.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Fri Jan 10 20:31:13 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/session/Smb2SessionSetupResponse.java

            bufferIndex += 4;
    
            final int pad = bufferIndex - (getHeaderStart() + securityBufferOffset);
            this.blob = new byte[securityBufferLength];
            System.arraycopy(buffer, getHeaderStart() + securityBufferOffset, this.blob, 0, securityBufferLength);
            bufferIndex += pad;
            bufferIndex += securityBufferLength;
    
            return bufferIndex - start;
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.8K bytes
    - Viewed (1)
  9. src/main/java/jcifs/smb1/smb1/SmbComWriteAndX.java

            final int start = dstIndex;
    
            dataOffset = dstIndex - headerStart + 26; // 26 = off from here to pad
    
            pad = (dataOffset - headerStart) % 4;
            pad = pad == 0 ? 0 : 4 - pad;
            dataOffset += pad;
    
            writeInt2(fid, dst, dstIndex);
            dstIndex += 2;
            writeInt4(offset, dst, dstIndex);
            dstIndex += 4;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/misc/Base64Util.java

            final int i = inData[inIndex] & 0xff;
            outData[outIndex] = ENCODE_TABLE[i >> 2];
            outData[outIndex + 1] = ENCODE_TABLE[i << 4 & 0x3f];
            outData[outIndex + 2] = PAD;
            outData[outIndex + 3] = PAD;
        }
    
        private static void encode1pad(final byte[] inData, final int inIndex, final char[] outData, final int outIndex) {
    
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 6.2K bytes
    - Viewed (0)
Back to top