// create that son of the bitch on heap
let heap_foo: *Foo = malloc(sizeof(Foo)) as Foo;
Niceif(g_Config.m_DbgCurl || m_LogProgress >= HTTPLOG::ALL)
and call it done?sv_register_url
, but client-side is hardcoded.sv_register_url
, but client-side is hardcoded. ddnet-serverlist-urls.cfg
this->
this->
? (edited)this->*
looks like some member pointersthis->
? (edited)mod Simple {
fn main(argc: i64) -> i64 {
let x: i64 = argc;
return references(x) + dereference(&x);
}
fn dereference(a: &i64) -> i64 {
return *a;
}
fn references(a: i64) -> i64 {
let x: i64 = a;
let y: &i64 = &x;
return *y;
}
}
module {
func.func @main(%arg0: i64) -> i64 {
%alloca = memref.alloca() : memref<i64>
memref.store %arg0, %alloca[] : memref<i64>
%0 = memref.load %alloca[] : memref<i64>
%1 = call @"Simple::references"(%0) : (i64) -> i64
%2 = call @"Simple::dereference"(%alloca) : (memref<i64>) -> i64
%3 = arith.addi %1, %2 : i64
return %3 : i64
}
func.func @"Simple::dereference"(%arg0: memref<i64>) -> i64 {
%0 = memref.load %arg0[] : memref<i64>
return %0 : i64
}
func.func @"Simple::references"(%arg0: i64) -> i64 {
%alloca = memref.alloca() : memref<i64>
memref.store %arg0, %alloca[] : memref<i64>
%alloca_0 = memref.alloca() : memref<memref<i64>>
memref.store %alloca, %alloca_0[] : memref<memref<i64>>
%0 = memref.load %alloca_0[] : memref<memref<i64>>
%1 = memref.load %0[] : memref<i64>
return %1 : i64
}
}
0000000000001050 <main>:
1050: 53 push rbx
1051: 48 83 ec 10 sub rsp,0x10
1055: 48 89 7c 24 08 mov QWORD PTR [rsp+0x8],rdi
105a: e8 31 00 00 00 call 1090 <Simple::references>
105f: 48 8d 7c 24 08 lea rdi,[rsp+0x8]
1064: 48 89 c3 mov rbx,rax
1067: 31 d2 xor edx,edx
1069: 48 89 fe mov rsi,rdi
106c: e8 0f 00 00 00 call 1080 <Simple::dereference>
1071: 48 01 d8 add rax,rbx
1074: 48 83 c4 10 add rsp,0x10
1078: 5b pop rbx
1079: c3 ret
107a: 66 0f 1f 44 00 00 nop WORD PTR [rax+rax*1+0x0]
0000000000001080 <Simple::dereference>:
1080: 48 8b 06 mov rax,QWORD PTR [rsi]
1083: c3 ret
1084: 66 66 66 2e 0f 1f 84 data16 data16 cs nop WORD PTR [rax+rax*1+0x0]
108b: 00 00 00 00 00
0000000000001090 <Simple::references>:
1090: 48 8d 4c 24 e0 lea rcx,[rsp-0x20]
1095: 48 89 f8 mov rax,rdi
1098: 48 89 7c 24 e0 mov QWORD PTR [rsp-0x20],rdi
109d: 48 c7 44 24 f8 00 00 mov QWORD PTR [rsp-0x8],0x0
10a4: 00 00
10a6: 48 89 4c 24 e8 mov QWORD PTR [rsp-0x18],rcx
10ab: 48 89 4c 24 f0 mov QWORD PTR [rsp-0x10],rcx
10b0: c3 ret
mod Simple {
fn main(argc: i64) -> i64 {
let x: i64 = argc;
return references(x) + dereference(&x);
}
fn dereference(a: &i64) -> i64 {
return *a;
}
fn references(a: i64) -> i64 {
let x: i64 = a;
let y: &i64 = &x;
return *y;
}
}
module {
func.func @main(%arg0: i64) -> i64 {
%alloca = memref.alloca() : memref<i64>
memref.store %arg0, %alloca[] : memref<i64>
%0 = memref.load %alloca[] : memref<i64>
%1 = call @"Simple::references"(%0) : (i64) -> i64
%2 = call @"Simple::dereference"(%alloca) : (memref<i64>) -> i64
%3 = arith.addi %1, %2 : i64
return %3 : i64
}
func.func @"Simple::dereference"(%arg0: memref<i64>) -> i64 {
%0 = memref.load %arg0[] : memref<i64>
return %0 : i64
}
func.func @"Simple::references"(%arg0: i64) -> i64 {
%alloca = memref.alloca() : memref<i64>
memref.store %arg0, %alloca[] : memref<i64>
%alloca_0 = memref.alloca() : memref<memref<i64>>
memref.store %alloca, %alloca_0[] : memref<memref<i64>>
%0 = memref.load %alloca_0[] : memref<memref<i64>>
%1 = memref.load %0[] : memref<i64>
return %1 : i64
}
}
DummyConnected()
function from IClient
. Client()->DummyConnected()
.str_join
in system.h/cpp
but ConCommandStatus
can't use it correctlyCGraph::Add
function adds values to the graph at the current time. The CGraph::InsertAt
function allows specifying arbitrary X values, as long as the values are inserted in increasing order.
The entries are kept in a ringbuffer and old entries are recycled when it's full. The size of the ringbuffer is configurable for each graph, as the FPS graph needs significantly more buffer beca...c90a52f
Add CDynamicRingBuffer
to avoid specifying size as template - Robyt3
4be76f0
Add time scale to debug graphs for constant scrolling speed - Robyt3
69a7496
Allow finer editor grid - HiRavie
e1ea4a0
Merge pull request #7825 from HiRavie/Grid - def-
0bce368
Merge pull request #7824 from Robyt3/Client-FPS-Graph-Timebase - def-