Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for getting (1.62 sec)

  1. src/archive/zip/reader_test.go

    				Mode:     0666,
    				Modified: time.Date(2021, 12, 29, 0, 0, 0, 0, timeZone(0)),
    			},
    		},
    	},
    }
    
    func TestReader(t *testing.T) {
    	for _, zt := range tests {
    		t.Run(zt.Name, func(t *testing.T) {
    			readTestZip(t, zt)
    		})
    	}
    }
    
    func readTestZip(t *testing.T, zt ZipTest) {
    	var z *Reader
    	var err error
    	var raw []byte
    	if zt.Source != nil {
    		rat, size := zt.Source()
    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 r.Name.Kind == "func" {
    			error_(r.Pos(), "must call C.%s", fixGo(r.Name.Go))
    		}
    	}
    	return expr
    }
    
    // gofmtPos returns the gofmt-formatted string for an AST node,
    // with a comment setting the position before the node.
    func gofmtPos(n ast.Expr, pos token.Pos) string {
    	s := gofmtLine(n)
    	p := fset.Position(pos)
    	if p.Column == 0 {
    		return s
    	}
    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