Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 40 for delivered (0.05 seconds)

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

        assertEquals("One event dispatch task should be queued.", 1, tasks.size());
    
        tasks.get(0).run();
    
        assertEquals("One event should be delivered.", 1, events.size());
        assertWithMessage("Correct string should be delivered.").that(events.get(0)).isEqualTo(EVENT);
      }
    
      /**
       * An {@link Executor} wanna-be that simply records the tasks it's given. Arguably the Worst
       * Executor Ever.
       *
       * @author cbiffle
       */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 2.4K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/eventbus/EventBusTest.java

        assertEquals("Only one String should be delivered.", 1, stringEvents.size());
        assertWithMessage("Correct string should be delivered.")
            .that(stringEvents.get(0))
            .isEqualTo(EVENT);
    
        // Check the Catcher<Object>...
        assertEquals("Three Objects should be delivered.", 3, objectEvents.size());
        assertEquals("String fixture must be first object delivered.", EVENT, objectEvents.get(0));
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 11.6K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/eventbus/EventBusTest.java

        assertEquals("Only one String should be delivered.", 1, stringEvents.size());
        assertWithMessage("Correct string should be delivered.")
            .that(stringEvents.get(0))
            .isEqualTo(EVENT);
    
        // Check the Catcher<Object>...
        assertEquals("Three Objects should be delivered.", 3, objectEvents.size());
        assertEquals("String fixture must be first object delivered.", EVENT, objectEvents.get(0));
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 11.6K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/eventbus/outside/OutsideEventBusTest.java

        assertEquals("Only one event should be delivered.", 1, deliveries.get());
        assertWithMessage("Correct string should be delivered.").that(holder.get()).isEqualTo(EVENT);
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 1.9K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/eventbus/outside/OutsideEventBusTest.java

        assertEquals("Only one event should be delivered.", 1, deliveries.get());
        assertWithMessage("Correct string should be delivered.").that(holder.get()).isEqualTo(EVENT);
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 1.9K bytes
    - Click Count (0)
  6. tests/test_stream_cancellation.py

            i += 1
    
    
    async def _run_asgi_and_cancel(app: FastAPI, path: str, timeout: float) -> bool:
        """Call the ASGI app for *path* and cancel after *timeout* seconds.
    
        Returns `True` if the cancellation was delivered (i.e. it did not hang).
        """
        chunks: list[bytes] = []
    
        async def receive():  # type: ignore[no-untyped-def]
            # Simulate a client that never disconnects, rely on cancellation
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 27 18:56:47 GMT 2026
    - 2.7K bytes
    - Click Count (0)
  7. src/main/java/jcifs/internal/witness/WitnessClient.java

                    }
                }
            }
        }
    
        /**
         * Determines if a notification should be delivered to a registration.
         *
         * @param registration the registration
         * @param notification the notification
         * @return true if the notification should be delivered
         */
        private boolean shouldDeliverNotification(WitnessRegistration registration, WitnessNotification notification) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 20.8K bytes
    - Click Count (0)
  8. src/test/java/jcifs/internal/witness/WitnessClientTest.java

            notification.addNewIPAddress(InetAddress.getByName("192.168.1.101"));
    
            client.processNotification(notification);
    
            // Verify notification was delivered
            assertTrue(listener.waitForNotification(1000));
            assertNotNull(listener.getLastNotification());
            assertEquals(WitnessEventType.CLIENT_MOVE, listener.getLastNotification().getEventType());
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 09:06:40 GMT 2025
    - 9.8K bytes
    - Click Count (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Interceptor.kt

     *
     *  * For asynchronous calls made with [Call.enqueue], an [IOException] is propagated to the caller
     *    indicating that the call was canceled. The interceptor's exception is delivered to the current
     *    thread's [uncaught exception handler][Thread.UncaughtExceptionHandler]. By default this
     *    crashes the application on Android and prints a stacktrace on the JVM. (Crash reporting
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Mar 10 21:47:20 GMT 2026
    - 8.9K bytes
    - Click Count (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Writer.kt

      }
    
      /**
       * HTTP/2 only. Send a push promise header block.
       *
       * A push promise contains all the headers that pertain to a server-initiated request, and a
       * `promisedStreamId` to which response frames will be delivered. Push promise frames are sent as
       * a part of the response to `streamId`. The `promisedStreamId` has a priority of one greater than
       * `streamId`.
       *
       * @param streamId client-initiated stream ID.  Must be an odd number.
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed May 28 23:28:25 GMT 2025
    - 11K bytes
    - Click Count (0)
Back to Top