Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 158 for Bass (0.15 sec)

  1. android/guava/src/com/google/common/collect/GeneralRange.java

        // Trigger any exception that the comparator would throw for the endpoints.
        /*
         * uncheckedCastNullableTToT is safe as long as the callers are careful to pass a "real" T
         * whenever they pass `true` for the matching `has*Bound` parameter.
         */
        if (hasLowerBound) {
          int unused =
              comparator.compare(
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 10.8K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/escape/ArrayBasedEscaperMapTest.java

      public void testNullMap() {
        try {
          ArrayBasedEscaperMap.create(null);
          fail("expected exception did not occur");
        } catch (NullPointerException e) {
          // pass
        }
      }
    
      public void testEmptyMap() {
        Map<Character, String> map = ImmutableMap.of();
        ArrayBasedEscaperMap fem = ArrayBasedEscaperMap.create(map);
        // Non-null array of zero length.
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 2.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/ForwardingFuture.java

        return delegate().get(timeout, unit);
      }
    
      // TODO(cpovirk): Use standard Javadoc form for SimpleForwarding* class and constructor
      /**
       * A simplified version of {@link ForwardingFuture} where subclasses can pass in an already
       * constructed {@link Future} as the delegate.
       *
       * @since 9.0
       */
      public abstract static class SimpleForwardingFuture<V extends @Nullable Object>
          extends ForwardingFuture<V> {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Mar 04 12:28:17 GMT 2022
    - 3K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/escape/testing/EscaperAsserts.java

        // Assert that escapers throw null pointer exceptions.
        try {
          escaper.escape((String) null);
          Assert.fail("exception not thrown when escaping a null string");
        } catch (NullPointerException e) {
          // pass
        }
      }
    
      /**
       * Asserts that an escaper escapes the given character into the expected string.
       *
       * @param escaper the non-null escaper to test
       * @param expected the expected output string
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 18 20:55:09 GMT 2022
    - 3.8K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/InterruptibleTaskTest.java

       * interrupting thread to complete the protocol.
       */
      /*
       * This test hangs (or maybe is just *very* slow) under Android.
       *
       * TODO(b/218700094): Ideally, get this to pass under Android. Failing that, convince ourselves
       * that the test isn't exposing a real problem with InterruptibleTask, one that could matter in
       * prod.
       */
      @AndroidIncompatible
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 6.6K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/testing/EqualsTester.java

          }
        }
      }
    
      /**
       * Class used to test whether equals() correctly handles an instance of an incompatible class.
       * Since it is a private inner class, the invoker can never pass in an instance to the tester
       */
      private enum NotAnInstance {
        EQUAL_TO_NOTHING;
      }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Oct 31 19:11:50 GMT 2023
    - 6K bytes
    - Viewed (0)
  7. android/pom.xml

                         (which is good: our tests have intentional violations), but
                         Error Prone doesn't know it's building test code unless we
                         pass -XepCompilingTestOnlyCode, and that argument needs to
                         be passed as part of the same <arg> as -Xplugin:ErrorProne,
                         and I gave up trying to figure out how to do that for test
    XML
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Mar 12 20:26:18 GMT 2024
    - 19.4K bytes
    - Viewed (0)
  8. guava-testlib/test/com/google/common/testing/EqualsTesterTest.java

          fail("expected <" + e.getMessage() + "> to contain <" + message + ">");
        }
      }
    
      /**
       * Test class with valid equals and hashCode methods. Testers created with instances of this class
       * should always pass.
       */
      private static class ValidTestObject {
        private int aspect1;
        private int aspect2;
    
        ValidTestObject(int aspect1, int aspect2) {
          this.aspect1 = aspect1;
          this.aspect2 = aspect2;
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Apr 17 15:49:06 GMT 2023
    - 12.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/TreeBasedTable.java

       */
      @Deprecated
      public Comparator<? super R> rowComparator() {
        /*
         * requireNonNull is safe because the factories require non-null Comparators, which they pass on
         * to the backing collections.
         */
        return requireNonNull(rowKeySet().comparator());
      }
    
      /**
       * Returns the comparator that orders the columns. With natural ordering, {@link
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 11.4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/io/CharStreams.java

          Java8Compatibility.flip(buf);
          to.append(buf);
          total += buf.remaining();
          Java8Compatibility.clear(buf);
        }
        return total;
      }
    
      // TODO(lukes): consider allowing callers to pass in a buffer to use, some callers would be able
      // to reuse buffers, others would be able to size them more appropriately than the constant
      // defaults
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 17 14:35:11 GMT 2023
    - 10.9K bytes
    - Viewed (0)
Back to top