Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 106 for mesiace (0.13 sec)

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

         * message}.
         */
        @Override
        public String getMessage() {
          // requireNonNull is safe because ExampleStackTrace sets a non-null message.
          StringBuilder message = new StringBuilder(requireNonNull(super.getMessage()));
          for (Throwable t = conflictingStackTrace; t != null; t = t.getCause()) {
            message.append(", ").append(t.getMessage());
          }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 35.9K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/eventbus/EventBusTest.java

            new RuntimeException("but culottes have a tendancy to ride up!");
        final Object subscriber =
            new Object() {
              @Subscribe
              public void throwExceptionOn(String message) {
                throw exception;
              }
            };
        eventBus.register(subscriber);
        eventBus.post(EVENT);
    
        assertEquals("Cause should be available.", exception, handler.exception);
    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)
  3. android/guava-tests/test/com/google/common/eventbus/EventBusTest.java

            new RuntimeException("but culottes have a tendancy to ride up!");
        final Object subscriber =
            new Object() {
              @Subscribe
              public void throwExceptionOn(String message) {
                throw exception;
              }
            };
        eventBus.register(subscriber);
        eventBus.post(EVENT);
    
        assertEquals("Cause should be available.", exception, handler.exception);
    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)
  4. android/guava-testlib/test/com/google/common/testing/anotherpackage/ForwardingWrapperTesterTest.java

          String... expectedMessages) {
        try {
          tester.testForwarding(interfaceType, wrapperFunction);
        } catch (AssertionFailedError expected) {
          for (String message : expectedMessages) {
            assertThat(expected.getMessage()).contains(message);
          }
          return;
        }
        fail("expected failure not reported");
      }
    
      private class ForwardingRunnable implements Runnable {
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 15.7K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/cache/CacheLoader.java

       *
       * @since 11.0
       */
      public static final class InvalidCacheLoadException extends RuntimeException {
        public InvalidCacheLoadException(String message) {
          super(message);
        }
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 19 20:20:14 GMT 2022
    - 9.6K bytes
    - Viewed (0)
  6. guava-tests/benchmark/com/google/common/hash/MessageDigestAlgorithmBenchmark.java

     */
    public class MessageDigestAlgorithmBenchmark {
      @Param({"10", "1000", "100000", "1000000"})
      int size;
    
      @Param Algorithm algorithm;
      @Param HashMethod hashMethod;
    
      private enum HashMethod {
        MESSAGE_DIGEST_API() {
          @Override
          public byte[] hash(Algorithm algorithm, byte[] input) {
            MessageDigest md = algorithm.getMessageDigest();
            md.update(input);
            return md.digest();
          }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 3.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/hash/MessageDigestHashFunction.java

      }
    
      private void readObject(ObjectInputStream stream) throws InvalidObjectException {
        throw new InvalidObjectException("Use SerializedForm");
      }
    
      /** Hasher that updates a message digest. */
      private static final class MessageDigestHasher extends AbstractByteHasher {
        private final MessageDigest digest;
        private final int bytes;
        private boolean done;
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 25 20:32:46 GMT 2022
    - 5K bytes
    - Viewed (0)
  8. guava-tests/benchmark/com/google/common/hash/HashCodeBenchmark.java

              return false;
            }
            int result = 0;
            for (int i = 0; i < a.length; i++) {
              result |= a[i] ^ b[i];
            }
            return (result == 0);
          }
        },
        MESSAGE_DIGEST_IS_EQUAL {
          @Override
          boolean doEquals(byte[] a, byte[] b) {
            return MessageDigest.isEqual(a, b);
          }
        },
        ARRAYS_EQUALS {
          @Override
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 3.9K bytes
    - Viewed (0)
  9. android/guava-tests/benchmark/com/google/common/hash/HashCodeBenchmark.java

              return false;
            }
            int result = 0;
            for (int i = 0; i < a.length; i++) {
              result |= a[i] ^ b[i];
            }
            return (result == 0);
          }
        },
        MESSAGE_DIGEST_IS_EQUAL {
          @Override
          boolean doEquals(byte[] a, byte[] b) {
            return MessageDigest.isEqual(a, b);
          }
        },
        ARRAYS_EQUALS {
          @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 3.9K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

        } catch (AssertionFailedError t) {
          threadRecordFailure(t);
          throw t;
        }
      }
    
      /** Calls threadFail with message "should throw exception". */
      public void threadShouldThrow() {
        threadFail("should throw exception");
      }
    
      /** Calls threadFail with message "should throw" + exceptionName. */
      public void threadShouldThrow(String exceptionName) {
        threadFail("should throw " + exceptionName);
      }
    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)
Back to top