Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for lowerAscii (0.12 sec)

  1. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/celcoststability_test.go

    				"self.val1.substring(4, 10).trim() == 'takes'":     6,
    				"self.val1.upperAscii() == 'ROOK TAKES 👑'":         6,
    				"self.val1.lowerAscii() == 'rook takes 👑'":         6,
    				"self.val1.lowerAscii() == self.val1.lowerAscii()": 10,
    				// strings version 2
    				"'%d %s %f %s %s'.format([1, 'abc', 1.0, duration('1m'), timestamp('2000-01-01T00:00:00.000Z')]) == '1 abc 1.000000 60s 2000-01-01T00:00:00Z'": 6,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 19:20:16 UTC 2024
    - 80.2K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/compilation_test.go

    			expectedCalcCost: 629160,
    			setMaxElements:   10,
    			expectedSetCost:  22,
    		},
    		{
    			name: "extended library lowerAscii",
    			schemaGenerator: func(max *int64) *schema.Structural {
    				strType := withMaxLength(primitiveType("string", ""), max)
    				strType = withRule(strType, "self.lowerAscii() == 'lower!'")
    				return &strType
    			},
    			expectedCalcCost: 314575,
    			setMaxElements:   10,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 20:13:14 UTC 2024
    - 51.5K bytes
    - Viewed (0)
Back to top