Datasets:

Modalities:
Tabular
Text
Formats:
parquet
Dataset Viewer
Auto-converted to Parquet Duplicate
blob_id
large_stringlengths
40
40
language
large_stringclasses
1 value
repo_name
large_stringlengths
5
119
path
large_stringlengths
4
271
score
float64
2.52
4.84
int_score
int64
3
5
text
stringlengths
26
4.09M
24566596057cfa4ce4f77e3d11035bff0f0703f8
C#
gimlichael/CuemonNetFramework
/Cuemon/Diagnostics/ITimeMeasuring.cs
2.859375
3
using System; using System.Diagnostics; namespace Cuemon.Diagnostics { /// <summary> /// Specifies a simple way to measure elapsed time for events or similar. /// </summary> public interface ITimeMeasuring { /// <summary> /// Gets the timer that is used to accurately measure elapse...
c594d4f96bceeffa404f37c2d11d7e1d9ddd8af3
C#
guiboars/GeneratorControl
/Tests/SensorTest.cs
2.78125
3
using GeneratorControl; using Microsoft.VisualStudio.TestTools.UnitTesting; using System; namespace Tests { /// <summary> ///This is a test class for SensorTest and is intended ///to contain all SensorTest Unit Tests ///</summary> [TestClass()] public class SensorTest { ...
7fcdeb8002ecbd009acdb1a12d6f1df7b4e9fd97
C#
Infarh/MathCore
/MathCore/Graphs/LambdaGraphNode.cs
2.84375
3
#nullable enable using System; using System.Collections; using System.Collections.Generic; using System.Linq; // ReSharper disable UnusedMember.Global namespace MathCore.Graphs; public class LambdaGraphNode<TValue, TWeight> : IGraphNode<TValue, TWeight>, IEquatable<LambdaGraphNode<TValue, TWeight>> { private re...
eda5d1fc2152627ad5a534c5491674fb548bcd9e
C#
iavnish/SharedExchangeEmailActivity
/ExchangeSharedMailBoxActivities/ExchangeSharedMailBoxActivities/SendEmail.cs
2.6875
3
using System; using System.Activities; using System.ComponentModel; using Microsoft.Exchange.WebServices.Data; namespace ExchangeSharedMailBoxActivities { public class SendEmail : CodeActivity { /// <summary> /// Exchange Service as input /// </summary> [Category(...
0dc6115bd538f30df2c565529a6448dbdc06aac5
C#
Novaetra/MVP
/Assets/Final/Scripts/Objects/Elevator.cs
2.75
3
using UnityEngine; using System.Collections; public class Elevator : MonoBehaviour { private bool isDown = true; private bool isMoving = false; private GameObject player; public void interact(object[] paramtrs) { player = (GameObject)paramtrs[1]; //If the elevator isn't moving if (!isMovin...
7e637e0a18b92d49d478b772db834969d0d68c2f
C#
CraigBanach/openmtg
/MTGEngine/Zones/Deck.cs
2.875
3
using System.Collections.Generic; namespace MTGEngine { public class Library : Stack<Card> { public Library(IEnumerable<Card> cards) : base(cards) { } public Card Draw() { return this.Pop(); } } }
d3daf867eae79246a0c95d04957c201c41cdfe65
C#
Genghis-Khan2/Project01_7095_28225_dotNet5780
/BE/Comparer.cs
2.609375
3
using System; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Text; namespace BE { public class HostComparer : IEqualityComparer<Host> { public bool Equals(Host a, Host b) { if (ReferenceEquals(a, b)) { return true; ...
25095cc3640ea30032e0011c6986ed97305d81f2
C#
yonasu/Viidya
/VidyaTutorial/VidyaTutorial/MouseController.cs
2.953125
3
using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Input; namespace VidyaTutorial { public class MouseController { private readonly int _centerScreenX; private readonly int _centerScreenY; private const float RotateScale = MathHelper.PiOver2; public MouseController(int windowWidth, int windowHeig...
41a3fba304e41dc6e67cfe99eaeea365e7b0f09e
C#
huda-mokhtar/Restaurant-delivery-online
/Restaurant delivery online/Controllers/CustomersController.cs
2.640625
3
using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using Restaurant_delivery_online.IServices; using Restaurant_delivery_online.Models; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace Restaurant_delivery_online.Controllers { [Route("[control...
7c37579ce2c686852b6bf79f2f9c6e7c84ddf98a
C#
Jothaka/TabletopAdventures
/Pokemon Tabletop Adventures Companion/Assets/Scripts/Conditions/OrCondition.cs
2.78125
3
using System; using System.Collections.Generic; [Serializable] public class OrCondition : Condition { public List<Condition> ConditionsToCheck = new List<Condition>(); public override bool TrainerMeetsCondition(Trainer trainer) { if (ConditionsToCheck.Count > 0) { for (int i =...
579fb5a273e087e9e631624e73af51645dbfcd5b
C#
owsir/RDemoViaCSharp
/RDemoViaCSharp.RServeCLI/SexpArrayBool.cs
3.09375
3
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="SexpArrayBool.cs" company="Oliver M. Haynold"> // Copyright (c) 2011, Oliver M. Haynold // All rights reserved. // </copyright> // <summary> // An array of (trivalue, i.e., incl...
93dd16374c70bcbe42db10786d488bf115c4457d
C#
linaZaytseva/Teem_Project
/TeemProject/Form2.cs
2.71875
3
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace TeemProject { public partial class Form2 : Form { public Form2(int data, List<...
86b948ec6dc835a069530ba68f86f993137c48ad
C#
Granddisap/laba1_2sem
/ComplexCal/MainForm.cs
3.03125
3
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; using System.Text.RegularExpressions; namespace WindowsFormsApp1 { public partial class MainForm : F...
feeb0903451ee6ad3f3412e379573747cae16507
C#
guibass96/ManagerBarber-Api
/Services/ClienteService.cs
2.78125
3
using System.Collections.Generic; using System.Threading.Tasks; using ManagerBarber_Api.Domain.Repositories; using ManagerBarber_Api.Domain.Models; using System.Linq; using System.Text; using System; namespace ManagerBarber_Api.Services { public class ClienteService { private readonly IClientesRepository<...
e85ac8883b409f3b980ae8a66e46e7881a123a37
C#
kobr4/direct3D-projects
/MyHelloWorldSlimDxWithMMV/Camera.cs
2.59375
3
using System; using System.Collections.Generic; using System.Linq; using System.Text; using SlimDX; using SlimDX.Multimedia; using SlimDX.RawInput; using System.Runtime.Serialization; using System.Runtime.Serialization.Formatters.Binary; namespace MyHelloWorldSlimDxWithMMV { public class Camera { priv...
855e099b718f46a3c974ca1f98d6b658c7ecc7fc
C#
hhsherrill/YuQing
/szlibInfoThreads/szlibMeitiThread.cs
2.578125
3
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; using System.Net; using System.Web; using System.IO; using System.Text.RegularExpressions; using System.Windows.Forms; using szlibInfoUtil; namespace szlibInfoThreads { public class szlibMeitiThread {...
5b230057ea582d15422800a6f5c9d199027560e7
C#
DennysRivera/DARP_00026919_2EP
/DARP_00026919_2EP/Vista/frmAdmin.cs
2.53125
3
using System; using System.Collections.Generic; using System.Windows.Forms; namespace DARP_00026919_2EP { public partial class frmAdmin : Form { private AppUser usuario; public frmAdmin(AppUser user) { InitializeComponent(); usuario = user; } ...
41450f483e6593633a7dfc91416b176c637d4772
C#
nwillems/truckplanner
/model/model.cs
2.90625
3
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations.Schema; using System.Linq; using Microsoft.EntityFrameworkCore; namespace Truckplanner { namespace Model { public class TruckPlannerContext : DbContext { public DbSet<Driver> Drivers { g...
c1b7d1b2a736cedd02835c8a606a7107fcb9d862
C#
swneng/Diaview
/WCF/DiaView.WCF/demo/security/basicHttpBinding_Message_Certificate/WCFService/Contract.cs
2.625
3
using System; using System.Collections.Generic; using System.Text; using System.ServiceModel; using System.Runtime.Serialization; using System.Security.Principal; using System.Threading; using System.Security.Permissions; namespace WCFService { [ServiceContract(Namespace = "http://chnking.com")] public interface IGet...
e4b9dabf066faa431254fafbfdf06a00bd036c30
C#
tkaledkowski/kwmonitor
/KWMonitor/KWMonitor/Services/DistrictService.cs
2.78125
3
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using KoronaWirusMonitor3.Models; using KoronaWirusMonitor3.Repository; using Microsoft.EntityFrameworkCore; namespace KWMonitor.Services { public class DistrictService : IDistrictService { ...
596e2cea3c6dee56de2337b78b258190a46fa643
C#
omarwasfi/W-SmartShop
/W-SmartShopSelution/SmartShopClassLibrary/LogicalClasses/InstallmentProduct/InstallmentProduct.cs
2.734375
3
using Dapper; using System; using System.Collections.Generic; using System.Data; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Library { public static class InstallmentProduct { /// <summary> /// Foreach InstallmentProduct in The Installment , save it in the dat...
eab7541c96cb659e3359d82e94f3d484e6205429
C#
tStandalone/tStandalone
/patches/tModLoader/Terraria/ModLoader/Core/MemoryTracking.cs
2.765625
3
using System; using System.Collections.Generic; using System.Linq; using Microsoft.Xna.Framework.Audio; using Microsoft.Xna.Framework.Graphics; namespace Terraria.ModLoader.Core { internal class ModMemoryUsage { internal long managed; internal long sounds; internal long textures; internal long code; inte...
5aac686af4ece75d16d6da37a3cb51c9945a0c07
C#
isle-studios/CowDog
/Assets/Scripts/PlayerSprite.cs
2.640625
3
using System.Collections; using System.Collections.Generic; using UnityEngine; public class PlayerSprite : MonoBehaviour { private float horizontal; private float vertical; private bool facingRight; void Update () { horizontal = Input.GetAxisRaw("Horizontal"); vertical = Input.GetAxisRa...
2563b526c38bd97d2e2e3a4388484ab5e2bd6948
C#
AndresDaCosta/.NET
/ConsoleApplication1/Program.cs
3.5
4
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ConsoleApplication1 { class Program { static void Main(string[] args) { int numero; String palabra = null; palabra = C...
70d0a733cc86ed2a3361afcd08923395f135426d
C#
wangvic-0921/HenXinSMS
/Demo/Models/CheckRepeat.cs
2.578125
3
using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace HengXinSMS.Models { public class CheckRepeat { public int search( string check) { using (var context = new HenXinSMSContext()) { var user_che...
da7a8ca16f5f0cfe176e43e48d0a417018df7709
C#
Bobris/Njsast
/Njsast/Ast/AstDefault.cs
2.71875
3
using Njsast.Output; using Njsast.Reader; namespace Njsast.Ast; /// A `default` switch branch public class AstDefault : AstSwitchBranch { public AstDefault(string? source, Position startPos, Position endPos) : base(source, startPos, endPos) { } public override AstNode ShallowClone() { va...
ee26e4653b5b984130473e067fab2b859a825546
C#
Joan1114/Ejercicios-7
/Ejercicio N5 (2)/Ejercicio N5 (2)/Program.cs
3.34375
3
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Ejercicio_N5__2_ { class Program { static void Main(string[] args) { int d = 0, m = 0, cant = 0; string mes1 = ""; int[] mes = new i...
6899862e9fb3149e02e6e44b8749fcd6b5b85022
C#
W0lfCr0w/maternity-ward-system
/SousChef.cs
2.9375
3
namespace maternity_ward_system { public class SousChef: Cook, IExpertEmployee { public double ExpertHourlyPay{get; private set;} public SousChef(string fname, string lname, string id, int age, double hours) :base(fname, lname, id, age, hours) { ExpertHour...
6c33a96d47512bc7acc427500be41cfc73b9d65f
C#
siyamandayubi/Orchardcollaboration
/src/Orchard.Web/Modules/S22.IMAP/Provider/Auth/Sasl/Mechanisms/Ntlm/Type1Message.cs
2.796875
3
using System; using System.Text; namespace S22.Imap.Provider.Auth.Sasl.Mechanisms.Ntlm { /// <summary> /// Represents an NTLM Type 1 Message. /// </summary> internal class Type1Message { /// <summary> /// The NTLM message signature which is always "NTLMSSP". /// </summary> static readonly string signature...
10cbe59c8139b7366d76f8eca0fe0cf3805ab457
C#
TechieGuy12/PlexServerAutoUpdater
/Log.cs
3.15625
3
using System; using System.Collections.Generic; using static System.Environment; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; namespace TE { /// <summary> /// Contains the properties and methods to write a log file. /// </summary> public static class Log { ...
e554cbfbf00a6630e9454e709e108b2b4eefdb68
C#
as495969/leetcode
/easy-905/Program.cs
3.421875
3
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace easy_905 { class Program { static void Main(string[] args) { int[] ints = Solution.SortArrayByParity(new int[] { 3, 1, 2, 4 }); Console.ReadKey(...
409231f04d085939673e8b435c213f58cb00396f
C#
michael-hawker/UWPCommunityToolkit
/Microsoft.Toolkit.Uwp.UI.Controls/ControlHelpers.Math.cs
2.953125
3
// ****************************************************************** // Copyright (c) Microsoft. All rights reserved. // This code is licensed under the MIT License (MIT). // THE CODE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, // INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILI...
0426591a24c19792c3e549afb9cd7f5f7060a718
C#
dgw2jr/NHibernateDDD
/NHibernateDDD/Employee.cs
2.953125
3
using System; using CSharpFunctionalExtensions; using NHibernateDDD.Events; namespace NHibernateDDD { public class Employee : Entity { protected Employee() { EmployeeId = Guid.NewGuid(); } private Employee(EmployeeName name, EmploymentRole role) : this() { ...
1953a52f47046a3dfd22102bcdfbe3e0c3964b03
C#
danieljt/Breakout
/Assets/Scripts/Physics/PaddleSurfaceController.cs
2.765625
3
using System.Collections; using System.Collections.Generic; using UnityEngine; namespace StupidGirlGames.BreakOut { /// <summary> /// Controls the surface of the paddle. A paddle can affect incoming balls depending on /// the collision point on the paddle surface or the paddle speed. By keeping that infor...
1722d0725233aa160968796b76a9dc324fb7b7ee
C#
MSzmaj/pokedexapi
/src/Api/Controllers/PokemonController.cs
2.546875
3
using Microsoft.AspNetCore.Mvc; using PokedexApi.Common.Query; using PokedexApi.Service.Services.Pokemon; using System.Threading.Tasks; using AutoMapper; using PokedexApi.Api.Common.Filters; using PokedexApi.Api.InputModels; namespace PokedexApi.Api.Controllers { [ApiController] [ServiceFilter(typeof(ExceptionFilter...
5ff96e6a522d22b0d0baa21b42a208f4ad8678ac
C#
Felandil/Chiota
/Chiota/CEXEngine/Crypto/Cipher/Asymmetric/Sign/RNBW/Arithmetic/RainbowUtil.cs
2.953125
3
#region Directives using VTDev.Libraries.CEXEngine.Utility; #endregion namespace VTDev.Libraries.CEXEngine.Crypto.Cipher.Asymmetric.Sign.RNBW.Arithmetic { /// <summary> /// This class is needed for the conversions while encoding and decoding, as well as for comparison between arrays of some dimensions ///...
9e4bc89ac6bf588caf513bf6c2bdae605827cd99
C#
overseer25/MyRPG
/SOSCSRPG/Engine/Factories/WorldFactory.cs
2.859375
3
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Engine.Models; namespace Engine.Factories { /// <summary> /// Builds Worlds. This class is internal, meaning it can only be used by the Engine project. /// </summary> internal stat...
f6fd08f6814adc852f1e261c477af1502183eb2f
C#
GemHu/VViiGGEETT_VV33
/DothanTech.Controls/Message/DzMessageBox.cs
2.734375
3
/// <summary> /// @file DzMessageBox.cs /// @brief 公共的 MessageBox。 /// @author DothanTech 吴桢楠 /// /// Copyright(C) 2011~2014, DothanTech. All rights reserved. /// </summary> using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Dothan.Controls { /// <summary> ///...
9e5e0ffedd5b9b4bcf13a05090809a46923a502d
C#
leejon1122/PracticeProjects
/GitHub/GitHub/NummerSwap.cs
3.765625
4
using System; using System.Collections.Generic; using System.Text; namespace GitHub { public class NummerSwap { public void Swap() { Console.Write("Voernummers in: "); string nummers = Console.ReadLine(); string result = SwapNummer(nummers); res...
30145b0fe8a479a49e6324d6b587463eff049327
C#
Little-Prayer/AtCoder
/ABC157/D/Program.cs
3.171875
3
using System; namespace D { class Program { static void Main(string[] args) { var NMK = Array.ConvertAll(Console.ReadLine().Split(' '), int.Parse); var N = NMK[0]; var M = NMK[1]; var K = NMK[2]; var friendship = new UnionFind(N); var friend = ne...
738e4587364ade5fac79463ad6c66c86653ee861
C#
Mazel-Tovr/Optimization
/src/lab5/Program.cs
2.6875
3
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Lab5 { class Program { static void Main(string[] args) { nelderMeadMethod(); Console.ReadKey(); } static float[] X; st...
6ab57ee69dd8e7fdf40651bcabd58c2063959f58
C#
mdailor/CraigSearch
/ConfigDialog.cs
2.59375
3
using System; using System.Collections; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; using System.Configuration; namespace CraigSearch { public partial class ConfigDialog : Form { A...
57149446607d2aeda05cae7ab88b5101e5b7ffba
C#
qwertie/Theraot
/Core/Theraot/Collections/Specialized/CustomComparer.cs
2.890625
3
using System; using System.Collections.Generic; using Theraot.Core; namespace Theraot.Collections.Specialized { [global::System.Diagnostics.DebuggerNonUserCode] public class CustomComparer<T> : IComparer<T> { private readonly Func<T, T, int> _comparison; public CustomComparer(Func<T, T, i...
07192d799af56b51834207faec139a0a69a1a1d1
C#
TanukiSharp/StudioPostEffect
/src/InternalEffect/UIParameters/MousePadControl.cs
2.765625
3
using System; using System.Collections.Generic; using System.ComponentModel; using System.Drawing; using System.Data; using System.Text; using System.Windows.Forms; namespace InternalEffect.UIParameters { public partial class MousePadControl : UserControl { public delegate void CoordinateHandler(float[] coords); ...
ec65b5800973ae787b59e26c26667ebd0144e667
C#
ErikParso/MyRepo
/TroubleShooter/Kros.TroubleShooterClient/ViewModel/ObservableObject.cs
2.640625
3
using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Kros.TroubleShooterClient.ViewModel { /// <summary> /// view models are implementing this class /// </summary> public abstract class ObservableObje...
385a01ff641124be42e5a5e74b2ed52c7c87c59a
C#
pmartin36/LDJAM39
/Assets/Resources/Scripts/ItemWeaponType.cs
2.53125
3
using System.Collections; using System.Collections.Generic; using UnityEngine; using System.ComponentModel; public class ItemWeaponType : Item { public enum WeaponType { [Description("Single Shot")] SINGLE, [Description("Fork Shot")] FORK, [Description("Rear Shot")] FRONTBACK, [Description("Ring Shot"...
2dd42fb3c5781a6c09d55b8e0f44af470ba4da9f
C#
MarcinBluszcz2020/HuionKeydialSuite
/HKS.Core/RoboustDevice.cs
2.625
3
using HidLibrary; using System; namespace HKS.Core { public class RoboustDevice { private readonly DeviceWaiterTask _deviceWaiterTask; public event EventHandler<HidReport> ReportReceived; private bool _attached; public RoboustDevice(Func<HidDevice> deviceAccessor) { ...
ea3ea1aad37f8a01d0d9684afd35ec21ce49b540
C#
doviledovile/CSHARP.VCS
/TestDotNetCore/TestDotNetCore/Controllers/ArraysController.cs
2.765625
3
using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; //namespace TestDotNetCore.Controllers //{ // [Route("api/[controller]")] // [ApiController] // public class ArraysController : ControllerBase // ...
9a4efb6c13047fdbe7e347e25e240e4ebedc2acd
C#
khaki560/FuzzyStudia2
/lib/variable/Summarizer.cs
2.828125
3
using lib.database; using lib.tools; namespace lib.variable { internal class Summarizer : LinguisticVariable { string attribute; public Summarizer(LinguisticVariableParameters par) : base(par) { attribute = par.attribute; } public override double Compute(st...
a6fc4d60b37497b8afbd9ca8f55c21d5f3cd5ff9
C#
Zubyfrank/LibraryManager
/Views/DailyReport.cs
2.5625
3
using MetroFramework.Forms; using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; using LibraryManager.Models; using Newtonsoft.Json; namespace LibraryManager...
b402125aee4b447fb546af5a2b64878a9248d1b0
C#
HaKDMoDz/baro-corelibrary
/Baro.CoreLibrary/OpenNETCF/Ras/ConnectionOptions.cs
2.515625
3
using System; using System.Collections.Generic; using System.Text; namespace OpenNETCF.Net { /// <summary> /// Specifies connection options. /// </summary> public enum ConnectionOptions { /// <summary> /// If this flag is set, the CountryCode, and AreaCode members of the RasEntry ar...
2fd15673a0b22cfeddf161c7cb37642402262248
C#
stporteur/ClashStats
/ClashStats/CustomControls/DataGridViewRating/DataGridViewRatingCell.cs
2.78125
3
using ClashStats.Properties; using System; using System.Collections.Generic; using System.ComponentModel; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace ClashStats.CustomControls.DataGridViewRating { public class DataGridViewRatingCe...
End of preview. Expand in Data Studio
README.md exists but content is empty.
Downloads last month
55