Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 492 for Stuart (0.14 sec)

  1. android/guava-tests/test/com/google/common/net/UrlEscapersTest.java

        assertSame(e, urlFormParameterEscaper());
        assertBasicUrlEscaper(e);
    
        /*
         * Specified as safe by RFC 2396 but not by java.net.URLEncoder. These tests will start failing
         * when the escaper is made compliant with RFC 2396, but that's a good thing (just change them
         * to assertUnescaped).
         */
        assertEscaping(e, "%21", '!');
        assertEscaping(e, "%28", '(');
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue May 15 20:25:06 GMT 2018
    - 4.9K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/base/PreconditionsTest.java

        try {
          Preconditions.checkPositionIndexes(-1, 1, 1);
          fail();
        } catch (IndexOutOfBoundsException expected) {
          assertThat(expected).hasMessageThat().isEqualTo("start index (-1) must not be negative");
        }
      }
    
      public void testCheckPositionIndexes_endTooHigh() {
        try {
          Preconditions.checkPositionIndexes(0, 2, 1);
          fail();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 19.8K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/AbstractIteratorTest.java

        }
      }
    
      // Technically we should test other reentrant scenarios (9 combinations of
      // hasNext/next/peek), but we'll cop out for now, knowing that peek() and
      // next() both start by invoking hasNext() anyway.
    
      /** Throws an undeclared checked exception. */
      private static void sneakyThrow(Throwable t) {
        class SneakyThrower<T extends Throwable> {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 10:16:44 GMT 2024
    - 8.7K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/io/ReaderInputStream.java

      private static int availableCapacity(Buffer buffer) {
        return buffer.capacity() - buffer.limit();
      }
    
      /**
       * Flips the buffer output buffer so we can start reading bytes from it. If we are starting to
       * drain because there was overflow, and there aren't actually any characters to drain, then the
       * overflow must be due to a small output buffer.
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 28 20:13:02 GMT 2023
    - 9.3K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/util/concurrent/TestThread.java

      private @Nullable Throwable uncaughtThrowable = null;
    
      public TestThread(L lockLikeObject, String threadName) {
        super(threadName);
        this.lockLikeObject = checkNotNull(lockLikeObject);
        start();
      }
    
      // Thread.stop() is okay because all threads started by a test are dying at the end of the test,
      // so there is no object state put at risk by stopping the threads abruptly. In some cases a test
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Apr 26 20:07:17 GMT 2023
    - 10.9K bytes
    - Viewed (0)
  6. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelInterpolator.java

            private final Object root;
    
            /**
             * Construct a new value source, using the supplied object as the root from
             * which to start, and using expressions split at the dot ('.') to navigate
             * the object graph beneath this root.
             * @param root the root of the graph.
             */
            public ObjectBasedValueSource(Object root) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 20K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/primitives/UnsignedInts.java

       * separator}. For example, {@code join("-", 1, 2, 3)} returns the string {@code "1-2-3"}.
       *
       * @param separator the text that should appear between consecutive values in the resulting string
       *     (but not at the start or end)
       * @param array an array of unsigned {@code int} values, possibly empty
       */
      public static String join(String separator, int... array) {
        checkNotNull(separator);
        if (array.length == 0) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 13.4K bytes
    - Viewed (0)
  8. maven-artifact/src/test/java/org/apache/maven/artifact/versioning/ComparableVersionTest.java

                "0"
            };
    
            checkVersionsArrayEqual(arr);
        }
    
        /**
         * Test <a href="https://issues.apache.org/jira/browse/MNG-6964">MNG-6964</a> edge cases
         * for qualifiers that start with "-0.", which was showing A == C and B == C but A &lt; B.
         */
        @Test
        void testMng6964() {
            String a = "1-0.alpha";
            String b = "1-0.beta";
            String c = "1";
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Jan 09 06:39:47 GMT 2024
    - 14K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/TreeMultimapNaturalTest.java

                          @Override
                          public int compare(Entry<String, String> left, Entry<String, String> right) {
                            return ComparisonChain.start()
                                .compare(left.getKey(), right.getKey(), Ordering.natural().nullsFirst())
                                .compare(
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 22.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/primitives/UnsignedBytes.java

       * "1:2:255"}.
       *
       * @param separator the text that should appear between consecutive values in the resulting string
       *     (but not at the start or end)
       * @param array an array of {@code byte} values, possibly empty
       */
      public static String join(String separator, byte... array) {
        checkNotNull(separator);
        if (array.length == 0) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 18.3K bytes
    - Viewed (0)
Back to top