Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 215 for original (0.16 sec)

  1. src/cmd/go/internal/modload/build.go

    			Time:    &info.Time,
    		}
    	}
    }
    
    // mergeOrigin returns the union of data from two origins,
    // returning either a new origin or one of its unmodified arguments.
    // If the two origins conflict including if either is nil,
    // mergeOrigin returns nil.
    func mergeOrigin(m1, m2 *codehost.Origin) *codehost.Origin {
    	if m1 == nil || m2 == nil {
    		return nil
    	}
    
    	if m2.VCS != m1.VCS ||
    		m2.URL != m1.URL ||
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 16:56:39 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types2/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
    - 11K bytes
    - Viewed (0)
  3. src/net/http/response.go

    	// content actually set from the server, ContentLength is set to -1,
    	// and the "Content-Length" and "Content-Encoding" fields are deleted
    	// from the responseHeader. To get the original response from
    	// the server, set Transport.DisableCompression to true.
    	Uncompressed bool
    
    	// Trailer maps trailer keys to values in the same
    	// format as Header.
    	//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 03:29:50 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  4. src/runtime/signal_windows.go

    	// loading SP from RX and jumping to RY, being RX and RY two scratch registers.
    	// Note that blindly smashing RX and RY is only safe because we know sigpanic
    	// will not actually return to the original frame, so the registers
    	// are effectively dead. But this does mean we can't use the
    	// same mechanism for async preemption.
    	if ep.context.ip() == abi.FuncPCABI0(sigresume) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 17 20:32:29 UTC 2023
    - 14.5K bytes
    - Viewed (0)
  5. src/go/constant/value.go

    	case ox > oy:
    		y, x = match0(y, x)
    	}
    	return x, y
    }
    
    // match0 must only be called by match.
    // Invariant: ord(x) < ord(y)
    func match0(x, y Value) (_, _ Value) {
    	// Prefer to return the original x and y arguments when possible,
    	// to avoid unnecessary heap allocations.
    
    	switch y.(type) {
    	case intVal:
    		switch x1 := x.(type) {
    		case int64Val:
    			return i64toi(x1), y
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 34K bytes
    - Viewed (0)
  6. src/syscall/syscall_linux.go

    //sys	Mlockall(flags int) (err error)
    //sys	Munlockall() (err error)
    
    // prlimit changes a resource limit. We use a single definition so that
    // we can tell StartProcess to not restore the original NOFILE limit.
    //
    // golang.org/x/sys linknames prlimit.
    // Do not remove or change the type signature.
    //
    //go:linkname prlimit
    func prlimit(pid int, resource int, newlimit *Rlimit, old *Rlimit) (err error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 20:12:46 UTC 2024
    - 35.7K bytes
    - Viewed (0)
  7. src/regexp/syntax/parse_test.go

    		d := dump(re)
    		if d != tt.Dump {
    			t.Errorf("Parse(%#q).Dump() = %#q want %#q", tt.Regexp, d, tt.Dump)
    			continue
    		}
    
    		s := re.String()
    		if s != tt.Regexp {
    			// If ToString didn't return the original regexp,
    			// it must have found one with fewer parens.
    			// Unfortunately we can't check the length here, because
    			// ToString produces "\\{" for a literal brace,
    			// but "{" is a shorter equivalent in some contexts.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 16 16:02:30 UTC 2023
    - 16.2K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/dwarfgen/dwinl.go

    package dwarfgen
    
    import (
    	"fmt"
    	"strings"
    
    	"cmd/compile/internal/base"
    	"cmd/compile/internal/ir"
    	"cmd/internal/dwarf"
    	"cmd/internal/obj"
    	"cmd/internal/src"
    )
    
    // To identify variables by original source position.
    type varPos struct {
    	DeclName string
    	DeclFile string
    	DeclLine uint
    	DeclCol  uint
    }
    
    // This is the main entry point for collection of raw material to
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 20:45:07 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  9. src/cmd/internal/obj/sym.go

    		// Data must be in a reliable order for reproducible builds.
    		// The original entries are in a reliable order, but the TOC symbols
    		// that are added in Progedit are added by different goroutines
    		// that can be scheduled independently. We need to reorder those
    		// symbols reliably. Sort by name but use a stable sort, so that
    		// any original entries with the same name (all DWARFVAR symbols
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 14:41:10 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  10. src/image/color/ycbcr.go

    	//	116130 = roundToNearestInteger(1.77200 * 65536).
    	//
    	// Adding a rounding adjustment in the range [0, 1<<16-1] and then shifting
    	// right by 16 gives us an integer math version of the original formulae.
    	//	R = (65536*Y' +  91881 *(Cr-128)                  + adjustment) >> 16
    	//	G = (65536*Y' -  22554 *(Cb-128) - 46802*(Cr-128) + adjustment) >> 16
    	//	B = (65536*Y' + 116130 *(Cb-128)                  + adjustment) >> 16
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:45 UTC 2023
    - 10.8K bytes
    - Viewed (0)
Back to top