Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for posFor (0.07 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)
Back to top