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
// [[[[INFO> // Copyright 2015 Epicycle (http://epicycle.org, https://github.com/open-epicycle) // // 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...
31.539216
130
0.448451
[ "Apache-2.0" ]
open-epicycle/Epicycle.Graphics-cs
projects/Epicycle.Graphics_cs/Color/Spaces/HSxUtils.cs
9,653
C#
using Leak.Common; namespace Leak.Extensions { public interface MoreHandler { void OnHandshake(FileHash hash, PeerHash peer, byte[] payload); void OnMessageReceived(FileHash hash, PeerHash peer, byte[] payload); void OnMessageSent(FileHash hash, PeerHash peer, byte[] payload); } ...
24.692308
77
0.691589
[ "MIT" ]
amacal/leak
sources/Leak.Extensions/MoreHandler.cs
323
C#
namespace _1_ClassInClass { using System; public class SomeClass { private const int MAX_COUNT = 6; public static void Main() { SomeClass.ConsoleWriter writer = new SomeClass.ConsoleWriter(); writer.Print(true); } public class ConsoleWrite...
18.814815
75
0.505906
[ "MIT" ]
razsilev/TelerikAcademy_Homework
High-Quality_Code/04_NamingIdentifiers/1_ClassInClass/SomeClass.cs
510
C#
namespace Fix { public static partial class Dictionary { public class DataType { // We can't reference the base type here directly or we get initialisation exceptions. // eg. new DataType("Length", DataTypes.Int, "" ...) // To work around that we initialist B...
32.461538
103
0.554502
[ "Apache-2.0" ]
epronk/FixClient
Fix.Dictionary/DataType.cs
844
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
41.539326
153
0.627536
[ "MIT" ]
ScriptBox99/msgraph-beta-sdk-dotnet
src/Microsoft.Graph/Generated/requests/ManagedDeviceCreateDeviceLogCollectionRequestRequest.cs
3,697
C#
using System; using System.Diagnostics; using System.Reflection; using FluentAssertions.Common; using FluentAssertions.Execution; namespace FluentAssertions.Types { /// <summary> /// Contains a number of methods to assert that a <see cref="MethodInfo"/> is in the expected state. /// </summary> [Debugge...
49.770213
161
0.616878
[ "Apache-2.0" ]
BoundfoxStudios/fluentassertions-unity
FluentAssertions/Packages/com.boundfoxstudios.fluentassertions/Editor/FluentAssertions/Types/MethodInfoAssertions.cs
11,696
C#
[System.Serializable] public class Blueprint { public string type; public int level; public float fuel; public UnityEngine.Vector3 pos; public UnityEngine.Vector3 rot; public float maxT; }
19.454545
35
0.71028
[ "Apache-2.0" ]
aiceplays/Aiceplays-s-space-programm
Blueprint.cs
214
C#
using System; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; namespace UIEvo.Data.AppDb.Migrations { public partial class Initial : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.CreateTabl...
44.300813
114
0.50156
[ "MIT" ]
volodymyr-karpenko/UIEvoSPA
UIEvo/Data/AppDb/Migrations/20200701143047_Initial.cs
10,900
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("Kri...
38.756757
84
0.75523
[ "MIT" ]
kristiyanyanchev/It-Kariera-Software-Development-Project
Kristiyan_Yanchev_Lorenzo_Eccheli/Kristiyan_Yanchev_Lorenzo_Eccheli/Properties/AssemblyInfo.cs
1,437
C#
using addon365.FindMatch360.Data; using addon365.FindMatch360.Models; using addon365.FindMatch360.Models.MatrimonyProfileModels; using addon365.FindMatch360.ViewModels; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Identity; us...
36.947883
457
0.556026
[ "Apache-2.0" ]
addon365/FindMatch360
Src/Web/addon365.FindMatch360/Controllers/MatrimonyProfilesController.cs
11,345
C#
using NUnit.Framework; using SKBKontur.SeleniumTesting.Tests.TestEnvironment; namespace SKBKontur.SeleniumTesting.Tests.RadioGroupTests { [DefaultWaitInterval(2000)] public class RadioGroupTest : TestBase { public RadioGroupTest(string reactVersion, string retailUiVersion) : base(react...
23.551724
74
0.625183
[ "MIT" ]
ArkadiyVoronov/retail-ui
packages/react-ui-testing/Tests/RadioGroupTests/RadioGroupTest.cs
683
C#
#region License /* ************************************************************************************** * Copyright (c) Librame Pong All rights reserved. * * https://github.com/librame * * You must not remove this notice, or any other, from this software. * **************************************************...
28.672727
116
0.570704
[ "MIT" ]
gitter-badger/extensions-tick
src/LibrameTick.Extensions/Data/IObjectCreator.cs
1,919
C#
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using System.Net.Mail; using DelauNET.Model; namespace DelauNET.Triangulation { public class BowyerWatsonTriangulator : ITriangulator { public Vertex[] Vertices => _vertices.ToArray(); priva...
34.54375
117
0.544237
[ "Unlicense" ]
Lyntier/DelauNET
DelauNET/Triangulation/BowyerWatsonTriangulator.cs
5,527
C#
using System.Runtime.InteropServices; namespace MGroup.LinearAlgebra.Providers.MKL { /// <summary> /// Platform invoke methods for Intel MKL's Sparse BLAS. These are not covered by any nuget packages. Also see MKL's C user /// guide. /// Authors: Serafeim Bakalakos /// </summary> internal cl...
41.722222
129
0.6751
[ "Apache-2.0" ]
SerafeimBakalakos/LinearAlgebra
src/MGroup.LinearAlgebra/Providers/MKL/SparseBlasPinvokes.cs
753
C#
namespace Newsweek.Handlers.Commands.NewsTags { using System; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; using MediatR; using Newsweek.Data.Models; using Newsweek.Handlers.Commands.Common.Create; using Newsweek.Ha...
36.063492
112
0.590669
[ "MIT" ]
itplamen/Newsweek
Newsweek/Handlers/Newsweek.Handlers.Commands/NewsTags/CreateNewsTagsCommandHandler.cs
2,274
C#
using Barebone.ViewModels.Shared; using System; using System.Collections.Generic; using System.Text; namespace Barebone.ViewModels.Shared { public class MenuViewModel { public IEnumerable<MenuItemViewModel> MenuItems { get; set; } } }
19.769231
69
0.7393
[ "Apache-2.0" ]
cedriclange/EducationSolution
EducationSolution/Barebone/ViewModels/Shared/Menu/MenuViewModel.cs
259
C#
namespace DotNetCSS { public static class PseudoClassNames { public static readonly string Root = "root"; public static readonly string Scope = "scope"; public static readonly string OnlyType = "only-of-type"; public static readonly string FirstOfType = "first-of-type"; ...
55.480769
77
0.67799
[ "MIT" ]
grapoza/DotNetCSS
src/DotNetCSS/Enumerations/PseudoClassNames.cs
2,887
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:2.0.50727.1433 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated...
49.008183
183
0.552531
[ "Apache-2.0" ]
yafraorg/yafra-tdb-csharp
tdbadmin/tdbds/LangVsel.Designer.cs
29,946
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.AwsN...
24.676471
81
0.650775
[ "Apache-2.0" ]
AaronFriel/pulumi-aws-native
sdk/dotnet/IoT/Outputs/TopicRuleIotAnalyticsAction.cs
839
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; using System.Text; using System.Threading; using System.Collections; using System.Runtime.CompilerServ...
47.482095
190
0.541192
[ "MIT" ]
06needhamt/runtime
src/libraries/System.Diagnostics.PerformanceCounter/src/System/Diagnostics/SharedPerformanceCounter.cs
88,839
C#
using System; using System.ComponentModel.Design; using System.Diagnostics; using System.Diagnostics.CodeAnalysis; using System.Globalization; using System.Runtime.InteropServices; using System.Threading; using System.Threading.Tasks; using Microsoft.VisualStudio; using Microsoft.VisualStudio.OLE.Interop; using Micros...
50.448718
178
0.706734
[ "Apache-2.0" ]
thxu/TPublish
TPublish/TPublish.VsixClient/Command/DeployPackage.cs
3,937
C#
// <auto-generated> // Generated by the protocol buffer compiler. DO NOT EDIT! // source: messages.proto // </auto-generated> #pragma warning disable 1591, 0612, 3021 #region Designer generated code using pb = global::Google.Protobuf; using pbc = global::Google.Protobuf.Collections; using pbr = global::Google...
34.744626
459
0.620568
[ "BSD-3-Clause" ]
neFormal/lime
src/lime/src/protobuf/user/Messages.g.cs
67,891
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ComparisonAssistant.Model { internal class TranslateObject { internal Dictionary<string, string> DictionaryObjct { get; } = new Dictionary<string, string>() { ...
40.415094
103
0.542951
[ "MIT" ]
djserega/ComparisonAssistant
src/ComparisonAssistant/Model/TranslateObject.cs
2,608
C#
using System; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace EntityFrameworkCore.DomianModel.Model { public abstract class BaseEntity { public BaseEntity() { Id = Guid.NewGuid(); IsRemoved = false; ...
27.555556
61
0.629032
[ "MIT" ]
xLOWer/MarketAction.Server
EntityFrameworkCore.DomianModel/Model/BaseEntity.cs
746
C#
namespace TowerDefense.Main.Monsters { using TowerDefense.Interfaces; using TowerDefense.Utils; public class Deamon : Monster { protected override int SpriteColumns { get { return 3; } } public Deamon(IRoute route) : ...
19.5
80
0.517483
[ "MIT" ]
kossov/Telerik-Academy
C#/OOP/TeamProject-TeamLychee-TD/TelerikDefence-master/TowerDefense/Main/Monsters/Deamon.cs
431
C#
using System; using Newtonsoft.Json; namespace Backpack.Net { /// <summary> /// Represents the response returned by the IGetCurrencies endpoint. /// </summary> public sealed class Currencies { internal Currencies() { } /// <summary> /// Whether or not the request w...
30.478873
104
0.566543
[ "MIT" ]
QuantumToasted/Backpack.Net
Backpack.Net/Models/Currencies.cs
2,166
C#
using System; using System.Text; using UnityEngine; //namespace MMGame.Framework //{ public static class IntExtension { /// <summary> /// 时间转换为短时间格式(06:00) /// </summary> /// <returns>The to short time.</returns> /// <param name="second">Second.</param> public s...
27.422222
84
0.472447
[ "MIT" ]
lantuma/DDZ
Unity/Assets/Model/Extension/IntExtension.cs
2,524
C#
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Collections; using System.Collections.Generic; using System.Data.Common; using System.Threading; using System.Threading.Tasks...
48.717579
138
0.571606
[ "Apache-2.0" ]
0b01/efcore
src/EFCore.Relational/Query/Internal/SingleQueryingEnumerable.cs
16,905
C#
using System; using DotnetWorld.API.Structs; namespace DotnetWorld.API { #region World original APIs public class Core { public static void CheapTrick(double[] x, int x_length, int fs, double[] temporal_positions, double[] f0, int f0_length, CheapTrickOption option, double[,...
38.251397
183
0.678545
[ "MIT" ]
yamachu/DotnetWorld
library/ref/DotnetWorld.cs
6,847
C#
using static tModPorter.Rewriters.RenameRewriter; using static tModPorter.Rewriters.InvokeRewriter; using static tModPorter.Rewriters.HookSignatureRewriter; namespace tModPorter; public static partial class Config { private static void AddModLoaderRefactors() { RenameInstanceField("Terraria.ModLoader.ModType", f...
80.462312
201
0.761741
[ "MIT" ]
blushiemagic/tModLoader
tModPorter/tModPorter/Config.ModLoader.cs
16,014
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System; using System.Text.Json; using System.Threading; using System.Threading.Tasks; using Azure; using Azure.Core; using Azure.Core.Pipeline; using Azure.Search.Documents.Mod...
48.561873
274
0.552927
[ "MIT" ]
LTA-Thinking/azure-sdk-for-net
sdk/search/Azure.Search.Documents/src/Generated/Operations/DataSourcesRestClient.cs
29,040
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using System.Windows.Forms; namespace WMIClass { static class Program { /// <summary> /// The main entry point for the application. /// </summary> [STAThread] static void Ma...
22.043478
65
0.609467
[ "MIT" ]
ChupUchup/VS-C-Projects
WindowsFormsApplication2/WMIClass/Program.cs
509
C#
using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Hosting; namespace Vienna { public class Program { public static void Main(string[] args) { CreateHostBuilder(args).Build().Run(); } public static IHostBuilder CreateHostBuilder(string[] args) => ...
24.428571
70
0.573099
[ "MIT" ]
akhakpouri/vienna
src/Vienna/Program.cs
513
C#
using System; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; namespace Entities.Migrations { public partial class Initial : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.CreateTable( name: "AspNetRoles", column...
33.79661
96
0.684554
[ "Apache-2.0" ]
innovation-sprint-sprl/COADAPT-Platform
COADAPT-platform/Entities/Migrations/20190808140149_Initial.cs
15,954
C#
using System.Collections.Generic; namespace WebXRPseudo.FineRoughness { public class MovingAverage { private int n = 16; private float sum; private Queue<float> queue = new Queue<float>(); public float average(float latest) { sum += latest; queue...
20.708333
56
0.507042
[ "Apache-2.0" ]
kn1cht/webxr-pseudo-haptics
Assets/Scripts/FineRoughness/MovingAverage.cs
497
C#
using System.Text.Json.Serialization; namespace PokeFun.PokeApi.Model { public class FlavorText { [JsonPropertyName("flavor_text")] public string Text { get; set; } [JsonPropertyName("language")] public NamedAPIResource Language { get; set; } [JsonPropertyName("version...
22.705882
54
0.642487
[ "MIT" ]
paolofulgoni/pokefun
src/PokeFun.PokeApi/Model/FlavorText.cs
386
C#
namespace sill2_server { partial class histForm { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> ...
42.959596
161
0.677874
[ "MIT" ]
evandroabukamel/sill2-server
sill2-server/sill2-server/histForm.Designer.cs
8,511
C#
using System; namespace Improbable.Gdk.GameObjectRepresentation { /// <summary> /// Represents an error that occurs when a writer could not send a component update because the underlying data /// did not exist. /// </summary> public class WriterDataUpdateFailedException : Exception { ...
33.25
119
0.681203
[ "MIT" ]
filod/gdk-for-unity
workers/unity/Packages/com.improbable.gdk.core/GameObjectRepresentation/ReadersWriters/WriterDataUpdateFailedException.cs
667
C#
/* * Copyright Amazon.com, Inc. or its affiliates. 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. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "li...
29.671053
109
0.602217
[ "Apache-2.0" ]
philasmar/aws-sdk-net
sdk/src/Services/CloudFront/Generated/Model/GetKeyGroupConfigResponse.cs
2,255
C#
using System.Collections.Generic; using Toe.SPIRV.Spv; namespace Toe.SPIRV.Instructions { public partial class OpGroupNonUniformSMin: InstructionWithId { public OpGroupNonUniformSMin() { } public override Op OpCode { get { return Op.OpGroupNonUniformSMin; } } ...
35.017094
105
0.587503
[ "MIT" ]
gleblebedev/Toe.SPIRV
src/Toe.SPIRV/Instructions/OpGroupNonUniformSMin.cs
4,097
C#
///////////////////////////////////////////////////////////////////////////////// // // Photoshop PSD FileType Plugin for Paint.NET // http://psdplugin.codeplex.com/ // // This software is provided under the MIT License: // Copyright (c) 2006-2007 Frank Blumenberg // Copyright (c) 2010-2012 Tao Yue // // S...
28.539683
82
0.538932
[ "MIT" ]
GeorgeDubuque/futureBall
Future Ball/Library/PackageCache/com.unity.2d.psdimporter@2.1.0/Editor/PSDPlugin/PsdFile/ImageResources/VersionInfo.cs
1,798
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System; using System.Threading; using System.Threading.Tasks; using Azure; using Azure.Core; using Azure.Core.Pipeline; using Azure.ResourceManager.Network.Models; namespace A...
56.593388
369
0.644791
[ "MIT" ]
AME-Redmond/azure-sdk-for-net
sdk/network/Azure.ResourceManager.Network/src/Generated/NetworkManagementOperations.cs
34,239
C#
using GalaSoft.MvvmLight.Messaging; using HeadphoneDataApp.Model; using HeadphoneDataApp.Repository; using HeadphoneDataApp.Utility; using HeadphoneDataApp.View; using Robotics.Mobile.Core.Bluetooth.LE; using System; using System.Collections.Generic; using System.ComponentModel; using System.Diagnostics; using System....
35.344828
107
0.512976
[ "MIT" ]
pxlit-projects/entmob2016_8
Xamarin_Forms_Data/HeadphoneDataApp/HeadphoneDataApp/HeadphoneDataApp/ViewModel/LoginViewModel.cs
5,127
C#
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using System.Text; using System.Threading.Tasks; using LuaSTGEditorSharp.EditorData; using LuaSTGEditorSharp.EditorData.Document; using LuaSTGEditorSharp.EditorData.Node.NodeAttributes; using Newtonsoft.Json; name...
31.811765
119
0.58284
[ "MIT" ]
RyannThi/LuaSTG-Editor-Sharp-X
LuaSTGNode.Legacy/EditorData/Node/Graphics/SetImageState.cs
2,706
C#
// OData .NET Libraries ver. 5.6.3 // Copyright (c) Microsoft Corporation // All rights reserved. // MIT License // Permission is hereby granted, free of charge, to any person obtaining a copy of // this software and associated documentation files (the "Software"), to deal in // the Software withou...
46.495495
252
0.654137
[ "Apache-2.0" ]
tapika/choco
lib/Microsoft.Data.Services.Client/WCFDataService/Client/System/Data/Services/Client/ALinq/DataServiceExpressionVisitor.cs
5,161
C#
using Futurum.Core.Result; using Microsoft.EntityFrameworkCore; namespace Futurum.EntityFramework; public static partial class EntityFrameworkResultExtensions { /// <summary> /// <para> /// Asynchronously returns the number of elements in a sequence. /// </para> /// </summary> pub...
32.666667
138
0.686589
[ "MIT" ]
futurum-dev/dotnet.futurum.entityframework
src/Futurum.EntityFramework/EntityFrameworkResultExtensions.TryCountAsync.cs
686
C#
namespace SortingHomework { using System; using System.Collections.Generic; public class Quicksorter<T> : ISorter<T> where T : IComparable<T> { public void Sort(IList<T> collection) { QuickSort(collection, 0, collection.Count - 1); } private static void Qui...
26.784314
70
0.441435
[ "MIT" ]
bozhidar-slavov/12.Data-Structures-and-Algorithms
04.Sorting-Algorithms/SortingAlgorithms/Quicksorter.cs
1,368
C#
using System.Resources; 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. [ass...
34.677419
84
0.743256
[ "Apache-2.0" ]
ammogcoder/Xamarin.Forms-Succinctly
Ch7/MvvmSample/MvvmSample/Properties/AssemblyInfo.cs
1,078
C#
namespace P7.SessionContextStore.Core { public interface IRemoteSessionContext : ILocalSessionContext { } }
16.125
44
0.697674
[ "MIT" ]
ghstahl/P7.Core-2.0
src/P7.SessionContextStore.Core/IRemoteSessionContext.cs
131
C#
using UnityEngine; using System.Collections; using System.Collections.Generic; public class vTriggerSoundByState: StateMachineBehaviour { public GameObject audioSource; public List<AudioClip> sounds; public float triggerTime; private vFisherYatesRandom _random; private bool isTrigger; // OnStateEnter i...
40.098361
143
0.702371
[ "MIT" ]
boveloco/AMazeSurvivor
Assets/Controller/Basic Locomotion/Scripts/Generic/vTriggerSoundByState.cs
2,448
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using Azure.Core.TestFramework; namespace Azure.DigitalTwins.Core.Tests { public class DigitalTwinsTestEnvironment : TestEnvironment { public string DigitalTwinHostname => GetRecordedVariable($"{TestSettin...
32.692308
174
0.774118
[ "MIT" ]
0rland0Wats0n/azure-sdk-for-net
sdk/digitaltwins/Azure.DigitalTwins.Core/tests/DigitalTwinsTestEnvironment.cs
427
C#
// // ErrorMessage.cs // // Authors: // Alan McGovern alan.mcgovern@gmail.com // // Copyright (C) 2008 Alan McGovern // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restrictio...
33.728571
86
0.656501
[ "MIT" ]
paratoner/monotorrent
src/MonoTorrent.Trackers/MonoTorrent.Client.Messages.UdpTracker/ErrorMessage.cs
2,361
C#
using System.Runtime.CompilerServices; [assembly: InternalsVisibleTo("MediaToolkit.Test")] [assembly: InternalsVisibleTo("DynamicProxyGenAssembly2")]
37.5
58
0.84
[ "MIT" ]
chrischip/MediaToolkit.NetCore
MediaToolkit/AssemblyInfo.cs
150
C#
using CsBuilder.Elements; namespace CsBuilder { public interface IModifiable { Modifier Modifier { get; set; } } }
15.111111
39
0.647059
[ "MIT" ]
jorgehmv/CsBuilder
CsBuilder/IModifiable.cs
138
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; [assembly: AssemblyTitle("GuerillaSharp.Test")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("GuerillaSharp.Test")] [ass...
31.238095
57
0.733232
[ "MIT" ]
DeBesten/GuerrillaSharp
GuerillaSharp.Test/Properties/AssemblyInfo.cs
657
C#
// This file is part of Silk.NET. // // You may modify and distribute Silk.NET under the terms // of the MIT license. See the LICENSE file for details. using System; using System.Runtime.InteropServices; using System.Runtime.CompilerServices; using System.Text; using Silk.NET.Core; using Silk.NET.Core.Native; using Si...
58.797872
294
0.70237
[ "MIT" ]
ThomasMiz/Silk.NET
src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.ARB/ArbSync.gen.cs
5,527
C#
using System.Collections.Generic; using System.Threading; using NUnit.Framework; // ReSharper disable once CheckNamespace namespace AccountManagement { static class TestData { internal static class Passwords { internal const string ValidPassword = "Pass"; internal stat...
39.691358
127
0.5493
[ "Apache-2.0" ]
mlidbom/Composable
src/Samples/AccountManagement/AccountManagement.UnitTests/TestData.cs
3,217
C#
using R2API; using RiskyMod.Survivors.Bandit2; using RiskyMod.Survivors.Bandit2.Components; using RoR2; using RoR2.Skills; using UnityEngine; namespace EntityStates.RiskyMod.Bandit2.Revolver { public class FireLightsOut : BaseSidearmState { public override void OnEnter() { base.OnEnter(); base.AddRecoil(-3...
34.643478
150
0.742219
[ "MIT" ]
Moffein/RiskyMod
RiskyMod/Survivors/Bandit2/EntityStates/Revolver/FireLightsOut.cs
3,986
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 may not...
33.514706
113
0.565891
[ "Apache-2.0" ]
MichaelChirico/arrow
csharp/src/Apache.Arrow/Arrays/BinaryArray.cs
6,839
C#
using System; using System.Collections.Generic; using System.Text; using TurnerTablet.Core.Scaffolding.Features.Ais; namespace E1Translator.Core.Extensions { public static class AisAppStackRequestExtensions { public static AppStackRequest<T> ToAppStackRequest<T>(this AisAppStackRequest request) ...
25.625
94
0.719512
[ "MIT" ]
nathanjml/E1.AisContext
E1Translator/Core/Extensions/AisAppStackRequestExtensions.cs
412
C#
using System; using System.Diagnostics.Contracts; using Ncqrs.Domain; namespace Ncqrs.Commanding.CommandExecution.Mapping.Fluent { /// <summary> /// Represents the creation of an aggregateroot of type <typeparamref name="TAggRoot"/> from a command of type <typeparamref name="TCommand"/>. /// </sum...
50.966102
163
0.663119
[ "Apache-2.0" ]
RoystonS/ncqrs
Framework/src/Ncqrs/Commanding/CommandExecution/Mapping/Fluent/MappedCommandToAggregateRootConstructor.cs
3,009
C#
using DOMAIN.Entities; using SERVICES; using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using System.Web.Http; using WEBAPI.Models; namespace WEBAPI.Controllers { [AllowAnonymous] [Serializable] public class BanqueController : ApiController { ...
29.188235
117
0.541516
[ "MIT" ]
marwenbhz/MULTITENANT
WEBAPI/Controllers/BanqueController.cs
4,964
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: AssemblyTitle("CodeSup.Utilities.BaseN")] [assembly: Ass...
39.055556
84
0.745377
[ "MIT" ]
akpotter/base-n-codec-net
CodeSup.Utilities.BaseN/Properties/AssemblyInfo.cs
1,409
C#
/* * Copyright Amazon.com, Inc. or its affiliates. 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. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "li...
37.86014
144
0.577207
[ "Apache-2.0" ]
philasmar/aws-sdk-net
sdk/src/Services/AlexaForBusiness/Generated/Model/Internal/MarshallTransformations/SearchProfilesRequestMarshaller.cs
5,414
C#
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Text; namespace BaiduMapAPI.APIs.Place.V2 { /// <summary> /// 地点输入提示服务 /// </summary> public class SuggestionResult : Models.ResponseOld { /// <summary> /// 结果 /// </su...
22.35
62
0.630872
[ "MIT" ]
miracleQin/BaiduMapServerAPI.SDK
BaiduMapAPI.SDK/APIs/Place/V2/SuggestionResult.cs
469
C#
using Trov.IdentityServer4.Admin.BusinessLogic.Helpers; namespace Trov.IdentityServer4.Admin.BusinessLogic.Resources { public interface IIdentityResourceServiceResources { ResourceMessage IdentityResourceDoesNotExist(); ResourceMessage IdentityResourceExistsKey(); ResourceMessage Ide...
25.428571
60
0.77809
[ "MIT" ]
ATronMorebis/IdentityServer4.Admin.MySql
src/Trov.IdentityServer4.Admin.BusinessLogic/Resources/IIdentityResourceServiceResources.cs
358
C#
using System.Web.Mvc; using System.Web.Optimization; using System.Web.Routing; namespace SportBetApp.Web { public class MvcApplication : System.Web.HttpApplication { protected void Application_Start() { AreaRegistration.RegisterAllAreas(); FilterConfig.RegisterGlobalFil...
27.166667
70
0.689162
[ "MIT" ]
plmntnsv/GVC
SportBetApp/SportBetApp.Web/Global.asax.cs
491
C#
using System.Collections.Generic; using System.Linq; using System.Runtime.CompilerServices; namespace QuaStateMachine { public sealed partial class State<TState, TTransition, TSignal> : State<TState>, IState<TState, TTransition, TSignal> { public State<TState, TTransition, TSignal> OuterState ...
30.893382
131
0.56099
[ "MIT" ]
laicasaane/Unity.QuaStateMachine
State/State{TState,TTransition,TSignal}.cs
8,405
C#
using System; using System.Collections.Generic; using NHapi.Base.Log; using NHapi.Model.V21.Group; using NHapi.Model.V21.Segment; using NHapi.Model.V21.Datatype; using NHapi.Base; using NHapi.Base.Parser; using NHapi.Base.Model; namespace NHapi.Model.V21.Message { ///<summary> /// Represents a ADT_A17 m...
27.965318
146
0.649649
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
afaonline/nHapi
src/NHapi.Model.V21/Message/ADT_A17.cs
4,838
C#
// // MessageViewActivity.cs // // Author: Jeffrey Stedfast <jeff@xamarin.com> // // Copyright (c) 2013-2020 Xamarin Inc. (www.xamarin.com) // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Softw...
36.688525
80
0.693029
[ "MIT" ]
AJenbo/MailKit
samples/ImapClientDemo.Android/ImapClientDemo.Android/MessageViewActivity.cs
2,240
C#
/************************************************************************ AvalonDock Copyright (C) 2007-2013 Xceed Software Inc. This program is provided to you under the terms of the Microsoft Public License (Ms-PL) as published at https://opensource.org/licenses/MS-PL *********************************...
37.834437
176
0.73149
[ "MIT" ]
amolf-se/AvalonDock
source/Components/AvalonDock/Controls/AnchorablePaneTitle.cs
5,715
C#
using ASCOPC.Domain.Contracts; using ASOPC.Application.Features.Builds.Queries.Get; using ASOPC.Application.Features.Builds.Queries.GetUserBuilds; using ASOPC.Application.Interfaces.Services; using MediatR; namespace ASOPC.Application.Features.Builds.Queries.GetAll { public class GetAllBuildCommand : IRequest<IRe...
33.233333
105
0.687061
[ "MIT" ]
FectourSu/ASCOPC
src/ASOPC.Application/Features/Builds/Queries/GetAll/GetAllBuildCommand.cs
999
C#
using System; using System.Threading.Tasks; namespace Sidekick.Core.Initialization { public interface IInitializer { Task Initialize(); bool IsReady { get; } event Action<ErrorEventArgs> OnError; event Action<ProgressEventArgs> OnProgress; void ReportProgress(ProgressTyp...
25.666667
95
0.706494
[ "MIT" ]
Amp0/Sidekick
src/Sidekick.Core/Initialization/IInitializer.cs
385
C#
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using System.Collections.Generic; using Microsoft.PowerFx.Core.App.ErrorContainers; using Microsoft.PowerFx.Core.Binding; using Microsoft.PowerFx.Core.Errors; using Microsoft.PowerFx.Core.Functions; using Microsoft.PowerFx.Core.Localization; u...
42.177215
200
0.588535
[ "MIT" ]
ivanradicek/Power-Fx
src/libraries/Microsoft.PowerFx.Core/Texl/Builtins/Replace.cs
6,666
C#
using UnityEngine; using System.Collections; using System.Collections.Generic; using UnityEngine.UI; using Assets.Scripts; public class MenuPage : PageBase { public PageTitleControl PageTitle; //Transform menuTransform; protected override void Init() { base.Init(); //menuTransform = Si...
35.903226
129
0.707098
[ "BSD-2-Clause" ]
liuhaili/Chess
ChessClient/Assets/AppFramework/Scripts/Page/MenuPage.cs
1,115
C#
using System; using System.Linq; using System.Threading.Tasks; using BTCPayServer.Plugins.Shopify.ApiModels; namespace BTCPayServer.Plugins.Shopify { public class OrderTransactionRegisterLogic { private readonly ShopifyApiClient _client; public OrderTransactionRegisterLogic(ShopifyApiClient cl...
49.781609
214
0.623644
[ "MIT" ]
1nF0rmed/btcpayserver
BTCPayServer/Plugins/Shopify/OrderTransactionRegisterLogic.cs
4,331
C#
namespace Media.UnitTests { partial class ContainerInspector { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> ...
30.804348
107
0.553987
[ "Apache-2.0" ]
Sergey-Terekhin/net7mma
UnitTests/Forms/ContainerInspector.Designer.cs
1,419
C#
using System; using System.ComponentModel; using EfsTools.Attributes; namespace EfsTools.Items.Nv { [Serializable] [NvItemId(4204)] [Attributes(9)] public class HdrScpForceRelease0SessionConfiguration { [ElementsCount(1)] [ElementType("uint8")] [Description("")]...
21.823529
57
0.619946
[ "MIT" ]
HomerSp/EfsTools
EfsTools/Items/Nv/HDRSCPForceRelease0SessionConfiguration.cs
371
C#
// ********************************************************************* // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License // ********************************************************************* using Microsoft.AspNetCore.Hosting; using Microsoft.Azure.EventHubs; using Mi...
40.845304
165
0.586095
[ "MIT" ]
barryt2/data-accelerator
Services/DataX.Metrics/DataX.Metrics.Ingestor/Ingestor.cs
7,395
C#
using System; namespace autofac_does_not_dispose { public class MyDisposable : IDisposable { public void Dispose() => WasDisposed = true; public bool WasDisposed { get; private set; } } }
17.692308
53
0.626087
[ "MIT" ]
Tragetaschen/autofac-does-not-dispose
MyDisposable.cs
230
C#
// <copyright file="SimpleClient.cs" company="Maxeler"> // Copyright Maxeler. All rights reserved. // </copyright> using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Net.Sockets; using com.maxeler.Simple; using Thrift; using Thrift.Protocol; using Thrift.Transpor...
32.024876
128
0.55414
[ "BSD-2-Clause" ]
maxeler/maxskins
examples/Simple/client/csharp/BasicStatic/SimpleClient.cs
6,437
C#
using System.Collections.Generic; using System.Net; using System.Net.Http; using System.Web.Http; using System.Web.Http.Description; using Cards.Extensions.Tfs.Core.Models; namespace Cards.Extensions.Tfs.Api.Controllers { [Authorize] public class AreasController : ApiController { [HttpGet] ...
26.712644
86
0.564974
[ "MIT" ]
mejas/cards-tfs
src/Cards.Extensions.Tfs.Api/Controllers/AreasController.cs
2,326
C#
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** // *** 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; names...
27.928571
88
0.659847
[ "ECL-2.0", "Apache-2.0" ]
donovanmuller/pulumi-vsphere
sdk/dotnet/Inputs/GetVirtualMachineVappArgs.cs
782
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...
24.74
81
0.56346
[ "Apache-2.0" ]
test-wiz-sec/pulumi-azure-nextgen
sdk/dotnet/RecoveryServices/V20160810/Outputs/DiskDetailsResponse.cs
1,237
C#
// Decompiled with JetBrains decompiler // Type: BlueStacks.Agent.VmInfo // Assembly: HD-Agent, Version=4.250.0.1070, Culture=neutral, PublicKeyToken=null // MVID: 06DAED18-1D79-40C2-83F8-3A28B5222574 // Assembly location: C:\Program Files\BlueStacks\HD-Agent.exe using System.Collections.Generic; namespace BlueStack...
26
81
0.752404
[ "MIT" ]
YehudaEi/Bluestacks-source-code
src/HD-Agent/Agent/VmInfo.cs
418
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. /****************************************************************************** * This file is auto-generated from ...
39.76506
169
0.588396
[ "MIT" ]
06needhamt/runtime
src/coreclr/tests/src/JIT/HardwareIntrinsics/X86/Avx/BroadcastVector128ToVector256.Single.cs
6,601
C#
using System; namespace Cofoundry.Core { /// <summary> /// Exception to be used when an argument has an empty value (but not <see langword="null"/>) /// e.g. <see cref="String.Empty"/>. /// </summary> public class ArgumentEmptyException : ArgumentException { public ArgumentEmptyExcepti...
24.727273
97
0.588235
[ "MIT" ]
BearerPipelineTest/cofoundry
src/Cofoundry.Core/Core/Exceptions/ArgumentEmptyException.cs
546
C#
// Copyright 2021 Google LLC // // 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 // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
42.131579
146
0.639913
[ "Apache-2.0" ]
googleapis/googleapis-gen
google/monitoring/v3/google-cloud-monitoring-v3-csharp/Google.Cloud.Monitoring.V3.StandaloneSnippets/MetricServiceClient.ListMetricDescriptorsResourceNames4AsyncSnippet.g.cs
3,202
C#
//----------------------------------------------------------------------- // <copyright file="EventFilterApplier.cs" company="Akka.NET Project"> // Copyright (C) 2009-2016 Typesafe Inc. <http://www.typesafe.com> // Copyright (C) 2013-2016 Akka.NET project <https://github.com/akkadotnet/akka.net> // </copyright...
37.575397
290
0.552223
[ "Apache-2.0" ]
Sid3way/akka.net
src/core/Akka.TestKit/EventFilter/Internal/EventFilterApplier.cs
9,471
C#
using System; using System.IO; using System.Text; using System.Net.Http; using System.Threading.Tasks; using Newtonsoft.Json; using Newtonsoft.Json.Linq; namespace Com.Tradecloud1.SDK.Client { class SendOrder { // Fill in the mandatory username const string username = ""; // Fill in ...
42.086957
156
0.639979
[ "MIT" ]
tradecloud/tradecloud-api-dotnet-sdk
api-v1/SendOrder/SendOrder.cs
1,936
C#
using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using KdyWeb.BaseInterface.BaseModel; using Newtonsoft.Json; namespace KdyWeb.Entity.SearchVideo { /// <summary> /// 影片下载地址 /// </summary> public class VideoDownInfo : BaseEntity<long> { /// <summary> //...
25.888889
117
0.520172
[ "Apache-2.0" ]
bohejing/KdyWeb.NetCore
src/KdyWeb.Entity/SearchVideo/VideoDownInfo.cs
2,442
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; using System.Collections.Generic; using System.Collections.Immutable; using System.Diagnostics; using...
42.816991
176
0.611193
[ "MIT" ]
Blaquez-home/roslyn
src/Workspaces/SharedUtilitiesAndExtensions/Compiler/CSharp/Services/SyntaxFacts/CSharpSyntaxFacts.cs
94,756
C#
/* * Copyright 2010-2014 Amazon.com, Inc. or its affiliates. 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. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "l...
38.630631
172
0.648554
[ "Apache-2.0" ]
Bio2hazard/aws-sdk-net
sdk/src/Services/GuardDuty/Generated/Model/Internal/MarshallTransformations/ListFiltersResponseUnmarshaller.cs
4,288
C#
/*** * * Copyright (c) 1996-2001, Valve LLC. All rights reserved. * * This product contains software technology licensed from Id * Software, Inc. ("Id Technology"). Id Technology (c) 1996 Id Software, Inc. * All Rights Reserved. * * This source code contains proprietary and confidential information of * Valve ...
30.066667
97
0.682927
[ "Unlicense" ]
SamVanheer/SharpLife-Engine
src/SharpLife.Engine/FileFormats/WAD/InvalidWADVersionException.cs
1,355
C#
using Unity.Burst; using Unity.Collections; using Unity.Entities; using Unity.Jobs; using Unity.Mathematics; using Unity.Rendering; using static MathUtils; using static Unity.Mathematics.math; namespace MarchingCubes { [UpdateInGroup(typeof(InitializationSystemGroup))] public class MarchingCubesSystem : System...
40.599303
159
0.513388
[ "Unlicense" ]
DeivSky/ECS-Marching-Cubes
Assets/Scripts/Systems/MarchingCubesSystem.cs
11,652
C#
using System; using System.Collections; using NUnit.Framework; using Unity.Collections; using UnityEngine; using UnityEngine.TestTools; using Unity.Netcode.TestHelpers.Runtime; using Object = UnityEngine.Object; namespace Unity.Netcode.RuntimeTests { /// <summary> /// Unit tests to test: /// - Serializing ...
37.259777
121
0.617962
[ "MIT" ]
JayPeet/com.unity.netcode.gameobjects
com.unity.netcode.gameobjects/Tests/Runtime/Serialization/NetworkObjectReferenceTests.cs
13,339
C#
namespace AGS.Editor { partial class AutoNumberSpeechWizardPage { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary...
46.016667
158
0.604672
[ "Artistic-2.0" ]
Mailaender/KrusAGS
Editor/AGS.Editor/GUI/AutoNumberSpeechWizardPage.Designer.cs
5,522
C#
/* * Copyright Amazon.com, Inc. or its affiliates. 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. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "li...
31.583333
116
0.643799
[ "Apache-2.0" ]
philasmar/aws-sdk-net
sdk/src/Services/CustomerProfiles/Generated/Model/DeleteDomainRequest.cs
1,895
C#
 using System; using System.Xml.Serialization; namespace VertSoft.CrossIndustryInvoice.D16B.Data.QualifiedDataType100.Coupled { [Serializable()] [XmlType(Namespace = "urn:un:unece:uncefact:data:standard:QualifiedDataType:100")] public enum PriceTypeCodeListAgencyIDContentType { [XmlEnum("6")] Item6, } }
19.8125
83
0.77918
[ "MIT" ]
BartVertongen/CrossIndustryInvoice.NETCoreLib
CIID16B.NETCoreLib/Messages/Data/Coupled/QualifiedDataType100/PriceTypeCodeListAgencyIDContentType.cs
319
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SecureMe { public class Software { public string ProgramName { get; set; } public string ProgramVersion { get; set; } public string ProgramPath { get; set; } ...
22.117647
50
0.670213
[ "Apache-2.0" ]
lukedinkler/SecureMe-Windows
App/SecureMe/SecureMe/Software.cs
378
C#