Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 31 for Only (0.12 sec)

  1. src/bufio/export_test.go

    // Copyright 2013 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package bufio
    
    // Exported for testing only.
    import (
    	"unicode/utf8"
    )
    
    var IsSpace = isSpace
    
    const DefaultBufSize = defaultBufSize
    
    func (s *Scanner) MaxTokenSize(n int) {
    	if n < utf8.UTFMax || n > 1e9 {
    		panic("bad max token size")
    	}
    	if n < len(s.buf) {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 17:17:44 GMT 2017
    - 597 bytes
    - Viewed (0)
  2. src/bootstrap.bash

    # combination, leaving the resulting tree in ../../go-${GOOS}-${GOARCH}-bootstrap.
    # That tree can be copied to a machine of the given target type
    # and used as $GOROOT_BOOTSTRAP to bootstrap a local build.
    #
    # Only changes that have been committed to Git (at least locally,
    # not necessary reviewed and submitted to master) are included in the tree.
    #
    # See also golang.org/x/build/cmd/genbootstrap, which is used
    Shell Script
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Jan 20 17:52:26 GMT 2023
    - 2.3K bytes
    - Viewed (0)
  3. src/cmd/asm/internal/asm/pseudo_test.go

    		{"TEXT", "$:0:(SB, 0, $1", "expected '(', found 0"},          // Issue 12468.
    		{"TEXT", "@B(SB),0,$0", "expected '(', found B"},             // Issue 23580.
    		{"TEXT", "foo<ABIInternal>(SB),0", "ABI selector only permitted when compiling runtime, reference was to \"foo\""},
    		{"FUNCDATA", "", "expect two operands for FUNCDATA"},
    		{"FUNCDATA", "(SB ", "expect two operands for FUNCDATA"},
    		{"DATA", "", "expect two operands for DATA"},
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 29 07:48:38 GMT 2023
    - 3.1K bytes
    - Viewed (0)
  4. src/arena/arena.go

    This functionality in this package is mostly captured in the Arena type.
    Arenas allocate large chunks of memory for Go values, so they're likely to
    be inefficient for allocating only small amounts of small Go values. They're
    best used in bulk, on the order of MiB of memory allocated on each use.
    
    Note that by allowing for this limited form of manual memory allocation
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Oct 12 20:23:36 GMT 2022
    - 4.3K bytes
    - Viewed (0)
  5. src/bytes/boundary_test.go

    	t.Parallel()
    	q := dangerousSlice(t)
    	if len(q) > 64 {
    		// Only worry about when we're near the end of a page.
    		q = q[len(q)-64:]
    	}
    	b := dangerousSlice(t)
    	if len(b) > 256 {
    		// Only worry about when we're near the end of a page.
    		b = b[len(b)-256:]
    	}
    	for j := 1; j < len(q); j++ {
    		q[j-1] = 1 // difference is only found on the last byte
    		for i := range b {
    			idx := Index(b[i:], q[:j])
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 30 20:05:58 GMT 2023
    - 2.8K bytes
    - Viewed (0)
  6. src/README.vendor

        go mod tidy
        go mod vendor
    
    Use caution when passing '-u' to 'go get'. The '-u' flag updates
    modules providing all transitively imported packages, not only
    the module providing the target package.
    
    Note that 'go mod vendor' only copies packages that are transitively
    imported by packages in the current module. If a new package is needed,
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Apr 02 02:20:05 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  7. .github/ISSUE_TEMPLATE/12-telemetry.yml

          counter: gopls/bug
          title: Gopls bug reports
          description: Stacks of bugs encountered on the gopls server.
          type: partition, histogram, stack # choose only one.
          program: golang.org/x/tools/gopls
          counter: gopls/bug
          depth: 16  # only if type is stack.
          version: v0.13.0  # the first binary version containing this counter.
      validations:
          required: true
    - type: dropdown
      attributes:
    Others
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Mon Nov 27 17:23:51 GMT 2023
    - 2.4K bytes
    - Viewed (0)
  8. .github/ISSUE_TEMPLATE/02-pkgsite-removal.yml

        validations:
          required: true
      - type: textarea
        id: package-owner
        attributes:
          label: "Are you the owner of this package?"
          description: |
            Only the package owners can request to have their packages removed from pkg.go.dev.
            If the package path doesn't include your github username, please provide some other form of proof of ownership.
        validations:
    Others
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu Jan 04 23:31:17 GMT 2024
    - 1.9K bytes
    - Viewed (0)
  9. src/archive/zip/register.go

    // The WriteCloser's Close method must be used to flush pending data to w.
    // The Compressor itself must be safe to invoke from multiple goroutines
    // simultaneously, but each returned writer will be used only by
    // one goroutine at a time.
    type Compressor func(w io.Writer) (io.WriteCloser, error)
    
    // A Decompressor returns a new decompressing reader, reading from r.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 3.7K bytes
    - Viewed (0)
  10. src/archive/tar/strconv.go

    // record is formatted as:
    //
    //	"%d %s=%s\n" % (size, key, value)
    //
    // Keys and values should be UTF-8, but the number of bad writers out there
    // forces us to be a more liberal.
    // Thus, we only reject all keys with NUL, and only reject NULs in values
    // for the PAX version of the USTAR string fields.
    // The key must not contain an '=' character.
    func validPAXRecord(k, v string) bool {
    	if k == "" || strings.Contains(k, "=") {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 01 14:28:42 GMT 2023
    - 9K bytes
    - Viewed (0)
Back to top