Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 121 for func_0 (0.22 sec)

  1. src/reflect/type.go

    func FuncOf(in, out []Type, variadic bool) Type {
    	if variadic && (len(in) == 0 || in[len(in)-1].Kind() != Slice) {
    		panic("reflect.FuncOf: last arg of variadic func must be slice")
    	}
    
    	// Make a func type.
    	var ifunc any = (func())(nil)
    	prototype := *(**funcType)(unsafe.Pointer(&ifunc))
    	n := len(in) + len(out)
    
    	if n > 128 {
    		panic("reflect.FuncOf: too many arguments")
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 85.5K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/tensor_list_ops_decomposition.cc

      void runOnOperation() override;
    };
    
    // Updates func's type according to its current arguments and return values.
    void UpdateFuncType(func::FuncOp func) {
      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()));
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 39.2K bytes
    - Viewed (0)
  3. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/internal/gtest-port.h

    template <typename T>
    class ThreadWithParam : public ThreadWithParamBase {
     public:
      typedef void (*UserThreadFunc)(T);
    
      ThreadWithParam(
          UserThreadFunc func, T param, Notification* thread_can_start)
          : func_(func),
            param_(param),
            thread_can_start_(thread_can_start),
            finished_(false) {
        ThreadWithParamBase* const base = this;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 67.2K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/libs/googleTest/1.7.0/include/gtest/internal/gtest-port.h

    template <typename T>
    class ThreadWithParam : public ThreadWithParamBase {
     public:
      typedef void (*UserThreadFunc)(T);
    
      ThreadWithParam(
          UserThreadFunc func, T param, Notification* thread_can_start)
          : func_(func),
            param_(param),
            thread_can_start_(thread_can_start),
            finished_(false) {
        ThreadWithParamBase* const base = this;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 67.2K bytes
    - Viewed (0)
  5. src/runtime/race.go

    var racearenastart uintptr
    var racearenaend uintptr
    
    func racefuncenter(callpc uintptr)
    func racefuncenterfp(fp uintptr)
    func racefuncexit()
    func raceread(addr uintptr)
    func racewrite(addr uintptr)
    func racereadrange(addr, size uintptr)
    func racewriterange(addr, size uintptr)
    func racereadrangepc1(addr, size, pc uintptr)
    func racewriterangepc1(addr, size, pc uintptr)
    func racecallbackthunk(uintptr)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:37:29 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/transforms/sparsecore/embedding_sequencing.cc

      std::vector<Type> output_types = GetValueTypes(outputs);
      builder.setInsertionPointToEnd(&module.getBodyRegion().back());
      func::FuncOp func_op = builder.create<func::FuncOp>(
          module.getLoc(), name,
          builder.getFunctionType(input_types, output_types));
      func_op.setPrivate();
    
      return func_op;
    }
    
    TF::StatefulPartitionedCallOp EncapsulateOpsInFunc(
        OpBuilder& builder, const llvm::SetVector<Operation*>& ops,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  7. src/reflect/all_test.go

    	},
    	{struct {
    		x struct {
    			f func(args ...int)
    		}
    	}{},
    		"struct { f func(...int) }",
    	},
    	{struct {
    		x (interface {
    			a(func(func(int) int) func(func(int)) int)
    			b()
    		})
    	}{},
    		"interface { reflect_test.a(func(func(int) int) func(func(int)) int); reflect_test.b() }",
    	},
    	{struct {
    		x struct {
    			int32
    			int64
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 218.8K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/html.go

    	}
    	html := HTMLWriter{
    		w:    out,
    		Func: f,
    		path: reportPath,
    		dot:  newDotWriter(cfgMask),
    	}
    	html.start()
    	return &html
    }
    
    // Fatalf reports an error and exits.
    func (w *HTMLWriter) Fatalf(msg string, args ...interface{}) {
    	fe := w.Func.Frontend()
    	fe.Fatalf(src.NoXPos, msg, args...)
    }
    
    // Logf calls the (w *HTMLWriter).Func's Logf method passing along a msg and args.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 04 15:11:40 UTC 2023
    - 34.8K bytes
    - Viewed (0)
  9. src/internal/trace/event.go

    	id    stackID
    }
    
    // Frames is an iterator over the frames in a Stack.
    func (s Stack) Frames(yield func(f StackFrame) bool) bool {
    	if s.id == 0 {
    		return true
    	}
    	stk := s.table.stacks.mustGet(s.id)
    	for _, pc := range stk.pcs {
    		f := s.table.pcs[pc]
    		sf := StackFrame{
    			PC:   f.pc,
    			Func: s.table.strings.mustGet(f.funcID),
    			File: s.table.strings.mustGet(f.fileID),
    			Line: f.line,
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 12:39:00 UTC 2024
    - 28.9K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_a_m.cc

      StringRef func_name = func_attr.getValue();
      func::FuncOp func =
          symbolTable.lookupNearestSymbolFrom<func::FuncOp>(*this, func_attr);
    
      if (!func) {
        return emitError("'f' attribute refers to an undefined function: ")
               << func_name;
      }
    
      FunctionType func_ty = func.getFunctionType();
      int func_arg_count = func_ty.getNumInputs();
      int arg_count = getArgs().size();
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 146.7K bytes
    - Viewed (0)
Back to top