Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 309 for segs (0.24 sec)

  1. test/recover4.go

    // Copyright 2015 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Test that if a slice access causes a fault, a deferred func
    // sees the most recent value of the variables it accesses.
    // This is true today; the role of the test is to ensure it stays true.
    //
    // In the test, memcopy is the function that will fault, during dst[i] = src[i].
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  2. src/runtime/defs_linux_arm64.go

    }
    
    type stackt struct {
    	ss_sp     *byte
    	ss_flags  int32
    	pad_cgo_0 [4]byte
    	ss_size   uintptr
    }
    
    type sigcontext struct {
    	fault_address uint64
    	/* AArch64 registers */
    	regs       [31]uint64
    	sp         uint64
    	pc         uint64
    	pstate     uint64
    	_pad       [8]byte // __attribute__((__aligned__(16)))
    	__reserved [4096]byte
    }
    
    type sockaddr_un struct {
    	family uint16
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 19:05:10 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  3. test/solitaire.go

    const N = 11 + 1 // length of a board row (+1 for newline)
    
    // The board must be surrounded by 2 illegal fields in each direction
    // so that move() doesn't need to check the board boundaries. Periods
    // represent illegal fields, ● are pegs, and ○ are holes.
    var board = []rune(
    	`...........
    ...........
    ....●●●....
    ....●●●....
    ..●●●●●●●..
    ..●●●○●●●..
    ..●●●●●●●..
    ....●●●....
    ....●●●....
    ...........
    ...........
    `)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 24 00:48:19 UTC 2012
    - 2.9K bytes
    - Viewed (0)
  4. src/syscall/syscall_linux_mipsx.go

    	}
    
    	_, _, errno = RawSyscall(SYS_SETRLIMIT, uintptr(resource), uintptr(unsafe.Pointer(rlim)), 0)
    	return errno
    }
    
    func (r *PtraceRegs) PC() uint64 { return uint64(r.Regs[64]) }
    
    func (r *PtraceRegs) SetPC(pc uint64) { r.Regs[64] = uint32(pc) }
    
    func (iov *Iovec) SetLen(length int) {
    	iov.Len = uint32(length)
    }
    
    func (msghdr *Msghdr) SetControllen(length int) {
    	msghdr.Controllen = uint32(length)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 22:23:07 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/test/reproduciblebuilds_test.go

    	// backend, then check to make sure that the resulting archives
    	// are identical.  Note: this uses "go tool compile" instead of
    	// "go build" since the latter will generate different build IDs
    	// if it sees different command line flags.
    	scenarios := []struct {
    		tag     string
    		args    string
    		libpath string
    	}{
    		{tag: "serial", args: "-c=1"},
    		{tag: "concurrent", args: "-c=2"}}
    
    	tmpdir := t.TempDir()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 06 18:07:35 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  6. src/runtime/syscall_windows.go

    	a.retPop = c.retPop
    
    	// Convert from C to Go ABI.
    	var regs abi.RegArgs
    	var frame [callbackMaxFrame]byte
    	goArgs := unsafe.Pointer(&frame)
    	for _, part := range c.abiMap.parts {
    		switch part.kind {
    		case abiPartStack:
    			memmove(add(goArgs, part.dstStackOffset), add(a.args, part.srcStackOffset), part.len)
    		case abiPartReg:
    			goReg := unsafe.Pointer(&regs.Ints[part.dstRegister])
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 20:12:46 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/server/filters/wrap.go

    			// It recovers the panic, logs a stack trace to the server error log,
    			// and either closes the network connection or sends an HTTP/2
    			// RST_STREAM, depending on the HTTP protocol. To abort a handler so
    			// the client sees an interrupted response but the server doesn't log
    			// an error, panic with the value ErrAbortHandler.
    			//
    			// Note that HandleCrash function is actually crashing, after calling the handlers
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 26 16:28:45 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  8. src/runtime/defs_linux_ppc64le.go

    	ss_flags  int32
    	pad_cgo_0 [4]byte
    	ss_size   uintptr
    }
    
    type sigcontext struct {
    	_unused     [4]uint64
    	signal      int32
    	_pad0       int32
    	handler     uint64
    	oldmask     uint64
    	regs        *ptregs
    	gp_regs     [48]uint64
    	fp_regs     [33]float64
    	v_regs      *vreg
    	vmx_reserve [101]int64
    }
    
    type ucontext struct {
    	uc_flags    uint64
    	uc_link     *ucontext
    	uc_stack    stackt
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 19:05:10 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  9. platforms/core-runtime/time/src/main/java/org/gradle/internal/time/TimeFormatting.java

                result.append((durationMillis % MILLIS_PER_HOUR) / MILLIS_PER_MINUTE).append(" mins ");
            }
            result.append((durationMillis % MILLIS_PER_MINUTE) / 1000.0).append(" secs");
            return result.toString();
        }
    
        public static String formatDurationTerse(long elapsedTimeInMs) {
            StringBuilder result = new StringBuilder();
            if (elapsedTimeInMs >= MILLIS_PER_HOUR) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 20:20:17 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  10. platforms/jvm/jacoco/src/main/java/org/gradle/testing/jacoco/plugins/JacocoTaskExtension.java

        }
    
        /**
         * Path to dump all class files the agent sees are dumped to. Defaults to no dumps.
         *
         * @since 3.4
         */
        @Nullable
        @Optional
        @LocalState
        public File getClassDumpDir() {
            return classDumpDir;
        }
    
        /**
         * Sets path to dump all class files the agent sees are dumped to. Defaults to no dumps.
         *
         * @since 3.4
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 22 14:04:39 UTC 2024
    - 10.6K bytes
    - Viewed (0)
Back to top