Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 176 for mem1 (0.05 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. src/cmd/compile/internal/ssa/check.go

    	if f.scheduled {
    		for _, b := range f.Blocks {
    			var mem *Value // the current live memory in the block
    			for _, v := range b.Values {
    				if v.Op == OpPhi {
    					if v.Type.IsMemory() {
    						mem = v
    					}
    					continue
    				}
    				if mem == nil && len(b.Preds) > 0 {
    					// If no mem phi, take mem of any predecessor.
    					mem = lastmem[b.Preds[0].b.ID]
    				}
    				for _, a := range v.Args {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 09 16:41:23 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/rewriteLOONG64.go

    		v.AddArg2(ptr, mem)
    		return true
    	}
    	// match: (Load <t> ptr mem)
    	// cond: (is16BitInt(t) && t.IsSigned())
    	// result: (MOVHload ptr mem)
    	for {
    		t := v.Type
    		ptr := v_0
    		mem := v_1
    		if !(is16BitInt(t) && t.IsSigned()) {
    			break
    		}
    		v.reset(OpLOONG64MOVHload)
    		v.AddArg2(ptr, mem)
    		return true
    	}
    	// match: (Load <t> ptr mem)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 19:26:25 UTC 2023
    - 195.8K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/func_test.go

    		{
    			cfg.Fun("entry",
    				Bloc("entry",
    					Valu("mem", OpInitMem, types.TypeMem, 0, nil),
    					Goto("exit")),
    				Bloc("exit",
    					Exit("mem"))),
    			cfg.Fun("entry",
    				Bloc("entry",
    					Valu("mem", OpInitMem, types.TypeMem, 0, nil),
    					Exit("mem"))),
    		},
    		// value order changed
    		{
    			cfg.Fun("entry",
    				Bloc("entry",
    					Valu("mem", OpInitMem, types.TypeMem, 0, nil),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:01:04 UTC 2023
    - 13.1K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssa/_gen/ARM64Ops.go

    		{name: "MOVWstoreidx", argLength: 4, reg: gpstore2, asm: "MOVW", typ: "Mem"},   // store 4 bytes of arg2 to arg0 + arg1, arg3 = mem.
    		{name: "MOVDstoreidx", argLength: 4, reg: gpstore2, asm: "MOVD", typ: "Mem"},   // store 8 bytes of arg2 to arg0 + arg1, arg3 = mem.
    		{name: "FMOVSstoreidx", argLength: 4, reg: fpstore2, asm: "FMOVS", typ: "Mem"}, // store 32-bit float of arg2 to arg0 + arg1, arg3=mem.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 58.8K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssa/_gen/dec.rules

    (StringLen x:(Load <t> ptr mem)) && t.IsString() => @x.Block (Load <typ.Int>
          (OffPtr <typ.IntPtr> [config.PtrSize] ptr)
          mem)
    
    // NOTE removed must-not-be-SSA condition.
    (StructSelect [i] x:(Load <t> ptr mem)) =>
      @x.Block (Load <v.Type> (OffPtr <v.Type.PtrTo()> [t.FieldOff(int(i))] ptr) mem)
    
    (ITab x:(Load <t> ptr mem)) && t.IsInterface() => @x.Block (Load <typ.Uintptr> ptr mem)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 12 00:48:31 UTC 2023
    - 6.9K bytes
    - Viewed (0)
Back to top