Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 459 for Atack (0.04 sec)

  1. src/net/iprawsock_test.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package net
    
    import (
    	"internal/testenv"
    	"reflect"
    	"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
    
    type resolveIPAddrTest struct {
    	network       string
    	litAddrOrName string
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 18 17:20:52 UTC 2023
    - 6K bytes
    - Viewed (0)
  2. src/sync/oncefunc_test.go

    	// Test that on the first invocation of a OnceFunc, the stack trace goes all
    	// the way to the origin of the panic.
    	f := sync.OnceFunc(onceFuncPanic)
    
    	defer func() {
    		if p := recover(); p != "x" {
    			t.Fatalf("want panic %v, got %v", "x", p)
    		}
    		stack := debug.Stack()
    		want := "sync_test.onceFuncPanic"
    		if !bytes.Contains(stack, []byte(want)) {
    			t.Fatalf("want stack containing %v, got:\n%s", want, string(stack))
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 17:31:33 UTC 2023
    - 6.9K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssagen/nowb.go

    				call = funcs[call.target]
    			}
    			// Seeing this error in a failed CI run? It indicates that
    			// a function in the runtime package marked nowritebarrierrec
    			// (the outermost stack element) was found, by a static
    			// reachability analysis over the fully lowered optimized code,
    			// to call a function (fn) that involves a write barrier.
    			//
    			// Even if the call path is infeasable,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 17:29:46 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  4. src/runtime/heapdump.go

    	stw := stopTheWorld(stwWriteHeapDump)
    
    	// Keep m on this G's stack instead of the system stack.
    	// Both readmemstats_m and writeheapdump_m have pretty large
    	// peak stack depths and we risk blowing the system stack.
    	// This is safe because the world is stopped, so we don't
    	// need to worry about anyone shrinking and therefore moving
    	// our stack.
    	var m MemStats
    	systemstack(func() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 09 04:07:57 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  5. src/net/sock_posix.go

    	//   destination-specific datagram connection, known as a
    	//   dialer
    	//
    	// - An endpoint holder that opens the other connection, such
    	//   as talking to the protocol stack inside the kernel
    	//
    	// For stream and datagram listeners, they will only require
    	// named sockets, so we can assume that it's just a request
    	// from stream or datagram listeners when laddr is not nil but
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 18 17:20:52 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  6. src/runtime/lock_sema.go

    	gp.m.blocked = false
    }
    
    //go:nosplit
    func notetsleep_internal(n *note, ns int64, gp *g, deadline int64) bool {
    	// gp and deadline are logically local variables, but they are written
    	// as parameters so that the stack space they require is charged
    	// to the caller.
    	// This reduces the nosplit footprint of notetsleep_internal.
    	gp = getg()
    
    	// Register for wakeup on n->waitm.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:37 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  7. src/context/x_test.go

    			buf := make([]byte, 10<<10)
    			n := runtime.Stack(buf, true)
    			t.Fatalf("timed out after %v waiting for <-ctx.Done(); stacks:\n%s", d, buf[:n])
    		}
    	}
    	// Wait for all the cancel functions to return.
    	done := make(chan struct{})
    	go func() {
    		wg.Wait()
    		close(done)
    	}()
    	select {
    	case <-done:
    	case <-stuck:
    		buf := make([]byte, 10<<10)
    		n := runtime.Stack(buf, true)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  8. src/runtime/export_test.go

    func G0StackOverflow() {
    	systemstack(func() {
    		g0 := getg()
    		sp := getcallersp()
    		// The stack bounds for g0 stack is not always precise.
    		// Use an artificially small stack, to trigger a stack overflow
    		// without actually run out of the system stack (which may seg fault).
    		g0.stack.lo = sp - 4096 - stackSystem
    		g0.stackguard0 = g0.stack.lo + stackGuard
    		g0.stackguard1 = g0.stackguard0
    
    		stackOverflow(nil)
    	})
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:50:53 UTC 2024
    - 46.1K bytes
    - Viewed (0)
  9. src/runtime/lock_js.go

    	for n, nt := range notesWithTimeout {
    		if n.key == note_cleared && now >= nt.deadline {
    			n.key = note_timeout
    			goready(nt.gp, 1)
    		}
    	}
    }
    
    // events is a stack of calls from JavaScript into Go.
    var events []*event
    
    type event struct {
    	// g was the active goroutine when the call from JavaScript occurred.
    	// It needs to be active when returning to JavaScript.
    	gp *g
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 21:02:20 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  10. src/cmd/internal/obj/arm64/obj7.go

    				// the traceback code will not see a half-updated stack frame.
    				// Also, on Linux, in a cgo binary we may get a SIGSETXID signal
    				// early on before the signal stack is set, as glibc doesn't allow
    				// us to block SIGSETXID. So it is important that we don't write below
    				// the SP until the signal stack is set.
    				// Luckily, all the functions from thread entry to setting the signal
    				// stack have small frames.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 08 05:46:32 UTC 2023
    - 28.4K bytes
    - Viewed (0)
Back to top