src/adlist.c

dicedb · src/adlist.c · c · BSD-3-Clause
database

Generic doubly linked list implementation for C projects.

// Source: https://github.com/dicedb/dicedb | License: BSD-3-Clause | Copyright 2024-present, Valkey contributors
// Provided via justclaw.it.com; keep this notice with the code.
/* adlist.c - A generic doubly linked list implementation
 *
 * Copyright (c) 2006-2010, Redis Ltd.
 * All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *
 *   * Redistributions of source code must retain the above copyright notice,
 *     this list of conditions and the following disclaimer.
 *   * Redistributions in binary form must reproduce the above copyright
 *     notice, this list of conditions and the following disclaimer in the
 *     documentation and/or other materials provided wi

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key