Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 102 for Primer (0.25 sec)

  1. src/cmd/vendor/github.com/google/pprof/driver/driver.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    // Package driver provides an external entry point to the pprof driver.
    package driver
    
    import (
    	"io"
    	"net/http"
    	"regexp"
    	"time"
    
    	internaldriver "github.com/google/pprof/internal/driver"
    	"github.com/google/pprof/internal/plugin"
    	"github.com/google/pprof/profile"
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  2. src/internal/trace/raw/writer.go

    // NewWriter creates a new byte format writer.
    func NewWriter(w io.Writer, v version.Version) (*Writer, error) {
    	_, err := version.WriteHeader(w, v)
    	return &Writer{w: w, v: v, specs: v.Specs()}, err
    }
    
    // WriteEvent writes a single event to the trace wire format stream.
    func (w *Writer) WriteEvent(e Event) error {
    	// Check version.
    	if e.Version != w.v {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  3. src/mime/multipart/writer.go

    	"errors"
    	"fmt"
    	"io"
    	"net/textproto"
    	"slices"
    	"strings"
    )
    
    // A Writer generates multipart messages.
    type Writer struct {
    	w        io.Writer
    	boundary string
    	lastpart *part
    }
    
    // NewWriter returns a new multipart [Writer] with a random boundary,
    // writing to w.
    func NewWriter(w io.Writer) *Writer {
    	return &Writer{
    		w:        w,
    		boundary: randomBoundary(),
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  4. pkg/volume/secret/secret.go

    			}
    		}
    	}()
    
    	writerContext := fmt.Sprintf("pod %v/%v volume %v", b.pod.Namespace, b.pod.Name, b.volName)
    	writer, err := volumeutil.NewAtomicWriter(dir, writerContext)
    	if err != nil {
    		klog.Errorf("Error creating atomic writer: %v", err)
    		return err
    	}
    
    	setPerms := func(_ string) error {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  5. 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
    	UI      UI
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  6. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/process/ArgWriter.java

        private static final Pattern WHITESPACE_OR_HASH = Pattern.compile("\\s|#");
    
        private final PrintWriter writer;
        private final boolean backslashEscape;
        private final Pattern quotablePattern;
    
        private ArgWriter(PrintWriter writer, boolean backslashEscape, Pattern quotablePattern) {
            this.writer = writer;
            this.backslashEscape = backslashEscape;
            this.quotablePattern = quotablePattern;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 10:14:33 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  7. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/problems/HtmlReportWriter.kt

    import java.io.Writer
    
    
    /**
     * Writes the configuration cache html report.
     *
     * The report is laid out in such a way as to allow extracting the pure JSON model
     * by looking for the `// begin-report-data` and `// end-report-data` markers.
     */
    internal
    class HtmlReportWriter(val writer: Writer) {
    
        private
        val jsonModelWriter = JsonModelWriter(writer)
    
        private
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  8. platforms/core-runtime/daemon-protocol/src/test/groovy/org/gradle/configuration/GradleLauncherMetaDataTest.groovy

            System.setProperty("org.gradle.appname", "some-gradle-launcher")
            StringWriter writer = new StringWriter()
            GradleLauncherMetaData metaData = new GradleLauncherMetaData()
    
            when:
            metaData.describeCommand(writer, "[options]", "<task-name>")
    
            then:
            writer.toString() == "some-gradle-launcher [options] <task-name>"
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 19:55:06 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  9. internal/logger/logrotate.go

    	FileNameFunc func() string
    
    	// Compress specify if you want the logs to be compressed after rotation.
    	Compress bool
    }
    
    // Writer is a concurrency-safe writer with file rotation.
    type Writer struct {
    	// opts are the configuration options for this Writer
    	opts Options
    
    	// f is the currently open file used for appends.
    	// Writes to f are only synchronized once Close() is called,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  10. src/cmd/pprof/pprof.go

    	"time"
    
    	"cmd/internal/objfile"
    	"cmd/internal/telemetry"
    
    	"github.com/google/pprof/driver"
    	"github.com/google/pprof/profile"
    )
    
    func main() {
    	telemetry.Start()
    	telemetry.Inc("pprof/invocations")
    	options := &driver.Options{
    		Fetch: new(fetcher),
    		Obj:   new(objTool),
    		UI:    newUI(),
    	}
    	err := driver.PProf(options)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 9.5K bytes
    - Viewed (0)
Back to top