Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 2,421 for METHOD (0.11 sec)

  1. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/inspect/DefaultRuleSourceValidationProblemCollector.java

        @Override
        public void add(MethodRuleDefinition<?, ?> method, String problem) {
            add(method.getMethod().getMethod(), problem);
        }
    
        @Override
        public void add(MethodRuleDefinition<?, ?> method, String problem, Throwable cause) {
            add(method.getMethod().getMethod(), problem + ": " + cause.getMessage());
        }
    
        @Override
        public void add(Method method, String problem) {
            add(method, "rule", problem);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/core/rule/describe/MethodModelRuleDescriptor.java

                return input.getDisplayName();
            }
        };
    
        private final WeaklyTypeReferencingMethod<?, ?> method;
        private String description;
        private int hashCode;
    
        public MethodModelRuleDescriptor(WeaklyTypeReferencingMethod<?, ?> method) {
            this.method = method;
        }
    
        @Override
        public void describeTo(Appendable appendable) {
            try {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  3. src/internal/types/testdata/check/lookup1.go

    	_ = s.aBc
    	_ = s.abc // ERROR "s.abc undefined (type S has no field or method abc, but does have method aBc)"
    	_ = s.ABC // ERROR "s.ABC undefined (type S has no field or method ABC, but does have method aBc)"
    }
    
    func _() {
    	type P *S
    	var s P
    	_ = s.m // ERROR "s.m undefined (type P has no field or method m)"
    	_ = s.M // ERROR "s.M undefined (type P has no field or method M)"
    	_ = s.x
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 07 16:41:56 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  4. platforms/core-configuration/core-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/core/jos/MethodCache.kt

        allMethods().firstAccessibleMatchingMethodOrNull(predicate)
    
    
    internal
    fun Iterable<Method>.firstAccessibleMatchingMethodOrNull(predicate: Method.() -> Boolean): Method? =
        find(predicate)?.apply { isAccessible = true }
    
    
    internal
    fun Class<*>.firstMatchingMethodOrNull(predicate: Method.() -> Boolean): Method? =
        allMethods().find(predicate)
    
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 23:09:56 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  5. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/inspect/DefaultMethodRuleDefinition.java

        }
    
        public static <T> MethodRuleDefinition<?, ?> create(Class<T> source, Method method) {
            return innerCreate(source, method);
        }
    
        private static <T, R, S> MethodRuleDefinition<R, S> innerCreate(Class<T> source, Method method) {
            ModelType<R> returnType = ModelType.returnType(method);
            return new DefaultMethodRuleDefinition<T, R, S>(method, ModelType.of(source), returnType);
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 5K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/builder/RequestDataBuilder.java

            public RequestDataContext method(final Method method) {
                data.setMethod(method);
                return this;
            }
    
            public RequestDataContext get() {
                return method(Method.GET);
            }
    
            public RequestDataContext head() {
                return method(Method.HEAD);
            }
    
            public RequestDataContext post() {
                return method(Method.POST);
            }
    
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  7. pkg/scheduler/internal/cache/fake/fake_cache.go

    }
    
    // AddPod is a fake method for testing.
    func (c *Cache) AddPod(logger klog.Logger, pod *v1.Pod) error { return nil }
    
    // UpdatePod is a fake method for testing.
    func (c *Cache) UpdatePod(logger klog.Logger, oldPod, newPod *v1.Pod) error { return nil }
    
    // RemovePod is a fake method for testing.
    func (c *Cache) RemovePod(logger klog.Logger, pod *v1.Pod) error { return nil }
    
    // IsAssumedPod is a fake method for testing.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 29 05:26:32 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  8. src/go/types/errsupport.go

    	// misspelled     x.Foo   ==    FoO    type X has no field or method Foo, but does have field FoO
    	// misspelled     x.Foo   ==    foo    type X has no field or method Foo, but does have field foo
    	// misspelled     x.Foo   ==    foO    type X has no field or method Foo, but does have field foO
    	//
    	// misspelled     x.foo   ==    Foo    type X has no field or method foo, but does have field Foo
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  9. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/inspect/RuleDefinitionRuleExtractorTest.groovy

    - Method broken3(java.lang.String) is not a valid rule method: A method annotated with @Rules must have at least two parameters
    - Method broken1(java.lang.String, ${RuleSource.name}) is not a valid rule method: The first parameter of a method annotated with @Rules must be a subtype of ${RuleSource.name}
    - Method broken2() is not a valid rule method: A method annotated with @Rules must have at least two parameters"""
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  10. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/ExclusiveCacheAccessCoordinator.java

         *
         * <p>This method is re-entrant, so that an action can call back into this method.</p>
         *
         * <p>Note: this method differs from {@link #withFileLock(Supplier)} in that this method also blocks other threads from this process and all threads from other processes from accessing the cache.</p>
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:50 UTC 2024
    - 3K bytes
    - Viewed (0)
Back to top