Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 86 for get$default (0.31 seconds)

  1. internal/config/drive/drive.go

    	cfg = Config{
    		MaxTimeout: 30 * time.Second,
    	}
    	if err = config.CheckValidKeys(config.DriveSubSys, kvs, DefaultKVS); err != nil {
    		return cfg, err
    	}
    
    	// if not set. Get default value from environment
    	d := env.Get(EnvMaxDriveTimeout, env.Get(EnvMaxDriveTimeoutLegacy, env.Get(EnvMaxDiskTimeoutLegacy, kvs.GetWithDefault(MaxTimeout, DefaultKVS))))
    	if d == "" {
    		cfg.MaxTimeout = 30 * time.Second
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Mon Nov 11 14:51:43 GMT 2024
    - 3K bytes
    - Click Count (0)
  2. build-tools-internal/src/main/groovy/elasticsearch.run.gradle

        testDistribution = providers.systemProperty('run.distribution').orElse('default').forUseAtConfigurationTime().get()
        if (providers.systemProperty('run.distribution').orElse('default').forUseAtConfigurationTime().get() == 'default') {
          String licenseType = providers.systemProperty("run.license_type").orElse("basic").forUseAtConfigurationTime().get()
          if (licenseType == 'trial') {
            setting 'xpack.ml.enabled', 'true'
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Thu Sep 23 07:45:59 GMT 2021
    - 1.8K bytes
    - Click Count (0)
  3. tests/test_dump_json_fast_path.py

    from fastapi.testclient import TestClient
    from pydantic import BaseModel
    
    
    class Item(BaseModel):
        name: str
        price: float
    
    
    app = FastAPI()
    
    
    @app.get("/default")
    def get_default() -> Item:
        return Item(name="widget", price=9.99)
    
    
    @app.get("/explicit", response_class=JSONResponse)
    def get_explicit() -> Item:
        return Item(name="widget", price=9.99)
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Feb 22 16:07:19 GMT 2026
    - 1.4K bytes
    - Click Count (0)
  4. src/Make.dist

    # The -v causes dist to print the name of each directory as it runs.
    # The -vv causes dist to print each build command as it runs.
    # go tool dist clean cleans all directories, not just this one,
    # but it's as close as we can get.
    
    # Default target (first).
    install:
    	go tool dist install -v
    
    verbose:
    	go tool dist install -vv
    
    clean:
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Wed Feb 08 20:26:47 GMT 2012
    - 553 bytes
    - Click Count (0)
  5. build-conventions/src/main/java/org/elasticsearch/gradle/internal/conventions/LicensingPlugin.java

                            "Server Side Public License, v 1", "https://www.mongodb.com/licensing/server-side-public-license",
                            "Elastic License 2.0", projectLicenseURL.get())
                    )
            );
            // Default to the SSPL+Elastic dual license
            project.getExtensions().getExtraProperties().set("licenseCommit", licenseCommitProvider);
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 2.8K bytes
    - Click Count (0)
  6. 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)
  7. 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)
  8. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/RemoteSnapshotMetadataTest.java

        @BeforeEach
        void setLocaleToUseBuddhistCalendar() {
            defaultLocale = Locale.getDefault();
            Locale.setDefault(new Locale("th", "TH"));
        }
    
        @AfterEach
        void restoreLocale() {
            Locale.setDefault(defaultLocale);
        }
    
        static String gregorianDate() {
            SimpleDateFormat df = new SimpleDateFormat("yyyyMMdd");
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 3.5K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/core/misc/LocaleUtil.java

                return new Locale(parts[0], parts[1], parts[2]);
            default:
                return LocaleUtil.getDefault();
            }
        }
    
        private static Supplier<Locale> defaultLocaleSupplier;
    
        /**
         * Returns the default locale.
         *
         * @return the default locale
         */
        public static Locale getDefault() {
            if (defaultLocaleSupplier != null) {
                return defaultLocaleSupplier.get();
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Feb 12 12:10:45 GMT 2026
    - 2.3K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/core/convert/CalendarConversionUtilTest.java

        /**
         * @throws Exception
         */
        @Before
        public void setUp() throws Exception {
            TimeZone.setDefault(TimeZone.getTimeZone("GMT"));
        }
    
        /**
         * @throws Exception
         */
        @After
        public void tearDown() throws Exception {
            TimeZone.setDefault(null);
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testToCalendar() throws Exception {
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 2.4K bytes
    - Click Count (0)
Back to Top