Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PlatformLab/Homa
/ functions
Functions
400 in github.com/PlatformLab/Homa
⨍
Functions
400
◇
Types & classes
130
↓ 125 callers
Method
size
* Return the number of elements in the List. */
src/Intrusive.h:316
↓ 68 callers
Method
push_back
* Append an element to the end of the List. * * No Iterators are invalidated. * * @node * Node element to be appended.
src/Intrusive.h:396
↓ 53 callers
Method
construct
src/Tub.h:146
↓ 46 callers
Method
empty
* Check if the List contains no elements. * * @return * True, if there are no elements in this List; false, otherwise. */
src/Intrusive.h:308
↓ 43 callers
Method
add
* Add the values in other to the corresponding counters in this object. */
src/Perf.h:118
↓ 42 callers
Method
begin
* Return an Iterator to the first element in the List. */
src/Intrusive.h:270
↓ 41 callers
Method
allocMessage
* Allocate an OutMessage that can be sent with this Sender. */
src/Sender.cc:70
↓ 39 callers
Method
contains
* Check if the given element is in the List. * * @param node * Node element being checked. * @return * True, if the
src/Intrusive.h:450
↓ 37 callers
Method
getBucket
* Return the MessageBucket that should hold a Message with the given * MessageId. */
src/Sender.h:388
↓ 34 callers
Method
end
* Return an Iterator following the last element in the List. */
src/Intrusive.h:278
↓ 33 callers
Method
setTimeout
* Schedule the Timeout to elapse one timeout interval from this point. If * the Timeout was previously scheduled, this call will reschedule it.
src/Timeout.h:104
↓ 32 callers
Method
cancelTimeout
* Cancel the Timeout if it was previously scheduled. * * @param timeout * The Timeout that should be canceled. */
src/Timeout.h:120
↓ 30 callers
Function
setLogHandler
See <Homa/Debug.h>
src/Debug.cc:273
↓ 29 callers
Function
format
* A safe version of sprintf. */ This comes from the RAMCloud project.
src/StringUtil.cc:80
↓ 28 callers
Method
get
* Return the stat value. * * This method is thread-safe. */
src/Perf.h:71
↓ 27 callers
Method
releasePackets
* See Driver::releasePackets() */
src/Drivers/Fake/FakeDriver.cc:228
↓ 20 callers
Method
destroy
* Destroy the object, leaving the Tub in the same state * as after the no-argument constructor. * If the object was not initialized, this wi
src/Tub.h:161
↓ 20 callers
Method
findMessage
* Return the Message with the given MessageId. * * @param msgId * MessageId of the Message to be found. * @pa
src/Sender.h:288
↓ 18 callers
Method
remove
* Removes the node element at pos. * * Iterators referring to the removed element are invalidated. * * @param pos * Iter
src/Intrusive.h:364
↓ 16 callers
Method
get
* Return a pointer to the object. * @pre * The object is initialized. */
src/Tub.h:198
↓ 16 callers
Function
setLogPolicy
See <Homa/Debug.h>
src/Debug.cc:291
↓ 15 callers
Method
clear
* Remove all linked Node from the List. * * Invalidates any Iterators referring to elements in this List. */
src/Intrusive.h:326
↓ 15 callers
Method
length
* @copydoc Homa::OutMessage::length() */
src/Sender.cc:604
↓ 13 callers
Method
insert
* Insert an element before pos. * * No Iterators are invalidated. * * @param pos * Iterator before which the node will b
src/Intrusive.h:346
↓ 12 callers
Method
getPacket
* Return the Packet with the given index. * * @param index * A Packet's index in the array of packets that form the message. * "packet i
src/Sender.cc:707
↓ 12 callers
Method
pop_front
* Remove the first element of the List; * * Iterators referring to the first element in the List are invalidated. * * Calling pop_
src/Intrusive.h:436
↓ 10 callers
Method
push_front
* Prepend an element to the beginning of the List. * * No Iterators are invalidated. * * @node * Node element to be prep
src/Intrusive.h:423
↓ 10 callers
Method
schedule
* Add a Message to the schedule. * * Helper function separated mostly for ease of testing. * * @param message * Message to be added. * @par
src/Receiver.cc:787
↓ 10 callers
Method
setPacket
* Store the given packet as the Packet of the given index if one does not * already exist. * * Responsibly for releasing the given Packet is passed
src/Receiver.cc:476
↓ 9 callers
Function
format
test/Output.h:35
↓ 9 callers
Method
hasElapsed
* Return true if this Timeout has elapsed; false otherwise. * * @param now * Optionally provided "current" timestamp cycle time. U
src/Timeout.h:60
↓ 9 callers
Method
sendPacket
* See Driver::sendPacket() */
src/Drivers/Fake/FakeDriver.cc:194
↓ 8 callers
Function
getLogLevel
* From the policy, calculate the most verbose log level that should be * displayed for this file. * This is slow, so isLogging() caches the results
src/Debug.cc:208
↓ 8 callers
Method
getStatus
* @copydoc Homa::OutMessage::getStatus() */
src/Sender.cc:595
↓ 8 callers
Method
handleDonePacket
* Process an incoming DONE packet. * * @param packet * Incoming DONE packet to be processed. */
src/Sender.cc:84
↓ 8 callers
Method
handleErrorPacket
* Process an incoming ERROR packet. * * @param packet * Incoming ERROR packet to be processed. */
src/Sender.cc:445
↓ 8 callers
Function
isPrintable
* Determine whether a null-terminated string is printable. * @param str * A null-terminated string. * @return * True if all the bytes of
src/StringUtil.cc:118
↓ 8 callers
Function
logLevelToString
* Convert a log level to a (static) string. * PANICs if the string is not a valid log level (case insensitive). */
src/Debug.cc:153
↓ 8 callers
Function
logPolicyFromString
See <Homa/Debug.h>
src/Debug.cc:308
↓ 8 callers
Method
qualifiedFunction
* Return the name of the function, qualified by its surrounding classes and * namespaces. * * Beware: the original version of this method imported
src/CodeLocation.cc:89
↓ 7 callers
Function
getLogPolicy
See <Homa/Debug.h>
src/Debug.cc:283
↓ 7 callers
Method
handleDataPacket
* Process an incoming DATA packet. * * @param packet * The incoming packet to be processed. * @param sourceIp * Source IP address of th
src/Receiver.cc:88
↓ 7 callers
Method
handleUnknownPacket
* Process an incoming UNKNOWN packet. * * @param packet * Incoming UNKNOWN packet to be processed. */
src/Sender.cc:306
↓ 7 callers
Function
logLevelFromString
* Convert a string to a log level. * PANICs if the string is not a valid log level (case insensitive). */
src/Debug.cc:179
↓ 7 callers
Method
poll
* Allow the Sender to make progress toward sending outgoing messages. * * This method must be called eagerly to ensure messages are sent. */
src/Sender.cc:513
↓ 7 callers
Method
receivePackets
* See Driver::receivePackets() */
src/Drivers/Fake/FakeDriver.cc:207
↓ 7 callers
Method
trySend
* Send out packets for any messages with unscheduled/granted bytes. * * Pulled out of poll() for ease of testing. */
src/Sender.cc:1017
↓ 7 callers
Method
unlink
* Remove this Node from the List to which it is linked (if any). */
src/Intrusive.h:73
↓ 6 callers
Method
allocPacket
* See Driver::allocPacket() */
src/Drivers/Fake/FakeDriver.cc:184
↓ 6 callers
Function
container_of
include/Homa/Util.h:26
↓ 6 callers
Function
endsWith
Return true if haystack ends with needle.
src/StringUtil.cc:208
↓ 6 callers
Method
getLocalAddress
* See Driver::getLocalAddress() */
src/Drivers/Fake/FakeDriver.cc:267
↓ 6 callers
Method
getMaxPayloadSize
* See Driver::getMaxPayloadSize() */
src/Drivers/Fake/FakeDriver.cc:248
↓ 6 callers
Function
getName
* Get the friendly name for the current thread. * This is useful in messages to users. * * You should arrange for setName() to be called when the t
src/ThreadId.cc:104
↓ 6 callers
Method
handleResendPacket
* Process an incoming RESEND packet. * * @param packet * Incoming RESEND packet to be processed. */
src/Sender.cc:155
↓ 6 callers
Function
join
src/StringUtil.cc:141
↓ 6 callers
Method
lock
* Acquire the SpinLock; blocks the thread (by continuously polling the * lock) until the lock has been acquired. */
src/SpinLock.h:62
↓ 6 callers
Function
normalize
src/DebugTest.cc:143
↓ 6 callers
Method
sendMessage
* Queue a message to be sent. * * @param message * Sender::Message to be sent. * @param destination * Destination address for this mess
src/Sender.cc:752
↓ 6 callers
Function
startsWith
Return true if haystack begins with needle.
src/StringUtil.cc:201
↓ 5 callers
Function
formatTime
test/Output.h:49
↓ 5 callers
Function
getId
* Return a unique identifier associated with this thread. The * return value has two properties: * - It will never be zero. * - It will be unique
src/ThreadId.cc:71
↓ 5 callers
Method
getUnscheduledPolicy
* Get the unscheduled byte limit and network priority for a message of a * particular size bound for a particular peer. * * Used by the Sender to d
src/Policy.cc:106
↓ 5 callers
Method
handleGrantPacket
* Process an incoming GRANT packet. * * @param packet * Incoming GRANT packet to be processed. */
src/Sender.cc:245
↓ 5 callers
Function
logPolicyToString
See <Homa/Debug.h>
src/Debug.cc:331
↓ 5 callers
Method
pop_back
* Remove the last element in the List. * * Iterators referring to the last element in the List are invalidated. * * Calling pop_ba
src/Intrusive.h:409
↓ 5 callers
Function
relativeFileName
* Strip out the common prefix of a filename to get a path from the project's * root directory. * @param fileName * An absolute or relative fil
src/Debug.cc:248
↓ 5 callers
Method
reserve
* @copydoc Homa::OutMessage::reserve() */
src/Sender.cc:652
↓ 5 callers
Method
signalBytesSent
* Called when more bytes have been added to the NIC queue so that this * QueueEstimator can update it's estimate. * * @param sentBytes
include/Homa/Drivers/Util/QueueEstimator.h:73
↓ 5 callers
Method
split
* Return the number of cycles since the last time split was called. */
src/Perf.h:294
↓ 5 callers
Method
toString
* Return the string representation of this address. */
src/Drivers/DPDK/MacAddress.cc:60
↓ 4 callers
Method
anyElapsed
* Check if any managed Timeouts have elapsed. * * This method is thread-safe but may race with the other * non-thread-safe methods of t
src/Timeout.h:144
↓ 4 callers
Method
append
* @copydoc Homa::OutMessage::append() */
src/Sender.cc:548
↓ 4 callers
Method
dropMessage
* Inform the Sender that a Message is no longer needed. * * @param message * The Sender::Message that is no longer needed. */
src/Sender.cc:881
↓ 4 callers
Function
flags
* Format an ORed group of flags as a string. * @param value * The ORed options. * @param flags * Maps option identifiers to their string
src/StringUtil.cc:59
↓ 4 callers
Method
getQueuedBytes
* See Driver::getQueuedBytes() */
src/Drivers/Fake/FakeDriver.cc:276
↓ 4 callers
Function
isPowerOfTwo
include/Homa/Util.h:67
↓ 4 callers
Method
receiveMessage
* Return a handle to a new received Message. * * The Transport should regularly call this method to insure incoming messages * are processed. * *
src/Receiver.cc:264
↓ 4 callers
Function
setLogFile
See <Homa/Debug.h>
src/Debug.cc:263
↓ 4 callers
Function
split
* Split a string into multiple components by a character. * @param subject * The string to split. * @param delimiter * The character to
src/StringUtil.cc:189
↓ 4 callers
Method
str
* Return a string representation of the current location in the code. */
src/CodeLocation.cc:47
↓ 4 callers
Function
trim
* Return a copy of the given string except with no leading or trailing * whitespace. */
src/StringUtil.cc:221
↓ 4 callers
Method
trySendGrants
* Send GRANTs to incoming Message according to the Receiver's policy. */
src/Receiver.cc:698
↓ 4 callers
Method
unschedule
* Remove a Message from the schedule. * * Helper function separated mostly for ease of testing. * * @param message * Message to be removed.
src/Receiver.cc:827
↓ 3 callers
Function
arrayLength
include/Homa/Util.h:38
↓ 3 callers
Method
getHighestPacketPriority
* See Driver::getHighestPacketPriority() */
src/Drivers/Fake/FakeDriver.cc:239
↓ 3 callers
Function
getItems
src/STLUtil.h:70
↓ 3 callers
Method
handleBusyPacket
* Process an incoming BUSY packet. * * @param packet * The incoming BUSY packet to be processed. */
src/Receiver.cc:178
↓ 3 callers
Method
handlePingPacket
* Process an incoming PING packet. * * @param packet * The incoming PING packet to be processed. * @param sourceIp * Source IP address
src/Receiver.cc:207
↓ 3 callers
Function
isLogging
* Return whether the current logging configuration includes messages of * the given level for the given filename. * This is normally called by LOG()
src/Debug.cc:383
↓ 3 callers
Method
relativeFile
src/CodeLocation.cc:68
↓ 3 callers
Function
setName
* Set the friendly name for the current thread. * This can be later retrieved with getName(). * Calling setName with an empty string will reset the
src/ThreadId.cc:85
↓ 3 callers
Function
toString
src/StringUtil.h:46
↓ 3 callers
Method
unlock
* Release the SpinLock. The caller must previously have acquired the * SpinLock with a call to lock() or try_lock(). */
src/SpinLock.h:89
↓ 3 callers
Method
updateSchedule
* Update Message's position in the schedule. * * Called when new data has arrived for the Message. * * Helper function separated mostly for ease o
src/Receiver.cc:871
↓ 2 callers
Method
acknowledge
* @copydoc Homa::InMessage::acknowledge() */
src/Receiver.cc:340
↓ 2 callers
Method
cancelMessage
* Inform the Sender that a Message no longer needs to be sent. * * @param message * The Sender::Message that is no longer needs to be sent. *
src/Sender.cc:851
↓ 2 callers
Method
checkMessageTimeouts
* Process any outbound messages in a given bucket that have timed out due to * lack of activity from the Receiver. * * Pulled out of checkTimeouts(
src/Sender.cc:914
↓ 2 callers
Method
checkTimeouts
* Make incremental progress processing expired Sender timeouts. * * Pulled out of poll() for ease of testing. */
src/Sender.cc:525
↓ 2 callers
Method
dropped
* @copydoc Homa::InMessage::dropped() */
src/Receiver.cc:352
next →
1–100 of 400, ranked by callers