Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for getEvents (0.16 sec)

  1. android/guava-tests/test/com/google/common/eventbus/EventBusTest.java

        assertEquals(
            "One correct event should be delivered.", Lists.newArrayList(EVENT), catcher2.getEvents());
    
        bus.unregister(catcher1);
        bus.post(EVENT);
    
        assertEquals(
            "Shouldn't catch any more events when unregistered.", expectedEvents, catcher1.getEvents());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 15:16:45 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/eventbus/StringCatcher.java

        events.add(string);
      }
    
      public void methodWithoutAnnotation(@Nullable String string) {
        Assert.fail("Event bus must not call methods without @Subscribe!");
      }
    
      public List<String> getEvents() {
        return events;
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed May 16 22:49:59 UTC 2018
    - 1.4K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/eventbus/SubscriberExceptionContext.java

       *     a new event based on the error.
       */
      public EventBus getEventBus() {
        return eventBus;
      }
    
      /** @return The event object that caused the subscriber to throw. */
      public Object getEvent() {
        return event;
      }
    
      /** @return The object context that the subscriber was called on. */
      public Object getSubscriber() {
        return subscriber;
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Apr 22 13:05:46 UTC 2021
    - 2.2K bytes
    - Viewed (0)
  4. guava/src/com/google/common/eventbus/DeadEvent.java

      }
    
      /**
       * 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() {
        return MoreObjects.toStringHelper(this).add("source", source).add("event", event).toString();
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Apr 22 13:05:46 UTC 2021
    - 2.1K bytes
    - Viewed (0)
  5. cmd/os_unix.go

    	}
    
    	return nil
    }
    
    // The buffer must be at least a block long.
    // refer https://github.com/golang/go/issues/24015
    const blockSize = 8 << 10 // 8192
    
    // By default at least 128 entries in single getdents call (1MiB buffer)
    var (
    	direntPool = sync.Pool{
    		New: func() interface{} {
    			buf := make([]byte, blockSize*128)
    			return &buf
    		},
    	}
    
    	direntNamePool = sync.Pool{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  6. api/go1.txt

    pkg syscall (linux-386), func Futimes(int, []Timeval) error
    pkg syscall (linux-386), func Futimesat(int, string, []Timeval) error
    pkg syscall (linux-386), func Getcwd([]uint8) (int, error)
    pkg syscall (linux-386), func Getdents(int, []uint8) (int, error)
    pkg syscall (linux-386), func Getpeername(int) (Sockaddr, error)
    pkg syscall (linux-386), func Getpgid(int) (int, error)
    pkg syscall (linux-386), func Getpgrp() int
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Aug 14 18:58:28 UTC 2013
    - 1.7M bytes
    - Viewed (0)
  7. api/go1.2.txt

    pkg syscall (linux-arm-cgo), func Futimesat(int, string, []Timeval) error
    pkg syscall (linux-arm-cgo), func Getcwd([]uint8) (int, error)
    pkg syscall (linux-arm-cgo), func Getdents(int, []uint8) (int, error)
    pkg syscall (linux-arm-cgo), func Getpeername(int) (Sockaddr, error)
    pkg syscall (linux-arm-cgo), func Getpgid(int) (int, error)
    pkg syscall (linux-arm-cgo), func Getpgrp() int
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Oct 18 04:36:59 UTC 2013
    - 1.9M bytes
    - Viewed (0)
Back to top