mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
8006ee58b8
The fallback to a straight Fisher-Yates shuffle needs to occur whenever the sum of the *remaining* weights is zero, or else the remaining records will not be reordered. Testing only once at the beginning covers the case when all weights are zero, and obviously no shuffling is needed when only one weight is zero; but other weight combinations are possible, such as (1, 0, 0). |
||
---|---|---|
build | ||
clients | ||
contrib | ||
doc | ||
include | ||
libraries | ||
servers | ||
tests | ||
.gitattributes | ||
.gitignore | ||
.gitlab-ci.yml | ||
aclocal.m4 | ||
configure | ||
configure.in | ||
COPYRIGHT | ||
INSTALL | ||
LICENSE | ||
Makefile.in | ||
README |
OpenLDAP Devel README This software was obtained from a development branch of the OpenLDAP Software Repository. This copy is likely already not current, the development branch changes frequently. These changes include code implementing experimental features and unproven bug fixes. Please do NOT redistribute copies of the development branch. The OpenLDAP Developer's FAQ is available at: <http://www.openldap.org/faq/index.cgi?file=4> Client developers seeking a suitable development platform should use "release" or "stable" versions. <http://www.openldap.org/software/> Contributing See <http://www.openldap.org/devel/contributing.html> for how to contribute code or documentation to OpenLDAP. Use the Issue Tracking System <http://www.openldap.org/its/> to submit contributions. While you are encouraged to coordinate and discuss the development activities on the openldap-devel@openldap.org mailing list prior to submission, it is noted that contributions must be submitted using the Issue Tracking System to be considered. --- $OpenLDAP$ This work is part of OpenLDAP Software <http://www.openldap.org/>. Copyright 1998-2020 The OpenLDAP Foundation. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted only as authorized by the OpenLDAP Public License. A copy of this license is available in the file LICENSE in the top-level directory of the distribution or, alternatively, at <http://www.OpenLDAP.org/license.html>. OpenLDAP is a registered trademark of the OpenLDAP Foundation.