Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 337 for Padding (0.07 sec)

  1. src/main/java/jcifs/internal/witness/WitnessRegisterMessage.java

            buf.readOctetArray(wideBytes, 0, byteCount);
    
            // Skip null terminator
            buf.dec_ndr_short();
    
            // Skip padding
            int padding = (4 - ((byteCount + 2) % 4)) % 4;
            for (int i = 0; i < padding; i++) {
                buf.dec_ndr_small();
            }
    
            return new String(wideBytes, StandardCharsets.UTF_16LE);
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/nego/CompressionNegotiateContext.java

            }
    
            int start = dstIndex;
    
            // Compression count (2 bytes)
            SMBUtil.writeInt2(this.compressionAlgorithms.length, dst, dstIndex);
            dstIndex += 2;
    
            // Padding (2 bytes)
            SMBUtil.writeInt2(0, dst, dstIndex);
            dstIndex += 2;
    
            // Flags (4 bytes)
            SMBUtil.writeInt4(this.flags, dst, dstIndex);
            dstIndex += 4;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupRequestTest.java

            int[] positions = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 15, 16 };
            for (int pos : positions) {
                int padding = (int) pad8Method.invoke(req, pos);
    
                // Verify padding makes position 8-byte aligned
                assertEquals(0, (pos + padding) % 8);
            }
        }
    
        @Test
        @DisplayName("Should write bytes at different buffer offsets")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/create/LeaseV1CreateContextRequestTest.java

            assertEquals(0, leaseContext.getLeaseFlags());
        }
    
        @Test
        @DisplayName("Should calculate correct size")
        void testSize() {
            int expectedSize = 16 + 4 + 4 + 32; // header + name + padding + data
            assertEquals(expectedSize, leaseContext.size());
        }
    
        @Test
        @DisplayName("Should set and get lease key")
        void testLeaseKeyAccessors() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 00:16:17 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2Test.kt

        val paddingLength = 254
        val padding = ByteArray(paddingLength)
        Arrays.fill(padding, 0.toByte())
        writeMedium(frame, dataLength + paddingLength + 1)
        frame.writeByte(Http2.TYPE_DATA)
        frame.writeByte(FLAG_PADDED)
        frame.writeInt(expectedStreamId and 0x7fffffff)
        frame.writeByte(paddingLength)
        frame.write(expectedData)
        frame.write(padding)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 28.1K bytes
    - Viewed (0)
  6. src/main/webapp/css/admin/adminlte.min.css

    -2,.px-2{padding-right:.5rem!important}.pb-2,.py-2{padding-bottom:.5rem!important}.pl-2,.px-2{padding-left:.5rem!important}.p-3{padding:1rem!important}.pt-3,.py-3{padding-top:1rem!important}.pr-3,.px-3{padding-right:1rem!important}.pb-3,.py-3{padding-bottom:1rem!important}.pl-3,.px-3{padding-left:1rem!important}.p-4{padding:1.5rem!important}.pt-4,.py-4{padding-top:1.5rem!important}.pr-4,.px-4{padding-right:1.5rem!important}.pb-4,.py-4{padding-bottom:1.5rem!important}.pl-4,.px-4{padding-left:1.5r...
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Oct 26 01:49:09 UTC 2024
    - 1.3M bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralResponseTest.java

            // Number of referrals (2 bytes) - value: 1
            SMBUtil.writeInt2(1, buffer, 2);
    
            // Flags (2 bytes)
            SMBUtil.writeInt2(0x0003, buffer, 4);
    
            // Padding (2 bytes)
            buffer[6] = 0;
            buffer[7] = 0;
    
            // First referral (minimal structure)
            // Version (2 bytes)
            SMBUtil.writeInt2(3, buffer, 8);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/primitives/Chars.java

       * @return an array containing the values of {@code array}, with guaranteed minimum length {@code
       *     minLength}
       */
      public static char[] ensureCapacity(char[] array, int minLength, int padding) {
        checkArgument(minLength >= 0, "Invalid minLength: %s", minLength);
        checkArgument(padding >= 0, "Invalid padding: %s", padding);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24.2K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/primitives/Shorts.java

       * @return an array containing the values of {@code array}, with guaranteed minimum length {@code
       *     minLength}
       */
      public static short[] ensureCapacity(short[] array, int minLength, int padding) {
        checkArgument(minLength >= 0, "Invalid minLength: %s", minLength);
        checkArgument(padding >= 0, "Invalid padding: %s", padding);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 25.8K bytes
    - Viewed (0)
  10. guava/src/com/google/common/primitives/Shorts.java

       * @return an array containing the values of {@code array}, with guaranteed minimum length {@code
       *     minLength}
       */
      public static short[] ensureCapacity(short[] array, int minLength, int padding) {
        checkArgument(minLength >= 0, "Invalid minLength: %s", minLength);
        checkArgument(padding >= 0, "Invalid padding: %s", padding);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 25.8K bytes
    - Viewed (0)
Back to top