Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 1,627 for indexOf (0.08 sec)

  1. guava-gwt/test-super/com/google/common/collect/testing/super/com/google/common/collect/testing/Platform.java

        StringBuilder builder = new StringBuilder(template.length() + 16 * args.length);
        int templateStart = 0;
        int i = 0;
        while (i < args.length) {
          int placeholderStart = template.indexOf("%s", templateStart);
          if (placeholderStart == -1) {
            break;
          }
          builder.append(template.substring(templateStart, placeholderStart));
          builder.append(args[i++]);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 2.1K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/ldap/LdapManager.java

            if (entryDn == null) {
                return null;
            }
            int start = entryDn.toLowerCase(Locale.ROOT).indexOf("cn=");
            if (start == -1) {
                return null;
            }
            start += 3;
    
            final int end = entryDn.indexOf(',', start);
            final String value = end == -1 ? entryDn.substring(start) : entryDn.substring(start, end);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 65.9K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/idn/Punycode.kt

       * limits.
       */
      fun encode(string: String): String? {
        var pos = 0
        val limit = string.length
        val result = Buffer()
    
        while (pos < limit) {
          var dot = string.indexOf('.', startIndex = pos)
          if (dot == -1) dot = limit
    
          if (!encodeLabel(string, pos, dot, result)) {
            // If we couldn't encode the label, give up.
            return null
          }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 03 03:04:50 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  4. compat/maven-compat/src/test/java/org/apache/maven/project/LegacyLocalRepositoryManager.java

            return path.toString();
        }
    
        private String insertRepositoryKey(String filename, String repositoryKey) {
            String result;
            int idx = filename.indexOf('.');
            if (idx < 0) {
                result = filename + '-' + repositoryKey;
            } else {
                result = filename.substring(0, idx) + '-' + repositoryKey + filename.substring(idx);
            }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  5. compat/maven-model-builder/src/main/java/org/apache/maven/model/path/DefaultUrlNormalizer.java

        @Override
        public String normalize(String url) {
            String result = url;
    
            if (result != null) {
                while (true) {
                    int idx = result.indexOf("/../");
                    if (idx < 0) {
                        break;
                    } else if (idx == 0) {
                        result = result.substring(3);
                        continue;
                    }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/HttpUrl.kt

       */
      fun queryParameterName(index: Int): String {
        if (queryNamesAndValues == null) throw IndexOutOfBoundsException()
        return queryNamesAndValues[index * 2]!!
      }
    
      /**
       * Returns the value of the query parameter at `index`. For example this returns `"apple"` for
       * `queryParameterName(0)` on `http://host/?a=apple&b=banana`. This throws if `index` is not less
       * than the [query size][querySize].
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Jan 09 12:33:05 UTC 2024
    - 63.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/netbios/Lmhosts.java

                if( line.length() == 0 ) {
                    continue;
                } else if( line.charAt( 0 ) == '#' ) {
                    if( line.startsWith( "#INCLUDE " )) {
                        line = line.substring( line.indexOf( '\\' ));
                        String url = "smb1:" + line.replace( '\\', '/' );
    
                        if( alt > 0 ) {
                            try {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 5.8K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/core/exception/SQLRuntimeExceptionTest.java

            assertContains(message, "SQLState=barState");
            assertContains(message, "manyReason");
        }
    
        private void assertContains(final String s, final String contained) {
            assertThat(s, s.indexOf(contained) > -1, is(true));
        }
    
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/Dfs.java

        }
        synchronized void insert(String path, DfsReferral dr) {
            int s1, s2;
            String server, share, key;
    
            if (DISABLED)
                return;
    
            s1 = path.indexOf('\\', 1);
            s2 = path.indexOf('\\', s1 + 1);
            server = path.substring(1, s1);
            share = path.substring(s1 + 1, s2);
    
            key = path.substring(0, dr.pathConsumed).toLowerCase();
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 11.7K bytes
    - Viewed (0)
  10. src/main/java/jcifs/netbios/Lmhosts.java

                    continue;
                }
                else if ( line.charAt(0) == '#' ) {
                    if ( line.startsWith("#INCLUDE ") ) {
                        line = line.substring(line.indexOf('\\'));
                        String url = "smb:" + line.replace('\\', '/');
    
                        try ( InputStreamReader rdr = new InputStreamReader(new SmbFileInputStream(url, tc)) ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 6.1K bytes
    - Viewed (0)
Back to top