git@vger.kernel.org list mirror (unofficial, one of many)
 help / color / mirror / code / Atom feed
954512e9a3a0cd9817f4e8fda9295dbb391dc0a9 blob 921 bytes (raw)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
 
/*
Copyright 2020 Google LLC

Use of this source code is governed by a BSD-style
license that can be found in the LICENSE file or at
https://developers.google.com/open-source/licenses/bsd
*/

#ifndef TREE_H
#define TREE_H

/* tree_node is a generic binary search tree. */
struct tree_node {
	void *key;
	struct tree_node *left, *right;
};

/* looks for `key` in `rootp` using `compare` as comparison function. If insert
   is set, insert the key if it's not found. Else, return NULL.
*/
struct tree_node *tree_search(void *key, struct tree_node **rootp,
			      int (*compare)(const void *, const void *),
			      int insert);

/* performs an infix walk of the tree. */
void infix_walk(struct tree_node *t, void (*action)(void *arg, void *key),
		void *arg);

/*
  deallocates the tree nodes recursively. Keys should be deallocated separately
  by walking over the tree. */
void tree_free(struct tree_node *t);

#endif
debug log:

solving 954512e9a3 ...
found 954512e9a3 in https://public-inbox.org/git/17fb8d050dae2efd84f090268095da4d04b15c88.1600283416.git.gitgitgadget@gmail.com/ ||
	https://public-inbox.org/git/e30a7e02815121eeba34d7f27b352f675a7d9f60.1601568664.git.gitgitgadget@gmail.com/ ||
	https://public-inbox.org/git/24afac9c91a2eaf1529433a136d0f43aeae71550.1606419752.git.gitgitgadget@gmail.com/ ||
	https://public-inbox.org/git/a30001ad1e8f94a0f3901c1694c3dd660ba1e7c0.1587417295.git.gitgitgadget@gmail.com/ ||
	https://public-inbox.org/git/59209a5ad39326cf88966715312922f08f149942.1588018418.git.gitgitgadget@gmail.com/ ||
	https://public-inbox.org/git/6ee6c44752c66c3a469f80270bbbbf0de33bf24a.1588619028.git.gitgitgadget@gmail.com/ ||
	https://public-inbox.org/git/57d338c4983b4f152165e93835b1a65b29172173.1588845586.git.gitgitgadget@gmail.com/ ||
	https://public-inbox.org/git/9a8e504a1d0c7b66b4b85f4d2a94cdaae804c952.1589833884.git.gitgitgadget@gmail.com/ ||
	https://public-inbox.org/git/8103703c3580950dc2a42a1178cb1340feb195cd.1589226388.git.gitgitgadget@gmail.com/ ||
	https://public-inbox.org/git/718b646a54e241c0d201fa8ea24fe8838f51ccd7.1590695210.git.gitgitgadget@gmail.com/ ||
	https://public-inbox.org/git/86646c834c2d4046aa8734e5330beb827aeb8539.1592335243.git.gitgitgadget@gmail.com/ ||
	https://public-inbox.org/git/3c84f43cfa07708759b386f63dc4893ac45d0850.1592862921.git.gitgitgadget@gmail.com/ ||
	https://public-inbox.org/git/0bc28ac610fb6f5965e39f9e0d4caf88ca9ead06.1591380199.git.gitgitgadget@gmail.com/ ||
	https://public-inbox.org/git/169f6c7f543f1d3e5c91a0b38961c765d6900107.1593457018.git.gitgitgadget@gmail.com/ ||
	https://public-inbox.org/git/12d98125c2bacdaab797cbaca47bdbfe000c293f.1596209238.git.gitgitgadget@gmail.com/

applying [1/15] https://public-inbox.org/git/17fb8d050dae2efd84f090268095da4d04b15c88.1600283416.git.gitgitgadget@gmail.com/
diff --git a/reftable/tree.h b/reftable/tree.h
new file mode 100644
index 0000000000..954512e9a3

Checking patch reftable/tree.h...
Applied patch reftable/tree.h cleanly.

