Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 317 for dead (0.22 sec)

  1. android/guava/src/com/google/common/eventbus/DeadEvent.java

       *
       * @return the source of this event.
       */
      public Object getSource() {
        return source;
      }
    
      /**
       * Returns the wrapped, 'dead' event, which the system was unable to deliver to any registered
       * subscriber.
       *
       * @return the 'dead' event that could not be delivered.
       */
      public Object getEvent() {
        return event;
      }
    
      @Override
      public String toString() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Apr 22 13:05:46 GMT 2021
    - 2.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/eventbus/EventBus.java

     * worry about being reentrant, unless also called from outside the EventBus.
     *
     * <h2>Dead Events</h2>
     *
     * <p>If an event is posted, but no registered subscribers can accept it, it is considered "dead."
     * To give the system a second chance to handle dead events, they are wrapped in an instance of
     * {@link DeadEvent} and reposted.
     *
    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)
  3. guava-tests/test/com/google/common/eventbus/EventBusTest.java

        // A String -- an event for which no one has registered.
        bus.post(EVENT);
    
        List<DeadEvent> events = catcher.getEvents();
        assertEquals("One dead event should be delivered.", 1, events.size());
        assertEquals("The dead event should wrap the original event.", EVENT, events.get(0).getEvent());
      }
    
      public void testDeadEventPosting() {
        GhostCatcher catcher = new GhostCatcher();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Feb 21 18:32:41 GMT 2024
    - 11.3K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/eventbus/EventBusTest.java

        // A String -- an event for which no one has registered.
        bus.post(EVENT);
    
        List<DeadEvent> events = catcher.getEvents();
        assertEquals("One dead event should be delivered.", 1, events.size());
        assertEquals("The dead event should wrap the original event.", EVENT, events.get(0).getEvent());
      }
    
      public void testDeadEventPosting() {
        GhostCatcher catcher = new GhostCatcher();
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 18:32:41 GMT 2024
    - 11.3K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

    down upon her:  she gave a little scream, half of fright and half
    of anger, and tried to beat them off, and found herself lying on
    the bank, with her head in the lap of her sister, who was gently
    brushing away some dead leaves that had fluttered down from the
    trees upon her face.
    
      `Wake up, Alice dear!' said her sister; `Why, what a long
    sleep you've had!'
    
      `Oh, I've had such a curious dream!' said Alice, and she told
    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)
  6. android/guava/src/com/google/common/cache/LocalCache.java

        public void clear() {
          ReferenceEntry<K, V> e = head.getNextInWriteQueue();
          while (e != head) {
            ReferenceEntry<K, V> next = e.getNextInWriteQueue();
            nullifyWriteOrder(e);
            e = next;
          }
    
          head.setNextInWriteQueue(head);
          head.setPreviousInWriteQueue(head);
        }
    
        @Override
        public Iterator<ReferenceEntry<K, V>> iterator() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 144.7K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/HashBiMap.java

        }
    
        /*
         * The ordering here is important: if we deleted the key entry and then the value entry,
         * the key entry's prev or next pointer might point to the dead value entry, and when we
         * put the new entry in the key entry's position in iteration order, it might invalidate
         * the linked list.
         */
    
        if (oldEntryForValue != null) {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Oct 13 14:11:58 GMT 2023
    - 24.5K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/TreeMultimapNaturalTest.java

                                "c", (Collection<String>) ImmutableSortedSet.of("carl", "carol")),
                            Helpers.mapEntry(
                                "d", (Collection<String>) ImmutableSortedSet.of("david", "dead")),
                            Helpers.mapEntry(
                                "e", (Collection<String>) ImmutableSortedSet.of("eric", "elaine")));
                      }
    
                      @SuppressWarnings("unchecked")
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 22.6K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/io/CharStreams.java

       * Returns the total number of chars read. Does not close the stream.
       *
       * @since 20.0
       */
      @CanIgnoreReturnValue
      public static long exhaust(Readable readable) throws IOException {
        long total = 0;
        long read;
        CharBuffer buf = createBuffer();
        while ((read = readable.read(buf)) != -1) {
          total += read;
          Java8Compatibility.clear(buf);
        }
        return total;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 17 14:35:11 GMT 2023
    - 10.9K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/MapMaker.java

       * higher value than you need can waste space and time, and a significantly lower value can lead
       * to thread contention. But overestimates and underestimates within an order of magnitude do not
       * usually have much noticeable impact. A value of one permits only one thread to modify the map
       * at a time, but since read operations can proceed concurrently, this still yields higher
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Mar 13 14:30:51 GMT 2023
    - 12.8K bytes
    - Viewed (0)
Back to top