Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 130 for mapping (0.17 seconds)

  1. 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
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 8.3K bytes
    - Click Count (0)
  2. okhttp-idna-mapping-table/src/test/kotlin/okhttp3/internal/idn/MappingTablesTest.kt

        assertThat(
          mergeAdjacentRanges(
            listOf(
              Mapping(0x0232, 0x0232, TYPE_MAPPED, "a".encodeUtf8()),
              Mapping(0x0233, 0x0233, TYPE_VALID, ByteString.EMPTY),
              Mapping(0x0234, 0x0236, TYPE_VALID, ByteString.EMPTY),
              Mapping(0x0237, 0x0239, TYPE_VALID, ByteString.EMPTY),
              Mapping(0x023a, 0x023a, TYPE_MAPPED, "b".encodeUtf8()),
            ),
          ),
        ).containsExactly(
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 6.3K bytes
    - Click Count (0)
  3. 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>,
    ) {
      /**
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 6.8K bytes
    - Click Count (0)
  4. okhttp-idna-mapping-table/README.md

    OkHttp IDNA Mapping Table
    =========================
    
    This module contains supporting tools for building the IDNA mapping table.
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue May 02 11:21:58 GMT 2023
    - 174 bytes
    - Click Count (0)
  5. impl/maven-core/src/main/java/org/apache/maven/lifecycle/providers/packaging/AbstractLifecycleMappingProvider.java

    import java.util.HashMap;
    
    import org.apache.maven.lifecycle.mapping.DefaultLifecycleMapping;
    import org.apache.maven.lifecycle.mapping.Lifecycle;
    import org.apache.maven.lifecycle.mapping.LifecycleMapping;
    import org.apache.maven.lifecycle.mapping.LifecyclePhase;
    
    import static java.util.Objects.requireNonNull;
    
    /**
     * Base lifecycle mapping provider, ie per-packaging plugin bindings for {@code default} lifecycle.
     */
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sun Dec 22 12:24:35 GMT 2024
    - 3.2K bytes
    - Click Count (0)
  6. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultLifecyclePluginAnalyzer.java

    import org.apache.maven.lifecycle.LifeCyclePluginAnalyzer;
    import org.apache.maven.lifecycle.Lifecycle;
    import org.apache.maven.lifecycle.mapping.LifecycleMapping;
    import org.apache.maven.lifecycle.mapping.LifecycleMojo;
    import org.apache.maven.lifecycle.mapping.LifecyclePhase;
    import org.apache.maven.model.InputLocation;
    import org.apache.maven.model.InputSource;
    import org.apache.maven.model.Plugin;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 9K bytes
    - Click Count (0)
  7. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultLifecycleMappingDelegate.java

    import org.apache.maven.project.MavenProject;
    
    /**
     * Lifecycle mapping delegate component interface. Calculates project build execution plan given {@link Lifecycle} and
     * lifecycle phase. Standard lifecycles use plugin execution {@code <phase>} or mojo default lifecycle phase to
     * calculate the execution plan, but custom lifecycles can use alternative mapping strategies.
     */
    @Named(DefaultLifecycleMappingDelegate.HINT)
    @Singleton
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Dec 13 23:04:37 GMT 2024
    - 8.5K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/eventbus/SubscriberRegistryTest.java

        // Exists only for hierarchy mapping; no members.
      }
    
      private interface HierarchyFixtureSubinterface extends HierarchyFixtureInterface {
        // Exists only for hierarchy mapping; no members.
      }
    
      private static class HierarchyFixtureParent implements HierarchyFixtureSubinterface {
        // Exists only for hierarchy mapping; no members.
      }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 5.8K bytes
    - Click Count (0)
  9. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultPackagingRegistry.java

    import org.apache.maven.api.spi.PackagingProvider;
    import org.apache.maven.impl.ExtensibleEnumRegistries;
    import org.apache.maven.lifecycle.mapping.LifecycleMapping;
    import org.apache.maven.lifecycle.mapping.LifecycleMojo;
    import org.apache.maven.lifecycle.mapping.LifecyclePhase;
    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    /**
     * TODO: this is session scoped as SPI can contribute.
     */
    @Named
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jan 24 17:29:44 GMT 2025
    - 7.8K bytes
    - Click Count (0)
  10. fastapi/datastructures.py

        @classmethod
        def __get_pydantic_json_schema__(
            cls, core_schema: Mapping[str, Any], handler: GetJsonSchemaHandler
        ) -> dict[str, Any]:
            return {"type": "string", "format": "binary"}
    
        @classmethod
        def __get_pydantic_core_schema__(
            cls, source: type[Any], handler: Callable[[Any], Mapping[str, Any]]
        ) -> Mapping[str, Any]:
            from ._compat.v2 import with_info_plain_validator_function
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 12:54:56 GMT 2025
    - 5.1K bytes
    - Click Count (0)
Back to Top