Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for regionTypes (0.12 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. src/cmd/vendor/golang.org/x/text/internal/language/tables.go

    // for 2-letter ISO codes. (The first isoRegionOffset regionIDs are reserved for
    // the UN.M49 codes used for groups.)
    const isoRegionOffset = 32
    
    // regionTypes defines the status of a region for various standards.
    // Size: 359 bytes, 359 elements
    var regionTypes = [359]uint8{
    	// Entry 0 - 3F
    	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 153K bytes
    - Viewed (0)
  3. src/runtime/trace/annotation.go

    func StartRegion(ctx context.Context, regionType string) *Region {
    	if !IsEnabled() {
    		return noopRegion
    	}
    	id := fromContext(ctx).id
    	userRegion(id, regionStartCode, regionType)
    	return &Region{id, regionType}
    }
    
    // Region is a region of code whose execution time interval is traced.
    type Region struct {
    	id         uint64
    	regionType string
    }
    
    var noopRegion = &Region{}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 20 00:47:09 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  4. 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)
  5. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_n_z.cc

      for (int i = 1; i < kNumRegionTypeLists; ++i)
        if (failed(VerifyTypeRangesAreCompatible(op, input_type, region_types[i])))
          return failure();
    
      for (int i = 0; i < kNumRegionTypeLists; ++i)
        if (failed(VerifyTypeRangesAreCompatible(op, result_type, region_types[i])))
          return failure();
    
      for (int i = 0; i < kNumRegionTypeLists; ++i)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 22:07:10 UTC 2024
    - 170.8K bytes
    - Viewed (0)
  6. 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