Search Options

Results per page
Sort
Preferred Languages
Advance

Results 531 - 540 of 1,842 for Another (0.1 sec)

  1. tests/test_security_http_base_description.py

    from fastapi import FastAPI, Security
    from fastapi.security.http import HTTPAuthorizationCredentials, HTTPBase
    from fastapi.testclient import TestClient
    
    app = FastAPI()
    
    security = HTTPBase(scheme="Other", description="Other Security Scheme")
    
    
    @app.get("/users/me")
    def read_current_user(credentials: HTTPAuthorizationCredentials = Security(security)):
        return {"scheme": credentials.scheme, "credentials": credentials.credentials}
    
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/tls/BasicTrustRootIndex.kt

            return@firstOrNull true
          } catch (_: Exception) {
            return@firstOrNull false
          }
        }
      }
    
      override fun equals(other: Any?): Boolean {
        return other === this ||
          (other is BasicTrustRootIndex && other.subjectToCaCerts == subjectToCaCerts)
      }
    
      override fun hashCode(): Int {
        return subjectToCaCerts.hashCode()
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/CertificatePinner.kt

        override fun toString(): String = "$hashAlgorithm/${hash.base64()}"
    
        override fun equals(other: Any?): Boolean {
          if (this === other) return true
          if (other !is Pin) return false
    
          if (pattern != other.pattern) return false
          if (hashAlgorithm != other.hashAlgorithm) return false
          if (hash != other.hash) return false
    
          return true
        }
    
        override fun hashCode(): Int {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/Handshake.kt

        level = DeprecationLevel.ERROR,
      )
      fun localPrincipal(): Principal? = localPrincipal
    
      override fun equals(other: Any?): Boolean {
        return other is Handshake &&
          other.tlsVersion == tlsVersion &&
          other.cipherSuite == cipherSuite &&
          other.peerCertificates == peerCertificates &&
          other.localCertificates == localCertificates
      }
    
      override fun hashCode(): Int {
        var result = 17
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/GeneralRange.java

          upEnd = other.getUpperEndpoint();
          upType = other.getUpperBoundType();
        } else if (other.hasUpperBound()) {
          int cmp = comparator.compare(getUpperEndpoint(), other.getUpperEndpoint());
          if (cmp > 0 || (cmp == 0 && other.getUpperBoundType() == OPEN)) {
            upEnd = other.getUpperEndpoint();
            upType = other.getUpperBoundType();
          }
        }
    
        if (hasLowBound && hasUpBound) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  6. internal/pubsub/mask.go

    	*t = Mask(m)
    }
    
    // Merge will merge other into t.
    func (t *Mask) Merge(other Mask) {
    	*t |= other
    }
    
    // MergeMaskable will merge other into t.
    func (t *Mask) MergeMaskable(other Maskable) {
    	*t |= Mask(other.Mask())
    }
    
    // SetIf will add other if b is true.
    func (t *Mask) SetIf(b bool, other Mask) {
    	if b {
    		*t |= other
    	}
    }
    
    // Mask returns the mask as a uint64.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jul 05 21:45:49 UTC 2022
    - 1.3K bytes
    - Viewed (0)
  7. code_of_conduct.md

    Project maintainers have the right and responsibility to remove, edit, or
    reject comments, commits, code, wiki edits, issues, and other contributions
    that are not aligned to this Code of Conduct, or to ban temporarily or
    permanently any contributor for other behaviors that they deem inappropriate,
    threatening, offensive, or harmful. However, these actions shall respect the
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jan 20 18:38:58 UTC 2020
    - 3.5K bytes
    - Viewed (0)
  8. compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/Restriction.java

            return result;
        }
    
        @Override
        public boolean equals(Object other) {
            if (this == other) {
                return true;
            }
    
            if (!(other instanceof Restriction)) {
                return false;
            }
    
            Restriction restriction = (Restriction) other;
            if (lowerBound != null) {
                if (!lowerBound.equals(restriction.lowerBound)) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  9. compat/maven-model-builder/src/test/java/org/apache/maven/model/profile/activation/PropertyProfileActivatorTest.java

        }
    
        @Test
        void testWithValue_UserProperty() throws Exception {
            Profile profile = newProfile("prop", "value");
    
            assertActivation(true, profile, newContext(newProperties("prop", "value"), null));
    
            assertActivation(false, profile, newContext(newProperties("prop", "other"), null));
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  10. CHANGELOG/CHANGELOG-1.3.md

      - [Changelog since v1.3.9](#changelog-since-v139)
        - [Other notable changes](#other-notable-changes)
    - [v1.3.9](#v139)
      - [Downloads](#downloads)
      - [Changelog since v1.3.8](#changelog-since-v138)
        - [Other notable changes](#other-notable-changes-1)
    - [v1.3.8](#v138)
      - [Downloads](#downloads-1)
      - [Changelog since v1.3.7](#changelog-since-v137)
        - [Other notable changes](#other-notable-changes-2)
    - [v1.3.7](#v137)
    Registered: Fri Nov 01 09:05:11 UTC 2024
    - Last Modified: Thu Dec 24 02:28:26 UTC 2020
    - 84K bytes
    - Viewed (0)
Back to top