Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 237 for Atack (0.12 sec)

  1. src/regexp/backtrack.go

    //
    // backtrack is a fast replacement for the NFA code on small
    // regexps when onepass cannot be used.
    
    package regexp
    
    import (
    	"regexp/syntax"
    	"sync"
    )
    
    // A job is an entry on the backtracker's job stack. It holds
    // the instruction pc and the position in the input.
    type job struct {
    	pc  uint32
    	arg bool
    	pos int
    }
    
    const (
    	visitedBits        = 32
    	maxBacktrackProg   = 500        // len(prog.Inst) <= max
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 14 17:25:39 UTC 2023
    - 8.8K bytes
    - Viewed (0)
  2. src/runtime/nonwindows_stub.go

    func enableWER() {}
    
    // winlibcall is not implemented on non-Windows systems,
    // but it is used in non-OS-specific parts of the runtime.
    // Define it as an empty struct to avoid wasting stack space.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 03:12:13 UTC 2024
    - 962 bytes
    - Viewed (0)
  3. test/fixedbugs/issue40954.go

    	// we stored an integer in that pointer. That integer just happens
    	// to be the address of i.
    	// v is also the address of i.
    	// p has a base type which is marked not-in-heap, so it
    	// should not be adjusted when the stack is copied.
    	recurse(100, p, v)
    }
    func recurse(n int, p *S, v uintptr) {
    	if n > 0 {
    		recurse(n-1, p, v)
    	}
    	if uintptr(unsafe.Pointer(p)) != v {
    		panic("adjusted notinheap pointer")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 02 15:27:18 UTC 2022
    - 874 bytes
    - Viewed (0)
  4. test/abi/bad_internal_offsets.go

    	F1 string
    	F2 StructF0S1
    }
    
    type StructF0S1 struct {
    	_ uint16
    }
    
    // 0 returns 3 params
    //go:registerparams
    //go:noinline
    func Test0(p0 uint32, p1 StructF0S0, p2 int32) {
    	// consume some stack space, so as to trigger morestack
    	var pad [256]uint64
    	pad[FailCount]++
    	if p0 == 0 {
    		return
    	}
    	p1f0c := int16(-3096)
    	if p1.F0 != p1f0c {
    		NoteFailureElem(0, "genChecker0", "parm", 1, 0, pad[0])
    		return
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  5. src/cmd/internal/obj/inl.go

    		Parent: parent,
    		Pos:    pos,
    		Func:   func_,
    		Name:   name,
    	}
    	tree.nodes = append(tree.nodes, call)
    	return r
    }
    
    // AllParents invokes do on each InlinedCall in the inlining call
    // stack, from outermost to innermost.
    //
    // That is, if inlIndex corresponds to f inlining g inlining h,
    // AllParents invokes do with the call for inlining g into f, and then
    // inlining h into g.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 22 22:47:15 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  6. src/internal/trace/traceviewer/format/format.go

    	Time      float64 `json:"ts"`
    	Dur       float64 `json:"dur,omitempty"`
    	PID       uint64  `json:"pid"`
    	TID       uint64  `json:"tid"`
    	ID        uint64  `json:"id,omitempty"`
    	BindPoint string  `json:"bp,omitempty"`
    	Stack     int     `json:"sf,omitempty"`
    	EndStack  int     `json:"esf,omitempty"`
    	Arg       any     `json:"args,omitempty"`
    	Cname     string  `json:"cname,omitempty"`
    	Category  string  `json:"cat,omitempty"`
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 20:45:06 UTC 2023
    - 2K bytes
    - Viewed (0)
  7. src/runtime/testdata/testprog/checkptr.go

    }
    
    // CheckPtrAlignmentNilPtr tests that checkptrAlignment doesn't crash
    // on nil pointers (#47430).
    func CheckPtrAlignmentNilPtr() {
    	var do func(int)
    	do = func(n int) {
    		// Inflate the stack so runtime.shrinkstack gets called during GC
    		if n > 0 {
    			do(n - 1)
    		}
    
    		var p unsafe.Pointer
    		_ = (*int)(p)
    	}
    
    	go func() {
    		for {
    			runtime.GC()
    		}
    	}()
    
    	go func() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 31 17:15:15 UTC 2022
    - 2.4K bytes
    - Viewed (0)
  8. src/runtime/mpagecache.go

    }
    
    // flush empties out unallocated free pages in the given cache
    // into s. Then, it clears the cache, such that empty returns
    // true.
    //
    // p.mheapLock must be held.
    //
    // Must run on the system stack because p.mheapLock must be held.
    //
    //go:systemstack
    func (c *pageCache) flush(p *pageAlloc) {
    	assertLockHeld(p.mheapLock)
    
    	if c.empty() {
    		return
    	}
    	ci := chunkIndex(c.base)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 19 14:30:00 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  9. src/cmd/cgo/internal/test/callback_windows.go

    	}
    	return i;
    #else
    	return 0;
    #endif
    }
    */
    import "C"
    
    import (
    	"internal/testenv"
    	"reflect"
    	"runtime"
    	"strings"
    	"testing"
    	"unsafe"
    )
    
    // Test that the stack can be unwound through a call out and call back
    // into Go.
    func testCallbackCallersSEH(t *testing.T) {
    	testenv.SkipIfOptimizationOff(t) // This test requires inlining.
    	if runtime.Compiler != "gc" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 29 16:01:37 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  10. src/cmd/trace/jsontrace_test.go

    	}
    }
    
    // filterStackRootFunc returns an event filter that returns true if the function
    // at the root of the stack trace is named name.
    func filterStackRootFunc(name string) eventFilterFn {
    	return func(e *format.Event, data *format.Data) bool {
    		frames := stackFrames(data, e.Stack)
    		rootFrame := frames[len(frames)-1]
    		return strings.HasPrefix(rootFrame, name+":")
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 7.8K bytes
    - Viewed (0)
Back to top