text
string
label
int64
{'name': 'cmd_base@lib/charliecloud.py', 'description': 'Run a command to completion. If not fail_ok, exit with a fatal error if\nthe command fails (i.e., doesn’t exit with code zero). Return the\nCompletedProcess object.\n\nThe command’s stderr is suppressed unless (1) logging is DEBUG or higher\nor (2) fail_ok is Fal...
0
{'name': 'collect_naive_merge_results_at_res@mseg_semantic/scripts/collect_results.py', 'description': 'For all test datasets, aggregate the results of the naive-merge model at a specific evaluation resolution\n(from resolution-specific .txt files in subfolders).\n\nArgs:\n resolution: either "360", "720", "1080", o...
0
{'name': 'init_mp_pool@oggm/workflow.py', 'description': 'Necessary because at import time, cfg might be uninitialized', 'signature': 'def init_mp_pool(reset=False):'}</s>{'name': 'SemiImplicitModel@oggm/core/flowline.py', 'description': 'Semi implicit flowline model.\n\nIt solves the same equation as the FluxBasedMode...
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': 'IoManager._get_responses_list@pygdbmi/IoManager.py', 'description': 'Get parsed response list from string output\nArgs:\n raw_output (unicode): gdb output to parse\n stream (str): either stdout or stderr', 'signature': 'def _get_responses_list('}</s>__all__ = ["IoManager"]
0
{'name': 'CalculateKappa1@PyBioMed/PyMolecule/kappa.py', 'description': '#################################################################\nCalculation of molecular shape index for one bonded fragment\n\n---->kappa1\n\nUsage:\n\n result=CalculateKappa1(mol)\n\n Input: mol is a molecule object.\n\n Output: resu...
0
{'name': 'SensorHandler.process_group_event@custom_components/alarmo/sensors.py', 'description': 'check if sensor entity is member of a group and compare with previous events to evaluate trigger', 'signature': 'def process_group_event(self, entity: str, state: str) -> dict:'}</s>COMMAND_ARM_VACATION = "arm_vacation"
0
{'name': 'ResultTable.print_summary@dival/evaluation.py', 'description': 'Prints a summary of the results.\n ', 'signature': 'def print_summary(self):'}</s>{'name': 'CallbackStore@dival/util/odl_utility.py', 'description': 'This is a modified copy of odl.solvers.util.callback.CallbackStore,\nCopyright held by Th...
0
{'name': 'WaveNetModel._create_network@wavenet/model.py', 'description': 'Construct the WaveNet network.', 'signature': 'def _create_network(self, input_batch,local_condition_batch, global_condition_batch): '}</s>{'name': 'sample_from_discretized_mix_logistic@wavenet/mixture.py', 'description': ':param y: B x T x C\n:...
0
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQRC_SUB_INHIBITED = 2503
0
{'name': 'SensorHandler.process_group_event@custom_components/alarmo/sensors.py', 'description': 'check if sensor entity is member of a group and compare with previous events to evaluate trigger', 'signature': 'def process_group_event(self, entity: str, state: str) -> dict:'}</s>ATTR_EVENT = "event"
0
{'name': 'Server.__getitem__@python/couchdb-python/couchdb/client.py', 'description': 'Return a `Database` object representing the database with the\nspecified name.\n\n:param name: the name of the database\n:return: a `Database` object representing the database\n:rtype: `Database`\n:raise ResourceNotFound: if no datab...
0
{'name': 'coins_inserted@app.py', 'description': 'Actions coins inserted\n ', 'signature': 'def coins_inserted():'}</s>{'name': 'button_event@app.py', 'description': 'Registers a button push event\n ', 'code': 'def button_event():\n """Registers a button push event\n """\n config.LASTPUSHES = time.time()...
0
{'name': 'find_path_plot@One_Stroke/Find_Path.py', 'description': '展示寻找到的路径\n:param map: 表示图的数组\n:param method: 寻找路径的方法,默认为dfs\n:param h: 图的竖直方向网格的个数\n:param w: 图的水平方向网格的个数\n:return: 图示', 'signature': "def find_path_plot(map, method='dfs', h=Map_Height, w=Map_Width):"}</s>Fig_File = "C:\Users\GWT9\Desktop\one_stroke"
1
{'name': 'attach_local_response_data@rfpy/utils.py', 'description': 'Function to restrieve response data from locally stored dataless seed\n\nParameters\n----------\nstream : obspy.Stream\n Event seismogram\nlocal_response_dir: str\n Directory holding response information. All files containing the station\n na...
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': 'assign_confidence@mokapot/confidence.py', 'description': 'Assign confidence to PSMs, peptides, and optionally proteins.\n\nParameters\n----------\ndatasets : list[PsmDataset]\n A collection of PSMs.\nscores_list : list[numpy.ndarray[float]] | None, optional\n The scores by which to rank the PSMs. Usuall...
0
{'name': 'test_get_splite_array@geetest_online/test/testgeetestjs.py', 'description': 'load split array data from call javascript', 'signature': 'def test_get_splite_array():'}</s>USERRESPONSE_JSCONTEXT = JSRUNTIME.compile(USERRESPONSE_JS)
0
{'name': 'test_docker_push_target_ref@tests/integration/test_docker_push.py', 'description': 'Test that shipwright push includes the target ref of every image.\nOtherwise --pull-cache will not work.', 'signature': 'def test_docker_push_target_ref(tmpdir, docker_client, registry):'}</s>{'name': 'old_style_arg_dict@shipw...
0
{'name': 'GoogleVisibleMap.__init__@salem/datasets.py', 'description': "Initialize\n\nParameters\n----------\nx : array\n x coordinates of the points to include on the map\ny : array\n y coordinates of the points to include on the map\ncrs : proj or Grid\n coordinate reference system of x, y\nsize_x : int\n image s...
0
{'name': 'QueueManager.backout@code/pymqi/__init__.py', 'description': 'Backout any outstanding gets/puts in the current unit of work.\n ', 'signature': 'def backout(self):'}</s>MQIMPO_CURRENT_LENGTH = MQIMPO_LENGTH_1
0
{'name': 'entrypoint@da/api.py', 'description': 'Entry point for running DistAlgo as the main module.\n\n ', 'signature': 'def entrypoint():'}</s>{'name': 'TraceCorruptedException@da/sim.py', 'description': 'DOCSTRING', 'base_classes': ['TraceException'], 'methods': []}
0
{'name': 'main@setup.py', 'description': 'Main function.', 'signature': 'def main():'}</s>{'name': 'CMakeExtension@setup.py', 'description': 'Python extension to build.', 'base_classes': ['setuptools.Extension'], 'methods': [{'name': 'CMakeExtension.__init__@setup.py', 'description': 'DOCSTRING', 'code': 'def __init__(...
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': 'Decoder.forward@models/asr/transformer.py', 'description': 'args:\n padded_input: B x T\n encoder_padded_outputs: B x T x H\n encoder_input_lengths: B\nreturns:\n pred: B x T x vocab\n gold: B x T', 'signature': 'def forward(self, padded_input, encoder_padded_outputs, encoder_input_lengths):'}<...
0
{'name': 'generate_assignment_stub_and_hook@da/compiler/incgen.py', 'description': "Generate assignment stub and hook node for 'nameobj'.\n\nAssignment stubs notifies the incrementalizer of changes to value of\nvariables, and gives the incrementalizer a chance to perform necessary\nhousekeeping.", 'signature': 'def gen...
0
{'name': 'MaskedLayer.get_output_mask@modified_keras/keras/layers/core.py', 'description': 'The default output mask is just the input mask unchanged. Override this in your own\nimplementations if, for instance, you are reshaping the input', 'signature': 'def get_output_mask(self, train=False):'}</s>{'name': 'he_uniform...
0
{'name': 'use_rbg@library/dot3k/backlight.py', 'description': 'Swap the Green and Blue channels on the LED backlight\n\nUse if you have a first batch Display-o-Tron 3K', 'signature': 'def use_rbg():'}</s>LED_R_R = 0
0
{'name': 'plot_results@utils/utils.py', 'description': "Plot YOLO training results from the file 'results.txt'\nExample of what this is trying to plot can be found at: \nhttps://user-images.githubusercontent.com/26833433/63258271-fe9d5300-c27b-11e9-9a15-95038daf4438.png\nAn example results.txt file:\nimport os; os.syst...
0
{'name': 'GTestFilterUnitTest.testShardStatusFileIsCreated@security/nss/external_tests/google_test/gtest/test/gtest_filter_unittest.py', 'description': 'Tests that the shard file is created if specified in the environment.', 'signature': 'def testShardStatusFileIsCreated(self):'}</s>CAN_UNSET_ENV = eval(child.output)
0
{'name': 'Bottle.route@3rdparty/mongo-c-driver-1.26.2/build/bottle.py', 'description': "A decorator to bind a function to a request URL. Example::\n\n @app.route('/hello/:name')\n def hello(name):\n return 'Hello %s' % name\n\nThe ``:name`` part is a wildcard. See :class:`Router` for syntax\ndetails.\n\n:p...
0
{'name': 'readability@panoramix/simplify.py', 'description': "- replaces variable names with nicer ones,\n- fixes empty memory in calls\n- replaces 'max..' in setmems with msize variable\n (max can only appear because of this)", 'signature': 'def readability(trace):'}</s>{'name': 'while_uses_mem@panoramix/simplify.p...
0
{'name': '_CorsConfigImpl.add@aiohttp_cors/cors_config.py', 'description': "Enable CORS for specific route or resource.\n\nIf route is passed CORS is enabled for route's resource.\n\n:param routing_entity:\n Route or Resource for which CORS should be enabled.\n:param config:\n CORS options for the route.\n:return...
0
{'name': 'ResnetCompleteNetworkTest.testAtrousFullyConvolutionalValues@Attackset/fgsm_inresv2_random/nets/resnet_v1_test.py', 'description': 'Verify dense feature extraction with atrous convolution.', 'signature': 'def testAtrousFullyConvolutionalValues(self):'}</s>{'name': 'resnet_v1_200@Attackset/fgsm_ensv3_random/ne...
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': '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': 'child_dir_name@src/python_scripts/afnipy/afni_util.py', 'description': 'return the child directo...
0
{'name': 'SetValuesTestCase.test@llvm-project/lldb/test/API/lang/c/set_values/TestSetValues.py', 'description': 'Test settings and readings of program variables.', 'signature': 'def test(self):'}</s>BREAKPOINT_HIT_TWICE = "Breakpoint resolved with hit count = 2"
0
{'name': 'CheckHeaderFileIncluded@tools/cpplint.py', 'description': 'Logs an error if a source file does not include its header.', 'signature': 'def CheckHeaderFileIncluded(filename, include_state, error):'}</s>{'name': 'CheckAltTokens@tools/cpplint.py', 'description': 'Check alternative keywords being used in boolean ...
0
{'name': 'show_settings@versions/speed-cam_8.87.py', 'description': 'Initialize and Display program variable settings from config.py', 'signature': 'def show_settings():'}</s>MO_LOG_OUT_RANGE_ON = True
0
{'name': 'test_in_place_or_with_two_empty_counters@tests/test_counter.py', 'description': 'Test RedisCounter.__ior__() with two empty counters', 'signature': 'def test_in_place_or_with_two_empty_counters(redis: Redis) -> None:'}</s>{'name': 'test_in_place_and@tests/test_counter.py', 'description': 'Test RedisCounter.__...
0
{'name': 'convert_path@models/stylegan_tf_official/dnnlib/submission/submit.py', 'description': 'Convert a normal path to template and the convert it back to a normal path with given path type.', 'signature': 'def convert_path(path: str, path_type: PathType = PathType.AUTO) -> str:'}</s>{'name': 'get_module_from_obj_na...
0
{'name': 'ZWaveClimateBase.fan_mode@custom_components/zwave_mqtt/climate.py', 'description': 'Return the fan speed set.', 'signature': 'def fan_mode(self):'}</s>{'name': 'ZWaveClimateBase@custom_components/zwave_mqtt/climate.py', 'description': 'Representation of a Z-Wave Climate device.', 'base_classes': ['ZWaveDevice...
1
{'name': 'PrintUsage@ament_cpplint/ament_cpplint/cpplint.py', 'description': 'Prints a brief usage string and exits, optionally with an error message.\n\nArgs:\n message: The optional error message.', 'signature': 'def PrintUsage(message):'}</s>_RE_FIRST_COMPONENT = re.compile(r'^[^-_.]+')
0
{'name': 't_String@SyntaxParser/OP/LexicalAnalyzerB.py', 'description': '\\".+?\\"', 'signature': 'def t_String(t):'}</s>t_Separator = "\{|\}|\[|\]|\(|\)|~|,|;|\.|\?|\:"
0
{'name': 'TestStandardLibraryReorganization.test_disable_hooks@tests/test_future/test_standard_library.py', 'description': 'Tests the old (deprecated) names. These deprecated aliases should be\nremoved by version 1.0', 'signature': 'def test_disable_hooks(self):'}</s>{'name': 'import_top_level_modules@src/future/standa...
0
{'name': 'Client.__init__@python-sdk/pachyderm_sdk/client.py', 'description': "Creates a Pachyderm client.\n\nParameters\n----------\nhost : str, optional\n The pachd host. Default is 'localhost', which is used with\n ``pachctl port-forward``.\nport : int, optional\n The port to connect to. Default is 30650.\n...
0
{'name': 'OAuth2Credentials.authorize@third_party/oauth2client/client.py', 'description': "Authorize an httplib2.Http instance with these credentials.\n\nThe modified http.request method will add authentication headers to each\nrequest and will refresh access_tokens when a 401 is received on a\nrequest. In addition the...
0
{'name': 'get_address_list@src/future/backports/email/_header_value_parser.py', 'description': 'address_list = (address *("," address)) / obs-addr-list\n obs-addr-list = *([CFWS] ",") address *("," [address / CFWS])\n\nWe depart from the formal grammar here by continuing to parse until the end\nof the input, assumin...
0
{'name': 'dl_database@wfdb/io/record.py', 'description': "Download WFDB record (and optionally annotation) files from a\nPhysioNet database. The database must contain a 'RECORDS' file in\nits base directory which lists its WFDB records.\n\nParameters\n----------\ndb_dir : str\n The PhysioNet database directory to do...
0
{'name': 'describe_pe_direction@src/bids/reports/parameters.py', 'description': 'Generate description of phase encoding direction.', 'signature': 'def describe_pe_direction(metadata: dict, config: dict) -> str:'}</s>{'name': 'describe_intendedfor_targets@src/bids/reports/parameters.py', 'description': 'Generate descrip...
0
{'name': 'cif2cell@mcu/cell/cell_io.py', 'description': 'Read a cif file and return a cell spglib object', 'signature': 'def cif2cell(filename):'}</s>{'name': 'print_msg@mcu/utils/misc.py', 'description': 'DOCSTRING', 'code': 'def print_msg(msg=None, *kargs):\n if msg == None:\n print() \n else:\n p...
0
{'name': 'build_inlinepatterns@source-builder/sb/markdown/inlinepatterns.py', 'description': 'Build the default set of inline patterns for Markdown. ', 'signature': 'def build_inlinepatterns(md_instance, **kwargs):'}</s>{'name': 'dequote@source-builder/sb/markdown/inlinepatterns.py', 'description': 'Remove quotes from ...
0
{'name': 'IB.cancelOrder@ib_insync/ib.py', 'description': 'Cancel the order and return the Trade it belongs to.\n\nArgs:\n order: The order to be canceled.\n manualCancelOrderTime: For audit trail.', 'signature': "def cancelOrder(self, order: Order, manualCancelOrderTime: str = '') \\"}</s>{'name': 'HistoricalNew...
0
{'name': 'student_known@github_no_partners.py', 'description': 'Given a GitHub IDs, returns whether that student is a known student in\nthe student-data CSV file.', 'signature': 'def student_known(github_id: str) -> bool:'}</s>{'name': 'student_name_from@github_scanner.py', 'description': 'Given a GitHub repo "name" (e...
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': 'matchPreviousLiteral@scripts/pdns/lib/python2.7/site-packages/pip/_vendor/pyparsing.py', 'description': 'Helper to define an expression that is indirectly defined from\nthe tokens matched in a previous expression, that is, it looks\nfor a \'repeat\' of a previous expression. For example::\n first = Word(n...
0
{'name': 'test_serving_is_false_and_stop_returns_after_ctrlc@cheroot/test/test_server.py', 'description': 'Check that stop() interrupts running of serve().', 'signature': 'def test_serving_is_false_and_stop_returns_after_ctrlc():'}</s>{'name': 'ntob@cheroot/_compat.py', 'description': 'Return the native string as bytes...
0
{'name': 'Splitwise.createComment@splitwise/__init__.py', 'description': 'Creates a new comment.\n\nArgs:\n expense_id: Expense transaction on which a comment has to be made\n comment content: Content of the comment\n\nReturns:\n tuple: tuple containing:\n comment(:obj:`splitwise.comment.Comment`): Object...
0
{'name': '_adjusted_local_rust_target@setuptools_rust/build.py', 'description': "Returns the local rust target for the given `plat_name`, if it is\nnecessary to 'force' a specific target for correctness.", 'signature': 'def _adjusted_local_rust_target(plat_name: str, env: Env) -> Optional[str]:'}</s>{'name': '_binding_...
0
{'name': 'ReachabilityAlgorithm.compute_parameterization@toppra/algorithm/reachabilitybased/reachability_algorithm.py', 'description': 'Compute a path parameterization.\n\nIf fail, whether because there is no valid parameterization or\nbecause of numerical error, the arrays returns should contain\nnp.nan.\n\nParameters...
1
{'name': 'IncInterfaceGenerator.do_table4_transformation@da/compiler/incgen.py', 'description': 'Transformation defined in Table 4 of OOPSLA paper.\n\nThis transformation breaks up quantification conditions involving\nlogical operators (and/or) in the hopes of creating opportunities to\napply table 3.\n\nNote 1: unlike...
0
{'name': 'Application._load_environment@robopianist/viewer/application.py', 'description': 'Loads a new environment.', 'signature': 'def _load_environment(self, zoom_to_scene):'}</s>_MOVE_OBJECT_VERTICAL_MOUSE = user_input.Exclusive( (user_input.MOUSE_BUTTON_RIGHT, user_input.MOD_CONTROL) )
0
{'name': 'CheckStyle@scripts/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 ...
0
{'name': 'align_one_cli@montreal_forced_aligner/command_line/align_one.py', 'description': 'Align a single file with a pronunciation dictionary and a pretrained acoustic model.', 'signature': 'def align_one_cli(context, **kwargs) -> None:'}</s>QUIET = False
0
{'name': 'handle_backlog@tools/cloud_functions/gcs_event_based_ingest/gcs_ocn_bq_ingest/common/ordering.py', 'description': 'submit the next item in the _backlog if it is non-empty or clean up the\n_BACKFILL and _bqlock files.\nArgs:\n gcs_client: storage.Client\n bq_client: bigquery.Client\n bkt: storage.Buck...
0
{'name': 'MsgView._collect_msgs_to_draw@tg/views.py', 'description': 'Tries to collect list of messages that will satisfy `min_msg_padding`\ntheshold. Long messages could prevent other messages from displaying on\nthe screen. In order to prevent scenario when *selected* message moved\nout from the visible area of the s...
0
{'name': 'flags@carml/carml_monitor.py', 'description': 'Basically converts a dict into name=value string, but only if the\nkey is all-uppercase. This is because of the way we re-map keyword\nargs for the circuit listeners, etcetra.', 'signature': 'def flags(d):'}</s>LOG_LEVELS = ["DEBUG", "INFO", "NOTICE", "WARN", "ER...
0
{'name': 'process_client_hello@core/packet_processor.py', 'description': 'Extracts the SNI field from the ClientHello packet.', 'signature': 'def process_client_hello(pkt):'}</s>{'name': 'Configuration@core/model.py', 'description': 'DOCSTRING', 'base_classes': ['BaseModel'], 'methods': []}
0
{'name': 'train@fairseq_cli/train.py', 'description': 'Train the model for one epoch and return validation losses.', 'signature': 'def train('}</s>{'name': 'get_valid_stats@fairseq_cli/train.py', 'description': 'DOCSTRING', 'code': 'def get_valid_stats(\n cfg: DictConfig,\n trainer: Trainer,\n stats: Dict[str,...
0
{'name': 'docopt@third-party/fmt/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...
0
{'name': 'test_basics@tests/importer/test_importer.py', 'description': 'Make sure the basics of the importer work', 'signature': 'def test_basics():'}</s>{'name': 'test_stringer@tests/importer/test_importer.py', 'description': 'DOCSTRING', 'code': 'def test_stringer():\n _ast = hy_compile(\n read_many("(defn ...
0
{'name': 'IUSequence.load@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Load sequence data from the configuration', 'signature': 'def load(self, config: OrderedDict) -> "IUSequence":'}</s>CONF_ALLOW_MANUAL = "allow_manual"
0
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQUNDELIVERED_DISCARD = 2
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': 'Option@src/api/python/z3/z3.py', 'description': 'Create the regular expression that optionally accepts the argum...
0
{'name': 'Bottle.route@3rdparty/mongo-c-driver-1.26.2/build/bottle.py', 'description': "A decorator to bind a function to a request URL. Example::\n\n @app.route('/hello/:name')\n def hello(name):\n return 'Hello %s' % name\n\nThe ``:name`` part is a wildcard. See :class:`Router` for syntax\ndetails.\n\n:p...
0
{'name': 'MemoryInputStream.peek@fips-files/generators/sjson/__init__.py', 'description': 'peek ``count`` bytes from the stream. If ``allow_end_of_file`` is\n``True``, no error will be raised if the end of the stream is reached\nwhile trying to peek.', 'signature': 'def peek(self, count=1, allow_end_of_file=False):'}</...
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': 'HomographyTransform.map_index_to_coord@util/homg_trans.py', 'description': 'Return the coordinate in the transformed space of the tile.\nDependencies: init_map_coordinate\n:param index: tile index\n:return: coordinate of the tile in the transformed space.', 'signature': 'def map_index_to_coord(self, index):'}...
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': 'IUSequence.zone_duration@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Return the duration for the specified zone including adjustments\nand constraints', 'signature': 'def zone_duration('}</s>{'name': 'IUScheduleQueue@custom_components/irrigation_unlimited/irrigation_unlimi...
0
{'name': 'cifar_generator@tensor2tensor_envi/data_generators/cifar.py', 'description': 'Image generator for CIFAR-10 and 100.\n\nArgs:\n cifar_version: string; one of "cifar10" or "cifar100"\n tmp_dir: path to temporary storage directory.\n training: a Boolean; if true, we use the train set, otherwise the test set.\...
1
{'name': 'Response.iter_content@src/requests/models.py', 'description': 'Iterates over the response data. When stream=True is set on the\nrequest, this avoids reading the content at once into memory for\nlarge responses. The chunk size is the number of bytes it should\nread into memory. This is not necessarily the l...
0
{'name': 'Fingerprint.plot_barcode@prolif/fingerprint.py', 'description': 'Generate and display a :class:`~prolif.plotting.barcode.Barcode` plot from\na fingerprint object that has been used to run an analysis.\n\nParameters\n----------\nfigsize: tuple[int, int] = (8, 10)\n Size of the matplotlib figure.\ndpi: int =...
0
{'name': 'read_access_token@code/api/python/zenodo/zenodo_upload_tool.py', 'description': 'Read the API access token from a file in the home directory.', 'signature': 'def read_access_token() -> str:'}</s>FILENAME_COLUMN_HEADER = "fileName"
0
{'name': 'bustools_count@kb_python/count.py', 'description': 'Runs `bustools count`.\n\nArgs:\n bus_path: Path to BUS file to correct\n out_prefix: Prefix of the output files to generate\n t2g_path: Path to output transcript-to-gene mapping\n ecmap_path: Path to ecmap file, as generated by `kallisto bus`\n ...
0
{'name': 'TokenList._get_first_name@sqlparse/sql.py', 'description': 'Returns the name of the first token with a name', 'signature': 'def _get_first_name(self, idx=None, reverse=False, keywords=False,'}</s>{'name': 'Values@sqlparse/sql.py', 'description': 'Grouping of values', 'base_classes': ['TokenList'], 'methods': ...
0
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQSCO_STRUC_ID_ARRAY = [b"S", b"C", b"O", b" "]
0
{'name': 'AnkiDataFrame.normalize@ankipandas/ankidf.py', 'description': 'Bring a :class:`AnkiDataFrame` from the ``raw`` format (i.e. the\nexact format that Anki uses in its internal representation) to our\nconvenient format.\n\nArgs:\n inplace: If False, return new dataframe, else update old one\n force: If a pr...
0
{'name': 'FrameUtilsTestCase.test_frame_utils@tools/lldb/packages/Python/lldbsuite/test/python_api/lldbutil/frame/TestFrameUtils.py', 'description': 'Test utility functions for the frame object.', 'signature': 'def test_frame_utils(self):'}</s>{'name': 'expectedFlakeyAndroid@tools/lldb/packages/Python/lldbsuite/test/de...
0
{'name': 'P2PConnection.disconnect_node@test/functional/test_framework/mininode.py', 'description': 'Disconnect the p2p connection.\n\nCalled by the test logic thread. Causes the p2p connection\nto be disconnected on the next iteration of the asyncore loop.', 'signature': 'def disconnect_node(self):'}</s>{'name': 'msg_...
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': 'reduce_operand_types@codegen/x86_64.py', 'description': 'Combines operand types that differ only by a single operand together', 'signature': 'def reduce_operand_types(operand_types_list):'}</s>{'name': 'go_name_init@codegen/x86_64.py', 'description': 'Generates initialization code for go_name property', 'code...
0
{'name': '_AppHandler._populate_staging@jupyterlab/commands.py', 'description': 'Set up the assets in the staging directory.', 'signature': 'def _populate_staging(self, name=None, version=None, static_url=None, clean=False): # noqa'}</s>{'name': '_log_single_compat_errors@jupyterlab/commands.py', 'description': 'Log c...
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': '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': 'test_diamond_inheritance@seminar08/ml_cxx/third_party/pybind11/tests/test_multiple_inheritance.py', 'description': 'Tests that diamond inheritance works as expected (issue #959)', 'signature': 'def test_diamond_inheritance():'}</s>{'name': 'test_multiple_inheritance_python_many_bases@seminar08/ml_cxx/third_pa...
0
{'name': 'ReplaceByFeeTest.test_too_many_replacements@qa/rpc-tests/replace-by-fee.py', 'description': 'Replacements that evict too many transactions are rejected', 'signature': 'def test_too_many_replacements(self):'}</s>OP_NUMEQUALVERIFY = CScriptOp(0x9d)
0
{'name': 'Hap.pair_list_m1_m2@ap2/pairing/hap.py', 'description': '5.12.2 M2: Accessory -> iOS Device – ‘List Pairings Responseʼ\nWhen the accessory receives the request, it must perform the following steps:\n\n1. Validate the received data against the established HAP session as\ndescribed in the transport-specific cha...
0
{'name': 'TLP.unpack@fpga/lib/pcie/tb/pcie.py', 'description': 'Unpack TLP from DWORD array', 'signature': 'def unpack(self, pkt):'}</s>FMT_TLP_PREFIX = 4
0
{'name': 'PFState._from_struct@pf/state.py', 'description': 'Initialize class attributes from a pfsync_state structure.', 'signature': 'def _from_struct(self, s):'}</s>PF_ROUTETO = 1
0