Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 934 for Cmp (0.07 sec)

  1. src/cmd/go/testdata/script/mod_retention.txt

    # but 'go mod vendor' cannot write go.mod.
    cp go.mod.toodirect go.mod
    go list all
    cmp go.mod go.mod.toodirect
    
    
    # Redundant requirements should be preserved...
    cp go.mod.redundant go.mod
    go list all
    cmp go.mod go.mod.redundant
    go mod vendor
    cmp go.mod go.mod.redundant
    rm -r vendor
    
    # ...except by 'go mod tidy'.
    go mod tidy
    cmp go.mod go.mod.tidy
    
    
    # A missing "go" version directive should be added.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 20 18:41:57 UTC 2021
    - 3K bytes
    - Viewed (0)
  2. test/codegen/bool.go

    	// ppc64x:"RLDICL","XOR",-"CMP",-"ISEL"
    	return x&1 == 0
    }
    
    func TestSetEq64(x uint64, y uint64) bool {
    	// ppc64x/power10:"SETBC\tCR0EQ",-"ISEL"
    	// ppc64x/power9:"CMP","ISEL",-"SETBC\tCR0EQ"
    	// ppc64x/power8:"CMP","ISEL",-"SETBC\tCR0EQ"
    	b := x == y
    	return b
    }
    func TestSetNeq64(x uint64, y uint64) bool {
    	// ppc64x/power10:"SETBCR\tCR0EQ",-"ISEL"
    	// ppc64x/power9:"CMP","ISEL",-"SETBCR\tCR0EQ"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 13 22:12:32 UTC 2023
    - 6.7K bytes
    - Viewed (0)
  3. src/cmd/go/testdata/script/govcs.txt

    ! go get github.com/google/go-cmp
    stderr '^go: GOVCS disallows using git for public github.com/google/go-cmp; see ''go help vcs''$'
    env GOVCS='github.com/google/go-cmp/inner:git,github.com:svn|hg'
    ! go get github.com/google/go-cmp
    stderr '^go: GOVCS disallows using git for public github.com/google/go-cmp; see ''go help vcs''$'
    
    # bad patterns are reported (for more bad patterns, see TestGOVCSErrors)
    env GOVCS='git'
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 16 14:41:02 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/GeneralRange.java

          int cmp = comparator.compare(getUpperEndpoint(), other.getUpperEndpoint());
          if (cmp > 0 || (cmp == 0 && other.getUpperBoundType() == OPEN)) {
            upEnd = other.getUpperEndpoint();
            upType = other.getUpperBoundType();
          }
        }
    
        if (hasLowBound && hasUpBound) {
          int cmp = comparator.compare(lowEnd, upEnd);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  5. src/internal/runtime/atomic/atomic_arm.s

    	MOVW	ptr+0(FP), R1
    	MOVW	old+4(FP), R2
    	MOVW	new+8(FP), R3
    casl:
    	LDREX	(R1), R0
    	CMP	R0, R2
    	BNE	casfail
    
    #ifndef GOARM_7
    	MOVB	internal∕cpu·ARM+const_offsetARMHasV7Atomics(SB), R11
    	CMP	$0, R11
    	BEQ	2(PC)
    #endif
    	DMB	MB_ISHST
    
    	STREX	R3, (R1), R0
    	CMP	$0, R0
    	BNE	casl
    	MOVW	$1, R0
    
    #ifndef GOARM_7
    	CMP	$0, R11
    	BEQ	2(PC)
    #endif
    	DMB	MB_ISH
    
    	MOVB	R0, ret+12(FP)
    	RET
    casfail:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  6. pkg/test/util/assert/assert.go

    package assert
    
    import (
    	"fmt"
    	"reflect"
    	"strings"
    	"time"
    
    	"github.com/google/go-cmp/cmp"
    	"github.com/google/go-cmp/cmp/cmpopts"
    	"google.golang.org/protobuf/testing/protocmp"
    
    	"istio.io/istio/pkg/ptr"
    	"istio.io/istio/pkg/test"
    	"istio.io/istio/pkg/test/util/retry"
    )
    
    var compareErrors = cmp.Comparer(func(x, y error) bool {
    	switch {
    	case x == nil && y == nil:
    		return true
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Dec 18 17:21:50 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  7. src/cmd/go/testdata/script/work_edit.txt

    ! grep go go.work
    
    go work edit -go 1.18
    cmp go.work go.work.want_go_118
    
    go work edit -dropuse m
    cmp go.work go.work.want_dropuse_m
    
    go work edit -replace=x.1@v1.3.0=y.1@v1.4.0 -replace='x.1@v1.4.0 = ../z'
    cmp go.work go.work.want_add_replaces
    
    go work edit -use n -use ../a -use /b -use c -use c
    cmp go.work go.work.want_multiuse
    
    go work edit -dropuse /b -dropuse n
    cmp go.work go.work.want_multidropuse
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 13:52:10 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  8. src/slices/zsortordered.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package slices
    
    import "cmp"
    
    // insertionSortOrdered sorts data[a:b] using insertion sort.
    func insertionSortOrdered[E cmp.Ordered](data []E, a, b int) {
    	for i := a + 1; i < b; i++ {
    		for j := i; j > a && cmp.Less(data[j], data[j-1]); j-- {
    			data[j], data[j-1] = data[j-1], data[j]
    		}
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 23 23:33:29 UTC 2023
    - 12.4K bytes
    - Viewed (0)
  9. src/math/big/rat_test.go

    	y := NewRat(2, 1)
    	z := y.Quo(x, y)
    	q := NewRat(3, 2)
    	if z.Cmp(q) != 0 {
    		t.Errorf("got %s want %s", z, q)
    	}
    
    	y = NewRat(3, 1)
    	x = NewRat(2, 1)
    	z = y.Quo(x, y)
    	q = NewRat(2, 3)
    	if z.Cmp(q) != 0 {
    		t.Errorf("got %s want %s", z, q)
    	}
    
    	x = NewRat(3, 1)
    	z = x.Quo(x, x)
    	q = NewRat(3, 3)
    	if z.Cmp(q) != 0 {
    		t.Errorf("got %s want %s", z, q)
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jan 07 00:15:59 UTC 2022
    - 18.9K bytes
    - Viewed (0)
  10. test/codegen/comparisons.go

    	// arm64:`CMN`,-`CMP`
    	if a < -8 {
    		c1 = 1
    	}
    	// arm64:`CMN`,-`CMP`
    	if a+1 == 0 {
    		c2 = 1
    	}
    	// arm64:`CMN`,-`CMP`
    	if a+3 != 0 {
    		c3 = 1
    	}
    	// arm64:`CMN`,-`CMP`
    	if a+b == 0 {
    		c4 = 1
    	}
    	// arm64:`CMN`,-`CMP`
    	if b+c != 0 {
    		c5 = 1
    	}
    	// arm64:`CMN`,-`CMP`
    	if a == -c {
    		c6 = 1
    	}
    	// arm64:`CMN`,-`CMP`
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 19 16:31:02 UTC 2024
    - 15.2K bytes
    - Viewed (0)
Back to top