⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 rand.h

📁 实现一个简单的单进程内核,。该内核启用二级虚拟页表映射
💻 H
字号:
/* A C-program for MT19937: Integer     version                   *//*  genrand() generates one pseudorandom unsigned integer (32bit) *//* which is uniformly distributed among 0 to 2^32-1  for each     *//* call. sgenrand(seed) set initial values to the working area    *//* of 624 words. Before genrand(), sgenrand(seed) must be         *//* called once. (seed is any 32-bit integer except for 0).        *//*   Coded by Takuji Nishimura, considering the suggestions by    *//* Topher Cooper and Marc Rieffel in July-Aug. 1997.              *//* This library is free software; you can redistribute it and/or   *//* modify it under the terms of the GNU Library General Public     *//* License as published by the Free Software Foundation; either    *//* version 2 of the License, or (at your option) any later         *//* version.                                                        *//* This library is distributed in the hope that it will be useful, *//* but WITHOUT ANY WARRANTY; without even the implied warranty of  *//* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.            *//* See the GNU Library General Public License for more details.    *//* You should have received a copy of the GNU Library General      *//* Public License along with this library; if not, write to the    *//* Free Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA   */ /* 02111-1307  USA                                                 *//* Copyright (C) 1997 Makoto Matsumoto and Takuji Nishimura.       *//* Any feedback is very welcome. For any question, comments,       *//* see http://www.math.keio.ac.jp/matumoto/emt.html or email       *//* matumoto@math.keio.ac.jp                                        */#ifndef _RAND_H#define _RAND_Hvoid sgenrand( unsigned long );unsigned long genrand();#endif /* _RAND_H */

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -