appldata_generic_handler(const struct ctl_table *ctl, int write, void *buffer, size_t *lenp, loff_t *ppos) { struct appldata_ops *ops = NULL, *tmp_ops; 2 changes: 1 addition & 1 deletion 2 arch/s390/kernel/debug.c Original file line numberDiff line numberDiff line change @@ ...
struct ModVal<const P: usize> { v: usize } impl<const P: usize> ModVal<P> { // std::assert!(P + P <= usize::Max()); fn new(v: usize) -> Self { Self { v } } } impl<const P: usize> std::ops::AddAssign<usize> for ModVal<P> { fn add_assign(&mut self, x: ...
intcipher_init(struct sshcipher_ctx **ccp,conststruct sshcipher *cipher,constu_char *key, u_int keylen,constu_char *iv, u_int ivlen,intdo_encrypt){structsshcipher_ctx*cc=NULL;intret = SSH_ERR_INTERNAL_ERROR;#ifdefWITH_OPENSSLconstEVP_CIPHER *type;intklen; u_char *junk, *discard;#en...
By use case CI/CD & Automation DevOps DevSecOps Resources Topics AI DevOps Security Software Development View all Explore Learning Pathways White papers, Ebooks, Webinars Customer Stories Partners Open Source GitHub Sponsors Fund open source developers The ReadME Project GitHub community...
glog.Warning("Failed to get running container information while collecting metrics: %v", err)return}// Get a set of running pods.runningPods :=make(map[types.UID]struct{})for_, cont :=rangerunningContainers { _, uid, _, _, err := dockertools.ParseDockerName(cont.Names...
(struct inode *inode, struct file *file) return single_open(file, acpi_ec_read_info, PDE(inode)->data); } -static struct file_operations acpi_ec_info_ops = { +static const struct file_operations acpi_ec_info_ops = { .open = acpi_ec_info_open_fs, .read = seq_read, .llseek =...
C/C++ : converting std::string to const char* I get the error : left of '.c_str' must have class/struct/union type is 'char *' C# to C++ dll - how to pass strings as In/Out parameters to unmanaged functions that expect a string (LPSTR) as a function parameter. C++ int to str...
typedef struct __XMPIterator__ * XMPIteratorRef; /// An "ABI safe" pointer to the internal part of an XMP document operations object. Use to pass an /// XMP document operations object across client DLL boundaries. See \c TXMPDocOps. typedef struct __XMPDocOps__ * XMPDocOpsRef; //...