- Sort Score
- Result 10 results
- Languages All
Results 331 - 340 of 1,003 for input_0 (0.07 sec)
-
tests/scanner_valuer_test.go
} type StringsSlice []string func (l StringsSlice) Value() (driver.Value, error) { bytes, err := json.Marshal(l) return string(bytes), err } func (l *StringsSlice) Scan(input interface{}) error { switch value := input.(type) { case string: return json.Unmarshal([]byte(value), l) case []byte: return json.Unmarshal(value, l) default: return errors.New("not supported") } }
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Wed Jun 07 07:02:07 UTC 2023 - 10.6K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/PropertiesUtil.java
protected PropertiesUtil() { } /** * Wraps exception handling for {@link Properties#load(InputStream)}. * <p> * The input stream is not closed. * </p> * * @param props the property set (must not be {@literal null}) * @param in the input stream (must not be {@literal null}) */ public static void load(final Properties props, final InputStream in) {
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 7.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/Collections2Test.java
suite.addTestSuite(Collections2Test.class); return suite; } static final Predicate<@Nullable String> NOT_YYY_ZZZ = input -> !Objects.equals(input, "yyy") && !Objects.equals(input, "zzz"); static final Predicate<String> LENGTH_1 = input -> input.length() == 1; @J2ktIncompatible @GwtIncompatible // suite @AndroidIncompatible // test-suite builders private static Test testsForFilter() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 20.1K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Tables.java
* specified supplier, whose cells are generated by applying the provided mapping functions to the * input elements. Cells are inserted into the generated {@code Table} in encounter order. * * <p>If multiple input elements map to the same row and column, an {@code IllegalStateException} * is thrown when the collection operation is performed. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Jul 17 15:26:41 UTC 2025 - 24.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/xml/XmlEscapersTest.java
} else if (shouldEscapeQuotes && ch == '"') { assertEscaping(xmlEscaper, """, ch); } else { String input = String.valueOf(ch); String escaped = xmlEscaper.escape(input); assertEquals( "char 0x" + Integer.toString(ch, 16) + " should not be escaped", input, escaped); } } // Test that 0xFFFE and 0xFFFF are replaced with 0xFFFD
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 4.8K bytes - Viewed (0) -
docs/debugging/hash-set/main.go
sum64 := siphash.Hash(k0, k1, []byte(key)) return int(sum64 % uint64(cardinality)) } // hashOrder - hashes input key to return consistent // hashed integer slice. Returned integer order is salted // with an input key. This results in consistent order. // NOTE: collisions are fine, we are not looking for uniqueness // in the slices returned.
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Mon Sep 19 18:05:16 UTC 2022 - 3.7K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/ResourceUtil.java
/** * Returns the resource as a stream from the context class loader. * * @param path * The resource path. Must not be {@literal null} or empty string. * @return The input stream * @see #getResourceAsStream(String, String) */ public static InputStream getResourceAsStream(final String path) { assertArgumentNotEmpty("path", path);
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 14.7K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/JdkFutureAdapters.java
@J2ktIncompatible @GwtIncompatible public final class JdkFutureAdapters { /** * Assigns a thread to the given {@link Future} to provide {@link ListenableFuture} functionality. * * <p><b>Warning:</b> If the input future does not already implement {@code ListenableFuture}, the * returned future will emulate {@link ListenableFuture#addListener} by taking a thread from an
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Jul 17 15:26:41 UTC 2025 - 7.5K bytes - Viewed (0) -
guava/src/com/google/common/hash/Fingerprint2011.java
private static final long K2 = 0xc47b6e9e3a970ed3L; private static final long K3 = 0xc6a4a7935bd1e995L; @Override public HashCode hashBytes(byte[] input, int off, int len) { checkPositionIndexes(off, off + len, input.length); return HashCode.fromLong(fingerprint(input, off, len)); } @Override public int bits() { return 64; } @Override public String toString() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 6.5K bytes - Viewed (0) -
src/test/java/jcifs/pac/kerberos/KerberosRelevantAuthDataTest.java
// 1. GIVEN byte[] emptyToken = new byte[0]; Map<Integer, KerberosKey> keys = new HashMap<>(); // 2. WHEN & 3. THEN // When ASN1InputStream.readObject() returns null due to empty input, // ASN1Util.as() throws NullPointerException (not wrapped) Exception exception = assertThrows(Exception.class, () -> { new KerberosRelevantAuthData(emptyToken, keys);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9K bytes - Viewed (0)