soot.Value.equivHashCode()方法的使用及代码示例

x33g5p2x  于2022-02-01 转载在 其他  
字(4.0k)|赞(0)|评价(0)|浏览(79)

本文整理了Java中soot.Value.equivHashCode()方法的一些代码示例,展示了Value.equivHashCode()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Value.equivHashCode()方法的具体详情如下:
包路径:soot.Value
类名称:Value
方法名:equivHashCode

Value.equivHashCode介绍

暂无

代码示例

代码示例来源:origin: Sable/soot

public int hashCode() {
 return e.equivHashCode();
}

代码示例来源:origin: Sable/soot

public int equivHashCode() {
 return e.equivHashCode();
}

代码示例来源:origin: Sable/soot

/** Returns a hash code consistent with structural equality for this object. */
public int equivHashCode() {
 if (sourcename instanceof Value) {
  return ((Value) sourcename).equivHashCode();
 }
 return sourcename.hashCode();
}

代码示例来源:origin: Sable/soot

public int equivHashCode() {
 int toReturn = 0;
 for (ValueBox element : elements) {
  toReturn += element.getValue().equivHashCode();
 }
 return toReturn;
}

代码示例来源:origin: Sable/soot

public int equivHashCode() {
 int toReturn = 0;
 toReturn += testExprBox.getValue().equivHashCode();
 toReturn += trueExprBox.getValue().equivHashCode();
 toReturn += falseExprBox.getValue().equivHashCode();
 return toReturn;
}

代码示例来源:origin: Sable/soot

/** Returns a hash code for this object, consistent with structural equality. */
public int equivHashCode() {
 return opBox.getValue().equivHashCode() * 101 + type.hashCode() + 17;
}

代码示例来源:origin: Sable/soot

/** Returns a hash code for this object, consistent with structural equality. */
public int equivHashCode() {
 return sizeBox.getValue().equivHashCode() * 101 + baseType.hashCode() * 17;
}

代码示例来源:origin: Sable/soot

/** Returns a hash code for this object, consistent with structural equality. */
public int equivHashCode() {
 return opBox.getValue().equivHashCode();
}

代码示例来源:origin: Sable/soot

/** Returns a hash code for this object, consistent with structural equality. */
public int equivHashCode() {
 return getBase().equivHashCode() * 101 + getIndex().equivHashCode() + 17;
}

代码示例来源:origin: Sable/soot

/** Returns a hash code for this object, consistent with structural equality. */
public int equivHashCode() {
 return opBox.getValue().equivHashCode();
}

代码示例来源:origin: Sable/soot

/** Returns a hash code for this object, consistent with structural equality. */
public int equivHashCode() {
 return opBox.getValue().equivHashCode() * 101 + checkType.hashCode() * 17;
}

代码示例来源:origin: Sable/soot

/** Returns a hash code for this object, consistent with structural equality. */
public int equivHashCode() {
 return op1Box.getValue().equivHashCode() * 101 + op2Box.getValue().equivHashCode() + 17 ^ getSymbol().hashCode();
}

代码示例来源:origin: Sable/soot

/**
 * Non-deterministic hashcode consistent with equivTo() implementation.
 *
 * <p>
 *
 * <b>Note:</b> If you are concerned about non-determinism, remember that current implementations of equivHashCode() in
 * other parts of Soot are non-deterministic as well (see Constant.java for example).
 **/
public int equivHashCode() {
 // this is not deterministic because a Unit's hash code is
 // non-deterministic.
 return (getUnit().hashCode() * 17) + (getValue().equivHashCode() * 101);
}

代码示例来源:origin: Sable/soot

/** Returns a hash code for this object, consistent with structural equality. */
 public int equivHashCode() {
  return getOpBox().getValue().equivHashCode();
 }
}

代码示例来源:origin: Sable/soot

/**
 * Returns a hash code for this object, consistent with structural equality.
 */
public int equivHashCode() {
 return baseBox.getValue().equivHashCode() * 101 + getMethod().equivHashCode() * 17;
}

代码示例来源:origin: Sable/soot

/**
 * Returns a hash code for this object, consistent with structural equality.
 */
public int equivHashCode() {
 return baseBox.getValue().equivHashCode() * 101 + getMethod().equivHashCode() * 17;
}

代码示例来源:origin: Sable/soot

/**
 * Returns a hash code for this object, consistent with structural equality.
 */
public int equivHashCode() {
 return baseBox.getValue().equivHashCode() * 101 + getMethod().equivHashCode() * 17;
}

代码示例来源:origin: Sable/soot

/** Returns a hash code for this object, consistent with structural equality. */
public int equivHashCode() {
 return getField().equivHashCode() * 101 + baseBox.getValue().equivHashCode() + 17;
}

代码示例来源:origin: ibinti/bugvm

/** Returns a hash code for this object, consistent with structural equality. */
public int equivHashCode() 
{
  return opBox.getValue().equivHashCode();
}

代码示例来源:origin: ibinti/bugvm

/** Returns a hash code for this object, consistent with structural equality. */
public int equivHashCode() 
{
  return baseBox.getValue().equivHashCode() * 101 + getMethod().equivHashCode() * 17;
}

相关文章