Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 364 for Cmp (0.03 sec)

  1. pkg/serviceaccount/openidmetadata_test.go

    				t.Fatalf("Decode(_) = %v, want: <nil>", err)
    			}
    
    			bigIntComparer := cmp.Comparer(
    				func(x, y *big.Int) bool {
    					return x.Cmp(y) == 0
    				})
    			if !cmp.Equal(tt.WantKeys, ks.Keys, bigIntComparer) {
    				t.Errorf("unexpected diff in JWKS keys (-want, +got): %v",
    					cmp.Diff(tt.WantKeys, ks.Keys, bigIntComparer))
    			}
    		})
    	}
    }
    
    func TestURLBoundaries(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 02 01:53:17 UTC 2023
    - 14.8K bytes
    - Viewed (0)
  2. pkg/controlplane/apiserver/options/options_test.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package options
    
    import (
    	"reflect"
    	"testing"
    	"time"
    
    	"github.com/google/go-cmp/cmp"
    	"github.com/google/go-cmp/cmp/cmpopts"
    	"github.com/spf13/pflag"
    	noopoteltrace "go.opentelemetry.io/otel/trace/noop"
    
    	"k8s.io/apiserver/pkg/admission"
    	apiserveroptions "k8s.io/apiserver/pkg/server/options"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 17:57:37 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  3. pkg/scheduler/internal/cache/snapshot_test.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package cache
    
    import (
    	"fmt"
    	"testing"
    
    	"github.com/google/go-cmp/cmp"
    	v1 "k8s.io/api/core/v1"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/labels"
    	"k8s.io/apimachinery/pkg/util/sets"
    	"k8s.io/kubernetes/pkg/scheduler/framework"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jul 05 08:00:25 UTC 2023
    - 12K bytes
    - Viewed (0)
  4. pkg/api/testing/unstructured_test.go

    limitations under the License.
    */
    
    package testing
    
    import (
    	"bytes"
    	"fmt"
    	"math/rand"
    	"os"
    	"reflect"
    	"strconv"
    	"testing"
    	"time"
    
    	"github.com/google/go-cmp/cmp"
    	fuzz "github.com/google/gofuzz"
    
    	v1 "k8s.io/api/core/v1"
    	"k8s.io/apimachinery/pkg/api/apitesting/fuzzer"
    	apiequality "k8s.io/apimachinery/pkg/api/equality"
    	"k8s.io/apimachinery/pkg/api/meta"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 21:48:10 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apimachinery/pkg/util/version/version_test.go

    		}
    
    		switch {
    		case cmp == -1:
    			return fmt.Errorf("unexpected ordering %q < %q", item.version, prev.version)
    		case cmp == 0 && !item.equalsPrev:
    			return fmt.Errorf("unexpected comparison %q == %q", item.version, prev.version)
    		case cmp == 1 && item.equalsPrev:
    			return fmt.Errorf("unexpected comparison %q != %q", item.version, prev.version)
    		case cmp != -rcmp:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Sep 18 19:25:29 UTC 2023
    - 13.4K bytes
    - Viewed (0)
  6. pkg/registry/core/persistentvolumeclaim/strategy_test.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package persistentvolumeclaim
    
    import (
    	"fmt"
    	"reflect"
    	"testing"
    
    	"github.com/google/go-cmp/cmp"
    	genericapirequest "k8s.io/apiserver/pkg/endpoints/request"
    	utilfeature "k8s.io/apiserver/pkg/util/feature"
    	featuregatetesting "k8s.io/component-base/featuregate/testing"
    	apitesting "k8s.io/kubernetes/pkg/api/testing"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  7. pkg/scheduler/framework/plugins/nodeports/node_ports_test.go

    limitations under the License.
    */
    
    package nodeports
    
    import (
    	"fmt"
    	"reflect"
    	"strconv"
    	"strings"
    	"testing"
    
    	"github.com/google/go-cmp/cmp"
    	"github.com/stretchr/testify/require"
    	v1 "k8s.io/api/core/v1"
    	"k8s.io/klog/v2/ktesting"
    	_ "k8s.io/klog/v2/ktesting/init"
    	"k8s.io/kubernetes/pkg/scheduler/framework"
    	st "k8s.io/kubernetes/pkg/scheduler/testing"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Oct 19 11:02:11 UTC 2023
    - 10.1K bytes
    - Viewed (0)
  8. src/runtime/race_ppc64le.s

    	MOVD	runtime·racearenastart(SB), R9
    	CMP	R4, R9
    	BLT	data
    	MOVD	runtime·racearenaend(SB), R9
    	CMP	R4, R9
    	BLT	call
    data:
    	MOVD	runtime·racedatastart(SB), R9
    	CMP	R4, R9
    	BLT	ret
    	MOVD	runtime·racedataend(SB), R9
    	CMP	R4, R9
    	BGT	ret
    call:
    	// Careful!! racecall will save LR on its
    	// stack, which is OK as long as racecalladdr
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:37:29 UTC 2024
    - 17K bytes
    - Viewed (0)
  9. pkg/apis/batch/v1/defaults_test.go

    				}
    			}
    			if diff := cmp.Diff(expected.Spec.CompletionMode, actual.Spec.CompletionMode); diff != "" {
    				t.Errorf("Unexpected CompletionMode (-want,+got):\n%s", diff)
    			}
    			if diff := cmp.Diff(expected.Spec.PodReplacementPolicy, actual.Spec.PodReplacementPolicy); diff != "" {
    				t.Errorf("Unexpected PodReplacementPolicy (-want,+got):\n%s", diff)
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 20.8K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssa/_gen/MIPS64.rules

    // Absorb boolean tests into block
    (NE (FPFlagTrue cmp) yes no) => (FPT cmp yes no)
    (NE (FPFlagFalse cmp) yes no) => (FPF cmp yes no)
    (EQ (FPFlagTrue cmp) yes no) => (FPF cmp yes no)
    (EQ (FPFlagFalse cmp) yes no) => (FPT cmp yes no)
    (NE (XORconst [1] cmp:(SGT _ _)) yes no) => (EQ cmp yes no)
    (NE (XORconst [1] cmp:(SGTU _ _)) yes no) => (EQ cmp yes no)
    (NE (XORconst [1] cmp:(SGTconst _)) yes no) => (EQ cmp yes no)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jul 31 03:59:48 UTC 2023
    - 41.9K bytes
    - Viewed (0)
Back to top