added stringclasses 11
values | created stringclasses 11
values | id stringlengths 4 8 | metadata dict | source stringclasses 1
value | text stringlengths 9 1.04M | code-score float64 -0.5 4.71 | md5 stringlengths 32 32 |
|---|---|---|---|---|---|---|---|
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95661 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mlnethub/VL.OpenCV",
"max_stars_repo_path": "src/VideoInInfo.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95662"
} | starcoder | using SharpDX.MediaFoundation;
using DirectShowLib;
using SharpDX.Multimedia;
using System;
using System.Collections.Generic;
using System.Linq;
namespace VL.OpenCV
{
public class VideoInInfo
{
public class Format
{
public int w, h;
public float fr;
... | 2.390543 | 6b9e6d9d2f91b0b624d5a846b0854df0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95662 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "joergkrause/texxtoor",
"max_stars_repo_path": "Texxtoor/Solution/Texxtoor.Portal/Views/Messaging/Mail/Index.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:95663"
} | starcoder | <filename>Texxtoor/Solution/Texxtoor.Portal/Views/Messaging/Mail/Index.cshtml
@model Texxtoor.DataModels.Models.Common.Message
@{
Layout = Url.GetGlobalLayout();
PageData["Title"] = Loc("title", "Mailbox");
PageData["ShortHelp"] = Loc("text1", @"This is your internal mailbox. Use this box to contact others witho... | 1.825399 | d05a58ad5ab8d88b71a5bb3f36fe3bbe |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95663 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "sbarisic/FileUpload",
"max_stars_repo_path": "FileUpload/Config.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95664"
} | starcoder | using System;
using System.Collections.Generic;
using System.Configuration;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Web;
namespace FileUpload {
public static class Config {
static Dictionary<string, string> ConnectionStrings;
public static string GetConnectionStrin... | 2.214707 | b392bb1b2b28d8be0d97f043a93153ef |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95664 | {
"extension": "c-sharp",
"max_stars_count": "17.0",
"max_stars_repo_name": "npocmaka/Windows-Server-2003",
"max_stars_repo_path": "com/netfx/src/framework/xml/system/newxml/xpath/forexpr.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95665"
} | starcoder | <reponame>npocmaka/Windows-Server-2003
//------------------------------------------------------------------------------
// <copyright file="FOrExpr.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright> ... | 1.85693 | cf9ecd17559e9365c17d758d50b199ba |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95665 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "13415716616/Exam_Web",
"max_stars_repo_path": "Exam_Web/Exam_Web/obj/Debug/netcoreapp2.2/Razor/Views/Teacher/CorrectTest.g.cshtml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95666"
} | starcoder | <reponame>13415716616/Exam_Web
#pragma checksum "E:\proects\C#\Exam_Web\Exam_Web\Views\Teacher\CorrectTest.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "eaddd4dd98f6056f857710a602c5ca9128c9c6f4"
// <auto-generated/>
#pragma warning disable 1591
[assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItem... | 1.68002 | b4db9f39a3bd8521cdabfa2e3d96cdee |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95666 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "VictordeBaare/Capsicum",
"max_stars_repo_path": "AutoMapCodeRefactoring/PropertyMatcher.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95667"
} | starcoder | using Microsoft.CodeAnalysis;
namespace AutoMapCodeRefactoring
{
internal static class PropertyMatcher
{
/// <summary>
/// Check if the properties match, in the future it might be replaced with an interface
/// </summary>
/// <returns>IPropertySymbol</returns>
internal ... | 2.720213 | eaedbe722430a6bf16595a6677f76471 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95667 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "janmolnar/jcq",
"max_stars_repo_path": "Jcq.IcqProtocol.DataTypes/Snac Family 10/Snac1004.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95668"
} | starcoder | <filename>Jcq.IcqProtocol.DataTypes/Snac Family 10/Snac1004.cs
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="Snac1004.cs" company="<NAME>">
// The MIT License (MIT)
//
// Copyright (c) 2015 <NAME>
//
// Permission is hereby ... | 2.116624 | c19b9600b88d50b92c06ceb9218ee310 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95668 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "madninjaskillz/Breeze",
"max_stars_repo_path": "BreezeShared/ScreenXMLHelpers.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95669"
} | starcoder | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Xml;
using Breeze.AssetTypes.DataBoundTypes;
using Breeze.Helpers;
using Breeze.Screens;
namespace Breeze
{
public static class ScreenXMLHelpers
{
public static List<DataboundA... | 2.421571 | 898f3139d8de6c298f960add5e9534c7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95669 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "elindanielsson/Nybus",
"max_stars_repo_path": "tests/Tests.Nybus/NybusCommandContextTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95670"
} | starcoder | <reponame>elindanielsson/Nybus
using System;
using NUnit.Framework;
using Nybus;
using Nybus.Utils;
namespace Tests
{
[TestFixture]
public class NybusCommandContextTests
{
[Test]
public void Message_is_required()
{
Assert.Throws<ArgumentNullException>(() => new NybusCom... | 2.175605 | 622f56e3ca7ddd76ce9225b416313e06 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95670 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "BrianMacIntosh/WikiCrawler",
"max_stars_repo_path": "WikiCrawler/Old/Dsea.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95671"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using System.Net;
namespace WikiCrawler
{
class Dsea
{
private const string url = "http://dsal.uchicago.edu/images/keagle/keagle_search.html?depth=details&id={0}";
public static void Harvest()
{
int curr... | 2.976458 | f94235f3ae17ab2f2e9d28675c2616db |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95671 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "brainded/FullContactDotNet",
"max_stars_repo_path": "FullContactDotNet/SandboxMode.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95672"
} | starcoder | <gh_stars>1-10
namespace FullContactDotNet
{
public enum SandboxMode
{
PROCESSING,
CALLBACK_MADE,
CALLBACK_FAILED,
CALLBACK_MADE_NOT_PROCESSABLE,
CALLBACK_FAILED_NOT_PROCESSABLE
}
}
| 1.135796 | d247cb4853c5ca358dff8c1f3e2a2982 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95672 | {
"extension": "c-sharp",
"max_stars_count": "26.0",
"max_stars_repo_name": "48355746/FapCore3.0",
"max_stars_repo_path": "src/Fap.Core/Rbac/IRbacService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95673"
} | starcoder | <gh_stars>10-100
using System.Collections.Generic;
using Fap.Core.Rbac.Model;
using Fap.Model.Infrastructure;
namespace Fap.Core.Rbac
{
public interface IRbacService
{
bool IsCEO(string empUid = "");
bool IsDeptManager();
#region UserGroup
IEnumerable<FapUserGroup> GetAllUserGr... | 1.538911 | 7010f9c21d326c8a56b3715b9efdcdd0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95673 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "vikinatora/Smart-Strength-Backend",
"max_stars_repo_path": "Smart-Strength-Backend/Models/Comment.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95674"
} | starcoder | <reponame>vikinatora/Smart-Strength-Backend
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Smart_Strength_Backend.Models
{
public class Comment
{
public string Id { get; set; }
public string Content { get; set; }
public User A... | 1.338292 | 7701603805fa9e2ffeb1ee74d745359b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95674 | {
"extension": "c-sharp",
"max_stars_count": "422.0",
"max_stars_repo_name": "gogiel/react-native-unity-view",
"max_stars_repo_path": "unity/RNIntegration/unity/RNIntegration/Assets/Plugins/ReactNative/Source/Editor/Reinforced.Typings/Visitors/Typings/TypingsExportVisitor.RtModule.cs",
"provenance": "train-00... | starcoder | <gh_stars>100-1000
using System;
using Reinforced.Typings.Ast;
using Reinforced.Typings.Visitors.TypeScript;
#pragma warning disable 1591
namespace Reinforced.Typings.Visitors.Typings
{
partial class TypingsExportVisitor
{
public override void Visit(RtNamespace node)
{
if (node == n... | 2.022391 | cd3604512f5999926026fa5357db40a9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95675 | {
"extension": "c-sharp",
"max_stars_count": "197.0",
"max_stars_repo_name": "iskandersierra/Typin",
"max_stars_repo_path": "src/Typin/Typin.Tests/AutoCompletionTests/AutoCompleteInputTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95676"
} | starcoder | namespace Typin.Tests.AutoCompletionTests
{
using System;
using System.Collections.Generic;
using System.IO;
using System.Threading.Tasks;
using FluentAssertions;
using Typin.AutoCompletion;
using Typin.Console;
using Typin.Exceptions;
using Typin.Extensions;
using Typin.Tests.D... | 2.489373 | a6c3f0fbb5e2dec58a645fcdbd2e78c7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95676 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "chrisphillips/KoduGameLab",
"max_stars_repo_path": "main/Boku/Programming/givenobjectsensor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95677"
} | starcoder | <reponame>chrisphillips/KoduGameLab<filename>main/Boku/Programming/givenobjectsensor.cs
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
using System;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
using System.Xml;
using System.Xml.Serialization;
usi... | 2.212246 | 31d62e7b6fe2fbabf3f9d4a5f9ce2fdc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95677 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "anhquan99/sneaker-shop",
"max_stars_repo_path": "sneaker_shop_core/WebApplication1/Data/Seeding/DataModelSeedingExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95678"
} | starcoder | using Microsoft.AspNetCore.Identity;
using Microsoft.EntityFrameworkCore;
using WebApplication1.Entities;
using WebApplication1.Infrastructure.Enums;
using WebApplication1.Infrastructure.Extensions;
namespace WebApplication1.Data.Seeding
{
public static class DataModelSeedingExtensions
{
//private con... | 2.637767 | 68721e303146660e47bcf1d33a1f825d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95678 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "alaatm/freecell-solver",
"max_stars_repo_path": "src/Drawing/DeckImage.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95679"
} | starcoder | using System;
using SkiaSharp;
namespace FreeCellSolver.Drawing
{
public sealed class DeckImage
{
private readonly SKImage _img;
private static readonly Lazy<DeckImage> _instance = new(Initialize);
private const int CardWidth = 140;
private const int CardHeight = 210;
... | 3.052087 | 319e8a45aafea69d503ab9c13ca4457c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95679 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "RegionOrebroLan/Integration-Service-Primitives",
"max_stars_repo_path": "Source/Project/Queries/Query.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95680"
} | starcoder | <filename>Source/Project/Queries/Query.cs
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Globalization;
using System.Linq;
using RegionOrebroLan.Integration.Service.Queries.Extensions;
namespace RegionOrebroLan.Integration.Service.Queries
{
public abstract class Qu... | 2.841465 | b8b6238ab298dd1e0cea1a27e620374c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95680 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "npruehs/bychance",
"max_stars_repo_path": "Source/ByChanceFramework/Core/Context.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95681"
} | starcoder | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="Context.cs" company="<NAME>, <NAME>">
// Copyright 2011-2016 <NAME>, <NAME>.
// </copyright>
// ---------------------------------------------------------------------------------... | 2.995204 | 2d591db8cf3cc6ea9d15d1a010e45864 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95681 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "priyaholkar11/rover",
"max_stars_repo_path": "RoverTest/Rover.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95682"
} | starcoder | using System;
using Xunit;
using Rover.Model;
using Rover.Interfaces;
using Rover.Common;
namespace RoverTest
{
public class RoverTest
{
[Fact]
public void TestPlateauCreation()
{
Plateau plateau = new Plateau(5, 10);
Assert.Equal(5, plateau.Length);
... | 2.830161 | 69e7e541ab567c383a82b67170350021 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95682 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "NoahStolk/DevilDaggersCore",
"max_stars_repo_path": "DevilDaggersCore.Tests/SpawnsetParseTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95683"
} | starcoder | <gh_stars>1-10
using DevilDaggersCore.Spawnsets;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.IO;
namespace DevilDaggersCore.Tests
{
[TestClass]
public class SpawnsetParseTests
{
[TestMethod]
public void TestParseV0()
{
if (!Spawnset.TryParse(File.ReadAllBytes(Path.Combine("Resources", ... | 2.058158 | 22a6aad0c25cd32da753b002c15c90a5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95683 | {
"extension": "c-sharp",
"max_stars_count": "481.0",
"max_stars_repo_name": "trueai-org/module-shop",
"max_stars_repo_path": "src/server/src/Modules/Shop.Module.Core.Abstractions/ViewModels/RegisterVerfiyParam.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95684"
} | starcoder | using System.ComponentModel.DataAnnotations;
namespace Shop.Module.Core.ViewModels
{
public class RegisterVerfiyParam
{
public string Phone { get; set; }
}
}
| 1.563668 | 964a8217a3ae8e43603c8b2c490c4b56 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95684 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "luizfbicalho/Camunda.NET",
"max_stars_repo_path": "camunda-bpm-platform-net/engine/src/test/java/org/camunda/bpm/engine/test/concurrency/CompetingJobAcquisitionTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95685"
} | starcoder | <reponame>luizfbicalho/Camunda.NET
using System.Threading;
/*
* Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH
* under one or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information regarding copyright
* ownership. Camunda licenses... | 2.081757 | ca45479e43d359d8df6e29b1cad4cc6d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95685 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "OctopusDeploy/AuthenticationExtensibility",
"max_stars_repo_path": "source/Extensibility.Authentication/Resources/IdentityType.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95686"
} | starcoder | using System;
namespace Octopus.Server.Extensibility.Authentication.Resources
{
public enum IdentityType
{
Guest,
UsernamePassword,
ActiveDirectory,
OAuth
}
} | 1.413874 | 275a0c483cb9e77fe91a815e52c75237 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95686 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "SinsofSloth/RF5-global-metadata",
"max_stars_repo_path": "UnityEngine/Ray.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95687"
} | starcoder | public struct Ray // TypeDefIndex: 2860
{
// Fields
private Vector3 m_Origin; // 0x0
private Vector3 m_Direction; // 0xC
// Properties
public Vector3 origin { get; set; }
public Vector3 direction { get; }
// Methods
// RVA: 0x381FE0 Offset: 0x3820E1 VA: 0x381FE0
public void .ctor(Vector3 origin, Vector3 dir... | 2.225218 | 5f0fcd172261995164a42adb8078a11b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95687 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lhotakj/Karita",
"max_stars_repo_path": "main-form.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95688"
} | starcoder | <filename>main-form.cs
using GMap.NET;
using System;
using System.Collections.Generic;
using System.Drawing;
using System.IO;
using System.Windows.Forms;
using GMap.NET.WindowsForms;
using System.Security;
namespace GpxHeatmap
{
public partial class Form1 : Form
{
GMapOverlay mainOverlay;
Str... | 2.25381 | 74f42bbdeb847235d9aea4eecc882f89 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95688 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "ptv-logistics/xserver.net-samples",
"max_stars_repo_path": "DemoCenter/Resources/MessageBox/MsgBox.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95689"
} | starcoder | namespace Ptv.XServer.Demo.Resources.MessageBox
{
partial class MsgBox
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </s... | 1.985341 | dc07a1d1a0099204f8d9f40eb4114d0f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95689 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "amitkumaree/New-Free-Work",
"max_stars_repo_path": "NewFreeLanceComp/Models/Login.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95690"
} | starcoder | <reponame>amitkumaree/New-Free-Work<filename>NewFreeLanceComp/Models/Login.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace NewFreeLanceComp.Models
{
public sealed class Login
{
public string Email { get; set; }
public string Phone { get; set; }... | 1.779337 | 67bd735cb4e9d78c3af1599499a1dc48 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95690 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "carlos-vicente/Rest.Proxy",
"max_stars_repo_path": "tests/Rest.Proxy.UnitTests/Support/Response/PutResponse.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95691"
} | starcoder | namespace Rest.Proxy.UnitTests.Support.Response
{
public class PutResponse
{
}
}
| 0.788961 | 0d8e0c890a343912f094000d929c018f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95691 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "angewa/CoreWCF",
"max_stars_repo_path": "src/CoreWCF.Primitives/src/CoreWCF/Channels/ITransportTokenAssertionProvider.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95692"
} | starcoder | <filename>src/CoreWCF.Primitives/src/CoreWCF/Channels/ITransportTokenAssertionProvider.cs
using System.Xml;
namespace CoreWCF.Channels
{
internal interface ITransportTokenAssertionProvider
{
XmlElement GetTransportTokenAssertion();
}
} | 1.57734 | 4c62b0d507761abde7bbf4b56e9a52d0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95692 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rgarat/VRTK.Unity.Core",
"max_stars_repo_path": "Scripts/Rule/ListContainsRule.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95693"
} | starcoder | namespace VRTK.Core.Rule
{
using UnityEngine;
using System.Collections.Generic;
/// <summary>
/// Determines whether an object is part of a list.
/// </summary>
public class ListContainsRule : MonoBehaviour, IRule
{
/// <summary>
/// The objects to check against.
//... | 3.022432 | 6ebf5eec6ea476c9b18ab401fc55e6b6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95693 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "LuGeorgiev/CSharpSelfLearning",
"max_stars_repo_path": "SimpleTaxCalculator/TaxCalculator.Services/Validation/Implementation/SalaryValidationService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95694"
} | starcoder | <filename>SimpleTaxCalculator/TaxCalculator.Services/Validation/Implementation/SalaryValidationService.cs
using System;
using static TaxCalculator.Constants.Constants;
namespace TaxCalculator.Services.Validation.Implementation
{
public class SalaryValidationService : ISalaryValidationService
{
public... | 2.454427 | c2fbea8d4416a77faef739041f7a9510 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95694 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "FenrirServer/Fenrir.Multiplayer",
"max_stars_repo_path": "source/UnityPackage/Assets/Runtime/Network/IEventHandler.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95695"
} | starcoder | <reponame>FenrirServer/Fenrir.Multiplayer
namespace Fenrir.Multiplayer
{
/// <summary>
/// Event handler of a specific event type
/// Invoked when event of a given type is received
/// </summary>
/// <typeparam name="TEvent">Type of event</typeparam>
public interface IEventHandler<TEvent>
... | 2.401367 | 502b2b51a5e62351286d156080e7d05b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95695 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "hcilab-org/UbiBeamPlusPlus",
"max_stars_repo_path": "UbiBeamPlusPlus/UI/HexUtil.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95696"
} | starcoder | <filename>UbiBeamPlusPlus/UI/HexUtil.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace UbiBeamPlusPlus.UI
{
class HexUtil
{
}
}
| 1.209272 | d84532bbc420aa2b94159e126c899b16 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95696 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "JTOne123/IsraelTransverseMercator",
"max_stars_repo_path": "IsraelTransverseMercator.Tests/ItmWgs84MathTransfromTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95697"
} | starcoder | using GeoAPI.Geometries;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace IsraelTransverseMercator.Tests
{
[TestClass]
public class ItmWgs84MathTransfromTests
{
[TestMethod]
public void ConvertWgs84ToItm()
{
var mathTransform = new ItmWgs84MathTransfrom().I... | 2.591294 | 70832c3f77fe8ac193dff79d42775f12 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95697 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "dongle-the-gadget/Yttrium",
"max_stars_repo_path": "Yttrium/SettingsData.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95698"
} | starcoder | <reponame>dongle-the-gadget/Yttrium
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml;
using Windows.Storage;
using Windows.Storage.Streams;
namespace Yttrium_browser
{
public class SettingsData
{
publi... | 2.264416 | c7afa815adea963bedcfe3d628558f09 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95698 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "uk-gov-mirror/SkillsFundingAgency.tl-results-and-certification-automation-suite",
"max_stars_repo_path": "src/Sfa.Tl.ResultsAndCertificationAutomation/Tests/StepDefinations/Registrations/TLRC1487_ReactivateConfirmationPageHomeButtonStep... | starcoder | using Sfa.Tl.ResultsAndCertificationAutomation.Data;
using Sfa.Tl.ResultsAndCertificationAutomation.Tests.Pages;
using TechTalk.SpecFlow;
namespace Sfa.Tl.ResultsAndCertificationAutomation.Tests.StepDefinations.Registrations
{
[Binding]
public class TLRC1487_ReactivateConfirmationPageHomeButtonSteps : Registr... | 1.362781 | ba29d76c292c657d93854dc2bad0bc4a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95699 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Donthiva/worldbanklatest",
"max_stars_repo_path": "DAL/Repositories/Interfaces/IStatesRepository.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95700"
} | starcoder | using DAL.Models.Contact_Information;
using System;
using System.Collections.Generic;
using System.Text;
namespace DAL.Repositories.Interfaces
{
public interface IStatesRepository : IRepository<States>
{
}
}
| 1.407721 | b2315f914876362c33ef2a443e5ce498 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95700 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "AppDigitalCVU/DigitalCv",
"max_stars_repo_path": "AppDigitalCv/AppDigitalCv.Business/Interface/IParentescoBusiness.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95701"
} | starcoder | <reponame>AppDigitalCVU/DigitalCv
using AppDigitalCv.Domain;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AppDigitalCv.Business.Interface
{
public interface IParentescoBusiness
{
/// <summary>
/// Este metodo se e... | 2.261528 | c6fa622c1b54d8c195745e2ecca363c5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95701 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "jgdevlabs/newslettersub",
"max_stars_repo_path": "test/NewsletterServiceTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95702"
} | starcoder | <reponame>jgdevlabs/newslettersub
using System.Linq;
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Logging;
using Moq;
using NewsletterSub.Data;
using NewsletterSub.Tests.Data;
using NUnit.Framework;
namespace NewsletterSub.Tests
{
[TestFixture]
public class New... | 2.345247 | a7534c3f362a2f6aaad3e090204489e8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95702 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "nelinory/myForecast",
"max_stars_repo_path": "Code/Controller.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95703"
} | starcoder | <filename>Code/Controller.cs
using Microsoft.MediaCenter.UI;
namespace myForecast
{
/// <summary>
/// Controls the navigation to the application pages, allows passing parameters to the target page
/// </summary>
public class NavigationController : ModelItem
{
public void GoToSetti... | 2.283741 | db7bc701aab63fc1cea7b52712212f63 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95703 | {
"extension": "c-sharp",
"max_stars_count": "19.0",
"max_stars_repo_name": "xuanbg/Utility",
"max_stars_repo_path": "MainForm/Views/AboutDialog.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95704"
} | starcoder | using Insight.Base.BaseForm.Forms;
namespace Insight.Base.MainForm.Views
{
public partial class AboutDialog : BaseDialog
{
/// <summary>
/// 构造函数
/// </summary>
public AboutDialog()
{
InitializeComponent();
}
}
}
| 1.328139 | 1d3afd11239426133dbef32998fba002 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95704 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "LogutovEgor/crossp",
"max_stars_repo_path": "WebApplication/Controllers/V2.0/DebugController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95705"
} | starcoder | <gh_stars>0
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace WebApplication.Controllers.Version_2_0
{
[ApiVersion("2.0")]
[ApiController]
[Route("[controller]")]
public class Debu... | 1.508 | cc8e013b4b531e730b7feeeb0a2e0877 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95705 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "auxua/Qurvey",
"max_stars_repo_path": "Qurvey/Qurvey/Converters/NegateBooleanConverter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95706"
} | starcoder | <filename>Qurvey/Qurvey/Converters/NegateBooleanConverter.cs<gh_stars>1-10
using System;
using Xamarin.Forms;
namespace Qurvey.Converters
{
public class NegateBooleanConverter : IValueConverter
{
#region IValueConverter implementation
public object Convert (object value, Type targetType, object param... | 2.419724 | 5b4f2db40b51b5db654050f219aa8df9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95706 | {
"extension": "c-sharp",
"max_stars_count": "51.0",
"max_stars_repo_name": "margaale/Synology",
"max_stars_repo_path": "Synology/FileStation/Common/Results/TaskFileListResult.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95707"
} | starcoder | using System.Collections.Generic;
using Newtonsoft.Json;
namespace Synology.FileStation.Common.Results
{
/// <summary>
/// Task file list result.
/// </summary>
internal abstract class TaskFileListResult<TFileResult, TFileListResult, TFileAdditionalResult, TFileOwnerResult, TFileTimeResult, TFilePermR... | 2.041758 | e1886779451198186d5af0b35850d182 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95707 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "aarrgard/solidrpc",
"max_stars_repo_path": "SolidRpc.Tests/Swagger/CodeGen/Vitec/Types/Crm/Contact/CrmContactListCriteria.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95708"
} | starcoder | <reponame>aarrgard/solidrpc
using System.CodeDom.Compiler;
using System.Runtime.Serialization;
using System;
namespace SolidRpc.Tests.Swagger.CodeGen.Vitec.Types.Crm.Contact {
/// <summary>
///
/// </summary>
[GeneratedCode("OpenApiCodeGeneratorV2","1.0.0.0")]
public class CrmContactListCriteria {
... | 1.92597 | c57d37a05f020322ff33771742e3dd93 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95708 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "chchmatt/EventStore",
"max_stars_repo_path": "src/EventStore.Client/EventStoreGrpcClient.Subscriptions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95709"
} | starcoder | <filename>src/EventStore.Client/EventStoreGrpcClient.Subscriptions.cs
using System;
using System.Threading;
using System.Threading.Tasks;
using EventStore.Client.Streams;
namespace EventStore.Client {
public partial class EventStoreClient {
private StreamSubscription SubscribeToAll(
Func<StreamSubscription, Reso... | 2.20118 | 9b553e9e426171ebac878df34d239690 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95709 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "mzbrau/fig",
"max_stars_repo_path": "src/api/Fig.Datalayer/Mappings/CommonEnumerationMap.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95710"
} | starcoder | <filename>src/api/Fig.Datalayer/Mappings/CommonEnumerationMap.cs
using Fig.Datalayer.BusinessEntities;
using NHibernate.Mapping.ByCode;
using NHibernate.Mapping.ByCode.Conformist;
namespace Fig.Datalayer.Mappings;
public class CommonEnumerationMap : ClassMapping<CommonEnumerationBusinessEntity>
{
public ... | 1.995605 | 2d0db393d9127dc9ca9c2f4a695d30b1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95710 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Penca53/cows-hacknslash",
"max_stars_repo_path": "Cows-HacknSlash/Assets/Scripts/PlayerController/SpellController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95711"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class SpellController : MonoBehaviour {
[SerializeField]
private GameObject SpawnPos;
[Header("FireBall")]
[SerializeField]
private GameObject FireBall;
[Tooltip("0 == null; 1 == FireStaff")]
[SerializeField]
private int... | 2.247728 | 1db2a8b24dcabcd0685171b6414936b7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95711 | {
"extension": "c-sharp",
"max_stars_count": "96.0",
"max_stars_repo_name": "dtylman/heaven",
"max_stars_repo_path": "CloudOps/Generated/EC2/DescribeAvailabilityZonesOperation.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95712"
} | starcoder | using Amazon;
using Amazon.EC2;
using Amazon.EC2.Model;
using Amazon.Runtime;
namespace CloudOps.EC2
{
public class DescribeAvailabilityZonesOperation : Operation
{
public override string Name => "DescribeAvailabilityZones";
public override string Description => "Describes one or more of the A... | 2.434119 | cf47e2933a293bd9d71f8a78da2a043e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95712 | {
"extension": "c-sharp",
"max_stars_count": "19.0",
"max_stars_repo_name": "patrick-neiler/ngrx-signalr-core",
"max_stars_repo_path": "samples/realtimeFeed/RealtimeFeed.Api/Controllers/FeedController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95713"
} | starcoder | using System.Collections.Generic;
using Microsoft.AspNetCore.Mvc;
using RealtimeFeed.Api.Models;
using RealtimeFeed.Api.Services;
namespace RealtimeFeed.Api.Controllers
{
[ApiController]
[Route("api/[controller]")]
public class FeedController : ControllerBase
{
private readonly RealtimeFeedSer... | 2.147332 | 3db343c3a40bcd49842006c15a67cd8b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95713 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "zhkj-liuxiaohua/MGPlugins",
"max_stars_repo_path": "CSRRanking/Ranking.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95714"
} | starcoder | <gh_stars>1-10
/*
* 由SharpDevelop创建。
* 用户: 梦之故里
* 日期: 2020/7/28
* 时间: 0:45
*
* 要改变这种模板请点击 工具|选项|代码编写|编辑标准头文件
*/
using System;
using System.Collections;
using System.Collections.Generic;
using System.Threading;
using System.Web.Script.Serialization;
using System.IO;
using CSR;
namespace CSRRanking
{
/// <summ... | 2.19618 | 0190fd270b4ec67c4178055397f9815f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95714 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "sarisarinyama/ClusterTools",
"max_stars_repo_path": "GameJam2020inWinter/Scripts/PublicData.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95715"
} | starcoder | using System.Collections.Generic;
using UnityEditor;
using UnityEngine;
namespace sarisarinyama.cluster.GameJam2020inWinter
{
public class PublicData : ScriptableObject
{
[SerializeField]
public Dictionary<string, PublicDataStruct[]> publicDatas = new Dictionary<string, PublicDataStruct[]>();... | 1.259788 | 6f9975728afae95f071871b2b4ba7352 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95715 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "darvell/Coremero",
"max_stars_repo_path": "Coremero/Coremero.Test/MockPlugin.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95716"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using Coremero.Commands;
namespace Coremero.Test
{
public class MockPlugin : IPlugin
{
[Command("example")]
public string Example(IInvocationContext context, IMessage message)
{
... | 2.132949 | e7c8ad1afbde90a633acacdb52ba6c25 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95716 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "starl1n/Xamarin.Forms-Samples-of-Clases",
"max_stars_repo_path": "Clase 08/Proyectos/XamarinFormsClase08_Demo/XamarinFormsClase08_Demo/Interfaces/iTextoASonido.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95717"
} | starcoder | using System;
namespace XamarinFormsClase08_Demo
{
public interface iTextoASonido
{
void Speak (string text);
}
}
| 1.582852 | 98b316ebdf509165e571118d252a7fdc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95717 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "addictedcode/Mathelandia",
"max_stars_repo_path": "Assets/Scripts/Gameplay/Customers/CustomerSpawner.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95718"
} | starcoder | <filename>Assets/Scripts/Gameplay/Customers/CustomerSpawner.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CustomerSpawner : MonoBehaviour
{
public GameObject[] prefabs;
public int minimumOrder = 5;
public int maximumOrder = 100;
public float customerSpa... | 2.714073 | b8c208ddf50157c228f4c8211a1f9c2f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95718 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JakkOfKlubs/KtaneImpostor",
"max_stars_repo_path": "Assets/FakeModScripts/FakeGridlock.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95719"
} | starcoder | <filename>Assets/FakeModScripts/FakeGridlock.cs
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
using KModkit;
using Rnd = UnityEngine.Random;
public class FakeGridlock : ImpostorMod
{
public override string ModAbbreviation { get { return "Gl"; } }
... | 2.439972 | 40c6f1aad91bd88a37e413407ff7ad85 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95719 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "PetarMetodiev/Telerik-Homeworks",
"max_stars_repo_path": "C# Part 2/01.Arrays/Arrays/10.SequenceOfSum/SequenceOfSum.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95720"
} | starcoder |
// Write a program that finds in given array of integers a sequence of given sum S (if present).
// Example: {4, 3, 1, 4, 2, 5, 8}, S=11 -> {4, 2, 5}
using System;
using System.Collections.Generic;
class SequenceOfSum
{
static void Main()
{
Console.Title = "Sequence of given sum";
Console.... | 3.912991 | 349f793e7e6ca9e76634116cb689c092 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95720 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "skbkontur/cassandra-time-guid",
"max_stars_repo_path": "Cassandra.TimeGuid.Tests/TimeGuidTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95721"
} | starcoder | <reponame>skbkontur/cassandra-time-guid<gh_stars>0
using System;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using NUnit.Framework;
using SkbKontur.Cassandra.TimeBasedUuid.Bits;
#pragma warning disable 1718
namespace SkbKontur.Cassandra.TimeBasedUuid.Tests
{
[TestFixture]
[SuppressMessage("ReS... | 2.23595 | ff57c7dd202ac658402774141e581df3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95721 | {
"extension": "c-sharp",
"max_stars_count": "36.0",
"max_stars_repo_name": "adamralph/codez",
"max_stars_repo_path": "src/Codez/Alphabets/AsciiAlphabet.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95722"
} | starcoder | using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
namespace Codez.Alphabets
{
public class AsciiAlphabet : IAlphabet
{
private static readonly ReadOnlyCollection<char> Ascii
= new ReadOnlyCollection<char>(Enumerable.Range(33, 94).Select(x => (char)x)... | 3.464619 | f007c6efaae4a1e0eee304131c50e97f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95722 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "intj-t/openvmsft",
"max_stars_repo_path": "WRK-V1.2/fx/src/net/system/uri.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95723"
} | starcoder | <reponame>intj-t/openvmsft
//------------------------------------------------------------------------------
// <copyright file="URI.cs" company="Microsoft">
//
// Copyright (c) 2006 Microsoft Corporation. All rights reserved.
//
// The use and distribution terms for this software are contained in t... | 1.887438 | 24e4071c99974db2b304903c9ca11dbd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95723 | {
"extension": "c-sharp",
"max_stars_count": "16.0",
"max_stars_repo_name": "asmichi/ChildProcess",
"max_stars_repo_path": "src/ChildProcess.Example/ChildProcessExamplesWindows.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95724"
} | starcoder | <reponame>asmichi/ChildProcess<gh_stars>10-100
// Copyright (c) @asmichi (https://github.com/asmichi). Licensed under the MIT License. See LICENCE in the project root for details.
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Text;
using System.Threading.Tasks;... | 2.618656 | 0a8d97efcb497bbfc447ff5564812e03 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95724 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "hilllo/HaloLandsAR",
"max_stars_repo_path": "HaloLands/Assets/Scripts/Jason/MeshLoadSave.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95725"
} | starcoder | <filename>HaloLands/Assets/Scripts/Jason/MeshLoadSave.cs
using UnityEngine;
using System.Collections;
//using UnityEngine.Windows;
using System;
using System.IO;
using Game;
public class MeshLoadSave : Singleton<MeshLoadSave>
{
public delegate void LoadMeshFinished(bool success, Vector3[] meshVertices, Vector3[]... | 2.570502 | 1f28c27fc4e51d5ab3251db00db1c13d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95725 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "blacksmokersen/starwheels",
"max_stars_repo_path": "Assets/Scripts/Menus/InGameScoresPanel/InGameScoresPanelDisplayer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95726"
} | starcoder | <reponame>blacksmokersen/starwheels
using System.Collections;
using UnityEngine;
using UnityEngine.UI;
using Bolt;
namespace Menu.InGameScores
{
public class InGameScoresPanelDisplayer : GlobalEventListener, IControllable
{
[SerializeField] private bool _enabled = true;
public bool Enabled
... | 2.075642 | 444cab851831de759fef48c482dc410b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95726 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "HeroesProjects/h3mapper",
"max_stars_repo_path": "H3Mapper/Flags/PrimarySkillType.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95727"
} | starcoder | <gh_stars>1-10
namespace H3Mapper.Flags
{
public enum PrimarySkillType : byte
{
Attack,
Defense,
SpellPower,
Knowledge
}
} | 1.258171 | 016772d7bc65c67177e3ed92322791f4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95727 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "BionicCode/BionicNuGetDeployUI",
"max_stars_repo_path": "BionicNuGetDeploy/BionicCode.BionicNuGetDeploy.Main/DeployAgent.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95728"
} | starcoder | #region Info
// //
// BionicCode.BionicNuGetDeploy.Main
#endregion
using System;
using System.ComponentModel.Composition;
using System.ComponentModel.Composition.Primitives;
using System.Diagnostics;
using System.IO;
using System.Reflection;
using System.Security.Cryptography;
using System.Text;
using BionicCode.Bi... | 2.026791 | 1e3ccb982479b45fd24b9a686f764bbc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95728 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MaikHo/C-_erste_schritte",
"max_stars_repo_path": "C# Snippets/Personalverwaltung/Personalverwaltung/LohnBuchhaltung.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95729"
} | starcoder | <filename>C# Snippets/Personalverwaltung/Personalverwaltung/LohnBuchhaltung.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Personalverwaltung {
class LohnBuchhaltung {
public static double Einkommensberechnung(Mitarbeiter m... | 2.795762 | 4f9c1048f8ff24dedca959d6c846f0be |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95729 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Perksey/Mana",
"max_stars_repo_path": "Source/Mana/Graphics/Shaders/ShaderProgram.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95730"
} | starcoder | using System;
using System.Collections.Generic;
using System.IO;
using System.Net;
using Mana.Asset;
using Mana.Asset.Reloading;
using Mana.Utilities;
using osuTK.Graphics.OpenGL4;
namespace Mana.Graphics.Shaders
{
/// <summary>
/// Represents an OpenGL shader program object.
/// </summary>
... | 2.396954 | 36cff288d810f842a5481ed5c1d37ae7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95730 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "xiaoxiaocoder/Exceptionless",
"max_stars_repo_path": "Source/Tests/SemanticVersionParserTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95731"
} | starcoder | using System;
using System.Threading.Tasks;
using Exceptionless.Core.Utility;
using Foundatio.Logging.Xunit;
using Xunit;
using Xunit.Abstractions;
namespace Exceptionless.Api.Tests {
public class SemanticVersionParserTests : TestWithLoggingBase {
private readonly SemanticVersionParser _parser;
pu... | 2.235626 | 462f9d73ed23de2a3ea6c37a909ece44 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95731 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Odusseus/cs",
"max_stars_repo_path": "gamma/Cs/ShowCase/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95732"
} | starcoder | <filename>gamma/Cs/ShowCase/Program.cs
using Cs.AlphaLibrary;
class Program
{
static void Main(string[] args)
{
do
{
string? input = Console.ReadLine();
if (string.IsNullOrEmpty(input)) break;
Console.WriteLine($"Input: {input}");
var isDate = in... | 3.327196 | 5f8b273780478b16c6103ebaeaa8a9fa |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95732 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "gitter-badger/extensions-2",
"max_stars_repo_path": "src/Librame.Extensions.Data.EntityFrameworkCore/ValueConverters/PrivacyDataConverter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95733"
} | starcoder | #region License
/* **************************************************************************************
* Copyright (c) <NAME> All rights reserved.
*
* https://github.com/librame
*
* You must not remove this notice, or any other, from this software.
* ********************************************************... | 2.20634 | 0ce76eddd27af177c2da432eb6c87b8a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95733 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "experiandataquality/proweb",
"max_stars_repo_path": "src/ProProxy/PromptSet.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95734"
} | starcoder | /// QAS Pro Web > (c) Experian > www.edq.com
/// Common Classes > PromptSet.cs
/// A wrapper class that encapsulates data representing a prompt set. A prompt set
/// consists of an array of prompt set lines. See page 130 for more information about
/// prompt sets.
namespace Experian.Qas.Proweb
{
using System.Collec... | 3.356701 | fc66353f6c6120c32f025d6f9c790a92 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95734 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "LBHackney-IT/lbh-adult-social-care-api",
"max_stars_repo_path": "LBH.AdultSocialCare.Api/V1/Gateways/Security/Concrete/UsersGateway.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95735"
} | starcoder | <gh_stars>1-10
using LBH.AdultSocialCare.Api.V1.Domain.Security;
using LBH.AdultSocialCare.Api.V1.Gateways.Security.Interfaces;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Common.Extensions;
using LBH.AdultSocialCare.Api.V1.... | 2.171495 | e0ca2b0c93df2dca08ad647587767219 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95735 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DaniilDigtyar/GMTK-2020---Team-Pelmeni",
"max_stars_repo_path": "Assets/Scripts/Globals.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95736"
} | starcoder | <gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Globals : MonoBehaviour
{
public static int Balls = 0;
}
| 0.852832 | 3f319bb39077f86a02fb93b3fa237ee3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95736 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Local9/Atlas",
"max_stars_repo_path": "Atlas.Roleplay.Client/Environment/Entities/Modules/EntityModule.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95737"
} | starcoder | namespace Atlas.Roleplay.Client.Environment.Entities.Modules
{
public abstract class EntityModule
{
public AtlasEntity Entity { get; set; }
public int Id { get; set; }
public void CallBeginOperation(AtlasEntity entity, int id)
{
Entity = entity;
Id = id;
... | 2.382947 | 3210aa00363624a57162043674967e51 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95737 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "apprenda/ApplicationSamples",
"max_stars_repo_path": "datatierplugin/src/efplugin/IMigrationFactory.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95738"
} | starcoder | namespace Apprenda.EFPlugin
{
public interface IMigrationFactory
{
IDbMigratorWrapper CreateMigrator(string connString);
IMigrationVersionContext CreateDbContext(string connString);
IMigrationRepository CreateMigrationRepository(IMigrationVersionContext ctx);
}
}
| 1.454623 | ff852cd1079e8fae71d3d8de6a26c126 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95738 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "liyanjie8712/Components",
"max_stars_repo_path": "src/Liyanjie.Utilities/RSAHelper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95739"
} | starcoder | <gh_stars>1-10
using System.IO;
using System.Text;
using System.Xml;
using System.Xml.Serialization;
namespace System.Security.Cryptography
{
/// <summary>
///
/// </summary>
public static class RSAHelper
{
/// <summary>
///
/// </summary>
/// <returns></returns>
... | 2.694999 | 02291088f954652b1fd7b36d232fbe23 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95739 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Omarmtz/PatternsDesignCSharp",
"max_stars_repo_path": "PatternsLearning/ObserverPattern/Concrete Classes/WeatherStation.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95740"
} | starcoder | <reponame>Omarmtz/PatternsDesignCSharp
using PatternsLearning.ObserverPattern.AbstractClasses;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PatternsLearning.ObserverPattern.Concrete_Classes
{
public class WeatherStation : IObservable... | 2.972302 | fab653a714d04aa1bb39b3e2fe66dcd3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95740 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "slavashar/Maze",
"max_stars_repo_path": "src/Maze/StringNodeBuilder.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95741"
} | starcoder | <filename>src/Maze/StringNodeBuilder.cs
using System;
using System.Collections.Generic;
using System.Linq;
using Maze.Nodes;
namespace Maze
{
public abstract class NodeVisitor<TResult>
{
public virtual TResult VisitNode(Node node)
{
switch (node.Kind)
{
... | 3.011627 | a093ab514c1584fd72dbb8e6218e9044 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95741 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "project-grove/vox",
"max_stars_repo_path": "Vox/Internal/Util.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95742"
} | starcoder | using System;
using System.Buffers;
using System.Collections.Generic;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using Vox.Decoders;
/// <summary>
/// Internal namespace. If something from here will be in the API docs,
/// then we have a problem.
/// </summary>
namespace Vox.Internal
... | 2.549647 | 9f54ef69dcb692230f85630eadd1e6ff |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95742 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sdrmaps/dotspatial",
"max_stars_repo_path": "Source/DotSpatial.Symbology/DynamicVisibilityMode.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95743"
} | starcoder | // ********************************************************************************************************
// Product Name: DotSpatial.Symbology.dll
// Description: Contains the business logic for symbology layers and symbol categories.
// ***************************************************************************... | 2.13264 | 058740329ca3d7c6332b85ef44377a8c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95743 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "feilang864/task.zyfei.net",
"max_stars_repo_path": "Tool/BuildDatabase/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95744"
} | starcoder | <gh_stars>1-10
using System;
using System.IO;
using FFLTask.Tool.BuildDatabase;
using FFLTask.Tool.BuildDatabase.Factory.Special;
using NHibernate;
using NHibernate.Tool.hbm2ddl;
namespace FFLTask.BuildDatabase
{
class Program
{
static void Main(string[] args)
{
log4net.Config.XmlC... | 2.005939 | 53d1c8390e3f6ddcfeedb1fa025a1d59 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95744 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "yasenm/microservices-demo",
"max_stars_repo_path": "Streami/UsersApi/Services/IUserService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95745"
} | starcoder | <reponame>yasenm/microservices-demo<filename>Streami/UsersApi/Services/IUserService.cs
using System.Collections.Generic;
using System.Threading.Tasks;
namespace UsersApi.Services
{
public interface IUserService
{
T Get<T>(string id);
IEnumerable<T> Get<T>();
Task<bool> AddOrUpdate<T>(T... | 1.912291 | 96a5fcdf6c2fff61e6f3be9c3bb7ec3f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95745 | {
"extension": "c-sharp",
"max_stars_count": "14.0",
"max_stars_repo_name": "WadeBarnes/moh-prime",
"max_stars_repo_path": "prime-dotnet-webapi/Models/Email/EmailLog.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95746"
} | starcoder | <reponame>WadeBarnes/moh-prime
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Prime.HttpClients.Mail;
namespace Prime.Models
{
[Table("EmailLog")]
public class EmailLog : BaseAuditable
{
[Key]
public int Id { get; set; }
... | 2.048348 | 7ad75c6034adb1d4362e3f609481c0cb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95746 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kienboec/SWA-DojoReference",
"max_stars_repo_path": "Dojo03/Simulation/Simulator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95747"
} | starcoder | <reponame>kienboec/SWA-DojoReference<filename>Dojo03/Simulation/Simulator.cs<gh_stars>0
using Shared.BaseModels;
using Shared.Models;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namesp... | 2.692798 | 4a9ef02f81ba022a1f3a2eb31b927c67 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95747 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "itspaiva/DDTank4.1",
"max_stars_repo_path": "Source Server/SourceQuest4.5/Microsoft.QualityTools.Testing.Fakes/Properties/AssemblyInfo.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95748"
} | starcoder | using System;
using System.Diagnostics;
using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyInformationalVersion("12.0.21005.1")]
[assembly: AssemblyFileVersion("12.0.21005.1")]
[assembly: InternalsVisibleTo("Microsoft.Quality... | 1.279685 | 6b82c0844f66fa0349ebe7a2d4a62709 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95748 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "ghjm/PuttyMadness",
"max_stars_repo_path": "PuttyMadness/PuttySelectorPanel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95749"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace PuttyMadness
{
public partial class PuttySelectorPanel : UserControl
{
... | 2.544295 | c60c559e72db0933f156c80577b29606 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95749 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "keremkoseoglu/GurKan",
"max_stars_repo_path": "Gurkan/Forms/FormPlatformWeight.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95750"
} | starcoder | <filename>Gurkan/Forms/FormPlatformWeight.cs<gh_stars>0
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
namespace Gurkan
{
public partial class FormPlatformWeight : Form
{
pu... | 2.216631 | d3e22269e6511c38138188f676828e87 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95750 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "JensKrumsieck/ChemSharp",
"max_stars_repo_path": "ChemSharp/DataProviders/IParameterProvider.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95751"
} | starcoder | using System.Collections.Generic;
namespace ChemSharp.DataProviders
{
/// <summary>
/// Provides access to parameter dictionary from Parameter files
/// </summary>
public interface IParameterProvider
{
/// <summary>
/// Storage Dictionary from ParameterFile
/// </summary>
... | 2.461433 | 6695d905469c7d5611a47db073613e61 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95751 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "tf3604/ssptv",
"max_stars_repo_path": "SqlServerQueryTreeViewer/SqlExecuteCompleteEventArgs.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95752"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SqlServerQueryTreeViewer
{
internal class SqlExecuteCompleteEventArgs : EventArgs
{
public SqlExecuteCompleteEventArgs()
{
Exception = null;
... | 1.8989 | 3723ba8b1318a60f00b909c34d9951e5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95752 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ivanagui2/PDFjet-Open-Source",
"max_stars_repo_path": "net/pdfjet/CompositeTextLine.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95753"
} | starcoder | /**
* CompositeTextLine.cs
*
Copyright (c) 2018, Innovatics Inc.
All rights reserved.
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice,
thi... | 2.571345 | d863d92fa86f1ae8599d5d2abb21c01e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95753 | {
"extension": "c-sharp",
"max_stars_count": "27.0",
"max_stars_repo_name": "Kirill-Maurin/Sample.Struct",
"max_stars_repo_path": "Sample.Struct/Functions/Delegate.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95754"
} | starcoder | using System;
namespace Sample.Struct.Functions
{
public static class Delegate
{
public static Delegate<TIn, TOut> AsStructDelegate<TIn, TOut>(this Func<TIn, TOut> @delegate)
=> new Delegate<TIn, TOut>(@delegate);
public static Function<Delegate<TIn, TOut>, TIn, TOut> As... | 3.168465 | 22bc800e26770dbabf3147de3778769f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95754 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "DatMayo/altV_GlobalBan",
"max_stars_repo_path": "Models/GlobalBanModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95755"
} | starcoder | <filename>Models/GlobalBanModel.cs<gh_stars>1-10
using MySql.Data.MySqlClient;
using System;
namespace VnXGlobalSystems.Models
{
public class GlobalBanModel
{
public string PlayerUID { get; set; }
public string PlayerName { get; set; }
public string PlayerHardwareId { get; set; }
... | 2.45244 | a48658c0c165c484ff8d7719128a6f1c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95755 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sheeri185adidam/fluentinterfaces",
"max_stars_repo_path": "FluentInterfaces/Validator/RuleBuilder.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95756"
} | starcoder | using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Linq.Expressions;
using System.Reflection;
namespace Validator
{
public class RuleBuilder<T>
{
private readonly IDictionary<string, IList<IRule<T>>> _rules = new Dictionary<string, IList<IRule<T>>>();
... | 2.797226 | 0aebae59246cf020950bdb3f75fc58c0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95756 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "dgg/NMoneys.Web",
"max_stars_repo_path": "src/Web/Content/src/CodeProject/12.Money_Arithmetic.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95757"
} | starcoder | <gh_stars>1-10
using System;
using NMoneys;
using NMoneys.Extensions;
using NUnit.Framework;
public partial class Money_Arithmetic
{
[Test]
public void moneys_are_to_be_operated_with_arithmetic_operators()
{
Money fivePounds = 2m.Pounds().Plus(3m.Pounds());
Assert.That(fivePounds, isMoneyWith(5m, CurrencyIsoCo... | 3.210263 | 2bdf10424dce2431f02f0f39ae4ac789 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95757 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TechDevsCode/UCLBFlightTracker",
"max_stars_repo_path": "BlazorApp1/Data/WeatherForecastService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95758"
} | starcoder | using BeatlesBlog.SimConnect;
using BlazorApp1.Hubs;
using Microsoft.AspNetCore.SignalR;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Threading.Tasks;
... | 2.150247 | a8d05d73ee7bf43ed8c8b89fdfbf2d44 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95758 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "ST4NSB/part-of-speech-tagging-library",
"max_stars_repo_path": "src/TextPreprocessing.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95759"
} | starcoder | <filename>src/TextPreprocessing.cs<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
namespace NLP
{
public static class TextPreprocessing
{
public static class Normalization
{
/// <summary>
... | 3.349027 | 252462aa8311278d926692a134e99f86 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95759 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "PACTCare/Iota.Fhir.Diabetes",
"max_stars_repo_path": "App/Pact.App.Core/Views/Main/MasterDetailMainPageMaster.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95760"
} | starcoder | <filename>App/Pact.App.Core/Views/Main/MasterDetailMainPageMaster.xaml.cs
using Pact.App.Core.ViewModels;
namespace Pact.App.Core.Views.Main
{
using System.Windows.Input;
using Pact.App.Core.Commands;
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
/// <summary>
/// The master detail main page master.
... | 2.091684 | e0a45c0850338952e29d61ee3be4654d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95760 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "RobertHajbok/WebFormsDocumentViewer",
"max_stars_repo_path": "WebFormsDocumentViewer.Tests/DocumentViewerTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95761"
} | starcoder | <gh_stars>1-10
using NUnit.Framework;
using System.IO;
using System.Text;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace WebFormsDocumentViewer.Tests
{
[TestFixture]
public class DocumentViewerTests
{
[Test]
public void TempDirectoryPath_When_PathIsEmpty_Then_TempFolderIsS... | 2.360665 | d04883f5a3821844fe0a10e38d49c597 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.