Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 611 for Invoke (0.15 sec)

  1. subprojects/core/src/main/java/org/gradle/internal/classpath/intercept/DefaultCallSiteDecorator.java

            }
        }
    
        @Override
        public java.lang.invoke.CallSite maybeDecorateIndyCallSite(java.lang.invoke.CallSite originalCallSite, MethodHandles.Lookup caller, String callType, String name, int flags) {
            CacheableCallSite ccs = toGroovyCacheableCallSite(originalCallSite);
            switch (callType) {
                case "invoke":
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 13:46:35 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  2. platforms/core-configuration/core-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/core/jos/JavaObjectSerializationCodec.kt

    import org.gradle.internal.serialize.graph.writeEnum
    import java.io.Externalizable
    import java.io.ObjectInputStream
    import java.io.ObjectOutputStream
    import java.io.Serializable
    import java.lang.invoke.SerializedLambda
    import java.lang.reflect.Method
    import java.lang.reflect.Modifier.isPrivate
    import java.lang.reflect.Modifier.isStatic
    
    
    /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 23:09:56 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  3. ci/devinfra/docker_windows/Dockerfile

    FROM mcr.microsoft.com/dotnet/framework/sdk:4.8-windowsservercore-ltsc2019
    
    # Set default powershell policy for this script (ProgressPreference='SilentlyContinue' makes
    # downloads with Invoke-WebRequest not show the progress bar and is MUCH faster).
    SHELL ["powershell.exe", "-ExecutionPolicy", "Bypass", "-Command", "$ErrorActionPreference='Stop'; $ProgressPreference='SilentlyContinue'; $VerbosePreference = 'Continue';"]
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Aug 18 17:24:20 UTC 2023
    - 13.6K bytes
    - Viewed (0)
  4. subprojects/core/src/integTest/groovy/org/gradle/api/NestedConfigureDslIntegrationTest.groovy

        unknown = 12
    }
    """
    
            expect:
            fails()
            failure.assertHasCause("Could not set unknown property 'unknown' for task ':help' of type org.gradle.configuration.Help.")
        }
    
        def "reports invoke unknown method from configure closure"() {
            settingsFile << "rootProject.name = 'test'"
            buildFile << """
    tasks.help {
        unknown(12)
    }
    """
    
            expect:
            fails()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  5. src/syscall/js/js_test.go

    		})
    		defer cb2.Release()
    		return cb2.Invoke()
    	})
    	defer cb.Release()
    	if got := cb.Invoke().Int(); got != 42 {
    		t.Errorf("got %#v, want %#v", got, 42)
    	}
    	if !called {
    		t.Error("function not called")
    	}
    }
    
    func TestInterleavedFunctions(t *testing.T) {
    	c1 := make(chan struct{})
    	c2 := make(chan struct{})
    
    	js.Global().Get("setTimeout").Invoke(js.FuncOf(func(this js.Value, args []js.Value) any {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 19 14:35:26 UTC 2024
    - 17.7K bytes
    - Viewed (0)
  6. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/NamedDomainObjectContainerExtensions.kt

         * @see [NamedDomainObjectContainer.named]
         */
        @Deprecated("Use named(String) instead.", ReplaceWith("named(this)"))
        operator fun String.invoke(): NamedDomainObjectProvider<T> {
            DeprecationLogger.deprecateBehaviour(String.format("Domain object '%s' found by String.invoke() notation.", this))
                .withContext("The \"name\"() notation can cause confusion with methods provided by Kotlin or the JDK.")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 19 22:09:44 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  7. testing/internal-integ-testing/src/integTest/groovy/org/gradle/integtests/fixtures/executer/IgnoreKotlinCompilerWarningIntegrationTest.groovy

    \tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    \tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    \tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    \tat java.base/java.lang.reflect.Method.invoke(Method.java:564)
    \tat org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:104)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  8. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/ProjectExtensions.kt

                        .firstOrNull { it.name == "getConvention" }
                        ?.invoke(this)
                        ?.let { convention ->
                            convention::class.java
                                .getMethod("findPlugin", Class::class.java)
                                .invoke(convention, T::class.java)
                        }
                }.let { findPlugin ->
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 09:50:04 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  9. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/resolver/KotlinBuildScriptDependenciesResolver.kt

    
    private
    fun Report.warning(message: String, position: Position? = null) =
        invoke(ReportSeverity.WARNING, message, position)
    
    
    private
    fun Report.error(message: String, position: Position? = null) =
        invoke(ReportSeverity.ERROR, message, position)
    
    
    private
    fun Report.fatal(message: String, position: Position? = null) =
        invoke(ReportSeverity.FATAL, message, position)
    
    
    private
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 11.6K bytes
    - Viewed (0)
  10. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/metaobject/BeanDynamicObjectTest.groovy

        }
    
        def "can invoke methods of class object"() {
            def dynamicObject = new BeanDynamicObject(WithStaticFields.class)
    
            expect:
            dynamicObject.hasMethod("asSubclass", [Object] as Object[])
            dynamicObject.invokeMethod("asSubclass", [Object] as Object[]) == WithStaticFields
        }
    
        def "can invoke static method using class object"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 26.5K bytes
    - Viewed (0)
Back to top