commit stringlengths 40 40 | subject stringlengths 4 1.73k | repos stringlengths 5 127k | old_file stringlengths 2 751 | new_file stringlengths 2 751 | new_contents stringlengths 1 8.98k | old_contents stringlengths 0 6.59k | license stringclasses 13
values | lang stringclasses 23
values |
|---|---|---|---|---|---|---|---|---|
89429021c999913a057c73d8d3eb263c02ff6bdd | Add test scene for labelled dropdowns | NeoAdonis/osu,NeoAdonis/osu,peppy/osu,ppy/osu,ppy/osu,peppy/osu-new,smoogipoo/osu,peppy/osu,ppy/osu,smoogipoo/osu,smoogipooo/osu,peppy/osu,smoogipoo/osu,NeoAdonis/osu | osu.Game.Tests/Visual/UserInterface/TestSceneLabelledDropdown.cs | osu.Game.Tests/Visual/UserInterface/TestSceneLabelledDropdown.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.Graphics.UserInterfaceV2;
namespace osu.Game.Tests.Visual.UserInterface
{
public class TestSceneLabell... | mit | C# | |
4013cc9244635f9c00b767d0fad97d06c7ba18a6 | Add test scene ensuring input reset works properly and mouse position set initially | smoogipooo/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,ppy/osu-framework,peppy/osu-framework,peppy/osu-framework,ZLima12/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,peppy/osu-framework,ZLima12/osu-framework | osu.Framework.Tests/Visual/Testing/TestSceneManualInputManagerTestScene.cs | osu.Framework.Tests/Visual/Testing/TestSceneManualInputManagerTestScene.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.Input;
using osu.Framework.Testing;
using osuTK;
using osuTK.Input;
namespace osu.Framework.Tests.Visual.Testing
{
public ... | mit | C# | |
7ebd0db59767ff795ee6c62ddfa05f40f2c56fe4 | Test for headers in GAPIC client libraries | jskeet/google-cloud-dotnet,jskeet/google-cloud-dotnet,jskeet/google-cloud-dotnet,googleapis/google-cloud-dotnet,jskeet/google-cloud-dotnet,googleapis/google-cloud-dotnet,jskeet/google-cloud-dotnet,jskeet/gcloud-dotnet,googleapis/google-cloud-dotnet | apis/Google.Cloud.Language.V1/Google.Cloud.Language.V1.Tests/ApiClientHeaderTest.cs | apis/Google.Cloud.Language.V1/Google.Cloud.Language.V1.Tests/ApiClientHeaderTest.cs | // Copyright 2019 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in... | apache-2.0 | C# | |
0a121fb8fc9569cea87cddb30010051f8969e5a0 | Make sure scope isn't null. Fixes code analysis warning from #331. | CedarLogic/FakeItEasy,thomaslevesque/FakeItEasy,blairconrad/FakeItEasy,khellang/FakeItEasy,FakeItEasy/FakeItEasy,adamralph/FakeItEasy,CedarLogic/FakeItEasy,khellang/FakeItEasy,jamiehumphries/FakeItEasy,jamiehumphries/FakeItEasy,robvanschelven/FakeItEasy,robvanschelven/FakeItEasy,adamralph/FakeItEasy,blairconrad/FakeItE... | Source/FakeItEasy.Tests/ArgumentConstraintManagerExtensions/DerivedTypeArgumentTests.cs | Source/FakeItEasy.Tests/ArgumentConstraintManagerExtensions/DerivedTypeArgumentTests.cs | namespace FakeItEasy.Tests.ArgumentConstraintManagerExtensions
{
using System.Collections.Generic;
using NUnit.Framework;
[TestFixture]
internal class DerivedTypeArgumentTests
: ArgumentConstraintTestBase<string>
{
protected override IEnumerable<object> InvalidValues
... | namespace FakeItEasy.Tests.ArgumentConstraintManagerExtensions
{
using System.Collections.Generic;
using NUnit.Framework;
[TestFixture]
internal class DerivedTypeArgumentTests
: ArgumentConstraintTestBase<string>
{
protected override IEnumerable<object> InvalidValues
... | mit | C# |
eef9da460dbd34819236d874f3540a9b01e6806e | Add display template | mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander | Battery-Commander.Web/Views/Shared/DisplayTemplates/SSDStatusModel.cshtml | Battery-Commander.Web/Views/Shared/DisplayTemplates/SSDStatusModel.cshtml | @model Soldier.SSDStatusModel
@if (Model != null)
{
<div>
@switch (model.Rank)
{
case Rank.E1:
case Rank.E2:
case Rank.E3:
case Rank.E4:
<span class="label">SSD 1</span>
return;
case Rank.E5:
... | mit | C# | |
3fd395f5e29b076596abe668469c11649746de94 | Add Adam | kawatan/Milk | Megalopolis/Optimizers/Adam.cs | Megalopolis/Optimizers/Adam.cs | using System;
using System.Collections.Generic;
namespace Megalopolis
{
namespace Optimizers
{
public class Adam : IOptimizer
{
private double alpha = 0.001; // Learning rate
private double beta1 = 0.9; // Decay term
private double beta2 = 0.999; // Decay te... | apache-2.0 | C# | |
926eadcabf52f2dd68ad7560c72c326afc3123ad | Add Test PropertyBag | Encamina/Enmarcha-SharePoint | Enmarcha.SharePoint.Test/Integration/UTIntegrationExtensors.cs | Enmarcha.SharePoint.Test/Integration/UTIntegrationExtensors.cs | using System;
using Enmarcha.SharePoint.Abstract.Interfaces.Artefacts;
using Enmarcha.SharePoint.Class.Logs;
using Enmarcha.SharePoint.Extensors;
using Enmarcha.SharePoint.Test.Base;
using Microsoft.SharePoint;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Enmarcha.SharePoint.Test.Integration
{
[T... | mit | C# | |
4cd0544c65d2a4853de519617694d7e77e535be2 | Create an extension methods to easily append to CollectionBuilders (#11691) | marcemarc/Umbraco-CMS,dawoe/Umbraco-CMS,KevinJump/Umbraco-CMS,arknu/Umbraco-CMS,abryukhov/Umbraco-CMS,robertjf/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,arknu/Umbraco-CMS,abjerner/Umbraco-CMS,dawoe/Umbraco-CMS,abryukhov/Umbraco-CMS,KevinJump/Umbraco-CMS,abryukhov/Umbraco-CMS,umbraco/Umbraco-CMS,abjerner/Umbraco-CMS,Kev... | src/Umbraco.Core/DependencyInjection/UmbracoBuilder.CollectionBuilders.cs | src/Umbraco.Core/DependencyInjection/UmbracoBuilder.CollectionBuilders.cs | using Umbraco.Cms.Core.Composing;
using Umbraco.Cms.Core.Dashboards;
using Umbraco.Cms.Core.Media;
using Umbraco.Cms.Core.Models.ContentEditing;
using Umbraco.Cms.Core.Routing;
using Umbraco.Cms.Core.Sections;
namespace Umbraco.Cms.Core.DependencyInjection
{
/// <summary>
/// Contains extensions methods for <s... | mit | C# | |
d1d98c47bd407701dc02f7bdfee76c31a527d851 | Add model class for fetching Platform ETA info | mrattner/chchbus | ChchBus/Models/PlatformETAs.cs | ChchBus/Models/PlatformETAs.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Net.Http;
using System.Threading.Tasks;
using System.Linq;
using System.Xml.Linq;
namespace ChchBus {
/// <summary>
/// Interfaces with the MetroInfo API to get estimated times of arrival at a bus stop.
/// </summary>
class PlatformETAs... | mit | C# | |
6efe2491de1352bd06b9003a738529e3bdc52717 | Add DuplexConverter. | cube-soft/Cube.Core,cube-soft/Cube.Core | Converters/DuplexConverter.cs | Converters/DuplexConverter.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... | apache-2.0 | C# | |
ae5d3a1ccbc12e3449330796ffa105764bdd0eea | Add example of sealing ToString on a record type. | github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql | csharp/ql/test/library-tests/csharp10/RecordTypeSealedToString.cs | csharp/ql/test/library-tests/csharp10/RecordTypeSealedToString.cs | using System;
public record MyEntry(string Name, string Address)
{
sealed public override string ToString() => $"{Name} lives at {Address}";
}; | mit | C# | |
83394980487bd6c7bbe126e591e762519964e255 | Add C# wrapper. | svn2github/nvidia-texture-tools,casseveritt/nvidia-texture-tools,casseveritt/nvidia-texture-tools,hymerman/nvidia-texture-tools,salamanderrake/nvidia-texture-tools,svn2github/nvidia-texture-tools,svn2github/nvidia-texture-tools,hymerman/nvidia-texture-tools,casseveritt/nvidia-texture-tools,hymerman/nvidia-texture-tools... | src/nvtt/nvtt.cs | src/nvtt/nvtt.cs |
namespace nvtt
{
#region Enums
#region enum Format
enum Format
{
// No compression.
RGB,
RGBA = RGB,
// DX9 formats.
DXT1,
DXT1a,
DXT3,
DXT5,
DXT5n,
// DX10 formats.
BC1 = DXT1,
BC1a = DXT1a,
BC2 = DXT3,
BC3 = DXT5,
BC3n = DXT5n,
BC4,
BC5,
}
#... | mit | C# | |
7d17d41f733c3826abf1ba2faf5b1cfcea018ae6 | Create TestMongoDatabaseProviderBase.cs | tiksn/TIKSN-Framework | TIKSN.Framework.IntegrationTests/Data/Mongo/TestMongoDatabaseProviderBase.cs | TIKSN.Framework.IntegrationTests/Data/Mongo/TestMongoDatabaseProviderBase.cs | using Microsoft.Extensions.Configuration;
using TIKSN.Data.Mongo;
namespace TIKSN.Framework.IntegrationTests.Data.Mongo
{
public class TestMongoDatabaseProviderBase : MongoDatabaseProviderBase
{
public TestMongoDatabaseProviderBase(
IMongoClientProvider mongoClientProvider,
ICo... | mit | C# | |
27e1734fd5d571611efdd0f4a5196a9852ff5c0b | Add test scene | ppy/osu-framework,peppy/osu-framework,ZLima12/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,ZLima12/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,smoogipooo/osu-framework,peppy/osu-framework | osu.Framework.Tests/Visual/Input/TestSceneKeyBindingInputQueueChange.cs | osu.Framework.Tests/Visual/Input/TestSceneKeyBindingInputQueueChange.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 NUnit.Framework;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Shapes;
using... | mit | C# | |
5ccdfe5dc00a176c8773dc8db45792268ad153c4 | Add renderscript for the Preset playerextension. | zachsaw/RenderScripts | RenderScripts/Mpdn.Presets.cs | RenderScripts/Mpdn.Presets.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;
using Mpdn.RenderScript.Config;
using Mpdn.PlayerExtensions.GitHub;
using YAXLib;
namespace Mpdn.RenderScript
{
namespace Mpdn.ScriptChain
{
public abstract class PresetRenderScript : IRenderScriptUi
... | mit | C# | |
e8dafef184c8d293dce96e3855d2b0443b8c1391 | Test replicating the asp webapi failure scenario | AnthonySteele/NuKeeper,NuKeeperDotNet/NuKeeper,AnthonySteele/NuKeeper,skolima/NuKeeper,NuKeeperDotNet/NuKeeper,skolima/NuKeeper,NuKeeperDotNet/NuKeeper,AnthonySteele/NuKeeper,skolima/NuKeeper,skolima/NuKeeper,AnthonySteele/NuKeeper,NuKeeperDotNet/NuKeeper | NuKeeper.Integration.Tests/NuGet/Process/DotNetUpdatePackageCommandTests.cs | NuKeeper.Integration.Tests/NuGet/Process/DotNetUpdatePackageCommandTests.cs | using System.IO;
using System.Threading.Tasks;
using NuGet.Versioning;
using NuKeeper.Configuration;
using NuKeeper.Inspection.RepositoryInspection;
using NuKeeper.NuGet.Process;
using NUnit.Framework;
namespace NuKeeper.Integration.Tests.NuGet.Process
{
[TestFixture]
public class DotNetUpdatePackageCommandTes... | apache-2.0 | C# | |
14885dabe118b4716c1b71750f891868fbe05161 | 解决TaskRecord字典线程冲突bug。 | Laforeta/KanColleCacher,hakuame/KanColleCacher,Gizeta/KanColleCacher | KanColleCacher/RecentRecord.cs | KanColleCacher/RecentRecord.cs | using System;
using System.Collections.Concurrent;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace d_f_32.KanColleCacher
{
static class TaskRecord
{
static ConcurrentDictionary<string, string> record = new ConcurrentDictionary<string, string>();
//KEY: url, Value: filepath
//只有在验... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace d_f_32.KanColleCacher
{
static class TaskRecord
{
static Dictionary<string, string> record = new Dictionary<string, string>();
//KEY: url, Value: filepath
//只有在验证文件修改时间后,向客户端返回本地文件或者将文... | mit | C# |
9f4288cfd441709a74e18b7ca7ccde5281077930 | Bump version | attilah/Streamstone,james-andrewsmith/Streamstone,jkonecki/Streamstone | Source/Streamstone.Version.cs | Source/Streamstone.Version.cs | using System;
using System.Linq;
using System.Reflection;
[assembly: AssemblyVersion("0.4.4.0")]
[assembly: AssemblyFileVersion("0.4.4.0")] | using System;
using System.Linq;
using System.Reflection;
[assembly: AssemblyVersion("0.4.0.0")]
[assembly: AssemblyFileVersion("0.4.0.0")] | apache-2.0 | C# |
7fb811de18a39256457987de528246787913876a | Add ComboBoxItem | alexantr/PrintScreener | PrintScreener/PrintScreener/ComboBoxItem.cs | PrintScreener/PrintScreener/ComboBoxItem.cs | namespace PrintScreener
{
class ComboBoxItem
{
public string Value { get; set; }
public string Text { get; set; }
public ComboBoxItem(string value, string text)
{
Value = value;
Text = text;
}
public override string ToString()
{
... | mit | C# | |
3c03ce87086b5884873b16add043b605eb48a538 | Revert "Revert "Missing DbContextExtensions"" | mehrandvd/Tralus,mehrandvd/Tralus | Framework/Source/Tralus.Framework.BusinessModel/Entities/DbContextExtensions.cs | Framework/Source/Tralus.Framework.BusinessModel/Entities/DbContextExtensions.cs | using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
namespace Tralus.Framework.BusinessModel.Entities
{
public static class DbContextExtensions
{
public static void AddIfNotExists<T>(this DbSet<T> dbSet, T entity) where T : EntityBase
{
if (!dbSet.Any(e =... | apache-2.0 | C# | |
23709d07c3cb8e5c4be36ffe7f480151becc54b3 | Revert Managed SNI usage flag (#27089) | ViktorHofer/corefx,wtgodbe/corefx,ericstj/corefx,wtgodbe/corefx,ericstj/corefx,ViktorHofer/corefx,zhenlan/corefx,ravimeda/corefx,ravimeda/corefx,ptoonen/corefx,ptoonen/corefx,zhenlan/corefx,shimingsg/corefx,shimingsg/corefx,ravimeda/corefx,mmitche/corefx,ptoonen/corefx,ptoonen/corefx,mmitche/corefx,Jiayili1/corefx,Vikt... | src/System.Data.SqlClient/src/System/Data/SqlClient/TdsParserStateObjectFactory.Windows.cs | src/System.Data.SqlClient/src/System/Data/SqlClient/TdsParserStateObjectFactory.Windows.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Data.SqlClient.SNI;
namespace System.Data.SqlClient
{
internal sealed class TdsParserStateObjectF... | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Data.SqlClient.SNI;
namespace System.Data.SqlClient
{
internal sealed class TdsParserStateObjectF... | mit | C# |
59cd272d7c1b4a809d882b6e273073b2d8c4a5c5 | Liste des clés usb branchées | tfoucault/Duplicateur | Duplicateur/FileManager.cs | Duplicateur/FileManager.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using System.IO;
using System.Windows.Forms;
using System.Reflection;
using System.Collections;
namespace Duplicateur
{
public class FileManager
{
private List<DriveInfo> usbList = new List<Drive... | mit | C# | |
40de4524568d35865e8bd6cecfa7cd8dc8f4d3a6 | add statistic test | splitice/IPTables.Net,splitice/IPTables.Net,splitice/IPTables.Net,splitice/IPTables.Net | IPTables.Net.Tests/SingleStatisticParseTests.cs | IPTables.Net.Tests/SingleStatisticParseTests.cs | using System;
using IPTables.Net.Iptables;
using NUnit.Framework;
namespace IPTables.Net.Tests
{
[TestFixture]
internal class SingleStatisticParseTests
{
[Test]
public void Test1()
{
String rule = "-A FORWARD -m statistic --mode nth --every 3 --packet 1";
Ip... | apache-2.0 | C# | |
100bdbccdd20e3055ecbc82590e3c1d75707f083 | Create OddAndEvenNumberCheck.cs | dvt32/cpp-journey,dvt32/cpp-journey,dvt32/cpp-journey,dvt32/cpp-journey,dvt32/cpp-journey,dvt32/cpp-journey,dvt32/cpp-journey,dvt32/cpp-journey,dvt32/cpp-journey,dvt32/cpp-journey,dvt32/cpp-journey,dvt32/cpp-journey | C#/Uni-Ruse/Internet-Programming/Exercise1/OddAndEvenNumberCheck.cs | C#/Uni-Ruse/Internet-Programming/Exercise1/OddAndEvenNumberCheck.cs | /*
2.зад
Напишете програма на C #, която прочита две числа от клавиатурата
и изписва „Да”, ако и двете числа са четни или нечетни
и “Не”, ако едното число е четно, а другото нечетно.
*/
using System;
namespace Exercise1
{
class OddAndEvenNumberCheck
{
static void Main(string[] args)
{
... | mit | C# | |
fb36233742e012dad79cc46145e93fee65862056 | Add test class 'PropertyValuesInfoCarrierTest' with 19 failing tests | azabluda/InfoCarrier.Core | test/InfoCarrier.Core.EFCore.FunctionalTests/PropertyValuesInfoCarrierTest.cs | test/InfoCarrier.Core.EFCore.FunctionalTests/PropertyValuesInfoCarrierTest.cs | namespace InfoCarrier.Core.EFCore.FunctionalTests
{
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Specification.Tests;
public class PropertyValuesInfoCarrierTest
: PropertyValuesTestBase<TestStore, PropertyValuesInfoCarrierTest.PropertyValuesInfoCarrierFixture>
{
... | mit | C# | |
d3095e26493c15ce146e36fe38443722e86ac832 | Add DAExampleModule to demonstrate dynamic attributes | ft-/opensim-optimizations-wip-tests,M-O-S-E-S/opensim,justinccdev/opensim,QuillLittlefeather/opensim-1,OpenSimian/opensimulator,BogusCurry/arribasim-dev,rryk/omp-server,EriHoss/OpenSim_0.8.2.0_Dev_LibLSLCC,ft-/opensim-optimizations-wip-extras,ft-/opensim-optimizations-wip-extras,justinccdev/opensim,rryk/omp-server,just... | OpenSim/Region/CoreModules/Framework/DynamicAttributes/DAExampleModule.cs | OpenSim/Region/CoreModules/Framework/DynamicAttributes/DAExampleModule.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... | bsd-3-clause | C# | |
13cd22e397f336eeb86b1be076f4cf6aabbafc85 | Test scene for BeatmapNotAvailable | NeoAdonis/osu,EVAST9919/osu,smoogipoo/osu,ppy/osu,2yangk23/osu,ZLima12/osu,johnneijzen/osu,smoogipoo/osu,NeoAdonis/osu,johnneijzen/osu,ZLima12/osu,peppy/osu-new,UselessToucan/osu,peppy/osu,ppy/osu,peppy/osu,NeoAdonis/osu,EVAST9919/osu,2yangk23/osu,UselessToucan/osu,ppy/osu,UselessToucan/osu,smoogipoo/osu,smoogipooo/osu... | osu.Game.Tests/Visual/Online/TestSceneBeatmapNotAvailable.cs | osu.Game.Tests/Visual/Online/TestSceneBeatmapNotAvailable.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.Overlays.BeatmapSet;
namespace osu.Game.Tests.Visual.Online
{
[TestFixture]
public class TestScen... | mit | C# | |
f72165b5f4e390d8b317f6e810f26ceb85179925 | Update BacktestReport.cs | StefanoRaggi/Lean,QuantConnect/Lean,Jay-Jay-D/LeanSTP,kaffeebrauer/Lean,jameschch/Lean,AnshulYADAV007/Lean,JKarathiya/Lean,QuantConnect/Lean,jameschch/Lean,kaffeebrauer/Lean,AnshulYADAV007/Lean,JKarathiya/Lean,AnshulYADAV007/Lean,AnshulYADAV007/Lean,jameschch/Lean,StefanoRaggi/Lean,AnshulYADAV007/Lean,Jay-Jay-D/LeanSTP... | Common/API/BacktestReport.cs | Common/API/BacktestReport.cs | /*
* QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals.
* Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect Corporation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of... | /*
* QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals.
* Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect Corporation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of... | apache-2.0 | C# |
d6ad7fc616bed74bd974ce802918bd0fee0509ed | Create INS.cs | etormadiv/njRAT_0.7d_Stub_ReverseEngineering | j_csharp/OK/INS.cs | j_csharp/OK/INS.cs | //Reversed by Etor Madiv
public static void INS()
{
byte[] dataBytes;
System.IO.FileStream serverStream;
string[] firewallCommand;
System.Threading.Thread.Sleep(0x3e8);
if( Idr )
{
if( ! CompDir(
LO,
new System.IO.FileInfo(
System.String.Concat(
Microsoft.Visual... | unlicense | C# | |
96778ed76c0d27a723c3ab3a09dd2e2614ab9924 | add classifier_libsvm_minimal_modular.cs | lisitsyn/shogun,Saurabh7/shogun,geektoni/shogun,lambday/shogun,lisitsyn/shogun,sorig/shogun,geektoni/shogun,besser82/shogun,lambday/shogun,karlnapf/shogun,besser82/shogun,shogun-toolbox/shogun,lambday/shogun,karlnapf/shogun,geektoni/shogun,besser82/shogun,lisitsyn/shogun,geektoni/shogun,karlnapf/shogun,Saurabh7/shogun,... | examples/undocumented/csharp_modular/classifier_libsvm_minimal_modular.cs | examples/undocumented/csharp_modular/classifier_libsvm_minimal_modular.cs | using System;
public class classifier_libsvm_minimal_modular {
public static void Main() {
modshogun.init_shogun_with_defaults();
int num = 1000;
double dist = 1.0;
double width = 2.1;
double C = 1.0;
Random RandomNumber = new Random();
double[,] traindata_real = new double[2, num * 2];
for (int i... | bsd-3-clause | C# | |
8a7d954f6cc75fdaa593b5dba12841a7413d3768 | add mailkit options builder | myloveCc/NETCore.MailKit,myloveCc/NETCore.MailKit,myloveCc/NETCore.MailKit | src/NETCore.MailKit/Infrastructure/IMailKitOptionsBuilder.cs | src/NETCore.MailKit/Infrastructure/IMailKitOptionsBuilder.cs | using System;
using System.Collections.Generic;
using System.Text;
namespace NETCore.MailKit.Infrastructure
{
public interface IMailKitOptionsBuilder
{
}
}
| mit | C# | |
1aef8693e3c42837ca3003e2aeffe453b84ff139 | Add a convert extension for MessageProperty - convert message property to extra message property. | CosmosProgramme/Cosmos.Core | src/Cosmos.Logging/ExtraSupports/ExtraMessageProperty.Extensions.cs | src/Cosmos.Logging/ExtraSupports/ExtraMessageProperty.Extensions.cs | using Cosmos.Logging.Events;
namespace Cosmos.Logging.ExtraSupports
{
public static class ExtraMessagePropertyExtensions
{
public static ExtraMessageProperty AsExtra(this MessageProperty property) => new ExtraMessageProperty(property);
}
} | mit | C# | |
336786941507078fec12212e54b347a2bff92943 | add FindTheMedian.cs | regeldso/hrank | Algorithms/Sorting/FindTheMedian.cs | Algorithms/Sorting/FindTheMedian.cs | // using counting sort
using System;
class Solution
{
static void Main(String[] args)
{
int n = Convert.ToInt32(Console.ReadLine());
int[] ar_val = new int[n];
int[] ar_n = new int[n];
int current_value = 0;
string[] split_elements = Console.ReadLine().Split(' ');
... | mit | C# | |
9be73857b14b375b807e1629319b4830f6f30d40 | add OutSideSession decorator | ifilipenko/Building-Blocks,ifilipenko/Building-Blocks,ifilipenko/Building-Blocks | src/BuildingBlocks.Membership.RavenDB/OutsideSessionDecorator.cs | src/BuildingBlocks.Membership.RavenDB/OutsideSessionDecorator.cs | using System;
using System.Collections.Generic;
using System.Linq;
using BuildingBlocks.Store;
using Common.Logging;
namespace BuildingBlocks.Membership.RavenDB
{
class OutsideSessionDecorator : IStorageSession
{
private ILog _log = LogManager.GetLogger<OutsideSessionDecorator>();
private reado... | apache-2.0 | C# | |
302abfc2345ee60032fc8d326d8ceb6110d040a9 | Add missing file | Cybermaxs/Redists | test/Redists.Test/DataPointTests.cs | test/Redists.Test/DataPointTests.cs | using System;
using System.Collections.Generic;
using Xunit;
namespace Redists.Test
{
public class DataPointTests
{
[Fact]
public void Ctor_ByDate_ShouldBeSame()
{
var dp1 = new DataPoint(1437724399000, 456);
var dp2 = new DataPoint(new DateTime(2015, 7, 24, 7, ... | mit | C# | |
5007ac0d0d74d71e363bdfb3096372e0f18bdef1 | Create ParticleFlow3D.cs | scmcom/unitycode | ParticleFlow3D.cs | ParticleFlow3D.cs | using UnityEngine;
[RequireComponent(typeof(ParticleSystem))]
public class ParticleFlow3D : MonoBehaviour
{
public Vector3 offset;
public Vector3 rotation;
[Range(0f,1f)]
public float strength = 1f;
public bool damping;
public float frequency = 1f;
[Range(1,8)]
public int octaves = 1;
[Range(1f,4f)]
pu... | mit | C# | |
11ca6f1f15530b1bc9cd4705a9745f5200256661 | add Cluster | fs7744/etcdcsharp | etcd.v3/ClusterExtensions.cs | etcd.v3/ClusterExtensions.cs | using Etcdserverpb;
using Grpc.Core;
namespace ETCD.V3
{
public static class ClusterExtensions
{
#region MemberAdd
public static MemberAddRequest CreateMemberAddRequest(this Client client, params string[] peerURLs)
{
var request = new MemberAddRequest();
reques... | mit | C# | |
5a20182f5dda80607fdd73e444e3c58cc925bcf9 | Add TextArea | praeclarum/Ooui,praeclarum/Ooui,praeclarum/Ooui | Ooui/TextArea.cs | Ooui/TextArea.cs | using System;
namespace Ooui
{
public class TextArea : Element
{
public event EventHandler Changed {
add => AddEventListener ("change", value);
remove => RemoveEventListener ("change", value);
}
string text = "";
public override string Text {
... | mit | C# | |
48824899bf63f0babe84ad0434bf3692d3ab4f6f | Create XmlDocumentationProvider.cs | MingLu8/Nancy.WebApi.HelpPages | src/Nancy.WebApi.HelpPages.Demo/HelpPage/XmlDocumentationProvider.cs | src/Nancy.WebApi.HelpPages.Demo/HelpPage/XmlDocumentationProvider.cs | using System;
using System.Globalization;
using System.Linq;
using System.Reflection;
using System.Xml.XPath;
using WebApplication1.Areas.HelpPage.ModelDescriptions;
namespace WebApplication1.Areas.HelpPage
{
/// <summary>
/// A custom <see cref="IDocumentationProvider"/> that reads the API documentation from ... | mit | C# | |
50241c9a4293cdee55be1683ab18ce6eafe90df6 | Test for FixedSizeBucket Serialization | theraot/Theraot | Tests/TheraotTests/CollectionsTests/ThreadSafeTests/FixedSizeBucketTests.cs | Tests/TheraotTests/CollectionsTests/ThreadSafeTests/FixedSizeBucketTests.cs | #if TARGETS_NET || GREATERTHAN_NETCOREAPP11 || GREATERTHAN_NETSTANDARD16
using System;
using System.Collections.Generic;
using System.IO;
using System.Runtime.Serialization;
using System.Runtime.Serialization.Formatters.Binary;
using NUnit.Framework;
using Theraot.Collections.ThreadSafe;
namespace Tests.TheraotTests... | mit | C# | |
807ea7c0e6c1c9c242da1929414dcdf46a311738 | Create Mover.cs | scmcom/unitycode | Mover.cs | Mover.cs | //Mover.cs
using UnityEngine;
using System.Collections;
public class Mover : MonoBehaviour
{
//desired speed in units/sec -> ie 5 u/s
public float Speed = 5.0f;
private Transform ThisTransform = null;
void Update()
{
ThisTransform.position += new Vector3(Speed * Time.deltaTime, 0, 0);
}
}
| mit | C# | |
f8dbbff6247cfd535541660b4561f69fde260287 | Add create instance practice. | AxeDotNet/AxePractice.CSharpViaTest | src/CSharpViaTest.OtherBCLs/HandleReflections/CreateInstanceReflectively.cs | src/CSharpViaTest.OtherBCLs/HandleReflections/CreateInstanceReflectively.cs | using System;
using System.Diagnostics.CodeAnalysis;
using Xunit;
namespace CSharpViaTest.OtherBCLs.HandleReflections
{
/*
* Description
* ===========
*
* This test will try create instance using reflection.
*
* Difficulty: Super Easy
*
* Knowledge Point
* ===============
... | mit | C# | |
dc6078d1d5b00fb201037725caeafa00f216f851 | Create ZeusStepPerformer.cs | sharadagrawal/Roslyn,sharadagrawal/Roslyn,sharadagrawal/Roslyn | src/Foo/ZeusStepPerformer.cs | src/Foo/ZeusStepPerformer.cs | using Microsoft.TeamFoundation.Framework.Server;
namespace Microsoft.VisualStudio.Services.Zeus.Extensions
{
[StepPerformer("Zeus")]
public partial class ZeusStepPerformer : TeamFoundationStepPerformerBase
{
[ServicingStep]
public void ConfigureServiceTokens(ServicingContext servicingContex... | apache-2.0 | C# | |
1e5925b0affee8b0cb72e2736538a6eaf5c904fb | Remove text between CommentRangeStart and CommentRangeEnd | aspose-words/Aspose.Words-for-.NET,aspose-words/Aspose.Words-for-.NET,aspose-words/Aspose.Words-for-.NET,aspose-words/Aspose.Words-for-.NET,asposewords/Aspose_Words_NET,asposewords/Aspose_Words_NET,asposewords/Aspose_Words_NET,asposewords/Aspose_Words_NET | Examples/CSharp/Programming-Documents/Comments/RemoveRegionText.cs | Examples/CSharp/Programming-Documents/Comments/RemoveRegionText.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Aspose.Words.Examples.CSharp.Programming_Documents.Comments
{
class RemoveRegionText
{
public static void Run()
{
// ExStart:RemoveRegionText
// The path to the documents dir... | mit | C# | |
e14d3fc21abde9d372ab34119366da3303fe6bf3 | Add Coinstamp as price provider | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi/WebClients/Coinstamp/CoinstampExchangeRateProvider.cs | WalletWasabi/WebClients/Coinstamp/CoinstampExchangeRateProvider.cs | using System;
using System.Collections.Generic;
using System.Net.Http;
using System.Threading.Tasks;
using Newtonsoft.Json;
using WalletWasabi.Backend.Models;
using WalletWasabi.Interfaces;
namespace WalletWasabi.WebClients.BlockchainInfo
{
public class CoinstampExchangeRateProvider : IExchangeRateProvider
{
publ... | mit | C# | |
81070b474269cff0ccf2b1c47c44a85c100de4ea | Return exceptions in faulted tasks. | dVakulen/orleans,xclayl/orleans,sebastianburckhardt/orleans,ashkan-saeedi-mazdeh/orleans,jokin/orleans,sebastianburckhardt/orleans,shlomiw/orleans,ElanHasson/orleans,sergeybykov/orleans,pherbel/orleans,bstauff/orleans,dotnet/orleans,tsibelman/orleans,tsibelman/orleans,Carlm-MS/orleans,ashkan-saeedi-mazdeh/orleans,yevhe... | test/Tester/TestStreamProviders/FailureInjectionStreamProvider.cs | test/Tester/TestStreamProviders/FailureInjectionStreamProvider.cs | using System;
using System.Threading.Tasks;
using Orleans;
using Orleans.Async;
using Orleans.Streams;
using Orleans.Providers;
namespace Tester.TestStreamProviders
{
/// <summary>
/// This is a test stream provider that throws exceptions when config file contains certain properties.
/// </summary>
pub... | using System;
using System.Threading.Tasks;
using Orleans;
using Orleans.Streams;
using Orleans.Providers;
namespace Tester.TestStreamProviders
{
/// <summary>
/// This is a test stream provider that throws exceptions when config file contains certain properties.
/// </summary>
public enum FailureInjec... | mit | C# |
cc66016d2e34403a141296d095e98f3d9c77a532 | Add DirectoryWatcherWithLoggingTest | brian-dot-net/writeasync,brian-dot-net/writeasync,brian-dot-net/writeasync | projects/DirectoryWatcherSample/DirectoryWatcherSample.Test/DirectoryWatcherWithLoggingTest.cs | projects/DirectoryWatcherSample/DirectoryWatcherSample.Test/DirectoryWatcherWithLoggingTest.cs | // <copyright file="DirectoryWatcherWithLoggingTest.cs" company="Brian Rogers">
// Copyright (c) Brian Rogers. All rights reserved.
// </copyright>
namespace DirectoryWatcherSample.Test
{
using System;
using System.Collections.Generic;
using System.IO;
using FluentAssertions;
using Microsoft.Extens... | unlicense | C# | |
ab179e755a631ba07b99f6d4e28906b2296a9215 | Implement the PermissionBasedValidatorBuilder class | openchain/openchain | src/Openchain.Ledger/Validation/PermissionBasedValidatorBuilder.cs | src/Openchain.Ledger/Validation/PermissionBasedValidatorBuilder.cs | // Copyright 2015 Coinprism, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agree... | apache-2.0 | C# | |
3eaa66ba470af8fe7f05b1b3cb7a5506cb2d7d96 | Add helper class to generate all names | snipervld/StormXamarin,snipervld/StormXamarin,Julien-Mialon/StormXamarin,snipervld/StormXamarin,Julien-Mialon/StormXamarin,Julien-Mialon/StormXamarin | 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++);
}
... | mit | C# | |
c5e7a9d1f54dd0b858d4ccb9cb2634822aa26ce8 | add attribute to disable the routing convention | Research-Institute/json-api-dotnet-core,Research-Institute/json-api-dotnet-core,json-api-dotnet/JsonApiDotNetCore | src/JsonApiDotNetCore/Controllers/DisableRoutingConventionAttribute.cs | src/JsonApiDotNetCore/Controllers/DisableRoutingConventionAttribute.cs | using System;
namespace JsonApiDotNetCore.Controllers
{
public class DisableRoutingConventionAttribute : Attribute
{ }
} | mit | C# | |
51193b7932f556e7036d16be630b76e9aa19f776 | Create AssemblyInfo.cs | KevinWiener/Seatown.Data | Seatown.Data/Properties/AssemblyInfo.cs | Seatown.Data/Properties/AssemblyInfo.cs | 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("Seat... | mit | C# | |
1465f794ef4a36f328da4fc7f0f741b77f584f1e | Add PcscProvider | Archie-Yang/PcscDotNet | src/PcscDotNet/PcscProvider.cs | src/PcscDotNet/PcscProvider.cs | namespace PcscDotNet
{
/// <summary>
/// Usage shared for IPcscProvider
/// </summary>
public static class PcscProvider
{
}
} | mit | C# | |
1e84ea764d62e28322c1bdab7fc4ef4d6945edb2 | Create Simone.cs | SurgicalSteel/Competitive-Programming,SurgicalSteel/Competitive-Programming,SurgicalSteel/Competitive-Programming,SurgicalSteel/Competitive-Programming,SurgicalSteel/Competitive-Programming | Kattis-Solutions/Simone.cs | Kattis-Solutions/Simone.cs | using System;
using System.Collections.Generic;
using System.Linq;
namespace Simone
{
class Program
{
static void Main(string[] args)
{
string[] sarr;
int nc, szocc;
sarr = Console.ReadLine().Split(' ');
szocc = int.Parse(sarr[0]);
nc =... | mit | C# | |
ef08046a294eb88929732d9f5ff5b45a49def521 | add cheatsheets/megacli.cs | lesovsky/uber-scripts,lesovsky/uber-scripts,lesovsky/uber-scripts | cheatsheets/megacli.cs | cheatsheets/megacli.cs | MegaCli is a RAID utility For LSI MegaRAID Controllers
megacli adpallinfo aall # get information about all adapters
megacli adpbbucmd aall # get BBU information
megacli ldinfo lall aall # get LogicalDrives information from all adapters
magacli pdlist aall # get PhysicalDrives inform... | mit | C# | |
d7cd56f0d29e8020c98750562d9f707739f1f295 | Create Statistics.cs | SurgicalSteel/Competitive-Programming,SurgicalSteel/Competitive-Programming,SurgicalSteel/Competitive-Programming,SurgicalSteel/Competitive-Programming,SurgicalSteel/Competitive-Programming | Kattis-Solutions/Statistics.cs | Kattis-Solutions/Statistics.cs | using System;
using System.Linq;
using System.Collections.Generic;
namespace Statistics_Kattis
{
class MainClass
{
static List<int> solve(string x){
List<int> lr = new List<int>();
List<int> tmp = new List<int>();
List<string> arrs = x.Split().ToList();
f... | mit | C# | |
fc06f67dd713600e909908adb40487e994e3603a | Add ToStringInvariant method for IFormattable | meziantou/Meziantou.Framework,meziantou/Meziantou.Framework,meziantou/Meziantou.Framework,meziantou/Meziantou.Framework | 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... | mit | C# | |
7981b70cf017774abf58e5aed9ce514c6a4bd166 | Add basic test scene for testing platform actions | ppy/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,peppy/osu-framework,ppy/osu-framework | 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... | mit | C# | |
32e69835b1b844120856a6cc075c2d4b475e6752 | Add new codes | alvachien/achihapi | test/hihapi.test/unittests/FinanceAccountCategoriesControllerTest.cs | test/hihapi.test/unittests/FinanceAccountCategoriesControllerTest.cs | using System;
using Xunit;
using System.Linq;
using Microsoft.Data.Sqlite;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Sqlite;
using hihapi.Models;
using hihapi.Controllers;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNet.OData.Results;
namespace hihapi... | mit | C# | |
9a3ee437ebe580d345d1474ef87cf7b9331a9ac1 | Add Contact condition test. | SaxxonPike/roton,SaxxonPike/roton | Roton.Test/Roton/Emulation/Conditions/ContactConditionTestFixture.cs | Roton.Test/Roton/Emulation/Conditions/ContactConditionTestFixture.cs | using FluentAssertions;
using NUnit.Framework;
using Roton.Emulation.Conditions.Impl;
using Roton.Emulation.Core;
using Roton.Emulation.Data;
using Roton.Emulation.Data.Impl;
using Roton.Test.Infrastructure;
namespace Roton.Test.Roton.Emulation.Conditions
{
public class ContactConditionTestFixture : UnitTestFixtur... | isc | C# | |
c498aa6c2d09d0a567a1d83c1fe711546ee450a3 | Add file missed in bug fix 440109 | 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... | 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,... | mit | C# | |
68658f8ee512ee0395b3a63a4c7a6d2705989013 | Set matrix 0 C# | Gerula/interviews,Gerula/interviews,Gerula/interviews,Gerula/interviews,Gerula/interviews | LeetCode/set_matrix_zeroes.cs | LeetCode/set_matrix_zeroes.cs | using System;
class Program {
static void Print(int[,] a, int n) {
for (int i = 0; i < n; i++) {
for (int j = 0; j < n; j++) {
Console.Write("{0} ", a[i,j]);
}
Console.WriteLine();
}
Console.WriteLine();
}
static void Main() {
... | mit | C# | |
802f817f2aec5c6e1ae3fa7d7b33787b01ce05f4 | Create SinglyLinkedListNode.cs | vishipayyallore/CSharp-DotNet-Core-Samples | LearningDesignPatterns/Source/Alogithms/LogicPrograms/Common/SinglyLinkedListNode.cs | LearningDesignPatterns/Source/Alogithms/LogicPrograms/Common/SinglyLinkedListNode.cs | namespace LogicPrograms.Common
{
public class SinglyLinkedListNode
{
public int Data;
public SinglyLinkedListNode Next;
public SinglyLinkedListNode(int nodeData)
{
Data = nodeData;
Next = null;
}
}
}
| apache-2.0 | C# | |
6a2ce4748f043d8c0dc9e4d30d415cffbef1958f | Add an empty console application to measure startup of the runtime. (#19490) | wtgodbe/coreclr,mmitche/coreclr,cshung/coreclr,mmitche/coreclr,poizan42/coreclr,krk/coreclr,poizan42/coreclr,mmitche/coreclr,wtgodbe/coreclr,mmitche/coreclr,cshung/coreclr,wtgodbe/coreclr,krk/coreclr,poizan42/coreclr,cshung/coreclr,cshung/coreclr,poizan42/coreclr,poizan42/coreclr,cshung/coreclr,mmitche/coreclr,krk/core... | tests/src/performance/Scenario/JitBench/Benchmarks/EmptyConsoleProgramExecution.cs | tests/src/performance/Scenario/JitBench/Benchmarks/EmptyConsoleProgramExecution.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;
namespace JitBench
{
sealed class EmptyConsoleProgramExecution : Benchmark
{
private const string ExecutableName = "console.dll";
public Empt... | mit | C# | |
82103d317ceb7500cab8668d742e101ee0af398c | add blackboard query test | meniku/NPBehave | Editor/Tests/Decorator/BlackboardQueryTest.cs | Editor/Tests/Decorator/BlackboardQueryTest.cs | using NUnit.Framework;
namespace NPBehave
{
public class BlackboardQueryTest : Test
{
[Test]
public void ShouldNotThrowErrors_WhenObservingKeysThatDontExist()
{
TestRoot behaviorTree = null;
MockNode child = new MockNode();
BlackboardQuery sut = new ... | mit | C# | |
719cef9f72385b042408bf0a5c094d9cfaa56a76 | Add unit tests for MockReliableStateManager | loekd/ServiceFabric.Mocks | test/ServiceFabric.Mocks.Tests/MocksTests/MockReliableStateManagerTests.cs | test/ServiceFabric.Mocks.Tests/MocksTests/MockReliableStateManagerTests.cs | using Microsoft.ServiceFabric.Data.Collections;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Threading.Tasks;
namespace ServiceFabric.Mocks.Tests.MocksTests
{
[TestClass]
public class MockReliableStateManagerTests
{
[TestMethod]
public async Task GetOrAddAsync_Dictionar... | mit | C# | |
334ffd7b7bf5b25a4a250cca8c31015857f829ad | fix for N MergeRequest's Pipeline | maikebing/NGitLab,Xarlot/NGitLab | NGitLab/NGitLab/Models/MergeRequestPipeline.cs | NGitLab/NGitLab/Models/MergeRequestPipeline.cs | using System.Runtime.Serialization;
namespace NGitLab.Models
{
public class MergeRequestPipeline
{
/// <summary>
///
/// </summary>
public int id { get; set; }
/// <summary>
///
/// </summary>
public string sha { get; set; }
[DataMember... | mit | C# | |
2ac2f22ec4d569081aa07c521d8fb890a24d3af1 | Add Security Claim Mapper tests | NickPolyder/FreeParkingSystem | Tests/FreeParkingSystem.Accounts.Tests/Mappers/SecurityClaimsMapperTests.cs | Tests/FreeParkingSystem.Accounts.Tests/Mappers/SecurityClaimsMapperTests.cs | using AutoFixture;
using FreeParkingSystem.Accounts.Contract;
using FreeParkingSystem.Accounts.Mappers;
using FreeParkingSystem.Common;
using FreeParkingSystem.Common.ExtensionMethods;
using FreeParkingSystem.Testing;
using Shouldly;
using Xunit;
using SecurityClaim = System.Security.Claims.Claim;
using SecurityClaimT... | mit | C# | |
6260f217b432c18b12de4fdf877f9fd91b8584c8 | Add Q224 | txchen/localleet | csharp/Q224_BasicCalculator.cs | csharp/Q224_BasicCalculator.cs | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Xunit;
// Implement a basic calculator to evaluate a simple expression string.
//
// The expression string may contain open ( and closing parentheses ), the plus + or minus sign -, non-negative integer... | mit | C# | |
5c8c8ccd1cbd7449b7fdbd6099f4e98dbae42ea3 | Add support for IResourceOwnerPasswordValidator | fredrikstrandin/IdentityServer4.MongoDB | src/Core.MongoDB/Services/MongoDB/MongoDBResourceOwnerPasswordValidator.cs | src/Core.MongoDB/Services/MongoDB/MongoDBResourceOwnerPasswordValidator.cs | using IdentityServer4.Core.Validation;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.Extensions.Logging;
using MongoDB.Driver;
using Microsoft.Extensions.DependencyInjection;
using IdentityServer4.Core.MongoDB.Models;
namespace IdentityServer4.Core.Services.MongoDB... | apache-2.0 | C# | |
85b3eff7d55bfc6f062819a1f648860ad8afd3c6 | Create BaseApiController | DimitarDKirov/Forum-Paulo-Coelho,DimitarDKirov/Forum-Paulo-Coelho,DimitarDKirov/Forum-Paulo-Coelho | Forum-Paulo-Coelho/ForumSystem.Api/Controllers/BaseApiController.cs | Forum-Paulo-Coelho/ForumSystem.Api/Controllers/BaseApiController.cs | namespace ForumSystem.Api.Controllers
{
using ForumSystem.Data;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
public class BaseApiController : ApiController
{
protected IForumDb... | mit | C# | |
c3f522b2ab9a9b8c82c256638eef299d7c3ad6d7 | Fix failing integration test: Page 2 may not be out of range But page 100 definitely is. | danhaller/SevenDigital.Api.Wrapper,gregsochanik/SevenDigital.Api.Wrapper,bettiolo/SevenDigital.Api.Wrapper,AnthonySteele/SevenDigital.Api.Wrapper,luiseduardohdbackup/SevenDigital.Api.Wrapper,danbadge/SevenDigital.Api.Wrapper,actionshrimp/SevenDigital.Api.Wrapper,mattgray/SevenDigital.Api.Wrapper,emashliles/SevenDigital... | src/SevenDigital.Api.Wrapper.Integration.Tests/EndpointTests/ArtistEndpoint/ArtistTopTracksTests.cs | src/SevenDigital.Api.Wrapper.Integration.Tests/EndpointTests/ArtistEndpoint/ArtistTopTracksTests.cs | using NUnit.Framework;
using SevenDigital.Api.Schema;
using SevenDigital.Api.Wrapper.Exceptions;
using SevenDigital.Api.Schema.ArtistEndpoint;
namespace SevenDigital.Api.Wrapper.Integration.Tests.EndpointTests.ArtistEndpoint
{
[TestFixture]
[Category("Integration")]
public class ArtistTopTracksTests
{
... | using NUnit.Framework;
using SevenDigital.Api.Schema;
using SevenDigital.Api.Wrapper.Exceptions;
using SevenDigital.Api.Schema.ArtistEndpoint;
namespace SevenDigital.Api.Wrapper.Integration.Tests.EndpointTests.ArtistEndpoint
{
[TestFixture]
[Category("Integration")]
public class ArtistTopTracksTests
{
... | mit | C# |
f6d12bd9937160f25cc14b11904d7c9c7b3ca059 | copy clihelper from JWLibrary.Core to JWLibrary.ffmpeg | GuyFawkesFromKorea/JWLibrary | JWLibrary.FFmpeg/CLIHelper.cs | JWLibrary.FFmpeg/CLIHelper.cs | using System;
using System.Diagnostics;
using System.Text;
using System.Threading;
namespace JWLibrary.FFmpeg
{
class CLIHelper : IDisposable
{
#region define events
public event EventHandler<DataReceivedEventArgs> CommandDataReceived;
public virtual void OnCommandDataReceived(object s... | unlicense | C# | |
266c0f771b2dd2837552fa3279130f3960c84830 | Add site example | falahati/LiteDB,mbdavid/LiteDB,falahati/LiteDB,89sos98/LiteDB,89sos98/LiteDB | LiteDB.Tests/Engine/Site_Examples_Tests.cs | LiteDB.Tests/Engine/Site_Examples_Tests.cs | using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using System.Collections;
using System.Collections.Generic;
using System.Text;
namespace LiteDB.Tests.Engine
{
#region Model
public class Customer
{
public int Id { ... | mit | C# | |
9da9d6557eeccc93995c61d9f383e7ad6d31f691 | Add RepositoryGet | generik0/Smooth.IoC.Dapper.Repository.UnitOfWork,generik0/Smooth.IoC.Dapper.Repository.UnitOfWork | Smoother.IoC.Dapper.FastCRUD.Repository.UnitOfWork/Repo/RepositoryGet.cs | Smoother.IoC.Dapper.FastCRUD.Repository.UnitOfWork/Repo/RepositoryGet.cs | using System.Data;
using System.Threading.Tasks;
using Dapper.FastCrud;
using Smoother.IoC.Dapper.FastCRUD.Repository.UnitOfWork.Connection;
using Smoother.IoC.Dapper.FastCRUD.Repository.UnitOfWork.Helpers;
using Smoother.IoC.Dapper.FastCRUD.Repository.UnitOfWork.UoW;
namespace Smoother.IoC.Dapper.FastCRUD.Repository... | mit | C# | |
216aea9df69286e8ae0e256f2f4cba3e809c414e | add class that will be solve squares method equation | pashchuk/Numerical-methods,pashchuk/Numerical-methods | CSharp/lab1/SquaresMethod.cs | CSharp/lab1/SquaresMethod.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace lab1
{
public class SquaresMethod
{
#region Fields
private Matrix<double> _matrix;
#endregion
#region Properties
#endregion
#region Costructors
public SquaresMethod(Ma... | mit | C# | |
ebb102a476257d25c77c55b52ea45fd9f601ce82 | Create Simple-Calculator.cs | DeanCabral/Code-Snippets | Console/Simple-Calculator.cs | Console/Simple-Calculator.cs | class Calculator
{
static void Main(string[] args)
{
GetUserInput();
}
static void GetUserInput()
{
string input = "";
Console.Write("Enter calculation: ");
input = Console.ReadLine();
Console.WriteLine("{0} = {1}... | mit | C# | |
286591a43ec9d62e8ea8f974dac4b7fcd2d29cf3 | Create ImageVector.cs | dabbertorres/Experiments,dabbertorres/Experiments | ImageVector.cs | ImageVector.cs | using System;
using System.Linq;
using System.Text;
public class ImageVector
{
private const int byteShift = byte.MaxValue / 2 + 1;
private double[] dimensions;
public int Dimensions
{
get { return dimensions.Length; }
}
public ImageVector(IntPtr start, int dataLength, int channels)
{
dimensions = Enum... | mit | C# | |
4edf0a85cfff5b8c60f1cdd6f0b3bc6cc732c454 | add a new code analyzer to avoid using async void #2766 (#3032) | bit-foundation/bit-framework,bit-foundation/bit-framework,bit-foundation/bit-framework,bit-foundation/bit-framework | src/CodeAnalyzers/Bit.CodeAnalyzers/SystemAnalyzers/AsyncVoidMethodAnalyzer.cs | src/CodeAnalyzers/Bit.CodeAnalyzers/SystemAnalyzers/AsyncVoidMethodAnalyzer.cs | using Microsoft.CodeAnalysis.Diagnostics;
using Microsoft.CodeAnalysis;
using System.Collections.Immutable;
using Microsoft.CodeAnalysis.CSharp;
using System;
using Microsoft.CodeAnalysis.CSharp.Syntax;
namespace Bit.CodeAnalyzers.SystemAnalyzers;
[DiagnosticAnalyzer(LanguageNames.CSharp)]
public class AsyncVoidMeth... | mit | C# | |
f9bb3cdab435a8916cf2e1af6609b9b5865d60f7 | fix build | gasparnagy/BoDi | MiniDi.Tests/SubContainerTests.cs | MiniDi.Tests/SubContainerTests.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NUnit.Framework;
namespace MiniDi.Tests
{
[TestFixture]
public class SubContainerTests
{
}
}
| apache-2.0 | C# | |
e28e74ce6393ab955ad26f542670e7548a7196e1 | Create Battle_logger.cs | InfernumDeus/Csharp-PokemonGO-battle-simulation | source/Battle_logger.cs | source/Battle_logger.cs | using System;
namespace battle_simulation
{
public static class Battle_logger
{
private static string battle_log;
private const string
log_table_header = "time;atk;def;aw;dw;ttagd;ahp;dhp;aen;den;"
+ "aIn;dodged;"
+ "dIn;ne... | mit | C# | |
386ecae5611683a12cf635206373e8201a271a79 | Implement Maybe | beardgame/utilities | src/Core/Maybe.cs | src/Core/Maybe.cs | using System;
namespace Bearded.Utilities
{
public struct Maybe<T>
{
private bool hasValue;
private T value;
private Maybe(T value)
{
hasValue = true;
this.value = value;
}
public static Maybe<T> Nothing() => new Maybe<T>();
pub... | mit | C# | |
e865a47ed81fda6d658e57e8c99fd9867e95fa2a | create JeffHill.cs | planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell | src/Firehose.Web/Authors/JeffHill.cs | src/Firehose.Web/Authors/JeffHill.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel.Syndication;
using System.Web;
using Firehose.Web.Infrastructure;
namespace Firehose.Web.Authors
{
public class JeffHill : IFilterMyBlogPosts, IAmACommunityMember
{
public string FirstName => "Jeff";
pu... | mit | C# | |
95cf23f4735e7b889223f58caa5a752ff27d1829 | Add cmdlet information for Remove-AzureDataDisk | 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... | 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... | apache-2.0 | C# | |
cab3f97b36a5abe26fa8bbccb53c68d724906e95 | Add benchmark for InlineFormatter | MiniProfiler/dotnet,MiniProfiler/dotnet | benchmarks/MiniProfiler.Benchmarks/Benchmarks/InlineFormatterBenchmarks.cs | benchmarks/MiniProfiler.Benchmarks/Benchmarks/InlineFormatterBenchmarks.cs | using System.Collections.Generic;
using System.Text;
using BenchmarkDotNet.Attributes;
using BenchmarkDotNet.Jobs;
using StackExchange.Profiling;
using StackExchange.Profiling.SqlFormatters;
namespace Benchmarks.Benchmarks
{
[SimpleJob(RuntimeMoniker.Net48)]
[SimpleJob(RuntimeMoniker.NetCoreApp31)]
[Confi... | mit | C# | |
6d8401ed696122cf6fd7a1d828b595d7a3f29449 | add suppression file to stop the windows/linux warnings until later | ncatlin/rgat,ncatlin/rgat | rgatCore/GlobalSuppressions.cs | rgatCore/GlobalSuppressions.cs | // This file is used by Code Analysis to maintain SuppressMessage
// attributes that are applied to this project.
// Project-level suppressions either have no target or are given
// a specific target and scoped to a namespace, type, member, etc.
using System.Diagnostics.CodeAnalysis;
[assembly: SuppressMessage("Inte... | apache-2.0 | C# | |
403de1f35bfa7475ec16b696dac1782f437ca5f5 | Add ColorChanger | mikelovesrobots/throw-a-ball-tutorial | app/Assets/Scripts/ColorCycler.cs | app/Assets/Scripts/ColorCycler.cs | using UnityEngine;
using System.Collections;
public class ColorCycler : MonoBehaviour {
public Color[] Colors;
public int ColorIndex = 0;
public void Reset() {
ColorIndex = 0;
}
public Color Next() {
var color = Colors[ColorIndex];
IncrementCycle();
return color;
}
private void Increme... | mit | C# | |
30398930363a1877b4ce86db34ff28c05f6ba06f | Create CompositeKeyRoutingConvention.cs | schungx/WebApi-OData | CompositeKeyRoutingConvention.cs | CompositeKeyRoutingConvention.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using System.Web.Http.Controllers;
using System.Web.Http.OData.Routing;
using System.Web.Http.OData.Routing.Conventions;
namespace WebApi.OData
{
// This class is used for handling compo... | mit | C# | |
faad97ac6a9cdd2c070cb3b1a09e40ee450898f6 | Add class to get information about the current assembly. | Si13n7/SilDev.CSharpLib | 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 ... | mit | C# | |
c05b1942397f12e181cb345710cba4df73535b08 | Create ScreenEdgeColliders.cs | UnityCommunity/UnityLibrary | Scripts/2D/Colliders/ScreenEdgeColliders.cs | Scripts/2D/Colliders/ScreenEdgeColliders.cs | // adds EdgeCollider2D colliders to screen edges
// only works with orthographic camera
using UnityEngine;
using System.Collections;
namespace UnityLibrary
{
public class ScreenEdgeColliders : MonoBehaviour
{
void Awake ()
{
AddCollider();
}
void AddCollider ()
{
if (Camera.mai... | mit | C# | |
c6b0c9905d518254502f1d06246ae5258af644f0 | Add unit tests for negating a predicate that contains binary for 4.x (#1590) | JasperFx/Marten,mysticmind/marten,mysticmind/marten,ericgreenmix/marten,mysticmind/marten,ericgreenmix/marten,JasperFx/Marten,ericgreenmix/marten,mysticmind/marten,JasperFx/Marten,ericgreenmix/marten | src/Marten.Testing/Linq/query_negating_predicate_with_binary_operator_tests.cs | src/Marten.Testing/Linq/query_negating_predicate_with_binary_operator_tests.cs | using System;
using System.Linq;
using Marten.Testing.Harness;
using Shouldly;
using Xunit;
namespace Marten.Testing.Linq
{
public class query_negating_predicate_with_binary_operator_tests : IntegrationContext
{
public class Player
{
public Guid Id { get; set; }
public s... | mit | C# | |
7009d73a163a8d5192fb5bce32a8fd601e55ef18 | Implement temp MessageBox handler | HelloKitty/Booma.Proxy | src/Booma.Proxy.Client.Unity.Login/Handlers/LoginCreateMessageBoxEventPayloadHandler.cs | src/Booma.Proxy.Client.Unity.Login/Handlers/LoginCreateMessageBoxEventPayloadHandler.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SceneJect.Common;
namespace Booma.Proxy
{
[Injectee]
public sealed class LoginCreateMessageBoxEventPayloadHandler : LoginMessageHandler<LoginCreateMessageBoxEventPayload>
{
/// <inheritdoc />... | agpl-3.0 | C# | |
0df2c5003e83fbfe33e93dd8d35b1b55f94d6557 | Handle null device. | karthiknadig/RTVS,AlexanderSher/RTVS,MikhailArkhipov/RTVS,karthiknadig/RTVS,AlexanderSher/RTVS,MikhailArkhipov/RTVS,karthiknadig/RTVS,MikhailArkhipov/RTVS,karthiknadig/RTVS,karthiknadig/RTVS,karthiknadig/RTVS,AlexanderSher/RTVS,AlexanderSher/RTVS,karthiknadig/RTVS,AlexanderSher/RTVS,AlexanderSher/RTVS,AlexanderSher/RTV... | src/R/Components/Impl/Plots/Implementation/Commands/PlotDeviceCommand.cs | src/R/Components/Impl/Plots/Implementation/Commands/PlotDeviceCommand.cs | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using System;
using Microsoft.R.Components.InteractiveWorkflow;
namespace Microsoft.R.Components.Plots.Implementation.Commands {
internal abstract class PlotDev... | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using System;
using Microsoft.R.Components.InteractiveWorkflow;
namespace Microsoft.R.Components.Plots.Implementation.Commands {
internal abstract class PlotDev... | mit | C# |
4b256f0bc6a400654e8a94de792a084248636e41 | Update version to 2.3.0. | Faithlife/System.Data.SQLite,ddunkin/System.Data.SQLite,david-mitchell/System.Data.SQLite,Faithlife/System.Data.SQLite | SolutionVersion.cs | SolutionVersion.cs | using System.Reflection;
[assembly: AssemblyVersion("2.3.0.0")]
[assembly: AssemblyFileVersion("2.3.0.0")]
[assembly: AssemblyInformationalVersion("2.3.0")]
| using System.Reflection;
[assembly: AssemblyVersion("2.2.0.0")]
[assembly: AssemblyFileVersion("2.2.0.0")]
[assembly: AssemblyInformationalVersion("2.2.0")]
| mit | C# |
78cb0c9570a27cb191f5d9183cd636e2890f74f3 | Add logger | jefftimlin/BetterLoadSaveGame | src/BetterLoadSaveGame/Log.cs | src/BetterLoadSaveGame/Log.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using UnityEngine;
namespace BetterLoadSaveGame
{
public static class Log
{
private static bool _enableLogging = true;
private static string GetLogMessage(object messageOrFormat, object[] args)
{
... | mit | C# | |
77f7d4c9632e281d8665a81c55252f12b181e163 | Add composite managing display of selection box drag handles | 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 | 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... | mit | C# | |
868f2b6863cf4bdc47ff80e49204cff78e89bff0 | Create CosmosTableBase.cs | tiksn/TIKSN-Framework | TIKSN.Core/Data/CosmosTable/CosmosTableBase.cs | TIKSN.Core/Data/CosmosTable/CosmosTableBase.cs | using Microsoft.Azure.Cosmos.Table;
using Microsoft.Extensions.Configuration;
namespace TIKSN.Data.CosmosTable
{
public abstract class CosmosTableBase
{
private readonly IConfigurationRoot _configuration;
private readonly string _connectionStringKey;
protected CosmosTableBase(IConfigu... | mit | C# | |
10db98569d8561fcbd775053b3bc82927afc38c0 | add NotDefaultTest | evicertia/HermaFx,evicertia/HermaFx,evicertia/HermaFx | HermaFx.DataAnnotations.Tests/NotDefaultTest.cs | HermaFx.DataAnnotations.Tests/NotDefaultTest.cs |
using NUnit.Framework;
using System;
namespace HermaFx.DataAnnotations
{
[TestFixture]
public class NotDefaultTest
{
private class Model
{
[NotDefault]
public Guid Value { get; set; }
}
[Test]
public void IsValid()
{
var model = new Model() { Value = Guid.NewGuid() };
ExtendedValidator.En... | mit | C# | |
155666455b8cde07dcd774554b394c9c2cabedd0 | Disable 3.3 again | karthiknadig/RTVS,MikhailArkhipov/RTVS,MikhailArkhipov/RTVS,karthiknadig/RTVS,karthiknadig/RTVS,karthiknadig/RTVS,karthiknadig/RTVS,MikhailArkhipov/RTVS,karthiknadig/RTVS,AlexanderSher/RTVS,MikhailArkhipov/RTVS,AlexanderSher/RTVS,karthiknadig/RTVS,AlexanderSher/RTVS,MikhailArkhipov/RTVS,AlexanderSher/RTVS,MikhailArkhip... | src/R/Actions/Impl/Utility/SupportedRVersionList.cs | src/R/Actions/Impl/Utility/SupportedRVersionList.cs | using System;
namespace Microsoft.R.Actions.Utility {
public static class SupportedRVersionList {
// TODO: this probably needs configuration file
// or another dynamic source of supported versions.
public const int MinMajorVersion = 3;
public const int MinMinorVersion = 2;
... | using System;
namespace Microsoft.R.Actions.Utility {
public static class SupportedRVersionList {
// TODO: this probably needs configuration file
// or another dynamic source of supported versions.
public const int MinMajorVersion = 3;
public const int MinMinorVersion = 2;
... | mit | C# |
dc5f81403f5d907ba83cf5a9cf53f4838c37e501 | Add newfile Droid/MainActivity.cs | ArcanaMagus/userAuth.cpl,ArcanaMagus/userAuth.cpl,ArcanaMagus/userAuth.cpl,ArcanaMagus/userAuth.cpl | Droid/InitBroadcat.cs | Droid/InitBroadcat.cs |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Android.App;
using Android.Content;
using Android.OS;
using Android.Runtime;
using Android.Views;
using Android.Widget;
namespace userAuth.cpl.Droid
{
[BroadcastReceiver]
public class InitBroadcat : Broadca... | mit | C# | |
240e192087dc660b567d44e46f185991fbf5ad10 | add simple abstract base impl of IRestRequest | NebulousConcept/b2-csharp-client | b2-csharp-client/B2.Client/Rest/RestRequest.cs | b2-csharp-client/B2.Client/Rest/RestRequest.cs | using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
namespace B2.Client.Rest
{
public abstract class RestRequest : IRestRequest
{
public HttpMethod Method { get; }
public IList<Param> HeaderParameters { get; }
public IList<Param> QueryParameters { get; }
... | mit | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.