Search Options

Results per page
Sort
Preferred Languages
Advance

Results 711 - 720 of 796 for Stream$ (0.07 sec)

  1. android/guava/src/com/google/common/collect/Maps.java

       *
       * <p><b>Note:</b> on Java 8+, it is usually better to use streams. For example:
       *
       * <pre>{@code
       * import static com.google.common.collect.ImmutableMap.toImmutableMap;
       * ...
       * ImmutableMap<Color, String> colorNames =
       *     allColors.stream().collect(toImmutableMap(c -> c, c -> c.toString()));
       * }</pre>
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 161.6K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultWagonManager.java

                for (String extension : checksums.keySet()) {
                    // TODO shouldn't need a file intermediary - improve wagon to take a stream
                    File temp = File.createTempFile("maven-artifact", null);
                    temp.deleteOnExit();
                    byte[] bytes = sums.get(extension).getBytes(StandardCharsets.UTF_8);
                    Files.write(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 29.9K bytes
    - Viewed (0)
  3. common-protos/k8s.io/apimachinery/pkg/apis/meta/v1/generated.proto

      // Defaults to everything.
      // +optional
      optional string fieldSelector = 2;
    
      // Watch for changes to the described resources and return them as a stream of
      // add, update, and remove notifications. Specify resourceVersion.
      // +optional
      optional bool watch = 3;
    
      // allowWatchBookmarks requests watch events with type "BOOKMARK".
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 53.3K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/math/StatsAccumulatorTest.java

    import static com.google.common.truth.Truth.assertThat;
    import static com.google.common.truth.Truth.assertWithMessage;
    import static java.lang.Math.sqrt;
    import static java.util.stream.DoubleStream.concat;
    import static org.junit.Assert.assertThrows;
    
    import com.google.common.collect.ImmutableList;
    import com.google.common.math.StatsTesting.ManyValues;
    import com.google.common.primitives.Doubles;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 23 16:45:30 UTC 2024
    - 36.8K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/Maps.java

       *
       * <p><b>Note:</b> on Java 8+, it is usually better to use streams. For example:
       *
       * <pre>{@code
       * import static com.google.common.collect.ImmutableMap.toImmutableMap;
       * ...
       * ImmutableMap<Color, String> colorNames =
       *     allColors.stream().collect(toImmutableMap(c -> c, c -> c.toString()));
       * }</pre>
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 167.4K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/math/StatsAccumulatorTest.java

    import static com.google.common.truth.Truth.assertThat;
    import static com.google.common.truth.Truth.assertWithMessage;
    import static java.lang.Math.sqrt;
    import static java.util.stream.DoubleStream.concat;
    import static org.junit.Assert.assertThrows;
    
    import com.google.common.collect.ImmutableList;
    import com.google.common.math.StatsTesting.ManyValues;
    import com.google.common.primitives.Doubles;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 23 16:45:30 UTC 2024
    - 36.8K bytes
    - Viewed (0)
  7. src/archive/tar/reader_test.go

    	}
    
    	data1, data2, pax, sparse := ss[0], ss[1], ss[2], ss[3]
    	data2 += strings.Repeat("\x00", 10*512)
    	trash := strings.Repeat("garbage ", 64) // Exactly 512 bytes
    
    	vectors := []struct {
    		input string // Input stream
    		cnt   int    // Expected number of headers read
    		err   error  // Expected error outcome
    	}{
    		{"", 0, io.EOF}, // Empty file is a "valid" tar file
    		{data1[:511], 0, io.ErrUnexpectedEOF},
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Oct 03 15:48:09 UTC 2024
    - 46.9K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Synchronized.java

        @GwtIncompatible // java.io.ObjectOutputStream
        @J2ktIncompatible
        private void writeObject(ObjectOutputStream stream) throws IOException {
          synchronized (mutex) {
            stream.defaultWriteObject();
          }
        }
    
        @GwtIncompatible // not needed in emulated source
        @J2ktIncompatible
        private static final long serialVersionUID = 0;
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 53.4K bytes
    - Viewed (0)
  9. fess-crawler-lasta/src/main/resources/crawler/extractor.xml

    				"application/news-groupinfo",
    				"application/news-transmission",
    				"application/nss",
    				"application/ocsp-request",
    				"application/ocsp-response",
    				"application/octet-stream",
    				"application/oda",
    				"application/oebps-package+xml",
    				"application/ogg",
    				"application/kate",
    				"application/onenote",
    				"application/parityfec",
    				"application/patch-ops-error+xml",
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Aug 01 21:40:30 UTC 2020
    - 49K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/RateLimiter.java

     *   for (Runnable task : tasks) {
     *     rateLimiter.acquire(); // may wait
     *     executor.execute(task);
     *   }
     * }
     * }</pre>
     *
     * <p>As another example, imagine that we produce a stream of data, and we want to cap it at 5kb per
     * second. This could be accomplished by requiring a permit per byte, and specifying a rate of 5000
     * permits per second:
     *
     * <pre>{@code
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 21.9K bytes
    - Viewed (0)
Back to top