Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,246 for retain (0.04 sec)

  1. 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()
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 17.9K bytes
    - Viewed (0)
  2. 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,
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 18.4K bytes
    - Viewed (0)
  3. 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 works
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  4. 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) {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Mon May 26 07:06:43 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  5. 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
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  6. compat/maven-artifact/src/main/java/org/apache/maven/artifact/DefaultArtifact.java

            return value == null || value.isBlank();
        }
    
        @Override
        public String getClassifier() {
            return classifier;
        }
    
        @Override
        public boolean hasClassifier() {
            return classifier != null && !classifier.isEmpty();
        }
    
        @Override
        public String getScope() {
            return scope;
        }
    
        @Override
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jul 23 17:27:08 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  7. docs/LICENSE

    following conditions.
    
      a. Attribution.
    
           1. If You Share the Licensed Material (including in modified
              form), You must:
    
                a. retain the following if it is supplied by the Licensor
                   with the Licensed Material:
    
                     i. identification of the creator(s) of the Licensed
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Mon May 10 16:50:06 UTC 2021
    - 18.2K bytes
    - Viewed (0)
  8. LICENSES/vendor/github.com/containerd/errdefs/pkg/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; and
    
    Registered: Fri Dec 26 09:05:12 UTC 2025
    - Last Modified: Wed Mar 05 11:36:39 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  9. 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;
        }
    
        @Override
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 20:54:16 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/CommonServerMessageBlockTest.java

                public byte[] getRawPayload() {
                    // Implementation for getting raw payload
                    return null;
                }
    
                @Override
                public boolean isRetainPayload() {
                    // Implementation for retain payload flag
                    return false;
                }
    
                @Override
                public void retainPayload() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.7K bytes
    - Viewed (0)
Back to top