- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for MapValueSnapshot (0.23 sec)
-
platforms/core-configuration/model-core/src/main/java/org/gradle/internal/snapshot/impl/SnapshotSerializer.java
} encoder.writeBinary(valueSnapshot.getValue()); } else if (snapshot instanceof MapValueSnapshot) { MapValueSnapshot mapSnapshot = (MapValueSnapshot) snapshot; encoder.writeSmallInt(MAP_SNAPSHOT); encoder.writeSmallInt(mapSnapshot.getEntries().size());
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Jan 11 20:22:01 UTC 2024 - 14.1K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/internal/snapshot/impl/DefaultValueSnapshotter.java
public ValueSnapshot map(ImmutableList<MapEntrySnapshot<ValueSnapshot>> elements) { return new MapValueSnapshot(elements); } @Override public ValueSnapshot properties(ImmutableList<MapEntrySnapshot<ValueSnapshot>> elements) { return new MapValueSnapshot(elements); } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Jan 11 20:22:01 UTC 2024 - 6.5K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/snapshot/impl/SnapshotSerializerTest.groovy
builder.add(new MapEntrySnapshot<ValueSnapshot>(string("123"), integer(123))) builder.add(new MapEntrySnapshot<ValueSnapshot>(string("456"), list(integer(-12), integer(12)))) def original = new MapValueSnapshot(builder.build()) write(original) expect: original == written } def "serializes managed type properties"() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Jan 11 20:22:01 UTC 2024 - 8K bytes - Viewed (0)