Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 228 for Cmp (0.03 sec)

  1. 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)
  2. pkg/kube/util_test.go

    // limitations under the License.
    
    package kube
    
    import (
    	"fmt"
    	"os"
    	"path/filepath"
    	"reflect"
    	"testing"
    
    	"github.com/google/go-cmp/cmp"
    	corev1 "k8s.io/api/core/v1"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/types"
    	"k8s.io/client-go/tools/clientcmd/api"
    
    	networkingv1alpha3 "istio.io/client-go/pkg/apis/networking/v1alpha3"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 15 04:16:49 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  3. 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)
  4. pkg/scheduler/eventhandlers_test.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package scheduler
    
    import (
    	"context"
    	"reflect"
    	"testing"
    	"time"
    
    	"github.com/google/go-cmp/cmp"
    	appsv1 "k8s.io/api/apps/v1"
    	batchv1 "k8s.io/api/batch/v1"
    	v1 "k8s.io/api/core/v1"
    	storagev1 "k8s.io/api/storage/v1"
    	"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: Wed Jan 10 14:38:54 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. pkg/test/framework/components/echo/echotest/filters_test.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package echotest_test
    
    import (
    	"fmt"
    	"strings"
    	"testing"
    
    	"github.com/google/go-cmp/cmp"
    
    	"istio.io/api/annotation"
    	"istio.io/istio/pkg/test"
    	"istio.io/istio/pkg/test/framework"
    	"istio.io/istio/pkg/test/framework/components/cluster"
    	"istio.io/istio/pkg/test/framework/components/cluster/kube"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  10. guava/src/com/google/common/hash/Striped64.java

        volatile long value;
        volatile long q0, q1, q2, q3, q4, q5, q6;
    
        Cell(long x) {
          value = x;
        }
    
        final boolean cas(long cmp, long val) {
          return UNSAFE.compareAndSwapLong(this, valueOffset, cmp, val);
        }
    
        // Unsafe mechanics
        private static final sun.misc.Unsafe UNSAFE;
        private static final long valueOffset;
    
        static {
          try {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 11.5K bytes
    - Viewed (0)
Back to top