Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 444 for Cmp (0.02 sec)

  1. 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)
  2. 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)
  3. 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)
  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/compile/internal/types/type.go

    	return t.kind.String()
    }
    
    // Cmp is a comparison between values a and b.
    //
    //	-1 if a < b
    //	 0 if a == b
    //	 1 if a > b
    type Cmp int8
    
    const (
    	CMPlt = Cmp(-1)
    	CMPeq = Cmp(0)
    	CMPgt = Cmp(1)
    )
    
    // Compare compares types for purposes of the SSA back
    // end, returning a Cmp (one of CMPlt, CMPeq, CMPgt).
    // The answers are correct for an optimizer
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:29:45 UTC 2024
    - 49.5K bytes
    - Viewed (0)
  6. pilot/pkg/config/aggregate/config_test.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package aggregate
    
    import (
    	"strings"
    	"testing"
    	"time"
    
    	"github.com/google/go-cmp/cmp"
    	. "github.com/onsi/gomega"
    	"go.uber.org/atomic"
    
    	"istio.io/istio/pilot/pkg/config/memory"
    	"istio.io/istio/pilot/pkg/model"
    	"istio.io/istio/pkg/config"
    	"istio.io/istio/pkg/config/schema/collection"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 02 17:36:47 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  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. 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)
Back to top