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 |
|---|---|---|---|---|---|---|---|---|
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//-----------------------------------------... | 24.277778 | 81 | 0.411899 | [
"MIT"
] | dakkafex/Smoothboard | SmoothBoard/FileNotFound.aspx.designer.cs | 439 | C# |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using Microsoft.Protocols.TestSuites.Rdp;
using Microsoft.Protocols.TestSuites.Rdpbcgr;
using Microsoft.Protocols.TestTools;
using Microsoft.Protocols.TestTools.StackSdk... | 40.267116 | 300 | 0.585122 | [
"MIT"
] | hshavit-infinidat/WindowsProtocolTestSuites | TestSuites/RDP/Client/src/TestSuite/RDPEUDP/RdpeudpTestSuite.cs | 35,878 | C# |
#region Copyright notice and license
// Copyright 2019 The gRPC Authors
//
// 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... | 41.544304 | 170 | 0.703534 | [
"Apache-2.0"
] | Kadajski/grpc-dotnet | src/Grpc.AspNetCore.Server/Internal/ServerStreamingServerCallHandler.cs | 3,284 | C# |
// Copyright © 2018 The CefSharp Authors. All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
using System;
using System.IO.MemoryMappedFiles;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Interop;
using System.Windows... | 43.476636 | 231 | 0.55718 | [
"BSD-3-Clause"
] | 364988343/CefSharp.Net40 | CefSharp.Wpf/Rendering/InteropBitmapRenderHandler.cs | 4,653 | 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 ... | 39 | 79 | 0.699055 | [
"Apache-2.0"
] | VAllens/aliyun-openapi-sdk-net-core | src/aliyun-net-sdk-kms/Transform/V20160120/EncryptResponseUnmarshaller.cs | 1,482 | C# |
using FundAdministration.GlobalAccounting.Reference;
using FundAdministration.GlobalAccounting.Reference.ExchangeRates;
using FundAdministration.GlobalAccounting.Reference.ForwardExchangeRates;
using FundAdministration.GlobalAccounting.Reference.ForwardInterestRates;
using FundAdministration.GlobalAccounting.Reference... | 71.6 | 180 | 0.837989 | [
"MIT"
] | ElevateData/OpenTemenos | src/FundAdministration.GlobalAccounting/ReferenceClient.cs | 2,150 | C# |
using Intellect.Core.Models.Authors;
using Intellect.Core.Models.Authors.Dtos;
using Intellect.Core.Models.Categories;
using Intellect.Core.Models.Categories.Dtos;
using Intellect.Core.Models.Helpers;
using System;
using System.Collections.Generic;
using System.Text;
namespace Intellect.Core.Models.GovtPublications.D... | 24.257143 | 55 | 0.677267 | [
"MIT"
] | Lasanga/LibraryApplication | core/Intellect.Core/Models/GovtPublications/Dtos/GovtPublicationOutputDto.cs | 851 | C# |
using UnityEngine;
public class MBMusicOnOff : MonoBehaviour,MBAction {
private Texture musicOn;
public Texture musicOff;
private bool active;
private SoundController soundController;
// Use this for initialization
void Start () {
active = true;
musicOn = GetComponent<Renderer>()... | 27.269231 | 95 | 0.622708 | [
"Unlicense"
] | Maximetinu/No-Mans-Flappy-Unity | Assets/Scripts/MenuButtons/MBMusicOnOff.cs | 1,420 | C# |
using System;
class Solution
{
static void Main(String[] args)
{
var numberOfTestCases = int.Parse(Console.ReadLine());
for (int a0 = 0; a0 < numberOfTestCases; a0++)
{
var n = Console.ReadLine();
var number = int.Parse(n);
var digitCount = 0;
... | 24.12 | 66 | 0.456053 | [
"MIT"
] | sahaavi/HackerRank | Algorithms/Implementation/Find Digits/Solution.cs | 603 | C# |
namespace CombatModCollection.SendAllTroops
{
public class Item
{
public float Strength;
public float Health;
public Item Clone()
{
return new Item
{
Strength = this.Strength,
Health = this.Health
};
}
... | 19.235294 | 44 | 0.477064 | [
"MIT"
] | sgsdxzy/CombatModCollection | src/SendAllTroops/Item.cs | 329 | C# |
using System;
using System.Collections.Generic;
using System.Text;
using System.Diagnostics;
namespace Game
{
class Time
{
// Stopwatch to start the time.
static Stopwatch stopwatch = new Stopwatch();
// Gets the Delta-Time
public static float deltaTime { get { return GetDeltaT... | 26.410256 | 96 | 0.559223 | [
"MIT"
] | TylerRPeterson/MathForGames | ConsoleApp1/Game/Utils/Time.cs | 1,032 | C# |
// Copyright (c) 2022 AccelByte Inc. All Rights Reserved.
// This is licensed software from AccelByte Inc, for limitations
// and restrictions contact your company contract manager.
// This code is generated by tool. DO NOT EDIT.
using System.Text.Json.Serialization;
using AccelByte.Sdk.Core;
using AccelByte.Sdk.Core.... | 29.556054 | 86 | 0.63435 | [
"MIT"
] | AccelByte/accelbyte-csharp-sdk | AccelByte.Sdk/Api/Platform/Model/ItemSnapshot.cs | 6,591 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Charlotte.Common;
using Charlotte.Tools;
namespace Charlotte.Games
{
public static class MapTileManager
{
public static void INIT()
{
foreach (string file in DDResource.GetFiles())
{
try
{
const string... | 20.291667 | 126 | 0.647502 | [
"MIT"
] | stackprobe/G4YokoActTM | G4YokoActTM/G4YokoActTM/Games/MapTileManager.cs | 1,463 | C# |
//------------------------------------------------------------
// Game Framework v3.x
// Copyright © 2013-2017 Jiang Yin. All rights reserved.
// Homepage: http://gameframework.cn/
// Feedback: mailto:jiangyin@gameframework.cn
//------------------------------------------------------------
using GameFramework.Event;
u... | 23.931034 | 91 | 0.471182 | [
"MIT"
] | Echoflyer/ILGameFramework | Assets/Framework/Scripts/Runtime/Event/NetworkConnectedEventArgs.cs | 1,507 | C# |
using System;
using System.Reflection.Metadata.Ecma335;
using System.Text.Json;
using System.Xml;
namespace Open_Lab_02._08
{
public class Checker
{
public bool IsEmpty(string str)
{
if (String.IsNullOrEmpty(str))
{
return true;
... | 15.133333 | 42 | 0.431718 | [
"MIT"
] | SimonKvasnovsky/Open-Lab-02.08 | Open-Lab-02.08/Checker.cs | 456 | C# |
namespace EA.Iws.RequestHandlers.StateOfImport
{
using System.Linq;
using System.Threading.Tasks;
using Core.Shared;
using Core.StateOfExport;
using Core.StateOfImport;
using Core.TransitState;
using DataAccess;
using Domain;
using Domain.TransportRoute;
using EA.Iws.Domain.Noti... | 57.777778 | 191 | 0.7475 | [
"Unlicense"
] | DEFRA/prsd-iws | src/EA.Iws.RequestHandlers/StateOfImport/GetStateOfImportWithTransportRouteDataByNotificationIdHandler.cs | 5,202 | 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.Goog... | 27.448276 | 86 | 0.669598 | [
"Apache-2.0"
] | AaronFriel/pulumi-google-native | sdk/dotnet/Container/V1Beta1/Inputs/LoggingConfigArgs.cs | 796 | C# |
using RWLayout.alpha2;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using UnityEngine;
using Verse;
namespace PawnTableGrouped
{
public class CRowSegment : CListingRow
{
Verse.WeakReference<CPawnTableRow> row = null;
public... | 30.14693 | 154 | 0.473049 | [
"MIT"
] | krypt-lynx/PawnTableGrouped | Source/PawnTableGrouped/PawnTableGrouped/Elements/CPawnTable.cs | 13,749 | C# |
using System;
using Gremlin.Net.Process.Traversal;
namespace ExRam.Gremlinq.Core
{
public sealed class TailStep : Step
{
public static readonly TailStep TailLocal1 = new(1, Scope.Local);
public static readonly TailStep TailGlobal1 = new(1, Scope.Global);
public TailStep(long count, Sc... | 24.291667 | 75 | 0.595197 | [
"MIT"
] | fathym-it/ExRam.Gremlinq | src/ExRam.Gremlinq.Core/Queries/Steps/TailStep.cs | 585 | C# |
using ARMeilleure.Memory;
using ARMeilleure.State;
using ARMeilleure.Translation;
using System;
using System.Runtime.InteropServices;
using System.Threading;
namespace ARMeilleure.Instructions
{
static class NativeInterface
{
private const int ErgSizeLog2 = 4;
private class ThreadContext
... | 29.346578 | 151 | 0.562284 | [
"MIT"
] | Zeroksas/Ryujinx | ARMeilleure/Instructions/NativeInterface.cs | 13,294 | 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.300752 | 92 | 0.54528 | [
"MIT"
] | F-V-L/platform-client-sdk-dotnet | build/src/PureCloudPlatform.Client.V2/Model/TextBotModeOutputPrompts.cs | 4,163 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class ShoppingBagShow : MonoBehaviour {
public GameObject Panel;
int counter;
public void showhidePanel()
{
counter++;
if (counter % 2 == 1)
{
Panel.gameObj... | 18.73913 | 46 | 0.596288 | [
"MIT"
] | jaxee/perfit | src/Assets/Scripts/UI_Scripts/oldscripts/ShoppingBagShow.cs | 433 | C# |
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Net.Http.Headers;
using System.Web.Http.Description;
using FileUploadAPI.Areas.HelpPage.ModelDescriptions;
namespace FileUploadAPI.Areas.HelpPage.Models
{
/// <summary>
/// The model that represents an API displayed on the hel... | 36.62963 | 123 | 0.615268 | [
"MIT"
] | prachibhandari15/sample-dot-net-web-api | FileUploadAPI/Areas/HelpPage/Models/HelpPageApiModel.cs | 3,956 | C# |
namespace VISCA.NET.Enums
{
public enum ViscaDeltaState : byte
{
Reset = 0x00,
Up = 0x02,
Down = 0x03
}
} | 12.777778 | 35 | 0.643478 | [
"MIT"
] | parzivail/VISCA.NET | VISCA.NET/Enums/ViscaDeltaState.cs | 117 | C# |
//
// DO NOT MODIFY. THIS IS AUTOMATICALLY GENERATED FILE.
//
#nullable enable
#pragma warning disable CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable.
using System;
using System.Collections.Generic;
namespace CefNet.DevTools.Protocol.Emulation
{
... | 33.25 | 140 | 0.703008 | [
"MIT"
] | CefNet/CefNet.DevTools.Protocol | CefNet.DevTools.Protocol/Generated/Emulation/SetEmitTouchEventsForMouseRequest.g.cs | 798 | C# |
namespace OkonkwoOandaV20.TradeLibrary.Transaction
{
/// <summary>
/// A MarginCallExitTransaction is created when an Account leaves the margin call state
/// </summary>
public class MarginCallExitTransaction : Transaction
{
}
}
| 24.8 | 90 | 0.725806 | [
"MIT"
] | Petter-Hansson/OandaV20.2 | OkonkwoOandaV20/OkonkwoOandaV20/TradeLibrary/Transaction/MarginCallExitTransaction.cs | 250 | C# |
using AutoMapper;
using FakeXiecheng.API.Dtos;
using FakeXiecheng.API.Models;
using FakeXiecheng.API.Services;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace FakeXiecheng.API.Controllers
{
... | 39.547368 | 114 | 0.643066 | [
"BSD-3-Clause"
] | LXQGH/.NetCore | FakeXiecheng.API/FakeXiecheng.API/Controllers/TouristRoutePictureController.cs | 3,837 | C# |
using Xamarin.Forms;
namespace ShallEmulation.Views
{
public partial class ViewA : ContentPage
{
public ViewA()
{
InitializeComponent();
}
}
}
| 14.846154 | 44 | 0.564767 | [
"MIT"
] | runceel/Prism.Forms.ShellLike | ShallEmulation/ShallEmulation/Views/ViewA.xaml.cs | 195 | C# |
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Allocation;
using osu.Game.Screens.Menu;
using osu.Game.Users;
namespace osu.Game.Tests.Visual.Menus
{
public class TestSceneDisclaimer ... | 30.103448 | 79 | 0.547537 | [
"MIT"
] | AaqibAhamed/osu | osu.Game.Tests/Visual/Menus/TestSceneDisclaimer.cs | 845 | C# |
using CuriositySoftware.PageObjects.Entities;
using OpenQA.Selenium;
using System;
using System.Collections.Generic;
namespace CuriositySoftware.PageObjects.ElementScanner
{
public class ElementExtractor {
public ElementExtractor()
{
}
public static Boolean updateParameter(PageObj... | 39.58042 | 127 | 0.525265 | [
"MIT"
] | CuriositySoftwareIreland/TestModeller-CSharp | PageObjects/elementscanner/ElementExtractor.cs | 5,660 | C# |
using System;
using NUnit.Framework;
namespace Tokens.Transformers
{
[TestFixture]
public class ToDateTimeTransformerTests
{
private ToDateTimeTransformer @operator;
[SetUp]
public void SetUp()
{
@operator = new ToDateTimeTransformer();
}
[Test... | 30.22069 | 111 | 0.542903 | [
"MIT"
] | AJH16/tokenizer | Tokenizer.Tests/Transformers/ToDateTimeTransformerTests.cs | 4,384 | 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... | 37.113208 | 159 | 0.644382 | [
"Apache-2.0"
] | PureKrome/aws-sdk-net | sdk/src/Services/AuditManager/Generated/Model/Internal/MarshallTransformations/UpdateAssessmentStatusRequestMarshaller.cs | 3,934 | C# |
using BenchmarkDotNet.Attributes;
using System.Linq;
using System.Collections.Generic;
namespace MakingDotNETApplicationsFaster.Runners
{
[Config(typeof(CoreConfig))]
public class SwitchVsIfOperatorsForIntRunner
{
[Params(1, 3, 5, 10, 15, 20)]
public int Input;
private readonly Di... | 24.541818 | 74 | 0.301378 | [
"MIT"
] | Ky7m/DemoCode | MakingDotNETApplicationsFaster/MakingDotNETApplicationsFaster/Runners/SwitchVsIfOperatorForIntRunner.cs | 6,751 | C# |
using System;
namespace Sort3Numbers
{
class Program
{
static void Main()
{
int a = int.Parse(Console.ReadLine());
int b = int.Parse(Console.ReadLine());
int c = int.Parse(Console.ReadLine());
if (a >= b)
{
if (b >= c)... | 25.555556 | 61 | 0.261739 | [
"MIT"
] | SimonaArsova/TelerikAcademy | C# Programming/C#Fundamentals/ConditionalStatements/Sort3Numbers/Program.cs | 1,152 | C# |
#region BSD License
/*
* Use of this source code is governed by a BSD-style
* license that can be found in the LICENSE.md file or at
* https://github.com/Wagnerp/Krypton-Toolkit-Suite-Extended-NET-5.460/blob/master/LICENSE
*
*/
#endregion
using ComponentFactory.Krypton.Toolkit;
using System;
using System.Compone... | 38.065421 | 175 | 0.652345 | [
"BSD-3-Clause"
] | Wagnerp/Krypton-Toolkit-Suite-Extended-NET-5.460 | Source/Krypton Toolkit Suite Extended/Full Toolkit/Extended Controls/ExtendedToolkit/Controls/Navigator/Controls/KryptonNavigatorButton.cs | 4,075 | C# |
using MediatR;
using SmartNote.Application.Configuration.Commands;
namespace SmartNote.Application.Notes.Commands
{
public class PublishNoteCommand : ICommand<Unit>
{
public Guid NoteId { get; }
public PublishNoteCommand(Guid noteId)
{
NoteId = noteId;
}
}
} | 21.133333 | 52 | 0.649842 | [
"MIT"
] | linwenda/FunZone | src/SmartNote.Application/Notes/Commands/PublishNoteCommand.cs | 319 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace XBC.ViewModel
{
public class ResponseResult
{
public ResponseResult()
{
Success = true;
}
public bool Success { get; set; }
public ... | 19.285714 | 48 | 0.614815 | [
"MIT"
] | MRidoKurniawan/XBC | XBC/XBC.ViewModel/ResponseResult.cs | 407 | C# |
using Microsoft.Graph;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
namespace Graph.Community
{
public class SiteUserRequest : BaseSharePointAPIRequest, ISiteUserRequest
{
public SiteUserRequest(
string requestUrl,
IBaseClient client,
IEnumerable<Opt... | 32.878788 | 166 | 0.75576 | [
"MIT"
] | microsoftgraph/msgraph-sdk-dotnet-contrib | src/Requests/SiteUsers/SiteUserRequest.cs | 1,085 | C# |
using UnityEngine;
using System.Collections;
/// <summary>
/// Example of control unit for drag and drop events handle
/// </summary>
public class DummyControlUnit : MonoBehaviour
{
void OnItemPlace(DragAndDropCell.DropDescriptor desc)
{
DummyControlUnit sourceSheet = desc.sourceCell.GetComponentInPar... | 34.5 | 112 | 0.701449 | [
"MIT"
] | irtezasyed007/CSC523-Game-Project | TheCircuitry/Assets/SimpleDragAndDrop/Scripts/DummyControlUnit.cs | 692 | C# |
// ==========================================================================
// JsonField.cs
// Squidex Headless CMS
// ==========================================================================
// Copyright (c) Squidex Group
// All rights reserved.
// =============================================================... | 31.931034 | 105 | 0.469762 | [
"MIT"
] | maooson/squidex | src/Squidex.Domain.Apps.Core.Model/Schemas/JsonField.cs | 928 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using System.Xml.Linq;
using Azure.Core;
using Azure.Core.Pipeline;
using Azure.... | 67.353247 | 523 | 0.631792 | [
"MIT"
] | AME-Redmond/azure-sdk-for-net | sdk/storage/Azure.Storage.Queues/src/Generated/MessagesRestClient.cs | 25,931 | C# |
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
namespace MonoGame.Extended.Screens.Transitions
{
public class FadeTransition : Transition
{
private readonly GraphicsDevice _graphicsDevice;
private readonly SpriteBatch _spriteBatch;
public FadeTransition(Graphics... | 28.742857 | 125 | 0.642147 | [
"MIT"
] | Apostolique/MonoGame.Extended | src/dotnet/MonoGame.Extended/Screens/Transitions/FadeTransition.cs | 1,006 | C# |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated from a template.
//
// Manual changes to this file may cause unexpected behavior in your application.
// Manual changes to this file will be overwritten if the code is regenerated.... | 42.977778 | 128 | 0.613754 | [
"MIT"
] | KevinKao809/CDS10 | sfShareLib/IoTHub.cs | 1,934 | C# |
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using Xunit.Abstractions;
namespace Microsoft.Coyote.SystematicTesting.Tests.Tasks
{
public class TaskRunConfigureAwaitFalseTests : Microsoft.Coyote.Production.Tests.Tasks.TaskRunConfigureAwaitFalseTests
{
public TaskRunConfig... | 26.333333 | 122 | 0.723629 | [
"MIT"
] | p-org/coyote | Tests/SystematicTesting.Tests/Tasks/ConfigureAwait/TaskRunConfigureAwaitFalseTests.cs | 476 | C# |
#pragma warning disable 1591
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by the ClassGenerator.ttinclude code generation file.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regene... | 23.017857 | 84 | 0.641583 | [
"MIT"
] | dgerding/Construct | Construct3/Construct3/Construct.Server.Entities/Generated/PropertyType.generated.cs | 1,289 | C# |
using Microsoft.AspNetCore.Identity;
using Microsoft.Extensions.DependencyInjection;
using PhoneBook.Authorization;
using PhoneBook.Authorization.Roles;
using PhoneBook.Authorization.Users;
using PhoneBook.Editions;
using PhoneBook.MultiTenancy;
namespace PhoneBook.Identity
{
public static class IdentityRegistrar... | 36.242424 | 79 | 0.665552 | [
"MIT"
] | Mater813/PhoneBook | aspnet-core/src/PhoneBook.Core/Identity/IdentityRegistrar.cs | 1,198 | C# |
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
using System;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Xml.Serialization;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Frame... | 30.423077 | 105 | 0.558224 | [
"MIT"
] | Yash-Codemaster/KoduGameLab | main/Boku/Common/ParticleSystem/SharedEmitterManager.cs | 7,119 | C# |
using System;
using NSaga;
namespace Benchmarking.Sagas
{
public class FirstMessage : IInitiatingSagaMessage
{
public Guid CorrelationId { get; set; }
public Guid MessageId { get; set; }
public FirstMessage(Guid correlationId)
{
CorrelationId = correlationId;
... | 21.822222 | 54 | 0.57943 | [
"MIT"
] | AMVSoftware/NSaga | src/Tests.Benchmarking/Sagas/BenchmarkSagaMessages.cs | 984 | C# |
using Microsoft.Extensions.Logging;
using Npgsql;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using watchtower.Code.ExtensionMethods;
using watchtower.Models.PSB;
namespace watchtower.Services.Db {
public class PsbAccountNoteDbStore {
private readonly ILogger<... | 38.021505 | 125 | 0.58767 | [
"MIT"
] | Simacrus/honu | Services/Db/PsbAccountNoteDbStore.cs | 3,538 | 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... | 37.830645 | 135 | 0.611597 | [
"ECL-2.0",
"Apache-2.0"
] | la3mmchen/pulumi-gcp | sdk/dotnet/Organizations/IAMMember.cs | 4,691 | C# |
//------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
//------------------------------------------------------------
namespace Microsoft.Azure.Cosmos
{
using System;
using System.Collections.Generic;
using System.IO;
using System.N... | 42.008306 | 160 | 0.610621 | [
"MIT"
] | JohnLTaylor/azure-cosmos-dotnet-v3 | Microsoft.Azure.Cosmos/src/Resource/Item/CosmosItemsCore.cs | 25,291 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace DiceGirl.MainGame
{
public class Point : MonoBehaviour
{
public EventPoint pointEvent;
private void Awake()
{
pointEvent = GetComponentInChildren<EventPoint>();
}
//p... | 20 | 117 | 0.545714 | [
"Unlicense"
] | LinusMC/Dream-Date | Dream Date/Assets/Scripts/MainGame/Point.cs | 702 | C# |
using System.IO;
using CP77.CR2W.Reflection;
using FastMember;
using static CP77.CR2W.Types.Enums;
namespace CP77.CR2W.Types
{
[REDMeta]
public class CrosshairModule : HUDModule
{
[Ordinal(0)] [RED("activeCrosshairs")] public CArray<CHandle<Crosshair>> ActiveCrosshairs { get; set; }
public Crossha... | 25.875 | 107 | 0.717391 | [
"MIT"
] | Eingin/CP77Tools | CP77.CR2W/Types/cp77/CrosshairModule.cs | 399 | C# |
// ----------------------------------------------------------------------------------
//
// Copyright Microsoft 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 the License at
// http://w... | 39.155844 | 109 | 0.595025 | [
"MIT"
] | Milstein/azure-sdk-tools | WindowsAzurePowershell/src/Commands.Test/Websites/StopAzureWebSiteTests.cs | 2,941 | C# |
// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
namespace Pulumi.Azur... | 35.630769 | 146 | 0.629965 | [
"Apache-2.0"
] | pulumi-bot/pulumi-azure-native | sdk/dotnet/DataFactory/Outputs/RelationalSourceResponse.cs | 2,316 | 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.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc.Abstractions;
using Microsoft.AspNetCore.Mvc... | 32 | 111 | 0.59879 | [
"Apache-2.0"
] | 303248153/AspNetCore | src/Mvc/Mvc.Core/test/HttpOkObjectResultTest.cs | 2,976 | C# |
using System.Linq;
using System.Threading.Tasks;
using EncompassApi.Loans;
using EncompassApi.Loans.Enums;
using EncompassApi.Loans.Milestones;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace EncompassApi.Tests
{
[TestClass]
public class LoanAssociateMilestoneTests : TestBaseClass
{
... | 43.417219 | 138 | 0.54637 | [
"MIT"
] | fairwayindependentmc/EncompassApi | src/EncompassApi.Tests/LoanAssociateMilestoneTests.cs | 6,558 | C# |
using System;
using System.Text;
namespace gcl2
{
/// <summary>
/// Represents both a production and a current read index.
/// </summary>
public class Element
{
public Production Production { get; private set; }
public int ReadIndex { get; private set; }
/// <summary>
... | 29.401709 | 96 | 0.504651 | [
"MIT"
] | Isracg/GCL | gcl2/Element.cs | 3,444 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Ordering.Application.Exceptions
{
public class NotFoundException : ApplicationException
{
public NotFoundException(string name, object Key) : base($"Entity \"{name}\" ({Key}) w... | 22.75 | 109 | 0.68956 | [
"MIT"
] | SRICHARANSIRPA/Microservices | src/Services/Ordering/Ordering.Application/Exceptions/NotFoundException.cs | 366 | 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.Threading.Tasks;
using System.Xml.Linq;
using NuGet.Packaging;
using NuGet.Packaging.Core;
... | 30.401709 | 135 | 0.57914 | [
"Apache-2.0"
] | AntonC9018/NuGet.Client | test/TestUtilities/Test.Utility/Protocol/V3PackageSearchMetadataFixture.cs | 3,557 | 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("We... | 38.675676 | 84 | 0.750524 | [
"MIT"
] | pdemian/WebAssemblyDotNET | WebAssemblyDotNETTests/Properties/AssemblyInfo.cs | 1,434 | C# |
//
// NWPath.cs: Bindings the Netowrk nw_path_t API.
//
// Authors:
// Miguel de Icaza (miguel@microsoft.com)
//
// Copyrigh 2018 Microsoft Inc
//
#nullable enable
using System;
using System.Runtime.InteropServices;
using System.Runtime.CompilerServices;
using ObjCRuntime;
using Foundation;
using CoreFoundation;
n... | 31.511111 | 137 | 0.740656 | [
"BSD-3-Clause"
] | gameloft/xamarin-macios | src/Network/NWPath.cs | 5,672 | C# |
namespace Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201
{
using static Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Extensions;
/// <summary>Parameters allowed to update for a server.</summary>
public partial class ServerUpdateParameters :
Microsoft.Azure.PowerShell.Cmdlets.... | 81.04878 | 516 | 0.718093 | [
"MIT"
] | 3quanfeng/azure-powershell | src/MySql/generated/api/Models/Api20171201/ServerUpdateParameters.cs | 29,539 | C# |
//Author Maxim Kuzmin//makc//
using Makc2020.Core.Base.Resources.Errors;
using Makc2020.Host.Base.Parts.Auth.Jobs.CurrentUser.Get;
using Makc2020.Host.Base.Parts.Auth.Jobs.Seed;
using Makc2020.Host.Base.Parts.Auth.Jobs.UserEntity.Create;
using Makc2020.Host.Base.Parts.Auth.Resources.Errors;
using Makc2020.Host.Base.P... | 33.052632 | 99 | 0.619825 | [
"MIT"
] | balkar20/SibTrain | net-core/Makc2020.Host.Base/Parts/Auth/HostBasePartAuthJobs.cs | 2,691 | 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... | 37.26506 | 174 | 0.685742 | [
"Apache-2.0"
] | ChristopherButtars/aws-sdk-net | sdk/src/Services/CloudFront/Generated/Model/Internal/MarshallTransformations/NoSuchCloudFrontOriginAccessIdentityExceptionUnmarshaller.cs | 3,093 | 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.Linq.Expressions;
namespace Microsoft.EntityFrameworkCore.Query.Pipeli... | 33.958333 | 111 | 0.694479 | [
"Apache-2.0"
] | Wrank/EntityFrameworkCore | src/EFCore/Query/Pipeline/EntityQueryableExtensions.cs | 817 | C# |
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
using Microsoft.Extensions.Logging;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Threading.Tasks;
namespace WealthManager.Server.Pages
{
[ResponseCache(Duration = 0, Location = R... | 25.787879 | 88 | 0.686251 | [
"MIT"
] | ranjithvj/wealth-manager | WealthManager/Server/Pages/Error.cshtml.cs | 853 | 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.
// Francesco Crimi francrim@gmail.com
using System;
using System.Collections.Generic;
using System.Collections.Obje... | 31.167513 | 153 | 0.580863 | [
"MIT"
] | FrancescoCrimi/CiccioSoft.Collections | CiccioSoft.Collections/CiccioList.cs | 12,282 | C# |
namespace bai_7 {
class ClassHinhVuong : ClassHinhChuNhat {
public ClassHinhVuong() : base() {}
public ClassHinhVuong(double canh) : base(canh, canh) {}
public override double ChieuDai {
get => base.ChieuDai;
set => base.ChieuDai = value;
}
public override double ChieuRo... | 22.590909 | 61 | 0.60161 | [
"Unlicense"
] | thuanpham2311/thuc-hanh-lap-trinh-huong-doi-tuong | bai_7/ClassHinhVuong.cs | 499 | C# |
/*
* Copyright (C) Sony Computer Entertainment America LLC.
* All Rights Reserved.
*/
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using Sce.Sled.Lua.Dom;
using Sce.Sled.Lua.Resources;
using Sce.Sled.Shared.Scmp;
namespace Sce.Sled.Lua.Scmp
{
internal enum LuaTypeCodes... | 27.964657 | 175 | 0.552189 | [
"Apache-2.0"
] | MasterScott/SLED | tool/SledLuaLanguagePlugin/SledControlMessageProtocol_Lua.cs | 53,804 | C# |
#region Copyright
// Copyright (c) Tobias Wilker and contributors
// This file is licensed under MIT
#endregion
using System.Collections.Generic;
using Agents.Net;
namespace Agents.Net.Tests.Tools.Communities.TransactionManagerCommunity.Messages
{
public class TransactionSuccessful : Message
{
... | 25.296296 | 106 | 0.667643 | [
"MIT"
] | agents-net/agents.net | src/Agents.Net.Tests/Tools/Communities/TransactionManagerCommunity/Messages/TransactionSuccessful.cs | 685 | C# |
namespace Gu.Analyzers
{
using System.Collections.Immutable;
using System.Composition;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CodeFixes;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syn... | 41.709677 | 145 | 0.583913 | [
"MIT"
] | forki/Gu.Analyzers | Gu.Analyzers.CodeFixes/MoveArgumentCodeFixProvider.cs | 6,467 | C# |
using System;
using Prometheus.Client.MetricsWriter;
namespace Prometheus.Client.Collectors.Abstractions
{
public interface ICollectorRegistry
{
void Add(ICollector collector);
bool TryGet(string name, out ICollector collector);
TCollector GetOrAdd<TCollector, TConfig>(TConfig config,... | 26.391304 | 108 | 0.710049 | [
"MIT"
] | ScottGuymer/Prometheus.Client | src/Prometheus.Client/Collectors/Abstractions/ICollectorRegistry.cs | 607 | C# |
using System.Threading.Tasks;
namespace Pars.Services.Contracts.Identity
{
public interface IEmailSender
{
#region BaseClass
Task SendEmailAsync(string email, string subject, string message);
#endregion
#region CustomMethods
Task SendEmailAsync<T>(string email, stri... | 20.631579 | 93 | 0.678571 | [
"Apache-2.0"
] | miladmazaheri/ASPNETCoreIdentitySampleWithMetronicTemplate | src/Pars.Services/Contracts/Identity/IEmailSender.cs | 394 | C# |
// Copyright 2016, 2017, 2018 TRUMPF Werkzeugmaschinen GmbH + Co. KG.
//
// 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... | 35.488372 | 84 | 0.653997 | [
"Apache-2.0"
] | NilsEngelbach/Trumpf.Coparoo.Web | Trumpf.Coparoo.Web/PageTests/PageTestAttribute.cs | 1,528 | C# |
namespace Last_Army.Interfaces
{
public interface IGameController
{
void ProcessCommand(string input);
void ProduceSummury();
}
}
| 16 | 42 | 0.65625 | [
"MIT"
] | alexandrateneva/CSharp-Fundamentals-SoftUni | CSharp OOP Advanced/CSharp OOP Advance Exam - Last Army/Last Army/Interfaces/IGameController.cs | 162 | C# |
// Copyright (c) Get Real Health. 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 without restriction, including without limitation the rights to use, cop... | 42.882629 | 463 | 0.65404 | [
"MIT"
] | Bhaskers-Blu-Org2/healthvault-fhir-library | Microsoft.HealthVault.Fhir.UnitTests/ToHealthVaultTests/MedicationRequestToHealthVaultTests.cs | 9,136 | C# |
namespace KeLi.FormMvp.IViews
{
public interface IUserLoginView
{
string UserName { get; set; }
string Password { get; set; }
void ShowMessage(string msg);
bool ShowConfirm(string msg);
void LoginSys();
}
} | 17.533333 | 37 | 0.589354 | [
"MIT"
] | kelicto/FormMvp | KeLi.FormMvp/IViews/IUserLoginView.cs | 265 | C# |
using System;
using System.IO;
using System.Linq;
using System.Net;
using System.Net.Security;
using System.Net.Sockets;
using System.Security.Cryptography.X509Certificates;
using System.Text;
using System.Threading.Tasks;
using DotNetty.Buffers;
using DotNetty.Codecs;
using DotNetty.Handlers.Logging;
using DotNetty.H... | 33.104167 | 109 | 0.580868 | [
"MIT"
] | kinglionsoft/K9Nano.Logging | test/TestClient/Program.cs | 3,180 | 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... | 27.038462 | 81 | 0.671408 | [
"Apache-2.0"
] | pulumi/pulumi-azure-nextgen | sdk/dotnet/Batch/Latest/Inputs/WindowsConfigurationArgs.cs | 703 | C# |
//
// ExtensionNodeTypeCollection.cs
//
// Author:
// Lluis Sanchez Gual
//
// Copyright (C) 2007 Novell, Inc (http://www.novell.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 Software w... | 31.064935 | 112 | 0.699415 | [
"MIT"
] | directhex/mono-addins | Mono.Addins/Mono.Addins.Description/ExtensionNodeTypeCollection.cs | 2,392 | C# |
/****************************************************************
Copyright 2021 Infosys Ltd.
Use of this source code is governed by Apache License Version 2.0 that can be found in the LICENSE file or at
http://www.apache.org/licenses/
***************************************************************/
using System.Ru... | 36.833333 | 110 | 0.659502 | [
"Apache-2.0"
] | Infosys/Script-Control-Center | WEMServices/WEM.SecurityAccess.Contracts/Message/AddUserReqMsg.cs | 886 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
namespace OOPLab6.AppSettings
{
public class Theme
{
private List<string> themes = new List<string>();
public List<string> Themes
{
get ... | 26.509091 | 95 | 0.550754 | [
"MIT"
] | dim-den/Hardware-store | OOPLab6/AppSettings/Theme.cs | 1,460 | C# |
using Harmony;
using QuantumTeleporter.Managers;
namespace QuantumTeleporter.Patches
{
[HarmonyPatch(typeof(Player))]
[HarmonyPatch("Update")]
internal class Player_Patch
{
internal static void Postfix(ref Player __instance)
{
TeleportManager.Update();
}
}
}
| 19.8125 | 59 | 0.652997 | [
"MIT"
] | ccgould/FCStudios_SubnauticaMods | QuantumTeleporter/Patches/Player_Patch.cs | 319 | C# |
#nullable enable
using System.Collections.Generic;
using System.Linq;
using Content.Server.Body.Mechanisms;
using Content.Server.GameObjects.Components.Body;
using Content.Shared.GameObjects.Components.Body;
using Content.Shared.Interfaces;
using JetBrains.Annotations;
using Robust.Shared.Interfaces.GameObjects;
using... | 33.864 | 128 | 0.542169 | [
"MIT"
] | AlphaQwerty/space-station-14 | Content.Server/Body/Surgery/BiologicalSurgeryData.cs | 8,468 | C# |
// -------------------------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See LICENSE in the repo root for license information.
// -----------------------------------------------------------... | 38.833333 | 131 | 0.601335 | [
"MIT"
] | ECGKit/dicom-server | src/Microsoft.Health.Dicom.Functions.UnitTests/Indexing/Models/ReindexInputTests.cs | 2,099 | 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... | 33.420147 | 113 | 0.561462 | [
"Apache-2.0"
] | TallyUpTeam/aws-sdk-net | sdk/src/Services/Glue/Generated/Model/MLTransform.cs | 13,602 | C# |
using System;
using System.Text;
using System.Windows.Forms;
namespace DevExpress.XtraCharts.Wizard {
public class AddRemoveChartNamedElementControl : UserControl {
}
}
| 19.222222 | 63 | 0.803468 | [
"Unlicense"
] | broteam168/QuizContest-broteam | DoAn_thitracnghiem/bin/Debug/vi/Sources/DevExpress.XtraCharts.Wizard/AddRemoveChartNamedElementControl.cs | 173 | C# |
using System;
namespace Live.Caqui.Model
{
public class UserModel
{
public string Name { get; set; }
public string Login { get; set; }
public string Password { get; set; }
public string HashUser { get; set; }
public static string Hash { get; set; }
}
}
| 21.928571 | 47 | 0.583062 | [
"MIT"
] | jhonatansantos61/LiveCodingEmployer2020 | Live.Caqui.Model/UserModel.cs | 309 | C# |
using System.Web.Mvc;
using UEditor.Core;
namespace Sample.Mvc.Controllers
{
public class UEditorController : Controller
{
public ContentResult Upload()
{
var response = UEditorService.Instance.UploadAndGetResponse(HttpContext.ApplicationInstance.Context);
return Conten... | 27.071429 | 113 | 0.688654 | [
"MIT"
] | baiyunchen/UEditor.Core | Sample.Mvc/Controllers/UEditorController.cs | 381 | C# |
using LuaInterface;
using System;
using UnityEngine;
public class UnityEngine_SphereColliderWrap
{
public static void Register(LuaState L)
{
L.BeginClass(typeof(SphereCollider), typeof(Collider), null);
L.RegFunction("New", new LuaCSFunction(UnityEngine_SphereColliderWrap._CreateUnityEngine_SphereCollider));
L... | 25.477707 | 145 | 0.70175 | [
"MIT"
] | corefan/tianqi_src | src/UnityEngine_SphereColliderWrap.cs | 4,000 | C# |
using System;
using System.Linq;
using System.Threading.Tasks;
using Windows.UI.Input.Inking;
using Windows.UI.Input.Inking.Analysis;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Input;
namespace Param_RootNamespace.Services.Ink
{
public class InkNodeSelectionService
{
... | 35.097902 | 106 | 0.595138 | [
"MIT"
] | Acidburn0zzz/WindowsTemplateStudio | templates/Uwp/_composition/_shared/Page.Ink.AddNodeSelectionService/Services/Ink/InkNodeSelectionService.cs | 5,021 | 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... | 32.858974 | 108 | 0.643387 | [
"Apache-2.0"
] | Bio2hazard/aws-sdk-net | sdk/src/Services/CodeCommit/Generated/Model/TestRepositoryTriggersRequest.cs | 2,563 | C# |
using UnityEngine;
public class FlyScript : MonoBehaviour
{
public GameObject FlyDeath;
public Vector2 FlyPos;
public float Speed = 500f;
public float randY;
public Vector2 SpawnPos;
public int X;
Rigidbody2D rb2d;
Collider2D col2d;
void Start()
{
SpawnPos = transform... | 21.403509 | 77 | 0.52541 | [
"Apache-2.0"
] | Ruokin/TheMagicToad.android | Assets/Scripts/ZhabaSceneScripts/FlyScript.cs | 1,222 | C# |
// System.Reflection/TypeDelegator.cs
//
// Paolo Molaro (lupus@ximian.com)
//
// (C) 2002 Ximian, Inc.
//
// Copyright (C) 2004 Novell, Inc (http://www.novell.com)
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
... | 27.846442 | 202 | 0.716611 | [
"MIT"
] | GrapeCity/pagefx | mono/mcs/class/corlib/System.Reflection/TypeDelegator.cs | 7,435 | C# |
using System.Collections.Generic;
namespace InstagramConnection.Entity
{
public class FacebookAccountData
{
public FacebookAccountData()
{
Data = new List<FacebookAccount>();
}
public List<FacebookAccount> Data
{
get;
set;
}
... | 17.073171 | 58 | 0.46 | [
"MIT"
] | Freezer-Games/Frozen-Out | FrozenOut/Assets/Plugins/InstagramService/Entity/FacebookAccount.cs | 702 | C# |
namespace PragmaticSegmenterNet.Tests.Unit.Languages
{
using Xunit;
public class SpanishLanguageTests
{
[Fact]
public void QuestionMarkToEndSentence001()
{
var result = Segmenter.Segment("¿Cómo está hoy? Espero que muy bien.", Language.Spanish);
Assert.Equal... | 64.424242 | 483 | 0.642639 | [
"MIT"
] | EliotJones/PragmaticSegmenterNet | PragmaticSegmenterNet.Tests.Unit/Languages/SpanishLanguageTests.cs | 17,398 | C# |
using System.Threading;
using System.Threading.Tasks;
using Credfeto.Notification.Bot.Twitch.Actions;
using Credfeto.Notification.Bot.Twitch.DataTypes;
using Credfeto.Notification.Bot.Twitch.Models;
using Credfeto.Notification.Bot.Twitch.Publishers;
using FunFair.Test.Common;
using MediatR;
using NSubstitute;
using Xun... | 38.463415 | 188 | 0.784401 | [
"MIT"
] | credfeto/notification-bot | src/Credfeto.Notification.Bot.Twitch.Tests/Publishers/TwitchGiftSubSingleNotificationHandlerTests.cs | 1,577 | C# |
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Threading.Tasks;
using System.Windows;
namespace Cvl.VirtualMachine.Debugger
{
/// <summary>
/// Logika interakcji dla klasy App.xaml
/// </summary>
public partial class App :... | 19.277778 | 44 | 0.714697 | [
"MIT"
] | cv-lang/virtual-machine | Cvl.VirtualMachine/Cvl.VirtualMachine.Debugger/App.xaml.cs | 349 | C# |
using System;
using System.Diagnostics;
namespace ImageResizer.Configuration.Performance
{
/// <summary>
/// 4 overlapping windows are used
/// </summary>
class PerIntervalSampling
{
readonly CircularTimeBuffer[] rings;
readonly long[] offsets;
const int RingCount = 4;
... | 30.136986 | 115 | 0.532273 | [
"MIT"
] | 2sic/resizer | Core/Configuration/Performance/Support/RateTracking/PerIntervalSampling.cs | 2,202 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.