Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1661 - 1670 of 3,875 for False (0.03 seconds)

  1. fastapi/dependencies/utils.py

        if origin is not Union and origin is not UnionType:
            return False
    
        union_args = get_args(field_type)
    
        for arg in union_args:
            if not lenient_issubclass(arg, BaseModel):
                return False
    
        return True
    
    
    def _should_embed_body_fields(fields: list[ModelField]) -> bool:
        if not fields:
            return False
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 15 11:44:39 GMT 2026
    - 38.7K bytes
    - Click Count (3)
  2. src/test/java/org/codelibs/fess/thumbnail/impl/EmptyGeneratorTest.java

        @Test
        public void test_generate() {
            // Initialize without container
            emptyGenerator = new EmptyGenerator();
    
            // Test that generate always returns false
            File outputFile = new File("test.jpg");
            assertFalse(emptyGenerator.generate("thumbnailId", outputFile));
            assertFalse(emptyGenerator.generate(null, outputFile));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 6.5K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/exception/ScheduledJobExceptionTest.java

        }
    
        @Test
        public void test_throwAndCatch() {
            // Test throwing and catching the exception
            String expectedMessage = "Job execution failed";
            boolean exceptionCaught = false;
    
            try {
                throw new ScheduledJobException(expectedMessage);
            } catch (ScheduledJobException e) {
                exceptionCaught = true;
                assertEquals(expectedMessage, e.getMessage());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 6.9K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/util/concurrent/FutureCallbackTest.java

        SettableFuture<String> f = SettableFuture.create();
        FutureCallback<String> callback =
            new FutureCallback<String>() {
              private final Object monitor = new Object();
              private boolean called = false;
    
              @Override
              public void onSuccess(String result) {
                fail("Was not expecting onSuccess() to be called.");
              }
    
              @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 15:59:55 GMT 2026
    - 6.7K bytes
    - Click Count (0)
  5. tests/benchmarks/test_general_performance.py

        assert status_code == 200
        assert body == b'{"received":300}'
    
    
    def _expected_large_payload_json_bytes() -> bytes:
        return json.dumps(
            LARGE_PAYLOAD,
            ensure_ascii=False,
            allow_nan=False,
            separators=(",", ":"),
        ).encode("utf-8")
    
    
    def test_sync_return_large_dict_without_response_model(
        benchmark, client: TestClient
    ) -> None:
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Dec 26 20:40:26 GMT 2025
    - 11.1K bytes
    - Click Count (0)
  6. samples/tlssurvey/build.gradle.kts

      implementation(libs.square.retrofit.converter.moshi)
      implementation(libs.square.moshi)
      implementation(libs.square.moshi.kotlin)
    
      ksp(libs.square.moshi.compiler)
    }
    
    tasks.compileJava {
      options.isWarnings = false
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Feb 03 22:17:59 GMT 2026
    - 636 bytes
    - Click Count (0)
  7. .ci/jobs.t/elastic+elasticsearch+branch-protection.yml

              set +x
              STATUS=$(curl -s https://api.github.com/repos/elastic/elasticsearch/branches/%BRANCH% | jq '.protected')
              echo "Branch %BRANCH% protection status is: $STATUS"
              if [[ "$STATUS" == "false" ]]; then
                echo "Development branch %BRANCH% is not set as protected in GitHub but should be."
                exit 1
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Thu May 06 21:46:09 GMT 2021
    - 715 bytes
    - Click Count (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/services/LifecycleRegistry.java

    import org.apache.maven.api.Lifecycle;
    
    public interface LifecycleRegistry extends ExtensibleEnumRegistry<Lifecycle>, Iterable<Lifecycle> {
    
        default Stream<Lifecycle> stream() {
            return StreamSupport.stream(spliterator(), false);
        }
    
        List<String> computePhases(Lifecycle lifecycle);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Aug 29 05:48:54 GMT 2024
    - 1.2K bytes
    - Click Count (0)
  9. src/test/java/jcifs/SmbFileHandleTest.java

        }
    
        /**
         * Test isValid() when the handle is invalid.
         */
        @Test
        void testIsValid_whenInvalid() {
            when(smbFileHandle.isValid()).thenReturn(false);
            assertFalse(smbFileHandle.isValid(), "isValid should return false when the handle is invalid.");
            verify(smbFileHandle, times(1)).isValid();
        }
    
        /**
         * Test close(long) successfully.
         *
         * @throws CIFSException
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.1K bytes
    - Click Count (0)
  10. src/main/java/jcifs/smb1/netbios/NameServiceClient.java

                            nid = request.nameTrnId;
    
                            out.setAddress(request.addr);
                            out.setLength(request.writeWireFormat(snd_buf, 0));
                            response.received = false;
    
                            responseTable.put(nid, response);
                            ensureOpen(timeout + 1000);
                            socket.send(out);
    
                            if (LogStream.level > 3) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 17.6K bytes
    - Click Count (0)
Back to Top