Displaying 2 results from an estimated 2 matches for "slotlist".
Did you mean:
plotlist
2008 Nov 20
1
How to convert S4 class slots into data.frame or how to assign variables of type 'Date'
...s forth and back into a single row data.frame, where
every slots represents a column. This method looks at the moment like
this:
> setMethod("as.data.frame", "Transaction",
function(x, row.names = NULL, optional = FALSE, ...){
slotnames <- slotNames(x)
slotlist <- data.frame(rbind(1:length(slotnames)))
names(slotlist) <- slotnames
for(i in slotnames) {
slotlist[1, i] <- slot(x, i)
}
return(slotlist)
}
)
This method doesn't require predetermined slotnames or types, which is
important to...
2014 Jun 04
0
[patch] Tiny patch to change 'no slots' to debug in PKCS#11 situations
...s11.c
--- openssh-6.6p1.orig/ssh-pkcs11.c 2014-06-04 10:19:09.000000000 +0200
+++ openssh-6.6p1/ssh-pkcs11.c 2014-06-04 10:20:29.000000000 +0200
@@ -602,7 +602,7 @@
goto fail;
}
if (p->nslots == 0) {
- error("no slots");
+ debug("no slots");
goto fail;
}
p->slotlist = xcalloc(p->nslots, sizeof(CK_SLOT_ID));