-
Notifications
You must be signed in to change notification settings - Fork 2
/
dev.cljc
59 lines (46 loc) · 2.24 KB
/
dev.cljc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
;; This Source Code Form is subject to the terms of the Mozilla Public
;; License, v. 2.0. If a copy of the MPL was not distributed with this
;; file, You can obtain one at https://mozilla.org/MPL/2.0/.
(ns helins.binf.dev
"For daydreaming at the REPL."
{:clj-kondo/config '{:linters {:unused-import {:level :off}
:unused-namespace {:level :off}}}}
(:require [clojure.pprint]
[helins.binf :as binf]
[helins.binf.base64 :as binf.base64]
[helins.binf.buffer :as binf.buffer]
[helins.binf.cabi :as binf.cabi]
[helins.binf.endian :as binf.endian]
[helins.binf.float :as binf.float]
[helins.binf.gen :as binf.gen]
[helins.binf.int :as binf.int]
[helins.binf.int64 :as binf.int64]
[helins.binf.leb128 :as binf.leb128]
#?(:clj [helins.binf.native :as binf.native])
[helins.binf.protocol :as binf.protocol]
[helins.binf.protocol.impl :as binf.protocol.impl]
[helins.binf.string :as binf.string]
[helins.binf.test :as binf.test]
[helins.binf.test.base64 :as binf.test.base64]
[helins.binf.test.buffer :as binf.test.buffer]
[helins.binf.test.cabi :as binf.test.cabi]
[helins.binf.test.endian :as binf.test.endian]
[helins.binf.test.float :as binf.test.float]
[helins.binf.test.int :as binf.test.int]
[helins.binf.test.int64 :as binf.test.int64]
[helins.binf.test.leb128 :as binf.test.leb128]
#?(:clj [helins.binf.test.native :as binf.test.native])
[helins.binf.test.string :as binf.test.string])
#?(:clj (:import (java.io RandomAccessFile)
(java.nio.channels FileChannel$MapMode))))
;;;;;;;;;;
(comment
(def v
(-> (binf.buffer/alloc 64)
binf/view))
(binf/wa-f32 v
0
##NaN)
(binf/ra-f32 v
0)
)