Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Berkeley-CS61B/skeleton-sp23
/ functions
Functions
684 in github.com/Berkeley-CS61B/skeleton-sp23
⨍
Functions
684
◇
Types & classes
147
↓ 1 callers
Method
sumOfElementwiseMax
Returns the sum of the element-wise max of a and b. For example if a = {1, -10, 3} and b = {0, 20, 5}, the elementwise max is {1, 20, 5}, which sums t
lab03/src/adventure/MachineStage.java:140
↓ 1 callers
Method
summedWeightHistory
Provides the summed relative frequency per year of all words in WORDS between STARTYEAR and ENDYEAR, inclusive of both ends. If a word does not exist
proj2a/ngordnet/ngrams/NGramMap.java:82
↓ 1 callers
Method
testConflictResolved
Test that the conflict in hello.txt has been resolved according to the Lab 05 Gradescope assignment instructions.
lab05/tests/conflict/ConflictTest.java:39
↓ 1 callers
Method
tic
()
proj1c/src/gh2/GuitarPlayer.java:45
↓ 1 callers
Method
timeAListConstruction
()
lab03/src/timing/Experiments.java:57
↓ 1 callers
Method
timeInOrderHashMap
Attempts to insert N in-order strings of length L into HashMap, Prints time of the N insert calls, otherwise Prints a nice message about the error
lab08/tests/speed/InsertInOrderSpeedTest.java:99
↓ 1 callers
Method
timeInOrderHashMap
Attempts to insert N in-order strings of length L into HashMap, Prints time of the N insert calls, otherwise Prints a nice message about the error
lab07/tests/InsertInOrderSpeedTest.java:115
↓ 1 callers
Method
timeInOrderTreeMap
Attempts to insert N in-order strings of length L into TreeMap, Prints time of the N insert calls, otherwise Prints a nice message about the error
lab07/tests/InsertInOrderSpeedTest.java:99
↓ 1 callers
Method
timeRandomHashMap
Attempts to insert N random strings of length L into a HashMap Prints time of the N insert calls, otherwise Prints a nice message about the error
lab08/tests/speed/InsertRandomSpeedTest.java:100
↓ 1 callers
Method
timeRandomHashMap
Attempts to insert N random strings of length L into a HashMap Prints time of the N insert calls, otherwise Prints a nice message about the
lab07/tests/InsertRandomSpeedTest.java:113
↓ 1 callers
Method
timeRandomMap61B
Attempts to insert N random strings of length L into map, Prints time of the N insert calls, otherwise Prints a nice message about the error
lab08/tests/speed/BucketsSpeedTest.java:74
↓ 1 callers
Method
timeRandomTreeMap
Attempts to insert N random strings of length L into a TreeMap Prints time of the N insert calls, otherwise Prints a nice message about the
lab07/tests/InsertRandomSpeedTest.java:97
↓ 1 callers
Method
timeSLListGetLast
()
lab03/src/timing/Experiments.java:68
↓ 1 callers
Method
toString
Converts the given 2D array to a String. Handy for debugging. Note that since y = 0 is actually the bottom of your world when drawn using the tile ren
lab13/src/byowTools/TileEngine/TETile.java:155
↓ 1 callers
Method
toString
()
lab02/src/adventure/AdventureGame.java:81
↓ 1 callers
Method
toString
Converts the given 2D array to a String. Handy for debugging. Note that since y = 0 is actually the bottom of your world when drawn using the tile ren
lab12/src/tileengine/TETile.java:153
↓ 1 callers
Method
toString
Return all captured output to {@code System.out} and {@code System.err} as a single string.
lab03/tests/helpers/CaptureSystemOutput.java:145
↓ 1 callers
Method
totalCountHistory
Returns a defensive copy of the total number of words recorded per year in all volumes.
proj2a/ngordnet/ngrams/NGramMap.java:53
↓ 1 callers
Method
validGuess
(char c, List<Character> guesses)
proj0/src/aoa/AoAGame.java:38
↓ 1 callers
Method
write
(int b)
proj0/tests/helpers/CaptureSystemOutput.java:166
↓ 1 callers
Function
xa
(a,b,c,d,e,f)
proj2a/static/jquery.min.js:2
↓ 1 callers
Function
xb
(a,b,c,d)
proj2a/static/jquery.min.js:4
↓ 1 callers
Function
ya
(a)
proj2a/static/jquery.min.js:2
↓ 1 callers
Function
za
(a,b)
proj2a/static/jquery.min.js:2
Method
AList
Creates an empty list.
lab03/src/timing/AList.java:22
Method
AdventureGame
(In in)
lab02/src/adventure/AdventureGame.java:12
Method
AdventureGame
(In in)
lab03/src/adventure/AdventureGame.java:12
Function
B
(a,b)
proj2a/static/jquery.min.js:2
Method
Bee
(int b)
lab08/tests/hashmap/TestMyHashMap.java:301
Method
BeeCountingStage
(In in)
lab02/src/adventure/BeeCountingStage.java:16
Method
BeeCountingStage
(In in)
lab03/src/adventure/BeeCountingStage.java:17
Method
CaptureOutputStream
(PrintStream original, OutputStream copy)
lab02/tests/helpers/CaptureSystemOutput.java:157
Method
CaptureOutputStream
(PrintStream original, OutputStream copy)
proj0/tests/helpers/CaptureSystemOutput.java:157
Method
CaptureOutputStream
(PrintStream original, OutputStream copy)
lab03/tests/helpers/CaptureSystemOutput.java:157
Method
ConsoleGuesser
(Scanner console)
proj0/src/aoa/guessers/ConsoleGuesser.java:9
Function
Da
(a)
proj2a/static/jquery.min.js:3
Function
Ea
(a)
proj2a/static/jquery.min.js:3
Method
Entry
Stores KEY as the key in this key-value pair, VAL as the value, and NEXT as the next node in the linked list.
lab07/src/ULLMap.java:76
Method
EvilChooser
(int wordLength, String dictionaryFile)
proj0/src/aoa/choosers/EvilChooser.java:11
Method
FillerStage
Constructor for filler stage at end of game (No responses). @param prompt Prompt for fillerStage.
lab02/src/adventure/FillerStage.java:15
Method
FillerStage
Constructor for filler stage at end of game (No responses). @param prompt Prompt for fillerStage.
lab03/src/adventure/FillerStage.java:15
Method
GuitarPlayer
(InputStream source)
proj1c/src/gh2/GuitarPlayer.java:20
Method
GuitarString
(double frequency)
proj1c/src/gh2/GuitarString.java:19
Method
IntList
(int f, IntList r)
lab02/src/common/IntList.java:7
Method
IntList
(int f, IntList r)
lab03/src/common/IntList.java:7
Method
IntNode
(Item i, IntNode n)
lab03/src/timing/SLList.java:10
Method
KeyboardInputSource
()
proj3/byow/InputDemo/KeyboardInputSource.java:10
Method
KnightWorld
(int width, int height, int holeSize)
lab12/src/knightworld/KnightWorld.java:14
Function
M
(a)
proj2a/static/jquery.min.js:2
Method
MachineStage
(In in)
lab02/src/adventure/MachineStage.java:14
Method
MachineStage
(In in)
lab03/src/adventure/MachineStage.java:14
Method
MemoryGame
(int width, int height, long seed)
lab13/src/MemoryGame/MemoryGame.java:42
Method
MyHashMap
Constructors
lab08/src/hashmap/MyHashMap.java:33
Function
N
(a)
proj2a/static/jquery.min.js:2
Method
NGramMap
Constructs an NGramMap from WORDSFILENAME and COUNTSFILENAME.
proj2a/ngordnet/ngrams/NGramMap.java:24
Method
NaiveLetterFreqGuesser
(String dictionaryFile)
proj0/src/aoa/guessers/NaiveLetterFreqGuesser.java:10
Method
Node
Stores KEY as the key in this key-value pair, VAL as the value, and NEXT as the next node in the linked list.
lab08/src/hashmap/ULLMap.java:90
Method
Node
(K k, V v)
lab08/src/hashmap/MyHashMap.java:22
Method
PAGALetterFreqGuesser
(String dictionaryFile)
proj0/src/aoa/guessers/PAGALetterFreqGuesser.java:10
Method
PalindromeStage
(In in)
lab02/src/adventure/PalindromeStage.java:14
Method
PalindromeStage
(In in)
lab03/src/adventure/PalindromeStage.java:14
Method
PatternAwareLetterFreqGuesser
(String dictionaryFile)
proj0/src/aoa/guessers/PatternAwareLetterFreqGuesser.java:10
Method
Percolation
(int N)
hw2/src/Percolation.java:7
Function
R
()
proj2a/static/jquery.min.js:2
Method
RandomChooser
(int wordLength, String dictionaryFile)
proj0/src/aoa/choosers/RandomChooser.java:10
Method
RandomInputSource
(Long seed)
proj3/byow/InputDemo/RandomInputSource.java:13
Method
SLList
Creates an empty timingtest.SLList.
lab03/src/timing/SLList.java:21
Method
SpeciesListStage
(In in)
lab02/src/adventure/SpeciesListStage.java:26
Method
SpeciesListStage
(In in)
lab03/src/adventure/SpeciesListStage.java:26
Method
StringInputDevice
(String s)
proj3/byow/InputDemo/StringInputDevice.java:10
Method
TETile
Full constructor for TETile objects. @param character The character displayed on the screen. @param textColor The color of the character itself. @para
lab13/src/byowTools/TileEngine/TETile.java:39
Method
TETile
Full constructor for TETile objects. @param character The character displayed on the screen. @param textColor The color of the character itself. @para
proj3/byow/TileEngine/TETile.java:39
Method
TETile
Full constructor for TETile objects. @param character The character displayed on the screen. @param textColor The color of the character itself. @para
lab12/src/tileengine/TETile.java:38
Method
TimeSeries
Constructs a new empty TimeSeries.
proj2a/ngordnet/ngrams/TimeSeries.java:21
Method
TimingData
(List<Integer> Ns, List<Double> times, List<Integer> opCounts)
lab03/src/timing/TimingData.java:10
Function
U
()
proj2a/static/jquery.min.js:3
Method
ULLMapIter
Create a new ULLMapIter by setting cur to the first node in the linked list that stores the key-value pairs.
lab08/src/hashmap/ULLMap.java:126
Method
ULLMapIter
Create a new ULLMapIter by setting cur to the first node in the linked list that stores the key-value pairs.
lab07/src/ULLMap.java:108
Function
Xa
(a,b,c,d,e)
proj2a/static/jquery.min.js:3
Function
aa
(a,b,c)
proj2a/static/jquery.min.js:2
Function
ab
()
proj2a/static/jquery.min.js:3
Method
accept
(FileSource source)
proj0/tests/helpers/FileSourceProvider.java:25
Method
addFirst
Add {@code x} to the front of the deque. Assumes {@code x} is never null. @param x item to add
proj1b/src/Deque.java:14
Method
addFirst
Add {@code x} to the front of the deque. Assumes {@code x} is never null. @param x item to add
proj1a/src/Deque.java:14
Method
addFirst
Adds x to the front of the list.
lab03/src/timing/SLList.java:33
Method
addFirst
Add {@code x} to the front of the deque. Assumes {@code x} is never null. @param x item to add
proj1c/src/deque/Deque.java:16
Method
addLast
Add {@code x} to the back of the deque. Assumes {@code x} is never null. @param x item to add
proj1b/src/Deque.java:21
Method
addLast
Add {@code x} to the back of the deque. Assumes {@code x} is never null. @param x item to add
proj1a/src/Deque.java:21
Method
addLast
Adds x to the end of the list.
lab03/src/timing/SLList.java:44
Method
addLast
Inserts X into the back of the list.
lab03/src/timing/AList.java:35
Method
addLast
Add {@code x} to the back of the deque. Assumes {@code x} is never null. @param x item to add
proj1c/src/deque/Deque.java:23
Method
afterEach
(ExtensionContext context)
lab02/tests/helpers/CaptureSystemOutput.java:62
Method
afterEach
(ExtensionContext context)
proj0/tests/helpers/CaptureSystemOutput.java:62
Method
afterEach
(ExtensionContext context)
lab03/tests/helpers/CaptureSystemOutput.java:62
Method
argumentsForTestStage
()
lab03/tests/adventure/AdventureGameTests.java:51
Method
assertNextPrevConsistency
This method checks whether iterating through a list forwards and backwards returns the same values. @param deque the deque you want to check @param <
proj1a/tests/NodeChecker.java:164
Method
assertUniqueNodeClass
This method performs a node check on every internal class. @param clazz the class you want to check @param doublyLinked whether or not the lis
proj1a/tests/NodeChecker.java:105
Method
beforeEach
(ExtensionContext context)
lab02/tests/helpers/CaptureSystemOutput.java:57
Method
beforeEach
(ExtensionContext context)
proj0/tests/helpers/CaptureSystemOutput.java:57
Method
beforeEach
(ExtensionContext context)
lab03/tests/helpers/CaptureSystemOutput.java:57
← previous
next →
301–400 of 684, ranked by callers