skipping https://public-inbox.org/git/e30a7e02815121eeba34d7f27b352f675a7d9f60.1601568664.git.gitgitgadget@gmail.com/ for 954512e9a3
skipping https://public-inbox.org/git/24afac9c91a2eaf1529433a136d0f43aeae71550.1606419752.git.gitgitgadget@gmail.com/ for 954512e9a3
skipping https://public-inbox.org/git/a30001ad1e8f94a0f3901c1694c3dd660ba1e7c0.1587417295.git.gitgitgadget@gmail.com/ for 954512e9a3
skipping https://public-inbox.org/git/59209a5ad39326cf88966715312922f08f149942.1588018418.git.gitgitgadget@gmail.com/ for 954512e9a3
skipping https://public-inbox.org/git/6ee6c44752c66c3a469f80270bbbbf0de33bf24a.1588619028.git.gitgitgadget@gmail.com/ for 954512e9a3
skipping https://public-inbox.org/git/57d338c4983b4f152165e93835b1a65b29172173.1588845586.git.gitgitgadget@gmail.com/ for 954512e9a3
skipping https://public-inbox.org/git/9a8e504a1d0c7b66b4b85f4d2a94cdaae804c952.1589833884.git.gitgitgadget@gmail.com/ for 954512e9a3
skipping https://public-inbox.org/git/8103703c3580950dc2a42a1178cb1340feb195cd.1589226388.git.gitgitgadget@gmail.com/ for 954512e9a3
skipping https://public-inbox.org/git/718b646a54e241c0d201fa8ea24fe8838f51ccd7.1590695210.git.gitgitgadget@gmail.com/ for 954512e9a3
skipping https://public-inbox.org/git/86646c834c2d4046aa8734e5330beb827aeb8539.1592335243.git.gitgitgadget@gmail.com/ for 954512e9a3
skipping https://public-inbox.org/git/3c84f43cfa07708759b386f63dc4893ac45d0850.1592862921.git.gitgitgadget@gmail.com/ for 954512e9a3
skipping https://public-inbox.org/git/0bc28ac610fb6f5965e39f9e0d4caf88ca9ead06.1591380199.git.gitgitgadget@gmail.com/ for 954512e9a3
skipping https://public-inbox.org/git/169f6c7f543f1d3e5c91a0b38961c765d6900107.1593457018.git.gitgitgadget@gmail.com/ for 954512e9a3
skipping https://public-inbox.org/git/12d98125c2bacdaab797cbaca47bdbfe000c293f.1596209238.git.gitgitgadget@gmail.com/ for 954512e9a3
index at:
100644 954512e9a3a0cd9817f4e8fda9295dbb391dc0a9	reftable/tree.h

git@vger.kernel.org list mirror (unofficial, one of many)

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://public-inbox.org/git
	git clone --mirror http://ou63pmih66umazou.onion/git
	git clone --mirror http://czquwvybam4bgbro.onion/git
	git clone --mirror http://hjrcffqmbrq6wope.onion/git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V1 git git/ https://public-inbox.org/git \
		git@vger.kernel.org
	public-inbox-index git

Example config snippet for mirrors.
Newsgroups are available over NNTP:
	nntp://news.public-inbox.org/inbox.comp.version-control.git
	nntp://7fh6tueqddpjyxjmgtdiueylzoqt6pt7hec3pukyptlmohoowvhde4yd.onion/inbox.comp.version-control.git
	nntp://ie5yzdi7fg72h7s4sdcztq5evakq23rdt33mfyfcddc5u3ndnw24ogqd.onion/inbox.comp.version-control.git
	nntp://4uok3hntl7oi7b4uf4rtfwefqeexfzil2w6kgk2jn5z2f764irre7byd.onion/inbox.comp.version-control.git
	nntp://news.gmane.io/gmane.comp.version-control.git
 note: .onion URLs require Tor: https://www.torproject.org/

code repositories for project(s) associated with this inbox:

	https://80x24.org/mirrors/git.git

AGPL code for this site: git clone https://public-inbox.org/public-inbox.git