Displaying 5 results from an estimated 5 matches for "c_old".
Did you mean:
__old
2007 Sep 13
1
chartr better
...-\u3093","\u30a1-\u30f3","\u3084\u3063\u305f\u30fc")
--- R-alpha.orig/src/main/character.c 2007-09-05 07:13:27.000000000 +0900
+++ R-alpha/src/main/character.c 2007-09-13 16:10:21.000000000 +0900
@@ -2041,6 +2041,16 @@
return(c);
}
+typedef struct { wchar_t c_old, c_new; } xtable_t;
+static inline int xtable_comp(const xtable_t *a, const xtable_t *b)
+{
+ return a->c_old - b->c_old;
+}
+static inline int xtable_key_comp(const wchar_t *a, const xtable_t *b)
+{
+ return *a - b->c_old;
+}
+
SEXP attribute_hidden do_chartr(SEXP call, SEXP op, SE...
2007 May 16
3
Reshape a sparse matrix
Hi,
I'd like to reshape a sparse matrix generated from the Matrix package. I can't seem to do it with the command
dim(A) <- c(6,9)
which works perfectly with the base package matrices, but with the sparse matrices it errors with
Error in dim(A) = c(6, 9) : dim<- : invalid first argument
Manipulating the Dim attribute of the sparse Matrix does not produce the desired effect. A
2018 Feb 27
4
[PATCH 4/5] drm/ttm: add ttm_sg_tt_init
...,
> + sizeof(*ttm->dma_address),
> + GFP_KERNEL | __GFP_ZERO);
> + if (!ttm->dma_address)
> + return -ENOMEM;
> + return 0;
> +}
> +
> #ifdef CONFIG_X86
> static inline int ttm_tt_set_page_caching(struct page *p,
> enum ttm_caching_state c_old,
> @@ -227,8 +237,8 @@ void ttm_tt_destroy(struct ttm_tt *ttm)
> ttm->func->destroy(ttm);
> }
>
> -int ttm_tt_init(struct ttm_tt *ttm, struct ttm_bo_device *bdev,
> - unsigned long size, uint32_t page_flags)
> +void ttm_tt_init_fields(struct ttm_tt *ttm, struct t...
2018 Mar 05
0
[PATCH 4/5] drm/ttm: add ttm_sg_tt_init
...FP_KERNEL | __GFP_ZERO);
>> + if (!ttm->dma_address)
>> + return -ENOMEM;
>> + return 0;
>> +}
>> +
>> #ifdef CONFIG_X86
>> static inline int ttm_tt_set_page_caching(struct page *p,
>> enum ttm_caching_state c_old,
>> @@ -227,8 +237,8 @@ void ttm_tt_destroy(struct ttm_tt *ttm)
>> ttm->func->destroy(ttm);
>> }
>> -int ttm_tt_init(struct ttm_tt *ttm, struct ttm_bo_device *bdev,
>> - unsigned long size, uint32_t page_flags)
>> +void ttm_tt_init_fields(s...
2013 Feb 17
1
RELENG_8: amdtemp module and newer CPUs not working. MFC?
.../usr/src/sys/dev/amdtemp
root at kg-quiet# ls -l /home/tingo/dl/amd*
lrwxr-xr-x 1 tingo users 25 Feb 17 13:20 /home/tingo/dl/amdtemp.c -> amdtemp.c?revision=246128
-rw-r--r-- 1 tingo users 14509 Feb 17 13:17 /home/tingo/dl/amdtemp.c?revision=246128
root at kg-quiet# mv amdtemp.c amdtemp.c_old
root at kg-quiet# cp /home/tingo/dl/amdtemp.c .
root at kg-quiet# cd /usr/src/sys/modules/amdtemp
root at kg-quiet# make
Warning: Object directory not changed from original /usr/src/sys/modules/amdtemp
@ -> /usr/src/sys
machine -> /usr/src/sys/amd64/include
awk -f @/tools/makeobjops.awk @/ker...