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 | 94961 | {
"extension": "c-sharp",
"max_stars_count": "27.0",
"max_stars_repo_name": "endjin/Endjin.Assembly.ChangeDetection",
"max_stars_repo_path": "Solutions/Endjin.Assembly.ChangeDetection/Infrastructure/FileNameComparer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94962"
} | starcoder | <gh_stars>10-100
using System;
using System.Collections.Generic;
using System.IO;
namespace Endjin.Assembly.ChangeDetection.Infrastructure
{
internal class FileNameComparer : IEqualityComparer<string>
{
#region IEqualityComparer<string> Members
public bool Equals(string x, string y)
{
... | 2.513827 | 69a7b22360849a15b43c40e9eb6f71e0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94962 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "findlayit/base-project",
"max_stars_repo_path": "BaseProject.Domain/Users/UserEntity.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94963"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using FlexProviders.Membership;
namespace BaseProject.Domain.Users
{
[Table("Users")]
public class UserEntity : BaseEntity, IFlexMembershipUser
{
public string Username { get; set; }
public ... | 1.868749 | 45d35a9a1679dec761e2076c668d7e9b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94963 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ericsingletonjr/Lab13-Student-Enrollment",
"max_stars_repo_path": "Lab13StudentEnrollment/Models/CourseDetailsViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94964"
} | starcoder | <reponame>ericsingletonjr/Lab13-Student-Enrollment
using Lab13StudentEnrollment.Data;
using Microsoft.AspNetCore.Mvc.Rendering;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Lab13StudentEnrollment.Models
{
public cla... | 2.321627 | 636ebcdb28796bc21a3107ba31301799 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94964 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "changhong94/CloudMemoryCache",
"max_stars_repo_path": "CloudMemoryCache.Common/Utils/CompressUtil.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94965"
} | starcoder | <filename>CloudMemoryCache.Common/Utils/CompressUtil.cs
using System;
using System.IO;
using System.IO.Compression;
using System.Text;
using CloudMemoryCache.Common.TransientFaultHandling;
namespace CloudMemoryCache.Common.Utils
{
// http://www.codeproject.com/Articles/27203/GZipStream-Compress-Decompress... | 3.06616 | 61c94a6aece624b6492385d88cd5e580 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94965 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DanielBankov/TheJuicyBurger",
"max_stars_repo_path": "src/Web/JuicyBurger.Web/Views/Products/Details.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:94966"
} | starcoder | @using JuicyBurger.Services.GlobalConstants
@model JuicyBurger.Web.ViewModels.Products.ProductsDetailsViewModel
@{
ViewData["Title"] = "Details";
Layout = "~/Views/Shared/_Layout.cshtml";
}
@if (this.User.Identity.IsAuthenticated)
{
<div class="container shadow rounded p-5">
<div class="d-flex a... | 2.284366 | db7864394c66d279c83af397f411f0b2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94966 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "shootdaj/TestRepo",
"max_stars_repo_path": "Modules/LightingControllers/OPCWebSocketController/WebSocketOPCPacket.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94967"
} | starcoder | <filename>Modules/LightingControllers/OPCWebSocketController/WebSocketOPCPacket.cs<gh_stars>0
using System.Collections.Generic;
namespace OPCWebSocketController
{
/// <summary>
/// Represents an OPC Packet that can be sent as a WebSocket message. Currently,
/// this can be either a Pixel Frame or a Control Frame.
... | 2.864869 | aeffdfba433937d0952dc49a67dc71ab |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94967 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "alexinea/Cosmos.Standard",
"max_stars_repo_path": "src/Cosmos.Extensions.DateTime/Cosmos/Date/Extensions/LocalTime/To/Extensions.LocalTime.To.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94968"
} | starcoder | using System;
using NodaTime;
// ReSharper disable once CheckNamespace
namespace Cosmos.Date
{
/// <summary>
/// LocalTime extensions
/// </summary>
public static partial class LocalTimeExtensions
{
/// <summary>
/// To DateTime
/// </summary>
/// <param name="lt"><... | 2.88616 | c1fc5d021dec1bd96550c458820de111 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94968 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "hananiel/templating",
"max_stars_repo_path": "test/Microsoft.TemplateEngine.Cli.UnitTests/TemplateUpdateTests/UpdateCoordinatorTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94969"
} | starcoder | <filename>test/Microsoft.TemplateEngine.Cli.UnitTests/TemplateUpdateTests/UpdateCoordinatorTests.cs
// Copyright (c) .NET Foundation and contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Collections.Ge... | 1.88801 | 2c1361194deb07be83644ad1a51b01ee |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94969 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "Raemien/BeatSaberCustomBackgrounds",
"max_stars_repo_path": "CustomBackgrounds/HarmonyPatches/TrackLaneRing_Init.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94970"
} | starcoder | using BeatSaberMarkupLanguage;
using HarmonyLib;
using BS_Utils.Utilities;
using UnityEngine;
using System.Text.RegularExpressions;
namespace CustomBackgrounds.HarmonyPatches
{
[HarmonyPatch(typeof(TrackLaneRing), "Init")]
internal class TrackLaneRing_Init
{
internal static void Postfix(TrackLaneR... | 1.754534 | dc7529092ac77a4e4e141606cbbbf241 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94970 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "8bitreid/ultimate-tic-tac-toe",
"max_stars_repo_path": "board-tests/MoveTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94971"
} | starcoder | using game_logic.models;
using System;
using Xunit;
namespace board_tests
{
public class MoveTests
{
[Theory]
[InlineData(0)]
[InlineData(1)]
[InlineData(2)]
[InlineData(3)]
[InlineData(4)]
[InlineData(5)]
[InlineData(6)]
[InlineData(7)]
... | 2.926083 | f3c6f88aeac9afd2a4f4b99f4c1007a0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94971 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SafetyCone/R5T.A0003",
"max_stars_repo_path": "source/R5T.A0003/Code/Services/Aggregations/Extensions/IProvidedServiceActionAggregationExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94972"
} | starcoder | <filename>source/R5T.A0003/Code/Services/Aggregations/Extensions/IProvidedServiceActionAggregationExtensions.cs
using System;
using R5T.Lombardy;
using R5T.A0003;
using ICommandLineOperatorActionAggregation = R5T.D0076.A001.IServiceActionAggregation01;
using IHumanOutputActionAggregation = R5T.D0096.A001.IServiceAc... | 1.529242 | add2e90ff2480cccbb519caaa11cf12e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94972 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "jcoliz/dexih.transforms",
"max_stars_repo_path": "src/dexih.transforms/Table/TableColumns.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94973"
} | starcoder | <reponame>jcoliz/dexih.transforms<filename>src/dexih.transforms/Table/TableColumns.cs
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
namespace dexih.functions
{
[DataContract]
public class TableColumns : IList<TableColumn>
{
priv... | 2.648345 | d998eb4c88480eb2bf6471ae13566d6e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94973 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "snbbgyth/ItWebSite",
"max_stars_repo_path": "Source/ItWebSite.Crawler/DAL/HandlerCsdnNews.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94974"
} | starcoder | using System;
using System.Configuration;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Text.RegularExpressions;
using Abot.Crawler;
using Abot.Poco;
using Autofac;
using HtmlAgilityPack;
using ItWebSite.Core.BLL;
using ItWebSite.Core.DbModel;
using ItWebSite.Core.IDAL;
u... | 2.175376 | 88e479c0d60c41252e3e0f3b7fc368e5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94974 | {
"extension": "c-sharp",
"max_stars_count": "124.0",
"max_stars_repo_name": "Steph55/DirectN",
"max_stars_repo_path": "DirectN/DirectN/Generated/WICRawRenderMode.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94975"
} | starcoder | // c:\program files (x86)\windows kits\10\include\10.0.22000.0\um\wincodec.h(7578,1)
namespace DirectN
{
public enum WICRawRenderMode
{
WICRawRenderModeDraft = 1,
WICRawRenderModeNormal = 2,
WICRawRenderModeBestQuality = 3,
WICRAWRENDERMODE_FORCE_DWORD = 2147483647,
... | 1.459737 | 904795f91e5a1bf0c0ca0e115147947b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94975 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "MursalovAltun/WeatherTelegramBot",
"max_stars_repo_path": "Common.Services.Infrastructure/Services/IWeatherService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94976"
} | starcoder | <gh_stars>1-10
using System.Threading.Tasks;
using Common.DTO;
using Telegram.Bot.Types;
namespace Common.Services.Infrastructure.Services
{
public interface IWeatherService
{
Task<CurrentWeatherDTO> GetCurrentWeatherByLocation(Location location);
Task<CurrentWeatherDTO> GetCurrentWeatherByZi... | 2.074069 | 009bfbcfdf7b0a081ffeba794c27d601 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94976 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "HadesLam/JsCode",
"max_stars_repo_path": "H.Service/Data/VisitorService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94977"
} | starcoder | using H.IService;
using H.Model;
using System;
using System.Linq;
namespace H.Service
{
public class VisitorService : ServiceBase, IVisitorService
{
public int Add(Visitor _data)
{
Context.BAS_Visitor.Add(_data);
return Context.SaveChanges();
}
}
} | 2.043601 | 6766491dd16aa27a442b26ebc3cf87da |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94977 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Warglaive/Databases-Advanced---Entity-Framework---2018",
"max_stars_repo_path": "ExamPrep1/Instagraph.DataProcessor/Serializer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94978"
} | starcoder | <filename>ExamPrep1/Instagraph.DataProcessor/Serializer.cs
using System;
using System.Linq;
using AutoMapper.QueryableExtensions;
using Instagraph.Data;
using Instagraph.DataProcessor.Dtos.Export;
using Newtonsoft.Json;
namespace Instagraph.DataProcessor
{
public class Serializer
{
public static strin... | 2.530854 | d50d013851d53e7591a32070a98285d8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94978 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DevelopEngine/BuildEngine",
"max_stars_repo_path": "src/BuildEngine/Scripts/ScriptRunner.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94979"
} | starcoder | <filename>src/BuildEngine/Scripts/ScriptRunner.cs
using System;
using System.Collections.Generic;
using System.IO;
using System.Threading.Tasks;
using ExecEngine;
namespace BuildEngine.Scripts
{
public abstract class ScriptRunner : CommandRunner, IScriptService, IDisposable
{
protected FileInfo? Sourc... | 2.590835 | 501491e88e2b6882d0dfb843f6dcc27a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94979 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "nathan-alden-sr/vorpal-engine",
"max_stars_repo_path": "source/Engine.Configuration/Windows.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94980"
} | starcoder | <gh_stars>1-10
using System.Diagnostics.CodeAnalysis;
using System.Text.Json.Serialization;
namespace NathanAldenSr.VorpalEngine.Engine.Configuration
{
/// <summary>Window configuration.</summary>
[SuppressMessage("ReSharper", "InconsistentNaming")]
[SuppressMessage("Style", "IDE1006:Naming Styles")]
[... | 2.587186 | 4f7c3a0bbb674abab1a8f5358587a08a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94980 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "john-h-k/NetRt",
"max_stars_repo_path": "NetRt/Interfaces/GarbageCollector.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94981"
} | starcoder | namespace NetRt.Interfaces
{
public abstract unsafe class GarbageCollector
{
}
}
| 1.148108 | 24ee9dbabfcf04eb00fdf39700a79c24 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94981 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Djohnnie/SwmSuite-Original",
"max_stars_repo_path": "SwmSuite.DataAccess.Sql/SqlHelper/TimeTableEntrySqlHelper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94982"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.SqlClient;
using SwmSuite.Data.DataObjects;
namespace SwmSuite.DataAccess.Sql.SqlHelper {
public class TimeTableEntrySqlHelper : SqlHelperBase {
#region -_ Private Members _-
private String _dbTableName = "... | 2.402504 | acfb5a2686acd6652a5bd8e92496d3bd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94982 | {
"extension": "c-sharp",
"max_stars_count": "15.0",
"max_stars_repo_name": "AlexandreLarribau/slam.net",
"max_stars_repo_path": "HectorSLAM/Map/OccGridMap.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94983"
} | starcoder | <gh_stars>10-100
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Numerics;
using System.Runtime.CompilerServices;
using System.Text;
using BaseSLAM;
namespace HectorSLAM.Map
{
public class OccGridMap : GridMap
{
/// <summary>
/// Array used for caching data.
... | 2.711854 | 24191addd6344b159c0b5ab510254736 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94983 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sinnco/codemaker",
"max_stars_repo_path": "Utility/Contract/ColumnSchema.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94984"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace DMedia.Utility
{
public class ColumnSchema : Column
{
/// <summary>
/// 是否需要验证
/// </summary>
public bool Validate { get; set; }
/// <summary>
/// 使用控件
... | 1.328228 | 20ade41ffce2162b3a70cd018c7b874e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94984 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "MarkSFrancis/marksfrancis",
"max_stars_repo_path": "src/Phnx/Reflection/PropertyFieldInfo.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94985"
} | starcoder | using System;
using System.Reflection;
namespace Phnx.Reflection
{
/// <summary>
/// Reflection options to group <see cref="PropertyInfo"/> and <see cref="FieldInfo"/> under a common wrapper, as <see cref="GetValue"/>, <see cref="SetValue"/> and other options are shared
/// </summary>
public class Pro... | 3.192997 | eb663cf5a8d6b71718cf16b090103c8b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94985 | {
"extension": "c-sharp",
"max_stars_count": "71.0",
"max_stars_repo_name": "base31/Stact",
"max_stars_repo_path": "src/Stact.ForNHibernate/Auditing/ExtensionsToConfiguration.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94986"
} | starcoder | <reponame>base31/Stact
// Copyright 2010 <NAME>
//
// Licensed under the Apache License, Version 2.0 (the "License"); you may not use
// this file except in compliance with the License. You may obtain a copy of the
// License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required ... | 1.586525 | f9fb606f381d67cef08a759380960836 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94986 | {
"extension": "c-sharp",
"max_stars_count": "93.0",
"max_stars_repo_name": "dogfeeder/Nimbus",
"max_stars_repo_path": "src/Nimbus.Tests.Unit/MulticastRequestResponseTests/WhenTakingASingleResponse.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94987"
} | starcoder | <reponame>dogfeeder/Nimbus
using System;
using System.Linq;
using NUnit.Framework;
using Shouldly;
namespace Nimbus.Tests.Unit.MulticastRequestResponseTests
{
[TestFixture]
internal class WhenTakingASingleResponse : GivenAWrapperWithTwoResponses
{
private readonly TimeSpan _timeout = TimeSpan.FromS... | 2.235045 | 7ef062bd243eaf17c91fcb303bfd0016 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94987 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "rhuber1279/SmartLifeForDotNet",
"max_stars_repo_path": "SmartLife.Applications/SmartLife.CertManage.ManageServices/Oca/Ewallet_OldManService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94988"
} | starcoder | /***********ListForEasyUIgrid自定义*************/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ServiceModel;
using System.ServiceModel.Activation;
using System.ServiceModel.Web;
using e0571.web.core.Utils;
using e0571.web.core.Model;
using e0571.web.core.Wcf;
using e0... | 1.637265 | acebc0c52d1afb8feff100efc8b01016 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94988 | {
"extension": "c-sharp",
"max_stars_count": "22.0",
"max_stars_repo_name": "chsakell/planet-scale-azure",
"max_stars_repo_path": "Online.Store.AzureSearch/AzureSearchInitializer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94989"
} | starcoder | using Microsoft.Extensions.Configuration;
using Online.Store.Core.DTOs;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace Online.Store.AzureSearch
{
public class AzureSearchInitializer
{
static string _productsDataSource = "products-datasource";... | 2.240847 | 9fd3162509e101314ee6a0c5d3fd5fb4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94989 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "FragonGamer/ishjarta",
"max_stars_repo_path": "ishjarta/Assets/Scripts/MainMenu/BaseMenuController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94990"
} | starcoder | <filename>ishjarta/Assets/Scripts/MainMenu/BaseMenuController.cs<gh_stars>0
using System.Collections;
using System.Collections.Generic;
using TMPro;
using UnityEngine;
using UnityEngine.UI;
public class BaseMenuController : MonoBehaviour
{
[Header("Sound Setting")]
[SerializeField] protected TMP_Text volumeTex... | 1.991006 | a9a775c622d5a0bfed58513f7de4d387 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94990 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "januaryshen/MagicLeapOneGame",
"max_stars_repo_path": "Library/PackageCache/com.unity.xr.magicleap@3.0.0-preview.12/Runtime/Raycasting/MLRaycastQuery.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94991"
} | starcoder | using System;
using System.Runtime.InteropServices;
namespace UnityEngine.XR.MagicLeap
{
/*! Request information for a raycast. */
[StructLayout(LayoutKind.Sequential)]
internal struct MLRaycastQuery : IEquatable<MLRaycastQuery>
{
/*! Origin of ray, in world space. */
internal... | 2.711614 | 8a5a76b583ae46e6355b42b22d7a7284 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94991 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Zwyssigly/Zwyssigly.ImageServer",
"max_stars_repo_path": "Zwyssigly.ImageServer.Core/Thumbnails/IThumbnailRepository.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94992"
} | starcoder | <filename>Zwyssigly.ImageServer.Core/Thumbnails/IThumbnailRepository.cs
using System.Collections.Generic;
using System.Threading.Tasks;
using Zwyssigly.Functional;
namespace Zwyssigly.ImageServer.Thumbnails
{
public interface IThumbnailRepository
{
Task<Result<Unit, Error>> Insert(Name gallery, IEnum... | 1.618736 | a31b9a527ce5368a5dcea6e28896934a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94992 | {
"extension": "c-sharp",
"max_stars_count": "343.0",
"max_stars_repo_name": "Muscipular/Rosin",
"max_stars_repo_path": "Rosin/LocalData.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94993"
} | starcoder | <reponame>Muscipular/Rosin
using System;
using System.Collections.Generic;
using System.Text;
using System.IO;
using Fiddler;
using Rosin.Config;
namespace Rosin
{
/**
* 获取本地日志数据
*
* Date: 2014/11/13
* */
public class LocalData
{
private string sKey = "";
... | 2.474606 | a9fbe37afab9e080c7b8a355825704b9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94993 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "melharfi/SpellEffect",
"max_stars_repo_path": "SpellEffect/SpellShapeEnum.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94994"
} | starcoder | <reponame>melharfi/SpellEffect
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SpellEffect
{
public enum SpellShapeEnum
{
X = 88,
L = 76,
T = 84,
P = 80,
D = 68,
C = 67,
O = 79... | 1.585582 | b50dcabe3bff63f04b4c75734b7da62f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94994 | {
"extension": "c-sharp",
"max_stars_count": "13.0",
"max_stars_repo_name": "ChrisPJohn/SolastaCommunityExpansion",
"max_stars_repo_path": "SolastaCommunityExpansion/Patches/CustomFeatures/CustomAtttributeModifiers/RulesetAttributePatcher.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94995"
} | starcoder | <reponame>ChrisPJohn/SolastaCommunityExpansion
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using System.Reflection.Emit;
using HarmonyLib;
using SolastaCommunityExpansion.Api.Extensions;
using SolastaCommunityExpansion.CustomDefinitions;
using UnityEngine;
... | 2.025128 | 63f47e63a214a589008181777b214096 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94995 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "jvanderbiest/global-azure-bootcamp-2019",
"max_stars_repo_path": "src/azure_bootcampBot.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94996"
} | starcoder | <reponame>jvanderbiest/global-azure-bootcamp-2019
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Linq;
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
using azure.Domain;
using Microsoft.Bot.Builder;
using Microso... | 2.43176 | 5e4e53774f5aedcb31aa5351c681823f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94996 | {
"extension": "c-sharp",
"max_stars_count": "29.0",
"max_stars_repo_name": "v-yahan/Interop-TestSuites",
"max_stars_repo_path": "ExchangeWebServices/Source/MS-OXWSSYNC/Adapter/SUTControlAdapter/Implementation/MS-OXWSSYNCSUTControlAdapter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94997"
} | starcoder | <reponame>v-yahan/Interop-TestSuites<gh_stars>10-100
namespace Microsoft.Protocols.TestSuites.MS_OXWSSYNC
{
using System;
using System.Threading;
using Microsoft.Protocols.TestSuites.Common;
using Microsoft.Protocols.TestTools;
/// <summary>
/// MS-OXWSSYNC SUT control adapter implement... | 2.276751 | 5c9190beab3abb772230c8175fb63566 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94997 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DRKV333/Janki",
"max_stars_repo_path": "JankiAvalonia/Views/MediaWebView.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94998"
} | starcoder | using Avalonia;
using JankiBusiness.Web;
using System.IO;
using WebViewControl;
namespace JankiAvalonia.Views
{
public class MediaWebView : WebView
{
public static readonly DirectProperty<MediaWebView, IMediaProvider?> ProviderProperty =
AvaloniaProperty.RegisterDirect<MediaWebView, IMedia... | 2.149053 | db6a29015a1e58a37bc89e125a22cf86 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94998 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "scottenriquez/cdktf-alpha-csharp-testing",
"max_stars_repo_path": "resources/.gen/aws/aws/IWafv2RuleGroupRuleStatementNotStatementStatementAndStatementStatementXssMatchStatementFieldToMatch.cs",
"provenance": "train-00000-of-00045.jso... | starcoder | <gh_stars>0
using Amazon.JSII.Runtime.Deputy;
#pragma warning disable CS0672,CS0809,CS1591
namespace aws
{
[JsiiInterface(nativeType: typeof(IWafv2RuleGroupRuleStatementNotStatementStatementAndStatementStatementXssMatchStatementFieldToMatch), fullyQualifiedName: "aws.Wafv2RuleGroupRuleStatementNotStatementStateme... | 1.411678 | 56800e82be146d8731c0115ecff17b4e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94999 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Fenice6/Face-Recognition",
"max_stars_repo_path": "Recognition/RecognitionCommons/DataModels/EmotionsRecognitionInputDatas.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95000"
} | starcoder | using System;
using Microsoft.AspNetCore.Http;
namespace RecognitionCommons.DataModels
{
public class EmotionsRecognitionInputDatas
{
public IFormFile PhotoInput { get; set; }
}
}
| 1.4387 | 88bf3c7696f17af9c33d3b896b7a7573 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95000 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SpleefDinamix/SoftuniCSFundamentalsExtended",
"max_stars_repo_path": "DataTypesExercises/Calculator/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95001"
} | starcoder | <reponame>SpleefDinamix/SoftuniCSFundamentalsExtended
using System;
namespace Calculator
{
public class Program
{
public static void Main()
{
int operant = int.Parse(Console.ReadLine());
var myOperator = Console.ReadLine();
int secOperant = int.Parse(Console.Read... | 3.145694 | 2d92ec23820ac2391b7456d25b736cfa |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95001 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Zhelyazko777/MazeGame",
"max_stars_repo_path": "Game/Game.Tests/Helpers/MockableItem.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95002"
} | starcoder | <reponame>Zhelyazko777/MazeGame<gh_stars>0
namespace Game.Tests.Helpers
{
public class MockableItem
{
public MockableItem(string name, bool isUsed)
{
this.Name = name;
this.IsUsed = isUsed;
}
public string Name { get; set; }
public bool IsUsed {... | 1.925569 | a9f14d9f767f4580d2e58eb9c7e54cf2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95002 | {
"extension": "c-sharp",
"max_stars_count": "101.0",
"max_stars_repo_name": "PlayFab/PlayFabGameServer",
"max_stars_repo_path": "GameServerSource/Assets/Packages/PlayStreamExample/PlayStreamExampleManager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95003"
} | starcoder | <filename>GameServerSource/Assets/Packages/PlayStreamExample/PlayStreamExampleManager.cs
using strange.extensions.command.api;
using strange.extensions.injector.api;
using strange.extensions.mediation.api;
public class PlayStreamExampleManager : StrangePackage {
public override void MapBindings(ICommandBinder co... | 1.894365 | 3d1c15a0abb162c3b4189de47b791afc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95003 | {
"extension": "c-sharp",
"max_stars_count": "159.0",
"max_stars_repo_name": "Sarathir1/Docs",
"max_stars_repo_path": "aspnet/aspnet/overview/developing-apps-with-windows-azure/building-real-world-cloud-apps-with-windows-azure/the-fix-it-sample-application/samples/sample14.cs",
"provenance": "train-00000-of-0... | starcoder | while (true)
{
try
{
await queueManager.ProcessMessagesAsync();
}
catch (Exception ex)
{
logger.Error(ex, "Exception in worker role Run loop.");
}
await Task.Delay(1000);
} | 1.759202 | bd25e36b3617663c3b7c93c0b97cbc93 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95004 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "niyazalam/try-samples",
"max_stars_repo_path": "Acme.BookStore/aspnet-core/src/Acme.BookStore.Application.Contracts/Books/GetBookListDto.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95005"
} | starcoder | using Acme.BookStore.Books;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using Volo.Abp.Application.Dtos;
using System.Collections.Generic;
namespace Acme.BookStore.Books
{
public class GetBookListDto : PagedAndSortedResultRequestDto
{
public string Filt... | 1.543243 | 4769495282beef848266f4a20543a803 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95005 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "SinsofSloth/RF5-global-metadata",
"max_stars_repo_path": "_no_namespace/CropID.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95006"
} | starcoder | public enum CropID // TypeDefIndex: 7316
{
// Fields
public int value__; // 0x0
public const CropID EMPTY = 0;
public const CropID CROP_CABBAGE = 1;
public const CropID CROP_CABBAGE_BIG = 2;
public const CropID CROP_CABBAGE_KING = 3;
public const CropID CROP_SAKURATURNIP = 4;
public const CropID CROP_SAKURATURN... | 1.075807 | 4f977d6e693d028229151a87dc1778f6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95006 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "uk-gov-mirror/SkillsFundingAgency.das-forecasting-tool",
"max_stars_repo_path": "src/SFA.DAS.Forecasting.Projections.Functions/GetAccountBalanceFunction.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95007"
} | starcoder | <reponame>uk-gov-mirror/SkillsFundingAgency.das-forecasting-tool
using System;
using System.Threading.Tasks;
using Microsoft.Azure.WebJobs;
using Microsoft.Azure.WebJobs.Host;
using SFA.DAS.Forecasting.Application.Projections.Handlers;
using SFA.DAS.Forecasting.Functions.Framework;
using SFA.DAS.Forecasting.Messages.P... | 1.890867 | c5a3a521fb31b0ba063e7a26ada3cf0b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95007 | {
"extension": "c-sharp",
"max_stars_count": "17.0",
"max_stars_repo_name": "securefolderfs-community/SecureFolderFS",
"max_stars_repo_path": "SecureFolderFS.Core/Instance/IVaultInstance.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95008"
} | starcoder | <gh_stars>10-100
using System;
using SecureFolderFS.Core.Storage;
using SecureFolderFS.Core.Tunnels;
using SecureFolderFS.Core.VaultDataStore;
using SecureFolderFS.Core.VaultDataStore.VaultConfiguration;
using SecureFolderFS.Core.Paths;
namespace SecureFolderFS.Core.Instance
{
/// <summary>
/// Provides modul... | 1.47231 | e5b183919ac18364bd42f6fec27c7840 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95008 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ni4ka7a/TelerikAcademyHomeworks",
"max_stars_repo_path": "MVC/02.MVCEssentials/03.InformationalApplication/Areas/Learn/Controllers/PythonController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95009"
} | starcoder | namespace _03.InformationalApplication.Areas.Learn.Controllers
{
using System.Web.Mvc;
public class PythonController : Controller
{
public ActionResult Index()
{
return View();
}
public ActionResult WhyPython()
{
return View();
}
... | 1.587715 | e03cb926567f5d8609af9e3abb0f161a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95009 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "evilwizardstudios/BlastroFramework",
"max_stars_repo_path": "Assets/Player/State Machine/Movement/Air/FallingState.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95010"
} | starcoder | using System;
using UnityEngine;
namespace Blastro.Movement
{
public class FallingState : AirborneState
{
public FallingState(PlayerController playerController, int jumps) : base(playerController, jumps)
{
}
public override void Update()
{
base.Update();
... | 2.700438 | 77f71b27f75f86be0ee783b80ff119bd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95010 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "rule110-io/nTipBot",
"max_stars_repo_path": "nkn-sdk-net/NknSdk/Common/Options/PublishOptions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95011"
} | starcoder | <filename>nkn-sdk-net/NknSdk/Common/Options/PublishOptions.cs
namespace NknSdk.Common.Options
{
public class PublishOptions
{
public PublishOptions()
{
this.NoReply = true;
this.TxPool = false;
this.Meta = false;
this.Offset = 0;
this... | 2.074038 | c71ab270310cc2cab53691bacdbd21f7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95011 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kicholen/GamePrototype",
"max_stars_repo_path": "Assets/Source/Src/Parameters/Difficulty/DifficultyTypes.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95012"
} | starcoder | <reponame>kicholen/GamePrototype
public static class DifficultyTypes {
public const int None = 0;
public const int Easy = 1;
public const int Normal = 2;
public const int Hard = 3;
} | 1.497803 | c51ec41b799b70dbb27e8264f66f64e7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95012 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "hoangduit/MapSuiteGisEditor",
"max_stars_repo_path": "MapSuiteGisEditor/GisEditorInfrastructure/Shares/PluginManagerWindow/PluginManagerWindow.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95013"
} | starcoder | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may no... | 1.997253 | d10598c7c2c58add2e5413e2e08bb96f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95013 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MeBuDA/VRMSelfieApp",
"max_stars_repo_path": "Assets/Scripts/VRMModel/ImportVRMnonTask.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95014"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System.IO;
using VRM;
public class ImportVRMnonTask : MonoBehaviour
{
void Start()
{
ImportVRMSync(LoadVRMPathStatic.Path);
}
private void ImportVRMSync(string path)
{
//ファイルをByte配列に読... | 2.115444 | 499362d31fde2638f8adbc0427a6c07b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95014 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "dukeofharen/armyknife",
"max_stars_repo_path": "src/Armyknife.Tests/Tools/Implementations/TounixtimestampToolFacts.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95015"
} | starcoder | using Armyknife.Exceptions;
using Armyknife.Models;
using Armyknife.Tools.Implementations;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Collections.Generic;
namespace Armyknife.Tests.Tools.Implementations
{
[TestClass]
public class TounixtimestampToolFacts
{
private TounixtimestampT... | 2.697407 | aca59e199d2f2caad0324dbe0ee814f1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95015 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "MyJetWallet/Lykke.Service.B2c2Adapter",
"max_stars_repo_path": "Lykke.B2c2Client/Models/WebSocket/ErrorResponse.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95016"
} | starcoder | using System.Collections.Generic;
using Newtonsoft.Json;
namespace Lykke.B2c2Client.Models.WebSocket
{
public class ErrorResponse
{
[JsonProperty("event")]
public string Event { get; set; }
[JsonProperty("success")]
public bool Success { get; set; }
[JsonProperty("tag... | 2.220735 | bc4a24c1b203c36804dc04093827427c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95016 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "seccodingguy/securityframeworkmapperimporter",
"max_stars_repo_path": "Frameworks_Mapper/CCI/CCILists.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95017"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using MySql.Data.MySqlClient;
namespace Frameworks_Mapper
{
public class CCILists
{
private List<CCIList> cciItems = null;
private string connStr = "";
private MySqlConne... | 2.543572 | 2a0f86c7f9295eae47c4af1cfb266b61 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95017 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SkillsFundingAgency/DC-2021-PeriodEnd-ReportService",
"max_stars_repo_path": "src/ESFA.DC.PeriodEnd.ReportService.Reports.Interface/ProviderSubmissions/IProviderSubmissionsModelBuilder.cs",
"provenance": "train-00000-of-00045.jsonl.gz... | starcoder | using System.Collections.Generic;
using ESFA.DC.PeriodEnd.ReportService.Reports.Interface.ProviderSubmissions.Model;
namespace ESFA.DC.PeriodEnd.ReportService.Reports.Interface.ProviderSubmissions
{
public interface IProviderSubmissionsModelBuilder
{
ICollection<ProviderSubmissionModel> Build(Provider... | 1.072604 | 9a9f1303668d212849e8d894246c378a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95018 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "akdimitrov/CSharp-Fundamentals",
"max_stars_repo_path": "_PF - More Exercises/23.StringsAndTextProcessing-Exercises/T04.CharacterMultiplier/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95019"
} | starcoder | using System;
namespace T04.CharacterMultiplier
{
class Program
{
static void Main(string[] args)
{
string[] input = Console.ReadLine().Split();
Console.WriteLine(CharMultiplier(input[0], input[1]));
}
private static int CharMultiplier(string v1, string... | 3.820806 | fca1571033a9961b64ca9ca06b31608e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95019 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ng-eneter/eneter-protobuf",
"max_stars_repo_path": "ProtoDeclarations/EneterProtoBufDeclarations.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95020"
} | starcoder | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//-----------------------------------... | 1.699597 | 67a769d9e16d96dc8f55b85af590366e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95020 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "TrutzX/9nations",
"max_stars_repo_path": "Assets/Scripts/Libraries/Spells/Spell.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95021"
} | starcoder | <gh_stars>1-10
using System;
using Audio;
using Buildings;
using Classes.Actions;
using Game;
using Libraries.Animations;
using Libraries.FActions;
using MapElements;
using MapElements.Units;
using Players;
using Players.Infos;
using reqs;
using Tools;
using UI;
using Units;
using UnityEngine;
using Random = UnityEngin... | 1.825274 | ad1ccd2b3abb1d7048424ce57b221bcd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95021 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "onovotny/AppCenter-SDK-DotNet",
"max_stars_repo_path": "SDK/AppCenter/Microsoft.AppCenter.Windows.Shared/Ingestion/Http/INetworkStateAdapter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95022"
} | starcoder | using System;
namespace Microsoft.AppCenter.Ingestion.Http
{
public interface INetworkStateAdapter
{
bool IsConnected { get; }
event EventHandler NetworkStatusChanged;
}
}
| 1.623944 | 19f51386cb99e7f8ac4c0305435bf2c2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95022 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "TrevorDArcyEvans/NHSBuyingCatalogue",
"max_stars_repo_path": "beta-private/api/NHSD.GPITF.BuyingCatalog/Microsoft.SharePoint.Client.NetCore/DraftVisibilityType.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95023"
} | starcoder | namespace Microsoft.SharePoint.Client.NetCore
{
public enum DraftVisibilityType
{
Reader,
Author,
Approver
}
}
| 1.440151 | 1befb6a98b2918c44163017dc867cf4f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95023 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ChrisAkridge/Misc",
"max_stars_repo_path": "EvoANTCore/GenomeConverter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95024"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace EvoANTCore
{
internal static class GenomeConverter
{
public static NeuralNetwork ConvertGenomeToNetwork(Genome genome)
{
var neurons = new List<Neuron>();
var connectio... | 2.745525 | b79652eb22f333326fb946bd1e3793f9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95024 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Szandal/Pay",
"max_stars_repo_path": "Pay/Class/Transfer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95025"
} | starcoder | <filename>Pay/Class/Transfer.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Pay.Class
{
class Transfer : Payment
{
string bankAccount, titleOfTransfer;
}
}
| 1.910464 | abb2b86d25316f950d07ca5680693ee0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95025 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "hiroki-kitahara/Shoooooooooooooting-kitahara",
"max_stars_repo_path": "trunk/STG/Assets/Scripts/Component/CommandEvent/Conditioner/ConditionHolder.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95026"
} | starcoder | /*===========================================================================*/
/*
* * FileName : ConditionHolder.cs
*
* * Author : Hiroki_Kitahara.
*/
/*===========================================================================*/
using UnityEngine;
using System.Collections;
using System.Collections.G... | 1.903392 | 0f6fd7fd4154aae5301c7b56c38507ba |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95026 | {
"extension": "c-sharp",
"max_stars_count": "324.0",
"max_stars_repo_name": "openkim1/xReader",
"max_stars_repo_path": "_News.Shell/News.Client/News.Client/Models/TopHeadlines.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95027"
} | starcoder | <filename>_News.Shell/News.Client/News.Client/Models/TopHeadlines.cs
using Newtonsoft.Json;
using System;
namespace News.Client.Models
{
public partial class TopHeadlines
{
[JsonProperty("source")]
public Source Source { get; set; }
[JsonProperty("author")]
public string Autho... | 1.786263 | f1d21bc5a3897f68d004e140109dc338 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95027 | {
"extension": "c-sharp",
"max_stars_count": "220.0",
"max_stars_repo_name": "ChenKa1/Grapefruit.VuCore",
"max_stars_repo_path": "server/src/01_Entities/Grapefruit.Entities/Permission/IdentityUser.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95028"
} | starcoder | //-----------------------------------------------------------------------
// <copyright file= "IdentityUser.cs">
// Copyright (c) Danvic.Wang All rights reserved.
// </copyright>
// Author: Danvic.Wang
// Created DateTime: 2019/7/21 11:48:21
// Modified by:
// Description: 用户实体
//----------------------------------... | 2.063563 | 85c9b536596a4459b72aeedb46da9728 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95028 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "liggin2018/OpenAuth.Core",
"max_stars_repo_path": "OpenAuth.WebApi/Controllers/ModulesController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95029"
} | starcoder | <filename>OpenAuth.WebApi/Controllers/ModulesController.cs<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using Infrastructure;
using Microsoft.AspNetCore.Mvc;
using OpenAuth.App;
using OpenAuth.App.Interface;
using OpenAuth.Repository.Domain;
namespace OpenAuth.WebApi.Controllers
{
... | 2.24855 | e920255d8c338825648e78d2370dd4d0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95029 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "abbadon1334/RealFlowR",
"max_stars_repo_path": "FlowR.Sample/Pages/Shared/_Layout.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:95030"
} | starcoder | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>DotNet RealFlowR</title>
</head>
<body id="flow-root">
@RenderBody()
@await RenderSectionAsync("Scripts", false)
</body>
</html> | 1.501905 | 841f672de1dde3e6bbe76e2b11f341e7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95030 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jonfpersson/Bee-Simulator",
"max_stars_repo_path": "Assets/Scripts/rotateIcons.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95031"
} | starcoder | <reponame>jonfpersson/Bee-Simulator
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class rotateIcons : MonoBehaviour {
public GameObject[] pictures;
public GameObject[] levels;
Vector3 picPos0;
Vector3 picPos1;
Vector3 picPos2;
public static int iconI... | 2.554084 | 455479ce0354c5808577ada1ba644aba |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95031 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Freenode-Csharp/DEPRECATED-SpikeLite",
"max_stars_repo_path": "SpikeLite.Domain/Persistence/Authentication/AccessFlagDao.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95032"
} | starcoder | /**
* SpikeLite C# IRC Bot
* Copyright (c) 2011 FreeNode ##Csharp Community
*
* This source is licensed under the terms of the MIT license. Please see the
* distributed license.txt for details.
*/
using System.Collections.Generic;
using log4net.Ext.Trace;
using SpikeLite.Domain.Model.Authentication;
using Spr... | 2.497268 | 1e9c669b04148c886c6381801727378c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95032 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "gravbox/-GravityboxSchedule",
"max_stars_repo_path": "InternalTests/TestTest2005/Form1.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95033"
} | starcoder | using System;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using Gravitybox.Objects;
using Gravitybox.Controls;
namespace TestTest2005
{
public partial class Form1 : Form
{
public For... | 2.228702 | 06f9360f9b084fbeee3d931e76a66653 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95033 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "metem/DuplicatesFinder",
"max_stars_repo_path": "DuplicatesFinder/Views/_ViewImports.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:95034"
} | starcoder | <gh_stars>0
@using DuplicatesFinder
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
@addTagHelper *, Microsoft.AspNetCore.SpaServices
| 0.95259 | ec3c2141a0078cce86195dfa9f22a0c7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95034 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "vriabtsev/EasyEngine",
"max_stars_repo_path": "EasyEngine.Graphics/Core/Vertex.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95035"
} | starcoder | <filename>EasyEngine.Graphics/Core/Vertex.cs<gh_stars>0
using OpenTK;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace EasyEngine.Graphics.Core
{
public class Vertex
{
public static int SizeInBytes
{
get
... | 3.044089 | de43198c0012e220383a4dfa2155fd85 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95035 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "rs-swc/OPADotNet",
"max_stars_repo_path": "netcore/src/OPADotNet.Expressions/ExpressionConverter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95036"
} | starcoder | /*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distribu... | 2.272452 | 57e74b76d8e80810bb26c9e259b95108 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95036 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "SecretNest/ShortUrl",
"max_stars_repo_path": "src/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95037"
} | starcoder | <reponame>SecretNest/ShortUrl<filename>src/Program.cs
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Hosting;
namespace SecretNest.ShortUrl
{
#pragma warning disable CA1052 // Static holder types should be Static or NotInheritable
public class Program
#pragma warning restore CA1052 // Static holder... | 2.33675 | 594d0e7f938c1166751fce781d4dcb58 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95037 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "marwac-9/HomeAutomation",
"max_stars_repo_path": "HomeAutomation/DeviceList/DeviceListModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95038"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Interfaces;
namespace DeviceList
{
public class DeviceListModel : ObservableObject
{
public const string NamePropertyName = "Name";
string name = "ejjjj";
public s... | 2.643889 | 209f633010d37e0ecb5544f60a55f625 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95038 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "alexeybut/Aspose.Words-for-.NET",
"max_stars_repo_path": "Examples/CSharp/Programming-Documents/Fields/FieldUpdateCulture.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95039"
} | starcoder | using Aspose.Words.Fields;
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Aspose.Words.Examples.CSharp.Programming_Documents.Working_with_Fields
{
class FieldUpdateCulture
{
public static void Ru... | 2.74424 | 07f218ae09c7cd285695155f6f7a2620 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95039 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "inderilc/WODashboard",
"max_stars_repo_path": "WorkOrderDashboard/Models/OrderData.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95040"
} | starcoder | <filename>WorkOrderDashboard/Models/OrderData.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using GalaSoft.MvvmLight;
namespace WorkOrderDashboard.Models
{
public partial class OrderData
{
public int OrderID { get; set... | 2.384594 | 35aa498c9bf4bbea5a0c90313e7183d3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95040 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TheRealVira/transparent-game-engine",
"max_stars_repo_path": "TransparentGameEngine/Win32Window.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95041"
} | starcoder | using System;
using System.Windows.Forms;
namespace TransparentGameEngine
{
public class Win32Window : System.Windows.Forms.IWin32Window
{
private readonly IntPtr _hWnd;
public Win32Window(IntPtr hWnd)
{
_hWnd = hWnd;
}
IntPtr IWin32Window.Handle =... | 2.134693 | 834339807b59c45603ff32179fc60adf |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95041 | {
"extension": "c-sharp",
"max_stars_count": "255.0",
"max_stars_repo_name": "ratishphilip/CompositionProToolkit",
"max_stars_repo_path": "CompositionProToolkit/Controls/FluidWrapPanel/FluidWrapPanel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95042"
} | starcoder | // Copyright (c) <NAME>
//
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distr... | 2.21006 | 5cc6d918675b8127456938a1360e7bc3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95042 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "GerHobbelt/GeckoFX-60-clone",
"max_stars_repo_path": "Geckofx-Core/Generated/nsILoadURIDelegate.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95043"
} | starcoder | <filename>Geckofx-Core/Generated/nsILoadURIDelegate.cs<gh_stars>1-10
// --------------------------------------------------------------------------------------------
// Version: MPL 1.1/GPL 2.0/LGPL 2.1
//
// The contents of this file are subject to the Mozilla Public License Version
// 1.1 (the "License"); you may... | 2.000595 | 2973a6a4716d896f0fc8d161ccc4e526 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95043 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kotwica407/ContentAggregator",
"max_stars_repo_path": "ContentAggregator.Models/Model/Response.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95044"
} | starcoder | <gh_stars>0
namespace ContentAggregator.Models.Model
{
public class Response : PostBase
{
public string CommentId { get; set; }
public Comment Comment { get; set; }
}
} | 1.080409 | e5752e0e7799400d8a5f16ec80bbd845 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95044 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "0xCM/z0",
"max_stars_repo_path": "src/calc/src/calcs/nonz.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95045"
} | starcoder | //-----------------------------------------------------------------------------
// Copyright : (c) <NAME>, 2020
// License : MIT
//-----------------------------------------------------------------------------
namespace Z0
{
using System;
using System.Runtime.CompilerServices;
using static Root;
... | 1.492277 | 5b98bcf64fde0b12d4f8eac559aee356 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95045 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "uugspb/Meganagibators",
"max_stars_repo_path": "Assets/GeneticsController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95046"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class GeneticsController : MonoBehaviour
{
#region consts
public const int MIN_PARENTS_AMOUNT = 1;
public const int MAX_PARENTS_AMOUNT = 300;
public const int MIN_MUTATIONS_PER_PARENT = 1;
public const int MAX_... | 2.20807 | 7fa5d7118c5e206d6c04aeacf170cdd1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95046 | {
"extension": "c-sharp",
"max_stars_count": "58.0",
"max_stars_repo_name": "pedroparmeggianiB2B/admin-ui",
"max_stars_repo_path": "src/IdentityUI.Admin/Areas/IdentityAdmin/Views/UserAttribute/Components/AddUserAttributeModal/AddUserAttributeModalViewComponent.cs",
"provenance": "train-00000-of-00045.jsonl.gz... | starcoder | <reponame>pedroparmeggianiB2B/admin-ui<filename>src/IdentityUI.Admin/Areas/IdentityAdmin/Views/UserAttribute/Components/AddUserAttributeModal/AddUserAttributeModalViewComponent.cs
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Text;
namespace SSRD.IdentityUI.Admin.Areas.I... | 1.599769 | dc0b59ef0c5fb0fabe06098acd6aa4ca |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95047 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "RyanNieuwoudt/StarCommander",
"max_stars_repo_path": "StarCommander.Domain/IRaiseDomainEvents.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95048"
} | starcoder | using System.Collections.Generic;
namespace StarCommander.Domain
{
public interface IRaiseDomainEvents
{
IEnumerable<IDomainEvent> Events { get; }
void ClearEvents();
}
} | 1.91535 | b2cced4867ec4034ff072e69331f7d5d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95048 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "transformania/tt-game",
"max_stars_repo_path": "src/TT.Web/Views/QuestWriter/Diagram.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:95049"
} | starcoder | <reponame>transformania/tt-game<filename>src/TT.Web/Views/QuestWriter/Diagram.cshtml
<head>
<script src="@Links.lib.vis.vis_js"></script>
<link rel="stylesheet" type="text/css" href="@Links.lib.vis.vis_css">
<style type="text/css">
#mynetwork {
width: 1000px;
height: 1000px... | 1.960353 | ec1e3f52a04e697989cb62da3fd0ddf3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95049 | {
"extension": "c-sharp",
"max_stars_count": "69.0",
"max_stars_repo_name": "JunGroupProductions/mopub-unity-sdk",
"max_stars_repo_path": "unity-sample-app/Assets/MoPub/Sample/Delight/Content/Views/UI/ToggleGroup.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95050"
} | starcoder | <reponame>JunGroupProductions/mopub-unity-sdk
#region Using Statements
using System;
using System.Collections.Generic;
using System.Runtime.CompilerServices;
using UnityEngine;
using UnityEngine.UI;
#endregion
namespace Delight
{
/// <summary>
/// Group view that makes its child buttons into toggle ... | 1.292458 | 4ffd88a8eef1b1ea76f456448bd6cda5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95050 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "NHS111Online/nhs111-online",
"max_stars_repo_path": "NHS111/NHS111.Web.Test/Builders/RegisterForSMSViewModelBuilderTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95051"
} | starcoder | using AutoMapper;
using Moq;
using NHS111.Models.Mappers.WebMappings;
using NHS111.Models.Models.Web;
using NHS111.Models.Models.Web.DataCapture;
using NHS111.Utils.RestTools;
using NHS111.Web.Presentation.Builders;
using NUnit.Framework;
using RestSharp;
using System.Threading.Tasks;
using IConfiguration = NHS111.Web... | 1.918867 | 57da1288157dbf422b6e673ebcac8812 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95051 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mym0404/Pikachu-Volley",
"max_stars_repo_path": "Assets/02.Script/JumpButtonRotate.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95052"
} | starcoder | <reponame>mym0404/Pikachu-Volley
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class JumpButtonRotate : MonoBehaviour {
private Transform tr;
public static float rotateSpeed = 1.0f;
void Start () {
tr = transform;
}
void Update () {
// tr.Rotate(0 ,... | 1.801685 | baf059594209635365f7816fc0373b25 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95052 | {
"extension": "c-sharp",
"max_stars_count": "14.0",
"max_stars_repo_name": "Kodestruct/Kodestruct.Design",
"max_stars_repo_path": "Kodestruct.Steel/AISC/AISC360v16/J_Connections/Bolt/Base/BoltGeneral.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95053"
} | starcoder | #region Copyright
/*Copyright (C) 2015 <NAME>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | 2.219425 | 40c0725dbbf42a0c7ed351e4fe154d45 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95053 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jamesaxl/BD2",
"max_stars_repo_path": "BD2.Frontend.Table/RowDrop.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95054"
} | starcoder | <filename>BD2.Frontend.Table/RowDrop.cs
/*
* Copyright (c) 2014 <NAME>
* 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 copy... | 1.846643 | 47d9debf24fec498ac5dba161dedfaeb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95054 | {
"extension": "c-sharp",
"max_stars_count": "230.0",
"max_stars_repo_name": "DrLeh/DalSoft.RestClient",
"max_stars_repo_path": "DalSoft.RestClient.Test.Unit/TestData/Resources/RestApiResources.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95055"
} | starcoder | namespace DalSoft.RestClient.Test.Unit.TestData.Resources
{
public class RestApiResources
{
public UsersResources Users => new UsersResources();
public string Apps => "Apps";
}
} | 1.384911 | b9c0b135120709c8c2d5df9305355809 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95055 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tose2125/UtaskSyllabusScraper",
"max_stars_repo_path": "UtaskSyllabusScraper/MainForm.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95056"
} | starcoder | <filename>UtaskSyllabusScraper/MainForm.cs<gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using HtmlAgilityPack;
using System.Web.Script.Serialization;
using System.IO;
namespace UtaskSyllabusScraper
{
public partial class MainForm : Fo... | 2.797069 | ac62d4c9480f2d6bb7ee03d5429dd8e4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95056 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "And42/TerrLauncherPackCreator",
"max_stars_repo_path": "TerrLauncherPackCreator/Code/Json/AppSettingsJson.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95057"
} | starcoder | using Newtonsoft.Json;
namespace TerrLauncherPackCreator.Code.Json
{
public class AppSettingsJson
{
[JsonProperty("app_language", Required = Required.Always)]
public string AppLanguage { get; set; }
[JsonProperty("main_window_width")]
public int MainWindowWidth { get; ... | 2.458848 | 631065c80c42206d016f240bd66486a6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95057 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "NAJA5152/TouhouMachineLearning2022",
"max_stars_repo_path": "Assets/Script/9_MixedScene/Thread/TaskLoopManager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95058"
} | starcoder | <reponame>NAJA5152/TouhouMachineLearning2022
using System.Threading;
namespace TouhouMachineLearningSummary.Manager
{
class TaskLoopManager
{
public static CancellationTokenSource cancel;
public static void Init() => cancel = new CancellationTokenSource();
public static void TriggerThro... | 2.030673 | b50a38aa6173dcc588bf656864facc30 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95058 | {
"extension": "c-sharp",
"max_stars_count": "91.0",
"max_stars_repo_name": "bytemech/AzurePipelinesToGitHubActionsConverter",
"max_stars_repo_path": "src/AzurePipelinesToGitHubActionsConverter.Core/AzurePipelines/Resources.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95059"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace AzurePipelinesToGitHubActionsConverter.Core.AzurePipelines
{
//https://docs.microsoft.com/en-us/azure/devops/pipelines/yaml-schema?view=azure-devops&tabs=schema#resources
public class Resources
{
//TODO: There is currentl... | 1.761898 | c2f5038c1a2926d3e942f7751ced1eb4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95059 | {
"extension": "c-sharp",
"max_stars_count": "252.0",
"max_stars_repo_name": "rsdn/CodeJam",
"max_stars_repo_path": "CodeJam.Main.Tests/Collections/QueryableExtensionsTests.ApplyOrder.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95060"
} | starcoder | <reponame>rsdn/CodeJam<gh_stars>100-1000
using System.Linq;
using CodeJam.Strings;
using JetBrains.Annotations;
using NUnit.Framework;
namespace CodeJam.Collections
{
// ReSharper disable once PartialTypeWithSinglePart
public partial class QueryableExtensionsTests
{
[Test]
public void OrderByT... | 2.490591 | 3d14b0e169e3676048784a078f6cc0ff |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95060 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "vnikolov88/ddapp",
"max_stars_repo_path": "DDApp/Views/Shared/EditorTemplates/DataDrivenAppComponent.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:95061"
} | starcoder | @inject IModelProvider ModelProvider
@using DDApp.AppStructure.Providers
@model DataDrivenAppComponent
@{
var isDataProviderEnabled = !string.IsNullOrWhiteSpace(Model.Provider?.Type);
}
<hr />
<div class="row">
<div class="col-12">
<div asp-validation-summary="ModelOnly" class="text-danger"></div>
... | 2.32135 | 47256b9a227ac6e2e753c2780cab6ac8 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.