Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for childEnd (0.2 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/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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. src/runtime/syscall_windows_test.go

    	for i := 0; i < maskbits; i++ {
    		newmask := mask & ^(1 << uint(i))
    		if newmask != mask {
    			return newmask, nil
    		}
    
    	}
    	panic("not reached")
    }
    
    func resumeChildThread(kernel32 *syscall.DLL, childpid int) error {
    	_OpenThread := kernel32.MustFindProc("OpenThread")
    	_ResumeThread := kernel32.MustFindProc("ResumeThread")
    	_Thread32First := kernel32.MustFindProc("Thread32First")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 31 16:31:35 UTC 2023
    - 32.5K bytes
    - Viewed (0)
  10. src/syscall/exec_linux.go

    // cloneArgs holds arguments for clone3 Linux syscall.
    type cloneArgs struct {
    	flags      uint64 // Flags bit mask
    	pidFD      uint64 // Where to store PID file descriptor (int *)
    	childTID   uint64 // Where to store child TID, in child's memory (pid_t *)
    	parentTID  uint64 // Where to store child TID, in parent's memory (pid_t *)
    	exitSignal uint64 // Signal to deliver to parent on child termination
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 07:45:37 UTC 2024
    - 23K bytes
    - Viewed (0)
Back to top