Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 51 for Pad (0.02 sec)

  1. src/archive/tar/writer.go

    	if tw.err != nil {
    		return tw.err
    	}
    	if nb := tw.curr.logicalRemaining(); nb > 0 {
    		return fmt.Errorf("archive/tar: missed writing %d bytes", nb)
    	}
    	if _, tw.err = tw.w.Write(zeroBlock[:tw.pad]); tw.err != nil {
    		return tw.err
    	}
    	tw.pad = 0
    	return nil
    }
    
    // WriteHeader writes hdr and prepares to accept the file's contents.
    // The Header.Size determines how many bytes can be written for the next file.
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Feb 03 16:38:43 UTC 2025
    - 19.7K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb1/trans/SmbComTransaction.java

                if (this.getCommand() == SMB_COM_TRANSACTION && !isResponse()) {
                    this.parameterOffset += stringWireLength(this.name, this.parameterOffset);
                }
    
                this.pad1 = pad(this.parameterOffset);
                this.parameterOffset += this.pad1;
    
                this.totalParameterCount = writeParametersWireFormat(this.txn_buf, this.bufParameterOffset);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 17.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/witness/WitnessUnregisterMessage.java

            // Context handle (20 bytes) - this is both input and output (modified)
            if (contextHandle != null) {
                buf.writeOctetArray(contextHandle, 0, Math.min(contextHandle.length, 20));
                // Pad with zeros if context handle is shorter than 20 bytes
                for (int i = contextHandle.length; i < 20; i++) {
                    buf.enc_ndr_small(0);
                }
            } else {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/create/Smb2CreateRequest.java

                    SMBUtil.writeInt4(len, dst, dataLengthOffset);
                    dstIndex += len;
    
                    final int pad = pad8(dstIndex);
                    totalCreateContextLength += len + pad;
                    dstIndex += pad;
                    lastStart = structStart;
                }
            }
            SMBUtil.writeInt4(totalCreateContextLength, dst, createContextLengthOffset);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 22.9K bytes
    - Viewed (0)
  5. src/main/resources/fess_label_nl.properties

    labels.file_crawling_configuration=Bestandscrawlen
    labels.file_crawling_title_details=Bestandscrawlconfiguratie
    labels.included_paths=Pad(en) om op te nemen in crawlen
    labels.excluded_paths=Pad(en) om uit te sluiten van crawlen
    labels.included_doc_paths=Pad(en) om op te nemen in zoeken
    labels.excluded_doc_paths=Pad(en) om uit te sluiten van zoeken
    labels.config_parameter=Configuratieparameter
    labels.max_access_count=Maximaal aantal toegangspogingen
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 10 04:56:21 UTC 2025
    - 42.8K bytes
    - Viewed (1)
  6. src/main/java/jcifs/smb1/util/Base64.java

            final int length = string.length();
            if (length == 0) {
                return new byte[0];
            }
            final int pad = string.charAt(length - 2) == '=' ? 2 : string.charAt(length - 1) == '=' ? 1 : 0;
            final int size = length * 3 / 4 - pad;
            final byte[] buffer = new byte[size];
            int block;
            int i = 0;
            int index = 0;
            while (i < length) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/ntlmssp/av/AvSingleHostTest.java

            assertArrayEquals(machineId, actualMachineId);
        }
    
        /**
         * Test with customData and machineId that are not exactly 8 and 32 bytes respectively.
         * The constructor requires exact sizes, so we need to pad them manually.
         */
        @Test
        void testAvSingleHostCustomDataMachineIdConstructor_ShorterInputs() {
            // Prepare padded arrays
            byte[] customData = new byte[8];
            customData[0] = 0x01;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  8. src/main/java/jcifs/util/Hexdump.java

        /**
         * This is an alternative to the <code>java.lang.Integer.toHexString</code>
         * method. It is an efficient relative that also will pad the left side so
         * that the result is <code>size</code> digits.
         *
         * @param val the integer value to convert to hexadecimal
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  9. guava/src/com/google/common/hash/AbstractStreamingHasher.java

       */
      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);
        }
        Java8Compatibility.limit(bb, chunkSize);
        Java8Compatibility.flip(bb);
        process(bb);
      }
    
      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupResponseTest.java

            int bodyStart = headerStart + Smb2Constants.SMB2_HEADER_LENGTH;
            byte[] blob = new byte[] { 9, 8, 7, 6 };
            // Place blob further ahead to exercise pad adjustment logic
            int secBufOffset = Smb2Constants.SMB2_HEADER_LENGTH + 16; // beyond current bodyIndex (64+8)
            int sessionFlags = Smb2SessionSetupResponse.SMB2_SESSION_FLAGS_IS_NULL;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.7K bytes
    - Viewed (0)
Back to top