- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 15 for isInt (0.15 sec)
-
analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/components/KtTypeInfoProvider.kt
public val KaType.isUnit: Boolean get() = withValidityAssertion { isClassTypeWithClassId(DefaultTypeClassIds.UNIT) } public val KaType.isInt: Boolean get() = withValidityAssertion { isClassTypeWithClassId(DefaultTypeClassIds.INT) } public val KaType.isLong: Boolean get() = withValidityAssertion { isClassTypeWithClassId(DefaultTypeClassIds.LONG) }
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Tue Jun 04 08:26:19 UTC 2024 - 10.2K bytes - Viewed (0) -
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) -
src/fmt/print.go
default: p.unknownType(f) } } // intFromArg gets the argNumth element of a. On return, isInt reports whether the argument has integer type. func intFromArg(a []any, argNum int) (num int, isInt bool, newArgNum int) { newArgNum = argNum if argNum < len(a) { num, isInt = a[argNum].(int) // Almost always OK. if !isInt { // Work harder. switch v := reflect.ValueOf(a[argNum]); v.Kind() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 13 21:22:43 UTC 2024 - 31.8K bytes - Viewed (0) -
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) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/evaluate/FirAnnotationValueConverter.kt
type.isUShort -> KaConstantValue.KaUnsignedShortConstantValue((value as Number).toShort().toUShort(), expression) type.isInt -> KaConstantValue.KaIntConstantValue((value as Number).toInt(), expression) type.isUInt -> KaConstantValue.KaUnsignedIntConstantValue((value as Number).toInt().toUInt(), expression)
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Tue Jun 11 15:45:42 UTC 2024 - 11.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/flatbuffer_operator.cc
} else if (value.IsString()) { mlir_vector.push_back( BuildVhloStringV1Attr(value.AsString().str(), builder)); } else if (value.IsInt()) { mlir_vector.push_back(BuildVhloIntV1Attr(value.AsInt64(), builder)); } else if (value.IsFloat()) { mlir_vector.push_back(BuildVhloFloatV1Attr(value.AsFloat(), builder)); } else if (value.IsVector()) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 21 18:21:50 UTC 2024 - 38K bytes - Viewed (0) -
analysis/analysis-api-standalone/tests/org/jetbrains/kotlin/analysis/api/standalone/fir/test/cases/session/builder/StandaloneSessionBuilderTest.kt
type.classId ) // expanded to `actual` `typealias` val expandedType = type.fullyExpandedType Assertions.assertTrue(expandedType.isInt) } // Test stdlib-common: @JvmInline in the common module val actualClass = ktFile.findDescendantOfType<KtClassOrObject>()!!
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed Jun 05 16:16:39 UTC 2024 - 16.7K bytes - Viewed (0) -
src/math/big/float.go
func (x *Float) Signbit() bool { return x.neg } // IsInf reports whether x is +Inf or -Inf. func (x *Float) IsInf() bool { return x.form == inf } // IsInt reports whether x is an integer. // ±Inf values are not integers. func (x *Float) IsInt() bool { if debugFloat { x.validate() } // special cases if x.form != finite { return x.form == zero } // x.form == finite if x.exp <= 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jun 06 15:46:54 UTC 2024 - 44.5K bytes - Viewed (0) -
src/text/template/exec.go
case constant.IsFloat && !isHexInt(constant.Text) && !isRuneInt(constant.Text) && strings.ContainsAny(constant.Text, ".eEpP"): return reflect.ValueOf(constant.Float64) case constant.IsInt: n := int(constant.Int64) if int64(n) != constant.Int64 { s.errorf("%s overflows int", constant.Text) } return reflect.ValueOf(n) case constant.IsUint:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 21:22:24 UTC 2024 - 32K bytes - Viewed (0) -
pkg/volume/emptydir/empty_dir.go
} if err := ed.setupDir(dir); err != nil { return err } // Make SetUp idempotent. medium, isMnt, mountPageSize, err := ed.mountDetector.GetMountMedium(dir, ed.medium) klog.V(3).Infof("pod %v: setupHugepages: medium: %s, isMnt: %v, dir: %s, err: %v", ed.pod.UID, medium, isMnt, dir, err) if err != nil { return err } // If the directory is a mountpoint with medium hugepages of the same page size,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 21 10:18:16 UTC 2024 - 19K bytes - Viewed (0)