Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 94 for positional (0.17 sec)

  1. guava-testlib/src/com/google/common/testing/NullPointerTester.java

          testConstructorParameter(ctor, nullIndex);
        }
      }
    
      /**
       * Verifies that {@code method} produces a {@link NullPointerException} or {@link
       * UnsupportedOperationException} when the parameter in position {@code paramIndex} is null. If
       * this parameter is marked nullable, this method does nothing.
       *
       * @param instance the instance to invoke {@code method} on, or null if {@code method} is static
       */
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Nov 16 15:12:31 GMT 2023
    - 23.3K bytes
    - Viewed (0)
  2. android/guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java

        return (++i == items.length) ? 0 : i;
      }
    
      /**
       * Inserts element at current put position, advances, and signals. Call only when occupying
       * monitor.
       */
      private void insert(E x) {
        items[putIndex] = x;
        putIndex = inc(putIndex);
        ++count;
      }
    
      /**
       * Extracts element at current take position, advances, and signals. Call only when occupying
       * monitor.
       */
      private E extract() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 22.5K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/testers/ListSetTester.java

        doTestSet(e3());
      }
    
      private void doTestSet(E newValue) {
        int index = aValidIndex();
        E initialValue = getList().get(index);
        assertEquals(
            "set(i, x) should return the old element at position i.",
            initialValue,
            getList().set(index, newValue));
        assertEquals("After set(i, x), get(i) should return x", newValue, getList().get(index));
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 5.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/base/Verify.java

       * @param errorMessageTemplate a template for the exception message should the check fail. The
       *     message is formed by replacing each {@code %s} placeholder in the template with an
       *     argument. These are matched by position - the first {@code %s} gets {@code
       *     errorMessageArgs[0]}, etc. Unmatched arguments will be appended to the formatted message in
       *     square braces. Unmatched placeholders will be left as-is.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon May 17 14:07:47 GMT 2021
    - 18.5K bytes
    - Viewed (0)
  5. guava/src/com/google/common/base/Utf8.java

          if (byte1 < (byte) 0xE0) {
            // Two-byte form.
            if (index == end) {
              return false;
            }
            // Simultaneously check for illegal trailing-byte in leading position
            // and overlong 2-byte form.
            if (byte1 < (byte) 0xC2 || bytes[index++] > (byte) 0xBF) {
              return false;
            }
          } else if (byte1 < (byte) 0xF0) {
            // Three-byte form.
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 10 14:11:51 GMT 2023
    - 7K bytes
    - Viewed (0)
  6. guava/src/com/google/common/base/CharMatcher.java

        return indexIn(sequence, 0);
      }
    
      /**
       * Returns the index of the first matching BMP character in a character sequence, starting from a
       * given position, or {@code -1} if no character matches after that position.
       *
       * <p>The default implementation iterates over the sequence in forward order, beginning at {@code
       * start}, calling {@link #matches} for each character.
       *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 53.8K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/primitives/Chars.java

        for (int i = start; i < end; i++) {
          if (array[i] == target) {
            return i;
          }
        }
        return -1;
      }
    
      /**
       * Returns the start position of the first occurrence of the specified {@code target} within
       * {@code array}, or {@code -1} if there is no such occurrence.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 23.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/primitives/Doubles.java

        for (int i = start; i < end; i++) {
          if (array[i] == target) {
            return i;
          }
        }
        return -1;
      }
    
      /**
       * Returns the start position of the first occurrence of the specified {@code target} within
       * {@code array}, or {@code -1} if there is no such occurrence.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 29 15:43:06 GMT 2024
    - 27.1K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/Futures.java

       * successful input futures. The list of results is in the same order as the input list, and if
       * any of the provided futures fails or is canceled, its corresponding position will contain
       * {@code null} (which is indistinguishable from the future having a successful value of {@code
       * null}).
       *
       * <p>The list of results is in the same order as the input list.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 59.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/primitives/Ints.java

        for (int i = start; i < end; i++) {
          if (array[i] == target) {
            return i;
          }
        }
        return -1;
      }
    
      /**
       * Returns the start position of the first occurrence of the specified {@code target} within
       * {@code array}, or {@code -1} if there is no such occurrence.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 29.7K bytes
    - Viewed (0)
Back to top