Search Options

Results per page
Sort
Preferred Languages
Advance

Results 5161 - 5170 of 6,918 for RETURN (0.09 sec)

  1. docs_src/path_params_numeric_validations/tutorial003.py

    app = FastAPI()
    
    
    @app.get("/items/{item_id}")
    async def read_items(*, item_id: int = Path(title="The ID of the item to get"), q: str):
        results = {"item_id": item_id}
        if q:
            results.update({"q": q})
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri May 13 23:38:22 UTC 2022
    - 268 bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/SocketChannelTest.kt

                val serverSslSocketFactory =
                  object : DelegatingSSLSocketFactory(sslSocketFactory) {
                    override fun configureSocket(sslSocket: SSLSocket): SSLSocket {
                      return sslSocket.apply {
                        sslParameters =
                          sslParameters.apply {
                            sniMatchers =
                              listOf(
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 8K bytes
    - Viewed (0)
  3. mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/MockResponse.kt

      }
    
      public override fun clone(): MockResponse {
        val result = super.clone() as MockResponse
        result.headersBuilder = headersBuilder.build().newBuilder()
        result.promises = promises.toMutableList()
        return result
      }
    
      @JvmName("-deprecated_getStatus")
      @Deprecated(
        message = "moved to var",
        replaceWith = ReplaceWith(expression = "status"),
        level = DeprecationLevel.ERROR,
      )
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  4. tensorflow/c/c_test_util.h

      void SetTargets(std::initializer_list<TF_Operation*> targets);
    
      void Run(TF_Status* s);
    
      void CloseAndDelete(TF_Status* s);
    
      TF_Tensor* output_tensor(int i) { return output_values_[i]; }
    
      TF_Session* mutable_session() { return session_; }
    
     private:
      void DeleteInputValues();
      void ResetOutputValues();
    
      TF_Session* session_;
      std::vector<TF_Output> inputs_;
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Aug 09 01:06:53 UTC 2018
    - 6K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultWagonManager.java

            AuthenticationInfo ai = new AuthenticationInfo();
            ai.setUserName(repository.getAuthentication().getUsername());
            ai.setPassword(repository.getAuthentication().getPassword());
            return ai;
        }
    
        private ProxyInfo proxyInfo(ArtifactRepository repository) {
            ProxyInfo proxyInfo = new ProxyInfo();
            proxyInfo.setHost(repository.getProxy().getHost());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 29.9K bytes
    - Viewed (0)
  6. tests/test_tutorial/test_dependencies/test_tutorial008c_an_py39.py

    from ...utils import needs_py39
    
    
    @pytest.fixture(name="client")
    def get_client():
        from docs_src.dependencies.tutorial008c_an_py39 import app
    
        client = TestClient(app)
        return client
    
    
    @needs_py39
    def test_get_no_item(client: TestClient):
        response = client.get("/items/foo")
        assert response.status_code == 404, response.text
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Feb 24 23:06:37 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/error/ErrorBadrequrestAction.java

        //                                                                      ==============
    
        @Execute
        public HtmlResponse index(final ErrorForm form) {
            return asHtml(virtualHost(path_Error_BadRequestJsp));
        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  8. mockwebserver/src/main/kotlin/mockwebserver3/internal/BufferMockResponseBody.kt

    package mockwebserver3.internal
    
    import mockwebserver3.MockResponseBody
    import okio.Buffer
    import okio.BufferedSink
    
    internal fun Buffer.toMockResponseBody(): MockResponseBody {
      val defensiveCopy = clone()
      return BufferMockResponseBody(defensiveCopy)
    }
    
    internal class BufferMockResponseBody(
      val buffer: Buffer,
    ) : MockResponseBody {
      override val contentLength = buffer.size
    
      override fun writeTo(sink: BufferedSink) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Jan 07 16:05:34 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  9. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/filters/BridgeForBytecodeUpgradeAdapterClassFilter.groovy

     */
    class BridgeForBytecodeUpgradeAdapterClassFilter implements ClassFilter {
    
        private static final BRIDGE_CLASS_PREFIX = "\$\$BridgeFor\$\$"
    
        @Override
        boolean matches(CtClass ctClass) {
            return ctClass.name.contains(BRIDGE_CLASS_PREFIX) && ctClass.hasAnnotation(Generated.class)
        }
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Jun 11 09:56:18 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  10. internal/logger/console.go

    func Error(msg string, data ...interface{}) {
    	if DisableLog {
    		return
    	}
    	consoleLog(errorMessage, msg, data...)
    }
    
    // Info :
    func Info(msg string, data ...interface{}) {
    	if DisableLog {
    		return
    	}
    	consoleLog(info, msg, data...)
    }
    
    // Startup :
    func Startup(msg string, data ...interface{}) {
    	if DisableLog {
    		return
    	}
    	consoleLog(startup, msg, data...)
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 12 20:51:54 UTC 2024
    - 7.5K bytes
    - Viewed (0)
Back to top