commit stringlengths 40 40 | old_file stringlengths 4 264 | new_file stringlengths 4 264 | old_contents stringlengths 0 4.24k | new_contents stringlengths 1 5.44k | subject stringlengths 14 778 | message stringlengths 15 9.92k | lang stringclasses 277
values | license stringclasses 13
values | repos stringlengths 5 127k |
|---|---|---|---|---|---|---|---|---|---|
3eaa66ba470af8fe7f05b1b3cb7a5506cb2d7d96 | StormXamarin/Storm.Binding.AndroidTarget/Helper/NameGeneratorHelper.cs | StormXamarin/Storm.Binding.AndroidTarget/Helper/NameGeneratorHelper.cs | namespace Storm.Binding.AndroidTarget.Helper
{
public static class NameGeneratorHelper
{
private const string VIEWHOLDER_FORMAT = "AutoGen_ViewHolder_{0}";
private static int _viewHolderCounter;
public static string GetViewHolderName()
{
return string.Format(VIEWHOLDER_FORMAT, _viewHolderCounter++);
}
... | Add helper class to generate all names | Add helper class to generate all names
| C# | mit | snipervld/StormXamarin,snipervld/StormXamarin,Julien-Mialon/StormXamarin,snipervld/StormXamarin,Julien-Mialon/StormXamarin,Julien-Mialon/StormXamarin | |
fc06f67dd713600e909908adb40487e994e3603a | src/Meziantou.Framework/FormattableExtensions.cs | src/Meziantou.Framework/FormattableExtensions.cs | using System.Globalization;
namespace Meziantou.Framework;
public static class FormattableExtensions
{
public static string ToStringInvariant<T>(this T value) where T : IFormattable
{
return ToStringInvariant(value, format: null);
}
public static string ToStringInvariant<T>(this T value, stri... | Add ToStringInvariant method for IFormattable | Add ToStringInvariant method for IFormattable
| C# | mit | meziantou/Meziantou.Framework,meziantou/Meziantou.Framework,meziantou/Meziantou.Framework,meziantou/Meziantou.Framework | |
7981b70cf017774abf58e5aed9ce514c6a4bd166 | osu.Framework.Tests/Visual/Input/TestScenePlatformActionContainer.cs | osu.Framework.Tests/Visual/Input/TestScenePlatformActionContainer.cs | // 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 System;
using System.Linq;
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Shape... | Add basic test scene for testing platform actions | Add basic test scene for testing platform actions
| C# | mit | ppy/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,peppy/osu-framework,ppy/osu-framework | |
c498aa6c2d09d0a567a1d83c1fe711546ee450a3 | src/framework/Templates/Contains.template.cs | src/framework/Templates/Contains.template.cs | // ***********************************************************************
// Copyright (c) 2009 Charlie Poole
//
// 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,... | Add file missed in bug fix 440109 | Add file missed in bug fix 440109
--HG--
branch : bug-fix-440109
extra : convert_revision : charlie%40nunit.com-20091011205012-8qlpq4dtg1kdfyv9
| C# | mit | nunit/nunit,acco32/nunit,pcalin/nunit,pcalin/nunit,pflugs30/nunit,jeremymeng/nunit,Suremaker/nunit,ChrisMaddock/nunit,modulexcite/nunit,Green-Bug/nunit,mjedrzejek/nunit,jhamm/nunit,jeremymeng/nunit,nivanov1984/nunit,cPetru/nunit-params,dicko2/nunit,mikkelbu/nunit,agray/nunit,michal-franc/nunit,danielmarbach/nunit,agray... | |
95cf23f4735e7b889223f58caa5a752ff27d1829 | WindowsAzurePowershell/src/Management.ServiceManagement.Test/FunctionalTests/IaasCmdletInfo/RemoveAzureDataDiskCmdletInfo.cs | WindowsAzurePowershell/src/Management.ServiceManagement.Test/FunctionalTests/IaasCmdletInfo/RemoveAzureDataDiskCmdletInfo.cs | // ----------------------------------------------------------------------------------
//
// 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://www.apa... | Add cmdlet information for Remove-AzureDataDisk | Add cmdlet information for Remove-AzureDataDisk
| C# | apache-2.0 | antonba/azure-sdk-tools,markcowl/azure-sdk-tools,Madhukarc/azure-sdk-tools,markcowl/azure-sdk-tools,johnkors/azure-sdk-tools,akromm/azure-sdk-tools,akromm/azure-sdk-tools,akromm/azure-sdk-tools,Madhukarc/azure-sdk-tools,johnkors/azure-sdk-tools,Madhukarc/azure-sdk-tools,johnkors/azure-sdk-tools,DinoV/azure-sdk-tools,ak... | |
faad97ac6a9cdd2c070cb3b1a09e40ee450898f6 | src/SilDev/AssemblyInfo.cs | src/SilDev/AssemblyInfo.cs | #region auto-generated FILE INFORMATION
// ==============================================
// This file is distributed under the MIT License
// ==============================================
//
// Filename: AssemblyInfo.cs
// Version: 2018-06-02 15:41
//
// Copyright (c) 2018, Si13n7 Developments (r)
// All rights ... | Add class to get information about the current assembly. | Add class to get information about the current assembly.
| C# | mit | Si13n7/SilDev.CSharpLib | |
77f7d4c9632e281d8665a81c55252f12b181e163 | osu.Game/Screens/Edit/Compose/Components/SelectionBoxDragHandleDisplay.cs | osu.Game/Screens/Edit/Compose/Components/SelectionBoxDragHandleDisplay.cs | // 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 System.Collections.Generic;
using System.Linq;
using JetBrains.Annotations;
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphi... | Add composite managing display of selection box drag handles | Add composite managing display of selection box drag handles
| C# | mit | peppy/osu-new,peppy/osu,smoogipoo/osu,NeoAdonis/osu,UselessToucan/osu,smoogipoo/osu,smoogipooo/osu,ppy/osu,peppy/osu,UselessToucan/osu,NeoAdonis/osu,ppy/osu,NeoAdonis/osu,peppy/osu,UselessToucan/osu,ppy/osu,smoogipoo/osu | |
655b89308de3386dd446daa03b25a522bba22a25 | src/tests/EventStore.Persistence.AcceptanceTests/Engines/AcceptanceTestMongoPersistenceFactory.cs | src/tests/EventStore.Persistence.AcceptanceTests/Engines/AcceptanceTestMongoPersistenceFactory.cs | namespace EventStore.Persistence.AcceptanceTests.Engines
{
using MongoPersistence;
using Serialization;
public class AcceptanceTestMongoPersistenceFactory : MongoPersistenceFactory
{
public AcceptanceTestMongoPersistenceFactory()
: base("Mongo", new NullDocumentSerializer())
{
}
protected override stri... | namespace EventStore.Persistence.AcceptanceTests.Engines
{
using MongoPersistence;
using Serialization;
public class AcceptanceTestMongoPersistenceFactory : MongoPersistenceFactory
{
public AcceptanceTestMongoPersistenceFactory()
: base("Mongo", new DocumentObjectSerializer())
{
}
protected override st... | Use new DocumentObjectSerializer in Mongo test setup | Use new DocumentObjectSerializer in Mongo test setup
| C# | mit | nerdamigo/NEventStore,jamiegaines/NEventStore,marcoaoteixeira/NEventStore,chris-evans/NEventStore,gael-ltd/NEventStore,paritoshmmmec/NEventStore,NEventStore/NEventStore,D3-LucaPiombino/NEventStore,AGiorgetti/NEventStore,deltatre-webplu/NEventStore,adamfur/NEventStore |
82effc2860e927e1aa1fa3eacdc4ac3ef20045dd | source/Nuke.Common/Utilities/String.PrependAppend.cs | source/Nuke.Common/Utilities/String.PrependAppend.cs | // Copyright 2018 Maintainers of NUKE.
// Distributed under the MIT License.
// https://github.com/nuke-build/nuke/blob/master/LICENSE
using System;
using System.Collections.Generic;
using System.Linq;
using JetBrains.Annotations;
namespace Nuke.Common.Utilities
{
public static partial class StringExtensions
... | Add Prepend and Append extension methods | Add Prepend and Append extension methods
| C# | mit | nuke-build/nuke,nuke-build/nuke,nuke-build/nuke,nuke-build/nuke | |
345b00d6d1e9d72cc8088a7bc63a88fca0e84486 | apis/Google.Cloud.Compute.V1/Google.Cloud.Compute.V1/OperationToLroResponse.cs | apis/Google.Cloud.Compute.V1/Google.Cloud.Compute.V1/OperationToLroResponse.cs | // Copyright 2021 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in... | Add handwritten code for Operation.ToLroResponse() | feat: Add handwritten code for Operation.ToLroResponse()
This will eventually be generated, but the details are still
somewhat volatile, and will be relatively fiddly to implement.
For now, we can add this code manually, and remove it later (even if
the API changes - it's internal).
| C# | apache-2.0 | jskeet/google-cloud-dotnet,jskeet/google-cloud-dotnet,jskeet/google-cloud-dotnet,jskeet/google-cloud-dotnet,googleapis/google-cloud-dotnet,googleapis/google-cloud-dotnet,jskeet/google-cloud-dotnet,googleapis/google-cloud-dotnet,jskeet/gcloud-dotnet | |
43c678176c382f0f2d6ee35f36776280a82f7ec6 | scripts/Music/PlayMe.csx | scripts/Music/PlayMe.csx |
var robot = Require<Robot>();
var baseUri = robot.GetConfigVariable("MMBOT_PLAYME_URL");
if(baseUri != null && !baseUri.EndsWith("/")){
baseUri = baseUri + "/";
}
robot.Respond(@"what'?s that song\??", msg => {
msg.Http(baseUri + "Queue/CurrentTrack")
.GetJson((err, res, body) => {
try{
... | Add what's that song script | Add what's that song script
| C# | apache-2.0 | mmbot/mmbot.scripts | |
883fcd2e3124871de7fa8fd8ba57fdbdd736c9f6 | SimpleWAWS/Authentication/GoogleAuthProvider.cs | SimpleWAWS/Authentication/GoogleAuthProvider.cs | using System;
using System.Collections.Generic;
using System.Configuration;
using System.Globalization;
using System.Linq;
using System.Net;
using System.Text;
using System.Web;
namespace SimpleWAWS.Authentication
{
public class GoogleAuthProvider : BaseOpenIdConnectAuthProvider
{
public override stri... | using System;
using System.Collections.Generic;
using System.Configuration;
using System.Globalization;
using System.Linq;
using System.Net;
using System.Text;
using System.Web;
namespace SimpleWAWS.Authentication
{
public class GoogleAuthProvider : BaseOpenIdConnectAuthProvider
{
public override stri... | Update state to be used after redirect | Update state to be used after redirect
| C# | apache-2.0 | davidebbo/SimpleWAWS,projectkudu/SimpleWAWS,projectkudu/TryAppService,projectkudu/TryAppService,projectkudu/SimpleWAWS,projectkudu/TryAppService,projectkudu/SimpleWAWS,davidebbo/SimpleWAWS,fashaikh/SimpleWAWS,projectkudu/SimpleWAWS,fashaikh/SimpleWAWS,projectkudu/TryAppService,davidebbo/SimpleWAWS,fashaikh/SimpleWAWS,f... |
8ff362668fb7027fc049285106d29d03f35dae1a | src/Abp/Modules/Core/Abp.Modules.Core.Infrastructure.Data.NHibernate/Data/Migrations/V20130824/_02_CreateAbpUsersTable.cs | src/Abp/Modules/Core/Abp.Modules.Core.Infrastructure.Data.NHibernate/Data/Migrations/V20130824/_02_CreateAbpUsersTable.cs | using FluentMigrator;
namespace Abp.Modules.Core.Data.Migrations.V20130824
{
[Migration(2013082402)]
public class _02_CreateAbpUsersTable : Migration
{
public override void Up()
{
Create.Table("AbpUsers")
.WithColumn("Id").AsInt32().NotNullable().PrimaryKey().Id... | using FluentMigrator;
namespace Abp.Modules.Core.Data.Migrations.V20130824
{
[Migration(2013082402)]
public class _02_CreateAbpUsersTable : Migration
{
public override void Up()
{
Create.Table("AbpUsers")
.WithColumn("Id").AsInt32().NotNullable().PrimaryKey().Id... | Fix on User table migration | Fix on User table migration
| C# | mit | daywrite/aspnetboilerplate,lvjunlei/aspnetboilerplate,chenkaibin/aspnetboilerplate,ZhaoRd/aspnetboilerplate,carldai0106/aspnetboilerplate,LenFon/aspnetboilerplate,4nonym0us/aspnetboilerplate,dVakulen/aspnetboilerplate,virtualcca/aspnetboilerplate,aspnetboilerplate/aspnetboilerplate,carldai0106/aspnetboilerplate,AntTech... |
17b6af23c07cfb884edeaa1061ef7d616929fd03 | AngleSharp.Io.Tests/Helper.cs | AngleSharp.Io.Tests/Helper.cs | namespace AngleSharp.Core.Tests
{
using NUnit.Framework;
using System;
using System.IO;
using System.Net.NetworkInformation;
/// <summary>
/// Small (but quite useable) code to enable / disable some
/// test(s) depending on the current network status.
/// Taken from
/// http://stac... | Copy test helper from main project | Copy test helper from main project
| C# | mit | AngleSharp/AngleSharp.Io,AngleSharp/AngleSharp.Io,AngleSharp/AngleSharp.Io | |
a5bf9d09c73e09c5e7f69e5a9a259c7875c01e80 | Sources/Accord.Statistics/Kernels/DynamicTimeWarping.NoPcl.cs | Sources/Accord.Statistics/Kernels/DynamicTimeWarping.NoPcl.cs | // Accord Statistics Library
// The Accord.NET Framework
// http://accord-framework.net
//
// Copyright © César Souza, 2009-2015
// cesarsouza at gmail.com
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published ... | Add file with DynamicTimeWarping.onDeserialized to source contol | Add file with DynamicTimeWarping.onDeserialized to source contol
| C# | lgpl-2.1 | cureos/accord,cureos/accord,cureos/accord,cureos/accord,cureos/accord | |
eef975c43542149fc489ffe603359ca259fdab08 | apis/Google.Cloud.BigQuery.V2/Google.Cloud.BigQuery.V2.Tests/CreateExtractJobOptionsTest.cs | apis/Google.Cloud.BigQuery.V2/Google.Cloud.BigQuery.V2.Tests/CreateExtractJobOptionsTest.cs | // Copyright 2017 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applic... | Add unit test for CreateExtractJobOptions | Add unit test for CreateExtractJobOptions
(This should have been in the PR before...)
| C# | apache-2.0 | jskeet/google-cloud-dotnet,benwulfe/google-cloud-dotnet,evildour/google-cloud-dotnet,chrisdunelm/gcloud-dotnet,googleapis/google-cloud-dotnet,iantalarico/google-cloud-dotnet,evildour/google-cloud-dotnet,jskeet/google-cloud-dotnet,iantalarico/google-cloud-dotnet,googleapis/google-cloud-dotnet,iantalarico/google-cloud-do... | |
bd073b4a6dd93275cb2c15d2c01c4a33519ea09b | C#Development/BashSoft/BashSoft/StaticData/ExceptionMessages.cs | C#Development/BashSoft/BashSoft/StaticData/ExceptionMessages.cs | namespace BashSoft.Exceptions
{
public static class ExceptionMessages
{
public const string DataAlreadyInitialisedException = "Data is already initialized!";
public const string DataNotInitializedExceptionMessage = "The data structure must be initialised first in order to make any operat... | Move ExeptionMessages to StaticData folder | Move ExeptionMessages to StaticData folder
| C# | mit | stoyanov7/SoftwareUniversity,stoyanov7/SoftwareUniversity,stoyanov7/SoftwareUniversity,stoyanov7/SoftwareUniversity | |
b9fb29493d0b856447c10753709e75e11a5d0627 | ElectronicCash/BaseActor.cs | ElectronicCash/BaseActor.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ElectronicCash
{
public abstract class BaseActor
{
public string Name { get; set; }
public Guid ActorGuid { get; set; }
}
}
| Add base class for all human actors | Add base class for all human actors
| C# | mit | 0culus/ElectronicCash | |
b10f1d5e626430f868735fb17014e82485fec2b1 | VrPlayer.Trackers/VrPlayer.Trackers.OculusRiftTracker/OculusRiftTracker.cs | VrPlayer.Trackers/VrPlayer.Trackers.OculusRiftTracker/OculusRiftTracker.cs | using System;
using System.Runtime.InteropServices;
using System.Runtime.Serialization;
using System.Windows.Threading;
using System.Windows.Media.Media3D;
using VrPlayer.Contracts.Trackers;
using VrPlayer.Helpers;
using OpenTK;
namespace VrPlayer.Trackers.OculusRiftTracker
{
[DataContract]
unsafe... | using System;
using System.Runtime.InteropServices;
using System.Runtime.Serialization;
using System.Windows.Threading;
using System.Windows.Media.Media3D;
using VrPlayer.Contracts.Trackers;
using VrPlayer.Helpers;
using OpenTK;
using System.Windows.Media;
namespace VrPlayer.Trackers.OculusRiftTracker
{
... | Reduce Oculus headtracking latency by updating every frame | Reduce Oculus headtracking latency by updating every frame
| C# | lgpl-2.1 | bmolyneaux/41X,bmolyneaux/41X,bmolyneaux/VrPlayer,bmolyneaux/VrPlayer |
f3ab235577a0c0acfccae7b1faf3587f82fe4b4b | compiler/NUnit.Tests/Middle-End/BasicBlockTests.cs | compiler/NUnit.Tests/Middle-End/BasicBlockTests.cs | using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace NUnit.Tests.Middle_End
{
[TestFixture]
public class BasicBlockTests
{
[Test]
public void TestMethod()
{
// TODO: Add your... | Add new unit Tests for BasicBlocks | Add new unit Tests for BasicBlocks
| C# | mit | ilovepi/Compiler,ilovepi/Compiler | |
940289d204e368e4a43b12e5e5958b429d8a5cdb | run.csx | run.csx | using System.Net;
public static async Task<HttpResponseMessage> Run(HttpRequestMessage req)
{
try
{
//log.Info("Going to find an art idea...");
var idea = FindRandomArtIdea();
//log.Info($"Found the idea \"{idea}\"");
return req.CreateResponse(HttpStatusCode.O... | Add first pass of function (mostly already done via linqpad script) | Add first pass of function (mostly already done via linqpad script)
| C# | mit | ChrisWoody/artidea-api | |
84f8edd951a2dff31e7706be796e86dafae532b3 | src/SymbooglixLibTests/ConstantFolding/FoldBVor.cs | src/SymbooglixLibTests/ConstantFolding/FoldBVor.cs | using NUnit.Framework;
using System;
using Symbooglix;
using Microsoft.Boogie;
using Microsoft.Basetypes;
namespace ConstantFoldingTests
{
[TestFixture()]
public class FoldBVor : TestBase
{
[Test()]
public void AllOnes()
{
helper(5, 10, 15);
}
[Test()]
... | Add missing unit test file. | Add missing unit test file.
| C# | bsd-2-clause | symbooglix/symbooglix,symbooglix/symbooglix,symbooglix/symbooglix | |
f02ac23e8e66459285d89555769471cf86245530 | Trappist/src/Promact.Trappist.Core/Controllers/QuestionsController.cs | Trappist/src/Promact.Trappist.Core/Controllers/QuestionsController.cs | using Microsoft.AspNetCore.Mvc;
using Promact.Trappist.DomainModel.Models.Question;
using Promact.Trappist.Repository.Questions;
using System;
namespace Promact.Trappist.Core.Controllers
{
[Route("api/question")]
public class QuestionsController : Controller
{
private readonly IQuestionRepository ... | Update server side API for single multiple answer question | Update server side API for single multiple answer question
| C# | mit | Promact/trappist,Promact/trappist,Promact/trappist,Promact/trappist,Promact/trappist | |
f2b6003bc44077771700e984eca124169d5e3e78 | FuzzyCore/Initialize/ConfigReader.cs | FuzzyCore/Initialize/ConfigReader.cs | using System;
using System.Collections.Generic;
using System.IO;
using Newtonsoft.Json;
using FuzzyCore.Server;
namespace FuzzyCore.Initialize
{
public class ConfigReader
{
public string ConfigFile_Path = "./config.json";
public string ConfigFile_Content = "";
bool ConfigFile_Control()... | Read initialize properties of config file | Read initialize properties of config file
| C# | mit | muhammedikinci/FuzzyCore | |
609527aa50f4da260f52bfbc9c13d2e92c61f090 | CareerCup/Google/compress_array.cs | CareerCup/Google/compress_array.cs | // http://careercup.com/question?id=5693954190213120
//
// Given an ordered array, find segments
//
using System;
using System.Collections.Generic;
using System.Linq;
static class Program
{
static IEnumerable<int[]> Segment(this int[] array)
{
int n = array.Length;
int start = array[0];
... | Compress array in intervals of consecutive elements | Compress array in intervals of consecutive elements
| C# | mit | Gerula/interviews,Gerula/interviews,Gerula/interviews,Gerula/interviews,Gerula/interviews | |
bd2f82b93255266dfd1dce70d683e9cfa8d8efb1 | src/backend/SO115App.Models/Classi/Soccorso/Eventi/TrasferimentoChiamata.cs | src/backend/SO115App.Models/Classi/Soccorso/Eventi/TrasferimentoChiamata.cs | using SO115App.API.Models.Classi.Soccorso;
using SO115App.API.Models.Classi.Soccorso.Eventi;
using System;
namespace SO115App.Models.Classi.Soccorso.Eventi
{
public class TrasferimentoChiamata : Evento
{
public TrasferimentoChiamata(RichiestaAssistenza richiesta, DateTime istante, string codiceFonte, ... | Add - Inizio implementazione evento trasferimento chiamata | Add - Inizio implementazione evento trasferimento chiamata
| C# | agpl-3.0 | vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf | |
3562ae206c9262f7a6c8a118ed8d091e15d3c2e0 | src/SourceBrowser.Search/ViewModels/TokenViewModel.cs | src/SourceBrowser.Search/ViewModels/TokenViewModel.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SourceBrowser.Search.ViewModels
{
public struct TokenViewModel
{
public string DocumentId { get; }
public string FullName { get; }
public int LineNumber { get; ... | Add container struct for search index values. | Add container struct for search index values.
| C# | mit | CodeConnect/SourceBrowser,AmadeusW/SourceBrowser,AmadeusW/SourceBrowser,CodeConnect/SourceBrowser,AmadeusW/SourceBrowser | |
43fe95eaf1cc9fcbe5833ceb2ff1b184dc088be4 | src/Shimmer.WiXUi/EngineWrapper.cs | src/Shimmer.WiXUi/EngineWrapper.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Tools.WindowsInstallerXml.Bootstrapper;
namespace Shimmer.WiXUi
{
public interface IEngine
{
Engine.Variables<long> NumericVariables { get; }
int PackageCount { get; }
Engine.Variables... | Add a boring wrapper around Engine since it's sealed | Add a boring wrapper around Engine since it's sealed
| C# | mit | rzhw/Squirrel.Windows,rzhw/Squirrel.Windows | |
53d4e05a6d0442d249a22ac42e7277bed1aae062 | BindableOperator.cs | BindableOperator.cs | /* ------------------------------------------------------------------------- */
//
// Copyright (c) 2010 CubeSoft, 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... | Fix for using two kinds of RssMonitor objects. | Fix for using two kinds of RssMonitor objects.
| C# | apache-2.0 | cube-soft/Cube.Core,cube-soft/Cube.Core | |
8590bb860e03ba25677dc57219c7cc994b309d2b | test/MediatR.Extensions.Microsoft.DependencyInjection.Tests/PipeLineMultiCallToConstructorTest.cs | test/MediatR.Extensions.Microsoft.DependencyInjection.Tests/PipeLineMultiCallToConstructorTest.cs | using Microsoft.Extensions.DependencyInjection;
namespace MediatR.Extensions.Microsoft.DependencyInjection.Tests
{
using System.Reflection;
using System.Threading.Tasks;
using Shouldly;
using Xunit;
public class PipelineMultiCallToConstructorTests
{
public class ConstructorTestBehavio... | Add test to show a handler is instantiated twice, when using a pipeline | Add test to show a handler is instantiated twice, when using a pipeline
| C# | mit | jbogard/MediatR.Extensions.Microsoft.DependencyInjection | |
9a1f4537c7da79544b9af297729ae850759fed1d | osu.Framework/Extensions/BridgingExtensions.cs | osu.Framework/Extensions/BridgingExtensions.cs | // 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 TKVector2 = osuTK.Vector2;
using SNVector2 = System.Numerics.Vector2;
namespace osu.Framework.Extensions
{
/// <summary>
/// Temporary extension functions ... | Add temporary extension for bridging osuTK | Add temporary extension for bridging osuTK
| C# | mit | ppy/osu-framework,ZLima12/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,ZLima12/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,smoogipooo/osu-framework | |
d009a0be51defe7890002ca501d666c40e29fbd9 | osu.Game/Screens/Play/HUD/MultiplayerGameplayLeaderboard.cs | osu.Game/Screens/Play/HUD/MultiplayerGameplayLeaderboard.cs | // 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 System.Collections.Generic;
using System.Linq;
using JetBrains.Annotations;
using osu.Framework.Allocation;
using osu.Framework.Bindables;
using osu.Game.Configurat... | Move class to final location | Move class to final location
| C# | mit | peppy/osu-new,ppy/osu,smoogipoo/osu,NeoAdonis/osu,smoogipooo/osu,UselessToucan/osu,NeoAdonis/osu,smoogipoo/osu,peppy/osu,ppy/osu,UselessToucan/osu,UselessToucan/osu,peppy/osu,ppy/osu,smoogipoo/osu,NeoAdonis/osu,peppy/osu | |
8f46e6b0d1fc9cc1ac26a0e5ff90cb69503fb704 | src/MusicBrainz/SimpleLookupTest.cs | src/MusicBrainz/SimpleLookupTest.cs | /* -*- Mode: csharp; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: t -*- */
/***************************************************************************
* SimpleLookupTest.cs
*
* Copyright (C) 2005 Novell
* Written by Aaron Bockover (aaron@aaronbock.net)
****************************************************... | Test program for using new RDF wrapper classes | Test program for using new RDF wrapper classes
* src/MusicBrainz/SimpleLookupTest.cs: Test program for using new RDF wrapper classes
| C# | mit | Dynalon/banshee-osx,stsundermann/banshee,arfbtwn/banshee,allquixotic/banshee-gst-sharp-work,babycaseny/banshee,mono-soc-2011/banshee,eeejay/banshee,stsundermann/banshee,Carbenium/banshee,GNOME/banshee,GNOME/banshee,GNOME/banshee,dufoli/banshee,Carbenium/banshee,arfbtwn/banshee,lamalex/Banshee,Dynalon/banshee-osx,lamale... | |
c80c0f2fa4eeda5642349ecc26e310f70f1e2873 | Phoebe/Data/DataExtensions.cs | Phoebe/Data/DataExtensions.cs | using System;
using Toggl.Phoebe.Data.DataObjects;
namespace Toggl.Phoebe.Data
{
public static class DataExtensions
{
/// <summary>
/// Checks if the two objects share the same type and primary key.
/// </summary>
/// <param name="data">Data object.</param>
/// <param n... | using System;
using System.Collections.Generic;
using Toggl.Phoebe.Data.DataObjects;
namespace Toggl.Phoebe.Data
{
public static class DataExtensions
{
/// <summary>
/// Checks if the two objects share the same type and primary key.
/// </summary>
/// <param name="data">Data ob... | Add convenience method to update data objects in list. | Add convenience method to update data objects in list.
| C# | bsd-3-clause | ZhangLeiCharles/mobile,eatskolnikov/mobile,peeedge/mobile,ZhangLeiCharles/mobile,masterrr/mobile,eatskolnikov/mobile,masterrr/mobile,peeedge/mobile,eatskolnikov/mobile |
c5324b4dc39173bd97437e16ae51072f912400a4 | src/Glimpse.Agent.Web/Framework/InspectorsInspectorStartup.cs | src/Glimpse.Agent.Web/Framework/InspectorsInspectorStartup.cs | using System.Collections.Generic;
namespace Glimpse.Agent.Web
{
public class InspectorsInspectorStartup : IInspectorStartup
{
private readonly IEnumerable<IInspector> _inspectors;
public InspectorsInspectorStartup(IInspectorProvider inspectorProvider)
{
_inspectors = inspe... | Create implementation for Inspectors InspectorStartup | Create implementation for Inspectors InspectorStartup
| C# | mit | zanetdev/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,zanetdev/Glimpse.Prototype,Glimpse/Glimpse.Prototype,zanetdev/Glimpse.Prototype,pranavkm/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,pranavkm/Glimpse.Protot... | |
9fe2317649756720032f43570d7127b03d94dd3f | Examples/FailingWhen.cs | Examples/FailingWhen.cs | using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using Xunit;
using Xunit.ScenarioReporting;
namespace Examples
{
public class FailingWhen
{
[Fact]
public Task<ScenarioRunResult> ShouldFail()
{
return new TestRunner().Run(def ... | Add example for When failing | Add example for When failing
| C# | mit | critr/Xunit.ScenarioReporting,critr/Xunit.ScenarioReporting,Aardware-Ltd/Xunit.ScenarioReporting,jageall/Xunit.ScenarioReporting,jageall/Xunit.ScenarioReporting,Aardware-Ltd/Xunit.ScenarioReporting | |
43f0055dc93e7cd035bd33a612e29961b25625ab | RailDataEngine.Data.TrainDescriber/TrainDescriberContextFactory.cs | RailDataEngine.Data.TrainDescriber/TrainDescriberContextFactory.cs | using System.Data.Entity.Infrastructure;
using RailDataEngine.Data.Common;
namespace RailDataEngine.Data.TrainDescriber
{
public class TrainDescriberContextFactory : IDbContextFactory<TrainDescriberContext>
{
public TrainDescriberContext Create()
{
ITrainDescriberDatabase db = new ... | Create missing train describer context factory | Create missing train describer context factory
| C# | mit | tomlane/RailDataEngine,tomlane/RailDataEngine | |
ea77ea4a08757dc77cf2d1470666395efe79f349 | osu.Game.Tests/Visual/Editing/TestSceneEditorBeatmapCreation.cs | osu.Game.Tests/Visual/Editing/TestSceneEditorBeatmapCreation.cs | // 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 NUnit.Framework;
using osu.Game.Beatmaps;
using osu.Game.Rulesets;
using osu.Game.Rulesets.Osu;
using osu.Game.Storyboards;
namespace osu.Game.Tests.Visual.Editing... | Add basic testing of new beatmaps persistence | Add basic testing of new beatmaps persistence
| C# | mit | peppy/osu,NeoAdonis/osu,smoogipoo/osu,smoogipooo/osu,UselessToucan/osu,NeoAdonis/osu,UselessToucan/osu,smoogipoo/osu,ppy/osu,smoogipoo/osu,NeoAdonis/osu,peppy/osu,ppy/osu,peppy/osu,ppy/osu,peppy/osu-new,UselessToucan/osu | |
35abfe6cf08278571505edbb021ef038a1a7e848 | WalletWasabi.Tests/UnitTests/ListExtensionTests.cs | WalletWasabi.Tests/UnitTests/ListExtensionTests.cs | using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Text;
using Xunit;
namespace WalletWasabi.Tests.UnitTests
{
public class ListExtensionTests
{
[Fact]
public void InsertSorted_Orders_Items_Correctly ()
{
var actual = new List<int>();
actual.InsertSorted(... | Add unit tests for binary search and sorting methods. | Add unit tests for binary search and sorting methods.
| C# | mit | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | |
288a89af4dbf933d84aa7e3c6e5a94df54de9df7 | cslalightcs/Csla/Security/CslaIdentity.partial.cs | cslalightcs/Csla/Security/CslaIdentity.partial.cs | using System;
using System.Security.Principal;
using Csla.Serialization;
using System.Collections.Generic;
using Csla.Core.FieldManager;
using System.Runtime.Serialization;
using Csla.Core;
namespace Csla.Security
{
public abstract partial class CslaIdentity : ReadOnlyBase<CslaIdentity>, IIdentity
{
... | using System;
using System.Security.Principal;
using Csla.Serialization;
using System.Collections.Generic;
using Csla.Core.FieldManager;
using System.Runtime.Serialization;
using Csla.Core;
namespace Csla.Security
{
public abstract partial class CslaIdentity : ReadOnlyBase<CslaIdentity>, IIdentity
{
... | Remove Obsolete attribute. bugid: 294 | Remove Obsolete attribute.
bugid: 294
| C# | mit | MarimerLLC/csla,jonnybee/csla,JasonBock/csla,jonnybee/csla,jonnybee/csla,MarimerLLC/csla,ronnymgm/csla-light,rockfordlhotka/csla,ronnymgm/csla-light,rockfordlhotka/csla,BrettJaner/csla,JasonBock/csla,BrettJaner/csla,JasonBock/csla,BrettJaner/csla,ronnymgm/csla-light,rockfordlhotka/csla,MarimerLLC/csla |
225b56cb2b96f0fa26a4c94465ace6be8cf9e047 | Algorithms/Sorting/CountingSorter.cs | Algorithms/Sorting/CountingSorter.cs | using System;
using System.Collections.Generic;
using Algorithms.Common;
namespace Algorithms.Sorting
{
public static class CountingSorter
{
public static void CountingSort(this int[] array)
{
if (array == null || array.Length == 0)
return;
//
... | using System;
using System.Collections.Generic;
using Algorithms.Common;
namespace Algorithms.Sorting
{
public static class CountingSorter
{
public static void CountingSort(this IList<int> collection)
{
if (collection == null || collection.Count == 0)
return;
... | Update countingSorter to take a IList<int> instead of int[] | Update countingSorter to take a IList<int> instead of int[]
| C# | mit | aalhour/C-Sharp-Algorithms,ivandrofly/C-Sharp-Algorithms |
9f1ff6a48c62bf629b8d71ad5ec316d16580a521 | Apex7000_BillValidator/MasterCodex.cs | Apex7000_BillValidator/MasterCodex.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Apex7000_BillValidator
{
class MasterCodex
{
internal enum MasterMessage : int
{
// Byte0 - bit 0
Accept1 = 1 << 0,
Accept2 = 1 << 1,
... | Add codex for mater messages | Add codex for mater messages
| C# | mit | PyramidTechnologies/netPyramid-RS-232 | |
5213bd618054b66b41a511e29098f530e5acacc5 | csla20cs/Csla/Validation/RulesList.cs | csla20cs/Csla/Validation/RulesList.cs | using System;
using System.Collections.Generic;
namespace Csla.Validation
{
internal class RulesList
{
private List<IRuleMethod> _list = new List<IRuleMethod>();
private bool _sorted;
private List<string> _dependantProperties;
public void Add(IRuleMethod item)
{
_list.Add(item);
_s... | using System;
using System.Collections.Generic;
namespace Csla.Validation
{
internal class RulesList
{
private List<IRuleMethod> _list = new List<IRuleMethod>();
private bool _sorted;
private List<string> _dependantProperties;
public void Add(IRuleMethod item)
{
_list.Add(item);
_s... | Address potential threading issue when sorting the list, by adding a lock around the sort process. | Address potential threading issue when sorting the list, by adding a lock around the sort process.
| C# | mit | ronnymgm/csla-light,BrettJaner/csla,jonnybee/csla,MarimerLLC/csla,rockfordlhotka/csla,rockfordlhotka/csla,ronnymgm/csla-light,BrettJaner/csla,MarimerLLC/csla,JasonBock/csla,jonnybee/csla,JasonBock/csla,JasonBock/csla,MarimerLLC/csla,jonnybee/csla,ronnymgm/csla-light,BrettJaner/csla,rockfordlhotka/csla |
851c1c8eac90f7ac20b54766493f0f850fd7e7ff | umbraco/cms/helpers/DeepLinkType.cs | umbraco/cms/helpers/DeepLinkType.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace umbraco.cms.helpers
{
public enum DeepLinkType
{
Template,
DocumentType,
Content,
Media,
MediaType,
XSLT,
RazorScript,
Css,
J... | Add enumeration for deep linking types | Add enumeration for deep linking types
| C# | mit | JeffreyPerplex/Umbraco-CMS,Scott-Herbert/Umbraco-CMS,lingxyd/Umbraco-CMS,mittonp/Umbraco-CMS,Khamull/Umbraco-CMS,markoliver288/Umbraco-CMS,ordepdev/Umbraco-CMS,romanlytvyn/Umbraco-CMS,christopherbauer/Umbraco-CMS,NikRimington/Umbraco-CMS,nvisage-gf/Umbraco-CMS,robertjf/Umbraco-CMS,MicrosoftEdge/Umbraco-CMS,qizhiyu/Umbr... | |
19be83181f234057d7abdd44064391a834d8314d | osu.Game.Tests/Visual/Online/TestSceneChatOverlay.cs | osu.Game.Tests/Visual/Online/TestSceneChatOverlay.cs | // 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 System;
using System.Collections.Generic;
using System.ComponentModel;
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.C... | Add back missing test scene | Add back missing test scene
| C# | mit | peppy/osu,NeoAdonis/osu,smoogipoo/osu,smoogipoo/osu,UselessToucan/osu,NeoAdonis/osu,ppy/osu,ZLima12/osu,peppy/osu-new,ppy/osu,peppy/osu,EVAST9919/osu,UselessToucan/osu,EVAST9919/osu,peppy/osu,2yangk23/osu,ZLima12/osu,smoogipooo/osu,2yangk23/osu,NeoAdonis/osu,johnneijzen/osu,smoogipoo/osu,UselessToucan/osu,johnneijzen/o... | |
c2b8dbc88c91eea2330dcadc4bde9fe616ed7f44 | SKM/ExtensionMethods.cs | SKM/ExtensionMethods.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace SKGL
{
public static class ExtensionMethods
{
public static bool IsValid(this KeyInformation keyInformation )
{
if(keyInformation != null)
{
return true;
... | Add Extension Methods class that was not added in previous commit. | Add Extension Methods class that was not added in previous commit.
| C# | bsd-3-clause | artemlos/SKGL-Extension-for-dot-NET,SerialKeyManager/SKGL-Extension-for-dot-NET | |
7af01674e47f99357904293c746f3e28f9047a87 | MiniTrello.Data/AutoMappingOverride/AccountOverride.cs | MiniTrello.Data/AutoMappingOverride/AccountOverride.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using FluentNHibernate.Automapping;
using FluentNHibernate.Automapping.Alterations;
using FluentNHibernate.Mapping;
using MiTrello.Domain.Entities;
namespace MiniTrello.Data.AutoMappingOverride
{
pu... | Add automapping override for account entity | Add automapping override for account entity
| C# | mit | pavel07/Proyecto_MiniTrello,kmiloaguilar/minitrello,pavel07/Proyecto_MiniTrello,kmiloaguilar/minitrello | |
bc98f628cc5270d2378bb86bb23e59b457a838a5 | FunctionalTests/AsyncFunctionTests.cs | FunctionalTests/AsyncFunctionTests.cs | using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using NiL.JS.BaseLibrary;
using NiL.JS.Core;
using NiL.JS.Extensions;
namespace FunctionalTests
{
[TestClass]
public class AsyncFunctionTests
{
[Tes... | Add Passing and Failing Async Function Tests | Add Passing and Failing Async Function Tests
| C# | bsd-3-clause | nilproject/NiL.JS,nilproject/NiL.JS,nilproject/NiL.JS | |
fd120b1908329f2a319de1474b3215a3999bc5a5 | src/Tests/Reproduce/GithubIssue2886.cs | src/Tests/Reproduce/GithubIssue2886.cs | using System;
using System.Linq;
using Elasticsearch.Net;
using FluentAssertions;
using Nest;
using Tests.Framework;
using Tests.Framework.ManagedElasticsearch.Clusters;
using Tests.Framework.MockData;
using Xunit;
namespace Tests.Reproduce
{
public class GithubIssue2886 : IClusterFixture<WritableCluster>
{
privat... | Add integration test for single and multiple common_words | Add integration test for single and multiple common_words
| C# | apache-2.0 | elastic/elasticsearch-net,elastic/elasticsearch-net | |
3b21ad961b63bf1386af2c13ebcf3bd97bdbbdbb | Controllers/ValuesController.cs | Controllers/ValuesController.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
namespace CloudBread_Admin_Web.Controllers
{
public class ValuesController : ApiController
{
// GET api/values
public IEnumerable<string> Get()
{
... | Test file 'Value Controller' added | Test file 'Value Controller' added
| C# | mit | CloudBreadProject/CloudBread-Admin-Web,CloudBreadProject/CloudBread-Admin-Web,yshong93/CloudBread-Admin-Web,yshong93/CloudBread-Admin-Web,CloudBreadProject/CloudBread-Admin-Web,yshong93/CloudBread-Admin-Web | |
0c761ccce3ea7f1cb12f53e24c4d2e72355c1688 | Source/Nett/TomlComment.cs | Source/Nett/TomlComment.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Nett
{
internal class TomlComment
{
public string CommentText { get; private set; }
public CommentLocation Location { get; private set; }
public TomlComment(string commentText, CommentLocat... | Add missing file to VC | Add missing file to VC
| C# | mit | paiden/Nett | |
0b5b64dcf2100e1a388315e74448e71cebdafe83 | src/kafka-net/Common/ThreadWall.cs | src/kafka-net/Common/ThreadWall.cs | using System;
using System.Threading;
using System.Threading.Tasks;
namespace KafkaNet.Common
{
public class ThreadWall
{
private readonly SemaphoreSlim _semaphore = new SemaphoreSlim(1, 1);
public void Block()
{
_semaphore.Wait();
}
public void Release()
... | Add a common object to provide wall locking. | Add a common object to provide wall locking.
This was just pulled out of the air. Should do some review of a better
way to provide this functionality.
| C# | apache-2.0 | aNutForAJarOfTuna/kafka-net,CenturyLinkCloud/kafka-net,BDeus/KafkaNetClient,EranOfer/KafkaNetClient,bridgewell/kafka-net,nightkid1027/kafka-net,geffzhang/kafka-net,Jroland/kafka-net,gigya/KafkaNetClient,martijnhoekstra/kafka-net,PKRoma/kafka-net | |
909f8d1d9800eb7ffd820463865b38ea4e6f5264 | osu.Game.Tests/Audio/TestSceneFilter.cs | osu.Game.Tests/Audio/TestSceneFilter.cs | // 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 ManagedBass.Fx;
using NUnit.Framework;
using osu.Framework.Allocation;
using osu.Framework.Audio;
using osu.Framework.Graphics;
using osu.Game.Audio.Effects;
using ... | Add visual tests for `Filter` | Add visual tests for `Filter`
| C# | mit | peppy/osu,ppy/osu,NeoAdonis/osu,smoogipooo/osu,NeoAdonis/osu,smoogipoo/osu,peppy/osu-new,smoogipoo/osu,NeoAdonis/osu,smoogipoo/osu,ppy/osu,ppy/osu,peppy/osu,peppy/osu | |
9614b00d2916934f7bcc2f74322480e8f80221fd | src/embed_tests/TestInterfaceClasses.cs | src/embed_tests/TestInterfaceClasses.cs | using NUnit.Framework;
using Python.Runtime;
namespace Python.EmbeddingTest
{
public class TestInterfaceClasses
{
public string testCode = @"
from clr import AddReference
AddReference(""System"")
AddReference(""Python.EmbeddingTest"")
from Python.EmbeddingTest import *
testModule = TestInterfaceClasse... | Add test for interface derived classes | Add test for interface derived classes
| C# | mit | AlexCatarino/pythonnet,AlexCatarino/pythonnet,AlexCatarino/pythonnet,AlexCatarino/pythonnet | |
9a347af5c79e5f57decfa6be8a420a7f4ef6872e | osu.Game.Tests/Online/TestSubmittableScoreJsonSerialization.cs | osu.Game.Tests/Online/TestSubmittableScoreJsonSerialization.cs | // 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 Newtonsoft.Json;
using NUnit.Framework;
using osu.Game.IO.Serialization;
using osu.Game.Online.Solo;
using osu.Game.Tests.Resources;
namespace osu.Game.Tests.Onlin... | Add test coverage of `SubmittableScore` serialisation to (roughly) match spec | Add test coverage of `SubmittableScore` serialisation to (roughly) match spec
| C# | mit | ppy/osu,NeoAdonis/osu,peppy/osu,ppy/osu,NeoAdonis/osu,NeoAdonis/osu,peppy/osu,peppy/osu,ppy/osu | |
29ec498f6c69f779ee55d78c08299109ead9283c | osu.Game.Tests/Visual/Gameplay/TestSceneSpectatorHost.cs | osu.Game.Tests/Visual/Gameplay/TestSceneSpectatorHost.cs | // 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 NUnit.Framework;
using osu.Framework.Allocation;
using osu.Game.Online.API;
using osu.Game.Online.Spectator;
using osu.Game.Rulesets;
using osu.Game.Rulesets.Mania;... | Add failing test case for player sending wrong ruleset ID to spectator server | Add failing test case for player sending wrong ruleset ID to spectator server
| C# | mit | NeoAdonis/osu,smoogipoo/osu,ppy/osu,NeoAdonis/osu,smoogipooo/osu,peppy/osu-new,peppy/osu,smoogipoo/osu,peppy/osu,smoogipoo/osu,NeoAdonis/osu,ppy/osu,peppy/osu,ppy/osu | |
86db640e1f30cd5929dcf186f15dba29605ba3ef | sorting/shell_sort/csharp/ShellSort.cs | sorting/shell_sort/csharp/ShellSort.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace shellsort
{
public class ShellSort
{
private readonly int[] _array;
public ShellSort(int[] array)
{
this._array = array;
}
public ... | Add shell sort implementation in csharp | Add shell sort implementation in csharp
| C# | mit | felipecustodio/algorithms,felipecustodio/algorithms,felipecustodio/algorithms,felipecustodio/algorithms,felipecustodio/algorithms,felipecustodio/algorithms,felipecustodio/algorithms,felipecustodio/algorithms,felipecustodio/algorithms,felipecustodio/algorithms,felipecustodio/algorithms,felipecustodio/algorithms,felipecu... | |
f306283f1359181a0abceb6bab1aa7f87a5ae7ae | Corale.Colore.Tests/ColoreExceptionTests.cs | Corale.Colore.Tests/ColoreExceptionTests.cs | namespace Corale.Colore.Tests
{
using System;
using NUnit.Framework;
[TestFixture]
public class ColoreExceptionTests
{
[Test]
public void ShouldSetMessage()
{
const string Expected = "Test message.";
Assert.AreEqual(Expected, new ColoreException("Te... | Test file updated to latest base namespace | Test file updated to latest base namespace
| C# | mit | CoraleStudios/Colore,Sharparam/Colore,WolfspiritM/Colore,danpierce1/Colore | |
406818cb317aa151a6e4ac13ea37ab58380dad43 | CSharp.Functional.Tests/RangeTests.cs | CSharp.Functional.Tests/RangeTests.cs | using System.Collections;
using System.Collections.Generic;
using System.Linq;
using Xunit;
namespace CSharp.Functional.Tests
{
public class RangeTests
{
[Theory]
[InlineData(0, 1)]
public void RangeProvidesAnIEnumerable(int start, int end)
{
var result = F.Range(st... | Add a few tests for F.Range | Add a few tests for F.Range
| C# | mit | farity/farity | |
2a21bb788299d78734e43810923e5efa87fa86e3 | WebsocketGamepad/PhoneHub.Private.cs | WebsocketGamepad/PhoneHub.Private.cs | using Microsoft.AspNet.SignalR;
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using VJoyWrapper;
namespace WebsocketGamepad
{
public partial class PhoneHub : Hub
{
private... | Split some methods off into a private class. | Split some methods off into a private class.
| C# | mit | baconator/WebsocketGamepad,baconator/WebsocketGamepad | |
efaf07dbc8db673737ab14d80f37f8e0fcf18f82 | osu.Game.Benchmarks/BenchmarkRuleset.cs | osu.Game.Benchmarks/BenchmarkRuleset.cs | // 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 BenchmarkDotNet.Attributes;
using osu.Game.Online.API;
using osu.Game.Rulesets.Osu;
namespace osu.Game.Benchmarks
{
public class BenchmarkRuleset : BenchmarkTe... | Add benchmark coverage of mod retrieval | Add benchmark coverage of mod retrieval
| C# | mit | NeoAdonis/osu,peppy/osu,smoogipooo/osu,ppy/osu,peppy/osu-new,NeoAdonis/osu,ppy/osu,smoogipoo/osu,smoogipoo/osu,NeoAdonis/osu,peppy/osu,smoogipoo/osu,ppy/osu,peppy/osu | |
3989bb464afccec78f46665a37a2dbd138a33115 | test/Hangfire.EntityFramework.Tests/EntityFrameworkJobStorageTests.cs | test/Hangfire.EntityFramework.Tests/EntityFrameworkJobStorageTests.cs | using System;
using Hangfire.EntityFramework.Utils;
using Xunit;
namespace Hangfire.EntityFramework
{
public class EntityFrameworkJobStorageTests
{
private EntityFrameworkJobStorageOptions Options;
public EntityFrameworkJobStorageTests()
{
Options = new EntityFrameworkJobS... | Add Entity Framework job storage tests | Add Entity Framework job storage tests
| C# | mit | sergezhigunov/Hangfire.EntityFramework | |
cdcca008ebbfee4b725c4133a56112f1fffa6e72 | Xemi.Core/XemiException.cs | Xemi.Core/XemiException.cs | using System;
using System.Runtime.Serialization;
namespace Xemi.Core
{
public class XemiException:Exception
{
public XemiException()
{ }
public XemiException(string message)
: base(message)
{
}
public XemiException(string messageFormat, params o... | Add platform specified root exception class | Add platform specified root exception class
| C# | mit | yimlu/Xemi | |
87c8c5959f2adba4593e8f71f94c5c74088227df | Mollie.Tests.Integration/Api/ProfileTests.cs | Mollie.Tests.Integration/Api/ProfileTests.cs | using Mollie.Api.Models.Profile.Response;
using Mollie.Tests.Integration.Framework;
using NUnit.Framework;
using System.Threading.Tasks;
namespace Mollie.Tests.Integration.Api {
[TestFixture]
public class ProfileTests : BaseMollieApiTestClass {
[Test]
public async Task GetCurrentProfileAsync_R... | Add a integration test to verify we can retrieve the current profile from the ProfileClient | Add a integration test to verify we can retrieve the current profile from the ProfileClient
| C# | mit | Viincenttt/MollieApi,Viincenttt/MollieApi | |
1d7748aed5b2d91c1ea7f38d5804fbe82eb58fe3 | app/Assets/Scripts/TransformToGuiFinder.cs | app/Assets/Scripts/TransformToGuiFinder.cs | using UnityEngine;
using System.Collections;
public class TransformToGuiFinder {
public static Vector2 Find(Transform target) {
var position = Camera.main.WorldToScreenPoint(target.position);
position.y = Screen.height - position.y;
return position;
}
}
| Add a convenience method for converting transform positions to gui positions | Add a convenience method for converting transform positions to gui positions
| C# | mit | mikelovesrobots/daft-pong,mikelovesrobots/daft-pong | |
e1f0c0601270705d49ea1041fd5e50c797c7dc7d | Canon.Eos.Framework/Eventing/EosExceptionEventArgs.cs | Canon.Eos.Framework/Eventing/EosExceptionEventArgs.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Canon.Eos.Framework.Eventing
{
public class EosExceptionEventArgs : EventArgs
{
public Exception Exception { get; internal set; }
}
}
| Add missing file and other changes. | Add missing file and other changes.
| C# | mit | esskar/Canon.Eos.Framework | |
2bf2f0c25c3d272aa5152ad8ef3243476fb13404 | mustache-sharp/Properties/AssemblyInfo.cs | mustache-sharp/Properties/AssemblyInfo.cs | using System;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("mustache-sharp")]
[assembly: AssemblyDescription("A extension of the mustache text template engine for .NET.")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany... | using System;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("mustache-sharp")]
[assembly: AssemblyDescription("A extension of the mustache text template engine for .NET.")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany... | Update assembly version for NuGet | Update assembly version for NuGet
| C# | mit | ubershmekel/MustacheCs,jehugaleahsa/mustache-sharp,nickytonline/mosharp |
cb81a1c660e20ea3bcfe7c4205043cce2eabb633 | osu.Framework.Benchmarks/BenchmarkHashing.cs | osu.Framework.Benchmarks/BenchmarkHashing.cs | // 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 System;
using System.IO;
using BenchmarkDotNet.Attributes;
using osu.Framework.Extensions;
namespace osu.Framework.Benchmarks
{
[MemoryDiagnoser]
public c... | Add benchmark for hashing extensions | Add benchmark for hashing extensions
| C# | mit | smoogipooo/osu-framework,peppy/osu-framework,ppy/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,peppy/osu-framework,ZLima12/osu-framework,ppy/osu-framework,ZLima12/osu-framework | |
51416221cac3e31c8022c233fc7ddb4baffc543c | src/EditorFeatures/Core/Implementation/Suggestions/SuggestedActionWithNestedActions.cs | src/EditorFeatures/Core/Implementation/Suggestions/SuggestedActionWithNestedActions.cs | // 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.Collections.Generic;
using System.Collections.Immutable;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.Code... | // 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.Collections.Generic;
using System.Collections.Immutable;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.Code... | Fix issue with nested actions not being shown. | Fix issue with nested actions not being shown.
| C# | mit | jamesqo/roslyn,reaction1989/roslyn,DustinCampbell/roslyn,aelij/roslyn,jamesqo/roslyn,genlu/roslyn,robinsedlaczek/roslyn,MichalStrehovsky/roslyn,yeaicc/roslyn,zooba/roslyn,jeffanders/roslyn,tmat/roslyn,davkean/roslyn,sharwell/roslyn,mattscheffer/roslyn,AArnott/roslyn,shyamnamboodiripad/roslyn,agocke/roslyn,heejaechang/r... |
6e75ebbb06fb6bf394e257bc44877b3f7171923f | osu.Game/Screens/IHandlePresentBeatmap.cs | osu.Game/Screens/IHandlePresentBeatmap.cs | // 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.Game.Beatmaps;
using osu.Game.Rulesets;
namespace osu.Game.Screens
{
/// <summary>
/// Denotes a screen which can handle beatmap / ruleset selection vi... | Add interface to handle local beatmap presentation logic | Add interface to handle local beatmap presentation logic
| C# | mit | peppy/osu,smoogipoo/osu,NeoAdonis/osu,NeoAdonis/osu,ppy/osu,peppy/osu,UselessToucan/osu,UselessToucan/osu,smoogipooo/osu,ppy/osu,peppy/osu,ppy/osu,smoogipoo/osu,smoogipoo/osu,peppy/osu-new,UselessToucan/osu,NeoAdonis/osu | |
dfa52e94f3bd2a39b3432976420e8681a293551c | SteamFriendsManager/Utility/UriExtension.cs | SteamFriendsManager/Utility/UriExtension.cs | using System;
using System.Text.RegularExpressions;
using Microsoft.Win32;
namespace SteamFriendsManager.Utility
{
public static class UriExtension
{
public static bool CheckSchemeExistance(this Uri uri)
{
var schemeKey = Registry.ClassesRoot.OpenSubKey(uri.Scheme);
ret... | Add an Uri extension to work with Uri scheme. | Add an Uri extension to work with Uri scheme.
| C# | bsd-3-clause | stackia/SteamFriendsManager | |
23362d5e604b5f04aebbe4f408c5cfe90a4f66ba | SoraBot/SoraBot.Bot/Modules/PrefixModule.cs | SoraBot/SoraBot.Bot/Modules/PrefixModule.cs | using System.Threading.Tasks;
using Discord;
using Discord.Commands;
using SoraBot.Common.Extensions.Modules;
using SoraBot.Services.Guilds;
namespace SoraBot.Bot.Modules
{
[Name("Prefix")]
[Summary("Commands to get and set the prefix inside a Guild")]
public class PrefixModule : SoraSocketCommandModule
... | Add prefix module to get or set the current prefix | Add prefix module to get or set the current prefix
| C# | agpl-3.0 | Daniele122898/SoraBot-v2,Daniele122898/SoraBot-v2 | |
ab6801438ac7a0c5e9ba5d2b011286f98529bb37 | src/Glimpse.Common/_SystemWeb/Glimpse.cs | src/Glimpse.Common/_SystemWeb/Glimpse.cs | #if SystemWeb
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.Extensions.DependencyInjection;
namespace Glimpse
{
public static class Glimpse
{
public static IServiceCollection Start()
{
return Start(null);
}
... | Create root entry point for SystemWeb | Create root entry point for SystemWeb
| C# | mit | peterblazejewicz/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype | |
8daa2fc7ab2e7c73a35aa56057ad12502131d556 | osu.Framework/Graphics/UserInterface/HexColourPicker.cs | osu.Framework/Graphics/UserInterface/HexColourPicker.cs | // 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.Bindables;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Shapes;
namespace osu.Framework.Graphics.UserInterface
{
public ... | Add basic structure for hex colour picker part | Add basic structure for hex colour picker part
| C# | mit | peppy/osu-framework,peppy/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,ZLima12/osu-framework,ZLima12/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,ppy/osu-framework | |
eeec1f32c6a8396b7714fc7448e56c4d4cc9b3ba | OpenSim/Region/Framework/Scenes/Tests/SceneObjectSpatialTests.cs | OpenSim/Region/Framework/Scenes/Tests/SceneObjectSpatialTests.cs | /*
* Copyright (c) Contributors, http://opensimulator.org/
* See CONTRIBUTORS.TXT for a full list of copyright holders.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributions of source code must r... | Add very basic TestGetRootPartPosition() test | Add very basic TestGetRootPartPosition() test
| C# | bsd-3-clause | bravelittlescientist/opensim-performance,TomDataworks/opensim,Michelle-Argus/ArribasimExtract,ft-/arribasim-dev-tests,BogusCurry/arribasim-dev,justinccdev/opensim,RavenB/opensim,rryk/omp-server,ft-/opensim-optimizations-wip,RavenB/opensim,QuillLittlefeather/opensim-1,justinccdev/opensim,bravelittlescientist/opensim-per... | |
67415e25b54d56c347bdd4bfce08b495c4f788a7 | tools/ReleaseHelpers.cs | tools/ReleaseHelpers.cs | namespace FakeItEasy.Tools
{
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Text.RegularExpressions;
using Octokit;
public static class ReleaseHelpers
{
public static ICollection<int> GetIssueNumbersReferencedFromReleases(IEnumerab... | namespace FakeItEasy.Tools
{
using System.Collections.Generic;
using System.Globalization;
using System.Text.RegularExpressions;
using Octokit;
public static class ReleaseHelpers
{
public static ICollection<int> GetIssueNumbersReferencedFromReleases(IEnumerable<Release> release... | Improve parsing of issues in release notes | Improve parsing of issues in release notes
| C# | mit | FakeItEasy/FakeItEasy,blairconrad/FakeItEasy,thomaslevesque/FakeItEasy,adamralph/FakeItEasy,adamralph/FakeItEasy,FakeItEasy/FakeItEasy,blairconrad/FakeItEasy,thomaslevesque/FakeItEasy |
b4932f6df6359cf7b1fdc899488f3b3bcb279245 | src/NQuery.Tests/Evaluation/EvaluationTest.cs | src/NQuery.Tests/Evaluation/EvaluationTest.cs | using System;
using Xunit;
namespace NQuery.Tests.Evaluation
{
public class EvaluationTest
{
protected void AssertProduces<T>(string text, T[] expected)
{
var expectedColumns = new[] { typeof(T) };
var expectedRows = new object[expected.Length][];
for (var i... | Add ability to run evaluation tests | Add ability to run evaluation tests
This allows to define the expected data as arrays of scalars or tuples and
then assert that the data matches.
| C# | mit | terrajobst/nquery-vnext | |
4ae6c93f942dcf2d27986570ab85e8bc62a6dc40 | SadConsole.Extended/Components/MouseTint.cs | SadConsole.Extended/Components/MouseTint.cs | using System;
using System.Collections.Generic;
using System.Text;
using SadConsole.Input;
using SadRogue.Primitives;
namespace SadConsole.Components
{
/// <summary>
/// Tints a surface when that surface would use the mouse. Helps debug which object is receiving mouse input as you move the mouse around.
/... | Add mouse tint debug component | [ext] Add mouse tint debug component
| C# | mit | Thraka/SadConsole | |
92bbbf0dc6673d50fd78322c2562f75ef8eea752 | A2BBAPI/Utils/LinkHolder.cs | A2BBAPI/Utils/LinkHolder.cs | using A2BBAPI.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace A2BBAPI.Utils
{
/// <summary>
/// Class holding info for device linking.
/// </summary>
public class LinkHolder
{
#region Public properties
/// <summary>... | Add utils class which holds temporary linking info between user-device. | Add utils class which holds temporary linking info between user-device.
| C# | apache-2.0 | marcuson/A2BBServer,marcuson/A2BBServer,marcuson/A2BBServer | |
d6f2639619dc69426b70cbf86d2fbb7b593199d2 | ExpressionToCodeLib/AssertFailedException.cs | ExpressionToCodeLib/AssertFailedException.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
namespace ExpressionToCodeLib
{
[Obsolete(
"This class is *not* the base class of all assertion violation exceptions - don't rely on it! It will be removed in version 2."
), Serializabl... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
namespace ExpressionToCodeLib
{
[Serializable]
sealed class AssertFailedException : Exception
{
public AssertFailedException(string message)
: base(message) { }
... | Drop PAssertException from public api | Drop PAssertException from public api
| C# | apache-2.0 | asd-and-Rizzo/ExpressionToCode,EamonNerbonne/ExpressionToCode |
4894bdd39934269c3e5de973715814d76cc06faa | test/Porthor.Tests/ContentDefinitionTests.cs | test/Porthor.Tests/ContentDefinitionTests.cs | using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.TestHost;
using Microsoft.Extensions.DependencyInjection;
using Porthor.Models;
using System.Collections.Generic;
using System.Net;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
using Xunit;
na... | Add content media type tests | Add content media type tests
| C# | apache-2.0 | NicatorBa/Porthor | |
99e9b86fe855b52acd68db5d5ca1c8bddc9d6025 | LBD2OBJ/Types/FixedPoint.cs | LBD2OBJ/Types/FixedPoint.cs | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LBD2OBJ.Types
{
class FixedPoint
{
public int IntegralPart { get; set; }
public int DecimalPart { get; set; }
public FixedPoint(byte[] data)
{
if (data.... | Add class for fixed point data | Add class for fixed point data
| C# | mit | Figglewatts/LBD2OBJ | |
587760b76ce7fe3e8cdd02c6d2b4d2a963c8507f | resharper/resharper-unity/src/AsmDef/Feature/Services/Occurrences/AsmDefNameOccurrencePresenter.cs | resharper/resharper-unity/src/AsmDef/Feature/Services/Occurrences/AsmDefNameOccurrencePresenter.cs | using System.Drawing;
using JetBrains.Application.UI.Controls.JetPopupMenu;
using JetBrains.Diagnostics;
using JetBrains.ProjectModel;
using JetBrains.ReSharper.Feature.Services.Occurrences;
using JetBrains.ReSharper.Feature.Services.Presentation;
using JetBrains.ReSharper.Plugins.Unity.AsmDef.Psi.Caches;
using JetBrai... | Add presenter for asmdef occurrences | Add presenter for asmdef occurrences
| C# | apache-2.0 | JetBrains/resharper-unity,JetBrains/resharper-unity,JetBrains/resharper-unity | |
965af2db899d3101f85f3b0939bdfb25e8a991cf | CSharpRecipe/Recipe.Web/ResponseStatusHandling.cs | CSharpRecipe/Recipe.Web/ResponseStatusHandling.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading.Tasks;
namespace Recipe.Web
{
public enum ResponseCategories
{
Unknown,
Informational,
Success,
Redirected,
ClientError,
ServerError
... | Add web response status handling | Add web response status handling
| C# | mit | caronyan/CSharpRecipe | |
909b5a9594fc5a4e70e3141ff18de83568137f8c | source/Glimpse.Core2/ClientScript/Metadata.cs | source/Glimpse.Core2/ClientScript/Metadata.cs | using Glimpse.Core2.Extensibility;
namespace Glimpse.Core2.ClientScript
{
public class Metadata:IDynamicClientScript
{
public ScriptOrder Order
{
get { return ScriptOrder.IncludeAfterClientInterfaceScript; }
}
public string GetResourceName()
{
r... | using Glimpse.Core2.Extensibility;
namespace Glimpse.Core2.ClientScript
{
public class Metadata:IDynamicClientScript
{
public ScriptOrder Order
{
get { return ScriptOrder.RequestMetadataScript; }
}
public string GetResourceName()
{
return Resour... | Switch over metadata to use its own script order reference | Switch over metadata to use its own script order reference
| C# | apache-2.0 | codevlabs/Glimpse,sorenhl/Glimpse,paynecrl97/Glimpse,flcdrg/Glimpse,dudzon/Glimpse,paynecrl97/Glimpse,Glimpse/Glimpse,codevlabs/Glimpse,elkingtonmcb/Glimpse,gabrielweyer/Glimpse,dudzon/Glimpse,rho24/Glimpse,elkingtonmcb/Glimpse,flcdrg/Glimpse,rho24/Glimpse,Glimpse/Glimpse,gabrielweyer/Glimpse,dudzon/Glimpse,SusanaL/Gli... |
516b336d4bf4d20eaa4c0457e36abc5ce6c76703 | bees-in-the-trap/Assets/Scripts/MainCamera.cs | bees-in-the-trap/Assets/Scripts/MainCamera.cs | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class MainCamera : MonoBehaviour {
public GameObject cursor;
private IEnumerator currentMove;
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
//this.transform.posi... | Add the ability to scoot the camera | Add the ability to scoot the camera
| C# | mit | makerslocal/LudumDare38 | |
5973e2ce4e6d595a6f910b55250ed174a97db92d | osu.Game/Screens/Ranking/Statistics/UnstableRate.cs | osu.Game/Screens/Ranking/Statistics/UnstableRate.cs | // 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 System;
using System.Collections.Generic;
using System.Linq;
using osu.Game.Rulesets.Scoring;
namespace osu.Game.Screens.Ranking.Statistics
{
/// <summary>
... | Add component for unstable rate statistic | Add component for unstable rate statistic
| C# | mit | smoogipoo/osu,UselessToucan/osu,smoogipoo/osu,NeoAdonis/osu,smoogipooo/osu,peppy/osu,UselessToucan/osu,NeoAdonis/osu,UselessToucan/osu,smoogipoo/osu,peppy/osu,NeoAdonis/osu,ppy/osu,peppy/osu,peppy/osu-new,ppy/osu,ppy/osu | |
049987925d6293bd5a7367e86c1256febe60a229 | OpenSim/Region/Framework/Scenes/Tests/SceneManagerTests.cs | OpenSim/Region/Framework/Scenes/Tests/SceneManagerTests.cs | /*
* Copyright (c) Contributors, http://opensimulator.org/
* See CONTRIBUTORS.TXT for a full list of copyright holders.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributions of source code must r... | Add regression test for checking scene close when SceneManager is asked to close | Add regression test for checking scene close when SceneManager is asked to close
| C# | bsd-3-clause | RavenB/opensim,M-O-S-E-S/opensim,M-O-S-E-S/opensim,EriHoss/OpenSim_0.8.2.0_Dev_LibLSLCC,bravelittlescientist/opensim-performance,QuillLittlefeather/opensim-1,OpenSimian/opensimulator,QuillLittlefeather/opensim-1,BogusCurry/arribasim-dev,Michelle-Argus/ArribasimExtract,bravelittlescientist/opensim-performance,rryk/omp-s... | |
38881e1c5e95bccde742c8c326ef54d2080629fd | osu.Framework.Tests/IO/DllResourceStoreTest.cs | osu.Framework.Tests/IO/DllResourceStoreTest.cs | // 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 System.Threading.Tasks;
using NUnit.Framework;
using osu.Framework.IO.Stores;
using osu.Framework.Tests.Visual;
namespace osu.Framework.Tests.IO
{
public class... | Add test coverage for failing scenario | Add test coverage for failing scenario
| C# | mit | peppy/osu-framework,peppy/osu-framework,ppy/osu-framework,ppy/osu-framework,ppy/osu-framework,peppy/osu-framework | |
9d6ba51a3c5e39f280efe90ca162afd5b6373a4b | src/ErgastApi.Tests/Client/ErgastClientTests.cs | src/ErgastApi.Tests/Client/ErgastClientTests.cs | using System;
using System.Threading.Tasks;
using ErgastApi.Client;
using ErgastApi.Client.Caching;
using ErgastApi.Requests;
using ErgastApi.Responses;
using FluentAssertions;
using NSubstitute;
using Xunit;
namespace ErgastApi.Tests.Client
{
public class ErgastClientTests
{
private ErgastClient Clie... | Add some tests for ErgastClient | Add some tests for ErgastClient
| C# | unlicense | Krusen/ErgastApi.Net | |
cb7b6521e4b8404c572d449575fd63c88a0f262b | Implementations/CSharp/WHampson.BFT/XmlUtils.cs | Implementations/CSharp/WHampson.BFT/XmlUtils.cs | #region License
/* Copyright (c) 2017 Wes Hampson
*
* 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,... | Add utility class for Xml-related tasks | Add utility class for Xml-related tasks
| C# | mit | whampson/bft-spec,whampson/cascara | |
bd6ef8641f21ada850e4702cd4fab59378432fcc | Bonobo.Git.Server/Security/AuthenticationProvider.cs | Bonobo.Git.Server/Security/AuthenticationProvider.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Claims;
using Bonobo.Git.Server.Models;
using Microsoft.Practices.Unity;
using System.Web;
using Microsoft.Owin.Security.WsFederation;
using Microsoft.Owin.Security.Cookies;
using Owin;
namespace Bonobo.Git.Server.Security
{
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Claims;
using Bonobo.Git.Server.Models;
using Microsoft.Practices.Unity;
using Owin;
namespace Bonobo.Git.Server.Security
{
public abstract class AuthenticationProvider : IAuthenticationProvider
{
[Dependency]
... | Check for valid user before adding claims | Check for valid user before adding claims
| C# | mit | forgetz/Bonobo-Git-Server,NipponSysits/IIS.Git-Connector,kfarnung/Bonobo-Git-Server,PGM-NipponSysits/IIS.Git-Connector,Ollienator/Bonobo-Git-Server,anyeloamt1/Bonobo-Git-Server,braegelno5/Bonobo-Git-Server,forgetz/Bonobo-Git-Server,willdean/Bonobo-Git-Server,lkho/Bonobo-Git-Server,larshg/Bonobo-Git-Server,crowar/Bonobo... |
b91d6d9144960cac76ca0420600c401052fc448c | Assets/Plugins/UniRx/Scripts/UnityEngineBridge/Triggers/ObservableJointTrigger.cs | Assets/Plugins/UniRx/Scripts/UnityEngineBridge/Triggers/ObservableJointTrigger.cs | using System; // require keep for Windows Universal App
using UnityEngine;
namespace UniRx.Triggers
{
[DisallowMultipleComponent]
public class ObservableJointTrigger : ObservableTriggerBase
{
Subject<float> onJointBreak;
void OnJointBreak(float breakForce)
{
if (onJoin... | Add joint trigger (OnJointBreak() + OnJointBreak2D()) | Add joint trigger (OnJointBreak() + OnJointBreak2D())
Issue #154 | C# | mit | neuecc/UniRx,TORISOUP/UniRx | |
2dcfc905d084bddf38405797ad37ee4c9f14b4ad | Flamtap/Flamtap/Extensions/ByteExtensions.cs | Flamtap/Flamtap/Extensions/ByteExtensions.cs | using System;
namespace mcThings.Extensions
{
public static class ByteExtensions
{
public static byte ReadFirstNBits(this byte value, byte n)
{
if (n > 8)
throw new ArgumentException($"{nameof(n)} cannot be greater than 8.", nameof(n));
return (byte) (v... | Add extensions to byte for getting a value from the first or last n bits of said byte. | Add extensions to byte for getting a value from the first or last n bits of said byte.
| C# | mit | Flamtap/Flamtap | |
93714210c2914a3dd419f199a40ab044994e8339 | slang/Compilation/CompilationUnit.cs | slang/Compilation/CompilationUnit.cs | using slang.AST;
namespace slang.Compilation
{
public class CompilationUnit
{
public CompilationUnit (string sourceFilename, ProgramNode root)
{
SourceFile = sourceFilename;
Root = root;
}
public string SourceFile { get; set; }
public ProgramNo... | Add a compilation unit type that represents a parse tree from a specific file. | Add a compilation unit type that represents a parse tree from a specific file.
| C# | mit | jagrem/slang,jagrem/slang,jagrem/slang | |
1a6682df5813100ca04ff4095689787b94238556 | Enigma/EnigmaUtilities/Components/Component.cs | Enigma/EnigmaUtilities/Components/Component.cs | // Component.cs
// <copyright file="Component.cs"> This code is protected under the MIT License. </copyright>
using System.Collections.Generic;
namespace EnigmaUtilities.Components
{
/// <summary>
/// An abstract super class for each component in the enigma machine.
/// </summary>
public abstract clas... | Add a component super class | Add a component super class | C# | mit | wrightg42/enigma-simulator,It423/enigma-simulator | |
c8eee8d204c075174d99af7d629a042cb4ce7ee5 | osu.Game.Rulesets.Mania/Skinning/LegacyHitExplosion.cs | osu.Game.Rulesets.Mania/Skinning/LegacyHitExplosion.cs | // 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.Framework.Bindables;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Sprites;
using osu.Game.Rulesets.UI.Scrolling;
... | Add structure for legacy hit explosions | Add structure for legacy hit explosions
| C# | mit | ppy/osu,peppy/osu-new,NeoAdonis/osu,NeoAdonis/osu,peppy/osu,smoogipooo/osu,UselessToucan/osu,smoogipoo/osu,EVAST9919/osu,smoogipoo/osu,peppy/osu,peppy/osu,NeoAdonis/osu,UselessToucan/osu,ppy/osu,UselessToucan/osu,smoogipoo/osu,EVAST9919/osu,ppy/osu | |
d170b1de4f6290867b7467f2eb501e86c3bb6bc8 | ModCore/Listeners/UnbanTimerRemove.cs | ModCore/Listeners/UnbanTimerRemove.cs | using DSharpPlus.EventArgs;
using ModCore.Entities;
using ModCore.Logic;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ModCore.Listeners
{
public class UnbanTimerRemove
{
[AsyncListener(EventTypes.GuildBanRemoved)]
... | Remove unban timer on actual unban event | Remove unban timer on actual unban event
| C# | mit | NaamloosDT/ModCore,NaamloosDT/ModCore | |
ae116ef44ab73c621fee365b823d15c821a732bc | MediaFileParser/MediaTypes/MediaFile/Junk/JunkStringExtensions.cs | MediaFileParser/MediaTypes/MediaFile/Junk/JunkStringExtensions.cs | namespace MediaFileParser.MediaTypes.MediaFile.Junk
{
/// <summary>
/// Junk String Extensions Class
/// </summary>
public static class JunkStringExtensions
{
/// <summary>
/// Determines whether the beginning of this string instance matches a specified JunkString.
/// </sum... | Move string extensions to own file | Move string extensions to own file
| C# | mit | mrkno/TitleCleaner | |
3a4a96d6e5de8558ce2b16c74b6ac70923006dd7 | test/Unosquare.Swan.Test/ComponentsRetryTest.cs | test/Unosquare.Swan.Test/ComponentsRetryTest.cs | using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Unosquare.Swan.Components;
using Unosquare.Swan.Networking;
namespace Unosquare.Swan.Test
{
[TestFixture]
public class ComponentsRetryTest
{
private static int count = 0;
... | Add Retry Test(not done yet) | Add Retry Test(not done yet)
| C# | mit | unosquare/swan |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.