Search Options

Results per page
Sort
Preferred Languages
Advance

Results 311 - 320 of 1,199 for butter (0.12 sec)

  1. 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)
  2. 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)
  3. src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseContextTest.java

            byte[] buffer = new byte[context.size()];
            int bytesWritten = context.encode(buffer, 0);
    
            assertEquals(context.size(), bytesWritten);
    
            // Verify context header
            assertEquals(0, SMBUtil.readInt4(buffer, 0)); // Next
            assertEquals(16, SMBUtil.readInt2(buffer, 4)); // NameOffset
            assertEquals(4, SMBUtil.readInt2(buffer, 6)); // NameLength
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. src/test/java/jcifs/util/HMACT64Test.java

                byte[] innerDigest = "inner_digest".getBytes();
                byte[] expectedOutput = "output_data".getBytes();
                byte[] buffer = new byte[expectedOutput.length + 10]; // Buffer with extra space
    
                when(mockMd5.digest()).thenReturn(innerDigest);
                when(mockMd5.digest(buffer, 0, expectedOutput.length)).thenAnswer(invocation -> {
                    byte[] b = invocation.getArgument(0);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.6K bytes
    - Viewed (0)
Back to top