Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 319 for Cmp (0.06 sec)

  1. src/internal/trace/testdata/cmd/gotraceeventstats/main.go

    // Copyright 2023 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 main
    
    import (
    	"cmp"
    	"encoding/binary"
    	"flag"
    	"fmt"
    	"io"
    	"log"
    	"os"
    	"slices"
    	"text/tabwriter"
    
    	"internal/trace/event"
    	"internal/trace/raw"
    )
    
    func init() {
    	flag.Usage = func() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 20:31:29 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  2. pilot/pkg/xds/deltatest.go

    // limitations under the License.
    
    package xds
    
    import (
    	"fmt"
    
    	discovery "github.com/envoyproxy/go-control-plane/envoy/service/discovery/v3"
    	"github.com/google/go-cmp/cmp"
    	"google.golang.org/protobuf/testing/protocmp"
    
    	"istio.io/istio/pilot/pkg/model"
    	v3 "istio.io/istio/pilot/pkg/xds/v3"
    	"istio.io/istio/pkg/slices"
    	"istio.io/istio/pkg/util/sets"
    )
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  3. 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)
  4. staging/src/k8s.io/apiserver/pkg/cel/library/quantity_test.go

    	"github.com/google/cel-go/cel"
    	"github.com/google/cel-go/common"
    	"github.com/google/cel-go/common/types"
    	"github.com/google/cel-go/common/types/ref"
    	"github.com/google/cel-go/ext"
    	"github.com/google/go-cmp/cmp"
    	"github.com/stretchr/testify/require"
    
    	"k8s.io/apimachinery/pkg/api/resource"
    	"k8s.io/apimachinery/pkg/util/sets"
    	apiservercel "k8s.io/apiserver/pkg/cel"
    	"k8s.io/apiserver/pkg/cel/library"
    )
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 23 17:22:44 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  5. src/go/doc/comment/std.go

    // license that can be found in the LICENSE file.
    
    // Code generated by 'go generate' DO NOT EDIT.
    //go:generate ./mkstd.sh
    
    package comment
    
    var stdPkgs = []string{
    	"bufio",
    	"bytes",
    	"cmp",
    	"context",
    	"crypto",
    	"embed",
    	"encoding",
    	"errors",
    	"expvar",
    	"flag",
    	"fmt",
    	"hash",
    	"html",
    	"image",
    	"io",
    	"iter",
    	"log",
    	"maps",
    	"math",
    	"mime",
    	"net",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 21:19:39 UTC 2024
    - 671 bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. pkg/registry/core/persistentvolume/storage/storage_test.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package storage
    
    import (
    	"context"
    	"testing"
    	"time"
    
    	"github.com/google/go-cmp/cmp"
    	apiequality "k8s.io/apimachinery/pkg/api/equality"
    	"k8s.io/apimachinery/pkg/api/resource"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/fields"
    	"k8s.io/apimachinery/pkg/labels"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  10. src/cmd/go/testdata/script/list_pgo_issue66218.txt

    # the non-pgo variant's slice when it modifies the pgo variant's Imports field to
    # add the [.ForMain] suffix.
    
    go list -f 'ImportPath: "{{.ImportPath}}", Imports: "{{.Imports}}", ImportMap: "{{.ImportMap}}"' m/a m/b
    cmp stdout want
    
    -- want --
    ImportPath: "m/a", Imports: "[m/b [m/a]]", ImportMap: "map[m/b:m/b [m/a]]"
    ImportPath: "m/b", Imports: "[m/c]", ImportMap: "map[]"
    -- go.mod --
    module m
    
    go 1.23
    
    -- a/a.go --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 28 17:00:51 UTC 2024
    - 615 bytes
    - Viewed (0)
Back to top