Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 51 for optimizations (0.18 sec)

  1. guava-tests/test/com/google/common/io/CharStreamsTest.java

        Appendable secretlyAWriter = new StringWriter();
        result = CharStreams.asWriter(secretlyAWriter);
        assertSame(secretlyAWriter, result);
      }
    
      // CharStreams.copy has type specific optimizations for Readers,StringBuilders and Writers
    
      public void testCopy() throws IOException {
        StringBuilder builder = new StringBuilder();
        long copied =
            CharStreams.copy(
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 11.2K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/io/CharStreamsTest.java

        Appendable secretlyAWriter = new StringWriter();
        result = CharStreams.asWriter(secretlyAWriter);
        assertSame(secretlyAWriter, result);
      }
    
      // CharStreams.copy has type specific optimizations for Readers,StringBuilders and Writers
    
      public void testCopy() throws IOException {
        StringBuilder builder = new StringBuilder();
        long copied =
            CharStreams.copy(
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 11.2K bytes
    - Viewed (0)
  3. architecture/networking/pilot.md

    #### Optimizations
    
    A naive implementation would simply regenerate all resources, of all subscribed types, for each client, on any configuration change. However, this scales poorly. As a result, we have many levels of optimizations to avoid doing this work.
    
    Plain Text
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Wed Feb 07 17:53:24 GMT 2024
    - 19.1K bytes
    - Viewed (0)
  4. doc/go_mem.html

    In all these examples, the solution is the same:
    use explicit synchronization.
    </p>
    
    <h2 id="badcompiler">Incorrect compilation</h2>
    
    <p>
    The Go memory model restricts compiler optimizations as much as it does Go programs.
    Some compiler optimizations that would be valid in single-threaded programs are not valid in all Go programs.
    In particular, a compiler must not introduce writes that do not exist in the original program,
    HTML
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Mar 04 15:54:42 GMT 2024
    - 26.6K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/AbstractMapBasedMultiset.java

          frequency.set(0);
        }
        backingMap.clear();
        size = 0L;
      }
    
      @Override
      int distinctElements() {
        return backingMap.size();
      }
    
      // Optimizations - Query Operations
    
      @Override
      public int size() {
        return Ints.saturatedCast(size);
      }
    
      @Override
      public Iterator<E> iterator() {
        return new MapBasedMultisetIterator();
      }
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Mar 06 16:06:58 GMT 2023
    - 10.4K bytes
    - Viewed (0)
  6. guava-gwt/src-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/AbstractFuture.java

        implements ListenableFuture<V> {
    
      static final boolean GENERATE_CANCELLATION_CAUSES = false;
    
      /**
       * Tag interface marking trusted subclasses. This enables some optimizations. The implementation
       * of this interface must also be an AbstractFuture and must not override or expose for overriding
       * any of the public methods of ListenableFuture.
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jan 22 19:37:41 GMT 2024
    - 12.3K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/graph/Graphs.java

       * be updated after modifications to {@code graph}.
       *
       * @since 33.1.0 (present with return type {@code Graph} since 20.0)
       */
      // TODO(b/31438252): Consider potential optimizations for this algorithm.
      public static <N> ImmutableGraph<N> transitiveClosure(Graph<N> graph) {
        ImmutableGraph.Builder<N> transitiveClosure =
            GraphBuilder.from(graph).allowsSelfLoops(true).<N>immutable();
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 21.2K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/AggregateFuture.java

           * need access to the futures again, so we can just pass `null`.
           *
           * TODO(b/112550045): Allocating a single, cheaper listener is (I think) only an optimization.
           * If we make some other optimizations, this one will no longer be necessary. The optimization
           * could actually hurt in some cases, as it forces us to keep all inputs in memory until the
           * final input completes.
           */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 15.4K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/AbstractBiMap.java

        return new Inverse<>(backward, this);
      }
    
      void setInverse(AbstractBiMap<V, K> inverse) {
        this.inverse = inverse;
      }
    
      // Query Operations (optimizations)
    
      @Override
      public boolean containsValue(@CheckForNull Object value) {
        return inverse.containsKey(value);
      }
    
      // Modification Operations
    
      @CanIgnoreReturnValue
      @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Aug 24 01:40:03 GMT 2023
    - 13.8K bytes
    - Viewed (0)
  10. tensorflow/c/experimental/grappler/grappler.h

      TF_TriState pin_to_host_optimization;
      TF_TriState layout_optimizer;
      TF_TriState remapping;
      TF_TriState loop_optimization;
      TF_TriState dependency_optimization;
      TF_TriState auto_parallel;
      TF_TriState memory_optimization;
      TF_TriState scoped_allocator_optimization;
    } TP_OptimizerConfigs;
    
    #define TP_OPTIMIZER_CONFIGS_STRUCT_SIZE \
      TF_OFFSET_OF_END(TP_OptimizerConfigs, scoped_allocator_optimization)
    
    C
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Wed Aug 03 18:08:43 GMT 2022
    - 12.5K bytes
    - Viewed (0)
Back to top