Demo entry 6684443

morestack

   

Submitted by anonymous on Dec 15, 2017 at 09:50
Language: Go. Code size: 199 Bytes.

var growStackGlobal = false

func growStack() {
    var buf [16 << 10] /* 16 KB */ byte
    if growStackGlobal {

        for i := range buf {
            buf[i] = byte(i)
        }
    }
}

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).