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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
10,529 | webserver.h | tindy2013_subconverter/src/server/webserver.h | #ifndef WEBSERVER_H_INCLUDED
#define WEBSERVER_H_INCLUDED
#include <string>
#include <map>
#include <atomic>
#include <curl/curlver.h>
#include "utils/map_extra.h"
#include "utils/string.h"
#include "version.h"
struct Request
{
std::string method;
std::string url;
string_multimap argument;
string_ica... | 2,187 | C++ | .h | 76 | 24.592105 | 136 | 0.692785 | tindy2013/subconverter | 12,883 | 2,744 | 197 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
10,530 | socket.h | tindy2013_subconverter/src/server/socket.h | #ifndef SOCKET_H_INCLUDED
#define SOCKET_H_INCLUDED
#ifdef _WIN32
#ifndef WINVER
#define WINVER 0x0501
#endif // WINVER
#include <ws2tcpip.h>
#include <winsock2.h>
#else
//translate windows functions to linux functions
#define SOCKET int
#define INVALID_SOCKET (SOCKET)(~0)
#define SOCKET_ERROR (-1)
#define closesocket... | 858 | C++ | .h | 36 | 22.777778 | 48 | 0.768293 | tindy2013/subconverter | 12,883 | 2,744 | 197 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
10,531 | proxygroup.h | tindy2013_subconverter/src/config/proxygroup.h | #ifndef PROXYGROUP_H_INCLUDED
#define PROXYGROUP_H_INCLUDED
#include "def.h"
enum class ProxyGroupType
{
Select,
URLTest,
Fallback,
LoadBalance,
Relay,
SSID,
Smart
};
enum class BalanceStrategy
{
ConsistentHashing,
RoundRobin
};
struct ProxyGroupConfig
{
String Name;
Prox... | 1,513 | C++ | .h | 59 | 19.694915 | 81 | 0.663209 | tindy2013/subconverter | 12,883 | 2,744 | 197 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
10,532 | crontask.h | tindy2013_subconverter/src/config/crontask.h | #ifndef CRONTASK_H_INCLUDED
#define CRONTASK_H_INCLUDED
#include "def.h"
struct CronTaskConfig
{
String Name;
String CronExp;
String Path;
Integer Timeout = 0;
};
using CronTaskConfigs = std::vector<CronTaskConfig>;
#endif // CRONTASK_H_INCLUDED
| 266 | C++ | .h | 12 | 19.5 | 52 | 0.76 | tindy2013/subconverter | 12,883 | 2,744 | 197 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
10,533 | regmatch.h | tindy2013_subconverter/src/config/regmatch.h | #ifndef REGMATCH_H_INCLUDED
#define REGMATCH_H_INCLUDED
#include "def.h"
struct RegexMatchConfig
{
String Match;
String Replace;
String Script;
};
using RegexMatchConfigs = std::vector<RegexMatchConfig>;
#endif // REGMATCH_H_INCLUDED
| 250 | C++ | .h | 11 | 20.272727 | 56 | 0.782979 | tindy2013/subconverter | 12,883 | 2,744 | 197 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
10,534 | binding.h | tindy2013_subconverter/src/config/binding.h | #ifndef BINDING_H_INCLUDED
#define BINDING_H_INCLUDED
#include <toml.hpp>
#include "handler/settings.h"
#include "crontask.h"
#include "proxygroup.h"
#include "regmatch.h"
#include "ruleset.h"
namespace toml
{
template<>
struct from<ProxyGroupConfig>
{
static ProxyGroupConfig from_toml(const valu... | 13,029 | C++ | .h | 340 | 24.255882 | 198 | 0.479836 | tindy2013/subconverter | 12,883 | 2,744 | 197 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
10,535 | ruleset.h | tindy2013_subconverter/src/config/ruleset.h | #ifndef RULESET_H_INCLUDED
#define RULESET_H_INCLUDED
#include "def.h"
enum class RulesetType
{
SurgeRuleset,
QuantumultX,
ClashDomain,
ClashIpCidr,
ClashClassic
};
struct RulesetConfig
{
String Group;
//RulesetType Type = RulesetType::SurgeRuleset;
String Url;
Integer Interval = ... | 549 | C++ | .h | 24 | 19.333333 | 74 | 0.707692 | tindy2013/subconverter | 12,883 | 2,744 | 197 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
10,536 | def.h | tindy2013_subconverter/src/config/def.h | #ifndef DEF_H_INCLUDED
#define DEF_H_INCLUDED
#include <string>
#include <vector>
#include <tuple>
#include <cstdint>
#include "utils/string.h"
#include "utils/tribool.h"
using String = std::string;
using Integer = int32_t;
using StrArray = string_array;
using Boolean = tribool;
#endif // DEF_H_INCLUDED
| 309 | C++ | .h | 13 | 22.461538 | 30 | 0.770548 | tindy2013/subconverter | 12,883 | 2,744 | 197 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
10,537 | pty_compat.cc | mobile-shell_mosh/src/util/pty_compat.cc | /*
Mosh: the mobile shell
Copyright 2012 Keith Winstein
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) any later version.... | 4,723 | C++ | .cc | 158 | 25.639241 | 101 | 0.631359 | mobile-shell/mosh | 12,564 | 730 | 193 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | true | false |
10,539 | timestamp.cc | mobile-shell_mosh/src/util/timestamp.cc | /*
Mosh: the mobile shell
Copyright 2012 Keith Winstein
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) any later version.... | 4,115 | C++ | .cc | 111 | 33.846847 | 80 | 0.721205 | mobile-shell/mosh | 12,564 | 730 | 193 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | true | false |
10,541 | locale_utils.cc | mobile-shell_mosh/src/util/locale_utils.cc | /*
Mosh: the mobile shell
Copyright 2012 Keith Winstein
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) any later version.... | 3,729 | C++ | .cc | 109 | 30.715596 | 99 | 0.67879 | mobile-shell/mosh | 12,564 | 730 | 193 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | true | false |
10,542 | terminal_parser_fuzzer.cc | mobile-shell_mosh/src/fuzz/terminal_parser_fuzzer.cc | #include <cstddef>
#include <cstdint>
#include "src/terminal/parser.h"
extern "C" int LLVMFuzzerTestOneInput( const uint8_t* data, size_t size )
{
Parser::UTF8Parser parser;
Parser::Actions result;
for ( size_t i = 0; i < size; i++ ) {
parser.input( data[i], result );
}
return 0;
}
| 301 | C++ | .cc | 12 | 22.583333 | 73 | 0.684211 | mobile-shell/mosh | 12,564 | 730 | 193 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
10,543 | terminal_fuzzer.cc | mobile-shell_mosh/src/fuzz/terminal_fuzzer.cc | #include <cstddef>
#include <cstdint>
#include "src/statesync/completeterminal.h"
#include "src/terminal/parser.h"
extern "C" int LLVMFuzzerTestOneInput( const uint8_t* data, size_t size )
{
Terminal::Display display( false );
Terminal::Complete complete( 80, 24 );
Terminal::Framebuffer state( 80, 24 );
for (... | 476 | C++ | .cc | 15 | 29.333333 | 73 | 0.694323 | mobile-shell/mosh | 12,564 | 730 | 193 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
10,544 | crypto.cc | mobile-shell_mosh/src/crypto/crypto.cc | /*
Mosh: the mobile shell
Copyright 2012 Keith Winstein
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) any later version.... | 9,235 | C++ | .cc | 254 | 31.795276 | 113 | 0.618877 | mobile-shell/mosh | 12,564 | 730 | 193 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | true | false |
10,546 | ocb_internal.cc | mobile-shell_mosh/src/crypto/ocb_internal.cc | /*------------------------------------------------------------------------
/ OCB Version 3 Reference Code (Optimized C) Last modified 08-SEP-2012
/-------------------------------------------------------------------------
/ Copyright (c) 2012 Ted Krovetz.
/ Copyright 2022 Google LLC
/
/ Permission to use, copy, modi... | 50,110 | C++ | .cc | 1,319 | 33.843821 | 135 | 0.572876 | mobile-shell/mosh | 12,564 | 730 | 193 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | true | false |
10,547 | ocb_openssl.cc | mobile-shell_mosh/src/crypto/ocb_openssl.cc | #include "src/crypto/ae.h"
#include "src/include/config.h"
#include <cstring>
#include <openssl/crypto.h>
#include <openssl/evp.h>
struct _ae_ctx
{
EVP_CIPHER_CTX* enc_ctx;
EVP_CIPHER_CTX* dec_ctx;
int tag_len;
};
int ae_clear( ae_ctx* ctx )
{
EVP_CIPHER_CTX_free( ctx->enc_ctx );
EVP_CIPHER_CTX_free( ctx->... | 6,974 | C++ | .cc | 203 | 27.881773 | 109 | 0.581103 | mobile-shell/mosh | 12,564 | 730 | 193 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
10,548 | ntester.cc | mobile-shell_mosh/src/examples/ntester.cc | /*
Mosh: the mobile shell
Copyright 2012 Keith Winstein
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) any later version.... | 5,125 | C++ | .cc | 140 | 30.135714 | 115 | 0.599596 | mobile-shell/mosh | 12,564 | 730 | 193 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | true | false |
10,549 | encrypt.cc | mobile-shell_mosh/src/examples/encrypt.cc | /*
Mosh: the mobile shell
Copyright 2012 Keith Winstein
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) any later version.... | 2,206 | C++ | .cc | 54 | 36.518519 | 78 | 0.709738 | mobile-shell/mosh | 12,564 | 730 | 193 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | true | false |
10,550 | termemu.cc | mobile-shell_mosh/src/examples/termemu.cc | /*
Mosh: the mobile shell
Copyright 2012 Keith Winstein
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) any later version.... | 8,921 | C++ | .cc | 263 | 29.102662 | 116 | 0.631646 | mobile-shell/mosh | 12,564 | 730 | 193 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | true | false |
10,551 | parse.cc | mobile-shell_mosh/src/examples/parse.cc | /*
Mosh: the mobile shell
Copyright 2012 Keith Winstein
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) any later version.... | 5,661 | C++ | .cc | 179 | 27.402235 | 116 | 0.637383 | mobile-shell/mosh | 12,564 | 730 | 193 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | true | false |
10,552 | decrypt.cc | mobile-shell_mosh/src/examples/decrypt.cc | /*
Mosh: the mobile shell
Copyright 2012 Keith Winstein
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) any later version.... | 2,158 | C++ | .cc | 53 | 36.415094 | 73 | 0.712919 | mobile-shell/mosh | 12,564 | 730 | 193 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | true | false |
10,553 | benchmark.cc | mobile-shell_mosh/src/examples/benchmark.cc | /*
Mosh: the mobile shell
Copyright 2012 Keith Winstein
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) any later version.... | 3,949 | C++ | .cc | 106 | 32.764151 | 103 | 0.679048 | mobile-shell/mosh | 12,564 | 730 | 193 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | true | false |
10,554 | is-utf8-locale.cc | mobile-shell_mosh/src/tests/is-utf8-locale.cc | /*
Mosh: the mobile shell
Copyright 2012 Keith Winstein
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) any later version.... | 1,748 | C++ | .cc | 37 | 43 | 89 | 0.736935 | mobile-shell/mosh | 12,564 | 730 | 193 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | true | false |
10,555 | base64.cc | mobile-shell_mosh/src/tests/base64.cc | /*
Mosh: the mobile shell
Copyright 2012 Keith Winstein
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) any later version.... | 4,700 | C++ | .cc | 127 | 33.133858 | 108 | 0.677426 | mobile-shell/mosh | 12,564 | 730 | 193 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | true | false |
10,556 | ocb-aes.cc | mobile-shell_mosh/src/tests/ocb-aes.cc | /*
Mosh: the mobile shell
Copyright 2012 Keith Winstein
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) any later version.... | 28,226 | C++ | .cc | 504 | 44.539683 | 116 | 0.583014 | mobile-shell/mosh | 12,564 | 730 | 193 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | true | false |
10,557 | test_utils.cc | mobile-shell_mosh/src/tests/test_utils.cc | /*
Mosh: the mobile shell
Copyright 2012 Keith Winstein
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) any later version.... | 2,202 | C++ | .cc | 48 | 42.041667 | 80 | 0.727612 | mobile-shell/mosh | 12,564 | 730 | 193 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | true | false |
10,558 | nonce-incr.cc | mobile-shell_mosh/src/tests/nonce-incr.cc | /*
Mosh: the mobile shell
Copyright 2012 Keith Winstein
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) any later version.... | 2,498 | C++ | .cc | 58 | 38.741379 | 73 | 0.707629 | mobile-shell/mosh | 12,564 | 730 | 193 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | true | false |
10,559 | encrypt-decrypt.cc | mobile-shell_mosh/src/tests/encrypt-decrypt.cc | /*
Mosh: the mobile shell
Copyright 2012 Keith Winstein
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) any later version.... | 4,329 | C++ | .cc | 121 | 31.743802 | 87 | 0.683517 | mobile-shell/mosh | 12,564 | 730 | 193 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | true | false |
10,560 | inpty.cc | mobile-shell_mosh/src/tests/inpty.cc | /*
Mosh: the mobile shell
Copyright 2012 Keith Winstein
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) any later version.... | 3,648 | C++ | .cc | 110 | 29.109091 | 83 | 0.661932 | mobile-shell/mosh | 12,564 | 730 | 193 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | true | false |
10,561 | user.cc | mobile-shell_mosh/src/statesync/user.cc | /*
Mosh: the mobile shell
Copyright 2012 Keith Winstein
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) any later version.... | 4,772 | C++ | .cc | 115 | 36 | 112 | 0.669325 | mobile-shell/mosh | 12,564 | 730 | 193 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | true | false |
10,562 | completeterminal.cc | mobile-shell_mosh/src/statesync/completeterminal.cc | /*
Mosh: the mobile shell
Copyright 2012 Keith Winstein
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) any later version.... | 7,137 | C++ | .cc | 179 | 35.569832 | 110 | 0.658963 | mobile-shell/mosh | 12,564 | 730 | 193 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | true | false |
10,563 | compressor.cc | mobile-shell_mosh/src/network/compressor.cc | /*
Mosh: the mobile shell
Copyright 2012 Keith Winstein
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) any later version.... | 2,329 | C++ | .cc | 50 | 42.56 | 116 | 0.736772 | mobile-shell/mosh | 12,564 | 730 | 193 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | true | false |
10,564 | network.cc | mobile-shell_mosh/src/network/network.cc | /*
Mosh: the mobile shell
Copyright 2012 Keith Winstein
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) any later version.... | 20,258 | C++ | .cc | 560 | 31.5625 | 116 | 0.630278 | mobile-shell/mosh | 12,564 | 730 | 193 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | true | false |
10,565 | transportfragment.cc | mobile-shell_mosh/src/network/transportfragment.cc | /*
Mosh: the mobile shell
Copyright 2012 Keith Winstein
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) any later version.... | 6,298 | C++ | .cc | 157 | 36.191083 | 114 | 0.674914 | mobile-shell/mosh | 12,564 | 730 | 193 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | true | false |
10,566 | stmclient.cc | mobile-shell_mosh/src/frontend/stmclient.cc | /*
Mosh: the mobile shell
Copyright 2012 Keith Winstein
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) any later version.... | 19,248 | C++ | .cc | 487 | 33.657084 | 116 | 0.62277 | mobile-shell/mosh | 12,564 | 730 | 193 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | true | false |
10,567 | mosh-server.cc | mobile-shell_mosh/src/frontend/mosh-server.cc | /*
Mosh: the mobile shell
Copyright 2012 Keith Winstein
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) any later version.... | 33,251 | C++ | .cc | 934 | 29.138116 | 116 | 0.586125 | mobile-shell/mosh | 12,564 | 730 | 193 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | true | false |
10,568 | terminaloverlay.cc | mobile-shell_mosh/src/frontend/terminaloverlay.cc | /*
Mosh: the mobile shell
Copyright 2012 Keith Winstein
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) any later version.... | 28,310 | C++ | .cc | 754 | 30.253316 | 115 | 0.574623 | mobile-shell/mosh | 12,564 | 730 | 193 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | true | false |
10,569 | mosh-client.cc | mobile-shell_mosh/src/frontend/mosh-client.cc | /*
Mosh: the mobile shell
Copyright 2012 Keith Winstein
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) any later version.... | 6,164 | C++ | .cc | 187 | 28.828877 | 96 | 0.653315 | mobile-shell/mosh | 12,564 | 730 | 193 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | true | false |
10,570 | terminaldisplay.cc | mobile-shell_mosh/src/terminal/terminaldisplay.cc | /*
Mosh: the mobile shell
Copyright 2012 Keith Winstein
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) any later version.... | 17,603 | C++ | .cc | 452 | 33.141593 | 111 | 0.599696 | mobile-shell/mosh | 12,564 | 730 | 193 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | true | false |
10,571 | terminaluserinput.cc | mobile-shell_mosh/src/terminal/terminaluserinput.cc | /*
Mosh: the mobile shell
Copyright 2012 Keith Winstein
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) any later version.... | 2,885 | C++ | .cc | 66 | 38.212121 | 94 | 0.676177 | mobile-shell/mosh | 12,564 | 730 | 193 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
10,572 | terminaldispatcher.cc | mobile-shell_mosh/src/terminal/terminaldispatcher.cc | /*
Mosh: the mobile shell
Copyright 2012 Keith Winstein
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) any later version.... | 6,981 | C++ | .cc | 217 | 28.230415 | 103 | 0.652685 | mobile-shell/mosh | 12,564 | 730 | 193 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | true | false |
10,573 | terminal.cc | mobile-shell_mosh/src/terminal/terminal.cc | /*
Mosh: the mobile shell
Copyright 2012 Keith Winstein
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) any later version.... | 5,830 | C++ | .cc | 148 | 34.027027 | 105 | 0.639483 | mobile-shell/mosh | 12,564 | 730 | 193 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | true | false |
10,574 | parseraction.cc | mobile-shell_mosh/src/terminal/parseraction.cc | /*
Mosh: the mobile shell
Copyright 2012 Keith Winstein
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) any later version.... | 2,868 | C++ | .cc | 79 | 33.531646 | 108 | 0.744673 | mobile-shell/mosh | 12,564 | 730 | 193 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | true | false |
10,575 | parserstate.cc | mobile-shell_mosh/src/terminal/parserstate.cc | /*
Mosh: the mobile shell
Copyright 2012 Keith Winstein
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) any later version.... | 10,213 | C++ | .cc | 301 | 30.604651 | 101 | 0.606551 | mobile-shell/mosh | 12,564 | 730 | 193 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | true | false |
10,576 | parser.cc | mobile-shell_mosh/src/terminal/parser.cc | /*
Mosh: the mobile shell
Copyright 2012 Keith Winstein
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) any later version.... | 4,864 | C++ | .cc | 131 | 32.419847 | 86 | 0.653977 | mobile-shell/mosh | 12,564 | 730 | 193 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | true | false |
10,577 | terminalframebuffer.cc | mobile-shell_mosh/src/terminal/terminalframebuffer.cc | /*
Mosh: the mobile shell
Copyright 2012 Keith Winstein
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) any later version.... | 19,076 | C++ | .cc | 591 | 28.428088 | 111 | 0.633843 | mobile-shell/mosh | 12,564 | 730 | 193 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | true | false |
10,578 | terminaldisplayinit.cc | mobile-shell_mosh/src/terminal/terminaldisplayinit.cc | /*
Mosh: the mobile shell
Copyright 2012 Keith Winstein
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) any later version.... | 4,342 | C++ | .cc | 116 | 32.844828 | 104 | 0.673877 | mobile-shell/mosh | 12,564 | 730 | 193 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | true | false |
10,579 | terminalfunctions.cc | mobile-shell_mosh/src/terminal/terminalfunctions.cc | /*
Mosh: the mobile shell
Copyright 2012 Keith Winstein
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) any later version.... | 19,686 | C++ | .cc | 544 | 32.474265 | 115 | 0.627278 | mobile-shell/mosh | 12,564 | 730 | 193 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | true | false |
10,581 | fatal_assert.h | mobile-shell_mosh/src/util/fatal_assert.h | /*
Mosh: the mobile shell
Copyright 2012 Keith Winstein
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) any later version.... | 1,968 | C++ | .h | 42 | 41.928571 | 104 | 0.72547 | mobile-shell/mosh | 12,564 | 730 | 193 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
10,582 | dos_assert.h | mobile-shell_mosh/src/util/dos_assert.h | /*
Mosh: the mobile shell
Copyright 2012 Keith Winstein
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) any later version.... | 2,105 | C++ | .h | 45 | 41.666667 | 113 | 0.722304 | mobile-shell/mosh | 12,564 | 730 | 193 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
10,583 | pty_compat.h | mobile-shell_mosh/src/util/pty_compat.h | /*
Mosh: the mobile shell
Copyright 2012 Keith Winstein
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) any later version.... | 1,827 | C++ | .h | 38 | 44.263158 | 102 | 0.767154 | mobile-shell/mosh | 12,564 | 730 | 193 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
10,585 | locale_utils.h | mobile-shell_mosh/src/util/locale_utils.h | /*
Mosh: the mobile shell
Copyright 2012 Keith Winstein
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) any later version.... | 1,912 | C++ | .h | 42 | 41.857143 | 92 | 0.753226 | mobile-shell/mosh | 12,564 | 730 | 193 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
10,586 | timestamp.h | mobile-shell_mosh/src/util/timestamp.h | /*
Mosh: the mobile shell
Copyright 2012 Keith Winstein
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) any later version.... | 1,609 | C++ | .h | 32 | 46 | 73 | 0.763393 | mobile-shell/mosh | 12,564 | 730 | 193 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
10,587 | crypto.h | mobile-shell_mosh/src/crypto/crypto.h | /*
Mosh: the mobile shell
Copyright 2012 Keith Winstein
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) any later version.... | 4,388 | C++ | .h | 129 | 31.170543 | 116 | 0.726627 | mobile-shell/mosh | 12,564 | 730 | 193 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
10,588 | byteorder.h | mobile-shell_mosh/src/crypto/byteorder.h | /*
Mosh: the mobile shell
Copyright 2012 Keith Winstein
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) any later version.... | 3,785 | C++ | .h | 104 | 32.086538 | 104 | 0.65865 | mobile-shell/mosh | 12,564 | 730 | 193 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
10,589 | prng.h | mobile-shell_mosh/src/crypto/prng.h | /*
Mosh: the mobile shell
Copyright 2012 Keith Winstein
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) any later version.... | 2,480 | C++ | .h | 75 | 29.106667 | 76 | 0.704279 | mobile-shell/mosh | 12,564 | 730 | 193 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
10,590 | base64.h | mobile-shell_mosh/src/crypto/base64.h | /*
Mosh: the mobile shell
Copyright 2012 Keith Winstein
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) any later version.... | 1,680 | C++ | .h | 29 | 53.344828 | 96 | 0.754717 | mobile-shell/mosh | 12,564 | 730 | 193 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
10,592 | base64_vector.h | mobile-shell_mosh/src/tests/base64_vector.h | struct base64_test_row
{
const unsigned char native[17];
const char encoded[25];
};
typedef base64_test_row* base64_test_vector;
extern base64_test_row static_base64_vector[];
| 180 | C++ | .h | 7 | 24.142857 | 46 | 0.780347 | mobile-shell/mosh | 12,564 | 730 | 193 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
10,593 | test_utils.h | mobile-shell_mosh/src/tests/test_utils.h | /*
Mosh: the mobile shell
Copyright 2012 Keith Winstein
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) any later version.... | 1,797 | C++ | .h | 35 | 47.285714 | 73 | 0.757282 | mobile-shell/mosh | 12,564 | 730 | 193 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
10,594 | completeterminal.h | mobile-shell_mosh/src/statesync/completeterminal.h | /*
Mosh: the mobile shell
Copyright 2012 Keith Winstein
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) any later version.... | 3,207 | C++ | .h | 70 | 42.314286 | 102 | 0.739577 | mobile-shell/mosh | 12,564 | 730 | 193 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
10,595 | user.h | mobile-shell_mosh/src/statesync/user.h | /*
Mosh: the mobile shell
Copyright 2012 Keith Winstein
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) any later version.... | 3,102 | C++ | .h | 77 | 37.051948 | 114 | 0.72812 | mobile-shell/mosh | 12,564 | 730 | 193 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
10,596 | networktransport.h | mobile-shell_mosh/src/network/networktransport.h | /*
Mosh: the mobile shell
Copyright 2012 Keith Winstein
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) any later version.... | 5,123 | C++ | .h | 103 | 45.592233 | 111 | 0.725997 | mobile-shell/mosh | 12,564 | 730 | 193 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
10,597 | networktransport-impl.h | mobile-shell_mosh/src/network/networktransport-impl.h | /*
Mosh: the mobile shell
Copyright 2012 Keith Winstein
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) any later version.... | 7,934 | C++ | .h | 179 | 36.865922 | 116 | 0.64158 | mobile-shell/mosh | 12,564 | 730 | 193 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | true | false |
10,598 | compressor.h | mobile-shell_mosh/src/network/compressor.h | /*
Mosh: the mobile shell
Copyright 2012 Keith Winstein
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) any later version.... | 2,022 | C++ | .h | 47 | 39.297872 | 84 | 0.751657 | mobile-shell/mosh | 12,564 | 730 | 193 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
10,599 | transportsender.h | mobile-shell_mosh/src/network/transportsender.h | /*
Mosh: the mobile shell
Copyright 2012 Keith Winstein
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) any later version.... | 5,906 | C++ | .h | 136 | 40.036765 | 116 | 0.724306 | mobile-shell/mosh | 12,564 | 730 | 193 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
10,600 | transportsender-impl.h | mobile-shell_mosh/src/network/transportsender-impl.h | /*
Mosh: the mobile shell
Copyright 2012 Keith Winstein
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) any later version.... | 13,028 | C++ | .h | 344 | 34.055233 | 116 | 0.671874 | mobile-shell/mosh | 12,564 | 730 | 193 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
10,601 | transportfragment.h | mobile-shell_mosh/src/network/transportfragment.h | /*
Mosh: the mobile shell
Copyright 2012 Keith Winstein
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) any later version.... | 3,120 | C++ | .h | 79 | 36.164557 | 111 | 0.737488 | mobile-shell/mosh | 12,564 | 730 | 193 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
10,602 | network.h | mobile-shell_mosh/src/network/network.h | /*
Mosh: the mobile shell
Copyright 2012 Keith Winstein
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) any later version.... | 7,028 | C++ | .h | 189 | 33.328042 | 113 | 0.701165 | mobile-shell/mosh | 12,564 | 730 | 193 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
10,603 | transportstate.h | mobile-shell_mosh/src/network/transportstate.h | /*
Mosh: the mobile shell
Copyright 2012 Keith Winstein
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) any later version.... | 1,818 | C++ | .h | 42 | 39.452381 | 80 | 0.757216 | mobile-shell/mosh | 12,564 | 730 | 193 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
10,604 | stmclient.h | mobile-shell_mosh/src/frontend/stmclient.h | /*
Mosh: the mobile shell
Copyright 2012 Keith Winstein
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) any later version.... | 4,771 | C++ | .h | 110 | 38.663636 | 113 | 0.701164 | mobile-shell/mosh | 12,564 | 730 | 193 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
10,605 | terminaloverlay.h | mobile-shell_mosh/src/frontend/terminaloverlay.h | /*
Mosh: the mobile shell
Copyright 2012 Keith Winstein
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) any later version.... | 10,705 | C++ | .h | 272 | 35.540441 | 110 | 0.707444 | mobile-shell/mosh | 12,564 | 730 | 193 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
10,606 | terminaluserinput.h | mobile-shell_mosh/src/terminal/terminaluserinput.h | /*
Mosh: the mobile shell
Copyright 2012 Keith Winstein
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) any later version.... | 1,951 | C++ | .h | 49 | 36.061224 | 86 | 0.755426 | mobile-shell/mosh | 12,564 | 730 | 193 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
10,607 | parser.h | mobile-shell_mosh/src/terminal/parser.h | /*
Mosh: the mobile shell
Copyright 2012 Keith Winstein
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) any later version.... | 2,403 | C++ | .h | 69 | 31.463768 | 73 | 0.739619 | mobile-shell/mosh | 12,564 | 730 | 193 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
10,608 | parserstatefamily.h | mobile-shell_mosh/src/terminal/parserstatefamily.h | /*
Mosh: the mobile shell
Copyright 2012 Keith Winstein
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) any later version.... | 2,853 | C++ | .h | 70 | 36.671429 | 110 | 0.732756 | mobile-shell/mosh | 12,564 | 730 | 193 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
10,609 | terminal.h | mobile-shell_mosh/src/terminal/terminal.h | /*
Mosh: the mobile shell
Copyright 2012 Keith Winstein
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) any later version.... | 3,219 | C++ | .h | 71 | 42.014085 | 73 | 0.749601 | mobile-shell/mosh | 12,564 | 730 | 193 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
10,610 | terminalframebuffer.h | mobile-shell_mosh/src/terminal/terminalframebuffer.h | /*
Mosh: the mobile shell
Copyright 2012 Keith Winstein
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) any later version.... | 14,783 | C++ | .h | 395 | 33.617722 | 116 | 0.669628 | mobile-shell/mosh | 12,564 | 730 | 193 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
10,611 | parsertransition.h | mobile-shell_mosh/src/terminal/parsertransition.h | /*
Mosh: the mobile shell
Copyright 2012 Keith Winstein
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) any later version.... | 2,474 | C++ | .h | 58 | 38.896552 | 95 | 0.740216 | mobile-shell/mosh | 12,564 | 730 | 193 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
10,612 | parseraction.h | mobile-shell_mosh/src/terminal/parseraction.h | /*
Mosh: the mobile shell
Copyright 2012 Keith Winstein
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) any later version.... | 5,007 | C++ | .h | 151 | 30.781457 | 113 | 0.709437 | mobile-shell/mosh | 12,564 | 730 | 193 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
10,613 | terminaldispatcher.h | mobile-shell_mosh/src/terminal/terminaldispatcher.h | /*
Mosh: the mobile shell
Copyright 2012 Keith Winstein
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) any later version.... | 3,632 | C++ | .h | 103 | 32.058252 | 82 | 0.737579 | mobile-shell/mosh | 12,564 | 730 | 193 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
10,614 | terminaldisplay.h | mobile-shell_mosh/src/terminal/terminaldisplay.h | /*
Mosh: the mobile shell
Copyright 2012 Keith Winstein
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) any later version.... | 3,181 | C++ | .h | 72 | 39.5 | 97 | 0.71461 | mobile-shell/mosh | 12,564 | 730 | 193 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
10,615 | parserstate.h | mobile-shell_mosh/src/terminal/parserstate.h | /*
Mosh: the mobile shell
Copyright 2012 Keith Winstein
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) any later version.... | 3,683 | C++ | .h | 113 | 30 | 82 | 0.747042 | mobile-shell/mosh | 12,564 | 730 | 193 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
10,616 | ProfileFilter.cpp | MatsuriDayo_nekoray/db/ProfileFilter.cpp | #include "ProfileFilter.hpp"
namespace NekoGui {
QString ProfileFilter_ent_key(const std::shared_ptr<NekoGui::ProxyEntity> &ent, bool by_address) {
by_address &= ent->type != "custom";
return by_address ? (ent->bean->DisplayAddress() + ent->bean->DisplayType())
: QJsonObj... | 2,974 | C++ | .cpp | 65 | 30.8 | 120 | 0.506207 | MatsuriDayo/nekoray | 12,410 | 1,179 | 73 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
10,617 | Database.cpp | MatsuriDayo_nekoray/db/Database.cpp | #include "Database.hpp"
#include "fmt/includes.h"
#include <QFile>
#include <QDir>
#include <QColor>
namespace NekoGui {
ProfileManager *profileManager = new ProfileManager();
ProfileManager::ProfileManager() : JsonStore("groups/pm.json") {
_add(new configItem("groups", &groupsTabOrder, itemType::i... | 13,515 | C++ | .cpp | 350 | 27.6 | 112 | 0.537082 | MatsuriDayo/nekoray | 12,410 | 1,179 | 73 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
10,618 | ConfigBuilder.cpp | MatsuriDayo_nekoray/db/ConfigBuilder.cpp | #include "db/ConfigBuilder.hpp"
#include "db/Database.hpp"
#include "fmt/includes.h"
#include "fmt/Preset.hpp"
#include <QApplication>
#include <QFile>
#include <QFileInfo>
#define BOX_UNDERLYING_DNS dataStore->core_box_underlying_dns.isEmpty() ? "local" : dataStore->core_box_underlying_dns
namespace NekoGui {
... | 32,376 | C++ | .cpp | 712 | 31.860955 | 150 | 0.503057 | MatsuriDayo/nekoray | 12,410 | 1,179 | 73 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
10,619 | TrafficLooper.cpp | MatsuriDayo_nekoray/db/traffic/TrafficLooper.cpp | #include "TrafficLooper.hpp"
#include "rpc/gRPC.h"
#include "ui/mainwindow_interface.h"
#include <QThread>
#include <QJsonObject>
#include <QJsonArray>
#include <QJsonDocument>
#include <QElapsedTimer>
namespace NekoGui_traffic {
TrafficLooper *trafficLooper = new TrafficLooper;
QElapsedTimer elapsedTimer;
... | 4,244 | C++ | .cpp | 117 | 24.863248 | 127 | 0.526561 | MatsuriDayo/nekoray | 12,410 | 1,179 | 73 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
10,621 | WinCommander.cpp | MatsuriDayo_nekoray/3rdparty/WinCommander.cpp | /****************************************************************************
**
** Copyright (C) 2014 UpdateNode UG (haftungsbeschr√§nkt)
** Contact: code@updatenode.com
**
** This file is part of the UpdateNode Client.
**
** Commercial License Usage
** Licensees holding valid commercial UpdateNode license may use thi... | 3,112 | C++ | .cpp | 93 | 28.741935 | 87 | 0.643831 | MatsuriDayo/nekoray | 12,410 | 1,179 | 73 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
10,622 | base64.cpp | MatsuriDayo_nekoray/3rdparty/base64.cpp | #include "base64.h"
#ifndef qsizetype
#define qsizetype size_t
#endif
namespace Qt515Base64 {
namespace {
struct fromBase64_helper_result {
qsizetype decodedLength;
Base64DecodingStatus status;
};
fromBase64_helper_result fromBase64_helper(const char *input, qsizet... | 3,811 | C++ | .cpp | 83 | 25.903614 | 101 | 0.390696 | MatsuriDayo/nekoray | 12,410 | 1,179 | 73 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
10,623 | QtExtKeySequenceEdit.cpp | MatsuriDayo_nekoray/3rdparty/QtExtKeySequenceEdit.cpp | #include "QtExtKeySequenceEdit.h"
QtExtKeySequenceEdit::QtExtKeySequenceEdit(QWidget *parent)
: QKeySequenceEdit(parent) {
}
QtExtKeySequenceEdit::~QtExtKeySequenceEdit() {
}
void QtExtKeySequenceEdit::keyPressEvent(QKeyEvent *pEvent) {
QKeySequenceEdit::keyPressEvent(pEvent);
QKeySequence keySeq = ... | 524 | C++ | .cpp | 18 | 24.777778 | 61 | 0.689243 | MatsuriDayo/nekoray | 12,410 | 1,179 | 73 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
10,624 | QvProxyConfigurator.cpp | MatsuriDayo_nekoray/3rdparty/qv2ray/v2/components/proxy/QvProxyConfigurator.cpp | #include "QvProxyConfigurator.hpp"
#ifdef Q_OS_WIN
//
#ifndef WIN32_LEAN_AND_MEAN
#define WIN32_LEAN_AND_MEAN
#endif
#include <windows.h>
//
#include <wininet.h>
#include <ras.h>
#include <raserror.h>
#include <vector>
#endif
#include <QStandardPaths>
#include <QProcess>
#include "3rdparty/fix_old_qt.h"
#include "3r... | 16,973 | C++ | .cpp | 381 | 32.173228 | 145 | 0.539648 | MatsuriDayo/nekoray | 12,410 | 1,179 | 73 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
10,625 | QvAutoCompleteTextEdit.cpp | MatsuriDayo_nekoray/3rdparty/qv2ray/v2/ui/QvAutoCompleteTextEdit.cpp | /****************************************************************************
**
** Copyright (C) 2016 The Qt Company Ltd.
** Contact: https://www.qt.io/licensing/
**
** This file is part of the examples of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:BSD$
** Commercial License Usage
** Licensees holding valid commercial Qt... | 6,601 | C++ | .cpp | 141 | 40.560284 | 151 | 0.658752 | MatsuriDayo/nekoray | 12,410 | 1,179 | 73 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
10,626 | w_JsonEditor.cpp | MatsuriDayo_nekoray/3rdparty/qv2ray/v2/ui/widgets/editors/w_JsonEditor.cpp | #include "w_JsonEditor.hpp"
#include "main/NekoGui.hpp"
JsonEditor::JsonEditor(const QJsonObject& rootObject, QWidget* parent) : QDialog(parent) {
setupUi(this);
// QvMessageBusConnect(JsonEditor);
//
original = rootObject;
final = rootObject;
QString jsonString = JsonToString(rootObject);
... | 3,101 | C++ | .cpp | 83 | 31.289157 | 98 | 0.633822 | MatsuriDayo/nekoray | 12,410 | 1,179 | 73 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | true | false |
10,627 | GeositeReader.cpp | MatsuriDayo_nekoray/3rdparty/qv2ray/v3/components/GeositeReader/GeositeReader.cpp | #include "GeositeReader.hpp"
#include "3rdparty/qv2ray/wrapper.hpp"
#include "picoproto.hpp"
#include <QFile>
#include <QMap>
namespace Qv2ray::components::GeositeReader {
QMap<QString, QStringList> GeositeEntries;
QStringList ReadGeoSiteFromFile(const QString &filepath, bool allowCache) {
if (Geosi... | 1,323 | C++ | .cpp | 33 | 31.787879 | 82 | 0.627635 | MatsuriDayo/nekoray | 12,410 | 1,179 | 73 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
10,629 | GroupUpdater.cpp | MatsuriDayo_nekoray/sub/GroupUpdater.cpp | #include "db/ProfileFilter.hpp"
#include "fmt/includes.h"
#include "fmt/Preset.hpp"
#include "main/HTTPRequestHelper.hpp"
#include "GroupUpdater.hpp"
#include <QInputDialog>
#include <QUrlQuery>
#ifndef NKR_NO_YAML
#include <yaml-cpp/yaml.h>
#endif
namespace NekoGui_sub {
GroupUpdater *groupUpdater = new Gro... | 28,287 | C++ | .cpp | 576 | 33.012153 | 141 | 0.489869 | MatsuriDayo/nekoray | 12,410 | 1,179 | 73 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
10,630 | Icon.cpp | MatsuriDayo_nekoray/ui/Icon.cpp | #include "Icon.hpp"
#include "main/NekoGui.hpp"
#include <QPainter>
QPixmap Icon::GetTrayIcon(Icon::TrayIconStatus status) {
QPixmap pixmap;
// software embedded icon
auto pixmap_read = QPixmap(":/neko/" + software_name.toLower() + ".png");
if (!pixmap_read.isNull()) pixmap = pixmap_read;
// so... | 1,404 | C++ | .cpp | 41 | 28.317073 | 77 | 0.607698 | MatsuriDayo/nekoray | 12,410 | 1,179 | 73 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
10,631 | dialog_vpn_settings.cpp | MatsuriDayo_nekoray/ui/dialog_vpn_settings.cpp | #include "dialog_vpn_settings.h"
#include "ui_dialog_vpn_settings.h"
#include "main/GuiUtils.hpp"
#include "main/NekoGui.hpp"
#include "ui/mainwindow_interface.h"
#include <QMessageBox>
DialogVPNSettings::DialogVPNSettings(QWidget *parent) : QDialog(parent), ui(new Ui::DialogVPNSettings) {
ui->setupUi(this);
... | 3,265 | C++ | .cpp | 74 | 36.756757 | 127 | 0.640704 | MatsuriDayo/nekoray | 12,410 | 1,179 | 73 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
10,632 | dialog_manage_groups.cpp | MatsuriDayo_nekoray/ui/dialog_manage_groups.cpp | #include "dialog_manage_groups.h"
#include "ui_dialog_manage_groups.h"
#include "db/Database.hpp"
#include "sub/GroupUpdater.hpp"
#include "main/GuiUtils.hpp"
#include "ui/widget/GroupItem.h"
#include "ui/edit/dialog_edit_group.h"
#include <QInputDialog>
#include <QListWidgetItem>
#include <QMessageBox>
#define AddG... | 1,919 | C++ | .cpp | 48 | 35.354167 | 127 | 0.636217 | MatsuriDayo/nekoray | 12,410 | 1,179 | 73 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
10,633 | dialog_manage_routes.cpp | MatsuriDayo_nekoray/ui/dialog_manage_routes.cpp | #include "dialog_manage_routes.h"
#include "ui_dialog_manage_routes.h"
#include "3rdparty/qv2ray/v2/ui/widgets/editors/w_JsonEditor.hpp"
#include "3rdparty/qv2ray/v3/components/GeositeReader/GeositeReader.hpp"
#include "main/GuiUtils.hpp"
#include "fmt/Preset.hpp"
#include <QFile>
#include <QMessageBox>
#include <QLi... | 10,752 | C++ | .cpp | 236 | 39.34322 | 321 | 0.674983 | MatsuriDayo/nekoray | 12,410 | 1,179 | 73 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
10,634 | ThemeManager.cpp | MatsuriDayo_nekoray/ui/ThemeManager.cpp | #include <QStyle>
#include <QApplication>
#include <QStyleFactory>
#include "ThemeManager.hpp"
ThemeManager *themeManager = new ThemeManager;
extern QString ReadFileText(const QString &path);
void ThemeManager::ApplyTheme(const QString &theme) {
auto internal = [=] {
if (this->system_style_name.isEmpty(... | 2,907 | C++ | .cpp | 75 | 24.333333 | 79 | 0.470046 | MatsuriDayo/nekoray | 12,410 | 1,179 | 73 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
10,635 | dialog_basic_settings.cpp | MatsuriDayo_nekoray/ui/dialog_basic_settings.cpp | #include "dialog_basic_settings.h"
#include "ui_dialog_basic_settings.h"
#include "3rdparty/qv2ray/v2/ui/widgets/editors/w_JsonEditor.hpp"
#include "fmt/Preset.hpp"
#include "ui/ThemeManager.hpp"
#include "ui/Icon.hpp"
#include "main/GuiUtils.hpp"
#include "main/NekoGui.hpp"
#include <QStyleFactory>
#include <QFileDi... | 15,517 | C++ | .cpp | 373 | 34.273458 | 136 | 0.634632 | MatsuriDayo/nekoray | 12,410 | 1,179 | 73 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
10,636 | mainwindow.cpp | MatsuriDayo_nekoray/ui/mainwindow.cpp | #include "./ui_mainwindow.h"
#include "mainwindow.h"
#include "fmt/Preset.hpp"
#include "db/ProfileFilter.hpp"
#include "db/ConfigBuilder.hpp"
#include "sub/GroupUpdater.hpp"
#include "sys/ExternalProcess.hpp"
#include "sys/AutoRun.hpp"
#include "ui/ThemeManager.hpp"
#include "ui/Icon.hpp"
#include "ui/edit/dialog_ed... | 70,639 | C++ | .cpp | 1,659 | 33.432188 | 187 | 0.588226 | MatsuriDayo/nekoray | 12,410 | 1,179 | 73 | GPL-3.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.