Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for backtracker (0.49 sec)

  1. src/regexp/all_test.go

    // and then the backtracker when there are no captures.
    func TestSwitchBacktrack(t *testing.T) {
    	re := MustCompile(`a|b`)
    	long := make([]byte, maxBacktrackVector+1)
    
    	// The following sequence of Match calls used to panic. See issue #10319.
    	re.Match(long)     // triggers standard matcher
    	re.Match(long[:1]) // triggers backtracker
    }
    
    func BenchmarkFind(b *testing.B) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:36:03 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  2. src/regexp/exec_test.go

    	}
    	re.Longest()
    	if g, w := re.FindString("ab"), "ab"; g != w {
    		t.Errorf("longest match was %q, want %q", g, w)
    	}
    }
    
    // TestProgramTooLongForBacktrack tests that a regex which is too long
    // for the backtracker still executes properly.
    func TestProgramTooLongForBacktrack(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:36:03 UTC 2024
    - 20.7K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/analysis/resource_alias_analysis.cc

    // Class to hold backtrack analysis for a results of a region. Backtrack
    // analysis will trace back the definition of return values of regions through
    // pass-through operations, so that the return value of the region will have the
    // same value as the backtracked value.
    class BacktrackAnalysisInfo {
     public:
      // Initializes the backtrack analysis for the given region.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 15 09:04:13 UTC 2024
    - 28.2K bytes
    - Viewed (0)
  4. src/runtime/runtime-gdb_test.go

    	}
    }
    
    // checkCleanBacktrace checks that the given backtrace is well formed and does
    // not contain any error messages from GDB.
    func checkCleanBacktrace(t *testing.T, backtrace string) {
    	backtrace = strings.TrimSpace(backtrace)
    	lines := strings.Split(backtrace, "\n")
    	if len(lines) == 0 {
    		t.Fatalf("empty backtrace")
    	}
    	for i, l := range lines {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 22:16:54 UTC 2024
    - 23.2K bytes
    - Viewed (0)
  5. platforms/ide/tooling-api-builders/src/main/java/org/gradle/tooling/internal/provider/runner/TestOperationMapper.java

    class TestOperationMapper implements BuildOperationMapper<ExecuteTestBuildOperationType.Details, DefaultTestDescriptor> {
        private final TestTaskExecutionTracker taskTracker;
    
        TestOperationMapper(TestTaskExecutionTracker taskTracker) {
            this.taskTracker = taskTracker;
        }
    
        @Override
        public boolean isEnabled(BuildEventSubscriptions subscriptions) {
            return subscriptions.isRequested(OperationType.TEST);
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 08:42:44 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  6. src/runtime/tracestack.go

    // generations moving forward. Prefer traceEventWriter.stack.
    func traceStack(skip int, gp *g, gen uintptr) uint64 {
    	var pcBuf [traceStackSize]uintptr
    
    	// Figure out gp and mp for the backtrace.
    	var mp *m
    	if gp == nil {
    		mp = getg().m
    		gp = mp.curg
    	}
    
    	// Double-check that we own the stack we're about to trace.
    	if debug.traceCheckStackOwnership != 0 && gp != nil {
    		status := readgstatus(gp)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 14:38:56 UTC 2024
    - 11K bytes
    - Viewed (0)
  7. src/cmd/go/internal/work/security.go

    	re(`-f(no-)?fast-math`),
    	re(`-f(no-)?inline-functions`),
    	re(`-finput-charset=([^@\-].*)`),
    	re(`-f(no-)?fat-lto-objects`),
    	re(`-f(no-)?keep-inline-dllexport`),
    	re(`-f(no-)?lto`),
    	re(`-fmacro-backtrace-limit=(.+)`),
    	re(`-fmessage-length=(.+)`),
    	re(`-f(no-)?modules`),
    	re(`-f(no-)?objc-arc`),
    	re(`-f(no-)?objc-nonfragile-abi`),
    	re(`-f(no-)?objc-legacy-dispatch`),
    	re(`-f(no-)?omit-frame-pointer`),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:47:34 UTC 2024
    - 10K bytes
    - Viewed (0)
  8. src/runtime/asm_ppc64x.s

    // in the caller's stack frame. These stubs write the args into that stack space and
    // then tail call to the corresponding runtime handler.
    // The tail call makes these stubs disappear in backtraces.
    TEXT runtime·panicIndex<ABIInternal>(SB),NOSPLIT,$0-16
    	JMP	runtime·goPanicIndex<ABIInternal>(SB)
    TEXT runtime·panicIndexU<ABIInternal>(SB),NOSPLIT,$0-16
    	JMP	runtime·goPanicIndexU<ABIInternal>(SB)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 18:17:17 UTC 2024
    - 45.4K bytes
    - Viewed (0)
  9. src/cmd/cgo/internal/testsanitizers/cc_test.go

    				return err
    			}
    			return nil
    		}()
    	})
    	return compiler.version, compiler.err
    }
    
    // compilerSupportsLocation reports whether the compiler should be
    // able to provide file/line information in backtraces.
    func compilerSupportsLocation() bool {
    	compiler, err := compilerVersion()
    	if err != nil {
    		return false
    	}
    	switch compiler.name {
    	case "gcc":
    		return compiler.major >= 10
    	case "clang":
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 09 20:00:56 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  10. src/regexp/exec.go

    		return nil
    	}
    
    	if re.onepass != nil {
    		return re.doOnePass(r, b, s, pos, ncap, dstCap)
    	}
    	if r == nil && len(b)+len(s) < re.maxBitStateLen {
    		return re.backtrack(b, s, pos, ncap, dstCap)
    	}
    
    	m := re.get()
    	i, _ := m.inputs.init(r, b, s)
    
    	m.init(ncap)
    	if !m.match(i, pos) {
    		re.put(m)
    		return nil
    	}
    
    	dstCap = append(dstCap, 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)
Back to top