text string | label int64 |
|---|---|
{'name': 'main@src/freetype/src/tools/docmaker/docbeauty.py', 'description': 'main program loop', 'signature': 'def main(argv):'}</s>urls = "(?:https?|telnet|gopher|file|wais|ftp)" | 0 |
{'name': 'XWiki20Renderer.__init__@mistletoe/contrib/xwiki20_renderer.py', 'description': 'Args:\n extras (list): allows subclasses to add even more custom tokens.', 'signature': 'def __init__(self, *extras):'}</s>{'name': 'remove_token@mistletoe/span_token.py', 'description': 'Allows external manipulation of the pa... | 0 |
{'name': 'main@lldb/packages/Python/lldbsuite/test/dosep.py', 'description': 'Run dotest.py in inferior mode in parallel.\n\n@param num_threads the parsed value of the num-threads command line\nargument.\n\n@param test_subdir optionally specifies a subdir to limit testing\nwithin. May be None if the entire test tree i... | 0 |
{'name': 'run@ValveBatchExport/HeartValveBatchAnalysis/annulus_shape_analysis.py', 'description': "Run annulus curve analysis\n:param csv_filename: input CSV file containing columns Filename, Phase, Valve, AnnulusContourX, AnnulusContourY, AnnulusContourZ, AnnulusContourLabel\n:param label_order: list of strings defini... | 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': 'generate_models@mcfly/modelgen.py', 'description': "Generate one or multiple untrained Keras models with random hyperparameters.\nThe number of models per given model type will be roughly balanced.\n\nParameters\n----------\nx_shape : tuple\n Shape of the input dataset: (num_samples, num_timesteps, num_cha... | 1 |
{'name': 'opcode_map_c@Ghidra/Processors/RISCV/scripts/binutil.py', 'description': 'CR |funct4 | cr0711 | cr0206 | op |\nCI |funct3 | cop1212 | cr0711 | cop0206 | op |\nCSS |funct3 | cop0712 | cr0206 | op |\nCIW |funct3 | cop0512 | cr0204s | op |\nCL |funct3 | cop1012 | cs0709s | cop0506 | cr0204s | op |\nCS ... | 0 |
{'name': 'A1DInterface.process_data@src/python_scripts/scripts/1d_tool.py', 'description': 'return None on completion, else error code (0 being okay)', 'signature': 'def process_data(self):'}</s>{'name': 'anlist@src/python_scripts/afnipy/afni_base.py', 'description': 'DOCSTRING', 'code': 'def anlist(vlst, sb=\'\'):\n ... | 0 |
{'name': 'DamageClassification.text@tweedr/models/__init__.py', 'description': 'Run join query to get text of this labeled tweet', 'signature': 'def text(self):'}</s>{'name': 'UniformSample@tweedr/models/schema.py', 'description': 'DOCSTRING', 'base_classes': ['Base'], 'methods': []} | 1 |
{'name': 'WebcamVideoStream.stop@versions/speed-cam_8.87.py', 'description': 'indicate that the thread should be stopped ', 'signature': 'def stop(self):'}</s>IM_SHOW_TEXT_BOTTOM_ON = True | 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': 'extract_from_coords@grizli/aws/sky_wfss.py', 'description': ' ', 'signature': "def extract_from_coords(ra=189.0706488, dec=62.2089502, grisms=['F356W-GRISMR','F410M-GRISMR','F444W-GRISMR'], size=48, grp=None, clean=False, get_cutout=True, cutout_filter='F444W-CLEAR', prefix='gdn-grism', verbose=True, mb_kw... | 0 |
{'name': 'Serial.open@serial/serialwin32.py', 'description': 'Open port with current settings. This may throw a SerialException\nif the port cannot be opened.', 'signature': 'def open(self):'}</s>RTS_CONTROL_ENABLE = 1 | 0 |
{'name': 'main@tools/lldb/packages/Python/lldbsuite/test/dosep.py', 'description': 'Run dotest.py in inferior mode in parallel.\n\n@param num_threads the parsed value of the num-threads command line\nargument.\n\n@param test_subdir optionally specifies a subdir to limit testing\nwithin. May be None if the entire test ... | 0 |
{'name': 'parse_srst2_ar@bin/GRiPHin.py', 'description': 'Parsing the srst2 file run on the ar gene database.', 'signature': 'def parse_srst2_ar(srst2_file, ar_dic, final_srst2_df, sample_name):'}</s>{'name': 'big5_check@bin/GRiPHin.py', 'description': '"Function that will return list of columns to highlight if a sampl... | 0 |
{'name': 'main@linodecli/__init__.py', 'description': 'Handle incoming command arguments', 'signature': 'def main(): # pylint: disable=too-many-branches,too-many-statements'}</s>{'name': 'print_help_command_actions@linodecli/help_pages.py', 'description': 'Prints the help page for a single command, including all actio... | 1 |
{'name': 'MyInterface.execute@src/python_scripts/scripts/build_afni.py', 'description': 'evaluate what needs to be done, report on it, any apply\n\n- evaluate directories\n - abin_path\n - root_path\n\nreturn 0 on success\n 1 on non-fatal termination error\n -1 on fatal error', 'signature': 'def exe... | 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': 'TestingParser.fill_default_tls_stdout_filename@tests/run_all_tests.py', 'description': 'Sets the default TLS stdout filename for testing if it is not already\nspecified.\n\nThis method checks if the `tls_stdout_filename` attribute in the\n`testing_args` object is set. If it is not set, it assigns a default\nv... | 0 |
{'name': 'what@boxx/ylimg/ylimgTool.py', 'description': "tell you what's this by\npretty print `Document`, `Classes`, `Inner Struct`, `Attributes` of anything.\n\na magic tool to learn new Python Package\n\nParameters\n----------\nanything : anything in Python\n decompose all of anything\nfull : bool, default False\... | 1 |
{'name': 'leap@src/convertdate/persian.py', 'description': 'Is a given year a leap year in the Persian calendar ?', 'signature': 'def leap(year):'}</s>{'name': 'monthcalendar@src/convertdate/gregorian.py', 'description': 'Return a list of lists that describe the calender for one month. Each inner\nlist have 7 items, on... | 0 |
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQIACF_BALANCING_TYPE = 1439 | 0 |
{'name': '_neg_log_likelihood@pelicun/uq.py', 'description': 'Calculate negative log likelihood.\n\nCalculate the negative log likelihood of the given data samples\ngiven the parameter values and distribution information.\n\nThis function is used as an objective function in optimization\nalgorithms to estimate the para... | 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': 'CHOCO_CMD.readsol@pulp/apis/choco_api.py', 'description': 'Read a Choco solution file', 'signature': 'def readsol(filename):'}</s>LpConstraintEQ = 0 | 0 |
{'name': 'run@utils/data_preparation_rdf_type.py', 'description': ' Main script which calls and does everything.\n:return: nothing', 'signature': 'def run():'}</s>all_cap_re = re.compile('([a-z0-9])([A-Z])') | 0 |
{'name': 'timolo@source/pi-timolo.py', 'description': 'Main motion and or motion tracking\ninitialization and logic loop', 'signature': 'def timolo():'}</s>MOTION_PATH = os.path.join(BASE_DIR, MOTION_DIR) | 1 |
{'name': 'ProcessFileData@ament_cpplint/ament_cpplint/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, ... | 0 |
{'name': 'nestedExpr@tests/_lib_vendors/pkg_resources/_vendor/pyparsing.py', 'description': 'Helper method for defining nested lists enclosed in opening and closing\ndelimiters ("(" and ")" are the default).\n\nParameters:\n - opener - opening character for a nested list (default=C{"("}); can also be a pyparsing expres... | 0 |
{'name': 'update_amount_screen@displays/papiruszero2in.py', 'description': 'Update the amount screen to reflect new coins inserted\n ', 'signature': 'def update_amount_screen():'}</s>startup_screen_1 = "Bienvenue au" | 0 |
{'name': 'prepare@joeynmt/prediction.py', 'description': 'Helper function for model and data loading.\n\n:param args: config args\n:param rank: ddp rank\n:param mode: execution mode', 'signature': 'def prepare(args: BaseConfig, rank: int,'}</s>{'name': 'save_hypothese@joeynmt/helpers.py', 'description': 'Save list hypo... | 0 |
{'name': '_CppLintState.PrintErrorCounts@tools/cpplint.py', 'description': 'Print a summary of errors by category, and the total.', 'signature': 'def PrintErrorCounts(self):'}</s>{'name': 'Error@tools/cpplint.py', 'description': 'Logs the fact we\'ve found a lint error.\n\nWe log where the error was found, and also our... | 0 |
{'name': 'SVHN.__getitem__@data/svhnloader.py', 'description': 'Args:\n index (int): Index\n\nReturns:\n tuple: (image, target) where target is index of the target class.', 'signature': 'def __getitem__(self, index):'}</s>{'name': 'TransformTwice@data/utils.py', 'description': 'DOCSTRING', 'base_classes': [], 'me... | 0 |
{'name': 'GetNormalizedOutputAndLeakyTests@swap-ssdb-1.9.2/tests/googletest/googlemock/test/gmock_output_test.py', 'description': 'Normalizes the output of gmock_output_test_.\n\nArgs:\n output: The test output.\n\nReturns:\n A tuple (the normalized test output, the list of test names that have\n leaked mocks).', 's... | 1 |
{'name': 'Benchmark.__init__@habitat/core/benchmark.py', 'description': '..\n\n:param config_paths: file to be used for creating the environment\n:param eval_remote: boolean indicating whether evaluation should be run remotely or locally', 'signature': 'def __init__('}</s>{'name': 'Agent@habitat/core/agent.py', 'descri... | 0 |
{'name': 'MitmproxyFlowWrapper.get_matching_url@mitmproxy2swagger/mitmproxy_capture_reader.py', 'description': 'Get the requests URL if the prefix matches the URL, None otherwise.\n\nThis takes into account a quirk of mitmproxy where it sometimes\nputs the raw IP address in the URL instead of the hostname. Then\nthe ho... | 1 |
{'name': 'LoadtestWorkerStub.__init__@load-test-framework/python_src/proto_dir/loadtest_pb2_grpc.py', 'description': 'Constructor.\n\nArgs:\n channel: A grpc.Channel.', 'signature': 'def __init__(self, channel):'}</s>_MESSAGEIDENTIFIER = _descriptor.Descriptor(
name='MessageIdentifier',
full_name='google.pubsub.lo... | 0 |
{'name': 'ImageMorphology.median_thickness@morphomnist/morpho.py', 'description': 'Median thickness along the skeleton.', 'signature': 'def median_thickness(self) -> float:'}</s>{'name': '_vert_cdf@morphomnist/morpho.py', 'description': 'DOCSTRING', 'code': 'def _vert_cdf(img: np.ndarray, y: np.ndarray):\n counts = ... | 0 |
{'name': 'safe_run2@amptk/process_illumina_folder.py', 'description': 'Call run(), catch exceptions.', 'signature': 'def safe_run2(*args, **kwargs):'}</s>{'name': 'softwrap@amptk/amptklib.py', 'description': 'DOCSTRING', 'code': "def softwrap(string, every=80):\n lines = []\n for i in range(0, len(string), every)... | 0 |
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQAUTH_PASS_IDENTITY_CONTEXT = 13 | 0 |
{'name': 'WebPGetInfo@external/SDL2_image/external/libwebp-1.0.2/swig/libwebp.py', 'description': 'WebPGetInfo(uint8_t data) -> (width, height)', 'signature': 'def WebPGetInfo(*args):'}</s>{'name': 'WebPEncodeBGR@external/SDL2_image/external/libwebp-1.0.2/swig/libwebp.py', 'description': 'WebPEncodeBGR(uint8_t rgb, int... | 0 |
{'name': 'CrashDuringStepTestCase.test_step_inst_with@llvm-12.0.0-project/lldb/test/API/functionalities/thread/crash_during_step/TestCrashDuringStep.py', 'description': 'Test thread creation during step-inst handling.', 'signature': 'def test_step_inst_with(self):'}</s>{'name': '_get_bool_config_skip_if_decorator@llvm-... | 0 |
{'name': 'EdgeClassifier.mark_new_connections_good@netanalysis/dns/analysis/classifier.py', 'description': 'Add new good connections from adding the GOOD edge u, v.\nAssumes the class_graph has all the edges from its transitive closure.', 'signature': 'def mark_new_connections_good(self, u, v):'}</s>{'name': '_get_edge... | 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': 'ClusterAction.start_clusters@qingcloud/iaas/actions/cluster.py', 'description': 'Start one or more clusters.\n@param clusters: the array of clusters IDs.', 'signature': 'def start_clusters(self, clusters,'}</s>ACTION_MODIFY_ALARM_POLICY_ATTRIBUTES = "ModifyAlarmPolicyAttributes" | 0 |
{'name': 'cd._tab_fuzzy_match@.config/ranger/commands_full.py', 'description': 'Find directories matching tokens recursively ', 'signature': 'def _tab_fuzzy_match(self, basepath, tokens):'}</s>{'name': 'untmap@.config/ranger/commands_full.py', 'description': ':untmap <keys> [<keys2>, ...]\n\nRemove the given "taskview"... | 0 |
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQPL_OS400 = 4 | 0 |
{'name': 'extend_pandas@ffn/core.py', 'description': "Extends pandas' PandasObject (Series, Series,\nDataFrame) with some functions defined in this file.\n\nThis facilitates common functional composition used in quant\nfinance.\n\nEx:\n prices.to_returns().dropna().calc_clusters()\n (where prices would be a DataF... | 1 |
{'name': 'import_da@da/api.py', 'description': '**DEPRECATED***\n\nImports DistAlgo module \'module\', returns the module object.\n\nThis function mimics the Python builtin __import__() function for DistAlgo\nmodules. \'name\' is the name of the module to be imported, in\n"dotted module name" format. The module must be... | 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': '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': 'Broadcast.__init__@pyexfil/network/HTTPResp/client.py', 'description': 'Broadcast data out.\n:param dst_ip: Outgoing server IP [str]\n:param dst_port: Port of server [int]\n:param fname: File name to leak [str]\n:param max_size: Maximum size of each packet [1024, int]\n:param key: Key to use for encryption [s... | 1 |
{'name': 'HumidifierEntityWrapper.mode@custom_components/meross_cloud/humidifier.py', 'description': 'Return the current mode\n\nRequires HumidifierEntityFeature.MODES.', 'signature': 'def mode(self) -> str | None:'}</s>SPRAY_MODE_FROM_HA = {
"CONTINUOUS": SprayMode.CONTINUOUS,
"INTERMITTENT": SprayMode.INTERMI... | 0 |
{'name': 'matchOnlyAtCol@tests/_lib_vendors/pkg_resources/_vendor/pyparsing.py', 'description': 'Helper method for defining parse actions that require matching at a specific\ncolumn in the input text.', 'signature': 'def matchOnlyAtCol(n):'}</s>_commasepitem = Combine(OneOrMore(Word(printables, excludeChars=',') +
... | 0 |
{'name': 'HyASTCompiler._compile_collect@hy/compiler.py', 'description': 'Collect the expression contexts from a list of compiled expression.\n\nThis returns a list of the expression contexts, and the sum of the\nResult objects passed as arguments.', 'signature': 'def _compile_collect(self, exprs, with_kwargs=False, di... | 0 |
{'name': 'predictions@bambi/interpret/effects.py', 'description': 'Compute Conditional Adjusted Predictions\n\nParameters\n----------\nmodel : bambi.Model\n The model for which we want to plot the predictions.\nidata : arviz.InferenceData\n The InferenceData object that contains the samples from the posterior dis... | 0 |
{'name': 'extract_spoes@examples/task_relation_extraction.py', 'description': '抽取输入text所包含的三元组\n ', 'signature': 'def extract_spoes(text):'}</s>{'name': 'DataGenerator@bert4keras/snippets.py', 'description': '数据生成器模版\n ', 'base_classes': ['object'], 'methods': [{'name': 'DataGenerator.__init__@bert4keras/snippets... | 0 |
{'name': 'check_for_invalid_header@tor/validation/formatting_validation.py', 'description': 'Check if the transcription contains a valid header option (Image, Video, or Audio).\n\nValid: *Video Transcription: Test*\nValid: *Image Transcription*\nInvalid: *Random Transcription*\nInvalid: Test *Image Transcription*', 'si... | 0 |
{'name': 'parseMappingFile@amptk/amptklib.py', 'description': 'function to parse mapping file pull out primers and barcode sequences', 'signature': 'def parseMappingFile(input, output):'}</s>{'name': 'runSubprocess5@amptk/amptklib.py', 'description': 'DOCSTRING', 'code': "def runSubprocess5(cmd):\n #function where n... | 0 |
{'name': 'parse_tcsh_args@src/python_scripts/afnipy/lib_apqc_io.py', 'description': 'Parse arguments for tcsh scripter.\n\nInput\n-----\nargv : list of args (not including prog name)\n\nReturn\n------\n\niopts : an object with the argument values stored, including a\n self-"check_req()" method, as well.', 'signature... | 0 |
{'name': 'BitfieldsTestCase.test_and_python_api@tools/lldb/packages/Python/lldbsuite/test/lang/c/bitfields/TestBitfields.py', 'description': 'Use Python APIs to inspect a bitfields variable.', 'signature': 'def test_and_python_api(self):'}</s>{'name': 'value_type_to_str@tools/lldb/packages/Python/lldbsuite/test/lldbuti... | 0 |
{'name': 'DifferentialFVAResult._generate_designs@cameo/strain_design/deterministic/flux_variability_based.py', 'description': 'Generates strain designs for Differential FVA.\nThe conversion method has three scenarios:\n#### 1. Knockout\n Creates a ReactionKnockoutTarget.\n#### 2. Flux reversal\n If the new flux ... | 1 |
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQIACF_PURGE = 1007 | 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': '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': 'AttachResumeTestCase@llv... | 1 |
{'name': 'write@code/html/generate_static_website.py', 'description': 'Writes a generated HTML page to a file, but checks with a HTML parser before.\n:param text:\n:param file:', 'signature': 'def write(text, path):'}</s>{'name': 'inspiration_index@code/html/generate_static_website.py', 'description': 'Prepares an insp... | 0 |
{'name': 'Bottle._cast@TDScanner/sqlmap/thirdparty/bottle/bottle.py', 'description': 'Try to convert the parameter into something WSGI compatible and set\ncorrect HTTP headers when possible.\nSupport: False, str, unicode, dict, HTTPResponse, HTTPError, file-like,\niterable of strings and iterable of unicodes', 'signatu... | 0 |
{'name': 'preprocess@grizli/pipeline/auto_script.py', 'description': 'Preprocessing script\n\nParameters\n----------\nfield_root : str\n Basename of the exposure group processed together\n\nHOME_PATH : str\n Base path for file processing\n\nmaster_radec : str\n Force use this radec file for astrometric alignme... | 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': '_NamespaceInfo.CheckEnd@ament_cpplint/ament_cpplint/cpplint.py', 'description': 'Check end of namespace comments.', 'signature': 'def CheckEnd(self, filename, clean_lines, linenum, error):'}</s>{'name': 'main@ament_cpplint/ament_cpplint/cpplint.py', 'description': 'DOCSTRING', 'code': "def main():\n filename... | 0 |
{'name': 'test_assert_return@tests/requirement-engineering/gc-aot/runtest.py', 'description': 'm. to search a pattern like (assert_return (invoke function_name ... ) ...)\nn. to search a pattern like (assert_return (invoke $module_name function_name ... ) ...)', 'signature': 'def test_assert_return(r, opts, form):'}</s... | 0 |
{'name': 'revocation_list_builder@certificate_engine/ssl/crl.py', 'description': 'Create certificate revocation list\n\nArguments: certificates - The certificates in tuples with revocation date\n ca - The authority certificate (pem bytes)\n key - The authority private key (pem bytes)\n pas... | 1 |
{'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': 'fsn2uri@Monika After Story/game/python-packages/mutagen/_senf/_fsnative.py', 'description': "Args:\n path (fsnative): The path to convert to an URI\nReturns:\n `text`: An ASCII only URI\nRaises:\n TypeError: If no `fsnative` was passed\n ValueError: If the path can't be converted\n\nTakes a `fsnat... | 0 |
{'name': 'View.save_pick_properties@picasso/gui/render.py', 'description': "Saves picks' properties in a given channel to path.\n\nProperties include number of locs, mean and std of all locs\ndtypes (x, y, photons, etc) and others.\n\nParameters\n----------\npath : str \n Path for saving picks' properties.\nchannel ... | 0 |
{'name': 'Forwarder._forward_logs@aws/logs_monitoring/forwarder.py', 'description': 'Forward logs to Datadog', 'signature': 'def _forward_logs(self, logs, key=None):'}</s>DD_SKIP_SSL_VALIDATION = get_env_var("DD_SKIP_SSL_VALIDATION", "false", boolean=True) | 1 |
{'name': 'intPrefixedToBytes@tubes/framing.py', 'description': 'Prepend packed network endian lengths to a sequence of bytes representing\nframes.\n\n@param prefixBits: The number of bits to use for the length prefix: either\n 8, 16, or 32.\n\n@return: a new L{ITube} that does the conversion.', 'signature': 'def int... | 0 |
{'name': 'chapters@module/save.py', 'description': 'create chapters folder ', 'signature': 'def chapters(url, course_folder_path):'}</s>{'name': 'webdriver@module/save.py', 'description': 'Download web driver ', 'code': 'def webdriver():\n \'\'\' Download web driver \'\'\'\n try:\n import requests\n exc... | 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': 'make_query@gaia_tools/query/make_gaia_query.py', 'description': 'Makes a whole Gaia query\n\nINPUTS\n------\nWHERE: str, None (default None)\n ADQL `WHERE\' argument\nORDERBY: str (or None)\n ADQL `ORDER BY\' argument\nFROM: str, None (default None)\n ADQL `FFROM\' argument\nrandom_index: int, None... | 0 |
{'name': 'ReplaceByFeeTest.test_new_unconfirmed_inputs@qa/rpc-tests/replace-by-fee.py', 'description': 'Replacements that add new unconfirmed inputs are rejected', 'signature': 'def test_new_unconfirmed_inputs(self):'}</s>OP_16 = CScriptOp(0x60) | 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': 'spatial_smooth@python/np/carfac.py', 'description': 'Design the AGC spatial smoothing filter.\n\nTODO(dicklyon): Can you say more??\n\nArgs:\n coeffs: The coefficient description for this state\n stage_state: The state of the AGC right now.\n\nReturns:\n A new stage stage object.', 'signature': 'def spatia... | 0 |
{'name': 'Comment.get@AO3/comments.py', 'description': 'Request a web page and return a Response object', 'signature': 'def get(self, *args, **kwargs):'}</s>{'name': 'InvalidIdError@AO3/utils.py', 'description': 'DOCSTRING', 'base_classes': ['Exception'], 'methods': [{'name': 'InvalidIdError.__init__@AO3/utils.py', 'de... | 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>{'name': 'IUVolumeSensorReading@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'descri... | 0 |
{'name': 'SupportsCredentialsCase.test_credentials_supported@tests/decorator/test_private_network_headers.py', 'description': 'The specified route should return the\nAccess-Control-Allow-Credentials header.', 'signature': 'def test_credentials_supported(self):'}</s>rootlogger = logging.getLogger(__name__) | 0 |
{'name': 'parse_binary_acl@msldap/external/bloodhoundpy/acls.py', 'description': 'Main ACL structure parse function.\nThis is offloaded to subprocesses and takes the current entry and the\nacl data as argument. This is then returned and processed back in the main process', 'signature': 'def parse_binary_acl(dn, entry, ... | 0 |
{'name': 'View.save_pick_properties@picasso/gui/render.py', 'description': "Saves picks' properties in a given channel to path.\n\nProperties include number of locs, mean and std of all locs\ndtypes (x, y, photons, etc) and others.\n\nParameters\n----------\npath : str \n Path for saving picks' properties.\nchannel ... | 0 |
{'name': 'TestBase.unmock@tests/alertlib_test.py', 'description': 'Used to unmock a function before the tests are ended.', 'signature': 'def unmock(self, container, var_str):'}</s>{'name': 'IntegrationTest@tests/alertlib_test.py', 'description': 'DOCSTRING', 'base_classes': ['TestBase'], 'methods': [{'name': 'Integrati... | 0 |
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQOT_CURRENT_CHANNEL = 1011 | 0 |
{'name': 'geticmptypebynumber@pf/_utils.py', 'description': 'Return the ICMP type as a string.', 'signature': 'def geticmptypebynumber(type, af):'}</s>PF_POOL_SRCHASH = 3 | 0 |
{'name': 'PULP_CBC_CMDTest.test_cuts_off@pulp/tests/test_pulp.py', 'description': 'Test if setting cuts=False adds cuts off to the command line.', 'signature': 'def test_cuts_off(self):'}</s>{'name': 'LpConstraint@pulp/pulp.py', 'description': 'An LP constraint', 'base_classes': [], 'methods': [{'name': 'LpConstraint._... | 0 |
{'name': '_find_active_space@macrodensity/tools.py', 'description': "Plot the active space (vacuum and non-vacuum regions) based on potential variations.\n\nThis function analyzes the potential variations within the specified cubes of the\ngiven size and determines whether each cube belongs to the vacuum or non-vacuum\... | 0 |
{'name': 'data_generator@Mask_RCNN/mrcnn/model.py', 'description': 'A generator that returns images and corresponding target class ids,\nbounding box deltas, and masks.\n\ndataset: The Dataset object to pick data from\nconfig: The model config object\nshuffle: If True, shuffles the samples before every epoch\naugment: ... | 1 |
{'name': 'FiniteDomainSort@src/api/python/z3/z3.py', 'description': 'Create a named finite domain sort of a given size sz', 'signature': 'def FiniteDomainSort(name, sz, ctx=None):'}</s>{'name': 'is_as_array@src/api/python/z3/z3.py', 'description': 'Return true if n is a Z3 expression of the form (_ as-array f).', 'code... | 0 |
{'name': '_AddMessageMethods@third_party/dawn/third_party/protobuf/python/google/protobuf/internal/python_message.py', 'description': 'Adds implementations of all Message methods to cls.', 'signature': 'def _AddMessageMethods(message_descriptor, cls):'}</s>{'name': '_AddEnumValues@third_party/dawn/third_party/protobuf/... | 0 |
{'name': 'add_message@_dbms_/__init__.py', 'description': "Persist a message from GMail if doesn't already exists locally.\n\nArgs:\n db: Local db connection object.\n message: GMail message JSON object as read by get api.", 'signature': 'def add_message(db, message):'}</s>{'name': 'connection_by_feature@_dbms_/_... | 0 |
{'name': 'TaxationTests.test_cart_unchanged@tests/test_shop.py', 'description': 'CartManager.from_request() saves a DB call by assuming Cart has only\ntwo fields, ``id`` and ``last_updated``. If this test fails, Cart has\nchanged, so we need to review that code and make sure it still works.\n\nSee the comment before th... | 0 |
{'name': 'Confluence.add_attachment@confluence/client.py', 'description': 'Add a single attachment to an existing piece of content.\n\n:param content_id: the confluence content to add the attachment to.\n:param file_path: The full location of the file on the local system.\n:param file_name: Optionally the name to give ... | 0 |
{'name': 'SpoolmanagerPlugin.api_getExtrusionAmount@octoprint_SpoolManager/__init__.py', 'description': 'Returns the current extruded filament for each tool\n:param string path:\n:return: array of ....', 'signature': 'def api_getExtrusionAmount(self):'}</s>{'name': 'SpoolmanagerPlugin@octoprint_SpoolManager/__init__.py... | 1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.