Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for Opts (0.04 sec)

  1. cmd/erasure-object.go

    		if err != nil {
    			return ObjectInfo{}, err
    		}
    		if dsc.ReplicateAny() {
    			opts.SetDeleteReplicationState(dsc, opts.VersionID)
    			goi.replicationDecision = opts.DeleteReplication.ReplicateDecisionStr
    		}
    	}
    
    	if opts.EvalRetentionBypassFn != nil {
    		if err := opts.EvalRetentionBypassFn(goi, gerr); err != nil {
    			return ObjectInfo{}, err
    		}
    	}
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Oct 24 04:05:31 UTC 2025
    - 80.4K bytes
    - Viewed (0)
  2. cmd/erasure-multipart-conditional_test.go

    		// Since read quorum fails, we can't determine if object exists.
    		opts := ObjectOptions{
    			UserDefined: map[string]string{
    				xhttp.IfNoneMatch: "*",
    			},
    			CheckPrecondFn: func(oi ObjectInfo) bool {
    				// Precondition fails if object exists (ETag is not empty)
    				return oi.ETag != ""
    			},
    		}
    
    		_, err := obj.NewMultipartUpload(ctx, bucket, object, opts)
    		if !isErrReadQuorum(err) {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Oct 24 04:05:31 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  3. cmd/erasure-multipart.go

    		delete(userDefined, xhttp.AmzStorageClass)
    	}
    
    	if opts.WantChecksum != nil && opts.WantChecksum.Type.IsSet() {
    		userDefined[hash.MinIOMultipartChecksum] = opts.WantChecksum.Type.String()
    		userDefined[hash.MinIOMultipartChecksumType] = opts.WantChecksum.Type.ObjType()
    	}
    
    	modTime := opts.MTime
    	if opts.MTime.IsZero() {
    		modTime = UTCNow()
    	}
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Oct 24 04:05:31 UTC 2025
    - 47.1K bytes
    - Viewed (0)
  4. cmd/erasure-object-conditional_test.go

    		// Test Case 1: if-none-match (create only if doesn't exist)
    		// With if-none-match: *, this should only succeed if object doesn't exist.
    		// Since read quorum fails, we can't determine if object exists.
    		opts := ObjectOptions{
    			UserDefined: map[string]string{
    				xhttp.IfNoneMatch: "*",
    			},
    			CheckPrecondFn: func(oi ObjectInfo) bool {
    				// Precondition fails if object exists (ETag is not empty)
    				return oi.ETag != ""
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Oct 24 04:05:31 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  5. compat/maven-model/src/test/java/org/apache/maven/model/v4/Xpp3DomPerfTest.java

         * @throws org.openjdk.jmh.runner.RunnerException if any.
         */
        public static void main(String... args) throws RunnerException {
            Options opts = new OptionsBuilder().forks(1).build();
            new Runner(opts).run();
        }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Sep 29 14:45:25 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  6. cmd/iam.go

    	}
    	if len(opts.secretKey) > 0 && len(opts.accessKey) == 0 {
    		return auth.Credentials{}, time.Time{}, auth.ErrNoAccessKeyWithSecretKey
    	}
    
    	var policyBuf []byte
    	if opts.sessionPolicy != nil {
    		err := opts.sessionPolicy.Validate()
    		if err != nil {
    			return auth.Credentials{}, time.Time{}, err
    		}
    		policyBuf, err = json.Marshal(opts.sessionPolicy)
    		if err != nil {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Wed Oct 15 17:00:45 UTC 2025
    - 76.5K bytes
    - Viewed (0)
  7. cmd/metrics-v3-handler.go

    )
    
    type promLogger struct{}
    
    func (p promLogger) Println(v ...any) {
    	metricsLogIf(GlobalContext, fmt.Errorf("metrics handler error: %v", v))
    }
    
    type metricsV3Server struct {
    	registry *prometheus.Registry
    	opts     promhttp.HandlerOpts
    	auth     func(http.Handler) http.Handler
    
    	metricsData *metricsV3Collection
    }
    
    var (
    	globalMetricsV3CollectorPaths []collectorPath
    	globalMetricsV3Once           sync.Once
    )
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Oct 10 18:57:03 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  8. migrator/migrator.go

    		).Row().Scan(&count)
    	})
    
    	return count > 0
    }
    
    // BuildIndexOptions build index options
    func (m Migrator) BuildIndexOptions(opts []schema.IndexOption, stmt *gorm.Statement) (results []interface{}) {
    	for _, opt := range opts {
    		str := stmt.Quote(opt.DBName)
    		if opt.Expression != "" {
    			str = opt.Expression
    		} else if opt.Length > 0 {
    			str += fmt.Sprintf("(%d)", opt.Length)
    		}
    
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Sun Oct 26 12:31:09 UTC 2025
    - 29.7K bytes
    - Viewed (0)
  9. generics.go

    	LimitPerRecord(num int) PreloadBuilder
    }
    
    type op func(*DB) *DB
    
    func G[T any](db *DB, opts ...clause.Expression) Interface[T] {
    	v := &g[T]{
    		db:  db,
    		ops: make([]op, 0, 5),
    	}
    
    	if len(opts) > 0 {
    		v.ops = append(v.ops, func(db *DB) *DB {
    			return db.Clauses(opts...)
    		})
    	}
    
    	v.createG = &createG[T]{
    		chainG: chainG[T]{
    			execG: execG[T]{g: v},
    		},
    	}
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Sun Nov 02 14:09:18 UTC 2025
    - 25.9K bytes
    - Viewed (0)
  10. cmd/api-router.go

    		xhttp.LastModified,
    		xhttp.ContentLanguage,
    		xhttp.CacheControl,
    		xhttp.RetryAfter,
    		xhttp.AmzBucketRegion,
    		xhttp.Expires,
    		"X-Amz*",
    		"x-amz*",
    		"*",
    	}
    	opts := cors.Options{
    		AllowOriginFunc: func(origin string) bool {
    			for _, allowedOrigin := range globalAPIConfig.getCorsAllowOrigins() {
    				if wildcard.MatchSimple(allowedOrigin, origin) {
    					return true
    				}
    			}
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Oct 24 04:05:19 UTC 2025
    - 23.3K bytes
    - Viewed (0)
Back to top