Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 282 for Target (0.21 sec)

  1. android/guava/src/com/google/common/primitives/Ints.java

       * i, i + target.length)} contains exactly the same elements as {@code target}.
       *
       * @param array the array to search for the sequence {@code target}
       * @param target the array to search for as a sub-sequence of {@code array}
       */
      public static int indexOf(int[] array, int[] target) {
        checkNotNull(array, "array");
        checkNotNull(target, "target");
        if (target.length == 0) {
    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)
  2. android/guava/src/com/google/common/primitives/Chars.java

       * i, i + target.length)} contains exactly the same elements as {@code target}.
       *
       * @param array the array to search for the sequence {@code target}
       * @param target the array to search for as a sub-sequence of {@code array}
       */
      public static int indexOf(char[] array, char[] target) {
        checkNotNull(array, "array");
        checkNotNull(target, "target");
        if (target.length == 0) {
    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)
  3. android/guava/src/com/google/common/primitives/Doubles.java

       * <p>Note that this always returns {@code -1} when {@code target} contains {@code NaN}.
       *
       * @param array the array to search for the sequence {@code target}
       * @param target the array to search for as a sub-sequence of {@code array}
       */
      public static int indexOf(double[] array, double[] target) {
        checkNotNull(array, "array");
        checkNotNull(target, "target");
        if (target.length == 0) {
          return 0;
        }
    
    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)
  4. guava-tests/test/com/google/common/util/concurrent/SimpleTimeLimiterTest.java

        // Is it still computing away anyway?
        assertThat(target.finished).isFalse();
        MILLISECONDS.sleep(ENOUGH_MS);
        assertThat(target.finished).isFalse();
      }
    
      public void testNewProxy_badMethodWithEnoughTime() throws Exception {
        SampleImpl target = new SampleImpl(DELAY_MS);
        Sample proxy = service.newProxy(target, Sample.class, ENOUGH_MS, MILLISECONDS);
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 9.5K bytes
    - Viewed (0)
  5. android/guava-tests/benchmark/com/google/common/io/BaseEncodingBenchmark.java

        int tmp = 0;
        for (int i = 0; i < reps; i++) {
          StringWriter target = new StringWriter(2 * n);
          OutputStream encodingStream = encoding.encoding.encodingStream(target);
          encodingStream.write(encodingInputs[i & INPUTS_MASK]);
          encodingStream.close();
          tmp += target.getBuffer().length();
        }
        return tmp;
      }
    
      @Benchmark
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 3.2K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/ObjectArraysTest.java

        Object[] target = ObjectArrays.toArrayImpl(list, array2);
    
        assertEquals(reference.getClass(), target.getClass());
        assertTrue(Arrays.equals(reference, target));
        assertTrue(Arrays.equals(reference, target));
    
        Object[] expectedArray1 = expectModify ? reference : starting;
        Object[] expectedArray2 = expectModify ? target : starting;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 8.8K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/io/CharStreams.java

       * Returns a Writer that sends all output to the given {@link Appendable} target. Closing the
       * writer will close the target if it is {@link Closeable}, and flushing the writer will flush the
       * target if it is {@link java.io.Flushable}.
       *
       * @param target the object to which output will be sent
       * @return a new Writer object, unless target is a Writer, in which case the target is returned
       */
    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)
  8. guava-tests/test/com/google/common/eventbus/DispatcherTest.java

                i2, s1, s2, i3, s1, s2)
            .inOrder();
      }
    
      private static Subscriber subscriber(
          EventBus bus, Object target, String methodName, Class<?> eventType) {
        try {
          return Subscriber.create(bus, target, target.getClass().getMethod(methodName, eventType));
        } catch (NoSuchMethodException e) {
          throw new AssertionError(e);
        }
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 27 15:41:25 GMT 2022
    - 5.6K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/IgnoreJRERequirement.java

    import static java.lang.annotation.ElementType.TYPE;
    
    import java.lang.annotation.Target;
    
    /**
     * Disables Animal Sniffer's checking of compatibility with older versions of Java/Android.
     *
     * <p>Each package's copy of this annotation needs to be listed in our {@code pom.xml}.
     */
    @Target({METHOD, CONSTRUCTOR, TYPE})
    @ElementTypesAreNonnullByDefault
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Jun 26 17:03:50 GMT 2023
    - 1.1K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/testing/IgnoreJRERequirement.java

    import static java.lang.annotation.ElementType.TYPE;
    
    import java.lang.annotation.Target;
    
    /**
     * Disables Animal Sniffer's checking of compatibility with older versions of Java/Android.
     *
     * <p>Each package's copy of this annotation needs to be listed in our {@code pom.xml}.
     */
    @Target({METHOD, CONSTRUCTOR, TYPE})
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Apr 06 02:06:03 GMT 2023
    - 1.1K bytes
    - Viewed (0)
Back to top