Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 468 for float32 (0.04 sec)

  1. cmd/dynamic-timeouts.go

    	failures, maxDur := 0, time.Duration(0)
    	for _, dur := range entries[:] {
    		if dur == maxDuration {
    			failures++
    		} else if dur > maxDur {
    			maxDur = dur
    		}
    	}
    
    	failPct := float64(failures) / float64(len(entries))
    
    	if failPct > dynamicTimeoutIncreaseThresholdPct {
    		// We are hitting the timeout too often, so increase the timeout by 25%
    		timeout := min(
    			// Set upper cap.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  2. docs/uk/docs/tutorial/extra-data-types.md

    # Додаткові типи даних
    
    До цього часу, ви використовували загальнопоширені типи даних, такі як:
    
    * `int`
    * `float`
    * `str`
    * `bool`
    
    Але можна також використовувати більш складні типи даних.
    
    І ви все ще матимете ті ж можливості, які були показані до цього:
    
    * Чудова підтримка редактора.
    * Конвертація даних з вхідних запитів.
    * Конвертація даних для відповіді.
    * Валідація даних.
    * Автоматична анотація та документація.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/extra-data-types.md

    # Extra Data Types { #extra-data-types }
    
    Up to now, you have been using common data types, like:
    
    * `int`
    * `float`
    * `str`
    * `bool`
    
    But you can also use more complex data types.
    
    And you will still have the same features as seen up to now:
    
    * Great editor support.
    * Data conversion from incoming requests.
    * Data conversion for response data.
    * Data validation.
    * Automatic annotation and documentation.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  4. docs/es/docs/tutorial/extra-data-types.md

    # Tipos de Datos Extra
    
    Hasta ahora, has estado usando tipos de datos comunes, como:
    
    * `int`
    * `float`
    * `str`
    * `bool`
    
    Pero también puedes usar tipos de datos más complejos.
    
    Y seguirás teniendo las mismas funcionalidades como hasta ahora:
    
    * Gran soporte de editor.
    * Conversión de datos de requests entrantes.
    * Conversión de datos para datos de response.
    * Validación de datos.
    * Anotación y documentación automática.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  5. cmd/speedtest.go

    				}
    				sendResult()
    				break
    			}
    
    			// We break if we did not see 2.5% growth rate in total GET
    			// requests, we have reached our peak at this point.
    			doBreak := float64(totalGet-throughputHighestGet)/float64(totalGet) < 0.025
    
    			throughputHighestGet = totalGet
    			throughputHighestResults = results
    			throughputHighestPut = totalPut
    
    			if doBreak {
    				sendResult()
    				break
    			}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue May 27 15:19:03 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/query/FuzzyQueryCommandTest.java

            Term term = new Term("title", "fuzzy");
            FuzzyQuery fuzzyQuery = new FuzzyQuery(term);
    
            // Test with different boost values
            float[] boostValues = { 0.5f, 1.0f, 2.5f, 10.0f };
            for (float boost : boostValues) {
                QueryBuilder result = queryProcessor.execute(context, fuzzyQuery, boost);
                assertNotNull(result);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  7. cmd/site-replication-metrics.go

    	hourTotals := rt.LastHour.getTotal()
    	return madmin.TimedErrStats{
    		LastMinute: madmin.RStat{
    			Count: float64(minuteTotals.N),
    			Bytes: minuteTotals.Size,
    		},
    		LastHour: madmin.RStat{
    			Count: float64(hourTotals.N),
    			Bytes: hourTotals.Size,
    		},
    		Totals: madmin.RStat{
    			Count: float64(rt.SinceUptime.Count),
    			Bytes: rt.SinceUptime.Bytes,
    		},
    		ErrCounts: errCounts,
    	}
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  8. cmd/erasure.go

    	// This goroutine owns the cache.
    	var saverWg sync.WaitGroup
    	saverWg.Add(1)
    	go func() {
    		// Add jitter to the update time so multiple sets don't sync up.
    		updateTime := 30*time.Second + time.Duration(float64(10*time.Second)*rand.Float64())
    		t := time.NewTicker(updateTime)
    		defer t.Stop()
    		defer saverWg.Done()
    		var lastSave time.Time
    
    		for {
    			select {
    			case <-t.C:
    				if cache.Info.LastUpdate.Equal(lastSave) {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 16.1K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/query/TermQueryCommand.java

        @Override
        protected String getQueryClassName() {
            return TermQuery.class.getSimpleName();
        }
    
        @Override
        public QueryBuilder execute(final QueryContext context, final Query query, final float boost) {
            if (query instanceof final TermQuery termQuery) {
                if (logger.isDebugEnabled()) {
                    logger.debug("{}:{}", query, boost);
                }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 13.6K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/indexer/DocBoostMatcher.java

         * The method evaluates the boost expression and converts the result to a float value.
         * Supports Integer, Long, Float, Double, and String representations of numbers.
         *
         * @param map the document data as a map of field names to values
         * @return the calculated boost value as a float, or 0.0f if evaluation fails
         */
        public float getValue(final Map<String, Object> map) {
            if (map == null || map.isEmpty()) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 4.8K bytes
    - Viewed (0)
Back to top