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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
20,460 | LeftRightNav.h | LMMS_lmms/include/LeftRightNav.h | /*
* LeftRightNav.h - side-by-side left-facing and right-facing arrows for navigation (looks like < > )
*
* Copyright (c) 2015 Colin Wallace <wallacoloo/at/gmail.com>
*
* This file is part of LMMS - https://lmms.io
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of ... | 1,554 | C++ | .h | 46 | 31.913043 | 115 | 0.765333 | LMMS/lmms | 7,989 | 994 | 1,122 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | true | false | false | false | false | false | false |
20,461 | PeakIndicator.h | LMMS_lmms/include/PeakIndicator.h | /*
* PeakIndicator.h - Peak indicator widget
*
* Copyright (c) 2024- Michael Gregorius
*
* This file is part of LMMS - https://lmms.io
*
* 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,387 | C++ | .h | 46 | 28.195652 | 70 | 0.767898 | LMMS/lmms | 7,989 | 994 | 1,122 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
20,462 | VstSyncData.h | LMMS_lmms/include/VstSyncData.h | /*
* VstSyncData.h - type declarations needed for VST to lmms host sync
*
* Copyright (c) 2014 Tobias Doerffel <tobydox/at/users.sourceforge.net>
* Copyright (c) 2013 Mike Choi <rdavidian71/at/gmail/dot/com>
*
* This file is part of LMMS - https://lmms.io
*
* This program is free software; you can redistribute ... | 1,655 | C++ | .h | 52 | 29.923077 | 72 | 0.761157 | LMMS/lmms | 7,989 | 994 | 1,122 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
20,463 | SweepOscillator.h | LMMS_lmms/include/SweepOscillator.h | /*
* SweepOscillator.h - sweeping oscillator
*
* Copyright (c) 2006-2014 Tobias Doerffel <tobydox/at/users.sourceforge.net>
*
* This file is part of LMMS - https://lmms.io
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public
* License as publis... | 1,880 | C++ | .h | 59 | 29.661017 | 114 | 0.722345 | LMMS/lmms | 7,989 | 994 | 1,122 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | true | false | false | false | false | false | false |
20,464 | ClipView.h | LMMS_lmms/include/ClipView.h | /*
* ClipView.h - declaration of ClipView class
*
* Copyright (c) 2004-2014 Tobias Doerffel <tobydox/at/users.sourceforge.net>
*
* This file is part of LMMS - https://lmms.io
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public
* License as pub... | 6,962 | C++ | .h | 206 | 31.592233 | 101 | 0.777479 | LMMS/lmms | 7,989 | 994 | 1,122 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
20,465 | volume.h | LMMS_lmms/include/volume.h | /*
* volume.h - declaration of some constants and types, concerning the volume
* of a note
*
* Copyright (c) 2004-2014 Tobias Doerffel <tobydox/at/users.sourceforge.net>
*
* This file is part of LMMS - https://lmms.io
*
* This program is free software; you can redistribute it and/or
* modify it unde... | 1,273 | C++ | .h | 38 | 31.657895 | 77 | 0.753056 | LMMS/lmms | 7,989 | 994 | 1,122 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
20,466 | FileDialog.h | LMMS_lmms/include/FileDialog.h | /*
* FileDialog.h - declaration of class FileDialog
*
* Copyright (c) 2014 Lukas W <lukaswhl/at/gmail.com>
*
* This file is part of LMMS - https://lmms.io
*
* 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 S... | 1,791 | C++ | .h | 49 | 33.142857 | 78 | 0.72806 | LMMS/lmms | 7,989 | 994 | 1,122 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
20,467 | AudioAlsa.h | LMMS_lmms/include/AudioAlsa.h | /*
* AudioAlsa.h - device-class that implements ALSA-PCM-output
*
* Copyright (c) 2004-2009 Tobias Doerffel <tobydox/at/users.sourceforge.net>
*
* This file is part of LMMS - https://lmms.io
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public
... | 2,661 | C++ | .h | 83 | 29.795181 | 78 | 0.762446 | LMMS/lmms | 7,989 | 994 | 1,122 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
20,468 | Microtuner.h | LMMS_lmms/include/Microtuner.h | /*
* Microtuner.h - manage tuning and scale information of an instrument
*
* Copyright (c) 2020 Martin Pavelek <he29.HS/at/gmail.com>
*
* This file is part of LMMS - https://lmms.io
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public
* License... | 2,392 | C++ | .h | 63 | 36 | 96 | 0.771058 | LMMS/lmms | 7,989 | 994 | 1,122 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
20,469 | Oscilloscope.h | LMMS_lmms/include/Oscilloscope.h | /*
* Oscilloscope.h
*
* Copyright (c) 2005-2008 Tobias Doerffel <tobydox/at/users.sourceforge.net>
*
* This file is part of LMMS - https://lmms.io
*
* 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... | 2,514 | C++ | .h | 72 | 32.847222 | 92 | 0.793046 | LMMS/lmms | 7,989 | 994 | 1,122 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
20,470 | AudioEngineProfiler.h | LMMS_lmms/include/AudioEngineProfiler.h | /*
* AudioEngineProfiler.h - class for profiling performance of AudioEngine
*
* Copyright (c) 2014 Tobias Doerffel <tobydox/at/users.sourceforge.net>
*
* This file is part of LMMS - https://lmms.io
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General P... | 2,836 | C++ | .h | 92 | 28.543478 | 105 | 0.755596 | LMMS/lmms | 7,989 | 994 | 1,122 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
20,471 | PatternTrackView.h | LMMS_lmms/include/PatternTrackView.h | /*
* PatternTrackView.h
*
* Copyright (c) 2004-2014 Tobias Doerffel <tobydox/at/users.sourceforge.net>
*
* This file is part of LMMS - https://lmms.io
*
* 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 Softw... | 1,550 | C++ | .h | 52 | 27.788462 | 77 | 0.772819 | LMMS/lmms | 7,989 | 994 | 1,122 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
20,472 | TimeLineWidget.h | LMMS_lmms/include/TimeLineWidget.h | /*
* TimeLineWidget.h - class timeLine, representing a time-line with position marker
*
* Copyright (c) 2004-2008 Tobias Doerffel <tobydox/at/users.sourceforge.net>
*
* This file is part of LMMS - https://lmms.io
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of th... | 8,150 | C++ | .h | 189 | 40.857143 | 153 | 0.790265 | LMMS/lmms | 7,989 | 994 | 1,122 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
20,473 | AudioFileWave.h | LMMS_lmms/include/AudioFileWave.h | /*
* AudioFileWave.h - AudioDevice which encodes wave-stream and writes it
* into a WAVE-file. This is used for song-export.
*
* Copyright (c) 2004-2009 Tobias Doerffel <tobydox/at/users.sourceforge.net>
*
* This file is part of LMMS - https://lmms.io
*
* This program is free software; you can... | 1,972 | C++ | .h | 59 | 30.813559 | 77 | 0.746842 | LMMS/lmms | 7,989 | 994 | 1,122 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
20,474 | OscillatorConstants.h | LMMS_lmms/include/OscillatorConstants.h | /*
* OscillatorConstants.h - declaration of constants used in Oscillator and SampleBuffer
* for band limited wave tables
*
* Copyright (c) 2018 Dave French <dave/dot/french3/at/googlemail/dot/com>
*
* This file is part of LMMS - https://lmms.io
*
* This program is free software; you can redistribute it and... | 2,570 | C++ | .h | 49 | 50.44898 | 113 | 0.769108 | LMMS/lmms | 7,989 | 994 | 1,122 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
20,475 | ControllerDialog.h | LMMS_lmms/include/ControllerDialog.h | /*
* ControllerDialog.h - per-controller-specific view for changing a
* controller's settings
*
* Copyright (c) 2008-2009 Paul Giblock <drfaygo/at/gmail.com>
*
* This file is part of LMMS - https://lmms.io
*
* This program is free software; you can redistribute it and/or
* modify it under ... | 1,515 | C++ | .h | 47 | 30.212766 | 70 | 0.751895 | LMMS/lmms | 7,989 | 994 | 1,122 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
20,476 | GuiApplication.h | LMMS_lmms/include/GuiApplication.h | /*
* GuiApplication.h
*
* Copyright (c) 2014 Lukas W <lukaswhl/at/gmail.com>
*
* This file is part of LMMS - https://lmms.io
*
* 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
* ... | 2,694 | C++ | .h | 80 | 31.8625 | 77 | 0.795997 | LMMS/lmms | 7,989 | 994 | 1,122 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | true | false | false | false | false | false | false |
20,477 | Oscillator.h | LMMS_lmms/include/Oscillator.h | /*
* Oscillator.h - declaration of class Oscillator
*
* Copyright (c) 2004-2014 Tobias Doerffel <tobydox/at/users.sourceforge.net>
* 2018 Dave French <dave/dot/french3/at/googlemail/dot/com>
*
* This file is part of LMMS - https://lmms.io
*
* This program is free software; you can redistribut... | 10,070 | C++ | .h | 278 | 33.44964 | 150 | 0.734995 | LMMS/lmms | 7,989 | 994 | 1,122 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
20,478 | Flags.h | LMMS_lmms/include/Flags.h | /*
* Flags.h - class to make flags from enums
*
* Copyright (c) 2023 Dominic Clark
*
* This file is part of LMMS - https://lmms.io
*
* 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; eith... | 3,346 | C++ | .h | 66 | 48.636364 | 119 | 0.708244 | LMMS/lmms | 7,989 | 994 | 1,122 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
20,479 | StepRecorder.h | LMMS_lmms/include/StepRecorder.h | /*
* This file is part of LMMS - https://lmms.io
*
* 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 2 of the License, or (at your option) any later version.
*
* This prog... | 3,287 | C++ | .h | 117 | 25.598291 | 160 | 0.761814 | LMMS/lmms | 7,989 | 994 | 1,122 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
20,480 | PianoView.h | LMMS_lmms/include/PianoView.h | /*
* PianoView.h - declaration of PianoView, an interactive piano/keyboard-widget
*
* Copyright (c) 2004-2010 Tobias Doerffel <tobydox/at/users.sourceforge.net>
*
* This file is part of LMMS - https://lmms.io
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GN... | 3,003 | C++ | .h | 81 | 35.061728 | 79 | 0.763467 | LMMS/lmms | 7,989 | 994 | 1,122 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
20,481 | LocklessAllocator.h | LMMS_lmms/include/LocklessAllocator.h | /*
* LocklessAllocator.h - allocator with lockless alloc and free
*
* Copyright (c) 2016 Javier Serrano Polo <javier@jasp.net>
*
* This file is part of LMMS - https://lmms.io
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public
* License as pub... | 1,817 | C++ | .h | 65 | 25.861538 | 70 | 0.748555 | LMMS/lmms | 7,989 | 994 | 1,122 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
20,482 | TempoSyncKnob.h | LMMS_lmms/include/TempoSyncKnob.h | /*
* TempoSyncKnob.h - adds bpm to ms conversion for knob class
*
* Copyright (c) 2005-2008 Danny McRae <khjklujn/at/yahoo.com>
* Copyright (c) 2009-2014 Tobias Doerffel <tobydox/at/users.sourceforge.net>
*
* This file is part of LMMS - https://lmms.io
*
* This program is free software; you can redistribute it ... | 2,102 | C++ | .h | 63 | 31.285714 | 95 | 0.768238 | LMMS/lmms | 7,989 | 994 | 1,122 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
20,483 | MainApplication.h | LMMS_lmms/include/MainApplication.h | /*
* MainApplication.h - Main QApplication handler
*
* Copyright (c) 2017-2017 Tres Finocchiaro <tres.finocchiaro/at/gmail.com>
*
* This file is part of LMMS - https://lmms.io
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public
* License as pu... | 1,747 | C++ | .h | 56 | 29.303571 | 78 | 0.774405 | LMMS/lmms | 7,989 | 994 | 1,122 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
20,484 | AudioDeviceSetupWidget.h | LMMS_lmms/include/AudioDeviceSetupWidget.h | /*
* AudioDeviceSetupWidget.h - Base class for audio device setup widgets
*
* Copyright (c) 2004-2015 Tobias Doerffel <tobydox/at/users.sourceforge.net>
* Copyright (c) 2023- Michael Gregorius
*
* This file is part of LMMS - https://lmms.io
*
* This program is free software; you can redistribute it and/or
* mo... | 1,454 | C++ | .h | 40 | 34.35 | 77 | 0.762989 | LMMS/lmms | 7,989 | 994 | 1,122 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
20,485 | QuadratureLfo.h | LMMS_lmms/include/QuadratureLfo.h | /*
* quadraturelfo.h - defination of QuadratureLfo class.
*
* Copyright (c) 2014 David French <dave/dot/french3/at/googlemail/dot/com>
*
* This file is part of LMMS - https://lmms.io
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public
* Licens... | 2,106 | C++ | .h | 82 | 23.292683 | 83 | 0.71992 | LMMS/lmms | 7,989 | 994 | 1,122 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
20,486 | AudioDummy.h | LMMS_lmms/include/AudioDummy.h | /*
* AudioDummy.h - dummy audio-device
*
* Copyright (c) 2004-2014 Tobias Doerffel <tobydox/at/users.sourceforge.net>
*
* This file is part of LMMS - https://lmms.io
*
* 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... | 2,470 | C++ | .h | 99 | 22.313131 | 148 | 0.717992 | LMMS/lmms | 7,989 | 994 | 1,122 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
20,487 | Piano.h | LMMS_lmms/include/Piano.h | /*
* Piano.h - declaration of class Piano
*
* Copyright (c) 2004-2014 Tobias Doerffel <tobydox/at/users.sourceforge.net>
*
* This file is part of LMMS - https://lmms.io
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public
* License as published... | 2,082 | C++ | .h | 73 | 26.383562 | 77 | 0.763581 | LMMS/lmms | 7,989 | 994 | 1,122 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
20,488 | Lv2ControlBase.h | LMMS_lmms/include/Lv2ControlBase.h | /*
* Lv2ControlBase.h - Lv2 control base class
*
* Copyright (c) 2018-2023 Johannes Lorenz <jlsf2013$users.sourceforge.net, $=@>
*
* This file is part of LMMS - https://lmms.io
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public
* License as p... | 4,977 | C++ | .h | 130 | 36.115385 | 80 | 0.764535 | LMMS/lmms | 7,989 | 994 | 1,122 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
20,489 | RemotePluginBase.h | LMMS_lmms/include/RemotePluginBase.h | /*
* RemotePluginBase.h - base class providing RPC like mechanisms
*
* Copyright (c) 2008-2014 Tobias Doerffel <tobydox/at/users.sourceforge.net>
*
* This file is part of LMMS - https://lmms.io
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Publi... | 12,239 | C++ | .h | 570 | 18.778947 | 80 | 0.674646 | LMMS/lmms | 7,989 | 994 | 1,122 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
20,490 | TrackLabelButton.h | LMMS_lmms/include/TrackLabelButton.h | /*
* TrackLabelButton.h - class trackLabelButton
*
* Copyright (c) 2004-2008 Tobias Doerffel <tobydox/at/users.sourceforge.net>
*
* This file is part of LMMS - https://lmms.io
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public
* License as pu... | 2,012 | C++ | .h | 60 | 31.55 | 77 | 0.770941 | LMMS/lmms | 7,989 | 994 | 1,122 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
20,491 | MicroTimer.h | LMMS_lmms/include/MicroTimer.h | /*
* MicroTimer.h - simple high-precision timer
*
* Copyright (c) 2005-2009 Tobias Doerffel <tobydox/at/users.sourceforge.net>
*
* This file is part of LMMS - https://lmms.io
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public
* License as pub... | 1,268 | C++ | .h | 41 | 29 | 77 | 0.752671 | LMMS/lmms | 7,989 | 994 | 1,122 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
20,492 | MidiPort.h | LMMS_lmms/include/MidiPort.h | /*
* MidiPort.h - abstraction of MIDI ports which are part of LMMS' MIDI
* sequencing system
*
* Copyright (c) 2005-2014 Tobias Doerffel <tobydox/at/users.sourceforge.net>
*
* This file is part of LMMS - https://lmms.io
*
* This program is free software; you can redistribute it and/or
* modify it ... | 5,083 | C++ | .h | 148 | 32.114865 | 97 | 0.792885 | LMMS/lmms | 7,989 | 994 | 1,122 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
20,493 | ColorChooser.h | LMMS_lmms/include/ColorChooser.h | /* ColorChooser.h - declaration and definition of ColorChooser class.
*
* Copyright (c) 2019 CYBERDEViLNL <cyberdevilnl/at/protonmail/dot/ch>
*
* This file is part of LMMS - https://lmms.io
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public
* ... | 2,294 | C++ | .h | 62 | 35.112903 | 88 | 0.768781 | LMMS/lmms | 7,989 | 994 | 1,122 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
20,494 | AudioSdl.h | LMMS_lmms/include/AudioSdl.h | /*
* AudioSdl.h - device-class that performs PCM-output via SDL
*
* Copyright (c) 2004-2009 Tobias Doerffel <tobydox/at/users.sourceforge.net>
*
* This file is part of LMMS - https://lmms.io
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public
... | 2,509 | C++ | .h | 76 | 30.697368 | 77 | 0.76571 | LMMS/lmms | 7,989 | 994 | 1,122 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
20,495 | MixerChannelLcdSpinBox.h | LMMS_lmms/include/MixerChannelLcdSpinBox.h | /*
* MixerChannelLcdSpinBox.h - a specialization of LcdSpnBox for setting mixer channels
*
* Copyright (c) 2004-2014 Tobias Doerffel <tobydox/at/users.sourceforge.net>
*
* This file is part of LMMS - https://lmms.io
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of... | 1,696 | C++ | .h | 47 | 34.085106 | 105 | 0.772477 | LMMS/lmms | 7,989 | 994 | 1,122 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
20,496 | MidiPortMenu.h | LMMS_lmms/include/MidiPortMenu.h | /*
* MidiPortMenu.h - a menu for subscribing a MidiPort to several external
* MIDI ports
*
* Copyright (c) 2008-2009 Tobias Doerffel <tobydox/at/users.sourceforge.net>
*
* This file is part of LMMS - https://lmms.io
*
* This program is free software; you can redistribute it and/or
* modify it ... | 1,534 | C++ | .h | 48 | 30 | 77 | 0.75034 | LMMS/lmms | 7,989 | 994 | 1,122 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
20,497 | EnvelopeAndLfoParameters.h | LMMS_lmms/include/EnvelopeAndLfoParameters.h | /*
* EnvelopeAndLfoParameters.h - class EnvelopeAndLfoParameters
*
* Copyright (c) 2004-2014 Tobias Doerffel <tobydox/at/users.sourceforge.net>
*
* This file is part of LMMS - https://lmms.io
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public
... | 5,332 | C++ | .h | 170 | 29 | 83 | 0.766132 | LMMS/lmms | 7,989 | 994 | 1,122 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
20,498 | LocklessList.h | LMMS_lmms/include/LocklessList.h | /*
* LocklessList.h - list with lockless push and pop
*
* Copyright (c) 2016 Javier Serrano Polo <javier@jasp.net>
*
* This file is part of LMMS - https://lmms.io
*
* 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 th... | 2,051 | C++ | .h | 81 | 22.987654 | 70 | 0.724244 | LMMS/lmms | 7,989 | 994 | 1,122 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
20,499 | RecentProjectsMenu.h | LMMS_lmms/include/RecentProjectsMenu.h | /*
* RecentProjectsMenu.h
*
* Copyright (c) 2004-2022 Tobias Doerffel <tobydox/at/users.sourceforge.net>
*
* This file is part of LMMS - https://lmms.io
*
* 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 Sof... | 1,280 | C++ | .h | 39 | 30.923077 | 77 | 0.762175 | LMMS/lmms | 7,989 | 994 | 1,122 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
20,500 | NoCopyNoMove.h | LMMS_lmms/include/NoCopyNoMove.h | /*
* NoCopyNoMove.h - NoCopyNoMove class
*
* Copyright (c) 2023-2023 Johannes Lorenz <jlsf2013$users.sourceforge.net, $=@>
*
* This file is part of LMMS - https://lmms.io
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public
* License as publish... | 1,405 | C++ | .h | 41 | 32.414634 | 80 | 0.760677 | LMMS/lmms | 7,989 | 994 | 1,122 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
20,501 | MidiAlsaRaw.h | LMMS_lmms/include/MidiAlsaRaw.h | /*
* MidiAlsaRaw.h - MIDI client for RawMIDI via ALSA
*
* Copyright (c) 2005-2014 Tobias Doerffel <tobydox/at/users.sourceforge.net>
*
* This file is part of LMMS - https://lmms.io
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public
* License ... | 1,847 | C++ | .h | 63 | 27.190476 | 77 | 0.751563 | LMMS/lmms | 7,989 | 994 | 1,122 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
20,502 | Clipboard.h | LMMS_lmms/include/Clipboard.h | /*
* Clipboard.h - the clipboard for clips, notes etc.
*
* Copyright (c) 2004-2009 Tobias Doerffel <tobydox/at/users.sourceforge.net>
*
* This file is part of LMMS - https://lmms.io
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public
* License... | 1,900 | C++ | .h | 61 | 28.770492 | 77 | 0.750411 | LMMS/lmms | 7,989 | 994 | 1,122 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
20,503 | CPULoadWidget.h | LMMS_lmms/include/CPULoadWidget.h | /*
* CPULoadWidget.h - widget for displaying CPU-load (partly based on
* Hydrogen's CPU-load-widget)
*
* Copyright (c) 2005-2014 Tobias Doerffel <tobydox/at/users.sourceforge.net>
*
* This file is part of LMMS - https://lmms.io
*
* This program is free software; you can redistribute it and/or... | 1,759 | C++ | .h | 56 | 29.357143 | 77 | 0.748959 | LMMS/lmms | 7,989 | 994 | 1,122 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
20,504 | StepRecorderWidget.h | LMMS_lmms/include/StepRecorderWidget.h | /*
* StepRecorderWidget.h - widget that provide gui markers for step recording
*
* This file is part of LMMS - https://lmms.io
*
* 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
* ... | 2,553 | C++ | .h | 77 | 31.012987 | 99 | 0.777597 | LMMS/lmms | 7,989 | 994 | 1,122 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
20,505 | AutomationTrackView.h | LMMS_lmms/include/AutomationTrackView.h | /*
* AutomationTrackView.h - declaration of class AutomationTrackView
*
* Copyright (c) 2008-2014 Tobias Doerffel <tobydox/at/users.sourceforge.net>
* Copyright (c) 2006-2008 Javier Serrano Polo <jasp00/at/users.sourceforge.net>
*
* This file is part of LMMS - https://lmms.io
*
* This program is free software; ... | 1,558 | C++ | .h | 43 | 34.325581 | 80 | 0.772455 | LMMS/lmms | 7,989 | 994 | 1,122 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
20,506 | DummyPlugin.h | LMMS_lmms/include/DummyPlugin.h | /*
* DummyPlugin.h - empty plugin which is used as fallback if a plugin couldn't
* be found
*
* Copyright (c) 2005-2009 Tobias Doerffel <tobydox/at/users.sourceforge.net>
*
* This file is part of LMMS - https://lmms.io
*
* This program is free software; you can redistribute it and/or
* modify i... | 1,621 | C++ | .h | 56 | 26.875 | 78 | 0.74 | LMMS/lmms | 7,989 | 994 | 1,122 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
20,509 | PluginView.h | LMMS_lmms/include/PluginView.h | /*
* PluginView.h - declaration of class PluginView
*
* Copyright (c) 2008-2009 Tobias Doerffel <tobydox/at/users.sourceforge.net>
*
* This file is part of LMMS - https://lmms.io
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public
* License as... | 1,372 | C++ | .h | 41 | 31.536585 | 77 | 0.752079 | LMMS/lmms | 7,989 | 994 | 1,122 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
20,510 | MidiEventToByteSeq.h | LMMS_lmms/include/MidiEventToByteSeq.h | /*
* MidiEventToByteSeq.h - writeToByteSeq declaration
*
* Copyright (c) 2020-2020 Johannes Lorenz <jlsf2013$users.sourceforge.net, $=@>
*
* This file is part of LMMS - https://lmms.io
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public
* Lice... | 1,631 | C++ | .h | 43 | 35.72093 | 80 | 0.762207 | LMMS/lmms | 7,989 | 994 | 1,122 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
20,511 | Note.h | LMMS_lmms/include/Note.h | /*
* Note.h - declaration of class note which contains all informations about a
* note + definitions of several constants and enums
*
* Copyright (c) 2004-2014 Tobias Doerffel <tobydox/at/users.sourceforge.net>
*
* This file is part of LMMS - https://lmms.io
*
* This program is free software; you can r... | 5,719 | C++ | .h | 229 | 22.742358 | 84 | 0.716915 | LMMS/lmms | 7,989 | 994 | 1,122 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
20,512 | MidiClip.h | LMMS_lmms/include/MidiClip.h | /*
* MidiClip.h - declaration of class MidiClip, which contains all information
* about a clip
*
* Copyright (c) 2004-2014 Tobias Doerffel <tobydox/at/users.sourceforge.net>
*
* This file is part of LMMS - https://lmms.io
*
* This program is free software; you can redistribute it and/or
* modify i... | 3,213 | C++ | .h | 112 | 26.428571 | 77 | 0.756792 | LMMS/lmms | 7,989 | 994 | 1,122 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
20,513 | Lv2UridMap.h | LMMS_lmms/include/Lv2UridMap.h | /*
* Lv2UridMap.cpp - Lv2UridMap class
*
* Copyright (c) 2019 Johannes Lorenz <j.git$$$lorenz-ho.me, $$$=@>
*
* This file is part of LMMS - https://lmms.io
*
* 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 ... | 1,965 | C++ | .h | 60 | 30.8 | 82 | 0.740466 | LMMS/lmms | 7,989 | 994 | 1,122 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
20,514 | AudioOss.h | LMMS_lmms/include/AudioOss.h | /*
* AudioOss.h - device-class that implements OSS-PCM-output
*
* Copyright (c) 2004-2009 Tobias Doerffel <tobydox/at/users.sourceforge.net>
*
* This file is part of LMMS - https://lmms.io
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public
* ... | 1,959 | C++ | .h | 68 | 26.691176 | 82 | 0.760858 | LMMS/lmms | 7,989 | 994 | 1,122 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
20,515 | IoHelper.h | LMMS_lmms/include/IoHelper.h | /*
* IoHelper.h - helper functions for file I/O
*
* Copyright (c) 2018 Hyunjin Song <tteu.ingog/at/gmail.com>
*
* This file is part of LMMS - https://lmms.io
*
* 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 Fre... | 2,039 | C++ | .h | 74 | 25.72973 | 88 | 0.732785 | LMMS/lmms | 7,989 | 994 | 1,122 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
20,516 | ColorHelper.h | LMMS_lmms/include/ColorHelper.h | /* ColorHelper.h - Helper methods for color related algorithms, etc.
*
* Copyright (c) 2024- Michael Gregorius
*
* This file is part of LMMS - https://lmms.io
*
* 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 Fre... | 1,524 | C++ | .h | 45 | 31.733333 | 74 | 0.726531 | LMMS/lmms | 7,989 | 994 | 1,122 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
20,517 | Scale.h | LMMS_lmms/include/Scale.h | /*
* Scale.h - holds information about a scale and its intervals
*
* Copyright (c) 2020 Martin Pavelek <he29.HS/at/gmail.com>
*
* This file is part of LMMS - https://lmms.io
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public
* License as publ... | 2,949 | C++ | .h | 73 | 38.410959 | 106 | 0.749387 | LMMS/lmms | 7,989 | 994 | 1,122 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
20,518 | SideBar.h | LMMS_lmms/include/SideBar.h | /*
* SideBar.h - side-bar in LMMS' MainWindow
*
* Copyright (c) 2004-2009 Tobias Doerffel <tobydox/at/users.sourceforge.net>
*
* This file is part of LMMS - https://lmms.io
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public
* License as publi... | 1,527 | C++ | .h | 48 | 29.875 | 77 | 0.757514 | LMMS/lmms | 7,989 | 994 | 1,122 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
20,519 | SampleTrackView.h | LMMS_lmms/include/SampleTrackView.h | /*
* SampleTrackView.h
*
* Copyright (c) 2005-2014 Tobias Doerffel <tobydox/at/users.sourceforge.net>
*
* This file is part of LMMS - https://lmms.io
*
* 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 Softwa... | 2,355 | C++ | .h | 84 | 25.904762 | 77 | 0.780009 | LMMS/lmms | 7,989 | 994 | 1,122 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
20,520 | UpgradeExtendedNoteRange.h | LMMS_lmms/src/core/UpgradeExtendedNoteRange.h | /*
* UpgradeExtendedNoteRange.h - Upgrades the extended note range
*
* This file is part of LMMS - https://lmms.io
*
* 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 2 of... | 1,215 | C++ | .h | 37 | 30.945946 | 70 | 0.781678 | LMMS/lmms | 7,989 | 994 | 1,122 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
20,521 | connectionitem.cpp | shadowsocks_shadowsocks-qt5/src/connectionitem.cpp | #include "connectionitem.h"
#include <QFont>
#include <cmath>
ConnectionItem::ConnectionItem(Connection *_con, QObject *parent) :
QObject(parent),
con(_con)
{
if (con) {
con->setParent(this);
connect(con, &Connection::stateChanged, this, &ConnectionItem::onConnectionStateChanged);
c... | 4,975 | C++ | .cpp | 143 | 27.006993 | 101 | 0.597427 | shadowsocks/shadowsocks-qt5 | 7,972 | 2,331 | 75 | LGPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | true | false | true | true | true | false |
20,523 | sqprofile.cpp | shadowsocks_shadowsocks-qt5/src/sqprofile.cpp | #include "sqprofile.h"
SQProfile::SQProfile()
{
autoStart = false;
debug = false;
serverPort = 8388;
localPort = 1080;
name = QObject::tr("Unnamed Profile");
localAddress = QString("127.0.0.1");
method = QString("RC4-MD5");
timeout = 600;
latency = LATENCY_UNKNOWN;
currentUsage ... | 2,445 | C++ | .cpp | 64 | 34.171875 | 245 | 0.698526 | shadowsocks/shadowsocks-qt5 | 7,972 | 2,331 | 75 | LGPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | true | false | true | true | true | false |
20,524 | qrcodecapturer.cpp | shadowsocks_shadowsocks-qt5/src/qrcodecapturer.cpp | #include "qrcodecapturer.h"
#include "urihelper.h"
#include <QApplication>
#include <QMoveEvent>
#include <QResizeEvent>
#include <QDesktopWidget>
#include <QScreen>
QRCodeCapturer::QRCodeCapturer(QWidget *parent) :
QMainWindow(parent)
{
#ifdef Q_OS_WIN
/*
* On Windows, it requires Qt::FramelessWindowHint... | 2,458 | C++ | .cpp | 76 | 26.355263 | 78 | 0.651789 | shadowsocks/shadowsocks-qt5 | 7,972 | 2,331 | 75 | LGPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | true | false | true | true | true | false |
20,525 | sharedialog.cpp | shadowsocks_shadowsocks-qt5/src/sharedialog.cpp | #include <QFileDialog>
#include "qrwidget.h"
#include "sharedialog.h"
#include "ui_sharedialog.h"
ShareDialog::ShareDialog(const QByteArray &ssUrl, QWidget *parent) :
QDialog(parent),
ui(new Ui::ShareDialog)
{
ui->setupUi(this);
ui->qrWidget->setQRData(ssUrl);
ui->ssUrlEdit->setText(QString(ssUrl))... | 770 | C++ | .cpp | 26 | 26.269231 | 104 | 0.709066 | shadowsocks/shadowsocks-qt5 | 7,972 | 2,331 | 75 | LGPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | true | false | true | true | true | false |
20,527 | connectiontablemodel.cpp | shadowsocks_shadowsocks-qt5/src/connectiontablemodel.cpp | #include "connectiontablemodel.h"
ConnectionTableModel::ConnectionTableModel(QObject *parent) :
QAbstractTableModel(parent)
{}
ConnectionTableModel::~ConnectionTableModel()
{}
ConnectionItem *ConnectionTableModel::getItem(const int &row) const
{
return items.at(row);
}
int ConnectionTableModel::rowCount(con... | 4,732 | C++ | .cpp | 140 | 28.892857 | 115 | 0.67512 | shadowsocks/shadowsocks-qt5 | 7,972 | 2,331 | 75 | LGPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | true | false | true | true | true | false |
20,528 | connection.cpp | shadowsocks_shadowsocks-qt5/src/connection.cpp | #include "connection.h"
#include "ssvalidator.h"
#include <QHostInfo>
#include <QHostAddress>
Connection::Connection(QObject *parent) :
QObject(parent),
running(false)
{}
Connection::Connection(const SQProfile &_profile, QObject *parent) :
Connection(parent)
{
profile = _profile;
}
Connection::Connec... | 3,867 | C++ | .cpp | 119 | 28.680672 | 147 | 0.726468 | shadowsocks/shadowsocks-qt5 | 7,972 | 2,331 | 75 | LGPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | true | false | true | true | true | false |
20,529 | statusnotifier.cpp | shadowsocks_shadowsocks-qt5/src/statusnotifier.cpp | #include "statusnotifier.h"
#include "mainwindow.h"
#include <QApplication>
#ifdef Q_OS_LINUX
#include <QDBusMessage>
#include <QDBusConnection>
#include <QDBusPendingCall>
#endif
StatusNotifier::StatusNotifier(MainWindow *w, bool startHiden, QObject *parent) :
QObject(parent),
window(w)
{
systray.setIcon(... | 2,005 | C++ | .cpp | 53 | 33.886792 | 166 | 0.715092 | shadowsocks/shadowsocks-qt5 | 7,972 | 2,331 | 75 | LGPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | true | false | true | true | true | false |
20,530 | editdialog.cpp | shadowsocks_shadowsocks-qt5/src/editdialog.cpp | #include "editdialog.h"
#include "ui_editdialog.h"
#include "ssvalidator.h"
#include "ip4validator.h"
#include "portvalidator.h"
EditDialog::EditDialog(Connection *_connection, QWidget *parent) :
QDialog(parent),
ui(new Ui::EditDialog),
connection(_connection)
{
ui->setupUi(this);
/* initialisatio... | 2,604 | C++ | .cpp | 55 | 43.072727 | 81 | 0.750492 | shadowsocks/shadowsocks-qt5 | 7,972 | 2,331 | 75 | LGPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | true | false | true | true | true | false |
20,531 | settingsdialog.cpp | shadowsocks_shadowsocks-qt5/src/settingsdialog.cpp | #include "settingsdialog.h"
#include "ui_settingsdialog.h"
#include <QPushButton>
SettingsDialog::SettingsDialog(ConfigHelper *ch, QWidget *parent) :
QDialog(parent),
ui(new Ui::SettingsDialog),
helper(ch)
{
ui->setupUi(this);
ui->toolbarStyleComboBox->setCurrentIndex(helper->getToolbarStyle());
... | 1,840 | C++ | .cpp | 40 | 39.6 | 104 | 0.716518 | shadowsocks/shadowsocks-qt5 | 7,972 | 2,331 | 75 | LGPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | true | false | true | true | true | false |
20,532 | mainwindow.cpp | shadowsocks_shadowsocks-qt5/src/mainwindow.cpp | #include "mainwindow.h"
#include "ui_mainwindow.h"
#include "connection.h"
#include "editdialog.h"
#include "urihelper.h"
#include "uriinputdialog.h"
#include "sharedialog.h"
#include "settingsdialog.h"
#include "qrcodecapturer.h"
#include <QDesktopServices>
#include <QDesktopWidget>
#include <QFileDialog>
#include <... | 21,088 | C++ | .cpp | 534 | 31.589888 | 94 | 0.648514 | shadowsocks/shadowsocks-qt5 | 7,972 | 2,331 | 75 | LGPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | true | false |
20,533 | portvalidator.cpp | shadowsocks_shadowsocks-qt5/src/portvalidator.cpp | #include "portvalidator.h"
#include "ssvalidator.h"
PortValidator::PortValidator(QObject *parent)
: QValidator(parent)
{}
QValidator::State PortValidator::validate(QString &input, int &) const
{
if (SSValidator::validatePort(input)) {
return Acceptable;
}
else
return Invalid;
}
| 313 | C++ | .cpp | 13 | 20.461538 | 70 | 0.718121 | shadowsocks/shadowsocks-qt5 | 7,972 | 2,331 | 75 | LGPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | true | false | true | true | true | false |
20,534 | uriinputdialog.cpp | shadowsocks_shadowsocks-qt5/src/uriinputdialog.cpp | #include "uriinputdialog.h"
#include "ui_uriinputdialog.h"
#include "ssvalidator.h"
#include <QPushButton>
URIInputDialog::URIInputDialog(QWidget *parent) :
QDialog(parent),
ui(new Ui::URIInputDialog)
{
ui->setupUi(this);
ui->buttonBox->button(QDialogButtonBox::Ok)->setEnabled(false);
connect(ui->u... | 1,045 | C++ | .cpp | 34 | 27 | 91 | 0.714712 | shadowsocks/shadowsocks-qt5 | 7,972 | 2,331 | 75 | LGPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | true | false | true | true | true | false |
20,535 | confighelper.cpp | shadowsocks_shadowsocks-qt5/src/confighelper.cpp | #include "confighelper.h"
#include <QCoreApplication>
#include <QDir>
#include <QFile>
#include <QJsonParseError>
#include <QJsonDocument>
#include <QJsonArray>
#include <QJsonObject>
ConfigHelper::ConfigHelper(const QString &configuration, QObject *parent) :
QObject(parent),
configFile(configuration)
{
se... | 12,970 | C++ | .cpp | 358 | 30.128492 | 120 | 0.65418 | shadowsocks/shadowsocks-qt5 | 7,972 | 2,331 | 75 | LGPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | true | false | true | true | true | false |
20,536 | ssvalidator.cpp | shadowsocks_shadowsocks-qt5/src/ssvalidator.cpp | #include "ssvalidator.h"
#include <QtShadowsocks>
QStringList SSValidator::supportedMethodList()
{
std::vector<std::string> methodBA = QSS::Cipher::supportedMethods();
std::sort(methodBA.begin(), methodBA.end());
QStringList methodList;
for (const std::string& method : methodBA) {
methodList.pu... | 931 | C++ | .cpp | 33 | 24.424242 | 72 | 0.714765 | shadowsocks/shadowsocks-qt5 | 7,972 | 2,331 | 75 | LGPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | true | false | true | true | true | false |
20,537 | ip4validator.cpp | shadowsocks_shadowsocks-qt5/src/ip4validator.cpp | #include "ip4validator.h"
IP4Validator::IP4Validator(QObject *parent)
: QValidator(parent)
{}
QValidator::State IP4Validator::validate(QString &input, int &) const
{
if (input.isEmpty()) {
return Acceptable;
}
QStringList slist = input.split(".");
int number = slist.size();
if (number... | 756 | C++ | .cpp | 31 | 18.16129 | 69 | 0.566064 | shadowsocks/shadowsocks-qt5 | 7,972 | 2,331 | 75 | LGPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | true | false | true | true | true | false |
20,539 | editdialog.h | shadowsocks_shadowsocks-qt5/src/editdialog.h | /*
* Copyright (C) 2015-2016 Symeon Huang <hzwhuang@gmail.com>
*
* shadowsocks-qt5 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; either version 3 of the License, or
* (at your option) any later ... | 1,165 | C++ | .h | 37 | 29.189189 | 75 | 0.758036 | shadowsocks/shadowsocks-qt5 | 7,972 | 2,331 | 75 | LGPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
20,541 | ssvalidator.h | shadowsocks_shadowsocks-qt5/src/ssvalidator.h | /*
* Copyright (C) 2014-2016 Symeon Huang <hzwhuang@gmail.com>
*
* shadowsocks-qt5 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; either version 3 of the License, or
* (at your option) any later ... | 1,262 | C++ | .h | 34 | 34.5 | 75 | 0.761438 | shadowsocks/shadowsocks-qt5 | 7,972 | 2,331 | 75 | LGPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
20,542 | connection.h | shadowsocks_shadowsocks-qt5/src/connection.h | /*
* Copyright (C) 2015-2016 Symeon Huang <hzwhuang@gmail.com>
*
* shadowsocks-qt5 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; either version 3 of the License, or
* (at your option) any later ... | 2,227 | C++ | .h | 65 | 30.861538 | 75 | 0.749302 | shadowsocks/shadowsocks-qt5 | 7,972 | 2,331 | 75 | LGPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
20,543 | statusnotifier.h | shadowsocks_shadowsocks-qt5/src/statusnotifier.h | /*
* Copyright (C) 2015-2017 Symeon Huang <hzwhuang@gmail.com>
*
* shadowsocks-qt5 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; either version 3 of the License, or
* (at your option) any later ... | 1,320 | C++ | .h | 39 | 31.333333 | 75 | 0.770016 | shadowsocks/shadowsocks-qt5 | 7,972 | 2,331 | 75 | LGPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
20,545 | connectionitem.h | shadowsocks_shadowsocks-qt5/src/connectionitem.h | /*
* Copyright (C) 2015-2016 Symeon Huang <hzwhuang@gmail.com>
*
* shadowsocks-qt5 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; either version 3 of the License, or
* (at your option) any later ... | 1,727 | C++ | .h | 47 | 33.723404 | 75 | 0.768125 | shadowsocks/shadowsocks-qt5 | 7,972 | 2,331 | 75 | LGPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
20,546 | confighelper.h | shadowsocks_shadowsocks-qt5/src/confighelper.h | /*
* Copyright (C) 2015-2016 Symeon Huang <hzwhuang@gmail.com>
*
* shadowsocks-qt5 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; either version 3 of the License, or
* (at your option) any later ... | 3,435 | C++ | .h | 87 | 35.333333 | 103 | 0.762921 | shadowsocks/shadowsocks-qt5 | 7,972 | 2,331 | 75 | LGPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
20,548 | ip4validator.h | shadowsocks_shadowsocks-qt5/src/ip4validator.h | /*
* Copyright (C) 2014-2016 Symeon Huang <hzwhuang@gmail.com>
*
* shadowsocks-qt5 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; either version 3 of the License, or
* (at your option) any later ... | 1,154 | C++ | .h | 30 | 36.433333 | 79 | 0.765179 | shadowsocks/shadowsocks-qt5 | 7,972 | 2,331 | 75 | LGPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
20,549 | sqprofile.h | shadowsocks_shadowsocks-qt5/src/sqprofile.h | /*
* Copyright (C) 2014-2016 Symeon Huang <hzwhuang@gmail.com>
*
* shadowsocks-qt5 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; either version 3 of the License, or
* (at your option) any later ... | 1,884 | C++ | .h | 53 | 32.358491 | 75 | 0.748217 | shadowsocks/shadowsocks-qt5 | 7,972 | 2,331 | 75 | LGPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
20,551 | qrcodecapturer.h | shadowsocks_shadowsocks-qt5/src/qrcodecapturer.h | /*
* Copyright (C) 2015-2016 Symeon Huang <hzwhuang@gmail.com>
*
* shadowsocks-qt5 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; either version 3 of the License, or
* (at your option) any later ... | 1,302 | C++ | .h | 38 | 31.552632 | 75 | 0.76255 | shadowsocks/shadowsocks-qt5 | 7,972 | 2,331 | 75 | LGPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
20,553 | urihelper.h | shadowsocks_shadowsocks-qt5/src/urihelper.h | /*
* Copyright (C) 2015-2016 Symeon Huang <hzwhuang@gmail.com>
*
* shadowsocks-qt5 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; either version 3 of the License, or
* (at your option) any later ... | 1,039 | C++ | .h | 29 | 33.689655 | 75 | 0.763184 | shadowsocks/shadowsocks-qt5 | 7,972 | 2,331 | 75 | LGPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
20,554 | portvalidator.h | shadowsocks_shadowsocks-qt5/src/portvalidator.h | /*
* Copyright (C) 2014-2016 Symeon Huang <hzwhuang@gmail.com>
*
* shadowsocks-qt5 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; either version 3 of the License, or
* (at your option) any later ... | 1,013 | C++ | .h | 27 | 35.481481 | 75 | 0.766802 | shadowsocks/shadowsocks-qt5 | 7,972 | 2,331 | 75 | LGPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
20,556 | test_vm_mount.cpp | canonical_multipass/tests/test_vm_mount.cpp | /*
* Copyright (C) Canonical, Ltd.
*
* 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; version 3.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARR... | 6,222 | C++ | .cpp | 125 | 33.44 | 116 | 0.517434 | canonical/multipass | 7,732 | 642 | 476 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
20,557 | test_sftp_client.cpp | canonical_multipass/tests/test_sftp_client.cpp | /*
* Copyright (C) Canonical, Ltd.
*
* 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; version 3.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARR... | 43,761 | C++ | .cpp | 770 | 50.951948 | 120 | 0.66286 | canonical/multipass | 7,732 | 642 | 476 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
20,558 | test_ssh_client.cpp | canonical_multipass/tests/test_ssh_client.cpp | /*
* Copyright (C) Canonical, Ltd.
*
* 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; version 3.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARR... | 3,580 | C++ | .cpp | 99 | 32.868687 | 100 | 0.699161 | canonical/multipass | 7,732 | 642 | 476 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
20,559 | test_daemon_authenticate.cpp | canonical_multipass/tests/test_daemon_authenticate.cpp | /*
* Copyright (C) Canonical, Ltd.
*
* 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; version 3.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARR... | 4,614 | C++ | .cpp | 97 | 42.824742 | 116 | 0.737687 | canonical/multipass | 7,732 | 642 | 476 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
20,560 | test_ip_address.cpp | canonical_multipass/tests/test_ip_address.cpp | /*
* Copyright (C) Canonical, Ltd.
*
* 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; version 3.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARR... | 2,180 | C++ | .cpp | 63 | 31.555556 | 77 | 0.692344 | canonical/multipass | 7,732 | 642 | 476 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
20,561 | temp_dir.cpp | canonical_multipass/tests/temp_dir.cpp | /*
* Copyright (C) Canonical, Ltd.
*
* 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; version 3.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARR... | 866 | C++ | .cpp | 24 | 33.791667 | 78 | 0.739857 | canonical/multipass | 7,732 | 642 | 476 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
20,562 | test_ssh_exec_failure.cpp | canonical_multipass/tests/test_ssh_exec_failure.cpp | /*
* Copyright (C) Canonical, Ltd.
*
* 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; version 3.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARR... | 993 | C++ | .cpp | 29 | 32.103448 | 72 | 0.763048 | canonical/multipass | 7,732 | 642 | 476 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
20,563 | test_ssh_key_provider.cpp | canonical_multipass/tests/test_ssh_key_provider.cpp | /*
* Copyright (C) Canonical, Ltd.
*
* 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; version 3.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARR... | 4,914 | C++ | .cpp | 83 | 47.277108 | 113 | 0.69325 | canonical/multipass | 7,732 | 642 | 476 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
20,564 | file_operations.cpp | canonical_multipass/tests/file_operations.cpp | /*
* Copyright (C) Canonical, Ltd.
*
* 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; version 3.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARR... | 1,519 | C++ | .cpp | 45 | 31.155556 | 120 | 0.732106 | canonical/multipass | 7,732 | 642 | 476 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
20,565 | test_daemon_suspend.cpp | canonical_multipass/tests/test_daemon_suspend.cpp | /*
* Copyright (C) Canonical, Ltd.
*
* 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; version 3.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARR... | 5,795 | C++ | .cpp | 110 | 45.981818 | 116 | 0.697275 | canonical/multipass | 7,732 | 642 | 476 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
20,566 | test_sftp_dir_iterator.cpp | canonical_multipass/tests/test_sftp_dir_iterator.cpp | /*
* Copyright (C) Canonical, Ltd.
*
* 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; version 3.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARR... | 3,997 | C++ | .cpp | 95 | 36.789474 | 119 | 0.655341 | canonical/multipass | 7,732 | 642 | 476 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
20,567 | test_ssh_process.cpp | canonical_multipass/tests/test_ssh_process.cpp | /*
* Copyright (C) Canonical, Ltd.
*
* 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; version 3.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARR... | 4,552 | C++ | .cpp | 123 | 32.894309 | 117 | 0.693303 | canonical/multipass | 7,732 | 642 | 476 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
20,568 | test_persistent_settings_handler.cpp | canonical_multipass/tests/test_persistent_settings_handler.cpp | /*
* Copyright (C) Canonical, Ltd.
*
* 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; version 3.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARR... | 10,107 | C++ | .cpp | 224 | 39.151786 | 119 | 0.694447 | canonical/multipass | 7,732 | 642 | 476 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
20,569 | test_blueprint_provider.cpp | canonical_multipass/tests/test_blueprint_provider.cpp | /*
* Copyright (C) Canonical, Ltd.
*
* 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; version 3.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARR... | 42,783 | C++ | .cpp | 752 | 46.861702 | 120 | 0.647557 | canonical/multipass | 7,732 | 642 | 476 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
20,570 | blueprint_test_lambdas.cpp | canonical_multipass/tests/blueprint_test_lambdas.cpp | /*
* Copyright (C) Canonical, Ltd.
*
* 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; version 3.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARR... | 4,830 | C++ | .cpp | 104 | 34.615385 | 119 | 0.585526 | canonical/multipass | 7,732 | 642 | 476 | 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.