Did I find the right examples for you? yes no

All Samples(869)  |  Call(856)  |  Derive(13)  |  Import(0)
Result too large to be represented.

src/p/y/pythoncourse-HEAD/code_example/35_testing/doctestExample.py   pythoncourse(Download)
        raise ValueError("n must be exact integer")
    if n+1 == n:  # catch a value like 1e300
        raise OverflowError("n too large")
    result = 1
    factor = 2

src/w/e/webapp2_example-HEAD/lib/jinja2/sandbox.py   webapp2_example(Download)
    rng = xrange(*args)
    if len(rng) > MAX_RANGE:
        raise OverflowError('range too big, maximum size for range is %d' %
                            MAX_RANGE)
    return rng

src/g/a/gae-twitter-oauth-example-HEAD/jinja2/sandbox.py   gae-twitter-oauth-example(Download)
    rng = xrange(*args)
    if len(rng) > MAX_RANGE:
        raise OverflowError('range too big, maximum size for range is %d' %
                            MAX_RANGE)
    return rng

src/p/y/pykit-HEAD/pykit/ir/interp.py   pykit(Download)
        upper = 2 ** bits - 1
        if not lower <= value <= upper:
            raise OverflowError(value, self.op, lower, upper)
 
    # __________________________________________________________________

src/n/b/NBTParse-0.1.0/src/syntax/tags.py   NBTParse(Download)
            raw = struct.pack(formatstr, self)
        except struct.error:
            raise OverflowError("%d is too far from zero to encode.", self)
        output.write(raw)
        total_length = len(raw)

src/p/l/plexnet-HEAD/third_party/generic/pypy/pypy/rpython/raisingops/raisingops.py   plexnet(Download)
def int_neg_ovf(x):
    if x == LONG_MIN:
        raise OverflowError("integer negate")
    return -x
 
def llong_neg_ovf(x):
    if x == LLONG_MIN:
        raise OverflowError("integer negate")
def int_abs_ovf(x):
    if x == LONG_MIN:
        raise OverflowError("integer absolute")
    if x < 0:
        return -x
def llong_abs_ovf(x):
    if x == LLONG_MIN:
        raise OverflowError("integer absolute")
    if x < 0:
        return -x
        return r
    else:
        raise OverflowError("integer addition")
 
def int_add_nonneg_ovf(x, y):

src/s/y/Sypy-HEAD/rpython/raisingops/raisingops.py   Sypy(Download)
def int_neg_ovf(x):
    if x == LONG_MIN:
        raise OverflowError("integer negate")
    return -x
 
def llong_neg_ovf(x):
    if x == LLONG_MIN:
        raise OverflowError("integer negate")
def int_abs_ovf(x):
    if x == LONG_MIN:
        raise OverflowError("integer absolute")
    if x < 0:
        return -x
def llong_abs_ovf(x):
    if x == LLONG_MIN:
        raise OverflowError("integer absolute")
    if x < 0:
        return -x
        return r
    else:
        raise OverflowError("integer addition")
 
def int_add_nonneg_ovf(x, y):

src/a/p/appscale-HEAD/AppServer/google/appengine/api/remote_socket/_remote_socket_addr.py   appscale(Download)
    raise TypeError('an integer is required')
  if integer < 0:
    raise OverflowError("can't convert negative number to unsigned long")
  if integer >= (1<<16):
    raise OverflowError('signed integer is greater than maximum')
    raise TypeError('expected int/long, %s found' % _TypeName(integer))
  if integer < 0:
    raise OverflowError('can\'t convert negative number to unsigned long')
  if integer >= (1<<32):
    raise OverflowError('long int larger than 32 bits')

src/g/o/google-app-engine-HEAD/google/appengine/api/remote_socket/_remote_socket_addr.py   google-app-engine(Download)
    raise TypeError('an integer is required')
  if integer < 0:
    raise OverflowError("can't convert negative number to unsigned long")
  if integer >= (1<<16):
    raise OverflowError('signed integer is greater than maximum')
    raise TypeError('expected int/long, %s found' % _TypeName(integer))
  if integer < 0:
    raise OverflowError('can\'t convert negative number to unsigned long')
  if integer >= (1<<32):
    raise OverflowError('long int larger than 32 bits')

src/b/l/BlueCop-XBMC-Plugins-HEAD/plugin.video.nbc.universal/pyamf/util/__init__.py   BlueCop-XBMC-Plugins(Download)
        """
        if not 0 <= c <= 255:
            raise OverflowError("Not in range, %d" % c)
 
        self.write(struct.pack("B", c))
        """
        if not -128 <= c <= 127:
            raise OverflowError("Not in range, %d" % c)
 
        self.write(struct.pack("b", c))
        """
        if not 0 <= s <= 65535:
            raise OverflowError("Not in range, %d" % s)
 
        self.write(struct.pack("%sH" % self.endian, s))
        """
        if not -32768 <= s <= 32767:
            raise OverflowError("Not in range, %d" % s)
 
        self.write(struct.pack("%sh" % self.endian, s))
        """
        if not 0 <= l <= 4294967295:
            raise OverflowError("Not in range, %d" % l)
 
        self.write(struct.pack("%sL" % self.endian, l))

  1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9  Next