Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 2,565 for Applies (0.4 sec)

  1. test/fixedbugs/issue4099.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Check go:noescape annotations.
    
    package p
    
    // The noescape comment only applies to the next func,
    // which must not have a body.
    
    //go:noescape
    
    func F1([]byte)
    
    func F2([]byte)
    
    func G() {
    	var buf1 [10]byte
    	F1(buf1[:])
    
    	var buf2 [10]byte // ERROR "moved to heap: buf2"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 509 bytes
    - Viewed (0)
  2. src/reflect/float32reg_generic.go

    //go:build !ppc64 && !ppc64le && !riscv64
    
    package reflect
    
    import "unsafe"
    
    // This file implements a straightforward conversion of a float32
    // value into its representation in a register. This conversion
    // applies for amd64 and arm64. It is also chosen for the case of
    // zero argument registers, but is not used.
    
    func archFloat32FromReg(reg uint64) float32 {
    	i := uint32(reg)
    	return *(*float32)(unsafe.Pointer(&i))
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 04 13:38:32 UTC 2022
    - 681 bytes
    - Viewed (0)
  3. platforms/enterprise/enterprise/src/integTest/groovy/org/gradle/internal/enterprise/core/BuildScanAutoApplyIntegrationTest.groovy

        }
    
        void applyPlugin() {
            settingsFile << fixture.plugins()
        }
    
        def "automatically applies plugin when --scan is provided on command-line"() {
            when:
            runBuildWithScanRequest()
    
            then:
            pluginAppliedOnce()
        }
    
        def "only applies once when -b used"() {
            when:
            file("other-build.gradle") << "task dummy {}"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 25 08:50:27 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  4. platforms/jvm/plugins-java-base/src/integTest/groovy/org/gradle/api/plugins/JavaBasePluginTest.groovy

    import static org.gradle.util.internal.WrapUtil.toLinkedSet
    
    class JavaBasePluginTest extends AbstractProjectBuilderSpec {
        @Rule
        public SetSystemProperties sysProperties = new SetSystemProperties()
    
        def "applies base plugins and adds convention and extensions"() {
            when:
            project.pluginManager.apply(JavaBasePlugin)
    
            then:
            project.plugins.hasPlugin(ReportingBasePlugin)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 12:15:28 UTC 2023
    - 16.4K bytes
    - Viewed (0)
  5. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/SettingsExtensions.kt

    import org.gradle.api.initialization.Settings
    import org.gradle.api.plugins.PluginAware
    import org.gradle.kotlin.dsl.support.serviceOf
    
    import kotlin.reflect.KProperty
    
    
    /**
     * Applies the plugin of the given type [T]. Does nothing if the plugin has already been applied.
     *
     * The given class should implement the [Plugin] interface, and be parameterized for a
     * compatible type of `this`.
     *
     * @param T the plugin type.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 09:50:04 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  6. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/GradleExtensions.kt

     */
    package org.gradle.kotlin.dsl
    
    import org.gradle.api.Plugin
    import org.gradle.api.invocation.Gradle
    import org.gradle.api.plugins.PluginAware
    
    
    /**
     * Applies the plugin of the given type [T]. Does nothing if the plugin has already been applied.
     *
     * The given class should implement the [Plugin] interface, and be parameterized for a
     * compatible type of `this`.
     *
     * @param T the plugin type.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  7. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/inspect/ExtractedRuleSource.java

    import org.gradle.model.internal.core.MutableModelNode;
    import org.gradle.model.internal.registry.ModelRegistry;
    
    import java.util.List;
    
    public interface ExtractedRuleSource<T> {
        /**
         * Applies the rules of this rule source to the given element.
         */
        void apply(ModelRegistry modelRegistry, MutableModelNode target);
    
        /**
         * Returns the set of plugins required by the rules of this rule source.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  8. platforms/jvm/war/src/test/groovy/org/gradle/api/plugins/WarPluginTest.groovy

    import org.gradle.test.fixtures.AbstractProjectBuilderSpec
    import org.gradle.util.TestUtil
    
    import static org.gradle.api.tasks.TaskDependencyMatchers.dependsOn
    
    class WarPluginTest extends AbstractProjectBuilderSpec {
        def "applies Java plugin and adds convention"() {
            when:
            project.pluginManager.apply(WarPlugin)
    
            then:
            project.getPlugins().hasPlugin(JavaPlugin)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jun 22 18:51:45 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  9. platforms/jvm/ear/src/test/groovy/org/gradle/plugins/ear/EarPluginTest.groovy

        }
    
        def "applies mappings to archive tasks"() {
            when:
            project.pluginManager.apply(EarPlugin)
    
            and:
            def task = project.task(type: Ear, 'customEar')
    
            then:
            task.destinationDirectory.get() == project.libsDirectory.get()
        }
    
        def "works with java base plugin applied before ear plugin"() {
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 02 14:55:02 UTC 2023
    - 11.7K bytes
    - Viewed (0)
  10. platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/toolchain/internal/gcc/TargetPlatformConfiguration.java

    public interface TargetPlatformConfiguration {
        /**
         * Returns whether a platform is supported or not.
         */
        boolean supportsPlatform(NativePlatformInternal targetPlatform);
    
        /**
         *  applies a platform specific toolchain configuration
         */
        void apply(DefaultGccPlatformToolChain platformToolChain);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 1.1K bytes
    - Viewed (0)
Back to top