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
↓ 4 callers
Function
forEachAccumulated
(arr, cb, scope)
spreadsheet/code/as-react-livescript/main.js:23059
↓ 4 callers
Function
getBlockNodes
* Return the DOM siblings between the first and last node in the given array. * @param {Array} array like object * @returns {jqLite} jqLite collecti
spreadsheet/code/lib/angular.js:1668
↓ 4 callers
Function
getEventCharCode
* `charCode` represents the actual "character code" and is safe to use with * `String.fromCharCode`. As such, only keys that correspond to printable
spreadsheet/code/as-react-livescript/main.js:22496
↓ 4 callers
Method
getPixels
()
image-filters/code/com/catehuston/imagefilter/model/IFAImage.java:33
↓ 4 callers
Function
getReactRootID
* @param {DOMElement} container DOM element that may contain a React component. * @return {?string} A "reactRoot" ID, if a React component is render
spreadsheet/code/as-react-livescript/main.js:10363
↓ 4 callers
Function
hotEnsureUpdateChunk
(chunkId)
spreadsheet/code/as-react-livescript/main.js:233
↓ 4 callers
Method
index_path
(self, handler)
web-server/code/04-cgi/server.py:48
↓ 4 callers
Function
isBoundary
* Checks if a character in the supplied ID is a separator or the end. * * @param {string} id A React DOM ID. * @param {number} index Index of th
spreadsheet/code/as-react-livescript/main.js:9761
↓ 4 callers
Function
isPromiseLike
(obj)
spreadsheet/code/lib/angular.js:661
↓ 4 callers
Function
isRegExp
* Determines if a value is a regular expression object. * * @private * @param {*} value Reference to check. * @returns {boolean} True if `value` i
spreadsheet/code/lib/angular.js:624
↓ 4 callers
Function
isValid
* A node is "valid" if it is contained by a currently mounted container. * * This means that the node does not have to be contained by a document
spreadsheet/code/as-react-livescript/main.js:10446
↓ 4 callers
Method
isinstance
return True if the object is an instance of class cls
objmodel/code/02-attr-based/objmodel.py:27
↓ 4 callers
Method
isinstance
return True if the object is an instance of class cls
objmodel/code/03-customizable/objmodel.py:32
↓ 4 callers
Method
isinstance
return True if the object is an instance of class cls
objmodel/code/04-maps/objmodel.py:31
↓ 4 callers
Method
isinstance
return True if the object is an instance of class cls
objmodel/code/01-smalltalk-like/objmodel.py:19
↓ 4 callers
Function
jqLiteDealoc
(element, onlyDescendants)
spreadsheet/code/lib/angular.js:2516
↓ 4 callers
Function
jqLiteExpandoStore
(element, createIfNecessary)
spreadsheet/code/lib/angular.js:2581
↓ 4 callers
Method
jump
Move the bytecode pointer to `jump`, so it will execute next.
interpreter/code/byterun/simple_python_interpreter.py:78
↓ 4 callers
Function
k
(b)
pedometer/code/public/jquery.min.js:2
↓ 4 callers
Method
kill
(self, node)
cluster/code/test/test_network.py:19
↓ 4 callers
Function
locationGetter
(property)
spreadsheet/code/lib/angular.js:10892
↓ 4 callers
Function
makePromise
(value, resolved)
spreadsheet/code/lib/angular.js:13049
↓ 4 callers
Method
move
Execute a move command on the scene.
modeller/code/viewer.py:164
↓ 4 callers
Method
next
(self)
cluster/code/extract_code.py:20
↓ 4 callers
Function
node
(task)
contingent/code/contingent/rendering.py:18
↓ 4 callers
Function
padNumber
(num, digits, trim)
spreadsheet/code/lib/angular.js:16720
↓ 4 callers
Function
penUp
()
blockcode/code/turtle.js:91
↓ 4 callers
Method
propose
Send (or resend, if slot is specified) a proposal to the leader
cluster/code/cluster.py:205
↓ 4 callers
Method
push_block
(self, b_type, handler=None)
interpreter/code/byterun/pyvm2.py:47
↓ 4 callers
Function
read_tuples
(infile)
incomplete/search-engine/index.py:17
↓ 4 callers
Function
reloadApp
()
spreadsheet/code/as-react-livescript/main.js:1078
↓ 4 callers
Function
replaceWith
* This is a special jqLite.replaceWith, which can replace items which * have no parents, provided that the containing jqLite collection is provid
spreadsheet/code/lib/angular.js:8030
↓ 4 callers
Function
report
(*args, **kwargs)
incomplete/bytecode-compiler/driver.py:15
↓ 4 callers
Function
reverseComparator
(comp, descending)
spreadsheet/code/lib/angular.js:17335
↓ 4 callers
Function
run_example
(example, filename)
incomplete/rasterizer/run_examples.py:7
↓ 4 callers
Function
safeAddClass
($element, className)
spreadsheet/code/lib/angular.js:6771
↓ 4 callers
Method
sample
Sample the attack damage. Returns ------- int The sampled damage
sampler/code/rpg.py:220
↓ 4 callers
Method
save
(self)
ocr/code/ocr.py:98
↓ 4 callers
Function
scale
(x, y)
incomplete/rasterizer/rasterizer/geometry.py:113
↓ 4 callers
Function
scrollTo
(elem)
spreadsheet/code/lib/angular.js:4387
↓ 4 callers
Method
send_content
(self, content, status=200)
web-server/code/05-refactored/server.py:178
↓ 4 callers
Method
send_content
(self, content, status=200)
web-server/code/04-cgi/server.py:170
↓ 4 callers
Method
send_prepare
(self)
cluster/code/cluster.py:337
↓ 4 callers
Method
setupNetwork
(self, count, execute_fn=None)
cluster/code/test/test_integration.py:33
↓ 4 callers
Method
signed_distance_bound
(self, p)
incomplete/rasterizer/rasterizer/csg.py:20
↓ 4 callers
Method
store
(self, storage)
data-store/code/dbdb/logical.py:26
↓ 4 callers
Function
traverseAllChildren
* Traverses children that are typically specified as `props.children`, but * might also be specified through attributes: * * - `traverseAllChild
spreadsheet/code/as-react-livescript/main.js:13146
↓ 4 callers
Function
trigger
()
spreadsheet/code/lib/angular.js:2739
↓ 4 callers
Method
updateImage
(PApplet applet, int hueRange, int rgbColorRange, int imageMax)
image-filters/code/com/catehuston/imagefilter/model/ImageState.java:65
↓ 4 callers
Function
updateLabelMap
* A new labelMap is created with each render. * This function is called for each existing option with added=false, * and each new op
spreadsheet/code/lib/angular.js:25334
↓ 4 callers
Method
update_accepted
(self, accepted_proposals)
cluster/code/cluster.py:341
↓ 4 callers
Function
validationDone
(allValid)
spreadsheet/code/lib/angular.js:20361
↓ 4 callers
Method
verifyAcceptedProposals
Verify that the ``accepted_proposals`` field of a promise is formatted as a dictionary mapping slots to (ballot, proposal) tuples.
cluster/code/test/utils.py:30
↓ 3 callers
Function
A
()
spreadsheet/code/as-react-livescript/main.js:4199
↓ 3 callers
Function
H
()
spreadsheet/code/as-react-livescript/main.js:4199
↓ 3 callers
Function
P
(aa,ab,X,Z)
spreadsheet/code/as-react-livescript/main.js:4199
↓ 3 callers
Method
__init__
(self, v1, v2, color=None)
incomplete/rasterizer/rasterizer/csg.py:5
↓ 3 callers
Method
_expr_code
Generate a Python expression for `expr`.
template-engine/code/templite.py:197
↓ 3 callers
Method
_get_f_contents
(self)
data-store/code/dbdb/tests/test_physical.py:20
↓ 3 callers
Method
_read_from_class
(self, methname)
objmodel/code/03-customizable/objmodel.py:87
↓ 3 callers
Method
_read_from_class
(self, methname)
objmodel/code/04-maps/objmodel.py:123
↓ 3 callers
Method
_set_orientation
Computes rotation corresponding to theta and phi.
modeller/code/trackball.py:272
↓ 3 callers
Method
_variable
Track that `name` is used as a variable. Adds the name to `vars_set`, a set of variable names. Raises an syntax error if `name` is n
template-engine/code/templite.py:219
↓ 3 callers
Method
activate_leader
(self)
cluster/code/test/test_leader.py:36
↓ 3 callers
Function
addInterceptor
(parsedExpression, interceptorFn)
spreadsheet/code/lib/angular.js:12575
↓ 3 callers
Function
around
(v, t)
incomplete/rasterizer/rasterizer/geometry.py:119
↓ 3 callers
Function
arrayClasses
(classVal)
spreadsheet/code/lib/angular.js:21727
↓ 3 callers
Function
assertArg
* throw error if the argument is falsy.
spreadsheet/code/lib/angular.js:1608
↓ 3 callers
Method
assertNoScout
(self)
cluster/code/test/test_leader.py:28
↓ 3 callers
Method
assertTimers
(self, times)
cluster/code/test/utils.py:24
↓ 3 callers
Function
bZ
(a,b)
pedometer/code/public/jquery.min.js:2
↓ 3 callers
Function
bind$
(obj, key, target)
spreadsheet/code/as-react-livescript/main.js:1319
↓ 3 callers
Method
blueFilter
()
image-filters/code/com/catehuston/imagefilter/model/ImageState.java:37
↓ 3 callers
Method
brightness
(PApplet applet, int pixel)
image-filters/code/com/catehuston/imagefilter/color/PixelColorHelper.java:15
↓ 3 callers
Function
cacheState
()
spreadsheet/code/lib/angular.js:5059
↓ 3 callers
Method
cache_off
Context manager that forces tasks to really be invoked. Even if the project has already cached the output of a particular task, re-ru
contingent/code/contingent/projectlib.py:115
↓ 3 callers
Function
capture_logging
See test_redirect for usage.
crawler/code/test.py:14
↓ 3 callers
Function
classDirective
(name, selector)
spreadsheet/code/lib/angular.js:21632
↓ 3 callers
Function
cleanupLastIncludeContent
()
spreadsheet/code/lib/angular.js:23262
↓ 3 callers
Function
clear
()
blockcode/code/gamelib/game.js:304
↓ 3 callers
Function
clearPhase
()
spreadsheet/code/lib/angular.js:14479
↓ 3 callers
Function
clearQueue
* Clears any enqueued updates. * * @private
spreadsheet/code/as-react-livescript/main.js:11155
↓ 3 callers
Function
collectDirectives
* Looks for directives on the given node and adds them to the directive collection which is * sorted. * * @param node Node to search.
spreadsheet/code/lib/angular.js:7025
↓ 3 callers
Function
comparator
(o1, o2)
spreadsheet/code/lib/angular.js:17328
↓ 3 callers
Function
complete
(data)
spreadsheet/code/as-react-livescript/main.js:3114
↓ 3 callers
Function
completeRequest
(callback, status, response, headersString, statusText)
spreadsheet/code/lib/angular.js:9673
↓ 3 callers
Function
createFullPageComponent
* Create a component that will throw an exception when unmounted. * * Components like <html> <head> and <body> can't be removed or added * easil
spreadsheet/code/as-react-livescript/main.js:18236
↓ 3 callers
Function
describe
(sizes)
incomplete/search-engine/sizes.py:9
↓ 3 callers
Function
done
* Callback registered to $httpBackend(): * - caches the response if desired * - resolves the raw $http promise * - calls $appl
spreadsheet/code/lib/angular.js:9475
↓ 3 callers
Function
e
(a,b)
pedometer/code/public/highcharts.js:8
↓ 3 callers
Function
e
(c)
pedometer/code/public/jquery.min.js:2
↓ 3 callers
Function
encodePath
* Encode path using encodeUriSegment, ignoring forward slashes * * @param {string} path Path to encode * @returns {string}
spreadsheet/code/lib/angular.js:10334
↓ 3 callers
Function
ensure
(obj, name, factory)
spreadsheet/code/lib/angular.js:1720
↓ 3 callers
Method
execute
(self, what_to_execute)
interpreter/code/simplest_interpreter.py:80
↓ 3 callers
Method
from_vectors
(*args)
incomplete/rasterizer/rasterizer/geometry.py:54
↓ 3 callers
Function
g
(ab)
spreadsheet/code/as-react-livescript/main.js:4199
↓ 3 callers
Function
get
()
spreadsheet/code/worker.js:14
↓ 3 callers
Function
getActiveElement
* Same as document.activeElement but wraps in a try-catch block. In IE it is * not safe to call document.activeElement if there is nothing focused.
spreadsheet/code/as-react-livescript/main.js:21999
↓ 3 callers
Function
getComponentKey
* Generate a key string that identifies a component within a set. * * @param {*} component A component that could contain a manual key. * @param
spreadsheet/code/as-react-livescript/main.js:13024
↓ 3 callers
Function
getTextContentAccessor
* Gets the key used to access text content on a DOM node. * * @return {?string} Key used to access text content. * @internal
spreadsheet/code/as-react-livescript/main.js:21010
← previous
next →
301–400 of 2,260, ranked by callers