Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 58 for records (0.18 sec)

  1. guava-tests/test/com/google/common/eventbus/EventBusTest.java

        class SubscribesToPrimitive {
          @Subscribe
          public void toInt(int i) {}
        }
        assertThrows(IllegalArgumentException.class, () -> bus.register(new SubscribesToPrimitive()));
      }
    
      /** Records thrown exception information. */
      private static final class RecordingSubscriberExceptionHandler
          implements SubscriberExceptionHandler {
    
        public SubscriberExceptionContext context;
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Feb 21 18:32:41 GMT 2024
    - 11.3K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/eventbus/EventBusTest.java

        class SubscribesToPrimitive {
          @Subscribe
          public void toInt(int i) {}
        }
        assertThrows(IllegalArgumentException.class, () -> bus.register(new SubscribesToPrimitive()));
      }
    
      /** Records thrown exception information. */
      private static final class RecordingSubscriberExceptionHandler
          implements SubscriberExceptionHandler {
    
        public SubscriberExceptionContext context;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 18:32:41 GMT 2024
    - 11.3K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

      private final AtomicReference<Throwable> threadFailure = new AtomicReference<>(null);
    
      /**
       * Records an exception so that it can be rethrown later in the test harness thread, triggering a
       * test case failure. Only the first failure is recorded; subsequent calls to this method from
       * within the same test have no effect.
       */
      public void threadRecordFailure(Throwable t) {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 37.7K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/io/CloserTest.java

          assertEquals(2, logHandler.getStoredLogRecords().size());
    
          LogRecord record = logHandler.getStoredLogRecords().get(0);
          assertEquals("Suppressing exception thrown when closing " + c2, record.getMessage());
    
          record = logHandler.getStoredLogRecords().get(1);
          assertEquals("Suppressing exception thrown when closing " + c1, record.getMessage());
        } finally {
          Closeables.logger.removeHandler(logHandler);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Mar 06 15:15:46 GMT 2024
    - 13.6K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

      private final AtomicReference<Throwable> threadFailure = new AtomicReference<>(null);
    
      /**
       * Records an exception so that it can be rethrown later in the test harness thread, triggering a
       * test case failure. Only the first failure is recorded; subsequent calls to this method from
       * within the same test have no effect.
       */
      public void threadRecordFailure(Throwable t) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 37.2K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/Monitor.java

        }
      }
    
      /** Records that the current thread is about to wait on the specified guard. */
      @GuardedBy("lock")
      private void beginWaitingFor(Guard guard) {
        int waiters = guard.waiterCount++;
        if (waiters == 0) {
          // push guard onto activeGuards
          guard.next = activeGuards;
          activeGuards = guard;
        }
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Dec 04 18:22:01 GMT 2023
    - 38.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/RegularImmutableMap.java

        // entries in alternatingKeysAndValues that are still valid after rewriting to remove
        // duplicates; [2] a Builder.DuplicateKey that records the first duplicate key we encountered
        // for possible later use in exceptions, perhaps straight away.
        Object hashTablePlus = createHashTable(alternatingKeysAndValues, n, tableSize, 0);
        Object hashTable;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 15 22:32:14 GMT 2024
    - 22.7K bytes
    - Viewed (0)
  8. guava/src/com/google/common/cache/LocalCache.java

                }
              },
              directExecutor());
          return loadingFuture;
        }
    
        /** Waits uninterruptibly for {@code newValue} to be loaded, and then records loading stats. */
        @CanIgnoreReturnValue
        V getAndRecordStats(
            K key,
            int hash,
            LoadingValueReference<K, V> loadingValueReference,
            ListenableFuture<V> newValue)
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 150.3K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/util/concurrent/AbstractAbstractFutureTest.java

        future.set(1);
        assertEquals(1, future.get(-1, SECONDS).intValue());
      }
    
      @J2ktIncompatible
      @GwtIncompatible // threads
      public void testOverflowTimeout() throws Exception {
        // First, sanity check that naive multiplication would really overflow to a negative number:
        long nanosPerSecond = NANOSECONDS.convert(1, SECONDS);
        assertThat(nanosPerSecond * Long.MAX_VALUE).isLessThan(0L);
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 15.5K bytes
    - Viewed (0)
  10. .github/workflows/ci.yml

            run: ./mvnw -B -P!standard-with-extra-repos verify -U -Dmaven.javadoc.skip=true -f $ROOT_POM
          - name: 'Print Surefire reports'
            # Note: Normally a step won't run if the job has failed, but this causes it to
            if: ${{ failure() }}
            shell: bash
            run: ./util/print_surefire_reports.sh
          - name: 'Integration Test'
            if: matrix.java == 11
            shell: bash
            run: util/gradle_integration_tests.sh
    Others
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 19:33:50 GMT 2024
    - 3.5K bytes
    - Viewed (0)
Back to top