Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/0x-2a/Intellij-Colors-Sublime-Monokai
/ functions
Functions
137 in github.com/0x-2a/Intellij-Colors-Sublime-Monokai
⨍
Functions
137
◇
Types & classes
25
↓ 14 callers
Method
hasLength
Check that the given CharSequence is neither {@code null} nor of length 0. Note: Will return {@code true} for a CharSequence that purely consists of w
code-samples/java.java:99
↓ 10 callers
Method
isEmpty
(Object object)
code-samples/java.java:748
↓ 9 callers
Method
add
(self, value)
code-samples/python.py:70
↓ 5 callers
Method
_get_sibling
Returns the sibling of the node, as well as the side it is on e.g 20 (A) / \ 15(B) 25(C)
code-samples/python.py:507
↓ 4 callers
Method
_left_rotation
(self, node, parent, grandfather, to_recolor=False)
code-samples/python.py:442
↓ 4 callers
Method
_right_rotation
(self, node, parent, grandfather, to_recolor=False)
code-samples/python.py:426
↓ 4 callers
Method
deleteAny
Delete any character in a given String. @param inString the original String @param charsToDelete a set of characters to delete.
code-samples/java.java:443
↓ 4 callers
Function
eventsApi
(obj, action, name, rest)
code-samples/javascript.js:177
↓ 4 callers
Method
prefix
code-samples/kotlin.kt:8
↓ 4 callers
Method
split
Split a String at the first occurrence of the delimiter. Does not include the delimiter in the result. @param toSplit the string to split @param de
code-samples/java.java:921
↓ 4 callers
Method
toStringArray
Copy the given Collection into a String array. The Collection must contain String elements only. @param collection the Collection to copy @return the
code-samples/java.java:851
↓ 3 callers
Method
__case_1
Case 1 is when there's a double black node on the root Because we're at the root, we can simply remove it and reduce the blac
code-samples/python.py:222
↓ 3 callers
Method
has_children
Returns a boolean indicating if the node has children
code-samples/python.py:41
↓ 2 callers
Function
ProcessBlockAvailability
Check whether the last unknown block a peer advertised is not yet known. */
code-samples/cpp.cpp:381
↓ 2 callers
Method
__update_parent
Our node 'switches' places with the old child Assigns a new parent to the node. If the new_parent is None, this means that ou
code-samples/python.py:410
↓ 2 callers
Method
_remove_leaf
Simply removes a leaf node by making it's parent point to a NIL LEAF
code-samples/python.py:206
↓ 2 callers
Method
_try_rebalance
Given a red child node, determine if there is a need to rebalance (if the parent is red) If there is, rebalance it
code-samples/python.py:374
↓ 2 callers
Method
changeFirstCharacterCase
(String str, boolean capitalize)
code-samples/java.java:530
↓ 2 callers
Method
cleanPath
Normalize the path by suppressing sequences like "path/.." and inner simple dots. <p>The result is convenient for path comparison. For other uses, not
code-samples/java.java:635
↓ 2 callers
Method
collectionToDelimitedString
Convenience method to return a Collection as a delimited (e.g. CSV) String. E.g. useful for {@code toString()} implementations. @param coll the Col
code-samples/java.java:1145
↓ 2 callers
Method
delimitedListToStringArray
Take a String which is a delimited list and convert it to a String array. <p>A single delimiter can consists of more than one character: It will still
code-samples/java.java:1057
↓ 2 callers
Method
find_node
(self, value)
code-samples/python.py:484
↓ 2 callers
Method
get_children_count
Returns the number of NOT NIL children the node has
code-samples/python.py:45
↓ 2 callers
Method
handle
(req: HttpRequest<any>)
code-samples/typescript.ts:56
↓ 2 callers
Method
isEmpty
Check whether the given String is empty. <p>This method accepts any Object as an argument, comparing it to {@code null} and the empty String. As a con
code-samples/java.java:81
↓ 2 callers
Method
replace
Replace all occurences of a substring within a string with another string. @param inString String to examine @param oldPattern String to replace @p
code-samples/java.java:404
↓ 2 callers
Function
triggerEvents
(events, args)
code-samples/javascript.js:203
↓ 2 callers
Method
validateLocalePart
(String localePart)
code-samples/java.java:726
↓ 1 callers
Function
Injectable
()
code-samples/typescript.ts:39
↓ 1 callers
Function
IsFinalTx
code-samples/cpp.cpp:654
↓ 1 callers
Function
LastCommonAncestor
Find the last common ancestor two blocks have. * Both pa and pb must be non-NULL. */
code-samples/cpp.cpp:413
↓ 1 callers
Method
__case_2
Case 2 applies when the parent is BLACK the sibling is RED the sibling's children are BLACK or NIL
code-samples/python.py:237
↓ 1 callers
Method
__case_3
Case 3 deletion is when: the parent is BLACK the sibling is BLACK the sibling's children are BLACK
code-samples/python.py:263
↓ 1 callers
Method
__case_4
If the parent is red and the sibling is black with no red children, simply swap their colors DB-Double Black
code-samples/python.py:292
↓ 1 callers
Method
__case_5
Case 5 is a rotation that changes the circumstances so that we can do a case 6 If the closer node is red and the outer BLACK or NIL,
code-samples/python.py:311
↓ 1 callers
Method
__case_6
Case 6 requires SIBLING to be BLACK OUTER NODE to be RED Then, does a right/left rotation on the sibling
code-samples/python.py:338
↓ 1 callers
Method
__iter__
(self)
code-samples/python.py:22
↓ 1 callers
Method
_find_in_order_successor
(self, node)
code-samples/python.py:498
↓ 1 callers
Method
_find_parent
Finds a place for the value in our binary tree
code-samples/python.py:465
↓ 1 callers
Method
_recolor
(self, grandfather)
code-samples/python.py:458
↓ 1 callers
Method
_remove
Receives a node with 0 or 1 children (typically some sort of successor) and removes it according to its color/children :param
code-samples/python.py:162
↓ 1 callers
Method
_remove_black_node
Loop through each case recursively until we reach a terminating case. What we're left with is a leaf node which is ready to be delete
code-samples/python.py:214
↓ 1 callers
Method
arrayToDelimitedString
Convenience method to return a String array as a delimited (e.g. CSV) String. E.g. useful for {@code toString()} implementations. @param arr the ar
code-samples/java.java:1191
↓ 1 callers
Method
commaDelimitedListToStringArray
Convert a CSV list into an array of Strings. @param str the input String @return an array of Strings, or the empty array in case of empty input
code-samples/java.java:1108
↓ 1 callers
Method
contains
Returns a boolean indicating if the given value is present in the tree
code-samples/python.py:106
↓ 1 callers
Function
doIt
(p Params)
code-samples/go.go:12
↓ 1 callers
Method
get
(req: HttpRequest<any>)
code-samples/typescript.ts:46
↓ 1 callers
Method
hasText
Check whether the given CharSequence has actual text. More specifically, returns {@code true} if the string not {@code null}, its length is greater th
code-samples/java.java:132
↓ 1 callers
Method
isEmpty
(Object object)
code-samples/java.java:1130
↓ 1 callers
Method
nullSafeToString
(Object o)
code-samples/java.java:752
↓ 1 callers
Method
of
(cachedResponse: any)
code-samples/typescript.ts:61
↓ 1 callers
Method
put
(req: HttpRequest<any>, event: any)
code-samples/typescript.ts:48
↓ 1 callers
Method
quote
Quote the given String with single quotes. @param str the input String (e.g. "myString") @return the quoted String (e.g. "'myString'"), or {@code nul
code-samples/java.java:469
↓ 1 callers
Method
tokenizeToStringArray
Tokenize the given String into a String array via a StringTokenizer. Trims tokens and omits empty tokens. <p>The given delimiters string is supposed t
code-samples/java.java:1001
↓ 1 callers
Method
trimLeadingCharacter
Trim all occurences of the supplied leading character from the given String. @param str the String to check @param leadingCharacter the
code-samples/java.java:280
↓ 1 callers
Method
trimLeadingWhitespace
Trim leading whitespace from the given String. @param str the String to check @return the trimmed String @see java.lang.Character#isWhitespace
code-samples/java.java:244
Function
BOOST_FOREACH
code-samples/cpp.cpp:262
Function
CalculateSequenceLocks
* Calculates the block height and previous block's median time past at * which the transaction will be considered final in the context of BIP 68. *
code-samples/cpp.cpp:705
Function
CanDirectFetch
Requires cs_main
code-samples/cpp.cpp:590
Function
CheckFinalTx
code-samples/cpp.cpp:668
Function
FinalizeNode
code-samples/cpp.cpp:254
Function
FindForkInGlobalIndex
code-samples/cpp.cpp:635
Function
FindNextBlocksToDownload
Update pindexLastCommonBlock and add not-in-flight missing successors to vBlocks, until it has * at most count entries. */
code-samples/cpp.cpp:437
Function
GetHeight
code-samples/cpp.cpp:224
Function
GetNodeStateStats
code-samples/cpp.cpp:596
Function
InitializeNode
code-samples/cpp.cpp:246
Function
MarkBlockAsInFlight
code-samples/cpp.cpp:553
Function
MarkBlockAsReceived
Requires cs_main. Returns a bool indicating whether we requested this block.
code-samples/cpp.cpp:283
Function
PeerHasHeader
Requires cs_main
code-samples/cpp.cpp:402
Function
RegisterNodeSignals
code-samples/cpp.cpp:617
Function
UnregisterNodeSignals
code-samples/cpp.cpp:626
Function
UpdateBlockAvailability
Update tracking information about which blocks a peer is assumed to have. */
code-samples/cpp.cpp:532
Function
UpdatePreferredDownload
code-samples/cpp.cpp:230
Method
__case_6_rotation
(direction)
code-samples/python.py:361
Method
__eq__
(self, other)
code-samples/python.py:31
Method
__init__
(self, value, color, parent, left=None, right=None)
code-samples/python.py:12
Method
__init__
(self)
code-samples/python.py:56
Method
__iter__
(self)
code-samples/python.py:65
Method
__repr__
(self)
code-samples/python.py:19
Function
a_function
()
code-samples/rust.rs:65
Method
addStringToArray
Append the given String to the given String array, returning a new array consisting of the input array contents plus the given String. @param array t
code-samples/java.java:769
Method
applyRelativePath
Apply the given relative path to the given path, assuming standard Java folder separation (i.e. "/" separators). @param path the path to star
code-samples/java.java:613
Method
arrayToCommaDelimitedString
Convenience method to return a String array as a CSV String. E.g. useful for {@code toString()} implementations. @param arr the array to display @ret
code-samples/java.java:1215
Method
bfs
code-samples/kotlin.kt:45
Method
capitalize
Capitalize a {@code String}, changing the first letter to upper case as per {@link Character#toUpperCase(char)}. No other letters are changed. @param
code-samples/java.java:514
Method
ceil
Given a value, return the closest value that is equal or bigger than it, returning None when no such exists
code-samples/python.py:110
Method
collectionToCommaDelimitedString
Convenience method to return a Collection as a CSV String. E.g. useful for {@code toString()} implementations. @param coll the Collection to display
code-samples/java.java:1179
Method
commaDelimitedListToSet
Convenience method to convert a CSV string list to a set. Note that this will suppress duplicates. @param str the input String @return a Set of Strin
code-samples/java.java:1119
Method
concat_url
(url, piece)
code-samples/ruby.rb:42
Method
concatenateStringArrays
Concatenate the given String arrays into one, with overlapping array elements included twice. <p>The order of elements in the original arrays is prese
code-samples/java.java:788
Method
construct_and_query
(args)
code-samples/ruby.rb:94
Method
construct_query
(arg)
code-samples/ruby.rb:56
Method
constructor
(private cache: HttpCache)
code-samples/typescript.ts:9
Method
containsWhitespace
Check whether the given CharSequence contains any whitespace characters. @param str the CharSequence to check (may be {@code null}) @return {@code tr
code-samples/java.java:167
Method
convert_params
(params)
code-samples/ruby.rb:98
Method
countOccurrencesOf
Count the occurrences of the substring in string s. @param str string to search in. Return 0 if this is null. @param sub string to search for. Return
code-samples/java.java:381
Method
delegate_api_methods
(obj, api_obj, exceptions = [])
code-samples/ruby.rb:162
Method
delete
Delete all occurrences of the given substring. @param inString the original String @param pattern the pattern to delete all occurrences of @return t
code-samples/java.java:431
Method
encode_query
(params)
code-samples/ruby.rb:38
Method
endsWithIgnoreCase
Test if the given String ends with the specified suffix, ignoring upper/lower case. @param str the String to check @param suffix the suffix to loo
code-samples/java.java:341
next →
1–100 of 137, ranked by callers