text
string
label
int64
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQCO_IMMEDIATE = 0
0
{'name': 'rollout@gns/train.py', 'description': 'Rolls out a trajectory by applying the model in sequence.\n\nArgs:\n simulator: Learned simulator.\n position: Positions of particles (timesteps, nparticles, ndims)\n particle_types: Particles types with shape (nparticles)\n material_property: Friction angle normaliz...
0
{'name': 'Cluster._parse_snapshot_restore_command@qds_sdk/cluster.py', 'description': 'Parse command line arguments for snapshot command.', 'signature': 'def _parse_snapshot_restore_command(cls, args, action):'}</s>{'name': 'camelize@qds_sdk/util.py', 'description': 'Convert a word from lower_with_underscores to CamelC...
0
{'name': 'predict@cello/cello.py', 'description': "Classify cell types for a given expression matrix.\n\nParameters\n----------\nad : AnnData object\n Expression matrix of n cells by m genes\n\nmod: Model, default: None\n A trained classification model. If None, use a \n pre-trained default model on all of the...
1
{'name': '_log_instruction@neurodocker/reproenv/renderers.py', 'description': 'Decorator that logs instructions passed to a Renderer.\n\nThis adds the logs to the `_instructions` attribute of the Renderer instance.', 'signature': 'def _log_instruction(func: Callable):'}</s>allowed_installation_methods = {"binaries", "s...
0
{'name': 'engine.classical@src/bids/external/inflect.py', 'description': 'turn classical mode on and off for various categories\n\nturn on all classical modes:\nclassical()\nclassical(all=True)\n\nturn on or off specific claassical modes:\ne.g.\nclassical(herd=True)\nclassical(names=False)\n\nBy default all classical m...
0
{'name': 'CheckForNonConstReference@third_party/cpplint/cpplint.py', 'description': 'Check for non-const references.\n\nSeparate from CheckLanguage since it scans backwards from current\nline, instead of scanning forward.\n\nArgs:\n filename: The name of the current file.\n clean_lines: A CleansedLines instance conta...
0
{'name': 'PG.query@asyncpgsa/pgsingleton.py', 'description': "make a read only query. Ideal for select statements.\nThis method converts the query to a prepared statement\nand uses a cursor to return the results. So you only get\nso many rows at a time. This can dramatically increase performance\nfor queries that have ...
0
{'name': 'generate_intervals@emissionsapi/autoupdater.py', 'description': 'Generator for intervals between start and end in days intervals.\n\n:param start: Starting datetime for the intervals.\n:type start: datetime.datetime\n:param end: End datetime for the intervals.\n:type end: datetime.datetime\n:param days: Days ...
0
{'name': 'chaossChangeRequestsAccepted@python_v2/metrics/chaoss.py', 'description': '_summary_\n\nArgs:\n config (QueryConfig): _description_', 'signature': "def chaossChangeRequestsAccepted(config: QueryConfig, mode='outer') -> (List,str):"}</s>{'name': '__chaossActiveDatesAndTimes@python_v2/metrics/chaoss.py', 'de...
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': 'PipeBase.scan_local@d6tpipe/pipe.py', 'description': 'Get file attributes from local. To run before doing a pull/push\n\nArgs:\n include (str): pattern of files to include, eg `*.csv` or `a-*.csv|b-*.csv`\n exclude (str): pattern of files to exclude\n attributes (bool): return filenames with attribut...
0
{'name': 'SensorHandler.validate_arming_event@custom_components/alarmo/sensors.py', 'description': 'check whether all sensors have the correct state prior to arming.', 'signature': 'def validate_arming_event(self, area_id: str, target_state: str = None, **kwargs):'}</s>ATTR_CAN_ARM = "can_arm"
0
{'name': 'socksocket.connect@third_party/httplib2/socks.py', 'description': "connect(self, despair)\nConnects to the specified destination through a proxy.\ndestpar - A tuple of the IP/DNS address and the port number.\n(identical to socket's connect).\nTo select the proxy server use setproxy().", 'signature': 'def conn...
1
{'name': 'get_client@rdk/template/runtime/python3.7/rule_code.py', 'description': 'Return the service boto client. It should be used instead of directly calling the client.\n\nKeyword arguments:\nservice -- the service name used for calling the boto.client()\nevent -- the event variable given in the lambda handler\nreg...
0
{'name': 'GetExitStatus@Engine/lib/assimp/contrib/googletest/googlemock/test/gmock_test_utils.py', 'description': "Returns the argument to exit(), or -1 if exit() wasn't called.\n\nArgs:\n exit_code: the result value of os.system(command).", 'signature': 'def GetExitStatus(exit_code):'}</s>{'name': 'GetTestExecutableP...
0
{'name': 'authenticate@src/server/server.py', 'description': 'Sends a 401 response that enables basic auth.', 'signature': 'def authenticate():'}</s>{'name': 'on_expand_heat@src/server/server.py', 'description': 'DOCSTRING', 'code': "def on_expand_heat(data):\n if data and 'heat' in data:\n RaceContext.rhui.e...
0
{'name': 'test_aspls_overflow@tests/test_weighting.py', 'description': 'Ensures exponential overflow does not occur from aspls weighting.', 'signature': 'def test_aspls_overflow(one_d, asymmetric_coef):'}</s>{'name': 'test_aspls_all_below@tests/test_weighting.py', 'description': 'Ensures aspls weighting works as intent...
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': 'SD1Watson.spherical_harmonics_representation@dmipy/distributions/distributions.py', 'description': 'The Watson spherical distribution model in spherical harmonics.\nThe minimum order is automatically derived from numerical experiments\nto ensure fast function executation and accurate results.\n\nParameters\n-...
1
{'name': 'testWriteXMLParametersGAFF@openmoltools/tests/test_forcefield_generators.py', 'description': 'Test writing XML parameters loaded from Amber GAFF parameter files ', 'signature': 'def testWriteXMLParametersGAFF():'}</s>{'name': 'find_gaff_dat@openmoltools/utils.py', 'description': 'DOCSTRING', 'code': 'def find...
0
{'name': 'generate_main_html@nhentai/utils.py', 'description': 'Generate a main html to show all the contains doujinshi.\nWith a link to their `index.html`.\nDefault output folder will be the CLI path.', 'signature': "def generate_main_html(output_dir=f'.{PATH_SEPARATOR}'):"}</s>{'name': 'paging@nhentai/utils.py', 'des...
0
{'name': 'Locale.year_abbreviation@arrow/locales.py', 'description': 'Returns the year for specific locale if available\n\n:param year: the ``int`` year (4-digit)', 'signature': 'def year_abbreviation(self, year: int) -> str:'}</s>{'name': 'MauritaniaArabicLocale@arrow/locales.py', 'description': 'DOCSTRING', 'base_cla...
0
{'name': 'Client.set_api_version@SalesforcePy/sfdc.py', 'description': 'Sets the api version to be used by the client. If not provided, it will get the latest version\navailable\n\n:return: set version kwarg on client if not defined', 'signature': 'def set_api_version(self, **kwargs):'}</s>{'name': 'ChatterFeedItem@Sal...
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': 'round_td@openmaptiles/utils.py', 'description': 'Round timedelta by first digit after the dot', 'signature': 'def round_td(delta: timedelta):'}</s>{'name': 'parse_zoom@openmaptiles/utils.py', 'description': 'Parse a user-provided zoom or a list of zooms (one or more --zoom parameters).\nIn some cases a list o...
0
{'name': 'Swagger.as_dict@flask_restx/swagger.py', 'description': 'Output the specification as a serializable ``dict``.\n\n:returns: the full Swagger specification in a serializable format\n:rtype: dict', 'signature': 'def as_dict(self):'}</s>{'name': 'HTTPStatus@flask_restx/_http.py', 'description': 'HTTP status codes...
0
{'name': 'field_rgb@grizli/pipeline/auto_script.py', 'description': "RGB image of the field mosaics\n\nParameters\n----------\n\nroot : str\n Field rootname\n\nxsize : float\n Figure size\n\noutput_dpi : int\n Figure DPI\n\nHOME_PATH : str\n Path to look for mosaic files\n\nshow_ir : bool\n Clip around W...
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': 'rpn_bbox_loss_graph@Mask_RCNN/mrcnn/model.py', 'description': 'Return the RPN bounding box loss graph.\n\nconfig: the model config object.\ntarget_bbox: [batch, max positive anchors, (dy, dx, log(dh), log(dw))].\n Uses 0 padding to fill in unsed bbox deltas.\nrpn_match: [batch, anchors, 1]. Anchor match ty...
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': 'remove_entites@config/utils.py', 'description': 'Remove certain number of entities and make them become O label\n:param train_insts:\n:param config:\n:return:', 'signature': 'def remove_entites(train_insts: List[Instance], config: Config) -> Set:'}</s>{'name': 'lr_decay@config/utils.py', 'description': 'Metho...
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': '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': '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': 'setup_timezone@src/rororo/settings.py', 'description': 'Shortcut helper to configure timezone for backend application.\n\n:param timezone: Timezone to use, e.g. "UTC", "Europe/Kiev".', 'signature': 'def setup_timezone(timezone: str) -> None:'}</s>DictStrAny = Dict[str, Any]
0
{'name': 'tags@app/views.py', 'description': 'view for the tags', 'signature': 'def tags(request):'}</s>{'name': 'HomePageView@app/views.py', 'description': 'DOCSTRING', 'base_classes': ['TemplateView'], 'methods': [{'name': 'HomePageView.get_context_data@app/views.py', 'description': 'providing additional context', 'c...
0
{'name': '_change_precision_pact@nemo/transf/utils.py', 'description': 'Changes the target precision of a PACT quantization-aware layer.\n\n\n:param bits: target bit-width.\n:type bits: `int`\n\n:param scale_activations: if False, do not change precision of activations (default True).\n:type scale_activations: boolea...
0
{'name': 'is_track_loved@np.py', 'description': 'Input: Track\nIf loved, return track string with a heart\nelse return track string', 'signature': 'def is_track_loved(track: pylast.Track) -> str:'}</s>lastfm_network = pylast.LastFMNetwork( api_key=API_KEY, api_secret=API_SECRET, username=lastfm_username, ...
0
{'name': 'to_ufo_glyph@Lib/glyphsLib/builder/glyph.py', 'description': 'Add .glyphs metadata, paths, components, and anchors to a glyph.', 'signature': 'def to_ufo_glyph(self, ufo_glyph, layer, glyph, do_color_layers=True): # noqa: C901'}</s>{'name': 'GSComponent@Lib/glyphsLib/classes.py', 'description': 'DOCSTRING', ...
1
{'name': 'ToUnixLineEnding@googlemock/test/gmock_output_test.py', 'description': 'Changes all Windows/Mac line endings in s to UNIX line endings.', 'signature': 'def ToUnixLineEnding(s):'}</s>TestCase = gtest_test_utils.TestCase
0
{'name': 'test_kitti_3d@lib/rpn_util.py', 'description': 'Test the KITTI framework for object detection in 3D', 'signature': 'def test_kitti_3d(dataset_test, net, rpn_conf, results_path, test_path, has_rcnn=False):'}</s>{'name': 'imshow@lib/util.py', 'description': 'DOCSTRING', 'code': 'def imshow(im, fig_num=None):\n\...
0
{'name': 'set_default@art/functions.py', 'description': 'Change text2art, tprint and tsave default values.\n\n:param font: input font\n:type font:str\n:param chr_ignore: ignore not supported character\n:type chr_ignore:bool\n:param filename: output file name (only tsave)\n:type filename:str\n:param print_status : save ...
1
{'name': 'test_lex_line_counting_multi@tests/test_reader.py', 'description': 'Make sure we can do multi-line tokenization', 'signature': 'def test_lex_line_counting_multi():'}</s>{'name': 'test_lex_symbols@tests/test_reader.py', 'description': 'Make sure that symbols are valid expressions', 'code': 'def test_lex_symbol...
0
{'name': 'is_on_the_line@articles/inversion.py', 'description': "Check if 'point' is on the line given by two points 'lp1' and 'lp2'.", 'signature': 'def is_on_the_line(point, lp1, lp2, thres = 1e-6):'}</s>{'name': 'FourCirclesNormalForm@articles/inversion.py', 'description': 'DOCSTRING', 'base_classes': ['VMobject'], ...
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': 'change_widget_color@Contents/scripts/sisidebar/qt.py', 'description': '引数\nwidget 色を変えたいウィジェットオブジェクト\nbgColor 背景色をRGBのリストか0~255のグレースケールで指定、省略可能。', 'signature': 'def change_widget_color('}</s>{'name': 'get_maya_window@Contents/scripts/sisidebar/qt.py', 'description': 'DOCSTRING', 'code': 'def get_maya_window()...
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': 'estimate_fao56@cfg/hass/custom_components/wb_irrigation/sensor.py', 'description': 'Estimate fao56 from weather ', 'signature': 'def estimate_fao56(day_of_year,'}</s>{'name': 'atm_pressure@cfg/hass/custom_components/wb_irrigation/pyeto/fao.py', 'description': 'Estimate atmospheric pressure from altitude.\n\n...
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': 'Message.from_dict@src/betterproto/__init__.py', 'description': 'Parse the key/value pairs into the current message instance. This returns the\ninstance itself and is therefore assignable and chainable.\n\nParameters\n-----------\nvalue: Dict[:class:`str`, Any]\n The dictionary to parse from.\n\nReturns\n--...
0
{'name': 'Application.create_widgets@spatialmedia/gui.py', 'description': 'Sets up GUI contents.', 'signature': 'def create_widgets(self):'}</s>{'name': 'get_spatial_audio_metadata@spatialmedia/metadata_utils.py', 'description': 'DOCSTRING', 'code': 'def get_spatial_audio_metadata(ambisonic_order, head_locked_stereo):\...
0
{'name': 'result_list@CherryConText/trunk/pyConTextKit/templates/media/admin/templatetags/admin_list.py', 'description': 'Displays the headers and data list together', 'signature': 'def result_list(cl):'}</s>admin_list_filter = register.inclusion_tag('admin/filter.html')(admin_list_filter)
0
{'name': '_FloatingPointEncoder@third_party/dawn/third_party/protobuf/python/google/protobuf/internal/encoder.py', 'description': "Return a constructor for an encoder for float fields.\n\nThis is like StructPackEncoder, but catches errors that may be due to\npassing non-finite floating-point values to struct.pack, and ...
0
{'name': 'PostgresNode.source_walsender@testgres/node.py', 'description': "Returns master's walsender feeding this replica.", 'signature': 'def source_walsender(self):'}</s>{'name': 'First@testgres/standby.py', 'description': 'Specifies a priority-based synchronous replication and makes transaction\ncommits wait until ...
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>{'name': 'ediff1d@venv/Lib/site-packages/numpy/ma/extras.py', 'description': 'Compute the differences between conse...
0
{'name': 'process_assignments_and_deletions@da/compiler/incgen.py', 'description': 'Generate stub and hook for assignments and deletions.\n\nThis should be called after the query parameters have been accumulated.', 'signature': 'def process_assignments_and_deletions(state):'}</s>{'name': 'MultOp@da/compiler/dast.py', '...
0
{'name': 'process_options@src/python_scripts/scripts/uber_subject.py', 'description': 'return status and VarsObject structs of subject and control variables\n\n - given list of valid options, read and process the user options\n - if terminal option or -no_gui, return 0 (successful quit)\n\nreturn 1 : on success and ...
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': 'CommandExecuti...
0
{'name': 'parse@docstring_parser/google.py', 'description': 'Parse the Google-style docstring into its components.\n\n:returns: parsed docstring', 'signature': 'def parse(text: str) -> Docstring:'}</s>PARAM_KEYWORDS = { "param", "parameter", "arg", "argument", "attribute", "key", "keyword", ...
0
{'name': 'AttachResumeTestCase.process_attach_continue_interrupt_detach@llvm-12.0.0-project/lldb/test/API/commands/process/attach-resume/TestAttachResume.py', 'description': 'Test attach/continue/interrupt/detach', 'signature': 'def process_attach_continue_interrupt_detach(self):'}</s>{'name': 'int_to_bytearray@llvm-12...
0
{'name': 'Image._preamble_read@wand/image.py', 'description': 'Set-up MagickWand properties before reading an image file. The\nproperties are unique to the image decoder.\n\n:param background: Defines the default background color.\n:type background: :class:`Color`, :class:`str`\n:param colorspace: Defines what colorspa...
0
{'name': 'TestBackupFSLocalstorage.test_backup_preexisting_dir@freezer/tests/integration/test_agent.py', 'description': 'Use external pre-defined directory for tests.\nIf directory does not exist, then skip\n\nRestore to temporary folder (removed on exit)\n:return:', 'signature': 'def test_backup_preexisting_dir(self):...
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': '_build_classification_loss@object_detection/builders/losses_builder.py', 'description': 'Builds a classification loss based on the loss config.\n\nArgs:\n loss_config: A losses_pb2.ClassificationLoss object.\n\nReturns:\n Loss based on the config.\n\nRaises:\n ValueError: On invalid loss_config.', 'signatu...
0
{'name': 'entrypoint@emissionsapi/web.py', 'description': 'Entrypoint for running this as a module or from the binary.\nIt starts the Connexion Debug Server. It is not meant to be used for\nproduction, but only during the development.', 'signature': 'def entrypoint():'}</s>{'name': 'parse_date@emissionsapi/web.py', 'de...
0
{'name': 'TestAdminTree.test_result_tree@treebeard/tests/test_treebeard.py', 'description': 'Verifies that inclusion tag result_list generates a table when with\ndefault ModelAdmin settings.', 'signature': 'def test_result_tree(self, model_without_proxy):'}</s>{'name': 'MP_TestNodeSomeDep@treebeard/tests/models.py', 'd...
0
{'name': 'CheckLanguage@ament_cpplint/ament_cpplint/cpplint.py', 'description': "Checks rules from the 'C++ language rules' section of cppguide.html.\n\nSome of these rules are hard to test (function overloading, using\nuint32 inappropriately), but we do the best we can.\n\nArgs:\n filename: The name of the current fi...
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': 'A1DInterface.process_data@src/python_scripts/scripts/1d_tool.py', 'description': 'return None on completion, else error code (0 being okay)', 'signature': 'def process_data(self):'}</s>{'name': 'opt_is_val@src/python_scripts/afnipy/option_list.py', 'description': 'return 1 if and only if opt.oplist[0] == optv...
0
{'name': 'get_arguments@evaluate.py', 'description': 'Parse all the arguments provided from the CLI.\n\nReturns:\n A list of parsed arguments.', 'signature': 'def get_arguments():'}</s>{'name': 'color_map@evaluate.py', 'description': 'DOCSTRING', 'code': "def color_map(N=256, normalized=False):\n def bitget(byteval...
0
{'name': 'id_generator@custom_components/thermal_comfort/sensor.py', 'description': 'Generate id based on unique_id and sensor type.\n\n:param unique_id: str: common part of id for all entities, device unique_id, as a rule\n:param sensor_type: str: different part of id, sensor type, as s rule\n:returns: str: unique_id+...
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>FILTER_CUBIC_IMG = 1000015000
0
{'name': 'Normal.NLL@metrics/Disentangle/MIG_metric.py', 'description': 'Analytically computes\n E_N(mu_2,sigma_2^2) [ - log N(mu_1, sigma_1^2) ]\nIf mu_2, and sigma_2^2 are not provided, defaults to entropy.', 'signature': 'def NLL(self, params, sample_params=None):'}</s>{'name': 'estimate_entropies@metrics/Disenta...
0
{'name': 'sample_and_group@STNNet/pointconv.py', 'description': 'Input:\n npoint:\n nsample:\n xyz: input points position data, [B, N, C]\n points: input points data, [B, N, D]\nReturn:\n new_xyz: sampled points position data, [B, 1, C]\n new_points: sampled points data, [B, 1, N, C+D]', 'signature': ...
0
{'name': '_row_string@lndmanage/lib/listings.py', 'description': 'Constructs the formatted row string for table printing.', 'signature': 'def _row_string(column_values: Dict, print_format: Dict, columns: List[str]):'}</s>logger_config = None
0
{'name': 'ParserElement.setDebugActions@tests/_lib_vendors/pkg_resources/_vendor/pyparsing.py', 'description': 'Enable display of debugging messages while doing pattern matching.', 'signature': 'def setDebugActions( self, startAction, successAction, exceptionAction ):'}</s>{'name': 'lineno@tests/_lib_vendors/pkg_resour...
0
{'name': 'reset_meters@fairseq/logging/metrics.py', 'description': 'Reset Meter instances aggregated under a given *name*.', 'signature': 'def reset_meters(name: str) -> None:'}</s>{'name': 'log_derived@fairseq/logging/metrics.py', 'description': 'Log a scalar value derived from other meters.\n\nArgs:\n key (str): n...
0
{'name': 'make_server@src-python/lab-service/traffexam/kilda/traffexam/rest.py', 'description': 'Create a new WSGI server listening on `host` and `port` for `app`', 'signature': 'def make_server(host, port, app, thread_count=None,'}</s>{'name': 'endpoint_list@src-python/lab-service/traffexam/kilda/traffexam/rest.py', '...
0
{'name': 'athena_source@05_explore/data-wrangler/99_GENERATED_Python_Code.py', 'description': 'Represents a source that handles Athena.\n\nNote: Input dataset_definition is a Mohave specific dataset definition and is different from Processing Job\ndataset definition.', 'signature': 'def athena_source(spark, mode, datas...
0
{'name': 'And@src/api/python/z3/z3.py', 'description': "Create a Z3 and-expression or and-probe.\n\n>>> p, q, r = Bools('p q r')\n>>> And(p, q, r)\nAnd(p, q, r)\n>>> P = BoolVector('p', 5)\n>>> And(P)\nAnd(p__0, p__1, p__2, p__3, p__4)", 'signature': 'def And(*args):'}</s>{'name': 'RTP@src/api/python/z3/z3.py', 'descri...
0
{'name': 'TestRequests.test_response_iter_lines_reentrant@tests/test_requests.py', 'description': 'Response.iter_lines() is not reentrant safe', 'signature': 'def test_response_iter_lines_reentrant(self, httpbin):'}</s>{'name': 'override_environ@tests/utils.py', 'description': 'DOCSTRING', 'code': 'def override_environ...
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>colormap_array = dvz.dvz_colormap_ar...
0
{'name': 'h8mail@h8mail/utils/run.py', 'description': 'Handles most user arg logic. Creates a list() of targets from user input.\nStarts the target object factory loop; starts local searches after factory if in user inputs\nPrints results, saves to csv or JSON if in user inputs', 'signature': 'def h8mail(user_args):'}<...
1
{'name': 'clean_merged_flowlines@oggm/core/flowline.py', 'description': 'Order and cut merged flowlines to size.\n\nAfter matching flowlines were found and merged to one glacier directory\nthis function makes them nice:\nThere should only be one flowline per bed, so overlapping lines have to be\ncut, attributed to a an...
1
{'name': 'create_audio_envelope_waveform@avgn/segment_song/wav_to_syllables.py', 'description': 'Creates an audio envelope from waveform', 'signature': 'def create_audio_envelope_waveform(waveform, wav_spectrogram, downsampled_rate,'}</s>{'name': 'timeout_handler@avgn/segment_song/preprocessing.py', 'description': 'DOC...
0
{'name': 'get_free_memory_mb@bioconda_utils/utils.py', 'description': 'Return free memory as megabytes', 'signature': 'def get_free_memory_mb():'}</s>{'name': '_meta_subdir@bioconda_utils/utils.py', 'description': 'DOCSTRING', 'code': "def _meta_subdir(meta):\n # logic extracted from conda_build.variants.bldpkg_path...
0
{'name': 'predict_query@gp_query.py', 'description': 'Performs a single query starting at ?SOURCE returning all ?TARGETs.', 'signature': 'def predict_query(sparql, timeout, graph_pattern, source,'}</s>{'name': 'combined_ask_count_multi_query@gp_query.py', 'description': 'DOCSTRING', 'code': 'def combined_ask_count_mult...
0
{'name': 'SystemTest.test_get_active_mode_zone_quick_mode_one_day_home_day@tests/test_system.py', 'description': 'Test get active mode for zone one day home.', 'signature': 'def test_get_active_mode_zone_quick_mode_one_day_home_day(self) -> None:'}</s>{'name': 'SystemTest@tests/test_system.py', 'description': 'Test cla...
1
{'name': 'resnet152@training/resnet.py', 'description': 'Constructs a ResNet-152 model.\n\nArgs:\n pretrained (bool): If True, returns a model pre-trained on ImageNet', 'signature': 'def resnet152(pretrained=False, **kwargs):'}</s>{'name': 'resnet34@training/resnet.py', 'description': 'Constructs a ResNet-34 model.\...
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': 'DocumentDisplay.create_child@3rdparty/mongo-c-driver-1.26.2/lldb_bson.py', 'description': 'Generate the child elements for LLDB to walk through', 'signature': 'def create_child(cls, parent: SBValue, elem: DocumentElement) -> SBValue:'}</s>{'name': 'Decimal128Value@3rdparty/mongo-c-driver-1.26.2/lldb_bson.py',...
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': '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': 'lineno@tests/_lib_vendors/pkg_resources/_vendor/pyparsing.py', 'description': 'Returns current line number within a string, counting newlines as line separators.\nThe first line is number 1.\n\nNote: the default parsing behavior is to expand tabs in the input string\nbefore starting the parsing process. See ...
0
{'name': 'read_info@ankipandas/raw.py', 'description': 'Get a table from the database and return nested dictionary mapping of\nit.\n\nArgs:\n db:\n table_name:\n\nReturns:', 'signature': 'def read_info(db: sqlite3.Connection, table_name: str) -> dict:'}</s>{'name': 'get_mid2sortfield@ankipandas/raw.py', 'descript...
0
{'name': 'Gama.fit@gama/gama.py', 'description': 'Find and fit a model to predict target y from X.\n\nVarious possible machine learning pipelines will be fit to the (X,y) data.\nUsing Genetic Programming, the pipelines chosen should lead to gradually\nbetter models. Pipelines will internally be validated using cross va...
1
{'name': 'Maze.knockdown_wall@examples/maze.py', 'description': "Knocks down the wall between the two given points in the maze.\nAssumes that they are adjacent, otherwise it doesn't make any\nsense (and wont actually make any difference anyway) ", 'signature': 'def knockdown_wall(self, p1, p2):'}</s>NORTH = 1
1
{'name': 'QueueManager.put1@code/pymqi/__init__.py', 'description': "Put the single message in string buffer 'msg' on the queue\nusing the MQI PUT1 call. This encapsulates calls to MQOPEN,\nMQPUT and MQCLOSE. put1 is the optimal way to put a single\nmessage on a queue.\n\nqDesc identifies the Queue either by name (if i...
0
{'name': '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