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 <immintrin.h> | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <stdint.h> | |
#include <time.h> | |
#include <string.h> | |
void func(int32_t *pSrc1, int32_t *pSrc2, int32_t *pDst, int32_t size, int32_t mode) | |
{ | |
for(int i = 0; i < size; i++) |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Sign In</title> | |
<script src="https://unpkg.com/axios/dist/axios.min.js"></script> | |
</head> | |
<body> | |
</body> |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8" /> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | |
<title>Login</title> | |
<script src="https://unpkg.com/axios/dist/axios.min.js"></script> | |
</head> | |
<body> |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8" /> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | |
<title>Login</title> | |
<script src="https://unpkg.com/axios/dist/axios.min.js"></script> | |
</head> | |
<body> |
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 "bh1750.h" | |
#include "driver/i2c.h" | |
#include "freertos/FreeRTOS.h" | |
#define AFTER_READ_KOEF 1.2 | |
bool bh1750_op_cmd(uint8_t op) { | |
i2c_cmd_handle_t cmd = i2c_cmd_link_create(); | |
i2c_master_start(cmd); | |
i2c_master_write_byte(cmd, BH1750_ADDRESS << 1 | I2C_MASTER_WRITE, true); |
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 <memory.h> | |
#include "aht10.h" | |
#define AHT10_ADDR 0x38 | |
#define AHT10_INIT_CMD 0xE1 | |
#define AHT10_MEASURE_CMD 0xAC | |
#define AHT10_SOFT_RESET_CMD 0xBA |
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
#ifndef JOY_H | |
#define JOY_H | |
#include "driver/gpio.h" | |
#include "driver/adc.h" | |
#include "rom/gpio.h" | |
#include <map> | |
#include <string> |
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 <stdio.h> | |
#include <stdlib.h> | |
#include <mpi.h> | |
#define N 10 // size of matrices | |
int main(int argc, char** argv) { | |
int rank, size, i, j, k, sum; | |
int A[N][N], B[N][N], C[N]; | |
MPI_Init(&argc, &argv); |
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 <stdio.h> | |
#include <mpi.h> | |
#define MASTER 0 | |
#define MAX_STRING_LENGTH 6 | |
#define MAX_STRING_COUNT 10 | |
void bubbleSort(char *arr[], int n) { | |
int i, j; |
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
package org.example; | |
import java.util.ArrayList; | |
import java.util.List; | |
import java.util.concurrent.RecursiveTask; | |
import java.util.concurrent.ForkJoinPool; | |
public class WordAvgLength extends RecursiveTask<Double> { | |
public static void start() { |
NewerOlder