Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 87 for Flatten (0.08 sec)

  1. api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyResolver.java

        }
    
        @Nonnull
        default DependencyResolverResult flatten(@Nonnull DependencyResolverRequest request) {
            if (request.getRequestType() != DependencyResolverRequest.RequestType.FLATTEN) {
                throw new IllegalArgumentException("requestType should be FLATTEN when calling flatten()");
            }
            return resolve(request);
        }
    
        @Nonnull
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Wed Oct 16 14:15:37 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  2. internal/s3select/sql/jsonpath.go

    		// Lookup remainder of path in each array element and
    		// make result array.
    		var result []interface{}
    		for _, a := range arr {
    			rval, flatten, err := jsonpathEval(p[1:], a)
    			if err != nil {
    				return nil, false, err
    			}
    
    			if flatten {
    				// Flatten if array.
    				if arr, ok := rval.([]interface{}); ok {
    					result = append(result, arr...)
    					continue
    				}
    			}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  3. 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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 22:23:33 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  4. 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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 34.7K bytes
    - Viewed (0)
  5. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Certificate.kt

    ) {
      val commonName: Any?
        get() {
          return tbsCertificate.subject
            .flatten()
            .firstOrNull { it.type == ObjectIdentifiers.COMMON_NAME }
            ?.value
        }
    
      val organizationalUnitName: Any?
        get() {
          return tbsCertificate.subject
            .flatten()
            .firstOrNull { it.type == ObjectIdentifiers.ORGANIZATIONAL_UNIT_NAME }
            ?.value
        }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  6. Makefile.core.mk

    			sed "1s|^|$${warning}\n\n|" $$profile > manifests/charts/$$chart/files/profile-$$(basename $$profile) ; \
    		done; \
    		[[ "$$chart" == "ztunnel" ]] && flatten="true" || flatten="false" ; \
    		cat manifests/zzz_profile.yaml | \
    		  sed "s/FLATTEN_GLOBALS_REPLACEMENT/$${flatten}/g" \
    		  > manifests/charts/$$chart/templates/zzz_profile.yaml ; \
    	done
    
    #-----------------------------------------------------------------------------
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Oct 03 23:53:59 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  7. build-logic-commons/module-identity/src/main/kotlin/gradlebuild/identity/extension/ReleasedVersionsDetails.kt

            mainTestedVersions = testedVersions.map { VersionNumber.parse(it.gradleVersion().version) }
                .groupBy { it.major }
                .map { (_, v) -> listOf(v.minOrNull()!!.format(), v.maxOrNull()!!.format()) }.flatten()
        }
    
        private
        fun VersionNumber.format() =
            // reformat according to our versioning scheme, since toString() would typically convert 1.0 to 1.0.0
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Jun 10 06:17:20 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  8. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/SubprojectsInfo.kt

            val subprojectRoots = platformsFolder.asFile.listFiles(File::isDirectory).plus(subprojectsFolder.asFile).plus(testingFolder.asFile)
            return subprojectRoots.map { it.listFiles(File::isDirectory).asList() }.flatten()
        }
    
        private
        fun generateSubprojects(): List<GradleSubproject> {
            return generateSubprojectsDirectories()
                .filter {
                    File(it, "build.gradle.kts").exists() ||
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  9. 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 will keep only a single version per ({@code groupId}, {@code artifactId}) pair.
     * The resolution will actually download the dependencies (or artifacts) that have been computed.
     *
     * @since 4.0.0
     */
    @Experimental
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Sat Sep 28 09:03:24 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  10. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/NullabilityBreakingChangesRule.groovy

        private static List<Boolean> parametersNullabilityOf(CtBehavior behavior) {
            def annotations = behavior.parameterAnnotations as List<Object[]>
            annotations.collect { Object[] pAnn ->
                pAnn.flatten().any { isNullableCtAnnotation(it) }
            }
        }
    
        private static boolean hasNullableAnnotation(CtField field) {
            return NULLABLE_ANNOTATIONS.any { field.hasAnnotation(it) }
        }
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Sat Apr 13 10:04:28 UTC 2024
    - 5.4K bytes
    - Viewed (0)
Back to top