MCPcopy Create free account
hub / github.com/ceph/ceph / assert

Function assert

qa/workunits/erasure-code/jquery.js:3797–3808  ·  view source on GitHub ↗
( fn )

Source from the content-addressed store, hash-verified

3795
3796 // Used for testing something on an element
3797 assert = function( fn ) {
3798 var div = document.createElement("div");
3799
3800 try {
3801 return fn( div );
3802 } catch (e) {
3803 return false;
3804 } finally {
3805 // release memory in IE
3806 div = null;
3807 }
3808 },
3809
3810 // Check if getElementsByTagName("*") returns only elements
3811 assertTagNameNoComments = assert(function( div ) {

Callers 15

jquery.jsFile · 0.85
make_inode_pathFunction · 0.85
make_ino_pathFunction · 0.85
remove_dentryFunction · 0.85
ft_ll_lookupFunction · 0.85
update_osdmapFunction · 0.85
testradosFunction · 0.85
mainFunction · 0.85
get_headerMethod · 0.85
print_statusMethod · 0.85
make_dedup_objectFunction · 0.85
mainMethod · 0.85

Calls

no outgoing calls

Tested by 15

fio_ceph_msgr_geteventsFunction · 0.68
updateMethod · 0.68
TempPoolMethod · 0.68
~TempPoolMethod · 0.68
_beginMethod · 0.68
~ShardedGatesMethod · 0.68
initMethod · 0.68
shutdownMethod · 0.68
dispatch_pingpongMethod · 0.68
ms_handle_connectMethod · 0.68
do_dispatch_pingpongMethod · 0.68