Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 110 for reused (0.09 sec)

  1. internal/grid/handlers.go

    // PutResponse will accept a response for reuse.
    // This can be used by a caller to recycle a response after receiving it from a Call.
    func (h *SingleHandler[Req, Resp]) PutResponse(r Resp) {
    	h.recycleResp(r)
    }
    
    // AllowCallRequestPool indicates it is safe to reuse the request
    // on the client side, meaning the request is recycled/pooled when a request is sent.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 09 16:58:30 UTC 2024
    - 27.7K bytes
    - Viewed (0)
  2. architecture/standards/0006-use-of-provider-apis-in-gradle.md

    a plugin (2). This keeps the underlying object "dumb", so it can be reused in multiple contexts and doesn't contain any special information about how conventions are calculated or what they could be.  In the wild, we've seen some objects set conventions in the object's constructor (3), but this can lead to unexpected assumptions or coupling between plugins.
    
    For external plugins, it's difficult for an object to be used outside the application of a plugin, so following best practices is...
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Oct 15 20:00:57 UTC 2024
    - 10K bytes
    - Viewed (0)
  3. compat/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/ComparableVersionTest.java

        @Test
        void testReuse() {
            ComparableVersion c1 = new ComparableVersion("1");
            c1.parseVersion("2");
    
            Comparable<?> c2 = newComparable("2");
    
            assertEquals(c1, c2, "reused instance should be equivalent to new instance");
        }
    
        /**
         * Test <a href="https://issues.apache.org/jira/browse/MNG-7644">MNG-7644</a> edge cases
         * 1.0.0.RC1 &lt; 1.0.0-RC2 and more generally:
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 14K bytes
    - Viewed (0)
  4. compat/maven-model-builder/src/main/java/org/apache/maven/model/resolution/ModelResolver.java

     * {@link org.apache.maven.model.building.ModelBuilder} will add any relevant repositories to the model resolver. In
     * other words, the model resolver is stateful and should not be reused across multiple model building requests.
     *
     * @deprecated use {@link org.apache.maven.api.services.ModelBuilder} instead
     */
    @Deprecated(since = "4.0.0")
    public interface ModelResolver {
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/TreeMultiset.java

        AvlNode<E> root = rootReference.get();
        if (root == null) {
          int unused = comparator().compare(element, element);
          AvlNode<E> newRoot = new AvlNode<>(element, occurrences);
          successor(header, newRoot, header);
          rootReference.checkAndSet(root, newRoot);
          return 0;
        }
        int[] result = new int[1]; // used as a mutable int reference to hold result
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 34.1K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ImmutableTable.java

       *
       * <p>For empty or single-cell immutable tables, {@link #of()} and {@link #of(Object, Object,
       * Object)} are even more convenient.
       *
       * <p>Builder instances can be reused - it is safe to call {@link #buildOrThrow} multiple times to
       * build multiple tables in series. Each table is a superset of the tables created before it.
       *
       * @since 11.0
       */
      @DoNotMock
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/ImmutableBiMap.java

               * non-terminal entries, but this is safe; if this Builder is used further, it will grow
               * the entries array (so it can't affect the original array), and future build() calls
               * will always copy any entry objects that cannot be safely reused.
               */
              if (valueComparator != null) {
                if (entriesUsed) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 22.6K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/TreeMultiset.java

        AvlNode<E> root = rootReference.get();
        if (root == null) {
          int unused = comparator().compare(element, element);
          AvlNode<E> newRoot = new AvlNode<>(element, occurrences);
          successor(header, newRoot, header);
          rootReference.checkAndSet(root, newRoot);
          return 0;
        }
        int[] result = new int[1]; // used as a mutable int reference to hold result
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/ImmutableBiMap.java

       * want a different order, consider using {@link #orderEntriesByValue(Comparator)}, which changes
       * this builder to sort entries by value.
       *
       * <p>Builder instances can be reused - it is safe to call {@link #buildOrThrow} multiple times to
       * build multiple bimaps in series. Each bimap is a superset of the bimaps created before it.
       *
       * @since 2.0
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 21:21:17 UTC 2024
    - 22.2K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/ImmutableList.java

       *         .add(new Color(0, 191, 255))
       *         .build();
       * }</pre>
       *
       * <p>Elements appear in the resulting list in the same order they were added to the builder.
       *
       * <p>Builder instances can be reused; it is safe to call {@link #build} multiple times to build
       * multiple lists in series. Each new list contains all the elements of the ones created before
       * it.
       *
       * @since 2.0
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 21:21:17 UTC 2024
    - 27.7K bytes
    - Viewed (0)
Back to top