Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for startCond (0.14 sec)

  1. src/path/filepath/symlink.go

    		// The next path component is in path[start:end].
    		if end == start {
    			// No more path components.
    			break
    		} else if path[start:end] == "." && !isWindowsDot {
    			// Ignore path component ".".
    			continue
    		} else if path[start:end] == ".." {
    			// Back up to previous component if possible.
    			// Note that volLen includes any leading slash.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 23:07:50 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  2. cmd/metacache-marker.go

    	s := o.Marker
    	if !strings.Contains(s, "[minio_cache:"+markerTagVersion) {
    		return
    	}
    	start := strings.LastIndex(s, "[")
    	o.Marker = s[:start]
    	end := strings.LastIndex(s, "]")
    	tag := strings.Trim(s[start:end], "[]")
    	tags := strings.Split(tag, ",")
    	for _, tag := range tags {
    		kv := strings.Split(tag, ":")
    		if len(kv) < 2 {
    			continue
    		}
    		switch kv[0] {
    		case "minio_cache":
    			if kv[1] != markerTagVersion {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Apr 04 12:04:40 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  3. src/go/printer/gobuild.go

    	var after []byte
    	start := insert
    	for _, end := range toDelete {
    		if end < start {
    			continue
    		}
    		after = appendLines(after, p.output[start:end])
    		start = end + len(p.lineAt(end))
    	}
    	after = appendLines(after, p.output[start:])
    	if n := len(after); n >= 2 && isNL(after[n-1]) && isNL(after[n-2]) {
    		after = after[:n-1]
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  4. src/internal/trace/summary_test.go

    		t.Error("missing GC mark assist time")
    	}
    }
    
    func TestSummarizeGoroutinesRegionsTrace(t *testing.T) {
    	summaries := summarizeTraceTest(t, "testdata/tests/go122-annotations.test").Goroutines
    	type region struct {
    		startKind trace.EventKind
    		endKind   trace.EventKind
    	}
    	wantRegions := map[string]region{
    		// N.B. "pre-existing region" never even makes it into the trace.
    		//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/mod/sumdb/tlog/tile.go

    	}
    	t, _, _ := tileForIndex(h, index)
    	return t
    }
    
    // tileForIndex returns the tile of height h ≥ 1
    // storing the given hash index, which can be
    // reconstructed using tileHash(data[start:end]).
    func tileForIndex(h int, index int64) (t Tile, start, end int) {
    	level, n := SplitStoredHashIndex(index)
    	t.H = h
    	t.L = level / h
    	level -= t.L * h // now level within tile
    	t.N = n << uint(level) >> uint(t.H)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 13K bytes
    - Viewed (0)
  6. src/unicode/utf8/utf8.go

    	lim := end - UTFMax
    	if lim < 0 {
    		lim = 0
    	}
    	for start--; start >= lim; start-- {
    		if RuneStart(p[start]) {
    			break
    		}
    	}
    	if start < 0 {
    		start = 0
    	}
    	r, size = DecodeRune(p[start:end])
    	if start+size != end {
    		return RuneError, 1
    	}
    	return r, size
    }
    
    // DecodeLastRuneInString is like [DecodeLastRune] but its input is a string. If
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 02:00:36 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"(*Inst).MatchEmptyWidth", Method, 0},
    		{"(*Inst).MatchRune", Method, 0},
    		{"(*Inst).MatchRunePos", Method, 3},
    		{"(*Inst).String", Method, 0},
    		{"(*Prog).Prefix", Method, 0},
    		{"(*Prog).StartCond", Method, 0},
    		{"(*Prog).String", Method, 0},
    		{"(*Regexp).CapNames", Method, 0},
    		{"(*Regexp).Equal", Method, 0},
    		{"(*Regexp).MaxCap", Method, 0},
    		{"(*Regexp).Simplify", Method, 0},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
  8. src/cmd/vendor/github.com/google/pprof/internal/driver/fetch.go

    	for start := 0; start < len(sources); start += chunkSize {
    		end := start + chunkSize
    		if end > len(sources) {
    			end = len(sources)
    		}
    		chunkP, chunkMsrc, chunkSave, chunkCount, chunkErr := concurrentGrab(sources[start:end], fetch, obj, ui, tr)
    		switch {
    		case chunkErr != nil:
    			return nil, nil, false, 0, chunkErr
    		case chunkP == nil:
    			continue
    		case p == nil:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 19K bytes
    - Viewed (0)
  9. src/strings/strings.go

    // and assumes that f always returns the same value for a given c.
    func FieldsFunc(s string, f func(rune) bool) []string {
    	// A span is used to record a slice of s of the form s[start:end].
    	// The start index is inclusive and the end index is exclusive.
    	type span struct {
    		start int
    		end   int
    	}
    	spans := make([]span, 0, 32)
    
    	// Find the field start and end indices.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 16:48:16 UTC 2024
    - 31.2K bytes
    - Viewed (0)
  10. src/encoding/xml/xml_test.go

    		case end > int64(len(raw)):
    			t.Errorf("token %d: position [%d,%d) for %T extends beyond input", i, start, end, have)
    		default:
    			text := raw[start:end]
    			if strings.ContainsAny(text, "<>") && (!strings.HasPrefix(text, "<") || !strings.HasSuffix(text, ">")) {
    				t.Errorf("token %d: misaligned raw token %#q for %T", i, text, have)
    			}
    		}
    		lastEnd = end
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 36.9K bytes
    - Viewed (0)
Back to top