Les Partages de Memiks
Tag cloud
Picture wall
Daily
Plugins
  • ► Play Videos
RSS Feed
  • RSS Feed
  • ATOM Feed
  • Daily Feed
Filters

Links per page

  • 20 links
  • 50 links
  • 100 links

Display

Filter untagged links
page 1 / 151
Xiaomi Redmi Note 7 (lavender) build releases | OrangeFox Recovery Downloads https://orangefox.download/fr-FR/device/lavender
Mon Mar 1 10:33:36 2021 archive.org
QRCode
Comments
lavender miui orangefox R11 redmi
Svgbob editor https://svgbob-editor.netlify.app/
Wed Feb 24 17:39:46 2021 archive.org
QRCode
Comments
library rust svg
Ubuntu Touch for Redmi Note 7 · GitHub https://github.com/ubuntu-touch-lavender
Tue Feb 23 18:02:04 2021 archive.org
QRCode
Comments
thumbnail

Ubuntu Touch port for Xiaomi Redmi Note 7 (lavender) - Ubuntu Touch for Redmi Note 7

Porting Guide · RIOT-OS/RIOT Wiki · GitHub https://github.com/RIOT-OS/RIOT/wiki/Porting-Guide
Fri Feb 19 22:26:05 2021 archive.org
QRCode
Comments
thumbnail

RIOT - The friendly OS for IoT. Contribute to RIOT-OS

cpu guide port riot
Penpot - Design Freedom for Teams https://penpot.app/
Thu Feb 18 07:27:33 2021 archive.org
QRCode
Comments
thumbnail
Get Started - ESP32-C3 - — ESP-IDF Programming Guide latest documentation https://docs.espressif.com/projects/esp-idf/en/latest/esp32c3/get-started/index.html
Mon Feb 15 20:34:19 2021 archive.org
QRCode
Comments
C3 compile esp32
Introducing ESP32-C3 | Espressif Systems https://www.espressif.com/en/news/ESP32_C3
Mon Feb 15 17:44:34 2021 archive.org
QRCode
Comments
thumbnail

ESP32-C3 is a cost-effective, RISC-V-based MCU with Wi-Fi and Bluetooth LE 5.0 connectivity for secure IoT applications.

C3 esp32 riscv
Release 1.2.2 · tobspr/shapez.io · GitHub https://github.com/tobspr/shapez.io/releases/tag/1.2.2
Mon Feb 15 17:42:51 2021 archive.org
QRCode
Comments
thumbnail
Blockly  |  Google Developers https://developers.google.com/blockly
Mon Feb 15 16:48:39 2021 archive.org
QRCode
Comments
thumbnail

how to use and incorporate blocky in your project ?

blocky google site
Créer un Robot 🤖 de Web Scraping 🕸️ en 2 minutes avec Node-Red 🟥 | Geeek https://www.geeek.org/web-scraping-robot-node-red/
Sun Feb 14 07:17:11 2021 archive.org
QRCode
Comments
thumbnail

Voici un tutoriel simple qui détaille le processus de création d'un robot de Web Scraping via l'utilisation du logiciel Opensource Node-Red.

node red
Serial Peripheral Interface — Wikipédia https://fr.m.wikipedia.org/wiki/Serial_Peripheral_Interface
Tue Feb 9 05:51:19 2021 archive.org
QRCode
Comments
getting size of array from pointer c++ - Stack Overflow https://stackoverflow.com/questions/19894686/getting-size-of-array-from-pointer-c/19894884
Sat Feb 6 14:03:38 2021 archive.org
QRCode
Comments
thumbnail

I am writing a simple function that returns the largest integer in an array. The problem I am having is finding the number of elements in the array.

Here is the function header:

