Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 431 - 440 of 489 for startswith (0.18 seconds)

  1. src/test/java/org/codelibs/fess/suggest/SuggesterTest.java

            GetIndexResponse getIndexResponse = runner.client().admin().indices().prepareGetIndex().execute().actionGet();
            int count = 0;
            for (String index : getIndexResponse.getIndices()) {
                if (index.startsWith(suggester.getIndex())) {
                    count++;
                }
            }
            assertEquals(2, count);
    
            suggester.removeDisableIndices();
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sun Feb 01 12:48:24 GMT 2026
    - 37.1K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/net/HostAndPort.java

      public static HostAndPort fromString(String hostPortString) {
        checkNotNull(hostPortString);
        String host;
        String portString = null;
        boolean hasBracketlessColons = false;
    
        if (hostPortString.startsWith("[")) {
          String[] hostAndPort = getHostAndPortFromBracketedHost(hostPortString);
          host = hostAndPort[0];
          portString = hostAndPort[1];
        } else {
          int colonPos = hostPortString.indexOf(':');
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 11.1K bytes
    - Click Count (0)
  3. src/main/java/jcifs/smb1/smb1/SmbFileOutputStream.java

                    throw sae;
                } catch (final SmbException se) {
                    fp = 0L;
                }
            }
            if (file instanceof SmbNamedPipe && file.unc.startsWith("\\pipe\\")) {
                file.unc = file.unc.substring(5);
                file.send(new TransWaitNamedPipe("\\pipe" + file.unc), new TransWaitNamedPipeResponse());
            }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 11K bytes
    - Click Count (0)
  4. mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt

            addHeaderLenient(headers, header)
            val lowercaseHeader = header.lowercase(Locale.US)
            if (contentLength == -1L && lowercaseHeader.startsWith("content-length:")) {
              contentLength = header.substring(15).trim().toLong()
            }
            if (lowercaseHeader.startsWith("transfer-encoding:") &&
              lowercaseHeader.substring(18).trim() == "chunked"
            ) {
              chunked = true
            }
          }
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 40.3K bytes
    - Click Count (0)
  5. impl/maven-core/src/main/java/org/apache/maven/artifact/repository/MavenArtifactRepository.java

                retValue = url.substring(protocol.length() + 1);
                retValue = decode(retValue);
                // special case: if omitted // on protocol, keep path as is
                if (retValue.startsWith("//")) {
                    retValue = retValue.substring(2);
    
                    if (retValue.length() >= 2 && (retValue.charAt(1) == '|' || retValue.charAt(1) == ':')) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 12.1K bytes
    - Click Count (0)
  6. src/test/java/jcifs/util/PathValidatorTest.java

        @Test
        public void testValidSmbUrl() throws Exception {
            String url = "smb://server/share/folder/file.txt";
            String normalized = validator.validateSmbUrl(url);
            assertTrue(normalized.startsWith("smb://"));
            assertTrue(normalized.contains("server"));
            assertTrue(normalized.contains("/share/folder/file.txt") || normalized.contains("\\share\\folder\\file.txt"));
        }
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 14.6K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/entity/SearchRenderDataTest.java

        @Test
        public void test_toString() {
            // Test with default values
            String defaultString = searchRenderData.toString();
            assertNotNull(defaultString);
            assertTrue(defaultString.startsWith("SearchRenderData ["));
            assertTrue(defaultString.endsWith("]"));
            assertTrue(defaultString.contains("documentItems=null"));
            assertTrue(defaultString.contains("facetResponse=null"));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 23.6K bytes
    - Click Count (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/gcs/GcsClient.java

            if (StringUtil.isEmpty(uri)) {
                throw new CrawlerSystemException("GCS URI is empty. Please provide a valid GCS URI (gcs://...).");
            }
    
            String filePath = uri;
            if (!filePath.startsWith("gcs:")) {
                filePath = "gcs://" + filePath;
            }
    
            return filePath;
        }
    
        /**
         * Returns the character set used for content encoding.
         * @return the charset
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Thu Dec 11 08:38:29 GMT 2025
    - 17.5K bytes
    - Click Count (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/CookiesTest.kt

        get(redirectSourceUrl)
        val request = redirectSource.takeRequest()
        assertThat(request.headers["Cookie"]).isEqualTo("c=cookie")
        for (header in redirectTarget.takeRequest().headers.names()) {
          if (header.startsWith("Cookie")) {
            fail(header)
          }
        }
      }
    
      @Test
      fun testCookiesSentIgnoresCase() {
        client =
          client
            .newBuilder()
            .cookieJar(
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Mar 19 07:46:39 GMT 2026
    - 14.5K bytes
    - Click Count (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Hpack.kt

                  out.writeByte(0x40)
                  writeByteString(name)
                  writeByteString(value)
                  insertIntoDynamicTable(header)
                }
    
                name.startsWith(Header.PSEUDO_PREFIX) && TARGET_AUTHORITY != name -> {
                  // Follow Chromes lead - only include the :authority pseudo header, but exclude all other
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Mar 15 09:02:18 GMT 2026
    - 23.2K bytes
    - Click Count (0)
Back to Top