text
string
label
int64
{'name': 'get_params@project_sample/2019-2ProjectSamples_Code/15조-Unsupervised learning을 이용한 영상 개선/utils/common_utils.py', 'description': 'Returns parameters that we want to optimize over.\n\nArgs:\n opt_over: comma separated list, e.g. "net,input" or "net"\n net: network\n net_input: torch.Tensor that stores ...
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': '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': 'CascadeRCNNRel.aug_test@mmdet/models/detectors/cascade_rcnn_rel.py', 'description': 'Test with augmentations.\nIf rescale is False, then returned bboxes and masks will fit the scale\nof imgs[0].', 'signature': 'def aug_test(self, imgs, img_metas, proposals=None, rescale=False):'}</s>{'name': 'bbox2result@mmde...
1
{'name': 'union@polytope/polytope.py', 'description': 'Compute the union of polytopes or regions\n\n@type polyreg1: L{Polytope} or L{Region}\n@type polyreg2: L{Polytope} or L{Region}\n@param check_convex: if True, look for convex unions and simplify\n\n@return: region of non-overlapping polytopes describing the union',...
0
{'name': 'S2V_Tests.test1@blockchain-env/lib/python3.7/site-packages/Cryptodome/SelfTest/Protocol/test_KDF.py', 'description': 'Verify correctness of test vector', 'signature': 'def test1(self):'}</s>{'name': 'new@blockchain-env/lib/python3.7/site-packages/Cryptodome/Hash/SHA256.py', 'description': 'Create a new hash o...
1
{'name': 'CSSParser.selector_iter@SneakerBot 2019/venv/lib/python3.7/site-packages/soupsieve/css_parser.py', 'description': 'Iterate selector tokens.', 'signature': 'def selector_iter(self, pattern):'}</s>COMMENTS = "(?:/\*[^*]*\*+(?:[^/*][^*]*\*+)*/)"
0
{'name': 'Fourier.line_integrate_all_multi@torchlaplace/inverse_laplace.py', 'description': 'Reconstruct trajectories :math:`\\mathbf{x}(t)` for `fp`, Laplace representations evaluated at `s` points from the input `ti` points, :math:`t`, using the selected ILT algorithm (takes batch input of `fp`).\n\nArgs:\n fp (Te...
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_XQH_REMOTE_Q_NAME = 3201
0
{'name': 'TestCommon.test_series_dtype_int_5@tests/unit_tests/report/test_common.py', 'description': 'Test int and categorical series', 'signature': 'def test_series_dtype_int_5(self):'}</s>{'name': 'VarType@eurybia/report/common.py', 'description': 'Helper class to indicate the type of a variable.', 'base_classes': ['...
1
{'name': 'main@src/weresync/interface/cli.py', 'description': 'The entry point for the command line function. This uses argparse to\nparse arguments to call call :py:func:`.copy_drive` with. For help use\n"weresync -h" in a commandline after installation.', 'signature': 'def main():'}</s>DEFAULT_LENGTH = 60
0
{'name': 'CrawlManager.limit_requests@scrapyrt/core.py', 'description': 'Stop crawl after reaching max_requests.', 'signature': 'def limit_requests(self, spider):'}</s>{'name': 'setup_spider_logging@scrapyrt/log.py', 'description': "Initialize and configure default loggers\n\nCopied from Scrapy and updated, because ver...
0
{'name': 'create_project@src/pyscript/_generator.py', 'description': 'New files created:\n\npyscript.toml - project metadata and config file\nmain.py - a "Hello world" python starter module\nindex.html - start page for the project', 'signature': 'def create_project('}</s>{'name': 'save_config_file@src/pyscript/_generat...
1
{'name': 'IsOutOfLineMethodDefinition@tools/cpplint.py', 'description': 'Check if current line contains an out-of-line method definition.\n\nArgs:\n clean_lines: A CleansedLines instance containing the file.\n linenum: The number of the line to check.\nReturns:\n True if current line contains an out-of-line method d...
0
{'name': 'Plant.get_observation@src/astrobotany/models.py', 'description': "A long-form description of the plant.\n\nThis includes a random observations and other specific details about\nthe plant's current stage.", 'signature': 'def get_observation(self, ansi_enabled: bool = False) -> str:'}</s>badge_38 = Badge("smili...
0
{'name': 'TestReadMemCString.test_read_memory_c_string@llvm-project/lldb/test/API/python_api/process/read-mem-cstring/TestReadMemCString.py', 'description': 'Test corner case behavior of SBProcess::ReadCStringFromMemory', 'signature': 'def test_read_memory_c_string(self):'}</s>{'name': 'BasicFormatter@llvm-project/lldb...
0
{'name': 'get_makefile_lines@config/makefile.py', 'description': "Generate all of the lines to be written in a particular configuration's makefile ", 'signature': 'def get_makefile_lines(build_id, executable, module_info):'}</s>{'name': 'explode@config/util.py', 'description': 'Convert a dictionary with a list member t...
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': 'device_removed@tools/ble_sniffer/extcap/nrf_sniffer_ble.py', 'description': 'A device is removed', 'signature': 'def device_removed(notification):'}</s>logFlusher = None
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>MQQMF_REPOSITORY_Q_MGR = py23long(0x00000002)
0
{'name': 'TranscriptionEvaluationMixin.compute_wer@montreal_forced_aligner/transcription/transcriber.py', 'description': 'Evaluates the transcripts if there are reference transcripts\n\nRaises\n------\n:class:`~montreal_forced_aligner.exceptions.KaldiProcessingError`\n If there were any errors in running Kaldi binar...
0
{'name': 'geticmptypebynumber@pf/_utils.py', 'description': 'Return the ICMP type as a string.', 'signature': 'def geticmptypebynumber(type, af):'}</s>ICMP_MOBILE_REGREQUEST = 35
0
{'name': 'PintArray._from_sequence@pint_pandas/pint_array.py', 'description': 'Initialises a PintArray from a list like of quantity scalars or a list like of floats and dtype\n-----\nUsage\nPintArray._from_sequence([Q_(1,"m"),Q_(2,"m")])', 'signature': 'def _from_sequence(cls, scalars, dtype=None, copy=False):'}</s>NO_...
0
{'name': 'dashboard_get_definition@tessera-server/tessera/views_api.py', 'description': 'Fetch the definition for a dashboard. This returns the\nrepresentation to use when modifiying a dashboard.', 'signature': 'def dashboard_get_definition(id):'}</s>{'name': 'DonutChart@tessera-server/tessera/client/api/model.py', 'de...
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': 'fpToFP@src/api/python/z3/z3.py', 'description': 'Create a Z3 floating-point conversion expression from other term sorts\nto floating-point.\n\nFrom a bit-vector term in IEEE 754-2008 format:\n>>> x = FPVal(1.0, Float32())\n>>> x_bv = fpToIEEEBV(x)\n>>> simplify(fpToFP(x_bv, Float32()))\n1\n\nFrom a floating-p...
0
{'name': 'build_recipes@bioconda_utils/build.py', 'description': 'Build one or many bioconda packages.\n\nArguments:\n recipe_folder: Directory containing possibly many, and possibly nested, recipes.\n config_path: Path to config file\n packages: Glob indicating which packages should be considered. Note that package...
1
{'name': 'diff_entire_folder_against_full_history_subcommand@ascmhl/commands.py', 'description': 'Checks MHL hashes from all generations against all file hash entries.\n\nROOT_PATH: the root path to use for the asc mhl history\n\nTraverses through the content of a folder. The command finds all files that are existent i...
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': 'ButtonTypedI2c.size@grove/button/button_i2c.py', 'description': 'Get the button count the device have.\n\nReturns:\n (int): button count', 'signature': 'def size(self):'}</s>{'name': 'Bus@grove/i2c.py', 'description': 'DOCSTRING', 'base_classes': [], 'methods': [{'name': 'Bus.__init__@grove/i2c.py', 'descr...
0
{'name': 'register_adapter@psycopg2/extensions.py', 'description': "Register 'callable' as an ISQLQuote adapter for type 'typ'.", 'signature': 'def register_adapter(typ, callable):'}</s>STATUS_ASYNC = 4
0
{'name': 'PhonetisaurusTrainerMixin.train_ngram_model@montreal_forced_aligner/g2p/phonetisaurus_trainer.py', 'description': 'Train an ngram model on the aligned FSTs', 'signature': 'def train_ngram_model(self) -> None:'}</s>BLAS_NUM_THREADS = 1
0
{'name': 'changing_dataset2d@tests/conftest.py', 'description': 'Creates a dataset containing data with different baselines.\n\nUseful for comparing results where issues repeatedly fitting a baseline are possible.\n\nParameters\n----------\ndata_size : Container(int, int), optional\n The number of data points to use...
0
{'name': 'Serial._reconfigure_port@serial/serialwin32.py', 'description': 'Set communication parameters on opened port.', 'signature': 'def _reconfigure_port(self):'}</s>CE_OVERRUN = 2
0
{'name': 'note_to_svara_h@librosa/core/convert.py', 'description': "Convert western notes to Hindustani svara\n\nNote that this conversion assumes 12-tone equal temperament.\n\nParameters\n----------\nnotes : str or iterable of str\n Notes to convert (e.g., `'C#'` or `['C4', 'Db4', 'D4']`\n\nSa : str\n Note corre...
0
{'name': 'CheckForNonConstReference@ament_cpplint/ament_cpplint/cpplint.py', 'description': 'Check for non-const references.\n\nSeparate from CheckLanguage since it scans backwards from current\nline, instead of scanning forward.\n\nArgs:\n filename: The name of the current file.\n clean_lines: A CleansedLines instan...
0
{'name': 'HindcastEnsemble.add_uninitialized@src/climpred/classes.py', 'description': 'Add a companion uninitialized ensemble for comparison to verification data.\n\nArgs:\n uninit: uninitialzed ensemble.', 'signature': 'def add_uninitialized('}</s>{'name': '_sanitize_to_list@src/climpred/prediction.py', 'descriptio...
0
{'name': 'quit@ui/sidebar.py', 'description': 'Stop the Streamlit server', 'signature': 'def quit():'}</s>{'name': 'initialize_tables@core/model.py', 'description': "Creates the tables if they don't exist yet, and creates initial data.", 'code': 'def initialize_tables():\n """Creates the tables if they don\'t exist ...
0
{'name': 'NodeRedSwitch.is_on@custom_components/nodered/switch.py', 'description': 'Return the state of the switch.', 'signature': 'def is_on(self) -> bool:'}</s>TYPE_DEVICE_TRIGGER = "device_trigger"
0
{'name': 'get_accuracy@numpy/lab-06-2-softmax_zoo_classifier.py', 'description': 'Returna an accracy\n\nArgs:\n logit (2-D Array): Logit array of shape (N, C)\n labels (2-D Array): Onehot label array of shape (N, C)\n\nReturns:\n float: Accuracy', 'signature': 'def get_accuracy(logit, labels):'}</s>PRINT_N = 1...
0
{'name': '_write_type_definition@swagger_to/elm_client.py', 'description': 'Write the type definition in the Elm code.\n\n:param typedef: to be declared\n:param fid: target\n:return:', 'signature': 'def _write_type_definition(typedef: Typedef, fid: TextIO) -> None:'}</s>{'name': '_request_function_name@swagger_to/elm_c...
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': 'Message.from_pydict@src/betterproto/__init__.py', 'description': 'Parse the key/value pairs into the current message instance. This returns the\ninstance itself and is therefore assignable and chainable.\n\nParameters\n-----------\nvalue: Dict[:class:`str`, Any]\n The dictionary to parse from.\n\nReturns\n...
0
{'name': 'CRUDMixin.get_context_data@cruds/views.py', 'description': 'Adds available urls and names.', 'signature': 'def get_context_data(self, **kwargs):'}</s>ACTION_DETAIL = "detail"
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_not_module_exception@tests/test_bld2repo/test_bld2repo.py', 'description': 'Test raise when the build ...
0
{'name': 'calibrate_extrinsics@Pose2Sim/calibration.py', 'description': 'Calibrates extrinsic parameters\nfrom an image or the first frame of a video\nof a checkerboard or of measured clues on the scene\n\nINPUTS:\n- calib_dir: directory containing intrinsic and extrinsic folders, each populated with camera directories...
0
{'name': 'find_gaps@Ghidra/Processors/RISCV/scripts/binutil.py', 'description': 'Account for all the bits in the pattern\ndummy style just added as they got added', 'signature': 'def find_gaps(op):'}</s>NGPR = 32
0
{'name': 'MessageSender.send@uamqp/sender.py', 'description': 'Add a single message to the internal pending queue to be processed\nby the Connection without waiting for it to be sent.\n\n:param message: The message to send.\n:type message: ~uamqp.message.Message\n:param callback: The callback to be run once a dispositi...
0
{'name': 'train@fairseq_cli/train.py', 'description': 'Train the model for one epoch and return validation losses.', 'signature': 'def train('}</s>{'name': 'fsdp_enable_wrap@fairseq/distributed/fully_sharded_data_parallel.py', 'description': 'DOCSTRING', 'code': 'def fsdp_enable_wrap(cfg: DistributedTrainingConfig):\n ...
0
{'name': '_pretty_message@3rdparty/mongo-c-driver-1.26.2/.evergreen/ocsp/mock_ocsp_responder.py', 'description': 'Takes a multi-line string and does the following:\n - dedents\n - converts newlines with text before and after into a single line\n - strips leading and trailing whitespace\n:param string:\n The string t...
0
{'name': 'MessageSetItemEncoder@python/google/protobuf/internal/encoder.py', 'description': 'Encoder for extensions of MessageSet.\n\nThe message set message looks like this:\n message MessageSet {\n repeated group Item = 1 {\n required int32 type_id = 2;\n required string message = 3;\n }\n }', 'sign...
0
{'name': 'set_default@art/functions.py', 'description': 'Change text2art, tprint and tsave default values.\n\n:param font: input font\n:type font:str\n:param chr_ignore: ignore not supported character\n:type chr_ignore:bool\n:param filename: output file name (only tsave)\n:type filename:str\n:param print_status : save ...
0
{'name': '_IncludeState.CheckNextIncludeOrder@ament_cpplint/ament_cpplint/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 ...
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': '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>CMAP_GNUPLOT = 60
0
{'name': 'train@fairseq_cli/train.py', 'description': 'Train the model for one epoch and return validation losses.', 'signature': 'def train('}</s>{'name': 'xla_device_to_cpu@fairseq/utils.py', 'description': 'DOCSTRING', 'code': 'def xla_device_to_cpu(dat):\n import torch_xla.core.xla_model as xm\n\n return xm._...
0
{'name': 'CastlingTestCase.test_castling_into_check@tests/test_utilities.py', 'description': '. . . . . . . .\n. . . . . . . .\n. . . . . . . .\n. . . . . . . .\n. . . . . . q .\n. . . . . . . .\n. . . . . . . .\n. . . . K . . R', 'signature': 'def test_castling_into_check(self):'}</s>{'name': 'without_opponent_pieces@...
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': 'preaggregate_time@verif/data.py', 'description': 'Aggregate array across time\n\nArgs:\n array (np.array): 3D array of observations or forecasts\n times (np.array): 1D array of unixtimes (seconds)\n aggregator (verif.aggregator.Aggregator): Aggregate with this function\n length (float): Aggregate ...
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': 'listTableColumns@py3/SciServer/SkyQuery.py', 'description': 'Returns a list of all columns in a table belonging to a particular dataset (more info in http://www.voservices.net/skyquery).\n\n:param tableName: name of table (string) within dataset.\n:param datasetName: name of dataset (string).\n:return: return...
0
{'name': 'mutate@gget/gget_mutate.py', 'description': "Takes in nucleotide sequences and mutations (in standard mutation annotation - see below)\nand returns mutated versions of the input sequences according to the provided mutations.\n\nReuiqred input argument:\n- sequences (str) Path to the fasta file containing ...
1
{'name': 'EncoderDecoderTests._test_pipeline@baselines/seq2seq_attention_copy/seq2seq/test/models_test.py', 'description': 'Helper function to test the full model pipeline.\n ', 'signature': 'def _test_pipeline(self, mode, params=None):'}</s>{'name': 'TestBasicSeq2Seq@baselines/seq2seq_attention_copy/seq2seq/test/mo...
0
{'name': 'check_for_formatting_issues@tor/validation/formatting_validation.py', 'description': 'Check the transcription for common formatting issues.', 'signature': 'def check_for_formatting_issues(transcription: str) -> Set[FormattingIssue]:'}</s>{'name': 'get_formatting_issue_message@tor/validation/formatting_validat...
0
{'name': 'BaseMessageBus.add_message_handler@dbus_next/message_bus.py', 'description': 'Add a custom message handler for incoming messages.\n\nThe handler should be a callable that takes a :class:`Message\n<dbus_next.Message>`. If the message is a method call, you may return\nanother Message as a reply and it will be m...
0
{'name': 'K@src/api/python/z3/z3.py', 'description': "Return a Z3 constant array expression.\n\n>>> a = K(IntSort(), 10)\n>>> a\nK(Int, 10)\n>>> a.sort()\nArray(Int, Int)\n>>> i = Int('i')\n>>> a[i]\nK(Int, 10)[i]\n>>> simplify(a[i])\n10", 'signature': 'def K(dom, v):'}</s>{'name': 'Context@src/api/python/z3/z3.py', 'd...
0
{'name': 'TestMommyCreatesAssociatedModels.test_create_many_to_many_with_through_option@tests/test_mommy.py', 'description': 'This does not works', 'signature': 'def test_create_many_to_many_with_through_option(self):'}</s>{'name': 'gen_related@model_mommy/random_gen.py', 'description': 'DOCSTRING', 'code': 'def gen_re...
0
{'name': 'Architecture.__get_register@gef.py', 'description': "Return a register's value.", 'signature': 'def __get_register(self, regname: str) -> int:'}</s>{'name': 'MemoryUnwatchCommand@gef.py', 'description': 'Removes address ranges to the memory view.', 'base_classes': ['GenericCommand'], 'methods': [{'name': 'Mem...
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': 'lookup_address@gef.py', 'description': 'Try to find the address in the process address space.\nReturn an Address object, with validity flag set based on success.', 'signature': 'def lookup_address(address: int) -> Address:'}</s>{'name': 'HighlightAddCommand@gef.py', 'description': 'Add a match to the highligh...
0
{'name': '_makeTags@SneakerBot 2019/venv/lib/python3.7/site-packages/pip-19.0.3-py3.7.egg/pip/_vendor/pyparsing.py', 'description': 'Internal helper to construct opening and closing tag expressions, given a tag name', 'signature': 'def _makeTags(tagStr, xml):'}</s>{'name': 'RecursiveGrammarException@SneakerBot 2019/ven...
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': 'SegWitTest.test_witness_sigops@test/functional/p2p_segwit.py', 'description': 'Ensure sigop counting is correct inside witnesses.', 'signature': 'def test_witness_sigops(self):'}</s>bord = ord
0
{'name': 'LogmeLogger._set_handlers_from_conf@logme/providers.py', 'description': 'Iterate through the config dict, set the active handlers', 'signature': 'def _set_handlers_from_conf(self, reconfig=False):'}</s>{'name': 'get_logger_config@logme/utils.py', 'description': "Get logger config as dictionary\n\n:param calle...
0
{'name': 'provider.stop_loading@dataset/union_person.py', 'description': 'to kill all threads\n ', 'signature': 'def stop_loading(self):'}</s>{'name': 'imgaugboxes_2_corner_bboxes@utils/train_tools.py', 'description': 'DOCSTRING', 'code': 'def imgaugboxes_2_corner_bboxes(imgaugboxes):\n """"""\n bboxes = [...
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': 'subsetAndDownsample@pipelines/pipeline_cellranger.py', 'description': 'Generate dataset...
0
{'name': 'fixture_repo_name@tests/conftest.py', 'description': 'Return a repository name.', 'signature': 'def fixture_repo_name() -> str:'}</s>{'name': 'fixture_response_get_bug@tests/conftest.py', 'description': 'Return a dict respresenting the GitHub API response body for the bug\nlabel.', 'code': 'def fixture_respon...
0
{'name': 'PFOp._from_string@pf/rule.py', 'description': 'Initalize a new instance from a string.', 'signature': 'def _from_string(self, operation):'}</s>PFUDPS_NSTATES = 3
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': 'main@alphapy/__main__.py', 'description': 'AlphaPy Main Program\n\nNotes\n-----\n(1) Initialize logging.\n(2) Parse the command line arguments.\n(3) Get the model configuration.\n(4) Create the model object.\n(5) Call the main AlphaPy pipeline.', 'signature': 'def main(args=None):'}</s>{'name': 'Model@alphapy...
1
{'name': '_exec_and_log@imagegw/shifter_imagegw/transfer.py', 'description': 'Execute a command and log the results to logger', 'signature': 'def _exec_and_log(cmd, logger):'}</s>{'name': 'remove_file@imagegw/shifter_imagegw/transfer.py', 'description': 'Remove the specified file from the system', 'code': 'def remove_f...
0
{'name': 'TestDateTimeField.test__parent__init__method_included_in_init_chain@tests/test_db_fields.py', 'description': 'Test to protect from accidental incorrect __init__ method overwrite.', 'signature': 'def test__parent__init__method_included_in_init_chain(self, db, mocker):'}</s>{'name': 'GenericLazyReferenceField@f...
0
{'name': 'iou_binary@solver/lov_softmax_multigpu.py', 'description': 'IoU for foreground class\nbinary: 1 foreground, 0 background', 'signature': 'def iou_binary(preds, labels, EMPTY=1., ignore=None, per_image=True):'}</s>{'name': 'StableBCELoss@solver/lov_softmax_multigpu.py', 'description': 'DOCSTRING', 'base_classes...
0
{'name': 'addr_to_hex@qa/rpc-tests/test_framework/netutil.py', 'description': "Convert string IPv4 or IPv6 address to binary address as returned by\nget_bind_addrs.\nVery naive implementation that certainly doesn't work for all IPv6 variants.", 'signature': 'def addr_to_hex(addr):'}</s>STATE_ESTABLISHED = "01"
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': 'draw_isobars@pymeteo/skewt.py', 'description': 'Plot isobars on axes\n\n:parameter axes: The axes to draw on\n:type axes: :py:class:`matplotlib.axes`\n\nThis function draws isobars at intervals of 2*dp.', 'signature': 'def draw_isobars(axes):'}</s>{'name': 'interp_pressure@pymeteo/interp.py', 'description': '...
0
{'name': 'create_patches@csbdeep/data/generate.py', 'description': "Create normalized training data to be used for neural network training.\n\nParameters\n----------\nraw_data : :class:`RawData`\n Object that yields matching pairs of raw images.\npatch_size : tuple\n Shape of the patches to be extraced from raw i...
0
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQCMD_INQUIRE_CONNECTION = 85
0
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQIACF_USAGE_SMDS = 1335
0
{'name': 'PyMolecule.GetAllDescriptor@PyBioMed/Pymolecule.py', 'description': '#################################################################\nCalculate all descriptors (608).\n\nUsage:\n\n res=GetAllDescriptor()\n\n res is a dict form.\n#################################################################', 'sign...
0
{'name': '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': 'Int@nbtlib/tag.py', 'description': 'Nbt tag representing a signed 32 bit integer.', 'base_classes': ['NumericInteger'], 'methods': ...
0
{'name': 'TestMommyCreatesAssociatedModels.test_create_many_to_many_with_through_option@tests/test_mommy.py', 'description': 'This does not works', 'signature': 'def test_create_many_to_many_with_through_option(self):'}</s>{'name': 'gen_multi_point@model_mommy/random_gen.py', 'description': 'DOCSTRING', 'code': "def ge...
0
{'name': 'parsemakesyntax@build/pymake/pymake/parser.py', 'description': 'Given Data, parse it into a data.Expansion.\n\n@param stopon (sequence)\n Indicate characters where toplevel parsing should stop.\n\n@param iterfunc (generator function)\n A function which is used to iterate over d, yielding (char, offset, ...
0
{'name': 'tally@util/runningstats.py', 'description': "To use tally, write code like the following.\n\n stat = Mean()\n ds = MyDataset()\n for batch in tally(stat, ds, cache='mymean.npz', batch_size=50):\n stat.add(batch)\n mean = stat.mean()\n\nThe first argument should be the Stat being computed. Af...
0
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQRCCF_IPADDR_ERROR = 3345
0
{'name': '_adjusted_local_rust_target@setuptools_rust/build.py', 'description': "Returns the local rust target for the given `plat_name`, if it is\nnecessary to 'force' a specific target for correctness.", 'signature': 'def _adjusted_local_rust_target(plat_name: str, env: Env) -> Optional[str]:'}</s>{'name': 'check_sub...
0
{'name': 'resume@supervized_partition/supervized_partition.py', 'description': 'Loads model and optimizer state from a previous checkpoint. ', 'signature': 'def resume(args):'}</s>DIR_PATH = os.path.dirname(os.path.realpath(__file__))
0
{'name': 'get_urls@openwisp_ipam/urls.py', 'description': 'returns:: all the urls of the openwisp-ipam module\narguments::\n api_views: location for getting API views', 'signature': 'def get_urls(api_views):'}</s>subnet_list_create = SubnetListCreateView.as_view()
0
{'name': 'parse_args@src/python_scripts/afnipy/lib_cdiflist.py', 'description': 'Go through user-entered options and fill an object with the values.\nThese will be used to setup plotting.', 'signature': 'def parse_args(full_argv):'}</s>{'name': 'num_cols_1D@src/python_scripts/afnipy/afni_util.py', 'description': 'retur...
0
{'name': 'isi_item_to_swagger_path@components/create_swagger_config.py', 'description': 'Convert isi item endpoint description to Swagger path.', 'signature': 'def isi_item_to_swagger_path(isi_api_name, isi_obj_name_space, isi_obj_name,'}</s>MAX_ARRAY_SIZE = 2147483642
0