Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Berkeley-CS61B/skeleton-sp21
/ functions
Functions
625 in github.com/Berkeley-CS61B/skeleton-sp21
⨍
Functions
625
◇
Types & classes
112
↓ 2 callers
Function
canonicalize
(s)
lab6/testing/runner.py:216
↓ 2 callers
Method
character
Character representation of the tile. Used for drawing in text mode. @return character representation
proj3/byow/TileEngine/TETile.java:104
↓ 2 callers
Method
checkConfig
(boolean isWindows)
lab1/CheckLabConfig.java:4
↓ 2 callers
Method
checkIsValidRepo
(String value, String name, boolean isWindows, boolean snapsCheck)
lab1/CheckLabConfig.java:32
↓ 2 callers
Method
checkVariableNotNull
(String value, String name)
lab1/CheckLabConfig.java:23
↓ 2 callers
Function
cleanTempDir
(dir)
proj2/testing/staff-runner.py:183
↓ 2 callers
Function
cleanTempDir
(dir)
proj2/testing/runner.py:186
↓ 2 callers
Function
cleanTempDir
(dir)
lab6/testing/runner.py:151
↓ 2 callers
Function
doDelete
(name, dir)
proj2/testing/tester.py:146
↓ 2 callers
Function
doDelete
(name, dir)
proj2/testing/staff-runner.py:186
↓ 2 callers
Function
doDelete
(name, dir)
proj2/testing/runner.py:189
↓ 2 callers
Function
doDelete
(name, dir)
lab6/testing/tester.py:133
↓ 2 callers
Function
doDelete
(name, dir)
lab6/testing/runner.py:154
↓ 2 callers
Function
do_substs
(L)
proj2/testing/tester.py:285
↓ 2 callers
Function
do_substs
(L)
proj2/testing/staff-runner.py:314
↓ 2 callers
Function
do_substs
(L)
proj2/testing/runner.py:334
↓ 2 callers
Function
do_substs
(L)
lab6/testing/tester.py:272
↓ 2 callers
Function
do_substs
(L)
lab6/testing/runner.py:299
↓ 2 callers
Method
exitWithError
Prints out MESSAGE and exits with error code -1. Note: The functionality for erroring/exit codes is different within Gitlet so DO NOT use this
lab6/capers/Utils.java:141
↓ 2 callers
Function
fileExists
(f, dir)
proj2/testing/tester.py:202
↓ 2 callers
Function
fileExists
(f, dir)
proj2/testing/staff-runner.py:236
↓ 2 callers
Function
fileExists
(f, dir)
proj2/testing/runner.py:256
↓ 2 callers
Function
fileExists
(f, dir)
lab6/testing/tester.py:189
↓ 2 callers
Function
fileExists
(f, dir)
lab6/testing/runner.py:221
↓ 2 callers
Method
getValidNewTile
Return a valid tile, using our source's tile input until finding one that fits on the current board. Assumes there is at least one empty square on t
proj0/game2048/Game.java:79
↓ 2 callers
Method
initialize
Same functionality as the other initialization method. The only difference is that the xOff and yOff parameters will change where the renderFrame meth
proj3/byow/TileEngine/TERenderer.java:30
↓ 2 callers
Method
insertInOrder
Returns time needed to put N strings into a hashmap.Map61B in increasing order. makes use of speed.StringUtils.nextString(String s)
lab8/speed/InsertInOrderSpeedTest.java:57
↓ 2 callers
Method
insertRandom
Returns time needed to put N random strings of length L into the hashmap.Map61B 61bMap.
lab8/speed/InsertRandomSpeedTest.java:56
↓ 2 callers
Method
isPrime
This (complicated) algorithm returns True if its argument is prime, otherwise False. When you're debugging, stepping into this function may not be the
lab2/IntList/Primes.java:21
↓ 2 callers
Method
keySet
()
lab7/bstmap/Map61B.java:30
↓ 2 callers
Method
maxScore
Return the current maximum game score (updated at end of game).
proj0/game2048/Model.java:77
↓ 2 callers
Method
next
()
lab8/hashmap/ULLMap.java:135
↓ 2 callers
Function
nextCommand
(full_cmnd, timeout)
proj2/testing/runner.py:167
↓ 2 callers
Function
nextCommand
(full_cmnd, timeout)
lab6/testing/runner.py:132
↓ 2 callers
Method
nextString
Returns the string that comes right after S in alphabetical order. For example, if s is 'potato', this method will return 'potatp'. If the last charac
lab8/speed/StringUtils.java:45
↓ 2 callers
Method
noise
Makes a noise.
lab2setup/Dog/Dog.java:11
↓ 2 callers
Method
printInfoOnStackOverflow
To be called after catching a StackOverflowError Prints the error with corresponding N and L
lab8/speed/InsertInOrderSpeedTest.java:118
↓ 2 callers
Method
printInfoOnStackOverflow
To be called after catching a StackOverflowError Prints the error with corresponding N and L
lab8/speed/InsertRandomSpeedTest.java:134
↓ 2 callers
Method
renderFrame
Takes in a 2d array of TETile objects and renders the 2d array to the screen, starting from xOffset and yOffset. If the array is an NxM array, then t
proj3/byow/TileEngine/TERenderer.java:86
↓ 2 callers
Method
resize
Resizes the underlying array to the target capacity.
lab3/randomizedtest/BuggyAList.java:28
↓ 2 callers
Method
score
Return the current score.
proj0/game2048/Model.java:72
↓ 2 callers
Method
setScore
Set the current score being displayed to SCORE and the current maximum score to MAXSCORE.
proj0/game2048/GUI.java:77
↓ 2 callers
Method
showCanvas
()
proj3/byow/Networking/BYOWClient.java:78
↓ 2 callers
Method
size
Return the number of squares on one side of the board. Used for testing. Should be deprecated and removed.
proj0/game2048/Model.java:57
↓ 2 callers
Method
tile
Return the current Tile at (COL, ROW), where 0 <= ROW < size(), 0 <= COL < size(). Returns null if there is no tile there. Used for testing. Should
proj0/game2048/Model.java:51
↓ 2 callers
Method
timeInOrderMap61B
Attempts to insert N in-order strings of length L into map, Prints time of the N insert calls, otherwise Prints a nice message about the error
lab8/speed/InsertInOrderSpeedTest.java:85
↓ 2 callers
Method
timeInOrderMap61B
Attempts to insert N in-order strings of length L into map, Prints time of the N insert calls, otherwise Prints a nice message about the error
lab7/bstmap/InsertInOrderSpeedTest.java:87
↓ 2 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
lab8/speed/InsertRandomSpeedTest.java:85
↓ 2 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
lab7/bstmap/InsertRandomSpeedTest.java:84
↓ 2 callers
Method
update
The model notifies me that is has changed when its notifyObservers method is called, because my constructor registered me as an Observer of the mode
proj0/game2048/GUI.java:85
↓ 2 callers
Method
vtile
Return the current Tile at (COL, ROW), when sitting with the board oriented so that SIDE is at the top (farthest) from you.
proj0/game2048/Board.java:61
↓ 2 callers
Method
waitForPositiveInt
Waits for the user on other side of Scanner to enter a positive int, and outputs that int
lab8/speed/BucketsSpeedTest.java:87
↓ 1 callers
Function
Usage
()
proj2/testing/staff-runner.py:134
↓ 1 callers
Function
Usage
()
proj2/testing/runner.py:137
↓ 1 callers
Function
Usage
()
lab6/testing/runner.py:102
↓ 1 callers
Method
addFirst
(T var1)
proj1ec/student/StudentArrayDeque.java:17
↓ 1 callers
Method
addLast
Adds x to the end of the list.
lab3/timingtest/SLList.java:44
↓ 1 callers
Method
addLast
(T var1)
proj1ec/student/StudentArrayDeque.java:36
↓ 1 callers
Method
allAs
Returns a string of all 'a' of length LEN.
lab8/speed/StringUtils.java:72
↓ 1 callers
Method
allAs
Returns a string of all 'a' of length LEN.
lab7/bstmap/StringUtils.java:69
↓ 1 callers
Method
arrayMax
Returns a new array where entry i is the max of a[i] and b[i]. For example, if a = {1, -10, 3} and b = {0, 20, 5}, this function will return {1, 20, 5
lab2/DebugExercise/DebugExercise2.java:42
↓ 1 callers
Method
arraySum
Returns the sum of all elements in x.
lab2/DebugExercise/DebugExercise2.java:57
↓ 1 callers
Method
boardShouldChange
Utility method to generate an error message.
proj0/game2048/TestUtils.java:13
↓ 1 callers
Method
boardShouldNotChange
Utility method to generate an error message.
proj0/game2048/TestUtils.java:19
↓ 1 callers
Function
chop_nl
(s)
proj2/testing/tester.py:248
↓ 1 callers
Function
chop_nl
(s)
proj2/testing/staff-runner.py:282
↓ 1 callers
Function
chop_nl
(s)
proj2/testing/runner.py:302
↓ 1 callers
Function
chop_nl
(s)
lab6/testing/tester.py:235
↓ 1 callers
Function
chop_nl
(s)
lab6/testing/runner.py:267
↓ 1 callers
Function
cleanTempDir
(dir)
proj2/testing/tester.py:143
↓ 1 callers
Function
cleanTempDir
(dir)
lab6/testing/tester.py:130
↓ 1 callers
Function
correctFileOutput
(name, expected, dir)
proj2/testing/tester.py:205
↓ 1 callers
Function
correctFileOutput
(name, expected, dir)
proj2/testing/staff-runner.py:239
↓ 1 callers
Function
correctFileOutput
(name, expected, dir)
proj2/testing/runner.py:259
↓ 1 callers
Function
correctFileOutput
(name, expected, dir)
lab6/testing/tester.py:192
↓ 1 callers
Function
correctFileOutput
(name, expected, dir)
lab6/testing/runner.py:224
↓ 1 callers
Function
correctProgramOutput
(expected, actual, last_groups, is_regexp)
proj2/testing/tester.py:210
↓ 1 callers
Function
correctProgramOutput
(expected, actual, last_groups, is_regexp)
proj2/testing/staff-runner.py:244
↓ 1 callers
Function
correctProgramOutput
(expected, actual, last_groups, is_regexp)
proj2/testing/runner.py:264
↓ 1 callers
Function
correctProgramOutput
(expected, actual, last_groups, is_regexp)
lab6/testing/tester.py:197
↓ 1 callers
Function
correctProgramOutput
(expected, actual, last_groups, is_regexp)
lab6/testing/runner.py:229
↓ 1 callers
Function
createTempDir
(base)
proj2/testing/tester.py:132
↓ 1 callers
Function
createTempDir
(base)
proj2/testing/staff-runner.py:172
↓ 1 callers
Function
createTempDir
(base)
proj2/testing/runner.py:175
↓ 1 callers
Function
createTempDir
(base)
lab6/testing/tester.py:119
↓ 1 callers
Function
createTempDir
(base)
lab6/testing/runner.py:140
↓ 1 callers
Method
distToNext
Return the distance in rows or columns between me and my successor tile (0 if I have no successor).
proj0/game2048/Tile.java:61
↓ 1 callers
Method
doBlooming
Create the blooming effect on tiles in BLOOMINGTILES.
proj0/game2048/BoardWidget.java:221
↓ 1 callers
Function
doCommand
(full_cmnd, timeout, skip_first_line=False)
proj2/testing/tester.py:189
↓ 1 callers
Function
doCommand
(full_cmnd, timeout, skip_first_line=False)
lab6/testing/tester.py:176
↓ 1 callers
Function
doCompile
(target)
proj2/testing/runner.py:202
↓ 1 callers
Function
doCompile
(target)
lab6/testing/runner.py:167
↓ 1 callers
Function
doCopy
(dest, src, dir)
proj2/testing/tester.py:152
↓ 1 callers
Function
doCopy
(dest, src, dir)
proj2/testing/staff-runner.py:192
↓ 1 callers
Function
doCopy
(dest, src, dir)
proj2/testing/runner.py:195
↓ 1 callers
Function
doCopy
(dest, src, dir)
lab6/testing/tester.py:139
↓ 1 callers
Function
doCopy
(dest, src, dir)
lab6/testing/runner.py:160
↓ 1 callers
Function
doExecute
(cmnd, dir, timeout, line_num)
proj2/testing/tester.py:159
↓ 1 callers
Function
doExecute
(cmnd, dir, timeout)
proj2/testing/staff-runner.py:210
↓ 1 callers
Function
doExecute
(cmnd, dir, timeout)
proj2/testing/runner.py:213
← previous
next →
101–200 of 625, ranked by callers