Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 212 for copts (0.03 sec)

  1. tensorflow/c/BUILD

        srcs = ["tf_shape.cc"],
        hdrs = ["tf_shape.h"],
        copts = tf_copts(),
        visibility = ["//visibility:public"],
        deps = [
            ":c_api_macros",
            ":tf_shape_internal",
            "//tensorflow/core:framework",
        ],
    )
    
    cc_library(
        name = "tf_shape_internal",
        hdrs = ["tf_shape_internal.h"],
        copts = tf_copts(),
        visibility = ["//tensorflow:internal"],
        deps = [
    Registered: Tue Oct 29 12:39:09 UTC 2024
    - Last Modified: Thu Oct 24 19:09:45 UTC 2024
    - 30.4K bytes
    - Viewed (0)
  2. docs/sts/custom-token-identity.go

    	// The credentials package in minio-go provides an interface to call the
    	// AssumeRoleWithCustomToken STS API.
    
    	var opts []cr.CustomTokenOpt
    	if expiryDuration != 0 {
    		opts = append(opts, cr.CustomTokenValidityOpt(expiryDuration))
    	}
    
    	// Initialize
    	li, err := cr.NewCustomTokenCredentials(stsEndpoint, token, roleArn, opts...)
    	if err != nil {
    		log.Fatalf("Error initializing CustomToken Identity: %v", err)
    	}
    
    	v, err := li.Get()
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Fri May 27 00:58:09 UTC 2022
    - 3.4K bytes
    - Viewed (0)
  3. tensorflow/c/eager/BUILD

        srcs = [
            "c_api.cc",
            "c_api_debug.cc",
            "c_api_experimental.h",
            "c_api_internal.h",
            "c_api_unified_experimental.h",
        ],
        hdrs = ["c_api.h"],
        copts = tf_copts(),
        visibility = ["//visibility:public"],
        deps = select({
            "//tensorflow:android": [
                "//tensorflow/core:portable_tensorflow_lib_lite",
            ],
            "//conditions:default": [
    Registered: Tue Oct 29 12:39:09 UTC 2024
    - Last Modified: Thu Apr 11 23:52:39 UTC 2024
    - 33.3K bytes
    - Viewed (0)
  4. cmd/sftp-server.go

    			return nil, errAuthentication
    		}
    
    	}
    
    	copts := map[string]string{
    		"AccessKey": ui.Credentials.AccessKey,
    		"SecretKey": ui.Credentials.SecretKey,
    	}
    	if ui.Credentials.IsTemp() {
    		copts["SessionToken"] = ui.Credentials.SessionToken
    	}
    
    	return &ssh.Permissions{
    		CriticalOptions: copts,
    		Extensions:      make(map[string]string),
    	}, nil
    }
    
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Tue Aug 20 20:00:29 UTC 2024
    - 16K bytes
    - Viewed (0)
  5. cmd/bucket-replication.go

    			TargetArn: opts.arn,
    		})
    	if len(tgtArns) != 1 {
    		replLogIf(ctx, fmt.Errorf("replication resync failed for %s - arn specified %s is missing in the replication config", opts.bucket, opts.arn))
    		return
    	}
    	tgt := globalBucketTargetSys.GetRemoteTargetClient(opts.bucket, opts.arn)
    	if tgt == nil {
    		replLogIf(ctx, fmt.Errorf("replication resync failed for %s - target could not be created for arn %s", opts.bucket, opts.arn))
    		return
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Thu Oct 10 06:49:55 UTC 2024
    - 116.1K bytes
    - Viewed (0)
  6. cmd/warm-backend-s3.go

    }
    
    func (s3 *warmBackendS3) Get(ctx context.Context, object string, rv remoteVersionID, opts WarmBackendGetOpts) (io.ReadCloser, error) {
    	gopts := minio.GetObjectOptions{}
    
    	if rv != "" {
    		gopts.VersionID = string(rv)
    	}
    	if opts.startOffset >= 0 && opts.length > 0 {
    		if err := gopts.SetRange(opts.startOffset, opts.startOffset+opts.length-1); err != nil {
    			return nil, s3.ToObjectError(err, object)
    		}
    	}
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Sun Apr 21 11:43:18 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  7. cmd/perf-tests.go

    	downloadsCtx, downloadsCancel := context.WithTimeout(ctx, opts.duration)
    	defer downloadsCancel()
    
    	gopts := minio.GetObjectOptions{}
    	gopts.Set(globalObjectPerfUserMetadata, "true") // Bypass S3 API freeze
    
    	var downloadTimes madmin.TimeDurations
    	var downloadTTFB madmin.TimeDurations
    	wg.Add(opts.concurrency)
    
    	c := minio.Core{Client: clnt}
    	for i := 0; i < opts.concurrency; i++ {
    		go func(i int) {
    			defer wg.Done()
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  8. docs/debugging/s3-verify/main.go

    		tclnt.TraceOn(os.Stderr)
    	}
    
    	sopts := minio.ListObjectsOptions{
    		Recursive: true,
    		Prefix:    sourcePrefix,
    	}
    
    	topts := minio.ListObjectsOptions{
    		Recursive: true,
    		Prefix:    targetPrefix,
    	}
    
    	srcCh := sclnt.ListObjects(context.Background(), sourceBucket, sopts)
    	tgtCh := tclnt.ListObjects(context.Background(), targetBucket, topts)
    
    	srcCtnt, srcOk := nextObject(srcCh)
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Wed Jun 22 15:12:47 UTC 2022
    - 8.4K bytes
    - Viewed (0)
  9. internal/config/heal/heal.go

    func (opts Config) GetWorkers() int {
    	configMutex.RLock()
    	defer configMutex.RUnlock()
    	return opts.DriveWorkers
    }
    
    // Update updates opts with nopts
    func (opts *Config) Update(nopts Config) {
    	configMutex.Lock()
    	defer configMutex.Unlock()
    
    	opts.Bitrot = nopts.Bitrot
    	opts.IOCount = nopts.IOCount
    	opts.Sleep = nopts.Sleep
    	opts.DriveWorkers = nopts.DriveWorkers
    
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  10. internal/config/batch/batch.go

    		ReplicationWorkersWait: opts.ReplicationWorkersWait,
    		KeyRotationWorkersWait: opts.KeyRotationWorkersWait,
    		ExpirationWorkersWait:  opts.ExpirationWorkersWait,
    	}
    }
    
    // Update updates opts with nopts
    func (opts *Config) Update(nopts Config) {
    	configMu.Lock()
    	defer configMu.Unlock()
    
    	opts.ReplicationWorkersWait = nopts.ReplicationWorkersWait
    	opts.KeyRotationWorkersWait = nopts.KeyRotationWorkersWait
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 4.7K bytes
    - Viewed (0)
Back to top