MCPcopy Create free account

hub / github.com/Berkeley-CS61B/skeleton-sp23 / functions

Functions684 in github.com/Berkeley-CS61B/skeleton-sp23

↓ 1 callersMethodsumOfElementwiseMax
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 callersMethodsummedWeightHistory
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 callersMethodtestConflictResolved
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 callersMethodtic
()
proj1c/src/gh2/GuitarPlayer.java:45
↓ 1 callersMethodtimeAListConstruction
()
lab03/src/timing/Experiments.java:57
↓ 1 callersMethodtimeInOrderHashMap
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 callersMethodtimeInOrderHashMap
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 callersMethodtimeInOrderTreeMap
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 callersMethodtimeRandomHashMap
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 callersMethodtimeRandomHashMap
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 callersMethodtimeRandomMap61B
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 callersMethodtimeRandomTreeMap
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 callersMethodtimeSLListGetLast
()
lab03/src/timing/Experiments.java:68
↓ 1 callersMethodtoString
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 callersMethodtoString
()
lab02/src/adventure/AdventureGame.java:81
↓ 1 callersMethodtoString
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 callersMethodtoString
Return all captured output to {@code System.out} and {@code System.err} as a single string.
lab03/tests/helpers/CaptureSystemOutput.java:145
↓ 1 callersMethodtotalCountHistory
Returns a defensive copy of the total number of words recorded per year in all volumes.
proj2a/ngordnet/ngrams/NGramMap.java:53
↓ 1 callersMethodvalidGuess
(char c, List<Character> guesses)
proj0/src/aoa/AoAGame.java:38
↓ 1 callersMethodwrite
(int b)
proj0/tests/helpers/CaptureSystemOutput.java:166
↓ 1 callersFunctionxa
(a,b,c,d,e,f)
proj2a/static/jquery.min.js:2
↓ 1 callersFunctionxb
(a,b,c,d)
proj2a/static/jquery.min.js:4
↓ 1 callersFunctionya
(a)
proj2a/static/jquery.min.js:2
↓ 1 callersFunctionza
(a,b)
proj2a/static/jquery.min.js:2
MethodAList
Creates an empty list.
lab03/src/timing/AList.java:22
MethodAdventureGame
(In in)
lab02/src/adventure/AdventureGame.java:12
MethodAdventureGame
(In in)
lab03/src/adventure/AdventureGame.java:12
FunctionB
(a,b)
proj2a/static/jquery.min.js:2
MethodBee
(int b)
lab08/tests/hashmap/TestMyHashMap.java:301
MethodBeeCountingStage
(In in)
lab02/src/adventure/BeeCountingStage.java:16
MethodBeeCountingStage
(In in)
lab03/src/adventure/BeeCountingStage.java:17
MethodCaptureOutputStream
(PrintStream original, OutputStream copy)
lab02/tests/helpers/CaptureSystemOutput.java:157
MethodCaptureOutputStream
(PrintStream original, OutputStream copy)
proj0/tests/helpers/CaptureSystemOutput.java:157
MethodCaptureOutputStream
(PrintStream original, OutputStream copy)
lab03/tests/helpers/CaptureSystemOutput.java:157
MethodConsoleGuesser
(Scanner console)
proj0/src/aoa/guessers/ConsoleGuesser.java:9
FunctionDa
(a)
proj2a/static/jquery.min.js:3
FunctionEa
(a)
proj2a/static/jquery.min.js:3
MethodEntry
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
MethodEvilChooser
(int wordLength, String dictionaryFile)
proj0/src/aoa/choosers/EvilChooser.java:11
MethodFillerStage
Constructor for filler stage at end of game (No responses). @param prompt Prompt for fillerStage.
lab02/src/adventure/FillerStage.java:15
MethodFillerStage
Constructor for filler stage at end of game (No responses). @param prompt Prompt for fillerStage.
lab03/src/adventure/FillerStage.java:15
MethodGuitarPlayer
(InputStream source)
proj1c/src/gh2/GuitarPlayer.java:20
MethodGuitarString
(double frequency)
proj1c/src/gh2/GuitarString.java:19
MethodIntList
(int f, IntList r)
lab02/src/common/IntList.java:7
MethodIntList
(int f, IntList r)
lab03/src/common/IntList.java:7
MethodIntNode
(Item i, IntNode n)
lab03/src/timing/SLList.java:10
MethodKeyboardInputSource
()
proj3/byow/InputDemo/KeyboardInputSource.java:10
MethodKnightWorld
(int width, int height, int holeSize)
lab12/src/knightworld/KnightWorld.java:14
FunctionM
(a)
proj2a/static/jquery.min.js:2
MethodMachineStage
(In in)
lab02/src/adventure/MachineStage.java:14
MethodMachineStage
(In in)
lab03/src/adventure/MachineStage.java:14
MethodMemoryGame
(int width, int height, long seed)
lab13/src/MemoryGame/MemoryGame.java:42
MethodMyHashMap
Constructors
lab08/src/hashmap/MyHashMap.java:33
FunctionN
(a)
proj2a/static/jquery.min.js:2
MethodNGramMap
Constructs an NGramMap from WORDSFILENAME and COUNTSFILENAME.
proj2a/ngordnet/ngrams/NGramMap.java:24
MethodNaiveLetterFreqGuesser
(String dictionaryFile)
proj0/src/aoa/guessers/NaiveLetterFreqGuesser.java:10
MethodNode
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
MethodNode
(K k, V v)
lab08/src/hashmap/MyHashMap.java:22
MethodPAGALetterFreqGuesser
(String dictionaryFile)
proj0/src/aoa/guessers/PAGALetterFreqGuesser.java:10
MethodPalindromeStage
(In in)
lab02/src/adventure/PalindromeStage.java:14
MethodPalindromeStage
(In in)
lab03/src/adventure/PalindromeStage.java:14
MethodPatternAwareLetterFreqGuesser
(String dictionaryFile)
proj0/src/aoa/guessers/PatternAwareLetterFreqGuesser.java:10
MethodPercolation
(int N)
hw2/src/Percolation.java:7
FunctionR
()
proj2a/static/jquery.min.js:2
MethodRandomChooser
(int wordLength, String dictionaryFile)
proj0/src/aoa/choosers/RandomChooser.java:10
MethodRandomInputSource
(Long seed)
proj3/byow/InputDemo/RandomInputSource.java:13
MethodSLList
Creates an empty timingtest.SLList.
lab03/src/timing/SLList.java:21
MethodSpeciesListStage
(In in)
lab02/src/adventure/SpeciesListStage.java:26
MethodSpeciesListStage
(In in)
lab03/src/adventure/SpeciesListStage.java:26
MethodStringInputDevice
(String s)
proj3/byow/InputDemo/StringInputDevice.java:10
MethodTETile
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
MethodTETile
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
MethodTETile
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
MethodTimeSeries
Constructs a new empty TimeSeries.
proj2a/ngordnet/ngrams/TimeSeries.java:21
MethodTimingData
(List<Integer> Ns, List<Double> times, List<Integer> opCounts)
lab03/src/timing/TimingData.java:10
FunctionU
()
proj2a/static/jquery.min.js:3
MethodULLMapIter
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
MethodULLMapIter
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
FunctionXa
(a,b,c,d,e)
proj2a/static/jquery.min.js:3
Functionaa
(a,b,c)
proj2a/static/jquery.min.js:2
Functionab
()
proj2a/static/jquery.min.js:3
Methodaccept
(FileSource source)
proj0/tests/helpers/FileSourceProvider.java:25
MethodaddFirst
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
MethodaddFirst
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
MethodaddFirst
Adds x to the front of the list.
lab03/src/timing/SLList.java:33
MethodaddFirst
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
MethodaddLast
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
MethodaddLast
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
MethodaddLast
Adds x to the end of the list.
lab03/src/timing/SLList.java:44
MethodaddLast
Inserts X into the back of the list.
lab03/src/timing/AList.java:35
MethodaddLast
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
MethodafterEach
(ExtensionContext context)
lab02/tests/helpers/CaptureSystemOutput.java:62
MethodafterEach
(ExtensionContext context)
proj0/tests/helpers/CaptureSystemOutput.java:62
MethodafterEach
(ExtensionContext context)
lab03/tests/helpers/CaptureSystemOutput.java:62
MethodargumentsForTestStage
()
lab03/tests/adventure/AdventureGameTests.java:51
MethodassertNextPrevConsistency
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
MethodassertUniqueNodeClass
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
MethodbeforeEach
(ExtensionContext context)
lab02/tests/helpers/CaptureSystemOutput.java:57
MethodbeforeEach
(ExtensionContext context)
proj0/tests/helpers/CaptureSystemOutput.java:57
MethodbeforeEach
(ExtensionContext context)
lab03/tests/helpers/CaptureSystemOutput.java:57
← previousnext →301–400 of 684, ranked by callers