Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 239 for kmem (0.06 sec)

  1. src/internal/fuzz/sys_posix.go

    		}
    	}
    	return nil
    }
    
    // setWorkerComm configures communication channels on the cmd that will
    // run a worker process.
    func setWorkerComm(cmd *exec.Cmd, comm workerComm) {
    	mem := <-comm.memMu
    	memFile := mem.f
    	comm.memMu <- mem
    	cmd.ExtraFiles = []*os.File{comm.fuzzIn, comm.fuzzOut, memFile}
    }
    
    // getWorkerComm returns communication channels in the worker process.
    func getWorkerComm() (comm workerComm, err error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 12 19:47:40 UTC 2022
    - 4.1K bytes
    - Viewed (0)
  2. pkg/kubelet/stats/provider_test.go

    	assert.EqualValues(t, seed+offsetMemUsageBytes, *stats.UsageBytes, label+".Mem.UsageBytes")
    	assert.EqualValues(t, seed+offsetMemWorkingSetBytes, *stats.WorkingSetBytes, label+".Mem.WorkingSetBytes")
    	assert.EqualValues(t, seed+offsetMemRSSBytes, *stats.RSSBytes, label+".Mem.RSSBytes")
    	assert.EqualValues(t, seed+offsetMemPageFaults, *stats.PageFaults, label+".Mem.PageFaults")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 08:12:16 UTC 2024
    - 20K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/sccp_test.go

    			Goto("b2")),
    		Bloc("b2",
    			Exit("mem")))
    	sccp(fun.f)
    	CheckFunc(fun.f)
    	for name, value := range fun.values {
    		if strings.HasPrefix(name, "t") {
    			if !isConst(value) {
    				t.Errorf("Must be constant: %v", value.LongString())
    			}
    		}
    	}
    }
    
    func TestSCCPIf(t *testing.T) {
    	c := testConfig(t)
    	fun := c.Fun("b1",
    		Bloc("b1",
    			Valu("mem", OpInitMem, types.TypeMem, 0, nil),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 12 21:01:50 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/arch/arm/armasm/decode.go

    	case arg_label_m_12:
    		d := int32(x & (1<<12 - 1))
    		return Mem{Base: PC, Mode: AddrOffset, Offset: int16(-d)}
    
    	case arg_label_p_12:
    		d := int32(x & (1<<12 - 1))
    		return Mem{Base: PC, Mode: AddrOffset, Offset: int16(d)}
    
    	case arg_label_pm_12:
    		d := int32(x & (1<<12 - 1))
    		u := (x >> 23) & 1
    		if u == 0 {
    			d = -d
    		}
    		return Mem{Base: PC, Mode: AddrOffset, Offset: int16(d)}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 22 17:16:14 UTC 2022
    - 12.6K bytes
    - Viewed (0)
  5. 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)
  6. src/cmd/compile/internal/ssa/compile.go

    			f.HTMLWriter.WritePhase(phaseName, fmt.Sprintf("%s <span class=\"stats\">%s</span>", phaseName, stats))
    		}
    		if p.time || p.mem {
    			// Surround timing information w/ enough context to allow comparisons.
    			time := tEnd.Sub(tStart).Nanoseconds()
    			if p.time {
    				f.LogStat("TIME(ns)", time)
    			}
    			if p.mem {
    				var mEnd runtime.MemStats
    				runtime.ReadMemStats(&mEnd)
    				nBytes := mEnd.TotalAlloc - mStart.TotalAlloc
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 14:55:18 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  7. src/runtime/mem_sbrk.go

    			print("runtime: ", unsafe.Pointer(p), " == ", unsafe.Pointer(p.next), "\n")
    			throw("mem: infinite loop")
    		}
    		if uintptr(unsafe.Pointer(p)) > uintptr(unsafe.Pointer(p.next)) {
    			print("runtime: ", unsafe.Pointer(p), " > ", unsafe.Pointer(p.next), "\n")
    			throw("mem: unordered list")
    		}
    		if uintptr(unsafe.Pointer(p))+p.size > uintptr(unsafe.Pointer(p.next)) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 19:05:10 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  8. test-site/activator

    # so they need not be messed around with individually.
    get_mem_opts () {
      local mem=${1:-1024}
      local meta=$(( $mem / 4 ))
      (( $meta > 256 )) || meta=256
      (( $meta < 1024 )) || meta=1024
    
      # default is to set memory options but this can be overridden by code section below
      memopts="-Xms${mem}m -Xmx${mem}m"
      if [[ "${java_version}" > "1.8" ]]; then
    Registered: Wed Jun 12 15:38:08 UTC 2024
    - Last Modified: Mon Apr 20 08:41:37 UTC 2015
    - 9.3K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssa/rewritegeneric.go

    	// match: (Move {t} [n] dst1 src mem:(Zero {t} [n] dst2 _))
    	// cond: isSamePtr(src, dst2)
    	// result: (Zero {t} [n] dst1 mem)
    	for {
    		n := auxIntToInt64(v.AuxInt)
    		t := auxToType(v.Aux)
    		dst1 := v_0
    		src := v_1
    		mem := v_2
    		if mem.Op != OpZero || auxIntToInt64(mem.AuxInt) != n || auxToType(mem.Aux) != t {
    			break
    		}
    		dst2 := mem.Args[0]
    		if !(isSamePtr(src, dst2)) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 18:24:47 UTC 2024
    - 812.2K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/types/size.go

    		default:
    			t.intRegs = math.MaxUint8
    			t.floatRegs = math.MaxUint8
    		}
    		switch a := t.Elem().alg; a {
    		case AMEM, ANOEQ, ANOALG:
    			t.setAlg(a)
    		default:
    			switch t.NumElem() {
    			case 0:
    				// We checked above that the element type is comparable.
    				t.setAlg(AMEM)
    			case 1:
    				// Single-element array is same as its lone element.
    				t.setAlg(a)
    			default:
    				t.setAlg(ASPECIAL)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 15K bytes
    - Viewed (0)
Back to top