- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 101 for type$val (0.14 sec)
-
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/evaluate/FirCompileTimeConstantEvaluator.kt
): FirLiteralExpression? { if (value == null || other.value == null) return null // NB: some utils accept very general types, and due to the way operation map works, we should up-cast rhs type. val rightType = when { function.symbol.callableId.isStringEquals -> CompileTimeType.ANY function.symbol.callableId.isStringPlus -> CompileTimeType.ANY else -> other.kind.toCompileTimeType()
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Fri Jun 07 11:53:09 UTC 2024 - 16.2K bytes - Viewed (0) -
src/go/types/conversions.go
"unicode" ) // conversion type-checks the conversion T(x). // The result is in x. func (check *Checker) conversion(x *operand, T Type) { constArg := x.mode == constant_ constConvertibleTo := func(T Type, val *constant.Value) bool { switch t, _ := under(T).(*Basic); { case t == nil: // nothing to do case representableConst(x.val, check, t, val): return true case isInteger(x.typ) && isString(t):
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 18:51:00 UTC 2024 - 9.1K bytes - Viewed (0) -
src/cmd/gofmt/rewrite.go
return true } } } // Otherwise, pattern and val must match recursively. if !pattern.IsValid() || !val.IsValid() { return !pattern.IsValid() && !val.IsValid() } if pattern.Type() != val.Type() { return false } // Special cases. switch pattern.Type() { case identType: // For identifiers, only the names need to match // (and none of the other *ast.Object information).
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jul 27 22:07:13 UTC 2023 - 8.1K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/MultipartBody.kt
* * [rfc_2387]: http://www.ietf.org/rfc/rfc2387.txt */ @Suppress("NAME_SHADOWING") class MultipartBody internal constructor( private val boundaryByteString: ByteString, @get:JvmName("type") val type: MediaType, @get:JvmName("parts") val parts: List<Part>, ) : RequestBody() { private val contentType: MediaType = "$type; boundary=$boundary".toMediaType() private var contentLength = -1L
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 10.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/utils/lstm_utils.cc
auto attr = DenseElementsAttr::get(type, val); return builder->create<arith::ConstantOp>(location, type, attr); } Value CreateF32SplatConst(OpBuilder* builder, ArrayRef<int64_t> shape, float val, mlir::Location location) { auto type = RankedTensorType::get(shape, builder->getF32Type()); auto attr = DenseElementsAttr::get(type, val);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 36.2K bytes - Viewed (0) -
src/cmd/compile/internal/types2/conversions.go
"unicode" ) // conversion type-checks the conversion T(x). // The result is in x. func (check *Checker) conversion(x *operand, T Type) { constArg := x.mode == constant_ constConvertibleTo := func(T Type, val *constant.Value) bool { switch t, _ := under(T).(*Basic); { case t == nil: // nothing to do case representableConst(x.val, check, t, val): return true case isInteger(x.typ) && isString(t):
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 18:51:00 UTC 2024 - 9K bytes - Viewed (0) -
build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/codegen/ApiExtensionsGenerator.kt
private data class MappedApiFunctionParameter( val original: ApiFunctionParameter, val index: Int = original.index, val type: ApiTypeUsage = original.type, val isVarargs: Boolean = original.isVarargs, val asArgument: String = "${if (original.isVarargs) "*" else ""}`${original.name ?: "p$index"}`" ) { val name: String get() = original.name ?: "p$index" }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Dec 20 21:41:53 UTC 2023 - 18.1K bytes - Viewed (0) -
src/go/types/operand.go
// the operand, the operand's type, a value for constants, and an id // for built-in functions. // The zero value of operand is a ready to use invalid operand. type operand struct { mode operandMode expr ast.Expr typ Type val constant.Value id builtinId } // Pos returns the position of the expression corresponding to x. // If x is invalid the position is nopos. func (x *operand) Pos() token.Pos {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 21:17:10 UTC 2024 - 11.1K bytes - Viewed (0) -
src/internal/fuzz/encoding.go
} else { switch lit := arg.(type) { case *ast.BasicLit: val, kind = lit.Value, lit.Kind case *ast.Ident: if lit.Name != "NaN" { return nil, fmt.Errorf("literal value required for primitive type") } val, kind = "NaN", token.FLOAT default: return nil, fmt.Errorf("literal value required for primitive type") } } switch typ := idType.Name; typ { case "string": if kind != token.STRING {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 30 16:39:12 UTC 2022 - 11K bytes - Viewed (0) -
src/cmd/compile/internal/types2/operand.go
// for built-in functions. // The zero value of operand is a ready to use invalid operand. type operand struct { mode operandMode expr syntax.Expr typ Type val constant.Value id builtinId } // Pos returns the position of the expression corresponding to x. // If x is invalid the position is nopos. func (x *operand) Pos() syntax.Pos {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 21:17:10 UTC 2024 - 11K bytes - Viewed (0)