text string | label int64 |
|---|---|
{'name': 'NetworkManager._apply_qdisc@dc_gym/topos/network_manager.py', 'description': 'Here be dragons... ', 'signature': 'def _apply_qdisc(self, port):'}</s>{'name': 'kill_processes_with_name@dc_gym/utils.py', 'description': 'DOCSTRING', 'code': 'def kill_processes_with_name(pattern, use_sigkill=False):\n procs = ... | 0 |
{'name': 'StandaloneQ2Q.setup_Q2Q@vertex/q2qstandalone.py', 'description': 'Set up a Q2Q service.\n ', 'signature': 'def setup_Q2Q(self, path,'}</s>{'name': 'Q2QClientFactory@vertex/q2q.py', 'description': 'DOCSTRING', 'base_classes': ['protocol.ClientFactory'], 'methods': [{'name': 'Q2QClientFactory.__init__@ve... | 0 |
{'name': 'recall@src/pulearn/metrics.py', 'description': 'Compute the recall score for PU learning.\n\n.. math::\n\n \\text{recall} = \\mathrm{P}(\\hat{y}=1|y=1)\n\nParameters\n----------\ny_true : numpy array of shape = [n_samples]\n True labels for the given input samples.\ny_pred : numpy array-of shape = [n_sa... | 0 |
{'name': '_value_owner_pair@skein/kv.py', 'description': 'Build a ValueOwnerPair from a KeyValue object', 'signature': 'def _value_owner_pair(kv):'}</s>no_change = type('no_change', (object,),
dict.fromkeys(['__repr__', '__reduce__'],
lambda s: 'no_change'))() | 0 |
{'name': 'SectionHeader.new_member@pcapng/blocks.py', 'description': "Helper method to create a block that's a member of this section", 'signature': 'def new_member(self, cls, **kwargs):'}</s>LINKTYPE_APPLE_IP_OVER_IEEE1394 = 138 | 0 |
{'name': 'test_advance_past_string_with_gdb_escapes@tests/test_gdbescapes.py', 'description': 'Test the advance_past_string_with_gdb_escapes function', 'signature': 'def test_advance_past_string_with_gdb_escapes('}</s>{'name': 'test_bad_string@tests/test_gdbescapes.py', 'description': 'Test the unescape function with i... | 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': 'PacketFilter.set_limit@pf/filter.py', 'description': "Set hard limits on the memory pools used by Packet Filter.\n\n'limit' can be either one of the PF_LIMIT_* constants or a string; a\n'value' of UINT_MAX means unlimited. Raise PFError if the current pool\nsize exceeds the requested hard limit.", 'signature'... | 0 |
{'name': 'ModifyVABCCompressionParam@tools/releasetools/ota_from_target_files.py', 'description': 'Update update VABC Compression Param in dynamic_partitions_info.txt\nArgs:\n content: The string content of dynamic_partitions_info.txt\n algo: The compression algorithm should be used for VABC. See\n https://cs.... | 0 |
{'name': 'sample_information@pipelines/pipeline_cellranger.py', 'description': 'Check the input samples.\n\nThe sample table is returned as a pandas data frame.', 'signature': 'def sample_information(check_only=True):'}</s>{'name': 'cellrangerAggrCsv@pipelines/pipeline_cellranger.py', 'description': 'Generate the speci... | 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': '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': 'show@phi/vis/_vis.py', 'description': 'Args:\n See `plot()`.', 'signature': 'def show(*fields: Union[Field, Tensor, Geometry, list, tuple, dict],'}</s>{'name': 'Gui@phi/vis/_vis_base.py', 'description': 'DOCSTRING', 'base_classes': [], 'methods': [{'name': 'Gui.__init__@phi/vis/_vis_base.py', 'description'... | 0 |
{'name': '_rd_dat_signals@wfdb/io/_signal.py', 'description': "Read all signals from a WFDB dat file.\n\nParameters\n----------\nfile_name : str\n The name of the dat file.\ndir_name : str\n The full directory where the dat file(s) are located, if the dat\n file(s) are local.\npn_dir : str\n The PhysioNet d... | 1 |
{'name': 'pointer_image@datoviz/__init__.py', 'description': 'Return a NumPy array of uint8 with shape (height, width, n_channels=3) from an ndpointer\nreferring to a C pointer to a buffer of RGB uint8 values.', 'signature': 'def pointer_image(rgb, width, height, n_channels=3):'}</s>create_tex = dvz.dvz_create_tex | 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': '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': '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>{'name': 'central_square_image@DECIMER/config.py', 'description': 'This function takes a Pillow Im... | 0 |
{'name': 'Normal.NLL@metrics/Disentangle/MIG_metric.py', 'description': 'Analytically computes\n E_N(mu_2,sigma_2^2) [ - log N(mu_1, sigma_1^2) ]\nIf mu_2, and sigma_2^2 are not provided, defaults to entropy.', 'signature': 'def NLL(self, params, sample_params=None):'}</s>model_name = sys.argv[1] | 0 |
{'name': 'detect_regressor@sklearn_pmml_model/auto_detect/base.py', 'description': 'Detect the type of regressor in line if present.\n\nParameters\n----------\nline : str, bytes\n Line of a PMML file as a string.\n\npmml : str, object\n Filename or file object containing PMML data.', 'signature': 'def detect_regr... | 0 |
{'name': 'find@src/civis/response.py', 'description': "Filter :class:`civis.Response` objects.\n\nParameters\n----------\nobject_list : iterable\n An iterable of arbitrary objects, particularly those with attributes\n that can be targeted by the filters in `kwargs`. A major use case is\n an iterable of :class:... | 0 |
{'name': 'ConvolutionalBoxPredictor._predict@object_detection/predictors/convolutional_box_predictor.py', 'description': 'Computes encoded object locations and corresponding confidences.\n\nArgs:\n image_features: A list of float tensors of shape [batch_size, height_i,\n width_i, channels_i] containing features for... | 1 |
{'name': 'main@src/build/__main__.py', 'description': 'Parse the CLI arguments and invoke the build process.\n\n:param cli_args: CLI arguments\n:param prog: Program name to show in help text', 'signature': 'def main(cli_args: Sequence[str], prog: str | None = None) -> None:'}</s>{'name': '_EnvBackend@src/build/env.py',... | 0 |
{'name': 'TextNetworks.expand_bbox@camelot/parsers/network.py', 'description': 'Expand the bounding box based on closest textlines.\n\nParameters\n----------\nbbox : list of float\n The current bounding box.\nclosest_tls : dict\n The closest textlines found.\ntls_search_space : list\n The list of textlines ava... | 0 |
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQSMPO_LENGTH_1 = 20 | 0 |
{'name': '_convert_to_exclusive_op@self_organising_systems/biomakerca/env_logic.py', 'description': 'Process ExclusiveInterface to convert it to ExclusiveOp.\n\nThis also performs sanity checks and potentially rejects badly formed ops.', 'signature': 'def _convert_to_exclusive_op('}</s>{'name': 'make_material_exclusive... | 0 |
{'name': 'distribute_jobs@source/tomopy/util/mproc.py', 'description': 'Distribute N-dimensional shared-memory array into cores by splitting along\nan axis.\n\nParameters\n----------\narr : ndarray, or iterable(ndarray)\n Array(s) to be split up for processing.\nfunc : func\n Function to be parallelized. Should ... | 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>MQEVR_DISABLED = 0 | 0 |
{'name': 'Viewer.initialize@robopianist/viewer/viewer.py', 'description': 'Initialize the viewer.\n\nArgs:\n physics: Physics instance.\n renderer_instance: A renderer.Base instance.\n touchpad: A boolean, use input dedicated to touchpad.', 'signature': 'def initialize(self, physics, renderer_instance, touchpad):'}<... | 0 |
{'name': 'InstanceGroupsAction.delete_instance_groups@qingcloud/iaas/actions/instance_groups.py', 'description': 'Delete the specific instance group.\n@param instance_groups: An id list contains the group(s) id which will be deleted.', 'signature': 'def delete_instance_groups(self, instance_groups,'}</s>ACTION_MODIFY_G... | 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_HOBJ_ERROR = 2019 | 0 |
{'name': 'get_stat_all@datacommons/stat_vars.py', 'description': 'Returns a nested `dict` of all time series for `places` and `stat_vars`.\n\nArgs:\n places (`Iterable` of `str`): The dcids of Places to query for.\n stat_vars (`Iterable` of `str`): The dcids of the StatisticalVariables.\nReturns:\n A nested `dict` m... | 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': 'ObjectPermissionBackend.has_perm@guardian/backends.py', 'description': "Check if a user has the permission for a given object.\n\nReturns `True` if given `user_obj` has `perm` for `obj`.\nIf no `obj` is given, `False` is returned.\nThe main difference between Django's `ModelBackend` is that we can pass\n`obj`... | 0 |
{'name': 'apply_along_axis@venv/Lib/site-packages/numpy/ma/extras.py', 'description': '(This docstring should be overwritten)', 'signature': 'def apply_along_axis(func1d, axis, arr, *args, **kwargs):'}</s>equal = _MaskedBinaryOperation(umath.equal) | 0 |
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQBNO_BALTYPE_REQREP = 1 | 0 |
{'name': 'write_numeric@nbtlib/tag.py', 'description': 'Write a numeric value to a file-like object.', 'signature': 'def write_numeric(fmt, value, fileobj, byteorder="big"):'}</s>{'name': 'serialize_tag@nbtlib/literal/serializer.py', 'description': 'Serialize an nbt tag to its literal representation.', 'code': 'def ser... | 0 |
{'name': 'View.viewconf@src/higlass/api.py', 'description': 'Consumes the current View into a top-level view config.\n\nReturns\n-------\nviewconf : A top-level HiGlass Viewconf.', 'signature': 'def viewconf(self, **kwargs):'}</s>{'name': 'IndependentViewportProjectionTrack@src/higlass/api.py', 'description': 'Represen... | 0 |
{'name': 'open_rasterio@rioxarray/_io.py', 'description': 'Open a file with rasterio (experimental).\n\nThis should work with any file that rasterio can open (most often:\ngeoTIFF). The x and y coordinates are generated automatically from the\nfile\'s geoinformation and refer to the center of the pixel.\n\n.. versionad... | 0 |
{'name': 'Path.asGameModRelative@ValveFileSystem/path.py', 'description': "Returns a path instance that is relative to the mod if the path is under the game tree.\nIf the path doesn't match the game tree, the original filepath is returned.", 'signature': 'def asGameModRelative(self):'}</s>{'name': 'setAddonFromFullPath... | 0 |
{'name': '_encode_identifier@software/hermeslite/VCDWriter.py', 'description': 'Encode identifer value into base-94 string.', 'signature': 'def _encode_identifier(v: int) -> str:'}</s>CompoundValue = Sequence[ScalarValue] | 0 |
{'name': 'CrashDuringStepTestCase.test_step_inst_with@llvm-12.0.0-project/lldb/test/API/functionalities/thread/crash_during_step/TestCrashDuringStep.py', 'description': 'Test thread creation during step-inst handling.', 'signature': 'def test_step_inst_with(self):'}</s>CURRENT_EXECUTABLE_SET = "Current executable set s... | 0 |
{'name': 'ResourceViewCase.test_resource_list_contains_accepted_only@python-in-edu/resources/tests.py', 'description': 'The resource list contains only accepted resources.', 'signature': 'def test_resource_list_contains_accepted_only(self):'}</s>{'name': 'SignUpChoices@python-in-edu/resources/choices.py', 'description'... | 0 |
{'name': 'TestEdge.looseVer@test_pyderman.py', 'description': 'Shorten the given version, dropping the trailing build ID to prevent artifact caching errors.', 'signature': 'def looseVer(ver1):'}</s>{'name': 'install@pyderman/__init__.py', 'description': "Downloads the given browser driver, and returns the path it was s... | 0 |
{'name': 'Distinct@src/api/python/z3/z3.py', 'description': "Create a Z3 distinct expression.\n\n>>> x = Int('x')\n>>> y = Int('y')\n>>> Distinct(x, y)\nx != y\n>>> z = Int('z')\n>>> Distinct(x, y, z)\nDistinct(x, y, z)\n>>> simplify(Distinct(x, y, z))\nDistinct(x, y, z)\n>>> simplify(Distinct(x, y, z), blast_distinct=... | 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': 'get_event_service@redfish_utilities/event_service.py', 'description': 'Collects the event service information from a Redfish service\n\nArgs:\n context: The Redfish client object with an open session\n\nReturns:\n An object containing information about the event service', 'signature': 'def get_event_ser... | 0 |
{'name': '_start_process@pyngrok/process.py', 'description': 'Start a ``ngrok`` process with no tunnels. This will start the ``ngrok`` web interface, against\nwhich HTTP requests can be made to create, interact with, and destroy tunnels.\n\n:param pyngrok_config: The ``pyngrok`` configuration to use when interacting wi... | 0 |
{'name': 'Metar.__init__@metar/Metar.py', 'description': 'Parse raw METAR code.', 'signature': 'def __init__( self, metarcode, month=None, year=None, utcdelta=None):'}</s>{'name': '_report_match@metar/Metar.py', 'description': 'Report success or failure of the given handler function. (DEBUG)', 'code': 'def _report_matc... | 1 |
{'name': 'setup_T2_amplitudes@doc/LectureNotes/_build/jupyter_execute/cc.py', 'description': 'returns the t2 amplitudes and t2 channels\nparam sp_basis: a sp_basis\nparam NN: neutron number\nparam st_degen: 2 for the moment, spin-isospin degeneracy\nreturn: hh_channels, pp_channels, p_rel_hh, p_rel_pp, t2amp\n t... | 0 |
{'name': 'analyze_build@libscanbuild/analyze.py', 'description': 'Entry point for analyze-build command. ', 'signature': 'def analyze_build():'}</s>{'name': 'need_analyzer@libscanbuild/analyze.py', 'description': "Check the intent of the build command.\n\nWhen static analyzer run against project configure step, it shou... | 0 |
{'name': '_AddInitMethod@python/google/protobuf/internal/python_message.py', 'description': 'Adds an __init__ method to cls.', 'signature': 'def _AddInitMethod(message_descriptor, cls):'}</s>FORMAT_DOUBLE_LITTLE_ENDIAN = "<d" | 0 |
{'name': 'test_get_cve_id_by_time_modified@test-http/src/test/cve_id_tests/cve_id.py', 'description': "we can get ids immediately after reserving them using the time they're\nreserved (noting that this may not work against a shared integration\nenvironment, we check that at least this many have been reserved) ", 'signa... | 0 |
{'name': '_dual_to_ugrid@uxarray/io/_mpas.py', 'description': 'Encodes the MPAS Dual-Mesh in the UGRID conventions.', 'signature': 'def _dual_to_ugrid(in_ds, out_ds):'}</s>CONNECTIVITY = {
"face_node_connectivity": {
"dims": FACE_NODE_CONNECTIVITY_DIMS,
"attrs": FACE_NODE_CONNECTIVITY_ATTRS,
},
... | 0 |
{'name': 'initialize_ad_tracking_db@core/friendly_organizer.py', 'description': 'Initializes the AdTracker table with the default list of trackers. Ran only once at startup.', 'signature': 'def initialize_ad_tracking_db():'}</s>{'name': 'get_vendor@core/oui_parser.py', 'description': "Given a MAC address, returns the v... | 0 |
{'name': 'train@fairseq_cli/train.py', 'description': 'Train the model for one epoch and return validation losses.', 'signature': 'def train('}</s>{'name': 'get_data_parallel_rank@fairseq/distributed/utils.py', 'description': 'Return my rank for the data parallel group.', 'code': 'def get_data_parallel_rank():\n """... | 0 |
{'name': 'Bootloader._send@tools/bootloader/can/host/bootloader.py', 'description': 'Send a message via CAN Bus\n\nWith default settings the functions waits for the response to the\nmessage and retry the transmission after a timeout. After the\nspecifed number of retries it will raise a BootloaderException.\n\nKeeps tr... | 1 |
{'name': 'sort_rows@workflow/scripts/postprocess_diffexp.py', 'description': 'Sort DataFrame by the absolute value of signed_p_value of primary variable in ascending order.', 'signature': 'def sort_rows(df):'}</s>df = sort_columns(df, matching_columns) | 1 |
{'name': 'ImputationKernel._get_candidate_preds_mice@miceforest/imputation_kernel.py', 'description': 'This function also records the candidate predictions', 'signature': 'def _get_candidate_preds_mice('}</s>_DEFAULT_DATA_SUBSET = 0 | 0 |
{'name': 'MeasurementPreset.addMeasurement@ValveQuantification/ValveQuantificationLib/MeasurementPreset.py', 'description': 'puts results into metricsTable and self.metricsMessages ', 'signature': 'def addMeasurement(self, measurement):'}</s>KEY_MESSAGE = "message" | 1 |
{'name': 'read_cif_scaled@Tutorial ImageStream/cif_to_rtdc_v07.py', 'description': 'Read the images from an Amnis ImageStream file (.cif)\n\nParameters\n----------\nreader: reader object (reader = bioformats.formatreader.get_image_reader("tmp", path=path_cif))\nnumber_cells: int or np.inf\n Maximum number of images ... | 0 |
{'name': 'textures_locate_cmd@cjio/cjio.py', 'description': 'Output the location of the texture files.', 'signature': 'def textures_locate_cmd():'}</s>{'name': 'CityJSON@cjio/cityjson.py', 'description': 'DOCSTRING', 'base_classes': [], 'methods': [{'name': 'CityJSON.__init__@cjio/cityjson.py', 'description': 'DOCSTRIN... | 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': '_lookup_module@dill/session.py', 'description': 'lookup name or id of obj if module is imported', 'signature': 'def _lookup_module(modmap, name, obj, main_module):'}</s>{'name': '__hook__@dill/_dill.py', 'description': 'DOCSTRING', 'code': 'def __hook__():\n global NumpyArrayType, NumpyDType, NumpyUfuncTyp... | 0 |
{'name': '_pairwise_grid@bambi/interpret/create_data.py', 'description': 'Creates a pairwise grid (cartesian product) of data by using the\nkey-values of the dictionary\n\nParameters\n----------\ndata_dict : dict\n A dictionary containing the covariates as keys and their values as the\n values.\n\nReturns\n------... | 0 |
{'name': 'bytes_hash@lib/charliecloud.py', 'description': 'Return the hash of data, as a hex string with no leading algorithm tag.', 'signature': 'def bytes_hash(data):'}</s>{'name': 'cmd_base@lib/charliecloud.py', 'description': 'Run a command to completion. If not fail_ok, exit with a fatal error if\nthe command fail... | 0 |
{'name': 'make_fixed_size@colabfold/alphafold/msa.py', 'description': 'Guess at the MSA and sequence dimensions to make fixed size.', 'signature': 'def make_fixed_size('}</s>NUM_MSA_SEQ = shape_placeholders.NUM_MSA_SEQ | 1 |
{'name': 'Cursor.getmulti@lmdb/cffi.py', 'description': "Returns an iterable of `(key, value)` 2-tuples containing results\nfor each key in the iterable `keys`.\n\n `keys`:\n Iterable to read keys from.\n\n `dupdata`:\n If ``True`` and database was opened with `dupsort=True`, read\n all dupli... | 1 |
{'name': '_IncludeState.CheckNextIncludeOrder@scripts/cpplint.py', 'description': "Returns a non-empty error message if the next header is out of order.\n\nThis function also updates the internal state to be ready to check\nthe next include.\n\nArgs:\n header_type: One of the _XXX_HEADER constants defined above.\n\nRe... | 0 |
{'name': 'apogee@gaia_tools/load/__init__.py', 'description': "PURPOSE:\n read the APOGEE allStar file\nINPUT:\n IF the apogee package is not installed:\n dr= (14) SDSS data release\n use_astroNN= (False) if True, swap in astroNN (Leung & Bovy 2019a) parameters (get placed in, e.g., TEFF and TEFF_ERR) a... | 0 |
{'name': 'ProcessLine@third_party/cpplint/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 ... | 0 |
{'name': 'calculate_preimages@bit/transaction.py', 'description': 'Calculates preimages for provided transaction structure and input\nvalues.\n\n:param tx_obj: The transaction object used to calculate preimage from using\n a transaction digest algorithm, such as BIP-143 for Segwit\n inputs. ... | 0 |
{'name': 'make_combined_mosaics@grizli/pipeline/auto_script.py', 'description': 'Drizzle combined mosaics\n\nmosaic_driz_cr_type : int\n (mosaic_driz_cr_type & 1) : flag CRs on all IR combined\n (mosaic_driz_cr_type & 2) : flag CRs on IR filter combinations\n (mosaic_driz_cr_type & 4) : flag CRs on all OPT com... | 1 |
{'name': 'stripplot@nelpy/plotting/miscplot.py', 'description': 'Plot epochs as segments on a line.\nParameters\n----------\n*eps : EpochArrays\nvoffset : float\nlw : float\nlabels : array-like of str', 'signature': 'def stripplot(*eps, voffset=None, lw=None, labels=None):'}</s>{'name': 'set_figsize@nelpy/plotting/util... | 0 |
{'name': 'MarkerManager.mark_compiler_output@parseoutput.py', 'description': 'Parse text into a list of OutputMessage objects.\n ', 'signature': 'def mark_compiler_output(self, view, banner, base_dir, text, exit_code):'}</s>{'name': 'Type@symbols.py', 'description': 'Haskell type synonym', 'base_classes': ['Type... | 0 |
{'name': 'Comps._verif_to_comps_threshold@verif/input.py', 'description': 'Converts from verif threshold (i.e. 0.3) to COMPS name (i.e p03) ', 'signature': 'def _verif_to_comps_threshold(threshold):'}</s>{'name': 'Comps@verif/input.py', 'description': 'Original NetCDF file format used by OutputVerif in COMPS (https://g... | 1 |
{'name': 'convert_to_nii@dvn/utils.py', 'description': 'Convert image files to nifti image files.', 'signature': 'def convert_to_nii(filenames):'}</s>{'name': 'read_images@dvn/utils.py', 'description': 'DOCSTRING', 'code': 'def read_images(img_index=0):\n patients = os.listdir(DATA_PATH)\n patients.sort()\n pr... | 0 |
{'name': 'ResetNolintSuppressions@scripts/cpplint.py', 'description': 'Resets the set of NOLINT suppressions to empty.', 'signature': 'def ResetNolintSuppressions():'}</s>_quiet = False | 0 |
{'name': 'answer_question@onefile.py', 'description': 'Uses everything to do everyhing for one data instance (one question, subgraph etc).', 'signature': 'def answer_question(qa, index, data, relations, parameter_dict):'}</s>{'name': 'update_vocab@utils/embeddings_interface.py', 'description': " Function to add new ... | 0 |
{'name': 'MaintenanceModeMiddlewareTestCase.test_ignored_path@testproject/app/tests.py', 'description': 'A path is ignored when applying the maintanance mode and should\nbe reachable normally', 'signature': 'def test_ignored_path(self):'}</s>urlpatterns = [
re_path(r'^ignored-page/$', views.IgnoredView.as_view(), n... | 1 |
{'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': 'main@contrib/mbedtls/tests/scripts/generate_tls13_compat_tests.py', 'description': 'Main function of this program', 'signature': 'def main():'}</s>{'name': 'MbedTLSBase@contrib/mbedtls/tests/scripts/generate_tls13_compat_tests.py', 'description': 'Generate base test commands for mbedTLS.', 'base_classes': ['T... | 0 |
{'name': 'SetCriterion.loss_boxes@models/detr.py', 'description': 'Compute the losses related to the bounding boxes, the L1 regression loss and the GIoU loss\ntargets dicts must contain the key "boxes" containing a tensor of dim [nb_target_boxes, 4]\nThe target boxes are expected in format (center_x, center_y, w, h), n... | 0 |
{'name': 'print_tokens@araelectra/pretrain/pretrain_data.py', 'description': 'Pretty-print model inputs.', 'signature': 'def print_tokens(inputs: Inputs, inv_vocab, updates_mask=None):'}</s>{'name': 'load_vocab@araelectra/model/tokenization.py', 'description': 'Loads a vocabulary file into a dictionary.', 'code': 'def ... | 0 |
{'name': 'set_variable@cfg/hass/custom_components/variable/__init__.py', 'description': 'Set input_boolean to True.', 'signature': 'def set_variable('}</s>ATTR_ATTRIBUTES_TEMPLATE = "attributes_template" | 1 |
{'name': 'FileStorage.model_path@loudml/filestorage.py', 'description': 'Build model path', 'signature': 'def model_path(self, model_name, validate=True):'}</s>key = All(
str,
Length(min=1),
Match("^[a-zA-Z0-9-_@]+$"),
) | 1 |
{'name': 'test_cli_ensemble@tests/system_tests/test_cli.py', 'description': 'Test ensemble flag', 'signature': 'def test_cli_ensemble(tmp_path, phospho_files):'}</s>{'name': 'test_cli_aggregate@tests/system_tests/test_cli.py', 'description': 'Test that aggregate results in one result file.', 'code': 'def test_cli_aggre... | 0 |
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQCRC_CICS_EXEC_ERROR = 1 | 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': 'StandardizeMol.__init__@scopy/ScoPretreat/pretreat.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 competitive re... | 0 |
{'name': 'ValidationError.flatten@src/jsonspec/validators/exceptions.py', 'description': 'Flatten nested errors.\n\n{pointer: reasons}', 'signature': 'def flatten(self):'}</s>{'name': 'ReferenceError@src/jsonspec/validators/exceptions.py', 'description': 'Raised while reference error', 'base_classes': ['Exception'], 'm... | 0 |
{'name': 'Charades.__getitem__@models/SlowFast/slowfast/datasets/charades.py', 'description': 'Given the video index, return the list of frames, label, and video\nindex if the video frames can be fetched.\nArgs:\n index (int): the video index provided by the pytorch sampler.\nReturns:\n frames (tensor): the frame... | 1 |
{'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': 'error_screen@displays/papiruszero2in.py', 'description': 'Error screen\n ', 'signature': 'def error_screen(message="ERROR"):'}</s>button_fault_1 = "Oh Nein.." | 0 |
{'name': 'abortMission@WAF/WAF-Enhanced-Replicator/waffun.py', 'description': 'Closes the log and template files, throws an error message and exits with -1.', 'signature': 'def abortMission(logFile, templateFile, apiCall):'}</s>{'name': 'getFormattedDateTime@WAF/WAF-Enhanced-Replicator/waffun.py', 'description': 'Build... | 1 |
{'name': 'Type.serializer@statefun-sdk-python/statefun/core.py', 'description': ':return: a serializer for this type.', 'signature': 'def serializer(self) -> TypeSerializer:'}</s>{'name': 'parse_typename@statefun-sdk-python/statefun/core.py', 'description': 'Parse a TypeName string into a namespace, type pair.\n:param ... | 0 |
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQACTP_NEW = 0 | 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': 'Error@third_party/dawn/third_party/protobuf/python/go... | 0 |
{'name': 'return_ebs_volume_type@installer/resources/src/cdk_construct.py', 'description': 'For a given string value of an EBS volume - return the proper CDK representation or the fallback volume.', 'signature': 'def return_ebs_volume_type(volume_string: str, fallback_volume: str = "gp2") -> str:'}</s>{'name': 'retriev... | 0 |
{'name': 'categoricals_pop@util.py', 'description': 'Assume that the last dim of probs contains the probability vectors,\ni.e. np.sum(probs, axis=-1) == ones', 'signature': 'def categoricals_pop(probs, precision):'}</s>{'name': 'beta_latent_cdf@util.py', 'description': 'DOCSTRING', 'code': 'def beta_latent_cdf(\n ... | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.