Object

org.platanios.tensorflow.api.utilities

CRC32C

Related Doc: package utilities

Permalink

object CRC32C

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CRC32C
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  8. def extend(initCrc: Int, bytes: Array[Byte], size: Int = 1): Int

    Permalink

    Returns the CRC32C of a concatenated with data[0, size - 1]) where initCrc is the CRC32C of some string a.

    Returns the CRC32C of a concatenated with data[0, size - 1]) where initCrc is the CRC32C of some string a. This method is often used to maintain the CRC32C of a stream of data.

    initCrc

    CRC32C of some string.

    bytes

    Bytes to use in order to extend initCrc.

    size

    Number of bytes to use from bytes. If -1 (the default value), then all bytes are used.

    returns

    Extended CRC32C.

  9. def extend(initCrc: Int, value: String): Int

    Permalink

    Returns the CRC32C of a concatenated with value where initCrc is the CRC32C of some string a.

    Returns the CRC32C of a concatenated with value where initCrc is the CRC32C of some string a. This method is often used to maintain the CRC32C of a stream of data.

    initCrc

    CRC32C of some string.

    value

    String to use in order to extend initCrc.

    returns

    Extended CRC32C.

  10. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  12. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  13. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  14. def mask(crc: Int): Int

    Permalink

    Returns a masked representation of crc.

    Returns a masked representation of crc.

    Motivation: It is problematic to compute the CRC of a byte array that contains embedded CRCs. Therefore, we recommend that CRCs stored somewhere (e.g., in files) should be masked before being stored.

    crc

    CRC to mask.

    returns

    Masked representation of crc.

  15. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  16. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  17. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  18. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  19. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  20. def unmask(maskedCrc: Int): Int

    Permalink

    Returns the CRC whose masked representation is maskedCrc.

    Returns the CRC whose masked representation is maskedCrc.

    maskedCrc

    Masked representation of a CRC.

    returns

    CRC whose masked representation is maskedCrc.

  21. def value(bytes: Array[Byte], size: Int = 1): Int

    Permalink

    Returns the CRC32C of data[0, size - 1]).

    Returns the CRC32C of data[0, size - 1]).

    bytes

    Bytes to use in order to compute the CRC32C.

    size

    Number of bytes to use from bytes. If -1 (the default value), then all bytes are used.

    returns

    CRC32C for bytes.

  22. def value(value: String): Int

    Permalink

    Returns the CRC32C of the provided string.

    Returns the CRC32C of the provided string.

    value

    String for which to compute the CRC32C.

    returns

    CRC32C for value.

  23. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped