Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 50 for nonEmpty (0.05 sec)

  1. android/guava/src/com/google/common/primitives/ImmutableLongArray.java

        @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));
          }
          spliterator.forEachRemaining((LongConsumer) this::add);
          return this;
        }
    
        /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  2. guava/src/com/google/common/primitives/ImmutableIntArray.java

        @CanIgnoreReturnValue
        public Builder addAll(IntStream stream) {
          Spliterator.OfInt spliterator = stream.spliterator();
          long size = spliterator.getExactSizeIfKnown();
          if (size > 0) { // known *and* nonempty
            ensureRoomFor(Ints.saturatedCast(size));
          }
          spliterator.forEachRemaining((IntConsumer) this::add);
          return this;
        }
    
        /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 21.4K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/Streams.java

          // SUBSIZED.
          if (spliterator.hasCharacteristics(Spliterator.SUBSIZED)) {
            // we can drill down to exactly the smallest nonempty spliterator
            while (true) {
              Spliterator<T> prefix = spliterator.trySplit();
              if (prefix == null || prefix.getExactSizeIfKnown() == 0) {
                break;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 36.8K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Stream.kt

            emitFrame(false)
          }
        }
    
        /**
         * Emit a single data frame to the connection. The frame's size be limited by this stream's
         * write window. This method will block until the write window is nonempty.
         */
        @Throws(IOException::class)
        private fun emitFrame(outFinishedOnLastFrame: Boolean) {
          val toWrite: Long
          val outFinished: Boolean
          ******@****.***ck {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 23.2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/primitives/ImmutableIntArray.java

        @CanIgnoreReturnValue
        public Builder addAll(IntStream stream) {
          Spliterator.OfInt spliterator = stream.spliterator();
          long size = spliterator.getExactSizeIfKnown();
          if (size > 0) { // known *and* nonempty
            ensureRoomFor(Ints.saturatedCast(size));
          }
          spliterator.forEachRemaining((IntConsumer) this::add);
          return this;
        }
    
        /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 22.2K bytes
    - Viewed (0)
  6. cmd/xl-storage_test.go

    	if err = xlStorage.MakeVol(context.Background(), "success-vol"); err != nil {
    		t.Fatalf("Unable to create volume, %s", err)
    	}
    
    	// TestXLStorage failure cases.
    	vol := slashpath.Join(path, "nonempty-vol")
    	if err = os.Mkdir(vol, 0o777); err != nil {
    		t.Fatalf("Unable to create directory, %s", err)
    	}
    	if err = os.WriteFile(slashpath.Join(vol, "test-file"), []byte{}, os.ModePerm); err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 66.7K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/primitives/ImmutableDoubleArray.java

        public Builder addAll(DoubleStream stream) {
          Spliterator.OfDouble spliterator = stream.spliterator();
          long size = spliterator.getExactSizeIfKnown();
          if (size > 0) { // known *and* nonempty
            ensureRoomFor(Ints.saturatedCast(size));
          }
          spliterator.forEachRemaining((DoubleConsumer) this::add);
          return this;
        }
    
        /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 23K bytes
    - Viewed (0)
  8. guava/src/com/google/common/base/Splitter.java

       * Splitter.on(", ").split("foo, bar,baz")} returns an iterable containing {@code ["foo",
       * "bar,baz"]}.
       *
       * @param separator the literal, nonempty string to recognize as a separator
       * @return a splitter, with default settings, that recognizes that separator
       */
      public static Splitter on(final String separator) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 21:14:05 UTC 2024
    - 24.5K bytes
    - Viewed (0)
  9. test-site/activator-launch-1.3.2.jar

    final Object sliceWithKnownDelta$1796fe1c(int, int); public final Object sliceWithKnownBound(int, int); public final Object to(scala.collection.generic.CanBuildFrom); public final String stringPrefix(); public final int size(); public final boolean nonEmpty(); public final scala.Option collectFirst(scala.PartialFunction); public final Object $div$colon(Object, scala.Function2); public final Object foldLeft(Object, scala.Function2); public final void copyToBuffer$1b3845db(scala.collection.mutable.Seq);...
    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. android/guava/src/com/google/common/collect/Iterators.java

        ConcatenatedIterator(Iterator<? extends Iterator<? extends T>> metaIterator) {
          iterator = emptyIterator();
          topMetaIterator = checkNotNull(metaIterator);
        }
    
        // Returns a nonempty meta-iterator or, if all meta-iterators are empty, null.
        @CheckForNull
        private Iterator<? extends Iterator<? extends T>> getTopMetaIterator() {
          while (topMetaIterator == null || !topMetaIterator.hasNext()) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 50.3K bytes
    - Viewed (0)
Back to top