Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 297 for startswith (0.06 sec)

  1. okcurl/src/test/kotlin/okhttp3/curl/MainTest.kt

     * limitations under the License.
     */
    package okhttp3.curl
    
    import assertk.assertThat
    import assertk.assertions.isEqualTo
    import assertk.assertions.isNull
    import assertk.assertions.startsWith
    import java.io.IOException
    import kotlin.test.Test
    import okhttp3.RequestBody
    import okio.Buffer
    
    class MainTest {
      @Test
      fun simple() {
        val request = fromArgs("http://example.com").createRequest()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/WebPlatformUrlTest.kt

          System.err.println("Ignoring unsupported scheme ${testData.scheme}")
          return
        }
    
        if (!testData.base!!.startsWith("https:") &&
          !testData.base!!.startsWith("http:") &&
          testData.base != "about:blank"
        ) {
          System.err.println("Ignoring unsupported base ${testData.base}")
          return
        }
    
        try {
          testHttpUrl(testData)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  3. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/transforms/ExplodeZipAndFindJars.groovy

                        shortName = shortName.substring(shortName.lastIndexOf('/') + 1)
                    }
                    if (shortName.endsWith('.jar')) {
                        def outputDir = shortName.startsWith('gradle-') ? gradleJars : dependencies
                        def out = new File(outputDir, shortName)
                        Files.copy(zin, out.toPath())
                        zin.closeEntry()
                    }
                }
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Jul 08 13:44:59 UTC 2021
    - 2.4K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/entity/FacetQueryView.java

        public void init() {
            final String filetypeField = ComponentUtil.getFessConfig().getIndexFieldFiletype();
            final Collection<String> values = queryMap.values();
            if (values.stream().anyMatch(s -> s.startsWith(filetypeField))) {
                final ResourceBundle resources = ResourceBundle.getBundle("fess_label", Locale.ENGLISH);
                final String[] fileTypes = ComponentUtil.getFileTypeHelper().getTypes();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbPipeHandleImpl.java

                    if ( this.uncPath.startsWith("\\pipe\\") ) {
                        th.send(new TransWaitNamedPipe(th.getConfig(), this.uncPath), new TransWaitNamedPipeResponse(th.getConfig()));
                    }
    
                    if ( th.hasCapability(SmbConstants.CAP_NT_SMBS) || this.uncPath.startsWith("\\pipe\\") ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Apr 13 17:05:22 UTC 2020
    - 10.3K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/entity/QueryContext.java

            if (queryString != null) {
                if (queryString.startsWith(ALLINURL_FIELD_PREFIX)) {
                    defaultField = ComponentUtil.getFessConfig().getIndexFieldUrl();
                    this.queryString = queryString.substring(ALLINURL_FIELD_PREFIX.length());
                } else if (queryString.startsWith(ALLINTITLE_FIELD_PREFIX)) {
                    defaultField = ComponentUtil.getFessConfig().getIndexFieldTitle();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  7. 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);
        }
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Fri Jul 06 19:30:55 UTC 2018
    - 4.4K bytes
    - Viewed (0)
  8. compat/maven-artifact/src/main/java/org/apache/maven/artifact/repository/ArtifactRepositoryPolicy.java

                cal.set(Calendar.MILLISECOND, 0);
    
                if (cal.getTime().after(lastModified)) {
                    checkForUpdates = true;
                }
            } else if (updatePolicy.startsWith(UPDATE_POLICY_INTERVAL)) {
                String s = updatePolicy.substring(UPDATE_POLICY_INTERVAL.length() + 1);
                int minutes = Integer.parseInt(s);
                Calendar cal = Calendar.getInstance();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  9. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/UpdateAgpVersions.kt

            var lineFound = false
            docFile.writeText(
                docFile.readLines().joinToString(separator = "\n", postfix = "\n") { line ->
                    if (line.startsWith(linePrefix)) {
                        lineFound = true
                        "$linePrefix ${latestAgpVersions.firstBaseVersion} through ${latestAgpVersions.lastBaseVersion}."
                    } else {
                        line
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Jun 02 09:17:07 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  10. compat/maven-embedder/src/main/java/org/apache/maven/cli/CleanArgument.java

            List<String> cleaned = new ArrayList<>();
    
            StringBuilder currentArg = null;
    
            for (String arg : args) {
                boolean addedToBuffer = false;
    
                if (arg.startsWith("\"")) {
                    // if we're in the process of building up another arg, push it and start over.
                    // this is for the case: "-Dfoo=bar "-Dfoo2=bar two" (note the first unterminated quote)
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.4K bytes
    - Viewed (0)
Back to top