Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 67 for INNER (0.02 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

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

        async.cancel(true);
        assertTrue(inner.isCancelled());
        assertTrue(inner.wasInterrupted());
        assertThrows(CancellationException.class, inner::get);
      }
    
      public void testCancel_resultCancelsInner() throws Exception {
        SettableFuture<Object> async = SettableFuture.create();
        SettableFuture<Object> inner = SettableFuture.create();
        async.setFuture(inner);
        async.cancel(false);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 7.4K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/util/concurrent/SettableFutureTest.java

        async.cancel(true);
        assertTrue(inner.isCancelled());
        assertTrue(inner.wasInterrupted());
        assertThrows(CancellationException.class, inner::get);
      }
    
      public void testCancel_resultCancelsInner() throws Exception {
        SettableFuture<Object> async = SettableFuture.create();
        SettableFuture<Object> inner = SettableFuture.create();
        async.setFuture(inner);
        async.cancel(false);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 7.4K bytes
    - Click Count (0)
  3. tests/test_strict_content_type_nested.py

        assert response.status_code == 200
    
    
    # Strict app -> lax outer router -> strict inner router
    
    app_mixed = FastAPI(strict_content_type=True)
    mixed_outer = APIRouter(prefix="/outer", strict_content_type=False)
    mixed_inner = APIRouter(prefix="/inner", strict_content_type=True)
    
    
    @mixed_outer.post("/items/")
    async def mixed_outer_post(data: dict):
        return data
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Mon Feb 23 17:45:20 GMT 2026
    - 2.7K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/sso/spnego/SpnegoAuthenticatorTest.java

                assertEquals("SpnegoConfig", configClass.getSimpleName());
    
                // Verify it's a static inner class
                assertTrue(java.lang.reflect.Modifier.isStatic(configClass.getModifiers()));
            } catch (ClassNotFoundException e) {
                fail("SpnegoConfig inner class should exist");
            }
        }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 4.8K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/reflect/TypeTokenResolutionTest.java

        assertEquals(mapping.t, mapping.selfMapping().getToType());
      }
    
      private static class ParameterizedOuter<T> {
        @Keep public Inner field;
    
        @SuppressWarnings("ClassCanBeStatic") // We want to test an inner class.
        class Inner {}
      }
    
      public void testInnerClassWithParameterizedOwner() throws Exception {
        Type fieldType = ParameterizedOuter.class.getField("field").getGenericType();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 19.6K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/reflect/TypeTokenResolutionTest.java

        assertEquals(mapping.t, mapping.selfMapping().getToType());
      }
    
      private static class ParameterizedOuter<T> {
        @Keep public Inner field;
    
        @SuppressWarnings("ClassCanBeStatic") // We want to test an inner class.
        class Inner {}
      }
    
      public void testInnerClassWithParameterizedOwner() throws Exception {
        Type fieldType = ParameterizedOuter.class.getField("field").getGenericType();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 19.6K bytes
    - Click Count (0)
  7. tests/test_custom_middleware_exception.py

            self.app = app
            self.max_content_size = max_content_size
    
        def receive_wrapper(self, receive):
            received = 0
    
            async def inner():
                nonlocal received
                message = await receive()
                if message["type"] != "http.request":
                    return message  # pragma: no cover
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 2.8K bytes
    - Click Count (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt

        val body = newFixedLengthSource(response.request.url, contentLength)
        body.skipAll(Int.MAX_VALUE, MILLISECONDS)
        body.close()
      }
    
      /** An HTTP request body. */
      private inner class KnownLengthSink : Sink {
        private val timeout = ForwardingTimeout(socket.sink.timeout())
        private var closed: Boolean = false
    
        override fun timeout(): Timeout = timeout
    
        override fun write(
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 17.6K bytes
    - Click Count (7)
  9. guava-tests/test/com/google/common/collect/SynchronizedNavigableMapTest.java

        @SuppressWarnings("unchecked")
        NavigableMap<K, V> innermost =
            new SafeTreeMap<>((Comparator<? super K>) Ordering.natural().nullsFirst());
        TestMap<K, V> inner = new TestMap<>(innermost, mutex);
        NavigableMap<K, V> outer = Synchronized.navigableMap(inner, mutex);
        return outer;
      }
    
      static class TestEntry<K, V> extends ForwardingMapEntry<K, V> implements Serializable {
        private final Entry<K, V> delegate;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 12.8K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/collect/SynchronizedMapTest.java

    public class SynchronizedMapTest extends TestCase {
      public final Object mutex = new Object[0]; // something Serializable
    
      protected <K, V> Map<K, V> create() {
        TestMap<K, V> inner = new TestMap<>(new HashMap<K, V>(), mutex);
        Map<K, V> outer = Synchronized.map(inner, mutex);
        return outer;
      }
    
      static class TestMap<K, V> extends ForwardingMap<K, V> implements Serializable {
        public final Object mutex;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 6K bytes
    - Click Count (0)
Back to Top