Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 228 for Cmp (0.3 sec)

  1. pilot/pkg/networking/util/util_test.go

    	cloned2 := CloneClusterLoadAssignment(testCla)
    	if !cmp.Equal(testCla, cloned, protocmp.Transform()) {
    		t.Fatalf("expected %v to be the same as %v", testCla, cloned)
    	}
    	cloned.ClusterName = "foo"
    	cloned.Endpoints[0].LbEndpoints[0].LoadBalancingWeight.Value = 5
    	if cmp.Equal(testCla, cloned, protocmp.Transform()) {
    		t.Fatalf("expected %v to be the different from %v", testCla, cloned)
    	}
    	if !cmp.Equal(testCla, cloned2, protocmp.Transform()) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 01:17:58 UTC 2024
    - 40K bytes
    - Viewed (0)
  2. pkg/controller/tainteviction/taint_eviction_test.go

    				Type:    "Normal",
    				Count:   1,
    				Message: "Marking for deletion Pod test/test",
    				Source:  corev1.EventSource{Component: "nodeControllerTest"},
    			},
    		}
    		if diff := cmp.Diff(want, recorder.Events, cmp.FilterPath(f, cmp.Ignore())); len(diff) > 0 {
    			t.Errorf("emitPodDeletionEvent() returned data (-want,+got):\n%s", diff)
    		}
    	})
    
    	t.Run("emitCancelPodDeletionEvent", func(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 14:24:16 UTC 2024
    - 31.3K bytes
    - Viewed (0)
  3. staging/src/k8s.io/cli-runtime/go.sum

    github.com/google/go-cmp v0.2.0/go.mod h1:oXzfMopK8JAjlY9xF4vHSVASa0yLyX7SntLO5aqRK0M=
    github.com/google/go-cmp v0.3.0/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU=
    github.com/google/go-cmp v0.3.1/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU=
    github.com/google/go-cmp v0.4.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
    github.com/google/go-cmp v0.5.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 10 14:02:04 UTC 2024
    - 25.3K bytes
    - Viewed (0)
  4. 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)
  5. src/crypto/internal/nistec/p256_asm_arm64.s

    loop_select:
    		ADD	$1, t2
    		CMP	t0, t2
    		LDP.P	16(t1), (acc0, acc1)
    		CSEL	EQ, acc0, x0, x0
    		CSEL	EQ, acc1, x1, x1
    		LDP.P	16(t1), (acc2, acc3)
    		CSEL	EQ, acc2, x2, x2
    		CSEL	EQ, acc3, x3, x3
    		LDP.P	16(t1), (acc4, acc5)
    		CSEL	EQ, acc4, y0, y0
    		CSEL	EQ, acc5, y1, y1
    		LDP.P	16(t1), (acc6, acc7)
    		CSEL	EQ, acc6, y2, y2
    		CSEL	EQ, acc7, y3, y3
    
    		CMP	$32, t2
    		BNE	loop_select
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 29.7K bytes
    - Viewed (0)
  6. src/math/big/int.go

    		}
    	}
    	return z, m
    }
    
    // Cmp compares x and y and returns:
    //
    //	-1 if x <  y
    //	 0 if x == y
    //	+1 if x >  y
    func (x *Int) Cmp(y *Int) (r int) {
    	// x cmp y == x cmp y
    	// x cmp (-y) == x
    	// (-x) cmp y == y
    	// (-x) cmp (-y) == -(x cmp y)
    	switch {
    	case x == y:
    		// nothing to do
    	case x.neg == y.neg:
    		r = x.abs.cmp(y.abs)
    		if x.neg {
    			r = -r
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 14 17:02:38 UTC 2024
    - 33.1K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. pkg/adsc/delta_test.go

    	discovery "github.com/envoyproxy/go-control-plane/envoy/service/discovery/v3"
    	"github.com/envoyproxy/go-control-plane/pkg/wellknown"
    	"github.com/google/go-cmp/cmp"
    	"google.golang.org/grpc"
    	"google.golang.org/protobuf/testing/protocmp"
    
    	authn_model "istio.io/istio/pilot/pkg/security/model"
    	"istio.io/istio/pilot/pkg/util/protoconv"
    	v3 "istio.io/istio/pilot/pkg/xds/v3"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 02 09:32:41 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  10. 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)
Back to top