Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 1,253 for Exists (0.05 sec)

  1. compat/maven-compat/src/test/java/org/apache/maven/artifact/testutils/TestFileManager.java

        public void assertFileExistence(File dir, String filename, boolean shouldExist) {
            File file = new File(dir, filename);
    
            if (shouldExist) {
                assertTrue(file.exists());
            } else {
                assertFalse(file.exists());
            }
        }
    
        public void assertFileContents(File dir, String filename, String contentsTest, String encoding) throws IOException {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/io/FileBackedOutputStreamAndroidIncompatibleTest.java

        assertEquals(100, file.length());
        assertTrue(file.exists());
        out.close();
    
        // Make sure that finalize deletes the file
        out = null;
    
        // times out and throws RuntimeException on failure
        GcFinalization.awaitDone(
            new GcFinalization.FinalizationPredicate() {
              @Override
              public boolean isDone() {
                return !file.exists();
              }
            });
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jun 08 21:20:23 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/FileTransformer.java

                File file = new File(targetFile, paths[i]);
                if (file.exists()) {
                    if (!file.isDirectory()) {
                        for (int j = 0; j < maxDuplicatedPath; j++) {
                            file = new File(targetFile, paths[i] + "_" + j);
                            if (!file.exists()) {
                                if (!file.mkdirs()) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  4. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/DefaultUpdateCheckManagerTest.java

            assertNull(
                    updateCheckManager.readLastUpdated(touchFile, updateCheckManager.getRepositoryKey(remoteRepository)));
    
            assertFalse(updateCheckManager.getTouchfile(a).exists());
        }
    
        @Test
        void testMissingArtifact() throws Exception {
            ArtifactRepository remoteRepository = remoteRepository();
    
            ArtifactRepository localRepository = localRepository();
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  5. .teamcity/.mvn/wrapper/MavenWrapperDownloader.java

            // If the maven-wrapper.properties exists, read it and check if it contains a custom
            // wrapperUrl parameter.
            File mavenWrapperPropertyFile = new File(baseDirectory, MAVEN_WRAPPER_PROPERTIES_PATH);
            String url = DEFAULT_DOWNLOAD_URL;
            if(mavenWrapperPropertyFile.exists()) {
                FileInputStream mavenWrapperPropertyFileInputStream = null;
                try {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Feb 26 01:48:39 UTC 2020
    - 4.8K bytes
    - Viewed (0)
  6. cmd/tier.go

    func (config *TierConfigMgr) Edit(ctx context.Context, tierName string, creds madmin.TierCreds) error {
    	config.Lock()
    	defer config.Unlock()
    
    	// check if tier by this name exists
    	tierType, exists := config.isTierNameInUse(tierName)
    	if !exists {
    		return errTierNotFound
    	}
    
    	cfg := config.Tiers[tierName]
    	switch tierType {
    	case madmin.S3:
    		if creds.AWSRole {
    			cfg.S3.AWSRole = true
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 20:44:05 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/DosError.java

            "The process cannot access the file because another process has locked a portion of the file.", "The disk is full.",
            "A duplicate name exists on the network.", "The network name cannot be found.", "ERRnomoreconn.", "The file exists.",
            "The parameter is incorrect.", "Too many Uids active on this session.", "The Uid is not known as a valid user identifier on this session.",
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 10:52:42 UTC 2020
    - 4.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/DosError.java

            "The process cannot access the file because another process has locked a portion of the file.",
            "The disk is full.",
            "A duplicate name exists on the network.",
            "The network name cannot be found.",
            "ERRnomoreconn.",
            "The file exists.",
            "The parameter is incorrect.",
            "Too many Uids active on this session.",
            "The Uid is not known as a valid user identifier on this session.",
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 4.5K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/io/FileBackedOutputStreamAndroidIncompatibleTest.java

        assertEquals(100, file.length());
        assertTrue(file.exists());
        out.close();
    
        // Make sure that finalize deletes the file
        out = null;
    
        // times out and throws RuntimeException on failure
        GcFinalization.awaitDone(
            new GcFinalization.FinalizationPredicate() {
              @Override
              public boolean isDone() {
                return !file.exists();
              }
            });
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jun 08 21:20:23 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  10. helm/minio/templates/_helper_create_user.txt

      if [[ ! -f $MINIO_ACCESSKEY_SECRETKEY_TMP ]];then
        echo "credentials file does not exist"
        return 1
      fi
      if [[ $(cat $MINIO_ACCESSKEY_SECRETKEY_TMP|wc -l) -ne 2 ]];then
        echo "credentials file is invalid"
        rm -f $MINIO_ACCESSKEY_SECRETKEY_TMP
        return 1
      fi
      USER=$(head -1 $MINIO_ACCESSKEY_SECRETKEY_TMP)
      # Create the user if it does not exist
      if ! checkUserExists ; then
        echo "Creating user '$USER'"
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Dec 12 23:43:32 UTC 2023
    - 3.2K bytes
    - Viewed (0)
Back to top