- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 28 for boxed (0.05 sec)
-
analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/types/KtTypeMappingMode.kt
SUPER_TYPE, /** * Similar to [SUPER_TYPE], except for that Kotlin collections remain as-is. */ SUPER_TYPE_KOTLIN_COLLECTIONS_AS_IS, /** * When method return type should be boxed (e.g., kotlin.Int to Ljava/lang/Integer;) */ RETURN_TYPE_BOXED, /** * Optimal mode to convert the return type of declarations if it's part of signature. */ RETURN_TYPE, /**
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed May 22 06:28:34 UTC 2024 - 1.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/PreconditionsTest.java
boolean aBoolean = true; Long boxedLong = null; int anInt = 1; // With a boxed predicate, no overloads can be selected in phase 1 // ambiguous without the call to .booleanValue to unbox the Boolean Preconditions.checkState(boxedBoolean.booleanValue(), "", 1); // ambiguous without the cast to Object because the boxed predicate prevents any overload from // being selected in phase 1
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri Feb 09 15:49:48 UTC 2024 - 19.8K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/attributes/DefaultAttributesSchema.java
// If no attribute precedence has been set anywhere, we can just iterate in order return new PrecedenceResult(IntStream.range(0, requested.size()).boxed().collect(Collectors.toList())); } else { // Populate requested attribute -> position in requested attribute list final Map<String, Integer> remaining = new LinkedHashMap<>();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 26 16:59:54 UTC 2024 - 16.1K bytes - Viewed (0) -
guava/src/com/google/common/collect/Streams.java
*/ public static OptionalInt findLast(IntStream stream) { // findLast(Stream) does some allocation, so we might as well box some more java.util.Optional<Integer> boxedLast = findLast(stream.boxed()); return boxedLast.map(OptionalInt::of).orElse(OptionalInt.empty()); } /** * Returns the last element of the specified stream, or {@link OptionalLong#empty} if the stream * is empty. *
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 22 21:19:52 UTC 2024 - 36.5K bytes - Viewed (0) -
guava/src/com/google/common/collect/CollectSpliterators.java
} } /** * Implementation of {@link Stream#flatMap} with a primitive spliterator output type. * * @param <InElementT> the element type of the input spliterator * @param <OutElementT> the (boxed) element type of the output spliterators * @param <OutConsumerT> the specialized consumer type for the primitive output type * @param <OutSpliteratorT> the primitive spliterator type associated with {@code OutElementT} */
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Apr 22 18:19:31 UTC 2024 - 19.7K bytes - Viewed (0) -
src/internal/syscall/windows/zsyscall_windows.go
// Errno values. const ( errnoERROR_IO_PENDING = 997 ) var ( errERROR_IO_PENDING error = syscall.Errno(errnoERROR_IO_PENDING) errERROR_EINVAL error = syscall.EINVAL ) // errnoErr returns common boxed Errno values, to prevent // allocations at runtime. func errnoErr(e syscall.Errno) error { switch e { case 0: return errERROR_EINVAL case errnoERROR_IO_PENDING: return errERROR_IO_PENDING }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 21 11:49:46 UTC 2024 - 18.4K bytes - Viewed (0) -
src/syscall/syscall_unix.go
} // Do the interface allocations only once for common // Errno values. var ( errEAGAIN error = EAGAIN errEINVAL error = EINVAL errENOENT error = ENOENT ) // errnoErr returns common boxed Errno values, to prevent // allocations at runtime. func errnoErr(e Errno) error { switch e { case 0: return nil case EAGAIN: return errEAGAIN case EINVAL: return errEINVAL case ENOENT:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 19 16:19:26 UTC 2024 - 12.2K bytes - Viewed (0) -
platforms/documentation/docs/src/docs/userguide/troubleshooting/validation_problems.adoc
This is similar to `null` not being assignable to primitive types in Java. To fix this problem, you have two options: - remove the `@Optional` annotation - or use the boxed type (e.g Integer instead of int) if you intend to make the property nullable [[implementation_unknown]] == Cannot use an input with an unknown implementation
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Mar 23 22:37:03 UTC 2024 - 21.8K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/telemetry/package-lock.json
"isexe": "^2.0.0" }, "bin": { "which": "bin/which" } }, "node_modules/which-boxed-primitive": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/which-boxed-primitive/-/which-boxed-primitive-1.0.2.tgz", "integrity": "sha512-bwZdv0AKLpplFY2KZRX6TvyuN7ojjr7lwkg6ml0roIy9YeuSr7JS372qlNW18UQYzgYK9ziGcerWqZOmEn9VNg==", "dev": true,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 04 17:57:25 UTC 2024 - 156K bytes - Viewed (0) -
guava/src/com/google/common/math/Stats.java
.snapshot(); } /** * Returns a {@link Collector} which accumulates statistics from a {@link java.util.stream.Stream} * of any type of boxed {@link Number} into a {@link Stats}. Use by calling {@code * boxedNumericStream.collect(toStats())}. The numbers will be converted to {@code double} values * (which may cause loss of precision). *
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 15 16:12:13 UTC 2024 - 24.7K bytes - Viewed (0)