Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 36 for selv (0.13 sec)

  1. cmd/object-api-utils.go

    	return pr, func() []byte {
    		if gotIdx != nil {
    			return gotIdx
    		}
    		// Will get index or nil if closed.
    		gotIdx = <-indexCh
    		return gotIdx
    	}
    }
    
    // compressSelfTest performs a self-test to ensure that compression
    // algorithms completes a roundtrip. If any algorithm
    // produces an incorrect checksum it fails with a hard error.
    //
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 11 11:55:34 GMT 2024
    - 35.6K bytes
    - Viewed (1)
  2. cmd/site-replication.go

    			if !(ps.Peers[id].ReplicateILMExpiry == peer.ReplicateILMExpiry) {
    				flagEqual = false
    				break
    			}
    		}
    		if flagEqual {
    			continue
    		}
    
    		// Dont apply the self state to self
    		if dID == globalDeploymentID() {
    			continue
    		}
    
    		// Send details to other sites for healing
    		admClient, err := c.getAdminClient(ctx, dID)
    		if err != nil {
    			return wrapSRErr(err)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 184.2K bytes
    - Viewed (1)
  3. istioctl/pkg/multixds/gather.go

    		responses []*discovery.DiscoveryResponse
    		err       error
    	)
    
    	if options.XdsViaAgents {
    		responses, err = queryDebugSynczViaAgents(all, dr, istioNamespace, kubeClient, centralOpts, options)
    	} else {
    		// Self-administered case.  Find all Istiods in revision using K8s, port-forward and call each in turn
    		responses, err = queryEachShard(all, dr, istioNamespace, kubeClient, centralOpts)
    	}
    	if err != nil {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 08 08:38:19 GMT 2024
    - 13.6K bytes
    - Viewed (0)
  4. cmd/bucket-replication.go

    				switch err.(type) {
    				case BucketRemoteIdenticalToSource:
    					return true, errorCodes.ToAPIErrWithErr(ErrBucketRemoteIdenticalToSource, fmt.Errorf("remote target endpoint %s is self referential", c.EndpointURL().String()))
    				default:
    				}
    			}
    			if c.EndpointURL().String() == clnt.EndpointURL().String() {
    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)
  5. src/bytes/bytes_test.go

    		}
    	}
    }
    
    func tenRunes(r rune) string {
    	runes := make([]rune, 10)
    	for i := range runes {
    		runes[i] = r
    	}
    	return string(runes)
    }
    
    // User-defined self-inverse mapping function
    func rot13(r rune) rune {
    	const step = 13
    	if r >= 'a' && r <= 'z' {
    		return ((r - 'a' + step) % 26) + 'a'
    	}
    	if r >= 'A' && r <= 'Z' {
    		return ((r - 'A' + step) % 26) + 'A'
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Jan 24 16:07:25 GMT 2024
    - 56.2K bytes
    - Viewed (0)
  6. cmd/bitrot.go

    			return errFileCorrupt
    		}
    
    		left -= read
    		if !bytes.Equal(h.Sum(nil), hashBuf[:n]) {
    			return errFileCorrupt
    		}
    	}
    	return nil
    }
    
    // bitrotSelfTest performs a self-test to ensure that bitrot
    // algorithms compute correct checksums. If any algorithm
    // produces an incorrect checksum it fails with a hard error.
    //
    // bitrotSelfTest tries to catch any issue in the bitrot implementation
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jan 30 20:43:25 GMT 2024
    - 7.6K bytes
    - Viewed (0)
  7. internal/kms/single-key.go

    	}
    	return plaintexts, nil
    }
    
    // Verify verifies all KMS endpoints and returns details
    func (kms secretKey) Verify(cxt context.Context) []VerifyResult {
    	return []VerifyResult{
    		{Endpoint: "self"},
    	}
    }
    
    type encryptedKey struct {
    	Algorithm string `json:"aead"`
    	IV        []byte `json:"iv"`
    	Nonce     []byte `json:"nonce"`
    	Bytes     []byte `json:"bytes"`
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Mar 01 21:09:42 GMT 2024
    - 7.9K bytes
    - Viewed (0)
  8. cmd/peer-s3-client.go

    	// Will return nil if the grid connection is not initialized yet.
    	gridConn func() *grid.Connection
    }
    
    // S3PeerSys - S3 peer call system.
    type S3PeerSys struct {
    	peerClients []peerS3Client // Excludes self
    	poolsCount  int
    }
    
    // NewS3PeerSys - creates new S3 peer calls.
    func NewS3PeerSys(endpoints EndpointServerPools) *S3PeerSys {
    	return &S3PeerSys{
    		peerClients: newPeerS3Clients(endpoints),
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 14.8K bytes
    - Viewed (0)
  9. cmd/metrics.go

    			"Time elapsed (in nano seconds) since last self healing activity. This is set to -1 until initial self heal activity",
    			nil, nil),
    		prometheus.GaugeValue,
    		float64(dur),
    	)
    	for k, v := range bgSeq.getScannedItemsMap() {
    		ch <- prometheus.MustNewConstMetric(
    			prometheus.NewDesc(
    				prometheus.BuildFQName(healMetricsNamespace, "objects", "scanned"),
    				"Objects scanned in current self healing run",
    				[]string{"type"}, nil),
    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)
  10. docs/debugging/reorder-disks/main.go

    	result := make(map[string]string)
    
    	mountInfo, err := os.Open("/proc/self/mountinfo")
    	if err != nil {
    		return nil, err
    	}
    	defer mountInfo.Close()
    
    	scanner := bufio.NewScanner(mountInfo)
    	for scanner.Scan() {
    		s := strings.Split(scanner.Text(), " ")
    		if len(s) != 11 {
    			return nil, errors.New("unsupported /proc/self/mountinfo format")
    		}
    		result[s[2]] = s[9]
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 5.4K bytes
    - Viewed (0)
Back to top