Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 123 for segs (0.03 sec)

  1. src/cmd/vendor/github.com/google/pprof/internal/report/shortnames.go

    // (in decreasing preference) that can be used to represent name.
    func shortNameList(name string) []string {
    	name = graph.ShortenFunctionName(name)
    	seps := sepRE.FindAllStringIndex(name, -1)
    	result := make([]string, 0, len(seps)+1)
    	result = append(result, name)
    	for _, sep := range seps {
    		// Suffix starting just after sep
    		if sep[1] < len(name) {
    			result = append(result, name[sep[1]:])
    		}
    	}
    	return result
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 22 18:58:12 UTC 2022
    - 1.2K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/sys/unix/zptrace_linux_arm64.go

    	return ptracePtr(PTRACE_GETREGSET, pid, uintptr(addr), unsafe.Pointer(&iovec))
    }
    
    // PtraceSetRegSetArm64 sets the registers used by arm64 binaries.
    func PtraceSetRegSetArm64(pid, addr int, regs *PtraceRegsArm64) error {
    	iovec := Iovec{(*byte)(unsafe.Pointer(regs)), uint64(unsafe.Sizeof(*regs))}
    	return ptracePtr(PTRACE_SETREGSET, pid, uintptr(addr), unsafe.Pointer(&iovec))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 11 22:42:18 UTC 2023
    - 721 bytes
    - Viewed (0)
  3. test/fixedbugs/issue32477.go

    	// h is now unused
    	defer func() {
    		// h should not be live here. Previously we used to
    		// use the function entry point as the place to get
    		// the live map when handling a segv.
    		gc(true)
    		recover()
    	}()
    	*(*int)(nil) = 0 // trigger a segv
    	return
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 18:51:04 UTC 2019
    - 1.2K bytes
    - Viewed (0)
  4. src/net/tcpsockopt_windows.go

    	}
    
    	if d == 0 {
    		d = defaultTCPKeepAliveIdle
    	} else if d < 0 {
    		return nil
    	}
    	// The kernel expects seconds so round to next highest second.
    	secs := int(roundDurationUp(d, time.Second))
    	err := fd.pfd.SetsockoptInt(syscall.IPPROTO_TCP, windows.TCP_KEEPIDLE, secs)
    	runtime.KeepAlive(fd)
    	return os.NewSyscallError("setsockopt", err)
    }
    
    func setKeepAliveInterval(fd *netFD, d time.Duration) error {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 11:49:35 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  5. src/net/tcpsockopt_solaris.go

    	}
    
    	if d == 0 {
    		d = defaultTCPKeepAliveIdle
    	} else if d < 0 {
    		return nil
    	}
    	// The kernel expects seconds so round to next highest second.
    	secs := int(roundDurationUp(d, time.Second))
    	err := fd.pfd.SetsockoptInt(syscall.IPPROTO_TCP, sysTCP_KEEPIDLE, secs)
    	runtime.KeepAlive(fd)
    	return wrapSyscallError("setsockopt", err)
    }
    
    func setKeepAliveInterval(fd *netFD, d time.Duration) error {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 03:10:07 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  6. src/cmd/cgo/internal/testcshared/testdata/libgo4/libgo4.go

    //
    //export TestSEGV
    func TestSEGV() {
    	defer func() {
    		if recover() == nil {
    			fmt.Fprintln(os.Stderr, "no panic from segv")
    			os.Exit(1)
    		}
    	}()
    	*P = 0
    	fmt.Fprintln(os.Stderr, "continued after segv")
    	os.Exit(1)
    }
    
    func main() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 864 bytes
    - Viewed (0)
  7. src/cmd/cgo/internal/testcarchive/testdata/libgo2/libgo2.go

    //
    //export TestSEGV
    func TestSEGV() {
    	defer func() {
    		if recover() == nil {
    			fmt.Fprintln(os.Stderr, "no panic from segv")
    			os.Exit(1)
    		}
    	}()
    	*P = 0
    	fmt.Fprintln(os.Stderr, "continued after segv")
    	os.Exit(1)
    }
    
    // Noop ensures that the Go runtime is initialized.
    //
    //export Noop
    func Noop() {
    }
    
    // Raise SIGPIPE.
    //
    //export GoRaiseSIGPIPE
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  8. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/SequentialOutputMatcher.groovy

        }
    
        protected boolean compare(String expected, String actual) {
            if (actual == expected) {
                return true
            }
    
            if (expected == 'Total time: 1 secs') {
                return actual.matches('Total time: .+ secs')
            }
    
            // Normalise default object toString() values
            actual = actual.replaceAll('(\\w+(\\.\\w+)*)@\\p{XDigit}+', '$1@12345')
            // Normalise file separators
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  9. internal/http/dial_linux.go

    				_ = syscall.SetsockoptInt(fd, syscall.IPPROTO_TCP, syscall.TCP_KEEPCNT, 5)
    
    				// Wait time after successful probe in seconds.
    				// ~ cat /proc/sys/net/ipv4/tcp_keepalive_intvl (defaults to 75 secs, we reduce it to 15 secs)
    				_ = syscall.SetsockoptInt(fd, syscall.IPPROTO_TCP, syscall.TCP_KEEPINTVL, 15)
    			}
    
    			// Set tcp user timeout in addition to the keep-alive - tcp-keepalive is not enough to close a socket
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 22 23:07:14 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/snippets/tutorial/taskOnlyIf/tests/taskOnlyIf-info.out

    ...
    
    > Task :hello SKIPPED
    Skipping task ':hello' as task onlyIf 'there is no property skipHello' is false.
    :hello (Thread[included builds,5,main]) completed. Took 0.018 secs.
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 201 bytes
    - Viewed (0)
Back to top