- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 290 for attr_ (0.04 sec)
-
src/log/slog/internal/benchmarks/handlers.go
h.appendTime(buf, r.Time) buf.WriteByte(' ') } buf.WriteString("level=") *buf = strconv.AppendInt(*buf, int64(r.Level), 10) buf.WriteByte(' ') buf.WriteString("msg=") buf.WriteString(r.Message) r.Attrs(func(a slog.Attr) bool { buf.WriteByte(' ') buf.WriteString(a.Key) buf.WriteByte('=') h.appendValue(buf, a.Value) return true }) buf.WriteByte('\n') _, err := h.w.Write(*buf) return err }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 12 20:33:37 UTC 2023 - 4.1K bytes - Viewed (0) -
testing/internal-performance-testing/src/main/groovy/org/gradle/performance/generator/BazelFileContentGenerator.groovy
def _impl(ctx): classes = ",".join( [_AsClassName(x) for x in ctx.attr.srcs], ) ctx.actions.write(output = ctx.outputs.out, content = _OUTPUT % ( classes, ctx.attr.outname, )) _GenSuite = rule( attrs = { "srcs": attr.label_list(allow_files = True), "outname": attr.string(), }, outputs = {"out": "%{name}.java"}, implementation = _impl,
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 5.7K bytes - Viewed (0) -
tensorflow/compiler/jit/node_matchers_test.cc
"to be 0 but found 1"); } TEST(NodeMatchers, Attrs) { Scope root = Scope::NewRootScope().ExitOnError(); Output enter = ops::internal::Enter( root.WithOpName("enter"), ops::Placeholder(root.WithOpName("data"), DT_FLOAT), "frame_name", ops::internal::Enter::Attrs{}.IsConstant(true)); EXPECT_THAT(enter.node(), NodeWith(Attr("is_constant", true)));
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon May 20 14:43:57 UTC 2024 - 9.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_stablehlo_composite_to_tfl_custom.cc
const char* key = pair.getName().data(); const auto attr = pair.getValue(); if (mlir::isa<::mlir::IntegerAttr>(attr)) { fbb->Int(key, mlir::dyn_cast<mlir::IntegerAttr>(attr).getInt()); return success(); } if (mlir::isa<::mlir::FloatAttr>(attr)) { fbb->Double(key, mlir::dyn_cast<mlir::FloatAttr>(attr).getValueAsDouble()); return success(); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 6.8K bytes - Viewed (0) -
src/html/template/error.go
// Examples: // {{define "main"}}<div {{template "attrs"}}>{{end}} // {{define "attrs"}}href="{{.URL}}"{{end}} // Discussion: // Package html/template looks through template calls to compute the // context. // Here the {{.URL}} in "attrs" must be treated as a URL when called // from "main", but you will get this error if "attrs" is not defined // when "main" is parsed. ErrNoSuchTemplate
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Oct 02 15:18:39 UTC 2023 - 9.3K bytes - Viewed (0) -
src/log/slog/text_handler.go
return h.commonHandler.enabled(level) } // WithAttrs returns a new [TextHandler] whose attributes consists // of h's attributes followed by attrs. func (h *TextHandler) WithAttrs(attrs []Attr) Handler { return &TextHandler{commonHandler: h.commonHandler.withAttrs(attrs)} } func (h *TextHandler) WithGroup(name string) Handler { return &TextHandler{commonHandler: h.commonHandler.withGroup(name)} }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Oct 23 22:56:07 UTC 2023 - 4.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/mlir2graphdef/tf-gradient-attr.mlir
Yifan Jiang <******@****.***> 1684349180 -0700
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 17 18:52:47 UTC 2023 - 1.5K bytes - Viewed (0) -
tools/istio-iptables/pkg/log/nflog.go
if attrs.UID != nil { uid = *attrs.UID } if attrs.GID != nil { gid = *attrs.GID } inDev, outDev := "", "" if attrs.InDev != nil { ii, err := net.InterfaceByIndex(int(*attrs.InDev)) if err == nil { inDev = ii.Name } } if attrs.OutDev != nil { ii, err := net.InterfaceByIndex(int(*attrs.OutDev)) if err == nil { outDev = ii.Name } } iptablesTrace.WithLabels(
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 15:59:40 UTC 2024 - 2.8K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/audit/policy/checker.go
if len(r.Verbs) > 0 { if !hasString(r.Verbs, attrs.GetVerb()) { return false } } if len(r.Namespaces) > 0 || len(r.Resources) > 0 { return ruleMatchesResource(r, attrs) } if len(r.NonResourceURLs) > 0 { return ruleMatchesNonResource(r, attrs) } return true } // Check whether the rule's non-resource URLs match the request attrs.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Nov 02 22:24:14 UTC 2022 - 6.1K bytes - Viewed (0) -
tensorflow/c/experimental/gradients/tape/tape_operation.cc
forward_op_.attrs.Set(attr_name, value); return parent_op_->SetAttrFloat(attr_name, value); } Status TapeOperation::SetAttrBool(const char* attr_name, bool value) { forward_op_.attrs.Set(attr_name, value); return parent_op_->SetAttrBool(attr_name, value); } Status TapeOperation::SetAttrType(const char* attr_name, DataType value) { forward_op_.attrs.Set(attr_name, value);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Feb 28 06:16:45 UTC 2024 - 9K bytes - Viewed (0)