Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for float (0.12 sec)

  1. src/main/java/jcifs/smb1/util/Encdec.java

            return l;
        }
    
        /* Encode floats
         */
    
        public static int enc_floatle( float f, byte[] dst, int di )
        {
            return enc_uint32le( Float.floatToIntBits( f ), dst, di );
        }
        public static int enc_floatbe( float f, byte[] dst, int di )
        {
            return enc_uint32be( Float.floatToIntBits( f ), dst, di );
        }
    
        /* Decode floating point numbers
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 10.9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/util/Encdec.java

            return l;
        }
    
    
        /*
         * Encode floats
         */
    
        public static int enc_floatle ( float f, byte[] dst, int di ) {
            return enc_uint32le(Float.floatToIntBits(f), dst, di);
        }
    
    
        public static int enc_floatbe ( float f, byte[] dst, int di ) {
            return enc_uint32be(Float.floatToIntBits(f), dst, di);
        }
    
    
        /*
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 11K bytes
    - Viewed (0)
  3. 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);
        }
    
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Wed Jan 08 12:01:33 GMT 2020
    - 18.5K bytes
    - Viewed (0)
  4. 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 );
        }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 10.9K bytes
    - Viewed (0)
Back to top