Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 592 for Boolean (0.48 sec)

  1. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/Workarounds.kt

        )
    
        fun isIgnoredStartParameterProperty(key: String): Boolean =
            ignoredStartParameterProperties.contains(key)
    
    
        fun canReadSystemProperty(from: String): Boolean =
            withWorkaroundsFor("systemProps") {
                isBuildScanPlugin(from)
            }
    
        fun canReadEnvironmentVariable(from: String): Boolean =
            withWorkaroundsFor("envVars") {
                isBuildScanPlugin(from)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  2. platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/DefaultUserClassFilePermissions.java

        private final boolean read;
        private final boolean write;
        private final boolean execute;
    
        public DefaultUserClassFilePermissions(int unixNumeric) {
            read = isRead(unixNumeric);
            write = isWrite(unixNumeric);
            execute = isExecute(unixNumeric);
        }
    
        @Override
        public boolean getRead() {
            return read;
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  3. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/metadata/HasKotlinFlagsMetadataQuery.kt

    
    internal
    fun KotlinClassMetadata.hasKotlinFlag(memberType: MemberType, jvmSignature: String, flag: Flag): Boolean =
        hasKotlinFlags(memberType, jvmSignature) { flags ->
            flag(flags)
        }
    
    
    private
    fun KotlinClassMetadata.hasKotlinFlags(memberType: MemberType, jvmSignature: String, predicate: (Flags) -> Boolean): Boolean =
        when (this) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 07 08:14:15 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  4. platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/AbstractUserClassFilePermissions.java

         */
        protected int toUnixNumeric() {
            return (getRead() ? 4 : 0) + (getWrite() ? 2 : 0) + (getExecute() ? 1 : 0);
        }
    
        protected static boolean isRead(int unixNumeric) {
            return (unixNumeric & 4) >> 2 == 1;
        }
    
        protected static boolean isRead(String unixSymbolic) {
            char symbol = unixSymbolic.charAt(0);
            if (symbol == 'r') {
                return true;
            } else if (symbol == '-') {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  5. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/api/provider/PropertyJavaInterOpIntegrationTest.groovy

                    private final Property<Boolean> flag;
                    private final Property<String> message;
                    private final Property<Double> number;
                    private final ListProperty<Integer> list;
                    private final SetProperty<Integer> set;
                    private final MapProperty<Integer, Boolean> map;
    
                    @Inject
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  6. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/registry/UnboundRulesProcessorTest.groovy

                            .immutableInput(UnboundRuleInput.type(Boolean).path("reference.third"))
            )
        }
    
        def "creates unbound rules with suggestions"() {
            given:
            binder {
                descriptor("ruleWithSuggestions")
                subjectReference("subject", Number)
                inputReference(String)
                inputReference("input.second", Boolean)
                inputReference("input.third", Long)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 7.1K bytes
    - Viewed (0)
  7. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/metadata/KotlinMetadataQueries.kt

        fun isKotlinInternal(ctMember: CtMember): Boolean =
            if (Modifier.isPrivate(ctMember.modifiers)) false
            else hasKotlinFlag(ctMember, Flag.IS_INTERNAL)
    
        fun isKotlinOperatorFunction(ctMethod: CtMethod): Boolean =
            hasKotlinFlag(ctMethod, Flag.Function.IS_OPERATOR)
    
        fun isKotlinInfixFunction(ctMethod: CtMethod): Boolean =
            hasKotlinFlag(ctMethod, Flag.Function.IS_INFIX)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 07 08:20:38 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  8. .teamcity/src/main/kotlin/model/PerformanceTestSpec.kt

        val type: PerformanceTestType
        val os: Os
        val arch: Arch
        val withoutDependencies: Boolean
    
        fun asConfigurationId(model: CIBuildModel, bucket: String): String
        fun channel(): String
    }
    
    interface PerformanceTestProjectSpec {
        val type: PerformanceTestType
        val failsStage: Boolean
    
        fun asConfigurationId(model: CIBuildModel): String
        fun asName(): String
        fun channel(): String
    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 03 03:39:03 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  9. platforms/core-configuration/core-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/core/jos/MethodCache.kt

        allMethods().firstAccessibleMatchingMethodOrNull(predicate)
    
    
    internal
    fun Iterable<Method>.firstAccessibleMatchingMethodOrNull(predicate: Method.() -> Boolean): Method? =
        find(predicate)?.apply { isAccessible = true }
    
    
    internal
    fun Class<*>.firstMatchingMethodOrNull(predicate: Method.() -> Boolean): Method? =
        allMethods().find(predicate)
    
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 23:09:56 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  10. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/history/changes/ChangeDetectorVisitor.java

     */
    
    package org.gradle.internal.execution.history.changes;
    
    public class ChangeDetectorVisitor implements ChangeVisitor {
        private boolean anyChanges;
    
        @Override
        public boolean visitChange(Change change) {
            anyChanges = true;
            return false;
        }
    
        public boolean hasAnyChanges() {
            return anyChanges;
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:46:15 UTC 2023
    - 958 bytes
    - Viewed (0)
Back to top