Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 501 - 510 of 652 for EXISTS (0.22 seconds)

  1. cmd/metacache-walk.go

    	legacyFS := s.fsType != xfs && s.fsType != ext4
    
    	s.RLock()
    	legacy := s.formatLegacy
    	s.RUnlock()
    
    	// Verify if volume is valid and it exists.
    	volumeDir, err := s.getVolDir(opts.Bucket)
    	if err != nil {
    		return err
    	}
    
    	if !skipAccessChecks(opts.Bucket) {
    		// Stat a volume entry.
    		if err = Access(volumeDir); err != nil {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Mon May 26 07:06:43 GMT 2025
    - 12.6K bytes
    - Click Count (0)
  2. compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/VersionRange.java

                }
            }
            // Either the original or the specified version ranges have no restrictions
            else if (recommendedVersion != null) {
                // Use the original recommended version since it exists
                version = recommendedVersion;
            } else if (restriction.recommendedVersion != null) {
                // Use the recommended version from the specified VersionRange since there is no
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 19K bytes
    - Click Count (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb/SmbClient.java

         * Copies content from an SmbFile to a File.
         * @param src The source SmbFile.
         * @param dest The destination File.
         */
        private void copy(final SmbFile src, final File dest) {
            if (dest.exists() && !dest.canWrite()) {
                return;
            }
            try (BufferedInputStream in = new BufferedInputStream(new SmbFileInputStream(src));
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Thu Dec 11 08:38:29 GMT 2025
    - 23.4K bytes
    - Click Count (3)
  4. compat/maven-compat/src/main/java/org/apache/maven/project/artifact/MavenMetadataSource.java

            return pomRepositories;
        }
    
        private boolean hasFile(Artifact artifact) {
            return artifact != null
                    && artifact.getFile() != null
                    && artifact.getFile().exists();
        }
    
        private List<ArtifactRepository> aggregateRepositories(
                List<ArtifactRepository> requestRepositories, List<ArtifactRepository> pomRepositories) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Sep 25 12:03:50 GMT 2025
    - 30.4K bytes
    - Click Count (0)
  5. internal/kms/config.go

    // Environment variables for MinIO KMS.
    const (
    	EnvKMSEndpoint   = "MINIO_KMS_SERVER"  // List of MinIO KMS endpoints, separated by ','
    	EnvKMSEnclave    = "MINIO_KMS_ENCLAVE" // MinIO KMS enclave in which the key and identity exists
    	EnvKMSDefaultKey = "MINIO_KMS_SSE_KEY" // Default key used for SSE-S3 or when no SSE-KMS key ID is specified
    	EnvKMSAPIKey     = "MINIO_KMS_API_KEY" // Credential to access the MinIO KMS.
    )
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 15K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/core/collection/CollectionsUtil.java

         */
        public static <K, V> V putIfAbsent(final ConcurrentMap<K, V> map, final K key, final V value) {
            final V exists = map.putIfAbsent(key, value);
            if (exists != null) {
                return exists;
            }
            return value;
        }
    
        /**
         * Returns {@literal true} if the given {@link Collection} is {@literal null} or empty.
         *
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 49.9K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/primitives/Longs.java

       * @param target a primitive {@code long} value
       * @return the least index {@code i} for which {@code array[i] == target}, or {@code -1} if no
       *     such index exists.
       */
      public static int indexOf(long[] array, long target) {
        return indexOf(array, target, 0, array.length);
      }
    
      // TODO(kevinb): consider making this public
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Oct 22 18:14:49 GMT 2025
    - 29K bytes
    - Click Count (0)
  8. cmd/local-locker.go

    		if !ok {
    			// No more resources for UID, but we did update at least one.
    			return true, nil
    		}
    	}
    }
    
    // Similar to removeEntry but only removes an entry only if the lock entry exists in map.
    // Caller must hold 'l.mutex' lock.
    func (l *localLocker) expireOldLocks(interval time.Duration) {
    	defer l.getMutex()()
    
    	var readers, writers int32
    	for k, lris := range l.lockMap {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 12K bytes
    - Click Count (0)
  9. internal/kms/kms.go

    		Name:         k.Type.String(),
    		DefaultKeyID: k.DefaultKey,
    		Endpoints:    endpoints,
    	}, nil
    }
    
    // CreateKey creates the master key req.Name. It returns
    // ErrKeyExists if the key already exists.
    func (k *KMS) CreateKey(ctx context.Context, req *CreateKeyRequest) error {
    	start := time.Now()
    	err := k.conn.CreateKey(ctx, req)
    	k.updateMetrics(err, time.Since(start))
    
    	return err
    }
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Thu Apr 24 15:33:57 GMT 2025
    - 11.4K bytes
    - Click Count (0)
  10. cmd/data-usage-cache.go

    	if cycles <= 1 {
    		return cycles == 1
    	}
    	return uint32(xxhash.Sum64String(string(h))>>32)%(cycles) == cycle%cycles
    }
    
    // addChild will add a child based on its hash.
    // If it already exists it will not be added again.
    func (e *dataUsageEntry) addChild(hash dataUsageHash) {
    	if _, ok := e.Children[hash.Key()]; ok {
    		return
    	}
    	if e.Children == nil {
    		e.Children = make(dataUsageHashMap, 1)
    	}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 34.7K bytes
    - Click Count (0)
Back to Top