Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2091 - 2100 of 3,181 for code2 (0.03 sec)

  1. tests/test_compat.py

        # For coverage
        assert UploadFile.__get_pydantic_core_schema__(str, lambda x: None) == {}
    
    
    @needs_pydanticv1
    def test_union_scalar_list():
        # For coverage
        # TODO: there might not be a current valid code path that uses this, it would
        # potentially enable query parameters defined as both a scalar and a list
        # but that would require more refactors, also not sure it's really useful
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Sep 11 07:45:30 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/MapsTransformValuesUnmodifiableIteratorTest.java

    /**
     * Tests for {@link Maps#transformValues} when the backing map's views have iterators that don't
     * support {@code remove()}.
     *
     * @author Jared Levy
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public class MapsTransformValuesUnmodifiableIteratorTest extends MapInterfaceTest<String, String> {
      // TODO(jlevy): Move shared code of this class and MapsTransformValuesTest
      // to a superclass.
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  3. guava/src/com/google/common/util/concurrent/AbstractTransformFuture.java

    import java.util.concurrent.ExecutionException;
    import java.util.concurrent.Executor;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /** Implementations of {@code Futures.transform*}. */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    @SuppressWarnings({
      // Whenever both tests are cheap and functional, it's faster to use &, | instead of &&, ||
      "ShortCircuitBoolean",
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 13:13:32 UTC 2024
    - 11K bytes
    - Viewed (0)
  4. docs/pl/docs/tutorial/first-steps.md

    {* ../../docs_src/first_steps/tutorial001.py hl[6] *}
    
    `@app.get("/")` mówi **FastAPI** że funkcja poniżej odpowiada za obsługę żądań, które trafiają do:
    
    * ścieżki `/`
    * używając <abbr title="metoda HTTP GET">operacji <code>get</code></abbr>
    
    /// info | "`@decorator` Info"
    
    Składnia `@something` jest w Pythonie nazywana "dekoratorem".
    
    Umieszczasz to na szczycie funkcji. Jak ładną ozdobną czapkę (chyba stąd wzięła się nazwa).
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 16:51:30 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/CommandExtractor.java

                if (logger.isInfoEnabled()) {
                    if (standardOutput) {
                        logger.info("Exit Code: {}", exitValue);
                    } else {
                        logger.info("Exit Code: {} - Process Output:\n{}", exitValue, it.getOutput());
                    }
                }
                if (exitValue == 143 && mt.isTeminated()) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  6. compat/maven-model/src/test/java/org/apache/maven/model/ActivationOSTest.java

    import static org.junit.jupiter.api.Assertions.assertFalse;
    import static org.junit.jupiter.api.Assertions.assertNotNull;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    /**
     * Tests {@code ActivationOS}.
     *
     */
    class ActivationOSTest {
    
        @Test
        void testHashCodeNullSafe() {
            new ActivationOS().hashCode();
        }
    
        @Test
        void testEqualsNullSafe() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  7. compat/maven-model/src/test/java/org/apache/maven/model/PluginConfigurationTest.java

    import static org.junit.jupiter.api.Assertions.assertFalse;
    import static org.junit.jupiter.api.Assertions.assertNotNull;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    /**
     * Tests {@code PluginConfiguration}.
     *
     */
    class PluginConfigurationTest {
    
        @Test
        void testHashCodeNullSafe() {
            new PluginConfiguration().hashCode();
        }
    
        @Test
        void testEqualsNullSafe() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  8. compat/maven-model/src/test/java/org/apache/maven/model/ReportPluginTest.java

    import static org.junit.jupiter.api.Assertions.assertFalse;
    import static org.junit.jupiter.api.Assertions.assertNotNull;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    /**
     * Tests {@code ReportPlugin}.
     *
     */
    class ReportPluginTest {
    
        @Test
        void testHashCodeNullSafe() {
            new ReportPlugin().hashCode();
        }
    
        @Test
        void testEqualsNullSafe() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  9. compat/maven-model/src/test/java/org/apache/maven/model/ReportingTest.java

    import static org.junit.jupiter.api.Assertions.assertFalse;
    import static org.junit.jupiter.api.Assertions.assertNotNull;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    /**
     * Tests {@code Reporting}.
     *
     */
    class ReportingTest {
    
        @Test
        void testHashCodeNullSafe() {
            new Reporting().hashCode();
        }
    
        @Test
        void testEqualsNullSafe() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  10. impl/maven-core/src/main/java/org/apache/maven/execution/BuildResumptionData.java

     * under the License.
     */
    package org.apache.maven.execution;
    
    import java.util.List;
    
    /**
     * This class holds the information required to enable resuming a Maven build with {@code --resume}.
     */
    public class BuildResumptionData {
        /**
         * The list of projects that remain to be built.
         */
        private final List<String> remainingProjects;
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.5K bytes
    - Viewed (0)
Back to top