- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,108 for pairOf (0.51 sec)
-
platforms/core-configuration/configuration-cache/src/test/kotlin/org/gradle/internal/cc/impl/serialization/codecs/JavaObjectSerializationCodecTest.kt
val writeObjectBean = SerializableWriteObjectBean(Pair(writeReplaceBean, writeReplaceBean)) pairOf(writeObjectBean) }) { (first, second) -> assertThat( first, sameInstance(second) ) val decodedPair = first.value as Pair<*, *> assertThat( decodedPair.first,
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 16.1K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/main/java/org/gradle/internal/Pair.java
return right; } public static <L, R> Pair<L, R> of(@Nullable L left, @Nullable R right) { return new Pair<L, R>(left, right); } public <T> Pair<T, Pair<L, R>> pushLeft(T t) { return of(t, this); } public <T> Pair<Pair<L, R>, T> pushRight(T t) { return of(this, t); } public <T> Pair<Pair<T, L>, R> nestLeft(T t) { return of(of(t, left), right);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:48:02 UTC 2023 - 3.3K bytes - Viewed (0) -
src/main/java/org/codelibs/core/misc/Pair.java
Registered: Wed Jun 12 12:50:12 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 3.6K bytes - Viewed (0) -
src/net/http/mapping.go
package http // A mapping is a collection of key-value pairs where the keys are unique. // A zero mapping is empty and ready to use. // A mapping tries to pick a representation that makes [mapping.find] most efficient. type mapping[K comparable, V any] struct { s []entry[K, V] // for few pairs m map[K]V // for many pairs } type entry[K comparable, V any] struct { key K value V }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 12 17:47:07 UTC 2023 - 1.7K bytes - Viewed (0) -
guava/src/com/google/common/collect/Multimap.java
// Modification Operations /** * Stores a key-value pair in this multimap. * * <p>Some multimap implementations allow duplicate key-value pairs, in which case {@code put} * always adds a new key-value pair and increases the multimap size by 1. Other implementations * prohibit duplicates, and storing a key-value pair that's already in the multimap has no effect. *
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Sat Jun 17 14:40:53 UTC 2023 - 15.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Multimap.java
// Modification Operations /** * Stores a key-value pair in this multimap. * * <p>Some multimap implementations allow duplicate key-value pairs, in which case {@code put} * always adds a new key-value pair and increases the multimap size by 1. Other implementations * prohibit duplicates, and storing a key-value pair that's already in the multimap has no effect. *
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Sat Jun 17 14:40:53 UTC 2023 - 15.1K bytes - Viewed (0) -
guava/src/com/google/common/math/PairedStatsAccumulator.java
/** * Returns the population covariance of the values. The count must be non-zero. * * <p>This is guaranteed to return zero if the dataset contains a single pair of finite values. It * is not guaranteed to return zero when the dataset consists of the same pair of values multiple * times, due to numerical errors. * * <h3>Non-finite values</h3> *
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri May 12 17:02:53 UTC 2023 - 10.3K bytes - Viewed (0) -
android/guava/src/com/google/common/math/PairedStatsAccumulator.java
/** * Returns the population covariance of the values. The count must be non-zero. * * <p>This is guaranteed to return zero if the dataset contains a single pair of finite values. It * is not guaranteed to return zero when the dataset consists of the same pair of values multiple * times, due to numerical errors. * * <h3>Non-finite values</h3> *
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri May 12 17:02:53 UTC 2023 - 10.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/filter/EncodingFilter.java
final Map<String, List<String>> paramListMap = new HashMap<>(); final String[] pairs = queryString.split("&"); try { for (final String pair : pairs) { final int pos = pair.indexOf('='); if (pos >= 0) { final String key = urlCodec.decode(pair.substring(0, pos), enc); List<String> list = paramListMap.get(key);
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 6.9K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/HeadersKotlinTest.kt
assertThat(headers["e"]).isNull() } @Test fun iteratorOperator() { val headers = headersOf("a", "b", "c", "d") val pairs = mutableListOf<Pair<String, String>>() for ((name, value) in headers) { pairs += name to value } assertThat(pairs).containsExactly("a" to "b", "c" to "d") } @Test fun builderGetOperator() { val builder = Headers.Builder() builder.add("a", "b")
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Thu Dec 21 01:54:49 UTC 2023 - 2K bytes - Viewed (0)