Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for isReg (0.33 sec)

  1. src/cmd/vendor/golang.org/x/arch/x86/x86asm/inst.go

    	fmt.Fprintf(&buf, "%v", i.Op)
    	sep := " "
    	for _, v := range i.Args {
    		if v == nil {
    			break
    		}
    		fmt.Fprintf(&buf, "%s%v", sep, v)
    		sep = ", "
    	}
    	return buf.String()
    }
    
    func isReg(a Arg) bool {
    	_, ok := a.(Reg)
    	return ok
    }
    
    func isSegReg(a Arg) bool {
    	r, ok := a.(Reg)
    	return ok && ES <= r && r <= GS
    }
    
    func isMem(a Arg) bool {
    	_, ok := a.(Mem)
    	return ok
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/arch/x86/x86asm/gnu.go

    	if args != nil {
    		text += " "
    		// Indirect call/jmp gets a star to distinguish from direct jump address.
    		if (inst.Op == CALL || inst.Op == JMP || inst.Op == LJMP || inst.Op == LCALL) && (isMem(inst.Args[0]) || isReg(inst.Args[0])) {
    			text += "*"
    		}
    		text += strings.Join(args, ",")
    	}
    	return text
    }
    
    // gnuArg returns the GNU syntax for the argument x from the instruction inst.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 21.4K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/regalloc.go

    		r := e.findRegFor(c.Type)
    		if e.s.f.pass.debug > regDebug {
    			fmt.Printf("breaking cycle with v%d in %s:%s\n", vid, loc, c)
    		}
    		e.erase(r)
    		pos := d.pos.WithNotStmt()
    		if _, isReg := loc.(*Register); isReg {
    			c = e.p.NewValue1(pos, OpCopy, c.Type, c)
    		} else {
    			c = e.p.NewValue1(pos, OpLoadReg, c.Type, c)
    		}
    		e.set(r, vid, c, false, pos)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 17:49:56 UTC 2023
    - 87.2K bytes
    - Viewed (0)
  4. tensorflow/c/c_test_util.h

    bool IsPlaceholder(const tensorflow::NodeDef& node_def);
    
    bool IsScalarConst(const tensorflow::NodeDef& node_def, int v);
    
    bool IsAddN(const tensorflow::NodeDef& node_def, int n);
    
    bool IsNeg(const tensorflow::NodeDef& node_def, const string& input);
    
    bool GetGraphDef(TF_Graph* graph, tensorflow::GraphDef* graph_def);
    
    bool GetNodeDef(TF_Operation* oper, tensorflow::NodeDef* node_def);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Aug 09 01:06:53 UTC 2018
    - 6K bytes
    - Viewed (0)
  5. tensorflow/c/c_test_util.cc

        } else if (attr.first == "N") {
          if (attr.second.i() == n) {
            found_n = true;
          } else {
            return false;
          }
        }
      }
      return found_t && found_n;
    }
    
    bool IsNeg(const tensorflow::NodeDef& node_def, const string& input) {
      return node_def.op() == "Neg" && node_def.name() == "neg" &&
             node_def.input_size() == 1 && node_def.input(0) == input;
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Oct 15 03:16:52 UTC 2021
    - 17.8K bytes
    - Viewed (0)
  6. tensorflow/c/c_api_test.cc

      ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s);
    
      // Serialize to NodeDef.
      NodeDef node_def;
      ASSERT_TRUE(GetNodeDef(neg, &node_def));
    
      // Validate NodeDef is what we expect.
      EXPECT_TRUE(IsNeg(node_def, "add"));
    
      // Serialize to GraphDef.
      GraphDef graph_def2;
      ASSERT_TRUE(GetGraphDef(graph, &graph_def2));
    
      // Compare with first GraphDef + added NodeDef.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 15 03:35:10 UTC 2024
    - 96.9K bytes
    - Viewed (0)
  7. src/internal/trace/traceviewer/static/trace_viewer_full.html

    t=2/(2+x);ty=4*t-2;for(;j>0;j--){tmp=d;d=ty*d-dd+cof[j];dd=tmp;}
    res=t*Math.exp(-x*x+0.5*(cof[0]+ty*d)-dd);return isneg?res-1:1-res;};var dnorm=function(x,mean,std){return 0.5*(1+erf((x-mean)/Math.sqrt(2*std*std)));}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 20:45:06 UTC 2023
    - 2.5M bytes
    - Viewed (0)
Back to top