#malloc
Explore tagged Tumblr posts
Text
What is the difference between malloc() and calloc()? . . . . for more interview questions https://bit.ly/3EteTnZ check the above link
3 notes
·
View notes
Text
🚀 Melhoramos nossa implementação de malloc(), agora garantindo alinhamento de memória para evitar desperdício e melhorar a performance. Pequenos ajustes, grandes impactos! Quer entender como isso funciona e por que faz diferença? Confira no post 👇
0 notes
Text
Terrence Malick’s next movie should be a tone poem about the beauty and terror of dynamically allocating heap memory so that I can get to the punchline Terrence malloc
0 notes
Text
getting into eltingville reminded me of this nerd, so I drew him again
#oc#also changed their names around because I wanted something more personal and less generic than “macintosh” for a vaporwave creator#adrian is an old name and a water connection and “malloc” is more unique and fits the robot a lot more
175 notes
·
View notes
Text

2 notes
·
View notes
Text
Anyways I've been nauseous all day and thus having trouble eating and of course like an hour before my self determined bedtime my appetite comes back so now i can't sleep because I'm hungry
#spongesound.txt#guess I'll. eat something#me writing this post like hmm maybe these gastro issues are affecting my day to day.#malloc don't @ me
2 notes
·
View notes
Text
youtube
C Malloc() Function in Hindi | What is Malloc() Function | Dynamic Memory Allocation By Malloc()
The malloc() function in C is used to allocate a block of memory on the heap. It is defined in the stdlib.h header file and returns a pointer to the first byte of the allocated memory block. For more details, so Kindly check my website URL.https://www.removeload.com/c-malloc-function
0 notes
Text
that wicked bitch the segmentation fault.... girl.. just dont. its that easy.
1 note
·
View note
Text
got bored and rewrote a class that this chinese company we buy code from sent us, and in about 5 minutes i wrote something that's literally 150x faster than theirs
0 notes
Text
What is the difference between near, far and huge pointers? . . . . for more interview questions https://bit.ly/3EteTnZ check the above link
1 note
·
View note
Text
Implementando malloc() e free() — dividindo blocos grandes
When implementing malloc(), it is important to consider the size of the allocated blocks. For example, reusing blocks too big for smaller requests cause memory waste. How to solve that? Let's see on this post of our series on malloc() and free().
No artigo anterior da série, vimos como a ordem em que escolhemos que blocos de memória reutilizar pode levar a maior ou menor consumo de memória, e mudamos nossas funções para evitar esse desperdício. Mas precisamos resolver outro problema, até mais grave: às vezes, um bloco de memória muito grande pode ocupar o espaço que vários blocos menores poderiam usar. Considere o caso abaixo, em que…
1 note
·
View note
Text
I like c, but the naming is so fucked
#like use some fucking vowels im begging you#i do like how some of the things make words#like fread and malloc
1 note
·
View note
Text
also i blame this on C++ not having an equivalent to realloc() when using new[]
i love spending a couple hours debugging something only to figure it out and then it looks really obvious and i feel dumb af lol
#i didn’t even wanna use new in the first place#only reason i did was because you can’t malloc an array of std::strings
3 notes
·
View notes
Note
bonk!
bonk!!!!
3 notes
·
View notes
Text


In case ppl were curious about the open hardware, open software gay ipod. As you can see, next to other mp3 players.... It's massive. But the good thing is that it should be easy to repair, customize and replace parts all you want. Also, unlike the other players (which are old tech by now), it has Bluetooth which is great. But the setup took the longest time, because I was having issues with the microsd card I was using. It would crash in the middle of a song and get stuck in a boot loop until I took out the SD card. I had to set up a dev environment to get the debugger running to find out that I was having the same memory allocation issue as the others. So I followed the suggested fix of removing all the album art on all the files, and it seemed to work for a second before it crashed again. In my desperation, I reformatted the card to FAT32 so I can put it back into my sansa, but somehow??? it fixed the malloc issues?? (before it was exFAT) So I'm just keeping my eyes on it and trying to actually listen to songs, but now i'm noticing some user experience quirks.
ex) on rockboxed sansa if I select a file from the file browser, it plays the rest of the songs in the folder and even moves onto the next folder if I reach the end, but Tangara only loads up that single song into memory. You can go through the 'albums' menu and select to load the entire album but still, it only plays that the album and doesn't play any more than that. sometimes I just like going through my own file structure rather than the indexed database, so I wish there was a better experience there.
The scroll wheel is a bit finicky imo, even after I've adjusted the sensitivity it takes me SO many tries to get the dial to move up just one entry. Sometimes the small controlled movement I'm making to go up just one line registers as a long press, which makes the UI jump up a whole page. I think there are some feature requests that are asking for a "hybrid" approach of it acting like a button and a scroll wheel so we'll see where that goes!
Under the cut for the other mp3 players I have
Sansa fuze has a bad screen, I think I messed up the ribbon cable when I opened it up to clean. Just gotta go back in there and fix it again 😭. Also the mechanical wheel (which is a rubber coated plastic) is STICKY because the rubber disintegrated, so I really do have to open it up to disassemble everything to clean it out. But otherwise it sounds great, takes an SD card, compact and customizable enough.
The Ipod mini has a bad battery that I replaced but the rockbox + sleep state messed up the new battery and it won't hold a charge anymore so, I put in the original battery and reverted it back to the original software which SUCKS bc itunes (I think u can foobar2000 it actually, but haven't tried yet). I don't think rockbox and ipod mix very well in terms of sleep state which is so unfortunate because I love the feel of the hardware but hate the software.
The sansa clip+ is the first one I had and still is thee best, it just has the smallest battery of all of them :( rockbox works great and it has never let me down!
#tangara#i know i should post on the forum or file an issue ticket on codeberg but i just needed to straighten out my thoughts here first.#tangara devs are doing their absolute best and i trust them and the open source community btwwww#i just wish i didn't erase my C knowledge immediately after i graduated bc i remember really liking it - memory management and all that too#so i can contribute but my brain is mush 👍 idk how i worked as a dev for four years
11 notes
·
View notes
Text
youtube
C Malloc() Function in Hindi | What is Malloc() Function | Dynamic Memory Allocation By Malloc()
The malloc() function in C is used to allocate a block of memory on the heap. It is defined in the stdlib.h header file and returns a pointer to the first byte of the allocated memory block. For more details, so Kindly check my website URL. https://www.removeload.com/c-malloc-function
0 notes