Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 149 for METHOD (0.19 sec)

  1. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/undeclared/SystemPropertyInstrumentationInDynamicGroovyIntegrationTest.groovy

    import org.gradle.api.Project
    import org.gradle.internal.cc.impl.AbstractConfigurationCacheIntegrationTest
    
    class SystemPropertyInstrumentationInDynamicGroovyIntegrationTest extends AbstractConfigurationCacheIntegrationTest {
        def "#method is instrumented in dynamic Groovy #indyStatus"() {
            def configurationCache = newConfigurationCacheFixture()
    
            given:
            file("buildSrc/src/main/groovy/SomePlugin.groovy") << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  2. api/maven-api-di/src/main/java/org/apache/maven/api/di/SessionScoped.java

     */
    package org.apache.maven.api.di;
    
    import java.lang.annotation.Documented;
    import java.lang.annotation.Retention;
    import java.lang.annotation.Target;
    
    import static java.lang.annotation.ElementType.METHOD;
    import static java.lang.annotation.ElementType.TYPE;
    import static java.lang.annotation.RetentionPolicy.RUNTIME;
    
    /**
     * Indicates that annotated component should be instantiated before session execution starts
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 07:23:04 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  3. cmd/test-utils_test.go

    	return signature, nil
    }
    
    // Returns new HTTP request object.
    func newTestStreamingRequest(method, urlStr string, dataLength, chunkSize int64, body io.ReadSeeker) (*http.Request, error) {
    	if method == "" {
    		method = http.MethodPost
    	}
    
    	req, err := http.NewRequest(method, urlStr, nil)
    	if err != nil {
    		return nil, err
    	}
    
    	if body == nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 76.9K bytes
    - Viewed (0)
  4. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/InputTrackingState.kt

         */
        fun isEnabledForCurrentThread(): Boolean = inputTrackingDisabledCounterForThread == 0
    
        /**
         * Disables input tracking for the current thread. Multiple calls to this method "stack", so if
         * this method was called twice then [restoreForCurrentThread] should also be called twice to
         * enable input tracking back.
         */
        fun disableForCurrentThread() {
            ++inputTrackingDisabledCounterForThread
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  5. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheJavaSerializationIntegrationTest.groovy

    package org.gradle.internal.cc.impl
    
    class ConfigurationCacheJavaSerializationIntegrationTest extends AbstractConfigurationCacheIntegrationTest {
    
        def "restores task fields whose value is Serializable and has writeReplace method"() {
            buildFile << """
                class Placeholder implements Serializable {
                    String value
    
                    private Object readResolve() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  6. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/process/instrument/UnrelatedMethodInstrumentationInDynamicGroovyIntegrationTest.groovy

    import org.gradle.test.fixtures.file.TestFile
    
    class UnrelatedMethodInstrumentationInDynamicGroovyIntegrationTest extends AbstractProcessInstrumentationIntegrationTest implements DynamicGroovyPluginMixin {
        def "calling an unrelated method is allowed in groovy build script #indyStatus"() {
            given:
            def configurationCache = newConfigurationCacheFixture()
    
            generateClassesWithClashingMethods()
    
            withPluginCode("""
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/session/scope/internal/SessionScope.java

        }
    
        @SuppressWarnings("unchecked")
        private <T> T createProxy(Key<T> key, Provider<T> unscoped) {
            InvocationHandler dispatcher = (proxy, method, args) -> {
                method.setAccessible(true);
                try {
                    return method.invoke(getScopeState().scope(key, unscoped).get(), args);
                } catch (InvocationTargetException e) {
                    throw e.getCause();
                }
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 07:23:04 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  8. src/go/types/unify.go

    				if p.identical(q) {
    					return true // same pair was compared before
    				}
    				p = p.prev
    			}
    			// The method set of x must be a subset of the method set
    			// of y or vice versa, and the common methods must unify.
    			xmethods := xset.methods
    			ymethods := yset.methods
    			// The smaller method set must be the subset, if it exists.
    			if len(xmethods) > len(ymethods) {
    				xmethods, ymethods = ymethods, xmethods
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:24:39 UTC 2024
    - 27.9K bytes
    - Viewed (0)
  9. cmd/object-handlers-common.go

    //	x-minio-source-etag
    func checkPreconditionsPUT(ctx context.Context, w http.ResponseWriter, r *http.Request, objInfo ObjectInfo, opts ObjectOptions) bool {
    	// Return false for methods other than PUT.
    	if r.Method != http.MethodPut && r.Method != http.MethodPost {
    		return false
    	}
    	// If the object doesn't have a modtime (IsZero), or the modtime
    	// is obviously garbage (Unix time == 0), then ignore modtimes
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/types2/unify.go

    				if p.identical(q) {
    					return true // same pair was compared before
    				}
    				p = p.prev
    			}
    			// The method set of x must be a subset of the method set
    			// of y or vice versa, and the common methods must unify.
    			xmethods := xset.methods
    			ymethods := yset.methods
    			// The smaller method set must be the subset, if it exists.
    			if len(xmethods) > len(ymethods) {
    				xmethods, ymethods = ymethods, xmethods
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:24:39 UTC 2024
    - 27.8K bytes
    - Viewed (0)
Back to top