Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/aosabook/500lines
/ functions
Functions
2,260 in github.com/aosabook/500lines
⨍
Functions
2,260
◇
Types & classes
196
↳
Endpoints
8
↓ 3 callers
Method
get_ray
Generate a ray beginning at the near plane, in the direction that the x, y coordinates are facing Consumes: x, y coordinates of mouse on
modeller/code/viewer.py:135
↓ 3 callers
Method
get_root_address
(self)
data-store/code/dbdb/tests/test_binary_tree.py:24
↓ 3 callers
Function
getbasename
(chapter_markdown)
build.py:206
↓ 3 callers
Function
getter
(obj, path, bindFnToScope)
spreadsheet/code/lib/angular.js:1644
↓ 3 callers
Method
greenFilter
()
image-filters/code/com/catehuston/imagefilter/model/ImageState.java:41
↓ 3 callers
Method
handle_error
(self, msg)
web-server/code/05-refactored/server.py:173
↓ 3 callers
Method
handle_error
(self, msg)
web-server/code/04-cgi/server.py:165
↓ 3 callers
Method
handle_error
(self, msg)
web-server/code/03-handlers/server-no-index-page.py:144
↓ 3 callers
Function
htmlify_refs
(text)
_build/preprocessor.py:165
↓ 3 callers
Method
hue
(PApplet applet, int pixel)
image-filters/code/com/catehuston/imagefilter/color/PixelColorHelper.java:31
↓ 3 callers
Method
hueTolerance
()
image-filters/code/com/catehuston/imagefilter/model/ImageState.java:49
↓ 3 callers
Function
i
()
pedometer/code/public/jquery.min.js:2
↓ 3 callers
Method
indent
Increase the current indent for following lines.
template-engine/code/templite.py:39
↓ 3 callers
Method
intersections
(self, c, p)
incomplete/rasterizer/rasterizer/ellipse.py:47
↓ 3 callers
Method
inverse
(self)
incomplete/rasterizer/rasterizer/geometry.py:93
↓ 3 callers
Function
isSuccess
(status)
spreadsheet/code/lib/angular.js:8524
↓ 3 callers
Function
is_negzero
(num)
incomplete/bytecode-compiler/check_subset.py:230
↓ 3 callers
Function
jqLiteAddNodes
(root, elements)
spreadsheet/code/lib/angular.js:2655
↓ 3 callers
Function
jqLiteInheritedData
(element, name, value)
spreadsheet/code/lib/angular.js:2685
↓ 3 callers
Function
jqLiteIsTextNode
(html)
spreadsheet/code/lib/angular.js:2423
↓ 3 callers
Method
kill
(self, node)
cluster/code/test/test_integration.py:47
↓ 3 callers
Method
leader_alive
(self)
cluster/code/cluster.py:270
↓ 3 callers
Function
link
* bidirectionally links two entries of the LRU linked list
spreadsheet/code/lib/angular.js:5591
↓ 3 callers
Method
log_pmf
Compute the log probability the given magical item. Parameters ---------- item: dictionary The keys are the names
sampler/code/rpg.py:51
↓ 3 callers
Function
makeEmptyFunction
* Copyright 2013-2014, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICEN
spreadsheet/code/as-react-livescript/main.js:18775
↓ 3 callers
Function
makespan
Computes the makespan of the provided solution For scheduling problems, the makespan refers to the difference between the earliest start time
flow-shop/code/flow.py:226
↓ 3 callers
Function
mb
(a)
pedometer/code/public/highcharts.js:12
↓ 3 callers
Function
nb
(a,b,c,d)
pedometer/code/public/highcharts.js:12
↓ 3 callers
Function
nextUid
* A consistent way of creating unique IDs in angular. * * Using simple numbers allows us to generate 28.6 million unique ids per second for 10 years
spreadsheet/code/lib/angular.js:389
↓ 3 callers
Function
ob
(a,b)
pedometer/code/public/highcharts.js:13
↓ 3 callers
Function
parse
(path)
contingent/code/example/blog_project.py:34
↓ 3 callers
Method
pop_block
(self)
interpreter/code/byterun/pyvm2.py:51
↓ 3 callers
Function
q
(a)
pedometer/code/public/highcharts.js:52
↓ 3 callers
Function
quote
(string)
spreadsheet/code/as-react-livescript/main.js:2210
↓ 3 callers
Method
record_statistic
Record the FetchStatistic for completed / failed URL.
crawler/code/crawling.py:120
↓ 3 callers
Method
redFilter
()
image-filters/code/com/catehuston/imagefilter/model/ImageState.java:45
↓ 3 callers
Method
referent_to_string
(referent)
data-store/code/dbdb/logical.py:6
↓ 3 callers
Method
resize
(int width, int height)
image-filters/code/com/catehuston/imagefilter/model/IFAImage.java:45
↓ 3 callers
Function
resolvePromise
* Resolves the raw $http promise.
spreadsheet/code/lib/angular.js:9501
↓ 3 callers
Function
rotate
Rotate a 2-vector to the angle specified by given direction cosines.
incomplete/search-engine/skipdiagram.py:153
↓ 3 callers
Function
scaling
(scale)
modeller/code/transformation.py:11
↓ 3 callers
Function
scheduleProcessQueue
(state)
spreadsheet/code/lib/angular.js:12927
↓ 3 callers
Method
send_content
(self, content, status=200)
web-server/code/03-handlers/server-no-index-page.py:149
↓ 3 callers
Method
set_result
(self, result)
crawler/code/supplemental/loop-with-coroutines.py:27
↓ 3 callers
Function
shouldUpdateReactComponent
* Given a `prevElement` and `nextElement`, determines if the existing * instance should be updated as opposed to being destroyed or replaced by a ne
spreadsheet/code/as-react-livescript/main.js:14293
↓ 3 callers
Function
simpleBind
(context, fn)
spreadsheet/code/lib/angular.js:12897
↓ 3 callers
Function
sliceArgs
(args, startIndex)
spreadsheet/code/lib/angular.js:1008
↓ 3 callers
Function
snake_case
(name, separator)
spreadsheet/code/lib/angular.js:1545
↓ 3 callers
Method
spawn_scout
(self)
cluster/code/cluster.py:386
↓ 3 callers
Function
stringBasedInputType
(ctrl)
spreadsheet/code/lib/angular.js:19243
↓ 3 callers
Function
stripFile
(url)
spreadsheet/code/lib/angular.js:10392
↓ 3 callers
Function
title_of
(path)
contingent/code/example/blog_project.py:54
↓ 3 callers
Function
toKeyValue
(obj)
spreadsheet/code/lib/angular.js:1176
↓ 3 callers
Function
toggleValidationCss
(validationErrorKey, isValid)
spreadsheet/code/lib/angular.js:21408
↓ 3 callers
Method
translate
translate the camera
modeller/code/interaction.py:43
↓ 3 callers
Function
u
(ai,ag,Y)
spreadsheet/code/as-react-livescript/main.js:4199
↓ 3 callers
Method
unlock
(self)
data-store/code/dbdb/physical.py:41
↓ 3 callers
Function
upToDate
()
spreadsheet/code/as-react-livescript/main.js:1095
↓ 3 callers
Method
use_line
(self)
cluster/code/extract_code.py:24
↓ 3 callers
Function
validateTypeDef
(Constructor, typeDef, location)
spreadsheet/code/as-react-livescript/main.js:7241
↓ 3 callers
Function
vector
(degrees, magnitude)
blockcode/code/gamelib/game.js:17
↓ 3 callers
Method
visit
(task)
contingent/code/contingent/graphlib.py:91
↓ 3 callers
Function
warnUnknownProperty
(name)
spreadsheet/code/as-react-livescript/main.js:5858
↓ 3 callers
Function
wrapTemplate
(type, template)
spreadsheet/code/lib/angular.js:7924
↓ 3 callers
Function
write_tuples
(outfile, tuples)
incomplete/search-engine/index.py:13
↓ 3 callers
Function
y
(a,c,f,i)
pedometer/code/public/jquery.min.js:2
↓ 3 callers
Function
z
(aa)
spreadsheet/code/as-react-livescript/main.js:4199
↓ 2 callers
Function
$http
* @ngdoc service * @kind function * @name $http * @requires ng.$httpBackend * @requires $cacheFactory * @requires $rootScope
spreadsheet/code/lib/angular.js:9149
↓ 2 callers
Function
Bb
()
pedometer/code/public/highcharts.js:14
↓ 2 callers
Function
J
(a,c,d)
pedometer/code/public/jquery.min.js:2
↓ 2 callers
Function
K
(a)
pedometer/code/public/jquery.min.js:2
↓ 2 callers
Function
L
(Y)
spreadsheet/code/as-react-livescript/main.js:4199
↓ 2 callers
Function
ReactTextComponent
(props)
spreadsheet/code/as-react-livescript/main.js:12001
↓ 2 callers
Function
_
(a)
pedometer/code/public/jquery.min.js:2
↓ 2 callers
Method
__init__
Every object has a class.
objmodel/code/02-attr-based/objmodel.py:6
↓ 2 callers
Method
__init__
Every object has a class.
objmodel/code/03-customizable/objmodel.py:6
↓ 2 callers
Method
__init__
(self, attrs)
objmodel/code/04-maps/objmodel.py:61
↓ 2 callers
Method
__init__
Every object has a class.
objmodel/code/01-smalltalk-like/objmodel.py:6
↓ 2 callers
Function
_assertCheckedLink
(input)
spreadsheet/code/as-react-livescript/main.js:21694
↓ 2 callers
Function
_assertSingleLink
(input)
spreadsheet/code/as-react-livescript/main.js:21678
↓ 2 callers
Function
_assertValueLink
(input)
spreadsheet/code/as-react-livescript/main.js:21685
↓ 2 callers
Method
_get_orientation
Return current computed orientation (theta,phi).
modeller/code/trackball.py:264
↓ 2 callers
Method
_project
Project an x,y pair onto a sphere of radius r OR a hyperbolic sheet if we are away from the center of the sphere.
modeller/code/trackball.py:288
↓ 2 callers
Function
_q_add
(q1,q2)
modeller/code/trackball.py:110
↓ 2 callers
Function
_q_rotmatrix
(q)
modeller/code/trackball.py:131
↓ 2 callers
Method
_read_integer
(self)
data-store/code/dbdb/physical.py:59
↓ 2 callers
Method
_seek_end
(self)
data-store/code/dbdb/physical.py:47
↓ 2 callers
Method
_seek_superblock
(self)
data-store/code/dbdb/physical.py:50
↓ 2 callers
Function
_v_add
(v1, v2)
modeller/code/trackball.py:90
↓ 2 callers
Function
_v_cross
(v1, v2)
modeller/code/trackball.py:98
↓ 2 callers
Function
_v_dot
(v1, v2)
modeller/code/trackball.py:96
↓ 2 callers
Function
_v_length
(v)
modeller/code/trackball.py:102
↓ 2 callers
Method
_write_integer
(self, integer)
data-store/code/dbdb/physical.py:62
↓ 2 callers
Function
addClasses
(classes)
spreadsheet/code/lib/angular.js:21660
↓ 2 callers
Function
addIdentifier
(locals, identifier, instance, name)
spreadsheet/code/lib/angular.js:8359
↓ 2 callers
Function
addLinkFns
(pre, post, attrStart, attrEnd)
spreadsheet/code/lib/angular.js:7393
↓ 2 callers
Function
addSetValidityMethod
(context)
spreadsheet/code/lib/angular.js:21322
↓ 2 callers
Method
add_forced_break_blocks
(self)
incomplete/typesetting-engine/breakpoints.py:86
↓ 2 callers
Method
add_indent_block
(self, width)
incomplete/typesetting-engine/breakpoints.py:83
↓ 2 callers
Method
add_url
Add a URL to the queue if not seen before.
crawler/code/crawling.py:258
← previous
next →
401–500 of 2,260, ranked by callers