text
string
label
int64
{'name': 'TestCase.assertAlmostEqual@vertx-web/src/test/sockjs-protocol/unittest2/case.py', 'description': 'Fail if the two objects are unequal as determined by their\ndifference rounded to the given number of decimal places\n(default 7) and comparing to zero, or by comparing that the\nbetween the two objects is more t...
0
{'name': 'balance@n26/cli.py', 'description': 'Show account balance ', 'signature': 'def balance():'}</s>EXPIRATION_TIME_KEY = "expiration_time"
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': 'GTR._exp_lt@treetime/gtr.py', 'description': 'Parameters\n----------\n\n t : float\n time to propagate\n\nReturns\n--------\n\n exp_lt : numpy.array\n Array of values exp(lambda(i) * t),\n where (i) - alphabet index (the eigenvalue number).', 'signature': 'def _exp_lt(self, t):'}</s>BIG_NUMBER = 1000...
0
{'name': 'PIVX_FakeStakeTest.spend_utxo@test/functional/fake_stake/base_test.py', 'description': 'spend amount from previously unspent output to a provided address\n:param utxo: (JSON) returned from listunspent used as input\n addresslist: (string) destination address\n:return: txhash: ...
0
{'name': 'TDClient.preferences@tdameritrade/client.py', 'description': 'get preferences for account\n\nArgs:\n accountId (int): account to get preferences for', 'signature': 'def preferences(self, accountId=None):'}</s>GET_PREFERENCES = BASE + "accounts/{accountId}/preferences"
1
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQIAMO_EXIT_TIME_MIN = 719
0
{'name': 'test_non_void@capone/tests/test_transaction_model.py', 'description': 'Test Transaction.objects.non_void filter.', 'signature': 'def test_non_void():'}</s>{'name': 'CreditCardTransactionFactory@capone/tests/factories.py', 'description': 'DOCSTRING', 'base_classes': ['factory.django.DjangoModelFactory'], 'meth...
0
{'name': 'plot_rows@src/tools/vis.py', 'description': 'feats_list : a list of 4-D tensors (n, c, h, w)', 'signature': 'def plot_rows(feats_list, labels=None, egs="timit", '}</s>RAW_RANGE = (-.1, .1)
1
{'name': 'CqlshCompletionCase._get_completions@pylib/cqlshlib/test/test_cqlsh_completion.py', 'description': 'Get results of tab completion in cqlsh. Returns a bare string if a\nstring completes immediately. Otherwise, returns a set of all\nwhitespace-separated tokens in the offered completions by default, or a\nlist o...
0
{'name': 'prettyArray@boxx/ylimg/ylimgTool.py', 'description': 'return str of pretty discrib for array, include nan inf (shape type max min) ', 'signature': 'def prettyArray(array):'}</s>dira = FunAddMagicMethod(dira)
0
{'name': 'draw_lnurl_qr@displays/waveshare2in13v3.py', 'description': 'Draw a lnurl qr code on the e-ink screen\n ', 'signature': 'def draw_lnurl_qr(qr_img):'}</s>lnurl_cancel_notice_1 = "Prepare for LNURL"
0
{'name': 'FletcherBaseArray._reduce@fletcher/base.py', 'description': 'Return a scalar result of performing the reduction operation.\n\nParameters\n----------\nname : str\n Name of the function, supported values are:\n { any, all, min, max, sum, mean, median, prod,\n std, var, sem, kurt, skew }.\nskipna : bool...
0
{'name': 'ParserSpec.p_field_seq@thriftrw/idl/parser.py', 'description': 'field_seq : field sep field_seq\n| field field_seq\n|', 'signature': 'def p_field_seq(self, p):'}</s>{'name': 'Program@thriftrw/idl/ast.py', 'description': 'The top-level object representing the full Thrift IDL.\n\nThe following attributes are av...
0
{'name': 'GenericMeta.__new__@vendor/typing.py', 'description': 'Create a new generic class. GenericMeta.__new__ accepts\nkeyword arguments that are used for internal bookkeeping, therefore\nan override should pass unused keyword arguments to super().', 'signature': 'def __new__(cls, name, bases, namespace,'}</s>{'name...
0
{'name': 'Lexer.default_initialization@sqlparse/lexer.py', 'description': 'Initialize the lexer with default dictionaries.\nUseful if you need to revert custom syntax settings.', 'signature': 'def default_initialization(self):'}</s>Punctuation = Token.Punctuation
0
{'name': 'QueueManager.connect_with_options@code/pymqi/__init__.py', 'description': "connect_with_options(name [, opts=cnoopts][ ,cd=mqcd][ ,sco=mqsco])\n connect_with_options(name, cd, [sco])\n\nConnect immediately to the Queue Manager 'name', using the\noptional MQCNO Options opts, the optional MQCD connection\ndes...
0
{'name': 'PCFExecute.__init__@code/pymqi/__init__.py', 'description': "PCFExecute(name = '')\n\nConnect to the Queue Manager 'name' (default value '') ready\nfor a PCF command. If name is a QueueManager instance, it is\nused for the connection, otherwise a new connection is made ", 'signature': 'def __init__(self, name...
0
{'name': 'trim@bioframe/ops.py', 'description': "Trim each interval to fall within regions specified in the viewframe 'view_df'.\n\nIntervals that fall outside of view regions are replaced with nulls.\nIf no 'view_df' is provided, intervals are truncated at zero to avoid\n negative values.\n\nParameters\n----------\...
0
{'name': 'MH.get_sql_and_with_clause@operations.py', 'description': 'Gets the SQL query and WITH clause.\n\nThe query is constructed in a similar way to AbsoluteChange except that we\napply weights to adjust the change.\n\nFor example, the query for\nMH(\'condition\', \'base_value\', \'stratified\',\n metr...
0
{'name': 'get@dwave/cloud/cli.py', 'description': 'Fetch Leap API token.', 'signature': 'def get(*, config_file, profile, token_type, json_output, raw_output, output):'}</s>{'name': 'get_distribution@dwave/cloud/utils/dist.py', 'description': 'Returns :class:`~importlib.metadata.Distribution` for a matching\n`requireme...
0
{'name': 'AltFS._generate_data_termination_block@AltFS.py', 'description': 'Returns a Block instance to be used as the last data block of a file.\n\nIt closes the chain of data blocks by pointing to the superblock as\nnext block.', 'signature': 'def _generate_data_termination_block(self, data="", block_id=None):'}</s>l...
0
{'name': 'get_datasets@data_loader.py', 'description': 'Returns X and y of the data passed as config.\n\nParameters\n----------\nconfig : Config\ncat_before_window : bool\n Whether to concatenate the files before transforming it\n into windows\n\nReturns\n-------\ntrain_d : tensorflow.data.Dataset(tuples)\n Th...
1
{'name': 'parse_uvs_file@make_bw_font.py', 'description': "Parses an Unicode Variation Sequences text file.\nReturns a list of tuples in the form\n(unicodeValue, variationSelector, glyphName).\n'unicodeValue' and 'variationSelector' are integer code points.\n'glyphName' may be None, to indicate this is the default vari...
0
{'name': 'gaiarv@gaia_tools/load/__init__.py', 'description': 'NAME:\n gaiarv\nPURPOSE:\n Load the RV subset of the Gaia data\nINPUT:\n dr= (2) data release\nOUTPUT:\n data table\nHISTORY:\n 2018-04-25 - Written for DR2 - Bovy (UofT)', 'signature': 'def gaiarv(dr=2):'}</s>{'name': 'astroNN@gaia_tools/load/__i...
0
{'name': 'Kconfig._parse_properties@tools/kconfig_new/kconfiglib.py', 'description': "Parses properties for symbols, menus, choices, and comments. Also takes\ncare of propagating dependencies from the menu node to the properties\nof the item (this mirrors the C tools, though they do it after\nparsing).\n\nnode:\n The ...
0
{'name': 'frange@tools/export_usdskel_from_scratch/python/convert_maya_to_usdskel/common.py', 'description': 'Create a range of values like Python\'s built-in "range" function.\n\nThis function will include `start` in its return results but\nexcludes `stop`. Just like the way that Python\'s built-in "range"\nfunction d...
1
{'name': 'PFPool._to_string@pf/rule.py', 'description': 'Return the string representation of the address pool.', 'signature': 'def _to_string(self):'}</s>ICMP_ECHOREPLY = 0
0
{'name': 'GenerateOutput@gyp/pylib/gyp/generator/msvs.py', 'description': "Generate .sln and .vcproj files.\n\nThis is the entry point for this generator.\nArguments:\n target_list: List of target pairs: 'base/base.gyp:base'.\n target_dicts: Dict of target properties keyed on target pair.\n data: Dictionary containi...
0
{'name': 'on_start@argus/callbacks/callback.py', 'description': 'Decorator for creating a callback from a function. The function will be\nexecuted when the `Events.START` is triggered. The function should take\n:class:`argus.engine.State` as the first argument.\n\nExample:\n\n .. code-block:: python\n\n impor...
1
{'name': '_generate_unique_filename@vendor/attr/_make.py', 'description': 'Create a "filename" suitable for a function being generated.', 'signature': 'def _generate_unique_filename(cls, func_name):'}</s>_init_converter_pat = "__attr_converter_%s"
0
{'name': 'TestObjectsE2E.test_host_record_ea_inheritance@e2e_tests/test_objects.py', 'description': 'Checks if EA inheritance for record:host object\nworks as expected', 'signature': 'def test_host_record_ea_inheritance(self):'}</s>{'name': 'DhcpOptionDefinitionV4@infoblox_client/objects.py', 'description': "DhcpOption...
0
{'name': 'calc_rms@examples/python/mcc172/continuous_scan.py', 'description': 'Calculate RMS value from a block of samples. ', 'signature': 'def calc_rms(data, channel, num_channels, num_samples_per_channel):'}</s>{'name': 'HatIDs@daqhats/hats.py', 'description': 'Known MCC HAT IDs.', 'base_classes': ['IntEnum'], 'meth...
0
{'name': 'TopLevelMixin.transform_fold@altair/vegalite/v5/api.py', 'description': 'Add a FoldTransform to the spec.\n\nParameters\n----------\nfold : List(string)\n An array of data fields indicating the properties to fold.\nas : [string, string]\n The output field names for the key and value properties produced ...
0
{'name': 'test_extract_sac_defaults@tests/test_win32.py', 'description': 'Extract SAC files using default settings.', 'signature': 'def test_extract_sac_defaults():'}</s>username = os.environ["HINET_USERNAME"]
0
{'name': 'UserByID.patch@app/modules/users/resources.py', 'description': 'Patch user details by ID.', 'signature': 'def patch(self, args, user):'}</s>{'name': 'UserByID@app/modules/users/resources.py', 'description': 'Manipulations with a specific user.', 'base_classes': ['Resource'], 'methods': [{'name': 'UserByID.get...
1
{'name': 'cov@manage.py', 'description': 'Runs the unit tests with coverage.', 'signature': 'def cov():'}</s>{'name': 'test@manage.py', 'description': 'Runs the unit tests without coverage.', 'code': 'def test():\n """Runs the unit tests without coverage."""\n tests = unittest.TestLoader().discover(\'tests\')\n ...
0
{'name': 'QueueManager.backout@code/pymqi/__init__.py', 'description': 'Backout any outstanding gets/puts in the current unit of work.\n ', 'signature': 'def backout(self):'}</s>MQ_CSP_PASSWORD_LENGTH = 256
0
{'name': 'update_weights_sgd@chapter5/logistic_regression_from_scratch.py', 'description': 'One weight update iteration: moving weights by one step based on each individual sample\nArgs:\n X_train, y_train (numpy.ndarray, training data set)\n weights (numpy.ndarray)\n learning_rate (float)\nReturns:\n numpy...
1
{'name': 'Client.Async@clashroyale/official_api/client.py', 'description': 'Returns the client in async mode.', 'signature': 'def Async(cls, token, session=None, **options):'}</s>{'name': 'BadRequest@clashroyale/errors.py', 'description': 'Raised when status code 400 is returned.\nTypically when at least one search par...
0
{'name': 'azero@pf/rule.py', 'description': "Return True if all numbers in 'seq' are 0s.", 'signature': 'def azero(seq):'}</s>PF_THRESHOLD_MAX = 0xffffffff / PF_THRESHOLD_MULT
0
{'name': 'versus_rest@diffxpy/testing/tests.py', 'description': 'Perform pairwise differential expression test between two groups on adata object\nfor each gene for each groups versus the rest of the data set.\n\nThis function wraps the selected statistical test for the scenario of\na two sample comparison. All unit_te...
0
{'name': 'fsn2text@Monika After Story/game/python-packages/mutagen/_senf/_fsnative.py', 'description': 'Args:\n path (fsnative): The path to convert\n strict (bool): Fail in case the conversion is not reversible\nReturns:\n `text`\nRaises:\n TypeError: In case no `fsnative` has been passed\n ValueError: ...
0
{'name': 'SingleSubjectWindow.CB_line_text@src/python_scripts/afnipy/gui_uber_subj.py', 'description': 'call-back for text updates in the level 3 gbox', 'signature': 'def CB_line_text(self):'}</s>{'name': 'valid_as_filepath@src/python_scripts/afnipy/lib_qt_gui.py', 'description': "text should look like a path to an exi...
1
{'name': 'fill_filter_mosaics@grizli/pipeline/auto_script.py', 'description': 'Fill field mosaics with the average value taken from other filters so that all images have the same coverage\n\nParameters\n----------\nfield_root : str', 'signature': 'def fill_filter_mosaics(field_root):'}</s>{'name': 'catalog_exposure_ove...
0
{'name': 'PCFExecute.__init__@code/pymqi/__init__.py', 'description': "PCFExecute(name = '')\n\nConnect to the Queue Manager 'name' (default value '') ready\nfor a PCF command. If name is a QueueManager instance, it is\nused for the connection, otherwise a new connection is made ", 'signature': 'def __init__(self, name...
0
{'name': 'check_output@haproxyadmin/utils.py', 'description': 'Check if output contains any error.\n\nSeveral commands return output which we need to return back to the caller.\nBut, before we return anything back we want to perform a sanity check on\non the output in order to catch wrong input as it is impossible to\n...
0
{'name': 'openLabJack@src/LabJackPython.py', 'description': 'openLabJack(deviceType, connectionType, firstFound = True, pAddress = 1, LJSocket = None)\n\nNote: On Windows, UE9 over Ethernet, pAddress MUST be the IP address. ', 'signature': 'def openLabJack(deviceType, connectionType, firstFound = True, pAddress = None,...
0
{'name': 'CheckRespiratory@scopy/ScoDruglikeness/rulesfilter.py', 'description': "Check mol under Respiratory\n\nReference:\n Ritchie, Timothy J., Christopher N. Luscombe, and Simon JF Macdonald. \n J Chem Inf Model, 49.4 (2009): 1025-1032.\n \nRule details:\n 240<=MW<= 520\n -2.0<=logP<=4.7\n 6<=nHB<...
0
{'name': '_validate@src/feedvalidator/__init__.py', 'description': 'validate RSS from string, returns validator object', 'signature': 'def _validate(aString, firstOccurrenceOnly, loggedEvents, base, encoding, selfURIs=None, mediaType=None):'}</s>{'name': 'InvalidNonNegativeInteger@src/feedvalidator/logging.py', 'descri...
0
{'name': 'MNIST@python/libs/datasets.py', 'description': 'Returns the MNIST dataset.\n\nReturns\n-------\nmnist : DataSet\n DataSet object w/ convenienve props for accessing\n train/validation/test sets and batches.', 'signature': 'def MNIST(one_hot=True):'}</s>{'name': 'cifar10_download@python/libs/dataset_utils...
0
{'name': 'QueueManager.backout@code/pymqi/__init__.py', 'description': 'Backout any outstanding gets/puts in the current unit of work.\n ', 'signature': 'def backout(self):'}</s>MQRC_CFSL_ERROR = 2238
0
{'name': 'QEF.evaluate@qef.py', 'description': "Evaluates the function at a given point.\nThis is what the solve method is trying to minimize.\nNB: Doesn't work with fixed axes.", 'signature': 'def evaluate(self, x):'}</s>{'name': 'solve_qef_2d@qef.py', 'description': 'DOCSTRING', 'code': "def solve_qef_2d(x, y, positi...
0
{'name': 'load_config@pyrgg/functions.py', 'description': 'Load config based on given path.\n\n:param path: path to config file\n:type path: str\n:return: input data as dict', 'signature': 'def load_config(path):'}</s>ENGINE_MENU = { 1: "pyrgg", 2: "erg", 3: "er", }
0
{'name': 'get_frame@asynq/debug.py', 'description': 'Given a generator, returns its current frame.', 'signature': 'def get_frame(generator):'}</s>{'name': 'disable_complex_assertions@asynq/debug.py', 'description': 'DOCSTRING', 'code': 'def disable_complex_assertions():\n return enable_complex_assertions(False)'}
0
{'name': 'BaseCheckTypesTestCase.test_base_check_types_are_public@oslo_policy/tests/test_policy.py', 'description': 'Check that those check types are part of public API.\n\nThey are blessed to be used by library consumers.', 'signature': 'def test_base_check_types_are_public(self):'}</s>{'name': 'DuplicatePolicyError@o...
0
{'name': 'sync_blocks@qa/rpc-tests/test_framework/util.py', 'description': "Wait until everybody has the same tip.\n\nsync_blocks needs to be called with an rpc_connections set that has least\none node already synced to the latest, stable tip, otherwise there's a\nchance it might return before all nodes are stably sync...
0
{'name': 'generate_docs_only_paths@scripts/schema/subset_filter.py', 'description': "Returns a list of field paths: ['process.same_as_process'] for subset fields\nmarked as `docs_only: True`", 'signature': 'def generate_docs_only_paths('}</s>{'name': 'field_cleanup@scripts/schema/cleaner.py', 'description': 'DOCSTRING'...
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': 'lift_job@maf/impl/naiveLiftUp.py', 'description': "Lift this genome's blocks file to another genome.", 'signature': 'def lift_job(job, up_or_down, genome, other_genome, blocks_id, hal_id, opts):'}</s>{'name': 'test_block_line_split@maf/impl/naiveLiftUp.py', 'description': 'DOCSTRING', 'code': "def test_block_...
0
{'name': 'main@verify_security_groups.py', 'description': 'Main Python function to attach security group to ENIs. Responsible for:\n1. Identifying current account id, region.\n2. Importing CSV file and loading into state.\n3. Comparing CSV ARN entry with AWS current ID and Region.\n4. Identifying Security Group ID and ...
0
{'name': 'build_fit_ensemble@gama/postprocessing/ensemble.py', 'description': 'Construct an Ensemble of models, optimizing for metric.', 'signature': 'def build_fit_ensemble('}</s>{'name': 'fit_and_weight@gama/postprocessing/ensemble.py', 'description': 'Fit the pipeline given the data. Update weight to 0 if fitting fa...
0
{'name': 'AlarmoBaseEntity._validate_code@custom_components/alarmo/alarm_control_panel.py', 'description': 'Validate given code.', 'signature': 'def _validate_code(self, code, state):'}</s>SERVICE_DISARM_SCHEMA = vol.Schema( { vol.Required(ATTR_ENTITY_ID): cv.entity_id, vol.Optional(CONF_CODE, defau...
0
{'name': 'merge@sidechainnet/utils/align.py', 'description': 'Returns True iff when pn_seq and my_seq are aligned, the resultant mask is the same\nas reported by ProteinNet.\n\nAlso returns the computed_mask that matches with ProteinNet', 'signature': 'def merge(aligner, pn_entry, sc_entry, pnid, attempt_number=0, igno...
1
{'name': 'TestBrierScore.test@verif/tests/test_metric.py', 'description': "These have been checked against the Brier scores in the verification R package. The 'bins'\nattribute was set to False, and the code had to be changed because it didn't work for cases\nwhere forecasts were not equal to whole 1/10ths (i.e. 0.1, 0...
0
{'name': 'workflow@heudiconv/main.py', 'description': 'Run the HeuDiConv conversion workflow.\n\nParameters\n----------\ndicom_dir_template : str or None, optional\n Location of dicomdir that can be indexed with subject id\n {subject} and session {session}. Tarballs (can be compressed)\n are supported in addit...
1
{'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': 'GrottRegChecker.datapacket@examples/grottregcheck.py', 'description': 'True if we are dealing with a datarecord ', 'signature': 'def datapacket(self) -> bool:'}</s>{'name': 'InvalidRegister@examples/grottregcheck.py', 'description': 'Raised on invalid/unknow register ID ', 'base_classes': ['Exception'], 'meth...
0
{'name': '_makeTags@SneakerBot 2019/venv/lib/python3.7/site-packages/pip-19.0.3-py3.7.egg/pip/_vendor/pyparsing.py', 'description': 'Internal helper to construct opening and closing tag expressions, given a tag name', 'signature': 'def _makeTags(tagStr, xml):'}</s>{'name': 'col@SneakerBot 2019/venv/lib/python3.7/site-p...
0
{'name': 'IdentifyPostDetail.patch@back/api_1_0/posts.py', 'description': '更新文章阅读数操作\n:param identifier:\n:return:', 'signature': 'def patch(self, identifier):'}</s>{'name': 'PostDetail@back/api_1_0/posts.py', 'description': '单个文章处理的 API', 'base_classes': ['Resource'], 'methods': [{'name': 'PostDetail.__init__@back/api...
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': 'StringTime.year@miniakio/utils.py', 'description': ':return: 2016', 'signature': 'def year(self):'}</s>{'name': 'write_file@miniakio/utils.py', 'description': 'DOCSTRING', 'code': 'def write_file(filepath, content):\n with io.open(filepath, "w", encoding="utf-8") as f:\n f.write(content)'}
0
{'name': 'render_path@scaleapi/api_client/v2/exceptions.py', 'description': 'Returns a string representation of a path', 'signature': 'def render_path(path_to_item):'}</s>{'name': 'ApiTypeError@scaleapi/api_client/v2/exceptions.py', 'description': 'DOCSTRING', 'base_classes': ['OpenApiException', 'TypeError'], 'methods...
0
{'name': 'preprocess@grizli/pipeline/auto_script.py', 'description': 'Preprocessing script\n\nParameters\n----------\nfield_root : str\n Basename of the exposure group processed together\n\nHOME_PATH : str\n Base path for file processing\n\nmaster_radec : str\n Force use this radec file for astrometric alignme...
0
{'name': 'edit_roster@rosters/views.py', 'description': 'Edit Roster View.', 'signature': 'def edit_roster(request):'}</s>{'name': 'StaffRequestUpdateForm@rosters/forms.py', 'description': 'Staff Requests Update Form.', 'base_classes': ['forms.Form'], 'methods': [{'name': 'StaffRequestUpdateForm.__init__@rosters/forms....
0
{'name': 'TestCase.assertAlmostEqual@vertx-web/src/test/sockjs-protocol/unittest2/case.py', 'description': 'Fail if the two objects are unequal as determined by their\ndifference rounded to the given number of decimal places\n(default 7) and comparing to zero, or by comparing that the\nbetween the two objects is more t...
0
{'name': 'torgb@boxx/ylimg/ylimgTool.py', 'description': 'try to transfer a tensor to normalized RGB image\n\nnormalizing img value to 0~1\nand transpose (..., 3, w, h) to (..., w, h, 3)', 'signature': 'def torgb(img):'}</s>clf = colorFormat
0
{'name': 'NerfNet.forward@ddp_model.py', 'description': ':param ray_o, ray_d: [..., 3]\n:param fg_z_max: [...,]\n:param fg_z_vals, bg_z_vals: [..., N_samples]\n:return', 'signature': 'def forward(self, ray_o, ray_d, fg_z_max, fg_z_vals, bg_z_vals):'}</s>{'name': 'NerfNetWithAutoExpo@ddp_model.py', 'description': 'DOCST...
0
{'name': 'ObjectDetectionNode._draw_detection@src/object_detection_node.py', 'description': 'Draw detection bounding box and text', 'signature': 'def _draw_detection(self, image, detection_msg):'}</s>{'name': 'clip_boxes@src/vswarm/object_detection/util.py', 'description': 'DOCSTRING', 'code': 'def clip_boxes(boxes, sh...
0
{'name': 'generate_set_indexes_tablespace_sql@pg_partitioning/shortcuts.py', 'description': 'Generate set indexes tablespace SQL sequence.\n\nParameters:\n table_name(str): Table name.\n tablespace(str): Partition tablespace.', 'signature': 'def generate_set_indexes_tablespace_sql(table_name: str, tablespace: str) ->...
1
{'name': 'cleanup_mems@panoramix/simplify.py', 'description': "for every setmem, replace future occurences of it with it's value,\nif possible", 'signature': 'def cleanup_mems(trace):'}</s>{'name': 'pretty_repr@panoramix/prettify.py', 'description': 'DOCSTRING', 'code': 'def pretty_repr(exp, indent=0):\n if type(exp...
0
{'name': 'test_no_archive@tests/test_availability_api.py', 'description': "ArchiveNotInAvailabilityAPIResponse may be raised if Wayback Machine did not\nreplied with the archive despite the fact that we know the site has million\nof archives. Don't know the reason for this wierd behavior.\n\nAnd also if really there ar...
0
{'name': 'test_kitti_3d_kalman_boxes@lib/rpn_util.py', 'description': 'Test the KITTI framework for object detection in 3D', 'signature': "def test_kitti_3d_kalman_boxes(dataset_test, net, rpn_conf, bbox_measure_val, p2s, p2_invs, scales, results_path, test_path, dataset_type='validation', fast=False, report_stats=Fals...
0
{'name': 'ModbusServer.__init__@pyModbusTCP/server.py', 'description': "Constructor\n\nModbus server constructor.\n\n:param host: hostname or IPv4/IPv6 address server address (default is 'localhost')\n:type host: str\n:param port: TCP port number (default is 502)\n:type port: int\n:param no_block: no block mode, i.e. s...
1
{'name': 'func@python/taichi/lang/kernel_impl.py', 'description': 'Marks a function as callable in Taichi-scope.\n\nThis decorator transforms a Python function into a Taichi one. Taichi\nwill JIT compile it into native instructions.\n\nArgs:\n fn (Callable): The Python function to be decorated\n is_real_function ...
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': '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': '_AddInitMethod@python/google/protobuf/internal/python_message.py', 'description': 'Adds an __init__ method to cls.', 'signature': 'def _AddInitMethod(message_descriptor, cls):'}</s>MESSAGE_SET_ITEM_TAG = encoder.TagBytes(1, wire_format.WIRETYPE_START_GROUP)
0
{'name': 'PyMolecule.GetAllDescriptor@PyBioMed/Pymolecule.py', 'description': '#################################################################\nCalculate all descriptors (608).\n\nUsage:\n\n res=GetAllDescriptor()\n\n res is a dict form.\n#################################################################', 'sign...
0
{'name': 'DebugCmd.list_source@DebugLibrary/debugcmd.py', 'description': 'List source code.', 'signature': 'def list_source(self, longlist=False):'}</s>{'name': 'get_keywords@DebugLibrary/robotkeyword.py', 'description': 'Get all keywords of libraries.', 'code': 'def get_keywords():\n """Get all keywords of librarie...
0
{'name': 'InfoExtractor._parse_mpd_formats_and_subtitles@script.module.youtube.dl/lib/youtube_dl/extractor/common.py', 'description': 'Parse formats from MPD manifest.\nReferences:\n 1. MPEG-DASH Standard, ISO/IEC 23009-1:2014(E),\n http://standards.iso.org/ittf/PubliclyAvailableStandards/c065274_ISO_IEC_23009-1_201...
1
{'name': 'main._generate_dos@mcu/crystal/crystal.py', 'description': "Processing/collecting the DOS data before the plotting function\n\nTDOS dimensions: [spin , [E(eV), tdos(E)]]\n\nspin : spin of DOS.\nlm : string or a list of string, e.g. 'Ni:s' or ['Ni:s','C:s,px,pz']", 'signature': 'def _ge...
0
{'name': 'test_pkg_test_conda_package_format@test/test_utils.py', 'description': 'Running a mulled-build test with .tar.bz2/.conda package formats', 'signature': 'def test_pkg_test_conda_package_format('}</s>{'name': 'LogFuncFilter@bioconda_utils/utils.py', 'description': 'Logging filter capping the number of messages ...
0
{'name': '_net_interface_type@kayobe/plugins/filter/networks.py', 'description': "Return a string describing the network interface type.\n\nPossible types include 'ether', 'bridge', 'bond'.", 'signature': 'def _net_interface_type(context, name, inventory_hostname):'}</s>{'name': 'net_reject_vlans@kayobe/plugins/filter/...
0
{'name': '_to_ugrid@uxarray/io/_scrip.py', 'description': 'If input dataset (``in_ds``) file is an unstructured SCRIP file,\nfunction will reassign SCRIP variables to UGRID conventions in output file\n(``out_ds``).', 'signature': 'def _to_ugrid(in_ds, out_ds):'}</s>NODE_Y_ATTRS = { "standard_name": "y", "long n...
0
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQWXP_VERSION_1 = 1
0
{'name': 'parseOptionsAndInitTestdirs@llvm-12.0.0-project/lldb/packages/Python/lldbsuite/test/dotest.py', 'description': "Initialize the list of directories containing our unittest scripts.\n\n'-h/--help as the first option prints out usage info and exit the program.", 'signature': 'def parseOptionsAndInitTestdirs():'}...
0
{'name': 'CreatorNameMapView.post@metro_map_saver/map_saver/views.py', 'description': 'Allow creators to name / "tag" their maps\n(but not after I\'ve named them)\nAlso prevent subsequent visitors from naming the maps', 'signature': 'def post(self, request, **kwargs):'}</s>{'name': 'MapsPerDayView@metro_map_saver/map_s...
0
{'name': 'RobocrysFeaturizer.featurize@robocrys/featurize/featurizer.py', 'description': 'Featurizes a structure using robocrystallographer.\n\nArgs:\n s: A structure.\n\nReturns:\n The robocrystallographer features.', 'signature': 'def featurize(self, s: Structure) -> Sequence[float | bool | str]:'}</s>__all__ =...
0
{'name': 'Serial.write@serial/serialwin32.py', 'description': 'Output the given byte string over the serial port.', 'signature': 'def write(self, data):'}</s>MS_DSR_ON = 32
0