Add missing packages to examples/all

This commit is contained in:
gingerBill
2023-06-07 22:48:39 +01:00
parent 635842b322
commit 9b15bda055
4 changed files with 21 additions and 8 deletions
-3
View File
@@ -1,8 +1,5 @@
package debug_pe package debug_pe
import "core:runtime"
import "core:io"
Section_Header32 :: struct { Section_Header32 :: struct {
name: [8]u8, name: [8]u8,
virtual_size: u32le, virtual_size: u32le,
+3 -2
View File
@@ -266,6 +266,7 @@ match_balance :: proc(ms: ^Match_State, s, p: int) -> (unused: int, err: Error)
return INVALID, .Invalid_Pattern_Capture return INVALID, .Invalid_Pattern_Capture
} }
schar, ssize := utf8_peek(ms.src[s:]) or_return schar, ssize := utf8_peek(ms.src[s:]) or_return
pchar, psize := utf8_peek(ms.pattern[p:]) or_return pchar, psize := utf8_peek(ms.pattern[p:]) or_return
@@ -274,9 +275,9 @@ match_balance :: proc(ms: ^Match_State, s, p: int) -> (unused: int, err: Error)
return INVALID, .OK return INVALID, .OK
} }
s_begin := s
cont := 1 cont := 1
s := s + ssize s := s
s += ssize
begin := pchar begin := pchar
end, _ := utf8_peek(ms.pattern[p + psize:]) or_return end, _ := utf8_peek(ms.pattern[p + psize:]) or_return
-2
View File
@@ -9,12 +9,10 @@
package text_table package text_table
import "core:io" import "core:io"
import "core:os"
import "core:fmt" import "core:fmt"
import "core:mem" import "core:mem"
import "core:mem/virtual" import "core:mem/virtual"
import "core:runtime" import "core:runtime"
import "core:strings"
Cell :: struct { Cell :: struct {
text: string, text: string,
+18 -1
View File
@@ -19,6 +19,8 @@ import priority_queue "core:container/priority_queue"
import queue "core:container/queue" import queue "core:container/queue"
import small_array "core:container/small_array" import small_array "core:container/small_array"
import lru "core:container/lru" import lru "core:container/lru"
import list "core:container/intrusive/list"
import topological_sort "core:container/topological_sort"
import crypto "core:crypto" import crypto "core:crypto"
import blake "core:crypto/blake" import blake "core:crypto/blake"
@@ -48,6 +50,8 @@ import crypto_util "core:crypto/util"
import whirlpool "core:crypto/whirlpool" import whirlpool "core:crypto/whirlpool"
import x25519 "core:crypto/x25519" import x25519 "core:crypto/x25519"
import pe "core:debug/pe"
import dynlib "core:dynlib" import dynlib "core:dynlib"
import net "core:net" import net "core:net"
@@ -58,9 +62,11 @@ import hxa "core:encoding/hxa"
import json "core:encoding/json" import json "core:encoding/json"
import varint "core:encoding/varint" import varint "core:encoding/varint"
import xml "core:encoding/xml" import xml "core:encoding/xml"
import endian "core:encoding/endian"
import fmt "core:fmt" import fmt "core:fmt"
import hash "core:hash" import hash "core:hash"
import xxhash "core:hash/xxhash"
import image "core:image" import image "core:image"
import netpbm "core:image/netpbm" import netpbm "core:image/netpbm"
@@ -80,9 +86,10 @@ import glm "core:math/linalg/glsl"
import hlm "core:math/linalg/hlsl" import hlm "core:math/linalg/hlsl"
import noise "core:math/noise" import noise "core:math/noise"
import rand "core:math/rand" import rand "core:math/rand"
import ease "core:math/ease"
import mem "core:mem" import mem "core:mem"
// import virtual "core:mem/virtual" import virtual "core:mem/virtual"
import ast "core:odin/ast" import ast "core:odin/ast"
import doc_format "core:odin/doc-format" import doc_format "core:odin/doc-format"
@@ -91,6 +98,8 @@ import odin_parser "core:odin/parser"
import odin_printer "core:odin/printer" import odin_printer "core:odin/printer"
import odin_tokenizer "core:odin/tokenizer" import odin_tokenizer "core:odin/tokenizer"
import spall "core:prof/spall"
import os "core:os" import os "core:os"
import slashpath "core:path/slashpath" import slashpath "core:path/slashpath"
@@ -137,6 +146,8 @@ _ :: priority_queue
_ :: queue _ :: queue
_ :: small_array _ :: small_array
_ :: lru _ :: lru
_ :: list
_ :: topological_sort
_ :: crypto _ :: crypto
_ :: blake _ :: blake
_ :: blake2b _ :: blake2b
@@ -164,6 +175,7 @@ _ :: tiger2
_ :: crypto_util _ :: crypto_util
_ :: whirlpool _ :: whirlpool
_ :: x25519 _ :: x25519
_ :: pe
_ :: dynlib _ :: dynlib
_ :: net _ :: net
_ :: base32 _ :: base32
@@ -173,8 +185,10 @@ _ :: hxa
_ :: json _ :: json
_ :: varint _ :: varint
_ :: xml _ :: xml
_ :: endian
_ :: fmt _ :: fmt
_ :: hash _ :: hash
_ :: xxhash
_ :: image _ :: image
_ :: netpbm _ :: netpbm
_ :: png _ :: png
@@ -191,7 +205,9 @@ _ :: glm
_ :: hlm _ :: hlm
_ :: noise _ :: noise
_ :: rand _ :: rand
_ :: ease
_ :: mem _ :: mem
_ :: virtual
_ :: ast _ :: ast
_ :: doc_format _ :: doc_format
_ :: odin_format _ :: odin_format
@@ -199,6 +215,7 @@ _ :: odin_parser
_ :: odin_printer _ :: odin_printer
_ :: odin_tokenizer _ :: odin_tokenizer
_ :: os _ :: os
_ :: spall
_ :: slashpath _ :: slashpath
_ :: filepath _ :: filepath
_ :: reflect _ :: reflect