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 | 7937 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "cpancake/ImageTool",
"max_stars_repo_path": "ImageTool/MainForm.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7938"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.IO;
using System.Windows.Forms;
namespace ImageTool
{
public partial class MainForm : Form
{
public List<SortProject> Projects;
NewSortProjectDialog _newProjectDialog;
SortForm _sortForm;
ComicListForm _... | 2.640385 | 32dc2b21aca9d27492f50402b65be37f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7938 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "makotocchi/TR2-Rando",
"max_stars_repo_path": "TRLevelReader/TR4LevelReader.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7939"
} | starcoder | <filename>TRLevelReader/TR4LevelReader.cs
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TRLevelReader.Compression;
using TRLevelReader.Model;
namespace TRLevelReader
{
public class TR4LevelReader... | 2.690265 | 6e6bc9339aaab9c08be62b7120c36107 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7939 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "intj-t/openvmsft",
"max_stars_repo_path": "WRK-V1.2/tests/gc/methodical/keepalive/keepaliveother/keepaliveoutofmemory.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7940"
} | starcoder | // ==++==
//
//
// Copyright (c) 2006 Microsoft Corporation. All rights reserved.
//
// The use and distribution terms for this software are contained in the file
// named license.txt, which can be found in the root of this distribution.
// By using this software in any fashion, you are agreeing to b... | 2.87808 | e66e2eeb12be5e0f68dc9108bd6ffa1a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7940 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "scottfavre/RedLine",
"max_stars_repo_path": "RedLine/Scanners/AdverbScanner.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7941"
} | starcoder | using Microsoft.Office.Interop.Word;
using System.Collections.Generic;
using System.ComponentModel.Composition;
namespace RedLine.Scanners
{
[Export(typeof(IScanner))]
public class AdverbScanner: IScanner
{
[Import]
public ISettingsService Settings { private get; set; }
public Adv... | 2.222854 | 74b3565ed51c9fe4222403c26c67ce28 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7941 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "irakusa/irakusagames",
"max_stars_repo_path": "BallooneClimber/Assets/CubeScript.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7942"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CubeScript : MonoBehaviour {
public float rakka = 0;
public float kaiten = 0;
public float starttime = 0;
float time = 0;
float speed = 0;
float spin = 0;
void Start (){
speed = Random.Range (-1.0f, -5.0f);
spi... | 2.391665 | 37932f4f5b1e326fe5ef4f25d367f04f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7942 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "andmattia/efcore",
"max_stars_repo_path": "test/EFCore.Tests/Storage/StringToDateTimeConverterTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7943"
} | starcoder | <filename>test/EFCore.Tests/Storage/StringToDateTimeConverterTest.cs
// 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 Microsoft.EntityFrameworkCore.Storage.ValueConversion;
using X... | 2.29019 | 6c0ab90d6f6988a774b3405b6515cf21 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7943 | {
"extension": "c-sharp",
"max_stars_count": "27.0",
"max_stars_repo_name": "HMS-Core/hms-xamarin-bindings",
"max_stars_repo_path": "android/samples/MLDemo/MLKitActivities/BodyRelated/Skeleton/LiveSkeletonAnalyseActivity.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7944"
} | starcoder | <reponame>HMS-Core/hms-xamarin-bindings
/*
* Copyright 2020-2021. Huawei Technologies Co., Ltd. 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.
You may obtain a copy of the License at
... | 1.668989 | 64a9598737cb8d2985c90ae389456b01 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7944 | {
"extension": "c-sharp",
"max_stars_count": "103.0",
"max_stars_repo_name": "rinkako/Slyvia",
"max_stars_repo_path": "Lyyneheym/YuriPlatform/PlatformCore/VM/GlobalContextDAO.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7945"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Yuri.Utils;
namespace Yuri.PlatformCore.VM
{
/// <summary>
/// 全局变量上下文DAO:为游戏的全局变量上下文提供包装
/// </summary>
[Serializable]
internal sealed class GlobalContextDAO : ForkableState
{
/// <summary>
... | 2.677783 | 5ce0860ad07e75ad328e52f58db3a155 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7945 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "bclnet/SharpZipLib.GameSpecs",
"max_stars_repo_path": "ICSharpCode.SharpZipLib.Pk4/Zip/P4kOutputStream.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7946"
} | starcoder | using System;
using System.IO;
using System.Reflection;
using static ICSharpCode.SharpZipLib.Zip.P4kConstants;
namespace ICSharpCode.SharpZipLib.Zip
{
/// <summary>
/// P4kOutputStream
/// </summary>
/// <seealso cref="ZipOutputStream" />
public class P4kOutputStream : ZipOutputStream
... | 2.641523 | 6c6a1b017b12f3f7a750f20bbde44d93 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7946 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "YeochangYoon/Terrace.Extensions",
"max_stars_repo_path": "test/Terrace.Extensions.Tests/System.UInt32/UInt32ExtensionTests_ToBytes.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7947"
} | starcoder | <reponame>YeochangYoon/Terrace.Extensions
using NUnit.Framework;
using Terrace.Extensions;
using System;
using System.Collections.Generic;
using System.Text;
namespace Terrace.Extensions.Tests
{
[TestFixture]
public class UInt32ExtensionTests_ToBytes
{
[Test]
public void ToBytes_ReturnsByt... | 2.158093 | 59d722c5b3ed12de2cd722060c5ecb86 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7947 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mdawsonuk/PwnedPasswordsAzureFunction",
"max_stars_repo_path": "Functions/BlobStorage.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7948"
} | starcoder | using System.Diagnostics;
using System.Net;
using System.Threading.Tasks;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Logging;
using Microsoft.WindowsAzure.Storage;
using Microsoft.WindowsAzure.Storage.Blob;
namespace Functions
{
/// <summary>
/// Blob Storage instance to access hash ... | 2.696493 | 1c37d4afb4a71b902eb13d74acc05629 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7948 | {
"extension": "c-sharp",
"max_stars_count": "15.0",
"max_stars_repo_name": "ManDude/CraShEdit",
"max_stars_repo_path": "Crash/Formats/Crash Formats/Texture/TextureChunk.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7949"
} | starcoder | <reponame>ManDude/CraShEdit<filename>Crash/Formats/Crash Formats/Texture/TextureChunk.cs
using System;
namespace Crash
{
public sealed class TextureChunk : Chunk,IEntry
{
public TextureChunk(byte[] data)
{
Data = data ?? throw new ArgumentNullException("data");
}
... | 2.0552 | 03586c83969781fca70e8d088242723e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7949 | {
"extension": "c-sharp",
"max_stars_count": "18.0",
"max_stars_repo_name": "PierrickBlons/Diverse",
"max_stars_repo_path": "Diverse/Persons/Male.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7950"
} | starcoder | using System.Linq;
namespace Diverse
{
/// <summary>
/// Information related to male persons.
/// </summary>
public static class Male
{
/// <summary>
/// Gets all the <see cref="ContextualizedFirstName"/> instances possibly used by the lib.
/// </summary>
public sta... | 2.947918 | 084936e75a8f8bf2731294445a7bfd35 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7950 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DEFRA/license-and-permitting-dynamics",
"max_stars_repo_path": "Crm/WastePermits/Defra.Lp.WastePermits/Plugins/Common/OwnershipManagerBase.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7951"
} | starcoder | namespace Defra.Lp.WastePermits.Plugins.Common.Security
{
using System;
using Microsoft.Xrm.Sdk;
/// <summary>
/// Record Ownership Base Class
/// </summary>
public abstract class OwnershipManagerBase
{
/// <summary>
/// Gets or sets the CRM Service.
/// </summary>
... | 2.159909 | aa094aa3d58cd185b4baf1bf321f779d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7951 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "oakcool/OakIdeas.Schema",
"max_stars_repo_path": "OakIdeas.Schema.Core/Organizations/EducationalOrganizations/Preschool.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7952"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace OakIdeas.Schema.Core.Organizations.EducationalOrganizations
{
/// <summary>
/// A preschool.
/// </summary>
/// <see cref="http://www.schema.org/Preschool"/>
public class Preschool: EducationalOrganizat... | 1.614439 | 4b0928a192645122f1999e75f2ce8551 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7952 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DukaSoft/Stockholm_Syndrome",
"max_stars_repo_path": "Stockholm_Syndrome_Web/Migrations/20200625143635_OpsStructureData.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7953"
} | starcoder | using Microsoft.EntityFrameworkCore.Migrations;
namespace Stockholm_Syndrome_Web.Migrations
{
public partial class OpsStructureData : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<string>(
name: "AllianceCorpN... | 1.892085 | 9bc258c36670be52d625ec67e5e7f217 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7953 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "bilsaboob/roslyn-sharp",
"max_stars_repo_path": "src/Workspaces/CSharp/Portable/Indentation/CSharpIndentationService.Indenter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7954"
} | starcoder | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Linq.Expr... | 2.005848 | 52bce20e390ada6fbebea03a06a608f8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7954 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "robeving/Shell",
"max_stars_repo_path": "src/Shell/Logic/Compilation/SourceProcessor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7955"
} | starcoder | using Dotnet.Shell.Logic.Compilation.Commands;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.Formatting;
using Microsoft.CodeAnalysis.Options;
using Microsoft.CodeAnalysis.Text;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq... | 2.409264 | 64758d9ad6948d060c40f4aada52aaac |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7955 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Kalin1603/CarsVelingrad",
"max_stars_repo_path": "CarsVelingrad/CarsVelingrad.Web/Views/CarsVelingrad/Index.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:7956"
} | starcoder | @model CarsVelingrad.ViewModels.VehiclesViewModel;
<h1 class="text-center">Списък с обяви</h1>
<table class="table table-bordered table-hover text-center">
<thead>
<tr>
<th>Марка</th>
<th>Модел</th>
<th>Цена</th>
<th>Дата</th>
<th>Пробег</th>
... | 2.72109 | adffa56230c00d9c3663e7c8a614791f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7956 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "Macabresoft/Macabre2D.Framework",
"max_stars_repo_path": "UI/Common/Controls/ValueEditors/UIntEditor.axaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7957"
} | starcoder | <gh_stars>1-10
namespace Macabresoft.Macabre2D.UI.Common;
using System;
using Avalonia.Markup.Xaml;
using Unity;
public class UIntEditor : BaseNumericEditor<uint> {
public UIntEditor() : this(null) {
}
[InjectionConstructor]
public UIntEditor(ValueControlDependencies dependencies) : base(dependencies... | 1.832268 | 018b3fa0c4877be67f413ae6e028d7d1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7957 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Citizen-Oleg/Carmeleon",
"max_stars_repo_path": "Assets/Scripts/ScriptsLevels/BuffSystem/Buffs/PassiveSlowingDownBuff.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7958"
} | starcoder | <gh_stars>0
using System;
using EnemyComponent;
using Interface;
using UnityEngine;
namespace BuffSystem.Buffs
{
/// <summary>
/// Пассивное уменьшение скорости врага.
/// </summary>
public class PassiveSlowingDownBuff : IPassiveBuff
{
public bool IsActive { get; private set; }
pri... | 2.224244 | 84a93881ee2f10738ae0ef77eabb351b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7958 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sbalkum/HighIronRanch.Cqrs.EventStore.SqlServer",
"max_stars_repo_path": "src/HighIronRanch.Cqrs.EventStore.SqlServer/ISqlServerEventStoreSettings.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7959"
} | starcoder | namespace HighIronRanch.Cqrs.EventStore.SqlServer
{
public interface ISqlServerEventStoreSettings
{
string SqlServerConnectionString { get; }
string SqlServerEventStoreTableName { get; }
}
} | 1.479308 | e95404d1f34fe5a507dcfcb85a696c85 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7959 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "derplayer/PanzerFront-ModTools",
"max_stars_repo_path": "ShenmueDKSharp/Files/Images/_PVRT/VectorQuantizer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7960"
} | starcoder | using System;
using System.Collections.Generic;
using System.Drawing;
using System.Drawing.Imaging;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;
using System.Numerics;
using System.Threading;
using System.Diagnostics;
namespace ShenmueDKSharp.Files.Images._... | 2.788316 | 148b2e5be3970856304ab401001b80f5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7960 | {
"extension": "c-sharp",
"max_stars_count": "260.0",
"max_stars_repo_name": "alexbowers/pulumi-aws",
"max_stars_repo_path": "sdk/dotnet/S3/Inputs/BucketObjectLockConfigurationRuleArgs.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7961"
} | starcoder | // *** 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... | 1.724443 | d31b15d5d5bdf449519ed7f93e0400f8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7961 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Red-Folder/red-folder.com",
"max_stars_repo_path": "tests/Red-Folder.Blog.Markdown.Tests.Unit/MarkdownRepository.Tests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7962"
} | starcoder | <filename>tests/Red-Folder.Blog.Markdown.Tests.Unit/MarkdownRepository.Tests.cs
using RedFolder.Blog.Markdown;
using RedFolder.Blog.Markdown.Tests.Unit.Helpers;
using System;
using System.Collections.Generic;
using Xunit;
namespace RedFolder.Blog.Markdown.Tests.Unit
{
public class MarkdownRepositoryTests
{
... | 2.710438 | ad892c8b015f2d92d47e039f4fc6bc60 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7962 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "6895mahfuzgit/AdvanceMicroservicesApp",
"max_stars_repo_path": "SampleApiApp/Controllers/OrderController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7963"
} | starcoder | using MassTransit;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using SampleContracts;
using System;
using System.Threading.Tasks;
namespace SampleApiApp.Controllers
{
[Route("api/[controller]")]
[ApiController]
public class OrderController : Control... | 2.108505 | 9cad948d37564165a2ab990f2fc8fb38 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7963 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "rohansen/CodeExamples",
"max_stars_repo_path": "Security/SqlInjectionExample/SqlInjectionExample/Controllers/PostsController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7964"
} | starcoder | <gh_stars>1-10
using SqlInjectionExample.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Microsoft.AspNet.Identity;
namespace SqlInjectionExample.Controllers
{
public class PostsController : Controller
{
private ApplicationDbCont... | 2.554198 | 24c06ca3328c5767feda6907f89b9207 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7964 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "SinsofSloth/RF5-global-metadata",
"max_stars_repo_path": "BossData/CalcLotteryBossBehavior.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7965"
} | starcoder | <reponame>SinsofSloth/RF5-global-metadata
public class CalcLotteryBossBehavior // TypeDefIndex: 9981
{
// Fields
protected Dictionary<int, List<BossBehaviorParams>> BossBehaviorParmsListDic; // 0x10
[CompilerGeneratedAttribute] // RVA: 0x17FFD0 Offset: 0x1800D1 VA: 0x17FFD0
private bool <IsMadness>k__BackingField; ... | 1.407199 | 599689296ffb2b6f4167d984def22208 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7965 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "flashlin/T1.ParserKit",
"max_stars_repo_path": "T1.ParserKit/SqlDom/Expressions/SqlSimpleExpression.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7966"
} | starcoder | <gh_stars>0
namespace T1.ParserKit.SqlDom.Expressions
{
public class SqlSimpleExpression : SqlExpression
{
public SqlExpression Value { get; set; }
}
} | 1.082069 | ce7eaf88bc8f4029819ba7cc9b274d22 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7966 | {
"extension": "c-sharp",
"max_stars_count": "17.0",
"max_stars_repo_name": "Pomona/Pomona",
"max_stars_repo_path": "tests/Pomona.Example/Models/ThingWithPropertyNamedUri.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7967"
} | starcoder | #region License
// Pomona is open source software released under the terms of the LICENSE specified in the
// project's repository, or alternatively at http://pomona.io/
#endregion
using System;
namespace Pomona.Example.Models
{
/// <summary>
/// Test class for checking that IHasResourceUri.Url ... | 2.045462 | 0513f2ed25350dac61b295e5d0b34dd7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7967 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "YinLam-Chan/SDV-NewGame",
"max_stars_repo_path": "Assets/Scenes/Scripts/Controllers/ScoreManager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7968"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ScoreManager
{
//if the players go to the next location, they can earn some scores
public Player applyScoreRule(Player pPlayer)
{
if (GameModel.ds.GetPlayerLocation(pPlayer).LocationName == "Town")
... | 2.564711 | c33986e24fa1fdc878b2a3931434864c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7968 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MaxWeickert/ng-erp-4.0",
"max_stars_repo_path": "Master40.DB/GanttPlanModel/GptblWorkcentergroupCost.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7969"
} | starcoder | using System;
namespace Master40.DB.GanttPlanModel
{
public partial class GptblWorkcentergroupCost
{
public string ClientId { get; set; }
public string WorkcentergroupId { get; set; }
public DateTime ValidFrom { get; set; }
public double? CostRateIdleTime { get; set; }
... | 1.25046 | 5733bc88e480ae3e3644ba29a04703c4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7969 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "jeffcampbellmakesgames/Nodey",
"max_stars_repo_path": "Unity/Assets/JCMG/Nodey/Scripts/Attributes/Ports/ShowBackingValue.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7970"
} | starcoder | <gh_stars>10-100
namespace JCMG.Nodey
{
/// <summary>
/// Used by <see cref = "InputAttribute"/> and <see cref = "OutputAttribute"/> to determine when to display the
/// field value associated with a <see cref = "NodePort"/>
/// </summary>
public enum ShowBackingValue
{
/// <summary> Never show the back... | 2.228108 | d5803f21e52c2f328af4f0fd056a6b6e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7970 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "volkanceylan/fluentmigrator",
"max_stars_repo_path": "src/FluentMigrator/Expressions/ExecuteEmbeddedSqlScriptExpression.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7971"
} | starcoder | using FluentMigrator.Infrastructure;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
namespace FluentMigrator.Expressions
{
public class ExecuteEmbeddedSqlScriptExpression : MigrationExpressionBase
{
public string SqlScript { get; set; }
public IAssemblyColl... | 2.543943 | 52380d9c72f96f2f256be163750f136c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7971 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "apurplecaboose/Project-Parkour",
"max_stars_repo_path": "ImaRunnerImaTrackstar/Assets/Polaris - Low Poly Ecosystem/Polaris - Low Poly Terrain Engine/Runtime/Scripts/TextureTool/Generators/GNoiseMapGeneratorParams.cs",
"provenance": "t... | starcoder | #if GRIFFIN
using UnityEngine;
namespace Pinwheel.Griffin.TextureTool
{
[System.Serializable]
public struct GNoiseMapGeneratorParams
{
[SerializeField]
private GNoiseType type;
public GNoiseType Type
{
get
{
return type;
}
... | 1.996701 | a9ccb3c3bde565d0925a614eabce972b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7972 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jjeffery/Cesto",
"max_stars_repo_path": "src/Cesto.Tests/Properties/AssemblyInfo.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7973"
} | starcoder | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("Cesto.Tests")]
[assembly: AssemblyDescription("Unit tests for Cesto")]
[assembly: AssemblyProduct("Cesto")]
[assembly: AssemblyCopyright("Copyright © <NAME>")]
[assembly: AssemblyCulture("")]
[assembly: ComVisible(false)]
[assemb... | 1.30209 | 998d906dbefe24ffcee58e9e7f6f169a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7973 | {
"extension": "c-sharp",
"max_stars_count": "137.0",
"max_stars_repo_name": "conceptdev/AndroidX",
"max_stars_repo_path": "source/androidx.browser/browser/Additions/CustomTabsHelper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7974"
} | starcoder | using System;
using Android.Content;
using System.Collections.Generic;
using System.Linq;
using AndroidX.Browser.CustomTabs;
namespace AndroidX.Browser.CustomTabs
{
public class CustomTabsHelper
{
const string TAG = "CustomTabsHelper";
const string STABLE_PACKAGE = "com.android.chrome";
... | 2.539531 | fa70b98df6cdcbf0d5c00918ecf8a53b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7974 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "pudds/cfl-api.net",
"max_stars_repo_path": "src/v1/Core/Client/KickoffYardsLeadersRequestBuilder.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7975"
} | starcoder | using mdryden.cflapi.v1.Models.Leaders;
using System.Collections.Generic;
namespace mdryden.cflapi.v1.Client
{
public class KickoffYardsLeadersRequestBuilder : LeadersRequestBuilder<IKickoffYardsLeadersRequestBuilder, IList<PlayerKickoffYards>>, IKickoffYardsLeadersRequestBuilder
{
public KickoffYardsLeadersReque... | 1.524769 | 3f2f86e23b865fda18f09ae37c9e56fd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7975 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "fossabot/Fusee",
"max_stars_repo_path": "src/Base/Imp/Android/ApkAssetProvider.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7976"
} | starcoder | <filename>src/Base/Imp/Android/ApkAssetProvider.cs
using Android.Content;
using Fusee.Base.Common;
using Fusee.Base.Core;
using System;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
namespace Fusee.Base.Imp.Android
{
/// <summary>
/// <see cref="StreamAssetProvider"/> implementation for the... | 2.771702 | 4c7443849710e09e785e72b8cc0e97b9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7976 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "StefH/QboxNext",
"max_stars_repo_path": "dependencies/dotnetcore-minimal/test/QboxNext.Core.Tests/Extensions/DateTimeExtensionsTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7977"
} | starcoder | using System;
using System.Xml;
using FluentAssertions;
using NUnit.Framework;
namespace QboxNext.Core.Extensions
{
public class DateTimeExtensionsTests
{
[TestCase("2018-05-17T21:12:34", "2018-05-01T00:00:00")]
[TestCase("2018-05-01T00:00:00", "2018-05-01T00:00:00")]
[TestCase("2020-0... | 2.426105 | 98d17bf98a16ffc0afda0db90b0e20e2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7977 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JuanDouglas/OAuth",
"max_stars_repo_path": "Solution/OAuth.Dal/Models/Application.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7978"
} | starcoder | using System;
using System.Collections.Generic;
#nullable disable
namespace OAuth.Dal.Models
{
public partial class Application
{
public Application()
{
ApplicationAuthentications = new HashSet<ApplicationAuthentication>();
Authorizations = new HashSet<Authorization>()... | 1.890894 | 9726d4ca7a80dfb5ec481d8fb76914fd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7978 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "NafisaMaliyat-iut/SWE-4202-Summer-2021",
"max_stars_repo_path": "Lab4/Book.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7979"
} | starcoder | <reponame>NafisaMaliyat-iut/SWE-4202-Summer-2021
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Lab4
{
internal class Book
{
protected int ID =0;
protected string title= "";
protected string author = "";
... | 2.434266 | ae2ffc6dcadd697b563a2ccec438e0d9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7979 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nickpateman/unity3d_isorpgpoc",
"max_stars_repo_path": "Assets/VoxelPrefab.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7980"
} | starcoder | <filename>Assets/VoxelPrefab.cs
using System;
using UnityEngine;
[Serializable]
public class VoxelPrefab
{
public string Key;
public GameObject Prefab;
}
| 1.553329 | 01a103d6e44964c0962cc0c8eb04c73c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7980 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sokuhatiku/GithubActionsTest-Windows",
"max_stars_repo_path": "Assets/Editor/CI/Builder.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7981"
} | starcoder | <filename>Assets/Editor/CI/Builder.cs
using UnityEditor;
namespace CI
{
public static class Builder
{
public static void Build()
{
AssetDatabase.ExportPackage(
"Assets/Scenes",
"Build.unitypackage",
ExportPackageOptions.Recurse);
... | 1.985148 | 39514931d59d822febda9888ecd3a3cd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7981 | {
"extension": "c-sharp",
"max_stars_count": "20.0",
"max_stars_repo_name": "vgwb-private/EA4S_Antura_U3D",
"max_stars_repo_path": "Assets/_app/_scripts/Database/DataModels/DynamicData/DatabaseInfoData.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7982"
} | starcoder | <reponame>vgwb-private/EA4S_Antura_U3D
using Antura.Helpers;
using SQLite;
namespace Antura.Database
{
/// <summary>
/// Serialized information on the database. Used for versioning.
/// </summary>
[System.Serializable]
public class DatabaseInfoData : IData, IDataEditable
{
public const... | 2.483429 | 0fe82f6dcb7263fb47239a57172b6b8e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7982 | {
"extension": "c-sharp",
"max_stars_count": "213.0",
"max_stars_repo_name": "vooba/Serenity",
"max_stars_repo_path": "src/Serenity.Net.Web/Mvc/AntiforgeryCookieResultFilter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7983"
} | starcoder | <filename>src/Serenity.Net.Web/Mvc/AntiforgeryCookieResultFilter.cs
#if !ASPNETMVC
using Microsoft.AspNetCore.Antiforgery;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Filters;
namespace Serenity.Services
{
public class AntiforgeryCookieResultFilterAttrib... | 2.418728 | 9ffa1f3ff9d056dbee37f34b9aaa7e22 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7983 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dmequus/gizmofort.connector.erpnext",
"max_stars_repo_path": "Libs/GizmoFort.Connector.ERPNext/ERPTypes/Purchase_taxes_and_charges_template/Purchase_taxes_and_charges_templateService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7... | starcoder | using GizmoFort.Connector.ERPNext.PublicInterfaces;
using GizmoFort.Connector.ERPNext.PublicInterfaces.SubServices;
using GizmoFort.Connector.ERPNext.PublicTypes;
namespace GizmoFort.Connector.ERPNext.ERPTypes.Purchase_taxes_and_charges_template
{
public class Purchase_taxes_and_charges_templateService : SubServic... | 1.755713 | 63c9300825a53896f247a1a94f6560d7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7984 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "lbearl/BlockListChecker",
"max_stars_repo_path": "Infrastructure/Services/CompositeBounceCheckerService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7985"
} | starcoder | using Core.Interfaces;
using System;
using System.Collections.Generic;
using Core.Models;
namespace Infrastructure.Services
{
public class CompositeBounceCheckerService : IThirdPartyBounceService
{
private readonly IThirdPartyBounceService[] _bounceService;
public CompositeBounceCheckerServic... | 2.228219 | 054dd31b88510cfe59aa3c6a723bf32b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7985 | {
"extension": "c-sharp",
"max_stars_count": "390.0",
"max_stars_repo_name": "Spinks90/YAFNET",
"max_stars_repo_path": "yafsrc/ServiceStack/ServiceStack/Interfaces/IO/IVirtualNode.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7986"
} | starcoder | // ***********************************************************************
// <copyright file="IVirtualNode.cs" company="ServiceStack, Inc.">
// Copyright (c) ServiceStack, Inc. All Rights Reserved.
// </copyright>
// <summary>Fork for YetAnotherForum.NET, Licensed under the Apache License, Version 2.0</summar... | 2.34467 | 9ddb3f87694ef0af0a0eac2280d1bbcd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7986 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "logjointfork/logjoint",
"max_stars_repo_path": "trunk/analytics/blocks/messaging/Analisys/Node.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7987"
} | starcoder | using System.Collections.Generic;
using System.Diagnostics;
namespace LogJoint.Analytics.Messaging.Analisys
{
[DebuggerDisplay("{NodeId}")]
public class Node
{
public readonly NodeId NodeId;
public readonly List<Message> Messages;
public Node(NodeId nodeId)
{
this.NodeId = nodeId;
this.Messages = ne... | 2.170409 | ad47b6bcf7cedb6b8f38181d3b59f6a7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7987 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "hitnoodle/TGK-RPG",
"max_stars_repo_path": "TGK-RPG/Assets/Scripts/Stories/Core/StoryTrigger.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7988"
} | starcoder | using UnityEngine;
using System.Collections;
namespace RPG.Stories
{
public class StoryTrigger : WorldTrigger
{
/// <summary>
/// Story to be triggered. Have to already created.
/// </summary>
public string Story;
/// <summary>
/// Always trigger when activate/enter or just one time.
/// </summary>
... | 2.901855 | 2e3b24a6853e7c9595010681f5c0d90d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7988 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "haraldnagel/ocuda",
"max_stars_repo_path": "src/Ops.Web/Areas/ContentManagement/Views/Section/PostDetails.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:7989"
} | starcoder | @model Ocuda.Ops.Controllers.Areas.ContentManagement.ViewModels.Section.PostDetailsViewModel
<nav class="navbar navbar-expand-lg navbar-light bg-light">
<a href="@Url.Action(nameof(SectionController.Index))" class="navbar-brand">Section</a>
<span class="navbar-brand">/</span>
<a href="@Url.Action(nameof(Se... | 2.311444 | 9f8628637ecc03cd97c30b1eebe50045 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7989 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TommyMerlin/CSharpLearning",
"max_stars_repo_path": "DataBinding/Drawing/Pages/Page3.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7990"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;... | 2.159007 | 536bb79c8f1ba7f4ed87b664317329ff |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7990 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "morley-stuff/open-rpg",
"max_stars_repo_path": "Assets/Scripts/PlayerScript.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7991"
} | starcoder | <reponame>morley-stuff/open-rpg<filename>Assets/Scripts/PlayerScript.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PlayerScript : MonoBehaviour
{
[SerializeField]
private float _moveSpeed = 5f;
[SerializeField]
private float _gravity = 9.81f;... | 2.444425 | 79e902ba9bf2f1a2f71e00377477ac46 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7991 | {
"extension": "c-sharp",
"max_stars_count": "3375.0",
"max_stars_repo_name": "nul800sebastiaan/Umbraco-CMS",
"max_stars_repo_path": "tests/Umbraco.Tests.Integration/DependencyInjection/UmbracoBuilderExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7992"
} | starcoder | <gh_stars>1000+
// Copyright (c) Umbraco.
// See LICENSE for more details.
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using Examine;
using Examine.Lucene.Directories;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.... | 1.419678 | 01cd1c37bb17fbe6df4ef8bdfc23300c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7992 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Chrishayes94/ArangoDb.Client",
"max_stars_repo_path": "src/ArangoDbclient.Net/ArangoDb.Client/Collections/GetCollection.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7993"
} | starcoder | using ArangoDb.Client.Http;
namespace ArangoDb.Client.Collections
{
public class GetCollectionRequest : BaseRequest
{
public GetCollectionRequest(string collectionName) : base($"/_api/collection/{collectionName}")
{
}
}
public class GetCollectionResponse : BaseResponse<int>
... | 1.874718 | f41b731129f096c1f4b9bccbe726e639 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7993 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "hueifeng/Ctrl.Framework",
"max_stars_repo_path": "src/Domain/System/Ctrl.Domain.Models/Dtos/Config/SystemDictionaryPagingInput.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7994"
} | starcoder | using Ctrl.Core.Entities.Dtos;
using Ctrl.Core.Entities.Paging;
namespace Ctrl.Domain.Models.Dtos.Config
{
/// <summary>
/// 字典分页dto
/// </summary>
public class SystemDictionaryPagingInput : QueryParam, IInputDto
{
public string Id { get; set; }
}
}
| 1.47915 | 198a3c46aafe95f48cd0afe88f956ceb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7994 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "WickedFlame/Polaroider",
"max_stars_repo_path": "src/Tests/Polaroider.Tests/Mapper/MapDictionaries.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7995"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Text;
using FluentAssertions;
using NUnit.Framework;
namespace Polaroider.Tests.Mapper
{
public class MapDictionaries
{
[Test]
public void Mapper_Dictionaries()
{
var item = new
{
Dict = new Dictionary<string,... | 2.684345 | 9ed1f4d6adc11d54363415314aaad16f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7995 | {
"extension": "c-sharp",
"max_stars_count": "112.0",
"max_stars_repo_name": "jdevonshire/experiments",
"max_stars_repo_path": "NxBRE2/Source/AssemblyInfo.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7996"
} | starcoder | <gh_stars>100-1000
using System;
using System.Reflection;
using System.Runtime.CompilerServices;
[assembly:AssemblyTitle("NxBRE")]
[assembly:AssemblyDescription(".NET Business Rules Engine")]
[assembly:AssemblyConfiguration("")]
[assembly:AssemblyCompany("AgilePartner S.A.")]
[assembly:AssemblyProduct("NxBRE")... | 1.375179 | 3662a40b319a431cc455e0472fe8a9fe |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7996 | {
"extension": "c-sharp",
"max_stars_count": "16.0",
"max_stars_repo_name": "finlabsuk/open-banking-connector",
"max_stars_repo_path": "src/OpenBanking.Library.BankApiModels/UkObRw/V3p1p8/Pisp/Models/OBSCASupportData1RequestedSCAExemptionTypeEnum.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7997"
} | starcoder | // <auto-generated>
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.
// </auto-generated>
namespace FinnovationLabs.OpenBanking.Library.BankApiModels.UkObRw.V3p1p8.Pisp.Models
{
using Newtonsoft.Json;
using Newto... | 1.959364 | be144d8d93780c44e2bac322e06ff4e2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7997 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mfkl/terrafx.interop.windows",
"max_stars_repo_path": "sources/Interop/Windows/um/heapapi/Windows.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7998"
} | starcoder | // Copyright © <NAME> Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information.
// Ported from um/heapapi.h in the Windows SDK for Windows 10.0.19041.0
// Original source is Copyright © Microsoft. All rights reserved.
using System;
using System.Runtime.InteropServ... | 1.806454 | c178b60654193a01dd05144c77937ed0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7998 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "konrad-jamrozik/dotnet-lib",
"max_stars_repo_path": "lib/Primitives/ITimeline.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7999"
} | starcoder | using System;
namespace Wikitools.Lib.Primitives;
public interface ITimeline
{
DateTime UtcNow { get; }
} | 1.739922 | 408fc775edd25263b4a6180097d8d500 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7999 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "arxae/Benhart",
"max_stars_repo_path": "Benhart/CommandManager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8000"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
namespace BenhartLog
{
internal class CommandManager
{
// Dictionary for commands witouth parameters
private static Dictionary<string, dynamic> _cmdsInstance;
private static Dictionary<string, dynamic> Commands => _cmdsInstance ?? (_cmdsInstanc... | 3.164393 | 6f6612df833e68f5f91ebfb6911f4ad2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8000 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "muzudho/Kifuwarabe_DenouT2",
"max_stars_repo_path": "Sources/Entities/Features/ApplicatedGame/Architecture/Masus_Set.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8001"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Grayscale.Kifuwarane.Entities.ApplicatedGame.Architecture
{
/// <summary>
/// ------------------------------------------------------------------------------------------------------------------------
... | 2.276519 | 9fc43c2ed1df4543916c3ea8653a9a01 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8001 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "moljac/Samples.AndroidX",
"max_stars_repo_path": "samples/apps/toggl-aka-mobileapp/mobileapp/Toggl.iOS/ViewControllers/Settings/SettingsViewController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8002"
} | starcoder | <reponame>moljac/Samples.AndroidX
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Reactive.Linq;
using CoreGraphics;
using Foundation;
using Toggl.Core.Sync;
using Toggl.Core.UI.Collections;
using Toggl.Core.UI.Extensions;
using Toggl.Core.UI.Helper;
using Toggl.Core.UI... | 1.886141 | c5ff794fd61fbeebe8517fad67035d55 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8002 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "using-system/ProcessMyMedia",
"max_stars_repo_path": "ProcessMyMedia/Tasks/Media/IMediaTask.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8003"
} | starcoder | namespace ProcessMyMedia.Tasks
{
/// <summary>
/// Media Task contract
/// </summary>
/// <seealso cref="ProcessMyMedia.Tasks.ITask" />
public interface IMediaTask : ITask
{
}
}
| 1.830788 | aee94b2cbfb29a3ce8168ed22c84951a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8003 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "PoetSnow/Web-API-",
"max_stars_repo_path": "Gemstar.BSPMS.HotelScanOder.Web/Controllers/TabController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8004"
} | starcoder | <reponame>PoetSnow/Web-API-
using System.Collections.Generic;
using System.Linq;
using System.Web.Mvc;
using Gemstar.BSPMS.HotelScanOrder.Common;
using Gemstar.BSPMS.HotelScanOrder.Common.Common;
using Gemstar.BSPMS.HotelScanOrder.Common.Pos.Tab;
using Gemstar.BSPMS.HotelScanOrder.Web.Models;
namespace Gemstar.BSPMS.... | 1.821875 | 6d6ccc03113e0b3d91bd1b420647c214 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8004 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "imagire/Revolution",
"max_stars_repo_path": "src/Assets/OrbitGenerater.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8005"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class OrbitGenerater : MonoBehaviour
{
public float radius = 1.0f;
public float width = 0.01f;
public bool Static = true;
LineRenderer renderer_;
void setPosition()
{
double[] a = {
0 ... | 1.99208 | 759106b8a27a09b27705b7df2e652df5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8005 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mjohne/Yarng",
"max_stars_repo_path": "Yarng/MainForm.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8006"
} | starcoder | namespace Yarng
{
partial class MainForm
{
/// <summary>
/// Erforderliche Designervariable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Verwendete Ressourcen bereinigen.
/// </summary>
... | 1.973423 | e65a4b957efc7e8b9e748efda87da642 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8006 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "taitans/OcelotManagement",
"max_stars_repo_path": "src/Taitans.OcelotManagement.Application.Contracts/Taitans/OcelotManagement/RouteQoSOptionDto.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8007"
} | starcoder | <reponame>taitans/OcelotManagement<filename>src/Taitans.OcelotManagement.Application.Contracts/Taitans/OcelotManagement/RouteQoSOptionDto.cs
namespace Taitans.OcelotManagement
{
public class RouteQoSOptionDto : QoSOptionDtoBase
{
}
}
| 0.76696 | e3c70bce342540966d948c1a6b629b36 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8007 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "ptconway/Opine.Data.DataTables",
"max_stars_repo_path": "Opine.Data.DataTables.Tests/GroupedDataRow_Should.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8008"
} | starcoder | <reponame>ptconway/Opine.Data.DataTables<gh_stars>1-10
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
namespace Opine.Data.DataTables.Tests
{
[TestClass]
public class GroupedDataRow_Should
{
private IDataTable GetSourceDataTable()
{
var t = new... | 2.565001 | 35d790c84cd46aa6ddbdd2bccd68dd27 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8008 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kailinishihira/University-Registrar",
"max_stars_repo_path": "UniversityRegistrar/Models/Department.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8009"
} | starcoder | using System.Collections.Generic;
using MySql.Data.MySqlClient;
using System;
namespace UniversityRegistrar.Models
{
public class Department
{
private int _id;
private string _name;
public Department(string name, int Id = 0)
{
_id = Id;
_name = name;
}
public int GetId()
{... | 3.085735 | ee43795d014f6e00862d351cdec8d29c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8009 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "PROGRAP/cordova-plugin-local-notifications",
"max_stars_repo_path": "src/windows/Microsoft.Toolkit.Uwp.Notifications.Shared/Toasts/Elements/Element_ToastActions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8010"
} | starcoder | <filename>src/windows/Microsoft.Toolkit.Uwp.Notifications.Shared/Toasts/Elements/Element_ToastActions.cs<gh_stars>1-10
// ******************************************************************
// Copyright (c) Microsoft. All rights reserved.
// This code is licensed under the MIT License (MIT).
// THE CODE IS PROVIDED “AS... | 1.866401 | 99e93625dee2159bd294916c4b8981f2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8010 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "kkadir/aspnet-5-eventbus",
"max_stars_repo_path": "src/Bussy.Server/Domain/ISoftDeletable.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8011"
} | starcoder | <filename>src/Bussy.Server/Domain/ISoftDeletable.cs
namespace Bussy.Server.Domain
{
public interface ISoftDeletable
{
bool IsDeleted { get; set; }
}
} | 1.927851 | 876a11574a4b4e4ccff64c5e92b7d712 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8011 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "NibbleByte/TetrisTower",
"max_stars_repo_path": "Packages/DevLocker.GFrame/SampleGame/Scripts/MainMenu/SampleMainMenuState.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8012"
} | starcoder | using UnityEngine;
namespace DevLocker.GFrame.SampleGame.MainMenu
{
/// <summary>
/// Used as enum. Because UnityEvents don't work with enums.
/// </summary>
[CreateAssetMenu(fileName = "UnknownState", menuName = "GFrame/Sample MainMenu State", order = 1020)]
public class SampleMainMenuState : ScriptableObject
{... | 1.617932 | 35d7c12beb4b0f3125eb6ca50d023ab8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8012 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "HengCC/JT808-1",
"max_stars_repo_path": "src/JT808.Protocol.Test/MessageBody/JT808_0x8A00Test.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8013"
} | starcoder | <gh_stars>1-10
using JT808.Protocol.Extensions;
using JT808.Protocol.MessageBody;
using System;
using System.Linq;
using Xunit;
namespace JT808.Protocol.Test.MessageBody
{
public class JT808_0x8A00Test
{
byte[] N;
public JT808_0x8A00Test()
{
N = Enumerable.Range(0, 128).Se... | 2.216427 | 75d9c0344760f26230cfa5892de1534e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8013 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "raeffs/catch-em-all-dotnet-core-3",
"max_stars_repo_path": "backend/Raefftec.CatchEmAll.Crawler/Helpers/WebRequestExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8014"
} | starcoder | using System.Net;
using System.Threading.Tasks;
using HtmlAgilityPack;
namespace Raefftec.CatchEmAll
{
internal static class WebRequestExtensions
{
public static async Task<HtmlDocument> GetHtmlDocumentAsync(this WebRequest request)
{
var response = await request.GetResponseAsync()... | 2.435415 | 2aba82f4c6d55558805602280fc4cc42 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8014 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "riQQ/DirectN",
"max_stars_repo_path": "DirectN/DirectN/Generated/_DXGK_WDDMVERSION.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8015"
} | starcoder | // c:\program files (x86)\windows kits\10\include\10.0.18362.0\shared\d3dkmddi.h(2011,9)
namespace DirectN
{
public enum _DXGK_WDDMVERSION
{
DXGKDDI_WDDMv1 = 4096,
DXGKDDI_WDDMv1_2 = 4608,
DXGKDDI_WDDMv1_3 = 4864,
DXGKDDI_WDDMv2 = 8192,
DXGKDDI_WDDMv2_1 = 8448,
D... | 1.401869 | 9c1ff780b38781f09c0eda43f6ad7ddf |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8015 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Moleculars/OptionServer",
"max_stars_repo_path": "Src/OptionServer/Black.Beard.OptionServer.Dao/OptionServer/Dao/Field.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8016"
} | starcoder | <reponame>Moleculars/OptionServer
using System.Data;
namespace Bb.OptionServer.Dao
{
[System.Diagnostics.DebuggerDisplay("{Name} : {Value}")]
public class Field
{
public string Name { get; set; }
public FieldValue Value { get; set; }
public DbType DbType { get; set; }
... | 1.789561 | c38985c676c43a6099fc0f45802e3c1e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8016 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Gurris/daf-meta",
"max_stars_repo_path": "Daf.Meta.Editor/CustomNotifyDataErrorInfoConverter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8017"
} | starcoder | <reponame>Gurris/daf-meta<gh_stars>1-10
// SPDX-License-Identifier: MIT
// Copyright © 2021 <NAME>, <NAME> and contributors
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Globalization;
using System.Linq;
using System.Windows;
usi... | 2.30916 | 738ba39d35e465b45898c5523babd16f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8017 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "david0718/BotSharp",
"max_stars_repo_path": "BotSharp.Core/Intents/IntentInputContext.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8018"
} | starcoder | <reponame>david0718/BotSharp
using EntityFrameworkCore.BootKit;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;
namespace BotSharp.Core.Intents
{
[Table("Bot_IntentInputContext")]
public class I... | 1.779321 | dc25bc3e3df1e47dd4bf343af6ed89da |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8018 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "alireza-rezaee/AlirezaRezaee.BootstrapToast",
"max_stars_repo_path": "src/AlirezaRezaee.BootstrapToastTagHelper/Helpers/ToastBackgroundClassName.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8019"
} | starcoder | <reponame>alireza-rezaee/AlirezaRezaee.BootstrapToast<filename>src/AlirezaRezaee.BootstrapToastTagHelper/Helpers/ToastBackgroundClassName.cs<gh_stars>0
namespace AlirezaRezaee.BootstrapToastTagHelper.Helpers
{
class ToastBackgroundClassName
{
public const string Error = "bg-danger";
public con... | 1.824556 | 47084a484b0cb9646dd2c9833d407dda |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8019 | {
"extension": "c-sharp",
"max_stars_count": "15.0",
"max_stars_repo_name": "opc-cpvp/OPC.PowerApps",
"max_stars_repo_path": "src/Compliance.EarlyBound/OptionSets/opc_MultipleComplaintStrategy.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8020"
} | starcoder | //------------------------------------------------------------------------------
// <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>
//-----------------------------------------... | 1.463025 | dac29edb77e90365b0ac855d8e84c415 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8020 | {
"extension": "c-sharp",
"max_stars_count": "80.0",
"max_stars_repo_name": "leonvanderiet/SCIMReferenceCode",
"max_stars_repo_path": "Microsoft.SystemForCrossDomainIdentityManagement/Protocol/QueryParameters.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8021"
} | starcoder | <filename>Microsoft.SystemForCrossDomainIdentityManagement/Protocol/QueryParameters.cs
//------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
//------------------------------------------------------------
namespace Microsoft.SCIM
{
using System... | 2.144786 | 988941d7ed714599896f33c5dd5f51fe |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8021 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "iamprovidence/Lama",
"max_stars_repo_path": "src/backend/LamaAPI/Application/PhotoAlbums/Commands/UpdateAlbumPhotos/UpdateAlbumPhotosCommand.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8022"
} | starcoder | <gh_stars>1-10
using System.Collections.Generic;
namespace Application.PhotoAlbums.Commands.UpdateAlbumPhotos
{
public class UpdateAlbumPhotosCommand : MediatR.IRequest
{
public int AlbumId { get; set; }
public IEnumerable<Models.PhotoAlbumDTO> Photos { get; set; }
}
}
| 1.618215 | 30fa98486c48d5d1d2d0b7d7b0b51958 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8022 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ceifa/airmiss",
"max_stars_repo_path": "Airmiss.TestConsole/GreetingsHub.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8023"
} | starcoder | using System.Collections.Generic;
using System.Linq;
using Airmiss.Processor;
namespace Airmiss.TestConsole
{
[ProcessorHub("greetings")]
public class GreetingsHub
{
[Processor("hello/{name}", Verb.Get)]
public string HelloWorld(string name)
{
return $"Hello {name}!";
... | 2.776279 | a122742eab6fdab0e3a552d8ba9878dc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8023 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "MarkoMajamaki/Architecture-Demo",
"max_stars_repo_path": "backend/OrderApi/OrderApi.Domain/IOrderRepository.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8024"
} | starcoder | namespace OrderApi.Domain
{
public interface IOrderRepository : IRepository<Order>
{
}
}
| 1.238455 | bde42770ff7e0ef89ac906f7812efb1e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8024 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lvchkn/ConsoleCache",
"max_stars_repo_path": "ConsoleCache/Configuration/DI.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8025"
} | starcoder | <filename>ConsoleCache/Configuration/DI.cs
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using ConsoleCache.Cache;
using ConsoleCache.Commands;
using ConsoleCache.Parsers;
using ConsoleCache.Runners;
using System;
using ConsoleCache.Presentation;
namespace ConsoleCache.Configurat... | 1.925036 | d8fedfabc3be991fdb63cbaa6e2fc6a7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8025 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "jayhoogle/Xamarin.Forms",
"max_stars_repo_path": "Xamarin.Forms.Platform.UAP/Extensions/CompositionExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8026"
} | starcoder | using Windows.UI.Composition;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Hosting;
using Xamarin.Forms.Shapes;
using WVector2 = System.Numerics.Vector2;
namespace Xamarin.Forms.Platform.UWP
{
internal static class CompositionExtensions
{
#if UWP_18362
public static void Clip(this FrameworkElement frameworkElemen... | 2.316266 | 6f56152a38e4bcba157271ffd6b93ff5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8026 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "aspose-tasks/Aspose.Tasks-for-.NET",
"max_stars_repo_path": "Examples/CSharp/ExByMonthDayRepetition.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8027"
} | starcoder | namespace Aspose.Tasks.Examples.CSharp
{
using System;
using NUnit.Framework;
using Saving;
[TestFixture]
public class ExByMonthDayRepetition : ApiExampleBase
{
[Test]
public void WorkWithByMonthDayRepetition()
{
try
{
// ExStart
... | 2.560157 | 4fccf2217b9e695a5163f2d082650d6d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8027 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nvdvlies/dotnet-api-and-angular-frontend-modular-monolith",
"max_stars_repo_path": "src/Demo.Infrastructure/Settings/EnvironmentSettings.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8028"
} | starcoder | <gh_stars>0
namespace Demo.Infrastructure.Settings
{
public class EnvironmentSettings
{
public ConnectionStrings ConnectionStrings { get; set; } = new ConnectionStrings();
public Auth0 Auth0 { get; set; } = new Auth0();
public EventGrid EventGrid { get; set; } = new EventGrid();
... | 1.043882 | a3e9e562346b39c46fee1cb16d086777 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8028 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "berkansasmaz/runtime",
"max_stars_repo_path": "src/libraries/System.Security.Cryptography/src/System/Security/Cryptography/X509Certificates/X500DistinguishedNameBuilder.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8029"
} | starcoder | <filename>src/libraries/System.Security.Cryptography/src/System/Security/Cryptography/X509Certificates/X500DistinguishedNameBuilder.cs
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System.Collections.Generic;
using System.... | 2.637355 | 69193fbe3ade0f3cf2494dfc188e2369 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8029 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "ffMathy/ngrok-api-dotnet",
"max_stars_repo_path": "NgrokApi/Datatypes/EventStreamCreate.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8030"
} | starcoder | <gh_stars>1-10
using System;
using System.Runtime;
using System.Collections.Generic;
using Newtonsoft.Json;
namespace NgrokApi
{
public class EventStreamCreate
{
// <summary>
// Arbitrary user-defined machine-readable data of this Event Stream. Optional, max
// 4096 bytes.
// <... | 2.433593 | a1798981c53eb38244ffd93aa74aeb35 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8030 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kcomking1/KCON",
"max_stars_repo_path": "KCSystem.Core/Interface/ITypeHelperService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8031"
} | starcoder | namespace KCSystem.Core.Interface
{
public interface ITypeHelperService
{
bool TypeHasProperties<T>(string fields);
}
}
| 1.536139 | 02b7d8219613576a0cc707c45dd5abdf |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8031 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "feO2x/Light.Json",
"max_stars_repo_path": "Code/Light.Json/Buffers/DoubleArraySizeStrategy.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8032"
} | starcoder | <gh_stars>1-10
using System.Runtime.Serialization;
using Light.GuardClauses;
namespace Light.Json.Buffers
{
public sealed class DoubleArraySizeStrategy : IIncreaseBufferSizeStrategy
{
public int DetermineNewBufferSize(int currentSize, int numberOfAdditionallyRequiredSlots, int maximumArraySizeInByte)
... | 2.64173 | 80926f813ab8f8baa1c0ddbe1bbaa32f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8032 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DjTrilogic/Sylver.Network",
"max_stars_repo_path": "src/Sylver.Network/Client/NetClient.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8033"
} | starcoder | using Sylver.Network.Client.Internal;
using Sylver.Network.Common;
using Sylver.Network.Data;
using Sylver.Network.Infrastructure;
using System;
using System.Net.Sockets;
namespace Sylver.Network.Client
{
public class NetClient : NetConnection, INetClient
{
private IPacketProcessor _packetProcessor;
... | 2.530726 | 920d7ade69df329b72004f91d694ae7e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8033 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "JTOne123/Crudless",
"max_stars_repo_path": "UnstableSort.Crudless/Configuration/Builders/Sort/SorterExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8034"
} | starcoder | <reponame>JTOne123/Crudless<gh_stars>1-10
using System;
using System.Linq.Expressions;
using UnstableSort.Crudless.Configuration.Builders;
using UnstableSort.Crudless.Configuration.Builders.Sort;
// ReSharper disable once CheckNamespace
namespace UnstableSort.Crudless.Configuration
{
public static class SorterExt... | 2.128123 | 5b4e0ba09cb94bb5af1e73643a577666 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8034 | {
"extension": "c-sharp",
"max_stars_count": "119.0",
"max_stars_repo_name": "nikeee/ILSpy",
"max_stars_repo_path": "Debugger/Debugger.Core/ModuleCollection.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8035"
} | starcoder | // Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
using System;
using Debugger.Interop.CorDebug;
namespace Debugger
{
public class ModuleCollection: CollectionWithEvents<Modu... | 2.265005 | 073f51885a120cc94563b0a710aeb6f4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8035 | {
"extension": "c-sharp",
"max_stars_count": "33.0",
"max_stars_repo_name": "luyikk/ZYSOCKET-V",
"max_stars_repo_path": "ZYSocketFrame/ZYSocketClient/SocketClient.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8036"
} | starcoder | using System;
using System.Buffers;
using System.Net;
using System.Net.Sockets;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using ZYSocket.FiberStream;
using ZYSocket.Interface;
using ZYSocket.Share;
namespace ZYSocket.Client
{
/// <summary>
/// 数据包输入代理
/// </summary>
///... | 2.174127 | 7196779da5a74726618c957ff2e2c214 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 8036 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Soludus/Soludus2Enercity",
"max_stars_repo_path": "Assets/Soludus/VR Game/Gameplay/ControllerVacuum/ControllerVacuum.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8037"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using VRTK;
public class ControllerVacuum : MonoBehaviour
{
public VRTK_ControllerEvents m_controllerEvents = null;
[Header("Vacuum")]
public float m_force = 1;
public float m_garbageSuckSpeed = 1;
public float m_range... | 1.67592 | 2886336b5ba3199a01b83f527753ec1d |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.