content
stringlengths
5
1.04M
avg_line_length
float64
1.75
12.9k
max_line_length
int64
2
244k
alphanum_fraction
float64
0
0.98
licenses
list
repository_name
stringlengths
7
92
path
stringlengths
3
249
size
int64
5
1.04M
lang
stringclasses
2 values
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("WC...
37.972973
84
0.746619
[ "MIT" ]
Team-on/works
0_homeworks/C#/9 wcf/0 primer/WCF_DuplexSvc1/WCF_DuplexClient/Properties/AssemblyInfo.cs
1,408
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //----------------------------------------...
35.141509
84
0.540134
[ "MIT" ]
atanas-georgiev/TelerikAcademy
16.ASP.NET-Web-Forms/Homeworks/07. ASP.NET-File-Upload/TxtUploader/Account/TwoFactorAuthenticationSignIn.aspx.designer.cs
3,727
C#
using System; using System.Collections.Generic; using System.Linq; namespace NJsonApi.Test.TestModel { public class ModelWithoutAnId { public DateTime SomeOtherProperty { get; set; } } }
18.909091
55
0.716346
[ "MIT" ]
AdamLJohnson/NJsonApiCore
test/NJsonApiCore.Test/TestModel/ModelWithoutAnId.cs
210
C#
using RootSystem = System; using System.Linq; using System.Collections.Generic; namespace Windows.Kinect { // // Windows.Kinect.CameraSpacePoint // [RootSystem.Runtime.InteropServices.StructLayout(RootSystem.Runtime.InteropServices.LayoutKind.Sequential), System.Serializable] public struct CameraSpa...
25.5625
132
0.572127
[ "MIT" ]
sugi-cho/KinectStudy-Unity
Assets/Standard Assets/Windows/Kinect/CameraSpacePoint.cs
1,227
C#
// <copyright file="GameInfo.cs" company="Google Inc."> // Copyright (C) 2015 Google Inc. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache....
44.153846
121
0.684959
[ "Apache-2.0" ]
stemichael/BlocksDodger
Block-Dodge-Game/Assets/GooglePlayGames/GameInfo.cs
3,444
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Ra...
38.513514
84
0.747368
[ "MIT" ]
BjartN/Rabbitual
src/Rabbitual.Agents.WebServer/Properties/AssemblyInfo.cs
1,428
C#
// Copyright (c) 2020 Sergio Aquilini // This code is licensed under MIT license (see LICENSE file for details) using System; using Silverback.Diagnostics; using Silverback.Messaging.Broker.Behaviors; namespace Silverback.Messaging.Broker { /// <inheritdoc cref="Producer" /> public abstract class Producer<TB...
37.296296
111
0.595829
[ "MIT" ]
mjeanrichard/silverback
src/Silverback.Integration/Messaging/Broker/Producer`2.cs
2,016
C#
using System.Collections.Generic; using System.Linq; using Esprima.Ast; using Jint.Native; using Jint.Runtime.Environments; namespace Jint.Runtime.Debugger { internal class DebugHandler { private readonly Stack<string> _debugCallStack; private StepMode _stepMode; private int _callBackS...
33.990099
116
0.51908
[ "BSD-2-Clause" ]
ahmetkakici/jint
Jint/Runtime/Debugger/DebugHandler.cs
6,868
C#
#Thu Mar 18 16:30:47 CET 2021 lib/com.ibm.ws.javaee.version_1.0.49.jar=aa20b567971d71b754b3f066e361d4d7 lib/com.ibm.ws.javaee.platform.v7_1.0.49.jar=fb81c6638ff004e1ada5832de4ea4a64 lib/features/com.ibm.websphere.appserver.javaeePlatform-7.0.mf=416dd5eb7c3e159006b7206a7ab0b7fc lib/com.ibm.ws.javaee.platform.defaultreso...
61.5
95
0.859079
[ "EPL-1.0" ]
angeloemme80/open-liberty
target/liberty/wlp/lib/features/checksums/com.ibm.websphere.appserver.javaeePlatform-7.0.cs
369
C#
// Generated class v2.14.0.0, can be modified namespace NHtmlUnit.Svg { public partial class SvgFontFace { } }
12.090909
46
0.62406
[ "Apache-2.0" ]
HtmlUnit/NHtmlUnit
app/NHtmlUnit/NonGenerated/Svg/SvgFontFace.cs
133
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("02....
37.621622
84
0.746408
[ "MIT" ]
DimchoLakov/ProgrammingFundamentalsMay2017
Exams/30April2017/30April2017/02.WormIpsum/Properties/AssemblyInfo.cs
1,395
C#
using System; using System.Collections.Generic; using System.Linq; using System.Runtime.CompilerServices; using essentialMix.Extensions; using JetBrains.Annotations; namespace essentialMix.Collections; [Serializable] public class WordList : List<ushort> { public WordList() { } public WordList(int capacity) : ...
26.655172
100
0.709897
[ "MIT" ]
asm2025/essentialMix
Standard/essentialMix.Collections/WordList.cs
3,092
C#
using System; using FluentValidation; using Moq; using OpenRasta.DI; namespace JE.ApiValidation.Tests.RequestValidity.OpenRasta { public abstract class WhenValidatorsAreFound : WhenFluentValidationOperationInterceptorRuns { protected override void GivenResolverStubs() { var dr = Ge...
33.3
109
0.659159
[ "Apache-2.0" ]
justeat/JE.ApiValidation
src/JE.ApiValidation.Tests/RequestValidity/OpenRasta/WhenValidatorsAreFound.cs
668
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Facturacion.Modelo { class Producto { private string id_pro; private string id_cat; private string nom_pro; private double pre_com; private int can_pro; ...
24.678161
70
0.454122
[ "Apache-2.0" ]
darkangel100/sanchez
Facturacion/Modelo/Producto.cs
2,149
C#
using UnityEngine; public class ReadOnlyAttribute : PropertyAttribute { }
24.666667
54
0.824324
[ "Apache-2.0" ]
10xcr4zy01/open-project-1
UOP1_Project/Assets/Scripts/EditorTools/Attributes/ReadOnlyAttribute/ReadOnlyAttribute.cs
74
C#
namespace Morph.Input.Controllers.Features.Gestures { /// <summary> /// Morph controller gesture type /// </summary> public enum MorphControllerGestureType { /// <summary> /// Swipe /// </summary> Swipe } }
18.857143
52
0.55303
[ "MIT" ]
RLefrancoise/Morph
Assets/Morph/Input/Controllers/Features/Gestures/MorphControllerGestureType.cs
266
C#
// <copyright file="EnumerableExtensions.cs" company="Erratic Motion Ltd"> // Copyright (c) Erratic Motion Ltd. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. // </copyright> namespace ErraticMotion { using System; using System.Collec...
37.535
158
0.532703
[ "MIT" ]
erraticmotion/gherkin-net
Gherkin.Net/Gherkin.Tests/EnumerableExtensions.cs
7,509
C#
using System; namespace TrainTheTrainers { internal class Program { static void Main(string[] args) { int jurysCount = int.Parse(Console.ReadLine()); double finalAverageGrade = 0; int counter = 0; string presentationsName = Console.ReadLine(); ...
28.628571
100
0.502994
[ "MIT" ]
Ivanazzz/SoftUni-Software-Engineering
CSharp-Programming-Basics/NestedLoops/lab/TrainTheTrainers/Program.cs
1,004
C#
namespace StudentSystemServices.Models { using StudentSystem.Models; using System; using System.ComponentModel.DataAnnotations; using System.Linq.Expressions; public class StudentTemplate { public static Expression<Func<Student, StudentTemplate>> FromStudent { get ...
24
76
0.518817
[ "Apache-2.0" ]
iliantrifonov/TelerikAcademy
Web services and Cloud/02.AspNetWebApi/01.StudentSystemServices/StudentSystemServices/Models/StudentTemplate.cs
746
C#
using System; namespace Quizzer { class Card { public string Question { get; set; } public string Answer; public string Type; public string[] Options { get; private set; } public int ID; public Card() { Options = new string[4]; Qu...
20.787234
55
0.445241
[ "BSD-3-Clause" ]
lfkeitel/cs358-A5-Quizzer
Quizzer/Card.cs
977
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Reflection; using Advanced_Combat_Tracker; namespace ACT.SpecialSpellTimer { public class AssemblyResolver { #region Singleton private static AssemblyResolver instance; public static Assem...
29.355556
116
0.555261
[ "BSD-3-Clause" ]
MasteRyuuuu/ACT.Hojoring
source/ACT.SpecialSpellTimer/ACT.SpecialSpellTimer/AssemblyResolver.cs
2,704
C#
namespace OpenWeatherMap.Standard { public class Clouds { public int all { get; set; } } }
12.555556
36
0.584071
[ "MIT" ]
jeuxjeux20/OpenWeatherMap.Standard
OpenWeatherMap.Standard/Clouds.cs
115
C#
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
26.534884
63
0.719544
[ "Apache-2.0" ]
AxiosCros/aliyun-openapi-net-sdk
aliyun-net-sdk-smartag/Smartag/Model/V20180313/CreateSagStaticRouteResponse.cs
1,141
C#
using System; using System.Collections; using System.IO; using My2C2P.Org.BouncyCastle.Asn1; using My2C2P.Org.BouncyCastle.Asn1.Ocsp; using My2C2P.Org.BouncyCastle.Asn1.X509; using My2C2P.Org.BouncyCastle.Crypto; using My2C2P.Org.BouncyCastle.Security; using My2C2P.Org.BouncyCastle.Security.Certificates; using My2C2P....
22.511312
100
0.665729
[ "MIT" ]
2C2P/My2C2PPKCS7
My2C2PPKCS7/ocsp/BasicOCSPResp.cs
4,975
C#
using Business.Interfaces; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Authorization.Infrastructure; namespace AppWeb.AuthorizationHandler; public class CustomAuthorizationHandler : IAuthorizationHandler { private readonly IClaimsService _claimsService; private readonly IAccountServic...
28.711111
105
0.649381
[ "MIT" ]
KnJbMfLAgdkwZL/iLearningSolution
AppWeb/AuthorizationHandler/CustomAuthorizationHandler.cs
1,292
C#
using System; using System.IO; using System.Security.Cryptography; using System.Text; using System.Threading; using System.Threading.Tasks; using Calabonga.Catalog.Core.Exceptions; namespace Calabonga.Catalog.Web.Infrastructure.Helpers { /// <summary> /// System utilities /// </summary> public static ...
28.252874
82
0.439788
[ "MIT" ]
Calabonga/Calabonga.Catalog
Source/Calabonga.Catalog/Calabonga.Catalog.Web/Infrastructure/Helpers/Utilites.cs
4,918
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. /*============================================================ ** ** ** ** Purpose: Managed ACL wrapper for files & ...
24.527778
84
0.556059
[ "MIT" ]
CryptoPro/corefx
src/System.IO.FileSystem.AccessControl/src/System/Security/AccessControl/DirectorySecurity.cs
883
C#
using System; using System.Collections.Generic; using System.IO; namespace LibCompressionEstimator { interface IEstimatorRunner { IEnumerable<EstimationResult> Estimate(IEnumerable<DirectoryInfo> directories, Func<DirectoryInfo, EstimationResult> estimateFunc); } }
24.916667
140
0.752508
[ "MIT" ]
jborza/compression-estimator
LibCompressionEstimator/IEstimatorRunner.cs
301
C#
using System.Management.Automation; using Microsoft.SharePoint.Client; using OfficeDevPnP.PowerShell.CmdletHelpAttributes; namespace OfficeDevPnP.PowerShell.Commands.PageLayout { [Cmdlet(VerbsCommon.Add, "SPOPublishingPageLayout")] [CmdletHelp("Adds a publishing page layout", Category = CmdletHelpCatego...
41.351351
130
0.70719
[ "MIT" ]
Dean144/PnP-PowerShell
Commands/Publishing/AddPublishingPageLayout.cs
1,532
C#
using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.DependencyInjection.Extensions; using Microsoft.Extensions.Hosting; using Stl.RegisterAttributes.Internal; namespace Stl.RegisterAttributes; public class RegisterHostedServiceAttribute : RegisterServiceAttribute { public override void Regi...
41.911765
97
0.736842
[ "MIT" ]
ScriptBox21/Stl.Fusion
src/Stl.RegisterAttributes/Attributes/RegisterHostedServiceAttribute.cs
1,425
C#
// *** WARNING: this file was generated by the Pulumi SDK Generator. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Threading.Tasks; using Pulumi.Serialization; namespace Pulumi.Azur...
35.666667
128
0.619418
[ "Apache-2.0" ]
pulumi/pulumi-azure-nextgen
sdk/dotnet/VirtualMachineImages/V20190501Preview/Inputs/ImageTemplateRestartCustomizerArgs.cs
1,926
C#
// ========================================================================== // Squidex Headless CMS // ========================================================================== // Copyright (c) Squidex UG (haftungsbeschränkt) // All rights reserved. Licensed under the MIT license. // ============================...
35.586885
147
0.539432
[ "MIT" ]
mhilgersom/squidex
backend/src/Squidex/Areas/Api/Controllers/Apps/AppsController.cs
10,857
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("L2_...
37.297297
84
0.745652
[ "MIT" ]
doXi70/Homework_SoftUni
L2_T12/Properties/AssemblyInfo.cs
1,383
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // 有关程序集的常规信息通过以下 // 特性集控制。更改这些特性值可修改 // 与程序集关联的信息。 [assembly: AssemblyTitle("DNSManager")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assemb...
26.837838
59
0.687815
[ "MIT" ]
dnslocal/dnslocal-windows
DNSManager/DNSManager/Properties/AssemblyInfo.cs
1,352
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace YiSha.Entity.SystemManage { public class IdEntity { public long? Id { get; set; } public string Token { get; set; } } }
18.4
41
0.677536
[ "MIT" ]
guoer1228/YiShaAdmin
YiSha.Entity/YiSha.Entity/SystemManage/IdEntity.cs
278
C#
using SPICA.PICA.Commands; using System; namespace SPICA.Formats.CtrGfx.Model.Mesh { public enum GfxGLDataType : uint { GL_BYTE = 0x1400, GL_UNSIGNED_BYTE = 0x1401, GL_SHORT = 0x1402, GL_UNSIGNED_SHORT = 0x1403, GL_FLOAT = 0x1406, G...
30.484848
90
0.590457
[ "Unlicense" ]
AkelaSnow/SPICA
SPICA/Formats/CtrGfx/Model/Mesh/GfxGLDataType.cs
1,008
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using Microsoft.AspNet.Identity; using Microsoft.AspNet.Identity.Owin; using HullMaker.Models; namespace HullMaker.Account { public partial class...
36.623377
183
0.604965
[ "MIT" ]
ArenaDave/CodeFighter
CodeFighter/HullMaker/Account/TwoFactorAuthenticationSignIn.aspx.cs
2,822
C#
using System; using CAFU.Core.Domain.Model; using CAFU.Core.Presentation.Presenter; using JetBrains.Annotations; using UnityEngine; using Object = UnityEngine.Object; namespace CAFU.Core.Presentation.View { // 本当は IMonoBehaviour 的なモノを継承したいところだが、そんな inteface ないので規約ベースで頑張る [PublicAPI] public interface IView...
34.219048
137
0.629001
[ "MIT" ]
c-c-c-c/cafu_core
Assets/Scripts/Presentation/View/View.cs
3,665
C#
// <copyright file="RequestSerialiserTests.cs" company="Glenn Watson"> // Copyright (c) 2018 Glenn Watson. All rights reserved. // See LICENSE file in the project root for full license information. // </copyright> namespace GitLfs.Core.Tests { using GitLfs.Core.BatchRequest; using Xunit; publ...
36.530612
207
0.559777
[ "MIT" ]
glennawatson/GitLfsCachingServer
GitLfs.Core.Tests/RequestSerialiserTests.cs
1,792
C#
namespace Rabbiter.Core.Events.Listeners { using Microsoft.Extensions.Logging; using Rabbiter.Core.Abstractions; using Rabbiter.Core.Abstractions.Events; using Rabbiter.Core.Abstractions.Publishers; using System; using System.Threading.Tasks; public class EventProcessingFaultResolver ...
37.119048
104
0.661321
[ "Apache-2.0" ]
goOrn/RabbiteR
src/Rabbiter.Core/Events/Listeners/EventProcessingFaultResolver.cs
1,561
C#
using System.Collections.Generic; namespace EndIf.Yust { [Description(token: "(", precedence: 0)] internal class ParenthesesStart : Instruction { public override bool Execute(Stack<object> stack, IDictionary<string, object> context) { return true; } } [Descript...
24.130435
94
0.616216
[ "MIT" ]
GugeNet/Yust
Yust/Parentheses.cs
557
C#
namespace AlgoExpertTest { using AlgoExpert; using FluentAssertions; using NUnit.Framework; [TestFixture] [Parallelizable(ParallelScope.All)] public class ValidIPAddressesTest { [Test] public void TestCase1() { var str = "1921680"; var expect...
25.791667
53
0.422725
[ "MIT" ]
KucherenkoSerhiy/AlgoPractice
SandBoxTest/ValidIPAddressesTest.cs
1,859
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by \generate-code.bat. // // Changes to this file will be lost when the code is regenerated. // The build server regenerates the code before each build and a pre-build // step ...
42.896694
176
0.621905
[ "MIT-feh" ]
Gas-Liquids-Engineering/UnitsNet
UnitsNet.NanoFramework/GeneratedCode/Quantities/EnthalpyMolar.g.cs
10,381
C#
using CMS; using CMS.DataEngine; using DoctorAppointments; [assembly: RegisterModule(typeof(DoctorAppointmentsModule))] public class DoctorAppointmentsModule : Module { // Module class constructor, inherits from the base constructor with the code name of the module as the parameter public DoctorAppointmentsM...
29.625
117
0.7173
[ "MIT" ]
Kentico/DEV02-K12
DoctorAppointments/DoctorAppointments.cs
713
C#
using Micky5991.Quests.Entities; using Micky5991.Quests.Interfaces.Nodes; namespace Micky5991.Quests.Tests.Entities { public class DummyParallelNode : QuestParallelNode { public DummyParallelNode(IQuestRootNode rootNode) : base(rootNode) { } } }
21.071429
57
0.684746
[ "MIT" ]
Micky5991/Quests
Quests.Tests/Entities/DummyParallelNode.cs
295
C#
// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // re...
46.153061
255
0.590316
[ "MIT" ]
0rland0Wats0n/azure-sdk-for-net
sdk/securitycenter/Microsoft.Azure.Management.SecurityCenter/src/Generated/ExternalSecuritySolutionsOperationsExtensions.cs
9,046
C#
#nullable enable using System.Threading.Tasks; using Content.Server.GameObjects.Components.Chemistry; using Content.Server.GameObjects.EntitySystems.DoAfter; using Content.Shared.Chemistry; using Content.Shared.Interfaces; using Content.Shared.Interfaces.GameObjects.Components; using Content.Shared.Utility; using Robus...
36.005747
149
0.583081
[ "MIT" ]
FoundVivo/space-station-14
Content.Server/GameObjects/Components/Fluids/MopComponent.cs
6,265
C#
 #pragma checksum "C:\Users\bablu\Desktop\code-fun-do\project\dot2\MainPage.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "F8809B4186E2A18B251D68782A3A5642" //------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // // Changes...
34.567568
156
0.538702
[ "MIT" ]
babbhoi/Gravity_Point
project/dot2/obj/Debug/MainPage.g.cs
1,281
C#
/* * Copyright 2011 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to i...
42.075
144
0.568776
[ "Apache-2.0" ]
CoiniumServ/BitcoinSharp
tags/0.2/Core/Transaction.cs
20,196
C#
// c:\program files (x86)\windows kits\10\include\10.0.18362.0\um\d3d10.h(3235,5) using System; using System.Runtime.InteropServices; namespace DirectN { [Guid("9b7e4c09-342c-4106-a19f-4f2704f689f0"), InterfaceType(ComInterfaceType.InterfaceIsIUnknown)] public partial interface ID3D10DepthStencilView : ID3D10...
43.125
188
0.664493
[ "MIT" ]
bbday/DirectN
DirectN/DirectN/Generated/ID3D10DepthStencilView.cs
1,382
C#
using UnityEngine; using UnityEditor; using UnityEditor.ProBuilder.UI; using System.Linq; using UnityEngine.ProBuilder.Stl; using UnityEngine.ProBuilder; using UnityEditor.ProBuilder; namespace UnityEditor.ProBuilder.Actions { sealed class ExportStlBinary : MenuAction { public override ToolbarGroup gro...
29.391304
98
0.632396
[ "MIT" ]
ASE-Blast/unity3dgames
Space Game/Library/PackageCache/com.unity.probuilder@4.1.2/Editor/MenuActions/Export/ExportStlBinary.cs
1,352
C#
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Xml; namespace Microsoft.Protocols.TestManager.Kern...
38.894353
137
0.46799
[ "MIT" ]
0neb1n/WindowsProtocolTestSuites
ProtocolTestManager/Kernel/PtfConfig/PtfConfig.cs
21,355
C#
#if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR) using System; using Org.BouncyCastle.Math.Raw; namespace Org.BouncyCastle.Math.EC.Custom.Sec { internal class SecP192R1Point : AbstractFpPoint { /** * Create a point which encodes with point compression...
31.806338
126
0.488763
[ "MIT" ]
czlsy009/UnityAppMVCFramework
Framework/Assets/SilenceFramework/Libs/Best HTTP (Pro)/BestHTTP/SecureProtocol/math/ec/custom/sec/SecP192R1Point.cs
9,033
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web.Script.Serialization; namespace WindowsFormsApplication1 { public class ValueChecker { public int Value(int input) { int betrag = 0; if (input == 0) { betrag ...
27.892857
139
0.370038
[ "MIT" ]
igeligel/Fifa13UltimateTeamAutobuyer
FUT 13 Autobuyer/ValueChecker.cs
3,907
C#
using System.Drawing; namespace DJMaxEditor.Controls.Editor.Renderers.Zones.Trilogy { internal class Trilogy7kZoneRenderer : ZoneRenderer { public override void DrawZones(GraphicsWrapper g, int trackIndex, int trackX, int trackY, int width, int height, Rectangle bounds) { DrawZone(...
34.842105
138
0.65861
[ "Apache-2.0" ]
hsreina/DJMax-Editor
DJMaxEditor/Controls/Editor/Renderers/Zones/Trilogy/Trilogy7kZoneRenderer.cs
664
C#
using PnP.Framework.Extensions; using System; using System.Collections.Generic; namespace PnP.Framework.Provisioning.Providers.Xml.Resolvers.V201705 { /// <summary> /// Resolves the IRM Settings of a List from Schema to Domain Model /// </summary> internal class IRMSettingsFromSchemaToModelTypeResolve...
29.514286
119
0.638916
[ "MIT" ]
Arturiby/pnpframework
src/lib/PnP.Framework/Provisioning/Providers/Xml/Resolvers/V201705/IRMSettingsFromSchemaToModelTypeResolver.cs
1,035
C#
// SF API version v50.0 // Custom fields included: False // Relationship objects included: True using System; using NetCoreForce.Client.Models; using NetCoreForce.Client.Attributes; using Newtonsoft.Json; namespace NetCoreForce.Models { ///<summary> /// Field Security Classification ///<para>SObject Name: FieldSec...
27.993464
58
0.65795
[ "MIT" ]
Mintish/NetCoreForce
src/NetCoreForce.Models/SfFieldSecurityClassification.cs
4,283
C#
#region License /* Copyright © 2014-2021 European Support Limited Licensed under the Apache License, Version 2.0 (the "License") you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
30.431818
102
0.668409
[ "Apache-2.0" ]
Ginger-Automation/Ginger
Ginger/Ginger/UserControlsLib/PieChart/Utils.cs
1,340
C#
using System.Reflection; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")...
42.052632
84
0.779725
[ "MIT" ]
sweetguo/PortalMicroService
aspnet-core/src/Institute.Portal.Application/Properties/AssemblyInfo.cs
801
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class ParticleManager : MonoBehaviour { [SerializeField] float decayTime = 3f; private void Awake() { Destroy(gameObject, decayTime); } }
16.0625
44
0.692607
[ "MIT" ]
TheGeekSKM/BossBattle_Project01
Assets/Scripts/ParticleManager.cs
259
C#
using System.Collections; using System.Collections.Generic; using System; using NetRuntimeSystem = System; using System.ComponentModel; using NetOffice.Attributes; using NetOffice.CollectionsGeneric; namespace NetOffice.ExcelApi { /// <summary> /// DispatchInterface SlicerCaches /// SupportByVersion Excel, 14,15,...
35.732441
196
0.701797
[ "MIT" ]
NetOfficeFw/NetOffice
Source/Excel/DispatchInterfaces/SlicerCaches.cs
10,686
C#
#region Using Statements using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; #endregion namespace Artemis.Engine.Utilities.UriTree { /// <summary> /// A recursive container structure where items and subgroups are /// accessed using a "URI" (a name wit...
31.632558
108
0.504632
[ "MIT" ]
ArtemisEngine/Artemis-Engine
Artemis.Engine/Utilities/UriTree/UriTreeGroup.cs
6,803
C#
using System; using System.Collections.Generic; using System.IO; using System.Text; using System.Diagnostics.CodeAnalysis; using System.Net; using Renci.SshNet.Common; namespace Renci.SshNet { /// <summary> /// Provides client connection to SSH server. /// </summary> public class SshClient : BaseClien...
51.066536
249
0.616287
[ "BSD-2-Clause", "BSD-3-Clause" ]
0x727/metasploit-framework
external/source/Scanner/share/Renci.SshNet/SshClient.cs
26,105
C#
using Aop.Api.Response; using Com.Alipay.Business; using Com.Alipay.Domain; using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace Com.Alipay { /// <summary> /// IAlipayMonitor 的摘要说明 /// </summary> public interface IAlipayMonitor { //云监控接口 ...
18.318182
82
0.704715
[ "Apache-2.0" ]
WangJunZzz/AlipayDemo
AspNet/Module/F2FPayDll/Business/IAlipayMonitor.cs
425
C#
namespace Core.TileBodies { struct Computer { // Tag component } }
11
26
0.556818
[ "MIT" ]
SpencasaurusRex/ARA2D
Core/TileBodies/Computer.cs
90
C#
using PopupWindowActionSample.Views; using Prism.Ioc; using Prism.Modularity; using Prism.Regions; using System.Windows; namespace PopupWindowActionSample { /// <summary> /// Interaction logic for App.xaml /// </summary> public partial class App { protected override Window CreateShell() ...
28.617647
102
0.660843
[ "MIT" ]
kwhrkzk/Prism7Sample
PopupWindowActionSample/App.xaml.cs
975
C#
using Newtonsoft.Json; namespace Vendr.Contrib.OrderLabels.Web.Models.Response { internal class LabelGeneratorResponse { [JsonProperty("name")] public string Name { get; set; } [JsonProperty("alias")] public string Alias { get; set; } } }
21.923077
55
0.635088
[ "MIT" ]
callumbwhyte/vendr-order-labels
src/Vendr.Contrib.OrderLabels/Web/Models/Response/LabelGeneratorResponse.cs
287
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class BoundariesController : MonoBehaviour { public void CheckBoundaries(in Vector2 pos, out Vector2 newPos, in Vector2 objTransformPos, in float boundariesRadius) { newPos = objTransformPos; // Do vertical ...
29.344828
122
0.611046
[ "Apache-2.0" ]
KryvytskyiDenis/Asteroids
Asteroids/Assets/Scripts/BoundariesController.cs
1,704
C#
// Developed by Softeq Development Corporation // http://www.softeq.com using System; using NSubstitute; using Softeq.XToolkit.Common.Tests.WeakTests.Utils; using Xunit; namespace Softeq.XToolkit.Common.Tests.WeakTests.WeakActionTests { public class WeakAnonymousActionWithInstanceReferenceTests { [Fac...
32.371795
95
0.628119
[ "MIT" ]
Softeq/XToolkit.WhiteLabel
Softeq.XToolkit.Common.Tests/WeakTests/WeakActionTests/WeakAnonymousActionWithInstanceReferenceTests.cs
2,525
C#
#pragma warning disable 108 // new keyword hiding #pragma warning disable 114 // new keyword hiding namespace Windows.Media.MediaProperties { #if __ANDROID__ || __IOS__ || NET46 || __WASM__ || __MACOS__ [global::Uno.NotImplemented] #endif public partial class TimedMetadataEncodingProperties : global::Windows.Media...
44.7
214
0.779922
[ "Apache-2.0" ]
AlexTrepanier/Uno
src/Uno.UWP/Generated/3.0.0.0/Windows.Media.MediaProperties/TimedMetadataEncodingProperties.cs
3,576
C#
//******************************************************************************************************************************************************************************************// // Copyright (c) 2021 @redhook62 (adfsmfa@gmail.com) ...
45.538387
211
0.531744
[ "MIT" ]
neos-sdi/adfsmfa
Neos.IdentityServer 3.1/Neos.IdentityServer.MultiFactor.WebAuthN.Provider/Neos.IdentityServer.MultiFactor.Providers.WebAuthN.cs
46,877
C#
 using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Text; using GodLesZ.Library.Win7.Shell; using MS.WindowsAPICodePack.Internal; namespace GodLesZ.Library.Win7.Controls { internal enum ShellViewGetItemObject { Background = 0x00000000, Selection = 0x00000001...
38.614691
132
0.772802
[ "MIT" ]
GodLesZ/godlesz.library
Win7/Shell/Interop/ExplorerBrowser/ExplorerBrowserCOMInterfaces.cs
29,967
C#
using System; using System.Xml.Serialization; using System.ComponentModel.DataAnnotations; using BroadWorksConnector.Ocip.Validation; using System.Collections.Generic; namespace BroadWorksConnector.Ocip.Models { /// <summary> /// /// </summary> [Serializable] [XmlRoot(Namespace = "")] [Groups...
28.545833
131
0.54357
[ "MIT" ]
Rogn/broadworks-connector-net
BroadworksConnector/Ocip/Models/SystemVoiceMessagingGroupGetVoicePortalMenusResponse20AdditionalMessageOptionsMenuKeys.cs
6,851
C#
using System; using System.Collections.Generic; static List<uint> Collatz(uint seed) { List<uint> _history = new(); _history.Add(seed); while (seed > 1) if (seed % 2 == 0) seed /= 2; else { seed *= 3; seed++; } _h...
22.484848
62
0.586253
[ "MIT" ]
Innf107/collatz
C#/GermanBread/Program.cs
744
C#
using Microsoft.EntityFrameworkCore.Migrations; namespace ABP.TPLMS.Migrations { public partial class Upgrade_ABP_380 : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AlterColumn<string>( name: "UserName", ...
31.515625
71
0.495786
[ "MIT" ]
ChenQian1984/ABP.TPLMS
aspnet-core/src/ABP.TPLMS.EntityFrameworkCore/Migrations/20180726102703_Upgrade_ABP_3.8.0.cs
2,019
C#
using System; namespace SampleGithubActionApp { class Program { static void Main(string[] args) { Console.WriteLine("Hello World!"); } } }
14.538462
46
0.544974
[ "Apache-2.0" ]
Jalalx/SampleGithubActionApp
Program.cs
191
C#
using Client.Core.UI.HitMenu; using Newtonsoft.Json; using System; using static Client.Core.Internal.CAPI; namespace Client.Core.UI { public class HitMenuItem { public string Id { get; private set; } = RandomString(); public string Text { get; set; } public string Emoji { get; set; } ...
26.966667
104
0.61063
[ "CC0-1.0" ]
average-framework/average-framework
Average.Client/Core/UI/HitMenu/HitMenuItem.cs
811
C#
using UnityEngine; using System.Collections; public class Rotator : MonoBehaviour { public Vector3 delta; public Space relativeTo; void Update () { if (relativeTo == Space.Self) transform.localEulerAngles += delta * Time.deltaTime; else transform.eulerAngles += delta * Time.deltaTime; } }
19.3125
56
0.724919
[ "Apache-2.0" ]
Slamakans/Game-Bois
Assets/Scripts/Utility/Rotator.cs
311
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Me...
38.351351
84
0.7463
[ "MIT" ]
mariovarela99/C-Projects
Projects/Media Player Aplication/Media Player Aplication/Properties/AssemblyInfo.cs
1,422
C#
using System.Collections.Generic; using System.Collections.ObjectModel; using System.ComponentModel.DataAnnotations; using Newtonsoft.Json; namespace BizzebeeSharp.Entities { public class ProductCategoryModelUpdatable { /// <summary>The product category Id</summary> [JsonProperty("categoryId")]...
38.982759
126
0.640425
[ "MIT" ]
PrimePenguin/BizzebeeSharp
BizzebeeSharp/Entities/ProductCategoryModelUpdatable.cs
2,261
C#
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; using Microsoft.AspNetCore.Connections; using Microsoft.Extensions.Options; na...
37.581395
238
0.69802
[ "MIT" ]
Andy9FromSpace/azure-signalr
src/Microsoft.Azure.SignalR.Management/ManagementConnectionFactory.cs
1,618
C#
using MelonManager.Utils; using System; using System.IO; using System.Linq; namespace MelonManager.Managers { public static class Logger { private const int MaxLogFiles = 10; public static string logsDir = Path.Combine(Program.localFilesPath, "Logs"); public static string currentLogPat...
32.378641
128
0.51994
[ "MIT" ]
RinLovesYou/MelonManager
MelonManager/Managers/Logger.cs
3,337
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System; using System.Runtime.InteropServices; using System.Runtime.CompilerServices; using System.Text; using Silk.NET.Core; using Silk.NET.Core.Native; using Silk.NET.Core.Attr...
73.401961
245
0.735274
[ "MIT" ]
Ar37-rs/Silk.NET
src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.SGIS/SgisTextureFilter4.gen.cs
7,487
C#
using System; using System.Threading; namespace MultiThreading.Threads { public class SharedResource { private static bool isCompleted; static readonly object lockCompleted = new object(); public static void Run() { //Worked Thread Thread thread = new ...
21.564103
76
0.491082
[ "MIT" ]
SaeidSabzalizadeh/CSharp-Practices
Source/CSharpPractices/MultiThreading/Threads/SharedResource.cs
843
C#
using CCXT.NET.Shared.Configuration; using CCXT.NET.Shared.Serialize; using Newtonsoft.Json; using Newtonsoft.Json.Linq; using RestSharp; using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Diagnostics; using System.Globalization; using System.Linq; using System.Net; using...
35.178095
170
0.532934
[ "MIT" ]
lisa3907/ccxt.net
src/shared/standard/XApiClient.cs
36,939
C#
using System; namespace _07.StringExplosion { class Program { static void Main(string[] args) { string text = Console.ReadLine(); int strength = 0; for (int i = 0; i < text.Length; i++) { if (text[i] == '>') { ...
21.125
66
0.343195
[ "MIT" ]
grekssi/Softuni-Courses
SoftUni/01. .NET Courses/02. Technology Fundamentals - C#/15. Strings and Text Processing/Exercises/07.StringExplosion/07.cs
678
C#
using System; using System.Collections; using System.Collections.Generic; [Serializable] public class GameState { public Board board; public GameState() { this.board = new Board(); } } [Serializable] public class Board { public List<BoardSquare> boardSquares; public Board() ...
14.877551
63
0.636488
[ "MIT" ]
hsadler/simple-unity-multiplayer
GameClient/Assets/Scripts/GameState.cs
729
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System.Collections.Immutable; using System.Diagnostics; using System.Linq; using Microsoft.CodeAnalysis.Poole...
39.848739
183
0.576339
[ "MIT" ]
belav/roslyn
src/Compilers/Core/Portable/DiagnosticAnalyzer/AnalyzerDriver.GroupedAnalyzerActions.cs
4,744
C#
using System; using System.Threading.Tasks; using Dragino.Gps.Messages; namespace Dragino.Gps { public interface IGpsManager : IPositionProvider { /// <summary> /// Event fired when a standard GPS message arrives. /// </summary> event EventHandler<StandardGpsMessageEventArgs> O...
30.41791
81
0.576546
[ "MIT" ]
eberkund/Dragino.Lora
Dragino.Lora/Gps/IGpsManager.cs
2,040
C#
//Do not edit! This file was generated by Unity-ROS MessageGeneration. using System; using System.Linq; using System.Collections.Generic; using System.Text; using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Moveit { [Serializable] public class ExecuteTrajectoryFeedback : Message...
28.396552
141
0.66606
[ "MIT" ]
scottwillmoore/fetch_vr
unity/Assets/Fetch VR/Messages/Moveit/action/ExecuteTrajectoryFeedback.cs
1,647
C#
// *** WARNING: this file was generated by pulumigen. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Threading.Tasks; using Pulumi.Serialization; namespace Pulumi.Kubernetes.Types.In...
44.325843
207
0.651711
[ "Apache-2.0" ]
AaronFriel/pulumi-kubernetes
sdk/dotnet/Apps/V1Beta2/Inputs/DaemonSetStatusArgs.cs
3,945
C#
/* * 金庸群侠传3D重制版 * https://github.com/jynew/jynew * * 这是本开源项目文件头,所有代码均使用MIT协议。 * 但游戏内资源和第三方插件、dll等请仔细阅读LICENSE相关授权协议文档。 * * 金庸老先生千古! */ using Jyx2; using Jyx2.Middleware; using System; using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class Jyx2RoleSele...
27.34
147
0.636064
[ "MIT" ]
Alinccc/jynew
jyx2/Assets/Scripts/Jyx2RoleSelector.cs
2,872
C#
// LeetCode #448 // https://leetcode.com/problems/find-all-numbers-disappeared-in-an-array/ // // Given an array nums of n integers where nums[i] is in the range [1, n], return an array of all the integers in the range [1, n] that do not appear in nums. // This solution uses the value of the number for the actual ind...
41.633333
158
0.629303
[ "MIT" ]
eander01/InterviewPrep
Solutions/LeetCode/0448/FindDisappearedNumbers.cs
1,249
C#
//////////////////////////////////////////////////////////////////////////////// //NUnit tests for "EF Core Provider for LCPI OLE DB" // IBProvider and Contributors. 05.12.2020. using System; using System.Data; using System.ComponentModel.DataAnnotations; using System.ComponentMode...
27.248889
184
0.551623
[ "MIT" ]
ibprovider/Lcpi.EFCore.LcpiOleDb
Tests/General/Source/Work/DBMS/Firebird/V03_0_0/D3/Query/Operators/SET_001/Multiply/Complete/NullableInt32/NullableDouble/TestSet_001__fields.cs
6,133
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; namespace NingyoRi { public enum ManagerType { TextMap, Input, Resource, UI, Entity, None } public partial class TextMapManager { public override ManagerType managerType { get { return ManagerType.TextMap; } } } publ...
18.767442
82
0.741016
[ "MIT" ]
IdlessChaye/NoMono
Assets/TouhouNingyoMatsuri/Scripts/Src/Managers/ManagerType.cs
809
C#
using AIS.Parser.Contracts; using AIS.Parser.Models; using Microsoft.Extensions.DependencyInjection; namespace AIS.Parser.Bootstrapping { public class DefaultBootstrappingConfiguration { public void Bootstrap(IServiceCollection serviceCollection) { serviceCollection.AddSingleton<IP...
38.761905
127
0.743243
[ "MIT" ]
StephenDemanuele/Marine_AIS
AIS.Parser/Bootstrapping/DefaultBootstrappingConfiguration.cs
816
C#
// (c) Copyright Microsoft Corporation. // This source is subject to the Microsoft Public License (Ms-PL). // Please see http://go.microsoft.com/fwlink/?LinkID=131993 for details. // All other rights reserved. using Avalonia.Controls.Metadata; using Avalonia.Controls.Mixins; using Avalonia.Controls.Primitives; using ...
34.243956
151
0.54175
[ "MIT" ]
0x90d/Avalonia
src/Avalonia.Controls.DataGrid/DataGridRowGroupHeader.cs
15,583
C#
using System; using System.Collections.Generic; using System.Linq; using ISAAR.MSolve.FEM.Stochastic; using ISAAR.MSolve.Solvers.Interfaces; using ISAAR.MSolve.Solvers.PCGSkyline; using ISAAR.MSolve.Numerical.LinearAlgebra; using ISAAR.MSolve.Numerical.LinearAlgebra.Interfaces; namespace ISAAR.MSolve.Analyzers { ...
46.699819
148
0.4212
[ "Apache-2.0" ]
SerafeimBakalakos/MSolve
ISAAR.MSolve.Analyzers/PolynomialChaosSolverPCGMatrixCalculator.cs
51,652
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class baozha : MonoBehaviour { // Start is called before the first frame update void Start() { //GameObject.Find("baozha").GetComponent<ParticleSystem>().Stop(); GameObject.FindGameObjectWithTag("baozha")...
25.032258
93
0.643041
[ "MIT" ]
SSTeeo/Development-of-game07
BlackCat/Assets/Scripts/taoyucheng/baozha.cs
778
C#
using MasterServerToolkit.Networking; using System; using System.Collections.Generic; namespace MasterServerToolkit.MasterServer { public interface ILobby { int Id { get; } string Type { get; set; } string GameIp { get; } int GamePort { get; } int MaxPlayers { get; } ...
34.681818
82
0.707077
[ "MIT" ]
rafaeldolfe/MasterServerChess
Assets/MasterServerToolkit/MasterServer/Scripts/Modules/Lobbies/ILobby.cs
1,528
C#