Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 54 for argTypes (0.14 sec)

  1. src/cmd/vet/testdata/print/print.go

    // Test with make test.
    func PrintfTests() {
    	var b bool
    	var i int
    	var r rune
    	var s string
    	var x float64
    	var p *int
    	var imap map[int]int
    	var fslice []float64
    	var c complex64
    	// Some good format/argtypes
    	fmt.Printf("")
    	fmt.Printf("%b %b %b", 3, i, x)
    	fmt.Printf("%c %c %c %c", 3, i, 'x', r)
    	fmt.Printf("%d %d %d", 3, i, imap)
    	fmt.Printf("%e %e %e %e", 3e9, x, fslice, c)
    	fmt.Printf("%E %E %E %E", 3e9, x, fslice, c)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 09 01:28:01 UTC 2023
    - 27.5K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/arch/ppc64/ppc64asm/decode.go

    		off := a.BitFields.ParseSigned(i) << a.Shift
    		neg := int64(-1) << (int(a.Shift) + a.BitFields.NumBits())
    		return Offset(neg | off)
    	}
    }
    
    type ArgType int8
    
    const (
    	TypeUnknown      ArgType = iota
    	TypePCRel                // PC-relative address
    	TypeLabel                // absolute address
    	TypeReg                  // integer register
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 22 17:16:14 UTC 2022
    - 5.6K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/transforms/tpu_annotate_dynamic_shape_inputs.cc

          arg.setType(resultType);
        }
        llvm::SmallVector<Type, 8> arg_types;
        for (auto arg : func.getArguments()) arg_types.push_back(arg.getType());
        func.setType(
            FunctionType::get(func.getContext(), arg_types,
                              func.front().getTerminator()->getOperandTypes()));
        return WalkResult::advance();
      });
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  4. src/text/template/funcs.go

    // prepareArg checks if value can be used as an argument of type argType, and
    // converts an invalid value to appropriate zero if possible.
    func prepareArg(value reflect.Value, argType reflect.Type) (reflect.Value, error) {
    	if !value.IsValid() {
    		if !canBeNil(argType) {
    			return reflect.Value{}, fmt.Errorf("value is nil; should be of type %s", argType)
    		}
    		value = reflect.Zero(argType)
    	}
    	if value.Type().AssignableTo(argType) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 22:23:55 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  5. tensorflow/compiler/jit/compilability_check_util.cc

      *fbody = flr->GetFunctionBody(handle);
      CHECK(*fbody);  // Can't be nullptr since we just instantiated it.
      const DataTypeVector& arg_types = (*fbody)->arg_types;
      std::vector<bool> const_args(arg_types.size());
      // If we can't analyze the const args. Bail out.
      TF_RETURN_IF_ERROR(
          BackwardsConstAnalysis(*((*fbody)->graph), &const_args,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top