- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 20 for FunctionName (0.15 sec)
-
testing/performance/src/templates/cpp-source/lib.h
#ifndef PROJECT_HEADER_${functionName}_H #define PROJECT_HEADER_${functionName}_H <% functionCount.times { %> long CPP_${functionName}_${it + 1} (); <% } %>
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 200 bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/cc/saved_model_import.cc
return function_aliases; } void UpdateFunctionAliases( absl::flat_hash_map<FunctionName, FunctionAlias>& function_aliases, ModuleOp module_op) { absl::flat_hash_set<FunctionName> existing_func_names; module_op->walk([&](func::FuncOp func_op) { FunctionName func_name = func_op.getSymName().str(); existing_func_names.insert(func_name);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Apr 24 12:49:45 UTC 2024 - 6.4K bytes - Viewed (0) -
testing/performance/src/templates/cpp-source/lib.cpp
#include "${functionName}.h" // Include functions from dependencies <% projectDeps.each { p -> sourceFiles.times { %> #include "${p}lib${it + 1}.h" <% } } %> <% functionCount.times { %> long CPP_${functionName}_${it + 1} () { long sum = 1; // Call functions defined in dependent projects. <% projectDeps.each { p -> sourceFiles.times { def functionName = "${p}lib${it + 1}" functionCount.times { %>
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 521 bytes - Viewed (0) -
testing/performance/src/templates/cpp-source/exe.cpp
#define STDIO <stdio.h> #include STDIO <% }%> int main () { long sum = 1; <% sourceFiles.times { def functionName = "lib${it + 1}" if (projectName != 'root') { functionName = "${projectName}${functionName}" } functionCount.times { %> sum += CPP_${functionName}_${it + 1}(); <% } } %> printf("You made %d function calls!", sum); return 0;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 584 bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/cc/saved_model_import_test.cc
return %arg : tensor<1x2xf32> } )mlir"); ASSERT_TRUE(module_op); absl::flat_hash_map<FunctionName, FunctionAlias> function_aliases; UpdateFunctionAliases(function_aliases, *module_op); EXPECT_THAT(function_aliases, IsEmpty()); } TEST_F(UpdateFunctionAliasesTest, AliasUpdatedByMlirFunctionName) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Mar 07 03:47:17 UTC 2024 - 4.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/cc/saved_model_import.h
const std::vector<std::string>& signature_keys, MLIRContext& ctx ABSL_ATTRIBUTE_LIFETIME_BOUND); // Gets the function aliases from the SavedModel. absl::StatusOr<absl::flat_hash_map<FunctionName, FunctionAlias>> GetFunctionAliases(absl::string_view saved_model_path, const std::unordered_set<std::string>& tags); // Updates the function aliases. `module_op` may have different
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Apr 24 12:49:45 UTC 2024 - 4.2K bytes - Viewed (0) -
src/cmd/vendor/github.com/google/pprof/internal/driver/tagroot.go
type locKey struct { functionName, fileName string } locs := map[locKey]*profile.Location{} internLoc := func(locKey locKey) *profile.Location { loc, found := locs[locKey] if found { return loc } function := &profile.Function{ ID: nextFuncID, Name: locKey.functionName, Filename: locKey.fileName, } nextFuncID++
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 22 18:58:12 UTC 2022 - 3.3K bytes - Viewed (0) -
src/go/printer/example_test.go
"go/parser" "go/printer" "go/token" "strings" ) func parseFunc(filename, functionname string) (fun *ast.FuncDecl, fset *token.FileSet) { fset = token.NewFileSet() if file, err := parser.ParseFile(fset, filename, nil, 0); err == nil { for _, d := range file.Decls { if f, ok := d.(*ast.FuncDecl); ok && f.Name.Name == functionname { fun = f return } } } panic("function not found") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 16 14:55:02 UTC 2022 - 1.7K bytes - Viewed (0) -
testing/performance/src/templates/native-pch-source/lib.c
#include "pch.h" <% functionCount.times { %> int ${functionName}_${it+1} () { printf("Hello world!"); return 0; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 126 bytes - Viewed (0) -
testing/performance/src/templates/native-source/lib.c
#include <stdio.h> <% functionCount.times { %> int ${functionName}_${it+1} () { printf("Hello world!"); return 0; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 129 bytes - Viewed (0)