Search Options

Results per page
Sort
Preferred Languages
Advance

Results 5361 - 5370 of 7,014 for _return (0.05 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/http2/flowcontrol/WindowCounter.kt

        check(total >= 0)
        check(acknowledged >= 0)
    
        this.total += total
        this.acknowledged += acknowledged
    
        check(this.acknowledged <= this.total)
      }
    
      override fun toString(): String {
        return "WindowCounter(streamId=$streamId, total=$total, acknowledged=$acknowledged, unacknowledged=$unacknowledged)"
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Fri Apr 05 03:30:42 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/pac/PacCredentialType.java

            if ( !isCredentialTypeCorrect() ) {
                throw new PACDecodingException("Invalid PAC credential type");
            }
        }
    
    
        public boolean isCredentialTypeCorrect () {
            return this.credentialType != null && this.credentialType.length < MINIMAL_BUFFER_SIZE;
        }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.4K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/DownloadedArtifact.java

     * An {@link Artifact} that has been resolved, i.e. downloaded to the local repository.
     *
     * @since 4.0.0
     */
    @Experimental
    @Immutable
    public interface DownloadedArtifact extends Artifact {
    
        /**
         * {@return the actual file that has been downloaded in the file system}
         */
        Path getPath();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Tue Aug 27 21:13:34 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/artifact/resolver/filter/ExcludesArtifactFilter.java

    public class ExcludesArtifactFilter extends IncludesArtifactFilter {
        public ExcludesArtifactFilter(List<String> patterns) {
            super(patterns);
        }
    
        public boolean include(Artifact artifact) {
            return !super.include(artifact);
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  5. tests/test_security_http_bearer_description.py

    app = FastAPI()
    
    security = HTTPBearer(description="HTTP Bearer token scheme")
    
    
    @app.get("/users/me")
    def read_current_user(credentials: HTTPAuthorizationCredentials = Security(security)):
        return {"scheme": credentials.scheme, "credentials": credentials.credentials}
    
    
    client = TestClient(app)
    
    
    def test_security_http_bearer():
        response = client.get("/users/me", headers={"Authorization": "Bearer foobar"})
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  6. tests/test_tutorial/test_query_params_str_validations/test_tutorial014_py310.py

    from ...utils import needs_py310
    
    
    @pytest.fixture(name="client")
    def get_client():
        from docs_src.query_params_str_validations.tutorial014_py310 import app
    
        client = TestClient(app)
        return client
    
    
    @needs_py310
    def test_hidden_query(client: TestClient):
        response = client.get("/items?hidden_query=somevalue")
        assert response.status_code == 200, response.text
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/opensearch/extension/kuromoji/index/analysis/KuromojiKatakanaStemmerFactory.java

            minimumLength = settings.getAsInt("minimum_length", JapaneseKatakanaStemFilter.DEFAULT_MINIMUM_LENGTH);
        }
    
        @Override
        public TokenStream create(TokenStream tokenStream) {
            return new JapaneseKatakanaStemFilter(tokenStream, minimumLength);
        }
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top