MCPcopy Create free account

hub / github.com/twisted/twisted / functions

Functions25,749 in github.com/twisted/twisted

↓ 61 callersMethodblob
Return the public key blob for this key. The blob is the over-the-wire format for public keys. SECSH-TRANS RFC 4253 Section
src/twisted/conch/ssh/keys.py:1227
↓ 61 callersMethodsetTimeout
(self, seconds)
src/twisted/protocols/ftp.py:673
↓ 61 callersMethodvalues
@return: a L{list} of file-contents (values).
src/twisted/persisted/dirdbm.py:182
↓ 60 callersMethodcopy
Return another AmpBox just like me.
src/twisted/protocols/amp.py:649
↓ 60 callersMethodinfo
Emit a log event at log level L{LogLevel.info}. @param format: a message format using new-style (PEP 3101) formatting. T
src/twisted/logger/_logger.py:298
↓ 59 callersMethodchild
Create and return a new L{FilePath} representing a path contained by C{self}. @param path: The base name of the new L{FilePa
src/twisted/python/filepath.py:917
↓ 59 callersMethoddigest
Return a digest hash of this certificate using the specified hash algorithm. @param method: One of C{'md5'} or C{'sha'}.
src/twisted/internet/_sslverify.py:416
↓ 59 callersMethodloseConnection
(self)
src/twisted/test/iosim.py:146
↓ 59 callersFunctionsucceed
Return a L{Deferred} that has already had C{.callback(result)} called. This is useful when you're writing synchronous code to an asynchr
src/twisted/internet/defer.py:93
↓ 58 callersMethodfail
Absolutely fail the test. Do not pass go, do not collect $200. @param msg: the message that will be displayed as the reason for the
src/twisted/trial/_synctest.py:360
↓ 58 callersMethodfail
(self, failure)
src/twisted/web/distrib.py:104
↓ 58 callersMethodsort
Sort the given things using L{sorter}. @param xs: A list of test cases, class or modules.
src/twisted/trial/runner.py:394
↓ 56 callersMethodgetContent
Retrieve the contents of the file at this path. @return: the contents of the file @rtype: L{bytes}
src/twisted/python/filepath.py:393
↓ 55 callersMethodmakeConnection
Emit a helpful log message when the connection is made.
src/twisted/protocols/amp.py:2587
↓ 54 callersMethodappend
Append given data to the value of an existing key. @param key: The key to modify. @type key: L{bytes} @param val: T
src/twisted/protocols/memcache.py:533
↓ 54 callersMethodforProtocol
Create a factory for the given protocol. It sets the C{protocol} attribute and returns the constructed factory instance.
src/twisted/internet/protocol.py:75
↓ 54 callersMethodsendLine
Send a line to data channel. @param line: The line to be sent. @type line: L{bytes}
src/twisted/protocols/ftp.py:466
↓ 53 callersMethodcallLater
Override callLater to use the deterministic clock.
src/twisted/test/test_policies.py:715
↓ 53 callersMethodcallWhenRunning
See twisted.internet.interfaces.IReactorCore.callWhenRunning.
src/twisted/internet/base.py:882
↓ 53 callersMethodwasSuccessful
Do nothing. These tests don't care about wasSuccessful.
src/twisted/trial/test/test_runner.py:116
↓ 52 callersMethoddataReceived
This hack is to support mIRC, which sends LF only, even though the RFC says CRLF. (Also, the flexibility of LineReceiver to turn "li
src/twisted/words/protocols/irc.py:412
↓ 52 callersMethoddecode
Create a credentials object from the given response. @type response: L{str} @param response: scheme specific response string
src/twisted/web/iweb.py:434
↓ 52 callersMethodfail
Disconnect, and also give an error to any queued deferreds.
src/twisted/protocols/ftp.py:2918
↓ 52 callersMethodgetHost
(self)
src/twisted/internet/test/test_unix.py:474
↓ 52 callersMethodmakeConnection
(self, transport)
src/twisted/conch/test/test_telnet.py:36
↓ 51 callersMethodstop
()
src/twisted/internet/test/test_time.py:52
↓ 50 callersMethodloseConnection
Pass the loseConnection through to the underlying channel.
src/twisted/web/http.py:1739
↓ 50 callersMethodmakeConnection
(innerSelf, transport)
src/twisted/mail/test/test_smtp.py:995
↓ 49 callersMethodappend
(self, thing)
src/twisted/trial/test/skipping.py:250
↓ 49 callersFunctiongetNS
get net string
src/twisted/conch/ssh/common.py:31
↓ 49 callersMethodlineReceived
(self, line)
src/twisted/mail/test/test_imap.py:1861
↓ 49 callersMethodvalue
Render the exception value as a child of C{tag}.
src/twisted/web/_template_util.py:750
↓ 48 callersMethodfailure
Log a failure and emit a traceback. For example:: try: frob(knob) except Exception:
src/twisted/logger/_logger.py:228
↓ 48 callersMethodfromCoroutine
Schedule the execution of a coroutine that awaits on L{Deferred}s, wrapping it in a L{Deferred} that will fire on success/failure of
src/twisted/internet/defer.py:1273
↓ 48 callersMethodget
Attempt to retrieve and remove an object from the queue. @return: a L{Deferred} which fires with the next object available in
src/twisted/internet/defer.py:2392
↓ 48 callersMethodlineReceived
(self, line)
src/twisted/test/test_ftp.py:82
↓ 48 callersMethodpop
Remove a stream from the memory. @param path: Path at which the stream is requested. @type path: L{str} @param path
src/twisted/conch/test/test_cftp.py:296
↓ 47 callersMethodcallRemote
(self, method, **kwargs)
src/twisted/trial/_dist/test/test_workertrial.py:43
↓ 46 callersMethodexit
Cause the worker process to exit.
src/twisted/trial/_dist/worker.py:396
↓ 46 callersMethodisWindows
Are we running in Windows? @return: C{True} if the current platform has been detected as Windows.
src/twisted/python/runtime.py:93
↓ 45 callersMethodbasename
(self)
src/twisted/python/zippath.py:190
↓ 45 callersMethodcallLater
Wrapper around reactor.callLater, mainly for test purpose.
src/twisted/names/dns.py:3275
↓ 45 callersMethoddataReceived
(self, data)
src/twisted/conch/test/test_conch.py:107
↓ 45 callersMethoddataReceived
(self, data)
src/twisted/protocols/test/test_tls.py:138
↓ 45 callersMethoddecode
Decode the given response and attempt to generate a L{DigestedCredentials} from it. @type response: L{bytes} @param
src/twisted/cred/credentials.py:370
↓ 45 callersFunctionmsg
Publish a message to the global log publisher. @see: L{LogPublisher.msg} @param message: the log message @type mess
src/twisted/python/log.py:336
↓ 45 callersMethodwrite
(self, data)
src/twisted/conch/insults/insults.py:852
↓ 44 callersMethodappend
()
src/twisted/mail/test/test_imap.py:2720
↓ 44 callersMethodseconds
Pretend to be time.time(). This is used internally when an operation such as L{IDelayedCall.reset} needs to determine a time value
src/twisted/internet/task.py:771
↓ 44 callersMethodunjelly
(self, obj)
src/twisted/spread/jelly.py:647
↓ 44 callersMethodwrite
(counter)
src/twisted/conch/test/test_conch.py:447
↓ 43 callersMethodaddObserver
Add a new observer. @type other: Provider of L{ILogObserver} @param other: A callable object that will be called with each n
src/twisted/python/log.py:221
↓ 43 callersMethodassertIn
( # type: ignore[override] self, container: str, containee: str, *args: object, **kwargs: object
src/twisted/trial/test/test_output.py:55
↓ 43 callersMethodfail
(eventDict: log.EventDict)
src/twisted/test/test_log.py:283
↓ 43 callersMethodloseConnection
(self)
src/twisted/protocols/loopback.py:309
↓ 43 callersMethodregisterChecker
( self, checker: ICredentialsChecker, *credentialInterfaces: type[Interface] )
src/twisted/cred/portal.py:98
↓ 42 callersMethodcallback
(ign)
src/twisted/web/test/test_http2.py:1377
↓ 42 callersMethodread
Do nothing.
src/twisted/python/log.py:670
↓ 41 callersMethodcancel
(d)
src/twisted/web/xmlrpc.py:587
↓ 41 callersMethodspawnProcess
See L{IReactorProcess.spawnProcess}. @param workerProto: See L{IReactorProcess.spawnProcess}. @param args: See L{IReactorPro
src/twisted/trial/_dist/test/test_disttrial.py:100
↓ 41 callersMethodstartLogging
Start the L{twisted.logger} logging system.
src/twisted/application/runner/_runner.py:125
↓ 40 callersMethodassertNormalEqualityImplementation
Assert that C{firstValueOne} is equal to C{secondValueOne} but not equal to C{valueOne} and that it defines equality cooperatively wi
src/twisted/test/testutils.py:130
↓ 40 callersFunctiongatherResults
Returns, via a L{Deferred}, a list with the results of the given L{Deferred}s - in effect, a "join" of multiple deferred operations. The
src/twisted/internet/defer.py:1597
↓ 40 callersMethodmakeConnection
Save the platform-specific socket handle for future introspection.
src/twisted/test/test_tcp.py:1124
↓ 40 callersMethodrequest
Capture the given request for later inspection. @return: A L{Deferred} which this code will never fire.
src/twisted/web/test/test_agent.py:129
↓ 40 callersMethodserialize
(self, elem, closeElement=1, defaultUri="")
src/twisted/words/xish/domish.py:64
↓ 40 callersMethodstopListening
(self)
src/twisted/internet/udp.py:353
↓ 39 callersMethod_testLogin
Test the login part.
src/twisted/test/test_ftp.py:2100
↓ 39 callersMethodget
(self, key)
src/twisted/test/test_postfix.py:112
↓ 39 callersMethodjelly
(self, obj)
src/twisted/spread/jelly.py:445
↓ 39 callersMethodsendLine
(self, line)
src/twisted/mail/smtp.py:956
↓ 38 callersMethodaddElement
(self, name, defaultUri=None, content=None)
src/twisted/words/xish/domish.py:530
↓ 38 callersFunctionfail
Return a L{Deferred} that has already had C{.errback(result)} called. See L{succeed}'s docstring for rationale. @param result: The same
src/twisted/internet/defer.py:117
↓ 38 callersMethodfileno
Return a fake file descriptor. If actually used, this will have no connection to this L{FakeSocket} and will probably cause surprisi
src/twisted/internet/test/test_fakes.py:85
↓ 38 callersMethodtoString
Serialize this header for use in a request or response.
src/twisted/protocols/sip.py:234
↓ 37 callersMethodcallRemote
Asynchronously invoke a remote method. @type _name: L{str} @param _name: the name of the remote method to invoke @p
src/twisted/spread/pb.py:346
↓ 37 callersMethodcancel
Cancel this L{Deferred}. If the L{Deferred} has not yet had its C{errback} or C{callback} method invoked, call the canceller
src/twisted/internet/defer.py:938
↓ 37 callersMethodgetErrorMessage
Get a string of the exception which caused this Failure.
src/twisted/python/failure.py:562
↓ 36 callersMethod_emptyBuffers
(self)
src/twisted/conch/test/test_filetransfer.py:147
↓ 36 callersMethodcallback
()
src/twisted/internet/test/test_time.py:106
↓ 36 callersMethodclientConnectionPreface
(self)
src/twisted/web/test/test_http2.py:73
↓ 36 callersMethoddataReceived
Called whenever a chunk of data is received from the transport. @param data: The data received from the transport. @type dat
src/twisted/web/_http2.py:168
↓ 36 callersMethodgetGETRequestHeaders
Return a copy of the standard GET request headers.
src/twisted/web/test/test_http2.py:414
↓ 36 callersMethodsendPacket
Sends a packet. If it's been set up, compress the data, encrypt it, and authenticate it before sending. If key exchange is in progr
src/twisted/conch/ssh/transport.py:627
↓ 35 callersMethodconnect
Return a marker object for use in our assertion.
src/twisted/internet/test/test_endpoints.py:4618
↓ 35 callersFunctionconnectedServerAndClient
Returns a 3-tuple: (client, server, pump)
src/twisted/test/test_amp.py:395
↓ 35 callersMethoderror
Emit a log event at log level L{LogLevel.error}. @param format: a message format using new-style (PEP 3101) formatting.
src/twisted/logger/_logger.py:328
↓ 35 callersMethodgotLength
Called when HTTP channel got length of content in this request. This method is not intended for users. @param length: The l
src/twisted/web/http.py:996
↓ 35 callersFunctionmaybeDeferred
( f: Callable[_P, Deferred[_T]], *args: _P.args, **kwargs: _P.kwargs )
src/twisted/internet/defer.py:152
↓ 35 callersFunctionrequireModule
Try to import a module given its name, returning C{default} value if C{ImportError} is raised during import. @param name: Module name as
src/twisted/python/reflect.py:176
↓ 35 callersFunctionsetUp
(greet=True)
src/twisted/mail/test/test_pop3client.py:47
↓ 35 callersMethodtoxml
( self, indent="", addindent="", newl="", strip=0, nsprefixes={}, namespace="" )
src/twisted/web/microdom.py:194
↓ 34 callersMethod_anonymousLogin
(self)
src/twisted/test/test_ftp.py:234
↓ 34 callersMethodadd
(self, tagName, **kw)
src/twisted/web/microdom.py:1209
↓ 34 callersMethodisdir
(self)
src/twisted/python/zippath.py:155
↓ 34 callersMethodlookupAddress
Read any IPv4 addresses from C{self.file} and return them as L{Record_A} instances.
src/twisted/names/hosts.py:131
↓ 34 callersMethodmakeConnection
(self, xs)
src/twisted/words/test/test_jabberxmlstream.py:931
↓ 34 callersMethodmktemp
Create a new path name which can be used for a new file or directory. The result is a relative path that is guaranteed to be unique
src/twisted/trial/_synctest.py:1312
↓ 33 callersMethodassertFlattensImmediately
Assert that a root element, when flattened, is equal to a string, and performs no asynchronus Deferred anything. This versio
src/twisted/web/test/_util.py:53
↓ 33 callersMethodassertIsNot
Fail the test if C{first} is C{second}. This is an obect-identity-equality test, not an object equality (i.e. C{__eq__}) tes
src/twisted/trial/_synctest.py:457
← previousnext →101–200 of 25,749, ranked by callers