Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 361 - 370 of 739 for EXISTS (0.05 seconds)

  1. src/main/java/org/codelibs/core/io/ResourceTraversalUtil.java

         * </p>
         *
         * @param rootDir the root directory (must not be {@literal null})
         * @param baseDirectory the base directory
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 9.2K bytes
    - Click Count (0)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/DomUtils.java

     * <p>Many operations can be performed directly using DomTrip's Element API:
     * <pre>{@code
     * // Find child element
     * Element child = parent.child("version").orElse(null);
     *
     * // Check if child exists
     * boolean hasVersion = parent.child("version").isPresent();
     *
     * // Get child text content
     * String version = parent.child("version")
     *     .map(Element::textContent)
     *     .orElse(null);
     *
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 7.4K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/app/service/JobLogService.java

            return jobLogBhv.selectByPK(id);
        }
    
        /**
         * Stores a job log entry in the database.
         * Performs an insert or update operation based on whether the job log already exists.
         *
         * @param jobLog the job log to store
         */
        public void store(final JobLog jobLog) {
    
            jobLogBhv.insertOrUpdate(jobLog, op -> {
                op.setRefreshPolicy(Constants.TRUE);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 6.6K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/io/MoreFilesTest.java

        Path temp = createTempFile();
        assertTrue(Files.exists(temp));
        Files.delete(temp);
        assertFalse(Files.exists(temp));
    
        MoreFiles.touch(temp);
        assertTrue(Files.exists(temp));
        MoreFiles.touch(temp);
        assertTrue(Files.exists(temp));
      }
    
      public void testTouchTime() throws IOException {
        Path temp = createTempFile();
        assertTrue(Files.exists(temp));
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 19:26:39 GMT 2026
    - 26.6K bytes
    - Click Count (0)
  5. src/main/java/jcifs/internal/smb1/com/SmbComOpenAndX.java

            if ((flags & SmbConstants.O_CREAT) == SmbConstants.O_CREAT) {
                // create it if necessary
                if ((flags & SmbConstants.O_EXCL) == SmbConstants.O_EXCL) {
                    // fail if already exists
                    this.openFunction = OPEN_FN_CREATE | OPEN_FN_FAIL_IF_EXISTS;
                } else {
                    this.openFunction = OPEN_FN_CREATE | OPEN_FN_OPEN;
                }
            } else {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 7.3K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/io/MoreFilesTest.java

        Path temp = createTempFile();
        assertTrue(Files.exists(temp));
        Files.delete(temp);
        assertFalse(Files.exists(temp));
    
        MoreFiles.touch(temp);
        assertTrue(Files.exists(temp));
        MoreFiles.touch(temp);
        assertTrue(Files.exists(temp));
      }
    
      public void testTouchTime() throws IOException {
        Path temp = createTempFile();
        assertTrue(Files.exists(temp));
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 19:26:39 GMT 2026
    - 27.5K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/helper/CrawlingInfoHelperTest.java

                    return null; // No existing session
                }
    
                @Override
                public void store(CrawlingInfo entity) {
                    fail("Store should not be called when no session exists");
                }
    
                @Override
                public void storeInfo(List<CrawlingInfoParam> crawlingInfoParamList) {
                    // Not called
                }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 12 01:46:45 GMT 2026
    - 28.7K bytes
    - Click Count (0)
  8. cmd/update.go

    	return env.Get("KUBERNETES_SERVICE_HOST", "") != ""
    }
    
    // IsBOSH returns true if minio is deployed from a bosh package
    func IsBOSH() bool {
    	// "/var/vcap/bosh" exists in BOSH deployed instance.
    	_, err := os.Stat("/var/vcap/bosh")
    	if osIsNotExist(err) {
    		return false
    	}
    
    	// Log error, as we will not propagate it to caller
    	internalLogIf(GlobalContext, err)
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 18.9K bytes
    - Click Count (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/AbstractMapTester.java

        return mapEntry(key, value);
      }
    
      @Override
      protected void expectContents(Collection<Entry<K, V>> expected) {
        // TODO: move this to invariant checks once the appropriate hook exists?
        super.expectContents(expected);
        for (Entry<K, V> entry : expected) {
          assertEquals(
              "Wrong value for key " + entry.getKey(), entry.getValue(), getMap().get(entry.getKey()));
        }
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Jan 18 02:54:30 GMT 2025
    - 7.8K bytes
    - Click Count (0)
  10. src/test/java/jcifs/smb1/util/transport/TransportExceptionTest.java

                assertTrue(result.contains(message));
                assertFalse(result.contains("\n"));
            }
    
            @Test
            @DisplayName("Should include stack trace when root cause exists")
            void testToStringWithRootCause() {
                String message = "Transport error";
                String rootMessage = "Root cause error";
                Exception rootCause = new IllegalArgumentException(rootMessage);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.5K bytes
    - Click Count (0)
Back to Top