Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 792 for facts (0.05 sec)

  1. test/typeparam/factimp.dir/main.go

    package main
    
    import (
    	"./a"
    	"fmt"
    )
    
    func main() {
    	const want = 120
    
    	if got := a.Fact(5); got != want {
    		panic(fmt.Sprintf("got %d, want %d", got, want))
    	}
    
    	if got := a.Fact[int64](5); got != want {
    		panic(fmt.Sprintf("got %d, want %d", got, want))
    	}
    
    	if got := a.Fact(5.0); got != want {
    		panic(fmt.Sprintf("got %f, want %f", got, want))
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 24 02:14:15 UTC 2022
    - 516 bytes
    - Viewed (0)
  2. maven-core/src/main/java/org/apache/maven/toolchain/DefaultToolchainManagerPrivate.java

                throws MisconfiguredToolchainException {
            List<ToolchainPrivate> toRet = new ArrayList<>();
    
            ToolchainFactory fact = factories.get(type);
            if (fact == null) {
                logger.error("Missing toolchain factory for type: " + type + ". Possibly caused by misconfigured project.");
            } else {
                List<ToolchainModel> availableToolchains =
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  3. test/typeparam/factimp.dir/a.go

    // Copyright 2021 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package a
    
    func Fact[T interface{ int | int64 | float64 }](n T) T {
    	if n == 1 {
    		return 1
    	}
    	return n * Fact(n-1)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jul 28 21:40:40 UTC 2021
    - 279 bytes
    - Viewed (0)
  4. architecture/README.md

    Most source code in Gradle is arranged by which part(s) of the build state model it acts on.
    This affects the lifecycle of the code and the set of services available for dependency injection.
    When working on some source code it is important to be aware of the model it acts on.  
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 02 06:42:46 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  5. platforms/ide/ide/src/test/groovy/org/gradle/plugins/ide/eclipse/model/EclipseModelTest.groovy

            model.wtp.facet.facets.empty
    
            when: "configure wtp component and facet"
            model.wtp.component({ comp -> comp.deployName = 'name' } as Action<EclipseWtpComponent>)
            model.wtp.facet({ fac -> fac.facets.add(new Facet()) } as Action<EclipseWtpFacet>)
    
            then:
            model.wtp.component.deployName == 'name'
            model.wtp.facet.facets.size() == 1
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  6. platforms/ide/ide-plugins/src/test/groovy/org/gradle/plugins/ide/eclipse/EclipseWtpPluginTest.groovy

                    new Facet(FacetType.installed, 'jst.utility', '1.0'),
                    new Facet(FacetType.installed, 'jst.java', '1.7')])
        }
    
        def "can add custom facets to java default facets"() {
            when:
            project.apply(plugin: 'java')
            wtpPlugin.apply(project)
            project.sourceCompatibility = 1.3
    
            project.eclipse.wtp {
                facet {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Aug 08 10:14:49 UTC 2023
    - 16.2K bytes
    - Viewed (0)
  7. analysis/analysis-api-impl-base/src/org/jetbrains/kotlin/analysis/api/impl/base/substitutorMarkers.kt

    /**
     * A [KaSubstitutor] which substitution logic can be represented as a [Map] from a [KaTypeParameterSymbol] to corresponding [KaType]
     * This is an implementation details and Analysis API clients should not depend on the fact if some [KaSubstitutor] is [KaMapBackedSubstitutor] or not.
     */
    @KaAnalysisApiInternals
    interface KaMapBackedSubstitutor : KaSubstitutor {
        /**
         * Substitution rules in a form of a `Map<KaTypeParameterSymbol, KaType>`
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  8. platforms/ide/ide-plugins/src/integTest/groovy/org/gradle/plugins/ide/eclipse/EclipseWtpModelIntegrationTest.groovy

        facet {
          file {
            beforeMerged {
              assert it.facets.contains(new Facet('facet.one', '1.0'))
              it.facets.add(new Facet('facet.two', '2.0'))
            }
            whenMerged {
              assert it.facets.contains(new Facet('facet.one', '1.0'))
              assert it.facets.contains(new Facet('facet.two', '2.0'))
              it.facets.add(new Facet('facet.three', '3.0'))
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 16.3K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/toolchain/DefaultToolchainManager.java

            List<Toolchain> toolchains = new ArrayList<>();
    
            if (models != null) {
                ToolchainFactory fact = factories.get(type);
    
                if (fact == null) {
                    logger.error(
                            "Missing toolchain factory for type: " + type + ". Possibly caused by misconfigured project.");
                } else {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  10. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/ArtifactResolutionExpectationSpec.groovy

            withModuleMetadata(expectation)
            withoutModuleMetadata(expectation)
        }
    
        /**
         * Short-hand notation for expecting a list of files independently of the fact module metadata is used or not
         * @param fileNames
         */
        void expectFiles(String... fileNames) {
            always {
                expectFiles(fileNames as List<String>)
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.9K bytes
    - Viewed (0)
Back to top