Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 158 for Cmp (0.03 sec)

  1. cmd/kube-scheduler/app/server_test.go

    limitations under the License.
    */
    
    package app
    
    import (
    	"context"
    	"fmt"
    	"net"
    	"net/http"
    	"net/http/httptest"
    	"os"
    	"path/filepath"
    	"testing"
    	"time"
    
    	"github.com/google/go-cmp/cmp"
    	"github.com/spf13/pflag"
    	v1 "k8s.io/api/core/v1"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/runtime"
    	"k8s.io/apiserver/pkg/util/feature"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  2. pilot/pkg/security/authz/model/generator_test.go

    // limitations under the License.
    
    package model
    
    import (
    	"testing"
    
    	rbacpb "github.com/envoyproxy/go-control-plane/envoy/config/rbac/v3"
    	"github.com/google/go-cmp/cmp"
    	"google.golang.org/protobuf/proto"
    	"google.golang.org/protobuf/testing/protocmp"
    
    	"istio.io/istio/pkg/util/protomarshal"
    )
    
    func TestRequestPrincipal(t *testing.T) {
    	cases := []struct {
    		in   string
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Apr 20 01:58:53 UTC 2024
    - 13K bytes
    - Viewed (0)
  3. pkg/config/mesh/mesh_test.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package mesh_test
    
    import (
    	"fmt"
    	"testing"
    
    	"github.com/google/go-cmp/cmp"
    	"google.golang.org/protobuf/testing/protocmp"
    	"google.golang.org/protobuf/types/known/wrapperspb"
    
    	meshconfig "istio.io/api/mesh/v1alpha1"
    	"istio.io/istio/pkg/config/mesh"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 20:06:41 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  4. pilot/pkg/simulation/traffic.go

    	route "github.com/envoyproxy/go-control-plane/envoy/config/route/v3"
    	tls "github.com/envoyproxy/go-control-plane/envoy/extensions/transport_sockets/tls/v3"
    	"github.com/google/go-cmp/cmp"
    	"github.com/google/go-cmp/cmp/cmpopts"
    	"github.com/yl2chen/cidranger"
    
    	"istio.io/istio/pilot/pkg/model"
    	"istio.io/istio/pilot/pkg/networking/core"
    	xdsfilters "istio.io/istio/pilot/pkg/xds/filters"
    	"istio.io/istio/pilot/test/xds"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  5. pkg/scheduler/apis/config/v1/default_plugins_test.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package v1
    
    import (
    	"testing"
    
    	"github.com/google/go-cmp/cmp"
    	"k8s.io/apiserver/pkg/util/feature"
    	"k8s.io/component-base/featuregate"
    	featuregatetesting "k8s.io/component-base/featuregate/testing"
    	"k8s.io/klog/v2/ktesting"
    	v1 "k8s.io/kube-scheduler/config/v1"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 06 15:03:04 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  6. src/go/types/check.go

    			// (file versions are either the empty string or of the form go1.dd)
    			if pkgVersionOk {
    				cmp := fileVersion.cmp(check.version)
    				// Go 1.21 introduced the feature of setting the go.mod
    				// go line to an early version of Go and allowing //go:build lines
    				// to “upgrade” (cmp > 0) the Go version in a given file.
    				// We can do that backwards compatibly.
    				//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  7. src/runtime/asm_arm64.s

    	VMOV	R2, V30.D[1] // load length into seed
    
    	MOVD	$runtime·aeskeysched+0(SB), R4
    	VLD1.P	16(R4), [V0.B16]
    	AESE	V30.B16, V0.B16
    	AESMC	V0.B16, V0.B16
    	CMP	$16, R2
    	BLO	aes0to15
    	BEQ	aes16
    	CMP	$32, R2
    	BLS	aes17to32
    	CMP	$64, R2
    	BLS	aes33to64
    	CMP	$128, R2
    	BLS	aes65to128
    	B	aes129plus
    
    aes0to15:
    	CBZ	R2, aes0
    	VEOR	V2.B16, V2.B16, V2.B16
    	TBZ	$3, R2, less_than_8
    	VLD1.P	8(R0), V2.D[0]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 11 20:38:24 UTC 2024
    - 43.4K bytes
    - Viewed (0)
  8. pkg/registry/flowcontrol/ensurer/prioritylevelconfiguration_test.go

    	flowcontrollisters "k8s.io/client-go/listers/flowcontrol/v1"
    	toolscache "k8s.io/client-go/tools/cache"
    	flowcontrolapisv1 "k8s.io/kubernetes/pkg/apis/flowcontrol/v1"
    	"k8s.io/utils/ptr"
    
    	"github.com/google/go-cmp/cmp"
    )
    
    func TestEnsurePriorityLevel(t *testing.T) {
    	validExemptPL := func() *flowcontrolv1.PriorityLevelConfiguration {
    		copy := bootstrap.MandatoryPriorityLevelConfigurationExempt.DeepCopy()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 15 14:34:53 UTC 2024
    - 19.8K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/types2/check.go

    			// (file versions are either the empty string or of the form go1.dd)
    			if pkgVersionOk {
    				cmp := fileVersion.cmp(check.version)
    				// Go 1.21 introduced the feature of setting the go.mod
    				// go line to an early version of Go and allowing //go:build lines
    				// to “upgrade” (cmp > 0) the Go version in a given file.
    				// We can do that backwards compatibly.
    				//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 23.3K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apimachinery/pkg/runtime/serializer/cbor/cbor_test.go

    	"k8s.io/apimachinery/pkg/apis/meta/v1/unstructured"
    	"k8s.io/apimachinery/pkg/runtime"
    	"k8s.io/apimachinery/pkg/runtime/schema"
    	"k8s.io/apimachinery/pkg/runtime/serializer/cbor/internal/modes"
    
    	"github.com/google/go-cmp/cmp"
    )
    
    func TestRecognizesData(t *testing.T) {
    	for _, tc := range []struct {
    		in         []byte
    		recognizes bool
    	}{
    		{
    			in:         nil,
    			recognizes: false,
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 13 14:57:12 UTC 2024
    - 20.1K bytes
    - Viewed (0)
Back to top