Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 178 for shorter (1.15 sec)

  1. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  2. 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: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/ingest/IngestFactory.java

    import org.apache.logging.log4j.Logger;
    
    /**
     * Factory class for managing and organizing document ingesters.
     * The factory maintains a sorted collection of ingesters based on their priority
     * and provides methods to add new ingesters and retrieve the current collection.
     *
     * Ingesters are automatically sorted by priority, with lower numbers having higher priority.
     */
    public class IngestFactory {
        /** Logger instance for this class */
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/pac/PacUnicodeString.java

         */
        public PacUnicodeString(final short length, final short maxLength, final int pointer) {
            this.length = length;
            this.maxLength = maxLength;
            this.pointer = pointer;
        }
    
        /**
         * Gets the actual length of the string in bytes.
         *
         * @return the string length
         */
        public short getLength() {
            return this.length;
        }
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/helper/PopularWordHelper.java

            stream(tags).of(stream -> stream.sorted().reduce((l, r) -> l + r).ifPresent(v -> buf.append(v)));
            buf.append(CACHE_KEY_SPLITTER);
            stream(roles).of(stream -> stream.sorted().reduce((l, r) -> l + r).ifPresent(v -> buf.append(v)));
            buf.append(CACHE_KEY_SPLITTER);
            stream(fields).of(stream -> stream.sorted().reduce((l, r) -> l + r).ifPresent(v -> buf.append(v)));
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/ServerMessageBlock2.java

        /** SMB2 lock file command */
        protected static final short SMB2_LOCK = 0x000A;
        /** SMB2 IO control command */
        protected static final short SMB2_IOCTL = 0x000B;
        /** SMB2 cancel command */
        protected static final short SMB2_CANCEL = 0x000C;
        /** SMB2 echo/keepalive command */
        protected static final short SMB2_ECHO = 0x000D;
        /** SMB2 query directory command */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 24K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectRequestTest.java

            String longPath = "\\\\server.domain.com\\very_long_share_name_here";
    
            Smb2TreeConnectRequest shortReq = new Smb2TreeConnectRequest(mockConfig, shortPath);
            Smb2TreeConnectRequest longReq = new Smb2TreeConnectRequest(mockConfig, longPath);
    
            // When
            int shortSize = shortReq.size();
            int longSize = longReq.size();
    
            // Then
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/trans/SmbComTransactionTest.java

        void testSubCommandConstants() {
            assertEquals((short) 0x0001, SmbComTransaction.TRANS2_FIND_FIRST2);
            assertEquals((short) 0x0002, SmbComTransaction.TRANS2_FIND_NEXT2);
            assertEquals((short) 0x0003, SmbComTransaction.TRANS2_QUERY_FS_INFORMATION);
            assertEquals((short) 0x0005, SmbComTransaction.TRANS2_QUERY_PATH_INFORMATION);
            assertEquals((short) 0x0007, SmbComTransaction.TRANS2_QUERY_FILE_INFORMATION);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  9. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/ntlmssp/NtlmMessageTest.java

        }
    
        @Test
        @DisplayName("readUShort throws on too short array")
        void testReadUShortOutOfBounds() {
            byte[] a = new byte[] { 0x02 };
            assertThrows(IndexOutOfBoundsException.class, () -\u003e NtlmMessage.readUShort(a, 0));
        }
    
        @Test
        @DisplayName("readULong throws on too short array")
        void testReadULongOutOfBounds() {
            byte[] a = new byte[] { 0x01, 0x02, 0x03 };
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.8K bytes
    - Viewed (0)
Back to top