Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for Becker (0.19 sec)

  1. doc/next/6-stdlib/1-time.md

    [time.Timer] and [time.Ticker].
    
    First, `Timer`s and `Ticker`s that are no longer referred to by the program
    become eligible for garbage collection immediately, even if their
    `Stop` methods have not been called.
    Earlier versions of Go did not collect unstopped `Timer`s until after
    they had fired and never collected unstopped `Ticker`s.
    
    Second, the timer channel associated with a `Timer` or `Ticker` is
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Apr 12 20:57:18 GMT 2024
    - 1.5K bytes
    - Viewed (0)
  2. src/bytes/reader.go

    // license that can be found in the LICENSE file.
    
    package bytes
    
    import (
    	"errors"
    	"io"
    	"unicode/utf8"
    )
    
    // A Reader implements the io.Reader, io.ReaderAt, io.WriterTo, io.Seeker,
    // io.ByteScanner, and io.RuneScanner interfaces by reading from
    // a byte slice.
    // Unlike a [Buffer], a Reader is read-only and supports seeking.
    // The zero value for Reader operates like a Reader of an empty slice.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 17:10:31 GMT 2023
    - 3.9K bytes
    - Viewed (0)
  3. api/README

    Files in this directory are data for Go's API checker ("go tool api", in src/cmd/api).
    
    Each file is a list of API features, one per line.
    
    go1.txt (and similarly named files) are frozen once a version has been
    shipped. Each file adds new lines but does not remove any.
    
    except.txt lists features that may disappear without breaking true
    compatibility.
    
    Starting with go1.19.txt, each API feature line must end in "#nnnnn"
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Jan 31 19:22:50 GMT 2024
    - 1.2K bytes
    - Viewed (0)
  4. src/archive/tar/writer.go

    	}
    }
    
    func (sw *sparseFileWriter) ReadFrom(r io.Reader) (n int64, err error) {
    	rs, ok := r.(io.ReadSeeker)
    	if ok {
    		if _, err := rs.Seek(0, io.SeekCurrent); err != nil {
    			ok = false // Not all io.Seeker can really seek
    		}
    	}
    	if !ok {
    		return io.Copy(struct{ io.Writer }{sw}, r)
    	}
    
    	var readLastByte bool
    	pos0 := sw.pos
    	for sw.logicalRemaining() > 0 && !readLastByte && err == nil {
    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)
  5. doc/go_spec.html

    to define an interface called <code>Locker</code>:
    </p>
    
    <pre>
    type Locker interface {
    	Lock()
    	Unlock()
    }
    </pre>
    
    <p>
    If <code>S1</code> and <code>S2</code> also implement
    </p>
    
    <pre>
    func (p T) Lock() { … }
    func (p T) Unlock() { … }
    </pre>
    
    <p>
    they implement the <code>Locker</code> interface as well
    as the <code>File</code> interface.
    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)
  6. doc/godebug.md

    [`httpmuxgo121` setting](/pkg/net/http/#ServeMux).
    
    Go 1.22 added the [Alias type](/pkg/go/types#Alias) to [go/types](/pkg/go/types)
    for the explicit representation of [type aliases](/ref/spec#Type_declarations).
    Whether the type checker produces `Alias` types or not is controlled by the
    [`gotypesalias` setting](/pkg/go/types#Alias).
    For Go 1.22 it defaults to `gotypesalias=0`.
    For Go 1.23, `gotypesalias=1` will become the default.
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Apr 16 17:29:58 GMT 2024
    - 13.5K bytes
    - Viewed (0)
  7. api/go1.5.txt

    pkg go/types, method (*Var) Pkg() *Package
    pkg go/types, method (*Var) Pos() token.Pos
    pkg go/types, method (*Var) String() string
    pkg go/types, method (*Var) Type() Type
    pkg go/types, method (Checker) ObjectOf(*ast.Ident) Object
    pkg go/types, method (Checker) TypeOf(ast.Expr) Type
    pkg go/types, method (Error) Error() string
    pkg go/types, method (TypeAndValue) Addressable() bool
    pkg go/types, method (TypeAndValue) Assignable() bool
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Jul 30 21:14:09 GMT 2015
    - 46.6K bytes
    - Viewed (0)
  8. src/cmd/cgo/doc.go

    decide which.
    
    The obvious thing for cgo to do is to process the preamble, expanding
    #includes and processing the corresponding C code. That would require
    a full C parser and type checker that was also aware of any extensions
    known to the system compiler (for example, all the GNU C extensions) as
    well as the system-specific header locations and system-specific
    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)
  9. doc/go1.17_spec.html

    to define an interface called <code>Locker</code>:
    </p>
    
    <pre>
    type Locker interface {
    	Lock()
    	Unlock()
    }
    </pre>
    
    <p>
    If <code>S1</code> and <code>S2</code> also implement
    </p>
    
    <pre>
    func (p T) Lock() { … }
    func (p T) Unlock() { … }
    </pre>
    
    <p>
    they implement the <code>Locker</code> interface as well
    as the <code>File</code> interface.
    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)
  10. src/archive/tar/reader_test.go

    // TestReadTruncation test the ending condition on various truncated files and
    // that truncated files are still detected even if the underlying io.Reader
    // satisfies io.Seeker.
    func TestReadTruncation(t *testing.T) {
    	var ss []string
    	for _, p := range []string{
    		"testdata/gnu.tar",
    		"testdata/ustar-file-reg.tar",
    		"testdata/pax-path-hdr.tar",
    		"testdata/sparse-formats.tar",
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Nov 21 21:14:38 GMT 2022
    - 47.1K bytes
    - Viewed (0)
Back to top