content stringlengths 5 1.04M | avg_line_length float64 1.75 12.9k | max_line_length int64 2 244k | alphanum_fraction float64 0 0.98 | licenses list | repository_name stringlengths 7 92 | path stringlengths 3 249 | size int64 5 1.04M | lang stringclasses 2
values |
|---|---|---|---|---|---|---|---|---|
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Diagnostics.CodeAnalysis;
using System.Security.AccessControl;
using System.Security.Principal;
using Microsoft.Protocols.TestTools;
using M... | 43.432473 | 156 | 0.617916 | [
"MIT"
] | G-arj/WindowsProtocolTestSuites | TestSuites/FileServer/src/FSA/Adapter/SmbTransportAdapter.cs | 57,246 | C# |
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace IdxSistemas.Models
{
[Table("ENTRADA_ANTECIPADA")]
public class EntradaAntecipada : BaseModel
{
[Required]
[MaxLength(8)]
public string NotaFiscal { get; set; }
... | 23.275362 | 60 | 0.57721 | [
"Unlicense"
] | IDX-Sistemas/S4-Varejo-Backend | Models/Models/EntradaAntecipada.cs | 1,606 | C# |
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xamarin.Forms;
namespace CalendarsTester.Converters
{
public class EnumToIntConverter : IValueConverter
{
public object Convert(object value, Type targe... | 25.125 | 103 | 0.694859 | [
"MIT"
] | TheAlmightyBob/CalendarsTester | CalendarsTester/CalendarsTester/Converters/EnumToIntConverter.cs | 605 | C# |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("In... | 38.405405 | 84 | 0.749472 | [
"EPL-1.0",
"BSD-3-Clause"
] | Kentalot/intervaltree | IntervalTreeLib/Properties/AssemblyInfo.cs | 1,424 | C# |
using Discord;
using Discord.Commands;
using Discord.WebSocket;
using WizBot.Common.Attributes;
using WizBot.Modules.Gambling.Common;
using WizBot.Extensions;
using WizBot.Modules.Gambling.Common.Connect4;
using WizBot.Modules.Gambling.Services;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using... | 40.414286 | 151 | 0.480853 | [
"MIT"
] | Wizkiller96/WizBot | src/WizBot/Modules/Gambling/Connect4Commands.cs | 8,497 | C# |
using CamnLib.DbModels;
namespace CamnLib
{
public class InMemoryLog
{
private readonly System.Collections.Concurrent.ConcurrentQueue<UserAction> queue = new System.Collections.Concurrent.ConcurrentQueue<UserAction>();
public void Log(UserAction action)
{
queue.Enqueue(action);
}
publ... | 17.466667 | 151 | 0.637405 | [
"MIT"
] | dnvgithub/camn | CamnLib/InMemoryLog.cs | 526 | C# |
using OpenTK;
namespace ChronosEngine.Interfaces {
public interface ICamera {
#region Methods
/// <summary>
/// Updates this camera
/// </summary>
/// <param name="time">
/// A <see cref="System.Double"/> containg the amount of time since the last update
/// </param>
void Update(double time);
voi... | 24.511111 | 85 | 0.655485 | [
"BSD-2-Clause"
] | chronium/ChronosEngine | ChronosEngine/Interfaces/ICamera.cs | 1,105 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using System.Text.RegularExpressions;
namespace Dejkstra
{
class Program
{
static void Main()
{
StreamReader sr = new StreamReader("file.in");
StreamWriter sw = new Str... | 29.744186 | 165 | 0.311181 | [
"MIT"
] | simeonovanton/TelerikALPHA_nov2017 | 05.DSA/Graphs/Dijkstra.cs | 2,558 | C# |
using System.Collections.Generic;
using System.Linq;
namespace Fare
{
/// <summary>
/// Special automata operations.
/// </summary>
internal static class SpecialOperations
{
/// <summary>
/// Reverses the language of the given (non-singleton) automaton while returning the set of
... | 29.054545 | 100 | 0.491865 | [
"MIT"
] | karoldeland/AutoFixture | Src/AutoFixture/Fare/SpecialOperations.cs | 1,600 | C# |
using System;
using System.Linq;
using System.Text;
using EventStore.Core.Data;
using EventStore.Core.Tests;
using EventStore.Projections.Core.Messages;
using NUnit.Framework;
using ResolvedEvent = EventStore.Projections.Core.Services.Processing.ResolvedEvent;
using EventStore.Projections.Core.Services;
namespace Even... | 38.208955 | 151 | 0.743359 | [
"Apache-2.0",
"CC0-1.0"
] | BearerPipelineTest/EventStore | src/EventStore.Projections.Core.Tests/Services/core_projection/when_the_projection_with_pending_writes_is_stopped.cs | 2,560 | C# |
using Ship;
using System;
using System.Collections.Generic;
using System.Linq;
using Tokens;
using UnityEngine;
namespace RulesList
{
public class EndPhaseCleanupRule
{
public EndPhaseCleanupRule()
{
SubscribeEvents();
}
private void SubscribeEvents()
{
... | 29.972222 | 128 | 0.579549 | [
"MIT"
] | belk/FlyCasual | Assets/Scripts/Model/Rules/RulesList/EndPhaseCleanupRule.cs | 3,239 | C# |
using NFluent;
using NUnit.Framework;
using pbrt.Core;
using pbrt.Media;
namespace Pbrt.Tests.Core
{
[TestFixture]
public class RayTests
{
[Test]
public void BasicTest()
{
var o = new Point3F(1.23f, 2.34f, 3.45f);
var d = new Vector3F(1, 0, -1);
v... | 32.910714 | 105 | 0.526858 | [
"Unlicense"
] | fremag/pbrt | pbrt/Pbrt.Tests/Core/RayTests.cs | 1,843 | C# |
using UnityEngine;
using UnityEngine.Rendering;
public class ChromaticAberrationEffect : MonoBehaviour
{
public static ChromaticAberrationEffect Instance { get; private set; }
private Volume volume;
private void Awake()
{
Instance = this;
volume = GetComponent<Volume>();
}
... | 19.633333 | 74 | 0.606112 | [
"MIT"
] | rafaelalma92/malaga-jam-21 | MálagaJam21/Assets/Scripts/Managers/ChromaticAberrationEffect.cs | 591 | C# |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by \generate-code.bat.
//
// Changes to this file will be lost when the code is regenerated.
// The build server regenerates the code before each build and a pre-build
// step ... | 49.899151 | 317 | 0.652782 | [
"MIT-feh"
] | mikepharesjr/UnitsNet | UnitsNet/GeneratedCode/Quantities/CoefficientOfThermalExpansion.g.cs | 47,018 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for details.
using MyDriving.DataObjects;
namespace MyDriving.DataStore.Abstractions
{
public interface ITripStore : IBaseStore<Trip>
{
}
} | 27 | 85 | 0.727273 | [
"MIT"
] | 04diiguyi/openhack-devops-team | MobileApps/MyDriving/MyDriving.DataStore.Abstractions/ITripStore.cs | 299 | C# |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
using Halcyon.HAL.Attributes;
using Threax.AspNetCore.Halcyon.Ext;
namespace DevApp.InputModels
{
public partial class ValueInput
{
//You can add your own custom... | 28.375 | 105 | 0.768722 | [
"Apache-2.0"
] | threax/AspNetCore.Swashbuckle.Convention | src/DevApp/InputModels/ValueInput.cs | 454 | C# |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
using Microsoft.Extensions.Logging;
namespace exploitation_csrf.Ar... | 33.821782 | 129 | 0.591335 | [
"MIT"
] | PacktPublishing/Writing-Secure-Code-in-ASP.NET | cross_site_request_forgery/exploitation_csrf/exploitation_csrf/Areas/Identity/Pages/Account/Manage/ChangePassword.cshtml.cs | 3,416 | C# |
// <auto-generated />
using System;
using FlashTest.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
n... | 37.043288 | 125 | 0.446423 | [
"MIT"
] | sagarshelkeneo/client_flashtest | aspnet-core/src/FlashTest.EntityFrameworkCore/Migrations/20200604091046_Upgraded_To_Abp_5_9.Designer.cs | 67,606 | C# |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using xavierHTML.CSS;
using xavierHTML.CSS.Style;
using xavierHTML.DOM;
using xavierHTML.DOM.Elements;
using xavierHTML.Layout;
using xavierHTML.Layout.BoxModel;
namespace Surf.Rasterization
{
public class DisplayList : IR... | 28.339623 | 97 | 0.536951 | [
"BSD-3-Clause"
] | chances/surf | Surf/Rasterization/DisplayList.cs | 3,004 | C# |
using System;
using System.Collections.Generic;
using System.Maui;
using NUnit.Framework;
namespace System.Maui.Xaml.UnitTests.A
{
public partial class Bz31234 : ContentPage
{
public Bz31234 ()
{
InitializeComponent ();
}
public Bz31234 (bool useCompiledXaml)
{
//this stub will be replaced at comp... | 16.181818 | 48 | 0.689139 | [
"MIT"
] | AswinPG/maui | System.Maui.Xaml.UnitTests/Issues/Bz31234/A/Bz31234.xaml.cs | 534 | C# |
using System;
namespace Session04.OnionArchitecture.Core.Contracts
{
public class Class1
{
}
}
| 12.111111 | 52 | 0.697248 | [
"Apache-2.0"
] | IMICTO/dotnetcore3 | Session04/Session04.OnionArchitecture/Session04.OnionArchitecture.Core.Contracts/Class1.cs | 111 | C# |
using System;
using System.Runtime.InteropServices;
using System.Text;
using ApiHooker.Utils;
namespace ApiHooker
{
public class ProcessManager
{
protected ProcessManager() { }
public ProcessInformation ProcessInformation { get; protected set; }
public System.Diagnostics.Pr... | 41.505376 | 169 | 0.640155 | [
"MIT"
] | koczkatamas/apihooker | WindowsController/Process/ProcessManager.cs | 3,860 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class PenguinKingStats : MonoBehaviour
{
public Camera mcamera;
public GameObject pkdamagetext;
GameObject penguinking;
GameObject pkbody;
public float startingHealth = 100;
public flo... | 20.833333 | 82 | 0.621474 | [
"MIT"
] | nitrogendragon/2017-Capstone | Assets/BoardGameScripts/Enemystats/PenguinKingStats.cs | 2,377 | C# |
using System;
using System.Runtime.Serialization;
using Newtonsoft.Json;
namespace Schema.NET
{
/// <summary>
/// A video file.
/// </summary>
[DataContract]
public partial class VideoObject : MediaObject
{
public interface IMusicBy : IWrapper { }
public interface IMusicBy<T> : ... | 39.134021 | 174 | 0.587724 | [
"MIT"
] | AndreSteenbergen/Schema.NET | Source/Schema.NET/core/VideoObject.cs | 3,796 | C# |
// <auto-generated />
namespace CustomMembershipSample.Migrations
{
using System.CodeDom.Compiler;
using System.Data.Entity.Migrations;
using System.Data.Entity.Migrations.Infrastructure;
using System.Resources;
[GeneratedCode("EntityFramework.Migrations", "6.1.0-30225")]
public sealed part... | 27.166667 | 90 | 0.619632 | [
"Apache-2.0"
] | ASCITSOL/asp.net | samples/aspnet/Identity/CustomMembershipSample/CustomMembershipSample/Migrations/201403242318260_initial.Designer.cs | 815 | C# |
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.IO;
using NuGet.ProjectModel;
namespace Test.Utility.ProjectManagement
{
public static class DependencyGraphSpecTestUtilities
{
... | 39.655172 | 113 | 0.708696 | [
"Apache-2.0"
] | AntonC9018/NuGet.Client | test/TestUtilities/Test.Utility/ProjectManagement/DependencyGraphSpecTestUtilities.cs | 1,150 | C# |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information
#region Usings
using System.Collections;
using System.Web.Caching;
using DotNetNuke.Services.Cache;
#endregio... | 39.297619 | 109 | 0.351863 | [
"MIT"
] | Tychodewaard/Dnn.Platform | DNN Platform/Library/Common/Utilities/CacheItemArgs.cs | 6,604 | C# |
using System;
using NBitcoin;
using Stratis.Bitcoin.Features.Wallet.Helpers;
using Xunit;
namespace Stratis.Bitcoin.Features.Wallet.Tests
{
public class WalletHelpersTest
{
[Fact]
public void GetMainNetworkRetuirnsNetworkMain()
{
Network network = WalletHelpers.GetNetwork("... | 29.052632 | 90 | 0.604469 | [
"MIT"
] | obsidianplatform/ObsidianStratisNode | src/Stratis.Bitcoin.Features.Wallet.Tests/WalletHelpersTest.cs | 1,658 | C# |
using System;
namespace RandomNumbersAngular.Authentication.External
{
public class ExternalLoginProviderInfo
{
public string Name { get; set; }
public string ClientId { get; set; }
public string ClientSecret { get; set; }
public Type ProviderApiType { get; set; }
p... | 24.958333 | 113 | 0.629382 | [
"MIT"
] | nesumtoj/RandomNumbersJS | aspnet-core/src/RandomNumbersAngular.Web.Core/Authentication/External/ExternalLoginProviderInfo.cs | 601 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
using System.Collections;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using A... | 56.162534 | 286 | 0.652327 | [
"MIT"
] | ElleTojaroon/azure-sdk-for-net | sdk/servicebus/Azure.ResourceManager.ServiceBus/src/Generated/ServiceBusSubscriptionCollection.cs | 20,387 | C# |
using System.Collections.Generic;
using System.Linq;
using FluentAssertions;
using Legion.Core.Messages.InMemory;
using Xunit;
namespace Legion.Core.Test.Messages.InMemory
{
public class InMemoryMessageStoreTest
{
[Fact]
public void StoredMessagesCanBeRetrieved()
{
var t... | 36.204082 | 82 | 0.619504 | [
"MIT"
] | Useurmind/Legion | Legion.Core.Test/Messages/InMemory/InMemoryMessageStoreTest.cs | 1,776 | C# |
// <auto-generated />
using System;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
using MovieDeckApi.Data;
namespace Mov... | 37.599338 | 125 | 0.469397 | [
"MIT"
] | Iceto04/SoftUni | ASP.NET Core/05. Web API/MovieDeckApi/MovieDeckApi/Data/Migrations/20220611162144_InitialCreate.Designer.cs | 11,357 | C# |
using StreamlineMVVM;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Media.Imaging;
namespace CatPersonSearcher
{
public class CatModel : ViewModelBase
{
// --------------------------... | 25.74359 | 76 | 0.500996 | [
"MIT"
] | pvpxan/CatPersonSearcher | CatPersonSearcher/Models/CatModel.cs | 1,006 | C# |
// <auto-generated>
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.
// </auto-generated>
namespace UiPath.Web.Client20184.Models
{
using Newtonsoft.Json;
using System.Linq;
public partial class ODataQueryOp... | 34.73913 | 685 | 0.59975 | [
"MIT"
] | AFWberlin/orchestrator-powershell | UiPath.Web.Client/generated20184/Models/ODataQueryOptionsJobDto.cs | 3,995 | C# |
using OpenQA.Selenium;
using SeleniumWebdriver.ComponentHelper;
using SeleniumWebdriver.CustomException;
using SeleniumWebdriver.ExcelReader;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SeleniumWebdriver.Keyword
{
public class DataE... | 42.388889 | 119 | 0.564613 | [
"BSD-3-Clause"
] | thaotrant/SeleniumWebdriver | Keyword/DataEngine.cs | 3,817 | C# |
using FlatRedBall.Glue.CodeGeneration;
using FlatRedBall.Glue.CodeGeneration.CodeBuilder;
using FlatRedBall.Glue.Plugins.ExportedImplementations;
using FlatRedBall.Glue.SaveClasses;
using FlatRedBall.IO;
using Gum.DataTypes;
using GumPluginCore.CodeGeneration;
using System;
using System.Collections.Generic;
using Syst... | 37.101167 | 125 | 0.584583 | [
"MIT"
] | coldacid/FlatRedBall | FRBDK/Glue/GumPlugin/GumPlugin/CodeGeneration/GumPluginCodeGenerator.cs | 9,537 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
namespace Luizalabs.Challenge.Core
{
public class Product : Entity
{
private IList<Review> _reviews;
public Product() : base()
{
_reviews = new List<Review>();
}
public string Title { get; ... | 23.677419 | 63 | 0.581744 | [
"Apache-2.0"
] | juloliveira/luizalabs | src/Luizalabs.Challenge/Luizalabs.Challenge.Core/Product.cs | 736 | C# |
#if DEBUG && !PROFILE_SVELTO
#define CHECK_ALL
#endif
using Svelto.DataStructures;
using System;
using System.Collections.Generic;
using System.Diagnostics;
namespace Svelto.ECS {
/// <summary>
/// Note: this check doesn't catch the case when an add and remove is done on the same entity before the nextI a... | 56.38961 | 121 | 0.562414 | [
"MIT"
] | The-Paladin-Forge-Studio/Svelto-ECS-Filters | Svelto.ECS/Svelto.ECS/CheckEntityUtilities.cs | 4,344 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Numerics;
namespace _016_Power_Digit_Sum
{
class Program
{
static void Main(string[] args)
{
//2^15 = 32768 and the sum of its digits is 3 + 2 + 7 + 6 + ... | 24.146341 | 79 | 0.486869 | [
"MIT"
] | HunterCarlson/ProjectEuler | Problems/016 Power Digit Sum/Program.cs | 992 | C# |
using System.Collections.Generic;
using System.Drawing;
using System.Net.Http;
using System.Web.Http.Routing;
namespace Kontur.ImageTransformer.Constraints
{
/// <inheritdoc />
/// <summary>
/// Constrains a route parameter to represent only Transform values: rotate-cw, rotate-ccw, flip-v, flip-h
///... | 34.177778 | 111 | 0.551365 | [
"MIT"
] | alldevic/qwe | Kontur.ImageTransformer/Constraints/TransformConstraint.cs | 1,540 | C# |
/*
* Ory Kratos
*
* Welcome to the ORY Kratos HTTP API documentation!
*
* The version of the OpenAPI document: v0.5.4-alpha.1
*
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
using System;
using System.Linq;
using System.IO;
using System.Text;
using System.Text.RegularExpressions;
... | 40.951872 | 235 | 0.577305 | [
"Apache-2.0"
] | UkonnRa/sdk | clients/kratos/dotnet/src/Ory.Kratos.Client/Model/KratosRecoveryFlowMethodConfig.cs | 7,658 | C# |
using System.Configuration;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using Antlr.Runtime.Misc;
using Microsoft.Ajax.Utilities;
namespace WS.FrontEnd.WebApi.Infrastucture.Extensions
{
public static class ActionVerbConfigService
{
private static string VerbsDisabledSetting { get; ... | 26.434783 | 85 | 0.580592 | [
"MIT"
] | emir01/Web-Shop | Source/Solution/WS/FrontEnd/WS.FrontEnd.WebApi/Infrastucture/Extensions/ActionVerbConfigService.cs | 1,218 | C# |
using System.IO;
using Xunit;
namespace SkiaSharp.Extended.Tests
{
public class SKBlurHashTest
{
public const string Image1 = "LLHV6nae2ek8lAo0aeR*%fkCMxn%";
public const string Image1_8x6 = "qLHV6nae2ek8w^xbjYR*lAo0aeR*-6s:NeWB%fkCMxn%xuS2NHs.ShRj$%xaI;R%n$a$W?oeoJR+W:aes:xaofaxj[bHoLo0R*WW";
public const st... | 34.205882 | 138 | 0.72055 | [
"MIT"
] | 8529447889/SkiaSharp.Extended | tests/SkiaSharp.Extended.Tests/BlurHash/SKBlurHashTest.cs | 1,165 | C# |
/*
* Copyright 2010-2014 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "l... | 29.080645 | 108 | 0.645591 | [
"Apache-2.0"
] | GitGaby/aws-sdk-net | sdk/src/Services/WorkSpaces/Generated/Model/DeleteIpGroupRequest.cs | 1,803 | C# |
// <copyright file="HistoryNotificationsController.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
// </copyright>
namespace Microsoft.Teams.Apps.CompanyCommunicator.Controllers
{
using System;
using System.Linq;
using System.Threading.Tasks;
using M... | 44.033898 | 144 | 0.705928 | [
"MIT"
] | engagesquared/microsoft-teams-apps-company-communicator | Source/CompanyCommunicator/Controllers/HistoryNotificationsController.cs | 2,600 | C# |
// Copyright 2021 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | 55.862434 | 556 | 0.678253 | [
"Apache-2.0"
] | GraphikaPS/google-ads-dotnet | src/V6/Services/InvoiceServiceClient.g.cs | 21,116 | C# |
#region PDFsharp - A .NET library for processing PDF
//
// Authors:
// Stefan Lange
//
// Copyright (c) 2005-2019 empira Software GmbH, Cologne Area (Germany)
//
// http://www.pdfsharp.com
// http://sourceforge.net/projects/pdfsharp
//
// Permission is hereby granted, free of charge, to any person obtaining a
// copy... | 38.642005 | 198 | 0.518498 | [
"MIT"
] | marcindawidziuk/PikaPDF | src/PikaPDF.Core/Pdf/PdfOutline.cs | 32,392 | C# |
/***
Copyright (C) 2018-2019. dc-koromo. All Rights Reserved.
Author: Koromo Copy Developer
***/
using Etier.IconHelper;
using Koromo_Copy.Component.Hitomi;
using Koromo_Copy.Controls;
using Koromo_Copy.Fs;
using Koromo_Copy.Fs.FileIcon;
using System;
using System.Collections.Generic;
using System.Drawing... | 39.695825 | 163 | 0.507938 | [
"MIT"
] | Terkiss/Koromo-Copy | Koromo Copy/Utility/HitomiExplorer.cs | 20,115 | C# |
using System;
using System.Collections.Generic;
namespace ObjectMapper.Tests.TestClasses
{
public class PersonModel
{
public int Id { get; set; }
public string Name { get; set; }
public DateTime CreatedOn { get; set; }
public DateTime? LastUpdatedOn { get; set; }
public... | 31.652174 | 52 | 0.603022 | [
"MIT"
] | JonHaywood/ObjectMapper | source/ObjectMapper.Tests/TestClasses/PersonModel.cs | 730 | C# |
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Reflection;
using System.Text.RegularExpressions;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
namespace Nest
{
internal class AggregateJsonConverter : JsonConverter
{
private static readonly Regex _n... | 28.590909 | 137 | 0.68336 | [
"Apache-2.0"
] | Henr1k80/elasticsearch-net | src/Nest/Aggregations/AggregateJsonConverter.cs | 22,646 | C# |
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fi... | 37.256579 | 161 | 0.600918 | [
"Apache-2.0"
] | ChristopherButtars/aws-sdk-net | sdk/src/Services/MTurk/Generated/Model/Internal/MarshallTransformations/UpdateQualificationTypeRequestMarshaller.cs | 5,663 | C# |
namespace DotNetInterceptTester.My_System.Xml.XmlDocument
{
public class InsertBefore_System_Xml_XmlDocument_System_Xml_XmlNode_System_Xml_XmlNode
{
public static bool _InsertBefore_System_Xml_XmlDocument_System_Xml_XmlNode_System_Xml_XmlNode( )
{
//Parameters
System.Xml.XmlNode newChild = null;
System... | 24.040816 | 127 | 0.712224 | [
"MIT"
] | SecurityInnovation/Holodeck | Test/Automation/DotNetInterceptTester/DotNetInterceptTester/System.Xml.XmlDocument.InsertBefore(XmlNode, XmlNode).cs | 1,178 | C# |
using System;
using System.IO;
using System.Collections.Generic;
namespace Prism.Modularity
{
/// <summary>
/// Loads modules from an arbitrary location on the filesystem. This typeloader is only called if
/// <see cref="ModuleInfo"/> classes have a Ref parameter that starts with "file://".
/// Thi... | 38.841584 | 190 | 0.588708 | [
"Apache-2.0"
] | WertherHu/Prism | Source/Wpf/Prism.Wpf/Modularity/FileModuleTypeLoader.Desktop.cs | 7,846 | C# |
using System;
using System.Collections.Generic;
using System.IO.Abstractions;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Urunium.Stitch.ModuleTransformers
{
public class DefaultModuleTransformer : IModuleTransformer
{
IFileSystem _fileSystem;
public DefaultM... | 34.962264 | 148 | 0.549379 | [
"MIT"
] | urunium/Urunium.Stitch | src/Urunium.Stitch/ModuleTransformers/DefaultModuleTransformer.cs | 1,855 | C# |
// -----------------------------------------------------------------------
// <copyright file="NotificationController.cs" company="Microsoft Corporation">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
// -----------------------------------------------------------------------
u... | 34.833333 | 97 | 0.574163 | [
"MIT"
] | Lauragra/aspnet-security-api-sample | V3.0/MicrosoftGraph_Security_API_Sample/Models/Responses/SecurityActionResponse.cs | 838 | C# |
using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Numerics;
namespace Tasks
{
public class A
{
public static void Main(string[] args)
{
var sw = new StreamWriter(Console.OpenStandardOutput()) { AutoFlush = fals... | 39.34 | 158 | 0.50788 | [
"CC0-1.0"
] | AconCavy/AtCoder.Tasks.CS | Other/CODE-FESTIVAL-2018-QUALA/Tasks/A.cs | 1,967 | C# |
using System.Collections.Generic;
using System.Collections.ObjectModel;
namespace BeerApp.Areas.HelpPage.ModelDescriptions
{
public class ParameterDescription
{
public ParameterDescription()
{
Annotations = new Collection<ParameterAnnotation>();
}
public Collection<... | 25.619048 | 80 | 0.674721 | [
"Unlicense"
] | Saturnno/BeerAppApi | BeerApp/Areas/HelpPage/ModelDescriptions/ParameterDescription.cs | 538 | C# |
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------
/... | 40.409091 | 163 | 0.618298 | [
"MIT"
] | Aliases/msgraph-sdk-dotnet | src/Microsoft.Graph/Generated/requests/GraphServiceGroupSettingTemplatesCollectionRequestBuilder.cs | 2,667 | C# |
#region
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using WinterLeaf.Engine;
using WinterLeaf.Engine.Classes;
using WinterLeaf.Engine.Containers;
using WinterLeaf.Engine.Enums;
using System.ComponentModel;
using System.Threading;
using WinterLeaf.Engine.Classe... | 29.947266 | 122 | 0.566295 | [
"MIT",
"Unlicense"
] | RichardRanft/OmniEngine.Net | Templates/C#-Full-Ded/WinterLeaf.Demo.Full.Dedicated/Models.Base/GroundCover_Base.cs | 14,822 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using HoloToolkit.Unity.InputModule;
public class ButtonAppearance : MonoBehaviour, IFocusable {
// Use this for initialization
public Sprite hoverSprite;
public Sprite defaultSprite;
pub... | 24.088398 | 90 | 0.460321 | [
"MIT"
] | UBCHiveLab/SpectatorBrain | UnityProject/Assets/Scripts/ButtonAppearance.cs | 4,362 | C# |
/*
* Minio .NET Library for Amazon S3 Compatible Cloud Storage, (C) 2017 Minio, 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
... | 34.414286 | 139 | 0.60191 | [
"Apache-2.0"
] | MarcosBidtellect/minio-dotnet | Minio/DataModel/Notification/Arn.cs | 2,409 | C# |
/*
* Copyright 2010-2014 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "l... | 26.3 | 108 | 0.589829 | [
"Apache-2.0"
] | TallyUpTeam/aws-sdk-net | sdk/src/Services/CodeDeploy/Generated/AmazonCodeDeployConfig.cs | 2,104 | C# |
using System;
using System.Threading.Tasks;
using System.Collections.Concurrent;
using System.Linq;
using Orleans;
using TestGrainInterfaces;
using Xunit;
using Assert = Xunit.Assert;
using TestExtensions;
using Xunit.Abstractions;
using Orleans.Runtime;
using System.Collections.Generic;
using Xunit.Sdk;
namespace Te... | 45.748031 | 133 | 0.695181 | [
"MIT"
] | OrleansContrib/Orleans.Indexing-1.5 | test/Tester/EventSourcingTests/CountersGrainPerfTests.cs | 5,812 | C# |
/* Copyright 2010-2016 MongoDB 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 agreed to in writi... | 45.017857 | 139 | 0.590639 | [
"Apache-2.0"
] | joeenzminger/mongo-csharp-driver | src/MongoDB.Bson/Serialization/PrimitiveSerializationProvider.cs | 5,044 | C# |
/*****************************************************************************
* Copyright 2016 Aurora Solutions
*
* http://www.aurorasolutions.io
*
* Aurora Solutions is an innovative services and product company at
* the forefront of the software industry, with processes and practices
* involving Domain Dri... | 36.152542 | 79 | 0.658228 | [
"Apache-2.0"
] | TradeNexus/tradesharp-core | Backend/TradeManager/TradeHub.TradeManager.Server.WindowsService/Program.cs | 2,135 | C# |
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace ToolsApp.Web
{
public class Program
{
public static vo... | 23.851852 | 66 | 0.694099 | [
"MIT"
] | t4d-classes/blazor-server_08022021 | ToolsApp/ToolsApp.Web/Program.cs | 644 | C# |
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fi... | 33.909091 | 112 | 0.590617 | [
"Apache-2.0"
] | ChristopherButtars/aws-sdk-net | sdk/src/Services/StorageGateway/Generated/Model/JoinDomainResponse.cs | 3,730 | C# |
using System;
using Moq;
namespace Sample.CSharp
{
public class Class1
{
public void Test()
{
var mock = Mock.Of<CalculatorBase, ICustomFormatter, IDisposable>();
mock.Setup(m => m.Memory.Recall()).Returns(1);
var foo = Mock.Of<IFoo>();
var bar... | 19.642857 | 80 | 0.475455 | [
"MIT"
] | AzureMentor/moq | src/Samples/Moq.CSharp/Class1.cs | 1,102 | C# |
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using Avdm.Config;
using Avdm.Core;
using Quartz;
namespace Avdm.Scheduler.Core
{
public class NodeScheduler : INodeScheduler
{
private static readonly IScheduler g_scheduler;
static NodeScheduler()
... | 46.648649 | 146 | 0.561414 | [
"MIT"
] | andrevdm/NodeScheduler | Source/Avdm.NodeScheduler/Core/NodeScheduler.cs | 3,454 | C# |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTi... | 39.27027 | 85 | 0.730213 | [
"MIT"
] | jdm7dv/financial | windows/CsForFinancialMarkets/CsForFinancialMarkets/BookExamples/Ch24/MultiThreadOnSwap/Properties/AssemblyInfo.cs | 1,456 | C# |
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
names... | 32.454545 | 143 | 0.778711 | [
"ECL-2.0",
"Apache-2.0"
] | Otanikotani/pulumi-aws | sdk/dotnet/WafV2/Outputs/WebAclRuleStatementOrStatementStatementOrStatementStatementOrStatementStatementXssMatchStatementFieldToMatchQueryString.cs | 714 | C# |
[assembly: WebActivatorEx.PreApplicationStartMethod(typeof(MVC5_Template.Web.DependencyInjectionConfig), "Start")]
[assembly: WebActivatorEx.ApplicationShutdownMethodAttribute(typeof(MVC5_Template.Web.DependencyInjectionConfig), "Stop")]
namespace MVC5_Template.Web
{
using System;
using System.Data.Entity;
... | 34.303279 | 122 | 0.608124 | [
"MIT"
] | SimeonGerginov/ASP.NET-MVC-5-Project-Template | Source/Web/MVC5-Template.Web/App_Start/DependencyInjectionConfig.cs | 4,185 | C# |
// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
namespace Pulumi.Azur... | 39.255319 | 388 | 0.661789 | [
"Apache-2.0"
] | polivbr/pulumi-azure-native | sdk/dotnet/Devices/V20170119/Inputs/RoutingServiceBusQueueEndpointPropertiesArgs.cs | 1,845 | C# |
namespace SystemDot.Bootstrapping
{
using System;
using System.Collections.Generic;
public interface IApplication
{
IEnumerable<Type> GetAllTypes();
}
} | 18.1 | 40 | 0.685083 | [
"MIT"
] | SystemDot/Bootstrapping | IApplication.cs | 181 | C# |
using Microsoft.EntityFrameworkCore.Migrations;
using System;
using System.Collections.Generic;
namespace Domain.Model.Data.Migrations
{
public partial class initial : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.EnsureSchema(
... | 33.9 | 90 | 0.532448 | [
"MIT"
] | mitsbits/NoBorg | src/projects/playground/compose/Domain/Model/Data/Migrations/20171222162950_initial.cs | 1,358 | C# |
/*
* tranche.NET - a DSL for modeling structured finance products.
* Copyright (C) 2012 Timothy Goric
*
* 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.ap... | 33.464286 | 76 | 0.690502 | [
"Unlicense"
] | goric/tranche-net | SemanticAnalysis/TypeBoolean.cs | 939 | C# |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System.Collections;
using System.IO;
using System.Reflection;
using Microsoft.DotNet.RemoteExecutor;
using Xunit;
namespace System.ComponentModel.Design.Tests
{
public st... | 45.812785 | 117 | 0.491179 | [
"MIT"
] | belav/runtime | src/libraries/System.ComponentModel.TypeConverter/tests/Design/DesigntimeLicenseContextSerializerTests.cs | 10,035 | C# |
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
names... | 25.883721 | 88 | 0.601977 | [
"ECL-2.0",
"Apache-2.0"
] | pulumi/pulumi-yandex | sdk/dotnet/Outputs/GetAlbBackendGroupHttpBackendHealthcheckHttpHealthcheckResult.cs | 1,113 | C# |
using System;
using System.IO;
using System.Collections.Generic;
using System.Linq;
using CommandLine;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
namespace UniGet
{
internal static class PackTool
{
internal class Options
{
[Value(0, Required = true, HelpText = "Project File... | 39.905405 | 160 | 0.462129 | [
"MIT"
] | SaladLab/UniGet | src/UniGet/PackTool.cs | 8,861 | C# |
using System;
using System.Collections.Generic;
using System.Text;
using System.Data.Sql;
using System.Data.SqlClient;
using System.Data.SqlTypes;
using System.Transactions ;
using NUnit.Framework ;
using NW = alby.northwind.codegen ;
namespace alby.northwind.codegen.test.table
{
[TestFixture]
pub... | 32.57513 | 98 | 0.65882 | [
"MIT"
] | casaletto/alby.northwind.2015 | alby.northwind.codegen.test/table/TestTable3.cs | 6,334 | C# |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was automatically generated.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//--------------------------------------------... | 33.5 | 81 | 0.608955 | [
"MIT"
] | Joey35233/FoxKit | FoxKit/Assets/FoxKit/Modules/DataSet/Fox/Sdx/SoundSourceBody.Generated.cs | 1,675 | C# |
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using JCSoft.WX.Framework.Models.ApiResponses;
using JCSoft.Core.Net.Http;
namespace JCSoft.WX.Framework.Models.ApiRequests
{
public class CustomserviceKfaccountAddRequest : ApiRequest<DefaultResponse>
... | 25.964912 | 82 | 0.6 | [
"MIT"
] | JamesYing/JCWXCore | src/JCSoft.WX.Framework/Models/ApiRequests/customservice/CustomserviceKfaccountAddRequest.cs | 1,690 | C# |
namespace BizHawk.Client.EmuHawk
{
partial class AutofireConfig
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true ... | 35.560209 | 149 | 0.652385 | [
"MIT"
] | Diefool/BizHawk | BizHawk.Client.EmuHawk/config/AutofireConfig.Designer.cs | 6,794 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Hradla.Asm
{
class Hadani : Assembler
{
public Hadani()
{
Jmp("code");
LData("secret", 83);
LData("low", 0);
... | 21.792453 | 40 | 0.366234 | [
"MIT"
] | HonzaMD/TunnaHead-483-processor | Asm/Hadani.cs | 1,157 | C# |
namespace JDP {
partial class frmSettings {
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources shou... | 45.037037 | 110 | 0.737664 | [
"MIT"
] | jdpurcell/ChanThreadWatch | frmSettings.Designer.cs | 10,946 | C# |
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information.
// Ported from um/winioctl.h in the Windows SDK for Windows 10.0.22000.0
// Original source is Copyright © Microsoft. All rights reserved.
using NUnit.Framework;
using Syst... | 42.228571 | 145 | 0.750338 | [
"MIT"
] | reflectronic/terrafx.interop.windows | tests/Interop/Windows/Windows/um/winioctl/VIRTUALIZATION_INSTANCE_INFO_OUTPUTTests.cs | 1,480 | C# |
/* Poly2Tri
* Copyright (c) 2009-2010, Poly2Tri Contributors
* http://code.google.com/p/poly2tri/
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
*
* * Redistributions of sour... | 30.160584 | 89 | 0.483543 | [
"MIT"
] | elitegoliath/ld43-yank-train | LD43 Yank Train/Assets/Dependencies/Puppet2D/Scripts/Triangulation/Utility/FixedBitArray3.cs | 4,134 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
namespace SisoDb.Diagnostics
{
[Serializable]
public class DiagnosticsGroup
{
private readonly Dictionary<string, DiagnosticsGroup> _groups;
private readonly Dictionary<string, DiagnosticsNode> _nodes;
p... | 28.721311 | 86 | 0.569064 | [
"MIT"
] | eric-swann-q2/SisoDb-Provider | Source/Projects/SisoDb/Diagnostics/DiagnosticsGroup.cs | 1,752 | C# |
namespace LoopingPattern._01_LoppingTypes._02_OneToMany {
[Microsoft.XLANGs.BaseTypes.SchemaReference(@"LoopingPattern._01_LoppingTypes._01_OneToOne.Survays", typeof(global::LoopingPattern._01_LoppingTypes._01_OneToOne.Survays))]
[Microsoft.XLANGs.BaseTypes.SchemaReference(@"LoopingPattern._01_Lopping... | 41.865854 | 316 | 0.606175 | [
"MIT"
] | sandroasp/BizTalk-Server-Learning-Path | Working-with-Maps/Looping-Pattern/LoopingPattern/01-LoppingTypes/02-OneToMany/OneToManyMapReadable.btm.cs | 3,433 | C# |
using Destiny.Core.Flow.Entity;
namespace Destiny.Core.Flow.Dtos.Functions
{
public abstract class FunctionDtoBase<TKey> : DtoBase<TKey>
{ /// <summary>
/// 功能名字 </summary>
public string Name { get; set; }
/// <summary>
/// 是否可用
/// </summary>
public bool IsEna... | 22.52 | 63 | 0.50444 | [
"MIT"
] | dotNetTreasury/Destiny.Core.Flow | src/Destiny.Core.Flow.Dtos/Functions/FunctionDtoBase.cs | 589 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System.Text.Json;
using Azure.Core;
namespace Azure.ResourceManager.Sql.Models
{
public partial class DataMaskingPolicy : IUtf8JsonSerializable
{
void IUtf8Jso... | 39.061404 | 215 | 0.477656 | [
"MIT"
] | 0rland0Wats0n/azure-sdk-for-net | sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/DataMaskingPolicy.Serialization.cs | 4,453 | C# |
// ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
// ------------------------------------------------------------
namespace Microsoft.Azure.II... | 41.505263 | 100 | 0.623806 | [
"MIT"
] | GBBBAS/Industrial-IoT | services/src/Microsoft.Azure.IIoT.Services.OpcUa.Vault/src/Startup.cs | 11,829 | C# |
using FleetControl.Application.Notifications.Models;
using System.Threading.Tasks;
namespace FleetControl.Application.Interfaces
{
public interface INotificationService
{
Task SendAsync(Message message);
}
}
| 20.909091 | 53 | 0.765217 | [
"MIT"
] | sdemaine/FleetControl_CQRS | FleetControl.Application.Core/Interfaces/INotificationService.cs | 232 | C# |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using Microsoft.ML.Data;
using Microsoft.ML.RunTests;
using Xunit;
namespace Microsoft.ML.Tests.Scenarios.Api
{
... | 43.688889 | 151 | 0.677009 | [
"MIT"
] | xadupre/machinelearning | test/Microsoft.ML.Tests/Scenarios/Api/Estimators/TrainWithInitialPredictor.cs | 1,968 | C# |
using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("AWSSDK.CognitoSync")]
[assembly: AssemblyD... | 55.375 | 495 | 0.760722 | [
"Apache-2.0"
] | costleya/aws-sdk-net | sdk/code-analysis/ServiceAnalysis/CognitoSync/Properties/AssemblyInfo.cs | 1,772 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information.
using Microsoft.Practices.Prism.Modularity;
namespace Microsoft.Practices.Prism.Composition.Tests.Mocks.Modules
{
public abstract class MockAbstractModule : IModule
{
public void I... | 24 | 121 | 0.712963 | [
"Unlicense"
] | SiddharthMishraPersonal/InterviewPreperation | WPF/Installers/Prism/PrismLibrary/Desktop/Prism.Tests/Mocks/Modules/MockAbstractModule.cs | 432 | C# |
//
// InsertAnonymousMethodSignatureTests.cs
//
// Author:
// Mike Krüger <mkrueger@xamarin.com>
//
// Copyright (c) 2012 Xamarin Inc.
//
// 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 ... | 35.5 | 93 | 0.705933 | [
"MIT"
] | 4lab/ILSpy | NRefactory/ICSharpCode.NRefactory.Tests/CSharp/CodeActions/InsertAnonymousMethodSignatureTests.cs | 2,344 | C# |
using MessagePack;
using SocialPlatform.Groups.Shared.Models;
using System;
namespace SocialPlatform.Groups.Shared.Messages.ServerToClient
{
[MessagePackObject]
public class ReceiveGroupMessage : INetworkMessage
{
public ReceiveGroupMessage() { }
public ReceiveGroupMessage(Guid groupId, G... | 23.606061 | 82 | 0.629012 | [
"MIT"
] | tniemenmaa/SocialPlatform | src/SocialPlatform.Groups.Shared/Messages/ServerToClient/ReceiveGroupMessage.cs | 781 | C# |
// -----------------------------------------------------------------------
// <copyright file="SyntaxNodeExtensions.cs">
// Copyright (c) 2021 Dean Edis. All rights reserved.
// </copyright>
// <summary>
// This code is provided on an "as is" basis and without warranty of any kind.
// We do not warrant or ma... | 36.521739 | 149 | 0.589286 | [
"MIT"
] | deanthecoder/GLSLShaderShrinker | ShaderShrinker/UnitTests/Extensions/SyntaxNodeExtensions.cs | 842 | C# |
// Copyright (c) 2011 - OJ Reeves & Jeremiah Peschka
//
// This file is provided to you 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
//
... | 28.763636 | 83 | 0.602402 | [
"Apache-2.0"
] | bryanhunter/CorrugatedIron | CorrugatedIron/Models/MapReduce/KeyFilters/IntToString.cs | 1,582 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.