- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 388 for mappings (0.18 sec)
-
okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/MappingTables.kt
return result } /** Returns a copy of [mappings] with adjacent ranges merged wherever possible. */ internal fun mergeAdjacentRanges(mappings: List<Mapping>): List<Mapping> { var index = 0 val result = mutableListOf<Mapping>() while (index < mappings.size) { val mapping = mappings[index] val type = canonicalizeType(mapping.type) val mappedTo = mapping.mappedTo var unionWith: Mapping = mapping
Plain Text - Registered: Fri Apr 19 11:42:09 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 8.2K bytes - Viewed (0) -
android/guava/src/com/google/common/reflect/TypeResolver.java
/** Returns a new {@code TypeResolver} with {@code variable} mapping to {@code type}. */ final TypeTable where(Map<TypeVariableKey, ? extends Type> mappings) { ImmutableMap.Builder<TypeVariableKey, Type> builder = ImmutableMap.builder(); builder.putAll(map); for (Entry<TypeVariableKey, ? extends Type> mapping : mappings.entrySet()) { TypeVariableKey variable = mapping.getKey(); Type type = mapping.getValue();
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Oct 10 19:45:10 GMT 2022 - 24.2K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultLifecycleMappingDelegate.java
/* * Initialize mapping from lifecycle phase to bound mojos. The key set of this map denotes the phases the caller * is interested in, i.e. all phases up to and including the specified phase. */ Map<String, Map<Integer, List<MojoExecution>>> mappings = new LinkedHashMap<>(); for (String phase : lifecycle.getPhases()) {
Java - Registered: Sun Apr 21 03:35:09 GMT 2024 - Last Modified: Wed Jan 10 12:55:54 GMT 2024 - 6.5K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/idn/StringprepTablesReaderTest.kt
| """.trimMargin(), ) val mappings = buffer.readCodePointMappings() assertEquals( mapOf( // Map to nothing. 0x180c to "", // Case map. 'A'.code to "a", // Case map. 'ΐ'.code to "\u03B9\u0308\u0301", ), mappings.mappings, ) }
Plain Text - Registered: Fri Mar 29 11:42:11 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 2.4K bytes - Viewed (0) -
okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/SimpleIdnaMappingTable.kt
* permissive and permits the `_` character. * * [mapping table]: https://www.unicode.org/reports/tr46/#IDNA_Mapping_Table * [mapping step]: https://www.unicode.org/reports/tr46/#ProcessingStepMap */ class SimpleIdnaMappingTable internal constructor( internal val mappings: List<Mapping>, ) { /**
Plain Text - Registered: Fri Apr 19 11:42:09 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 6.8K bytes - Viewed (0) -
okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/GenerateIdnaMappingTableCode.kt
} return buildIdnaMappingTableData(table) } /** * Generate a file containing the mapping table's string literals, like this: * * ``` * internal val IDNA_MAPPING_TABLE: IdnaMappingTable = IdnaMappingTable( * sections = "...", * ranges = "...", * mappings = "", * ) * ``` */ fun generateMappingTableFile(data: IdnaMappingTableData): FileSpec {
Plain Text - Registered: Fri Apr 19 11:42:09 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 2.8K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/idn/StringprepReader.kt
val unassigned = readCodePointSet(base / "rfc3454.A.1.txt") val mapping = MappingListCodePointMapping( mutableMapOf<Int, String>() .apply { putAll(readCodePointMapping(base / "rfc3454.B.1.txt").mappings) putAll(readCodePointMapping(base / "rfc3454.B.2.txt").mappings) }, ) val prohibitSet = RangeListCodePointSet( ranges =
Plain Text - Registered: Fri Mar 29 11:42:11 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 5.8K bytes - Viewed (0) -
guava/src/com/google/common/collect/EnumHashBiMap.java
} /** * Constructs a new bimap with the same mappings as the specified map. If the specified map is an * {@code EnumHashBiMap} or an {@link EnumBiMap}, the new bimap has the same key type as the input * bimap. Otherwise, the specified map must contain at least one mapping, in order to determine * the key type. * * @param map the map whose mappings are to be placed in this map
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Thu Aug 24 01:40:03 GMT 2023 - 5.4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Table.java
* * @param table the table to add to this table */ void putAll(Table<? extends R, ? extends C, ? extends V> table); /** * Removes the mapping, if any, associated with the given keys. * * @param rowKey row key of mapping to be removed * @param columnKey column key of mapping to be removed
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Sat Jun 17 14:40:53 GMT 2023 - 10.7K bytes - Viewed (0) -
android/guava/src/com/google/common/escape/CharEscaperBuilder.java
} } // Replacement mappings. private final Map<Character, String> map; // The highest index we've seen so far. private int max = -1; /** Construct a new sparse array builder. */ public CharEscaperBuilder() { this.map = new HashMap<>(); } /** Add a new mapping from an index to an object to the escaping. */ @CanIgnoreReturnValue
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Tue Jan 18 20:55:09 GMT 2022 - 4K bytes - Viewed (0)