- Sort Score
- Result 10 results
- Languages All
Results 3201 - 3210 of 3,402 for rint (0.04 sec)
-
guava-tests/test/com/google/common/base/StringsTest.java
assertEquals("20", Strings.repeat(input, 1)); assertEquals("2020", Strings.repeat(input, 2)); assertEquals("202020", Strings.repeat(input, 3)); assertEquals("", Strings.repeat("", 4)); for (int i = 0; i < 100; ++i) { assertEquals(2 * i, Strings.repeat(input, i).length()); } assertThrows(IllegalArgumentException.class, () -> Strings.repeat("x", -1)); assertThrows(
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Sep 17 18:14:12 UTC 2024 - 10.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/CloserTest.java
return closeable.equals(other.closeable) && thrown.equals(other.thrown) && suppressed.equals(other.suppressed); } return false; } @Override public int hashCode() { return Objects.hashCode(closeable, thrown, suppressed); } @Override public String toString() { return MoreObjects.toStringHelper(this) .add("closeable", closeable)
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue May 07 15:26:58 UTC 2024 - 11.8K bytes - Viewed (0) -
guava/src/com/google/common/collect/RangeMap.java
* #asMapOfRanges()}. */ @Override boolean equals(@CheckForNull Object o); /** Returns {@code asMapOfRanges().hashCode()}. */ @Override int hashCode(); /** Returns a readable string representation of this range map. */ @Override String toString();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Feb 22 21:19:52 UTC 2024 - 7.7K bytes - Viewed (0) -
docs/en/docs/tutorial/body.md
The function parameters will be recognized as follows: * If the parameter is also declared in the **path**, it will be used as a path parameter. * If the parameter is of a **singular type** (like `int`, `float`, `str`, `bool`, etc) it will be interpreted as a **query** parameter. * If the parameter is declared to be of the type of a **Pydantic model**, it will be interpreted as a request **body**. /// note
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 27 16:58:19 UTC 2024 - 6.6K bytes - Viewed (0) -
docs/fr/docs/tutorial/body.md
Les paramètres de la fonction seront reconnus comme tel : * Si le paramètre est aussi déclaré dans le **chemin**, il sera utilisé comme paramètre de chemin. * Si le paramètre est d'un **type singulier** (comme `int`, `float`, `str`, `bool`, etc.), il sera interprété comme un paramètre de **requête**. * Si le paramètre est déclaré comme ayant pour type un **modèle Pydantic**, il sera interprété comme faisant partie du **corps** de la requête.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 27 17:34:41 UTC 2024 - 7.6K bytes - Viewed (0) -
docs/ru/docs/tutorial/first-steps.md
/// ### Шаг 5: верните результат ```Python hl_lines="8" {!../../docs_src/first_steps/tutorial001.py!} ``` Вы можете вернуть `dict`, `list`, отдельные значения `str`, `int` и т.д. Также можно вернуть модели Pydantic (рассмотрим это позже).
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 13.1K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt
*/ fun skipConnectBody(response: Response) { val contentLength = response.headersContentLength() if (contentLength == -1L) return val body = newFixedLengthSource(contentLength) body.skipAll(Int.MAX_VALUE, MILLISECONDS) body.close() } /** An HTTP request body. */ private inner class KnownLengthSink : Sink { private val timeout = ForwardingTimeout(sink.timeout())
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 16.2K bytes - Viewed (0) -
cmd/bucket-object-lock.go
} // Pass in relative days from current time, to additionally // to verify "object-lock-remaining-retention-days" policy if any. days := int(math.Ceil(math.Abs(objRetention.RetainUntilDate.Sub(t).Hours()) / 24)) ret := objectlock.GetObjectRetentionMeta(oi.UserDefined) if ret.Mode.Valid() { // Retention has expired you may change whatever you like.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 13.2K bytes - Viewed (0) -
cmd/bucket-stats.go
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Sep 12 11:39:51 UTC 2024 - 13.4K bytes - Viewed (0) -
cmd/postpolicyform.go
// toInteger _ Safely convert interface to integer without causing panic. func toInteger(val interface{}) (int64, error) { switch v := val.(type) { case float64: return int64(v), nil case int64: return v, nil case int: return int64(v), nil case string: i, err := strconv.Atoi(v) return int64(i), err default: return 0, errors.New("Invalid number format") } }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Sep 23 19:35:41 UTC 2024 - 12.4K bytes - Viewed (0)