Tabnine Logo
RubyBignum.op_xor
Code IndexAdd Tabnine to your IDE (free)

How to use
op_xor
method
in
org.jruby.RubyBignum

Best Java code snippets using org.jruby.RubyBignum.op_xor (Showing top 10 results out of 315)

origin: org.jruby/jruby-core

@Deprecated
public IRubyObject op_xor19(ThreadContext context, IRubyObject other) {
  return op_xor(context, other);
}
origin: org.jruby/jruby-complete

@Deprecated
public IRubyObject op_xor19(ThreadContext context, IRubyObject other) {
  return op_xor(context, other);
}
origin: com.ning.billing/killbill-osgi-bundles-jruby

private IRubyObject op_xor18(ThreadContext context, IRubyObject other) {
  if (other instanceof RubyFixnum || (other = fixCoerce(other)) instanceof RubyFixnum) {
    return newFixnum(context.runtime, value ^ ((RubyFixnum) other).value);
  }
  return ((RubyBignum) other).op_xor(context, this); 
}

origin: com.ning.billing/killbill-osgi-bundles-jruby

private IRubyObject op_xor19(ThreadContext context, IRubyObject other) {
  if (!((other = bitCoerce(other)) instanceof RubyFixnum)) {
    return ((RubyBignum) other).op_xor(context, this);
  }
  return op_xor18(context, other);
}

origin: org.kill-bill.billing/killbill-osgi-bundles-jruby

private IRubyObject op_xor19(ThreadContext context, IRubyObject other) {
  if (!((other = bitCoerce(other)) instanceof RubyFixnum)) {
    return ((RubyBignum) other).op_xor(context, this);
  }
  return op_xor18(context, other);
}

origin: org.kill-bill.billing/killbill-osgi-bundles-jruby

private IRubyObject op_xor18(ThreadContext context, IRubyObject other) {
  if (other instanceof RubyFixnum || (other = fixCoerce(other)) instanceof RubyFixnum) {
    return newFixnum(context.runtime, value ^ ((RubyFixnum) other).value);
  }
  return ((RubyBignum) other).op_xor(context, this); 
}

origin: org.kill-bill.billing/killbill-osgi-bundles-jruby

@JRubyMethod(name = "^", required = 1, compat = RUBY1_9)
public IRubyObject op_xor19(ThreadContext context, IRubyObject other) {
  return op_xor(context, convertToInteger(context, other));
}
origin: com.ning.billing/killbill-osgi-bundles-jruby

@JRubyMethod(name = "^", required = 1, compat = RUBY1_9)
public IRubyObject op_xor19(ThreadContext context, IRubyObject other) {
  return op_xor(context, convertToInteger(context, other));
}
origin: org.jruby/jruby-core

/** fix_xor
 *
 */
@Override
public IRubyObject op_xor(ThreadContext context, IRubyObject other) {
  if (other instanceof RubyFixnum) {
    return context.runtime.newFixnum(value ^ ((RubyFixnum) other).value);
  }
  if (other instanceof RubyBignum) {
    return ((RubyBignum) other).op_xor(context, this);
  }
  return coerceBit(context, sites(context).checked_op_xor, other);
}
origin: org.jruby/jruby-complete

/** fix_xor
 *
 */
@Override
public IRubyObject op_xor(ThreadContext context, IRubyObject other) {
  if (other instanceof RubyFixnum) {
    return context.runtime.newFixnum(value ^ ((RubyFixnum) other).value);
  }
  if (other instanceof RubyBignum) {
    return ((RubyBignum) other).op_xor(context, this);
  }
  return coerceBit(context, sites(context).checked_op_xor, other);
}
org.jrubyRubyBignumop_xor

Javadoc

rb_big_xor

Popular methods of RubyBignum

  • newBignum
  • getLongValue
  • getValue
    Getter for property value.
  • <init>
  • addFloat
  • addOther
  • big2dbl
    rb_big2dbl
  • big2long
    rb_big2long
  • bignorm
    rb_big_norm
  • checkShiftDown
  • coerceBin
  • coerceCmp
  • coerceBin,
  • coerceCmp,
  • compareTo,
  • convertToDouble,
  • createBignumClass,
  • dbl_cmp,
  • divmod,
  • even_p,
  • fix2big,
  • getBigIntegerValue

Popular in Java

  • Start an intent from android
  • scheduleAtFixedRate (Timer)
  • getExternalFilesDir (Context)
  • setRequestProperty (URLConnection)
  • ObjectMapper (com.fasterxml.jackson.databind)
    ObjectMapper provides functionality for reading and writing JSON, either to and from basic POJOs (Pl
  • Window (java.awt)
    A Window object is a top-level window with no borders and no menubar. The default layout for a windo
  • NumberFormat (java.text)
    The abstract base class for all number formats. This class provides the interface for formatting and
  • Hashtable (java.util)
    A plug-in replacement for JDK1.5 java.util.Hashtable. This version is based on org.cliffc.high_scale
  • Cipher (javax.crypto)
    This class provides access to implementations of cryptographic ciphers for encryption and decryption
  • JLabel (javax.swing)
  • Top 15 Vim Plugins
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