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
// 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.Generic; using System.Globalization; using System.IO; using System.Linq; using System.Net.Http.Headers; using Sys...
43.657447
189
0.552902
[ "Apache-2.0" ]
clairernovotny/NuGet.Client
src/NuGet.Core/NuGet.Protocol/RemoteRepositories/RemoteV2FindPackageByIdResource.cs
20,519
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 ...
24.038869
113
0.601793
[ "Apache-2.0" ]
mcmellawatt/geode-native
tests/cli/NewTestObject/DeltaTestImpl.cs
6,803
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.676471
182
0.58599
[ "MIT" ]
06needhamt/runtime
src/coreclr/tests/src/JIT/HardwareIntrinsics/Arm/AdvSimd.Arm64/LoadAndReplicateToVector128.Double.cs
8,094
C#
using System; using System.IO; using System.Net.Mime; using GreenhousePlusPlus.WebAPI.Models; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Diagnostics; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInj...
34.474747
124
0.692939
[ "MIT" ]
srad/Greenhouse-
GreenhousePlusPlus.WebAPI/Startup.cs
3,413
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...
32.453125
164
0.617236
[ "MIT" ]
ChenTanyi/azure-sdk-for-net
sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/HttpScaleRule.cs
2,077
C#
using System; using _03BarracksFactory.Contracts; namespace P03_BarraksWars.Core.Commands { public class FightCommand : Command { public FightCommand(string[] data) : base(data) { } public override string Execute() { Environment.Exit(0); ...
18.736842
43
0.55618
[ "MIT" ]
GeorgiGarnenkov/CSharp-Fundamentals
C#OOPAdvanced/ReflectionAndAttributes/P03_BarraksWars/Core/Commands/FightCommand.cs
358
C#
// <copyright file="WebDriverObjectProxy.cs" company="WebDriver Committers"> // Licensed to the Software Freedom Conservancy (SFC) under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The SFC licenses this fi...
41.041237
134
0.652851
[ "Apache-2.0" ]
cjayswal/selenium
dotnet/src/support/PageObjects/WebDriverObjectProxy.cs
3,983
C#
namespace SqlStreamStore { using System; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; using Shouldly; using SqlStreamStore.Imports.AsyncEx.Nito.AsyncEx.Coordination; using SqlStreamStore.Streams; using SqlStreamStore.Subs...
38.507795
155
0.531955
[ "MIT" ]
dcomartin/SQLStreamStore
tests/SqlStreamStore.AcceptanceTests/AcceptanceTests.Subscriptions.cs
34,582
C#
namespace BeerApp.Web.ViewModels.Manage { using System.Collections.Generic; using System.Web.Mvc; public class ConfigureTwoFactorViewModel { public string SelectedProvider { get; set; } public ICollection<SelectListItem> Providers { get; set; } } }
22.153846
66
0.690972
[ "MIT" ]
ahansb/BeerApp
Source/Web/BeerApp.Web/ViewModels/Manage/ConfigureTwoFactorViewModel.cs
290
C#
using System.Threading.Tasks; using MongoDB.Driver; using Uniswap.Data.Entities; using Uniswap.Data.Mongo.Entities; using Uniswap.Data.Repositories; namespace Uniswap.Data.Mongo.Repositories { public class MongoLastBlockFetchedByExchangeRepository : ILastBlockFetchedByExchangeRepository { private reado...
38.028571
124
0.709241
[ "MIT" ]
loanscan/uniswap-statistics-api
src/Uniswap.Data.Mongo/Repositories/MongoLastBlockFetchedByExchangeRepository.cs
1,331
C#
 namespace Dyalect.Compiler { public enum OpCode { Nop = 0, //0 Str, //0 This, //+1 Pop, //-1 PushNil, //+1 PushI1_0, //+1 PushI1_1, //+1 PushI8, //+1 PushI8_0, //+1 PushI8_1, //+1 Pus...
23.169811
29
0.289902
[ "MIT" ]
vorov2/dyalect
Dyalect/Compiler/OpCode.cs
2,458
C#
using DaybreakGames.Census; using DaybreakGames.Census.Exceptions; using DaybreakGames.Census.Operators; using Microsoft.Extensions.Logging; using Newtonsoft.Json.Linq; using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using watchtower...
29.375
116
0.537589
[ "MIT" ]
Varunda/pwe-armor
Census/ItemCollection.cs
2,822
C#
using System; using System.Collections.ObjectModel; using System.Collections.Specialized; using PanoramicDataWin8.model.data.attribute; using PanoramicDataWin8.model.data.idea; using IDEA_common.catalog; using System.Collections.Generic; using System.Linq; namespace PanoramicDataWin8.model.data.operation { public...
46.016949
176
0.754696
[ "Apache-2.0" ]
ezg/PanoramicDataWin8
PanoramicDataWin8/model/data/operation/computational/PredictorOperationModel.cs
2,717
C#
namespace Sitecore.Foundation.Alerts.Extensions { using System.Web.Mvc; using System.Web.Mvc.Html; using Sitecore.Diagnostics; using Sitecore.Foundation.Alerts.Models; using Sitecore.Data; public static class AlertHtmlHelpers { public static MvcHtmlString PageEditorError(this HtmlHelper helper, stri...
32.114286
150
0.72242
[ "Apache-2.0" ]
SiriusBits/HS8Base
src/Foundation/Alerts/code/Extensions/AlertHtmlHelpers.cs
1,126
C#
using System; using System.Collections.Generic; public static partial class Extension { /// <summary> /// An ICollection&lt;T&gt; extension method that adds a collection of objects to the end of this collection only /// for value who satisfies the predicate. /// </summary> /// <typeparam n...
37.904762
121
0.643216
[ "MIT" ]
Cactus-Blade/Cactus.Blade.Collection
Collection/System.Collections.Generic.ICollection/ICollection.AddRangeIf.cs
798
C#
using System; using System.IO; using System.Security.Cryptography; using System.Text; using System.Threading.Tasks; namespace EasyCrypto { /// <summary> /// AES encryption helper class /// </summary> public static class AesEncryption { private static readonly byte[] _emptyKey = new byte[32...
49.159332
173
0.597049
[ "MIT" ]
stanac/EasyCrypto
src/EasyCrypto/AesEncryption.cs
32,398
C#
namespace MyMvcProjectTemplate.Web.ViewModels.Account { public class ExternalLoginListViewModel { public string ReturnUrl { get; set; } } }
20.125
54
0.701863
[ "MIT" ]
Borayvor/Templates
MyMvcProjectTemplate/Web/MyMvcProjectTemplate.Web/ViewModels/Account/ExternalLoginListViewModel.cs
163
C#
/* * THIS FILE WAS GENERATED BY PLOTLY.BLAZOR.GENERATOR */ using System; using System.Diagnostics.CodeAnalysis; using System.IO; using System.Runtime.Serialization.Formatters.Binary; using System.Text.Json.Serialization; namespace Plotly.Blazor.Traces.ContourCarpetLib.ColorBarLib.TitleLib { /// <summary> ///...
35.024194
99
0.510477
[ "MIT" ]
valu8/Plotly.Blazor
Plotly.Blazor/Traces/ContourCarpetLib/ColorBarLib/TitleLib/Font.cs
4,343
C#
using Nop.Core.Domain.Customers; namespace Nop.Services.Customers { /// <summary> /// Customer registration request /// </summary> public class CustomerRegistrationRequest { /// <summary> /// Customer /// </summary> public Customer Customer { get; set; } ///...
29.948276
92
0.525619
[ "MIT" ]
tebyaniyan/internet-Shop
Libraries/Nop.Services/Customers/CustomerRegistrationRequest.cs
1,739
C#
/* MIT License Copyright (c) 2020 Jeff Campbell 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 restriction, including without limitation the rights to use, copy, modify, merge, publish...
33.634146
77
0.772299
[ "MIT" ]
HitCache/Entitas-Redux
Plugins/EntitasRedux.Core/EntitasReduxException.cs
1,381
C#
using ManagedCuda.BasicTypes; using ManagedCuda.CudaBlas; using System; using TensorSharp.Core; using TensorSharp.Cpu; namespace TensorSharp.CUDA.MatrixMul { public static class CudaMatrixMulMM { // Computes c := alpha * a * b + beta * c public static void Gemm(TSCudaContext context, float ...
39.663594
270
0.468398
[ "BSD-3-Clause" ]
zamgi/Seq2SeqSharp
TensorSharp.CUDA/MatrixMul/CudaMatrixMulMM.cs
17,216
C#
namespace Demo.Engine.Platform.NetStandard.Win32.WindowMessage { /// <summary> /// Sent when a menu is active and the user presses a key that does not correspond to any /// mnemonic or accelerator key. This message is sent to the window that owns the menu. /// </summary> internal enum MenuCharValues...
34.71875
100
0.59856
[ "MIT" ]
DemoBytom/DemoEngine
src/Demo.Engine.Platform.Windows/WindowMessage/MenuCharValues.cs
1,111
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Logging; namespace Room133 { public class Program { pub...
24.12
76
0.691542
[ "MIT" ]
figueiredorui/Room133
src/Program.cs
605
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("Owned")] [assembly: AssemblyDescription("...
37.333333
84
0.738839
[ "MIT" ]
Pellared/Examples
DiProblems/Owned/Properties/AssemblyInfo.cs
1,347
C#
using System; using Cosmos.Serialization.Json; using Newtonsoft.Json; using Xunit; namespace Cosmos.Test.Serialization.NewtonsoftTest { public class JsonTest { [Fact] public void BasicJsonTest() { var model = CreateNiceModel(); var json1 = model.ToJson(); var bac...
41.796296
115
0.603899
[ "Apache-2.0" ]
alexinea/dotnet-static-pages
tests/Cosmos.Test.Serialization.NewtonsoftTest/JsonTest.cs
2,257
C#
/* Yet Another Forum.NET * Copyright (C) 2003-2005 Bjørnar Henden * Copyright (C) 2006-2013 Jaben Cargman * Copyright (C) 2014-2022 Ingo Herbote * https://www.yetanotherforum.net/ * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file...
33.907801
115
0.574566
[ "Apache-2.0" ]
correaAlex/YAFNET
yafsrc/YetAnotherForum.NET/Pages/Admin/NntpForums.ascx.cs
4,642
C#
using System.Reflection; using System.Resources; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Windows; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated ...
44.839286
98
0.71366
[ "Apache-2.0" ]
compliashield/file-checksum
src/FileChecksum/Properties/AssemblyInfo.cs
2,514
C#
using NHM.MinerPluginToolkitV1; using NHM.MinerPluginToolkitV1.Configs; using NHM.Common.Algorithm; using NHM.Common.Device; using NHM.Common.Enums; using System; using System.Collections.Generic; using System.Linq; namespace CCMinerTpruvot { public partial class CCMinerTpruvotPlugin : PluginBase { pu...
37.817073
144
0.632377
[ "MIT" ]
Adsryen/NiceHashMiner
src/Miners/CCMinerTpruvot/CCMinerTpruvotPlugin.cs
3,103
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"); y...
45.937173
150
0.667085
[ "Apache-2.0" ]
AI-ML-Projects/reef
lang/cs/Org.Apache.REEF.Client/YARN/YarnREEFParamSerializer.cs
8,586
C#
//======= Copyright (c) Valve Corporation, All rights reserved. =============== // // Purpose: This file contains C#/managed code bindings for the OpenVR interfaces // This file is auto-generated, do not edit it. // //============================================================================= #if !OPENVR_XR_API usin...
41.596982
3,871
0.834169
[ "MIT" ]
mathmotta/vr-tests
Assets/SteamVR/Plugins/openvr_api.cs
339,057
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using PetrpkuWeb.Server.Data; using PetrpkuWeb.Shared.Models; using Microsoft.EntityFrameworkCore; using PetrpkuWeb.Shared.ViewModels; using AutoMapper; using Microsoft.AspNetCore.Authorizati...
31.723577
111
0.556894
[ "MIT" ]
kaanlab/PetrpkuWeb
PetrpkuWeb.Server/Controllers/ArticlesController.cs
3,902
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEditor; using UnityEditor.SceneManagement; public class FilterLOD : EditorWindow { [MenuItem("Tools/FilterLOD")] static void Filter() { GetWindow<FilterLOD>(); } private List<GameObject> lodGroupWithU...
25.962025
77
0.550951
[ "MIT" ]
AlmaCeax/DataAnalysisD2
Assets/3DGamekitLite/Scripts/Editor/FilterLOD.cs
2,051
C#
using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Reflection; namespace Wivuu.DataSeed { [Obsolete("Deprecated -- Use AddOrUpdate")] public static class Mapping { private static Dictionary<ValueTuple<Type, bool>, object> _selfMappers ...
34.182143
134
0.51259
[ "MIT" ]
onionhammer/Wivuu.DataSeed
Wivuu.DataSeed/Obsolete/Mapping.cs
9,573
C#
/* * QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals. * Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect Corporation. * * 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...
45.145199
138
0.629507
[ "Apache-2.0" ]
scalptrader/Lean
Tests/Api/ApiTests.cs
19,279
C#
using System.IO; using System.Linq; using AsmResolver.IO; using AsmResolver.PE.DotNet.Builder; using AsmResolver.PE.Exports; using Xunit; namespace AsmResolver.PE.Tests.Exports { public class ExportDirectoryTest { [Fact] public void ReadName() { var image = PEImage.FromBytes...
33.266667
106
0.571365
[ "MIT" ]
ElektroKill/AsmResolver
test/AsmResolver.PE.Tests/Exports/ExportDirectoryTest.cs
4,491
C#
using Microsoft.AspNetCore.Mvc.Testing; using Microsoft.Extensions.DependencyInjection; using Server; using System; using System.Net.Http; using System.Net.Http.Headers; using System.Text; using System.Text.Json; using System.Threading.Tasks; using Xunit; namespace tomware.OpenIddict.UI.Tests.Helpers { public class ...
26.504587
89
0.681551
[ "MIT" ]
Soruk/openiddict-ui
tests/Helpers/IntegrationContext.cs
2,889
C#
// ------------------------------------------------------------------------------------------------- // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See LICENSE in the repo root for license information. // -----------------------------------------------------------...
55.013333
205
0.689287
[ "MIT" ]
BearerPipelineTest/fhir-server
src/Microsoft.Health.Fhir.SqlServer.UnitTests/Features/Search/Expressions/NotExpressionRewriterTests.cs
4,128
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System.Collections.Generic; using System.Text.Json; using Azure.Core; namespace Azure.ResourceManager.Sql.Models { public partial class JobTargetGroup : IUtf8JsonSerializa...
33.9
98
0.476032
[ "MIT" ]
AbelHu/azure-sdk-for-net
sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/JobTargetGroup.Serialization.cs
2,712
C#
using System; using System.Globalization; using Xamarin.Forms; namespace AppTokiota.Users.Converters { public class FormatTimeEntry: IValueConverter { public object Convert(object value, Type targetType, object parameter, CultureInfo culture) { return value.ToString(); } ...
23.85
103
0.660377
[ "MIT" ]
ioadres/AppTokiota
AppTokiota.Users/Converters/FormatTimeEntry.cs
479
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...
35.612903
145
0.681612
[ "Apache-2.0" ]
philasmar/aws-sdk-net
sdk/src/Services/Appflow/Generated/Model/Internal/MarshallTransformations/SingularConnectorProfileCredentialsMarshaller.cs
2,208
C#
using Piranha.Extend; using Piranha.Extend.Fields; using Piranha.Models; namespace NorthwindCms.Models { public class ProductRegion { [Field(Title = "Product ID")] public NumberField ProductID { get; set; } [Field(Title = "Product name")] public TextField ProductName { get; set; } [Field(Titl...
26
70
0.690476
[ "MIT" ]
zherar7ordoya/AP3
(CSharp)/1) Mark Price/Code/PracticalApps/NorthwindCms/Models/ProductRegion.cs
546
C#
using System.Collections.Generic; using BenchmarkDotNet.Attributes; namespace JsonWebToken.Performance { [Config(typeof(DefaultCoreConfig))] [BenchmarkCategory("CI-CD")] public class ValidateInvalidTokenBenchmark : ValidateInvalidToken { public override IEnumerable<string> GetTokens() ...
23.875
69
0.688482
[ "MIT" ]
signature-opensource/Jwt
perf/Sandbox/ValidateInvalidTokenBenchmark.cs
384
C#
// Copyright 2009 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Package heap provides heap operations for any type that implements // heap.Interface. A heap is a tree with the property that each node is the // minimum-val...
30.857143
99
0.5
[ "MIT" ]
GridProtectionAlliance/go2cs
src/go-src-converted/container/heap/heap.cs
5,184
C#
using Halcyon.HAL.Attributes; using Test.Controllers; using Test.Models; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Threax.AspNetCore.Halcyon.Ext; using Threax.AspNetCore.Halcyon.Ext.ValueProviders; using Threax.AspNetCore.Models; using System.ComponentModel.D...
28.8
88
0.609568
[ "Apache-2.0" ]
threax/AspNetCore.Swashbuckle.Convention
test/Threax.ModelGen.Tests/TestFiles/AbstractOnEntityTests/InputModels/ValueQuery.Generated.cs
1,296
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.42000 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //--...
41.958904
179
0.601371
[ "MIT" ]
jamsoft/PrismArchitectureDemo
JamSoft.Prism/Properties/Resources.Designer.cs
3,065
C#
// Copyright (c) .NET Foundation and contributors. 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.CommandLine.Binding; using System.CommandLine.Parsing; using System.Linq; namespace System.Comma...
36.782946
175
0.556164
[ "MIT" ]
zyj0021/command-line-api
src/System.CommandLine/Option.cs
9,492
C#
// // UnityOSC - Open Sound Control interface for the Unity3d game engine // // Copyright (c) 2012 Jorge Garcia Martin // Last edit: Gerard Llorach 2nd August 2017 // // Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated // documentation f...
30.986979
120
0.616186
[ "Unlicense" ]
NiccoloGranieri/Leapity
LeapToOSC/Assets/OSC/OSCHandler.cs
11,899
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 ...
40.017857
126
0.734047
[ "Apache-2.0" ]
AxiosCros/aliyun-openapi-net-sdk
aliyun-net-sdk-dds/Dds/Transform/V20151201/DescribeTagsResponseUnmarshaller.cs
2,241
C#
using System; using EtlLib.Data; using EtlLib.Pipeline.Builders; namespace EtlLib.Pipeline.Operations { public abstract class AbstractEtlProcess : AbstractEtlOperationWithNoResult { private IEtlOperationWithNoResult _etlProcess; private IEtlProcessBuilder _builder; private Ac...
32.754717
103
0.653802
[ "MIT" ]
cylewitruk/EtlLib
src/EtlLib/Pipeline/Operations/AbstractEtlProcess.cs
1,738
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Web.Mvc; using Microsoft.VisualStudio.TestTools.UnitTesting; using WebApp; using WebApp.Controllers; namespace WebApp.Tests.Controllers { [TestClass] public class HomeControllerTest { [TestMethod] ...
23.036364
90
0.568272
[ "MIT" ]
Edblack991/INE_PATRONOS_NEW
INE_Patronos_New/WebApp.Tests/Controllers/HomeControllerTest.cs
1,269
C#
using System; using UniRx.Operators; namespace UniRx.Operators { internal class RefCountObservable<T> : OperatorObservableBase<T> { readonly IConnectableObservable<T> source; readonly object gate = new object(); int refCount = 0; IDisposable connection; public RefCount...
28.38961
125
0.467063
[ "MIT" ]
142333lzg/jynew
jyx2/Assets/Plugins/UniRx/Scripts/Operators/RefCount.cs
2,188
C#
namespace Aviant.Core.Reflection; public interface ITypeFinder { Type[] Find(Func<Type, bool> predicate); Type[] FindAll(); }
15.111111
44
0.698529
[ "MIT" ]
panosru/Aviant
src/Kernel/Core/Reflection/ITypeFinder.cs
136
C#
namespace StardewMods.FuryCore.Services; using System; using System.Collections.Generic; using System.Diagnostics; using System.Reflection; using System.Text; using Common.Helpers; using HarmonyLib; using StardewMods.FuryCore.Attributes; using StardewMods.FuryCore.Enums; using StardewMods.FuryCore.Interfaces; using S...
30.7
120
0.535288
[ "MIT" ]
Brex09/StardewMods
FuryCore/Services/HarmonyHelper.cs
3,686
C#
using System; using Microsoft.Build.Utilities; using Xamarin.Build; using static System.Threading.Tasks.TaskExtensions; namespace Xamarin.Android.Tasks { // We use this task to ensure that no unhandled exceptions // escape our tasks which would cause an MSB4018 public abstract class AndroidTask : Task { public a...
23.5
123
0.672703
[ "MIT" ]
AArnott/xamarin-android
src/Xamarin.Android.Build.Tasks/Tasks/AndroidTask.cs
2,209
C#
// <auto-generated> // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. // </auto-generated> namespace Microsoft.Bing.EntitySearch.Models { /// <summary> /// Defines values for SafeSearch. /// </summary> pu...
25.1
71
0.659363
[ "MIT" ]
josmperez1/bing-search-sdk-for-net-1
sdk/EntitySearch/src/Generated/Models/SafeSearch.cs
502
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("AWSSDK.Lambda")] [assembly: AssemblyDescri...
49.125
300
0.754453
[ "Apache-2.0" ]
SammyEnigma/aws-sdk-net
sdk/code-analysis/ServiceAnalysis/Lambda/Properties/AssemblyInfo.cs
1,572
C#
namespace PowerShell.Infrastructure.Utilities { public static class Characters { public static class String { public static string[] Letters = { "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z", "a", "b"...
78.391304
308
0.324459
[ "MIT" ]
Ollon/PowerShellModules
src/Infrastructure/Utilities/Characters.cs
1,805
C#
// Copyright (c) .NET Foundation and contributors. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using Microsoft.Build.Framework; using System.Collections.Generic; using System.Linq; namespace Microsoft.NET.Build.Tasks.ConflictResolution { ...
40.285714
121
0.664894
[ "MIT" ]
01xOfFoo/sdk
src/Tasks/Common/ConflictResolution/ResolvePublishOutputConflicts.cs
2,258
C#
namespace ClassLib121 { public class Class031 { public static string Property => "ClassLib121"; } }
15
55
0.633333
[ "MIT" ]
333fred/performance
src/scenarios/weblarge2.0/src/ClassLib121/Class031.cs
120
C#
// ***************************************************************************** // // © Component Factory Pty Ltd 2012. All rights reserved. // The software and associated documentation supplied hereunder are the // proprietary information of Component Factory Pty Ltd, 17/267 Nepean Hwy, // Seaford, Vic 3198, A...
32.596774
97
0.544038
[ "BSD-3-Clause" ]
Cocotteseb/Krypton
Source/Krypton Components/ComponentFactory.Krypton.Toolkit/General/KryptonReadOnlyControls.cs
4,045
C#
using System; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; using myEventCloud.EntityFrameworkCore; namespace myEventCloud.Migrations { [DbContext(typeof(myEventCloudDbContext))...
31.789282
117
0.441229
[ "MIT" ]
lyzr2507/myEventCloud
aspnet-core/src/myEventCloud.EntityFrameworkCore/Migrations/20170608053244_Upgraded_To_Abp_2_1_0.Designer.cs
35,002
C#
namespace EncompassRest.Loans { /// <summary> /// PriceAdjustmentLogRecord /// </summary> public sealed partial class PriceAdjustmentLogRecord : DirtyExtensibleObject, IIdentifiable { private DirtyValue<string> _description; private DirtyValue<string> _id; private DirtyValue<...
32.222222
100
0.606897
[ "MIT" ]
walkeryan/EncompassRest
src/EncompassRest/Loans/PriceAdjustmentLogRecord.cs
870
C#
using System; using System.Reflection; using System.Runtime.InteropServices; using System.Runtime.CompilerServices; // 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: Asse...
46.45098
202
0.771211
[ "Apache-2.0" ]
KenHundley/aws-sdk-net
sdk/src/Services/CodePipeline/Properties/AssemblyInfo.cs
2,369
C#
using System; using NetOffice; namespace NetOffice.OWC10Api.Enums { /// <summary> /// SupportByVersion OWC10 1 /// </summary> [SupportByVersionAttribute("OWC10", 1)] [EntityTypeAttribute(EntityType.IsEnum)] public enum ChartFillStyleEnum { /// <summary> /// SupportByVersion OWC10 1 /// </summary> ...
21.653846
42
0.648313
[ "MIT" ]
Engineerumair/NetOffice
Source/OWC10/Enums/ChartFillStyleEnum.cs
563
C#
// The MIT License(MIT) // // Copyright(c) 2021 Alberto Rodriguez Orozco & LiveCharts Contributors // // 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 restriction, including withou...
38.392308
176
0.618714
[ "MIT" ]
Diademics-Pty-Ltd/LiveCharts2
src/LiveChartsCore/Kernel/PointStatesDictionary.cs
4,993
C#
#nullable enable using SkiaSharp; using System; using System.Collections.Generic; using System.Runtime.CompilerServices; using System.Text; using Uno; using Uno.Extensions; using Uno.Foundation.Logging; using Uno.UI.Xaml; using Windows.Foundation; using Windows.Storage; using Windows.UI.Text; using Windows.UI.Xaml.C...
25.89697
198
0.69202
[ "Apache-2.0" ]
AbdalaMask/uno
src/Uno.UI/UI/Xaml/Controls/TextBlock/TextVisual.skia.cs
4,277
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 ...
27.421053
136
0.676903
[ "Apache-2.0" ]
aliyun/aliyun-openapi-net-sdk
aliyun-net-sdk-domain/Domain/Model/V20180129/SaveBatchTaskForDomainNameProxyServiceRequest.cs
3,126
C#
namespace OpenKh.Imaging { public interface IImageRead : IImage { /// <summary> /// Get pixel data /// </summary> /// <remarks> /// PixelFormat == Rgba8888 /// - 4 bytes [B, G, R, A] per pixel. /// </remarks> byte[] GetData(); byte...
20.117647
46
0.444444
[ "Apache-2.0" ]
CartoonFan/OpenKh
OpenKh.Imaging/IImageRead.cs
344
C#
using System; using System.Linq; using System.IO; using System.Text; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Runtime.Serialization; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using PureCloudPlatform.Client.V2.Client; namespace PureClo...
31.5
301
0.470837
[ "MIT" ]
seowleng/platform-client-sdk-dotnet
build/src/PureCloudPlatform.Client.V2/Model/PhysicalInterfaceEntityListing.cs
10,647
C#
using System; using System.Net.Sockets; using System.Runtime.CompilerServices; using System.Threading; using System.Threading.Tasks; namespace MySqlConnector.Utilities { // See http://blogs.msdn.com/b/pfxteam/archive/2011/12/15/10248293.aspx internal sealed class SocketAwaitable : INotifyCompletion { public Socke...
27.425532
132
0.740884
[ "Apache-2.0" ]
agnicore/nfx
src/providers/NFX.MySQL/MySqlConnector/Utilities/SocketAwaitable.cs
1,289
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.42000 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //--...
35.5
151
0.58216
[ "MIT" ]
gbouzon/app-dev
Assignments/Assignment 04 - JSON & RESTful Web APIs/User Record/Properties/Settings.Designer.cs
1,067
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.Collections.Generic; using System.Threading.Tasks; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Routing; using Microsoft.AspNetCore.Routing....
35.349206
137
0.546475
[ "MIT" ]
48355746/AspNetCore
src/Mvc/Mvc.Razor.RuntimeCompilation/src/PageLoaderMatcherPolicy.cs
4,454
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using NoRainForum.Computer.FrontWeb.Models; using NoRainForumCommon; using NoRainSDK.Models; using NoRainSDK.src; namespace NoRainForum.Computer.FrontWeb.Co...
40.524194
99
0.577512
[ "Apache-2.0" ]
MapleWithoutWords/NoRainForum-MicroService
NoRainForum/NoRainForum.Computer.FrontWeb/Controllers/LoginController.cs
5,105
C#
// <copyright company="Aspose Pty Ltd"> // Copyright (C) 2011-2020 GroupDocs. All Rights Reserved. // </copyright> namespace GroupDocs.Parser.Examples.CSharp.AdvancedUsage.ExtractDataFromVariousFormats.PowerPoint { using System; using System.Collections.Generic; using System.IO; using System.Text; ...
30.96875
97
0.590313
[ "MIT" ]
groupdocs-parser/GroupDocs.Parser-for-.NET
Examples/GroupDocs.Parser.Examples.CSharp/AdvancedUsage/ExtractDataFromVariousFormats/PowerPoint/ExtractText.cs
991
C#
using System; namespace Example { public interface IBase { void Hello(); } public interface IMore : IBase { void World(); } public class MoreExplicit : IMore { void IBase.Hello() { } void IMore.World() { } } public interface IConflict { ...
16.859649
53
0.515088
[ "MIT" ]
Xamarui/Embeddinator-4000
tests/MonoEmbeddinator4000.Tests/Samples/Interfaces.cs
963
C#
// Copyright (c) 2013 Andreas Gullberg Larsen (andreas.larsen84@gmail.com). // https://github.com/angularsen/UnitsNet // // 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 restricti...
44.308511
223
0.72389
[ "MIT" ]
tongbong/UnitsNet
UnitsNet/CustomCode/Quantities/MassFlow.extra.cs
4,167
C#
// Runtime: 48 ms, faster than 65.14% of C# online submissions for Pow(x, n). // Memory Usage: 15 MB, less than 76.65% of C# online submissions for Pow(x, n). public class Solution { public double MyPow(double x, int n) { bool neg = n < 0; double p; if (n == 0) return 1; ...
21.2
80
0.443396
[ "MIT" ]
Leralite/leetcode
50. Power/Power(1).cs
636
C#
#region PDFsharp - A .NET library for processing PDF // // Authors: // Stefan Lange // // Copyright (c) 2005-2019 empira Software GmbH, Cologne Area (Germany) // // http://www.pdfsharp.com // http://sourceforge.net/projects/pdfsharp // // Permission is hereby granted, free of charge, to any person obtaining a // copy...
33.321429
77
0.685959
[ "MIT" ]
0xced/PDFsharp
src/PdfSharp/Pdf.Content/enums/Symbol.cs
1,866
C#
using System; using System.Collections.Generic; namespace Baseball.ApiSharp.Data.Lahman { public partial class AwardsSharePlayers { public string AwardId { get; set; } public short YearId { get; set; } public string LgId { get; set; } public string PlayerId { get; set; } ...
27.235294
47
0.62203
[ "MIT" ]
krwittmer/Baseball.ApiSharp
Baseball.ApiSharp.Data.Lahman/AwardsSharePlayers.cs
465
C#
using System; namespace OdinSerializer { /// <summary> /// Defines default loggers for serialization and deserialization. This class and all of its loggers are thread safe. /// </summary> public static class DefaultLoggers { private static readonly object LOCK = new object(); priva...
27.652174
121
0.46934
[ "MIT" ]
futouyiba/ClubET
ThirdParty/OdinSerializer/Core/Misc/DefaultLoggers.cs
1,274
C#
// Copyright 2019 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 // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in w...
39.171171
98
0.563937
[ "Apache-2.0" ]
googleads/googleads-dotnet-lib
examples/AdManager/CSharp/v202108/PublisherQueryLanguageService/GetLineItemsNamedLike.cs
4,348
C#
using System.Security.Cryptography; using Microsoft.AspNetCore.Cryptography.KeyDerivation; using System; using IdentityServer4.MongoDB.Model.Setting; using Microsoft.Extensions.Options; namespace IdentityServer4.MongoDB.Service { public class PasswordService : IPasswordService { private readonly Passw...
30.5
76
0.60724
[ "Apache-2.0" ]
fredrikstrandin/Miniblog.Core
src/IdentityServer4.MongoDB/Service/PasswordService.cs
1,466
C#
using System; using System.Diagnostics; using Microsoft.Extensions.Logging; namespace Frank.Libraries.Logging.Exceptions { public class LoggerException<TLogger> : Exception where TLogger : ILogger { private readonly string _loggerName; public LoggerException(string message) : base(mes...
26.15
66
0.67304
[ "MIT" ]
frankhaugen/Frank.Extensions
src/Frank.Libraries.Logging/Exceptions/LoggerException.cs
525
C#
using CoreDdd.Nhibernate.TestHelpers; using IntegrationTestsShared; using IntegrationTestsShared.EntitiesWithNonIntegerId; using NUnit.Framework; using Shouldly; namespace CoreDdd.Nhibernate.Tests.EntitiesWithNonIntegerIdPersistence { [TestFixture] public class when_persisting_entity_with_composite_id : BaseP...
40.703704
124
0.749773
[ "MIT" ]
Buthrakaur/coreddd
src/CoreDdd.Nhibernate.Tests/EntitiesWithNonIntegerIdPersistence/when_persisting_entity_with_composite_id.cs
1,101
C#
using System; namespace FromTeraByteToByte { class FromTeraByteToByte { static void Main() { var terabyte = Console.ReadLine(); double newTerabyte = double.Parse(terabyte); double terabyteToBits = newTerabyte * 8796093022208; Console.WriteLine...
17.85
64
0.591036
[ "MIT" ]
hristokrastev/MasteringC
Data_Types_Exercises/FromTeraByteToByte/FromTeraByteToByte/FromTeraByteToByte.cs
359
C#
using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Options; using STAN.Client; using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Vls.Abp.Stan; using Volo.Abp; using Volo.Abp.DependencyInjection; using Volo...
36.287081
122
0.604167
[ "MIT" ]
vicecop/Vlc.Abp
Stan/src/Vls.Abp.EventBus.Stan/StanMqDistributedEventBus.cs
7,586
C#
// Copyright (c) 2010-2014 SharpDX - Alexandre Mutel // // 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 restriction, including without limitation the rights // to use, copy, modi...
51.357143
153
0.639136
[ "MIT" ]
andrew-boyarshin/SharpGenTools
SharpGen/Model/CppElement.Extensions.cs
9,349
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class PlayerController : MonoBehaviour { Animator anim; float h, v; public float speed; // Use this for initialization void Start () { anim = gameObject.GetComponent<Animator> (); } // Update is called once per frame...
17.117647
93
0.685567
[ "MIT" ]
geoffatSAE/Lighting-Pixel-Art
Assets/PlayerController.cs
584
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Nonoeil : Ennemies { // Start is called before the first frame update void Start() { } // Update is called once per frame void Update() { } }
15.052632
52
0.615385
[ "MIT" ]
Matteo-Grellier/Land-Of-Denuo
Assets/Scripts/Characters/Enemie/Nonoeil.cs
286
C#
using System.IO; using CP77.CR2W.Reflection; using FastMember; using static CP77.CR2W.Types.Enums; namespace CP77.CR2W.Types { [REDMeta] public class SetDesiredReaction : AIbehaviortaskScript { [Ordinal(0)] [RED("behaviorArgumentFloatPriority")] public CName BehaviorArgumentFloatPriority { get; set; } ...
38.789474
112
0.734057
[ "MIT" ]
Eingin/CP77Tools
CP77.CR2W/Types/cp77/SetDesiredReaction.cs
719
C#
using UnityEngine; using System; using System.Linq; using System.Collections; using System.Collections.Generic; namespace TMPro { public enum VertexSortingOrder { Normal, Reverse }; /// <summary> /// Structure which contains the vertex attributes (geometry) of the text object. /// </sum...
37.894502
149
0.490099
[ "MIT" ]
Hamburgerboi/george-royale
Library/PackageCache/com.unity.textmeshpro@3.0.0-preview.1/Scripts/Runtime/TMP_MeshInfo.cs
25,505
C#
#region PDFsharp - A .NET library for processing PDF // // Authors: // Stefan Lange // // Copyright (c) 2005-2016 empira Software GmbH, Cologne Area (Germany) // // http://www.PdfSharp.com // http://sourceforge.net/projects/pdfsharp // // Permission is hereby granted, free of charge, to any person obtaining a // copy...
34.005556
137
0.59353
[ "MIT" ]
929496959/PdfSharpCore
PdfSharpCore/Pdf/PdfObjectID.cs
6,121
C#
#if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms. /* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). *...
54.3125
175
0.617952
[ "MIT" ]
Clement-R/ggj_2018
Assets/Wwise/Deployment/API/Generated/Common/AkChannelConfigType.cs
869
C#
 // This file is used by Code Analysis to maintain SuppressMessage // attributes that are applied to this project. // Project-level suppressions either have no target or are given // a specific target and scoped to a namespace, type, member, etc. [assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Design", ...
120.5
347
0.815768
[ "Apache-2.0" ]
EbstaLimited/aws-sdk-net
sdk/src/Services/Polly/GlobalSuppressions.cs
1,207
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using Android.App; // 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...
37.228571
84
0.759018
[ "MIT" ]
krdmllr/CrossControls
sample/CrossControls.Sample/CrossControls.Sample.Android/Properties/AssemblyInfo.cs
1,306
C#
// Copyright (c) 2010-2013 SharpDX - Alexandre Mutel // // 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 restriction, including without limitation the rights // to use, copy, ...
38.524752
194
0.525792
[ "MIT" ]
shoelzer/SharpDX
Source/Tools/SharpDoc/TemplateContext.cs
27,237
C#
#region Copyright /*Copyright (C) 2015 Konstantin Udilovich 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 applicab...
28.828571
100
0.675421
[ "Apache-2.0" ]
Kodestruct/Kodestruct.Design
Kodestruct.Steel/AISC/AISC360v10/F_Flexure/BaseClasses/FlexuralMemberChsBase.cs
2,018
C#
using System.Threading.Tasks; namespace BrokeredMessaging.Messaging { /// <summary> /// A function that can process a received message. /// </summary> /// <param name="context">The <see cref="ReceiveContext"/> for the recieved message.</param> /// <returns>A task that represents the process of the...
34
96
0.705882
[ "MIT" ]
BrokeredMessaging/MessagingAbstractions
src/BrokeredMessaging.Messaging.Abstractions/ReceiveDelegate.cs
410
C#
using System; using System.Collections.Generic; using System.Linq; using System.Reflection.Emit; using System.Text; namespace System.Instants.Mathline { // assign and generate reckond loops [Serializable] public class CombinedFormula : Formula { int iI, lL; public Formula expr; ...
33.220472
134
0.388955
[ "MIT" ]
undersoft-org/NET.Undersoft.Sdk.Research
NET.Undersoft.Mathline/Undersoft.System.Instants.Mathline/Formula/CombinedFormula.cs
4,221
C#
using UnityEngine; public class WorldObjectUser : MonoBehaviour { //public float checkFrequency = 0.1f; //public float checkTimer = 0f; public GameObject helpText = null; public bool isPlayer = false; // Update is called once per frame void Update() { //checkTimer += Time.deltaTime; ...
34.884615
92
0.627894
[ "MIT" ]
caesuric/familiar-quest
FamiliarQuestMainGame/Assets/Scripts/Objects/WorldObjectUser.cs
1,816
C#