- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for startCond (0.12 sec)
-
src/regexp/backtrack.go
// backtrack runs a backtracking search of prog on the input starting at pos. func (re *Regexp) backtrack(ib []byte, is string, pos int, ncap int, dstCap []int) []int { startCond := re.cond if startCond == ^syntax.EmptyOp(0) { // impossible return nil } if startCond&syntax.EmptyBeginText != 0 && pos != 0 { // Anchored match, past beginning of text. return nil } b := newBitState()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Sep 14 17:25:39 UTC 2023 - 8.8K bytes - Viewed (0) -
src/regexp/syntax/prog.go
buf.WriteRune(i.Rune[0]) i = p.skipNop(i.Out) } return buf.String(), i.Op == InstMatch } // StartCond returns the leading empty-width conditions that must // be true in any match. It returns ^EmptyOp(0) if no matches are possible. func (p *Prog) StartCond() EmptyOp { var flag EmptyOp pc := uint32(p.Start) i := &p.Inst[pc] Loop: for { switch i.Op { case InstEmptyWidth:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 26 20:50:01 UTC 2024 - 7.7K bytes - Viewed (0) -
src/crypto/cipher/cbc.go
copy(x.tmp, src[start:end]) // Loop over all but the first block. for start > 0 { x.b.Decrypt(dst[start:end], src[start:end]) subtle.XORBytes(dst[start:end], dst[start:end], src[prev:start]) end = start start = prev prev -= x.blockSize } // The first block is special because it uses the saved iv. x.b.Decrypt(dst[start:end], src[start:end])
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Sep 28 03:55:33 UTC 2022 - 5.4K bytes - Viewed (0) -
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) -
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) -
src/runtime/os_wasip1.go
} for i := range argslice { start := argv[i] - uintptr32(uintptr(unsafe.Pointer(&argvBuf[0]))) end := start for argvBuf[end] != 0 { end++ } argslice[i] = string(argvBuf[start:end]) } } // environment var environCount size var environBufLen size if environ_sizes_get(unsafe.Pointer(&environCount), unsafe.Pointer(&environBufLen)) != 0 { throw("environ_sizes_get failed")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Dec 05 20:34:30 UTC 2023 - 7K bytes - Viewed (0) -
pkg/kube/informerfactory/factory.go
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 23 17:08:31 UTC 2023 - 7.9K bytes - Viewed (0) -
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) -
src/html/template/url.go
start := left for start < right && isHTMLSpace(s[start]) { start++ } end := right for i := start; i < right; i++ { if isHTMLSpace(s[i]) { end = i break } } if url := s[start:end]; isSafeURL(url) { // If image metadata is only spaces or alnums then // we don't need to URL normalize it. metadataOk := true for i := end; i < right; i++ { if !isHTMLSpaceOrASCIIAlnum(s[i]) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 06 15:48:16 UTC 2022 - 6.6K bytes - Viewed (0)