text
string
label
int64
{'name': 'SubprocVecEnv.__init__@examples/utils/openai/subproc_vec_env.py', 'description': 'envs: list of gym environments to run in subprocesses', 'signature': 'def __init__(self, env_fns):'}</s>{'name': 'CloudpickleWrapper@examples/utils/openai/subproc_vec_env.py', 'description': 'Uses cloudpickle to serialize conten...
1
{'name': 'test_docker_build_fails@test/test_utils.py', 'description': 'Test for expected failure when a recipe fails to build', 'signature': 'def test_docker_build_fails(recipes_fixture, config_fixture):'}</s>{'name': 'test_docker_build_image_fails@test/test_utils.py', 'description': 'DOCSTRING', 'code': 'def test_dock...
0
{'name': 'format_operand_type@peachpy/x86_64/operand.py', 'description': 'Returns string representation of the operand type in assembly language', 'signature': 'def format_operand_type(operand):'}</s>{'name': 'is_mk@peachpy/x86_64/operand.py', 'description': 'DOCSTRING', 'code': 'def is_mk(operand):\n if not isinsta...
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': 'TestAddressNormalizationUtils.test_validate_postal_code@scourgify/tests/test_address_normalization.py', 'description': 'Test validate_us_postal_code_format', 'signature': 'def test_validate_postal_code(self):'}</s>{'name': 'normalize_addr_str@scourgify/normalize.py', 'description': 'Normalize a complete or pa...
0
{'name': 'PrePostChange.get_change_raw_sql@operations.py', 'description': "Generates PrePost-adjusted values for PercentChange computation.\n\nThis function generates subqueries like\nWITH PrePostRaw AS (SELECT\n split_by,\n stratified_by,\n condition_column,\n child_metric,\n covariate\nFROM T\nGROUP BY split_by,...
0
{'name': 'StyleGAN2Discriminator.__init__@models/stylegan2_discriminator.py', 'description': 'Initializes with basic settings.\n\nRaises:\n ValueError: If the `resolution` is not supported, or `architecture`\n is not supported.', 'signature': 'def __init__(self,'}</s>{'name': '_conv2d_gradfix@third_party/styl...
0
{'name': 'test_kitti_3d@lib/rpn_util.py', 'description': 'Test the KITTI framework for object detection in 3D', 'signature': 'def test_kitti_3d(dataset_test, net, rpn_conf, results_path, test_path, has_rcnn=False):'}</s>{'name': 'draw_transparent_box@lib/util.py', 'description': 'DOCSTRING', 'code': 'def draw_transpare...
0
{'name': 'RestApi.create_deck@tinycards/networking/rest_api.py', 'description': 'Create a new Deck for the currently logged in user.\n\nArgs:\n deck (Deck): The Deck object to create.\n\nReturns:\n Deck: The created Deck object if creation was successful.', 'signature': 'def create_deck(self, deck):'}</s>{'name':...
0
{'name': 'main@bin/train_model.py', 'description': 'Main block of code, which runs the training', 'signature': 'def main():'}</s>{'name': 'TCN@bff_positioning/models/tcn.py', 'description': 'Temporal Convolution Network class\n\n:param model_settings: a dictionary containing the model settings', 'base_classes': ['BaseM...
1
{'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>MQIA_CLUSTER_PUB_ROUTE = 255
0
{'name': 'CortexM.write_core_registers_raw@pyocd/coresight/cortex_m.py', 'description': 'Write one or more core registers\n\nWrite core registers in reg_list with the associated value in\ndata_list. If any register in reg_list is a string, find the number\nassociated to this register in the lookup table CORE_REGISTER....
0
{'name': 'KernelProfiler.get_kernel_profiler_mode@python/taichi/profiler/kernel_profiler.py', 'description': 'Get status of :class:`~taichi.profiler.kernel_profiler.KernelProfiler`.', 'signature': 'def get_kernel_profiler_mode(self):'}</s>{'name': 'begin_frontend_struct_for@python/taichi/lang/impl.py', 'description': '...
0
{'name': 'GTestFailIfNoTestLinkedTest.Run@third_party/libgtest/googletest/test/googletest-fail-if-no-test-linked-test.py', 'description': 'Run the given program with the given flag.\n\nArgs:\n program_name: Name of the program to run.\n flag: The command line flag to pass to the program, or None.\n env: Dictionary w...
0
{'name': 'RigidTransform.apply@autolab_core/rigid_transformations.py', 'description': "Applies the rigid transformation to a set of 3D objects.\n\nParameters\n----------\npoints : :obj:`BagOfPoints`\n A set of objects to transform. Could be any subclass\n of BagOfPoints.\n\nReturns\n-------\n:obj:`BagOfPoints`\n ...
0
{'name': 'View.scale_contrast@picasso/gui/render.py', 'description': 'Scales image based on contrast values from Display Settings\nDialog.\n\nParameters\n----------\nimage : np.array or list of np.arrays\n Array with rendered locs (grayscale)\nautoscale : boolean (default=False)\n If True, finds optimal contrast\...
0
{'name': 'w_pb_fs@disdat/hyperframe.py', 'description': "Write the pb contained in the xxxRecord.\n\nNote: If atomic=True, in almost all cases there won't actually be another file with\nthis name. But if there is, this will atomically replace the file with the new version.\n\nNote: Atomicity means we won't have a corr...
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': 'ImportErrorTests.test_no_module@didyoumean/didyoumean_sugg_tests.py', 'description': "Should be 'math'.", 'signature': 'def test_no_module(self):'}</s>NOTADIR_IO = (common.NotDirIoError, "^Not a directory$")
0
{'name': 'test_cancel_evict@zict/tests/test_lru.py', 'description': 'See also:\n\ntest_buffer.py::test_cancel_evict\ntest_buffer.py::test_cancel_restore', 'signature': 'def test_cancel_evict(event):'}</s>{'name': 'check_same_key_threadsafe@zict/tests/utils_test.py', 'description': 'DOCSTRING', 'code': 'def check_same_k...
0
{'name': 'GroupFLT.subtract_median_filter@grizli/multifit.py', 'description': 'Remove a median filter calculated along the dispersion axis.\n\nParameters\n----------\nfilter_size : int\n Size of the median filter.\n\nfilter_central : int\n Mask the central `filter_central` pixels of the filter.\n\nrevert : bool\n...
0
{'name': 'stackup@accelerator/extras.py', 'description': 'Returns (filename, lineno) for the first caller not in the accelerator dir.', 'signature': 'def stackup():'}</s>{'name': '_fn@accelerator/extras.py', 'description': 'DOCSTRING', 'code': 'def _fn(filename, jobid, sliceno):\n\tif filename.startswith(\'/\'):\n\t\ta...
0
{'name': 'SqlCommand.parse@qds_sdk/commands.py', 'description': 'Parse command line arguments to construct a dictionary of command\nparameters that can be used to create a command\n\nArgs:\n `args`: sequence of arguments\n\nReturns:\n Dictionary that can be used in create method\n\nRaises:\n ParseError: when t...
0
{'name': 'CalculateNumRotatableBonds@scopy/ScoDruglikeness/molproperty.py', 'description': 'Calculation of the number of rotatableBonds\n--->nRot\n\nNote:\n In some situaion Amide C-N bonds are not considered \n because of their high rotational energy barrier\n\n:param mol: molecule\n:type mol: rdkit.Chem.rdchem....
0
{'name': 'nestedExpr@SneakerBot 2019/venv/lib/python3.7/site-packages/pip-19.0.3-py3.7.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 (de...
0
{'name': 'train@torchtnt/framework/train.py', 'description': "The ``train`` entry point takes in a :class:`~torchtnt.framework.unit.TrainUnit` object, a train dataloader (any Iterable), optional arguments to modify loop execution,\nand runs the training loop.\n\nArgs:\n train_unit: an instance of :class:`~torchtnt.f...
0
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQOO_FAIL_IF_QUIESCING = 8192
0
{'name': 'Authentication.authenticate_device_code_native@roadlib/roadtools/roadlib/auth.py', 'description': 'Authenticate with device code flow\nNative version without adal', 'signature': 'def authenticate_device_code_native(self, additionaldata=None, returnreply=False):'}</s>WELLKNOWN_RESOURCES = { "msgraph": "htt...
0
{'name': 'get_schedule@src/fitly/api/pelotonApi.py', 'description': 'Returns list of on-demand workouts', 'signature': "def get_schedule(fitness_discipline, class_names=['all'], taken_class_ids=[], limit=10, is_favorite_ride=False,"}</s>{'name': 'remove_bookmark@src/fitly/api/pelotonApi.py', 'description': 'Removes a b...
0
{'name': 'TestOptspace.test_getoptT@deicode/tests/test_optspace.py', 'description': 'Test gradient decent line search.', 'signature': 'def test_getoptT(self):'}</s>{'name': 'svd_sort@deicode/optspace.py', 'description': 'Sorting via the s matrix from SVD. In addition to\nsign correction from the U matrix to ensure a\nd...
0
{'name': 'Device._buildReadRegisterPacket@src/LabJackPython.py', 'description': 'self._buildReadRegisterPacket(addr, numReg)\n\nBuilds a raw modbus "Read Register" packet to be written to a device\n\nReturns a tuple:\n(<Packet as a list>, <number of bytes to read>)', 'signature': 'def _buildReadRegisterPacket(self, add...
0
{'name': 'GefCommand.load_extra_plugins@gef.py', 'description': 'Load the plugins from the gef-extras setting. Returns the number of new plugins added.', 'signature': 'def load_extra_plugins(self, extra_plugins_dir: pathlib.Path | None = None) -> int:'}</s>{'name': 'get_filename@gef.py', 'description': 'DOCSTRING', 'co...
0
{'name': 'extract_kalman_boxes@lib/rpn_util.py', 'description': 'Test the KITTI framework for object detection in 3D', 'signature': 'def extract_kalman_boxes(dataset_test, net, rpn_conf, test_path, data_folder):'}</s>{'name': 'evaluate_kitti_results_verbose@lib/rpn_util.py', 'description': 'DOCSTRING', 'code': "def eva...
0
{'name': 'seed_everything@pix2tex/utils/utils.py', 'description': 'Seed all RNGs\n\nArgs:\n seed (int): seed', 'signature': 'def seed_everything(seed: int):'}</s>{'name': 'gpu_memory_check@pix2tex/utils/utils.py', 'description': 'DOCSTRING', 'code': 'def gpu_memory_check(model, args):\n # check if largest batch c...
0
{'name': 'spenders_taproot_active@test/functional/feature_taproot.py', 'description': 'Return a list of Spenders for testing post-Taproot activation behavior.', 'signature': 'def spenders_taproot_active():'}</s>OP_12 = CScriptOp(0x5c)
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_SSL_KEY_PASSPHRASE_LENGTH = 1024
0
{'name': 'main@tools/hadb.py', 'description': 'Print requested events and/or states.', 'signature': 'def main(args: ArgsNamespace, params: Params) -> str | int | None:'}</s>COL1_HEADER = "entity_id / event_type"
0
{'name': 'LoadBalancerAction.create_loadbalancer@qingcloud/iaas/actions/loadbalancer.py', 'description': 'Create new load balancer.\n@param eips: the IDs of the eips that will be associated to load balancer.\n@param loadbalancer_name: the name of the loadbalancer.\n@param security_group: the id of the security_group yo...
0
{'name': 'PIL_im_to_BytesIO@DECIMER/config.py', 'description': 'Convert pillow image to io.BytesIO object\nArgs: PIL.Image\nReturns: io.BytesIO object with the image data', 'signature': 'def PIL_im_to_BytesIO(image):'}</s>BATCH_SIZE_DEBUG = 2
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': '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': 'TestSASdataObject.test_sasdata_series_instance@saspy/tests/test_sasdata.py', 'description': 'Test method series returns a dict.', 'signature': 'def test_sasdata_series_instance(self):'}</s>{'name': 'SASdata@saspy/sasdata.py', 'description': '**Overview**\n\nThe SASdata object is a reference to a SAS Data Set ...
0
{'name': 'IrregularFunctionalData.mean@FDApy/representation/functional_data.py', 'description': "Compute an estimate of the mean.\n\nThis function computes an estimate of the mean curve of a\nIrregularFunctionalData object. The curves are not sampled on a common\ngrid. We implement the methodology from [2]_.\n\nParamet...
1
{'name': 'main@contrib/mbedtls/tests/scripts/generate_tls13_compat_tests.py', 'description': 'Main function of this program', 'signature': 'def main():'}</s>{'name': 'OpenSSLServ@contrib/mbedtls/tests/scripts/generate_tls13_compat_tests.py', 'description': 'Generate test commands for OpenSSL server.', 'base_classes': [...
0
{'name': 'DatasetWriter.__new__@accelerator/dataset.py', 'description': "columns can be {'name': 'type'} or {'name': ('type', none_support)}.\nIt can also be {'name': DatasetColumn} to simplify basing your dataset on another.", 'signature': "def __new__(cls, columns={}, filename=None, hashlabel=None, hashlabel_override...
0
{'name': 'StateManagerInstance.__getattr__@src/coaster/sqlalchemy/statemanager.py', 'description': 'Retrieve a state.', 'signature': 'def __getattr__(self, name: str) -> ManagedStateInstance[_T]:'}</s>{'name': 'ManagedStateInstance@src/coaster/sqlalchemy/statemanager.py', 'description': 'Provides runtime access to a ma...
1
{'name': 'test_merged_dup_stream_blocks@maf/impl/naiveLiftUp.py', 'description': 'Check merged_dup_stream behavior on Blocks.', 'signature': 'def test_merged_dup_stream_blocks():'}</s>{'name': 'read_next_alignment@maf/impl/naiveLiftUp.py', 'description': 'Get the next AlignmentGroup from alignmentFile.', 'code': 'def r...
0
{'name': 'update_notice_box_ui@addon_updater_ops.py', 'description': 'Update notice draw, to add to the end or beginning of a panel.\n\nAfter a check for update has occurred, this function will draw a box\nsaying an update is ready, and give a button for: update now, open website,\nor ignore popup. Ideal to be placed a...
0
{'name': 'networkd_netdevs@kayobe/plugins/filter/networkd.py', 'description': 'Return a dict representation of networkd NetDev configuration.\n\nThe format is compatible with the systemd_networkd_netdev variable in the\nstackhpc.linux.systemd_networkd role.\n\n:param context: a Jinja2 Context object.\n:param names: Lis...
0
{'name': 'GefCommand.load_extra_plugins@gef.py', 'description': 'Load the plugins from the gef-extras setting. Returns the number of new plugins added.', 'signature': 'def load_extra_plugins(self, extra_plugins_dir: pathlib.Path | None = None) -> int:'}</s>{'name': 'GefMemoryManager@gef.py', 'description': 'Class that ...
0
{'name': 'add_run_number@bidskit/translate.py', 'description': 'Safely add run number to BIDS stub\nAllow protocol translator to override auto run numbering\n\n:param bids_stub, str\n:param run_no, int\n:return: new_bids_stub, str', 'signature': 'def add_run_number(bids_stub, run_no):'}</s>{'name': 'bids_intended_name@...
0
{'name': 'write_rtdc@AIDeveloper/aid_bin.py', 'description': 'fname - path+filename of file to be created\nrtdc_datasets - list paths to rtdc data-data-sets\nX_valid - list containing numpy arrays. Each array contains cropped images of individual measurements corresponding to each rtdc_ds\nIndices - list containing num...
0
{'name': 'PDBBackbone.__get_coords_specific_atom@enzynet/pdb.py', 'description': 'Extracts coordinates of a specific atom only.', 'signature': 'def __get_coords_specific_atom('}</s>ROOT_DIR = os.path.abspath( os.path.join(os.path.dirname(os.path.abspath(__file__)), '../'))
0
{'name': '_strict_random_crop_image@object_detection/core/preprocessor.py', 'description': 'Performs random crop.\n\nNote: Keypoint coordinates that are outside the crop will be set to NaN, which\nis consistent with the original keypoint encoding for non-existing keypoints.\nThis function always crops the image and is ...
0
{'name': 'PFDivert._to_struct@pf/rule.py', 'description': 'Convert a PFDivert object to a divert structure.', 'signature': 'def _to_struct(self):'}</s>PF_POOL_ROUNDROBIN = 4
0
{'name': 'FileInfo.RepositoryName@third_party/cpplint/cpplint.py', 'description': 'FullName after removing the local path to the repository.\n\nIf we have a real absolute path name here we can try to do something smart:\ndetecting the root of the checkout and truncating /path/to/checkout from\nthe name so that we get h...
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': 'go@grizli/pipeline/auto_script.py', 'description': 'Run the full pipeline for a given target\n\nParameters\n----------\nroot : str\n Rootname of the `mastquery` file.\n\nextract_maglim : [min, max]\n Magnitude limits of objects to extract and fit.', 'signature': "def go(root='j010311+131615', "}</s>args...
1
{'name': 'NVMeOFConnectorTestCase.test_connect_volume_not_replicated_fails@os_brick/tests/initiator/connectors/test_nvmeof.py', 'description': 'Single vol attach fails and disconnects on failure.', 'signature': 'def test_connect_volume_not_replicated_fails('}</s>NVME_CTRL_SYSFS_PATH = "/sys/class/nvme-fabrics/ctl/"
0
{'name': 'go@grizli/pipeline/auto_script.py', 'description': 'Run the full pipeline for a given target\n\nParameters\n----------\nroot : str\n Rootname of the `mastquery` file.\n\nextract_maglim : [min, max]\n Magnitude limits of objects to extract and fit.', 'signature': "def go(root='j010311+131615', "}</s>OPT_...
0
{'name': 'opcode_map_c@Ghidra/Processors/RISCV/scripts/binutil.py', 'description': 'CR |funct4 | cr0711 | cr0206 | op |\nCI |funct3 | cop1212 | cr0711 | cop0206 | op |\nCSS |funct3 | cop0712 | cr0206 | op |\nCIW |funct3 | cop0512 | cr0204s | op |\nCL |funct3 | cop1012 | cs0709s | cop0506 | cr0204s | op |\nCS ...
0
{'name': '_TestAWSIoTCoreDeviceLifecycleBase.test_device_accept_and_reject_or_dismiss@backend-tests/tests/test_aws_iotcore.py', 'description': 'Test how accepted-rejected and accepted-dismissed Mender flow affects AWS IoT Core devices.', 'signature': 'def test_device_accept_and_reject_or_dismiss('}</s>URL_2FAVERIFY = "...
0
{'name': 'azero@pf/rule.py', 'description': "Return True if all numbers in 'seq' are 0s.", 'signature': 'def azero(seq):'}</s>PF_OSFP_ANY = 0
0
{'name': 'StandardizeMol.__init__@PyBioMed/PyPretreat/PyPretreatMolutil.py', 'description': 'Initialize a Standardizer with optional custom parameters.\n\n:param normalizations: A list of Normalizations to apply (default: :data:`~molvs.normalize.NORMALIZATIONS`).\n:param acid_base_pairs: A list of AcidBasePairs for com...
1
{'name': 'DomainView.__init__@openmc_plotter/plotmodel.py', 'description': 'Initialize DomainView instance ', 'signature': 'def __init__(self, id, name, color=None, masked=False, highlight=False):'}</s>_MODEL_PROPERTIES = ('temperature', 'density')
0
{'name': 'mass_fracs_to_molar_fracs@python/xraydb/xray.py', 'description': "Calculate molar fractions from a given mass fractions of elements.\nResult is normalized to one.\n\nArgs:\n mass_fracs (dict): mass fractions of elements\n\nReturns:\n dict with fields of each element and values of their coefficients\n\nE...
0
{'name': 'isnotification@src/service_api/python/jsonrpclib/jsonrpclib/jsonrpc.py', 'description': 'Tests if the given request is a notification\n\n:param request: A request dictionary\n:return: True if the request is a notification', 'signature': 'def isnotification(request):'}</s>__docformat__ = "restructuredtext en"
0
{'name': 'cubic_spline@manifold_flow/transforms/splines/cubic.py', 'description': 'References:\n> Blinn, J. F. (2007). How to solve a cubic equation, part 5: Back to numerics. IEEE Computer\nGraphics and Applications, 27(3):78–89.', 'signature': 'def cubic_spline('}</s>DEFAULT_QUADRATIC_THRESHOLD = 0.001
1
{'name': 'MultiSigTestnet.sign_transaction@bit/wallet.py', 'description': 'Creates a signed P2SH transaction using previously prepared\ntransaction data.\n\n:param tx_data: Hex-encoded transaction or output of :func:`~bit.Key.prepare_transaction`.\n:type tx_data: ``str``\n:param unspents: The UTXOs to use as the inputs...
0
{'name': 'plot_legend@pymeteo/skewt.py', 'description': 'Plot skew-t legend', 'signature': 'def plot_legend(axes):'}</s>{'name': 'linear@pymeteo/interp.py', 'description': 'DOCSTRING', 'code': "def linear(dim, var, dval):\n # interpolates var to dval\n\n if len(dim) != len(var):\n raise Exception('Dimensions o...
0
{'name': 'ProcessFileData@third_party/cpplint/cpplint.py', 'description': 'Performs lint checks and reports any errors to the given error function.\n\nArgs:\n filename: Filename of the file that is being processed.\n file_extension: The extension (dot not included) of the file.\n lines: An array of strings, each rep...
0
{'name': 'assert_content_equals_array@tests/test_algorithms.py', 'description': 'Assert that the result is an Arrow structure and the content matches an array.', 'signature': 'def assert_content_equals_array(result, expected):'}</s>{'name': 'test_np_ufunc_op_flat_scalar@tests/test_algorithms.py', 'description': 'DOCSTR...
0
{'name': 'read_pw_output@mcu/qe/qe_io.py', 'description': 'Read the output generated by pw.x', 'signature': 'def read_pw_output(filename): '}</s>reciprocal_axes_MATCH = re.compile(r''' [ ]* b\( (?P<dim>\d+) \) [ ]* = [ ]* \( [ ]* (?P<a>\S+) [ ]* (?P<b>\S+) [ ]* (?P<c>\S+) [ ]* \) ''', re.VERBOSE)
1
{'name': 'TrimmedMatchDesignTest.testReportCandidateDesignWithNoResponseDuringEval@trimmed_match/design/tests/trimmed_match_design_test.py', 'description': 'Checks the calculation with no response during evaluation period.', 'signature': 'def testReportCandidateDesignWithNoResponseDuringEval(self):'}</s>_SPEND_TOLERANC...
0
{'name': 'to_pretty_midi_time_signature@muspy/outputs/midi.py', 'description': 'Return a TimeSignature object as a pretty_midi TimeSignature.', 'signature': 'def to_pretty_midi_time_signature('}</s>{'name': 'to_mido_meta_track@muspy/outputs/midi.py', 'description': 'Return a mido MidiTrack containing metadata of a Musi...
0
{'name': 'im_detect_3d@lib/rpn_util.py', 'description': 'Object detection in 3D', 'signature': 'def im_detect_3d(im, net, rpn_conf, preprocess, p2, gpu=0, synced=False, return_base=False):'}</s>{'name': 'bbox_transform@lib/rpn_util.py', 'description': 'Compute the bbox target transforms in 2D.\n\nTranslations are done ...
0
{'name': 'WXPush.send_image@wx_push.py', 'description': '发送图片', 'signature': 'def send_image(token, openid, files):'}</s>{'name': 'get_jg_key@models/application.py', 'description': 'DOCSTRING', 'code': 'def get_jg_key(mysql, appid):\n return None, None'}
0
{'name': '_AddInitMethod@python/google/protobuf/internal/python_message.py', 'description': 'Adds an __init__ method to cls.', 'signature': 'def _AddInitMethod(message_descriptor, cls):'}</s>{'name': '_AddSerializePartialToStringMethod@python/google/protobuf/internal/python_message.py', 'description': 'Helper for _AddM...
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_MSG_NOT_MATCHED = 2363
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>MQIACF_CONNECT_TIME = 1380
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': 'key_to_span@tksheet/functions.py', 'description': 'Convert various input types to a Span object representing a 2D range.\n\nArgs:\n key: The input to convert (str, int, slice, sequence, or None).\n spans: A dictionary of named spans (e.g., {"<name>": Span(...)}).\n widget: Optional widget context for...
0
{'name': 'test_gpt_model@onnxruntime/python/tools/transformers/convert_generation.py', 'description': 'Test GPT-2 model\n\nArgs:\n args (argparse.Namespace): arguments parsed from command line\n sentences (Optional[List[str]], optional): input text. Defaults to None.\n\nReturns:\n Union[Dict[str, Any], None]: ...
1
{'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': 'AP2Handler.handle_pair_pin_start@ap2-receiver.py', 'description': "Should probably set the PIN status flag to 'on' here. ", 'signature': 'def handle_pair_pin_start(self):'}</s>{'name': 'Stream@ap2/connections/stream.py', 'description': 'DOCSTRING', 'base_classes': [], 'methods': [{'name': 'Stream.__init__@ap2...
0
{'name': '_AddMessageMethods@third_party/dawn/third_party/protobuf/python/google/protobuf/internal/python_message.py', 'description': 'Adds implementations of all Message methods to cls.', 'signature': 'def _AddMessageMethods(message_descriptor, cls):'}</s>{'name': '_UnknownField@third_party/dawn/third_party/protobuf/p...
0
{'name': 'get_cmdclass@versioneer.py', 'description': 'Get the custom setuptools subclasses used by Versioneer.\n\nIf the package uses a different cmdclass (e.g. one from numpy), it\nshould be provide as an argument.', 'signature': 'def get_cmdclass(cmdclass: Optional[Dict[str, Any]] = None):'}</s>SAMPLE_CONFIG = " # S...
0
{'name': 'PterodactylAPI._api_request@pydactyl/api/base.py', 'description': "Make a request to the Pterodactyl API.\n\nArgs:\n endpoint(str): URI for the API\n mode(str): Request type, one of ('GET', 'POST', 'PATCH',\n 'DELETE', 'PUT')\n params(dict): Extra parameters to pass to the endpoint,\n ...
0
{'name': 'deserialize_MyVS@src/examples/rosenbrock_advanced_api/rosenbrock_advanced_api.py', 'description': 'Deserializes an array for the vector space MyVS', 'signature': 'def deserialize_MyVS(x,x_json):'}</s>{'name': 'serialize_MyVS@src/examples/rosenbrock_advanced_api/rosenbrock_advanced_api.py', 'description': 'Ser...
0
{'name': 'net_bridge_obj@kayobe/plugins/filter/networks.py', 'description': 'Return a dict representation of a network bridge interface.\n\nThe returned dict is compatible with the interfaces_bridge_interfaces\nvariable in the MichaelRigaert.interfaces role.', 'signature': 'def net_bridge_obj(context, name, inventory_h...
0
{'name': 'Display.grab_server@Monika After Story/game/python-packages/Xlib/display.py', 'description': 'Disable processing of requests on all other client connections\nuntil the server is ungrabbed. Server grabbing should be avoided\nas much as possible.', 'signature': 'def grab_server(self, onerror = None):'}</s>{'nam...
0
{'name': 'formatColor@rst2pdf/styles.py', 'description': 'Convert a color like "gray" or "0xf" or "ffff"\nto something ReportLab will like.', 'signature': 'def formatColor(value, numeric=True):'}</s>ttfList = []
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>MQRQ_SSL_CIPHER_SPEC_ERROR = 14
0
{'name': 'parse_url@src/ahip/util/url.py', 'description': "Given a url, return a parsed :class:`.Url` namedtuple. Best-effort is\nperformed to parse incomplete urls. Fields not provided will be None.\nThis parser is RFC 3986 compliant.\n\nThe parser logic and helper functions are based heavily on\nwork done in the ``rf...
0
{'name': 'PFState._from_struct@pf/state.py', 'description': 'Initialize class attributes from a pfsync_state structure.', 'signature': 'def _from_struct(self, s):'}</s>PFRULE_SETDELAY = 128
0
{'name': 'Schema._compile_mapping@voluptuous/schema_builder.py', 'description': 'Create validator for given mapping.', 'signature': 'def _compile_mapping(self, schema, invalid_msg=None):'}</s>extra = Extra
0
{'name': 'ELFAnalysis.is_dynamically_linked@s2e_env/analysis/elf.py', 'description': 'Determine if a ELF file is dynamically linked.\n\nDetermine this by checking if a dynamic segment exists.\n\nArgs:\n elf_path: Path to the ELF file.\n\nReturns:\n ``True`` if the ELF file is dynamically linked, or ``False``\n ...
0
{'name': 'main@lldb/packages/Python/lldbsuite/test/dosep.py', 'description': 'Run dotest.py in inferior mode in parallel.\n\n@param num_threads the parsed value of the num-threads command line\nargument.\n\n@param test_subdir optionally specifies a subdir to limit testing\nwithin. May be None if the entire test tree i...
0
{'name': 'test_snake_gridlock@tests/test_traffic_scheduling_problem.py', 'description': 'A bad route was given to train abcd, and now the train has gridlocked itself.\n\n 9 - 10 - 11 - 12\n |\n1 - 2 - 3 - 4 - 5d-> 6c\n ^ |\n | v\n 8a - 7b\...
0
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQMCEV_STREAM_RESUME_NACK = 15
0