text
string
label
int64
{'name': 'DECIMER_Predictor.__init__@DECIMER/Repack_model.py', 'description': 'Load the tokenizers, the maximum input and output length and the\nmodel.\n\nArgs:\n encoder (tf.keras.model): The encoder model\n tokenizer (tf.keras.tokenizer): Output tokenizer, defines which character is assigned to what token\n ...
0
{'name': 'normalize_addr_dict@scourgify/normalize.py', 'description': 'Normalize an address from dict or dict-like object.\n\nAssumes addr_dict will have standard address related keys (address_line_1,\naddress_line_2, city, state, postal_code), unless addr_map is provided.\n\naddr_map, if used, must be in the format {s...
0
{'name': 'create_eval_input_fn@object_detection/inputs.py', 'description': 'Creates an eval `input` function for `Estimator`.\n\nArgs:\n eval_config: An eval_pb2.EvalConfig.\n eval_input_config: An input_reader_pb2.InputReader.\n model_config: A model_pb2.DetectionModel.\n\nReturns:\n `input_fn` for `Estimator` in ...
0
{'name': 'test_image_validate_00500@tests/unit/modules/dcnm/dcnm_image_upgrade/test_image_validate.py', 'description': '### Classes and Methods\n- ``ImageValidate``\n - ``wait_for_controller``\n\n### Summary\nVerify proper behavior of ``wait_for_controller`` when no actions\nare pending.\n\n### Setup\n- ``re...
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': 'loadSwagger@apim-traffic-tool/lib/traffic-tool/src/python/multi_tenant_create_scenario.py', 'description': 'This function will load and set the swagger definitions for APIs\n:return: None', 'signature': 'def loadSwagger():'}</s>{'name': 'genSwagger@apim-traffic-tool/lib/traffic-tool/src/python/multi_tenant_cr...
0
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQRC_BNO_ERROR = 2602
0
{'name': 'make_html_table@grizli/aws/db.py', 'description': ' ', 'signature': 'def make_html_table(engine=None, columns=[\'root\', \'status\', \'id\', \'p_ra\', \'p_dec\', \'mag_auto\', \'flux_radius\', \'z_spec\', \'z_map\', \'bic_diff\', \'chinu\', \'log_pdf_max\', \'d4000\', \'d4000_e\'], where="AND status >= 5 A...
0
{'name': 'resolve_by_name@designateclient/v2/utils.py', 'description': 'Helper to resolve a "name" a\'la foo.com to it\'s ID by using REST api\'s\nquery support and filtering on name.', 'signature': 'def resolve_by_name(func, name, *args):'}</s>{'name': 'get_all@designateclient/v2/utils.py', 'description': ':param func...
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': 'WSCTask.load_dataset@examples/roberta/wsc/wsc_task.py', 'description': 'Load a given dataset split.\n\nArgs:\n split (str): name of the split (e.g., train, valid, test)', 'signature': 'def load_dataset('}</s>{'name': 'get_mem_usage@fairseq/data/data_utils.py', 'description': 'DOCSTRING', 'code': 'def get_m...
0
{'name': 'SSHClient.write_until_expected@src/SSHLibrary/client.py', 'description': "Writes `text` repeatedly in the current shell until the `expected`\nappears in the output or the `timeout` expires.\n\n:param str text: Text to be written. Uses :py:meth:`write_bare`\n internally so no newline character is appended t...
0
{'name': 'GotoRelativeCommand.run@xpath.py', 'description': 'Move cursor(s) to specified relative tag(s).', 'signature': "def run(self, edit, **kwargs): # example usage from python console: sublime.active_window().active_view().run_command('goto_relative', {'direction': 'prev', 'goto_element': 'names'})"}</s>{'name': '...
0
{'name': 'flatten@rans.py', 'description': 'Flatten a rANS message into a 1d numpy array.', 'signature': 'def flatten(msg):'}</s>{'name': 'append_symbol@rans.py', 'description': 'DOCSTRING', 'code': 'def append_symbol(statfun, precision):\n def append_(msg, symbol):\n start, prob = statfun(symbol)\n re...
0
{'name': 'gen_graph@pyrgg/__main__.py', 'description': 'Generate a single graph.\n\n:param input_dict: input data\n:type input_dict: dict\n:param file_name: file name\n:type file_name: str\n:return: None', 'signature': 'def gen_graph(input_dict, file_name):'}</s>{'name': 'csv_maker@pyrgg/graph_gen.py', 'description': '...
0
{'name': '_AddMessageMethods@third_party/dawn/third_party/protobuf/python/google/protobuf/internal/python_message.py', 'description': 'Adds implementations of all Message methods to cls.', 'signature': 'def _AddMessageMethods(message_descriptor, cls):'}</s>{'name': 'UnicodeValueChecker@third_party/dawn/third_party/prot...
0
{'name': 'PFRule._to_string@pf/rule.py', 'description': 'Return the string representation of the rule.', 'signature': 'def _to_string(self):'}</s>{'name': 'queue_stats@pf/_struct.py', 'description': 'DOCSTRING', 'base_classes': ['Structure'], 'methods': []}
0
{'name': 'mypy@tasks.py', 'description': 'MyPy code', 'signature': 'def mypy(c):'}</s>COVERAGE_FILE = ROOT_DIR.joinpath(".coverage")
0
{'name': 'test_put_get_delete_bucket_domain_certificate@ut/test.py', 'description': '测试设置获取删除bucket自定义域名证书', 'signature': 'def test_put_get_delete_bucket_domain_certificate():'}</s>{'name': 'test_ci_list_doc_transcode_jobs@ut/test.py', 'description': 'DOCSTRING', 'code': 'def test_ci_list_doc_transcode_jobs():\n if ...
0
{'name': 'IUClock.load@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Load config data', 'signature': 'def load(self, config: OrderedDict) -> "IUClock":'}</s>CONF_TOGGLE = "toggle"
0
{'name': 'round_filters@siim_acr/src/layers/backbone/utils.py', 'description': 'Calculate and round number of filters based on depth multiplier. ', 'signature': 'def round_filters(filters, global_params):'}</s>{'name': 'relu_fn@siim_acr/src/layers/backbone/utils.py', 'description': 'Swish activation function ', 'code':...
0
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQCMD_COPY_Q = 10
0
{'name': 'train@src/train.py', 'description': 'Trains the model\n\n:param config:\n:return:', 'signature': 'def train(config):'}</s>{'name': 'update_dict_val_store@src/utils/util.py', 'description': 'Update dict_val_store with dict_update_val\n\n:param dict_val_store:\n:param dict_update_val:\n:return:', 'code': "def u...
1
{'name': 'lint@scripts/build.py', 'description': 'Run all linters and type checkers in order of importance - returns the first non-zero exit code or zero.', 'signature': 'def lint(*, fix: bool = False) -> None:'}</s>{'name': '_project_paths@scripts/build.py', 'description': 'DOCSTRING', 'code': 'def _project_paths(glob...
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': 'WebcamVideoStream.stop@versions/speed-cam_8.87.py', 'description': 'indicate that the thread should be stopped ', 'signature': 'def stop(self):'}</s>GRAPH_ADD_DATE_TO_FILENAME = False
0
{'name': 'LibcxxPrettyPrinter.__call__@llvm-project/libcxx/utils/gdb/libcxx/printers.py', 'description': 'Return the pretty printer for a val, if the type is supported.', 'signature': 'def __call__(self, val):'}</s>{'name': 'StdVectorPrinter@llvm-project/libcxx/utils/gdb/libcxx/printers.py', 'description': 'Print a std...
0
{'name': 'run_app@arch/config/i3/font_aware_launcher.py', 'description': 'Run application adjusting font size if necessary.', 'signature': 'def run_app(application, workspace=None):'}</s>{'name': 'RofiApp@arch/config/i3/font_aware_launcher.py', 'description': 'Launch Rofi apps.', 'base_classes': ['ROLApp'], 'methods': ...
1
{'name': 'check_create_table@databricks-adx-integration/src/code/functions/adxingestp2/__app__/dataingest/__init__.py', 'description': 'create and rename table\n ', 'signature': 'def check_create_table(table_name):'}</s>{'name': 'get_target_info@databricks-adx-integration/src/code/functions/adxingestp2/__app__/datai...
0
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQCHT_SENDER = py23long(1)
0
{'name': 'test_2nd_order@test/models/test_ode.py', 'description': '2nd order (MLP) Galerkin Neural ODE', 'signature': 'def test_2nd_order():'}</s>vector_fields = [nn.Sequential(nn.Linear(2, 64), nn.Tanh(), nn.Linear(64, 2)), nn.Sequential(DataControl(), nn.Linear(4, 64), nn.Tanh(), nn.Linear(64, 2)) ...
0
{'name': 'genMultiTenantPattern@apim-traffic-tool/lib/traffic-tool/src/python/multi_tenant_setup.py', 'description': 'This function will divide each app and relavant APIs among tenants, and write to tenant_details.yaml file\n:return: None', 'signature': 'def genMultiTenantPattern():'}</s>{'name': 'generateInvokeToken@a...
0
{'name': 'IUZone.zone_id@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Return the zone_id. Should match the zone_id used in sequences', 'signature': 'def zone_id(self) -> str:'}</s>CONF_SEQUENCES = "sequences"
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': 'parse_filename@scripts/python-skywater-pdk/skywater_pdk/corners.py', 'description': "Extract corner information from a filename.\n\nSee Also\n--------\nskywater_pdk.base.parse_pathname\nskywater_pdk.base.parse_filehname\n\nExamples\n--------\n\n>>> parse_filename('tt_1p80V_3p30V_3p30V_25C')\n(Corner(corner=(C...
0
{'name': 'parseBoolValue@source-builder/sb/markdown/util.py', 'description': 'Parses a string representing bool value. If parsing was successful,\nreturns True or False. If preserve_none=True, returns True, False,\nor None. If parsing was not successful, raises ValueError, or, if\nfail_on_errors=False, returns None.',...
0
{'name': 'pointer_image@datoviz/__init__.py', 'description': 'Return a NumPy array of uint8 with shape (height, width, n_channels=3) from an ndpointer\nreferring to a C pointer to a buffer of RGB uint8 values.', 'signature': 'def pointer_image(rgb, width, height, n_channels=3):'}</s>panel_default = dvz.dvz_panel_defaul...
0
{'name': 'ResnetCompleteNetworkTest._resnet_small@Attackset/Iter8_v3_resv2_inresv2_random/nets/resnet_v1_test.py', 'description': 'A shallow and thin ResNet v1 for faster tests.', 'signature': 'def _resnet_small(self,'}</s>{'name': 'resnet_v1_block@Attackset/fgsm_ensv3_random/nets/resnet_v1.py', 'description': 'Helper ...
1
{'name': 'read_cameras_binary@colmap_runner/read_write_model.py', 'description': 'see: src/base/reconstruction.cc\n void Reconstruction::WriteCamerasBinary(const std::string& path)\n void Reconstruction::ReadCamerasBinary(const std::string& path)', 'signature': 'def read_cameras_binary(path_to_model_file):'}</s>{...
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': 'YoutubeCastV1._pair@resources/lib/tubecast/youtube/app.py', 'description': 'called as part of service discovery ', 'signature': 'def _pair(self, pairing_code):'}</s>{'name': 'YoutubeListener@resources/lib/tubecast/youtube/app.py', 'description': 'DOCSTRING', 'base_classes': ['threading.Thread'], 'methods': [{...
1
{'name': 'send_reset_password_instructions@flask_security/recoverable.py', 'description': 'Sends the reset password instructions email for the specified user.\n\n:param user: The user to send the instructions to', 'signature': 'def send_reset_password_instructions(user):'}</s>{'name': 'update_password@flask_security/re...
0
{'name': 'IMAP.emails@imapy/imap.py', 'description': 'Returns emails based on search criteria or sequence set', 'signature': 'def emails(self, *args, **kwargs) -> List[Union[EmailMessage, str]]:'}</s>{'name': 'refresh_folders@imapy/imap.py', 'description': 'Decorator used to refresh folder tree during operations\ninvol...
0
{'name': 'IUController.as_dict@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Return this controller as a dict', 'signature': 'def as_dict(self, extended=False) -> OrderedDict:'}</s>CONF_STATES = "states"
0
{'name': 'opcode_map_c@Ghidra/Processors/RISCV/scripts/binutil.py', 'description': 'CR |funct4 | cr0711 | cr0206 | op |\nCI |funct3 | cop1212 | cr0711 | cop0206 | op |\nCSS |funct3 | cop0712 | cr0206 | op |\nCIW |funct3 | cop0512 | cr0204s | op |\nCL |funct3 | cop1012 | cs0709s | cop0506 | cr0204s | op |\nCS ...
0
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQCMD_TRACE_ROUTE = 75
0
{'name': 'get_page_from_string_or_id@pages/templatetags/pages_tags.py', 'description': 'Return a Page object from a slug or an id.', 'signature': 'def get_page_from_string_or_id(page_string, lang=None):'}</s>{'name': 'do_get_page@pages/templatetags/pages_tags.py', 'description': 'Retrieve a page and insert into the tem...
0
{'name': 'fetch_reads@simulate/synth_pool.py', 'description': ' ', 'signature': 'def fetch_reads(samFile_list, chroms, positions, outbam, '}</s>start = time.time()
0
{'name': 'RClip._does_processed_image_exist_for_raw@rclip/main.py', 'description': "Check if there is a processed image alongside the raw one; doesn't support mixed-case extensions,\ne.g. it won't detect the .JpG image, but will detect .jpg or .JPG", 'signature': 'def _does_processed_image_exist_for_raw(self, raw_path:...
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': '_query@gp_query.py', 'description': "Cached low level function to perform a single SPARQL query.\n\n:param sparql: SPARQLWrapper endpoint\n:param timeout: a timeout in seconds. The endpoint 'timeout' parameter will\n be set to 3/4 this value in ms (Virtuoso seems to treat non zero\n timeouts < 1000ms as...
0
{'name': 'routsign2map@venv/Lib/site-packages/numpy/f2py/capi_maps.py', 'description': 'name,NAME,begintitle,endtitle\nrname,ctype,rformat\nroutdebugshowvalue', 'signature': 'def routsign2map(rout):'}</s>debugoptions = []
0
{'name': 'Parser.p_expression_bytes@lib/rule_engine/parser/__init__.py', 'description': 'object : BYTES', 'signature': 'def p_expression_bytes(self, p):'}</s>{'name': 'BitwiseShiftExpression@lib/rule_engine/ast.py', 'description': 'DOCSTRING', 'base_classes': ['BitwiseExpression'], 'methods': [{'name': 'BitwiseShiftExp...
0
{'name': '_dual_to_ugrid@uxarray/io/_mpas.py', 'description': 'Encodes the MPAS Dual-Mesh in the UGRID conventions.', 'signature': 'def _dual_to_ugrid(in_ds, out_ds):'}</s>NODE_LAT_ATTRS = { "standard_name": "latitude", "long name": "Latitude of the corner nodes of each face", "units": "degrees_north", }
0
{'name': 'PlotViewIndependent.__init__@openmc_plotter/plotmodel.py', 'description': 'Initialize PlotViewIndependent attributes', 'signature': 'def __init__(self):'}</s>{'name': 'PlotModel@openmc_plotter/plotmodel.py', 'description': 'Geometry and plot settings for OpenMC Plot Explorer model\n\nParameters\n----------\nu...
0
{'name': 'circulation_configuration@pymultimatic/api/urls.py', 'description': 'Url to handle :class:`~pymultimatic.model.component.Circulation`\nconfiguration.', 'signature': 'def circulation_configuration(**kwargs: Any) -> str:'}</s>_SYSTEM_DATETIME = _SYSTEM_STATUS + "/datetime"
0
{'name': 'on_restart_server@src/server/server.py', 'description': 'Re-execute the current process.', 'signature': 'def on_restart_server():'}</s>{'name': 'on_set_option@src/server/server.py', 'description': 'DOCSTRING', 'code': "def on_set_option(data):\n RaceContext.rhdata.set_option(data['option'], data['value'])\...
0
{'name': 'ctype2ext@meza/convert.py', 'description': "Converts an http content type to a file extension.\n\nArgs:\n content_type (str): Output file path or directory.\n\nReturns:\n str: file extension\n\nExamples:\n >>> ctype2ext('/csv;') == 'csv'\n True\n >>> ctype2ext('/xls;') == 'xls'\n True\n >...
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': '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': 'cmr@icesat2_toolkit/utilities.py', 'description': "Query the NASA Common Metadata Repository (CMR) for ICESat-2 data\n\nParameters\n----------\nproduct: str or NoneType, default None\n ICESat-2 data product to query\nrelease: str or NoneType, default None\n ICESat-2 data release to query\ncycles: str, l...
0
{'name': 'opcode_map_c@Ghidra/Processors/RISCV/scripts/binutil.py', 'description': 'CR |funct4 | cr0711 | cr0206 | op |\nCI |funct3 | cop1212 | cr0711 | cop0206 | op |\nCSS |funct3 | cop0712 | cr0206 | op |\nCIW |funct3 | cop0512 | cr0204s | op |\nCL |funct3 | cop1012 | cs0709s | cop0506 | cr0204s | op |\nCS ...
0
{'name': 'decode_to_string@lib/symbioticpy/symbiotic/benchexec/util.py', 'description': 'This function is needed for Python 3,\nbecause a subprocess can return bytes instead of a string.', 'signature': 'def decode_to_string(toDecode):'}</s>{'name': 'force_linux_path@lib/symbioticpy/symbiotic/benchexec/util.py', 'descri...
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': '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': 'Trade@ib_insy...
1
{'name': 'BertPreTrainedModel.from_pretrained@pytorch_pretrained_bert/modeling.py', 'description': 'Instantiate a BertPreTrainedModel from a pre-trained model file or a pytorch state dict.\nDownload and cache the pre-trained model file if needed.\n\nParams:\n pretrained_model_name_or_path: either:\n - a str w...
0
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQCMD_INQUIRE_XR_CAPABILITY = 214
0
{'name': 'create_model@supervized_partition/supervized_partition.py', 'description': 'Creates model ', 'signature': 'def create_model(args):'}</s>{'name': 'compute_dist@supervized_partition/losses.py', 'description': 'DOCSTRING', 'code': 'def compute_dist(embeddings, edg_source, edg_target, dist_type):\n if dist_typ...
0
{'name': 'deploy@deployment/model_deploy.py', 'description': 'Deploys a Slim-constructed model across multiple clones.\n\nThe deployment options are specified by the config object and support\ndeploying one or several clones on different GPUs and one or several replicas\nof such clones.\n\nThe argument `model_fn` is ca...
0
{'name': 'test_gpt_model@onnxruntime/python/tools/transformers/convert_generation.py', 'description': 'Test GPT-2 model\n\nArgs:\n args (argparse.Namespace): arguments parsed from command line\n sentences (Optional[List[str]], optional): input text. Defaults to None.\n\nReturns:\n Union[Dict[str, Any], None]: ...
0
{'name': 'unionUse@TDScanner/sqlmap/lib/techniques/union/use.py', 'description': 'This function tests for an union SQL injection on the target\nURL then call its subsidiary function to effectively perform an\nunion SQL injection on the affected URL', 'signature': 'def unionUse(expression, unpack=True, dump=False):'}</s...
1
{'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': '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': 'TokenizerTest.testConsumeOctalIntegers@python/google/protobuf/internal/text_format_test.py', 'description': 'Test support for C style octal integers.', 'signature': 'def testConsumeOctalIntegers(self):'}</s>{'name': 'TextFormatMessageToStringTests@python/google/protobuf/internal/text_format_test.py', 'descrip...
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': 'set_default_fp_sort@src/api/python/z3/z3.py', 'description': 'DOCSTRING', 'code': 'def set_default_fp_sort(ebits...
0
{'name': 'ip2int@launcher/buildipdb.py', 'description': '将 IPv4 地址转换为整数', 'signature': 'def ip2int(ip, unpack=struct.unpack, inet_aton=socket.inet_aton):'}</s>direct_ipdb = os.path.join(root_dir, 'data', 'directip.db')
0
{'name': 'BaseRequest.is_xhr@src/back/kite/bottle.py', 'description': 'True if the request was triggered by a XMLHttpRequest. This only\nworks with JavaScript libraries that support the `X-Requested-With`\nheader (most of the popular libraries do). ', 'signature': 'def is_xhr(self):'}</s>{'name': 'TemplateError@src/bac...
0
{'name': 'test@integration/test_script.py', 'description': 'Runs a script, exit the process if there is an error.\n\nArguments:\nscript_file -- the script file to run', 'signature': 'def test(script_file: str):'}</s>{'name': 'test_stderr@integration/test_script.py', 'description': 'test stderr', 'code': 'def test_stder...
1
{'name': 'field_for_schema@src/desert/_make.py', 'description': 'Get a marshmallow Field corresponding to the given python type.\nThe metadata of the dataclass field is used as arguments to the marshmallow Field.\n>>> int_field = field_for_schema(int, default=9, metadata=dict(required=True))\n>>> int_field.__class__\n<...
1
{'name': 'skew@pymeteo/skewt.py', 'description': 'Puts the skew in skew-T\n\n:parameter p: pressure level of the point.\n\nThis calculates the skew of the T axis for a point to plot. \nThis assumes a logarithmic y axes and uses the variable\n:py:data:skew_angle to determine the skew. This is the \nmagic that turns a ...
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': 'test_RandomGenerator_pickle@python/ecole/tests/test_random.py', 'description': 'Pickle preserve the state of the RandomGenerator.', 'signature': 'def test_RandomGenerator_pickle():'}</s>{'name': 'test_same_seed@python/ecole/tests/test_random.py', 'description': 'Same seed give same random generators.', 'code'...
0
{'name': 'Metar.runway_visual_range@metar/Metar.py', 'description': 'Return a textual description of the runway visual range.', 'signature': 'def runway_visual_range( self, units=None ):'}</s>SNOWDEPTH_RE = re.compile(r"""^4/(?P<snowdepth>\d\d\d)\s+""")
0
{'name': 'auto_from_dict@a38/fattura.py', 'description': 'Given the equivalent of a Fattura.to_jsonable() data structure,\nreconstruct the fattura', 'signature': 'def auto_from_dict('}</s>{'name': 'DatiRicezione@a38/fattura.py', 'description': 'DOCSTRING', 'base_classes': ['DatiDocumentiCorrelati'], 'methods': []}
0
{'name': '_CommitPicker_from_uri@python-sdk/pachyderm_sdk/api/pfs/_additions.py', 'description': 'Parses the following format:\n [project/]repo@branch-or-commit\nwhere @branch-or-commit can take the form:\n @branch\n @branch=commit\n @commit\nAdditionally @branch-or-commit can be augmented in the following ...
0
{'name': 'predict_main@named_entity_recognition/inference.py', 'description': '预测主入口 ', 'signature': 'def predict_main(test_file, out_path):'}</s>{'name': 'words_to_ids@named_entity_recognition/inference.py', 'description': '将words 转换成ids形式 ', 'code': 'def words_to_ids(words, word_dict):\n """ 将words 转换成ids形式 """\n ...
1
{'name': 'run_eruption_env@self_organising_systems/biomakerca/extensions/eruption.py', 'description': 'Create a video running Eruption.', 'signature': 'def run_eruption_env('}</s>{'name': 'make_specialization_idxs@self_organising_systems/biomakerca/environments.py', 'description': 'Utility function to make specializati...
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_memorytype_t@language-bindings/python/src/wamr/wasmcapi/binding...
0
{'name': 'TokenList.token_first@sqlparse/sql.py', 'description': 'Returns the first child token.\n\nIf *skip_ws* is ``True`` (the default), whitespace\ntokens are ignored.\n\nif *skip_cm* is ``True`` (default: ``False``), comments are\nignored too.', 'signature': 'def token_first(self, skip_ws=True, skip_cm=False):'}</...
0
{'name': 'Serial.write@serial/serialwin32.py', 'description': 'Output the given byte string over the serial port.', 'signature': 'def write(self, data):'}</s>LPOVERLAPPED = POINTER(_OVERLAPPED)
0
{'name': 'CosS3Client.ci_auditing_image_batch@qcloud_cos/cos_client.py', 'description': "图片同步批量审核接口 https://cloud.tencent.com/document/product/436/63593\n\n:param Bucket(string): 存储桶名称.\n:param Input(dict array): 需要审核的图片信息,每个array元素为dict类型,支持的参数如下:\n Object: 存储在 COS 存储桶中的图片文件名称,例如在目录 test 中的文件 image....
0
{'name': 'bind_gre_fmaps@bidskit/fmaps.py', 'description': 'GRE fieldmap binding\n\n:param gre_fmap_jsons:\n:param bold_jsons:\n:param t_bold:\n:param no_sessions: bool\n:param nii_ext: str\n:return:', 'signature': 'def bind_gre_fmaps(gre_fmap_jsons, bold_jsons, t_bold, no_sessions, nii_ext):'}</s>{'name': 'safe_mkdir@...
0
{'name': 'fill_filter_mosaics@grizli/pipeline/auto_script.py', 'description': 'Fill field mosaics with the average value taken from other filters so that all images have the same coverage\n\nParameters\n----------\nfield_root : str', 'signature': 'def fill_filter_mosaics(field_root):'}</s>{'name': 'simple_LCDM@grizli/u...
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': 'humanbytes@resources/lib/util.py', 'description': 'Return the given bytes as a human friendly KB, MB, GB, or TB string', 'signature': 'def humanbytes(B):'}</s>{'name': 'PlayVideo@resources/lib/util.py', 'description': 'DOCSTRING', 'code': 'def PlayVideo(url, title, thumb, Plot, sub_path=None, playlist=\'\', s...
0
{'name': 'Product._load@eoreader/products/product.py', 'description': 'Core function loading optical data bands\n\nArgs:\n bands (list): Band list\n pixel_size (float): Pixel size of the band, in meters\n size (Union[tuple, list]): Size of the array (width, height). Not used if pixel_size is provided.\n kwa...
0
{'name': 'str2bool@model/configs.py', 'description': 'string to boolean', 'signature': 'def str2bool(v):'}</s>{'name': 'Config@model/configs.py', 'description': 'DOCSTRING', 'base_classes': ['object'], 'methods': [{'name': 'Config.__init__@model/configs.py', 'description': 'Configuration Class: set kwargs as class attr...
0
{'name': 'test_non_void@capone/tests/test_transaction_model.py', 'description': 'Test Transaction.objects.non_void filter.', 'signature': 'def test_non_void():'}</s>{'name': 'test_transaction_summary@capone/tests/test_transaction_model.py', 'description': 'Test that Transaction.summary returns correct information.', 'c...
0
{'name': 'authenticate@src/server/server.py', 'description': 'Sends a 401 response that enables basic auth.', 'signature': 'def authenticate():'}</s>RaceContext = RaceContext.RaceContext()
0
{'name': 'TestBrierScore.test@verif/tests/test_metric.py', 'description': "These have been checked against the Brier scores in the verification R package. The 'bins'\nattribute was set to False, and the code had to be changed because it didn't work for cases\nwhere forecasts were not equal to whole 1/10ths (i.e. 0.1, 0...
0