Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 471 - 480 of 489 for startswith (0.05 seconds)

  1. src/main/java/org/codelibs/fess/thumbnail/ThumbnailManager.java

                        final Path subPath = basePath.relativize(path);
                        final String docId = subPath.toString().replace("/", StringUtil.EMPTY).replace(suffix, StringUtil.EMPTY);
                        if (!docId.startsWith("_")) {
                            final String filename = getImageFilename(docId);
                            final Path newPath = basePath.resolve(filename);
                            if (!path.equals(newPath)) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jan 01 12:47:47 GMT 2026
    - 27.2K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/filter/LoadControlFilterTest.java

                if (isExcludedPath(path)) {
                    chain.doFilter(request, response);
                    return;
                }
    
                final boolean isApiPath = path.startsWith("/api/");
                final int threshold = isApiPath ? apiLoadControl : webLoadControl;
    
                if (threshold >= 100) {
                    chain.doFilter(request, response);
                    return;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 21 06:04:58 GMT 2026
    - 33.6K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/script/groovy/GroovyEngineTest.java

            final Map<String, Object> params = new HashMap<>();
            testEngine.evaluate("return undefinedVariable", params);
            assertTrue(testEngine.logScriptExecutionCalled);
            assertTrue(testEngine.lastLoggedResult.startsWith("failure:"));
        }
    
        /**
         * Test that evaluate calls logScriptExecution on JobProcessingException
         */
        @Test
        public void test_evaluate_callsLogScriptExecutionOnJobProcessingException() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Mar 15 06:03:38 GMT 2026
    - 29.1K bytes
    - Click Count (0)
  4. src/main/java/jcifs/smb/DfsImpl.java

                boolean match = false;
                if (cachedKeyLen == searchLen) {
                    match = cachedKey.equals(key);
                } else if (cachedKeyLen < searchLen) {
                    match = key.startsWith(cachedKey);
                } else if (log.isTraceEnabled()) {
                    log.trace(key + " vs. " + cachedKey);
                }
    
                if (match) {
                    if (log.isDebugEnabled()) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 29.7K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/llm/AbstractLlmClient.java

            if (response == null) {
                return "";
            }
            String stripped = response.trim();
            if (stripped.startsWith("```json")) {
                stripped = stripped.substring(7);
            } else if (stripped.startsWith("```")) {
                stripped = stripped.substring(3);
            }
            if (stripped.endsWith("```")) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 21 06:04:58 GMT 2026
    - 72K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/curl/io/IOIntegrationTest.java

            assertEquals(before, after);
        }
    
        private long countTmpFiles() {
            return Arrays.stream(Objects.requireNonNull(Curl.tmpDir.listFiles())).map(File::getName)
                    .filter(s -> s.startsWith(PREFIX) && s.endsWith(SUFFIX)).count();
        }
    
        // --- HEAD request logic tests ---
    
        /**
         * Mock HttpURLConnection that simulates a HEAD request with configurable status code.
         */
    Created: Thu Apr 02 15:34:12 GMT 2026
    - Last Modified: Sat Mar 21 12:00:34 GMT 2026
    - 44.1K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/helper/CoordinatorHelperTest.java

            // Verify that the index name pattern uses config prefix correctly
            final String indexName = coordinatorHelper.getIndexName();
            assertTrue(indexName.endsWith(".coordinator"));
            assertTrue(indexName.startsWith("fess_config"));
        }
    
        // ===================================================================================
        //                                                   completeOperation Ownership
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 58.6K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/io/Files.java

          }
        }
    
        // put it back together
        String result = Joiner.on('/').join(path);
        if (pathname.charAt(0) == '/') {
          result = "/" + result;
        }
    
        while (result.startsWith("/../")) {
          result = result.substring(3);
        }
        if (result.equals("/..")) {
          result = "/";
        } else if (result.isEmpty()) {
          result = ".";
        }
    
        return result;
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Jan 05 22:13:21 GMT 2026
    - 32.8K bytes
    - Click Count (0)
  9. src/main/java/jcifs/smb1/smb1/SID.java

            }
    
            this.revision = Byte.parseByte(st.nextToken());
            final String tmp = st.nextToken();
            long id = 0;
            if (tmp.startsWith("0x")) {
                id = Long.parseLong(tmp.substring(2), 16);
            } else {
                id = Long.parseLong(tmp);
            }
    
            this.identifier_authority = new byte[6];
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 31.5K bytes
    - Click Count (0)
  10. src/main/java/jcifs/smb/SmbFile.java

                    if (destPath.startsWith("\\")) {
                        destPath = destPath.substring(1);
                    }
    
                    // Open the source file for renaming
                    // Use share-relative path for consistency with destination path handling
                    String sourcePath = getUncPath();
                    if (sourcePath.startsWith("\\")) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 103.2K bytes
    - Click Count (0)
Back to Top