Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 225 for Errorf (0.16 sec)

  1. guava/src/com/google/common/base/Platform.java

      }
    
      private static PatternCompiler loadPatternCompiler() {
        return new JdkPatternCompiler();
      }
    
      private static void logPatternCompilerError(ServiceConfigurationError e) {
        logger.log(Level.WARNING, "Error loading regex compiler, falling back to next option", e);
      }
    
      private static final class JdkPatternCompiler implements PatternCompiler {
        @Override
        public CommonPattern compile(String pattern) {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Jun 26 17:58:45 GMT 2023
    - 3.3K bytes
    - Viewed (0)
  2. guava/src/com/google/common/cache/Striped64.java

        static {
          try {
            UNSAFE = getUnsafe();
            Class<?> ak = Cell.class;
            valueOffset = UNSAFE.objectFieldOffset(ak.getDeclaredField("value"));
          } catch (Exception e) {
            throw new Error(e);
          }
        }
      }
    
      /**
       * ThreadLocal holding a single-slot int array holding hash code. Unlike the JDK8 version of this
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 11.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/ExecutionList.java

        } catch (Exception e) { // sneaky checked exception
          // Log it and keep going -- bad runnable and/or executor. Don't punish the other runnables if
          // we're given a bad one. We only catch Exception because we want Errors to propagate up.
          log.get()
              .log(
                  Level.SEVERE,
                  "RuntimeException while executing runnable "
                      + runnable
                      + " with executor "
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 6.9K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

       */
      public void tearDown() throws Exception {
        Throwable t = threadFailure.getAndSet(null);
        if (t != null) {
          if (t instanceof Error) throw (Error) t;
          else if (t instanceof RuntimeException) throw (RuntimeException) t;
          else if (t instanceof Exception) throw (Exception) t;
          else {
    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)
  5. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

                  }
                }
              });
          try {
            future.get();
          } catch (Throwable t) {
            // Ignore, we just wanted to block.
          }
          String error = errorMessage.get();
          assertNull(error, error);
        }
        executor.shutdown();
      }
    
      /**
       * He did the bash, he did the future bash The future bash, it was a concurrency smash He did the
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 46.8K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/testing/EqualsTester.java

     *   <li>comparing each pair of objects from different equality groups returns false
     *   <li>the hash codes of any two equal objects are equal
     * </ul>
     *
     * <p>When a test fails, the error message labels the objects involved in the failed comparison as
     * follows:
     *
     * <ul>
     *   <li>"{@code [group }<i>i</i>{@code , item }<i>j</i>{@code ]}" refers to the
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Oct 31 19:11:50 GMT 2023
    - 6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/ThreadFactoryBuilder.java

       * @return this for the builder pattern
       */
      @CanIgnoreReturnValue
      public ThreadFactoryBuilder setPriority(int priority) {
        // Thread#setPriority() already checks for validity. These error messages
        // are nicer though and will fail-fast.
        checkArgument(
            priority >= Thread.MIN_PRIORITY,
            "Thread priority (%s) must be >= %s",
            priority,
            Thread.MIN_PRIORITY);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 10 21:56:03 GMT 2023
    - 7.6K bytes
    - Viewed (0)
  8. guava/src/com/google/common/base/Stopwatch.java

     *
     * Duration duration = stopwatch.elapsed();
     *
     * log.info("time: " + stopwatch); // formatted string like "12.3 ms"
     * }</pre>
     *
     * <p>The state-changing methods are not idempotent; it is an error to start or stop a stopwatch
     * that is already in the desired state.
     *
     * <p>When testing code that uses this class, use {@link #createUnstarted(Ticker)} or {@link
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 23 15:09:35 GMT 2023
    - 9.2K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/graph/AbstractStandardUndirectedGraphTest.java

        assume().that(graph.allowsSelfLoops()).isFalse();
    
        IllegalArgumentException e =
            assertThrows(IllegalArgumentException.class, () -> putEdge(N1, N1));
        assertThat(e).hasMessageThat().contains(ERROR_SELF_LOOP);
      }
    
      @Test
      public void putEdge_allowsSelfLoops() {
        assume().that(graphIsMutable()).isTrue();
        assume().that(graph.allowsSelfLoops()).isTrue();
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 12.9K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/graph/AbstractStandardDirectedGraphTest.java

        IllegalArgumentException e =
            assertThrows(IllegalArgumentException.class, () -> graphAsMutableGraph.putEdge(N1, N1));
        assertThat(e).hasMessageThat().contains(ERROR_SELF_LOOP);
      }
    
      @Test
      public void putEdge_allowsSelfLoops() {
        assume().that(graphIsMutable()).isTrue();
        assume().that(graph.allowsSelfLoops()).isTrue();
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 14.1K bytes
    - Viewed (0)
Back to top