Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 13 of 13 for Submatch (0.11 sec)

  1. src/regexp/exec.go

    	} else {
    		op &^= syntax.EmptyNoWordBoundary
    	}
    	return op == 0
    }
    
    // match runs the machine over the input starting at pos.
    // It reports whether a match was found.
    // If so, m.matchcap holds the submatch information.
    func (m *machine) match(i input, pos int) bool {
    	startCond := m.re.cond
    	if startCond == ^syntax.EmptyOp(0) { // impossible
    		return false
    	}
    	m.matched = false
    	for i := range m.matchcap {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Jun 04 20:10:54 UTC 2022
    - 12.3K bytes
    - Viewed (0)
  2. src/cmd/cgo/internal/test/testx.go

    // Create a new C thread and invoke Go function repeatedly in the new C thread.
    func benchCGoInCthread(b *testing.B) {
    	n := C.callGoInCThread(C.int(b.N))
    	if int(n) != b.N {
    		b.Fatal("unmatch loop times")
    	}
    }
    
    // issue 1328
    
    //export BackIntoGo
    func BackIntoGo() {
    	x := 1
    
    	for i := 0; i < 10000; i++ {
    		xvariadic(x)
    		if x != 1 {
    			panic("x is not 1?")
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 17 21:53:11 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  3. pkg/scheduler/framework/plugins/podtopologyspread/plugin.go

    				// Maybe now the scheduling result of topology spread gets changed by this change.
    				logger.V(5).Info("a scheduled pod's label was updated and it makes the updated pod match or unmatch the pod's topology spread constraints",
    					"pod", klog.KObj(pod), "modifiedPod", klog.KObj(modifiedPod))
    				return framework.Queue, nil
    			}
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 16 14:13:06 UTC 2024
    - 12.7K bytes
    - Viewed (0)
Back to top