convenience function to get a numerical value for the height of the node
164305
function(){ 
      var ele = this[0];

      if( ele && ele.isNode() ){
        var h = ele._private.style.height;
        return h.strValue === 'auto' ? ele._private.autoHeight : h.pxValue;
      }
    }
764150
function computeHeight(revs) {
  var height = {};
  var edges = [];
  pouchdbMerge.traverseRevTree(revs, function (isLeaf, pos, id, prnt) {
    var rev = pos + "-" + id;
    if (isLeaf) {
      height[rev] = 0;
    }
    if (prnt !== undefined) {
      edges.push({from: prnt, to: rev});
    }
    return rev;
  });

  edges.reverse();
  edges.forEach(function (edge) {
    if (height[edge.from] === undefined) {
      height[edge.from] = 1 + height[edge.to];
    } else {
      height[edge.from] = Math.min(height[edge.from], 1 + height[edge.to]);
    }
  });
  return height;
}
596300
function getTextOfNode(node) {
        var result;
        if (node != null && node.childNodes[0]) {
            result = node.childNodes[0].nodeValue;
        } else if (node != null) {
            result = "";
        }
        return result;
    }
791549
function getListItemHeight(props, state) {
  const { leftElement, dense } = props;
  const { numberOfLines } = state;

  if (numberOfLines === 'dynamic') {
    return null;
  }

  if (!leftElement && numberOfLines === 1) {
    return dense ? 40 : 48;
  }

  if (numberOfLines === 1) {
    return dense ? 48 : 56;
  }
  if (numberOfLines === 2) {
    return dense ? 60 : 72;
  }
  if (numberOfLines === 3) {
    return dense ? 80 : 88;
  }

  return null;
}
109290
function getHeight(el, defaultValue) {
    var height = this.getStyle(el, 'height', defaultValue);
    if (height === 'auto') {
      height = el.offsetHeight;
    }
    return parseFloat(height);
  }
44834
def text_height(text):
    """"""
    (d1, d2, ymin, ymax) = get_dimension(text)
    return (ymax - ymin, ymax)
578772
private int getButtonHeight(JComponent c, int height) {
        String scaleKey  = SeaGlassStyle.getSizeVariant(c);
        int    newHeight = 27;

        // If the key is natural, allow the button to scale.
        if (SeaGlassStyle.NATURAL_KEY.equals(scaleKey)) {
            return height;
        } else if (SeaGlassStyle.LARGE_KEY.equals(scaleKey)) {
            newHeight *= SeaGlassStyle.LARGE_SCALE; // 31
        } else if (SeaGlassStyle.SMALL_KEY.equals(scaleKey)) {
            newHeight *= SeaGlassStyle.SMALL_SCALE; // 23
        } else if (SeaGlassStyle.MINI_KEY.equals(scaleKey)) {
            newHeight *= SeaGlassStyle.MINI_SCALE; // 19
        } else {
            if (height < 22) {
                newHeight *= SeaGlassStyle.MINI_SCALE;
            } else if (height < 26) {
                newHeight *= SeaGlassStyle.SMALL_SCALE;
            } else if (height >= 30) {
                newHeight *= SeaGlassStyle.LARGE_SCALE;
            }
        }

        return newHeight;
    }
696455
private float getHeight(float[] left, float[] right) {
        float max = Float.MIN_VALUE;
        float min = Float.MAX_VALUE;
        for (int i = 0; i < left.length; i += 2) {
            min = Math.min(min, left[i + 1]);
            max = Math.max(max, left[i + 1]);
        }
        for (int i = 0; i < right.length; i += 2) {
            min = Math.min(min, right[i + 1]);
            max = Math.max(max, right[i + 1]);
        }
        return max - min;
    }
443637
function heightInorder(n, x) {
  if(n <= 0) {
    return 0
  }
  var r = rootInorder(n)
  if(x > r) {
    return heightInorder(n-r-1, x-r-1)
  } else if(x === r) {
    return bits.log2(n)
  }
  return heightInorder(r, x)
}
27443
def visit_Num(self, node: ast.Num) -> Union[int, float]:
        """"""
        result = node.n

        self.recomputed_values[node] = result
        return result
1140798
function(){
			var rows = this.model.get('options').rows*1 || null;
			if(rows) return Math.max(3, rows/2);

			var cellHeight = 70;
			var height = this.$el.parent().height() - this.$el.children(':first').height();

			// Less the maximum required by the tags (Scheduled, Playing, Ended...)
			height -= 180;

			rows = Math.round(height / cellHeight - 0.5);
			console.log(height);
			return Math.max(3, rows);
		}
168783
function(node, canvas, level) {
        var csize = canvas.getSize();
        var s = (this.config.multitree 
        		&& ('$orn' in node.data) 
        		&& node.data.$orn) || this.config.orientation;

        var size = this.dispatch(s, csize.width, csize.height);
        var baseSize = this.getTreeBaseSize(node, level, function(level, node) { 
          return level === 0 || !node.anySubnode();
        });
        return (baseSize < size);
    }
1016639
def console_get_height_rect(
    con: tcod.console.Console, x: int, y: int, w: int, h: int, fmt: str
) -> int:
    
    return int(
        lib.TCOD_console_get_height_rect_fmt(
            _console(con), x, y, w, h, _fmt(fmt)
        )
    )
819679
def y(self, y):
        """"""
        if y is None:
            return None
        return (self.height * (y - self.box.ymin) / self.box.height)
58465
function (node){
		// getBoundingClientRect returns t
		var o = node.getBoundingClientRect();
		if (!o.width || !o.height) {
			return {
				left: o.left,
				right: o.right,
				top: o.top,
				bottom: o.bottom,
				width: o.right - o.left,
				height: o.bottom - o.top
			};
		}
		return o;
	}
387654
function getClearedHeight(e) {
                    var height = e.height();

                    e.children().each(function () {
                        height = Math.max(height, $(this).height());
                    });

                    return height;
                }
1270325
function(element){
    element = getEl(element);
    return {
      height : element.offsetHeight,
      width : element.offsetWidth };
  }