- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 12 for FromString (0.06 sec)
-
android/guava-tests/test/com/google/common/net/HostAndPortTest.java
assertEquals(80, HostAndPort.fromString("host:80").getPortOrDefault(123)); assertEquals(123, HostAndPort.fromString("host").getPortOrDefault(123)); } public void testHashCodeAndEquals() { HostAndPort hpNoPort1 = HostAndPort.fromString("foo::123"); HostAndPort hpNoPort2 = HostAndPort.fromString("foo::123"); HostAndPort hpNoPort3 = HostAndPort.fromString("[foo::123]");
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 15:41:36 UTC 2024 - 9.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/HashCodeTest.java
assertThrows(IllegalArgumentException.class, () -> HashCode.fromString("7")); HashCode unused = HashCode.fromString("7f"); } public void testFromStringFailsWithOddLengthInput() { assertThrows(IllegalArgumentException.class, () -> HashCode.fromString("7f8")); } public void testIntWriteBytesTo() { byte[] dest = new byte[4];
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 14:28:19 UTC 2024 - 13.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/HashCodeTest.java
assertThrows(IllegalArgumentException.class, () -> HashCode.fromString("7")); HashCode unused = HashCode.fromString("7f"); } public void testFromStringFailsWithOddLengthInput() { assertThrows(IllegalArgumentException.class, () -> HashCode.fromString("7f8")); } public void testIntWriteBytesTo() { byte[] dest = new byte[4];
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 14:28:19 UTC 2024 - 13.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/CacheBuilderSpecTest.java
assertSame(value, cache.getUnchecked(key)); assertEquals(0, cache.size()); assertFalse(cache.asMap().containsKey(key)); } public void testCacheBuilderFrom_string() { CacheBuilder<?, ?> fromString = CacheBuilder.from( "initialCapacity=10,maximumSize=20,concurrencyLevel=30," + "weakKeys,weakValues,expireAfterAccess=10m"); CacheBuilder<?, ?> expected =
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 19:07:49 UTC 2024 - 19.1K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/configuration/internal/DefaultBeanConfigurator.java
@Override public boolean canConvert(Class<?> type) { return Path.class.equals(type); } @Override protected Object fromString(String value) throws ComponentConfigurationException { return Paths.get(value.replace('/' == File.separatorChar ? '\\' : '/', File.separatorChar)); } @Override
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 8.2K bytes - Viewed (0) -
internal/s3select/simdj/record.go
} func iterToValue(iter simdjson.Iter) (*sql.Value, error) { switch iter.Type() { case simdjson.TypeString: v, err := iter.String() if err != nil { return nil, err } return sql.FromString(v), nil case simdjson.TypeFloat: v, err := iter.Float() if err != nil { return nil, err } return sql.FromFloat(v), nil case simdjson.TypeInt: v, err := iter.Int() if err != nil {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Sep 23 19:35:41 UTC 2024 - 5.4K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/HashCode.java
* lenient {@code base 16} decoding, please use {@link com.google.common.io.BaseEncoding#decode} * (and pass the result to {@link #fromBytes}). * * @since 15.0 */ public static HashCode fromString(String string) { checkArgument( string.length() >= 2, "input string (%s) must have at least 2 characters", string); checkArgument( string.length() % 2 == 0,
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 19:54:59 UTC 2024 - 12.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/CacheBuilderSpecTest.java
assertSame(value, cache.getUnchecked(key)); assertEquals(0, cache.size()); assertFalse(cache.asMap().containsKey(key)); } public void testCacheBuilderFrom_string() { CacheBuilder<?, ?> fromString = CacheBuilder.from( "initialCapacity=10,maximumSize=20,concurrencyLevel=30," + "weakKeys,weakValues,expireAfterAccess=10m"); CacheBuilder<?, ?> expected =
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 19:07:49 UTC 2024 - 19.1K bytes - Viewed (0) -
internal/s3select/sql/evaluate.go
} } // jsonToValue will convert the json value to an internal value. func jsonToValue(result interface{}) (*Value, error) { switch rval := result.(type) { case string: return FromString(rval), nil case float64: return FromFloat(rval), nil case int64: return FromInt(rval), nil case uint64: if rval <= math.MaxInt64 { return FromInt(int64(rval)), nil }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Sep 23 19:35:41 UTC 2024 - 12K bytes - Viewed (0) -
guava/src/com/google/common/hash/HashCode.java
* lenient {@code base 16} decoding, please use {@link com.google.common.io.BaseEncoding#decode} * (and pass the result to {@link #fromBytes}). * * @since 15.0 */ public static HashCode fromString(String string) { checkArgument( string.length() >= 2, "input string (%s) must have at least 2 characters", string); checkArgument( string.length() % 2 == 0,
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 19:54:59 UTC 2024 - 12.6K bytes - Viewed (0)