Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 99 for level (0.42 sec)

  1. src/cmd/compile/internal/types2/typestring.go

    import (
    	"bytes"
    	"fmt"
    	"sort"
    	"strconv"
    	"strings"
    	"unicode/utf8"
    )
    
    // A Qualifier controls how named package-level objects are printed in
    // calls to [TypeString], [ObjectString], and [SelectionString].
    //
    // These three formatting routines call the Qualifier for each
    // package-level object O, and if the Qualifier returns a non-empty
    // string p, the object is printed in the form p.O.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/inline/inlheur/function_properties.go

    	// Parameter value feeds unmodified into a top level indirect
    	// function call (assumes parameter is of function type).
    	ParamFeedsIndirectCall
    
    	// Parameter value feeds unmodified into an indirect function call
    	// that is conditional/nested (not guaranteed to execute). Assumes
    	// parameter is of function type.
    	ParamMayFeedIndirectCall
    
    	// Parameter value feeds unmodified into a top level "switch"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 10 18:52:53 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/types2/package.go

    // as reported in the [go/ast.File.GoVersion] field.
    func (pkg *Package) GoVersion() string { return pkg.goVersion }
    
    // Scope returns the (complete or incomplete) package scope
    // holding the objects declared at package level (TypeNames,
    // Consts, Vars, and Funcs).
    // For a nil pkg receiver, Scope returns the Universe scope.
    func (pkg *Package) Scope() *Scope {
    	if pkg != nil {
    		return pkg.scope
    	}
    	return Universe
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 06 13:09:19 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/types/sym.go

    func (sym *Sym) IsBlank() bool {
    	return sym != nil && sym.Name == "_"
    }
    
    // Deprecated: This method should not be used directly. Instead, use a
    // higher-level abstraction that directly returns the linker symbol
    // for a named object. For example, reflectdata.TypeLinksym(t) instead
    // of reflectdata.TypeSym(t).Linksym().
    func (sym *Sym) Linksym() *obj.LSym {
    	abi := obj.ABI0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 26 21:56:56 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/test/testdata/pgo/devirtualize/devirt.go

    		}
    
    		return 1
    	}
    
    	val := 0
    	for i := 0; i < iter; i++ {
    		m := m1
    		if i%10 == 0 {
    			m = m2
    		}
    
    		// N.B. Profiles only distinguish calls on a per-line level,
    		// making the two calls ambiguous. However because the
    		// interfaces and implementations are mutually exclusive,
    		// devirtualization can still select the correct callee for
    		// each.
    		//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 13 18:17:57 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  6. src/cmd/asm/internal/flags/flags.go

    // Copyright 2015 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 flags implements top-level flags and the usage message for the assembler.
    package flags
    
    import (
    	"cmd/internal/obj"
    	"cmd/internal/objabi"
    	"flag"
    	"fmt"
    	"os"
    	"path/filepath"
    	"strings"
    )
    
    var (
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 19:18:23 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/types2/decl.go

    	case *Const:
    		check.decl = d // new package-level const decl
    		check.constDecl(obj, d.vtyp, d.init, d.inherited)
    	case *Var:
    		check.decl = d // new package-level var decl
    		check.varDecl(obj, d.lhs, d.vtyp, d.init)
    	case *TypeName:
    		// invalid recursive types are detected via path
    		check.typeDecl(obj, d.tdecl, def)
    		check.collectMethods(obj) // methods can only be added to top-level types
    	case *Func:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 29.6K bytes
    - Viewed (0)
  8. src/cmd/asm/internal/lex/tokenizer.go

    	"cmd/asm/internal/flags"
    	"cmd/internal/objabi"
    	"cmd/internal/src"
    )
    
    // A Tokenizer is a simple wrapping of text/scanner.Scanner, configured
    // for our purposes and made a TokenReader. It forms the lowest level,
    // turning text from readers into tokens.
    type Tokenizer struct {
    	tok  ScanToken
    	s    *scanner.Scanner
    	base *src.PosBase
    	line int
    	file *os.File // If non-nil, file descriptor to close.
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 04 20:35:21 UTC 2022
    - 3K bytes
    - Viewed (0)
  9. src/cmd/covdata/covdata.go

    }
    
    func Exit(code int) {
    	for i := len(atExitFuncs) - 1; i >= 0; i-- {
    		f := atExitFuncs[i]
    		atExitFuncs = atExitFuncs[:i]
    		f()
    	}
    	os.Exit(code)
    }
    
    func dbgtrace(vlevel int, s string, a ...interface{}) {
    	if *verbflag >= vlevel {
    		fmt.Printf(s, a...)
    		fmt.Printf("\n")
    	}
    }
    
    func warn(s string, a ...interface{}) {
    	fmt.Fprintf(os.Stderr, "warning: ")
    	fmt.Fprintf(os.Stderr, s, a...)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/types2/api.go

    	// the package scope, which contains (one or more) files scopes, which enclose
    	// function scopes which in turn enclose statement and function literal scopes.
    	// Note that even though package-level functions are declared in the package
    	// scope, the function scopes are embedded in the file scope of the file
    	// containing the function declaration.
    	//
    	// The Scope of a function contains the declarations of any
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 13:48:53 UTC 2024
    - 17.4K bytes
    - Viewed (0)
Back to top