Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for interfaces (0.19 sec)

  1. src/archive/zip/reader_test.go

    		0x78, 0x74, 0x50, 0x4b, 0x05, 0x06, 0x00, 0x00,
    		0x00, 0x00, 0x01, 0x00, 0x01, 0x00, 0x39, 0x00,
    		0x00, 0x00, 0x59, 0x00, 0x00, 0x00, 0x00, 0x00,
    	}
    
    	// Read in the archive with the OpenReader interface
    	name := filepath.Join(t.TempDir(), "test.zip")
    	err := os.WriteFile(name, data, 0644)
    	if err != nil {
    		t.Fatalf("Unable to write out the bugos zip entry")
    	}
    	r, err := OpenReader(name)
    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)
  2. src/cmd/cgo/gcc.go

    // If addPosition is true, add position info to the idents of C names in arg.
    func (p *Package) mangle(f *File, arg *ast.Expr, addPosition bool) (ast.Expr, bool) {
    	needsUnsafe := false
    	f.walk(arg, ctxExpr, func(f *File, arg interface{}, context astContext) {
    		px, ok := arg.(*ast.Expr)
    		if !ok {
    			return
    		}
    		sel, ok := (*px).(*ast.SelectorExpr)
    		if ok {
    			if l, ok := sel.X.(*ast.Ident); !ok || l.Name != "C" {
    				return
    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