Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for compare_less (0.16 sec)

  1. staging/src/k8s.io/apiserver/pkg/cel/library/quantity_test.go

    			expectValue: falseVal,
    		},
    		{
    			name:        "compare_equal",
    			expr:        `quantity("200M").compareTo(quantity("0.2G"))`,
    			expectValue: types.Int(0),
    		},
    		{
    			name:        "compare_less",
    			expr:        `quantity("50M").compareTo(quantity("50Mi"))`,
    			expectValue: types.Int(-1),
    		},
    		{
    			name:        "compare_greater",
    			expr:        `quantity("50Mi").compareTo(quantity("50M"))`,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 23 17:22:44 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  2. src/strings/compare_test.go

    // Copyright 2013 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package strings_test
    
    // Derived from bytes/compare_test.go.
    // Benchmarks omitted since the underlying implementation is identical.
    
    import (
    	"internal/testenv"
    	. "strings"
    	"testing"
    	"unsafe"
    )
    
    var compareTests = []struct {
    	a, b string
    	i    int
    }{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 07 01:33:55 UTC 2022
    - 2.8K bytes
    - Viewed (0)
  3. operator/pkg/compare/compare_test.go

    Rama Chavali <******@****.***> 1671589100 +0530
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Dec 21 02:18:20 UTC 2022
    - 33K bytes
    - Viewed (0)
Back to top