Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 115 for isn (0.12 sec)

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

       * is.
       */
      public <T> void testForwarding(
          Class<T> interfaceType, Function<? super T, ? extends T> wrapperFunction) {
        checkNotNull(wrapperFunction);
        checkArgument(interfaceType.isInterface(), "%s isn't an interface", interfaceType);
        Method[] methods = getMostConcreteMethods(interfaceType);
        AccessibleObject.setAccessible(methods, true);
        for (Method method : methods) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 08 17:31:55 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java

       * is.
       */
      public <T> void testForwarding(
          Class<T> interfaceType, Function<? super T, ? extends T> wrapperFunction) {
        checkNotNull(wrapperFunction);
        checkArgument(interfaceType.isInterface(), "%s isn't an interface", interfaceType);
        Method[] methods = getMostConcreteMethods(interfaceType);
        AccessibleObject.setAccessible(methods, true);
        for (Method method : methods) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 08 17:31:55 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/InterruptibleTask.java

             * interrupting thread. In theory, interruptTask() should be very fast, but due to
             * InterruptibleChannel and JavaLangAccess.blockedOn(Thread, Interruptible), it isn't
             * predictable what work might be done. (e.g., close a file and flush buffers to disk). To
             * protect ourselves from this, we park ourselves and tell our interrupter that we did so.
             */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Sep 29 21:34:48 GMT 2023
    - 9.9K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/io/TempFileCreator.java

            };
          }
        }
    
        private static String getUsername() {
          /*
           * https://github.com/google/guava/issues/6634: ProcessHandle has more accurate information,
           * but that class isn't available under all environments that we support. We use it if
           * available and fall back if not.
           */
          String fromSystemProperty = requireNonNull(USER_NAME.value());
    
          try {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Oct 06 17:11:11 GMT 2023
    - 12.5K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/reflect/SubtypeTester.java

            // The raw class isn't even a subclass.
          }
        }
        if (!spec.suppressGetSupertype()) {
          try {
            assertThat(getSupertype(paramType, TypeToken.of(returnType).getRawType()))
                .isNotEqualTo(returnType);
          } catch (IllegalArgumentException notSubtype2) {
            // The raw class isn't even a subclass.
          }
        }
        return null;
      }
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 6.1K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/util/concurrent/testing/MockFutureListener.java

        countDownLatch.countDown();
      }
    
      /**
       * Verify that the listener completes in a reasonable amount of time, and Asserts that the future
       * returns the expected data.
       *
       * @throws Throwable if the listener isn't called or if it resulted in a throwable or if the
       *     result doesn't match the expected value.
       */
      public void assertSuccess(Object expectedData) throws Throwable {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri May 12 18:12:42 GMT 2023
    - 3K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/reflect/ParameterTest.java

        try {
          Class.forName("java.lang.reflect.AnnotatedType");
        } catch (ClassNotFoundException runningInAndroidVm) {
          /*
           * Parameter declares a method that returns AnnotatedType, which isn't available on Android.
           * This would cause NullPointerTester, which calls Class.getDeclaredMethods, to throw
           * NoClassDefFoundError.
           */
          return;
        }
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Apr 06 02:06:03 GMT 2023
    - 2K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/testers/ListAddAtIndexTester.java

        getList().add(0, e0());
        expectAdded(0, e0());
      }
    
      @ListFeature.Require(absent = SUPPORTS_ADD_WITH_INDEX)
      @CollectionSize.Require(absent = ZERO)
      /*
       * absent = ZERO isn't required, since unmodList.add() must
       * throw regardless, but it keeps the method name accurate.
       */
      public void testAddAtIndex_unsupportedPresent() {
        try {
          getList().add(0, e0());
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/io/FilesCreateTempDirTest.java

          assertThat(temp.delete()).isTrue();
        }
      }
    
      public void testBogusSystemPropertiesUsername() {
        if (isAndroid()) {
          /*
           * The test calls directly into the "ACL-based filesystem" code, which isn't available under
           * old versions of Android. Since Android doesn't use that code path, anyway, there's no need
           * to test it.
           */
          return;
        }
    
        /*
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Oct 06 17:11:11 GMT 2023
    - 4.3K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/ImmutableSortedAsList.java

    import com.google.common.annotations.J2ktIncompatible;
    import java.util.Comparator;
    import java.util.Spliterator;
    import javax.annotation.CheckForNull;
    
    /**
     * List returned by {@code ImmutableSortedSet.asList()} when the set isn't empty.
     *
     * @author Jared Levy
     * @author Louis Wasserman
     */
    @GwtCompatible(emulated = true)
    @SuppressWarnings("serial")
    @ElementTypesAreNonnullByDefault
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 3.6K bytes
    - Viewed (0)
Back to top