- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for EmptyOp (0.14 sec)
-
src/regexp/syntax/prog.go
// 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: flag |= EmptyOp(i.Arg) case InstFail: return ^EmptyOp(0) case InstCapture, InstNop: // skip default: break Loop }
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/regexp/backtrack.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Sep 14 17:25:39 UTC 2023 - 8.8K bytes - Viewed (0) -
test/nilptr3.go
_ = *structp // ERROR "generated nil check" _ = *emptyp // ERROR "generated nil check" _ = *arrayp // ERROR "removed nil check" } func f2() { var ( intp *int arrayp *[10]int array0p *[0]int bigarrayp *[1 << 20]int structp *Struct bigstructp *BigStruct emptyp *Empty empty1p *Empty1 ) _ = *intp // ERROR "generated nil check"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:25 UTC 2023 - 5.6K bytes - Viewed (0)