Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 32 for recast (0.23 sec)

  1. android/guava-tests/test/com/google/common/cache/CacheBuilderTest.java

        assertThat(map.segments).hasLength(1);
      }
    
      public void testConcurrencyLevel_large() {
        CacheBuilder.newBuilder().concurrencyLevel(Integer.MAX_VALUE);
        // don't actually build this beast
      }
    
      public void testMaximumSize_negative() {
        CacheBuilder<Object, Object> builder = CacheBuilder.newBuilder();
        try {
          builder.maximumSize(-1);
          fail();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Oct 03 20:10:02 GMT 2023
    - 23.2K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/net/MediaType.java

       * regular output/input of Photoshop (which can also export to various image formats; note that
       * files with extension "PSB" are in a distinct but related format).
       *
       * <p>This is a more recent replacement for the older, experimental type {@code x-photoshop}: <a
       * href="http://tools.ietf.org/html/rfc2046#section-6">RFC-2046.6</a>.
       *
       * @since 15.0
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Aug 07 16:17:10 GMT 2023
    - 46.2K bytes
    - Viewed (0)
  3. CONTRIBUTING.md

         file).
      3. Files should be formatted according to Google's [Java style guide][].
      4. Please squash all commits for a change into a single commit (this can be
         done using `git rebase -i`). Do your best to have a
         [well-formed commit message][] for the change.
    
    [Java style guide]: https://google.github.io/styleguide/javaguide.html
    Plain Text
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Nov 17 18:47:47 GMT 2023
    - 3.7K bytes
    - Viewed (0)
  4. guava/src/com/google/common/base/Throwables.java

       * @throws ClassCastException if the cause cannot be cast to the expected type. The {@code
       *     ClassCastException}'s cause is {@code throwable}.
       * @since 22.0
       */
      @GwtIncompatible // Class.cast(Object)
      @CheckForNull
      public static <X extends Throwable> X getCauseAs(
          Throwable throwable, Class<X> expectedCauseType) {
        try {
          return expectedCauseType.cast(throwable.getCause());
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Mar 06 15:38:58 GMT 2024
    - 20.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/base/Throwables.java

       * @throws ClassCastException if the cause cannot be cast to the expected type. The {@code
       *     ClassCastException}'s cause is {@code throwable}.
       * @since 22.0
       */
      @GwtIncompatible // Class.cast(Object)
      @CheckForNull
      public static <X extends Throwable> X getCauseAs(
          Throwable throwable, Class<X> expectedCauseType) {
        try {
          return expectedCauseType.cast(throwable.getCause());
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Mar 06 15:38:58 GMT 2024
    - 20.6K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/HashBiMap.java

      @J2ktIncompatible
      private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException {
        stream.defaultReadObject();
        int size = Serialization.readCount(stream);
        init(16); // resist hostile attempts to allocate gratuitous heap
        Serialization.populateMap(this, stream, size);
      }
    
      @GwtIncompatible // Not needed in emulated source
      @J2ktIncompatible
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Oct 13 14:11:58 GMT 2023
    - 24.5K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java

        segment.setWeakValueReferenceForTesting(dummyEntry, dummyValueRef);
        segment.setTableEntryForTesting(index, dummyEntry);
        // returns the most recent entry
        assertSame(dummyValue, segment.get(key, hash));
        assertTrue(segment.containsKey(key, hash));
        assertTrue(segment.containsValue(value));
        assertTrue(segment.containsValue(dummyValue));
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 35.1K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java

        segment.setWeakValueReferenceForTesting(dummyEntry, dummyValueRef);
        segment.setTableEntryForTesting(index, dummyEntry);
        // returns the most recent entry
        assertSame(dummyValue, segment.get(key, hash));
        assertTrue(segment.containsKey(key, hash));
        assertTrue(segment.containsValue(value));
        assertTrue(segment.containsValue(dummyValue));
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 35.1K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/HashBiMap.java

      @J2ktIncompatible
      private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException {
        stream.defaultReadObject();
        int size = Serialization.readCount(stream);
        init(16); // resist hostile attempts to allocate gratuitous heap
        Serialization.populateMap(this, stream, size);
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 06 16:06:58 GMT 2023
    - 36.4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/base/Preconditions.java

        if (reference == null) {
          throw new NullPointerException(lenientFormat(errorMessageTemplate, p1, p2, p3, p4));
        }
        return reference;
      }
    
      /*
       * All recent hotspots (as of 2009) *really* like to have the natural code
       *
       * if (guardExpression) {
       *    throw new BadException(messageExpression);
       * }
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Apr 11 11:52:14 GMT 2024
    - 52.9K bytes
    - Viewed (0)
Back to top