Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for LongValueSnapshot (0.77 sec)

  1. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/snapshot/impl/SnapshotSerializerTest.groovy

            integer(Integer.MAX_VALUE)              | _
            integer(Integer.MIN_VALUE)              | _
            new LongValueSnapshot(123L)             | _
            new LongValueSnapshot(0L)               | _
            new LongValueSnapshot(Long.MAX_VALUE)   | _
            new LongValueSnapshot(Long.MIN_VALUE)   | _
            new ShortValueSnapshot(123 as short)    | _
            new ShortValueSnapshot(0 as short)      | _
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 11 20:22:01 UTC 2024
    - 8K bytes
    - Viewed (0)
  2. platforms/core-execution/workers/src/main/java/org/gradle/workers/internal/IsolatableSerializerRegistry.java

            @Override
            protected void serialize(Encoder encoder, LongValueSnapshot value) throws Exception {
                encoder.writeLong(value.getValue());
            }
    
            @Override
            protected LongValueSnapshot deserialize(Decoder decoder) throws Exception {
                return new LongValueSnapshot(decoder.readLong());
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 26 14:58:23 UTC 2024
    - 26.9K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/snapshot/impl/SnapshotSerializer.java

                encoder.writeSmallInt(INTEGER_SNAPSHOT);
                encoder.writeInt(integerSnapshot.getValue());
            } else if (snapshot instanceof LongValueSnapshot) {
                LongValueSnapshot longSnapshot = (LongValueSnapshot) snapshot;
                encoder.writeSmallInt(LONG_SNAPSHOT);
                encoder.writeLong(longSnapshot.getValue());
            } else if (snapshot instanceof ShortValueSnapshot) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 11 20:22:01 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/snapshot/impl/DefaultValueSnapshotter.java

            public ValueSnapshot integerValue(Integer value) {
                return new IntegerValueSnapshot(value);
            }
    
            @Override
            public ValueSnapshot longValue(Long value) {
                return new LongValueSnapshot(value);
            }
    
            @Override
            public ValueSnapshot shortValue(Short value) {
                return new ShortValueSnapshot(value);
            }
    
            @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 11 20:22:01 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  5. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/snapshot/impl/DefaultIsolatableFactory.java

            public Isolatable<?> integerValue(Integer value) {
                return new IntegerValueSnapshot(value);
            }
    
            @Override
            public Isolatable<?> longValue(Long value) {
                return new LongValueSnapshot(value);
            }
    
            @Override
            public Isolatable<?> shortValue(Short value) {
                return new ShortValueSnapshot(value);
            }
    
            @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 26 22:53:34 UTC 2024
    - 6.5K bytes
    - Viewed (0)
Back to top