Search Options

Results per page
Sort
Preferred Languages
Advance

Results 341 - 350 of 1,217 for differ (1.7 sec)

  1. 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)
  2. src/test/java/jcifs/internal/fscc/FileFsFullSizeInformationTest.java

                // Given
                ByteBuffer buffer = ByteBuffer.allocate(32);
                buffer.order(ByteOrder.LITTLE_ENDIAN);
                buffer.putLong(Long.MAX_VALUE);
                buffer.putLong(Long.MAX_VALUE);
                buffer.putLong(Long.MAX_VALUE);
                buffer.putInt(Integer.MAX_VALUE);
                buffer.putInt(Integer.MAX_VALUE);
                byte[] bufferArray = buffer.array();
    
                // When
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 30.5K bytes
    - Viewed (0)
  3. 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)
  4. src/test/java/jcifs/internal/fscc/FileFsSizeInformationTest.java

            @Test
            @DisplayName("Should decode buffer with zero values")
            void shouldDecodeBufferWithZeroValues() throws SMBProtocolDecodingException {
                // Given
                ByteBuffer buffer = ByteBuffer.allocate(24);
                buffer.order(ByteOrder.LITTLE_ENDIAN);
                buffer.putLong(0L);
                buffer.putLong(0L);
                buffer.putInt(0);
                buffer.putInt(0);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 25.9K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt

       * to buffer chunks; typically by using a buffered sink with this sink.
       */
      private inner class ChunkedSink : Sink {
        private val timeout = ForwardingTimeout(socket.sink.timeout())
        private var closed: Boolean = false
    
        override fun timeout(): Timeout = timeout
    
        override fun write(
          source: Buffer,
          byteCount: Long,
        ) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 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. 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