- Sort Score
- Result 10 results
- Languages All
Results 531 - 540 of 1,064 for len2 (0.03 sec)
-
internal/bucket/lifecycle/evaluator_test.go
obj := ObjectOpts{ Name: "obj", VersionID: verIDs[i], ModTime: curModTime.Add(time.Duration(-i) * time.Second), UserTags: fmt.Sprintf("%s=minio", tagKeys[i]), NumVersions: len(verIDs), } if i == 0 { obj.IsLatest = true } else { obj.SuccessorModTime = curModTime.Add(time.Duration(-i+1) * time.Second) } objs = append(objs, obj) }Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Tue Apr 08 15:41:24 UTC 2025 - 5K bytes - Viewed (0) -
internal/bucket/versioning/versioning.go
// default: // return Errorf("unsupported MFADelete state %s", v.MFADelete) // } switch v.Status { case Enabled: const maxExcludedPrefixes = 10 if len(v.ExcludedPrefixes) > maxExcludedPrefixes { return errTooManyExcludedPrefixes } case Suspended: if len(v.ExcludedPrefixes) > 0 { return errExcludedPrefixNotSupported } default: return Errorf("unsupported Versioning status %s", v.Status) } return nil
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 4.6K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/AndXServerMessageBlockTest.java
TestSigningDigest digest = new TestSigningDigest(); block.digest = digest; byte[] buf = new byte[256]; int len = block.encode(buf, 0); assertTrue(len > 0); assertTrue(digest.called, "sign() should be called during encode"); assertEquals(len, digest.lastLength); } @Test @DisplayName("writeAndXWireFormat without andx writes 0xFF and sentinel offset")
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.5K bytes - Viewed (0) -
cmd/object-api-utils_test.go
) func pathJoinOld(elem ...string) string { trailingSlash := "" if len(elem) > 0 { if hasSuffixByte(elem[len(elem)-1], SlashSeparatorChar) { trailingSlash = SlashSeparator } } return path.Join(elem...) + trailingSlash } func concatNaive(ss ...string) string { rs := ss[0] for i := 1; i < len(ss); i++ { rs += ss[i] } return rs }
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 24.1K bytes - Viewed (0) -
cmd/os-readdir_test.go
// checkResult - checks whether entries are got are same as expected entries. func checkResult(expected []string, got []string) bool { // If length of expected and got slice are different, the test actually failed. if len(expected) != len(got) { return false } for i := range expected { // If entry in expected is not same as entry it got, the test is failed. if expected[i] != got[i] { return false } }
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Tue May 27 15:19:03 UTC 2025 - 7.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/trans2/Trans2SetFileInformation.java
return 0; } @Override protected int readParametersWireFormat(final byte[] buffer, final int bufferIndex, final int len) { return 0; } @Override protected int readDataWireFormat(final byte[] buffer, final int bufferIndex, final int len) { return 0; } @OverrideRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/Trans2QueryFSInformationResponse.java
int readSetupWireFormat(final byte[] buffer, final int bufferIndex, final int len) { return 0; } @Override int readParametersWireFormat(final byte[] buffer, final int bufferIndex, final int len) { return 0; } @Override int readDataWireFormat(final byte[] buffer, final int bufferIndex, final int len) { return switch (informationLevel) {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 5.1K bytes - Viewed (0) -
cmd/rebalance-admin.go
} // Compute disk usage percentage si := z.StorageInfo(ctx, true) diskStats := make([]struct { AvailableSpace uint64 TotalSpace uint64 }, len(z.serverPools)) for _, disk := range si.Disks { // Ignore invalid. if disk.PoolIndex < 0 || len(diskStats) <= disk.PoolIndex { // https://github.com/minio/minio/issues/16500 continue } diskStats[disk.PoolIndex].AvailableSpace += disk.AvailableSpace
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 3.8K bytes - Viewed (0) -
tests/association_generics_test.go
t.Fatalf("failed to find updated user: %v", err) } if len(updatedUser.Pets) != 2 { t.Fatalf("expected 2 pets, got %d", len(updatedUser.Pets)) } if len(updatedUser.Toys) != 2 { t.Fatalf("expected 2 toys, got %d", len(updatedUser.Toys)) } } // Test Set + Update with Association OpUnlink operation using real database
Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Fri Sep 12 05:42:26 UTC 2025 - 37.9K bytes - Viewed (0) -
src/archive/zip/fuzz_test.go
if err != nil { f.Fatalf("failed to read testdata: %s", err) } f.Add(b) } f.Fuzz(func(t *testing.T, b []byte) { r, err := NewReader(bytes.NewReader(b), int64(len(b))) if err != nil { return } type file struct { header *FileHeader content []byte } files := []file{} for _, f := range r.File { fr, err := f.Open() if err != nil {Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Thu Jan 13 18:06:33 UTC 2022 - 1.7K bytes - Viewed (0)