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 | 1509 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "Wu3r5l1n/NvEncSharp",
"max_stars_repo_path": "src/NvEncSharp/LibCuda.Surface.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1510"
} | starcoder | using System.Runtime.InteropServices;
// ReSharper disable UnusedMember.Global
namespace Lennox.NvEncSharp
{
public unsafe partial class LibCuda
{
/// <summary>Sets the CUDA array for a surface reference.
///
/// Sets the CUDA array <paramref name="hArray"/> to be read and w... | 2.031828 | 0ad77c031ee937e0eb1d3d691feda764 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1510 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sevdalin/Software-University-SoftUni",
"max_stars_repo_path": "Db Advanced - EF Core/12. Exam Preparation II/Stations.Models/TrainSeat.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1511"
} | starcoder | namespace Stations.Models
{
using System.ComponentModel.DataAnnotations;
public class TrainSeat
{
public int Id { get; set; }
[Required]
public int TrainId { get; set; }
[Required]
public Train Train { get; set; }
[Required]
public int SeatingClas... | 2.304387 | 45e596537b829fbddfcc4418ef5fabd0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1511 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AlecDTucker/ADB2C-XF-API",
"max_stars_repo_path": "2. Write a Xamarin.Forms app that uses Azure AD B2C/Adb2cDemo/Adb2cDemo/Models/UserContext.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1512"
} | starcoder | <reponame>AlecDTucker/ADB2C-XF-API
public class UserContext
{
public string Name { get; internal set; }
public string UserIdentifier { get; internal set; }
public bool IsLoggedOn { get; internal set; }
public string GivenName { get; internal set; }
public string FamilyName { get; internal set; }
... | 1.593778 | dd8130073964bc4940e24f700a5fa6f6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1512 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "campersau/CefSharp",
"max_stars_repo_path": "CefSharp/DevTools/IndexedDB/DatabaseWithObjectStores.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1513"
} | starcoder | <reponame>campersau/CefSharp<gh_stars>0
// Copyright © 2020 The CefSharp Authors. All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
namespace CefSharp.DevTools.IndexedDB
{
/// <summary>
/// Database with an array of object stores.
//... | 2.200364 | 301587171f7751be2c5e71c2fd319cac |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1513 | {
"extension": "c-sharp",
"max_stars_count": "125.0",
"max_stars_repo_name": "ForNeVeR/Reinforced.Tecture",
"max_stars_repo_path": "Reinforced.Tecture/Tracing/Commands/Cycles/FakeCycleTraceContext.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1514"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace Reinforced.Tecture.Tracing.Commands.Cycles
{
class FakeCycleTraceContext : ICycleTraceContext
{
public void Dispose() { }
public void Iteration(string annotation = null) { }
}
}
| 1.453706 | d818955f64ed0988ab83b654d131caa5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1514 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "coolymike/FWR-QoL-Mod",
"max_stars_repo_path": "Source/ExplosionsBillboard.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1515"
} | starcoder | <filename>Source/ExplosionsBillboard.cs
using System;
using UnityEngine;
// Token: 0x02000014 RID: 20
public class ExplosionsBillboard : MonoBehaviour
{
// Token: 0x0600004A RID: 74 RVA: 0x00008ED8 File Offset: 0x000070D8
private void Awake()
{
if (this.AutoInitCamera)
{
this.Camera = Camera.main... | 1.856963 | fa87abffd44aee7e0c1f71368091fdc1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1515 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "82ndAirborneDiv/Epi-Info-Cloud-Contact-Tracing",
"max_stars_repo_path": "Cloud Enter/Epi.Cloud.MVC.Common/Models/FormInfoModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1516"
} | starcoder | <gh_stars>1-10
namespace Epi.Cloud.MVC.Models
{
public class FormInfoModel
{
private string _FormId;
private string _FormNumber;
private string _FormName;
private int _UserId;
private string _OrganizationName;
private int _OrganizationId;
private bool _Is... | 1.891914 | 0cbfc6b3c5eed2b3d663abf0345eeee7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1516 | {
"extension": "c-sharp",
"max_stars_count": "2374.0",
"max_stars_repo_name": "PrimoDev23/Roslynator",
"max_stars_repo_path": "src/Tests/Testing.Common/Testing/IAssert.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1517"
} | starcoder | // Copyright (c) <NAME>. All rights reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
namespace Roslynator.Testing
{
internal interface IAssert
{
/// <summary>
/// Compares specified values and throws error if they are not eq... | 2.471138 | aef3ced43f9bac26e127343bb61cf23f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1517 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "gafda/Tryouts",
"max_stars_repo_path": "Assets/Scripts/Sqlite3/Person.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1518"
} | starcoder | using SQLite4Unity3d;
public class Person
{
public int Age { get; set; }
[PrimaryKey, AutoIncrement]
public int Id { get; set; }
public string Name { get; set; }
public string Surname { get; set; }
public override string ToString()
{
return string.Format("[Person: Id={0}, Name={... | 2.68946 | 8d99e6b2525ba1b65a8ddf48bdc9c6f1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1518 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "koliyo/Pidgin",
"max_stars_repo_path": "Pidgin.Tests/ArgumentNullTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1519"
} | starcoder | using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Linq;
using System.Linq.Expressions;
using System.Reflection;
using System.Runtime.ExceptionServices;
using Xunit;
using static System.Linq.Expressions.Expression;
namespace Pidgin.Tests
{
public class ArgumentNullTest... | 2.539654 | 8355c25502ece9558165c0179578829f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1519 | {
"extension": "c-sharp",
"max_stars_count": "3268.0",
"max_stars_repo_name": "gjy5885/azure-sdk-for-net",
"max_stars_repo_path": "sdk/timeseriesinsights/Azure.IoT.TimeSeriesInsights/src/Generated/Models/InstancesRequestBatchGetOrDelete.Serialization.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1520"
} | starcoder | <reponame>gjy5885/azure-sdk-for-net
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System.Text.Json;
using Azure.Core;
namespace Azure.IoT.TimeSeriesInsights
{
internal partial class InstancesRequestBatchGetOrDelete : ... | 0.809027 | b140bb174071118ea4f670d72eefba99 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1520 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "188867052/Element-Blazor",
"max_stars_repo_path": "src/Admin/Admin.ServerRender/UserController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1521"
} | starcoder | using Blazui.Admin.Abstract;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Linq;
using Blazui.Component;
using System.Threading.Tasks;
namespace Blazui.Admin.ServerRender
{
public class UserController : ControllerBase
{
private readonly IUserService userS... | 2.149284 | eeb448b55f5039c894e767b5228f3a8e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1777 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "Beier/Omnium",
"max_stars_repo_path": "Omnium.Core/ast/statements/Assertion.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1778"
} | starcoder | using System.Collections.Generic;
using System.Linq;
using Antlr4.Runtime.Tree;
using Omnium.Core.ast.expressions;
using Omnium.Core.ast.expressions.literals;
namespace Omnium.Core.ast.statements
{
public class Assertion : Node, IStatement
{
public IExpression Condition => Children.OfType<IExpression>... | 2.558867 | 564405f654442a3e942ee1ecf8d39991 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1778 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pjlammertyn/Cozo-Broker",
"max_stars_repo_path": "COZO/IPatientTransaction.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1779"
} | starcoder | <reponame>pjlammertyn/Cozo-Broker<filename>COZO/IPatientTransaction.cs
using COZO.KMEHR;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace COZO
{
public interface IPatientTransaction
{
Task<bool> HasValidSocialSecurityNumber(string patientId);
personType GetPersonTypeOn... | 1.928306 | e89f2b9c9f5f3df69cd5e49e50357eb0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1779 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "AtomicalSloths/twinsanity-editor",
"max_stars_repo_path": "Twinsanity/Items/Instances/InstanceDemo.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1780"
} | starcoder | using System.Collections.Generic;
using System.IO;
namespace Twinsanity
{
public class InstanceDemo : TwinsItem
{
public Pos Pos { get; set; }
public ushort RotX { get; set; }
public ushort RotY { get; set; }
public ushort RotZ { get; set; }
public ushort COMRotX { get;... | 2.364505 | 553d2d2f5793555b88cb9a9171c6a597 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1780 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "mshandle/GStar",
"max_stars_repo_path": "Project/le3/les3/Assets/Framework/Script/Util/MonoSingleton.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1781"
} | starcoder | using UnityEngine;
namespace Framework
{
public abstract class MonoSingleton<T> : MonoBehaviour where T : MonoSingleton<T>
{
protected static T _instance;
private static bool _bDestory = false;
public static T Instance
{
get
{
if (_bDes... | 2.861639 | 7cea2fb12a9180fa46946dd4f5f28640 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1781 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "vsaraminev/C-Advance",
"max_stars_repo_path": "BashSoft/BashSoft/BashSoft/IO/InputReader.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1782"
} | starcoder | namespace BashSoft
{
using System;
public class InputReader
{
private const string endCommand = "quit";
private CommandInterpreter interpreter;
public InputReader(CommandInterpreter interpreter)
{
this.interpreter = interpreter;
}
public vo... | 3.102915 | 615c69a8aa4b428035d5679a1a789c43 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1782 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "harunmarangoz/Haro.AdminPanel",
"max_stars_repo_path": "Haro.AdminPanel/Utilities/Media/ImageHelper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1783"
} | starcoder | <reponame>harunmarangoz/Haro.AdminPanel<filename>Haro.AdminPanel/Utilities/Media/ImageHelper.cs
using Microsoft.AspNetCore.Http;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using Haro.AdminPanel.Utilities.Object;
namespace Haro.AdminPanel.Utilities.Media
{
public static cla... | 2.394825 | 069644976b6bd8d4b19f0589e5fbc728 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1783 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "alexnoddings/Elvet",
"max_stars_repo_path": "Core/Plugins/Extensions/PluginBuilderExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1784"
} | starcoder | <reponame>alexnoddings/Elvet
using System;
using Discord.Commands;
using Elvet.Core.Plugins.Builder;
namespace Elvet.Core.Plugins.Extensions
{
/// <summary>
/// Extension methods for adding to an <see cref="IPluginBuilder"/>.
/// </summary>
public static class PluginBuilderExtensions
{
/// ... | 2.629622 | 260f1e36ccf108eaf7c91f4884411bf7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1784 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DlhSoftTeam/ProjectManagementXlsx",
"max_stars_repo_path": "ProjectManagementXlsx/Adapter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1785"
} | starcoder | <filename>ProjectManagementXlsx/Adapter.cs
using System;
using System.IO;
using System.IO.Compression;
using System.Linq;
using System.Globalization;
using System.Xml.Linq;
using DlhSoft.Windows.Data;
using System.Collections.Generic;
namespace ProjectManagementXlsx
{
public static class Adapter
{
... | 2.33463 | 99c6ad31b9738b5e548af347ec92e02d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1785 | {
"extension": "c-sharp",
"max_stars_count": "124.0",
"max_stars_repo_name": "HoeflingSoftware/notifications",
"max_stars_repo_path": "Plugin.Notifications.Android/INotificationRepository.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1786"
} | starcoder | using System;
using System.Collections.Generic;
namespace Plugin.Notifications
{
public interface INotificationRepository
{
Notification GetById(int id);
IEnumerable<Notification> GetScheduled();
void Insert(Notification notification);
void Delete(int id);
void DeleteA... | 2.054499 | f6a05a750331fb8f2c953fc2651ed263 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1786 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "BenFenton1996/BankingApp",
"max_stars_repo_path": "BankingApp/Areas/Home/Models/TransferLogViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1787"
} | starcoder | <gh_stars>0
using BankingApp.Entities.Models;
using System;
namespace BankingApp.Areas.Home.Models
{
public class TransferLogViewModel
{
public TransferLogViewModel(BankTransferLog TransferLog, string description)
{
TransferDate = TransferLog.TransferDate;
AmountTransfe... | 1.826172 | 7612176c3cea247392cf6f135265da8b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1787 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "RicardoEPRodrigues/DynamicUI",
"max_stars_repo_path": "Assets/NEW/Scripts/MainScript.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1788"
} | starcoder | <reponame>RicardoEPRodrigues/DynamicUI
/*
* Copyright (C) ricardo 2017 - All Rights Reserved
*/
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System;
namespace NEW {
public class MainScript : MonoBehaviour {
public string prefabPath = "NEW/Theme01/YesNoCanvas";
... | 2.595959 | 52489f885b9e8897fe92bbc51b886fe6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1788 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "motix/MotiNet-Entities",
"max_stars_repo_path": "test/MotiNet.Extensions.Entities.Core.Test/_EntityTypes/NameBasedEntityManager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1789"
} | starcoder | <filename>test/MotiNet.Extensions.Entities.Core.Test/_EntityTypes/NameBasedEntityManager.cs
using Microsoft.Extensions.Logging;
using Moq;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Xunit;
namespace MotiNet.Entities.Test
{
public ... | 2.496525 | c9c1ddb5e4b730cb30982d49d106d210 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1789 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "seungyongshim/Serilog.Enrichers.Span",
"max_stars_repo_path": "Source/Serilog.Enrichers.Span/ActivityEnricher.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1790"
} | starcoder | namespace Serilog.Enrichers.Span
{
using System.Diagnostics;
using Serilog.Core;
using Serilog.Events;
/// <summary>
/// A log event enricher which adds span information from the current <see cref="Activity"/>.
/// </summary>
public class ActivityEnricher : ILogEventEnricher
{
p... | 2.668576 | d763c1ab98bf2955aba3f90ee51699da |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1790 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Control-Alt-Sistemas/Liquid-Application-Framework",
"max_stars_repo_path": "src/Liquid.Repository.EntityFramework/Extensions/DbContextExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1791"
} | starcoder | using System;
using System.Linq;
namespace Microsoft.EntityFrameworkCore
{
/// <summary>
/// Entity Framework <see cref="DbContext"/> extension methods.
/// </summary>
public static class DbContextExtensions
{
/// <summary>
/// Untrack entities onto <see cref="DbContext"/>.
... | 3.120671 | 77cd8ef0112df0036cfe0cde7d2bef52 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1791 | {
"extension": "c-sharp",
"max_stars_count": "14.0",
"max_stars_repo_name": "CyberSys/Mugen3D",
"max_stars_repo_path": "BattleServer/BattleServer/Src/Protocol/FrameData.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1792"
} | starcoder | <reponame>CyberSys/Mugen3D
using System.Collections;
using System.Collections.Generic;
namespace BattleServer.Protocol
{
public class FrameData : ProtocolBytes
{
public int frameNo { get; private set; }
public int input { get; private set; }
public FrameData(int frameNo, int input)
... | 2.422738 | 47ada6784561892fce858dbd89a11819 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1792 | {
"extension": "c-sharp",
"max_stars_count": "587.0",
"max_stars_repo_name": "dMajoIT/GerberTools",
"max_stars_repo_path": "GerberPanelizer/PanelProperties.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1793"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace GerberCombinerBuilder
{
public partial class PanelProperties : Form
{
private ... | 2.213665 | 94f6e2e375d9a0865ab05ea34ee61faa |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1793 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "a-leontiev/aws-sdk-net",
"max_stars_repo_path": "sdk/src/Services/Backup/Generated/Model/BackupPlanInput.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1794"
} | starcoder | <reponame>a-leontiev/aws-sdk-net<gh_stars>1-10
/*
* Copyright 2010-2014 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http... | 1.732136 | d6e7efce18b459a64ca4978d01903dcb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1794 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Sid3way/akka.net",
"max_stars_repo_path": "src/core/Akka/IO/UdpConnection.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1795"
} | starcoder | <filename>src/core/Akka/IO/UdpConnection.cs
//-----------------------------------------------------------------------
// <copyright file="UdpConnection.cs" company="Akka.NET Project">
// Copyright (C) 2009-2016 Typesafe Inc. <http://www.typesafe.com>
// Copyright (C) 2013-2016 Akka.NET project <https://github.... | 1.658357 | aa3c0dffe723e661962689bc97f45f1b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1795 | {
"extension": "c-sharp",
"max_stars_count": "778.0",
"max_stars_repo_name": "jeroen-mostert/CodeContracts",
"max_stars_repo_path": "Demo/BankAccount/Account.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1796"
} | starcoder | <reponame>jeroen-mostert/CodeContracts
// CodeContracts
//
// Copyright (c) Microsoft Corporation
//
// All rights reserved.
//
// MIT License
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Soft... | 2.44509 | 0d17583283f95248cf18cc68f31a4463 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1796 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ErythroGuild/puck",
"max_stars_repo_path": "Puck/Format.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1797"
} | starcoder | <reponame>ErythroGuild/puck
namespace Puck {
// These functions are all "dumb" and do not attempt to perform
// any sort of validation on their input/output.
// That functionality would be expensive and subject to change
// since Discord's formatting behavior is undocumented.
static class Format {
// Basic text... | 2.760362 | 70d89df855eebb98b1637ee93379461c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1797 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "filimor/uri-online-judge-c-sharp",
"max_stars_repo_path": "UriOnlineJudge/Ad-Hoc/uri2464/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1798"
} | starcoder | <filename>UriOnlineJudge/Ad-Hoc/uri2464/Program.cs
using System;
namespace uri2464
{
internal static class Decifra
{
private static void Main()
{
string sequencia = Console.ReadLine();
string frase = Console.ReadLine();
string mensagem = string.Empty;
... | 2.47853 | cf31931bf7dfa7f3947986f80cf681cc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1798 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "umairsyed613/EFDbFactory.Sqlite",
"max_stars_repo_path": "Src/EFDbFactory.Sqlite/Extensions/ServiceCollectionExtension.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1799"
} | starcoder | using System;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
namespace EFDbFactory.Sqlite.Extensions
{
public static class ServiceCollectionExtension
{
/// <summary>
/// Add DB Factory with provided Connection string
/// </summary>
/// <para... | 2.722601 | 19e0d78b7523aaecaa08c03f7b836429 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1799 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ViveportSoftware/vita_shell_csharp",
"max_stars_repo_path": "source/Htc.Vita.Shell/UriSchemeManager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1800"
} | starcoder | <reponame>ViveportSoftware/vita_shell_csharp
using System;
using System.Collections.Generic;
using System.Linq;
using Htc.Vita.Core.Log;
using Htc.Vita.Core.Util;
namespace Htc.Vita.Shell
{
/// <summary>
/// Class UriSchemeManager.
/// </summary>
public abstract partial class UriSchemeManager
{
... | 2.524225 | 584c04f738ef8837501c7d200f78c2cf |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1800 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "watson81/StardewMods",
"max_stars_repo_path": "LookupAnything/Framework/Fields/GenericField.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1801"
} | starcoder | <reponame>watson81/StardewMods<filename>LookupAnything/Framework/Fields/GenericField.cs
using System.Collections.Generic;
using System.Linq;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Pathoschild.Stardew.LookupAnything.Framework.Constants;
using StardewModdingAPI;
namespace Pathoschil... | 2.88369 | 4145e4a185bf420ce29448f9f79c83b9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1801 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "zlxy/Genesis-3D",
"max_stars_repo_path": "Engine/extlibs/IosLibs/mono-2.6.7/mono/tests/cas/assembly/all.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1802"
} | starcoder | <filename>Engine/extlibs/IosLibs/mono-2.6.7/mono/tests/cas/assembly/all.cs
using System;
using System.Reflection;
using System.Security;
using System.Security.Permissions;
[assembly: SecurityPermission (SecurityAction.RequestMinimum, Execution=true)]
//[assembly: PermissionSet (SecurityAction.RequestOptional, Unrestri... | 2.044187 | c6e82e8511cce0b4600c75ac3ea9f4dd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1802 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "caikelun/PermissionBase",
"max_stars_repo_path": "src/Core/DTO/SysCodeTypeDTO.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1803"
} | starcoder | using System;
namespace PermissionBase.Core.DTO
{
/// <summary>
/// 代码分类。
/// </summary>
public class SysCodeTypeDTO
{
public string Id;
public string Tag;
public string Name;
public string Remark;
public int OrderId;
}
}
| 1.525179 | 6a836ef2ee42f15093c6a8b0d13d5959 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1803 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "peterhuang47/2019NetCore_1",
"max_stars_repo_path": "NUnitTestProject1/UnitTest1.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1804"
} | starcoder | using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using NUnit.Framework;
using WebApplication1.Pages;
namespace NUnitTestProject1
{
public class Tests
{
[SetUp]
public void Setup()
{
}
[Test]
public void Test1()
{
... | 2.1696 | 5a1e2342e0007525d3ddf22a82113a61 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1804 | {
"extension": "c-sharp",
"max_stars_count": "41.0",
"max_stars_repo_name": "madmarks/High-Quality-Code",
"max_stars_repo_path": "17. Design Patterns/Demo/Creational/SimpleFactory/Coffee.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1805"
} | starcoder | namespace SimpleFactory
{
public class Coffee
{
public Coffee(int milk, int coffee)
{
this.MilkContent = milk;
this.CoffeeContent = coffee;
}
public int MilkContent { get; private set; }
public int CoffeeContent { get; private set; }
}
}
| 2.922575 | 0590f1dbc7ff63ae1a2de9c0050154c7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1805 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "autumn009/TanoCSharpSamples",
"max_stars_repo_path": "Chap30/C30Q3/C30Q3/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1806"
} | starcoder | <gh_stars>1-10
using System;
class Program
{
public static void Sample() => Console.WriteLine("Hello Sample");
static void Main(string[] args)
{
Sample();
}
}
| 2.397462 | ffb52a4d5b53ebcb2dd759b7c2ef18e7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1806 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "saharamini/Dancing-Men-Cipher",
"max_stars_repo_path": "source_code/DancingMenCipher/Models/Counting.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1807"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace DancingMenCipher.Models
{
// Letter Frequency - count each letter
public static class Counting
{
public static Dictionary<char, int> CharacterCount(this string strings)
{
return strin... | 2.930699 | 09e016741104f7fc5852aa65b83831e2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1807 | {
"extension": "c-sharp",
"max_stars_count": "249.0",
"max_stars_repo_name": "rgwood/go2cs",
"max_stars_repo_path": "src/go-src-converted/math/rand/rand_SourceInterface.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1808"
} | 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.
//
// Generated on 2020 October 09 04:50:47 UTC
// </auto-generated>
//--------------... | 1.868773 | 9ed571de7f782b12674e140b031bc7ab |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1808 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Abyssiren/Abyssiren",
"max_stars_repo_path": "Assets/MicTestFinishedBuild/MicTestFinishedBuild_Input.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1809"
} | starcoder | <reponame>Abyssiren/Abyssiren
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class MicTestFinishedBuild_Input : MonoBehaviour {
//input,microphone var
private static int MicSampleTime_s = 1;
private static int MicSampleFrequency_perS = 44100;
private b... | 2.123637 | 80b61acb96a383d3477a352903359fa0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1809 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "KonH/PiLedGame",
"max_stars_repo_path": "SimpleECS.Core/Components/TimerComponent.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1810"
} | starcoder | namespace SimpleECS.Core.Components {
public sealed class TimerComponent : IComponent {
public double Time;
public double Interval { get; private set; }
public void Init(double interval) {
Time = 0.0;
Interval = interval;
}
}
} | 2.269355 | 2efd3992152419a4b803e923f4c4a238 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1810 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "paralleltree/Scallion",
"max_stars_repo_path": "Scallion/Internal/Converters/Project/MediaConverter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1811"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using Scallion.DomainModels.Components;
namespace Scallion.Internal.Converters.Project
{
internal class MediaConverter : IConverter<Raw.Components.Project.Media, Media>
{
public DomainModels.Components.Media Convert(Raw.Components.Pro... | 2.257716 | 86b9427f9be555bc035e116cfca99895 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1811 | {
"extension": "c-sharp",
"max_stars_count": "392.0",
"max_stars_repo_name": "JMayrbaeurl/Industrial-IoT",
"max_stars_repo_path": "components/opc-ua/src/Microsoft.Azure.IIoT.OpcUa/src/Publisher/Extensions/DataSetMetaDataModelEx.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1812"
} | starcoder | // ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
// ------------------------------------------------------------
namespace Microsoft.Azure.I... | 1.978311 | f9d7ba0f4d525712a9b04fe767b4440b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1812 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dumiGitHub/VirtualSpace",
"max_stars_repo_path": "API/Controllers/AccountController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1813"
} | starcoder | using System.Linq;
using System.Security.Cryptography;
using System.Text;
using System.Threading.Tasks;
using API.Data;
using API.DTOs;
using API.Entities;
using API.Interfaces;
using AutoMapper;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
namespace API.Controllers
{
public class AccountCo... | 2.545096 | 1718299625720956c6d0118e83c7387e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1813 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Anduin2017/microsoft-authentication-library-for-dotnet",
"max_stars_repo_path": "tests/Microsoft.Identity.Test.Unit/AppConfigTests/PublicClientApplicationBuilderTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1814"
} | starcoder | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using Microsoft.Identity.Client;
#if !NET5_WIN
using Microsoft.Identity.Client.Desktop;
#endif
using Microsoft.Identity.Client.Internal;
u... | 1.598098 | 8102a5fe8231bddbb01a0e30b18d8920 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1814 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "AlFasGD/runtime",
"max_stars_repo_path": "src/libraries/System.Composition/tests/LooseImportsTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1815"
} | starcoder | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Collections.Generic;
using System.Composition.UnitTests;
using System.Linq;
using System.... | 1.807823 | 2c77bb10a77c4ea4da11838c0a99f3d1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1815 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "amalapushparaj/Evolve-master",
"max_stars_repo_path": "src/Evolve/Exception/EvolveException.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1816"
} | starcoder | using System;
namespace Evolve
{
public class EvolveException : Exception
{
public EvolveException() : base() { }
public EvolveException(string message) : base(message) { }
public EvolveException(string message, Exception innerEx) : base($"{message} {innerEx.Message}" , innerEx) { }
... | 2.68894 | 604cc50df5e805e444b5e81fafc88f7d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1816 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Zhilong-Yang/BioWorldBlog",
"max_stars_repo_path": "BioWorld.Domain/Entities/PostEntity.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1817"
} | starcoder | <filename>BioWorld.Domain/Entities/PostEntity.cs
using System;
using System.Collections.Generic;
using BioWorld.Domain.Common;
namespace BioWorld.Domain.Entities
{
public class PostEntity : AuditableEntity
{
public PostEntity()
{
Comment = new HashSet<CommentEntity>();
... | 2.273019 | 6613a2daa7362c25554b17674947dce4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1817 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "MicroFocus/alm-octane-csharp-rest-sdk",
"max_stars_repo_path": "OctaneSdk/Services/EntityService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1818"
} | starcoder |
/*!
* (c) 2016-2018 EntIT Software LLC, a Micro Focus company
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ... | 1.78107 | 4048c4271fb0778b13787f3efe2b1b0e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1818 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Priya91/corefx-1",
"max_stars_repo_path": "src/System.Dynamic.Runtime/tests/Dynamic.DynamicType/Conformance.dynamic.dynamicType.returnType.covariant.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1819"
} | starcoder | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using Xunit;
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.dynamicType.returnType.covariant.indexer001.i... | 2.635246 | 1c378771e57f1418ca439715b57d74de |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1819 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "NikolayXHD/Lucene.Net.Contrib",
"max_stars_repo_path": "Lucene.Net/Index/BufferedUpdatesStream.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1820"
} | starcoder | <reponame>NikolayXHD/Lucene.Net.Contrib
using Lucene.Net.Support;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Runtime.CompilerServices;
namespace Lucene.Net.Index
{
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor l... | 2.042518 | 7b1c6755acb8149c3fe82886eea70707 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1820 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "bitzhuwei/VulkanSharp",
"max_stars_repo_path": "src/Platforms/Linux/Handles.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1821"
} | starcoder | /* Please note that this file is generated by the VulkanSharp's generator. Do not edit directly.
Licensed under the MIT license.
Copyright 2016 Xamarin Inc
This notice may not be removed from any source distribution.
See LICENSE file for licensing details.
*/
using System;
using System.Runtime.InteropSe... | 1.877715 | 7cc567fcb3ae408fcdb1860832e148fa |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1821 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "firesgc/DaocClientLib",
"max_stars_repo_path": "DaocClientLib.Demo/Camera.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1822"
} | starcoder | <reponame>firesgc/DaocClientLib
/*
* DaocClientLib - Dark Age of Camelot Setup Ressources Wrapper
*
* The MIT License (MIT)
*
* Copyright (c) 2015 dol-leodagan
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Softwar... | 2.537701 | c71f8f63a1635eb45dc56be2c65daf0a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1822 | {
"extension": "c-sharp",
"max_stars_count": "157.0",
"max_stars_repo_name": "mehrdad-shokri/Stove",
"max_stars_repo_path": "src/Stove/Commands/StoveCommandContextAccessor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1823"
} | starcoder | using System;
using Autofac.Extras.IocManager;
using Stove.Runtime;
namespace Stove.Commands
{
public class StoveCommandContextAccessor : IStoveCommandContextAccessor, ITransientDependency
{
private const string CommandContextKey = "Stove.Commands.Context";
private readonly IAmbientScopePro... | 2.125188 | 93b4c397215ecd8cc497ba7a75e5e5f2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1823 | {
"extension": "c-sharp",
"max_stars_count": "868.0",
"max_stars_repo_name": "KimValente001/InkPainter",
"max_stars_repo_path": "Assets/InkPainter/Script/Effective/HeightFluid.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1824"
} | starcoder | using UnityEngine;
using System.Linq;
using System.Collections;
namespace Es.InkPainter.Effective
{
[DisallowMultipleComponent]
[RequireComponent(typeof(InkCanvas))]
public class HeightFluid : MonoBehaviour
{
/// <summary>
/// Color synthesis algorithm
/// </summary>
enum ColorSynthesis
{
Add,
Ove... | 2.160248 | 5a147716d2788453b74792c15c955087 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1824 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Xaer033/novaprime",
"max_stars_repo_path": "NovaUnity/Assets/Src/Game/GamePlay/GameSystems/NetSnapshotSystem.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1825"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using GhostGen;
using Mirror;
using UnityEngine;
public class NetSnapshotSystem : NotificationDispatcher, IGameSystem
{
const int SNAPSHOT_RATE = 60;
const float SNAPSHOT_INTERVAL = 1.0f / SNAPSHOT_RATE;
const int SNAPSHO... | 1.541644 | 8a3bee3d7fb184161de155bd6d2fb0dd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1825 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "qq283335746/Infoztc",
"max_stars_repo_path": "src/Team11/TygaSoft/BLL/AutoCode/UserSignIn.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1826"
} | starcoder | <reponame>qq283335746/Infoztc
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.SqlClient;
using TygaSoft.IDAL;
using TygaSoft.Model;
using TygaSoft.DALFactory;
namespace TygaSoft.BLL
{
public partial class UserSignIn
{
private static readonly IUser... | 1.983227 | 3b8e4e2543f571c6e2d9330e8616389f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1826 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "basaar24/DotNetCore.Reference.API",
"max_stars_repo_path": "DotNetCore.Reference.API.Dapper/Controllers/AgentController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1827"
} | starcoder | using DotNetCore.API.Common;
using DotNetCore.API.Common.Helpers;
using DotNetCore.API.Common.DotNetCoreSieve;
using DotNetCore.Reference.API.Dapper.DAC;
using DotNetCore.Reference.API.Dapper.Models;
using Microsoft.AspNetCore.Cors;
using Microsoft.AspNetCore.Mvc;
using System.Threading.Tasks;
namespace DotNetCore.Re... | 2.049978 | 671bace1ab7c268dd1ac38fd73cb884b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1827 | {
"extension": "c-sharp",
"max_stars_count": "1142.0",
"max_stars_repo_name": "qhdwight/silk-net",
"max_stars_repo_path": "src/Vulkan/Silk.NET.Vulkan/Structs/ValidationFeaturesEXT.gen.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1828"
} | starcoder | <reponame>qhdwight/silk-net
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System;
using System.Runtime.InteropServices;
using System.Runtime.CompilerServices;
using System.Text;
using Silk.NET.Core;
using Silk.NET.Core.Na... | 1.587017 | 80814cc743a0ece27b59c63a42eaf055 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1828 | {
"extension": "c-sharp",
"max_stars_count": "13.0",
"max_stars_repo_name": "kiler398/OpenMyMeta",
"max_stars_repo_path": "src/OpenMeta/Plugin/Column.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1829"
} | starcoder | using System;
using System.Data;
using System.Data.OleDb;
namespace OMeta.Plugin
{
#if ENTERPRISE
using System.Runtime.InteropServices;
[ComVisible(true), ClassInterface(ClassInterfaceType.AutoDual), ComDefaultInterface(typeof(IColumn))]
#endif
public class PluginColumn : Column
{
private IOMetaPlugin plu... | 2.237446 | 0bd0a1cf93b5a9a69a2d763e97c0743e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1829 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "zhugelongfei/statemachine",
"max_stars_repo_path": "Samples~/SimpleFSM/FSMStateFactory.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1830"
} | starcoder | namespace Lonfee.FSM.SimpleFSM
{
public class FSMStateFactory : IStateFactory
{
/*
private GameObject obj;
public FSMStateFactory(GameObject obj)
{
this.obj = obj
}
*/
public ABaseState GenerateState(int type)
{
EFSMStat... | 2.69853 | f1c63648ffa4cc61a1639b1a04a5271b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1830 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Aleksei-Iagur/PBT-FindingMaxProduct",
"max_stars_repo_path": "MaxProductCalculator.Tests/MaxProductCalculatorTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1831"
} | starcoder | using System;
using System.Diagnostics;
using System.Linq;
using FsCheck;
using NUnit.Framework;
namespace MaxProductCalculator.Tests
{
public class MaxProductCalculatorTests
{
private delegate long CalcSumDelegate(int[] arr);
[Test]
public void TestReturnsRightResultWhenAllNumbersAre... | 2.915153 | b43620181768b8c6a333ae087505d89a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1831 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Camios/azure-cosmos-dotnet-v3",
"max_stars_repo_path": "Microsoft.Azure.Cosmos/src/SqlObjects/SqlLiteralScalarExpression.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1832"
} | starcoder | <filename>Microsoft.Azure.Cosmos/src/SqlObjects/SqlLiteralScalarExpression.cs
//------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
//------------------------------------------------------------
namespace Microsoft.Azure.Cosmos.Sql
{
using Syst... | 2.579321 | 61dd5b26f4947a98f8fdcea2afd70d5c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1832 | {
"extension": "c-sharp",
"max_stars_count": "4874.0",
"max_stars_repo_name": "tompazourek/ImageSharp",
"max_stars_repo_path": "tests/ImageSharp.Tests/Processing/Processors/Effects/BackgroundColorTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1833"
} | starcoder | // Copyright (c) <NAME>.
// Licensed under the Apache License, Version 2.0.
using SixLabors.ImageSharp.PixelFormats;
using SixLabors.ImageSharp.Processing;
using Xunit;
namespace SixLabors.ImageSharp.Tests.Processing.Processors.Effects
{
[Trait("Category", "Processors")]
[GroupOutput("Effects")]
public c... | 1.950376 | b707df801077327b25028902d9686a48 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1833 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "zfy1045056938/THDN_Script",
"max_stars_repo_path": "SHENSHAN/Logic/SpellScripts/SpellGroupHaste.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1834"
} | starcoder | <reponame>zfy1045056938/THDN_Script<filename>SHENSHAN/Logic/SpellScripts/SpellGroupHaste.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class SpellGroupHaste : SpellEffect
{
public override void ActiveEffect(int specialAmount = 0, ICharacter target = null)
{
i... | 1.803684 | 8a61e01fdc673c5ba60443d526771cd0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1834 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "PathogenPlayground/ClangSharp.Pathogen",
"max_stars_repo_path": "ClangSharp.Pathogen/ClangSharpPathogenExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1835"
} | starcoder | <filename>ClangSharp.Pathogen/ClangSharpPathogenExtensions.cs
using ClangSharp.Interop;
using System;
using System.Runtime.CompilerServices;
namespace ClangSharp.Pathogen
{
public static class ClangSharpPathogenExtensions
{
public static bool IsFromMainFilePathogen(this CXSourceLocation location)
... | 2.413556 | 3d5d32ee88d5957509c3f869758e85b6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1835 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "futurix/cms-cli",
"max_stars_repo_path": "Explorer/Phone/Client/Services/Cache/File/FileCacheRecord.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1836"
} | starcoder | <reponame>futurix/cms-cli
using System;
using System.IO;
using Wave.Common;
using Wave.Platform.Messaging;
namespace Wave.Services
{
public sealed class FileCacheRecord : ICacheRecord, IEquatable<FileCacheRecord>
{
public long ID { get; set; }
public CacheItemID? CIID { get; set; }
... | 1.977985 | 7e1c17a8e98f216a2a155fe7c8c0352a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1836 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TheTrainingBoss/mvc-samples",
"max_stars_repo_path": "DevMagazineSite/SitefinityWebApp/ResourcePackages/Pure/MVC/Views/HiddenField/Write.Default.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:1837"
} | starcoder | <reponame>TheTrainingBoss/mvc-samples<filename>DevMagazineSite/SitefinityWebApp/ResourcePackages/Pure/MVC/Views/HiddenField/Write.Default.cshtml
@* ------------------------------------------------------------------------------
<auto-generated>
This file was generated by Sitefinity CLI v1.1.0.9
</auto-generated>
---... | 1.783331 | 3503778b0f1a88ee64ef673e1cb142bf |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1837 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "edwintorok/xenadmin",
"max_stars_repo_path": "XenAdmin/Wizards/HAWizard.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1838"
} | starcoder | <gh_stars>0
/* Copyright (c) <NAME>, 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 no... | 1.221579 | a80d7863262a589a640ca49f213da356 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1838 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DXBrazil/Arda_old",
"max_stars_repo_path": "ARDA/Arda.Authentication/Migrations/20160511233555_MigrationAuthentication_11052016_2035.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1839"
} | starcoder | <filename>ARDA/Arda.Authentication/Migrations/20160511233555_MigrationAuthentication_11052016_2035.cs
using System;
using System.Collections.Generic;
using Microsoft.Data.Entity.Migrations;
namespace Arda.Authentication.Migrations
{
public partial class MigrationAuthentication_11052016_2035 : Migration
{
... | 1.681948 | 61690a6880254768db0ef6a2f85e0c9b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1839 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "stark-lang/stark-old-experiment",
"max_stars_repo_path": "src/compiler/Stark.Compiler/Text/CharReaderException.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1840"
} | starcoder | // Copyright (c) The Stark Programming Language Contributors. All rights reserved.
// Licensed under the MIT license.
// See license.txt file in the project root for full license information.
using System;
namespace Stark.Compiler.Text
{
public sealed class CharReaderException : Exception
{
public Cha... | 1.665782 | c8ed31935638117b4b977f8429514bd8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1840 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "KingEnderBrine/ThunderRipper",
"max_stars_repo_path": "ThunderRipperShared/Attributes/OrderAttribute.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1841"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace ThunderRipperShared.Attributes
{
[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field, AllowMultiple = false)]
public class OrderAttribute : Attribute
{
public int Order { get; }
public OrderAttribu... | 2.392178 | 37fb88b4ba0254a5817f723776b3c219 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1841 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "josesimoes/Windows.Devices.WiFi",
"max_stars_repo_path": "System.Device.WiFi/WiFiNetworkReport.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1842"
} | starcoder | //
// Copyright (c) .NET Foundation and Contributors
// See LICENSE file in the project root for full license information.
//
namespace System.Device.WiFi
{
/// <summary>
/// Contains the result of a network scan operation.
/// </summary>
public class WiFiNetworkReport
{
readonly WiFiAvail... | 2.483376 | 23c4cb0d6afbbd32591b6e61f2846c57 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1842 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "prog76/csexwb2",
"max_stars_repo_path": "HTML_Interfaces/IHTMLPainter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1843"
} | starcoder | <reponame>prog76/csexwb2<filename>HTML_Interfaces/IHTMLPainter.cs
using System;
using System.Runtime.InteropServices;
using System.Runtime.InteropServices.ComTypes;
namespace IfacesEnumsStructsClasses
{
[ComVisible(true), ComImport()]
[InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)]
[Guid("30... | 2.006954 | 28821d551c4996f45bdea947b5507a85 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1843 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "KinsonDigital/Velaptor",
"max_stars_repo_path": "Velaptor/Services/IImageService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1844"
} | starcoder | <reponame>KinsonDigital/Velaptor
// <copyright file="IImageService.cs" company="KinsonDigital">
// Copyright (c) KinsonDigital. All rights reserved.
// </copyright>
namespace Velaptor.Services
{
// ReSharper disable RedundantNameQualifier
using System.Drawing;
using Velaptor.Graphics;
// ReSharper re... | 3.084862 | 52a251cddc2b580dba5edc89aeb110dd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1844 | {
"extension": "c-sharp",
"max_stars_count": "70.0",
"max_stars_repo_name": "dMajoIT/Mods",
"max_stars_repo_path": "Mods/Helpers/Helper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1845"
} | starcoder | <filename>Mods/Helpers/Helper.cs
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Text.RegularExpressions;
using System.Windows.Forms;
using System.Threading.Tasks;
using Syste... | 2.375229 | 888f64374720ba0c7aa47e2267af423c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1845 | {
"extension": "c-sharp",
"max_stars_count": "1335.0",
"max_stars_repo_name": "cuongpv88/ConfuserEx",
"max_stars_repo_path": "Confuser.DynCipher/Generation/ExpressionGenerator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1846"
} | starcoder | using System;
using System.Collections.Generic;
using System.Diagnostics;
using Confuser.Core;
using Confuser.Core.Services;
using Confuser.DynCipher.AST;
namespace Confuser.DynCipher.Generation {
internal class ExpressionGenerator {
static Expression GenerateExpression(RandomGenerator random, Expression current, ... | 2.534918 | aac3c3cb6d94268132bd2563c46ba71a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1846 | {
"extension": "c-sharp",
"max_stars_count": "103.0",
"max_stars_repo_name": "AaronRobinsonMSFT/ikvm",
"max_stars_repo_path": "awt/IKVM.AWT.WinForms/ShellApi.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1847"
} | starcoder | <filename>awt/IKVM.AWT.WinForms/ShellApi.cs
/*
Copyright (C) 2010 <NAME> (i-net software)
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use thi... | 2.088334 | a64eba82cfb300d1dda0b4c6cf3ba514 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1847 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rickbrew/terrafx.interop.windows",
"max_stars_repo_path": "sources/Interop/Windows/DirectX/um/d2d1_1/D2D1_SUBPROPERTY.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1848"
} | starcoder | <reponame>rickbrew/terrafx.interop.windows
// Copyright © <NAME> Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information.
// Ported from um/d2d1_1.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
name... | 1.258207 | d457f6367f45513e11dc81e2a786dfb5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1848 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "stop-cran/shouldly",
"max_stars_repo_path": "src/Shouldly.Tests/ShouldBe/ShouldBeEnumerableTypeScenarios.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1849"
} | starcoder | using System.Collections.Generic;
using Shouldly.Tests.Strings;
using Xunit;
namespace Shouldly.Tests.ShouldBe
{
public class ShouldBeEnumerableTypeScenarios
{
[Fact]
public void StringListScenarioShouldFail()
{
Verify.ShouldFail(() =>
_thisString.ShouldBe(_thisOtherStringL... | 2.665604 | 703fe45dd66e1d9a4c0e423b422f4a09 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1849 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "johnkors/fplbot",
"max_stars_repo_path": "src/Fpl.Client/FixtureClient.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1850"
} | starcoder | using System.Collections.Generic;
using System.Net.Http;
using System.Threading.Tasks;
using Fpl.Client.Abstractions;
using Fpl.Client.Models;
using Newtonsoft.Json;
namespace Fpl.Client
{
public class FixtureClient : IFixtureClient
{
private readonly HttpClient _client;
public FixtureClient(... | 2.403027 | 00d12f5f3c931c6e500eb423252d2b2f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1850 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Darqam/skyra",
"max_stars_repo_path": "services/Skyra.Database/Models/Entities/UserProfile.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1851"
} | starcoder | <filename>services/Skyra.Database/Models/Entities/UserProfile.cs
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
#nullable disable
namespace Skyra.Database.Models.Entities
{
[Table("user_profile")]
public class UserProfile
{
[Required]
[Column("banners", TypeNa... | 2.222997 | 30bc1bbaa09c8ae729e5df25a829d2bf |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1851 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "GodLesZ/godlesz.library",
"max_stars_repo_path": "Win7/Shell/Common/DefaultShellImageSizes.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1852"
} | starcoder |
namespace GodLesZ.Library.Win7.Shell {
/// <summary>
/// Defines the read-only properties for default shell icon sizes.
/// </summary>
public static class DefaultIconSize {
/// <summary>
/// The small size property for a 16x16 pixel Shell Icon.
/// </summary>
public static readonly System.Windows.Size Sm... | 2.719331 | 698b26a7b3e13c94a16f4618def1ce43 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1852 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "octansIt/environmentassessment",
"max_stars_repo_path": "EnvironmentAssessment.Wizard/Common/VimApi/V/VmFaultToleranceConfigIssueWrapper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1853"
} | starcoder | <filename>EnvironmentAssessment.Wizard/Common/VimApi/V/VmFaultToleranceConfigIssueWrapper.cs
namespace EnvironmentAssessment.Common.VimApi
{
public class VmFaultToleranceConfigIssueWrapper : VmFaultToleranceIssue
{
protected string _entityName;
protected ManagedObjectReference _entity;
protected LocalizedMethod... | 1.657198 | b9097f79ee98dfdeca2a48dbdc8e4056 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1853 | {
"extension": "c-sharp",
"max_stars_count": "28.0",
"max_stars_repo_name": "jkrmc12/IFC-gen",
"max_stars_repo_path": "lang/csharp/src/IFC/IfcProduct.g.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1854"
} | starcoder |
using System;
using System.ComponentModel;
using System.Collections.Generic;
using Newtonsoft.Json;
using System.Linq;
using STEP;
namespace IFC
{
/// <summary>
/// <see href="http://www.buildingsmart-tech.org/ifc/IFC4/final/html/link/ifcproduct.htm"/>
/// </summary>
public abstract partial class IfcProduct : I... | 2.278057 | a51bb5ab750a2c6ea2b6d13435ae5fb4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1854 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "hdefucom/HDF",
"max_stars_repo_path": "Example/WinForm/Editor/DCWriter/DCSoft.Writer.Cleaned/DCSoftDotfuscate/GClass189.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1855"
} | starcoder | using System.Runtime.InteropServices;
namespace DCSoftDotfuscate
{
[ComVisible(false)]
public class GClass189 : GClass164
{
public override string TagName => "DIV";
}
}
| 1.384487 | 4b0f3841f01ca7d6461400645b7539a2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1855 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "fryette/chat_flutter",
"max_stars_repo_path": "server/TestServer/God.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1856"
} | starcoder | <reponame>fryette/chat_flutter<gh_stars>0
using System.Collections.Generic;
using TestServer.Models;
namespace TestServer
{
public static class God
{
public static Dictionary<string, List<ChannelModel>> Channels;
static God()
{
Channels = new Dictionary<string, List<Channe... | 2.039084 | 4a898393dad5386c3cd73c5f5aaeb5a2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1856 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ferreiramarcelo/samples",
"max_stars_repo_path": "IoTCoreDefaultApp/IoTCoreDefaultApp/Views/MainPage.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1857"
} | starcoder | <reponame>ferreiramarcelo/samples
// Copyright (c) Microsoft. All rights reserved.
using IoTCoreDefaultApp.Utils;
using System;
using System.Globalization;
using Windows.Networking.Connectivity;
using Windows.Storage;
using Windows.System;
using Windows.UI.Core;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
... | 2.235179 | aad4653d107fad47dbf70f4e69db2cdd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1857 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "lc1995/GraphSearch",
"max_stars_repo_path": "Assets/Scripts/GameManager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1858"
} | starcoder | <reponame>lc1995/GraphSearch
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class GameManager : MonoBehaviour {
public Transform obstaclesContainer;
public static List<Collider2D> obstacles = new List<Collider2D>();
void Awake(){
foreach(Collider2D ob in obstaclesContain... | 1.721093 | e14ac85d2d6e6d0e7e226243a1346eaf |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1858 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "githappens/NodeGraphProcessor",
"max_stars_repo_path": "Assets/Examples/Editor/03_CustomToolbar/CustomToolbarGraphWindow.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1859"
} | starcoder | <reponame>githappens/NodeGraphProcessor
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEditor;
using GraphProcessor;
public class CustomToolbarGraphWindow : BaseGraphWindow
{
BaseGraph tmpGraph;
[MenuItem("Window/03 Custom Toolbar")]
public static BaseGraphWin... | 1.940823 | e283ae6c8f4cc5868d46d8e8e09a0d64 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1859 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ivconsult/eNeg",
"max_stars_repo_path": "citPoint.eNeg.Data.Web/Profile.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1860"
} | starcoder | <filename>citPoint.eNeg.Data.Web/Profile.cs
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated from a template.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-gener... | 2.202252 | 91ba1058fb5d2ef8e2c5dac749e23f88 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1860 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JoyfulReaper/ProASPNETCore3",
"max_stars_repo_path": "Ch3_PartyRSVP/Ch3_PartyRSVP/Views/Home/Index.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:1861"
} | starcoder | @{
Layout = null;
}
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width" />
<link rel="stylesheet" href="~/lib/bootstrap/dist/css/bootstrap.css" />
<title>Party!</title>
</head>
<body>
<div class="text-center">
<h3>We're going to have an exciting party.</h3>
... | 2.195674 | daadd0a9e3e565f0d8f0e88e996ce2f3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1861 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Lomt1k/LiteNetGame",
"max_stars_repo_path": "Assets/Scripts/Project/Units/AnimatorHashes.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1862"
} | starcoder | using UnityEngine;
namespace Project.Units
{
public static class AnimatorHashes
{
public static readonly int hashHorizontal = Animator.StringToHash("H");
public static readonly int hashVertical = Animator.StringToHash("V");
public static readonly int hashSpeed = Animator.StringToHash("... | 1.885053 | cca62b4c382ea5ba26c749d8de76355b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1862 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "210329-UTA-SH-UiPath/P0_AnthonyHernandez",
"max_stars_repo_path": "pizzabox.Testing/Tests/FileRepositoryTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1863"
} | starcoder | <gh_stars>0
using PizzaBox.Domain.Models;
using System.Collections.Generic;
using PizzaBox.Storing.Repositories;
using Xunit;
namespace PizzaBox.Testing.Tests
{
public class FileRepositoryTests
{
[Fact]
public void Test_ReadWriteToFile()
{
var sut = new FileRepository();
var p... | 2.137149 | 192d9a88a4b89f993b4c436be8bbb48a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1863 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "KimikoMuffin/DieFledermaus",
"max_stars_repo_path": "DieFledermaus.Tests/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1864"
} | starcoder | using System;
using System.Diagnostics;
using System.IO;
using System.Linq;
using Org.BouncyCastle.Crypto;
using Org.BouncyCastle.Crypto.Parameters;
using Org.BouncyCastle.OpenSsl;
namespace DieFledermaus.Tests
{
internal static class Program
{
const int bigBufferLength = 70000;
[... | 2.395033 | b18e1d8c566fa343f9cda6a0e0a6173a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1864 | {
"extension": "c-sharp",
"max_stars_count": "161.0",
"max_stars_repo_name": "lincolnpires/DDD.Enterprise.Example",
"max_stars_repo_path": "Infrastructure/Library/Extensions/TaskExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1865"
} | starcoder | namespace Demo.Library.Extensions
{
public static class TaskExtensions
{
}
} | 0.772514 | 8c8bb259eb8afaad8ca8f5ee724e2e42 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.