Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 1,023 for Cmp (0.07 sec)

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

    # Try to update example.com/badchain/a (and its dependencies).
    ! go get example.com/badchain/a
    cmp stderr update-a-expected
    cmp go.mod go.mod.orig
    
    # Try to update the main module. This updates everything, including
    # modules that aren't direct requirements, so the error stack is shorter.
    go get -u ./...
    cmp stderr update-main-expected
    cmp go.mod go.mod.withc
    
    # Update manually. Listing modules should produce an error.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 17 13:05:03 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  2. src/vendor/golang.org/x/crypto/internal/poly1305/sum_ppc64le.s

    	MOVD 16(R3), R10 // h2
    	MOVD 24(R3), R11 // r0
    	MOVD 32(R3), R12 // r1
    
    	CMP R5, $16
    	BLT bytes_between_0_and_15
    
    loop:
    	POLY1305_ADD(R4, R8, R9, R10, R20, R21, R22)
    
    	PCALIGN $16
    multiply:
    	POLY1305_MUL(R8, R9, R10, R11, R12, R16, R17, R18, R14, R20, R21)
    	ADD $-16, R5
    	CMP R5, $16
    	BGE loop
    
    bytes_between_0_and_15:
    	CMP  R5, $0
    	BEQ  done
    	MOVD $0, R16 // h0
    	MOVD $0, R17 // h1
    
    flush_buffer:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Mar 09 00:09:40 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apimachinery/pkg/api/resource/quantity_test.go

    		}
    		if cmp := b.Cmp(a); cmp != -item.cmp {
    			t.Errorf("%#v: unexpected inverted Cmp: %d", item, cmp)
    		}
    	}
    
    	for _, item := range table {
    		a, b := item.a.DeepCopy(), item.b.DeepCopy()
    		b.AsDec()
    		if cmp := a.Cmp(b); cmp != item.cmp {
    			t.Errorf("%#v: unexpected Cmp: %d", item, cmp)
    		}
    		if cmp := b.Cmp(a); cmp != -item.cmp {
    			t.Errorf("%#v: unexpected inverted Cmp: %d", item, cmp)
    		}
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 21:48:10 UTC 2024
    - 49.4K bytes
    - Viewed (0)
  4. src/cmd/go/testdata/script/list_test_cycle.txt

    go list ./p
    stdout 'example/p'
    
    ! go list -json=ImportPath -test ./p
    cmp stderr wanterr.txt
    
    ! go list -json=ImportPath,Deps -test ./p
    cmp stderr wanterr.txt
    
    ! go list -json=ImportPath,Deps -deps -test ./p
    cmp stderr wanterr.txt
    
    ! go list -json=ImportPath -deps -test ./p
    cmp stderr wanterr.txt
    
    -- wanterr.txt --
    go: can't load test package: package example/p
    	imports example/q
    	imports example/r
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 25 19:18:23 UTC 2023
    - 644 bytes
    - Viewed (0)
  5. pkg/apis/flowcontrol/v1beta1/conversion_test.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package v1beta1
    
    import (
    	"testing"
    
    	"github.com/google/go-cmp/cmp"
    	"k8s.io/api/flowcontrol/v1beta1"
    	"k8s.io/kubernetes/pkg/apis/flowcontrol"
    )
    
    func TestConvert_v1beta1_LimitedPriorityLevelConfiguration_To_flowcontrol_LimitedPriorityLevelConfiguration(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Sep 26 19:34:10 UTC 2022
    - 3K bytes
    - Viewed (0)
  6. src/math/big/int_test.go

    		var z Int
    		z.Abs(a.z)
    		var e Int
    		e.Set(a.z)
    		if e.Cmp(&zero) < 0 {
    			e.Sub(&zero, &e)
    		}
    		if z.Cmp(&e) != 0 {
    			t.Errorf("got z = %v; want %v", z, e)
    		}
    	}
    }
    
    func testFunZZ(t *testing.T, msg string, f funZZ, a argZZ) {
    	var z Int
    	f(&z, a.x, a.y)
    	if !isNormalized(&z) {
    		t.Errorf("%s%v is not normalized", msg, z)
    	}
    	if (&z).Cmp(a.z) != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 58.5K bytes
    - Viewed (0)
  7. pkg/registry/core/componentstatus/rest_test.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package componentstatus
    
    import (
    	"fmt"
    	"reflect"
    	"strings"
    	"testing"
    
    	"github.com/google/go-cmp/cmp"
    	metainternalversion "k8s.io/apimachinery/pkg/apis/meta/internalversion"
    	"k8s.io/apimachinery/pkg/fields"
    	"k8s.io/apimachinery/pkg/labels"
    
    	"net/http"
    	"time"
    
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 13 08:10:29 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  8. src/cmd/go/testdata/script/devnull.txt

    # Issue 28549: go test -c -o /dev/null should not overwrite /dev/null when run as root.
    cd x
    cmp $devnull $WORK/empty.txt
    go test -o=$devnull -c
    ! exists x.test$GOEXE
    cmp $devnull $WORK/empty.txt
    
    # Issue 12407: go build -o /dev/null should succeed.
    cd ..
    go build -o $devnull y
    cmp $devnull $WORK/empty.txt
    
    -- x/x_test.go --
    package x_test
    import (
        "testing"
    )
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 18 19:03:27 UTC 2019
    - 525 bytes
    - Viewed (0)
  9. src/runtime/memclr_ppc64x.s

    	BEQ     nozerolarge
    
    lt64gt8:
    	CMP	R4, $32
    	BLT	lt32gt8
    	MOVD	$16, R8
    	STXVD2X	VS32, (R3+R0)
    	STXVD2X	VS32, (R3+R8)
    	ADD	$-32, R4
    	ADD	$32, R3
    lt32gt8:
    	CMP	R4, $16
    	BLT	lt16gt8
    	STXVD2X	VS32, (R3+R0)
    	ADD	$16, R3
    	ADD	$-16, R4
    lt16gt8:
    #ifdef GOPPC64_power10
    	SLD	$56, R4, R7
    	STXVL   V0, R3, R7
    	RET
    #else
    	CMP	R4, $8
    	BLT	nozerolarge
    	MOVD	R0, 0(R3)
    	ADD	$8, R3
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 16 17:08:59 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  10. pkg/apis/flowcontrol/v1beta2/conversion_test.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package v1beta2
    
    import (
    	"testing"
    
    	"github.com/google/go-cmp/cmp"
    	"k8s.io/api/flowcontrol/v1beta2"
    	"k8s.io/kubernetes/pkg/apis/flowcontrol"
    )
    
    func TestConvert_v1beta2_LimitedPriorityLevelConfiguration_To_flowcontrol_LimitedPriorityLevelConfiguration(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Sep 26 19:34:10 UTC 2022
    - 3K bytes
    - Viewed (0)
Back to top