Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 46 for Cmp (0.13 sec)

  1. misc/cgo/gmp/gmp.go

    // CmpInt compares x and y. The result is
    //
    //	-1 if x <  y
    //	 0 if x == y
    //	+1 if x >  y
    func CmpInt(x, y *Int) int {
    	x.doinit()
    	y.doinit()
    	switch cmp := C.mpz_cmp(&x.i[0], &y.i[0]); {
    	case cmp < 0:
    		return -1
    	case cmp == 0:
    		return 0
    	}
    	return +1
    }
    
    // DivModInt sets q = x / y and r = x % y.
    func DivModInt(q, r, x, y *Int) {
    	q.doinit()
    	r.doinit()
    	x.doinit()
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 9.5K bytes
    - Viewed (0)
  2. internal/s3select/sql/evaluate.go

    }
    
    const floatCmpTolerance = 0.000001
    
    func (e *In) evalInNode(r Record, lhs *Value, tableAlias string) (*Value, error) {
    	// Compare two values in terms of in-ness.
    	var cmp func(a, b Value) bool
    	cmp = func(a, b Value) bool {
    		// Convert if needed.
    		inferTypesForCmp(&a, &b)
    
    		if a.Equals(b) {
    			return true
    		}
    
    		// If elements, compare each.
    		aA, aOK := a.ToArray()
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 12K bytes
    - Viewed (0)
  3. src/cmd/asm/internal/asm/testdata/ppc64.s

    	XOR   $983040, R3, R4           // 6c64000f
    
    	// TODO: cleanup inconsistency of printing CMPx opcodes with explicit CR arguments.
    	CMP R3, R4                      // 7c232000
    	CMP R3, R0                      // 7c230000
    	CMP R3, R0, CR1                 // CMP R3,CR1,R0   // 7ca30000
    	CMPU R3, R4                     // 7c232040
    	CMPU R3, R0                     // 7c230040
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Thu Nov 21 18:27:17 UTC 2024
    - 51.7K bytes
    - Viewed (0)
  4. src/cmd/asm/internal/asm/testdata/arm64.s

    	CMP	$0xffffffffffa0, R3             // CMP	$281474976710560, R3              // fb0b80921b00e0f27f001beb
    	CMP	$0xf4240, R1                    // CMP	$1000000, R1                      // 1b4888d2fb01a0f23f001beb
    	CMP     $3343198598084851058, R3        // 5bae8ed2db8daef23badcdf2bbcce5f27f001beb
    	CMP	$3, R2
    	CMP	R1, R2
    	CMP	R1->11, R2
    	CMP	R1>>22, R2
    	CMP	R1<<33, R2
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Mon Nov 10 17:34:13 UTC 2025
    - 96.1K bytes
    - Viewed (0)
  5. src/cmd/asm/internal/arch/mips.go

    		return true
    	}
    	return false
    }
    
    // IsMIPSCMP reports whether the op (as defined by an mips.A* constant) is
    // one of the CMP instructions that require special handling.
    func IsMIPSCMP(op obj.As) bool {
    	switch op {
    	case mips.ACMPEQF, mips.ACMPEQD, mips.ACMPGEF, mips.ACMPGED,
    		mips.ACMPGTF, mips.ACMPGTD:
    		return true
    	}
    	return false
    }
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Wed Mar 04 19:06:44 UTC 2020
    - 1.7K bytes
    - Viewed (0)
  6. cmd/erasure-server-pool-decom_gen.go

    				err = msgp.WrapError(err, "TotalSize")
    				return
    			}
    		case "cs":
    			z.CurrentSize, err = dc.ReadInt64()
    			if err != nil {
    				err = msgp.WrapError(err, "CurrentSize")
    				return
    			}
    		case "cmp":
    			z.Complete, err = dc.ReadBool()
    			if err != nil {
    				err = msgp.WrapError(err, "Complete")
    				return
    			}
    		case "fl":
    			z.Failed, err = dc.ReadBool()
    			if err != nil {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 26.7K bytes
    - Viewed (0)
  7. src/cmd/asm/internal/arch/ppc64.go

    		return true
    	}
    	return false
    }
    
    // IsPPC64CMP reports whether the op (as defined by an ppc64.A* constant) is
    // one of the CMP instructions that require special handling.
    func IsPPC64CMP(op obj.As) bool {
    	switch op {
    	case ppc64.ACMP, ppc64.ACMPU, ppc64.ACMPW, ppc64.ACMPWU, ppc64.AFCMPO, ppc64.AFCMPU, ppc64.ADCMPO, ppc64.ADCMPU, ppc64.ADCMPOQ, ppc64.ADCMPUQ:
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Thu Nov 21 18:27:17 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  8. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedSet.java

          E fromElement, boolean fromInclusive, E toElement, boolean toInclusive) {
        checkNotNull(fromElement);
        checkNotNull(toElement);
        int cmp = comparator().compare(fromElement, toElement);
        checkArgument(cmp <= 0, "fromElement (%s) is less than toElement (%s)", fromElement, toElement);
        if (cmp == 0 && !(fromInclusive && toInclusive)) {
          return emptySet(comparator());
        }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 18:32:41 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  9. src/cmd/asm/internal/asm/testdata/s390x.s

    	MVCLE   $4095, R4, R6            // a8640fff
    	MVCLE   (R3), R4, R6             // a8643000
    	MVCLE   10(R3), R4, R6           // a864300a
    
    	CMP	R1, R2                 // b9200012
    	CMP	R3, $32767             // a73f7fff
    	CMP	R3, $32768             // c23c00008000
    	CMP	R3, $-2147483648       // c23c80000000
    	CMPU	R4, R5                 // b9210045
    	CMPU	R6, $4294967295        // c26effffffff
    	CMPW	R7, R8                 // 1978
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Wed Jul 30 19:29:15 UTC 2025
    - 22.9K bytes
    - Viewed (0)
  10. cmd/batch-handlers_gen.go

    				err = msgp.WrapError(err, "RetryAttempts")
    				return
    			}
    		case "at":
    			z.Attempts, err = dc.ReadInt()
    			if err != nil {
    				err = msgp.WrapError(err, "Attempts")
    				return
    			}
    		case "cmp":
    			z.Complete, err = dc.ReadBool()
    			if err != nil {
    				err = msgp.WrapError(err, "Complete")
    				return
    			}
    		case "fld":
    			z.Failed, err = dc.ReadBool()
    			if err != nil {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 20.4K bytes
    - Viewed (0)
Back to top