- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 96 for flatten (0.17 sec)
-
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}, }, {
Go - Registered: Sun Apr 21 19:28:08 GMT 2024 - Last Modified: Wed Mar 27 15:10:40 GMT 2024 - 14.1K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyResolver.java
import org.apache.maven.api.annotations.Nonnull; /** * Collects, flattens and resolves dependencies. */ @Experimental public interface DependencyResolver extends Service { List<Node> flatten(Session session, Node node, PathScope scope) throws DependencyResolverException; /** * This method collects, flattens and resolves the dependencies. * * @param request the request to resolve
Java - Registered: Sun Apr 21 03:35:09 GMT 2024 - Last Modified: Mon Feb 05 09:42:51 GMT 2024 - 3.4K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/internal/impl/DefaultDependencyResolver.java
import static org.apache.maven.internal.impl.Utils.nonNull; @Named @Singleton public class DefaultDependencyResolver implements DependencyResolver { @Override public List<Node> flatten(Session s, Node node, PathScope scope) throws DependencyResolverException { InternalSession session = InternalSession.from(s); DependencyNode root = cast(AbstractNode.class, node, "node").getDependencyNode();
Java - Registered: Sun Apr 21 03:35:09 GMT 2024 - Last Modified: Fri Mar 01 17:18:13 GMT 2024 - 4.6K bytes - Viewed (0) -
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 } }
Go - Registered: Sun Apr 21 19:28:08 GMT 2024 - Last Modified: Thu Feb 22 06:26:06 GMT 2024 - 3.4K bytes - Viewed (0) -
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
Go - Registered: Sun Apr 21 19:28:08 GMT 2024 - Last Modified: Thu Apr 04 12:04:40 GMT 2024 - 41.3K bytes - Viewed (1) -
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 }
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 6.4K bytes - Viewed (0) -
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() ||
Plain Text - Registered: Wed Apr 24 11:36:11 GMT 2024 - Last Modified: Thu Apr 04 07:21:38 GMT 2024 - 2.9K bytes - Viewed (0) -
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
Plain Text - Registered: Wed Apr 24 11:36:11 GMT 2024 - Last Modified: Sat Sep 30 16:17:28 GMT 2023 - 3.1K bytes - Viewed (0) -
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) } }
Groovy - Registered: Wed Apr 24 11:36:11 GMT 2024 - Last Modified: Sat Apr 13 10:04:28 GMT 2024 - 5.4K bytes - Viewed (0) -
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) if root.ReplicationStats.empty() { root.ReplicationStats = nil } } select { case <-ctx.Done(): return
Go - Registered: Sun Apr 21 19:28:08 GMT 2024 - Last Modified: Mon Apr 15 10:02:39 GMT 2024 - 16K bytes - Viewed (1)