Displaying 4 results from an estimated 4 matches for "checkvalues".
2016 Apr 13
1
[Fwd: Re: Samba_dlz, dhcp y zona inversa no actualiza]
>> what is in '/usr/bin/dhcpd-update-samba-dns.sh' ?
# will receive addresses from this DHCP server. Instructions are found here:
#
https://wiki.archlinux.org/index.php/Samba_4_Active_Directory_Domain_Controller#DHCP
sleep 5
checkvalues()
{
[ -z "${2}" ] && echo "Error: argument '${1}' requires a parameter." &&
exit 1
case ${2} in
-*)
echo "Error: Invalid parameter '${2}' passed to ${1}."
exit 1
;;
*)
return 0
;;
esac
}
showhelp()
{
echo -e "\n"`basename ${0}`...
2006 Jul 26
2
return values from a function - basic question
I thought this would be simple, but I just cant seem to get it to work.
# only allow numbers. Need to check for nil / NAN
def saveHours(val)
if val < 0
val = 0
end
return val
end
current_item.product.v1 = checkValue(values[:val1])
current_item.product.v2 = checkValue(values[:val2])
but when I run the code, nothing is ever returned from the checkValue
function.
2010 Jan 04
3
Extract vector elements until cumsum <= x
Hi All,
I have a vector n, and for each n[i] I want to extract n[i], n[i+1],
n[i+2]..., until the cumulative sum of n[i] and subsequent elements exceeds
a CheckValue, whereupon I move to the next index and repeat.
I am trying to find a Vectorized approach, and have seen similar posts where
filter{stat} and rollmean{zoo} were suggested, but, I haven't been able to
figure a way to use them
2013 Jul 30
0
[LLVMdev] LLVM (opt) -profile-verifier is not pass resilient
I compiled SPEC CPU2006 bzip2 with Clang, and generated profiles with
OPT's -insert-optimal-edge-profiling option.
After a profile run, I launched OPT with -profile-loader
-profile-verifier flags and also passed -O3 flag. This caused OPT to
give a warning "WARNING: profile information is inconsistent with the
current program!" and then fail with an assert (ASSERT:inWeight and