- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 3,539 for def2 (0.05 sec)
-
platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/DefaultCacheFactoryTest.groovy
} void "reuses directory backed cache instances"() { when: def ref1 = factory.open(tmpDir.testDirectory, null, [prop: 'value'], mode(Exclusive), null, null) def ref2 = factory.open(tmpDir.testDirectory, null, [prop: 'value'], mode(Exclusive), null, null) then: ref1.reference.cache.is(ref2.reference.cache) and: 1 * opened.accept(_) 0 * opened._
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 16 15:49:51 UTC 2024 - 7.8K bytes - Viewed (0) -
platforms/jvm/language-java/src/test/groovy/org/gradle/api/internal/tasks/compile/NormalizingJavaCompilerTest.groovy
NormalizingJavaCompiler compiler = new NormalizingJavaCompiler(target) def setup() { spec.sourceFiles = files("Source1.java", "Source2.java", "Source3.java") spec.compileClasspath = [new File("Dep1.jar"), new File("Dep2.jar"), new File("Dep3.jar")] def compileOptions = TestUtil.newInstance(CompileOptions, TestUtil.objectFactory())
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Aug 28 11:40:18 UTC 2023 - 4.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/quantization/tools/op_quant_spec_getters_gen.cc
OUT(2) << "}\n"; OUT(2) << "auto spec = std::make_unique<quant::OpQuantSpec>();\n"; llvm::SmallVector<llvm::StringRef, 3> matches; for (auto *def : defs) { Operator op(def); for (const auto t : op.getTraits()) { if (auto opTrait = llvm::dyn_cast<mlir::tblgen::NativeTrait>(&t)) { auto trait_str = opTrait->getFullyQualifiedTraitName();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 15 11:18:44 UTC 2024 - 4.9K bytes - Viewed (0) -
tensorflow/compiler/jit/force_xla_constants_on_host_pass.cc
for (Node* node : graph->nodes()) { if (CanCreateXlaKernel(node->def())) { const FunctionBody* fbody = nullptr; std::vector<int> constant_arg_indices; std::vector<int> resource_arg_indices; NameAttrList function; TF_RETURN_IF_ERROR(NameAndAttrsFromFunctionCall(node->def(), &function)); // Force all constants to be on the host memory.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 22 08:47:20 UTC 2024 - 2.1K bytes - Viewed (0) -
testing/internal-performance-testing/src/main/groovy/org/gradle/performance/generator/BazelFileContentGenerator.groovy
) load("@rules_jvm_external//:defs.bzl", "maven_install") maven_install( artifacts = [ ], repositories = [ "https://repo.maven.apache.org/maven2/" ], ) """ } String generateBuildFile(Integer subProjectNumber, DependencyTree dependencyTree) { def isRoot = subProjectNumber == null
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 5.7K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/util/openapi/enablement_test.go
defs := GetOpenAPIDefinitionsWithoutDisabledFeatures(getOpenAPIDefs)(func(path string) spec.Ref { return spec.Ref{} }) def := defs["k8s.io/api/apps/v1.DeploymentCondition"] enumAppeared := false for _, prop := range def.Schema.Properties { if strings.Contains(prop.Description, "enum") { enumAppeared = true
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 4.9K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/analysis/passes/stdmethods/stdmethods.go
} func canonicalMethod(pass *analysis.Pass, id *ast.Ident) { // Expected input/output. expect, ok := canonicalMethods[id.Name] if !ok { return } // Actual input/output sign := pass.TypesInfo.Defs[id].Type().(*types.Signature) args := sign.Params() results := sign.Results() // Special case: WriteTo with more than one argument, // not trying at all to implement io.WriterTo,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 09 01:28:01 UTC 2023 - 6.9K bytes - Viewed (0) -
tensorflow/c/experimental/ops/gen/common/controller.cc
if (env_->FileExists(file_path).ok()) { TF_CHECK_OK(api_def_map_->LoadFile(env_, file_path)) << file_path; } else { // API defs are currently used for only optional pieces. } } } // Doc strings (summary, description) typically come from the API def. api_def_map_->UpdateDocs(); } void Controller::BuildModel() { // Build the internal data model for the requested ops
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 21 09:51:28 UTC 2024 - 3.2K bytes - Viewed (0) -
tensorflow/compiler/jit/force_xla_constants_on_host_pass_test.cc
bool found = false; for (Node* node : graph->nodes()) { if (CanCreateXlaKernel(node->def())) { EXPECT_FALSE(found); found = true; std::vector<int32> hostmem_attr; EXPECT_TRUE(TryGetNodeAttr(node->def(), "_input_hostmem", &hostmem_attr)); EXPECT_EQ(hostmem_attr.size(), 1); EXPECT_EQ(hostmem_attr[0], 1); } }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 22 08:47:20 UTC 2024 - 4.1K bytes - Viewed (0) -
src/cmd/cgo/internal/testshared/testdata/dep3/dep3.go
// depBase that is also referenced in dep2, but dep2 is loaded by the // linker before depBase (because it is earlier in the import list). // There was a bug in the linker where it would not correctly read out // the type data in this case and later crash. import ( "testshared/dep2" "testshared/depBase" ) type Dep3 struct { dep depBase.Dep dep2 dep2.Dep2 } func D3() int { var x Dep3
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 11:59:56 UTC 2023 - 503 bytes - Viewed (0)