Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 216 for original (0.14 sec)

  1. src/cmd/go/internal/mvs/mvs_test.go

    			fns = append(fns, func(t *testing.T) {
    				list, err := Upgrade(m(kf[1]), reqs, ms(kf[2:])...)
    				if err == nil {
    					// Copy the reqs map, but substitute the upgraded requirements in
    					// place of the target's original requirements.
    					upReqs := make(reqsMap, len(reqs))
    					for m, r := range reqs {
    						upReqs[m] = r
    					}
    					upReqs[m(kf[1])] = list
    
    					list, err = Req(m(kf[1]), nil, upReqs)
    				}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 23 19:01:26 UTC 2023
    - 11.5K bytes
    - Viewed (0)
  2. src/internal/trace/oldtrace.go

    // GoSyscallStart+GoSyscallEnd, unless we observe a GoSysBlock, in which case we
    // emit a GoSyscallStart+GoSyscallEndBlocked pair with the correct duration
    // (i.e. starting at the original GoSyscall).
    //
    // The resulting trace treats the old trace as a single, large generation,
    // sharing a single evTable for all events.
    //
    // We use a new (compared to what was used for 'go tool trace' in earlier
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  3. src/log/slog/value.go

    //
    // Given a value of one of Go's predeclared string, bool, or
    // (non-complex) numeric types, AnyValue returns a Value of kind
    // [KindString], [KindBool], [KindUint64], [KindInt64], or [KindFloat64].
    // The width of the original numeric type is not preserved.
    //
    // Given a [time.Time] or [time.Duration] value, AnyValue returns a Value of kind
    // [KindTime] or [KindDuration]. The monotonic time is not preserved.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 16:12:08 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  4. src/crypto/tls/handshake_client_tls13.go

    	var echRetryConfigList []byte
    	if hs.echContext != nil {
    		confTranscript := cloneHash(hs.echContext.innerTranscript, hs.suite.hash)
    		confTranscript.Write(hs.serverHello.original[:30])
    		confTranscript.Write(make([]byte, 8))
    		confTranscript.Write(hs.serverHello.original[38:])
    		acceptConfirmation := hs.suite.expandLabel(
    			hs.suite.extract(hs.echContext.innerHello.random, nil),
    			"ech accept confirmation",
    			confTranscript.Sum(nil),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 27.9K bytes
    - Viewed (0)
  5. src/unsafe/unsafe.go

    // It is also valid to use &^ to round pointers, usually for alignment.
    // In all cases, the result must continue to point into the original allocated object.
    //
    // Unlike in C, it is not valid to advance a pointer just beyond the end of
    // its original allocation:
    //
    //	// INVALID: end points outside allocated space.
    //	var s thing
    //	end = unsafe.Pointer(uintptr(unsafe.Pointer(&s)) + unsafe.Sizeof(s))
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 19:45:20 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  6. src/go/types/instantiate.go

    // Methods attached to a *Named type are also instantiated, and associated with
    // a new *Func that has the same position as the original method, but nil function
    // scope.
    //
    // If ctxt is non-nil, it may be used to de-duplicate the instance against
    // previous instances with the same identity. As a special case, generic
    // *Signature origin types are only considered identical if they are pointer
    // equivalent, so that instantiating distinct (but possibly identical)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  7. src/regexp/all_test.go

    	re := compileTest(t, test.pat, "")
    	if re == nil {
    		return
    	}
    	m1 := re.MatchString(test.text)
    	m2 := re.Copy().MatchString(test.text)
    	if m1 != m2 {
    		t.Errorf("Copied Regexp match failure on %s: original gave %t; copy gave %t; should be %t",
    			test, m1, m2, len(test.matches) > 0)
    	}
    }
    
    func TestCopyMatch(t *testing.T) {
    	for _, test := range findTests {
    		copyMatchTest(t, &test)
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:36:03 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  8. src/go/types/subst.go

    		// careful not to call any methods that would cause t to be expanded: doing
    		// so would result in deadlock.
    		//
    		// So we call t.Origin().TypeParams() rather than t.TypeParams().
    		orig := t.Origin()
    		n := orig.TypeParams().Len()
    		if n == 0 {
    			return t // type is not parameterized
    		}
    
    		if t.TypeArgs().Len() != n {
    			return Typ[Invalid] // error reported elsewhere
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:04:07 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  9. src/cmd/go/internal/cfg/cfg.go

    }
    
    // An EnvVar is an environment variable Name=Value.
    type EnvVar struct {
    	Name    string
    	Value   string
    	Changed bool // effective Value differs from default
    }
    
    // OrigEnv is the original environment of the program at startup.
    var OrigEnv []string
    
    // CmdEnv is the new environment for running go tool commands.
    // User binaries (during go test or go run) are run with OrigEnv,
    // not CmdEnv.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 17:13:51 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/sys/unix/syscall_bsd.go

    	}
    
    	// Read into buffer of that size.
    	buf := make([]byte, n)
    	if err := sysctl(mib, &buf[0], &n, nil, 0); err != nil {
    		return nil, err
    	}
    
    	// The actual call may return less than the original reported required
    	// size so ensure we deal with that.
    	return buf[:n], nil
    }
    
    func SysctlClockinfo(name string) (*Clockinfo, error) {
    	mib, err := sysctlmib(name)
    	if err != nil {
    		return nil, err
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 29 21:28:33 UTC 2023
    - 15K bytes
    - Viewed (0)
Back to top