Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 319 for Cmp (0.08 sec)

  1. 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)
  2. 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)
  3. staging/src/k8s.io/apiserver/pkg/server/options/encryptionconfig/config_test.go

    			if diff := cmp.Diff(tt.wantLogs, logLines(buf.String())); len(diff) > 0 {
    				t.Errorf("log mismatch (-want +got):\n%s", diff)
    			}
    
    			ignoredFields := sets.NewString("Transformer", "EncryptedObject.EncryptedDEKSource", "UID", "CacheKey")
    
    			gotState := *h.state.Load()
    
    			if diff := cmp.Diff(tt.wantState, gotState,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 16:56:39 UTC 2024
    - 72.3K 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. src/cmd/go/testdata/script/mod_edit.txt

    # go mod edit -json (retractions with rationales)
    go mod edit -json $WORK/go.mod.retractrationale
    cmp stdout $WORK/go.mod.retractrationale.json
    
    # go mod edit -json (deprecation)
    go mod edit -json $WORK/go.mod.deprecation
    cmp stdout $WORK/go.mod.deprecation.json
    
    # go mod edit -json (empty mod file)
    go mod edit -json $WORK/go.mod.empty
    cmp stdout $WORK/go.mod.empty.json
    
    # go mod edit -replace
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 13:52:10 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  6. 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)
  7. src/cmd/trace/jsontrace.go

    		if b.Start != nil {
    			bStart = b.Start.Time()
    		}
    		if a.Start != b.Start {
    			return cmp.Compare(aStart, bStart)
    		}
    		// Break ties with the end time.
    		aEnd, bEnd := parsed.endTime(), parsed.endTime()
    		if a.End != nil {
    			aEnd = a.End.Time()
    		}
    		if b.End != nil {
    			bEnd = b.End.Time()
    		}
    		return cmp.Compare(aEnd, bEnd)
    	})
    }
    
    func defaultGenOpts() *genOpts {
    	return &genOpts{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. pkg/kubelet/kubelet_pods_test.go

    */
    
    package kubelet
    
    import (
    	"context"
    	"errors"
    	"fmt"
    	"net"
    	"os"
    	"path/filepath"
    	"reflect"
    	"sort"
    	"strings"
    	"testing"
    	"time"
    
    	"github.com/google/go-cmp/cmp"
    	"github.com/stretchr/testify/assert"
    	"github.com/stretchr/testify/require"
    	v1 "k8s.io/api/core/v1"
    	apiequality "k8s.io/apimachinery/pkg/api/equality"
    	apierrors "k8s.io/apimachinery/pkg/api/errors"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 00:05:23 UTC 2024
    - 198.8K bytes
    - Viewed (0)
Back to top