Searched refs:totalLength (Results 1 – 2 of 2) sorted by relevance
32 int totalLength; field in Ipv4Packet48 totalLength = stream.readUnsignedShort(); in Ipv4Packet()70 if (totalLength < headerLength) { in Ipv4Packet()71 throw new IllegalArgumentException("Total length = " + totalLength in Ipv4Packet()74 data = new byte[totalLength - headerLength]; in Ipv4Packet()77 byte[] original = new byte[totalLength]; in Ipv4Packet()92 totalLength = headerLength + data.length; in setData()101 stream.writeShort(totalLength); in getEncoded()130 out.append("\n Total length: ").append(totalLength); in toString()
375 final double totalLength = (LINE1_END - LINE1_START) + Math.sqrt( in testOfFloat_Path() local378 final double firstSegEndFraction = (LINE1_END - LINE1_START) / totalLength; in testOfFloat_Path()