text
string
label
int64
{'name': 'multiple_format_hash_file@ascmhl/hasher.py', 'description': "computes and returns a new hash strings for a file\n\narguments:\nfile_path -- string value, path of file to generate hash for.\nhash_formats -- string values, each entry is one of the supported hash formats, e.g. 'md5', 'xxh64'", 'signature': 'def ...
1
{'name': 'PipeBase.scan_local@d6tpipe/pipe.py', 'description': 'Get file attributes from local. To run before doing a pull/push\n\nArgs:\n include (str): pattern of files to include, eg `*.csv` or `a-*.csv|b-*.csv`\n exclude (str): pattern of files to exclude\n attributes (bool): return filenames with attribut...
0
{'name': 'IUSequenceRun.running@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Indicate if this sequence is running', 'signature': 'def running(self) -> bool:'}</s>DEFAULT_GRANULARITY = 60
0
{'name': 'FakeFount._actuallyResume@tubes/test/util.py', 'description': 'Resume the flow (decrementing flowIsPaused).\n\n@note: this is overridden in subclasses to modify behavior.', 'signature': 'def _actuallyResume(self):'}</s>{'name': 'fakeEndpointWithPorts@tubes/test/util.py', 'description': 'Create a L{FakeEndpoin...
0
{'name': '_makeTags@venv/Lib/site-packages/pip-19.0.3-py3.8.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>operatorPrecedence = infixNotation
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': 'gen_data@PythonApplication1/deeplearning/examples/recurrent.py', 'description': 'Generate a batch of sequences for the "add" task, e.g. the target for the\nfollowing\n\n``| 0.5 | 0.7 | 0.3 | 0.1 | 0.2 | ... | 0.5 | 0.9 | ... | 0.8 | 0.2 |\n | 0 | 0 | 1 | 0 | 0 | | 0 | 1 | | 0 | 0 |`...
1
{'name': 'PretrainedConfig.from_pretrained@source/pytorch_transformers/modeling_utils.py', 'description': "Instantiate a :class:`~pytorch_transformers.PretrainedConfig` (or a derived class) from a pre-trained model configuration.\n\nParameters:\n pretrained_model_name_or_path: either:\n\n - a string with the ...
1
{'name': 'Win32Serial.write@stino/pyarduino/base/pyserial/serialwin32.py', 'description': 'Output the given string over the serial port.', 'signature': 'def write(self, data):'}</s>LF = to_bytes([10])
0
{'name': 'SelectMultipleField.formfield@select_multiple_field/models.py', 'description': 'This returns the correct formclass without calling super\n\nReturns select_multiple_field.forms.SelectMultipleFormField', 'signature': 'def formfield(self, **kwargs):'}</s>{'name': 'decode_csv_to_list@select_multiple_field/codecs....
0
{'name': 'trc_from_easymocap_func@Pose2Sim/Utilities/trc_from_easymocap.py', 'description': "Converts EasyMocap keypoints3D results to TRC files.\nIf several people are detected, writes one TRC file per person.\n\nN.B.: If you run EasyMocap with a different model, edit KEYPOINT_NAMES \naccordingly (names and order of k...
0
{'name': '_validate@src/feedvalidator/__init__.py', 'description': 'validate RSS from string, returns validator object', 'signature': 'def _validate(aString, firstOccurrenceOnly, loggedEvents, base, encoding, selfURIs=None, mediaType=None):'}</s>{'name': 'EncodingMismatch@src/feedvalidator/logging.py', 'description': '...
0
{'name': 'device_added@tools/ble_sniffer/extcap/nrf_sniffer_ble.py', 'description': 'A device is added or updated', 'signature': 'def device_added(notification):'}</s>{'name': 'SnifferWatchDogTimeout@tools/ble_sniffer/extcap/SnifferAPI/Exceptions.py', 'description': 'DOCSTRING', 'base_classes': ['SnifferTimeout'], 'met...
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': 'shoot@polytope/esp.py', 'description': 'Return random equality set of P that projects on a projection facet.\n\nReturns randomly selected equality set E_0 of P such\nthat the projection of the equality set is a facet of the projection.\n\n@param C: Matrix defining the polytope Cx+Dy <= b\n@param D: Matrix def...
1
{'name': 'dump_html@tools/warn/html_writer.py', 'description': 'Dump the flags output to output_stream.', 'signature': 'def dump_html(flags, output_stream, warning_messages, warning_links,'}</s>{'name': 'dump_csv@tools/warn/html_writer.py', 'description': 'Dump number of warnings in CSV format to writer.', 'code': 'def...
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>MASK_FCVT_D_WU = 4293918847
0
{'name': 'ProcessFileData@tools/cpplint.py', 'description': 'Performs lint checks and reports any errors to the given error function.\n\nArgs:\n filename: Filename of the file that is being processed.\n file_extension: The extension (dot not included) of the file.\n lines: An array of strings, each representing a li...
0
{'name': '_make_json_entry@s2e_env/commands/execution_trace.py', 'description': "Combine a trace entry header and item into a single JSON-serializable\nentry. Return this entry as a ``dict``.\n\nSome things to note:\n * The header's ``size`` field is removed - it is not required in the\n JSON\n * Enums are r...
0
{'name': 'buildTreesForView@xpath.py', 'description': 'Create an xml tree for each XML region in the specified view.', 'signature': 'def buildTreesForView(view):'}</s>xml_elements = {}
0
{'name': 'BinFile.read@wntr/epanet/io.py', 'description': 'Read a binary file and create a results object.\n\nParameters\n----------\nfilename : str\n An EPANET BIN output file\nconvergence_error: bool (optional)\n If convergence_error is True, an error will be raised if the\n simulation does not converge. If ...
1
{'name': 'calculate_energy@chryswoods.com/intro_to_mc/software/metropolis.py', 'description': 'Calculate the energy of the passed atoms (assuming all atoms\nhave the same LJ sigma and epsilon values)', 'signature': 'def calculate_energy():'}</s>max_translate = 0.5
0
{'name': 'PFState._from_struct@pf/state.py', 'description': 'Initialize class attributes from a pfsync_state structure.', 'signature': 'def _from_struct(self, s):'}</s>PFTM_TCP_FIN_WAIT = 4
0
{'name': 'MSGPACKRPCRequest.error_respond@tinyrpc/protocols/msgpackrpc.py', 'description': 'Create an error response to this request.\n\nWhen processing the request produces an error condition this method can be used to\ncreate the error response object.\n\n:param error: Specifies what error occurred.\n:type error: Exc...
0
{'name': 'get_precision@pyrgg/functions.py', 'description': 'Return precision of input number.\n\n:param input_number: input number\n:type input_number: float\n:return: precision as int', 'signature': 'def get_precision(input_number):'}</s>{'name': 'load_config@pyrgg/functions.py', 'description': 'Load config based on ...
0
{'name': 'HTTP2ClientConnection.on_error@th2c/connection.py', 'description': 'Connection error.\n:param phase: phase we encountered the error in\n:param typ: type of error\n:param val: error\n:param tb: traceback information', 'signature': 'def on_error(self, phase, typ, val, tb):'}</s>{'name': 'ConnectionError@th2c/ex...
0
{'name': 'babel_extract@third_party/dawn/third_party/jinja2/ext.py', 'description': 'Babel extraction method for Jinja templates.\n\n.. versionchanged:: 2.3\n Basic support for translation comments was added. If `comment_tags`\n is now set to a list of keywords for extraction, the extractor will\n try to find th...
1
{'name': 'TestClassView.test_modelview_url_for@tests/coaster_tests/views_classview_test.py', 'description': 'Test that ModelView provides model.is_url_for with appropriate parameters.', 'signature': 'def test_modelview_url_for(self) -> None:'}</s>{'name': 'SubView@tests/coaster_tests/views_classview_test.py', 'descript...
0
{'name': 'IUController.as_dict@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Return this controller as a dict', 'signature': 'def as_dict(self, extended=False) -> OrderedDict:'}</s>CONF_EVEN = "even"
0
{'name': 'Device._buildReadRegisterPacket@src/LabJackPython.py', 'description': 'self._buildReadRegisterPacket(addr, numReg)\n\nBuilds a raw modbus "Read Register" packet to be written to a device\n\nReturns a tuple:\n(<Packet as a list>, <number of bytes to read>)', 'signature': 'def _buildReadRegisterPacket(self, add...
0
{'name': '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_intparam_info...
0
{'name': 'get_split@slim/datasets/raw_patches_for_heatmaps.py', 'description': "Gets a dataset tuple with instructions for reading flowers.\n\nArgs:\n split_name: A train/validation split name.\n dataset_dir: The base directory of the dataset sources.\n file_pattern: The file pattern to use when matching the dataset...
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': 'BreakpointAfterJoinTestCase.test@llvm-project/lldb/test/API/functionalities/thread/break_after_join/TestBreakAfterJoin.py', 'description': 'Test breakpoint handling after a thread join.', 'signature': 'def test(self):'}</s>{'name': 'run_break_set_by_symbol@llvm-project/lldb/packages/Python/lldbsuite/test/lldb...
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': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQCFSTATUS_IN_RECOVER = 2
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': 'on_download_logs@src/server/server.py', 'description': 'Download logs (as .zip file).', 'signature': 'def on_download_logs(data):'}</s>EventActionsObj = None
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': 'test_only_setup_missing@tests/main_test.py', 'description': 'test generate setup.py (when it is missing)', 'signature': 'def test_only_setup_missing('}</s>{'name': 'cmd@pipenv_setup/main.py', 'description': 'DOCSTRING', 'code': 'def cmd(argv=None):\n if argv is None:\n argv = sys.argv\n\n init()\...
1
{'name': 'babel_extract@third_party/dawn/third_party/jinja2/ext.py', 'description': 'Babel extraction method for Jinja templates.\n\n.. versionchanged:: 2.3\n Basic support for translation comments was added. If `comment_tags`\n is now set to a list of keywords for extraction, the extractor will\n try to find th...
1
{'name': 'semi_supervised_loss@ivis/nn/losses.py', 'description': "Wraps the provided ivis supervised loss function to deal with the partially\nlabeled data. Returns a new 'semi-supervised' loss function that masks the\nloss on examples where label information is missing.\n\nMissing labels are assumed to be marked with...
0
{'name': 'run@utils/data_preparation_rdf_type.py', 'description': ' Main script which calls and does everything.\n:return: nothing', 'signature': 'def run():'}</s>{'name': 'qald_run@utils/data_preparation_rdf_type.py', 'description': "'\n\nIf the query contains only rdf constraint and no other triple, it will pu...
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>{'name': '_populate_forest_func@lleaves/compiler/codegen/codegen.py', 'descrip...
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': 'TypeAndTypeListTestCase.test@tools/lldb/packages/Python/lldbsuite/test/python_api/type/TestTypeList.py', 'description': 'Exercise SBType and SBTypeList API.', 'signature': 'def test(self):'}</s>{'name': 'skipIfRemote@tools/lldb/packages/Python/lldbsuite/test/decorators.py', 'description': 'Decorate the item t...
0
{'name': 'up_to_climate@oggm/tests/test_workflow.py', 'description': 'Run the tasks you want.', 'signature': 'def up_to_climate(reset=False, use_mp=None):'}</s>{'name': 'execute_entity_task@oggm/workflow.py', 'description': 'Execute a task on gdirs.\n\nIf you asked for multiprocessing, it will do it.\n\nIf ``task`` has...
0
{'name': 'scnym_predict@scnym/api.py', 'description': 'Predict cell identities using an scNym model.\n\nParameters\n----------\nadata : AnnData\n [Cells, Genes] experiment containing annotated\n cells to train on.\nconfig : dict\n configuration options.\n\nReturns\n-------\nNone. Adds `adata.obs[config["key_ad...
0
{'name': '_align_column@misc/tableutils.py', 'description': '[string] -> [padded_string]\n\n>>> list(map(str,_align_column(["12.345", "-1234.5", "1.23", "1234.5", "1e+234", "1.0e234"], "decimal")))\n[\' 12.345 \', \'-1234.5 \', \' 1.23 \', \' 1234.5 \', \' 1e+234 \', \' 1.0e234\']\n\n>>> list(map(st...
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': 'ising_mpo@pytenet/hamiltonian.py', 'description': 'Construct Ising Hamiltonian `sum J sz sz + h sz + g sx`\non a 1D lattice as MPO.\n\nArgs:\n L: number of lattice sites\n J: interaction parameter\n h: longitudinal-field strength\n g: transverse-field strength\n\nReturns:\n MPO: Ising Hamil...
0
{'name': 'TestRaspisump.test_water_reading@tests/test_sump.py', 'description': 'Test that a proper reading is being returned.', 'signature': 'def test_water_reading(self):'}</s>{'name': 'unit_types@raspisump/alerts.py', 'description': 'Determine if inches or centimeters', 'code': 'def unit_types():\n """Determine ...
0
{'name': 'preprocess_and_save_data@Chapter08/Code/utils.py', 'description': "Preprocesses image data and saves the image features and labels as pickle files to be used for the model\n:param data_type: data_type is 'train' or 'test'\n:return: None", 'signature': "def preprocess_and_save_data(data_type ='train'):"}</s>{'...
0
{'name': 'YoutubeCastV1._pair@resources/lib/tubecast/youtube/app.py', 'description': 'called as part of service discovery ', 'signature': 'def _pair(self, pairing_code):'}</s>{'name': 'get_kodi_volume@resources/lib/tubecast/youtube/kodibrigde.py', 'description': 'DOCSTRING', 'code': 'def get_kodi_volume():\n result ...
0
{'name': 'upload_to_s3@pipeline/Serverless/02_pipeline/build.py', 'description': 'Args:\n zip_file: Location of zip file to be uploaded to S3 bucket\n package: Name of python package being uploaded\nreturn:\n uploaded_file_name: Name of file in S3 bucket', 'signature': 'def upload_to_s3(zip_file, package, uploaded_f...
0
{'name': 'WebcamVideoStream.stop@versions/speed-cam_8.87.py', 'description': 'indicate that the thread should be stopped ', 'signature': 'def stop(self):'}</s>WEB_LIST_SORT_DESC_ON = True
0
{'name': 'concat_cat_list@src/move/data/dataloaders.py', 'description': 'Concatenate a list of categorical data\nArgs:\n cat_list: list with each categorical class data\nReturns:\n (tuple): a tuple containing:\n cat_shapes:\n list of categorical data classes shapes (N_variables,\n N_...
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': 'get_as_array_func@src/api/python/z3/z3.py', 'description': 'Return the function declaration f associated with a ...
0
{'name': 'SQLInsertCompiler.handle_insert_through@rest_models/backend/compiler.py', 'description': "special case where we don't insert into the given table because it's not exposed. we\nhandle this case by updating the field on either side of the through.\n:return:", 'signature': 'def handle_insert_through(self):'}</s>...
1
{'name': '_covhelper@venv/Lib/site-packages/numpy/ma/extras.py', 'description': 'Private function for the computation of covariance and correlation\ncoefficients.', 'signature': 'def _covhelper(x, y=None, rowvar=True, allow_masked=True):'}</s>atleast_3d = _fromnxfunction_allargs('atleast_3d')
0
{'name': 'im_detect_3d@lib/rpn_util.py', 'description': 'Object detection in 3D', 'signature': 'def im_detect_3d(im, net, rpn_conf, preprocess, p2, gpu=0, synced=False, return_base=False):'}</s>{'name': 'iou_ign@lib/core.py', 'description': "Computes the amount of overap of box_b has within box_a, which is handy for de...
0
{'name': 'Telnet.process_rawq@soundrts/batteries/telnetlib.py', 'description': "Transfer from raw queue to cooked queue.\n\nSet self.eof when connection is closed. Don't block unless in\nthe midst of an IAC sequence.", 'signature': 'def process_rawq(self):'}</s>NAOCRD = bytes([10])
0
{'name': 'BaseImage.convex_hull@wand/image.py', 'description': "Find the smallest convex polygon, and returns a list of points.\n\n.. note:: Requires ImageMagick-7.0.10 or greater.\n\nYou can pass the list of points directly to\n:meth:`Drawing.polygon() <wand.drawing.Drawing.polygon>` method\nto draw the convex hull sh...
0
{'name': 'compute_bbox_stats@lib/rpn_util.py', 'description': 'Computes the mean and standard deviation for each regression\nparameter (usually pertaining to [dx, dy, sw, sh] but sometimes\nfor 3d parameters too).\n\nOnce these stats are known we normalize the regression targets\nto have 0 mean and 1 variance, to hypot...
0
{'name': 'ensure_core@jupyterlab/commands.py', 'description': 'Ensure that the core assets are available.', 'signature': 'def ensure_core(logger=None):'}</s>{'name': 'pjoin@jupyterlab/commands.py', 'description': 'Join paths to create a real path.', 'code': 'def pjoin(*args):\n """Join paths to create a real path.""...
1
{'name': 'watch_stacks@static/Cost/300_Optimization_Data_Collection/Test/test-from-scratch.py', 'description': 'watch stacks while they are IN_PROGRESS and/or until they are deleted', 'signature': 'def watch_stacks(stack_names = []):'}</s>{'name': 'initial_deploy_stacks@static/Cost/300_Optimization_Data_Collection/Test...
0
{'name': 'FeatureParser._parse_scenario@radish/parser.py', 'description': 'Parses a Feature context\n\n:param string line: the line to parse from', 'signature': 'def _parse_scenario(self, line):'}</s>{'name': 'recursive_glob@radish/utils.py', 'description': "Recursively search for files with given pattern inside a path...
0
{'name': 'RidgeLogisticRegression.fit@parsimony/estimators.py', 'description': 'Fit the estimator to the data.\n ', 'signature': 'def fit(self, X, y, beta=None, sample_weight=None):'}</s>{'name': 'LogisticRegressionL1L2TVInexactFISTA@parsimony/estimators.py', 'description': 'Logistic regression (re-weighted log-...
0
{'name': 'render_rays@run_nerf_fast.py', 'description': 'Volumetric rendering.\n\nArgs:\n ray_batch: array of shape [batch_size, ...]. All information necessary\n for sampling along a ray, including: ray origin, ray direction, min\n dist, max dist, and unit-magnitude viewing direction.\n network_fn: function. M...
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': 'fpRoundToIntegral@src/api/python/z3/z3.py', 'description': 'Create a Z3 floating-point roundToIntegral expressio...
0
{'name': 'file_count_check@buildtest/buildsystem/checks.py', 'description': 'This method is used to perform file count check when ``file_count`` property is specified\nin status check. This method will evaluate the number of files in a directory and compare it\nwith the reference specified via ``count``. The comparison...
0
{'name': 'TopLevelMixin.repeat@altair/vegalite/v5/api.py', 'description': "Return a RepeatChart built from the chart\n\nFields within the chart can be set to correspond to the row or\ncolumn using `alt.repeat('row')` and `alt.repeat('column')`.\n\nParameters\n----------\nrepeat : list\n a list of data column names 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': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQXPDA_NONE_ARRAY = [b'\0', b'\0', b'\0', b'\0', b'\0', b'\0', b'\0', b'\0', b'\0', b'\0', b'\0', b'\0', b'\0', b'\0', b'\0', b'\0', b'\0', b'\0', b'\0',...
0
{'name': 'CScript.GetSigOpCount@qa/rpc-tests/test_framework/script.py', 'description': 'Get the SigOp count.\n\nfAccurate - Accurately count CHECKMULTISIG, see BIP16 for details.\n\nNote that this is consensus-critical.', 'signature': 'def GetSigOpCount(self, fAccurate):'}</s>{'name': 'CScriptInvalidError@qa/rpc-tests/...
0
{'name': 'test_DockerLogTailer@tests/unit/test_container.py', 'description': 'Test pytest_localstack.container.DockerLogTailer.', 'signature': 'def test_DockerLogTailer(caplog):'}</s>{'name': 'make_test_LocalstackSession@tests/utils.py', 'description': "Make a test LocalstackSession that doesn't actually run Localstack...
0
{'name': 'CheckForFunctionLengths@tools/caffe-sphereface/scripts/cpp_lint.py', 'description': 'Reports for long function bodies.\n\nFor an overview why this is done, see:\nhttp://google-styleguide.googlecode.com/svn/trunk/cppguide.xml#Write_Short_Functions\n\nUses a simplistic algorithm assuming other style guidelines\...
0
{'name': 'records2geojson@meza/convert.py', 'description': "Converts records into a GeoJSON file like object.\n\n Args:\n records (Iter[dict]): Rows of data whose keys are the field names.\n E.g., output from any `meza.io.read_geojson`.\n\n kwargs (dict): Keyword arguments.\n\nKwargs:\n key (str): GeoJS...
0
{'name': 'go@grizli/pipeline/auto_script.py', 'description': 'Run the full pipeline for a given target\n\nParameters\n----------\nroot : str\n Rootname of the `mastquery` file.\n\nextract_maglim : [min, max]\n Magnitude limits of objects to extract and fit.', 'signature': "def go(root='j010311+131615', "}</s>{'na...
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': '_batched_write_command_impl@venv/Lib/site-packages/pymongo/message.py', 'description': 'Create a batched OP_QUERY write command.', 'signature': 'def _batched_write_command_impl('}</s>{'name': '_batched_op_msg@venv/Lib/site-packages/pymongo/message.py', 'description': 'OP_MSG implementation entry point.', 'cod...
0
{'name': 'makeMostCommonPatternHeuristic@wfc/wfc_solver.py', 'description': 'Return a function that chooses the most common (currently most-used) pattern.', 'signature': 'def makeMostCommonPatternHeuristic('}</s>{'name': 'makeWave@wfc/wfc_solver.py', 'description': 'DOCSTRING', 'code': 'def makeWave(n: int, w: int, h: ...
0
{'name': '_ClassifyInclude@tools/caffe-sphereface/scripts/cpp_lint.py', 'description': 'Figures out what kind of header \'include\' is.\n\nArgs:\n fileinfo: The current file cpplint is running over. A FileInfo instance.\n include: The path to a #included file.\n is_system: True if the #include used <> rather than ""...
0
{'name': 'CheckStyle@tools/cpplint.py', 'description': "Checks rules from the 'C++ style rules' section of cppguide.html.\n\nMost of these rules are hard to test (naming, comment style), but we\ndo what we can. In particular we check for 2-space indents, line lengths,\ntab usage, spaces inside code, etc.\n\nArgs:\n f...
0
{'name': 'Leopard.sample_rate@binding/python/_leopard.py', 'description': 'Audio sample rate accepted by `.process`.', 'signature': 'def sample_rate(self) -> int:'}</s>{'name': 'LeopardInvalidArgumentError@binding/python/_leopard.py', 'description': 'DOCSTRING', 'base_classes': ['LeopardError'], 'methods': []}
0
{'name': 'TLP.set_completion@fpga/lib/pcie/tb/pcie.py', 'description': 'Prepare completion for TLP', 'signature': 'def set_completion(self, tlp, completer_id, has_data=False, status=CPL_STATUS_SC):'}</s>{'name': 'PcieId@fpga/lib/pcie/tb/pcie.py', 'description': 'DOCSTRING', 'base_classes': ['object'], 'methods': [{'nam...
0
{'name': 'records2geojson@meza/convert.py', 'description': "Converts records into a GeoJSON file like object.\n\n Args:\n records (Iter[dict]): Rows of data whose keys are the field names.\n E.g., output from any `meza.io.read_geojson`.\n\n kwargs (dict): Keyword arguments.\n\nKwargs:\n key (str): GeoJS...
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...
1
{'name': 'LineItem.targeting_criteria@twitter_ads/campaign.py', 'description': 'Returns a collection of targeting criteria available to the\ncurrent line item.', 'signature': 'def targeting_criteria(self, id=None, **kwargs):'}</s>{'name': 'TaxSettings@twitter_ads/campaign.py', 'description': 'DOCSTRING', 'base_classes'...
0
{'name': 'denoise@findpeaks/stats.py', 'description': "Denoise input data.\n\nDescription\n-----------\nDenoising the data is very usefull before detection of peaks. Multiple methods are implemented to denoise the data.\nThe bilateral filter uses a Gaussian filter in the space domain,\nbut it also uses one more (multip...
1
{'name': 'ProcessLine@tools/caffe-sphereface/scripts/cpp_lint.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 th...
0
{'name': 'create_dataset_pairwise@data_loader.py', 'description': ' This file is meant to create data for core-chain ranking ONLY.\n\n:param file: id_big_data file\n:param max_sequence_length: for padding/cropping\n:param relations: the relations file to backtrack and look up shit.\n:return:\n\nschema decides the ki...
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': 'ProcessGlobalSuppresions@tools/cpplint.py', 'description': 'Updates the list of global error suppressions.\n\nParses any lint directives in the file that have global effect.\n\nArgs:\n lines: An array of strings, each representing a line of the file, with the\n last element being empty if the file is...
0
{'name': 'TestSequences.test_increment_for_numbers_2@tests/test_recipes.py', 'description': 'This test is a repeated one but it is necessary to ensure Sequences atomicity', 'signature': 'def test_increment_for_numbers_2(self):'}</s>{'name': 'TestExecutingRecipes@tests/test_recipes.py', 'description': 'Tests for calling...
0
{'name': 'find_on_path@tests/_lib_vendors/pkg_resources/__init__.py', 'description': 'Yield distributions accessible on a sys.path directory', 'signature': 'def find_on_path(importer, path_item, only=False):'}</s>{'name': '_sget_object@tests/_lib_vendors/pkg_resources/__init__.py', 'description': 'DOCSTRING', 'code': '...
0
{'name': '_AddMessageMethods@python/google/protobuf/internal/python_message.py', 'description': 'Adds implementations of all Message methods to cls.', 'signature': 'def _AddMessageMethods(message_descriptor, cls):'}</s>UINT32_MAX = (1 << 32) - 1
0
{'name': 'cartesian_to_spherical@fairnr/data/geometry.py', 'description': 'xyz: batch x 3\n ', 'signature': 'def cartesian_to_spherical(xyz):'}</s>{'name': 'get_world_size@fairnr/data/data_utils.py', 'description': 'DOCSTRING', 'code': 'def get_world_size():\n try:\n return du.get_world_size()\n except ...
0
{'name': 'bit_numbering_invert@teslalogs/signals.py', 'description': 'Convert between lsb0 and msb0 CAN dbc numbering.\nThis operation is symmetric.\nReference: https://github.com/ebroecker/canmatrix/wiki/signal-Byteorder\n:param b: bit number\n:return: inverted bit number', 'signature': 'def bit_numbering_invert(b):'}...
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