Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 114 for apply (0.17 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/-ResponseCommon.kt

    fun Response.Builder.commonRequest(request: Request) =
      apply {
        this.request = request
      }
    
    fun Response.Builder.commonProtocol(protocol: Protocol) =
      apply {
        this.protocol = protocol
      }
    
    fun Response.Builder.commonCode(code: Int) =
      apply {
        this.code = code
      }
    
    fun Response.Builder.commonMessage(message: String) =
      apply {
        this.message = message
      }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 15 13:24:48 GMT 2024
    - 5.2K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/base/Function.java

       *       Objects.equal}{@code (a, b)} implies that {@code Objects.equal(function.apply(a),
       *       function.apply(b))}.
       * </ul>
       *
       * @throws NullPointerException if {@code input} is null and this function does not accept null
       *     arguments
       */
      @ParametricNullness
      T apply(@ParametricNullness F input);
    
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 01:41:50 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  3. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleBuildDocumentationPlugin.java

            project.apply(target -> target.plugin(GradleReleaseNotesPlugin.class));
            project.apply(target -> target.plugin(GradleJavadocsPlugin.class));
            project.apply(target -> target.plugin(GradleKotlinDslReferencePlugin.class));
            project.apply(target -> target.plugin(GradleDslReferencePlugin.class));
            project.apply(target -> target.plugin(GradleUserManualPlugin.class));
    
    Java
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Apr 17 20:04:00 GMT 2024
    - 7.4K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/OkHttpClient.kt

         */
        fun cookieJar(cookieJar: CookieJar) =
          apply {
            this.cookieJar = cookieJar
          }
    
        /** Sets the response cache to be used to read and write cached responses. */
        fun cache(cache: Cache?) =
          apply {
            this.cache = cache
          }
    
        internal fun taskRunner(taskRunner: TaskRunner) =
          apply {
            this.taskRunner = taskRunner
          }
    
        /**
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 06 04:21:33 GMT 2024
    - 52K bytes
    - Viewed (0)
  5. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultDependencyManagementInjector.java

                        Object key = getDependencyKey().apply(dependency);
                        dependencies.put(key, dependency);
                    }
    
                    boolean modified = false;
                    for (Dependency managedDependency : dependencyManagement.getDependencies()) {
                        Object key = getDependencyKey().apply(managedDependency);
                        Dependency dependency = dependencies.get(key);
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 4.5K bytes
    - Viewed (0)
  6. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultProfileInjector.java

                        Object key = getPluginKey().apply(element);
                        master.put(key, element);
                    }
    
                    Map<Object, List<Plugin>> predecessors = new LinkedHashMap<>();
                    List<Plugin> pending = new ArrayList<>();
                    for (Plugin element : src) {
                        Object key = getPluginKey().apply(element);
                        Plugin existing = master.get(key);
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 9.5K bytes
    - Viewed (0)
  7. build.gradle.kts

      if (project.name == "regression-test") return@subprojects
      if (project.name == "android-test-app") return@subprojects
      if (project.name == "container-tests") return@subprojects
    
      apply(plugin = "checkstyle")
      apply(plugin = "ru.vyarus.animalsniffer")
      apply(plugin = "biz.aQute.bnd.builder")
    
      tasks.withType<JavaCompile> {
        options.encoding = Charsets.UTF_8.toString()
      }
    
      configure<JavaPluginExtension> {
        toolchain {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 18 01:32:42 GMT 2024
    - 8.9K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/CacheControl.kt

         */
        fun maxAge(maxAge: Duration) =
          apply {
            val maxAgeSeconds = maxAge.inWholeSeconds
            require(maxAgeSeconds >= 0) { "maxAge < 0: $maxAgeSeconds" }
            this.maxAgeSeconds = maxAgeSeconds.commonClampToInt()
          }
    
        fun maxStale(maxStale: Duration) =
          apply {
            val maxStaleSeconds = maxStale.inWholeSeconds
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 15 13:41:01 GMT 2024
    - 10K bytes
    - Viewed (0)
  9. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultPluginManagementInjector.java

                    for (Plugin element : src) {
                        Object key = getPluginKey().apply(element);
                        managedPlugins.put(key, element);
                    }
    
                    List<Plugin> newPlugins = new ArrayList<>();
                    for (Plugin element : target.getPlugins()) {
                        Object key = getPluginKey().apply(element);
                        Plugin managedPlugin = managedPlugins.get(key);
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  10. maven-core/src/main/java/org/apache/maven/model/plugin/DefaultLifecycleBindingsInjector.java

                    for (Plugin element : tgt) {
                        Object key = getPluginKey().apply(element);
                        merged.put(key, element);
                    }
    
                    Map<Object, Plugin> added = new LinkedHashMap<>();
    
                    for (Plugin element : src) {
                        Object key = getPluginKey().apply(element);
                        Plugin existing = merged.get(key);
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 6.9K bytes
    - Viewed (0)
Back to top