Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 198 for k1024 (0.65 sec)

  1. src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyResponseTest.java

        }
    
        @Test
        @DisplayName("Should read multiple notifications from wire format")
        void testReadMultipleNotifications() throws Exception {
            // Given
            byte[] buffer = new byte[1024];
            int offset = 0;
    
            // Set header start position
            setHeaderStart(response, 64);
    
            // Write structure header
            SMBUtil.writeInt2(9, buffer, offset);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  2. src/test/java/jcifs/config/DelegatingConfigurationTest.java

            when(mockDelegate.getTransactionBufferSize()).thenReturn(65024);
            when(mockDelegate.getBufferCacheSize()).thenReturn(16);
            when(mockDelegate.getNotifyBufferSize()).thenReturn(1024);
    
            // When
            int sendBufferSize = delegatingConfig.getSendBufferSize();
            int receiveBufferSize = delegatingConfig.getReceiveBufferSize();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbPipeHandleImpl.java

                    if ((getPipeType() & SmbPipeResource.PIPE_TYPE_DCE_TRANSACT) == SmbPipeResource.PIPE_TYPE_DCE_TRANSACT) {
                        req.setMaxDataCount(1024);
                    }
                    th.send(req, resp, RequestParam.NO_RETRY);
                    return resp.getResponseLength();
                }
                if (this.call) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyRequestTest.java

    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SmbPipeHandleImplTest.java

            when(tree.send(any(Smb2IoctlRequest.class), any())).thenReturn(resp);
    
            byte[] out = new byte[10];
            int read = target.sendrecv(new byte[] { 9, 8, 7 }, 0, 3, out, 1024);
            assertEquals(42, read);
    
            // Verify we issued an SMB2 IOCTL
            ArgumentCaptor<Smb2IoctlRequest> captor = ArgumentCaptor.forClass(Smb2IoctlRequest.class);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  6. cmd/last-minute.go

    	sizeLessThan100MiB
    	sizeLessThan1GiB
    	sizeGreaterThan1GiB
    	// Add new entries here
    
    	sizeLastElemMarker
    )
    
    // sizeToTag converts a size to a tag.
    func sizeToTag(size int64) int {
    	switch {
    	case size < 1024:
    		return sizeLessThan1KiB
    	case size < 1024*1024:
    		return sizeLessThan1MiB
    	case size < 10*1024*1024:
    		return sizeLessThan10MiB
    	case size < 100*1024*1024:
    		return sizeLessThan100MiB
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Jul 05 17:40:45 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/nego/EncryptionNegotiateContextTest.java

    @ExtendWith(MockitoExtension.class)
    @DisplayName("EncryptionNegotiateContext Tests")
    class EncryptionNegotiateContextTest {
    
        @Mock
        private Configuration mockConfig;
    
        private static final int BUFFER_SIZE = 1024;
        private byte[] buffer;
    
        @BeforeEach
        void setUp() {
            buffer = new byte[BUFFER_SIZE];
        }
    
        @Nested
        @DisplayName("Constructor Tests")
        class ConstructorTests {
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationResponseTest.java

        }
    
        @Test
        @DisplayName("Test buffer management")
        void testBufferManagement() {
            // Test buffer setting and releasing
            byte[] testBuffer = new byte[1024];
            response.setBuffer(testBuffer);
    
            byte[] releasedBuffer = response.releaseBuffer();
            assertSame(testBuffer, releasedBuffer);
    
            // After release, the buffer should be null
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/hash/Hashing.java

       * underlying hash functions together. This can be useful if you need to generate hash codes of a
       * specific length.
       *
       * <p>For example, if you need 1024-bit hash codes, you could join two {@link Hashing#sha512} hash
       * functions together: {@code Hashing.concatenating(Hashing.sha512(), Hashing.sha512())}.
       *
       * @since 19.0
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 29.8K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

            makeLocalCache(createCacheBuilder().concurrencyLevel(1).initialCapacity(1));
        Segment<Object, Object> segment = map.segments[0];
        assertEquals(1, segment.table.length());
    
        int count = 1024;
        for (int i = 0; i < count; i++) {
          Object key = new Object();
          Object value = new Object();
          int hash = map.hash(key);
          assertNull(segment.put(key, hash, value, false));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 110.5K bytes
    - Viewed (0)
Back to top