Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 254 for mem1 (0.3 sec)

  1. src/cmd/compile/internal/ssa/schedule_test.go

    		c.Fun("entry",
    			Bloc("entry",
    				Valu("mem0", OpInitMem, types.TypeMem, 0, nil),
    				Valu("ptr", OpConst64, c.config.Types.Int64, 0xABCD, nil),
    				Valu("v", OpConst64, c.config.Types.Int64, 12, nil),
    				Valu("mem1", OpStore, types.TypeMem, 0, c.config.Types.Int64, "ptr", "v", "mem0"),
    				Valu("mem2", OpStore, types.TypeMem, 0, c.config.Types.Int64, "ptr", "v", "mem1"),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Oct 08 01:46:00 UTC 2022
    - 5.6K bytes
    - Viewed (0)
  2. src/runtime/testdata/testprogcgo/stack_windows.go

    	}
    	return m.PagefileUsage, nil
    }
    
    func StackMemory() {
    	mem1, err := getPagefileUsage()
    	if err != nil {
    		panic(err)
    	}
    	const threadCount = 100
    	var wg sync.WaitGroup
    	for i := 0; i < threadCount; i++ {
    		wg.Add(1)
    		go func() {
    			runtime.LockOSThread()
    			wg.Done()
    			select {}
    		}()
    	}
    	wg.Wait()
    	mem2, err := getPagefileUsage()
    	if err != nil {
    		panic(err)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 23 17:31:31 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  3. src/runtime/testdata/testprog/syscall_windows.go

    	}
    	return m.PagefileUsage, nil
    }
    
    func StackMemory() {
    	mem1, err := getPagefileUsage()
    	if err != nil {
    		panic(err)
    	}
    	const threadCount = 100
    	var wg sync.WaitGroup
    	for i := 0; i < threadCount; i++ {
    		wg.Add(1)
    		go func() {
    			runtime.LockOSThread()
    			wg.Done()
    			select {}
    		}()
    	}
    	wg.Wait()
    	mem2, err := getPagefileUsage()
    	if err != nil {
    		panic(err)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 23 17:31:31 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/loopreschedchecks.go

    		// h.Preds[i] == p == Edge{bb,p.i}
    		//
    		// new block(s):
    		// test:
    		//    if sp < g.limit { goto sched }
    		//    goto join
    		// sched:
    		//    mem1 := call resched (mem0)
    		//    goto join
    		// join:
    		//    mem2 := phi(mem0, mem1)
    		//    goto h
    		//
    		// and correct arg i of headerMemPhi and headerCtrPhi
    		//
    		// EXCEPT: join block containing only phi functions is bad
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 21:17:10 UTC 2023
    - 16K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/regalloc_test.go

    			Valu("mem2", OpAMD64MOVQstore, types.TypeMem, 0, nil, "p", "y", "mem"),
    			Valu("mem3", OpAMD64CALLstatic, types.TypeMem, 0, AuxCallLSym("_"), "mem2"),
    			Exit("mem3"),
    		),
    		Bloc("exit2",
    			// store after call, y must be loaded from a spill location
    			Valu("mem4", OpAMD64CALLstatic, types.TypeMem, 0, AuxCallLSym("_"), "mem"),
    			Valu("mem5", OpAMD64MOVQstore, types.TypeMem, 0, nil, "p", "y", "mem4"),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:09:14 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  6. pkg/ctrlz/topics/mem.go

    	return memTopic{}
    }
    
    func (memTopic) Title() string {
    	return "Memory Usage"
    }
    
    func (memTopic) Prefix() string {
    	return "mem"
    }
    
    func (memTopic) Activate(context fw.TopicContext) {
    	tmpl := assets.ParseTemplate(context.Layout(), "templates/mem.html")
    
    	_ = context.HTMLRouter().StrictSlash(true).NewRoute().Path("/").HandlerFunc(func(w http.ResponseWriter, req *http.Request) {
    		ms := &runtime.MemStats{}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 24 14:06:41 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  7. pkg/ctrlz/topics/assets/templates/mem.html

    {{ template "last-refresh" .}}
    
    <script>
        "use strict";
    
        function refreshMemStats() {
            let url = window.location.protocol + "//" + window.location.host + "/memj/";
    
            let ajax = new XMLHttpRequest();
            ajax.onload = onload;
            ajax.onerror = onerror;
            ajax.open("GET", url, true);
            ajax.send();
    
            function onload() {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  8. src/runtime/mem.go

    Michael Anthony Knyszek <******@****.***> 1691435399 +0000
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 19:05:10 UTC 2023
    - 6.7K bytes
    - Viewed (0)
  9. test/fixedbugs/issue59709.dir/cmem.go

    	"./aconfig"
    	"./bresource"
    )
    
    type MemT *int
    
    var G int
    
    type memResource struct {
    	x *int
    }
    
    func (m *memResource) initialize(*int) (res *int, err error) {
    	return nil, nil
    }
    
    func (m *memResource) teardown() {
    }
    
    func NewResource(cfg *aconfig.Config) *bresource.Resource[*int] {
    	res := &memResource{
    		x: &G,
    	}
    
    	return bresource.New("Mem", res.initialize, bresource.ResConfig{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 05 21:04:28 UTC 2023
    - 714 bytes
    - Viewed (0)
  10. src/internal/fuzz/mem.go

    cuiweixie <******@****.***> 1664296188 +0800
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 28 03:44:27 UTC 2022
    - 4.5K bytes
    - Viewed (0)
Back to top