Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/blukai/haste
/ functions
Functions
316 in github.com/blukai/haste
⨍
Functions
316
◇
Types & classes
106
↓ 51 callers
Method
push
(&mut self, v: i32)
crates/haste_core/src/fieldpath.rs:51
↓ 42 callers
Method
read_ubit64
(&mut self, num_bits: usize)
crates/haste_core/src/bitreader.rs:62
↓ 32 callers
Method
get
(&self, index: &i32)
crates/haste_core/src/entities.rs:507
↓ 31 callers
Method
read_bool
(&mut self)
crates/haste_core/src/bitreader.rs:68
↓ 28 callers
Method
inc_last
(&mut self, v: i32)
crates/haste_core/src/fieldpath.rs:46
↓ 28 callers
Method
read_ubitvarfp
(&mut self)
crates/haste_core/src/bitreader.rs:311
↓ 22 callers
Method
iter
(&self)
crates/haste_core/src/entities.rs:319
↓ 15 callers
Method
pop
(&mut self, n: usize)
crates/haste_core/src/fieldpath.rs:57
↓ 12 callers
Function
fkey_from_path
generates field key from given path. can and recommended to be called from a const context. when called from a const context, the function is interpre
crates/haste_core/src/entities.rs:139
↓ 10 callers
Method
read_ubitvar
(&mut self)
crates/haste_core/src/bitreader.rs:130
↓ 9 callers
Method
context
(&self)
crates/haste_core/src/parser.rs:592
↓ 9 callers
Method
get_unchecked
(&self, index: usize)
crates/haste_core/src/fieldpath.rs:67
↓ 8 callers
Method
read_bitangle
(&mut self, num_bits: usize)
crates/haste_core/src/bitreader.rs:249
↓ 8 callers
Method
run_to_end
(&mut self)
crates/haste_core/src/parser.rs:211
↓ 8 callers
Method
weight
(&self)
tools/huffmanfieldpath/src/main.rs:214
↓ 8 callers
Method
weight
(&self)
crates/haste_core/src/fieldpath.rs:548
↓ 7 callers
Method
seek
(&mut self, pos: SeekFrom)
crates/haste_core/src/demofile.rs:114
↓ 6 callers
Method
inc_at
(&mut self, i: usize, v: i32)
crates/haste_core/src/fieldpath.rs:41
↓ 6 callers
Method
is_overflowed
(&mut self)
crates/haste_core/src/bitreader.rs:89
↓ 6 callers
Function
parse
(input: &str)
crates/haste_vartype/src/parser.rs:110
↓ 5 callers
Method
emit
(&mut self, kind: TokenKind<'a>)
crates/haste_vartype/src/tokenizer.rs:88
↓ 5 callers
Method
next
(&mut self)
crates/haste_vartype/src/tokenizer.rs:148
↓ 4 callers
Method
clear
clear clears underlying storage, but this has no effect on the allocated capacity.
crates/haste_core/src/entities.rs:521
↓ 4 callers
Method
eq
(&self, other: &Self)
crates/haste_core/src/fieldpath.rs:594
↓ 4 callers
Method
expect_token
(&mut self, f: F)
crates/haste_vartype/src/parser.rs:48
↓ 4 callers
Method
get_value
get the value of the field with the provided key, and attempt to convert it. this is a variant of "getter" returns None on conversion error, intended
crates/haste_core/src/entities.rs:327
↓ 4 callers
Method
is_empty
(&self)
crates/haste_core/src/entities.rs:526
↓ 4 callers
Method
num
(&self)
tools/huffmanfieldpath/src/main.rs:221
↓ 4 callers
Method
num
(&self)
crates/haste_core/src/fieldpath.rs:555
↓ 4 callers
Method
read_bitcoord
(&mut self)
crates/haste_core/src/bitreader.rs:146
↓ 4 callers
Method
read_cmd
(&mut self, cmd_header: &CmdHeader)
crates/haste_core/src/demofile.rs:181
↓ 4 callers
Method
read_uvarint32
delegated from [bitbuf::BitReader].
crates/haste_core/src/bitreader.rs:95
↓ 4 callers
Method
read_varint32
delegated from [bitbuf::BitReader].
crates/haste_core/src/bitreader.rs:105
↓ 4 callers
Method
try_get_value
get the value of the field with the provided key, and attempt to convert it. - if the value is missing, it returns [`GetValueError::FieldNotExist`] -
crates/haste_core/src/entities.rs:341
↓ 4 callers
Method
update
( &mut self, string_table: &StringTable, classes: usize, )
crates/haste_core/src/instancebaseline.rs:15
↓ 3 callers
Function
decode_cmd_class_info
(data: &[u8])
crates/haste_broadcast/src/demostream.rs:72
↓ 3 callers
Function
decode_cmd_full_packet
(_data: &[u8])
crates/haste_broadcast/src/demostream.rs:86
↓ 3 callers
Function
decode_cmd_packet
(data: &[u8])
crates/haste_broadcast/src/demostream.rs:77
↓ 3 callers
Function
decode_cmd_send_tables
(data: &[u8])
crates/haste_broadcast/src/demostream.rs:63
↓ 3 callers
Method
eat_while
(&mut self, func: impl Fn(char) -> bool)
crates/haste_vartype/src/tokenizer.rs:68
↓ 3 callers
Method
find_table
INetworkStringTable *FindTable( const char *tableName ) const ;
crates/haste_core/src/stringtables.rs:345
↓ 3 callers
Method
get
( &self, url: &str, )
crates/haste_broadcast/src/broadcasthttp.rs:146
↓ 3 callers
Method
get_child_unchecked
(&self, index: usize)
crates/haste_core/src/flattenedserializers.rs:177
↓ 3 callers
Function
get_entity_coord
(entity: &Entity, cell_key: &u64, vec_key: &u64)
examples/deadlock-position.rs:12
↓ 3 callers
Method
index
(&self)
crates/haste_core/src/entities.rs:377
↓ 3 callers
Method
name
(&self)
crates/haste_core/src/stringtables.rs:285
↓ 3 callers
Method
on_entity
( &mut self, ctx: &Context, delta_header: DeltaHeader, entity: &Entity, )
crates/haste_core/src/parser.rs:96
↓ 3 callers
Method
parse
( &mut self, field_decode_ctx: &mut FieldDecodeContext, br: &mut BitReader, fp
crates/haste_core/src/entities.rs:223
↓ 3 callers
Method
prev_offset
(&self)
crates/haste_vartype/src/tokenizer.rs:81
↓ 3 callers
Method
quantize
(&self, value: f32)
crates/haste_core/src/quantizedfloat.rs:229
↓ 3 callers
Method
read_bitnormal
(&mut self)
crates/haste_core/src/bitreader.rs:183
↓ 3 callers
Method
read_bytes
delegated from [bitbuf::BitReader].
crates/haste_core/src/bitreader.rs:84
↓ 3 callers
Function
read_cmd_header
(mut rdr: R)
crates/haste_broadcast/src/demostream.rs:18
↓ 3 callers
Method
read_cmd_header
(&mut self)
crates/haste_core/src/demofile.rs:132
↓ 3 callers
Method
read_string
Always reads to the end of the string (so you can read the next piece of data waiting). If line is true, it stops when it reaches a '\n' or a null-te
crates/haste_core/src/bitreader.rs:268
↓ 3 callers
Function
resolve_sym
( flattened_serializer: &CsvcMsgFlattenedSerializer, index: Option<&i32>, )
tools/uniquetypes/src/main.rs:13
↓ 3 callers
Method
skip_cmd
(&mut self, cmd_header: &CmdHeader)
crates/haste_core/src/demostream.rs:117
↓ 3 callers
Method
stream_position
(&mut self)
crates/haste_core/src/demofile.rs:125
↓ 3 callers
Method
try_into
(self)
crates/haste_core/src/fieldvalue.rs:102
↓ 3 callers
Function
visit_any
( expr: Expr, field: &FlattenedSerializerField, )
crates/haste_core/src/fieldmetadata.rs:269
↓ 3 callers
Function
walk
( hierarchy: &Node<&'static FieldOpDescriptor>, leafs: &mut Vec<Leaf>, id: usize,
tools/huffmanfieldpath/src/main.rs:291
↓ 2 callers
Method
demo_stream_mut
(&mut self)
crates/haste_core/src/parser.rs:587
↓ 2 callers
Method
get_child
NOTE: using this method can hurt performance when used in critical code paths. use the unsafe [`Self::get_child_unchecked`] instead.
crates/haste_core/src/flattenedserializers.rs:187
↓ 2 callers
Function
get_entity_name
(entity: &'a Entity, entity_names: &'a StringTable)
examples/messagehandler-experiment/main.rs:15
↓ 2 callers
Method
get_fragment
void CDemoStreamHttp::RequestFragment( int nFragment, FragmentTypeEnum_t nType )
crates/haste_broadcast/src/broadcasthttp.rs:185
↓ 2 callers
Method
handle_cmd_packet
(&mut self, cmd: CDemoPacket)
crates/haste_core/src/parser.rs:361
↓ 2 callers
Method
next_packet
TODO: can a consumer pass buffer to http client to read body into to avoid allocations / or what is the alternative?
crates/haste_broadcast/src/broadcasthttp.rs:372
↓ 2 callers
Method
next_token
(&mut self)
crates/haste_vartype/src/parser.rs:39
↓ 2 callers
Method
on_cmd
(&mut self, ctx: &Context, cmd_header: &CmdHeader, data: &[u8])
crates/haste_core/src/parser.rs:106
↓ 2 callers
Method
on_tick_end
(&mut self, ctx: &Context)
crates/haste_core/src/parser.rs:116
↓ 2 callers
Method
parse_update
void ParseUpdate( bf_read &buf, int entries ); some pieces are ported from csgo, some are stolen from butterfly, some comments are stolen from manta.
crates/haste_core/src/stringtables.rs:98
↓ 2 callers
Method
peek_char
(&self)
crates/haste_vartype/src/tokenizer.rs:51
↓ 2 callers
Method
read_bits
delegated from [bitbuf::BitReader].
crates/haste_core/src/bitreader.rs:79
↓ 2 callers
Method
read_byte
(&mut self)
crates/haste_core/src/bitreader.rs:74
↓ 2 callers
Method
run
TODO(blukai): what if parse_to_end and parse_to_tick will not be Parser's direct "responsibility", but instead they will be implemented as "extensions
crates/haste_core/src/parser.rs:176
↓ 2 callers
Function
scan_for_last_tick
(demo_stream: &mut impl DemoStream)
crates/haste_broadcast/src/demostream.rs:94
↓ 2 callers
Method
serializer_name_heq
(&self, rhs: u64)
crates/haste_core/src/entities.rs:366
↓ 2 callers
Method
var_encoder_heq
(&self, rhs: u64)
crates/haste_core/src/flattenedserializers.rs:194
↓ 2 callers
Function
visit_ident
( ident: &str, field: &FlattenedSerializerField, )
crates/haste_core/src/fieldmetadata.rs:97
↓ 1 callers
Function
assign_range_multiplier
public/dt_send.cpp
crates/haste_core/src/quantizedfloat.rs:83
↓ 1 callers
Function
build_fieldop_hierarchy
()
tools/huffmanfieldpath/src/main.rs:253
↓ 1 callers
Function
build_fieldop_hierarchy
()
crates/haste_core/src/fieldpath.rs:601
↓ 1 callers
Method
by_id_unchecked
(&self, class_id: i32)
crates/haste_core/src/instancebaseline.rs:37
↓ 1 callers
Method
by_id_unckecked
(&self, class_id: i32)
crates/haste_core/src/entityclasses.rs:44
↓ 1 callers
Method
by_name_hash_unckecked
( &self, serializer_name_hash: u64, )
crates/haste_core/src/flattenedserializers.rs:374
↓ 1 callers
Function
close_enough
public/mathlib/mathlib.h
crates/haste_core/src/quantizedfloat.rs:78
↓ 1 callers
Method
cmp
(&self, other: &Self)
tools/huffmanfieldpath/src/main.rs:230
↓ 1 callers
Method
cmp
(&self, other: &Self)
crates/haste_core/src/fieldpath.rs:578
↓ 1 callers
Function
compute_encode_flags
stolen from quantizedfloat.go in manta
crates/haste_core/src/quantizedfloat.rs:28
↓ 1 callers
Method
create_string_table_mut
INetworkStringTable *CreateStringTable( const char *tableName, int maxentries, int userdatafixedsize = 0, int userdatanetworkbits = 0, int flags = NSF
crates/haste_core/src/stringtables.rs:308
↓ 1 callers
Method
decode
(&self, br: &mut BitReader)
crates/haste_core/src/quantizedfloat.rs:241
↓ 1 callers
Method
do_full_update
(&mut self, table: &c_demo_string_tables::TableT)
crates/haste_core/src/stringtables.rs:248
↓ 1 callers
Method
eat_whitespace
(&mut self)
crates/haste_vartype/src/tokenizer.rs:117
↓ 1 callers
Method
emit_ident
(&mut self)
crates/haste_vartype/src/tokenizer.rs:95
↓ 1 callers
Method
emit_lit
(&mut self)
crates/haste_vartype/src/tokenizer.rs:106
↓ 1 callers
Method
entities
(&self)
crates/haste_core/src/parser.rs:74
↓ 1 callers
Method
execute
(self)
tools/broadcast/src/main.rs:32
↓ 1 callers
Method
execute
( &self, request: http::Request<Bytes>, )
crates/haste_broadcast/src/httpclient.rs:39
↓ 1 callers
Method
file_info
(&mut self)
crates/haste_core/src/demofile.rs:93
↓ 1 callers
Method
find_table_mut
(&mut self, name: &str)
crates/haste_core/src/stringtables.rs:352
next →
1–100 of 316, ranked by callers