Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 84 for Gevent (0.18 sec)

  1. guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/LocalCache.java

        }
    
        @Override
        public void refresh(K key) {
          throw new UnsupportedOperationException();
        }
      }
    
      /**
       * LinkedHashMap that enforces it's maximum size and logs events in a StatsCounter object and an
       * optional RemovalListener.
       *
       * @param <K> the base key type
       * @param <V> the base value type
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 27 19:19:19 GMT 2024
    - 21.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/Monitor.java

      //         break;
      //       }
      //     }
      //   }
    
      /**
       * Exactly like guard.isSatisfied(), but in addition signals all waiting threads in the (hopefully
       * unlikely) event that isSatisfied() throws.
       */
      @GuardedBy("lock")
      private boolean isSatisfied(Guard guard) {
        try {
          return guard.isSatisfied();
        } catch (Throwable throwable) {
    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)
  3. guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

      `I couldn't help it,' said Five, in a sulky tone; `Seven jogged
    my elbow.'
    
      On which Seven looked up and said, `That's right, Five!  Always
    lay the blame on others!'
    
      `YOU'D better not talk!' said Five.  `I heard the Queen say only
    yesterday you deserved to be beheaded!'
    
      `What for?' said the one who had spoken first.
    
      `That's none of YOUR business, Two!' said Seven.
    
    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)
  4. android/guava-tests/test/com/google/common/eventbus/AsyncEventBusTest.java

        // We post the event, but our Executor will not deliver it until instructed.
        bus.post(EVENT);
    
        List<String> events = catcher.getEvents();
        assertTrue("No events should be delivered synchronously.", events.isEmpty());
    
        // Now we find the task in our Executor and explicitly activate it.
        List<Runnable> tasks = executor.getTasks();
        assertEquals("One event dispatch task should be queued.", 1, tasks.size());
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue May 15 20:25:06 GMT 2018
    - 2.3K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/eventbus/ReentrantEventsTest.java

          } finally {
            ready = true;
          }
        }
    
        @Subscribe
        public void listenForDoubles(Double event) {
          assertTrue("I received an event when I wasn't ready!", ready);
          eventsReceived.add(event);
        }
      }
    
      public void testEventOrderingIsPredictable() {
        EventProcessor processor = new EventProcessor();
        bus.register(processor);
    
        EventRecorder recorder = new EventRecorder();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue May 15 20:25:06 GMT 2018
    - 2.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/eventbus/Subscriber.java

        this.executor = bus.executor();
      }
    
      /** Dispatches {@code event} to this subscriber using the proper executor. */
      final void dispatchEvent(Object event) {
        executor.execute(
            () -> {
              try {
                invokeSubscriberMethod(event);
              } catch (InvocationTargetException e) {
                bus.handleSubscriberException(e.getCause(), context(event));
              }
            });
      }
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Oct 06 00:47:57 GMT 2021
    - 4.7K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/eventbus/outside/DeepInterfaceTest.java

      }
    
      public void testAnnotatedIn1() {
        assertThat(getSubscriber().annotatedIn1Events).contains(EVENT);
      }
    
      public void testAnnotatedIn2() {
        assertThat(getSubscriber().annotatedIn2Events).contains(EVENT);
      }
    
      public void testAnnotatedIn1And2() {
        assertThat(getSubscriber().annotatedIn1And2Events).contains(EVENT);
      }
    
      public void testAnnotatedIn1And2AndClass() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 08 21:35:40 GMT 2022
    - 4.2K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/eventbus/Subscribe.java

    import java.lang.annotation.Target;
    
    /**
     * Marks a method as an event subscriber.
     *
     * <p>The type of event will be indicated by the method's first (and only) parameter, which cannot
     * be primitive. If this annotation is applied to methods with zero parameters, or more than one
     * parameter, the object containing the method will not be able to register for event delivery from
     * the {@link EventBus}.
     *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Apr 22 13:05:46 GMT 2021
    - 1.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/eventbus/AllowConcurrentEvents.java

    import java.lang.annotation.Retention;
    import java.lang.annotation.RetentionPolicy;
    import java.lang.annotation.Target;
    
    /**
     * Marks an event subscriber method as being thread-safe. This annotation indicates that EventBus
     * may invoke the event subscriber simultaneously from multiple threads.
     *
     * <p>This does not mark the method, and so should be used in combination with {@link Subscribe}.
     *
     * @author Cliff Biffle
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Apr 22 13:05:46 GMT 2021
    - 1.2K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/eventbus/outside/BaseSubscriberFinderTest.java

        }
      }
    
      public void testNonSubscriber() {
        assertThat(getSubscriber().nonSubscriberEvents).isEmpty();
      }
    
      public void testSubscriber() {
        assertThat(getSubscriber().subscriberEvents).contains(EVENT);
      }
    
      @Override
      Subscriber createSubscriber() {
        return new Subscriber();
      }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 08 21:35:40 GMT 2022
    - 1.6K bytes
    - Viewed (0)
Back to top