Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 343 for original (0.14 sec)

  1. src/cmd/dist/buildruntime.go

    //
    //	GOOS=linux GOARCH=ppc64 go build cmd/compile
    //
    // the resulting compiler will default to generating linux/ppc64 object files.
    // This is more useful than having it default to generating objects for the
    // original target (in this example, a Mac).
    func mkbuildcfg(file string) {
    	var buf strings.Builder
    	writeHeader(&buf)
    	fmt.Fprintf(&buf, "package buildcfg\n")
    	fmt.Fprintln(&buf)
    	fmt.Fprintf(&buf, "import \"runtime\"\n")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 06 01:33:19 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  2. src/net/tcpsock_unix_test.go

    				wg.Done()
    			}()
    			d := Dialer{Timeout: 50 * time.Millisecond}
    			c, err := d.Dial(ln.Addr().Network(), ln.Addr().String())
    			if err != nil {
    				if perr := parseDialError(err); perr != nil {
    					t.Errorf("#%d: %v (original error: %v)", i, perr, err)
    				}
    				return
    			}
    			var b [1]byte
    			if _, err := c.Write(b[:]); err != nil {
    				if perr := parseWriteError(err); perr != nil {
    					t.Errorf("#%d: %v", i, err)
    				}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 18 17:20:52 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  3. src/os/readfrom_linux_test.go

    	handled bool
    	err     error
    
    	original func(dst, src *poll.FD, remain int64) (int64, bool, error)
    }
    
    func (h *spliceFileHook) install() {
    	h.original = *PollSpliceFile
    	*PollSpliceFile = func(dst, src *poll.FD, remain int64) (int64, bool, error) {
    		h.called = true
    		h.dstfd = dst.Sysfd
    		h.srcfd = src.Sysfd
    		h.remain = remain
    		h.written, h.handled, h.err = h.original(dst, src, remain)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 21:49:26 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  4. src/image/ycbcr.go

    	return (y-p.Rect.Min.Y)*p.CStride + (x - p.Rect.Min.X)
    }
    
    // SubImage returns an image representing the portion of the image p visible
    // through r. The returned value shares pixels with the original image.
    func (p *YCbCr) SubImage(r Rectangle) Image {
    	r = r.Intersect(p.Rect)
    	// If r1 and r2 are Rectangles, r1.Intersect(r2) is not guaranteed to be inside
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:45 UTC 2023
    - 8.7K bytes
    - Viewed (0)
  5. src/go/types/object_test.go

    // the same Func Object as the original method. See also go.dev/issue/34421.
    func TestEmbeddedMethod(t *testing.T) {
    	const src = `package p; type I interface { error }`
    	pkg := mustTypecheck(src, nil, nil)
    
    	// get original error.Error method
    	eface := Universe.Lookup("error")
    	orig, _, _ := LookupFieldOrMethod(eface.Type(), false, nil, "Error")
    	if orig == nil {
    		t.Fatalf("original error.Error not found")
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 14:10:44 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  6. src/runtime/cgo/handle.go

    // breaking the cgo pointer passing rules. A Handle is an integer
    // value that can represent any Go value. A Handle can be passed
    // through C and back to Go, and Go code can use the Handle to
    // retrieve the original Go value.
    //
    // The underlying type of Handle is guaranteed to fit in an integer type
    // that is large enough to hold the bit pattern of any pointer. The zero
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 08 16:59:11 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/types2/errors.go

    		// constant initialization expression, pos is the position of
    		// the original expression, and not of the currently declared
    		// constant identifier. Use the provided errpos instead.
    		// TODO(gri) We may also want to augment the error message and
    		// refer to the position (pos) in the original expression.
    		if check.errpos.Pos().IsKnown() {
    			assert(check.iota != nil)
    			pos = check.errpos
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 29 22:06:18 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  8. src/cmd/objdump/main.go

    //
    //	file:line
    //	 address: assembly
    //	 address: assembly
    //	 ...
    //
    // Each stanza gives the disassembly for a contiguous range of addresses
    // all mapped to the same original source file and line number.
    // This mode is intended for use by pprof.
    package main
    
    import (
    	"flag"
    	"fmt"
    	"log"
    	"os"
    	"regexp"
    	"strconv"
    	"strings"
    
    	"cmd/internal/objfile"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  9. src/net/main_windows_test.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package net
    
    import "internal/poll"
    
    var (
    	// Placeholders for saving original socket system calls.
    	origWSASocket   = wsaSocketFunc
    	origClosesocket = poll.CloseFunc
    	origConnect     = connectFunc
    	origConnectEx   = poll.ConnectExFunc
    	origListen      = listenFunc
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 20 18:36:30 UTC 2023
    - 1K bytes
    - Viewed (0)
  10. src/vendor/golang.org/x/net/http/httpproxy/proxy.go

    	// setting HTTP_PROXY maliciously. See https://golang.org/s/cgihttpproxy.
    	CGI bool
    }
    
    // config holds the parsed configuration for HTTP proxy settings.
    type config struct {
    	// Config represents the original configuration as defined above.
    	Config
    
    	// httpsProxy is the parsed URL of the HTTPSProxy if defined.
    	httpsProxy *url.URL
    
    	// httpProxy is the parsed URL of the HTTPProxy if defined.
    	httpProxy *url.URL
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Mar 09 00:09:40 UTC 2024
    - 10K bytes
    - Viewed (0)
Back to top