Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 138 for endswith (0.09 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/tls/OkHostnameVerifier.kt

        var pattern = pattern
        if (hostname.isNullOrEmpty() ||
          hostname.startsWith(".") ||
          hostname.endsWith("..")
        ) {
          // Invalid domain name.
          return false
        }
        if (pattern.isNullOrEmpty() ||
          pattern.startsWith(".") ||
          pattern.endsWith("..")
        ) {
          // Invalid pattern.
          return false
        }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 15 14:55:09 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  2. mockwebserver/src/test/java/mockwebserver3/internal/http2/Http2Server.kt

        return when {
          file.name.endsWith(".css") -> "text/css"
          file.name.endsWith(".gif") -> "image/gif"
          file.name.endsWith(".html") -> "text/html"
          file.name.endsWith(".jpeg") -> "image/jpeg"
          file.name.endsWith(".jpg") -> "image/jpeg"
          file.name.endsWith(".js") -> "application/javascript"
          file.name.endsWith(".png") -> "image/png"
          else -> "text/plain"
        }
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/api/engine/SearchEngineApiManager.java

                if (lowerPath.endsWith(".html")) {
                    response.setContentType("text/html;charset=utf-8");
                } else if (lowerPath.endsWith(".css")) {
                    response.setContentType("text/css");
                } else if (lowerPath.endsWith(".eot")) {
                    response.setContentType("application/vnd.ms-fontobject");
                } else if (lowerPath.endsWith(".ico")) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Aug 15 08:29:24 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/thumbnail/ThumbnailAction.java

            final String path = imageFile.getAbsolutePath();
            if (path.endsWith(".png")) {
                return "image/png";
            }
            if (path.endsWith(".gif")) {
                return "image/gif";
            }
            if (path.endsWith(".jpg") || path.endsWith(".jpeg")) {
                return "image/jpeg";
            }
            return "application/octet-stream";
        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  5. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/ExtractDslMetaDataTask.groovy

            int counter = 0
            source.filter { File f -> f.name.endsWith(".java") || f.name.endsWith(".groovy") }.each { File f ->
                parse(f, repository)
                counter++
            }
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Jan 08 12:45:57 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/exception/DefaultExceptionHandler.java

                message = message1.trim();
            }
    
            if (message2 != null && !message2.isEmpty()) {
                if (message != null && !message.isEmpty()) {
                    if (message.endsWith(".") || message.endsWith("!") || message.endsWith(":")) {
                        message += " ";
                    } else {
                        message += ": ";
                    }
                }
    
                message += message2;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/backup/AdminBackupAction.java

            if (fileName.startsWith("system") && fileName.endsWith(".properties")) {
                fileType = 1;
            } else if (fileName.startsWith("gsa") && fileName.endsWith(".xml")) {
                fileType = 2;
            } else if (fileName.endsWith(".bulk")) {
                fileType = 3;
            } else if (fileName.startsWith("fess") && fileName.endsWith(".json")) {
                fileType = 4;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:46 UTC 2024
    - 28.5K bytes
    - Viewed (0)
  8. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/classanalysis/AnalyzeAndShade.kt

                        FileVisitResult.CONTINUE
    
                    private
                    fun Path.isClassFilePath() =
                        toString().endsWith(".class")
    
                    private
                    fun Path.isBuildReceipt() =
                        toString() == "/org/gradle/build-receipt.properties"
    
                    private
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Oct 28 12:55:30 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  9. compat/maven-embedder/src/test/java/org/apache/maven/cli/props/MavenPropertiesTest.java

            properties.put(KEY1, COMMENT, VALUE1);
            StringWriter sw = new StringWriter();
            properties.save(sw);
            String msg = sw.toString();
            assertTrue(sw.toString().endsWith(RESULT1), msg);
        }
    
        private static final String RESULT1A = COMMENT + LINE_SEPARATOR + KEY2A + " = " + VALUE1 + LINE_SEPARATOR;
    
        @Test
        public void testSaveComment1a() throws Exception {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/ws/MessageDeflater.kt

        require(deflatedBytes.size == 0L)
    
        if (noContextTakeover) {
          deflater.reset()
        }
    
        deflaterSink.write(buffer, buffer.size)
        deflaterSink.flush()
    
        if (deflatedBytes.endsWith(EMPTY_DEFLATE_BLOCK)) {
          val newSize = deflatedBytes.size - LAST_OCTETS_COUNT_TO_REMOVE_AFTER_DEFLATION
          deflatedBytes.readAndWriteUnsafe().use { cursor ->
            cursor.resizeBuffer(newSize)
          }
        } else {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.1K bytes
    - Viewed (0)
Back to top