Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 60 for argTypes (0.14 sec)

  1. platforms/jvm/testing-jvm-infrastructure/src/main/java/org/gradle/api/internal/tasks/testing/testng/TestNGTestClassProcessor.java

         */
        private void setConfigFailurePolicy(TestNG testNg, String value) {
            Class<?> argType;
            Object argValue;
            try {
                argType = Class.forName("org.testng.xml.XmlSuite$FailurePolicy", false, testNg.getClass().getClassLoader());
                argValue = argType.getMethod("getValidPolicy", String.class).invoke(null, value);
            } catch (Exception e) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 21:25:59 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/walk/convert.go

    		switch {
    		case fromType == argType:
    			// already in the right type, nothing to do
    			arg = n
    		case fromType.Kind() == argType.Kind(),
    			fromType.IsPtrShaped() && argType.IsPtrShaped():
    			// can directly convert (e.g. named type to underlying type, or one pointer to another)
    			// TODO: never happens because pointers are directIface?
    			arg = ir.NewConvExpr(pos, ir.OCONVNOP, argType, n)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 09 17:28:22 UTC 2023
    - 18.2K bytes
    - Viewed (0)
  3. src/net/rpc/server.go

    			}
    			continue
    		}
    		// First arg need not be a pointer.
    		argType := mtype.In(1)
    		if !isExportedOrBuiltinType(argType) {
    			if logErr {
    				log.Printf("rpc.Register: argument type of method %q is not exported: %q\n", mname, argType)
    			}
    			continue
    		}
    		// Second arg must be a pointer.
    		replyType := mtype.In(2)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 03:29:50 UTC 2024
    - 21.6K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/tensorflow/passes/insert_main_function.cc

      // Collects argument and result types.
      llvm::SmallVector<Location> arg_locs;
      llvm::SmallVector<Type> arg_types, result_types;
    
      for (auto func_op : module_op.getOps<func::FuncOp>()) {
        if (!ShouldIncludeInMainFunction(func_op)) continue;
    
        arg_types.append(func_op.getArgumentTypes().begin(),
                         func_op.getArgumentTypes().end());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 16.5K bytes
    - Viewed (0)
  5. tensorflow/c/experimental/ops/gen/cpp/views/arg_type_view.cc

    #include "tensorflow/core/framework/types.pb.h"
    #include "tensorflow/core/platform/types.h"
    
    namespace tensorflow {
    namespace generator {
    namespace cpp {
    
    ArgTypeView::ArgTypeView(ArgType arg_type) : arg_type_(arg_type) {}
    
    string ArgTypeView::TypeName() const {
      if (arg_type_.is_read_only()) {
        if (arg_type_.is_list()) {
          return "absl::Span<AbstractTensorHandle* const>";
        } else {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Jun 03 07:02:00 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/stablehlo/passes/replace_stablehlo_ops_in_main_function_with_xla_call_module_ops.cc

      SmallVector<Type> arg_types;
      SmallVector<Location> arg_locs;
    
      // Add an argument for platform_index. This allows for multiple platforms.
      // TODO: b/310291615 - find a better way for platform support.
      arg_types.push_back(RankedTensorType::get({}, builder.getI32Type()));
      arg_locs.push_back(module_op.getLoc());
      for (const Value input_value : inputs) {
        arg_types.push_back(input_value.getType());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 21K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/walk/builtin.go

    		fnname = "makeslice"
    		argtype = types.Types[types.TINT]
    	}
    	fn := typecheck.LookupRuntime(fnname)
    	ptr := mkcall1(fn, types.Types[types.TUNSAFEPTR], init, reflectdata.MakeSliceElemRType(base.Pos, n), typecheck.Conv(len, argtype), typecheck.Conv(cap, argtype))
    	ptr.MarkNonNil()
    	len = typecheck.Conv(len, types.Types[types.TINT])
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 22:35:22 UTC 2024
    - 31.2K bytes
    - Viewed (0)
  8. tensorflow/compiler/jit/encapsulate_xla_computations_pass.cc

        absl::flat_hash_set<Node*> control_inputs;
        DataTypeVector arg_types(num_args);
    
        AddControlInputs(*launch, &control_inputs);
    
        for (int i = 0; i < num_args; ++i) {
          const Edge* edge = in_edges[i];
          data_inputs[i] = {edge->src(), edge->src_output()};
          arg_types[i] = EdgeType(edge);
        }
    
        // Appends the variable inputs.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  9. src/net/rpc/debug.go

    	{{range .}}
    	<hr>
    	Service {{.Name}}
    	<hr>
    		<table>
    		<th align=center>Method</th><th align=center>Calls</th>
    		{{range .Method}}
    			<tr>
    			<td align=left font=fixed>{{.Name}}({{.Type.ArgType}}, {{.Type.ReplyType}}) error</td>
    			<td align=center>{{.Type.NumCalls}}</td>
    			</tr>
    		{{end}}
    		</table>
    	{{end}}
    	</body>
    	</html>`
    
    var debug = template.Must(template.New("RPC debug").Parse(debugText))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  10. tensorflow/compiler/jit/xla_kernel_creator.cc

      // Create the kernel.
      Device* dev = flr->device();
      Status s;
      auto props = std::make_shared<NodeProperties>(
          &fbody->record->fdef().signature(), node_def, fbody->arg_types,
          fbody->ret_types);
      OpKernelConstruction construction(DeviceType(dev->device_type()), dev,
                                        dev->GetAllocator(AllocatorAttributes()),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 31 22:24:01 UTC 2023
    - 4.4K bytes
    - Viewed (0)
Back to top