added string | created string | id string | metadata dict | source string | text string | code-score float64 | md5 string |
|---|---|---|---|---|---|---|---|
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842612 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "gubanotorious/neo-sharp",
"max_stars_repo_path": "src/NeoSharp.BinarySerialization/BinarySerializerSettings.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161832"
} | starcoder | using System;
namespace NeoSharp.BinarySerialization
{
public class BinarySerializerSettings
{
/// <summary>
/// Filter
/// </summary>
public Predicate<string> Filter { get; set; }
}
} | 1.61436 | 897ba1ee4f913736f2f9cb1c8cf29f51 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842613 | {
"extension": "c-sharp",
"max_stars_count": "482.0",
"max_stars_repo_name": "jianyuyanyu/HttpReports",
"max_stars_repo_path": "src/HttpReports.Core/ViewModels/IndexPageData.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161833"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace HttpReports.Core.ViewModels
{
public class IndexPageData
{
public double AvgResponseTime { get; set; }
public int Total { get; set; }
public int NotFound { get; set; }
public int ServerError { get; ... | 1.592063 | ddcd9736cd4459d44bd8058aae7391b3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842614 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Henry-YSLin/MaterialSkin",
"max_stars_repo_path": "MaterialSkin/IMaterialControl.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161834"
} | starcoder | <reponame>Henry-YSLin/MaterialSkin<filename>MaterialSkin/IMaterialControl.cs
using System.Drawing;
using System.Drawing.Drawing2D;
namespace MaterialSkin
{
public interface IMaterialControl
{
int Depth { get; set; }
MouseState MouseState { get; set; }
Bitmap Shadow { get; set;... | 2.051748 | fbc1de92350c5e991eb9d9ec1303e764 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842615 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "jdomingu/Logshark",
"max_stars_repo_path": "Tableau.ExtractApi/Exceptions/BaseExtractException.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161835"
} | starcoder | <reponame>jdomingu/Logshark<filename>Tableau.ExtractApi/Exceptions/BaseExtractException.cs
using System;
namespace Tableau.ExtractApi.Exceptions
{
[Serializable]
public abstract class BaseExtractException : Exception
{
protected BaseExtractException()
{
}
protected BaseExt... | 1.635175 | 1c287b3ec3dff333e84e3134ad8f5c21 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842616 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "bende24/TowerDefense",
"max_stars_repo_path": "TowerDefense/Assets/Scripts/System/Interactable/TowerPlatformTrigger.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161836"
} | starcoder | <reponame>bende24/TowerDefense<filename>TowerDefense/Assets/Scripts/System/Interactable/TowerPlatformTrigger.cs
using System.Collections;
using UnityEngine;
public class TowerPlatformTrigger : Interactable, ITowerPlatformSubject {
public GameObject buildingUI;
public GameObject parent;
public ITowerPlatfo... | 1.855548 | 1f2e70f1d70dc9fbf49734fe61e57156 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842617 | {
"extension": "c-sharp",
"max_stars_count": "797.0",
"max_stars_repo_name": "SCBionicle/MDK-SE",
"max_stars_repo_path": "Source/DocGen2/Services/XmlDocs/XmlDoc.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161837"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Xml.Linq;
namespace Mal.DocGen2.Services.XmlDocs
{
class XmlDoc
{
MemberParagraph _root;
public static XmlDoc Generate(XElement doc)
{
if (doc == null)
return null;
... | 2.472955 | f846a5d87629b48643cce33e8246abe7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842618 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "evolutional/StatsdNet",
"max_stars_repo_path": "StatsdNet/Middleware/TerminalMiddleware.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161838"
} | starcoder | <gh_stars>1-10
using System.Threading;
using System.Threading.Tasks;
namespace StatsdNet.Middleware
{
public class TerminalMiddleware : MiddlewareBase
{
public TerminalMiddleware() : base(null)
{
}
public override Task Start(CancellationToken cancellationToken)
{
... | 1.99833 | d0d85cff9297bd1b31b84e3798b7b8c2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842619 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AlShandor/ASP.NET-Core-Project-Building-Drainage-Consultant",
"max_stars_repo_path": "BuildingDrainageConsultant/Models/Drains/DrainFormModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161839"
} | starcoder | namespace BuildingDrainageConsultant.Models.Drains
{
using BuildingDrainageConsultant.Data.Models.Enums.Drains;
using BuildingDrainageConsultant.Services.Accessories.Models;
using BuildingDrainageConsultant.Services.Extensions.Models;
using BuildingDrainageConsultant.Services.Images.Models;
using B... | 2.332866 | 7f5b858db7d70bd2cb7ed6129d9417f8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842620 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "codebutler/savagesvg",
"max_stars_repo_path": "src/SvgComponents/SvgPictureBox.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161840"
} | starcoder | using System;
using System.Collections;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.IO;
using System.Diagnostics;
using System.Windows.Forms;
using System.Xml;
using System.Reflection;
using System.Text;
using System.Security;
using System.Security.Permissions;
using SharpVector... | 2.053556 | c7450249a8af1240e60258c52fbebe01 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842621 | {
"extension": "c-sharp",
"max_stars_count": "103.0",
"max_stars_repo_name": "antosilva/Mina.NET",
"max_stars_repo_path": "Mina.NET/Core/Filterchain/IoFilterEvent.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161841"
} | starcoder | <reponame>antosilva/Mina.NET
using System;
using Common.Logging;
using Mina.Core.Session;
using Mina.Core.Write;
namespace Mina.Core.Filterchain
{
/// <summary>
/// An I/O event or an I/O request that MINA provides for <see cref="IoFilter"/>s.
/// It is usually used by internal components to store I/O eve... | 2.383162 | 479e8161977695d22242681e3d3cade5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842622 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "wtct/Umbraco-CMS",
"max_stars_repo_path": "src/Umbraco.Core/Models/Membership/UserType.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161842"
} | starcoder | <filename>src/Umbraco.Core/Models/Membership/UserType.cs
using System;
using System.Runtime.Serialization;
using Umbraco.Core.Models.EntityBase;
using Umbraco.Core.Persistence.Mappers;
namespace Umbraco.Core.Models.Membership
{
/// <summary>
/// Represents the Type for a Backoffice User
/// </sum... | 2.285933 | 207151d86b9e39b3f023bb624f58a216 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842623 | {
"extension": "c-sharp",
"max_stars_count": "2542.0",
"max_stars_repo_name": "gridgentoo/ServiceFabricAzure",
"max_stars_repo_path": "src/prod/src/managed/Api/Dlls/Microsoft.ServiceFabric.ClusterManagementCommon/CertificateClusterUpgradeStateBase.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161843"
} | starcoder | // ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
// ------------------------------------------------------------
namespace Microsoft.ServiceFab... | 1.48183 | 1c26fc10f306e17feb79822305f57306 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842624 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "Easonrust/iVlog",
"max_stars_repo_path": "program/iVlog/Models/UPLOAD_VIDEO.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161844"
} | starcoder | //------------------------------------------------------------------------------
// <auto-generated>
// 此代码已从模板生成。
//
// 手动更改此文件可能导致应用程序出现意外的行为。
// 如果重新生成代码,将覆盖对此文件的手动更改。
// </auto-generated>
//------------------------------------------------------------------------------
namespace iVlog.Models
{
using... | 1.415223 | c6b8873e55889018611beec82f0d3a30 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842625 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Trindkr/assignment0",
"max_stars_repo_path": "LeapYear/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161845"
} | starcoder | <filename>LeapYear/Program.cs
using System;
using System.IO;
namespace LeapYear
{
public class Program
{
public static void Main(string[] args)
{
string stringInput = "";
if(args.Length == 0)
{
System.Console.WriteLine("...Enter a year to che... | 3.7572 | 263c4293c80840a28297702f06a9309e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842626 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Muff1nz/TGAG_ProProg_Course",
"max_stars_repo_path": "Assets/Scripts/WaterTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161846"
} | starcoder | <reponame>Muff1nz/TGAG_ProProg_Course
using UnityEngine;
using System.Collections;
public class WaterTest : MonoBehaviour {
// Use this for initialization
void Start() {
}
// Update is called once per frame
void Update() {
RaycastHit hit;
int layerMask = 1 << 4 | 1 << 8;
... | 2.420155 | 13f56ea2264a37341c2dd7c3483feafb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842627 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nvthinh09t4/B",
"max_stars_repo_path": "sln/ASPNetCore3/Controllers/HomeController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161847"
} | starcoder | <reponame>nvthinh09t4/B
using ASPNetCore3.Helper;
using ASPNetCore3.IServices;
using ASPNetCore3.Models;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Threading.Tasks;
namespace ASPNetCore3.... | 1.887696 | 3d8c3b11c431b51f91beca2684af5ee6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842628 | {
"extension": "c-sharp",
"max_stars_count": "1557.0",
"max_stars_repo_name": "vladsm/RazorEngine",
"max_stars_repo_path": "RazorEngine.NetCore/Templating/DelegateActivator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161848"
} | starcoder | namespace RazorEngine.Templating
{
using System;
using System.Diagnostics.Contracts;
/// <summary>
/// Defines an activator that supports delegated activation.
/// </summary>
internal class DelegateActivator : IActivator
{
#region Fields
private readonly Func<InstanceContex... | 3.099302 | b9f1261b1b081f9149e89fac5ce2fa81 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842629 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "VelouriasMoon/Mega-Mix-Mod-Manager",
"max_stars_repo_path": "Mega Mix Mod Manager/DeepMerge/objects/pv_db/pvEntry_chreff.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161849"
} | starcoder | using Mega_Mix_Mod_Manager.IO;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Mega_Mix_Mod_Manager.DeepMerge.objects.pv_db
{
public class pvEntry_chreff
{
public List<chreff_data> data { get; set; }
... | 2.780099 | 6f074bd87afb0903a5411bbe5579cee2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842630 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "NoamAndRoy/JargonProject",
"max_stars_repo_path": "Website/Jargon/Models/ArticleGradingInfo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161850"
} | starcoder | using System.Collections.Generic;
using JargonProject.Handlers;
using JargonProject.Helpers;
namespace JargonProject.Models
{
public class ArticleGradingInfo
{
public List<string> CleanedWords { get; set; }
public List<string> CommonWords { get; set; }
public List<string> NormalWords... | 1.876996 | 29708e8962ead8292d780294bcba30a7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842631 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "fatimalmada/fpuna-compiladores",
"max_stars_repo_path": "Tarea1/JsonAnaLex/JsonAnaLex.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161851"
} | starcoder | <reponame>fatimalmada/fpuna-compiladores<gh_stars>0
using System;
using System.IO;
namespace JsonAnaLex
{
class JsonAnaLex
{
private StreamReader reader;
private StreamWriter writer;
public int NumeroLinea { get; set; }
public JsonAnaLex(StreamReader streamReader, StreamWriter ... | 3.078034 | 63069c825ec142fff6fb46b5ddf01790 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842632 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "andrewhoi/squidex",
"max_stars_repo_path": "src/Squidex.Domain.Apps.Read/Webhooks/Repositories/IWebhookRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161852"
} | starcoder | <reponame>andrewhoi/squidex
// ==========================================================================
// ISchemaWebhookRepository.cs
// Squidex Headless CMS
// ==========================================================================
// Copyright (c) Squidex Group
// All rights reserved.
// ==================... | 1.138815 | f4d8cf8dddadd02fcd01073e66c18516 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842633 | {
"extension": "c-sharp",
"max_stars_count": "35.0",
"max_stars_repo_name": "tcz717/SimCivil",
"max_stars_repo_path": "SimCivil.Orleans.Grains/Component/Item/UsableGrain.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161853"
} | starcoder | <reponame>tcz717/SimCivil
using Microsoft.Extensions.Logging;
using SimCivil.Orleans.Interfaces;
using SimCivil.Orleans.Interfaces.Component;
using SimCivil.Orleans.Interfaces.Component.State;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace SimCivil.Orleans.Gr... | 2.080568 | 8318b3e88a474c86342fbb1fa7c55d93 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842634 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "vashov/mindkeeper-api",
"max_stars_repo_path": "Source/MindKeeper.Domain/Entities/BaseEntity.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161854"
} | starcoder | using Neo4j.Driver.Extensions;
using System;
using System.Text.Json.Serialization;
namespace MindKeeper.Domain.Entities
{
public class BaseEntity
{
private Guid? _id;
[Neo4jProperty(Ignore = true)]
public Guid Id
{
get
{
if (!_id.HasValu... | 2.346724 | 0f2ed95fbd194165622b9d162bbbd860 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842635 | {
"extension": "c-sharp",
"max_stars_count": "35.0",
"max_stars_repo_name": "xs-admin/Excess",
"max_stars_repo_path": "Excess.Extensions/R/RROperations.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161855"
} | starcoder |
using System;
using System.Collections.Generic;
using System.Linq;
namespace Excess.Extensions.R
{
public static partial class RR {
public static Double sum(Vector<Double> val)
{
Double result = 0;
foreach (var value in val.data)
result += value;
return result;
}
public static Vector<... | 2.872169 | eaed1881764d79a79d794bd2659a5bf0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842636 | {
"extension": "c-sharp",
"max_stars_count": "82.0",
"max_stars_repo_name": "EzyWebwerkstaden/rhino-esb",
"max_stars_repo_path": "Rhino.ServiceBus/Util/CurrentMessage.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161856"
} | starcoder | <reponame>EzyWebwerkstaden/rhino-esb
using System;
using System.IO;
using System.Reflection;
using System.Web;
using Rhino.ServiceBus.DataStructures;
using Rhino.ServiceBus.Impl;
using System.Linq;
namespace Rhino.ServiceBus.Util
{
public static class CurrentMessage
{
private static readonly PropertyIn... | 2.15365 | cc24a6030cac61648107bd96f6d09044 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842637 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "ffhighwind/PoE-Price-Lister",
"max_stars_repo_path": "Unique/UniqueBaseType.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161857"
} | starcoder | #region License
// Copyright © 2018 <NAME>
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law... | 2.196103 | 44f68072e5e56b92185d9a48d979116e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842638 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "A-Manev/SoftUni-Courses-2019-2020",
"max_stars_repo_path": "CSharp Databases - MS SQL Server/Databases Advanced/01. ADO.NET/AdoNet/03.MinionNames/StartUp.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161858"
} | starcoder | using System;
using Microsoft.Data.SqlClient;
namespace MinionNames
{
class StartUp
{
static void Main()
{
string connectionString = "Server=.\\SQLEXPRESS;Database=MinionsDB;Integrated Security=true";
using (SqlConnection sqlConnection = new SqlConnection(connectionStr... | 3.283331 | b388bf9654ad62609ddfb3caa1f124bd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842639 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AweSamNet/AweSamNet.GithubReleaseAutoUpdater",
"max_stars_repo_path": "AweSamNet.Integration.GithubReleaseAutoUpdater/Models/Settings.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161859"
} | starcoder | <reponame>AweSamNet/AweSamNet.GithubReleaseAutoUpdater
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AweSamNet.Integration.GithubReleaseAutoUpdater.Models
{
public class Settings
{
public string LatestSkippedVersion { get;... | 1.618478 | 9242ab1d4dc8c21093bf3978fc4633e7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842640 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "RemigiuszZalewski/MyBook",
"max_stars_repo_path": "MyBookAPI.Application/Books/Models/BookDetailVm.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161860"
} | starcoder | <reponame>RemigiuszZalewski/MyBook<filename>MyBookAPI.Application/Books/Models/BookDetailVm.cs
using AutoMapper;
using MyBookAPI.Application.Common.Mappings;
using MyBookAPI.Domain.Entities;
using System.Collections.Generic;
namespace MyBookAPI.Application.Books.Models
{
public class BookDetailVm : IMapFrom<Book>... | 2.334096 | 5151caca29ce21e2c56a93a8fc0bd9bb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842641 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Yoso2/tpp-core",
"max_stars_repo_path": "Common/PkmnModels/Move.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161861"
} | starcoder | <gh_stars>0
using System.Runtime.Serialization;
namespace Common.PkmnModels
{
[DataContract]
public enum MoveTarget
{
[EnumMember(Value = "self")] Self,
[EnumMember(Value = "scripted")] Scripted,
[EnumMember(Value = "randomNormal")] RandomNormal,
[EnumMember(Value = "normal"... | 1.778262 | 7568d6fa329986c46820387e3fb40fc5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842642 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "xposure/COG",
"max_stars_repo_path": "Source/Core/COG.Assets/IAsset.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161862"
} | starcoder |
using System;
namespace COG.Assets
{
public interface IReloadableAsset<T> : IAsset
where T : IAssetData
{
void reload(T data);
}
public interface IAsset : IDisposable
//where T: IAssetData
{
AssetUri Uri { get; }
bool IsDisposed { get; }
}
public int... | 2.029659 | 76ad59e0ba2cb4aaa06ca41ba130ae2b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842643 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mataness/Kestrel.HttpsCertificateSelection",
"max_stars_repo_path": "Kestrel.HttpsCertificateSelection.AzureKeyVault/HttpsConnectionAdapterOptionsExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161863"
} | starcoder | using System;
using Azure.Security.KeyVault.Secrets;
using Kestrel.HttpsCertificateSelection.CertificateSelection.Infra.CertAnalysis;
using Microsoft.AspNetCore.Server.Kestrel.Core;
using Microsoft.AspNetCore.Server.Kestrel.Https;
namespace Kestrel.HttpsCertificateSelection.AzureKeyVault
{
/// <summary>
... | 2.01277 | 0864395a40e952e11827f2093d162365 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842644 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "dyslexicanaboko/simple-class-creator",
"max_stars_repo_path": "SimpleClassCreator.Lib/Services/INameFormatService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161864"
} | starcoder | <gh_stars>1-10
using SimpleClassCreator.Lib.Models;
namespace SimpleClassCreator.Lib.Services
{
public interface INameFormatService
{
TableQuery ParseTableName(string tableNameQuery);
string GetClassName(TableQuery tableQuery);
string FormatTableQuery(string tableQuery, TableQueryQua... | 2.041262 | 0236ea6aa2789cffae51b03a01814bdd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842645 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "snowchenlei/AbpCustomerAuth",
"max_stars_repo_path": "aspnet-core/src/Snow.Template.Application/ParameterManager/ParameterTypes/Dto/CreateOrUpdateParameterTypeInput.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161865"
} | starcoder | <filename>aspnet-core/src/Snow.Template.Application/ParameterManager/ParameterTypes/Dto/CreateOrUpdateParameterTypeInput.cs
using System;
using System.Collections.Generic;
using System.Text;
namespace Snow.Template.ParameterManager.ParameterTypes.Dto
{
public class CreateOrUpdateParameterTypeInput
{
p... | 1.590344 | 67f43f76a1da8b9e8e8a373fd279af4f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842646 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Arzana/DeJongUtils",
"max_stars_repo_path": "Utilities/Utilities/Core/ExtraMath.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161866"
} | starcoder | <reponame>Arzana/DeJongUtils
namespace DeJong.Utilities.Core
{
using static System.Math;
/// <summary>
/// Contains aditional math functions.
/// </summary>
#if !DEBUG
[System.Diagnostics.DebuggerStepThrough]
#endif
public static class ExtraMath
{
/// <summary>
/// Represen... | 3.324018 | f9b510e8b19fc54611c7c0c8e807240b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842647 | {
"extension": "c-sharp",
"max_stars_count": "84.0",
"max_stars_repo_name": "aliostad/deep-learning-lang-detection",
"max_stars_repo_path": "data/test/csharp/b0b56260234380fe6d46146f4707f8f19aaeb46dProcessUtility.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161867"
} | starcoder | <reponame>aliostad/deep-learning-lang-detection<gh_stars>10-100
using System.Diagnostics;
namespace nModule.Utilities
{
/// <summary>
/// Utility methods for .NET's Process objects
/// </summary>
public class ProcessUtility
{
/// <summary>
/// Not Completely Implemented
///... | 2.613787 | c61d224095f737261566ce05e8f4e295 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842648 | {
"extension": "c-sharp",
"max_stars_count": "15.0",
"max_stars_repo_name": "tkahng/BuildingBlocks",
"max_stars_repo_path": "Rooms/PlanByProgram/src/SuiteSequence.g.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161868"
} | starcoder | namespace PlanByProgram
{
/// <summary>
/// Changes the sequence of the delivered suites before placement.
/// </summary>
public enum SuiteSequence
{
Listed,Reverse,AreaAscending,AreaDescending
}
} | 2.06231 | 1894963a6104ec8513948b5dc42bfac2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842649 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "NurAliia/XT-2018Q4",
"max_stars_repo_path": "Epam.Task7/Epam.Task7.ConsolePL/ConsoleApp.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161869"
} | starcoder | <reponame>NurAliia/XT-2018Q4
// <copyright file="ConsoleApp.cs" company="Epam">
// Copyright Epam. All rights reserved
// </copyright>
namespace Epam.Task7.ConsolePL
{
using System;
using Epam.Task7.BLL.Interface;
using Epam.Task7.Common;
using Epam.Task7.Entities;
/// <summary>
/// Thi... | 2.773114 | 07fd86bd64e385ba7e09409354cfd986 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842650 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "BenjaminRi/ualbion",
"max_stars_repo_path": "src/Tests/UAlbion.Game.Tests/InventoryTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161870"
} | starcoder | <filename>src/Tests/UAlbion.Game.Tests/InventoryTests.cs<gh_stars>1-10
using System.Collections.Generic;
using System.Numerics;
using UAlbion.Core;
using UAlbion.Formats.AssetIds;
using UAlbion.Formats.Assets;
using UAlbion.Game.Events.Inventory;
using UAlbion.Game.State.Player;
using UAlbion.TestCommon;
using Xunit;
... | 2.135142 | 22f7de7004150c83e69fe5a6d30185ff |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842651 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "LordLyng/LordLyngLib",
"max_stars_repo_path": "src/LordLyngLib.FluentValidation/Extensions/IRuleBuilderExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161871"
} | starcoder | <gh_stars>1-10
using FluentValidation;
using LordLyngLib.FluentValidation.Validators.Property;
namespace LordLyngLib.FluentValidation.Extensions
{
public static class IRuleBuilderExtensions
{
public static IRuleBuilderOptions<T, string> MustBeValidGuid<T> (this IRuleBuilder<T, string> ruleBuilder)
... | 1.470982 | 30d2e32152138d46fbfe6975a0d1be8d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842652 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "1103003188/Kigg",
"max_stars_repo_path": "Source/Core.Test/Infrastructure/Bootstrapper/BootstrapperFixture.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161872"
} | starcoder | using Moq;
using Xunit;
namespace Kigg.Core.Test
{
using Infrastructure;
using Kigg.Test.Infrastructure;
public class BootstrapperFixture : BaseFixture
{
[Fact]
public void Run_Should_Execute_Tasks()
{
var task1 = new Mock<IBootstrapperTask>();
... | 2.108574 | d3c6a45d298148e28677a9d6c47fd545 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842653 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Teravus/RebootTechChatBot",
"max_stars_repo_path": "TwitchLib/TwitchLib.Client/TwitchLib.Client/Interfaces/ITwitchClient.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161873"
} | starcoder | <reponame>Teravus/RebootTechChatBot
using System;
using System.Collections.Generic;
using TwitchLib.Client.Events;
using TwitchLib.Client.Models;
using TwitchLib.Communication.Events;
namespace TwitchLib.Client.Interfaces
{
/// <summary>
/// Interface ITwitchClient
/// </summary>
public interface ITwi... | 1.661524 | baa27e285bbe1bacaae1679ba247c5b1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842654 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ggnv/KnowledgeSpreadSystem",
"max_stars_repo_path": "KnowledgeSpreadSystem/KnowledgeSpreadSystem.Web/Views/Ratings/_RatingPartial.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:161874"
} | starcoder | <reponame>ggnv/KnowledgeSpreadSystem<gh_stars>1-10
@using KnowledgeSpreadSystem.Web.Helpers
@model KnowledgeSpreadSystem.Web.ViewModels.Rating.RatingViewModel
@if (@Model.Value.HasValue)
{
<strong class="text-warning">You already rated this! (@Html.Rating(@Model.Id.ToString(), @Model.Value.Value.ToString()))</stro... | 2.132374 | dbf71bf715758997812bbd5221c664ed |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842655 | {
"extension": "c-sharp",
"max_stars_count": "27.0",
"max_stars_repo_name": "PourrezJ/platform",
"max_stars_repo_path": "Client/Misc/ChatData.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161875"
} | starcoder | using ProtoBuf;
namespace GTANetwork.Misc
{
[ProtoContract]
public class ChatData
{
[ProtoMember(1)]
public long Id { get; set; }
[ProtoMember(2)]
public string Sender { get; set; }
[ProtoMember(3)]
public string Message { get; set; }
}
} | 1.840706 | 854c0b1615717944b80b1392adf30d5b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842656 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Matthias84/StreetMap",
"max_stars_repo_path": "Source/StreetMapImporting/StreetMapImporting.Build.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161876"
} | starcoder | <filename>Source/StreetMapImporting/StreetMapImporting.Build.cs
// Copyright 2017 <NAME>. All Rights Reserved.
namespace UnrealBuildTool.Rules
{
public class StreetMapImporting : ModuleRules
{
public StreetMapImporting(TargetInfo Target)
{
PrivateDependencyModuleNames.AddRange(
new string[] {
... | 1.688298 | aa98e08fa641c117393de609130a31d7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842657 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "LeapOfFaith01/projeto-da-faculdade",
"max_stars_repo_path": "Controller/recibosController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161877"
} | starcoder | <reponame>LeapOfFaith01/projeto-da-faculdade
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using sistemasfrotas.Model;
using sistemasfrotas.Repositorio;
namespace sistemasfrotas.Controller
{
class recibosController
{
private Recibos... | 2.268746 | 424124abda066a4fe0e4be626d675d08 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842658 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "moriyahiroaki/Disqord",
"max_stars_repo_path": "src/Disqord.Core/Entities/Shared/Transient/AuditLogs/Invite/TransientInviteDeletedAuditLog.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161878"
} | starcoder | <reponame>moriyahiroaki/Disqord
using Disqord.Models;
namespace Disqord.AuditLogs
{
public class TransientInviteDeletedAuditLog : TransientDataAuditLog<IInviteAuditLogData>, IInviteDeletedAuditLog
{
public override IInviteAuditLogData Data { get; }
public TransientInviteDeletedAuditLo... | 1.479483 | 294b00984f72fa588449f7bb4b30aa78 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842659 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "onspring-technologies/onspring-api-sdk",
"max_stars_repo_path": "Onspring.API.SDK/Models/ReportDataRow.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161879"
} | starcoder | <filename>Onspring.API.SDK/Models/ReportDataRow.cs<gh_stars>1-10
#region Copyright
// /*
// * Onspring API SDK
// * Copyright (c) 2010, 2016 Onspring Technologies, LLC. All Rights Reserved.
// *
// *
// */
#endregion
using System.Collections.Generic;
namespace Onspring.API.SDK.Models
{
public ... | 1.719351 | 1cff9703b30a2c9817cf7e7d1a5971ff |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842660 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "adamfoneil/Excel2SqlServer.Library",
"max_stars_repo_path": "Excel2SqlServer.Library/InlineLookup.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161880"
} | starcoder | using AO.Models;
using Dapper;
using Excel2SqlServer.Library.Extensions;
using Microsoft.Data.SqlClient;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Threading.Tasks;
namespace Excel2SqlServer.Library
{
public class InlineLookup<T>
{
public... | 2.666831 | 6758d66824db528ab8217bd76274eee0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842661 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Arjunxxxl/Litthebulb",
"max_stars_repo_path": "Audio/MainAudio.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161881"
} | starcoder | <reponame>Arjunxxxl/Litthebulb
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Audio;
using UnityEngine.SceneManagement;
public class MainAudio : MonoBehaviour {
int x = 0;
public AudioClip[] levelAudio;
public AudioClip menuaudio;
AudioSource a;
... | 2.000553 | 79c93017872212f1268e95ef2e66e6c4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842662 | {
"extension": "c-sharp",
"max_stars_count": "34.0",
"max_stars_repo_name": "ThreadSleeper/.NET-Core-Microserivces",
"max_stars_repo_path": "OrdersService/src/DShop.Services.Orders/Startup.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161882"
} | starcoder | <filename>OrdersService/src/DShop.Services.Orders/Startup.cs
using System;
using System.Reflection;
using Autofac;
using Autofac.Extensions.DependencyInjection;
using Consul;
using DShop.Common;
using DShop.Common.Consul;
using DShop.Common.Dispatchers;
using DShop.Common.Jaeger;
using DShop.Common.Mongo;
using DShop.... | 1.57715 | 4e7da7fab9f3630dbc1911e896d3fb5f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842663 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "vthem/PolyRace",
"max_stars_repo_path": "Assets/Scripts/Game/UnlockReward/RewardId.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161883"
} | starcoder | <reponame>vthem/PolyRace<gh_stars>1-10
namespace Game.UnlockReward
{
public enum RewardId
{
Mission = -2,
DevGhost = -1,
Arctic = 3,
TRex = 6,
Continental = 11,
Normal = 14,
Adept = 20,
TrackR = 26,
Hard = 33,
Skilled = 40,
Tracer = 45,
Extreme = 47,
Yellow = 50,
Orange = 55,
Green = 65,... | 1.129663 | ebdd7bf8dfa14d4af00e479c08481a7d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842664 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "iKostov86/CSharp",
"max_stars_repo_path": "Homeworks/C# - part 2/Methods/08.SumOfTwoBigIntegers/SumOfTwoBigIntegers.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161884"
} | starcoder | using System;
public class SumOfTwoBigIntegers
{
internal static void Main()
{
string firstNumAsStr = Console.ReadLine();
string secondNumAsStr = Console.ReadLine();
int[] firstNumAsArr = new int[firstNumAsStr.Length];
int[] secondNumAsArr = new int[secondNumAsStr.Leng... | 3.744687 | b8d25fb98b2b1996dba05f9e7e2b97bb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842665 | {
"extension": "c-sharp",
"max_stars_count": "32.0",
"max_stars_repo_name": "MatteoPiovanelli-Laser/Nwazet.Commerce",
"max_stars_repo_path": "Views/Parts/WishListList.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:161885"
} | starcoder | <reponame>MatteoPiovanelli-Laser/Nwazet.Commerce
<fieldset class="wishlist-list-of-elements">
@foreach (var shape in Model.ElementsShapes) {
@Display(shape)
}
@foreach (var shape in Model.ExtensionShapes) {
@Display(shape)
}
</fieldset> | 1.976452 | 5cc1b3c0d08f5672782eda99cbbaa521 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842666 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "asarium/FSOLauncher",
"max_stars_repo_path": "Libraries/SDLGlue/Native/SDLContants.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161886"
} | starcoder | <reponame>asarium/FSOLauncher
using System;
namespace SDLGlue
{
public static class SDLContants
{
public const UInt32 INIT_TIMER = 0x00000001;
public const UInt32 INIT_AUDIO = 0x00000010;
public const UInt32 INIT_VIDEO = 0x00000020; /**< SDL_INIT_VIDEO implies SDL_INIT_EVENTS */
... | 1.564594 | cea0f324fce79f2fbf04ff4e3d58e339 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842667 | {
"extension": "c-sharp",
"max_stars_count": "84.0",
"max_stars_repo_name": "fhmcn/Tailviewer",
"max_stars_repo_path": "LogFile2Playground/TextLogFile2.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161887"
} | starcoder | <gh_stars>10-100
using System;
using System.Threading;
using System.Threading.Tasks;
using Metrolib;
using Tailviewer.BusinessLogic.LogFiles;
namespace LogFile2Playground
{
public sealed class TextLogFile2
: ILogFile2, ILogLineAccessor
{
private readonly LogLineCache _cache;
public TextLogFile2(ISerialTaskSc... | 2.063958 | 82fd5d505f266eb6aaa4eeb6098bbef8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842668 | {
"extension": "c-sharp",
"max_stars_count": "469.0",
"max_stars_repo_name": "lefb766/mono",
"max_stars_repo_path": "mcs/errors/cs0138.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161888"
} | starcoder | // CS0138: A `using' directive can only be applied to namespaces but `System.Console' denotes a type. Consider using a `using static' instead
// Line: 5
using System;
using System.Console;
class A
{
static void Main ()
{
Console.WriteLine ("Test CS0138");
}
}
| 2.495728 | 0dce049d97808b90b796f5b6c0984ae9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842669 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "SinsofSloth/RF5-global-metadata",
"max_stars_repo_path": "Define/NPCRelationshipWithPlayerType.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161889"
} | starcoder | <filename>Define/NPCRelationshipWithPlayerType.cs
public enum NPCRelationshipWithPlayerType // TypeDefIndex: 10782
{
// Fields
public int value__; // 0x0
public const NPCRelationshipWithPlayerType None = 0;
public const NPCRelationshipWithPlayerType NotPartner = 1;
public const NPCRelationshipWithPlayerType Partne... | 1.330548 | 1b5c2fafca5bb71e17e5ac53315dc096 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842670 | {
"extension": "c-sharp",
"max_stars_count": "3918.0",
"max_stars_repo_name": "L-Net-1992/self-driving-car-sim",
"max_stars_repo_path": "Assets/Plugins/SimpleFileBrowser/Scripts/SimpleFileBrowserQuickLink.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161890"
} | starcoder | using UnityEngine;
using UnityEngine.UI;
using UnityEngine.EventSystems;
public class SimpleFileBrowserQuickLink : SimpleFileBrowserItem, IPointerClickHandler
{
#region Properties
private string m_targetPath;
public string TargetPath { get { return m_targetPath; } }
#endregion
#region Initialization Functions
... | 2.064291 | 7b42415bcbbb65e0256281a2fb5d025a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842671 | {
"extension": "c-sharp",
"max_stars_count": "13.0",
"max_stars_repo_name": "mryp/kkde",
"max_stars_repo_path": "kkde/kag/sound/MidiSoundFile.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161891"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using System.IO;
using System.Windows.Forms;
namespace kkde.kag.sound
{
public class MidiSoundFile : MciSoundFile
{
/// <summary>
/// コンストラクタ
/// </summary>
/// <param name="filePath">ファイルパス</param>
/// <param name="parentForm">親フォーム</para... | 2.516173 | c1a7f50443459648abbce7662d6953f5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842672 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "wangjia184/orleans",
"max_stars_repo_path": "src/Orleans.Core/Configuration/OptionLogger/RedactMemberAttribute.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161892"
} | starcoder | using Orleans.Runtime.Configuration;
using System;
namespace Orleans
{
/// <summary>
/// When applied to a property on an options class, this attribute prevents the property value from being formatted by conforming <see cref="IOptionFormatter"/> instances.
/// </summary>
[AttributeUsage(AttributeTarget... | 2.847769 | 51a70eac5813ab0dc11e6fb494c0d2b4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842673 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "YellowTulipShow/CSharp",
"max_stars_repo_path": "dotnet_framework/YTS.BLL/old/manager_role.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161893"
} | starcoder | using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Reflection;
using System.Text;
using YTS.Tools;
namespace YTS.BLL
{
/// <summary>
///管理角色表
/// </summary>
public partial class manager_role
{
private readonly Model.sysconfig sysConfig = YTS.... | 2.431214 | a1181f66c069619dbb376fe38e8e6cef |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842674 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "zy1047606598/HeavensFeel",
"max_stars_repo_path": "HeavensFeel.API/HeavensFeel.Core/Entities/Progressing.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161894"
} | starcoder | namespace HeavensFeel.Core.Entities;
/// <summary>
/// 阅读进度
/// </summary>
public class Progressing : BaseEntity, IEntityTypeBuilder<Progressing>
{
/// <summary>
/// 正在阅读的页
/// </summary>
public int Page { get; set; }
/// <summary>
/// 视频时间进度
/// </summary>
public int Time { get; set; ... | 2.06844 | f196c9a782dc8d9b148418b91d1181b6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842675 | {
"extension": "c-sharp",
"max_stars_count": "77.0",
"max_stars_repo_name": "hartviglarsen/OurUmbraco",
"max_stars_repo_path": "OurUmbraco/MarketPlace/Models/UmbracoProject.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161895"
} | starcoder | using System;
using System.Collections.Generic;
namespace OurUmbraco.MarketPlace.Models
{
public class UmbracoProject
{
public int Id { get; set; }
public string Name { get; set; }
public DateTime CreateDate { get; set; }
public List<int> CompatibleVersions { get; set; }
... | 1.799124 | c99783f2cd31594e2d2c20f3a2a0635f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842676 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "NexusCommunity/Nexus",
"max_stars_repo_path": "Nexus/Entities/Items/Usable/Medkit.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161896"
} | starcoder | using Nexus.Entities.Items.Base;
namespace Nexus.Entities.Items.Usable
{
/// <summary>
/// Represents the in-game medkit.
/// </summary>
public class Medkit : BaseConsumableItem
{
internal InventorySystem.Items.Usables.Medkit medkit;
public Medkit(InventorySystem.Items.Usables.Med... | 2.273445 | 87edf871a6508076e159255be89069e3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842677 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Pi-Bouf/RetroZone",
"max_stars_repo_path": "RetroZone/Tab/TabPopupHandler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161897"
} | starcoder | using DotNetBrowser;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace RetroZone.Tab
{
class TabPopupHandler : PopupHandler
{
private Control control;
public TabPopupHandler(Control control... | 2.140177 | 269f0b6dcc78f1cc99c446e091fc86d4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842678 | {
"extension": "c-sharp",
"max_stars_count": "485.0",
"max_stars_repo_name": "ScriptBox99/reaqtor",
"max_stars_repo_path": "Reaqtive/Core/Tests.Reaqtive.Linq/Operators/Sample.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161898"
} | starcoder | <reponame>ScriptBox99/reaqtor<gh_stars>100-1000
// 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 Microsoft.VisualStudio.TestTools.UnitTesting;
... | 1.807248 | dd65dbff7ba40f0494dc04f92ab38c9d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842679 | {
"extension": "c-sharp",
"max_stars_count": "28.0",
"max_stars_repo_name": "jkrmc12/IFC-gen",
"max_stars_repo_path": "lang/csharp/src/IFC/IfcFaceBasedSurfaceModel.g.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161899"
} | starcoder |
using System;
using System.ComponentModel;
using System.Collections.Generic;
using Newtonsoft.Json;
using System.Linq;
using STEP;
namespace IFC
{
/// <summary>
/// <see href="http://www.buildingsmart-tech.org/ifc/IFC4/final/html/link/ifcfacebasedsurfacemodel.htm"/>
/// </summary>
public partial class IfcFaceB... | 2.415479 | 212f2813cc03591935f97d732ff12795 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842680 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "Bhaskers-Blu-Org1/HTTP-BlackOps",
"max_stars_repo_path": "TrafficServer/TrafficStoreProxy.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161900"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using TrafficViewerSDK.Options;
using TrafficViewerSDK;
using TrafficViewerSDK.Http;
using System.IO;
using TrafficServer.Properties;
using TrafficViewerInstance;
namespace TrafficServer
{
/// <summary>
/// Proxy ser... | 2.33852 | b4aeedfc3d96327ea7672807f8d49d3a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842681 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "QuantAsylum/QA350",
"max_stars_repo_path": "Application/QA350/QA350/DlgEntry.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161901"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace QA350
{
public partial class DlgEntry : Form
{
public DlgEntry(i... | 1.982104 | 7ef8c9404e94877de43b26fece6ac9f5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842682 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "amironov73/ManagedIrbis5",
"max_stars_repo_path": "Source/Libs/AM.Core5/Source/CommandLine/CommandLineMapper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161902"
} | starcoder | <filename>Source/Libs/AM.Core5/Source/CommandLine/CommandLineMapper.cs
// 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
// ReSharper disable CheckNamespace
// ReSharper disable ClassNeverInstantiated.Global
... | 2.48456 | 68a6043ff3a7e9744325a97c1be23727 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842683 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mgefvert/MyRawClient",
"max_stars_repo_path": "MyRawClient/Enumerations/StatusFlags.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161903"
} | starcoder | <gh_stars>0
using System;
namespace MyRawClient.Enumerations
{
[Flags]
public enum StatusFlags : ushort
{
InTransaction = 1,
AutoCommit = 2,
MoreResultsExist = 8,
NoGoodIndexUsed = 0x10,
NoIndexUsed = 0x20,
CursorExists = 0x40,
LastRowSent = 0x80,
... | 1.498338 | de8a323230a3da1e2d5993e3a58f75bd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842684 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "Quantumzhao/Leek-Cultivation-Guidebook",
"max_stars_repo_path": "Core/Nations/Superpower.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161904"
} | starcoder | <gh_stars>1-10
using LCGuidebook;
using LCGuidebook.Core;
using LCGuidebook.Core.DataStructures;
using System.Collections.Generic;
using System;
using UIEngine;
using System.Reflection.PortableExecutable;
using System.Runtime.InteropServices;
using System.Runtime.InteropServices.WindowsRuntime;
namespace LCGuidebook.... | 1.920799 | c530761499cc325b1e3b1d519a76bea9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842685 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "JornWildt/Xyperico.Infrastructure",
"max_stars_repo_path": "Xyperico.Infrastructure/Templating/ITemplateRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161905"
} | starcoder | <gh_stars>1-10
namespace Xyperico.Infrastructure.Templating
{
public interface ITemplateRepository
{
Template GetByName(string templateName, string language = null);
}
}
| 1.633715 | c11ad7ee812d887c95d5a41100e400e0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842686 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "M1chaelTran/Fun-Match-Game",
"max_stars_repo_path": "FunMatchGame/Views/Game/Story.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:161906"
} | starcoder | <gh_stars>0
@{
Layout = null;
}
<div class="story">
<div class="image">
<img class="back img-thumbnail" data-ng-src="{{card.imageUrl}}">
</div>
<div class="caption">
{{card.caption}}
</div>
<div class="social-buttons">
<a class="btn btn-social-icon btn-lg btn-google">
<i class="fa fa-google"></i>
</a... | 1.805241 | 4a9b4992a117c6009c5931fcc813c310 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842687 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "TonyMajorDev/DeChargerRepo",
"max_stars_repo_path": "Science/MassSpectrometry/ZMSProvider.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161907"
} | starcoder | //-----------------------------------------------------------------------
// Copyright 2018 <NAME> and Company
//
// 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.ap... | 2.19723 | 9e6258509b271230e08e06477a4c6f1b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842688 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AllenFreecs/AdaptiveHR",
"max_stars_repo_path": "AdaptiveHR/Adaptive.BL/Leave/ILeaveBL.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161908"
} | starcoder | <reponame>AllenFreecs/AdaptiveHR
using AdaptiveHR.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace AdaptiveHR.Adaptive.BL.leave
{
public interface ILeaveBL
{
Task<IEnumerable<LeaveDTO>> GetLeaveList(PageRequest paging);
Task<Leave... | 1.72348 | e193faf647e47208a397ba890c2ba409 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842689 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jenfor/Childrens_prayer",
"max_stars_repo_path": "App1/App1/Prayer/EmojiObject.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161909"
} | starcoder | <reponame>jenfor/Childrens_prayer<filename>App1/App1/Prayer/EmojiObject.cs
using System;
namespace App1.Prayer
{
public class EmojiObject
{
public string Emoji = String.Empty;
public string ImageDescription = String.Empty;
public EmojiObject(string imageDescription, string emoji)
... | 2.082418 | 60db126ef5ea294af0355d50d9c1840a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842690 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "tbandixen/ntieref",
"max_stars_repo_path": "src/N-Tier Entity Framework/NTier.Server.Domain/Repositories/Linq/EntityQueryable.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161910"
} | starcoder | <reponame>tbandixen/ntieref
// Copyright (c) Trivadis. All rights reserved. See license.txt in the project root for license information.
using NTier.Common.Domain.Model;
using System.Linq;
namespace NTier.Server.Domain.Repositories.Linq
{
internal sealed class EntityQueryable<TEntity> : DomainQueryable<TEntity>,... | 1.934875 | 241f52f5da2385e8cb412b706e47b666 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842691 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "JM89/personalfinancemanager",
"max_stars_repo_path": "PFM.Website/PersonalFinanceManager/Views/ExpenditureType/Edit.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:161911"
} | starcoder | <reponame>JM89/personalfinancemanager<gh_stars>1-10
@model PersonalFinanceManager.Models.ExpenditureType.ExpenditureTypeEditModel
@{
Layout = "~/Views/Shared/_LayoutEditor.cshtml";
ViewBag.PageTitle = Resources.TitleNames.ExpenditureTypePages;
ViewBag.FormTitle = Resources.TitleNames.ExpenditureTypeEdit;
... | 1.716808 | 5ef0b9eee371c860c8da25048882513d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842692 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pipseq/csFxModel",
"max_stars_repo_path": "simulatedTrading/FxUpdatesSimulated.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161912"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Common;
using Common.fx;
using fxcore2;
namespace simulatedTrading
{
public class FxUpdatesSimulated : IFxUpdates, PositionListener, OrderListener, ClosedTradeListener
{
Logger log... | 2.225168 | e08098ff390e96b22beee25cc49cce0f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842693 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Mapet13/AlgoChallenge",
"max_stars_repo_path": "AlgoChallenge/Numerical/Exponentiation/BinaryExponentiation.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161913"
} | starcoder | using System;
namespace AlgoChallenge.Numerical
{
public class BinaryExponentiation : IExponentiationCalculator
{
public ulong Calculate(uint n, uint power)
{
if (power < 0) throw new ArgumentException("Negative powers are not supported");
if (power == 0) return 1;
... | 3.581716 | 9464f0480fa3c2f269684852863acff9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842694 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Heongil/CTST_URP_Ver0.1",
"max_stars_repo_path": "Assets/Hpatics/Bhaptics/SDK/AndroidWidget/Scripts/Bhaptics_Widget_Setting.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161914"
} | starcoder | <filename>Assets/Hpatics/Bhaptics/SDK/AndroidWidget/Scripts/Bhaptics_Widget_Setting.cs
using System;
using UnityEngine;
using UnityEngine.UI;
namespace Bhaptics.Tact.Unity
{
[Serializable]
public class SettingDeviceIcon
{
public Sprite pairImage;
public Sprite unpairImage;
public ... | 2.203466 | 402ff4f0aef8ab9f3b654840ec67181c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842695 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "csoap/csoap.github.io",
"max_stars_repo_path": "sourceCode/dotNet4.6/ndp/fx/src/winforms/Managed/System/WinForms/SelectionMode.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161915"
} | starcoder | //------------------------------------------------------------------------------
// <copyright file="SelectionMode.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
//--------------------------------... | 2.240724 | a415dfb7a1127920720f981657959c70 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842696 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MyOrgCursosProgramacao/cs-vs2019-secao-3-entrada-de-dados",
"max_stars_repo_path": "src/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161916"
} | starcoder | using System;
using System.Globalization;
namespace src
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Exercício de fixação 02: Entrada de dados em c#");
Console.WriteLine();
Console.Write("Entre com o seu nome: ");
... | 3.559683 | 1b835e47749d751d3424800412d0e031 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842697 | {
"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/requests/IBookingServiceRequest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161917"
} | starcoder | // ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------
/... | 1.953076 | e3e5b5d5632e44aaabc63eb7fec07f44 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842698 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "vasi-axinte/Unit-Testing-Training",
"max_stars_repo_path": "Samples/Samples/11_StubVsMock/PersonLogger_NotTestable.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161918"
} | starcoder | <reponame>vasi-axinte/Unit-Testing-Training<filename>Samples/Samples/11_StubVsMock/PersonLogger_NotTestable.cs
using System.IO;
namespace Samples._11_StubVsMock2
{
class PersonLogger
{
public void Log(Person p, string message)
{
using (StreamWriter sw = File.AppendText("LogFile.txt... | 2.366871 | 1c318ca466708ce49153213653412bd3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842699 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mwpowellhtx/MicroMapper",
"max_stars_repo_path": "src/MicroMapper/Mappers/IObjectMapperCollection.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161919"
} | starcoder | namespace MicroMapper.Mappers
{
using System.Collections.Generic;
/// <summary>
/// Refactored from static MapperRegistry allowing for flexible dependency injection
/// of mapping concerns.
/// </summary>
public interface IObjectMapperCollection : IList<IObjectMapper>
{
/// <summary... | 2.316874 | a14cd86fc9167aaa87d25675c960985b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842700 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Kesco-m/Kesco.App.Web.MVC.Persons",
"max_stars_repo_path": "Kesco.Web.Mvc.UI/Extensions/HttpContextBaseExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161920"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web;
using System.Collections.Specialized;
using System.Web.Mvc;
namespace Kesco.Web.Mvc
{
/// <summary>
/// Расширения для Http контекста
/// </summary>
public static class HttpContextBaseExtensions
{
/// <sum... | 2.755313 | 1ce37c9a0b63a535bf9c8ba280890251 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842701 | {
"extension": "c-sharp",
"max_stars_count": "18.0",
"max_stars_repo_name": "kkwpsv/lsjutil",
"max_stars_repo_path": "Src/Lsj.Util.SQLBuilder/Statement/Insert.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161921"
} | starcoder | <reponame>kkwpsv/lsjutil
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Lsj.Util.Collections;
namespace Lsj.Util.SQLBuilder.Statement
{
/// <summary>
/// Insert
/// </summary>
public class Insert : SQLStatement
{
/// <summary>
/// Table ... | 2.811065 | 69cbc0c4b6c0b0f7dc7518fd0308389e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842702 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "workingrom/aspCart",
"max_stars_repo_path": "src/aspCart.Infrastructure/Services/Catalog/ImageManagerService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161922"
} | starcoder | using aspCart.Core.Domain.Catalog;
using aspCart.Core.Interface.Services.Catalog;
using aspCart.Infrastructure.EFRepository;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace aspCart.Infrastructure.Services.Catalog
{
public class ImageManagerService : IImag... | 2.732419 | 1829f034270d4b0d7bcdf674c2903ddc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842703 | {
"extension": "c-sharp",
"max_stars_count": "17.0",
"max_stars_repo_name": "npocmaka/Windows-Server-2003",
"max_stars_repo_path": "com/netfx/src/framework/xsp/system/web/state/sessionstate.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161923"
} | starcoder | //------------------------------------------------------------------------------
// <copyright file="SessionState.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
//-----------------------------... | 2.0744 | fdccc3b8f34cc4514b2a14158caeb3b9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842704 | {
"extension": "c-sharp",
"max_stars_count": "84.0",
"max_stars_repo_name": "aliostad/deep-learning-lang-detection",
"max_stars_repo_path": "data/train/csharp/7c04aa830f463d0a78e2b591d01758041949b8f3ChunkManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161924"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using System.Collections;
using SharedCode.TileSystem;
using WorldServer.Database;
namespace WorldServer.Region
{
public class ChunkManager
{
private static int ChunkWidth = 40 * 25;
... | 2.553323 | f028f214e2f33001cf36f384d0cf90ff |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842705 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "yosuman95/project_pdf",
"max_stars_repo_path": "PdfiumViewer.Demo/DTO/Data/OkResponse.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161925"
} | starcoder | using PdfiumViewer.Demo.Contracts;
namespace PdfiumViewer.Demo.DTO.Data
{
class OkResponse : IResponse
{
public string Code { get; set; } = "0";
public string Description { get; set; } = "Success";
}
}
| 1.656333 | 7b5b67c988a13dcfcb46cd5801b74545 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842706 | {
"extension": "c-sharp",
"max_stars_count": "20.0",
"max_stars_repo_name": "GediminasMasaitis/MHArmory",
"max_stars_repo_path": "MHArmory.MhwDbDataSource/DataStructures/Skill.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161926"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MHArmory.Core.DataStructures;
using Newtonsoft.Json;
namespace MHArmory.MhwDbDataSource.DataStructures
{
internal class AbilityPrimitive
{
[JsonProperty("level")]
public int Level { get; set; }
... | 3.005625 | 33e447e98fb5e1c5b71995ee601208fd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842707 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DylanPiep/OxygenNotIncludedMods",
"max_stars_repo_path": "StorageCompressor/StorageCompressor/StorageCompressorConfig.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161927"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using UnityEngine;
using TUNING;
namespace StorageCompressor
{
public class StorageCompressorConfig : IBuildingConfig
{
public const string ID = "ClockPunkPanic.SolidStorageCompressor";
public const string Di... | 1.944965 | 64f5b6285b0e7c7ef44915fc5785d01c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842708 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "chromex/adventofcode",
"max_stars_repo_path": "aoc2021/Day_11.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161928"
} | starcoder | using AoCUtil;
using System.Linq;
namespace aoc2021
{
class Day_11 : BetterBaseDay
{
private static void Poke(Matrix<int> map, int x, int y)
{
int val = 0;
if (map.TryGet(x, y, out val) && !map.IsMarked(x, y))
{
++map.Data[x, y];
... | 3.157277 | cdc5270a8b05edbf7890acdd55841fc3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842709 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "VladimirKhil/CIRCe",
"max_stars_repo_path": "IRCWindow/ChannelViewForm.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161929"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.Collections;
using IRCConnection;
using IRCProviders;
using IRCWindow.Properties;
using IRC.Client.Base;
namespace IRCWindow
{
/// <summ... | 2.303916 | f40b5206df0b106c21a60650183440dc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842710 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "roseolaf/EasyRepro",
"max_stars_repo_path": "DraegerEasyReproCrm/Common/Locators/OpportunityConstants.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161930"
} | starcoder | using System.Collections.Generic;
namespace Draeger.Dynamics365.Testautomation.Common.Locators
{
public static class OpportunityConstants
{
public static class Probability
{
public static readonly string OrderLost = "0 % - Order lost";
public static readonly string Very... | 2.097962 | a80fd3814a60b9d9b12c64282bafc4b8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842711 | {
"extension": "c-sharp",
"max_stars_count": "17.0",
"max_stars_repo_name": "ddd-cqrs-es/BookLibrary",
"max_stars_repo_path": "BookingLibrary.Domain.Core/Commands/CommonCommand.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161931"
} | starcoder |
namespace BookingLibrary.Domain.Core.Commands
{
public class CommonCommand : CommandBase
{
public CommonCommand(string key) : base(key)
{
}
}
}
| 1.553481 | bdb5e819892cf2cbcbba4860c1f381cd |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.