MCPcopy Create free account

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

Functions625 in github.com/Berkeley-CS61B/skeleton-sp21

↓ 1 callersFunctiondoExecute
(cmnd, dir, timeout, line_num)
lab6/testing/tester.py:146
↓ 1 callersFunctiondoExecute
(cmnd, dir, timeout)
lab6/testing/runner.py:178
↓ 1 callersFunctiondoTest
(test)
proj2/testing/tester.py:270
↓ 1 callersFunctiondoTest
(test)
proj2/testing/staff-runner.py:304
↓ 1 callersFunctiondoTest
(test)
proj2/testing/runner.py:324
↓ 1 callersFunctiondoTest
(test)
lab6/testing/tester.py:257
↓ 1 callersFunctiondoTest
(test)
lab6/testing/runner.py:289
↓ 1 callersMethoddraw
Draws the tile to the screen at location x, y. If a valid filepath is provided, we draw the image located at that filepath to the screen. Otherwise, w
proj3/byow/TileEngine/TETile.java:84
↓ 1 callersMethoddump
Print useful information about this object on System.out.
proj2/gitlet/Dumpable.java:10
↓ 1 callersFunctioneditDistance
(s1, s2)
proj2/testing/tester.py:122
↓ 1 callersFunctioneditDistance
(s1, s2)
proj2/testing/staff-runner.py:154
↓ 1 callersFunctioneditDistance
(s1, s2)
proj2/testing/runner.py:157
↓ 1 callersFunctioneditDistance
(s1, s2)
lab6/testing/tester.py:109
↓ 1 callersFunctioneditDistance
(s1, s2)
lab6/testing/runner.py:122
↓ 1 callersMethoderror
Return a GitletException whose message is composed from MSG and ARGS as for the String.format method.
proj2/gitlet/Utils.java:229
↓ 1 callersMethoderror
Return a RuntimeException whose message is composed from MSG and ARGS as for the String.format method.
lab6/capers/Utils.java:150
↓ 1 callersMethoderrorBadIntegerInput
Prints a nice message for the user on bad input
lab8/speed/BucketsSpeedTest.java:112
↓ 1 callersMethoderrorBadIntegerInput
Prints a nice message for the user on bad input
lab8/speed/InsertRandomSpeedTest.java:142
↓ 1 callersMethoderrorBadIntegerInput
Prints a nice message for the user on bad input
lab7/bstmap/InsertRandomSpeedTest.java:155
↓ 1 callersMethodexp
Returns a random real number from an exponential distribution with rate λ. @param lambda the rate of the exponential distribution @return a ra
proj3/byow/Core/RandomUtils.java:341
↓ 1 callersMethodfib
Computes the nth Fibonacci number using a slow naive recursive strategy.
lab3/timingtest/StopwatchDemo.java:10
↓ 1 callersMethodfillWithRandomTiles
Fills the given 2D array of tiles with RANDOM tiles. @param tiles
proj3/byow/lab12/RandomWorldDemo.java:23
↓ 1 callersMethodfirstDigitEqualsLastDigit
Returns true if the last digit of x is equal to the first digit of x.
lab2/IntList/IntListExercises.java:52
↓ 1 callersMethodgetFirst
Returns the first item in the list.
lab3/timingtest/SLList.java:39
↓ 1 callersMethodgetKey
Returns one command string.
proj0/game2048/InputSource.java:9
↓ 1 callersMethodgetLast
Returns the item from the back of the list.
lab3/randomizedtest/BuggyAList.java:46
↓ 1 callersMethodgetLast
Returns the item from the back of the list.
lab3/randomizedtest/AListNoResizing.java:34
↓ 1 callersMethodgetLast
Returns the item from the back of the list.
lab3/timingtest/AList.java:45
↓ 1 callersMethodgetNewTile
Returns a candidate Tile whose row and column is in the range 0 .. SIZE-1.
proj0/game2048/InputSource.java:13
↓ 1 callersMethodgetNextKey
()
proj3/byow/InputDemo/InputSource.java:7
↓ 1 callersMethodincrementCharArray
Helper function for nextString. Increments the Pth position of X by one, wrapping around to 'a' if p == 'z'. If wraparound occurs, then we need to car
lab8/speed/StringUtils.java:62
↓ 1 callersMethodincrementCharArray
Helper function for nextString. Increments the Pth position of X by one, wrapping around to 'a' if p == 'z'. If wraparound occurs, then we need to car
lab7/bstmap/StringUtils.java:59
↓ 1 callersMethodinitialize
()
proj1/gh2/GuitarPlayer.java:36
↓ 1 callersMethodinsertRandom
Returns time needed to put N random strings of length L into the hashmap.Map61B 61bMap.
lab8/speed/BucketsSpeedTest.java:56
↓ 1 callersMethodinteractWithInputString
Method used for autograding and testing your code. The input string will be a series of characters (for example, "n123sswwdasdassadwas", "n123sss:q",
proj3/byow/Core/Engine.java:40
↓ 1 callersMethodinteractWithKeyboard
Method used for exploring a fresh world. This method should handle all inputs, including inputs from the main menu.
proj3/byow/Core/Engine.java:16
↓ 1 callersMethodisAllzs
Returns true if S is all 'z'. False for empty strings
lab8/speed/StringUtils.java:81
↓ 1 callersMethodisAllzs
Returns true if S is all 'z'. False for empty strings
lab7/bstmap/StringUtils.java:78
↓ 1 callersMethodisEmpty
()
proj1ec/student/Deque.java:11
↓ 1 callersMethodisSameNumber
@param a Value 1 @param b Value 2 @return Whether a and b are the same
lab4/flik/Flik.java:10
↓ 1 callersMethodjoin
(File first, String... others)
proj3/byow/Networking/BYOWClient.java:120
↓ 1 callersMethodjoin
(File first, String... others)
proj3/byow/Networking/BYOWServer.java:129
↓ 1 callersMethodkeyToSide
Return the side indicated by KEY ("Up", "Down", "Left", or "Right").
proj0/game2048/Game.java:61
↓ 1 callersFunctionline_reader
(f, prefix)
proj2/testing/tester.py:254
↓ 1 callersFunctionline_reader
(f, prefix)
proj2/testing/staff-runner.py:288
↓ 1 callersFunctionline_reader
(f, prefix)
proj2/testing/runner.py:308
↓ 1 callersFunctionline_reader
(f, prefix)
lab6/testing/tester.py:241
↓ 1 callersFunctionline_reader
(f, prefix)
lab6/testing/runner.py:273
↓ 1 callersMethodmax
Returns the max of a and b. Do not step into this function.
lab2/DebugExercise/DebugExercise2.java:9
↓ 1 callersMethodmerge
Return the result of merging OTHERTILE with me after moving to (COL, ROW).
proj0/game2048/Tile.java:53
↓ 1 callersMethodmodelTiles
Return the list of all Tiles in MODEL.
proj0/game2048/BoardWidget.java:185
↓ 1 callersMethodnewTiles
Return the list of all tiles in NEXTTILES that are newly created or the result of merging of current tiles.
proj0/game2048/BoardWidget.java:200
↓ 1 callersMethodnext
()
lab7/bstmap/ULLMap.java:119
↓ 1 callersFunctionnextCommand
(full_cmnd, timeout)
proj2/testing/staff-runner.py:164
↓ 1 callersMethodnextNumber
Buggy implementation of nextNumber!
lab1/Collatz.java:7
↓ 1 callersMethodplayGame
Clear the board and play one game, until receiving a quit or new-game request. Update the viewer with each added tile or change in the board from t
proj0/game2048/Game.java:25
↓ 1 callersMethodplaying
Return true iff we have not received a Quit command.
proj0/game2048/Game.java:18
↓ 1 callersMethodpossibleNextInput
()
proj3/byow/InputDemo/InputSource.java:8
↓ 1 callersMethodpower
This is a helper method to isPrime. You can ignore this method. It is an iterative Function to calculate a^n mod p in log time @source: https://www.g
lab2/IntList/Primes.java:49
↓ 1 callersMethodprintDeque
()
proj1ec/student/StudentArrayDeque.java:152
↓ 1 callersMethodprintInfoOnStackOverflow
To be called after catching a StackOverflowError Prints the error with corresponding N and L
lab8/speed/BucketsSpeedTest.java:104
↓ 1 callersMethodrandomTile
Picks a RANDOM tile with a 33% change of being a wall, 33% chance of being a flower, and 33% chance of being empty space.
proj3/byow/lab12/RandomWorldDemo.java:37
↓ 1 callersMethodreadContents
Return the entire contents of FILE as a byte array. FILE must be a normal file. Throws IllegalArgumentException in case of problems.
proj2/gitlet/Utils.java:96
↓ 1 callersMethodreadContents
Return the entire contents of FILE as a byte array. FILE must be a normal file. Throws IllegalArgumentException in case of problems.
lab6/capers/Utils.java:32
↓ 1 callersMethodreadKey
Return the next pending event, waiting for it as necessary. Ordinary key presses are reported as the key codes of the character pressed. In additio
proj0/game2048/GUI.java:67
↓ 1 callersMethodreadObject
Return an object of type T read from FILE, casting it to EXPECTEDCLASS. Throws IllegalArgumentException in case of problems.
proj2/gitlet/Utils.java:141
↓ 1 callersMethodremoveFirst
()
proj1ec/student/Deque.java:17
↓ 1 callersMethodremoveLast
()
proj1ec/student/Deque.java:18
↓ 1 callersMethodrender
Render TILE on G.
proj0/game2048/BoardWidget.java:139
↓ 1 callersMethodresize
Resizes the underlying array to the target capacity.
lab3/timingtest/AList.java:28
↓ 1 callersMethodsample
()
proj1/gh2/GuitarPlayer.java:53
↓ 1 callersMethodsendCanvas
()
proj3/byow/Networking/BYOWServer.java:42
↓ 1 callersMethodsendCommand
(String msg)
proj3/byow/Networking/BYOWClient.java:68
↓ 1 callersMethodserialize
Returns a byte array containing the serialized contents of OBJ.
proj2/gitlet/Utils.java:211
↓ 1 callersMethodserialize
Returns a byte array containing the serialized contents of OBJ.
lab6/capers/Utils.java:117
↓ 1 callersMethodsetSeed
Sets random seed to L so that results of randomString are predictable.
lab8/speed/StringUtils.java:17
↓ 1 callersMethodsetupPersistence
Does required filesystem operations to allow for persistence. (creates any necessary folders or files) Remember: recommended structure (you do not hav
lab6/capers/CapersRepository.java:33
↓ 1 callersMethodshouldClose
()
proj3/byow/Networking/BYOWClient.java:44
↓ 1 callersMethodshuffle
Rearranges the elements of the specified array in uniformly random order. @param a the array to shuffle @throws IllegalArgumentException if {@code a}
proj3/byow/Core/RandomUtils.java:354
↓ 1 callersMethodsize
Returns the size of the list.
lab3/timingtest/SLList.java:71
↓ 1 callersMethodsquarePrimes
Part C: (Buggy) mutative method that squares each prime element of the IntList. @param lst IntList from Lecture @return True if there was an update t
lab2/IntList/IntListExercises.java:68
↓ 1 callersMethodstartConnection
(String ip, int port)
proj3/byow/Networking/BYOWClient.java:33
↓ 1 callersMethodstartGame
()
proj3/byow/lab13/MemoryGame.java:78
↓ 1 callersFunctionstepIntoCommand
(full_cmnd)
proj2/testing/runner.py:170
↓ 1 callersFunctionstepIntoCommand
(full_cmnd)
lab6/testing/runner.py:135
↓ 1 callersMethodsumOfElementwiseMaxes
Returns the sum of the element-wise max of a and b. For example if a = {2, 0, 10, 14} and b = {-5, 5, 20, 30}, the result should be 57.
lab2/DebugExercise/DebugExercise2.java:71
↓ 1 callersMethodtic
()
proj1/gh2/GuitarPlayer.java:45
↓ 1 callersMethodtimeAListConstruction
()
lab3/timingtest/TimeAList.java:24
↓ 1 callersMethodtimeGetLast
()
lab3/timingtest/TimeSLList.java:24
↓ 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
lab8/speed/InsertInOrderSpeedTest.java:101
↓ 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
lab7/bstmap/InsertInOrderSpeedTest.java:119
↓ 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
lab7/bstmap/InsertInOrderSpeedTest.java:103
↓ 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
lab8/speed/InsertRandomSpeedTest.java:101
↓ 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 er
lab7/bstmap/InsertRandomSpeedTest.java:116
↓ 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 abou
lab7/bstmap/InsertRandomSpeedTest.java:100
↓ 1 callersMethodwriteContents
Write the result of concatenating the bytes in CONTENTS to FILE, creating or overwriting it as needed. Each object in CONTENTS may be either a Stri
proj2/gitlet/Utils.java:118
↓ 1 callersMethodwriteContents
Write the result of concatenating the bytes in CONTENTS to FILE, creating or overwriting it as needed. Each object in CONTENTS may be either a Stri
lab6/capers/Utils.java:54
↓ 1 callersMethodwriteObject
Write OBJ to FILE.
proj2/gitlet/Utils.java:156
↓ 1 callersMethodwriteObject
Write OBJ to FILE.
lab6/capers/Utils.java:92
↓ 1 callersMethodwriteStory
Appends the first non-command argument in args to a file called `story` in the .capers directory. @param text String of the text to be appended to the
lab6/capers/CapersRepository.java:42
← previousnext →201–300 of 625, ranked by callers