Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1191 - 1200 of 2,619 for gets (0.33 sec)

  1. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Certificate.kt

      val signatureAlgorithm: AlgorithmIdentifier,
      val signatureValue: BitString,
    ) {
      val commonName: Any?
        get() {
          return tbsCertificate.subject
            .flatten()
            .firstOrNull { it.type == ObjectIdentifiers.COMMON_NAME }
            ?.value
        }
    
      val organizationalUnitName: Any?
        get() {
          return tbsCertificate.subject
            .flatten()
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  2. mockwebserver/src/test/java/mockwebserver3/internal/http2/Http2Server.kt

        while (true) {
          var socket: Socket? = null
          try {
            socket = serverSocket.accept()
            val sslSocket = doSsl(socket)
            val protocolString = Platform.get().getSelectedProtocol(sslSocket)
            val protocol = if (protocolString != null) get(protocolString) else null
            if (protocol != Protocol.HTTP_2) {
              throw ProtocolException("Protocol $protocol unsupported")
            }
            val connection =
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/DefaultProfileInjector.java

                    List<Plugin> pending = new ArrayList<>();
                    for (Plugin element : src) {
                        Object key = getPluginKey(element);
                        Plugin existing = master.get(key);
                        if (existing != null) {
                            mergePlugin(existing, element, sourceDominant, context);
    
                            if (!pending.isEmpty()) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 25 08:27:34 UTC 2025
    - 8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SmbAuthExceptionTest.java

                    Arguments.of(0x00001234, NtStatus.NT_STATUS_UNSUCCESSFUL));
        }
    
        @ParameterizedTest
        @MethodSource("intErrorCodes")
        @DisplayName("int ctor: sets message and NT status as expected")
        void intConstructor_populatesMessageAndStatus(int errCode, int expectedStatus) {
            // Arrange & Act: create exception with error code
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  5. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/UpgradeResult.java

    package org.apache.maven.cling.invoker.mvnup.goals;
    
    import java.nio.file.Path;
    import java.util.Collections;
    import java.util.HashSet;
    import java.util.Set;
    
    /**
     * Result of an upgrade strategy application.
     * Uses sets of paths to track which POMs were processed, modified, or had errors,
     * avoiding double-counting when multiple strategies affect the same POMs.
     *
     * @param processedPoms the set of POMs that were processed
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sat Jun 07 06:22:47 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  6. guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/LocalCache.java

        return cachingHashMap.size();
      }
    
      @Override
      public boolean isEmpty() {
        return cachingHashMap.isEmpty();
      }
    
      @Override
      public V get(Object key) {
        checkNotNull(key);
        Timestamped<V> value = cachingHashMap.get(key);
    
        if (value == null) {
          statsCounter.recordMisses(1);
          return null;
        } else if (!isExpired(value)) {
          statsCounter.recordHits(1);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 21.8K bytes
    - Viewed (0)
  7. docs_src/dependencies/tutorial014_an_py310.py

    def get_user(user_id: int, session: Annotated[Session, Depends(get_session)]):
        user = session.get(User, user_id)
        if not user:
            raise HTTPException(status_code=403, detail="Not authorized")
        session.close()
    
    
    def generate_stream(query: str):
        for ch in query:
            yield ch
            time.sleep(0.1)
    
    
    @app.get("/generate", dependencies=[Depends(get_user)])
    def generate(query: str):
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Sep 29 03:29:38 UTC 2025
    - 957 bytes
    - Viewed (0)
  8. tests/test_security_scopes.py

        def get_db():
            call_counter["count"] += 1
            return f"db_{call_counter['count']}"
    
        def get_user(db: Annotated[str, Depends(get_db)]):
            return "user"
    
        app = FastAPI()
    
        @app.get("/")
        def endpoint(
            db: Annotated[str, Depends(get_db)],
            user: Annotated[str, Security(get_user, scopes=["read"])],
        ):
            return {"db": db}
    
        return app
    
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 1006 bytes
    - Viewed (0)
  9. tests/test_security_scopes_dont_propagate.py

    ):
        return {"dep1": dep1, "dep2": dep2}
    
    
    app = FastAPI()
    
    
    @app.get("/scopes")
    def get_scopes(
        dep3: Annotated[dict[str, Any], Security(dep3, scopes=["scope3"])],
    ):
        return dep3
    
    
    client = TestClient(app)
    
    
    def test_security_scopes_dont_propagate():
        response = client.get("/scopes")
        assert response.status_code == 200
        assert response.json() == {
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 973 bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/TreeRangeMap.java

        }
    
        @Override
        public boolean containsKey(@Nullable Object key) {
          return get(key) != null;
        }
    
        @Override
        public @Nullable V get(@Nullable Object key) {
          if (key instanceof Range) {
            Range<?> range = (Range<?>) key;
            RangeMapEntry<K, V> rangeMapEntry = entriesByLowerBound.get(range.lowerBound);
            if (rangeMapEntry != null && rangeMapEntry.getKey().equals(range)) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 23 17:50:58 UTC 2025
    - 22.7K bytes
    - Viewed (0)
Back to top