Liking cljdoc? Tell your friends :D

tech.datatype.java-primitive

Java specific mappings of the datatype system.

Java specific mappings of the datatype system.
raw docstring

*array-constructors*clj

source

*object-array-datatype-override*clj

source

->numbercljmacro

(->number item)
source

add-array-constructor!clj

(add-array-constructor! item-dtype cons-fn)
source

add-numeric-array-constructorclj

(add-numeric-array-constructor item-dtype ary-cons-fn)
source

add-object-array-datatype-override!clj

(add-object-array-datatype-override! cls-dtype override-val)
source

as-boolean-arrayclj

(as-boolean-array obj)
source

as-byte-arrayclj

(as-byte-array obj)
source

as-byte-bufferclj

(as-byte-buffer obj)
source

as-double-arrayclj

(as-double-array obj)
source

as-double-bufferclj

(as-double-buffer obj)
source

as-float-arrayclj

(as-float-array obj)
source

as-float-bufferclj

(as-float-buffer obj)
source

as-int-arrayclj

(as-int-array obj)
source

as-int-bufferclj

(as-int-buffer obj)
source

as-long-arrayclj

(as-long-array obj)
source

as-long-bufferclj

(as-long-buffer obj)
source

as-object-arrayclj

(as-object-array item)
source

as-short-arrayclj

(as-short-array obj)
source

as-short-bufferclj

(as-short-buffer obj)
source

bool->numbercljmacro

(bool->number item)
source

bool->worldclj

(bool->world bool-val)
source

buffer-buffer-copycljmacro

(buffer-buffer-copy src-dtype
                    dst-dtype
                    unchecked?
                    src
                    src-offset
                    dst
                    dst-offset
                    n-elems
                    options)
source

buffer-converter-copy-fncljmacro

(buffer-converter-copy-fn dst-dtype)
source

byte-converter-castclj

(byte-converter-cast item)
source

converter-fn-mapclj

source

core-copy-operationsclj

source

create-converter-fnscljmacro

(create-converter-fns)
source

datatype->array-cast-fncljmacro

(datatype->array-cast-fn dtype buf)
source

datatype->buffer-cast-fncljmacro

(datatype->buffer-cast-fn dtype buf)
source

datatype->buffer-creationcljmacro

(datatype->buffer-creation datatype src-ary)
source

datatype->cast-fncljmacro

(datatype->cast-fn src-dtype dtype val)
source

datatype->convertercljmacro

(datatype->converter datatype item)
source

datatype->unchecked-cast-fncljmacro

(datatype->unchecked-cast-fn src-dtype dtype val)
source

datatypesclj

source

double-converter-castclj

(double-converter-cast item)
source

ensure-ptr-likeclj

(ensure-ptr-like item)

JNA is extremely flexible in what it can take as an argument. Anything convertible to a nio buffer, be it direct or array backend is fine.

JNA is extremely flexible in what it can take as an argument.  Anything convertible
to a nio buffer, be it direct or array backend is fine.
sourceraw docstring

extend-object-array-typeclj

(extend-object-array-type obj-ary-cls)
source

float-converter-castclj

(float-converter-cast item)
source

float32-castclj

source

float64-castclj

source

implement-array-typecljmacro

(implement-array-type array-class datatype)
source

implement-buffer-typecljmacro

(implement-buffer-type buffer-class datatype)
source

implement-scalar-primitivecljmacro

(implement-scalar-primitive cls datatype)
source

int-converter-castclj

(int-converter-cast item)
source

int16-castclj

source

int32-castclj

source

int64-castclj

source

int8-castclj

source

is-jvm-datatype?clj

(is-jvm-datatype? dtype)
source

java-primitive-datatypesclj

source

long-converter-castclj

(long-converter-cast item)
source

make-array-of-typeclj

(make-array-of-type datatype elem-count-or-seq)
(make-array-of-type datatype elem-count-or-seq options)
source

make-buffer-of-typeclj

(make-buffer-of-type datatype elem-count-or-seq)
(make-buffer-of-type datatype elem-count-or-seq options)
source

make-convertercljmacro

(make-converter dst-dtype & convert-code)
source

make-object-array-of-typeclj

(make-object-array-of-type obj-type elem-count-or-seq options)
source

memcpyclj

(memcpy dst src n-bytes)

Copy bytes from one object to another

Copy bytes from one object to another
sourceraw docstring

memsetclj

(memset data val num-bytes)

Set a block of memory to a value

Set a block of memory to a value
sourceraw docstring

memset-constantclj

(memset-constant item offset value elem-count)

Try to memset a constant value. Returns true if succeeds, false otherwise

Try to memset a constant value.  Returns true if succeeds, false otherwise
sourceraw docstring

POffsetablecljprotocol

offset-itemclj

(offset-item item offset)

Offset this thing and return a new item

Offset this thing and return a new item
source

PToArraycljprotocol

Take a'thing' and convert it to an array that exactly represents the value of the data.

Take a'thing' and convert it to an array that exactly represents the value
of the data.

->arrayclj

(->array item)

Convert to an array; both objects must share backing store

Convert to an array; both objects must share backing store

->array-copyclj

(->array-copy item)

Convert to an array containing a copy of the data

Convert to an array containing a copy of the data
sourceraw docstring

PToBuffercljprotocol

Take a 'thing' and convert it to a nio buffer. Only valid if the thing shares the backing store with the buffer. Result may not exactly represent the value of the item itself as the backing store may require element-by-element conversion to represent the value of the item.

Take a 'thing' and convert it to a nio buffer.  Only valid if the thing
shares the backing store with the buffer.  Result may not exactly
represent the value of the item itself as the backing store may require
element-by-element conversion to represent the value of the item.

->buffer-backing-storeclj

(->buffer-backing-store item)
sourceraw docstring

raw-dtype-copy!clj

(raw-dtype-copy! raw-data ary-target target-offset options)
source

short-converter-castclj

(short-converter-cast item)
source

update-base-copy-tablecljmacro

(update-base-copy-table)
source

world->boolclj

(world->bool item)
source

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close