Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. 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)
  2. 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)
  3. android/guava-tests/test/com/google/common/io/ByteStreamsTest.java

        byte[] data = {0x12, 0x34, 0x56, 0x78, 0x76, 0x54, 0x32, 0x10};
        ByteArrayDataInput in = ByteStreams.newDataInput(data);
        assertEquals(Float.intBitsToFloat(0x12345678), in.readFloat(), 0.0);
        assertEquals(Float.intBitsToFloat(0x76543210), in.readFloat(), 0.0);
      }
    
      public void testNewDataInput_readDouble() {
        byte[] data = {0x12, 0x34, 0x56, 0x78, 0x76, 0x54, 0x32, 0x10};
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 21.9K bytes
    - Viewed (0)
  4. 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)
  5. src/main/java/jcifs/smb1/smb1/SmbRandomAccessFile.java

            if((read( tmp, 0, 8 )) < 0 ) {
                throw new SmbException( "EOF" );
            }
            return Encdec.dec_uint64be( tmp, 0 );
        }
        public final float readFloat() throws SmbException {
            if((read( tmp, 0, 4 )) < 0 ) {
                throw new SmbException( "EOF" );
            }
            return Encdec.dec_floatbe( tmp, 0 );
        }
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 10.9K bytes
    - Viewed (0)
  6. 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)
  7. android/guava/src/com/google/common/io/ByteStreams.java

          try {
            return input.readLong();
          } catch (IOException e) {
            throw new IllegalStateException(e);
          }
        }
    
        @Override
        public float readFloat() {
          try {
            return input.readFloat();
          } catch (IOException e) {
            throw new IllegalStateException(e);
          }
        }
    
        @Override
        public double readDouble() {
          try {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Jan 17 18:59:58 UTC 2024
    - 29.7K bytes
    - Viewed (0)
  8. guava/src/com/google/common/io/ByteStreams.java

          try {
            return input.readLong();
          } catch (IOException e) {
            throw new IllegalStateException(e);
          }
        }
    
        @Override
        public float readFloat() {
          try {
            return input.readFloat();
          } catch (IOException e) {
            throw new IllegalStateException(e);
          }
        }
    
        @Override
        public double readDouble() {
          try {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Jan 17 18:59:58 UTC 2024
    - 29.7K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbRandomAccessFile.java

            if ( ( read(this.tmp, 0, 8) ) < 0 ) {
                throw new SmbEndOfFileException();
            }
            return Encdec.dec_uint64be(this.tmp, 0);
        }
    
    
        @Override
        public final float readFloat () throws SmbException {
            if ( ( read(this.tmp, 0, 4) ) < 0 ) {
                throw new SmbEndOfFileException();
            }
            return Encdec.dec_floatbe(this.tmp, 0);
        }
    
    
        @Override
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Wed Jan 08 12:01:33 UTC 2020
    - 18.5K bytes
    - Viewed (1)
Back to top