Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 91 for 512 (0.02 sec)

  1. src/test/java/jcifs/internal/fscc/FileSystemInformationTest.java

                buffer[9] = 0x10; // alloc = 4096
                buffer[12] = 0x00;
                buffer[13] = 0x08; // free = 2048
                buffer[16] = 0x00;
                buffer[17] = 0x02; // bytesPerSect = 512
    
                int bytesDecoded = smbInfoAllocation.decode(buffer, 0, buffer.length);
    
                assertEquals(20, bytesDecoded);
                assertEquals(8L * 4096L * 512L, smbInfoAllocation.getCapacity());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/CommonServerMessageBlockTest.java

        }
    
        @Test
        @DisplayName("Test encode and decode round trip")
        void testEncodeDecodeRoundTrip() throws SMBProtocolDecodingException {
            // Given
            byte[] buffer = new byte[512];
            int encodeIndex = 0;
            int decodeIndex = 0;
            int encodeLength = 100;
            int decodeLength = 100;
    
            when(messageBlock.encode(buffer, encodeIndex)).thenReturn(encodeLength);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.7K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/trans/TransWaitNamedPipeResponseTest.java

            int[][] testCases = { { 0, 256 }, { 128, 128 }, { 255, 1 }, { 0, 0 } };
    
            for (int[] testCase : testCases) {
                // Arrange
                byte[] buffer = new byte[512];
                int bufferIndex = testCase[0];
                int len = testCase[1];
    
                // Act
                int result = response.readDataWireFormat(buffer, bufferIndex, len);
    
                // Assert
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/netbios/NbtSocket.java

    write( buf, 4, len ). Calling write( buf, 0, len ) will generate an error.
     */
    
    public class NbtSocket extends Socket {
    
        private static final int SSN_SRVC_PORT = 139;
        private static final int BUFFER_SIZE = 512;
        private static final int DEFAULT_SO_TIMEOUT = 5000;
    
        private static LogStream log = LogStream.getInstance();
    
        private NbtAddress address;
        private Name calledName;
        private int soTimeout;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/cache/CacheBuilderTest.java

        CacheBuilder<Object, Object> builder =
            CacheBuilder.newBuilder().initialCapacity(512).maximumSize(Long.MAX_VALUE);
        LocalCache<?, ?> cache = ((LocalCache.LocalManualCache<?, ?>) builder.build()).localCache;
        assertThat(cache.segments.length * cache.segments[0].table.length()).isEqualTo(512);
      }
    
      @GwtIncompatible // maximumWeight
      public void testMaximumWeight_negative() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 25.1K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/cache/CacheBuilderTest.java

        CacheBuilder<Object, Object> builder =
            CacheBuilder.newBuilder().initialCapacity(512).maximumSize(Long.MAX_VALUE);
        LocalCache<?, ?> cache = ((LocalCache.LocalManualCache<?, ?>) builder.build()).localCache;
        assertThat(cache.segments.length * cache.segments[0].table.length()).isEqualTo(512);
      }
    
      @GwtIncompatible // maximumWeight
      public void testMaximumWeight_negative() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 25K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoResponseTest.java

            // Write FileFsSizeInformation data (24 bytes)
            SMBUtil.writeInt8(1000000, buffer, 20); // Total allocation units
            SMBUtil.writeInt8(500000, buffer, 28); // Available allocation units
            SMBUtil.writeInt4(512, buffer, 36); // Sectors per unit
            SMBUtil.writeInt4(4096, buffer, 40); // Bytes per sector
    
            int result = response.readBytesWireFormat(buffer, bufferIndex);
    
            assertNotNull(response.getInfo());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.5K bytes
    - Viewed (0)
  8. docs/sts/ldap.md

    ```
    
    If you set an empty lookup bind password, the lookup bind will use the unauthenticated authentication mechanism, as described in [RFC 4513 Section 5.1.2](https://tools.ietf.org/html/rfc4513#section-5.1.2).
    
    ### User lookup
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 18.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/io/Smb2FlushRequestTest.java

        @ValueSource(ints = { 0, 10, 50, 100 })
        @DisplayName("writeBytesWireFormat should work at different offsets")
        void testWriteBytesWireFormatAtDifferentOffsets(int offset) {
            byte[] buffer = new byte[512];
    
            int written = request.writeBytesWireFormat(buffer, offset);
    
            assertEquals(24, written);
            assertEquals(24, SMBUtil.readInt2(buffer, offset));
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/netbios/NodeStatusRequestTest.java

            Name realName = new Name(mockConfig, "WORKSTATION", 0x00, null);
            nodeStatusRequest = new NodeStatusRequest(mockConfig, realName);
            nodeStatusRequest.nameTrnId = 0x1234;
    
            byte[] buffer = new byte[512];
    
            // Act - Write
            int writeLength = nodeStatusRequest.writeWireFormat(buffer, 0);
    
            // Assert write
            assertTrue(writeLength > 0);
    
            // Create new request to read
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.9K bytes
    - Viewed (0)
Back to top