Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1371 - 1380 of 2,344 for batch (0.07 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/tls/BasicTrustRootIndex.kt

        val subjectCaCerts = subjectToCaCerts[issuer] ?: return null
    
        return subjectCaCerts.firstOrNull {
          try {
            cert.verify(it.publicKey)
            return@firstOrNull true
          } catch (_: Exception) {
            return@firstOrNull false
          }
        }
      }
    
      override fun equals(other: Any?): Boolean =
        other === this ||
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/internal/platform/Jdk9PlatformTest.kt

        platform.assumeJdk8()
        try {
          SSLSocket::class.java.getMethod("getApplicationProtocol")
          // also present on JDK8 after build 252.
          assertThat(buildIfSupported()).isNotNull()
        } catch (nsme: NoSuchMethodException) {
          assertThat(buildIfSupported()).isNull()
        }
      }
    
      @Test
      fun testToStringIsClassname() {
        assertThat(Jdk9Platform().toString()).isEqualTo("Jdk9Platform")
      }
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 2K bytes
    - Viewed (0)
  3. docs/ja/llm-prompt.md

    ### Target language
    
    Translate to Japanese (日本語).
    
    Language code: ja.
    
    ### Grammar and tone
    
    1) Use polite, instructional Japanese (です/ます調).
    2) Keep the tone concise and technical (match existing Japanese FastAPI docs).
    
    ### Headings
    
    1) Follow the existing Japanese style: short, descriptive headings (often noun phrases), e.g. 「チェック」.
    2) Do not add a trailing period at the end of headings.
    
    ### Quotes
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 20 17:30:52 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  4. tests/test_dependency_after_yield_raise.py

    def test_catching():
        response = client.get("/catching")
        assert response.status_code == 418
        assert response.json() == {"detail": "Session error"}
    
    
    def test_broken_raise():
        with pytest.raises(ValueError, match="Broken after yield"):
            client.get("/broken")
    
    
    def test_broken_no_raise():
        """
        When a dependency with yield raises after the yield (not in an except), the
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  5. tests/test_tutorial/test_response_model/test_tutorial003_05.py

        response = client.get("/portal", params={"teleport": True}, follow_redirects=False)
        assert response.status_code == 307, response.text
        assert response.headers["location"] == "https://www.youtube.com/watch?v=dQw4w9WgXcQ"
    
    
    def test_openapi_schema(client: TestClient):
        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
        assert response.json() == {
            "openapi": "3.1.0",
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  6. fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/TransformerTest.java

                        content = content.replaceAll(rule.getKey(), rule.getValue());
                    }
                    resultData.setData(content.getBytes());
                } catch (Exception e) {
                    throw new RuntimeException(e);
                }
    
                return resultData;
            }
    
            @Override
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 28K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/opensearch/config/exbhv/ScheduledJobBhv.java

        public OptionalEntity<ScheduledJob> selectByPK(final String id) {
            Exception lastException = null;
            for (int i = 0; i < 30; i++) {
                try {
                    return super.selectByPK(id);
                } catch (final Exception e) {
                    if (logger.isDebugEnabled()) {
                        logger.debug("Failed to select a job by {}", id, e);
                    }
                    lastException = e;
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  8. src/test/java/jcifs/ntlmssp/av/AvChannelBindingsTest.java

            assertEquals(AvPair.MsvAvChannelBindings, avChannelBindings.getType(), "Type should be MsvAvChannelBindings");
            assertArrayEquals(testHash, avChannelBindings.getRaw(), "Value should match the provided hash");
        }
    
        /**
         * Test that the constructor handles a null channel binding hash.
         */
        @Test
        void testConstructorWithNullHash() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/opensearch/user/exbhv/GroupBhv.java

                        .map(e -> new Pair<>(e.getKey(), (String) e.getValue()))
                        .collect(Collectors.toMap(Pair::getFirst, Pair::getSecond)));
                return result;
            } catch (InstantiationException | IllegalAccessException e) {
                final String msg = "Cannot create a new instance: " + entityType.getName();
                throw new IllegalBehaviorStateException(msg, e);
            }
        }
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/toolchain/RequirementMatcherFactory.java

                        return range.containsVersion(version);
                    } else {
                        return range.getRecommendedVersion().compareTo(version) == 0;
                    }
                } catch (InvalidVersionSpecificationException ex) {
                    return false;
                }
            }
    
            @Override
            public String toString() {
                return version.toString();
            }
        }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Feb 12 13:13:28 UTC 2025
    - 2.7K bytes
    - Viewed (0)
Back to top