Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for childEnd (0.24 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. 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)
  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/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)
  6. 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)
  7. 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