Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 178 for shorter (1.66 sec)

  1. src/main/java/jcifs/http/NetworkExplorer.java

            final PrintWriter out = resp.getWriter();
            SmbFile[] dirents;
            SmbFile f;
            int i, j, len, maxLen, dirCount, fileCount, sort;
            String str, name, path, fmt;
            LinkedList<SmbFile> sorted;
            ListIterator<SmbFile> iter;
            final SimpleDateFormat sdf = new SimpleDateFormat("MM/d/yy h:mm a");
            final GregorianCalendar cal = new GregorianCalendar();
    
            sdf.setCalendar(cal);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 23.4K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/api/admin/stats/ApiAdminStatsAction.java

                fsObj.free = f.getFreeSpace();
                fsObj.total = f.getTotalSpace();
                fsObj.usable = f.getUsableSpace();
                fsObj.used = fsObj.total - fsObj.usable;
                fsObj.percent = (short) (100 * fsObj.used / fsObj.total);
                return fsObj;
            }).toArray(n -> new FsObj[n]);
        }
    
        private JvmObj getJvmObj() {
            final JvmObj jvmObj = new JvmObj();
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 19.7K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/convert/NumberConversionUtil.java

                    return f;
                }
                return Float.valueOf(0);
            } else if (type == short.class) {
                final Short s = ShortConversionUtil.toShort(o);
                if (s != null) {
                    return s;
                }
                return Short.valueOf((short) 0);
            } else if (type == boolean.class) {
                final Boolean b = BooleanConversionUtil.toBoolean(o);
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/dcerpc/UnicodeString.java

            final int zt = zterm ? 1 : 0;
    
            length = maximum_length = (short) ((len + zt) * 2);
            buffer = new short[len + zt];
    
            int i;
            for (i = 0; i < len; i++) {
                buffer[i] = (short) str.charAt(i);
            }
            if (zterm) {
                buffer[i] = (short) 0;
            }
        }
    
        @Override
        public String toString() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  5. src/test/java/jcifs/dcerpc/UUIDTest.java

        // Corresponding values for the valid UUID string
        private static final int TIME_LOW = 0x00112233;
        private static final short TIME_MID = (short) 0x4455;
        private static final short TIME_HI_AND_VERSION = (short) 0x6677;
        private static final byte CLOCK_SEQ_HI_AND_RESERVED = (byte) 0x88;
        private static final byte CLOCK_SEQ_LOW = (byte) 0x99;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  6. src/main/java/jcifs/dcerpc/UnicodeString.java

            final int zt = zterm ? 1 : 0;
    
            this.length = this.maximum_length = (short) ((len + zt) * 2);
            this.buffer = new short[len + zt];
    
            int i;
            for (i = 0; i < len; i++) {
                this.buffer[i] = (short) str.charAt(i);
            }
            if (zterm) {
                this.buffer[i] = (short) 0;
            }
        }
    
        @Override
        public String toString() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  7. src/test/java/jcifs/dcerpc/msrpc/lsarpcIntegrationTest.java

            dnsDomainInfo.name.maximum_length = 16;
            dnsDomainInfo.name.buffer = new short[] { 'T', 'E', 'S', 'T' };
    
            dnsDomainInfo.dns_domain = new rpc.unicode_string();
            dnsDomainInfo.dns_domain.length = 16;
            dnsDomainInfo.dns_domain.maximum_length = 32;
            dnsDomainInfo.dns_domain.buffer = new short[] { 't', 'e', 's', 't', '.', 'c', 'o', 'm' };
    
            dnsDomainInfo.dns_forest = new rpc.unicode_string();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/pac/PacDataInputStream.java

            return this.dis.readByte();
        }
    
        /**
         * Reads a 16-bit short value with proper alignment and byte order.
         * @return the short value in little-endian format
         * @throws IOException if an I/O error occurs
         */
        public short readShort() throws IOException {
            align(2);
            return Short.reverseBytes(this.dis.readShort());
        }
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb1/dcerpc/ndr/NdrShortTest.java

        @BeforeEach
        void setUp() {
            // 10 bytes is more than enough for the 2-byte short
            raw = new byte[10];
            buf = new NdrBuffer(raw, 0);
        }
    
        /**
         * Validate that the constructor masks the supplied value to its
         * lowest 8 bits (NdrShort incorrectly masks to 8 bits even though it's a short).
         */
        @ParameterizedTest
        @ValueSource(ints = { 0, 1, 255, -1, 256, 65535 })
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  10. src/main/java/jcifs/dcerpc/ndr/NdrShort.java

     */
    
    package jcifs.dcerpc.ndr;
    
    /**
     * NDR representation of a short integer (2-byte signed integer).
     */
    public class NdrShort extends NdrObject {
    
        /**
         * The short integer value.
         */
        public int value;
    
        /**
         * Constructs an NdrShort with the specified value.
         *
         * @param value the short integer value
         */
        public NdrShort(final int value) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.5K bytes
    - Viewed (0)
Back to top