Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 151 for exists (0.21 sec)

  1. 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));
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Jan 29 22:57:05 GMT 2024
    - 27.2K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/io/FilesTest.java

      }
    
      public void testTouch() throws IOException {
        File temp = createTempFile();
        assertTrue(temp.exists());
        assertTrue(temp.delete());
        assertFalse(temp.exists());
        Files.touch(temp);
        assertTrue(temp.exists());
        Files.touch(temp);
        assertTrue(temp.exists());
    
        assertThrows(
            IOException.class,
            () ->
                Files.touch(
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 22.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/tests/SessionTest.java

                checkConnection(f);
                f.resolve("test").exists();
            }
        }
    
    
        @Test
        public void transportReconnects () throws IOException {
            try ( SmbFile f = getDefaultShareRoot() ) {
                // transport disconnects can happen pretty much any time
                assertNotNull(f);
                f.connect();
                f.exists();
                assertNotNull(f);
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:09:03 GMT 2023
    - 15.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/tests/EnumTest.java

                  SmbFile f = new SmbFile(r, "enum-test/a/b/c/") ) {
                f.exists();
            }
    
        }
    
    
        @Test
        public void testEnumDeepVirgin () throws IOException {
    
            try ( SmbFile r = getDefaultShareRoot();
                  SmbFile f = new SmbFile(r, "x-test/") ) {
                if ( !f.exists() ) {
                    f.mkdirs();
                }
            }
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:09:03 GMT 2023
    - 25.5K bytes
    - Viewed (0)
  5. guava-testlib/test/com/google/common/collect/testing/features/FeatureUtilTest.java

        // Exists to test that our framework doesn't run it:
        @SuppressWarnings("unused")
        @ExampleDerivedFeature.Require({
          ExampleDerivedFeature.DERIVED_FEATURE_1,
          ExampleDerivedFeature.DERIVED_FEATURE_2
        })
        public void testRequiringTwoExplicitDerivedFeatures() throws Exception {
          doNotActuallyRunThis();
        }
    
        // Exists to test that our framework doesn't run it:
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/es/config/cbean/cq/bs/BsCrawlingInfoCQ.java

            if (opLambda != null) {
                opLambda.callback(builder);
            }
        }
    
        public void setCreatedTime_Exists() {
            setCreatedTime_Exists(null);
        }
    
        public void setCreatedTime_Exists(ConditionOptionCall<ExistsQueryBuilder> opLambda) {
            ExistsQueryBuilder builder = regExistsQ("createdTime");
            if (opLambda != null) {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 34.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/NtStatus.java

            "There are currently no logon servers available to service the logon request.", "The specified user already exists.",
            "The specified user does not exist.", "The specified network password is not correct.", "Logon failure: unknown user name or bad password.",
            "Logon failure: user account restriction.", "Logon failure: account logon time restriction violation.",
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sat Jun 01 10:09:29 GMT 2019
    - 11.9K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/ReactorReader.java

            // No project, but most certainly a dependency which has been built previously
            File packagedArtifactFile = findInProjectLocalRepository(artifact);
            if (packagedArtifactFile != null && packagedArtifactFile.exists()) {
                return packagedArtifactFile;
            }
    
            return null;
        }
    
        public List<String> findVersions(Artifact artifact) {
            List<String> versions = getProjects()
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 16:33:18 GMT 2024
    - 21.3K bytes
    - Viewed (0)
  9. maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/DefaultRepositoryMetadataManager.java

                            getLogger().debug(metadata + " could not be found on repository: " + repository.getId());
    
                            // delete the local copy so the old details aren't used.
                            if (file.exists()) {
                                if (!file.delete()) {
                                    // sleep for 10ms just in case this is windows holding a file lock
                                    try {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 18.9K bytes
    - Viewed (0)
  10. src/test/java/jcifs/tests/FileOperationsTest.java

                try {
                    f.renameTo(f2);
                    try {
                        assertTrue(f2.exists());
                        renamed = true;
                    }
                    finally {
                        f2.delete();
                    }
                }
                finally {
                    if ( !renamed && f.exists() ) {
                        f.delete();
                    }
                }
            }
        }
    
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:17:59 GMT 2023
    - 16.3K bytes
    - Viewed (0)
Back to top