Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 6631 - 6640 of 7,804 for RETURN (0.07 seconds)

  1. tests/test_security_oauth2_authorization_code_bearer_description.py

        authorizationUrl="authorize",
        tokenUrl="token",
        description="OAuth2 Code Bearer",
        auto_error=True,
    )
    
    
    @app.get("/items/")
    async def read_items(token: str | None = Security(oauth2_scheme)):
        return {"token": token}
    
    
    client = TestClient(app)
    
    
    def test_no_token():
        response = client.get("/items")
        assert response.status_code == 401, response.text
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 2.5K bytes
    - Click Count (0)
  2. okhttp-tls/src/main/kotlin/okhttp3/tls/Certificates.kt

        val certificateFactory = CertificateFactory.getInstance("X.509")
        val certificates =
          certificateFactory
            .generateCertificates(
              Buffer().writeUtf8(this).inputStream(),
            )
    
        return certificates.single() as X509Certificate
      } catch (nsee: NoSuchElementException) {
        throw IllegalArgumentException("failed to decode certificate", nsee)
      } catch (iae: IllegalArgumentException) {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/concurrent/Lockable.kt

      }
    }
    
    @OptIn(ExperimentalContracts::class)
    inline fun <T> Lockable.withLock(action: () -> T): T {
      contract { callsInPlace(action, InvocationKind.EXACTLY_ONCE) }
      return synchronized(this, action)
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed May 28 23:28:25 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  4. okcurl/src/main/kotlin/okhttp3/curl/logging/LoggingUtil.kt

                activeLogger.addHandler(handler)
              }
            }
          }
        }
    
        fun getLogger(name: String): Logger {
          val logger = Logger.getLogger(name)
          activeLoggers.add(logger)
          return logger
        }
      }
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Apr 05 03:30:42 GMT 2024
    - 2.7K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/core/xml/SAXParserFactoryUtilTest.java

                    final InputSource is = new InputSource(ResourceUtil.getResourceAsStream("org/codelibs/core/xml/included.xml"));
                    is.setSystemId("included.xml");
                    return is;
                }
    
            });
            assertTrue(included);
        }
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  6. impl/maven-core/src/main/java/org/apache/maven/artifact/handler/manager/LegacyArtifactHandlerManager.java

                if (handler == null) {
                    handler = new DefaultArtifactHandler(type);
                } else {
                    allHandlers.put(type, handler);
                }
            }
            return handler;
        }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jan 10 08:42:00 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  7. mockwebserver/src/main/kotlin/mockwebserver3/MockResponse.kt

          require(statusParts.size >= 2) { "Unexpected status: $status" }
          return statusParts[1].toInt()
        }
    
      public val message: String
        get() {
          val statusParts = status.split(' ', limit = 3)
          require(statusParts.size >= 2) { "Unexpected status: $status" }
          return statusParts[2]
        }
    
      public val headers: Headers
      public val trailers: Headers
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Jun 20 11:46:46 GMT 2025
    - 17.8K bytes
    - Click Count (0)
  8. src/main/webapp/js/admin/plugins/form-validator/lang/vi.js

     *
     *  @version 2.3.77
     *  @website http://formvalidator.net/
     *  @author Victor Jonsson, http://victorjonsson.se
     *  @license MIT
     */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Jan 01 05:12:47 GMT 2018
    - 2.5K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/collect/MapMakerTest.java

          this.delayLatch = delayLatch;
        }
    
        @CanIgnoreReturnValue // Sure, why not?
        @Override
        public T apply(T key) {
          awaitUninterruptibly(delayLatch);
          return key;
        }
      }
    
      /*
       * TODO(cpovirk): eliminate duplication between these tests and those in LegacyMapMakerTests and
       * anywhere else
       */
    
      public void testInitialCapacity_negative() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/util/concurrent/TestPlatform.java

       */
      static <V extends @Nullable Object> V getDoneFromTimeoutOverload(Future<V> future)
          throws ExecutionException {
        checkState(future.isDone(), "Future was expected to be done: %s", future);
        try {
          return getUninterruptibly(future, 0, SECONDS);
        } catch (TimeoutException e) {
          throw new AssertionError(e);
        }
      }
    
      private TestPlatform() {}
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 2.7K bytes
    - Click Count (0)
Back to Top