Did I find the right examples for you? yes no

All Samples(7)  |  Call(5)  |  Derive(0)  |  Import(2)

src/s/y/Sypy-HEAD/rlib/rsre/rsre_char.py   Sypy(Download)
from pypy.rlib.unroll import unrolling_iterable
from pypy.rlib import jit
from pypy.rlib.rarithmetic import int_between
# Note: the unicode parts of this module require you to call
        char_ord = unicodedb.tolower(char_ord)
        if int_between(ord('A'), char_ord, ord('Z') + 1):   # ASCII lower
            char_ord += ord('a') - ord('A')
    return char_ord
def is_digit(code):
    return int_between(48, code, 58)
def is_uni_digit(code):
    assert unicodedb is not None
    return unicodedb.isdecimal(code)
def is_space(code):
    return (code == 32) | int_between(9, code, 14)
def set_range(pat, index, char_code):
    # <RANGE> <lower> <upper>
    match = int_between(pat[index+1], char_code, pat[index+2] + 1)
    return match, index + 3

src/s/y/Sypy-HEAD/rpython/test/test_rint.py   Sypy(Download)
from pypy.rpython.test import snippet
from pypy.rlib.rarithmetic import r_int, r_uint, r_longlong, r_ulonglong
from pypy.rlib.rarithmetic import ovfcheck, r_int64, intmask, int_between
from pypy.rlib import objectmodel
from pypy.rpython.test.tool import BaseRtypingTest, LLRtypeMixin, OORtypeMixin
        def fn(a, b, c):
            return int_between(a, b, c)
        assert self.interpret(fn, [1, 1, 3])
        assert self.interpret(fn, [1, 2, 3])
        assert not self.interpret(fn, [1, 0, 2])