- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 252 for casts (0.04 sec)
-
platforms/core-runtime/stdlib-java-extensions/src/main/java/org/gradle/internal/Cast.java
* * @param outputType The type to cast the input to * @param object The object to be cast (must not be {@code null}) * @param <O> The type to be cast to * @param <I> The type of the object to be vast * @return The input object, cast to the output type */ public static <O, I> O cast(Class<O> outputType, I object) { try {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Jun 10 14:28:48 UTC 2024 - 3K bytes - Viewed (0) -
analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/components/KtSmartCastProvider.kt
* * ```kt * if (this is String) { * this.substring() // 'this' receiver is explicit, so no implicit smart-cast here. * * smartcast() // 'this' receiver is implicit, therefore there is implicit smart-cast involved. * } * ``` */ public fun KtExpression.getImplicitReceiverSmartCast(): Collection<KaImplicitReceiverSmartCast> =
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed May 22 06:28:35 UTC 2024 - 3.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/attribute_utils.h
#include "tensorflow/compiler/tf2xla/tf2xla_defs.h" namespace mlir { namespace TF { // TODO(b/229028654) Use definitions from tf2xla_defs.h directly. We currently // don't do this to avoid explicit casts (implicit conversion from // `absl::string_view` to `llvm::StringRef` is not supported until C++17). // Whether soft placement is allowed. If true, the marked node is eligible for // outside compilation.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 22 19:47:48 UTC 2024 - 8.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/initialize_variables_in_session_init.cc
func.setVisibility(mlir::func::FuncOp::Visibility::Public); auto func_builder = OpBuilder::atBlockBegin(func.addEntryBlock()); func_builder.create<mlir::func::ReturnOp>(func.getLoc()); // In cases where there is a session initializer op with empty initializer, // replace the session initializer with the new one that points to the session // initializer func.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 23 09:05:47 UTC 2024 - 7K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/time_test.go
T Time `json:"t"` } func TestTimeMarshalYAML(t *testing.T) { cases := []struct { input Time result string }{ {Time{}, "t: null\n"}, {Date(1998, time.May, 5, 1, 5, 5, 50, time.FixedZone("test", -4*60*60)), "t: \"1998-05-05T05:05:05Z\"\n"}, {Date(1998, time.May, 5, 5, 5, 5, 0, time.UTC), "t: \"1998-05-05T05:05:05Z\"\n"}, } for _, c := range cases { input := TimeHolder{c.input} result, err := yaml.Marshal(&input)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 21:48:09 UTC 2024 - 9.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/experimental/tac/execution_metadata_exporter.cc
continue; // If an op doesn't implement any of the hardware interface we skip it. // This can happen in cases like Flex when we have non TFLite ops. auto device_name = GetDeviceName(&inst); if (device_name.has_value()) { // Add per device costs if present. auto per_device_cost = GetPerDeviceCosts(hardware_map, &inst);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 11 06:11:34 UTC 2024 - 7.5K bytes - Viewed (0) -
cni/pkg/log/uds_test.go
want := map[string]any{ "level": cases[i].level, "msg": cases[i].msg, } if k := cases[i].key; k != nil { want["key"] = *k } assert.Equal(t, want, parsedLog) i++ } } func TestParseCniLog(t *testing.T) { wantT := &time.Time{} assert.NoError(t, wantT.UnmarshalText([]byte("2020-01-01T00:00:00.356374Z"))) cases := []struct { name string in string
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jun 12 16:26:28 UTC 2024 - 4.1K bytes - Viewed (0) -
analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/components/resolveExtensionInfoProvider/AbstractResolveExtensionInfoProviderTest.kt
*/ package org.jetbrains.kotlin.analysis.api.impl.base.test.cases.components.resolveExtensionInfoProvider import org.jetbrains.kotlin.analysis.api.KaSession import org.jetbrains.kotlin.analysis.api.impl.base.test.cases.components.scopeProvider.TestScopeRenderer.renderForTests import org.jetbrains.kotlin.analysis.api.impl.base.test.cases.resolve.extensions.KtResolveExtensionTestSupport
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed May 22 06:28:34 UTC 2024 - 3.4K bytes - Viewed (0) -
analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/components/resolver/AbstractResolveCandidatesTest.kt
*/ package org.jetbrains.kotlin.analysis.api.impl.base.test.cases.components.resolver import org.jetbrains.kotlin.analysis.api.KaSession import org.jetbrains.kotlin.analysis.api.impl.base.test.cases.components.assertStableSymbolResult import org.jetbrains.kotlin.analysis.api.impl.base.test.cases.components.compareCalls import org.jetbrains.kotlin.analysis.api.impl.base.test.cases.components.stringRepresentation
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed Jun 05 16:16:39 UTC 2024 - 3.4K bytes - Viewed (0) -
schema/naming.go
return ret } func (ns NamingStrategy) toSchemaName(name string) string { result := strings.ReplaceAll(cases.Title(language.Und, cases.NoLower).String(strings.ReplaceAll(name, "_", " ")), " ", "") for _, initialism := range commonInitialisms { result = regexp.MustCompile(cases.Title(language.Und, cases.NoLower).String(strings.ToLower(initialism))+"([A-Z]|$|_)").ReplaceAllString(result, initialism+"$1") } return result
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Wed Jun 12 03:46:59 UTC 2024 - 5.3K bytes - Viewed (0)