- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 23 for DECIMAL (0.14 seconds)
-
fastapi/encoders.py
Our Id type is a prime example of this. >>> decimal_encoder(Decimal("1.0")) 1.0 >>> decimal_encoder(Decimal("1")) 1 >>> decimal_encoder(Decimal("NaN")) nan """ exponent = dec_value.as_tuple().exponent if isinstance(exponent, int) and exponent >= 0: return int(dec_value) else: return float(dec_value)Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Mar 15 11:44:39 GMT 2026 - 10.9K bytes - Click Count (0) -
android/guava/src/com/google/common/net/InetAddresses.java
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 19 18:53:45 GMT 2026 - 47.7K bytes - Click Count (0) -
README.md
- **Type Safe** - Comprehensive use of generics and modern Java type system features ### Additional Components - **Text Processing** (`org.codelibs.core.text`) - JSON utilities, tokenization, decimal formatting, and text manipulation - **Logging Abstraction** (`org.codelibs.core.log`) - Flexible logging system supporting JCL (Jakarta Commons Logging) and JUL (Java Util Logging)
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sun Aug 31 02:56:02 GMT 2025 - 12.7K bytes - Click Count (0) -
internal/s3select/sql/parser.go
// CastFunc represents CAST sql function type CastFunc struct { Expr *Expression `parser:" \"CAST\" \"(\" @@ "` CastType string `parser:" \"AS\" @(\"BOOL\" | \"INT\" | \"INTEGER\" | \"STRING\" | \"FLOAT\" | \"DECIMAL\" | \"NUMERIC\" | \"TIMESTAMP\") \")\" "` } // SubstringFunc represents SUBSTRING sql function type SubstringFunc struct { Expr *PrimaryTerm `parser:" \"SUBSTRING\" \"(\" @@ "`Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Thu Jan 18 07:03:17 GMT 2024 - 12.9K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-HostnamesCommon.kt
* * This matches IPv6 addresses as a hex string containing at least one colon, and possibly * including dots after the first colon. It matches IPv4 addresses as strings containing only * decimal digits and dots. This pattern matches strings like "a:.23" and "54" that are neither IP * addresses nor hostnames; they will be verified as IP addresses (which is a more strict * verification). */
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 11.2K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessTimeResourceProviderTest.java
assertTrue(defaultTz.getID().length() > 0); // Central timezone should match default assertEquals(defaultTz, FessUserTimeZoneProcessProvider.centralTimeZone); } // Test with decimal values in string (should be handled by config) @Test public void test_decimalStringValues() { FessConfig decimalConfig = new FessConfig.SimpleImpl() {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 17.8K bytes - Click Count (0) -
src/test/java/jcifs/smb/SIDTest.java
} @Test @DisplayName("Textual constructor with hex identifier authority") void testTextualConstructorHexAuthority() throws Exception { // Arrange: 0x5 == decimal 5 results in decimal authority in toString SID sid = new SID("S-1-0x000000000005-21-99"); // Act String s = sid.toString(); // Assert assertEquals("S-1-5-21-99", s);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.8K bytes - Click Count (0) -
android/guava/src/com/google/common/primitives/UnsignedLongs.java
long rem = dividend - quotient * divisor; return rem - (compare(rem, divisor) >= 0 ? divisor : 0); } /** * Returns the unsigned {@code long} value represented by the given decimal string. * * <p><b>Java 8+ users:</b> use {@link Long#parseUnsignedLong(String)} instead. * * @throws NumberFormatException if the string does not contain a valid unsigned {@code long} * valueCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Jan 05 22:13:21 GMT 2026 - 17.8K bytes - Click Count (0) -
android/guava/src/com/google/common/primitives/UnsignedInts.java
return (int) (toLong(dividend) % toLong(divisor)); } /** * Returns the unsigned {@code int} value represented by the given string. * * <p>Accepts a decimal, hexadecimal, or octal number given by specifying the following prefix: * * <ul> * <li>{@code 0x}<i>HexDigits</i> * <li>{@code 0X}<i>HexDigits</i> * <li>{@code #}<i>HexDigits</i>
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 23 16:38:16 GMT 2026 - 13.9K bytes - Click Count (0) -
src/test/java/jcifs/smb1/util/HexdumpTest.java
assertNotNull(output); // Should start at offset 0 in display but show data from offset 16 assertTrue(output.contains("00000:")); // First byte should be 0x10 (16 in decimal) assertTrue(output.contains(" 10 11 12")); } @Test @DisplayName("Should convert hex chars correctly") void testToHexChars() { // Test integer conversionCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.4K bytes - Click Count (0)