Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 1,023 for CMP (0.06 sec)

  1. pilot/pkg/networking/core/match/match_test.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    import (
    	"testing"
    
    	matcher "github.com/cncf/xds/go/xds/type/matcher/v3"
    	"github.com/google/go-cmp/cmp"
    
    	"istio.io/istio/pkg/util/protomarshal"
    )
    
    func TestCleanupEmptyMaps(t *testing.T) {
    	tc := []struct {
    		name  string
    		given func() Mapper
    		want  func() *matcher.Matcher
    	}{
    		{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 17:09:02 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/_gen/PPC64.rules

    (Equal cmp) => (SETBC [2] cmp)
    (NotEqual cmp) => (SETBCR [2] cmp)
    (LessThan cmp) => (SETBC [0] cmp)
    (FLessThan cmp) => (SETBC [0] cmp)
    (FLessEqual cmp) => (OR (SETBC [2] cmp) (SETBC [0] cmp))
    (GreaterEqual cmp) => (SETBCR [0] cmp)
    (GreaterThan cmp)  => (SETBC [1] cmp)
    (FGreaterEqual cmp) => (OR (SETBC [2] cmp) (SETBC [1] cmp))
    (FGreaterThan cmp)  => (SETBC [1] cmp)
    (LessEqual cmp) => (SETBCR [1] cmp)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 53.2K bytes
    - Viewed (0)
  3. src/runtime/memmove_ppc64x.s

    	RET
    #endif
    lt8:	// Move word if possible
    	CMP BYTES, $4
    	BLT lt4
    	MOVWZ 0(SRC), TMP
    	ADD $-4, BYTES
    	MOVW TMP, 0(TGT)
    	ADD $4, SRC
    	ADD $4, TGT
    lt4:	// Move halfword if possible
    	CMP BYTES, $2
    	BLT lt2
    	MOVHZ 0(SRC), TMP
    	ADD $-2, BYTES
    	MOVH TMP, 0(TGT)
    	ADD $2, SRC
    	ADD $2, TGT
    lt2:	// Move last byte if 1 left
    	CMP BYTES, $1
    	BC 12, 0, LR	// ble lr
    	MOVBZ 0(SRC), TMP
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 21 16:47:45 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  4. src/runtime/sys_windows_arm64.s

    	MOVD	libcall_args(R19), R12	// libcall->args
    
    	// Do we have more than 8 arguments?
    	MOVD	libcall_n(R19), R0
    	CMP	$0,	R0; BEQ	_0args
    	CMP	$1,	R0; BEQ	_1args
    	CMP	$2,	R0; BEQ	_2args
    	CMP	$3,	R0; BEQ	_3args
    	CMP	$4,	R0; BEQ	_4args
    	CMP	$5,	R0; BEQ	_5args
    	CMP	$6,	R0; BEQ	_6args
    	CMP	$7,	R0; BEQ	_7args
    	CMP	$8,	R0; BEQ	_8args
    
    	// Reserve stack space for remaining args
    	SUB	$8, R0, R2
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 21 15:56:43 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/accessors_test.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package webhook
    
    import (
    	"fmt"
    	"reflect"
    	"testing"
    
    	"github.com/google/go-cmp/cmp"
    	fuzz "github.com/google/gofuzz"
    	v1 "k8s.io/api/admissionregistration/v1"
    )
    
    func TestMutatingWebhookAccessor(t *testing.T) {
    	f := fuzz.New()
    	for i := 0; i < 100; i++ {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 15:48:03 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  6. pkg/test/framework/resource/flags_test.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    package resource
    
    import (
    	"testing"
    
    	"github.com/google/go-cmp/cmp"
    )
    
    func TestValidate(t *testing.T) {
    	tcs := []struct {
    		name         string
    		settings     *Settings
    		expectErr    bool
    		expectedRevs RevVerMap
    	}{
    		{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Aug 03 17:06:22 UTC 2022
    - 1.9K bytes
    - Viewed (0)
  7. src/internal/bytealg/equal_ppc64x.s

    	VCMPEQUDCC	V0, V1, V2
    	ISEL	CR6LT, R11, R0, R3
    	RET
    #else
    	CMP	R5, $8
    	BLT	check0_7
    	// Load sX[0:7] and compare.
    	MOVD	(R8), R6
    	MOVD	(R4), R7
    	CMP	R6, R7
    	ISEL	CR0EQ, R11, R0, R5
    	// Load sX[len(sX)-8:len(sX)] and compare.
    	MOVD	-8(R9), R6
    	MOVD	-8(R10), R7
    	CMP	R6, R7
    	ISEL	CR0EQ, R5, R0, R3
    	RET
    
    check0_7:
    	CMP	R5,$0
    	MOVD	$1, R3
    	BEQLR		// return if len == 0
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 21 16:47:45 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  8. pkg/registry/core/event/strategy_test.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package event
    
    import (
    	"context"
    	"reflect"
    	"testing"
    
    	"github.com/google/go-cmp/cmp"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/fields"
    	apitesting "k8s.io/kubernetes/pkg/api/testing"
    	api "k8s.io/kubernetes/pkg/apis/core"
    
    	// ensure types are installed
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 15:46:12 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  9. src/slices/iter.go

    // and returns it.
    func Sorted[E cmp.Ordered](seq iter.Seq[E]) []E {
    	s := Collect(seq)
    	Sort(s)
    	return s
    }
    
    // SortedFunc collects values from seq into a new slice, sorts the slice
    // using the comparison function, and returns it.
    func SortedFunc[E any](seq iter.Seq[E], cmp func(E, E) int) []E {
    	s := Collect(seq)
    	SortFunc(s, cmp)
    	return s
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 21:40:32 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  10. pkg/generated/openapi/openapi_test.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package openapi
    
    import (
    	"encoding/json"
    	"reflect"
    	"testing"
    
    	"github.com/google/go-cmp/cmp"
    	"k8s.io/kube-openapi/pkg/common"
    	"k8s.io/kube-openapi/pkg/handler"
    	"k8s.io/kube-openapi/pkg/validation/spec"
    )
    
    func TestOpenAPIRoundtrip(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 15:48:03 UTC 2023
    - 1.8K bytes
    - Viewed (0)
Back to top