Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for optimization (0.11 sec)

  1. compat/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/ComparableVersionTest.java

            checkVersionsOrder(b, c); // now b < c, but before MNG-5568, we had b > c
            checkVersionsOrder(a, c);
        }
    
        /**
         * Test <a href="https://jira.apache.org/jira/browse/MNG-6572">MNG-6572</a> optimization.
         */
        @Test
        void testMng6572() {
            String a = "20190126.230843"; // resembles a SNAPSHOT
            String b = "1234567890.12345"; // 10 digit number
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 14K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/AggregateFuture.java

           * doesn't 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.
           */
          @RetainedLocalRef
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 13:13:32 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataTreeNode.java

     *
     *
     */
    @Deprecated
    public class MetadataTreeNode {
        ArtifactMetadata md; // this node
    
        MetadataTreeNode parent; // papa
    
        /** default # of children. Used for tree creation optimization only */
        int nChildren = 8;
    
        MetadataTreeNode[] children; // of cause
    
        public int getNChildren() {
            return nChildren;
        }
    
        public void setNChildren(int children) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/TimeoutFuture.java

        @RetainedLocalRef ListenableFuture<? extends V> delegate = delegateRef;
        maybePropagateCancellationTo(delegate);
    
        @RetainedLocalRef Future<?> localTimer = timer;
        // Try to cancel the timer as an optimization.
        // timer may be null if this call to run was by the timer task since there is no happens-before
        // edge between the assignment to timer and an execution of the timer task.
        if (localTimer != null) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 13:13:32 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  5. cmd/xl-storage.go

    }
    
    // ReadAll is a raw call, reads content at any path and returns the buffer.
    func (s *xlStorage) ReadAll(ctx context.Context, volume string, path string) (buf []byte, err error) {
    	// Specific optimization to avoid re-read from the drives for `format.json`
    	// in-case the caller is a network operation.
    	if volume == minioMetaBucket && path == formatConfigFile {
    		s.RLock()
    		formatData := make([]byte, len(s.formatData))
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 91.3K bytes
    - Viewed (0)
  6. CHANGELOG/CHANGELOG-1.32.md

    - cloud.google.com/go/networkmanagement: v1.8.0 → v1.9.3
    - cloud.google.com/go/networksecurity: v0.9.1 → v0.9.4
    - cloud.google.com/go/notebooks: v1.9.1 → v1.11.2
    - cloud.google.com/go/optimization: v1.4.1 → v1.6.2
    - cloud.google.com/go/orchestration: v1.8.1 → v1.8.4
    - cloud.google.com/go/orgpolicy: v1.11.1 → v1.12.0
    - cloud.google.com/go/osconfig: v1.12.1 → v1.12.4
    - cloud.google.com/go/oslogin: v1.10.1 → v1.13.0
    Registered: Fri Nov 01 09:05:11 UTC 2024
    - Last Modified: Tue Oct 29 20:17:52 UTC 2024
    - 121.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/RegularImmutableList.java

        checkElementIndex(index, size);
        // requireNonNull is safe because we guarantee that the first `size` elements are non-null.
        return (E) requireNonNull(array[index]);
      }
    
      // TODO(lowasser): benchmark optimizations for equals() and see if they're worthwhile
    
      // redeclare to help optimizers with b/310253115
      @SuppressWarnings("RedundantOverride")
      @Override
      @J2ktIncompatible // serialization
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  8. 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();
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  9. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelBuildingRequest.java

         */
        ModelCache getModelCache();
    
        /**
         * Sets the model cache to use for reuse of previously built models. This is an optional component that serves
         * performance optimizations.
         *
         * @param modelCache The model cache to use, may be {@code null}.
         * @return This request, never {@code null}.
         */
        ModelBuildingRequest setModelCache(ModelCache modelCache);
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  10. docs/en/docs/release-notes.md

    * ♻ Remove `media_type` from `ORJSONResponse` as it's inherited from the parent class. PR [#5805](https://github.com/tiangolo/fastapi/pull/5805) by [@Kludex](https://github.com/Kludex).
    * ♻ Instantiate `HTTPException` only when needed, optimization refactor. PR [#5356](https://github.com/tiangolo/fastapi/pull/5356) by [@pawamoy](https://github.com/pawamoy).
    
    ### Docs
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Nov 01 11:25:57 UTC 2024
    - 460.3K bytes
    - Viewed (0)
Back to top