added string | created string | id string | metadata dict | source string | text string | code-score float64 | md5 string |
|---|---|---|---|---|---|---|---|
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835412 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "GitHubUser1111111/EAS",
"max_stars_repo_path": "src/EntityLibrary/Business/User/EasUser.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154632"
} | starcoder | <reponame>GitHubUser1111111/EAS<filename>src/EntityLibrary/Business/User/EasUser.cs
using EntityLibrary.Base;
namespace EntityLibrary.Business.User
{
public class EasUser : EasIdEntityBase
{
}
}
| 1.148816 | 889f2e27a6e12cfe774da4d192f88c16 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835413 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "polylith/PlumploriGame",
"max_stars_repo_path": "Assets/Scripts/Game/Prefs.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154633"
} | starcoder | <filename>Assets/Scripts/Game/Prefs.cs<gh_stars>0
/// <summary>
/// Keys to save the audio settings in the Unity Player prefs
/// </summary>
public static class Prefs
{
public enum Keys
{
MUSICON = 0,
MUSICVOLUME,
AUDIOON,
AUDIOVOLUME
}
}
| 1.673667 | 414f6c29f9a1151d768b20d1668ce138 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835414 | {
"extension": "c-sharp",
"max_stars_count": "47.0",
"max_stars_repo_name": "threenine/swcapi",
"max_stars_repo_path": "src/Api/Startup.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154634"
} | starcoder | <reponame>threenine/swcapi<gh_stars>10-100
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using NSwag;
using Threenine.Data.Dependen... | 1.825452 | 26e4a9bc4c3c9aadeadcbc86f09e70a0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835415 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Zlatomir9/AdoptMe",
"max_stars_repo_path": "AdoptMe.Tests/Services/NotificationServiceTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154635"
} | starcoder | <filename>AdoptMe.Tests/Services/NotificationServiceTest.cs
namespace AdoptMe.Tests.Services
{
using System;
using System.Linq;
using System.Threading.Tasks;
using Xunit;
using Microsoft.EntityFrameworkCore;
using FluentAssertions;
using AdoptMe.Data;
using AdoptMe.Services.Notification... | 2.365932 | 13a0914da67ed7728e18efdf39069158 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835416 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "enriqueescobar-askida/Kinito.Mosaik.Common",
"max_stars_repo_path": "Alphamosaik.Common.Library/Performance/PerformanceEntry.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154636"
} | starcoder | <gh_stars>0
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="PerformanceEntry.cs" company="AlphaMosaik">
// Copyright (c) AlphaMosaik. All rights reserved.
// </copyright>
// <summary>
// Represents a log message. Contains ... | 2.095627 | 235bf122fa6da392a57482b2c115baa9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835417 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "mastertnt/XRay",
"max_stars_repo_path": "XSerialization/IPropertyInfoXSerializationContract.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154637"
} | starcoder | using System;
using System.Reflection;
namespace XSerialization
{
/// <summary>
/// This interface defines a serialization contract for a property info.
/// </summary>
interface IPropertyInfoSerializationContract : IXTypedSerializationContract<PropertyInfo>
{
/// <summary>
/// Gets... | 2.330441 | 344e6c2adecea94b3ad211e1d21acf5e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835418 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "gucclx/Siv",
"max_stars_repo_path": "SivUI/Ventas/VenderForm.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154638"
} | starcoder | <reponame>gucclx/Siv
using SivBiblioteca;
using SivBiblioteca.Modelos;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using SivBiblioteca.Utilidades;
using SivUI.Clientes;
namespace... | 2.347253 | 4aabf2c19c6f3501f409f4df3c4db51b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835419 | {
"extension": "c-sharp",
"max_stars_count": "25.0",
"max_stars_repo_name": "HandyOrg/HandySub",
"max_stars_repo_path": "src/HandySub/Pages/FavoritePage.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154639"
} | starcoder | using System;
using Microsoft.UI.Xaml.Controls;
using Microsoft.UI.Xaml.Navigation;
using System.ComponentModel;
using HandySub.Models;
using System.Collections.ObjectModel;
using System.Runtime.CompilerServices;
using CommunityToolkit.WinUI.UI;
using HandySub.Common;
using Microsoft.UI.Xaml.Media.Animation;
using Mic... | 2.121173 | de3a4cebc5a3b3696e5f221c62cf756a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835420 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "juliusfriedman/reminiscence",
"max_stars_repo_path": "src/Reminiscence/Collections/Dictionary.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154640"
} | starcoder | // The MIT License (MIT)
// Copyright (c) 2015 <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, modif... | 2.640773 | bce5665883f040c731d0bcf4d0e00f5c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835421 | {
"extension": "c-sharp",
"max_stars_count": "161.0",
"max_stars_repo_name": "ErikEJ/EntityFramework6PowerTools",
"max_stars_repo_path": "src/ErikEJ.EntityFramework.SqlServer/MicrosoftSqlDbConfiguration.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154641"
} | starcoder | namespace System.Data.Entity.SqlServer
{
/// <summary>
/// Default configuration.
/// </summary>
public class MicrosoftSqlDbConfiguration : DbConfiguration
{
/// <summary>
/// Default configuration, used for code based configuration of this provider.
/// </summary>
p... | 2.001086 | 6653138585a70a14a8e103e67133dbb1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835422 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ciiwolstudio/FleeOrFace",
"max_stars_repo_path": "Assets/Scripts/Main/DeathCamController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154642"
} | starcoder | using UnityEngine;
using System.Collections;
using UnityStandardAssets.CrossPlatformInput;
public class DeathCamController : MonoBehaviour {
public float moveSpeed = 10;
public float rotSpeed = 80;
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
... | 2.228036 | bf15d8a572db0756d44f0b23350e2dba |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835423 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "marcusjobb/NET20D",
"max_stars_repo_path": "TDD/Inlämning1/Mikael/TDDInlamning1_MLarsson/GeometricThings/Circle.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154643"
} | starcoder | namespace TDDInlamning1_MLarsson.GeometricThings
{
using System;
/// <summary>
/// Class to handle the circle object.
/// </summary>
public class Circle : GeometricThing
{
public Circle(float radius)
{
this.Radius = radius;
}
public float Radius { ge... | 3.313322 | c124df6b7ca6722c11660ff97389dc2f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835424 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Fourjays/unity_ducks",
"max_stars_repo_path": "ducks_managed/Assets/Character.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154644"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Character : MonoBehaviour
{
void Update()
{
Vector2 velocity = Vector2.zero;
if (Input.GetKeyUp(KeyCode.UpArrow)) {
velocity.y += 1;
}
if (Input.GetKeyUp(KeyCode.DownArrow)) ... | 2.592331 | 705c14f66e9ca950789824b2a49d74fe |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835425 | {
"extension": "c-sharp",
"max_stars_count": "83.0",
"max_stars_repo_name": "fanx-dev/fantom",
"max_stars_repo_path": "src/sys/dotnet/fanx/fcode/FField.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154645"
} | starcoder | <reponame>fanx-dev/fantom
//
// Copyright (c) 2006, <NAME> and <NAME>
// Licensed under the Academic Free License version 3.0
//
// History:
// 27 Sep 06 <NAME> Creation
//
using System;
namespace Fanx.Fcode
{
/// <summary>
/// FField is the read/write fcode representation of sys::Field.
/// </summary>
pu... | 1.541939 | a555b0d6e675f364c1bc305f51b6cc71 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835426 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AscenKeeprov/Databases-Advanced",
"max_stars_repo_path": "Exercise12-Workshop/TeamBuilder.App/Core/Interfaces/IAuthenticationManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154646"
} | starcoder | <gh_stars>0
using TeamBuilder.Data.DataTransferObjects;
namespace TeamBuilder.App.Core.Interfaces
{
public interface IAuthenticationManager
{
UserDto GetCurrentUser();
bool IsAuthenticated();
void Login(UserDto user);
void Logout();
}
}
| 1.505724 | bd07b6b8f23cf782301dcb2edb340eed |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835427 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jam-e-dev/osmosys-dicom-cs",
"max_stars_repo_path": "Data.Tests/Extensions/DicomDateStringExtensionsTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154647"
} | starcoder | using System;
using System.Linq;
using Osmosys.Data.Extensions;
using Osmosys.Data.ValueRepresentations;
using Xunit;
namespace Osmosys.Data.Tests.Extensions
{
public class DicomDateStringExtensionsTest
{
[Fact]
public void CanConvertDateStringsToRanges()
{
var dates = new[]... | 2.866668 | 1f4dee974271ec5f7642dae393793557 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835428 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "stwomack/spring-petclinic-microservices",
"max_stars_repo_path": "steeltoe-petclinic-customers-service/Customers.Api/Domain/Owner.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154648"
} | starcoder | using System;
using System.Collections.Generic;
namespace Petclinic.Customers.Domain
{
public class Owner
{
public Owner(string firstName, string lastName, string address, string city, string telephone, int id = default)
{
FirstName = firstName ?? throw new ArgumentNullException(nam... | 3.214747 | 05ba3880637899e8b95fd0809c82b9ec |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835429 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "msummersBU/Cursed-Plains",
"max_stars_repo_path": "Assets/Scripts/World/Parallax.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154649"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Parallax : MonoBehaviour {
private float length, startpos;
public GameObject cam;
public float parallaxEffect;
// Use this for initialization
void Start () {
startpos = transform.localPosition.x;
length = GetCompone... | 2.260919 | 221fb9656ad4b261130a9cd586c02b60 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835430 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "arcana261/Saladio",
"max_stars_repo_path": "Saladio/Activities/SharedActivity.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154650"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Android.App;
using Android.Content;
using Android.OS;
using Android.Runtime;
using Android.Views;
using Android.Widget;
using Android.Support.V4.App;
using Saladio.Fragments;
using IO.Swagger.Client;
using Saladio.Contexts;
usi... | 2.109821 | a7830ee6cc06a2e90cbd0ad25584795f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835431 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "zuhuizou/open-pdd-net-sdk",
"max_stars_repo_path": "PddOpenSdk/PddOpenSdk/Models/Response/Ad/DeleteAdPlanResponseModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154651"
} | starcoder | <reponame>zuhuizou/open-pdd-net-sdk
using Newtonsoft.Json;
namespace PddOpenSdk.Models.Response.Ad
{
public partial class DeleteAdPlanResponseModel : PddResponseModel
{
/// <summary>
/// 返回response
/// </summary>
[JsonProperty("ad_plan_delete_response")]
public AdPlanDele... | 1.537425 | e7def34d8b1692e3d162c35d7571ebf2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835432 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "hancheester/apollo",
"max_stars_repo_path": "Store Front/Apollo.FrontStore/Views/ShoppingCart/OrderTotals.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:154652"
} | starcoder | @using Apollo.FrontStore.Models.ShoppingCart;
@model OrderTotalsModel
<div class="@(Model.IsEditable == false ? "col-sm-offset-8" : "") col-sm-4">
<div class="title">
<h5>Subtotal (excl. tax)<span class="pull-right">@Html.Raw(Model.SubTotal)</span></h5>
</div>
@if (!string.IsNullOrEmpty(Model.SubT... | 2.519154 | 1ee64d6a1a7e6fa0666875fcc1bd9ca3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835433 | {
"extension": "c-sharp",
"max_stars_count": "3170.0",
"max_stars_repo_name": "elix22/AtomicGameEngine",
"max_stars_repo_path": "Data/AtomicEditor/AtomicNET/ProjectTemplate/Platforms/Desktop/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154653"
} | starcoder | using System;
using System.Collections.Generic;
using System.Reflection;
using System.Linq;
using AtomicEngine;
$$APPLICATION_NAMESPACE$$
namespace AtomicPlayer
{
public class Program
{
public static void Main(string[] args)
{
Application.Run<$$APPLICATION_APPDELEGATECLASS$$>(args)... | 1.390427 | ff4caeee5f7f6d11a0db4731b0f871d6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835434 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "96malhar/aws-dotnet-deploy",
"max_stars_repo_path": "src/AWS.Deploy.CLI/ServerMode/Services/SessionOrchestratorInteractiveService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154654"
} | starcoder | // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using AWS.Deploy.CLI.ServerMode.Hubs;
using AWS.Deploy.Orchestration;
using Microsoft.AspNetCore.SignalR;
namesp... | 1.77274 | 430ed558124b881c717d914b44bd11d8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835435 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Makinolo/GTACoop-R",
"max_stars_repo_path": "Client/Packets/DownloadPackets.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154655"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using Lidgren.Network;
namespace CoopClient
{
internal partial class Packets
{
public enum DataFileType
{
Script = 0,
Map = 1
}
public class FileTransferRequest : Packet
{
... | 2.370865 | ce81a0a3af7db17e073436f8d6e271c0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835436 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "eventmodeling/eventdriventhinking",
"max_stars_repo_path": "EventDrivenThinking/EventInference/Client/InternalDiscoService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154656"
} | starcoder | <reponame>eventmodeling/eventdriventhinking<gh_stars>1-10
using System;
using EventDrivenThinking.EventInference.Schema;
namespace EventDrivenThinking.EventInference.Client
{
public class InternalDiscoService : IServiceDiscovery
{
private readonly string baseUrl = "http://localhost:5000";
pub... | 2.006413 | 14e47f958d7f992dd47767a4613dea60 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835437 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "yagizayer/ScriptableObjects_Architecture_Research",
"max_stars_repo_path": "Assets/ProjectRootFolder/Scripts/MetaClasses/CellBehaviour.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154657"
} | starcoder | using System;
using System.Collections.Generic;
using Helpers;
using MyBox;
using UnityEngine;
namespace ProjectRootFolder.Scripts.MetaClasses
{
public sealed class CellBehaviour : MonoBehaviour
{
[SerializeField, Range(0.01f, 10)] private float divisionInterval = 5;
private bool _isDivisible ... | 2.400748 | 62f58652273bdcbd0e83de63731421dc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835438 | {
"extension": "c-sharp",
"max_stars_count": "20.0",
"max_stars_repo_name": "getbucket/bucket",
"max_stars_repo_path": "src/Bucket/DependencyResolver/SolverProblemsException.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154658"
} | starcoder | /*
* This file is part of the Bucket package.
*
* (c) <NAME> <<EMAIL>>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* Document: https://github.com/getbucket/bucket/wiki
*/
using Bucket.Console;
using Bucket.Exception;
using B... | 2.550294 | 3fe3479d44654d9c80408a7f679c5383 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835439 | {
"extension": "c-sharp",
"max_stars_count": "448.0",
"max_stars_repo_name": "miniksa/BuildXL",
"max_stars_repo_path": "Public/Src/Utilities/Ipc/Interfaces/IServer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154659"
} | starcoder | // Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using JetBrains.Annotations;
namespace BuildXL.Ipc.Interfaces
{
/// <summary>
/// An abstraction for implementing an IPC server. In this context, an IPC client
/// is a process providing operations that other processes ma... | 2.277946 | f0751b4164818c967f9074ca0cbd9ed5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835440 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "differenz-system/AddressBook.Xamarin",
"max_stars_repo_path": "DifferenzXamarinDemo/DifferenzXamarinDemo/Views/MyListPage.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154660"
} | starcoder | <reponame>differenz-system/AddressBook.Xamarin<filename>DifferenzXamarinDemo/DifferenzXamarinDemo/Views/MyListPage.xaml.cs<gh_stars>0
using Xamarin.Forms;
namespace DifferenzXamarinDemo.Views
{
public partial class MyListPage : ContentPage
{
public MyListPage()
{
InitializeComponen... | 2.326946 | 1d6d45ce493451d132c17bb072d2da44 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835441 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "iafb/greatreadingadventure",
"max_stars_repo_path": "SRP/Handlers/GetEarnedBadgesInfo.ashx.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154661"
} | starcoder | <reponame>iafb/greatreadingadventure
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.SessionState;
using System.Data;
namespace GRA.SRP.Handlers {
/// <summary>
/// Summary description for GetEarnedBadgesInfo
/// </summary>
p... | 2.323546 | afd97c07186220df92505fe1cc120502 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835442 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "jfmc/FPSSample",
"max_stars_repo_path": "Assets/Unity Technologies/ProfileAnalyser/Editor/ProfileAnalysis.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154662"
} | starcoder | <gh_stars>1-10
using System.Collections.Generic;
using UnityEngine;
namespace ProfileAnalyser
{
public class ProfileAnalysis
{
private FrameSummary m_frameSummary = new FrameSummary();
private List<MarkerData> m_markers = new List<MarkerData>();
private List<ThreadData> m_threads = new ... | 2.435781 | ffa83acce042e3ca6b40b0721b8e4521 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835443 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "theMoaningEchidnas/Database-Project",
"max_stars_repo_path": "AnimaniaConsole/AnimaniaConsole.UnitTests/Core/Commands/ChangePasswordCommandTests/Constructor_Should.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154663"
} | starcoder | using System;
using AnimaniaConsole.Core.Commands;
using AnimaniaConsole.DTO.Models;
using AnimaniaConsole.Services.Services;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace AnimaniaConsole.UnitTests.Core.Commands.ChangePasswordCommandTests
{
[TestClass]
public class Constructor_Should
{
... | 2.186263 | 6eb4f5878bb1899d4e33f549305f4348 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835444 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "BlaiseD/Contoso.XPlatform",
"max_stars_repo_path": "Contoso.Bsl.Flow/Flow/ProjectionOperations.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154664"
} | starcoder | <gh_stars>0
using AutoMapper;
using Contoso.Common.Utils;
using Contoso.Parameters.Expansions;
using Contoso.Parameters.Expressions;
using LogicBuilder.Attributes;
using LogicBuilder.Data;
using LogicBuilder.Domain;
using LogicBuilder.EntityFrameworkCore.SqlServer.Repositories;
using LogicBuilder.Expressions.Utils.Exp... | 1.724826 | c2e83bcd16b88c52f6fbcfacab189799 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835445 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "iwenli/ILI",
"max_stars_repo_path": "Iwenli/Web/Security/SecurityConfig.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154665"
} | starcoder | <filename>Iwenli/Web/Security/SecurityConfig.cs
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Web;
using System.Xml;
namespace Iwenli.Web.Security
{
/// <summary>
/// Web安全配置信息
/// </summary>
... | 2.394541 | d1a1b19e0bd30db0fae5fd3f21498c13 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835446 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "HudsonAkridge/fluent-nhibernate",
"max_stars_repo_path": "src/FluentNHibernate/Conventions/Discovery/ClassDiscoveryConvention.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154666"
} | starcoder | <gh_stars>0
using System.Collections.Generic;
using FluentNHibernate.Mapping;
namespace FluentNHibernate.Conventions.Discovery
{
/// <summary>
/// Discovers any <see cref="IClassConvention"/> implementations and applies them to all the
/// <see cref="IClassMap"/>s in the domain.
/// </summary>
... | 2.308539 | 74da067c15cc71efb8bb9c4de82319fa |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835447 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "skttl/ParameterEditorGenerator",
"max_stars_repo_path": "src/skttl.ParameterEditorGenerator/ParameterEditorGeneratorTreeAction.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154667"
} | starcoder | using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Umbraco.Core;
using Umbraco.Web;
using Umbraco.Web.Trees;
namespace skttl.ParameterEditorGenerator
{
public class ParameterEditorGeneratorTreeAction : ApplicationEven... | 1.755987 | 0875b20e33e461445721d432695eb776 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835448 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "jaredaz/SFTP.Wrapper",
"max_stars_repo_path": "SFTP.Wrapper/ISftpManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154668"
} | starcoder | using System.Threading.Tasks;
using SFTP.Wrapper.Requests;
using SFTP.Wrapper.Responses;
namespace SFTP.Wrapper
{
public interface ISftpManager
{
Task<ResultStatus<GetAllFilesResponse>> GetAllFilesAsync(GetAllFilesRequest request);
Task<ResultStatus<DownloadFileResponse>> DownloadFileAsync(Dow... | 1.628686 | 3534e63bca528f86fc9140174211442f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835449 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "BCProgramming/BASeBlock",
"max_stars_repo_path": "Poing2/Blocks/AnimatedBlocks.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154669"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Diagnostics;
using System.Drawing;
using System.Drawing.Design;
using System.Drawing.Drawing2D;
using System.Drawing.Imaging;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Reflection.BASe... | 2.253751 | 9bab9038b45449b849ae95a7ff363312 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835450 | {
"extension": "c-sharp",
"max_stars_count": "40.0",
"max_stars_repo_name": "Dmiri/Xamarin.google-apis",
"max_stars_repo_path": "src/Externals/google-api-dotnet-client/Src/GoogleApis/Apis/Upload/ResumableUpload.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154670"
} | starcoder | #if !SILVERLIGHT
/*
Copyright 2012 Google Inc
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 writ... | 2.116383 | ba74338f33ae1f6d2716db297a43e856 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835451 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "slavashar/Maze",
"max_stars_repo_path": "test/Maze.Facts/WhereFacts.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154671"
} | starcoder | <gh_stars>1-10
using Maze.Reactive;
using System;
using System.Reactive.Linq;
using System.Threading.Tasks;
using Xunit;
using Microsoft.Reactive.Testing;
using System.Reactive.Subjects;
using Observable = System.Reactive.Linq.Observable;
using ObservableMaze = Maze.Reactive.Observable;
namespace Maze.Facts
{
pub... | 2.591471 | d570a80242c7beadea6965b5df4a2203 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835452 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Vikas-Kaushik/AgodaAssignment",
"max_stars_repo_path": "code/RateLimitService/RateLimitServiceForGetProjectByCity.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154672"
} | starcoder | using System;
using RateLimitServices.Utilities;
namespace RateLimitServices
{
public class RateLimitServiceForGetProjectByCity : IRateLimitServiceForGetProjectByCity
{
private readonly uint _maxRequestsInSlotSpan;
private readonly ushort _slotSpanInSeconds;
private readonly ushort _ti... | 2.656467 | 1d42d51907747ba89cac56d2da2979b4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835453 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "damaraaxaindonesia/DamaCMS",
"max_stars_repo_path": "DamaCoreCMS.Framework/Core/Services/NccScheduleTaskHistoryService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154673"
} | starcoder |
using DamaCoreCMS.Framework.Core.Models;
using DamaCoreCMS.Framework.Core.Mvc.Service;
using DamaCoreCMS.Framework.Core.Repository;
namespace DamaCoreCMS.Framework.Core.Services
{
public class NccScheduleTaskHistoryService : BaseService<NccScheduleTaskHistory>
{
private readonly NccScheduleTaskHisto... | 1.481356 | 232e6cabf4654145cd04ae146a64bf15 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835454 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "elbek-develops/Tarteeb.MVC",
"max_stars_repo_path": "Tarteeb.MVC/Views/Task/Create.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:154674"
} | starcoder | @model Tarteeb.MVC.Models.TaskViewModel
@if (ViewData["Title"].ToString() == "Create")
{
<h2>Create</h2>
}
else
{
<h2>Update</h2>
}
<hr />
<div class="row">
<div class="col-md-4">
@if (ViewData["Title"].ToString() == "Create")
{
<form asp-action="Create">
<div a... | 2.206574 | aa0d3253f27877a9f02175e8d5094d1a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835455 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "iruis/SmiToSrt",
"max_stars_repo_path": "Section.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154675"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace SmiToSrt
{
public enum Section
{
NONE,
INDEX,
TIME,
TEXT,
}
}
| 1.500932 | 6367d60769097151ae22d2bf2abc3ed3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835456 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "igoreksiz/NetOffice",
"max_stars_repo_path": "Source/Excel/Interfaces/IChartGroup.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154676"
} | starcoder | <filename>Source/Excel/Interfaces/IChartGroup.cs
using System;
using NetRuntimeSystem = System;
using System.ComponentModel;
using NetOffice.Attributes;
namespace NetOffice.ExcelApi
{
/// <summary>
/// Interface IChartGroup
/// SupportByVersion Excel, 9,10,11,12,14,15,16
/// </summary>
[SupportBy... | 1.333494 | 8a8edb31ddd138a79507a10801ef0efc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835457 | {
"extension": "c-sharp",
"max_stars_count": "60.0",
"max_stars_repo_name": "cohero/IdParser",
"max_stars_repo_path": "IdParser/Parsers/Id/DocumentDiscriminatorParser.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154677"
} | starcoder | using IdParser.Attributes;
namespace IdParser.Parsers.Id
{
[Parser("DCF")]
public class DocumentDiscriminatorParser : AbstractParser
{
public DocumentDiscriminatorParser(IdentificationCard idCard, Version version, Country country) : base(idCard, version, country)
{
}
publi... | 2.415656 | 61dfad66b92fcdff8097d6017f5fccf9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835458 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "hisa-lab/Cube.Pdf",
"max_stars_repo_path": "Applications/Converter/Main/Sources/Models/DocumentName.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154678"
} | starcoder | /* ------------------------------------------------------------------------- */
//
// Copyright (c) 2010 CubeSoft, Inc.
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as published
// by the Free Software Foundation, either versi... | 2.536314 | c5610eff6c4138455e6f6b64d1d5c2ce |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835459 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "akabekobeko/Owl",
"max_stars_repo_path": "src/Owl/Asf/Objects/HeaderObject.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154679"
} | starcoder | <filename>src/Owl/Asf/Objects/HeaderObject.cs
using System;
using System.IO;
using System.Collections.Generic;
namespace Owl.Asf.Objects
{
/// <summary>
/// ASF の Header Object を表します。
/// </summary>
sealed class HeaderObject
{
/// <summary>
/// インスタンスを初期化します。
/// </summary>
/// <param name=... | 3.031345 | d205f99e959b161f9e1e85ce6bd0399a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835460 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "GillCleeren/GitTrends",
"max_stars_repo_path": "GitTrends.UITests/Models/Repository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154680"
} | starcoder | <reponame>GillCleeren/GitTrends<filename>GitTrends.UITests/Models/Repository.cs
using GitTrends.Shared;
namespace GitTrends.UITests
{
public class Repository : IRepository
{
public string OwnerLogin { get; set; } = string.Empty;
public int StarCount { get; set; }
public int IssuesCou... | 1.872051 | 36b28fa5199351b479c26c7b983432c3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835461 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ztittle/Subspace",
"max_stars_repo_path": "src/Subspace.Rtp/Rtcp/RtcpSourceDescriptionPacket.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154681"
} | starcoder | using System.Collections.Generic;
using System.Linq;
namespace Subspace.Rtp.Rtcp
{
/// <summary>
/// The SDES packet is a three-level structure composed of a header and
/// zero or more chunks, each of which is composed of items describing
/// the source identified in that chunk.
///
/// http... | 2.787086 | 74962f775f8b6de80623687fdbfdeed5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835462 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "kiapanahi/famous-design-patterns",
"max_stars_repo_path": "Spark/Art.Web/Areas/Auth/Models/LoginModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154682"
} | starcoder | <filename>Spark/Art.Web/Areas/Auth/Models/LoginModel.cs<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
using System.Web.Security;
namespace Art.Web.Areas.Auth.Models
{
public class LoginModel
{
[Display(Na... | 2.615307 | dbee12161fc83bb175e2b536c0d80a5a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835463 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "robinwils/evtc",
"max_stars_repo_path": "RotationComparison/GW2Api/IApiDataSource.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154683"
} | starcoder | <gh_stars>0
using System.Threading.Tasks;
using GW2Scratch.EVTCAnalytics;
using GW2Scratch.EVTCAnalytics.Statistics;
namespace GW2Scratch.RotationComparison.GW2Api
{
public interface IApiDataSource
{
Task<GW2ApiData> GetApiDataAsync();
}
} | 0.859346 | 74c592c42a6ebbacb119d229f300189a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835464 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "XueYuSky/sky-SerialAssistant",
"max_stars_repo_path": "02_C#/LeafControl/Units/TabDataReceive.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154684"
} | starcoder | <gh_stars>1-10
namespace LeafSoft.Units
{
partial class TabDataReceive
{
/// <summary>
/// 必需的设计器变量。
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// 清理所有正在使用的资源。
/// </summary>
/// <param name="dispo... | 1.893319 | f9b014bf18c262d04936f8ae0305779c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835465 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "cschen1205/myob-accounting-plugin",
"max_stars_repo_path": "NPOI/main/HSSF/Record/TextObjectRecord.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154685"
} | 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 Y... | 1.979395 | 8c39ccbc1a70afa7a6de303ab56d9984 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835466 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "alexparvanov/TelerikAcademyAlpha",
"max_stars_repo_path": "OOP/OOP_Teamwork/AutoService/AutoService.Models/BusinessProcess/Models/OrderStockForClient.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154686"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using AutoService.Models.BusinessProcess.Contracts;
using AutoService.Models.BusinessProcess.Enums;
using AutoService.Models.Contracts;
namespace AutoService.Models.BusinessProcess.Models
{
class Or... | 2.110145 | 639129bee902d004a6c86d601bd04737 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835467 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "ffMathy/ngrok-api-dotnet",
"max_stars_repo_path": "NgrokApi/Datatypes/EndpointRequestHeaders.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154687"
} | starcoder |
using System;
using System.Runtime;
using System.Collections.Generic;
using Newtonsoft.Json;
namespace NgrokApi
{
public class EndpointRequestHeaders
{
// <summary>
// <c>true</c> if the module will be applied to traffic, <c>false</c> to disable.
// default <c>true</c> if unspecified
... | 2.442427 | ea07d99bd9cdba5b3a3fd1408b0c1f1b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835468 | {
"extension": "c-sharp",
"max_stars_count": "1133.0",
"max_stars_repo_name": "iospectar/realm-dotnet",
"max_stars_repo_path": "Realm/Realm/Linq/RealmResults.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154688"
} | starcoder | <gh_stars>1000+
////////////////////////////////////////////////////////////////////////////
//
// Copyright 2016 Realm Inc.
//
// 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://w... | 2.315556 | 006f69ee21ddafff3d41124710a643b3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835469 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "nice-digital/timelines",
"max_stars_repo_path": "NICE.Timelines/NICE.Timelines.Test/Infrastructure/TestBase.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154689"
} | starcoder | using System;
using System.Net.Http;
using System.Reflection;
using Autofac;
using Autofac.Extensions.DependencyInjection;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using NICE.Timelines.Configuration;
using NICE.Timelines.DB.Models;
... | 2.084543 | 1869021db93091012864fa6fcfef3aef |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835470 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "Shkyrockett/engine",
"max_stars_repo_path": "Engine.Experimental/Geometry/Clipping/Martinez/MartinezPolygonClipper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154690"
} | starcoder | <filename>Engine.Experimental/Geometry/Clipping/Martinez/MartinezPolygonClipper.cs
// <copyright file="SegmentComparators.cs" >
// Copyright © 2012 <NAME>. All rights reserved.
// </copyright>
// <author id="<EMAIL>"><NAME></author>
// <license>
// This code is public domain.
// </license>
// <summary></summar... | 2.751424 | abe8d7856b1714d8d0054416da33857c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835471 | {
"extension": "c-sharp",
"max_stars_count": "221.0",
"max_stars_repo_name": "LordXaosa/json-everything",
"max_stars_repo_path": "JsonLogic.Tests/MoreThanTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154691"
} | starcoder | <filename>JsonLogic.Tests/MoreThanTests.cs
using System.Text.Json;
using Json.Logic.Rules;
using Json.More;
using NUnit.Framework;
namespace Json.Logic.Tests
{
public class MoreThanTests
{
[Test]
public void MoreThanTwoNumbersReturnsTrue()
{
var rule = new MoreThanRule(2, 1);
JsonAssert.IsTrue(rule.Appl... | 2.369699 | dccf2ef7aec4d971915454a6f90f0d8d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835472 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Floydan/discord-pickup-bot",
"max_stars_repo_path": "PickupBot.Data/Infrastructure/Extensions/TableQueryExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154692"
} | starcoder | using Microsoft.Azure.Cosmos.Table;
namespace PickupBot.Data.Infrastructure.Extensions
{
public static class TableQueryExtensions
{
public static TableQuery<TElement> AndWhere<TElement>(this TableQuery<TElement> query, string filter)
{
query.FilterString = string.IsNullOrEmpty(quer... | 2.526938 | 281f81f34fbe58f203515c779e1853cd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835473 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "Flash0ver/F0.Analyzers",
"max_stars_repo_path": "source/test/F0.Analyzers.Tests/Diagnostics/DebugAssertException.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154693"
} | starcoder | #if DEBUG && NETFRAMEWORK
namespace F0.Tests.Diagnostics
{
internal sealed class DebugAssertException : Exception
{
public DebugAssertException(string? message)
: base(message)
{
}
}
}
#endif
| 1.566967 | bad057c12760cc2b54d4aa53af01dc1b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835474 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "balanikas/CacheVisualization",
"max_stars_repo_path": "WatchMode.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154694"
} | starcoder | namespace CacheVisualization
{
public enum WatchMode
{
All,
Specific
}
} | 1.451341 | 9eb655b2301a6c7ec45871e45556bc6d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835475 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "UnGaucho/StarDrive",
"max_stars_repo_path": "SynapseGaming-SunBurn-Pro/ns4/Attribute7.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154695"
} | starcoder | // Decompiled with JetBrains decompiler
// Type: ns4.Attribute7
// Assembly: SynapseGaming-SunBurn-Pro, Version=1.3.2.8, Culture=neutral, PublicKeyToken=<KEY>
// MVID: A5F03349-72AC-4BAA-AEEE-9AB9B77E0A39
// Assembly location: C:\Projects\BlackBox\StarDrive\SynapseGaming-SunBurn-Pro.dll
using System;
namespa... | 1.726444 | e61d0310e06a1e56f294aa58298c01fb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835476 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "business-sims-toolkit/business-sims-toolkit",
"max_stars_repo_path": "dev/products/eboards/cloud/Cloud/Cloud.OpsEngine/OpExMonitor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154696"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Text;
using LibCore;
using CoreUtils;
using Network;
namespace Cloud.OpsEngine
{
public class OpExMonitor : IDisposable
{
NodeTree model;
Node time;
Node turnoverNode;
Node roundVariablesNode;
Biller biller;
public OpExMonitor (... | 1.953964 | 3fa7a522684229488cab8d0264b52f15 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835477 | {
"extension": "c-sharp",
"max_stars_count": "33.0",
"max_stars_repo_name": "spmeesseman/MIIS",
"max_stars_repo_path": "src/Extensions/ParamSources/FilesEnumeratorParam/FolderTreeCacheDependency.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154697"
} | starcoder | <reponame>spmeesseman/MIIS
using System;
using System.IO;
using System.Linq;
using System.Web.Caching;
namespace MIISFilesEnumeratorFMS
{
/// <summary>
/// Class that uses a FileSystemWatcher to create a dependency on folders and subfolders
/// It will invalidate the cache only for .md or .mdh fi... | 3.026033 | 2798ff3a4a207ee826875532265f3d17 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835478 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rzikm/NextGenSpice",
"max_stars_repo_path": "src/NextGenSpice.Parser/Statements/ModelStatementProcessor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154698"
} | starcoder | <reponame>rzikm/NextGenSpice
using System.Collections.Generic;
using System.Linq;
using NextGenSpice.Parser.Statements.Models;
using NextGenSpice.Parser.Utils;
namespace NextGenSpice.Parser.Statements
{
/// <summary>Class responsible for processing .MODEL statements.</summary>
internal class ModelStatementProcessor ... | 2.494536 | 8ee9e8d4037fc4f54ae4d9c0eb2038ec |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835479 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "SeedV/SeedLang",
"max_stars_repo_path": "csharp/src/SeedLang/Common/Diagnostic.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154699"
} | starcoder | <filename>csharp/src/SeedLang/Common/Diagnostic.cs
// Copyright 2021-2022 The SeedV Lab.
//
// 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... | 2.149514 | 91617662381e8579bdfc511f02df4f55 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835480 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "GAlex7/TA",
"max_stars_repo_path": "03. CSharpOOP/06. Common Type System/PersonCheck/Person.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154700"
} | starcoder | <filename>03. CSharpOOP/06. Common Type System/PersonCheck/Person.cs
namespace PersonCheck
{
using System;
public class Person
{
private string name;
private uint? age;
public Person(string name, uint? age = null)
{
this.Name = name;
this.Age = age;... | 3.837018 | ad69c0008d47ff464a8573f7bb45fc16 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835481 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SpiderDevs/Spider",
"max_stars_repo_path": "Spider .NET Core/src/Core/BusinessLogic/Spider.BusinessLogic.Interfaces/Helpers/IPasswordHashProvider.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154701"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Spider.BusinessLogic.Interfaces
{
public interface IPasswordHashProvider
{
/// <summary>
/// Hash pasword and return result with the salt
/// </summary>
/// <p... | 2.232282 | e3ed5215e103cc2444b8927f01931bcd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835482 | {
"extension": "c-sharp",
"max_stars_count": "136.0",
"max_stars_repo_name": "MrLuje/Paket.VisualStudio",
"max_stars_repo_path": "src/Paket.VisualStudio/Utils/Config.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154702"
} | starcoder | <gh_stars>100-1000
using System;
using System.IO;
namespace Paket.VisualStudio.Utils
{
public static class Config
{
public static string GetPaketConfigPath()
{
const string PAKET_FOLDER = "paket";
const string PAKET_CONFIG_FILE = "paket.config";
var roamingF... | 2.254079 | 58dc2f620315994c63ed93b1407cf1b3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835483 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "davidnajar/logR",
"max_stars_repo_path": "src/Server/Startup.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154703"
} | starcoder | <reponame>davidnajar/logR
using logR.Server.Extensions;
using logR.Server.Hubs;
using logR.Server.Services;
using logR.Server.Services.Gateways.UDP;
using logR.Server.Services.Interfaces;
using logR.Shared.Gateways.Files;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.As... | 1.574257 | e2755cc94f15434db307a30d71aa1e3c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835484 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "ncomben/CacheMeIfYouCan",
"max_stars_repo_path": "src/CacheMeIfYouCan/Internal/InterfaceMethodsResolver.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154704"
} | starcoder | using System;
using System.Linq;
using System.Reflection;
namespace CacheMeIfYouCan.Internal
{
internal static class InterfaceMethodsResolver
{
public static MethodInfo[] GetAllMethods(Type interfaceType)
{
return GetAllMethodsUnordered(interfaceType)
.OrderBy(Metho... | 3.072252 | 764e27d6c5797acb93c828e0411ce506 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835485 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "EndL11/brackeys-game-jam-2020.2",
"max_stars_repo_path": "Assets/Scripts/BulletMovement.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154705"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class BulletMovement : MonoBehaviour
{
public float _damage = 15f;
private void Start()
{
Destroy(gameObject, 5f);
}
private void Update()
{
transform.Translate(Vector2.right * 15f * Tim... | 2.39096 | 6d8b037ee89bc771e8f2abbef1371aa2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835486 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "theXappy/ExtcapNet",
"max_stars_repo_path": "ExtcapNet/PacketPublish/ExtendedPcapngPublisher.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154706"
} | starcoder | using System;
using System.Collections.Generic;
using System.IO;
using Haukcode.PcapngUtils.Common;
using Haukcode.PcapngUtils.PcapNG;
using Haukcode.PcapngUtils.PcapNG.BlockTypes;
using Haukcode.PcapngUtils.PcapNG.CommonTypes;
using Haukcode.PcapngUtils.PcapNG.OptionTypes;
namespace ExtcapNet.PacketPublish
{
cla... | 2.65511 | e4594e6e1554131dfc1f7edb97b4c3a6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835487 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "science-docs/Scriber",
"max_stars_repo_path": "Scriber/Engine/Commands/Templating.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154707"
} | starcoder | using Scriber.Language;
using Scriber.Language.Syntax;
using Scriber.Util;
using System;
namespace Scriber.Engine.Commands
{
[Package]
public static class Templating
{
[Command("DefineTemplate")]
public static void DefineTemplate(CompilerState state, DynamicDictionary? defaults = null, Dyn... | 2.420253 | 9e08e3a6e535211cc9a03caede374846 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835488 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Psigio/JsonToCSharpConverter",
"max_stars_repo_path": "JsonToCSharpConverter.Tests/MainWindowViewModelTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154708"
} | starcoder | <gh_stars>0
using Avalonia.Input.Platform;
using JsonToCSharpConverter.Abstracts;
using JsonToCSharpConverter.ViewModels;
using Moq;
using System;
using Xunit;
namespace JsonToCSharpConverter.Tests
{
public class MainWindowViewModelTests
{
private Mock<ICSharpConverter> _mockCSharpConvert;
priv... | 2.197057 | 2913a8842e6b6be85cf68907bec05b3c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835489 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "abelzis/Idle-Balls",
"max_stars_repo_path": "Assets/Scripts/GameManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154709"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class GameManager : MonoBehaviour
{
public double moneyAmount;
public Text moneyAmountText;
//public BallStats ballLevel1;
//public PanelAnimation upgradePanel;
// Start is called before ... | 2.196829 | 6e0cf54cd15a942da440ea6128940ed9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835490 | {
"extension": "c-sharp",
"max_stars_count": "39.0",
"max_stars_repo_name": "henrikfroehling/Trakt.NET",
"max_stars_repo_path": "Source/Tests/Trakt.NET.Requests.Tests/Syncs/OAuth/SyncWatchedHistoryAddRequest_Tests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154710"
} | starcoder | namespace TraktNet.Requests.Tests.Syncs.OAuth
{
using FluentAssertions;
using Trakt.NET.Tests.Utility.Traits;
using TraktNet.Requests.Syncs.OAuth;
using Xunit;
[Category("Requests.Syncs.OAuth")]
public class SyncWatchedHistoryAddRequest_Tests
{
[Fact]
public void Test_SyncW... | 1.93663 | 795ca80c5b661b900a99ec9f00ef74dd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835491 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "duyxaoke/DEV",
"max_stars_repo_path": "src/Equinox.Infra.Data/Repository/ConfigRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154711"
} | starcoder | using System.Linq;
using Equinox.Domain.Interfaces;
using Equinox.Domain.Models;
using Equinox.Infra.Data.Context;
using Microsoft.EntityFrameworkCore;
namespace Equinox.Infra.Data.Repository
{
public class ConfigRepository : Repository<Config>, IConfigRepository
{
public ConfigRepository(EquinoxConte... | 2.012471 | 2b8aa073ed5c992fe1840a2ab8f3db8b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835492 | {
"extension": "c-sharp",
"max_stars_count": "36.0",
"max_stars_repo_name": "mcneel/irislib",
"max_stars_repo_path": "src/THREE/Textures/Image.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154712"
} | starcoder | <gh_stars>10-100
using Newtonsoft.Json;
using System;
using System.Collections.ObjectModel;
using System.IO;
using System.Linq;
namespace THREE.Textures
{
public class Image: IEquatable<Image>
{
/// <summary>
/// Object Id.
/// </summary>
public Guid Uuid { get; set; }
... | 3.085578 | 7b519d1330e7459f9bac4b647a0f4c9c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835493 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TanHaoran/NurseService1.0",
"max_stars_repo_path": "Persistence/CertificateverifySqlMapDao.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154713"
} | starcoder | /***************************************************************************
*
* 功能: 持久层基类
* 作者: YanMing
* 日期: 2017/7/28 12:00:47
*
* 修改日期:
* 修改人:
* 修改内容:
*
* *************************************************************************/
using System;
using Sys... | 2.240748 | 05912eddd5808c476934745c93e3e4f2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835494 | {
"extension": "c-sharp",
"max_stars_count": "1078.0",
"max_stars_repo_name": "dsharov/code-cracker",
"max_stars_repo_path": "test/CSharp/CodeCracker.Test/Style/TernaryOperatorTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154714"
} | starcoder | <gh_stars>1000+
using CodeCracker.CSharp.Style;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.Testing;
using System.Threading.Tasks;
using Xunit;
namespace CodeCracker.Test.CSharp.Style
{
public class TernaryOperatorWithAssignmentTests : CodeFixVerifier<TernaryOperatorAnalyzer, TernaryOperatorWithAss... | 2.370547 | 1d420967281759e6456c02ba3636982b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835495 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "onuraytuglu/StaffApplication",
"max_stars_repo_path": "PersonelProject.ToDo.DataAccess/Migrations/20201224230115_AppUserWtihRelationShipMission.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154715"
} | starcoder | <gh_stars>0
using Microsoft.EntityFrameworkCore.Migrations;
namespace PersonelProject.ToDo.DataAccess.Migrations
{
public partial class AppUserWtihRelationShipMission : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropPrimaryKey(
... | 1.499741 | 9be4b9f8f17fb781b92fc3f3bb47166a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835496 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "KevenyLima/agenda",
"max_stars_repo_path": "agenda/agenda/Form1.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154716"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.IO;
namespace agenda
{
public partial class Form1 : Form
{
public Form1()
{
Initializ... | 2.273736 | 7891b069214faa32cae3795c6fa9ca0d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835497 | {
"extension": "c-sharp",
"max_stars_count": "573.0",
"max_stars_repo_name": "hmobius/Simple.Data",
"max_stars_repo_path": "Simple.Data/SkipClause.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154717"
} | starcoder | namespace Simple.Data
{
/// <summary>
/// Represents a number of records to skip in the results returned by a <see cref="SimpleQuery"/>.
/// There will be at most one instance of this type in <see cref="SimpleQuery.Clauses"/>.
/// </summary>
public class SkipClause : SimpleQueryClauseBase
... | 2.82824 | 53480e59866192197b6868cc24a0667d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835498 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "dongdapeng110/SharpDevelopTest",
"max_stars_repo_path": "src/Main/Core/Project/Src/AddInTree/AddIn/DefaultConditionEvaluators/LazyConditionEvaluator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154718"
} | starcoder | // Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
using System;
namespace ICSharpCode.Core
{
/// <summary>
/// Condition evaluator that lazy-loads another condition evaluato... | 2.320604 | 6afc57b1a228176bdd4fea5e1d811ca9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835499 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "twenty0ne/unity-x",
"max_stars_repo_path": "client/Assets/Test/TestPageView/TestPageViewItem.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154719"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class TestPageViewItem : UIPanel
{
// NOTE:
// 不要直接引用 TestListView, 记住 UIPanel 是可能在多个地方使用
public System.Action<TestPageViewItem> onItemClick = null;
// public Item
private void Awake()
{
// Debug.Log("xx-- item awake");
}... | 2.178826 | 73ed65f2f605064b09856cef5b955ff2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835500 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tlpackus/SongTracker.Solution",
"max_stars_repo_path": "SongTracker/Models/SongTrackerContext.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154720"
} | starcoder | <filename>SongTracker/Models/SongTrackerContext.cs
using Microsoft.EntityFrameworkCore;
namespace SongTracker.Models
{
public class SongTrackerContext : DbContext
{
public virtual DbSet<Song> Songs { get; set; }
public DbSet<Instrument> Instruments{ get; set; }
public DbSet<InstrumentSong> InstrumentSo... | 2.392903 | bbe5e054b0c2fdad1d1cd65f61559e6a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835501 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "Genocs/clean-architecture-template",
"max_stars_repo_path": "src/template/src/Genocs.MicroserviceLight.Template.WebApi/Extensions/ApplicationExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154721"
} | starcoder | <gh_stars>1-10
namespace Genocs.MicroserviceLight.Template.WebApi.Extensions
{
using Microsoft.Extensions.DependencyInjection;
public static class ApplicationExtensions
{
public static IServiceCollection AddUseCases(this IServiceCollection services)
{
services.AddScoped<Applica... | 1.688088 | dc514655ce6536d09c6bd25c7ed52785 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835502 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "EsriJapan/maps-app-gislight",
"max_stars_repo_path": "GISLight10/EngineCommand/SaveLayer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154722"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ESRI.ArcGIS.Carto;
using ESRI.ArcGIS.Geodatabase;
using System.IO;
using ESRIJapan.GISLight10.Ui;
using System.Windows.Forms;
using System.Runtime.InteropServices;
using ESRIJapan.GISLight10.Common;
using ESRI.ArcGIS.Controls;
... | 2.129939 | b6cf5bb345c27f3599151d43a1a402c8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835503 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Cupham/BLEPersonalHealthGateway",
"max_stars_repo_path": "Assets/Sences/CharateristicItem.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154723"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class CharateristicItem : MonoBehaviour
{
//static public bool is_busy_global = false;
public Text TEXT1;
public Text TEXT2;
public Text TEXT_BUTTON;
public string address; public s... | 2.009657 | 44d92ec6183ec3171c90c9bc4dbff450 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835504 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "beirinha/Beirinha.DesignPatterns",
"max_stars_repo_path": "Beirinha.DesignPatterns.Behavioral/Command/ServerCommand.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154724"
} | starcoder | namespace Beirinha.DesignPatterns.Behavioral.Command
{
public class ServerCommand : CommandAbstract
{
private Server _server;
public ServerCommand(Server server)
{
this._server = server;
}
public override void Execute()
{
_server.Validat... | 2.300524 | 6180123e6a8b3cb94277954c3e0bb264 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835505 | {
"extension": "c-sharp",
"max_stars_count": "35.0",
"max_stars_repo_name": "ssteiner/LinqToLdap",
"max_stars_repo_path": "LinqToLdap/QueryCommands/QueryCommandType.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154725"
} | starcoder | namespace LinqToLdap.QueryCommands
{
/// <summary>
/// Indicates the type of command to create.
/// </summary>
public enum QueryCommandType
{
/// <summary>
/// Represents a standard command
/// </summary>
StandardCommand = 0,
/// <summary>
/// Any co... | 2.627192 | f9585f61114b1c604d1449c5766464e3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835506 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "gideonkorir/Msape-sql",
"max_stars_repo_path": "src/BookKeeping/Msape.BookKeeping.Api/Controllers/TransactionQueryController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154726"
} | starcoder | <filename>src/BookKeeping/Msape.BookKeeping.Api/Controllers/TransactionQueryController.cs
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using Msape.BookKeeping.Api.Models;
using Msape.BookKeeping.Data.EF;
using System;
using System.Threading.Tasks;
namespace Msape.BookKeeping.Api.Control... | 2.439908 | 1799cb9b6502d826788e5340c5eb0490 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835507 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "alexfordc/Au",
"max_stars_repo_path": "_Au.Editor/Edit/CodeInfo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154727"
} | starcoder | <filename>_Au.Editor/Edit/CodeInfo.cs<gh_stars>1-10
//#define NO_COMPL_CORR_SIGN
using System;
using System.Collections.Generic;
using System.Text;
using System.Diagnostics;
using System.Runtime.InteropServices;
using System.Runtime.CompilerServices;
using System.IO;
using System.Threading;
using System.Threading.Task... | 1.548429 | 5039a5ad344fb9a22ddb4cb2d85e02c6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835508 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "profK/powerui",
"max_stars_repo_path": "Assets/PowerUI/Source/File Protocols/Bundles/BundleProtocol.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154728"
} | starcoder | using System;
using Css;
using Dom;
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
namespace PowerUI{
/// <summary>
/// Used when an asset bundle is ready.
/// </summary>
public delegate void BundleReadyEvent(AssetBundle bundle);
/// <summary>
/// This protoco... | 2.756716 | adcbb36af7c82c51c7402626e23f1d77 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835509 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Terricide/Theraot",
"max_stars_repo_path": "Framework.Core/Theraot/Threading/Needles/IPromise.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154729"
} | starcoder | // Needed for NET40
using System.Runtime.CompilerServices;
namespace Theraot.Threading.Needles
{
public interface IPromise
{
bool IsCompleted { get; }
}
public interface IPromise<out T> : IPromise, IReadOnlyNeedle<T>
{
// Empty
}
public interface IWaitablePromise : IProm... | 1.96769 | a71fdd09238f539bd0c640ba5041c554 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835510 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "BitTacklr/CloudQueueBus",
"max_stars_repo_path": "src/CloudQueueBus/CloudQueueMessageEnvelopeJsonWriter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154730"
} | starcoder | using System;
using Newtonsoft.Json;
namespace CloudQueueBus
{
public class CloudQueueMessageEnvelopeJsonWriter : ICloudQueueMessageEnvelopeJsonWriter
{
public void Write(IConfigureCloudQueueMessageEnvelope envelope, JsonWriter writer)
{
if (envelope == null) throw new ArgumentNullE... | 2.222286 | 489ccd9d26945064eccde92116e48171 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835511 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pSharpX/customer360-api",
"max_stars_repo_path": "src/Gildemeister.Cliente360.Application/Interfaces/IClienteService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154731"
} | starcoder | using Gildemeister.Cliente360.Common;
using Gildemeister.Cliente360.Infrastructure;
using Gildemeister.Cliente360.Transport;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace Gildemeister.Cliente360.Application
{
public interface IClienteService : IServiceB... | 1.705388 | 31ba79039ab8ba4ad1e0e0801b809d44 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.