Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for albers (0.69 sec)

  1. src/archive/zip/struct.go

    // the file it describes, it may be necessary to modify the Name field
    // of the returned header to provide the full path name of the file.
    // If compression is desired, callers should set the FileHeader.Method
    // field; it is unset by default.
    func FileInfoHeader(fi fs.FileInfo) (*FileHeader, error) {
    	size := fi.Size()
    	fh := &FileHeader{
    		Name:               fi.Name(),
    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)
  2. src/archive/zip/reader.go

    func (rc *ReadCloser) Close() error {
    	return rc.f.Close()
    }
    
    // DataOffset returns the offset of the file's possibly-compressed
    // data, relative to the beginning of the zip file.
    //
    // Most callers should instead use [File.Open], which transparently
    // decompresses data and verifies checksums.
    func (f *File) DataOffset() (offset int64, err error) {
    	bodyOffset, err := f.findBodyOffset()
    	if err != nil {
    		return
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 27.7K bytes
    - Viewed (0)
  3. src/cmd/asm/internal/asm/parse.go

    	pc            int64 // virtual PC; count of Progs; doesn't advance for GLOBL or DATA.
    	input         []lex.Token
    	inputPos      int
    	pendingLabels []string // Labels to attach to next instruction.
    	labels        map[string]*obj.Prog
    	toPatch       []Patch
    	addr          []obj.Addr
    	arch          *arch.Arch
    	ctxt          *obj.Link
    	firstProg     *obj.Prog
    	lastProg      *obj.Prog
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Feb 21 14:34:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
  4. src/cmd/cgo/internal/test/callback.go

    		"test.nestedCall.func1",
    		"test.nestedCall",
    		"test.testCallbackCallers",
    		"test.TestCallbackCallers",
    		"testing.tRunner",
    		"runtime.goexit",
    	}
    	nestedCall(func() {
    		n = runtime.Callers(4, pc)
    	})
    	if n != len(name) {
    		t.Errorf("expected %d frames, got %d", len(name), n)
    	}
    	for i := 0; i < n; i++ {
    		f := runtime.FuncForPC(pc[i] - 1) // TODO: use runtime.CallersFrames
    		if f == nil {
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 111.5K bytes
    - Viewed (0)
  5. src/cmd/asm/internal/asm/asm.go

    	if len(operands) != 2 && len(operands) != 3 {
    		p.errorf("expect two or three operands for TEXT")
    		return
    	}
    
    	// Labels are function scoped. Patch existing labels and
    	// create a new label space for this TEXT.
    	p.patch()
    	p.labels = make(map[string]*obj.Prog)
    
    	// Operand 0 is the symbol name in the form foo(SB).
    	// That means symbol plus indirect on SB and no offset.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Feb 21 14:34:57 GMT 2024
    - 25.3K bytes
    - Viewed (0)
  6. src/bufio/bufio.go

    // to the default size.
    // Calling b.Reset(b) (that is, resetting a [Reader] to itself) does nothing.
    func (b *Reader) Reset(r io.Reader) {
    	// If a Reader r is passed to NewReader, NewReader will return r.
    	// Different layers of code may do that, and then later pass r
    	// to Reset. Avoid infinite recursion in that case.
    	if b == r {
    		return
    	}
    	if b.buf == nil {
    		b.buf = make([]byte, defaultBufSize)
    	}
    	b.reset(b.buf, r)
    }
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Oct 12 14:39:08 GMT 2023
    - 21.8K bytes
    - Viewed (0)
  7. src/cmd/api/main_test.go

    		}
    		nextFiles = next
    	}
    
    	for _, c := range contexts {
    		c.Compiler = build.Default.Compiler
    	}
    
    	walkers := make([]*Walker, len(contexts))
    	var wg sync.WaitGroup
    	for i, context := range contexts {
    		i, context := i, context
    		wg.Add(1)
    		go func() {
    			defer wg.Done()
    			walkers[i] = NewWalker(context, filepath.Join(testenv.GOROOT(t), "src"))
    		}()
    	}
    	wg.Wait()
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Apr 09 20:48:51 GMT 2024
    - 31.4K bytes
    - Viewed (0)
Back to top