Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for readFloats (0.18 sec)

  1. platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/DecoderExtensions.java

            int length = decoder.readInt();
            float[] array = new float[length];
            readFloats(decoder, array);
            return array;
        }
    
        public static void readFloats(Decoder decoder, float[] array) throws IOException {
            for (int i = 0; i < array.length; i++) {
                array[i] = decoder.readFloat();
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 16:06:56 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  2. platforms/core-configuration/core-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/core/jos/ObjectInputStreamAdapter.kt

            require(it >= 0)
            it.toInt()
        }
    
        override fun readShort(): Short = readContext.readShort()
    
        override fun readLong(): Long = readContext.readLong()
    
        override fun readFloat(): Float = readContext.readFloat()
    
        override fun readDouble(): Double = readContext.readDouble()
    
        override fun readBoolean(): Boolean = readContext.readBoolean()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 23:09:56 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  3. platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/InputStreamBackedDecoder.java

        }
    
        @Override
        public short readShort() throws EOFException, IOException {
            return inputStream.readShort();
        }
    
        @Override
        public float readFloat() throws EOFException, IOException {
            return inputStream.readFloat();
        }
    
        @Override
        public double readDouble() throws EOFException, IOException {
            return inputStream.readDouble();
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 16:06:56 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  4. platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/kryo/StringDeduplicatingKryoBackedDecoder.java

                return input.readShort();
            } catch (KryoException e) {
                throw maybeEndOfStream(e);
            }
        }
    
        @Override
        public float readFloat() throws EOFException, IOException {
            try {
                return input.readFloat();
            } catch (KryoException e) {
                throw maybeEndOfStream(e);
            }
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 16:06:56 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  5. platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/kryo/KryoBackedDecoder.java

                return input.readShort();
            } catch (KryoException e) {
                throw maybeEndOfStream(e);
            }
        }
    
        @Override
        public float readFloat() throws EOFException, IOException {
            try {
                return input.readFloat();
            } catch (KryoException e) {
                throw maybeEndOfStream(e);
            }
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 16:06:56 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  6. platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/Decoder.java

         *
         * @throws EOFException when the end of the byte stream is reached before the float value can be fully read.
         * @since 8.7
         */
        float readFloat() throws EOFException, IOException;
    
        /**
         * Reads a double value that was written with {@link Encoder#writeDouble(double)}
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 16:06:56 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  7. platforms/core-configuration/configuration-cache/src/test/kotlin/org/gradle/internal/cc/impl/serialization/codecs/JavaObjectSerializationCodecTest.kt

                transientInt = objectInputStream.readInt()
                transientLong = objectInputStream.readLong()
                transientString = objectInputStream.readUTF()
                transientFloat = objectInputStream.readFloat()
                transientDouble = objectInputStream.readDouble()
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  8. platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/BaseSerializerFactory.java

            }
        }
    
        private static class FloatSerializer extends AbstractSerializer<Float> {
            @Override
            public Float read(Decoder decoder) throws Exception {
                return decoder.readFloat();
            }
    
            @Override
            public void write(Encoder encoder, Float value) throws Exception {
                encoder.writeFloat(value);
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 16:06:56 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  9. platforms/core-configuration/configuration-cache/src/test/kotlin/org/gradle/internal/cc/impl/fingerprint/ConfigurationCacheFingerprintCheckerTest.kt

                undefined()
    
            override fun readNullableSmallInt(): Int? =
                undefined()
    
            override fun readShort(): Short =
                undefined()
    
            override fun readFloat(): Float =
                undefined()
    
            override fun readDouble(): Double =
                undefined()
    
            override fun readNullableString(): String? =
                undefined()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 18.5K bytes
    - Viewed (0)
Back to top