Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 553 for childrenOf (0.29 sec)

  1. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/snapshot/MerkleDirectorySnapshotBuilder.java

     *
     * This implementation combines the hashes of the children of a directory into a single hash for the directory.
     * For the hash to be reproducible, the children must be sorted in a consistent order.
     * The implementation uses {@link FileSystemLocationSnapshot#BY_NAME} ordering.
     * If you already provide the children in sorted order, use {@link #noSortingRequired()} to avoid the overhead of sorting again.
     */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  2. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/snapshot/DirectorySnapshot.java

        private final ChildMap<FileSystemLocationSnapshot> children;
        private final HashCode contentHash;
    
        public DirectorySnapshot(String absolutePath, String name, AccessType accessType, HashCode contentHash, List<FileSystemLocationSnapshot> children) {
            this(absolutePath, name, accessType, contentHash, childMapFromSorted(children.stream()
                .map(it -> new ChildMap.Entry<>(it.getName(), it))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 23 13:19:32 UTC 2023
    - 9.2K bytes
    - Viewed (0)
  3. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/TaskCreationBuildOperationIntegrationTest.groovy

            verifyTaskDetails(RegisterTaskBuildOperationType, withPath(':', ':foo')).children.empty
            def realize = verifyTaskDetails(RealizeTaskBuildOperationType, withPath(':', ':foo'))
            realize.children.size() == 1
            def configure = realize.children[0]
            configure.children.size() == 1
            buildOperations.isType(configure.children[0], RealizeTaskBuildOperationType)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  4. subprojects/core/src/integTest/groovy/org/gradle/configuration/project/LifecycleProjectEvaluatorIntegrationTest.groovy

                displayName == 'Notify beforeEvaluate listeners of :foo'
                children*.displayName == ["Execute Project.beforeEvaluate listener"]
                children.first().children*.displayName == ["Apply script '${relativePath('foo/before.gradle')}' to project ':foo'"]
                parentId == configOp.id
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  5. pkg/test/framework/integration/framework_test.go

    			ci := tst.children[i]
    			ciRange := ci.timeRange()
    			for j := i + 1; j < len(tst.children); j++ {
    				cj := tst.children[j]
    				cjRange := cj.timeRange()
    				if ciRange.overlaps(cjRange) {
    					return fmt.Errorf("test %s: child %s[%s] overlaps with child %s[%s]",
    						tst.name, ci.name, ciRange, cj.name, cjRange)
    				}
    			}
    		}
    	}
    
    	// Now check the children.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  6. platforms/core-runtime/build-profile/src/main/java/org/gradle/profile/CompositeOperation.java

        private final List<T> children;
    
        public CompositeOperation(Iterable<? extends T> children) {
            this.children = Lists.newArrayList(children);
        }
    
        public List<T> getOperations() {
            return children;
        }
    
        @Override
        public Iterator<T> iterator() {
            return children.iterator();
        }
    
        @Override
        long getElapsedTime() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Dec 01 12:58:53 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/http2/Huffman.kt

          val children = node.children!!
          var child = children[childIndex]
          if (child == null) {
            child = Node()
            children[childIndex] = child
          }
          node = child
        }
    
        val shift = 8 - accumulatorBitCount
        val start = (code shl shift) and 0xff
        val end = 1 shl shift
        node.children!!.fill(terminal, start, start + end)
      }
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  8. platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/console/ProgressOperation.java

            if (children == null) {
                children = new HashSet<ProgressOperation>();
            }
            return children.add(operation);
        }
    
        public boolean removeChild(ProgressOperation operation) {
            if (children == null) {
                throw new IllegalStateException(String.format("Cannot remove child operation [%s] from operation with no children [%s]", operation, this));
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  9. src/context/context_test.go

    		}
    
    		if pcok {
    			pc.mu.Lock()
    			if len(pc.children) != 1 || !contains(pc.children, cc) {
    				t.Errorf("bad linkage: pc.children = %v, cc = %v", pc.children, cc)
    			}
    			pc.mu.Unlock()
    		}
    
    		cancel()
    
    		if pcok {
    			pc.mu.Lock()
    			if len(pc.children) != 0 {
    				t.Errorf("child's cancel didn't remove self from pc.children = %v", pc.children)
    			}
    			pc.mu.Unlock()
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 19 19:13:01 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  10. platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/parsing/GrammarToTree.kt

            elementOrFailure {
                val children = tree.children(node)
    
                var identifier: Syntactic<String>? = null
                var expression: CheckedResult<ElementResult<Expr>>? = null
                children.forEach {
                    when (val tokenType = it.tokenType) {
                        MODIFIER_LIST -> {
                            val modifiers = tree.children(it)
                            modifiers.forEach { modifier ->
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 22:06:18 UTC 2024
    - 31.2K bytes
    - Viewed (0)
Back to top