Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 24 for pad8 (0.02 sec)

  1. 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;
            }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateRequest.java

            }
            dstIndex += 8;
    
            for ( 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 Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 7.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb1/trans/SmbComTransactionResponse.java

                        + ",dataCount=" + this.dataCount + ",dataOffset=" + this.dataOffset + ",dataDisplacement=" + this.dataDisplacement
                        + ",setupCount=" + this.setupCount + ",pad=" + this.pad + ",pad1=" + this.pad1);
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 9.2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/SmbComTransactionResponse.java

                ",dataCount=" + dataCount +
                ",dataOffset=" + dataOffset +
                ",dataDisplacement=" + dataDisplacement +
                ",setupCount=" + setupCount +
                ",pad=" + pad +
                ",pad1=" + pad1 );
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 6K 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jun 15 20:59:00 UTC 2022
    - 7.1K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb1/com/SmbComWriteAndX.java

            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 Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 5.1K bytes
    - Viewed (0)
  7. android/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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jun 15 20:59:00 UTC 2022
    - 7.1K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/session/Smb2SessionSetupResponse.java

            bufferIndex += 4;
    
            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 Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4.1K bytes
    - Viewed (0)
  9. compat/maven-embedder/src/main/java/org/apache/maven/cli/transfer/ConsoleMavenTransferListener.java

                    buffer.append(" | ");
                }
            }
    
            int pad = lastLength - buffer.length();
            lastLength = buffer.length();
            pad(buffer, pad);
            buffer.append('\r');
            out.print(buffer);
            out.flush();
            buffer.setLength(0);
        }
    
        private void pad(StringBuilder buffer, int spaces) {
            String block = "                                        ";
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/SmbComWriteAndX.java

        int writeParameterWordsWireFormat( byte[] dst, int dstIndex ) {
            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 Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 4.3K bytes
    - Viewed (0)
Back to top