Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 158 for original (0.37 sec)

  1. src/syscall/mksyscall_windows.go

    		// not feasible to do so at the moment: std-vendored libraries are included
    		// in the "std" meta-pattern (because in general they *are* linked into
    		// users binaries separately from the original import paths), and we can't
    		// allow a binary in the "std" meta-pattern.
    		modArgs = []string{"-mod=readonly"}
    	} else {
    		// Nobody outside the standard library should be using this wrapper: other
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 2K bytes
    - Viewed (0)
  2. test/typeparam/issue58513.go

    // function literals to plumb sub-dictionaries appropriately.
    // However, when these expressions are inlined, we were constructing
    // the function literal bodies with the inline-adjusted positions
    // instead of the original (inline-free) positions, which could lead
    // to infinite loops when unwinding the stack.
    
    package main
    
    import "runtime"
    
    func assert[_ any]() {
    	panic(0)
    }
    
    func Assert[To any]() func() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 27 23:07:49 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  3. src/internal/types/testdata/check/issues1.go

    // parameter's type set.
    type T1[P interface{~uint}] struct{}
    
    func _[P any]() {
        _ = T1[P /* ERROR "P does not satisfy interface{~uint}" */ ]{}
    }
    
    // This is the original (simplified) program causing the same issue.
    type Unsigned interface {
    	~uint
    }
    
    type T2[U Unsigned] struct {
        s U
    }
    
    func (u T2[U]) Add1() U {
        return u.s + 1
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 17 19:56:37 UTC 2023
    - 6K bytes
    - Viewed (0)
  4. src/math/log1p.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package math
    
    // The original C code, the long comment, and the constants
    // below are from FreeBSD's /usr/src/lib/msun/src/s_log1p.c
    // and came with this notice. The go code is a simplified
    // version of the original C.
    //
    // ====================================================
    // Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 11:59:09 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  5. src/math/sqrt.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package math
    
    // The original C code and the long comment below are
    // from FreeBSD's /usr/src/lib/msun/src/e_sqrt.c and
    // came with this notice. The go code is a simplified
    // version of the original C.
    //
    // ====================================================
    // Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 15 17:07:57 UTC 2022
    - 4.8K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/regalloc_test.go

    		),
    	)
    	flagalloc(f.f)
    	regalloc(f.f)
    	checkFunc(f.f)
    }
    
    // Test to make sure G register is never reloaded from spill (spill of G is okay)
    // See #25504
    func TestNoGetgLoadReg(t *testing.T) {
    	/*
    		Original:
    		func fff3(i int) *g {
    			gee := getg()
    			if i == 0 {
    				fff()
    			}
    			return gee // here
    		}
    	*/
    	c := testConfigARM64(t)
    	f := c.Fun("b1",
    		Bloc("b1",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:09:14 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  7. src/internal/poll/sendfile_windows.go

    		// Find the number of bytes offset from curpos until the end of the file.
    		n, err = syscall.Seek(o.handle, -curpos, io.SeekEnd)
    		if err != nil {
    			return
    		}
    		// Now seek back to the original position.
    		if _, err = syscall.Seek(o.handle, curpos, io.SeekStart); err != nil {
    			return
    		}
    	}
    
    	// TransmitFile can be invoked in one call with at most
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 18:12:56 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/sys/unix/sockcmsg_linux.go

    	h.Level = SOL_IPV6
    	h.Type = IPV6_PKTINFO
    	h.SetLen(CmsgLen(SizeofInet6Pktinfo))
    	*(*Inet6Pktinfo)(h.data(0)) = *info
    	return b
    }
    
    // ParseOrigDstAddr decodes a socket control message containing the original
    // destination address. To receive such a message the IP_RECVORIGDSTADDR or
    // IPV6_RECVORIGDSTADDR option must be enabled on the socket.
    func ParseOrigDstAddr(m *SocketControlMessage) (Sockaddr, error) {
    	switch {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 09 20:10:21 UTC 2021
    - 2.6K bytes
    - Viewed (0)
  9. src/crypto/aes/aes_gcm.go

    // slice with the contents of the given slice followed by that many bytes and a
    // second slice that aliases into it and contains only the extra bytes. If the
    // original slice has sufficient capacity then no allocation is performed.
    func sliceForAppend(in []byte, n int) (head, tail []byte) {
    	if total := len(in) + n; cap(in) >= total {
    		head = in[:total]
    	} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 27 18:23:49 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  10. src/cmd/gofmt/doc.go

    This may result in changes that are incompatible with earlier versions of Go.
    */
    package main
    
    // BUG(rsc): The implementation of -r is a bit slow.
    // BUG(gri): If -w fails, the restored original file may not have some of the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 3.2K bytes
    - Viewed (0)
Back to top