Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 120 for heuristics (0.47 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. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top