MCPcopy Create free account

hub / github.com/twisted/twisted / functions

Functions25,749 in github.com/twisted/twisted

↓ 33 callersMethodsibling
(self, path: OtherAnyStr)
src/twisted/python/zippath.py:143
↓ 32 callersMethoddataReceived
(self, bytes)
src/twisted/test/test_amp.py:72
↓ 32 callersMethoderrback
(reason)
src/twisted/web/test/test_http2.py:1380
↓ 32 callersMethodloseConnection
(self, _connDone=default)
src/twisted/internet/test/test_newtls.py:52
↓ 32 callersMethodtrap
(failure)
src/twisted/conch/test/test_recvline.py:635
↓ 32 callersMethodupdate
'Encrypt' new data by doing nothing. @type data: L{bytes} @param data: The data to 'encrypt'. @rtype: L{bytes}
src/twisted/conch/ssh/transport.py:2270
↓ 31 callersMethodaddProcess
Add a new monitored process and start it immediately if the L{ProcessMonitor} service is running. Note that args are passed
src/twisted/runner/procmon.py:240
↓ 31 callersMethodchmod
Changes the permissions on self, if possible. Propagates errors from L{os.chmod} up. @param mode: integer representing the
src/twisted/python/filepath.py:1118
↓ 31 callersMethoddataReceived
(self, data)
src/twisted/conch/test/test_telnet.py:44
↓ 31 callersMethoddecode
Create a credentials object from the given response. @type response: C{str}
src/twisted/protocols/sip.py:1036
↓ 31 callersMethoddispatch
Dispatch an event. When C{event} is L{None}, an XPath type event is triggered, and C{obj} is assumed to be an instance of
src/twisted/words/xish/utility.py:274
↓ 31 callersMethodgetAllRawHeaders
Return an iterator of key, value pairs of all headers contained in this object, as L{bytes}. The keys are capitalized in canonical
src/twisted/web/http_headers.py:191
↓ 31 callersMethodmakeReconnector
Create a L{ClientService} along with a L{ConnectInformation} indicating the connections in progress on its endpoint. @param
src/twisted/application/test/test_internet.py:515
↓ 31 callersFunctionnamedAny
Retrieve a Python object by its fully qualified name from the global Python module namespace. The first part of the name, that describes a m
src/twisted/python/reflect.py:249
↓ 31 callersMethodremove
(observer)
src/twisted/test/test_twistd.py:1567
↓ 30 callersMethodaddObserver
Register an observer for an event. Each observer will be registered with a certain priority. Higher priority observers get c
src/twisted/words/xish/utility.py:194
↓ 30 callersMethodbind
Bind, possibly raising an error in the process. @see: L{SocketState.raiseOnBind}
src/twisted/internet/test/test_fakes.py:93
↓ 30 callersMethodget
Look up a domain name in this dictionary. @type key: L{bytes} @param key: A domain name. @type default: L{IDomain}
src/twisted/mail/mail.py:185
↓ 30 callersMethodloadPEM
Load a certificate from a PEM-format data string. @rtype: C{Class}
src/twisted/internet/_sslverify.py:361
↓ 30 callersMethodloseConnection
No-op implementation of disconnection.
src/twisted/mail/test/test_mail.py:2074
↓ 30 callersMethodrequest
Issue a request to the server indicated by the given C{uri}. An existing connection from the connection pool may be used or a new
src/twisted/web/client.py:1152
↓ 30 callersMethodsendCommand
(self, cmd)
src/twisted/mail/imap4.py:2718
↓ 30 callersMethodsocket
Create and return a new socket object, also tracking it so it can be closed in the test tear down.
src/twisted/test/test_tcp_internals.py:82
↓ 29 callersMethodclear
Discard all data written to this transport so far. This is not a transport method. It is intended for tests. Do not use it
src/twisted/internet/testing.py:239
↓ 29 callersMethodcreateWithCleanup
Create an L{EventLoggingObserver} instance that observes the provided publisher and will be cleaned up with addCleanup(). @p
src/twisted/internet/testing.py:1068
↓ 29 callersMethodgetTraceback
(self, elideFrameworkCode: int = 0, detail: str = "default")
src/twisted/python/failure.py:575
↓ 29 callersMethodmsg
Send a message to a user or channel. The message will be split into multiple commands to the server if: - The message conta
src/twisted/words/protocols/irc.py:1782
↓ 29 callersMethodparseOptions
(self, args)
src/twisted/trial/test/test_runner.py:319
↓ 29 callersMethodsetServiceParent
(self, parent)
src/twisted/application/service.py:178
↓ 29 callersMethodstop
()
src/twisted/test/test_task.py:1233
↓ 29 callersMethodstop
Stop scheduling steps. Errback the completion Deferreds of all iterators which have been added and forget about them.
src/twisted/internet/task.py:700
↓ 29 callersMethodtoXml
Serialize this Element and all children to a string.
src/twisted/words/xish/domish.py:577
↓ 28 callersMethodclose
(self)
src/twisted/internet/tcp.py:1011
↓ 28 callersMethodclose
Update L{SocketState.closed} on the associated L{SocketState}; no other behavior is affected.
src/twisted/internet/test/test_fakes.py:69
↓ 28 callersMethodconnect
(self, factory)
src/twisted/conch/test/test_endpoints.py:253
↓ 28 callersMethoddebug
Emit a log event at log level L{LogLevel.debug}. @param format: a message format using new-style (PEP 3101) formatting.
src/twisted/logger/_logger.py:283
↓ 28 callersMethoddecode
(self, s, errors="strict")
src/twisted/mail/imap4.py:6200
↓ 28 callersMethodjoin
Send a join message. @type who: C{str} or C{unicode} @param who: The name of the user joining. Should be of the form
src/twisted/words/protocols/irc.py:765
↓ 28 callersMethodqueueStringCommand
Queues a string to be issued as an FTP command @param command: string of an FTP command to queue @param public: a flag inten
src/twisted/protocols/ftp.py:2741
↓ 28 callersMethodsetResponseCode
Set the HTTP response code. @type code: L{int} @type message: L{bytes}
src/twisted/web/http.py:1437
↓ 27 callersMethoddataReceived
Override so that we know if any response has been received.
src/twisted/web/_newclient.py:374
↓ 27 callersMethodenvironKeyEqual
(self, key, value)
src/twisted/web/test/test_wsgi.py:376
↓ 27 callersMethodfinish
Indicate that all response data has been written to this L{Request}.
src/twisted/web/http.py:1219
↓ 27 callersMethodgetpid
Return a fixed PID value. @return: A fixed value.
src/twisted/test/test_process.py:1612
↓ 27 callersFunctionproxyForInterface
Create a class which proxies all method calls which adhere to an interface to another provider of that interface. This function is inten
src/twisted/python/components.py:305
↓ 27 callersMethodpublic
Returns a version of this key containing only the public key data. If this is a public key, this may or may not be the same object
src/twisted/conch/ssh/keys.py:985
↓ 27 callersMethodsendBadResponse
(self, tag=None, message=b"")
src/twisted/mail/imap4.py:1070
↓ 27 callersMethodsendPositiveResponse
(self, tag=None, message=b"")
src/twisted/mail/imap4.py:1073
↓ 27 callersMethodset
(self, when: int)
src/twisted/test/test_htb.py:13
↓ 27 callersMethodsign
Simulates signing data with a previously enrolled key. Args: alg: The signing algorithm. data: The data to b
src/twisted/conch/test/sk_dummy.py:125
↓ 27 callersMethodtoString
(*args: object, **kwargs: object)
src/twisted/conch/test/test_ckeygen.py:601
↓ 27 callersMethodwrite
(self, bytes)
src/twisted/web/test/test_agent.py:144
↓ 26 callersFunction_coerceToFilesystemEncoding
Return a C{newpath} that is suitable for joining to C{path}. @param path: The path that it should be suitable for joining to. @param new
src/twisted/python/filepath.py:734
↓ 26 callersMethodaddTrigger
Add a trigger to the reactor and remember it in C{self.triggers}.
src/twisted/test/test_internet.py:360
↓ 26 callersMethodbuildProtocol
(self, addr: Any)
src/twisted/protocols/haproxy/test/test_wrapper.py:23
↓ 26 callersMethodcheck
(ignore)
src/twisted/test/test_ssl.py:412
↓ 26 callersMethodcollect
Fake gc.collect
src/twisted/trial/test/test_tests.py:770
↓ 26 callersMethodid
(self)
src/twisted/trial/test/pyunitcases.py:49
↓ 26 callersMethodisPublic
Check if this instance is a public key. @return: C{True} if this is a public key.
src/twisted/conch/ssh/keys.py:969
↓ 26 callersMethoditems
List of (key,value) pairs.
src/twisted/python/util.py:126
↓ 26 callersMethodstart
Send the data to consume.
src/twisted/test/test_ftp.py:4024
↓ 26 callersMethodtype
Return the type of the object we wrap. Currently this can only be 'RSA', 'DSA', 'EC', or 'Ed25519'. @rtype: L{str}
src/twisted/conch/ssh/keys.py:1039
↓ 26 callersMethodwrite
(self, data)
src/twisted/protocols/ftp.py:540
↓ 25 callersMethodaddContent
Add some text data to this Element.
src/twisted/words/xish/domish.py:519
↓ 25 callersMethodbytes
Bytes which are expected when encoding an instance constructed using C{kwargs} and which are expected to result in an identical insta
src/twisted/names/test/test_dns.py:3284
↓ 25 callersMethodcountTestCases
Return the number of tests in this test case. Usually 1.
src/twisted/trial/itrial.py:32
↓ 25 callersMethodfileno
Get the underlying file descriptor from this inotify observer. Required by L{abstract.FileDescriptor} subclasses.
src/twisted/internet/inotify.py:235
↓ 25 callersMethodfromBytes
Parse the given URI into a L{URI}. @type uri: C{bytes} @param uri: URI to parse. @type defaultPort: C{int} or L{Non
src/twisted/web/client.py:130
↓ 25 callersFunctiongetResolver
Get a Resolver instance. Create twisted.names.client.theResolver if it is L{None}, and then return that value. @rtype: C{IResolver}
src/twisted/names/client.py:602
↓ 25 callersMethodnamesTest
Assert that the DNS response C{querying} will eventually fire with contains exactly a certain collection of records. @param
src/twisted/names/test/test_names.py:234
↓ 25 callersFunctionoccurrences
(mock)
src/twisted/conch/test/test_insults.py:36
↓ 25 callersMethodparent
(self)
src/twisted/python/zippath.py:112
↓ 25 callersMethodprotocol
(self, f, p)
src/twisted/test/test_policies.py:336
↓ 25 callersMethodpump
Move data back and forth, while also triggering any currently pending scheduled calls (i.e. C{callLater(0, f)}). Returns whe
src/twisted/test/iosim.py:317
↓ 25 callersMethodunhandledControlSequence
(self, buf)
src/twisted/conch/insults/insults.py:544
↓ 25 callersMethodwrite
Write some data to the channel. If there is not enough remote window available, buffer until it is. Otherwise, split the data into
src/twisted/conch/ssh/channel.py:211
↓ 25 callersMethodwrite
Send the given datagram.
src/twisted/names/test/test_util.py:60
↓ 25 callersMethodwrite
(self, stuff)
src/twisted/words/test/test_service.py:149
↓ 24 callersMethod_write
Safely write to the reporter's stream. @param format: A format string to write. @param args: The arguments for the format st
src/twisted/trial/reporter.py:492
↓ 24 callersMethodactive
Determine whether this call is still pending @return: True if this call has not yet been made or cancelled, False otherwise.
src/twisted/internet/base.py:197
↓ 24 callersMethodassertCommandFailed
(self, command, expectedResponse=None, chainDeferred=None)
src/twisted/test/test_ftp.py:218
↓ 24 callersMethodfail
(*args, **kwargs)
src/twisted/conch/test/test_checkers.py:871
↓ 24 callersMethodgetvalue
Get current data of file. Allow reading data event when file is closed.
src/twisted/conch/test/test_cftp.py:381
↓ 24 callersMethodloseConnection
(self)
src/twisted/conch/ssh/session.py:259
↓ 24 callersMethodrequestReceived
Called by channel when all data has been received. This method is not intended for users. @type command: C{bytes} @
src/twisted/web/http.py:1037
↓ 24 callersMethodsetdefault
@type key: bytes @param key: The key to lookup @param value: The value to associate with key if key is not already a
src/twisted/persisted/dirdbm.py:215
↓ 23 callersMethod_lookup
(self, name, cls, type, timeout)
src/twisted/names/common.py:83
↓ 23 callersFunction_render
(resource: IResource, request: Request | DummyRequest)
src/twisted/web/test/_util.py:20
↓ 23 callersMethodaddSystemEventTrigger
See twisted.internet.interfaces.IReactorCore.addSystemEventTrigger.
src/twisted/internet/base.py:852
↓ 23 callersMethodassertCall
( self, occurrence, methodName, expectedPositionalArgs=(), expectedKeywordArgs={} )
src/twisted/conch/test/test_insults.py:192
↓ 23 callersMethodclose
Fake C{os.close}, saving the closed fd in C{self.closed}.
src/twisted/test/test_process.py:1378
↓ 23 callersMethoderrback
(f: Failure)
src/twisted/test/test_defer.py:3361
↓ 23 callersMethodexpect
(self, expression, timeout=None, scheduler=reactor)
src/twisted/conch/insults/helper.py:546
↓ 23 callersMethodflush
(self, kind)
src/twisted/conch/test/test_transport.py:244
↓ 23 callersMethodget
Retrieve value associated with 'key' or return default value if 'key' doesn't exist.
src/twisted/python/util.py:132
↓ 23 callersMethodstat
Retrieve information about the given path. This is like list, except it will never return results about child paths.
src/twisted/protocols/ftp.py:1838
↓ 22 callersMethod_equalityTest
(self, firstValueOne, secondValueOne, valueTwo)
src/twisted/names/test/test_dns.py:1874
↓ 22 callersMethod_fixerTest
A generic adapter fixer test. Creates a sentence from the C{sentenceData} and sends that to the adapter. If C{exceptionClass
src/twisted/positioning/test/test_nmea.py:577
↓ 22 callersMethodassertRequestRejected
Execute a HTTP request and assert that it is rejected with a 400 Bad Response and disconnection. @param requestLines: Plain
src/twisted/web/test/test_http.py:1804
↓ 22 callersMethodassertWarns
Fail if the given function doesn't generate the specified warning when called. It calls the function, checks the warning, and forward
src/twisted/trial/_synctest.py:593
← previousnext →201–300 of 25,749, ranked by callers