Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 331 - 340 of 1,708 for getA (0.02 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. android/guava/src/com/google/common/hash/BloomFilterStrategies.java

        boolean set(long bitIndex) {
          if (get(bitIndex)) {
            return false;
          }
    
          int longIndex = (int) (bitIndex >>> LONG_ADDRESSABLE_BITS);
          long mask = 1L << bitIndex; // only cares about low 6 bits of bitIndex
    
          long oldValue;
          long newValue;
          do {
            oldValue = data.get(longIndex);
            newValue = oldValue | mask;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 10.7K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/collect/MapsTransformValuesUnmodifiableIteratorTest.java

        assertMapsEqual(expected, map);
        assertEquals(expected.get("a"), map.get("a"));
        assertEquals(expected.containsKey("a"), map.containsKey("a"));
        assertEquals(expected.get("b"), map.get("b"));
        assertEquals(expected.containsKey("b"), map.containsKey("b"));
        assertEquals(expected.get("c"), map.get("c"));
        assertEquals(expected.containsKey("c"), map.containsKey("c"));
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 12.4K bytes
    - Click Count (0)
  3. guava-testlib/src/com/google/common/collect/testing/google/MultimapAsMapGetTester.java

        Collection<V> result = multimap().asMap().get(k0());
        result.add(v3());
        assertContentsAnyOrder(multimap().get(k0()), v0(), v3());
      }
    
      @CollectionSize.Require(absent = ZERO)
      @MapFeature.Require({SUPPORTS_REMOVE, SUPPORTS_PUT})
      public void testPropagatesRemoveThenAddToMultimap() {
        int oldSize = getNumElements();
    
        Collection<V> result = multimap().asMap().get(k0());
        assertTrue(result.remove(v0()));
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 5.1K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/opensearch/config/bsbhv/BsRelatedQueryBhv.java

                result.setCreatedTime(DfTypeUtil.toLong(source.get("createdTime")));
                result.setQueries(toStringArray(source.get("queries")));
                result.setTerm(DfTypeUtil.toString(source.get("term")));
                result.setUpdatedBy(DfTypeUtil.toString(source.get("updatedBy")));
                result.setUpdatedTime(DfTypeUtil.toLong(source.get("updatedTime")));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 9.8K bytes
    - Click Count (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/testers/SortedMapNavigationTester.java

        sort(entries, Helpers.entryComparator(navigableMap.comparator()));
    
        // some tests assume SEVERAL == 3
        if (entries.size() >= 1) {
          a = entries.get(0);
          if (entries.size() >= 3) {
            c = entries.get(2);
          }
        }
      }
    
      @CollectionSize.Require(ZERO)
      public void testEmptyMapFirst() {
        assertThrows(NoSuchElementException.class, () -> navigableMap.firstKey());
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 6.1K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/collect/AbstractTableTest.java

        other.put("cat", 2, cellValue('f'));
        table.putAll(other);
        assertEquals((Character) 'd', table.get("foo", 1));
        assertEquals((Character) 'b', table.get("bar", 1));
        assertEquals((Character) 'c', table.get("foo", 3));
        assertEquals((Character) 'e', table.get("bar", 2));
        assertEquals((Character) 'f', table.get("cat", 2));
        assertSize(5);
      }
    
      public void testRemove() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Oct 28 16:03:47 GMT 2025
    - 6K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/app/service/KuromojiService.java

        }
    
        /**
         * Get a Kuromoji item.
         *
         * @param dictId The dictionary ID.
         * @param id The ID of the Kuromoji item.
         * @return An optional entity of the Kuromoji item.
         */
        public OptionalEntity<KuromojiItem> getKuromojiItem(final String dictId, final long id) {
            return getKuromojiFile(dictId).map(file -> file.get(id).get());
        }
    
        /**
         * Store a Kuromoji item.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 4.1K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/collect/HashBasedTableTest.java

        assertEquals((Character) 'a', table1.get("foo", 1));
    
        Table<String, Integer, Character> table2 = HashBasedTable.create(100, 0);
        table2.put("foo", 1, 'a');
        assertEquals((Character) 'a', table2.get("foo", 1));
    
        Table<String, Integer, Character> table3 = HashBasedTable.create(0, 20);
        table3.put("foo", 1, 'a');
        assertEquals((Character) 'a', table3.get("foo", 1));
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  9. guava-testlib/src/com/google/common/collect/testing/testers/ListGetTester.java

      public void testGet_valid() {
        // This calls get() on each index and checks the result:
        expectContents(createOrderedArray());
      }
    
      public void testGet_negative() {
        assertThrows(IndexOutOfBoundsException.class, () -> getList().get(-1));
      }
    
      public void testGet_tooLarge() {
        assertThrows(IndexOutOfBoundsException.class, () -> getList().get(getNumElements()));
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 1.7K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/core/stream/StreamUtilTest.java

        }
    
        public void test_ofNull() {
            assertEquals(0, (int) StreamUtil.stream().get(s -> s.toArray().length));
            Object[] o = {};
            assertEquals(0, (int) StreamUtil.stream(o).get(s -> s.toArray().length));
            Map<Object, Object> map = new HashMap<Object, Object>();
            assertEquals(0, (int) StreamUtil.stream(map).get(s -> s.toArray().length));
        }
    
        public void test_ofMap() {
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 1.7K bytes
    - Click Count (0)
Back to Top