Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 694 for nBytes (0.15 sec)

  1. src/main/java/jcifs/internal/smb2/lock/Smb2LeaseBreakResponse.java

            // LeaseKey (16 bytes)
            byte[] keyBytes = new byte[16];
            System.arraycopy(buffer, bufferIndex, keyBytes, 0, 16);
            this.leaseKey = new Smb2LeaseKey(keyBytes);
            bufferIndex += 16;
    
            // LeaseState (4 bytes)
            this.leaseState = SMBUtil.readInt4(buffer, bufferIndex);
            bufferIndex += 4;
    
            // LeaseDuration (8 bytes)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/rdma/RdmaNegotiateResponse.java

        }
    
        /**
         * Get maximum receive size
         *
         * @return maximum receive size in bytes
         */
        public int getMaxReceiveSize() {
            return maxReceiveSize;
        }
    
        /**
         * Set maximum receive size
         *
         * @param maxReceiveSize maximum receive size in bytes
         */
        public void setMaxReceiveSize(int maxReceiveSize) {
            this.maxReceiveSize = maxReceiveSize;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  3. guava/src/com/google/common/hash/AbstractStreamingHasher.java

      /** Number of bytes to be filled before process() invocation(s). */
      private final int bufferSize;
    
      /** Number of bytes processed per process() invocation. */
      private final int chunkSize;
    
      /**
       * Constructor for use by subclasses. This hasher instance will process chunks of the specified
       * size.
       *
       * @param chunkSize the number of bytes available per {@link #process(ByteBuffer)} invocation;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescTest.java

            // Verify bytes written
            assertEquals(8, bytesWritten);
    
            // Verify FID (2 bytes)
            assertEquals(fid, SMBUtil.readInt2(dst, dstIndex));
    
            // Verify reserved bytes (2 bytes at positions 2-3)
            assertEquals(0x00, dst[dstIndex + 2]);
            assertEquals(0x00, dst[dstIndex + 3]);
    
            // Verify security information (4 bytes)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.9K bytes
    - Viewed (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketRecorder.kt

        }
      }
    
      override fun onMessage(
        webSocket: WebSocket,
        bytes: ByteString,
      ) {
        Platform.get().log("[WS $name] onMessage", Platform.INFO, null)
        val delegate = delegate
        if (delegate != null) {
          this.delegate = null
          delegate.onMessage(webSocket, bytes)
        } else {
          events.add(Message(bytes = bytes))
        }
      }
    
      override fun onMessage(
        webSocket: WebSocket,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/io/ByteSink.java

      }
    
      /**
       * Writes all the given bytes to this sink.
       *
       * @throws IOException if an I/O occurs while writing to this sink
       */
      public void write(byte[] bytes) throws IOException {
        checkNotNull(bytes);
    
        try (OutputStream out = openStream()) {
          out.write(bytes);
        }
      }
    
      /**
       * Writes all the bytes from the given {@code InputStream} to this sink. Does not close {@code
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  7. guava/src/com/google/common/io/ByteSink.java

      }
    
      /**
       * Writes all the given bytes to this sink.
       *
       * @throws IOException if an I/O occurs while writing to this sink
       */
      public void write(byte[] bytes) throws IOException {
        checkNotNull(bytes);
    
        try (OutputStream out = openStream()) {
          out.write(bytes);
        }
      }
    
      /**
       * Writes all the bytes from the given {@code InputStream} to this sink. Does not close {@code
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb1/com/SmbComReadAndX.java

            this.openTimeout = 0xFFFFFFFF;
        }
    
        /**
         * Gets the maximum count of bytes to read.
         *
         * @return the maxCount
         */
        public final int getMaxCount() {
            return this.maxCount;
        }
    
        /**
         * Sets the maximum count of bytes to read.
         *
         * @param maxCount
         *            the maxCount to set
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb1/util/HMACT64Test.java

            // Test constructor with a key longer than BLOCK_LENGTH (64 bytes)
            // HMACT64 truncates keys at 64 bytes
            HMACT64 hmac = new HMACT64(LONG_TEST_KEY);
            assertNotNull(hmac);
        }
    
        @Test
        void testConstructorWithShortKey() {
            // Test constructor with a key shorter than BLOCK_LENGTH (64 bytes)
            HMACT64 hmac = new HMACT64(SHORT_TEST_KEY);
            assertNotNull(hmac);
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/lock/Smb2LockTest.java

                // Verify offset (8 bytes)
                assertEquals(offset, SMBUtil.readInt8(buffer, 0));
    
                // Verify length (8 bytes)
                assertEquals(length, SMBUtil.readInt8(buffer, 8));
    
                // Verify flags (4 bytes)
                assertEquals(flags, SMBUtil.readInt4(buffer, 16));
    
                // Verify reserved field is zeros (4 bytes)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
Back to top