Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 692 for charAt (0.04 sec)

  1. src/main/java/jcifs/smb1/smb1/SmbRandomAccessFile.java

            }
            return Encdec.dec_uint16be(tmp, 0) & 0xFFFF;
        }
    
        @Override
        public final char readChar() throws SmbException {
            if (read(tmp, 0, 2) < 0) {
                throw new SmbException("EOF");
            }
            return (char) Encdec.dec_uint16be(tmp, 0);
        }
    
        @Override
        public final int readInt() throws SmbException {
            if (read(tmp, 0, 4) < 0) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectRequestTest.java

            assertArrayEquals(expectedBytes, actualBytes);
    
            // Verify it's actually UTF-16LE (each ASCII char should be followed by 0x00)
            int pathStart = Smb2Constants.SMB2_HEADER_LENGTH + 8;
            for (int i = 0; i < testPath.length(); i++) {
                char c = testPath.charAt(i);
                if (c < 128) { // ASCII character
                    assertEquals(c, buffer[pathStart + i * 2]);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/netbios/NbtAddress.java

                return getLocalHost();
            }
            if (!Character.isDigit(host.charAt(0))) {
                return doNameQuery(new Name(host, type, scope), svr);
            }
            int IP = 0x00;
            int hitDots = 0;
            final char[] data = host.toCharArray();
    
            for (int i = 0; i < data.length; i++) {
                char c = data[i];
                if (c < 48 || c > 57) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 31.7K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/primitives/Longs.java

              "radix must be between MIN_RADIX and MAX_RADIX but was " + radix);
        }
        boolean negative = string.charAt(0) == '-';
        int index = negative ? 1 : 0;
        if (index == string.length()) {
          return null;
        }
        int digit = AsciiDigits.digit(string.charAt(index++));
        if (digit < 0 || digit >= radix) {
          return null;
        }
        long accum = -digit;
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 29.1K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/helper/PluginHelper.java

            final List<String> versionList = new ArrayList<>();
            boolean isName = true;
            for (final String value : baseName.split("-")) {
                if (isName && value.length() > 0 && value.charAt(0) >= '0' && value.charAt(0) <= '9') {
                    isName = false;
                }
                if (isName) {
                    nameList.add(value);
                } else {
                    versionList.add(value);
                }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/netbios/NbtAddress.java

         */
        @Override
        public String firstCalledName() {
    
            this.calledName = this.hostName.name;
    
            if (Character.isDigit(this.calledName.charAt(0))) {
                int i, len, dots;
                char[] data;
    
                i = dots = 0; /* quick IP address validation */
                len = this.calledName.length();
                data = this.calledName.toCharArray();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/suggest/request/suggest/SuggestRequest.java

            if (matchWordFirst && !hiraganaQuery && singleWordQuery && text.contains(query)) {
                if (query.length() == 1) {
                    return UnicodeBlock.of(query.charAt(0)) != UnicodeBlock.HIRAGANA;
                }
                return true;
            }
            return false;
        }
    
        /**
         * Checks if the query is a hiragana query.
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/TextUtil.java

        }
    
        private static boolean isLastSpaceChar(final StringBuilder buf) {
            if (buf.length() == 0) {
                return false;
            }
            return buf.charAt(buf.length() - 1) == ' ';
        }
    
        private static boolean removeLastDuplication(final StringBuilder buf, final int size, final boolean isSpace,
                final Set<String> termCache) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 12K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/http/NtlmHttpURLConnection.java

        private int parseResponseCode() throws IOException {
            try {
                final String response = connection.getHeaderField(0);
                int index = response.indexOf(' ');
                while (response.charAt(index) == ' ') {
                    index++;
                }
                return Integer.parseInt(response.substring(index, index + 3));
            } catch (final Exception ex) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/log/Logger.java

         * @return Formatted message string
         */
        public static LogMessage format(final String messageCode, final Object... args) {
            assertArgumentNotEmpty("messageCode", messageCode);
    
            final char messageType = messageCode.charAt(0);
            final String message = MessageFormatter.getSimpleMessage(messageCode, args);
            switch (messageType) {
            case 'D':
                return new LogMessage(LogLevel.DEBUG, message);
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 12.4K bytes
    - Viewed (0)
Back to top