Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2461 - 2470 of 4,299 for avoid (0.02 sec)

  1. android/guava-tests/test/com/google/common/collect/ForwardingConcurrentMapTest.java

          return delegate;
        }
      }
    
      public void testPutIfAbsent() {
        TestMap map = new TestMap();
        map.put("foo", 1);
        assertEquals(Integer.valueOf(1), map.putIfAbsent("foo", 2));
        assertEquals(Integer.valueOf(1), map.get("foo"));
        assertThat(map.putIfAbsent("bar", 3)).isNull();
        assertEquals(Integer.valueOf(3), map.get("bar"));
      }
    
      public void testRemove() {
        TestMap map = new TestMap();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/service/impl/DataServiceImpl.java

         *
         * @param sessionId the session ID
         */
        @Override
        public void delete(final String sessionId) {
            dataHelper.deleteAccessResultMap(sessionId);
        }
    
        /**
         * Deletes all access results from all sessions.
         */
        @Override
        public void deleteAll() {
            dataHelper.clearUrlQueueList();
        }
    
        /**
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/cache/LongAdder.java

              || !(uncontended = a.cas(v = a.value, v + x))) retryUpdate(x, hc, uncontended);
        }
      }
    
      /** Equivalent to {@code add(1)}. */
      @Override
      public void increment() {
        add(1L);
      }
    
      /** Equivalent to {@code add(-1)}. */
      public void decrement() {
        add(-1L);
      }
    
      /**
       * Returns the current sum. The returned value is NOT an atomic snapshot; invocation in
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  4. impl/maven-core/src/test/java/org/apache/maven/plugin/PluginManagerTest.java

        @Inject
        private DefaultBuildPluginManager pluginManager;
    
        protected String getProjectsDirectory() {
            return "src/test/projects/plugin-manager";
        }
    
        @Test
        void testPluginLoading() throws Exception {
            MavenSession session = createMavenSession(null);
            Plugin plugin = new Plugin();
            plugin.setGroupId("org.apache.maven.its.plugins");
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sun Mar 30 23:08:36 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/LinkedListMultimap.java

        public int previousIndex() {
          return nextIndex - 1;
        }
    
        @Override
        public void set(Entry<K, V> e) {
          throw new UnsupportedOperationException();
        }
    
        @Override
        public void add(Entry<K, V> e) {
          throw new UnsupportedOperationException();
        }
    
        void setValue(@ParametricNullness V value) {
          checkState(current != null);
          current.setValue(value);
        }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 18:35:44 UTC 2025
    - 27K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/CompactHashMap.java

      }
    
      private int entry(int i) {
        return requireEntries()[i];
      }
    
      private void setKey(int i, K key) {
        requireKeys()[i] = key;
      }
    
      private void setValue(int i, V value) {
        requireValues()[i] = value;
      }
    
      private void setEntry(int i, int value) {
        requireEntries()[i] = value;
      }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 35.7K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/math/StatsAccumulator.java

       *     cause loss of precision)
       */
      public void addAll(Iterable<? extends Number> values) {
        for (Number value : values) {
          add(value.doubleValue());
        }
      }
    
      /**
       * Adds the given values to the dataset.
       *
       * @param values a series of values, which will be converted to {@code double} values (this may
       *     cause loss of precision)
       */
      public void addAll(Iterator<? extends Number> values) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Apr 14 16:36:11 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  8. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/LhaExtractorTest.java

     *
     */
    public class LhaExtractorTest extends PlainTestCase {
        private static final Logger logger = LogManager.getLogger(LhaExtractorTest.class);
    
        public LhaExtractor lhaExtractor;
    
        @Override
        protected void setUp() throws Exception {
            super.setUp();
            StandardCrawlerContainer container = new StandardCrawlerContainer();
            container.singleton("mimeTypeHelper", MimeTypeHelperImpl.class)
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/core/misc/AssertionUtilTest.java

         */
        @Test
        public void testAssertState() {
            exception.expect(ClIllegalStateException.class);
            exception.expectMessage(is("hogeだからです。"));
            assertState(false, "hogeだからです。");
        }
    
        /**
         * Test method for
         * {@link org.codelibs.core.misc.AssertionUtil#assertIndex(boolean, String)} .
         */
        @Test
        public void testAssertIndex() {
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 3K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/util/concurrent/TestPlatform.java

    @GwtCompatible
    final class TestPlatform {
      static void verifyGetOnPendingFuture(Future<?> future) {
        checkNotNull(future);
        try {
          pseudoTimedGetUninterruptibly(future, 10, MILLISECONDS);
          fail();
        } catch (TimeoutException expected) {
        } catch (ExecutionException e) {
          throw new AssertionError(e);
        }
      }
    
      static void verifyTimedGetOnPendingFuture(Future<?> future) {
        try {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 2.7K bytes
    - Viewed (0)
Back to top