added string | created string | id string | metadata dict | source string | text string | code-score float64 | md5 string |
|---|---|---|---|---|---|---|---|
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87961 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "Xenoage/RpcLib",
"max_stars_repo_path": "Test/Serialization/JsonSerializerTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87962"
} | starcoder | <reponame>Xenoage/RpcLib
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Xenoage.RpcLib.Serialization {
/// <summary>
/// Tests for <see cref="JsonSerializer"/>.
/// </summary>
[TestClass]
public clas... | 2.750907 | a3d634daa00e870a14d4505d612f9b0f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87962 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "jefferydutra/EntityAndValueObjectBase",
"max_stars_repo_path": "EntityAndValueObjectBase/EntityAndValueObjectBase.Infrastructure/Domain/EntityIsNotValidException.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87963"
} | starcoder | using System;
namespace EntityAndValueObjectBase.Infrastructure.Domain{
public class EntityIsNotValidException : Exception{
public EntityIsNotValidException(string message) : base(message){
}
}
} | 2.037717 | 3c38065aa44e932a76c2bee781a7d337 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87963 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "obrienmp15/School",
"max_stars_repo_path": "SchoolDB/School.DataAccess/Models/Teacher.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87964"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SchoolDB.Models
{
/// <summary>
///
/// </summary>
public class Teacher
{
public int TeacherId { get; set; }
public int CourseId { get; set; }
public int Sch... | 1.718225 | 35587ccd2baedd2ae4d958a50542e1f5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87964 | {
"extension": "c-sharp",
"max_stars_count": "2349.0",
"max_stars_repo_name": "Frunck8206/Pomelo.EntityFrameworkCore.MySql",
"max_stars_repo_path": "src/EFCore.MySql/Query/Internal/MySqlQueryCompilationContext.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87965"
} | starcoder | <reponame>Frunck8206/Pomelo.EntityFrameworkCore.MySql<filename>src/EFCore.MySql/Query/Internal/MySqlQueryCompilationContext.cs
// Copyright (c) Pomelo Foundation. All rights reserved.
// Licensed under the MIT. See LICENSE in the project root for license information.
using JetBrains.Annotations;
using Microsoft.Entit... | 1.732282 | 8cfad86221c49f461e4e2bd08e7157f4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87965 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "vladkolodka/notifications-demo",
"max_stars_repo_path": "Server/Demo.Notifications/Services/BasicNotificationHandler.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87966"
} | starcoder | <filename>Server/Demo.Notifications/Services/BasicNotificationHandler.cs
using System;
using System.Text.Json;
using System.Threading.Tasks;
using Demo.Notifications.Models;
namespace Demo.Notifications.Services
{
using Infrastructure.Data;
using Infrastructure.Services;
using Interfaces;
using Microsof... | 2.597895 | 8c069740f337d75c41a0cc310f42a8a8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87966 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Fler/ObjectCloner",
"max_stars_repo_path": "tests/ObjectCloner.Tests/DeepClone/SettingCloneTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87967"
} | starcoder | <gh_stars>0
using System.Collections.Generic;
using Newtonsoft.Json;
using Xunit;
namespace ObjectCloner.Tests.DeepClone
{
public class SettingCloneTest
{
[Fact]
public void HandlesCloneWithoutSettingCopyAllFields()
{
var testClass = GetTestClass();
var cop... | 2.468006 | eb5239ee84c5dfb8c2491e033e8bcd05 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87967 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "mcintyre321/Giveth",
"max_stars_repo_path": "Giveth/Steps.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87968"
} | starcoder | <gh_stars>10-100
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Text.RegularExpressions;
namespace Giveth
{
public static class Steps
{
private static readonly List<Scenario> GtwLookup = new L... | 3.001425 | 46d653d2cfb65da275a5436fc988aeb7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87968 | {
"extension": "c-sharp",
"max_stars_count": "49.0",
"max_stars_repo_name": "djcarter85/RandN",
"max_stars_repo_path": "src/RandN/Distributions/UniformTimeSpan.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87969"
} | starcoder | using System;
// ReSharper disable RedundantNameQualifier
namespace RandN.Distributions
{
public static partial class Uniform
{
/// <summary>
/// A uniform distribution of type <see cref="TimeSpan" />.
/// </summary>
public readonly struct TimeSpan : IPortableDistribution<System... | 2.971353 | bac0c05732bef682e7c3ce4496a39a12 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87969 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nczsl/Fone",
"max_stars_repo_path": "DescriptionModel/base.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87970"
} | starcoder | <filename>DescriptionModel/base.cs
using System;
namespace DescriptionModel.basex {
public class Person {
public int Id { get; set; }
public string Name { get; set; }
public string Pwd { get; set; }
public string Phone { get; set; }
public string Email { get; set; }
... | 2.594529 | ceb187ba591f3f654e6241a07b60fbf7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87970 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DreamStar1996/NetCore-websocket",
"max_stars_repo_path": "Web/Filter/QueryableAttribute.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87971"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Web.Filter
{
/// <summary>。
/// 是否启用查询过滤器。自定义特性
/// (1)用于判断是否需要给model模型实体类添加身份标志
/// (2)用于是否给方法参数where字典添加查询条件
/// </summary>
[AttributeUsage(AttributeTargets.Method,
Allo... | 2.005989 | 56a46d2f46d2856f488ad7bdf3640af6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87971 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Luxoft/BSSFramework.Workflow",
"max_stars_repo_path": "src/_Workflow/Framework.Workflow.TestGenerate/ServerGenerators.Initialize.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87972"
} | starcoder | using System;
using System.Linq;
namespace Framework.Workflow.TestGenerate
{
public partial class ServerGenerators : GeneratorsBase
{
protected readonly ServerGenerationEnvironment Environment;
private readonly bool genParallel = true;
public ServerGenerators()
... | 1.929215 | 30422be3826dd5d0517819d5ef05369a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87972 | {
"extension": "c-sharp",
"max_stars_count": "157.0",
"max_stars_repo_name": "mehrdad-shokri/Stove",
"max_stars_repo_path": "src/Stove.RavenDB/RavenDB/Filters/Action/RavenActionFilterExecuter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87973"
} | starcoder | using Autofac.Extras.IocManager;
using Stove.Domain.Entities;
using Stove.Domain.Uow.DynamicFilters.Action;
namespace Stove.RavenDB.Filters.Action
{
public class RavenActionFilterExecuter : IRavenActionFilterExecuter, ITransientDependency
{
private readonly IScopeResolver _scopeResolver;
pub... | 1.749352 | 399f2642b08fff2460d671d8bc04f364 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87973 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "akdimitrov/CSharp-Fundamentals",
"max_stars_repo_path": "02.3.DataTypesAndVariables-MoreExercise/T03.FloatingEquality/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87974"
} | starcoder | using System;
namespace T03.FloatingEquality
{
class Program
{
static void Main(string[] args)
{
const float Eps = 0.000001f;
double num1 = double.Parse(Console.ReadLine());
double num2 = double.Parse(Console.ReadLine());
bool isEqual = Math.Abs(... | 3.154619 | d0a5542184ead2239336aa2ae4f68ab9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87974 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "john-craft/chartmogul-dotnet",
"max_stars_repo_path": "ChartMogul/Models/Metrics/CustomerCountModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87975"
} | starcoder | using Newtonsoft.Json;
using System;
using System.Collections.Generic;
namespace ChartMogul.API.Models.Metrics
{
public class CustomerCountEntry
{
[JsonProperty(PropertyName = "date")]
public DateTime Date { get; set; }
[JsonProperty(PropertyName = "customers")]
public int Cu... | 1.945737 | f61c46b18ef6f325fa9a244dec9c67fc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87975 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "gighen76/gatemq",
"max_stars_repo_path": "src/GateMQ/IGateFactory.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87976"
} | starcoder | <filename>src/GateMQ/IGateFactory.cs
using System;
using System.Threading;
using System.Threading.Tasks;
namespace GateMQ
{
public interface IGateFactory
{
IGateConsumer CreateConsumer(string serviceName, string topicName,
Func<GateContext, CancellationToken, Task> messageHandler,
... | 1.821831 | 8733f7f4d2604a4f5f24520cb06b97f8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87976 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "udayupasani/Azure-Vault",
"max_stars_repo_path": "src/ResourceManager/RecoveryServices.Backup/Commands.RecoveryServices.Backup/RecoveryServicesBackupCmdletBase.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87977"
} | starcoder | // ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://w... | 1.927587 | a45cd08eea232ac954ff1373c84feade |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87977 | {
"extension": "c-sharp",
"max_stars_count": "69.0",
"max_stars_repo_name": "mehrdad995gta/grid-sensor",
"max_stars_repo_path": "Assets/Scripts/Sensors/Grid/GameObject/Detectable/DetectableGameObject3D.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87978"
} | starcoder | <filename>Assets/Scripts/Sensors/Grid/GameObject/Detectable/DetectableGameObject3D.cs<gh_stars>10-100
using UnityEngine;
namespace MBaske.Sensors.Grid
{
public class DetectableGameObject3D : DetectableGameObject
{
[SerializeField, Tooltip("Enable to add optional one-hot observation." +
"\nD... | 2.627451 | d103967cab95199b05bb8cacbfc4613b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87978 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "hayden-droid/Roblox-API-Dump-Tool",
"max_stars_repo_path": "Descriptors/Member.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87979"
} | starcoder | <filename>Descriptors/Member.cs<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
namespace Roblox.Reflection
{
public enum MemberType
{
Property,
Function,
Event,
Callback
}
public abstract class MemberDescriptor... | 2.904248 | 7a2b23fc7c7a4356f30df7af4a2bb164 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87979 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "binsys/bap",
"max_stars_repo_path": "Code/BAP/BAP.Loader.MachO/Consts.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87980"
} | starcoder | <gh_stars>1-10
using System;
namespace BAP.Loader.MachO
{
public class Consts
{
/* Constant for the magic field of the mach_header (32-bit architectures) */
public const UInt32 MH_MAGIC = 0xfeedface; /* the mach magic number */
public const UInt32 MH_CIGAM = 0xcefaedfe; /* NXSwapInt(MH_MAGIC) */
... | 1.90588 | 966db28d31b8618f98640fc7ca1b67da |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87980 | {
"extension": "c-sharp",
"max_stars_count": "58.0",
"max_stars_repo_name": "xigadee/Microservice",
"max_stars_repo_path": "Src/Xigadee.Platform/Command/Command/MasterJob/MasterJobContext.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87981"
} | starcoder | <reponame>xigadee/Microservice<filename>Src/Xigadee.Platform/Command/Command/MasterJob/MasterJobContext.cs
#region using
using System;
using System.Collections.Generic;
using System.Collections.Concurrent;
using System.Threading.Tasks;
using System.Threading;
using Xigadee;
#endregion
namespace Xigadee
{
/// <summ... | 2.359536 | 105b186cd27bf3fb584dad4f4c979255 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87981 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "scottheckel/AuthyDotNet",
"max_stars_repo_path": "AuthyDotNet/Helpers.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87982"
} | starcoder | using System.Text.RegularExpressions;
namespace AuthyDotNet
{
/// <summary>
/// Authy Helpers
/// </summary>
/// <remarks>
/// Copyright (C) 2012 <NAME>,
/// Copyright(C) 2015-2020 Authy Inc
/// Permission is hereby granted, free of charge, to any person obtaining a copy of this software a... | 2.546084 | 825e981716b98f5aa37bee10023ba324 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87982 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "saulbarretominaya/compras_ventas",
"max_stars_repo_path": "librerias/login/Index.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:87983"
} | starcoder | <gh_stars>0
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>PROVÍAS Nacional | Ministerio de Transportes y Comunicaciones</title>
<link re... | 1.868663 | 664e6880a0c5c91bc011e2c5255c325c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87983 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "BloodARG/tModLoaderTShock",
"max_stars_repo_path": "TShock-general-devel/TerrariaServerAPI/Terraria/World.Generation/Modifiers.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87984"
} | starcoder | <filename>TShock-general-devel/TerrariaServerAPI/Terraria/World.Generation/Modifiers.cs
using System;
using Terraria;
namespace Terraria.World.Generation
{
public static class Modifiers
{
public class Blotches : GenAction
{
private int _minX;
private int _minY;
private int _maxX;
... | 2.207634 | 3730aa7ea321b7481d50747bcbb50ddd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87984 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "giuunit/Umbraco.StructureMigration",
"max_stars_repo_path": "GiuUnit.Umbraco.StructureMigration/GiuUnit.Umbraco.StructureMigration/MigrationProcessRepository.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87985"
} | starcoder | using System.Collections.Generic;
using Umbraco.Core.Models;
using System.Linq;
using GiuUnit.Umbraco.StructureMigration.ViewModels;
namespace GiuUnit.Umbraco.StructureMigration
{
public static class MigrationProcessRepository
{
public static IEnumerable<IMigrationProcess> GetRepository()
{
... | 2.30572 | d1420a47f927881f765785e6efe09951 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87985 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jonasfugl/thesis-network-simulator",
"max_stars_repo_path": "source/ConstellationSimulator.Test.Unit/AODV/RrepAckTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87986"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ConstellationSimulator.AODV;
using ConstellationSimulator.Network.Message;
using NUnit.Framework;
namespace ConstellationSimulator.Test.Unit.AODV
{
[TestFixture]
class RrepAckTests
{
... | 2.10469 | fc7062d35a5e7d058d365f2267a63c1c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87986 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Marian25/First_Person_Survival_Game",
"max_stars_repo_path": "Assets/Dead Earth/Scripts/Scriptable Objects/CustomCurve.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87987"
} | starcoder | <reponame>Marian25/First_Person_Survival_Game
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[CreateAssetMenu(fileName = "Custom Animation Curve")]
public class CustomCurve : ScriptableObject {
[SerializeField] AnimationCurve curve = new AnimationCurve(new Keyframe(0, 0), new Keyf... | 2.331253 | 9d0e51f6fc25df04afea27c316ab10b7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87987 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "BlackFire-Studio/BlackFire.Unity",
"max_stars_repo_path": "Editor/Script/BlackFireEditor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87988"
} | starcoder | /*
--------------------------------------------------
| Copyright © 2008 Mr-Alan. All rights reserved. |
| Website: www.0x69h.com |
| Mail: <EMAIL> |
| QQ: 835988221 |
--------------------------------------------------
*/
using UnityEditor;
us... | 1.979318 | 7f4668026d54c8975daafeb8b3250773 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87988 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "whj998013/Stock",
"max_stars_repo_path": "Git.Storage.Conversion/MoveOrderDetail_To.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87989"
} | starcoder | <reponame>whj998013/Stock
/*******************************************************************************
* Copyright (C) Git Corporation. All rights reserved.
*
* Author: 代码工具自动生成
* Create Date: 2014/05/09 22:47:43
* Blog: http://www.cnblogs.com/qingyuan/
* Copyright: 太数智能科技(上海)有限公司
* Description: Git.Framew... | 1.59653 | ee705ed95f8fe957b53411fec3b15124 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87989 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Akeraiotitasoft/ConsoleDriving",
"max_stars_repo_path": "src/Akeraiotitasoft.ConsoleDriving/Internal/ConsoleDriver.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87990"
} | starcoder | <filename>src/Akeraiotitasoft.ConsoleDriving/Internal/ConsoleDriver.cs
// Copyright (c) .NET Foundation. All rights reserved. (Original version)
// Copyright (c) Akeraiotitasoft LLC. All rights reserved. For the ConsoleDriver derivative work.
// Licensed under the Apache License, Version 2.0. See License in the proj... | 2.192646 | f273739b8834e1806ee755c820ced971 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87990 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lol-github/TizenFX",
"max_stars_repo_path": "src/Tizen.NUI.XamlBuild/src/public/EXamlBuild/EXaml/EXamlCreateObject/EXamlCreateObject.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87991"
} | starcoder | <gh_stars>0
/*
* Copyright(c) 2022 Samsung Electronics Co., Ltd.
*
* 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... | 1.863935 | e22747ebb9dc37ac63ea7c8d561a318a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87991 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dzhanetGerdzhikova/EF-Core",
"max_stars_repo_path": "ADO.NET/ExerciseADO.NET/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87992"
} | starcoder | using Microsoft.Data.SqlClient;
using System;
namespace ExerciseADO.NET
{
class Program
{
static void Main(string[] args)
{
// using SqlConnection connection = new SqlConnection("Server=.;Integrated Security=true");
//connection.Open();
//SqlCommand createD... | 2.851804 | 428c8c1425d07b400766f4b0a559c8a0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87992 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "QPC-database/aws-tools-for-powershell",
"max_stars_repo_path": "modules/AWSPowerShell/Cmdlets/TranscribeService/Basic/Start-TRSMedicalTranscriptionJob-Cmdlet.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87993"
} | starcoder | <gh_stars>1-10
/*******************************************************************************
* Copyright 2012-2019 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... | 1.578893 | 47dec6693287c25fd60460da33a4b9d0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87993 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "CapnTarder/escapeRoom",
"max_stars_repo_path": "Assets/VR Beginner/Scripts/Gameplay/PotionSpawner.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87994"
} | starcoder | <gh_stars>1-10
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
/// <summary>
/// PotionBrewed will be hooked to the OnBrew event of the CauldronContent in the scene, and this script will take care
/// of dispatching the right prefab to the ObjectSpawner to make the potion spawn
/... | 2.537446 | 8c93ad98c61f85eda9933339d0d9f7ed |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87994 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "TakahiroMiyaura/AzureMapsIndoorDataSamples",
"max_stars_repo_path": "IndoorDataUploader/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87995"
} | starcoder | <reponame>TakahiroMiyaura/AzureMapsIndoorDataSamples
// Copyright (c) 2021 <NAME>
// Released under the MIT license
// http://opensource.org/licenses/mit-license.php
using System;
using System.Collections.Generic;
using System.IO;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Text.Json;
... | 2.23078 | 93cf46adbb1e110db6242927ec540f5d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87995 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ecl1ps/orbital-devastation",
"max_stars_repo_path": "Application/Core/Scene/Entities/Implementations/Line.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87996"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using Orbit.Core.Client;
using Orbit.Core.Helpers;
using Orbit.Core.Players;
using System.Windows.Media;
namespace Orbit.Core.Scene.Entities
{
public class Line : SceneObject
{
public Vector Sta... | 2.670251 | b368100c250c1e2ea0a67cd3b77bf2aa |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87996 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "xafero/upcloud-c-sharp-api",
"max_stars_repo_path": "src/Upcloud.Test/Api/StorageApiTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87997"
} | starcoder | /*
* Upcloud api
*
* The UpCloud API consists of operations used to control resources on UpCloud. The API is a web service interface. HTTPS is used to connect to the API. The API follows the principles of a RESTful web service wherever possible. The base URL for all API operations is https://api.upcloud.com/. All ... | 2.226121 | 65608f0ea82588486c5255394d3d5271 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87997 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "curryudon08/Atcoder",
"max_stars_repo_path": "ABC/abc148/c/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87998"
} | starcoder | using System;
namespace c
{
class Program
{
static void Main(string[] args)
{
var _ = Console.ReadLine().Split();
var a = int.Parse(_[0]);
var b = int.Parse(_[1]);
Console.WriteLine(Lcm(a, b));
}
//最小公倍数
static long Lcm(... | 3.576627 | 61215c95f9f254b23e326ead74db15df |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87998 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "peterson1/Repo1",
"max_stars_repo_path": "Repo1.Core.ns11/R1Models/D8Models/D8ViewsLists/UploadablesForUserView.cs",
"provenance": "train-00000-of-00045.jsonl.gz:87999"
} | starcoder | using Repo1.Core.ns11.Drupal8Tools;
namespace Repo1.Core.ns11.R1Models.D8Models.D8ViewsLists
{
public class UploadablesForUserView : R1Package, ID8ViewsList
{
public string ResourceURL => "uploadables-for-current-user";
}
}
| 1.235401 | acfde699af4157ff432afba211efac30 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 87999 | {
"extension": "c-sharp",
"max_stars_count": "123.0",
"max_stars_repo_name": "LeftTwixWand/QuickInfo",
"max_stars_repo_path": "src/QuickInfo/Query/Structure/Integer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88000"
} | starcoder | using System;
using System.Numerics;
namespace QuickInfo
{
public enum IntegerKind
{
Decimal,
Hexadecimal
}
public class Integer : IStructureParser
{
public BigInteger Value { get; }
public IntegerKind Kind { get; private set; }
public int Int32 => (int)Val... | 3.33851 | 624e7fb51fbef5512eed994191eab3be |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88000 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "LarsVonQualen/cheetah",
"max_stars_repo_path": "cheetah.api/CheetahApi/Cheetah.Security.Interfaces/Models/IExpirableToken.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88001"
} | starcoder | using System;
using Cheetah.Security.Interfaces.Models.Base;
namespace Cheetah.Security.Interfaces.Models
{
public interface IExpirableToken : IToken
{
DateTime Expires { get; set; }
}
} | 1.723382 | f83afed5d7640ccd7d1c482a931d0961 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88001 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "mind0n/hive",
"max_stars_repo_path": "History/Website/Anniversary/Site/Admin/UsersManage.aspx.designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88002"
} | starcoder | <gh_stars>1-10
//------------------------------------------------------------------------------
// <自动生成>
// 此代码由工具生成。
//
// 对此文件的更改可能会导致不正确的行为,并且如果
// 重新生成代码,这些更改将会丢失。
// </自动生成>
//------------------------------------------------------------------------------
namespace Site.Admin {
public ... | 1.344724 | 874bf5df00aa2120a4f7a767387d4f24 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88002 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "RomanKnyazev/Headjack-template-Unity3d-",
"max_stars_repo_path": "Assets/Template/Scripts/Fader.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88003"
} | starcoder | using UnityEngine;
using System.Collections.Generic;
using System.Linq;
using System;
using System.Collections;
namespace Assets
{
public sealed class Fader : MonoBehaviour
{
private enum State
{
FadedIn,
FadedOut,
FadingIn,
FadingOut,
... | 2.231858 | 698d06ae93be1d5b21aef9cae4410bf7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88003 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "develop-a/EjemploCache",
"max_stars_repo_path": "src/EjemploCache.Usuarios/External/Empresa/Services/Distributed/EmpresaServicio.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88004"
} | starcoder | <reponame>develop-a/EjemploCache
using Microsoft.Extensions.Caching.Distributed;
using System.Net.Http;
using System.Net.Http.Json;
using System.Text.Json;
using System.Threading.Tasks;
namespace EjemploCache.Usuarios.External.Empresa.Services.Distributed
{
public interface IDistributedEmpresaServicio
{
... | 2.515287 | e1b0dea042cd89b5da893857186c24a3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88004 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "leeveel/GeekProto",
"max_stars_repo_path": "Geek.Generate/Proto/Test2.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88005"
} | starcoder | //auto generated, do not modify it
//限制:命名不能以下划线结尾(可能冲突)
//限制:map的key只支持基础类型和string;list/map不能optional,list/map不能嵌套
//兼容限制:字段只能添加,添加后不能删除,添加字段只能添加到最后,添加消息类型只能添加到最后
//兼容限制:不能修改字段类型(如从bool改为long)
//兼容限制:消息类型(含msdId)不能作为其他消息的成员类型
using Geek.Server;
using System.Collections.Generic;
///<summary></summary>
namespace Geek.... | 1.953293 | 4f50de2239eb1ac51705b6a31a03e091 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88005 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Jamejarrs/WALICDH",
"max_stars_repo_path": "source/seabreeze-3.0.11/util/OBPTester/OBPTester/OBPBuffer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88006"
} | starcoder | //
// The MIT License (MIT)
// Copyright (c) 2015 Ocean Optics, Inc. All rights reserved.
// Permission is hereby granted, free of charge, to any person obtaining a copy of
// this software and associated documentation files (the "Software"), to deal in
// the Software without restriction, including without li... | 1.996455 | 1dad8f73429bcff89434cbcbdad80561 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88006 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "SNBnani/Xian",
"max_stars_repo_path": "ImageViewer/Explorer/Dicom/DicomExplorerConfigurationComponent.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88007"
} | starcoder | #region License
// Copyright (c) 2011, ClearCanvas Inc.
// All rights reserved.
// http://www.clearcanvas.ca
//
// This software is licensed under the Open Software License v3.0.
// For the complete license, see http://www.clearcanvas.ca/OSLv3.0
#endregion
using ClearCanvas.Common;
using ClearCanvas.Desk... | 1.730926 | 5f0a74a4115de7914462b5e6cf01580b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88007 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Aegaina/HtmlAgilityPack",
"max_stars_repo_path": "src/HtmlAgilityPack.Shared/HtmlWebException.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88008"
} | starcoder | // Description: Html Agility Pack - HTML Parsers, selectors, traversors, manupulators.
// Website & Documentation: http://html-agility-pack.net
// Forum & Issues: https://github.com/zzzprojects/html-agility-pack
// License: https://github.com/zzzprojects/html-agility-pack/blob/master/LICENSE
// More projects: http://w... | 2.380858 | 94c5d996d50148b996eea8b395df7e60 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88008 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "binlyzhuo/csharpfoundation",
"max_stars_repo_path": "CSharpFoundation/ThreadPoolHelper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88009"
} | starcoder | <reponame>binlyzhuo/csharpfoundation
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace CSharpFoundation
{
public class ThreadPoolHelper
{
//http://www.tuicool.com/articles/6vMFza
public static v... | 2.493418 | 63edb4256c6f7d9c678eb5944906dc31 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88009 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jgonte/DomainFramework",
"max_stars_repo_path": "DomainFramework.Tests/Legacy/MultipleRelationships/UserPhotosDefaultPhoto/Aggregates/UserCommandAggregate.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88010"
} | starcoder | using DomainFramework.Core;
namespace DomainFramework.Tests
{
class UserCommandAggregate : CommandAggregate<UserEntity>
{
public UserCommandAggregate(IRepositoryContext context, UserInputDto userInputDto) : base(context)
{
RootEntity = new UserEntity
{
N... | 2.473741 | 02289a188120075dee18502e7c6db3fd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88010 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "antcalatayud/GigHub",
"max_stars_repo_path": "GigHub/Views/Shared/Gigs.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:88011"
} | starcoder | @model GigHub.Core.ViewModels.GigsViewModel
<h1>@Model.Heading</h1>
@using (Html.BeginForm("Search", "Gigs"))
{
<div class="form-group">
<div id="searchGigs" class="input-group">
@Html.TextBoxFor(m => m.SearchTerm, new
{
@class = "form-control",
placeholder = "Sear... | 2.402375 | 0a074218573d75b85b2dcd332a5e113c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88011 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Seekatar/GpioPlayground",
"max_stars_repo_path": "I2C/CS/StartupTask.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88012"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Net.Http;
using Windows.ApplicationModel.Background;
using Windows.Devices.I2c;
using Windows.System.Threading;
using static System.Diagnostics.Debug;
// The Background Application template is documented at http://go.m... | 2.674734 | 01b6b8aa112d64d8aa6088f3176b4635 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88012 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Softenraged/RSADigitalSignature",
"max_stars_repo_path": "RSASignature/Model/ServerForm.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88013"
} | starcoder | <filename>RSASignature/Model/ServerForm.cs
using RSASignature.Auth.Participants;
using RSASignature.Auth.Sign;
using RSASignature.KeyGeneration.Keys;
using System;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace RSASignature.Model
{
public partial class ServerForm : Form
{
private... | 2.497367 | 59f5744f9065b6113f8b408d643b1fdb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88013 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "quirijnslings/dynamic-delivery-4-tridion",
"max_stars_repo_path": "dotnet/DD4T.ContentModel.Contracts/Resolvers/IPublicationResolver.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88014"
} | starcoder | namespace DD4T.ContentModel.Contracts.Resolvers
{
public interface IPublicationResolver
{
int ResolvePublicationId();
}
}
| 1.215313 | e35cf2786ec8b20e49c51284e8573d75 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88014 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "EducatedStrikeCart/DMStorefront",
"max_stars_repo_path": "DMStorefront/Server/Controllers/AuthorizeController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88015"
} | starcoder | using DMStorefront.Server.Data;
using DMStorefront.Server.Models;
using DMStorefront.Shared;
using DMStorefront.Shared.Models;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
namespace DMStorefront.Server.Controllers
{... | 2.206495 | 82715e50dceab3cf0eb788f53728c9fa |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88015 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sedc-codecademy/skwd8-08-aspnetmvc",
"max_stars_repo_path": "g2/PizzaApp.Refactored/SEDC.PizzaApp.Refactored/SEDC.PizzaApp.DataAccess/Repositories/CacheRepositories/UserRepository.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8801... | starcoder | <gh_stars>0
using SEDC.PizzaApp.Domain.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace SEDC.PizzaApp.DataAccess.Repositories.CacheRepositories
{
public class UserRepository : IRepository<User>
{
public List<User> GetAll()
{
re... | 2.381478 | 3c8bfcde57de11c7a2da821f62f713ee |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88016 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Promact/aspnetboilerplate-extended",
"max_stars_repo_path": "src/AspnetBoilerplateExtended.EntityFrameworkCore/EntityFrameworkCore/Seed/SeedData.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88017"
} | starcoder | <reponame>Promact/aspnetboilerplate-extended
using Abp.Timing;
using AspnetBoilerplateExtended.EntityFrameworkCore;
using CETAutomation.Masters;
using System;
using System.Collections.Generic;
using System.Linq;
namespace CETAutomation.EntityFrameworkCore.Seed
{
public class SeedData
{
private readonl... | 2.178212 | 6a43978c70850a142c1d6e89f3aae0f3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88017 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MarceloZardoBR/ProjetoTCC_FIAP",
"max_stars_repo_path": "lumen-mvc/DotNetAppSqlDb/Models/Plano.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88018"
} | starcoder | <reponame>MarceloZardoBR/ProjetoTCC_FIAP
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Web;
namespace DotNetAppSqlDb.Models
{
[Table("planos")]
public class Plano
{
[K... | 1.797711 | 5d48a53250af29c41a7f6c20e6a15110 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88018 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sunilson/infinity-climber",
"max_stars_repo_path": "Assets/Scripts/scorePopupScript.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88019"
} | starcoder | using UnityEngine;
using System.Collections;
using UnityEngine.UI;
public class scorePopupScript : MonoBehaviour
{
private Animator anim;
public static scorePopupScript instance;
private Text scorePopup;
void Awake ()
{
MakeInstance ();
}
// Use this for initialization
void Start ()
{
anim = GetCompo... | 2.195074 | 0dad90f4afbff6c7b1f743a4de38560c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88019 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "DzhekZ/ReactiveUISamples",
"max_stars_repo_path": "MvvmExample/Example1/MainWindow.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88020"
} | starcoder | using System.Windows;
namespace Example1
{
/// <summary>
/// Interaction logic for MainWindow.xaml
/// </summary>
public partial class MainWindow : Window
{
// our view model
SongViewModel _viewModel;
public MainWindow()
{
InitializeCom... | 2.71592 | 9ebe5e8fa2b3cd82f9f0ea25d8713fb9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88020 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "muratakkas/developernews",
"max_stars_repo_path": "Dews.DataAccess/Interfaces/IDatabaseEntity.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88021"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Text;
namespace Dews.DataAccess.Interfaces
{
public interface IDatabaseEntity
{
TDtoType ToDTO<TDtoType>();
}
}
| 1.321313 | 661f3aa0e7575e6aad72d14fe90fc9f1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88021 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "manhcuongdoan/SimpleTaskApp",
"max_stars_repo_path": "aspnet-core/src/Metech.SimpleWebApp.Core/Localization/SimpleWebAppLocalizationConfigurer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88022"
} | starcoder | <gh_stars>0
using Abp.Configuration.Startup;
using Abp.Localization.Dictionaries;
using Abp.Localization.Dictionaries.Xml;
using Abp.Reflection.Extensions;
namespace Metech.SimpleWebApp.Localization
{
public static class SimpleWebAppLocalizationConfigurer
{
public static void Configure(ILocalizationCo... | 1.332944 | 00f5f22b8c257ac07c403bc7c6371f29 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88022 | {
"extension": "c-sharp",
"max_stars_count": "22.0",
"max_stars_repo_name": "mifopen/ReportDotNet",
"max_stars_repo_path": "src/ReportDotNet.Docx/FillRectangleOffsetsCalculator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88023"
} | starcoder | <filename>src/ReportDotNet.Docx/FillRectangleOffsetsCalculator.cs
using System;
using System.Drawing;
namespace ReportDotNet.Docx
{
internal static class FillRectangleOffsetsCalculator
{
private const int OpenxmlPercentMultiplier = 1000;
public static Offsets Calculate(Size imageSize,
... | 3.064726 | af55c140d07db580b3cd104f2f20ca45 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88023 | {
"extension": "c-sharp",
"max_stars_count": "242.0",
"max_stars_repo_name": "wxq127/gamebuilder",
"max_stars_repo_path": "Assets/Scripts/Tools/LogicSidebar.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88024"
} | starcoder | <filename>Assets/Scripts/Tools/LogicSidebar.cs<gh_stars>100-1000
/*
* Copyright 2019 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses... | 1.495532 | f4130d7b138f89b0cd8bd87f10059021 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88024 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "thanhntggsunday/AdvantureWork2017",
"max_stars_repo_path": "AdvantureWork.Common/Constant/LevelPermissionConstants.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88025"
} | starcoder | <reponame>thanhntggsunday/AdvantureWork2017<gh_stars>0
using System;
using System.Collections.Generic;
using System.Text;
namespace AdvantureWork.Common.Constant
{
public static class LevelPermissionConstants
{
public const string CREATE = "CREATE";
public const string EDIT = "EDIT";
p... | 1.262596 | e90243b60ac7a32cee6b8d3322a9de7f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88025 | {
"extension": "c-sharp",
"max_stars_count": "80.0",
"max_stars_repo_name": "smorey2/SlackNet",
"max_stars_repo_path": "SlackNet/WebApi/Responses/Pagination.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88026"
} | starcoder | <reponame>smorey2/SlackNet
namespace SlackNet.WebApi
{
public class Pagination
{
public int TotalCount { get; set; }
public int Page { get; set; }
public int PerPage { get; set; }
public int PageCount { get; set; }
public int First { get; set; }
public int Last {... | 1.609968 | d145835edb35120d0882e93fee9cc025 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88026 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "dudinda/Image-Processing",
"max_stars_repo_path": "Source/ImageProcessing.App.PresentationLayer/DomainEvents/SettingsArgs/ChangeRotationEventArgs.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88027"
} | starcoder | <filename>Source/ImageProcessing.App.PresentationLayer/DomainEvents/SettingsArgs/ChangeRotationEventArgs.cs
namespace ImageProcessing.App.PresentationLayer.DomainEvents.SettingsArgs
{
/// <summary>
/// Rotation method which is used on an image container.
/// </summary>
public sealed class ChangeRotation... | 1.666505 | 1a15b11001b22982c1000076c592a54e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88027 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TehPers/Stardew-Valley-Mods",
"max_stars_repo_path": "src/TehPers.FishingOverhaul/Services/DefaultFishingSource.FishingEffects.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88028"
} | starcoder | <filename>src/TehPers.FishingOverhaul/Services/DefaultFishingSource.FishingEffects.cs
using StardewValley;
using System.Collections.Generic;
using System.Collections.Immutable;
using TehPers.FishingOverhaul.Api.Content;
using TehPers.FishingOverhaul.Effects;
namespace TehPers.FishingOverhaul.Services
{
internal s... | 2.122406 | b0f35cc781b73fffe54a01665fb02ff8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88028 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "SkillsFundingAgency/das-provider-relationships",
"max_stars_repo_path": "src/SFA.DAS.ProviderRelationships.Api/RouteValues/AccountProviderLegalEntities/GetAccountProviderLegalEntitiesRouteValues.cs",
"provenance": "train-00000-of-0004... | starcoder | <reponame>SkillsFundingAgency/das-provider-relationships<gh_stars>1-10
using System.Collections.Generic;
using SFA.DAS.ProviderRelationships.Types.Models;
namespace SFA.DAS.ProviderRelationships.Api.RouteValues.AccountProviderLegalEntities
{
public class GetAccountProviderLegalEntitiesRouteValues
{
pub... | 1.019989 | 708a7304064f7076500467ae56ee5e25 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88029 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "RealityProgrammer/Tractatori",
"max_stars_repo_path": "Assets/Scripts/Data Types/ITractatoriConvertible.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88030"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public interface ITractatoriConvertible
{
MVector ToMVector();
MVectorInt ToMVectorInt();
}
| 1.546703 | d85acb1906c16424890ee24d6dc68939 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88030 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "deveel/deveeldb.core",
"max_stars_repo_path": "test/DeveelDb.Core.Tests/Data/Sql/SqlArrayTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88031"
} | starcoder | using System;
using System.Collections;
using System.Linq;
using Deveel.Data.Sql.Expressions;
using Xunit;
namespace Deveel.Data.Sql {
public static class SqlArrayTests {
[Theory]
[InlineData(22, 45.039, "the quick brown fox")]
public static void Create(params object[] values) {
var array = new SqlArray(v... | 2.36596 | 4b1ecc82b09f2c489451d3139f85014b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88031 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "achapweske/silvernote",
"max_stars_repo_path": "SilverNote/Views/Styles/NotesTreeListDepthConverter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88032"
} | starcoder | /*
* Copyright (c) <NAME>
*
* Licensed under MIT (https://github.com/achapweske/silvernote/blob/master/LICENSE)
*/
using System;
using System.Collections;
using System.Globalization;
using System.Windows;
using System.Windows.Data;
namespace SilverNote.Views.Styles
{
[ValueConversion(typeof(int), typeof(Thi... | 2.300086 | da242c36823e7a34d50b5541d1c304ed |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88032 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "RmrGnzlzLpz/CSharp-DDD-Skeleton",
"max_stars_repo_path": "src/Mooc/CoursesCounters/Domain/CoursesCounterRepository.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88033"
} | starcoder | using System.Threading.Tasks;
namespace CodelyTv.Mooc.CoursesCounters.Domain
{
public interface CoursesCounterRepository
{
Task Save(CoursesCounter counter);
Task<CoursesCounter> Search();
}
}
| 1.697731 | ca7680dc3694ddf53fe06ae4090f1306 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88033 | {
"extension": "c-sharp",
"max_stars_count": "38.0",
"max_stars_repo_name": "bryanperris/cor64",
"max_stars_repo_path": "src/cor64/Mips/R4300I/TLB/EntryHiRegister.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88034"
} | starcoder |
using System;
namespace cor64.Mips.R4300I.TLB
{
public class EntryHiRegister
{
private ulong m_Value;
private readonly BitFiddler64 m_BitFiddler = new BitFiddler64();
private const int F_ASID = 0;
private const int F_VPN2_32 = 1;
private const int F_VPN2_64 = 2;
... | 2.163607 | 284526b0276cfddc673b905cfadd9f0f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88034 | {
"extension": "c-sharp",
"max_stars_count": "185.0",
"max_stars_repo_name": "XAOS-Interactive/Aura-Operating-System",
"max_stars_repo_path": "Aura Operating System/Aura OS/Apps/User/Snake.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88035"
} | starcoder | <filename>Aura Operating System/Aura OS/Apps/User/Snake.cs
/*
* PROJECT: Aura Operating System Development
* CONTENT: Snake
* PROGRAMMERS: <NAME> <<EMAIL>>
* Denis <https://github.com/bartashevich>
*/
using System;
using System.Collections.Generic;
namespace Au... | 2.772834 | 7b3cb470e32ccba0f21066b40fc5972e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88035 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rokn/EatGame",
"max_stars_repo_path": "EatMeServer/Packets.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88036"
} | starcoder | namespace EatMeServer
{
public enum Packets
{
Approved,
Connect
}
}
| 1.36888 | 7965a4c2bcf0fbc0498bd97ee9e1b518 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88036 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "opopve/QSProjects",
"max_stars_repo_path": "Modules/QSDocTemplates/gtk-gui/QSDocTemplates.TemplateWidget.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88037"
} | starcoder |
// This file has been generated by the GUI designer. Do not modify.
namespace QSDocTemplates
{
public partial class TemplateWidget
{
private global::Gtk.Frame frame1;
private global::Gtk.Alignment GtkAlignment;
private global::Gtk.VBox vbox1;
private global::Gtk.Table table1;
private global::Gamma.Widg... | 1.880997 | 5d82266d9531ca634b35db6256747c3f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88037 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "lulzzz/tellma",
"max_stars_repo_path": "Tellma.Utilities.Common/CultureScope.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88038"
} | starcoder | using System;
using System.Globalization;
namespace Tellma.Utilities.Common
{
/// <summary>
/// Used to temporarily change <see cref="CultureInfo.CurrentUICulture"/> in a safe and clean way.
/// </summary>
public class CultureScope : IDisposable
{
private readonly CultureInfo _originalCult... | 3.338593 | f30ce80ac49abb3dc0bf9d25b67e615a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88038 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "Blind-Striker/clash-royale-client-dotnet",
"max_stars_repo_path": "src/Pekka.ClashRoyaleApi.Client/Models/ClanModels/ClanWarLog.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88039"
} | starcoder | using Newtonsoft.Json;
using Newtonsoft.Json.Serialization;
using Pekka.ClashRoyaleApi.Client.Contracts.Models;
using Pekka.Core.JsonConverters;
namespace Pekka.ClashRoyaleApi.Client.Models.ClanModels
{
[JsonObject(NamingStrategyType = typeof(CamelCaseNamingStrategy))]
public class ClanWarLog
{
p... | 1.786669 | 64073950857f73e9a815d421c25c37cc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88039 | {
"extension": "c-sharp",
"max_stars_count": "128.0",
"max_stars_repo_name": "MadkevOP7/EpicOnlineTransport",
"max_stars_repo_path": "Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/RTCAdmin/RTCAdminInterface.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88040"
} | starcoder | <reponame>MadkevOP7/EpicOnlineTransport
// Copyright Epic Games, Inc. All Rights Reserved.
// This file is automatically generated. Changes to this file may be overwritten.
namespace Epic.OnlineServices.RTCAdmin
{
public sealed partial class RTCAdminInterface : Handle
{
public RTCAdminInterface()
{
}
public... | 2.0637 | 8e3b4c15fd5c932d885c0348681619f9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88040 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "SinsofSloth/RF5-global-metadata",
"max_stars_repo_path": "_no_namespace/CharaEscapeManager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88041"
} | starcoder | <reponame>SinsofSloth/RF5-global-metadata
public class CharaEscapeManager : SingletonMonoBehaviour<CharaEscapeManager> // TypeDefIndex: 6699
{
// Fields
[SerializeField] // RVA: 0x15EF10 Offset: 0x15F011 VA: 0x15EF10
private EscapeShineBall m_ShileBall; // 0x18
[SerializeField] // RVA: 0x15EF20 Offset: 0x15F021 VA:... | 1.242704 | 92a7895252bd2a72f3311e2dadcda0de |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88041 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "indrivo/GEAR",
"max_stars_repo_path": "src/GR.Extensions/GR.Files.Abstraction/Helpers/FileValidation.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88042"
} | starcoder | <gh_stars>1-10
using System;
using System.IO;
using System.Linq;
using Microsoft.AspNetCore.Http;
using GR.Core.Helpers;
using GR.Files.Abstraction.Models.ViewModels;
namespace GR.Files.Abstraction.Helpers
{
public static class FileValidation
{
public static ResultModel<Guid> ValidateFile<TFileSetting... | 2.293641 | 64d1ed598e786f171178c8bb1cc3a3ab |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88042 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "arturyaroshinski/TMS-DotNet-Courses",
"max_stars_repo_path": "src/SimpleStore/Storage/Store.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88043"
} | starcoder | <filename>src/SimpleStore/Storage/Store.cs
using ProductLib;
using System.Collections.Generic;
namespace Storage
{
public class Store
{
/// <summary>
/// Список всех продуктов.
/// </summary>
public List<Product> Products { get; set; } = new List<Product>();
public Stor... | 3.146689 | d4b9f03c62239d425f8456a614873702 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88043 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Taesuuu/Maps2021",
"max_stars_repo_path": "Assets/Script/ChangsMap.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88044"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class ChangsMap : MonoBehaviour
{
public void changeM()
{
SceneManager.LoadScene("Map");
}
}
| 1.398774 | 9765ce817e7d45987d1775b4ed8745f8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88044 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "MartsTech/IT-Career",
"max_stars_repo_path": "05. Object Oriented Programming/11. ExamPrep/02. CryptoMiningSystem/Factories/VideoCardFactory.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88045"
} | starcoder | <filename>05. Object Oriented Programming/11. ExamPrep/02. CryptoMiningSystem/Factories/VideoCardFactory.cs<gh_stars>1-10
using CryptoMiningSystem.Entities.Components.VideoCards;
using System.Collections.Generic;
namespace CryptoMiningSystem.Factories
{
public class VideoCardFactory
{
public static Vi... | 3.301938 | 0b33e0248e1d273e7c99d1f75508dfe3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88045 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "jannesen/TypedTSql",
"max_stars_repo_path": "Jannesen.Language.TypedTSql/Node/Declarations/DeclarationObjectCode.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88046"
} | starcoder | <filename>Jannesen.Language.TypedTSql/Node/Declarations/DeclarationObjectCode.cs<gh_stars>1-10
using System;
using System.Collections.Generic;
using Jannesen.Language.TypedTSql.Library;
namespace Jannesen.Language.TypedTSql.Node
{
public enum ObjectReturnOption
{
Nothing = 0,
Optional,
... | 2.079268 | 1916938e77adda8a637f2fda7e642c49 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88046 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "prixladi/expendity-server",
"max_stars_repo_path": "src/Shamyr.Expendity.Server.Service/Requests/Project/ChangeProjectCurrencyRequest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88047"
} | starcoder | <filename>src/Shamyr.Expendity.Server.Service/Requests/Project/ChangeProjectCurrencyRequest.cs<gh_stars>0
using MediatR;
using Shamyr.Expendity.Server.Entities;
using Shamyr.Expendity.Server.Service.Models.Project;
using Shamyr.Expendity.Server.Service.ModelValidation;
using Shamyr.Expendity.Server.Service.PermissionV... | 1.851467 | aee02f0cea98f3923edf47132f799d5d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88047 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "Red-Cat-Fat/DemoLeoEcs",
"max_stars_repo_path": "FlappyCube/Assets/Scripts/UnityComponents/MonoLinks/Base/MonoLinkBase.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88048"
} | starcoder | <reponame>Red-Cat-Fat/DemoLeoEcs
using Leopotam.Ecs;
using UnityEngine;
namespace UnityComponents.MonoLinks.Base
{
[RequireComponent(typeof(MonoEntity))]
public abstract class MonoLinkBase : MonoBehaviour
{
public abstract void Make(ref EcsEntity entity);
}
} | 1.322255 | c84ff5b92b90c2e9205c5e7658b3e6b6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88048 | {
"extension": "c-sharp",
"max_stars_count": "50.0",
"max_stars_repo_name": "Neuralia/Neuralia.NClap",
"max_stars_repo_path": "src/Tests/UnitTests/Exceptions/InvalidCommandExceptionTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88049"
} | starcoder | using FluentAssertions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using NClap.Exceptions;
namespace NClap.Tests.Exceptions
{
[TestClass]
public class InvalidCommandExceptionTests : ExceptionTests<InvalidCommandException>
{
}
}
| 1.12135 | 2fa7369eb349fddea622d33acb521a2a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88049 | {
"extension": "c-sharp",
"max_stars_count": "885.0",
"max_stars_repo_name": "Sollertix/PnP",
"max_stars_repo_path": "Samples/Provisioning.ModernPages/Provisioning.ModernPages/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88050"
} | starcoder | using Microsoft.SharePoint.Client;
using OfficeDevPnP.Core;
using OfficeDevPnP.Core.Pages;
using System;
using System.Linq;
using System.Security;
namespace Provisioning.ModernPages
{
class Program
{
static void Main(string[] args)
{
// Update the below variables to use your tenan... | 2.512874 | b9fd8f2afb7b401b72f2870854b1be1c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88050 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "CrossGeeks/ParticlesSample",
"max_stars_repo_path": "ParticlesSample.iOS/Effects/ParticleEffect.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88051"
} | starcoder | <filename>ParticlesSample.iOS/Effects/ParticleEffect.cs
using System;
using System.Linq;
using System.Threading.Tasks;
using CoreAnimation;
using Foundation;
using ParticlesSample.iOS.Effects;
using UIKit;
using Xamarin.Forms;
using Xamarin.Forms.Platform.iOS;
[assembly: ResolutionGroupName("CrossGeeks")]
[assembly: ... | 2.326397 | 3d917accd2eceb6ff8a8e173bf97ce9f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88051 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Bloomerang/elasticsearch-net",
"max_stars_repo_path": "src/Nest/Domain/Marker/PropertyPathMarker.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88052"
} | starcoder | using System;
using System.Linq.Expressions;
namespace Nest
{
/// <summary>
/// Represents a typed container for object paths "field.nested.property";
/// </summary>
public class PropertyPathMarker : IEquatable<PropertyPathMarker>
{
public string Name { get; set; }
public Expression Type { get; set; }
pub... | 3.079461 | 8a987736f1e11940a78c9c0217d48997 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88052 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kocety91/WeAreFootball",
"max_stars_repo_path": "Web/WeAreFootball.Web.ViewModels/Dashboard/InputModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88053"
} | starcoder | <gh_stars>0
namespace WeAreFootball.Web.ViewModels.Dashboard
{
using System.Collections.Generic;
using WeAreFootball.Web.ViewModels.Newses;
using WeAreFootball.Web.ViewModels.Users;
public class InputModel
{
public int UsersToday { get; set; }
public int NewsToday { get; set; }
... | 1.070457 | 40ddde7f21f6310aea56ab4523929081 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88053 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ElderJames/dotnet-forum",
"max_stars_repo_path": "LambdaForums.Service/PostService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88054"
} | starcoder | using LambdaForums.Data;
using LambdaForums.Data.Models;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace LambdaForums.Service
{
public class PostService : IPost
{
private readonly ApplicationDbContext _con... | 2.652042 | 4aeeca6a61cb18b8ed12b40f35ded6c0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88054 | {
"extension": "c-sharp",
"max_stars_count": "71.0",
"max_stars_repo_name": "rafalink1996/Conejo",
"max_stars_repo_path": "Runner Rabbit/Assets/Plugins/KeyChain/Main.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88055"
} | starcoder | <reponame>rafalink1996/Conejo
using UnityEngine;
using System.Collections;
public class Main : MonoBehaviour {
string currentUUID = "";
string saveUUID = "";
void Update () {}
void OnGUI () {
GUILayoutOption[] ops = new GUILayoutOption[]{};
GUI.skin.label.fontSize = 30;
GUI.skin.textArea.fontSize = 30;... | 1.694185 | 13fdaedb49e7c2a5bf9743281aef3deb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88055 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "business-sims-toolkit/business-sims-toolkit",
"max_stars_repo_path": "dev/libraries/core/Logging/AppLogger.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88056"
} | starcoder | using System;
using System.IO;
using System.Collections;
using LibCore;
using Algorithms;
namespace Logging
{
public class LogInfo
{
public string logDir;
public DateTime created;
}
/// <summary>
/// Summary description for AppLogger.
/// </summary>
public sealed class AppLogger : IComparer, ILogger
{
... | 2.610124 | 8e7d6eb227badb876a44486cab47fa41 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88056 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "shawnro/arcade",
"max_stars_repo_path": "src/Microsoft.DotNet.Darc/src/Darc/Options/GetDependenciesCommandLineOptions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88057"
} | starcoder | <reponame>shawnro/arcade
// 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 CommandLine;
namespace Microsoft.DotNet.Darc.Options
{
[Verb("get-dependencies",... | 1.709079 | 4b2b739ca9360a8a1e602ba159c0789a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88057 | {
"extension": "c-sharp",
"max_stars_count": "57.0",
"max_stars_repo_name": "pedropbazzo/CUITE-UI-test",
"max_stars_repo_path": "src/CUITe/Controls/HtmlControls/HtmlDiv.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88058"
} | starcoder | using CUITe.SearchConfigurations;
using CUITControls = Microsoft.VisualStudio.TestTools.UITesting.HtmlControls;
namespace CUITe.Controls.HtmlControls
{
/// <summary>
/// Represents a Div control to test the user interface (UI) of Web pages.
/// </summary>
public class HtmlDiv : HtmlControl<CUITControl... | 2.313331 | ef28802973cae1fd414fc8f2260faec8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88058 | {
"extension": "c-sharp",
"max_stars_count": "1841.0",
"max_stars_repo_name": "HappyQuQu/NetWinformControl",
"max_stars_repo_path": "HZH_Controls/Test/UC/UCTestTab.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88059"
} | starcoder | namespace Test.UC
{
partial class UCTestTab
{
/// <summary>
/// 必需的设计器变量。
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// 清理所有正在使用的资源。
/// </summary>
/// <param name="disposing">如果应释放托管资源,为 true;否则为 ... | 1.97702 | 300fb37d1a5c8727d7a0abf7f355a725 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88059 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "sebamed/saup-microservices",
"max_stars_repo_path": "MessagingMicroservice/Mappers/MappingProfile.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88060"
} | starcoder | <reponame>sebamed/saup-microservices<filename>MessagingMicroservice/Mappers/MappingProfile.cs
using AutoMapper;
using MessagingMicroservice.Domain;
using MessagingMicroservice.DTO;
using MessagingMicroservice.DTO.Message;
namespace MessagingMicroservice.Mappers
{
public class MappingProfile: Profile {
pu... | 1.546507 | 46a60c3ac8d50f237fe9c9c485deb7e0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88060 | {
"extension": "c-sharp",
"max_stars_count": "27.0",
"max_stars_repo_name": "m0j0/Yandex.Checkout.V3",
"max_stars_repo_path": "Yandex.Checkout.V3.Demo/Pages/Index.cshtml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88061"
} | starcoder | using Microsoft.AspNetCore.Mvc.RazorPages;
namespace Yandex.Checkout.V3.Demo.Pages
{
public class IndexModel : PageModel
{
public void OnGet()
{
}
}
}
| 1.16426 | e4239f9cf322fa3a020dfdf24bcccbd1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.