- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 119 for regexec (0.13 sec)
-
src/regexp/exec_test.go
// // strings // "abc" // "123x" // regexps // "[a-z]+" // 0-3;0-3 // -;- // "([0-9])([0-9])([0-9])" // -;- // -;0-3 0-1 1-2 2-3 // // The stanza begins by defining a set of strings, quoted // using Go double-quote syntax, one per line. Then the // regexps section gives a sequence of regexps to run on // the strings. In the block that follows a regexp, each line
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:36:03 UTC 2024 - 20.7K bytes - Viewed (0) -
src/regexp/regexp.go
} else { regexp.prefix, regexp.prefixComplete, regexp.prefixEnd = onePassPrefix(prog) } if regexp.prefix != "" { // TODO(rsc): Remove this allocation by adding // IndexString to package bytes. regexp.prefixBytes = []byte(regexp.prefix) regexp.prefixRune, _ = utf8.DecodeRuneInString(regexp.prefix) } n := len(prog.Inst) i := 0 for matchSize[i] != 0 && matchSize[i] < n { i++ }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 26 20:50:01 UTC 2024 - 38.5K bytes - Viewed (0) -
src/regexp/syntax/regexp.go
package syntax // Note to implementers: // In this package, re is always a *Regexp and r is always a rune. import ( "slices" "strconv" "strings" "unicode" ) // A Regexp is a node in a regular expression syntax tree. type Regexp struct { Op Op // operator Flags Flags Sub []*Regexp // subexpressions, if any Sub0 [1]*Regexp // storage for short Sub
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 29 16:41:51 UTC 2024 - 11.6K bytes - Viewed (0) -
pkg/bootstrap/instance_test.go
stats.suffixes = rbacEnvoyStatsMatcherInclusionSuffix } else { stats.suffixes += "," + rbacEnvoyStatsMatcherInclusionSuffix } if stats.regexps == "" { stats.regexps = requiredEnvoyStatsMatcherInclusionRegexes } else { stats.regexps += "," + requiredEnvoyStatsMatcherInclusionRegexes } if err := gsm.Validate(); err != nil { t.Fatalf("Generated invalid matcher: %v", err) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 16 17:05:28 UTC 2024 - 19.5K bytes - Viewed (0) -
pkg/kubelet/server/server.go
To(s.getExec). Operation("getExec")) ws.Route(ws.POST("/{podNamespace}/{podID}/{containerName}"). To(s.getExec). Operation("getExec")) ws.Route(ws.GET("/{podNamespace}/{podID}/{uid}/{containerName}"). To(s.getExec). Operation("getExec")) ws.Route(ws.POST("/{podNamespace}/{podID}/{uid}/{containerName}"). To(s.getExec). Operation("getExec")) s.restfulCont.Add(ws)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 40.1K bytes - Viewed (0) -
platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/testng/TestNGLoggingOutputCaptureIntegrationTest.groovy
assertTestClassExecutionResultReport(classReport) } boolean containsLinesThatMatch(String text, String... regexes) { return regexes.every { regex -> text.readLines().find { it.matches regex } } } private String expectedOutput(String testSuiteName) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Mar 25 18:51:39 UTC 2024 - 10.9K bytes - Viewed (0) -
pkg/kubelet/container/testing/runtime_mock.go
} // GetExec indicates an expected call of GetExec. func (mr *MockStreamingRuntimeMockRecorder) GetExec(ctx, id, cmd, stdin, stdout, stderr, tty any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetExec", reflect.TypeOf((*MockStreamingRuntime)(nil).GetExec), ctx, id, cmd, stdin, stdout, stderr, tty) } // GetPortForward mocks base method.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 07 08:12:16 UTC 2024 - 27K bytes - Viewed (0) -
cni/pkg/nodeagent/podcgroupns.go
} /// mostly copy pasted from spire below: // regexes listed here have to exclusively match a cgroup path // the regexes must include two named groups "poduid" and "containerid" // if the regex needs to exclude certain substrings, the "mustnotmatch" group can be used // nolint: lll var cgroupREs = []*regexp.Regexp{ // the regex used to parse out the pod UID and container ID from a
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Apr 12 21:47:31 UTC 2024 - 11K bytes - Viewed (0) -
pkg/volume/fc/fc.go
// Inject real implementations here, test through the internal function. return plugin.newMounterInternal(spec, pod.UID, &fcUtil{}, plugin.host.GetMounter(plugin.GetPluginName()), plugin.host.GetExec(plugin.GetPluginName())) } func (plugin *fcPlugin) newMounterInternal(spec *volume.Spec, podUID types.UID, manager diskManager, mounter mount.Interface, exec utilexec.Interface) (volume.Mounter, error) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 14 06:17:25 UTC 2024 - 17.4K bytes - Viewed (0) -
src/regexp/onepass.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package regexp import ( "regexp/syntax" "slices" "strings" "unicode" "unicode/utf8" ) // "One-pass" regexp execution. // Some regexps can be analyzed to determine that they never need // backtracking: they are guaranteed to run in one pass over the string
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:36:03 UTC 2024 - 13.7K bytes - Viewed (0)