- Sort Score
- Num 10 results
- Language All
Results 41 - 50 of 327 for pairs (0.02 seconds)
-
guava/src/com/google/common/collect/ListMultimap.java
import java.util.Collection; import java.util.List; import java.util.Map; import org.jspecify.annotations.Nullable; /** * A {@code Multimap} that can hold duplicate key-value pairs and that maintains the insertion * ordering of values for a given key. See the {@link Multimap} documentation for information common * to all multimaps. *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 3.4K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/Tags.kt
* limitations under the License. */ package okhttp3.internal import java.util.concurrent.atomic.AtomicReference import kotlin.reflect.KClass /** * An immutable collection of key-value pairs implemented as a singly-linked list. * * Build up a collection by starting with [EmptyTags] and repeatedly calling [plus]. Each such call * returns a new instance. *
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 3.9K bytes - Click Count (0) -
android/guava/src/com/google/common/escape/UnicodeEscaper.java
* difference. A CharEscaper can only process Java <a * href="http://en.wikipedia.org/wiki/UTF-16">UTF16</a> characters in isolation and may not cope * when it encounters surrogate pairs. This class facilitates the correct escaping of all Unicode * characters. * * <p>As there are important reasons, including potential security issues, to handle Unicode
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Jan 24 04:06:11 GMT 2026 - 13.2K bytes - Click Count (0) -
android/guava/src/com/google/common/graph/EndpointPairIterator.java
} } } } /** * If the graph is undirected, each unordered [node, otherNode] pair (except self-loops) will be * visited twice if there is an edge connecting them. To avoid returning duplicate {@link * EndpointPair}s, we keep track of the nodes that we have visited. When processing endpoint * pairs, we skip if the "other node" is in the visited set, as shown below: * * <pre> * Nodes = {N1, N2, N3, N4}Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 4.9K bytes - Click Count (0) -
src/test/java/jcifs/smb/DosErrorTest.java
// Returns -1 if the DOS code is not mapped. private static int findNtStatusOrMinusOne(int dosCode) { for (int[] pair : DosError.DOS_ERROR_CODES) { // each pair is [dosCode, ntStatus] if (pair != null && pair.length == 2 && pair[0] == dosCode) { return pair[1]; } } return -1; }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.9K bytes - Click Count (0) -
guava-tests/test/com/google/common/escape/UnicodeEscaperTest.java
// Build up a range of surrogate pair characters to test int min = Character.MIN_SUPPLEMENTARY_CODE_POINT; int max = Character.MAX_CODE_POINT; int range = max - min; int s1 = min + (1 * range) / 4; int s2 = min + (2 * range) / 4; int s3 = min + (3 * range) / 4; char[] dst = new char[12]; // Put surrogate pairs at odd indices so they can be split easily dst[0] = 'x';Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 03 05:21:26 GMT 2026 - 6K bytes - Click Count (0) -
guava/src/com/google/common/base/Strings.java
return new String(array); } /** * Returns the longest string {@code prefix} such that {@code a.toString().startsWith(prefix) && * b.toString().startsWith(prefix)}, taking care not to split surrogate pairs. If {@code a} and * {@code b} have no common prefix, returns the empty string. * * @since 11.0 */ public static String commonPrefix(CharSequence a, CharSequence b) { checkNotNull(a);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 29 22:14:05 GMT 2026 - 12.5K bytes - Click Count (0) -
android/guava/src/com/google/common/base/Strings.java
return new String(array); } /** * Returns the longest string {@code prefix} such that {@code a.toString().startsWith(prefix) && * b.toString().startsWith(prefix)}, taking care not to split surrogate pairs. If {@code a} and * {@code b} have no common prefix, returns the empty string. * * @since 11.0 */ public static String commonPrefix(CharSequence a, CharSequence b) { checkNotNull(a);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 29 22:14:05 GMT 2026 - 12.2K bytes - Click Count (0) -
guava/src/com/google/common/collect/HashMultimap.java
import java.util.Set; import org.jspecify.annotations.Nullable; /** * Implementation of {@link Multimap} using hash tables. * * <p>The multimap does not store duplicate key-value pairs. Adding a new key-value pair equal to an * existing key-value pair has no effect. * * <p>Keys and values may be null. All optional multimap methods are supported, and all returned * views are modifiable. *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 05 23:15:58 GMT 2025 - 5.8K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/SortedSetMultimap.java
import org.jspecify.annotations.Nullable; /** * A {@code SetMultimap} whose set of values for a given key are kept sorted; that is, they comprise * a {@link SortedSet}. It cannot hold duplicate key-value pairs; adding a key-value pair that's * already in the multimap has no effect. This interface does not specify the ordering of the * multimap's keys. See the {@link Multimap} documentation for information common to all multimaps. *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 5.2K bytes - Click Count (0)