Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 121 - 130 of 179 for expiration (0.07 seconds)

  1. android/guava-tests/test/com/google/common/cache/CacheExpirationTest.java

    import java.util.concurrent.ExecutionException;
    import java.util.concurrent.atomic.AtomicInteger;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Tests relating to cache expiration: make sure entries expire at the right times, make sure
     * expired entries don't show up, etc.
     *
     * @author mike nonemacher
     */
    @SuppressWarnings("deprecation") // tests of deprecated method
    @NullUnmarked
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 16:38:16 GMT 2026
    - 19.1K bytes
    - Click Count (0)
  2. internal/lru/lru.go

    	size      int
    	evictList *LruList[K, V]
    	items     map[K]*Entry[K, V]
    	onEvict   EvictCallback[K, V]
    
    	// expirable options
    	mu   sync.RWMutex
    	ttl  time.Duration
    	done chan struct{}
    
    	// buckets for expiration
    	buckets []bucket[K, V]
    	// uint8 because it's number between 0 and numBuckets
    	nextCleanupBucket uint8
    }
    
    // bucket is a container for holding entries to be expired
    type bucket[K comparable, V any] struct {
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sat Mar 21 11:35:55 GMT 2026
    - 12.6K bytes
    - Click Count (0)
  3. internal/bucket/object/lock/lock.go

    	retDate, err := amztime.ISO8601Parse(dateStr)
    	if err != nil {
    		return ErrInvalidRetentionDate
    	}
    
    	*rDate = RetentionDate{retDate}
    	return nil
    }
    
    // MarshalXML encodes expiration date if it is non-zero and encodes
    // empty string otherwise
    func (rDate RetentionDate) MarshalXML(e *xml.Encoder, startElement xml.StartElement) error {
    	if rDate.IsZero() {
    		return nil
    	}
    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)
  4. src/test/java/jcifs/internal/smb1/ServerMessageBlockTest.java

                assertFalse(testBlock.isExtendedSecurity());
                testBlock.setExtendedSecurity(true);
                assertTrue(testBlock.isExtendedSecurity());
            }
    
            @Test
            @DisplayName("Test expiration property")
            void testExpirationProperty() {
                assertNull(testBlock.getExpiration());
                testBlock.setExpiration(123456789L);
                assertEquals(123456789L, testBlock.getExpiration());
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 36.2K bytes
    - Click Count (0)
  5. cmd/config-current.go

    			Description: "manage Browser HTTP specific features, such as Security headers, etc.",
    			Optional:    true,
    		},
    		config.HelpKV{
    			Key:         config.ILMSubSys,
    			Description: "manage ILM settings for expiration and transition workers",
    			Optional:    true,
    		},
    	}
    
    	if globalIsErasure {
    		helpSubSys = append(helpSubSys, config.HelpKV{
    			Key:         config.StorageClassSubSys,
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 28.5K bytes
    - Click Count (0)
  6. src/main/java/jcifs/internal/smb1/ServerMessageBlock.java

         */
        @Override
        public Long getExpiration() {
            return this.expiration;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.util.transport.Response#setExpiration(java.lang.Long)
         */
        @Override
        public void setExpiration(final Long exp) {
            this.expiration = exp;
        }
    
        /**
         * Gets the configuration object for this message block
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 38.9K bytes
    - Click Count (0)
  7. cmd/iam.go

    	cred.Status = string(auth.AccountOn)
    	cred.Name = opts.name
    	cred.Description = opts.description
    
    	if opts.expiration != nil {
    		expirationInUTC := opts.expiration.UTC()
    		if err := validateSvcExpirationInUTC(expirationInUTC); err != nil {
    			return auth.Credentials{}, time.Time{}, err
    		}
    		cred.Expiration = expirationInUTC
    	}
    
    	updatedAt, err := sys.store.AddServiceAccount(ctx, cred)
    	if err != nil {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Oct 15 17:00:45 GMT 2025
    - 76.5K bytes
    - Click Count (0)
  8. cmd/object-api-listobjects_test.go

    	}
    
    	oneWeekAgo := time.Now().Add(-7 * 24 * time.Hour)
    
    	lifecycleBytes := []byte(`
    <LifecycleConfiguration>
    	<Rule>
    		<Status>Enabled</Status>
    		<Expiration>
    			<Days>1</Days>
    		</Expiration>
    	</Rule>
    </LifecycleConfiguration>
    `)
    
    	lifecycleConfig, err := lifecycle.ParseLifecycleConfig(bytes.NewReader(lifecycleBytes))
    	if err != nil {
    		t.Fatal(err)
    	}
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Oct 10 18:57:03 GMT 2025
    - 76.1K bytes
    - Click Count (0)
  9. cmd/data-scanner.go

    				remainingVersions--
    				size = 0
    			}
    			applyExpiryRule(event, lcEventSrc_Scanner, oi)
    
    		case lifecycle.DeleteVersionAction: // noncurrent versions expiration
    			opts := objOpts[idx]
    			remainingVersions--
    			size = 0
    			toDel = append(toDel, ObjectToDelete{
    				ObjectV: ObjectV{
    					ObjectName: opts.Name,
    					VersionID:  opts.VersionID,
    				},
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 45.5K bytes
    - Click Count (0)
  10. guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/LocalCache.java

          }
        };
    
        abstract Equivalence<Object> defaultEquivalence();
      }
    
      /**
       * Implementation for the EntryIterator, which is used to build Key and Value iterators.
       *
       * <p>Expiration is only checked on hasNext(), so as to ensure that a next() call never returns
       * null when hasNext() has already been called.
       */
      private final class EntryIterator implements Iterator<Entry<K, V>> {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 12:40:22 GMT 2026
    - 21.6K bytes
    - Click Count (0)
Back to Top