Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 54 for pad8 (0.04 seconds)

  1. src/main/java/jcifs/internal/smb1/trans/SmbComTransactionResponse.java

                    + this.parameterDisplacement + ",dataCount=" + this.dataCount + ",dataOffset=" + this.dataOffset + ",dataDisplacement="
                    + this.dataDisplacement + ",setupCount=" + this.setupCount + ",pad=" + this.pad + ",pad1=" + this.pad1);
        }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 12.3K bytes
    - Click Count (0)
  2. 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);
        }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 21 03:10:51 GMT 2024
    - 7.1K bytes
    - Click Count (0)
  3. 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);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 6.1K bytes
    - Click Count (0)
  4. src/test/java/jcifs/internal/smb1/trans/SmbComTransactionTest.java

        @Test
        @DisplayName("Test pad calculation with various offsets")
        void testPadCalculation() {
            // Test pad calculation with different alignment values
            assertEquals(0, transaction.pad(0)); // Already aligned
            assertEquals(0, transaction.pad(4)); // Already aligned
            assertEquals(0, transaction.pad(8)); // Already aligned
            assertEquals(3, transaction.pad(1)); // Need 3 bytes to align to 4
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 10.7K bytes
    - Click Count (0)
  5. impl/maven-cli/src/main/java/org/apache/maven/cling/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 = "                                        ";
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Nov 22 14:09:32 GMT 2024
    - 5.2K bytes
    - Click Count (0)
  6. compat/maven-embedder/src/main/java/org/apache/maven/cli/transfer/ConsoleMavenTransferListener.java

                    if (entries.hasNext()) {
                        buffer.append(" | ");
                    }
                }
            }
    
            int pad = lastLength - buffer.length();
            lastLength = buffer.length();
            pad(buffer, pad);
            buffer.append('\r');
            out.print(buffer);
            out.flush();
        }
    
        private String getStatus(String resourceName, long complete, long total) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Apr 03 11:23:19 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  7. 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;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  8. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/util/ConsoleTransferListener.java

                long complete = entry.getValue();
    
                buffer.append(getStatus(complete, total)).append("  ");
            }
    
            int pad = lastLength - buffer.length();
            lastLength = buffer.length();
            pad(buffer, pad);
            buffer.append('\r');
    
            print("transferProgressed", buffer.toString());
        }
    
        private String getStatus(long complete, long total) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 5.5K bytes
    - Click Count (0)
  9. 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;
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 4.8K bytes
    - Click Count (1)
  10. android/guava-tests/test/com/google/common/hash/AbstractNonStreamingHashFunctionTest.java

      public void testPutStringWithLowSurrogate() {
        // we pad because the dummy hash function we use to test this, merely copies the input into
        // the output, so the input must be at least 32 bits, since the output has to be that long
        assertPutString(new char[] {'p', HashTestUtils.randomLowSurrogate(new Random())});
      }
    
      public void testPutStringWithHighSurrogate() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 4.5K bytes
    - Click Count (0)
Back to Top