Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 199 for get$default (0.09 seconds)

  1. tests/test_annotated.py

    from typing import Annotated
    
    import pytest
    from fastapi import APIRouter, FastAPI, Query
    from fastapi.testclient import TestClient
    from inline_snapshot import snapshot
    
    app = FastAPI()
    
    
    @app.get("/default")
    async def default(foo: Annotated[str, Query()] = "foo"):
        return {"foo": foo}
    
    
    @app.get("/required")
    async def required(foo: Annotated[str, Query(min_length=1)]):
        return {"foo": foo}
    
    
    @app.get("/multiple")
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Feb 08 10:18:38 GMT 2026
    - 10.5K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/util/concurrent/AtomicDoubleTest.java

      }
    
      /** constructor initializes to given value */
      public void testConstructor() {
        for (double x : VALUES) {
          AtomicDouble a = new AtomicDouble(x);
          assertBitEquals(x, a.get());
        }
      }
    
      /** default constructed initializes to zero */
      public void testConstructor2() {
        AtomicDouble a = new AtomicDouble();
        assertBitEquals(0.0, a.get());
      }
    
      /** get returns the last value set */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 10.6K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/AtomicDoubleTest.java

      }
    
      /** constructor initializes to given value */
      public void testConstructor() {
        for (double x : VALUES) {
          AtomicDouble a = new AtomicDouble(x);
          assertBitEquals(x, a.get());
        }
      }
    
      /** default constructed initializes to zero */
      public void testConstructor2() {
        AtomicDouble a = new AtomicDouble();
        assertBitEquals(0.0, a.get());
      }
    
      /** get returns the last value set */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 7.3K bytes
    - Click Count (0)
  4. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultLifecycleExecutionPlanCalculator.java

                // so fall back to the default mojo execution configurator.
                //
                mojoExecutionConfigurator = mojoExecutionConfigurators.get("default");
            }
            return mojoExecutionConfigurator;
        }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Mar 25 09:45:07 GMT 2025
    - 26.7K bytes
    - Click Count (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/LegacyRepositorySystem.java

                ArtifactRepositoryPolicy snapshots,
                ArtifactRepositoryPolicy releases) {
            if (repositoryLayout == null) {
                repositoryLayout = layouts.get("default");
            }
            return artifactRepositoryFactory.createArtifactRepository(
                    repositoryId, url, repositoryLayout, snapshots, releases);
        }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 31.2K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/helper/CrawlingConfigHelper.java

                    case DATA -> {
                        final DataConfigService dataConfigService = ComponentUtil.getComponent(DataConfigService.class);
                        yield dataConfigService.getDataConfig(id).get();
                    }
                    default -> null;
                    };
                });
            } catch (final Exception e) {
                logger.warn("Failed to access a crawling config cache: {}", configId, e);
                return null;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 19.5K bytes
    - Click Count (1)
  7. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/concurrent/BuildPlanExecutor.java

                // so fall back to the default mojo execution configurator.
                //
                mojoExecutionConfigurator = mojoExecutionConfigurators.get("default");
            }
            return mojoExecutionConfigurator;
        }
    
        public static void attachToThread(MavenProject currentProject) {
            ClassRealm projectRealm = currentProject.getClassRealm();
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Oct 16 06:12:36 GMT 2025
    - 55.1K bytes
    - Click Count (0)
  8. okhttp/src/androidMain/baseline-prof.txt

    HSPLokio/OutputStreamSink;->close()V
    HSPLokio/OutputStreamSink;->flush()V
    HSPLokio/OutputStreamSink;->write(Lokio/Buffer;J)V
    HSPLokio/Path$Companion;-><init>(Landroidx/lifecycle/viewmodel/R$id;)V
    HSPLokio/Path$Companion;->get$default(Lokio/Path$Companion;Ljava/io/File;ZI)Lokio/Path;
    HSPLokio/Path$Companion;->get(Ljava/lang/String;Z)Lokio/Path;
    HSPLokio/Path;-><clinit>()V
    HSPLokio/Path;-><init>(Lokio/ByteString;)V
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Mon Dec 30 23:28:56 GMT 2024
    - 127.9K bytes
    - Click Count (1)
  9. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessUserTimeZoneProcessProviderTest.java

            assertEquals(TimeZone.getDefault(), result);
        }
    
        // Test getRequestedTimeZone() with different default time zone
        @Test
        public void test_getRequestedTimeZone_withDifferentDefaultTimeZone() {
            // Store original time zone
            TimeZone originalTimeZone = TimeZone.getDefault();
    
            try {
                // Change default time zone temporarily
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 7.2K bytes
    - Click Count (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/OkHttpClientTest.kt

        }
      }
    
      companion object {
        private val DEFAULT_PROXY_SELECTOR = ProxySelector.getDefault()
        private val DEFAULT_COOKIE_HANDLER = CookieManager.getDefault()
        private val DEFAULT_RESPONSE_CACHE = ResponseCache.getDefault()
      }
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Feb 03 22:17:59 GMT 2026
    - 13.4K bytes
    - Click Count (1)
Back to Top