Search Options

Results per page
Sort
Preferred Languages
Advance

Results 321 - 330 of 1,855 for Must (0.05 sec)

  1. guava/src/com/google/common/hash/HashCode.java

       */
      public static HashCode fromBytes(byte[] bytes) {
        checkArgument(bytes.length >= 1, "A HashCode must contain at least 1 byte.");
        return fromBytesNoCopy(bytes.clone());
      }
    
      /**
       * Creates a {@code HashCode} from a byte array. The array is <i>not</i> copied defensively, so it
       * must be handed-off so as to preserve the immutability contract of {@code HashCode}.
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 19:54:59 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  2. cmd/metrics-v3-types.go

    }
    
    func (mg *MetricsGroup) validate() {
    	if len(mg.Descriptors) == 0 {
    		panic("Descriptors must be set")
    	}
    
    	// For bools A and B, A XOR B <=> A != B.
    	isExactlyOneSet := (mg.loader == nil) != (mg.bucketLoader == nil)
    	if !isExactlyOneSet {
    		panic("Exactly one Loader function must be set")
    	}
    
    	mg.descriptorMap = make(map[MetricName]MetricDescriptor, len(mg.Descriptors))
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jul 30 22:28:46 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  3. internal/etag/etag.go

    // computes the ETag as MD5 of the encrypted content but there is
    // no way to verify this assumption since the encryption happens
    // inside AWS S3.
    // Therefore, S3 clients must not make any assumption about ETags
    // in case of SSE-C or SSE-KMS except that the ETag is well-formed.
    //
    // To put all of this into a simple rule:
    //
    //	SSE-S3 : ETag == MD5
    //	SSE-C  : ETag != MD5
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Mar 10 21:09:36 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  4. internal/kms/secret-key.go

    	return map[string]madmin.ItemState{
    		"127.0.0.1": madmin.ItemOnline,
    	}, nil
    }
    
    // ListKeys returns a list of keys with metadata. The builtin KMS consists of just a single key.
    func (s secretKey) ListKeys(ctx context.Context, req *ListRequest) ([]madmin.KMSKeyInfo, string, error) {
    	if strings.HasPrefix(s.keyID, req.Prefix) && strings.HasPrefix(s.keyID, req.ContinueAt) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Aug 18 06:43:03 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  5. src/archive/zip/writer.go

    // The name must be a relative path: it must not start with a drive
    // letter (e.g. C:) or leading slash, and only forward slashes are
    // allowed. To create a directory instead of a file, add a trailing
    // slash to the name. Duplicate names will not overwrite previous entries
    // and are appended to the zip file.
    // The file's contents must be written to the [io.Writer] before the next
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Sep 23 14:32:33 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/execution/BuildFailure.java

         * The cause of the build failure.
         */
        private final Throwable cause;
    
        /**
         * Creates a new build summary for the specified project.
         *
         * @param project The project being summarized, must not be {@code null}.
         * @param time The build time of the project in milliseconds.
         * @param cause The cause of the build failure, may be {@code null}.
         */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/hash/HashCode.java

       */
      public static HashCode fromBytes(byte[] bytes) {
        checkArgument(bytes.length >= 1, "A HashCode must contain at least 1 byte.");
        return fromBytesNoCopy(bytes.clone());
      }
    
      /**
       * Creates a {@code HashCode} from a byte array. The array is <i>not</i> copied defensively, so it
       * must be handed-off so as to preserve the immutability contract of {@code HashCode}.
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 19:54:59 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  8. compat/maven-builder-support/src/main/java/org/apache/maven/building/FileSource.java

         *
         * @param file The file, must not be {@code null}.
         * @deprecated Use {@link #FileSource(Path)} instead.
         */
        @Deprecated
        public FileSource(File file) {
            this(Objects.requireNonNull(file, "file cannot be null").toPath());
        }
    
        /**
         * Creates a new source backed by the specified file.
         *
         * @param path The file, must not be {@code null}.
         * @since 4.0.0
         */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/execution/BuildSummary.java

         * @param project The project being summarized, must not be {@code null}.
         * @param time The build time of the project in milliseconds.
         */
        protected BuildSummary(MavenProject project, long time) {
            this(project, time, time);
        }
    
        /**
         * Creates a new build summary for the specified project.
         *
         * @param project The project being summarized, must not be {@code null}.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  10. .github/workflows/codeql-analysis.yml

    #
    # You may wish to alter this file to override the set of languages analyzed,
    # or to provide custom queries or build logic.
    name: "CodeQL"
    
    on:
      push:
        branches: [master]
      pull_request:
        # The branches below must be a subset of the branches above
        branches: [master]
      schedule:
        - cron: '0 11 * * 4'
    
    jobs:
      analyze:
        name: Analyze
        runs-on: ubuntu-latest
    
        strategy:
          fail-fast: false
    Registered: Thu Oct 31 02:32:13 UTC 2024
    - Last Modified: Fri Oct 02 13:24:14 UTC 2020
    - 2.5K bytes
    - Viewed (0)
Back to top