- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 536 for NegExp (0.13 sec)
-
logger/sql_test.go
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Thu Mar 21 08:00:02 UTC 2024 - 8.4K bytes - Viewed (0) -
src/cmd/vet/vet_test.go
type wantedError struct { reStr string re *regexp.Regexp lineNum int auto bool // match <autogenerated> line file string prefix string } var ( errRx = regexp.MustCompile(`// (?:GC_)?ERROR(NEXT)? (.*)`) errAutoRx = regexp.MustCompile(`// (?:GC_)?ERRORAUTO(NEXT)? (.*)`) errQuotesRx = regexp.MustCompile(`"([^"]*)"`) lineRx = regexp.MustCompile(`LINE(([+-])(\d+))?`) )
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 01:02:40 UTC 2024 - 12.5K bytes - Viewed (0) -
src/runtime/metrics/description_test.go
"go/token" "internal/diff" "os" "regexp" "runtime/metrics" "sort" "strings" "testing" _ "unsafe" ) // Implemented in the runtime. // //go:linkname runtime_readMetricNames func runtime_readMetricNames() []string func TestNames(t *testing.T) { // Note that this regexp is promised in the package docs for Description. Do not change.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 20 22:54:22 UTC 2023 - 3.9K bytes - Viewed (0) -
src/cmd/vendor/github.com/google/pprof/internal/report/package.go
package report import "regexp" // pkgRE extracts package name, It looks for the first "." or "::" that occurs // after the last "/". (Searching after the last / allows us to correctly handle // names that look like "some.url.com/foo.bar".) var pkgRE = regexp.MustCompile(`^((.*/)?[\w\d_]+)(\.|::)([^/]*)$`) // packageName returns the package name of the named symbol, or "" if not found. func packageName(name string) string {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 15 16:39:48 UTC 2023 - 512 bytes - Viewed (0) -
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) -
staging/src/k8s.io/apiserver/pkg/cel/library/regex.go
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ package library import ( "regexp" "github.com/google/cel-go/cel" "github.com/google/cel-go/common/types" "github.com/google/cel-go/common/types/ref" "github.com/google/cel-go/interpreter" )
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Aug 23 21:31:27 UTC 2023 - 5.7K bytes - Viewed (0) -
pkg/config/analysis/analyzers/util/constants.go
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. package util import ( "regexp" "istio.io/istio/pkg/config/constants" ) const ( DefaultClusterLocalDomain = "svc." + constants.DefaultClusterLocalDomain ExportToNamespaceLocal = "." ExportToAllNamespaces = "*"
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Apr 28 04:57:33 UTC 2022 - 1.4K bytes - Viewed (0) -
tests/sql_builder_test.go
sql := DB.Dialector.Explain(stmt.SQL.String(), stmt.Vars...) if !regexp.MustCompile(`.*age.*=8,`).MatchString(sql) { t.Errorf("Failed to generate sql, got %v", sql) } stmt = dryRunDB.Model(&user).Where("id = ?", 1).Updates(map[string]interface{}{"age": ageUint64(10241024)}).Statement sql = DB.Dialector.Explain(stmt.SQL.String(), stmt.Vars...) if !regexp.MustCompile(`.*age.*=10241024,`).MatchString(sql) {
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Fri Jan 12 08:42:21 UTC 2024 - 16.7K bytes - Viewed (0) -
test/fixedbugs/issue36437.go
// foo:0: open foo: no such file or directory // but instead omit it and print out: // open foo: no such file or directory package main import ( "fmt" "io/ioutil" "os" "os/exec" "regexp" ) func main() { tmpDir, err := ioutil.TempDir("", "issue36437") if err != nil { panic(err) } defer os.RemoveAll(tmpDir) msgOrErr := func(msg []byte, err error) string {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:25 UTC 2023 - 1.1K bytes - Viewed (0) -
src/cmd/vendor/github.com/google/pprof/internal/driver/commands.go
"focus": helpText( "Restricts to samples going through a node matching regexp", "Discard samples that do not include a node matching this regexp.", "Matching includes the function name, filename or object name."), "ignore": helpText( "Skips paths going through any nodes matching regexp", "If set, discard samples that include a node matching this regexp.", "Matching includes the function name, filename or object name."),
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 16 15:19:53 UTC 2024 - 18.5K bytes - Viewed (0)