this shouldn't be much of a problem in practice.
558937
private static RunContext createBottomContext() {
    File spockUserHome = SpockUserHomeUtil.getSpockUserHome();
    DelegatingScript script = new ConfigurationScriptLoader(spockUserHome).loadAutoDetectedScript();
    List<Class<?>> classes = new ExtensionClassesLoader().loadClassesFromDefaultLocation();
    return new RunContext("default", spockUserHome, script, classes);
  }
1364894
private void signalNotFull() {
        final ReentrantLock putLock = this.putLock;
        putLock.lock();
        try {
            notFull.signal();
        } finally {
            putLock.unlock();
        }
    }
873102
private void compact() {
        int from = 0;
        int to = 0;
        while (from < this.capacity) {
            Object key = this.list[from];
            long usage = age(this.ticks[from]);
            if (usage > 0) {
                this.ticks[to] = usage;
                this.list[to] = key;
                this.map.put(key, to);
                to += 1;
            } else {
                this.map.remove(key);
            }
            from += 1;
        }
        if (to < this.capacity) {
            this.length = to;
        } else {
            this.map.clear();
            this.length = 0;
        }
        this.power = 0;
    }
1222581
function( name, lower, upper ) {
		return this.ok( name, lower < upper, this.lessThan, "\nLower Value '" + lower + "' is not less than upper value '" + upper + "'" );
	}
953400
public void acceptPrompt() {
        String action = "Clicking 'OK' on a prompt";
        String expected = "Prompt is present to be clicked";
        if (isNotPrompt(action, expected, "click")) {
            return;
        }
        accept(action, expected, "prompt");
    }
1318539
private void downHeap() {
        E elem = storage.array[0];
        int currIdx = 0;

        while (2 * currIdx < size) {
            int leftChildIdx = 2 * currIdx;
            E leftChild = storage.array[leftChildIdx];
            if (comparator.compare(elem, leftChild) > 0) {
                storage.array[currIdx] = leftChild;
                storage.array[leftChildIdx] = elem;
                currIdx = leftChildIdx;
            } else if (2 * currIdx + 1 < size) {
                int rightChildIdx = 2 * currIdx + 1;
                E rightChild = storage.array[rightChildIdx];
                if (comparator.compare(elem, rightChild) > 0) {
                    storage.array[currIdx] = rightChild;
                    storage.array[rightChildIdx] = elem;
                    currIdx = rightChildIdx;
                } else {
                    return;
                }
            } else {
                return;
            }
        }
    }
228687
public boolean accpet(Acceptable<CtClass> acceptable) {
        boolean accept = checkSuperClass(getCtClass(), acceptable);
        if (!accept)
            accept = checkInterface(getCtClass(), acceptable);
        return accept;
    }
1118958
protected boolean overlap(Pair<Integer, Integer> expected,
            Pair<Integer, Integer> actual) {
        // // a1 then a2
        // if (a2.getBegin() - a1.getEnd() > 0)
        // return Position.before;
        //
        // // a2 then a1
        // if (a1.getBegin() - a2.getEnd() > 0)
        // return Position.after;
        //
        // // overlap
        // return Position.overlap;
        //

        if (actual.getKey() >= expected.getKey()
                && actual.getValue() <= expected.getValue()) {
            return true;
        }
        return false;

        // full overlap is too lenient
        // if (expected.getKey() < actual.getValue()
        // && actual.getKey() < expected.getValue()) {
        // return true;
        // }
        // return false;

    }
638756
function shouldUseThirdParty() {
			var sHyphenationConfig = Core.getConfiguration().getHyphenation(),
				oHyphenationInstance = Hyphenation.getInstance();

			if (sHyphenationConfig === "native" || sHyphenationConfig === "disable") {
				return false;
			}

			if (sHyphenationConfig === "thirdparty") {
				return true;
			}

			return oHyphenationInstance.isLanguageSupported()
				&& !oHyphenationInstance.canUseNativeHyphenation()
				&& oHyphenationInstance.canUseThirdPartyHyphenation();
		}
1236308
def constrain(value, lower=-np.Inf, upper=np.Inf, allow_equal=False):
    

    ok = flib.constrain(value, lower, upper, allow_equal)
    if ok == 0:
        raise ZeroProbability
549963
private int findMinIfNot(int a, int b, int notMin) {
        if (a <= notMin) {
            return b;
        }
        if (b <= notMin) {
            return a;
        }
        return Math.min(a, b);
    }
921752
private void justify() {
		if (m_staffLines.size()>1) {
			double maxWidth = ((JStaffLine)m_staffLines.elementAt(0)).getWidth();
			for (int i=1; i<m_staffLines.size();i++){
				JStaffLine currentStaffLine = (JStaffLine)m_staffLines.elementAt(i);
				maxWidth = Math.max(maxWidth, currentStaffLine.getWidth());
			}
			for (int i=0; i<m_staffLines.size();i++) {
				JStaffLine currentStaffLine = (JStaffLine)m_staffLines.elementAt(i);
				if (currentStaffLine.getWidth()>maxWidth/2)
					currentStaffLine.scaleToWidth(maxWidth);
			}
		}
	}
1224776
private void makeIncoming() {
        if (stays == null && move == null) {
            for (BitSet in : ins) {
                in.clear();
            }
            stays = new BitSet();
            move = new BitSet();
            for (int i = 0; i < hosts.length; i++) {
                if (hosts[i] != null && hosts[i].isInstantiated()) {
                    int newPos = hosts[i].getValue();
                    if (oldPos[i] != -1 && newPos != oldPos[i]) {
                        //The VM has move
                        ins[newPos].set(i);
                        move.set(i);
                    } else if (newPos == oldPos[i]) {
                        stays.set(i);
                    }
                }
            }
        }
    }
541113
private boolean allowPerfectQuality() {
		int i = m_label % OCTAVE;
		return (i == UNISON) || (i == FOURTH) || (i == FIFTH);
	}
1283776
public void not() {
        IntBitSet tmp;

        tmp = new IntBitSet();
        tmp.addRange(0, used - 1);
        tmp.removeAll(ends);
        ends = tmp;
    }
920975
def accept(self):
        
        return self._issue._nation._accept_issue(self._issue.id, self._id)
905493
def neg(self):
        """"""
        self.x = -self.x
        self.y = -self.y
        self.z = -self.z