- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 627 for mtime (0.03 sec)
-
cmd/bucket-metadata-sys.go
func (sys *BucketMetadataSys) GetBucketPolicy(bucket string) (*policy.BucketPolicy, time.Time, error) { meta, _, err := sys.GetConfig(GlobalContext, bucket) if err != nil { if errors.Is(err, errConfigNotFound) { return nil, time.Time{}, BucketPolicyNotFound{Bucket: bucket} } return nil, time.Time{}, err } if meta.policyConfig == nil { return nil, time.Time{}, BucketPolicyNotFound{Bucket: bucket} }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Aug 28 15:32:18 UTC 2024 - 20.4K bytes - Viewed (0) -
tests/non_std_test.go
package tests_test import ( "testing" "time" ) type Animal struct { Counter uint64 `gorm:"primary_key:yes"` Name string `gorm:"DEFAULT:'galeone'"` From string // test reserved sql keyword as field name Age *time.Time unexported string // unexported value CreatedAt time.Time UpdatedAt time.Time } func TestNonStdPrimaryKeyAndDefaultValues(t *testing.T) { DB.Migrator().DropTable(&Animal{})
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Wed May 08 04:07:58 UTC 2024 - 1.9K bytes - Viewed (0) -
cmd/perf-tests.go
// This is to improve the RX throughput accuracy. type netPerfRX struct { RX uint64 // RX bytes lastToConnect time.Time // time at which last peer to connect to us firstToDisconnect time.Time // time at which the first peer disconnects from us RXSample uint64 // RX bytes between lastToConnect and firstToDisconnect activeConnections uint64 sync.RWMutex }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 11.8K bytes - Viewed (0) -
internal/s3select/sql/timestampfuncs_test.go
package sql import ( "testing" "time" ) func TestParseAndDisplaySQLTimestamp(t *testing.T) { beijing := time.FixedZone("", int((8 * time.Hour).Seconds())) fakeLosAngeles := time.FixedZone("", -int((8 * time.Hour).Seconds())) cases := []struct { s string t time.Time }{ {"2010T", time.Date(2010, 1, 1, 0, 0, 0, 0, time.UTC)}, {"2010-02T", time.Date(2010, 2, 1, 0, 0, 0, 0, time.UTC)},
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jun 01 21:59:40 UTC 2021 - 2.2K bytes - Viewed (0) -
cmd/update_test.go
data string expectedResult time.Time expectedSha256hex string expectedReleaseInfo string expectedErr bool }{ {"more than two fields", time.Time{}, "", "", true}, {"more than", time.Time{}, "", "", true}, {"more than.two.fields", time.Time{}, "", "", true}, {"more minio.RELEASE.fields", time.Time{}, "", "", true},
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Aug 14 17:11:51 UTC 2024 - 10.4K bytes - Viewed (0) -
internal/deadlineconn/deadlineconn.go
package deadlineconn import ( "net" "time" ) const updateInterval = 250 * time.Millisecond // DeadlineConn - is a generic stream-oriented network connection supporting buffered reader and read/write timeout. type DeadlineConn struct { net.Conn readDeadline time.Duration // sets the read deadline on a connection. readSetAt time.Time writeDeadline time.Duration // sets the write deadline on a connection.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Jul 26 17:40:11 UTC 2024 - 2.6K bytes - Viewed (0) -
src/archive/tar/stat_actime1.go
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Thu Oct 28 18:17:57 UTC 2021 - 431 bytes - Viewed (0) -
internal/lsync/lrwmutex_test.go
if !lrwm.GetRLock(ctx, "", "object1", time.Second) { panic("Failed to acquire read lock") } // fmt.Println("2nd read lock acquired, waiting...") go func() { time.Sleep(2 * time.Second) lrwm.RUnlock() // fmt.Println("1st read lock released, waiting...") }() go func() { time.Sleep(3 * time.Second) lrwm.RUnlock() // fmt.Println("2nd read lock released, waiting...") }()
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Mar 05 04:57:35 UTC 2023 - 7.9K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/http/HttpDateTest.kt
assertThat("Thu, 01 Jan 1970 00:00:00 GMT".toHttpDateOrNull()!!.time).isEqualTo(0L) assertThat("Fri, 06 Jun 2014 12:30:30 GMT".toHttpDateOrNull()!!.time).isEqualTo(1402057830000L) // RFC 850, obsoleted by RFC 1036 with GMT. assertThat("Thursday, 01-Jan-70 00:00:00 GMT".toHttpDateOrNull()!!.time).isEqualTo(0L) assertThat("Friday, 06-Jun-14 12:30:30 GMT".toHttpDateOrNull()!!.time).isEqualTo(1402057830000L)
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 3.9K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/MavenBuildTimestamp.java
public MavenBuildTimestamp() { this(new Date()); } public MavenBuildTimestamp(Date time) { this(time, DEFAULT_BUILD_TIMESTAMP_FORMAT); } public MavenBuildTimestamp(Date time, Map<String, String> properties) { this(time, properties != null ? properties.get(BUILD_TIMESTAMP_FORMAT_PROPERTY) : null); } /** *
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.8K bytes - Viewed (0)