Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 1,023 for Cmp (0.1 sec)

  1. 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)
  2. pkg/apis/discovery/v1/defaults_test.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package v1_test
    
    import (
    	"testing"
    
    	"github.com/google/go-cmp/cmp"
    	v1 "k8s.io/api/core/v1"
    	discovery "k8s.io/api/discovery/v1"
    	apiequality "k8s.io/apimachinery/pkg/api/equality"
    	"k8s.io/kubernetes/pkg/api/legacyscheme"
    	_ "k8s.io/kubernetes/pkg/apis/discovery/install"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jan 08 12:14:37 UTC 2023
    - 2K bytes
    - Viewed (0)
  3. src/cmd/go/testdata/script/mod_get_local.txt

    # 'go get -u local/...' should be equivalent to 'go get -u ./...'
    # (assuming no nested modules)
    cp go.mod.orig go.mod
    go get -u local/...
    cmp go.mod go.mod.implicitmod
    
    # For the main module, @patch should be a no-op.
    cp go.mod.orig go.mod
    go get -u local/...@patch
    cmp go.mod go.mod.implicitmod
    
    # 'go get -u' in the empty root of the main module should fail.
    # 'go get -u .' should also fail.
    cp go.mod.orig go.mod
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 28 17:19:14 UTC 2021
    - 1.5K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apimachinery/pkg/runtime/serializer/cbor/internal/modes/encode_test.go

    limitations under the License.
    */
    
    package modes_test
    
    import (
    	"fmt"
    	"testing"
    
    	"github.com/fxamacker/cbor/v2"
    	"github.com/google/go-cmp/cmp"
    )
    
    func TestEncode(t *testing.T) {
    	for _, tc := range []struct {
    		name          string
    		modes         []cbor.EncMode
    		in            interface{}
    		want          []byte
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 04 15:55:02 UTC 2024
    - 2K bytes
    - Viewed (0)
  5. src/runtime/sys_openbsd_ppc64.s

    	CALL	libc_mmap(SB)
    	MOVD	$0, R4
    	CMP	R3, $-1
    	BNE	noerr
    	CALL	libc_errno(SB)
    	MOVW	(R3), R4		// errno
    	MOVD	$0, R3
    noerr:
    	MOVD	R3, 32(R14)
    	MOVD	R4, 40(R14)
    	RET
    
    TEXT runtime·munmap_trampoline(SB),NOSPLIT,$32
    	MOVD	8(R3), R4		// arg 2 - len
    	MOVD	0(R3), R3		// arg 1 - addr
    	CALL	libc_munmap(SB)
    	CMP	R3, $-1
    	BNE	3(PC)
    	MOVD	$0, R3			// crash on failure
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 02:48:11 UTC 2023
    - 15.3K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/sys/unix/asm_zos_s390x.s

    	//  arg 1 ---> R1
    	CMP  R8, $0
    	BEQ  docall
    	SUB  $1, R8
    	MOVD 0(R7), R1
    
    	//  arg 2 ---> R2
    	CMP  R8, $0
    	BEQ  docall
    	SUB  $1, R8
    	ADD  $8, R7
    	MOVD 0(R7), R2
    
    	//  arg 3 --> R3
    	CMP  R8, $0
    	BEQ  docall
    	SUB  $1, R8
    	ADD  $8, R7
    	MOVD 0(R7), R3
    
    	CMP  R8, $0
    	BEQ  docall
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/apis/apiserver/load/load_test.go

    limitations under the License.
    */
    
    package load
    
    import (
    	"bytes"
    	"os"
    	"reflect"
    	"strings"
    	"testing"
    	"time"
    
    	"github.com/google/go-cmp/cmp"
    
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	api "k8s.io/apiserver/pkg/apis/apiserver"
    )
    
    var defaultConfig = &api.AuthorizationConfiguration{}
    
    func writeTempFile(t *testing.T, content string) string {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 02 07:00:31 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  8. src/runtime/sys_linux_ppc64x.s

    	// compared to ARM64 and others.
    	CMP	$0, R9
    	BEQ	sigtrampnog // g == nil
    
    	// g is not nil. Check further.
    	MOVD	g_m(R9), R6
    	CMP	$0, R6
    	BEQ	sigtramp    // g.m == nil
    	MOVW	m_ncgo(R6), R7
    	CMPW	$0, R7
    	BEQ	sigtramp    // g.m.ncgo = 0
    	MOVD	m_curg(R6), R7
    	CMP	$0, R7
    	BEQ	sigtramp    // g.m.curg == nil
    	MOVD	g_syscallsp(R7), R7
    	CMP	$0, R7
    	BEQ	sigtramp    // g.m.curg.syscallsp == 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 18:17:17 UTC 2024
    - 18.1K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/TreeMultiset.java

          return 0;
        }
        // The cast is safe because we call this method only if hasLowerBound().
        int cmp =
            comparator()
                .compare(uncheckedCastNullableTToT(range.getLowerEndpoint()), node.getElement());
        if (cmp < 0) {
          return aggregateBelowRange(aggr, node.left);
        } else if (cmp == 0) {
          switch (range.getLowerBoundType()) {
            case OPEN:
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 34.6K bytes
    - Viewed (0)
  10. src/internal/bytealg/count_arm.s

    //
    // On exit:
    // R4 and R8 are clobbered
    TEXT countbytebody<>(SB),NOSPLIT,$0
    	MOVW	$0, R8	// R8 = count of byte to search
    	CMP	$0, R1
    	B.EQ	done	// short path to handle 0-byte case
    	ADD	R0, R1	// R1 is the end of the range
    byte_loop:
    	MOVBU.P	1(R0), R4
    	CMP	R4, R2
    	ADD.EQ	$1, R8
    	CMP	R0, R1
    	B.NE	byte_loop
    done:
    	MOVW	R8, (R7)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 19 16:33:10 UTC 2019
    - 917 bytes
    - Viewed (0)
Back to top