congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
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

    • Making http post requests using okhttp
    • setContentView (Activity)
    • setScale (BigDecimal)
    • scheduleAtFixedRate (ScheduledExecutorService)
    • GridBagLayout (java.awt)
      The GridBagLayout class is a flexible layout manager that aligns components vertically and horizonta
    • FileWriter (java.io)
      A specialized Writer that writes to a file in the file system. All write requests made by calling me
    • Timestamp (java.sql)
      A Java representation of the SQL TIMESTAMP type. It provides the capability of representing the SQL
    • NumberFormat (java.text)
      The abstract base class for all number formats. This class provides the interface for formatting and
    • Map (java.util)
      A Map is a data structure consisting of a set of keys and values in which each key is mapped to a si
    • JComboBox (javax.swing)
    • Top 25 Plugins for Webstorm
    Tabnine Logo
    • Products

      Search for Java codeSearch for JavaScript code
    • IDE Plugins

      IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
    • Company

      About UsContact UsCareers
    • Resources

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