text
string
label
int64
{'name': 'generate_release_changelog@extra/release_tool.py', 'description': 'Generate changelog and write it to a file', 'signature': 'def generate_release_changelog('}</s>{'name': 'do_list_repos@extra/release_tool.py', 'description': 'Lists the repos, using the provided type.', 'code': 'def do_list_repos(args, optiona...
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': 'test_put_update_mitre_org_malformed_roles@test-http/src/test/org_user_tests/org.py', 'description': 'service should return useful error message for malformed roles ', 'signature': 'def test_put_update_mitre_org_malformed_roles():'}</s>{'name': 'test_put_update_user_add_admin_role@test-http/src/test/org_user_t...
0
{'name': 'ResourceManager.resource_listdir@blockchain-env/lib/python3.7/site-packages/pip/_vendor/pkg_resources/__init__.py', 'description': 'List the contents of the named resource directory', 'signature': 'def resource_listdir(self, package_or_requirement, resource_name):'}</s>CHECKOUT_DIST = 0
0
{'name': 'indentedBlock@tests/_lib_vendors/pkg_resources/_vendor/pyparsing.py', 'description': 'Helper method for defining space-delimited indentation blocks, such as\nthose used to define block statements in Python source code.\n\nParameters:\n - blockStatementExpr - expression defining syntax of statement that\n ...
0
{'name': 'PFAddr._from_string@pf/rule.py', 'description': 'Initalize a new instance from a string.', 'signature': 'def _from_string(self, a):'}</s>{'name': 'pf_rule_ptr@pf/_struct.py', 'description': 'DOCSTRING', 'base_classes': ['Union'], 'methods': []}
0
{'name': 'validate_F@xmldiff/main.py', 'description': 'Type function for argparse - a float within some predefined bounds', 'signature': 'def validate_F(arg):'}</s>T_CLOSE = 1
0
{'name': 'GDAL2Tiles.open_input@auxiliary/gdal2customtiles/gdal2customtiles.py', 'description': 'Initialization of the input raster, reprojection if necessary', 'signature': 'def open_input(self) -> None:'}</s>{'name': 'worker_tile_details@auxiliary/gdal2customtiles/gdal2customtiles.py', 'description': 'DOCSTRING', 'co...
0
{'name': 'make_fixed_size@colabfold/alphafold/msa.py', 'description': 'Guess at the MSA and sequence dimensions to make fixed size.', 'signature': 'def make_fixed_size('}</s>NUM_EXTRA_SEQ = shape_placeholders.NUM_EXTRA_SEQ
1
{'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_objectspecial...
0
{'name': 'TestManager.test_custom_manager2@modeltranslation/tests/tests.py', 'description': 'Test if user-defined queryset is still working', 'signature': 'def test_custom_manager2(self):'}</s>{'name': 'ModeltranslationTestRule1@modeltranslation/tests/tests.py', 'description': 'Rule 1: Reading the value from the origin...
0
{'name': 'TrimmedMatchDesignTest.testTooFewGeos@trimmed_match/design/tests/trimmed_match_design_test.py', 'description': 'Checks no design is returned if we have less than 10 pairs.', 'signature': 'def testTooFewGeos(self):'}</s>{'name': 'GeoLevelData@trimmed_match/design/common_classes.py', 'description': 'Geo level d...
0
{'name': 'insert_fake_data@cr8/insert_fake_data.py', 'description': 'Generate random data and insert it into a table.\n\nThis will read the table schema and then find suitable random data providers.\nWhich provider is choosen depends on the column name and data type.\n\nExample:\n\n A column named `name` will map to...
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...
1
{'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': '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': 'MainFrame.update_textlist_from_xmat@src/python_scripts/afnipy/gui_xmat.py', 'description': 'given the X matrix and columns, fill screen data list', 'signature': 'def update_textlist_from_xmat(self):'}</s>{'name': 'calc_zero_dtype@src/python_scripts/afnipy/afni_util.py', 'description': 'Calc an appropriate zer...
0
{'name': 'plot_sounding_axes@pymeteo/skewt.py', 'description': 'Plots Skew-T/Log-P axes\n\nThis will plot isotherms, isobars, dry and moist adiabats, \nlines of constant water vapor mixing ratio, labels and \nsetup the y axes to be reversed.\n\n:paramter axes: The axes to draw on', 'signature': 'def plot_sounding_axes(...
0
{'name': 'populate_objects@tests/functional/common.py', 'description': 'Create a disdat context with count bundles.\nReturn the list of UUIDs and the list of objects\n(list[uuid], list[paths])', 'signature': 'def populate_objects(run_module_test, moto_boto, count: int) -> dict:'}</s>{'name': '_lineage_single@disdat/api...
0
{'name': 'ProcessFile@tools/cpplint.py', 'description': 'Does google-lint on a single file.\n\nArgs:\n filename: The name of the file to parse.\n\n vlevel: The level of errors to report. Every error of confidence\n >= verbose_level will be reported. 0 is a good default.\n\n extra_check_functions: An array of addi...
0
{'name': 'ProcessFileData@third_party/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, each rep...
0
{'name': 'canonicalize@intervals/interval.py', 'description': 'Convert equivalent discrete intervals to different representations.', 'signature': 'def canonicalize(interval, lower_inc=True, upper_inc=False):'}</s>{'name': 'IntervalException@intervals/exc.py', 'description': 'DOCSTRING', 'base_classes': ['Exception'], '...
0
{'name': 'ParserElement.setDebug@venv/Lib/site-packages/pip-19.0.3-py3.6.egg/pip/_vendor/pyparsing.py', 'description': 'Enable display of debugging messages while doing pattern matching.\nSet ``flag`` to True to enable, False to disable.\n\nExample::\n\n wd = Word(alphas).setName("alphaword")\n integer = Word(num...
0
{'name': '_calculate_minimum_wheel_name@delocate/delocating.py', 'description': 'Return a wheel name with an updated platform tag.\n\nBased on the architecture of the libraries in the wheel and actual platform\ntag.\n\nParameters\n----------\nwheel_name : str\n The name of the wheel.\nwheel_dir : Path\n The direc...
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_SUBW = 4261441663
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': 'PFPool._to_string@pf/rule.py', 'description': 'Return the string representation of the address pool.', 'signature': 'def _to_string(self):'}</s>PF_SYNPROXY_DROP = 10
0
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQRC_UNKNOWN_REPORT_OPTION = 2104
0
{'name': 'takeMiniTimelapse@source/pi-timolo.py', 'description': 'Take a motion tracking activated mini timelapse sequence\nusing yield if motion triggered', 'signature': 'def takeMiniTimelapse(moPath, prefix, NumOn, motionNumCount, currentDayMode, NumPath):'}</s>{'name': 'checkConfig@source/pi-timolo.py', 'description...
0
{'name': 'CalculateTestLists@third-party/googletest/googletest/test/googletest-shuffle-test.py', 'description': 'Calculates the list of tests run under different flags.', 'signature': 'def CalculateTestLists():'}</s>ACTIVE_TESTS = []
1
{'name': 'Mosek._solve@linopy/solvers.py', 'description': 'Solve a linear problem from a Mosek task object.\n\nParameters\n----------\nm : mosek.Task\n Mosek task object.\nsolution_fn : Path, optional\n Path to the solution file.\nlog_fn : Path, optional\n Path to the log file.\nwarmstart_fn : Path, optional\n...
0
{'name': 'GitRepository.is_ignored@md2cf/ignored_files.py', 'description': 'Check if filepath is ignored in the git repository by fetching all gitignores\nin the tree down to the git root and checking all of them.\n\n:param filepath: Path to the file to check if it is ignored.\n:return: True if the file is ignored in a...
0
{'name': 'edit_roster@rosters/views.py', 'description': 'Edit Roster View.', 'signature': 'def edit_roster(request):'}</s>{'name': 'ShiftRuleRoleListView@rosters/views.py', 'description': 'Shift Rule Role List View.', 'base_classes': ['LoginRequiredMixin', 'ListView'], 'methods': [{'name': 'ShiftRuleRoleListView.get_qu...
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': 'eval_adv_test_blackbox@pgd_attack_mnist.py', 'description': 'evaluate model by black-box attack', 'signature': 'def eval_adv_test_blackbox(model_target, model_source, device, test_loader):'}</s>test_loader = torch.utils.data.DataLoader(testset, batch_size=args.test_batch_size, shuffle=False, **kwargs)
1
{'name': 'process_lookup_path@gef.py', 'description': 'Look up for a path in the process memory mapping.\nReturn a Section object if found, None otherwise.', 'signature': 'def process_lookup_path(name: str, perm: Permission = Permission.ALL) -> Section | None:'}</s>{'name': 'gef_on_continue_hook@gef.py', 'description':...
0
{'name': 'PCFExecute.__init__@code/pymqi/__init__.py', 'description': "PCFExecute(name = '')\n\nConnect to the Queue Manager 'name' (default value '') ready\nfor a PCF command. If name is a QueueManager instance, it is\nused for the connection, otherwise a new connection is made ", 'signature': 'def __init__(self, name...
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': 'ECMA376Agile._derive_iterated_hash_from_password@msoffcrypto/method/ecma376_agile.py', 'description': 'Do a partial password-based hash derivation.\nNote the block key is not taken into consideration in this function.', 'signature': 'def _derive_iterated_hash_from_password('}</s>{'name': 'InvalidKeyError@msof...
0
{'name': 'make_combined_mosaics@grizli/pipeline/auto_script.py', 'description': 'Drizzle combined mosaics\n\nmosaic_driz_cr_type : int\n (mosaic_driz_cr_type & 1) : flag CRs on all IR combined\n (mosaic_driz_cr_type & 2) : flag CRs on IR filter combinations\n (mosaic_driz_cr_type & 4) : flag CRs on all OPT com...
1
{'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': 'to_pytorch_type@python/taichi/lang/util.py', 'description': 'Convert taichi data type to its counterpart in torch.\n\nArgs:\n dt (DataType): The desired data type to convert.\n\nReturns:\n DataType: The counterpart data type in torch.', 'signature': 'def to_pytorch_type(dt):'}</s>{'name': '_field@python...
0
{'name': 'ScaleClient.remove_studio_assignments@scaleapi/__init__.py', 'description': 'Removes projects from users based on emails.\nArgs:\n emails (List[str]):\n emails to unassign\n projects (List[str]):\n projects to unassign\n\nReturns:\n Dict[StudioLabelerAssignment]', 'signature': 'def remo...
0
{'name': 'init_screen@displays/inkyphat.py', 'description': 'Prepare the screen for drawing and return the draw variables\n ', 'signature': 'def init_screen(color):'}</s>payout_screen_1 = " Satoshis"
0
{'name': '_read_esmf@uxarray/io/_esmf.py', 'description': 'Reads in an Xarray dataset containing an ESMF formatted Grid dataset and\nencodes it in the UGRID conventions.\n\nAdheres to the ESMF Unstructrued Grid Format (ESMFMESH) outlined in the ESMF documentation:\nhttps://earthsystemmodeling.org/docs/release/latest/ES...
0
{'name': 'gf_poly_eval@reedsolo6.py', 'description': "Evaluates a polynomial in GF(2^p) given the value for x. This is based on Horner's scheme for maximum efficiency.", 'signature': 'def gf_poly_eval(poly, x):'}</s>{'name': 'rs_check@reedsolo6.py', 'description': 'Returns true if the message + ecc has no error of fals...
0
{'name': 'analyze@docstr_coverage/coverage.py', 'description': 'EXPERIMENTAL: More expressive alternative to `get_docstring_coverage`.\n\n Checks contents of `filenames` for missing docstrings, and produces a report detailing\ndocstring status\n\nNote that this method, as well as its parameters and return types\n ...
1
{'name': '_AddInitMethod@python/google/protobuf/internal/python_message.py', 'description': 'Adds an __init__ method to cls.', 'signature': 'def _AddInitMethod(message_descriptor, cls):'}</s>_K = TypeVar('_K')
0
{'name': 'BrowserContext.isIncognito@pyppeteer/browser.py', 'description': 'Return whether BrowserContext is incognito.\n\nThe default browser context is the only non-incognito browser context.\n\n.. note::\n The default browser context cannot be closed.', 'signature': 'def isIncognito(self) -> bool:'}</s>{'name': '...
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>OP_NOP1 = CScriptOp(0xb0)
0
{'name': 'round_td@openmaptiles/utils.py', 'description': 'Round timedelta by first digit after the dot', 'signature': 'def round_td(delta: timedelta):'}</s>{'name': 'deg2num@openmaptiles/utils.py', 'description': 'DOCSTRING', 'code': 'def deg2num(lat_deg, lon_deg, zoom):\n lat_rad = math.radians(lat_deg)\n n = 2...
0
{'name': 'main@flask_unsign/__main__.py', 'description': 'Main entry point of the application\n:return: None', 'signature': 'def main() -> Optional[int]:'}</s>__url__ = "https://github.com/Paradoxis/Flask-Unsign"
0
{'name': 'findpeaks.peaks2d@findpeaks/findpeaks.py', 'description': "Detect peaks and valleys in a 2D-array or image.\n\nDescription\n-----------\nTo handle 2D-arrays or images. Use the .fit() function for more information regarding the input parameters:\n * method : Method to be used for peak detection: 'topology',...
0
{'name': 'WorkerTestCase.test_sigusr1@tests/integration/test_worker.py', 'description': 'Print stacktrace on SIGUSR1', 'signature': 'def test_sigusr1(self):'}</s>logger = logging.getLogger(__name__)
0
{'name': '_ParseConfigSteps.__init__@mne_bids_pipeline/_docs.py', 'description': 'Build a mapping from config options to tuples of steps that use each option.\n\nThe mapping is stored in `self.steps`.', 'signature': 'def __init__(self, force_empty: tuple[str, ...] | None = None) -> None:'}</s>{'name': '_has_session_spe...
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': 'SVDRecommender.fit@reco/recommender/svd.py', 'description': ':param X: nx3 array-like. Each row has three elements in the order given by the\n formatizer. The userId, itemId and the value/rating.\n\n formatizer: to change the default format\n\n:return: Does not return anything. Just fits the da...
0
{'name': 'get_cmdclass@versioneer.py', 'description': 'Get the custom setuptools/distutils subclasses used by Versioneer.', 'signature': 'def get_cmdclass():'}</s>INIT_PY_SNIPPET = " from ._version import get_versions __version__ = get_versions()['version'] del get_versions "
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': 'GameState.__init__@python-algo/gamelib/game_state.py', 'description': 'Setup a turns variables using arguments passed\n\nArgs:\n * config (JSON): A json object containing information about the game\n * serialized_string (string): A string containing information about the game state at the start of this ...
0
{'name': 'draw_moist_adiabat@pymeteo/skewt.py', 'description': 'Plot moist adiabats on axes\n\n:parameter axes: The axes to draw on\n:type axes: :py:class:`matplotlib.axes`\n\nThis function calculates moist adiabats\nand plots these lines. Adiabats are calculated for\nvalues of T at 1000mb from -15 to 45 C every 5 C b...
0
{'name': 'PCFExecute.__init__@code/pymqi/__init__.py', 'description': "PCFExecute(name = '')\n\nConnect to the Queue Manager 'name' (default value '') ready\nfor a PCF command. If name is a QueueManager instance, it is\nused for the connection, otherwise a new connection is made ", 'signature': 'def __init__(self, name...
0
{'name': 'least_squares_subspace_clustering@cluster/selfrepresentation.py', 'description': 'Least squares subspace clustering. \nCompute self-representation matrix C by solving the following optimization problem\n min_{c_j} ||c_j||_2^2 + gamma ||x_j - X c_j||_2^2 s.t. c_jj = 0 (*)\n\nParameters\n-----------\nX : ar...
0
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQMO_MATCH_MSG_SEQ_NUMBER = 8
0
{'name': 'GeoNetcdf.__init__@salem/datasets.py', 'description': 'Open the file and try to understand it.\n\nParameters\n----------\nfile: path to the netcdf file\ngrid: a Grid object. This will override the normal behavior of\nGeoNetcdf, which is to try to understand the grid automatically.\ntime: a time array. This wi...
0
{'name': 'genScenarioDistribution@apim-traffic-tool/lib/traffic-tool/src/python/gen_scenario_yaml.py', 'description': 'This function will generate a random invoke scenario and write output to the invoke_scenario.yaml file\n:return: None', 'signature': 'def genScenarioDistribution():'}</s>log_level = logging.INFO
0
{'name': '_conj_actions@tulip/synth.py', 'description': 'Conjunction of multiple action types.\n\nIncludes solver expression substitution.\nSee also `_conj_action`.', 'signature': 'def _conj_actions('}</s>{'name': 'build_dependent_var_table@tulip/synth.py', 'description': 'Return substitution rules for dependent variab...
0
{'name': 'height_width@object_detection/core/box_list_ops.py', 'description': 'Computes height and width of boxes in boxlist.\n\nArgs:\n boxlist: BoxList holding N boxes\n scope: name scope.\n\nReturns:\n Height: A tensor with shape [N] representing box heights.\n Width: A tensor with shape [N] representing box wid...
0
{'name': '_assign_with_converter@vendor/attr/_make.py', 'description': 'Unless *attr_name* has an on_setattr hook, use normal assignment after\nconversion. Otherwise relegate to _setattr_with_converter.', 'signature': 'def _assign_with_converter(attr_name, value_var, has_on_setattr):'}</s>_init_converter_pat = "__attr_...
1
{'name': 'User.christmas_mode@src/astrobotany/models.py', 'description': 'Return if the user is in "christmas" mode.\n\nCache the results because this is a relatively expensive query that\nwill be checked multiple times per request.', 'signature': 'def christmas_mode(self) -> bool:'}</s>badge_226 = Badge("lion face", s...
0
{'name': 'extract_data@ytmdl/main.py', 'description': 'Extract the arguments and act accordingly.', 'signature': 'def extract_data():'}</s>{'name': 'get_title@ytmdl/yt.py', 'description': 'Try to get the title of the song.\n\nThis is mostly used when URL is passed or playlist\nlinks are passed since in those cases the ...
0
{'name': 'fillAvailableBlenderDists@BlendNet/addon.py', 'description': 'Cached blender dists list for the UI interface', 'signature': 'def fillAvailableBlenderDists(scene = None, context = None):'}</s>{'name': '_managerDownloadTaskResultsWorker@BlendNet/addon.py', 'description': 'Gets item and downloads using client', ...
0
{'name': 'event_factory@tools/hadb.py', 'description': 'Convert database row to Event object.', 'signature': 'def event_factory(cur: sqlite3.Cursor, row: tuple) -> Event:'}</s>{'name': 'raw_state_factory@tools/hadb.py', 'description': 'Convert database row to RawState object.', 'code': 'def raw_state_factory(cur: sqlit...
0
{'name': 'common_main@tools/warn/warn_common.py', 'description': 'Shared main function for Google3 and non-Google3 versions of warn.py.', 'signature': 'def common_main(use_google3, create_launch_subprocs_fn, classify_warnings_fn,'}</s>{'name': 'generate_cs_link@tools/warn/warn_common.py', 'description': 'Try to add cod...
0
{'name': 'TestEmbeddedDocumentField.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': 'CachedReferenceFiel...
0
{'name': 'validate_security_groups@verify_security_groups.py', 'description': 'Validate the security groups by printing them out.\n\nArgs:\n matching_entries (List[Dict[str, Any]]): A list of dictionaries representing the matching CSV entries.\nReturns:\n List of everything we validated\nRaises:\n ...
1
{'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': 'generate@code/html/generate_static_website.py', 'description': 'Regenerates the whole static website given an already imported set of entries, inspirations and developers.\nThese datasets must be valid for each other, i.e. each inspiration listed in entries must also have an\nentry in inspirations and the sam...
0
{'name': 'StandaloneQ2Q.setup_Q2Q@vertex/q2qstandalone.py', 'description': 'Set up a Q2Q service.\n ', 'signature': 'def setup_Q2Q(self, path,'}</s>{'name': 'RPTCPMethod@vertex/q2q.py', 'description': 'Certain NATs respond very poorly to seed traffic: e.g. if they receive\nunsolicited traffic to a particular por...
0
{'name': 'summaryReport@pipelines/pipeline_scxl.py', 'description': 'Prepare a PDF summary report.', 'signature': 'def summaryReport(infile, outfile):'}</s>nresolutions = len(str(PARAMS["runspecs_cluster_resolutions"]).split(","))
1
{'name': 'PFOp._from_string@pf/rule.py', 'description': 'Initalize a new instance from a string.', 'signature': 'def _from_string(self, operation):'}</s>ICMP_UNREACH_NEEDFRAG = 4
0
{'name': 'rel_err@oggm/utils/_funcs.py', 'description': 'Relative error. Ref should be non-zero', 'signature': 'def rel_err(ref, data):'}</s>ADHIKARI_FACTORS_PARABOLIC = interp1d(_ADHIKARI_TABLE_ZETAS, _ADHIKARI_TABLE_PARABOLIC, fill_value='ext...
0
{'name': 'MainWindow.newShape@labelImg.py', 'description': 'Pop-up and give focus to the label editor.\n\nposition MUST be in global coordinates.', 'signature': 'def newShape(self):'}</s>TXT_EXT = ".txt"
0
{'name': 'Diagram.upgrade@discopy/hypergraph.py', 'description': 'Turn a :class:`frobenius.Diagram` into a :class:`hypergraph.Diagram`.\n\n>>> x, y = map(Ty, "xy")\n >>> back_n_forth = lambda d: Diagram.upgrade(d.downgrade())\n>>> for d in [spiders(0, 0, x),\n... spiders(2, 3, x),\n... spiders(1,...
0
{'name': 'PacketFilter.set_limit@pf/filter.py', 'description': "Set hard limits on the memory pools used by Packet Filter.\n\n'limit' can be either one of the PF_LIMIT_* constants or a string; a\n'value' of UINT_MAX means unlimited. Raise PFError if the current pool\nsize exceeds the requested hard limit.", 'signature'...
0
{'name': 'check_multiple_rvt_shift_opts@src/python_scripts/afnipy/lib_physio_opts.py', 'description': "Can only use at most one '-rvt_shift*' opt. Simplest to check for\nthat at one time.\n\nParameters\n----------\nargs_dict : dict\n The dictionary of arguments and option values.\n\nReturns\n-------\nis_bad : int\n...
0
{'name': 'FPVal@src/api/python/z3/z3.py', 'description': 'Return a floating-point value of value `val` and sort `fps`.\nIf `ctx=None`, then the global context is used.\n\n>>> v = FPVal(20.0, FPSort(8, 24))\n>>> v\n1.25*(2**4)\n>>> print("0x%.8x" % v.exponent_as_long(False))\n0x00000004\n>>> v = FPVal(2.25, FPSort(8, 24...
0
{'name': 'Board.san@Monika After Story/game/python-packages/chess/__init__.py', 'description': 'Gets the standard algebraic notation of the given move in the context of\nthe current position.\n\nThere is no validation. It is only guaranteed to work if the move is\nlegal or a null move.', 'signature': 'def san(self, mov...
0
{'name': 'invalidate_cache@avatar/util.py', 'description': "Function to be called when saving or changing an user's avatars.", 'signature': 'def invalidate_cache(user, size=None):'}</s>{'name': 'cache_result@avatar/util.py', 'description': 'Decorator to cache the result of functions that take a ``user`` and a\n``size``...
0
{'name': 'ParseNolintSuppressions@ament_cpplint/ament_cpplint/cpplint.py', 'description': 'Updates the global list of line error-suppressions.\n\nParses any NOLINT comments on the current line, updating the global\nerror_suppressions store. Reports an error if the NOLINT comment\nwas malformed.\n\nArgs:\n filename: s...
0
{'name': 'ConsensusML.boruta_selection@scripts/cm_work/consensus.py', 'description': 'feature selection via boruta', 'signature': 'def boruta_selection(self):'}</s>{'name': 'important_gene_mask@scripts/cm_work/consensus.py', 'description': 'inputs\n------\ncolumns: columns of df\ncoefs: beta weights of lasso\n\nresults...
0
{'name': 'Optimizer.__init__@tf_verify/optimizer.py', 'description': 'Arguments\n---------\noperations : list\n list of dicts, each dict contains a mapping from a domain (like deepzono, refinezono or deeppoly) to a tuple with resources (like matrices, biases ...)\nresources : list\n list of str, each one being a ...
0
{'name': 'tag_copy@spatialmedia/mpeg/box.py', 'description': 'Copies a block of data from in_fh to out_fh.\n\nArgs:\n in_fh: file handle, source of uncached file contents.\n out_fh: file handle, destination for saved file.\n size: int, amount of data to copy.', 'signature': 'def tag_copy(in_fh, out_fh, size):'}</s>T...
0
{'name': 'OSClientManager.clean_snapshot@freezer/openstack/osclients.py', 'description': 'Deletes snapshot\n:param snapshot: snapshot name', 'signature': 'def clean_snapshot(self, snapshot):'}</s>{'name': 'exclude_path@freezer/utils/utils.py', 'description': 'Tests if path is to be excluded according to the given patte...
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...
1
{'name': '_resolve_button@ahk/_async/engine.py', 'description': 'Resolve a string of a button name to a canonical name used for AHK script\n:param button:\n:type button: str\n:return:', 'signature': 'def _resolve_button(button: Union[str, int]) -> str:'}</s>{'name': 'MsgBoxModality@ahk/_utils.py', 'description': 'DOCST...
0
{'name': 'GTestListTestsUnitTest.testWithFilterFlags@third-party/googletest/googletest/test/googletest-list-tests-unittest.py', 'description': 'Tests that --gtest_list_tests takes into account the\n--gtest_filter flag.', 'signature': 'def testWithFilterFlags(self):'}</s>IS_WINDOWS = os.name == 'nt'
0
{'name': 'draw_dry_adiabat@pymeteo/skewt.py', 'description': 'Plot dry adiabats on axes\n\n:parameter axes: The axes to draw on\n:type axes: :py:class:`matplotlib.axes`\n\nThis function calculates dry adiabats\nand plots these lines. Adiabats are calculated \nevery 10 K', 'signature': 'def draw_dry_adiabat(axes):'}</s...
0
{'name': 'month_days@src/convertdate/hebrew.py', 'description': 'How many days are in a given month of a given year', 'signature': 'def month_days(year, month):'}</s>{'name': 'to_jd_gregorianyear@src/convertdate/hebrew.py', 'description': 'Returns the Gregorian date when a given Hebrew month and year within a given Gre...
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