Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 1,039 for charAt (0.04 sec)

  1. src/test/java/jcifs/tests/FileLocationTest.java

            try ( SmbResource r = new SmbFile("smb://0.0.0.0/asdasf/", getContext());
                  SmbResource c = new SmbFile(r, " test") ) {
                assertEquals(' ', c.getName().charAt(0));
                assertEquals(" test", c.getName());
                try ( SmbFile t = new SmbFile(c.getLocator().getURL(), getContext()) ) {
                    assertEquals(" test", t.getName());
                }
            }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Wed Jan 08 13:16:07 UTC 2020
    - 23K bytes
    - Viewed (0)
  2. src/main/java/jcifs/netbios/Name.java

            StringBuffer sb = new StringBuffer();
            String n = this.name;
    
            // fix MSBROWSE name
            if ( n == null ) {
                n = "null";
            }
            else if ( n.charAt(0) == 0x01 ) {
                char c[] = n.toCharArray();
                c[ 0 ] = '.';
                c[ 1 ] = '.';
                c[ 14 ] = '.';
                n = new String(c);
            }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 7.7K bytes
    - Viewed (0)
  3. guava/src/com/google/common/io/LittleEndianDataOutputStream.java

       *
       * @throws IOException if an I/O error occurs
       */
      @Override
      public void writeChars(String s) throws IOException {
        for (int i = 0; i < s.length(); i++) {
          writeChar(s.charAt(i));
        }
      }
    
      /**
       * Writes a {@code double} as specified by {@link DataOutputStream#writeDouble(double)}, except
       * using little-endian byte order.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 26 12:34:49 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  4. 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 Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 24 01:47:10 UTC 2024
    - 17.8K bytes
    - Viewed (0)
  5. guava/src/com/google/common/hash/HashCode.java

        byte[] bytes = new byte[string.length() / 2];
        for (int i = 0; i < string.length(); i += 2) {
          int ch1 = decode(string.charAt(i)) << 4;
          int ch2 = decode(string.charAt(i + 1));
          bytes[i / 2] = (byte) (ch1 + ch2);
        }
        return fromBytesNoCopy(bytes);
      }
    
      private static int decode(char ch) {
        if (ch >= '0' && ch <= '9') {
          return ch - '0';
        }
        if (ch >= 'a' && ch <= 'f') {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 19:54:59 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/SmbRandomAccessFile.java

                throw new SmbException( "EOF" );
            }
            return Encdec.dec_uint16be( tmp, 0 ) & 0xFFFF;
        }
        public final char readChar() throws SmbException {
            if((read( tmp, 0, 2 )) < 0 ) {
                throw new SmbException( "EOF" );
            }
            return (char)Encdec.dec_uint16be( tmp, 0 );
        }
        public final int readInt() throws SmbException {
            if((read( tmp, 0, 4 )) < 0 ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 10.9K 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;
        }
    
        protected boolean isHiraganaQuery(final String query) {
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  8. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/upgrades/UpgradedProperties.java

            if (method != null) {
                String propertyName = method.getPropertyName();
                String isGetterName = "is" + Character.toUpperCase(propertyName.charAt(0)) + propertyName.substring(1);
                return method.getReplacedAccessors().stream()
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Oct 02 14:20:08 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/netbios/Name.java

            StringBuffer sb = new StringBuffer();
            String n = name;
    
            // fix MSBROWSE name
            if( n == null ) {
                n = "null";
            } else if( n.charAt( 0 ) == 0x01 ) {
                char c[] = n.toCharArray();
                c[0] = '.';
                c[1] = '.';
                c[14] = '.';
                n = new String( c );
            }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 6.6K bytes
    - Viewed (0)
  10. src/main/java/jcifs/netbios/NameServiceClientImpl.java

            if ( !Character.isDigit(host.charAt(0)) ) {
                return doNameQuery(name, svr);
            }
    
            int IP = 0x00;
            int hitDots = 0;
            char[] data = host.toCharArray();
    
            for ( int i = 0; i < data.length; i++ ) {
                char c = data[ i ];
                if ( c < 48 || c > 57 ) {
                    return doNameQuery(name, svr);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Aug 14 14:26:22 UTC 2022
    - 38.2K bytes
    - Viewed (0)
Back to top