- Sort Score
- Result 10 results
- Languages All
Results 31 - 35 of 35 for MustCompile (0.14 sec)
-
tests/generics_test.go
} } func TestGenericsToSQL(t *testing.T) { ctx := context.Background() sql := DB.ToSQL(func(tx *gorm.DB) *gorm.DB { gorm.G[User](tx).Limit(10).Find(ctx) return tx }) if !regexp.MustCompile("SELECT \\* FROM .users..* 10").MatchString(sql) { t.Errorf("ToSQL: got wrong sql with Generics API %v", sql) } } func TestGenericsScanUUID(t *testing.T) { ctx := context.Background() users := []User{
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Thu Sep 04 13:13:16 UTC 2025 - 28K bytes - Viewed (0) -
docs/debugging/xl-meta/main.go
means full recursive. 'testdir/**/xl.meta' will search for all xl.meta recursively. FLAGS: {{range .VisibleFlags}}{{.}} {{end}} ` //nolint:staticcheck isPart := regexp.MustCompile("[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}/part\\.[0-9]+$") app.HideHelpCommand = true app.Flags = []cli.Flag{ cli.BoolFlag{ Usage: "print each file as a separate line without formatting",
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 40.3K bytes - Viewed (0) -
cmd/admin-handlers.go
// 2 - flags e.g. `--address :9000 --certs-dir /etc/minio/certs` // 3 - pool args e.g. `https://node{01...16}.domain/data/disk{001...204} https://node{17...32}.domain/data/disk{001...204}` re := regexp.MustCompile(`^(.*minio\s+server\s+)(--[^\s]+\s+[^\s]+\s+)*(.*)`) // stays unchanged in the anonymized version cmdLineWithoutPools := re.ReplaceAllString(cmdLine, `$1$2`) // to be anonymized
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 99.6K bytes - Viewed (0) -
cmd/server_test.go
response, err = s.client.Do(request) c.Assert(err, nil) c.Assert(response.StatusCode, http.StatusOK) getContent, err := io.ReadAll(response.Body) c.Assert(err, nil) r := regexp.MustCompile( `<ListVersionsResult xmlns="http://s3.amazonaws.com/doc/2006-03-01/">.*` + `<DeleteMarker><Key>file.1</Key>.*<IsLatest>true</IsLatest>.*</DeleteMarker>` +
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 118.1K bytes - Viewed (0) -
api/go1.txt
pkg regexp, func Match(string, []uint8) (bool, error) pkg regexp, func MatchReader(string, io.RuneReader) (bool, error) pkg regexp, func MatchString(string, string) (bool, error) pkg regexp, func MustCompile(string) *Regexp pkg regexp, func MustCompilePOSIX(string) *Regexp pkg regexp, func QuoteMeta(string) string pkg regexp, method (*Regexp) Expand([]uint8, []uint8, []uint8, []int) []uint8
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Wed Aug 14 18:58:28 UTC 2013 - 1.7M bytes - Viewed (0)