Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for RegExp (0.15 sec)

  1. misc/go_android_exec/main.go

    	close(quit)
    	return code, err
    }
    
    type exitCodeFilter struct {
    	w      io.Writer // Pass through to w
    	exitRe *regexp.Regexp
    	buf    bytes.Buffer
    }
    
    func newExitCodeFilter(w io.Writer) (*exitCodeFilter, string) {
    	const exitStr = "exitcode="
    
    	// Build a regexp that matches any prefix of the exit string at the end of
    	// the input. We do it this way to avoid assuming anything about the
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Mon Aug 21 17:46:57 GMT 2023
    - 15.3K bytes
    - Viewed (0)
  2. docs/debugging/pprofgoparser/main.go

    package main
    
    import (
    	"bufio"
    	"bytes"
    	"flag"
    	"fmt"
    	"log"
    	"math"
    	"os"
    	"path"
    	"regexp"
    	"strconv"
    	"strings"
    	"time"
    )
    
    var (
    	goroutinesRE, searchRE *regexp.Regexp
    
    	// User input flags
    	searchText           string
    	goTime, less, margin time.Duration
    )
    
    func init() {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Wed Mar 06 11:43:16 GMT 2024
    - 3.4K bytes
    - Viewed (0)
Back to top