Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for posFor (0.63 sec)

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

    func hasDots(call *syntax.CallExpr) bool { return call.HasDots }
    
    // dddErrPos returns the node (poser) for reporting an invalid ... use in a call.
    func dddErrPos(call *syntax.CallExpr) *syntax.CallExpr {
    	// TODO(gri) should use "..." instead of call position
    	return call
    }
    
    // argErrPos returns the node (poser) for reporting an invalid argument count.
    func argErrPos(call *syntax.CallExpr) *syntax.CallExpr { return call }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types2/version.go

    // is allowed to use version v. If the position is unknown, the specified
    // module version (Config.GoVersion) is used. If that version is invalid,
    // allowVersion returns true.
    func (check *Checker) allowVersion(at poser, v goVersion) bool {
    	fileVersion := check.conf.GoVersion
    	if pos := at.Pos(); pos.IsKnown() {
    		fileVersion = check.versions[pos.FileBase()]
    	}
    
    	// We need asGoVersion (which calls version.Lang) below
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 20:44:57 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  3. tensorflow/compiler/jit/device_util.h

      // return false.
      //
      // TODO(sanjoy): Change this to take a typed std::function if that's
      // performance neutral.
      template <typename FnTy>
      void ForEach(FnTy func) const {
        // This is really a poor man's iterator, we should consider writing a proper
        // iterator if this ends up being used widely.
        for (int word_index = 0, end = storage_.size(); word_index < end;
             word_index++) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 15 17:18:31 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/types2/check.go

    // Otherwise, it is a no-op.
    func (a *action) describef(pos poser, format string, args ...interface{}) {
    	if debug {
    		a.desc = &actionDesc{pos, format, args}
    	}
    }
    
    // An actionDesc provides information on an action.
    // For debugging only.
    type actionDesc struct {
    	pos    poser
    	format string
    	args   []interface{}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 23.3K bytes
    - Viewed (0)
  5. src/runtime/runtime1.go

    	if GOOS == "linux" {
    		// On Linux, MADV_FREE is faster than MADV_DONTNEED,
    		// but doesn't affect many of the statistics that
    		// MADV_DONTNEED does until the memory is actually
    		// reclaimed. This generally leads to poor user
    		// experience, like confusing stats in top and other
    		// monitoring tools; and bad integration with
    		// management systems that respond to memory usage.
    		// Hence, default to MADV_DONTNEED.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/types2/call.go

    // and x.mode is set to invalid.
    func (check *Checker) funcInst(T *target, pos syntax.Pos, x *operand, inst *syntax.IndexExpr, infer bool) ([]Type, []syntax.Expr) {
    	assert(T != nil || inst != nil)
    
    	var instErrPos poser
    	if inst != nil {
    		instErrPos = inst.Pos()
    		x.expr = inst // if we don't have an index expression, keep the existing expression of x
    	} else {
    		instErrPos = pos
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 31.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/hash/Hashing.java

       *       servers {@code alpha}, {@code bravo}, and {@code charlie} and you occasionally need to
       *       take each of the servers offline, {@code consistentHash} will be a poor fit: It provides
       *       no way for you to specify which of the three buckets is disappearing. Thus, if your
       *       buckets change from {@code [alpha, bravo, charlie]} to {@code [bravo, charlie]}, it will
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Apr 09 00:37:15 UTC 2024
    - 29.2K bytes
    - Viewed (0)
  8. src/go/types/generate_test.go

    		renameSelectorExprs(f, "syntax.Name->ast.Ident", "ident.Value->ident.Name", "ast.Pos->token.Pos") // must happen before renaming identifiers
    		renameIdents(f, "syntax->ast", "poser->positioner", "nopos->noposn")
    	},
    	"array.go":          nil,
    	"api_predicates.go": nil,
    	"basic.go":          nil,
    	"builtins.go": func(f *ast.File) {
    		renameImportPath(f, `"cmd/compile/internal/syntax"->"go/ast"`)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 16.5K bytes
    - Viewed (0)
  9. guava/src/com/google/common/hash/Hashing.java

       *       servers {@code alpha}, {@code bravo}, and {@code charlie} and you occasionally need to
       *       take each of the servers offline, {@code consistentHash} will be a poor fit: It provides
       *       no way for you to specify which of the three buckets is disappearing. Thus, if your
       *       buckets change from {@code [alpha, bravo, charlie]} to {@code [bravo, charlie]}, it will
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Apr 09 00:37:15 UTC 2024
    - 32.3K bytes
    - Viewed (0)
  10. pilot/pkg/config/kube/crdclient/client.go

    //
    // This code relies heavily on code generation for performance reasons; to implement the
    // Istio store interface, we need to take dynamic inputs. Using the dynamic informers results in poor
    // performance, as the cache will store unstructured objects which need to be marshaled on each Get/List call.
    // Using istio/client-go directly will cache objects marshaled, allowing us to have cheap Get/List calls,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 00:12:28 UTC 2024
    - 13.7K bytes
    - Viewed (0)
Back to top