Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 84 for Gentag (0.18 sec)

  1. internal/etag/etag.go

    //	   if err != nil {
    //	   }
    //	}
    //	ETag = ETag.Format()
    func (e ETag) Format() ETag {
    	if !e.IsEncrypted() {
    		return e
    	}
    	return e[len(e)-16:]
    }
    
    var _ Tagger = ETag{} // compiler check
    
    // ETag returns the ETag itself.
    //
    // By providing this method ETag implements
    // the Tagger interface.
    func (e ETag) ETag() ETag { return e }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Mar 10 21:09:36 GMT 2024
    - 13.3K bytes
    - Viewed (0)
  2. internal/etag/etag_test.go

    var stringTests = []struct {
    	ETag   ETag
    	String string
    }{
    	{ETag: ETag{59, 131, 239, 150, 56, 127, 20, 101}, String: "3b83ef96387f1465"},                                                                  // 0
    	{ETag: ETag{59, 131, 239, 150, 56, 127, 20, 101, 95, 200, 84, 221, 195, 198, 189, 87}, String: "3b83ef96387f14655fc854ddc3c6bd57"},             // 1
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Sep 18 17:00:54 GMT 2023
    - 12.6K bytes
    - Viewed (0)
  3. cmd/utils.go

    func UTCNow() time.Time {
    	return time.Now().UTC()
    }
    
    // GenETag - generate UUID based ETag
    func GenETag() string {
    	return ToS3ETag(getMD5Hash([]byte(mustGetUUID())))
    }
    
    // ToS3ETag - return checksum to ETag
    func ToS3ETag(etag string) string {
    	etag = canonicalizeETag(etag)
    
    	if !strings.HasSuffix(etag, "-1") {
    		// Tools like s3cmd uses ETag as checksum of data to validate.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 31.3K bytes
    - Viewed (0)
  4. docs/pt/docs/async.md

    Esse "esperar por algo" normalmente se refere a operações <abbr title="Entrada e Saída">I/O</abbr> que são relativamente "lentas" (comparadas a velocidade do processador e da memória RAM), como esperar por:
    
    * dados do cliente para serem enviados através da rede
    * dados enviados pelo seu programa para serem recebidos pelo clente através da rede
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 22.2K bytes
    - Viewed (0)
  5. docs/pt/docs/tutorial/security/index.md

    
    ## OpenID Connect
    
    OpenID Connect é outra especificação, baseada em **OAuth2**.
    
    Ela é apenas uma extensão do OAuth2 especificando algumas coisas que são relativamente ambíguas no OAuth2, para tentar torná-lo mais interoperável.
    
    Por exemplo, o login do Google usa OpenID Connect (que por baixo dos panos usa OAuth2).
    
    Mas o login do Facebook não tem suporte para OpenID Connect. Ele tem a própria implementação do OAuth2.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Jun 24 14:47:15 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  6. operator/cmd/mesh/install.go

    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"sigs.k8s.io/controller-runtime/pkg/client"
    
    	"istio.io/api/operator/v1alpha1"
    	"istio.io/istio/istioctl/pkg/cli"
    	"istio.io/istio/istioctl/pkg/clioptions"
    	revtag "istio.io/istio/istioctl/pkg/tag"
    	"istio.io/istio/istioctl/pkg/util"
    	v1alpha12 "istio.io/istio/operator/pkg/apis/istio/v1alpha1"
    	"istio.io/istio/operator/pkg/cache"
    	"istio.io/istio/operator/pkg/helmreconciler"
    Go
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 15.2K bytes
    - Viewed (0)
  7. docs/es/docs/async.md

    Esa "espera de otra cosa" normalmente se refiere a operaciones <abbr title = "Input and Output, en español: Entrada y Salida.">I/O</abbr> que son relativamente "lentas" (en relación a la velocidad del procesador y memoria RAM), como por ejemplo esperar por:
    
    * los datos de cliente que se envían a través de la red
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 24.9K bytes
    - Viewed (0)
  8. internal/bucket/lifecycle/filter_test.go

    			want:     true,
    		},
    		{
    			filter:   noTags,
    			userTags: "A=3",
    			want:     true,
    		},
    		{
    			filter:   oneTag,
    			userTags: "A=3",
    			want:     false,
    		},
    		{
    			filter:   oneTag,
    			userTags: "FOO=1",
    			want:     true,
    		},
    		{
    			filter:   oneTag,
    			userTags: "A=B&FOO=1",
    			want:     true,
    		},
    		{
    			filter:   twoTags,
    			userTags: "",
    			want:     false,
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Feb 27 00:01:20 GMT 2024
    - 7.2K bytes
    - Viewed (0)
  9. internal/crypto/key.go

    	return partKey
    }
    
    // SealETag seals the etag using the object key.
    // It does not encrypt empty ETags because such ETags indicate
    // that the S3 client hasn't sent an ETag = MD5(object) and
    // the backend can pick an ETag value.
    func (key ObjectKey) SealETag(etag []byte) []byte {
    	if len(etag) == 0 { // don't encrypt empty ETag - only if client sent ETag = MD5(object)
    		return etag
    	}
    	var buffer bytes.Buffer
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Mar 19 20:28:10 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  10. cmd/object-multipart-handlers.go

    			if len(etag) >= 32 && strings.Count(etag, "-") != 1 {
    				etag = etag[len(etag)-32:]
    			}
    		}
    	}
    
    	// We must not use the http.Header().Set method here because some (broken)
    	// clients expect the ETag header key to be literally "ETag" - not "Etag" (case-sensitive).
    	// Therefore, we have to set the ETag directly as map entry.
    	w.Header()[xhttp.ETag] = []string{"\"" + etag + "\""}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Mar 28 17:44:56 GMT 2024
    - 39K bytes
    - Viewed (0)
Back to top