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
↓ 2 callers
Function
adjustMatchers
(matchers)
spreadsheet/code/lib/angular.js:14642
↓ 2 callers
Method
adjustment_ratio
Compute the ratio of stretchability/shrinkability for the current line in order to justify the text. It needs to know the current_lin
incomplete/typesetting-engine/breakpoints.py:210
↓ 2 callers
Function
adler32
(data)
spreadsheet/code/as-react-livescript/main.js:22820
↓ 2 callers
Function
afterLocationChange
(oldUrl, oldState)
spreadsheet/code/lib/angular.js:11202
↓ 2 callers
Method
alpha
(PApplet applet, int pixel)
image-filters/code/com/catehuston/imagefilter/color/PixelColorHelper.java:7
↓ 2 callers
Function
applyDirectivesToNode
* Once the directives have been collected, their compile functions are executed. This method * is responsible for inlining directive templates as
spreadsheet/code/lib/angular.js:7182
↓ 2 callers
Function
arrayDifference
(tokens1, tokens2)
spreadsheet/code/lib/angular.js:21713
↓ 2 callers
Function
arrow
Draw a drafting-style arrow from (x0, y0) to (x1, y1).
incomplete/search-engine/skipdiagram.py:133
↓ 2 callers
Method
assertScoutStarted
(self, ballot_num)
cluster/code/test/test_leader.py:23
↓ 2 callers
Function
assertValidProps
* @param {?object} props
spreadsheet/code/as-react-livescript/main.js:9139
↓ 2 callers
Function
b$
(a,b)
pedometer/code/public/jquery.min.js:2
↓ 2 callers
Function
bD
(a,b)
pedometer/code/public/jquery.min.js:2
↓ 2 callers
Function
bE
(a,b)
pedometer/code/public/jquery.min.js:2
↓ 2 callers
Function
bY
(a,b)
pedometer/code/public/jquery.min.js:2
↓ 2 callers
Function
badInputChecker
(scope, element, attr, ctrl)
spreadsheet/code/lib/angular.js:19500
↓ 2 callers
Function
be
(a)
pedometer/code/public/jquery.min.js:2
↓ 2 callers
Function
beginPhase
(phase)
spreadsheet/code/lib/angular.js:14471
↓ 2 callers
Function
blockValue
(block)
blockcode/code/blocks.js:24
↓ 2 callers
Function
blocked
(seq, block_size)
incomplete/search-engine/index.py:122
↓ 2 callers
Method
blue
(PApplet applet, int pixel)
image-filters/code/com/catehuston/imagefilter/color/PixelColorHelper.java:11
↓ 2 callers
Function
box
Draw a paraxial box.
incomplete/search-engine/skipdiagram.py:159
↓ 2 callers
Function
cA
(a,c,d,e,f,g)
pedometer/code/public/jquery.min.js:2
↓ 2 callers
Function
cB
(a,c)
pedometer/code/public/jquery.min.js:2
↓ 2 callers
Function
cU
()
pedometer/code/public/jquery.min.js:2
↓ 2 callers
Function
ca
(a,b,c,d)
pedometer/code/public/jquery.min.js:2
↓ 2 callers
Function
cachedClassManipulation
(cache, classes, op)
spreadsheet/code/lib/angular.js:4575
↓ 2 callers
Function
cc
(a)
pedometer/code/public/jquery.min.js:2
↓ 2 callers
Function
checkPropTypes
* Assert that the props are valid * * @param {string} componentName Name of the component for error messages. * @param {object} propTypes Map of
spreadsheet/code/as-react-livescript/main.js:8829
↓ 2 callers
Method
chooseFile
()
image-filters/code/com/catehuston/imagefilter/app/ImageFilterApp.java:133
↓ 2 callers
Function
clearScript
()
blockcode/code/file.js:31
↓ 2 callers
Function
cloneAndAnnotateFn
(fn, annotation)
spreadsheet/code/lib/angular.js:8104
↓ 2 callers
Function
compileNodes
* Compile function matches each node in nodeList against the directives. Once all directives * for a particular node are collected their compile
spreadsheet/code/lib/angular.js:6900
↓ 2 callers
Function
compile_solution
Compiles a scheduling on the machines given a permutation of jobs
flow-shop/code/flow.py:236
↓ 2 callers
Function
completeOutstandingRequest
* Executes the `fn` function(supports currying) and decrements the `outstandingRequestCallbacks` * counter. If the counter reaches 0, all the `outs
spreadsheet/code/lib/angular.js:4875
↓ 2 callers
Function
compute
(values)
spreadsheet/code/lib/angular.js:9949
↓ 2 callers
Function
constructSelectEvent
* Poll selection to see whether it's changed. * * @param {object} nativeEvent * @return {?SyntheticEvent}
spreadsheet/code/as-react-livescript/main.js:17533
↓ 2 callers
Function
containsNode
* Checks if a given DOM node contains or is another DOM node. * * @param {?DOMNode} outerNode Outer DOM node. * @param {?DOMNode} innerNode Inne
spreadsheet/code/as-react-livescript/main.js:18591
↓ 2 callers
Function
copy
* @ngdoc function * @name angular.copy * @module ng * @kind function * * @description * Creates a deep copy of `source`, which should be an obje
spreadsheet/code/lib/angular.js:814
↓ 2 callers
Function
createArrayFrom
* Ensure that the argument is an array by wrapping it in an array if it is not. * Creates a copy of the argument if it is already an array. * *
spreadsheet/code/as-react-livescript/main.js:24276
↓ 2 callers
Function
createInternalInjector
(cache, factory)
spreadsheet/code/lib/angular.js:4098
↓ 2 callers
Function
createMergedResultFunction
* Creates a function that invokes two functions and merges their return values. * * @param {function} one Function to invoke first. * @param {fu
spreadsheet/code/as-react-livescript/main.js:7481
↓ 2 callers
Function
createNodesFromMarkup
* Creates an array containing the nodes rendered from the supplied markup. The * optionally supplied `handleScript` function will be invoked once fo
spreadsheet/code/as-react-livescript/main.js:24042
↓ 2 callers
Function
createTransferStrategy
* Creates a transfer strategy that will merge prop values using the supplied * `mergeStrategy`. If a prop was previously unset, this just sets it.
spreadsheet/code/as-react-livescript/main.js:13816
↓ 2 callers
Function
cspSafeGetterFn
* Implementation of the "Black Hole" variant from: * - http://jsperf.com/angularjs-parse-getter/4 * - http://jsperf.com/path-evaluation-simplified/7
spreadsheet/code/lib/angular.js:12230
↓ 2 callers
Function
cz
(a)
pedometer/code/public/jquery.min.js:2
↓ 2 callers
Function
d
()
pedometer/code/public/highcharts.js:187
↓ 2 callers
Function
da
(a)
pedometer/code/public/jquery.min.js:2
↓ 2 callers
Function
dangerousStyleValue
* Convert a value into the proper css writable value. The style name `name` * should be logical (no hyphens), as specified * in `CSSProperty.isUni
spreadsheet/code/as-react-livescript/main.js:19659
↓ 2 callers
Function
decrementListenerCount
(current, count, name)
spreadsheet/code/lib/angular.js:14484
↓ 2 callers
Function
deg2rad
(degrees)
blockcode/code/turtle.js:35
↓ 2 callers
Function
deg2rad
(deg)
blockcode/code/gamelib/game.js:37
↓ 2 callers
Function
dispatch_tests
(server, commit_id)
ci/code/dispatcher.py:24
↓ 2 callers
Function
doBootstrap
()
spreadsheet/code/lib/angular.js:1459
↓ 2 callers
Function
emit
Write an SVG file to output representing structure.
incomplete/search-engine/skipdiagram.py:24
↓ 2 callers
Function
ensureInjected
()
spreadsheet/code/as-react-livescript/main.js:13350
↓ 2 callers
Method
event
(self, name)
cluster/code/test/test_integration.py:18
↓ 2 callers
Method
execute
(self, what_to_execute)
interpreter/code/conditionals_interpreter.py:64
↓ 2 callers
Function
expressionInputDirtyCheck
(newValue, oldValueOfValue)
spreadsheet/code/lib/angular.js:12452
↓ 2 callers
Function
f
doc comment
incomplete/bytecode-compiler/silly.py:12
↓ 2 callers
Method
f
(self)
objmodel/code/02-attr-based/test_objmodel.py:76
↓ 2 callers
Method
f
(self)
objmodel/code/03-customizable/test_objmodel.py:76
↓ 2 callers
Method
f
(self)
objmodel/code/04-maps/test_objmodel.py:76
↓ 2 callers
Method
f
(self)
objmodel/code/01-smalltalk-like/test_objmodel.py:76
↓ 2 callers
Method
fetch
(self)
crawler/code/supplemental/loop-with-coroutines.py:103
↓ 2 callers
Method
fetch
(self)
crawler/code/supplemental/loop-with-callbacks.py:25
↓ 2 callers
Function
finishChunkLoading
()
spreadsheet/code/as-react-livescript/main.js:84
↓ 2 callers
Method
finished
(self, ballot_num, preempted)
cluster/code/cluster.py:303
↓ 2 callers
Function
fix_latex_macros
Use the AOSA style macros for headers, etc.
_build/postprocessor.py:3
↓ 2 callers
Function
flattenChildren
* Flattens children that are typically specified as `props.children`. Any null * children will not be included in the resulting object. * @return
spreadsheet/code/as-react-livescript/main.js:18747
↓ 2 callers
Function
focusNode
* @param {DOMElement} node input/textarea to focus
spreadsheet/code/as-react-livescript/main.js:23303
↓ 2 callers
Function
formDirectiveFactory
(isNgForm)
spreadsheet/code/lib/angular.js:18267
↓ 2 callers
Function
formatNumber
(number, pattern, groupSep, decimalSep, fractionSize)
spreadsheet/code/lib/angular.js:16638
↓ 2 callers
Function
g
()
pedometer/code/public/highcharts.js:133
↓ 2 callers
Method
g
(self, arg)
objmodel/code/02-attr-based/test_objmodel.py:105
↓ 2 callers
Method
g
(self, arg)
objmodel/code/03-customizable/test_objmodel.py:105
↓ 2 callers
Method
g
(self, arg)
objmodel/code/01-smalltalk-like/test_objmodel.py:105
↓ 2 callers
Function
getAffectedStuff
(module)
spreadsheet/code/as-react-livescript/main.js:273
↓ 2 callers
Function
getBooleanAttrName
(element, name)
spreadsheet/code/lib/angular.js:2794
↓ 2 callers
Function
getControllers
(directiveName, require, $element, elementControllers)
spreadsheet/code/lib/angular.js:7415
↓ 2 callers
Function
getCurrentOwnerDisplayName
* Gets the current owner's displayName for use in warnings. * * @internal * @return {?string} Display name or undefined
spreadsheet/code/as-react-livescript/main.js:8683
↓ 2 callers
Method
getDominantHue
(PApplet applet, IFAImage image, int hueRange)
image-filters/code/com/catehuston/imagefilter/color/ColorHelper.java:31
↓ 2 callers
Function
getEventTarget
* Gets the target node from a native browser event by accounting for * inconsistencies in browser DOM APIs. * * @param {object} nativeEvent Nati
spreadsheet/code/as-react-livescript/main.js:21923
↓ 2 callers
Function
getFirstThursdayOfYear
(year)
spreadsheet/code/lib/angular.js:16764
↓ 2 callers
Function
getLeafNode
* Given any node return the first leaf node without children. * * @param {DOMElement|DOMTextNode} node * @return {DOMElement|DOMTextNode}
spreadsheet/code/as-react-livescript/main.js:23741
↓ 2 callers
Function
getMarkupWrap
* Gets the markup wrap configuration for the supplied `nodeName`. * * NOTE: This lazily detects which wraps are necessary for the current browser.
spreadsheet/code/as-react-livescript/main.js:24178
↓ 2 callers
Function
getNodeForCharacterOffset
* Get object describing the nodes which contain characters at offset. * * @param {DOMElement|DOMTextNode} root * @param {number} offset * @ret
spreadsheet/code/as-react-livescript/main.js:23771
↓ 2 callers
Function
getNodeName
* Extracts the `nodeName` from a string of markup. * * NOTE: Extracting the `nodeName` does not require a regular expression match * because we
spreadsheet/code/as-react-livescript/main.js:23838
↓ 2 callers
Function
getUnboundedScrollPosition
* Gets the scroll position of the supplied element or window. * * The return values are unbounded, unlike `getScrollPosition`. This means they *
spreadsheet/code/as-react-livescript/main.js:21961
↓ 2 callers
Function
getViewValue
(key, value)
spreadsheet/code/lib/angular.js:25248
↓ 2 callers
Method
get_index
(self, fieldname)
objmodel/code/04-maps/objmodel.py:65
↓ 2 callers
Function
get_metadata
(path)
incomplete/search-engine/index.py:79
↓ 2 callers
Function
get_paths
()
contingent/code/make.py:100
↓ 2 callers
Function
getterFn
(path, options, fullExp)
spreadsheet/code/lib/angular.js:12263
↓ 2 callers
Method
green
(PApplet applet, int pixel)
image-filters/code/com/catehuston/imagefilter/color/PixelColorHelper.java:27
↓ 2 callers
Function
groupElementsLinkFnWrapper
* Wrapper for linking function which converts normal linking function into a grouped * linking function. * @param linkFn * @param attrS
spreadsheet/code/lib/angular.js:7152
↓ 2 callers
Function
groupScan
* Given a node with an directive-start it collects all of the siblings until it finds * directive-end. * @param node * @param attrStart
spreadsheet/code/lib/angular.js:7119
↓ 2 callers
Function
h
()
spreadsheet/code/as-react-livescript/main.js:4199
↓ 2 callers
Function
handleCallback
(value, isResolved, callback)
spreadsheet/code/lib/angular.js:13059
↓ 2 callers
Method
handle_error
(self, msg)
web-server/code/03-handlers/server.py:91
↓ 2 callers
Method
handle_error
(self, msg)
web-server/code/03-handlers/server-index-page.py:107
← previous
next →
501–600 of 2,260, ranked by callers