Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for isInt (0.34 sec)

  1. test/named.go

    	isInt(2 * i)
    	asInt(i * i)
    	isInt(i * i)
    	i *= 2
    	asInt(i / 5)
    	isInt(i / 5)
    	asInt(5 / i)
    	isInt(5 / i)
    	asInt(i / i)
    	isInt(i / i)
    	i /= 2
    	asInt(i % 5)
    	isInt(i % 5)
    	asInt(5 % i)
    	isInt(5 % i)
    	asInt(i % i)
    	isInt(i % i)
    	i %= 2
    	asInt(i & 5)
    	isInt(i & 5)
    	asInt(5 & i)
    	isInt(5 & i)
    	asInt(i & i)
    	isInt(i & i)
    	i &= 2
    	asInt(i &^ 5)
    	isInt(i &^ 5)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 4.6K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types/universe.go

    	// simple aliases
    	SimType[TMAP] = TPTR
    	SimType[TCHAN] = TPTR
    	SimType[TFUNC] = TPTR
    	SimType[TUNSAFEPTR] = TPTR
    
    	for et := TINT8; et <= TUINT64; et++ {
    		IsInt[et] = true
    	}
    	IsInt[TINT] = true
    	IsInt[TUINT] = true
    	IsInt[TUINTPTR] = true
    
    	IsFloat[TFLOAT32] = true
    	IsFloat[TFLOAT64] = true
    
    	IsComplex[TCOMPLEX64] = true
    	IsComplex[TCOMPLEX128] = true
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 26 21:56:49 UTC 2023
    - 4K bytes
    - Viewed (0)
  3. src/math/big/ratmarsh.go

    	z.a.abs = z.a.abs.setBytes(buf[j:i])
    	z.b.abs = z.b.abs.setBytes(buf[i:])
    	return nil
    }
    
    // MarshalText implements the [encoding.TextMarshaler] interface.
    func (x *Rat) MarshalText() (text []byte, err error) {
    	if x.IsInt() {
    		return x.a.MarshalText()
    	}
    	return x.marshal(), nil
    }
    
    // UnmarshalText implements the [encoding.TextUnmarshaler] interface.
    func (z *Rat) UnmarshalText(text []byte) error {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 21:31:58 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/common/attrs_and_constraints.cc

        mapping.map(op->getOperand(arg.index()), arg.value());
      }
      return builder.clone(*op, mapping)->getResults();
    }
    
    FailureOr<int32_t> CastI64ToI32(const int64_t value) {
      if (!llvm::isInt<32>(value)) {
        DEBUG_WITH_TYPE(
            "mlir-quant-attrs-and-constraints",
            llvm::dbgs()
                << "Tried to cast " << value
                << "from int64 to int32, but lies out of range of int32.\n");
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/typecheck/universe.go

    	s.Def = ir.NewNameAt(src.NoXPos, s, types.Types[types.TBLANK])
    
    	s = types.BuiltinPkg.Lookup("nil")
    	s.Def = NodNil()
    
    	// initialize okfor
    	for et := types.Kind(0); et < types.NTYPE; et++ {
    		if types.IsInt[et] || et == types.TIDEAL {
    			okforeq[et] = true
    			types.IsOrdered[et] = true
    			okforarith[et] = true
    			okforadd[et] = true
    			okforand[et] = true
    			ir.OKForConst[et] = true
    			types.IsSimple[et] = true
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 05 15:20:28 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  6. maven-model-builder/src/main/java/org/apache/maven/utils/Os.java

                        || actualOsName.contains("ce"));
                isNT = !is9x;
            }
            switch (family) {
                case FAMILY_WINDOWS:
                    return isWindows;
                case FAMILY_WIN9X:
                    return isWindows && is9x;
                case FAMILY_NT:
                    return isWindows && isNT;
                case FAMILY_OS2:
                    return actualOsName.contains(FAMILY_OS2);
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon May 13 09:53:45 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  7. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/profile/Os.java

                        || actualOsName.contains("ce"));
                isNT = !is9x;
            }
            switch (family) {
                case FAMILY_WINDOWS:
                    return isWindows;
                case FAMILY_WIN9X:
                    return isWindows && is9x;
                case FAMILY_NT:
                    return isWindows && isNT;
                case FAMILY_OS2:
                    return actualOsName.contains(FAMILY_OS2);
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  8. internal/kms/context.go

    		// but don't work in JSONP, which has to be evaluated as JavaScript,
    		// and can lead to security holes there. It is valid JSON to
    		// escape them, so we do so unconditionally.
    		// See http://timelessrepo.com/json-isnt-a-javascript-subset for discussion.
    		if c == '\u2028' || c == '\u2029' {
    			if start < i {
    				dst.WriteString(s[start:i])
    			}
    			dst.WriteString(`\u202`)
    			dst.WriteByte(hexTable[c&0xF])
    			i += size
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sun Jan 02 17:15:06 UTC 2022
    - 6K bytes
    - Viewed (0)
  9. src/log/slog/json_handler.go

    		// but don't work in JSONP, which has to be evaluated as JavaScript,
    		// and can lead to security holes there. It is valid JSON to
    		// escape them, so we do so unconditionally.
    		// See http://timelessrepo.com/json-isnt-a-javascript-subset for discussion.
    		if c == '\u2028' || c == '\u2029' {
    			if start < i {
    				str(s[start:i])
    			}
    			str(`\u202`)
    			char(hex[c&0xF])
    			i += size
    			start = i
    			continue
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 17 16:18:11 UTC 2023
    - 8.1K bytes
    - Viewed (0)
Back to top