Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 226 for Atack (0.14 sec)

  1. src/runtime/debug/example_monitor_test.go

    	//
    	// To observe the monitor in action, replace the entire text
    	// of this comment with "Output:" and run this command:
    	//
    	//    $ go test -run=ExampleSetCrashOutput_monitor runtime/debug
    	//    panic: oops
    	//    ...stack...
    	//    monitor: saved crash report at /tmp/10804884239807998216.crash
    }
    
    // appmain represents the 'main' function of your application.
    func appmain() {
    	monitor()
    
    	// Run the application.
    	println("hello")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 15:19:04 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  2. src/runtime/rand.go

    		// so we don't need to use mp.locks
    		// on the fast path, which is that the
    		// first attempt succeeds.
    		x, ok := c.Next()
    		if ok {
    			return x
    		}
    		mp.locks++ // hold m even though c.Refill may do stack split checks
    		c.Refill()
    		mp.locks--
    	}
    }
    
    // mrandinit initializes the random state of an m.
    func mrandinit(mp *m) {
    	var seed [4]uint64
    	for i := range seed {
    		seed[i] = bootstrapRand()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 14:32:47 UTC 2024
    - 8K bytes
    - Viewed (0)
  3. src/runtime/mbitmap.go

    		// ep's data pointer sometime before this point and it's possible
    		// for that memory to get freed.
    		KeepAlive(ep)
    		return
    	}
    
    	// stack
    	if gp := getg(); gp.m.curg.stack.lo <= uintptr(p) && uintptr(p) < gp.m.curg.stack.hi {
    		found := false
    		var u unwinder
    		for u.initAt(gp.m.curg.sched.pc, gp.m.curg.sched.sp, 0, gp.m.curg, 0); u.valid(); u.next() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:18:55 UTC 2024
    - 60K bytes
    - Viewed (0)
  4. src/runtime/metrics_test.go

    					}) {
    						// stk is a call stack that is still on the user stack when
    						// it calls runtime.unlock. Add the extra function that
    						// we'll see, when the static lock ranking implementation of
    						// runtime.unlockWithRank switches to the system stack.
    						stk = append([]string{"runtime.unlockWithRank"}, stk...)
    					}
    				}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 45K bytes
    - Viewed (0)
  5. src/cmd/cover/cover.go

    	cv := mkCounterVarName(len(f.pkg.counterLengths))
    	f.fn.counterVar = cv
    }
    
    func (f *File) postFunc(fn ast.Node, funcname string, flit bool, body *ast.BlockStmt) {
    
    	// Tack on single counter write if we are in "perfunc" mode.
    	singleCtr := ""
    	if pkgconfig.Granularity == "perfunc" {
    		singleCtr = "; " + f.newCounter(fn.Pos(), fn.Pos(), 1)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  6. src/runtime/string.go

    	return unsafe.String((*byte)(p), n)
    }
    
    // stringDataOnStack reports whether the string's data is
    // stored on the current goroutine's stack.
    func stringDataOnStack(s string) bool {
    	ptr := uintptr(unsafe.Pointer(unsafe.StringData(s)))
    	stk := getg().stack
    	return stk.lo <= ptr && ptr < stk.hi
    }
    
    func rawstringtmp(buf *tmpBuf, l int) (s string, b []byte) {
    	if buf != nil && l <= len(buf) {
    		b = buf[:l]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:17:26 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  7. src/math/big/int_test.go

    	for _, n := range []int64{0, 7, -7, 1 << 30, -1 << 30, 1 << 50, -1 << 50} {
    		x := NewInt(3)
    		got := testing.AllocsPerRun(100, func() {
    			// NewInt should inline, and all its allocations
    			// can happen on the stack. Passing the result of NewInt
    			// to Add should not cause any of those allocations to escape.
    			x.Add(x, NewInt(n))
    		})
    		if got != 0 {
    			t.Errorf("x.Add(x, NewInt(%d)), wanted 0 allocations, got %f", n, got)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 58.5K bytes
    - Viewed (0)
  8. src/cmd/go/internal/modget/get.go

    				// it unresolved. Either some other query (perhaps a wildcard matching a
    				// newly-added dependency for some other missing package) will fill in
    				// the gaps, or we will report an error (with a better import stack) in
    				// the final LoadPackages call.
    				return true
    			}
    		}
    
    		mu.Lock()
    		upgrades = append(upgrades, pathSet{path: path, pkgMods: pkgMods, err: err})
    		mu.Unlock()
    		return false
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 18:26:32 UTC 2024
    - 66.5K bytes
    - Viewed (0)
  9. src/cmd/link/internal/ld/lib.go

    		// or when immediate binding is explicitly requested,
    		// we force all symbol resolution to be done at program startup
    		// because lazy PLT resolution can use large amounts of stack at
    		// times we cannot allow it to do so.
    		argv = append(argv, "-Wl,-z,now")
    	}
    
    	if ctxt.IsELF && ctxt.DynlinkingGo() {
    		// Do not let the host linker generate COPY relocations. These
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 18:45:27 UTC 2024
    - 88.6K bytes
    - Viewed (0)
  10. src/cmd/internal/obj/s390x/asmz.go

    	op_AXTRA   uint32 = 0xB3DA // FORMAT_RRF1       ADD (extended DFP)
    	op_AY      uint32 = 0xE35A // FORMAT_RXY1       ADD (32)
    	op_BAKR    uint32 = 0xB240 // FORMAT_RRE        BRANCH AND STACK
    	op_BAL     uint32 = 0x4500 // FORMAT_RX1        BRANCH AND LINK
    	op_BALR    uint32 = 0x0500 // FORMAT_RR         BRANCH AND LINK
    	op_BAS     uint32 = 0x4D00 // FORMAT_RX1        BRANCH AND SAVE
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 16 17:46:09 UTC 2024
    - 176.7K bytes
    - Viewed (0)
Back to top