Home
last modified time | relevance | path

Searched defs:alloc (Results 1 - 1 of 1) sorted by relevance

/interface/sdk-js/build-tools/dts_parser/build_package/
H A DJS_API_COUNT.js66 e.exports=function(e,t){if("string"!=typeof e)throw new TypeError("expected path to be a string");if("\\\\"===e||"/"===e)return"/";var r=e.length;if(r<=1)return e;var n="";if(r>4&&"\\\\"===e[3]){var i=e[2];"?"!==i&&"."!==i||"\\\\\\\\"!==e.slice(0,2)||(e=e.slice(2),n="//")}var a=e.split(/[/\\\\]+/);return!1!==t&&""===a[a.length-1]&&a.pop(),n+a.join("/")}},83519:(e,t,r)=>{var n=r(86587);function i(e){var t=function(){return t.called?t.value:(t.called=!0,t.value=e.apply(this,arguments))};return t.called=!1,t}function a(e){var t=function(){if(t.called)throw new Error(t.onceError);return t.called=!0,t.value=e.apply(this,arguments)},r=e.name||"Function wrapped with `once`";return t.onceError=r+" shouldn't be called more than once",t.called=!1,t}e.exports=n(i),e.exports.strict=n(a),i.proto=i((function(){Object.defineProperty(Function.prototype,"once",{value:function(){return i(this)},configurable:!0}),Object.defineProperty(Function.prototype,"onceStrict",{value:function(){return a(this)},configurable:!0})}))}, global() function
[all...]

Completed in 24 milliseconds