Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 177 for ApplyG (0.18 sec)

  1. android/guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java

            ClosingFuture.from(executor.submit(Callables.returning(closeable1)))
                .transform(
                    new ClosingFunction<TestCloseable, String>() {
                      @Override
                      public String apply(DeferredCloser closer, TestCloseable v) throws Exception {
                        assertThat(v).isSameInstanceAs(closeable1);
                        return "value";
                      }
                    },
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 07 12:37:15 UTC 2024
    - 75.3K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java

            ClosingFuture.from(executor.submit(Callables.returning(closeable1)))
                .transform(
                    new ClosingFunction<TestCloseable, String>() {
                      @Override
                      public String apply(DeferredCloser closer, TestCloseable v) throws Exception {
                        assertThat(v).isSameInstanceAs(closeable1);
                        return "value";
                      }
                    },
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 07 12:37:15 UTC 2024
    - 75.3K bytes
    - Viewed (0)
  3. 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
          }
    
        /**
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Apr 06 04:21:33 UTC 2024
    - 52K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/catalog/VersionCatalogExtensionIntegrationTest.groovy

                    void apply(Project p) {
                        def libs = p.extensions.getByType(VersionCatalogsExtension).named('libs')
                        p.dependencies.addProvider("implementation", libs.findLibrary('lib').get())
                    }
                }
            """
    
            buildFile << """
                apply plugin: 'java-library'
                apply plugin: MyPlugin
            """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 26 13:37:31 UTC 2024
    - 77.8K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/HttpUrl.kt

         */
        fun scheme(scheme: String) =
          apply {
            when {
              scheme.equals("http", ignoreCase = true) -> this.scheme = "http"
              scheme.equals("https", ignoreCase = true) -> this.scheme = "https"
              else -> throw IllegalArgumentException("unexpected scheme: $scheme")
            }
          }
    
        fun username(username: String) =
          apply {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Tue Jan 09 12:33:05 UTC 2024
    - 63.5K bytes
    - Viewed (0)
  6. tests/integration/security/authz_test.go

    					// The namespaces for each resource are specified in the file. Use "" as the ns to apply to.
    					param.Namespace.String(): "",
    					"GatewayIstioLabel":      i.Settings().IngressGatewayIstioLabel,
    				})).
    				BuildAll(nil, to).
    				Apply()
    			newTrafficTest(t, to.Instances()).
    				RunViaIngress(func(t framework.TestContext, from ingress.Instance, to echo.Target) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 23:36:51 UTC 2024
    - 50.1K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/docs/userguide/api/kotlin_dsl.adoc

    Consider the sample build script shown above that demonstrates the use of type-safe accessors.
    The following sample is exactly the same except that is uses the `apply()` method to apply the plugin.
    The build script can not use type-safe accessors in this case because the `apply()` call happens in the body of the build script.
    You have to use other techniques instead, as demonstrated here:
    
    .Configuring plugins without type-safe accessors
    ====
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 22 20:16:10 UTC 2024
    - 55.4K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/versions/VersionConflictResolutionIntegrationTest.groovy

            mavenRepo.module("org", "foo", '1.4.4').publish()
    
            createDirs("api", "impl", "tool")
            settingsFile << "include 'api', 'impl', 'tool'"
    
            buildFile << """
    allprojects {
    	apply plugin: 'java'
    	repositories {
    		maven { url "${mavenRepo.uri}" }
    	}
    }
    
    project(':api') {
    	dependencies {
    		implementation (group: 'org', name: 'foo', version:'1.3.3')
    	}
    }
    
    project(':impl') {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 11:33:46 UTC 2024
    - 76.2K bytes
    - Viewed (0)
  9. pkg/ctrlz/assets/static/js/jquery-3.2.1.slim.min.js

    ),n=r.event.special[p]||{},f||!n.trigger||n.trigger.apply(e,c)!==!1)){if(!f&&!n.noBubble&&!r.isWindow(e)){for(j=n.delegateType||p,gb.test(j+p)||(h=h.parentNode);h;h=h.parentNode)o.push(h),i=h;i===(e.ownerDocument||d)&&o.push(i.defaultView||i.parentWindow||a)}g=0;while((h=o[g++])&&!b.isPropagationStopped())b.type=g>1?j:n.bindType||p,m=(W.get(h,"events")||{})[b.type]&&W.get(h,"handle"),m&&m.apply(h,c),m=k&&h[k],m&&m.apply&&U(h)&&(b.result=m.apply(h,c),b.result===!1&&b.preventDefault());return b.ty...
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 68K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/docs/userguide/native/native_software.adoc

    It is easy to apply settings to all binaries of a particular type:
    
    === Example: Settings that apply to all shared libraries
    
    [source.multi-language-sample,groovy]
    .build.gradle
    ----
    include::{snippetsPath}/native-binaries/c/groovy/build.gradle[tag=all-shared-libraries]
    ----
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 24 23:14:04 UTC 2024
    - 54.6K bytes
    - Viewed (0)
Back to top