Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 28 for Contains (0.75 sec)

  1. platforms/core-configuration/graph-serialization/src/main/kotlin/org/gradle/internal/serialize/graph/Identities.kt

    
    class CircularReferences {
    
        private
        val refs = ReferenceOpenHashSet<Any>()
    
        fun enter(reference: Any) {
            require(refs.add(reference))
        }
    
        operator fun contains(reference: Any) =
            refs.contains(reference)
    
        fun leave(reference: Any) {
            require(refs.remove(reference))
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 20:48:51 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  2. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/Workarounds.kt

            KotlinDslModelsParameters.CORRELATION_ID_GRADLE_PROPERTY_NAME // Changing by IDE
        )
    
        fun isIgnoredStartParameterProperty(key: String): Boolean =
            ignoredStartParameterProperties.contains(key)
    
    
        fun canReadSystemProperty(from: String): Boolean =
            withWorkaroundsFor("systemProps") {
                isBuildScanPlugin(from)
            }
    
        fun canReadEnvironmentVariable(from: String): Boolean =
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  3. .teamcity/src/main/kotlin/common/extensions.kt

            }
            skipConditionally(buildType)
        }
    
    fun Requirements.requiresOs(os: Os) {
        contains("teamcity.agent.jvm.os.name", os.agentRequirement)
    }
    
    fun Requirements.requiresArch(os: Os, arch: Arch) {
        if (os == Os.MACOS) {
            contains("teamcity.agent.jvm.os.arch", arch.nameOnMac)
        } else {
            contains("teamcity.agent.jvm.os.arch", arch.nameOnLinuxWindows)
        }
    }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 03 03:39:03 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  4. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/ConfigurationCacheState.kt

    
    internal
    enum class StateType(val encryptable: Boolean = false) {
        /**
         * Contains the state for the entire build.
         */
        Work(true),
    
        /**
         * Contains the side effects observed during the creation of the [Model].
         */
        ModelSideEffects(true),
    
        /**
         * Contains the model objects sent back to the IDE in response to a TAPI request.
         */
        Model(true),
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 34.8K bytes
    - Viewed (0)
  5. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/BuildParams.kt

     */
    val Project.isPromotionBuild: Boolean
        get() {
            val taskNames = gradle.startParameter.taskNames
            return taskNames.contains("promotionBuild") ||
                // :updateReleasedVersionsToLatestNightly and :updateReleasedVersions
                taskNames.any { it.contains("updateReleasedVersions") }
        }
    
    
    /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 04 06:42:07 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  6. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AbstractAcceptedApiChangesMaintenanceTaskIntegrationTest.kt

                assertContains(cleanupHint)
            }
        }
    
        private
        fun StringWriter.assertContains(text: String) {
            Assertions.assertTrue(toString().contains(text)) {
                "Did not find expected error message in $this"
            }
        }
    
        protected
        data class Change(val type: String, val member: String) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 04 14:00:46 UTC 2024
    - 6K bytes
    - Viewed (0)
  7. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/models/ProjectStateStore.kt

            for (entry in entryDetails) {
                val identityPath = projectPathForKey(entry.key)
                if (identityPath == null || !checkedFingerprint.invalidProjects.contains(identityPath)) {
                    // Can reuse the value
                    previousValues[entry.key] = entry.value
                }
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  8. JavadocStyleGuide.md

       try {
           return getImage(new URL(url, name));
       } catch (MalformedURLException e) {
           return null;
       }
    }
    ```
    
    Basic formatting rules:
    
    - The first line contains the begin-comment delimiter ( `/**`).
    - The first sentence is a summary.
    - Notice the inline tag `{@link URL}`, which converts to an HTML hyperlink pointing to the documentation for the URL class.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jun 06 15:43:07 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  9. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/fingerprint/ConfigurationCacheFingerprintChecker.kt

                    is ProjectSpecificFingerprint.ProjectFingerprint ->
                        if (reusedProjects.contains(input.projectPath)) {
                            consumer.accept(input)
                        }
                    is ProjectSpecificFingerprint.ProjectDependency ->
                        if (reusedProjects.contains(input.consumingProject)) {
                            consumer.accept(input)
                        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  10. build-logic/dependency-modules/src/main/kotlin/gradlebuild.dependency-modules.gradle.kts

         */
        private
        fun ConfigurationContainer.forceUpgrade(to: String, version: String) = all {
            resolutionStrategy.dependencySubstitution {
                all {
                    if (providedBy.contains(requested.toString())) {
                        useTarget("$to:$version", "Forceful upgrade of capability $name")
                    }
                }
            }
        }
    }
    
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 05 20:15:18 UTC 2024
    - 9.7K bytes
    - Viewed (0)
Back to top