Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 55 for Chen (0.15 sec)

  1. src/cmd/cgo/doc.go

    directory and also in the system include directory (or some other place
    specified by a -I flag), then "#include <foo/bar.h>" will always find the
    local version in preference to any other version.
    
    The cgo tool is enabled by default for native builds on systems where
    it is expected to work. It is disabled by default when cross-compiling
    as well as when the CC environment variable is unset and the default
    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)
  2. src/cmd/cgo/ast.go

    	ast1, err := parser.ParseFile(fset, name, src, flags)
    	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)
    		}
    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)
  3. doc/go1.17_spec.html

    </p>
    
    <ol>
    <li>
    When converting between integer types, if the value is a signed integer, it is
    sign extended to implicit infinite precision; otherwise it is zero extended.
    It is then truncated to fit in the result type's size.
    For example, if <code>v := uint16(0x10F0)</code>, then <code>uint32(int8(v)) == 0xFFFFFFF0</code>.
    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)
  4. src/archive/zip/reader_test.go

    	// which names a file in the testdata/ directory containing the
    	// uncompressed expected content.
    	// If content is very large, an alternative to setting Content or File
    	// is to set Size, which will then be checked against the header-reported size
    	// but will bypass the decompressing of the actual data.
    	// This last option is used for testing very large (multi-GB) compressed files.
    	ContentErr error
    	Content    []byte
    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)
  5. src/cmd/asm/internal/asm/pseudo_test.go

    		{"TEXT", "$:0:(SB, 0, $1", "expected '(', found 0"},          // Issue 12468.
    		{"TEXT", "@B(SB),0,$0", "expected '(', found B"},             // Issue 23580.
    		{"TEXT", "foo<ABIInternal>(SB),0", "ABI selector only permitted when compiling runtime, reference was to \"foo\""},
    		{"FUNCDATA", "", "expect two operands for FUNCDATA"},
    		{"FUNCDATA", "(SB ", "expect two operands for FUNCDATA"},
    		{"DATA", "", "expect two operands for DATA"},
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 29 07:48:38 GMT 2023
    - 3.1K bytes
    - Viewed (0)
  6. src/bytes/buffer_test.go

    type panicReader struct{ panic bool }
    
    func (r panicReader) Read(p []byte) (int, error) {
    	if r.panic {
    		panic("oops")
    	}
    	return 0, io.EOF
    }
    
    // Make sure that an empty Buffer remains empty when
    // it is "grown" before a Read that panics
    func TestReadFromPanicReader(t *testing.T) {
    
    	// First verify non-panic behaviour
    	var buf Buffer
    	i, err := buf.ReadFrom(panicReader{})
    	if err != nil {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Apr 26 13:31:36 GMT 2024
    - 18.6K bytes
    - Viewed (0)
  7. src/cmd/asm/internal/asm/operand_test.go

    	{"[X0,X3]", "register list: expected '-' after `[X0`, found ','"},
    	{"[X0,X1,X2,X3]", "register list: expected '-' after `[X0`, found ','"},
    	{"$foo<ABI0>", "ABI selector only permitted when compiling runtime, reference was to \"foo\""},
    }
    
    var amd64BadOperandRuntimeTests = []badOperandTest{
    	{"$foo<bletch>", "malformed ABI selector \"bletch\" in reference to \"foo\""},
    }
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 29 18:31:05 GMT 2023
    - 23.9K bytes
    - Viewed (0)
  8. src/archive/tar/writer.go

    //
    // If the current file is sparse and r is an io.ReadSeeker,
    // then readFrom uses Seek to skip past holes defined in Header.SparseHoles,
    // assuming that skipped regions are all NULs.
    // This always reads the last byte to ensure r is the right size.
    //
    // TODO(dsnet): Re-export this when adding sparse file support.
    // See https://golang.org/issue/22735
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 19.6K bytes
    - Viewed (0)
  9. src/builtin/builtin.go

    func close(c chan<- Type)
    
    // The panic built-in function stops normal execution of the current
    // goroutine. When a function F calls panic, normal execution of F stops
    // immediately. Any functions whose execution was deferred by F are run in
    // the usual way, and then F returns to its caller. To the caller G, the
    // invocation of F then behaves like a call to panic, terminating G's
    // execution and running any deferred functions. This continues until all
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  10. doc/go_spec.html

    and yield a result of the same type as the operands.
    The left operand is evaluated, and then the right if the condition requires it.
    </p>
    
    <pre class="grammar">
    &amp;&amp;    conditional AND    p &amp;&amp; q  is  "if p then q else false"
    ||    conditional OR     p || q  is  "if p then true else q"
    !     NOT                !p      is  "not p"
    </pre>
    
    
    HTML
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Apr 26 00:39:16 GMT 2024
    - 279.6K bytes
    - Viewed (0)
Back to top