Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 34 for Cmp (0.07 sec)

  1. pkg/controller/nodelifecycle/node_lifecycle_controller_test.go

    limitations under the License.
    */
    
    package nodelifecycle
    
    import (
    	"context"
    	"fmt"
    	goruntime "runtime"
    	"strings"
    	"testing"
    	"time"
    
    	"github.com/google/go-cmp/cmp"
    	coordv1 "k8s.io/api/coordination/v1"
    	v1 "k8s.io/api/core/v1"
    	apiequality "k8s.io/apimachinery/pkg/api/equality"
    	"k8s.io/apimachinery/pkg/api/resource"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 26 03:26:45 UTC 2024
    - 119K bytes
    - Viewed (0)
  2. pilot/pkg/networking/core/cluster_builder_test.go

    	tls "github.com/envoyproxy/go-control-plane/envoy/extensions/transport_sockets/tls/v3"
    	http "github.com/envoyproxy/go-control-plane/envoy/extensions/upstreams/http/v3"
    	"github.com/google/go-cmp/cmp"
    	"google.golang.org/protobuf/testing/protocmp"
    	"google.golang.org/protobuf/types/known/durationpb"
    	"google.golang.org/protobuf/types/known/structpb"
    	wrappers "google.golang.org/protobuf/types/known/wrapperspb"
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 110.4K bytes
    - Viewed (0)
  3. pkg/volume/util/operationexecutor/operation_generator.go

    		migrated := false
    
    		newSize := pvc.Spec.Resources.Requests[v1.ResourceStorage]
    		statusSize := pvc.Status.Capacity[v1.ResourceStorage]
    		pvSize := pv.Spec.Capacity[v1.ResourceStorage]
    		if pvSize.Cmp(newSize) < 0 {
    			updatedSize, expandErr := volumePlugin.ExpandVolumeDevice(
    				volumeSpec,
    				newSize,
    				statusSize)
    			if expandErr != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 101.4K bytes
    - Viewed (0)
  4. src/cmd/internal/obj/s390x/asmz.go

    		args[2+i] = a.Class - 1
    	}
    
    	// Lookup op in optab.
    	ops := oprange[p.As&obj.AMask]
    	cmp := [len(args)]*[C_NCLASS]bool{}
    	for i := range cmp {
    		cmp[i] = &xcmp[args[i]]
    	}
    	for i := range ops {
    		op := &ops[i]
    		if cmp[0][op.a1] && cmp[1][op.a2] &&
    			cmp[2][op.a3] && cmp[3][op.a4] &&
    			cmp[4][op.a5] && cmp[5][op.a6] {
    			p.Optab = uint16(cap(optab) - cap(ops) + i + 1)
    			return op
    		}
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 16 17:46:09 UTC 2024
    - 176.7K bytes
    - Viewed (0)
  5. pkg/scheduler/framework/plugins/podtopologyspread/filtering_test.go

    	"k8s.io/kubernetes/pkg/scheduler/internal/cache"
    	st "k8s.io/kubernetes/pkg/scheduler/testing"
    	"k8s.io/utils/ptr"
    )
    
    var cmpOpts = []cmp.Option{
    	cmp.Comparer(func(s1 labels.Selector, s2 labels.Selector) bool {
    		return reflect.DeepEqual(s1, s2)
    	}),
    	cmp.Comparer(func(p1, p2 criticalPaths) bool {
    		p1.sort()
    		p2.sort()
    		return p1[0] == p2[0] && p1[1] == p2[1]
    	}),
    }
    
    var (
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 10:42:29 UTC 2024
    - 143.1K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/endpoints/apiserver_test.go

    	"net/http"
    	"net/http/httptest"
    	"net/http/httputil"
    	"net/url"
    	"reflect"
    	"strconv"
    	"strings"
    	"sync"
    	"testing"
    	"time"
    
    	"github.com/emicklei/go-restful/v3"
    	"github.com/google/go-cmp/cmp"
    
    	"k8s.io/apimachinery/pkg/api/apitesting/fuzzer"
    	apiequality "k8s.io/apimachinery/pkg/api/equality"
    	apierrors "k8s.io/apimachinery/pkg/api/errors"
    	"k8s.io/apimachinery/pkg/api/meta"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 01 20:15:22 UTC 2023
    - 158.7K bytes
    - Viewed (0)
  7. pilot/pkg/networking/core/cluster_test.go

    	endpoint "github.com/envoyproxy/go-control-plane/envoy/config/endpoint/v3"
    	http "github.com/envoyproxy/go-control-plane/envoy/extensions/upstreams/http/v3"
    	"github.com/google/go-cmp/cmp"
    	. "github.com/onsi/gomega"
    	"google.golang.org/protobuf/proto"
    	"google.golang.org/protobuf/testing/protocmp"
    	"google.golang.org/protobuf/types/known/durationpb"
    	"google.golang.org/protobuf/types/known/structpb"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 108.8K bytes
    - Viewed (0)
  8. pilot/pkg/networking/core/gateway_test.go

    	hcm "github.com/envoyproxy/go-control-plane/envoy/extensions/filters/network/http_connection_manager/v3"
    	auth "github.com/envoyproxy/go-control-plane/envoy/extensions/transport_sockets/tls/v3"
    	"github.com/google/go-cmp/cmp"
    	"github.com/google/uuid"
    	"google.golang.org/protobuf/testing/protocmp"
    	"google.golang.org/protobuf/types/known/durationpb"
    	wrappers "google.golang.org/protobuf/types/known/wrapperspb"
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 06 04:44:06 UTC 2024
    - 144K bytes
    - Viewed (0)
  9. pkg/kubelet/cm/memorymanager/policy_static_test.go

    limitations under the License.
    */
    
    package memorymanager
    
    import (
    	"fmt"
    	"reflect"
    	"testing"
    
    	"k8s.io/klog/v2"
    
    	cadvisorapi "github.com/google/cadvisor/info/v1"
    	"github.com/google/go-cmp/cmp"
    
    	v1 "k8s.io/api/core/v1"
    	"k8s.io/apimachinery/pkg/api/resource"
    	"k8s.io/kubernetes/pkg/kubelet/cm/memorymanager/state"
    	"k8s.io/kubernetes/pkg/kubelet/cm/topologymanager"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Sep 17 05:49:15 UTC 2023
    - 100.4K bytes
    - Viewed (0)
  10. pkg/kubelet/eviction/helpers_test.go

    limitations under the License.
    */
    
    package eviction
    
    import (
    	"context"
    	"fmt"
    	"reflect"
    	"sort"
    	"strings"
    	"testing"
    	"time"
    
    	"github.com/google/go-cmp/cmp"
    	v1 "k8s.io/api/core/v1"
    	"k8s.io/apimachinery/pkg/api/resource"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/types"
    	utilfeature "k8s.io/apiserver/pkg/util/feature"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 15 23:14:12 UTC 2024
    - 106.7K bytes
    - Viewed (0)
Back to top