Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 474 for shortp (0.04 sec)

  1. src/test/java/jcifs/internal/dfs/ReferralTest.java

            bb.putShort((short) 3);
            bb.putShort((short) 65535); // max unsigned short
            bb.putShort((short) 65535);
            bb.putShort((short) 65535);
            bb.putShort((short) 65535);
            bb.putShort((short) 65535);
            bb.putShort((short) 0);
            bb.putShort((short) 0);
            bb.putShort((short) 0);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 22K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/dfs/DfsReferralResponseBufferTest.java

                bb.putShort((short) 20); // pathConsumed
                bb.putShort((short) 1); // numReferrals
                bb.putShort((short) 15); // tflags
                bb.putShort((short) 0); // tflags high bytes
    
                // Simple v1 referral
                bb.putShort((short) 1); // version
                bb.putShort((short) 16); // size
                bb.putShort((short) 1); // serverType
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/convert/ShortConversionUtil.java

                if (pattern != null) {
                    return Short.valueOf(new SimpleDateFormat(pattern).format(o));
                }
                return (short) ((java.util.Date) o).getTime();
            } else if (o instanceof Boolean) {
                return ((Boolean) o) ? (short) 1 : (short) 0;
            } else {
                return toShort(o.toString());
            }
        }
    
        private static Short toShort(final String s) {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/pac/PacUnicodeStringTest.java

    class PacUnicodeStringTest {
    
        /**
         * Tests the constructor and getter methods.
         */
        @Test
        void testConstructorAndGetters() {
            // Create a new instance with some test data
            short length = 10;
            short maxLength = 20;
            int pointer = 100;
            PacUnicodeString pacString = new PacUnicodeString(length, maxLength, pointer);
    
            // Verify that the object was created
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  5. 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)
  6. android/guava/src/com/google/common/collect/CompactHashMap.java

      //
      // Essentially, then, `table[h]` gives us the start of a linked list in `entries`, where every
      // element of the list has the short hash value h.
      //
      // A wrinkle here is that the value 0 (called UNSET in the code) is used as the equivalent of a
      // null pointer. If `table[h] == 0` that means there are no keys in the map whose short hash is h.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 35.7K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. src/test/java/jcifs/util/HMACT64Test.java

        private static final byte[] TEST_KEY = "testkey".getBytes();
        private static final byte[] LONG_TEST_KEY = "thisisalongtestkeythatislongerthan64bytesandshouldbetruncated".getBytes();
        private static final byte[] SHORT_TEST_KEY = "short".getBytes();
        private static final byte[] TEST_DATA = "testdata".getBytes();
        private static final byte[] EMPTY_DATA = new byte[0];
    
        @Mock
        private MessageDigest mockMd5;
    
        @BeforeEach
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  10. 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)
Back to top