Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 346 for Short (0.01 sec)

  1. src/test/java/jcifs/ntlmssp/NtlmMessageTest.java

            // Test with a positive value
            buffer.putShort(0, (short) 0x1234);
            assertEquals(0x1234, NtlmMessage.readUShort(data, 0), "Should read positive UShort correctly.");
    
            // Test with zero
            buffer.putShort(0, (short) 0);
            assertEquals(0, NtlmMessage.readUShort(data, 0), "Should read zero UShort correctly.");
    
            // Test with max short value (unsigned interpretation)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/dcerpc/rpcTest.java

                unicodeString.length = (short) 10;
                unicodeString.maximum_length = (short) 20;
                unicodeString.buffer = new short[] { 65, 66, 67 }; // A, B, C
    
                // Then: Values should be set correctly
                assertEquals((short) 10, unicodeString.length);
                assertEquals((short) 20, unicodeString.maximum_length);
                assertArrayEquals(new short[] { 65, 66, 67 }, unicodeString.buffer);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/dcerpc/msrpc/lsarpc.java

                }
                this.name.length = (short) _src.dec_ndr_short();
                this.name.maximum_length = (short) _src.dec_ndr_short();
                final int _name_bufferp = _src.dec_ndr_long();
                _src.align(4);
                if (this.dns_domain == null) {
                    this.dns_domain = new rpc.unicode_string();
                }
                this.dns_domain.length = (short) _src.dec_ndr_short();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 44.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/dcerpc/msrpc/lsarpcTest.java

                    (int) (int) (short) 'd', (int) (int) (short) 'e', (int) (short) 'f', (int) (short) 'g', (int) (short) 'h',
                    (int) (short) 'i', (int) (short) 'j', (int) (short) 'k', (int) (short) 'l', (int) (short) 'm', (int) (short) 'n',
                    (int) (short) 'o', (int) (short) 'p', (int) (short) 'q', (int) (short) 'r');
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 60.8K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/dcerpc/rpc.java

            /**
             * The actual length of the string in bytes.
             */
            public short length;
            /**
             * The maximum allocated length of the string in bytes.
             */
            public short maximum_length;
            /**
             * The buffer containing the Unicode characters.
             */
            public short[] buffer;
    
            @Override
            public void encode(NdrBuffer _dst) throws NdrException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/collection/ArrayUtil.java

        /**
         * Returns a new array with the specified short value appended to the end of the short array.
         *
         * @param array
         *            the array. Must not be {@literal null}
         * @param value
         *            the value to add
         * @return a new array with the value appended
         */
        public static short[] add(final short[] array, final short value) {
            assertArgumentNotNull("array", array);
    
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 41.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/persistent/HandleGuid.java

            long leastSig = guid.getLeastSignificantBits();
    
            // Extract GUID components from UUID
            int data1 = (int) (mostSig >>> 32); // first 4 bytes
            short data2 = (short) (mostSig >>> 16); // next 2 bytes
            short data3 = (short) mostSig; // next 2 bytes
    
            // Write in little-endian format as specified by MS-SMB2
            bb.putInt(data1); // data1 (4 bytes, little-endian)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  8. src/main/java/jcifs/dcerpc/rpc.java

                // Default constructor
            }
    
            /** The length of the string in bytes */
            public short length;
            /** The maximum length of the string buffer in bytes */
            public short maximum_length;
            /** The Unicode character buffer */
            public short[] buffer;
    
            @Override
            public void encode(NdrBuffer _dst) throws NdrException {
                _dst.align(4);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  9. src/test/java/jcifs/netbios/NameServiceClientImplTest.java

        @Timeout(value = 1, unit = TimeUnit.SECONDS) // Very short timeout
        void testBroadcastTimeout() {
            // Configure for broadcast-only resolution with very short timeout
            when(mockConfig.getResolveOrder()).thenReturn(Arrays.asList(ResolverType.RESOLVER_BCAST));
            when(mockConfig.getNetbiosSoTimeout()).thenReturn(50); // Very short
            when(mockConfig.getNetbiosRetryCount()).thenReturn(1);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 11K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/dcerpc/msrpc/lsarpc.java

                }
                name.length = (short) _src.dec_ndr_short();
                name.maximum_length = (short) _src.dec_ndr_short();
                final int _name_bufferp = _src.dec_ndr_long();
                _src.align(4);
                if (dns_domain == null) {
                    dns_domain = new rpc.unicode_string();
                }
                dns_domain.length = (short) _src.dec_ndr_short();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 42.5K bytes
    - Viewed (0)
Back to top