- Sort Score
- Result 10 results
- Languages All
Results 231 - 240 of 913 for Utime (0.01 sec)
-
internal/lock/lock_test.go
} }() select { case <-locked: t.Error("unexpected unblocking") case <-time.After(100 * time.Millisecond): } // unlock if err = dupl.Close(); err != nil { t.Fatal(err) } // the previously blocked routine should be unblocked select { case <-locked: case <-time.After(1 * time.Second): t.Error("unexpected blocking") }Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Tue Feb 18 16:25:55 UTC 2025 - 3.7K bytes - Viewed (0) -
internal/kms/stub.go
package kms import ( "context" "net/http" "slices" "sync/atomic" "time" "github.com/minio/madmin-go/v3" "github.com/minio/pkg/v3/wildcard" ) var ( // StubCreatedAt is a constant timestamp for testing StubCreatedAt = time.Date(2024, time.January, 1, 15, 0, 0, 0, time.UTC) // StubCreatedBy is a constant created identity for testing StubCreatedBy = "MinIO" )
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Aug 18 06:43:03 UTC 2024 - 3.6K bytes - Viewed (0) -
internal/grid/connection_test.go
import ( "context" "net" "net/http" "net/http/httptest" "testing" "time" "github.com/minio/minio/internal/logger/target/testlogger" ) func TestDisconnect(t *testing.T) { defer testlogger.T.SetLogTB(t)() defer timeout(10 * time.Second)() hosts, listeners, _ := getHosts(2) dialer := &net.Dialer{ Timeout: 1 * time.Second, } errFatal := func(err error) { t.Helper() if err != nil {
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Wed Apr 09 14:28:39 UTC 2025 - 5.9K bytes - Viewed (0) -
internal/s3select/sql/value_contrib.go
* See the License for the specific language governing permissions and * limitations under the License. */ package sql import "time" func timestampCompare(op string, left, right time.Time) bool { switch op { case opLt: return left.Before(right) case opLte: return left.Before(right) || left.Equal(right) case opGt: return left.After(right) case opGte:
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Tue Jun 01 21:59:40 UTC 2021 - 1K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileBasicInfoTest.java
decoded.decode(buffer, 0, 36); // decode reads 36 bytes // Note: When encoding time 0, SMBUtil.writeTime writes 0 directly, // but SMBUtil.readTime interprets 0 as Jan 1, 1601 in Unix time (-11644473600000) // This is the expected behavior for Windows FILETIME long expectedTime = -11644473600000L; // Jan 1, 1601 in Unix time assertEquals(expectedTime, decoded.getCreateTime());
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
cmd/metacache-entries_test.go
func Test_metaCacheEntries_resolve(t *testing.T) { baseTime, err := time.Parse("2006/01/02", "2015/02/25") if err != nil { t.Fatal(err) } inputs := []xlMetaV2{ 0: { versions: []xlMetaV2ShallowVersion{ {header: xlMetaV2VersionHeader{ VersionID: [16]byte{1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1}, ModTime: baseTime.Add(30 * time.Minute).UnixNano(), Signature: [4]byte{1, 1, 1, 1},
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 31.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/Smb2EncryptionContext.java
} } /** * Encrypt using AES-GCM with constant-time operations */ private EncryptionResult encryptWithGCM(byte[] message, byte[] nonce, byte[] associatedData) throws Exception { final Cipher cipher = createGCMCipher(true, nonce); cipher.updateAAD(associatedData); // Use constant-time encryption final byte[] encrypted = performConstantTimeEncryption(cipher, message);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 35.5K bytes - Viewed (0) -
src/main/resources/fess_env.properties
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Sat Aug 07 04:53:24 UTC 2021 - 2.2K bytes - Viewed (1) -
src/main/java/org/codelibs/fess/suggest/request/popularwords/PopularWordsResponse.java
Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Sat Mar 15 06:51:20 UTC 2025 - 3.1K bytes - Viewed (0) -
internal/logger/config.go
retryInterval, err := time.ParseDuration(retryIntervalCfgVal) if err != nil { return cfg, err } if retryInterval > time.Minute { return cfg, fmt.Errorf("maximum allowed value for retry interval is '1m': %s", retryIntervalCfgVal) } httpTimeoutCfgVal := getCfgVal(EnvLoggerWebhookHTTPTimeout, k, kv.Get(httpTimeout)) httpTimeout, err := time.ParseDuration(httpTimeoutCfgVal) if err != nil {
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 18.7K bytes - Viewed (0)