Search Options

Results per page
Sort
Preferred Languages
Advance

Results 311 - 320 of 1,324 for Remove (0.16 sec)

  1. tests/lru_test.go

    	if !ok {
    		t.Fatalf("should be true")
    	}
    	if val != "val1" {
    		t.Fatalf("value differs from expected")
    	}
    	if evicted != 0 {
    		t.Fatalf("value differs from expected")
    	}
    
    	lc.Remove("key1")
    	if evicted != 1 {
    		t.Fatalf("value differs from expected")
    	}
    	val, ok = lc.Get("key1")
    	if val != "" {
    		t.Fatalf("should be empty")
    	}
    	if ok {
    		t.Fatalf("should be false")
    	}
    }
    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. android/guava-testlib/src/com/google/common/collect/testing/CollectionTestSuiteBuilder.java

        }
      }
    
      private static Set<Feature<?>> computeReserializedCollectionFeatures(Set<Feature<?>> features) {
        Set<Feature<?>> derivedFeatures = new HashSet<>(features);
        derivedFeatures.remove(SERIALIZABLE);
        derivedFeatures.remove(SERIALIZABLE_INCLUDING_VIEWS);
        return derivedFeatures;
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapKeySetTester.java

      }
    
      @MapFeature.Require(SUPPORTS_REMOVE)
      public void testKeySetRemovePropagatesToMultimap() {
        int key0Count = multimap().get(k0()).size();
        assertEquals(key0Count > 0, multimap().keySet().remove(k0()));
        assertEquals(getNumElements() - key0Count, multimap().size());
        assertGet(k0());
      }
    
      @CollectionSize.Require(absent = ZERO)
      @CollectionFeature.Require(SUPPORTS_ITERATOR_REMOVE)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  4. src/test/java/jcifs/BufferCacheTest.java

                this.cache = new ArrayList<>(maxBuffers);
            }
    
            @Override
            public synchronized byte[] getBuffer() {
                if (!cache.isEmpty()) {
                    return cache.remove(0);
                }
                return new byte[bufferSize];
            }
    
            @Override
            public synchronized void releaseBuffer(byte[] buf) {
                if (buf != null && cache.size() < maxBuffers) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  5. dbflute_fess/manage.bat

    @echo off
    
    setlocal
    %~d0
    cd %~p0
    call _project.bat
    
    :: tilde to remove double quotation
    set FIRST_ARG=%~1
    if "%FIRST_ARG%"=="" set FIRST_ARG=""
    set SECOND_ARG=%2
    if "%SECOND_ARG%"=="" set SECOND_ARG=""
    
    call %DBFLUTE_HOME%\etc\cmd\_df-manage.cmd %MY_PROPERTIES_PATH% "%FIRST_ARG%" %SECOND_ARG%
    
    if "%pause_at_end%"=="y" (
      pause
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 04 22:46:31 UTC 2015
    - 332 bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/MultiChannelManager.java

            }
        }
    
        /**
         * Removes all channels for a session.
         *
         * @param sessionId the session identifier
         */
        public void removeChannels(String sessionId) {
            ChannelGroup channelGroup = sessionChannels.remove(sessionId);
            if (channelGroup != null) {
                for (ChannelInfo channel : channelGroup.getChannels()) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/ArrayTable.java

     * Finally, every possible combination of row and column keys is always considered to have a value
     * associated with it: It is not possible to "remove" a value, only to replace it with {@code null},
     * which will still appear when iterating over the table's contents in a foreach loop or a call to a
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 13 19:39:21 UTC 2025
    - 26.8K bytes
    - Viewed (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Request.kt

          name: String,
          value: String,
        ) = apply {
          headers.add(name, value)
        }
    
        /** Removes all headers named [name] on this builder. */
        open fun removeHeader(name: String) =
          apply {
            headers.removeAll(name)
          }
    
        /** Removes all headers on this builder and adds [headers]. */
        open fun headers(headers: Headers) =
          apply {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 16 09:39:51 UTC 2025
    - 13.1K bytes
    - Viewed (1)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cache.kt

            val result = nextUrl!!
            nextUrl = null
            canRemove = true
            return result
          }
    
          override fun remove() {
            check(canRemove) { "remove() before next()" }
            delegate.remove()
          }
        }
      }
    
      @Synchronized fun writeAbortCount(): Int = writeAbortCount
    
      @Synchronized fun writeSuccessCount(): Int = writeSuccessCount
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 16 09:39:51 UTC 2025
    - 26.9K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/collection/IndexedIterator.java

        }
    
        @Override
        public Indexed<T> next() {
            return new Indexed<>(iterator.next(), index++);
        }
    
        @Override
        public void remove() {
            throw new ClUnsupportedOperationException("remove");
        }
    
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 3.3K bytes
    - Viewed (0)
Back to top