Tabnine Logo
Pipe$SlabRingHead
Code IndexAdd Tabnine to your IDE (free)

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

Best Java code snippets using com.ociweb.pronghorn.pipe.Pipe$SlabRingHead (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: 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;
  }
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;
  }
com.ociweb.pronghorn.pipePipe$SlabRingHead

Javadoc

Holds the active head position information.

Most used methods

  • <init>

Popular in Java

  • Start an intent from android
  • compareTo (BigDecimal)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • getSupportFragmentManager (FragmentActivity)
  • Point (java.awt)
    A point representing a location in (x,y) coordinate space, specified in integer precision.
  • Window (java.awt)
    A Window object is a top-level window with no borders and no menubar. The default layout for a windo
  • FileInputStream (java.io)
    An input stream that reads bytes from a file. File file = ...finally if (in != null) in.clos
  • URI (java.net)
    A Uniform Resource Identifier that identifies an abstract or physical resource, as specified by RFC
  • Permission (java.security)
    Legacy security code; do not use.
  • ConcurrentHashMap (java.util.concurrent)
    A plug-in replacement for JDK1.5 java.util.concurrent.ConcurrentHashMap. This version is based on or
  • Top PhpStorm plugins
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