- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 332 for submatch (0.12 sec)
-
src/cmd/covdata/tool_test.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 07 20:46:32 UTC 2024 - 24.5K bytes - Viewed (0) -
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) -
src/regexp/testdata/testregex.c
"SHELL_ESCAPED", #endif #ifndef REG_SHELL_GROUP "SHELL_GROUP", #endif #ifndef REG_SHELL_PATH "SHELL_PATH", #endif #ifndef REG_SPAN "SPAN", #endif #if REG_NOSUB & REG_TEST_DEFAULT "SUBMATCH", #endif #if !_REG_nexec "regnexec", #endif #if !_REG_subcomp "regsubcomp", #endif #if !_REG_decomp "redecomp", #endif 0 }; #ifndef REG_CLASS_ESCAPE
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 08 04:08:51 UTC 2014 - 51.3K bytes - Viewed (0) -
pkg/volume/util/subpath/subpath.go
} // Compile time-check for all implementers of subpath interface var _ Interface = &subpath{} var _ Interface = &FakeSubpath{} // FakeSubpath is a subpather implementation for testing type FakeSubpath struct{} // PrepareSafeSubpath is a fake implementation of PrepareSafeSubpath. Always returns // newHostPath == subPath.Path func (fs *FakeSubpath) PrepareSafeSubpath(subPath Subpath) (newHostPath string, cleanupAction func(), err error) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Feb 27 02:59:53 UTC 2019 - 3.3K bytes - Viewed (0) -
pkg/kubelet/server/auth_test.go
"subpath of root 2": {subpath: "/foo/", path: "/", expected: true}, "subpath of root 3": {subpath: "/foo/bar", path: "/", expected: true}, "subpath of path 1": {subpath: "/foo", path: "/foo", expected: true}, "subpath of path 2": {subpath: "/foo/", path: "/foo", expected: true}, "subpath of path 3": {subpath: "/foo/bar", path: "/foo", expected: true},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Feb 19 18:09:38 UTC 2024 - 5K bytes - Viewed (0) -
pkg/volume/util/subpath/subpath_windows_test.go
} err := doSafeMakeDir(test.subPath, test.volumePath, os.FileMode(0755)) if test.expectError { assert.NotNil(t, err, "Expect error during doSafeMakeDir(%s, %s)", test.subPath, test.volumePath) continue } assert.Nil(t, err, "Expect no error during doSafeMakeDir(%s, %s)", test.subPath, test.volumePath) if _, err := os.Stat(test.subPath); os.IsNotExist(err) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Aug 24 19:47:49 UTC 2021 - 13.8K bytes - Viewed (0) -
pkg/volume/util/subpath/subpath_linux.go
} fd, err := doSafeOpen(subpath.Path, subpath.VolumePath) if err != nil { return -1, fmt.Errorf("error opening subpath %v: %v", subpath.Path, err) } return fd, nil } // prepareSubpathTarget creates target for bind-mount of subpath. It returns // "true" when the target already exists and something is mounted there.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jul 12 14:09:11 UTC 2022 - 21.4K bytes - Viewed (0) -
pkg/volume/util/subpath/subpath_unsupported.go
return nil } func (sp *subpath) PrepareSafeSubpath(subPath Subpath) (newHostPath string, cleanupAction func(), err error) { return subPath.Path, nil, errUnsupported } func (sp *subpath) CleanSubPaths(podDir string, volumeName string) error { return errUnsupported } func (sp *subpath) SafeMakeDir(pathname string, base string, perm os.FileMode) error { return errUnsupported
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Aug 24 19:47:49 UTC 2021 - 1.5K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/version/helpers.go
var err error submatches := kubeVersionRegex.FindStringSubmatch(v) if len(submatches) != 4 { return 0, 0, 0, false } switch submatches[2] { case "alpha": vType = versionTypeAlpha case "beta": vType = versionTypeBeta case "": vType = versionTypeGA default: return 0, 0, 0, false } if majorVersion, err = strconv.Atoi(submatches[1]); err != nil { return 0, 0, 0, false }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun May 20 08:40:04 UTC 2018 - 2.3K bytes - Viewed (0) -
pkg/volume/util/subpath/subpath_windows.go
} // Lock all directories in subPath and check they're not symlinks. func (sp *subpath) PrepareSafeSubpath(subPath Subpath) (newHostPath string, cleanupAction func(), err error) { handles, err := lockAndCheckSubPath(subPath.VolumePath, subPath.Path) // Unlock the directories when the container starts cleanupAction = func() { unlockPath(handles) } return subPath.Path, cleanupAction, err }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Aug 23 12:57:11 UTC 2023 - 12.5K bytes - Viewed (0)