datahike 0.7.1630
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +226 -0
- package/cljs.analyzer.api.js +427 -0
- package/cljs.analyzer.api.js.map +1 -0
- package/cljs.analyzer.impl.js +86 -0
- package/cljs.analyzer.impl.js.map +1 -0
- package/cljs.analyzer.impl.namespaces.js +219 -0
- package/cljs.analyzer.impl.namespaces.js.map +1 -0
- package/cljs.analyzer.js +7186 -0
- package/cljs.analyzer.js.map +1 -0
- package/cljs.analyzer.passes.and_or.js +141 -0
- package/cljs.analyzer.passes.and_or.js.map +1 -0
- package/cljs.analyzer.passes.js +104 -0
- package/cljs.analyzer.passes.js.map +1 -0
- package/cljs.cache.js +1145 -0
- package/cljs.cache.js.map +1 -0
- package/cljs.cache.wrapped.js +352 -0
- package/cljs.cache.wrapped.js.map +1 -0
- package/cljs.core.async.impl.buffers.js +489 -0
- package/cljs.core.async.impl.buffers.js.map +1 -0
- package/cljs.core.async.impl.channels.js +711 -0
- package/cljs.core.async.impl.channels.js.map +1 -0
- package/cljs.core.async.impl.dispatch.js +81 -0
- package/cljs.core.async.impl.dispatch.js.map +1 -0
- package/cljs.core.async.impl.ioc_helpers.js +192 -0
- package/cljs.core.async.impl.ioc_helpers.js.map +1 -0
- package/cljs.core.async.impl.protocols.js +368 -0
- package/cljs.core.async.impl.protocols.js.map +1 -0
- package/cljs.core.async.impl.timers.js +510 -0
- package/cljs.core.async.impl.timers.js.map +1 -0
- package/cljs.core.async.js +8813 -0
- package/cljs.core.async.js.map +1 -0
- package/cljs.core.js +38764 -0
- package/cljs.core.js.map +1 -0
- package/cljs.env.js +60 -0
- package/cljs.env.js.map +1 -0
- package/cljs.nodejs.js +80 -0
- package/cljs.nodejs.js.map +1 -0
- package/cljs.reader.js +462 -0
- package/cljs.reader.js.map +1 -0
- package/cljs.spec.alpha.js +5312 -0
- package/cljs.spec.alpha.js.map +1 -0
- package/cljs.spec.gen.alpha.js +2020 -0
- package/cljs.spec.gen.alpha.js.map +1 -0
- package/cljs.tagged_literals.js +103 -0
- package/cljs.tagged_literals.js.map +1 -0
- package/cljs.tools.reader.edn.js +960 -0
- package/cljs.tools.reader.edn.js.map +1 -0
- package/cljs.tools.reader.impl.commons.js +217 -0
- package/cljs.tools.reader.impl.commons.js.map +1 -0
- package/cljs.tools.reader.impl.errors.js +441 -0
- package/cljs.tools.reader.impl.errors.js.map +1 -0
- package/cljs.tools.reader.impl.inspect.js +182 -0
- package/cljs.tools.reader.impl.inspect.js.map +1 -0
- package/cljs.tools.reader.impl.utils.js +429 -0
- package/cljs.tools.reader.impl.utils.js.map +1 -0
- package/cljs.tools.reader.js +1830 -0
- package/cljs.tools.reader.js.map +1 -0
- package/cljs.tools.reader.reader_types.js +838 -0
- package/cljs.tools.reader.reader_types.js.map +1 -0
- package/cljs_env.js +18192 -0
- package/cljs_node_io.core.js +1278 -0
- package/cljs_node_io.core.js.map +1 -0
- package/cljs_node_io.file.js +918 -0
- package/cljs_node_io.file.js.map +1 -0
- package/cljs_node_io.fs.js +3911 -0
- package/cljs_node_io.fs.js.map +1 -0
- package/clojure.data.js +319 -0
- package/clojure.data.js.map +1 -0
- package/clojure.edn.js +119 -0
- package/clojure.edn.js.map +1 -0
- package/clojure.set.js +406 -0
- package/clojure.set.js.map +1 -0
- package/clojure.string.js +502 -0
- package/clojure.string.js.map +1 -0
- package/clojure.walk.js +156 -0
- package/clojure.walk.js.map +1 -0
- package/datahike.api.impl.js +621 -0
- package/datahike.api.impl.js.map +1 -0
- package/datahike.api.specification.js +85 -0
- package/datahike.api.specification.js.map +1 -0
- package/datahike.array.js +275 -0
- package/datahike.array.js.map +1 -0
- package/datahike.config.js +437 -0
- package/datahike.config.js.map +1 -0
- package/datahike.connections.js +55 -0
- package/datahike.connections.js.map +1 -0
- package/datahike.connector.js +1248 -0
- package/datahike.connector.js.map +1 -0
- package/datahike.constants.js +66 -0
- package/datahike.constants.js.map +1 -0
- package/datahike.core.js +628 -0
- package/datahike.core.js.map +1 -0
- package/datahike.datom.js +963 -0
- package/datahike.datom.js.map +1 -0
- package/datahike.db.interface.js +819 -0
- package/datahike.db.interface.js.map +1 -0
- package/datahike.db.js +3095 -0
- package/datahike.db.js.map +1 -0
- package/datahike.db.search.js +1004 -0
- package/datahike.db.search.js.map +1 -0
- package/datahike.db.transaction.js +1904 -0
- package/datahike.db.transaction.js.map +1 -0
- package/datahike.db.utils.js +642 -0
- package/datahike.db.utils.js.map +1 -0
- package/datahike.gc.js +1618 -0
- package/datahike.gc.js.map +1 -0
- package/datahike.impl.entity.js +604 -0
- package/datahike.impl.entity.js.map +1 -0
- package/datahike.index.interface.js +484 -0
- package/datahike.index.interface.js.map +1 -0
- package/datahike.index.js +50 -0
- package/datahike.index.js.map +1 -0
- package/datahike.index.persistent_set.js +1250 -0
- package/datahike.index.persistent_set.js.map +1 -0
- package/datahike.js.api.js +2211 -0
- package/datahike.js.api.js.map +1 -0
- package/datahike.lru.js +404 -0
- package/datahike.lru.js.map +1 -0
- package/datahike.pull_api.js +533 -0
- package/datahike.pull_api.js.map +1 -0
- package/datahike.query.js +11891 -0
- package/datahike.query.js.map +1 -0
- package/datahike.query_stats.js +152 -0
- package/datahike.query_stats.js.map +1 -0
- package/datahike.readers.js +166 -0
- package/datahike.readers.js.map +1 -0
- package/datahike.schema.js +251 -0
- package/datahike.schema.js.map +1 -0
- package/datahike.schema_cache.js +66 -0
- package/datahike.schema_cache.js.map +1 -0
- package/datahike.spec.js +70 -0
- package/datahike.spec.js.map +1 -0
- package/datahike.store.js +514 -0
- package/datahike.store.js.map +1 -0
- package/datahike.tools.js +436 -0
- package/datahike.tools.js.map +1 -0
- package/datahike.writer.js +3463 -0
- package/datahike.writer.js.map +1 -0
- package/datahike.writing.js +3168 -0
- package/datahike.writing.js.map +1 -0
- package/datalog.parser.impl.js +1421 -0
- package/datalog.parser.impl.js.map +1 -0
- package/datalog.parser.impl.proto.js +213 -0
- package/datalog.parser.impl.proto.js.map +1 -0
- package/datalog.parser.impl.util.js +117 -0
- package/datalog.parser.impl.util.js.map +1 -0
- package/datalog.parser.js +47 -0
- package/datalog.parser.js.map +1 -0
- package/datalog.parser.pull.js +2603 -0
- package/datalog.parser.pull.js.map +1 -0
- package/datalog.parser.type.js +7502 -0
- package/datalog.parser.type.js.map +1 -0
- package/datalog.parser.util.js +60 -0
- package/datalog.parser.util.js.map +1 -0
- package/environ.core.js +263 -0
- package/environ.core.js.map +1 -0
- package/fress.api.js +607 -0
- package/fress.api.js.map +1 -0
- package/fress.impl.adler32.js +435 -0
- package/fress.impl.adler32.js.map +1 -0
- package/fress.impl.bigint.js +185 -0
- package/fress.impl.bigint.js.map +1 -0
- package/fress.impl.buffer.js +1087 -0
- package/fress.impl.buffer.js.map +1 -0
- package/fress.impl.codes.js +105 -0
- package/fress.impl.codes.js.map +1 -0
- package/fress.impl.hopmap.js +603 -0
- package/fress.impl.hopmap.js.map +1 -0
- package/fress.impl.ranges.js +49 -0
- package/fress.impl.ranges.js.map +1 -0
- package/fress.impl.raw_input.js +837 -0
- package/fress.impl.raw_input.js.map +1 -0
- package/fress.impl.raw_output.js +653 -0
- package/fress.impl.raw_output.js.map +1 -0
- package/fress.impl.table.js +133 -0
- package/fress.impl.table.js.map +1 -0
- package/fress.reader.js +2312 -0
- package/fress.reader.js.map +1 -0
- package/fress.util.js +458 -0
- package/fress.util.js.map +1 -0
- package/fress.writer.js +2141 -0
- package/fress.writer.js.map +1 -0
- package/geheimnis.aes.js +132 -0
- package/geheimnis.aes.js.map +1 -0
- package/hasch.base64.js +42 -0
- package/hasch.base64.js.map +1 -0
- package/hasch.benc.js +201 -0
- package/hasch.benc.js.map +1 -0
- package/hasch.core.js +188 -0
- package/hasch.core.js.map +1 -0
- package/hasch.platform.js +221 -0
- package/hasch.platform.js.map +1 -0
- package/incognito.base.js +276 -0
- package/incognito.base.js.map +1 -0
- package/incognito.edn.js +54 -0
- package/incognito.edn.js.map +1 -0
- package/incognito.fressian.js +330 -0
- package/incognito.fressian.js.map +1 -0
- package/index.d.ts +660 -0
- package/is.simm.partial_cps.async.js +142 -0
- package/is.simm.partial_cps.async.js.map +1 -0
- package/is.simm.partial_cps.runtime.js +65 -0
- package/is.simm.partial_cps.runtime.js.map +1 -0
- package/is.simm.partial_cps.sequence.js +1255 -0
- package/is.simm.partial_cps.sequence.js.map +1 -0
- package/konserve.cache.js +2519 -0
- package/konserve.cache.js.map +1 -0
- package/konserve.compressor.js +502 -0
- package/konserve.compressor.js.map +1 -0
- package/konserve.core.js +8052 -0
- package/konserve.core.js.map +1 -0
- package/konserve.encryptor.js +553 -0
- package/konserve.encryptor.js.map +1 -0
- package/konserve.gc.js +541 -0
- package/konserve.gc.js.map +1 -0
- package/konserve.impl.defaults.js +8290 -0
- package/konserve.impl.defaults.js.map +1 -0
- package/konserve.impl.storage_layout.js +849 -0
- package/konserve.impl.storage_layout.js.map +1 -0
- package/konserve.memory.js +2102 -0
- package/konserve.memory.js.map +1 -0
- package/konserve.node_filestore.js +2951 -0
- package/konserve.node_filestore.js.map +1 -0
- package/konserve.protocols.js +590 -0
- package/konserve.protocols.js.map +1 -0
- package/konserve.serializers.js +562 -0
- package/konserve.serializers.js.map +1 -0
- package/konserve.store.js +2245 -0
- package/konserve.store.js.map +1 -0
- package/konserve.tiered.js +9574 -0
- package/konserve.tiered.js.map +1 -0
- package/konserve.utils.js +180 -0
- package/konserve.utils.js.map +1 -0
- package/me.tonsky.persistent_sorted_set.arrays.js +66 -0
- package/me.tonsky.persistent_sorted_set.arrays.js.map +1 -0
- package/me.tonsky.persistent_sorted_set.branch.js +2779 -0
- package/me.tonsky.persistent_sorted_set.branch.js.map +1 -0
- package/me.tonsky.persistent_sorted_set.btset.js +14196 -0
- package/me.tonsky.persistent_sorted_set.btset.js.map +1 -0
- package/me.tonsky.persistent_sorted_set.impl.node.js +324 -0
- package/me.tonsky.persistent_sorted_set.impl.node.js.map +1 -0
- package/me.tonsky.persistent_sorted_set.impl.storage.js +123 -0
- package/me.tonsky.persistent_sorted_set.impl.storage.js.map +1 -0
- package/me.tonsky.persistent_sorted_set.js +890 -0
- package/me.tonsky.persistent_sorted_set.js.map +1 -0
- package/me.tonsky.persistent_sorted_set.leaf.js +561 -0
- package/me.tonsky.persistent_sorted_set.leaf.js.map +1 -0
- package/me.tonsky.persistent_sorted_set.util.js +402 -0
- package/me.tonsky.persistent_sorted_set.util.js.map +1 -0
- package/medley.core.js +1857 -0
- package/medley.core.js.map +1 -0
- package/package.json +38 -0
- package/spec_tools.core.js +1925 -0
- package/spec_tools.core.js.map +1 -0
- package/spec_tools.data_spec.js +1291 -0
- package/spec_tools.data_spec.js.map +1 -0
- package/spec_tools.form.js +185 -0
- package/spec_tools.form.js.map +1 -0
- package/spec_tools.impl.js +362 -0
- package/spec_tools.impl.js.map +1 -0
- package/spec_tools.parse.js +427 -0
- package/spec_tools.parse.js.map +1 -0
- package/spec_tools.transform.js +288 -0
- package/spec_tools.transform.js.map +1 -0
- package/superv.async.js +8617 -0
- package/superv.async.js.map +1 -0
- package/tailrecursion.priority_map.js +994 -0
- package/tailrecursion.priority_map.js.map +1 -0
- package/taoensso.encore.js +12385 -0
- package/taoensso.encore.js.map +1 -0
- package/taoensso.timbre.appenders.core.js +239 -0
- package/taoensso.timbre.appenders.core.js.map +1 -0
- package/taoensso.timbre.js +1264 -0
- package/taoensso.timbre.js.map +1 -0
- package/taoensso.truss.impl.js +442 -0
- package/taoensso.truss.impl.js.map +1 -0
- package/taoensso.truss.js +743 -0
- package/taoensso.truss.js.map +1 -0
- package/test-config-keys.js +33 -0
- package/test-final.js +36 -0
- package/test-key-duplication.js +67 -0
- package/test.js +557 -0
|
@@ -0,0 +1,653 @@
|
|
|
1
|
+
var $CLJS = require("./cljs_env");
|
|
2
|
+
var $jscomp = $CLJS.$jscomp;
|
|
3
|
+
var COMPILED = false;
|
|
4
|
+
require("./cljs.core.js");
|
|
5
|
+
require("./fress.util.js");
|
|
6
|
+
require("./fress.impl.adler32.js");
|
|
7
|
+
require("./fress.impl.buffer.js");
|
|
8
|
+
var environ=$CLJS.environ || ($CLJS.environ = {});
|
|
9
|
+
var fress=$CLJS.fress || ($CLJS.fress = {});
|
|
10
|
+
var datahike=$CLJS.datahike || ($CLJS.datahike = {});
|
|
11
|
+
var clojure=$CLJS.clojure || ($CLJS.clojure = {});
|
|
12
|
+
var hasch=$CLJS.hasch || ($CLJS.hasch = {});
|
|
13
|
+
var tailrecursion=$CLJS.tailrecursion || ($CLJS.tailrecursion = {});
|
|
14
|
+
var superv=$CLJS.superv || ($CLJS.superv = {});
|
|
15
|
+
var geheimnis=$CLJS.geheimnis || ($CLJS.geheimnis = {});
|
|
16
|
+
var is=$CLJS.is || ($CLJS.is = {});
|
|
17
|
+
var cljs=$CLJS.cljs || ($CLJS.cljs = {});
|
|
18
|
+
var cljs_node_io=$CLJS.cljs_node_io || ($CLJS.cljs_node_io = {});
|
|
19
|
+
var goog=$CLJS.goog || ($CLJS.goog = {});
|
|
20
|
+
var konserve=$CLJS.konserve || ($CLJS.konserve = {});
|
|
21
|
+
var datalog=$CLJS.datalog || ($CLJS.datalog = {});
|
|
22
|
+
var spec_tools=$CLJS.spec_tools || ($CLJS.spec_tools = {});
|
|
23
|
+
var taoensso=$CLJS.taoensso || ($CLJS.taoensso = {});
|
|
24
|
+
var incognito=$CLJS.incognito || ($CLJS.incognito = {});
|
|
25
|
+
var medley=$CLJS.medley || ($CLJS.medley = {});
|
|
26
|
+
var me=$CLJS.me || ($CLJS.me = {});
|
|
27
|
+
|
|
28
|
+
$CLJS.SHADOW_ENV.setLoaded("fress.impl.raw_output.js");
|
|
29
|
+
|
|
30
|
+
goog.provide('fress.impl.raw_output');
|
|
31
|
+
|
|
32
|
+
/**
|
|
33
|
+
* @interface
|
|
34
|
+
*/
|
|
35
|
+
fress.impl.raw_output.IRawOutput = function(){};
|
|
36
|
+
|
|
37
|
+
var fress$impl$raw_output$IRawOutput$getByte$dyn_48407 = (function (this$,index){
|
|
38
|
+
var x__5350__auto__ = (((this$ == null))?null:this$);
|
|
39
|
+
var m__5351__auto__ = (fress.impl.raw_output.getByte[goog.typeOf(x__5350__auto__)]);
|
|
40
|
+
if((!((m__5351__auto__ == null)))){
|
|
41
|
+
return (m__5351__auto__.cljs$core$IFn$_invoke$arity$2 ? m__5351__auto__.cljs$core$IFn$_invoke$arity$2(this$,index) : m__5351__auto__.call(null, this$,index));
|
|
42
|
+
} else {
|
|
43
|
+
var m__5349__auto__ = (fress.impl.raw_output.getByte["_"]);
|
|
44
|
+
if((!((m__5349__auto__ == null)))){
|
|
45
|
+
return (m__5349__auto__.cljs$core$IFn$_invoke$arity$2 ? m__5349__auto__.cljs$core$IFn$_invoke$arity$2(this$,index) : m__5349__auto__.call(null, this$,index));
|
|
46
|
+
} else {
|
|
47
|
+
throw cljs.core.missing_protocol("IRawOutput.getByte",this$);
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
});
|
|
51
|
+
fress.impl.raw_output.getByte = (function fress$impl$raw_output$getByte(this$,index){
|
|
52
|
+
if((((!((this$ == null)))) && ((!((this$.fress$impl$raw_output$IRawOutput$getByte$arity$2 == null)))))){
|
|
53
|
+
return this$.fress$impl$raw_output$IRawOutput$getByte$arity$2(this$,index);
|
|
54
|
+
} else {
|
|
55
|
+
return fress$impl$raw_output$IRawOutput$getByte$dyn_48407(this$,index);
|
|
56
|
+
}
|
|
57
|
+
});
|
|
58
|
+
|
|
59
|
+
var fress$impl$raw_output$IRawOutput$getBytesWritten$dyn_48409 = (function (this$){
|
|
60
|
+
var x__5350__auto__ = (((this$ == null))?null:this$);
|
|
61
|
+
var m__5351__auto__ = (fress.impl.raw_output.getBytesWritten[goog.typeOf(x__5350__auto__)]);
|
|
62
|
+
if((!((m__5351__auto__ == null)))){
|
|
63
|
+
return (m__5351__auto__.cljs$core$IFn$_invoke$arity$1 ? m__5351__auto__.cljs$core$IFn$_invoke$arity$1(this$) : m__5351__auto__.call(null, this$));
|
|
64
|
+
} else {
|
|
65
|
+
var m__5349__auto__ = (fress.impl.raw_output.getBytesWritten["_"]);
|
|
66
|
+
if((!((m__5349__auto__ == null)))){
|
|
67
|
+
return (m__5349__auto__.cljs$core$IFn$_invoke$arity$1 ? m__5349__auto__.cljs$core$IFn$_invoke$arity$1(this$) : m__5349__auto__.call(null, this$));
|
|
68
|
+
} else {
|
|
69
|
+
throw cljs.core.missing_protocol("IRawOutput.getBytesWritten",this$);
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
});
|
|
73
|
+
fress.impl.raw_output.getBytesWritten = (function fress$impl$raw_output$getBytesWritten(this$){
|
|
74
|
+
if((((!((this$ == null)))) && ((!((this$.fress$impl$raw_output$IRawOutput$getBytesWritten$arity$1 == null)))))){
|
|
75
|
+
return this$.fress$impl$raw_output$IRawOutput$getBytesWritten$arity$1(this$);
|
|
76
|
+
} else {
|
|
77
|
+
return fress$impl$raw_output$IRawOutput$getBytesWritten$dyn_48409(this$);
|
|
78
|
+
}
|
|
79
|
+
});
|
|
80
|
+
|
|
81
|
+
var fress$impl$raw_output$IRawOutput$writeRawByte$dyn_48411 = (function (this$,b){
|
|
82
|
+
var x__5350__auto__ = (((this$ == null))?null:this$);
|
|
83
|
+
var m__5351__auto__ = (fress.impl.raw_output.writeRawByte[goog.typeOf(x__5350__auto__)]);
|
|
84
|
+
if((!((m__5351__auto__ == null)))){
|
|
85
|
+
return (m__5351__auto__.cljs$core$IFn$_invoke$arity$2 ? m__5351__auto__.cljs$core$IFn$_invoke$arity$2(this$,b) : m__5351__auto__.call(null, this$,b));
|
|
86
|
+
} else {
|
|
87
|
+
var m__5349__auto__ = (fress.impl.raw_output.writeRawByte["_"]);
|
|
88
|
+
if((!((m__5349__auto__ == null)))){
|
|
89
|
+
return (m__5349__auto__.cljs$core$IFn$_invoke$arity$2 ? m__5349__auto__.cljs$core$IFn$_invoke$arity$2(this$,b) : m__5349__auto__.call(null, this$,b));
|
|
90
|
+
} else {
|
|
91
|
+
throw cljs.core.missing_protocol("IRawOutput.writeRawByte",this$);
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
});
|
|
95
|
+
fress.impl.raw_output.writeRawByte = (function fress$impl$raw_output$writeRawByte(this$,b){
|
|
96
|
+
if((((!((this$ == null)))) && ((!((this$.fress$impl$raw_output$IRawOutput$writeRawByte$arity$2 == null)))))){
|
|
97
|
+
return this$.fress$impl$raw_output$IRawOutput$writeRawByte$arity$2(this$,b);
|
|
98
|
+
} else {
|
|
99
|
+
return fress$impl$raw_output$IRawOutput$writeRawByte$dyn_48411(this$,b);
|
|
100
|
+
}
|
|
101
|
+
});
|
|
102
|
+
|
|
103
|
+
var fress$impl$raw_output$IRawOutput$writeRawBytes$dyn_48412 = (function() {
|
|
104
|
+
var G__48413 = null;
|
|
105
|
+
var G__48413__2 = (function (this$,bytes){
|
|
106
|
+
var x__5350__auto__ = (((this$ == null))?null:this$);
|
|
107
|
+
var m__5351__auto__ = (fress.impl.raw_output.writeRawBytes[goog.typeOf(x__5350__auto__)]);
|
|
108
|
+
if((!((m__5351__auto__ == null)))){
|
|
109
|
+
return (m__5351__auto__.cljs$core$IFn$_invoke$arity$2 ? m__5351__auto__.cljs$core$IFn$_invoke$arity$2(this$,bytes) : m__5351__auto__.call(null, this$,bytes));
|
|
110
|
+
} else {
|
|
111
|
+
var m__5349__auto__ = (fress.impl.raw_output.writeRawBytes["_"]);
|
|
112
|
+
if((!((m__5349__auto__ == null)))){
|
|
113
|
+
return (m__5349__auto__.cljs$core$IFn$_invoke$arity$2 ? m__5349__auto__.cljs$core$IFn$_invoke$arity$2(this$,bytes) : m__5349__auto__.call(null, this$,bytes));
|
|
114
|
+
} else {
|
|
115
|
+
throw cljs.core.missing_protocol("IRawOutput.writeRawBytes",this$);
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
});
|
|
119
|
+
var G__48413__4 = (function (this$,bs,off,len){
|
|
120
|
+
var x__5350__auto__ = (((this$ == null))?null:this$);
|
|
121
|
+
var m__5351__auto__ = (fress.impl.raw_output.writeRawBytes[goog.typeOf(x__5350__auto__)]);
|
|
122
|
+
if((!((m__5351__auto__ == null)))){
|
|
123
|
+
return (m__5351__auto__.cljs$core$IFn$_invoke$arity$4 ? m__5351__auto__.cljs$core$IFn$_invoke$arity$4(this$,bs,off,len) : m__5351__auto__.call(null, this$,bs,off,len));
|
|
124
|
+
} else {
|
|
125
|
+
var m__5349__auto__ = (fress.impl.raw_output.writeRawBytes["_"]);
|
|
126
|
+
if((!((m__5349__auto__ == null)))){
|
|
127
|
+
return (m__5349__auto__.cljs$core$IFn$_invoke$arity$4 ? m__5349__auto__.cljs$core$IFn$_invoke$arity$4(this$,bs,off,len) : m__5349__auto__.call(null, this$,bs,off,len));
|
|
128
|
+
} else {
|
|
129
|
+
throw cljs.core.missing_protocol("IRawOutput.writeRawBytes",this$);
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
});
|
|
133
|
+
G__48413 = function(this$,bs,off,len){
|
|
134
|
+
switch(arguments.length){
|
|
135
|
+
case 2:
|
|
136
|
+
return G__48413__2.call(this,this$,bs);
|
|
137
|
+
case 4:
|
|
138
|
+
return G__48413__4.call(this,this$,bs,off,len);
|
|
139
|
+
}
|
|
140
|
+
throw(new Error('Invalid arity: ' + arguments.length));
|
|
141
|
+
};
|
|
142
|
+
G__48413.cljs$core$IFn$_invoke$arity$2 = G__48413__2;
|
|
143
|
+
G__48413.cljs$core$IFn$_invoke$arity$4 = G__48413__4;
|
|
144
|
+
return G__48413;
|
|
145
|
+
})()
|
|
146
|
+
;
|
|
147
|
+
fress.impl.raw_output.writeRawBytes = (function fress$impl$raw_output$writeRawBytes(var_args){
|
|
148
|
+
var G__48276 = arguments.length;
|
|
149
|
+
switch (G__48276) {
|
|
150
|
+
case 2:
|
|
151
|
+
return fress.impl.raw_output.writeRawBytes.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)]));
|
|
152
|
+
|
|
153
|
+
break;
|
|
154
|
+
case 4:
|
|
155
|
+
return fress.impl.raw_output.writeRawBytes.cljs$core$IFn$_invoke$arity$4((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)]));
|
|
156
|
+
|
|
157
|
+
break;
|
|
158
|
+
default:
|
|
159
|
+
throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join('')));
|
|
160
|
+
|
|
161
|
+
}
|
|
162
|
+
});
|
|
163
|
+
|
|
164
|
+
(fress.impl.raw_output.writeRawBytes.cljs$core$IFn$_invoke$arity$2 = (function (this$,bytes){
|
|
165
|
+
if((((!((this$ == null)))) && ((!((this$.fress$impl$raw_output$IRawOutput$writeRawBytes$arity$2 == null)))))){
|
|
166
|
+
return this$.fress$impl$raw_output$IRawOutput$writeRawBytes$arity$2(this$,bytes);
|
|
167
|
+
} else {
|
|
168
|
+
return fress$impl$raw_output$IRawOutput$writeRawBytes$dyn_48412(this$,bytes);
|
|
169
|
+
}
|
|
170
|
+
}));
|
|
171
|
+
|
|
172
|
+
(fress.impl.raw_output.writeRawBytes.cljs$core$IFn$_invoke$arity$4 = (function (this$,bs,off,len){
|
|
173
|
+
if((((!((this$ == null)))) && ((!((this$.fress$impl$raw_output$IRawOutput$writeRawBytes$arity$4 == null)))))){
|
|
174
|
+
return this$.fress$impl$raw_output$IRawOutput$writeRawBytes$arity$4(this$,bs,off,len);
|
|
175
|
+
} else {
|
|
176
|
+
return fress$impl$raw_output$IRawOutput$writeRawBytes$dyn_48412(this$,bs,off,len);
|
|
177
|
+
}
|
|
178
|
+
}));
|
|
179
|
+
|
|
180
|
+
(fress.impl.raw_output.writeRawBytes.cljs$lang$maxFixedArity = 4);
|
|
181
|
+
|
|
182
|
+
|
|
183
|
+
var fress$impl$raw_output$IRawOutput$writeRawInt16$dyn_48418 = (function (this$,i){
|
|
184
|
+
var x__5350__auto__ = (((this$ == null))?null:this$);
|
|
185
|
+
var m__5351__auto__ = (fress.impl.raw_output.writeRawInt16[goog.typeOf(x__5350__auto__)]);
|
|
186
|
+
if((!((m__5351__auto__ == null)))){
|
|
187
|
+
return (m__5351__auto__.cljs$core$IFn$_invoke$arity$2 ? m__5351__auto__.cljs$core$IFn$_invoke$arity$2(this$,i) : m__5351__auto__.call(null, this$,i));
|
|
188
|
+
} else {
|
|
189
|
+
var m__5349__auto__ = (fress.impl.raw_output.writeRawInt16["_"]);
|
|
190
|
+
if((!((m__5349__auto__ == null)))){
|
|
191
|
+
return (m__5349__auto__.cljs$core$IFn$_invoke$arity$2 ? m__5349__auto__.cljs$core$IFn$_invoke$arity$2(this$,i) : m__5349__auto__.call(null, this$,i));
|
|
192
|
+
} else {
|
|
193
|
+
throw cljs.core.missing_protocol("IRawOutput.writeRawInt16",this$);
|
|
194
|
+
}
|
|
195
|
+
}
|
|
196
|
+
});
|
|
197
|
+
fress.impl.raw_output.writeRawInt16 = (function fress$impl$raw_output$writeRawInt16(this$,i){
|
|
198
|
+
if((((!((this$ == null)))) && ((!((this$.fress$impl$raw_output$IRawOutput$writeRawInt16$arity$2 == null)))))){
|
|
199
|
+
return this$.fress$impl$raw_output$IRawOutput$writeRawInt16$arity$2(this$,i);
|
|
200
|
+
} else {
|
|
201
|
+
return fress$impl$raw_output$IRawOutput$writeRawInt16$dyn_48418(this$,i);
|
|
202
|
+
}
|
|
203
|
+
});
|
|
204
|
+
|
|
205
|
+
var fress$impl$raw_output$IRawOutput$writeRawInt24$dyn_48419 = (function (this$,i){
|
|
206
|
+
var x__5350__auto__ = (((this$ == null))?null:this$);
|
|
207
|
+
var m__5351__auto__ = (fress.impl.raw_output.writeRawInt24[goog.typeOf(x__5350__auto__)]);
|
|
208
|
+
if((!((m__5351__auto__ == null)))){
|
|
209
|
+
return (m__5351__auto__.cljs$core$IFn$_invoke$arity$2 ? m__5351__auto__.cljs$core$IFn$_invoke$arity$2(this$,i) : m__5351__auto__.call(null, this$,i));
|
|
210
|
+
} else {
|
|
211
|
+
var m__5349__auto__ = (fress.impl.raw_output.writeRawInt24["_"]);
|
|
212
|
+
if((!((m__5349__auto__ == null)))){
|
|
213
|
+
return (m__5349__auto__.cljs$core$IFn$_invoke$arity$2 ? m__5349__auto__.cljs$core$IFn$_invoke$arity$2(this$,i) : m__5349__auto__.call(null, this$,i));
|
|
214
|
+
} else {
|
|
215
|
+
throw cljs.core.missing_protocol("IRawOutput.writeRawInt24",this$);
|
|
216
|
+
}
|
|
217
|
+
}
|
|
218
|
+
});
|
|
219
|
+
fress.impl.raw_output.writeRawInt24 = (function fress$impl$raw_output$writeRawInt24(this$,i){
|
|
220
|
+
if((((!((this$ == null)))) && ((!((this$.fress$impl$raw_output$IRawOutput$writeRawInt24$arity$2 == null)))))){
|
|
221
|
+
return this$.fress$impl$raw_output$IRawOutput$writeRawInt24$arity$2(this$,i);
|
|
222
|
+
} else {
|
|
223
|
+
return fress$impl$raw_output$IRawOutput$writeRawInt24$dyn_48419(this$,i);
|
|
224
|
+
}
|
|
225
|
+
});
|
|
226
|
+
|
|
227
|
+
var fress$impl$raw_output$IRawOutput$writeRawInt32$dyn_48420 = (function (this$,i){
|
|
228
|
+
var x__5350__auto__ = (((this$ == null))?null:this$);
|
|
229
|
+
var m__5351__auto__ = (fress.impl.raw_output.writeRawInt32[goog.typeOf(x__5350__auto__)]);
|
|
230
|
+
if((!((m__5351__auto__ == null)))){
|
|
231
|
+
return (m__5351__auto__.cljs$core$IFn$_invoke$arity$2 ? m__5351__auto__.cljs$core$IFn$_invoke$arity$2(this$,i) : m__5351__auto__.call(null, this$,i));
|
|
232
|
+
} else {
|
|
233
|
+
var m__5349__auto__ = (fress.impl.raw_output.writeRawInt32["_"]);
|
|
234
|
+
if((!((m__5349__auto__ == null)))){
|
|
235
|
+
return (m__5349__auto__.cljs$core$IFn$_invoke$arity$2 ? m__5349__auto__.cljs$core$IFn$_invoke$arity$2(this$,i) : m__5349__auto__.call(null, this$,i));
|
|
236
|
+
} else {
|
|
237
|
+
throw cljs.core.missing_protocol("IRawOutput.writeRawInt32",this$);
|
|
238
|
+
}
|
|
239
|
+
}
|
|
240
|
+
});
|
|
241
|
+
fress.impl.raw_output.writeRawInt32 = (function fress$impl$raw_output$writeRawInt32(this$,i){
|
|
242
|
+
if((((!((this$ == null)))) && ((!((this$.fress$impl$raw_output$IRawOutput$writeRawInt32$arity$2 == null)))))){
|
|
243
|
+
return this$.fress$impl$raw_output$IRawOutput$writeRawInt32$arity$2(this$,i);
|
|
244
|
+
} else {
|
|
245
|
+
return fress$impl$raw_output$IRawOutput$writeRawInt32$dyn_48420(this$,i);
|
|
246
|
+
}
|
|
247
|
+
});
|
|
248
|
+
|
|
249
|
+
var fress$impl$raw_output$IRawOutput$writeRawInt40$dyn_48421 = (function (this$,i){
|
|
250
|
+
var x__5350__auto__ = (((this$ == null))?null:this$);
|
|
251
|
+
var m__5351__auto__ = (fress.impl.raw_output.writeRawInt40[goog.typeOf(x__5350__auto__)]);
|
|
252
|
+
if((!((m__5351__auto__ == null)))){
|
|
253
|
+
return (m__5351__auto__.cljs$core$IFn$_invoke$arity$2 ? m__5351__auto__.cljs$core$IFn$_invoke$arity$2(this$,i) : m__5351__auto__.call(null, this$,i));
|
|
254
|
+
} else {
|
|
255
|
+
var m__5349__auto__ = (fress.impl.raw_output.writeRawInt40["_"]);
|
|
256
|
+
if((!((m__5349__auto__ == null)))){
|
|
257
|
+
return (m__5349__auto__.cljs$core$IFn$_invoke$arity$2 ? m__5349__auto__.cljs$core$IFn$_invoke$arity$2(this$,i) : m__5349__auto__.call(null, this$,i));
|
|
258
|
+
} else {
|
|
259
|
+
throw cljs.core.missing_protocol("IRawOutput.writeRawInt40",this$);
|
|
260
|
+
}
|
|
261
|
+
}
|
|
262
|
+
});
|
|
263
|
+
fress.impl.raw_output.writeRawInt40 = (function fress$impl$raw_output$writeRawInt40(this$,i){
|
|
264
|
+
if((((!((this$ == null)))) && ((!((this$.fress$impl$raw_output$IRawOutput$writeRawInt40$arity$2 == null)))))){
|
|
265
|
+
return this$.fress$impl$raw_output$IRawOutput$writeRawInt40$arity$2(this$,i);
|
|
266
|
+
} else {
|
|
267
|
+
return fress$impl$raw_output$IRawOutput$writeRawInt40$dyn_48421(this$,i);
|
|
268
|
+
}
|
|
269
|
+
});
|
|
270
|
+
|
|
271
|
+
var fress$impl$raw_output$IRawOutput$writeRawInt48$dyn_48422 = (function (this$,i){
|
|
272
|
+
var x__5350__auto__ = (((this$ == null))?null:this$);
|
|
273
|
+
var m__5351__auto__ = (fress.impl.raw_output.writeRawInt48[goog.typeOf(x__5350__auto__)]);
|
|
274
|
+
if((!((m__5351__auto__ == null)))){
|
|
275
|
+
return (m__5351__auto__.cljs$core$IFn$_invoke$arity$2 ? m__5351__auto__.cljs$core$IFn$_invoke$arity$2(this$,i) : m__5351__auto__.call(null, this$,i));
|
|
276
|
+
} else {
|
|
277
|
+
var m__5349__auto__ = (fress.impl.raw_output.writeRawInt48["_"]);
|
|
278
|
+
if((!((m__5349__auto__ == null)))){
|
|
279
|
+
return (m__5349__auto__.cljs$core$IFn$_invoke$arity$2 ? m__5349__auto__.cljs$core$IFn$_invoke$arity$2(this$,i) : m__5349__auto__.call(null, this$,i));
|
|
280
|
+
} else {
|
|
281
|
+
throw cljs.core.missing_protocol("IRawOutput.writeRawInt48",this$);
|
|
282
|
+
}
|
|
283
|
+
}
|
|
284
|
+
});
|
|
285
|
+
fress.impl.raw_output.writeRawInt48 = (function fress$impl$raw_output$writeRawInt48(this$,i){
|
|
286
|
+
if((((!((this$ == null)))) && ((!((this$.fress$impl$raw_output$IRawOutput$writeRawInt48$arity$2 == null)))))){
|
|
287
|
+
return this$.fress$impl$raw_output$IRawOutput$writeRawInt48$arity$2(this$,i);
|
|
288
|
+
} else {
|
|
289
|
+
return fress$impl$raw_output$IRawOutput$writeRawInt48$dyn_48422(this$,i);
|
|
290
|
+
}
|
|
291
|
+
});
|
|
292
|
+
|
|
293
|
+
var fress$impl$raw_output$IRawOutput$writeRawInt64$dyn_48424 = (function (this$,i){
|
|
294
|
+
var x__5350__auto__ = (((this$ == null))?null:this$);
|
|
295
|
+
var m__5351__auto__ = (fress.impl.raw_output.writeRawInt64[goog.typeOf(x__5350__auto__)]);
|
|
296
|
+
if((!((m__5351__auto__ == null)))){
|
|
297
|
+
return (m__5351__auto__.cljs$core$IFn$_invoke$arity$2 ? m__5351__auto__.cljs$core$IFn$_invoke$arity$2(this$,i) : m__5351__auto__.call(null, this$,i));
|
|
298
|
+
} else {
|
|
299
|
+
var m__5349__auto__ = (fress.impl.raw_output.writeRawInt64["_"]);
|
|
300
|
+
if((!((m__5349__auto__ == null)))){
|
|
301
|
+
return (m__5349__auto__.cljs$core$IFn$_invoke$arity$2 ? m__5349__auto__.cljs$core$IFn$_invoke$arity$2(this$,i) : m__5349__auto__.call(null, this$,i));
|
|
302
|
+
} else {
|
|
303
|
+
throw cljs.core.missing_protocol("IRawOutput.writeRawInt64",this$);
|
|
304
|
+
}
|
|
305
|
+
}
|
|
306
|
+
});
|
|
307
|
+
fress.impl.raw_output.writeRawInt64 = (function fress$impl$raw_output$writeRawInt64(this$,i){
|
|
308
|
+
if((((!((this$ == null)))) && ((!((this$.fress$impl$raw_output$IRawOutput$writeRawInt64$arity$2 == null)))))){
|
|
309
|
+
return this$.fress$impl$raw_output$IRawOutput$writeRawInt64$arity$2(this$,i);
|
|
310
|
+
} else {
|
|
311
|
+
return fress$impl$raw_output$IRawOutput$writeRawInt64$dyn_48424(this$,i);
|
|
312
|
+
}
|
|
313
|
+
});
|
|
314
|
+
|
|
315
|
+
var fress$impl$raw_output$IRawOutput$writeRawFloat$dyn_48425 = (function (this$,i){
|
|
316
|
+
var x__5350__auto__ = (((this$ == null))?null:this$);
|
|
317
|
+
var m__5351__auto__ = (fress.impl.raw_output.writeRawFloat[goog.typeOf(x__5350__auto__)]);
|
|
318
|
+
if((!((m__5351__auto__ == null)))){
|
|
319
|
+
return (m__5351__auto__.cljs$core$IFn$_invoke$arity$2 ? m__5351__auto__.cljs$core$IFn$_invoke$arity$2(this$,i) : m__5351__auto__.call(null, this$,i));
|
|
320
|
+
} else {
|
|
321
|
+
var m__5349__auto__ = (fress.impl.raw_output.writeRawFloat["_"]);
|
|
322
|
+
if((!((m__5349__auto__ == null)))){
|
|
323
|
+
return (m__5349__auto__.cljs$core$IFn$_invoke$arity$2 ? m__5349__auto__.cljs$core$IFn$_invoke$arity$2(this$,i) : m__5349__auto__.call(null, this$,i));
|
|
324
|
+
} else {
|
|
325
|
+
throw cljs.core.missing_protocol("IRawOutput.writeRawFloat",this$);
|
|
326
|
+
}
|
|
327
|
+
}
|
|
328
|
+
});
|
|
329
|
+
fress.impl.raw_output.writeRawFloat = (function fress$impl$raw_output$writeRawFloat(this$,i){
|
|
330
|
+
if((((!((this$ == null)))) && ((!((this$.fress$impl$raw_output$IRawOutput$writeRawFloat$arity$2 == null)))))){
|
|
331
|
+
return this$.fress$impl$raw_output$IRawOutput$writeRawFloat$arity$2(this$,i);
|
|
332
|
+
} else {
|
|
333
|
+
return fress$impl$raw_output$IRawOutput$writeRawFloat$dyn_48425(this$,i);
|
|
334
|
+
}
|
|
335
|
+
});
|
|
336
|
+
|
|
337
|
+
var fress$impl$raw_output$IRawOutput$writeRawDouble$dyn_48428 = (function (this$,i){
|
|
338
|
+
var x__5350__auto__ = (((this$ == null))?null:this$);
|
|
339
|
+
var m__5351__auto__ = (fress.impl.raw_output.writeRawDouble[goog.typeOf(x__5350__auto__)]);
|
|
340
|
+
if((!((m__5351__auto__ == null)))){
|
|
341
|
+
return (m__5351__auto__.cljs$core$IFn$_invoke$arity$2 ? m__5351__auto__.cljs$core$IFn$_invoke$arity$2(this$,i) : m__5351__auto__.call(null, this$,i));
|
|
342
|
+
} else {
|
|
343
|
+
var m__5349__auto__ = (fress.impl.raw_output.writeRawDouble["_"]);
|
|
344
|
+
if((!((m__5349__auto__ == null)))){
|
|
345
|
+
return (m__5349__auto__.cljs$core$IFn$_invoke$arity$2 ? m__5349__auto__.cljs$core$IFn$_invoke$arity$2(this$,i) : m__5349__auto__.call(null, this$,i));
|
|
346
|
+
} else {
|
|
347
|
+
throw cljs.core.missing_protocol("IRawOutput.writeRawDouble",this$);
|
|
348
|
+
}
|
|
349
|
+
}
|
|
350
|
+
});
|
|
351
|
+
fress.impl.raw_output.writeRawDouble = (function fress$impl$raw_output$writeRawDouble(this$,i){
|
|
352
|
+
if((((!((this$ == null)))) && ((!((this$.fress$impl$raw_output$IRawOutput$writeRawDouble$arity$2 == null)))))){
|
|
353
|
+
return this$.fress$impl$raw_output$IRawOutput$writeRawDouble$arity$2(this$,i);
|
|
354
|
+
} else {
|
|
355
|
+
return fress$impl$raw_output$IRawOutput$writeRawDouble$dyn_48428(this$,i);
|
|
356
|
+
}
|
|
357
|
+
});
|
|
358
|
+
|
|
359
|
+
var fress$impl$raw_output$IRawOutput$getChecksum$dyn_48429 = (function (this$){
|
|
360
|
+
var x__5350__auto__ = (((this$ == null))?null:this$);
|
|
361
|
+
var m__5351__auto__ = (fress.impl.raw_output.getChecksum[goog.typeOf(x__5350__auto__)]);
|
|
362
|
+
if((!((m__5351__auto__ == null)))){
|
|
363
|
+
return (m__5351__auto__.cljs$core$IFn$_invoke$arity$1 ? m__5351__auto__.cljs$core$IFn$_invoke$arity$1(this$) : m__5351__auto__.call(null, this$));
|
|
364
|
+
} else {
|
|
365
|
+
var m__5349__auto__ = (fress.impl.raw_output.getChecksum["_"]);
|
|
366
|
+
if((!((m__5349__auto__ == null)))){
|
|
367
|
+
return (m__5349__auto__.cljs$core$IFn$_invoke$arity$1 ? m__5349__auto__.cljs$core$IFn$_invoke$arity$1(this$) : m__5349__auto__.call(null, this$));
|
|
368
|
+
} else {
|
|
369
|
+
throw cljs.core.missing_protocol("IRawOutput.getChecksum",this$);
|
|
370
|
+
}
|
|
371
|
+
}
|
|
372
|
+
});
|
|
373
|
+
fress.impl.raw_output.getChecksum = (function fress$impl$raw_output$getChecksum(this$){
|
|
374
|
+
if((((!((this$ == null)))) && ((!((this$.fress$impl$raw_output$IRawOutput$getChecksum$arity$1 == null)))))){
|
|
375
|
+
return this$.fress$impl$raw_output$IRawOutput$getChecksum$arity$1(this$);
|
|
376
|
+
} else {
|
|
377
|
+
return fress$impl$raw_output$IRawOutput$getChecksum$dyn_48429(this$);
|
|
378
|
+
}
|
|
379
|
+
});
|
|
380
|
+
|
|
381
|
+
var fress$impl$raw_output$IRawOutput$reset$dyn_48430 = (function (this$){
|
|
382
|
+
var x__5350__auto__ = (((this$ == null))?null:this$);
|
|
383
|
+
var m__5351__auto__ = (fress.impl.raw_output.reset[goog.typeOf(x__5350__auto__)]);
|
|
384
|
+
if((!((m__5351__auto__ == null)))){
|
|
385
|
+
return (m__5351__auto__.cljs$core$IFn$_invoke$arity$1 ? m__5351__auto__.cljs$core$IFn$_invoke$arity$1(this$) : m__5351__auto__.call(null, this$));
|
|
386
|
+
} else {
|
|
387
|
+
var m__5349__auto__ = (fress.impl.raw_output.reset["_"]);
|
|
388
|
+
if((!((m__5349__auto__ == null)))){
|
|
389
|
+
return (m__5349__auto__.cljs$core$IFn$_invoke$arity$1 ? m__5349__auto__.cljs$core$IFn$_invoke$arity$1(this$) : m__5349__auto__.call(null, this$));
|
|
390
|
+
} else {
|
|
391
|
+
throw cljs.core.missing_protocol("IRawOutput.reset",this$);
|
|
392
|
+
}
|
|
393
|
+
}
|
|
394
|
+
});
|
|
395
|
+
fress.impl.raw_output.reset = (function fress$impl$raw_output$reset(this$){
|
|
396
|
+
if((((!((this$ == null)))) && ((!((this$.fress$impl$raw_output$IRawOutput$reset$arity$1 == null)))))){
|
|
397
|
+
return this$.fress$impl$raw_output$IRawOutput$reset$arity$1(this$);
|
|
398
|
+
} else {
|
|
399
|
+
return fress$impl$raw_output$IRawOutput$reset$dyn_48430(this$);
|
|
400
|
+
}
|
|
401
|
+
});
|
|
402
|
+
|
|
403
|
+
|
|
404
|
+
/**
|
|
405
|
+
* @constructor
|
|
406
|
+
* @implements {fress.impl.raw_output.IRawOutput}
|
|
407
|
+
*/
|
|
408
|
+
fress.impl.raw_output.RawOutput = (function (out,checksum){
|
|
409
|
+
this.out = out;
|
|
410
|
+
this.checksum = checksum;
|
|
411
|
+
});
|
|
412
|
+
(fress.impl.raw_output.RawOutput.prototype.fress$impl$raw_output$IRawOutput$ = cljs.core.PROTOCOL_SENTINEL);
|
|
413
|
+
|
|
414
|
+
(fress.impl.raw_output.RawOutput.prototype.fress$impl$raw_output$IRawOutput$writeRawInt24$arity$2 = (function (this$,i){
|
|
415
|
+
var self__ = this;
|
|
416
|
+
var this$__$1 = this;
|
|
417
|
+
this$__$1.fress$impl$raw_output$IRawOutput$writeRawByte$arity$2(null, (Math.floor((i / Math.pow((2),(16)))) & (255)));
|
|
418
|
+
|
|
419
|
+
this$__$1.fress$impl$raw_output$IRawOutput$writeRawByte$arity$2(null, (Math.floor((i / Math.pow((2),(8)))) & (255)));
|
|
420
|
+
|
|
421
|
+
return this$__$1.fress$impl$raw_output$IRawOutput$writeRawByte$arity$2(null, (i & (255)));
|
|
422
|
+
}));
|
|
423
|
+
|
|
424
|
+
(fress.impl.raw_output.RawOutput.prototype.fress$impl$raw_output$IRawOutput$getChecksum$arity$1 = (function (this$){
|
|
425
|
+
var self__ = this;
|
|
426
|
+
var this$__$1 = this;
|
|
427
|
+
if(cljs.core.not(self__.checksum)){
|
|
428
|
+
return (0);
|
|
429
|
+
} else {
|
|
430
|
+
return cljs.core.deref(self__.checksum);
|
|
431
|
+
}
|
|
432
|
+
}));
|
|
433
|
+
|
|
434
|
+
(fress.impl.raw_output.RawOutput.prototype.fress$impl$raw_output$IRawOutput$writeRawInt64$arity$2 = (function (this$,i){
|
|
435
|
+
var self__ = this;
|
|
436
|
+
var this$__$1 = this;
|
|
437
|
+
this$__$1.fress$impl$raw_output$IRawOutput$writeRawByte$arity$2(null, (Math.floor((i / Math.pow((2),(56)))) & (255)));
|
|
438
|
+
|
|
439
|
+
this$__$1.fress$impl$raw_output$IRawOutput$writeRawByte$arity$2(null, (Math.floor((i / Math.pow((2),(48)))) & (255)));
|
|
440
|
+
|
|
441
|
+
this$__$1.fress$impl$raw_output$IRawOutput$writeRawByte$arity$2(null, (Math.floor((i / Math.pow((2),(40)))) & (255)));
|
|
442
|
+
|
|
443
|
+
this$__$1.fress$impl$raw_output$IRawOutput$writeRawByte$arity$2(null, (Math.floor((i / Math.pow((2),(32)))) & (255)));
|
|
444
|
+
|
|
445
|
+
this$__$1.fress$impl$raw_output$IRawOutput$writeRawByte$arity$2(null, (Math.floor((i / Math.pow((2),(24)))) & (255)));
|
|
446
|
+
|
|
447
|
+
this$__$1.fress$impl$raw_output$IRawOutput$writeRawByte$arity$2(null, (Math.floor((i / Math.pow((2),(16)))) & (255)));
|
|
448
|
+
|
|
449
|
+
this$__$1.fress$impl$raw_output$IRawOutput$writeRawByte$arity$2(null, (Math.floor((i / Math.pow((2),(8)))) & (255)));
|
|
450
|
+
|
|
451
|
+
return this$__$1.fress$impl$raw_output$IRawOutput$writeRawByte$arity$2(null, (i & (255)));
|
|
452
|
+
}));
|
|
453
|
+
|
|
454
|
+
(fress.impl.raw_output.RawOutput.prototype.fress$impl$raw_output$IRawOutput$reset$arity$1 = (function (this$){
|
|
455
|
+
var self__ = this;
|
|
456
|
+
var this$__$1 = this;
|
|
457
|
+
fress.impl.buffer.reset(self__.out);
|
|
458
|
+
|
|
459
|
+
if(cljs.core.truth_(self__.checksum)){
|
|
460
|
+
return fress.impl.adler32.reset(self__.checksum);
|
|
461
|
+
} else {
|
|
462
|
+
return null;
|
|
463
|
+
}
|
|
464
|
+
}));
|
|
465
|
+
|
|
466
|
+
(fress.impl.raw_output.RawOutput.prototype.fress$impl$raw_output$IRawOutput$writeRawDouble$arity$2 = (function (this$,f){
|
|
467
|
+
var self__ = this;
|
|
468
|
+
var this$__$1 = this;
|
|
469
|
+
var f64array = (new Float64Array((1)));
|
|
470
|
+
(f64array[(0)] = f);
|
|
471
|
+
|
|
472
|
+
var bytes = (new Uint8Array(f64array.buffer));
|
|
473
|
+
if(fress.util.isBigEndian){
|
|
474
|
+
return this$__$1.fress$impl$raw_output$IRawOutput$writeRawBytes$arity$2(null, bytes);
|
|
475
|
+
} else {
|
|
476
|
+
return this$__$1.fress$impl$raw_output$IRawOutput$writeRawBytes$arity$2(null, bytes.reverse());
|
|
477
|
+
}
|
|
478
|
+
}));
|
|
479
|
+
|
|
480
|
+
(fress.impl.raw_output.RawOutput.prototype.fress$impl$raw_output$IRawOutput$writeRawInt16$arity$2 = (function (this$,i){
|
|
481
|
+
var self__ = this;
|
|
482
|
+
var this$__$1 = this;
|
|
483
|
+
this$__$1.fress$impl$raw_output$IRawOutput$writeRawByte$arity$2(null, (Math.floor((i / Math.pow((2),(8)))) & (255)));
|
|
484
|
+
|
|
485
|
+
return this$__$1.fress$impl$raw_output$IRawOutput$writeRawByte$arity$2(null, (i & (255)));
|
|
486
|
+
}));
|
|
487
|
+
|
|
488
|
+
(fress.impl.raw_output.RawOutput.prototype.fress$impl$raw_output$IRawOutput$writeRawInt40$arity$2 = (function (this$,i){
|
|
489
|
+
var self__ = this;
|
|
490
|
+
var this$__$1 = this;
|
|
491
|
+
this$__$1.fress$impl$raw_output$IRawOutput$writeRawByte$arity$2(null, (Math.floor((i / Math.pow((2),(32)))) & (255)));
|
|
492
|
+
|
|
493
|
+
this$__$1.fress$impl$raw_output$IRawOutput$writeRawByte$arity$2(null, (Math.floor((i / Math.pow((2),(24)))) & (255)));
|
|
494
|
+
|
|
495
|
+
this$__$1.fress$impl$raw_output$IRawOutput$writeRawByte$arity$2(null, (Math.floor((i / Math.pow((2),(16)))) & (255)));
|
|
496
|
+
|
|
497
|
+
this$__$1.fress$impl$raw_output$IRawOutput$writeRawByte$arity$2(null, (Math.floor((i / Math.pow((2),(8)))) & (255)));
|
|
498
|
+
|
|
499
|
+
return this$__$1.fress$impl$raw_output$IRawOutput$writeRawByte$arity$2(null, (i & (255)));
|
|
500
|
+
}));
|
|
501
|
+
|
|
502
|
+
(fress.impl.raw_output.RawOutput.prototype.fress$impl$raw_output$IRawOutput$writeRawFloat$arity$2 = (function (this$,f){
|
|
503
|
+
var self__ = this;
|
|
504
|
+
var this$__$1 = this;
|
|
505
|
+
var f32array = (new Float32Array((1)));
|
|
506
|
+
(f32array[(0)] = f);
|
|
507
|
+
|
|
508
|
+
var bytes = (new Int8Array(f32array.buffer));
|
|
509
|
+
if(fress.util.isBigEndian){
|
|
510
|
+
return this$__$1.fress$impl$raw_output$IRawOutput$writeRawBytes$arity$2(null, bytes);
|
|
511
|
+
} else {
|
|
512
|
+
return this$__$1.fress$impl$raw_output$IRawOutput$writeRawBytes$arity$2(null, bytes.reverse());
|
|
513
|
+
}
|
|
514
|
+
}));
|
|
515
|
+
|
|
516
|
+
(fress.impl.raw_output.RawOutput.prototype.fress$impl$raw_output$IRawOutput$getBytesWritten$arity$1 = (function (this$){
|
|
517
|
+
var self__ = this;
|
|
518
|
+
var this$__$1 = this;
|
|
519
|
+
return fress.impl.buffer.getBytesWritten(self__.out);
|
|
520
|
+
}));
|
|
521
|
+
|
|
522
|
+
(fress.impl.raw_output.RawOutput.prototype.fress$impl$raw_output$IRawOutput$writeRawBytes$arity$2 = (function (this$,bytes){
|
|
523
|
+
var self__ = this;
|
|
524
|
+
var this$__$1 = this;
|
|
525
|
+
fress.impl.buffer.writeBytes(self__.out,bytes);
|
|
526
|
+
|
|
527
|
+
if(cljs.core.truth_(self__.checksum)){
|
|
528
|
+
return fress.impl.adler32.update_BANG_(self__.checksum,bytes,(0),bytes.length);
|
|
529
|
+
} else {
|
|
530
|
+
return null;
|
|
531
|
+
}
|
|
532
|
+
}));
|
|
533
|
+
|
|
534
|
+
(fress.impl.raw_output.RawOutput.prototype.fress$impl$raw_output$IRawOutput$writeRawBytes$arity$4 = (function (this$,bytes,offset,length){
|
|
535
|
+
var self__ = this;
|
|
536
|
+
var this$__$1 = this;
|
|
537
|
+
fress.impl.buffer.writeBytes(self__.out,bytes,offset,length);
|
|
538
|
+
|
|
539
|
+
if(cljs.core.truth_(self__.checksum)){
|
|
540
|
+
return fress.impl.adler32.update_BANG_(self__.checksum,bytes,offset,length);
|
|
541
|
+
} else {
|
|
542
|
+
return null;
|
|
543
|
+
}
|
|
544
|
+
}));
|
|
545
|
+
|
|
546
|
+
(fress.impl.raw_output.RawOutput.prototype.fress$impl$raw_output$IRawOutput$writeRawInt48$arity$2 = (function (this$,i){
|
|
547
|
+
var self__ = this;
|
|
548
|
+
var this$__$1 = this;
|
|
549
|
+
this$__$1.fress$impl$raw_output$IRawOutput$writeRawByte$arity$2(null, (Math.floor((i / Math.pow((2),(40)))) & (255)));
|
|
550
|
+
|
|
551
|
+
this$__$1.fress$impl$raw_output$IRawOutput$writeRawByte$arity$2(null, (Math.floor((i / Math.pow((2),(32)))) & (255)));
|
|
552
|
+
|
|
553
|
+
this$__$1.fress$impl$raw_output$IRawOutput$writeRawByte$arity$2(null, (Math.floor((i / Math.pow((2),(24)))) & (255)));
|
|
554
|
+
|
|
555
|
+
this$__$1.fress$impl$raw_output$IRawOutput$writeRawByte$arity$2(null, (Math.floor((i / Math.pow((2),(16)))) & (255)));
|
|
556
|
+
|
|
557
|
+
this$__$1.fress$impl$raw_output$IRawOutput$writeRawByte$arity$2(null, (Math.floor((i / Math.pow((2),(8)))) & (255)));
|
|
558
|
+
|
|
559
|
+
return this$__$1.fress$impl$raw_output$IRawOutput$writeRawByte$arity$2(null, (i & (255)));
|
|
560
|
+
}));
|
|
561
|
+
|
|
562
|
+
(fress.impl.raw_output.RawOutput.prototype.fress$impl$raw_output$IRawOutput$writeRawByte$arity$2 = (function (this$,byte$){
|
|
563
|
+
var self__ = this;
|
|
564
|
+
var this$__$1 = this;
|
|
565
|
+
fress.impl.buffer.writeByte(self__.out,byte$);
|
|
566
|
+
|
|
567
|
+
if(cljs.core.truth_(self__.checksum)){
|
|
568
|
+
return fress.impl.adler32.update_BANG_(self__.checksum,byte$);
|
|
569
|
+
} else {
|
|
570
|
+
return null;
|
|
571
|
+
}
|
|
572
|
+
}));
|
|
573
|
+
|
|
574
|
+
(fress.impl.raw_output.RawOutput.prototype.fress$impl$raw_output$IRawOutput$getByte$arity$2 = (function (this$,index){
|
|
575
|
+
var self__ = this;
|
|
576
|
+
var this$__$1 = this;
|
|
577
|
+
return fress.impl.buffer.getByte(self__.out,index);
|
|
578
|
+
}));
|
|
579
|
+
|
|
580
|
+
(fress.impl.raw_output.RawOutput.prototype.fress$impl$raw_output$IRawOutput$writeRawInt32$arity$2 = (function (this$,i){
|
|
581
|
+
var self__ = this;
|
|
582
|
+
var this$__$1 = this;
|
|
583
|
+
this$__$1.fress$impl$raw_output$IRawOutput$writeRawByte$arity$2(null, (Math.floor((i / Math.pow((2),(24)))) & (255)));
|
|
584
|
+
|
|
585
|
+
this$__$1.fress$impl$raw_output$IRawOutput$writeRawByte$arity$2(null, (Math.floor((i / Math.pow((2),(16)))) & (255)));
|
|
586
|
+
|
|
587
|
+
this$__$1.fress$impl$raw_output$IRawOutput$writeRawByte$arity$2(null, (Math.floor((i / Math.pow((2),(8)))) & (255)));
|
|
588
|
+
|
|
589
|
+
return this$__$1.fress$impl$raw_output$IRawOutput$writeRawByte$arity$2(null, (i & (255)));
|
|
590
|
+
}));
|
|
591
|
+
|
|
592
|
+
(fress.impl.raw_output.RawOutput.getBasis = (function (){
|
|
593
|
+
return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Symbol(null,"out","out",729986010,null),new cljs.core.Symbol(null,"checksum","checksum",-2104699398,null)], null);
|
|
594
|
+
}));
|
|
595
|
+
|
|
596
|
+
(fress.impl.raw_output.RawOutput.cljs$lang$type = true);
|
|
597
|
+
|
|
598
|
+
(fress.impl.raw_output.RawOutput.cljs$lang$ctorStr = "fress.impl.raw-output/RawOutput");
|
|
599
|
+
|
|
600
|
+
(fress.impl.raw_output.RawOutput.cljs$lang$ctorPrWriter = (function (this__5287__auto__,writer__5288__auto__,opt__5289__auto__){
|
|
601
|
+
return cljs.core._write(writer__5288__auto__,"fress.impl.raw-output/RawOutput");
|
|
602
|
+
}));
|
|
603
|
+
|
|
604
|
+
/**
|
|
605
|
+
* Positional factory function for fress.impl.raw-output/RawOutput.
|
|
606
|
+
*/
|
|
607
|
+
fress.impl.raw_output.__GT_RawOutput = (function fress$impl$raw_output$__GT_RawOutput(out,checksum){
|
|
608
|
+
return (new fress.impl.raw_output.RawOutput(out,checksum));
|
|
609
|
+
});
|
|
610
|
+
|
|
611
|
+
fress.impl.raw_output.raw_output = (function fress$impl$raw_output$raw_output(var_args){
|
|
612
|
+
var G__48395 = arguments.length;
|
|
613
|
+
switch (G__48395) {
|
|
614
|
+
case 0:
|
|
615
|
+
return fress.impl.raw_output.raw_output.cljs$core$IFn$_invoke$arity$0();
|
|
616
|
+
|
|
617
|
+
break;
|
|
618
|
+
case 1:
|
|
619
|
+
return fress.impl.raw_output.raw_output.cljs$core$IFn$_invoke$arity$1((arguments[(0)]));
|
|
620
|
+
|
|
621
|
+
break;
|
|
622
|
+
case 2:
|
|
623
|
+
return fress.impl.raw_output.raw_output.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)]));
|
|
624
|
+
|
|
625
|
+
break;
|
|
626
|
+
default:
|
|
627
|
+
throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join('')));
|
|
628
|
+
|
|
629
|
+
}
|
|
630
|
+
});
|
|
631
|
+
|
|
632
|
+
(fress.impl.raw_output.raw_output.cljs$core$IFn$_invoke$arity$0 = (function (){
|
|
633
|
+
return fress.impl.raw_output.raw_output.cljs$core$IFn$_invoke$arity$1(null);
|
|
634
|
+
}));
|
|
635
|
+
|
|
636
|
+
(fress.impl.raw_output.raw_output.cljs$core$IFn$_invoke$arity$1 = (function (out){
|
|
637
|
+
return fress.impl.raw_output.raw_output.cljs$core$IFn$_invoke$arity$2(out,cljs.core.PersistentArrayMap.EMPTY);
|
|
638
|
+
}));
|
|
639
|
+
|
|
640
|
+
(fress.impl.raw_output.raw_output.cljs$core$IFn$_invoke$arity$2 = (function (out,p__48397){
|
|
641
|
+
var map__48398 = p__48397;
|
|
642
|
+
var map__48398__$1 = cljs.core.__destructure_map(map__48398);
|
|
643
|
+
var offset = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__48398__$1,new cljs.core.Keyword(null,"offset","offset",296498311));
|
|
644
|
+
var checksum_QMARK_ = cljs.core.get.cljs$core$IFn$_invoke$arity$2(map__48398__$1,new cljs.core.Keyword(null,"checksum?","checksum?",-332188273));
|
|
645
|
+
var out__$1 = fress.impl.buffer.writable_buffer.cljs$core$IFn$_invoke$arity$2(out,offset);
|
|
646
|
+
var checksum = (cljs.core.truth_(checksum_QMARK_)?fress.impl.adler32.adler32():null);
|
|
647
|
+
return (new fress.impl.raw_output.RawOutput(out__$1,checksum));
|
|
648
|
+
}));
|
|
649
|
+
|
|
650
|
+
(fress.impl.raw_output.raw_output.cljs$lang$maxFixedArity = 2);
|
|
651
|
+
|
|
652
|
+
|
|
653
|
+
//# sourceMappingURL=fress.impl.raw_output.js.map
|