Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for boom (0.16 sec)

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

                    // to
                    // ensure that the thread running the failure callbacks is not the main thread.
                    Uninterruptibles.awaitUninterruptibly(afterStarted);
                    notifyFailed(new Exception("boom"));
                  }
                }.start();
              }
    
              @Override
              protected void doStop() {
                notifyStopped();
              }
            };
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Oct 02 17:20:27 GMT 2023
    - 23.2K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/AbstractScheduledServiceTest.java

                      if (state() != State.STARTING) {
                        inGetNextSchedule.await();
                        Thread.yield();
                        throw new RuntimeException("boom");
                      }
                      return new Schedule(0, NANOSECONDS);
                    }
                  };
                }
              };
          service.startAsync().awaitRunning();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 22.5K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/AbstractScheduledServiceTest.java

                      if (state() != State.STARTING) {
                        inGetNextSchedule.await();
                        Thread.yield();
                        throw new RuntimeException("boom");
                      }
                      return new Schedule(0, NANOSECONDS);
                    }
                  };
                }
              };
          service.startAsync().awaitRunning();
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 22.5K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/util/concurrent/ServiceManagerTest.java

                    // to
                    // ensure that the thread running the failure callbacks is not the main thread.
                    Uninterruptibles.awaitUninterruptibly(afterStarted);
                    notifyFailed(new Exception("boom"));
                  }
                }.start();
              }
    
              @Override
              protected void doStop() {
                notifyStopped();
              }
            };
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Oct 02 17:20:27 GMT 2023
    - 23.9K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/hash/BloomFilterTest.java

                  int key = getNonGoldenRandomKey();
                  // We can't check that the key is mightContain() == false before the
                  // put() because the key could have already been generated *or* the
                  // bloom filter might say true even when it's not there (false
                  // positive).
                  bloomFilter.put(key);
                  // False negative should *never* happen.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Nov 09 22:49:56 GMT 2023
    - 21.3K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java

     *
     * <pre>
     * interface Book {...}
     * public class Books {
     *   public static Book hardcover(String title) {...}
     *   public static Book paperback(String title) {...}
     * }
     * </pre>
     *
     * <p>And all the created {@code Book} instances can be tested with:
     *
     * <pre>
     * new ClassSanityTester()
     *     .forAllPublicStaticMethods(Books.class)
     *     .thatReturn(Book.class)
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 08 17:31:55 GMT 2024
    - 33K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/io/ReaderInputStream.java

              result = encoder.flush(byteBuffer);
            } else {
              result = encoder.encode(charBuffer, byteBuffer, endOfInput);
            }
    
            if (result.isOverflow()) {
              // Not enough room in output buffer--drain it, creating a bigger buffer if necessary.
              startDraining(true);
              continue DRAINING;
            } else if (result.isUnderflow()) {
              // If encoder underflows, it means either:
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 28 20:13:02 GMT 2023
    - 9.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ObjectArrays.java

       * array, it is returned therein. Otherwise, a new array is allocated with the runtime type of the
       * specified array and the size of the specified collection.
       *
       * <p>If the collection fits in the specified array with room to spare (i.e., the array has more
       * elements than the collection), the element in the array immediately following the end of the
       * collection is set to {@code null}. This is useful in determining the length of the collection
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Jun 12 15:59:22 GMT 2023
    - 9K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/io/MoreFilesTest.java

          assertThat(Files.isSameFile(fooPath, fooCopy)).isFalse();
          assertThat(MoreFiles.equal(fooPath, fooCopy)).isTrue();
    
          MoreFiles.asCharSink(fooCopy, UTF_8).write("boo");
          assertThat(MoreFiles.asByteSource(fooPath).size())
              .isEqualTo(MoreFiles.asByteSource(fooCopy).size());
          assertThat(MoreFiles.equal(fooPath, fooCopy)).isFalse();
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Jan 29 22:57:05 GMT 2024
    - 27.2K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/EvictingQueue.java

       * of the queue is evicted to make room.
       *
       * @return {@code true} always
       */
      @Override
      @CanIgnoreReturnValue
      public boolean offer(E e) {
        return add(e);
      }
    
      /**
       * Adds the given element to this queue. If the queue is currently full, the element at the head
       * of the queue is evicted to make room.
       *
       * @return {@code true} always
       */
      @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri May 12 17:52:55 GMT 2023
    - 4.6K bytes
    - Viewed (0)
Back to top