Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for learner (0.2 sec)

  1. src/cmd/cgo/ast.go

    			}
    			os.Exit(2)
    		}
    		fatalf("parsing %s: %s", name, err)
    	}
    	return ast1
    }
    
    func sourceLine(n ast.Node) int {
    	return fset.Position(n.Pos()).Line
    }
    
    // ParseGo populates f with information learned from the Go source code
    // which was read from the named file. It gathers the C preamble
    // attached to the import "C" comment, a list of references to C.xxx,
    // a list of exported functions, and the actual AST, to be rewritten and
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Wed Jun 07 16:54:27 GMT 2023
    - 14.3K bytes
    - Viewed (0)
  2. src/bytes/buffer_test.go

    package bytes_test
    
    import (
    	. "bytes"
    	"fmt"
    	"io"
    	"math/rand"
    	"strconv"
    	"testing"
    	"unicode/utf8"
    )
    
    const N = 10000       // make this bigger for a larger (and slower) test
    var testString string // test data for write tests
    var testBytes []byte  // test data; same as testString but as a slice.
    
    type negativeReader struct{}
    
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Apr 20 01:07:29 GMT 2023
    - 18.1K bytes
    - Viewed (0)
  3. src/cmd/cgo/doc.go

    	//go:cgo_import_dynamic _ _ "libpthread.so.0"
    	//go:cgo_import_dynamic _ _ "libc.so.6"
    
    In the end, the compiled Go package, which will eventually be
    presented to cmd/link as part of a larger program, contains:
    
    	_go_.o        # gc-compiled object for _cgo_gotypes.go, _cgo_import.go, *.cgo1.go
    	_all.o        # gcc-compiled object for _cgo_export.c, *.cgo2.c
    
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Sun Mar 31 09:02:45 GMT 2024
    - 42.1K bytes
    - Viewed (0)
  4. doc/go1.17_spec.html

    If both <code>n</code> and <code>m</code> are provided and are constant, then
    <code>n</code> must be no larger than <code>m</code>.
    If <code>n</code> is negative or larger than <code>m</code> at run time,
    a <a href="#Run_time_panics">run-time panic</a> occurs.
    </p>
    
    <pre>
    s := make([]int, 10, 100)       // slice with len(s) == 10, cap(s) == 100
    HTML
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
  5. .github/ISSUE_TEMPLATE/11-language-change.yml

        validations:
          required: false
    
      - type: textarea
        id: learning-curve
        attributes:
          label: "Would this change make Go easier or harder to learn, and why?"
    
      - type: textarea
        id: cost-description
        attributes:
          label: "Cost Description"
          description: "What is the cost of this proposal? (Every language change has a cost)"
    
    Others
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Wed Nov 22 20:49:24 GMT 2023
    - 4.7K bytes
    - Viewed (0)
  6. src/cmd/cgo/gcc.go

    		}
    
    		fatalf("unresolved names")
    	}
    
    	return needType
    }
    
    // loadDWARF parses the DWARF debug information generated
    // by gcc to learn the details of the constants, variables, and types
    // being referred to as C.xxx.
    func (p *Package) loadDWARF(f *File, conv *typeConv, names []*Name) {
    	// Extract the types from the DWARF section of an object
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  7. src/bytes/bytes.go

    	n := len(b) * count
    
    	if len(b) == 0 {
    		return []byte{}
    	}
    
    	// Past a certain chunk size it is counterproductive to use
    	// larger chunks as the source of the write, as when the source
    	// is too large we are basically just thrashing the CPU D-cache.
    	// So if the result length is larger than an empirically-found
    	// limit (8KB), we stop growing the source string once the limit
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Mon Feb 19 19:51:15 GMT 2024
    - 33.8K bytes
    - Viewed (0)
  8. doc/go_spec.html

    If both <code>n</code> and <code>m</code> are provided and are constant, then
    <code>n</code> must be no larger than <code>m</code>.
    For slices and channels, if <code>n</code> is negative or larger than <code>m</code> at run time,
    a <a href="#Run_time_panics">run-time panic</a> occurs.
    </p>
    
    <pre>
    HTML
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 279.3K bytes
    - Viewed (0)
  9. src/archive/tar/format.go

    	//
    	// While this format is compatible with most tar readers,
    	// the format has several limitations making it unsuitable for some usages.
    	// Most notably, it cannot support sparse files, files larger than 8GiB,
    	// filenames larger than 256 characters, and non-ASCII filenames.
    	//
    	// Reference:
    	//	http://pubs.opengroup.org/onlinepubs/9699919799/utilities/pax.html#tag_20_92_13_06
    	FormatUSTAR
    
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 11.3K bytes
    - Viewed (0)
  10. doc/godebug.md

    field, [`Policies`](/pkg/crypto/x509/#Certificate.Policies), which supports
    certificate policy OIDs with components larger than 31 bits. By default this
    field is only used during parsing, when it is populated with policy OIDs, but
    not used during marshaling. It can be used to marshal these larger OIDs, instead
    of the existing PolicyIdentifiers field, by using the
    [`x509usepolicies` setting.](/pkg/crypto/x509/#CreateCertificate).
    
    Plain Text
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Tue Apr 16 17:29:58 GMT 2024
    - 13.5K bytes
    - Viewed (0)
Back to top