Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 236 for NegExp (0.12 sec)

  1. src/strconv/ftoa_test.go

    	name    string
    	float   float64
    	fmt     byte
    	prec    int
    	bitSize int
    }{
    	{"Decimal", 33909, 'g', -1, 64},
    	{"Float", 339.7784, 'g', -1, 64},
    	{"Exp", -5.09e75, 'g', -1, 64},
    	{"NegExp", -5.11e-95, 'g', -1, 64},
    	{"LongExp", 1.234567890123456e-78, 'g', -1, 64},
    
    	{"Big", 123456789123456789123456789, 'g', -1, 64},
    	{"BinaryExp", -1, 'b', -1, 64},
    
    	{"32Integer", 33909, 'g', -1, 32},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 24 23:50:20 UTC 2022
    - 9.3K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/mod/internal/lazyregexp/lazyre.go

    // Package lazyregexp is a thin wrapper over regexp, allowing the use of global
    // regexp variables without forcing them to be compiled at init.
    package lazyregexp
    
    import (
    	"os"
    	"regexp"
    	"strings"
    	"sync"
    )
    
    // Regexp is a wrapper around [regexp.Regexp], where the underlying regexp will be
    // compiled the first time it is needed.
    type Regexp struct {
    	str  string
    	once sync.Once
    	rx   *regexp.Regexp
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jul 12 20:38:21 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  3. src/internal/lazyregexp/lazyre.go

    // Package lazyregexp is a thin wrapper over regexp, allowing the use of global
    // regexp variables without forcing them to be compiled at init.
    package lazyregexp
    
    import (
    	"os"
    	"regexp"
    	"strings"
    	"sync"
    )
    
    // Regexp is a wrapper around regexp.Regexp, where the underlying regexp will be
    // compiled the first time it is needed.
    type Regexp struct {
    	str  string
    	once sync.Once
    	rx   *regexp.Regexp
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 27 23:49:01 UTC 2019
    - 1.8K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/server/filters/cors.go

    }
    
    // Takes a list of strings and compiles them into a list of regular expressions
    func compileRegexps(regexpStrings []string) ([]*regexp.Regexp, error) {
    	regexps := []*regexp.Regexp{}
    	for _, regexpStr := range regexpStrings {
    		r, err := regexp.Compile(regexpStr)
    		if err != nil {
    			return []*regexp.Regexp{}, err
    		}
    		regexps = append(regexps, r)
    	}
    	return regexps, nil
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Dec 15 13:59:10 UTC 2022
    - 4.6K bytes
    - Viewed (0)
  5. src/internal/profile/prune.go

    	var keep, drop *regexp.Regexp
    	var err error
    
    	if p.DropFrames != "" {
    		if drop, err = regexp.Compile("^(" + p.DropFrames + ")$"); err != nil {
    			return fmt.Errorf("failed to compile regexp %s: %v", p.DropFrames, err)
    		}
    		if p.KeepFrames != "" {
    			if keep, err = regexp.Compile("^(" + p.KeepFrames + ")$"); err != nil {
    				return fmt.Errorf("failed to compile regexp %s: %v", p.KeepFrames, err)
    			}
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 17 19:35:56 UTC 2020
    - 2.4K bytes
    - Viewed (0)
  6. pkg/test/echo/parse.go

    	hostFieldRegex           = regexp.MustCompile(string(HostField) + "=(.*)")
    	hostnameFieldRegex       = regexp.MustCompile(string(HostnameField) + "=(.*)")
    	requestHeaderFieldRegex  = regexp.MustCompile(string(RequestHeaderField) + "=(.*)")
    	responseHeaderFieldRegex = regexp.MustCompile(string(ResponseHeaderField) + "=(.*)")
    	URLFieldRegex            = regexp.MustCompile(string(URLField) + "=(.*)")
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Feb 23 22:25:46 UTC 2022
    - 4.3K bytes
    - Viewed (0)
  7. src/cmd/vendor/github.com/google/pprof/profile/prune.go

    package profile
    
    import (
    	"fmt"
    	"regexp"
    	"strings"
    )
    
    var (
    	reservedNames = []string{"(anonymous namespace)", "operator()"}
    	bracketRx     = func() *regexp.Regexp {
    		var quotedNames []string
    		for _, name := range append(reservedNames, "(") {
    			quotedNames = append(quotedNames, regexp.QuoteMeta(name))
    		}
    		return regexp.MustCompile(strings.Join(quotedNames, "|"))
    	}()
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 22 18:58:12 UTC 2022
    - 5.5K bytes
    - Viewed (0)
  8. src/cmd/go/testdata/script/cover_runs.txt

    [short] skip
    
    go test -short -coverpkg=strings strings regexp
    ! stdout '[^0-9]0\.0%'
    stdout  'strings.*coverage:.*[1-9][0-9.]+%'
    stdout  'regexp.*coverage:.*[1-9][0-9.]+%'
    
    go test -short -cover strings math regexp
    ! stdout '[^0-9]0\.0%'
    stdout  'strings.*coverage:.*[1-9][0-9.]+%'
    stdout  'math.*coverage:.*[1-9][0-9.]+%'
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:26:10 UTC 2022
    - 413 bytes
    - Viewed (0)
  9. istioctl/pkg/dashboard/dashboard_test.go

    			WantException:  false,
    		},
    		{ // case 4
    			Args:           strings.Split("envoy --browser=false", " "),
    			ExpectedRegexp: regexp.MustCompile(".*Error: specify a pod or --selector"),
    			WantException:  true,
    		},
    		{ // case 5
    			Args:           strings.Split("envoy --browser=false pod-123456-7890", " "),
    			ExpectedRegexp: regexp.MustCompile("http://localhost:3456"),
    			WantException:  false,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Nov 21 01:17:24 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  10. src/regexp/syntax/simplify.go

    // for /(x){1,2}/ is /(x)(x)?/ but both parentheses capture as $1.
    // The returned regexp may share structure with or be the original.
    func (re *Regexp) Simplify() *Regexp {
    	if re == nil {
    		return nil
    	}
    	switch re.Op {
    	case OpCapture, OpConcat, OpAlternate:
    		// Simplify children, building new Regexp if children change.
    		nre := re
    		for i, sub := range re.Sub {
    			nsub := sub.Simplify()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 02 00:13:47 UTC 2016
    - 4.2K bytes
    - Viewed (0)
Back to top