Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 48 for nonleaf (0.12 sec)

  1. test/fixedbugs/issue23521.go

    // Issue 23521: improve early DCE for if without explicit else.
    
    package p
    
    //go:noinline
    func nonleaf() {}
    
    const truth = true
    
    func f() int { // ERROR "can inline f"
    	if truth {
    		return 0
    	}
    	// If everything below is removed, as it should,
    	// function f should be inlineable.
    	nonleaf()
    	for {
    		panic("")
    	}
    }
    
    func g() int { // ERROR "can inline g"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 03 15:19:41 UTC 2018
    - 773 bytes
    - Viewed (0)
  2. src/runtime/proc_test.go

    	}
    	sum := 0
    	for i := range x {
    		sum += int(x[i])
    	}
    
    	// keep small from being a leaf function, which might
    	// make it not do any stack check at all.
    	nonleaf(stop)
    
    	return sum
    }
    
    func nonleaf(stop chan int) bool {
    	// do something that won't be inlined:
    	select {
    	case <-stop:
    		return true
    	default:
    		return false
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 14 00:03:57 UTC 2023
    - 25.8K bytes
    - Viewed (0)
  3. testing/internal-performance-testing/src/templates/root-project/pom.xml

                                    println "nonHeap: \${format(nonHeap.used)} (initial \${format(nonHeap.init)}, committed \${format(nonHeap.committed)}, max \${format(nonHeap.max)}"
                                    buildDir.mkdirs()
                                    new File(buildDir, "totalMemoryUsed.txt").text = heap.used
                                    new File(buildDir, "buildEventTimestamps.txt").text = "0\\n"*3
    
                                </source>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  4. platforms/software/testing-base/src/test/groovy/org/gradle/api/internal/tasks/testing/logging/FullExceptionFormatterTest.groovy

            Caused by:
            java.lang.RuntimeException: oops
    """
        }
    
        def "optionally shows stack traces"() {
            testLogging.getShowStackTraces() >> true
            testLogging.getStackTraceFilters() >> EnumSet.noneOf(TestStackTraceFilter)
            def exception = new Exception("ouch")
            exception.stackTrace = createStackTrace()
    
            expect:
            formatter.format(testDescriptor, [exception]) == """\
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 15:59:04 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  5. subprojects/core/src/integTest/groovy/org/gradle/api/internal/tasks/TaskOnlyIfReasonIntegrationTest.groovy

            "onlyIf('condition1') { false }"                                                    | "condition1"
            "onlyIf('...') { true }\nonlyIf('condition2') { false }"                            | "condition2"
            "onlyIf('...') { false }\nsetOnlyIf('condition3') { false }"                        | "condition3"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jul 01 11:18:25 UTC 2022
    - 2.6K bytes
    - Viewed (0)
  6. platforms/core-runtime/files/src/test/groovy/org/gradle/internal/file/PosixFilePermissionConverterTest.groovy

            expect:
            PosixFilePermissionConverter.convertToInt(perms) == intValue
    
            where:
            perms                                                                |       intValue
            EnumSet.noneOf(PosixFilePermission)                                  |       0
            EnumSet.allOf(PosixFilePermission)                                   |       0777
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:50:56 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  7. platforms/software/testing-base/src/main/java/org/gradle/api/internal/tasks/testing/logging/DefaultTestLogging.java

    import static org.gradle.util.internal.GUtil.toEnum;
    import static org.gradle.util.internal.GUtil.toEnumSet;
    
    public class DefaultTestLogging implements TestLogging {
        private Set<TestLogEvent> events = EnumSet.noneOf(TestLogEvent.class);
        private int minGranularity = -1;
        private int maxGranularity = -1;
        private int displayGranularity = 2;
        private boolean showExceptions = true;
        private boolean showCauses = true;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 12 10:04:16 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  8. subprojects/core/src/testFixtures/groovy/org/gradle/api/internal/FeaturePreviewsActivationFixture.groovy

     * limitations under the License.
     */
    
    package org.gradle.api.internal
    
    class FeaturePreviewsActivationFixture {
    
        static def activeFeatures() {
            EnumSet<FeaturePreviews.Feature> active = EnumSet.noneOf(FeaturePreviews.Feature)
            for (FeaturePreviews.Feature feature : FeaturePreviews.Feature.values()) {
                if (feature.isActive()) {
                    active.add(feature)
                }
            }
            active
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 13 13:23:50 UTC 2020
    - 1.2K bytes
    - Viewed (0)
  9. subprojects/core/src/main/java/org/gradle/api/internal/FeaturePreviews.java

            }
    
            /**
             * Returns the set of active {@linkplain Feature features}.
             */
            private static EnumSet<Feature> activeFeatures() {
                EnumSet<Feature> activeFeatures = EnumSet.noneOf(Feature.class);
                for (Feature feature : Feature.values()) {
                    if (feature.isActive()) {
                        activeFeatures.add(feature);
                    }
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Sep 14 08:15:13 UTC 2022
    - 2.5K bytes
    - Viewed (0)
  10. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/execution/EvalOption.kt

    import java.util.*
    
    
    enum class EvalOption {
        IgnoreErrors,
        SkipBody
    }
    
    
    typealias EvalOptions = EnumSet<EvalOption>
    
    
    internal
    val defaultEvalOptions: EvalOptions =
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 874 bytes
    - Viewed (0)
Back to top