- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 310 for attr_ (0.15 sec)
-
platforms/jvm/plugins-java-base/src/integTest/groovy/org/gradle/api/plugins/jvm/internal/DefaultJvmPluginServicesTest.groovy
attrs = AttributeTestUtil.attributesFactory().mutable() services.configureAttributes(Stub(HasConfigurableAttributes) { getAttributes() >> attrs }) { it.platform() } then: attrs.asMap() == [ (CATEGORY_ATTRIBUTE): named(Category, REGULAR_PLATFORM) ] when: attrs = AttributeTestUtil.attributesFactory().mutable()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Mar 13 19:52:38 UTC 2024 - 12.5K bytes - Viewed (0) -
src/testing/slogtest/slogtest.go
}, }, { name: "attrs", explanation: withSource("a Handler should output attributes passed to the logging function"), f: func(l *slog.Logger) { l.Info("message", "k", "v") }, checks: []check{ hasAttr("k", "v"), }, }, { name: "empty-attr", explanation: withSource("a Handler should ignore an empty Attr"), f: func(l *slog.Logger) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Nov 08 17:55:47 UTC 2023 - 9.8K bytes - Viewed (0) -
tensorflow/cc/gradients/nn_grad.cc
string padding; string data_format; auto attrs = op.output(0).node()->attrs(); TF_RETURN_IF_ERROR(GetNodeAttr(attrs, "ksize", &ksize)); TF_RETURN_IF_ERROR(GetNodeAttr(attrs, "strides", &strides)); TF_RETURN_IF_ERROR(GetNodeAttr(attrs, "padding", &padding)); TF_RETURN_IF_ERROR(GetNodeAttr(attrs, "data_format", &data_format)); MaxPool3DGrad::Attrs grad_attrs; auto dx =
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 27 23:34:33 UTC 2022 - 24.5K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/api/ResolutionResultApiIntegrationTest.groovy
attributes.attribute(Attribute.of("attr1", Named), objects.named(Named,"value")) } } """ buildFile << """ configurations { dependencyScope("implementation") resolvable("runtimeClasspath") { attributes.attribute(Attribute.of("attr1", Named), objects.named(Named,"value"))
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 24 06:54:47 UTC 2023 - 30.5K bytes - Viewed (0) -
plugin/pkg/auth/authorizer/node/node_authorizer_test.go
node0 := &user.DefaultInfo{Name: "system:node:node0", Groups: []string{"system:nodes"}} tests := []struct { name string attrs authorizer.AttributesRecord expect authorizer.Decision features featuregate.FeatureGate }{ { name: "allowed configmap", attrs: authorizer.AttributesRecord{User: node0, ResourceRequest: true, Verb: "get", Resource: "configmaps", Name: "configmap0-pod0-node0", Namespace: "ns0"},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 07 21:22:55 UTC 2024 - 40.5K bytes - Viewed (0) -
plugin/pkg/admission/serviceaccount/admission_test.go
func TestIgnoresNonPodResource(t *testing.T) { pod := &api.Pod{} attrs := admission.NewAttributesRecord(pod, nil, api.Kind("Pod").WithVersion("version"), "myns", "myname", api.Resource("CustomResource").WithVersion("version"), "", admission.Create, &metav1.CreateOptions{}, false, nil) handler := admissiontesting.WithReinvocationTesting(t, NewServiceAccount()) err := handler.Admit(context.TODO(), attrs, nil) if err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Apr 12 17:49:30 UTC 2024 - 36.9K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/conversion_test.go
} return &unstructured.Unstructured{Object: m} } testcases := []struct { Name string Attrs *VersionedAttributes GVK schema.GroupVersionKind ExpectedAttrs *VersionedAttributes }{ { Name: "noop", Attrs: &VersionedAttributes{ Attributes: attrs( &example.Pod{ObjectMeta: metav1.ObjectMeta{Name: "newpod"}},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 12 15:48:03 UTC 2023 - 13.7K bytes - Viewed (0) -
src/encoding/xml/xml.go
type Token any // A StartElement represents an XML start element. type StartElement struct { Name Name Attr []Attr } // Copy creates a new copy of StartElement. func (e StartElement) Copy() StartElement { attrs := make([]Attr, len(e.Attr)) copy(attrs, e.Attr) e.Attr = attrs return e } // End returns the corresponding XML end element. func (e StartElement) End() EndElement { return EndElement{e.Name} }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 08 18:46:41 UTC 2024 - 47.3K bytes - Viewed (0) -
tensorflow/compiler/jit/xla_cluster_util.cc
if (flib_def.Find(n.type_string())) { NameAttrList callee; callee.set_name(n.type_string()); *callee.mutable_attr() = n.def().attr(); return {callee}; } CallTargetListTy result; for (const auto& name_attr_pair : n.attrs()) { const AttrValue& attr_value = name_attr_pair.second; if (attr_value.value_case() == AttrValue::kFunc) { result.push_back(attr_value.func());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 29 08:39:39 UTC 2024 - 21.3K bytes - Viewed (0) -
tensorflow/cc/saved_model/testdata/half_plus_two_pbtxt/00000123/saved_model.pbtxt
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 26 01:10:27 UTC 2017 - 46.9K bytes - Viewed (0)