Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 206 for regexec (0.1 sec)

  1. platforms/native/testing-native/src/main/java/org/gradle/nativeplatform/test/xctest/internal/execution/XCTestExecuter.java

            String rootTestSuiteId = testExecutionSpec.getPath();
    
            TestClassProcessor processor = new XCTestProcessor(getClock(), executable, workingDir, getExecHandleFactory().newExec(), getIdGenerator(), rootTestSuiteId);
    
            Runnable detector = new XCTestDetector(processor, testExecutionSpec.getTestSelection());
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 8.1K bytes
    - Viewed (0)
  2. platforms/jvm/jvm-services/src/main/java/org/gradle/internal/jvm/inspection/DefaultJvmMetadataDetector.java

            File tmpDir = temporaryFileProvider.createTemporaryDirectory("jvm", "probe");
            File probe = writeProbeClass(tmpDir);
            ExecHandleBuilder exec = execHandleFactory.newExec();
            exec.setWorkingDir(probe.getParentFile());
            exec.executable(javaExecutable(jdkPath));
            try {
                ByteArrayOutputStream out = new ByteArrayOutputStream();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 02:32:22 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  3. src/cmd/vendor/github.com/google/pprof/profile/prune.go

    package profile
    
    import (
    	"fmt"
    	"regexp"
    	"strings"
    )
    
    var (
    	reservedNames = []string{"(anonymous namespace)", "operator()"}
    	bracketRx     = func() *regexp.Regexp {
    		var quotedNames []string
    		for _, name := range append(reservedNames, "(") {
    			quotedNames = append(quotedNames, regexp.QuoteMeta(name))
    		}
    		return regexp.MustCompile(strings.Join(quotedNames, "|"))
    	}()
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 22 18:58:12 UTC 2022
    - 5.5K bytes
    - Viewed (0)
  4. src/cmd/vendor/github.com/google/pprof/internal/binutils/disasm.go

    package binutils
    
    import (
    	"bytes"
    	"io"
    	"regexp"
    	"strconv"
    	"strings"
    
    	"github.com/google/pprof/internal/plugin"
    	"github.com/ianlancetaylor/demangle"
    )
    
    var (
    	nmOutputRE                = regexp.MustCompile(`^\s*([[:xdigit:]]+)\s+(.)\s+(.*)`)
    	objdumpAsmOutputRE        = regexp.MustCompile(`^\s*([[:xdigit:]]+):\s+(.*)`)
    	objdumpOutputFileLine     = regexp.MustCompile(`^;?\s?(.*):([0-9]+)`)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 15 16:39:48 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  5. src/internal/cpu/cpu_s390x_test.go

    import (
    	"errors"
    	. "internal/cpu"
    	"os"
    	"regexp"
    	"testing"
    )
    
    func getFeatureList() ([]string, error) {
    	cpuinfo, err := os.ReadFile("/proc/cpuinfo")
    	if err != nil {
    		return nil, err
    	}
    	r := regexp.MustCompile("features\\s*:\\s*(.*)")
    	b := r.FindSubmatch(cpuinfo)
    	if len(b) < 2 {
    		return nil, errors.New("no feature list in /proc/cpuinfo")
    	}
    	return regexp.MustCompile("\\s+").Split(string(b[1]), -1), nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 09 19:12:23 UTC 2020
    - 1.4K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/Crawler.java

            clientFactory.close();
        }
    
        public void addIncludeFilter(final String regexp) {
            if (StringUtil.isNotBlank(regexp)) {
                urlFilter.addInclude(regexp);
            }
        }
    
        public void addExcludeFilter(final String regexp) {
            if (StringUtil.isNotBlank(regexp)) {
                urlFilter.addExclude(regexp);
            }
        }
    
        public void stop() {
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  7. src/os/tempfile_test.go

    		}
    		defer Remove(name)
    
    		re := regexp.MustCompile(wantRePat)
    		if !re.MatchString(name) {
    			t.Errorf("MkdirTemp(%q, %q) created bad name\n\t%q\ndid not match pattern\n\t%q", dir, pattern, name, wantRePat)
    		}
    	}
    
    	for _, tt := range tests {
    		t.Run(tt.pattern, func(t *testing.T) {
    			wantRePat := "^" + regexp.QuoteMeta(filepath.Join(dir, tt.wantPrefix)) + "[0-9]+" + regexp.QuoteMeta(tt.wantSuffix) + "$"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 19 20:45:37 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  8. src/io/ioutil/tempfile_test.go

    		}
    		defer os.Remove(name)
    
    		re := regexp.MustCompile(wantRePat)
    		if !re.MatchString(name) {
    			t.Errorf("TempDir(%q, %q) created bad name\n\t%q\ndid not match pattern\n\t%q", dir, pattern, name, wantRePat)
    		}
    	}
    
    	for _, tt := range tests {
    		t.Run(tt.pattern, func(t *testing.T) {
    			wantRePat := "^" + regexp.QuoteMeta(filepath.Join(dir, tt.wantPrefix)) + "[0-9]+" + regexp.QuoteMeta(tt.wantSuffix) + "$"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 18 00:47:29 UTC 2022
    - 5.5K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/CrawlerClientFactory.java

            }
        }
    
        public void addClient(final String regex, final CrawlerClient client) {
            if (StringUtil.isBlank(regex)) {
                throw new CrawlerSystemException("A regular expression is null.");
            }
            if (client == null) {
                throw new CrawlerSystemException("CrawlerClient is null.");
            }
            clientMap.put(Pattern.compile(regex), client);
        }
    
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  10. src/runtime/debuglog_test.go

    package runtime_test
    
    import (
    	"fmt"
    	"internal/testenv"
    	"regexp"
    	"runtime"
    	"strings"
    	"sync"
    	"sync/atomic"
    	"testing"
    )
    
    func skipDebugLog(t *testing.T) {
    	if !runtime.DlogEnabled {
    		t.Skip("debug log disabled (rebuild with -tags debuglog)")
    	}
    }
    
    func dlogCanonicalize(x string) string {
    	begin := regexp.MustCompile(`(?m)^>> begin log \d+ <<\n`)
    	x = begin.ReplaceAllString(x, "")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 18 16:59:26 UTC 2022
    - 4.9K bytes
    - Viewed (0)
Back to top