text
string
label
int64
{'name': 'TestImport.test_existing_image_is_not_refetched@tests/tests/test_import.py', 'description': 'If an incoming object has a FileField that reports the same size/hash as the existing\nfile, we should not refetch the file', 'signature': 'def test_existing_image_is_not_refetched(self, get):'}</s>{'name': 'Author@te...
0
{'name': 'invalidate_posts@post.py', 'description': 'Invalidates the respective cache pages after a post has been created.', 'signature': 'def invalidate_posts(thread: Thread, replies: List[Reply]):'}</s>{'name': 'publish_thread@post.py', 'description': 'Publish a new post to the pub-sub system, also invalidating the c...
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>MQPL_NATIVE = 11
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': 'CheckForNonConstReference@ament_cpplint/ament_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 instan...
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': '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>CPAL032_COLORBLIND8 = 146
0
{'name': 'find_otherside_modules@rtl/vendor/pulp_platform_register_interface/vendor/lowrisc_opentitan/util/topgen/intermodule.py', 'description': 'Find far-end port based on given module and signal name\n ', 'signature': 'def find_otherside_modules(topcfg: OrderedDict, m,'}</s>{'name': 'get_suffixes@rtl/vendor/pulp_...
0
{'name': 'Table@src/python/bcc/table.py', 'description': 'Table(bpf, map_id, map_fd, keytype, leaftype, **kwargs)\n\nCreate a python object out of a reference to a bpf table handle', 'signature': 'def Table(bpf, map_id, map_fd, keytype, leaftype, name, **kwargs):'}</s>{'name': 'TableBase@src/python/bcc/table.py', 'desc...
0
{'name': '_to_typedef@swagger_to/elm_client.py', 'description': 'Translate the intermediate type definition to a definition of an Elm type.\n\n:param intermediate_typedef: intermediate type definition\n:return: definition of an Elm type', 'signature': 'def _to_typedef(intermediate_typedef: swagger_to.intermediate.Typed...
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': 'fpToFP@src/api/python/z3/z3.py', 'description': 'Create a Z3 floating-point conversion expression from other term sorts\nto floating-point.\n\nFrom a bit-vector term in IEEE 754-2008 format:\n>>> x = FPVal(1.0, Float32())\n>>> x_bv = fpToIEEEBV(x)\n>>> simplify(fpToFP(x_bv, Float32()))\n1\n\nFrom a floating-p...
0
{'name': '_makeTags@venv/Lib/site-packages/pip-19.0.3-py3.6.egg/pip/_vendor/pyparsing.py', 'description': 'Internal helper to construct opening and closing tag expressions, given a tag name', 'signature': 'def _makeTags(tagStr, xml):'}</s>{'name': 'col@venv/Lib/site-packages/pip-19.0.3-py3.6.egg/pip/_vendor/pyparsing.p...
0
{'name': 'HubConnectionBuilder.build@signalrcore/hub_connection_builder.py', 'description': 'Configures the connection hub\n\nRaises:\n TypeError: Checks parameters an raises TypeError\n if one of them is wrong\n\nReturns:\n [HubConnectionBuilder]: [self object for fluent interface purposes]', 'signature':...
0
{'name': 'fetch_reviews@quapy/data/datasets.py', 'description': 'Loads a Reviews dataset as a Dataset instance, as used in\n`Esuli, A., Moreo, A., and Sebastiani, F. "A recurrent neural network for sentiment quantification."\nProceedings of the 27th ACM International Conference on Information and Knowledge Management. ...
0
{'name': 'createAndPublishAPIs@apim-traffic-tool/lib/traffic-tool/src/python/create_api_scenario.py', 'description': 'This function will create and publish all APIs\n:return: None', 'signature': 'def createAndPublishAPIs():'}</s>{'name': 'getAccessToken@apim-traffic-tool/lib/traffic-tool/src/python/utils/request_method...
1
{'name': '_GetTextInside@tools/caffe-sphereface/scripts/cpp_lint.py', 'description': "Retrieves all the text between matching open and close parentheses.\n\nGiven a string of lines and a regular expression string, retrieve all the text\nfollowing the expression and between opening punctuation symbols like\n(, [, or {, ...
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': 'genesetAnalysisBetweenConditions@pipelines/pipeline_scxl.py', 'description': 'Naive geneset over-enrichment analysis of genes DE within-cluster.\n\nTesting is performed with the gsfisher package.\n\nGO categories and KEGG pathways are tested by default.\n\nArbitrary sets of genes cat be supplied as GMT files\...
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>MOUSE_BUTTON_NONE = 0
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': 'generation_step_callback@gp_learner.py', 'description': 'Called after each generation step cycle in train().\n\n:param run: number of the current run\n:param gtp_scores: gtp_scores as of start of this run\n:param user_callback_per_generation: a user provided callback that is called\n after each training ge...
0
{'name': '_value_owner_pair@skein/kv.py', 'description': 'Build a ValueOwnerPair from a KeyValue object', 'signature': 'def _value_owner_pair(kv):'}</s>{'name': 'put@skein/kv.py', 'description': "A request to assign a value and/or owner for a single key.\n\nParameters\n----------\nkey : str\n The key to put.\nvalue ...
0
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQCBCT_MSG_REMOVED = 6
0
{'name': 'synchronize_cams_all@Pose2Sim/synchronization.py', 'description': 'Post-synchronize your cameras in case they are not natively synchronized.\n\nFor each camera, computes mean vertical speed for the chosen keypoints, \nand find the time offset for which their correlation is highest. \n\nDepending on the analys...
0
{'name': 'SessionRedirectMixin.rebuild_proxies@TDScanner/libs/requests/sessions.py', 'description': 'This method re-evaluates the proxy configuration by considering the\nenvironment variables. If we are redirected to a URL covered by\nNO_PROXY, we strip the proxy configuration. Otherwise, we set missing\nproxy keys for...
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': 'take_calibration_image@versions/speed-camera 13.2/speed-cam.py', 'description': 'Create a calibration image for determining value of IMG_VIEW_FT variable\nCreate calibration hash marks', 'signature': 'def take_calibration_image(speed, filename, cal_image):'}</s>QUOTE = """
0
{'name': 'test_flux_sed@tests/test_models.py', 'description': 'test IC calculation', 'signature': 'def test_flux_sed(particle_dists):'}</s>data = QTable()
0
{'name': 'BaseRequest.POST@src/back/kite/bottle.py', 'description': 'The values of :attr:`forms` and :attr:`files` combined into a single\n:class:`FormsDict`. Values are either strings (form values) or\ninstances of :class:`cgi.FieldStorage` (file uploads).', 'signature': 'def POST(self):'}</s>{'name': 'ResourceManager...
0
{'name': 'distance_of_time_in_words@pytils/dt.py', 'description': 'Represents distance of time in words\n\n@param from_time: source time (in seconds from epoch)\n@type from_time: C{int}, C{float} or C{datetime.datetime}\n\n@param accuracy: level of accuracy (1..3), default=1\n@type accuracy: C{int}\n\n@param to_time: t...
0
{'name': 'Socks5Connection.handle@test/functional/test_framework/socks5.py', 'description': 'Handle socks5 request according to RFC1928.', 'signature': 'def handle(self):'}</s>{'name': 'format_addr_port@test/functional/test_framework/netutil.py', 'description': 'Return either "addr:port" or "[addr]:port" based on wheth...
1
{'name': 'worker_status@gedgo/views/dashboard.py', 'description': 'XHR view for whether the celery worker is up', 'signature': 'def worker_status(request):'}</s>EMAIL_BACKEND = "django.core.mail.backends.console.EmailBackend"
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': 'PFOp._to_string@pf/rule.py', 'description': 'Return the string representation of the operation.', 'signature': 'def _to_string(self):'}</s>MLD_LISTENER_DONE = 132
0
{'name': 'MapperTest.test_errors_with_errors@tests/test_mapper.py', 'description': 'Test map hvac errors.', 'signature': 'def test_errors_with_errors(self) -> None:'}</s>{'name': '_get_report_value@pymultimatic/model/mapper.py', 'description': 'DOCSTRING', 'code': 'def _get_report_value(report) -> Any:\n if report:\...
0
{'name': 'dpll@Projects/2_Classical Planning/aimacode/logic.py', 'description': 'See if the clauses are true in a partial model.', 'signature': 'def dpll(clauses, symbols, model):'}</s>{'name': 'is_variable@Projects/2_Classical Planning/aimacode/logic.py', 'description': 'A variable is an Expr with no args and a lowerc...
0
{'name': 'View.scale_contrast@picasso/gui/render.py', 'description': 'Scales image based on contrast values from Display Settings\nDialog.\n\nParameters\n----------\nimage : np.array or list of np.arrays\n Array with rendered locs (grayscale)\nautoscale : boolean (default=False)\n If True, finds optimal contrast\...
0
{'name': 'Normal.kld@metrics/Disentangle/MIG_metric.py', 'description': 'Computes KL(q||p) where q is the given distribution and p\nis the standard Normal distribution.', 'signature': 'def kld(self, params):'}</s>q_dist = Normal()
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': 'Client.__init__@python-sdk/pachyderm_sdk/client.py', 'description': "Creates a Pachyderm client.\n\nParameters\n----------\nhost : str, optional\n The pachd host. Default is 'localhost', which is used with\n ``pachctl port-forward``.\nport : int, optional\n The port to connect to. Default is 30650.\n...
0
{'name': 'render_pep440_pre@versioneer.py', 'description': 'TAG[.post.devDISTANCE] -- No -dirty.\n\nExceptions:\n1: no tags. 0.post.devDISTANCE', 'signature': 'def render_pep440_pre(pieces):'}</s>{'name': 'get_version@versioneer.py', 'description': 'Get the short version string for this project.', 'code': 'def get_vers...
0
{'name': 'Constraints.sanitize_infinities@linopy/constraints.py', 'description': 'Replace infinite values in the constraints with a large value.', 'signature': 'def sanitize_infinities(self) -> None:'}</s>{'name': 'ScalarLinearExpression@linopy/expressions.py', 'description': 'A scalar linear expression container.\n\nI...
0
{'name': 'show_settings@versions/speed-cam_8.87.py', 'description': 'Initialize and Display program variable settings from config.py', 'signature': 'def show_settings():'}</s>WEB_SERVER_PORT = 8080
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': 'PelotonObject.serialize@src/fitly/api/pelotonApi.py', 'description': 'Ensures that everything has a .serialize() method so that all data is serializable\n\nArgs:\n depth: level of nesting to include when serializing\n load_all: whether or not to include lazy loaded data (eg: NotLoaded() instances)', 'si...
0
{'name': 'LibcxxMultiMapDataFormatterTestCase.test_with_run_command@lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/multimap/TestDataFormatterLibccMultiMap.py', 'description': 'Test that that file and class static variables display correctly.', 'signature': 'def test_with_ru...
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': 'QueueManager.backout@code/pymqi/__init__.py', 'description': 'Backout any outstanding gets/puts in the current unit of work.\n ', 'signature': 'def backout(self):'}</s>MQRO_ACCEPT_UNSUP_MASK = 4024434943
0
{'name': 'RepeatChart.interactive@altair/vegalite/v3/api.py', 'description': 'Make chart axes scales interactive\n\nParameters\n----------\nname : string\n The selection name to use for the axes scales. This name should be\n unique among all selections within the chart.\nbind_x : boolean, default True\n If tru...
0
{'name': 'IPv6Address.teredo@scripts/pdns/lib/python2.7/site-packages/pip/_vendor/ipaddress.py', 'description': "Tuple of embedded teredo IPs.\n\nReturns:\n Tuple of the (server, client) IPs or None if the address\n doesn't appear to be a teredo address (doesn't start with\n 2001::/32)", 'signature': 'def tere...
1
{'name': 'StateWithCDMTest.setUp@tests/lib/state.py', 'description': 'Registers the dummy modules and recipe to be used in tests.', 'signature': 'def setUp(self):'}</s>{'name': 'BigQueryQuery@dftimewolf/lib/containers/containers.py', 'description': 'Attribute container for a BigQuery query.\n\nAttributes:\n query: The...
0
{'name': 'process_line@venv/Lib/site-packages/pip-19.0.3-py3.6.egg/pip/_internal/req/req_file.py', 'description': 'Process a single requirements line; This can result in creating/yielding\nrequirements, or updating the finder.\n\nFor lines that contain requirements, the only options that have an effect\nare from SUPPOR...
0
{'name': 'RenderCar._render_pascal@car/render_car.py', 'description': "Parameters\n----------\nmode: string\n ['train', 'valid']\nr1: resize ratio of height to width\n\nReturns\n----------", 'signature': 'def _render_pascal(self, mode, r1=1.0):'}</s>{'name': 'PILImageEnhance@yolo_modules/yolo_cv.py', 'description': 'D...
0
{'name': 'findRosPackages@haros/extractor.py', 'description': 'Find ROS packages inside folders.\n:param paths: [list] of [str] File system path to search, [None] to use the ROS default search paths.\n:param as_stack: [bool] Whether the paths point to stacks.\n:returns: [dict] Dictionary of [str]package_name -> [str]pa...
0
{'name': 'azure_user@backend-tests/tests/test_azure_iothub.py', 'description': 'Create Mender user and create an Azure IoT Hub integration in iot-manager using the connection string.', 'signature': 'def azure_user(clean_mongo) -> Optional[User]:'}</s>URL_SETTINGS = "/settings"
0
{'name': 'Placeholders_Calls.test1@Cheetah/Tests/SyntaxAndOutput.py', 'description': 'func placeholder - no ()', 'signature': 'def test1(self):'}</s>{'name': 'RawDirective@Cheetah/Tests/SyntaxAndOutput.py', 'description': 'DOCSTRING', 'base_classes': ['OutputTest'], 'methods': [{'name': 'RawDirective.test1@Cheetah/Test...
0
{'name': 'PFAddr._from_string@pf/rule.py', 'description': 'Initalize a new instance from a string.', 'signature': 'def _from_string(self, a):'}</s>PF_ADDR_NOROUTE = 1
1
{'name': 'corefdiffbyevent@code/link_coref.py', 'description': 'comprise features for clustering events', 'signature': 'def corefdiffbyevent(pubdate,events,features,weight,threshold):'}</s>{'name': 'txt2int@code/link_coref.py', 'description': 'DOCSTRING', 'code': 'def txt2int(textnum, numwords={}):\n if not numwords...
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': 'FancyPage.afterDrawPage@rst2pdf/createpdf.py', 'description': 'Draw header/footer.', 'signature': 'def afterDrawPage(self, canv, doc):'}</s>cfdir = os.path.join(os.path.expanduser('~'), '.rst2pdf')
0
{'name': 'create_autospec@Contents/Libraries/Shared/mock.py', 'description': "Create a mock object using another object as a spec. Attributes on the\nmock will use the corresponding attribute on the `spec` object as their\nspec.\n\nFunctions or methods being mocked will have their arguments checked\nto check that they ...
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': 'AnkiDataFrame._constructor@ankipandas/ankidf.py', 'description': 'This needs to be overridden so that any DataFrame operations do not\nreturn a :class:`pandas.DataFrame` but a :class:`AnkiDataFrame`.', 'signature': 'def _constructor(self):'}</s>{'name': 'get_mid2model@ankipandas/raw.py', 'description': 'Mappi...
0
{'name': 'TypeErrorTests.test_keyword_sort_cmpkey@didyoumean/didyoumean_sugg_tests.py', 'description': 'Sort and sorted functions have a cmp/key param dep. on the vers.', 'signature': 'def test_keyword_sort_cmpkey(self):'}</s>{'name': 'ranges_between@didyoumean/didyoumean_sugg_tests.py', 'description': 'Return a list o...
1
{'name': 'build_package@deb_pkg_tools/package.py', 'description': "Create a Debian package using the ``dpkg-deb --build`` command.\n\n:param directory: The pathname of a directory tree suitable for packaging\n with ``dpkg-deb --build``.\n:param repository: The pathname of the directory where the genera...
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>_on_clause_eh = Z3_on_clause_eh(on_clause_eh)
0
{'name': 'asrgb@imgviz/color.py', 'description': 'Convert any array to rgb image.\n\nParameters\n----------\nimg: numpy.ndarray\n Input image.\n\nReturns\n-------\nrgb: numpy.ndarray, (H, W, 3), np.uint8\n Output gray image.', 'signature': 'def asrgb(img):'}</s>{'name': 'asgray@imgviz/color.py', 'description': 'C...
0
{'name': 'BinnedEventArray.n_bins@nelpy/core/_eventarray.py', 'description': '(int) The number of bins.', 'signature': 'def n_bins(self):'}</s>{'name': 'spiketrain_union@nelpy/utils.py', 'description': 'Join two spiketrains together.\n\nWARNING! This function should be improved a lot!', 'code': 'def spiketrain_union(st...
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>CARTESIAN_COORDS = { "node_x": {"dims": [NODE_DIM], "attrs": NODE_X_ATTRS}, "node_y": {"dims": [NODE_DIM], "attrs": NODE_Y_ATTRS}, "node_z"...
0
{'name': '_makeTags@venv/Lib/site-packages/pip-19.0.3-py3.8.egg/pip/_vendor/pyparsing.py', 'description': 'Internal helper to construct opening and closing tag expressions, given a tag name', 'signature': 'def _makeTags(tagStr, xml):'}</s>{'name': 'ParseSyntaxException@venv/Lib/site-packages/pip-19.0.3-py3.8.egg/pip/_v...
0
{'name': 'to_pretty_midi_time_signature@muspy/outputs/midi.py', 'description': 'Return a TimeSignature object as a pretty_midi TimeSignature.', 'signature': 'def to_pretty_midi_time_signature('}</s>{'name': 'write_midi@muspy/outputs/midi.py', 'description': "Write a Music object to a MIDI file.\n\nParameters\n---------...
0
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQFB_CICS_COMMAREA_ERROR = 409
0
{'name': 'slide_last_thread@thread.py', 'description': 'If the maximum amount of threads have been reached on the board, slides\noff the last thread on the board.', 'signature': 'def slide_last_thread(board_id: int):'}</s>{'name': 'invalidate_board_cache@thread.py', 'description': 'Invalidates the cache for the given b...
0
{'name': 'count_triplets@torchkge/utils/data_redundancy.py', 'description': 'Parameters\n----------\nkg1: torchkge.data_structures.KnowledgeGraph\nkg2: torchkge.data_structures.KnowledgeGraph\nduplicates: list\n List returned by torchkge.utils.data_redundancy.duplicates.\nrev_duplicates: list\n List returned by t...
1
{'name': 'get_versions@versioneer.py', 'description': "Get the project version from whatever source is available.\n\nReturns dict with two keys: 'version' and 'full'.", 'signature': 'def get_versions(verbose: bool = False) -> Dict[str, Any]:'}</s>{'name': 'render_pep440_post@versioneer.py', 'description': 'TAG[.postDIS...
0
{'name': 'test_marker_hashable@voluptuous/tests/tests.py', 'description': 'Verify that you can get schema keys, even if markers were used', 'signature': 'def test_marker_hashable():'}</s>{'name': 'test_set_of_integers_and_strings@voluptuous/tests/tests.py', 'description': 'DOCSTRING', 'code': 'def test_set_of_integers_...
0
{'name': 'locust_classes@transformer/locust.py', 'description': 'Transforms scenarios into all Python classes needed by Locust (TaskSet and\nLocust classes).\n\nThe only missing parts before a fully functional locustfile are:\n- integrating all necessary set-up/tear-down statements:\n - Python imports,\n - apply ...
0
{'name': 'QPSPredictTestCase.test_bertsoftmax_speed@tests/test_qps.py', 'description': '测试bertsoftmax_speed', 'signature': 'def test_bertsoftmax_speed(self):'}</s>{'name': 'NERModel@nerpy/ner_model.py', 'description': 'DOCSTRING', 'base_classes': [], 'methods': [{'name': 'NERModel.__init__@nerpy/ner_model.py', 'descrip...
1
{'name': 'speed_camera@versions/speed-cam_8.87.py', 'description': 'Main speed camera processing function ', 'signature': 'def speed_camera():'}</s>SPACE_FILE_EXT = "jpg"
0
{'name': 'GefHelpCommand.__rebuild@gef.py', 'description': 'Rebuild the documentation.', 'signature': 'def __rebuild(self) -> None:'}</s>{'name': 'HexdumpDwordCommand@gef.py', 'description': 'Display SIZE lines of hexdump as DWORD from the memory location pointed by ADDRESS.', 'base_classes': ['HexdumpCommand'], 'metho...
0
{'name': 'CScript.raw_iter@test/functional/test_framework/script.py', 'description': 'Raw iteration\n\nYields tuples of (opcode, data, sop_idx) so that the different possible\nPUSHDATA encodings can be accurately distinguished, as well as\ndetermining the exact opcode byte indexes. (sop_idx)', 'signature': 'def raw_ite...
0
{'name': 'test_put_get_delete_replication@ut/test.py', 'description': '设置、获取、删除跨园区复制配置', 'signature': 'def test_put_get_delete_replication():'}</s>{'name': 'CosConfig@qcloud_cos/cos_client.py', 'description': 'config类,保存用户相关信息', 'base_classes': ['object'], 'methods': [{'name': 'CosConfig.__init__@qcloud_cos/cos_client....
1
{'name': 'Serial.reset_output_buffer@serial/serialwin32.py', 'description': 'Clear output buffer, aborting the current output and discarding all\nthat is in the buffer.', 'signature': 'def reset_output_buffer(self):'}</s>OPEN_EXISTING = 3
0
{'name': 'generation_step_callback@gp_learner.py', 'description': 'Called after each generation step cycle in train().\n\n:param run: number of the current run\n:param gtp_scores: gtp_scores as of start of this run\n:param user_callback_per_generation: a user provided callback that is called\n after each training ge...
0
{'name': 'PySRRegressor.get_hof@pysr/sr.py', 'description': 'Get the equations from a hall of fame file or search output.\n\nIf no arguments entered, the ones used\npreviously from a call to PySR will be used.', 'signature': 'def get_hof(self, search_output=None) -> pd.DataFrame | list[pd.DataFrame]:'}</s>{'name': 'run...
0
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQCA_CF_STRUC_DESC = 2052
0
{'name': 'Resource.update@pysnow/resource.py', 'description': 'Updates a record in the API resource\n\n:param query: Dictionary, string or :class:`QueryBuilder` object\n:param payload: Dictionary containing key-value fields of the record to be updated\n:return:\n - Dictionary of the updated record', 'signature': 'de...
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': 'getSegmentation@DigiPathAI/new_Segmentation.py', 'description': "Saves the prediction at the same location as the input image\nargs:\n img_path: WSI tiff image path (str)\n patch_size: patch size for inference (int)\n stride_size: stride to skip during segmentation (int)\n batch_size: batch_size d...
0
{'name': 'Data._apply_axis@verif/data.py', 'description': 'Slice an array along a certain axis and return an extract array\n\nArguments:\narray 3D numpy array\naxis Of type verif.axis.Axis\naxis_index Index along the axis to slice', 'signature': 'def _apply_axis(self, array, axis, axis_index):'}</s>{'name...
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': 'BasicFormatter@lldb/packages/Python/lldbsuite/test/lldbutil.py', 'description': 'The basic formatter inspects the value...
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': 'diag@burpui/cli.py', 'description': 'Check Burp-UI is correctly setup.', 'signature': 'def diag(client, host, tips):'}</s>UNITTEST = os.getenv("BUI_MODE") not in ["server", "manage", "celery", "legacy", "ws"]
0
{'name': 'Logger.enable@local/clogging.py', 'description': ":param level is None: Enable logger and all its parents.\n:param level is other: Setting the root instance's `disable` attribute.", 'signature': 'def enable(self, level=None):'}</s>_srcfile = os.path.normcase(getLevelName.__code__.co_filename)
0
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQCACF_SYSP_SERVICE = 3123
0
{'name': 'deprecated@mpld3/utils.py', 'description': 'Decorator to mark functions as deprecated.', 'signature': 'def deprecated(func, old_name, new_name):'}</s>WWW_JS_DIR = "https://mpld3.github.io/js/"
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': 'MarkTokens._expand_to_matching_pairs@asttokens/mark_tokens.py', 'description': "Scan tokens in [first_token, last_token] range that are between node's children, and for any\nunmatched brackets, adjust first/last tokens to include the closing pair.", 'signature': 'def _expand_to_matching_pairs(self, first_toke...
0
{'name': '_text_count_case_sensitive@fletcher/algorithms/string.py', 'description': 'For each row in the data computes the number of occurrences of the pattern ``pat``.\nThis implementation does basic byte-by-byte comparison and is independent\nof any locales or encodings.', 'signature': 'def _text_count_case_sensitive...
0