Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for readFloats (0.29 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. src/strconv/atof.go

    			if s[i] == '_' {
    				// readFloat already checked underscores
    				continue
    			}
    			if e < 10000 {
    				e = e*10 + int(s[i]) - '0'
    			}
    		}
    		b.dp += e * esign
    	}
    
    	if i != len(s) {
    		return
    	}
    
    	ok = true
    	return
    }
    
    // readFloat reads a decimal or hexadecimal mantissa and exponent from a float
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 06 18:50:50 UTC 2022
    - 15.9K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/modulecache/StringDeduplicatingDecoder.java

        }
    
        @Override
        public short readShort() throws EOFException, IOException {
            return delegate.readShort();
        }
    
        @Override
        public float readFloat() throws EOFException, IOException {
            return delegate.readFloat();
        }
    
        @Override
        public double readDouble() throws EOFException, IOException {
            return delegate.readDouble();
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 11 11:24:15 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  7. 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)
  8. guava/src/com/google/common/io/LittleEndianDataInputStream.java

       * Reads a {@code float} as specified by {@link DataInputStream#readFloat()}, except using
       * little-endian byte order.
       *
       * @return the next four bytes of the input stream, interpreted as a {@code float} in
       *     little-endian byte order
       * @throws IOException if an I/O error occurs
       */
      @CanIgnoreReturnValue // to skip some bytes
      @Override
      public float readFloat() throws IOException {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 17 14:35:11 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  9. guava/src/com/google/common/io/ByteArrayDataInput.java

      @Override
      int readInt();
    
      @CanIgnoreReturnValue // to skip some bytes
      @Override
      long readLong();
    
      @CanIgnoreReturnValue // to skip some bytes
      @Override
      float readFloat();
    
      @CanIgnoreReturnValue // to skip some bytes
      @Override
      double readDouble();
    
      @CanIgnoreReturnValue // to skip a line
      @Override
      @CheckForNull
      String readLine();
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 28 20:13:02 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/io/LittleEndianDataInputStream.java

       * Reads a {@code float} as specified by {@link DataInputStream#readFloat()}, except using
       * little-endian byte order.
       *
       * @return the next four bytes of the input stream, interpreted as a {@code float} in
       *     little-endian byte order
       * @throws IOException if an I/O error occurs
       */
      @CanIgnoreReturnValue // to skip some bytes
      @Override
      public float readFloat() throws IOException {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 17 14:35:11 UTC 2023
    - 7.3K bytes
    - Viewed (0)
Back to top