Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 1,850 for size8 (0.02 sec)

  1. src/main/java/jcifs/internal/SmbNegotiationResponse.java

        /**
         * Gets the negotiated send buffer size.
         *
         * @return the send buffer size
         */
        int getSendBufferSize();
    
        /**
         * Gets the negotiated receive buffer size.
         *
         * @return the receive buffer size
         */
        int getReceiveBufferSize();
    
        /**
         * Gets the negotiated maximum transaction buffer size.
         *
         * @return the transaction buffer size
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  2. cmd/streaming-v4-unsigned.go

    		}
    
    		// Manually deserialize the size since AWS specified
    		// the chunk size to be of variable width. In particular,
    		// a size of 16 is encoded as `10` while a size of 64 KB
    		// is `10000`.
    		switch {
    		case b >= '0' && b <= '9':
    			size = size<<4 | int(b-'0')
    		case b >= 'a' && b <= 'f':
    			size = size<<4 | int(b-('a'-10))
    		case b >= 'A' && b <= 'F':
    			size = size<<4 | int(b-('A'-10))
    		default:
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Apr 03 14:55:52 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SmbFileFilterTest.java

            // zero size -> reject
            reset(smbFile);
            when(smbFile.length()).thenReturn(0L);
            assertFalse(filter.accept(smbFile), "Zero size should be rejected");
            verify(smbFile, times(1)).length();
    
            // positive size -> accept
            reset(smbFile);
            when(smbFile.length()).thenReturn(42L);
            assertTrue(filter.accept(smbFile), "Positive size should be accepted");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  4. src/test/java/jcifs/ntlmssp/av/AvSingleHostTest.java

         * Should correctly parse the raw bytes.
         */
        @Test
        void testAvSingleHostRawConstructor() {
            byte[] rawData = new byte[48]; // 8 (size/zero) + 8 (customData) + 32 (machineId)
            // Simulate some data
            rawData[0] = 48; // size
            rawData[16] = 0x01; // machineId start
            rawData[17] = 0x02;
    
            AvSingleHost avSingleHost = new AvSingleHost(rawData);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/io/Smb2WriteRequestTest.java

            }
    
            @Test
            @DisplayName("Should align size to 8-byte boundary")
            void testSizeAlignment() {
                // Test various data lengths to ensure 8-byte alignment
                for (int i = 0; i < 16; i++) {
                    request.setData(new byte[i], 0, i);
                    int size = request.size();
                    assertEquals(0, size % 8, "Size should be aligned to 8-byte boundary");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.4K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ImmutableCollection.java

        checkNotNull(other);
        int size = size();
    
        if (other.length < size) {
          Object[] internal = internalArray();
          if (internal != null) {
            return Platform.copy(internal, internalArrayStart(), internalArrayEnd(), other);
          }
          other = ObjectArrays.newArray(other, size);
        } else if (other.length > size) {
          other[size] = null;
        }
        copyIntoArray(other, 0);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 18.7K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/info/Smb2QueryDirectoryRequestTest.java

            assertEquals(0, bytesRead);
        }
    
        @Test
        @DisplayName("Test size calculation with different buffer sizes")
        void testSizeCalculationWithDifferentBufferSizes() {
            // Test with smaller maximum buffer size
            when(mockConfig.getMaximumBufferSize()).thenReturn(8192);
            when(mockConfig.getListSize()).thenReturn(16384);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/lock/Smb2LockRequestTest.java

                assertEquals(expectedSize, req.size());
            }
    
            @Test
            @DisplayName("Should align size to 8-byte boundary")
            void testSizeAlignment() {
                int size = request.size();
                assertEquals(0, size % 8, "Size should be aligned to 8-byte boundary");
            }
    
            @ParameterizedTest
            @DisplayName("Should calculate size for various lock counts")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 25.3K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/io/Smb2ReadRequestTest.java

            void testSizeAlignment() {
                int size = request.size();
                assertEquals(0, size % 8, "Size should be aligned to 8-byte boundary");
            }
    
            @Test
            @DisplayName("Should have consistent size regardless of parameters")
            void testSizeConsistency() {
                int originalSize = request.size();
    
                request.setReadLength(65536);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.8K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/SmbNegotiationResponseTest.java

        @DisplayName("Test getSendBufferSize returns standard size")
        void testGetSendBufferSizeStandard() {
            // Arrange
            int expectedSize = 65536;
            when(negotiationResponse.getSendBufferSize()).thenReturn(expectedSize);
    
            // Act
            int size = negotiationResponse.getSendBufferSize();
    
            // Assert
            assertEquals(expectedSize, size);
            verify(negotiationResponse).getSendBufferSize();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.6K bytes
    - Viewed (0)
Back to top