Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 430 for MethodA (0.14 sec)

  1. guava-testlib/src/com/google/common/testing/ClassSanityTester.java

       *       {@code cls}, no test is performed.
       *   <li>Equality test is not performed on method return values unless the method is a non-private
       *       static factory method whose return type is {@code cls} or {@code cls}'s subtype.
       *   <li>Inequality check is not performed against state mutation methods such as {@link
       *       List#add}, or functional update methods such as {@link
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 32.7K bytes
    - Viewed (0)
  2. platforms/core-configuration/core-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/core/jos/JavaObjectSerializationCodec.kt

    }
    
    
    private
    fun ReadContext.putIdentity(id: Int, instance: Any) {
        isolate.identities.putInstance(id, instance)
    }
    
    
    private
    fun invokeAll(methods: List<Method>, bean: Any, vararg args: Any?) {
        methods.forEach { method ->
            method.invoke(bean, *args)
        }
    }
    
    
    object ExternalizableCodec : Codec<Externalizable> {
        override suspend fun WriteContext.encode(value: Externalizable) {
    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. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirMetadataCalculator.kt

                val methods = psiElements.filterIsInstance<PsiMethod>()
                when (fir) {
                    is FirFunction -> methods.singleOrNull { it.isConstructor == fir is FirConstructor }?.let {
                        bindings.put(
                            METHOD_FOR_FIR_FUNCTION,
                            fir,
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 29 20:26:34 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

       *   <li>If the constructor or factory method used to construct instance takes a parameter that
       *       {@link AbstractPackageSanityTests} doesn't know how to construct, the test will fail.
       *   <li>If there is no visible constructor or visible static factory method declared by {@code
       *       C}, instance methods are skipped for nulls test.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

       *   <li>If the constructor or factory method used to construct instance takes a parameter that
       *       {@link AbstractPackageSanityTests} doesn't know how to construct, the test will fail.
       *   <li>If there is no visible constructor or visible static factory method declared by {@code
       *       C}, instance methods are skipped for nulls test.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  6. subprojects/core/src/integTest/groovy/org/gradle/plugin/ScriptPluginClassLoadingIntegrationTest.groovy

            output.contains "hello"
        }
    
        @Issue("https://issues.gradle.org/browse/GRADLE-3079")
        def "methods defined in script are available to used script plugins"() {
            given:
            buildScript """
              def addTask(project) {
                project.tasks.create("hello").doLast { println "hello from method" }
              }
    
              apply from: "script.gradle"
            """
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 13:27:34 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  7. src/go/doc/reader.go

    			return
    		}
    		recvTypeName, imp := baseTypeName(fun.Recv.List[0].Type)
    		if imp {
    			// should not happen (incorrect AST);
    			// don't show this method
    			return
    		}
    		if typ := r.lookupType(recvTypeName); typ != nil {
    			typ.methods.set(fun, r.mode&PreserveAST != 0)
    		}
    		// otherwise ignore the method
    		// TODO(gri): There may be exported methods of non-exported types
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 27.5K bytes
    - Viewed (0)
  8. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/metaobject/BeanDynamicObject.java

                    }
                }
    
                // Query the declared methods of the meta class
                for (MetaMethod method : metaClass.getMethods()) {
                    if (method.getName().equals("propertyMissing") && method.getParameterTypes().length == 1) {
                        return method;
                    }
                }
                return null;
            }
    
            @Nullable
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 13:45:02 UTC 2024
    - 29.3K bytes
    - Viewed (0)
  9. subprojects/core/src/integTest/groovy/org/gradle/api/DynamicObjectIntegrationTest.groovy

                }
                assert defaultTask.doStuff() == 'method'
                assert javaTask.doStuff() == 'method'
                assert groovyTask.doStuff() == 'method'
                assert configurations.test.doStuff() == 'method'
                configurations.test.dependencies.each {
                    assert it.doStuff() == 'method'
                }
                assert repositories.doStuff() == 'method'
                repositories {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 13:27:33 UTC 2024
    - 32.7K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/TestThread.java

        return getMethod(methodName, arguments).invoke(lockLikeObject, arguments);
      }
    
      private Method getMethod(String methodName, Object... arguments) throws Exception {
        METHODS:
        for (Method method : lockLikeObject.getClass().getMethods()) {
          Class<?>[] parameterTypes = method.getParameterTypes();
          if (method.getName().equals(methodName) && (parameterTypes.length == arguments.length)) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 10.8K bytes
    - Viewed (0)
Back to top