- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 150 for Mappings (0.07 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
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 8.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/FileTypeHelper.java
/** * Helper class for managing file type mappings based on MIME types. * This class provides functionality to map MIME types to file types and * retrieve appropriate file type classifications for documents during indexing. * * The mappings are loaded from configuration and can be dynamically modified * at runtime. When a MIME type is not found in the mapping, a default value * is returned. */
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 4.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/util/DocMap.java
} /** * Returns the number of key-value mappings in this map. * * @return the number of key-value mappings in this map */ @Override public int size() { return parent.size(); } /** * Returns true if this map contains no key-value mappings. * * @return true if this map contains no key-value mappings */ @Override public boolean isEmpty() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 5.7K bytes - Viewed (0) -
src/main/java/jcifs/smb1/util/MimeMap.java
*/ package jcifs.smb1.util; import java.io.IOException; import java.io.InputStream; /** * MIME type mapping utility for file extensions. * Provides mappings between file extensions and their corresponding MIME types * by reading from a resource file containing extension-to-MIME-type mappings. */ public class MimeMap { private static final int IN_SIZE = 7000; private static final int ST_START = 1;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/PathMappingHelper.java
protected static final String GROOVY_MATCHER = "groovy:"; /** Map of path mappings by process type. */ protected final Map<String, List<PathMapping>> pathMappingMap = new HashMap<>(); /** Cached list of path mappings. */ protected volatile List<PathMapping> cachedPathMappingList = null; /** * Initializes the path mapping helper. */ @PostConstruct public void init() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 9.5K bytes - Viewed (0) -
okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/GenerateIdnaMappingTableCode.kt
.initializer( """ |%T(⇥ |sections = "%L", |ranges = "%L", |mappings = "%L", |⇤) """.trimMargin(), idnaMappingTable, data.sections.escapeDataString(), data.ranges.escapeDataString(), data.mappings.escapeDataString(), ).build(), ).build() } /**
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 2.8K bytes - Viewed (0) -
okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/SimpleIdnaMappingTable.kt
): Boolean { val index = mappings.binarySearch { when { it.sourceCodePoint1 < codePoint -> -1 it.sourceCodePoint0 > codePoint -> 1 else -> 0 } } // Code points must be in 0..0x10ffff. require(index in mappings.indices) { "unexpected code point: $codePoint" } val mapping = mappings[index] var result = true
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 6.8K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/idn/IdnaMappingTableTest.kt
} table = plainTable val data = buildIdnaMappingTableData(plainTable) compactTable = IdnaMappingTable( sections = data.sections, ranges = data.ranges, mappings = data.mappings, ) } @Test fun regularMappings() { assertThat("hello".map()).isEqualTo("hello") assertThat("hello-world".map()).isEqualTo("hello-world") assertThat("HELLO".map()).isEqualTo("hello")
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 8.9K bytes - Viewed (0) -
android/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
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 5.2K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/idn/IdnaMappingTable.kt
* that of the preceding section. * * b2b3s2 is the offset into the ranges data. It is shifted by 2 because ranges are 4-byte aligned. * * Mappings Data (4,719 bytes) * =========================== * * This is UTF-8 character data. It is indexed into by b2b3 in the ranges dataset. * * Mappings may overlap. * * ASCII-Only * ========== *
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 9K bytes - Viewed (0)