- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 554 for Parse (0.02 sec)
-
tests/test_query.py
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Apr 18 21:56:59 UTC 2024 - 11.4K bytes - Viewed (0) -
schema/field_test.go
Name7 string `gorm:"->:false;<-:create,update"` Name8 string `gorm:"->;-:migration"` } func TestParseFieldWithPermission(t *testing.T) { user, err := schema.Parse(&UserWithPermissionControl{}, &sync.Map{}, schema.NamingStrategy{}) if err != nil { t.Fatalf("Failed to parse user with permission, got error %v", err) } fields := []*schema.Field{
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Sat Feb 19 09:02:53 UTC 2022 - 12.7K bytes - Viewed (0) -
cmd/batch-expire_test.go
` var job BatchJobRequest err := yaml.Unmarshal([]byte(expireYaml), &job) if err != nil { t.Fatal("Failed to parse batch-job-expire yaml", err) } if !slices.Equal(job.Expire.Prefix.F(), []string{"myprefix"}) { t.Fatal("Failed to parse batch-job-expire yaml") } multiPrefixExpireYaml := ` expire: # Expire objects that match a condition apiVersion: v1
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 01 12:53:30 UTC 2024 - 5.5K bytes - Viewed (0) -
docs/debugging/s3-check-md5/main.go
} var minModTime time.Time if minModTimeStr != "" { var e error minModTime, e = time.Parse(time.RFC3339, minModTimeStr) if e != nil { log.Fatalln("Unable to parse --modified-since:", e) } } u, err := url.Parse(endpoint) if err != nil { log.Fatalln(err) } secure := strings.EqualFold(u.Scheme, "https")
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Feb 17 01:15:57 UTC 2024 - 6.3K bytes - Viewed (0) -
callbacks/create_test.go
type user struct { ID int `gorm:"primaryKey"` Name string Email string `gorm:"default:(-)"` Age int `gorm:"default:(-)"` } s, err := schema.Parse(&user{}, schemaCache, schema.NamingStrategy{}) if err != nil { t.Errorf("parse schema error: %v, is not expected", err) return } dest := []*user{ { ID: 1, Name: "alice", Email: "email", Age: 18, }, {
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Mon Mar 18 05:48:42 UTC 2024 - 1.4K bytes - Viewed (0) -
cmd/batch-replicate_test.go
` var job BatchJobRequest err := yaml.Unmarshal([]byte(replicateYaml), &job) if err != nil { t.Fatal("Failed to parse batch-job-replicate yaml", err) } if !slices.Equal(job.Replicate.Source.Prefix.F(), []string{"object-prefix1"}) { t.Fatal("Failed to parse batch-job-replicate yaml", err) } multiPrefixReplicateYaml := ` replicate: apiVersion: v1 # source of the objects to be replicated
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 01 12:53:30 UTC 2024 - 7.9K bytes - Viewed (0) -
cni/pkg/plugin/sidecar_redirect.go
} if v, found := pi.ProxyEnvironments["ISTIO_META_DNS_CAPTURE"]; found { // parse and set the bool value of dnsRedirect redir.dnsRedirect, valErr = strconv.ParseBool(v) if valErr != nil { log.Warnf("cannot parse DNS capture environment variable %v", valErr) } } if v, found := pi.ProxyEnvironments["ISTIO_DUAL_STACK"]; found { // parse and set the bool value of dnsRedirect redir.dualStack, valErr = strconv.ParseBool(v)
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Jan 26 20:34:28 UTC 2024 - 10.6K bytes - Viewed (0) -
internal/arn/arn_test.go
t.Run(tt.name, func(t *testing.T) { gotArn, err := Parse(tt.args.arnStr) if err == nil && tt.wantErr { t.Errorf("Parse() error = %v, wantErr %v", err, tt.wantErr) } if err != nil && !tt.wantErr { t.Errorf("Parse() error = %v, wantErr %v", err, tt.wantErr) } if err == nil { if !reflect.DeepEqual(gotArn, tt.wantArn) { t.Errorf("Parse() gotArn = %v, want %v", gotArn, tt.wantArn) } }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Apr 04 08:31:34 UTC 2024 - 5.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/util/ParameterUtil.java
protected static final String FIELD_PREFIX = "field.config."; protected ParameterUtil() { // nothing } public static Map<String, String> parse(final String value) { final Map<String, String> paramMap = new LinkedHashMap<>(); if (value != null) { int unknownKey = 0;
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 6.5K bytes - Viewed (0) -
schema/field.go
schema.err = fmt.Errorf("failed to parse %s as default value for uint, got error: %v", field.DefaultValue, err) } } case reflect.Float32, reflect.Float64: field.DataType = Float if field.HasDefaultValue && !skipParseDefaultValue { if field.DefaultValueInterface, err = strconv.ParseFloat(field.DefaultValue, 64); err != nil {
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Mon Apr 15 03:20:20 UTC 2024 - 32K bytes - Viewed (0)