ZeroMQ by Pieter Hintjens
Author:Pieter Hintjens [Pieter Hintjens]
Language: eng
Format: epub
Tags: COMPUTERS / Programming Languages / C
ISBN: 9781449334048
Publisher: O’Reilly Media
Published: 2013-03-11T16:00:00+00:00
The store method (Example 5-43) stores the key-value message into a hashmap, unless the key and value are both null. It nullifies the kvmsg reference so that the object is owned by the hashmap, not the caller.
Example 5-43. Key-value message class, full (kvmsg.c): store method
void kvmsg_store (kvmsg_t **self_p, zhash_t *hash) { assert (self_p); if (*self_p) { kvmsg_t *self = *self_p; assert (self); if (kvmsg_size (self)) { if (self->present [FRAME_KEY] && self->present [FRAME_BODY]) { zhash_update (hash, kvmsg_key (self), self); zhash_freefn (hash, kvmsg_key (self), kvmsg_free); } } else zhash_delete (hash, kvmsg_key (self)); *self_p = NULL; } }
Download
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
Ada | Ajax |
Assembly Language Programming | Borland Delphi |
C & C++ | C# |
CSS | Compiler Design |
Compilers | DHTML |
Debugging | Delphi |
Fortran | Java |
Lisp | Perl |
Prolog | Python |
RPG | Ruby |
Swift | Visual Basic |
XHTML | XML |
XSL |
Hello! Python by Anthony Briggs(10125)
The Mikado Method by Ola Ellnestam Daniel Brolund(10014)
OCA Java SE 8 Programmer I Certification Guide by Mala Gupta(9981)
Algorithms of the Intelligent Web by Haralambos Marmanis;Dmitry Babenko(8523)
Sass and Compass in Action by Wynn Netherland Nathan Weizenbaum Chris Eppstein Brandon Mathis(7916)
Grails in Action by Glen Smith Peter Ledbrook(7883)
Test-Driven iOS Development with Swift 4 by Dominik Hauser(7853)
The Well-Grounded Java Developer by Benjamin J. Evans Martijn Verburg(7771)
Windows APT Warfare by Sheng-Hao Ma(7507)
Layered Design for Ruby on Rails Applications by Vladimir Dementyev(7258)
Blueprints Visual Scripting for Unreal Engine 5 - Third Edition by Marcos Romero & Brenden Sewell(7143)
Secrets of the JavaScript Ninja by John Resig Bear Bibeault(6641)
Kotlin in Action by Dmitry Jemerov(5299)
Solidity Programming Essentials by Ritesh Modi(4396)
Hands-On Full-Stack Web Development with GraphQL and React by Sebastian Grebe(4385)
WordPress Plugin Development Cookbook by Yannick Lefebvre(4205)
Functional Programming in JavaScript by Mantyla Dan(4124)
Unity 3D Game Development by Anthony Davis & Travis Baptiste & Russell Craig & Ryan Stunkel(4120)
The Ultimate iOS Interview Playbook by Avi Tsadok(4086)
