Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 268 for 1024 (0.05 sec)

  1. src/test/java/jcifs/smb1/smb1/ServerMessageBlockTest.java

            byte[] params = { 0x01, 0x02, 0x03, 0x04 };
            byte[] bytes = { 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F };
            smb.setParamWords(params);
            smb.setBytes(bytes);
    
            byte[] buffer = new byte[1024];
            int length = smb.encode(buffer, 0);
    
            // Create a new SMB to decode into
            TestServerMessageBlock decodedSmb = new TestServerMessageBlock();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/SmbComTransaction.java

        byte subCommand;
        String name = "";
        int maxBufferSize; // set in SmbTransport.sendTransaction() before nextElement called
    
        byte[] txn_buf;
    
        SmbComTransaction() {
            maxParameterCount = 1024;
            primarySetupOffset = PRIMARY_SETUP_OFFSET;
            secondaryParameterOffset = SECONDARY_PARAMETER_OFFSET;
        }
    
        @Override
        void reset() {
            super.reset();
            isPrimary = hasMore = true;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  3. api/go1.1.txt

    pkg os (darwin-amd64-cgo), const PathListSeparator = 58
    pkg os (darwin-amd64-cgo), const PathSeparator = 47
    pkg os (freebsd-386), const DevNull = "/dev/null"
    pkg os (freebsd-386), const O_APPEND = 8
    pkg os (freebsd-386), const O_CREATE = 512
    pkg os (freebsd-386), const O_EXCL = 2048
    pkg os (freebsd-386), const O_SYNC = 128
    pkg os (freebsd-386), const O_TRUNC = 1024
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Thu Mar 31 20:37:15 UTC 2022
    - 2.6M bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top