Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 209 for old2 (0.45 sec)

  1. src/main/java/jcifs/smb/SmbTransportPoolImpl.java

         */
        private void performMaintenanceTasks() {
            // Clean up old failure records
            long now = System.currentTimeMillis();
            lastFailureTimes.entrySet().removeIf(entry -> now - entry.getValue() > FAILURE_RECOVERY_TIME * 2);
    
            // Clean up old consecutive failure counters
            consecutiveFailures.entrySet().removeIf(entry -> {
                String key = entry.getKey();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 33.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/smb1/Trans2FindNext2Test.java

         */
        @Test
        void testResetUpdatesStateAndParameters() {
            // Given
            Trans2FindNext2 next = new Trans2FindNext2(0x0001, 0x0AAA0BBB, "old");
            next.flags2 = 0xFFFF; // simulate non-zero flags2
    
            // When
            next.reset(0x11121314, "last.dat");
    
            // Then
            assertEquals(0, next.flags2, "flags2 should be reset to 0");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  3. guava/src/com/google/common/cache/Cache.java

      ImmutableMap<K, V> getAllPresent(Iterable<? extends Object> keys);
    
      /**
       * Associates {@code value} with {@code key} in this cache. If the cache previously contained a
       * value associated with {@code key}, the old value is replaced by {@code value}.
       *
       * <p>Prefer {@link #get(Object, Callable)} when using the conventional "if cached, return;
       * otherwise create, cache and return" pattern.
       *
       * @since 11.0
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/Platform.java

       *
       * @param reference any array of the desired type
       * @param length the length of the new array
       */
      /*
       * The new array contains nulls, even if the old array did not. If we wanted to be accurate, we
       * would declare a return type of `@Nullable T[]`. However, we've decided not to think too hard
       * about arrays for now, as they're a mess. (We previously discussed this in the review of
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/SessionData.java

         * @param newValue the data to associate with the key, may be {@code null} to remove the mapping
         * @return {@code true} if the key mapping was successfully updated from the old value to the new value,
         *         {@code false} if the current key mapping didn't match the expected value and was not updated.
         */
        <T> boolean replace(@Nonnull Key<T> key, @Nullable T oldValue, @Nullable T newValue);
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Feb 28 23:31:09 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  6. pom.xml

    	<licenses>
    		<license>
    			<name>GNU Lesser General Public License, version 2.1</name>
    			<url>http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt</url>
    			<distribution>repo</distribution>
    		</license>
    	</licenses>
    	<organization>
    		<name>CodeLibs Project</name>
    		<url>https://www.codelibs.org/</url>
    	</organization>
    	<developers>
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Mon Aug 25 14:34:10 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/lease/LeaseManagerTest.java

            // Clean up leases older than 5ms
            int cleaned = leaseManager.cleanupExpiredLeases(5);
    
            // At least the first lease should be cleaned
            assertTrue(cleaned >= 1);
    
            // Check if old lease was removed
            LeaseEntry entry1 = leaseManager.getLease(key1);
            if (cleaned == 2) {
                assertNull(entry1);
                assertNull(leaseManager.getLease(key2));
            }
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 00:16:17 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/io/TempFileCreator.java

    import java.util.Set;
    
    /**
     * Creates temporary files and directories whose permissions are restricted to the current user or,
     * in the case of Android, the current app. If that is not possible (as is the case under the very
     * old Android Ice Cream Sandwich release), then this class throws an exception instead of creating
     * a file or directory that would be more accessible.
     */
    @J2ktIncompatible
    @GwtIncompatible
    @J2ObjCIncompatible
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  9. callbacks/preload.go

    		}
    
    		if err := tx.Find(reflectResults.Addr().Interface()).Error; err != nil {
    			return err
    		}
    	}
    
    	fieldValues := make([]interface{}, len(relForeignFields))
    
    	// clean up old values before preloading
    	switch reflectValue.Kind() {
    	case reflect.Struct:
    		switch rel.Type {
    		case schema.HasMany, schema.Many2Many:
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Sun May 25 07:40:40 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/Smb2EncryptionContext.java

            if (keyManager != null) {
                // Rotate keys in SecureKeyManager
                String encKeyId = sessionId + "-enc";
                String decKeyId = sessionId + "-dec";
    
                // Remove old keys
                keyManager.removeSessionKey(encKeyId);
                keyManager.removeSessionKey(decKeyId);
    
                // Store new keys
                keyManager.storeSessionKey(encKeyId, newEncryptionKey, "AES");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 35.5K bytes
    - Viewed (0)
Back to top