Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for _Cfunc_ (0.19 sec)

  1. src/cmd/cgo/gcc.go

    	var goname string
    	switch fun := call.Call.Fun.(type) {
    	case *ast.SelectorExpr:
    		goname = fun.Sel.Name
    	case *ast.Ident:
    		goname = strings.TrimPrefix(fun.Name, "_C2func_")
    		goname = strings.TrimPrefix(goname, "_Cfunc_")
    	}
    	if goname == "" || goname == "malloc" {
    		return "", false
    	}
    	name := f.Name[goname]
    	if name == nil || name.Kind != "func" {
    		// Probably a type conversion.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 97K bytes
    - Viewed (0)
  2. tensorflow/c/c_api_function_test.cc

      ASSERT_EQ(func_->record->fdef().signature().attr().size(), 2);
      EXPECT_EQ(func_->record->fdef().signature().attr(0).name(), "v1");
      EXPECT_EQ(func_->record->fdef().signature().attr(0).type(), "int");
      EXPECT_EQ(func_->record->fdef().signature().attr(1).name(), "v2");
      EXPECT_EQ(func_->record->fdef().signature().attr(1).type(), "int");
    }
    
    void NodeWithAttrHelper(TF_Graph* graph, TF_Status* s, const char* name,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jul 20 22:08:54 UTC 2023
    - 63.6K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/syntax/parser.go

    			}
    			p.advance(_Import, _Const, _Type, _Var, _Func)
    			continue
    		}
    
    		// Reset p.pragma BEFORE advancing to the next token (consuming ';')
    		// since comments before may set pragmas for the next function decl.
    		p.clearPragma()
    
    		if p.tok != _EOF && !p.got(_Semi) {
    			p.syntaxError("after top level declaration")
    			p.advance(_Import, _Const, _Type, _Var, _Func)
    		}
    	}
    	// p.tok == _EOF
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 62.9K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/g3doc/_includes/tf_passes.md

    }
    ```
    
    will be transformed into:
    
    ```mlir
    func @computation(%arg0: tensor<i32>) -> tensor<i32> {
      %cluster = "tf_device.cluster_func"(%arg0) {func = @_func} : (tensor<i32>) -> tensor<i32>
      return %cluster : tensor<i32>
    }
    
    func @_func(%arg0: tensor<i32>) -> tensor<i32> {
      %identity = "tf.Identity"(%arg0) : (tensor<i32>) -> tensor<i32>
      return %identity : tensor<i32>
    }
    ```
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Aug 02 02:26:39 UTC 2023
    - 96.4K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/libs/googleTest/1.7.0/include/gtest/internal/gtest-port.h

          finished_ = true;
        }
      }
    
      virtual void Run() {
        if (thread_can_start_ != NULL)
          thread_can_start_->WaitForNotification();
        func_(param_);
      }
    
     private:
      const UserThreadFunc func_;  // User-supplied thread function.
      const T param_;  // User-supplied parameter to the thread function.
      // When non-NULL, used to block execution until the controller thread
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 67.2K bytes
    - Viewed (0)
  6. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/internal/gtest-port.h

          finished_ = true;
        }
      }
    
      virtual void Run() {
        if (thread_can_start_ != NULL)
          thread_can_start_->WaitForNotification();
        func_(param_);
      }
    
     private:
      const UserThreadFunc func_;  // User-supplied thread function.
      const T param_;  // User-supplied parameter to the thread function.
      // When non-NULL, used to block execution until the controller thread
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 67.2K bytes
    - Viewed (0)
Back to top