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 | 66033 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "I-AM-INSANE/Project-boost",
"max_stars_repo_path": "Assets/Scripts/EscortPlayerCollisions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66034"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class EscortPlayerCollisions : MonoBehaviour
{
[SerializeField] private float LevelLoadDelay;
[SerializeField] private ParticleSystem crashParticles;
[SerializeField] private ParticleSystem finishParticles;
private A... | 2.087349 | 4bdd2fe5a4c84e2093734140a212fed8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66034 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "adnan-54/SLStudio",
"max_stars_repo_path": "Client/Framework/SLStudio.Framework/Modules/Bootstrapper/Bootstrapper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66035"
} | starcoder | <reponame>adnan-54/SLStudio<gh_stars>1-10
using System.Collections.Generic;
using System.Linq;
using System.Windows;
namespace SLStudio
{
public class Bootstrapper
{
private static Bootstrapper instance;
private readonly IContainer container;
private readonly Application application;
... | 2.231277 | 9ab3b8e187d7eba25d9eecf473eda4ee |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66035 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pulumi/pulumi-kubernetes-crds",
"max_stars_repo_path": "operators/infinispan/dotnet/Kubernetes/Crds/Operators/Infinispan/Infinispan/V1/Outputs/InfinispanSpecServiceSitesLocations.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66036... | starcoder | // *** WARNING: this file was generated by crd2pulumi. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
namespace Pulumi.Kubernetes.Types.O... | 1.530198 | bd6346840f1413b444c8c36a16e2719c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66036 | {
"extension": "c-sharp",
"max_stars_count": "95.0",
"max_stars_repo_name": "zgren/dp2",
"max_stars_repo_path": "DigitalPlatform.LibraryServer/AppAuthorNumber.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66037"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Diagnostics;
using System.Runtime.Serialization;
using System.Xml;
using System.IO;
using Lucene.Net.Analysis;
using Lucene.Net.Analysis.Tokenattributes;
using DigitalPlatform.rms.Client;
using DigitalPlatform.Text;
us... | 1.873929 | 4fe5a334abc3469fd1cd4570569ca428 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66037 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "deccer/EngineKit",
"max_stars_repo_path": "src/EngineKit/Graphics/GpuMaterial.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66038"
} | starcoder | <gh_stars>0
using System.Runtime.InteropServices;
using EngineKit.Mathematics;
namespace EngineKit.Graphics
{
[StructLayout(LayoutKind.Sequential, Pack = 16)]
public struct GpuMaterial
{
public Int4 Normal;
public Vector4 AmbientColor;
public Vector4 DiffuseColor;
public Vec... | 1.097431 | 8902f7359ef94e171b03d0e489dc398d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66038 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ZhangHuan0407/JigsawPuzzle",
"max_stars_repo_path": "JigsawPuzzleMVC/JigsawPuzzleMVC/ShareScript/ControllerAction.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66039"
} | starcoder | <filename>JigsawPuzzleMVC/JigsawPuzzleMVC/ShareScript/ControllerAction.cs
using System;
using System.Reflection;
using System.Text;
#if DEBUG && MVC
using System.Web.Mvc;
using System.Reflection;
using JigsawPuzzle.Analysis;
#endif
namespace JigsawPuzzle
{
/// <summary>
/// 控制器行为代表一个服务器可访问调用
/// </summar... | 2.552878 | 3ee050298d958ea7d03d1473b9dc93b1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66039 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Deusald/DeusaldPhysics2D",
"max_stars_repo_path": "DeusaldPhysics2D/Box2dNative/Generated/b2FrictionJointDef.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66040"
} | starcoder | //------------------------------------------------------------------------------
// <auto-generated />
//
// This file was automatically generated by SWIG (http://www.swig.org).
// Version 4.0.2
//
// Do not make changes to this file unless you know what you are doing--modify
// the SWIG interface file instead.
... | 1.947752 | 90a47c8395c46261b85eb9c5bc6e4926 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66040 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kamlesh-microsoft/clear-hl7-net",
"max_stars_repo_path": "src/ClearHl7.Codes/V282/CodeExclusiveTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66041"
} | starcoder | <reponame>kamlesh-microsoft/clear-hl7-net<filename>src/ClearHl7.Codes/V282/CodeExclusiveTest.cs
namespace ClearHl7.Codes.V282
{
/// <summary>
/// HL7 Version 2 Table 0919 - Exclusive Test.
/// </summary>
/// <remarks>https://www.hl7.org/fhir/v2/0919</remarks>
public enum CodeExclusiveTest
{
... | 2.363535 | 64afce2be82252183c5c9fe5f038df7e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66041 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ioklo/citron",
"max_stars_repo_path": "Src/Runtime/Runtime/IRuntimeModule.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66042"
} | starcoder | <gh_stars>0
using Citron.CompileTime;
using System;
using System.Collections.Generic;
using System.Text;
namespace Citron.Runtime
{
//public interface IRuntimeModule : IModule
//{
// Value MakeBool(bool b);
// Value MakeInt(int i);
// // Value MakeEnumerable(QsDomainSer... | 1.489355 | 5610a746f6b818644ccebd04cb8dd720 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66042 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jirik09/Instrulab",
"max_stars_repo_path": "PC_APP/InstruLab/InstruLab/Scope.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66043"
} | starcoder | <reponame>jirik09/Instrulab
namespace InstruLab
{
partial class Scope
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </su... | 1.586426 | c1299299fc6b941e5e453b5acdd6e30b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66043 | {
"extension": "c-sharp",
"max_stars_count": "41.0",
"max_stars_repo_name": "PopovKS/dataobjects-net",
"max_stars_repo_path": "Orm/Xtensive.Orm.Tests.Core/DotNetFramework/CallTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66044"
} | starcoder | <reponame>PopovKS/dataobjects-net
// Copyright (C) 2003-2010 Xtensive LLC.
// All rights reserved.
// For conditions of distribution and use, see license.
// Created by: <NAME>
// Created: 2008.01.29
using System;
using System.Threading;
using NUnit.Framework;
using Xtensive.Collections;
using Xtensive.Core;
using ... | 1.686253 | b30c9c2b8f5982c36a01d56559bdf872 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66044 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Amarok79/InlayTester.Drivers.FeigReader",
"max_stars_repo_path": "src/Tests.InlayTester.Drivers.FeigReader/Drivers.Feig/Test_DefaultFeigReader.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66045"
} | starcoder | /* MIT License
*
* Copyright (c) 2020, <NAME>
* https://github.com/Amarok79/InlayTester.Drivers.FeigReader
*
* 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 restricti... | 1.97179 | 2680e7b144a535949d2e81eef77b5150 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66045 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ARLM-Attic/linq2flickr",
"max_stars_repo_path": "Linq.Flickr.Test/PhotoMockTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66046"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NUnit.Framework;
using Linq.Flickr.Interface;
using System.IO;
using System.Reflection;
using System.Xml;
using System.Xml.Linq;
using Linq.Flickr.Repository;
using TypeMock;
using System.Net;
using System.Security... | 2.00151 | dd666e5d8a725c9b5c126f4669cc0929 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66046 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "thecalcc/InsideNet",
"max_stars_repo_path": "InsideNet.Services/Services/UserEntityService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66047"
} | starcoder | <reponame>thecalcc/InsideNet
using AutoMapper;
using Microsoft.AspNetCore.Identity;
using Microsoft.EntityFrameworkCore;
using InsideNet.Data.Data;
using InsideNet.Data.Data.Entities;
using InsideNet.Data.Data.Models;
using InsideNet.Helpers.Helpers;
using InsideNet.Services.Services.Interfaces;
namespace InsideNet.S... | 2.449301 | e417fed0779bb62ac1a6e790a09da010 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66047 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mustafasacli/Net.FreeORM.TestRepo",
"max_stars_repo_path": "Net.FreeORM.Test/Net.FreeORM.Test/Net.FreeORM.Test_Odbc/Source/DL/ExternalTableMapDL.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66048"
} | starcoder | <gh_stars>0
using System;
using Net.FreeORM.Framework.BaseDal;
namespace Net.FreeORM.Test_Odbc.Source.DL
{
public class ExternalTableMapDL : BaseDL
{
public ExternalTableMapDL()
: base()
{
}
}
}
| 0.864002 | b8218de61b31db7ebb0a136e8f7d2017 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66048 | {
"extension": "c-sharp",
"max_stars_count": "197.0",
"max_stars_repo_name": "vanluom123/Kledex",
"max_stars_repo_path": "src/OpenCqrs/Mapping/ObjectFactory.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66049"
} | starcoder | using AutoMapper;
namespace OpenCqrs.Mapping
{
public class ObjectFactory : IObjectFactory
{
private readonly IMapper _mapper;
public ObjectFactory(IMapper mapper)
{
_mapper = mapper;
}
/// <inheritdoc />
public dynamic CreateConcreteObject(object ... | 2.632795 | ca9efae8d461332f000bc1c076d3641a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66049 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "android-crack/joework",
"max_stars_repo_path": "UnityWorkspace/TestModule/Assets/Scripts/Module/NetWork/NetWorkManager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66050"
} | starcoder | using UnityEngine;
using System.Collections;
using System;
using System.Net;
using System.Net.Sockets;
using System.Collections.Generic;
using System.IO;
public class NetWorkManager
{
private byte[] tempByteBuffer = new byte[1024 * 4];
private ByteBuffer byteBuffer = new ByteBuffer();
private Socket socke... | 2.687004 | 389c5dae49d99461d337690bb16846a1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66050 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "Bhaskers-Blu-Org2/GaitAndBalanceApp",
"max_stars_repo_path": "Analysis/ReachAnalyzer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66051"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GaitAndBalanceApp.Analysis
{
class ReachAnalyzer : Analyzer
{
public override List<Tuple<Trajectory, ESegmentType>> segmentTrajectory(Trajectory trajectory)
{
... | 2.763878 | d63d7712ec1dc01ac3932ebd60b55e7d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66051 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Winterpuma/bmstu_DB_CW",
"max_stars_repo_path": "DB_CP/DataStructures/Eatery.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66052"
} | starcoder | namespace DataStructures
{
public class Eatery
{
public string eateryID;
public string eateryName { get; set; }
public string location { get; set; }
public string description { get; set; }
public string eateryType { get; set; }
public Eatery(string id, string na... | 3.50565 | 59f5b4a7e2e445131ef4e68012951ec2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66052 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "amzulin/dlerp",
"max_stars_repo_path": "Enterprise.Invoicing.Entities/Models/Role.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66053"
} | starcoder | <reponame>amzulin/dlerp
using System;
using System.Collections.Generic;
namespace Enterprise.Invoicing.Entities.Models
{
public partial class Role
{
public Role()
{
this.Employees = new List<Employee>();
this.FunctionRights = new List<FunctionRight>();
this.M... | 2.019783 | ef0662bd8cc05dfe417b05b2c8842b61 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66053 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "hunterxxx/StuckAndroid",
"max_stars_repo_path": "CustomVoice-API/CustomVoice-API/VoiceAPI/DTO/Synthesis.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66054"
} | starcoder | // <copyright file="Synthesis.cs" company="Microsoft Corporation">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
namespace Microsoft.SpeechServices.Cris.Http
{
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
public sealed class Synthesis... | 2.062388 | 72d5f7730c93899ae1f7d61953f56867 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66054 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JoelCrosby/Netptune",
"max_stars_repo_path": "server/Netptune.Core/Requests/AddCommentRequest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66055"
} | starcoder | using System.ComponentModel.DataAnnotations;
namespace Netptune.Core.Requests
{
public class AddCommentRequest
{
[Required]
public string Comment { get; set; }
[Required]
public string SystemId { get; set; }
}
}
| 1.72634 | ca1ab4864e9085152f22a92ac1a3d573 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66055 | {
"extension": "c-sharp",
"max_stars_count": "1618.0",
"max_stars_repo_name": "emlstudio/Nez",
"max_stars_repo_path": "Nez.Portable/UI/IMGUI.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66056"
} | starcoder | <filename>Nez.Portable/UI/IMGUI.cs
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework;
using Nez.BitmapFonts;
namespace Nez
{
/// <summary>
/// IMGUI is a very simple class with only static methods designed to make sticking buttons, checkboxes, sliders and progress bars on screen
/// in quick a... | 2.453833 | 3166dc4ad7e8849559d50241bcdbac05 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66056 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "leandrolustosa/notificationqueueservice",
"max_stars_repo_path": "AInBox.Astove.Core/Model/User.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66057"
} | starcoder | <gh_stars>1-10
using System;
using System.ComponentModel.DataAnnotations;
namespace AInBox.Astove.Core.Model
{
public class User : BaseModel
{
public override int Id { get; set; }
public string Name { get; set; }
public string Email { get; set; }
}
}
| 1.718015 | 2cd5eb02dcd53c943060062d5fc1eb24 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66057 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "itoledo/Birdie.Tesseract",
"max_stars_repo_path": "tvn-cosine.ai/tvn-cosine.ai.test/unit/logic/fol/parsing/FOLParserTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66058"
} | starcoder | using Microsoft.VisualStudio.TestTools.UnitTesting;
using tvn.cosine.collections;
using tvn.cosine.collections.api;
using tvn.cosine.exceptions;
using tvn.cosine.ai.logic.common;
using tvn.cosine.ai.logic.fol.domain;
using tvn.cosine.ai.logic.fol.parsing;
using tvn.cosine.ai.logic.fol.parsing.ast;
namespace tvn_cosin... | 2.375657 | 4d6df6705a076a39207b3e4e8b45d6ac |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66058 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nasraldin/UserTasks",
"max_stars_repo_path": "UserTasks.Core/Authorization/AccountManager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66059"
} | starcoder | using AspNet.Security.OpenIdConnect.Primitives;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Identity;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Claims;
using System.Threading.Tasks;
using UserTasks.Core.Authorization.In... | 2.287072 | 2f16278041ccf547269fc7edfe8a58f1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66059 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "ultramarine256/CityQuest",
"max_stars_repo_path": "CityQuest.Core/Services/SafeGuidGenerationServices/KeyGenerationServices/IKeyGenerationService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66060"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CityQuest.Services.SafeGuidGenerationServices.KeyGenerationServices
{
/// <summary>
/// Is used to generate unic Guids for Entity Key
/// </summary>
public inter... | 1.625302 | 642f3d35686a2c7b3c5eec0f2f6a9029 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66060 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "huww98/MyBlog",
"max_stars_repo_path": "src/MyBlog/Authorization/ArticleEdit.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66061"
} | starcoder | using Microsoft.AspNetCore.Authorization;
using MyBlog.Models;
using System.Security.Claims;
using System.Threading.Tasks;
namespace MyBlog.Authorization
{
public class CanEditArticleRequirement : IAuthorizationRequirement
{
}
}
| 1.225112 | a087e3d65879ee637abd0353c9b29d38 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66061 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "AnotherEpigone/TheSadRogue.Integration",
"max_stars_repo_path": "TheSadRogue.Integration.Tests/Components/ComponentBaseTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66062"
} | starcoder | <reponame>AnotherEpigone/TheSadRogue.Integration<gh_stars>1-10
using SadRogue.Primitives;
using SadRogue.Integration.Components;
using Xunit;
namespace SadRogue.Integration.Tests.Components
{
public class ComponentBaseTests
{
[Fact]
public void AddTest()
{
var component = ne... | 2.122703 | ccc8021a9da09c1490c95df8ae22802e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66062 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "buldo/NightGamesEngine",
"max_stars_repo_path": "src/Nge.Web/Models/StatisticsViewModels/IndexViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66063"
} | starcoder | <reponame>buldo/NightGamesEngine<gh_stars>0
using System.Collections.Generic;
namespace Nge.Web.Models.StatisticsViewModels
{
public class IndexViewModel
{
public List<PlayerViewModel> Players { get; set; }
}
}
| 0.890548 | 34d9618e5aa98d1877c2e0a0d08c0bf0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66063 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "nnaabbcc/exercise",
"max_stars_repo_path": "windows/pw6e.official/CSharp/Chapter13/Whirligig/Whirligig/MainPage.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66064"
} | starcoder | <reponame>nnaabbcc/exercise<filename>windows/pw6e.official/CSharp/Chapter13/Whirligig/Whirligig/MainPage.xaml.cs
using System;
using System.Collections.Generic;
using Windows.Foundation;
using Windows.System;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Input;
using Windows.UI.Xa... | 2.766868 | d822c9935345012e6e37d7fbb1ae8fb0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66064 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "guitarrapc/memoryleak",
"max_stars_repo_path": "src/MemoryLeak/MemoryLeak/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66065"
} | starcoder | using System;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
namespace MemoryLeak
{
public class Program
{
public static void Main(string[] args)
{
... | 2.290699 | 14b05a500fd614b78f52869689da223b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66065 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TeraWord/Blazor.MapD3",
"max_stars_repo_path": "Demo/Pages/Index.razor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66066"
} | starcoder | <reponame>TeraWord/Blazor.MapD3
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text.Json;
using System.Threading.Tasks;
using TeraWord.Blazor.MapD3;
namespace Demo.Pages
{
public partial class Index
{
private TeraWord.Blazor.MapD3.Data Data { get;... | 2.365899 | 35b4d3382187bca53134bc6fd655fce7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66066 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Liang-Zhinian/CqrsFrameworkDotNet",
"max_stars_repo_path": "Sample/SaaSEqt/eShop/Public/eShop/src/Services/Catalog/ServiceCatalog.API/Model/ScheduleType.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66067"
} | starcoder | <reponame>Liang-Zhinian/CqrsFrameworkDotNet<filename>Sample/SaaSEqt/eShop/Public/eShop/src/Services/Catalog/ServiceCatalog.API/Model/ScheduleType.cs
using System;
using System.Collections.Generic;
using System.Linq;
using ServiceCatalog.API.Infrastructure.Exceptions;
namespace SaaSEqt.eShop.Services.ServiceCatalog.AP... | 2.559041 | 1fead663bb63096923ba84dbd51e9c93 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66067 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "hennys/integration-test-sample",
"max_stars_repo_path": "IntegrationTestInitialization.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66068"
} | starcoder | using EPiServer.Data;
using EPiServer.Framework;
using EPiServer.Framework.Initialization;
using EPiServer.Initialization;
using EPiServer.ServiceLocation;
namespace IntegrationTestSample
{
[InitializableModule]
[ModuleDependency(typeof(CmsCoreInitialization))]
public class IntegrationTestInitialization :... | 1.722975 | 555c81b6a36ca9554cefb0d557e1983c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66068 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Brar/postgres",
"max_stars_repo_path": "src/pl/plclr/managed/src/PlClr.Managed/CSharpCompiler.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66069"
} | starcoder | using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.Emit;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Runtime.Loader;
using System.Text;
namespace PlClr
{
internal st... | 2.16617 | ef3ccbe9ecf757e0d72dc5a80de2c576 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66069 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tmat/razor-tooling",
"max_stars_repo_path": "src/Razor/src/Microsoft.AspNetCore.Razor.LanguageServer/RazorFileChangeDetectorManager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66070"
} | starcoder | <reponame>tmat/razor-tooling
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using OmniSharp.Exte... | 1.868647 | b29ff7a17315de2b08b9d42c4fe2fe39 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66070 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ImNotARobot742/DofusProtocol",
"max_stars_repo_path": "DofusProtocol/D2Parser/Protocol/Messages/game/context/roleplay/paddock/PaddockToSellListMessage.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66071"
} | starcoder | <filename>DofusProtocol/D2Parser/Protocol/Messages/game/context/roleplay/paddock/PaddockToSellListMessage.cs<gh_stars>0
// Generated on 03/23/2022 09:50:25
using System;
using System.Collections.Generic;
using System.Linq;
using AmaknaProxy.API.Protocol.Types;
using AmaknaProxy.API.IO;
using AmaknaProxy.API.Network;
... | 2.060592 | 051da8ee592cf178dbab5f42506d72b9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66071 | {
"extension": "c-sharp",
"max_stars_count": "109.0",
"max_stars_repo_name": "urasandesu/Prig",
"max_stars_repo_path": "Urasandesu.Prig.VSPackage/PkgCmdID.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66072"
} | starcoder | /*
* File: PkgCmdID.cs
*
* Author: <NAME> (<EMAIL>)
*
*
* Copyright (c) 2015 <NAME>
*
* This software is MIT License.
*
* 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... | 1.47935 | f36490b305c87bf85ab59f2ca42affdf |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66072 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SpilledMilkCOM/SociallyAwesomated",
"max_stars_repo_path": "SM.UWP.Common/ConfigurationLoaderJSON.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66073"
} | starcoder | <gh_stars>0
using SM.Common.Interfaces;
using System.IO;
using SM.Common.Serialization;
namespace SM.Common
{
public class ConfigurationLoaderJSON : IConfigurationLoader
{
/// <summary>
/// Load the JSON configuration file and return the configuration type.
/// </summary>
/// <typeparam name="TType">The nam... | 2.438326 | 2191b52456b25e7f12ffe8ca76c4889d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66073 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "OwenMcDonnell/QuikGraph",
"max_stars_repo_path": "src/QuikGraph/Implementations/Graphs/EdgeListGraph.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66074"
} | starcoder | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using JetBrains.Annotations;
using QuikGraph.Collections;
namespace QuikGraph
{
/// <summary>
/// Implementation for a edge list graph.
/// </summary>
/// <typeparam name="TVertex">Vertex type.</typeparam>
... | 3.100299 | b75b7f2a98719377dc0ca708c1db7f9e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66074 | {
"extension": "c-sharp",
"max_stars_count": "390.0",
"max_stars_repo_name": "EDCD/EliteDangerousDataProvider",
"max_stars_repo_path": "Events/DiedEvent.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66075"
} | starcoder | <reponame>EDCD/EliteDangerousDataProvider
using EddiDataDefinitions;
using System;
using System.Collections.Generic;
using Utilities;
namespace EddiEvents
{
[PublicAPI]
public class DiedEvent : Event
{
public const string NAME = "Died";
public const string DESCRIPTION = "Triggered when you... | 2.553052 | 532ca880f31a565d40d3a99af83c2eb0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66075 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "smdx24/CPI-Source-Code",
"max_stars_repo_path": "ClubPenguin.DecorationInventory/StructureInstanceRewardDefinition.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66076"
} | starcoder | // StructureInstanceRewardDefinition
Decompiled was cancelled.
| 0.010273 | 2bee3617789121c451c49bd19feee3ef |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66076 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "vpaleshnikov/SoftUni-C-FundamentalsModule",
"max_stars_repo_path": "C#OOPBasics/CSharpOOPBasicsExam-16July2017/MineDraft/Core/Engine.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66077"
} | starcoder | <filename>C#OOPBasics/CSharpOOPBasicsExam-16July2017/MineDraft/Core/Engine.cs
using System;
using System.Collections.Generic;
using System.Linq;
public class Engine
{
private bool isRunning;
private DraftManager draftManager;
public Engine()
{
this.isRunning = true;
this.draftManager ... | 3.039504 | f940a79459a9b40ead1bba8f0a586754 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66077 | {
"extension": "c-sharp",
"max_stars_count": "755.0",
"max_stars_repo_name": "N500/WindowsTemplateStudio",
"max_stars_repo_path": "templates/Wpf/Pages/ContentGrid/Param_ProjectName/Views/wts.ItemNameDetailPage.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66078"
} | starcoder | using System.Windows.Controls;
namespace Param_RootNamespace.Views
{
public partial class wts.ItemNameDetailPage : System.Windows.Controls.Page
{
public wts.ItemNameDetailPage()
{
InitializeComponent();
}
}
}
| 1.30645 | c3a85d4cb766e0c1069e56f394783913 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66078 | {
"extension": "c-sharp",
"max_stars_count": "108.0",
"max_stars_repo_name": "circleupx/JsonApiFramework",
"max_stars_repo_path": "Source/JsonApiFramework.Infrastructure/Internal/Dom/DomAttributes.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66079"
} | starcoder | <gh_stars>100-1000
// Copyright (c) 2015–Present <NAME>. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.md in the project root for license information.
using JsonApiFramework.Internal.Tree;
namespace JsonApiFramework.Internal.Dom
{
internal class DomAttributes : NodesContaine... | 2.070087 | edc08c0bcbd0d6348a35ff4161f76dea |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66079 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "redmoon-games/SimpleMergeSource",
"max_stars_repo_path": "Assets/Scripts/Game/UI/DeleteUnitIcon/DeleteUnit.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66080"
} | starcoder | <reponame>redmoon-games/SimpleMergeSource
using System.Collections.Generic;
using Core.Gestures;
using Game.Controllers;
using Game.Services;
using UnityEngine;
using UnityEngine.EventSystems;
using UnityEngine.UI;
namespace Game.UI.DeleteUnitIcon
{
public class DeleteUnit : MonoBehaviour
{
[SerializeF... | 2.112808 | d7937fd1cb06444243bc42597d84beca |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66080 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "2021-2022-vizsgaremek-nappali-14b-gyak/repository-tesztek-gycsaba-vasvari",
"max_stars_repo_path": "Desktop/src/Vizsgaremek/Repositories/ApplicationConfigurations.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66081"
} | starcoder | <filename>Desktop/src/Vizsgaremek/Repositories/ApplicationConfigurations.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Configuration;
using System.Collections.Specialized;
namespace Vizsgaremek.Repositories
{
public class Appl... | 2.338688 | 5375adc7ddacd1e7420db511905b0d9f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66081 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Nanonikich/ExamApp",
"max_stars_repo_path": "MUse.Program.prj/Views/SignIn.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66082"
} | starcoder | <reponame>Nanonikich/ExamApp
namespace ExamApp
{
partial class SignIn
{
/// <summary>
/// Обязательная переменная конструктора.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Освободить все используемые ресурсы.
... | 2.063021 | 6bfa0d14883bfebd2ed0a567d0db10a6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66082 | {
"extension": "c-sharp",
"max_stars_count": "204.0",
"max_stars_repo_name": "museum4punkt0/mr-victoria",
"max_stars_repo_path": "Assets/vendor/HoloToolkit/Utilities/Scripts/Editor/SceneLauncherEditor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66083"
} | starcoder | <filename>Assets/vendor/HoloToolkit/Utilities/Scripts/Editor/SceneLauncherEditor.cs<gh_stars>100-1000
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using UnityEngine;
using UnityEditor;
using UnityEngine.SceneMa... | 1.948406 | a7dd75a45f3b15eee77dfd49cf69c878 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66083 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "MatthewChrobak/Annex",
"max_stars_repo_path": "source/Annex/Events/EventService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66084"
} | starcoder | <gh_stars>1-10
using Annex.Assets;
using Annex.Scenes;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Threading;
namespace Annex.Events
{
public sealed class EventService : IService
{
private readonly EventQueue _queue;
public static l... | 2.453512 | a623ba4d2f99e1acd3130975c51ad3a5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66084 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mavn-alliance/MAVN.Service.CustomerManagement",
"max_stars_repo_path": "client/MAVN.Service.CustomerManagement.Client/Models/Responses/CustomerBlockResponse.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66085"
} | starcoder | using MAVN.Service.CustomerManagement.Client.Enums;
namespace MAVN.Service.CustomerManagement.Client.Models.Responses
{
/// <summary>
/// Class which holds response for attempt to block a Customer
/// </summary>
public class CustomerBlockResponse
{
/// <summary>
/// Holds informatio... | 1.883438 | eca1f8f669f2de1070c27426c1bc6e54 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66085 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "L3tum/ComputeSharp",
"max_stars_repo_path": "src/ComputeSharp.SourceGenerators/SyntaxRewriters/ShaderSourceRewriter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66086"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using ComputeSharp.SourceGenerators.Diagnostics;
using ComputeSharp.SourceGenerators.Extensions;
using ComputeSharp.SourceGenerators.Mappings;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
us... | 1.990695 | 9fb5dc68ad68caf7fc7ff96a6fd4afb1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66086 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ArtDevRodrigues/Api-Produtos-Com-CSharp",
"max_stars_repo_path": "apiProdutosCRUD/Models/Produto.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66087"
} | starcoder | <reponame>ArtDevRodrigues/Api-Produtos-Com-CSharp<gh_stars>0
namespace apiProdutosCRUD.Models
{
public class Produto
{
public long Id{get;set;}
public string Nome{get;set;}
public int Quant{get;set;}
public double Preco{get;set;}
}
} | 1.475969 | 8331999d801a42bdf52b13acc777f5dc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66087 | {
"extension": "c-sharp",
"max_stars_count": "143.0",
"max_stars_repo_name": "mini2Dx/SpriteFontPlus",
"max_stars_repo_path": "src/CharacterRange.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66088"
} | starcoder | <reponame>mini2Dx/SpriteFontPlus
namespace SpriteFontPlus
{
public struct CharacterRange
{
public static readonly CharacterRange BasicLatin = new CharacterRange((char)0x0020, (char)0x007F);
public static readonly CharacterRange Latin1Supplement =
new CharacterRange((char)0x00A0, (char)0x00FF);
public stati... | 2.399336 | 3edec3e3882aa8adeadc337d1abd4faf |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66088 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "modi00012/GameFramework",
"max_stars_repo_path": "GameFramework/ObjectPool/ObjectPoolBase.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66089"
} | starcoder | <filename>GameFramework/ObjectPool/ObjectPoolBase.cs
//------------------------------------------------------------
// Game Framework
// Copyright © 2013-2020 <NAME>. All rights reserved.
// Homepage: https://GameFramework.cn/
// Feedback: mailto:<EMAIL>
//---------------------------------------------------------... | 2.836934 | a789e797b8eeedb4581e36848c5a8549 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66089 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "electricessence/Open.Database.Extensions",
"max_stars_repo_path": "Source/Core/Extensions/_.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66090"
} | starcoder | <reponame>electricessence/Open.Database.Extensions<filename>Source/Core/Extensions/_.cs
using Open.Database.Extensions.Core;
using System;
using System.Collections.Generic;
using System.Data;
using System.Diagnostics.Contracts;
using System.Linq;
using System.Linq.Expressions;
using System.Reflection;
namespace Open.... | 2.706959 | 58a7a594851d68a2e00fba19519b31af |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66090 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MorphineForOdin/CyberCraft",
"max_stars_repo_path": "src/TechMarket.API/TechMarket.API/Controllers/ProductsController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66091"
} | starcoder | using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using System.Collections.Generic;
using TechMarket.API.Infrastructure.Domain;
using TechMarket.API.Infrastructure.Services;
using TechMarket.API.Models.Products;
namespace TechMarket.API.Controllers
{
[AllowAnonymous]
[ApiController]
... | 2.46072 | 0402947774b41f45974fb0c0bf76e996 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66091 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "OpenStreetMapSC/MergeAddressesAndBuildings",
"max_stars_repo_path": "MergeAddressesAndBuildings/TaskingInterface.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66092"
} | starcoder | <filename>MergeAddressesAndBuildings/TaskingInterface.cs
using System;
using System.Collections.Generic;
using System.Text;
using System.IO;
using GeoJSON.Net;
using Newtonsoft.Json;
using GeoJSON.Net.Geometry;
using GeoJSON.Net.Feature;
namespace MergeAddressesAndBuildings
{
public class TaskingInterface
{
... | 2.623721 | 4d39cdb4ddf2aa9d6e1fe21e6a199cdd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66092 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pengweiqhca/aliyun-openapi-net-sdk",
"max_stars_repo_path": "aliyun-net-sdk-gpdb/Gpdb/Transform/V20160503/DescribeParametersResponseUnmarshaller.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66093"
} | starcoder | <filename>aliyun-net-sdk-gpdb/Gpdb/Transform/V20160503/DescribeParametersResponseUnmarshaller.cs
/*
* 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. Th... | 1.452734 | 01938566290fcc8e0a7d9b5205a88d66 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66093 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Tanner555/UAlive",
"max_stars_repo_path": "UAlive/Editor/Descriptor/ConstructorUnitDescriptor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66094"
} | starcoder | <reponame>Tanner555/UAlive
using Ludiq;
using Ludiq.Bolt;
using Lasm.UAlive;
[assembly: RegisterDescriptor(typeof(ConstructorUnit), typeof(ConstructorUnitDescriptor))]
namespace Lasm.UAlive
{
public class ConstructorUnitDescriptor : UnitDescriptor<ConstructorUnit>
{
public ConstructorUnitDescriptor(C... | 1.874644 | fc3133502f9302bb1435a34d158ec67c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66094 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JuliusNarvilas/Bedrock",
"max_stars_repo_path": "Assets/Game/Scripts/Grid/GameGridTile.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66095"
} | starcoder | using Common.Grid;
namespace Game.Grid
{
public class GameGridTile : GridTile<GameGridTerrain, GridPosition2D, GameGridChangeContext>
{
private bool m_IsBlocked;
public GameGridTile(GridPosition2D i_Position, GameGridTerrain i_Terrain) : base(i_Position, i_Terrain)
{
}
... | 2.070076 | 7150984d56328c4b9a57e3ed362258ca |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66095 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "illay1994/opentelemetry-dotnet",
"max_stars_repo_path": "src/OpenTelemetry.Api/Trace/SpanCreationOptions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66096"
} | starcoder | <reponame>illay1994/opentelemetry-dotnet
// <copyright file="SpanCreationOptions.cs" company="OpenTelemetry Authors">
// Copyright The OpenTelemetry Authors
//
// 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... | 1.885515 | d929064d1406882019612612bc169e5b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66096 | {
"extension": "c-sharp",
"max_stars_count": "421.0",
"max_stars_repo_name": "hamarb123/dotnet-api-docs",
"max_stars_repo_path": "samples/snippets/csharp/VS_Snippets_ADO.NET/dataworks sqlconnectionstringbuilder.password.2/cs/source.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66097"
} | starcoder | <reponame>hamarb123/dotnet-api-docs<filename>samples/snippets/csharp/VS_Snippets_ADO.NET/dataworks sqlconnectionstringbuilder.password.2/cs/source.cs
// <Snippet1>
using System;
using System.Data.SqlClient;
class Program {
public static void Main() {
SqlConnectionStringBuilder builder = new SqlConnecti... | 2.974412 | 888b39e71f4e802512c1931e6bf53cb7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66097 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "narchibald/dotnet-unifi-protect",
"max_stars_repo_path": "Models/Video.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66098"
} | starcoder | namespace UniFi.Protect.Api.Models;
using Newtonsoft.Json;
public class Video
{
[JsonConstructor]
public Video(
long recordingStart,
long recordingEnd,
long recordingStartLq,
long recordingEndLq,
long timelapseStart,
long timelapseEnd,
lon... | 1.960844 | 4fbafb7b7e7b2c17183b8b38ea82c42f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66098 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "reyasmohammed/WinTenBot.NET",
"max_stars_repo_path": "src/WinTenBot/WinTenBot/Extensions/FluentMigrationExtension.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66099"
} | starcoder | <gh_stars>0
using System;
using FluentMigrator.Builders;
using FluentMigrator.Infrastructure;
namespace WinTenBot.Extensions
{
public static class FluentMigrationExtension
{
public static TNext AsMySqlText<TNext>(this IColumnTypeSyntax<TNext> createTableColumnAsTypeSyntax)
where TNext : IF... | 2.067856 | 06c6b42d95657843cfeeb35f4a5d5f14 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66099 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "0xced/NuGetGallery",
"max_stars_repo_path": "tests/NuGetGallery.Facts/Services/ActionsRequiringPermissionsAdminFacts.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66100"
} | starcoder | <reponame>0xced/NuGetGallery
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ... | 1.811148 | 76401699215a67d5a2a9e08d91a45e91 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66100 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "themotleyfool/AspNet.WebApi.HtmlMicrodataFormatter",
"max_stars_repo_path": "source/AspNet.WebApi.HtmlMicrodataFormatter.Tests/DocumentationControllerTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66101"
} | starcoder | using System;
using System.Linq;
using System.Net.Http;
using System.Web.Http;
using System.Web.Http.Controllers;
using System.Web.Http.Description;
using System.Web.Http.Routing;
using Moq;
using NUnit.Framework;
namespace AspNet.WebApi.HtmlMicrodataFormatter.Tests
{
[TestFixture]
public class DocumentationC... | 2.057998 | befda895b61f77497459cffdefba41b4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66101 | {
"extension": "c-sharp",
"max_stars_count": "2966.0",
"max_stars_repo_name": "benutomo-dev/reactive",
"max_stars_repo_path": "Ix.NET/Source/System.Interactive.Async/System/Linq/Operators/Distinct.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66102"
} | starcoder | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT License.
// See the LICENSE file in the project root for more information.
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
namespace System.Linq
{
... | 2.457259 | ba70b8cfdddc7c433eee1b1fdd5632e4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66102 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "temichelle13/Windows-Community-Toolkit",
"max_stars_repo_path": "Microsoft.Toolkit.Uwp.UI.Animations/Behaviors/Light.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66103"
} | starcoder | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using Windows.UI;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Media;
namespace Microsoft.Toolkit.Uwp... | 2.671634 | 5e7d929b3ccba70221fe737ee0c41793 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66103 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "archi-Doc/Tinyhand",
"max_stars_repo_path": "XUnitTest/Tests/LargeDataTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66104"
} | starcoder | // Copyright (c) All contributors. All rights reserved. Licensed under the MIT license.
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Tinyhand;
using Xunit;
#pragma warning disable SA1139
namespace Tinyhand.Test... | 2.419006 | e307ed536b9b1764fbec07f965b3198c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66104 | {
"extension": "c-sharp",
"max_stars_count": "2670.0",
"max_stars_repo_name": "yangbingqi155/Nagrace",
"max_stars_repo_path": "src/Orchard.Tests/ContentManagement/Handlers/Coordinators/ContentPartDriverCoordinatorTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66105"
} | starcoder | using System.ComponentModel.DataAnnotations;
using System.Linq;
using Autofac;
using Moq;
using NUnit.Framework;
using Orchard.ContentManagement;
using Orchard.ContentManagement.Drivers;
using Orchard.ContentManagement.Drivers.Coordinators;
using Orchard.ContentManagement.Handlers;
using Orchard.ContentManagement.Meta... | 2.031271 | 4718c0bf1413e7b20b0241ce62454015 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66105 | {
"extension": "c-sharp",
"max_stars_count": "14.0",
"max_stars_repo_name": "ZorPastaman/Random-Generators",
"max_stars_repo_path": "Editor/DiscreteProviderEditors/DiscreteProviderEditorsCollection.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66106"
} | starcoder | // Copyright (c) 2020-2021 <NAME> <EMAIL> https://github.com/ZorPastaman/Random-Generators
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using JetBrains.Annotations;
using UnityEditor;
namespace Zor.RandomGenerators.DiscreteProviderEditors
{
[InitializeOnLoad]
public st... | 2.383795 | 66e3f87e7ac17607ff60b11b8f1702a1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66106 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "LykkeCity/MT.OrderbookAggregator",
"max_stars_repo_path": "src/MarginTrading.OrderbookAggregator/Infrastructure/IConvertService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66107"
} | starcoder | using System;
using AutoMapper;
namespace MarginTrading.OrderbookAggregator.Infrastructure
{
public interface IConvertService
{
TResult Convert<TSource, TResult>(TSource source, Action<IMappingOperationOptions<TSource, TResult>> opts);
TResult Convert<TSource, TResult>(TSource source);
}
} | 1.871536 | d5bee46a927c9eb81c350f205b596471 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66107 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TataDvd/Git",
"max_stars_repo_path": "2012/Tempo2012/Tempo2012.EntityFramework/LookUpRealDataContext.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66108"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using Tempo2012.EntityFramework.Models;
using System.Configuration;
using System.Data;
using System.IO;
using Tempo2012.EntityFramework.Interface;
namespace Tempo2012.EntityFramework... | 2.235683 | 48f1fdbb2a621d67330b75653d119995 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66108 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "steveoh/webapi-core",
"max_stars_repo_path": "api.mapserv.utah.gov/Startup.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66109"
} | starcoder | using System;
using System.IO;
using System.Reflection;
using api.mapserv.utah.gov.Extensions;
using MediatR;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Newtonsoft... | 1.902159 | 00e557d7c035bbcef4d249d6b1555b09 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66109 | {
"extension": "c-sharp",
"max_stars_count": "24.0",
"max_stars_repo_name": "microsoft/sarif-pattern-matcher",
"max_stars_repo_path": "Src/Plugins/Tests.Security/ValidatorBaseTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66110"
} | starcoder | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Collections.Generic;
using FluentAssertions;
using Microsoft.CodeAnalysis.Sarif.PatternMatcher.Sdk;
using Microsoft.RE2.Managed;
using Xu... | 1.860172 | 04cf2e64e951b30b5c1d8691a8fc36ad |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66110 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nikistoianov/CSharp-Fundamentals-Homeworks",
"max_stars_repo_path": "CSharp-OOP-Basics/DefiningClasses/06.CompanyRoster/06.StartUp.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66111"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
class Program
{
static void Main()
{
//var company = new Company();
var departments = new List<Department>();
int n = int.Parse(Console.ReadLine());
for (int i = 0; i < n; i++)
{
var employee... | 3.520825 | f8666ec1f7b8381e06c561560fe6b553 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66111 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "d3x0r/xperdex",
"max_stars_repo_path": "games/particle_boy/Body/Shoulder.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66112"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace particle_boy.Body
{
public class Shoulder: Connection
{
public Shoulder( Limb root, Vector3 anchor_on_root_at, Vector3 anchor_orientation, Limb limb )
: base( root, anchor_on_root_at, anchor_orientation, limb )
{
// ... | 1.999498 | 3f72c587ca9af6473ceb6b8600e9bb34 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66112 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "devedse/ImageSharp",
"max_stars_repo_path": "tests/ImageSharp.Tests/Drawing/FillLinearGradientBrushTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66113"
} | starcoder | <reponame>devedse/ImageSharp<gh_stars>1-10
// Copyright (c) <NAME> and contributors.
// Licensed under the Apache License, Version 2.0.
using System;
using System.Globalization;
using System.Linq;
using System.Text;
using SixLabors.ImageSharp.PixelFormats;
using SixLabors.ImageSharp.Processing;
using Xunit;
// ReSh... | 1.940178 | 5a60e06e893bc81099fec6071bfe92a6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66113 | {
"extension": "c-sharp",
"max_stars_count": "61.0",
"max_stars_repo_name": "DrewRhoades/BingMapsRESTToolkit",
"max_stars_repo_path": "Source/Models/SimpleAddress.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66114"
} | starcoder | /*
* Copyright(c) 2017 Microsoft Corporation. All rights reserved.
*
* This code is licensed under the MIT License (MIT).
*
* 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 withou... | 2.51876 | 8e656c6698a17624dbbd18545ff4d32f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66114 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "HarryTheHeath/Slime-Village",
"max_stars_repo_path": "Assets/Scripts/Pathfinding/WorldPosition.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66115"
} | starcoder | <gh_stars>0
using UnityEngine;
public class WorldPosition : MonoBehaviour
{
// Get Mouse Pos in World with Z value of 0f
public static Vector3 GetMouseWorldPos()
{
Vector3 vec = GetMouseWorldPosZ(Input.mousePosition, Camera.main);
vec.z = 0f;
return vec;
}
// Uses ScreenToWo... | 2.332223 | ad8abe538aed5510e31a6e2b426f9d1c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66115 | {
"extension": "c-sharp",
"max_stars_count": "48.0",
"max_stars_repo_name": "attickdoor/Lumina",
"max_stars_repo_path": "src/Lumina.Excel/GeneratedSheets/PatchMark.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66116"
} | starcoder | <filename>src/Lumina.Excel/GeneratedSheets/PatchMark.cs
// ReSharper disable All
using Lumina.Text;
using Lumina.Data;
using Lumina.Data.Structs.Excel;
namespace Lumina.Excel.GeneratedSheets
{
[Sheet( "PatchMark", columnHash: 0x4b87e076 )]
public partial class PatchMark : ExcelRow
{
publi... | 2.275301 | 08adbf8946d4ff1a57fe23311c33c7cf |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66116 | {
"extension": "c-sharp",
"max_stars_count": "15.0",
"max_stars_repo_name": "Sunnie-Shine/Sudoku",
"max_stars_repo_path": "src/Sudoku.Bot.Communication/Models/MessageTemplates/MsgImage.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66117"
} | starcoder | #pragma warning disable CS1591
namespace Sudoku.Bot.Communication.Models.MessageTemplates;
public sealed class MsgImage : MessageToCreate
{
public MsgImage(string? image = null, string? replyMsgId = null) => (Id, Image) = (replyMsgId, image);
public MsgImage SetReplyMsgId(string? msgId)
{
Id = msgId;
retur... | 2.168115 | a2f3318b6e92d88f77fe8cfbd986e580 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66117 | {
"extension": "c-sharp",
"max_stars_count": "80.0",
"max_stars_repo_name": "smorey2/SlackNet",
"max_stars_repo_path": "SlackNet/Interaction/ISlashCommandHandler.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66118"
} | starcoder | using System.Threading.Tasks;
namespace SlackNet.Interaction
{
public interface ISlashCommandHandler
{
Task<SlashCommandResponse> Handle(SlashCommand command);
}
} | 1.727619 | 82710af44d0f618e8cfc4f53a384b69b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66118 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "nmarazov/OpenMU",
"max_stars_repo_path": "src/GameLogic/IAttackable.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66119"
} | starcoder | // <copyright file="IAttackable.cs" company="MUnique">
// Licensed under the MIT License. See LICENSE file in the project root for full license information.
// </copyright>
namespace MUnique.OpenMU.GameLogic
{
using MUnique.OpenMU.AttributeSystem;
using MUnique.OpenMU.DataModel.Entities;
/// <summary>
... | 2.620677 | b1553f12cdb9289b2d0651cb44f51358 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66119 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "Ackara/Mockaroo.NET",
"max_stars_repo_path": "src/Mockaroo/Serialization/KindOfType.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66120"
} | starcoder | <gh_stars>10-100
namespace Acklann.Mockaroo.Serialization
{
internal enum KindOfType
{
Object,
Primitive,
CollectionOfObjects,
CollectionOfPrimitives
}
} | 1.358776 | 9edc48c6a52c15be14d6c7bf87d60185 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66120 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DSMSSTHN/MSDiskManager",
"max_stars_repo_path": "MSDiskManager/ViewModels/CopyMoveDiagViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66121"
} | starcoder | using MSDiskManager.Helpers;
using MSDiskManagerData.Data.Entities;
using MSDiskManagerData.Data.Repositories;
using MSDiskManagerData.Helpers;
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.Linq;
usin... | 2.199977 | 013de619efec3fbf4ded0271ca4eb13d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66121 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Vladimir1965/LargoComposer",
"max_stars_repo_path": "LargoSharedControls/ControlOctave.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66122"
} | starcoder | // <copyright file="ControlOctave.xaml.cs" company="Traced-Ideas, Czech republic">
// Copyright (c) 1990-2021 All Right Reserved
// </copyright>
// <author>vl</author>
// <email></email>
// <date>2021-09-01</date>
// <summary>Part of Largo Composer</summary>
namespace LargoSharedControls {
using LargoSharedClasse... | 1.933684 | e75f7a8452f2238f152a14c8bdfed3b3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66122 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "vlganev/CSharp-Fundamentals",
"max_stars_repo_path": "CSharp OOP Basics/Defining Classes - Exercise/10. Car Salesman/Car.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66123"
} | starcoder | <reponame>vlganev/CSharp-Fundamentals
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Car_Salesman
{
class Car
{
private string model;
private Engine engine;
private int weight;
private string color;
... | 3.338221 | 98115fb42759f71dce89b6f5dc1c06b9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66123 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "jammerware/dotnetrunner",
"max_stars_repo_path": "DotNetRunner/src/Models/Set.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66124"
} | starcoder | using System;
using Newtonsoft.Json;
namespace DotNetRunner.Models
{
public class Set
{
[JsonProperty(PropertyName = "available")]
public DateTime? AvailableDate { get; set; }
[JsonProperty(PropertyName = "total")]
public int? CardCount { get; set; }
public string Code ... | 1.969943 | 083c74f9639f9502c76d94004e6b3111 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66124 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "shana/cppinterop",
"max_stars_repo_path": "src/Tests/MsvcAbiTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66125"
} | starcoder | //
// MsvcAbiTests.cs: Test cases to exercise the MsvcAbi
//
// Author:
// <NAME> (<EMAIL>)
//
// Copyright (C) 2010 <NAME>
//
using System;
using NUnit.Framework;
using Mono.VisualC.Interop.ABI;
namespace Tests {
[TestFixture]
public class MsvcAbiTests : SharedAbiTests {
public Ms... | 0.974897 | ff38ca3198a094d51776a1c3ff33a443 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66125 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "tugberkugurlu/WebAPIDoodle",
"max_stars_repo_path": "src/WebApiDoodle.Web/Common/HttpErrorExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66126"
} | starcoder | <filename>src/WebApiDoodle.Web/Common/HttpErrorExtensions.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.Http;
namespace System.Web.Http {
internal static class HttpErrorExtensions {
internal static HttpError AddAndReturn(this Http... | 2.215553 | e5446e8d6d49aca2a8c2534d2edfdaad |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66126 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "XAOS-Interactive/Aura-Operating-System",
"max_stars_repo_path": "Aura Operating System/Aura OS/System/Network.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66127"
} | starcoder | /*
* PROJECT: Aura Operating System Development
* CONTENT: Init networking
* PROGRAMMERS: <NAME> <<EMAIL>>
*/
using Cosmos.HAL;
namespace Aura_OS.System
{
class NetworkInit
{
public static void Enable()
{
if (RTL8168NIC != null)
{
... | 1.831636 | 4c0d884b88d2faa82c58bcb8c8fb568e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66127 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "juliansangillo/nbg-unity-sdk",
"max_stars_repo_path": "NBG Unity SDK/Assets/Plugins/Naughty Biker Games/Source/Info Objects/Installers/InfoObjectMonoInstaller.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66128"
} | starcoder | <filename>NBG Unity SDK/Assets/Plugins/Naughty Biker Games/Source/Info Objects/Installers/InfoObjectMonoInstaller.cs
using UnityEngine;
using Zenject;
namespace NaughtyBikerGames.SDK.InfoObjects.Installers {
/**
* A Zenject mono installer that installs bindings for the InfoObject API dependencies. To use, at... | 2.17064 | 39f6c06bda6da304c39a3d568f69efd0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66128 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "theophilus96/Unity-Games-for-intro-to-Design-and-Project",
"max_stars_repo_path": "IM2073/Assets/menu.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66129"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
using UnityEngine.UI;
public class menu : MonoBehaviour {
public GameObject Header;
public Button StartGame;
// public Button Credit;
public Button Quit;
// public Button BackToMain;
// public GameObje... | 1.855671 | 3aee7f76e0072d91c4dffe198b9f1829 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66129 | {
"extension": "c-sharp",
"max_stars_count": "572.0",
"max_stars_repo_name": "awei1688/aliyun-openapi-net-sdk",
"max_stars_repo_path": "aliyun-net-sdk-core.Tests/Units/Utils/CommonLogTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66130"
} | starcoder | /*
* 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
* "License"); you... | 1.584214 | 7dff5012f6fd94ca221ff68ed5e4a604 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66130 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Ponsukeee/VRInputModule",
"max_stars_repo_path": "IInputModule.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66131"
} | starcoder | namespace VRUtils.InputModule
{
public interface IInputModule
{
IInputModule HandleInput(InputType input, DeviceInfo deviceInfo);
void OnSet();
void OnUnset();
}
} | 1.660026 | 61bda3b1ffaf8ac7f9be7fb715081800 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66131 | {
"extension": "c-sharp",
"max_stars_count": "351.0",
"max_stars_repo_name": "psydox/OpenMU",
"max_stars_repo_path": "src/Network/Packets/ServerToClient/AddSummonedMonstersToScope.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66132"
} | starcoder | // <copyright file="AddSummonedMonstersToScope.cs" company="MUnique">
// Licensed under the MIT License. See LICENSE file in the project root for full license information.
// </copyright>
namespace MUnique.OpenMU.Network.Packets.ServerToClient
{
/// <summary>
/// This part contains the custom indexer.
///... | 2.852357 | 58a6d31bf70421d8318a7a15f23c835d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66132 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "IvelinMarinov/SoftUni",
"max_stars_repo_path": "02. Programming Fundamentals - Jan2017/04. Arrays - Lab/06. Reverse Array of Strings/ReverseArrayOfStrings.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66133"
} | starcoder | <gh_stars>1-10
using System;
using System.Linq;
namespace _06.Reverse_Array_of_Strings
{
class ReverseArrayOfStrings
{
static void Main()
{
var input = Console.ReadLine().Split(' ');
var reversedInput = input.Reverse().ToArray();
var result = string.Join("... | 3.308181 | a41fdebd4a1cde47c918b4c32a22afc2 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.