Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 617 for doesn (0.18 sec)

  1. android/guava-tests/test/com/google/common/io/ByteSourceTester.java

          // test a random slice() of the ByteSource
          Random random = new Random();
          byte[] expected = factory.getExpected(bytes);
          // if expected.length == 0, off has to be 0 but length doesn't matter--result will be empty
          int off = expected.length == 0 ? 0 : random.nextInt(expected.length);
          int len = expected.length == 0 ? 4 : random.nextInt(expected.length - off);
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 8.6K bytes
    - Viewed (0)
  2. guava/src/com/google/common/annotations/GwtIncompatible.java

    @Documented
    @GwtCompatible
    public @interface GwtIncompatible {
      /**
       * Describes why the annotated element is incompatible with GWT. Since this is generally due to a
       * dependence on a type/method which GWT doesn't support, it is sufficient to simply reference the
       * unsupported type/method. E.g. "Class.isInstance".
       *
       * <p>As of Guava 20.0, this value is optional. We encourage authors who wish to describe why an
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Apr 19 16:29:08 GMT 2017
    - 1.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/Monitor.java

      //    possible to the thing right before the try. You could have
      //    guard.leave(), but that's a little odd as well because the
      //    guard doesn't have anything to do with leaving. You can't
      //    really enforce that the guard you're leaving is the same one
      //    you entered with, and it doesn't actually matter.
      //
      // 2. Since you can enter the monitor without a guard at all, some
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Dec 04 18:22:01 GMT 2023
    - 38.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/eventbus/EventBus.java

     *   <li>It doesn't offer a way to wait for multiple events before taking action. For example, it
     *       doesn't offer a way to wait for multiple producers to all report that they're "ready," nor
     *       does it offer a way to batch multiple events from a single producer together.
     *   <li>It doesn't support backpressure and other features needed for resilience.
     *   <li>It doesn't provide much control of threading.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Aug 25 16:37:57 GMT 2021
    - 12.8K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/AbstractListeningExecutorServiceTest.java

        }
      }
    
      private static class TestCallable implements Callable<String> {
        @Override
        public String call() {
          return "foo";
        }
      }
    
      /** Simple same thread listening executor service that doesn't handle shutdown. */
      private static class TestListeningExecutorService extends AbstractListeningExecutorService {
    
        @Override
        public void execute(Runnable runnable) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 3.2K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/math/LongMath.java

          b += minDeltaOrZero; // sets b to min(old a, b)
          a >>= Long.numberOfTrailingZeros(a); // divide out all 2s, since 2 doesn't divide b
        }
        return a << min(aTwos, bTwos);
      }
    
      /**
       * Returns the sum of {@code a} and {@code b}, provided it does not overflow.
       *
       * @throws ArithmeticException if {@code a + b} overflows in signed {@code long} arithmetic
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 44.6K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

    was the BEST butter, you know.'
    
      Alice had been looking over his shoulder with some curiosity.
    `What a funny watch!' she remarked.  `It tells the day of the
    month, and doesn't tell what o'clock it is!'
    
      `Why should it?' muttered the Hatter.  `Does YOUR watch tell
    you what year it is?'
    
      `Of course not,' Alice replied very readily:  `but that's
    because it stays the same year for such a long time together.'
    
    Plain Text
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Oct 29 21:35:03 GMT 2012
    - 145.2K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/NullnessCasts.java

       * add the suppression to the whole method (which turns off checking for a large section of code),
       * or extract a variable, and put the suppression on that. However, a local variable typically
       * doesn't work: Because nullness analyses typically infer the nullness of local variables,
       * there's no way to assign a {@code @Nullable T} to a field {@code T foo;} and instruct the
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 10 20:36:34 GMT 2022
    - 3.5K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/MapsTransformValuesUnmodifiableIteratorTest.java

        } catch (RuntimeException tolerated) {
          // GWT's HashMap.keySet().removeAll(null) doesn't throws NPE.
        }
      }
    
      @Override
      public void testEntrySetRemoveAllNullFromEmpty() {
        try {
          super.testEntrySetRemoveAllNullFromEmpty();
        } catch (RuntimeException tolerated) {
          // GWT's HashMap.entrySet().removeAll(null) doesn't throws NPE.
        }
      }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 12.2K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/ImmutableSortedMap.java

        Comparator<? super K> comparator = map.comparator();
        if (comparator == null) {
          // If map has a null comparator, the keys should have a natural ordering,
          // even though K doesn't explicitly implement Comparable.
          comparator = (Comparator<? super K>) NATURAL_ORDER;
        }
        if (map instanceof ImmutableSortedMap) {
          // TODO(kevinb): Prove that this cast is safe, even though
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 50.3K bytes
    - Viewed (0)
Back to top