- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 495 for attrNS (0.09 sec)
-
src/encoding/xml/marshal.go
func (p *printer) marshalAttr(start *StartElement, name Name, val reflect.Value) error { if val.CanInterface() && val.Type().Implements(marshalerAttrType) { attr, err := val.Interface().(MarshalerAttr).MarshalXMLAttr(name) if err != nil { return err } if attr.Name.Local != "" { start.Attr = append(start.Attr, attr) } return nil }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 08 18:46:41 UTC 2024 - 31.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/func-attr.mlir
// CHECK-SAME: tf._implements = #tf_type.func<@symbol_a, {attr0 = 1 : i32, attr1 = "random"}> func.func @func_attr() attributes {tf._implements = #tf_type.func<@symbol_a, {attr0 = 1 : i32, attr1 = "random"}>} { func.return } // CHECK-LABEL: func @nested_func_attr // CHECK-SAME: tf._implements = #tf_type.func<@symbol_a, {attr0 = 1 : i32, attr1 = "random", nested = #tf_type.func<@symbol_b, {attr2 = true, attr3 = 8.000000e+00 : f32}>}>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Mar 28 12:06:33 UTC 2022 - 725 bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/internal/component/model/AttributeSelectionUtilsTest.groovy
hasExtraAttribute(attr2) doesNotHaveExtraAttribute(attr1) } def "collects extra attributes, two candidates"() { def attr1 = Attribute.of("foo", String) def attr2 = Attribute.of("bar", String) def attr3 = Attribute.of("baz", String) given: candidate { attribute(attr1, "v1") attribute(attr2, "v2") } candidate {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 4.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/tf_executor_ops.mlir
%result = tf_executor.graph { tf_executor.fetch %arg0 : tensor<*xf32> {attr3 = 32 : i64, tf_executor.attr_fetch = "some_value"} } {attr2 = 32 : i64, tf_executor.attr1 = "value1"} // CHECK: tf_executor.graph { // CHECK-NEXT: tf_executor.fetch %{{.*}} : tensor<*xf32> {attr3 = 32 : i64, tf_executor.attr_fetch = "some_value"} // CHECK-NEXT: } {attr2 = 32 : i64, tf_executor.attr1 = "value1"} func.return %result : tensor<*xf32> }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Mar 28 12:06:33 UTC 2022 - 25.8K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/attributes/DefaultAttributeSelectionSchemaTest.groovy
extraAttributes.contains(attr2) !extraAttributes.contains(attr1) } def "collects extra attributes, two candidates"() { def attr1 = Attribute.of("foo", String) def attr2 = Attribute.of("bar", String) def attr3 = Attribute.of("baz", String) given: ImmutableAttributes[] candidates = [ candidate(ImmutableMap.of(attr1, "v1", attr2, "v2")),
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Feb 01 20:17:51 UTC 2024 - 4.6K bytes - Viewed (0) -
src/log/slog/attr.go
// // Use Group to collect several key-value pairs under a single // key on a log line, or as the result of LogValue // in order to log a single value as multiple Attrs. func Group(key string, args ...any) Attr { return Attr{key, GroupValue(argsToAttrSlice(args)...)} } func argsToAttrSlice(args []any) []Attr { var ( attr Attr attrs []Attr ) for len(args) > 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 18:23:25 UTC 2024 - 2.5K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/resolveengine/artifact/LocalFileDependencyBackedArtifactSetTest.groovy
1 * artifactTypeRegistry.mapAttributesFor(f2) >> attrs2 then: 1 * visitor.visitArtifacts(_) >> { ResolvedArtifactSet.Artifacts artifacts -> artifacts.visit(artifactVisitor) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Nov 22 04:22:29 UTC 2023 - 9.4K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/attributes/DefaultAttributesSchemaTest.groovy
schema.attribute(attr1) schema.attribute(attr2) producer.attribute(attr2) producer.attribute(attr3) expect: schema.withProducer(producer).selectionSchema.hasAttribute(attr1) schema.withProducer(producer).selectionSchema.hasAttribute(attr2) schema.withProducer(producer).selectionSchema.hasAttribute(attr3) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 16.9K bytes - Viewed (0) -
src/net/addrselect.go
// then prefer DA. Similarly, if Scope(DA) <> Scope(Source(DA)) and // Scope(DB) = Scope(Source(DB)), then prefer DB. if attrDA.Scope == attrSourceDA.Scope && attrDB.Scope != attrSourceDB.Scope { return preferDA } if attrDA.Scope != attrSourceDA.Scope && attrDB.Scope == attrSourceDB.Scope { return preferDB } // Rule 3: Avoid deprecated addresses.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 09 00:24:06 UTC 2024 - 9.7K bytes - Viewed (0) -
src/log/slog/logger_test.go
for _, test := range []struct { args []any want []Attr }{ {nil, nil}, {[]any{"a", 1}, []Attr{Int("a", 1)}}, {[]any{"a", 1, "b", "two"}, []Attr{Int("a", 1), String("b", "two")}}, {[]any{"a"}, []Attr{String(badKey, "a")}}, {[]any{"a", 1, "b"}, []Attr{Int("a", 1), String(badKey, "b")}}, {[]any{"a", 1, 2, 3}, []Attr{Int("a", 1), Int(badKey, 2), Int(badKey, 3)}}, } { r := NewRecord(time.Time{}, 0, "", 0)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Nov 10 21:25:30 UTC 2023 - 19.5K bytes - Viewed (0)