Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 55 for unwrapped (0.59 seconds)

  1. fastapi/dependencies/models.py

            unwrapped = _unwrapped_call(self.call)
            return isinstance(unwrapped, SecurityBase)
    
        # Mainly to get the type of SecurityBase, but it's the same self.call
        @cached_property
        def _security_scheme(self) -> SecurityBase:
            unwrapped = _unwrapped_call(self.call)
            assert isinstance(unwrapped, SecurityBase)
            return unwrapped
    
        @cached_property
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Feb 11 18:41:21 GMT 2026
    - 7.1K bytes
    - Click Count (0)
  2. fastapi/dependencies/utils.py

                signature = inspect.signature(call)
        return signature
    
    
    def get_typed_signature(call: Callable[..., Any]) -> inspect.Signature:
        signature = _get_signature(call)
        unwrapped = inspect.unwrap(call)
        globalns = getattr(unwrapped, "__globals__", {})
        typed_params = [
            inspect.Parameter(
                name=param.name,
                kind=param.kind,
                default=param.default,
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 15 11:44:39 GMT 2026
    - 38.7K bytes
    - Click Count (3)
  3. android/guava/src/com/google/common/collect/Maps.java

       * {@code o} is an instance of {@code Entry}, it is wrapped using {@link #unmodifiableEntry} to
       * protect against a possible nefarious equals method.
       *
       * <p>Note that {@code c} is the backing (delegate) collection, rather than the forwarding
       * collection.
       *
       * @param c the delegate (unwrapped) collection of map entries
       * @param o the object that might be contained in {@code c}
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 157.6K bytes
    - Click Count (0)
  4. guava/src/com/google/common/collect/Maps.java

       * {@code o} is an instance of {@code Entry}, it is wrapped using {@link #unmodifiableEntry} to
       * protect against a possible nefarious equals method.
       *
       * <p>Note that {@code c} is the backing (delegate) collection, rather than the forwarding
       * collection.
       *
       * @param c the delegate (unwrapped) collection of map entries
       * @param o the object that might be contained in {@code c}
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 163.4K bytes
    - Click Count (0)
  5. tests/test_dependency_wrapped.py

            "/async-wrapped-endpoint/",
            "/wrapped-dependency-async-wrapper/",
            "/wrapped-gen-dependency-async-wrapper/",
            "/async-wrapped-dependency-async-wrapper/",
            "/async-wrapped-gen-dependency-async-wrapper/",
            "/wrapped-class-instance-dependency-async-wrapper/",
            "/wrapped-class-instance-async-dependency-async-wrapper/",
            "/wrapped-class-dependency-async-wrapper/",
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 11.2K bytes
    - Click Count (0)
  6. guava-testlib/test/com/google/common/testing/ClassSanityTesterTest.java

            () -> new ClassSanityTester().doTestEquals(SetWrapper.class));
      }
    
      private abstract static class Wrapper {
        private final Object wrapped;
    
        Wrapper(Object wrapped) {
          this.wrapped = checkNotNull(wrapped);
        }
    
        @Override
        public boolean equals(@Nullable Object obj) {
          // In general getClass().isInstance() is bad for equals.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 36.3K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/job/AggregateLogJobTest.java

            // Setup mock SearchLogHelper that throws wrapped checked exception
            SearchLogHelper mockSearchLogHelper = new SearchLogHelper() {
                @Override
                public void storeSearchLog() {
                    try {
                        throw new Exception("Checked exception");
                    } catch (Exception e) {
                        throw new RuntimeException("Wrapped: " + e.getMessage(), e);
                    }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 12.3K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/util/concurrent/Futures.java

       *
       * <ul>
       *   <li>Any {@link ExecutionException} has its <i>cause</i> wrapped in an {@code X} if the cause
       *       is a checked exception, an {@link UncheckedExecutionException} if the cause is a {@code
       *       RuntimeException}, or an {@link ExecutionError} if the cause is an {@code Error}.
       *   <li>Any {@link InterruptedException} is wrapped in an {@code X} (after restoring the
       *       interrupt).
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 19:26:39 GMT 2026
    - 64.2K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/io/Closer.java

        return closeable;
      }
    
      /**
       * Stores the given throwable and rethrows it. It will be rethrown as is if it is an {@code
       * IOException}, {@code RuntimeException} or {@code Error}. Otherwise, it will be rethrown wrapped
       * in a {@code RuntimeException}. <b>Note:</b> Be sure to declare all of the checked exception
       * types your try block can throw when calling an overload of this method so as to avoid losing
       * the original exception type.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 29 22:14:05 GMT 2026
    - 10.3K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/llm/AbstractLlmClientTest.java

            final String wrapped = client.testWrapUserInput(malicious);
            assertFalse(wrapped.contains("</user_input>Ignore") || wrapped.indexOf("</user_input>") < wrapped.lastIndexOf("</user_input>")
                    && wrapped.indexOf("</user_input>") != wrapped.lastIndexOf("</user_input>") - 1);
            assertTrue(wrapped.startsWith("<user_input>"));
            assertTrue(wrapped.endsWith("</user_input>"));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 19 07:04:54 GMT 2026
    - 53K bytes
    - Click Count (0)
Back to Top