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
↓ 65 callers
Method
put
(K key, V value)
lab7/bstmap/Map61B.java:26
↓ 57 callers
Method
toString
()
proj0/game2048/Tile.java:70
↓ 55 callers
Method
tilt
Tilt the board toward SIDE. Return true iff this changes the board. 1. If two Tile objects are adjacent in the direction of motion and have the sa
proj0/game2048/Model.java:109
↓ 54 callers
Method
checkModel
Checks that the static variable model is configured as described by VALUES with score attribute SCORE. @param values - a 2D array of integers describ
proj0/game2048/TestUtils.java:46
↓ 48 callers
Method
updateModel
Updates the static variable model to be the Model with board attribute as described by VALUES.
proj0/game2048/TestUtils.java:29
↓ 47 callers
Method
get
(K key)
lab7/bstmap/Map61B.java:20
↓ 44 callers
Method
containsKey
(K key)
lab7/bstmap/Map61B.java:15
↓ 41 callers
Method
checkChanged
Checks that the returned boolean of a call to the tilt method is correct. @param s - the side that was tilted (the parameter to tilt). @param expecte
proj0/game2048/TestUtils.java:64
↓ 26 callers
Method
size
()
lab7/bstmap/Map61B.java:23
↓ 22 callers
Method
uniform
Returns a random real number uniformly in [0, 1). @return a random real number uniformly in [0, 1)
proj3/byow/Core/RandomUtils.java:22
↓ 19 callers
Function
Group
(n)
proj2/testing/tester.py:112
↓ 19 callers
Function
Group
(n)
proj2/testing/staff-runner.py:144
↓ 19 callers
Function
Group
(n)
proj2/testing/runner.py:147
↓ 19 callers
Function
Group
(n)
lab6/testing/tester.py:99
↓ 19 callers
Function
Group
(n)
lab6/testing/runner.py:112
↓ 19 callers
Method
sample
()
proj1/gh2/GuitarString.java:50
↓ 18 callers
Function
Match
(patn, s)
proj2/testing/tester.py:107
↓ 18 callers
Function
Match
(patn, s)
proj2/testing/runner.py:142
↓ 18 callers
Function
Match
(patn, s)
lab6/testing/tester.py:94
↓ 18 callers
Function
Match
(patn, s)
lab6/testing/runner.py:107
↓ 17 callers
Function
Match
(patn, s)
proj2/testing/staff-runner.py:139
↓ 15 callers
Method
equals
(Object o)
proj0/game2048/Model.java:186
↓ 15 callers
Method
remove
(K key)
lab7/bstmap/Map61B.java:35
↓ 12 callers
Method
addTile
Adds the tile T to the board
proj0/game2048/Board.java:79
↓ 12 callers
Method
create
Return a new tile at (ROW, COL) with value VALUE.
proj0/game2048/Tile.java:40
↓ 11 callers
Method
atLeastOneMoveExists
Returns true if there are any valid moves on the board. There are two ways that there can be valid moves: 1. There is at least one empty space on the
proj0/game2048/Model.java:160
↓ 11 callers
Method
clear
Removes all of the mappings from this map.
lab7/bstmap/Map61B.java:12
↓ 11 callers
Method
value
Return the value supplied to my constructor.
proj0/game2048/Tile.java:29
↓ 10 callers
Method
gameOver
Return true iff the game is over (there are no moves, or there is a tile with value 2048 on the board).
proj0/game2048/Model.java:63
↓ 10 callers
Method
size
()
proj1ec/student/Deque.java:15
↓ 9 callers
Method
get
(int index)
proj1ec/student/Deque.java:19
↓ 9 callers
Method
maxTileExists
Returns true if any tile is equal to the maximum valid value. Maximum valid value is given by MAX_PIECE. Note that given a Tile object t, we get its v
proj0/game2048/Model.java:149
↓ 8 callers
Method
emptySpaceExists
Returns true if at least one space on the Board is empty. Empty spaces are stored as null.
proj0/game2048/Model.java:139
↓ 8 callers
Method
tic
()
proj1/gh2/GuitarString.java:43
↓ 7 callers
Method
col
Return the standard column number for square (C, R) on a board of size SIZE oriented with this Side on top.
proj0/game2048/Side.java:56
↓ 7 callers
Method
join
Return the concatentation of FIRST and OTHERS into a File designator, analogous to the {@link java.nio.file.Paths.#get(String, String[])} method.
proj2/gitlet/Utils.java:196
↓ 7 callers
Method
of
Method to create an IntList from an argument list. You don't have to understand this code. We have it here because it's convenient with testing. It's
lab2/IntList/IntList.java:60
↓ 7 callers
Method
pluck
()
proj1/gh2/GuitarString.java:29
↓ 7 callers
Method
row
Return the standard row number for square (C, R) on a board of size SIZE oriented with this Side on top.
proj0/game2048/Side.java:62
↓ 7 callers
Method
toString
Method to return a string representation of an IntList
lab2/IntList/IntList.java:40
↓ 7 callers
Method
validateNotNull
(Object x)
proj3/byow/Core/RandomUtils.java:533
↓ 7 callers
Method
waitForPositiveInt
Waits for the user on other side of Scanner to enter a positive int, and outputs that int
lab8/speed/InsertRandomSpeedTest.java:117
↓ 6 callers
Method
add
Returns the sum of a and b. Do not step into this function.
lab2/DebugExercise/DebugExercise2.java:21
↓ 6 callers
Method
max
Returns the max value in the IntList starting at L.
lab2/IntList/IntListExercises.java:37
↓ 6 callers
Method
size
Returns the size of the board.
proj0/game2048/Board.java:50
↓ 5 callers
Method
functionalityTest
()
lab8/hashmap/TestMyHashMap.java:116
↓ 5 callers
Method
next
Return my next state. Before I am moved or merged, I am my own successor.
proj0/game2048/Tile.java:35
↓ 5 callers
Method
sanityClearTest
()
lab8/hashmap/TestMyHashMap.java:25
↓ 5 callers
Method
sanityContainsKeyTest
()
lab8/hashmap/TestMyHashMap.java:45
↓ 5 callers
Method
sanityGetTest
()
lab8/hashmap/TestMyHashMap.java:57
↓ 5 callers
Method
sanityKeySetTest
()
lab8/hashmap/TestMyHashMap.java:98
↓ 5 callers
Method
sanityPutTest
()
lab8/hashmap/TestMyHashMap.java:88
↓ 5 callers
Method
sanitySizeTest
()
lab8/hashmap/TestMyHashMap.java:72
↓ 5 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.
proj0/game2048/Board.java:67
↓ 5 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/BucketsSpeedTest.java:71
↓ 4 callers
Method
a
()
proj1ec/student/StudentArrayDeque.java:195
↓ 4 callers
Method
join
Return the concatentation of FIRST and OTHERS into a File designator, analogous to the {@link java.nio.file.Paths.#get(String, String[])} method.
lab6/capers/Utils.java:102
↓ 4 callers
Function
reportDetails
(test, included_files, line_num)
proj2/testing/tester.py:229
↓ 4 callers
Function
reportDetails
(test, included_files, line_num)
proj2/testing/staff-runner.py:263
↓ 4 callers
Function
reportDetails
(test, included_files, line_num)
proj2/testing/runner.py:283
↓ 4 callers
Function
reportDetails
(test, included_files, line_num)
lab6/testing/tester.py:216
↓ 4 callers
Function
reportDetails
(test, included_files, line_num)
lab6/testing/runner.py:248
↓ 4 callers
Method
sum
Computes sum of two ints (incorrectly). @param a Value 1 @param b Value 2 @return Sum of a and b
lab2/Arithmetic/Arithmetic.java:22
↓ 4 callers
Method
toString
()
proj0/game2048/Model.java:166
↓ 3 callers
Method
addConstant
Part A: (Buggy) mutative method that adds a constant C to each element of an IntList @param lst IntList from Lecture
lab2/IntList/IntListExercises.java:11
↓ 3 callers
Method
checkGameOver
Checks if the game is over and sets the gameOver variable appropriately.
proj0/game2048/Model.java:127
↓ 3 callers
Method
col
Return my current column.
proj0/game2048/Tile.java:24
↓ 3 callers
Function
contents
(filename)
proj2/testing/tester.py:115
↓ 3 callers
Function
contents
(filename)
proj2/testing/staff-runner.py:147
↓ 3 callers
Function
contents
(filename)
proj2/testing/runner.py:150
↓ 3 callers
Function
contents
(filename)
lab6/testing/tester.py:102
↓ 3 callers
Function
contents
(filename)
lab6/testing/runner.py:115
↓ 3 callers
Method
divideThenRound
(int top, int bottom)
lab2/DebugExercise/DebugExercise1.java:8
↓ 3 callers
Method
insertInOrder
Returns time needed to put N strings into a Map61B in increasing order. makes use of StringUtils.nextString(String s)
lab7/bstmap/InsertInOrderSpeedTest.java:49
↓ 3 callers
Method
insertRandom
Returns time needed to put N random strings of length L into the Map61B 61bMap.
lab7/bstmap/InsertRandomSpeedTest.java:45
↓ 3 callers
Method
newColorValue
(int v, int dv, Random r)
proj3/byow/TileEngine/TETile.java:138
↓ 3 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
lab7/bstmap/StringUtils.java:43
↓ 3 callers
Method
play
()
proj1/gh2/GuitarPlayer.java:61
↓ 3 callers
Method
printInfoOnStackOverflow
To be called after catching a StackOverflowError Prints the error with corresponding N and L
lab7/bstmap/InsertInOrderSpeedTest.java:136
↓ 3 callers
Method
printInfoOnStackOverflow
To be called after catching a StackOverflowError Prints the error with corresponding N and L
lab7/bstmap/InsertRandomSpeedTest.java:149
↓ 3 callers
Method
product
Computes product of two ints. @param a Value 1 @param b Value 2 @return Product of a and b
lab2/Arithmetic/Arithmetic.java:13
↓ 3 callers
Method
randomString
Returns the next random string of length LENGTH.
lab8/speed/StringUtils.java:22
↓ 3 callers
Method
randomString
Returns the next random string of length LENGTH.
lab7/bstmap/StringUtils.java:22
↓ 3 callers
Method
row
Return my current row.
proj0/game2048/Tile.java:19
↓ 3 callers
Method
setToZeroIfMaxFEL
Part B: Buggy method that sets node.first to zero if the max value in the list starting at node has the same first and last digit, for every node in L
lab2/IntList/IntListExercises.java:26
↓ 3 callers
Method
stopConnection
()
proj3/byow/Networking/BYOWClient.java:57
↓ 3 callers
Method
stopConnection
()
proj3/byow/Networking/BYOWServer.java:76
↓ 3 callers
Method
tick
Wait for one tick (TICK milliseconds).
proj0/game2048/BoardWidget.java:212
↓ 3 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
proj3/byow/TileEngine/TETile.java:155
↓ 3 callers
Method
toString
()
lab6/capers/Dog.java:62
↓ 3 callers
Method
validateNumArgs
Checks the number of arguments versus the expected number, throws a RuntimeException if they do not match. @param cmd Name of command you are validat
lab6/capers/Main.java:75
↓ 3 callers
Method
validateSubarrayIndices
(int lo, int hi, int length)
proj3/byow/Core/RandomUtils.java:540
↓ 3 callers
Method
waitForPositiveInt
Waits for the user on other side of Scanner to enter a positive int, and outputs that int
lab7/bstmap/InsertRandomSpeedTest.java:132
↓ 2 callers
Function
Usage
()
proj2/testing/tester.py:102
↓ 2 callers
Function
Usage
()
lab6/testing/tester.py:89
↓ 2 callers
Method
accept
(File dir, String name)
proj2/gitlet/Utils.java:165
↓ 2 callers
Function
canonicalize
(s)
proj2/testing/tester.py:197
↓ 2 callers
Function
canonicalize
(s)
proj2/testing/staff-runner.py:231
↓ 2 callers
Function
canonicalize
(s)
proj2/testing/runner.py:251
↓ 2 callers
Function
canonicalize
(s)
lab6/testing/tester.py:184
next →
1–100 of 625, ranked by callers