- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 13 for ofLong (0.05 seconds)
-
guava/src/com/google/common/collect/Streams.java
long estimatedSize = 0L; ImmutableList.Builder<Spliterator.OfLong> splitrsBuilder = new ImmutableList.Builder<>(streams.length); for (LongStream stream : streams) { isParallel |= stream.isParallel(); Spliterator.OfLong splitr = stream.spliterator(); splitrsBuilder.add(splitr); characteristics &= splitr.characteristics();Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 36.4K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/CollectSpliteratorsTest.java
Spliterator.SIZED | Spliterator.DISTINCT | Spliterator.NONNULL, 4)) .expect(1, 1, 2, 3); } public void testFlatMapToLong_nullStream() { SpliteratorTester.ofLong( () -> CollectSpliterators.flatMapToLong( Arrays.spliterator(new Long[] {1L, 0L, 1L, 2L, 3L}), (Long i) -> i == 0L ? null : LongStream.of(i).spliterator(),Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 4.1K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Streams.java
long estimatedSize = 0L; ImmutableList.Builder<Spliterator.OfLong> splitrsBuilder = new ImmutableList.Builder<>(streams.length); for (LongStream stream : streams) { isParallel |= stream.isParallel(); Spliterator.OfLong splitr = stream.spliterator(); splitrsBuilder.add(splitr); characteristics &= splitr.characteristics();Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 21 15:40:45 GMT 2025 - 36.8K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/SpliteratorTester.java
} /** * @since 28.1 (but only since 33.4.0 in the Android flavor) */ public static SpliteratorTester<Long> ofLong(Supplier<Spliterator.OfLong> spliteratorSupplier) { return new SpliteratorTester<>( ImmutableSet.of( () -> new GeneralSpliteratorOfObject<>(spliteratorSupplier.get()),
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Sep 22 15:50:50 GMT 2025 - 12.1K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/SpliteratorTester.java
} /** * @since 33.4.0 (but since 28.1 in the JRE flavor) */ public static SpliteratorTester<Long> ofLong(Supplier<Spliterator.OfLong> spliteratorSupplier) { return new SpliteratorTester<>( ImmutableSet.of( () -> new GeneralSpliteratorOfObject<>(spliteratorSupplier.get()),
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Sep 22 15:50:50 GMT 2025 - 12.5K bytes - Click Count (0) -
android/guava/src/com/google/common/primitives/ImmutableLongArray.java
*/ @IgnoreJRERequirement // Users will use this only if they're already using streams. @CanIgnoreReturnValue public Builder addAll(LongStream stream) { Spliterator.OfLong spliterator = stream.spliterator(); long size = spliterator.getExactSizeIfKnown(); if (size > 0) { // known *and* nonempty ensureRoomFor(Ints.saturatedCast(size)); }Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Fri Dec 12 14:49:24 GMT 2025 - 22K bytes - Click Count (0) -
guava-tests/test/com/google/common/primitives/ImmutableLongArrayTest.java
.containsExactly(0L, 1L, 3L, 6L, 10L, 15L, 21L) .inOrder(); } public void testAsListIterator() { PrimitiveIterator.OfLong longIterator = (PrimitiveIterator.OfLong) ImmutableLongArray.of(1, 2, 3).asList().iterator(); assertThat(longIterator.nextLong()).isEqualTo(1); assertThat(longIterator.nextLong()).isEqualTo(2);
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Fri Dec 12 14:49:24 GMT 2025 - 20.9K bytes - Click Count (0) -
android/guava/src/com/google/common/primitives/Longs.java
/* * This is an override that is not directly visible to callers, so NewApi will catch calls to * Collection.spliterator() where necessary. */ @IgnoreJRERequirement public Spliterator.OfLong spliterator() { return Spliterators.spliterator(array, start, end, 0); } @Override public boolean contains(@Nullable Object target) { // Overridden to prevent a ton of boxingCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Oct 22 18:14:49 GMT 2025 - 29K bytes - Click Count (0) -
internal/grid/msg_string.go
// Re-run the stringer command to generate them again. var x [1]struct{} _ = x[OpConnect-1] _ = x[OpConnectResponse-2] _ = x[OpPing-3] _ = x[OpPong-4] _ = x[OpConnectMux-5] _ = x[OpMuxConnectError-6] _ = x[OpDisconnectClientMux-7] _ = x[OpDisconnectServerMux-8] _ = x[OpMuxClientMsg-9] _ = x[OpMuxServerMsg-10] _ = x[OpUnblockSrvMux-11]Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Nov 21 01:09:35 GMT 2023 - 1.2K bytes - Click Count (0) -
internal/grid/msg.go
OpConnectResponse // OpPing is a ping request. // If a mux id is specified that mux is pinged. // Clients send ping requests. OpPing // OpPong is a OpPing response returned by the server. OpPong // OpConnectMux will connect a new mux with optional payload. OpConnectMux // OpMuxConnectError is an error while connecting a mux. OpMuxConnectError
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Thu Jul 25 21:07:21 GMT 2024 - 7.6K bytes - Click Count (0)