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 |
|---|---|---|---|---|---|---|---|---|
119f3940dacfd59b648f6f1946a15be487f73dd4 | Add FontId | yufeih/Nine.Graphics,studio-nine/Nine.Graphics | src/Nine.Graphics/FontId.cs | src/Nine.Graphics/FontId.cs | namespace Nine.Graphics
{
using System;
public struct FontId : IEquatable<FontId>
{
public readonly int Id;
public string Name => map[Id];
public static int Count => map.Count;
private static readonly IdMap map = new IdMap();
public FontId(string name) { Id = ma... | mit | C# | |
f9cfef7b74b20be5dd93b13329eda90b75b98d4c | Create Item.Helper.cs | PokemonUnity/PokemonUnity | PokemonUnity.Shared/Inventory/Item.Helper.cs | PokemonUnity.Shared/Inventory/Item.Helper.cs | using PokemonUnity.Inventory;
using PokemonUnity.Character;
using System;
using System.Collections.Generic;
using System.Linq;
using PokemonUnity.Overworld;
using PokemonUnity.Monster;
using PokemonUnity;
namespace PokemonUnity.Inventory
{
/// <summary>
/// Implements methods that act on arrays of items. Each elemen... | bsd-3-clause | C# | |
6d6e781e93688c38d473d119cad34ffec2ecae9b | move zeros | Javran/leetcode,Javran/leetcode,Javran/leetcode,Javran/leetcode,Javran/leetcode,Javran/leetcode,Javran/leetcode,Javran/leetcode,Javran/leetcode | move-zeroes/Solution.cs | move-zeroes/Solution.cs | using System;
public class Solution {
public void MoveZeroes(int[] nums) {
int srcInd = 0, tgtInd = 0;
while (srcInd < nums.Length) {
// skipping zeroes
while (srcInd < nums.Length && nums[srcInd] == 0)
++srcInd;
// INVARIANT:
// - ei... | mit | C# | |
98230981aac505c207e142823c5935e6b29be83e | Add XAmzContentSha256Values | carbon/Amazon | src/Amazon.Core/Security/XAmzContentSha256Value.cs | src/Amazon.Core/Security/XAmzContentSha256Value.cs | namespace Amazon;
internal static class XAmzContentSha256Values
{
public const string UnsignedPayload = "UNSIGNED-PAYLOAD";
public const string StreamingAwsHmacSha256Payload = "STREAMING-AWS4-HMAC-SHA256-PAYLOAD";
}
// https://docs.aws.amazon.com/AmazonS3/latest/API/sigv4-streaming-trailers.htm... | mit | C# | |
55e1d41463c65f1e28a72f2d367fdabb63880eec | Add PropertyEqualityComparer | riganti/dotvvm-samples-academy,riganti/dotvvm-samples-academy,riganti/dotvvm-samples-academy | src/DotvvmAcademy.Meta/PropertyEqualityComparer.cs | src/DotvvmAcademy.Meta/PropertyEqualityComparer.cs | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
namespace DotvvmAcademy.Meta
{
public class PropertyEqualityComparer : IEqualityComparer<object>, IEqualityComparer
{
public new bool Equals(object one, o... | apache-2.0 | C# | |
458fb046f1b24e380fc6abfe0ede2a11e9da9e84 | Add RandonPageGenerator.cs | CXuesong/WikiClientLibrary | WikiClientLibrary/Generators/RandomPageGenerator.cs | WikiClientLibrary/Generators/RandomPageGenerator.cs | using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.Text;
using WikiClientLibrary.Client;
using WikiClientLibrary.Generators;
using WikiClientLibrary.Generators.Primitive;
using WikiClientLibrary.Pages;
using WikiClientLibrary.Sites;
namespace WikiClientLibrary.Generators
{
//... | apache-2.0 | C# | |
a0b5d8da40f5a9bfda62f5bbda901a02021de3a2 | Create BenceLenart.cs (#689) | planetxamarin/planetxamarin,planetxamarin/planetxamarin,planetxamarin/planetxamarin,planetxamarin/planetxamarin | src/Firehose.Web/Authors/BenceLenart.cs | src/Firehose.Web/Authors/BenceLenart.cs | using System;
using System.Collections.Generic;
using Firehose.Web.Infrastructure;
namespace Firehose.Web.Authors
{
public class BenceLenart : IAmACommunityMember
{
public string FirstName => "Bence";
public string LastName => "Lenart";
public string ShortBioOrTagLine => "Xamarin developer and blogger.";
... | mit | C# | |
554a2c21ea08f890606c0ebbbcb5f3c5ee4c7955 | make refactoring auth module | CloudBreadProject/CloudBread-Client-Unity,CloudBreadProject/CloudBread-Client-Unity,CloudBreadProject/CloudBread-Client-Unity,CloudBreadProject/CloudBread-Client-Unity | Assets/Scripts/CloudBread/Authentication/UserAuth.cs | Assets/Scripts/CloudBread/Authentication/UserAuth.cs | using System;
using UnityEngine;
//using Unity
namespace CloudBread.Authentication
{
public class UserAuth : MonoBehaviour
{
public UserAuth ()
{
}
public class AuthenticationToken
{
}
public class FacebookGoogleAuthenticationToken : AuthenticationToken
{
public string access_token;
}
publ... | mit | C# | |
cb3db4c14021f188594cc77f7962c70f6b5166d5 | Add BoardController script | EquilibriumTechnologies/HackDay01,EquilibriumTechnologies/HackDay01 | HackDay1/Assets/scripts/BoardController.cs | HackDay1/Assets/scripts/BoardController.cs | using UnityEngine;
using System.Collections;
/**
* Make an empty GameObject, I called it ControlBox
* Add this script to the ControlBox
* Make the Ground (and optionally the player) a child of the ControlBox
* Add a RigidBody to the ground and select Kinematic
* Make walls, etc. children of the ground
**/
publi... | mit | C# | |
95456b26fbf03635091ef55ec8cc71ea0ed8b593 | Add new parser test base | JetBrains/resharper-unity,JetBrains/resharper-unity,JetBrains/resharper-unity | resharper/resharper-yaml/test/src/Psi/Parsing/ParserTestBase.cs | resharper/resharper-yaml/test/src/Psi/Parsing/ParserTestBase.cs | using System;
using System.Linq;
using JetBrains.Annotations;
using JetBrains.Application.Components;
using JetBrains.ProjectModel;
using JetBrains.ReSharper.Psi;
using JetBrains.ReSharper.Psi.ExtensionsAPI;
using JetBrains.ReSharper.Psi.ExtensionsAPI.Tree;
using JetBrains.ReSharper.Psi.Files;
using JetBrains.ReSharper... | apache-2.0 | C# | |
2d23471ed433dce44a56ab393405add4ce3b2b4e | add plugins for unity3d | lightningkay/NoahGameFrame,lightningkay/NoahGameFrame,lightningkay/NoahGameFrame,lightningkay/NoahGameFrame,lightningkay/NoahGameFrame,lightningkay/NoahGameFrame,lightningkay/NoahGameFrame | MiniClient/Assets/Editor/NFEditorWindow.cs | MiniClient/Assets/Editor/NFEditorWindow.cs | using UnityEngine;
using UnityEditor;
using System.Collections;
public static NFCServer CreateServer(string name)
{
GameObject go = new GameObject(name);
NFCServer client = go.AddComponent<NFCServer>();
}
public static NFCClient CreateClient(string name)
{
GameObject go = new GameObject(name);
NFCClient clien... | apache-2.0 | C# | |
74dcff38b5a03e98ec36b10dc11430ac628c17e6 | Create Program.cs | dhuzz/auto-install,abdussami-tayyab/auto-install | Program.cs | Program.cs | using System;
using System.IO;
using System.Diagnostics;
using System.ComponentModel;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Threading;
namespace autoInstall
{
class Program
{
Process process = new Process(); ... | mit | C# | |
bdf6c2a5edf61d89dcb095acd86672c1367e07e2 | add changelog supporter promo test scene | NeoAdonis/osu,ppy/osu,peppy/osu-new,smoogipooo/osu,NeoAdonis/osu,smoogipoo/osu,UselessToucan/osu,smoogipoo/osu,UselessToucan/osu,ppy/osu,UselessToucan/osu,peppy/osu,peppy/osu,NeoAdonis/osu,peppy/osu,smoogipoo/osu,ppy/osu | osu.Game.Tests/Visual/Online/TestSceneChangelogSupporterPromo.cs | osu.Game.Tests/Visual/Online/TestSceneChangelogSupporterPromo.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.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Shapes;
using osu.Game.Overlays;
using... | mit | C# | |
b88a8fc62feba7cd6897b489ecd6abb3ad7fe551 | Add recursive OrderX function to Graph.cs, rename PointSequenceInvalidExcpetion to PointOutofBoundsException, accept points of any X value and then order them from smallest to largest, refactor Plot(List<Vector2> points) function to order X values using OrderX | sodafountan/Graphing | Graphing/PointOutofBoundsException.cs | Graphing/PointOutofBoundsException.cs |
namespace Graphing
{
internal class PointOutofBoundsException : System.Exception
{
public PointOutofBoundsException(string message =
"A point is out of bounds from the graph") : base(message) { }
}
}
| mit | C# | |
274c04fc1d80f3415d4cfd7c192468136a4c1d95 | Add Log4NetExtensions.cs | agardiner/hfmcmd,agardiner/hfmcmd,agardiner/hfmcmd | src/Log4NetExtensions.cs | src/Log4NetExtensions.cs | using System;
using System.Text;
using System.Collections;
using System.IO;
using System.Runtime.InteropServices;
using log4net;
using log4net.ObjectRenderer;
using log4net.Repository.Hierarchy;
namespace HFMCmd
{
/// <summary>
/// Extension methods for adding additional log shortcuts for Verbose and
/... | bsd-2-clause | C# | |
4ef9a514f666a6c3e38c3fbcd8efffd028359134 | Add support for reading DepedencyContext from deps file | ravimeda/core-setup,ellismg/core-setup,wtgodbe/core-setup,vivmishra/core-setup,joperezr/core-setup,janvorli/core-setup,vivmishra/core-setup,ellismg/core-setup,janvorli/core-setup,steveharter/core-setup,ericstj/core-setup,chcosta/core-setup,ellismg/core-setup,ramarag/core-setup,cakine/core-setup,joperezr/core-setup,Mich... | DependencyContextCsvReaderTests.cs | DependencyContextCsvReaderTests.cs | // Copyright (c) .NET Foundation and contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using System.Text;
using Micro... | mit | C# | |
5242888188ec129838c0a02d419c8481aab92592 | bump version | jasonholloway/Fody,distantcam/Fody,ichengzi/Fody,furesoft/Fody,PKRoma/Fody,shanselman/Fody,huoxudong125/Fody,shanselman/Fody,shanselman/Fody,Fody/Fody,ColinDabritzViewpoint/Fody,GeertvanHorrik/Fody | CommonAssemblyInfo.cs | CommonAssemblyInfo.cs | using System.Reflection;
[assembly: AssemblyTitle("Fody")]
[assembly: AssemblyProduct("Fody")]
[assembly: AssemblyVersion("1.6.4.0")]
[assembly: AssemblyFileVersion("1.6.4.0")]
| using System.Reflection;
[assembly: AssemblyTitle("Fody")]
[assembly: AssemblyProduct("Fody")]
[assembly: AssemblyVersion("1.6.3.0")]
[assembly: AssemblyFileVersion("1.6.3.0")]
| mit | C# |
c025ee03077d331ba09b75d0bf572891c7ef8e04 | add OnClickOpenBrower.cs | NDark/ndinfrastructure,NDark/ndinfrastructure | Unity/UnityTools/OnClickOpenBrower.cs | Unity/UnityTools/OnClickOpenBrower.cs | /**
MIT License
Copyright (c) 2017 NDark
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distr... | mit | C# | |
94494e02e31a51d0d8390ac8fe3213d0a8254832 | Create Problem46.cs | fireheadmx/ProjectEuler,fireheadmx/ProjectEuler | Problems/Problem46.cs | Problems/Problem46.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ProjectEuler.Problems
{
class Problem46
{
private Sieve s;
private int upper = 10000;
public Problem46()
{
s = new Sieve(upper);
}
public void Run()
... | mit | C# | |
6b88141e58b6d3863b1aeb9db41d39225cd00bda | Add mania sample conversion test | NeoAdonis/osu,smoogipoo/osu,UselessToucan/osu,smoogipoo/osu,smoogipooo/osu,UselessToucan/osu,NeoAdonis/osu,NeoAdonis/osu,smoogipoo/osu,peppy/osu-new,peppy/osu,ppy/osu,peppy/osu,ppy/osu,peppy/osu,ppy/osu,UselessToucan/osu | osu.Game.Rulesets.Mania.Tests/ManiaBeatmapSampleConversionTest.cs | osu.Game.Rulesets.Mania.Tests/ManiaBeatmapSampleConversionTest.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 NUnit.Framework;
using osu.Framework.Utils;
using osu.Game.Audio;
using osu.Game.Rulesets.Mania.O... | mit | C# | |
4e885de6c785f6d15bf25aa562edb6da92fac72c | Prepare parser for scripting | MetacoSA/NBitcoin,MetacoSA/NBitcoin,NicolasDorier/NBitcoin | NBitcoin/Scripting/Parser/ParseException.cs | NBitcoin/Scripting/Parser/ParseException.cs | using System;
namespace NBitcoin.Scripting.Parser
{
/// <summary>
/// Represents an error that occurs during parsing.
/// </summary>
public class ParseException : Exception
{
/// <summary>
/// Initializes a new instance of the <see cref="ParseException" /> class.
/// </summary>
public ParseException() { }... | mit | C# | |
501991f788b62685167daf29b7e19491a3cd3030 | Remove unused properties. | mnaiman/duplicati,sitofabi/duplicati,duplicati/duplicati,sitofabi/duplicati,duplicati/duplicati,sitofabi/duplicati,mnaiman/duplicati,mnaiman/duplicati,duplicati/duplicati,sitofabi/duplicati,mnaiman/duplicati,duplicati/duplicati,duplicati/duplicati,mnaiman/duplicati,sitofabi/duplicati | Duplicati/Library/Backend/Sia/Strings.cs | Duplicati/Library/Backend/Sia/Strings.cs | using Duplicati.Library.Localization.Short;
namespace Duplicati.Library.Backend.Strings
{
internal static class Sia
{
public static string DisplayName { get { return LC.L(@"Sia Decentralized Cloud"); } }
public static string Description { get { return LC.L(@"This backend can read and write data... | using Duplicati.Library.Localization.Short;
namespace Duplicati.Library.Backend.Strings
{
internal static class Sia
{
public static string DisplayName { get { return LC.L(@"Sia Decentralized Cloud"); } }
public static string Description { get { return LC.L(@"This backend can read and write data... | lgpl-2.1 | C# |
89337d08eee91d69917c6c43eab15669f602dc63 | Create Problem55.cs | fireheadmx/ProjectEuler,fireheadmx/ProjectEuler | Problems/Problem55.cs | Problems/Problem55.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Numerics;
namespace ProjectEuler.Problems
{
class Problem55
{
private int upper = 10000;
private int lycrel = 50;
private bool Palindrome(BigInteger number)
{
bool is_... | mit | C# | |
073dce1e44247018b68ecad5d4014d3f585d31bc | Remove default initialization | DrabWeb/osu-framework,paparony03/osu-framework,DrabWeb/osu-framework,paparony03/osu-framework,ppy/osu-framework,Tom94/osu-framework,Nabile-Rahmani/osu-framework,ZLima12/osu-framework,default0/osu-framework,ZLima12/osu-framework,ppy/osu-framework,default0/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,EVAST99... | osu.Framework/Graphics/Effects/BlurEffect.cs | osu.Framework/Graphics/Effects/BlurEffect.cs | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using OpenTK;
using osu.Framework.Graphics.Containers;
using osu.Framework.MathUtils;
namespace osu.Framework.Graphics.Effects
{
/// <summary>
... | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using OpenTK;
using osu.Framework.Graphics.Containers;
using osu.Framework.MathUtils;
namespace osu.Framework.Graphics.Effects
{
/// <summary>
... | mit | C# |
29c50a99eb08cc1d007fe84548dfc19aafb6843f | Create problem010.cs | mvdiener/project_euler,mvdiener/project_euler | CSharp/problem010.cs | CSharp/problem010.cs | //The sum of the primes below 10 is 2 + 3 + 5 + 7 = 17.
//Find the sum of all the primes below two million.
using System;
using System.Collections.Generic;
using System.Linq;
namespace Problem010
{
class MainClass
{
public static void Main()
{
List<int> primes = FindPrimesInRange(2000000);... | mit | C# | |
c2505c133ba45876969d28d6865fdd0e59744eac | Create CircularMovingSum.cs | Zephyr-Koo/sololearn-challenge | CircularMovingSum.cs | CircularMovingSum.cs | using System;
using System.Collections.Generic;
using System.Linq;
// https://www.sololearn.com/Discuss/666260/?ref=app
namespace SoloLearn
{
class Program
{
static void Main(string[] zephyr_koo)
{
DisplayCircularSum(new int[] { 1, 3, 4 }, 5); // Case 1
DisplayCirc... | apache-2.0 | C# | |
7d9c0be6f3b5d879773d56a22a0e7b16c9bdff56 | Add structs for TMD file | Figglewatts/LBD2OBJ | LBD2OBJ/Types/TMD.cs | LBD2OBJ/Types/TMD.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LBD2OBJ.Types
{
struct TMDHEADER
{
uint ID; // should be 0x41
uint flags; // 0 if addresses are relative from top of block, 1 if from start of file
uint numObjects;
}
struct OBJECT
... | mit | C# | |
04071fb48dffafc2801d94cb94cdd26f2845cd35 | Add AutoSave on run feature - toggle | guibec/rpgcraft,guibec/rpgcraft,guibec/rpgcraft,guibec/rpgcraft | unity/Assets/Editor/AutoSaveOnRunMenuItem.cs | unity/Assets/Editor/AutoSaveOnRunMenuItem.cs | using UnityEngine;
using UnityEditor;
using UnityEditor.SceneManagement;
[InitializeOnLoad]
public class AutoSaveOnRunMenuItem
{
public const string MenuName = "Tools/Autosave On Run";
private static bool isToggled;
static AutoSaveOnRunMenuItem()
{
EditorApplication.delayCall += () =>
... | mit | C# | |
b9941ab75751a3f25ed17f22275cd31cfb52057f | Add Common class | clarkcb/xsearch,clarkcb/xsearch,clarkcb/xsearch,clarkcb/xsearch,clarkcb/xsearch,clarkcb/xsearch,clarkcb/xsearch,clarkcb/xsearch,clarkcb/xsearch,clarkcb/xsearch,clarkcb/xsearch,clarkcb/xsearch,clarkcb/xsearch,clarkcb/xsearch,clarkcb/xsearch,clarkcb/xsearch | csharp/CsSearch/CsSearch/Common.cs | csharp/CsSearch/CsSearch/Common.cs | using System;
namespace CsSearch
{
class Common
{
public static void Log(string message)
{
Console.WriteLine(message);
}
}
}
| mit | C# | |
622060c56b78c9104110a92ff533e17d66bef870 | Add SetupAccount view | SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice | src/SFA.DAS.EmployerAccounts.Web/Views/Home/SetupAccount.cshtml | src/SFA.DAS.EmployerAccounts.Web/Views/Home/SetupAccount.cshtml | @model SFA.DAS.EmployerAccounts.Web.OrchestratorResponse<SFA.DAS.EmployerAccounts.Web.ViewModels.UserAccountsViewModel>
@{ViewBag.PageID = "page-auth-setupaccount"; }
@{ViewBag.Section = "home"; }
@{ViewBag.Title = "Setup your account"; }
@{ViewBag.HideNav = "true"; }
@{
ViewBag.GaData.Vpv = "/page-auth-setupacc... | mit | C# | |
068e837238eb612e280ee13a121a15bb03b6f2ea | Remove usage of Lazy<DateTime> in LocalTimeKeeper | Jay-Jay-D/LeanSTP,kaffeebrauer/Lean,QuantConnect/Lean,AnshulYADAV007/Lean,jameschch/Lean,StefanoRaggi/Lean,jameschch/Lean,StefanoRaggi/Lean,AnshulYADAV007/Lean,redmeros/Lean,AlexCatarino/Lean,JKarathiya/Lean,AlexCatarino/Lean,redmeros/Lean,jameschch/Lean,JKarathiya/Lean,StefanoRaggi/Lean,Jay-Jay-D/LeanSTP,AnshulYADAV00... | Common/LocalTimeKeeper.cs | Common/LocalTimeKeeper.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 o... | apache-2.0 | C# |
a0a775e3f505538ef589db217a780974276a9b71 | Add sorting change menu. | eatskolnikov/mobile,ZhangLeiCharles/mobile,masterrr/mobile,eatskolnikov/mobile,eatskolnikov/mobile,ZhangLeiCharles/mobile,masterrr/mobile | Joey/UI/Activities/ProjectListActivity.cs | Joey/UI/Activities/ProjectListActivity.cs | using System.Collections.Generic;
using Android.App;
using Android.Content.PM;
using Android.OS;
using Toggl.Joey.UI.Fragments;
using Activity = Android.Support.V7.App.AppCompatActivity;
using Fragment = Android.Support.V4.App.Fragment;
using FragmentManager = Android.Support.V4.App.FragmentManager;
namespace Toggl.J... | using System.Collections.Generic;
using Android.App;
using Android.Content.PM;
using Android.OS;
using Toggl.Joey.UI.Fragments;
using Activity = Android.Support.V7.App.AppCompatActivity;
using Fragment = Android.Support.V4.App.Fragment;
using FragmentManager = Android.Support.V4.App.FragmentManager;
using Toggl.Joey.U... | bsd-3-clause | C# |
7367e79924cced79d9d3722fd5c2b94b8c169023 | Add test | ppy/osu-framework,peppy/osu-framework,ppy/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,ppy/osu-framework,smoogipooo/osu-framework | osu.Framework.Tests/Visual/Platform/TestSceneAllowExitingAndroid.cs | osu.Framework.Tests/Visual/Platform/TestSceneAllowExitingAndroid.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.Framework.Bindables;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Shapes;
using osu.Framewo... | mit | C# | |
00268fb16bda28e71c9ea0e2cb6e9e7e31e2100b | Add vehicleType into Command Parameter Types. | ikkentim/SampSharp,ikkentim/SampSharp,ikkentim/SampSharp | src/SampSharp.GameMode/SAMP/Commands/ParameterTypes/VehicleType.cs | src/SampSharp.GameMode/SAMP/Commands/ParameterTypes/VehicleType.cs | // SampSharp
// Copyright 2017 Tim Potze
//
// 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... | apache-2.0 | C# | |
ac382f09a0c6d7d464b2ddb2d991b3954399f053 | Fix spelling mistake | ppy/osu-framework,Nabile-Rahmani/osu-framework,paparony03/osu-framework,default0/osu-framework,smoogipooo/osu-framework,DrabWeb/osu-framework,Tom94/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,Nabile-Rahmani/osu-framework,DrabWeb/osu-framework,Tom94/osu-framework,naoey/osu-framework,ZLima12/osu-framework,nao... | osu.Framework/Graphics/DrawNode.cs | osu.Framework/Graphics/DrawNode.cs | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using osu.Framework.Graphics.OpenGL;
using System;
namespace osu.Framework.Graphics
{
/// <summary>
/// Contains all the information require... | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using osu.Framework.Graphics.OpenGL;
using System;
namespace osu.Framework.Graphics
{
/// <summary>
/// Contains all the information require... | mit | C# |
ccdf12c6a82499454285e4c1a0a8964cba25fe2c | introduce AmmyDynamicResource | isukces/isukces.code | isukces.code/Ammy/_expressions/AmmyDynamicResource.cs | isukces.code/Ammy/_expressions/AmmyDynamicResource.cs | using isukces.code.interfaces.Ammy;
namespace isukces.code.Ammy
{
public class AmmyDynamicResource : IAmmyCodePieceConvertible
{
public AmmyDynamicResource(string resourceName)
{
ResourceName = resourceName;
}
public IAmmyCodePiece ToAmmyCode(IConversionCtx ctx)
... | mit | C# | |
e25a4e943d5fe1ab4f73746b2705fad6a9212aae | Add missing FileResponse file | realcrowd/hellosign.net | src/RealCrowd.HelloSign/Models/FileResponse.cs | src/RealCrowd.HelloSign/Models/FileResponse.cs | using System;
using System.IO;
namespace RealCrowd.HelloSign.Models
{
[Serializable]
public class FileResponse : IDisposable
{
private bool disposed;
public Stream Stream { get; internal set; }
public string FileName { get; internal set; }
public void Dispose()
{
... | mit | C# | |
2746c4afa4df90fe05985a768a808ad3a719bda8 | Add TwitchPagination object | Aux/NTwitch,Aux/NTwitch | src/NTwitch.Rest/API/TwitchPagination.cs | src/NTwitch.Rest/API/TwitchPagination.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace NTwitch.Rest
{
public class TwitchPagination
{
public int Limit { get; set; }
public int Page { get; set; }
public TwitchPagination(int limit = 10, int page = 1)
{
... | mit | C# | |
6676c55fe05f0f413b95740381f35738e13adfcd | Introduce InputSettings | NeoAdonis/osu,peppy/osu-new,ZLima12/osu,EVAST9919/osu,ppy/osu,naoey/osu,NeoAdonis/osu,naoey/osu,smoogipoo/osu,DrabWeb/osu,peppy/osu,smoogipoo/osu,naoey/osu,2yangk23/osu,johnneijzen/osu,DrabWeb/osu,ppy/osu,ppy/osu,smoogipoo/osu,johnneijzen/osu,DrabWeb/osu,ZLima12/osu,smoogipooo/osu,2yangk23/osu,UselessToucan/osu,Useless... | osu.Game/Screens/Play/PlayerSettings/InputSettings.cs | osu.Game/Screens/Play/PlayerSettings/InputSettings.cs | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Game.Configuration;
namespace osu.Game.Screens.Play.PlayerSettings
{
public class InputSett... | mit | C# | |
d2427d808fe2de3851ddef9cb8e200550ac0f9de | Implement selection sort | cschen1205/cs-algorithms,cschen1205/cs-algorithms | Algorithms/Sorting/SelectionSort.cs | Algorithms/Sorting/SelectionSort.cs | using System;
using Algorithms.Utils;
namespace Algorithms.Sorting
{
public class SelectionSort
{
public static void Sort<T>(T[] a, int lo, int hi, Comparison<T> comparator)
{
for (var i = lo; i < hi; ++i)
{
var max = a[i];
var J = i;
... | mit | C# | |
db0a7c68ca920ed97bff7c358d3b68875a1e8913 | Create server side API for single multiple answer question | Promact/trappist,Promact/trappist,Promact/trappist,Promact/trappist,Promact/trappist | 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 ... | mit | C# | |
93055b75bfb3d1b5f2b82251dad05bbecccd2926 | Add useful extensions for tree operations | jagrem/slang,jagrem/slang,jagrem/slang | slang/Lexing/Trees/TreeExtensions.cs | slang/Lexing/Trees/TreeExtensions.cs | using System.Linq;
namespace slang.Lexing.Trees
{
public static class TreeExtensions
{
public static Tree AttachChild(this Tree parent, Tree child)
{
var parentLeaves = parent.Leaves.ToList ();
var childTransitions = child.Root.Transitions.ToList ();
parentL... | mit | C# | |
d241dd45d66ed16542d40df7cfe3e4391e858863 | add serializer file | kherr9/TransitSocial.ChicagoTransitAuthority | src/TransitSocial.ChicagoTransitAuthority.BusTracker/Serializer.cs | src/TransitSocial.ChicagoTransitAuthority.BusTracker/Serializer.cs | using System;
using System.IO;
using System.Xml;
using System.Xml.Serialization;
namespace TransitSocial.ChicagoTransitAuthority.BusTracker
{
public class Serializer : ISerializer
{
public TModel Deserialize<TModel>(string input)
{
using (var reader = new StringReader(input))
... | mit | C# | |
6a226302d5a9d0ec26899abc7a0cbbab899bc54c | Revert changes to basic template | tomhunter-gh/Lean,kaffeebrauer/Lean,AnshulYADAV007/Lean,StefanoRaggi/Lean,andrewhart098/Lean,andrewhart098/Lean,redmeros/Lean,devalkeralia/Lean,Jay-Jay-D/LeanSTP,AlexCatarino/Lean,JKarathiya/Lean,Mendelone/forex_trading,AnshulYADAV007/Lean,Mendelone/forex_trading,andrewhart098/Lean,AlexCatarino/Lean,JKarathiya/Lean,tom... | Algorithm.CSharp/BasicTemplateAlgorithm.cs | Algorithm.CSharp/BasicTemplateAlgorithm.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 ... | /*
* 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 ... | apache-2.0 | C# |
891bb29c3de5c928616d4f605c5181903fe39a99 | add missing file | beyourmarket/beyourmarket,beyourmarket/beyourmarket,JCDJulian/beyourmarket,sebvst/beyourmarket,ghost6p/beyourmarket,bramazan/beyourmarket,beyourmarket/beyourmarket,REALTOBIZ/beyourmarket,ghost6p/beyourmarket,bramazan/beyourmarket,rajendra1809/beyourmarket,JCDJulian/beyourmarket,rajendra1809/beyourmarket,sebvst/beyourma... | src/BeYourMarket.Model/ModelsPartial/ListingReview.cs | src/BeYourMarket.Model/ModelsPartial/ListingReview.cs | using BeYourMarket.Model.Enum;
using BeYourMarket.Model.Models;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BeYourMarket.Model.Models
{
[MetadataType(typeof(ListingReviewMetaData))]
p... | mit | C# | |
46bbf2694963abfc1e5e5b47c952085b35e1632d | Create test.cs | hallstromsimon/office365apps,hallstromsimon/office365apps | Fol/test.cs | Fol/test.cs | mit | C# | ||
ff524e62521dc7f8180eb2578309d497a51233ee | Create new-blog.cshtml | mishrsud/sudhanshutheone.com,mishrsud/sudhanshutheone.com,mishrsud/sudhanshutheone.com,daveaglick/daveaglick,daveaglick/daveaglick | Somedave/Views/Blog/Posts/new-blog.cshtml | Somedave/Views/Blog/Posts/new-blog.cshtml | @{
Title = "New Blog";
Lead = "Look, Ma, no database!";
//Published = new DateTime(2014, 9, 4);
Tags = new[] { "blog", "meta" };
}
<p>It's been a little while coming, but I'm finally launching my new blog. It's built from scratch in ASP.NET MVC. Why go to all the trouble to build a blog engine from scr... | mit | C# | |
16a421059aab7a94a00a1fc5c2af6b3121d42584 | Add more unit test | mbdavid/LiteDB | LiteDB.Tests/Document/Case_Insensitive_Tests.cs | LiteDB.Tests/Document/Case_Insensitive_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.Document
{
[TestClass]
public class Case_Insensitive_Tests
{
[Te... | mit | C# | |
ea39f614adbe36b5d95cbd94e2b96ba85f3cbbc5 | add fetch strategy to combine other strategies | eriklieben/ErikLieben.Data | ErikLieben.Data/Repository/CombinedFetchingStrategy.cs | ErikLieben.Data/Repository/CombinedFetchingStrategy.cs | namespace ErikLieben.Data.Repository
{
using System.Linq;
public class CombinedFetchingStrategy<T> : IFetchingStrategy<T>
{
private readonly IFetchingStrategy<T>[] strategies;
public CombinedFetchingStrategy(params IFetchingStrategy<T>[] stratergies)
{
this.strategies ... | mit | C# | |
4fcbe1a79bd3a95d10ffa9dfb772c12899947696 | Add ExtendedDnControl. It specified format of retuned distinguished names. | dsbenghe/Novell.Directory.Ldap.NETStandard,dsbenghe/Novell.Directory.Ldap.NETStandard | src/Novell.Directory.Ldap.NETStandard/Controls/ExtendedDnControl.cs | src/Novell.Directory.Ldap.NETStandard/Controls/ExtendedDnControl.cs | /******************************************************************************
* The MIT License
* Copyright (c) 2020 Miroslav Adamec
*
* 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 withou... | mit | C# | |
602dfc131def2cb10459655bee8ea398414e7760 | Create CameraEvent.cs | schoffi92/Unity3D-Scripts | VR/CameraEvent.cs | VR/CameraEvent.cs | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.EventSystems;
namespace VR
{
public class CameraEvent : MonoBehaviour
{
public const string VRINTERACTIVE_TAG = "VRInteractive";
public Camera camera;
public string objName;
protec... | mit | C# | |
7f2be583f673cfda7b984e77341933bc99176100 | Add test | peppy/osu-framework,ppy/osu-framework,ppy/osu-framework,ppy/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,smoogipooo/osu-framework,ZLima12/osu-framework,EVAST9919/osu-framework,ZLima12/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework | osu.Framework.Tests/Exceptions/TestSceneDependencyInjectionExceptions.cs | osu.Framework.Tests/Exceptions/TestSceneDependencyInjectionExceptions.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 NUnit.Framework;
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Testing;
u... | mit | C# | |
6f31608b8534c6bc5e6fdff007885cce88617c89 | Create AttachedToVisualTreeBehavior.cs | wieslawsoltes/AvaloniaBehaviors,wieslawsoltes/AvaloniaBehaviors | src/Avalonia.Xaml.Interactions/Custom/AttachedToVisualTreeBehavior.cs | src/Avalonia.Xaml.Interactions/Custom/AttachedToVisualTreeBehavior.cs | using System.Reactive.Disposables;
namespace Avalonia.Xaml.Interactions.Custom;
/// <summary>
/// A base class for behaviors using attached to visual tree event.
/// </summary>
/// <typeparam name="T"></typeparam>
public abstract class AttachedToVisualTreeBehavior<T> : DisposingBehavior<T> where T : Visual
{
private... | mit | C# | |
66dc8f5df59c5a041a35bf641978c4714d7fb077 | Add test for deserializing nullable reagent units (#4899) | space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14 | Content.IntegrationTests/Tests/Chemistry/ReagentUnitSerializationTest.cs | Content.IntegrationTests/Tests/Chemistry/ReagentUnitSerializationTest.cs | using System.Reflection;
using Content.Shared.Chemistry.Reagent;
using NUnit.Framework;
using Robust.Shared.Serialization.Manager;
using Robust.Shared.Serialization.Manager.Attributes;
using Robust.Shared.Serialization.Markdown.Mapping;
using Robust.Shared.Serialization.Markdown.Value;
using Robust.UnitTesting.Shared.... | mit | C# | |
299d2fa36f148354b59a19622f6f2f0cba3e20b7 | Create StudentDeleteViewModel | Programazing/Open-School-Library,Programazing/Open-School-Library | src/Open-School-Library/Models/StudentViewModels/StudentDeleteViewModel.cs | src/Open-School-Library/Models/StudentViewModels/StudentDeleteViewModel.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Open_School_Library.Models.StudentViewModels
{
public class StudentDeleteViewModel
{
}
}
| mit | C# | |
41f15d69875577a8f737e5f2659820c000fe91f9 | Add channels | maxlmo/outlook-matters,maxlmo/outlook-matters,makmu/outlook-matters,makmu/outlook-matters | OutlookMatters/Mattermost/Session/Channels.cs | OutlookMatters/Mattermost/Session/Channels.cs | using System.Collections.Generic;
using Newtonsoft.Json;
namespace OutlookMatters.Mattermost
{
public class Channels
{
[JsonProperty("channels")]
public List<Channel> ChannelList { get; set; }
}
public class Channel
{
[JsonProperty("id")]
public string ChannelId { g... | mit | C# | |
4c54c0ae53ebf2246beade5ee548aa35b10dcc3f | Create MaciejHorbacz.cs | planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell | src/Firehose.Web/Authors/MaciejHorbacz.cs | src/Firehose.Web/Authors/MaciejHorbacz.cs | mit | C# | ||
3e684eb1cde2a14db1d8a9c186cb39ef7e0a9926 | Edit it | jogibear9988/websocket-sharp,2Toad/websocket-sharp,2Toad/websocket-sharp,sta/websocket-sharp,2Toad/websocket-sharp,sta/websocket-sharp,jogibear9988/websocket-sharp,sta/websocket-sharp,2Toad/websocket-sharp,jogibear9988/websocket-sharp,jogibear9988/websocket-sharp,sta/websocket-sharp | websocket-sharp/Net/HttpBasicIdentity.cs | websocket-sharp/Net/HttpBasicIdentity.cs | #region License
/*
* HttpBasicIdentity.cs
*
* This code is derived from HttpListenerBasicIdentity.cs (System.Net) of
* Mono (http://www.mono-project.com).
*
* The MIT License
*
* Copyright (c) 2005 Novell, Inc. (http://www.novell.com)
* Copyright (c) 2014-2017 sta.blockhead
*
* Permission is hereby granted, ... | #region License
/*
* HttpBasicIdentity.cs
*
* This code is derived from HttpListenerBasicIdentity.cs (System.Net) of
* Mono (http://www.mono-project.com).
*
* The MIT License
*
* Copyright (c) 2005 Novell, Inc. (http://www.novell.com)
* Copyright (c) 2014-2017 sta.blockhead
*
* Permission is hereby granted, ... | mit | C# |
c2b154816d4a44e718d5b1d1607fa075b5630091 | Add GlobalSuppressions for FxCop | modulexcite/msgpack-cli,modulexcite/msgpack-cli,undeadlabs/msgpack-cli,scopely/msgpack-cli,scopely/msgpack-cli,msgpack/msgpack-cli,undeadlabs/msgpack-cli,msgpack/msgpack-cli | cli/src/MsgPack/GlobalSuppressions.cs | cli/src/MsgPack/GlobalSuppressions.cs | #region -- License Terms --
//
// MessagePack for CLI
//
// Copyright (C) 2010 FUJIWARA, Yusuke
//
// 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.or... | apache-2.0 | C# | |
0e46b084886574a759a3d6a0a042a06ae4204fd1 | Add OptionBoard structure | sm00vik/QuikSharp,buybackoff/QuikSharp,finsight/QuikSharp | src/QuikSharp/DataStructures/OptionBoard.cs | src/QuikSharp/DataStructures/OptionBoard.cs |
using Newtonsoft.Json;
namespace QuikSharp.DataStructures
{
/// <summary>
/// OptionBoard structure
/// </summary>
public class OptionBoard
{
/// <summary>
/// Strike
/// </summary>
[JsonProperty("Strike")]
public int Strike { get; set; }
/// <summa... | apache-2.0 | C# | |
1defac6f73a8983b71bafb4b2f1ffc871db8f196 | Test case: dotnet classic project with packages.config | skolima/NuKeeper,AnthonySteele/NuKeeper,NuKeeperDotNet/NuKeeper,AnthonySteele/NuKeeper,skolima/NuKeeper,AnthonySteele/NuKeeper,NuKeeperDotNet/NuKeeper,AnthonySteele/NuKeeper,NuKeeperDotNet/NuKeeper,skolima/NuKeeper,skolima/NuKeeper,NuKeeperDotNet/NuKeeper | NuKeeper.Integration.Tests/NuGet/Process/NuGetUpdatePackageCommandTests.cs | NuKeeper.Integration.Tests/NuGet/Process/NuGetUpdatePackageCommandTests.cs | using System.IO;
using System.Threading.Tasks;
using NuGet.Versioning;
using NuKeeper.Configuration;
using NuKeeper.Inspection.RepositoryInspection;
using NuKeeper.Integration.Tests.NuGet.Api;
using NuKeeper.NuGet.Process;
using NUnit.Framework;
namespace NuKeeper.Integration.Tests.NuGet.Process
{
[TestFixture]
... | apache-2.0 | C# | |
96be7f3d0c001a74a997c4daca58fe09cf653f70 | Create NeilFifteen.cs | planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell | src/Firehose.Web/Authors/NeilFifteen.cs | src/Firehose.Web/Authors/NeilFifteen.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 NeilFifteen : IAmACommunityMember
{
public string FirstName => "Neil";
public string LastN... | mit | C# | |
7a9b42c571a07b5d56796020eae270d0384e713e | Create WaveManager.cs | highnet/Java-101,highnet/Java-101 | TowerTDAlpha/WaveManager.cs | TowerTDAlpha/WaveManager.cs | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class WaveManager : MonoBehaviour {
public Button nextWaveReadyButton;
void ClickedNextWaveReadyButton()
{
Debug.Log("Clicked");
if (GameObject.FindObjectOfType<Spawner>().spawnQu... | mit | C# | |
7a66fbb6c7d6b48c5456f5e2e9e3674e17ee660f | Introduce SharedDbField | pveller/Sitecore.FakeDb,sergeyshushlyapin/Sitecore.FakeDb | src/Sitecore.FakeDb.Tests/SharedDbFieldTest.cs | src/Sitecore.FakeDb.Tests/SharedDbFieldTest.cs | namespace Sitecore.FakeDb.Tests
{
using System.Collections.Generic;
using FluentAssertions;
using Ploeh.AutoFixture.Xunit2;
using Sitecore.Data;
using Xunit;
public class SharedDbFieldTest
{
[Theory, AutoData]
public void ShouldBeDbField(SharedDbField sut)
{
sut.Should().BeAssignableTo... | mit | C# | |
d6eee756ed75ac8222ece6336ae6965b0cb5d699 | Increase version number to 1.1 | SonarSource-VisualStudio/sonar-msbuild-runner,SonarSource/sonar-msbuild-runner,duncanpMS/sonar-msbuild-runner,SonarSource-VisualStudio/sonar-scanner-msbuild,dbolkensteyn/sonar-msbuild-runner,HSAR/sonar-msbuild-runner,SonarSource-VisualStudio/sonar-msbuild-runner,SonarSource-DotNet/sonar-msbuild-runner,SonarSource-Visua... | AssemblyInfo.Shared.cs | AssemblyInfo.Shared.cs | //-----------------------------------------------------------------------
// <copyright file="AssemblyInfo.Shared.cs" company="SonarSource SA and Microsoft Corporation">
// Copyright (c) SonarSource SA and Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the projec... | //-----------------------------------------------------------------------
// <copyright file="AssemblyInfo.Shared.cs" company="SonarSource SA and Microsoft Corporation">
// Copyright (c) SonarSource SA and Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the projec... | mit | C# |
6155b4e969ac55e941326b425d82d0f6eac8bb3b | Add AssertResolver class | danielverejan/.net-wepback-config,danielverejan/.net-wepback-config | App_Start/AssetResolver.cs | App_Start/AssetResolver.cs | using System.Web.Optimization;
using Backload.Bundles;
using System.Web.Caching;
using System.Web;
using Newtonsoft.Json;
using System.Diagnostics;
using System.IO;
using System.Collections;
using System.Collections.Generic;
namespace Northstar
{
class AssetCollection : Dictionary<string, string>
{
}
... | mit | C# | |
e658239ba32d56459e4b98650b77a3f18f7c32bd | Create Problem53.cs | fireheadmx/ProjectEuler,fireheadmx/ProjectEuler | Problems/Problem53.cs | Problems/Problem53.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Numerics;
namespace ProjectEuler
{
class Problem53
{
private Factorial fact;
private int upper;
public Problem53()
{
upper = 100;
fact = new Factorial(uppe... | mit | C# | |
17042f001ef60e5999a6b7e31c68076f2684c185 | Create empty folder | lizaamini/CSharpExercises | Sheet-9/Exercise9A.cs | Sheet-9/Exercise9A.cs | mit | C# | ||
96b6670d1fe2e3018acdfe8ee0dd98a0981b5f6f | Add mod benchmark | peppy/osu,ppy/osu,ppy/osu,peppy/osu-new,smoogipoo/osu,peppy/osu,smoogipoo/osu,smoogipooo/osu,NeoAdonis/osu,ppy/osu,NeoAdonis/osu,smoogipoo/osu,peppy/osu,NeoAdonis/osu | osu.Game.Benchmarks/BenchmarkMod.cs | osu.Game.Benchmarks/BenchmarkMod.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 BenchmarkDotNet.Attributes;
using osu.Game.Rulesets.Osu.Mods;
namespace osu.Game.Benchmarks
{
public class BenchmarkMod : BenchmarkTest
{
... | mit | C# | |
5dbd96ab425cc6e07ca8b3d3c3f7f1e7d87376b9 | Add a support for SYSTEM_LANGUAGE SCPI command | tparviainen/oscilloscope | SCPI/System/SYSTEM_LANGUAGE.cs | SCPI/System/SYSTEM_LANGUAGE.cs | namespace SCPI.System
{
public class SYSTEM_LANGUAGE : ICommand
{
public string Description => "Set or query the system language";
public string Command(params string[] parameters)
{
var cmd = ":SYSTem:LANGuage";
if (parameters.Length > 0)
{
... | mit | C# | |
36eff486b0bf7c9721a0407bda31b9d8249d1107 | Add extension method to prepend content to a TagHelperContent | daniel-kuon/BootstrapTagHelpers,daniel-kuon/BootstrapTagHelpers,daniel-kuon/BootstrapTagHelpers | BootstrapTagHelpers/src/BootstrapTagHelpers/TagHelperContentExtensions.cs | BootstrapTagHelpers/src/BootstrapTagHelpers/TagHelperContentExtensions.cs | namespace BootstrapTagHelpers {
using Microsoft.AspNet.Razor.Runtime.TagHelpers;
public static class TagHelperContentExtensions {
public static void Prepend(this TagHelperContent content, string value) {
if (content.IsEmpty)
content.SetContent(value);
else
... | mit | C# | |
5553285771cd6ebc1f359fe1b555955f8098d03a | Add Misc utilities class | tobyclh/UnityCNTK,tobyclh/UnityCNTK | Assets/UnityCNTK/HelperClasses/Ultilities.cs | Assets/UnityCNTK/HelperClasses/Ultilities.cs | using UnityEngine;
using CNTK;
using System;
using System.Linq;
using System.Collections.Generic;
using UnityEngine.Assertions;
using System.Linq.Expressions;
using System.Threading;
using System.Threading.Tasks;
namespace UnityCNTK
{
//Simple
public static class Ultilities
{
public... | mit | C# | |
6d1b64042bf753dfe06982bbd1aa58713ab4e35d | Fix hang in host tests due to test parallelization | PowerShell/PowerShellEditorServices | test/PowerShellEditorServices.Test.Host/AssemblyInfo.cs | test/PowerShellEditorServices.Test.Host/AssemblyInfo.cs | //
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
//
using Xunit;
// Disable test parallelization to avoid port reuse issues
[assembly: CollectionBehavior(DisableTestParallelization = true)]
| mit | C# | |
b78dc7599dd7f2e13cb3e2036e5f101a6358d3de | Add ExternalSdCardInfo class which can be used to get removable SD card information | wislon/xamarin-android-use-removable-sd-card | src/TestExternalSd/StorageClasses/ExternalSdCardInfo.cs | src/TestExternalSd/StorageClasses/ExternalSdCardInfo.cs | namespace TestExternalSd.StorageClasses
{
public static class ExternalSdCardInfo
{
private static string _path = null;
private static bool? _isWriteable;
private static FileSystemBlockInfo _fileSystemBlockInfo = null;
/// <summary>
/// Quick property you can check after initialising
... | mit | C# | |
f86baa92a01229c3426b3110f2dd869b641fbae8 | Create ShipSelector.cs | jon-lad/Battlefleet-Gothic | ShipSelector.cs | ShipSelector.cs | using UnityEngine;
using System.Collections;
public class ShipSelector : MonoBehaviour
{
GUIContent[] raceList;
GUIContent[] impShips;
GUIContent[] chaosShips;
private Popup p1Race;
private GUIStyle listStyle = new GUIStyle();
private void Start()
{
listStyle.normal.textColor = Color.white;
listStyle.on... | mit | C# | |
a1b02f445a665dee3014b1cc6d97b998e0bf9d81 | Add select methods | douglasPinheiro/Selenium-Webdriver-helpers | src/SeleniumWebdriverHelpers/SeleniumWebdriverHelpers/SelectExtensions.cs | src/SeleniumWebdriverHelpers/SeleniumWebdriverHelpers/SelectExtensions.cs | using OpenQA.Selenium;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SeleniumWebdriverHelpers
{
public static class SelectExtensions
{
public static IWebElement SelectElement(this IWebDriver browser, By by)
{
... | mit | C# | |
489caed17c718faf7e39f7fa5f0f188f69afcb62 | Validate Tag Helper registration system functionality. | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore | test/Microsoft.AspNet.Razor.Test/TagHelpers/TagHelperDescriptorProviderTest.cs | test/Microsoft.AspNet.Razor.Test/TagHelpers/TagHelperDescriptorProviderTest.cs | // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Linq;
using Microsoft.AspNet.Razor.TagHelpers;
using Xunit;
namespace Microsoft.AspNet.Razor.Test.TagHelpers
{
publi... | apache-2.0 | C# | |
f13bde68e665088021ee1db2c43565557b30b6e8 | Add test for catch hidden mod | smoogipooo/osu,UselessToucan/osu,UselessToucan/osu,UselessToucan/osu,peppy/osu-new,NeoAdonis/osu,peppy/osu,smoogipoo/osu,smoogipoo/osu,ppy/osu,ppy/osu,smoogipoo/osu,peppy/osu,NeoAdonis/osu,ppy/osu,peppy/osu,NeoAdonis/osu | osu.Game.Rulesets.Catch.Tests/TestSceneCatchModHidden.cs | osu.Game.Rulesets.Catch.Tests/TestSceneCatchModHidden.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 NUnit.Framework;
using osu.Framework.Allocation;
using osu.Framework.Testing;
using osu.Game.Beatmaps;
using os... | mit | C# | |
6841d1e632eeaf08ebb6c8461f5ec9bd17a622c5 | Add a new interface for the JobService. | domtheluck/yellowjacket,domtheluck/yellowjacket,domtheluck/yellowjacket,domtheluck/yellowjacket | YellowJacket/src/YellowJacket.Dashboard/Services/Interfaces/IJobService.cs | YellowJacket/src/YellowJacket.Dashboard/Services/Interfaces/IJobService.cs | // ***********************************************************************
// Copyright (c) 2017 Dominik Lachance
//
// 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, i... | mit | C# | |
daed27460c8f2b29349401d59ac4026f2fcf8e48 | Add simple user state class | ppy/osu,peppy/osu,UselessToucan/osu,peppy/osu-new,UselessToucan/osu,UselessToucan/osu,peppy/osu,smoogipooo/osu,NeoAdonis/osu,peppy/osu,smoogipoo/osu,NeoAdonis/osu,smoogipoo/osu,ppy/osu,smoogipoo/osu,NeoAdonis/osu,ppy/osu | osu.Game/Online/RealtimeMultiplayer/MultiplayerClientState.cs | osu.Game/Online/RealtimeMultiplayer/MultiplayerClientState.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.
namespace osu.Game.Online.RealtimeMultiplayer
{
public class MultiplayerClientState
{
public MultiplayerClientState(in long roomId)
{
... | mit | C# | |
35e8fb5737cb8ffcff5a94a8af3e178e6990a1da | Add ConsoleHelper.cs | WeihanLi/WeihanLi.Common,WeihanLi/WeihanLi.Common,WeihanLi/WeihanLi.Common | src/WeihanLi.Common/Helpers/ConsoleHelper.cs | src/WeihanLi.Common/Helpers/ConsoleHelper.cs | // Copyright (c) Weihan Li. All rights reserved.
// Licensed under the Apache license.
namespace WeihanLi.Common.Helpers;
public static class ConsoleHelper
{
public static void InvokeWithConsoleColor(Action action, ConsoleColor? foregroundColor,
ConsoleColor? backgroundColor = null)
{
Guard.N... | mit | C# | |
7e030e7280533cc74accbe95510c817381f9bd12 | Disable unit test parallelization | jskeet/gcloud-dotnet,googleapis/google-cloud-dotnet,googleapis/google-cloud-dotnet,jskeet/google-cloud-dotnet,googleapis/google-cloud-dotnet,jskeet/google-cloud-dotnet,jskeet/google-cloud-dotnet,jskeet/google-cloud-dotnet,jskeet/google-cloud-dotnet | apis/Google.Cloud.Spanner.Data/Google.Cloud.Spanner.Data.Tests/AssemblyInfo.cs | apis/Google.Cloud.Spanner.Data/Google.Cloud.Spanner.Data.Tests/AssemblyInfo.cs | // Copyright 2018 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... | apache-2.0 | C# | |
6a18468cc39147fcf58ce6d638358da044bb6029 | Create tablecontroller | maf-dosi/ModernDynamicData,maf-dosi/ModernDynamicData | src/ModernDynamicData.Host.Web/Controllers/TableController.cs | src/ModernDynamicData.Host.Web/Controllers/TableController.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNet.Mvc;
// For more information on enabling MVC for empty projects, visit http://go.microsoft.com/fwlink/?LinkID=397860
namespace ModernDynamicData.Host.Web.Controllers
{
public class TableControl... | mit | C# | |
c77919ca14b5a58e057dcd75179d20204de172f5 | Create abstract report to simplify creating reports | Kentico/KInspector,ChristopherJennings/KInspector,ChristopherJennings/KInspector,ChristopherJennings/KInspector,Kentico/KInspector,Kentico/KInspector,ChristopherJennings/KInspector,Kentico/KInspector | KenticoInspector.Core/AbstractReport.cs | KenticoInspector.Core/AbstractReport.cs | using KenticoInspector.Core.Models;
using System;
using System.Collections.Generic;
namespace KenticoInspector.Core
{
public abstract class AbstractReport : IReport
{
public string Codename => GetCodename(this.GetType());
public static string GetCodename(Type reportType) {
return ... | mit | C# | |
95665bab96b3e3e8354d383dedb992057d4ed129 | add change | 0x53A/PropertyChanged,Fody/PropertyChanged,user1568891/PropertyChanged | PropertyChanged.Fody/OnChangedMethod.cs | PropertyChanged.Fody/OnChangedMethod.cs | using Mono.Cecil;
public enum OnChangedTypes
{
NoArg,
BeforeAfter,
}
public class OnChangedMethod
{
public MethodReference MethodReference;
public OnChangedTypes OnChangedType;
} | mit | C# | |
ccb6a2097c1fd4f7162a86aef88ce06ee4870700 | Fix Rows xmldocs | doss78/SolrNet,vmanral/SolrNet,mausch/SolrNet,18098924759/SolrNet,erandr/SolrNet,18098924759/SolrNet,mausch/SolrNet,vladen/SolrNet,mausch/SolrNet,erandr/SolrNet,MetSystem/SolrNet,erandr/SolrNet,vladen/SolrNet,vladen/SolrNet,yonglehou/SolrNet,tombeany/SolrNet,yonglehou/SolrNet,chang892886597/SolrNet,doss78/SolrNet,drake... | SolrNet/Commands/Parameters/CommonQueryOptions.cs | SolrNet/Commands/Parameters/CommonQueryOptions.cs | using System.Collections.Generic;
namespace SolrNet.Commands.Parameters {
/// <summary>
/// Common, shared query options
/// </summary>
public class CommonQueryOptions {
/// <summary>
/// Common, shared query options
/// </summary>
public CommonQueryOptions() {
... | using System.Collections.Generic;
namespace SolrNet.Commands.Parameters {
/// <summary>
/// Common, shared query options
/// </summary>
public class CommonQueryOptions {
/// <summary>
/// Common, shared query options
/// </summary>
public CommonQueryOptions() {
... | apache-2.0 | C# |
adb5ff18f25349ae3ac15f486f4c5e33244027b3 | Remove unnecessary changes | karthiknadig/RTVS,karthiknadig/RTVS,AlexanderSher/RTVS,AlexanderSher/RTVS,MikhailArkhipov/RTVS,karthiknadig/RTVS,MikhailArkhipov/RTVS,AlexanderSher/RTVS,MikhailArkhipov/RTVS,AlexanderSher/RTVS,karthiknadig/RTVS,karthiknadig/RTVS,karthiknadig/RTVS,MikhailArkhipov/RTVS,MikhailArkhipov/RTVS,AlexanderSher/RTVS,karthiknadig... | src/Host/Broker/Impl/Security/Certificates.cs | src/Host/Broker/Impl/Security/Certificates.cs | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using System.Linq;
using System.Security.Cryptography;
using System.Security.Cryptography.X509Certificates;
using Microsoft.Common.Core;
namespace Microsoft.R.Host.... | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using System.Linq;
using System.Security.Cryptography;
using System.Security.Cryptography.X509Certificates;
using Microsoft.Common.Core;
namespace Microsoft.R.Host.... | mit | C# |
4d4b3ee01093ec5bb62815c83b92d2530807d82e | Create StringExtensions.cs | UnityCommunity/UnityLibrary | Assets/Scripts/Extensions/StringExtensions.cs | Assets/Scripts/Extensions/StringExtensions.cs | using UnityEngine;
using System.Globalization;
namespace UnityLibrary
{
public static class StringExtensions
{
public static Color ToColor(this string hex) {
hex = hex.Replace("0x", "");
hex = hex.Replace("#", "");
byte a = 255;
byte r = byte.Parse(hex.S... | mit | C# | |
18428cf794bdb07e5f72220b414e19b2b1893592 | Improve TypeEntry.ToString | drewnoakes/servant | Servant/TypeEntry.cs | Servant/TypeEntry.cs | #region License
//
// Servant
//
// Copyright 2016-2017 Drew Noakes
//
// 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
//
//... | #region License
//
// Servant
//
// Copyright 2016-2017 Drew Noakes
//
// 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
//
//... | apache-2.0 | C# |
84cedfa45d662a5aaabb0ff13b4b44443fc1715f | Create demo.cshtml | dncuug/dot-net.in.ua,dncuug/dot-net.in.ua,dncuug/dot-net.in.ua | src/WebSite/Views/Content/demo.cshtml | src/WebSite/Views/Content/demo.cshtml | @section head {
<meta property="og:title" content="@ViewData["Title"]" />
<meta property="og:type" content="website" />
<meta property="og:url" content="@Core.Settings.Current.WebSiteUrl" />
<meta property="og:image" content="@Core.Settings.Current.FacebookImage" />
<meta property="og:description" c... | mit | C# | |
605dcb82f087b966544b654ddcf0b2a69496a1c2 | Include non state in states to fix in fix state migration | VoidPointerAB/n2cms,EzyWebwerkstaden/n2cms,DejanMilicic/n2cms,bussemac/n2cms,nimore/n2cms,nicklv/n2cms,n2cms/n2cms,VoidPointerAB/n2cms,bussemac/n2cms,nicklv/n2cms,bussemac/n2cms,nicklv/n2cms,n2cms/n2cms,n2cms/n2cms,bussemac/n2cms,nimore/n2cms,SntsDev/n2cms,bussemac/n2cms,nicklv/n2cms,SntsDev/n2cms,nimore/n2cms,nimore/n... | src/Mvc/MvcTemplates/N2/Installation/FixStateMigration.cs | src/Mvc/MvcTemplates/N2/Installation/FixStateMigration.cs | using System.Linq;
using N2.Edit.Installation;
using N2.Persistence;
namespace N2.Management.Installation
{
[N2.Engine.Service(typeof(AbstractMigration))]
public class FixStateMigration : AbstractMigration
{
IRepository<ContentItem> repository;
public FixStateMigration(IRepository<ContentItem> repository)
{... | using System.Linq;
using N2.Edit.Installation;
using N2.Persistence;
namespace N2.Management.Installation
{
[N2.Engine.Service(typeof(AbstractMigration))]
public class FixStateMigration : AbstractMigration
{
IRepository<ContentItem> repository;
public FixStateMigration(IRepository<ContentItem> repository)
{... | lgpl-2.1 | C# |
0117d05f6253531861b091a1fb72705220a5c924 | Disable test parallelization in sqlserver functional tests | rapidcore/rapidcore,rapidcore/rapidcore | src/sqlserver/test-functional/Properties/AssemblyInfo.cs | src/sqlserver/test-functional/Properties/AssemblyInfo.cs | using Xunit;
[assembly: CollectionBehavior(DisableTestParallelization = true)]
| mit | C# | |
b6349dd7787634204a69743109008de1630161aa | Add IHierarchicalEntity | mehrandvd/Tralus,mehrandvd/Tralus | Framework/Source/Tralus.Framework.BusinessModel/Entities/IHierarchyEntity.cs | Framework/Source/Tralus.Framework.BusinessModel/Entities/IHierarchyEntity.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DevExpress.Persistent.Base.General;
namespace Tralus.Framework.BusinessModel.Entities
{
public interface IHierarchyEntity : IHCategory, ITreeNodeImageProvider
{
}
}
| apache-2.0 | C# | |
31addfeb0486c127acf4aef2e8dd2c3941e049d7 | add skipversion, eventhough this API existed it was undocumented prior to 5.4 | CSGOpenSource/elasticsearch-net,CSGOpenSource/elasticsearch-net,CSGOpenSource/elasticsearch-net,elastic/elasticsearch-net,elastic/elasticsearch-net | src/Tests/Document/Single/SourceExists/SourceExistsApiTests.cs | src/Tests/Document/Single/SourceExists/SourceExistsApiTests.cs | using System;
using System.Collections.Generic;
using Elasticsearch.Net;
using FluentAssertions;
using Nest;
using Tests.Framework;
using Tests.Framework.Integration;
using Tests.Framework.ManagedElasticsearch.Clusters;
using Tests.Framework.ManagedElasticsearch.NodeSeeders;
using Tests.Framework.MockData;
using Xunit... | apache-2.0 | C# | |
b6c45de7257580efe0c1bf7e0f4bf0ae59dd490d | add npm packages tests | lvermeulen/ProGet.Net | test/ProGet.Net.Tests/Native/NpmPackages/ProGetClientShould.cs | test/ProGet.Net.Tests/Native/NpmPackages/ProGetClientShould.cs | using System.Threading.Tasks;
using Xunit;
// ReSharper disable CheckNamespace
namespace ProGet.Net.Tests
{
public partial class ProGetClientShould
{
[Fact]
public async Task NpmPackages_GetPackageAsync()
{
var result = await _client.NpmPackages_GetPackageAsync(4, "express... | mit | C# | |
bac2f145690dae22ad1595012c9f0cf1b00439d5 | Create ExeptionMessages class | stoyanov7/SoftwareUniversity,stoyanov7/SoftwareUniversity,stoyanov7/SoftwareUniversity,stoyanov7/SoftwareUniversity | C#Development/BashSoft/BashSoft/Exceptions/ExceptionMessages.cs | C#Development/BashSoft/BashSoft/Exceptions/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... | mit | C# | |
da3774f988d2c77dd21e647320c41e9d302122ff | Fix date nouveau tournoi | Tri125/lama,Lan-Manager/lama | Lama/UI/UC/Creation/InformationsGeneralesView.xaml.cs | Lama/UI/UC/Creation/InformationsGeneralesView.xaml.cs | using Lama.UI.Win;
using System;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Input;
using System.Windows.Threading;
namespace Lama.UI.UC.Creation
{
/// <summary>
/// Logique d'interaction pour InformationsGeneralesView.xaml
/// </summary>
public partial class Informations... | using Lama.UI.Win;
using System;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Input;
using System.Windows.Threading;
namespace Lama.UI.UC.Creation
{
/// <summary>
/// Logique d'interaction pour InformationsGeneralesView.xaml
/// </summary>
public partial class Informations... | mit | C# |
0e24d93b5b9f351f1cbe15b33d7b162452777e6a | Create GameObjectMove.cs | drawcode/labs-unity | gameobjects/GameObjectMove.cs | gameobjects/GameObjectMove.cs | using UnityEngine;
using System.Collections;
public class GameObjectMove : MonoBehaviour {
public float translationSpeedX = 0f;
public float translationSpeedY = 1f;
public float translationSpeedZ = 0f;
public bool local = true;
public void Start() {
}
public void Update() {
... | mit | C# | |
08814777ed01ea98ce33cbec9c63bcba5df2407b | Add worker threads | jezell/iserviceoriented,tdrake/iserviceoriented | IServiceOriented.ServiceBus.UnitTests/TestWorkerThreads.cs | IServiceOriented.ServiceBus.UnitTests/TestWorkerThreads.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NUnit.Framework;
using IServiceOriented.ServiceBus.Threading;
using System.Threading;
namespace IServiceOriented.ServiceBus.UnitTests
{
[TestFixture]
public class TestWorkerThreads
{
[Test]
public ... | mit | C# | |
9a7d0e489cf726f00379917cd507839d5fe56725 | add spring constraint to linkset constraint types. | M-O-S-E-S/opensim,ft-/arribasim-dev-tests,TomDataworks/opensim,BogusCurry/arribasim-dev,Michelle-Argus/ArribasimExtract,justinccdev/opensim,ft-/arribasim-dev-tests,RavenB/opensim,OpenSimian/opensimulator,ft-/opensim-optimizations-wip,ft-/opensim-optimizations-wip-extras,ft-/arribasim-dev-extras,TomDataworks/opensim,Mic... | OpenSim/Region/Physics/BulletSPlugin/BSConstraintSpring.cs | OpenSim/Region/Physics/BulletSPlugin/BSConstraintSpring.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# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.