Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 73 for constructorsOf (0.64 sec)

  1. maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/conflict/NearestConflictResolverTest.java

    /**
     * Tests <code>NearestConflictResolver</code>.
     *
     * @see NearestConflictResolver
     */
    @Deprecated
    class NearestConflictResolverTest extends AbstractConflictResolverTest {
        // constructors -----------------------------------------------------------
    
        public NearestConflictResolverTest() throws Exception {
            super("nearest");
        }
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Apr 25 05:46:50 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  2. src/go/doc/testdata/generics.go

    // Go.
    package generics
    
    // Variables with an instantiated type should be shown.
    var X Type[int]
    
    // Parameterized types should be shown.
    type Type[P any] struct {
    	Field P
    }
    
    // Constructors for parameterized types should be shown.
    func Constructor[lowerCase any]() Type[lowerCase] {
    	return Type[lowerCase]{}
    }
    
    // MethodA uses a different name for its receiver type parameter.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 10 18:06:32 UTC 2021
    - 2.1K bytes
    - Viewed (0)
  3. subprojects/core/src/main/java/org/gradle/api/internal/tasks/TaskContainerInternal.java

         */
        boolean addAllInternal(Collection<? extends Task> task);
    
        /**
         * Creates an instance of the given task type without invoking its constructors. This is used to recreate a task instance from the configuration cache.
         *
         * TODO:configuration-cache - review this
         */
        <T extends Task> T createWithoutConstructor(String name, Class<T> type, long uniqueId);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 08 09:35:04 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  4. maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/conflict/OldestConflictResolverTest.java

    /**
     * Tests <code>OldestConflictResolver</code>.
     *
     * @see OldestConflictResolver
     */
    @Deprecated
    class OldestConflictResolverTest extends AbstractConflictResolverTest {
        // constructors -----------------------------------------------------------
    
        public OldestConflictResolverTest() throws Exception {
            super("oldest");
        }
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Apr 25 05:46:50 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  5. testing/architecture-test/src/test/java/org/gradle/architecture/test/ServiceScopeAnnotationValidationTest.java

                    .anyMatch(method -> method.isAnnotatedWith(Inject.class));
            }
        };
    
        private static final DescribedPredicate<JavaClass> injected_by_constructor = new DescribedPredicate<JavaClass>("injected into constructors via @Inject") {
            @Override
            public boolean test(JavaClass javaClass) {
                return javaClass
                    .getMethodsWithParameterTypeOfSelf()
                    .stream()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/request/seat_seconds_test.go

    limitations under the License.
    */
    
    package request
    
    import (
    	"math"
    	"testing"
    	"time"
    )
    
    // TestSeatSecondsString exercises the SeatSeconds constructor and de-constructors (String, ToFloat).
    func TestSeatSecondsString(t *testing.T) {
    	testCases := []struct {
    		ss          SeatSeconds
    		expectFloat float64
    		expectStr   string
    	}{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 29 20:20:16 UTC 2021
    - 2.5K bytes
    - Viewed (0)
  7. platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/continuous/ContinuousIntegrationTestFixtureTest.groovy

            }
        }
    
        private GradleHandle setupStubs(AbstractContinuousIntegrationTest sampleTest) {
            sampleTest.results = [] // fields are null for some reason, perhaps Spock internally modifies constructors
            def gradleHandle = Stub(GradleHandle)
            gradleExecuter.withStdinPipe() >> gradleExecuter
            gradleExecuter.withTasks(_) >> gradleExecuter
            gradleExecuter.withForceInteractive(_) >> gradleExecuter
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  8. platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/KotlinBuildScriptPatternTest.kt

            val compilationConfigClass = kotlinScriptAnnotation.compilationConfiguration
            val compilationConfigConstructor = compilationConfigClass.java.constructors.single().apply {
                isAccessible = true
            }
            val compilationConfig = compilationConfigConstructor.newInstance() as ScriptCompilationConfiguration
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  9. platforms/documentation/docs-asciidoctor-extensions-base/src/main/java/org/gradle/docs/asciidoctor/GuidesContributeIncludeProcessor.java

    import java.util.HashMap;
    import java.util.Map;
    
    public class GuidesContributeIncludeProcessor extends IncludeProcessor {
        private static final String CONTRIBUTE = "contribute";
    
        // Even though these are unused, these constructors are necessary to prevent
        // "(ArgumentError) asciidoctor: FAILED: Failed to load AsciiDoc document - wrong number of arguments (1 for 0)"
        // See https://github.com/asciidoctor/asciidoctorj/issues/451#issuecomment-210914940
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 30 10:37:52 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  10. native-image-tests/src/main/kotlin/okhttp3/TestRegistration.kt

          }
        }
      }
    
      private fun registerTest(
        access: Feature.BeforeAnalysisAccess,
        java: Class<*>,
      ) {
        access.registerAsUsed(java)
        RuntimeReflection.register(java)
        java.constructors.forEach {
          RuntimeReflection.register(it)
        }
        java.declaredMethods.forEach {
          RuntimeReflection.register(it)
        }
        java.declaredFields.forEach {
          RuntimeReflection.register(it)
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.7K bytes
    - Viewed (0)
Back to top