Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for ToUpper (0.28 sec)

  1. internal/s3select/sql/funceval.go

    	errNonTimestampArg   = errors.New("Expected a timestamp argument")
    )
    
    func (e *FuncExpr) getFunctionName() FuncName {
    	switch {
    	case e.SFunc != nil:
    		return FuncName(strings.ToUpper(e.SFunc.FunctionName))
    	case e.Count != nil:
    		return aggFnCount
    	case e.Cast != nil:
    		return sqlFnCast
    	case e.Substring != nil:
    		return sqlFnSubstring
    	case e.Extract != nil:
    		return sqlFnExtract
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 13.2K bytes
    - Viewed (0)
  2. src/bytes/example_test.go

    func ExampleToUpper() {
    	fmt.Printf("%s", bytes.ToUpper([]byte("Gopher")))
    	// Output: GOPHER
    }
    
    func ExampleToUpperSpecial() {
    	str := []byte("ahoj vývojári golang")
    	totitle := bytes.ToUpperSpecial(unicode.AzeriCase, str)
    	fmt.Println("Original : " + string(str))
    	fmt.Println("ToUpper : " + string(totitle))
    	// Output:
    	// Original : ahoj vývojári golang
    	// ToUpper : AHOJ VÝVOJÁRİ GOLANG
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Mar 04 15:54:40 GMT 2024
    - 15K bytes
    - Viewed (1)
  3. schema/field.go

    		if field.DataType == Time {
    			field.AutoCreateTime = UnixTime
    		} else if strings.ToUpper(v) == "NANO" {
    			field.AutoCreateTime = UnixNanosecond
    		} else if strings.ToUpper(v) == "MILLI" {
    			field.AutoCreateTime = UnixMillisecond
    		} else {
    			field.AutoCreateTime = UnixSecond
    		}
    	}
    
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Mon Apr 15 03:20:20 GMT 2024
    - 32K bytes
    - Viewed (1)
  4. internal/config/config.go

    }
    
    func getEnvVarName(subSys, target, param string) string {
    	if target == Default {
    		return fmt.Sprintf("%s%s%s%s", EnvPrefix, strings.ToUpper(subSys), Default, strings.ToUpper(param))
    	}
    
    	return fmt.Sprintf("%s%s%s%s%s%s", EnvPrefix, strings.ToUpper(subSys), Default, strings.ToUpper(param),
    		Default, target)
    }
    
    var resolvableSubsystems = set.CreateStringSet(IdentityOpenIDSubSys, IdentityLDAPSubSys, PolicyPluginSubSys)
    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)
  5. internal/bucket/object/lock/lock.go

    func (r RetMode) Valid() bool {
    	switch r {
    	case RetGovernance, RetCompliance:
    		return true
    	}
    	return false
    }
    
    func parseRetMode(modeStr string) (mode RetMode) {
    	switch strings.ToUpper(modeStr) {
    	case "GOVERNANCE":
    		mode = RetGovernance
    	case "COMPLIANCE":
    		mode = RetCompliance
    	}
    	return mode
    }
    
    // LegalHoldStatus - object legal hold status.
    type LegalHoldStatus string
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 17.1K bytes
    - Viewed (0)
  6. src/bytes/bytes.go

    	for bp < n {
    		chunk := bp
    		if chunk > chunkMax {
    			chunk = chunkMax
    		}
    		bp += copy(nb[bp:], nb[:chunk])
    	}
    	return nb
    }
    
    // ToUpper returns a copy of the byte slice s with all Unicode letters mapped to
    // their upper case.
    func ToUpper(s []byte) []byte {
    	isASCII, hasLower := true, false
    	for i := 0; i < len(s); i++ {
    		c := s[i]
    		if c >= utf8.RuneSelf {
    			isASCII = false
    			break
    		}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Feb 19 19:51:15 GMT 2024
    - 33.8K bytes
    - Viewed (0)
  7. cmd/tier.go

    	config.Lock()
    	defer config.Unlock()
    
    	// check if tier name is in all caps
    	tierName := tier.Name
    	if tierName != strings.ToUpper(tierName) {
    		return errTierNameNotUppercase
    	}
    
    	// check if tier name already in use
    	if _, exists := config.isTierNameInUse(tierName); exists {
    		return errTierAlreadyExists
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 17 05:09:58 GMT 2024
    - 15.5K bytes
    - Viewed (0)
  8. internal/s3select/sql/evaluate.go

    	switch {
    	case e.ConditionRHS.Compare != nil:
    		cmpRight, cmpRErr := e.ConditionRHS.Compare.Operand.evalNode(r, tableAlias)
    		if cmpRErr != nil {
    			return nil, cmpRErr
    		}
    
    		b, err := opVal.compareOp(strings.ToUpper(e.ConditionRHS.Compare.Operator), cmpRight)
    		return FromBool(b), err
    
    	case e.ConditionRHS.Between != nil:
    		return e.ConditionRHS.Between.evalBetweenNode(r, opVal, tableAlias)
    
    	case e.ConditionRHS.Like != nil:
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Dec 23 07:19:11 GMT 2023
    - 12K bytes
    - Viewed (0)
  9. cni/pkg/cmd/root.go

    	rootCmd.Flags().Bool(name, value, usage)
    	registerEnvironment(name, value, usage)
    }
    
    func registerEnvironment[T env.Parseable](name string, defaultValue T, usage string) {
    	envName := strings.Replace(strings.ToUpper(name), "-", "_", -1)
    	// Note: we do not rely on istio env package to retrieve configuration. We relies on viper.
    	// This is just to make sure the reference doc tool can generate doc with these vars as env variable at istio.io.
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 12.5K bytes
    - Viewed (0)
  10. internal/hash/checksum.go

    	return !c.Is(ChecksumInvalid) && !c.Is(ChecksumNone)
    }
    
    // NewChecksumType returns a checksum type based on the algorithm string.
    func NewChecksumType(alg string) ChecksumType {
    	switch strings.ToUpper(alg) {
    	case "CRC32":
    		return ChecksumCRC32
    	case "CRC32C":
    		return ChecksumCRC32C
    	case "SHA1":
    		return ChecksumSHA1
    	case "SHA256":
    		return ChecksumSHA256
    	case "":
    		return ChecksumNone
    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)
Back to top