- Sort Score
- Num 10 results
- Language All
Results 241 - 250 of 454 for float32 (0.32 seconds)
-
build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/sources/KotlinSourceQueries.kt
"short" to "Short", "java.lang.Integer" to "Int", "int" to "Int", "java.lang.Long" to "Long", "long" to "Long", "java.lang.Float" to "Float", "float" to "Float", "java.lang.Double" to "Double", "double" to "Double" ) // See `org.gradle.kotlin.dsl.internal.sharedruntime.codegen.ApiTypeProviderKt.mappedTypeStrings` private
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Tue Jul 08 07:02:19 GMT 2025 - 13.2K bytes - Click Count (0) -
docs_src/pydantic_v1_in_v2/tutorial004_an_py39.py
from fastapi import FastAPI from fastapi.temp_pydantic_v1_params import Body from pydantic.v1 import BaseModel class Item(BaseModel): name: str description: Union[str, None] = None size: float app = FastAPI() @app.post("/items/") async def create_item(item: Annotated[Item, Body(embed=True)]) -> Item:
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Oct 11 16:45:54 GMT 2025 - 373 bytes - Click Count (0) -
guava-testlib/test/com/google/common/testing/ArbitraryInstancesTest.java
assertEquals(Long.valueOf(0), ArbitraryInstances.get(long.class)); assertEquals(Long.valueOf(0), ArbitraryInstances.get(Long.class)); assertEquals(Float.valueOf(0), ArbitraryInstances.get(float.class)); assertEquals(Float.valueOf(0), ArbitraryInstances.get(Float.class)); assertThat(ArbitraryInstances.get(double.class)).isEqualTo(Double.valueOf(0)); assertThat(ArbitraryInstances.get(Double.class)).isEqualTo(Double.valueOf(0));
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 11 20:45:32 GMT 2025 - 22.6K bytes - Click Count (0) -
docs_src/generate_clients/tutorial001_py39.py
from fastapi import FastAPI from pydantic import BaseModel app = FastAPI() class Item(BaseModel): name: str price: float class ResponseMessage(BaseModel): message: str @app.post("/items/", response_model=ResponseMessage) async def create_item(item: Item): return {"message": "item received"} @app.get("/items/", response_model=list[Item]) async def get_items(): return [
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri Mar 04 22:02:18 GMT 2022 - 494 bytes - Click Count (0) -
callbacks/helper_test.go
input: map[string]interface{}{ "age": 18, }, expect: clause.Values{ Columns: []clause.Column{{Name: "age"}}, Values: [][]interface{}{{18}}, }, }, { name: "Test convert float value", input: map[string]interface{}{ "score": 99.5, }, expect: clause.Values{ Columns: []clause.Column{{Name: "score"}}, Values: [][]interface{}{{99.5}}, }, }, {
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Tue Mar 05 02:22:57 GMT 2024 - 3.4K bytes - Click Count (0) -
guava-tests/test/com/google/common/base/PredicatesTest.java
assertTrue(isNumber.apply(Float.class)); } @J2ktIncompatible @GwtIncompatible // Predicates.subtypeOf public void testSubtypeOf_interface() { Predicate<Class<?>> isComparable = Predicates.subtypeOf(Comparable.class); assertTrue(isComparable.apply(Integer.class)); assertTrue(isComparable.apply(Float.class)); } @J2ktIncompatible
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 28 16:03:47 GMT 2025 - 32.3K bytes - Click Count (0) -
internal/s3select/sql/timestampfuncs.go
_, zoneOffset := t.Zone() return FromInt(int64((zoneOffset % 3600) / 60)), nil default: // This does not happen return nil, errNotImplemented } } func dateAdd(timePart string, qty float64, t time.Time) (*Value, error) { var duration time.Duration switch timePart { case timePartYear: return FromTimestamp(t.AddDate(int(qty), 0, 0)), nil case timePartMonth:
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 4.8K bytes - Click Count (0) -
docs_src/openapi_webhooks/tutorial001_py39.py
from datetime import datetime from fastapi import FastAPI from pydantic import BaseModel app = FastAPI() class Subscription(BaseModel): username: str monthly_fee: float start_date: datetime @app.webhooks.post("new-subscription") def new_subscription(body: Subscription): """ When a new user subscribes to your service we'll send you a POST request with this
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 550 bytes - Click Count (0) -
guava-tests/test/com/google/common/base/DefaultsTest.java
assertEquals(0, Defaults.defaultValue(int.class).intValue()); assertEquals(0, Defaults.defaultValue(long.class).longValue()); assertEquals(0.0f, Defaults.defaultValue(float.class).floatValue()); assertThat(Defaults.defaultValue(double.class).doubleValue()).isEqualTo(0.0d); assertThat(Defaults.defaultValue(void.class)).isNull(); assertThat(Defaults.defaultValue(String.class)).isNull(); }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 28 16:03:47 GMT 2025 - 1.7K bytes - Click Count (0) -
cmd/perf-tests.go
} }() } }(index) } time.Sleep(duration) xioutil.SafeClose(r.eof) wg.Wait() for globalNetPerfRX.ActiveConnections() != 0 { time.Sleep(time.Second) } rx := float64(globalNetPerfRX.RXSample) delta := globalNetPerfRX.firstToDisconnect.Sub(globalNetPerfRX.lastToConnect) if delta < 0 { rx = 0 errStr = "network disconnection issues detected" } globalNetPerfRX.Reset()
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 11.8K bytes - Click Count (0)