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 |
|---|---|---|---|---|---|---|---|---|
using System;
using System.IO;
using System.Xml.Serialization;
using AElf.CLI.JS;
using AElf.CLI.Utils;
using ChakraCore.NET;
using CommandLine;
namespace AElf.CLI.Commands
{
[Verb("create", HelpText = "Create a new account.")]
public class CreateOption : BaseOption
{
}
public class CreateCommand... | 31.142857 | 119 | 0.548374 | [
"MIT"
] | Git-zyn-Hub/AElf | AElf.CLI/Commands/CreateCommand.cs | 2,398 | C# |
//
// class.cs: Class and Struct handlers
//
// Authors: Miguel de Icaza (miguel@gnu.org)
// Martin Baulig (martin@ximian.com)
// Marek Safar (marek.safar@gmail.com)
//
// Dual licensed under the terms of the MIT X11 or GNU GPL
//
// Copyright 2001, 2002, 2003 Ximian, Inc (http://www.ximian.com)
// Co... | 28.177778 | 192 | 0.673472 | [
"Apache-2.0"
] | pcc/mono | mcs/mcs/class.cs | 100,172 | C# |
using System.IO;
using BattleTech;
using ModTek.Features.CustomResources;
using ModTek.Features.Manifest;
using ModTek.Features.Manifest.BTRL;
using ModTek.Features.Manifest.MDD;
namespace ModTek.Features.CustomGameTips
{
// custom streaming assets add existing resources to BTRL
internal static class GameTips... | 34.408451 | 112 | 0.560377 | [
"Unlicense"
] | Mpstark/ModTek | ModTek/Features/CustomGameTips/GameTipsFeature.cs | 2,445 | C# |
// ******************************************************************
// Copyright (c) Microsoft. All rights reserved.
// This code is licensed under the MIT License (MIT).
// THE CODE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
// INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILI... | 40.40027 | 131 | 0.562231 | [
"MIT"
] | dipidoo/UWPCommunityToolkit | Microsoft.Toolkit.Uwp/Helpers/StorageFileHelper.cs | 29,987 | C# |
using System;
namespace YubicoLib.YubikeyNeo
{
internal class YubikeyNeoDeviceHandle : IDisposable
{
public IntPtr Device { get; private set; }
public YubikeyNeoDeviceHandle()
{
IntPtr intPtr = IntPtr.Zero;
YubikeyNeoNative.YkNeoManagerInit(ref intPtr);
... | 22.583333 | 58 | 0.568266 | [
"MIT"
] | CSIS/EnrollmentStation | YubicoLib/YubikeyNeo/YubikeyNeoDeviceHandle.cs | 542 | 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 System.Buffers;
using System.Buffers.Text;
using System.Diagnostics;
using System.Runtime.CompilerServices;
u... | 41.816038 | 169 | 0.523707 | [
"MIT"
] | PRIMETSS/corefx | src/System.Text.Json/src/System/Text/Json/Writer/JsonWriterHelper.Escaping.cs | 26,597 | C# |
//---------------------------------------------------------------------
// <copyright file="IDSPEnumerateTypesRule.cs" company=".NET Foundation">
// Copyright (c) .NET Foundation and Contributors. All rights reserved. See License.txt in the project root for license information.
// </copyright>
//-----------------... | 50.943396 | 282 | 0.666667 | [
"MIT"
] | OData/Extensions | tools/FxCopRules/IDSPEnumerateTypesRule.cs | 5,402 | C# |
using Microsoft.AspNetCore.Mvc.RazorPages;
namespace App.Pages
{
public class ContactModel : PageModel
{
public void OnGet()
{
}
}
} | 15.454545 | 43 | 0.594118 | [
"MIT"
] | andremachida/Microservices | src/WebApps/App/Pages/Contact.cshtml.cs | 172 | C# |
using System;
using System.ComponentModel;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace $rootnamespace$
{
public class $safeitemrootname$
{
}
}
| 14.307692 | 33 | 0.774194 | [
"MIT"
] | IObsequious/Missing-Templates | src/ItemTemplates/Common/VsWPFInfrastructure/Class.cs | 188 | 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 System;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
using System.Li... | 32.499072 | 184 | 0.518525 | [
"MIT"
] | belav/roslyn | src/Compilers/Core/Portable/Syntax/SyntaxTriviaList.cs | 17,519 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace HolyHigh.Geometry
{
/// <summary>
/// Plane equation definition.
/// </summary>
public struct PlaneEquation
{
public double X { get; set; }
public double Y ... | 28.963303 | 170 | 0.417485 | [
"MIT"
] | xk6338062/HolyHigh.Geometry | HolyHigh.Geometry/PlaneEquation.cs | 3,159 | C# |
using Newtonsoft.Json;
using DiscordBot.Interfaces;
using DiscordBot.Models;
using System.Collections.Generic;
using System.IO;
using System.Threading.Tasks;
using Discord.WebSocket;
namespace DiscordBot.Handlers
{
public class GuildHandler
{
public static Dictionary<ulong, GuildModel> GuildConfigs { ... | 36.32 | 148 | 0.64207 | [
"MIT"
] | skybro6789/DiscordBotTemplate | src/DiscordBot/Core/Services/Handlers/GuildHandler.cs | 1,818 | C# |
using Api.Data.Context;
using Api.Data.Repositories;
using Api.Domain.Entities;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using System.Threading.Tasks;
using Api.Domain.Interfaces.Repositories;
using Microsoft.Extensio... | 29.645161 | 96 | 0.729053 | [
"MIT"
] | fabioborges-ti/api-netcore5 | src/Api.Data/Implementations/PhoneImplementations.cs | 921 | 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("LFS... | 37.405405 | 84 | 0.746387 | [
"MIT"
] | karmoka/LfsHelper | DirectoryWatcherTest/LFS_Test/Properties/AssemblyInfo.cs | 1,387 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Events;
#if UNITY_EDITOR
using UnityEditor;
#endif
using UnityEngine.UI;
[System.Serializable]
public class UnityEvent_OnProgress : UnityEvent <float> {}
public class PopTaskProgressBar : MonoBehaviour {
public Unity... | 17.352518 | 90 | 0.682421 | [
"MIT"
] | SoylentGraham/PopUnityCommon | PopTaskProgressBar.cs | 2,412 | C# |
using System.Text;
using Loon.Core.Geom;
using Loon.Core.Graphics.Opengl;
using Loon.Utils;
namespace Loon.Core.Graphics.Component {
public class Print : LRelease {
private int index, offset, font, tmp_font;
private int fontSizeDouble;
private char text;
private char[] showMessages;
private int ... | 25.57173 | 122 | 0.44559 | [
"Apache-2.0"
] | TheMadTitanSkid/LGame | C#/WindowsPhone/LGame-XNA-lib/Loon.Core.Graphics.Component/Print.cs | 12,121 | C# |
using System.Collections;
using System.Collections.Generic;
using Assets.Scripts.Constants;
using UnityEngine;
using static Assets.Scripts.Constants.enums;
//Fireball Games * * * PetrZavodny.com
[CreateAssetMenu(fileName = "CourseBlock", menuName = "Hlas/CourseBlock")]
public class CourseBlock : ScriptableObject
{
#... | 24.16129 | 74 | 0.715621 | [
"Unlicense"
] | Ankhtepot/Hlas | Assets/Scripts/CourseBlock.cs | 751 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;
namespace Movegen_dotNET.Sliders
{
public static class Switch
{
public static ulong GetSliderHCond(int SliderSquare, ulong occupy)
{
ulong result = 0;
... | 44.836724 | 80 | 0.621957 | [
"MIT"
] | Gigantua/Chess_Movegen | Movegen_dotNET/Sliders/Switch.cs | 83,757 | 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;
using System.Linq.Expressions;
using Microsoft.EntityFrameworkCore.Utilities;
namespace Microsoft.EntityFrameworkCore.Query.SqlExpressions
{
/// <summary>
/// ... | 33.380282 | 116 | 0.586076 | [
"MIT"
] | KaloyanIT/efcore | src/EFCore.Relational/Query/SqlExpressions/SqlFragmentExpression.cs | 2,370 | C# |
namespace segmentVolumeDevice
{
partial class Form1
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
///... | 46.966667 | 167 | 0.603797 | [
"MIT"
] | tristanluther28/flutter | Software/VisualStudio19/Tristan's Workshop/Form1.Designer.cs | 5,638 | C# |
/* Copyright 2010-2012 Ivan Alles.
Licensed under the MIT License (see file LICENSE). */
using ai.lib.utils.commandline;
namespace ai.lib.utils.version
{
/// <summary>
/// Command line.
/// </summary>
class CommandLine
{
#region File parameters
[DefaultArgument(ArgumentType.Mu... | 27.264706 | 90 | 0.621359 | [
"MIT"
] | ivan-alles/poker-acpc | lib/utils/trunk/src/main/net/ai.lib.utils.version/CommandLine.cs | 927 | C# |
using System;
namespace AngularDemo1.Areas.HelpPage
{
/// <summary>
/// This represents an invalid sample on the help page. There's a display template named InvalidSample associated with this class.
/// </summary>
public class InvalidSample
{
public InvalidSample(string errorMessage)
... | 26.324324 | 134 | 0.575975 | [
"MIT"
] | V4NC3/angulardemo | AngularDemo1/Areas/HelpPage/SampleGeneration/InvalidSample.cs | 974 | C# |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Nether.Ingest
{
public interface ITypeVersionMessage
{
string Type { get; }
string Version { get; }
}
}
| 24.583333 | 101 | 0.681356 | [
"MIT"
] | navalev/nether | src/Nether.Ingest/IMessage.cs | 297 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows;
using System.Windows.Controls;
using Xceed.Wpf.Toolkit;
namespace TubeStar
{
public static class DialogHelper
{
private static Grid RootElement
{
get
{
return Logica... | 28.189189 | 111 | 0.565676 | [
"MIT"
] | mchall/TubeStar | TubeStarDesktop/Helpers/DialogHelper.cs | 1,045 | C# |
/*
* OpenBots Server API
*
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
*
* OpenAPI spec version: v1
*
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*/
using System;
using System.Linq;
using System.IO;
using System.Text;
using Sys... | 29.067568 | 104 | 0.594607 | [
"MIT"
] | OpenBotsAI/OpenBots.Server.SDK | src/OpenBots.Server.SDK/Model/JobStatusType.cs | 2,151 | C# |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using static Il2CppDumper.Il2CppConstants;
namespace Il2CppDumper
{
public class Il2CppDecompiler
{
private Il2CppExecutor executor;
private Metadata metadata;
private Il2Cpp il2Cpp;
... | 54.97076 | 175 | 0.388865 | [
"MIT"
] | CrootonGaming/Il2CppDumper | Il2CppDumper/Outputs/Il2CppDecompiler.cs | 28,202 | C# |
//
// StaticRegistrar.cs: The static registrar
//
// Authors:
// Rolf Bjarne Kvinge <rolf@xamarin.com>
//
// Copyright 2013 Xamarin Inc.
//
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using Xamarin.Bundler;
using Xamarin.Linker;
#if MTOUCH
using ProductE... | 36.749105 | 376 | 0.679265 | [
"BSD-3-Clause"
] | 1975781737/xamarin-macios | tools/common/StaticRegistrar.cs | 184,701 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using JSIL;
using JSIL.Meta;
namespace SharpJS.Dom
{
/// <summary>
/// The base Element class for a managed C# interface to DOM.
/// </summary>
public class Element
{
#region Private Fields
#endregion Private F... | 27.387952 | 118 | 0.532993 | [
"Apache-2.0"
] | Terricide/SharpJS | ExaPhaser/Libraries/SharpJS.Dom/Element.cs | 11,368 | C# |
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading;
using System.Threading.Tasks;
using MediatR;
using Moq;
using Strive.Core.Services;
using Strive.Core.Services.WhiteboardService;
using Strive.Core.Services.WhiteboardService.Actions;
using Strive.Core.Services.WhiteboardServ... | 39.666667 | 119 | 0.635171 | [
"Apache-2.0"
] | Anapher/PaderConference | src/Services/ConferenceManagement/Strive.Core.Tests/Services/WhiteboardService/UseCases/PushActionUseCaseTests.cs | 4,881 | 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 System.Threading;
using System.Windows;
using System.Windows.Media;
using MahApps.Metro.ValueBoxes;
namespac... | 41.857143 | 333 | 0.6719 | [
"MIT"
] | CacoCode-zz/CodePlus.MahApps.Metro | src/MahApps.Metro/Controls/Dialogs/ProgressDialog.xaml.cs | 4,397 | C# |
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using TeamProjectManager.Common.Infrastructure;
namespace TeamProjectManager.Modules.Security
{
[DataContract(Namespace = "http://schemas.teamprojectmanager.codeplex.com/permissionchange/2013/04")]
public class Pe... | 29.758621 | 127 | 0.648899 | [
"MIT"
] | BobSilent/TfsTeamProjectManager | TeamProjectManager.Modules.Security/PermissionChangePersistenceData.cs | 1,728 | 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 "li... | 36.5 | 174 | 0.623707 | [
"Apache-2.0"
] | philasmar/aws-sdk-net | sdk/src/Services/ApplicationAutoScaling/Generated/Model/Internal/MarshallTransformations/ScalableTargetActionUnmarshaller.cs | 3,577 | C# |
using Newtonsoft.Json;
namespace UWPReactiveUI.Services.Models
{
public class HipsterParameters
{
[JsonProperty("paras")]
public int Paragraphs { get; set; }
[JsonProperty("type")]
public string Type { get; set; }
}
}
| 18.928571 | 43 | 0.615094 | [
"MIT"
] | Lordinaire/UWP_ReactiveUI_Sample | UWPReactiveUI.Services.Models/HipsterParameters.cs | 267 | C# |
/*
* DotAAS Part 2 | HTTP/REST | Asset Administration Shell Repository
*
* An exemplary interface combination for the use case of an Asset Administration Shell Repository
*
* OpenAPI spec version: Final-Draft
*
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*/
using System;
using System.Lin... | 32.991803 | 112 | 0.599752 | [
"MIT"
] | JMayrbaeurl/opendigitaltwins-aas-azureservices | src/aas-api-models/Models/PolicyEnforcementPoint.cs | 4,025 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using Elasticsearch.Net;
using FluentAssertions;
using NUnit.Framework;
namespace Nest.Tests.Unit.ObjectInitializer.Mapping
{
[TestFixture]
public class GetMappingRequestTests : BaseJsonTests
{
private readonly IElasticsearchResponse _status;
... | 22.225806 | 74 | 0.74746 | [
"Apache-2.0"
] | Bloomerang/elasticsearch-net | src/Tests/Nest.Tests.Unit/ObjectInitializer/Mapping/GetMappingRequestTests.cs | 691 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http.Formatting;
using System.Web.Http;
namespace StarDotOne
{
public static class WebApiConfig
{
public static void Register(HttpConfiguration config)
{
// Web API configuration and services
... | 25.333333 | 64 | 0.600877 | [
"Apache-2.0"
] | jongalloway/StarDotOne | StarDotOne/App_Start/WebApiConfig.cs | 686 | C# |
using Discord;
using Discord.Commands;
using Discord.WebSocket;
using System;
using System.Threading.Tasks;
using System.Timers;
using System.Linq;
using System.Collections;
using System.Text;
using System.Reflection;
namespace ArbitesLog
{
class Program
{
public static void Main() => new Program().MainAsync().Ge... | 33.477528 | 164 | 0.725877 | [
"MIT"
] | primebie1/ArbitesLog | ArbitesLog/Program.cs | 11,920 | C# |
using System;
using System.Data;
using System.Collections.Generic;
using Maticsoft.Common;
using WalleProject.Model;
namespace WalleProject.BLL
{
/// <summary>
/// t_complainadvice
/// </summary>
public partial class t_complainadvice
{
private readonly WalleProject.DAL.t_complainadvice dal=new WalleProject.DAL.... | 21.011561 | 114 | 0.650894 | [
"Apache-2.0"
] | MarkManYUN/WALLE-Project | BLL/t_complainadvice.cs | 3,845 | C# |
using System;
using System.Text;
using System.Text.Json;
using System.Threading;
using System.Threading.Tasks;
using AutoMapper;
using MediatR;
using Microsoft.Extensions.Logging;
using Sidekick.Domain.Apis.PoePriceInfo.Models;
using Sidekick.Domain.Apis.PoePriceInfo.Queries;
using Sidekick.Domain.Settings;
using Sidek... | 33.984615 | 128 | 0.628791 | [
"MIT"
] | 5c0r/Sidekick | src/Sidekick.Infrastructure/PoePriceInfo/GetPricePredictionHandler.cs | 2,209 | 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("Ser... | 38.736842 | 91 | 0.747283 | [
"Apache-2.0"
] | pedrodaniel10/DAD | tuple-space/Server/Properties/AssemblyInfo.cs | 1,475 | C# |
using Xunit;
using PostmarkDotNet;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Postmark.Tests
{
public class ClientTemplateTests : ClientBaseFixture, IDisposable
{
protected override void Setup()
{
_c... | 40.993902 | 284 | 0.604641 | [
"MIT"
] | OperatorOverload/postmark-dotnet | src/Postmark.Tests/ClientTemplateTests.cs | 6,725 | 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;
namespace Microsoft.AspNetCore.Components.WebAssembly.Authentication
{
internal class QueryStringHelper
{
public static ... | 33.636364 | 111 | 0.455212 | [
"Apache-2.0"
] | 1kevgriff/aspnetcore | src/Components/WebAssembly/WebAssembly.Authentication/src/QueryStringHelper.cs | 2,592 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
namespace SourceLink
{
// https://github.com/ctaggart/SourceLink/blob/v1/SourceLink/SystemExtensions.fs
public static class System
{
public static bool CollectionEquals<T>(this ICollection<T> a, ICollection<T> b)
{
... | 24.833333 | 87 | 0.607383 | [
"MIT"
] | AndreAbrantes/SourceLink | dotnet-sourcelink/System.cs | 598 | C# |
// ***********************************************************************
// Assembly : OpenAC.Net.Sat
// Author : RFTD
// Created : 31-03-2016
//
// Last Modified By : RFTD
// Last Modified On : 23-10-2021
// ***********************************************************************
// <copyr... | 35.350515 | 83 | 0.603091 | [
"MIT"
] | OpenAC-Net/OpenAC.Net.Sat | src/OpenAC.Net.Sat/Config/SatGeralConfig.cs | 3,433 | C# |
using System;
using System.Windows.Forms;
namespace FamiStudio
{
static class Program
{
[STAThread]
static void Main(string[] args)
{
Theme.Initialize();
PerformanceCounter.Initialize();
Application.EnableVisualStyles();
Application.SetC... | 22.95 | 82 | 0.601307 | [
"MIT"
] | Jjagg/FamiStudio | FamiStudio/Source/Utils/Program.cs | 461 | 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... | 43.082474 | 178 | 0.649677 | [
"Apache-2.0"
] | FoxBearBear/aws-sdk-net | sdk/src/Services/ElasticTranscoder/Generated/Model/LimitExceededException.cs | 4,179 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace RosSharp.Urdf.Runtime {
public class UrdfGeometryVisualRuntime : UrdfGeometryRuntime {
public static void Create(Transform parent, GeometryTypes geometryType, Link.Geometry geometry = null, bool useColliderInVisuals = ... | 46.534884 | 147 | 0.624188 | [
"Apache-2.0"
] | xBambusekD/ros-sharp | Unity3D/Assets/RosSharp/Scripts/Urdf/Runtime/UrdfGeometryVisualRuntime.cs | 2,001 | C# |
namespace Lexs4SearchRetrieveWebService
{
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("WscfGen", "1.0.0.0")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[Syste... | 30.87234 | 134 | 0.558925 | [
"Apache-2.0"
] | gtri-iead/LEXS-NET-Sample-Implementation-4.0 | LEXS Search Retrieve Service Implementation/LexsSearchRetrieveCommon/ArrestInvolvedWeaponAssociationType.cs | 1,451 | C# |
namespace SFA.DAS.Forecasting.Levy.Model.Levy
{
public class LevyDeclaration
{
}
} | 14.857143 | 46 | 0.625 | [
"MIT"
] | SkillsFundingAgency/das-forecasting-tool | src/SFA.DAS.Forecasting.Levy.Model/Levy/LevyDeclaration.cs | 106 | C# |
// Copyright (c) Daniel Crenna. All rights reserved.
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, you can obtain one at http://mozilla.org/MPL/2.0/.
using System;
using System.Collections.Generic;
using System... | 28.018519 | 97 | 0.580965 | [
"MPL-2.0",
"MPL-2.0-no-copyleft-exception"
] | danielcrenna/BetterAPI | src/BetterAPI/Metrics/CounterMetric.cs | 3,026 | C# |
using CloneExtensions.UnitTests.Base;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using CloneExtensions.UnitTests.Helpers;
namespace CloneExtensions.UnitTests
{
[TestClass]
public class NullableOfTTests : TestBase
{
[TestMethod]
public void GetClone_NullableIntWithValue_ValueCloned... | 25.347826 | 65 | 0.665523 | [
"Apache-2.0"
] | MarcinJuraszek/CloneExtensions | src/CloneExtensions.UnitTests/NullableOfTTests.cs | 585 | C# |
using System.Collections;
using System.Collections.Generic;
using CodeHelpers.Packed;
namespace CodeHelpers.Mathematics.Enumerable
{
public readonly struct EnumerableSpace3D : IEnumerable<Int3>
{
/// <summary>
/// Creates a foreach-loop compatible IEnumerable which yields all position/vector inside a 3D rectangu... | 30.27907 | 114 | 0.719662 | [
"MIT"
] | GaiGai613/CodeHelpers | Mathematics/Enumerable/EnumerableSpace.cs | 2,604 | C# |
// Copyright (c) Philipp Wagner. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using NUnit.Framework;
using TinyCsvParser.Mapping;
using TinyCsvParser.Model;
namespace TinyCsvParser.Test.Mapping
{
[TestFixture]
public... | 27.330275 | 101 | 0.583082 | [
"MIT"
] | JTOne123/TinyCsvParser | TinyCsvParser/TinyCsvParser.Test/Mapping/CsvMappingTests.cs | 2,981 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Application.LogicLayer.Abstract;
using Application.LogicLayer.ImplementedClass;
using Application.LogicLayer.Interfaces;
namespace Application.LogicLayer.Logic.BMI
{
public class BMIWeightIndex... | 27.26087 | 83 | 0.714514 | [
"Apache-2.0"
] | Foonesh/KMApp | Application.LogicLayer/Logic/BMI/BMIWeightIndex.cs | 629 | C# |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="ResourceHelper.cs" company="Itransition">
// Itransition (c) Copyright. All right reserved.
// </copyright>
// -------------------------------------------------------------------... | 38.723214 | 175 | 0.566136 | [
"BSD-2-Clause"
] | coreframework/Core-Framework | Source/Framework.MVC/Helpers/ResourceHelper.cs | 13,011 | C# |
//
// This file was generated by the BinaryNotes compiler.
// See http://bnotes.sourceforge.net
// Any modifications to this file will be lost upon recompilation of the source ASN.1.
//
using GSF.ASN1;
using GSF.ASN1.Attributes;
using GSF.ASN1.Coders;
namespace GSF.MMS.Model
{
[ASN1PreparedElement]
[AS... | 25.96875 | 162 | 0.672684 | [
"MIT"
] | GridProtectionAlliance/gsf | Source/Libraries/GSF.MMS/Model/RemoveFromUnitControl_Response.cs | 831 | C# |
using Microsoft.Extensions.Logging;
using Slackbot.Net.SlackClients.Http.Extensions;
using Slackbot.Net.SlackClients.Http.Models.Requests.OAuthAccess;
using Slackbot.Net.SlackClients.Http.Models.Responses.OAuthAccess;
namespace Slackbot.Net.SlackClients.Http;
internal class SlackOAuthAccessClient : ISlackOAuthAccessC... | 38.724638 | 138 | 0.687126 | [
"MIT"
] | dotnetbots/Slackbot.Net | source/src/Slackbot.Net.SlackClients.Http/SlackOAuthAccessClient.cs | 2,672 | C# |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Security.Policy;
using System.Text;
using System.Threading.Tasks;
namespace RiffData
{
/// <summary>
/// The base class for all Chunk types. RiffChunk is one example of a specialization.
/// Other... | 32.086614 | 95 | 0.528834 | [
"BSD-2-Clause"
] | ksmathers/RiffData | RiffData/ChunkHeader.cs | 4,077 | C# |
namespace LinqToShopify.GraphQL.Admin.Context.Store.Types.Location.Enum
{
public enum LocationSortKeys
{
ID,
NAME,
RELEVANCE
}
} | 15.333333 | 72 | 0.753623 | [
"MIT"
] | Kakktuss/LinqToShopify | src/LinqToShopify/GraphQL/Admin/Context/Store/Types/Location/Enum/LocationSortKeys.cs | 140 | C# |
namespace ETModel
{
public class SessionInfoComponent : Entity
{
public Session Session;
}
} | 14 | 43 | 0.744898 | [
"MIT"
] | ArkNX/ET | Server/Model/Module/Demo/SessionInfoComponent.cs | 100 | C# |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.34209
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//--... | 34.645161 | 151 | 0.58473 | [
"Apache-2.0"
] | ProjectDataClarity/SurfaceDerivedDataCSharp | SurfaceDervivedData/Properties/Settings.Designer.cs | 1,076 | C# |
#if NET45
namespace Microsoft.ApplicationInsights.WindowsServer
{
using System;
using System.Diagnostics.Tracing;
using System.Globalization;
using System.IO;
using System.Linq;
using Microsoft.ApplicationInsights.DataContracts;
using Microsoft.ApplicationInsights.Extensibility.Implementati... | 52.330935 | 224 | 0.697828 | [
"MIT"
] | Bhaskers-Blu-Org2/ApplicationInsights-dotnet | WEB/Src/WindowsServer/WindowsServer.Tests/AzureRoleEnvironmentTelemetryInitializerTest.cs | 7,276 | C# |
namespace MassTransit.Configuration
{
public interface ISagaConnector
{
ISagaSpecification<T> CreateSagaSpecification<T>()
where T : class, ISaga;
ConnectHandle ConnectSaga<T>(IConsumePipeConnector consumePipe, ISagaRepository<T> repository, ISagaSpecification<T> specification)
... | 30 | 139 | 0.7 | [
"ECL-2.0",
"Apache-2.0"
] | AlexanderMeier/MassTransit | src/MassTransit/Sagas/Configuration/ISagaConnector.cs | 360 | C# |
using OpenCvSharp;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Lightning.Core.Rendering
{
public interface IWindowHost : IDisposable
{
void ShowWindow();
void HideWindow();
}
public interface IWindowHost<in TFrame> : IWindowHos... | 16.409091 | 54 | 0.761773 | [
"MIT"
] | lightning-rmc/lightning | src/core/Lightning.Core/Rendering/IWindowHost.cs | 361 | C# |
using Orchard.Hosting.Parameters;
using System;
using System.Collections.Generic;
using System.Security;
namespace Orchard.Hosting.HostContext
{
public class CommandParametersParser : ICommandParametersParser
{
[SecurityCritical]
public CommandParameters Parse(IEnumerable<string> args)
... | 32.068182 | 154 | 0.490432 | [
"BSD-3-Clause"
] | freemsly/Orchard-2-Prototype-RC2 | src/Orchard.Hosting.Console/HostContext/CommandParametersParser.cs | 1,413 | C# |
using Newtonsoft.Json;
using WeihanLi.Extensions;
namespace WeihanLi.Common.Event;
public interface IEventBase
{
/// <summary>
/// Event publish time
/// </summary>
DateTimeOffset EventAt { get; }
/// <summary>
/// eventId
/// </summary>
string EventId { get; }
}
public abstract cla... | 23.92 | 128 | 0.638796 | [
"MIT"
] | JohnZhaoXiaoHu/WeihanLi.Common | src/WeihanLi.Common/Event/EventBase.cs | 1,796 | C# |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//--... | 34.709677 | 151 | 0.585502 | [
"MIT"
] | GitHubDragonFly/ModbusSlaveSimulation | ModbusSlaveSimulation/Properties/Settings.Designer.cs | 1,078 | C# |
using System.Collections.Generic;
using StackExchange.Opserver.Data;
using StackExchange.Opserver.Data.SQL;
namespace StackExchange.Opserver.Views.SQL
{
public enum SQLViews
{
Servers = 0,
Instance = 1,
Active = 2,
Top = 3,
Connections = 4,
Databases = 5
}
... | 23.944444 | 76 | 0.558005 | [
"MIT"
] | bonskijr/Opserver | Opserver/Views/SQL/Dashboard.Model.cs | 864 | C# |
using Blazored.LocalStorage;
using Flurl.Http;
using FoodOnline.WebClient.Business.Services;
using FoodOnline.WebClient.Services;
using Microsoft.AspNetCore.Components.Authorization;
using Microsoft.AspNetCore.Components.WebAssembly.Hosting;
using Microsoft.Extensions.DependencyInjection;
using System.Threading.Tasks;
... | 36.928571 | 137 | 0.718569 | [
"MIT"
] | panoukos41/FoodOnline | src/WebClient.Business/Program.cs | 1,034 | C# |
/// OSVR-Unity Connection
///
/// http://sensics.com/osvr
///
/// <copyright>
/// Copyright 2014 Sensics, 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.a... | 45.901786 | 198 | 0.57732 | [
"Apache-2.0"
] | JacksonTech/JVRCurriculum | UnityOSVRDemos/Assets/OSVRUnity/src/Math.cs | 5,141 | C# |
using System;
using System.Text;
using System.Xml.Serialization;
using CodeDead.Logger.Append.Configuration.File;
namespace CodeDead.Logger.Append.File
{
/// <inheritdoc />
/// <summary>
/// Abstract class containing the file appending logic
/// Inherit this class to implement your own file appending ... | 30.604167 | 87 | 0.622192 | [
"MIT"
] | CodeDead/Logger | Logger/Append/File/FileAppender.cs | 1,471 | C# |
using System.Collections.Generic;
using System.Text.Json.Serialization;
namespace Essensoft.AspNetCore.Payment.Alipay.Domain
{
/// <summary>
/// KoubeiMarketingDataMallRecommendGetModel Data Structure.
/// </summary>
public class KoubeiMarketingDataMallRecommendGetModel : AlipayObject
{
//... | 26.907407 | 93 | 0.553338 | [
"MIT"
] | LuohuaRain/payment | src/Essensoft.AspNetCore.Payment.Alipay/Domain/KoubeiMarketingDataMallRecommendGetModel.cs | 1,593 | C# |
using System.Collections.Generic;
using Essensoft.AspNetCore.Payment.Alipay.Response;
namespace Essensoft.AspNetCore.Payment.Alipay.Request
{
/// <summary>
/// alipay.user.antpaas.role.relation.save
/// </summary>
public class AlipayUserAntpaasRoleRelationSaveRequest : IAlipayRequest<AlipayUserAntpaas... | 23.04878 | 117 | 0.550617 | [
"MIT"
] | LuohuaRain/payment | src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayUserAntpaasRoleRelationSaveRequest.cs | 2,853 | C# |
using System.Web.Mvc;
namespace NewsSystem.Client.MVC.App_Start
{
public class ViewEngineConfig
{
public static void RegisterViewEngine(ViewEngineCollection engines)
{
engines.Clear();
engines.Add(new RazorViewEngine());
}
}
} | 22.153846 | 75 | 0.631944 | [
"MIT"
] | todor-enikov/News-System-ASP.NET-MVC-Project | Source/NewsSystem.Client.MVC/App_Start/ViewEngineConfig.cs | 290 | 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("Ch... | 38.027027 | 84 | 0.746979 | [
"MIT"
] | Cinchoo/ChoETL | src/Test/ChoJSONReaderTest/Properties/AssemblyInfo.cs | 1,410 | C# |
#if UNITY_3_0 || UNITY_3_1 || UNITY_3_2 || UNITY_3_3 || UNITY_3_4 || UNITY_3_5 || UNITY_4_0 || UNITY_4_0_1
#define UNITY_AUDIO_FEATURES_4_0
#else
#define UNITY_AUDIO_FEATURES_4_1
#endif
using UnityEngine;
using System.Collections.Generic;
#pragma warning disable 1591 // undocumented XML code warning
publi... | 33.504918 | 176 | 0.560133 | [
"Unlicense"
] | pacatum/Helmbet-RPS | Assets/AudioToolkit/Demo/AudioToolkitDemo.cs | 10,219 | C# |
using System;
using System.Text;
using System.Threading.Tasks;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Text.Json;
using System.Linq;
namespace KVL.Tests
{
[TestClass]
public class TransactionTests
{
[TestMethod]
public async Task TestCommitTransaction()
{
... | 33.981928 | 99 | 0.526325 | [
"MIT"
] | Birnsen/KVLite | tests/TransactionTests.cs | 5,641 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml;
using System.Xml.Serialization;
namespace SegundoParcial
{
[XmlInclude(typeof(Manzana))]
public class Manzana:Fruta,ISerializable
{
#region Atributo
public... | 22.01087 | 98 | 0.495309 | [
"MIT"
] | ezequielfreire007/EjerciciosLab2 | SegundoParcial/SegundoParcial/Manzana.cs | 2,027 | C# |
using System.Web;
using System.Web.Mvc;
using System.Web.WebPages;
using RazorGenerator.Mvc;
[assembly: WebActivatorEx.PostApplicationStartMethod(typeof(MAB.ContextInspector.TestHarness.App_Start.RazorGeneratorMvcStart), "Start")]
namespace MAB.ContextInspector.TestHarness.App_Start {
public static class RazorGen... | 34.590909 | 137 | 0.718791 | [
"MIT"
] | markashleybell/MAB.ContextInspector | MAB.ContextInspector.TestHarness/App_Start/RazorGeneratorMvcStart.cs | 761 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
namespace Island
{
public class Program
{
static void Main(string[] args)
{
var heights = Console.ReadLine()
.Split(' ')
.Select(int.Parse)
.ToArray();
va... | 30.614035 | 100 | 0.461891 | [
"MIT"
] | NaskoVasilev/Algorithms | Exam - 29 May 2016/Exam29May2016/Island/Program.cs | 1,747 | C# |
#region Copyright
//
// DotNetNuke® - http://www.dotnetnuke.com
// Copyright (c) 2002-2017
// by DotNetNuke Corporation
//
// 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 restrict... | 45.657143 | 117 | 0.752816 | [
"MIT"
] | Expasys/Expasys.Web.Platform | DNN Platform/Library/Entities/Content/Workflow/Exceptions/WorkflowNameAlreadyExistsException.cs | 1,601 | C# |
using XenAdmin.Alerts;
using XenAdmin.Network;
using XenAdmin.Commands;
using XenAdmin.Controls;
using XenAdmin.Plugins;
using XenAPI;
using System;
using System.Windows.Forms;
using System.ComponentModel;
namespace XenAdmin
{
partial class MainWindow
{
/// <summary>
/// Required... | 62.300459 | 194 | 0.687671 | [
"BSD-2-Clause"
] | GOMYWAY-NETWORKS-LLC/xenadmin | XenAdmin/MainWindow.Designer.cs | 135,815 | C# |
// This file was automatically generated and may be regenerated at any
// time. To ensure any changes are retained, modify the tool with any segment/component/group/field name
// or type changes.
namespace Machete.HL7Schema.V26.Maps
{
using V26;
/// <summary>
/// OUL_R22_RESULT (GroupMap) -
/// </summ... | 29 | 104 | 0.587774 | [
"Apache-2.0"
] | ahives/Machete | src/Machete.HL7Schema/V26/Groups/Maps/OUL_R22_RESULTMap.cs | 638 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
namespace NSprak.Language
{
public static class Symbols
{
public const char
CommentStart = '#',
StringBoundary = '\"',
StringBoundaryAlternate = '\''... | 27.350427 | 103 | 0.53875 | [
"MIT"
] | Seti-0/NSprak | Source/NSprak/Language/Symbols.cs | 3,202 | C# |
using System;
using System.Collections.Generic;
using System.Text;
using MobExt.AndroidEnv.ControlsBase;
using System.Drawing;
using System.Runtime.InteropServices;
using System.ComponentModel;
using MobExt.ControlOperation;
using MobExt.Common;
using MobExt.Settings;
using Android.Widget;
using Android.Vi... | 22.215385 | 80 | 0.573407 | [
"MIT"
] | rualb/ava-agent-xamarin | AvaGE/MobControl/MobContextMenu.cs | 1,444 | C# |
using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Text;
using UnityEngine;
using UnityEngine.SceneManagement;
using UnityEngine.UI;
public class BGController : MonoBehaviour
{
[SerializeField]
RectTransform topDoor;
[SerializeField]
RectTransform b... | 30.91875 | 177 | 0.591672 | [
"MIT"
] | logwinow/Portfolio | Hold at zero/Assets/Scripts/Main menu/BGController.cs | 4,949 | C# |
namespace TradeBot.TwsAbstractions
{
public enum SecurityTypes
{
// Stock
STK,
// Option
OPT,
// Future
FUT,
// Index
IND,
// Future on an option
FOP,
// Forex pair
CASH,
// Combo order
BAG,
... | 35.303571 | 112 | 0.629489 | [
"MIT"
] | mark-hennessy/tws-cli | TradeBot/TwsAbstractions/TwsApiConstants.cs | 3,960 | C# |
// 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.Runtime.InteropServices;
internal static partial class Interop
{
internal static partial class libcrypto
{
[DllImport(Librar... | 27.2 | 101 | 0.742647 | [
"MIT"
] | fffej/corefx | src/Common/src/Interop/Unix/libcrypto/Interop.EvpPkey.cs | 408 | C# |
using NPOI.SS.UserModel;
namespace NPOI.SS.FluentExtensions
{
/// <summary>
/// Provides a data structure which can be used to accumulate
/// styling options via a Fluent API, until they need to be applied
/// to a cell.
/// </summary>
public partial class FluentStyle
{
... | 29.173684 | 96 | 0.463107 | [
"MIT"
] | PhilipDaniels/TestParser | NPOI.SS.FluentExtensions/FluentStyle.MainProperties.cs | 5,545 | 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("22... | 38.72973 | 84 | 0.740405 | [
"MIT"
] | IvelinMarinov/SoftUni | 04. C# Advanced - May2017/00. Exam Preparation/22.08.2016 - 01. Second Nature/Properties/AssemblyInfo.cs | 1,436 | C# |
//
// 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.Collections.Generic;
using System.IO;
namespace Microsoft.SqlTools.ServiceLayer.LanguageExtensibility.Contracts
{
public enum Ex... | 23.47619 | 180 | 0.560852 | [
"MIT"
] | Bhaskers-Blu-Org2/sqltoolsservice | src/Microsoft.SqlTools.ServiceLayer/LanguageExtensibility/Contracts/ExternalLanguageModel.cs | 1,974 | C# |
#if WITH_GAME
#if PLATFORM_32BITS
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace UnrealEngine
{
public partial class UCurveVector
{
static readonly int FloatCurves__Offset;
public FRichCurve FloatCurves
{
get{ CheckIsValid();return (FRichCurve)Marshal.Ptr... | 20.482759 | 119 | 0.76936 | [
"MIT"
] | RobertAcksel/UnrealCS | Engine/Plugins/UnrealCS/UECSharpDomain/UnrealEngine/GeneratedScriptFile_Game_32bits/UCurveVector_FixSize.cs | 594 | C# |
namespace TrafficManager.Patch._CitizenManager {
using HarmonyLib;
using JetBrains.Annotations;
[HarmonyPatch(typeof(CitizenManager), "ReleaseCitizen")]
[UsedImplicitly]
public static class ReleaseCitizenPatch {
/// <summary>
/// Notifies the extended citizen manager about a releas... | 34.235294 | 81 | 0.680412 | [
"MIT"
] | CitiesSkylinesMods/TMPE | TLM/TLM/Patch/_CitizenManager/ReleaseCitizenPatch.cs | 584 | C# |
namespace Poke.API.Interfaces
{
public interface IUnitOfWorkRepository
{
IEmployeeRepository UserRepository { get; }
}
} | 21 | 52 | 0.666667 | [
"MIT"
] | juniorricardo/netcore-tests | APIs/Poke.API/Interfaces/IUnitOfWorkRepository.cs | 149 | C# |
using System;
using System.Threading.Tasks;
namespace CheatSheetConsoleApp
{
class Ex20_2_CacheTaskResult
{
internal static void Run()
{
//Mainメソッドはasyncにできない
//非同期メソッドを同期的に待機する場合、GetAwaiter().GetResult() が使える
ExecuteAsync().GetAwaiter().GetResult();
}
static async Task ExecuteAs... | 21.128205 | 64 | 0.610437 | [
"MIT"
] | tanaka-takayoshi/CSharpCheatSheet | CheatSheetConsoleApp/Ex20_2_CacheTaskResult.cs | 960 | C# |
using System;
using System.CodeDom.Compiler;
using System.ComponentModel;
using System.Diagnostics;
using System.Runtime.CompilerServices;
using System.Xml.Schema;
using System.Xml.Serialization;
namespace Workday.RevenueManagement
{
[GeneratedCode("System.Xml", "4.6.1590.0"), DesignerCategory("code"), DebuggerStepTh... | 22.262295 | 136 | 0.737113 | [
"MIT"
] | matteofabbri/Workday.WebServices | Workday.RevenueManagement/Billing_InstallmentObjectType.cs | 1,358 | C# |
#pragma checksum "C:\Users\apple\Documents\GitHub\GameManager\Shared\NavMenu.razor" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "51d7b10b6d2d1c15339dc75c1d87d5c7b62d94aa"
// <auto-generated/>
#pragma warning disable 1591
namespace GameManager.Shared
{
#line hidden
using System;
using System.Collections.Generic... | 40.770492 | 176 | 0.645088 | [
"MIT"
] | lorfakl/GameManager | obj/Debug/netstandard2.1/Razor/Shared/NavMenu.razor.g.cs | 7,461 | C# |
using System.Collections.Generic;
using System.Linq;
namespace Frank.Scheduler.Extensions
{
public static class EnumerableExtensions
{
public static IEnumerable<IEnumerable<T>> Batch<T>(this IEnumerable<T> items, int maxItems = 256)
{
return items.Select((item, inx) => new { item, ... | 27.875 | 105 | 0.591928 | [
"MIT"
] | frankhaugen/Frank.Scheduler | Frank.Scheduler/Extensions/EnumerableExtensions.cs | 448 | C# |
// Copyright (c) Jeremy W. Kuhne. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace WInterop.Handles
{
// https://msdn.microsoft.com/en-us/library/windows/desktop/aa446633.aspx
// ACCESS_MASK
// https://msdn.microsoft.com/e... | 30.45 | 101 | 0.678161 | [
"MIT"
] | JeremyKuhne/WInterop | src/WInterop.Desktop/Handles/GenericMapping.cs | 611 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Threading;
using System.IO;
using System.Windows.Forms;
using RCCM;
using MathWorks.MATLAB.NET.Arrays;
namespace RepeatabilityTest
{
public class RepeatabilityTest : IRCCMPluginActor
... | 37.107143 | 106 | 0.495669 | [
"MIT"
] | jmal0/RCCM | RCCM/Plugins/RepeatabilityTest/RepeatabilityTest/RepeatabilityTest.cs | 5,197 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.