Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 1,023 for Cmp (0.09 sec)

  1. src/cmd/compile/internal/ssa/_gen/AMD64splitload.rules

    // For example:
    // (CMPBconstload c (ADDQ x y)) -> (CMPBconstloadidx1 c x y) -> (CMPB c (MOVBloadidx1 x y))
    
    (CMP(Q|L|W|B)load {sym} [off] ptr x mem) => (CMP(Q|L|W|B) (MOV(Q|L|W|B)load {sym} [off] ptr mem) x)
    
    (CMP(Q|L|W|B)constload {sym} [vo] ptr mem) && vo.Val() == 0 => (TEST(Q|L|W|B) x:(MOV(Q|L|W|B)load {sym} [vo.Off()] ptr mem) x)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 04 19:35:46 UTC 2022
    - 3.4K bytes
    - Viewed (0)
  2. src/cmd/go/testdata/script/mod_tidy_compat_irrelevant.txt

    [exec:patch] exec patch -p1 -i diff.patch
    [exec:patch] go mod tidy -diff
    [exec:patch] ! stdout .
    [exec:patch] cmp go.mod go.mod.tidyResult
    [exec:patch] cmp go.sum go.sum.tidyResult
    
    go list -deps -test -f $MODFMT all
    cp stdout out-117.txt
    
    go mod edit -go=1.16
    go list -deps -test -f $MODFMT all
    cmp stdout out-117.txt
    
    
    # If we explicitly drop compatibility with 1.16, we retain fewer checksums,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 14:56:56 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  3. src/math/big/ratmarsh_test.go

    			t.Errorf("encoding of %s failed: %s", &tx, err)
    			continue
    		}
    		var rx Rat
    		if err := dec.Decode(&rx); err != nil {
    			t.Errorf("decoding of %s failed: %s", &tx, err)
    			continue
    		}
    		if rx.Cmp(&tx) != 0 {
    			t.Errorf("transmission of %s failed: got %s want %s", &tx, &rx, &tx)
    		}
    	}
    }
    
    // Sending a nil Rat pointer (inside a slice) on a round trip through gob should yield a zero.
    // TODO: top-level nils.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 11 20:20:16 UTC 2022
    - 3.3K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apimachinery/pkg/runtime/local_scheme_test.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package runtime
    
    import (
    	"testing"
    
    	"reflect"
    
    	"github.com/google/go-cmp/cmp"
    	"k8s.io/apimachinery/pkg/runtime/schema"
    )
    
    func TestPreferredVersionsAllGroups(t *testing.T) {
    	tests := []struct {
    		name                string
    		versionPriority     map[string][]string
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 15:46:12 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  5. src/cmd/go/testdata/script/work_use.txt

    go work use -r foo
    cmp go.work go.want_work_r
    
    ! go work use other
    stderr '^go: error reading other'${/}'go.mod: missing module declaration'
    
    go mod edit -C other -module=other
    go work use other
    cmp go.work go.want_work_other
    -- go.work --
    go 1.18
    
    use (
    	foo
    	foo/bar // doesn't exist
    )
    -- go.want_work_r --
    go 1.18
    
    use (
    	./foo
    	./foo/bar/baz
    )
    -- go.want_work_other --
    go 1.18
    
    use (
    	./foo
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Jun 03 21:13:11 UTC 2023
    - 504 bytes
    - Viewed (0)
  6. pkg/scheduler/internal/cache/debugger/comparer_test.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package debugger
    
    import (
    	"testing"
    
    	"github.com/google/go-cmp/cmp"
    
    	"k8s.io/api/core/v1"
    	"k8s.io/apimachinery/pkg/types"
    	"k8s.io/kubernetes/pkg/scheduler/framework"
    )
    
    func TestCompareNodes(t *testing.T) {
    	tests := []struct {
    		name      string
    		actual    []string
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jul 05 08:00:25 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  7. pkg/apis/flowcontrol/internalbootstrap/defaults_test.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package internalbootstrap
    
    import (
    	"fmt"
    	"testing"
    
    	"github.com/google/go-cmp/cmp"
    
    	flowcontrol "k8s.io/api/flowcontrol/v1"
    	apiequality "k8s.io/apimachinery/pkg/api/equality"
    	"k8s.io/apiserver/pkg/apis/flowcontrol/bootstrap"
    )
    
    func TestBootstrapConfigurationWithDefaulted(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 12:18:35 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  8. src/cmd/go/testdata/script/mod_readonly.txt

    ! stderr '\(\)' # If we don't have a reason for -mod=readonly, don't log an empty one.
    cmp go.mod go.mod.empty
    
    # -mod=readonly should be set by default.
    env GOFLAGS=
    ! go list all
    stderr '^x.go:2:8: no required module provides package rsc\.io/quote; to add it:\n\tgo get rsc\.io/quote$'
    cmp go.mod go.mod.empty
    
    env GOFLAGS=-mod=readonly
    
    # update go.mod - go get allowed
    go get rsc.io/quote
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 28 17:19:14 UTC 2021
    - 3.1K bytes
    - Viewed (0)
  9. src/runtime/memclr_arm.s

    	MOVW	R0, R4
    	MOVW	R0, R5
    	MOVW	R0, R6
    	MOVW	R0, R7
    
    _f32loop:
    	CMP	TMP, TO
    	BHS	_4tail
    
    	MOVM.IA.W [R0-R7], (TO)
    	B	_f32loop
    
    _4tail:
    	SUB	$3, TOE, TMP	/* do remaining words if possible */
    _4loop:
    	CMP	TMP, TO
    	BHS	_1tail
    
    	MOVW.P	R0, 4(TO)		/* implicit write back */
    	B	_4loop
    
    _1tail:
    	CMP	TO, TOE
    	BEQ	_return
    
    	MOVBU.P	R0, 1(TO)		/* implicit write back */
    	B	_1tail
    
    _return:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 19 00:41:03 UTC 2021
    - 2.6K bytes
    - Viewed (0)
  10. src/runtime/memmove_arm64.s

    // func memmove(to, from unsafe.Pointer, n uintptr)
    TEXT runtime·memmove<ABIInternal>(SB), NOSPLIT|NOFRAME, $0-24
    	CBZ	R2, copy0
    
    	// Small copies: 1..16 bytes
    	CMP	$16, R2
    	BLE	copy16
    
    	// Large copies
    	CMP	$128, R2
    	BHI	copy_long
    	CMP	$32, R2
    	BHI	copy32_128
    
    	// Small copies: 17..32 bytes.
    	LDP	(R1), (R6, R7)
    	ADD	R1, R2, R4          // R4 points just past the last source byte
    	LDP	-16(R4), (R12, R13)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 18 18:26:13 UTC 2022
    - 6K bytes
    - Viewed (0)
Back to top