Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 791 - 800 of 1,069 for match1 (0.09 seconds)

  1. android/guava/src/com/google/common/util/concurrent/ServiceManager.java

     *         // Give the services 5 seconds to stop to ensure that we are responsive to shutdown
     *         // requests.
     *         try {
     *           manager.stopAsync().awaitStopped(5, TimeUnit.SECONDS);
     *         } catch (TimeoutException timeout) {
     *           // stopping timed out
     *         }
     *       }
     *     });
     *     manager.startAsync(); // start all the services asynchronously
     *   }
     * }
     * }
     *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 33.2K bytes
    - Click Count (1)
  2. android/guava-tests/test/com/google/common/util/concurrent/SupplementalMonitorTest.java

                    actualIsOccupiedByCurrentThread.set(monitor.isOccupiedByCurrentThread());
                    actualOccupiedDepth.set(monitor.getOccupiedDepth());
                  } catch (Throwable t) {
                    thrown.set(t);
                  }
                }));
        assertThat(thrown.get()).isNull();
        assertEquals(expectedIsOccupied, actualIsOccupied.get());
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 5K bytes
    - Click Count (0)
  3. guava-testlib/test/com/google/common/testing/TearDownStackTest.java

        assertEquals(false, tearDownOne.ran);
        assertEquals(false, tearDownTwo.ran);
    
        try {
          stack.runTearDown();
          fail("runTearDown should have thrown an exception");
        } catch (RuntimeException expected) {
          assertThat(expected).hasMessageThat().isEqualTo("two");
          assertThat(getOnlyElement(asList(expected.getSuppressed())))
              .hasMessageThat()
              .isEqualTo("one");
        }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:11:48 GMT 2026
    - 4.5K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/net/UrlEscaperTesting.java

        // URL escapers should throw null pointer exceptions for null input
        try {
          e.escape((String) null);
          fail("Escaping null string should throw exception");
        } catch (NullPointerException x) {
          // pass
        }
    
        // All URL escapers should leave 0-9, A-Z, a-z unescaped
        assertUnescaped(e, 'a');
        assertUnescaped(e, 'z');
        assertUnescaped(e, 'A');
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 15:59:55 GMT 2026
    - 3.7K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/util/concurrent/SupplementalMonitorTest.java

                    actualIsOccupiedByCurrentThread.set(monitor.isOccupiedByCurrentThread());
                    actualOccupiedDepth.set(monitor.getOccupiedDepth());
                  } catch (Throwable t) {
                    thrown.set(t);
                  }
                }));
        assertThat(thrown.get()).isNull();
        assertEquals(expectedIsOccupied, actualIsOccupied.get());
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 5K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/util/concurrent/ExecutionListTest.java

        CountDownLatch okayToRun = new CountDownLatch(1);
        AtomicInteger runCalled = new AtomicInteger();
        list.add(
            () -> {
              try {
                okayToRun.await();
              } catch (InterruptedException e) {
                Thread.currentThread().interrupt();
                throw new RuntimeException(e);
              }
              runCalled.getAndIncrement();
            },
            directExecutor());
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 4.4K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/helper/PermissionHelperTest.java

                    String decoded = permissionHelper.decode(encoded);
                    assertNotNull("Decoded value should not be null for: " + value, decoded);
                    assertEquals("Decoded value should match original: " + value + " -> " + encoded + " -> " + decoded, value, decoded);
                }
            }
        }
    
        @Test
        public void test_encode_withLongValues() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 14K bytes
    - Click Count (0)
  8. dbflute_fess/dfprop/replaceSchemaMap.dfprop

        #; isIncrementSequenceToDataMax = false
        # - - - - - - - - - -/
    
        # /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        # o isSuppressBatchUpdate: (NotRequired - Default false)
        #  Does it suppress batch update at loading data?
        #  When you have a data error, you may get details for the error
        #  by this property changing. Because it is possible that
        #  the BatchUpdateException information is very short for debug.
        #
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Oct 31 23:35:14 GMT 2015
    - 9.3K bytes
    - Click Count (0)
  9. samples/guide/src/main/java/okhttp3/recipes/CancelCall.java

        try (Response response = call.execute()) {
          System.out.printf("%.2f Call was expected to fail, but completed: %s%n",
              (System.nanoTime() - startNanos) / 1e9f, response);
        } catch (IOException e) {
          System.out.printf("%.2f Call failed as expected: %s%n",
              (System.nanoTime() - startNanos) / 1e9f, e);
        }
      }
    
      public static void main(String... args) throws Exception {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sat Jan 12 03:31:36 GMT 2019
    - 2.1K bytes
    - Click Count (0)
  10. guava-testlib/src/com/google/common/collect/testing/ReserializingTestCollectionGenerator.java

          out.writeObject(object);
          ObjectInputStream in = new ObjectInputStream(new ByteArrayInputStream(bytes.toByteArray()));
          return (T) in.readObject();
        } catch (IOException | ClassNotFoundException e) {
          throw new AssertionError(e);
        }
      }
    
      @Override
      public SampleElements<E> samples() {
        return delegate.samples();
      }
    
      @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Jun 11 16:13:05 GMT 2024
    - 2.4K bytes
    - Click Count (0)
Back to Top