code
stringlengths
4
4.48k
docstring
stringlengths
1
6.45k
_id
stringlengths
24
24
class DrawPanel(wx.Panel): <NEW_LINE> <INDENT> def __init__(self, *args, **kwargs): <NEW_LINE> <INDENT> wx.Panel.__init__(self, *args, **kwargs) <NEW_LINE> self.data=[1,2,2,3,3,3,4,4,5] <NEW_LINE> self.classes=5 <NEW_LINE> self.histogram=histogram(self.data,self.classes) <NEW_LINE> self.width=100 <NEW_LINE> self.classw...
Draw a line to a panel.
6259902526238365f5fada71
class Handler(object): <NEW_LINE> <INDENT> def __init__(self, iterationInterval=np.inf): <NEW_LINE> <INDENT> self.iterationInterval = iterationInterval <NEW_LINE> self.lastIterationDivisor = -1 <NEW_LINE> <DEDENT> def execute(self, data, iterationNumber): <NEW_LINE> <INDENT> pass <NEW_LINE> <DEDENT> def reset_for_next_...
Abstract superclass for Handlers. iterationInterval is the interval for executing the Handler's task. If iterationalInterval=50, then the Handler will execute every 50 iterations (on iteration 50, 100, 150, etc.) lastIterationDivisor tracks when the Handler should execute. The Executor computes iterationNum...
62599025a4f1c619b294f514
class InitiatorRequestorGrpEp(ManagedObject): <NEW_LINE> <INDENT> consts = InitiatorRequestorGrpEpConsts() <NEW_LINE> naming_props = set([u'id']) <NEW_LINE> mo_meta = MoMeta("InitiatorRequestorGrpEp", "initiatorRequestorGrpEp", "req-grp-[id]", VersionMeta.Version131a, "InputOutput", 0x1f, [], ["read-only"], [u'topSyste...
This is InitiatorRequestorGrpEp class.
6259902556b00c62f0fb37e0
class GCSCredentialsProvider(): <NEW_LINE> <INDENT> def __init__(self): <NEW_LINE> <INDENT> self.client = Client() <NEW_LINE> bucket_name = os.environ.get('BUCKET_NAME', f'{get_project_id()}.appspot.com') <NEW_LINE> self.bucket = self.client.get_bucket(bucket_name) <NEW_LINE> self.client_key = self._read_gcs_file('clie...
Reads Twitter credentials from Google Cloud Storage.
62599025d99f1b3c44d065c3
class MyStepper(object): <NEW_LINE> <INDENT> def __init__(self, stepsize=0.5): <NEW_LINE> <INDENT> self.stepsize = stepsize <NEW_LINE> <DEDENT> def __call__(self, x): <NEW_LINE> <INDENT> s = self.stepsize <NEW_LINE> scale_om = 10.0 <NEW_LINE> scale_Am = 100.0 <NEW_LINE> scale_Cm = 100.0 <NEW_LINE> scale_tm = 10.0 <NEW_...
Implements some simple reasonable modifications to parameter stepping * Frequencies are kept positive * Powers are exponentially suppressed from getting 'large' *
62599025d164cc6175821e98
class StatsSitemapCommand(SubcommandsCommand): <NEW_LINE> <INDENT> args = 'sitemap-uri' <NEW_LINE> help = 'Get sitemap stats. Sitemap URI is either a relative URL or a valid urlconf name' <NEW_LINE> def handle(self, *args, **options): <NEW_LINE> <INDENT> try: <NEW_LINE> <INDENT> sitemap = args[0] <NEW_LINE> <DEDENT> ex...
Wrapper for ``google_webmastertools.api.sitemaps.sitemap_stats``
62599025d18da76e235b78de
@dataclass <NEW_LINE> class Profile(BaseModel): <NEW_LINE> <INDENT> real_name: str <NEW_LINE> display_name: str <NEW_LINE> real_name_normalized: str <NEW_LINE> display_name_normalized: str <NEW_LINE> team: str
Example Profile { "avatar_hash": "ge3b51ca72de", "status_text": "Print is dead", "status_emoji": ":books:", "real_name": "Egon Spengler", "display_name": "spengler", "real_name_normalized": "Egon Spengler", "display_name_normalized": "spengler", "email": "spengler@ghostbusters.example.co...
625990255e10d32532ce4095
class TestRecorderRuns(unittest.TestCase): <NEW_LINE> <INDENT> def setUp(self): <NEW_LINE> <INDENT> self.session = session = SESSION() <NEW_LINE> session.query(Events).delete() <NEW_LINE> session.query(States).delete() <NEW_LINE> session.query(RecorderRuns).delete() <NEW_LINE> self.addCleanup(self.tear_down_cleanup) <N...
Test recorder run model.
625990251d351010ab8f4a38
class GitHubSearch(): <NEW_LINE> <INDENT> def get_json(self, search_string): <NEW_LINE> <INDENT> response = requests.get( f"https://api.github.com/search/code?q={search_string}+in:path+repo:bioconda/bioconda-recipes+path:recipes", timeout=MULLED_SOCKET_TIMEOUT) <NEW_LINE> response.raise_for_status() <NEW_LINE> return r...
Tool to search the GitHub bioconda-recipes repo
625990253eb6a72ae038b587
class Machine(base.Machine): <NEW_LINE> <INDENT> def __init__(self, name, init_state=None): <NEW_LINE> <INDENT> self.net = PTNet(name) <NEW_LINE> self.machine = self.net.open(init_state)
state machine
625990256e29344779b01573
class UserBookRelation(models.Model): <NEW_LINE> <INDENT> RATE = ( (1, 'Плохо'), (2, 'Так себе'), (3, 'Нормально'), (4, 'Хорошо'), (5, 'Отлично') ) <NEW_LINE> book = models.ForeignKey(Books, on_delete=models.CASCADE, verbose_name='Книга') <NEW_LINE> user = models.ForeignKey(User, on_delete=models.CASCADE, verbose_name=...
Модель отношения пользователя к книги
625990251d351010ab8f4a39
class custom_browser(Remote): <NEW_LINE> <INDENT> def find_element_by_xpath(self, *args, **kwargs): <NEW_LINE> <INDENT> rv = super(custom_browser, self).find_element_by_xpath(*args, **kwargs) <NEW_LINE> return rv <NEW_LINE> <DEDENT> def wait_for_valid_connection(self, username, logger): <NEW_LINE> <INDENT> counter = 0 ...
Custom browser instance for manupulation later on
6259902526238365f5fada77
class UserFavouriteStore(db.Model, BaseMixin): <NEW_LINE> <INDENT> __tablename__ = 'favourite_stores' <NEW_LINE> user_id = db.Column(db.Integer(), db.ForeignKey('users.id')) <NEW_LINE> store_id = db.Column(db.Integer(), db.ForeignKey('stores.id')) <NEW_LINE> store = db.relationship('Store', primaryjo...
Таблица избранных магазинов для пользователя
6259902521bff66bcd723b88
class ValueMatcher(Matcher): <NEW_LINE> <INDENT> def callsign(self, args: Sequence[MatchArgT], kwargs: Mapping[Any, Any]) -> Sequence: <NEW_LINE> <INDENT> return cast(Sequence[Any], unbox(resolve_pattern(args, kwargs))) <NEW_LINE> <DEDENT> def case(self, *params: Any, **opts: Any) -> Callable: <NEW_LINE> <INDENT> def w...
Concrete implementation of a value matching instance. If you want to type a type matcher, use standard technique when using ``Generic`` types: >>> from kingston.match import ValueMatcher, Miss >>> my_val_matcher:Matcher[int, str] = ValueMatcher({ ... 1: lambda x: 'one!', ... 2: lambda x: 'two!', ... Miss: la...
62599025be8e80087fbbff9e
class Keyboard(LoggerSuper): <NEW_LINE> <INDENT> logger = logging.getLogger('Keyboard') <NEW_LINE> def __init__(self, observers=None): <NEW_LINE> <INDENT> self.observers = [] <NEW_LINE> if observers is not None: <NEW_LINE> <INDENT> if isinstance(observers, list): <NEW_LINE> <INDENT> for _observer in observers: <NEW_LIN...
Класс реализует поток чтение и обработку команд из консоли
6259902556b00c62f0fb37e6
class IShaderRenderStage(IRenderStage): <NEW_LINE> <INDENT> pass
Render stage for GLSL
62599025a4f1c619b294f51c
class RandomLighting(HybridBlock): <NEW_LINE> <INDENT> def __init__(self, alpha): <NEW_LINE> <INDENT> super(RandomLighting, self).__init__() <NEW_LINE> self._alpha = alpha <NEW_LINE> <DEDENT> def hybrid_forward(self, F, x): <NEW_LINE> <INDENT> return F.image.random_lighting(x, self._alpha)
Add AlexNet-style PCA-based noise to an image. Parameters ---------- alpha : float Intensity of the image. Inputs: - **data**: input tensor with (H x W x C) shape. Outputs: - **out**: output tensor with same shape as `data`.
625990258c3a8732951f747f
class MyArray: <NEW_LINE> <INDENT> def __init__(self, capacity: int): <NEW_LINE> <INDENT> self._data = [] <NEW_LINE> self._count = 0 <NEW_LINE> self._capacity = capacity <NEW_LINE> <DEDENT> def __getitem__(self, position: int) -> int: <NEW_LINE> <INDENT> return self._data[position] <NEW_LINE> <DEDENT> def find(self, in...
A simple wrapper around List. You cannot have -1 in the array.
625990255166f23b2e2442fd
class Encoder(serializable.Serializable): <NEW_LINE> <INDENT> def __init__(self, num_classes=None): <NEW_LINE> <INDENT> self.num_classes = num_classes <NEW_LINE> self._labels = None <NEW_LINE> self._int_to_label = {} <NEW_LINE> <DEDENT> def fit_with_labels(self, data): <NEW_LINE> <INDENT> raise NotImplementedError <NEW...
Base class for encoders of the prediction targets. # Arguments num_classes: Int. The number of classes. Defaults to None.
6259902556b00c62f0fb37e8
@_register_item_type('mvAppItemType::DragInt4') <NEW_LINE> class DragInt4(DragInput[int, Tuple[int, int, int, int]]): <NEW_LINE> <INDENT> _default_value = (0, 0, 0, 0) <NEW_LINE> def __setup_add_widget__(self, dpg_args) -> None: <NEW_LINE> <INDENT> dpgcore.add_drag_int4(self.id, **dpg_args)
A drag input for 4 integer values. If not disabled using the :attr:`no_input` property, the drag input can be CTRL+Clicked to turn it into an input box for manual input of a value.
62599025287bf620b6272b17
class Player: <NEW_LINE> <INDENT> def __init__(self, name, history): <NEW_LINE> <INDENT> self.name = name <NEW_LINE> self.history = history <NEW_LINE> self.money = 5 <NEW_LINE> <DEDENT> def currentMoney(self): <NEW_LINE> <INDENT> return self.money <NEW_LINE> <DEDENT> def makeChoice(self, choice): <NEW_LINE> <INDENT> se...
Base class for the player
62599025a4f1c619b294f51e
class FordFulkersonDFSSolver(SolverBase): <NEW_LINE> <INDENT> def __init__(self, n: int, s: int, t: int): <NEW_LINE> <INDENT> super().__init__(n,s,t) <NEW_LINE> <DEDENT> def solve(self) -> None: <NEW_LINE> <INDENT> f = -1 <NEW_LINE> while f != 0: <NEW_LINE> <INDENT> f = self.dfs(self.s, inf) <NEW_LINE> self.visitedToke...
Extends the SolverBase method to use a depth first search method for finding the augmenting paths. A link for depth first search can be found here: https://www.youtube.com/watch?v=AfSk24UTFS8&t=2407s
6259902526238365f5fada7b
class exc_result: <NEW_LINE> <INDENT> thrift_spec = ( (0, TType.STRING, 'success', None, None, ), ) <NEW_LINE> def __init__(self, success=None,): <NEW_LINE> <INDENT> self.success = success <NEW_LINE> <DEDENT> def read(self, iprot): <NEW_LINE> <INDENT> if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and...
Attributes: - success
62599025ac7a0e7691f73413
class Interior: <NEW_LINE> <INDENT> def __init__(self, file=None): <NEW_LINE> <INDENT> self.sphere_count = 0 <NEW_LINE> self.spheres = [] <NEW_LINE> if file: <NEW_LINE> <INDENT> self.read(file) <NEW_LINE> <DEDENT> <DEDENT> def read(self, file): <NEW_LINE> <INDENT> self.sphere_count = struct.unpack("<h", file.read(2))[0...
Interior used in .hul
6259902521bff66bcd723b8c
class Rook(_Piece): <NEW_LINE> <INDENT> symbol = 'r' <NEW_LINE> def _moves(self, square, board, captures_only): <NEW_LINE> <INDENT> move_dir = ['n', 'e', 's', 'w'] <NEW_LINE> moves = self._bqr_moves(square, board.squares, self.color, move_dir) <NEW_LINE> return moves
A Rook
6259902566673b3332c31318
class TestCalculateMeanFofcCartSites(unittest.TestCase): <NEW_LINE> <INDENT> @unittest.skip("Not implemented") <NEW_LINE> def test_calc_mean_fofc_cart_sites(self): <NEW_LINE> <INDENT> self.assertEqual(True, False)
Test the calculation of |Fo-Fc| given cartesian sitess
625990256fece00bbaccc8e4
class RunnerMode: <NEW_LINE> <INDENT> REMIND = 0 <NEW_LINE> EVENTS = 1
Режим запуска
62599025a4f1c619b294f520
class Sale(Discount): <NEW_LINE> <INDENT> class Meta: <NEW_LINE> <INDENT> verbose_name = _("Sale") <NEW_LINE> verbose_name_plural = _("Sales") <NEW_LINE> <DEDENT> def save(self, *args, **kwargs): <NEW_LINE> <INDENT> super(Sale, self).save(*args, **kwargs) <NEW_LINE> self._clear() <NEW_LINE> if self.active: <NEW_LINE> <...
Stores sales field values for price and date range which when saved are then applied across products and variations according to the selected categories and products for the sale.
62599025be8e80087fbbffa4
class SecurityFAILCapSETUIDWithOtherExecCompareKoji(TestCompareKoji): <NEW_LINE> <INDENT> @unittest.skipUnless(have_caps_support, lack_caps_msg) <NEW_LINE> def setUp(self): <NEW_LINE> <INDENT> TestCompareKoji.setUp(self) <NEW_LINE> installPath = "bin/fail" <NEW_LINE> sourceId = self.after_rpm.add_source( rpmfluff.Sourc...
When comparing RPMs from Koji builds, check that a file in the new build with CAP_SETUID set and world execution permissions fails.
6259902573bcbd0ca4bcb1bc
@attr.s(auto_attribs=True) <NEW_LINE> class CliOption: <NEW_LINE> <INDENT> name: str <NEW_LINE> description: str = None <NEW_LINE> args: Dict[str, Any] = attr.Factory(dict) <NEW_LINE> @classmethod <NEW_LINE> def fromparam(cls, parameter: inspect.Parameter): <NEW_LINE> <INDENT> params = {"name": "--" + parameter.name.re...
Represents a command line option.
625990259b70327d1c57fcae
class Servo(_BaseServo): <NEW_LINE> <INDENT> def __init__( self, pwm_out: "PWMOut", *, actuation_range: int = 180, min_pulse: int = 750, max_pulse: int = 2250 ) -> None: <NEW_LINE> <INDENT> super().__init__(pwm_out, min_pulse=min_pulse, max_pulse=max_pulse) <NEW_LINE> self.actuation_range = actuation_range <NEW_LINE> s...
Control the position of a servo. :param ~pwmio.PWMOut pwm_out: PWM output object. :param int actuation_range: The physical range of motion of the servo in degrees, for the given ``min_pulse`` and ``max_pulse`` values. :param int min_pulse: The minimum pulse width of the servo in microseconds. :param int max...
62599025a8ecb0332587214c
class LinuxArmSystemBuilder(object): <NEW_LINE> <INDENT> def __init__(self, machine_type, aarch64_kernel, **kwargs): <NEW_LINE> <INDENT> self.machine_type = machine_type <NEW_LINE> self.num_cpus = kwargs.get('num_cpus', 1) <NEW_LINE> self.mem_size = kwargs.get('mem_size', '256MB') <NEW_LINE> self.use_ruby = kwargs.get(...
Mix-in that implements create_system. This mix-in is intended as a convenient way of adding an ARM-specific create_system method to a class deriving from one of the generic base systems.
6259902530c21e258be99744
class NetworkMediator: <NEW_LINE> <INDENT> def __init__(self): <NEW_LINE> <INDENT> self._nodes = [] <NEW_LINE> <DEDENT> def register_member(self, member): <NEW_LINE> <INDENT> self._nodes.append(member) <NEW_LINE> <DEDENT> def toggle(self, source, activate): <NEW_LINE> <INDENT> if source.type == 'master': <NEW_LINE> <IN...
Responsible for maintaining relationships between all nodes. It does so by managing the 'active' state of all nodes, conforming to the behavioural rules defined in the aforementioned docstring.
62599025d164cc6175821ea6
class Unit: <NEW_LINE> <INDENT> def __init__(self, unit_type: Union[UnitType, type], owner: Player): <NEW_LINE> <INDENT> self._unit_type = unit_type <NEW_LINE> self._modifiers = [] <NEW_LINE> self._owner = owner <NEW_LINE> self._moving_points = self.get_default_moving_points() <NEW_LINE> <DEDENT> def reset_moving_point...
Класс, представляющий юнита на игровом поле.
625990251d351010ab8f4a45
class CustomUserCreationForm(UserCreationForm): <NEW_LINE> <INDENT> class Meta: <NEW_LINE> <INDENT> model = User <NEW_LINE> fields = ( 'email', )
Custom creation form for ``User`` model. This class overrides ``UserCreationForm`` to provide different ``User`` model in Meta and also replaces ``username`` field with ``email`` field.
62599025d18da76e235b78e5
class TestCollectionViewSetRemoveCurator(BaseCollectionViewSetTest): <NEW_LINE> <INDENT> def remove_curator(self, client, user_id=None): <NEW_LINE> <INDENT> if user_id is None: <NEW_LINE> <INDENT> user_id = self.user.pk <NEW_LINE> <DEDENT> form_data = {'user': user_id} if user_id else {} <NEW_LINE> url = self.collectio...
Tests the `remove-curator` action on CollectionViewSet.
6259902521bff66bcd723b92
class NoAuthMiddleware(wsgi.Middleware): <NEW_LINE> <INDENT> @webob.dec.wsgify(RequestClass=wsgi.Request) <NEW_LINE> def __call__(self, req): <NEW_LINE> <INDENT> if 'X-Auth-Token' not in req.headers: <NEW_LINE> <INDENT> user_id = req.headers.get('X-Auth-User', 'admin') <NEW_LINE> project_id = req.headers.get('X-Auth-Pr...
Return a fake token if one isn't specified.
625990255166f23b2e244305
class Event(with_metaclass(_MetaEvent, object)): <NEW_LINE> <INDENT> _event_classes = [] <NEW_LINE> event_name = None <NEW_LINE> def __init__(self, model): <NEW_LINE> <INDENT> self._model_id = None <NEW_LINE> if model is not None: <NEW_LINE> <INDENT> self._model_id = model._id <NEW_LINE> <DEDENT> <DEDENT> @classmethod ...
Base class for all Bokeh events. This base class is not typically useful to instantiate on its own.
62599025d99f1b3c44d065d3
class Solution(): <NEW_LINE> <INDENT> def __init__(self): <NEW_LINE> <INDENT> self.arr = np.array((6, 7, 8)) <NEW_LINE> <DEDENT> def test1(self): <NEW_LINE> <INDENT> r = np.lcm.reduce(self.arr) <NEW_LINE> print('lcm:', r) <NEW_LINE> <DEDENT> def action(self): <NEW_LINE> <INDENT> self.test1() <NEW_LINE> C = self.arr - n...
class to solve the problem
62599025507cdc57c63a5cd8
class MiniBatchTrainer(ClassifierTrainer): <NEW_LINE> <INDENT> def __call__(self, train_labels, val_labels, nbr_epochs, pc_models, feature_loc, clf_type): <NEW_LINE> <INDENT> assert clf_type in config.CLASSIFIER_TYPES <NEW_LINE> t0 = time.time() <NEW_LINE> clf, ref_accs = train(train_labels, feature_loc, nbr_epochs, cl...
This is the default trainer. It uses mini-batches of data to train the classifier
62599025a4f1c619b294f526
class GoogleVisionAPI: <NEW_LINE> <INDENT> def __init__(self): <NEW_LINE> <INDENT> self.endpoint_url = 'https://vision.googleapis.com/v1/images:annotate' <NEW_LINE> self.api_key = load_text(CREDENTIAL_PATH) <NEW_LINE> <DEDENT> @staticmethod <NEW_LINE> def __make_request(img_path, feature_type): <NEW_LINE> <INDENT> requ...
Construct and use the Google Vision API service.
62599025bf627c535bcb23e8
class CsmPublishingProfileOptions(msrest.serialization.Model): <NEW_LINE> <INDENT> _attribute_map = { 'format': {'key': 'format', 'type': 'str'}, 'include_disaster_recovery_endpoints': {'key': 'includeDisasterRecoveryEndpoints', 'type': 'bool'}, } <NEW_LINE> def __init__( self, *, format: Optional[Union[str, "Publishin...
Publishing options for requested profile. :ivar format: Name of the format. Valid values are: FileZilla3 WebDeploy -- default Ftp. Possible values include: "FileZilla3", "WebDeploy", "Ftp". :vartype format: str or ~azure.mgmt.web.v2018_02_01.models.PublishingProfileFormat :ivar include_disaster_recovery_endpoints: ...
6259902591af0d3eaad3ad59
class AdminTest(TestCase): <NEW_LINE> <INDENT> def setUp(self): <NEW_LINE> <INDENT> self.site = admin.AdminSite() <NEW_LINE> <DEDENT> def test_admin_registration(self): <NEW_LINE> <INDENT> ua.register(self.site) <NEW_LINE> self.assertTrue( isinstance( self.site._registry[podcast.Podcast], ua.PodcastAdmin ) ) <NEW_LINE>...
Tests to make sure that the admin snap-ins validate correctly.
62599025d164cc6175821ea9
@inside_spirv_testsuite('SpirvOptFlags') <NEW_LINE> class TestWebGPUToVulkanThenVulkanToWebGPUIsInvalid(expect.ReturnCodeIsNonZero, expect.ErrorMessageSubstr): <NEW_LINE> <INDENT> spirv_args = ['--webgpu-to-vulkan', '--vulkan-to-webgpu'] <NEW_LINE> expected_error_substr = 'Cannot use both'
Tests Vulkan->WebGPU flag cannot be used after WebGPU->Vulkan flag.
625990253eb6a72ae038b597
class TrajectoryMock(object): <NEW_LINE> <INDENT> def __init__(self, traj): <NEW_LINE> <INDENT> self.v_environment_name = traj.v_environment_name <NEW_LINE> self.v_name = traj.v_name <NEW_LINE> self.v_crun_ = traj.v_crun_ <NEW_LINE> self.v_crun = traj.v_crun <NEW_LINE> self.v_idx = traj.v_idx
Helper class that mocks properties of a trajectory. The full trajectory is not needed to rename a log file. In order to avoid copying the full trajectory during pickling this class is used.
6259902573bcbd0ca4bcb1c4
class test_work_meta(TestCase, test_model_meta_mixin): <NEW_LINE> <INDENT> def setUp(self): <NEW_LINE> <INDENT> self.subject = work_meta() <NEW_LINE> <DEDENT> def test__work_meta__instance(self): <NEW_LINE> <INDENT> self.assertIsInstance(self.subject, work_meta) <NEW_LINE> <DEDENT> def test__work_meta__str(self): <NEW_...
Tests for the `work_meta` model.
625990255e10d32532ce409e
class BadTimeSignature(BadSignature): <NEW_LINE> <INDENT> def __init__(self, message, payload=None, date_signed=None): <NEW_LINE> <INDENT> BadSignature.__init__(self, message, payload) <NEW_LINE> self.date_signed = date_signed
Raised if a time-based signature is invalid. This is a subclass of :class:`BadSignature`.
625990255166f23b2e244309
class SharedPostSerializer(serializers.ModelSerializer): <NEW_LINE> <INDENT> images = PostImageSerializer(many=True) <NEW_LINE> user = UserSerializerMinimal() <NEW_LINE> class Meta: <NEW_LINE> <INDENT> model = Post <NEW_LINE> fields = ['id', 'content', 'created', 'user', 'images', 'url']
Post serializer when shared in other post
625990251d351010ab8f4a4a
class JoinRideSerializer(serializers.ModelSerializer): <NEW_LINE> <INDENT> passenger = serializers.IntegerField() <NEW_LINE> class Meta: <NEW_LINE> <INDENT> model = Ride <NEW_LINE> fields = ('passenger',) <NEW_LINE> <DEDENT> def validate_passenger(self, data): <NEW_LINE> <INDENT> try: <NEW_LINE> <INDENT> user = User.ob...
Join ride serializer.
6259902530c21e258be9974a
class TrashedEntity(ModelNormal): <NEW_LINE> <INDENT> allowed_values = { } <NEW_LINE> validations = { } <NEW_LINE> additional_properties_type = None <NEW_LINE> _nullable = False <NEW_LINE> @cached_property <NEW_LINE> def openapi_types(): <NEW_LINE> <INDENT> return { 'deleted_by_principal_id': (str,), 'deleted_on': (str...
NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech Do not edit the class manually. Attributes: allowed_values (dict): The key is the tuple path to the attribute and the for var_name this is (var_name,). The value is a dict with a capitalized key describing the a...
62599025d164cc6175821eab
@registries.BINDABLE_CLUSTERS.register(general.LevelControl.cluster_id) <NEW_LINE> @registries.ZIGBEE_CHANNEL_REGISTRY.register(general.LevelControl.cluster_id) <NEW_LINE> class LevelControlChannel(ZigbeeChannel): <NEW_LINE> <INDENT> CURRENT_LEVEL = 0 <NEW_LINE> REPORT_CONFIG = ({"attr": "current_level", "config": REPO...
Channel for the LevelControl Zigbee cluster.
6259902566673b3332c31323
@ECR.filter_registry.register('lifecycle-rule') <NEW_LINE> class LifecycleRule(Filter): <NEW_LINE> <INDENT> permissions = ('ecr:GetLifecyclePolicy',) <NEW_LINE> schema = type_schema( 'lifecycle-rule', state={'type': 'boolean'}, match={'type': 'array', 'items': { 'oneOf': [ {'$ref': '#/definitions/filters/value'}, {'typ...
Lifecycle rule filtering :Example: .. code-block:: yaml policies: - name: ecr-life resource: aws.ecr filters: - type: lifecycle-rule state: False match: - selection.tagStatus: untagged - action.type: expire - type: value ...
62599025d164cc6175821eac
class ModelSetDefaultTestCase(ModelTestCase, SetDefaultTestCase): <NEW_LINE> <INDENT> def testSetDefaultDefault(self): <NEW_LINE> <INDENT> pass
Test the setdefault operation at the model level.
625990256fece00bbaccc8ee
class GoldairHeaterChildLock(LockEntity): <NEW_LINE> <INDENT> def __init__(self, device): <NEW_LINE> <INDENT> self._device = device <NEW_LINE> <DEDENT> @property <NEW_LINE> def should_poll(self): <NEW_LINE> <INDENT> return True <NEW_LINE> <DEDENT> @property <NEW_LINE> def name(self): <NEW_LINE> <INDENT> return self._de...
Representation of a Goldair WiFi-connected heater child lock.
625990256e29344779b01585
class TimedGenerator: <NEW_LINE> <INDENT> def __init__(self, generator, timeout=None, inactivity_timeout=None, on_timeout=None, on_inactivity_timeout=None): <NEW_LINE> <INDENT> self.generator = generator <NEW_LINE> self.timeout = timeout <NEW_LINE> self.inactivity_timeout = inactivity_timeout <NEW_LINE> self.on_timeout...
Add timing functionality to generator objects. Used to create timed-generator objects as well as add inactivity functionality (i.e. return if no items have been generated in a given time period)
625990258c3a8732951f748d
@register_block <NEW_LINE> class InterfaceStatistics( SectionMemberBlock, BlockWithTimestampMixin, BlockWithInterfaceMixin ): <NEW_LINE> <INDENT> magic_number = 0x00000005 <NEW_LINE> __slots__ = [] <NEW_LINE> schema = [ ("interface_id", IntField(32, False), 0), ("timestamp_high", IntField(32, False), 0), ("timestamp_lo...
"The Interface Statistics Block (ISB) contains the capture statistics for a given interface [...]. The statistics are referred to the interface defined in the current Section identified by the Interface ID field." - pcapng spec, section 4.6. Other quoted citations are from this section unless otherwise noted.
62599025ac7a0e7691f7341f
class AnyBlokIO(Blok): <NEW_LINE> <INDENT> version = version <NEW_LINE> author = 'Suzanne Jean-Sébastien' <NEW_LINE> logo = '../anyblok-logo_alpha_256.png' <NEW_LINE> required = [ 'anyblok-core', ] <NEW_LINE> @classmethod <NEW_LINE> def declare_io(cls): <NEW_LINE> <INDENT> from anyblok import Declarations <NEW_LINE> @D...
In / Out tool's: * Formater: convert value 2 str or str 2 value in function of the field, * Importer: main model to define an import, * Exporter: main model to define an export,
6259902530c21e258be9974c
class InfoJSONEncoder(QMKJSONEncoder): <NEW_LINE> <INDENT> def encode_dict(self, obj): <NEW_LINE> <INDENT> if obj: <NEW_LINE> <INDENT> if self.indentation_level == 4: <NEW_LINE> <INDENT> return "{ " + ", ".join(f"{self.encode(key)}: {self.encode(element)}" for key, element in sorted(obj.items())) + " }" <NEW_LINE> <DED...
Custom encoder to make info.json's a little nicer to work with.
62599025287bf620b6272b25
class DeviceDatasourceInstancePaginationResponse(object): <NEW_LINE> <INDENT> swagger_types = { 'total': 'int', 'search_id': 'str', 'items': 'list[DeviceDataSourceInstance]' } <NEW_LINE> attribute_map = { 'total': 'total', 'search_id': 'searchId', 'items': 'items' } <NEW_LINE> def __init__(self, total=None, search_id=N...
NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually.
6259902521a7993f00c66eb3
class Bitmap: <NEW_LINE> <INDENT> def __init__(self, width, height, pixels=None): <NEW_LINE> <INDENT> self.width = width <NEW_LINE> self.height = height <NEW_LINE> if pixels is None: <NEW_LINE> <INDENT> self.pixels = [False for __ in range(width * height)] <NEW_LINE> <DEDENT> else: <NEW_LINE> <INDENT> self.pixels = pix...
A 2D bitmap image represented as a list of boolean values. Each boolean value indicates the state of a single pixel in the bitmap.
625990256e29344779b01588
@reversion.register(follow=['county']) <NEW_LINE> @encoding.python_2_unicode_compatible <NEW_LINE> class SubCounty(AdministrativeUnitBase): <NEW_LINE> <INDENT> county = models.ForeignKey(County, on_delete=models.PROTECT) <NEW_LINE> def __str__(self): <NEW_LINE> <INDENT> return self.name
A county can be sub divided into sub counties. The sub-counties do not necessarily map to constituencies
625990258c3a8732951f748f
class CalculateServicer(object): <NEW_LINE> <INDENT> def CalculateAdd(self, request, context): <NEW_LINE> <INDENT> context.set_code(grpc.StatusCode.UNIMPLEMENTED) <NEW_LINE> context.set_details('Method not implemented!') <NEW_LINE> raise NotImplementedError('Method not implemented!')
The greeting service definition.
62599025ac7a0e7691f73421
class ColorClip(ImageClip): <NEW_LINE> <INDENT> def __init__(self, tamano, col=(0, 0, 0), ismask=False, duracion=None): <NEW_LINE> <INDENT> w, h = tamano <NEW_LINE> shape = (h, w) if np.isscalar(col) else (h, w, len(col)) <NEW_LINE> ImageClip.__init__(self, np.tile(col, w * h).reshape(shape), ismask=ismask, duracion=du...
An ImageClip showing just one color. Parameters ----------- tamano Size (width, height) in pixels of the clip. color If argument ``ismask`` is False, ``color`` indicates the color in RGB of the clip (default is black). If `ismask`` is True, ``color`` must be a float between 0 and 1 (default is 1) ismask ...
6259902530c21e258be9974e
class getUserIdentities_result(object): <NEW_LINE> <INDENT> def __init__(self, success=None, e=None,): <NEW_LINE> <INDENT> self.success = success <NEW_LINE> self.e = e <NEW_LINE> <DEDENT> def read(self, iprot): <NEW_LINE> <INDENT> if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTranspo...
Attributes: - success - e
6259902521bff66bcd723b9b
class CrtShTimeoutException(CrtShRequestException): <NEW_LINE> <INDENT> def __init__(self, message=None, cause=None, scan_result=None): <NEW_LINE> <INDENT> super(CrtShTimeoutException, self).__init__(message=message, cause=cause, scan_result=scan_result)
Timeout exception
62599025d99f1b3c44d065db
class NoSetter(Exception): <NEW_LINE> <INDENT> pass
This exception occurs when variable has no setter, but it was called.
625990251f5feb6acb163b29
class Normalizator(): <NEW_LINE> <INDENT> def __init__(self,dataset,method="standarization"): <NEW_LINE> <INDENT> self.train_data = dataset.data <NEW_LINE> self.size = self.train_data.shape <NEW_LINE> self.mean = self.train_data.mean(axis=0) <NEW_LINE> self.std = self.train_data.std(axis = 0) <NEW_LINE> self.max = self...
Initialize with training data, it will get normalized, then use normalize functions for other datasets
62599025a8ecb03325872158
class ArticleColumn(Column): <NEW_LINE> <INDENT> def getChapterIndex(self, b, articleData): <NEW_LINE> <INDENT> return min(max(0, TX.asInt(b.e.form[self.C.PARAM_CHAPTER]) or 0), len(articleData.chapters or [])-1)
Generic column for articles.
62599025925a0f43d25e8f81
class YamlTag(object): <NEW_LINE> <INDENT> def __init__(self, **kwargs): <NEW_LINE> <INDENT> self.__dict__.update(kwargs) <NEW_LINE> <DEDENT> def __getitem__(self, key): <NEW_LINE> <INDENT> return getattr(self, key) <NEW_LINE> <DEDENT> def __getattr__(self, attr): <NEW_LINE> <INDENT> return None <NEW_LINE> <DEDENT> def...
Superclass for constructors of custom tags defined in yaml file. __str__ is overridden in subclass and used for serialization in module recorder.
62599026c432627299fa3f2e
class InducingPoints(InducingFeature): <NEW_LINE> <INDENT> def __init__(self, Z): <NEW_LINE> <INDENT> super().__init__() <NEW_LINE> self.Z = Parameter(Z, dtype=settings.float_type) <NEW_LINE> <DEDENT> def __len__(self): <NEW_LINE> <INDENT> return self.Z.shape[0] <NEW_LINE> <DEDENT> @decors.params_as_tensors <NEW_LINE> ...
Real-space inducing points
625990268e05c05ec3f6f5fa
class ts_label(dtable): <NEW_LINE> <INDENT> repos_sn = datt(int, doc="库序号") <NEW_LINE> label_sn = datt(ts_label_seqno, doc='标签序号,库内同名同号,同名不同库号不同') <NEW_LINE> label = datt(str, doc='标签名') <NEW_LINE> type = datt(str, len=1, doc='标签类型: S题型,T标签,C分类') <NEW_LINE> props = datt(json_object, doc='标签其他定义信息,如颜...
QuestionStyles, Tag和Category的Label信息
6259902626238365f5fada8d
class EDTestSuitePluginExecMtz2Variousv1_0(EDTestSuite): <NEW_LINE> <INDENT> def process(self): <NEW_LINE> <INDENT> self.addTestCaseFromName("EDTestCasePluginUnitExecMtz2Variousv1_0") <NEW_LINE> self.addTestCaseFromName("EDTestCasePluginExecuteExecMtz2Variousv1_0")
This is the test suite for EDNA plugin Mtz2Variousv1_0 It will run subsequently all unit tests and execution tests.
62599026be8e80087fbbffb4
class FamilyName(atom.core.XmlElement): <NEW_LINE> <INDENT> _qname = GDATA_TEMPLATE % 'familyName' <NEW_LINE> yomi = 'yomi'
The gd:familyName element. Specifies family name of the person, eg. "Smith".
6259902621bff66bcd723b9f
class WaveSink(object): <NEW_LINE> <INDENT> def __init__(self, fp, sample_rate, sample_width): <NEW_LINE> <INDENT> self._fp = fp <NEW_LINE> self._wavep = wave.open(self._fp, 'wb') <NEW_LINE> self._wavep.setsampwidth(sample_width) <NEW_LINE> self._wavep.setnchannels(1) <NEW_LINE> self._wavep.setframerate(sample_rate) <N...
Audio sink that writes audio data to a WAV file. Args: fp: file-like stream object to write data to. sample_rate: sample rate in hertz. sample_width: size of a single sample in bytes.
625990269b70327d1c57fcbe
class TestTracking(TestAsServer): <NEW_LINE> <INDENT> def setUpPreSession(self): <NEW_LINE> <INDENT> TestAsServer.setUpPreSession(self) <NEW_LINE> self.config.set_overlay(False) <NEW_LINE> self.config.set_internal_tracker(True) <NEW_LINE> <DEDENT> def test_add_remove_torrent(self): <NEW_LINE> <INDENT> tdef = TorrentDef...
Testing seeding via new tribler API:
62599026796e427e5384f6b9
class GpioController(): <NEW_LINE> <INDENT> class Pin(): <NEW_LINE> <INDENT> def __init__(self, gpio, pin): <NEW_LINE> <INDENT> self.gpio = gpio <NEW_LINE> self.pin = pin <NEW_LINE> <DEDENT> def set(self, value): <NEW_LINE> <INDENT> self.gpio.set_output(self.pin, value) <NEW_LINE> <DEDENT> <DEDENT> def __init__(self, f...
Represents a single pin in the GPIO controller.
6259902615baa72349462ed5
class OpLabelingTopLevel(Operator): <NEW_LINE> <INDENT> name = "OpLabelingTopLevel" <NEW_LINE> InputImages = InputSlot(level=1) <NEW_LINE> LabelInputs = InputSlot(level=1) <NEW_LINE> LabelEraserValue = InputSlot( value=255 ) <NEW_LINE> LabelDelete = ( InputSlot() ) <NEW_LINE> LabelImages = OutputSlot(level=1) <NEW_LINE...
Top-level operator for the labelingApplet base class. Provides all the slots needed by the labeling GUI, but any operator that provides the necessary slots can also be used with the LabelingGui.
62599026d164cc6175821eb3
class TestEnergy(unittest.TestCase): <NEW_LINE> <INDENT> def test_J(self): <NEW_LINE> <INDENT> try: <NEW_LINE> <INDENT> q = quantity.Energy(1.0,"J") <NEW_LINE> self.fail('Allowed invalid unit type "J".') <NEW_LINE> <DEDENT> except quantity.QuantityError: <NEW_LINE> <INDENT> pass <NEW_LINE> <DEDENT> <DEDENT> def test_Jp...
Contains unit tests of the Energy unit type object.
6259902666673b3332c3132b
class landusechange(object): <NEW_LINE> <INDENT> def __init__(self, landusechange_variable): <NEW_LINE> <INDENT> self.var = landusechange_variable <NEW_LINE> <DEDENT> def initial(self): <NEW_LINE> <INDENT> self.var.ForestFractionInit = loadmap('ForestFraction') <NEW_LINE> self.var.DirectRunoffFractionInit = loadmap('Di...
# ************************************************************ # ***** LAND USE CHANGE : FRACTION MAPS ********************** # ************************************************************ # Each pixel is divided into several fractions, adding up to 1 # open water # forest # sealed fraction # irrigated areas # rice ir...
62599026c432627299fa3f30
class itkMultiplyByConstantImageFilterIUS3DIUS3(itkMultiplyByConstantImageFilterIUS3DIUS3_Superclass): <NEW_LINE> <INDENT> thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') <NEW_LINE> def __init__(self, *args, **kwargs): raise AttributeError("No constructor defined"...
Proxy of C++ itkMultiplyByConstantImageFilterIUS3DIUS3 class
6259902673bcbd0ca4bcb1ce
class WebAppError( Exception ): <NEW_LINE> <INDENT> pass
Define a dedicated web application specific error.
62599026ac7a0e7691f73427
class FinishView(ProductStatusView): <NEW_LINE> <INDENT> def get_queryset(self): <NEW_LINE> <INDENT> return Order.objects.filter(order_status=constants.ORDER_WC, is_valid=True).order_by('-update_time')
订单完成
625990265166f23b2e244313
class ISteps(Interface): <NEW_LINE> <INDENT> pass
Steps provider
625990265e10d32532ce40a3
class Promote(Resource): <NEW_LINE> <INDENT> @check_auth <NEW_LINE> def post(current_user, self, user_id): <NEW_LINE> <INDENT> if current_user["type"] != "admin": <NEW_LINE> <INDENT> return {"Message": "Must be an admin"} <NEW_LINE> <DEDENT> parser = reqparse.RequestParser() <NEW_LINE> parser.add_argument( 'type', type...
docstring for Promote
6259902621bff66bcd723ba1
class ProductInfoElem(AbstractModel): <NEW_LINE> <INDENT> def __init__(self): <NEW_LINE> <INDENT> self.Name = None <NEW_LINE> self.Value = None <NEW_LINE> <DEDENT> def _deserialize(self, params): <NEW_LINE> <INDENT> self.Name = params.get("Name") <NEW_LINE> self.Value = params.get("Value")
产品详情
6259902615baa72349462ed7
class User(AbstractBaseUser, PermissionsMixin): <NEW_LINE> <INDENT> crypto_key = models.IntegerField( unique=True, validators=[ MinValueValidator(1000000000), MaxValueValidator(999999999), ], editable=False, help_text='Unique key for internal operations', ) <NEW_LINE> username = models.CharField(max_length=255, unique=...
A model for app's Users
62599026d18da76e235b78ed
class KaldiServer: <NEW_LINE> <INDENT> def __init__(self, srv_config): <NEW_LINE> <INDENT> for key in ['name', 'host', 'port', 'samplerate']: <NEW_LINE> <INDENT> if key in srv_config: <NEW_LINE> <INDENT> setattr(self, key, srv_config[key]) <NEW_LINE> <DEDENT> <DEDENT> <DEDENT> async def free(self): <NEW_LINE> <INDENT> ...
This class describes the Kaldi server resource. It is a representation of a running instance of the Kaldi server together with its parameters.
6259902626238365f5fada91
class RoleForm(Form): <NEW_LINE> <INDENT> name = StringField('name', [Required()]) <NEW_LINE> description = StringField('description') <NEW_LINE> def __init__(self, *args, **kwargs): <NEW_LINE> <INDENT> super(RoleForm, self).__init__(*args, **kwargs) <NEW_LINE> <DEDENT> def validate(self): <NEW_LINE> <INDENT> if not su...
The role form
625990265e10d32532ce40a4
class THREDDSExplorerDialogTest(unittest.TestCase): <NEW_LINE> <INDENT> def setUp(self): <NEW_LINE> <INDENT> pass <NEW_LINE> <DEDENT> def tearDown(self): <NEW_LINE> <INDENT> pass <NEW_LINE> <DEDENT> def test_icon_png(self): <NEW_LINE> <INDENT> path = ':/plugins/THREDDSExplorer/icon.png' <NEW_LINE> icon = QIcon(path) <N...
Test rerources work.
62599026d99f1b3c44d065e3
class SQLThread (threading.Thread): <NEW_LINE> <INDENT> resp_regexp = re.compile("Uploaded: (?P<filename>\d\d\d\d-\d\d-\d\d_\d\d:\d\d\.txt) Size: (?P<size>[0-9.]*) .b (?P<ok_entries>\d*) / (?P<total_entries>\d*).*") <NEW_LINE> max_entries = 35000 <NEW_LINE> def __init__(self, the_globs): <NEW_LINE> <INDENT> threading.T...
This thread handles the output stream for SQL stuff
625990261f5feb6acb163b31
class Palio(CarroPopular): <NEW_LINE> <INDENT> def mostra_informacao(self): <NEW_LINE> <INDENT> print("Modelo: Palio") <NEW_LINE> print("Fabricante: Fiat") <NEW_LINE> print("Categoria: Popular\n")
Carro popular Palio.
62599026d164cc6175821eb8
class EagerModelSerializer(EagerLoadingMixin, ModelSerializer): <NEW_LINE> <INDENT> pass
Serializer that includes the select and prefetch related
62599026d18da76e235b78ee
class PMMHSampler(BaseAdaptiveMHSampler): <NEW_LINE> <INDENT> def __init__(self, log_f_estimator, log_prop_density, prop_sampler, prop_scales, prng): <NEW_LINE> <INDENT> super(PMMHSampler, self).__init__(prop_scales) <NEW_LINE> self.log_f_estimator = log_f_estimator <NEW_LINE> if log_prop_density is None: <NEW_LINE> <I...
Pseudo-marginal Metropolis Hastings sampler. Markov chain Monte Carlo sampler which uses pseudo-marginal Metropolis Hastings updates. In the pseudo-marginal framework only an unbiased noisy estimate of the (unnormalised) target density is available.
625990266fece00bbaccc8fa
class PersonName: <NEW_LINE> <INDENT> def __init__(self, id, given, other, family, full_name): <NEW_LINE> <INDENT> self.id = id <NEW_LINE> self.given = common.standardize_text(given) <NEW_LINE> self.other = common.standardize_text(other) <NEW_LINE> self.family = common.standardize_text(family) <NEW_LINE> self.concat = ...
Simplistic class to hold a PersonName. For this version, we will only work with split out names, not full names. It is the responsibility of the PersonName crawler to figure out how to split up full names.
625990261f5feb6acb163b33
class TestMerge(TransactionCase): <NEW_LINE> <INDENT> def setUp(self): <NEW_LINE> <INDENT> super(TestMerge, self).setUp() <NEW_LINE> self.wh_main = self.browse_ref('stock.warehouse0') <NEW_LINE> self.wh_ch = self.browse_ref('stock.stock_warehouse_shop0') <NEW_LINE> self.product = self.browse_ref('product.product_produc...
Test the potential quantity on a product with a multi-line BoM
62599026d18da76e235b78ef
class Bullet(Sprite): <NEW_LINE> <INDENT> def __init__(self, ai_game): <NEW_LINE> <INDENT> super().__init__() <NEW_LINE> self.screen = ai_game.screen <NEW_LINE> self.settings = ai_game.settings <NEW_LINE> self.color = self.settings.bullet_color <NEW_LINE> self.rect = pygame.Rect(0, 0, self.settings.bullet_width, self.s...
A Class to manage bullets fired from the ship
6259902626238365f5fada95
class GenericCSV(CSV, PasswordExporter): <NEW_LINE> <INDENT> cap = Cap.IMPORT | Cap.EXPORT <NEW_LINE> name = 'csv' <NEW_LINE> himport = "pass import csv file.csv --cols 'url,login,,password'" <NEW_LINE> writer = None <NEW_LINE> def parse(self): <NEW_LINE> <INDENT> self.file.readline() <NEW_LINE> if ',' in self.cols: <N...
Importer & Exporter in generic CSV format. :usage: You should use the --cols option to map columns to credential attributes. The recognized column names by pass-import are the following: 'title', 'password', 'login', 'email', 'url', 'comments', 'otpauth', 'group' ``title`` and ``group`` field are used to gener...
62599026ac7a0e7691f7342d
class AAAA(dns.rdata.Rdata): <NEW_LINE> <INDENT> __slots__ = ['address'] <NEW_LINE> def __init__(self, rdclass, rdtype, address): <NEW_LINE> <INDENT> super().__init__(rdclass, rdtype) <NEW_LINE> dns.ipv6.inet_aton(address) <NEW_LINE> object.__setattr__(self, 'address', address) <NEW_LINE> <DEDENT> def to_text(self, ori...
AAAA record.
6259902621bff66bcd723ba7
@enum.unique <NEW_LINE> class Subject(enum.Enum): <NEW_LINE> <INDENT> value = 0 <NEW_LINE> type = 1 <NEW_LINE> frame = 2 <NEW_LINE> inferior = 3 <NEW_LINE> thread = 4 <NEW_LINE> progspace = 5 <NEW_LINE> objfile = 6 <NEW_LINE> block = 7 <NEW_LINE> symbol = 8 <NEW_LINE> symbol_table = 9 <NEW_LINE> line_table = 10 <NEW_LI...
The list of valid subject codes for messages.
62599026d99f1b3c44d065e7
class UafWatchpoint(gdb.Breakpoint): <NEW_LINE> <INDENT> def __init__(self, addr): <NEW_LINE> <INDENT> super(UafWatchpoint, self).__init__("*{:#x}".format(addr), gdb.BP_WATCHPOINT, internal=True) <NEW_LINE> self.address = addr <NEW_LINE> self.silent = True <NEW_LINE> self.enabled = True <NEW_LINE> return <NEW_LINE> <DE...
Custom watchpoints set TraceFreeBreakpoint() to monitor free()d pointers being used.
62599026796e427e5384f6c1