- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 1,426 for retain (0.12 seconds)
-
internal/bucket/object/lock/lock_test.go
tests := []struct { value DefaultRetention expectedErr error expectErr bool }{ { value: DefaultRetention{Mode: "retain"}, expectedErr: fmt.Errorf("unknown retention mode retain"), expectErr: true, }, { value: DefaultRetention{Mode: RetGovernance}, expectedErr: fmt.Errorf("either Days or Years must be specified"), expectErr: true,Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 18.4K bytes - Click Count (0) -
internal/bucket/object/lock/lock.go
// ntp server is disabled if ntpServer == "" { return time.Now().UTC(), nil } return ntp.Time(ntpServer) } // Retention - bucket level retention configuration. type Retention struct { Mode RetMode Validity time.Duration LockEnabled bool } // Retain - check whether given date is retainable by validity time. func (r Retention) Retain(created time.Time) bool { t, err := UTCNowNTP()Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 17.9K bytes - Click Count (0) -
src/test/java/jcifs/smb/JAASAuthenticatorTest.java
// Refreshing the original must not clear the clone's cached subject orig.refresh(); // Clone should retain its cached Subject assertSame(copySubj, copy.getSubject(), "Clone should retain its cached Subject"); } else { // If JAAS is not configured and getSubject() returns null, verify cloning still worksCreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 9.9K bytes - Click Count (0) -
internal/logger/targets.go
} } targetsList.set(newWebhooks) cancelTargets(oldTargets) return errs } // UpdateAuditKafkaTargets swaps audit kafka targets with newly loaded ones from the cfg func UpdateAuditKafkaTargets(ctx context.Context, cfg Config) []error { newKafkaTgts, errs := initKafkaTargets(ctx, cfg.AuditKafka) // Retain webhook targets oldKafkaTgts, otherTgts := splitTargets(auditTargets.get(), types.TargetKafka)
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 6K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionRetainAllTester.java
/** A collection of elements to retain, along with a description for use in failure messages. */ private final class Target { private final Collection<E> toRetain; private final String description; private Target(Collection<E> toRetain, String description) { this.toRetain = toRetain; this.description = description; } @OverrideCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Sep 22 20:54:16 GMT 2025 - 10.7K bytes - Click Count (0) -
cmd/auth-handler.go
return authTypeStreamingUnsignedTrailer } else if isRequestSignatureV4(r) { return authTypeSigned } else if isRequestPresignedSignatureV4(r) { return authTypePresigned } else if isRequestJWT(r) { return authTypeJWT } else if isRequestPostPolicySignatureV4(r) { return authTypePostPolicy } else if _, ok := r.Form[xhttp.Action]; ok { return authTypeSTS } else if _, ok := r.Header[xhttp.Authorization]; !ok {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 25.4K bytes - Click Count (0) -
cmd/data-scanner_test.go
t.Fatalf("Expected %d objects but got %d", len(test.wants), len(gots)) } if slices.CompareFunc(gots, test.wants, func(g, w ObjectInfo) int { if g.VersionID == w.VersionID { return 0 } return -1 }) != 0 { t.Fatalf("Expected %v but got %v", test.wants, gots) } // verify the objects to be deleted close(workers[0]) wg.Wait()
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 12K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/project/artifact/MavenMetadataSource.java
return null; } private boolean isMissingPom(Exception e) { if (e.getCause() instanceof MultipleArtifactsNotFoundException) { return true; } return e.getCause() instanceof org.eclipse.aether.resolution.ArtifactResolutionException && e.getCause().getCause() instanceof ArtifactNotFoundException; } private boolean isNonTransferablePom(Exception e) {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Sep 25 12:03:50 GMT 2025 - 30.4K bytes - Click Count (0) -
internal/config/storageclass/storage-class.go
ssc := kvs.Get(ClassStandard) rrsc := kvs.Get(ClassRRS) return ssc != "" || rrsc != "" } // DefaultParityBlocks returns default parity blocks for 'drive' count func DefaultParityBlocks(drive int) int { switch drive { case 1: return 0 case 3, 2: return 1 case 4, 5: return 2 case 6, 7: return 3 default: return 4 } }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 12.3K bytes - Click Count (0) -
src/main/java/jcifs/smb1/util/DES.java
encrypt(clearText, i * 8, cipherText, i * 8); } return cipherText; } /** * decrypts an array where the length must be a multiple of 8 */ /** * Decrypts an 8-byte block using DES * @param cipherText the 8-byte ciphertext block * @return the 8-byte plaintext block */ public byte[] decrypt(final byte[] cipherText) {
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 22.7K bytes - Click Count (0)