Pinned Repositories
ASMChat
Term project of course: 汇编与编译原理
Atendb
The tiny bitcask storage engine
blislab
BLISlab: A Sandbox for Optimizing GEMM
bloxorz
大作业_周宸宇_赵哲晖
CLRS
:notebook:Solutions to Introduction to Algorithms
cplusplus-_Implementation_Of_Introduction_to_Algorithms
《算法导论》第三版中算法的C++实现
cppentry.github.io
web
datalab
This repository contains 15 programming puzzles that manipulate bits using the following operators ! ̃ & ˆ | + << >> They are marked by difficulty and their restrictions alongside three different automatic testing programs to use to verify solutions. In addition, enclosed are my own verified solutions to each problem with explanations. All code written to solve the problems have the following restrictions Each "Expr" is an expression using ONLY the following: Integer constants 0 through 255 (0xFF), inclusive. You are not allowed to use big constants such as 0xffffffff. Function arguments and local variables (no global variables). Unary integer operations ! ~ Binary integer operations & ^ | + << >> Some of the problems restrict the set of allowed operators even further. It is forbidden to: Use any control constructs such as if, do, while, for, switch, etc. Define or use any macros. Define any additional functions in this file. Call any functions. Use any other operations, such as &&, ||, -, or ?: Use any form of casting. Use any data type other than int. This implies that you cannot use arrays, structs, or unions. Assume that the computer running the code: Uses 2s complement, 32-bit representations of integers. Performs right shifts arithmetically. Has unpredictable behavior when shifting an integer by more than the word size. NOTES: Use the dlc (data lab checker) compiler to check the legality of solutions. Each function has a maximum number of operators (! ~ & ^ | + << >>) that you are allowed to use for your implementation of the function. The max operator count is checked by dlc. Note that '=' is not counted; you may use as many of these as you want without penalty. Use the btest test harness to check your functions for correctness. The maximum number of ops for each function is given in the header comment for each function. Enclosed are also some autograding tools in the handout directory — btest, dlc, and driver.pl — which can help check the correctness of the solutions • btest: This program checks the functional correctness of the functions in bits.c. To build and use it, type the following two commands: unix> make unix> ./btest Notice that btest must be rebuilt each time bits.c is modified. You can also use the -f flag to instruct btest to test only a single function: unix> ./btest -f bitAnd You can feed it specific function arguments using the option flags -1, -2, and -3: unix> ./btest -f bitAnd -1 7 -2 0xf Check the file README for documentation on running the btest program. • dlc: This is a modified version of an ANSI C compiler from the MIT CILK group that you can use to check for compliance with the coding rules for each puzzle. The typical usage is: unix> ./dlc bits.c The program runs silently unless it detects a problem, such as an illegal operator, too many operators, or non-straightline code in the integer puzzles. Running with the -e switch: unix> ./dlc -e bits.c causes dlc to print counts of the number of operators used by each function. Type ./dlc -help for a list of command line options. • driver.pl: This is a driver program that uses btest and dlc to compute the correctness and performance points for your solution. It takes no arguments: unix> ./driver.pl
DigitalClock
数字电路课程设计 - 多功能数字钟。开发环境:该程序源代码是在Windows XP操作系统上的Quartus II 6.0软件中编写调试。程序运行所依托的数字电路板为Cyclone 2系列,EP2C35F672C6序列的开发板。
Dpex
Distributed DataLoader For Pytorch Based On Ray
Husaimawx's Repositories
Husaimawx/datalab
This repository contains 15 programming puzzles that manipulate bits using the following operators ! ̃ & ˆ | + << >> They are marked by difficulty and their restrictions alongside three different automatic testing programs to use to verify solutions. In addition, enclosed are my own verified solutions to each problem with explanations. All code written to solve the problems have the following restrictions Each "Expr" is an expression using ONLY the following: Integer constants 0 through 255 (0xFF), inclusive. You are not allowed to use big constants such as 0xffffffff. Function arguments and local variables (no global variables). Unary integer operations ! ~ Binary integer operations & ^ | + << >> Some of the problems restrict the set of allowed operators even further. It is forbidden to: Use any control constructs such as if, do, while, for, switch, etc. Define or use any macros. Define any additional functions in this file. Call any functions. Use any other operations, such as &&, ||, -, or ?: Use any form of casting. Use any data type other than int. This implies that you cannot use arrays, structs, or unions. Assume that the computer running the code: Uses 2s complement, 32-bit representations of integers. Performs right shifts arithmetically. Has unpredictable behavior when shifting an integer by more than the word size. NOTES: Use the dlc (data lab checker) compiler to check the legality of solutions. Each function has a maximum number of operators (! ~ & ^ | + << >>) that you are allowed to use for your implementation of the function. The max operator count is checked by dlc. Note that '=' is not counted; you may use as many of these as you want without penalty. Use the btest test harness to check your functions for correctness. The maximum number of ops for each function is given in the header comment for each function. Enclosed are also some autograding tools in the handout directory — btest, dlc, and driver.pl — which can help check the correctness of the solutions • btest: This program checks the functional correctness of the functions in bits.c. To build and use it, type the following two commands: unix> make unix> ./btest Notice that btest must be rebuilt each time bits.c is modified. You can also use the -f flag to instruct btest to test only a single function: unix> ./btest -f bitAnd You can feed it specific function arguments using the option flags -1, -2, and -3: unix> ./btest -f bitAnd -1 7 -2 0xf Check the file README for documentation on running the btest program. • dlc: This is a modified version of an ANSI C compiler from the MIT CILK group that you can use to check for compliance with the coding rules for each puzzle. The typical usage is: unix> ./dlc bits.c The program runs silently unless it detects a problem, such as an illegal operator, too many operators, or non-straightline code in the integer puzzles. Running with the -e switch: unix> ./dlc -e bits.c causes dlc to print counts of the number of operators used by each function. Type ./dlc -help for a list of command line options. • driver.pl: This is a driver program that uses btest and dlc to compute the correctness and performance points for your solution. It takes no arguments: unix> ./driver.pl
Husaimawx/ASMChat
Term project of course: 汇编与编译原理
Husaimawx/blislab
BLISlab: A Sandbox for Optimizing GEMM
Husaimawx/CLRS
:notebook:Solutions to Introduction to Algorithms
Husaimawx/Dpex
Distributed DataLoader For Pytorch Based On Ray
Husaimawx/easy-ftp
ftp协议的学习源码,在这里用c/c++实现了一个简易的控制台ftp客户端,希望可以帮助到一部分学习中的朋友。
Husaimawx/git_test
test for git by ssh on mac
Husaimawx/how-to-optimize-gemm
ARM RowMajor sgemm optimization
Husaimawx/Introduction_to_Algorithms_3rd
Algorithm Introduction Examples and Exercises
Husaimawx/IoT_lab
Husaimawx/iotdb
Apache IoTDB
Husaimawx/LeetCode
Code for Problems on LeetCode
Husaimawx/LingBei2018
武大零杯网页设计比赛2018 零组 一等奖 作品
Husaimawx/MyLeetcode
Husaimawx/password_lock-verilog-
数电大作业(源文件,报告)
Husaimawx/raspberrypi
code on my raspberry pi
Husaimawx/REKCARC-TSC-UHT
清华大学计算机系课程攻略 Guidance for courses in Department of Computer Science and Technology, Tsinghua University
Husaimawx/rental_platform
Husaimawx/rental_platform_frontend
Husaimawx/site-comp
Husaimawx/superset
Apache Superset is a Data Visualization and Data Exploration Platform
Husaimawx/Supra-Vue--
个人基于vue开发的论坛项目
Husaimawx/testGit
test my git
Husaimawx/THU-PPT-Theme
清华主题PPT模板
Husaimawx/thuhole_memories
Husaimawx/thuthesis
LaTeX Thesis Template for Tsinghua University
Husaimawx/vue-nodejs-segment
nodejs express+mysql+vue2 前后端分离 仿segment论坛
Husaimawx/vue-timers
Mixin to manage your intervals in Vue.js
Husaimawx/vue2-flip-countdown
A countdown timer with flip effect for Vue 2.x
Husaimawx/war-of-colourBall
Course: 'Web前端技术实训课程'