Package

swave.core

util

Permalink

package util

Linear Supertypes
HelperMacros, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. util
  2. HelperMacros
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. final class AnyRefExtractor[A, B <: AnyRef] extends AnyRef

    Permalink
  2. final class CellArray[T] extends AnyRef

    Permalink
  3. final class CellWheel[T] extends AnyRef

    Permalink
  4. final class DoubleCell extends PrimitiveCell

    Permalink
  5. final class IntInt extends AnyVal

    Permalink
  6. sealed abstract class PrimitiveCell extends AnyRef

    Permalink
  7. final class RichArrayBuffer[A] extends AnyVal

    Permalink
  8. final class RichByteArray extends AnyVal

    Permalink
  9. final class RichConfig extends AnyVal

    Permalink
  10. final class RichFuture[T] extends AnyVal

    Permalink
  11. final class RichHList[L <: HList] extends AnyVal

    Permalink
  12. final class RichList[T] extends AnyVal

    Permalink
  13. final class RichRefArray[T <: AnyRef] extends AnyVal

    Permalink
  14. final class RichSeq[A] extends AnyVal

    Permalink
  15. final class RichString extends AnyVal

    Permalink
  16. final class RichTraversable[A] extends AnyVal

    Permalink
  17. final class XorShiftRandom extends AnyRef

    Permalink

    xorshift128+ random number generator as proposed by Sebastiano Vigna in "Further scramblings of Marsaglia’s xorshift generators" (April 2014): http://vigna.di.unimi.it/ftp/papers/xorshiftplus.pdf

    xorshift128+ random number generator as proposed by Sebastiano Vigna in "Further scramblings of Marsaglia’s xorshift generators" (April 2014): http://vigna.di.unimi.it/ftp/papers/xorshiftplus.pdf

    In this paper Vigna claims that xorshift128+ "is currently the fastest full-period generator we are aware of that does not fail systematically any BigCrush test (not even reversed), making it an excellent drop-in substitute for the low-dimensional generators found in many programming languages."

    Further: "For example, the current default pseudorandom number generator of the Erlang language is a custom xorshift116+ generator designed by the author using 58-bit integers and shifts (Erlang uses the upper 6 bits for object metadata, so using 64-bit integers would make the algorithm significantly slower); and the JavaScript engines of Chrome, Firefox and Safari are based on xorshift128+. xorshift128+ can also be easily implemented in hardware, as it requires just three shift, four xors and an addition."

Value Members

  1. object AnyRefExtractor

    Permalink
  2. object IntInt

    Permalink
  3. object LongArray

    Permalink
  4. object XorShiftRandom

    Permalink
  5. def dropFunc[T]: (T) ⇒ Unit

    Permalink
  6. def identityFunc[T]: (T) ⇒ T

    Permalink
  7. def identityHash(obj: AnyRef): String

    Permalink
  8. def isPowerOf2(i: Int): Boolean

    Permalink
  9. macro def requireArg(cond: Boolean, msg: Any): Unit

    Permalink
    Definition Classes
    HelperMacros
  10. macro def requireArg(cond: Boolean): Unit

    Permalink
    Definition Classes
    HelperMacros
  11. macro def requireState(cond: Boolean, msg: Any): Unit

    Permalink
    Definition Classes
    HelperMacros
  12. macro def requireState(cond: Boolean): Unit

    Permalink
    Definition Classes
    HelperMacros
  13. implicit def richArrayBuffer[T](seq: ArrayBuffer[T]): RichArrayBuffer[T]

    Permalink
  14. implicit def richByteArray(array: Array[Byte]): RichByteArray

    Permalink
  15. implicit def richConfig[T](config: Config): RichConfig

    Permalink
  16. implicit def richFuture[T](future: Future[T]): RichFuture[T]

    Permalink
  17. implicit def richHList[L <: HList](list: L): RichHList[L]

    Permalink
  18. implicit def richInt(int: Int): RichInt

    Permalink
  19. implicit def richList[T](list: List[T]): RichList[T]

    Permalink
  20. implicit def richLong(long: Long): RichLong

    Permalink
  21. implicit def richRefArray[T <: AnyRef](array: Array[T]): RichRefArray[T]

    Permalink
  22. implicit def richSeq[T](seq: Seq[T]): RichSeq[T]

    Permalink
  23. implicit def richString(string: String): RichString

    Permalink
  24. implicit def richTraversable[T](seq: Traversable[T]): RichTraversable[T]

    Permalink
  25. def roundUpToNextPowerOf2(i: Int): Int

    Permalink

Inherited from HelperMacros

Inherited from AnyRef

Inherited from Any

Ungrouped