text
string
label
int64
{'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': '_make_type_verifier@06_prepare/archive/spark/spark-2.4.6-bin-without-hadoop/python/pyspark/sql/types.py', 'description': 'Make a verifier that checks the type of obj against dataType and raises a TypeError if they do\nnot match.\n\nThis verifier also checks the value of obj against datatype and raises a Value...
0
{'name': 'Connection.cursor@trino/dbapi.py', 'description': 'Return a new :py:class:`Cursor` object using the connection.', 'signature': 'def cursor(self, cursor_style: str = "row", legacy_primitive_types: bool = None):'}</s>{'name': 'Connection@trino/dbapi.py', 'description': 'Trino supports transactions and the abili...
1
{'name': 'BuildTest.parse_buildspecs@buildtest/cli/build.py', 'description': 'Parse all buildspecs by passing buildspec file to :class:`buildtest.buildsystem.parser.BuildspecParser` class.\nIf buildspec fails validation we skip the buildspec and print all skipped buildspecs.\nIf buildspec passes validation we get all b...
0
{'name': 'NerfNet.forward@ddp_model.py', 'description': ':param ray_o, ray_d: [..., 3]\n:param fg_z_max: [...,]\n:param fg_z_vals, bg_z_vals: [..., N_samples]\n:return', 'signature': 'def forward(self, ray_o, ray_d, fg_z_max, fg_z_vals, bg_z_vals):'}</s>logger = logging.getLogger(__package__)
0
{'name': '_SimpleDecoder@python/google/protobuf/internal/decoder.py', 'description': "Return a constructor for a decoder for fields of a particular type.\n\nArgs:\n wire_type: The field's wire type.\n decode_value: A function which decodes an individual value, e.g.\n _DecodeVarint()", 'signature': 'def _Si...
0
{'name': 'test_reader_and_writer_noorder@tests/protocol/test_binary.py', 'description': 'Test serialization and deserialization for types\nthat have no guaranteed order.', 'signature': 'def test_reader_and_writer_noorder(spec, value):'}</s>{'name': 'vlist@tests/util/value.py', 'description': 'DOCSTRING', 'code': 'def v...
0
{'name': 'TopLevelMixin.transform_fold@altair/vegalite/v5/api.py', 'description': 'Add a FoldTransform to the spec.\n\nParameters\n----------\nfold : List(string)\n An array of data fields indicating the properties to fold.\nas : [string, string]\n The output field names for the key and value properties produced ...
0
{'name': 'FoundationTestCase2.test_more_expr_commands@tools/lldb/packages/Python/lldbsuite/test/lang/objc/foundation/TestObjCMethods2.py', 'description': 'More expression commands for objective-c.', 'signature': 'def test_more_expr_commands(self):'}</s>{'name': 'is_exe@tools/lldb/packages/Python/lldbsuite/test/lldbtest...
0
{'name': 'relu_grad@nn_components/activations.py', 'description': "Relu derivative.\n g'(z) = 0 if g(z) <= 0\n g'(z) = 1 if g(z) > 0", 'signature': 'def relu_grad(z):'}</s>{'name': 'tanh_grad@nn_components/activations.py', 'description': "Tanh derivative.\n g'(z) = 1 - g^2(z).", 'code': 'def tanh_grad(z):\n ...
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': 'post_search@geetest_offline/geetest_offline_nm.py', 'description': 'POST /CheckEntContext/showCheck.html', 'signature': 'def post_search(session, textfield, page):'}</s>USERRESPONSE_JSCONTEXT = JSRUNTIME.compile(util.USERRESPONSE_JS)
0
{'name': 'entrypoint@da/api.py', 'description': 'Entry point for running DistAlgo as the main module.\n\n ', 'signature': 'def entrypoint():'}</s>{'name': 'ReplayQueue@da/common.py', 'description': 'A queue that simply replays recorded messages in order.\n\n ', 'base_classes': [], 'methods': [{'name': 'ReplayQueu...
0
{'name': 'wait_on_db_update@grizli/aws/db.py', 'description': 'Wait for db to stop updating on root', 'signature': 'def wait_on_db_update(root, t0=60, dt=30, n_iter=60, engine=None):'}</s>GALEX_MIS_VIZIER = "II/312/mis"
0
{'name': 'steps@radish/stepregistry.py', 'description': 'Decorator for classes with step definitions inside', 'signature': 'def steps(cls):'}</s>{'name': 'RadishError@radish/exceptions.py', 'description': 'General radish specific error', 'base_classes': ['Exception'], 'methods': []}
0
{'name': 'ReplaceByFeeTest.test_doublespend_tree@test/functional/feature_rbf.py', 'description': 'Doublespend of a big tree of transactions', 'signature': 'def test_doublespend_tree(self):'}</s>OP_LSHIFT = CScriptOp(0x98)
0
{'name': 'create_train_input_fn@object_detection/inputs.py', 'description': 'Creates a train `input` function for `Estimator`.\n\nArgs:\n train_config: A train_pb2.TrainConfig.\n train_input_config: An input_reader_pb2.InputReader.\n model_config: A model_pb2.DetectionModel.\n\nReturns:\n `input_fn` for `Estimator`...
0
{'name': 'set_platform_directories@python-build-with-qt/sip-4.11.2/configure.py', 'description': 'Initialise the global variables relating to platform specific\ndirectories.', 'signature': 'def set_platform_directories():'}</s>default_sipsipdir = None
0
{'name': 'GroupFitter.xfit_redshift@grizli/fitting.py', 'description': 'Two-step procedure for fitting redshifts\n\n1. polynomial, spline template fits\n2. redshift grids\n3. ...\n\nParameters\n----------\nprior : None, (array, array)\n Redshift prior (z, pz). Will be interpolated to the redshift\n fit grid\n\nt...
0
{'name': 'get_current_error@wrappers/python/indy_vdr/bindings.py', 'description': 'Get the error result from the previous failed API method.\n\nArgs:\n expect: Return a default error message if none is found', 'signature': 'def get_current_error(expect: bool = False) -> VdrError:'}</s>{'name': 'FfiByteBuffer@wrapper...
0
{'name': 'And@src/api/python/z3/z3.py', 'description': "Create a Z3 and-expression or and-probe.\n\n>>> p, q, r = Bools('p q r')\n>>> And(p, q, r)\nAnd(p, q, r)\n>>> P = BoolVector('p', 5)\n>>> And(P)\nAnd(p__0, p__1, p__2, p__3, p__4)", 'signature': 'def And(*args):'}</s>{'name': 'seq1@src/api/python/z3/z3printer.py',...
0
{'name': 'GenerateOutput@gyp/pylib/gyp/generator/msvs.py', 'description': "Generate .sln and .vcproj files.\n\nThis is the entry point for this generator.\nArguments:\n target_list: List of target pairs: 'base/base.gyp:base'.\n target_dicts: Dict of target properties keyed on target pair.\n data: Dictionary containi...
0
{'name': 'identify_associations@src/move/tasks/identify_associations.py', 'description': 'Leads to the execution of the appropriate association\nidentification tasks. The function is organized in three\nblocks:\n 1) Prepare the data and create the dataloaders with their masks.\n 2) Evaluate associations using bay...
0
{'name': 'map_zones@pymultimatic/model/mapper.py', 'description': 'Map *zones*.', 'signature': 'def map_zones(json) -> List[Zone]:'}</s>{'name': 'map_gateway@pymultimatic/model/mapper.py', 'description': 'Map gateway.', 'code': 'def map_gateway(json) -> str:\n """Map gateway."""\n return str(json.get("body", {})....
0
{'name': 'NesterovFunction.prox@parsimony/functions/properties.py', 'description': 'The proximal operator corresponding to this function.\n\nThe proximal operator is computed numerically. This method should be\noverloaded if the function has a known proximal operator.\n\nFrom the interface "ProximalOperator".\n\nParame...
0
{'name': 'get_youtube_streams@ytmdl/yt.py', 'description': "Get both audio & video stream urls for youtube using youtube-dl.\n\nPS: I don't know how youtube-dl does the magic", 'signature': 'def get_youtube_streams(url):'}</s>{'name': 'get_songs@ytmdl/utility.py', 'description': 'Extract the songs from the provided lis...
0
{'name': 'And@src/api/python/z3/z3.py', 'description': "Create a Z3 and-expression or and-probe.\n\n>>> p, q, r = Bools('p q r')\n>>> And(p, q, r)\nAnd(p, q, r)\n>>> P = BoolVector('p', 5)\n>>> And(P)\nAnd(p__0, p__1, p__2, p__3, p__4)", 'signature': 'def And(*args):'}</s>{'name': 'is_is_int@src/api/python/z3/z3.py', '...
0
{'name': 'RequestsMock.add@responses/__init__.py', 'description': ">>> import responses\n\nA basic request:\n>>> responses.add(responses.GET, 'http://example.com')\n\nYou can also directly pass an object which implements the\n``BaseResponse`` interface:\n\n>>> responses.add(Response(...))\n\nA JSON payload:\n\n>>> resp...
1
{'name': 'test_face_areas_compute_face_areas_geoflow_small@test/test_grid.py', 'description': 'Checks if the GeoFlow Small can generate a face areas output.', 'signature': 'def test_face_areas_compute_face_areas_geoflow_small():'}</s>gridfile_CSne8 = current_path / "meshfiles" / "scrip" / "outCSne8" / "outCSne8.nc"
0
{'name': 'convert_date@plugin.video.realizerx/resources/lib/api/tvdbapi.py', 'description': 'Convert a thetvdb date string into a datetime.date object.', 'signature': 'def convert_date(date_string):'}</s>{'name': '_basic_request@plugin.image.premiumizer/resources/lib/modules/client.py', 'description': 'DOCSTRING', 'cod...
0
{'name': 'libmain@da/__main__.py', 'description': "Main program entry point.\n\nParses command line options, sets up global variables, and calls the 'main'\nfunction of the DistAlgo program.", 'signature': 'def libmain():'}</s>builtin_registry = dict()
0
{'name': 'start_client@python/dglke/kvclient.py', 'description': 'Start kvclient for training\n ', 'signature': 'def start_client(args):'}</s>{'name': 'ConstructGraph@python/dglke/dataloader/sampler.py', 'description': 'Construct Graph for training\n\nParameters\n----------\ndataset :\n the dataset\nargs :\n G...
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': 'TopLevelMixin.transform_fold@altair/vegalite/v5/api.py', 'description': 'Add a FoldTransform to the spec.\n\nParameters\n----------\nfold : List(string)\n An array of data fields indicating the properties to fold.\nas : [string, string]\n The output field names for the key and value properties produced ...
0
{'name': 'get_landmark@code/utils/util_eval.py', 'description': 'heatmap: 68 * 32 * 32', 'signature': 'def get_landmark(heatmap):'}</s>{'name': 'calc_metrics@code/utils/util_eval.py', 'description': 'DOCSTRING', 'code': "def calc_metrics(img1, img2, crop_border, test_Y=True):\n #\n if test_Y and img1.shape[2] == ...
0
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQCACF_LAST_PUT_TIME = 3129
0
{'name': 'SensorHandler.start_arm_timer@custom_components/alarmo/sensors.py', 'description': 'start timer for automatical arming', 'signature': 'def start_arm_timer(self, entity):'}</s>MANUFACTURER = "@nielsfaber"
0
{'name': 'get_log_topic@eth_event/main.py', 'description': 'Generate an encoded event topic for an event.\n\nArguments\n---------\nevent_abi : Dict\n Dictionary from a contract ABI, describing a specific event.\n\nReturns\n-------\nstr\n bytes32 encoded topic for the event.', 'signature': 'def get_log_topic(event...
0
{'name': 'diff_one@peewee_migrate/auto.py', 'description': 'Find difference between given peewee models.', 'signature': 'def diff_one(model1: TModelType, model2: TModelType, **kwargs) -> List[str]: # noqa: C901'}</s>{'name': 'drop_fields@peewee_migrate/auto.py', 'description': 'Generate migrations to remove fields.', ...
1
{'name': 'get_encnet_resnet101_pcontext@encoding/models/sseg/encnet.py', 'description': 'EncNet model from the paper `"Context Encoding for Semantic Segmentation"\n<https://arxiv.org/pdf/1803.08904.pdf>`_\n\nParameters\n----------\npretrained : bool, default False\n Whether to load the pretrained weights for model.\...
0
{'name': 'report@libratom/cli/subcommands.py', 'description': 'Click sub command function called by `ratom report`', 'signature': 'def report('}</s>{'name': 'get_spacy_models@libratom/lib/core.py', 'description': 'DOCSTRING', 'code': 'def get_spacy_models() -> Dict[str, List[str]]:\n\n releases = {}\n\n paginated...
0
{'name': 'TokenizerTrainer._lexicon_covering@montreal_forced_aligner/tokenization/trainer.py', 'description': 'Builds covering grammar and lexicon FARs.', 'signature': 'def _lexicon_covering(self, input_path=None, output_path=None) -> None:'}</s>{'name': 'generate_config_path@montreal_forced_aligner/config.py', 'descri...
0
{'name': 'isa_pseudo@riscvmodel/isa.py', 'description': 'TODO: documentation', 'signature': 'def isa_pseudo():'}</s>Field = namedtuple("Field", ["name", "base", "size", "offset", "description", "static", "value"])
0
{'name': 'Path.add@furl/furl.py', 'description': 'Add <path> to the existing path. <path> can either be a Path instance,\na list of segments, or a path string to append to the existing path.\n\nReturns: <self>.', 'signature': 'def add(self, path):'}</s>absent = object()
0
{'name': 'docopt@support/docopt.py', 'description': 'Parse `argv` based on command-line interface described in `doc`.\n\n`docopt` creates your command-line interface based on its\ndescription that you pass as `doc`. Such description can contain\n--options, <positional-argument>, commands, which could be\n[optional], (r...
1
{'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>WIRETYPE_END_GROUP = 4
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>c_ClearIntegerSig...
0
{'name': 'ProcessRunner.run@lib/symbioticpy/symbiotic/utils/process.py', 'description': 'Run command cmd and pass its stdout+stderr output\nto the watch object. watch object is supposed to be\nan instance of ProcessWatch object.\n\n\return return code of the process or None when the\nprocess has been stopped by the wat...
1
{'name': 'Dataset.__getitem__@demosaicnet/dataset.py', 'description': 'Fetches a mosaic / demosaicked pair of images.\n\nReturns\n mosaic(np.array): with size [3, h, w] the mosaic data with separated color channels.\n img(np.array): with size [3, h, w] the groundtruth image.', 'signature': 'def __getitem__(self, ...
0
{'name': 'parse_arguments@cwl_airflow/utilities/parser.py', 'description': 'Parses provided through argsl arguments.\nAll relative paths will be resolved relative\nto the cwd or current working directory.\nSet argsl to [""] if empty to prevent argparse from failing', 'signature': 'def parse_arguments(argsl, cwd=None):'...
0
{'name': 'Topic.__init__@code/pymqi/__init__.py', 'description': "Associate a Topic instance with the QueueManager object 'queue_manager'\nand optionally open the Topic.\n\nIf topic_desc is passed ignore topic_string and topic_name.\n\nIf open_opts is passed, it specifies topic open options, and\nthe topic is opened im...
0
{'name': 'BL3Save.set_max_sdus@bl3save/bl3save.py', 'description': 'Sets the specified SDUs (or all SDUs that we know about) to be at the max level', 'signature': 'def set_max_sdus(self, sdulist=None):'}</s>petkey_to_pet = { 'petmonkey': JABBER, 'petspiderant': SPIDERANT, 'petskag': SKAG, ...
0
{'name': 'azero@pf/rule.py', 'description': "Return True if all numbers in 'seq' are 0s.", 'signature': 'def azero(seq):'}</s>{'name': '_is_valid_addr@pf/_utils.py', 'description': 'Return True is addr is a valid address in the address family specified', 'code': 'def _is_valid_addr(af, addr):\n """Return True is add...
0
{'name': 'UFOBuilder.__init__@Lib/glyphsLib/builder/builders.py', 'description': 'Create a builder that goes from Glyphs to UFO + designspace.\n\nKeyword arguments:\nfont -- The GSFont object to transform into UFOs. We expect this GSFont\n object to have been pre-processed with\n ``glyphsLib.builder.prefl...
0
{'name': 'run_benchmark@oggm/cli/benchmark.py', 'description': 'Does the actual job.\n\nParameters\n----------\nrgi_version : str\n the RGI version to use (defaults to cfg.PARAMS)\nrgi_reg : str\n the RGI region to process\nborder : int\n the number of pixels at the maps border\noutput_folder : str\n path t...
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': 'TestDecode.testDecodeBadUTF8@src/tests/testXmlEncodingDecode.py', 'description': 'Ensure bad UTF-8 is flagged as such, but still decoded.', 'signature': 'def testDecodeBadUTF8(self):'}</s>{'name': 'MissingItunesEmail@src/feedvalidator/logging.py', 'description': 'DOCSTRING', 'base_classes': ['Warning'], 'meth...
0
{'name': 'test_empty_string_with_url@tests/test_bare.py', 'description': 'Originally for https://github.com/mverleg/pyjson_tricks/issues/51 ', 'signature': 'def test_empty_string_with_url():'}</s>{'name': 'SlotsStr@tests/test_class.py', 'description': 'DOCSTRING', 'base_classes': ['SlotsBase'], 'methods': [{'name': 'Sl...
0
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQRC_INITIALIZATION_FAILED = 2286
0
{'name': 'TestClass_JointVelocityConstraint.test_constraint_satisfaction@tests/tests/constraint/test_joint_velocity.py', 'description': 'Test constraint satisfaction with cvxpy.\n ', 'signature': 'def test_constraint_satisfaction(self, velocity_pc_data):'}</s>{'name': 'TestClass_JointVelocityConstraint@tests/tes...
1
{'name': 'Serial._telnet_read_loop@serial/rfc2217.py', 'description': 'Read loop for the socket.', 'signature': 'def _telnet_read_loop(self):'}</s>FLOWCONTROL_SUSPEND = b'\x08'
0
{'name': 'ParseArguments@llvm-12.0.0-project/compiler-rt/lib/sanitizer_common/scripts/cpplint.py', 'description': 'Parses the command line arguments.\n\nThis may set the output format and verbosity level as side-effects.\n\nArgs:\n args: The command line arguments:\n\nReturns:\n The list of filenames to lint.', 'sign...
0
{'name': 'BuildFailureRecord.commit_and_push_changes@bioconda_utils/build_failure.py', 'description': 'Commit and push any changes, including removal of the record.', 'signature': 'def commit_and_push_changes(self):'}</s>{'name': 'validate_config@bioconda_utils/utils.py', 'description': "Validate config against schema\...
0
{'name': 'run@TDScanner/sqlmap/thirdparty/bottle/bottle.py', 'description': 'Start a server instance. This method blocks until the server terminates.\n\n:param app: WSGI application or target string supported by\n :func:`load_app`. (default: :func:`default_app`)\n:param server: Server adapter to use. See :data:`s...
0
{'name': '_ScannerDelegate.handleDiscovery@blue_st_sdk/manager.py', 'description': 'Discovery handling callback.\n\nCalled when an advertising data is received from a BLE device while a\nScanner object is active.\n\nArgs:\n scan_entry (ScanEntry): BLE device. It contains device information\n and advertising data....
0
{'name': 'StandardLearnedReconstructor.load_learned_params@dival/reconstructors/standard_learned_reconstructor.py', 'description': "Load learned parameters from file.\n\nParameters\n----------\npath : str\n Path at which the learned parameters are stored.\n Implementations may interpret this as a file path or as ...
1
{'name': 'Rules.load@oslo_policy/policy.py', 'description': 'Allow loading of YAML/JSON rule data.\n\n.. versionadded:: 1.5.0', 'signature': 'def load(cls, data, default_rule=None):'}</s>{'name': 'parse_file_contents@oslo_policy/policy.py', 'description': "Parse the raw contents of a policy file.\n\nParses the contents...
1
{'name': 'NetParser.sort_distance@archive/skylift/app/utils/net_parser.py', 'description': 'Sorts networks by geo distance', 'signature': 'def sort_distance(self, networks, scan_type):'}</s>DIR_ARDUINO = join(DIR_DATA, 'ino')
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': 'cluster_anchors@lib/rpn_util.py', 'description': 'Clusters the anchors based on the imdb boxes (in 2D and/or 3D).\n\nGenerally, this method does a custom k-means clustering using 2D IoU\nas a distance metric.', 'signature': 'def cluster_anchors(feat_stride, anchors, test_scale, imdb, lbls, ilbls, anchor_ratio...
1
{'name': 'Command.check_next_arg@sievelib/commands.py', 'description': 'Argument validity checking\n\nThis method is usually used by the parser to check if detected\nargument is allowed for this command.\n\nWe make a distinction between required and optional\narguments. Optional (or tagged) arguments can be provided\nu...
0
{'name': 'git_versions_from_keywords@external/containers/versioneer.py', 'description': 'Get version information from git keywords.', 'signature': 'def git_versions_from_keywords(keywords, tag_prefix, verbose):'}</s>{'name': 'get_config_from_root@external/containers/versioneer.py', 'description': 'Read the project setu...
0
{'name': 'run@test/io/postgrest.py', 'description': 'Run PostgREST and yield an endpoint that is ready for connections.', 'signature': 'def run('}</s>{'name': 'PostgrestTimedOut@test/io/postgrest.py', 'description': 'Connecting to PostgREST endpoint timed out.', 'base_classes': ['Exception'], 'methods': []}
0
{'name': 'mat2d.set_row_strlabs@src/python_scripts/afnipy/lib_mat2d_base.py', 'description': 'input a list of strings; must match number of mat rows', 'signature': 'def set_row_strlabs(self, L):'}</s>{'name': 'mat2d@src/python_scripts/afnipy/lib_mat2d_base.py', 'description': 'A class for a 2D matrix; need not be squa...
1
{'name': 'set_group_and_perms@scripts/llnl_scripts/llnl_lc_build_tools.py', 'description': 'Sets the proper group and access permissions of given input directory.', 'signature': 'def set_group_and_perms(directory):'}</s>{'name': 'write_build_info@scripts/llnl_scripts/llnl_lc_build_tools.py', 'description': 'DOCSTRING',...
0
{'name': 'field_psf@grizli/pipeline/auto_script.py', 'description': 'Generate PSFs for the available filters in a given field', 'signature': "def field_psf(root='j020924-044344', PREP_PATH='../Prep', RAW_PATH='../RAW', EXTRACT_PATH='../Extractions', factors=[1, 2, 4], get_drizzle_scale=True, subsample=256, size=6, get_...
0
{'name': 'ROMTable.for_each@pyocd/coresight/rom_table.py', 'description': '! @brief Apply an action to every component defined in the ROM table and child tables.\n\nThis method iterates over every entry in the ROM table. For each entry it calls the\nfilter function if provided. If the filter passes (returns True or was...
0
{'name': 'PFAddr._from_string@pf/rule.py', 'description': 'Initalize a new instance from a string.', 'signature': 'def _from_string(self, a):'}</s>PF_OP_EQ = 2
0
{'name': 'ParseArguments@compiler-rt/lib/sanitizer_common/scripts/cpplint.py', 'description': 'Parses the command line arguments.\n\nThis may set the output format and verbosity level as side-effects.\n\nArgs:\n args: The command line arguments:\n\nReturns:\n The list of filenames to lint.', 'signature': 'def ParseAr...
0
{'name': 'GenericTemplateView.upload@nssmf/views.py', 'description': 'Upload a Generic Template by providing the content of the Generic Template.\nThe PUT method uploads the content of a Generic Template.', 'signature': 'def upload(self, request, *args, **kwargs):'}</s>MEDIA_URL = "download/"
0
{'name': 'process_direct_grism_visit@grizli/prep.py', 'description': 'Full processing of a direct (+grism) image visit.\n\nParameters\n----------\ndirect : dict\n Dictionary with keys \'files\' and \'product\' for the direct images.\n\ngrism : dict\n Dictionary with keys \'files\' and \'product\' for the grism im...
0
{'name': 'validateURL@src/feedvalidator/__init__.py', 'description': 'validate RSS from URL, returns events list, or (events, rawdata) tuple', 'signature': 'def validateURL(url, firstOccurrenceOnly=1, wantRawData=0):'}</s>{'name': 'NotBlank@src/feedvalidator/logging.py', 'description': 'DOCSTRING', 'base_classes': ['Wa...
0
{'name': 'View._dbscan@picasso/gui/render.py', 'description': 'Performs DBSCAN in a given channel with user-defined parameters\nand saves the result.\n\nParameters\n----------\nchannel : int\n Index of the channel were clustering is performed\npath : str\n Path to save clustered localizations\nradius : float\n ...
0
{'name': 'train@ddparser/run.py', 'description': 'Train', 'signature': 'def train(env):'}</s>{'name': 'eisner@ddparser/parser/data_struct/utils.py', 'description': 'Eisner algorithm is a general dynamic programming decoding algorithm for bilexical grammar.\n\nArgs:\n scores: Adjacency matrix,shape=(batch, seq_len, s...
0
{'name': 'Muse._handle_control@muselsl/muse.py', 'description': "Handle the incoming messages from the 0x000e handle.\n\nEach message is 20 bytes\nThe first byte, call it n, is the length of the incoming string.\nThe rest of the bytes are in ASCII, and only n chars are useful\n\nMultiple messages together are a json ob...
0
{'name': 'Topic.__init__@code/pymqi/__init__.py', 'description': "Associate a Topic instance with the QueueManager object 'queue_manager'\nand optionally open the Topic.\n\nIf topic_desc is passed ignore topic_string and topic_name.\n\nIf open_opts is passed, it specifies topic open options, and\nthe topic is opened im...
0
{'name': 'process_mtl_data@refreshdata.py', 'description': 'Processes new Sante Montreal data.\n\nParameters\n----------\nsources_dir : str\n Absolute path to source data dir.\nprocessed_dir : str\n Absolute path to processed data dir.\ndate : str\n Date of data to append (yyyy-mm-dd).', 'signature': 'def proc...
0
{'name': 'coloc@tensorqtl/coloc.py', 'description': 'COLOC from summary statistics (either beta/sds or p-values and MAF)', 'signature': 'def coloc(genotypes1_t, genotypes2_t, phenotype1_t, phenotype2_t,'}</s>{'name': 'linreg@tensorqtl/core.py', 'description': 'Robust linear regression. Solves y = Xb, standardizing X.\n...
0
{'name': 'find_next_range@utils/file_utils.py', 'description': 'Finds the next value of the Range header\n:param content_range_header: The content-range header value returned in the response, ex. 0-1000/7181823761\n If None, the default Range header that is bytes=0-CHUNK_SIZE is returned\n:pa...
0
{'name': 'QueueManager.backout@code/pymqi/__init__.py', 'description': 'Backout any outstanding gets/puts in the current unit of work.\n ', 'signature': 'def backout(self):'}</s>MQIAMO_PUT1S = 734
0
{'name': 'PExpectBashShell._setup_shell@lib/topology/platforms/shell.py', 'description': 'Overriden setup function that will disable the echo on the device on\nthe shell and set a pexpect-safe prompt.', 'signature': 'def _setup_shell(self, *args, connection=None, **kwargs):'}</s>{'name': 'ShellContext@lib/topology/plat...
0
{'name': 'Dockerfile.markOrigin@utils/pyHDLC/map.py', 'description': 'Check if a name/id corresponds to another image, an stage or an external image.', 'signature': 'def markOrigin(self, val: str):'}</s>{'name': 'Stage@utils/pyHDLC/map.py', 'description': 'DOCSTRING', 'base_classes': [], 'methods': [{'name': 'Stage.__i...
0
{'name': 'OrderFileTestCase.test@llvm-project/lldb/test/API/macosx/order/TestOrderFile.py', 'description': 'Test debug symbols follow the correct order by the order file.', 'signature': 'def test(self):'}</s>{'name': 'remove_file@llvm-project/lldb/packages/Python/lldbsuite/test/lldbtest.py', 'description': 'DOCSTRING',...
0
{'name': 'EVPTestCase.test_get_ec@tests/test_evp.py', 'description': 'Testing retrieving the EC key from the PKey instance.', 'signature': 'def test_get_ec(self):'}</s>{'name': 'HMAC@src/M2Crypto/EVP.py', 'description': 'DOCSTRING', 'base_classes': ['object'], 'methods': [{'name': 'HMAC.__init__@src/M2Crypto/EVP.py', '...
0
{'name': '_BuildBootableImage@tools/releasetools/common.py', 'description': "Build a bootable image from the specified sourcedir.\n\nTake a kernel, cmdline, and optionally a ramdisk directory from the input (in\n'sourcedir'), and turn them into a boot image. 'two_step_image' indicates if\nwe are building a two-step spe...
0
{'name': 'CifarResNet.__init__@models/resnet_small_V3.py', 'description': 'Constructor\nArgs:\n depth: number of layers.\n num_classes: number of classes\n base_width: base width', 'signature': 'def __init__(self, block, depth, num_classes, index, rate=[16, 16, 32, 64, 16, 32, 64]):'}</s>{'name': 'CifarResNet@models...
1
{'name': 'GTestColorTest.testEnvVarAndFlag@3rdparty/googletest/googletest/test/gtest_color_test.py', 'description': 'Tests the case when there are both GTEST_COLOR and --gtest_color.', 'signature': 'def testEnvVarAndFlag(self):'}</s>{'name': 'UsesColor@3rdparty/googletest/googletest/test/gtest_color_test.py', 'descript...
1
{'name': 'GtkydInfo.read_all_hdrs@src/python_scripts/afnipy/lib_gtkyd.py', 'description': 'go through all infiles and get header info. This populates a list\nof headers, one-for-one with the infiles', 'signature': 'def read_all_hdrs(self):'}</s>{'name': 'get_process_depth@src/python_scripts/afnipy/afni_util.py', 'descr...
0
{'name': 'writeFdat@fwtool/sony/fdat.py', 'description': 'Writes a non-encrypted FDAT file', 'signature': 'def writeFdat(fdat, outFile):'}</s>{'name': 'AesCbcCrypter@fwtool/sony/fdat.py', 'description': 'Decrypts a block from a 4th gen firmware image using AES CBC', 'base_classes': ['AesCrypter'], 'methods': [{'name': ...
0
{'name': 'get_cmdclass@versioneer.py', 'description': 'Get the custom setuptools subclasses used by Versioneer.\n\nIf the package uses a different cmdclass (e.g. one from numpy), it\nshould be provide as an argument.', 'signature': 'def get_cmdclass(cmdclass: dict[str, Any] | None = None):'}</s>{'name': 'git_get_keywor...
0