text
string
label
int64
{'name': 'find_object@kabuki/utils.py', 'description': "Retrieve a Python object by its fully qualified name from the global Python\nmodule namespace. The first part of the name, that describes a module,\nwill be discovered and imported. Each subsequent part of the name is\ntreated as the name of an attribute of the ...
0
{'name': 'BertModel.__init__@baseline/bert/modeling.py', 'description': 'Constructor for BertModel.\n\nArgs:\n config: `BertConfig` instance.\n is_training: bool. true for training model, false for eval model. Controls\n whether dropout will be applied.\n input_ids: int32 Tensor of shape [batch_size, seq_length]....
0
{'name': 'Bottle._cast@src/back/kite/bottle.py', 'description': 'Try to convert the parameter into something WSGI compatible and set\ncorrect HTTP headers when possible.\nSupport: False, str, unicode, dict, HTTPResponse, HTTPError, file-like,\niterable of strings and iterable of unicodes', 'signature': 'def _cast(self,...
0
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQCA_CLUSTER_Q_MGR_NAME = 2031
0
{'name': 'process_lookup_path@gef.py', 'description': 'Look up for a path in the process memory mapping.\nReturn a Section object if found, None otherwise.', 'signature': 'def process_lookup_path(name: str, perm: Permission = Permission.ALL) -> Section | None:'}</s>{'name': 'exit_handler@gef.py', 'description': 'GDB ev...
0
{'name': 'get_symbol_names@lldb/packages/Python/lldbsuite/test/lldbutil.py', 'description': 'Returns a sequence of symbols for this thread.', 'signature': 'def get_symbol_names(thread):'}</s>{'name': 'get_stack_frames@lldb/packages/Python/lldbsuite/test/lldbutil.py', 'description': 'Returns a sequence of stack frames f...
0
{'name': 'demean@src/python_scripts/afnipy/afni_util.py', 'description': 'demean the vector (in place), from index ibot to index itop\n\n if ibot == -1, ibot will be 0\n if itop == -1, itop will be len-1\n\nreturn 0 on success, 1 on error', 'signature': 'def demean(vec, ibot=-1, itop=-1):'}</s>{'name': 'write_1D_file@s...
0
{'name': 'generate_stps_from_gp@gp_query.py', 'description': "Generates a list of source target pairs from a given graph pattern.\n\nThe given graph pattern is immediately used as sparql query to quickly\ngenerate a list of source target pairs. Possible motivations for this:\n- evaluation: can the algorithm re-discover...
0
{'name': 'srtip_unwanted_words_from_url@ytmdl/stringutils.py', 'description': 'If more than just the video ID is passed, extract the\nURL and operate on that only.\n\nThe URL will be of the type https://yotuube.com/watch?v=<id>&other_args\n\nWe just need to keep the v arg and remove all the other args', 'signature': 'd...
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': 'rmtree@venv/Lib/site-packages/pip-19.0.3-py3.6.egg/pip/_vendor/distlib/_backport/shutil.py', 'description': 'Recursively delete a directory tree.\n\nIf ignore_errors is set, errors are ignored; otherwise, if onerror\nis set, it is called to handle the error with arguments (func,\npath, exc_info) where func is...
0
{'name': 'User.email@marge/user.py', 'description': "Only visible to admins and 'self'. Sigh.", 'signature': 'def email(self):'}</s>{'name': 'Conflict@marge/gitlab.py', 'description': 'DOCSTRING', 'base_classes': ['ApiError'], 'methods': []}
0
{'name': 'InverseCompton._iso_ic_on_monochromatic@src/naima/radiative.py', 'description': 'IC cross-section for an isotropic interaction with a monochromatic\nphoton spectrum following Eq. 22 of Aharonian & Atoyan 1981, Ap&SS 79,\n321 (`http://adsabs.harvard.edu/abs/1981Ap%26SS..79..321A`_)', 'signature': 'def _iso_ic_...
0
{'name': 'Schema._compile_mapping@voluptuous/schema_builder.py', 'description': 'Create validator for given mapping.', 'signature': 'def _compile_mapping(self, schema, invalid_msg=None):'}</s>{'name': 'TypeInvalid@voluptuous/error.py', 'description': 'The value was not of required type.', 'base_classes': ['Invalid'], '...
0
{'name': 'bounding_parallelogram@morphomnist/morpho.py', 'description': 'Estimates a bounding parallelogram for the given image.\n\nParameters\n----------\nimg : (H, W) array_like\n Input image.\nfrac : float\n Fraction of image mass to discard along each dimension, for robustness to outliers.\nmoments : ImageMom...
0
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQXR_BEFORE = 1
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': 'template@src/back/kite/bottle.py', 'description': 'Get a rendered template as a string iterator.\nYou can use a name, a filename or a template string as first parameter.\nTemplate rendering arguments can be passed as dictionaries\nor directly (as keyword arguments).', 'signature': 'def template(*args, **kwarg...
0
{'name': 'CustomOp._process_notify@hive/indexer/custom_op.py', 'description': "Handle legacy 'follow' plugin ops (follow/mute/clear, reblog)\n\nmark_read {date: {type: 'date'}}", 'signature': 'def _process_notify(cls, account, op_json, block_date):'}</s>{'name': 'CustomOp@hive/indexer/custom_op.py', 'description': 'Pro...
1
{'name': 'xarray_to_cdf@cdflib/xarray/xarray_to_cdf.py', 'description': 'This function converts XArray Dataset objects into CDF files.\n\nParameters:\n xarray_dataset (xarray.Dataset): The XArray Dataset object that you\'d like to convert into a CDF file\n file_name (str): The path to the place the newly created...
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': 'TopLevelMixin.repeat@altair/vegalite/v5/api.py', 'description': "Return a RepeatChart built from the chart\n\nFields within the chart can be set to correspond to the row or\ncolumn using `alt.repeat('row')` and `alt.repeat('column')`.\n\nParameters\n----------\nrepeat : list\n a list of data column names t...
0
{'name': 'Message.load@src/betterproto/__init__.py', 'description': 'Load the binary encoded Protobuf from a stream into this message instance. This\nreturns the instance itself and is therefore assignable and chainable.\n\nParameters\n-----------\nstream: :class:`bytes`\n The stream to load the message from.\nsize:...
0
{'name': 'test_estoi_good_fs@tests/test_stoi.py', 'description': 'Test extended STOI at sampling frequency of 10kHz. ', 'signature': 'def test_estoi_good_fs():'}</s>N = 30
0
{'name': 'parseItem@python_v2/label_data_utils.py', 'description': '_summary_\n\nArgs:\n item (LabelItem): _description_\n map_item (Map<string, LabelItem>): _description_', 'signature': 'def parseItem(item, map_item):'}</s>supportedKey = set(['label', 'github_repo', 'github_org', 'github_user'])
1
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQFB_UNSUPPORTED_DELIVERY = 286
0
{'name': 'Avanza.__init__@avanza/avanza.py', 'description': "Args:\n\n credentials: Login credentials. Can be multiple variations\n Either an instance of TokenCredentials or of SecretCredentials\n Or a dictionary as the following:\n Using TOTP secret:\n {\n 'username': ...
0
{'name': 'build_custom_option_spread_order@tdameritrade/orders/order_builder.py', 'description': 'Custom Option Spread\n\nBuy to open 2 contracts of the XYZ Jan 17, 2020 $43 Put and Sell to open\n1 contracts of the XYZ Jan 18, 2019 $45 Put at the Market good for the Day.', 'signature': 'def build_custom_option_spread_o...
1
{'name': 'fix_principal@search-cluster/lambda/ingest_s3.py', 'description': 'WTF are we doing here? Good Question!\nElasticSearch has an oddity where it can\'t handle a attribute being a literal or another level of nesting. This becomes and issue when the "Principal" in a statement\ncan be one of:\n "Principal": "*"...
0
{'name': 'lookup_address@gef.py', 'description': 'Try to find the address in the process address space.\nReturn an Address object, with validity flag set based on success.', 'signature': 'def lookup_address(address: int) -> Address:'}</s>{'name': 'SectionBaseFunction@gef.py', 'description': "Return the matching file's ...
0
{'name': 'save_config@pyrgg/functions.py', 'description': 'Save input_dict as the generation config.\n\n:param input_dict: input data\n:type input_dict: dict\n:return: path to file as str', 'signature': 'def save_config(input_dict):'}</s>{'name': 'handle_str_to_bool@pyrgg/functions.py', 'description': 'Convert 0/1 stri...
0
{'name': 'BotocoreTestResourceFactory.patch_botocore@pytest_localstack/contrib/botocore.py', 'description': 'Context manager that will patch botocore to use Localstack.\n\nSince boto3 relies on botocore to perform API calls, this method\nalso effectively patches boto3.', 'signature': 'def patch_botocore(self):'}</s>pyt...
0
{'name': 'processPEreads@amptk/process_illumina_folder.py', 'description': 'function for multiprocessing of the data, so take file list as input, need global forward/reverse list available', 'signature': 'def processPEreads(input, args=False):'}</s>{'name': 'dictFlip@amptk/amptklib.py', 'description': 'DOCSTRING', 'cod...
0
{'name': 'SQL@grizli/aws/db.py', 'description': "Send a query to a database through `pandas.read_sql_query`\n\nParameters\n----------\nquery_text : str\n Query text, e.g., 'SELECT count(*) FROM table;'.\n\nengine : `sqlalchemy.engine.Engine`\n DB connection engine initialized with `~grizli.aws.db.get_db_engine`. ...
0
{'name': 'PacketFilter.get_queues@pf/filter.py', 'description': 'Retrieve the currently loaded queues.\n\nReturn a tuple of PFQueue objects.', 'signature': 'def get_queues(self):'}</s>PFOTHERS_MULTIPLE = 2
0
{'name': 'apply_along_axis@venv/Lib/site-packages/numpy/ma/extras.py', 'description': '(This docstring should be overwritten)', 'signature': 'def apply_along_axis(func1d, axis, arr, *args, **kwargs):'}</s>std = _frommethod('std')
0
{'name': 'rho@py_vollib/helpers/numerical_greeks.py', 'description': "Calculate option rho using numerical integration.\n\n:param S: underlying asset price\n:type S: float\n:param K: strike price\n:type K: float\n:param sigma: annualized standard deviation, or volatility\n:type sigma: float\n:param t: time to expiratio...
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': 'main._generate_dos@mcu/qe/qe.py', 'description': "Processing/collecting the DOS data before the plotting function\n\nTDOS dimensions: [spin , [E(eV), tdos(E)]]\n\nspin : spin of DOS.\nlm : string or a list of string, e.g. 'Ni:s' or ['Ni:s','C:s,px,pz']", 'signature': 'def _generate_dos...
0
{'name': '_jsdiv@metrics/evaluation_metrics.py', 'description': 'another way of computing JSD', 'signature': 'def _jsdiv(P, Q):'}</s>{'name': 'jsd_between_point_cloud_sets@metrics/evaluation_metrics.py', 'description': 'Computes the JSD between two sets of point-clouds, as introduced in the paper\n```Learning Represent...
0
{'name': 'IUCoordinator.register_entity@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'A HA entity has been registered', 'signature': 'def register_entity('}</s>ICON_ZONE_ON = "mdi:valve-open"
0
{'name': 'bbox_hflip@torchvision_x_functional.py', 'description': 'horizontal flip the bboxes\n ^\n.............\n. . .\n. . .\n. . .\n. . .\n.............\n ^\nArgs:\n bbox (ndarray): bbox ndarray [box_nums, 4]\n flip_code (int, optional): [description]. Defaults to 0.',...
0
{'name': 'test_quit@tests/unit/test_pack.py', 'description': 'QUIT command ', 'signature': 'def test_quit():'}</s>{'name': 'test_users@tests/unit/test_pack.py', 'description': 'USERS command ', 'code': 'def test_users():\n """ USERS command """\n assert like("USERS", pack_command("USERS"))'}
0
{'name': 'FormatDecisionState.MustSplit@tools/yapf/yapf/yapflib/format_decision_state.py', 'description': 'Returns True if the line must split before the next token.', 'signature': 'def MustSplit(self):'}</s>{'name': '_AllowBuilderStyleCalls@tools/yapf/yapf/yapflib/split_penalty.py', 'description': "Allow splitting bef...
0
{'name': 'reconstruct_image@icnn/icnn_lbfgs.py', 'description': "Reconstruct image from CNN features using L-BFGS-B.\n\nParameters\n----------\nfeatures: dict\n The target CNN features.\n The CNN features of multiple layers are assembled in a python dictionary, arranged in pairs of layer name (key) and CNN featur...
1
{'name': 'StreamedPart.is_file@app/tornado_handlers/multipart_streamer.py', 'description': 'Return if the part is a posted file.\n\nPlease note that a program can post huge amounts of data without giving\na filename.', 'signature': 'def is_file(self):'}</s>__copyright__ = " Copyright 2015 Laszlo Zsolt Nagy (nagylzs@gma...
0
{'name': 'main@reporter.py', 'description': 'run an evaluation on the Test datasets: ExCuSe, ElSe, PupilNet, Swirski, LPW\n:param m_type: need model type: inception, yolo, gap,...\n:param m_name: name of the model ( model folder name: 3A4Bh-Ref25)\n:param logger: need logger to log the events\n:return: show the results...
1
{'name': 'ctrl_c_signal_handler@shutit_util.py', 'description': 'CTRL-c signal handler - enters a pause point if it can.\n ', 'signature': 'def ctrl_c_signal_handler(_, frame):'}</s>{'name': 'ctrlc_background@shutit_util.py', 'description': 'DOCSTRING', 'code': 'def ctrlc_background():\n\tglobal ctrl_c_calls\n\t...
1
{'name': 'key_to_span@tksheet/functions.py', 'description': 'Convert various input types to a Span object representing a 2D range.\n\nArgs:\n key: The input to convert (str, int, slice, sequence, or None).\n spans: A dictionary of named spans (e.g., {"<name>": Span(...)}).\n widget: Optional widget context for...
0
{'name': 'Template.compile@Cheetah/Template.py', 'description': 'The core API for compiling Cheetah source code into template classes.\n\nThis class method compiles Cheetah source code and returns a python\nclass. You then create template instances using that class. All\nCheetah\'s other compilation API\'s use this m...
1
{'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': '_get_s3_creds@linodecli/plugins/obj/__init__.py', 'description': 'Retrieves stored s3 creds for the acting user from the config, or generates new\ncreds using the client and stores them if none exist\n\n:param client: The client object from the invoking PluginContext\n:type client: linodecli.CLI\n:param force...
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': 'encodeLength@src/mqtt/pdu.py', 'description': 'Encodes value into a multibyte sequence defined by MQTT protocol.\nUsed to encode packet length fields.', 'signature': 'def encodeLength(value):'}</s>{'name': 'PINGREQ@src/mqtt/pdu.py', 'description': 'DOCSTRING', 'base_classes': ['object'], 'methods': [{'name': ...
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': 'strip_object_files@deb_pkg_tools/package.py', 'description': 'Use :man:`strip` to make object file...
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': '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': 'MyInterface.execute@src/python_scripts/scripts/build_afni.py', 'description': 'evaluate what needs to be done, report on it, any apply\n\n- evaluate directories\n - abin_path\n - root_path\n\nreturn 0 on success\n 1 on non-fatal termination error\n -1 on fatal error', 'signature': 'def exe...
0
{'name': 'test_multiple_backends_https_h1@test/integration/test_integration_basics.py', 'description': 'Test that we can load-test multiple backends on https.\n\nRuns the CLI configured to use HTTP/1 with TLS against multiple test servers, and sanity\nchecks statistics from both client and server.', 'signature': 'def t...
0
{'name': 'Controller.get_selected_configs@tools/ipp_custom_library_tool_python/gui/controller.py', 'description': 'Collecting all user-specified information about future dynamic library into dictionary', 'signature': 'def get_selected_configs(self):'}</s>ARCHITECTURE = "Architecture"
0
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQQA_PUT_INHIBITED = 1
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': 'get_2d_boxes@tools/data_converter/nuscenes_converter.py', 'description': 'Get the 2D annotation records for a given `sample_data_token`.\n\nArgs:\n sample_data_token (str): Sample data token belonging to a camera keyframe.\n visibilities (list[str]): Visibility filter.\n mono3d (bool): Wh...
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>MQCXP_STRUC_ID = b'CXP '
0
{'name': '_parse_global_attrs@uxarray/io/_mpas.py', 'description': 'Helper to parse MPAS global attributes.', 'signature': 'def _parse_global_attrs(in_ds, out_ds):'}</s>FACE_LAT_ATTRS = { "standard_name": "latitude", "long name": "Latitude of the center of each face", "units": "degrees_north", }
0
{'name': 'DealsChecker.get_best_deal@scrapy_price_monitor/bin/monitor.py', 'description': 'Returns the item with the best overall price. self.price_threshold can be set to avoid\nconsidering minor price drops.', 'signature': 'def get_best_deal(self):'}</s>jinja_env = Environment(loader=PackageLoader('price_monitor', 't...
0
{'name': 'S3ToGCSCopyTest.testProcessFromParams@tests/lib/exporters/s3_to_gcs.py', 'description': "Tests the exporter's Process() function when the list comes from\npassed in parameters.", 'signature': 'def testProcessFromParams(self,'}</s>{'name': 'TimesketchEvents@dftimewolf/lib/containers/containers.py', 'descriptio...
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>MQCFSTATUS_UNKNOWN = 6
0
{'name': 'get_rolling_mean@indicator.py', 'description': 'Return rolling mean of given values, using specified window size.', 'signature': 'def get_rolling_mean(values, window):'}</s>{'name': 'sma@indicator.py', 'description': 'DOCSTRING', 'code': 'def sma(df, periods=12):\n\t# compute simple moving average\n\t#return ...
0
{'name': 'load_inventory@src/attributecode/gen.py', 'description': 'Load the inventory file at `location` for ABOUT and LICENSE files stored in\nthe `base_dir`. Return a list of errors and a list of About objects\nvalidated against the `base_dir`.\n\nOptionally use `reference_dir` as the directory location of extra ref...
0
{'name': 'sourceforge_import@code/synchronization/sourceforge_import.py', 'description': 'Scraps Sourceforge project sites and adds developer information to the entries', 'signature': 'def sourceforge_import():'}</s>language_urls = { 'AGS Script': 'https://en.wikipedia.org/wiki/Adventure_Game_Studio', 'ActionSc...
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': 'dpsr_degradation@ldm/modules/image_degradation/bsrgan.py', 'description': 'bicubic downsampling + blur\nArgs:\n x: HxWxC image, [0, 1]\n k: hxw, double\n sf: down-scale factor\nReturn:\n downsampled LR image\nReference:\n @inproceedings{zhang2019deep,\n title={Deep Plug-and-Play Super-Reso...
0
{'name': 'etag_stream@third_party/qiniu/utils.py', 'description': '计算输入流的etag:\n\netag规格参考 https://developer.qiniu.com/kodo/manual/1231/appendix#3\n\nArgs:\n input_stream: 待计算etag的二进制流\n\nReturns:\n 输入流的etag值', 'signature': 'def etag_stream(input_stream):'}</s>{'name': '_sha1@third_party/qiniu/utils.py', 'descrip...
1
{'name': 'IDispatch.Invoke@comtypes/automation.py', 'description': 'Invoke a method or property.', 'signature': 'def Invoke(self, dispid: int, *args: Any, **kw: Any) -> Any:'}</s>VT_LPSTR = 30
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>MQCA_MONITOR_Q_NAME = 2066
0
{'name': 'build_block_parser@source-builder/sb/markdown/blockprocessors.py', 'description': 'Build the default block parser used by Markdown. ', 'signature': 'def build_block_parser(md_instance, **kwargs):'}</s>{'name': 'HRProcessor@source-builder/sb/markdown/blockprocessors.py', 'description': 'Process Horizontal Rule...
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': 'cartesian@nelpy/utils.py', 'description': 'Finds every combination of elements in two arrays....
0
{'name': 'Plane3D.split_points@autolab_core/points.py', 'description': 'Split a point cloud into two along this plane.\n\nParameters\n----------\npoint_cloud : :obj:`PointCloud`\n The PointCloud to divide in two.\n\nReturns\n-------\n:obj:`tuple` of :obj:`PointCloud`\n Two new PointCloud objects. The first contai...
0
{'name': 'GeneratedProtocolMessageType.__init__@third_party/dawn/third_party/protobuf/python/google/protobuf/internal/python_message.py', 'description': "Here we perform the majority of our work on the class.\nWe add enum getters, an __init__ method, implementations\nof all Message methods, and properties for all field...
0
{'name': 'SupportsCredentialsCase.test_credentials_supported@tests/decorator/test_private_network_headers.py', 'description': 'The specified route should return the\nAccess-Control-Allow-Credentials header.', 'signature': 'def test_credentials_supported(self):'}</s>{'name': 'try_match_any@flask_cors/core.py', 'descript...
0
{'name': 'BuilderBase.check_test_state@buildtest/builders/base.py', 'description': 'This method is responsible for detecting state of test (PASS/FAIL) based on returncode or regular expression.', 'signature': 'def check_test_state(self):'}</s>{'name': 'linecount_check@buildtest/buildsystem/checks.py', 'description': 'T...
1
{'name': 'checkout_java_acc@dev-support/checkcompatibility.py', 'description': "Check out the Java API Compliance Checker. If 'force' is true, will\nre-download even if the directory exists. ", 'signature': 'def checkout_java_acc(force):'}</s>{'name': 'log_java_acc_version@dev-support/checkcompatibility.py', 'descripti...
0
{'name': 'DECIMER_Predictor.__call__@DECIMER/Repack_model.py', 'description': 'This function takes in the Decoded image as input and makes the\npredicted list of tokens and return the tokens as tf.Tensor array.\nBefore feeding the input array we must define start and the end tokens.\n\nArgs:\n Decoded_image (tf.Tens...
0
{'name': 'data_generator.__iter__@examples/task_question_answer_generation_by_seq2seq.py', 'description': '单条样本格式:[CLS]篇章[SEP]答案[SEP]问题[SEP]\n ', 'signature': 'def __iter__(self, random=False):'}</s>{'name': 'DataGenerator@bert4keras/snippets.py', 'description': '数据生成器模版\n ', 'base_classes': ['object'], 'meth...
0
{'name': 'write_fortran_wrappers@src/services/mpiwrap/wrap.py', 'description': 'Writes primary fortran wrapper that handles arg translation.\nAlso outputs bindings for this wrapper for different types of fortran compilers.', 'signature': 'def write_fortran_wrappers(out, decl, return_val):'}</s>ignore_deprecated = False
0
{'name': 'PDFParser.do_keyword@pdfminer3/pdfparser.py', 'description': 'Handles PDF-related keywords.', 'signature': 'def do_keyword(self, pos, token):'}</s>{'name': 'PSEOF@pdfminer3/psparser.py', 'description': 'DOCSTRING', 'base_classes': ['PSException'], 'methods': []}
1
{'name': 'FiniteDomainSort@src/api/python/z3/z3.py', 'description': 'Create a named finite domain sort of a given size sz', 'signature': 'def FiniteDomainSort(name, sz, ctx=None):'}</s>{'name': 'StatsObj@src/api/python/z3/z3types.py', 'description': 'DOCSTRING', 'base_classes': ['ctypes.c_void_p'], 'methods': [{'name':...
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>SOURCE_DISPLAYED_CORRECTLY = "Source code displayed correctly"
0
{'name': 'generate_routes_go@swagger_to/go_server.py', 'description': 'Generate the file which defines the router and the routes.\n\n:param package: name of the package\n:param routes: routes that the router will handle.\n:return: Golang code', 'signature': 'def generate_routes_go(package: str, routes: List[Route]) -> ...
0
{'name': 'test_change_statement_timeout@test/io/test_io.py', 'description': 'Statement timeout changes take effect immediately', 'signature': 'def test_change_statement_timeout(defaultenv, metapostgrest):'}</s>{'name': 'test_no_preflight_request_with_CORS_config_should_not_return_header@test/io/test_io.py', 'descriptio...
0
{'name': 'T@pymeteo/thermo.py', 'description': 'Convert Potential Temperature :math:`\\theta` to Temperature\n\n:parameter theta: Potential temperature (K)\n:parameter p: Pressure (Pa)\n:returns: Temperature (K)', 'signature': 'def T(theta,p):'}</s>reps = Rv/Rd
0
{'name': 'dist_factory@tests/_lib_vendors/pkg_resources/__init__.py', 'description': 'Return a dist_factory for a path_item and entry', 'signature': 'def dist_factory(path_item, entry, only):'}</s>{'name': 'safe_version@tests/_lib_vendors/pkg_resources/__init__.py', 'description': 'Convert an arbitrary string to a stan...
0
{'name': 'lca_depth@vamb/hloss_misc.py', 'description': 'Returns the depth of the LCA node.\n\nSupports multi-dimensional index arrays.', 'signature': 'def lca_depth(tree: Hierarchy, inds_a: np.ndarray, inds_b: np.ndarray) -> np.ndarray:'}</s>{'name': 'hier_cond_log_softmax@vamb/hloss_misc.py', 'description': 'Returns ...
0
{'name': 'User.initialize@src/astrobotany/models.py', 'description': 'Register a new player.', 'signature': 'def initialize(cls, username: str) -> User:'}</s>badge_69 = Badge("police car light", series=1, number=69, symbol="🚨")
0
{'name': 'Inspection.enum_signatures@core/Inspection.py', 'description': 'not callable method - enumerate data ', 'signature': 'def enum_signatures(self, source):'}</s>{'name': 'check_file@common/utils.py', 'description': 'file test ', 'code': 'def check_file(file):\n """ file test """\n\n if not (os.path.isfile(...
0
{'name': 'rst_table@docs/autofix_docs.py', 'description': 'Create a ReST table from header and rows.', 'signature': 'def rst_table(header: tuple[str, ...], rows: list[tuple[str, ...]]) -> list[str]:'}</s>{'name': 'DocFile@docs/autofix_docs.py', 'description': 'A document file (REST or Markdown).', 'base_classes': [], '...
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': 'ibm2ieee@distpy/io_help/sgy.py', 'description': "Converts an IBM floating point number into IEEE format.\n:param: ibm - 32 bit unsigned integer: unpack('>L', f.read(4))", 'signature': 'def ibm2ieee(ibm):'}</s>{'name': 'data_format@distpy/io_help/sgy.py', 'description': 'DOCSTRING', 'code': 'def data_format(he...
0
{'name': 'PropKB.retract@Projects/2_Classical Planning/aimacode/logic.py', 'description': "Remove the sentence's clauses from the KB.", 'signature': 'def retract(self, sentence):'}</s>{'name': 'fol_bc_and@Projects/2_Classical Planning/aimacode/logic.py', 'description': 'DOCSTRING', 'code': 'def fol_bc_and(KB, goals, th...
0