X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=lib%2Flibrte_sched%2Frte_approx.h;h=09f30a87f3cc130fc531e9f7bf34b727b4b823ea;hb=d4c18f0a1d5d03297a393b6bcda90e5acc27c710;hp=55f3926b2d4d586a9640bde453ffd0b00c08fcb3;hpb=0260e5e43fe49d7efda27c7c1daceabf0dd4ed6c;p=dpdk.git diff --git a/lib/librte_sched/rte_approx.h b/lib/librte_sched/rte_approx.h index 55f3926b2d..09f30a87f3 100644 --- a/lib/librte_sched/rte_approx.h +++ b/lib/librte_sched/rte_approx.h @@ -1,13 +1,13 @@ /*- * BSD LICENSE - * - * Copyright(c) 2010-2013 Intel Corporation. All rights reserved. + * + * Copyright(c) 2010-2014 Intel Corporation. All rights reserved. * All rights reserved. - * + * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: - * + * * * Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * * Redistributions in binary form must reproduce the above copyright @@ -17,7 +17,7 @@ * * Neither the name of Intel Corporation nor the names of its * contributors may be used to endorse or promote products derived * from this software without specific prior written permission. - * + * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR @@ -45,7 +45,7 @@ extern "C" { * Given a rational number alpha with 0 < alpha < 1 and a precision d, the goal * is to find positive integers p, q such that alpha - d < p/q < alpha + d, and * q is minimal. - * + * ***/ #include @@ -58,7 +58,7 @@ extern "C" { * @param d * Precision for the rational approximation * @param p - * Pointer to pre-allocated space where the numerator of the rational + * Pointer to pre-allocated space where the numerator of the rational * approximation will be stored when operation is successful * @param q * Pointer to pre-allocated space where the denominator of the rational