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 <unistd.h> | |
#include <sys/types.h> | |
#include <sys/wait.h> | |
enum ErrorCodes { SUCCES, BAD_INPUT, BAD_OPEN, BAD_EXEC, BAD_FORK }; | |
enum { EXPR_LEN = 4096 }; |
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
\documentclass[a4paper,12pt]{article} | |
%%% Работа с русским языком | |
\usepackage{cmap} % поиск в PDF | |
\usepackage[T2A]{fontenc} % кодировка | |
\usepackage[utf8]{inputenc} % кодировка исходного текста | |
\usepackage[english, russian]{babel} % локализация и переносы | |
%%% Страница |
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 <openssl/evp.h> | |
#include <openssl/sha.h> | |
#include <stdio.h> | |
#include <string.h> | |
enum { MAX_SIZE = 4096 }; | |
enum ErrorCodes {SUCCESS, BAD_ARG }; | |
int main(int argc, char* 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 <openssl/evp.h> | |
#include <openssl/sha.h> | |
#include <stdio.h> | |
#include <string.h> | |
enum { MAX_SIZE = 4096 }; | |
enum ErrorCodes {SUCCESS, BAD_ARG }; | |
int main(int argc, char* 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 <openssl/evp.h> | |
#include <openssl/sha.h> | |
#include <stdio.h> | |
#include <string.h> | |
enum { MAX_SIZE = 4096 }; | |
enum ErrorCodes {SUCCESS, BAD_ARG }; | |
int decrypt(unsigned char *ciphertext, int ciphertext_len, unsigned char *key, | |
unsigned char *iv, unsigned char *plaintext) |
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 <openssl/evp.h> | |
#include <openssl/sha.h> | |
#include <stdio.h> | |
#include <string.h> | |
enum { MAX_SIZE = 4096 }; | |
enum ErrorCodes {SUCCESS, BAD_ARG }; | |
int main(int argc, char* 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 <openssl/evp.h> | |
#include <openssl/sha.h> | |
#include <stdio.h> | |
#include <string.h> | |
enum { MAX_SIZE = 4096 }; | |
int main(int argc, char* argv[]) | |
{ | |
unsigned char data[MAX_SIZE] = ""; |
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
#define FUSE_USE_VERSION 30 | |
#define _FILE_OFFSET_BITS 64 | |
#include <linux/limits.h> | |
#include <dirent.h> | |
#include <errno.h> | |
#include <fuse3/fuse.h> | |
#include <search.h> | |
#include <stddef.h> |
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
#define FUSE_USE_VERSION 30 | |
#define _FILE_OFFSET_BITS 64 | |
#include <errno.h> | |
#include <fuse3/fuse.h> | |
#include <stddef.h> | |
#include <stdio.h> | |
#include <string.h> | |
enum ErrorCodes { |
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 <algorithm> | |
#include <functional> | |
#include <iostream> | |
#include <string> | |
#include <vector> | |
#include <stack> | |
#include <tuple> | |
#include <map> | |
using std::string; |
NewerOlder