Search Options

Results per page
Sort
Preferred Languages
Advance

Results 941 - 950 of 1,093 for Bearer (0.04 sec)

  1. src/bytes/buffer.go

    )
    
    // ErrTooLarge is passed to panic if memory cannot be allocated to store data in a buffer.
    var ErrTooLarge = errors.New("bytes.Buffer: too large")
    var errNegativeRead = errors.New("bytes.Buffer: reader returned negative count from Read")
    
    const maxInt = int(^uint(0) >> 1)
    
    // Bytes returns a slice of length b.Len() holding the unread portion of the buffer.
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon May 19 17:38:56 UTC 2025
    - 16K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectRequestTest.java

            // Then - response is created even with null config
            assertNotNull(response);
        }
    
        @Test
        @DisplayName("Should verify SMB2 header length constant usage")
        void testSmb2HeaderLengthUsage() {
            // Given
            Configuration mockConfig = mock(Configuration.class);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/ServerMessageBlock2RequestTest.java

            @Override
            public int size() {
                return testSize;
            }
    
            @Override
            protected int writeHeaderWireFormat(byte[] dst, int dstIndex) {
                return 64; // Simulate header writing
            }
    
            @Override
            public int encode(byte[] dst, int dstIndex) {
                // We need to override the parent ServerMessageBlock2's encode
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/trans/nt/FileNotifyInformationImplTest.java

            byte[] buffer = createValidNotificationBuffer("", FileNotifyInformation.FILE_ACTION_ADDED);
    
            int bytesRead = notifyInfo.decode(buffer, 0, buffer.length);
    
            assertTrue(bytesRead >= 12); // At least the header bytes
            assertEquals("", notifyInfo.getFileName());
        }
    
        /**
         * Helper method to create a valid notification buffer
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/info/Smb2QueryDirectoryRequestTest.java

            byte[] expectedBytes = unicodeFileName.getBytes(StandardCharsets.UTF_16LE);
            assertEquals(32 + expectedBytes.length, bytesWritten);
    
            // Verify filename length in header
            int fnLength = buffer[Smb2Constants.SMB2_HEADER_LENGTH + 26] | (buffer[Smb2Constants.SMB2_HEADER_LENGTH + 27] << 8);
            assertEquals(expectedBytes.length, fnLength);
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/netbios/SessionRequestPacketTest.java

            // Read from buffer
            ByteArrayInputStream bais = new ByteArrayInputStream(buffer);
            SessionRequestPacket readPacket = new SessionRequestPacket(mockConfig);
    
            // Skip header (already read by parent class)
            bais.skip(4);
            readPacket.type = buffer[0] & 0xFF;
            readPacket.length = ((buffer[1] & 0x01) << 16) + ((buffer[2] & 0xFF) << 8) + (buffer[3] & 0xFF);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

    import com.google.common.reflect.Reflection;
    import com.google.common.reflect.TypeToken;
    import java.io.ByteArrayInputStream;
    import java.io.File;
    import java.io.InputStream;
    import java.io.Reader;
    import java.io.StringReader;
    import java.lang.annotation.ElementType;
    import java.lang.annotation.Retention;
    import java.lang.annotation.RetentionPolicy;
    import java.lang.annotation.Target;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 28.7K bytes
    - Viewed (0)
  8. src/test/java/jcifs/netbios/NodeStatusRequestTest.java

        @Test
        void readWireFormat_shouldDelegateToParent() {
            // Arrange
            nodeStatusRequest = new NodeStatusRequest(mockConfig, mockName);
            byte[] src = new byte[200];
            // Setup minimal valid header
            src[0] = 0x00;
            src[1] = 0x01; // Transaction ID
            src[2] = 0x00; // Flags
            src[3] = 0x00; // Flags
            src[4] = 0x00;
            src[5] = 0x01; // Question count
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb1/smb1/SmbComTransactionResponseTest.java

            assertTrue(s.contains("totalParameterCount="), "string representation contains totalParameterCount field");
        }
    
        /**
         * Verify that readParameterWordsWireFormat parses the SMB header
         * correctly and updates all relevant members.
         */
        @Test
        public void readParameterWordsWireFormat_parsesHeaderCorrectly() {
            DummyResponse d = new DummyResponse();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12K bytes
    - Viewed (0)
  10. docs/site-replication/run-ssec-object-replication-with-compression.sh

    # Below should fail as compression and SSEC used at the same time
    # DISABLED: We must check the response header to see if compression was actually applied
    #RESULT=$({ ./mc put /tmp/data/mpartobj.txt minio1/test-bucket/mpartobj.txt --enc-c "minio1/test-bucket/mpartobj.txt=${TEST_MINIO_ENC_KEY}" --insecure; } 2>&1)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Sep 24 08:03:58 UTC 2024
    - 8.3K bytes
    - Viewed (0)
Back to top