- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 1,109 for newtype (0.17 sec)
-
src/cmd/compile/internal/types2/operand.go
// type of an untyped value doesn't change so we // don't need to do anything special. newType, _, _ := check.implicitTypeAndValue(x, t.typ) return newType != nil }), IncompatibleAssign } newType, _, _ := check.implicitTypeAndValue(x, T) return newType != nil, IncompatibleAssign } // Vu is typed // x's type V and T have identical underlying types
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 21:17:10 UTC 2024 - 11K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/registry/RuleBindings.java
} } } public void addReference(Reference reference) { ModelType<?> type = reference.binding.getPredicate().getType(); PredicateMatches predicateMatches = types.get(type); boolean newType = predicateMatches == null; if (predicateMatches == null) { predicateMatches = new PredicateMatches();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 24 13:45:02 UTC 2024 - 10.8K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/fingerprint/ConfigurationCacheFingerprintChecker.kt
} is ConfigurationCacheFingerprint.InputFileSystemEntry -> input.run { val newType = fileSystemEntryType(file) if (newType != fileType) { val prefix = "the file system entry '${displayNameOf(file)}'" return when { newType == FileType.Missing -> return "$prefix has been removed"
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:30 UTC 2024 - 17.3K bytes - Viewed (0) -
src/go/types/assignments.go
} check.error(x, code, msg) x.mode = invalid return } if val != nil { x.val = val check.updateExprVal(x.expr, val) } if newType != x.typ { x.typ = newType check.updateExprType(x.expr, newType, false) } } // x.typ is typed // A generic (non-instantiated) function value cannot be assigned to a variable.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 03 18:48:38 UTC 2024 - 16.4K bytes - Viewed (0) -
src/cmd/compile/internal/types2/assignments.go
} check.error(x, code, msg) x.mode = invalid return } if val != nil { x.val = val check.updateExprVal(x.expr, val) } if newType != x.typ { x.typ = newType check.updateExprType(x.expr, newType, false) } } // x.typ is typed // A generic (non-instantiated) function value cannot be assigned to a variable.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 23 21:21:43 UTC 2024 - 16.4K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirPsiTypeProvider.kt
val type = (projection as? ConeKotlinTypeProjection)?.type ?: continue // E.g., Comparable<Test> val newType = substituteOrNull(type) ?: continue // Visit new type: e.g., Test, as a type argument, is substituted with Comparable<Test>, again. if (newType.hasRecursiveTypeArgument(visited)) return true } return false }
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed May 29 20:26:34 UTC 2024 - 18.4K bytes - Viewed (0) -
analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/components/KtReferenceShortener.kt
* currently the only usage of [shortenedReference] is the case we have the import-alias. For example, [shortenedReference] will be * "AliasType" when we shorten: * ``` * import my.package.NewType as AliasType * ... my.package.Ne<caret>wType ... // -> we can replace this with `AliasType`. * ``` */ public data class TypeToShortenInfo(val typeToShorten: SmartPsiElementPointer<KtUserType>, val shortenedReference: String?) /**
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Mon May 27 09:59:11 UTC 2024 - 9.5K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/main/java/org/gradle/util/internal/CollectionUtils.java
} } return destination; } public static <R, I> R[] collectArray(I[] list, Class<R> newType, InternalTransformer<? extends R, ? super I> transformer) { @SuppressWarnings("unchecked") R[] destination = (R[]) Array.newInstance(newType, list.length); return collectArray(list, destination, transformer); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 29 06:47:40 UTC 2024 - 24.3K bytes - Viewed (0) -
subprojects/core-api/src/main/java/org/gradle/util/CollectionUtils.java
} } return destination; } public static <R, I> R[] collectArray(I[] list, Class<R> newType, Transformer<? extends R, ? super I> transformer) { @SuppressWarnings("unchecked") R[] destination = (R[]) Array.newInstance(newType, list.length); return collectArray(list, destination, transformer); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Feb 22 11:17:19 UTC 2024 - 26K bytes - Viewed (0) -
guava/src/com/google/common/collect/Iterables.java
* unchecked cast at some later point: * * <pre> * {@code @SuppressWarnings("unchecked") // safe because of ::isInstance check * ImmutableList<NewType> result = * (ImmutableList) stream.filter(NewType.class::isInstance).collect(toImmutableList());} * </pre> */ @SuppressWarnings("unchecked") @GwtIncompatible // Class.isInstance
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Apr 24 19:38:27 UTC 2024 - 42.5K bytes - Viewed (0)