Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 155 for original (0.13 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. src/cmd/go/internal/toolchain/umask_unix.go

    func sysWriteBits() fs.FileMode {
    	// Read current umask. There's no way to read it without also setting it,
    	// so set it conservatively and then restore the original one.
    	m := syscall.Umask(0o777)
    	syscall.Umask(m)    // restore bits
    	if m&0o22 == 0o22 { // group and world are unwritable by default
    		return 0o700
    	}
    	if m&0o2 == 0o2 { // group is writable by default, but not world
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 20 15:44:08 UTC 2023
    - 896 bytes
    - Viewed (0)
  6. src/cmd/internal/pkgpath/pkgpath.go

    		return nil, err
    	}
    
    	command := exec.Command(cmd, "-S", "-o", "-", gofilename)
    	buf, err := command.Output()
    	if err != nil {
    		return nil, err
    	}
    
    	// Original mangling: go.l__ufer.Run
    	// Mangling v2: go.l..u00e4ufer.Run
    	// Mangling v3: go_0l_u00e4ufer.Run
    	if bytes.Contains(buf, []byte("go_0l_u00e4ufer.Run")) {
    		return toSymbolV3, nil
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 20 02:13:02 UTC 2022
    - 4.2K bytes
    - Viewed (0)
  7. src/math/expm1.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_expm1.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
    - 7.9K bytes
    - Viewed (0)
  8. src/os/exec/exec_posix_test.go

    	// PWD to the other, the subprocess should report the PWD version.
    	cases := []struct {
    		name string
    		dir  string
    		pwd  string
    	}{
    		{name: "original PWD", pwd: cwd},
    		{name: "link PWD", pwd: link},
    		{name: "in link with original PWD", dir: link, pwd: cwd},
    		{name: "in dir with link PWD", dir: cwd, pwd: link},
    		// Ideally we would also like to test what happens if we set PWD to
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 13 20:21:32 UTC 2022
    - 6.8K bytes
    - Viewed (0)
  9. src/cmd/go/testdata/script/list_std_vendor.txt

    cd $GOROOT/src
    
    go list -deps net
    stdout '^vendor/golang.org/x/net'
    ! stdout '^golang.org/x/net'
    cmp stdout $WORK/net-deps.txt
    
    
    # However, 'go mod' and 'go get' subcommands should report the original module
    # dependencies, not the vendored packages.
    
    [!net:golang.org] stop
    
    env GOPROXY=
    env GOWORK=off
    go mod why -m golang.org/x/net
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 24 15:54:04 UTC 2023
    - 883 bytes
    - Viewed (0)
  10. 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)
Back to top