Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 400 for original (0.11 sec)

  1. 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)
  2. 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)
  3. src/crypto/rsa/boring.go

    // a particular key is never again modified, but that has not been a
    // stated assumption before. Just in case there is any existing code that
    // does modify the key between operations, we save the original values
    // alongside the cached BoringCrypto key and check that the real key
    // still matches before using the cached key. The theory is that the real
    // operations are significantly more expensive than the comparison.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 18 00:30:19 UTC 2022
    - 3.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/strconv/ftoaryu.go

    	"math/bits"
    )
    
    // binary to decimal conversion using the Ryū algorithm.
    //
    // See Ulf Adams, "Ryū: Fast Float-to-String Conversion" (doi:10.1145/3192366.3192369)
    //
    // Fixed precision formatting is a variant of the original paper's
    // algorithm, where a single multiplication by 10^k is required,
    // sharing the same rounding guarantees.
    
    // ryuFtoaFixed32 formats mant*(2^exp) with prec decimal digits.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 09 00:28:56 UTC 2022
    - 15.7K bytes
    - Viewed (0)
  7. src/cmd/go/internal/cmdflag/flag.go

    // A FlagNotDefinedError indicates a flag-like argument that does not correspond
    // to any registered flag in a FlagSet.
    type FlagNotDefinedError struct {
    	RawArg   string // the original argument, like --foo or -foo=value
    	Name     string
    	HasValue bool   // is this the -foo=value or --foo=value form?
    	Value    string // only provided if HasValue is true
    }
    
    func (e FlagNotDefinedError) Error() string {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 06 02:38:04 UTC 2022
    - 3.6K bytes
    - Viewed (0)
  8. src/cmd/go/internal/str/path.go

    			// Joining a relative path to a bare Windows drive letter produces a path
    			// relative to the working directory on that drive, but the original path
    			// was absolute, not relative. Keep the leading path separator so that it
    			// remains absolute when joined to prefix.
    		} else {
    			// Prefix ends in a regular path element, so strip the path separator that
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 31 20:33:02 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top