Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1141 - 1150 of 4,816 for newE (0.03 sec)

  1. android/guava-tests/test/com/google/common/cache/PopulatedCachesTest.java

            Entry<Object, Object> entry = warmed.get(i - WARMUP_MIN);
            Object newValue = new Object();
            assertSame(entry.getValue(), cache.asMap().put(entry.getKey(), newValue));
            // don't let the new entry get GCed
            warmed.add(entryOf(entry.getKey(), newValue));
            Object newKey = new Object();
            assertNull(cache.asMap().put(newKey, entry.getValue()));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 15K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/primitives/ImmutableIntArray.java

      private static final ImmutableIntArray EMPTY = new ImmutableIntArray(new int[0]);
    
      /** Returns the empty array. */
      public static ImmutableIntArray of() {
        return EMPTY;
      }
    
      /** Returns an immutable array containing a single value. */
      public static ImmutableIntArray of(int e0) {
        return new ImmutableIntArray(new int[] {e0});
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 22.2K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

      public static Policy permissivePolicy() {
        return new AdjustablePolicy
        // Permissions j.u.c. needs directly
        (
            new RuntimePermission("modifyThread"),
            new RuntimePermission("getClassLoader"),
            new RuntimePermission("setContextClassLoader"),
            // Permissions needed to change permissions!
            new SecurityPermission("getPolicy"),
            new SecurityPermission("setPolicy"),
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:42:09 UTC 2024
    - 37.9K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/FauxveridesTest.java

        Map<Object, Object> original =
            ImmutableMap.of(new Object(), new Object(), new Object(), new Object());
    
        assertThrows(ClassCastException.class, () -> ImmutableSortedMap.copyOf(original));
      }
    
      public void testImmutableSortedSetCopyOfIterable() {
        Set<Object> original = ImmutableSet.of(new Object(), new Object());
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/FauxveridesTest.java

        Map<Object, Object> original =
            ImmutableMap.of(new Object(), new Object(), new Object(), new Object());
    
        assertThrows(ClassCastException.class, () -> ImmutableSortedMap.copyOf(original));
      }
    
      public void testImmutableSortedSetCopyOfIterable() {
        Set<Object> original = ImmutableSet.of(new Object(), new Object());
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/es/config/cbean/cq/bs/BsElevateWordToLabelCQ.java

            ElevateWordToLabelCQ mustQuery = new ElevateWordToLabelCQ();
            ElevateWordToLabelCQ shouldQuery = new ElevateWordToLabelCQ();
            ElevateWordToLabelCQ mustNotQuery = new ElevateWordToLabelCQ();
            ElevateWordToLabelCQ filterQuery = new ElevateWordToLabelCQ();
            boolLambda.callback(mustQuery, shouldQuery, mustNotQuery, filterQuery);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 23.8K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/hash/Crc32cHashFunctionTest.java

    public class Crc32cHashFunctionTest extends TestCase {
      public void testEmpty() {
        assertCrc(0, new byte[0]);
      }
    
      public void testZeros() {
        // Test 32 byte array of 0x00.
        byte[] zeros = new byte[32];
        assertCrc(0x8a9136aa, zeros);
      }
    
      public void testZeros100() {
        // Test 100 byte array of 0x00.
        byte[] zeros = new byte[100];
        assertCrc(0x07cb9ff6, zeros);
      }
    
      public void testFull() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/http/NtlmHttpURLConnection.java

            if (headerFields != null) return headerFields;
            Map map = new HashMap();
            String key = connection.getHeaderFieldKey(0);
            String value = connection.getHeaderField(0);
            for (int i = 1; key != null || value != null; i++) {
                List values = (List) map.get(key);
                if (values == null) {
                    values = new ArrayList();
                    map.put(key, values);
                }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 20.4K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/ImmutableClassToInstanceMap.java

       *
       * <pre>{@code
       * static final ImmutableClassToInstanceMap<Handler> HANDLERS =
       *     new ImmutableClassToInstanceMap.Builder<Handler>()
       *         .put(FooHandler.class, new FooHandler())
       *         .put(BarHandler.class, new SubBarHandler())
       *         .put(Handler.class, new QuuxHandler())
       *         .build();
       * }</pre>
       *
       * <p>After invoking {@link #build()} it is still possible to add more entries and build again.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed May 10 21:56:03 UTC 2023
    - 7.1K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/query/QueryProcessorTest.java

            QueryContext context = new QueryContext(null, false);
            MatchAllDocsQuery query = new MatchAllDocsQuery();
    
            QueryBuilder queryBuilder = queryProcessor.execute(context, query, 1.0f);
            assertTrue(called.get());
            assertEquals(BoolQueryBuilder.class, queryBuilder.getClass());
    
            called.set(false);
            final AtomicBoolean calledFirst = new AtomicBoolean(false);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.5K bytes
    - Viewed (0)
Back to top