Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for matchBool (0.11 sec)

  1. src/regexp/regexp.go

    // split up by the size of the execution queues.
    // matchPool[i] machines have queue size matchSize[i].
    // On a 64-bit system each queue entry is 16 bytes,
    // so matchPool[0] has 16*2*128 = 4kB queues, etc.
    // The final matchPool is a catch-all for very large queues.
    var (
    	matchSize = [...]int{128, 512, 2048, 16384, 0}
    	matchPool [len(matchSize)]sync.Pool
    )
    
    // get returns a machine to use for matching re.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 20:50:01 UTC 2024
    - 38.5K bytes
    - Viewed (0)
Back to top