Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 293 for startsWith (0.3 sec)

  1. okhttp/src/test/java/okhttp3/WebPlatformUrlTestData.kt

          val list = mutableListOf<WebPlatformUrlTestData>()
          while (true) {
            val line = source.readUtf8Line() ?: break
            if (line.isEmpty() || line.startsWith("#")) continue
    
            var i = 0
            val parts = line.split(Regex(" ")).toTypedArray()
    
            val element = WebPlatformUrlTestData()
            element.input = unescape(parts[i++])
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.7K bytes
    - Viewed (0)
  2. src/main/java/jcifs/netbios/Lmhosts.java

                            }
                        }
                    }
                    else if ( line.startsWith("#BEGIN_ALTERNATE") ) {}
                    else if ( line.startsWith("#END_ALTERNATE") && this.alt > 0 ) {
                        throw new IOException("no lmhosts alternate includes loaded");
                    }
                }
                else if ( Character.isDigit(line.charAt(0)) ) {
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 6.1K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultTransport.java

            if (relativeSource.isAbsolute()) {
                throw new IllegalArgumentException("Supplied URI is not relative");
            }
            URI source = baseURI.resolve(relativeSource);
            if (!source.toASCIIString().startsWith(baseURI.toASCIIString())) {
                throw new IllegalArgumentException("Supplied relative URI escapes baseUrl");
            }
            GetTask getTask = new GetTask(source);
            getTask.setDataFile(target.toFile());
    Java
    - Registered: Sun Mar 24 03:35:10 GMT 2024
    - Last Modified: Mon Dec 26 15:12:32 GMT 2022
    - 5.4K bytes
    - Viewed (0)
  4. maven-core/src/test/resources/apiv4-repo/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3-sources.jar

    {@link String} starts with the specified * {@link String}. * <p/> * For example: * <pre>assertThat("myStringOfNote", startsWith("my"))</pre> * * @param prefix * the substring that the returned matcher will expect at the start of any examined string */ public static org.hamcrest.Matcher<java.lang.String> startsWith(java.lang.String prefix) { return org.hamcrest.core.StringStartsWith.startsWith(prefix); } /** * Creates a matcher that matches if the examined {@link String} ends with the specified * {@link...
    Archive
    - Registered: Sun Apr 14 03:35:08 GMT 2024
    - Last Modified: Sun Oct 02 08:41:25 GMT 2022
    - 31.9K bytes
    - Viewed (0)
  5. maven-compat/src/main/java/org/apache/maven/profiles/activation/SystemPropertyProfileActivator.java

                    throw new ProfileActivationException(
                            "The property name is required to activate the profile '" + profile.getId() + "'");
                }
    
                if (name.startsWith("!")) {
                    reverseName = true;
                    name = name.substring(1);
                }
    
                String sysValue = properties.getProperty(name);
    
                String propValue = property.getValue();
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Tue May 09 23:46:02 GMT 2023
    - 3.3K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/taglib/FessFunctions.java

                    } else {
                        prefix = null;
                    }
                    return pagingQueryList.stream().filter(s -> prefix == null || !s.startsWith(prefix))
                            .collect(Collectors.joining("&", "&", StringUtil.EMPTY));
                }
                return null;
            }).orElse(StringUtil.EMPTY);
        }
    
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 16.9K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/util/concurrent/AggregateFutureStateFallbackAtomicHelperTest.java

        TestSuite suite = new TestSuite(AggregateFutureStateFallbackAtomicHelperTest.class.getName());
        for (Method method : FuturesTest.class.getDeclaredMethods()) {
          if (Modifier.isPublic(method.getModifiers()) && method.getName().startsWith("test")) {
            suite.addTest(
                TestSuite.createTest(
                    AggregateFutureStateFallbackAtomicHelperTest.class, method.getName()));
          }
        }
        return suite;
      }
    
      @Override
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 5.9K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/crawler/FessCrawlerThread.java

                    stream(crawlingConfig.getPermissions()).of(stream -> stream.forEach(p -> roleTypeList.add(p)));
                    if (url.startsWith("smb:") || url.startsWith("smb1:") || url.startsWith("file:") || url.startsWith("ftp:")) {
                        if (url.endsWith("/")) {
                            // directory
                            return true;
                        }
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 14.6K bytes
    - Viewed (0)
  9. samples/slack/src/main/java/okhttp3/slack/SlackApi.java

        @ToJson String urlToJson(HttpUrl httpUrl) {
          return httpUrl.toString();
        }
    
        @FromJson HttpUrl urlFromJson(String urlString) {
          if (urlString.startsWith("wss:")) urlString = "https:" + urlString.substring(4);
          if (urlString.startsWith("ws:")) urlString = "http:" + urlString.substring(3);
          return HttpUrl.get(urlString);
        }
      }
    Java
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Fri Jul 06 19:30:55 GMT 2018
    - 4.4K bytes
    - Viewed (1)
  10. okhttp/src/main/kotlin/okhttp3/internal/-HostnamesCommon.kt

          if (i == limit) break
        } else if (b != 0) {
          // Group separator ":" delimiter.
          if (input.startsWith(":", startIndex = i)) {
            i++
          } else if (input.startsWith(".", startIndex = i)) {
            // If we see a '.', rewind to the beginning of the previous group and parse as IPv4.
            if (!decodeIpv4Suffix(input, groupOffset, limit, address, b - 2)) return null
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 11.2K bytes
    - Viewed (0)
Back to top