text
string
label
int64
{'name': 'tweet@twtxt/cli.py', 'description': 'Append a new tweet to your twtxt file.', 'signature': 'def tweet(ctx, created_at, twtfile, text):'}</s>{'name': 'Cache@twtxt/cache.py', 'description': 'DOCSTRING', 'base_classes': [], 'methods': [{'name': 'Cache.__init__@twtxt/cache.py', 'description': 'Initializes new :cl...
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': 'Numeral.__rgt__@src/api/python/z3/z3num.py', 'description': 'Return True if `other > self`.\n\n>>> 2 > Numeral(Sqrt(2))\nTrue', 'signature': 'def __rgt__(self, other):'}</s>{'name': 'BVSubNoOverflow@src/api/python/z3/z3.py', 'description': 'A predicate the determines that bit-vector subtraction does not overf...
0
{'name': 'PolicyNetwork.evaluate@td3.py', 'description': 'generate action with state as input wrt the policy network, for calculating gradients', 'signature': 'def evaluate(self, state, deterministic, eval_noise_scale, epsilon=1e-6):'}</s>{'name': 'PolicyNetwork@td3.py', 'description': 'DOCSTRING', 'base_classes': ['nn...
1
{'name': 'NgrokProcess.stop_monitor_thread@pyngrok/process.py', 'description': "Set the monitor thread to stop monitoring the ``ngrok`` process after the next log event. This will not\nnecessarily terminate the thread immediately, as the thread may currently be idle, rather it sets a flag\non the thread telling it to t...
0
{'name': 'QueryParser.resolve_path@rest_models/backend/compiler.py', 'description': 'resolve the path of Alias to find the final model, with the final name of the attr\n:param Col col: the column to resolve\n:rtype: tuple[Alias], str', 'signature': 'def resolve_path(self, col):'}</s>{'name': 'ApiResponseReader@rest_mod...
0
{'name': '_remove_absolute_rpaths@delocate/tools.py', 'description': 'Remove absolute filename rpaths in `filename`.\n\nParameters\n----------\nfilename : str\n filename of library\nad_hoc_sign : {True, False}, optional\n If True, sign file with ad-hoc signature', 'signature': 'def _remove_absolute_rpaths(filenam...
0
{'name': 'BreakpointCommandTestCase.breakpoint_command_sequence@lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_command/TestBreakpointCommand.py', 'description': 'Test a sequence of breakpoint command add, list, and delete.', 'signature': 'def breakpoint_command_sequence(self):'}</s>BREAKPOINT...
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...
1
{'name': 'test_https_h2_tls_context_configuration_rsa@test/integration/test_integration_basics.py', 'description': 'Test that specifying RSA compatible tls cipher suites works with the h2 pool.', 'signature': 'def test_https_h2_tls_context_configuration_rsa(https_test_server_fixture):'}</s>{'name': 'duration_parameteri...
0
{'name': 'deg2tobii@titta/helpers_tobii.py', 'description': 'Converts from degrees to Tobiis coordinate system [0, 1].\nNote that the Tobii coordinate system start in the upper left corner\nand the PsychoPy coordinate system in the center', 'signature': 'def deg2tobii(pos, mon):'}</s>{'name': 'ellipse@titta/helpers_tob...
0
{'name': 'ProtocolTest.test_complete_packet@test/test_protocol.py', 'description': 'Protocol should assemble incoming lines into complete packet.', 'signature': 'def test_complete_packet(self):'}</s>POWER_EVENT_FAILURE_LOG = "^\d-\d:99\.97\.0.+?\r\n"
0
{'name': 'compute_prediction@chapter5/logistic_regression_from_scratch.py', 'description': 'Compute the prediction y_hat based on current weights', 'signature': 'def compute_prediction(X, weights):'}</s>{'name': 'update_weights_gd@chapter5/logistic_regression_from_scratch.py', 'description': 'Update weights by one step...
0
{'name': 'create_test_loader@mseg_semantic/tool/mseg_dataloaders.py', 'description': 'Create a Pytorch dataloader from a dataroot and list of relative paths.\n\nArgs:\n args: CfgNode object\n use_batched_inference: whether to process images in batch mode\n\nReturns:\n test_loader\n data_list: list of 2-tupl...
0
{'name': 'ZiGate.write_attribute_request@zigate/core.py', 'description': 'Write Attribute request\nattribute could be a tuple of (attribute_id, attribute_type, data)\nor a list of tuple (attribute_id, attribute_type, data)', 'signature': 'def write_attribute_request(self, addr, endpoint, cluster, attributes,'}</s>SLEEP...
0
{'name': 'CheckTrailingSemicolon@third_party/cpplint/cpplint.py', 'description': 'Looks for redundant trailing semicolon.\n\nArgs:\n filename: The name of the current file.\n clean_lines: A CleansedLines instance containing the file.\n linenum: The number of the line to check.\n error: The function to call with any...
0
{'name': 'to_aqi@aqi/__init__.py', 'description': 'Calculate the AQI based on a list of pollutants\n\n:param ccs: a list of tuples of pollutants concentrations with\n pollutant constant and concentration as values\n:type ccs: list\n:param algo: algorithm module name\n:type algo: str', 'signature': 'def to_aq...
0
{'name': '_ClassifyInclude@tools/cpplint.py', 'description': 'Figures out what kind of header \'include\' is.\n\nArgs:\n fileinfo: The current file cpplint is running over. A FileInfo instance.\n include: The path to a #included file.\n is_system: True if the #include used <> rather than "".\n\nReturns:\n One of th...
0
{'name': 'Client.__init__@rpcq/_client.py', 'description': 'Create a client that connects to a server at <endpoint>.\n\n:param str endpoint: Socket endpoint, e.g. "tcp://localhost:1234"\n:param float timeout: Timeout in seconds for Server response, set to None to disable the timeout\n:param auth_config: The configurati...
0
{'name': 'make_SEP_catalog@grizli/prep.py', 'description': "Make a catalog from drizzle products using the SEP implementation of SourceExtractor\n\nParameters\n----------\nroot : str\n Rootname of the FITS images to use for source extraction. This\n function is designed to work with the single-image products fro...
0
{'name': 'TestLongGf.test_parse_mouse@test/test_parsers.py', 'description': 'Test basic parsing.', 'signature': 'def test_parse_mouse(self):'}</s>{'name': 'ChimeRScope@agfusion/parsers.py', 'description': 'ChimeRScope parser.', 'base_classes': ['_Parser'], 'methods': [{'name': 'ChimeRScope.__init__@agfusion/parsers.py'...
0
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQCFUNC_MQCONN = b'CONN'
0
{'name': 'Device.close@src/LabJackPython.py', 'description': 'close()\n\nCloses the device.\n\nOn Windows, this method only sets the device handle to None but does\nnot close the device. Instead use the Close function from the\nLabJackPython module which closes all devices in the program, and is\nthe only device close ...
0
{'name': 'IPDatabase.generate_vivado_inc_dirs@ipstools/ipstools/IPDatabase.py', 'description': "Exports the Vivado `inc_dirs` script.\n\n :param filename: Output script file name.\n :type filename: str\n\n :param domain: If not None, the domain to be targeting for script generation...
0
{'name': 'Printer._print_hdr@tools/hadb.py', 'description': 'Print header.', 'signature': 'def _print_hdr(self) -> None:'}</s>COLORS_CORE_EVENT = ("black", "on_light_green")
0
{'name': 'readDat@fwtool/sony/dat.py', 'description': 'Reads a .dat file', 'signature': 'def readDat(file):'}</s>provProtocolVersion = 256
1
{'name': 'extract_data@ytmdl/main.py', 'description': 'Extract the arguments and act accordingly.', 'signature': 'def extract_data():'}</s>{'name': 'search@ytmdl/yt.py', 'description': 'Search the song name and return results\n\nSearch the passed query using the `youtube_search` module\nand extract the results accordin...
0
{'name': 'setup@dwave/cloud/cli.py', 'description': 'Setup optional Ocean packages and configuration file(s).\n\nEquivalent to running `dwave install [--all]`, followed by\nan optional `dwave auth login --skip-valid [--oob]` and then by\n`dwave config create [--full] [--auto-token]`.', 'signature': 'def setup(install_a...
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': 'create_bankid_test_server_cert_and_key@bankid/certutils.py', 'description': 'Split the bundled test certificate into certificate and key parts and save them\nas separate files, stored in PEM format.\n\nIf the environment variable TEST_CERT_FILE is set, use this file\ninstead of fetching the P12 certificate.\n...
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': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQOO_READ_AHEAD = 1048576
0
{'name': 'TestSmartQueryAutoEagerLoad.test_explicitly_set_in_schema_subqueryload@sqlalchemy_mixins/tests/test_smartquery.py', 'description': 'here we explicitly set in schema that we additionally want to load\n post___comments', 'signature': 'def test_explicitly_set_in_schema_subqueryload(self):'}</s>{'name': 'SmartQue...
0
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQCONNID_NONE = b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
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': 'csqrt@python/taichi/math/_complex.py', 'description': 'Returns the complex square root of a 2d vector `z`, so that\nif `w^2=z`, then `w = csqrt(z)`.\n\nAmong the two square roots of `z`, if their real parts are non-zero,\nthe one with positive real part is returned. If both their real parts\nare zero, the one...
0
{'name': 'save_class_activation_images@src/misc_functions.py', 'description': ' Saves cam activation map and activation map on the original image\n\nArgs:\n org_img (PIL img): Original image\n activation_map (numpy arr): Activation map (grayscale) 0-255\n file_name (str): File name of the exported image', '...
0
{'name': 'ContainerVulViewSet.check_flag@vulfocus-api/dockerapi/views.py', 'description': '验证Flag是否正确\n:param request:\n:param pk:\n:return:', 'signature': 'def check_flag(self, request, pk=None):'}</s>VUL_IP = ""
0
{'name': 'check_for_params@dival/reference_reconstructors.py', 'description': 'Return whether the parameter file(s) can be found.\n\nParameters\n----------\nreconstructor_key_name_or_type : str or type\n Key name of configuration or reconstructor type.\ndataset_name : str\n Standard dataset name.\ninclude_learned...
0
{'name': 'GLPK.solve_problem_from_file@linopy/solvers.py', 'description': 'Solve a linear problem from a problem file using the glpk solver.\n\nThis function reads the linear problem file and passes it to the\nglpk solver. If the solution is successful it returns variable solutions\nand constraint dual values.\n\nFor m...
1
{'name': 'get_stat_all@datacommons/stat_vars.py', 'description': 'Returns a nested `dict` of all time series for `places` and `stat_vars`.\n\nArgs:\n places (`Iterable` of `str`): The dcids of Places to query for.\n stat_vars (`Iterable` of `str`): The dcids of the StatisticalVariables.\nReturns:\n A nested `dict` m...
1
{'name': 'IntervalArray.__add__@nelpy/core/_intervalarray.py', 'description': 'add length to start and stop of each interval, or join two interval arrays without merging', 'signature': 'def __add__(self, other):'}</s>{'name': 'spatial_sparsity@nelpy/utils.py', 'description': 'Compute the firing sparsity...\nCompute spa...
0
{'name': 'TestRunner.run@Part_7_Unittest/p_0005_wonka_chocolate_machine/unittest.py', 'description': 'Method to handle test run functionality\n\nParams:\n suite: object\n\nReturns:\n object', 'signature': 'def run(self, suite):'}</s>{'name': 'SkipTest@Part_7_Unittest/p_0005_wonka_chocolate_machine/unittest.py', '...
0
{'name': 'second_pass_threshold@avgn/segment_song/wav_to_syllables.py', 'description': 'The first pass threshold finds bouts based upon silences. The second pass, sets a more liberal threshold, based upon stretches of audio\nwhich are controlled for the expected bout rate', 'signature': 'def second_pass_threshold(onset...
0
{'name': 'TLP.check@fpga/lib/pcie/tb/pcie.py', 'description': 'Validate TLP', 'signature': 'def check(self):'}</s>{'name': 'MSIXCapability@fpga/lib/pcie/tb/pcie.py', 'description': 'DOCSTRING', 'base_classes': ['object'], 'methods': [{'name': 'MSIXCapability.__init__@fpga/lib/pcie/tb/pcie.py', 'description': 'DOCSTRING...
0
{'name': 'RstToPdf.createPdf@rst2pdf/createpdf.py', 'description': "Create a PDF from text (ReST input),\nor doctree (docutil nodes) and save it in outfile.\n\nIf outfile is a string, it's a filename.\nIf it's something with a write method, (like a StringIO,\nor a file object), the data is saved there.", 'signature': '...
0
{'name': 'BaseUserInterface.update@ring/func/base.py', 'description': 'Execute the original function and `set` the result as the value.\n\nThis action is comprehensible as a concatenation of\n:meth:`ring.func.base.BaseUserInterface.execute` and\n:meth:`ring.func.base.BaseUserInterface.set`.\n\n:see: :meth:`ring.func.ba...
0
{'name': 'shelve@ring/func/sync.py', 'description': "Python :mod:`shelve` based cache.\n\n:param shelve.Shelf shelf: A shelf storage. See :mod:`shelve` to create\n a shelf.\n\n >>> shelf = shelve.open('shelve')\n >>> @ring.shelve(shelf, ...)\n ... ...\n\n:see: :mod:`shelve` for the backend.\n:see: :func...
0
{'name': 'GTestFailIfNoTestLinkedTest.Run@third_party/libgtest/googletest/test/googletest-fail-if-no-test-linked-test.py', 'description': 'Run the given program with the given flag.\n\nArgs:\n program_name: Name of the program to run.\n flag: The command line flag to pass to the program, or None.\n env: Dictionary w...
0
{'name': 'prepare_prior@bambi/model_components.py', 'description': 'Helper function to correctly set default priors and auto scaling\n\nParameters\n----------\nprior : Prior or None\n The prior.\nkind : string\n Accepted values are: `"intercept"`, `"common"`, or `"group_specific"`.\nauto_scale : bool\n Whether...
0
{'name': 'Block_rel.__init__@src/graphnet/models/components/layers.py', 'description': "Construct 'Block_rel'.\n\nArgs:\n input_dim: Dimension of the input tensor.\n num_heads: Number of attention heads to use in the `Attention_rel`\n layer.\n mlp_ratio: Ratio of the hidden size of the feedforward network t...
0
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQXT_CHANNEL_MSG_EXIT = 12
0
{'name': 'get_corp_query_geetest_validate_input@geetest_online/geetest_online.py', 'description': '[105,102,40,33,104,97,115,86,97,108,105,100,41,123,98,114,111,119,115,101,\n114,95,118,101,114,115,105,111,110,40,123,32,118,97,108,117,101,58,32,53,\n48,48,49,56,49,48,56,53,125,41,59,104,97,115,86,97,108,105,100,61,\n11...
0
{'name': 'Resize.__call__@src/Pix2Pix/Pix2Pix.py', 'description': 'Parameters: \n sample: Dictionary containing image and label', 'signature': 'def __call__(self, sample):'}</s>init = Initializer(init_type = 'normal', init_gain = 0.02)
0
{'name': 'test_dt_import_missing_temporary@elpis/transformer/test_transformer.py', 'description': 'Raise an error if the temporary directory given does not exist.', 'signature': 'def test_dt_import_missing_temporary(tdtaf, tmpdir):'}</s>{'name': 'test_factory_new@elpis/transformer/test_transformer.py', 'description': '...
0
{'name': 'wasm_vec_to_list@language-bindings/python/src/wamr/wasmcapi/ffi.py', 'description': 'Converts a vector or a POINTER(vector) to a list\nvector of type pointers -> list of type pointers', 'signature': 'def wasm_vec_to_list(vec):'}</s>{'name': 'wasm_memory_as_extern_const@language-bindings/python/src/wamr/wasmca...
0
{'name': '_htmlentity_transform@script.module.youtube.dl/lib/youtube_dl/utils.py', 'description': 'Transforms an HTML entity to a character.', 'signature': 'def _htmlentity_transform(entity_with_semicolon):'}</s>DEFAULT_OUTTMPL = "%(title)s-%(id)s.%(ext)s"
0
{'name': 'get_connector_mapping@os_brick/initiator/connector.py', 'description': 'Get connector mapping based on platform.\n\nThis is used by Nova to get the right connector information.\n\n:param arch: The architecture being requested.', 'signature': 'def get_connector_mapping(arch=None):'}</s>{'name': '_device_path_f...
0
{'name': 'NestingState.Update@tools/cpplint.py', 'description': 'Update nesting state with current line.\n\nArgs:\n filename: The name of the current file.\n clean_lines: A CleansedLines instance containing the file.\n linenum: The number of the line to check.\n error: The function to call with any errors found.', ...
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': 'TrafficGen._init_services@dc_gym/iroko_traffic.py', 'description': 'Run the servers and monitors on all the host interfaces ', 'signature': 'def _init_services(self):'}</s>FILE_DIR = os.path.dirname(os.path.abspath(__file__))
1
{'name': 'ResetNolintSuppressions@scripts/cpplint.py', 'description': 'Resets the set of NOLINT suppressions to empty.', 'signature': 'def ResetNolintSuppressions():'}</s>{'name': 'CheckGlobalStatic@scripts/cpplint.py', 'description': 'Check for unsafe global or static objects.\n\nArgs:\n filename: The name of the cur...
0
{'name': 'StringPart.__eq__@tasks/deps/_suggest/_file_model.py', 'description': 'Return equality\n\nReturns:\n bool: Is it equal to other?', 'signature': 'def __eq__(self, other):'}</s>logger = _logging.getLogger("deps.suggest.file_model")
0
{'name': 'PythonModuleSourceFileGenerator._GenerateTypeSourceFile@yaldevtools/source_generators/python_module.py', 'description': 'Generates a Python type object source file.\n\nArgs:\n project_configuration (ProjectConfiguration): project configuration.\n template_mappings (dict[str, str]): template mappings, where ...
1
{'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': 'train@ddparser/run.py', 'description': 'Train', 'signature': 'def train(env):'}</s>{'name': 'AdamW@ddparser/ernie/optimization.py', 'description': 'AdamW object for dygraph', 'base_classes': ['F.optimizer.AdamOptimizer'], 'methods': [{'name': 'AdamW.__init__@ddparser/ernie/optimization.py', 'description': 'DO...
1
{'name': 'get_tag_sequence@data_process/util.py', 'description': 'input sen_sequence, output sen_tag_sequence', 'signature': 'def get_tag_sequence(sen_sequence: SenSequence, srl_predictor, tag_vocab):'}</s>{'name': 'SenTagSequence@data_process/datasets.py', 'description': 'DOCSTRING', 'base_classes': ['object'], 'metho...
1
{'name': 'ProcessGlobalSuppresions@third_party/cpplint/cpplint.py', 'description': 'Updates the list of global error suppressions.\n\nParses any lint directives in the file that have global effect.\n\nArgs:\n lines: An array of strings, each representing a line of the file, with the\n last element being empty ...
0
{'name': 'gen_inc_module@da/compiler/incgen.py', 'description': 'Generates the interface file from a DistPy AST.', 'signature': 'def gen_inc_module(daast, cmdline_args, filename=""):'}</s>{'name': 'ComparisonOperator@da/compiler/dast.py', 'description': 'DOCSTRING', 'base_classes': ['DistNode'], 'methods': []}
0
{'name': 'memoize@Projects/2_Classical Planning/aimacode/utils.py', 'description': 'Memoize fn: make it remember the computed value for any argument list.\nIf slot is specified, store result in that slot of first argument.\nIf slot is false, store results in a dictionary.', 'signature': 'def memoize(fn, slot=None):'}</...
0
{'name': 'PacketFilter.kill_states@pf/filter.py', 'description': 'Clear states matching the specified arguments.\n\nStates can be specified by address family, layer-4 protocol, source and\ndestination addresses, interface name, label and routing domain. Return\nthe number of killed states.', 'signature': 'def kill_stat...
0
{'name': 'CustomMainWidget.rename@src/gui/main_widget.py', 'description': 'Renames selected mod', 'signature': 'def rename(self):'}</s>{'name': 'debounce@src/util/util.py', 'description': 'Debounce a functions execution by {ms} milliseconds', 'code': 'def debounce(ms: int) -> Callable[[Callable[..., None]], Callable[.....
0
{'name': 'Project.fn@signac/project.py', 'description': 'Prepend a filename with the project path.\n\nParameters\n----------\nfilename : str\n The name of the file.\n\nReturns\n-------\nstr\n The absolute path of the file.', 'signature': 'def fn(self, filename):'}</s>__version__ = "2.2.0"
0
{'name': 'inform_user@python-build-with-qt/PyQt-x11-gpl-4.8/configure.py', 'description': 'Tell the user the option values that are going to be used.\n ', 'signature': 'def inform_user():'}</s>qt_datadir = None
1
{'name': 'Scheduler.check_task_status@spider/core/scheduler.py', 'description': '检查任务状态 预警', 'signature': 'def check_task_status(self):'}</s>WARNING_FAILED_COUNT = 1000
1
{'name': '_resplit@transformer/python.py', 'description': "Given a list of strings, returns a list of lines, by splitting each string\ninto multiple lines where it contains newlines.\n\n>>> _resplit([])\n[]\n>>> _resplit(['a', 'b'])\n['a', 'b']\n>>> _resplit(['a', 'b\\nc\\nd'])\n['a', 'b', 'c', 'd']", 'signature': 'def...
0
{'name': 'graph_edges_intersecting_polygon@GOSTNets/GOSTNets/GOSTnet.py', 'description': "#### Function for identifying edges of a graph that intersect polygon(s) ###\n REQUIRED: G - a Graph object\n polygons - a GeoDataFrame containing one or more polygons\n mode - a string, either 'contains' or 'i...
1
{'name': 'SwitchJoyConLeft.__init__@src/python/approxeng/input/switch.py', 'description': 'Create a new Nintendo Switch Joycon controller instance\n\nLeft hand controller only\n\n:param float dead_zone:\n Used to set the dead zone for each :class:`approxeng.input.CentredAxis` and\n :class:`approxeng.input.Trigger...
1
{'name': 'QuantifierRef.sort@src/api/python/z3/z3.py', 'description': 'Return the Boolean sort or sort of Lambda.', 'signature': 'def sort(self):'}</s>{'name': 'UGT@src/api/python/z3/z3.py', 'description': "Create the Z3 expression (unsigned) `other > self`.\n\nUse the operator > for signed greater than.\n\n>>> x, y = ...
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>MQIA_DEF_PRIORITY = 6
0
{'name': 'Socket.receive@src/engineio/socket.py', 'description': 'Receive packet from the client.', 'signature': 'def receive(self, pkt):'}</s>{'name': 'SocketIsClosedError@src/engineio/exceptions.py', 'description': 'DOCSTRING', 'base_classes': ['EngineIOError'], 'methods': []}
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': 'WeiboGetIndexParser.user@weibo_base/weibo_parser.py', 'description': 'structure is similary with user', 'signature': 'def user(self):'}</s>now = datetime.datetime.now()
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': 'HindcastEnsemble.bootstrap@src/climpred/classes.py', 'description': 'Bootstrap with replacement according to :cite:t:`Goddard2013`.\n\nArgs:\n metric: Metric to apply for verification, see `metrics <../metrics.html>`_\n comparison: How to compare to the observations/verification data.\n See `comp...
0
{'name': 'Source.append@codebraid/code_collections.py', 'description': 'Append a code chunk to internal code chunk list. Check code chunk\noptions for validity and update chunk summary data.', 'signature': 'def append(self, code_chunk: CodeChunk):'}</s>{'name': 'SysConfigError@codebraid/message.py', 'description': 'Er...
0
{'name': 'render_positive_time_period@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Resolve a template that specifies a timedelta', 'signature': 'def render_positive_time_period(data: dict, key: str) -> None:'}</s>ICON_CONTROLLER_OFF = "mdi:water-off"
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': 'InputsTest.test_faster_rcnn_resnet50_eval_input@object_detection/inputs_test.py', 'description': 'Tests the eval input function for FasterRcnnResnet50.', 'signature': 'def test_faster_rcnn_resnet50_eval_input(self, eval_batch_size=1):'}</s>SERVING_FED_EXAMPLE_KEY = "serialized_example"
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>MQZID_INSERT_NAME = 3
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': 'DebPkgToolsTestCase.test_repository_creation@deb_pkg_tools/tests.py', 'description': 'Test the creation of trivial repositories.', 'signature': 'def test_repository_creation(self, preserve=False):'}</s>{'name': 'main@deb_pkg_tools/cli.py', 'description': 'Command line interface for the ``deb-pkg-tools`` progr...
0
{'name': 'preprocess_img@tools/train_with_placeholder.py', 'description': ':param img_plac: [H, W, 3] uint 8 img. In RGB.\n:param gtbox_plac: shape of [-1, 5]. [xmin, ymin, xmax, ymax, label]\n:return:', 'signature': 'def preprocess_img(img_plac, gtbox_plac):'}</s>FAST_RCNN_IOU_NEGATIVE_THRESHOLD = 0.0
0
{'name': 'get_known_heuristic_names@heudiconv/utils.py', 'description': 'Return a list of heuristic names present under heudiconv/heuristics', 'signature': 'def get_known_heuristic_names() -> list[str]:'}</s>{'name': 'clear_temp_dicoms@heudiconv/utils.py', 'description': 'Ensures DICOM temporary directories are safely ...
0
{'name': 'task_dev@dodo.py', 'description': 'setup up local packages for interactive development', 'signature': 'def task_dev():'}</s>{'name': 'task_serve@dodo.py', 'description': 'run various development servers', 'code': 'def task_serve():\n """run various development servers"""\n\n yield dict(\n name="d...
0
{'name': 'Model.predict@lleaves/lleaves.py', 'description': "Return predictions for the given data.\n\nThe model needs to be compiled before prediction.\n\n:param data: Pandas df, numpy 2D array or Python list. Shape should be (n_rows, model.num_feature()).\n If the datatype is not equal to the model's dtype, the da...
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': 'convert_entries@code/html/generate_static_website.py', 'description': ':param entries:\n:param inspirations:\n:param developers:\n:return:', 'signature': 'def convert_entries(entries, inspirations, developers):'}</s>{'name': 'write_screenshots_overview@code/utils/osg.py', 'description': ':param overview:\n:re...
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': 'MainWindow.loadFile@labelImg.py', 'description': 'Load the specified file, or the last opened file if None.', 'signature': 'def loadFile(self, filePath=None):'}</s>SETTING_FILENAME = "filename"
1