- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 73 for nameFor (0.18 sec)
-
platforms/core-runtime/base-services/src/main/java/org/gradle/api/Namer.java
/** * A comparator implementation based on the names returned by the given namer. * * @param <T> The type of object that the namer can name */ class Comparator<T> implements java.util.Comparator<T> { private final Namer<? super T> namer; public Comparator(Namer<? super T> namer) { this.namer = namer; } @Override public int compare(T o1, T o2) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jan 26 14:58:23 UTC 2024 - 1.9K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/endpoints/handlers/namer.go
// does not support names. ObjectName(obj runtime.Object) (namespace, name string, err error) } type ContextBasedNaming struct { Namer runtime.Namer ClusterScoped bool } // ContextBasedNaming implements ScopeNamer var _ ScopeNamer = ContextBasedNaming{} func (n ContextBasedNaming) Namespace(req *http.Request) (namespace string, err error) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Feb 14 10:11:56 UTC 2022 - 2.6K bytes - Viewed (0) -
src/cmd/go/testdata/script/list_test_err.txt
import _ "testdep_a" -- syntaxerr/syntaxerr_x_test.go -- package syntaxerr import _ "testdep_b" -- nameerr/nameerr.go -- package nameerr import _ "pkgdep" -- nameerr/nameerr_i_test.go -- package nameerr import ( _ "testdep_a" "testing" ) func TestBad(t *testing.B) {} -- nameerr/nameerr_x_test.go -- package nameerr_test import ( _ "testdep_b" "testing" )
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 04 23:08:19 UTC 2023 - 2.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/add_quantization_unit_loc.cc
if (locations.size() < 2 || !isa<NameLoc>(locations.front())) return false; StringRef op_type_with_suffix = mlir::cast<NameLoc>(locations.front()).getName().strref(); if (!op_type_with_suffix.ends_with(":")) return false; return absl::c_all_of(locations, [](Location loc) { return isa<NameLoc>(loc) || (isa<CallSiteLoc>(loc) && isa<NameLoc>(mlir::cast<CallSiteLoc>(loc).getCallee())); });
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 7.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/cc/quantization_unit_loc.cc
: CallSiteLoc(CallSiteLoc::get( /*callee=*/NameLoc::get( StringAttr::get(context, ConcatNodeAndFuncName(unit.node_name(), unit.func_name())), /*childLoc=*/NameLoc::get( StringAttr::get(context, unit.op_type()))), /*caller=*/NameLoc::get(StringAttr::get(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 4.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/metrics/types_util.cc
auto new_call = mutable_location->mutable_call()->Add(); ExtractFileLine(loc, new_call->mutable_source()); }) .Case<NameLoc>([&](NameLoc loc) { if (!mutable_location->has_type()) { mutable_location->set_type(ConverterErrorData::NAMELOC); } auto new_call = mutable_location->mutable_call()->Add(); new_call->set_name(loc.getName().str());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 4.9K bytes - Viewed (0) -
platforms/software/platform-base/src/main/java/org/gradle/model/internal/core/DomainObjectCollectionBackedModelMap.java
private final String name; private final org.gradle.api.Namer<? super T> namer; public HasNamePredicate(String name, org.gradle.api.Namer<? super T> namer) { this.name = name; this.namer = namer; } @Override public boolean apply(@Nullable T input) { return namer.determineName(input).equals(name); } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Oct 11 12:16:09 UTC 2023 - 7.9K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/internal/DefaultNamedDomainObjectSet.java
private final MutationGuard parentMutationGuard; public DefaultNamedDomainObjectSet(Class<? extends T> type, Instantiator instantiator, Namer<? super T> namer, CollectionCallbackActionDecorator decorator) { super(type, new SortedSetElementSource<T>(new Namer.Comparator<T>(namer)), instantiator, namer, decorator); this.parentMutationGuard = MutationGuards.identity(); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Nov 01 08:21:29 UTC 2023 - 4.9K bytes - Viewed (0) -
platforms/jvm/platform-jvm/src/test/groovy/org/gradle/api/internal/jvm/ClassDirectoryBinaryNamingSchemeTest.groovy
"test" | "compile" | "java" | "compileTestJava" } def "generates binary name and output directory"() { def namer = new ClassDirectoryBinaryNamingScheme(baseName) expect: namer.binaryName == binaryName namer.outputDirectoryBase == outputDir where: baseName | binaryName | outputDir "main" | "main" | "main"
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 15:09:49 UTC 2023 - 2.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/insert_save_op.cc
// op. The `ConstOp` will be created at `builder`'s current insertion point. TF::ConstOp CreateTensorNamesConst(const ArrayRef<std::string> tensor_names, OpBuilder& builder) { const auto loc = NameLoc::get(builder.getStringAttr("tensor_names")); return Create1DStringConst(tensor_names, loc, builder); } // Creates a 1D string array constant for "shape_and_slices" input of
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Mar 22 05:52:39 UTC 2024 - 9.5K bytes - Viewed (0)