Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for childEnd (0.22 sec)

  1. src/cmd/vendor/golang.org/x/tools/go/ast/astutil/enclosing.go

    		children := childrenOf(node)
    		l := len(children)
    		for i, child := range children {
    			// [childPos, childEnd) is unaugmented interval of child.
    			childPos := child.Pos()
    			childEnd := child.End()
    
    			// [augPos, augEnd) is whitespace-augmented interval of child.
    			augPos := childPos
    			augEnd := childEnd
    			if i > 0 {
    				augPos = children[i-1].End() // start of preceding whitespace
    			}
    			if i < l-1 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 18 21:28:13 UTC 2023
    - 15.9K bytes
    - Viewed (0)
  2. platforms/core-runtime/build-operations/src/test/groovy/org/gradle/internal/operations/DefaultBuildOperationRunnerTest.groovy

            def operation1 = Spy(TestRunnableBuildOperation)
            def operation2 = Spy(TestRunnableBuildOperation)
            def operation3 = Spy(TestRunnableBuildOperation)
            def parentId
            def child1Id
            def child2Id
    
            when:
            operationRunner.run(operation1)
    
            then:
            1 * listener.start(_, _) >> { BuildOperationDescriptor descriptor, BuildOperationState operation ->
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 15:56:07 UTC 2024
    - 29.3K bytes
    - Viewed (0)
  3. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/ConfigurationCacheClassLoaderScopeRegistryListener.kt

                    require(lookupParent != null) {
                        "Cannot find parent $parentId for child scope $childId"
                    }
                    lookupParent
                }
    
                val child = ClassLoaderScopeSpec(parent, childId.name, origin)
                scopeSpecs[childId] = child
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  4. subprojects/diagnostics/src/test/groovy/org/gradle/api/reporting/model/ModelReportNodeBuilderTest.groovy

            ReportNode node = ModelReportNodeBuilder.fromDsl({
                model {
                    childOne()
                    childTwo(aValue: 'someThing', anotherValue: 'somethingElse')
                }
            }).get()
    
            expect:
            node.'**'.childOne
            node.'**'.childTwo.@aValue[0] == 'someThing'
            node.'**'.childTwo.@anotherValue[0] == 'somethingElse'
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 11 23:49:44 UTC 2019
    - 1.3K bytes
    - Viewed (0)
  5. pkg/volume/util/subpath/subpath_linux.go

    	}
    	childFD := -1
    	defer func() {
    		if parentFD != -1 {
    			if err = syscall.Close(parentFD); err != nil {
    				klog.V(4).Infof("Closing FD %v failed for safemkdir(%v): %v", parentFD, pathname, err)
    			}
    		}
    		if childFD != -1 {
    			if err = syscall.Close(childFD); err != nil {
    				klog.V(4).Infof("Closing FD %v failed for safemkdir(%v): %v", childFD, pathname, err)
    			}
    		}
    	}()
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 12 14:09:11 UTC 2022
    - 21.4K bytes
    - Viewed (0)
  6. subprojects/core/src/test/groovy/org/gradle/api/internal/file/copy/DefaultCopySpecResolutionTest.groovy

            when:
            DefaultCopySpec childOne = copySpec()
            childOne.into("child_one")
            parentSpec.with(childOne)
    
            DefaultCopySpec childTwo = copySpec()
             childTwo.into("child_two")
            parentSpec.with( childTwo)
    
            DefaultCopySpec grandchild = copySpec()
            grandchild.into("grandchild")
            childOne.with(grandchild)
            childTwo.with(grandchild)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Feb 28 12:39:32 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/oldresult/TransientConfigurationResultsBuilder.java

                        case EDGE:
                            long parentId = decoder.readSmallLong();
                            long childId = decoder.readSmallLong();
                            DefaultResolvedDependency parent = allDependencies.get(parentId);
                            DefaultResolvedDependency child = allDependencies.get(childId);
                            if (parent == null) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 14:19:34 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  8. subprojects/core/src/main/java/org/gradle/initialization/ClassLoaderScopeRegistryListener.java

     * @see ClassLoaderScope
     */
    @EventScope(Scope.UserHome.class)
    public interface ClassLoaderScopeRegistryListener {
    
        void childScopeCreated(ClassLoaderScopeId parentId, ClassLoaderScopeId childId, @Nullable ClassLoaderScopeOrigin origin);
    
        void classloaderCreated(ClassLoaderScopeId scopeId, ClassLoaderId classLoaderId, ClassLoader classLoader, ClassPath classPath, @Nullable HashCode implementationHash);
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 02:21:10 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  9. platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/logging/progress/DefaultProgressLoggerFactoryTest.groovy

                assert event.parentProgressOperationId == parentId
            }
        }
    
        def "multiple threads can log independent operations"() {
            OperationIdentifier parentId
            OperationIdentifier childId
            OperationIdentifier id2
    
            when:
            async {
                start {
                    def parent = factory.newOperation("category").setDescription("op-1")
                    parent.started()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  10. subprojects/core/src/main/java/org/gradle/internal/problems/DefaultProblemLocationAnalyzer.java

            try {
                scripts.clear();
            } finally {
                lock.unlock();
            }
        }
    
        @Override
        public void childScopeCreated(ClassLoaderScopeId parentId, ClassLoaderScopeId childId, @javax.annotation.Nullable ClassLoaderScopeOrigin origin) {
            if (origin instanceof ClassLoaderScopeOrigin.Script) {
                ClassLoaderScopeOrigin.Script scriptOrigin = (ClassLoaderScopeOrigin.Script) origin;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 23 17:15:42 UTC 2024
    - 5.5K bytes
    - Viewed (0)
Back to top