- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 45 for heuristics (0.28 sec)
-
src/cmd/compile/internal/inline/inlheur/function_properties.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package inlheur // This file defines a set of Go function "properties" intended to // guide inlining heuristics; these properties may apply to the // function as a whole, or to one or more function return values or // parameters. // // IMPORTANT: function properties are produced on a "best effort"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Aug 10 18:52:53 UTC 2023 - 3.7K bytes - Viewed (0) -
src/html/template/attr.go
// type of the lowercase named attribute. func attrType(name string) contentType { if strings.HasPrefix(name, "data-") { // Strip data- so that custom attribute heuristics below are // widely applied. // Treat data-action as URL below. name = name[5:] } else if prefix, short, ok := strings.Cut(name, ":"); ok { if prefix == "xmlns" { return contentTypeURL }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Oct 06 15:53:04 UTC 2021 - 6.2K bytes - Viewed (0) -
src/cmd/vet/doc.go
// license that can be found in the LICENSE file. /* Vet examines Go source code and reports suspicious constructs, such as Printf calls whose arguments do not align with the format string. Vet uses heuristics that do not guarantee all reports are genuine problems, but it can find errors not caught by the compilers. Vet is normally invoked through the go command. This command vets the package in the current directory:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 21 00:17:30 UTC 2023 - 3.8K bytes - Viewed (0) -
src/cmd/go/testdata/script/build_dash_x.txt
# will fail with "can't open import". See golang.org/issue/29004. # # (The fix in golang.org/issue/29004 didn't completely fix the underlying issue: # cmd/go/internal/load adds a bunch of implicit dependencies # based on various heuristics, and, due to a bug described in # https://golang.org/issue/31544#issuecomment-490607180, # those implicit dependencies are not added early enough during # loading to properly affect the import graph.) go build runtime/cgo
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Oct 24 21:18:10 UTC 2022 - 1.1K bytes - Viewed (0) -
pkg/kubelet/kubelet_server_journal_linux.go
import ( "context" "fmt" "os/exec" "strings" ) // getLoggingCmd returns the journalctl cmd and arguments for the given nodeLogQuery and boot. Note that // services are explicitly passed here to account for the heuristics func getLoggingCmd(n *nodeLogQuery, services []string) (string, []string, error) { args := []string{ "--utc", "--no-pager", "--output=short-precise", } if n.SinceTime != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Jan 11 01:09:28 UTC 2024 - 2.2K bytes - Viewed (0) -
src/go/doc/headscan.go
//go:build ignore /* The headscan command extracts comment headings from package files; it is used to detect false positives which may require an adjustment to the comment formatting heuristics in comment.go. Usage: headscan [-root root_directory] By default, the $GOROOT/src directory is scanned. */ package main import ( "flag" "fmt" "go/doc" "go/parser" "go/token"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 06 21:50:52 UTC 2022 - 2.5K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/analysis/internal/analysisflags/help.go
const help = `PROGNAME is a tool for static analysis of Go programs. PROGNAME examines Go source code and reports suspicious constructs, such as Printf calls whose arguments do not align with the format string. It uses heuristics that do not guarantee all reports are genuine problems, but it can find errors not caught by the compilers. ` // Help implements the help subcommand for a multichecker or unitchecker
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jan 08 01:33:44 UTC 2021 - 2.7K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/analysis/passes/printf/doc.go
// log.Printf(format, args...) // } // } // // logf(3, "invalid request: %v") // logf format reads arg 1, but call has 0 args // // To enable printf checking on a function that is not found by this // analyzer's heuristics (for example, because control is obscured by // dynamic method calls), insert a bogus call: // // func MyPrintf(format string, args ...any) { // if false { // _ = fmt.Sprintf(format, args...) // enable printf checking
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 02:38:00 UTC 2024 - 3.2K bytes - Viewed (0) -
tensorflow/compiler/jit/ops/xla_ops.cc
node and associated metadata. compilation_successful: If the `must_compile` attr is false the _XlaCompile op can decide not to compile the clusters based on some profitability heuristics. In that case `compilation_successful` is false if _XlaCompile chose not to compile the cluster. If the `must_compile` attr is true then _XlaCompile always attempts to compile the cluster and
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Apr 06 09:08:06 UTC 2024 - 4.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/constant_fold.cc
// 1. size of results is less than a certain threshold // (`kResultsSizeThreshold`), or // 2. size of results is within a factor (`kSizeFactor`) of size of operands, or // TODO(b/157226221): Look into other heuristics for constant fold policy. static bool IsFoldedByDefaultPolicy(Operation* inst) { bool has_unknown_shape = false; auto get_size = [&](TypeRange types) { int64_t size = 0; for (auto t : types) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 5.3K bytes - Viewed (0)