Did I find the right examples for you? yes no

All Samples(1744)  |  Call(1744)  |  Derive(0)  |  Import(0)

src/g/r/grr-HEAD/lib/aff4_objects/timeline.py   grr(Download)
    # plaso for timelines.
    if storage.size <= 1024 * 1024 * 1024:
      buf = storage.Read(1024 * 1024 * 1024)
      storage = StringIO.StringIO(buf)
      storage.Read = storage.read
 
    while True:
      try:
        length = struct.unpack("<i", storage.Read(4))[0]
        serialized_event = storage.Read(length)