Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 357 for Atack (0.05 sec)

  1. src/net/packetconn_test.go

    // license that can be found in the LICENSE file.
    
    // This file implements API tests across platforms and should never have a build
    // constraint.
    
    package net
    
    import (
    	"os"
    	"testing"
    )
    
    // The full stack test cases for IPConn have been moved to the
    // following:
    //	golang.org/x/net/ipv4
    //	golang.org/x/net/ipv6
    //	golang.org/x/net/icmp
    
    func packetConnTestData(t *testing.T, network string) ([]byte, func()) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 18 17:20:52 UTC 2023
    - 3K bytes
    - Viewed (0)
  2. src/runtime/histogram_test.go

    package runtime_test
    
    import (
    	"math"
    	. "runtime"
    	"testing"
    )
    
    var dummyTimeHistogram TimeHistogram
    
    func TestTimeHistogram(t *testing.T) {
    	// We need to use a global dummy because this
    	// could get stack-allocated with a non-8-byte alignment.
    	// The result of this bad alignment is a segfault on
    	// 32-bit platforms when calling Record.
    	h := &dummyTimeHistogram
    
    	// Record exactly one sample in each bucket.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 16 16:32:01 UTC 2022
    - 3.5K bytes
    - Viewed (0)
  3. src/cmd/cgo/internal/testsanitizers/testdata/msan6.go

    }
    */
    import "C"
    
    // allocateStack extends the stack so that stack copying doesn't
    // confuse the msan data structures.
    //
    //go:noinline
    func allocateStack(i int) int {
    	if i == 0 {
    		return i
    	}
    	return allocateStack(i - 1)
    }
    
    // F1 marks a chunk of stack as uninitialized.
    // C.f returns an uninitialized struct on the stack, so msan will mark
    // the stack as uninitialized.
    //
    //go:noinline
    func F1() uintptr {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  4. src/go/types/errorcalls_test.go

    func balancedParentheses(s string) bool {
    	var stack []byte
    	for _, ch := range s {
    		var open byte
    		switch ch {
    		case '(', '[', '{':
    			stack = append(stack, byte(ch))
    			continue
    		case ')':
    			open = '('
    		case ']':
    			open = '['
    		case '}':
    			open = '{'
    		default:
    			continue
    		}
    		// closing parenthesis/bracket must have matching opening
    		top := len(stack) - 1
    		if top < 0 || stack[top] != open {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 15 21:57:36 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/tools/go/analysis/validate.go

    				}
    			}
    			color[a] = black
    		}
    
    		if color[a] == grey {
    			stack := []*Analyzer{a}
    			inCycle := map[string]bool{}
    			for len(stack) > 0 {
    				current := stack[len(stack)-1]
    				stack = stack[:len(stack)-1]
    				if color[current] == grey && !inCycle[current.Name] {
    					inCycle[current.Name] = true
    					stack = append(stack, current.Requires...)
    				}
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 20 21:52:54 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  6. src/cmd/trace/threadgen.go

    	gs.augmentName(st.Stack)
    
    	// Handle the goroutine state transition.
    	from, to := st.Goroutine()
    	if from == to {
    		// Filter out no-op events.
    		return
    	}
    	if from.Executing() && !to.Executing() {
    		if to == trace.GoWaiting {
    			// Goroutine started blocking.
    			gs.block(ev.Time(), ev.Stack(), st.Reason, ctx)
    		} else {
    			gs.stop(ev.Time(), ev.Stack(), ctx)
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  7. src/cmd/vendor/github.com/google/pprof/internal/binutils/addr2liner.go

    		return nil, fmt.Errorf("unexpected addr2line output: %s", resp)
    	}
    
    	var stack []plugin.Frame
    	for {
    		frame, end := d.readFrame()
    		if end {
    			break
    		}
    
    		if frame != (plugin.Frame{}) {
    			stack = append(stack, frame)
    		}
    	}
    	return stack, err
    }
    
    // addrInfo returns the stack frame information for a specific program
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 15 16:39:48 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  8. src/runtime/internal/sys/consts.go

    // license that can be found in the LICENSE file.
    
    package sys
    
    import (
    	"internal/goarch"
    	"internal/goos"
    )
    
    // AIX requires a larger stack for syscalls.
    // The race build also needs more stack. See issue 54291.
    // This arithmetic must match that in cmd/internal/objabi/stack.go:stackGuardMultiplier.
    const StackGuardMultiplier = 1 + goos.IsAix + isRace
    
    // DefaultPhysPageSize is the default physical page size.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 18 16:26:25 UTC 2022
    - 1.4K bytes
    - Viewed (0)
  9. src/runtime/checkptr.go

    //
    //go:linkname checkptrBase
    func checkptrBase(p unsafe.Pointer) uintptr {
    	// stack
    	if gp := getg(); gp.stack.lo <= uintptr(p) && uintptr(p) < gp.stack.hi {
    		// TODO(mdempsky): Walk the stack to identify the
    		// specific stack frame or even stack object that p
    		// points into.
    		//
    		// In the mean time, use "1" as a pseudo-address to
    		// represent the stack. This is an invalid address on
    		// all platforms, so it's guaranteed to be distinct
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:18:55 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  10. test/fixedbugs/issue41635.go

    // license that can be found in the LICENSE file.
    
    package p
    
    func f() { // ERROR ""
    	n, m := 100, 200
    	_ = make([]byte, 1<<17)      // ERROR "too large for stack" ""
    	_ = make([]byte, 100, 1<<17) // ERROR "too large for stack" ""
    	_ = make([]byte, n, 1<<17)   // ERROR "too large for stack" ""
    
    	_ = make([]byte, n)      // ERROR "non-constant size" ""
    	_ = make([]byte, 100, m) // ERROR "non-constant size" ""
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Oct 03 13:02:20 UTC 2020
    - 546 bytes
    - Viewed (0)
Back to top