- Sort Score
- Num 10 results
- Language All
Results 41 - 50 of 522 for float32 (0.05 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
docs/ru/docs/tutorial/path-params-numeric-validations.md
{* ../../docs_src/path_params_numeric_validations/tutorial005_an_py310.py hl[10] *} ## Валидация числовых данных: числа с плавающей точкой, больше и меньше { #number-validations-floats-greater-than-and-less-than } Валидация также применима к значениям типа `float`.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:56:20 GMT 2026 - 10.5K bytes - Click Count (0) -
docs/zh-hant/docs/tutorial/path-params-numeric-validations.md
* `gt`:大於(`g`reater `t`han) * `le`:小於或等於(`l`ess than or `e`qual) {* ../../docs_src/path_params_numeric_validations/tutorial005_an_py310.py hl[10] *} ## 數值驗證:浮點數、大於與小於 { #number-validations-floats-greater-than-and-less-than } 數值驗證也適用於 `float`。 這時就能看出能宣告 <abbr title="greater than - 大於"><code>gt</code></abbr>(不只是 <abbr title="greater than or equal - 大於或等於"><code>ge</code></abbr>)的重要性。因為你可以要求數值必須大於 `0`,即便它小於 `1`。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 5.8K bytes - Click Count (0) -
cmd/bucket-stats.go
} if count > 0 { lrg := XferStats{ Avg: lavg / float64(count), Curr: lcurr / float64(count), Peak: lpeak, } sml := XferStats{ Avg: savg / float64(count), Curr: scurr / float64(count), Peak: speak, } qs.XferStats[Large] = lrg qs.XferStats[Small] = sml qs.XferStats[Total] = XferStats{ Avg: (savg + lavg) / float64(count), Curr: (lcurr + scurr) / float64(count),
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 13.5K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/primitives/BytesTest.java
List<Float> floats = Arrays.asList(0.0f, 1.0f, 2.0f); List<Long> longs = Arrays.asList(0L, 1L, 2L); List<Double> doubles = Arrays.asList(0.0, 1.0, 2.0); assertThat(Bytes.toArray(bytes)).isEqualTo(array); assertThat(Bytes.toArray(shorts)).isEqualTo(array); assertThat(Bytes.toArray(ints)).isEqualTo(array); assertThat(Bytes.toArray(floats)).isEqualTo(array);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 01:43:32 GMT 2026 - 17.5K bytes - Click Count (0) -
cmd/metrics-v3-cluster-notification.go
return nil } nstats := globalEventNotifier.targetList.Stats() m.Set(notificationCurrentSendInProgress, float64(nstats.CurrentSendCalls)) m.Set(notificationEventsErrorsTotal, float64(nstats.EventsErrorsTotal)) m.Set(notificationEventsSentTotal, float64(nstats.TotalEvents)) m.Set(notificationEventsSkippedTotal, float64(nstats.EventsSkipped)) return nil
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Apr 24 04:10:35 GMT 2024 - 2.2K bytes - Click Count (0) -
internal/bucket/bandwidth/measurement.go
m.expMovingAvg = float64(bytesSinceLastWindow) / duration.Seconds() return } increment := float64(bytesSinceLastWindow) / duration.Seconds() m.expMovingAvg = exponentialMovingAverage(betaBucket, m.expMovingAvg, increment) } // exponentialMovingAverage calculates the exponential moving average func exponentialMovingAverage(beta, previousAvg, incrementAvg float64) float64 {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sat Jun 03 20:41:51 GMT 2023 - 2.9K bytes - Click Count (0) -
cmd/dynamic-timeouts_test.go
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 5.2K bytes - Click Count (0) -
logger/logger.go
if rows == -1 { l.Printf(l.traceWarnStr, utils.FileWithLineNum(), slowLog, float64(elapsed.Nanoseconds())/1e6, "-", sql) } else { l.Printf(l.traceWarnStr, utils.FileWithLineNum(), slowLog, float64(elapsed.Nanoseconds())/1e6, rows, sql) } case l.LogLevel == Info: sql, rows := fc() if rows == -1 { l.Printf(l.traceStr, utils.FileWithLineNum(), float64(elapsed.Nanoseconds())/1e6, "-", sql) } else {Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Sat Mar 21 11:35:55 GMT 2026 - 6.3K bytes - Click Count (0) -
cmd/metrics-v3-audit.go
audit := logger.CurrentStats() for id, st := range audit { labels := []string{targetID, id} m.Set(auditFailedMessages, float64(st.FailedMessages), labels...) m.Set(auditTargetQueueLength, float64(st.QueueLength), labels...) m.Set(auditTotalMessages, float64(st.TotalMessages), labels...) } return nil
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri May 10 14:50:39 GMT 2024 - 1.9K bytes - Click Count (0) -
internal/jwt/parser_test.go
defaultKeyFunc, &MapClaims{ MapClaims: jwt.MapClaims{ "foo": "bar", "exp": float64(time.Now().Unix() - 100), }, }, false, -1, }, { "basic nbf", "", // autogen defaultKeyFunc, &MapClaims{ MapClaims: jwt.MapClaims{ "foo": "bar", "nbf": float64(time.Now().Unix() + 100), }, }, false, -1, }, { "expired and nbf",Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 6K bytes - Click Count (0)