Search Options

Results per page
Sort
Preferred Languages
Advance

Results 291 - 300 of 979 for buffer (0.03 sec)

  1. src/main/java/jcifs/smb1/smb1/ServerMessageBlock.java

        int readHeaderWireFormat(final byte[] buffer, final int bufferIndex) {
            command = buffer[bufferIndex + CMD_OFFSET];
            errorCode = readInt4(buffer, bufferIndex + ERROR_CODE_OFFSET);
            flags = buffer[bufferIndex + FLAGS_OFFSET];
            flags2 = readInt2(buffer, bufferIndex + FLAGS_OFFSET + 1);
            tid = readInt2(buffer, bufferIndex + TID_OFFSET);
            pid = readInt2(buffer, bufferIndex + TID_OFFSET + 2);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.7K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/util/JobProcess.java

         * Uses the default buffer size and no output callback.
         *
         * @param process the system process to wrap
         */
        public JobProcess(final Process process) {
            this(process, InputStreamThread.MAX_BUFFER_SIZE, null);
        }
    
        /**
         * Constructs a new JobProcess with the specified process, buffer size, and output callback.
         *
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb1/trans/TransWaitNamedPipeResponse.java

        }
    
        @Override
        protected int readSetupWireFormat(final byte[] buffer, final int bufferIndex, final int len) {
            return 0;
        }
    
        @Override
        protected int readParametersWireFormat(final byte[] buffer, final int bufferIndex, final int len) {
            return 0;
        }
    
        @Override
        protected int readDataWireFormat(final byte[] buffer, final int bufferIndex, final int len) {
            return 0;
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/ioctl/QueryNetworkInterfaceInfoResponse.java

         */
        @Override
        public int decode(byte[] buffer, int bufferIndex, int len) {
            int start = bufferIndex;
            int end = start + len;
            interfaces.clear();
    
            while (bufferIndex < end && (bufferIndex + 152) <= end) {
                // Read Next field to determine if there are more entries
                int next = SMBUtil.readInt4(buffer, bufferIndex);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/ioctl/SrvPipePeekResponseTest.java

            // Prepare exact 16 byte buffer
            byte[] buffer = new byte[16];
    
            // Set simple values
            SMBUtil.writeInt4(1, buffer, 0);
            SMBUtil.writeInt4(2, buffer, 4);
            SMBUtil.writeInt4(3, buffer, 8);
            SMBUtil.writeInt4(4, buffer, 12);
    
            // Decode
            int bytesDecoded = response.decode(buffer, 0, 16);
    
            // Verify
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  6. mockwebserver/src/test/java/mockwebserver3/internal/http2/Http2Server.kt

    import okhttp3.internal.http2.Header
    import okhttp3.internal.http2.Http2Connection
    import okhttp3.internal.http2.Http2Stream
    import okhttp3.internal.platform.Platform
    import okhttp3.tls.internal.TlsUtil.localhost
    import okio.buffer
    import okio.source
    
    /** A basic HTTP/2 server that serves the contents of a local directory.  */
    class Http2Server(
      private val baseDirectory: File,
      private val sslSocketFactory: SSLSocketFactory,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/lease/Smb2LeaseKeyTest.java

        @DisplayName("Should encode lease key to buffer")
        void testEncode() {
            byte[] testBytes = new byte[] { 0x11, 0x22, 0x33, 0x44, 0x55, 0x66, 0x77, (byte) 0x88, (byte) 0x99, (byte) 0xAA, (byte) 0xBB,
                    (byte) 0xCC, (byte) 0xDD, (byte) 0xEE, (byte) 0xFF, 0x00 };
    
            Smb2LeaseKey key = new Smb2LeaseKey(testBytes);
            byte[] buffer = new byte[20];
    
            key.encode(buffer, 2);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 00:16:17 UTC 2025
    - 6K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/dfs/DfsReferralRequestBufferTest.java

            void testEncodeIdempotency() {
                String path = "\\\\server\\share";
                buffer = new DfsReferralRequestBuffer(path, 3);
    
                byte[] dst1 = new byte[buffer.size()];
                byte[] dst2 = new byte[buffer.size()];
    
                int bytesEncoded1 = buffer.encode(dst1, 0);
                int bytesEncoded2 = buffer.encode(dst2, 0);
    
                assertEquals(bytesEncoded1, bytesEncoded2);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseTest.java

            // Max write size
            SMBUtil.writeInt4(1048576, buffer, offset + 36);
    
            // System time
            SMBUtil.writeTime(System.currentTimeMillis(), buffer, offset + 40);
    
            // Server start time
            SMBUtil.writeTime(System.currentTimeMillis() - 3600000, buffer, offset + 48);
    
            // Security buffer offset and length
            SMBUtil.writeInt2(128, buffer, offset + 56); // Offset
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 32.5K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/fscc/FileBothDirectoryInfo.java

            bufferIndex += 8;
            this.lastWriteTime = SMBUtil.readTime(buffer, bufferIndex);
            bufferIndex += 8;
            this.changeTime = SMBUtil.readTime(buffer, bufferIndex);
            bufferIndex += 8;
            this.endOfFile = SMBUtil.readInt8(buffer, bufferIndex);
            bufferIndex += 8;
            this.allocationSize = SMBUtil.readInt8(buffer, bufferIndex);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6K bytes
    - Viewed (0)
Back to top