diff --git a/core/bufio/index.html b/core/bufio/index.html index 26126c08cd..777c506d55 100644 --- a/core/bufio/index.html +++ b/core/bufio/index.html @@ -1053,7 +1053,7 @@

Source Files

  • writer.odin
  • Generation Information

    -

    Generated with odin version dev-2023-11 (vendor "odin") Windows_amd64 @ 2023-11-11 21:07:31.817758600 +0000 UTC

    +

    Generated with odin version dev-2023-11 (vendor "odin") Windows_amd64 @ 2023-11-12 21:07:56.863193400 +0000 UTC

    @@ -1470,24 +1470,12 @@

    raw_data
    - -
    -
    raw_soa_footer_slice :: proc(array: ^$T/#soa[]$T) -> (footer: ^Raw_SOA_Footer_Slice) {…}
    -
    -
    -

    container_of ¶

    container_of :: proc "contextless" (ptr: $P/^$T, $T: typeid, $field_name: string = ) -> ^typeid {…}
    - -
    -
    raw_soa_footer_dynamic_array :: proc(array: ^$T/#soa[dynamic]$T) -> (footer: ^Raw_SOA_Footer_Dynamic_Array) {…}
    -
    -
    -

    init_global_temporary_allocator ¶

    init_global_temporary_allocator :: proc(size: int, backup_allocator := context.allocator) {…}
    @@ -1507,12 +1495,6 @@

    copy_slice

    -

    make_soa_aligned ¶

    -
    -
    make_soa_aligned :: proc($T: typeid/#soa[]T, length: int, alignment: int, allocator := context.allocator, loc := #caller_location) -> (array: T, err: Allocator_Error) #optional_ok {…}
    -
    -
    -

    copy_from_string ¶

    copy_from_string :: proc "contextless" (dst: $T/[]$E/u8, src: $S/string) -> int {…}
    @@ -1526,18 +1508,6 @@

    -

    make_soa_slice ¶

    -
    -
    make_soa_slice :: proc($T: typeid/#soa[]T, length: int, allocator := context.allocator, loc := #caller_location) -> (array: T, err: Allocator_Error) #optional_ok {…}
    -
    -
    -
    -

    make_soa_dynamic_array ¶

    -
    -
    make_soa_dynamic_array :: proc($T: typeid/#soa[dynamic]T, allocator := context.allocator, loc := #caller_location) -> (array: T, err: Allocator_Error) #optional_ok {…}
    -
    -
    -

    unordered_remove ¶

    unordered_remove :: proc(array: ^$T/[dynamic]$T, index: int, loc := #caller_location) {…}
    @@ -1552,18 +1522,6 @@

    -

    make_soa_dynamic_array_len ¶

    -
    -
    make_soa_dynamic_array_len :: proc($T: typeid/#soa[dynamic]T, #any_int length: int, allocator := context.allocator, loc := #caller_location) -> (array: T, err: Allocator_Error) #optional_ok {…}
    -
    -
    -
    -

    make_soa_dynamic_array_len_cap ¶

    -
    -
    make_soa_dynamic_array_len_cap :: proc($T: typeid/#soa[dynamic]T, #any_int length, #any_int capacity: int, allocator := context.allocator, loc := #caller_location) -> (array: T, err: Allocator_Error) #optional_ok {…}
    -
    -
    -

    ordered_remove ¶

    ordered_remove :: proc(array: ^$T/[dynamic]$T, index: int, loc := #caller_location) {…}
    @@ -1577,18 +1535,6 @@

    orde

    -

    resize_soa ¶

    -
    -
    resize_soa :: proc(array: ^$T/#soa[dynamic]$T, length: int, loc := #caller_location) -> Allocator_Error {…}
    -
    -
    -
    -

    reserve_soa ¶

    -
    -
    reserve_soa :: proc(array: ^$T/#soa[dynamic]$T, capacity: int, loc := #caller_location) -> Allocator_Error {…}
    -
    -
    -

    remove_range ¶

    remove_range :: proc(array: ^$T/[dynamic]$T, lo, hi: int, loc := #caller_location) {…}
    @@ -1601,12 +1547,6 @@

    remove_r

    -

    append_soa_elem ¶

    -
    -
    append_soa_elem :: proc(array: ^$T/#soa[dynamic]$T, arg: $T, loc := #caller_location) -> (n: int, err: Allocator_Error) #optional_ok {…}
    -
    -
    -

    pop ¶

    pop :: proc(array: ^$T/[dynamic]$T, loc := #caller_location) -> (res: $T) {…}
    @@ -1618,18 +1558,6 @@

    pop

    -

    append_soa_elems ¶

    -
    -
    append_soa_elems :: proc(array: ^$T/#soa[dynamic]$T, args: ..$T, loc := #caller_location) -> (n: int, err: Allocator_Error) #optional_ok {…}
    -
    -
    -
    -

    hermitian_adjoint ¶

    -
    -
    hermitian_adjoint :: proc "contextless" (m: $M/matrix[0, 0]$T) -> $M/matrix[0, 0]$T {…}
    -
    -
    -

    pop_safe ¶

    pop_safe :: proc(array: ^$T/[dynamic]$T) -> (res: $T, ok: bool) {…}
    @@ -1652,30 +1580,6 @@

    pop_front

    -

    matrix_trace ¶

    -
    -
    matrix_trace :: proc "contextless" (m: $M/matrix[0, 0]$T) -> (trace: $T) {…}
    -
    -
    -
    -

    matrix_minor ¶

    -
    -
    matrix_minor :: proc "contextless" (m: $M/matrix[0, 0]$T, row, column: int) -> (minor: $T) {…}
    -
    -
    -
    -

    matrix1x1_determinant ¶

    -
    -
    matrix1x1_determinant :: proc "contextless" (m: $M/matrix[1, 1]$T) -> (det: $T) {…}
    -
    -
    -
    -

    matrix2x2_determinant ¶

    -
    -
    matrix2x2_determinant :: proc "contextless" (m: $M/matrix[2, 2]$T) -> (det: $T) {…}
    -
    -
    -

    pop_front_safe ¶

    pop_front_safe :: proc(array: ^$T/[dynamic]$T) -> (res: $T, ok: bool) {…}
    @@ -1687,36 +1591,6 @@

    pop_

    -

    matrix3x3_determinant ¶

    -
    -
    matrix3x3_determinant :: proc "contextless" (m: $A/matrix[3, 3]$T) -> (det: $T) {…}
    -
    -
    -
    -

    matrix4x4_determinant ¶

    -
    -
    matrix4x4_determinant :: proc "contextless" (m: $M/matrix[4, 4]$T) -> (det: $T) {…}
    -
    -
    -
    -

    matrix1x1_adjugate ¶

    -
    -
    matrix1x1_adjugate :: proc "contextless" (x: $M/matrix[1, 1]$T) -> (y: $M/matrix[1, 1]$T) {…}
    -
    -
    -
    -

    matrix2x2_adjugate ¶

    -
    -
    matrix2x2_adjugate :: proc "contextless" (x: $M/matrix[2, 2]$T) -> (y: $M/matrix[2, 2]$T) {…}
    -
    -
    -
    -

    matrix3x3_adjugate ¶

    -
    -
    matrix3x3_adjugate :: proc "contextless" (m: $A/matrix[3, 3]$T) -> (y: $A/matrix[3, 3]$T) {…}
    -
    -
    -

    delete_string ¶

    delete_string :: proc(str: string, allocator := context.allocator, loc := #caller_location) -> Allocator_Error {…}
    @@ -1728,12 +1602,6 @@

    delete

    -

    matrix4x4_adjugate ¶

    -
    -
    matrix4x4_adjugate :: proc "contextless" (x: $M/matrix[4, 4]$T) -> (y: $M/matrix[4, 4]$T) {…}
    -
    -
    -

    delete_cstring ¶

    delete_cstring :: proc(str: cstring, allocator := context.allocator, loc := #caller_location) -> Allocator_Error {…}
    @@ -1745,12 +1613,6 @@

    dele

    -

    matrix1x1_inverse_transpose ¶

    -
    -
    matrix1x1_inverse_transpose :: proc "contextless" (x: $M/matrix[1, 1]$T) -> (y: $M/matrix[1, 1]$T) {…}
    -
    -
    -

    delete_dynamic_array ¶

    delete_dynamic_array :: proc(array: $T/[dynamic]$T, loc := #caller_location) -> Allocator_Error {…}
    @@ -1762,12 +1624,6 @@

    -

    matrix2x2_inverse_transpose ¶

    -
    -
    matrix2x2_inverse_transpose :: proc "contextless" (x: $M/matrix[2, 2]$T) -> (y: $M/matrix[2, 2]$T) {…}
    -
    -

    -

    delete_slice ¶

    delete_slice :: proc(array: $T/[]$T, allocator := context.allocator, loc := #caller_location) -> Allocator_Error {…}
    @@ -1779,12 +1635,6 @@

    delete_s

    -

    matrix3x3_inverse_transpose ¶

    -
    -
    matrix3x3_inverse_transpose :: proc "contextless" (x: $A/matrix[3, 3]$T) -> (y: $A/matrix[3, 3]$T) {…}
    -
    -
    -

    delete_map ¶

    delete_map :: proc(m: $T/map[$T]$T, loc := #caller_location) -> Allocator_Error {…}
    @@ -1796,24 +1646,6 @@

    delete_map

    -

    matrix4x4_inverse_transpose ¶

    -
    -
    matrix4x4_inverse_transpose :: proc "contextless" (x: $M/matrix[4, 4]$T) -> (y: $M/matrix[4, 4]$T) {…}
    -
    -
    -
    -

    matrix1x1_inverse ¶

    -
    -
    matrix1x1_inverse :: proc "contextless" (x: $M/matrix[1, 1]$T) -> (y: $M/matrix[1, 1]$T) {…}
    -
    -
    -
    -

    matrix2x2_inverse ¶

    -
    -
    matrix2x2_inverse :: proc "contextless" (x: $M/matrix[2, 2]$T) -> (y: $M/matrix[2, 2]$T) {…}
    -
    -
    -

    new ¶

    new :: proc($T: typeid, allocator := context.allocator, loc := #caller_location) -> (^typeid, Allocator_Error) #optional_ok {…}
    @@ -1825,24 +1657,12 @@

    new

    -

    matrix3x3_inverse ¶

    -
    -
    matrix3x3_inverse :: proc "contextless" (x: $A/matrix[3, 3]$T) -> (y: $A/matrix[3, 3]$T) {…}
    -
    -
    -

    new_clone ¶

    new_clone :: proc(data: $T, allocator := context.allocator, loc := #caller_location) -> (t: ^$T, err: Allocator_Error) #optional_ok {…}
    -

    matrix4x4_inverse ¶

    -
    -
    matrix4x4_inverse :: proc "contextless" (x: $M/matrix[4, 4]$T) -> (y: $M/matrix[4, 4]$T) {…}
    -
    -
    -

    make_slice ¶

    make_slice :: proc($T: typeid/[]T, #any_int len: int, allocator := context.allocator, loc := #caller_location) -> (T, Allocator_Error) #optional_ok {…}
    @@ -2132,115 +1952,202 @@

    unimpl
    unimplemented :: proc(message: string, loc := #caller_location) -> ! {…}

    -

    Procedure Groups

    -

    determinant ¶

    +

    hermitian_adjoint ¶

    -
    determinant :: proc{
    -	matrix1x1_determinant,
    -	matrix2x2_determinant,
    -	matrix3x3_determinant,
    -	matrix4x4_determinant,
    -}
    -
    +
    hermitian_adjoint :: proc "contextless" (m: $M/matrix[0, 0]$T) -> $M/matrix[0, 0]$T {…}
    -

    copy ¶

    +

    matrix_trace ¶

    -
    copy :: proc{
    -	copy_slice,
    -	copy_from_string,
    -}
    -
    +
    matrix_trace :: proc "contextless" (m: $M/matrix[0, 0]$T) -> (trace: $T) {…}
    -
    -  -

    copy is a built-in procedure that copies elements from a source slice src to a destination slice/string dst. -The source and destination may overlap. Copy returns the number of elements copied, which will be the minimum -of len(src) and len(dst).

    -
    -

    make_soa ¶

    +

    matrix_minor ¶

    -
    make_soa :: proc{
    -	make_soa_slice,
    -	make_soa_dynamic_array,
    -	make_soa_dynamic_array_len,
    -	make_soa_dynamic_array_len_cap,
    -}
    -
    +
    matrix_minor :: proc "contextless" (m: $M/matrix[0, 0]$T, row, column: int) -> (minor: $T) {…}
    -

    adjugate ¶

    +

    matrix1x1_determinant ¶

    -
    adjugate :: proc{
    -	matrix1x1_adjugate,
    -	matrix2x2_adjugate,
    -	matrix3x3_adjugate,
    -	matrix4x4_adjugate,
    -}
    -
    +
    matrix1x1_determinant :: proc "contextless" (m: $M/matrix[1, 1]$T) -> (det: $T) {…}
    -

    inverse_transpose ¶

    +

    matrix2x2_determinant ¶

    -
    inverse_transpose :: proc{
    -	matrix1x1_inverse_transpose,
    -	matrix2x2_inverse_transpose,
    -	matrix3x3_inverse_transpose,
    -	matrix4x4_inverse_transpose,
    -}
    -
    +
    matrix2x2_determinant :: proc "contextless" (m: $M/matrix[2, 2]$T) -> (det: $T) {…}
    -

    inverse ¶

    +

    matrix3x3_determinant ¶

    -
    inverse :: proc{
    -	matrix1x1_inverse,
    -	matrix2x2_inverse,
    -	matrix3x3_inverse,
    -	matrix4x4_inverse,
    -}
    -
    +
    matrix3x3_determinant :: proc "contextless" (m: $M/matrix[3, 3]$T) -> (det: $T) {…}
    -

    append_soa ¶

    +

    matrix4x4_determinant ¶

    -
    append_soa :: proc{
    -	append_soa_elem,
    -	append_soa_elems,
    -}
    -
    +
    matrix4x4_determinant :: proc "contextless" (m: $A/matrix[4, 4]$T) -> (det: $T) {…}
    -
    -  -

    The append_soa built-in procedure appends elements to the end of an #soa dynamic array

    -
    -

    delete_soa ¶

    +

    matrix1x1_adjugate ¶

    -
    delete_soa :: proc{
    -	delete_soa_slice,
    -	delete_soa_dynamic_array,
    -}
    -
    +
    matrix1x1_adjugate :: proc "contextless" (x: $M/matrix[1, 1]$T) -> (y: $M/matrix[1, 1]$T) {…}
    -

    clear_soa ¶

    +

    matrix2x2_adjugate ¶

    -
    clear_soa :: proc{
    -	clear_soa_dynamic_array,
    +
    matrix2x2_adjugate :: proc "contextless" (x: $M/matrix[2, 2]$T) -> (y: $M/matrix[2, 2]$T) {…}
    +
    +
    +
    +

    matrix3x3_adjugate ¶

    +
    +
    matrix3x3_adjugate :: proc "contextless" (m: $M/matrix[3, 3]$T) -> (y: $M/matrix[3, 3]$T) {…}
    +
    +
    +
    +

    matrix4x4_adjugate ¶

    +
    +
    matrix4x4_adjugate :: proc "contextless" (x: $A/matrix[4, 4]$T) -> (y: $A/matrix[4, 4]$T) {…}
    +
    +
    +
    +

    matrix1x1_inverse_transpose ¶

    +
    +
    matrix1x1_inverse_transpose :: proc "contextless" (x: $M/matrix[1, 1]$T) -> (y: $M/matrix[1, 1]$T) {…}
    +
    +
    +
    +

    matrix2x2_inverse_transpose ¶

    +
    +
    matrix2x2_inverse_transpose :: proc "contextless" (x: $M/matrix[2, 2]$T) -> (y: $M/matrix[2, 2]$T) {…}
    +
    +
    +
    +

    matrix3x3_inverse_transpose ¶

    +
    +
    matrix3x3_inverse_transpose :: proc "contextless" (x: $M/matrix[3, 3]$T) -> (y: $M/matrix[3, 3]$T) {…}
    +
    +
    +
    +

    matrix4x4_inverse_transpose ¶

    +
    +
    matrix4x4_inverse_transpose :: proc "contextless" (x: $A/matrix[4, 4]$T) -> (y: $A/matrix[4, 4]$T) {…}
    +
    +
    +
    +

    matrix1x1_inverse ¶

    +
    +
    matrix1x1_inverse :: proc "contextless" (x: $M/matrix[1, 1]$T) -> (y: $M/matrix[1, 1]$T) {…}
    +
    +
    +
    +

    matrix2x2_inverse ¶

    +
    +
    matrix2x2_inverse :: proc "contextless" (x: $M/matrix[2, 2]$T) -> (y: $M/matrix[2, 2]$T) {…}
    +
    +
    +
    +

    matrix3x3_inverse ¶

    +
    +
    matrix3x3_inverse :: proc "contextless" (x: $M/matrix[3, 3]$T) -> (y: $M/matrix[3, 3]$T) {…}
    +
    +
    +
    +

    matrix4x4_inverse ¶

    +
    +
    matrix4x4_inverse :: proc "contextless" (x: $A/matrix[4, 4]$T) -> (y: $A/matrix[4, 4]$T) {…}
    +
    +
    +
    + +
    +
    raw_soa_footer_slice :: proc(array: ^$T/#soa[]$T) -> (footer: ^Raw_SOA_Footer_Slice) {…}
    +
    +
    +
    + +
    +
    raw_soa_footer_dynamic_array :: proc(array: ^$T/#soa[dynamic]$T) -> (footer: ^Raw_SOA_Footer_Dynamic_Array) {…}
    +
    +
    +
    +

    make_soa_aligned ¶

    +
    +
    make_soa_aligned :: proc($T: typeid/#soa[]T, length: int, alignment: int, allocator := context.allocator, loc := #caller_location) -> (array: T, err: Allocator_Error) #optional_ok {…}
    +
    +
    +
    +

    make_soa_slice ¶

    +
    +
    make_soa_slice :: proc($T: typeid/#soa[]T, length: int, allocator := context.allocator, loc := #caller_location) -> (array: T, err: Allocator_Error) #optional_ok {…}
    +
    +
    +
    +

    make_soa_dynamic_array ¶

    +
    +
    make_soa_dynamic_array :: proc($T: typeid/#soa[dynamic]T, allocator := context.allocator, loc := #caller_location) -> (array: T, err: Allocator_Error) #optional_ok {…}
    +
    +
    +
    +

    make_soa_dynamic_array_len ¶

    +
    +
    make_soa_dynamic_array_len :: proc($T: typeid/#soa[dynamic]T, #any_int length: int, allocator := context.allocator, loc := #caller_location) -> (array: T, err: Allocator_Error) #optional_ok {…}
    +
    +
    +
    +

    make_soa_dynamic_array_len_cap ¶

    +
    +
    make_soa_dynamic_array_len_cap :: proc($T: typeid/#soa[dynamic]T, #any_int length, #any_int capacity: int, allocator := context.allocator, loc := #caller_location) -> (array: T, err: Allocator_Error) #optional_ok {…}
    +
    +
    +
    +

    resize_soa ¶

    +
    +
    resize_soa :: proc(array: ^$T/#soa[dynamic]$T, length: int, loc := #caller_location) -> Allocator_Error {…}
    +
    +
    +
    +

    reserve_soa ¶

    +
    +
    reserve_soa :: proc(array: ^$T/#soa[dynamic]$T, capacity: int, loc := #caller_location) -> Allocator_Error {…}
    +
    +
    +
    +

    append_soa_elem ¶

    +
    +
    append_soa_elem :: proc(array: ^$T/#soa[dynamic]$T, arg: $T, loc := #caller_location) -> (n: int, err: Allocator_Error) #optional_ok {…}
    +
    +
    +
    +

    append_soa_elems ¶

    +
    +
    append_soa_elems :: proc(array: ^$T/#soa[dynamic]$T, args: ..$T, loc := #caller_location) -> (n: int, err: Allocator_Error) #optional_ok {…}
    +
    +
    +

    Procedure Groups

    +
    +

    copy ¶

    +
    +
    copy :: proc{
    +	copy_slice,
    +	copy_from_string,
     }
     
    +
    +  +

    copy is a built-in procedure that copies elements from a source slice src to a destination slice/string dst. +The source and destination may overlap. Copy returns the number of elements copied, which will be the minimum +of len(src) and len(dst).

    +
    + + + + +
    +

    append_soa ¶

    +
    +
    append_soa :: proc{
    +	append_soa_elem,
    +	append_soa_elems,
    +}
    +
    +
    +
    +  +

    The append_soa built-in procedure appends elements to the end of an #soa dynamic array

    +
    +
    +
    +

    delete_soa ¶

    +
    +
    delete_soa :: proc{
    +	delete_soa_slice,
    +	delete_soa_dynamic_array,
    +}
    +
    +
    +
    +
    +

    clear_soa ¶

    +
    +
    clear_soa :: proc{
    +	clear_soa_dynamic_array,
    +}
    +
    +
    +