text
string
label
int64
{'name': 'probe_project@changes/probe.py', 'description': 'Check if the project meets `changes` requirements.\nComplain and exit otherwise.', 'signature': 'def probe_project(python_module):'}</s>{'name': 'has_signing_key@changes/probe.py', 'description': 'DOCSTRING', 'code': "def has_signing_key(context):\n return '...
0
{'name': 'get_async_fn@asynq/decorators.py', 'description': 'Returns an async function for the specified source function.', 'signature': 'def get_async_fn(fn, wrap_if_none=False):'}</s>_none = core_helpers.MarkerObject("none (futures)")
0
{'name': 'HostRecordV6.ipv6addrs@infoblox_client/objects.py', 'description': ':meta private:', 'signature': 'def ipv6addrs(self):'}</s>{'name': 'DiscoveryScaninterface@infoblox_client/objects.py', 'description': 'DOCSTRING', 'base_classes': ['SubObjects'], 'methods': []}
0
{'name': 'TimeSerie.merge@gnocchi/carbonara.py', 'description': 'Merge a TimeSerie into this one.', 'signature': 'def merge(self, ts):'}</s>{'name': 'half_and_year@gnocchi/calendar.py', 'description': 'Return the half per year of given dates.', 'code': 'def half_and_year(datetimes):\n """Return the half per year of ...
0
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQDXP_STRUC_ID_ARRAY = [b'D', b'X', b'P', b' ']
0
{'name': 'RPCBindTest.run_allowip_test@qa/rpc-tests/rpcbind_test.py', 'description': 'Start a node with rpcallow IP, and request getnetworkinfo\nat a non-localhost IP.', 'signature': 'def run_allowip_test(self, allow_ips, rpchost, rpcport):'}</s>{'name': 'bytes_to_hex_str@qa/rpc-tests/test_framework/util.py', 'descript...
0
{'name': 'BaseFHIRReference.resource_type@fhirpy/lib.py', 'description': 'Returns resource type if reference specifies to the local resource', 'signature': 'def resource_type(self) -> Union[str, None]:'}</s>{'name': 'SyncFHIRSearchSet@fhirpy/lib.py', 'description': 'DOCSTRING', 'base_classes': ['Generic[TResource]', "S...
0
{'name': 'FancyPage.is_left@rst2pdf/createpdf.py', 'description': 'Default behavior is that the first page is on the left.\n\nIf the user has --first_page_on_right, the calculation is reversed.', 'signature': 'def is_left(self, page_num):'}</s>{'name': 'get_language_available@rst2pdf/languages.py', 'description': 'Docu...
0
{'name': 'process_log@tools/warn/warn_common.py', 'description': 'Function that handles processing of a log.\n\nThis is isolated into its own function (rather than just taking place in main)\nso that it can be used by both warn.py and the borg job process_gs_logs.py, to\navoid duplication of code.\nNote that if the arg...
0
{'name': 'r2d3d50@backbone/resnet_2d3d.py', 'description': 'Constructs a ResNet-50 model. ', 'signature': 'def r2d3d50(**kwargs):'}</s>{'name': 'ResNet2d3d@backbone/resnet_2d3d.py', 'description': 'DOCSTRING', 'base_classes': ['nn.Module'], 'methods': [{'name': 'ResNet2d3d.__init__@backbone/resnet_2d3d.py', 'descriptio...
1
{'name': 'Cache.get_with_range@shingetsu/cache.py', 'description': 'Get data in range.', 'signature': 'def get_with_range(self, node=None):'}</s>taglist = run_dir + "/tag.txt"
0
{'name': 'csqrt@python/taichi/math/_complex.py', 'description': 'Returns the complex square root of a 2d vector `z`, so that\nif `w^2=z`, then `w = csqrt(z)`.\n\nAmong the two square roots of `z`, if their real parts are non-zero,\nthe one with positive real part is returned. If both their real parts\nare zero, the one...
0
{'name': 'NestingState.Update@scripts/cpplint.py', 'description': 'Update nesting state with current line.\n\nArgs:\n filename: The name of the current file.\n clean_lines: A CleansedLines instance containing the file.\n linenum: The number of the line to check.\n error: The function to call with any errors found.'...
0
{'name': 'Assignment.__init__@lib/rule_engine/ast.py', 'description': ':param str name: The symbol name that the assignment is defining.\n:param value: The value of the assignment.\n:param value_type: The data type of the assignment.\n:type value_type: :py:class:`~.DataType`', 'signature': 'def __init__(self, name, *, ...
0
{'name': 'render_pep440_branch@versioneer.py', 'description': 'TAG[[.dev0]+DISTANCE.gHEX[.dirty]] .\n\nThe ".dev0" means not master branch. Note that .dev0 sorts backwards\n(a feature branch will appear "older" than the master branch).\n\nExceptions:\n1: no tags. 0[.dev0]+untagged.DISTANCE.gHEX[.dirty]', 'signature': '...
0
{'name': 'decode_and_plot_events1D@nelpy/plotting/decoding.py', 'description': "bst : BinnedSpikeTrainArray\ntc : TuningCurve1D\nraster : bool\nst : SpikeTrainArray, optional\nst_order : string, optional\n = ['track', 'first', 'random']\nevt_subset : list, optional\n List of integer indices. If the list is not so...
1
{'name': 'test_flux_sed@tests/test_models.py', 'description': 'test IC calculation', 'signature': 'def test_flux_sed(particle_dists):'}</s>{'name': 'test_inverse_compton_lum@tests/test_models.py', 'description': 'test IC calculation', 'code': 'def test_inverse_compton_lum(particle_dists):\n """\n test IC calculat...
0
{'name': 'enrich_relations@skosify/skosify.py', 'description': 'Enrich the SKOS relations according to SKOS semantics, including\nsubproperties of broader and symmetric related properties. If use_narrower\nis True, include inverse narrower relations for all broader relations. If\nuse_narrower is False, instead remove a...
0
{'name': '_FixPath@gyp/pylib/gyp/generator/msvs.py', 'description': 'Convert paths to a form that will make sense in a vcproj file.\n\nArguments:\n path: The path to convert, may contain / etc.\nReturns:\n The path with all slashes made into backslashes.', 'signature': 'def _FixPath(path, separator="\\\\"):'}</s>{'na...
0
{'name': 'GeoDataset.set_roi@salem/datasets.py', 'description': "Set a region of interest for the dataset.\nIf set succesfully, a ROI is simply a mask of the same size as the\ndataset's grid, obtained with the .roi attribute.\nI haven't decided yet if the data should be masekd out when a ROI\nhas been set.\nParameters\...
0
{'name': 'BreakpointAfterJoinTestCase.test@llvm-project/lldb/test/API/functionalities/thread/break_after_join/TestBreakAfterJoin.py', 'description': 'Test breakpoint handling after a thread join.', 'signature': 'def test(self):'}</s>{'name': 'get_xcode_sdk_root@llvm-project/lldb/packages/Python/lldbsuite/test/lldbutil....
0
{'name': 'parse_extrinsics@fairnr/data/geometry.py', 'description': 'this function is only for numpy for now', 'signature': 'def parse_extrinsics(extrinsics, world2camera=True):'}</s>{'name': 'padding_points@fairnr/data/geometry.py', 'description': 'DOCSTRING', 'code': 'def padding_points(xs, pad):\n if len(xs) == 1...
0
{'name': 'speed_camera@versions/speed-camera 13.2/speed-cam.py', 'description': 'Main speed camera loop processing function', 'signature': 'def speed_camera():'}</s>{'name': 'is_SQLite3@versions/speed-camera 13.2/speed-cam.py', 'description': 'Determine if filename is in sqlite3 format', 'code': 'def is_SQLite3(filenam...
0
{'name': 'GefRemoteSessionManager.connect@gef.py', 'description': 'Connect to remote target. If in extended mode, also attach to the given PID.', 'signature': 'def connect(self, pid: int) -> bool:'}</s>{'name': 'gef_get_pie_breakpoint@gef.py', 'description': 'DOCSTRING', 'code': 'def gef_get_pie_breakpoint(num: int) ->...
0
{'name': 'ReplaceByFeeTest.test_opt_in@test/functional/feature_rbf.py', 'description': 'Replacing should only work if orig tx opted in', 'signature': 'def test_opt_in(self):'}</s>SIGHASH_SINGLE = 3
0
{'name': 'datetime_from_timestamp@yaql/standard_library/date_time.py', 'description': ':yaql:datetime\n\nReturns datetime object built by timestamp.\n\n:signature: datetime(timestamp, offset => timespan(0))\n:arg timestamp: timespan object to represent datetime\n:argType timestamp: number\n:arg offset: datetime offset ...
0
{'name': 'TestingParser.set_parser@tests/run_all_tests.py', 'description': 'Sets a new argument parser.\n\nThis method sets a new instance of the argument parser.\n\nParameters:\n- newParser (argparse.ArgumentParser): The new argument parser to set.', 'signature': 'def set_parser(self, newParser: argparse.ArgumentParse...
0
{'name': 'CheckForNonConstReference@llvm-12.0.0-project/compiler-rt/lib/sanitizer_common/scripts/cpplint.py', 'description': 'Check for non-const references.\n\nSeparate from CheckLanguage since it scans backwards from current\nline, instead of scanning forward.\n\nArgs:\n filename: The name of the current file.\n cl...
0
{'name': 'IUSequence.icon@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Return the icon to use in the frontend.', 'signature': 'def icon(self) -> str:'}</s>CONF_PERCENTAGE = "percentage"
0
{'name': 'MachoUnwindInfo.__init__@dwex/machounwind.py', 'description': 'section_data:\n A bytes or a Buffer-compatible object with the unwind_info section contents\n\ncputype:\n The machine architecture code from the MachO file or fat slice header\n\nbig_endian:\n True for a big-endian MachO file or fat slice...
1
{'name': 'ResourceManager.resource_listdir@blockchain-env/lib/python3.7/site-packages/pip/_vendor/pkg_resources/__init__.py', 'description': 'List the contents of the named resource directory', 'signature': 'def resource_listdir(self, package_or_requirement, resource_name):'}</s>{'name': '_sset_object@blockchain-env/li...
0
{'name': 'RegistrationRequest.__init__@py/u2f/u2f.py', 'description': 'Creates an APDU packet for request.', 'signature': 'def __init__(self, app_id: str, bogus: str = ""):'}</s>U2F_SW_INS_NOT_SUPPORTED = 27904
0
{'name': 'BreakpointCommandTestCase.breakpoint_command_sequence@lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_command/TestBreakpointCommand.py', 'description': 'Test a sequence of breakpoint command add, list, and delete.', 'signature': 'def breakpoint_command_sequence(self):'}</s>{'name': '...
0
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQIA_AUTHORITY_EVENT = 47
0
{'name': 'create_estimator_and_inputs@object_detection/model_lib.py', 'description': "Creates `Estimator`, input functions, and steps.\n\nArgs:\n run_config: A `RunConfig`.\n hparams: A `HParams`.\n pipeline_config_path: A path to a pipeline config file.\n config_override: A pipeline_pb2.TrainEvalPipelineConfig tex...
0
{'name': 'Logger.__init__@pelicun/base.py', 'description': "Initialize a Logger object.\n\nParameters\n----------\nverbose: bool\n If True, the pelicun echoes more information throughout the\n assessment. This can be useful for debugging purposes. The\n value is specified in the user's configuration dictionar...
0
{'name': 'PBES1.decrypt@blockchain-env/lib/python3.7/site-packages/Cryptodome/IO/_PBES.py', 'description': 'Decrypt a piece of data using a passphrase and *PBES1*.\n\nThe algorithm to use is automatically detected.\n\n:Parameters:\n data : byte string\n The piece of data to decrypt.\n passphrase : byte string\n ...
1
{'name': 'QueueManager.put1@code/pymqi/__init__.py', 'description': "Put the single message in string buffer 'msg' on the queue\nusing the MQI PUT1 call. This encapsulates calls to MQOPEN,\nMQPUT and MQCLOSE. put1 is the optimal way to put a single\nmessage on a queue.\n\nqDesc identifies the Queue either by name (if i...
0
{'name': 'RDBComputeDomain.__init__@py3/SciServer/SciQuery.py', 'description': 'Creates an instance of an RDBComputeDomain, which defines a domain or environment with databases that users.\nare able to query.\n\n:param rdb_compute_domain: Parameter that identifies the domain. Could be either its name (string),\n ID ...
0
{'name': 'overwrites_mem@panoramix/simplify.py', 'description': "for a given line, returns True if it potentially\noverwrites *any part* of memory index, False if it *for sure* doesn't", 'signature': 'def overwrites_mem(line, mem_idx):'}</s>{'name': 'while_touches_mem@panoramix/simplify.py', 'description': 'DOCSTRING',...
1
{'name': 'NodeList.init@shingetsu/node.py', 'description': 'Connect initial node.', 'signature': 'def init(self):'}</s>tiedfile_cache_size = 30
0
{'name': 'TestFillingCustomFields.test_uses_generator_function_for_custom_foreignkey@tests/test_filling_fields.py', 'description': 'Should use the generator function passed as a value for the add method', 'signature': 'def test_uses_generator_function_for_custom_foreignkey(self, custom_cfg):'}</s>{'name': 'DummyMultipl...
0
{'name': 'FieldAdapter.update_object_references@wagtail_transfer/field_adapters.py', 'description': 'Return a modified version of value with object references replaced by their corresponding\nentries in destination_ids_by_source - a mapping of (model_class, source_id) to\ndestination_id', 'signature': 'def update_objec...
0
{'name': 'JalaliDate.fromisoformat@persiantools/jdatetime.py', 'description': 'Construct a JalaliDate from an ISO 8601 formatted date string.\n\nArgs:\n date_string (str): The date string in ISO 8601 format.\n\nReturns:\n JalaliDate: A JalaliDate object corresponding to the given date string.\n\nRaises:\n Type...
0
{'name': 'execute_command@pretty_printers_tests/lldb_batchmode.py', 'description': 'Executes a single CLI command', 'signature': 'def execute_command(command_interpreter, command):'}</s>registered_breakpoints = set()
1
{'name': 'TestStrictWrapper.test_strict_wrapper@responses/tests/test_responses.py', 'description': 'Test that assert_all_requests_are_fired could be applied to the decorator.', 'signature': 'def test_strict_wrapper(self):'}</s>{'name': 'TestUnitTestPatchSetup@responses/tests/test_responses.py', 'description': 'Validate...
0
{'name': 'w_slice@visualization_utils.py', 'description': 'n_shift and n_factor denote the shift and multiplication constant of the normal\nequivalent for the shift\nsym makes shift and normal symmetric', 'signature': 'def w_slice(shift, normal, shift_addend, shift_factor, normal_addend, normal_factor, sym=False, pos=F...
0
{'name': 'rollapply@ffn/core.py', 'description': 'Apply a function fn over a rolling window of size window.\n\nArgs:\n * data (Series or DataFrame): Series or DataFrame\n * window (int): Window size\n * fn (function): Function to apply over the rolling window.\n For a series, the return value is expecte...
0
{'name': 'add_sphere@robowflex_visualization/robowflex_visualization/primitives.py', 'description': 'Creates and adds a dict of shape_msgs::SolidPrimitive sphere to the blender scene.\n ', 'signature': 'def add_sphere(sphere):'}</s>{'name': 'add_cylinder@robowflex_visualization/robowflex_visualization/primitives.py'...
0
{'name': '_SignBootableImage@tools/releasetools/common.py', 'description': "Performs AVB signing for a prebuilt boot.img.\n\nArgs:\n image_path: The full path of the image, e.g., /path/to/boot.img.\n prebuilt_name: The prebuilt image name, e.g., boot.img, boot-5.4-gz.img,\n boot-5.10.img, recovery.img or init_bo...
0
{'name': 'ReplaceByFeeTest.test_doublespend_chain@qa/rpc-tests/replace-by-fee.py', 'description': 'Doublespend of a long chain', 'signature': 'def test_doublespend_chain(self):'}</s>{'name': 'SignatureHash@qa/rpc-tests/test_framework/script.py', 'description': 'Consensus-correct SignatureHash\n\nReturns (hash, err) to ...
0
{'name': 'SessionRedirectMixin.resolve_redirects@Retired Content/MimeCast/SumoLogic-Mimecast-Data-Collection/requests/sessions.py', 'description': 'Receives a Response. Returns a generator of Responses.', 'signature': 'def resolve_redirects(self, resp, req, stream=False, timeout=None,'}</s>{'name': 'should_bypass_proxi...
0
{'name': 'IUZone.as_dict@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Return this zone as a dict', 'signature': 'def as_dict(self, extended=False) -> OrderedDict:'}</s>CONF_SHOW_LOG = "show_log"
0
{'name': 'nestedExpr@venv/Lib/site-packages/pip-19.0.3-py3.8.egg/pip/_vendor/pyparsing.py', 'description': 'Helper method for defining nested lists enclosed in opening and\nclosing delimiters ("(" and ")" are the default).\n\nParameters:\n - opener - opening character for a nested list\n (default= ``"("``); can also ...
0
{'name': 'Retry.with_deadline@stream/clients/python/bookkeeper/common/retry.py', 'description': 'Return a copy of this retry with the given deadline.\nArgs:\n deadline (float): How long to keep retrying.\nReturns:\n Retry: A new retry instance with the given deadline.', 'signature': 'def with_deadline(self, deadl...
0
{'name': 'prim_generate_maze_wall@Perfect Maze/Simple_Prim_Maze_Wall.py', 'description': '根据Prim算法,遍历墙生成a*b大小的迷宫,动态展示迷宫的生成过程\n:param a: 迷宫的行数\n:param b: 迷宫的列数\n:param path: 是否在最终的迷宫中添加路径,默认添加\n:return: 表示迷宫内所有墙的状态的字典', 'signature': 'def prim_generate_maze_wall(a, b, path=True):'}</s>Node_Color = "orange"
1
{'name': 'Retry.increment@venv/Lib/site-packages/pip-19.0.3-py3.8.egg/pip/_vendor/urllib3/util/retry.py', 'description': 'Return a new Retry object with incremented retry counters.\n\n:param response: A response object, or None, if the server did not\n return a response.\n:type response: :class:`~urllib3.response.HT...
0
{'name': 'tdvp_singlesite@pytenet/evolution.py', 'description': 'Symmetric single-site TDVP integration.\n`psi` is overwritten in-place with the time-evolved state.\n\nArgs:\n H: Hamiltonian as MPO\n psi: initial state as MPS\n dt: time step; for real-time evolution, use purely imaginary dt\n numsteps: numb...
1
{'name': 'run_forward_2d@tests/test_elastic.py', 'description': 'Runs run_forward with default parameters for 2D.', 'signature': 'def run_forward_2d(lamb=DEFAULT_LAMB,'}</s>{'name': 'test_gradcheck_only_mu_2d@tests/test_elastic.py', 'description': 'Test gradcheck with only mu requiring gradient.', 'code': 'def test_gra...
0
{'name': 'BaseMSS._basis_function_predict@sysidentpy/narmax_base.py', 'description': 'Basis function prediction.', 'signature': 'def _basis_function_predict('}</s>{'name': 'Polynomial@sysidentpy/basis_function/_polynomial.py', 'description': 'Build polynomial basis function.\n\nGenerate a new feature matrix consisting ...
0
{'name': 'OAuthAuth.validate_state@third_party/social_core/backends/oauth.py', 'description': 'Validate state value. Raises exception on error, returns state\nvalue if valid.', 'signature': 'def validate_state(self):'}</s>{'name': 'AuthUnknownError@third_party/social_core/exceptions.py', 'description': 'Unknown auth pr...
0
{'name': 'GetBestInterface@comtypes/client/_managing.py', 'description': "Try to QueryInterface a COM pointer to the 'most useful'\ninterface.\n\nGet type information for the provided object, either via\nIDispatch.GetTypeInfo(), or via IProvideClassInfo.GetClassInfo().\nGenerate a wrapper module for the typelib, and QI...
0
{'name': 'reload_embeddings@src/codes/embeddings/embedding_utils.py', 'description': 'Reload trained word-embedding model of the custom word2vec.\n:param trained_models_dir:\n:return:', 'signature': 'def reload_embeddings(trained_models_dir):'}</s>{'name': 'save_obj@src/codes/utils/file_utils.py', 'description': 'DOCST...
0
{'name': 'convert_sqlalchemy_hybrid_property_bare_str@graphene_sqlalchemy/converter.py', 'description': 'Convert Bare String into a ForwardRef', 'signature': 'def convert_sqlalchemy_hybrid_property_bare_str(type_arg: str, **kwargs):'}</s>{'name': 'convert_column_to_uuid@graphene_sqlalchemy/converter.py', 'description':...
0
{'name': 'TokenizerTest.testConsumeOctalIntegers@python/google/protobuf/internal/text_format_test.py', 'description': 'Test support for C style octal integers.', 'signature': 'def testConsumeOctalIntegers(self):'}</s>{'name': 'Tokenizer@python/google/protobuf/text_format.py', 'description': 'Protocol buffer text repres...
1
{'name': 'stop_flops_count@src/utils/flops_counter.py', 'description': 'A method that will be available after add_flops_counting_methods() is called\non a desired net object.\nStops computing the mean flops consumption per image.\nCall whenever you want to pause the computation.', 'signature': 'def stop_flops_count(sel...
0
{'name': 'Lexer.tokeniter@third_party/dawn/third_party/jinja2/lexer.py', 'description': 'This method tokenizes the text and returns the tokens in a\ngenerator. Use this method if you just want to tokenize a template.\n\n.. versionchanged:: 3.0\n Only ``\\n``, ``\\r\\n`` and ``\\r`` are treated as line\n breaks.',...
0
{'name': 'CheckPrintf@tools/cpplint.py', 'description': 'Check for printf related issues.\n\nArgs:\n filename: The name of the current file.\n clean_lines: A CleansedLines instance containing the file.\n linenum: The number of the line to check.\n error: The function to call with any errors found.', 'signature': 'd...
0
{'name': 'Client.__init__@aiodogstatsd/client.py', 'description': 'Initialize a client object.\n\nYou can pass `host` and `port` of the DogStatsD server, `namespace` to prefix\nall metric names, `constant_tags` to attach to all metrics.\n\nAlso, you can specify: `read_timeout` which will be used to read messages from\n...
0
{'name': 'Enforcer._record_file_rules@oslo_policy/policy.py', 'description': 'Store a copy of rules loaded from a file.\n\nIt is useful to be able to distinguish between rules loaded from a file\nand those registered by a consuming service. In order to do so we keep\na record of rules loaded from a file.\n\n:param data...
1
{'name': 'Metar._handlePressure@metar/Metar.py', 'description': 'Parse an altimeter-pressure group.\n\nThe following attributes are set:\n press [int]', 'signature': 'def _handlePressure( self, d ):'}</s>__LICENSE__ = """ Copyright (c) 2004-2016, %s All rights reserved. Redistribution and use in source and binar...
0
{'name': 'Decoder.forward@models/asr/transformer.py', 'description': 'args:\n padded_input: B x T\n encoder_padded_outputs: B x T x H\n encoder_input_lengths: B\nreturns:\n pred: B x T x vocab\n gold: B x T', 'signature': 'def forward(self, padded_input, encoder_padded_outputs, encoder_input_lengths):'}<...
1
{'name': 'extend_pandas@ffn/core.py', 'description': "Extends pandas' PandasObject (Series, Series,\nDataFrame) with some functions defined in this file.\n\nThis facilitates common functional composition used in quant\nfinance.\n\nEx:\n prices.to_returns().dropna().calc_clusters()\n (where prices would be a DataF...
0
{'name': 'dump_json_data@pages/plugins/jsonexport/utils.py', 'description': 'Return a python dict representation of this page for use as part of\na JSON export.', 'signature': 'def dump_json_data(page):'}</s>{'name': 'pages_to_json@pages/plugins/jsonexport/utils.py', 'description': 'Return a JSON string export of the p...
0
{'name': 'poisson_mbo.__init__@graphlearning/ssl.py', 'description': "PoissonMBO \n===================\n\nSemi-supervised learning via Poisson MBO method [1]. class_priors must be provided.\n\nParameters\n----------\nW : numpy array, scipy sparse matrix, or graphlearning graph object (optional), default=None\n Weigh...
0
{'name': 'TodoistAPI._update_state@todoist/api.py', 'description': 'Updates the local state, with the data returned by the server after a\nsync.', 'signature': 'def _update_state(self, syncdata):'}</s>{'name': 'ActivityManager@todoist/managers/activity.py', 'description': 'DOCSTRING', 'base_classes': ['Manager'], 'meth...
0
{'name': 'ProcessLine@tools/cpplint.py', 'description': 'Processes a single line in the file.\n\nArgs:\n filename: Filename of the file that is being processed.\n file_extension: The extension (dot not included) of the file.\n clean_lines: An array of strings, each representing a line of the file,\n wi...
0
{'name': 'IULogger.log_service_call@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Message that we have received a service call', 'signature': 'def log_service_call('}</s>CONF_TESTING = "testing"
0
{'name': 'sinc@metrics/equivariance.py', 'description': 'Applies the `sinc` function.', 'signature': 'def sinc(x):'}</s>{'name': 'EQT50K@metrics/equivariance.py', 'description': 'Defines the class for EQ-T (50K) metric computation.\n\n50_000 synthesis will be used as reference.', 'base_classes': ['EQTMetric'], 'methods...
0
{'name': 'Queue.get@code/pymqi/__init__.py', 'description': "Return a message from the queue. If the queue is not already\nopen, it is opened now with the option 'MQOO_INPUT_AS_Q_DEF'.\n\nmaxLength, if present, specifies the maximum length for the\nmessage. If the message received exceeds maxLength, then the\nbehavior ...
0
{'name': 'accum_tensor_index_add@torchkbnufft/_nufft/interp.py', 'description': 'We fork this function for the adjoint accumulation.', 'signature': 'def accum_tensor_index_add('}</s>{'name': 'table_interp_fork_over_kspace@torchkbnufft/_nufft/interp.py', 'description': 'Table interpolation backend (see table_interp()).'...
0
{'name': 'genScenarioDistribution@apim-traffic-tool/lib/traffic-tool/src/python/gen_scenario_yaml.py', 'description': 'This function will generate a random invoke scenario and write output to the invoke_scenario.yaml file\n:return: None', 'signature': 'def genScenarioDistribution():'}</s>abs_path = os.path.abspath(os.p...
1
{'name': 'View.update_pick_info_long@picasso/gui/render.py', 'description': 'Called when evaluating picks statistics in Info Dialog. ', 'signature': 'def update_pick_info_long(self):'}</s>CumulativeExponentialModel = _Model(cumulative_exponential)
0
{'name': 'QueueManager.connect_tcp_client@code/pymqi/__init__.py', 'description': "Connect immediately to the remote Queue Manager 'name', using\na TCP Client connection, with channnel 'channel' and the\nTCP connection string 'conn_name'. All other connection\noptons come from 'cd'.", 'signature': 'def connect_tcp_clie...
0
{'name': 'furl.set@furl/furl.py', 'description': "Set components of a url and return this furl instance, <self>.\n\nIf any overlapping, and hence possibly conflicting, parameters\nare provided, appropriate UserWarning's will be raised. The\ngroups of parameters that could potentially overlap are\n\n <scheme> and <orig...
0
{'name': 'AcousticCorpusMixin.load_reference_alignments@montreal_forced_aligner/corpus/acoustic_corpus.py', 'description': 'Load reference alignments to use in alignment evaluation from a directory\n\nParameters\n----------\nreference_directory: :class:`~pathlib.Path`\n Directory containing reference alignments', 's...
0
{'name': 'Topic.__init__@code/pymqi/__init__.py', 'description': "Associate a Topic instance with the QueueManager object 'queue_manager'\nand optionally open the Topic.\n\nIf topic_desc is passed ignore topic_string and topic_name.\n\nIf open_opts is passed, it specifies topic open options, and\nthe topic is opened im...
0
{'name': 'connect@pyngrok/ngrok.py', 'description': 'Establish a new ``ngrok`` tunnel for the given protocol to the given port, returning an object representing\nthe connected tunnel.\n\nIf a `tunnel definition in ngrok\'s config file\n<https://ngrok.com/docs/agent/config/v2/#tunnel-configurations>`_ matches the given\...
0
{'name': 'bug_report@libscanbuild/report.py', 'description': 'Creates a fragment from the analyzer reports. ', 'signature': 'def bug_report(output_dir, prefix):'}</s>{'name': 'commonprefix@libscanbuild/report.py', 'description': 'Fixed version of os.path.commonprefix.\n\n:param files: list of file names.\n:return: the ...
0
{'name': 'BPF.__init__@src/python/bcc/__init__.py', 'description': 'Create a new BPF module with the given source code.\n\nNote:\n All fields are marked as optional, but either `src_file` or `text`\n must be supplied, and not both.\n\nArgs:\n src_file (Optional[str]): Path to a source file for the module\n ...
0
{'name': 'BertEmbeddingsWithVideo.forward@baselines/multimodal_transformer/transformer/model.py', 'description': 'Args:\n input_ids: (N, L)\n video_features: (N, L, D)\n token_type_ids: (N, L, D)\n\nReturns:', 'signature': 'def forward(self, input_ids, video_features, token_type_ids):'}</s>{'name': 'LabelSmoot...
0
{'name': 'is_ip_addr@signac/_vendor/configobj/validate.py', 'description': 'Check that the supplied value is an Internet Protocol address, v.4,\nrepresented by a dotted-quad string, i.e. \'1.2.3.4\'.\n\n>>> vtor.check(\'ip_addr\', \'1 \')\n\'1\'\n>>> vtor.check(\'ip_addr\', \' 1.2\')\n\'1.2\'\n>>> vtor.check(\'ip_addr\...
0
{'name': 'stream_decode_response_unicode@src/requests/utils.py', 'description': 'Stream decodes an iterator.', 'signature': 'def stream_decode_response_unicode(iterator, r):'}</s>{'name': '_validate_header_part@src/requests/utils.py', 'description': 'DOCSTRING', 'code': 'def _validate_header_part(header, header_part, h...
0
{'name': 'SegWitTest.test_witness_sigops@test/functional/p2p_segwit.py', 'description': 'Ensure sigop counting is correct inside witnesses.', 'signature': 'def test_witness_sigops(self):'}</s>OP_VER = CScriptOp(0x62)
0
{'name': 'griffinlim_cqt@librosa/core/constantq.py', 'description': 'Approximate constant-Q magnitude spectrogram inversion using the "fast" Griffin-Lim\nalgorithm.\n\nGiven the magnitude of a constant-Q spectrogram (``C``), the algorithm randomly initializes\nphase estimates, and then alternates forward- and inverse-C...
0
{'name': 'CortexM.reset@pyocd/coresight/cortex_m.py', 'description': "! @brief Reset the core.\n\nThe reset method is selectable via the reset_type parameter as well as the reset_type\nsession option. If the reset_type parameter is not specified or None, then the reset_type\noption will be used. If the option is not se...
0
{'name': 'PyAssimp3DViewer.recursive_render@Engine/lib/assimp/port/PyAssimp/scripts/3d_viewer.py', 'description': 'Main recursive rendering method.\n ', 'signature': 'def recursive_render(self, node, shader, mode=BASE, with_normals=True):'}</s>aiProcess_TransformUVCoords = 524288
0
{'name': 'add_sharpening@ldm/modules/image_degradation/bsrgan_light.py', 'description': 'USM sharpening. borrowed from real-ESRGAN\nInput image: I; Blurry image: B.\n1. K = I + weight * (I - B)\n2. Mask = 1 if abs(I - B) > threshold, else: 0\n3. Blur mask:\n4. Out = Mask * K + (1 - Mask) * I\nArgs:\n img (Numpy arra...
0
{'name': '_unparsedGroup@metar/Metar.py', 'description': 'Handle otherwise unparseable main-body groups.', 'signature': 'def _unparsedGroup( self, d ):'}</s>__email__ = "pollard@alum.mit.edu"
0
{'name': 'TestUnusualSocketConditions.test_handle_send_wantwrite_upload@test/test_sync_connection.py', 'description': 'When a socket is marked writable during request upload but returns\nWANT_WRITE when written to, the code ignores it and continues with\nupload.', 'signature': 'def test_handle_send_wantwrite_upload(sel...
0