Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for fqname (0.17 sec)

  1. guava-tests/test/com/google/common/base/EnumsTest.java

        URLClassLoader shadowLoader = new URLClassLoader(getClassPathUrls(), null);
        @SuppressWarnings("unchecked")
        Class<TestEnum> shadowTestEnum =
            (Class<TestEnum>) Class.forName(TestEnum.class.getName(), false, shadowLoader);
        assertNotSame(shadowTestEnum, TestEnum.class);
        // We can't write Set<TestEnum> because that is a Set of the TestEnum from the original
        // ClassLoader.
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Oct 03 20:10:02 GMT 2023
    - 8.8K bytes
    - Viewed (0)
  2. guava/src/com/google/common/base/Throwables.java

      @J2ktIncompatible
      @GwtIncompatible // java.lang.reflect
      @CheckForNull
      private static Method getJlaMethod(String name, Class<?>... parameterTypes) throws ThreadDeath {
        try {
          return Class.forName(JAVA_LANG_ACCESS_CLASSNAME, false, null).getMethod(name, parameterTypes);
        } catch (ThreadDeath death) {
          throw death;
        } catch (Throwable t) {
          /*
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Mar 06 15:38:58 GMT 2024
    - 20.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/base/Throwables.java

      @J2ktIncompatible
      @GwtIncompatible // java.lang.reflect
      @CheckForNull
      private static Method getJlaMethod(String name, Class<?>... parameterTypes) throws ThreadDeath {
        try {
          return Class.forName(JAVA_LANG_ACCESS_CLASSNAME, false, null).getMethod(name, parameterTypes);
        } catch (ThreadDeath death) {
          throw death;
        } catch (Throwable t) {
          /*
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Mar 06 15:38:58 GMT 2024
    - 20.6K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/primitives/UnsignedBytesTest.java

      }
    
      private static boolean unsafeComparatorAvailable() {
        // See Java Puzzler #44
        // Use reflection instead of catching NoClassDefFoundError
        try {
          Class.forName(unsafeComparatorClassName());
          return true;
        } catch (Error | ClassNotFoundException tolerable) {
          /*
           * We're probably running on Android.
           *
           * A note on exception types:
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 13.4K bytes
    - Viewed (0)
  5. guava-tests/benchmark/com/google/common/io/ByteSourceAsCharSourceReadBenchmark.java

      @Param ReadStrategy strategy;
    
      @Param({"10", "1024", "1048576"})
      int size;
    
      Charset charset;
      ByteSource data;
    
      @BeforeExperiment
      public void setUp() {
        charset = Charset.forName(charsetName);
        StringBuilder sb = new StringBuilder();
        Random random = new Random(0xdeadbeef); // for unpredictable but reproducible behavior
        sb.ensureCapacity(size);
        for (int k = 0; k < size; k++) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 5.2K bytes
    - Viewed (0)
  6. android/guava-tests/benchmark/com/google/common/io/ByteSourceAsCharSourceReadBenchmark.java

      @Param ReadStrategy strategy;
    
      @Param({"10", "1024", "1048576"})
      int size;
    
      Charset charset;
      ByteSource data;
    
      @BeforeExperiment
      public void setUp() {
        charset = Charset.forName(charsetName);
        StringBuilder sb = new StringBuilder();
        Random random = new Random(0xdeadbeef); // for unpredictable but reproducible behavior
        sb.ensureCapacity(size);
        for (int k = 0; k < size; k++) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 5.2K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/base/EnumsTest.java

        URLClassLoader shadowLoader = new URLClassLoader(getClassPathUrls(), null);
        @SuppressWarnings("unchecked")
        Class<TestEnum> shadowTestEnum =
            (Class<TestEnum>) Class.forName(TestEnum.class.getName(), false, shadowLoader);
        assertNotSame(shadowTestEnum, TestEnum.class);
        // We can't write Set<TestEnum> because that is a Set of the TestEnum from the original
        // ClassLoader.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Oct 03 20:10:02 GMT 2023
    - 8.8K bytes
    - Viewed (0)
Back to top