Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 28 of 28 for create_node (0.22 sec)

  1. src/cmd/vendor/golang.org/x/sys/windows/syscall_windows.go

    		sa = makeInheritSa()
    	}
    	var createmode uint32
    	switch {
    	case mode&(O_CREAT|O_EXCL) == (O_CREAT | O_EXCL):
    		createmode = CREATE_NEW
    	case mode&(O_CREAT|O_TRUNC) == (O_CREAT | O_TRUNC):
    		createmode = CREATE_ALWAYS
    	case mode&O_CREAT == O_CREAT:
    		createmode = OPEN_ALWAYS
    	case mode&O_TRUNC == O_TRUNC:
    		createmode = TRUNCATE_EXISTING
    	default:
    		createmode = OPEN_EXISTING
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 05 22:18:42 UTC 2024
    - 82.8K bytes
    - Viewed (0)
  2. src/cmd/vendor/github.com/google/pprof/internal/graph/graph.go

    		return true
    	case n.Flat == 0 && n.Cum < 0:
    		return true
    	default:
    		return false
    	}
    }
    
    // CreateNodes creates graph nodes for all locations in a profile. It
    // returns set of all nodes, plus a mapping of each location to the
    // set of corresponding nodes (one per location.Line).
    func CreateNodes(prof *profile.Profile, o *Options) (Nodes, map[uint64]Nodes) {
    	locations := make(map[uint64]Nodes, len(prof.Location))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 31K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/CycleDetectingLockFactoryTest.java

              Class<E> enumClass, Policy policy) {
        return new CycleDetectingLockFactory.WithExplicitOrdering<E>(
            policy, CycleDetectingLockFactory.createNodes(enumClass));
      }
    
      public void testDeadlock_twoLocks() {
        // Establish an acquisition order of lockA -> lockB.
        lockA.lock();
        lockB.lock();
        lockA.unlock();
        lockB.unlock();
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 16.1K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/util/concurrent/CycleDetectingLockFactoryTest.java

              Class<E> enumClass, Policy policy) {
        return new CycleDetectingLockFactory.WithExplicitOrdering<E>(
            policy, CycleDetectingLockFactory.createNodes(enumClass));
      }
    
      public void testDeadlock_twoLocks() {
        // Establish an acquisition order of lockA -> lockB.
        lockA.lock();
        lockB.lock();
        lockA.unlock();
        lockB.unlock();
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 16.1K bytes
    - Viewed (0)
  5. src/syscall/zsyscall_windows.go

    	}
    	return
    }
    
    func CreateFile(name *uint16, access uint32, mode uint32, sa *SecurityAttributes, createmode uint32, attrs uint32, templatefile int32) (handle Handle, err error) {
    	r0, _, e1 := Syscall9(procCreateFileW.Addr(), 7, uintptr(unsafe.Pointer(name)), uintptr(access), uintptr(mode), uintptr(unsafe.Pointer(sa)), uintptr(createmode), uintptr(attrs), uintptr(templatefile), 0, 0)
    	handle = Handle(r0)
    	if handle == InvalidHandle {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 11:49:46 UTC 2024
    - 56.3K bytes
    - Viewed (0)
  6. src/cmd/vendor/github.com/google/pprof/internal/report/report.go

    	fmt.Fprintln(w, strings.Join(ProfileLabels(rpt), "\n"))
    
    	prof := rpt.prof
    	o := rpt.options
    
    	const separator = "-----------+-------------------------------------------------------"
    
    	_, locations := graph.CreateNodes(prof, &graph.Options{})
    	for _, sample := range prof.Sample {
    		type stk struct {
    			*graph.NodeInfo
    			inline bool
    		}
    		var stack []stk
    		for _, loc := range sample.Location {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 37.5K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/sys/windows/zsyscall_windows.go

    	}
    	return
    }
    
    func CreateFile(name *uint16, access uint32, mode uint32, sa *SecurityAttributes, createmode uint32, attrs uint32, templatefile Handle) (handle Handle, err error) {
    	r0, _, e1 := syscall.Syscall9(procCreateFileW.Addr(), 7, uintptr(unsafe.Pointer(name)), uintptr(access), uintptr(mode), uintptr(unsafe.Pointer(sa)), uintptr(createmode), uintptr(attrs), uintptr(templatefile), 0, 0)
    	handle = Handle(r0)
    	if handle == InvalidHandle {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 195.8K bytes
    - Viewed (0)
  8. src/internal/trace/traceviewer/static/trace_viewer_full.html

    RecursionDepthTracker.prototype={push(viewNode){if(this.bottomIndex===0){throw new Error('Cannot push to a full tracker');}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 20:45:06 UTC 2023
    - 2.5M bytes
    - Viewed (0)
Back to top