text string | label int64 |
|---|---|
{'name': 'Header.FillOut@vimdoc/docline.py', 'description': 'Expands the usage line with the given arguments.', 'signature': 'def FillOut(self, name, sep, extra_reqs, extra_opts):'}</s>{'name': 'Stylized@vimdoc/docline.py', 'description': 'DOCSTRING', 'base_classes': ['BlockDirective'], 'methods': [{'name': 'Stylized.A... | 0 |
{'name': 'apply_detrend@dts/datasets/uci_single_households.py', 'description': 'Perform detrending on a time series by subtrating from each value of the dataset\nthe average value computed over the training dataset for each hour/minute/weekdays\n:param df: the dataset\n:param test_len: test length,\n:return:\n - the... | 1 |
{'name': 'AttachResumeTestCase.process_attach_continue_interrupt_detach@llvm-12.0.0-project/lldb/test/API/commands/process/attach-resume/TestAttachResume.py', 'description': 'Test attach/continue/interrupt/detach', 'signature': 'def process_attach_continue_interrupt_detach(self):'}</s>{'name': 'skipUnlessThreadSanitize... | 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': 'validate_api_declaration@swagger_spec_validator/validator12.py', 'description': 'Validate an API Declaration (§5.2).\n\n:param api_declaration: a dictionary respresentation of an API Declaration.\n\n:returns: `None` in case of success, otherwise raises an exception.\n\n:raises: :py:class:`swagger_spec_validat... | 0 |
{'name': 'TestSpooledBytesIO.test_auto_rollover@tests/test_ioutils.py', 'description': 'Make sure file rolls over to disk after max_size reached', 'signature': 'def test_auto_rollover(self):'}</s>{'name': 'SpooledIOBase@boltons/ioutils.py', 'description': 'A base class shared by the SpooledBytesIO and SpooledStringIO c... | 0 |
{'name': 'init_mp_pool@oggm/workflow.py', 'description': 'Necessary because at import time, cfg might be uninitialized', 'signature': 'def init_mp_pool(reset=False):'}</s>_doc = "The outlines of this glacier complex sub-entities (for RGI7C only!)." | 0 |
{'name': 'EmbeddingCtx.__init__@persia/ctx.py', 'description': 'Arguments:\n preprocess_mode (PreprocessMode): different preprocess mode effect the\n behavior of :meth:`.prepare_features`.\n model (torch.nn.Module): denese neural network PyTorch model.\n embedding_config (EmbeddingConfig, optional): the... | 0 |
{'name': 'TLP.get_lower_address@fpga/lib/pcie/tb/pcie.py', 'description': 'Compute lower address field from address and first byte enable', 'signature': 'def get_lower_address(self):'}</s>TLP_MSG_BCAST = (FMT_4DW, 0x13) | 0 |
{'name': 'PFDivert._to_struct@pf/rule.py', 'description': 'Convert a PFDivert object to a divert structure.', 'signature': 'def _to_struct(self):'}</s>ICMP6_FQDN_QUERY = 139 | 0 |
{'name': 'FloatValueChecker.CheckValue@python/google/protobuf/internal/type_checkers.py', 'description': 'Check and convert proposed_value to float.', 'signature': 'def CheckValue(self, proposed_value):'}</s>Int32Encoder = _SimpleEncoder(
wire_format.WIRETYPE_VARINT, _EncodeSignedVarint, _SignedVarintSize) | 0 |
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQCACF_SYSP_LOG_RBA = 3122 | 0 |
{'name': 'verifyFolderStructure@example/STM32F051K4_linker/ideScripts/utilities.py', 'description': "Verify if folder structure is correct.\n'ideScript' folder must be placed in the root of the project, where:\n - exactly one '*.code-workspace' file must exist (this is also Workspace name)\n - '.vscode' folder is... | 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_RESET_IN... | 0 |
{'name': 'AbstractSegmentsContainer.get_footer_segment@pydifact/segmentcollection.py', 'description': 'Craft and return a footer segment.\n\nThis is similar to :meth:`get_header_segment`, but for the footer segment.', 'signature': 'def get_footer_segment(self) -> Optional[Segment]:'}</s>{'name': 'SegmentCollection@pydi... | 0 |
{'name': 'ParallelCounter._select_polygons@transit-network-analysis-tools/parallel_cpap.py', 'description': 'Select the subset of polygons for this FacilityID/FromBreak/ToBreak combo and return the layer.', 'signature': 'def _select_polygons(self):'}</s>FACILITY_ID_FIELD = "FacilityID" | 1 |
{'name': 'FullModel.__init__@GreedyInfoMax/audio/models/full_model.py', 'description': 'Entire CPC model that can be split into smaller chunks for training', 'signature': 'def __init__('}</s>{'name': 'scatter@GreedyInfoMax/utils/utils.py', 'description': 'creates scatter plot for t-SNE visualization\n:param x: 2-D late... | 0 |
{'name': 'visualize_pdb@enzynet/visualization.py', 'description': 'Plots PDB in a volume and saves it in a file.', 'signature': 'def visualize_pdb(pdb_id: Text, p: int = 5, v_size: int = 32, num: int = 1,'}</s>CHECKPOINTS_DIR = os.path.join(ROOT_DIR, 'scripts/architecture/checkpoints/') | 0 |
{'name': 'test_add_rpm_urls@tests/test_bld2repo/test_bld2repo.py', 'description': 'Test for adding rpm urls to the pkgs dict for each package ', 'signature': 'def test_add_rpm_urls(load_test_data):'}</s>{'name': 'test_rpm_bulk_download_rpm_file_exists@tests/test_bld2repo/test_bld2repo.py', 'description': 'Test if we do... | 0 |
{'name': 'IedbBasePredictor.predict_subsequences@mhctools/iedb.py', 'description': 'Given a dictionary mapping unique keys to amino acid sequences,\nrun MHC binding predictions on all candidate epitopes extracted from\nsequences and return a EpitopeCollection.\n\nParameters\n----------\nfasta_dictionary : dict or strin... | 1 |
{'name': 'RMLAttribute.get@src/z3c/rml/attr.py', 'description': 'See zope.schema.interfaces.IField', 'signature': 'def get(self):'}</s>{'name': 'IRMLDirective@src/z3c/rml/interfaces.py', 'description': 'A directive in RML extracted from an Element Tree element.', 'base_classes': ['zope.interface.Interface'], 'methods':... | 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': '_config_create@dwave/cloud/cli.py', 'description': 'Full/simplified dwave create flows.', 'signature': 'def _config_create(config_file, profile, ask_full=False, auto_token=False, project=None):'}</s>{'name': 'json_output@dwave/cloud/cli.py', 'description': 'Decorate `fn` with `--json` option.', 'code': 'def j... | 0 |
{'name': 'Analysis@FastProject/Pipelines.py', 'description': 'Run the full FastProject analysis pipeline\n\nParameters\n----------\nexpressionMatrix : ExpressionData\nsignatures : list of Signatures.Signature\nprecomputed_signatures : dict\n Keys are precomputed signature names (str)\n Values are signature levels... | 0 |
{'name': 'sinc@metrics/equivariance.py', 'description': 'Applies the `sinc` function.', 'signature': 'def sinc(x):'}</s>{'name': 'apply_integer_translation@metrics/equivariance.py', 'description': 'Applies integer translation to a batch of 2D images.\n\nThe images will only be translated with integer number of pixels.\... | 0 |
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQRC_RFH_PARM_MISSING = 2339 | 0 |
{'name': 'create_autospec@Contents/Libraries/Shared/mock.py', 'description': "Create a mock object using another object as a spec. Attributes on the\nmock will use the corresponding attribute on the `spec` object as their\nspec.\n\nFunctions or methods being mocked will have their arguments checked\nto check that they ... | 0 |
{'name': 'StaticVariableTestCase.test_with_run_command@llvm-12.0.0-project/lldb/test/API/lang/cpp/class_static/TestStaticVariables.py', 'description': 'Test that file and class static variables display correctly.', 'signature': 'def test_with_run_command(self):'}</s>{'name': 'StaticVariableTestCase@llvm-12.0.0-project/... | 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': '_main@tools/gfx/png.py', 'description': 'Run the PNG encoder with options from the command line.', 'signature': 'def _main(argv):'}</s>{'name': 'tostring@tools/gfx/png.py', 'description': 'DOCSTRING', 'code': 'def tostring(row):\n return row.tobytes()'} | 0 |
{'name': 'TmpFormat.from_file@pysubs2/formats/tmp.py', 'description': 'See :meth:`pysubs2.formats.FormatBase.from_file()`', 'signature': 'def from_file(cls, subs: "SSAFile", fp: TextIO, format_: str, **kwargs: Any) -> None:'}</s>{'name': 'parse_tags@pysubs2/formats/substation.py', 'description': 'Split text into fragme... | 0 |
{'name': 'TestUnstructuredSolver.test_sample_dqm_smoke_test@tests/test_mock_unstructured_submission.py', 'description': 'Construction of and sampling from an unstructured DQM solver works.', 'signature': 'def test_sample_dqm_smoke_test(self):'}</s>{'name': 'complete_reply_binary_ref@tests/test_mock_unstructured_submiss... | 0 |
{'name': 'glacier_masks@oggm/core/gis.py', 'description': 'Makes a gridded mask of the glacier outlines that can be used by OGGM.\n\nFor a more robust solution (not OGGM compatible) see simple_glacier_masks.\n\nParameters\n----------\ngdir : :py:class:`oggm.GlacierDirectory`\n where to write the data', 'signature': ... | 0 |
{'name': '_populate_objective_func_block@lleaves/compiler/codegen/codegen.py', 'description': 'Takes the objective function specification and generates the code for it into the builder', 'signature': 'def _populate_objective_func_block('}</s>BOOL = ir.IntType(bits=1) | 0 |
{'name': 'live_ticket@tests/conftest.py', 'description': "Return an authentication ticket usable with AFIP's test servers.\n\nAFIP doesn't allow requesting tickets too often, so we after a few runs\nof the test suite, we can't generate tickets any more and have to wait.\n\nThis helper generates a ticket, and saves it t... | 1 |
{'name': 'get_boxes@dpipe/im/grid.py', 'description': "Yield boxes appropriate for a tensor of shape ``shape`` in a convolution-like fashion.\n\nParameters\n----------\nshape\n the input tensor's shape.\nbox_size\naxis\n axes along which the slices will be taken.\nstride\n the stride (step-size) of the slice.\... | 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': 'FlagClient.__init__@aiomcache/client.py', 'description': 'Creates new Client instance.\n\n:param host: memcached host\n:param port: memcached port\n:param pool_size: max connection pool size\n:param pool_minsize: min connection pool size\n:param conn_args: extra arguments passed to\n asyncio.open_connectio... | 0 |
{'name': 'flat_list_of_lists@utils/basic_utils.py', 'description': 'flatten a list of lists [[1,2], [3,4]] to [1,2,3,4]', 'signature': 'def flat_list_of_lists(l):'}</s>{'name': 'load_pickle@utils/basic_utils.py', 'description': 'DOCSTRING', 'code': 'def load_pickle(filename):\n with open(filename, "rb") as f:\n ... | 0 |
{'name': 'View.undrift_from_picked2d@picasso/gui/render.py', 'description': 'Undrifts in x and y based on picked locs in a given channel.\nAvailable when 3D data is loaded.', 'signature': 'def undrift_from_picked2d(self):'}</s>{'name': 'extract_valid_labels@picasso/clusterer.py', 'description': 'Extracts localizations ... | 0 |
{'name': 'quat2euler@trajopt/math_utils.py', 'description': 'Convert Quaternion to Euler Angles. See rotation.py for notes ', 'signature': 'def quat2euler(quat):'}</s>{'name': 'mulQuat@trajopt/math_utils.py', 'description': 'DOCSTRING', 'code': 'def mulQuat(qa, qb):\n res = np.zeros(4)\n res[0] = qa[0]*qb[0] - q... | 0 |
{'name': 'Simplifier.using_params@src/api/python/z3/z3.py', 'description': 'Return a simplifier that uses the given configuration options', 'signature': 'def using_params(self, *args, **keys):'}</s>{'name': '_to_probe@src/api/python/z3/z3.py', 'description': 'DOCSTRING', 'code': 'def _to_probe(p, ctx=None):\n if is_... | 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>MQCACF_REG_SUB_NAME = 3053 | 0 |
{'name': 'make_html_table@grizli/aws/db.py', 'description': ' ', 'signature': 'def make_html_table(engine=None, columns=[\'root\', \'status\', \'id\', \'p_ra\', \'p_dec\', \'mag_auto\', \'flux_radius\', \'z_spec\', \'z_map\', \'bic_diff\', \'chinu\', \'log_pdf_max\', \'d4000\', \'d4000_e\'], where="AND status >= 5 A... | 0 |
{'name': 'IRML2PDF.parseString@src/z3c/rml/interfaces.py', 'description': 'Parse an XML string and convert it to PDF.\n\nThe output is a ``StringIO`` object.', 'signature': 'def parseString(xml):'}</s>{'name': 'IRMLDirective@src/z3c/rml/interfaces.py', 'description': 'A directive in RML extracted from an Element Tree e... | 0 |
{'name': 'BareValidator._validate_items@cerberus/validator.py', 'description': "{'type': 'list', 'check_with': 'items'}", 'signature': 'def _validate_items(self, items, field, values):'}</s>toy_error_handler = errors.ToyErrorHandler() | 0 |
{'name': 'decode_string@integration/test_script.py', 'description': 'Decodes bytes to string from inferring encoding.', 'signature': 'def decode_string(encoded: bytes) -> str:'}</s>{'name': 'test_exit_code@integration/test_script.py', 'description': 'Test actual exit code `result` against an expected exit code in file ... | 0 |
{'name': 'set_jwst_to_hst_keywords@grizli/jwst_utils.py', 'description': 'Make primary header look like an HST instrument\n\nParameters\n----------\ninput : str, `~astropy.io.fits.HDUList`\n Filename or FITS HDUList object to modify.\n\nreset : bool\n Reset original JWST keywords to their original values.\n\nverb... | 0 |
{'name': 'process_assignments_and_deletions@da/compiler/incgen.py', 'description': 'Generate stub and hook for assignments and deletions.\n\nThis should be called after the query parameters have been accumulated.', 'signature': 'def process_assignments_and_deletions(state):'}</s>INC_MODULE_VAR = "IncModule" | 0 |
{'name': 'MatrixExp3@7_Demo_youBotPickAndPlace/code/modern_robotics/core.py', 'description': 'Computes the matrix exponential of a matrix in so(3)\n\n:param so3mat: A 3x3 skew-symmetric matrix\n:return: The matrix exponential of so3mat\n\nExample Input:\n so3mat = np.array([[ 0, -3, 2],\n [ 3,... | 0 |
{'name': 'TabHolder.render@crispy_forms_foundation/layout/containers.py', 'description': 'Re-implement almost the same code from crispy_forms but passing\n``form`` instance to item ``render_link`` method.', 'signature': 'def render(self, form, context, template_pack=TEMPLATE_PACK):'}</s>{'name': 'AccordionItem@crispy_f... | 0 |
{'name': 'Model.transform@plda/model.py', 'description': "Potential_spaces: 'D' <---> 'X' <---> 'U' <---> 'U_model'.\n\nDESCRIPTION\n There are 6 basic transformations to move back and forth\n between the data space, 'D', and the model's space, 'U_model':\n\n 1. From D to X.\n (i.e. from data space to preprocessed... | 1 |
{'name': 'About.set_standard_fields@src/attributecode/model.py', 'description': 'Create fields in an ordered dict to keep a standard ordering. We\ncould use a metaclass to track ordering django-like but this approach\nis simpler.', 'signature': 'def set_standard_fields(self):'}</s>{'name': 'parse_license_expression@src... | 0 |
{'name': 'acquire_global_lock@src/supporting-files/lock_util.py', 'description': 'Acquire a \'global\' lock (across all instances) for the given key.\n\nThis is technically a \'lease\' rather than a \'lock\' because it can\ntime out. The timeout should be the maximum length of a request,\nwhich is 60 seconds for norma... | 0 |
{'name': 'routsign2map@venv/Lib/site-packages/numpy/f2py/capi_maps.py', 'description': 'name,NAME,begintitle,endtitle\nrname,ctype,rformat\nroutdebugshowvalue', 'signature': 'def routsign2map(rout):'}</s>{'name': 'ischaracter@venv/Lib/site-packages/numpy/f2py/auxfuncs.py', 'description': 'DOCSTRING', 'code': "def ischa... | 0 |
{'name': 'DECIMER_Predictor.__init__@DECIMER/Repack_model.py', 'description': 'Load the tokenizers, the maximum input and output length and the\nmodel.\n\nArgs:\n encoder (tf.keras.model): The encoder model\n tokenizer (tf.keras.tokenizer): Output tokenizer, defines which character is assigned to what token\n ... | 0 |
{'name': 'dict_indexer_with_default@yaql/standard_library/collections.py', 'description': ':yaql:operator indexer\n\nReturns value of a dictionary by given key or default if there is\nno such key.\n\n:signature: left[right, default]\n:arg left: input dictionary\n:argType left: dictionary\n:arg right: key\n:argType righ... | 0 |
{'name': 'generate_routes_go@swagger_to/go_server.py', 'description': 'Generate the file which defines the router and the routes.\n\n:param package: name of the package\n:param routes: routes that the router will handle.\n:return: Golang code', 'signature': 'def generate_routes_go(package: str, routes: List[Route]) -> ... | 1 |
{'name': 'ProcessLine@ament_cpplint/ament_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 fi... | 0 |
{'name': 'ParseArguments@tools/cpplint.py', 'description': 'Parses the command line arguments.\n\nThis may set the output format and verbosity level as side-effects.\n\nArgs:\n args: The command line arguments:\n\nReturns:\n The list of filenames to lint.', 'signature': 'def ParseArguments(args):'}</s>{'name': 'Check... | 0 |
{'name': 'build@python/resnet/resnet32_model.py', 'description': 'Instantiates ResNet32 model ', 'signature': 'def build():'}</s>{'name': 'conv_building_block@python/resnet/resnet32_model.py', 'description': 'A block that has a conv layer at shortcut.\n\nArguments:\n input_tensor: input tensor\n kernel_size: defa... | 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\... | 1 |
{'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,... | 1 |
{'name': 'data_generator.__iter__@examples/task_reading_comprehension_by_seq2seq.py', 'description': '单条样本格式:[CLS]篇章[SEP]问题[SEP]答案[SEP]\n ', 'signature': 'def __iter__(self, random=False):'}</s>{'name': 'CrossEntropy@examples/task_reading_comprehension_by_seq2seq.py', 'description': '交叉熵作为loss,并mask掉输入部分\n ',... | 0 |
{'name': '_default_audio_resampler@elpis/transformer/__init__.py', 'description': 'A default audio resampler that converts any media accepted by sox to a\nstandard format specified in process_item.\n:param audio_paths: list of paths to audio files to resample.\n:param resampled_dir_path: path to a directory to save the... | 0 |
{'name': 'ProcessFileData@llvm-12.0.0-project/compiler-rt/lib/sanitizer_common/scripts/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... | 0 |
{'name': 'Annotation.calc_cl_bytes@wfdb/io/annotation.py', 'description': 'Calculate the bytes written to the annotation file for the\ncustom_labels field.\n\nParameters\n----------\nN/A\n\nReturns\n-------\nlist, ndarray\n All of the bytes to be written to the annotation file.', 'signature': 'def calc_cl_bytes(self... | 0 |
{'name': 'main@tools/otsdb-dump-restore/src/kilda/tsdb_dump_restore/dump.py', 'description': 'This tool dumps the data from an OpenTSDB\n\nOPENTSDB_ENDPOINT openTSDB endpoint\n\nTIME_START time since the data is dumped\n\nExample:\nkilda-otsdb-dump http://example.com:4242 2023-03-08', 'signature': 'def main(opentsdb_en... | 0 |
{'name': 'IUCoordinator.service_call@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Entry point for all service calls.', 'signature': 'def service_call('}</s>CONF_FINISH = "finish" | 0 |
{'name': 'safe_dump_all@strictyaml/ruamel/main.py', 'description': 'Serialize a sequence of Python objects into a YAML stream.\nProduce only basic YAML tags.\nIf stream is None, return the produced string instead.', 'signature': 'def safe_dump_all(documents, stream=None, **kwds):'}</s>{'name': 'round_trip_load@strictya... | 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': 'SuperSmoother._enhance_bass@ace/supersmoother.py', 'description': 'Update best span choices with bass enhancement as requested by user (Eq. 11).', 'signature': 'def _enhance_bass(self):'}</s>{'name': 'Smoother@ace/smoother.py', 'description': 'Smoother that accepts data and produces smoother curves that fit t... | 0 |
{'name': 'Empty@src/api/python/z3/z3.py', 'description': 'Create the empty sequence of the given sort\n>>> e = Empty(StringSort())\n>>> e2 = StringVal("")\n>>> print(e.eq(e2))\nTrue\n>>> e3 = Empty(SeqSort(IntSort()))\n>>> print(e3)\nEmpty(Seq(Int))\n>>> e4 = Empty(ReSort(SeqSort(IntSort())))\n>>> print(e4)\nEmpty(ReSo... | 0 |
{'name': 'field_rgb@grizli/pipeline/auto_script.py', 'description': "RGB image of the field mosaics\n\nParameters\n----------\n\nroot : str\n Field rootname\n\nxsize : float\n Figure size\n\noutput_dpi : int\n Figure DPI\n\nHOME_PATH : str\n Path to look for mosaic files\n\nshow_ir : bool\n Clip around W... | 0 |
{'name': 'PySRRegressor.from_file@pysr/sr.py', 'description': 'Create a model from a saved model checkpoint or equation file.\n\nParameters\n----------\nrun_directory : str\n The directory containing outputs from a previous run.\n This is of the form `[output_directory]/[run_id]`.\n Default is `None`.\nbinary_... | 0 |
{'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>_urllib_request_moved_attributes = [
... | 0 |
{'name': 'TestObjectsE2E.test_create_alias_a_record@e2e_tests/test_objects.py', 'description': 'Create two A records with different names, but pointing to the same\nipv4addr', 'signature': 'def test_create_alias_a_record(self):'}</s>{'name': 'Admingroup@infoblox_client/objects.py', 'description': "Admingroup: Admin Gro... | 0 |
{'name': 'pre_checks@ytmdl/main.py', 'description': 'Run some checks in order to make sure the basic things are\nworking all right.', 'signature': 'def pre_checks(args):'}</s>{'name': 'ret_proper_names@ytmdl/dir.py', 'description': 'Return a list with the names changed to itunespy supported ones.\n\nFor eg: Artist to a... | 0 |
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQPROP_V6COMPAT = 4 | 0 |
{'name': 'calculate_gamma_values@sunkit_image/asda.py', 'description': 'Calculate ``gamma1`` and ``gamma2`` values of velocity field vx and vy.\n\nParameters\n----------\nvx : `numpy.ndarray`\n Velocity field in the x direction.\nvy : `numpy.ndarray`\n Velocity field in the y direction.\nfactor : `int`, optional\... | 1 |
{'name': 'MACAddr.decode@aioblescan/aioblescan.py', 'description': 'Decode the MAC address from a byte array.\n\nThis will take the first 6 bytes from data and transform them into a MAC address\nstring representation. This will be assigned to the attribute "val". It then returns\nthe data stream minus the bytes consume... | 0 |
{'name': 'PFPool._to_string@pf/rule.py', 'description': 'Return the string representation of the address pool.', 'signature': 'def _to_string(self):'}</s>ICMP_REDIRECT_TOSHOST = 3 | 0 |
{'name': 'generate_nonce@weibopy/oauth.py', 'description': 'Generate pseudorandom number.', 'signature': 'def generate_nonce(length=8):'}</s>{'name': 'OAuthSignatureMethod@weibopy/oauth.py', 'description': 'A strategy class that implements a signature method.', 'base_classes': ['object'], 'methods': [{'name': 'OAuthSig... | 0 |
{'name': 'StormpathBackend._stormpath_authenticate@django_stormpath/backends.py', 'description': 'Check if Stormpath authentication works\n\n:param username: Can be actual username or email\n:param password: Account password\n\nReturns an account object if successful or None otherwise.', 'signature': 'def _stormpath_au... | 0 |
{'name': 'ObjectDetectionEvaluation.evaluate@alphaction/dataset/datasets/evaluation/ava/pascal_evaluation/object_detection_evaluation.py', 'description': 'Compute evaluation result.\n\nReturns:\n A named tuple with the following fields -\n average_precision: float numpy array of average precision for\n each ... | 0 |
{'name': 'QueueManager._is_connected@code/pymqi/__init__.py', 'description': "Try pinging the queue manager in order to see whether the application\nis connected to it. Note that the method is merely a convienece wrapper\naround MQCMD_PING_Q_MGR, in particular, there's still possibility that\nthe app will disconnect be... | 0 |
{'name': 'PythonModuleSourceFileGenerator._GetPythonTypeObjectFunctionPrototype@yaldevtools/source_generators/python_module.py', 'description': 'Determines the Python type object function prototypes.\n\nArgs:\n project_configuration (ProjectConfiguration): project configuration.\n type_name (str): type name.\n type_... | 1 |
{'name': 'engine.classical@src/bids/external/inflect.py', 'description': 'turn classical mode on and off for various categories\n\nturn on all classical modes:\nclassical()\nclassical(all=True)\n\nturn on or off specific claassical modes:\ne.g.\nclassical(herd=True)\nclassical(names=False)\n\nBy default all classical m... | 0 |
{'name': '_GenerateMSVSProject@gyp/pylib/gyp/generator/msvs.py', 'description': 'Generates a .vcproj file. It may create .rules and .user files too.\n\nArguments:\n project: The project object we will generate the file for.\n options: Global options passed to the generator.\n version: The VisualStudioVersion object... | 1 |
{'name': 'make_environment_relocatable@bootstrap.py', 'description': 'Makes the already-existing environment use relative paths, and takes out\nthe #!-based environment selection in scripts.', 'signature': 'def make_environment_relocatable(home_dir):'}</s>MH_MAGIC = 4277009102 | 0 |
{'name': 'test_unbound_method_handler@tests/test_event.py', 'description': 'Test failure mode for unbound method handlers.', 'signature': 'def test_unbound_method_handler():'}</s>{'name': 'test_protected_instance_event@tests/test_event.py', 'description': 'Test protected instance events.', 'code': 'def test_protected_i... | 0 |
{'name': 'Zeroconf.handleQuery@stino/pyarduino/base/zeroconf.py', 'description': 'Deal with incoming query packets. Provides a response if\npossible.', 'signature': 'def handleQuery(self, msg, addr, port):'}</s>{'name': 'NonLocalNameException@stino/pyarduino/base/zeroconf.py', 'description': 'DOCSTRING', 'base_classes... | 0 |
{'name': 'get_current_error@wrappers/python/indy_vdr/bindings.py', 'description': 'Get the error result from the previous failed API method.\n\nArgs:\n expect: Return a default error message if none is found', 'signature': 'def get_current_error(expect: bool = False) -> VdrError:'}</s>{'name': 'pool_get_verifiers@wr... | 0 |
{'name': 'WebSocket.close@vertx-web/src/test/sockjs-protocol/websocket/_core.py', 'description': 'Close Websocket object\n\nstatus: status code to send. see STATUS_XXX.\n\nreason: the reason to close. This must be string.\n\ntimeout: timeout until receive a close frame.\n If None, it will wait forever until receive ... | 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': 'PolicyNetwork.evaluate@td3.py', 'description': 'generate action with state as input wrt the policy network, for calculating gradients', 'signature': 'def evaluate(self, state, deterministic, eval_noise_scale, epsilon=1e-6):'}</s>{'name': 'Reacher@reacher.py', 'description': 'DOCSTRING', 'base_classes': [], 'm... | 0 |
{'name': 'FloatValueChecker.CheckValue@python/google/protobuf/internal/type_checkers.py', 'description': 'Check and convert proposed_value to float.', 'signature': 'def CheckValue(self, proposed_value):'}</s>INT64_MAX = (1 << 63) - 1 | 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': 'TarInfo.frombuf@venv/Lib/site-packages/pip-19.0.3-py3.8.egg/pip/_vendor/distlib/_backport/tarfile.py', 'description': 'Construct a TarInfo object from a 512 byte bytes object.\n ', 'signature': 'def frombuf(cls, buf, encoding, errors):'}</s>{'name': 'TarIter@venv/Lib/site-packages/pip-19.0.3-py3.8.egg/... | 0 |
{'name': 'Decoder.forward@model.py', 'description': 'Decoder forward pass for training\nPARAMS\n------\nmemory: Encoder outputs. (B, seq_len, encoder_embedding_dim + prosody_embedding_dim + speaker_embedding_dim)\ndecoder_inputs: Decoder inputs for teacher forcing. i.e. mel-specs\nmemory_lengths: Encoder output lengths... | 1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.