Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 531 for outs (0.12 sec)

  1. istioctl/pkg/xds/client.go

    				ServiceAccount: serviceAccount,
    				Namespace:      ns,
    				CloudrunAddr:   opts.IstiodAddr,
    			}.ToStruct(),
    			CertDir:            opts.CertDir,
    			InsecureSkipVerify: opts.InsecureSkipVerify,
    			XDSSAN:             opts.XDSSAN,
    			GrpcOpts:           grpcOpts,
    		},
    	}, nil)
    	if err != nil {
    		return nil, fmt.Errorf("could not dial: %w", err)
    	}
    	err = adscConn.Run()
    	if err != nil {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Dec 19 22:42:42 GMT 2023
    - 3.7K bytes
    - Viewed (0)
  2. 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
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Dec 06 09:09:22 GMT 2023
    - 4.7K bytes
    - Viewed (0)
  3. internal/cachevalue/cache.go

    func NewFromFunc[T any](ttl time.Duration, opts Opts, update func() (T, error)) *Cache[T] {
    	return &Cache[T]{
    		ttl:      ttl,
    		updateFn: update,
    		opts:     opts,
    	}
    }
    
    // InitOnce initializes the cache with a TTL and an update function. It is
    // guaranteed to be called only once.
    func (t *Cache[T]) InitOnce(ttl time.Duration, opts Opts, update func() (T, error)) {
    	t.Once.Do(func() {
    		t.ttl = ttl
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Mar 01 16:00:42 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  4. internal/logger/logrotate.go

    		return nil, fmt.Errorf("directory %v does not exist and could not be created: %w", opts.Directory, err)
    	}
    
    	if opts.FileNameFunc == nil {
    		opts.FileNameFunc = defaultFilenameFunc
    	}
    
    	pr, pw := xioutil.WaitPipe()
    
    	w := &Writer{
    		opts: opts,
    		pw:   pw,
    		pr:   pr,
    	}
    
    	if w.f == nil {
    		if err := w.rotate(); err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 02 11:38:40 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  5. 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
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 11 01:10:30 GMT 2024
    - 4.9K bytes
    - Viewed (0)
  6. cmd/admin-handlers-site-replication.go

    	}
    }
    
    func getSRStatusOptions(r *http.Request) (opts madmin.SRStatusOptions) {
    	q := r.Form
    	opts.Buckets = q.Get("buckets") == "true"
    	opts.Policies = q.Get("policies") == "true"
    	opts.Groups = q.Get("groups") == "true"
    	opts.Users = q.Get("users") == "true"
    	opts.ILMExpiryRules = q.Get("ilm-expiry-rules") == "true"
    	opts.PeerState = q.Get("peer-state") == "true"
    	opts.Entity = madmin.GetSREntityType(q.Get("entity"))
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 15 09:40:39 GMT 2024
    - 19.4K bytes
    - Viewed (0)
  7. cmd/bucket-replication.go

    		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
    	}
    	// mark resync status as resync started
    	if !heal {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 112.2K bytes
    - Viewed (1)
  8. internal/http/listener.go

    		if e != nil {
    			if opts.Trace != nil {
    				opts.Trace(fmt.Sprint("listenCfg.Listen: ", e))
    			}
    
    			listenErrs[i] = e
    			continue
    		}
    
    		if opts.Trace != nil {
    			opts.Trace(fmt.Sprint("adding listener to ", l.Addr()))
    		}
    
    		listeners = append(listeners, l)
    	}
    
    	if len(listeners) == 0 {
    		// No listeners initialized, no need to continue
    		return
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  9. internal/bucket/bandwidth/reader.go

    	return
    }
    
    // NewMonitoredReader returns reference to a monitored reader that throttles reads to configured bandwidth for the
    // bucket.
    func NewMonitoredReader(ctx context.Context, m *Monitor, r io.Reader, opts *MonitorReaderOptions) *MonitoredReader {
    	reader := MonitoredReader{
    		r:        r,
    		throttle: m.throttle(opts.BucketOptions),
    		m:        m,
    		opts:     opts,
    		ctx:      ctx,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Sep 06 03:21:59 GMT 2023
    - 3.1K bytes
    - Viewed (0)
  10. tensorflow/c/c_api_function_test.cc

        for (int i = 0; i < expected_results.size(); ++i) {
          TF_Tensor* out = csession.output_tensor(i);
          ASSERT_TRUE(out != nullptr);
          EXPECT_EQ(TF_INT32, TF_TensorType(out));
          EXPECT_EQ(0, TF_NumDims(out));  // scalar
          ASSERT_EQ(sizeof(int32_t), TF_TensorByteSize(out));
          int32_t* output_contents = static_cast<int32_t*>(TF_TensorData(out));
          EXPECT_EQ(expected_results[i], *output_contents);
        }
      }
    
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Jul 20 22:08:54 GMT 2023
    - 63.6K bytes
    - Viewed (6)
Back to top