Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 416 for checker (0.03 sec)

  1. android/guava-tests/test/com/google/common/graph/EndpointPairTest.java

      @Test
      public void testUnorderedEndpointPair() {
        EndpointPair<String> unordered = EndpointPair.unordered("chicken", "egg");
        assertThat(unordered.isOrdered()).isFalse();
        assertThat(unordered).containsExactly("chicken", "egg");
        assertThat(ImmutableSet.of(unordered.nodeU(), unordered.nodeV()))
            .containsExactly("chicken", "egg");
        assertThat(unordered.adjacentNode(unordered.nodeU())).isEqualTo(unordered.nodeV());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/UncaughtExceptionHandlers.java

                .log(
                    SEVERE,
                    String.format(Locale.ROOT, "Caught an exception in %s.  Shutting down.", t),
                    e);
          } catch (Throwable errorInLogging) { // sneaky checked exception
            // If logging fails, e.g. due to missing memory, at least try to log the
            // message and the cause for the failed logging.
            System.err.println(e.getMessage());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Feb 10 21:03:40 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/hash/SneakyThrows.java

       * fact the static type of {@link Throwable} is occasionally justified even for a method with no
       * {@code throws} clause: Some such methods can in fact throw a checked exception (e.g., by
       * calling code written in Kotlin).) Typically, we want to let a {@link Throwable} from such a
       * method propagate untouched, just as we'd typically let it do for a non-reflective call.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Dec 30 18:44:22 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  4. guava/src/com/google/common/base/SneakyThrows.java

       * fact the static type of {@link Throwable} is occasionally justified even for a method with no
       * {@code throws} clause: Some such methods can in fact throw a checked exception (e.g., by
       * calling code written in Kotlin).) Typically, we want to let a {@link Throwable} from such a
       * method propagate untouched, just as we'd typically let it do for a non-reflective call.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Feb 03 21:52:39 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/job/AggregateLogJobTest.java

        public void test_execute_withCheckedExceptionWrapped() {
            // Setup mock SearchLogHelper that throws wrapped checked exception
            SearchLogHelper mockSearchLogHelper = new SearchLogHelper() {
                @Override
                public void storeSearchLog() {
                    try {
                        throw new Exception("Checked exception");
                    } catch (Exception e) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/AbstractSortedMultiset.java

          @ParametricNullness E fromElement,
          BoundType fromBoundType,
          @ParametricNullness E toElement,
          BoundType toBoundType) {
        // These are checked elsewhere, but NullPointerTester wants them checked eagerly.
        checkNotNull(fromBoundType);
        checkNotNull(toBoundType);
        return tailMultiset(fromElement, fromBoundType).headMultiset(toElement, toBoundType);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java

          }
        }
        return true;
      }
    
      /**
       * Checks all the properties that should always hold of a map. Also calls {@link
       * #assertMoreInvariants} to check invariants that are peculiar to specific implementations.
       *
       * @see #assertMoreInvariants
       * @param map the map to check.
       */
      protected final void assertInvariants(Map<K, V> map) {
        Set<K> keySet = map.keySet();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 43.9K bytes
    - Viewed (0)
  8. guava-testlib/test/com/google/common/testing/anotherpackage/ForwardingWrapperTesterTest.java

          this.adder = adder;
        }
    
        @Override
        @SuppressWarnings("CatchingUnchecked") // sneaky checked exception
        public int add(int a, int b) {
          try {
            return adder.add(a, b);
          } catch (Exception e) { // sneaky checked exception
            // swallow!
            return 0;
          }
        }
    
        @Override
        public String toString() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 15.7K bytes
    - Viewed (0)
  9. .github/workflows/build.yml

              native-image-job-reports: true
    
          - name: Setup Gradle
            uses: gradle/actions/setup-gradle@v4
    
          - name: Run Checks
            run: ./gradlew check -PgraalBuild=true -x jvmTest -x test
    
      testopenjdk11:
        permissions:
          checks: write # for mikepenz/action-junit-report
        runs-on: ubuntu-latest
    
        steps:
          - name: Checkout
            uses: actions/checkout@v5
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Aug 21 07:15:58 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/SequentialExecutor.java

          synchronized (queue) {
            boolean removed =
                (workerRunningState == IDLE || workerRunningState == QUEUING)
                    && queue.removeLastOccurrence(submittedTask);
            // If the delegate is directExecutor(), the submitted runnable could have thrown a REE. But
            // that's handled by the log check that catches RuntimeExceptions in the queue worker.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 10.6K bytes
    - Viewed (0)
Back to top