Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for myobject (0.15 sec)

  1. src/builtin/builtin.go

    // constant. See the Go language specification's "Length and capacity" section for
    // details.
    func cap(v Type) int
    
    // The make built-in function allocates and initializes an object of type
    // slice, map, or chan (only). Like new, the first argument is a type, not a
    // value. Unlike new, make's return type is the same as the type of its
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  2. src/cmd/cgo/doc.go

    In order to allow linking arbitrary object files without requiring
    dynamic libraries, cgo supports an "external" linking mode too. In
    external linking mode, cmd/link does not process any host object files.
    Instead, it collects all the Go code and writes a single go.o object
    file containing it. Then it invokes the host linker (usually gcc) to
    combine the go.o object file and any supporting non-Go code into a
    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)
  3. src/cmd/api/main_test.go

    	return buf.String()
    }
    
    func (w *Walker) signatureString(sig *types.Signature) string {
    	var buf bytes.Buffer
    	w.writeSignature(&buf, sig)
    	return buf.String()
    }
    
    func (w *Walker) emitObj(obj types.Object) {
    	switch obj := obj.(type) {
    	case *types.Const:
    		if w.isDeprecated(obj) {
    			w.emitf("const %s //deprecated", obj.Name())
    		}
    		w.emitf("const %s %s", obj.Name(), w.typeString(obj.Type()))
    		x := obj.Val()
    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