Search Options

Results per page
Sort
Preferred Languages
Advance

Results 311 - 320 of 408 for getMem (0.03 sec)

  1. android/guava/src/com/google/common/collect/Interners.java

            @SuppressWarnings("rawtypes") // using raw types to avoid a bug in our nullness checker :(
            InternalEntry entry = map.getEntry(sample);
            if (entry != null) {
              Object canonical = entry.getKey();
              if (canonical != null) { // only matters if weak/soft keys are used
                // The compiler would know this is safe if not for our use of raw types (see above).
                @SuppressWarnings("unchecked")
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 6K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/testers/MapPutAllTester.java

      }
    
      private void putAll(Iterable<Entry<K, V>> entries) {
        Map<K, V> map = new LinkedHashMap<>();
        for (Entry<K, V> entry : entries) {
          map.put(entry.getKey(), entry.getValue());
        }
        getMap().putAll(map);
      }
    
      /**
       * Returns the {@link Method} instance for {@link #testPutAll_nullKeyUnsupported()} so that tests
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/dfs/DfsReferralDataImpl.java

        }
    
        @Override
        public void setLink(final String link) {
            this.link = link;
        }
    
        /**
         * @return the key
         */
        @Override
        public String getKey() {
            return this.key;
        }
    
        /**
         * @param key
         *            the key to set
         */
        @Override
        public void setKey(final String key) {
            this.key = key;
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

                    requireNonNull(e2);
                    return comparator.compare(e1.getKey(), e2.getKey());
                  });
              // requireNonNull is safe because the first `size` elements have been filled in.
              Entry<K, V> firstEntry = requireNonNull(entryArray[0]);
              K prevKey = firstEntry.getKey();
              keys[0] = prevKey;
              values[0] = firstEntry.getValue();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 21:07:18 UTC 2025
    - 52.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/util/ResourceManager.java

                if (!holder.closed && !holder.isAlive()) {
                    // Resource object has been garbage collected but not closed
                    reportLeak(holder);
                    activeResources.remove(entry.getKey());
                    cleaned++;
                } else if (!holder.closed && holder.getAge() > maxResourceAge * 2) {
                    // Very old unclosed resource - attempt to close it
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/io/Smb2WriteResponseTest.java

            @DisplayName("Should initialize remaining to zero")
            void testInitialRemainingValue() {
                assertEquals(0, response.getRemaining());
            }
        }
    
        @Nested
        @DisplayName("Getter Tests")
        class GetterTests {
    
            @Test
            @DisplayName("Should get count value")
            void testGetCount() {
                // Initial value should be 0
                assertEquals(0, response.getCount());
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/cache/LocalLoadingCacheTest.java

        assertThat(cache.getUnchecked(one)).isSameInstanceAs(one);
        assertThat(segment.recencyQueue.isEmpty()).isTrue();
        assertThat(map.get(one)).isSameInstanceAs(one);
        assertThat(segment.recencyQueue.peek().getKey()).isSameInstanceAs(one);
        assertThat(cache.getUnchecked(one)).isSameInstanceAs(one);
        assertThat(segment.recencyQueue.isEmpty()).isFalse();
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 13.3K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapPutTester.java

          Collection<V> collection = null;
          while (asMapItr.hasNext()) {
            Entry<K, Collection<V>> asMapEntry = asMapItr.next();
            if (key.equals(asMapEntry.getKey())) {
              collection = asMapEntry.getValue();
              break;
            }
          }
          assertNotNull(collection);
          Collection<V> expectedCollection = copyToList(collection);
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 20:54:16 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/CompactHashMap.java

          if (delegate != null) {
            return delegate.entrySet().contains(o);
          } else if (o instanceof Entry) {
            Entry<?, ?> entry = (Entry<?, ?>) o;
            int index = indexOf(entry.getKey());
            return index != -1 && Objects.equals(value(index), entry.getValue());
          }
          return false;
        }
    
        @Override
        public boolean remove(@Nullable Object o) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 35.7K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/suggest/request/popularwords/PopularWordsRequestTest.java

            indexQueryItems();
    
            PopularWordsResponse response = suggester.popularWords().setSize(10).execute().getResponse();
    
            assertNotNull(response);
            assertTrue(response.getNum() > 0);
            assertTrue(response.getTotal() > 0);
            assertNotNull(response.getWords());
            assertNotNull(response.getIndex());
        }
    
        @Test
        public void test_setters() throws Exception {
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 24 03:40:05 UTC 2025
    - 6.9K bytes
    - Viewed (0)
Back to top