int largest(int ...

cpp memory pointer sizeof
getting size of array from pointer c++ - Stack Overflow https://stackoverflow.com/questions/19894686/getting-size-of-array-from-pointer-c/19894884
Sat Feb 6 14:03:38 2021 archive.org
QRCode
Comments
thumbnail

C++ is based on C and inherits many features from it. In relation to this question, it inherits something called "array/pointer equivalence" which is a rule that allows an array to decay to a pointer, especially when being passed as a function argument. It doesn't mean that an array is a pointer, it just means that it can decay to one.

void func(int ptr); int array[5]; int ptr = array; // valid, equivalent to 'ptr = &array[0]' func(array); // equivalent to func(&array[0]);

This last part is the most relevant to your question. You are not passing the array, you are passing the address of the 0th element.

In order for your function to know how big the incoming array is, you will need to send that information as an argument.

static const size_t ArraySize = 5; int array[ArraySize]; func(array, ArraySize);

Because the pointer contains no size information, you can't use sizeof.

void func(int* array) { std::cout << sizeof(array) << "\n"; }

This will output the size of "int*" - which is 4 or 8 bytes depending on 32 vs 64 bits.

Instead you need to accept the size parameters

void func(int* array, size_t arraySize); static const size_t ArraySize = 5; int array[ArraySize]; func(array, ArraySize);

Even if you try to pass a fixed-sized array, it turns out this is syntactic sugar:

void func(int array[5]);

http://ideone.com/gaSl6J

Remember how I said that an array is NOT a pointer, just equivalent?

int array[5]; int* ptr = array; std::cout << "array size " << sizeof(array) << std::endl; std::cout << "ptr size " << sizeof(ptr) << str::endl;

array size will be 5 sizeof(int) = 20 ptr size will be sizeof(int ) which will be either 4 or 8 bytes.

sizeof returns the size of the type being supplied, if you supply an object then it deduces the type and returns the size of that

If you want to know how many elements of an array are in the array, when you have the array and not a pointer, you can write

sizeof(array) / sizeof(array[0])

or sizeof(array) / sizeof(*array)

cpp memory pointer sizeof
Dynamic Allocation in Classes https://www.cs.fsu.edu/~myers/cop3330/notes/dma.html
Sat Feb 6 14:01:18 2021 archive.org
QRCode
Comments
alloc cpp memory
I2C Bus for ATtiny and ATmega : 8 Steps - Instructables https://www.instructables.com/I2C_Bus_for_ATtiny_and_ATmega/
Wed Feb 3 07:13:03 2021 archive.org
QRCode
Comments
atmega bus I2C
GitHub - lupyuen/bl_iot_sdk: BL602 SDK (Pine64 fork plus enhancements) https://github.com/lupyuen/bl_iot_sdk
Sun Jan 31 15:54:53 2021 archive.org
QRCode
Comments
thumbnail

BL602 SDK (Pine64 fork plus enhancements). Contribute to lupyuen

bl602 dtbl10 risc-v
DT-BL10 - Low-Power IoT Development Board Powered by RISC-V Core - Electronics-Lab.com https://www.electronics-lab.com/dt-bl10-low-power-iot-development-board-powered-by-risc-v-core/
Sun Jan 31 07:56:24 2021 archive.org
QRCode
Comments
thumbnail

DT-BL10 is a development board powered by BL602 WiSoC that sells for around $5. This board...

bl602 dt-bl10 risc-v
BL602 IoT SDK and $5 DT-BL10 WiFi & BLE RISC-V development board https://www.cnx-software.com/2020/10/25/bl602-iot-sdk-and-5-dt-bl10-wifi-ble-risc-v-development-board/
Sun Jan 31 07:55:52 2021 archive.org
QRCode
Comments
thumbnail

Resources to get started with Bouffalo BL602 RISC-V IoT MCU include the BL602 IoT SDK and DT-BL10 WiFi & Bluetooth development board.

bl602 dt-bl10 risc-v
Calibrating pen and touch via xinput - Unix & Linux Stack Exchange https://unix.stackexchange.com/questions/229908/calibrating-pen-and-touch-via-xinput
Thu Jan 28 20:10:39 2021 archive.org
QRCode
Comments
thumbnail
[SOLVED] Touchscreen calibration fails - Linux Mint Forums https://forums.linuxmint.com/viewtopic.php?t=108973
Thu Jan 28 20:09:51 2021 archive.org
QRCode
Comments
page 1 / 151
3008 links
Shaarli - The personal, minimalist, super-fast, database free, bookmarking service by the Shaarli community - Theme by kalvn