- Sort Score
- Result 10 results
- Languages All
Results 141 - 150 of 862 for Cast (0.06 sec)
-
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/KtSymbolByFirBuilder.kt
inline fun <reified S : To> cache(key: From, calculation: () -> S): S { val value = cache.getOrPut(key, calculation) return value as? S ?: errorWithAttachment("Cannot cast ${value::class} to ${S::class}") { withEntry("value", value.toString()) } } } internal fun FirElement.buildSymbol(builder: KaSymbolByFirBuilder) =
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Tue Jun 11 15:45:43 UTC 2024 - 33.2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Maps.java
public static <K extends Enum<K>, V> ImmutableMap<K, V> immutableEnumMap( Map<K, ? extends V> map) { if (map instanceof ImmutableEnumMap) { @SuppressWarnings("unchecked") // safe covariant cast ImmutableEnumMap<K, V> result = (ImmutableEnumMap<K, V>) map; return result; } Iterator<? extends Entry<K, ? extends V>> entryItr = map.entrySet().iterator(); if (!entryItr.hasNext()) {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Sun Jun 02 13:36:19 UTC 2024 - 159.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableSet.java
* @since 7.0 (source-compatible since 2.0) */ // This the best we could do to get copyOfEnumSet to compile in the mainline. // The suppression also covers the cast to E[], discussed below. // In the backport, we don't have those cases and thus don't need this suppression. // We keep it to minimize diffs. @SuppressWarnings("unchecked")
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Sun Jun 02 13:36:19 UTC 2024 - 22.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableSetMultimap.java
* the provided key, an empty immutable set is returned. The values are in the same order as the * parameters used to build this multimap. */ @Override public ImmutableSet<V> get(K key) { // This cast is safe as its type is known in constructor. ImmutableSet<V> set = (ImmutableSet<V>) map.get(key); return MoreObjects.firstNonNull(set, emptySet); }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Sun Jun 02 13:36:19 UTC 2024 - 23.5K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/AbstractIntegrationSpec.groovy
} } String instanceOf(GradleDsl dsl = GROOVY) { return dsl == GROOVY ? "instanceof" : "is" } String cast(String variable, String type, GradleDsl dsl = GROOVY) { return dsl == GROOVY ? "((${type}) ${variable})" : "(${variable} as ${type})" } String setOf(String expression, GradleDsl dsl = GROOVY) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jun 11 09:07:53 UTC 2024 - 32.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/analysis/resource_alias_analysis.cc
// Returns a non-null value and can return `value` if backtracking is not // possible. Value BacktrackAnalysis::BacktrackValue(Value value) { while (Operation* op = value.getDefiningOp()) { int res_index = mlir::cast<OpResult>(value).getResultNumber(); if (auto graph = dyn_cast<tf_executor::GraphOp>(op)) { value = graph.GetFetch().getOperand(res_index); } else if (auto island = dyn_cast<tf_executor::IslandOp>(op)) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 15 09:04:13 UTC 2024 - 28.2K bytes - Viewed (0) -
pilot/pkg/networking/core/envoyfilter/listener_patch.go
func mergeTransportSocketListener(fc *listener.FilterChain, lp *model.EnvoyFilterConfigPatchWrapper) (merged bool, err error) { lpValueCast, ok := (lp.Value).(*listener.FilterChain) if !ok { return false, fmt.Errorf("cast of cp.Value failed: %v", ok) } // Test if the patch contains a config for TransportSocket applyPatch := false if lpValueCast.GetTransportSocket() != nil { if fc.GetTransportSocket() == nil {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 17 15:39:29 UTC 2024 - 26.7K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/configurations/DefaultConfiguration.java
import org.gradle.api.internal.tasks.TaskDependencyResolveContext; import org.gradle.api.specs.Spec; import org.gradle.api.specs.Specs; import org.gradle.api.tasks.TaskDependency; import org.gradle.internal.Cast; import org.gradle.internal.Describables; import org.gradle.internal.DisplayName; import org.gradle.internal.Factories; import org.gradle.internal.Factory; import org.gradle.internal.ImmutableActionSet;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 23 17:36:01 UTC 2024 - 85.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/schema/schema_v3b.fbs
// DELEGATE is a special op type for the operations which are delegated to // other backends. // WARNING: Experimental interface, subject to change DELEGATE = 51, BIDIRECTIONAL_SEQUENCE_LSTM = 52, CAST = 53, PRELU = 54, MAXIMUM = 55, ARG_MAX = 56, MINIMUM = 57, LESS = 58, NEG = 59, PADV2 = 60, GREATER = 61, GREATER_EQUAL = 62, LESS_EQUAL = 63, SELECT = 64,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 28 14:28:27 UTC 2024 - 30K bytes - Viewed (0) -
go.sum
github.com/spf13/afero v1.11.0/go.mod h1:GH9Y3pIexgf1MTIWtNGyogA5MwRIDXGUr+hbWNoBjkY= github.com/spf13/cast v1.3.0/go.mod h1:Qx5cxh0v+4UWYiBimWS+eyWzqEqokIECu5etghLkUJE= github.com/spf13/cast v1.3.1/go.mod h1:Qx5cxh0v+4UWYiBimWS+eyWzqEqokIECu5etghLkUJE= github.com/spf13/cast v1.6.0 h1:GEiTHELF+vaR5dhz3VqZfFSzZjYbgeKDpBxQVS4GYJ0= github.com/spf13/cast v1.6.0/go.mod h1:ancEpBxwJDODSW/UG4rDrAqiKolqNNh2DX3mk86cAdo=
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jun 12 15:32:28 UTC 2024 - 101.6K bytes - Viewed (0)