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 | 71033 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "franktore/oxyplot",
"max_stars_repo_path": "Source/OxyPlot/Series/RectangleItem.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71034"
} | starcoder | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="RectangleItem.cs" company="OxyPlot">
// Copyright (c) 2014 OxyPlot contributors
// </copyright>
// <summary>
// Represents an item in a RectangleSeries.
// </summary>
// -----... | 3.217452 | 49be06b1b1bde076df165be53ed9da41 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71034 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "comsechq/sugar",
"max_stars_repo_path": "Source/Sugar.Test/Http/HttpClientProviderTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71035"
} | starcoder | <filename>Source/Sugar.Test/Http/HttpClientProviderTest.cs
using System.Net;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Threading;
using System.Threading.Tasks;
using NUnit.Framework;
namespace Sugar.Http
{
[TestFixture]
public class HttpClientProviderTest
{
[Test]
... | 2.693426 | 5c8099f2adf5baa81d15823e3d98e8ed |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71035 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Loonman/strife",
"max_stars_repo_path": "Strife/ViewModels/MainPageViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71036"
} | starcoder | using Discord_UWP.Authentication;
using Discord_UWP.SharedModels;
using Strife.Domain.GuildChannelStorage;
using Strife.Domain.GuildStorage;
using Strife.Domain.MessageStorage;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Windows.UI.Xaml.Inpu... | 2.132115 | 46dfcc2eadb67a3daa6c41acd0b878ce |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71036 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "PixelWizards/com.pixelwizards.lightmap-switching",
"max_stars_repo_path": "Runtime/LightmapSwitchTrack/LightmapSwitchAsset.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71037"
} | starcoder | <filename>Runtime/LightmapSwitchTrack/LightmapSwitchAsset.cs
using UnityEngine;
using UnityEngine.Playables;
using UnityEngine.Timeline;
namespace PixelWizards.LightmapSwitcher
{
public class LightmapSwitchAsset : PlayableAsset, ITimelineClipAsset
{
private ExposedReference<LevelLightmapData> lightMapDat... | 1.965061 | c6911b94323a2ee473a75e7d60b9e2c2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71037 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "scottenriquez/cdktf-alpha-csharp-testing",
"max_stars_repo_path": "resources/.gen/aws/aws/Wafv2WebAclRuleStatementNotStatementStatementOrStatementStatementNotStatementStatementSizeConstraintStatementFieldToMatchBody.cs",
"provenance":... | starcoder | using Amazon.JSII.Runtime.Deputy;
#pragma warning disable CS0672,CS0809,CS1591
namespace aws
{
[JsiiByValue(fqn: "aws.Wafv2WebAclRuleStatementNotStatementStatementOrStatementStatementNotStatementStatementSizeConstraintStatementFieldToMatchBody")]
public class Wafv2WebAclRuleStatementNotStatementStatementOrSta... | 1.329966 | 45bb18215ff641bc243e11c4077ba19d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71038 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Proxyer/farming-hysteresis",
"max_stars_repo_path": "Source/Command_Increment.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71039"
} | starcoder | using UnityEngine;
using Verse;
namespace FarmingHysteresis
{
internal class Command_Increment : Command_Action
{
public override GizmoResult GizmoOnGUI(Vector2 loc, float maxWidth)
{
GizmoResult result = base.GizmoOnGUI(loc, maxWidth);
Rect rect = new Rect(loc.x, loc.y, GetWidth(maxWidth), 75f);
Rect p... | 2.036098 | 47db2e1a99600692f5f4ce1eef8c30be |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71039 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "theodoreKor/CodingBootcamp-Project2",
"max_stars_repo_path": "Project2/Project2/Views/PublicChat/Index.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:71040"
} | starcoder | @using Microsoft.AspNet.Identity
@{
ViewBag.Title = "Index";
}
<div class="container-fluid">
<div class="row">
<!-- ============================== User List ============================== -->
<div class="col-md-3">
<div class... | 2.255188 | c38ff393bf83245294156ffb1beaf4ef |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71040 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "deathzombee/GatherBuddy",
"max_stars_repo_path": "GatherBuddy/Gui/Interface.RecordTab.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71041"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Numerics;
using Dalamud.Interface;
using GatherBuddy.Config;
using GatherBuddy.Enums;
using GatherBuddy.FishTimer;
using GatherBuddy.Plugin;
using ImGuiNET;
using OtterGui;
using OtterGui.Table;
us... | 1.647621 | 1a9e70090bd4c97332b083fe071b3fc4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71041 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JonnyTech/Wu10Man",
"max_stars_repo_path": "Wu10Man/UserControls/Models/WindowsServiceStatusModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71042"
} | starcoder | namespace WereDev.Utils.Wu10Man.UserControls.Models
{
public class WindowsServiceStatusModel : ModelBase
{
public WindowsServiceStatusModel(string serviceName)
{
_serviceName = serviceName;
}
private string _serviceName = null;
public string ServiceName
... | 2.346144 | f9a4823d985a0c59b8323b076e5504ee |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71042 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Finalet/Acitve-defence",
"max_stars_repo_path": "Active defence/Android/Assets/Scripts/EndlessMode.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71043"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class EndlessMode : MonoBehaviour {
public GameObject slider;
public GameObject slider1;
public GameObject slider2;
public GameObject slider3;
public GameObject MainCamera;
// Use this for initialization
... | 1.760661 | 60de855b07fc318063205a0427cd8b9f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71043 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "VladimirVLF/startlist.club",
"max_stars_repo_path": "FlightJournal.Web/Views/CommentaryTypeAdmin/_PartialBackToList.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:71044"
} | starcoder | <reponame>VladimirVLF/startlist.club<gh_stars>10-100
@model FlightJournal.Web.Models.Training.Predefined.CommentaryType
@Html.ActionLink(_("Back to List of flight phases"), "Index", null, new { @class = "btn btn-default" })
| 1.356564 | 18e3c9eed1dde3b0c852a71eb65b0b8a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71044 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "couven92/thnetii-windows-api",
"max_stars_repo_path": "src-native/THNETII.WinApi.Headers.WinNT/SE_IMAGE_SIGNATURE_TYPE.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71045"
} | starcoder | namespace THNETII.WinApi.Native.WinNT
{
// C:\Program Files (x86)\Windows Kits\10\Include\10.0.17134.0\um\winnt.h, line 11243
/// <summary>
/// Image signature types.
/// </summary>
public enum SE_IMAGE_SIGNATURE_TYPE
{
SeImageSignatureNone = 0,
SeImageSignatureEmbedded,
... | 1.427184 | 7016ebde98a1896e278dae9b7ab2a306 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71045 | {
"extension": "c-sharp",
"max_stars_count": "777.0",
"max_stars_repo_name": "Sun-Joong/aifh",
"max_stars_repo_path": "vol3/vol3-csharp-examples/AIFH-Vol3/Examples/Timeseries/PredictSunspots.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71046"
} | starcoder | <reponame>Sun-Joong/aifh<gh_stars>100-1000
using AIFH_Vol3.Core.General.Data;
using AIFH_Vol3.Examples.Learning;
using AIFH_Vol3_Core.Core.ANN;
using AIFH_Vol3_Core.Core.ANN.Activation;
using AIFH_Vol3_Core.Core.ANN.Train;
using AIFH_Vol3_Core.Core.General.Data;
using AIFH_Vol3_Core.Core.Util;
using CsvHelper;
... | 2.654778 | 6e6923a55b7bada986f5e97ab0d0e630 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71046 | {
"extension": "c-sharp",
"max_stars_count": "30.0",
"max_stars_repo_name": "cloudnative-netcore/modernstore",
"max_stars_repo_path": "src/ProductionService/Publishers/ProductPublisher.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71047"
} | starcoder | <filename>src/ProductionService/Publishers/ProductPublisher.cs<gh_stars>10-100
using System;
using System.Threading;
using System.Threading.Tasks;
using Dapr.Client;
using MediatR;
using N8T.Infrastructure.Cache;
using ProductionService.Core.Domain.Event;
using ProductionService.Core.Infrastructure;
namespace Producti... | 2.317764 | aa1480d9225326b779d6eae2f48001e1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71047 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ronbrogan/LetsEncryptManager",
"max_stars_repo_path": "LetsEncryptManager.Core/Challenges/IDnsChallengeHandler.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71048"
} | starcoder | using System.Threading.Tasks;
namespace LetsEncryptManager.Core.Challenges
{
public interface IDnsChallengeHandler
{
Task<ICleanableDnsRecord> HandleAsync(string type, string fullyQualifiedName, string value);
}
}
| 1.599279 | 16963f042d2b36718c074e87a4fb5a39 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71048 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "TRYMYOUT/lookin",
"max_stars_repo_path": "Watcher Plugins/Team Foundation Server/TFSPlugin.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71049"
} | starcoder | <reponame>TRYMYOUT/lookin
using System;
using System.IO;
using System.Collections.Generic;
using System.Diagnostics;
using System.Text;
using System.Threading;
using System.Reflection;
using System.Windows.Forms;
using System.Collections;
using System.Collections.Specialized;
using System.Xml;
using Microso... | 2.32745 | a68d1f3465f133fdae458af60f374f60 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71049 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "rockyjvec/SpaceWasm",
"max_stars_repo_path": "GameWasm/WebAssembly/Test/Align2.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71050"
} | starcoder | using System;
namespace GameWasm.Webassembly.Test
{
class Align2 : Test
{
public Align2(string path) : base(path)
{
}
public override void test()
{
var filename = "align2.wasm";
var store = new Store();
var test = store.LoadModule(... | 2.22717 | e0070c76850b76d866e0030efa22667d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71050 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "986547004/ElectronicObserver",
"max_stars_repo_path": "ElectronicObserver/Data/ShipType.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71051"
} | starcoder | using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ElectronicObserver.Data {
/// <summary>
/// 艦種
/// </summary>
[DebuggerDisplay( "[{ID}] : {Name}" )]
public... | 2.417907 | cbe08a11db7c7d5eb88851e9de560bf0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71051 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "philipbawn/SadConsole",
"max_stars_repo_path": "src/SadConsole/Input/ConsoleViewInputHandler.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71052"
} | starcoder | #if XNA
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Input;
#endif
namespace SadConsole.Input
{
public class ConsoleViewInputHandler
{
private bool _mouseDown;
private Point _mouseLastLocation;
/// <summary>
/// Allows the right-mouse button to drag the view ar... | 2.638827 | 9f9994a8b5932bfe874effef597bd3a1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71052 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kevingosse/Gapotchenko.FX",
"max_stars_repo_path": "Source/Tests/Gapotchenko.FX.Math.Geometry.Tests/HammingDistanceTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71053"
} | starcoder | using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Gapotchenko.FX.Math.Geometry.Tests
{
[TestClass]
public class HammingDistanceTests
{
[TestMethod]
public void Ha... | 2.88342 | 02e6666acda6f2f465bc3e4fb5beb347 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71053 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "helviojunior/safeid",
"max_stars_repo_path": "IAMServer/InstallWizard/CreateScripts/SqlServer/S0034_S01_audit_identity.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71054"
} | starcoder | using System;
namespace InstallWizard
{
public class S0034_S01_audit_identity : ICreateScript
{
public string Command
{
get
{
return @"
IF (NOT EXISTS (SELECT * FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_SCHEMA = 'dbo' AND TABLE_NAME ... | 2.034206 | 2a6617a48e3917a1c40a7ffd85e2d5e5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71054 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AnatoliyZaginay/My-Homework-Semester-3",
"max_stars_repo_path": "Homeworks/Homework_2/Task_2/MultithreadedLazy.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71055"
} | starcoder | using System;
namespace Task_2
{
/// <summary>
/// Multithreaded implementation of lazy.
/// </summary>
/// <typeparam name="T">Type of the supplier's return value.</typeparam>
public class MultithreadedLazy<T> : ILazy<T>
{
private Func<T> supplier;
private T calculationResult... | 3.774865 | 313b4f40f9244b7803cd33e9cfd3cd17 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71055 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "raafacachoeira/DependencyInjection",
"max_stars_repo_path": "DependencyInjection/Controllers/DocumentsController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71056"
} | starcoder | using DependencyInjection.Models;
using DependencyInjection.Services;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Options;
using System;
namespace DependencyInjection.Controllers
{
public class DocumentsController : Controller
{
private readonly IDocumentRepository _repository;
... | 2.631362 | d7b1660bbda01baf9eba90076184d7e3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71056 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "hypersolutions/hyperfabric",
"max_stars_repo_path": "src/HyperFabric/Builders/FabricClientBuilder.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71057"
} | starcoder | <filename>src/HyperFabric/Builders/FabricClientBuilder.cs
using System;
using System.Collections.Generic;
using System.Security.Cryptography.X509Certificates;
using System.Threading.Tasks;
using HyperFabric.Core;
using HyperFabric.Logging;
using Microsoft.ServiceFabric.Client;
using Microsoft.ServiceFabric.Common.Secur... | 2.356292 | 1b5e7110fcf79bfe8640ad328604eefd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71057 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "adam-march/BannerlordCheats",
"max_stars_repo_path": "Patches/Clan/ExtraClanPartySizePatch.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71058"
} | starcoder | <reponame>adam-march/BannerlordCheats
using BannerlordCheats.Settings;
using HarmonyLib;
using TaleWorlds.CampaignSystem;
using TaleWorlds.CampaignSystem.SandBox.GameComponents.Party;
namespace BannerlordCheats.Patches
{
[HarmonyPatch(typeof(DefaultPartySizeLimitModel), nameof(DefaultPartySizeLimitModel.GetPartyM... | 1.942309 | 0a54720c53d88c235b3c54789dd871e4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71058 | {
"extension": "c-sharp",
"max_stars_count": "104.0",
"max_stars_repo_name": "SeanKilleen/InMemoryCQRSReplication",
"max_stars_repo_path": "src/Akka.CQRS.Pricing/MatchAggregatorSnapshot.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71059"
} | starcoder | <filename>src/Akka.CQRS.Pricing/MatchAggregatorSnapshot.cs
using System;
using System.Collections.Generic;
using System.Text;
using Akka.CQRS.Pricing.Events;
namespace Akka.CQRS.Pricing
{
/// <summary>
/// Represents the point-in-time state of the match aggregator at any given time.
/// </summary>
pub... | 2.415951 | 6cf6d3b77427978a6205a593639755a4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71059 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "omerfbas/ImageProcessingEditor",
"max_stars_repo_path": "WindowsFormsApplication1/DigitalResize.designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71060"
} | starcoder | <reponame>omerfbas/ImageProcessingEditor<filename>WindowsFormsApplication1/DigitalResize.designer.cs
namespace SayisalResize
{
partial class Form1
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
... | 1.586997 | bfff7dfc8ef3d7f0093d94c66b00624b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71060 | {
"extension": "c-sharp",
"max_stars_count": "15.0",
"max_stars_repo_name": "Fucktheworld666/golava-applepie",
"max_stars_repo_path": "source/GoLava.ApplePie/GoLava.ApplePie/Clients/UrlProviderBase.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71061"
} | starcoder | namespace GoLava.ApplePie.Clients
{
/// <summary>
/// Base implementation of the <see cref="IUrlProvider"/> interface.
/// </summary>
public abstract class UrlProviderBase : IUrlProvider
{
/// <summary>
/// Gets the authentication token URL.
/// </summary>
public str... | 2.303081 | ccbf4b9388513b07987e6e4937354d4d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71061 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "composite/ArangoDB.Net",
"max_stars_repo_path": "Driver/Entity/CollectionStatus.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71062"
} | starcoder | /*
* DISCLAIMER
*
* Copyright 2016 ArangoDB GmbH, Cologne, Germany
*
* 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 ap... | 2.234305 | 68744acc6295f80fc93875676c32d211 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71062 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SkillsFundingAgency/DC-ILR-1718-ValidationService",
"max_stars_repo_path": "src/ESFA.DC.ILR.Tests.Model/TestDPOutcome.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71063"
} | starcoder | using System;
using ESFA.DC.ILR.Model.Interface;
namespace ESFA.DC.ILR.Tests.Model
{
public class TestDPOutcome : IDPOutcome
{
public string OutType { get; set; }
public long? OutCodeNullable { get; set; }
public DateTime? OutStartDateNullable { get; set; }
public DateTime? ... | 1.305445 | c62c826b18b7559a51d530539365a5e2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71063 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nadjibus/CrystalAI",
"max_stars_repo_path": "CrystalAI/Source/Actors/DecisionMakerBase.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71064"
} | starcoder | <gh_stars>0
// MIT License
//
// Copyright (c) 2016-2017 Bismur Studios Ltd.
// Copyright (c) 2016-2017 <NAME>
//
// DecisionMakerBase.cs is part of Crystal AI.
//
// Crystal AI is free software: you can redistribute it and/or modify
// it under the terms of the MIT License
//
// Crystal AI is distributed in th... | 2.388393 | 776f894cbc3fad7fad3a913f0f45589a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71064 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tripathi-gaurav/AttackSurfaceAnalyzer",
"max_stars_repo_path": "Lib/Utils/AssemblyInfo.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71065"
} | starcoder | <reponame>tripathi-gaurav/AttackSurfaceAnalyzer
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT License.
using System.Resources;
[assembly: NeutralResourcesLanguage("en")]
namespace AttackSurfaceAnalyzer.Utils
{
} | 0.828932 | efd8c93fbc4afc41d87e9165caad8686 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71065 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "mehrandvd/Tralus",
"max_stars_repo_path": "Framework/Source/Tralus.Framework.BusinessModel/Entities/EntityOperationPermission.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71066"
} | starcoder | <reponame>mehrandvd/Tralus
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DevExpress.ExpressApp.Security;
namespace Tralus.Framework.BusinessModel.Entities
{
public class EntityOperationPermission : IOperationPermission
{
publi... | 1.573185 | db7d69366f37d44d3187f178221fac0e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71066 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "dong-nguyen-hd/MISA-EMIS",
"max_stars_repo_path": "BE/MISA.Core/Extensions/Validation/QualityAttribute.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71067"
} | starcoder | <gh_stars>1-10
using MISA.Core.Data;
using System;
using System.ComponentModel.DataAnnotations;
namespace MISA.Core.Extensions.Validation
{
/// <summary>
/// Lớp tuỳ biến ValidationAttribute: xác định xem giá trị của Quality nhập vào có hợp lệ
/// CreatedBy: NDDONG (14/06/2021)
/// </summary>
clas... | 2.782711 | e9330b1c157b2b516d0e865f73cade37 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71067 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TrustMan/TOSoB",
"max_stars_repo_path": "src/Orchard.Cms.Web/Modules/Orchard.ContentFields/Settings/TextFieldSettings.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71068"
} | starcoder | <filename>src/Orchard.Cms.Web/Modules/Orchard.ContentFields/Settings/TextFieldSettings.cs
using Orchard.ContentManagement.Metadata.Builders;
namespace Orchard.ContentFields.Settings
{
public class TextFieldSettings
{
public string Hint { get; set; }
}
} | 1.59954 | 379bcac6973222fbff6688351211d381 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71068 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "Mhburg/VanillaFurnitureExpanded-Security",
"max_stars_repo_path": "Source/VFESecurity/Defs/WorkGiverDefOf.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71069"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Reflection.Emit;
using System.Text;
using UnityEngine;
using Verse;
using Verse.AI;
using Verse.AI.Group;
using RimWorld;
using HarmonyLib;
namespace VFESecurity
{
[DefOf]
public static class WorkGiverDef... | 1.305417 | f291f23c1c1bca1b404cdae831479e78 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71069 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "hnabbasi/XamarinCommunityToolkit",
"max_stars_repo_path": "XamarinCommunityToolkit.UnitTests/Views/SegmentedView_Tests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71070"
} | starcoder | <gh_stars>0
using System;
using Xamarin.CommunityToolkit.UI.Views;
using Xamarin.Forms;
using Xunit;
namespace Xamarin.CommunityToolkit.UnitTests.Views
{
public class SegmentedView_Tests
{
[Fact]
public void Text_Segments_Show()
{
var sv = new SegmentedView
{
ItemsSource = new string[] { "A", "B", "... | 2.254976 | 93d85ca24351dbb28456ec879fdec10f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71070 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "thismaker/LiquidSnow",
"max_stars_repo_path": "src/Aba/Server/Server/Storage/StorageHandler.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71071"
} | starcoder | using Azure.Storage;
using Azure.Storage.Blobs;
using System;
using System.IO;
using System.Threading.Tasks;
namespace Thismaker.Aba.Server.Storage
{
public abstract class StorageHandler
{
public string AccountName { get; set; }
public string ContainerName { get; set; }
public string... | 2.716262 | 36f555b1aafc532b6aefdcca565eeced |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71071 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "CornyCodingCorn/BlocketJumper",
"max_stars_repo_path": "Assets/Scripts/Sound/SoundManager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71072"
} | starcoder | using UnityEngine.Audio;
using UnityEngine;
using System;
public class SoundManager : MonoBehaviour
{
public AudioMixerGroup audioMixerGroup;
public Sound[] sounds;
public GameObject source;
[HideInInspector]
public AudioSource playingSound = null;
[HideInInspector]
public bool isPlayingS... | 2.701155 | f4cb201800632299b83edbe01f62def4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71072 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nohros/nohros-must",
"max_stars_repo_path": "src/base/common/data/repositories/IStateRepositoryFactory.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71073"
} | starcoder | using System;
using System.Collections.Generic;
namespace Nohros.Data
{
/// <summary>
/// A factory for <see cref="IAppState"/> class.
/// </summary>
public interface IStateRepositoryFactory
{
/// <summary>
/// Creates a instance of the <see cref="IAppState"/> class using
/// the giv... | 2.495735 | 4b64a98658487158a768b4a209599e43 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71073 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Turnerj/RocketBot",
"max_stars_repo_path": "src/rlbot.flat/rlbot/flat/QuickChat.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71074"
} | starcoder | <gh_stars>1-10
// <auto-generated>
// automatically generated by the FlatBuffers compiler, do not modify
// </auto-generated>
namespace rlbot.flat
{
using global::System;
using global::FlatBuffers;
public struct QuickChat : IFlatbufferObject
{
private Table __p;
public ByteBuffer ByteBuffer { get { return __p.b... | 1.897914 | 4621058f8e6bec3a734ad8c7be51d6d1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71074 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "twyblade64/Sacred-Cellar",
"max_stars_repo_path": "Assets/Scripts/Tools/Runtime/EnumMaskPropertyDrawer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71075"
} | starcoder | <reponame>twyblade64/Sacred-Cellar<filename>Assets/Scripts/Tools/Runtime/EnumMaskPropertyDrawer.cs
// (C) 2014 ERAL
// Distributed under the Boost Software License, Version 1.0.
// (See copy at http://www.boost.org/LICENSE_1_0.txt)
using UnityEngine;
#if UNITY_EDITOR
using UnityEditor;
[CustomPropertyDrawer(typeof(... | 2.093239 | 4df95c7d145b2dea83fb9f56f1719aac |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71075 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mgnoonan/TestPollyCaching",
"max_stars_repo_path": "Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71076"
} | starcoder | using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Extensions.Caching.Memory;
using Polly;
using Polly.Caching;
using Polly.Caching.Memory;
using Polly.Contrib.DuplicateRequestCollapser;
using Serilog;
using Serilog.Formatting.Compact;
using... | 2.433768 | a0abf27bd0a74bfa0a0bb9af41bd5b45 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71076 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Fornan-II/Snap-Group-3",
"max_stars_repo_path": "Assets/Maxen/EndGame/EndPanel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71077"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class EndPanel : MonoBehaviour
{
[SerializeField] protected CelebPhotoDisplay[] displays;
private void Start()
{
gameObject.SetActive(false);
}
public void DisplayPhotos(Photo[] photos)
{
ga... | 2.346714 | 1816660924c811a33a2892a38b34f99b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71077 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Niklas-Seppala/steam-api-core",
"max_stars_repo_path": "SteamWebRequest/SteamApi_Tests/DotaApiClient/GetRecentDcpEvents_Tests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71078"
} | starcoder | using System.Threading;
using System.Threading.Tasks;
using Xunit;
namespace Client.Dota
{
/// <summary>
/// Test class for dota 2 api client's GetRecentDcpEvents method
/// </summary>
public class GetRecentDcpEvents_Tests : ApiTests
{
/// <summary>
/// Setup
/// </summary>... | 2.465754 | 6712891df677e97e57cbb64747a17fc0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71078 | {
"extension": "c-sharp",
"max_stars_count": "681.0",
"max_stars_repo_name": "weiplanet/Casbin.NET",
"max_stars_repo_path": "NetCasbin/Model/Assertion.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71079"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using NetCasbin.Rbac;
using NetCasbin.Util;
namespace NetCasbin.Model
{
/// <summary>
/// Represents an expression in a section of the model.
/// For example: r = sub, obj, act
/// </summary>
public class Assertion
{
pu... | 2.467594 | ef0369493f667a763216ea0a350b2e16 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71079 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "dibley1973/Dibware.Template.Presentation.Web",
"max_stars_repo_path": "Dibware.Template.Presentation.Web/Exceptions/ModelStateException.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71080"
} | starcoder | <gh_stars>1-10
using Dibware.Template.Presentation.Web.Resources;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Security.Permissions;
using System.Text;
using System.Web.Http.ModelBinding;
namespace Dibware.Template.Presentation.Web.Exceptions
{
... | 2.47383 | 3a5a8e92094b78ef728ca2e4c1a3001c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71080 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pavelMihhailov/Merchain",
"max_stars_repo_path": "Merchain/Web/Merchain.Web/Views/Info/ContactUs.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:71081"
} | starcoder | <filename>Merchain/Web/Merchain.Web/Views/Info/ContactUs.cshtml
@using Merchain.Web.ViewModels.Email
@model EmailInputModel
@{
this.ViewData["Title"] = "Контакти";
}
<div class="page-top-info">
<div class="container">
<h4>Контакти</h4>
<div class="site-pagination">
<a asp-area="" ... | 2.32613 | 0e563d63a2df195bbaae82673411309a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71081 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "musashibg/BikeAround",
"max_stars_repo_path": "BikeAround_MvvmLight/BikeAround.Service/BrakeKind.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71082"
} | starcoder | using System.Runtime.Serialization;
namespace BikeAround.Service
{
[DataContract]
public enum BrakeKind
{
[EnumMember]
None,
[EnumMember]
Rim,
[EnumMember]
Disc,
[EnumMember]
Drum,
[EnumMember]
BackPedal,
}
} | 1.791597 | 6cc82a7047784c3507cda8776b8d3b0c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71082 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Jsandoval12/Tarea-pilares",
"max_stars_repo_path": "tarea pilares/Animales/Burro.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71083"
} | starcoder | <reponame>Jsandoval12/Tarea-pilares
public class Burro : Animal
{
} | 1.081337 | ab716ff44ae41da791ef36e682b4107c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71083 | {
"extension": "c-sharp",
"max_stars_count": "441.0",
"max_stars_repo_name": "vinhig/rbfx",
"max_stars_repo_path": "Source/Urho3D/CSharp/Managed/Math/BoundingBox.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71084"
} | starcoder | //
// Copyright (c) 2008-2019 the Urho3D project.
// Copyright (c) 2017-2020 the rbfx project.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without li... | 2.442239 | be67c37e0f746737cc09c6c73839dd8c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71084 | {
"extension": "c-sharp",
"max_stars_count": "19.0",
"max_stars_repo_name": "PacktPublishing/Object-Oriented-Programming-with-C-7",
"max_stars_repo_path": "Code/Chapter_4/Code_4-7.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71085"
} | starcoder | public class Computer {
public int Id { get; set; }
public string ModelNumber { get; set; }
public Company Manufacturer { get; set; }
public Ram Ram { get; set; }
public MotherBoard MotherBoard { get; set; }
public CPU CPU { get; set; }
}
public class Ram {
// Ram properties and methods
}
... | 2.032954 | ed7df97107c4fb1ba8fd3a4436e86807 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71085 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Gramatus/HueConfigApp",
"max_stars_repo_path": "ConsoleTestApp/ApiObjects/Lights/State/ILightStateXy.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71086"
} | starcoder | using System.Text.Json.Serialization;
namespace ConsoleTestApp.ApiObjects.Lights.State
{
public interface ILightStateXy {
[JsonPropertyName("xy")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenNull)]
public double[] XY_position { get; set; }
[JsonPropertyName("colormode")]
[JsonConverter(typeo... | 1.95115 | 78beecae0206c3e1336b9968ebd37b5e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71086 | {
"extension": "c-sharp",
"max_stars_count": "469.0",
"max_stars_repo_name": "lefb766/mono",
"max_stars_repo_path": "mcs/tests/test-iter-01.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71087"
} | starcoder | // Compiler options: -langversion:default
using System;
using System.Collections;
class X {
static IEnumerator GetIt ()
{
yield return 1;
yield return 2;
yield return 3;
}
static IEnumerable GetIt2 ()
{
yield return 1;
yield return 2;
yield return 3;
}
public static int Main ()
{
IEnumerator ... | 3.013639 | f24c30fd3422e1f588f67f371e196dc0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71087 | {
"extension": "c-sharp",
"max_stars_count": "834.0",
"max_stars_repo_name": "mavasani/visualstudio-docs",
"max_stars_repo_path": "docs/vsto/codesnippet/CSharp/Trin_VstcoreProgrammingControlsExcelCS/Sheet1.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71088"
} | starcoder | <reponame>mavasani/visualstudio-docs
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.17348
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is r... | 1.614103 | 3deeca4c6c7863adccc8ea073cc5bc90 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71088 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "poteb/ConfigurationService",
"max_stars_repo_path": "src/Config.DataProvider.File/ApplicationDataAccess.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71089"
} | starcoder | using Newtonsoft.Json;
using pote.Config.DbModel;
using pote.Config.Shared;
namespace pote.Config.DataProvider.File;
public class ApplicationDataAccess : IApplicationDataAccess
{
private readonly IFileHandler _fileHandler;
public ApplicationDataAccess(IFileHandler fileHandler)
{
_fileHandler = f... | 2.318291 | 308af046eac3132fc3ffe898298119af |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71089 | {
"extension": "c-sharp",
"max_stars_count": "23.0",
"max_stars_repo_name": "bubdm/FlowGraph",
"max_stars_repo_path": "FlowGraph/FlowGraphBase/Process/ProcessingContext.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71090"
} | starcoder | using System;
using System.Collections.Generic;
using FlowGraphBase.Node;
namespace FlowGraphBase.Process
{
/// <summary>
///
/// </summary>
public class ProcessingContext
{
/// <summary>
///
/// </summary>
public enum ProcessingContextState
{
... | 2.628764 | cd7e3b1e48159a59ecaf1d9363aba5bf |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71090 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "everyday-solution/ESolutions.LifeLog",
"max_stars_repo_path": "Web.UI.Mobile/Default.aspx.designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71091"
} | starcoder | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//----------------------------------------... | 1.500154 | 40b826ed8d885a972b7a0fbef9365fcc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71091 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "maximburyak/Voron.Graph",
"max_stars_repo_path": "Voron.Graph/Algorithms/ShortestPath/BaseSingleDestinationShortestPath.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71092"
} | starcoder | <filename>Voron.Graph/Algorithms/ShortestPath/BaseSingleDestinationShortestPath.cs<gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using Voron.Graph.Algorithms.Traversal;
namespace Voron.Graph.Algorithms.ShortestPat... | 2.671731 | e084618dafd848fa60c222b5862b3bba |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71092 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Rouz1130/SeafoodCod",
"max_stars_repo_path": "src/SeafoodCod/Models/ApplicationDbContext.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71093"
} | starcoder | <filename>src/SeafoodCod/Models/ApplicationDbContext.cs
using Microsoft.AspNetCore.Identity.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore;
namespace SeafoodCod.Models
{ // class IdentityDbContext, which extends on Entity Framework's DbContext class to work with user authentication. //
public... | 2.640949 | 8dec57f9a25da95931c87531ece4d42c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71093 | {
"extension": "c-sharp",
"max_stars_count": "76.0",
"max_stars_repo_name": "osstotalsoft/nbb",
"max_stars_repo_path": "src/Orchestration/NBB.ProcessManager.Definition/SideEffects/RequestTimeout.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71094"
} | starcoder | <gh_stars>10-100
// Copyright (c) TotalSoft.
// This source code is licensed under the MIT license.
using System;
using NBB.Core.Effects;
namespace NBB.ProcessManager.Definition.SideEffects
{
public interface IRequestTimeoutHandler<TMessage>
{
}
public class RequestTimeout<TMessage> : ISideEffect... | 1.930034 | 5e138fd65ec46e289325d7392c391f88 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71094 | {
"extension": "c-sharp",
"max_stars_count": "31.0",
"max_stars_repo_name": "stschake/meshReader",
"max_stars_repo_path": "meshBuilderGui/Interface.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71095"
} | starcoder | namespace meshBuilderGui
{
partial class Interface
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
... | 2.00826 | 491811f82a6ccbc83a03fa7246c6195e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71095 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "julianbartel/csharp-solution-template",
"max_stars_repo_path": "test/NetCoreTemplate.Test.xUnit/GlobalSuppressions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71096"
} | starcoder | // Copyright (c) <Author>. All rights reserved.
using System.Diagnostics.CodeAnalysis;
[assembly: SuppressMessage(
"StyleCop.CSharp.NamingRules",
"SA1300:Element should begin with upper-case letter",
Justification = "Naming is intended",
Scope = "namespace",
Target = "~N:NetCoreTemplate.Test.xUni... | 1.603147 | ce5d2a064d3ba1f35bfad7ae01bff654 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71096 | {
"extension": "c-sharp",
"max_stars_count": "35.0",
"max_stars_repo_name": "NMFCode/NMF",
"max_stars_repo_path": "Interop/EcoreInterop/Model/EEnumLiteral.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71097"
} | starcoder | <filename>Interop/EcoreInterop/Model/EEnumLiteral.cs
//------------------------------------------------------------------------------
// <auto-generated>
// Dieser Code wurde von einem Tool generiert.
// Laufzeitversion:4.0.30319.42000
//
// Änderungen an dieser Datei können falsches Verhalten verursachen u... | 1.751958 | af6749ddd46d330ea277e819178876fd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71097 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SnowPhoenix0105/OscilloscopeKernel",
"max_stars_repo_path": "OscilloscopeKernel/Tools/CachedPositonPool.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71098"
} | starcoder | using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Text;
namespace OscilloscopeKernel.Tools
{
public class CachedPositonPool
{
private readonly LinkedList<VariablePosition> pool = new LinkedList<VariablePosition>();
private IEnumerator<VariableP... | 3.004126 | 0cfc6570a24e6503cc50aba64746c4a6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71098 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "pfpack/early-dependency",
"max_stars_repo_path": "src/dependency-core/Core/Dependency.01/Map/Map.Provider.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71099"
} | starcoder | <filename>src/dependency-core/Core/Dependency.01/Map/Map.Provider.cs<gh_stars>1-10
using System;
namespace PrimeFuncPack;
partial class Dependency<T>
{
public Dependency<TResult> Map<TResult>(
Func<IServiceProvider, T, TResult> map)
=>
InnerMap(
map ?? throw new ArgumentNullExc... | 2.248567 | ffe4b262256d794e68f003c00c78a52d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71099 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nartalex/apu",
"max_stars_repo_path": "AllowedPlacesUtility.NET5/Form1.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71100"
} | starcoder | <filename>AllowedPlacesUtility.NET5/Form1.Designer.cs
namespace AllowedPlacesUtility.NET5
{
partial class Form1
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean ... | 2.131812 | 4e78fd04087940e6760953252722211d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71100 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "theorangecurtain/EthRly16",
"max_stars_repo_path": "src/Toc.EthRly.Core/Logic/MessageGovernor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71101"
} | starcoder | using System;
using System.Threading.Tasks;
using Toc.EthRly.Core.Exceptions;
using Toc.EthRly.Core.Interface;
using Toc.EthRly.Core.Models;
namespace Toc.EthRly.Core
{
public class MessageGovernor : IDisposable
{
private readonly ICache _cache;
private readonly ITransceiver _transceiver;
... | 2.62821 | b02d4b5726fe9dc5977554bd58be8033 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71101 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Aristophanes888/SoliditySHA3Miner",
"max_stars_repo_path": "SoliditySHA3Miner/NetworkInterface/PoolInterface.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71102"
} | starcoder | <filename>SoliditySHA3Miner/NetworkInterface/PoolInterface.cs
using Nethereum.Hex.HexTypes;
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.NetworkInformation;
using System.Numerics;
using System.Threading.Tasks;
using System.Timers;
namespace SoliditySH... | 2.162072 | 207607bffc19e98cd10f99a130234f83 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71102 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "polartron/open-netcode",
"max_stars_repo_path": "Packages/com.unity.entities@0.17.0-preview.42/Unity.Entities.CodeGen/EntitiesILHelpers.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71103"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using Mono.Cecil;
using Mono.Cecil.Cil;
#if !UNITY_DOTSRUNTIME
using UnityEngine.Scripting;
#endif
using MethodAttributes = Mono.Cecil.MethodAttributes;
using MethodBody = Mono.Cecil.Cil.MethodBody;
namespace Unity.Entities.CodeGen
{
static class E... | 1.985343 | 9e751fb6634195b954944efacb5fcd24 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71103 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "GetFunkin/Funkin.NET",
"max_stars_repo_path": "Funkin.NET/Graphics/Sprites/BasicSpriteText.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71104"
} | starcoder | <reponame>GetFunkin/Funkin.NET
using Funkin.NET.Graphics.Utilities;
using osu.Framework.Graphics.Sprites;
namespace Funkin.NET.Graphics.Sprites
{
public class BasicSpriteText : SpriteText
{
public BasicSpriteText()
{
Shadow = true;
Font = FunkinFont.DefaultFont;
... | 1.662314 | 89fdf980b2dfb93a89e3b90aefbc73e2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71104 | {
"extension": "c-sharp",
"max_stars_count": "117.0",
"max_stars_repo_name": "alipay/alipay-sdk-net",
"max_stars_repo_path": "AlipaySDKNet/Response/AlipayPcreditHuabeiMerchantBillQueryResponse.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71105"
} | starcoder | using System;
using System.Xml.Serialization;
using System.Collections.Generic;
using Aop.Api.Domain;
namespace Aop.Api.Response
{
/// <summary>
/// AlipayPcreditHuabeiMerchantBillQueryResponse.
/// </summary>
public class AlipayPcreditHuabeiMerchantBillQueryResponse : AopResponse
{
... | 1.679127 | 98473e74d0bb03fba7a6363b22ed9f8b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71105 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "BrunoCooper17/DannyHoloLens",
"max_stars_repo_path": "Assets/Scripts/InnovationTarget.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71106"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.VR.WSA.Input;
public class InnovationTarget : GazeSelectionTarget {
public bool bIsSelected = false;
public MeshRenderer materialBarra;
public MeshRenderer materialPunta;
public ConstantRotateAxis rotat... | 1.938251 | 44413a2aa74632b1d6aecd11698c97ff |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71106 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "linkxu1989/ZTraxApp",
"max_stars_repo_path": "ZTraxApp/Models/Tags.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71107"
} | starcoder | <gh_stars>0
using System;
using System.ComponentModel;
namespace ZTraxApp.Models
{
internal class Tags
{
public string TagId { get; set; }
public string Last6 { get; set; }
public DateTime TimeStamp { get; set; }
public Tags(string tagId, string last6, DateTime timeStamp)
... | 2.128947 | 3260f23337d8464469cd99a1439d0be1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71107 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "arthurrump/aCMS",
"max_stars_repo_path": "src/aCMS.Web/Startup.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71108"
} | starcoder | <reponame>arthurrump/aCMS
// Copyright 2016 <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
//
// ... | 1.855648 | 042a7c8f63388a5dee9c08ae7b14f494 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71108 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "marl8n/MyWebBrowser",
"max_stars_repo_path": "persistance/html/WriteHtml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71109"
} | starcoder | using MyWebBrowser.models;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MyWebBrowser.persistance
{
class WriteHtml
{
public const string fileName = "links.html";
public const strin... | 2.884612 | d95b96f26530125a1155908bd1cbf668 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71109 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "crisslemoss/curso_csharp",
"max_stars_repo_path": "work-in-progress-web-api-main/MeuApp/Models/Diretor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71110"
} | starcoder | <reponame>crisslemoss/curso_csharp
using System.Collections.Generic;
public class Diretor {
public long Id { get; set; }
public string Nome { get; set; }
public ICollection<Filme> Filmes { get; set; }
public Diretor(string nome) {
Nome = nome;
Filmes = new List<Filme>();
}
} | 1.942748 | 7055f964ef8f521ead19585d1b3933a1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71110 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "KlemenKobau/Pooper",
"max_stars_repo_path": "Assets/NEW Script/entitys/player/PlayerPoop/PlayerPoopBehaviour.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71111"
} | starcoder | <reponame>KlemenKobau/Pooper
using UnityEngine;
using System.Collections;
public class PlayerPoopBehaviour : BasicPoopBehaviour {
protected override void Start()
{
speed = 4;
base.Start();
}
protected override void startMovement()
{
thisRigidBody2d.velocity = Vector2.up * speed;
}
}
| 1.763255 | 0f234734e80a5c5c3516635104a5083f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71111 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "acapdevila/gestionfacturas",
"max_stars_repo_path": "GestionFacturas.Servicios/ServicioCrudCliente.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71112"
} | starcoder | using GestionFacturas.Datos;
using GestionFacturas.Modelos;
using System.Linq;
using System.Data.Entity;
using System.Threading.Tasks;
using System;
using System.Collections.Generic;
using Omu.ValueInjecter;
namespace GestionFacturas.Servicios
{
public class ServicioCrudCliente
{
protected re... | 2.4742 | 1fc78f7514f63dadaf9fd8e5d2559b2a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71112 | {
"extension": "c-sharp",
"max_stars_count": "41.0",
"max_stars_repo_name": "feeleen/Hors",
"max_stars_repo_path": "Models/TextToken.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71113"
} | starcoder | <filename>Models/TextToken.cs<gh_stars>10-100
namespace Hors.Models
{
public class TextToken : IHasEdges
{
public string Value;
public int Start { get; set; }
public int End { get; set; }
public TextToken(string value)
{
Value = value;
}
... | 2.668481 | a37b17375fa74ad352de087d59a59c57 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71113 | {
"extension": "c-sharp",
"max_stars_count": "25.0",
"max_stars_repo_name": "kristofdegrave/Rebus.AzureServiceBus",
"max_stars_repo_path": "Rebus.AzureServiceBus.Tests/Bugs/VerifyDeferredMessagesWorkAsExpected.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71114"
} | starcoder | <reponame>kristofdegrave/Rebus.AzureServiceBus<gh_stars>10-100
using System;
using System.Threading;
using System.Threading.Tasks;
using NUnit.Framework;
using Rebus.Activation;
using Rebus.Config;
using Rebus.Routing.TypeBased;
using Rebus.Tests.Contracts;
using Rebus.Tests.Contracts.Extensions;
#pragma warning disa... | 1.969551 | 1f44706c6fbce11765778471320012ea |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71114 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "joergjo/aad-b2c-external-claims",
"max_stars_repo_path": "src/ClaimsProvider.Functions/ClaimsFromDb.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71115"
} | starcoder | using System;
using System.IO;
using System.Linq;
using System.Net;
using System.Threading.Tasks;
using ClaimsProvider.Data;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Azure.WebJobs;
using Microsoft.Azure.WebJobs.Extensions.Http;
using Microsoft.Extensions.Logging;
using Newtonsoft... | 2.383325 | ac287175be93f00ebb9629ab9e852c39 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71115 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Industrepreneur/ValueStreamModeling_Application",
"max_stars_repo_path": "mpx/input/products/bom.aspx.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71116"
} | starcoder | using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Data;
using System.Data.OleDb;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
public partial class P_IBOM : InputGridPage
{
ProductDelegatePage helperProduct;
public... | 1.598458 | 87f9c8d3235e3667131de3c408fc4773 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71116 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "allcreater/NHPY",
"max_stars_repo_path": "Assets/Scripts/MathExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71117"
} | starcoder | using UnityEngine;
using System.Collections.Generic;
using System.Linq;
public static class MathExtension
{
//public int RandomWeightedIndex(IEnumerable<float> weights)
//{
// float totalWeight = 0.0f;
// var weightSums = weights.Select(x => totalWeight += x).ToArray();
// float randomNu... | 2.770803 | cfd5d0bc493328f866540fae6e98e7a4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71117 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "IABTechLab/uid2-client-net",
"max_stars_repo_path": "src/SampleApp/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71118"
} | starcoder | <reponame>IABTechLab/uid2-client-net
// Copyright (c) 2021 The Trade Desk, Inc
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// 1. Redistributions of source code must retain the above copyright notice,
// th... | 2.21251 | 5ef694515f377495ced2fd98fc8990c9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71118 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mexmiracle96/wanunuzi",
"max_stars_repo_path": "SqlLiteSession.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71119"
} | starcoder | using System;
using Mono.Data.Sqlite;
using System.IO;
using System.Data;
using Safari_Shopping_Mall.Accessors;
using Android.Util;
namespace Safari_Shopping_Mall
{
public class SqlLiteSession
{
private SqliteConnection SQLConn;
private SqliteCommand SQLCmd;
private string ... | 2.531835 | 254bef86c5c181b91d22d586c91f120a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71119 | {
"extension": "c-sharp",
"max_stars_count": "212.0",
"max_stars_repo_name": "AgFlore/vocadb",
"max_stars_repo_path": "VocaDbModel/ParamIs.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71120"
} | starcoder | #nullable disable
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Diagnostics;
using System.Linq.Expressions;
using System.Reflection;
using System.Reflection.Emit;
namespace VocaDb.Model
{
/// <summary>
/// Utility methods for parameter validat... | 2.752586 | 8f3fc9f6ae6967f55fb40b59058e505d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71120 | {
"extension": "c-sharp",
"max_stars_count": "290.0",
"max_stars_repo_name": "chengliang-git/Revo",
"max_stars_repo_path": "Revo.Domain/Tenancy/Events/TenantAggregateRootCreated.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71121"
} | starcoder | <reponame>chengliang-git/Revo
using System;
using Revo.Domain.Events;
namespace Revo.Domain.Tenancy.Events
{
public class TenantAggregateRootCreated : DomainAggregateEvent
{
public TenantAggregateRootCreated(Guid? tenantId)
{
TenantId = tenantId;
}
public Guid? Ten... | 1.613164 | 17e3cf0731c9b167c83857000743850a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71121 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "CoralCOasa/PlatformRacing3",
"max_stars_repo_path": "PlatformRacing3.Server/Game/Communication/Messages/Outgoing/Json/JsonSetPlayerHatsOutgoingMessage.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71122"
} | starcoder | <gh_stars>0
using System.Collections.Generic;
using System.Text.Json.Serialization;
using PlatformRacing3.Server.Game.Communication.Messages.Incoming.Json;
using PlatformRacing3.Server.Game.Match;
namespace PlatformRacing3.Server.Game.Communication.Messages.Outgoing.Json
{
internal sealed class JsonSetPlayerHatsO... | 1.720526 | 170dad059a8de9248795d3c1566a663c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71122 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "DrJohnMelville/Planner",
"max_stars_repo_path": "Src/Planner.Models.Test/Blobs/CompositeBlobRemoteRepositoryTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71123"
} | starcoder | using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Moq;
using NodaTime;
using Planner.Models.Blobs;
using Planner.Models.Repositories;
using Xunit;
namespace Planner.Models.Test.Blobs
{
public class CompositeBlobRemoteRepositoryTest
{
private readonly Mock<IDatedRemote... | 2.451636 | d4b961cbe334f7d20c0c9a463d0dc39f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71123 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Xen0byte/Squalr",
"max_stars_repo_path": "Squalr.Engine.Internal.HookServer/Network/NetworkHook.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71124"
} | starcoder | <reponame>Xen0byte/Squalr
namespace Squalr.Engine.HookServer.Network
{
using EasyHook;
using SqualrHookClient.Source;
using System;
using System.Net.Sockets;
using System.Runtime.InteropServices;
using System.Threading;
[Serializable]
internal unsafe class NetworkHook
{
///... | 1.948988 | 8e17bb7bfcacaea581335c230d5bcf12 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71124 | {
"extension": "c-sharp",
"max_stars_count": "54.0",
"max_stars_repo_name": "Anonymous-Shrimp/Coffin-Buster",
"max_stars_repo_path": "Assets/Mirror/Runtime/Extensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71125"
} | starcoder | using System;
namespace Mirror
{
public static class Extensions
{
// string.GetHashCode is not guaranteed to be the same on all machines, but
// we need one that is the same on all machines. simple and stupid:
public static int GetStableHashCode(this string text)
{
u... | 2.609519 | ca161c8161bfeb29883fa73bd818fafe |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71125 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "proxoft/DocxToPdf",
"max_stars_repo_path": "Source/DocxToPdf/Models/Tables/Builders/CellBuilder.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71126"
} | starcoder | using System.Collections.Generic;
using System.Linq;
using Proxoft.DocxToPdf.Core;
using Proxoft.DocxToPdf.Models.Styles;
using Proxoft.DocxToPdf.Models.Tables.Elements;
using Proxoft.DocxToPdf.Models.Tables.Grids;
using Word = DocumentFormat.OpenXml.Wordprocessing;
namespace Proxoft.DocxToPdf.Models.Tables.Builders
... | 2.49145 | 2cba2d74216622c6749687608426c731 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71126 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Monokilho/GameJam16",
"max_stars_repo_path": "Assets/Scripts/Control/MainControl.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71127"
} | starcoder | <gh_stars>0
using UnityEngine;
using System.Collections;
using UnityEngine.UI;
public class MainControl : MonoBehaviour
{
public SpawnControl firecontrol;
public BGM bgm_control;
public SFX sfx_control;
public MapControl mapcontrol;
public Timer timer;
public Rigidbody2D player;
public Mi... | 1.562509 | c8b4cc78b6f9003c9ac622d0070193fd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71127 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MagokSama/Marching-Cubes",
"max_stars_repo_path": "Assets/Scripts/Density/AsteroidGenerator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71128"
} | starcoder |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class AsteroidGenerator : DensityGenerator
{
[Header("Noise")]
public int seed;
public int numOctaves = 4;
public float lacunarity = 2;
public float persistence = .5f;
public float noiseScale = 1;
publi... | 2.233661 | 336a5828f76d1abdea754b6fdd2b162b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71128 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "jonnyzzz/phd-project",
"max_stars_repo_path": "morse/DotNet/gui2/src/Forms/About.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71129"
} | starcoder | using System;
using System.ComponentModel;
using System.Windows.Forms;
namespace EugenePetrenko.Gui2.Application.Forms
{
/// <summary>
/// Summary description for About.
/// </summary>
public class About : Form
{
private Label label1;
private IContainer components;
private Panel panel1;
priva... | 2.238944 | 6f2bfc0f1e653d67c0d915063143b82c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71129 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Ed-Pavlov/Armature",
"max_stars_repo_path": "src/Armature.Core/src/Common/ExceptionExtension.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71130"
} | starcoder | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Text;
namespace Armature.Core.Common
{
internal static class ExceptionExtension
{
[DebuggerStepThrough]
public static T AddData<T>(this T exception, object key, object? value)
where T : Exception
{
if(e... | 3.006223 | 62ecd5beba58d55c0d9f03d77714db06 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71130 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "gitvinit/okta-auth-dotnet",
"max_stars_repo_path": "Okta.Sdk.Abstractions/ApiError.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71131"
} | starcoder | <reponame>gitvinit/okta-auth-dotnet
// <copyright file="ApiError.cs" company="Okta, Inc">
// Copyright (c) 2018 - present Okta, Inc. All rights reserved.
// Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information.
// </copyright>
using System.Collections.Generic;
... | 1.693813 | 3a2649345eb92196561deef9e61a4a1e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71131 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "HusseinShukri/DotNET-RPG",
"max_stars_repo_path": "RPG/RPG.Domain/Entities/.vshistory/RpgClass.cs/2021-08-08_17_41_43_666.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71132"
} | starcoder | <filename>RPG/RPG.Domain/Entities/.vshistory/RpgClass.cs/2021-08-08_17_41_43_666.cs
using System;
using System.Collections.Generic;
using System.Text;
namespace RPG.Data.Models
{
class RpgClass
{
}
}
| 1.186727 | 52cf593e22755055ed2a6e30b41e3121 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71132 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kaisama/Rubik-s_Cube",
"max_stars_repo_path": "Assets/Scripts/Scriptables/GlobalGameState.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71133"
} | starcoder | <gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public enum GameState
{
MainMenu,
GameSetup,
InGame,
PauseMenu,
Scramble,
Win
}
[CreateAssetMenu(fileName = "New Global Game State", menuName = "Game State/Global Game State")]
public class GlobalGameSt... | 1.910837 | 09ff6b73892c510f146f97c5b96f016f |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.