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 |
|---|---|---|---|---|---|---|---|---|
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System.Diagnostics;
using System.Text;
namespace System.Runtime.InteropServices
{
public static partial class Marshal
{
public static string? PtrToStringAuto(I... | 32.623116 | 153 | 0.5687 | [
"MIT"
] | 333fred/runtime | src/libraries/System.Private.CoreLib/src/System/Runtime/InteropServices/Marshal.Unix.cs | 6,492 | C# |
//#define USE_SharpZipLib
/* * * * *
* This is an extension of the SimpleJSON framework to provide methods to
* serialize a JSON object tree into a compact binary format. Optionally the
* binary stream can be compressed with the SharpZipLib when using the define
* "USE_SharpZipLib"
*
* Those methods where origin... | 34.151515 | 150 | 0.602977 | [
"MIT"
] | QuantumCalzone/UnityGitPackageUpdater | Packages/UnityGitPackageUpdater/Editor/SimpleJSON/SimpleJSONBinary.cs | 10,144 | 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("Ca... | 38.108108 | 84 | 0.748936 | [
"MIT"
] | johnpierson/case-apps | 2018/Case.ExportSharedParameters/Case.ExportSharedParameters/Properties/AssemblyInfo.cs | 1,412 | 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... | 38.055901 | 125 | 0.635874 | [
"Apache-2.0"
] | ermshiperete/aws-sdk-net | AWSSDK_DotNet35/Amazon.RDS/Model/RevokeDBSecurityGroupIngressRequest.cs | 6,127 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Text;
using System.Security;
using System.IO;
using System.Text.RegularExpressions;
using System.Collections.Specialized;
using System.Configuration;
using Microsoft.Practices.Unity;
usin... | 31.42562 | 123 | 0.483761 | [
"Apache-2.0"
] | code-monkee/dynamic-delivery-4-tridion | dotnet/DD4T.Examples/Controllers/PageController.cs | 7,607 | C# |
using System;
using System.Text;
using System.Collections.Generic;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using MathBarld;
namespace MathBarldTest
{
/// <summary>
/// Summary description for PalindromeTests
/// </summary>
[TestClass]
public class PalindromeTests
{
public ... | 27.181818 | 85 | 0.559006 | [
"MIT"
] | barld/MathBarld | MathBarldTest/PalindromeTests.cs | 2,095 | C# |
using System.Collections.Generic;
using Elastic.Apm.Api;
using Elastic.Apm.Helpers;
using Newtonsoft.Json;
// ReSharper disable MemberCanBePrivate.Global
// ReSharper disable UnusedAutoPropertyAccessor.Global
// ReSharper disable ClassNeverInstantiated.Global
namespace Elastic.Apm.Tests.MockApmServer
{
internal cla... | 22.8 | 82 | 0.719298 | [
"Apache-2.0"
] | Mpdreamz/apm-agent-dotnet | test/Elastic.Apm.Tests.MockApmServer/SpanContextDto.cs | 798 | C# |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated from a template.
//
// Manual changes to this file may cause unexpected behavior in your application.
// Manual changes to this file will be overwritten if the code is regenerated.... | 41.216216 | 128 | 0.60918 | [
"MIT"
] | cybk/LinQ.Katas | LinQ.Katas/LinQ.Katas.DataRepository/CurrencyRate.cs | 1,525 | C# |
/*
[The "BSD licence"]
Copyright (c) 2005-2007 Kunle Odutola
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code MUST RETAIN the above copyright
notice, this list of cond... | 27.137566 | 95 | 0.682394 | [
"Apache-2.0"
] | 19Leonidas99/Artificial-Intelligence-Deep-Learning-Machine-Learning-Tutorials | java/java2py/antlr-3.1.3/runtime/CSharp/Sources/Antlr3.Runtime/Antlr.Runtime.Tree/TreePatternParser.cs | 5,129 | 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... | 42.628099 | 160 | 0.640946 | [
"ECL-2.0",
"Apache-2.0"
] | pulumi/pulumi-f5bigip | sdk/dotnet/EventServiceDiscovery.cs | 5,158 | C# |
using System;
using Master40.DB.Nominal;
using Master40.DB.Interfaces;
namespace Master40.DB.ReportingModel
{
public class StockExchange : ResultBaseEntity, IStockExchange
{
public int StockId { get; set; }
public Guid TrackingGuid { get; set; }
public int SimulationConfigurationId { g... | 31.608696 | 65 | 0.635488 | [
"Apache-2.0"
] | MaxWeickert/ng-erp-4.0 | Master40.DB/ReportingModel/StockExchange.cs | 729 | 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;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using JetBrains.Annotations;
using Microsoft.EntityFramewor... | 59.638554 | 131 | 0.675488 | [
"Apache-2.0"
] | StanleyGoldman/EntityFrameworkCore | src/EFCore/Metadata/Internal/Key.cs | 14,850 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace NBitcoin.Altcoins.Nist5
{
public class Nist5
{
private IHash[] _hashers;
public Nist5()
{
var blake512 = HashFactory.Crypto.SHA3.CreateBlake512();
var groestl512 = HashFac... | 22.425 | 66 | 0.687848 | [
"MIT"
] | NicoDFS/NBitcoin | NBitcoin.Altcoins/Nist5/nist5.cs | 899 | C# |
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Rendering;
using Microsoft.AspNetCore.Mvc.Routing;
using Microsoft.AspNetCore.Mvc.TagHelpers;
using Microsoft.AspNetCore.Mvc.ViewFeatures;
usin... | 38.314815 | 142 | 0.675689 | [
"MIT"
] | philphilphil/WikiCore | src/Helpers/MenuLinkTagHelper.cs | 2,069 | 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.Collections.Generic;
using System.Diagnostics;
using System.Reflection;
using System.Threading;
using System.Threading.Tasks;
#nullable enable
namespace ... | 38.987915 | 184 | 0.521968 | [
"MIT"
] | 3DCloud/runtime | src/libraries/Microsoft.Extensions.HostFactoryResolver/src/HostFactoryResolver.cs | 12,905 | C# |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Assertions;
using UnityEngine.SceneManagement;
// TODO consider re-wire...
using RPG.CameraUI;
using RPG.Core;
using RPG.Weapons;
namespace RPG.Characters
{
public class Player : MonoBehaviour, IDama... | 33.706468 | 116 | 0.604576 | [
"MIT"
] | UnityRPG/Modifiers-And-Abilities | Assets/_Characters/Player/Player.cs | 6,783 | C# |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// アセンブリに関する一般情報は以下の属性セットをとおして制御されます。
// アセンブリに関連付けられている情報を変更するには、
// これらの属性値を変更してください。
[assembly: AssemblyTitle("IpcServerChannel_")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assem... | 29.529412 | 56 | 0.75 | [
"MIT"
] | bg1bgst333/Sample | dotnet/IpcServerChannel/IpcServerChannel/src/IpcServerChannel_/IpcServerChannel_/Properties/AssemblyInfo.cs | 1,428 | C# |
#pragma checksum "C:\Users\brady\Documents\GitHub\EngineTest\EngineTest\App.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "8DBCD47B3EDBFCD470F8692647483B01"
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes ... | 34.166667 | 158 | 0.528455 | [
"MIT"
] | bradylangdale/EngineTest | EngineTest/obj/x86/Debug/App.g.cs | 617 | C# |
// ***********************************************************************
// Assembly : OpenAC.Net.NFSe
// Author : Diego Martins
// Created : 08-29-2021
//
// Last Modified By : Rafael Dias
// Last Modified On : 07-11-2018
// ****************************************************************... | 40.425806 | 180 | 0.619534 | [
"MIT"
] | DiegoNetoMartins/OpenAC.Net.NFSe | src/OpenAC.Net.NFSe/Providers/Americana/AmericanaServiceClient.cs | 6,268 | C# |
using System;
using System.IO;
namespace FluffySpoon.Kibana.Sample
{
class Program
{
static void Main(string[] args)
{
var kibanaUrl = File.ReadAllText("KibanaUrl.txt");
var parser = new KibanaParser();
var elasticsearchQuery = parser.ConvertUrlToElasticsea... | 24.590909 | 106 | 0.630314 | [
"MIT"
] | JTOne123/FluffySpoon.Kibana | src/FluffySpoon.Kibana.Sample/Program.cs | 543 | C# |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Net.Http.Headers;
namespace Contacts.API.Areas.HelpPage
{
/// <summary>
/// This is used to identify the place where the sample should be applied.
/// </summary>
public class HelpPageSampleKey
{
/// <s... | 37.433526 | 175 | 0.569642 | [
"MIT"
] | CamiKaze/Contacts | Contacts.API/Areas/HelpPage/SampleGeneration/HelpPageSampleKey.cs | 6,476 | C# |
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
namespace ILG.Codex.Codex2007
{
/// <summary>
/// Summary description for frmInsertTable.
/// </summary>
public class frmInsertTable : System.Windows.Forms.Form
{
internal System.Windows.Forms.... | 34.00565 | 89 | 0.579 | [
"Unlicense"
] | IrakliLomidze/CodexDS12 | CodexDS/CodexProgram/frmInsertTable.cs | 6,019 | C# |
using Snapsearch.Models;
using System;
using System.Collections.Generic;
using System.Text;
using System.Windows.Input;
using Xamarin.Forms;
namespace Snapsearch.ViewModels
{
public class NewItemViewModel : BaseViewModel
{
private string text;
private string description;
public NewIte... | 25.575758 | 70 | 0.548578 | [
"MIT"
] | sinantutan/SnapsearchUI | Snapsearch/Snapsearch/Snapsearch/ViewModels/NewItemViewModel.cs | 1,690 | C# |
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using Shop.Core.BaseObjects;
using Shop.Core.Interfaces;
namespace Shop.Core.Entites
{
public class ProductConfiguration : LifetimeBase, IReferenceable<ProductConfiguration>
{
[Key]
public int ProductConfigurationId... | 31.653846 | 116 | 0.705954 | [
"MIT"
] | jontansey/.Net-Core-Ecommerce-Base | src/Shop.Core/Entites/ProductConfiguration.cs | 825 | 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 Infrastructure.Data;
namespace I... | 36.035714 | 117 | 0.474232 | [
"MIT"
] | StefanBalaban/CoreApp | src/Infrastructure/Migrations/20210403105328_initial.Designer.cs | 12,110 | C# |
namespace Cogs.Threading;
/// <summary>
/// Provides a set of static methods for quickly leveraging the Microsoft Dataflow library
/// </summary>
public static class DataflowExtensions
{
static readonly ExecutionDataflowBlockOptions cpuBoundBlock = new ExecutionDataflowBlockOptions { MaxDegreeOfParallelism = Envir... | 57.477273 | 222 | 0.712271 | [
"Apache-2.0"
] | Epiforge/Cogs | Cogs.Threading/DataflowExtensions.cs | 7,587 | C# |
using Microsoft.AspNetCore.Mvc.Rendering;
using Microsoft.EntityFrameworkCore;
using Microsoft.AspNetCore.Mvc;
using Factory.Models;
using System.Collections.Generic;
using System.Linq;
namespace Factory.Controllers
{
public class MachinesController : Controller
{
private readonly FactoryContext _db;
publ... | 31.240602 | 116 | 0.65728 | [
"MIT"
] | vnessa-su/Factory.Solution | Factory/Controllers/MachinesController.cs | 4,155 | C# |
// YieldReturnNode.cs
// Script#/Core/Compiler
// This source code is subject to terms and conditions of the Apache License, Version 2.0.
//
using System;
using System.Diagnostics;
namespace ScriptSharp.CodeModel {
// NOTE: Not supported in conversion
internal sealed class YieldReturnNode : StatementNode {
... | 24.272727 | 90 | 0.689139 | [
"Apache-2.0"
] | AmanArnold/dsharp | src/Core/Compiler/CodeModel/Statements/YieldReturnNode.cs | 534 | C# |
namespace Bakery.Models.BakedFoods
{
public class Bread : BakedFood
{
private const int INITIAL_BREAD_PORTION = 200;
public Bread(string name, decimal price)
: base(name, INITIAL_BREAD_PORTION, price)
{
}
}
} | 22.166667 | 54 | 0.609023 | [
"MIT"
] | georgidelchev/CSharp-Advanced-Tasks | 02 - [CSharp OOP]/[CSharp OOP - Exams]/08 - [C# OOP Exam - 12 December 2020]/01 - [Structure & Business Logic]/Models/BakedFoods/Bread.cs | 268 | C# |
using Data.Commands;
using Data.Log;
using Data.Notifications;
using LunarAPIClient.LogEntryRepository;
using LunarAPIClient.NotificationClient;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace LunarAPIClient.CommandP... | 36.415385 | 126 | 0.686523 | [
"MIT"
] | adityakm24/lunar-cmd-local | APIClient/CommandProcessors/CommandProcessor.cs | 2,369 | C# |
//
// System.Configuration.ConfigurationValidatorAttribute.cs
//
// Authors:
// Lluis Sanchez Gual (lluis@novell.com)
//
// 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... | 31.080645 | 86 | 0.750908 | [
"Apache-2.0"
] | 121468615/mono | mcs/class/System.Configuration/System.Configuration/ConfigurationValidatorAttribute.cs | 1,927 | 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... | 30.656566 | 100 | 0.611203 | [
"Apache-2.0"
] | DetlefGolze/aws-sdk-net | sdk/src/Services/Elasticsearch/Generated/Model/ListPackagesForDomainRequest.cs | 3,035 | C# |
using System;
namespace socket_client_programming
{
class Program
{
static void Main()
{
var socket = new SocketClient();
socket.Start();
}
}
} | 14.714286 | 44 | 0.514563 | [
"Unlicense"
] | Tuoof/TCPServerClient | socket client programming/Program.cs | 208 | C# |
namespace SETUNA.Main.Style
{
// Token: 0x0200004A RID: 74
public class CCaptureStyle : CPreStyle
{
// Token: 0x060002C0 RID: 704 RVA: 0x0000F549 File Offset: 0x0000D749
public CCaptureStyle()
{
_styleid = -9;
_stylename = "Start";
}
// Token... | 26.380952 | 77 | 0.575812 | [
"MIT"
] | nv-h/SETUNA2 | SETUNA/Main/Style/CCaptureStyle.cs | 556 | C# |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Microsoft.Protocols.TestTools.StackSdk.CommonStack
{
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
usi... | 34.271523 | 136 | 0.508406 | [
"MIT"
] | 0neb1n/WindowsProtocolTestSuites | TestSuites/BranchCache/src/COMMON/CommonStack/Transport/HttpServerTransport.cs | 20,700 | C# |
/*
MIT License
Copyright (c) 2016-2017 Florian Cäsar, Michael Plainer
For full license see LICENSE in the root directory of this project.
*/
using System;
namespace Sigma.Core.Training.Initialisers
{
/// <summary>
/// A custom initialiser adapter for simple initialiser assignment with lambdas.
/// </summary>... | 27.486486 | 145 | 0.719764 | [
"MIT"
] | GreekDictionary/Sigma | Sigma.Core/Training/Initialisers/CustomInitialiser.cs | 1,020 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
using TMPro;
/* Todo list
* organize functions
* find way to make answer checking more optimal?
*/
public class UIManager : MonoBehaviour
{
public GameObject slot;
[Header("Title Scene Propert... | 52.372792 | 1,208 | 0.612421 | [
"MIT"
] | audobii/IT265 | Assets/Scripts/UIManager.cs | 29,685 | C# |
using System;
using System.CodeDom.Compiler;
using System.ComponentModel;
using System.Diagnostics;
using System.Xml.Schema;
using System.Xml.Serialization;
namespace ES2.Amplitude.Unity.Simulation
{
/// <remarks/>
[XmlInclude(typeof(QuestExecutionTreeDecorator_EmpireEventOfEventOnColonizedPlanet))]
[XmlInclude(ty... | 55.590278 | 158 | 0.825484 | [
"MIT"
] | Scrivener07/Endless-Studio | Source/Studio.ES2/Amplitude/Unity/Simulation/quest/QuestExecutionTreeDecoratorOfEventOnColonizedPlanet.cs | 8,005 | C# |
//
// HttpContentHeaders.cs
//
// Authors:
// Marek Safar <marek.safar@gmail.com>
//
// Copyright (C) 2011 Xamarin Inc (http://www.xamarin.com)
//
// 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 S... | 23.451128 | 73 | 0.67714 | [
"Apache-2.0"
] | pcc/mono | mcs/class/System.Net.Http/System.Net.Http.Headers/HttpContentHeaders.cs | 3,119 | 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... | 46.407407 | 262 | 0.661293 | [
"ECL-2.0",
"Apache-2.0"
] | Dominik-K/pulumi-aws | sdk/dotnet/Acm/CertificateValidation.cs | 6,265 | 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("wo... | 37.861111 | 84 | 0.749817 | [
"MIT"
] | couchbaselabs/aspnet-nosql-workshop | 03/dotnet/workshop-dotnet/workshop-dotnet/Properties/AssemblyInfo.cs | 1,366 | C# |
namespace Springboard365.Xrm.Plugins.Core.IntegrationTest
{
using System;
using Microsoft.Xrm.Sdk;
using NUnit.Framework;
using Springboard365.UnitTest.Core;
[TestFixture]
public class CloneContractSpecification : SpecificationBase
{
private CloneContractSpecificationFixture testFix... | 31.983871 | 138 | 0.66465 | [
"Apache-2.0"
] | Davesmall28/DSmall.DynamicsCrm.Plugins.Core | Springboard365.Xrm.Plugins.Core.IntegrationTest/PluginTest/CloneContract/CloneContractSpecification.cs | 1,983 | C# |
namespace OccultMerchant.Models
{
public class TodoItem
{
public long Id { get; set; }
public string Name { get; set; }
public bool IsComplete { get; set; }
}
} | 21.777778 | 44 | 0.581633 | [
"MIT"
] | MrFizban/OccultMerchantProject | OccultMerchant/OccultMerchant/Models/TodoItem.cs | 196 | C# |
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.InteropServices.ComTypes;
using NetOffice;
namespace NetOffice.WordApi
{
#pragma warning disable
#region SinkPoint Interface
[SupportByVersionAttribute("Word", 11,12,14,15)]
[ComImport, ... | 45.760098 | 358 | 0.739769 | [
"MIT"
] | NetOffice/NetOffice | Source/Word/EventInterfaces/ApplicationEvents4.cs | 37,386 | 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... | 28.737374 | 110 | 0.594376 | [
"Apache-2.0"
] | Hazy87/aws-sdk-net | sdk/src/Services/IoTTwinMaker/Generated/Model/BatchPutPropertyError.cs | 2,845 | C# |
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices;
using System.Threading;
using Network;
using RandoMainDLL.Memory;
namespace RandoMainDLL {
public static class Multiplayer {
public static BlockingColle... | 33.813953 | 104 | 0.66575 | [
"MIT"
] | LoadCake/OriWotwRandomizerClient | projects/RandoMainDLL/Multiplayer.cs | 2,910 | 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... | 38.432432 | 145 | 0.731364 | [
"MIT"
] | reflectronic/terrafx.interop.windows | tests/Interop/Windows/Windows/um/winioctl/STORAGE_OFFLOAD_TOKENTests.cs | 1,424 | C# |
// The MIT License (MIT)
//
// Copyright (c) 2015-2017 Rasmus Mikkelsen
// Copyright (c) 2015-2017 eBay Software Foundation
// https://github.com/eventflow/EventFlow
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of
// this software and associated documentation files (the "Softwar... | 44.641026 | 107 | 0.750144 | [
"MIT"
] | Jaben/EventFlow | Source/EventFlow.TestHelpers/Aggregates/Sagas/ThingySagaLocator.cs | 1,743 | C# |
using System;
using Autofac;
using BenchmarkDotNet.Attributes;
using BenchmarkDotNet.Order;
using DryIoc;
using Grace.DependencyInjection;
using LightInject;
using Microsoft.Extensions.DependencyInjection;
using SimpleInjector;
using SimpleInjector.Lifestyles;
using Container = DryIoc.Container;
using IContainer = Auto... | 53.792793 | 187 | 0.435354 | [
"MIT"
] | jeuxjeux20/DryIoc | playground/Playground/OpenScopeAndResolveScopedWithSingletonTransientScopedDeps.cs | 35,826 | C# |
/*----------------------------------------------------------------
Copyright (C) 2017 Senparc
文件名:ButtonGroup.cs
文件功能描述:整个按钮设置(可以直接用ButtonGroup实例返回JSON对象)
创建标识:Senparc - 20150313
修改标识:Senparc - 20150313
修改描述:整理接口
--------------------------------------------------------------... | 22.088235 | 67 | 0.472703 | [
"Apache-2.0"
] | 65717212/WeiXinMPSDK | src/Senparc.Weixin.Work/Senparc.Weixin.Work/Entities/Menu/ButtonGroup.cs | 913 | C# |
using FluentAssertions;
using PivotalServices.WebApiTemplate.CSharp.Features.Values;
using Xunit;
namespace PivotalServices.WebApiTemplate.CSharp.UnitTests.Features.Values
{
public partial class PostValuesValidator
{
public class Given_a_PostValues_Request
{
private readonly PostVa... | 30.1 | 74 | 0.540199 | [
"MIT"
] | CedricYao/pivotal-webapi-template-csharp | PivotalServices.WebApiTemplate.CSharp/src/PivotalServices.WebApiTemplate.CSharp.UnitTests/Features/Values/Given_a_PostValues_Request.cs | 1,507 | C# |
#region MIT license
//
// MIT license
//
// Copyright (c) 2007-2008 Jiri Moudry, Pascal Craponne
//
// 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... | 37.868571 | 103 | 0.601931 | [
"Apache-2.0"
] | antiufo/mono | mcs/class/System.Data.Linq/src/DbLinq/Util/IDataRecordExtensions.cs | 6,627 | C# |
using System;
using System.Linq;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace UnityEditor.U2D.Animation
{
internal interface IBoneSelection : ITransformSelection<BoneCache> {}
}
| 21.545455 | 74 | 0.776371 | [
"MIT"
] | AlePPisa/GameJamPractice1 | Cellular/Library/PackageCache/com.unity.2d.animation@4.2.4/Editor/SkinningModule/Selection/IBoneSelection.cs | 237 | C# |
using Regi.Abstractions;
using Regi.Frameworks.Identifiers;
using System.Threading.Tasks;
using Xunit;
namespace Regi.Test.Identifiers
{
public class NodeIdentifierTests : BaseIdentifierTests
{
protected override IIdentifier CreateTestClass()
{
return new NodeIdentifier(FileSystemM... | 26.820513 | 90 | 0.612811 | [
"MIT"
] | tom-mckinney/regi | test/Regi.Test/Frameworks/Identifiers/NodeIdentifierTests.cs | 1,048 | C# |
using Sdl.Core.PluginFramework;
[assembly: Plugin("Plugin_Name")]
| 12.333333 | 34 | 0.702703 | [
"MIT"
] | Impertatore/trados-studio-api-samples | TranslationStudioAutomation/Sdl.StudioAutomation.ReferencePlugin/Properties/PluginProperties.cs | 74 | C# |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Text;
using System.Threading.Tasks;
namespace MySynchFiles.Data {
public class BindableBase : INotifyPropertyChanged {
public event PropertyChangedEventHandle... | 35.354839 | 133 | 0.69708 | [
"MIT"
] | OSN-DEV/SynchFiles | src/Data/BindableBase.cs | 1,098 | C# |
// Copyright (c) 2012, Event Store LLP
// 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 source code must retain the above copyright notice,
// this list of conditi... | 35.542857 | 73 | 0.700563 | [
"BSD-3-Clause"
] | ianbattersby/EventStore | src/EventStore/EventStore.Core.Tests/Index/create_index_map_from_non_existing_file.cs | 2,488 | C# |
#if !NOT_UNITY3D
using System;
using ModestTree;
using UnityEngine;
namespace Zenject
{
// We'd prefer to make this abstract but Unity 5.3.5 has a bug where references
// can get lost during compile errors for classes that are abstract
public class ScriptableObjectInstaller : ScriptableObjectIns... | 43.328671 | 143 | 0.673499 | [
"MIT"
] | Mateo-Panadero/Ultimate-Hero | Assets/Plugins/Zenject/Source/Install/ScriptableObjectInstaller.cs | 6,196 | C# |
using Microsoft.EntityFrameworkCore.Migrations;
namespace test.Data.Migrations
{
public partial class initial : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
}
protected override void Down(MigrationBuilder migrationBuilder)
{
}
... | 18.166667 | 71 | 0.66055 | [
"MIT"
] | TrevorTheAmazing/Capstone | test/Data/Migrations/20191128155856_initial.cs | 329 | C# |
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq.Expressions;
namespace AutoMapper.EquivalencyExpression
{
internal class GenerateEquivalentExpressionFromTypeMap
{
private static readonly ConcurrentDictionary<TypeMap, GenerateEquivalentExpressionFromTypeMap> _Equ... | 38.636364 | 207 | 0.722353 | [
"MIT"
] | nphmuller/AutoMapper.Collection | src/AutoMapper.Collection/EquivalencyExpression/GenerateEquivilentExpressionFromTypeMap.cs | 1,275 | C# |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Logging;
namespace Project_2_Common
{
public class Program
{
... | 23.307692 | 61 | 0.665017 | [
"MIT"
] | michailkaz/local-ea | Project 2 Common/Program.cs | 608 | C# |
using System.Collections.Generic;
using UnityEngine;
namespace Unity.Entities.Editor
{
internal delegate void SetFilterAction(EntityListQuery entityQuery);
internal class ComponentTypeFilterUI
{
private readonly WorldSelectionGetter getWorldSelection;
private readonly SetFilterAction setF... | 38.132813 | 187 | 0.564024 | [
"Apache-2.0"
] | ArttyOM/TsarJam | TsarJam/Library/PackageCache/com.unity.entities@0.0.12-preview.24/Unity.Entities.Editor/EntityDebugger/ComponentTypeFilterUI.cs | 4,883 | C# |
using System.Diagnostics.CodeAnalysis;
namespace CloudAwesome.Xrm.Core.Models
{
public enum CdsConnectionType { AppRegistration, ConnectionString, UserNameAndPassword }
/// <summary>
/// Configuration for creating a connection to the Common Data Service (aka CDS, Dynamics365, DataVerse)
/// </summary... | 33.44898 | 136 | 0.61928 | [
"MIT"
] | Cloud-Awesome/cds-core | src/CloudAwesome.Xrm.Core/CloudAwesome.Xrm.Core/Models/CdsConnection.cs | 1,641 | C# |
using FluentValidation.Results;
using MediatR;
using SmartBank.Shared.Messages;
using System.Threading.Tasks;
namespace SmartBank.Shared.Mediator
{
public class MediatorHandler : IMediatorHandler
{
private readonly IMediator _mediator;
public MediatorHandler(IMediator mediator)
{
... | 23.75 | 89 | 0.642105 | [
"MIT"
] | ronilsonsilva/smartbank | src/services/SmartBank.Shared/Mediator/MediatorHandler.cs | 667 | C# |
// SPDX-License-Identifier: Apache-2.0
// Licensed to the Ed-Fi Alliance under one or more agreements.
// The Ed-Fi Alliance licenses this file to you under the Apache License, Version 2.0.
// See the LICENSE and NOTICES files in the project root for more information.
using System.Collections.Generic;
using EdFi.Ods.... | 35.944444 | 108 | 0.786708 | [
"Apache-2.0"
] | AxelMarquez/Ed-Fi-ODS | Utilities/CodeGeneration/EdFi.Ods.CodeGen/Providers/IDomainModelDefinitionsProviderProvider.cs | 649 | C# |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// Allgemeine Informationen über eine Assembly werden über die folgenden
// Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern,
// die einer Assembly zugeordnet sind.
[assembly: Asse... | 40.810811 | 106 | 0.762914 | [
"Apache-2.0"
] | Ch34k0/Test-Biblio | happy_numbers/teste_froehlichkeit/Properties/AssemblyInfo.cs | 1,527 | C# |
namespace SIS.Framework.Attributes.Methods
{
public class HttpPutAttribute : HttpMethodAttribute
{
public override bool IsValid(string requestMethod)
{
if (requestMethod.ToUpper().Equals("PUT")) return true;
return false;
}
}
}
| 21.166667 | 60 | 0.708661 | [
"MIT"
] | AscenKeeprov/CSharp-Web-Basics | Exercise7-MVCFramework/SIS.Framework/Attributes/Methods/HttpPutAttribute.cs | 256 | C# |
#if (UNITY_EDITOR)
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Tilemaps;
using UnityEditor;
[CreateAssetMenu]
[CustomGridBrush(false,true,false, "Prefab Brush / HexBrush")]
public class HexBrush : GridBrushBase
{
public GameObject hexPrefab; //could we hardcod... | 46.521277 | 252 | 0.646467 | [
"MIT"
] | Nomadjackalope/elemental-breakout | Assets/Scripts/LevelBuilder/HexBrush.cs | 4,375 | C# |
using System;
using System.Runtime.InteropServices;
namespace PlatformInvoke
{
internal class Program
{
/*
* 在平台调用过程中,引发异常或错误情形主要可分为两中类型:
* - 由非托管函数的错误托管定义导致的异常或错误
* 在为非托管函数编写托管定义时,需要知道该函数的名称、参数类型等信息,以及将其导出的DLL的名称。
* 因此,在声明非托管函数的过程中,有可能因为设置了错误的DLL名称而引发DLLN... | 35.139241 | 125 | 0.552233 | [
"MIT"
] | zhy29563/CMakeRunPlatformInvoke | samples/sources/HandleException.cs | 3,572 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BasicExcelFileOpenXML
{
public class CustomersReport
{
public string Name { get; set; }
public string RegisterDate { get; set; }
public string LastBuy { get; se... | 163.712 | 212 | 0.636581 | [
"MIT"
] | Lvcios/Basic-Excel-fil-with-OpenXML-C- | BasicExcelFileOpenXML/CustomersReport.cs | 20,466 | C# |
using System;
using GW2Scratch.EVTCAnalytics.Model;
using GW2Scratch.EVTCAnalytics.Model.Agents;
using GW2Scratch.EVTCAnalytics.Model.Skills;
namespace GW2Scratch.EVTCAnalytics.Events
{
/// <summary>
/// An event relevant to a specific <see cref="Agent"/>.
/// </summary>
public abstract class AgentEvent : Event
{... | 25.992278 | 118 | 0.673797 | [
"MIT"
] | jcogilvie/evtc | EVTCAnalytics/Events/AgentEvents.cs | 6,732 | C# |
/*
* Copyright 2010-2013 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... | 28.716216 | 150 | 0.549176 | [
"Apache-2.0"
] | amazon-archives/aws-sdk-xamarin | AWS.XamarinSDK/AWSSDK_Android/Amazon.S3/Model/ListPartsResponse.cs | 6,375 | C# |
namespace RoboSum.Services.Entities;
using AutoMapper;
using RoboSum.Domain.Entities;
using RoboSum.Domain.Repositories.Entities;
using RoboSum.DTOs;
using RoboSum.Services.Abstractions.Entities;
/// <summary>
/// Represents a service for <see cref="TeacherDto"/> type.
/// </summary>
public class TeacherService : Ab... | 32.041667 | 103 | 0.721717 | [
"Apache-2.0"
] | DavidUrbancok/RoboSum | src/RoboSum.Services/Entities/TeacherService.cs | 771 | C# |
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// Tencent is pleased to support the open source community by making behaviac available.
//
// Copyright (C) 2015 THL A29 Limited, a Tencent company. All rights reserved.
//
// Licensed under the BSD 3-Clau... | 29.064103 | 113 | 0.612704 | [
"BSD-3-Clause"
] | Manistein/behaviac | integration/BattleCityDemo/Assets/Scripts/behaviac/BehaviorTree/Nodes/Decorators/Decoratoralwayssuccess.cs | 2,267 | C# |
namespace MvcTurbine.Web.Blades {
using System.Web.Mvc;
using MvcTurbine.Blades;
/// <summary>
/// Blade for handling the registration of <see cref="IDependencyResolver"/>.
/// </summary>
public class DependencyResolverBlade : CoreBlade {
public override void Spin(IRotorContext... | 35.033333 | 95 | 0.624167 | [
"Apache-2.0"
] | bmabdi/mvcturbine | src/Engine/MvcTurbine.Web/Blades/DependencyResolverBlade.cs | 1,053 | C# |
using System;
using System.Windows;
using System.Windows.Controls.Primitives;
using System.Windows.Input;
namespace DrWPF.Windows.Controls
{
public static class VirtualToggleButton
{
#region attached properties
#region IsChecked
/// <summary>
/// IsChecked Attached Dependency... | 35.404494 | 133 | 0.583095 | [
"MIT"
] | kamranbilgrami/IntellitraceDataCollector | IntelliTraceCPConfig/VirtualToggleButton.cs | 9,455 | C# |
namespace UglyToad.PdfPig.Fonts.TrueType.Tables.CMapSubTables
{
using System.IO;
using Core;
/// <summary>
/// The format 0 sub-table where character codes and glyph indices are restricted to a single bytes.
/// </summary>
internal class ByteEncodingCMapTable : ICMapSubTable, IWriteable
{
... | 32.40625 | 128 | 0.613308 | [
"Apache-2.0"
] | BobLd/PdfP | src/UglyToad.PdfPig.Fonts/TrueType/Tables/CMapSubTables/ByteEncodingCMapTable.cs | 2,076 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using System;
#if UNITY_EDITOR
using UnityEditor;
#endif
namespace HoloToolkit.Unity
{
// Hides a field in an MRDL inspector
[AttributeUsage(AttributeTargets... | 23.791667 | 91 | 0.700525 | [
"CC0-1.0"
] | AGM-GR/In-Game | Assets/HoloToolkit/Utilities/Scripts/Attributes/HideInMRTKInspector.cs | 571 | C# |
// Copyright (c) 2017 Trevor Redfern
//
// This software is released under the MIT License.
// https://opensource.org/licenses/MIT
namespace Tests.Utility
{
using Xunit;
using SilverNeedle.Utility;
public class ReflectorTests
{
[Fact]
public void CanFindTypesUsingStringFromOtherAssemb... | 29.943396 | 117 | 0.609326 | [
"MIT"
] | shortlegstudio/silverneedle-web | silverneedle-tests/Utility/ReflectorTests.cs | 1,587 | C# |
using System.IO;
using System.Runtime.Serialization.Formatters.Binary;
using UnityEngine;
namespace TheBunniesOfVegetaria
{
public static class SaveLoad
{
private static string SaveDataPath => Application.persistentDataPath + "/save.dat";
/// <summary>
/// Save the current save data t... | 32.337209 | 91 | 0.557713 | [
"MIT"
] | AlexGarbus/The-Bunnies-of-Vegetaria | Assets/Scripts/Save Data/SaveLoad.cs | 2,783 | C# |
using System;
namespace uri1006 // Média 2
{
internal static class Program
{
private static void Main()
{
double.TryParse(Console.ReadLine(), out double a);
double.TryParse(Console.ReadLine(), out double b);
double.TryParse(Console.ReadLine(), out double c);... | 29 | 96 | 0.542529 | [
"MIT"
] | filimor/uri-online-judge-c-sharp | UriOnlineJudge/Iniciante/uri1006/Program.cs | 438 | C# |
// Copyright 2004-2010 Castle Project - http://www.castleproject.org/
//
// 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 ... | 48.15493 | 132 | 0.706834 | [
"Apache-2.0"
] | hach-que/Castle.Core | src/Castle.Components.Validator/IBrowserValidationGenerator.cs | 10,257 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace XUnity.AutoTranslator.Plugin.Core.Utilities
{
internal static class EnumHelper
{
public static string GetNames( Type flagType, object value )
{
var attr = (FlagsAttribute)flagType.GetCustomAttrib... | 35.093023 | 129 | 0.532472 | [
"MIT"
] | Divers102/XUnity.AutoTranslator | src/XUnity.AutoTranslator.Plugin.Core/Utilities/EnumHelper.cs | 3,020 | C# |
/**
* Copyright 2015 Canada Health Infoway, 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... | 45.630435 | 262 | 0.732253 | [
"ECL-2.0",
"Apache-2.0"
] | CanadaHealthInfoway/message-builder-dotnet | message-builder-release-v02_r02/Main/Ca/Infoway/Messagebuilder/Model/Pcs_mr2007_v02_r02/Interaction/RecordDispensePickupRequestAccepted.cs | 2,099 | C# |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//---------------------------------------------... | 35.514286 | 218 | 0.622687 | [
"MIT"
] | focus-creative-games/luban_examples | Projects/Csharp_Unity_json/Assets/Gen/ai/UeBlackboard.cs | 2,486 | C# |
using System;
namespace UAlbion.Formats.Assets
{
[Flags]
public enum ItemSlotFlags : byte
{
ExtraInfo = 1,
Broken = 2,
Cursed = 4,
Unk3,
Unk4,
Unk5,
Unk6,
Unk7,
}
} | 14.470588 | 36 | 0.471545 | [
"MIT"
] | mrwillbarnz/ualbion | Formats/Assets/ItemSlotFlags.cs | 248 | C# |
using FluentAssertions;
using NUnit.Framework;
using TechTalk.SpecFlow.IdeIntegration.Services;
namespace TechTalk.SpecFlow.IdeIntegration.UnitTests
{
public class FileSystemTests
{
[TestCase(@"C:/PathToDirectory/", @"C:/PathToDirectory/")]
[TestCase(@"C:/PathToDirectory", @"C:/PathToDirectory... | 35.642857 | 124 | 0.647295 | [
"BSD-3-Clause"
] | 304NotModified/SpecFlow.VisualStudio | UnitTests/IdeIntegration.UnitTests/FileSystemTests.cs | 1,000 | C# |
using Symbolica.Expression;
namespace Symbolica.Abstraction;
public interface ICaller
{
InstructionId Id { get; }
Bits Size { get; }
IAttributes ReturnAttributes { get; }
void Return(IState state);
}
| 16.923077 | 41 | 0.704545 | [
"MIT"
] | Symbolica/Symbolica | src/Abstraction/ICaller.cs | 222 | C# |
// SF API version v41.0
// Custom fields included: False
// Relationship objects included: True
using System;
using NetCoreForce.Client.Models;
using NetCoreForce.Client.Attributes;
using Newtonsoft.Json;
namespace NetCoreForce.Models
{
///<summary>
/// External Data Source
///<para>SObject Name: ExternalDataSourc... | 28.703971 | 55 | 0.654132 | [
"MIT"
] | keylightberlin/NetCoreForce | src/NetCoreForce.Models/SfExternalDataSource.cs | 7,951 | C# |
namespace Questar.OneRoster.Api.Models
{
using System.ComponentModel.DataAnnotations;
using Microsoft.AspNetCore.Mvc;
public class DeleteParams : Params
{
[Required]
[FromRoute]
public string SourcedId { get; set; }
}
} | 22 | 48 | 0.659091 | [
"MIT"
] | QuestarAI/OneRoster | src/Questar.OneRoster.Api/Models/DeleteParams.cs | 264 | C# |
using Neo.SmartContract.Framework;
using Neo.SmartContract.Framework.Services.Neo;
using System;
using System.Numerics;
using System.Text;
namespace NeoContractTest1
{
public class Contract1 : SmartContract
{
private static bool Main(string domain, string name, string subname)
{
by... | 23.4 | 134 | 0.516484 | [
"MIT"
] | combchain/cns | NeoContractTest1/Contract1.cs | 821 | C# |
using Ashirvad.Data;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Ashirvad.ServiceAPI.ServiceAPI.Area.Standard
{
public interface IStandardService
{
Task<StandardEntity> StandardMaintenance(StandardEntity standardInfo);
... | 34.2 | 89 | 0.76462 | [
"MIT"
] | ShailUniqtech/Ashirvad | Ashirvad-main/Ashirvad.ServiceAPI/ServiceAPI/Area/Standard/IStandardService.cs | 686 | C# |
using System.Collections.Generic;
/*
* Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH
* under one or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information regarding copyright
* ownership. Camunda licenses this file to you under t... | 22.743243 | 80 | 0.705288 | [
"Apache-2.0"
] | luizfbicalho/Camunda.NET | camunda-bpm-platform-net/engine-rest/engine-rest/src/main/java/org/camunda/bpm/engine/rest/dto/externaltask/CompleteExternalTaskDto.cs | 1,685 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using OpenCvSharp;
using OpenCvSharp.Dnn;
using System.Threading.Tasks;
public class PoseCamera : MonoBehaviour
{
int inWidth = 368;
int inHeight = 368;
int nPoints = 18;
float thresh = 0.1f;
int frameWidth = 0;
i... | 25.66087 | 142 | 0.544561 | [
"Apache-2.0"
] | Wonder-Tree/PoseCamera-C-Sharp | Assets/PoseCamera.cs | 2,953 | C# |
using System.Linq;
using NUnit.Framework;
using PatternPA.Utils.Huffman.Impl;
using PatternPA.Utils.Huffman.Interface;
namespace PatternPA.Test.Utils.Huffman
{
[TestFixture]
public class CanonicalWordProbabilityTest
{
[TestCase("0010000200222", 1, 13)]
[TestCase("0010000200222", 2, 7)]
... | 32.342105 | 84 | 0.615948 | [
"Apache-2.0"
] | o-mdr/pa-pattern-complexity | src/old/test/PatternPA.Test.Utils/Huffman/CanonicalWordProbabilityTest.cs | 1,231 | C# |
/*
* MindTouch Dream - a distributed REST framework
* Copyright (C) 2006-2011 MindTouch, Inc.
* www.mindtouch.com oss@mindtouch.com
*
* For community documentation and downloads visit wiki.developer.mindtouch.com;
* please review the licensing section.
*
* Licensed under the Apache License, Version 2.... | 40.596154 | 166 | 0.56403 | [
"Apache-2.0"
] | yurigorokhov/DReAM | src/mindtouch.dream/Threading/Timer/GlobalClock.cs | 6,333 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using Akka.Event;
using Akka.TestKit;
using Akka.Util;
using Akka.Util.Internal;
using Xunit;
namespace Akka.Remote.Tests
{
public class AckedDeliverySpec : AkkaSpec
{
sealed class Sequenced :... | 36.229426 | 167 | 0.528979 | [
"Apache-2.0"
] | ashutoshraina/akka.net | src/core/Akka.Remote.Tests/AckedDeliverySpec.cs | 14,530 | C# |
using System.Reflection;
[assembly: AssemblyTitle("Leak.Peer.Receiver")]
[assembly: AssemblyProduct("Leak.Peer.Receiver")]
[assembly: AssemblyCopyright("Copyright © Adrian Macal 2016")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")] | 38.428571 | 62 | 0.758364 | [
"MIT"
] | amacal/leak | sources/Leak.Loop/Properties/AssemblyInfo.cs | 272 | C# |
using Microsoft.AspNetCore.Http;
using System;
using System.Linq;
using System.Threading.Tasks;
using System.Web;
using Webi.Core.SDK;
using Webi.Wechat.SDK;
using Webi.Wechat.SDK.Enums;
using Webi.Wechat.SDK.Models.WxEE;
using Webi.Wechat.Web.Core.IService.WxEE;
using Webi.Wechat.Web.Core.Models.EFModels.MiddlewareDB... | 39.849421 | 140 | 0.512547 | [
"MIT"
] | amwitx/Amw.Core | Common/Webi.Wechat.Web.Core/Service/WxEE/WxEE_AuthorizeService.cs | 10,697 | C# |
using System.Collections.Generic;
using System.Runtime.Serialization;
using System.Text;
using ApiPeek.Core.Extensions;
namespace ApiPeek.Core.Model;
[DataContract]
public class ApiField : ApiBaseItem, IDetail
{
[DataMember]
public string Type { get; set; }
[DataMember]
public bool IsStatic { get; set... | 27.232558 | 98 | 0.645602 | [
"MIT"
] | martinsuchan/ApiPeek | Source/ApiPeek.Core/Model/ApiField.cs | 1,171 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.