Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for flatten (0.06 sec)

  1. cmd/data-usage-cache.go

    		e := d.Cache[id]
    		if len(e.Children) > 0 {
    			e = d.flatten(e)
    		}
    		m[id] = e
    	}
    	return m
    }
    
    // flatten all children of the root into the root element and return it.
    func (d *dataUsageCache) flatten(root dataUsageEntry) dataUsageEntry {
    	for id := range root.Children {
    		e := d.Cache[id]
    		if len(e.Children) > 0 {
    			e = d.flatten(e)
    		}
    		root.merge(e)
    	}
    	root.Children = nil
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 34.7K bytes
    - Viewed (0)
  2. cmd/data-usage_test.go

    		path       string
    		isNil      bool
    		size, objs int
    		flatten    bool
    		oSizes     sizeHistogram
    	}{
    		{
    			path:    "/",
    			size:    363515,
    			flatten: true,
    			objs:    14,
    			oSizes:  sizeHistogram{0: 7, 1: 5, 2: 2},
    		},
    		{
    			path:    "/dir1",
    			size:    342210,
    			objs:    7,
    			flatten: false,
    			oSizes:  sizeHistogram{0: 2, 1: 3, 2: 2},
    		},
    		{
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  3. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/mvnup/UpgradeOptions.java

        /**
         * Should upgrade plugins known to fail with Maven 4 to their minimum compatible versions.
         * This includes upgrading plugins like maven-exec-plugin, maven-enforcer-plugin,
         * flatten-maven-plugin, and maven-shade-plugin to versions that work with Maven 4.
         *
         * @return an {@link Optional} containing the boolean value {@code true} if specified, or empty
         */
        @Nonnull
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Aug 29 12:46:51 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/Dependency.java

     * followed by <dfn>flattening</dfn> and <dfn>resolution</dfn>.
     * The version selection is done for each dependency during the collection phase.
     * The flatten phase keeps only a single version per ({@code groupId}, {@code artifactId}) pair.
     * The resolution phase actually downloads the dependencies (or artifacts) that have been computed.
     *
     * @since 4.0.0
     */
    @Experimental
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Jun 26 07:56:58 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  5. cmd/erasure.go

    					// updates-collector goroutine still
    					// holds a reference to this.
    					wg.Wait()
    					continue
    				}
    
    				wg.Wait()
    				// Flatten for upstream, but save full state.
    				var root dataUsageEntry
    				if r := cache.root(); r != nil {
    					root = cache.flatten(*r)
    				}
    				select {
    				case <-ctx.Done():
    					return
    				case bucketResults <- dataUsageEntryInfo{
    					Name:   cache.Info.Name,
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 16.1K bytes
    - Viewed (0)
  6. .teamcity/src/main/kotlin/model/PerformanceTestBucketProvider.kt

                throw IllegalArgumentException("More than one scenario split for test project $key: $projectDurations")
            }
        }
        return durationsPerTestProject
            .mapValues { (_, durations) -> durations.flatten().map { it.scenario } }
    }
    
    class EmptyTestProjectBucket(
        private val index: Int,
    ) : PerformanceTestBucket {
        override fun createPerformanceTestsFor(
            model: CIBuildModel,
    Registered: Wed Sep 10 11:36:15 UTC 2025
    - Last Modified: Thu Jul 10 02:18:03 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/Session.java

        /**
         * Shortcut for {@code getService(DependencyResolver.class).flatten(...)}.
         *
         * @param node node for which to get a flattened list
         * @param scope build path scope (main compile, test compile, etc.) of desired nodes
         * @return flattened list of node with the given build path scope
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Jul 03 14:18:26 UTC 2025
    - 36.5K bytes
    - Viewed (0)
  8. cmd/erasure-sets.go

    	}
    }
    
    type auditObjectOp struct {
    	Name string `json:"name"`
    	Pool int    `json:"poolId"`
    	Set  int    `json:"setId"`
    }
    
    func (op auditObjectOp) String() string {
    	// Flatten the auditObjectOp
    	return fmt.Sprintf("name=%s,pool=%d,set=%d", op.Name, op.Pool, op.Set)
    }
    
    // Add erasure set information to the current context
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 37K bytes
    - Viewed (1)
  9. guava/src/com/google/common/eventbus/SubscriberRegistry.java

                      concreteClass ->
                          ImmutableSet.copyOf(TypeToken.of(concreteClass).getTypes().rawTypes())));
    
      /**
       * Flattens a class's type hierarchy into a set of {@code Class} objects including all
       * superclasses (transitively) and all interfaces implemented by these superclasses.
       */
      @VisibleForTesting
      static ImmutableSet<Class<?>> flattenHierarchy(Class<?> concreteClass) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  10. docs/de/docs/tutorial/bigger-applications.md

    ///
    
    Das Endergebnis ist, dass die Pfade für diese Artikel jetzt wie folgt lauten:
    
    * `/items/`
    * `/items/{item_id}`
    
    ... wie wir es beabsichtigt hatten.
    
    * Sie werden mit einer Liste von Tags gekennzeichnet, die einen einzelnen String `"items"` enthält.
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun May 11 13:37:26 UTC 2025
    - 21K bytes
    - Viewed (0)
Back to top