Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for ofLong (0.09 sec)

  1. 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();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 37.4K bytes
    - Viewed (0)
  2. 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(),
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/SpliteratorTester.java

      }
    
      /**
       * @since NEXT (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()),
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  4. 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()),
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  5. 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();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 36.8K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/primitives/ImmutableLongArray.java

        @SuppressWarnings("Java7ApiChecker")
        @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));
          }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  7. 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(@CheckForNull Object target) {
          // Overridden to prevent a ton of boxing
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 29.3K bytes
    - Viewed (0)
  8. guava/src/com/google/common/primitives/Longs.java

          return false;
        }
    
        @Override
        public Long get(int index) {
          checkElementIndex(index, size());
          return array[start + index];
        }
    
        @Override
        public Spliterator.OfLong spliterator() {
          return Spliterators.spliterator(array, start, end, 0);
        }
    
        @Override
        public boolean contains(@CheckForNull Object target) {
          // Overridden to prevent a ton of boxing
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 15:52:18 UTC 2024
    - 29K bytes
    - Viewed (0)
  9. test-site/activator-launch-1.3.2.jar

    public final boolean equals(Object); public void ArrayOps$ofLong(long[]); } scala/collection/mutable/ArrayOps$ofLong$.class package scala.collection.mutable; public final synchronized class ArrayOps$ofLong$ { public static final ArrayOps$ofLong$ MODULE$; public static void <clinit>(); public static WrappedArray thisCollection$extension(long[]); public static WrappedArray toCollection$extension$39c75261(long[]); public static ArrayBuilder$ofLong newBuilder$extension$3710c743(); public static int len...
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Mon Apr 20 08:41:37 UTC 2015
    - 1.2M bytes
    - Viewed (0)
  10. 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
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jul 25 21:07:21 UTC 2024
    - 7.6K bytes
    - Viewed (0)
Back to top