Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for Ordinary (0.13 sec)

  1. src/cmd/go/internal/load/pkg.go

    	}
    	return p.ImportPath
    }
    
    // IsTestOnly reports whether p is a test-only package.
    //
    // A “test-only” package is one that:
    //   - is a test-only variant of an ordinary package, or
    //   - is a synthesized "main" package for a test binary, or
    //   - contains only _test.go files.
    func (p *Package) IsTestOnly() bool {
    	return p.ForTest != "" ||
    		p.Internal.TestmainGo != nil ||
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 28 17:00:51 UTC 2024
    - 120K bytes
    - Viewed (0)
  2. src/net/http/server.go

    	case *body:
    		return v.bodyRemains()
    	default:
    		panic("unexpected type " + fmt.Sprintf("%T", rc))
    	}
    }
    
    // The HandlerFunc type is an adapter to allow the use of
    // ordinary functions as HTTP handlers. If f is a function
    // with the appropriate signature, HandlerFunc(f) is a
    // [Handler] that calls f.
    type HandlerFunc func(ResponseWriter, *Request)
    
    // ServeHTTP calls f(w, r).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 123.4K bytes
    - Viewed (0)
  3. src/cmd/go/internal/work/exec.go

    				return err
    			}
    			objects = append(objects, ofiles...)
    		}
    	}
    
    	// NOTE(rsc): On Windows, it is critically important that the
    	// gcc-compiled objects (cgoObjects) be listed after the ordinary
    	// objects in the archive. I do not know why this is.
    	// https://golang.org/issue/2601
    	objects = append(objects, cgoObjects...)
    
    	// Add system object files.
    	for _, syso := range p.SysoFiles {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 14:46:37 UTC 2024
    - 105.6K bytes
    - Viewed (0)
  4. doc/go1.17_spec.html

    embedded field in a struct <code>x</code> is called <i>promoted</i> if
    <code>x.f</code> is a legal <a href="#Selectors">selector</a> that denotes
    that field or method <code>f</code>.
    </p>
    
    <p>
    Promoted fields act like ordinary fields
    of a struct except that they cannot be used as field names in
    <a href="#Composite_literals">composite literals</a> of the struct.
    </p>
    
    <p>
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 20:22:45 UTC 2024
    - 211.6K bytes
    - Viewed (0)
  5. src/cmd/go/alldocs.go

    // module if it is at 'go 1.17' or higher, or all transitively-required modules
    // if at 'go 1.16' or lower.
    //
    // The go command will automatically download modules as needed during ordinary
    // execution. The "go mod download" command is useful mainly for pre-filling
    // the local cache or to compute the answers for a Go module proxy.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:54:28 UTC 2024
    - 142.4K bytes
    - Viewed (0)
  6. src/cmd/vendor/github.com/ianlancetaylor/demangle/ast.go

    	if p, ok := b.Op.(hasPrec); ok {
    		return p.prec()
    	}
    	return precDefault
    }
    
    // Trinary is the ?: trinary operation in an expression.
    type Trinary struct {
    	Op     AST
    	First  AST
    	Second AST
    	Third  AST
    }
    
    func (t *Trinary) print(ps *printState) {
    	if isDesignatedInitializer(t) {
    		ps.writeByte('[')
    		ps.print(t.First)
    		ps.writeString(" ... ")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 105.8K bytes
    - Viewed (0)
Back to top