Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 572 for EXISTS (0.04 sec)

  1. cmd/admin-bucket-handlers.go

    	}
    
    	target.SourceBucket = bucket
    	var ops []madmin.TargetUpdateType
    	if update {
    		ops = madmin.GetTargetUpdateOps(r.Form)
    	} else {
    		var exists bool // true if arn exists
    		target.Arn, exists = globalBucketTargetSys.getRemoteARN(bucket, &target, "")
    		if exists && target.Arn != "" { // return pre-existing ARN
    			data, err := json.Marshal(target.Arn)
    			if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 28 15:32:18 UTC 2024
    - 33.2K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/misc/DynamicProperties.java

            if (file == null) {
                throw new FileAccessException("ECL0108");
            }
    
            this.propertiesFile = file;
            if (!this.propertiesFile.exists()) {
                final File parentDir = this.propertiesFile.getParentFile();
                if (!parentDir.exists()) {
                    if (!parentDir.mkdir()) {
                        throw new FileAccessException("ECL0109", new Object[] { file.getAbsolutePath() });
                    }
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  3. 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)
  4. helm/minio/templates/_helper_create_policy.txt

        fi ;
        sleep 2 ; # 1 second intervals between attempts
        $MC_COMMAND ;
        STATUS=$? ;
      done ;
      set -e ; # reset `e` as active
      return 0
    }
    
    # checkPolicyExists ($policy)
    # Check if the policy exists, by using the exit code of `mc admin policy info`
    checkPolicyExists() {
      POLICY=$1
      CMD=$(${MC} admin policy info myminio $POLICY > /dev/null 2>&1)
      return $?
    }
    
    # createPolicy($name, $filename)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Mar 21 06:38:06 UTC 2023
    - 2K bytes
    - Viewed (0)
  5. cmd/bucket-replication-handlers.go

    	}
    	if s3Error := checkRequestAuthType(ctx, r, policy.PutReplicationConfigurationAction, bucket, ""); s3Error != ErrNone {
    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(s3Error), r.URL)
    		return
    	}
    	// Check if bucket exists.
    	if _, err := objectAPI.GetBucketInfo(ctx, bucket, BucketOptions{}); err != nil {
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 23.3K bytes
    - Viewed (0)
  6. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/SubprojectsInfo.kt

        }
    
        private
        fun generateSubprojects(): List<GradleSubproject> {
            return generateSubprojectsDirectories()
                .filter {
                    File(it, "build.gradle.kts").exists() ||
                        File(it, "build.gradle").exists()
                }
                .sortedBy { it.name }
                .map(this::generateSubproject)
        }
    
    
        private
        fun generateSubproject(subprojectDir: File): GradleSubproject {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/services/SettingsBuilderRequest.java

                            installationSettingsPath != null && Files.exists(installationSettingsPath)
                                    ? Source.fromPath(installationSettingsPath)
                                    : null)
                    .projectSettingsSource(
                            projectSettingsPath != null && Files.exists(projectSettingsPath)
                                    ? Source.fromPath(projectSettingsPath)
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Oct 17 09:25:53 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/RangeSet.java

      /**
       * Returns {@code true} if there exists a non-empty range enclosed by both a member range in this
       * range set and the specified range. This is equivalent to calling {@code
       * subRangeSet(otherRange)} and testing whether the resulting range set is non-empty.
       *
       * @since 20.0
       */
      boolean intersects(Range<C> otherRange);
    
      /**
       * Returns {@code true} if there exists a member range in this range set which {@linkplain
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  9. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/AbstractCrawlerService.java

        protected void createMapping(final String mappingName) {
            boolean exists = false;
            try {
                final IndicesExistsResponse response = fesenClient.get(c -> c.admin().indices().prepareExists(index).execute());
                exists = response.isExists();
            } catch (final IndexNotFoundException e) {
                // ignore
            }
            if (!exists) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 23.6K bytes
    - Viewed (0)
  10. fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/impl/SitemapsRuleTest.java

            if (is instanceof TemporaryFileInputStream) {
                File temporaryFile = ((TemporaryFileInputStream) is).getTemporaryFile();
                assertTrue(temporaryFile.exists());
                CloseableUtil.closeQuietly(is);
                assertFalse(temporaryFile.exists());
            } else {
                CloseableUtil.closeQuietly(is);
            }
        }
    
        private ResponseData getTestData1_OK() {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 4.7K bytes
    - Viewed (0)
Back to top