Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for exposing (0.32 sec)

  1. src/bufio/bufio_test.go

    		t.Fatalf("want %q got %q, err=%v", "", string(s), err)
    	}
    	if _, err := buf.Peek(1); err != io.EOF {
    		t.Fatalf("want EOF got %v", err)
    	}
    
    	// Test for issue 3022, not exposing a reader's error on a successful Peek.
    	buf = NewReaderSize(dataAndEOFReader("abcd"), 32)
    	if s, err := buf.Peek(2); string(s) != "ab" || err != nil {
    		t.Errorf(`Peek(2) on "abcd", EOF = %q, %v; want "ab", nil`, string(s), err)
    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)
  2. src/cmd/cgo/doc.go

    	names the specific library where the symbol should be found.
    
    	On AIX, the library pattern is slightly different. It must be
    	"lib.a/obj.o" with obj.o the member of this library exporting
    	this symbol.
    
    	In the <remote>, # or @ can be used to introduce a symbol version.
    
    	Examples:
    	//go:cgo_import_dynamic puts
    	//go:cgo_import_dynamic puts puts#GLIBC_2.2.5
    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/cmd/cgo/gcc.go

    // people are used to seeing in C.  For generated Go code, such as
    // package syscall's data structures, we drop a common prefix
    // (so sec, usec, which will get turned into Sec, Usec for exporting).
    func fieldPrefix(fld []*ast.Field) string {
    	prefix := ""
    	for _, f := range fld {
    		for _, n := range f.Names {
    			// Ignore field names that don't have the prefix we're
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
Back to top