Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 68 for opzione (0.19 sec)

  1. android/guava-tests/benchmark/com/google/common/io/CharStreamsCopyBenchmark.java

    /**
     * Benchmarks for {@link CharStreams#copy}.
     *
     * <p>{@link CharStreams#copy} has type specific optimizations for various common Appendable and
     * Reader implementations, this compares the performance of the different options.
     */
    // These benchmarks allocate a lot of data so use a large heap
    @VmOptions({"-Xms12g", "-Xmx12g", "-d64"})
    public class CharStreamsCopyBenchmark {
      enum CopyStrategy {
        OLD {
          @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 23 18:59:54 GMT 2023
    - 3.2K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/io/TestByteSink.java

      private final ByteArrayOutputStream bytes = new ByteArrayOutputStream();
      private final ImmutableSet<TestOption> options;
    
      private boolean outputStreamOpened;
      private boolean outputStreamClosed;
    
      public TestByteSink(TestOption... options) {
        this.options = ImmutableSet.copyOf(options);
      }
    
      byte[] getBytes() {
        return bytes.toByteArray();
      }
    
      @Override
      public boolean wasStreamOpened() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Apr 21 02:27:51 GMT 2017
    - 1.8K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetSetCountConditionallyTester.java

            getMultiset().setCount(e0(), 1, 5));
        expectContents(nCopies(3, e0()));
      }
    
      /*
       * TODO: test that unmodifiable multisets either throw UOE or return false
       * when both are valid options. Currently we test the UOE cases and the
       * return-false cases but not their intersection
       */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 21 15:08:35 GMT 2022
    - 3.9K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/graph/StandardValueGraph.java

    import java.util.Iterator;
    import java.util.Map;
    import java.util.Set;
    import java.util.TreeMap;
    import javax.annotation.CheckForNull;
    
    /**
     * Standard implementation of {@link ValueGraph} that supports the options supplied by {@link
     * AbstractGraphBuilder}.
     *
     * <p>This class maintains a map of nodes to {@link GraphConnections}.
     *
     * <p>Collection-returning accessors return unmodifiable views: the view returned will reflect
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jan 22 17:29:38 GMT 2024
    - 6.1K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/io/TestWriter.java

    /** @author Colin Decker */
    public class TestWriter extends FilterWriter {
    
      private final TestOutputStream out;
    
      public TestWriter(TestOption... options) throws IOException {
        this(new TestOutputStream(ByteStreams.nullOutputStream(), options));
      }
    
      public TestWriter(TestOutputStream out) {
        super(new OutputStreamWriter(checkNotNull(out), UTF_8));
        this.out = out;
      }
    
      @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 1.7K bytes
    - Viewed (0)
  6. guava/src/com/google/common/base/Splitter.java

       * Splitter.on(',').omitEmptyStrings().split(",a,,,b,c,,")} returns an iterable containing only
       * {@code ["a", "b", "c"]}.
       *
       * <p>If either {@code trimResults} option is also specified when creating a splitter, that
       * splitter always trims results first before checking for emptiness. So, for example, {@code
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 24.4K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/eventbus/EventBus.java

     *
     * <p>To decouple components, we recommend a dependency-injection framework. For Android code, most
     * apps use <a href="https://dagger.dev">Dagger</a>. For server code, common options include <a
     * href="https://github.com/google/guice/wiki/Motivation">Guice</a> and <a
     * href="https://docs.spring.io/spring-framework/docs/current/reference/html/core.html#beans-introduction">Spring</a>.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Aug 25 16:37:57 GMT 2021
    - 12.8K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/google/MultisetSetCountConditionallyTester.java

            getMultiset().setCount(e0(), 1, 5));
        expectContents(nCopies(3, e0()));
      }
    
      /*
       * TODO: test that unmodifiable multisets either throw UOE or return false
       * when both are valid options. Currently we test the UOE cases and the
       * return-false cases but not their intersection
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 21 15:08:35 GMT 2022
    - 3.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Maps.java

       * <p>All other properties of the transformed map, such as iteration order, are left intact. For
       * example, the code:
       *
       * <pre>{@code
       * NavigableMap<String, Boolean> options = Maps.newTreeMap();
       * options.put("verbose", false);
       * options.put("sort", true);
       * EntryTransformer<String, Boolean, String> flagPrefixer =
       *     new EntryTransformer<String, Boolean, String>() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 159.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/base/Optional.java

     * href="http://en.wikipedia.org/wiki/Null_Object_pattern">null object</a> for the type in question.
     *
     * <p>This class is not intended as a direct analogue of any existing "option" or "maybe" construct
     * from other programming environments, though it may bear some similarities.
     *
     * <p>An instance of this class is serializable if its reference is absent or is a serializable
     * object.
     *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 13K bytes
    - Viewed (0)
Back to top