Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 111 for heuristics (0.32 sec)

  1. 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)
  2. src/cmd/compile/internal/inline/inlheur/scoring.go

    // threshold was crossed as a result of the heuristics. Note that
    // "Status" also shows whether PGO was involved. "Callee" is the name
    // of the function called, "CallerPos" is the position of the
    // callsite, and "ScoreFlags" is a digest of the specific properties
    // we used to make adjustments to callsite score via heuristics.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 27 20:42:52 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. pkg/kubelet/kubelet_server_journal.go

    	queries, ok := query["query"]
    	if len(queries) > 0 {
    		for _, q := range queries {
    			// The presence of / or \ is a hint that the query is for a log file. If the query is for foo.log without a
    			// slash prefix, the heuristics will still return the file contents.
    			if strings.ContainsAny(q, `/\`) {
    				nlq.Files = append(nlq.Files, q)
    			} else if strings.TrimSpace(q) != "" { // Prevent queries with just spaces
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Oct 26 18:56:28 UTC 2023
    - 13.5K bytes
    - Viewed (0)
  7. src/cmd/vendor/github.com/google/pprof/internal/symbolizer/symbolizer.go

    			case demangle.NoTemplateParams:
    				name = removeMatching(name, '<', '>')
    			}
    		}
    	}
    	fn.Name = name
    }
    
    // looksLikeDemangledCPlusPlus is a heuristic to decide if a name is
    // the result of demangling C++. If so, further heuristics will be
    // applied to simplify the name.
    func looksLikeDemangledCPlusPlus(demangled string) bool {
    	// Skip java names of the form "class.<init>".
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 10K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. common-protos/k8s.io/api/networking/v1alpha1/generated.proto

    // selector matches the node in question and has free CIDRs to allocate.  In
    // case of multiple matching ClusterCIDR resources, the allocator will attempt
    // to break ties using internal heuristics, but any ClusterCIDR whose node
    // selector matches the Node may be used.
    message ClusterCIDR {
      // Standard object's metadata.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 6K bytes
    - Viewed (0)
Back to top