Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 1,037 for Removed (0.04 sec)

  1. tests/lru_test.go

    	lru := lru.NewLRU[string, int](2, nil, time.Hour)
    	lru.Add("key1", 1)
    	lru.Add("key2", 2)
    	lru.Add("key3", 3)
    
    	if _, ok := lru.Get("key1"); ok {
    		t.Errorf("Expected key1 to be removed, but it still exists")
    	}
    }
    
    func TestLRU_Add_UnlimitedSize_NoEviction(t *testing.T) {
    	lru := lru.NewLRU[string, int](0, nil, time.Hour)
    	lru.Add("key1", 1)
    	lru.Add("key2", 2)
    	lru.Add("key3", 3)
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Sun May 25 07:40:40 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  2. cmd/local-locker.go

    			if len(*lri) == 1 {
    				// Remove the write lock.
    				delete(l.lockMap, name)
    			} else {
    				// Remove the appropriate read lock.
    				*lri = append((*lri)[:index], (*lri)[index+1:]...)
    				l.lockMap[name] = *lri
    			}
    			delete(l.lockUID, formatUUID(args.UID, entry.idx))
    			return true
    		}
    	}
    
    	// None found return false, perhaps entry removed in previous run.
    	return false
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 12K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

        assertEquals((Integer) 2, it.next());
        it.remove();
        // After this remove, 400 has moved up and 20 down past cursor
        assertTrue("Heap is not intact after remove", mmHeap.isIntact());
        assertEquals((Integer) 10, it.next());
        assertEquals((Integer) 3, it.next());
        it.remove();
        // After this remove, 400 moved down again and 500 up past the cursor
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 36K bytes
    - Viewed (0)
  4. src/test/java/jcifs/util/PathValidatorTest.java

        @Test
        public void testSmbUrlWithPort() throws Exception {
            String url = "smb://server:445/share";
            String normalized = validator.validateSmbUrl(url);
            // Standard port 445 might be removed in normalization
            assertTrue(normalized.contains("server"));
        }
    
        @Test
        public void testSmbUrlWithNonStandardPort() throws Exception {
            String url = "smb://server:8445/share";
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/beans/util/CopyOptionsUtil.java

         * <p>
         * When a prefix is specified, only the properties from the source whose names start with the prefix will be copied.
         * Additionally, the prefix will be removed from the source property names to determine the target property names.
         * </p>
         *
         * @param prefix
         *            The prefix. Must not be {@literal null} or an empty string.
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/lease/DirectoryLeasingIntegrationTest.java

            assertFalse(cacheEntry.isComplete());
    
            // Step 10: Test lease release
            directoryLeaseManager.releaseDirectoryLease(directoryPath);
    
            // Cache entry should be removed
            assertNull(directoryLeaseManager.getCacheEntry(directoryPath));
            assertFalse(directoryLeaseManager.canCacheDirectoryListing(directoryPath));
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  7. src/main/webapp/js/admin/adminlte.min.js

    +" iframe").attr("src"))},t.removeActiveTab=function(e,t){if("all"==e)n.default(ve).remove(),n.default(we).remove(),n.default(ye).show();else if("all-other"==e)n.default(ve+":not(.active)").remove(),n.default(we+":not(.active)").remove();else if("only-this"==e){var a=n.default(t),i=a.parent(".nav-item"),o=i.parent(),l=i.index(),s=a.siblings(".nav-link").attr("aria-controls");if(i.remove(),n.default("#"+s).remove(),n.default(be).children().length==n.default(ye+", "+Ce).length)n.default(ye).show();else{var...
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Oct 26 01:49:09 UTC 2024
    - 45.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/net/InternetDomainName.java

      public boolean hasParent() {
        return parts.size() > 1;
      }
    
      /**
       * Returns an {@code InternetDomainName} that is the immediate ancestor of this one; that is, the
       * current domain with the leftmost part removed. For example, the parent of {@code
       * www.google.com} is {@code google.com}.
       *
       * @throws IllegalStateException if the domain has no parent, as determined by {@link #hasParent}
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 27.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/hash/Hashing.java

       *
       * <ul>
       *   <li>You want to assign the same fraction of inputs to each bucket.
       *   <li>When you reduce the number of buckets, you can accept that the most recently added
       *       buckets will be removed first. More concretely, if you are dividing traffic among tasks,
       *       you can decrease the number of tasks from 15 and 10, killing off the final 5 tasks, and
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 29.8K bytes
    - Viewed (0)
  10. src/test/java/jcifs/util/InputValidatorTest.java

            // Test normal string without control characters
            assertEquals("test", InputValidator.sanitizeForLogging("test"));
    
            // Test removal of control characters (they are removed, not replaced with spaces)
            assertEquals("teststring", InputValidator.sanitizeForLogging("test\0string"));
            assertEquals("teststring", InputValidator.sanitizeForLogging("test\nstring"));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 11.9K bytes
    - Viewed (0)
Back to top