This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
list: ("[" list_item (LIST_SEPARATOR list_item)* "]" WS?) | ("[" WS? "]" WS?) | |
list_item: WS? object_instance WS? | |
object_instance: IDENT WS? object_params | |
object_params: empty_object_params | non_empty_object_params | |
empty_object_params: "(" WS? ")" | |
non_empty_object_params: "(" assignment_list_non_empty ")" | |
assignment_list_non_empty: object_param (LIST_SEPARATOR object_param)* | |
object_param: WS? object_param_name WS? "=" WS? object_param_value WS? | |
object_param_name: IDENT | |
object_param_value: WS? (value_null | value_bool | value_int | value_str | value_dict | value_optional | value_list) WS? |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#![no_main] | |
#![no_std] | |
#![feature(type_alias_impl_trait)] | |
use hal; | |
use hal::clocks::Clocks; | |
use hal::gpio::Pin; | |
use hal::{ | |
gpio::{PinMode, Port}, | |
pac::TIM5, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: v1 | |
kind: PersistentVolumeClaim | |
metadata: | |
name: ddb-pvc | |
spec: | |
accessModes: | |
- ReadWriteOnce | |
resources: | |
requests: | |
storage: 1Gi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%include "io.inc" | |
%define ARRAY_SIZE 13 | |
%define DECIMAL_PLACES 5 | |
section .data | |
num_array dw 76, 12, 65, 19, 781, 671, 431, 761, 782, 12, 91, 25, 9 | |
array_sum_prefix db "Sum of numbers: ",0 | |
array_mean_prefix db "Numbers mean: ",0 | |
decimal_point db ".",0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#pragma once | |
#include <iostream> | |
#include <cstring> | |
#include <string> | |
#ifndef debug | |
#define debug false | |
#endif |