Search Options

Results per page
Sort
Preferred Languages
Advance

Results 321 - 330 of 954 for buffer3 (0.82 sec)

  1. src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateResponse.java

        }
    
        @Override
        protected int readBytesWireFormat(final byte[] buffer, int bufferIndex) throws SMBProtocolDecodingException {
            final int start = bufferIndex;
    
            // Validate minimum buffer size for SMB2 negotiate response
            if (buffer == null || buffer.length < bufferIndex + 65) {
                throw new SMBProtocolDecodingException("Buffer too small for SMB2 negotiate response (minimum 65 bytes required)");
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 24K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationResponseTest.java

            setFieldValue(response, "wordCount", 10);
    
            byte[] buffer = new byte[256];
            SMBUtil.writeInt2(fileAttribute, buffer, 0);
            SMBUtil.writeUTime(0, buffer, 2);
            SMBUtil.writeInt4(0, buffer, 6);
    
            response.readParameterWordsWireFormat(buffer, 0);
    
            assertEquals(fileAttribute, response.getAttributes());
        }
    
        @ParameterizedTest
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/Trans2QueryFSInformationResponse.java

            case SMB_QUERY_FS_SIZE_INFO -> readSmbQueryFSSizeInfoWireFormat(buffer, bufferIndex);
            case SMB_FS_FULL_SIZE_INFORMATION -> readFsFullSizeInformationWireFormat(buffer, bufferIndex);
            default -> 0;
            };
        }
    
        int readSmbInfoAllocationWireFormat(final byte[] buffer, int bufferIndex) {
            final int start = bufferIndex;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/io/Smb2ReadRequest.java

         *            the configuration to use for this request
         * @param fileId
         *            the file ID to read from
         * @param outputBuffer
         *            the buffer to read data into
         * @param outputBufferOffset
         *            the offset in the output buffer to start writing data
         */
        public Smb2ReadRequest(final Configuration config, final byte[] fileId, final byte[] outputBuffer, final int outputBufferOffset) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/io/SourceSinkFactories.java

          StringBuilder builder = new StringBuilder();
          CharBuffer buffer = CharBuffer.allocate(100);
          while (reader.read(buffer) != -1) {
            Java8Compatibility.flip(buffer);
            builder.append(buffer);
            Java8Compatibility.clear(buffer);
          }
          return builder.toString();
        }
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 17.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/util/Base64.java

                buffer.append(ALPHABET.charAt(block >>> 6 & 0x3f));
                buffer.append(ALPHABET.charAt(block & 0x3f));
            }
            if (remainder == 0) {
                return buffer.toString();
            }
            if (remainder == 1) {
                block = (bytes[i] & 0xff) << 4;
                buffer.append(ALPHABET.charAt(block >>> 6));
                buffer.append(ALPHABET.charAt(block & 0x3f));
                buffer.append("==");
    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/smb1/smb1/Trans2QueryFSInformationResponseTest.java

            byte[] buffer = new byte[20];
            // Mock data for SmbInfoAllocation
            // idFileSystem (4 bytes, skipped)
            writeInt4(100, buffer, 4); // sectPerAlloc
            writeInt4(1000, buffer, 8); // alloc
            writeInt4(500, buffer, 12); // free
            writeInt2(512, buffer, 16); // bytesPerSect
    
            int bytesRead = response.readDataWireFormat(buffer, 0, buffer.length);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  8. docs/smb3-features/04-directory-leasing-design.md

                this.cacheScope = DirectoryCacheScope.values()[scopeOrdinal];
                dataOffset += 4;
                
                this.maxCacheAge = readInt8(buffer, dataOffset);
                dataOffset += 8;
                
                int flags = readInt4(buffer, dataOffset);
                dataOffset += 4;
                
                this.notificationFilter = readInt4(buffer, dataOffset);
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 36.2K 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. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/WebSocketWriter.kt

      private val minimumDeflateSize: Long,
    ) : Closeable {
      /** This holds outbound data for compression and masking. */
      private val messageBuffer = Buffer()
    
      /** The [Buffer] of [sink]. Write to this and then flush/emit [sink]. */
      private val sinkBuffer: Buffer = sink.buffer
      private var writerClosed = false
    
      /** Lazily initialized on first use. */
      private var messageDeflater: MessageDeflater? = null
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 6K bytes
    - Viewed (0)
Back to top