search for: apstate

Displaying 20 results from an estimated 20 matches for "apstate".

2010 Feb 10
1
Copyright on src/nmath/qnorm.c
At the top of src/nmath/qnorm.c it is stated: * Copyright (C) 1998 Ross Ihaka * Copyright (C) 2000--2005 The R Development Core Team * based on AS 111 (C) 1977 Royal Statistical Society * and on AS 241 (C) 1988 Royal Statistical Society The routine is in fact an f2c'd version of AS241 from StatLib: http://lib.stat.cmu.edu/apstat/241 and http://lib.stat.cmu.edu/apstat/ It
2011 Jul 01
1
AS Algorithms
Dear R-programmers, I would like to use one of the AS Algorithms that used to be published in the journal Applied Statistics of the Royal Statistical Society (Series C). FORTRAN code based on these are available on the Statlib website at http://lib.stat.cmu.edu/modules.php?op=modload&name=PostWrap&file=index&page=apstat/ with the disclaimer, *"The Royal Statistical Society
2007 Apr 18
2
[RFC, PATCH 9/24] i386 Vmi smp support
...clude <vmi.h> + +extern long boot_gdt_table; +extern struct desc_struct idt_table[256]; +extern unsigned char *trampoline_base; + +#ifdef CONFIG_SMP + +#ifdef CONFIG_HOTPLUG_CPU +#define DEFAULT_SEND_IPI (1) +#else +#define DEFAULT_SEND_IPI (0) +#endif + +int no_broadcast=DEFAULT_SEND_IPI; + +APState ap; + +void __init +smpboot_startup_ipi_hook(int phys_apicid, unsigned long start_eip, + unsigned long start_esp) +{ + /* We require phys_acpicid to be the cpu number. */ + if (hypervisor_found) { + /* Default everything to zero. This is fine fo...
2007 Apr 18
2
[RFC, PATCH 9/24] i386 Vmi smp support
...clude <vmi.h> + +extern long boot_gdt_table; +extern struct desc_struct idt_table[256]; +extern unsigned char *trampoline_base; + +#ifdef CONFIG_SMP + +#ifdef CONFIG_HOTPLUG_CPU +#define DEFAULT_SEND_IPI (1) +#else +#define DEFAULT_SEND_IPI (0) +#endif + +int no_broadcast=DEFAULT_SEND_IPI; + +APState ap; + +void __init +smpboot_startup_ipi_hook(int phys_apicid, unsigned long start_eip, + unsigned long start_esp) +{ + /* We require phys_acpicid to be the cpu number. */ + if (hypervisor_found) { + /* Default everything to zero. This is fine fo...
2007 Apr 18
4
[RFC, PATCH 3/24] i386 Vmi interface definition
...VROMCallEntry romCallReserved[3]; // Reserved call slots +} VROMHeader; + +typedef struct VROMCallTable { + VROMCallEntry vromCall[128]; // @ 0x80: ROM calls 4-127 +} VROMCallTable; + +/* State needed to start an application processor in an SMP system. */ +typedef struct APState { + VMI_UINT32 cr0; + VMI_UINT32 cr2; + VMI_UINT32 cr3; + VMI_UINT32 cr4; + + VMI_UINT64 efer; + + VMI_UINT32 eip; + VMI_UINT32 eflags; + VMI_UINT32 eax; + VMI_UINT32 ebx; + VMI_UINT32 ecx; + VMI_UINT32 edx; + VMI_UINT32 esp; + VMI_UINT32 ebp; + VMI_UINT32 esi; + VMI_U...
2007 Apr 18
4
[RFC, PATCH 3/24] i386 Vmi interface definition
...VROMCallEntry romCallReserved[3]; // Reserved call slots +} VROMHeader; + +typedef struct VROMCallTable { + VROMCallEntry vromCall[128]; // @ 0x80: ROM calls 4-127 +} VROMCallTable; + +/* State needed to start an application processor in an SMP system. */ +typedef struct APState { + VMI_UINT32 cr0; + VMI_UINT32 cr2; + VMI_UINT32 cr3; + VMI_UINT32 cr4; + + VMI_UINT64 efer; + + VMI_UINT32 eip; + VMI_UINT32 eflags; + VMI_UINT32 eax; + VMI_UINT32 ebx; + VMI_UINT32 ecx; + VMI_UINT32 edx; + VMI_UINT32 esp; + VMI_UINT32 ebp; + VMI_UINT32 esi; + VMI_U...
2007 Apr 18
4
[RFC, PATCH 1/24] i386 Vmi documentation
...tial state is invalid, or no initial state is provided + before a start IPI is received by that AP, then the AP will fail to start. + It is therefore advisable to have a timeout for waiting for AP's to start, + as is recommended for traditional x86 systems. + + See VMI_SetInitialAPState in Appendix A for a description of the + VMI_SetInitialAPState hypercall and the associated APState data structure. + + State Synchronization In SMP Systems. + + Some in-memory data structures that may require no special synchronization + on a traditional x86 systems need speci...
2007 Apr 18
4
[RFC, PATCH 1/24] i386 Vmi documentation
...tial state is invalid, or no initial state is provided + before a start IPI is received by that AP, then the AP will fail to start. + It is therefore advisable to have a timeout for waiting for AP's to start, + as is recommended for traditional x86 systems. + + See VMI_SetInitialAPState in Appendix A for a description of the + VMI_SetInitialAPState hypercall and the associated APState data structure. + + State Synchronization In SMP Systems. + + Some in-memory data structures that may require no special synchronization + on a traditional x86 systems need speci...
2011 Jul 02
0
R-devel Digest, Vol 101, Issue 2
I've been finding that the "loose ends" in many of these older codes cause more trouble than it is worth in their use. When I encounter them, I've attempted to re-program the algorithm in R. A lot of the Fortran code is because of the software structure the author used and nothing to do with the job to be done. If you can prepare an R function for this, you'd be doing the R
2008 Mar 12
1
Problem when calling FORTRAN subroutine (dll)
Hello, I am trying to call a FORTRAN subroutine from R. The Fortran code is @: http://lib.stat.cmu.edu/apstat/206 It performs a bivariate isotonic regression on a rectangular grid (m X n) matrix. I used the g77 compiler and successfully created a dll file and it also loads successfully from R. But somehow the programs fails to run properly. (I do get the correct result when I compile the
1998 Jan 09
0
ctest miscellania
Sorry for leaving this one in my mail box for so long, but - well, I suppose you know what I mean. (I'm shifting it over to r-devel, so I'll include all your original text) Kurt Hornik <hornik@ci.tuwien.ac.at> writes: > Well, ctest is not making progress as quickly as I wanted it ... > Anyway, here are a few questions/remarks. > > * I am still a bit confused about
2012 Apr 04
1
Shapiro-Wilk cpoefficients: 2 Qs
Greetings! I want to have the coefficients that R uses in shapiro.test() for the Shapiro-Wilk test for a prticular sample size, i.e. the a[i] in W = Sum(a[i]*x[i])/(Sum(x[i] - mean(x))^2) (where the x[i] are sorted). Two questions: Q1: Is there a readymade R function from which I can extract these? Q2: I was wondering if I might be able to modify the code for the function shapiro.test() so
2009 Jan 17
1
bug in cor.test(method = "spearman")
Dear R developers: There is a possible bug in calculating the p-value for Spearman's rank correlation. Line 155 in file R-patched/src/library/stats/R/cor.test.R is as.double(round(q) + lower.tail), I think, it should be as.double(round(q) + 2*lower.tail), The reason is that round(q) is expected to be an even number (the S statistic), so the next feasible value is round(q)+2.
2000 Feb 21
3
incompatibilities between 0.90 and 0.99?
Maybe this is dumb, but I seem to be having problems reading a file saved in R v. 0.99 into R 0.90.1 (in a different machine). I did >save(test1, file="test1.RData") then I tried to read that data file in R 0.90.1: >load("test1.RData") Error in load("test1.RData") : restore file corrupted -- no data loaded More info: - both machines are running Linux;
2017 Sep 01
0
I have corrected a dead link in the treering documentation
Martin Maechler writes: > There may be one small problem: IIUC, the wayback machine is a > +- private endeavor and really great and phantastic but it does > need (US? tax deductible) donations, https://archive.org/donate/, > to continue thriving. > This makes me hesitate a bit to link to it within the "base R" > documentation. But that may be wrong -- and I should
2007 Apr 18
3
[RFC, PATCH 4/24] i386 Vmi inline implementation
...nt count); +VMICALL void VMI_ReleasePage(VMI_UINT32 ppn, int flags); +VMICALL int VMI_FlushDeferredCalls(VMI_UINT32 mode); +VMICALL int VMI_TestAndSetPxELongBit(VMI_UINT64 *ptep, int bit); +VMICALL int VMI_TestAndClearPxELongBit(VMI_UINT64 *ptep, int bit); +VMICALL void VMI_SetInitialAPState(VMI_UINT32 apState, + VMI_UINT32 apicId); + +/* Linux name convention shims */ +#define vmi_set_pxe(p,v) VMI_SetPxE((VMI_UINT32 *)(p),v) +#define vmi_set_pxe_long(v,p) VMI_SetPxELong(v, (VMI_UINT64 *)(p)) +#define vmi_set_pxe_long_atomic(v,p) VMI_SetPx...
2007 Apr 18
3
[RFC, PATCH 4/24] i386 Vmi inline implementation
...nt count); +VMICALL void VMI_ReleasePage(VMI_UINT32 ppn, int flags); +VMICALL int VMI_FlushDeferredCalls(VMI_UINT32 mode); +VMICALL int VMI_TestAndSetPxELongBit(VMI_UINT64 *ptep, int bit); +VMICALL int VMI_TestAndClearPxELongBit(VMI_UINT64 *ptep, int bit); +VMICALL void VMI_SetInitialAPState(VMI_UINT32 apState, + VMI_UINT32 apicId); + +/* Linux name convention shims */ +#define vmi_set_pxe(p,v) VMI_SetPxE((VMI_UINT32 *)(p),v) +#define vmi_set_pxe_long(v,p) VMI_SetPxELong(v, (VMI_UINT64 *)(p)) +#define vmi_set_pxe_long_atomic(v,p) VMI_SetPx...
2007 Apr 18
7
[RFC, PATCH 5/24] i386 Vmi code patching
...VMICALL void VMI_AllocatePage(VMI_UINT32 ppn, int flags, VMI_UINT32 orig, int base, + int count) +{ +} + +VMICALL void VMI_ReleasePage(VMI_UINT32 ppn, int flags) +{ +} + +VMICALL int VMI_FlushDeferredCalls(VMI_UINT32 mode) +{ + return 0; +} + +VMICALL void VMI_SetInitialAPState(VMI_UINT32 apState, VMI_UINT32 apicId) +{ +} Index: linux-2.6.16-rc5/arch/i386/mach-vmi/stubs-asm.S =================================================================== --- linux-2.6.16-rc5.orig/arch/i386/mach-vmi/stubs-asm.S 2006-03-08 16:53:32.000000000 -0800 +++ linux-2.6.16-rc5/arch/i386/mach-vm...
2007 Apr 18
7
[RFC, PATCH 5/24] i386 Vmi code patching
...VMICALL void VMI_AllocatePage(VMI_UINT32 ppn, int flags, VMI_UINT32 orig, int base, + int count) +{ +} + +VMICALL void VMI_ReleasePage(VMI_UINT32 ppn, int flags) +{ +} + +VMICALL int VMI_FlushDeferredCalls(VMI_UINT32 mode) +{ + return 0; +} + +VMICALL void VMI_SetInitialAPState(VMI_UINT32 apState, VMI_UINT32 apicId) +{ +} Index: linux-2.6.16-rc5/arch/i386/mach-vmi/stubs-asm.S =================================================================== --- linux-2.6.16-rc5.orig/arch/i386/mach-vmi/stubs-asm.S 2006-03-08 16:53:32.000000000 -0800 +++ linux-2.6.16-rc5/arch/i386/mach-vm...
2017 Sep 01
2
I have corrected a dead link in the treering documentation
>>>>> Thomas Levine <_ at thomaslevine.com> >>>>> on Fri, 28 Jul 2017 18:53:16 +0000 writes: > The attached patch corrects a dead link in the treering > documentation. The URL in the manual [1] refers to a > personal home page belonging to Christine Hallman (user > "hallman") on the website of the University of Arizona