Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 81 for ll (0.16 sec)

  1. guava-tests/test/com/google/common/util/concurrent/InterruptionUtil.java

                  logger.severe("InterruptenatorTask did not exit; future tests may be affected");
                  /*
                   * This won't do any good under JUnit 3, but I'll leave it around in
                   * case we ever switch to JUnit 4:
                   */
                  fail();
                }
              }
            });
      }
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4.4K bytes
    - Viewed (1)
  2. android/guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

    through the air!  Do you think you could manage it?)  `And what
    an ignorant little girl she'll think me for asking!  No, it'll
    never do to ask:  perhaps I shall see it written up somewhere.'
    
      Down, down, down.  There was nothing else to do, so Alice soon
    began talking again.  `Dinah'll miss me very much to-night, I
    should think!'  (Dinah was the cat.)  `I hope they'll remember
    her saucer of milk at tea-time.  Dinah my dear!  I wish you were
    Plain Text
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Apr 21 02:27:51 GMT 2017
    - 145.2K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/WriteReplaceOverridesTest.java

            Method unused = clazz.getDeclaredMethod("writeReplace");
            continue; // It overrides writeReplace, so it's safe.
          } catch (NoSuchMethodException e) {
            // This is a class whose supertypes we want to examine. We'll do that below.
          }
          Optional<Class<?>> supersWithPackagePrivateWriteReplace =
              FluentIterable.from(TypeToken.of(clazz).getTypes())
                  .transform(TypeToken::getRawType)
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 4.9K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/WriteReplaceOverridesTest.java

            Method unused = clazz.getDeclaredMethod("writeReplace");
            continue; // It overrides writeReplace, so it's safe.
          } catch (NoSuchMethodException e) {
            // This is a class whose supertypes we want to examine. We'll do that below.
          }
          Optional<Class<?>> supersWithPackagePrivateWriteReplace =
              FluentIterable.from(TypeToken.of(clazz).getTypes())
                  .transform(TypeToken::getRawType)
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 4.9K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/ConcurrentHashMultiset.java

       * a good policy, especially because, in order for the test to pass, the
       * parameter must be misleadingly annotated as @Nullable. I suspect that
       * we'll want to remove @Nullable, add an eager checkNotNull, and loosen up
       * testRemove_nullAllowed.
       */
      @CanIgnoreReturnValue
      @Override
      public int remove(@CheckForNull Object element, int occurrences) {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 20.9K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

            validateMethod(method);
            addTests(suite, method);
          }
        }
    
        assertEquals(548, suite.testCount());
    
        return suite;
      }
    
      /** A typical timeout value we'll use in the tests. */
      private static final long SMALL_TIMEOUT_MILLIS = 10;
    
      /** How long to wait when determining that a thread is blocked if we expect it to be blocked. */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 17 14:48:57 GMT 2023
    - 26.1K bytes
    - Viewed (0)
  7. guava-tests/benchmark/com/google/common/cache/LoadingCacheSingleThreadBenchmark.java

      }
    
      @AfterExperiment
      void tearDown() {
        double req = requests.get();
        double hit = req - misses.get();
    
        // Currently, this is going into /dev/null, but I'll fix that
        System.out.println("hit rate: " + hit / req);
      }
    
      // for proper distributions later:
      // import JSci.maths.statistics.ProbabilityDistribution;
      // int key = (int) dist.inverse(random.nextDouble());
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 3.4K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/hash/LittleEndianByteArray.java

         */
        @SuppressWarnings("removal") // b/318391980
        private static Unsafe getUnsafe() {
          try {
            return Unsafe.getUnsafe();
          } catch (SecurityException tryReflectionInstead) {
            // We'll try reflection instead.
          }
          try {
            return AccessController.doPrivileged(
                (PrivilegedExceptionAction<Unsafe>)
                    () -> {
                      Class<Unsafe> k = Unsafe.class;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 9.7K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/primitives/UnsignedLong.java

        // So we can ignore the bottom 11, except for rounding. We can unsigned-shift right 1, aka
        // unsigned-divide by 2, and convert that. Then we'll get exactly half of the desired double
        // value. But in the specific case where the bottom two bits of the original number are 01, we
        // want to replace that with 1 in the shifted value for correct rounding.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Apr 22 13:09:25 GMT 2021
    - 8.9K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/ImmutableSortedAsList.java

        return indexOf(target) >= 0;
      }
    
      @GwtIncompatible // super.subListUnchecked does not exist; inherited subList is valid if slow
      /*
       * TODO(cpovirk): if we start to override indexOf/lastIndexOf under GWT, we'll want some way to
       * override subList to return an ImmutableSortedAsList for better performance. Right now, I'm not
       * sure there's any performance hit from our failure to override subListUnchecked under GWT
       */
      @Override
    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