- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 1,286 for retain (0.05 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 Apr 05 19:28:12 GMT 2026 - 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 Apr 05 19:28:12 GMT 2026 - 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: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 9.9K bytes - Click Count (0) -
cmd/metacache-walk.go
return nil } if len(prefix) > 0 && !strings.HasPrefix(entry, prefix) { // Do not retain the file, since it doesn't // match the prefix. entries[i] = "" continue } if len(forward) > 0 && entry < forward { // Do not retain the file, since its // lexially smaller than 'forward' entries[i] = "" continue } if hasSuffixByte(entry, SlashSeparatorChar) {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Mon May 26 07:06:43 GMT 2025 - 12.6K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/AndXServerMessageBlockTest.java
public boolean verifySignature(byte[] data, int offset, int length) { return true; // Default to successful verification } public void setRetainPayload(boolean retain) { this.retainPayload = retain; } public byte[] getRawPayload() { return rawPayload; } // Expose headerStart for testing
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 19.4K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/precommit/LicenseAnalyzer.java
} public String getIdentifier() { return identifier; } public boolean isSpdxLicense() { return spdxLicense; } public boolean isSourceRedistributionRequired() { return sourceRedistributionRequired; } } private static class LicenseMatcher {Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jul 27 00:12:58 GMT 2021 - 12.8K bytes - Click Count (0) -
LICENSE
stating that You changed the files; and (c) You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; andCreated: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Mon Nov 29 17:31:56 GMT 2021 - 13.3K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseContextTest.java
assertArrayEquals(key.getKey(), context.getLeaseKey().getKey()); assertEquals(DirectoryLeaseState.DIRECTORY_READ_HANDLE, context.getLeaseState()); // Directory-specific fields should retain defaults assertEquals(DirectoryCacheScope.IMMEDIATE_CHILDREN, context.getCacheScope()); assertEquals(30000L, context.getMaxCacheAge()); assertTrue(context.isNotificationEnabled()); }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 01:47:47 GMT 2025 - 10.1K 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 Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 20:54:16 GMT 2025 - 10.7K bytes - Click Count (0) -
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 Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 20:54:16 GMT 2025 - 10.7K bytes - Click Count (0)