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 | 6637 | {
"extension": "c-sharp",
"max_stars_count": "17.0",
"max_stars_repo_name": "ChenKa1/constellation-sitecore9",
"max_stars_repo_path": "Constellation.Foundation.ModelMapping/FieldMappers/InternalLinkTargetItemMapper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6638"
} | starcoder | using System;
using Sitecore.Data.Fields;
namespace Constellation.Foundation.ModelMapping.FieldMappers
{
/// <inheritdoc />
/// <summary>
/// Maps the "TargetItem" Attribute of an Internal Link field to a Model Property suffixed with the word "TargetItem".
/// </summary>
public class InternalLinkTargetI... | 2.506037 | 915de1888295ee47ac0d9f8e08b28539 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6638 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "alevnyacow/interview-helper",
"max_stars_repo_path": "Back/QuestionsList/QuestionsList.Infrastructure/Entities/PgTags.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6639"
} | starcoder | <gh_stars>1-10
using System.Threading.Tasks;
using QuestionsList.Core.EntityContracts;
using System.Linq;
using QuestionsList.Core.Entities;
using QuestionsList.Infrastructure.PostgresQueries;
namespace QuestionsList.Infrastructure.Entities
{
public sealed class PgTags : ITags
{
private readonly string... | 2.546548 | 16a3344d9b0d7e176239fb456a384e1b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6639 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "hpslavov/TelerikAcademy",
"max_stars_repo_path": "C# OOP/ExtMethods-Del-Lambda-LINQ/02.IEnumerableExtensions/IEnumerableMax.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6640"
} | starcoder | namespace _02.IEnumerableExtensions
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
public static class IEnumerableMax
{
// implement extension method Max<T> in IEnumerable<T>
public static T Max... | 3.513425 | 731d52ef2113836971996bad092a3959 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6640 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "zaront/Vector",
"max_stars_repo_path": "Vector/MotionSettings.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6641"
} | starcoder | <reponame>zaront/Vector<filename>Vector/MotionSettings.cs
using System;
using System.Collections.Generic;
using System.Text;
namespace Vector
{
public class MotionSettings
{
public float SpeedMmps { get; set; }
public float AccelMmps2 { get; set; }
public float DecelMmps2 { get; set; }
public float PointTur... | 1.657265 | ff027266c7a1662d8ff649b7258b3ce7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6641 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dogukanalan/Sultanlar",
"max_stars_repo_path": "Sultanlar/Sultanlar.WebUI/merch/konumlar.aspx.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6642"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Sultanlar.DatabaseObject;
using System.Data;
using Sultanlar.DatabaseObject.Internet;
using Sultanlar.Class;
namespace Sultanlar.WebUI.merch
{
public partial class konum... | 1.941032 | a1354994fee33121624124b51882c96c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6642 | {
"extension": "c-sharp",
"max_stars_count": "39.0",
"max_stars_repo_name": "1manprojects/one_Sgp4",
"max_stars_repo_path": "One_Sgp4/sgp/DeepSpaceObjects.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6643"
} | starcoder | <reponame>1manprojects/one_Sgp4
/*
* Copyright 2017 <NAME> <<EMAIL>>
*
* Licensed under the The MIT License (MIT)
* You may obtain a copy of the License at
*
* https://tldrlegal.com/license/mit-license#summary
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
* EXPRESS OR IMPLIED, INCLUDING ... | 1.414231 | e30db9e74ebcba14ff746e1439d7d895 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6643 | {
"extension": "c-sharp",
"max_stars_count": "14.0",
"max_stars_repo_name": "remobjects/internetpack",
"max_stars_repo_path": "Source (Legacy)/RemObjects.InternetPack.VirtualFTP/FtpInterfaces.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6644"
} | starcoder | <gh_stars>10-100
/*---------------------------------------------------------------------------
RemObjects Internet Pack for .NET
(c)opyright RemObjects Software, LLC. 2003-2016. All rights reserved.
---------------------------------------------------------------------------*/
using System;
using System.Colle... | 2.016957 | c3be48a6f85110a9907f84ed9bc01a50 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6644 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "CharlesZHENG/Geckofx",
"max_stars_repo_path": "Geckofx-Core/WebIDL/Generated/SEManager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6645"
} | starcoder | namespace Gecko.WebIDL
{
using System;
public class SEManager : WebIDLBase
{
public SEManager(nsISupports thisObject) :
base(thisObject)
{
}
public Promise < nsISupports[] > GetSEReaders()
{
retur... | 0.962147 | 5a80b3b9e5850344f38f99679c704fdb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6645 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "LykkeCity/NBitcoinBTG",
"max_stars_repo_path": "NBitcoin/Payment/ICertificateServiceProvider.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6646"
} | starcoder | <reponame>LykkeCity/NBitcoinBTG
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace NBitcoinBTG.Payment
{
public interface ICertificateServiceProvider
{
IChainChecker GetChainChecker();
ISignatureChecker GetSignatureChecker();
... | 1.377245 | f10eacfd98d3fe315d5806339d294389 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6646 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "jointyrost/CliFx",
"max_stars_repo_path": "CliFx.Tests/Commands/WithDependenciesCommand.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6647"
} | starcoder | <filename>CliFx.Tests/Commands/WithDependenciesCommand.cs
using System.Threading.Tasks;
using CliFx.Attributes;
namespace CliFx.Tests.Commands
{
[Command("cmd")]
public class WithDependenciesCommand : ICommand
{
public class DependencyA
{
}
public class DependencyB
... | 2.364682 | 4689e03ba9b37621fcc280e500b0b6b9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6647 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "efrees/adventofcode2021",
"max_stars_repo_path": "csharp/AdventOfCode2021/Grid/Point2D.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6648"
} | starcoder | <reponame>efrees/adventofcode2021
using System;
using System.Collections.Generic;
namespace AdventOfCode2021.Grid
{
public record Point2D(long X, long Y)
{
public static Point2D Origin { get; } = new(0, 0);
public static implicit operator (long x, long y)(Point2D point) => (x: point.X, y: poi... | 3.245668 | 2b89c5ee06ab0c88f22769a9d43b74dc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6648 | {
"extension": "c-sharp",
"max_stars_count": "3180.0",
"max_stars_repo_name": "sm-g/MvvmCross",
"max_stars_repo_path": "MvvmCross/Binding/Bindings/SourceSteps/MvxSourceStepFactory.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6649"
} | starcoder | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MS-PL license.
// See the LICENSE file in the project root for more information.
using System;
using System.Collections.Generic;
using MvvmCross.Exceptions;
namespace MvvmCross.Binding.Bindings.... | 2.132103 | 04254c2163ea3be92d3c3aae383d18f9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6649 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Legion2/PCSS",
"max_stars_repo_path": "Sources/VRage.Game/ObjectBuilders/Definitions/MyObjectBuilder_RemoteControlDefinition.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6650"
} | starcoder | <reponame>Legion2/PCSS
using ProtoBuf;
using VRage.ObjectBuilders;
namespace Sandbox.Common.ObjectBuilders.Definitions
{
[ProtoContract]
[MyObjectBuilderDefinition]
public class MyObjectBuilder_RemoteControlDefinition : MyObjectBuilder_ShipControllerDefinition
{
[ProtoMember]
public fl... | 1.172975 | 1da8bde111fd9d6a0b57d982e368f0da |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6650 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "vishalshah3584/SPAApp",
"max_stars_repo_path": "api/Application.Common/Tasks/IServiceContainerConfiguredTask.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6651"
} | starcoder | namespace App.Common.Tasks
{
public interface IServiceContainerConfiguredTask<TArgument> : IBaseTask<TArgument>
{
}
}
| 0.975063 | c935d5329aec204934e690c590172242 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6651 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mark-mcg/keyboard_augmentation_toolkit",
"max_stars_repo_path": "Unity Project/Assets/KAT/Codebase/Virtual-Physical Keyboard Layout/Docking/DockingEvent.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6652"
} | starcoder | <filename>Unity Project/Assets/KAT/Codebase/Virtual-Physical Keyboard Layout/Docking/DockingEvent.cs
using UnityEngine;
namespace KAT
{
public class DockingEvent : BaseKUIEvent
{
public bool docked;
public Collider dockedWith;
public KUIDockable dockedWithDockable;
public Dock... | 2.042397 | 6f2b95d1fd7a5d554881b925d7b1780c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6652 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "tunjiadelana/AutomateThePlanet-Learning-Series",
"max_stars_repo_path": "TestCaseManager/TestCaseManager/TestCaseManager/Views/TestCasesMigrationView.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6653"
} | starcoder | // <copyright file="TestCasesMigrationView.xaml.cs" company="Automate The Planet Ltd.">
// Copyright 2016 Automate The Planet 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... | 2.211466 | 951174d4f4ce5620bce1aa3489dba6b2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6653 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JeromeDuboisPro/framework",
"max_stars_repo_path": "arcane/tools/Arcane.Templates/Main.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6654"
} | starcoder | <reponame>JeromeDuboisPro/framework
//-----------------------------------------------------------------------------
// Copyright 2000-2021 CEA (www.cea.fr) IFPEN (www.ifpenergiesnouvelles.com)
// See the top-level COPYRIGHT file for details.
// SPDX-License-Identifier: Apache-2.0
//-------------------------------------... | 2.159657 | 4c0740e68565d1dc86975070dfbc78a4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6654 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "exfsys/MPL-Tool",
"max_stars_repo_path": "MPL Tool UI/App.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6655"
} | starcoder | <filename>MPL Tool UI/App.xaml.cs<gh_stars>1-10
using System.Windows;
namespace MPL_Tool_UI
{
public partial class App : Application
{
}
}
| 1.531989 | 8b6a24e3de285a4af919117561f2a8ea |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6655 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "dineshkummarc/cuyahoga",
"max_stars_repo_path": "src/Cuyahoga.Web/App_GlobalResources/Cuyahoga.Web.Controls.Resources.Strings.designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6656"
} | starcoder | <filename>src/Cuyahoga.Web/App_GlobalResources/Cuyahoga.Web.Controls.Resources.Strings.designer.cs<gh_stars>1-10
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:2.0.50727.1433
//
// Changes to ... | 2.140526 | 8a0d438fa273e06a7004466a0d7a3413 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6656 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "FreyaFreed/mordheim",
"max_stars_repo_path": "Assembly-CSharp/AIPathEnemyAlly.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6657"
} | starcoder | using System;
using System.Collections.Generic;
using RAIN.Core;
public class AIPathEnemyAlly : global::AIPathUnitBase
{
public override void Start(global::RAIN.Core.AI ai)
{
base.Start(ai);
this.actionName = "PathEnemyAlly";
}
protected override bool CheckAllies()
{
return true;
}
protected override v... | 2.19661 | 13de33d35fc6e7e56226af4a78acbdc9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6657 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "usausa/Smart-Net",
"max_stars_repo_path": "Smart/Linq/EnumerableExtensions.Indexed.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6658"
} | starcoder | namespace Smart.Linq;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.CompilerServices;
public static partial class EnumerableExtensions
{
private sealed class IndexedEnumerator<T> : IEnumerator<Indexed<T>>
{
private readonly IEnumerator<T> ie;
p... | 2.759013 | a7487193a8bd11101d0a98596cdb92ee |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6658 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ashurtech/MVVMcomics",
"max_stars_repo_path": "ViewModels/IssueViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6659"
} | starcoder | <filename>ViewModels/IssueViewModel.cs
using System;
using System.Collections.ObjectModel;
using System.Diagnostics;
using System.IO.Compression;
using System.Windows.Input;
using App3.Services;
using GalaSoft.MvvmLight;
using GalaSoft.MvvmLight.Command;
using MVVMcomics.Messages;
using MVVMcomics.Models;
using MVVMco... | 2.344978 | 740fecab9131689f729b18591f5fd1c5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6659 | {
"extension": "c-sharp",
"max_stars_count": "223.0",
"max_stars_repo_name": "ucsb/datatables.aspnet",
"max_stars_repo_path": "src/DataTables.AspNet.AspNetCore/NameConvention/CamelCaseRequestNameConvention.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6660"
} | starcoder | #region Copyright
/* The MIT License (MIT)
Copyright (c) 2014 <NAME> (Brazil)
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 limitation the rights
to use,... | 1.845688 | cf44be0792ba6615a61ffe2c43518125 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6660 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "peteroupc/encoding",
"max_stars_repo_path": "Encoding/PeterO/Text/Encoders/EncodingShiftJIS.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6661"
} | starcoder | using System;
using System.IO;
using PeterO;
using PeterO.Text;
namespace PeterO.Text.Encoders {
internal class EncodingShiftJIS : ICharacterEncoding {
private class Decoder : ICharacterDecoder {
private readonly DecoderState state;
private int lead;
public Decoder() {
this.state = new... | 2.655248 | ed6371f009602264af303bc4b89b00a7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6661 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Code-blooded-hack/code-blooded-build-service",
"max_stars_repo_path": "CodeBlooded.Build.App/Messages/TestResultResponse.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6662"
} | starcoder | using System.Text.Json.Serialization;
using Newtonsoft.Json;
namespace CodeBlooded.Build.App.Messages
{
public class TestResultResponse
{
[JsonPropertyName("input")]
[JsonProperty("input")]
public string Input { get; set; }
[JsonPropertyName("output")]
[Json... | 1.650729 | 3254f5900209ebc2d917eb00a8ce141f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6662 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "amironov73/ManagedClient.45",
"max_stars_repo_path": "Examples/ManagedClient/CoronaBooks/Source/CellExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6663"
} | starcoder | // This is an open source non-commercial project. Dear PVS-Studio, please check it.
// PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com
#region Using directives
using System.Drawing;
using DevExpress.Spreadsheet;
using JetBrains.Annotations;
#endregion
// ReSharper disable UnusedMember.Gl... | 2.416224 | e2c8ddb95b025c139b579d228b4cdbd0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6663 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "et-mohedano/VerificentroSystem.NET",
"max_stars_repo_path": "wsVerificentro6A_EMT/wsRptVehiculoFiltro.aspx.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6664"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
// Agregar referencia
using wsVerificentro;
using System.Data;
public partial class Default2 : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArg... | 1.989542 | 86876ef57c186efcbec32124e16903e3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6664 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "larslynch/msgraph-beta-sdk-dotnet",
"max_stars_repo_path": "src/Microsoft.Graph/Generated/model/ChatMessage.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6665"
} | starcoder | // ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------
/... | 1.95811 | 1aea5d3d41042949b800dbc39440a4b9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6665 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "mikeobrien/Gribble",
"max_stars_repo_path": "src/Gribble/Mapping/IClassMap.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6666"
} | starcoder | <filename>src/Gribble/Mapping/IClassMap.cs
using System;
using System.Collections.Generic;
using System.Reflection;
namespace Gribble.Mapping
{
public interface IClassMap
{
Type Type { get; }
KeyPropertyMapping KeyProperty { get; set; }
DynamicMap DynamicProperty { get; }
... | 2.06636 | 0121ae87ce5cec94d36c3aa711308a7e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6666 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Rmckays/StockMaverick",
"max_stars_repo_path": "API/Controllers/UserController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6667"
} | starcoder | using System.Threading.Tasks;
using Application.User;
using Domain;
using MediatR;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
namespace API.Controllers
{
public class UserController: BaseController
{
[AllowAnonymous]
[HttpPost("login")]
public async ... | 2.26582 | 1a142ff597d93af026813158d78a2b42 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6667 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "mueru/VRChatAPI.Net",
"max_stars_repo_path": "VRChatAPI/src/Objects/File/VRCFileData.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6668"
} | starcoder | using VRChatAPI.Enums;
using VRChatAPI.Interfaces;
namespace VRChatAPI.Objects
{
public class VRCFileData : SerializableObjectAbstract
{
public EFileCategory Category { get; set; }
public string FileName { get; set; }
public string Md5 { get; set; }
public int SizeInBytes { get; set; }
public EUploadStatu... | 1.741683 | aa378fb368fd14132a4560ecdcdb1062 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6668 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "null511/MinecraftMappings.NET",
"max_stars_repo_path": "MinecraftMappings.NET/Minecraft/Bedrock/Textures/Block/GrindstoneSide.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6669"
} | starcoder | using MinecraftMappings.Internal.Textures.Block;
namespace MinecraftMappings.Minecraft.Bedrock.Textures.Block
{
public class GrindstoneSide : BedrockBlockTexture
{
public GrindstoneSide() : base("Grindstone Side")
{
AddVersion("grindstone_side")
.MapsToJavaBlock<Jav... | 1.812415 | e23520bcfabe49730cea9752b552b566 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6669 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "Finitive-LLC/UI-Testing-Toolbox",
"max_stars_repo_path": "Lombiq.Tests.UI/Helpers/DirectoryHelper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6670"
} | starcoder | using System;
using System.IO;
using System.Threading;
namespace Lombiq.Tests.UI.Helpers
{
public static class DirectoryHelper
{
public static void SafelyDeleteDirectoryIfExists(string path, int maxTryCount = 10)
{
if (!Directory.Exists(path)) return;
var tryCount = 0;
... | 3.14097 | f1bae070f0362660433cdb23c7fdf1bd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6670 | {
"extension": "c-sharp",
"max_stars_count": "136.0",
"max_stars_repo_name": "subor-zplus/NNanomsg",
"max_stars_repo_path": "Test/Test_Listener.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6671"
} | starcoder | using System;
using System.Diagnostics;
using System.Threading;
using NNanomsg;
namespace Test
{
class Test_Listener
{
public static void Execute()
{
Console.WriteLine("Executing Listener test");
const string inprocAddress = "tcp://127.0.0.1:6522";
... | 2.662931 | eb40268054a0d842b6cc8327981d6da4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6671 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "redzumi/ZeroReact.NET",
"max_stars_repo_path": "src/JavaScriptEngineSwitcher.ChakraCore.Ext/Helpers/EncodingHelpers.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6672"
} | starcoder | #if NET471 || NETSTANDARD
using System;
using System.Runtime.InteropServices;
#endif
using System.Text;
namespace JavaScriptEngineSwitcher.ChakraCore.Helpers
{
/// <summary>
/// Encoding helpers
/// </summary>
internal static class EncodingHelpers
{
#if NET471 || NETSTANDARD
public static unsafe string Unicode... | 2.561263 | 3088764b15602098c283f623af12371a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6672 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "dev0x41/SilverBullet",
"max_stars_repo_path": "OpenBullet/Views/Main/WordlistManager.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6673"
} | starcoder | <reponame>dev0x41/SilverBullet
using OpenBullet.ViewModels;
using OpenBullet.Views.Dialogs;
using RuriLib.Models;
using System;
using System.ComponentModel;
using System.IO;
using System.Linq;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
namespace OpenBullet.Views.Main
{
//... | 2.354496 | a925eda5e1d06eef42b564605bcdd3d0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6673 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "Delt06/computer-battle",
"max_stars_repo_path": "Assets/Plugins/DELTation/UI/Animations/ScreenCanvasGroupAlphaAnimation.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6674"
} | starcoder | using DELTation.UI.Animations.Tweeners.Properties.Elements;
using UnityEngine;
namespace DELTation.UI.Animations
{
[RequireComponent(typeof(CanvasGroup))]
public sealed class ScreenCanvasGroupAlphaAnimation : ScreenAlphaAnimation
{
protected override ITransparentElement CreateTransparentElement() ... | 1.456504 | e10891c65e002327f5cad0f3523ed460 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6674 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dialectsoftware/DialectSoftware.Networking",
"max_stars_repo_path": "DialectSoftware.Networking/AsyncTcpClientAdapter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6675"
} | starcoder | using System;
using System.IO;
using System.Net;
using System.Net.Sockets;
using System.Runtime.Remoting;
using System.Runtime.Remoting.Messaging;
/// ******************************************************************************************************************
/// * Copyright (c) 2011 Dialect Software LLC ... | 2.312115 | a752d79fef57958529b87e70137cb8a1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6675 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "LuohuaRain/payment",
"max_stars_repo_path": "src/Essensoft.AspNetCore.Payment.Alipay/Domain/AntMerchantExpandItemSecurityModifyModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6676"
} | starcoder | using System.Collections.Generic;
using System.Text.Json.Serialization;
namespace Essensoft.AspNetCore.Payment.Alipay.Domain
{
/// <summary>
/// AntMerchantExpandItemSecurityModifyModel Data Structure.
/// </summary>
public class AntMerchantExpandItemSecurityModifyModel : AlipayObject
{
//... | 1.803123 | 4c36ad049cc5663a34835ffd855a743d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6676 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "LoveSharp2019/VisionMix",
"max_stars_repo_path": "Yoga.VisionMix/AppManger/ProjectData.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6677"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Yoga.Camera;
using Yoga.Tools;
using Yoga.Common;
using Yoga.Common.FileAct;
using System.IO;
using Yoga.Common.Basic;
namespace Yoga.VisionMix.AppManger
{
[Serial... | 2.27069 | cda946fbd5400c5a48d9c7ec1690b019 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6677 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "pfpack/early-dependency",
"max_stars_repo_path": "src/dependency-core/Core.Tests/Tests.Dependency.03/With.04/With.04.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6678"
} | starcoder | <reponame>pfpack/early-dependency
using PrimeFuncPack.UnitTest;
using Xunit;
using static PrimeFuncPack.UnitTest.TestData;
namespace PrimeFuncPack.Tests;
partial class ThreeDependencyTest
{
[Theory]
[MemberData(nameof(TestEntitySource.RefTypes), MemberType = typeof(TestEntitySource))]
public void WithOne_... | 1.987681 | 7ef0e430f71f9355afa017fc05571f10 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6678 | {
"extension": "c-sharp",
"max_stars_count": "17.0",
"max_stars_repo_name": "npocmaka/Windows-Server-2003",
"max_stars_repo_path": "com/netfx/src/framework/designer/winforms/system/winforms/design/datagridcolumncollectioneditor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6679"
} | starcoder | //------------------------------------------------------------------------------
// <copyright file="DataGridColumnCollectionEditor.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
//-----------... | 2.227216 | 0ff970e908937db7cf7098a7d02429c4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6679 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "FrostAndFlame/BuckarooSdk_DotNet",
"max_stars_repo_path": "BuckarooSdk/Data/ConfiguredDataRequest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6680"
} | starcoder | <gh_stars>0
using BuckarooSdk.Services.Ideal.DataRequest;
using BuckarooSdk.Services.CreditManagement.DataRequest;
using BuckarooSdk.Services.IdealQr.DataRequest;
namespace BuckarooSdk.Data
{
public class ConfiguredDataRequest
{
internal Data BaseDataRequest { get; private set;}
/// <summary>
/// ConfiguredD... | 1.867072 | e616e0ce60470805e66e25a597355eaa |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6680 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "FlorianGrimm/UpToDocu",
"max_stars_repo_path": "src/UpToDocuCli/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6681"
} | starcoder | using System;
namespace UpToDocu {
public static class Program {
public static int Main(string[] args) {
Console.WriteLine("Hello, World!");
return 0;
}
}
} | 2.042064 | dec14eb62b1789cb3c61e3bc96286a8f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6681 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "morskibg/CS_TrainingAtHome",
"max_stars_repo_path": "P01_BillsPaymentSystem/P01_BillsPaymentSystem.Data/Configurations/PaymentMethodConfig.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6682"
} | starcoder |
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using P01_BillsPaymentSystem.Data.Models;
namespace P01_BillsPaymentSystem.Data.Configurations
{
public class PaymentMethodConfig : IEntityTypeConfiguration<PaymentMethod>
{
public void Configure(En... | 1.843086 | 012f0b40a737be7f51b4207e3267da3f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6682 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AlexandrSurkov/FlekoFramework",
"max_stars_repo_path": "FlekoFramework/UnitTests/Common.Network/TcpClientTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6683"
} | starcoder | using System;
using System.Net;
using Flekosoft.Common.Network.Tcp;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.ComponentModel;
using System.Collections.Generic;
using Flekosoft.Common.Network;
using System.Threading;
namespace Flekosoft.UnitTests.Common.Network
{
class TcpClient... | 2.177921 | 16bbbae0ae2ab0ef8a59a4668fdc219e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6683 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "HNochev/SoftUni-CSharp-Software-Engineering",
"max_stars_repo_path": "Programing Basics/More Exercises - Bonus/4. VB While-Loop - More Exercises/02. ReportSystem/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6684"
} | starcoder | <reponame>HNochev/SoftUni-CSharp-Software-Engineering
using System;
namespace _02._ReportSystem
{
class Program
{
static void Main(string[] args)
{
int expectedSum = int.Parse(Console.ReadLine());
string money = Console.ReadLine();
int counter = 0;
... | 3.18423 | 7e996a1dcae38c22498f10863af87c63 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6684 | {
"extension": "c-sharp",
"max_stars_count": "126.0",
"max_stars_repo_name": "curoviyxru/ManagedShell",
"max_stars_repo_path": "src/ManagedShell.Common/Logging/LogSeverity.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6685"
} | starcoder | namespace ManagedShell.Common.Logging
{
/// <summary>
/// Enumeration of log severity levels.
/// </summary>
public enum LogSeverity
{
/// <summary>
/// Severity level of "Debug"
/// </summary>
Debug = 1,
/// <summary>
/// Severity level of "Info"
... | 2.707345 | ac3118e9b77674b55f9e6e44d90969ec |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6685 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "furkaandogan/color-tracker",
"max_stars_repo_path": "WindowsFormsApplication1/WebCamRun.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6686"
} | starcoder | <reponame>furkaandogan/color-tracker
namespace WindowsFormsApplication1
{
partial class WebCamRun
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources ... | 1.909269 | c9540756d0220c49cd91fa48e80f3446 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6686 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "moto2002/mobahero_src",
"max_stars_repo_path": "ObserveHeadItem.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6687"
} | starcoder | <filename>ObserveHeadItem.cs<gh_stars>1-10
using Com.Game.Data;
using Com.Game.Manager;
using Com.Game.Module;
using Com.Game.Utils;
using MobaHeros.Pvp;
using MobaMessageData;
using MobaProtocol.Data;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
using U... | 1.510914 | 74893aa1933a1f4c9d36bddd631fabd9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6687 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "OnineBX/LNM",
"max_stars_repo_path": "LNM.Infrastructure/Repositories/Base/IRepository.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6688"
} | starcoder | // IRepository.cs
//
// Description:
// <Describe here>
// Author:
// <NAME>(XuChunlei) <<EMAIL>>
// Create at:
// 16:52:38 8/2/2021
//
// Copyright (c) 2021 XuChunlei
using System;
namespace LNM.Infrastructure.Repositories.Base
{
public class IRepository
{
public IRepository()
... | 1.306051 | 699c20c01c3f12a43f2c8a8dcb34e642 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6688 | {
"extension": "c-sharp",
"max_stars_count": "89.0",
"max_stars_repo_name": "Calabonga/Microservice-Template",
"max_stars_repo_path": "AspNetCore v2.2/TemplateMicroserviceVS/Calabonga.AspNetCore.Micro.Web/Infrastructure/Services/AccountService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6689"
} | starcoder | <filename>AspNetCore v2.2/TemplateMicroserviceVS/Calabonga.AspNetCore.Micro.Web/Infrastructure/Services/AccountService.cs<gh_stars>10-100
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Claims;
using System.Threading.Tasks;
using AutoMapper;
using $ext_safeprojectname$.Core;
us... | 1.912859 | 954b8924dae19067bd9f788c6684ee67 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6689 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mkooiman/marten",
"max_stars_repo_path": "src/Marten/Events/EventStore.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6690"
} | starcoder | <reponame>mkooiman/marten<filename>src/Marten/Events/EventStore.cs
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Baseline;
using Marten.Events.Querying;
using Marten.Internal.Sessions;
using Marten.Linq;
using Marten.Schem... | 1.946798 | f4571f08f8dcf70453ebcb016e20c2d1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6690 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "dragonfruitnetwork/link",
"max_stars_repo_path": "DragonFruit.Link/Servers/Requests/SteamGameServerLoginTokenInfoRequest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6691"
} | starcoder | // DragonFruit Link Copyright (C) DragonFruit Network <<EMAIL>>
// Licensed under MIT. Please refer to the LICENCE file for more info
using DragonFruit.Data.Parameters;
namespace DragonFruit.Link.Servers.Requests
{
public class SteamGameServerLoginTokenInfoRequest : SteamApiRequest
{
public override ... | 2.004894 | 34321fb1742c21133c4e791858608b28 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6691 | {
"extension": "c-sharp",
"max_stars_count": "349.0",
"max_stars_repo_name": "r2d2m/Chisel.Prototype",
"max_stars_repo_path": "Packages/com.chisel.editor/Chisel/Editor/Editor/Hierarchy/ChiselHierarchyWindowManager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6692"
} | starcoder | using UnityEngine;
using UnityEditor;
using Chisel.Components;
namespace Chisel.Editors
{
public sealed class GUIView
{
static ReflectedProperty<object> currentProperty = ReflectionExtensions.GetStaticProperty<object>("UnityEditor.GUIView", "current");
static ReflectedInstanceProper... | 2.015787 | 12c295c143e499521f00a4aa059397e3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6692 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Glepooek/FluentValidation",
"max_stars_repo_path": "src/FluentValidation.Tests/CustomValidatorTester.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6693"
} | starcoder | <filename>src/FluentValidation.Tests/CustomValidatorTester.cs
#region License
// Copyright (c) .NET Foundation and contributors.
//
// 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
//
... | 2.457525 | 260d999e0965006d625ecfb9b356cd50 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6693 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "chuebner03/the_building_coder_samples",
"max_stars_repo_path": "BuildingCoder/BuildingCoder/CmdBoundingBox.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6694"
} | starcoder | <reponame>chuebner03/the_building_coder_samples<filename>BuildingCoder/BuildingCoder/CmdBoundingBox.cs<gh_stars>0
#region Header
//
// CmdBoundingBox.cs - eplore element bounding box
//
// Copyright (C) 2008-2017 by <NAME>,
// Autodesk Inc. All rights reserved.
//
// Keywords: The Building Coder Revit API C# .NE... | 2.532297 | 7a3f45e81264a15395cfbcd5ad00b602 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6694 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "zhenghua75/WeiXinEasy",
"max_stars_repo_path": "Mozart/MicroSite/Modules/PalmShop/MyShop.aspx.designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6695"
} | starcoder | //------------------------------------------------------------------------------
// <自动生成>
// 此代码由工具生成。
//
// 对此文件的更改可能会导致不正确的行为,并且如果
// 重新生成代码,这些更改将会丢失。
// </自动生成>
//------------------------------------------------------------------------------
namespace Mozart.PalmShop.ShopCode {
public p... | 1.339408 | c4c00a6b5f0561eb03d036f467571e19 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6695 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "pha4/kentico",
"max_stars_repo_path": "test/Kentico.Ecommerce.Tests/ShoppingServiceTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6696"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using CMS.Activities;
using CMS.Base;
using CMS.Core;
using CMS.DataEngine;
using CMS.Ecommerce;
using CMS.Helpers;
using CMS.Tests;
using CMS.SiteProvider;
using Kentico.Ecommerce.Tests.Fakes;
using NUnit.Framework;
namespace Kentico.Ecommerce.Tes... | 1.77994 | 5ab860735909f081c21c26a4dec0fb14 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6696 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SchoolMasterNL/couchbase-net-client",
"max_stars_repo_path": "Src/Couchbase.IntegrationTests/ClusterHelperTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6697"
} | starcoder | <reponame>SchoolMasterNL/couchbase-net-client
using System;
using System.Linq;
using System.Security.Authentication;
using System.Threading;
using Couchbase.Authentication;
using Couchbase.Configuration.Client;
using Couchbase.Core;
using Couchbase.IntegrationTests.Utils;
using Couchbase.Management;
using NUnit.Framewo... | 2.012481 | cd11b5e859cea8cb27a9bc75a9ac2352 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6697 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Someone999/OsuTools",
"max_stars_repo_path": "osuTools/Skins/Interfaces/ISkinObjectBase.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6698"
} | starcoder | <reponame>Someone999/OsuTools
namespace osuTools.Skins.Interfaces
{
/// <summary>
/// 表示一个皮肤元素
/// </summary>
public interface ISkinObjectBase
{
}
} | 1.491676 | b698ca61aad8f0e79a9868cef4c2ac1a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6698 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "GarfieldJiang/SMB_ECS",
"max_stars_repo_path": "Assets/__MAIN__/Scripts/GameEvent/ItemAppearsEventArgs.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6699"
} | starcoder | <reponame>GarfieldJiang/SMB_ECS<filename>Assets/__MAIN__/Scripts/GameEvent/ItemAppearsEventArgs.cs
using COL.UnityGameWheels.Core;
public class ItemAppearsEventArgs : BaseEventArgs
{
public static readonly int TheEventId = EventIdToTypeMap.Generate<ItemAppearsEventArgs>();
public override int EventId => TheEve... | 1.120776 | 2f3e94773b7b39790c61088430dad4f5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6699 | {
"extension": "c-sharp",
"max_stars_count": "27.0",
"max_stars_repo_name": "shadowmint/unity-example-unet-transport",
"max_stars_repo_path": "Assets/Demo/NetworkClientConnection.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6700"
} | starcoder | using System;
using System.Text;
using Demo.Infrastructure;
using UnityEngine;
using UnityEngine.Networking;
namespace Demo
{
/// <summary>
/// Simple network client; 'Ping' server every 2 seconds
/// </summary>
public class NetworkClientConnection : INetworkProtocol
{
private string _id;
private f... | 2.865604 | a5a7ba43a2dbbb7224ca824260a8baf6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6700 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kaydashjay/DinerApp-Repo",
"max_stars_repo_path": "DinerApp/DAO/DinerAppModel.Context.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6701"
} | starcoder | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated from a template.
//
// Manual changes to this file may cause unexpected behavior in your application.
// Manual changes to this file will be overwritten if the code is regenerated... | 2.195219 | a539ec760d678b7ffc163821aee74bdf |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6701 | {
"extension": "c-sharp",
"max_stars_count": "2324.0",
"max_stars_repo_name": "cjgalione/confluent-kafka-dotnet",
"max_stars_repo_path": "test/Confluent.Kafka.Transactions/ProducerState.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6702"
} | starcoder | <gh_stars>1000+
namespace Confluent.Kafka.Transactions
{
enum ProducerState
{
MakingMessagesToAbort,
MakingMessagesToCommit,
InitState
}
}
| 0.912013 | 402f36eb0e5e86f3a743299431324693 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6702 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Alnirel/com.stansassets.running-dinosaur-clone",
"max_stars_repo_path": "Assets/Plugins/StansAssets/NativePlugins/IOSNativePro/Runtime/API/StoreKit/Enum/ISN_TransactionErrorCode.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6703"
... | starcoder | ////////////////////////////////////////////////////////////////////////////////
//
// @module IOS Native Plugin
// @author <NAME> (Stan's Assets)
// @support <EMAIL>
// @website https://stansassets.com
//
////////////////////////////////////////////////////////////////////////////////
namespace SA.iOS.StoreKit
{
... | 2.093195 | ce03623b6a16ddb75c35d620d32de9eb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6703 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "opidopiopi/kaboom",
"max_stars_repo_path": "Application/Services/ActionService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6704"
} | starcoder | using Kaboom.Application.Actions;
using System.Collections.Generic;
using System.Linq;
namespace Kaboom.Application.Services
{
public class ActionService : IActionEventListener
{
private List<(IActionEvent actionEvent, IAction action)> m_actions = new List<(IActionEvent, IAction)>();
... | 2.590375 | fae3468f6045667a205b68f3911e4a8e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6704 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "ncyxie/notepad-dot",
"max_stars_repo_path": "Notepad/frmAbout.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6705"
} | starcoder | <reponame>ncyxie/notepad-dot
namespace Notepad
{
partial class frmAbout
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </... | 2.282673 | 3482815f20b8314a28845721343cf72f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6705 | {
"extension": "c-sharp",
"max_stars_count": "275.0",
"max_stars_repo_name": "gurubn/powershell",
"max_stars_repo_path": "src/Commands/Site/GetIsSiteAliasAvailable.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6706"
} | starcoder | using System.Management.Automation;
using System;
namespace PnP.PowerShell.Commands
{
[Cmdlet(VerbsCommon.Get, "PnPIsSiteAliasAvailable")]
public class GetIsSiteAliasAvailable : PnPSharePointCmdlet
{
[Parameter(Mandatory = false, ValueFromPipeline = true)]
[Alias("Alias")]
public ... | 2.410174 | 2a0a697e45ed92ced555f6a3a6e30532 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6706 | {
"extension": "c-sharp",
"max_stars_count": "24.0",
"max_stars_repo_name": "North-Two-Five/Analytics.Xamarin",
"max_stars_repo_path": "Analytics.Xamarin.Pcl/Request/BlockingRequestHandler.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6707"
} | starcoder | <reponame>North-Two-Five/Analytics.Xamarin<gh_stars>10-100
using System;
using System.Text;
using System.Collections.Generic;
using System.Net;
using System.Net.Http;
using System.Runtime.Serialization.Json;
using System.IO;
using System.Threading;
using System.Threading.Tasks;
using Newtonsoft.Json;
using Segment.Mo... | 2.165803 | a884fe4b84879f2ec23c5428ee1f75a5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6707 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "benitazz/AlcmSolutions",
"max_stars_repo_path": "DurandalAuth.Domain/Models/bill_connector.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6708"
} | starcoder | using System;
using System.Collections.Generic;
namespace DurandalAuth.Domain.Models
{
public partial class bill_connector
{
public string bill_file_type { get; set; }
public string bill_line_connector_id { get; set; }
public string bill_type_id { get; set; }
public string conne... | 1.411961 | b6852815b4357f722ef1e1712390baf3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6708 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "nesrak1/xenko",
"max_stars_repo_path": "sources/engine/Xenko.Rendering/Rendering/Lights/LightSpot.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6709"
} | starcoder | <gh_stars>1-10
// Copyright (c) Xenko contributors (https://xenko.com) and Silicon Studio Corp. (https://www.siliconstudio.co.jp)
// Distributed under the MIT license. See the LICENSE.md file in the project root for more information.
using System;
using System.ComponentModel;
using Xenko.Core;
using Xenko.Core.Annota... | 2.267442 | 83213430d1e6ee41c3448e68477ee486 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6709 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "zaLouPook/GeraFinWeb1",
"max_stars_repo_path": "GeraFin.Web/Views/Manage/_ViewImports.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:6710"
} | starcoder | @using GeraFin.Views.Manage
| 0.909652 | ff36891873566f607bf3a91b67dc9f65 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6710 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "parth-desai/Stocker",
"max_stars_repo_path": "Share_Certificate_Generation_Form.aspx.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6711"
} | starcoder | <filename>Share_Certificate_Generation_Form.aspx.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data.SqlClient;
using System.Configuration;
using System.Data;
using iTextSharp;
using iTextSharp.text;
using i... | 2.010956 | e08ee23c77a6ba91741ebe5a24025cb5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6711 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "moriyahiroaki/Disqord",
"max_stars_repo_path": "src/Disqord.Bot/Commands/TypeParsers/GuildEmojiTypeParser.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6712"
} | starcoder | using System.Threading.Tasks;
using Qmmands;
namespace Disqord.Bot.Parsers
{
/// <summary>
/// Represents type parsing for the <see cref="ICustomEmoji"/> type
/// via <see cref="LocalCustomEmoji.TryParse(string, out LocalCustomEmoji)"/>.
/// </summary>
public class GuildEmojiTypeP... | 2.722561 | 165bf58e901141abb5aec6d234224c5f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6712 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "brysageek/arcgis-toolkit-dotnet",
"max_stars_repo_path": "src/Toolkit.Forms/Compass/Compass.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6713"
} | starcoder | // /*******************************************************************************
// * Copyright 2012-2018 Esri
// *
// * 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
// *
//... | 2.401264 | 44f1032e14fe51d8dfaae1c4fd22c1ce |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6713 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "sdk-team/aliyun-openapi-net-sdk",
"max_stars_repo_path": "aliyun-net-sdk-slb/Slb/Transform/V20140515/DescribeAvailableResourceResponseUnmarshaller.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6714"
} | starcoder | <gh_stars>1-10
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "... | 1.30434 | f1e8543361fcba89530ed53934562a88 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6714 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rhyous/MastersOfComputerScience",
"max_stars_repo_path": "Rhyous.CS6210.Hw1/Rhyous.CS6210.Hw1.Models/SendSocketClientAdapter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6715"
} | starcoder | using Rhyous.CS6210.Hw1.Interfaces;
using System.Threading.Tasks;
using ZeroMQ;
namespace Rhyous.CS6210.Hw1.Models
{
public class SendSocketClientAdapter : ISendSocketClient
{
public SendSocketClientAdapter(ZSocket socket)
{
Socket = socket;
}
public ZSocket Socket... | 2.585431 | 13d7306c2f01d1f801098797cea634ee |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6715 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "drwatson1/configuration-extensions",
"max_stars_repo_path": "src/Contrib.Extensions.Configuration.VariablesSubstitution/Contrib.Extensions.Configuration.VariablesSubstitution/IOptionConfigurator.cs",
"provenance": "train-00000-of-0004... | starcoder | <filename>src/Contrib.Extensions.Configuration.VariablesSubstitution/Contrib.Extensions.Configuration.VariablesSubstitution/IOptionConfigurator.cs
namespace Contrib.Extensions.Configuration.VariablesSubstitution
{
internal interface IOptionConfigurator
{
void Configure<TOption>(TOption option) where TO... | 1.802317 | c740055f3ec056860c00efdb861c58f0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6716 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "Nepochal/redshift-tray",
"max_stars_repo_path": "redshift-tray/SettingsWindow.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6717"
} | starcoder | /* This file is part of redshift-tray.
Copyright (c) <NAME> <<EMAIL>>
*/
using Microsoft.Win32;
using redshift_tray.Properties;
using System.Globalization;
using System.IO;
using System.Windows;
using System.Windows.Documents;
using System.Windows.Media;
using Xceed.Wpf.Toolkit;
using Xceed.Wpf.Toolkit.C... | 2.192903 | b745d2eb0e85c2195a7b74d36071ef87 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6717 | {
"extension": "c-sharp",
"max_stars_count": "13.0",
"max_stars_repo_name": "raffitamizian/AwsWatchman",
"max_stars_repo_path": "Quartermaster/ReportSender.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6718"
} | starcoder | <gh_stars>10-100
using System;
using System.Collections.Generic;
using System.Configuration;
using System.IO;
using System.Linq;
using System.Net.Mail;
using System.Threading.Tasks;
using QuarterMaster.Models;
using CsvHelper;
namespace Quartermaster
{
public class ReportSender
{
private string _smtpH... | 2.63491 | 73a45fed06463a9a470327d4f0336f40 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6718 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "QLerin/AdventOfCode",
"max_stars_repo_path": "AOC1.1/Day22.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6719"
} | starcoder | <reponame>QLerin/AdventOfCode<filename>AOC1.1/Day22.cs
using System;
using System.Collections.Generic;
using System.Linq;
namespace AOC1._1
{
public class Day22
{
public static void Task1()
{
string[] lines = System.IO.File.ReadAllLines(@"C:\Remote\AdventOfCoding2020\AOC1.1\Resourc... | 3.21662 | ae6c3504ec0e79225cc7722cf550c18a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6719 | {
"extension": "c-sharp",
"max_stars_count": "53.0",
"max_stars_repo_name": "qq576067421/Fishing",
"max_stars_repo_path": "Server/Fishing.Grain/Grain/GrainCellMarqueeNewsService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6720"
} | starcoder | using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Common;
using System.IO;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using System.Text;
using Orleans;
using Orleans.Concurrency;
using Orleans.Runtime;
using GF.Common;
namespace Ps
{
// 跑马灯新闻组,提供无状态... | 1.821158 | 00fa8bad751959ef3623991f78b980eb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6720 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Tauron1990/Project-Manager-Akka",
"max_stars_repo_path": "Src/Shared/Tauron.Application.Wpf/UI/ViewModelConverterExtension.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6721"
} | starcoder | <reponame>Tauron1990/Project-Manager-Akka
using System;
using System.Globalization;
using System.Windows.Data;
using JetBrains.Annotations;
using Tauron.Application.CommonUI.UI;
using Tauron.Application.Wpf.Converter;
namespace Tauron.Application.Wpf.UI
{
[PublicAPI]
public sealed class ViewModelConverterExte... | 1.846639 | 66be74380a95e834b84384170fa1a7f7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6721 | {
"extension": "c-sharp",
"max_stars_count": "43.0",
"max_stars_repo_name": "robertvazan/sourceafis-net",
"max_stars_repo_path": "SourceAFIS.Tests/BlockMapTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6722"
} | starcoder | <filename>SourceAFIS.Tests/BlockMapTest.cs
// Part of SourceAFIS for .NET: https://sourceafis.machinezoo.com/net
using System;
using NUnit.Framework;
namespace SourceAFIS.Tests
{
public class BlockMapTest
{
[Test]
public void Constructor()
{
BlockMap m = new BlockMap(400, 60... | 2.721217 | 5585180cb11f6e04fdd1bbcd4b9c71d3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6722 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "gregdivis/Aeon",
"max_stars_repo_path": "src/Aeon.Emulator.Sound/Blaster/ADPCM2.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6723"
} | starcoder | using System;
namespace Aeon.Emulator.Sound.Blaster
{
/// <summary>
/// 2-bit ADPCM decoder.
/// </summary>
internal class ADPCM2 : ADPCMDecoder
{
/// <summary>
/// The limit value.
/// </summary>
private const int Limit = 1;
/// <summary>
/// The sh... | 3.133228 | ca3824680c839620589bc61334365fbc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6723 | {
"extension": "c-sharp",
"max_stars_count": "3375.0",
"max_stars_repo_name": "nul800sebastiaan/Umbraco-CMS",
"max_stars_repo_path": "tests/Umbraco.Tests.UnitTests/Umbraco.Infrastructure/Persistence/Mappers/DictionaryTranslationMapperTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6724"
} | starcoder | // Copyright (c) Umbraco.
// See LICENSE for more details.
using NUnit.Framework;
using Umbraco.Cms.Infrastructure.Persistence.Mappers;
using Umbraco.Cms.Tests.UnitTests.TestHelpers;
namespace Umbraco.Cms.Tests.UnitTests.Umbraco.Infrastructure.Persistence.Mappers
{
[TestFixture]
public class DictionaryTransl... | 1.832728 | 3985b0fd60ec5d1b7eb06fd5359c8bf7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6724 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "guillaume-fr/MvvmCross",
"max_stars_repo_path": "Cirrious/Cirrious.MvvmCross.Binding.Touch/Target/MvxBaseUIViewVisibleTargetBinding.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6725"
} | starcoder | // MvxBaseUIViewVisibleTargetBinding.cs
// (c) Copyright Cirrious Ltd. http://www.cirrious.com
// MvvmCross is licensed using Microsoft Public License (Ms-PL)
// Contributions and inspirations noted in readme.md and license.txt
//
// Project Lead - Stuart Lodge, @slodge, <EMAIL>
using Cirrious.MvvmCross.Binding.Bindi... | 1.970859 | 641675cb232f587f429fe16254c64a84 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6725 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "equinor/fusion-app-resources",
"max_stars_repo_path": "src/backend/Fusion.Resources.Authorization/Handlers/OrgPositionAccessHandler.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6726"
} | starcoder | using Fusion.Resources.Api.Authorization.Requirements;
using Microsoft.AspNetCore.Authorization;
using Microsoft.Extensions.Caching.Memory;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Threading.Tasks;
namespace Fusion.Resources.Api.Authorization.Handlers
{
... | 2.367368 | d019215cba82e6240386d3c01654c66c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6726 | {
"extension": "c-sharp",
"max_stars_count": "440.0",
"max_stars_repo_name": "WeiiWang/AgileMapper",
"max_stars_repo_path": "AgileMapper.UnitTests.Orms.EfCore2/SimpleTypeConversion/WhenConvertingToInts.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6727"
} | starcoder | <filename>AgileMapper.UnitTests.Orms.EfCore2/SimpleTypeConversion/WhenConvertingToInts.cs<gh_stars>100-1000
namespace AgileObjects.AgileMapper.UnitTests.Orms.EfCore2.SimpleTypeConversion
{
using System.Threading.Tasks;
using Infrastructure;
using Orms.SimpleTypeConversion;
using Xunit;
public clas... | 2.16619 | cf086ac01a179f1c6d47c4d1a9f24974 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6727 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "jcl1234/space-station-14",
"max_stars_repo_path": "Content.Shared/Health/BodySystem/BodyPart/BodyPartPrototype.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6728"
} | starcoder | <reponame>jcl1234/space-station-14<gh_stars>1-10
using System;
using System.Collections.Generic;
using Robust.Shared.Interfaces.Serialization;
using Robust.Shared.Prototypes;
using Robust.Shared.Serialization;
using Robust.Shared.ViewVariables;
using YamlDotNet.RepresentationModel;
namespace Content.Shared.BodySyste... | 1.991132 | cc5a72a3be095547ba77d18725ad58db |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6728 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "salzschneider/TimesheetPlayground",
"max_stars_repo_path": "src/TimesheetPlayground.DAL/Entities/Project.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6729"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
#nullable disable
namespace TimesheetPlayground.DAL.Entities
{
public partial class Project
{
public Project()
{
WorkedHours = new HashSet<WorkedHour>();
}
public int Id { get; set; }
public strin... | 1.688443 | e539422e54d1f066e4d2c6cc070d5788 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6729 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "t00/dotnet-fast-route-experiment",
"max_stars_repo_path": "FastRouter/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6730"
} | starcoder | namespace FastRouter
{
class Program
{
static void Main(string[] args)
{
// Hash exact match
MeasureActionRoute<HashDictionaryRouter>("");
MeasureActionRouteModulo<HashDictionaryRouter>();
// Action match
System.Diagnostics... | 2.677519 | 17286b36b039edad99651b79afd98624 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6730 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ToxicSkill/CrytonCore",
"max_stars_repo_path": "PdfService/Ratios.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6731"
} | starcoder | <filename>PdfService/Ratios.cs
using CrytonCore.Interfaces;
using System.Collections.Generic;
namespace CrytonCore.PdfService
{
internal class Ratios : IRatios
{
public List<string> Names { get; init; }
public List<double> Values { get; init; }
private static int Count;
publ... | 2.732342 | 9288725a13ceed7220fa636301876d66 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6731 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "stackprobe/CSharp",
"max_stars_repo_path": "MutectorDemo/MSender/MSender/MainWin.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6732"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace Charlotte
{
public partial class MainWin : Form
{
public MainWin()
{
InitializeComponent();
}
private void Mai... | 2.143212 | 98678e32b8e39c9190555ba6d7636d4c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6732 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TechInterMezzo/MelonLoader",
"max_stars_repo_path": "MelonLoader/Melons/Handler.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6733"
} | starcoder | <filename>MelonLoader/Melons/Handler.cs<gh_stars>0
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Security.Cryptography;
#pragma warning disable 0618
namespace MelonLoader
{
public static class MelonHandler
{
/// <summary>
... | 2.438005 | 1e8bcde63bb5ec0e49ec268b953318f5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6733 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "linwenda/Notex",
"max_stars_repo_path": "src/Notex.Core/Aggregates/MergeRequests/DomainServices/IMergeRequestChecker.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6734"
} | starcoder | <reponame>linwenda/Notex
namespace Notex.Core.Aggregates.MergeRequests.DomainServices;
public interface IMergeRequestChecker
{
bool HasOpenMergeRequest(Guid sourceNoteId, Guid destinationNoteId);
} | 0.956954 | 611a9d397147ddf5c70647a307ba4f7c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6734 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TomSavas/FluentValidation.Validators.UnitTestExtension",
"max_stars_repo_path": "src/FluentValidation.Validators.UnitTestExtension.Tests/Helpers/Fakes/FakeComparisonValidator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6735"
} | starcoder | namespace FluentValidation.Validators.UnitTestExtension.Tests.Helpers.Fakes
{
using System.Reflection;
public class FakeComparisonValidator : FakePropertyValidator, IComparisonValidator
{
public Comparison Comparison { get; set; }
public MemberInfo MemberToCompare { get; set; }
pub... | 1.896884 | b6abc66fda11461da5295e40b96ba8d3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6735 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ccoton/MFlow",
"max_stars_repo_path": "src/MFlow.Mvc.Tests/Supporting/NullModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6736"
} | starcoder | <reponame>ccoton/MFlow
using System;
namespace MFlow.Mvc.Tests.Supporting
{
public class NullModel : ValidatedModel<NullModel>
{
public NullModel()
{
GetValidator(null);
}
}
}
| 1.483459 | e075132bc35619239743654563b63dd4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6736 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "YAGoOaR/Planes",
"max_stars_repo_path": "Assets/Scripts/Game/GameHandler.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6737"
} | starcoder | using System.Collections.Generic;
using UnityEngine;
[RequireComponent(typeof(Game))]
//Main script of the game
public class GameHandler : MonoBehaviour
{
const float FREEZE_DISTANCE = 235;
private static GameHandler instance;
public static GameHandler Instance
{
get { return GameHandler.inst... | 2.521184 | 51cf99f8ca23f438bba44e28593ebde3 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.