Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 212 for Mem (0.02 sec)

  1. src/internal/fuzz/worker_test.go

    	}
    
    	mem, err := sharedMemTempFile(workerSharedMemSize)
    	if err != nil {
    		b.Fatalf("failed to create temporary shared memory file: %s", err)
    	}
    	defer func() {
    		if err := mem.Close(); err != nil {
    			b.Error(err)
    		}
    	}()
    
    	initialVal := []any{make([]byte, 32)}
    	encodedVals := marshalCorpusFile(initialVal...)
    	mem.setValue(encodedVals)
    
    	ws.memMu <- mem
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 4.8K bytes
    - Viewed (0)
  2. src/cmd/go/testdata/script/test_write_profiles_on_timeout.txt

    # Tests issue 19394
    
    [short] skip
    
    ! go test -cpuprofile cpu.pprof -memprofile mem.pprof -timeout 1ms
    stdout '^panic: test timed out'
    grep . cpu.pprof
    grep . mem.pprof
    
    -- go.mod --
    module profiling
    
    go 1.16
    -- timeout_test.go --
    package timeouttest_test
    
    import (
    	"testing"
    	"time"
    )
    
    func TestSleep(t *testing.T) {
    	for {
    		time.Sleep(1 * time.Second)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 04 17:47:28 UTC 2021
    - 360 bytes
    - Viewed (0)
  3. src/internal/fuzz/worker.go

    		defer cancel()
    	}
    	mem := <-ws.memMu
    	ws.m.r.save(&mem.header().randState, &mem.header().randInc)
    	defer func() {
    		resp.Count = mem.header().count
    		ws.memMu <- mem
    	}()
    	if args.Limit > 0 && mem.header().count >= args.Limit {
    		resp.InternalErr = fmt.Sprintf("mem.header().count %d already exceeds args.Limit %d", mem.header().count, args.Limit)
    		return resp
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 37.7K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/loopreschedchecks.go

    	defer f.Cache.freeValueSlice(memDefsAtBlockEnds)
    
    	// Propagate last mem definitions forward through successor blocks.
    	for i := len(po) - 1; i >= 0; i-- {
    		b := po[i]
    		mem := lastMems[b.ID]
    		for j := 0; mem == nil; j++ { // if there's no def, then there's no phi, so the visible mem is identical in all predecessors.
    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/rewrite386.go

    	// cond: y.Uses==1 && clobber(y)
    	// result: (ADDLmodify [off] {sym} ptr x mem)
    	for {
    		off := auxIntToInt32(v.AuxInt)
    		sym := auxToSym(v.Aux)
    		ptr := v_0
    		y := v_1
    		if y.Op != Op386ADDLload || auxIntToInt32(y.AuxInt) != off || auxToSym(y.Aux) != sym {
    			break
    		}
    		mem := y.Args[2]
    		x := y.Args[0]
    		if ptr != y.Args[1] || mem != v_2 || !(y.Uses == 1 && clobber(y)) {
    			break
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 21 21:05:46 UTC 2023
    - 262.4K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/_gen/LOONG64Ops.go

    		{name: "MOVHstore", argLength: 3, reg: gpstore, aux: "SymOff", asm: "MOVH", typ: "Mem", faultOnNilArg0: true, symEffect: "Write"}, // store 2 bytes of arg1 to arg0 + auxInt + aux.  arg2=mem.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 19:04:19 UTC 2023
    - 25.2K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/_gen/ARM.rules

    	(MOVHstore dst (MOVHUload src mem) mem)
    (Move [2] dst src mem) =>
    	(MOVBstore [1] dst (MOVBUload [1] src mem)
    		(MOVBstore dst (MOVBUload src mem) mem))
    (Move [4] {t} dst src mem) && t.Alignment()%4 == 0 =>
    	(MOVWstore dst (MOVWload src mem) mem)
    (Move [4] {t} dst src mem) && t.Alignment()%2 == 0 =>
    	(MOVHstore [2] dst (MOVHUload [2] src mem)
    		(MOVHstore dst (MOVHUload src mem) mem))
    (Move [4] dst src mem) =>
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 20 17:19:36 UTC 2023
    - 90.1K bytes
    - Viewed (0)
  8. pkg/kubelet/checkpointmanager/testing/util.go

    type MemStore struct {
    	mem map[string][]byte
    	sync.Mutex
    }
    
    // NewMemStore returns an instance of MemStore
    func NewMemStore() *MemStore {
    	return &MemStore{mem: make(map[string][]byte)}
    }
    
    // Write writes the data to the store
    func (mstore *MemStore) Write(key string, data []byte) error {
    	mstore.Lock()
    	defer mstore.Unlock()
    	mstore.mem[key] = data
    	return nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 16 05:30:20 UTC 2018
    - 1.7K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssa/_gen/MIPS64Ops.go

    		{name: "MOVHstore", argLength: 3, reg: gpstore, aux: "SymOff", asm: "MOVH", typ: "Mem", faultOnNilArg0: true, symEffect: "Write"}, // store 2 bytes of arg1 to arg0 + auxInt + aux.  arg2=mem.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 24 03:36:31 UTC 2023
    - 25.5K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssa/fuse_test.go

    	fun := c.Fun("entry",
    		Bloc("entry",
    			Valu("mem", OpInitMem, types.TypeMem, 0, nil),
    			Valu("b", OpArg, c.config.Types.Bool, 0, nil),
    			If("b", "then", "else")),
    		Bloc("then",
    			Valu("call1", OpStaticCall, types.TypeMem, 0, AuxCallLSym("_"), "mem"),
    			Goto("empty")),
    		Bloc("else",
    			Valu("call2", OpStaticCall, types.TypeMem, 0, AuxCallLSym("_"), "mem"),
    			Goto("empty")),
    		Bloc("empty",
    			Goto("loop")),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 31 20:45:54 UTC 2023
    - 7.4K bytes
    - Viewed (0)
Back to top