Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenGenus/cosmos
/ functions
Functions
8,543 in github.com/OpenGenus/cosmos
⨍
Functions
8,543
◇
Types & classes
1,606
↓ 4 callers
Method
print
()
code/data_structures/src/DoubleLinkedList/src_java/DoubleLinkedLists.java:70
↓ 4 callers
Function
printList
A utility function to print a linked list*/
code/data_structures/src/list/singly_linked_list/operations/unclassified/union_intersection_in_list.c:85
↓ 4 callers
Method
printList
* Printing whole list iteratively */
code/data_structures/src/CircularLinkedList/circularLinkedList.cpp:98
↓ 4 callers
Function
printVector
* @brief print the contents of vector A * * @param vect_ vector whose index has to be printed */
code/sorting/src/slow_sort/slow_sort.cpp:38
↓ 4 callers
Function
printheap
The function printheap() is used for printing the max heap The parameters are: 1. heap - the heap array */
code/data_structures/src/tree/heap/max_heap/max_heap.c:110
↓ 4 callers
Function
push
code/data_structures/src/list/singly_linked_list/operations/reverse/reverse_iteration.cpp:28
↓ 4 callers
Method
push
code/data_structures/src/Linked_List/reversing_linkedlist.cpp:35
↓ 4 callers
Method
push
(T value)
code/data_structures/src/stack/stack/stack.java:15
↓ 4 callers
Method
push
(self, data)
code/data_structures/src/list/circular_linked_list/circular_linked_list.py:17
↓ 4 callers
Method
push
(int data)
code/data_structures/src/list/singly_linked_list/operations/find/find.java:15
↓ 4 callers
Method
put
(Key key, Value value)
code/data_structures/src/tree/multiway_tree/splay_tree/splay_tree.java:37
↓ 4 callers
Function
query
(tree, l, r, x, y, node)
code/data_structures/src/tree/space_partitioning_tree/segment_tree/segment_tree_rmq.py:19
↓ 4 callers
Function
rd1
code/online_challenges/src/codechef/MEETUP/MEETUP.cpp:56
↓ 4 callers
Function
rd2
code/online_challenges/src/codechef/MEETUP/MEETUP.cpp:68
↓ 4 callers
Method
read
(self)
code/dynamic_programming/src/array_median/array_median.py:63
↓ 4 callers
Method
rear_enqueue
(self, data)
code/data_structures/src/queue/double_ended_queue/double_ended_queue.py:22
↓ 4 callers
Function
recognize_string
* @return 1 if string is on the language of dfa. * 0 otherwise. */
code/string_algorithms/src/finite_automata/c/dfa.c:322
↓ 4 callers
Method
removeAt
(int idx)
code/data_structures/src/list/singly_linked_list/operations/unclassified/linked_list.java:181
↓ 4 callers
Method
removeChild
(self, side)
code/data_structures/src/tree/binary_tree/rope/rope.py:35
↓ 4 callers
Function
removeSpaces
function to remove all spaces in a string
code/cryptography/src/playfair_cipher/playfair_cipher.c:20
↓ 4 callers
Function
retriever
code/divide_conquer/src/strassen_matrix_multiplication/main.cpp:41
↓ 4 callers
Method
rightChild
(self, pos)
code/data_structures/src/maxHeap/maxheap.py:31
↓ 4 callers
Method
rightChild
(self, pos)
code/data_structures/src/minHeap/minHeap.py:18
↓ 4 callers
Method
rightChild
(int pos)
code/data_structures/src/tree/heap/min_heap/min_heap.java:54
↓ 4 callers
Method
s_hash
(self, key)
code/data_structures/src/hashs/hash_table/hash_table.py:66
↓ 4 callers
Function
search
code/data_structures/src/tree/binary_tree/avl_tree/avl_tree.c:218
↓ 4 callers
Method
setNextNode
(Node<T> nextNode)
code/data_structures/src/list/singly_linked_list/singly_linked_list.cs:48
↓ 4 callers
Function
shiftRows
(stmt)
code/cryptography/src/aes_128/aes_128.py:1127
↓ 4 callers
Method
size
()
code/data_structures/src/hashs/hash_table/hash_table.java:36
↓ 4 callers
Method
size
()
code/data_structures/src/DoubleLinkedList/src_java/DoubleLinkedLists.java:63
↓ 4 callers
Method
size
! \brief Get size of the queue. * \return Size of the queue. */
code/data_structures/src/queue/queue/queue.cpp:101
↓ 4 callers
Method
sort
(self)
code/data_structures/src/stack/sort_stack/sort_stack.py:22
↓ 4 callers
Method
splay
(Node h, Key key)
code/data_structures/src/tree/multiway_tree/splay_tree/splay_tree.java:97
↓ 4 callers
Function
split
(node, max_depth, min_size, depth)
code/artificial_intelligence/src/decision_tree/decision_tree.py:121
↓ 4 callers
Function
subBytes
(stmt)
code/cryptography/src/aes_128/aes_128.py:1100
↓ 4 callers
Method
subscribe
(Observer o)
code/design_pattern/src/OOP_patterns/observer_java/observer/network/artist.java:41
↓ 4 callers
Function
sum_of_digits
* Calculates sum of digits in number * * @param int $num number * @return int sum of digits in number */
code/mathematical_algorithms/src/sum_of_digits/sum_of_digits.php:13
↓ 4 callers
Function
swap
code/sorting/src/cycle_sort/cycle_sort.c:3
↓ 4 callers
Function
swap
code/sorting/src/quick_sort/quick_sort.c:4
↓ 4 callers
Function
swap
code/sorting/src/shell_sort/shell_sort.kt:3
↓ 4 callers
Function
swap
(x, y int)
code/data_structures/src/tree/heap/max_heap/max_heap.go:10
↓ 4 callers
Method
swap
* @param array $input * @param int $fromIndex * @param int $toIndex * @return array */
code/sorting/src/shaker_sort/shaker_sort.php:47
↓ 4 callers
Method
swap
(self, fpos, spos)
code/data_structures/src/maxHeap/maxheap.py:44
↓ 4 callers
Function
test
(n, k, expected)
code/unclassified/src/josephus_problem/josephus.js:12
↓ 4 callers
Function
toLowerCase
function to convert the string to lowercase
code/cryptography/src/playfair_cipher/playfair_cipher.c:10
↓ 4 callers
Method
traverse
(self)
code/data_structures/src/queue/double_ended_queue/double_ended_queue.py:25
↓ 4 callers
Function
turtle_pos
(turtle)
code/cellular_automaton/src/langtons_ant/langtons_ant.py:10
↓ 4 callers
Method
type
test/c++/catch.hpp:4956
↓ 4 callers
Method
union
(a, b)
code/data_structures/src/tree/multiway_tree/union_find/union_find.js:17
↓ 4 callers
Function
update
(key int, value int)
code/data_structures/src/DoubleLinkedList/lru_cache_with_dll/src_go/main.go:50
↓ 4 callers
Function
update
(tree, l, r, node, index, diff)
code/data_structures/src/tree/space_partitioning_tree/segment_tree/segment_tree_rmq.py:4
↓ 4 callers
Method
valueAt
(double value)
code/numerical_analysis/integral/src/integral_trapezoid.java:34
↓ 4 callers
Method
valueOr
test/c++/catch.hpp:3173
↓ 4 callers
Method
verbosity
test/c++/catch.hpp:5853
↓ 4 callers
Method
visit
(TreeSort node)
code/sorting/src/tree_sort/tree_sort.java:50
↓ 3 callers
Function
AddNumbers
code/divide_conquer/src/karatsuba_multiplication/karatsubamultiply.cpp:140
↓ 3 callers
Method
Alive
Check the cell is alive
code/cellular_automaton/src/conways_game_of_life/life.go:41
↓ 3 callers
Function
AllocBlock
* If the freeBlocks list isn't empty, takes the head of the list as a new block. * Else, it allocs a new block on the disk. */
code/data_structures/src/tree/b_tree/b_tree/b_tree_c/btree.c:301
↓ 3 callers
Method
BuildTrie
(IEnumerable<string> words)
code/data_structures/src/tree/tree/trie/trie.cs:139
↓ 3 callers
Method
Contains
Contains returns true trie contains text otherwise return false
code/data_structures/src/tree/tree/trie/trie.go:19
↓ 3 callers
Function
Decode
Decode returns the text content of a morse coded message.
code/string_algorithms/src/morse_code/morsecode.go:43
↓ 3 callers
Method
Empty
()
code/data_structures/src/stack/stack/stack.go:24
↓ 3 callers
Method
Empty
()
code/data_structures/src/queue/queue/queue.go:24
↓ 3 callers
Function
Enqueue
(Queue, element)
code/data_structures/src/queue/queue_using_linked_list/queue_using_linked_list.py:12
↓ 3 callers
Method
Enqueue
Adds an element to the back of the queue.
code/data_structures/src/queue/queue/queue.cs:45
↓ 3 callers
Method
Get
(key int)
code/data_structures/src/hashs/hash_table/hash_table.go:43
↓ 3 callers
Method
HashFunction
(K key)
code/data_structures/src/hashs/hash_table/hash_table.java:40
↓ 3 callers
Function
InvMixColumns
(stmt)
code/cryptography/src/aes_128/aes_128.py:1173
↓ 3 callers
Function
LL_rotation
LL rotation rooted at X
code/mathematical_algorithms/src/2sum/2sum.c:42
↓ 3 callers
Function
MAKE_bin_HEAP
code/data_structures/src/tree/heap/binomial_heap/binomial_heap.c:28
↓ 3 callers
Function
MG_set
* Sets M[i][j] to val. */
code/graph_algorithms/src/data_structures/adjacency_matrix_c/mgraph_struct.c:62
↓ 3 callers
Function
Min
(x int, y int)
code/data_structures/src/tree/space_partitioning_tree/segment_tree/segment_tree_rmq.go:16
↓ 3 callers
Method
Node
(int data)
code/data_structures/src/list/doubly_linked_list/doubly_linked_list.java:18
↓ 3 callers
Function
Node_addDEdge
* Connect srcNode to dest_ID by a directed edge. * * @srcNode The source node. * @dest_ID ID of the dest node. * * @return 0 on success, -1 on fa
code/graph_algorithms/src/adjacency_lists_graph_representation/adjacency_lists_in_c/lgraph_struct.c:180
↓ 3 callers
Function
Partition
code/sorting/src/median_sort/median_sort.cpp:14
↓ 3 callers
Function
PlaneNormal
code/computational_geometry/src/sphere_tetrahedron_intersection/luvector.hpp:837
↓ 3 callers
Method
Pop
()
code/data_structures/src/stack/stack/stack.go:12
↓ 3 callers
Method
Pop
()
code/data_structures/src/queue/queue/queue.go:12
↓ 3 callers
Method
Print
()
code/data_structures/src/list/circular_linked_list/circular_linked_list.java:64
↓ 3 callers
Function
PrintMatrix
Prints Matrix
code/mathematical_algorithms/src/matrix_row_reduction/matrix_row_reduction.cpp:166
↓ 3 callers
Method
Push
(v int)
code/data_structures/src/stack/stack/stack.go:8
↓ 3 callers
Method
Push
(v int)
code/data_structures/src/queue/queue/queue.go:8
↓ 3 callers
Function
RR_rotation
RR rotation rooted at X
code/mathematical_algorithms/src/2sum/2sum.c:53
↓ 3 callers
Function
ReadBlock
code/data_structures/src/tree/b_tree/b_tree/b_tree_c/btree.c:285
↓ 3 callers
Method
Show
()
code/design_pattern/src/builder_pattern/builder.cs:121
↓ 3 callers
Method
Show
()
code/mathematical_algorithms/src/add_polynomials/add_polynomials.go:35
↓ 3 callers
Function
SolidAngleSphtri
Returns the solid angle of a spherical triangle. v1, v2, v3 are vertices of the triangle residing on a unit sphere.
code/computational_geometry/src/sphere_tetrahedron_intersection/sphere_tetrahedron_intersection.cpp:24
↓ 3 callers
Method
Top
()
code/data_structures/src/stack/stack/stack.go:20
↓ 3 callers
Method
Top
()
code/data_structures/src/queue/queue/queue.go:20
↓ 3 callers
Function
VolumeSphtri
Returns the volume of triangular slice taken from a sphere.
code/computational_geometry/src/sphere_tetrahedron_intersection/sphere_tetrahedron_intersection.cpp:57
↓ 3 callers
Method
add
code/data_structures/test/bag/test_bag.cpp:33
↓ 3 callers
Method
add
Insert value in bloom filter
code/data_structures/src/hashs/bloom_filter/bloom_filter.py:20
↓ 3 callers
Method
add
@param element - the element to add
code/data_structures/src/bag/bag.java:45
↓ 3 callers
Method
add
Inserts the specified element into this queue if it is possible to do so immediately without violating capacity restrictions, returning true upon succ
code/data_structures/src/queue/queue_using_stack/queue_using_stack.java:29
↓ 3 callers
Function
addRoundKey
---------------------------------Decrypt--------------------------------(begin) do the add round key
code/cryptography/src/aes_128/aes_128.cpp:199
↓ 3 callers
Method
add_edge
(self, vertex1, vertex2, directed=False)
code/data_structures/src/graph/graph.py:9
↓ 3 callers
Method
add_str
(String a,String b,int n)
code/divide_conquer/src/karatsuba_multiplication/multiply.java:19
↓ 3 callers
Method
append
Insert at the end of the list
code/data_structures/src/DoubleLinkedList/src_cpp/doublylinkedlist.cpp:26
↓ 3 callers
Method
append
(int data)
code/data_structures/src/CircularLinkedList/src_java/circularlinkedlist.java:20
↓ 3 callers
Function
arcSafeRelease
test/c++/catch.hpp:501
← previous
next →
701–800 of 8,543, ranked by callers