Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 346 for Short (0.01 sec)

  1. src/main/java/jcifs/smb1/dcerpc/msrpc/MsrpcQueryInformationPolicy.java

         * @param level the information level to query
         * @param info the object to store the query results
         */
        public MsrpcQueryInformationPolicy(final LsaPolicyHandle policyHandle, final short level, final NdrObject info) {
            super(policyHandle, level, info);
            ptype = 0;
            flags = DCERPC_FIRST_FRAG | DCERPC_LAST_FRAG;
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  2. docs/en/docs/features.md

    No more typing the wrong key names, coming back and forth between docs, or scrolling up and down to find if you finally used `username` or `user_name`.
    
    ### Short { #short }
    
    It has sensible **defaults** for everything, with optional configurations everywhere. All the parameters can be fine-tuned to do what you need and to define the API you need.
    
    But by default, it all **"just works"**.
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/dcerpc/msrpc/MsrpcLookupSids.java

            super(policyHandle, new LsarSidArrayX(sids), new jcifs.dcerpc.msrpc.lsarpc.LsarRefDomainList(),
                    new jcifs.dcerpc.msrpc.lsarpc.LsarTransNameArray(), (short) 1, sids.length);
            this.ptype = 0;
            this.flags = DCERPC_FIRST_FRAG | DCERPC_LAST_FRAG;
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/base/DefaultsTest.java

        assertEquals('\0', Defaults.defaultValue(char.class).charValue());
        assertEquals(0, Defaults.defaultValue(byte.class).byteValue());
        assertEquals(0, Defaults.defaultValue(short.class).shortValue());
        assertEquals(0, Defaults.defaultValue(int.class).intValue());
        assertEquals(0, Defaults.defaultValue(long.class).longValue());
        assertEquals(0.0f, Defaults.defaultValue(float.class).floatValue());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/base/DefaultsTest.java

        assertEquals('\0', Defaults.defaultValue(char.class).charValue());
        assertEquals(0, Defaults.defaultValue(byte.class).byteValue());
        assertEquals(0, Defaults.defaultValue(short.class).shortValue());
        assertEquals(0, Defaults.defaultValue(int.class).intValue());
        assertEquals(0, Defaults.defaultValue(long.class).longValue());
        assertEquals(0.0f, Defaults.defaultValue(float.class).floatValue());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  6. src/test/java/jcifs/MsrpcQueryInformationPolicyTest.java

         * It should correctly call the super constructor and set ptype and flags.
         */
        @Test
        @DisplayName("Constructor should initialize fields and call super constructor")
        void constructorTest() {
            short level = 1;
    
            // Create an instance of the class under test
            MsrpcQueryInformationPolicy policy = new MsrpcQueryInformationPolicy(mockPolicyHandle, level, mockNdrObject);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/dcerpc/msrpc/MsrpcLookupSids.java

         */
        public MsrpcLookupSids(final LsaPolicyHandle policyHandle, final SID[] sids) {
            super(policyHandle, new LsarSidArrayX(sids), new lsarpc.LsarRefDomainList(), new lsarpc.LsarTransNameArray(), (short) 1,
                    sids.length);
            this.sids = sids;
            ptype = 0;
            flags = DCERPC_FIRST_FRAG | DCERPC_LAST_FRAG;
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/smb1/ServerMessageBlockTest.java

        void testReadStringWithMaxLength() {
            smb.useUnicode = false;
            byte[] buffer = new byte[6];
            System.arraycopy("short".getBytes(), 0, buffer, 0, 5);
            buffer[5] = 0; // Null terminator
            String result = smb.readString(buffer, 0, 5, false);
            assertEquals("short", result);
        }
    
        @Test
        void testReadStringWithMaxLengthExceeded() {
            smb.useUnicode = false;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/create/LeaseV2CreateContextResponse.java

            int start = bufferIndex;
    
            if (len < 52) {
                throw new SMBProtocolDecodingException("Lease V2 context data too short: " + len);
            }
    
            // Read lease V2 data (52 bytes)
            byte[] keyBytes = new byte[16];
            System.arraycopy(buffer, bufferIndex, keyBytes, 0, 16);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTimingAttackTest.java

            }
        }
    
        /**
         * Test constant-time comparison with various password lengths.
         */
        @Test
        public void testConstantTimeWithDifferentLengths() throws Exception {
            char[] password1 = "short".toCharArray();
            char[] password2 = "verylongpasswordthatisdifferent".toCharArray();
    
            NtlmPasswordAuthenticator auth1 = new NtlmPasswordAuthenticator("domain", "user", new String(password1));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11.2K bytes
    - Viewed (0)
Back to top