File manager - Edit - /home/u478019808/domains/bestandroidphones.store/public_html/static/img/logo/seek_ahead_thread.cpython-39.pyc.tar
Back
opt/gsutil/gslib/__pycache__/seek_ahead_thread.cpython-39.pyc 0000644 00000010131 15025232415 0020211 0 ustar 00 a +(Wgt � @ s� d Z ddlmZ ddlmZ ddlmZ ddlmZ ddlZddlZddlm Z ddl mZ dd l mZ ej ZG d d� de�ZG dd � d ej�ZdS )zIThreading code for estimating total work of long-running gsutil commands.� )�absolute_import)�print_function)�division)�unicode_literalsN)�thread_message)� constants)�parallelism_framework_utilc @ s e Zd ZdZddd�ZdS )�SeekAheadResultz�Result class for seek_ahead_iterator results. A class is used instead of a namedtuple, making it easier to document and use default keyword arguments. � r c C s || _ || _dS )a� Create a SeekAheadResult. Args: est_num_ops: Number of operations the iterated result represents. Operation is loosely defined as a single API call for a single object. The total number of API calls may not be known at the time of iteration, so this number is approximate. data_bytes: Number of data bytes that will be transferred (uploaded, downloaded, or rewritten) for this iterated result. N)�est_num_ops� data_bytes)�selfr r � r �&/opt/gsutil/gslib/seek_ahead_thread.py�__init__'