Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 29 of 29 for KindString (0.26 sec)

  1. src/regexp/regexp.go

    // A return value of nil indicates no match.
    func (re *Regexp) FindIndex(b []byte) (loc []int) {
    	a := re.doExecute(nil, b, "", 0, 2, nil)
    	if a == nil {
    		return nil
    	}
    	return a[0:2]
    }
    
    // FindString returns a string holding the text of the leftmost match in s of the regular
    // expression. If there is no match, the return value is an empty string,
    // but it will also be empty if the regular expression successfully matches
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 20:50:01 UTC 2024
    - 38.5K bytes
    - Viewed (0)
  2. src/regexp/find_test.go

    				t.Errorf("expected %q got %q: %s", expect, result, test)
    			}
    		}
    	}
    }
    
    func TestFindString(t *testing.T) {
    	for _, test := range findTests {
    		result := MustCompile(test.pat).FindString(test.text)
    		switch {
    		case len(test.matches) == 0 && len(result) == 0:
    			// ok
    		case test.matches == nil && result != "":
    			t.Errorf("expected no match; got one: %s", test)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 11 15:28:50 UTC 2021
    - 16.3K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"KindBool", Const, 21},
    		{"KindDuration", Const, 21},
    		{"KindFloat64", Const, 21},
    		{"KindGroup", Const, 21},
    		{"KindInt64", Const, 21},
    		{"KindLogValuer", Const, 21},
    		{"KindString", Const, 21},
    		{"KindTime", Const, 21},
    		{"KindUint64", Const, 21},
    		{"Level", Type, 21},
    		{"LevelDebug", Const, 21},
    		{"LevelError", Const, 21},
    		{"LevelInfo", Const, 21},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
  4. Makefile.core.mk

    # Our build tools, post jammy, breaks old versions of docker.
    # These old versions are surprisingly common, so build in a check here
    define warning
    Docker version is too old, please upgrade to a newer version.
    endef
    ifneq ($(findstring google,$(HOSTNAME)),)
    warning+=Googlers: go/installdocker\#the-version-of-docker-thats-installed-is-old-eg-1126
    endif
    # The old docker issue manifests as not being able to run *any* binary. So we can test
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Jun 02 19:53:04 UTC 2024
    - 23.2K bytes
    - Viewed (0)
  5. pilot/pkg/model/context.go

    // ParseIstioVersion parses a version string and returns IstioVersion struct
    func ParseIstioVersion(ver string) *IstioVersion {
    	// strip the release- prefix if any and extract the version string
    	ver = istioVersionRegexp.FindString(strings.TrimPrefix(ver, "release-"))
    
    	if ver == "" {
    		// return very large values assuming latest version
    		return MaxIstioVersion
    	}
    
    	parts := strings.Split(ver, ".")
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 03 08:29:05 UTC 2024
    - 33.6K bytes
    - Viewed (1)
  6. docs/debugging/xl-meta/main.go

    								b2 = b3
    							}
    						}
    						toPrint = append(toPrint, fmt.Sprintf("\t%s: %s", string(b), string(b2)))
    					} else if c.Bool("combine") && isPart.MatchString(file.Name) {
    						// name := isPart.FindString(file.Name)
    						name := strings.ReplaceAll(file.Name, ":", "_")
    						r, err := file.Open()
    						if err != nil {
    							return err
    						}
    						all, err := io.ReadAll(r)
    						if err != nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 31 14:49:23 UTC 2024
    - 38.5K bytes
    - Viewed (0)
  7. src/cmd/internal/testdir/testdir_test.go

    		// If there are opcode checks associated to this source file/line,
    		// run the checks.
    		if ops, found := fullops[srcFileLine]; found {
    			for i := range ops {
    				if !ops[i].found && ops[i].opcode.FindString(asm) != "" {
    					ops[i].found = true
    				}
    			}
    		}
    	}
    	functionMarkers = append(functionMarkers, len(lines))
    
    	var failed []wantedAsmOpcode
    	for _, ops := range fullops {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 20:08:06 UTC 2024
    - 57.5K bytes
    - Viewed (0)
  8. src/encoding/json/testdata/code.json.gz

    8359634175634084,"touches":2,"min_t":1228936524,"max_t":1236205616,"mean_t":1232571070},{"name":"4920742-1-expected.png","kids":[],"cl_weight":0.0012625845779729648,"touches":3,"min_t":1228936524,"max_t":1236205616,"mean_t":1231540308},{"name":"findString-2-expected.checksum","kids":[],"cl_weight":0.0010036404777328675,"touches":2,"min_t":1229474548,"max_t":1236205616,"mean_t":1232840082},{"name":"4786404-1-expected.checksum","kids":[],"cl_weight":0.0012625845779729648,"touches":3,"min_t":122893...
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 25 04:02:36 UTC 2016
    - 117.6K bytes
    - Viewed (0)
  9. api/go1.txt

    pkg regexp, method (*Regexp) FindIndex([]uint8) []int
    pkg regexp, method (*Regexp) FindReaderIndex(io.RuneReader) []int
    pkg regexp, method (*Regexp) FindReaderSubmatchIndex(io.RuneReader) []int
    pkg regexp, method (*Regexp) FindString(string) string
    pkg regexp, method (*Regexp) FindStringIndex(string) []int
    pkg regexp, method (*Regexp) FindStringSubmatch(string) []string
    pkg regexp, method (*Regexp) FindStringSubmatchIndex(string) []int
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 14 18:58:28 UTC 2013
    - 1.7M bytes
    - Viewed (0)
Back to top