Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for Cs (0.18 sec)

  1. internal/hash/reader.go

    func (r *Reader) AddChecksum(req *http.Request, ignoreValue bool) error {
    	cs, err := GetContentChecksum(req.Header)
    	if err != nil {
    		return ErrInvalidChecksum
    	}
    	if cs == nil {
    		return nil
    	}
    	r.contentHash = *cs
    	if cs.Type.Trailing() {
    		r.trailer = req.Trailer
    	}
    	return r.AddNonTrailingChecksum(cs, ignoreValue)
    }
    
    // AddChecksumNoTrailer will add checksum checks as specified in
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 18 17:00:54 GMT 2023
    - 10.8K bytes
    - Viewed (0)
  2. operator/cmd/mesh/operator-common.go

    )
    
    // isControllerInstalled reports whether an operator deployment exists in the given namespace.
    func isControllerInstalled(cs kubernetes.Interface, operatorNamespace string, revision string) (bool, error) {
    	orn := operatorResourceName
    	if revision != "" {
    		orn += "-" + revision
    	}
    	return deploymentExists(cs, operatorNamespace, orn)
    }
    
    // renderOperatorManifest renders a manifest to install the operator with the given input arguments.
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Dec 17 02:25:04 GMT 2022
    - 3.8K bytes
    - Viewed (0)
  3. internal/hash/checksum.go

    		length := typ.RawByteLen()
    		if length == 0 || len(b) < length {
    			break
    		}
    		cs := base64.StdEncoding.EncodeToString(b[:length])
    		b = b[length:]
    		if typ.Is(ChecksumMultipart) {
    			t, n := binary.Uvarint(b)
    			if n < 0 {
    				break
    			}
    			cs = fmt.Sprintf("%s-%d", cs, t)
    			b = b[n:]
    			if part > 0 {
    				cs = ""
    			}
    			if typ.Is(ChecksumIncludesMultipart) {
    				wantLen := int(t) * length
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 11.9K bytes
    - Viewed (0)
  4. cmd/sftp-server.go

    	chacha20Poly1305ID = "******@****.***"
    	gcm256CipherID     = "******@****.***"
    	aes128cbcID        = "aes128-cbc"
    	tripledescbcID     = "3des-cbc"
    )
    
    // https://cs.opensource.google/go/x/crypto/+/refs/tags/v0.22.0:ssh/common.go;l=46
    // preferredKexAlgos specifies the default preference for key-exchange
    // algorithms in preference order. The diffie-hellman-group16-sha512 algorithm
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 11:07:40 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  5. callbacks.go

    	processor *processor
    }
    
    func (cs *callbacks) Create() *processor {
    	return cs.processors["create"]
    }
    
    func (cs *callbacks) Query() *processor {
    	return cs.processors["query"]
    }
    
    func (cs *callbacks) Update() *processor {
    	return cs.processors["update"]
    }
    
    func (cs *callbacks) Delete() *processor {
    	return cs.processors["delete"]
    }
    
    func (cs *callbacks) Row() *processor {
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Tue Mar 26 03:33:36 GMT 2024
    - 8.6K bytes
    - Viewed (1)
  6. callbacks/query.go

    									onStmt.AddClause(c)
    								}
    
    								if join.On != nil {
    									onStmt.AddClause(join.On)
    								}
    
    								if cs, ok := onStmt.Clauses["WHERE"]; ok {
    									if where, ok := cs.Expression.(clause.Where); ok {
    										where.Build(&onStmt)
    
    										if onSQL := onStmt.SQL.String(); onSQL != "" {
    											vars := onStmt.Vars
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Mon Jan 29 03:34:57 GMT 2024
    - 9.9K bytes
    - Viewed (0)
  7. src/bytes/bytes_test.go

    	cs := "你好世界, hello world. 你好世界, hello world. 你好世界, hello world."
    	for k := 1; k <= 2048; k <<= 4 {
    		for j := 1; j <= 64; j <<= 1 {
    			b.Run(fmt.Sprintf("%d:%d", k, j), func(b *testing.B) {
    				for i := 0; i < b.N; i++ {
    					LastIndexAny(x[:k], cs[:j])
    				}
    			})
    		}
    	}
    }
    
    func BenchmarkTrimASCII(b *testing.B) {
    	cs := "0123456789abcdef"
    	for k := 1; k <= 4096; k <<= 4 {
    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)
  8. cmd/api-response.go

    	cs := oi.decryptChecksums(0)
    	c := CompleteMultipartUploadResponse{
    		Location: location,
    		Bucket:   bucket,
    		Key:      key,
    		// AWS S3 quotes the ETag in XML, make sure we are compatible here.
    		ETag:           "\"" + oi.ETag + "\"",
    		ChecksumSHA1:   cs[hash.ChecksumSHA1.String()],
    		ChecksumSHA256: cs[hash.ChecksumSHA256.String()],
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 33.3K bytes
    - Viewed (2)
  9. internal/config/config.go

    func (cs *SubsysInfo) WriteTo(b *strings.Builder, off bool) {
    	cs.AddEnvString(b)
    	if off {
    		b.WriteString(KvComment)
    		b.WriteString(KvSpaceSeparator)
    	}
    	b.WriteString(cs.SubSys)
    	if cs.Target != Default {
    		b.WriteString(SubSystemSeparator)
    		b.WriteString(cs.Target)
    	}
    	b.WriteString(KvSpaceSeparator)
    	for _, kv := range cs.Config {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Mar 02 05:11:03 GMT 2024
    - 37.3K bytes
    - Viewed (0)
  10. cmd/erasure-multipart.go

    	onlineDisks := er.getDisks()
    	writeQuorum := fi.WriteQuorum(er.defaultWQuorum())
    
    	if cs := fi.Metadata[hash.MinIOMultipartChecksum]; cs != "" {
    		if r.ContentCRCType().String() != cs {
    			return pi, InvalidArgument{
    				Bucket: bucket,
    				Object: fi.Name,
    				Err:    fmt.Errorf("checksum missing, want %q, got %q", cs, r.ContentCRCType().String()),
    			}
    		}
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 43K bytes
    - Viewed (0)
Back to top