Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 175 for Atack (0.03 sec)

  1. src/cmd/vendor/github.com/google/pprof/internal/driver/stacks.go

    		cfg.CallTree = true
    		cfg.Trim = false
    		cfg.Granularity = "filefunctions"
    	})
    	if rpt == nil {
    		return // error already reported
    	}
    
    	// Make stack data and generate corresponding JSON.
    	stacks := rpt.Stacks()
    	b, err := json.Marshal(stacks)
    	if err != nil {
    		http.Error(w, "error serializing stacks for flame graph",
    			http.StatusInternalServerError)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  2. src/crypto/cipher/cfb.go

    func NewCFBDecrypter(block Block, iv []byte) Stream {
    	return newCFB(block, iv, true)
    }
    
    func newCFB(block Block, iv []byte, decrypt bool) Stream {
    	blockSize := block.BlockSize()
    	if len(iv) != blockSize {
    		// stack trace will indicate whether it was de or encryption
    		panic("cipher.newCFB: IV length must equal block size")
    	}
    	x := &cfb{
    		b:       block,
    		out:     make([]byte, blockSize),
    		next:    make([]byte, blockSize),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 17:09:47 UTC 2023
    - 2K bytes
    - Viewed (0)
  3. src/crypto/ecdh/ecdh.go

    	boring    *boring.PublicKeyECDH
    }
    
    // Bytes returns a copy of the encoding of the public key.
    func (k *PublicKey) Bytes() []byte {
    	// Copy the public key to a fixed size buffer that can get allocated on the
    	// caller's stack after inlining.
    	var buf [133]byte
    	return append(buf[:0], k.publicKey...)
    }
    
    // Equal returns whether x represents the same public key as k.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 17:09:47 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  4. src/runtime/os_openbsd_syscall2.go

    // return value is only set on linux to be used in osinit().
    func madvise(addr unsafe.Pointer, n uintptr, flags int32) int32
    
    // exitThread terminates the current thread, writing *wait = freeMStack when
    // the stack is safe to reclaim.
    //
    //go:noescape
    func exitThread(wait *atomic.Uint32)
    
    //go:noescape
    func obsdsigprocmask(how int32, new sigset) sigset
    
    //go:nosplit
    //go:nowritebarrierrec
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  5. 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)
  6. src/syscall/exec_libc2.go

    // they might have been locked at the time of the fork. This means
    // no rescheduling, no malloc calls, and no new stack segments.
    // For the same reason compiler does not race instrument it.
    // The calls to rawSyscall are okay because they are assembly
    // functions that do not grow the stack.
    //
    //go:norace
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 29 18:51:35 UTC 2023
    - 8.2K bytes
    - Viewed (0)
  7. 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)
  8. src/cmd/compile/internal/types2/errors.go

    )
    
    func assert(p bool) {
    	if !p {
    		msg := "assertion failed"
    		// Include information about the assertion location. Due to panic recovery,
    		// this location is otherwise buried in the middle of the panicking stack.
    		if _, file, line, ok := runtime.Caller(1); ok {
    			msg = fmt.Sprintf("%s:%d: %s", file, line, msg)
    		}
    		panic(msg)
    	}
    }
    
    // An errorDesc describes part of a type-checking error.
    type errorDesc struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 29 22:06:18 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  9. src/net/protoconn_test.go

    // This file implements API tests across platforms and will never have a build
    // tag.
    
    package net
    
    import (
    	"internal/testenv"
    	"os"
    	"runtime"
    	"testing"
    	"time"
    )
    
    // 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 TestTCPListenerSpecificMethods(t *testing.T) {
    	switch runtime.GOOS {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 18 17:20:52 UTC 2023
    - 7.4K bytes
    - Viewed (0)
  10. src/runtime/coro.go

    // and then blocks the current goroutine on c.
    func coroswitch(c *coro) {
    	gp := getg()
    	gp.coroarg = c
    	mcall(coroswitch_m)
    }
    
    // coroswitch_m is the implementation of coroswitch
    // that runs on the m stack.
    //
    // Note: Coroutine switches are expected to happen at
    // an order of magnitude (or more) higher frequency
    // than regular goroutine switches, so this path is heavily
    // optimized to remove unnecessary work.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:09:18 UTC 2024
    - 7.4K bytes
    - Viewed (0)
Back to top