Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 59 for decompose (0.05 seconds)

  1. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/CertificateAdapters.kt

       *   notBefore      Time,
       *   notAfter       Time
       * }
       * ```
       */
      private val validity: BasicDerAdapter<Validity> =
        Adapters.sequence(
          "Validity",
          time,
          time,
          decompose = {
            listOf(
              it.notBefore,
              it.notAfter,
            )
          },
          construct = {
            Validity(
              notBefore = it[0] as Long,
              notAfter = it[1] as Long,
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 13.6K bytes
    - Click Count (0)
  2. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Adapters.kt

       *
       * TODO: for sets, sort by tag when encoding.
       * TODO: for set ofs, sort by encoded value when encoding.
       */
      fun <T> sequence(
        name: String,
        vararg members: DerAdapter<*>,
        decompose: (T) -> List<*>,
        construct: (List<*>) -> T,
      ): BasicDerAdapter<T> {
        val codec =
          object : BasicDerAdapter.Codec<T> {
            override fun decode(reader: DerReader): T {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 15K bytes
    - Click Count (0)
  3. okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerTest.kt

          val ADAPTER =
            Adapters.sequence(
              "Point",
              Adapters.INTEGER_AS_LONG.withTag(tag = 0L).optional(),
              Adapters.INTEGER_AS_LONG.withTag(tag = 1L).optional(),
              decompose = { listOf(it.x, it.y) },
              construct = { Point(it[0] as Long?, it[1] as Long?) },
            )
        }
      }
    
      private fun date(s: String): Date =
        SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSSZ").run {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 31.7K bytes
    - Click Count (0)
  4. CHANGELOG.md

     *  Breaking: Rename `RecordedRequest.path` to `RecordedRequest.target`. (This property is
        _sometimes_ a path, but it can also be a path and query, or a full URL.)
    
     *  Breaking: Decompose the `RecordedRequest.requestLine` into three properties, `method`, `target`,
        and `version`. This better suits HTTP/2 where the request line had to be synthesized from
        component headers.
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Feb 15 11:57:47 GMT 2026
    - 36.2K bytes
    - Click Count (2)
  5. guava-tests/test/com/google/common/base/FunctionsTest.java

        Function<? super String, Integer> g = new HashCodeFunction();
        Function<Float, String> f = Functions.forMap(m, "F");
    
        Function<Float, Boolean> c1 = Functions.compose(Functions.compose(h, g), f);
        Function<Float, Boolean> c2 = Functions.compose(h, Functions.compose(g, f));
    
        // Might be nice (eventually) to have:
        //     assertEquals(c1, c2);
    
        // But for now, settle for this:
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 15:59:55 GMT 2026
    - 16.2K bytes
    - Click Count (0)
  6. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/testfixtures/TestFixturesPlugin.java

                composeExtension.setExecutable(
                    project.file("/usr/local/bin/docker-compose").exists() ? "/usr/local/bin/docker-compose" : "/usr/bin/docker-compose"
                );
    
                tasks.named("composeUp").configure(t -> {
                    // Avoid running docker-compose tasks in parallel in CI due to some issues on certain Linux distributions
                    if (BuildParams.isCi()) {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Wed Sep 29 15:07:50 GMT 2021
    - 10.7K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/base/FunctionsTest.java

        Function<? super String, Integer> g = new HashCodeFunction();
        Function<Float, String> f = Functions.forMap(m, "F");
    
        Function<Float, Boolean> c1 = Functions.compose(Functions.compose(h, g), f);
        Function<Float, Boolean> c2 = Functions.compose(h, Functions.compose(g, f));
    
        // Might be nice (eventually) to have:
        //     assertEquals(c1, c2);
    
        // But for now, settle for this:
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 15:59:55 GMT 2026
    - 16.2K bytes
    - Click Count (0)
  8. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/docker/DockerSupportService.java

        private static String[] DOCKER_BINARIES = { "/usr/bin/docker", "/usr/local/bin/docker" };
        private static String[] DOCKER_COMPOSE_BINARIES = { "/usr/local/bin/docker-compose", "/usr/bin/docker-compose" };
        private static final Version MINIMUM_DOCKER_VERSION = Version.fromString("17.05.0");
    
        private final ExecOperations execOperations;
        private DockerAvailability dockerAvailability;
    
        @Inject
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 14.8K bytes
    - Click Count (0)
  9. docs/ru/docs/deployment/docker.md

    #### Docker Compose { #docker-compose }
    
    Вы можете развёртывать на **одном сервере** (не кластере) с **Docker Compose**, и у вас не будет простого способа управлять репликацией контейнеров (в Docker Compose), сохраняя общую сеть и **балансировку нагрузки**.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:56:20 GMT 2026
    - 43.5K bytes
    - Click Count (0)
  10. docs/en/docs/deployment/docker.md

    #### Docker Compose { #docker-compose }
    
    You could be deploying to a **single server** (not a cluster) with **Docker Compose**, so you wouldn't have an easy way to manage replication of containers (with Docker Compose) while preserving the shared network and **load balancing**.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 28.3K bytes
    - Click Count (1)
Back to Top