congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
Pipe$SlabRingHead.<init>
Code IndexAdd Tabnine to your IDE (free)

How to use
com.ociweb.pronghorn.pipe.Pipe$SlabRingHead
constructor

Best Java code snippets using com.ociweb.pronghorn.pipe.Pipe$SlabRingHead.<init> (Showing top 3 results out of 315)

origin: com.ociweb/PronghornPipes

/**
 * Provides a container holding an int value that fills a 64-byte cache line.
 */
public static class PaddedInt {
  // Most platforms have 64 byte cache lines so the value variable is padded so 16 four byte ints are consumed.
  // If a platform has smaller cache lines, this approach will use a little more memory than required but the
  // performance gains will still be preserved.
  // Modern Intel and AMD chips commonly have 64 byte cache lines.
  // TODO: code This should just be 15, shouldn't it?
  public int value = 0, padding1, padding2, padding3, padding4, padding5, padding6, padding7, padding8,
    padding9, padding10, padding11, padding13, padding14, padding15, padding16;
  /**
   * Provides access to the value of this PaddedInt.
   * @param pi  is the PaddedInt containing the desired value.
   * @return    the value contained by the provided int.
   */
  public static int get(PaddedInt pi) {
      return pi.value;
  }
  /**
   * Sets the value of the provided PaddedInt.
   * @param pi     is the padded int to contain the value.
   * @param value  is the value to be put into the padded int.
   */
  public static void set(PaddedInt pi, int value) {
    pi.value = value;
  }
origin: oci-pronghorn/Pronghorn

/**
 * Provides a container holding an int value that fills a 64-byte cache line.
 */
public static class PaddedInt {
  // Most platforms have 64 byte cache lines so the value variable is padded so 16 four byte ints are consumed.
  // If a platform has smaller cache lines, this approach will use a little more memory than required but the
  // performance gains will still be preserved.
  // Modern Intel and AMD chips commonly have 64 byte cache lines.
  // TODO: code This should just be 15, shouldn't it?
  public int value = 0, padding1, padding2, padding3, padding4, padding5, padding6, padding7, padding8,
    padding9, padding10, padding11, padding13, padding14, padding15, padding16;
  /**
   * Provides access to the value of this PaddedInt.
   * @param pi  is the PaddedInt containing the desired value.
   * @return    the value contained by the provided int.
   */
  public static int get(PaddedInt pi) {
      return pi.value;
  }
  /**
   * Sets the value of the provided PaddedInt.
   * @param pi     is the padded int to contain the value.
   * @param value  is the value to be put into the padded int.
   */
  public static void set(PaddedInt pi, int value) {
    pi.value = value;
  }
origin: com.ociweb/pronghorn-pipes

/**
 * Provides a container holding an int value that fills a 64-byte cache line.
 */
public static class PaddedInt {
  // Most platforms have 64 byte cache lines so the value variable is padded so 16 four byte ints are consumed.
  // If a platform has smaller cache lines, this approach will use a little more memory than required but the
  // performance gains will still be preserved.
  // Modern Intel and AMD chips commonly have 64 byte cache lines.
  // TODO: code This should just be 15, shouldn't it?
  public int value = 0, padding1, padding2, padding3, padding4, padding5, padding6, padding7, padding8,
    padding9, padding10, padding11, padding13, padding14, padding15, padding16;
  /**
   * Provides access to the value of this PaddedInt.
   * @param pi  is the PaddedInt containing the desired value.
   * @return    the value contained by the provided int.
   */
  public static int get(PaddedInt pi) {
      return pi.value;
  }
  /**
   * Sets the value of the provided PaddedInt.
   * @param pi     is the padded int to contain the value.
   * @param value  is the value to be put into the padded int.
   */
  public static void set(PaddedInt pi, int value) {
    pi.value = value;
  }
com.ociweb.pronghorn.pipePipe$SlabRingHead<init>

Popular methods of Pipe$SlabRingHead

    Popular in Java

    • Running tasks concurrently on multiple threads
    • getExternalFilesDir (Context)
    • onRequestPermissionsResult (Fragment)
    • getSharedPreferences (Context)
    • FileWriter (java.io)
      A specialized Writer that writes to a file in the file system. All write requests made by calling me
    • Runnable (java.lang)
      Represents a command that can be executed. Often used to run code in a different Thread.
    • BigDecimal (java.math)
      An immutable arbitrary-precision signed decimal.A value is represented by an arbitrary-precision "un
    • HttpURLConnection (java.net)
      An URLConnection for HTTP (RFC 2616 [http://tools.ietf.org/html/rfc2616]) used to send and receive d
    • FileUtils (org.apache.commons.io)
      General file manipulation utilities. Facilities are provided in the following areas: * writing to a
    • Location (org.springframework.beans.factory.parsing)
      Class that models an arbitrary location in a Resource.Typically used to track the location of proble
    • From CI to AI: The AI layer in your organization
    Tabnine Logo
    • Products

      Search for Java codeSearch for JavaScript code
    • IDE Plugins

      IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
    • Company

      About UsContact UsCareers
    • Resources

      FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
    Get Tabnine for your IDE now