Ne.app NeANT
The Ne.app NeANT User module of the NeANT distribution.
Macros | Enumerations | Functions
rand.cpp File Reference
#include <time.h>
#include <rw_rand.h>
Include dependency graph for rand.cpp:

Go to the source code of this file.

Macros

#define _RWSTD_TEST_SRC
 

Enumerations

enum  { TABLE_SIZE = 55 }
 

Functions

_TEST_EXPORT void rw_seed32 (_RWSTD_UINT32_T seed)
 
_TEST_EXPORT _RWSTD_UINT32_T rw_rand32 (_RWSTD_UINT32_T limit)
 

Macro Definition Documentation

◆ _RWSTD_TEST_SRC

#define _RWSTD_TEST_SRC

rand.cpp - definitions of testsuite random number generators

$Id$

Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Copyright 2005-2006 Rogue Wave Software.

Definition at line 32 of file rand.cpp.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
TABLE_SIZE 

Definition at line 36 of file rand.cpp.

Function Documentation

◆ rw_rand32()

_TEST_EXPORT _RWSTD_UINT32_T rw_rand32 ( _RWSTD_UINT32_T  limit)

Definition at line 74 of file rand.cpp.

◆ rw_seed32()

_TEST_EXPORT void rw_seed32 ( _RWSTD_UINT32_T  seed)

rw_rand.h - declarations of testsuite random number generators

$Id$

Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Copyright 2005-2006 Rogue Wave Software.

Definition at line 44 of file rand.cpp.