Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 3,514 for Void (0.11 sec)

  1. guava-tests/test/com/google/common/util/concurrent/CycleDetectingLockFactoryTest.java

      }
    
      public void testReentrancy_noDeadlock() {
        lockA.lock();
        lockB.lock();
        lockA.lock(); // Should not assert on lockB -> reentrant(lockA)
      }
    
      public void testExplicitOrdering_noViolations() {
        lock1.lock();
        lock3.lock();
        lock3.unlock();
        lock2.lock();
        lock3.lock();
      }
    
      public void testExplicitOrdering_violations() {
        lock3.lock();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/CycleDetectingLockFactoryTest.java

      }
    
      public void testReentrancy_noDeadlock() {
        lockA.lock();
        lockB.lock();
        lockA.lock(); // Should not assert on lockB -> reentrant(lockA)
      }
    
      public void testExplicitOrdering_noViolations() {
        lock1.lock();
        lock3.lock();
        lock3.unlock();
        lock2.lock();
        lock3.lock();
      }
    
      public void testExplicitOrdering_violations() {
        lock3.lock();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/eventbus/EventBusTest.java

      private static final String EVENT = "Hello";
      private static final String BUS_IDENTIFIER = "test-bus";
    
      private EventBus bus;
    
      @Override
      protected void setUp() throws Exception {
        super.setUp();
        bus = new EventBus(BUS_IDENTIFIER);
      }
    
      public void testBasicCatcherDistribution() {
        StringCatcher catcher = new StringCatcher();
        bus.register(catcher);
        bus.post(EVENT);
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 15:16:45 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/SettableFutureTest.java

      @Override
      protected void setUp() throws Exception {
        super.setUp();
    
        future = SettableFuture.create();
        tester = new ListenableFutureTester(future);
        tester.setUp();
      }
    
      public void testDefaultState() throws Exception {
        assertThrows(TimeoutException.class, () -> future.get(5, MILLISECONDS));
      }
    
      public void testSetValue() throws Exception {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/service/UrlQueueService.java

        void updateSessionId(String oldSessionId, String newSessionId);
    
        void add(String sessionId, String url);
    
        void insert(QUEUE urlQueue);
    
        void delete(String sessionId);
    
        void deleteAll();
    
        void offerAll(String sessionId, List<QUEUE> newUrlQueueList);
    
        QUEUE poll(String sessionId);
    
        void saveSession(String sessionId);
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/project/inheritance/ModelInheritanceAssembler.java

        String ROLE = ModelInheritanceAssembler.class.getName();
    
        void assembleModelInheritance(Model child, Model parent, String childPathAdjustment);
    
        void assembleModelInheritance(Model child, Model parent);
    
        void assembleBuildInheritance(Build childBuild, Build parentBuild, boolean handleAsInheritance);
    
        void copyModel(Model dest, Model source);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/core/collection/ArrayUtilTest.java

         */
        @Test
        public void testAdd_int() throws Exception {
            final int[] array = new int[] { 1 };
            final int[] newArray = ArrayUtil.add(array, 2);
            assertThat(newArray.length, is(2));
            assertThat(newArray[0], is(1));
            assertThat(newArray[1], is(2));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testIndexOf() throws Exception {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/base/StringsTest.java

     */
    @ElementTypesAreNonnullByDefault
    @GwtCompatible(emulated = true)
    public class StringsTest extends TestCase {
      public void testNullToEmpty() {
        assertEquals("", Strings.nullToEmpty(null));
        assertEquals("", Strings.nullToEmpty(""));
        assertEquals("a", Strings.nullToEmpty("a"));
      }
    
      public void testEmptyToNull() {
        assertNull(Strings.emptyToNull(null));
        assertNull(Strings.emptyToNull(""));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  9. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/client/FesenClient.java

        }
    
        public void setSizeForDelete(final int sizeForDelete) {
            this.sizeForDelete = sizeForDelete;
        }
    
        public void setRetryInterval(final long retryInterval) {
            this.retryInterval = retryInterval;
        }
    
        public void setMaxRetryCount(final int maxRetryCount) {
            this.maxRetryCount = maxRetryCount;
        }
    
        public void setConnTimeout(final long connTimeout) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/helper/IndexingHelperTest.java

    public class IndexingHelperTest extends UnitFessTestCase {
        private IndexingHelper indexingHelper;
    
        private long documentSizeByQuery = 0L;
    
        @Override
        public void setUp() throws Exception {
            super.setUp();
            ComponentUtil.register(new SystemHelper(), "systemHelper");
            indexingHelper = new IndexingHelper() {
                @Override
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Wed Jul 24 08:54:24 UTC 2024
    - 23.4K bytes
    - Viewed (0)
Back to top