Search Options

Results per page
Sort
Preferred Languages
Advance

Results 371 - 380 of 489 for _validate (0.12 sec)

  1. guava/src/com/google/common/cache/CacheStats.java

        return (totalLoadCount == 0) ? 0.0 : (double) totalLoadTime / totalLoadCount;
      }
    
      /**
       * Returns the number of times an entry has been evicted. This count does not include manual
       * {@linkplain Cache#invalidate invalidations}.
       */
      public long evictionCount() {
        return evictionCount;
      }
    
      /**
       * Returns a new {@code CacheStats} representing the difference between this {@code CacheStats}
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/HashBiMap.java

         * the key entry's prev or next pointer might point to the dead value entry, and when we
         * put the new entry in the key entry's position in iteration order, it might invalidate
         * the linked list.
         */
    
        if (oldEntryForValue != null) {
          delete(oldEntryForValue);
        }
    
        if (oldEntryForKey != null) {
          delete(oldEntryForKey);
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 13 14:11:58 UTC 2023
    - 24.5K bytes
    - Viewed (0)
  3. internal/logger/target/http/http.go

    }
    
    // AssignMigrateTarget assigns a target
    // which will eventually replace the current target.
    func (h *Target) AssignMigrateTarget(migrateTgt *Target) {
    	h.migrateTarget = migrateTgt
    }
    
    // Init validate and initialize the http target
    func (h *Target) Init(ctx context.Context) (err error) {
    	if h.config.QueueDir != "" {
    		return h.initQueueOnce.DoWithContext(ctx, h.initDiskStore)
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Sep 11 22:20:42 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  4. cmd/xl-storage-format-v2.go

    			return nil, nil, fmt.Errorf("xlMetaV2.Load version(%d), CRC mismatch, want 0x%x, got 0x%x", minor, crc, got)
    		}
    	} else {
    		return nil, nil, err
    	}
    	data = buf
    	if data.validate() != nil {
    		data.repair()
    	}
    
    	return meta, data, nil
    }
    
    type xlMetaV2ShallowVersion struct {
    	header xlMetaV2VersionHeader
    	meta   []byte
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 64K bytes
    - Viewed (1)
  5. android/guava/src/com/google/common/io/MoreFiles.java

        private PathByteSource(Path path, OpenOption... options) {
          this.path = checkNotNull(path);
          this.options = options.clone();
          this.followLinks = followLinks(this.options);
          // TODO(cgdecker): validate the provided options... for example, just WRITE seems wrong
        }
    
        private static boolean followLinks(OpenOption[] options) {
          for (OpenOption option : options) {
            if (option == NOFOLLOW_LINKS) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 16:07:00 UTC 2024
    - 35K bytes
    - Viewed (0)
  6. guava/src/com/google/common/io/MoreFiles.java

        private PathByteSource(Path path, OpenOption... options) {
          this.path = checkNotNull(path);
          this.options = options.clone();
          this.followLinks = followLinks(this.options);
          // TODO(cgdecker): validate the provided options... for example, just WRITE seems wrong
        }
    
        private static boolean followLinks(OpenOption[] options) {
          for (OpenOption option : options) {
            if (option == NOFOLLOW_LINKS) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 16:07:00 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  7. cmd/metacache-server-pool.go

    		return entries, err
    	}
    
    	// Marker points to before the prefix, just ignore it.
    	if o.Marker < o.Prefix {
    		o.Marker = ""
    	}
    
    	// Marker is set validate pre-condition.
    	if o.Marker != "" && o.Prefix != "" {
    		// Marker not common with prefix is not implemented. Send an empty response
    		if !HasPrefix(o.Marker, o.Prefix) {
    			return entries, io.EOF
    		}
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 12 16:23:16 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Tables.java

          Map<R, Map<C, V>> backingMap, Supplier<? extends Map<C, V>> factory) {
        checkArgument(backingMap.isEmpty());
        checkNotNull(factory);
        // TODO(jlevy): Wrap factory to validate that the supplied maps are empty?
        return new StandardTable<>(backingMap, factory);
      }
    
      /**
       * Returns a view of a table where each value is transformed by a function. All other properties
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 21:21:17 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  9. cmd/iam-store.go

    	if group == "" {
    		return updatedAt, errInvalidArgument
    	}
    
    	cache := store.lock()
    	defer store.unlock()
    
    	// Validate that all members exist.
    	for _, member := range members {
    		u, ok := cache.iamUsersMap[member]
    		if !ok {
    			return updatedAt, errNoSuchUser
    		}
    		cr := u.Credentials
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Oct 14 16:35:37 UTC 2024
    - 83.2K bytes
    - Viewed (0)
  10. cmd/bucket-lifecycle.go

    		return nil, err
    	}
    	return &req, nil
    }
    
    // validate a RestoreObjectRequest as per AWS S3 spec https://docs.aws.amazon.com/AmazonS3/latest/API/API_RestoreObject.html
    func (r *RestoreObjectRequest) validate(ctx context.Context, objAPI ObjectLayer) error {
    	if r.Type != SelectRestoreRequest && !r.SelectParameters.IsEmpty() {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Oct 23 15:35:37 UTC 2024
    - 33.7K bytes
    - Viewed (0)
Back to top