- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 15 for generatedCode (0.19 sec)
-
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/catalog/ProjectAccessorsSourceGeneratorTest.groovy
} } @CompileStatic private class GeneratedCode { private final String name private final String generatedCode GeneratedCode(String name, String code) { this.name = name this.generatedCode = code } private int lineOfSubAccessor(String projectPath) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 12.3K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/codegen/GradleApiExtensionsTest.kt
`extendedFunction`(`type`.java) """, ) assertSingleSourceFileGeneratedFor(IncubatingType::class).readText().also { generatedCode -> assertThat(generatedCode, containsString("@file:${Incubating::class.java.name}")) } } } @Test fun `maps incubating function`() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sun Nov 12 16:16:08 UTC 2023 - 22.3K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/analysis/passes/stdversion/stdversion.go
return true } } } return false } // Matches cgo generated comment as well as the proposed standard: // // https://golang.org/s/generatedcode var generatedRx = regexp.MustCompile(`// .*DO NOT EDIT\.?`) // origin returns the original uninstantiated symbol for obj. func origin(obj types.Object) types.Object { switch obj := obj.(type) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 02:38:00 UTC 2024 - 4.8K bytes - Viewed (0) -
src/hash/crc32/gen_const_ppc64le.go
div = (div << 1) | high mod <<= 1 if high != 0 { mod ^= poly } n-- } return mod & mask, div } func main() { w := new(bytes.Buffer) // Standard: https://go.dev/s/generatedcode fmt.Fprintln(w, `// Code generated by "go run gen_const_ppc64le.go"; DO NOT EDIT.`) fmt.Fprintln(w) fmt.Fprintln(w, `#include "textflag.h"`) // These are the polynomials supported in vector now.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 19 20:44:20 UTC 2024 - 4.5K bytes - Viewed (0) -
src/go/ast/ast.go
func (p *Package) End() token.Pos { return token.NoPos } // IsGenerated reports whether the file was generated by a program, // not handwritten, by detecting the special comment described // at https://go.dev/s/generatedcode. // // The syntax tree must have been parsed with the [parser.ParseComments] flag. // Example: // // f, err := parser.ParseFile(fset, filename, src, parser.ParseComments|parser.PackageClauseOnly)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 28 21:32:41 UTC 2024 - 35.6K bytes - Viewed (0) -
pkg/volume/csi/nodeinfomanager/nodeinfomanager_test.go
driverName: "com.example.csi.driver1", existingNode: generateNode(nil /* nodeIDs */, nil /* labels */, nil /*capacity*/), inputNodeID: "", expectFail: true, }, { name: "new node with valid max limit of volumes", driverName: "com.example.csi.driver1", existingNode: generateNode(nil /*nodeIDs*/, nil /*labels*/, nil /*capacity*/), inputVolumeLimit: 10,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Dec 17 02:02:59 UTC 2022 - 34.3K bytes - Viewed (0) -
tensorflow/c/experimental/ops/gen/cpp/cpp_generator.cc
cpp::RendererContext::Mode mode) const { SourceCode generated_code; const std::vector<OpSpec> ops(controller_.GetModelOps()); std::vector<cpp::OpView> views(ops.begin(), ops.end()); cpp::RendererContext context{mode, generated_code, cpp_config_, path_config_}; cpp::CppFileRenderer(context, views).Render(); return generated_code; } SourceCode CppGenerator::HeaderFileContents() const {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Jun 21 18:51:25 UTC 2021 - 2.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfr/define_op_template.py
def _composite_random_op(): pass def main(_): if FLAGS.gen_register_op: assert FLAGS.output.endswith('.cc') generated_code = gen_register_op(sys.modules[__name__], '_composite_') else: assert FLAGS.output.endswith('.mlir') generated_code = tfr_gen_from_module(sys.modules[__name__], '_composite_') dirname = os.path.dirname(FLAGS.output) if not os.path.exists(dirname):
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Sep 28 21:37:05 UTC 2021 - 1.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfr/examples/customization/ops_defs.py
assert FLAGS.output.endswith('.cc') generated_code = gen_register_op(sys.modules[__name__], '_override_') else: assert FLAGS.output.endswith('.mlir') generated_code = tfr_gen_from_module(sys.modules[__name__], '_override_') dirname = os.path.dirname(FLAGS.output) if not os.path.exists(dirname): os.makedirs(dirname) with open(FLAGS.output, 'w') as f: f.write(generated_code) if __name__ == '__main__':
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Sep 28 21:37:05 UTC 2021 - 2.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfr/examples/pad/ops_defs.py
def main(_): if FLAGS.gen_register_op: assert FLAGS.output.endswith('.cc') generated_code = gen_register_op(sys.modules[__name__], '_composite_') else: assert FLAGS.output.endswith('.mlir') generated_code = tfr_gen_from_module(sys.modules[__name__], '_composite_') dirname = os.path.dirname(FLAGS.output) if not os.path.exists(dirname):
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Oct 01 05:00:29 UTC 2021 - 5.6K bytes - Viewed (0)