Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 84 for slate (0.15 sec)

  1. internal/dsync/locked_rand.go

    func (r *lockedRandSource) Int63() (n int64) {
    	r.lk.Lock()
    	n = r.src.Int63()
    	r.lk.Unlock()
    	return
    }
    
    // Seed uses the provided seed value to initialize the generator to a
    // deterministic state.
    func (r *lockedRandSource) Seed(seed int64) {
    	r.lk.Lock()
    	r.src.Seed(seed)
    	r.lk.Unlock()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Oct 18 15:39:59 GMT 2021
    - 1.3K bytes
    - Viewed (0)
  2. cmd/data-scanner_test.go

    	if err != nil {
    		t.Fatalf("Failed with err: %v", err)
    	}
    	if len(gots) != len(wants) {
    		t.Fatalf("Expected %d objects but got %d", len(wants), len(gots))
    	}
    
    	// Close expiry state's channel to inspect object versions enqueued for expiration
    	close(workers[0])
    	wg.Wait()
    	for _, obj := range expired {
    		switch obj.ObjectV.VersionID {
    		case uuids[2].String(), uuids[3].String(), uuids[4].String():
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 11:18:58 GMT 2024
    - 6.9K bytes
    - Viewed (0)
  3. internal/logger/console.go

    	// of splitting error text and always pretty printing the
    	// red banner along with the error message. Since the error
    	// message itself contains some colored text, we needed
    	// to use some ANSI control escapes to cursor color state
    	// and freely move in the screen.
    	for _, line := range strings.Split(errMsg, "\n") {
    		if len(line) == 0 {
    			// No more text to print, just quit.
    			break
    		}
    
    		for {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 17:57:52 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  4. cmd/bootstrap-peer-server.go

    		var wg sync.WaitGroup
    		wg.Add(len(clnts))
    		onlineServers = 0
    		for _, clnt := range clnts {
    			go func(clnt *bootstrapRESTClient) {
    				defer wg.Done()
    
    				if clnt.gridConn.State() != grid.StateConnected {
    					mu.Lock()
    					offlineEndpoints = append(offlineEndpoints, fmt.Errorf("%s is unreachable: %w", clnt, grid.ErrDisconnected))
    					mu.Unlock()
    					return
    				}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 7.5K bytes
    - Viewed (0)
  5. internal/http/server.go

    	// Take a copy of server fields.
    	var tlsConfig *tls.Config
    	if srv.TLSConfig != nil {
    		tlsConfig = srv.TLSConfig.Clone()
    	}
    	handler := srv.Handler // if srv.Handler holds non-synced state -> possible data race
    
    	// Create new HTTP listener.
    	var listener *httpListener
    	listener, listenErrs := newHTTPListener(
    		listenCtx,
    		srv.Addrs,
    		srv.TCPOptions,
    	)
    
    	var interfaceFound bool
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Feb 09 21:25:16 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  6. cmd/object-api-errors.go

    	return "Transition storage class not found "
    }
    
    // InvalidObjectState restore-object doesn't apply for the current state of the object.
    type InvalidObjectState GenericError
    
    func (e InvalidObjectState) Error() string {
    	return "The operation is not valid for the current state of the object " + e.Bucket + "/" + e.Object + "(" + e.VersionID + ")"
    }
    
    // Bucket related errors.
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 21.3K bytes
    - Viewed (0)
  7. docs/sts/web-identity.md

    deployments with a load-balancer (LB), it is required that the LB is configured to send requests from the same user/client-app to the same backend MinIO server (at least for the initial login request and subsequent redirection, as the OpenID auth flow's state parameter is currently local to the MinIO server). For this setup, set the `MINIO_BROWSER_REDIRECT_URL` parameter to the publicly/client-accessible endpoint for the MinIO Console. For example `MINIO_BROWSER_REDIRECT_URL=https://console.minio.example.org`....
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 19.2K bytes
    - Viewed (1)
  8. update-credits.sh

          reproduction, and distribution of the Work otherwise complies with
          the conditions stated in this License.
    
       5. Submission of Contributions. Unless You explicitly state otherwise,
          any Contribution intentionally submitted for inclusion in the Work
          by You to the Licensor shall be under the terms and conditions of
          this License, without any additional terms or conditions.
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Aug 11 05:08:38 GMT 2023
    - 11.4K bytes
    - Viewed (0)
  9. cmd/erasure-server-pool.go

    		serverPools[i] = poolAvailableSpace{
    			Index:      i,
    			Available:  available,
    			MaxUsedPct: maxUsedPct,
    		}
    	}
    	return serverPools
    }
    
    // PoolObjInfo represents the state of current object version per pool
    type PoolObjInfo struct {
    	Index   int
    	ObjInfo ObjectInfo
    	Err     error
    }
    
    type poolErrs struct {
    	Index int
    	Err   error
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 80.5K bytes
    - Viewed (0)
  10. cmd/metrics.go

    				[]string{"type"}, nil),
    			prometheus.GaugeValue,
    			float64(v), string(k),
    		)
    	}
    	for k, v := range bgSeq.getHealFailedItemsMap() {
    		// healFailedItemsMap stores the endpoint and volume state separated by comma,
    		// split the fields and pass to channel at correct index
    		s := strings.Split(k, ",")
    		ch <- prometheus.MustNewConstMetric(
    			prometheus.NewDesc(
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 02 06:48:36 GMT 2024
    - 16.9K bytes
    - Viewed (0)
Back to top