search for: nf

Displaying 20 results from an estimated 775 matches for "nf".

Did you mean: fn
2004 May 01
1
RWinEdt, R.profile and version 1.9.0
Hi, I have just upgraded from the 1.8.1 to the 1.9.0 version of R, and have some trouble to run RWinEdt from the .Rprofile file (in the user folder). The script is: library(MASS) library(lattice) cat("Load editor?(y/n default = y): ") nf <- as.character(readLines(n = 1)) if ((nf=="y")|(nf=="Y")|(nf=="")) {library(RWinEdt)} rm(nf) When run at start, this prompts: Loading required package: stats Load editor?(y/n default = y): y Loading required package: SWinRegistry Error in eval(expr, envir, enclos...
2006 Feb 22
2
[PATCH] don''t require ebtables in the host kernel
...========================= --- xen/tools/examples/network-bridge (revision 991) +++ xen/tools/examples/network-bridge (revision 992) @@ -158,9 +158,9 @@ # Don''t create the bridge if it already exists. if ! brctl show | grep -q ${bridge} ; then - sysctl -w "net.bridge.bridge-nf-call-arptables=0" - sysctl -w "net.bridge.bridge-nf-call-ip6tables=0" - sysctl -w "net.bridge.bridge-nf-call-iptables=0" + ! sysctl -w "net.bridge.bridge-nf-call-arptables=0" + ! sysctl -w "net.bridge.bridge-nf-call-ip6tables=0" + ! sysctl -w "net.b...
2008 Sep 13
3
[LLVMdev] Duplicate Function with duplicated Arguments
I'm now writing a pass and I wanna ask a question about how to duplicate the function and add duplicated arguments in llvm, for example: func(int a, char *b) -> func(int a, char *b, int a1, char *b1) I'm now stuck at using "getOrInsertFunction" and how to handle "getArgumentList", please share your opinion, thanks a lot! James
2009 Jul 28
0
[PATCH 6/8] nv50: support more vtxelt formats
...V50TCL_VERTEX_BEGIN_POINTS; } +static INLINE unsigned +nv50_vtxeltfmt(unsigned pf) +{ + static const uint8_t vtxelt_32[4] = { 0x90, 0x20, 0x10, 0x08 }; + static const uint8_t vtxelt_16[4] = { 0xd8, 0x78, 0x28, 0x18 }; + static const uint8_t vtxelt_08[4] = { 0xe8, 0xc0, 0x98, 0x50 }; + + unsigned nf, c = 0; + + switch (pf_type(pf)) { + case PIPE_FORMAT_TYPE_FLOAT: + nf = NV50TCL_VERTEX_ARRAY_ATTRIB_TYPE_FLOAT; break; + case PIPE_FORMAT_TYPE_UNORM: + nf = NV50TCL_VERTEX_ARRAY_ATTRIB_TYPE_UNORM; break; + case PIPE_FORMAT_TYPE_SNORM: + nf = NV50TCL_VERTEX_ARRAY_ATTRIB_TYPE_SNORM; break; + case...
2016 Feb 26
4
[PATCH 1/5] fat: fix minfatsize for large FAT32
...----------------- Assume: To is the total amount of sectors, Fo is the amount of free sectors for data Fs is the size of one FAT in sectors Cs is the cluster size Ss is the sector size Rs is the reserved sectors before the FAT's Re is the entries in the root-directory Fe is the FAT element size Nf is the number of FATs The size of the FAT must equal the free amount of sectors divided by the cluster size in sectors multiplied by the FAT element size divided by the sector size (the rounding up can be done later). Fo * Fe Fs = ------- Cs * Ss The free amount of sec...
2011 Sep 16
2
[LLVMdev] How to duplicate a function?
...elpful because I am a beginner in llvm. Thank you in advance. Shawn. duplicateFunction.cpp ============================================================================= //===- duplicateFunction.cpp - Writing an LLVM Pass -----------------------===// // // The LLVM Compiler Infrastructure // //===----------------------------------------------------------------------===// // // This file implements the LLVM duplicating function pass. // It starts by computing a new prototype for the function, // which is the same as the old function, but has an extra argument. // //===----...
2016 Feb 26
0
[PATCH 1/5] fat: fix minfatsize for large FAT32
...l amount of sectors, > Fo is the amount of free sectors for data > Fs is the size of one FAT in sectors > Cs is the cluster size > Ss is the sector size > Rs is the reserved sectors before the FAT's > Re is the entries in the root-directory > Fe is the FAT element size > Nf is the number of FATs > > The size of the FAT must equal the free amount of sectors divided by the > cluster size in sectors multiplied by the FAT element size divided by > the sector size (the rounding up can be done later). > > Fo * Fe > Fs = ------- >...
2011 Mar 12
1
libvirt configuration problem
Hi , I am getting errors while configuring libvirt to compile it from source. There is a error in libnl checking for UDEV... no checking whether to compile with macvtap support... yes checking whether to compile with virtual port support... no checking for LIBNL... no configure: error: libnl-devel >= 1.1 is required for macvtap...
2018 Jun 30
0
[Bug 1266] New: bridge-nf-filter-pppoe-tagged mtu bug?
https://bugzilla.netfilter.org/show_bug.cgi?id=1266 Bug ID: 1266 Summary: bridge-nf-filter-pppoe-tagged mtu bug? Product: netfilter/iptables Version: linux-2.6.x Hardware: All OS: RedHat Linux Status: NEW Severity: enhancement Priority: P5 Component: bridging Assignee: netfilter-bugl...
2007 Apr 18
2
[Bridge] Can bridge be 'seen' by ip6tables?
...ried it).Thus,I download a new version and test it. The iptables functions in bridge mode,but the ipv6 doesn't work well.In the bridge mode,ip6tables can¡¯t prevent the packet when I use ¡°ip6tables ¨CA FORWARD ¨Cj DROP¡±. I use the command"ls/proc/sys/net/bridge",it shows bridge-nf-call-iptables,bridge-nf-call-arptables,bridge-nf-filter-vlan-tagged.The problem is I can't find bridge-nf-call-ip6tables. I have searched a lot of information,all said that the kernel2.6 have the bridge-nf code.Could you please tell me how to let the bridged packets be 'seen' by ip...
1998 Feb 27
1
R-beta: is there a way to get rid of loop?
...p. 194). I label the cells in the table as follows stim response "y" "n" total -------------------------------- y hit miss nsignal -------------------------------- n false correct nnoise alarm rejection --------------------------------- Gsens<-function(nhit,nmiss,nfa,ncr) { # Edwards's G_I, measure of interaction, is measure of sensitivity (xlogx(nhit)+xlogx(nmiss)+xlogx(nfa)+xlogx(ncr))-(xlogx(nhit+nmiss)+xlogx(nfa+ncr))-(xlogx(nhit+nfa)+xlogx(nmiss+ncr))+xlogx(nhit+nmiss+nfa+ncr) } BTW I can't figure out how to break the line at 80 cols. I tried \...
2001 Jun 29
0
interaction() -- problem with drop (PR#1003)
(R-1.3.0 on linux, alpha and intel; also tested on R-1.1.1 on irix.) Below is a program that creates some random data (n, x, and y), creates a factor out of x and y and then creates a factor z out of their interaction (corresponding, with the default nf = 2, to quadrants, which is how I came upon this). It then runs an analysis of variance. f.test.problem <- function(n = 100, nf = 2){ t1 <- data.frame(n = rnorm(n), x = rnorm(n), y = rnorm(n)) t1$x <- cut(t1$x, nf, labels = 1:nf) t1$y <- cut(t1$y, nf, labels = 1:nf) t1$z &l...
2019 Oct 07
2
Is imap "list" required before imap "select" for shared folder?
...SELECT or STATUS the shared mailbox I have to first do an imap LIST, i.e, . list "" * If list is not done first, the imap select or status command on the shared mailbox results in a "NO" response with "mailbox doesn't exist" response text. I can provide more information if this is not expected behavior. -gene
2012 Mar 30
2
error message in logistic regression
...looks like the program is doing something due to the "blue wheel" of the mouse. Below is the script copied from R and where I get up to before the message occurs. The data set is based on how accurate dogs are at giving a trained response when finding drugs. D=dogs, P= phase of test, NF= number found, NTA= times they gave the trained alert, NA= times they did not give the alert, R= reliability in % > file.choose() [1] "E:\\Rhome exam\\question4\\table1Q4.txt" > tort<-read.table("E:\\Rhome exam\\question4\\table1Q4.txt") > tort D P NF NTA Na R...
2003 Sep 05
0
Finding periods, sort of.
...as been a *great* tool for exploring this stuff. For example, I concatenated a selection of the series and used quantile(notes, c(0.34,0.66)) to find suitable cutoff points. Then library(vcd) tern <- function (data, L = 65, U = 73, bw = 20) { f <- data$Note v <- data$Volume nf <- length(f) lo <- cumsum(v * (f < L)) lo <- lo[(bw+1):nf] - lo[1:(nf-bw)] md <- cumsum(v * (f >= L & f <= U)) md <- md[(bw+1):nf] - md[1:(nf-bw)] hi <- cumsum(v * (f > U)) hi <- hi[(bw+1):nf] - hi[1:(nf-bw)] cv <- cumsum(v)...
2004 Nov 15
5
Packet loss with htb+sfq+l7filter
...OUT parent 1:0 protocol ip prio 1 handle 1 fw classid 1:10 tc filter add dev $IFOUT parent 1:0 protocol ip prio 2 handle 2 fw classid 1:20 tc filter add dev $IFOUT parent 1:0 protocol ip prio 3 handle 3 fw classid 1:30 tc filter add dev $IFOUT parent 1:0 protocol ip prio 4 handle 4 fw classid 1:40 NF="/usr/local/sbin/iptables -t mangle -A PREROUTING " NFl7="/usr/local/sbin/iptables -t mangle -A POSTROUTING -m layer7 " /usr/local/sbin/iptables -F -t mangle # by tos $NF -p icmp -j MARK --set-mark 0x1 $NF -p icmp -j RETURN $NF -m tos --tos 0x8 -j MARK --set-mark 0x3 #scp $NF...
2020 Aug 15
5
Supporting libunwind on Windows 10 (32bit; 64bit) for MSVC and Clang
...gt; Well for libunwind, there's really no use for it in an MSVC setting. All > the unwinding functionality is already built into the operating system, > available via the Rtl*Unwind* functions. > Martin, you mean these functions https://docs.microsoft.com/en-us/windows/win32/api/winnt/nf-winnt-rtlunwind https://docs.microsoft.com/en-us/windows/win32/api/winnt/nf-winnt-rtlunwind2 https://docs.microsoft.com/en-us/windows/win32/api/winnt/nf-winnt-rtlunwindex https://docs.microsoft.com/en-us/windows/win32/api/winnt/nf-winnt-rtlvirtualunwind ? > > For libbacktrace, I guess the _U...
2010 Mar 16
2
What kernel params to use with KVM hosts??
Hi all, I order to reach maximum performance on my centos kvm hosts I have use these params: - On /etc/grub.conf: kernel /vmlinuz-2.6.18-164.11.1.el5 ro root=LABEL=/ elevator=deadline quiet - On sysctl.conf # Special network params net.core.rmem_default = 8388608 net.core.wmem_default = 8388608 net.core.rmem_max = 16777216 net.core.wmem_max = 16777216 net.ipv4.tcp_rmem = 1048576 419...
2006 Feb 15
2
common title for graphs in a (1x2) layout
...layout" cmd. How to insert a title in a 1x2 layout? The title is related to both graphs. I looked for it in help, unsuccessfully. Thanks in advance, Rodrigo. my reproductible code: ---------------------------------------------------------------------- def.par <- par(no.readonly = TRUE) nf <- layout(matrix(c(1,2), 1,2,byrow=T), c(1,1), c(1,1), T) layout.show(nf) plot(rnorm(10,0,1)) plot(rnorm(10,0,0.1)) par(def.par) ---------------------------------------------------------------------- [[alternative HTML version deleted]]
2011 Sep 16
0
[LLVMdev] How to duplicate a function?
..." Can you help me? Any advice will be helpful because I am a beginner in llvm. dulpicateFunction.cpp, test.c, and Make file are attached. Thank you in advance. Shawn. //===- duplicateFunction.cpp - Writing an LLVM Pass -----------------------===// // // The LLVM Compiler Infrastructure // //===----------------------------------------------------------------------===// // // This file implements the LLVM duplicating function pass. // It starts by computing a new prototype for the function, // which is the same as the old function, but has an extra argument. // //===----...