text
string
label
int64
{'name': 'DefinitionInitializer.initialize@behave_restful/_definitions.py', 'description': 'Initializes the specified definition, if exists, into the execution\ncontext.\n\n:param context:\n Context object to initialize.', 'signature': 'def initialize(self, context):'}</s>DEFINITIONS_DIR = "definitions"
1
{'name': 'OpticalProduct._sun_earth_distance@eoreader/products/optical/optical_product.py', 'description': "Correction for the Sun-Earth distance variation\n\nUses ephem's function according to Maxar documentation:\nhttps://resources.maxar.com/white-papers/radiometric-use-of-worldview-legion-1-and-worldview-legion-2-im...
0
{'name': 'LibcxxMultiMapDataFormatterTestCase.test_with_run_command@lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/multimap/TestDataFormatterLibccMultiMap.py', 'description': 'Test that that file and class static variables display correctly.', 'signature': 'def test_with_ru...
0
{'name': '_parse_global_attrs@uxarray/io/_mpas.py', 'description': 'Helper to parse MPAS global attributes.', 'signature': 'def _parse_global_attrs(in_ds, out_ds):'}</s>NODE_Z_ATTRS = { "standard_name": "z", "long name": "Cartesian z location of the corner nodes of each face", "units": "meters", }
0
{'name': 'inference_detector@mmdet/apis/inference.py', 'description': 'Inference image(s) with the detector.\n\nArgs:\n model (nn.Module): The loaded detector.\n imgs (str/ndarray or list[str/ndarray]): Either image files or loaded\n images.\n\nReturns:\n If imgs is a str, a generator will be returned, ...
0
{'name': 'write_recipe@bioconda_utils/bioconductor_skeleton.py', 'description': 'Write the meta.yaml and build.sh files. If the package is detected to be\na data package (bsed on the detected URL from Bioconductor), then also\ncreate a post-link.sh and pre-unlink.sh script that will download and\ninstall the package. I...
1
{'name': 'ProcessFileData@tools/caffe-sphereface/scripts/cpp_lint.py', 'description': 'Performs lint checks and reports any errors to the given error function.\n\nArgs:\n filename: Filename of the file that is being processed.\n file_extension: The extension (dot not included) of the file.\n lines: An array of strin...
0
{'name': 'strategy2mealy@tulip/synth.py', 'description': 'Convert strategy to Mealy transducer.\n\nNote that the strategy is a deterministic game graph,\nbut the input `A` is given as the contraction of\nthis game graph.\n\n@param A:\n strategy', 'signature': 'def strategy2mealy('}</s>{'name': 'is_realizable@tulip/s...
0
{'name': 'filtertime@api/project/__init__.py', 'description': 'Applies a time filter (inclusive; extracted from request arguments) to an OpenSearch query and\nreturns the range as a tuple of integers representing the milliseconds since EPOCH. If\neither end of the range is unspecified, the start and end times default t...
0
{'name': 'GefCommand.load_extra_plugins@gef.py', 'description': 'Load the plugins from the gef-extras setting. Returns the number of new plugins added.', 'signature': 'def load_extra_plugins(self, extra_plugins_dir: pathlib.Path | None = None) -> int:'}</s>{'name': 'GefRunCommand@gef.py', 'description': 'Override GDB r...
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': 'TestObjectsE2E@e2e_tests/test_objects.py', 'description': 'DOCSTRING', 'base_...
1
{'name': 'format@src/convertdate/french_republican.py', 'description': 'Convert a FR date into a string with the format DD MONTH YYYY.', 'signature': 'def format(an, mois, jour):'}</s>EPOCH = 1721425.5
0
{'name': 'PFPool._to_string@pf/rule.py', 'description': 'Return the string representation of the address pool.', 'signature': 'def _to_string(self):'}</s>{'name': 'hfsc_pktcntr@pf/_struct.py', 'description': 'DOCSTRING', 'base_classes': ['Structure'], 'methods': []}
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': 'PFState._to_string@pf/state.py', 'description': 'Return a string representing the state.', 'signature': 'def _to_string(self):'}</s>PF_NAT_PROXY_PORT_HIGH = 65535
0
{'name': 'create_point_cloud@6_Demo_MatlabAndPythonControl/python/VREP_RemoteAPIs/visualization.py', 'description': "Create a point cloud object in the simulation, plus optionally render the depth and rgb images.\n\n# Arguments\n\n display_name: name string to use for the object in the sim scene\n depth_image: A ...
0
{'name': 'sort_by_qnumbers@pytenet/bond_ops.py', 'description': 'Sorts a matrix according to quantum numbers.\n\nReturns:\n A: sorted matrix\n (idx0, q0): indices that would sort the qnums, sorted quantum numbers for the rows\n (idx1, q1): indices that would sort the qnums, sorted quantum numbers for the colum...
0
{'name': 'IB.reqMktData@ib_insync/ib.py', 'description': 'Subscribe to tick data or request a snapshot.\nReturns the Ticker that holds the market data. The ticker will\ninitially be empty and gradually (after a couple of seconds)\nbe filled.\n\nhttps://interactivebrokers.github.io/tws-api/md_request.html\n\nArgs:\n ...
0
{'name': 'filter1d@Pose2Sim/filtering.py', 'description': 'Choose filter type and filter column\n\nINPUT:\n- col: Pandas dataframe column\n- filter_type: filter type from Config.toml\n- frame_rate: int\n\nOUTPUT:\n- col_filtered: Filtered pandas dataframe column', 'signature': 'def filter1d(col, config_dict, filter_typ...
0
{'name': 'ConcurrentBaseModelFormSet._management_form@src/concurrency/admin.py', 'description': 'Returns the ManagementForm instance for this FormSet.', 'signature': 'def _management_form(self):'}</s>{'name': '_set_version@src/concurrency/core.py', 'description': "Set the given version on the passed object\n\nThis func...
0
{'name': 'get_domain_literal@src/future/backports/email/_header_value_parser.py', 'description': 'domain-literal = [CFWS] "[" *([FWS] dtext) [FWS] "]" [CFWS]\n\n ', 'signature': 'def get_domain_literal(value):'}</s>_cte_encoders = { 'q': encode_q, 'b': encode_b, }
0
{'name': 'train_one_epoch@action_cls/train.py', 'description': 'ops: dict mapping from string to tf ops ', 'signature': 'def train_one_epoch(sess, ops, train_writer):'}</s>{'name': 'log_string@action_cls/train.py', 'description': 'DOCSTRING', 'code': "def log_string(out_str):\n LOG_FOUT.write(out_str+'\\n')\n LOG...
1
{'name': 'GroupStats.plot_correlation@ffn/core.py', 'description': "Utility function to plot correlations.\n\nArgs:\n * freq (str): Pandas data frequency alias string\n * title (str): Plot title\n * figsize (tuple (x,y)): figure size\n * kwargs: passed to Pandas' plot_corr_heatmap function", 'signature': 'd...
0
{'name': 'get_address_list@src/future/backports/email/_header_value_parser.py', 'description': 'address_list = (address *("," address)) / obs-addr-list\n obs-addr-list = *([CFWS] ",") address *("," [address / CFWS])\n\nWe depart from the formal grammar here by continuing to parse until the end\nof the input, assumin...
0
{'name': 'train_one_epoch@action_cls/train.py', 'description': 'ops: dict mapping from string to tf ops ', 'signature': 'def train_one_epoch(sess, ops, train_writer):'}</s>NUM_FRAME = FLAGS.num_frames
0
{'name': '_AppHandler._read_build_config@jupyterlab/commands.py', 'description': 'Get the build config data for the app dir.', 'signature': 'def _read_build_config(self):'}</s>{'name': '_semver_prerelease_key@jupyterlab/commands.py', 'description': 'Sort key for prereleases.\n\nPrecedence for two pre-release versions w...
0
{'name': 'About.dump_lic@src/attributecode/model.py', 'description': 'Write LICENSE files and return the a list of key, name, context and the url\nas these information are needed for the ABOUT file', 'signature': 'def dump_lic(self, location, license_dict):'}</s>{'name': 'SingleLineField@src/attributecode/model.py', 'd...
0
{'name': 'CodeGenTest.test_fgpu_agent_func_input_types@tests/python/codegen/test_codegen.py', 'description': 'Try all the message input types by using a string replacement ', 'signature': 'def test_fgpu_agent_func_input_types(self):'}</s>py_fgpu_for_msg_input_var = "for m in message_in: i = m.getVariableInt("i") "
0
{'name': 'plot_xyc@project_sample/2019-2ProjectSamples_Code/11조-수강과목을 통한 전공 예측 프로그램/joy.py', 'description': 'plots training input data x and its class label y as well as the the linear \ndecision boundary and the value W[-1] or w in the first subplot if clf is given.\nIn the second subplot, it displays the traning resu...
0
{'name': 'excape@spider/utils/tools.py', 'description': '转译', 'signature': 'def excape(str):'}</s>{'name': 'dingding_warning@spider/utils/tools.py', 'description': 'DOCSTRING', 'code': 'def dingding_warning(\n message,\n rate_limit=3600,\n message_prefix=None,\n url=setting.DINGDING_WARNING_URL,\n user_p...
0
{'name': 'writeWorld@cxxtest/cxxtestgen.py', 'description': 'Write the world definitions', 'signature': 'def writeWorld( output ):'}</s>{'name': 'scanInputLine@cxxtest/cxxtestgen.py', 'description': 'Scan single input line for interesting stuff', 'code': "def scanInputLine( fileName, lineNo, line ):\n '''Scan single...
0
{'name': 'search_topics@world_bank_data/others.py', 'description': 'Return the topics that match the given pattern', 'signature': 'def search_topics(pattern, language=None, **kwargs):'}</s>{'name': 'search_sources@world_bank_data/others.py', 'description': 'Return the sources that match the given pattern', 'code': 'def...
0
{'name': 'ApiMixIn.watch_list@k8s/base.py', 'description': "Return a generator that yields WatchEvents of cls.\nIf allowBookmarks is True, WatchBookmarks will also be yielded.\nIt's recommended to use the Watcher class instead of calling this directly,\nsince it handles reconnects and resource versions.", 'signature': ...
0
{'name': '_init@Engine/lib/assimp/port/PyAssimp/pyassimp/core.py', 'description': "Custom initialize() for C structs, adds safely accessible member functionality.\n\n:param target: set the object which receive the added methods. Useful when manipulating\npointers, to skip the intermediate 'contents' deferencing.", 'sig...
0
{'name': 'Cache.search@shingetsu/cache.py', 'description': 'Search node from network and get records.', 'signature': 'def search(self, searchlist=None, myself4=None, myself6=None):'}</s>read_status = run_dir + '/readstatus.txt'
0
{'name': 'MatchListener.exitPropTestEqual@stix2matcher/matcher.py', 'description': "Consumes an observation data map, {obs_id: {...}, ...}, representing\n selected values from Cyber Observable objects in each observation\n (grouped by observation index and root Cyber Observable object ID).\n See exitObjectPath().\nP...
1
{'name': 'CheckForNonConstReference@llvm-12.0.0-project/compiler-rt/lib/sanitizer_common/scripts/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 cl...
0
{'name': 'main@swagger_to/bin/swagger_to_py_client.py', 'description': 'Execute the main routine.', 'signature': 'def main() -> None:'}</s>{'name': '_escaped_str@swagger_to/go_server.py', 'description': 'Escape the text and returns it as a valid Golang string.', 'code': 'def _escaped_str(text: str) -> str:\n """Esca...
0
{'name': 'switch@agents/bdq/common/tf_util.py', 'description': 'Switches between two operations depending on a scalar value (int or bool).\nNote that both `then_expression` and `else_expression`\nshould be symbolic tensors of the *same shape*.\n\n# Arguments\n condition: scalar tensor.\n then_expression: TensorFl...
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>server_resize = dvz.dvz_server_resiz...
0
{'name': 'Client.connect@skein/core.py', 'description': "Connect to a running application.\n\nParameters\n----------\napp_id : str\n The id of the application.\nwait : bool, optional\n If true [default], blocks until the application starts. If False,\n will raise a ``ApplicationNotRunningError`` immediately if...
0
{'name': 'make_class@vendor/attr/_make.py', 'description': 'A quick way to create a new class called *name* with *attrs*.\n\n:param str name: The name for the new class.\n\n:param attrs: A list of names or a dictionary of mappings of names to\n attributes.\n\n If *attrs* is a list or an ordered dict (`dict` on Py...
0
{'name': 'TestBackupFSLocalstorage.test_backup_preexisting_dir@freezer/tests/integration/test_agent.py', 'description': 'Use external pre-defined directory for tests.\nIf directory does not exist, then skip\n\nRestore to temporary folder (removed on exit)\n:return:', 'signature': 'def test_backup_preexisting_dir(self):...
1
{'name': 'OneVsAllAggregative.classify@quapy/method/aggregative.py', 'description': 'If the base quantifier is not probabilistic, returns a matrix of shape `(n,m,)` with `n` the number of\ninstances and `m` the number of classes. The entry `(i,j)` is a binary value indicating whether instance\n`i `belongs to class `j`....
0
{'name': 'LocalVarFormatter.formatException@src/coaster/logger.py', 'description': 'Render a stack trace with local variables in each stack frame.', 'signature': 'def formatException(self, ei: _SysExcInfoType) -> str: # noqa: N802'}</s>{'name': 'EmailHandler@src/coaster/logger.py', 'description': 'SMTPHandler with a s...
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>MQFB_STOPPED_BY_CHAD_EXIT = 277
0
{'name': 'FairseqTask.build_generator@fairseq/tasks/fairseq_task.py', 'description': 'Build a :class:`~fairseq.SequenceGenerator` instance for this\ntask.\n\nArgs:\n models (List[~fairseq.models.FairseqModel]): ensemble of models\n args (fairseq.dataclass.configs.GenerationConfig):\n configuration object (...
0
{'name': 'IUZone.as_dict@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Return this zone as a dict', 'signature': 'def as_dict(self, extended=False) -> OrderedDict:'}</s>CONF_SYNC_SWITCHES = "sync_switches"
0
{'name': 'CheckBraces@tools/cpplint.py', 'description': 'Looks for misplaced braces (e.g. at the end of line).\n\nArgs:\n filename: The name of the current file.\n clean_lines: A CleansedLines instance containing the file.\n linenum: The number of the line to check.\n error: The function to call with any errors fou...
0
{'name': 'PostgresNode.__init__@testgres/node.py', 'description': "PostgresNode constructor.\n\nArgs:\n name: node's application name.\n port: port to accept connections.\n base_dir: path to node's data directory.\n bin_dir: path to node's binary directory.", 'signature': 'def __init__(self, name=None, base...
0
{'name': 'GLRasterizer.model_to_image_transform@menpo3d/rasterize/opengl.py', 'description': 'TransformChain from 3D model space to 2D image space.', 'signature': 'def model_to_image_transform(self):'}</s>CONTAINING_DIR = Path(__file__).parent
0
{'name': 'ReplaceByFeeTest.test_opt_in@test/functional/feature_rbf.py', 'description': 'Replacing should only work if orig tx opted in', 'signature': 'def test_opt_in(self):'}</s>OP_CHECKMULTISIG = CScriptOp(0xae)
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>MQWS_DEFAULT = 0
0
{'name': 'SystemFilesHome.post@src/backend/api/views/system_views.py', 'description': 'List all files for local home', 'signature': 'def post(self):'}</s>{'name': 'SystemUid@src/backend/api/views/system_views.py', 'description': 'DOCSTRING', 'base_classes': ['Resource'], 'methods': [{'name': 'SystemUid.get@src/backend/...
0
{'name': 'get_default_func_arg_map@object_detection/core/preprocessor.py', 'description': 'Returns the default mapping from a preprocessor function to its args.\n\nArgs:\n include_label_weights: If True, preprocessing functions will modify the\n label weights, too.\n include_label_confidences: If True, preprocessi...
0
{'name': '_CppLintState.PrintErrorCounts@tools/cpplint.py', 'description': 'Print a summary of errors by category, and the total.', 'signature': 'def PrintErrorCounts(self):'}</s>_RE_PATTERN_INVALID_INCREMENT = re.compile( r'^\s*\*\w+(\+\+|--);')
0
{'name': 'netbox_device@pyats-to-netbox/netbox_utils.py', 'description': 'Get or Create a device in netbox based on a genie device object.\n ', 'signature': 'def netbox_device(genie_device):'}</s>{'name': 'netbox_interface@pyats-to-netbox/netbox_utils.py', 'description': 'Create and update a netbox interface object ...
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>MQQMT_NORMAL = 0
0
{'name': 'Problems.submit_problem@dwave/cloud/api/resources.py', 'description': 'Blocking problem submit with timeout, returning final status and\nanswer, if problem is solved within the (undisclosed) time limit.', 'signature': 'def submit_problem(self,'}</s>{'name': 'ProblemEncodingFormat@dwave/cloud/api/constants.py'...
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': 'simxGetVisionSensorImage@7_Demo_youBotPickAndPlace/code/vrep/VREP_RemoteAPIs/sim.py', 'description': 'Please have a look at the function description/documentation in the CoppeliaSim user manual', 'signature': 'def simxGetVisionSensorImage(clientID, sensorHandle, options, operationMode):'}</s>sim_message_model...
0
{'name': 'run_eruption_env@self_organising_systems/biomakerca/extensions/eruption.py', 'description': 'Create a video running Eruption.', 'signature': 'def run_eruption_env('}</s>AGE_IDX = 1
0
{'name': 'TranslationFormView.post@rosetta/views.py', 'description': "The only circumstances when we POST is to submit the main form, both\nupdating translations (if any changed) and advancing to the next page of\nmessages.\n\nThere is no notion of validation of this content; as implemented, unknown\nfields are ignored...
1
{'name': 'SetValuesTestCase.test@llvm-project/lldb/test/API/lang/c/set_values/TestSetValues.py', 'description': 'Test settings and readings of program variables.', 'signature': 'def test(self):'}</s>{'name': 'skipUnlessThreadSanitizer@llvm-project/lldb/packages/Python/lldbsuite/test/decorators.py', 'description': 'Deco...
0
{'name': 'rdheader@wfdb/io/record.py', 'description': "Read a WFDB header file and return a `Record` or `MultiRecord`\nobject with the record descriptors as attributes.\n\nParameters\n----------\nrecord_name : str\n The name of the WFDB record to be read, without any file\n extensions. If the argument contains an...
0
{'name': 'vqt@librosa/core/constantq.py', 'description': 'Compute the variable-Q transform of an audio signal.\n\nThis implementation is based on the recursive sub-sampling method\ndescribed by [#]_.\n\n.. [#] Schörkhuber, Christian, Anssi Klapuri, Nicki Holighaus, and Monika Dörfler.\n "A Matlab toolbox for efficie...
1
{'name': 'delPluginFile@app/plugin/pluginlist.py', 'description': '删除文件\n因为这里的文件名是安全的,所以直接进行删除', 'signature': 'def delPluginFile(filename):'}</s>db = SQLAlchemy()
0
{'name': 'LoadtestWorkerServicer.Check@load-test-framework/python_src/proto_dir/loadtest_pb2_grpc.py', 'description': 'Check the status of a load test worker.\n ', 'signature': 'def Check(self, request, context):'}</s>_PUBLISHEROPTIONS = _descriptor.Descriptor( name='PublisherOptions', full_name='google.pubsub.l...
0
{'name': 'GtkydInfo.read_all_hdrs@src/python_scripts/afnipy/lib_gtkyd.py', 'description': 'go through all infiles and get header info. This populates a list\nof headers, one-for-one with the infiles', 'signature': 'def read_all_hdrs(self):'}</s>gtkyd_nifti_tool_all = { 'datatype' : 1, 'sform_code' : 1, 'qfo...
0
{'name': 'list_dfu_devices@tools/pydfu.py', 'description': 'Prints a lits of devices detected in DFU mode.', 'signature': 'def list_dfu_devices(*args, **kwargs):'}</s>__PID = 57105
0
{'name': 'NNCRF.decode@model/neuralcrf.py', 'description': 'Decode the batch input\n:param batchInput:\n:return:', 'signature': 'def decode(self, batchInput: Tuple) -> Tuple[torch.Tensor, torch.Tensor]:'}</s>STOP = "<STOP>"
0
{'name': 'Node.type@snimpy/mib.py', 'description': 'Get the basic type associated with this node.\n\n:return: The class from :mod:`basictypes` module which can\n represent the node. When retrieving a valid value for\n this node, the returned class can be instanciated to get\n an appropriate representation.', '...
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': 'fpBVToFP@src/api/python/z3/z3.py', '...
0
{'name': 'MultiCompartmentModel.fit@dmipy/core/modeling_framework.py', 'description': 'The main data fitting function of a MultiCompartmentModel.\n\nThis function can fit it to an N-dimensional dMRI data set, and returns\na FittedMultiCompartmentModel instance that contains the fitted\nparameters and other useful funct...
0
{'name': 'StdCmd@MRT_FUNC_PY4_influxDB.py', 'description': 'Use instead of writing ser.write all the time', 'signature': 'def StdCmd(ser,cmd):'}</s>azoff = -180.
0
{'name': 'FrameRecord.get_link_urls@disdat/hyperframe.py', 'description': 'Assuming a link FrameRecord, return all the URLs in the frame\n\nReturns:\n (:list:str): An ordered set of link URLs', 'signature': 'def get_link_urls(self):'}</s>BOOL = 14
0
{'name': 'calibrate_cams_all@Pose2Sim/calibration.py', 'description': 'Either converts a preexisting calibration file, \nor calculates calibration from scratch (from a board or from points).\nStores calibration in a .toml file\nPrints recap.\n\nINPUTS:\n- a config_dict dictionary\n\nOUTPUT:\n- a .toml camera calibratio...
0
{'name': 'CortexM.reset@pyocd/coresight/cortex_m.py', 'description': "! @brief Reset the core.\n\nThe reset method is selectable via the reset_type parameter as well as the reset_type\nsession option. If the reset_type parameter is not specified or None, then the reset_type\noption will be used. If the option is not se...
0
{'name': 'Block.update_status_information@pyShelly/block.py', 'description': 'Update the status information.', 'signature': 'def update_status_information(self):'}</s>{'name': 'exception_log@pyShelly/utils.py', 'description': 'Log exception', 'code': 'def exception_log(ex, _msg, *args):\n """Log exception"""\n ms...
0
{'name': 'create_patches_reduced_target@csbdeep/data/generate.py', 'description': 'Create normalized training data to be used for neural network training.\n\nIn contrast to :func:`create_patches`, it is assumed that the target image has reduced\ndimensionality (i.e. size 1) along one or several axes (`reduction_axes`)....
1
{'name': 'url2purl@src/packageurl/contrib/url2purl.py', 'description': 'Return a PackageURL inferred from the `url` string or None.', 'signature': 'def url2purl(url):'}</s>{'name': 'build_npm_download_purl@src/packageurl/contrib/url2purl.py', 'description': 'DOCSTRING', 'code': 'def build_npm_download_purl(uri):\n p...
0
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQRCCF_MQCONN_FAILED = 4026
0
{'name': 'parseOptionsAndInitTestdirs@llvm-12.0.0-project/lldb/packages/Python/lldbsuite/test/dotest.py', 'description': "Initialize the list of directories containing our unittest scripts.\n\n'-h/--help as the first option prints out usage info and exit the program.", 'signature': 'def parseOptionsAndInitTestdirs():'}...
0
{'name': 'RESTClientObject.request@sdk/python/v2beta1/mpijob/rest.py', 'description': 'Perform requests.\n\n:param method: http request method\n:param url: http request url\n:param query_params: query parameters in the url\n:param headers: http request headers\n:param body: request json body, for `application/json`\n:p...
1
{'name': 'rdf_type_candidates@utils/query_graph_to_sparql.py', 'description': ' Takes in path ID (continous IDs, not glove vocab).\n And return type candidates (in continous IDs)\n based on whether we want URI or X candidates\n:param data:\n:param path_id:\n:param relations:\n:param reverse_vocab:\n:param ...
0
{'name': 'install_ngrok@pyngrok/ngrok.py', 'description': 'Download, install, and initialize ``ngrok`` for the given config. If ``ngrok`` and its default\nconfig is already installed, calling this method will do nothing.\n\n:param pyngrok_config: A ``pyngrok`` configuration to use when interacting with the ``ngrok`` bi...
0
{'name': 'test_raise_error_for_unrealistic_kmax@tests/test_oopinterface.py', 'description': 'Error shall be raised if kmax is out of bound of the pressure grid provided in the input data\n\n.. versionadded:: 0.4.0', 'signature': 'def test_raise_error_for_unrealistic_kmax():'}</s>nlat = 121
0
{'name': 'DastUnparser.enter@da/compiler/pseudo.py', 'description': "Print ':', and increase the indentation.", 'signature': 'def enter(self):'}</s>{'name': 'FormattedValueExpr@da/compiler/dast.py', 'description': 'DOCSTRING', 'base_classes': ['ConstantExpr'], 'methods': [{'name': 'FormattedValueExpr.__init__@da/compil...
0
{'name': 'subscriber_monitor@tools/cloud_functions/gcs_event_based_ingest/gcs_ocn_bq_ingest/common/ordering.py', 'description': 'Monitor to handle a rare race condition where:\n\n1. subscriber reads an empty backlog (before it can delete the\n _BACKFILL blob...)\n2. a new item is added to the backlog (causing a separa...
0
{'name': 'seq2onehot@deepfrier/utils.py', 'description': 'Create 26-dim embedding', 'signature': 'def seq2onehot(seq):'}</s>{'name': '_micro_aupr@deepfrier/utils.py', 'description': 'DOCSTRING', 'code': "def _micro_aupr(y_true, y_test):\n return average_precision_score(y_true, y_test, average='micro')"}
0
{'name': 'PFGid._str_to_num@pf/rule.py', 'description': 'Convert a string to a numeric group ID.', 'signature': 'def _str_to_num(self, s):'}</s>ICMP_TIMXCEED = 11
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': 'ParseArguments@third_party/cpplint/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>_...
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': 'NVMeOFConnectorTestCase.test_connect_volume_not_replicated_fails@os_brick/tests/initiator/connectors/test_nvmeof.py', 'description': 'Single vol attach fails and disconnects on failure.', 'signature': 'def test_connect_volume_not_replicated_fails('}</s>{'name': 'ExecutionTimeout@os_brick/exception.py', 'descr...
0
{'name': 'TCam.shutdown@ESP32/python/tcam.py', 'description': "shutdown()\n\nUse this to not only disconnect the socket, but also shut down the manager thread. If you are using\nthis object in an ipython session, you may find that the session won't exit until you ctrl+c. This is\nbecause the manager thread is still a...
0
{'name': 'SimpleScrapingLocator.get_page@venv/Lib/site-packages/pip-19.0.3-py3.8.egg/pip/_vendor/distlib/locators.py', 'description': "Get the HTML for an URL, possibly from an in-memory cache.\n\nXXX TODO Note: this cache is never actually cleared. It's assumed that\nthe data won't get stale over the lifetime of a loc...
0
{'name': 'ProcessFileData@runtimes/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.\n lines:...
0
{'name': 'SecurityManager.get_token@snowflake/ingest/utils/tokentools.py', 'description': 'Regenerates the current token if and only if we have exceeded the renewal time\nbounds set\n:return: the new token', 'signature': 'def get_token(self) -> Text:'}</s>logger = getLogger(__name__)
1
{'name': 'find_stop@tools/hadb.py', 'description': 'Find time HA stopped # of times ago.', 'signature': 'def find_stop(stops: int) -> dt.datetime | None:'}</s>MISSING = "¿¿¿"
0