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.Collections; using System.Collections.Generic; using UnityEngine; public class SCENE1RandomBox : MonoBehaviour { public GameObject [] RandomBox; public Vector3 [] RandomBoxOther; // Use this for initialization void Start () { RandomBox [0].transform.position = RandomBoxOther [2]; } // Update i...
19.473684
56
0.727027
[ "MIT" ]
utamapribadi/RahjuIslandFinalUAS
RahjuIsland/Assets/ScriptAll/Scene1/SCENE1RandomBox.cs
372
C#
using System; using NHapi.Base; using NHapi.Base.Parser; using NHapi.Base.Model; using NHapi.Model.V26.Datatype; using NHapi.Base.Log; namespace NHapi.Model.V26.Segment{ ///<summary> /// Represents an HL7 CM0 message segment. /// This segment has the following fields:<ol> ///<li>CM0-1: Set ID - CM0 (SI)</li> ///<li>...
34.086475
121
0.65498
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
AMCN41R/nHapi
src/NHapi.Model.V26/Segment/CM0.cs
15,373
C#
using System; using System.Linq; using tdsm.api; using tdsm.core.Logging; using tdsm.core.ServerCore; namespace tdsm.core.Messages { public static class MessageDispatcher { private static MessageHandler[] messageArray = GetMessageArray(); /// <summary> /// Load all IMessage types into ...
40.383838
166
0.485243
[ "MIT" ]
DeathCradle/Terraria-s-Dedicated-Server-Mod
Core/Messages/MessageDispatcher.cs
3,998
C#
// Copyright (c) Microsoft. 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.IO; using System.Linq; using Microsoft.CodeAnalysis.CSharp.Symbols; using Microsoft.CodeAnalysis.CSharp.Syntax; using Microsoft.Co...
37.833197
282
0.606929
[ "Apache-2.0" ]
DanMcNultyDev/roslyn
src/Compilers/CSharp/Test/Semantic/Semantics/LambdaTests.cs
92,769
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> //---...
40.971716
1,997
0.546601
[ "MIT" ]
KennethEvans/VS-GpsUtils
GpsUtils/gpx.xsd.cs
154,996
C#
using NUnit.Framework; [TestFixture] public class Perf04 { [TestCase] public void Add_Many_Count_ShouldWork() { // Arrange IProductStock stock = new Instock(); const int count = 100_000; // Act & Assert for (int i = 0; i < count; i++) { Assert.A...
20.9
55
0.533493
[ "MIT" ]
mayapeneva/Data-Structures
EXAMS/MyDSExam_2018.03.11/Instock/INStock.Tests/Performance/Perf04.cs
420
C#
using UnityEditor; using UnityEngine; [CustomEditor(typeof(Example))] public class ExampleEditor : Editor { private SerializedProperty text; private void OnEnable() { text = serializedObject.FindProperty("Text"); } public override void OnInspectorGUI() { Edito...
24.407407
119
0.670713
[ "MIT" ]
herman-rogers/Relic
RelicGame/Assets/TouchScript/Examples/Basic/Editor/ExampleEditor.cs
659
C#
using System.ComponentModel; using DevExpress.XtraReports.UI; namespace AGCI.Reportes { partial class PlanesDeMedidaControlReport { /// <summary> /// Required designer variable. /// </summary> private IContainer components = null; /// <summary> /// Clean up an...
52.604598
163
0.623913
[ "MIT" ]
ArielBlanco1990/AGCI
AGCI/Reportes/PlanesDeMedidaControlReport.Designer.cs
22,888
C#
using System; using System.Collections.Generic; using System.Linq; using RestSharp.Serializers; using RestSharp.Deserializers; namespace Khipu.Api { public class KhipuApiEndPoint : KhipuService { public KhipuApiEndPoint (string receiver_id, string secret) : base(receiver_id, secret){ } public Dictionary<stri...
45.1
177
0.660657
[ "BSD-3-Clause" ]
khipu/lib-dotnet
lib-khipu/Khipu/KhipuApiEndPoint.cs
10,375
C#
using System.Collections.Generic; using Expressive.Expressions; using Expressive.Expressions.Binary.Bitwise; using Microsoft.VisualStudio.TestTools.UnitTesting; using Moq; namespace Expressive.Tests.Expressions.Binary.Bitwise { [TestClass] public class BitwiseAndExpressionTests { [TestMethod] ...
32
113
0.664063
[ "MIT" ]
denispakizh/expressive
Source/CSharp/Expressive/Expressive.Tests/Expressions/Binary/Bitwise/BitwiseAndExpressionTests.cs
770
C#
using NodeCanvas.Framework; using ParadoxNotion.Design; using UnityEngine; namespace NodeCanvas.DialogueTrees{ [Name("GO TO")] [Category("Control")] [Description("Jump to another Dialogue node. Usefull if that other node is far away to connect, but otherwise it's exactly the same.\n\nPlease enable 'Show Node IDs...
28.276923
201
0.647987
[ "MIT" ]
thelebaron/300ShackGameJam
Assets/Plugins/ParadoxNotion/NodeCanvas/Modules/DialogueTrees/Nodes/GoToNode.cs
1,840
C#
// Copyright (c) Microsoft. 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.Collections.Immutable; using System.Diagnostics; using System.Linq; using System.Threading; usin...
49.408122
295
0.545852
[ "Apache-2.0" ]
KashishArora/Roslyn
src/Workspaces/CSharp/Portable/Simplification/CSharpSimplificationService.Expander.cs
48,669
C#
using System.Collections; using TMPro; using UnityEngine; namespace BlueNoah { public class TextMeshSpiral1 : TextMeshMotionBase { public Vector3 offset = Vector3.up; public float radius = 20; public float maxRadius = 1000; public float rotateSpeed = 200; public float sp...
53.937984
177
0.550446
[ "MIT" ]
yingyugang/TextMeshModify
Assets/Scripts/TextMeshSpiral1.cs
7,120
C#
// Copyright (c) Six Labors. // Licensed under the Apache License, Version 2.0. using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Text.RegularExpressions; using Microsoft.DotNet.RemoteExecutor; using SixLabors.ImageSharp.Advanced; using SixLabors.ImageSharp.Pix...
47.073529
144
0.595022
[ "Apache-2.0" ]
OctoberKey/ImageSharp
tests/ImageSharp.Tests/Processing/Processors/Convolution/BokehBlurTest.cs
9,603
C#
using Sharpen; namespace gov.nist.javax.sip.parser.ims { [Sharpen.NakedStub] public class PChargingFunctionAddressesParser { } }
13.4
46
0.776119
[ "Apache-2.0" ]
Conceptengineai/XobotOS
android/naked-stubs/gov/nist/javax/sip/parser/ims/PChargingFunctionAddressesParser.cs
134
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 System; using System.Collections; using System.Collections.Generic; using System.Collections.Specializ...
41.8775
179
0.591786
[ "MIT" ]
KeyurJP/OpenSilver
src/Runtime/Runtime/System.Windows.Controls/HeaderedItemsControl.cs
16,753
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 Microsoft.AspNetCore.Components; using Microsoft.AspNetCore.Components.Rendering; using Microsoft.AspNetCore.Components.Test.Helpers; using System...
36.760722
120
0.603009
[ "Apache-2.0" ]
CBaud/AspNetCore
src/Components/Components/test/CascadingParameterStateTest.cs
16,285
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.Collections; using Avalonia.Controls.Primitives; using Avalonia.Controls.Templates; using Av...
39.161881
191
0.534529
[ "MIT" ]
Karnah/Avalonia
src/Avalonia.Controls.DataGrid/DataGrid.cs
233,211
C#
using ImGuiNET; using System; namespace ImGuiScene { public class SimpleImGuiScene : IDisposable { public SimpleSDLWindow Window { get; private set; } public SimpleD3D D3D { get; private set; } public delegate void BuildUIDelegate(); public BuildUIDelegate OnBuildUI; ...
26.191011
191
0.533677
[ "MIT" ]
goaaats/ImGuiScene
ImGuiScene/SimpleImGuiScene.cs
2,333
C#
using Abp.Authorization.Users; using Abp.Domain.Repositories; using Abp.Domain.Uow; using Abp.Linq; using HC.POSCloud.Authorization.Roles; namespace HC.POSCloud.Authorization.Users { public class UserStore : AbpUserStore<Role, User> { public UserStore( IUnitOfWorkManager unitOfWorkManager, ...
34.060606
86
0.622776
[ "MIT" ]
YangFan17/ABP-Basic
poscloud-aspnet-core/src/HC.POSCloud.Core/Authorization/Users/UserStore.cs
1,124
C#
using System.Collections.Concurrent; using Microsoft.Extensions.Configuration; using Abp.Extensions; using Abp.Reflection.Extensions; namespace Hotel.Configuration { public static class AppConfigurations { private static readonly ConcurrentDictionary<string, IConfigurationRoot> _configurationCache; ...
33.625
133
0.629492
[ "MIT" ]
OzBob/aspnetboilerplate-samples
GraphQLDemo/aspnet-core/src/Hotel.Core/Configuration/AppConfigurations.cs
1,616
C#
// // Copyright (c) Seal Report, Eric Pfirsch (sealreport@gmail.com), http://www.sealreport.org. // Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. http://www.apache.org/licenses/LICENSE-2.0.. // using System; using System.Collections.Gen...
34.505
176
0.530938
[ "Apache-2.0" ]
Quttia/Seal-Report
Projects/SealLibrary/Helpers/FileHelper.cs
6,903
C#
//HintName: Splat.DI.Extensions.Registrations.SourceGenerated.cs // <auto-generated /> namespace Splat { internal static partial class SplatRegistrations { static partial void SetupIOCInternal( Splat.IDependencyResolver resolver) { { global::System.Lazy<Test.ITest>...
46.823529
282
0.665829
[ "MIT" ]
isabella232/Splat.DI.SourceGenerator
src/Splat.DependencyInjection.SourceGenerator.Tests/RegisterLazySingletonTests.ConstructionInjection_contractParameter=.01.verified.cs
798
C#
using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 namespace aws { [JsiiInterface(nativeType: typeof(IWafv2RuleGroupRuleStatementAndStatementStatementIpSetReferenceStatement), fullyQualifiedName: "aws.Wafv2RuleGroupRuleStatementAndStatementStatementIpSetReferenceStatement")] public...
38.83871
216
0.701827
[ "MIT" ]
scottenriquez/cdktf-alpha-csharp-testing
resources/.gen/aws/aws/IWafv2RuleGroupRuleStatementAndStatementStatementIpSetReferenceStatement.cs
1,204
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.Generic; using System.Linq; using System.Text; using JetBrains.Annotations; using Microsoft.EntityFrameworkCore....
41.1
166
0.625845
[ "Apache-2.0" ]
Alecu100/EntityFrameworkCore
samples/OracleProvider/src/OracleProvider/Internal/OracleModelValidator.cs
3,701
C#
using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Globalization; using System.Linq.Expressions; using System.Web.Mvc.Properties; namespace System.Web.Mvc.Html { public static class TextAreaExtensions { // These values are similar to the defaults used by WebForms ...
49.487047
236
0.654486
[ "Apache-2.0" ]
douchedetector/mvc-razor
src/System.Web.Mvc/Html/TextAreaExtensions.cs
9,553
C#
namespace PhoneNotify.Models.RequestBodies.Sound { public class GetTTSInMP3RequestBody { public string TextToSay { get; set; } public int VoiceID { get; set; } public int BitRate { get; set; } public byte TTSrate { get; set; } public byte TTSvolume { get; set; } } }
26.666667
49
0.6125
[ "MIT" ]
antekraljevic/phone-notify-netcore
Models/RequestBodies/Sound/GetTTSInMP3RequestBody.cs
322
C#
using System.Threading.Tasks; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Logging.Abstractions; using Volo.Abp.Data; using Volo.Abp.DependencyInjection; using Volo.Abp.Identity; namespace KissU.Modules.Identity.DbMigrator.Data { public class DbMigrationService : ITransientDependency { ...
32.025
116
0.685402
[ "MIT" ]
gongap/KissU.Microservice
modules/identity/src/KissU.Modules.Identity.DbMigrator/Data/DbMigrationService.cs
1,283
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("ab...
38.918919
84
0.744444
[ "Apache-2.0" ]
Abbott-Unlimited/AbcBankCSharpInterview
abc-bank-tests/Properties/AssemblyInfo.cs
1,443
C#
namespace Microsoft.Azure.PowerShell.Cmdlets.StreamAnalytics.Models.Api20170401Preview { using static Microsoft.Azure.PowerShell.Cmdlets.StreamAnalytics.Runtime.Extensions; /// <summary>Describes an output column for the Azure Machine Learning web service endpoint.</summary> public partial class Azure...
52.8
141
0.680161
[ "MIT" ]
Agazoth/azure-powershell
src/StreamAnalytics/generated/api/Models/Api20170401Preview/AzureMachineLearningServiceOutputColumn.cs
4,145
C#
using Microsoft.AspNet.Identity; using Microsoft.AspNet.Identity.EntityFramework; using GreenStore.Configuration; using GreenStore.Models; using RestSharp; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using System.Web; using System.Web.Mvc; namespace GreenStore.Cont...
37.58042
148
0.535728
[ "MIT" ]
phanngoctri/GREENWORLD_GREENSTORE
GreenStore/Controllers/CheckoutController.cs
5,376
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"); ...
28.455556
82
0.726669
[ "Apache-2.0" ]
kyllix/logging-log4net
src/log4net.Tests/Appender/MemoryAppenderTest.cs
2,563
C#
/* * Copyright 2018 JDCLOUD.COM * * 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...
24.829268
76
0.71611
[ "Apache-2.0" ]
jdcloud-api/jdcloud-sdk-net
sdk/src/Service/Vpc/Apis/ModifySubnetResponse.cs
1,042
C#
using System.Linq; using HugoModels; using Xunit; using CL = ConverterLibrary.Replacers.ImageReplacer; namespace ConverterLibrary.Tests.Replacers.ImageReplacer { public class ImageReplacerTests { private const string SiteUrlHttp = "http://www.site.com"; private const string ImageBaseUrl = "/sta...
34.841121
168
0.545333
[ "MIT" ]
xs4free/wordpress-to-hugo-and-staticman-converter
src/ConverterLibrary.Tests/Replacers/ImageReplacer/ImageReplacerTests.cs
3,728
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class BetterJumping : MonoBehaviour { private Rigidbody rb; public float fallMultiplier = 2.5f; public float lowJumpMultiplier = 2f; void Start() { rb = GetComponent<Rigidbody>(); } void Update()...
25.172414
103
0.608219
[ "Unlicense" ]
Tarkensplat/Escalation
Assets/Scripts/BetterJumping.cs
730
C#
 using System.Collections.Generic; namespace H_UI { /// <summary> /// Processes console commands /// </summary> public abstract class HUI_ConsoleProcessor { public List<HUI_ConsoleCommand> commands; /// <summary> /// Constructor, runs loadCommands. /// Adds help a...
24.870968
77
0.491569
[ "MIT" ]
rabuitendijk/Isomorph-core-tri
Assets/Code/HUI_Toolbox/SubComponents/HUI_ConsoleProcessor.cs
1,544
C#
using System; using System.Collections.Generic; using System.Text; using System.Net; using System.Net.Sockets; using System.Windows.Forms; namespace GUI_Pizza_L { class WebSocket { // Declaring a Net Socket object public Socket sck; // Declaring 2 Endpoints objects for 2 pcs pu...
29.242991
139
0.557047
[ "MIT" ]
Martorad/PizzaShopAutomation
GUI_Pizza_L/GUI_Pizza_L/WebSocket.cs
3,131
C#
public class Node<T> { private T data; private NodeList<T> neighbors = null; public Node() { } public Node(T data) : this(data, null) { } public Node(T data, NodeList<T> neighbors) { this.data = data; this.neighbors = neighbors; } public T Value { get { return data; } set { data = value; ...
12.485714
43
0.594966
[ "MIT" ]
keel-210/MissingSystem
Assets/Scripts/DAG/Node.cs
437
C#
namespace ImageFormatConverter { partial class FormUpdata { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> ...
37.031746
142
0.581226
[ "MIT" ]
Sogrey/ImageFormatConverter
ImageFormatConverter/FormUpdata.Designer.cs
2,343
C#
using System.Windows; namespace BoloniTools.View { /// <summary> /// ReportViewWindows.xaml 的交互逻辑 /// </summary> public partial class FlowCardWindows : Window { public FlowCardWindows() { InitializeComponent(); this.Loaded += ReportViewWindows_Loaded; ...
20.619048
79
0.595843
[ "MIT" ]
wangwei2k99/BoloniTools_WPF_NET46
View/FlowCardWindows.xaml.cs
445
C#
// Copyright 2019 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 metric aggregates events into metrics that can be exported. // package metric -- go2cs converted at 2020 October 09 06:01:49 UTC // import "golang.or...
30.959596
139
0.525938
[ "MIT" ]
GridProtectionAlliance/go2cs
src/go-src-converted/exporter.cs
3,065
C#
namespace DatDigger.Sections.Animation.Curves { public class ConstantCurve : Curve<float> { public ConstantCurve(AnimatedComponent component, float value) { this.AnimatedComponent = component; this.Value = value; this.CurveValues = new float[1] { value }; ...
25.958333
70
0.566613
[ "MIT" ]
nohbdy/ffxivmodelviewer
src/DatDigger/Sections/Animation/Curves/ConstantCurve.cs
625
C#
//////////////////////////////////////////////////////////////////////////////////////////////////////// // // // // // ...
34.732628
166
0.498369
[ "MIT" ]
KiritchoukC/language-ext
Samples/TestBed/Program.cs
22,995
C#
/**************************************************************************** * Copyright 2019 Nreal Techonology Limited. All rights reserved. * * This file is pa...
41.431953
157
0.531182
[ "MIT" ]
brinobre/Immersal_nReal_test
Assets/NRSDK/Editor/Scripts/TrackingImageDatabaseInspector.cs
21,008
C#
using System.Threading.Tasks; using Equinor.Lighthouse.Api.Domain; using Equinor.Lighthouse.Api.MainApi.Person; using Equinor.Lighthouse.Api.WebApi.Misc; using Microsoft.AspNetCore.Http; using Microsoft.Extensions.Logging; namespace Equinor.Lighthouse.Api.WebApi.Middleware; public class PersonValidatorMiddleware { ...
30.763158
75
0.67408
[ "MIT" ]
equinor/lighthouse-api
src/Equinor.Lighthouse.Api.WebApi/Middleware/PersonValidatorMiddleware.cs
1,171
C#
using System.IO; static class DefaultInterfacesExtensions { public static void Explain(this DefaultInterfaces runnable, TextWriter writer) { writer.WriteLine(@" - Finally we can evolve interfaces as well. - They can use the regular keywords. - The compiler generates (of course with the asyn...
21.24
87
0.6629
[ "Apache-2.0" ]
danielmarbach/Async.Netcore
DefaultInterfacesExtensions.cs
531
C#
using System.Windows.Controls; namespace BuzzardWPF.Views { /// <summary> /// Interaction logic for SearchConfigView.xaml /// </summary> public partial class SearchConfigView : UserControl { public SearchConfigView() { InitializeComponent(); } }...
20.3125
56
0.581538
[ "Apache-2.0" ]
PNNL-Comp-Mass-Spec/Buzzard
BuzzardWPF/Views/SearchConfigView.xaml.cs
327
C#
using System; using Microsoft.OpenApi.Interfaces; namespace Yardarm.Spec { public interface ILocatedOpenApiElement { IOpenApiElement Element { get; } Type ElementType { get; } string Key { get; } ILocatedOpenApiElement? Parent { get; } } }
17
47
0.640138
[ "Apache-2.0" ]
CenterEdge/Yardarm
src/Yardarm/Spec/ILocatedOpenApiElement.cs
291
C#
using Newtonsoft.Json; namespace QIQI.EProjectFile.LibInfo { public class LibEvnetInfo { public string Name { get; set; } public override string ToString() { return JsonConvert.SerializeObject(this, Formatting.Indented); } } }
19.066667
74
0.622378
[ "Unlicense" ]
1354092549/EProjectFile
EProjectFile/LibInfo/LibEvnetInfo.cs
288
C#
using E2EServer.DataObjects; using System; namespace E2EServer.Database { public static class DbInitializer { public static void Initialize(E2EDbContext context) { context.Database.EnsureDeleted(); context.Database.EnsureCreated(); SeedMovies(context); ...
35.754902
77
0.463669
[ "MIT" ]
BenBtg/azure-mobile-apps
dotnet/samples/E2EServer/Database/DbInitializer.cs
3,649
C#
using System; using UnityEngine; public class Item : MonoBehaviour { public ItemData data; public float dropRate; public Sprite image; public void Take() { // Animation de prendre Destroy(gameObject); } public void Use(PlayerController p) { switch (data.type) ...
19.24
64
0.534304
[ "MIT" ]
Vieruz/Smywar
Assets/Scripts/Item.cs
964
C#
using HealthChecks.UI.Client; using IdentityModel.AspNetCore.OAuth2Introspection; using Microsoft.AspNetCore.Authentication.JwtBearer; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.DataProtection; using Microsoft.AspNetCore.Diagnostics.HealthChecks; using Microsoft.AspNetCore.Hosting; using Microsoft.A...
44.220544
148
0.562889
[ "Apache-2.0" ]
bcgov/pssg-dfm
medical-portal/src/API/RSBC.DMF.MedicalPortal.API/Startup.cs
14,637
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class TirDeProjectile : MonoBehaviour { public GameObject projectile; // Update is called once per frame void Update() { if (Input.GetKeyDown(KeyCode.T)) { Instantiate(projectile, gameObj...
21.888889
98
0.680203
[ "MIT" ]
Yberion/M2-IL-MAR
TP1/Assets/Scripts/TirDeProjectile.cs
396
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Xml.Serialization; using FlatRedBall.Math.Splines; using FlatRedBall.IO; namespace FlatRedBall.Content.Math.Splines { #region XML Docs /// <summary> /// Save class for lists of Splines. /// </summary> ...
21.918605
86
0.586737
[ "MIT" ]
coldacid/FlatRedBall
Engines/FlatRedBallXNA/FlatRedBall/Content/Math/Splines/SplineSaveList.cs
1,885
C#
using System.Data.SqlClient; using System; using System.Data; using System.Data.Odbc; public class Program { public static void Main() { string connectionString = "Data Source=Oracle9i;User ID=*****;Password=*****;"; OdbcConnection odbcConnection = new OdbcConnection(connectionString); s...
34.714286
111
0.650206
[ "MIT" ]
PacktPublishing/Hands-On-Object-Oriented-Programming-with-CSharp
Code/Chapter_10/Code_10-6.cs
729
C#
namespace System.Linq.Dynamic.Core.Tokenizer { internal enum TokenId { Unknown, End, Identifier, StringLiteral, IntegerLiteral, RealLiteral, Exclamation, Percent, Amphersand, OpenParen, CloseParen, OpenCurlyParen, ...
19.133333
45
0.514518
[ "Apache-2.0" ]
AndriiZ/System.Linq.Dynamic.Core
src/System.Linq.Dynamic.Core/Tokenizer/TokenId.cs
863
C#
using System; namespace PickleStats.Data { public class WeatherForecast { public DateTime Date { get; set; } public int TemperatureC { get; set; } public int TemperatureF => 32 + (int)(TemperatureC / 0.5556); public string Summary { get; set; } } }
18.5625
69
0.606061
[ "MIT" ]
RediCute/PickleStats
PickleStats/Data/WeatherForecast.cs
297
C#
//////////////////////////////////////////////////////////////////////// // // Copyright (c) 2018 Audiokinetic Inc. / All Rights Reserved // //////////////////////////////////////////////////////////////////////// using UnityEngine; using System.Collections; using System.Collections.Generic; using UnityEngine.UI; usi...
40.867424
309
0.603207
[ "MIT" ]
AlbertCayuela/AudioDigital
WAG_No_Sound/Assets/Game Assets/Player/Scripts/PlayerAttack.cs
10,791
C#
using System.Collections.Generic; using Dmarc.DnsRecord.Importer.Lambda.Dns.Client.RecordInfos; using Heijden.DNS; namespace Dmarc.DnsRecord.Importer.Lambda.Dns { public class DnsResponse { public DnsResponse(List<RecordInfo> records, RCode responseCode) { Records = records; ...
24.473684
72
0.662366
[ "Apache-2.0" ]
prodypanda/mail-check
src/dotnet/Dmarc/src/Dmarc.DnsRecord.Importer.Lambda/Dns/DnsResponse.cs
465
C#
// // Copyright (C) DataStax 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 la...
33.645161
77
0.705657
[ "Apache-2.0" ]
mintsoft/csharp-driver
src/Cassandra/Connections/IControlConnectionFactory.cs
1,043
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.612903
84
0.742777
[ "MIT" ]
reniris/NyanTweet
NyanTweet/NyanTweet/Properties/AssemblyInfo.cs
1,076
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // Общие сведения об этой сборке предоставляются следующим набором // набора атрибутов. Измените значения этих атрибутов для изменения сведений, // связанных со сборкой. [assembly: AssemblyTitle("Task_WinForm_...
39.810811
100
0.744739
[ "MIT" ]
uniondirfolder/ItstepSysRrogHomeWorksCSharp
Task_WinForm_p1/Properties/AssemblyInfo.cs
2,054
C#
using Cdy.Ant; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Xml.Linq; namespace AntRuntime.Enginer { /// <summary> /// /// </summary> public abstract class TagRunBase:IDisposable { #region ... Variables ...
22.47619
86
0.413665
[ "Apache-2.0" ]
cdy816/Ant
Run/AntRuntime/Enginer/TagRunBase.cs
5,698
C#
using System; using ProjectBlue.RepulserEngine.Domain.DataModel; using ProjectBlue.RepulserEngine.Domain.Entity; using ProjectBlue.RepulserEngine.Repository; using ProjectBlue.RepulserEngine.UseCaseInterfaces; using UniRx; namespace ProjectBlue.RepulserEngine.Domain.UseCase { public class TimecodeDisplayUseCase :...
34.842105
99
0.723565
[ "MIT" ]
ProjectBLUE-000/RepulserEngine
Assets/Scripts/3_ApplicationBusinessRules/UseCase/TimecodeDisplayUseCase.cs
1,326
C#
using System; using System.Runtime.InteropServices; using OutputLabelType = System.UInt32; // ReSharper disable once CheckNamespace namespace DlibDotNet { internal sealed partial class NativeMethods { [DllImport(NativeDnnLibrary, CallingConvention = CallingConvention)] [return: M...
62.650407
134
0.518233
[ "MIT" ]
MarkWalter94/DlibDotNet
src/DlibDotNet/PInvoke/Dnn/Loss/LossMulticlassLog.cs
15,414
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using AsyncGenerator.Analyzation; using AsyncGenerator.Core; using AsyncGenerator.Core.Plugins; using AsyncGenerator.Plugins; using AsyncGenerator.Plugins.Internal; using Microsoft.CodeAnalysis; using Mi...
32.451613
158
0.835984
[ "MIT" ]
bubdm/AsyncGenerator
Source/AsyncGenerator/Internal/DelegateAsyncCounterpartsFinder.cs
1,008
C#
using Newtonsoft.Json; namespace Base.Data.Properties { // id "2.0.x" public sealed class GlobalPropertiesObject : IdObject { [JsonProperty( "parameters" )] public ChainParametersData Parameters { get; private set; } [JsonProperty( "pending_parameters", NullValueHandling = NullValueHandling.Ignore )] pub...
35.2
86
0.752841
[ "Unlicense" ]
pacatum/Helmbet-RPS
Assets/Scripts/BaseApi/Data/Properties/GlobalPropertiesObject.cs
706
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 "license" fi...
34.5
105
0.665862
[ "Apache-2.0" ]
ChristopherButtars/aws-sdk-net
sdk/src/Services/AppMesh/Generated/Model/Internal/MarshallTransformations/TcpRouteActionMarshaller.cs
2,484
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...
41.122699
196
0.596002
[ "Apache-2.0" ]
pulumi/pulumi-azure-nextgen
sdk/dotnet/ApiManagement/V20180601Preview/GroupUser.cs
6,703
C#
using System; using System.Collections.Generic; using System.IO; using System.Net.Http; using System.Text; using System.Threading.Tasks; namespace WlToolsLib.EasyHttpClient { /// <summary> /// httpclient /// </summary> public interface IEasyHttpClient { /// <summary> /// 异常结果构成器 ...
34.213115
165
0.513177
[ "MIT" ]
wlfsky/netcorewebapi
src/Core/WlToolsLib/EasyHttpClient/IEasyHttpClient.cs
4,264
C#
// This enum definition really belongs to MaterialExtension.cs, however for limitation of the parser that generates HLSL definitions, // hlsl code is not generated from files that use C# 7+ features, so this needs to be in its own file for now. Will need to move back // MaterialExtension.cs once the parser is updated t...
37.666667
133
0.712389
[ "MIT" ]
ACBGZM/JasonMaToonRenderPipeline
Packages/com.unity.render-pipelines.high-definition@10.5.0/Runtime/Material/MaterialBlendModeEnum.cs
678
C#
using System; using System.Collections; using System.Collections.Generic; namespace k_ary_tree { public class KTree<T> { public Node<T> Root { get; set; } public int KidsAllowed { get; set; } // Children allowed per node public KTree(int kidsAllowed) { KidsAllow...
32.926316
237
0.461957
[ "MIT" ]
daviddicken/data-structures-and-algorithms
dotnet/dataStructures/k-ary-tree/K-ary-tree.cs
3,130
C#
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; using System.Windows.Controls; using System.Windows.Input; using Accelerider.Windows.Infrastructure; using Accelerider.Windows.Infrastructure.Mvvm; using Accelerider.Window...
39.410042
161
0.614503
[ "MIT" ]
Jovan-Cheng/Accelerider.Windows
Source/Accelerider.Windows.Modules.NetDisk/ViewModels/FileBrowser/Files.vm.cs
9,421
C#
using SalamanderWamp.Configuration; using System; using System.Collections.Generic; using System.Text; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Imaging; using static...
27.602941
92
0.624401
[ "MIT" ]
salamander-mh/SalamanderWamp
SalamanderWamp/UI/SettingWin.xaml.cs
1,889
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Xunit; using Entry = System.Collections.Generic.Dictionary<string, object>; namespace Simple.OData.Client.Tests { public class DeleteODataTestsV2Atom : DeleteODataTests { public DeleteODataTestsV2At...
28.037383
100
0.556333
[ "MIT" ]
3-PRO/Simple.OData.Client
src/Simple.OData.Client.IntegrationTests/DeleteODataTests.cs
3,002
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.Generic; using System.Diagnostics; using System.Linq; using System.Reflection; using System...
35.797158
165
0.54553
[ "MIT" ]
AndreyAkinshin/corefx
src/System.Collections.Immutable/tests/ImmutableArrayBuilderTest.cs
27,707
C#
namespace Peach.Core.Debuggers.DebugEngine.Tlb { using System; public enum __MIDL___MIDL_itf_DbgEng_0001_0081_0043 { DEBUG_CSS_UNLOADS = 2 } }
16.272727
56
0.664804
[ "MIT" ]
FXTi/peachfuzz-code
Peach.Core.OS.Windows/Debuggers/DebugEngine/Tlb/__MIDL___MIDL_itf_DbgEng_0001_0081_0043.cs
179
C#
using GOAP_S.Planning; using UnityEngine; public class IdleAction_GS : Action_GS { public float time = 1.0f; private float timer = 0.0f; public override ACTION_RESULT ActionUpdate() { timer += Time.deltaTime; if (timer > time) { timer = 0.0f; return ACT...
20.842105
48
0.593434
[ "MIT" ]
ferranmartinvila/Unity-GOAP_S
Unity_Project/Assets/ExampleScripts/Actions/IdleAction_GS.cs
398
C#
using System; using Microsoft.Extensions.DependencyInjection; using Uveta.Extensions.Jobs.Abstractions.Workers; namespace Uveta.Extensions.Jobs.Workers.DependencyInjection { public class WorkersBuilder { public IServiceCollection Services { get; } internal WorkersBuilder(IServiceCollection ser...
33.111111
110
0.661074
[ "MIT" ]
uveta/extensions-jobs
src/Uveta.Extensions.Jobs.Workers/DependencyInjection/WorkersBuilder.cs
894
C#
using System.Net; using System.Threading; using System.Threading.Tasks; using Application.Errors; using Application.Interfaces; using Domain; using FluentValidation; using MediatR; using Microsoft.AspNetCore.Identity; using Persistence; namespace Application.User { public class Login { public class Que...
31.84058
126
0.555303
[ "Apache-2.0" ]
waleryjasinski/CompleteGuideToBuildingAnAppWithDotNetCoreAndReact
Course Assets/SourceCode/Section12/Reactivities/Application/User/Login.cs
2,197
C#
namespace MyPetProject.Data { using System.IO; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Design; using Microsoft.Extensions.Configuration; public class DesignTimeDbContextFactory : IDesignTimeDbContextFactory<ApplicationDbContext> { public ApplicationDbC...
34.884615
95
0.687982
[ "MIT" ]
Georgi-Kalkovski/MyPetProject
Data/MyPetProject.Data/DesignTimeDbContextFactory.cs
909
C#
// Keras-Sharp: C# port of the Keras library // https://github.com/cesarsouza/keras-sharp // // Based under the Keras library for Python. See LICENSE text for more details. // // The MIT License(MIT) // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and...
39.380952
84
0.722491
[ "MIT" ]
JurgenCox/keras-sharp
Sources/Optimizers/Adamax.cs
1,656
C#
using Microsoft.AspNetCore.Identity; using Microsoft.AspNetCore.Identity.EntityFrameworkCore; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; namespace Snippet.Micro.EntityFrameworkCore { public static class ServiceCollectionExtension ...
43.860465
142
0.543832
[ "MIT" ]
aishang2015/Snippet.Micro
src/Infrastructures/Snippet.Micro.EntityFrameworkCore/ServiceCollectionExtension.cs
5,688
C#
using System; using System.Reactive.Linq; using Stride.Core.Mathematics; namespace Avalonia.Animation { public class Vector3Transition : Transition<Vector3> { public override IObservable<Vector3> DoTransition(IObservable<double> progress, Vector3 oldValue, Vector3 newValue) { ...
28.352941
124
0.630705
[ "MIT" ]
TheKeyblader/Stridelonia
src/Stridelonia.Avalonia/Transitions/Vector3Transition.cs
484
C#
using CenterSpace.NMath.Core; namespace L4 { public class NLPSolver { public enum ConstraintType { Upper, // <= constraint Lower, // >= constraint Equal // == constraint } public enum BoundType { Upper, Lo...
33.829932
165
0.476372
[ "MIT" ]
23W/Labs
TOPS/L4/L4/NLPSolver.cs
4,975
C#
using System; using System.Threading; using System.Threading.Tasks; using MediatR; using Microsoft.Extensions.Logging; using Opdex.Platform.Application.Abstractions.Commands.LiquidityPools; using Opdex.Platform.Application.Abstractions.EntryCommands.MiningPools; using Opdex.Platform.Application.Abstractions.EntryComman...
49.819277
153
0.732769
[ "MIT" ]
Opdex/opdex-v1-api
src/Opdex.Platform.Application/EntryHandlers/Transactions/TransactionLogs/Markets/ProcessCreateLiquidityPoolLogCommandHandler.cs
4,135
C#
/* This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. Copyright (C) 2009-2020 Michael Möller <mmoeller@openhardwaremonitor.org> Copyright (C) 2010 Paul Werelds <pa...
32.660494
80
0.590626
[ "Apache-2.0" ]
ebmoluoc/CpuShutdown
OpenHardwareMonitorLib/Hardware/CPU/AMD0FCPU.cs
5,295
C#
// // SequenceMapTest.cs // // Author: // Zachary Gramana <zack@xamarin.com> // // Copyright (c) 2013, 2014 Xamarin Inc (http://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...
42.788889
92
0.683978
[ "Apache-2.0" ]
LongoMatch/couchbase-lite-net
src/Couchbase.Lite.Tests.Shared/SequenceMapTest.cs
3,851
C#
using System; using UltimaOnline; namespace UltimaOnline.Items { [FlipableAttribute(0x2B6E, 0x3165)] public class Circlet : BaseArmor { public override int BasePhysicalResistance { get { return 1; } } public override int BaseFireResistance { get { return 5; } } public over...
31.849057
114
0.600118
[ "MIT" ]
netcode-gamer/game.ultimaonline.io
UltimaOnline.Data/Items/Armor/Helmets/Circlet.cs
1,688
C#
using System.Reflection; // 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: AssemblyCompany("Microsoft Corporation")] [assembly: AssemblyVersion("15.0.1.0")] [assem...
49.5
78
0.783838
[ "MIT" ]
ChangDu2021/Interop-TestSuites
ExchangeActiveSync/Source/MS-ASCAL/TestSuite/Properties/AssemblyInfo.cs
495
C#
// Copyright 2020 Energinet DataHub A/S // // Licensed under the Apache License, Version 2.0 (the "License2"); // 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...
42.482143
187
0.736864
[ "Apache-2.0" ]
Energinet-DataHub/geh-metering-point
source/Energinet.DataHub.MeteringPoints.EntryPoints.LocalMessageHub/Functions/RequestBundleQueueSubscriber.cs
2,381
C#
using System; using System.Linq; using NUnit.Framework; using Xamarin.Forms; using XenForms.Core.Designer.Generators; using XenForms.Core.Designer.Reactions; using XenForms.Core.Messages; using XenForms.Core.Networking; using XenForms.Designer.XamarinForms.UI.Reactions; namespace XenForms.Designer.Tests.Reactions.Get...
33.317757
109
0.586536
[ "MIT" ]
DevChive/XenForms
Source/Designer/Tests/Reactions/GetProperties/TestGetAttachedProperties.cs
3,567
C#
// Plato.Core // Copyright (c) 2020 ReflectSoftware Inc. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. namespace Plato.Messaging.RMQ.Interfaces { public interface IRMQPoolFactory { IRMQPoolAsync CreateAsyncPool(IRMQConfigurationManager...
37.916667
112
0.758242
[ "Apache-2.0" ]
fntc/Plato.Core
src/Plato.Messaging.RMQ/Interfaces/IRMQPoolFactory.cs
457
C#
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace DotNetty.Codecs.Http { public interface ILastHttpContent : IHttpContent { HttpHeaders TrailingHeaders { get; } } }
27.090909
101
0.724832
[ "MIT" ]
15000775075/DotNetty
src/DotNetty.Codecs.Http/ILastHttpContent.cs
300
C#
using System.IO; using System.Diagnostics.CodeAnalysis; using JetBrains.Annotations; using YamlDotNet.Serialization; namespace StirlingLabs.Utilities.Yaml; [PublicAPI] public static partial class Extensions { #if NET5_0_OR_GREATER || NETSTANDARD2_1_OR_GREATER [return: NotNullIfNotNull("yamlObject")] #endif ...
31.147059
80
0.74882
[ "MIT" ]
StirlingLabs/Utilities.Net
StirlingLabs.Utilities.Yaml/Extensions.Internal.cs
1,061
C#
using System; using System.Drawing; using System.Runtime.InteropServices; namespace Capture2Net { /// <summary> /// Provides functions to capture the entire screen or a particular window /// </summary> public class ScreenCapture { /// <summary> /// Creates an Image object containing a screen shot ...
34.72
320
0.685676
[ "MIT" ]
Programie/Capture2Net
client/Capture2Net/ScreenCapture.cs
5,208
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.SageMakerRuntime")] [assembly: Asse...
48.5625
275
0.754826
[ "Apache-2.0" ]
phillip-haydon/aws-sdk-net
sdk/code-analysis/ServiceAnalysis/SageMakerRuntime/Properties/AssemblyInfo.cs
1,554
C#
 public enum Tags { Wall, Paddle, LeftDeathZone, RightDeathZone, }
8.5
19
0.6
[ "MIT" ]
9Knight9n/pong-game-unity
Assets/Scripts/Tags.cs
87
C#
#region License Header /* * 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 ma...
30.434783
88
0.74
[ "Apache-2.0" ]
Quantler/Core
Quantler.Tests/Indicators/AbsolutePriceOscillatorTests.cs
1,402
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...
28.043478
74
0.699225
[ "MIT" ]
0rland0Wats0n/azure-sdk-for-net
sdk/frontdoor/Microsoft.Azure.Management.FrontDoor/src/Generated/Models/AggregationInterval.cs
645
C#