Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 24 for Burns (0.95 sec)

  1. src/cmd/cgo/internal/testcshared/testdata/libgo4/libgo4.go

    //export RunGoroutines
    func RunGoroutines() {
    	for i := 0; i < 4; i++ {
    		go func() {
    			runtime.LockOSThread()
    			select {}
    		}()
    	}
    }
    
    var P *byte
    
    // TestSEGV makes sure that an invalid address turns into a run-time Go panic.
    //
    //export TestSEGV
    func TestSEGV() {
    	defer func() {
    		if recover() == nil {
    			fmt.Fprintln(os.Stderr, "no panic from segv")
    			os.Exit(1)
    		}
    	}()
    	*P = 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 864 bytes
    - Viewed (0)
  2. src/cmd/asm/internal/lex/lex.go

    // A Macro represents the definition of a #defined macro.
    type Macro struct {
    	name   string   // The #define name.
    	args   []string // Formal arguments.
    	tokens []Token  // Body of macro.
    }
    
    // Tokenize turns a string into a list of Tokens; used to parse the -D flag and in tests.
    func Tokenize(str string) []Token {
    	t := NewTokenizer("command line", strings.NewReader(str), nil)
    	var tokens []Token
    	for {
    		tok := t.Next()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 29 18:31:05 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/addressingmodes.go

    			v.Op = c
    			v.AddArgs(tmp...)
    			if needSplit[c] {
    				// It turns out that some of the combined instructions have faster two-instruction equivalents,
    				// but not the two instructions that led to them being combined here.  For example
    				// (CMPBconstload c (ADDQ x y)) -> (CMPBconstloadidx1 c x y) -> (CMPB c (MOVBloadidx1 x y))
    				// The final pair of instructions turns out to be notably faster, at least in some benchmarks.
    				f.Config.splitLoad(v)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jul 26 17:19:57 UTC 2023
    - 24.3K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/staticinit/sched.go

    	}
    
    	// Handle the special case of an inlined call of
    	// a function body with a single return statement,
    	// which turns into a single assignment plus a goto.
    	//
    	// For example code like this:
    	//
    	//	type T struct{ x int }
    	//	func F(x int) *T { return &T{x} }
    	//	var Global = F(400)
    	//
    	// turns into IR like this:
    	//
    	// 	INLCALL-init
    	// 	.   AS2-init
    	// 	.   .   DCL # x.go:18:13
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 17:16:14 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/regalloc.go

    			}
    			if s.f.pass.debug > regDebug {
    				fmt.Printf("  processing control %s\n", v.LongString())
    			}
    			// We assume that a control input can be passed in any
    			// type-compatible register. If this turns out not to be true,
    			// we'll need to introduce a regspec for a block's control value.
    			b.ReplaceControl(i, s.allocValToReg(v, s.compatRegs(v.Type), false, b.Pos))
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 17:49:56 UTC 2023
    - 87.2K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/test/pgo_inl_test.go

    	if !bytes.Contains(out, []byte(hashMatch)) || !pgoDebugRE.Match(out) {
    		t.Errorf("output does not contain expected source line, out:\n%s", out)
    	}
    
    	// Check that a hash mismatch turns off PGO inlining.
    	hash = "v0" // 0 should not match srcPos
    	gcflag = gcflag0 + ",pgohash=" + hash
    	out = buildPGOInliningTest(t, dir, gcflag)
    	if bytes.Contains(out, []byte(hashMatch)) || pgoDebugRE.Match(out) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/rangefunc/rewrite.go

    		...
    	})
    
    or
    
    	f(func(#p1 T1, #p2 T2, _ T3) bool {
    		expr1, expr2 = #p1, #p2
    		...
    	})
    
    # Return
    
    If the body contains a "break", that break turns into "return false",
    to tell f to stop. And if the body contains a "continue", that turns
    into "return true", to tell f to proceed with the next value.
    Those are the easy cases.
    
    If the body contains a return or a break/continue/goto L, then we need
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:05:44 UTC 2024
    - 41.6K bytes
    - Viewed (0)
  8. src/cmd/go/internal/modload/buildlist.go

    	}
    
    	// We are converting an unpruned module to a pruned one.
    	//
    	// An unpruned module graph includes the transitive dependencies of every
    	// module in the build list. As it turns out, we can express that as a pruned
    	// root set! “Include the transitive dependencies of every module in the build
    	// list” is exactly what happens in a pruned module if we promote every module
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 16:04:44 UTC 2024
    - 53.8K bytes
    - Viewed (0)
  9. src/cmd/go/alldocs.go

    //		directory if that file exists, and applies it to the (transitive)
    //		dependencies of the main package (other packages are not affected).
    //		Special name "off" turns off PGO. The default is "auto".
    //	-pkgdir dir
    //		install and load all packages from dir instead of the usual locations.
    //		For example, when building with a non-standard configuration,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:54:28 UTC 2024
    - 142.4K bytes
    - Viewed (0)
  10. src/cmd/cgo/internal/testcarchive/testdata/libgo2/libgo2.go

    			select {}
    		}()
    	}
    }
    
    // Block blocks the current thread while running Go code.
    //
    //export Block
    func Block() {
    	select {}
    }
    
    var P *byte
    
    // TestSEGV makes sure that an invalid address turns into a run-time Go panic.
    //
    //export TestSEGV
    func TestSEGV() {
    	defer func() {
    		if recover() == nil {
    			fmt.Fprintln(os.Stderr, "no panic from segv")
    			os.Exit(1)
    		}
    	}()
    	*P = 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 1.6K bytes
    - Viewed (0)
Back to top