Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 34 for instead (0.2 sec)

  1. src/cmd/cgo/ast.go

    	if err != nil {
    		if list, ok := err.(scanner.ErrorList); ok {
    			// If err is a scanner.ErrorList, its String will print just
    			// the first error and then (+n more errors).
    			// Instead, turn it into a new Error that will return
    			// details for all the errors.
    			for _, e := range list {
    				fmt.Fprintln(os.Stderr, e)
    			}
    			os.Exit(2)
    		}
    		fatalf("parsing %s: %s", name, err)
    	}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Jun 07 16:54:27 GMT 2023
    - 14.3K bytes
    - Viewed (0)
  2. src/cmd/cgo/doc.go

    The C type void* is represented by Go's unsafe.Pointer.
    The C types __int128_t and __uint128_t are represented by [16]byte.
    
    A few special C types which would normally be represented by a pointer
    type in Go are instead represented by a uintptr.  See the Special
    cases section below.
    
    To access a struct, union, or enum type directly, prefix it with
    struct_, union_, or enum_, as in C.struct_stat.
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Sun Mar 31 09:02:45 GMT 2024
    - 42.1K bytes
    - Viewed (0)
  3. src/archive/zip/reader_test.go

    	"path/filepath"
    	"reflect"
    	"regexp"
    	"strings"
    	"testing"
    	"testing/fstest"
    	"time"
    )
    
    type ZipTest struct {
    	Name     string
    	Source   func() (r io.ReaderAt, size int64) // if non-nil, used instead of testdata/<Name> file
    	Comment  string
    	File     []ZipTestFile
    	Obscured bool  // needed for Apple notarization (golang.org/issue/34986)
    	Error    error // the error that Opening this file should return
    }
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 55.3K bytes
    - Viewed (0)
  4. doc/go1.17_spec.html

    </p>
    
    
    <h3 id="Blank_identifier">Blank identifier</h3>
    
    <p>
    The <i>blank identifier</i> is represented by the underscore character <code>_</code>.
    It serves as an anonymous placeholder instead of a regular (non-blank)
    identifier and has special meaning in <a href="#Declarations_and_scope">declarations</a>,
    as an <a href="#Operands">operand</a>, and in <a href="#Assignments">assignments</a>.
    </p>
    
    
    HTML
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
  5. src/bufio/bufio_test.go

    	}
    	{
    		tw := &teststringwriter{}
    		b := NewWriterSize(tw, BufSize)
    		b.Write([]byte("abc")) // same as above, but use Write instead of WriteString
    		tw.check(t, "", "")
    		b.WriteString("123456789012345")
    		tw.check(t, "abc12345", "6789012345") // same as above
    	}
    }
    
    type teststringwriter struct {
    	write       string
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Feb 10 18:56:01 GMT 2023
    - 51.5K bytes
    - Viewed (0)
  6. doc/next/6-stdlib/1-time.md

    making it difficult to use `Reset` and `Stop` correctly.
    A visible effect of this change is that `len` and `cap` of timer channels
    now returns 0 instead of 1, which may affect programs that
    poll the length to decide whether a receive on the timer channel
    will succeed.
    Such code should use a non-blocking receive instead.
    
    These new behaviors are only enabled when the main Go program
    is in a module with a `go.mod` `go` line using Go 1.23.0 or later.
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Apr 12 20:57:18 GMT 2024
    - 1.5K bytes
    - Viewed (0)
  7. doc/README.md

    The `initial` and `next` subdirectories of this directory are for release notes.
    
    ## For developers
    
    Release notes should be added to `next` by editing existing files or creating
    new files. **Do not add RELNOTE=yes comments in CLs.** Instead, add a file to
    the CL (or ask the author to do so).
    
    At the end of the development cycle, the files will be merged by being
    concatenated in sorted order by pathname. Files in the directory matching the
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Apr 26 21:24:36 GMT 2024
    - 1.9K bytes
    - Viewed (0)
  8. src/archive/zip/struct.go

    	// location of the Modified time.
    	Modified time.Time
    
    	// ModifiedTime is an MS-DOS-encoded time.
    	//
    	// Deprecated: Use Modified instead.
    	ModifiedTime uint16
    
    	// ModifiedDate is an MS-DOS-encoded date.
    	//
    	// Deprecated: Use Modified instead.
    	ModifiedDate uint16
    
    	// CRC32 is the CRC32 checksum of the file content.
    	CRC32 uint32
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 12.1K bytes
    - Viewed (0)
  9. .github/ISSUE_TEMPLATE/02-pkgsite-removal.yml

        id: retraction-reason
        attributes:
          label: "What is the reason that you could not retract this package instead?"
          description: |
            Requesting we remove a module here only hides the generated documentation on pkg.go.dev.
            It does not affect the behaviour of proxy.golang.org or the go command.
            Instead we recommend using the retract directive which will be processed by all 3 of the above.
    
    Others
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Jan 04 23:31:17 GMT 2024
    - 1.9K bytes
    - Viewed (0)
  10. doc/next/3-tools.md

    Setting the `GOROOT_FINAL` environment variable no longer has an effect
    ([#62047](https://go.dev/issue/62047)).
    Distributions that install the `go` command to a location other than
    `$GOROOT/bin/go` should install a symlink instead of relocating
    or copying the `go` binary.
    
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Mar 14 16:58:10 GMT 2024
    - 339 bytes
    - Viewed (0)
Back to top