Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for regionTypes (0.4 sec)

  1. src/cmd/vendor/golang.org/x/text/internal/language/lookup.go

    		return Region(m[k].To)
    	}
    	return 0
    }
    
    const (
    	iso3166UserAssigned = 1 << iota
    	ccTLD
    	bcp47Region
    )
    
    func (r Region) typ() byte {
    	return regionTypes[r]
    }
    
    // String returns the BCP 47 representation for the region.
    // It returns "ZZ" for an unspecified region.
    func (r Region) String() string {
    	if r < isoRegionOffset {
    		if r == 0 {
    			return "ZZ"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  2. cmd/signature-v4.go

    func getSigningKey(secretKey string, t time.Time, region string, stype serviceType) []byte {
    	date := sumHMAC([]byte("AWS4"+secretKey), []byte(t.Format(yyyymmdd)))
    	regionBytes := sumHMAC(date, []byte(region))
    	service := sumHMAC(regionBytes, []byte(stype))
    	signingKey := sumHMAC(service, []byte("aws4_request"))
    	return signingKey
    }
    
    // getSignature final signature in hexadecimal form.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 16 23:13:47 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  3. src/internal/trace/event.go

    	Type string
    }
    
    // Region provides details about a Region event.
    type Region struct {
    	// Task is the ID of the task this region is associated with.
    	Task TaskID
    
    	// Type is the regionType that was passed to runtime/trace.StartRegion or runtime/trace.WithRegion.
    	Type string
    }
    
    // Log provides details about a Log event.
    type Log struct {
    	// Task is the ID of the task this region is associated with.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 12:39:00 UTC 2024
    - 28.9K bytes
    - Viewed (0)
Back to top