- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for Records (0.08 sec)
-
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheSupportedTypesIntegrationTest.groovy
file("buildSrc/src/main/java/SingleField.java") << """ public record SingleField(String value) {} """ file("buildSrc/src/main/java/ZeroFields.java") << """ public record ZeroFields() {} """ file("buildSrc/src/main/java/MultipleFields.java") << """
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 26.1K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/test/kotlin/org/gradle/internal/cc/impl/fingerprint/ConfigurationCacheFingerprintCheckerTest.kt
RecordingWriteContext().apply { runWriteOperation(writeOperation) }.toReadContext() /** * A [WriteContext] implementation that avoids serialization altogether * and simply records the written values. * * The written state can then be read from the [ReadContext] returned * by [toReadContext]. */ private class RecordingWriteContext : WriteContext {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 18.5K bytes - Viewed (0) -
platforms/core-configuration/core-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/core/jos/JavaObjectSerializationCodec.kt
encodePreservingIdentityOf(value) { val beanType = value.javaClass val record = recordWritingOf(beanType, value) writeEnum(Format.WriteObject) writeClass(beanType) record.run { playback() } } } private
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jun 07 23:09:56 UTC 2024 - 11.4K bytes - Viewed (0) -
platforms/core-configuration/dependency-management-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/dm/LocalFileDependencyBackedArtifactSetCodec.kt
val selected = value.variantSelector.select(recordingSet, value.requestAttributes, true, recordingSet) if (selected == ResolvedArtifactSet.EMPTY) { // Don't need to record the mapping } else if (recordingSet.targetAttributes != null) { mappings[sourceAttributes] = TransformMapping(recordingSet.targetAttributes!!, recordingSet.transformChain!!)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jun 04 18:56:44 UTC 2024 - 17.5K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/DefaultConfigurationCache.kt
} private fun <T : Any> loadFromCache(stateType: StateType, action: (ConfigurationCacheStateFile) -> Pair<LoadResult, T>): T { prepareConfigurationTimeBarrier() // No need to record the `ClassLoaderScope` tree // when loading the task graph. scopeRegistryListener.dispose() val result = buildOperationRunner.withLoadOperation {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:30 UTC 2024 - 24.3K bytes - Viewed (0) -
platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/dom/operations/overlay/DocumentOverlay.kt
result.add(overlayItem) recordValueOriginRecursively(overlayItem.value, FromOverlay(overlayItem)) // However, if there was a matching underlay property, we want to record that in the overlay origins: underlayNodesByMergeKey[overlayMergeKey]?.also { underlayItems ->
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 31 13:47:10 UTC 2024 - 15.4K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/problems/ConfigurationCacheReport.kt
moveSpoolFileTo(outputDirectory) }) .get(30, TimeUnit.SECONDS) } finally { executor.shutdownAndAwaitTermination() } return Closed to reportFile } override fun close(): State {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:30 UTC 2024 - 11.4K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheUnsupportedTypesIntegrationTest.groovy
} @Requires(UnitTestPreconditions.Jdk14OrLater) def "reports when task field references a record containing type #baseType"() { file("buildSrc/src/main/java/JavaRecord.java") << """ public record JavaRecord(${baseType.name} value, int filler) {} """ file("buildSrc/build.gradle.kts") << """ plugins {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 28.3K bytes - Viewed (0) -
platforms/core-execution/persistent-cache/src/integTest/groovy/org/gradle/cache/internal/DefaultFileLockManagerContentionIntegrationTest.groovy
try { Executors.newSingleThreadExecutor().submit { DatagramPacket packet = new DatagramPacket(new byte[9], 9) receivingSocket.receive(packet) }.get(1, TimeUnit.SECONDS) } catch (TimeoutException e) { return true } return false } def countPingsSent(GradleHandle build, DatagramSocket socket = receivingSocket) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jun 11 09:51:15 UTC 2024 - 15.1K bytes - Viewed (0) -
platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/mappingToJvm/DeclarativeReflectionToObjectConverter.kt
applyPropertyValue(objectReflection.objectOrigin, property, assigned) apply(assigned.value, conversionFilter) // TODO: record properties assigned in function calls or constructors, so that // we can check that all properties were assigned } objectReflection.addedObjects.forEach { addedObject ->
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 21 14:27:23 UTC 2024 - 10.6K bytes - Viewed (0)