Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for frameless (0.46 sec)

  1. src/runtime/testdata/testprog/preempt.go

    	var ready, ready2 uint32
    	go func() {
    		for {
    			atomic.StoreUint32(&ready, 1)
    			dummy()
    			dummy()
    		}
    	}()
    	// Also start one with a frameless function.
    	// This is an especially interesting case for
    	// LR machines.
    	go func() {
    		atomic.AddUint32(&ready2, 1)
    		frameless()
    	}()
    	// Also test empty infinite loop.
    	go func() {
    		atomic.AddUint32(&ready2, 1)
    		for {
    		}
    	}()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 07 17:46:04 UTC 2021
    - 1.6K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/framepointer/framepointer.go

    			// Ignore comments and commented-out code.
    			if i := strings.Index(line, "//"); i >= 0 {
    				line = line[:i]
    			}
    			line = strings.TrimSpace(line)
    
    			// We start checking code at a TEXT line for a frameless function.
    			if strings.HasPrefix(line, "TEXT") && strings.Contains(line, "(SB)") && strings.Contains(line, "$0") {
    				active = true
    				continue
    			}
    			if !active {
    				continue
    			}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  3. src/runtime/defs_windows_arm.go

    // However, empirically, LR doesn't come along on Windows 10
    // unless you also set _CONTEXT_INTEGER (0x200002).
    // Without LR, we skip over the next-to-bottom function in profiles
    // when the bottom function is frameless.
    // So we set both here, to make a working _CONTEXT_CONTROL.
    const _CONTEXT_CONTROL = 0x200003
    
    type neon128 struct {
    	low  uint64
    	high int64
    }
    
    type context struct {
    	contextflags uint32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 05 08:26:52 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  4. src/runtime/defs_windows_arm64.go

    // However, empirically, LR doesn't come along on Windows 10
    // unless you also set _CONTEXT_INTEGER (0x400002).
    // Without LR, we skip over the next-to-bottom function in profiles
    // when the bottom function is frameless.
    // So we set both here, to make a working _CONTEXT_CONTROL.
    const _CONTEXT_CONTROL = 0x400003
    
    type neon128 struct {
    	low  uint64
    	high int64
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 05 08:26:52 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  5. src/cmd/go/testdata/script/build_buildvcs_auto.txt

    [short] skip
    [!git] skip
    
    cd sub
    exec git init .
    exec git config user.name 'Nameless Gopher'
    exec git config user.email '******@****.***'
    exec git add sub.go
    exec git commit -m 'initial state'
    cd ..
    
    exec git init
    exec git config user.name 'Nameless Gopher'
    exec git config user.email '******@****.***'
    exec git submodule add ./sub
    exec git add go.mod example.go
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:18:32 UTC 2022
    - 2.5K bytes
    - Viewed (0)
  6. src/cmd/distpack/archive.go

    func (a *Archive) Add(name, src string, info fs.FileInfo) {
    	a.Files = append(a.Files, File{
    		Name: name,
    		Time: info.ModTime(),
    		Mode: info.Mode(),
    		Size: info.Size(),
    		Src:  src,
    	})
    }
    
    func nameLess(x, y string) bool {
    	for i := 0; i < len(x) && i < len(y); i++ {
    		if x[i] != y[i] {
    			// foo/bar/baz before foo/bar.go, because foo/bar is before foo/bar.go
    			if x[i] == '/' {
    				return true
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 11 17:37:52 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  7. src/net/http/routing_tree.go

    		}
    	}
    	// Lastly, match the pattern (there can be at most one) that has a multi
    	// wildcard in this position to the rest of the path.
    	if c := n.multiChild; c != nil {
    		// Don't record a match for a nameless wildcard (which arises from a
    		// trailing slash in the pattern).
    		if c.pattern.lastSegment().s != "" {
    			matches = append(matches, pathUnescape(path[1:])) // remove initial slash
    		}
    		return c, matches
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 30 15:43:24 UTC 2024
    - 7.5K bytes
    - Viewed (0)
Back to top