Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 133 for approx (0.15 sec)

  1. src/cmd/vendor/github.com/google/pprof/internal/plugin/plugin.go

    // limitations under the License.
    
    // Package plugin defines the plugin implementations that the main pprof driver requires.
    package plugin
    
    import (
    	"io"
    	"net/http"
    	"regexp"
    	"time"
    
    	"github.com/google/pprof/profile"
    )
    
    // Options groups all the optional plugins into pprof.
    type Options struct {
    	Writer  Writer
    	Flagset FlagSet
    	Fetch   Fetcher
    	Sym     Symbolizer
    	Obj     ObjTool
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  2. security/pkg/k8s/chiron/utils.go

    	defer func() {
    		_ = cleanupCSR(client, csr)
    	}()
    
    	// 2. Approve the CSR
    	if approveCsr {
    		approvalMessage := fmt.Sprintf("CSR (%s) for the certificate (%s) is approved", csr.Name, dnsName)
    		err = approveCSR(client, csr, approvalMessage)
    		if err != nil {
    			return nil, nil, fmt.Errorf("failed to approve CSR request: %v", err)
    		}
    		log.Debugf("CSR (%v) is approved", csr.Name)
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 05 18:11:22 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  3. src/cmd/vendor/github.com/google/pprof/internal/driver/driver.go

    // Package driver implements the core pprof functionality. It can be
    // parameterized with a flag implementation, fetch and symbolize
    // mechanisms.
    package driver
    
    import (
    	"bytes"
    	"fmt"
    	"io"
    	"os"
    	"path/filepath"
    	"regexp"
    	"strings"
    
    	"github.com/google/pprof/internal/plugin"
    	"github.com/google/pprof/internal/report"
    	"github.com/google/pprof/profile"
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  4. src/cmd/covdata/covdata.go

    			}
    			return false
    		}
    	}
    	if *cpuprofileflag != "" {
    		f, err := os.Create(*cpuprofileflag)
    		if err != nil {
    			fatal("%v", err)
    		}
    		if err := pprof.StartCPUProfile(f); err != nil {
    			fatal("%v", err)
    		}
    		atExit(func() {
    			pprof.StopCPUProfile()
    			if err = f.Close(); err != nil {
    				fatal("error closing cpu profile: %v", err)
    			}
    		})
    	}
    	if *memprofileflag != "" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  5. src/cmd/vendor/github.com/google/pprof/internal/driver/fetch.go

    	"fmt"
    	"io"
    	"net/http"
    	"net/url"
    	"os"
    	"os/exec"
    	"path/filepath"
    	"runtime"
    	"strconv"
    	"strings"
    	"sync"
    	"time"
    
    	"github.com/google/pprof/internal/measurement"
    	"github.com/google/pprof/internal/plugin"
    	"github.com/google/pprof/profile"
    )
    
    // fetchProfiles fetches and symbolizes the profiles specified by s.
    // It will merge all the profiles it is able to retrieve, even if
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 19K bytes
    - Viewed (0)
  6. src/cmd/vendor/github.com/google/pprof/internal/symbolizer/symbolizer.go

    package symbolizer
    
    import (
    	"fmt"
    	"io"
    	"net/http"
    	"net/url"
    	"path/filepath"
    	"strings"
    
    	"github.com/google/pprof/internal/binutils"
    	"github.com/google/pprof/internal/plugin"
    	"github.com/google/pprof/internal/symbolz"
    	"github.com/google/pprof/profile"
    	"github.com/ianlancetaylor/demangle"
    )
    
    // Symbolizer implements the plugin.Symbolize interface.
    type Symbolizer struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 10K bytes
    - Viewed (0)
  7. src/testing/internal/testdeps/deps.go

    		}
    	}
    	return matchRe.MatchString(str), nil
    }
    
    func (TestDeps) StartCPUProfile(w io.Writer) error {
    	return pprof.StartCPUProfile(w)
    }
    
    func (TestDeps) StopCPUProfile() {
    	pprof.StopCPUProfile()
    }
    
    func (TestDeps) WriteProfileTo(name string, w io.Writer, debug int) error {
    	return pprof.Lookup(name).WriteTo(w, debug)
    }
    
    // ImportPath is the import path of the testing binary, set by the generated main function.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 14:01:23 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  8. src/cmd/vendor/github.com/google/pprof/internal/driver/settings.go

    func settingsFileName() (string, error) {
    	// Return "pprof/settings.json" under os.UserConfigDir().
    	dir, err := os.UserConfigDir()
    	if err != nil {
    		return "", err
    	}
    	return filepath.Join(dir, "pprof", "settings.json"), nil
    }
    
    // readSettings reads settings from fname.
    func readSettings(fname string) (*settings, error) {
    	data, err := os.ReadFile(fname)
    	if err != nil {
    		if os.IsNotExist(err) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  9. src/runtime/proflabel.go

    //   - github.com/cloudwego/localsession
    //   - github.com/DataDog/datadog-agent
    //
    // Do not remove or change the type signature.
    // See go.dev/issue/67401.
    //
    //go:linkname runtime_setProfLabel runtime/pprof.runtime_setProfLabel
    func runtime_setProfLabel(labels unsafe.Pointer) {
    	// Introduce race edge for read-back via profile.
    	// This would more properly use &getg().labels as the sync address,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/test/pgo_devirtualize_test.go

    	"fmt"
    	"internal/testenv"
    	"os"
    	"path/filepath"
    	"regexp"
    	"testing"
    )
    
    type devirtualization struct {
    	pos    string
    	callee string
    }
    
    const profFileName = "devirt.pprof"
    const preProfFileName = "devirt.pprof.node_map"
    
    // testPGODevirtualize tests that specific PGO devirtualize rewrites are performed.
    func testPGODevirtualize(t *testing.T, dir string, want []devirtualization, pgoProfileName string) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 15 21:30:35 UTC 2024
    - 8.5K bytes
    - Viewed (0)
Back to top