Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 40 for Truncated (0.24 sec)

  1. cmd/object-api-datatypes.go

    type ListObjectVersionsInfo struct {
    	// Indicates whether the returned list objects response is truncated. A
    	// value of true indicates that the list was truncated. The list can be truncated
    	// if the number of objects exceeds the limit allowed or specified
    	// by max keys.
    	IsTruncated bool
    
    	// When response is truncated (the IsTruncated element value in the response is true),
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  2. cmd/object-api-listobjects_test.go

    						t.Errorf("Test %d: %s: Expected NextMarker to contain a string since listing is truncated, but instead found it to be empty", i+1, instanceType)
    					}
    
    					if !testCase.resultL.IsTruncated && resultL.NextMarker != "" {
    						if !resultL.IsTruncated || len(resultL.Objects) == 0 {
    							t.Errorf("Test %d: %s: Expected NextMarker to be empty since listing is not truncated, but instead found `%v`", i+1, instanceType, resultL.NextMarker)
    						}
    					}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 76.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/ntlmssp/av/AvSingleHostTest.java

            // Verify customData part (should be truncated)
            byte[] expectedCustomData = { 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08 };
            byte[] actualCustomData = new byte[8];
            System.arraycopy(value, 8, actualCustomData, 0, 8);
            assertArrayEquals(expectedCustomData, actualCustomData);
    
            // Verify machineId part (should be truncated)
            byte[] expectedMachineId = new byte[32];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  4. src/test/java/jcifs/ntlmssp/av/AvPairsTest.java

            });
    
            assertEquals("Invalid avLen for AvEOL", exception.getMessage(), "Should throw exception for invalid EOL");
        }
    
        /**
         * Test decode with truncated data
         */
        @Test
        @DisplayName("Decode should handle truncated data")
        void testDecodeTruncatedData() {
            byte[] truncatedData = new byte[3]; // Less than 4 bytes
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/util/HMACT64.java

    import java.security.MessageDigest;
    
    /**
     * This is an implementation of the HMACT64 keyed hashing algorithm.
     * HMACT64 is defined by Luke Leighton as a modified HMAC-MD5 (RFC 2104)
     * in which the key is truncated at 64 bytes (rather than being hashed
     * via MD5).
     */
    public class HMACT64 extends MessageDigest implements Cloneable {
    
        private static final int BLOCK_LENGTH = 64;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  6. src/main/java/jcifs/util/HMACT64.java

    import java.security.MessageDigest;
    
    /**
     * This is an implementation of the HMACT64 keyed hashing algorithm.
     * HMACT64 is defined by Luke Leighton as a modified HMAC-MD5 (RFC 2104)
     * in which the key is truncated at 64 bytes (rather than being hashed
     * via MD5).
     */
    class HMACT64 extends MessageDigest implements Cloneable {
    
        private static final int BLOCK_LENGTH = 64;
    
        private static final byte IPAD = (byte) 0x36;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  7. src/test/java/jcifs/ntlmssp/Type2MessageTest.java

                // Challenge bytes would be at 24-31 but we're truncated
    
                // When & Then
                assertThrows(ArrayIndexOutOfBoundsException.class, () -> new Type2Message(truncatedMessage));
            }
    
            @Test
            @DisplayName("parse should handle truncated message missing target info")
            void testParse_InputLengthTooSmallForTargetInfo() {
                // Given
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 38.9K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/NtlmContext.java

            byte[] trunc = new byte[8];
            System.arraycopy(dgst, 0, trunc, 0, 8);
    
            if (log.isDebugEnabled()) {
                log.debug("Digest " + Hexdump.toHexString(dgst));
                log.debug("Truncated " + Hexdump.toHexString(trunc));
            }
    
            if ((this.ntlmsspFlags & NtlmFlags.NTLMSSP_NEGOTIATE_KEY_EXCH) != 0) {
                try {
                    trunc = this.sealClientHandle.doFinal(trunc);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 17.3K bytes
    - Viewed (0)
  9. src/main/java/jcifs/netbios/Name.java

            return this.hexCode;
        }
    
        /**
         * Constructs a NetBIOS name with the specified parameters.
         *
         * @param cfg the configuration to use
         * @param name the NetBIOS name (will be truncated to 15 characters if longer)
         * @param hexCode the NetBIOS name type code
         * @param scope the NetBIOS scope identifier
         */
        public Name(final Configuration cfg, String name, final int hexCode, final String scope) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/netbios/Name.java

                          */
    
        Name() {
        }
    
        /**
         * Creates a NetBIOS name with the specified attributes.
         *
         * @param name the NetBIOS name (will be truncated to 15 characters if longer)
         * @param hexCode the NetBIOS name type/suffix
         * @param scope the NetBIOS scope identifier (uses default if null or empty)
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.2K bytes
    - Viewed (0)
Back to top