id int64 0 755k | file_name stringlengths 3 109 | file_path stringlengths 13 185 | content stringlengths 31 9.38M | size int64 31 9.38M | language stringclasses 1
value | extension stringclasses 11
values | total_lines int64 1 340k | avg_line_length float64 2.18 149k | max_line_length int64 7 2.22M | alphanum_fraction float64 0 1 | repo_name stringlengths 6 65 | repo_stars int64 100 47.3k | repo_forks int64 0 12k | repo_open_issues int64 0 3.4k | repo_license stringclasses 9
values | repo_extraction_date stringclasses 92
values | exact_duplicates_redpajama bool 2
classes | near_duplicates_redpajama bool 2
classes | exact_duplicates_githubcode bool 2
classes | exact_duplicates_stackv2 bool 1
class | exact_duplicates_stackv1 bool 2
classes | near_duplicates_githubcode bool 2
classes | near_duplicates_stackv1 bool 2
classes | near_duplicates_stackv2 bool 1
class |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
22,786 | entropy.h | brndnmtthws_conky/src/entropy.h | /*
*
* Conky, a system monitor, based on torsmo
*
* Any original torsmo code is licensed under the BSD license
*
* All code written since the fork of torsmo is licensed under the GPL
*
* Please see COPYING for details
*
* Copyright (c) 2004, Hannu Saransaari and Lauri Hakkarainen
* Copyright (c) 2005-2024 Br... | 1,448 | C++ | .h | 37 | 37.297297 | 72 | 0.754797 | brndnmtthws/conky | 7,161 | 615 | 75 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
22,787 | haiku.h | brndnmtthws_conky/src/haiku.h | /* */
#ifndef HAIKU_H_
#define HAIKU_H_
#include <err.h>
#include <fcntl.h>
#include <limits.h>
#include <paths.h>
#include <time.h>
#include <unistd.h>
#include <sys/socket.h>
#include <sys/time.h>
#include <sys/types.h>
#include <net/if.h>
#include <kernel/fs_info.h>
#include "common.h"
#include "conky.h"
int ... | 740 | C++ | .h | 29 | 24.034483 | 57 | 0.736767 | brndnmtthws/conky | 7,161 | 615 | 75 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
22,788 | pulseaudio.h | brndnmtthws_conky/src/pulseaudio.h | /*
*
* Conky, a system monitor, based on torsmo
*
* Any original torsmo code is licensed under the BSD license
*
* All code written since the fork of torsmo is licensed under the GPL
*
* Please see COPYING for details
*
* Copyright (c) 2004, Hannu Saransaari and Lauri Hakkarainen
* Copyright (c) 2005-2024 Br... | 3,415 | C++ | .h | 93 | 31.989247 | 78 | 0.697253 | brndnmtthws/conky | 7,161 | 615 | 75 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
22,789 | luamm.hh | brndnmtthws_conky/src/luamm.hh | /*
*
* luamm: C++ binding for lua
*
* Copyright (C) 2010 Pavel Labath et al.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) an... | 13,268 | C++ | .h | 335 | 36.591045 | 80 | 0.701552 | brndnmtthws/conky | 7,161 | 615 | 75 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
22,790 | i18n.h | brndnmtthws_conky/src/i18n.h | /*
*
* Conky, a system monitor, based on torsmo
*
* Please see COPYING for details
*
* Copyright (c) 2005-2024 Brenden Matthews, Philip Kovacs, et. al.
* (see AUTHORS)
* All rights reserved.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Publi... | 1,046 | C++ | .h | 33 | 29.909091 | 72 | 0.747275 | brndnmtthws/conky | 7,161 | 615 | 75 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
22,791 | exec.h | brndnmtthws_conky/src/exec.h | /*
*
* Conky, a system monitor, based on torsmo
*
* Any original torsmo code is licensed under the BSD license
*
* All code written since the fork of torsmo is licensed under the GPL
*
* Please see COPYING for details
*
* Copyright (c) 2004, Hannu Saransaari and Lauri Hakkarainen
* Copyright (c) 2005-2024 Br... | 2,770 | C++ | .h | 75 | 34.893333 | 77 | 0.724972 | brndnmtthws/conky | 7,161 | 615 | 75 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
22,792 | libtcp-portmon.h | brndnmtthws_conky/src/libtcp-portmon.h | /*
*
* libtcp-portmon.h: tcp port monitoring library.
*
* Copyright (C) 2005-2007 Philip Kovacs pkovacs@users.sourceforge.net
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; ei... | 4,791 | C++ | .h | 114 | 39.710526 | 76 | 0.644836 | brndnmtthws/conky | 7,161 | 615 | 75 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
22,793 | core.h | brndnmtthws_conky/src/core.h | /*
*
* Conky, a system monitor, based on torsmo
*
* Any original torsmo code is licensed under the BSD license
*
* All code written since the fork of torsmo is licensed under the GPL
*
* Please see COPYING for details
*
* Copyright (c) 2004, Hannu Saransaari and Lauri Hakkarainen
* Copyright (c) 2005-2024 Br... | 1,612 | C++ | .h | 40 | 35.45 | 75 | 0.696292 | brndnmtthws/conky | 7,161 | 615 | 75 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
22,794 | update-cb.hh | brndnmtthws_conky/src/update-cb.hh | /*
*
* Conky, a system monitor, based on torsmo
*
* Please see COPYING for details
*
* Copyright (C) 2010 Pavel Labath et al.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either v... | 8,080 | C++ | .h | 204 | 35.794118 | 80 | 0.704621 | brndnmtthws/conky | 7,161 | 615 | 75 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
22,795 | geometry.h | brndnmtthws_conky/src/geometry.h | #ifndef _CONKY_GEOMETRY_H_
#define _CONKY_GEOMETRY_H_
#include "config.h"
#include "macros.h"
#include <algorithm>
#include <array>
#include <cmath>
#include <cstddef>
#include <cstdint>
#include <cstdlib>
#include <limits>
#include <numeric>
#include <type_traits>
#include <Vc/Vc>
#ifdef BUILD_X11
#include <X11/X... | 19,833 | C++ | .h | 579 | 29.929188 | 80 | 0.618211 | brndnmtthws/conky | 7,161 | 615 | 75 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
22,796 | rss.h | brndnmtthws_conky/src/rss.h | /*
*
* Conky, a system monitor, based on torsmo
*
* Please see COPYING for details
*
* Copyright (c) 2005-2024 Brenden Matthews, Philip Kovacs, et. al.
* (see AUTHORS)
* All rights reserved.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Publi... | 1,069 | C++ | .h | 29 | 35 | 72 | 0.741562 | brndnmtthws/conky | 7,161 | 615 | 75 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
22,797 | ibm.h | brndnmtthws_conky/src/ibm.h | /*
*
* Conky, a system monitor, based on torsmo
*
* Please see COPYING for details
*
* Copyright (c) 2005-2024 Brenden Matthews, Philip Kovacs, et. al.
* (see AUTHORS)
* All rights reserved.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Publi... | 1,349 | C++ | .h | 33 | 39.090909 | 73 | 0.741616 | brndnmtthws/conky | 7,161 | 615 | 75 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
22,798 | gui.h | brndnmtthws_conky/src/gui.h | /*
*
* Conky, a system monitor, based on torsmo
*
* Please see COPYING for details
*
* Copyright (c) 2005-2024 Brenden Matthews, Philip Kovacs, et. al.
* (see AUTHORS)
* All rights reserved.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Publi... | 8,153 | C++ | .h | 216 | 35.722222 | 95 | 0.728974 | brndnmtthws/conky | 7,161 | 615 | 75 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
22,799 | prioqueue.h | brndnmtthws_conky/src/prioqueue.h | /*
*
* prioqueue: a simple priority queue implementation
*
* Copyright (C) 2009 Phil Sutter <phil@nwl.cc>
*
* Initially based on the former implementation of sorted processes in
* top.c, Copyright (C) 2005 David Carter <boojit@pundo.com>
*
* This program is free software: you can redistribute it and/or modify... | 2,173 | C++ | .h | 53 | 39.226415 | 72 | 0.736243 | brndnmtthws/conky | 7,161 | 615 | 75 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
22,800 | openbsd.h | brndnmtthws_conky/src/openbsd.h | /* */
#ifndef OPENBSD_H_
#define OPENBSD_H_
#include <machine/apmvar.h>
#include <sys/param.h>
#include <sys/sensors.h>
#include <sys/sysctl.h>
#include "common.h"
void parse_obsd_sensor(struct text_object *, const char *);
void print_obsd_sensors_temp(struct text_object *, char *, int);
void print_obsd_sensors_fan(... | 824 | C++ | .h | 22 | 34.227273 | 64 | 0.699749 | brndnmtthws/conky | 7,161 | 615 | 75 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
22,801 | bsdapm.h | brndnmtthws_conky/src/bsdapm.h | /*
*
* Conky, a system monitor, based on torsmo
*
* Any original torsmo code is licensed under the BSD license
*
* All code written since the fork of torsmo is licensed under the GPL
*
* Please see COPYING for details
*
* Copyright (c) 2004, Hannu Saransaari and Lauri Hakkarainen
* Copyright (c) 2005-2024 Br... | 1,328 | C++ | .h | 34 | 37.205882 | 72 | 0.749226 | brndnmtthws/conky | 7,161 | 615 | 75 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
22,802 | conky-imlib2.h | brndnmtthws_conky/src/conky-imlib2.h | /*
*
* Conky, a system monitor, based on torsmo
*
* Please see COPYING for details
*
* Copyright (c) 2005-2024 Brenden Matthews, et. al.
* All rights reserved.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the... | 2,112 | C++ | .h | 54 | 36.537037 | 80 | 0.744868 | brndnmtthws/conky | 7,161 | 615 | 75 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
22,803 | ccurl_thread.h | brndnmtthws_conky/src/ccurl_thread.h | /*
*
* Conky, a system monitor, based on torsmo
*
* Please see COPYING for details
*
* Copyright (c) 2005-2024 Brenden Matthews, Philip Kovacs, et. al.
* (see AUTHORS)
* All rights reserved.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Publi... | 2,670 | C++ | .h | 76 | 31.815789 | 75 | 0.698216 | brndnmtthws/conky | 7,161 | 615 | 75 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
22,804 | macros.h | brndnmtthws_conky/src/macros.h | #ifndef _CONKY_MACROS_H_
#define _CONKY_MACROS_H_
#include "logging.h"
// LIKELY and UNLIKELY can be used to mark if statement branches as likely (hot)
// or unlikely (cold). They help compiler rearange code to optimize hot paths
// and can improve perfomance when used on architectures with support for branch
// pred... | 2,353 | C++ | .h | 57 | 40.105263 | 80 | 0.721591 | brndnmtthws/conky | 7,161 | 615 | 75 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
22,805 | proc.h | brndnmtthws_conky/src/proc.h | /*
*
* Conky, a system monitor, based on torsmo
*
* Any original torsmo code is licensed under the BSD license
*
* All code written since the fork of torsmo is licensed under the GPL
*
* Please see COPYING for details
*
* Copyright (c) 2004, Hannu Saransaari and Lauri Hakkarainen
* Copyright (c) 2005-2024 Br... | 5,137 | C++ | .h | 95 | 47.8 | 80 | 0.683939 | brndnmtthws/conky | 7,161 | 615 | 75 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
22,806 | display-ncurses.hh | brndnmtthws_conky/src/display-ncurses.hh | /*
*
* Conky, a system monitor, based on torsmo
*
* Please see COPYING for details
*
* Copyright (C) 2018 François Revol et al.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, eithe... | 1,915 | C++ | .h | 60 | 29.583333 | 72 | 0.743478 | brndnmtthws/conky | 7,161 | 615 | 75 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
22,807 | i8k.h | brndnmtthws_conky/src/i8k.h | /*
*
* Conky, a system monitor, based on torsmo
*
* Any original torsmo code is licensed under the BSD license
*
* All code written since the fork of torsmo is licensed under the GPL
*
* Please see COPYING for details
*
* Copyright (c) 2004, Hannu Saransaari and Lauri Hakkarainen
* Copyright (c) 2007 Toni Sp... | 1,875 | C++ | .h | 43 | 41.883721 | 76 | 0.745216 | brndnmtthws/conky | 7,161 | 615 | 75 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
22,808 | iconv_tools.h | brndnmtthws_conky/src/iconv_tools.h | /*
*
* Conky, a system monitor, based on torsmo
*
* Any original torsmo code is licensed under the BSD license
*
* All code written since the fork of torsmo is licensed under the GPL
*
* Please see COPYING for details
*
* Copyright (c) 2004, Hannu Saransaari and Lauri Hakkarainen
* Copyright (c) 2005-2024 Br... | 1,454 | C++ | .h | 37 | 37.459459 | 72 | 0.744515 | brndnmtthws/conky | 7,161 | 615 | 75 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
22,809 | llua.h | brndnmtthws_conky/src/llua.h | /*
*
* Conky, a system monitor, based on torsmo
*
* Copyright (c) 2009 Toni Spets
* Copyright (c) 2005-2024 Brenden Matthews, Philip Kovacs, et. al.
* (see AUTHORS)
* All rights reserved.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public Li... | 2,081 | C++ | .h | 61 | 32.47541 | 72 | 0.748879 | brndnmtthws/conky | 7,161 | 615 | 75 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
22,810 | x11.h | brndnmtthws_conky/src/x11.h | /*
*
* Conky, a system monitor, based on torsmo
*
* Please see COPYING for details
*
* Copyright (c) 2005-2024 Brenden Matthews, Philip Kovacs, et. al.
* (see AUTHORS)
* All rights reserved.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Publ... | 6,018 | C++ | .h | 161 | 35.47205 | 80 | 0.747257 | brndnmtthws/conky | 7,161 | 615 | 75 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
22,811 | tailhead.h | brndnmtthws_conky/src/tailhead.h | /*
*
* Conky, a system monitor, based on torsmo
*
* Any original torsmo code is licensed under the BSD license
*
* All code written since the fork of torsmo is licensed under the GPL
*
* Please see COPYING for details
*
* Copyright (c) 2004, Hannu Saransaari and Lauri Hakkarainen
* Copyright (c) 2005-2024 Br... | 1,488 | C++ | .h | 37 | 38.378378 | 77 | 0.746372 | brndnmtthws/conky | 7,161 | 615 | 75 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
22,812 | darwin.h | brndnmtthws_conky/src/darwin.h | /*
* Conky, a system monitor, based on torsmo
*
* Any original torsmo code is licensed under the BSD license
*
* All code written since the fork of torsmo is licensed under the GPL
*
* Please see COPYING for details
*
* Copyright (c) 2018-2019, npyl <n.pylarinos@hotmail.com>
*
* This program is free software... | 1,796 | C++ | .h | 52 | 32.442308 | 72 | 0.754902 | brndnmtthws/conky | 7,161 | 615 | 75 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
22,813 | nc.h | brndnmtthws_conky/src/nc.h | /*
*
* Conky, a system monitor, based on torsmo
*
* Any original torsmo code is licensed under the BSD license
*
* All code written since the fork of torsmo is licensed under the GPL
*
* Please see COPYING for details
*
* Copyright (c) 2004, Hannu Saransaari and Lauri Hakkarainen
* Copyright (c) 2005-2024 Br... | 1,675 | C++ | .h | 49 | 32.244898 | 74 | 0.745826 | brndnmtthws/conky | 7,161 | 615 | 75 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
22,814 | mouse-events.h | brndnmtthws_conky/src/mouse-events.h | /*
* mouse_events.h: conky support for mouse events
*
* Copyright (C) 2020 Tin Svagelj tin.svagelj@live.com
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the Licen... | 9,248 | C++ | .h | 291 | 28.42268 | 79 | 0.707547 | brndnmtthws/conky | 7,161 | 615 | 75 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
22,815 | tcp-portmon.h | brndnmtthws_conky/src/tcp-portmon.h | /*
*
* tcp-portmon.h - libtcp-portmon hooks prototypes
*
* Copyright (C) 2008 Phil Sutter <Phil@nwl.cc>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License,... | 1,434 | C++ | .h | 40 | 33.875 | 72 | 0.735781 | brndnmtthws/conky | 7,161 | 615 | 75 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
22,816 | apcupsd.h | brndnmtthws_conky/src/apcupsd.h | /*
*
* apcupsd.h: conky module for APC UPS daemon monitoring
*
* Copyright (C) 2009 Jaromir Smrcek <jaromir.smrcek@zoner.com>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; ei... | 1,883 | C++ | .h | 40 | 45.4 | 72 | 0.756668 | brndnmtthws/conky | 7,161 | 615 | 75 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
22,817 | specials.h | brndnmtthws_conky/src/specials.h | /*
*
* Conky, a system monitor, based on torsmo
*
* Any original torsmo code is licensed under the BSD license
*
* All code written since the fork of torsmo is licensed under the GPL
*
* Please see COPYING for details
*
* Copyright (c) 2004, Hannu Saransaari and Lauri Hakkarainen
* Copyright (c) 2005-2024 Br... | 4,043 | C++ | .h | 121 | 31.429752 | 73 | 0.734459 | brndnmtthws/conky | 7,161 | 615 | 75 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
22,818 | top.h | brndnmtthws_conky/src/top.h | /*
*
* Conky, a system monitor, based on torsmo
*
* Any original torsmo code is licensed under the BSD license
*
* All code written since the fork of torsmo is licensed under the GPL
*
* Please see COPYING for details
*
* Copyright (c) 2005 Adi Zaimi, Dan Piponi <dan@tanelorn.demon.co.uk>,
* Dave Clark... | 3,575 | C++ | .h | 113 | 29.628319 | 76 | 0.681871 | brndnmtthws/conky | 7,161 | 615 | 75 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
22,819 | user.h | brndnmtthws_conky/src/user.h | /*
*
* Conky, a system monitor, based on torsmo
*
* Any original torsmo code is licensed under the BSD license
*
* All code written since the fork of torsmo is licensed under the GPL
*
* Please see COPYING for details
*
* Copyright (c) 2004, Hannu Saransaari and Lauri Hakkarainen
* Copyright (c) 2005-2024 Br... | 1,271 | C++ | .h | 33 | 36.606061 | 79 | 0.746559 | brndnmtthws/conky | 7,161 | 615 | 75 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
22,820 | mail.h | brndnmtthws_conky/src/mail.h | /*
*
* Conky, a system monitor, based on torsmo
*
* Please see COPYING for details
*
* Copyright (c) 2005-2024 Brenden Matthews, Philip Kovacs, et. al.
* (see AUTHORS)
* All rights reserved.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Publi... | 2,571 | C++ | .h | 63 | 39.031746 | 77 | 0.759118 | brndnmtthws/conky | 7,161 | 615 | 75 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
22,821 | dragonfly.h | brndnmtthws_conky/src/dragonfly.h | /* */
#ifndef DRAGONFLY_H_
#define DRAGONFLY_H_
#include <fcntl.h>
#include <kvm.h>
#include <sys/mount.h>
#include <sys/param.h>
#include <sys/ucred.h>
#include "common.h"
#if (defined(i386) || defined(__i386__))
#include <machine/apm_bios.h>
#endif /* i386 || __i386__ */
int get_entropy_avail(unsigned int *);
int ... | 383 | C++ | .h | 15 | 24.266667 | 41 | 0.695055 | brndnmtthws/conky | 7,161 | 615 | 75 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
22,822 | colour-names-stub.hh | brndnmtthws_conky/src/colour-names-stub.hh | /*
* To generate colour-names.hh, you must have gperf installed during build.
* This is a dummy implementation for builds without gperf.
* Color name matching will always return null (i.e. no match).
*/
#pragma once
#include <cstdint>
#include "logging.h"
struct rgb {
const char *name;
uint8_t red;
uint8_... | 593 | C++ | .h | 22 | 24.818182 | 77 | 0.732743 | brndnmtthws/conky | 7,161 | 615 | 75 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
22,823 | cpu.h | brndnmtthws_conky/src/cpu.h | /*
*
* Conky, a system monitor, based on torsmo
*
* Any original torsmo code is licensed under the BSD license
*
* All code written since the fork of torsmo is licensed under the GPL
*
* Please see COPYING for details
*
* Copyright (c) 2004, Hannu Saransaari and Lauri Hakkarainen
* Copyright (c) 2005-2024 Br... | 1,308 | C++ | .h | 37 | 33.540541 | 72 | 0.738959 | brndnmtthws/conky | 7,161 | 615 | 75 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
22,824 | fs.h | brndnmtthws_conky/src/fs.h | /*
*
* Conky, a system monitor, based on torsmo
*
* Any original torsmo code is licensed under the BSD license
*
* All code written since the fork of torsmo is licensed under the GPL
*
* Please see COPYING for details
*
* Copyright (c) 2004, Hannu Saransaari and Lauri Hakkarainen
* Copyright (c) 2005-2024 Br... | 2,109 | C++ | .h | 57 | 35.140351 | 72 | 0.739726 | brndnmtthws/conky | 7,161 | 615 | 75 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
22,825 | display-output.hh | brndnmtthws_conky/src/display-output.hh | /*
*
* Conky, a system monitor, based on torsmo
*
* Please see COPYING for details
*
* Copyright (C) 2018 François Revol et al.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, eithe... | 6,324 | C++ | .h | 171 | 33.883041 | 80 | 0.695666 | brndnmtthws/conky | 7,161 | 615 | 75 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
22,826 | common.h | brndnmtthws_conky/src/common.h | /*
*
* Conky, a system monitor, based on torsmo
*
* Please see COPYING for details
*
* Copyright (c) 2005-2024 Brenden Matthews, Philip Kovacs, et. al.
* (see AUTHORS)
* All rights reserved.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Publi... | 7,682 | C++ | .h | 159 | 46.823899 | 78 | 0.7499 | brndnmtthws/conky | 7,161 | 615 | 75 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
22,827 | netbsd.h | brndnmtthws_conky/src/netbsd.h | /* */
#ifndef NETBSD_H_
#define NETBSD_H_
#include <err.h>
#include <fcntl.h>
#include <kvm.h>
#include <limits.h>
#include <nlist.h>
#include <paths.h>
#include <time.h>
#include <unistd.h>
#include <sys/envsys.h>
#include <sys/sched.h>
#include <sys/socket.h>
#include <sys/swap.h>
#include <sys/sysctl.h>
#include ... | 600 | C++ | .h | 27 | 20.888889 | 41 | 0.723404 | brndnmtthws/conky | 7,161 | 615 | 75 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
22,828 | c++wrap.hh | brndnmtthws_conky/src/c++wrap.hh | /*
*
* Conky, a system monitor, based on torsmo
*
* Please see COPYING for details
*
* Copyright (C) 2010 Pavel Labath et al.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either v... | 1,331 | C++ | .h | 42 | 29.714286 | 72 | 0.734582 | brndnmtthws/conky | 7,161 | 615 | 75 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
22,829 | mixer.h | brndnmtthws_conky/src/mixer.h | /*
*
* Conky, a system monitor, based on torsmo
*
* Any original torsmo code is licensed under the BSD license
*
* All code written since the fork of torsmo is licensed under the GPL
*
* Please see COPYING for details
*
* Copyright (c) 2004, Hannu Saransaari and Lauri Hakkarainen
* Copyright (c) 2007 Toni Sp... | 1,590 | C++ | .h | 41 | 37 | 72 | 0.757282 | brndnmtthws/conky | 7,161 | 615 | 75 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
22,830 | logging.h | brndnmtthws_conky/src/logging.h | /*
*
* Conky, a system monitor, based on torsmo
*
* Any original torsmo code is licensed under the BSD license
*
* All code written since the fork of torsmo is licensed under the GPL
*
* Please see COPYING for details
*
* Copyright (c) 2004, Hannu Saransaari and Lauri Hakkarainen
* Copyright (c) 2005-2024 Br... | 4,204 | C++ | .h | 108 | 34.861111 | 79 | 0.616667 | brndnmtthws/conky | 7,161 | 615 | 75 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
22,831 | data-source.hh | brndnmtthws_conky/src/data-source.hh | /*
*
* Conky, a system monitor, based on torsmo
*
* Please see COPYING for details
*
* Copyright (C) 2010 Pavel Labath et al.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either v... | 4,478 | C++ | .h | 122 | 33.155738 | 80 | 0.70572 | brndnmtthws/conky | 7,161 | 615 | 75 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
22,832 | freebsd.h | brndnmtthws_conky/src/freebsd.h | /*
*
* Conky, a system monitor, based on torsmo
*
* Any original torsmo code is licensed under the BSD license
*
* All code written since the fork of torsmo is licensed under the GPL
*
* Please see COPYING for details
*
* Copyright (c) 2004, Hannu Saransaari and Lauri Hakkarainen
* Copyright (c) 2005-2024 Br... | 1,571 | C++ | .h | 46 | 32.434783 | 72 | 0.741935 | brndnmtthws/conky | 7,161 | 615 | 75 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
22,833 | darwin_sip.h | brndnmtthws_conky/src/darwin_sip.h | /*
* Conky, a system monitor, based on torsmo
*
* Any original torsmo code is licensed under the BSD license
*
* All code written since the fork of torsmo is licensed under the GPL
*
* Please see COPYING for details
*
* Copyright (c) 2018-2019, npyl <n.pylarinos@hotmail.com>
*
* This program is free software... | 2,370 | C++ | .h | 56 | 40.482143 | 72 | 0.690208 | brndnmtthws/conky | 7,161 | 615 | 75 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
22,834 | linux.h | brndnmtthws_conky/src/linux.h | /*
*
* Conky, a system monitor, based on torsmo
*
* Please see COPYING for details
*
* Copyright (c) 2005-2024 Brenden Matthews, Philip Kovacs, et. al.
* (see AUTHORS)
* All rights reserved.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Publi... | 2,369 | C++ | .h | 53 | 43.037736 | 74 | 0.754234 | brndnmtthws/conky | 7,161 | 615 | 75 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
22,835 | sony.h | brndnmtthws_conky/src/sony.h | /*
*
* Conky, a system monitor, based on torsmo
*
* Please see COPYING for details
*
* Copyright (c) 2005-2024 Brenden Matthews, Philip Kovacs, et. al.
* Copyright (c) 2009 Yeon-Hyeong Yang <lbird94@gmail.com>
* (see AUTHORS)
* All rights reserved.
*
* This program is free software: you can redistribute it a... | 1,268 | C++ | .h | 33 | 36.515152 | 72 | 0.74513 | brndnmtthws/conky | 7,161 | 615 | 75 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
22,836 | irc.h | brndnmtthws_conky/src/irc.h | /*
*
* Conky, a system monitor, based on torsmo
*
* Please see COPYING for details
*
* Copyright (c) 2005-2024 Brenden Matthews, Philip Kovacs, et. al.
* (see AUTHORS)
* All rights reserved.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Publi... | 1,057 | C++ | .h | 29 | 34.586207 | 72 | 0.741463 | brndnmtthws/conky | 7,161 | 615 | 75 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
22,837 | display-file.hh | brndnmtthws_conky/src/display-file.hh | /*
*
* Conky, a system monitor, based on torsmo
*
* Please see COPYING for details
*
* Copyright (C) 2018 François Revol et al.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, eithe... | 1,542 | C++ | .h | 48 | 29.9375 | 72 | 0.744265 | brndnmtthws/conky | 7,161 | 615 | 75 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
22,838 | nvidia.h | brndnmtthws_conky/src/nvidia.h | /*
*
* Conky, a system monitor, based on torsmo
*
* Any original torsmo code is licensed under the BSD license
*
* All code written since the fork of torsmo is licensed under the GPL
*
* Please see COPYING for details
*
* Copyright (c) 2008 Markus Meissner
* Copyright (c) 2005-2024 Brenden Matthews, Philip K... | 1,336 | C++ | .h | 36 | 35.25 | 72 | 0.75463 | brndnmtthws/conky | 7,161 | 615 | 75 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
22,839 | diskio.h | brndnmtthws_conky/src/diskio.h | /*
*
* Conky, a system monitor, based on torsmo
*
* Any original torsmo code is licensed under the BSD license
*
* All code written since the fork of torsmo is licensed under the GPL
*
* Please see COPYING for details
*
* Copyright (c) 2004, Hannu Saransaari and Lauri Hakkarainen
* Copyright (c) 2005-2024 Br... | 2,500 | C++ | .h | 73 | 31.520548 | 76 | 0.731405 | brndnmtthws/conky | 7,161 | 615 | 75 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
22,840 | cmus.h | brndnmtthws_conky/src/cmus.h | /*
*
* CMUS Conky integration
*
* Please see COPYING for details
*
* Copyright (c) 2011, Christian Brabandt <cb@256bit.org>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either ver... | 1,944 | C++ | .h | 41 | 45.853659 | 72 | 0.747368 | brndnmtthws/conky | 7,161 | 615 | 75 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
22,841 | solaris.h | brndnmtthws_conky/src/solaris.h | #ifndef SOLARIS_H_
#define SOLARIS_H_
int get_entropy_avail(unsigned int *);
int get_entropy_poolsize(unsigned int *);
#endif /*SOLARIS_H_*/
| 143 | C++ | .h | 5 | 27.2 | 41 | 0.75 | brndnmtthws/conky | 7,161 | 615 | 75 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
22,842 | temphelper.h | brndnmtthws_conky/src/temphelper.h | /*
*
* temphelper.h: aid in converting temperature units
*
* Copyright (C) 2008 Phil Sutter <Phil@nwl.cc>
*
* This library is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the Licen... | 1,046 | C++ | .h | 28 | 35.428571 | 72 | 0.750247 | brndnmtthws/conky | 7,161 | 615 | 75 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
22,843 | read_tcpip.h | brndnmtthws_conky/src/read_tcpip.h | /*
*
* Conky, a system monitor, based on torsmo
*
* Any original torsmo code is licensed under the BSD license
*
* All code written since the fork of torsmo is licensed under the GPL
*
* Please see COPYING for details
*
* Copyright (c) 2004, Hannu Saransaari and Lauri Hakkarainen
* Copyright (c) 2005-2024 Br... | 1,585 | C++ | .h | 39 | 38.25641 | 72 | 0.734284 | brndnmtthws/conky | 7,161 | 615 | 75 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
22,844 | display-wayland.hh | brndnmtthws_conky/src/display-wayland.hh | /*
*
* Conky, a system monitor, based on torsmo
*
* Please see COPYING for details
*
* Copyright (C) 2018-2021 François Revol et al.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, ... | 2,470 | C++ | .h | 74 | 30.905405 | 72 | 0.741379 | brndnmtthws/conky | 7,161 | 615 | 75 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
22,845 | mpd.h | brndnmtthws_conky/src/mpd.h | /*
*
* Conky, a system monitor, based on torsmo
*
* Please see COPYING for details
*
* Copyright (c) 2005-2024 Brenden Matthews, Philip Kovacs, et. al.
* (see AUTHORS)
* All rights reserved.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Publi... | 2,217 | C++ | .h | 48 | 44.645833 | 72 | 0.743649 | brndnmtthws/conky | 7,161 | 615 | 75 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
22,846 | ical.h | brndnmtthws_conky/src/ical.h | /*
*
* Conky, a system monitor, based on torsmo
*
* Please see COPYING for details
*
* Copyright (c) 2005-2024 Brenden Matthews, Philip Kovacs, et. al.
* (see AUTHORS)
* All rights reserved.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Publi... | 1,079 | C++ | .h | 29 | 35.344828 | 73 | 0.739255 | brndnmtthws/conky | 7,161 | 615 | 75 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
22,847 | smapi.h | brndnmtthws_conky/src/smapi.h | /*
*
* smapi.h: conky support for IBM Thinkpad smapi
*
* Copyright (C) 2007 Phil Sutter <Phil@nwl.cc>
*
* This library is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, ... | 1,247 | C++ | .h | 31 | 38.451613 | 72 | 0.749382 | brndnmtthws/conky | 7,161 | 615 | 75 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
22,848 | display-console.hh | brndnmtthws_conky/src/display-console.hh | /*
*
* Conky, a system monitor, based on torsmo
*
* Please see COPYING for details
*
* Copyright (C) 2018 François Revol et al.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, eithe... | 1,497 | C++ | .h | 46 | 30.413043 | 72 | 0.749306 | brndnmtthws/conky | 7,161 | 615 | 75 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
22,849 | wl.h | brndnmtthws_conky/src/wl.h | /*
*
* Conky, a system monitor, based on torsmo
*
* Any original torsmo code is licensed under the BSD license
*
* All code written since the fork of torsmo is licensed under the GPL
*
* Please see COPYING for details
*
* Copyright (c) 2004, Hannu Saransaari and Lauri Hakkarainen
* Copyright (c) 2005-2024 Br... | 1,677 | C++ | .h | 48 | 32.958333 | 74 | 0.751699 | brndnmtthws/conky | 7,161 | 615 | 75 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
22,850 | net_stat.h | brndnmtthws_conky/src/net_stat.h | /*
*
* Conky, a system monitor, based on torsmo
*
* Any original torsmo code is licensed under the BSD license
*
* All code written since the fork of torsmo is licensed under the GPL
*
* Please see COPYING for details
*
* Copyright (c) 2004, Hannu Saransaari and Lauri Hakkarainen
* Copyright (c) 2005-2024 Br... | 4,926 | C++ | .h | 124 | 37.774194 | 79 | 0.73158 | brndnmtthws/conky | 7,161 | 615 | 75 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
22,851 | gradient.h | brndnmtthws_conky/src/gradient.h | /*
*
* Conky, a system monitor, based on torsmo
*
* Any original torsmo code is licensed under the BSD license
*
* All code written since the fork of torsmo is licensed under the GPL
*
* Please see COPYING for details
*
* Copyright (c) 2004, Hannu Saransaari and Lauri Hakkarainen
* Copyright (c) 2005-2024 Br... | 3,137 | C++ | .h | 85 | 34.482353 | 77 | 0.747611 | brndnmtthws/conky | 7,161 | 615 | 75 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
22,852 | setting.hh | brndnmtthws_conky/src/setting.hh | /*
*
* Conky, a system monitor, based on torsmo
*
* Please see COPYING for details
*
* Copyright (C) 2010 Pavel Labath et al.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either v... | 11,448 | C++ | .h | 306 | 31.947712 | 79 | 0.636864 | brndnmtthws/conky | 7,161 | 615 | 75 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
22,853 | users.h | brndnmtthws_conky/src/users.h | /*
*
* Conky, a system monitor, based on torsmo
*
* Any original torsmo code is licensed under the BSD license
*
* All code written since the fork of torsmo is licensed under the GPL
*
* Please see COPYING for details
*
* Copyright (c) 2004, Hannu Saransaari and Lauri Hakkarainen
* Copyright (c) 2005-2024 Br... | 1,648 | C++ | .h | 41 | 38.414634 | 72 | 0.749688 | brndnmtthws/conky | 7,161 | 615 | 75 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
22,854 | xmms2.h | brndnmtthws_conky/src/xmms2.h | /*
*
* Conky, a system monitor, based on torsmo
*
* Any original torsmo code is licensed under the BSD license
*
* All code written since the fork of torsmo is licensed under the GPL
*
* Please see COPYING for details
*
* Copyright (c) 2005-2024 Brenden Matthews, Philip Kovacs, et. al.
* (see AUTHORS)
* All... | 2,804 | C++ | .h | 74 | 35.918919 | 73 | 0.74504 | brndnmtthws/conky | 7,161 | 615 | 75 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
22,855 | prss.h | brndnmtthws_conky/src/prss.h | /*
*
* Copyright (c) 2007 Mikko Sysikaski <mikko.sysikaski@gmail.com>
* Toni Spets <toni.spets@gmail.com>
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear i... | 1,443 | C++ | .h | 49 | 27.020408 | 75 | 0.743867 | brndnmtthws/conky | 7,161 | 615 | 75 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
22,856 | display-http.hh | brndnmtthws_conky/src/display-http.hh | /*
*
* Conky, a system monitor, based on torsmo
*
* Please see COPYING for details
*
* Copyright (C) 2018-2021 François Revol et al.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, ... | 1,676 | C++ | .h | 54 | 28.814815 | 72 | 0.741615 | brndnmtthws/conky | 7,161 | 615 | 75 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
22,857 | template.h | brndnmtthws_conky/src/template.h | /*
*
* Conky, a system monitor, based on torsmo
*
* Any original torsmo code is licensed under the BSD license
*
* All code written since the fork of torsmo is licensed under the GPL
*
* Please see COPYING for details
*
* Copyright (c) 2004, Hannu Saransaari and Lauri Hakkarainen
* Copyright (c) 2005-2024 Br... | 1,212 | C++ | .h | 33 | 34.818182 | 72 | 0.752551 | brndnmtthws/conky | 7,161 | 615 | 75 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
22,858 | timeinfo.h | brndnmtthws_conky/src/timeinfo.h | /*
*
* Conky, a system monitor, based on torsmo
*
* Any original torsmo code is licensed under the BSD license
*
* All code written since the fork of torsmo is licensed under the GPL
*
* Please see COPYING for details
*
* Copyright (c) 2004, Hannu Saransaari and Lauri Hakkarainen
* Copyright (c) 2005-2024 Br... | 1,879 | C++ | .h | 47 | 37.744681 | 72 | 0.73863 | brndnmtthws/conky | 7,161 | 615 | 75 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
22,871 | main.cpp | cemu-project_Cemu/src/main.cpp | #include "gui/guiWrapper.h"
#include "gui/wxgui.h"
#include "util/crypto/aes128.h"
#include "gui/MainWindow.h"
#include "Cafe/OS/RPL/rpl.h"
#include "Cafe/OS/libs/gx2/GX2.h"
#include "Cafe/OS/libs/coreinit/coreinit_Thread.h"
#include "Cafe/GameProfile/GameProfile.h"
#include "Cafe/GraphicPack/GraphicPack2.h"
#include "... | 6,751 | C++ | .cpp | 233 | 26.961373 | 154 | 0.754164 | cemu-project/Cemu | 7,119 | 558 | 254 | MPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
22,872 | mainLLE.cpp | cemu-project_Cemu/src/mainLLE.cpp | #include "gui/wxgui.h"
#include "util/crypto/aes128.h"
#include "gui/MainWindow.h"
#include "gui/guiWrapper.h"
#include "Common/FileStream.h"
void CemuCommonInit();
typedef struct
{
/* +0x000 */ uint32be magic;
}ppcAncastHeader_t;
void loadEncryptedPPCAncastKernel()
{
auto kernelData = FileStream::LoadIntoMemory... | 1,171 | C++ | .cpp | 42 | 25.952381 | 99 | 0.774799 | cemu-project/Cemu | 7,119 | 558 | 254 | MPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
22,873 | IniParser.cpp | cemu-project_Cemu/src/util/IniParser/IniParser.cpp | #include "util/IniParser/IniParser.h"
IniParser::IniParser(std::span<char> iniContents, std::string_view name) : m_name(name)
{
// we dont support utf8 but still skip the byte order mark in case the user saved the document with the wrong encoding
if (iniContents.size() >= 3 && (uint8)iniContents[0] == 0xEF && (uint8... | 6,984 | C++ | .cpp | 250 | 24.864 | 128 | 0.665129 | cemu-project/Cemu | 7,119 | 558 | 254 | MPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
22,875 | FiberWin.cpp | cemu-project_Cemu/src/util/Fiber/FiberWin.cpp | #include "Fiber.h"
#include <Windows.h>
thread_local Fiber* sCurrentFiber{};
Fiber::Fiber(void(*FiberEntryPoint)(void* userParam), void* userParam, void* privateData) : m_privateData(privateData)
{
HANDLE fiberHandle = CreateFiber(2 * 1024 * 1024, (LPFIBER_START_ROUTINE)FiberEntryPoint, userParam);
this->m_implData... | 986 | C++ | .cpp | 33 | 28.30303 | 118 | 0.781184 | cemu-project/Cemu | 7,119 | 558 | 254 | MPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
22,876 | FiberUnix.cpp | cemu-project_Cemu/src/util/Fiber/FiberUnix.cpp | #include "Fiber.h"
#include <ucontext.h>
#include <atomic>
thread_local Fiber* sCurrentFiber{};
Fiber::Fiber(void(*FiberEntryPoint)(void* userParam), void* userParam, void* privateData) : m_privateData(privateData)
{
ucontext_t* ctx = (ucontext_t*)malloc(sizeof(ucontext_t));
const size_t stackSize = 2 * 1024 * 10... | 1,413 | C++ | .cpp | 47 | 28.106383 | 118 | 0.741888 | cemu-project/Cemu | 7,119 | 558 | 254 | MPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
22,878 | aes128.cpp | cemu-project_Cemu/src/util/crypto/aes128.cpp | /*
Original implementation based on Tiny-AES-c (2015)
https://github.com/kokke/tiny-AES-c
Modified by Exzap
*/
/*****************************************************************************/
/* Includes: */
/******************************************... | 29,787 | C++ | .cpp | 764 | 36.73822 | 188 | 0.639704 | cemu-project/Cemu | 7,119 | 558 | 254 | MPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
22,879 | md5.cpp | cemu-project_Cemu/src/util/crypto/md5.cpp | /*
* This is an OpenSSL-compatible implementation of the RSA Data Security, Inc.
* MD5 Message-Digest Algorithm (RFC 1321).
*
* Homepage:
* http://openwall.info/wiki/people/solar/software/public-domain-source-code/md5
*
* Author:
* Alexander Peslyak, better known as Solar Designer <solar at openwall.com>
*
* This softw... | 10,245 | C++ | .cpp | 308 | 30.899351 | 113 | 0.633118 | cemu-project/Cemu | 7,119 | 558 | 254 | MPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | true | false |
22,880 | libusbWrapper.cpp | cemu-project_Cemu/src/util/libusbWrapper/libusbWrapper.cpp | #include "libusbWrapper.h"
/*
#include "config/ActiveSettings.h"
libusbWrapper::libusbWrapper()
{
}
void libusbWrapper::init()
{
#if BOOST_OS_WINDOWS
if (m_isInitialized)
return;
m_isInitialized = true;
// load module
m_module = LoadLibraryW(L"libusb-1.0.dll");
if (!m_module)
{
const auto path = Active... | 1,812 | C++ | .cpp | 65 | 25.815385 | 102 | 0.757907 | cemu-project/Cemu | 7,119 | 558 | 254 | MPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
22,881 | HighResolutionTimer.cpp | cemu-project_Cemu/src/util/highresolutiontimer/HighResolutionTimer.cpp | #include "util/highresolutiontimer/HighResolutionTimer.h"
#include "Common/precompiled.h"
HighResolutionTimer HighResolutionTimer::now()
{
#if BOOST_OS_WINDOWS
LARGE_INTEGER pc;
QueryPerformanceCounter(&pc);
return HighResolutionTimer(pc.QuadPart);
#elif BOOST_OS_LINUX
timespec pc;
clock_gettime(CLOCK_MONOT... | 916 | C++ | .cpp | 32 | 26.40625 | 78 | 0.77185 | cemu-project/Cemu | 7,119 | 558 | 254 | MPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
22,882 | MemMapperUnix.cpp | cemu-project_Cemu/src/util/MemMapper/MemMapperUnix.cpp | #include "util/MemMapper/MemMapper.h"
#include <unistd.h>
#include <sys/mman.h>
namespace MemMapper
{
const size_t sPageSize{ []()
{
return (size_t)getpagesize();
}()
};
size_t GetPageSize()
{
return sPageSize;
}
int GetProt(PAGE_PERMISSION permissionFlags)
{
int p = 0;
if (HAS_FLAG(permissionFla... | 1,785 | C++ | .cpp | 57 | 28.087719 | 176 | 0.712042 | cemu-project/Cemu | 7,119 | 558 | 254 | MPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
22,883 | MemMapperWin.cpp | cemu-project_Cemu/src/util/MemMapper/MemMapperWin.cpp | #include "util/MemMapper/MemMapper.h"
#include <Windows.h>
namespace MemMapper
{
const size_t sPageSize{ []()
{
SYSTEM_INFO si;
GetSystemInfo(&si);
return (size_t)si.dwPageSize;
}()
};
size_t GetPageSize()
{
return sPageSize;
}
DWORD GetPageProtection(PAGE_PERMISSION permissionFlags)
{
DWORD p =... | 1,820 | C++ | .cpp | 54 | 30.962963 | 176 | 0.751281 | cemu-project/Cemu | 7,119 | 558 | 254 | MPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
22,884 | ZpIREmitGLSL.cpp | cemu-project_Cemu/src/util/Zir/EmitterGLSL/ZpIREmitGLSL.cpp | #include "util/Zir/Core/IR.h"
#include "util/Zir/Core/ZirUtility.h"
#include "util/Zir/Core/ZpIRPasses.h"
#include "util/Zir/EmitterGLSL/ZpIREmitGLSL.h"
#include "util/Zir/Core/ZpIRScheduler.h"
// string buffer helper class which keeps buffer space at the front and end, allow fast prepend and append
class DualStringBu... | 13,994 | C++ | .cpp | 436 | 28.62156 | 136 | 0.702785 | cemu-project/Cemu | 7,119 | 558 | 254 | MPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
22,885 | RegisterAllocatorForGLSL.cpp | cemu-project_Cemu/src/util/Zir/Passes/RegisterAllocatorForGLSL.cpp | #include "util/Zir/Core/IR.h"
#include "util/Zir/Core/ZirUtility.h"
#include "util/Zir/Core/ZpIRPasses.h"
#include "util/Zir/Core/ZpIRDebug.h"
namespace ZirPass
{
void RegisterAllocatorForGLSL::assignPhysicalRegisters()
{
if (m_irFunction->m_basicBlocks.size() != 1)
cemu_assert_unimplemented();
for (auto& i... | 2,421 | C++ | .cpp | 56 | 39.821429 | 236 | 0.737378 | cemu-project/Cemu | 7,119 | 558 | 254 | MPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
22,886 | ZpIRRegisterAllocator.cpp | cemu-project_Cemu/src/util/Zir/Passes/ZpIRRegisterAllocator.cpp | #include "util/Zir/Core/IR.h"
#include "util/Zir/Core/ZirUtility.h"
#include "util/Zir/Core/ZpIRPasses.h"
#include "util/Zir/Core/ZpIRDebug.h"
namespace ZirPass
{
using namespace ZpIR;
/*
Algorithm description:
Prepare phase:
Assign every basic block an index
Create internal arrays to match index co... | 10,710 | C++ | .cpp | 276 | 34.887681 | 210 | 0.732397 | cemu-project/Cemu | 7,119 | 558 | 254 | MPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
22,887 | IR.cpp | cemu-project_Cemu/src/util/Zir/Core/IR.cpp | #include "util/Zir/Core/IR.h"
#include "util/Zir/Core/ZpIRDebug.h"
#include <cinttypes>
namespace ZpIR
{
const char* getOpcodeName(IR::OpCode opcode)
{
switch (opcode)
{
case IR::OpCode::ADD:
return "ADD";
case IR::OpCode::MOV:
return "MOV";
case IR::OpCode::MUL:
return "MUL";
case IR::OpCode:... | 6,989 | C++ | .cpp | 222 | 27.806306 | 272 | 0.6516 | cemu-project/Cemu | 7,119 | 558 | 254 | MPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
22,888 | VirtualHeap.cpp | cemu-project_Cemu/src/util/VirtualHeap/VirtualHeap.cpp | #include "VirtualHeap.h"
VirtualBufferHeap_t* virtualBufferHeap_create(uint32 virtualHeapSize, void* baseAddr)
{
VirtualBufferHeap_t* bufferHeap = (VirtualBufferHeap_t*)malloc(sizeof(VirtualBufferHeap_t));
memset(bufferHeap, 0, sizeof(VirtualBufferHeap_t));
bufferHeap->firstEntry = nullptr;
virtualHeapSize = (virt... | 5,289 | C++ | .cpp | 152 | 31.993421 | 133 | 0.767791 | cemu-project/Cemu | 7,119 | 558 | 254 | MPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
22,889 | Serializer.cpp | cemu-project_Cemu/src/util/helpers/Serializer.cpp | #include "Serializer.h"
template<>
uint8 MemStreamReader::readBE()
{
if (!reserveReadLength(sizeof(uint8)))
return 0;
uint8 v = m_data[m_cursorPos];
m_cursorPos += sizeof(uint8);
return v;
}
template<>
uint16 MemStreamReader::readBE()
{
if (!reserveReadLength(sizeof(uint16)))
return 0;
const uint8* p = m_da... | 3,167 | C++ | .cpp | 143 | 20.377622 | 64 | 0.689953 | cemu-project/Cemu | 7,119 | 558 | 254 | MPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
22,890 | helpers.cpp | cemu-project_Cemu/src/util/helpers/helpers.cpp | #include "helpers.h"
#include <algorithm>
#include <functional>
#include <cctype>
#include <random>
#include <wx/translation.h>
#include "config/ActiveSettings.h"
#include <boost/random/uniform_int.hpp>
#include <zlib.h>
#if BOOST_OS_WINDOWS
#include <TlHelp32.h>
#endif
std::string& ltrim(std::string& str, co... | 11,404 | C++ | .cpp | 400 | 26.2175 | 164 | 0.716644 | cemu-project/Cemu | 7,119 | 558 | 254 | MPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
22,891 | SystemInfoWin.cpp | cemu-project_Cemu/src/util/SystemInfo/SystemInfoWin.cpp | #include "util/SystemInfo/SystemInfo.h"
#include <Psapi.h>
#include <winternl.h>
#pragma comment(lib, "ntdll.lib")
uint64 QueryRamUsage()
{
PROCESS_MEMORY_COUNTERS pmc{};
pmc.cb = sizeof(pmc);
if (GetProcessMemoryInfo(GetCurrentProcess(), &pmc, sizeof(pmc)))
{
return pmc.WorkingSetSize;
}
else
{
return 0;
... | 1,573 | C++ | .cpp | 62 | 23.016129 | 161 | 0.722739 | cemu-project/Cemu | 7,119 | 558 | 254 | MPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
22,892 | SystemInfoLinux.cpp | cemu-project_Cemu/src/util/SystemInfo/SystemInfoLinux.cpp | #include "util/SystemInfo/SystemInfo.h"
#include <unistd.h>
uint64 QueryRamUsage()
{
static long page_size = sysconf(_SC_PAGESIZE);
if (page_size == -1)
{
return 0;
}
std::ifstream file("/proc/self/statm");
if (file)
{
file.ignore(std::numeric_limits<std::streamsize>::max(), ' ');
uint64 pages;
file >... | 967 | C++ | .cpp | 41 | 21.02439 | 66 | 0.634385 | cemu-project/Cemu | 7,119 | 558 | 254 | MPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
22,893 | SystemInfoMac.cpp | cemu-project_Cemu/src/util/SystemInfo/SystemInfoMac.cpp | #include "util/SystemInfo/SystemInfo.h"
#include <unistd.h>
#include <sys/resource.h>
#include <sys/sysctl.h>
#include <sys/types.h>
#include <mach/mach.h>
#include <mach/processor_info.h>
#include <mach/mach_host.h>
#include <mach/kern_return.h>
// borrowed from https://en.wikichip.org/wiki/resident_set_size#OS_X
u... | 1,819 | C++ | .cpp | 51 | 33.509804 | 103 | 0.71827 | cemu-project/Cemu | 7,119 | 558 | 254 | MPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
22,894 | SystemInfoUnix.cpp | cemu-project_Cemu/src/util/SystemInfo/SystemInfoUnix.cpp | #include "util/SystemInfo/SystemInfo.h"
#include <sys/times.h>
void QueryProcTime(uint64 &out_now, uint64 &out_user, uint64 &out_kernel)
{
struct tms time_info;
clock_t clock_now = times(&time_info);
clock_t clock_user = time_info.tms_utime;
clock_t clock_kernel = time_info.tms_stime;
out_now = static_cast<uint6... | 432 | C++ | .cpp | 12 | 34.166667 | 73 | 0.745803 | cemu-project/Cemu | 7,119 | 558 | 254 | MPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
22,895 | SystemInfoStub.cpp | cemu-project_Cemu/src/util/SystemInfo/SystemInfoStub.cpp | #include "util/SystemInfo/SystemInfo.h"
uint64 QueryRamUsage()
{
return 0;
}
void QueryProcTime(uint64 &out_now, uint64 &out_user, uint64 &out_kernel)
{
out_now = 0;
out_user = 0;
out_kernel = 0;
}
void QueryCoreTimes(uint32 count, std::vector<ProcessorTime>& out)
{
for (auto i = 0; i < out.size(); ++i)
{
ou... | 337 | C++ | .cpp | 18 | 17.055556 | 73 | 0.683544 | cemu-project/Cemu | 7,119 | 558 | 254 | MPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
22,896 | SystemInfo.cpp | cemu-project_Cemu/src/util/SystemInfo/SystemInfo.cpp | #include "util/SystemInfo/SystemInfo.h"
uint64 ProcessorTime::work()
{
return user + kernel;
}
uint64 ProcessorTime::total()
{
return idle + user + kernel;
}
double ProcessorTime::Compare(ProcessorTime &last, ProcessorTime &now)
{
auto dwork = now.work() - last.work();
auto dtotal = now.total() - last.total();
... | 612 | C++ | .cpp | 27 | 21.037037 | 70 | 0.740933 | cemu-project/Cemu | 7,119 | 558 | 254 | MPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
22,897 | ControllerFactory.cpp | cemu-project_Cemu/src/input/ControllerFactory.cpp | #include "input/ControllerFactory.h"
#include "input/emulated/VPADController.h"
#include "input/emulated/ProController.h"
#include "input/emulated/ClassicController.h"
#include "input/emulated/WiimoteController.h"
#include "input/api/SDL/SDLController.h"
#include "input/api/Keyboard/KeyboardController.h"
#include "in... | 5,498 | C++ | .cpp | 168 | 29.785714 | 211 | 0.748966 | cemu-project/Cemu | 7,119 | 558 | 254 | MPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
22,898 | InputManager.cpp | cemu-project_Cemu/src/input/InputManager.cpp | #include "input/InputManager.h"
#include "config/ActiveSettings.h"
#include "input/ControllerFactory.h"
#include <boost/property_tree/ini_parser.hpp>
#include <pugixml.hpp>
#include "Cafe/GameProfile/GameProfile.h"
#include "util/EventService.h"
InputManager::InputManager()
{
/*
auto create_provider = []
template <... | 26,467 | C++ | .cpp | 791 | 29.929204 | 120 | 0.690935 | cemu-project/Cemu | 7,119 | 558 | 254 | MPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
22,899 | Controller.cpp | cemu-project_Cemu/src/input/api/Controller.cpp | #include "input/api/Controller.h"
#include "gui/guiWrapper.h"
ControllerBase::ControllerBase(std::string_view uuid, std::string_view display_name)
: m_uuid{uuid}, m_display_name{display_name}
{
}
const ControllerState& ControllerBase::update_state()
{
if (!m_is_calibrated)
calibrate();
ControllerState result =... | 6,209 | C++ | .cpp | 195 | 29.076923 | 121 | 0.725352 | cemu-project/Cemu | 7,119 | 558 | 254 | MPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.