Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for ccTLD (0.02 sec)

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

    }
    
    var errNoTLD = errors.New("language: region is not a valid ccTLD")
    
    // TLD returns the country code top-level domain (ccTLD). UK is returned for GB.
    // In all other cases it returns either the region itself or an error.
    //
    // This method may return an error for a region for which there exists a
    // canonical form with a ccTLD. To get that ccTLD canonicalize r first. The
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 16.8K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/text/language/language.go

    	return r.regionID.Contains(c.regionID)
    }
    
    // TLD returns the country code top-level domain (ccTLD). UK is returned for GB.
    // In all other cases it returns either the region itself or an error.
    //
    // This method may return an error for a region for which there exists a
    // canonical form with a ccTLD. To get that ccTLD canonicalize r first. The
    // region will already be canonicalized it was obtained from a Tag that was
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/text/internal/language/lookup.go

    		return m[i].From >= uint16(r)
    	})
    	if k < len(m) && m[k].From == uint16(r) {
    		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.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 12.1K bytes
    - Viewed (0)
Back to top