MCPcopy Create free account

hub / github.com/0x-2a/Intellij-Colors-Sublime-Monokai / functions

Functions137 in github.com/0x-2a/Intellij-Colors-Sublime-Monokai

↓ 14 callersMethodhasLength
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 callersMethodisEmpty
(Object object)
code-samples/java.java:748
↓ 9 callersMethodadd
(self, value)
code-samples/python.py:70
↓ 5 callersMethod_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 callersMethod_left_rotation
(self, node, parent, grandfather, to_recolor=False)
code-samples/python.py:442
↓ 4 callersMethod_right_rotation
(self, node, parent, grandfather, to_recolor=False)
code-samples/python.py:426
↓ 4 callersMethoddeleteAny
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 callersFunctioneventsApi
(obj, action, name, rest)
code-samples/javascript.js:177
↓ 4 callersMethodprefix
code-samples/kotlin.kt:8
↓ 4 callersMethodsplit
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 callersMethodtoStringArray
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 callersMethod__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 callersMethodhas_children
Returns a boolean indicating if the node has children
code-samples/python.py:41
↓ 2 callersFunctionProcessBlockAvailability
Check whether the last unknown block a peer advertised is not yet known. */
code-samples/cpp.cpp:381
↓ 2 callersMethod__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 callersMethod_remove_leaf
Simply removes a leaf node by making it's parent point to a NIL LEAF
code-samples/python.py:206
↓ 2 callersMethod_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 callersMethodchangeFirstCharacterCase
(String str, boolean capitalize)
code-samples/java.java:530
↓ 2 callersMethodcleanPath
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 callersMethodcollectionToDelimitedString
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 callersMethoddelimitedListToStringArray
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 callersMethodfind_node
(self, value)
code-samples/python.py:484
↓ 2 callersMethodget_children_count
Returns the number of NOT NIL children the node has
code-samples/python.py:45
↓ 2 callersMethodhandle
(req: HttpRequest<any>)
code-samples/typescript.ts:56
↓ 2 callersMethodisEmpty
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 callersMethodreplace
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 callersFunctiontriggerEvents
(events, args)
code-samples/javascript.js:203
↓ 2 callersMethodvalidateLocalePart
(String localePart)
code-samples/java.java:726
↓ 1 callersFunctionInjectable
()
code-samples/typescript.ts:39
↓ 1 callersFunctionIsFinalTx
code-samples/cpp.cpp:654
↓ 1 callersFunctionLastCommonAncestor
Find the last common ancestor two blocks have. * Both pa and pb must be non-NULL. */
code-samples/cpp.cpp:413
↓ 1 callersMethod__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 callersMethod__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 callersMethod__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 callersMethod__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 callersMethod__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 callersMethod__iter__
(self)
code-samples/python.py:22
↓ 1 callersMethod_find_in_order_successor
(self, node)
code-samples/python.py:498
↓ 1 callersMethod_find_parent
Finds a place for the value in our binary tree
code-samples/python.py:465
↓ 1 callersMethod_recolor
(self, grandfather)
code-samples/python.py:458
↓ 1 callersMethod_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 callersMethod_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 callersMethodarrayToDelimitedString
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 callersMethodcommaDelimitedListToStringArray
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 callersMethodcontains
Returns a boolean indicating if the given value is present in the tree
code-samples/python.py:106
↓ 1 callersFunctiondoIt
(p Params)
code-samples/go.go:12
↓ 1 callersMethodget
(req: HttpRequest<any>)
code-samples/typescript.ts:46
↓ 1 callersMethodhasText
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 callersMethodisEmpty
(Object object)
code-samples/java.java:1130
↓ 1 callersMethodnullSafeToString
(Object o)
code-samples/java.java:752
↓ 1 callersMethodof
(cachedResponse: any)
code-samples/typescript.ts:61
↓ 1 callersMethodput
(req: HttpRequest<any>, event: any)
code-samples/typescript.ts:48
↓ 1 callersMethodquote
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 callersMethodtokenizeToStringArray
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 callersMethodtrimLeadingCharacter
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 callersMethodtrimLeadingWhitespace
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
FunctionBOOST_FOREACH
code-samples/cpp.cpp:262
FunctionCalculateSequenceLocks
* 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
FunctionCanDirectFetch
Requires cs_main
code-samples/cpp.cpp:590
FunctionCheckFinalTx
code-samples/cpp.cpp:668
FunctionFinalizeNode
code-samples/cpp.cpp:254
FunctionFindForkInGlobalIndex
code-samples/cpp.cpp:635
FunctionFindNextBlocksToDownload
Update pindexLastCommonBlock and add not-in-flight missing successors to vBlocks, until it has * at most count entries. */
code-samples/cpp.cpp:437
FunctionGetHeight
code-samples/cpp.cpp:224
FunctionGetNodeStateStats
code-samples/cpp.cpp:596
FunctionInitializeNode
code-samples/cpp.cpp:246
FunctionMarkBlockAsInFlight
code-samples/cpp.cpp:553
FunctionMarkBlockAsReceived
Requires cs_main. Returns a bool indicating whether we requested this block.
code-samples/cpp.cpp:283
FunctionPeerHasHeader
Requires cs_main
code-samples/cpp.cpp:402
FunctionRegisterNodeSignals
code-samples/cpp.cpp:617
FunctionUnregisterNodeSignals
code-samples/cpp.cpp:626
FunctionUpdateBlockAvailability
Update tracking information about which blocks a peer is assumed to have. */
code-samples/cpp.cpp:532
FunctionUpdatePreferredDownload
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
Functiona_function
()
code-samples/rust.rs:65
MethodaddStringToArray
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
MethodapplyRelativePath
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
MethodarrayToCommaDelimitedString
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
Methodbfs
code-samples/kotlin.kt:45
Methodcapitalize
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
Methodceil
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
MethodcollectionToCommaDelimitedString
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
MethodcommaDelimitedListToSet
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
Methodconcat_url
(url, piece)
code-samples/ruby.rb:42
MethodconcatenateStringArrays
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
Methodconstruct_and_query
(args)
code-samples/ruby.rb:94
Methodconstruct_query
(arg)
code-samples/ruby.rb:56
Methodconstructor
(private cache: HttpCache)
code-samples/typescript.ts:9
MethodcontainsWhitespace
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
Methodconvert_params
(params)
code-samples/ruby.rb:98
MethodcountOccurrencesOf
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
Methoddelegate_api_methods
(obj, api_obj, exceptions = [])
code-samples/ruby.rb:162
Methoddelete
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
Methodencode_query
(params)
code-samples/ruby.rb:38
MethodendsWithIgnoreCase
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