Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 46 for reload (0.15 sec)

  1. 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)
  2. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

         * look at table entries if it is 0.
         *
         * - All (synchronized) write operations should write to the "count" field after structurally
         * changing any bin. The operations must not take any action that could even momentarily
         * cause a concurrent read operation to see inconsistent data. This is made easier by the
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 91.9K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

        bulkFuture.addListener(
            new Runnable() {
              @Override
              public void run() {
                /*
                 * firstFuture just completed, but AggregateFuture hasn't yet had time to record the
                 * exception in seenExceptions. When we complete secondFuture with the same exception,
                 * we want for AggregateFuture to still detect that it's been previously seen.
                 */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
  4. guava/src/com/google/common/cache/AbstractCache.java

         * {@code recordLoadException} and multiple calls to this method, despite all being served by
         * the results of a single load operation.
         *
         * @param count the number of misses to record
         * @since 11.0
         */
        void recordMisses(int count);
    
        /**
         * Records the successful load of a new entry. This should be called when a cache request causes
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Jun 15 18:00:07 GMT 2021
    - 9.1K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/testing/TestLogHandler.java

      /** We will keep a private list of all logged records */
      private final List<LogRecord> list = new ArrayList<>();
    
      /** Adds the most recently logged record to our list. */
      @Override
      public synchronized void publish(@Nullable LogRecord record) {
        if (record != null) {
          list.add(record);
        }
      }
    
      @Override
      public void flush() {}
    
      @Override
      public void close() {}
    
      public synchronized void clear() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 26 20:07:17 GMT 2023
    - 2.6K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/testing/TestLogHandler.java

      /** We will keep a private list of all logged records */
      private final List<LogRecord> list = new ArrayList<>();
    
      /** Adds the most recently logged record to our list. */
      @Override
      public synchronized void publish(@Nullable LogRecord record) {
        if (record != null) {
          list.add(record);
        }
      }
    
      @Override
      public void flush() {}
    
      @Override
      public void close() {}
    
      public synchronized void clear() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 26 20:07:17 GMT 2023
    - 2.6K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/util/concurrent/ServiceManagerTest.java

        Formatter logFormatter =
            new Formatter() {
              @Override
              public String format(LogRecord record) {
                return formatMessage(record);
              }
            };
        for (LogRecord record : logHandler.getStoredLogRecords()) {
          assertThat(logFormatter.format(record)).doesNotContain("NoOpService");
        }
      }
    
      /**
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Oct 02 17:20:27 GMT 2023
    - 23.9K bytes
    - Viewed (0)
  8. guava/src/com/google/common/base/Ascii.java

       * RS, and US is least inclusive. (The content and length of a File, Group, Record, or Unit are
       * not specified.)
       *
       * @since 8.0
       */
      public static final byte GS = 29;
    
      /**
       * Record Separator: These four information separators may be used within data in optional
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Jul 19 15:43:07 GMT 2021
    - 21.6K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/eventbus/SubscriberTest.java

      /**
       * Records the provided object in {@link #methodArgument} and sets {@link #methodCalled}. This
       * method is called reflectively by Subscriber during tests, and must remain public.
       *
       * @param arg argument to record.
       */
      @Subscribe
      public void recordingMethod(Object arg) {
        assertFalse(methodCalled);
        methodCalled = true;
        methodArgument = arg;
      }
    
      @Subscribe
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/ServiceManager.java

              startupTimers.put(service, stopwatch);
            }
            if (to.compareTo(RUNNING) >= 0 && stopwatch.isRunning()) {
              // N.B. if we miss the STARTING event then we may never record a startup time.
              stopwatch.stop();
              if (!(service instanceof NoOpService)) {
                logger.get().log(Level.FINE, "Started {0} in {1}.", new Object[] {service, stopwatch});
              }
            }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Dec 13 19:45:20 GMT 2023
    - 30.5K bytes
    - Viewed (0)
Back to top