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 | 8816418 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Victhor94/loggencsg",
"max_stars_repo_path": "vendors/gapi/Src/google-api-dotnet-client.contrib/20111005-1.0.0/Generated/Source/Google.Apis.SiteVerification.v1.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135638"
} | starcoder | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:2.0.50727.4961
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>... | 1.778584 | 9cb2bf331a2f2a91247df8b3da7aadea |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816419 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "a-downing/uMod.Rust",
"max_stars_repo_path": "src/Libraries/Player.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135639"
} | starcoder | <filename>src/Libraries/Player.cs<gh_stars>0
using Oxide.Core;
using Oxide.Core.Libraries;
using Oxide.Core.Libraries.Covalence;
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Text.RegularExpressions;
using UnityEngine;
namespace Oxide.Game.Rust.Libraries
{
public class P... | 2.280345 | a9438fc1d07eaa4dda16fcf0936debf2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816420 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "GONBEEEproject/Beat_Knuckle",
"max_stars_repo_path": "Assets/My_Assets/Scripts/Note/Punch_Reciever.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135640"
} | starcoder | <gh_stars>1-10
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Punch_Reciever : MonoBehaviour
{
private void OnTriggerEnter(Collider other)
{
//ノーツ側から手に入場したかを確認する
if (other.CompareTag(StatusHolder.Instance.HandTag))
{
transform.ro... | 1.886299 | 5af0f5b95d05e9be156fc7d65ecdbac9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816421 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pavelhristov/ASP.NETWebForms",
"max_stars_repo_path": "IntroductionToASP.NET/WebForms/BusinessLogic/CalculatorLogic.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135641"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace WebForms.BusinessLogic
{
public class CalculatorLogic
{
public double Sum(double number1, double number2)
{
return number1 + number2;
}
}
} | 1.918677 | 34f26ad5e498b67883120d2f9da8a5d3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816422 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "greghoover/gluon",
"max_stars_repo_path": "hase/hase.AppServices.FileSystemReader/Contract/IFileSystemReader.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135642"
} | starcoder | using hase.DevLib.Framework.Contract;
using System.Collections.Generic;
namespace hase.AppServices.FileSystemReader.Contract
{
public interface IFileSystemReader : IServiceClient<FileSystemReaderRequest, FileSystemReaderResponse>
{
Dictionary<string, string> GetFolderContents(string folderPath, FileSystemReaderTy... | 1.771756 | 60b325475c14da8611d20dbb09bba724 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816423 | {
"extension": "c-sharp",
"max_stars_count": "2208.0",
"max_stars_repo_name": "ManuelKugelmann/mongo-csharp-driver",
"max_stars_repo_path": "tests/MongoDB.Driver.Legacy.Tests/MongoServerTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135643"
} | starcoder | <reponame>ManuelKugelmann/mongo-csharp-driver
/* Copyright 2010-present MongoDB 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 ... | 1.773753 | 62c675858d5b311e75e9183987253955 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816424 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "David-B-Read/training-provider-test-data",
"max_stars_repo_path": "src/TrainingProviderTestData.Web/Models/IFormFile.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135644"
} | starcoder |
namespace TrainingProviderTestData.Web.Models
{
using Microsoft.AspNetCore.Http;
using System.IO;
using System.Threading;
using System.Threading.Tasks;
public interface IFormFile
{
string ContentType { get; }
string ContentDisposition { get; }
IHeaderDictionary Headers... | 1.989341 | 480f2f8f1ba11fc15ead3de1f51500eb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816425 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "plambet0/PlayTennis",
"max_stars_repo_path": "Services/PlayTennis.Services.Data/IPlayersService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135645"
} | starcoder | <reponame>plambet0/PlayTennis
namespace PlayTennis.Services.Data
{
using System.Collections.Generic;
using System.Threading.Tasks;
using PlayTennis.Web.ViewModels.Club;
using PlayTennis.Web.ViewModels.Player;
public interface IPlayersService
{
Task CreateAsync(PlayerInputModel input, ... | 1.677973 | 1c5bc23f692b6b755ab010295a6bc7ef |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816426 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "pgermishuys/EventStore.Client",
"max_stars_repo_path": "src/EventStore.Client/Messages/Result.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135646"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace EventStore.Client.Messages
{
public class Result
{
}
}
| 0.880799 | 8e214984efae38fa29a6e0dc4169d5f5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816427 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mgaci/MyExpressiveAvatar",
"max_stars_repo_path": "Assets/Faceshift/Base/Scripts/Utils/NetworkConnection.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135647"
} | starcoder | /**
* Copyright 2012-2015 faceshift AG. All rights reserved.
*
* Script co-written by @David_Hodgetts -- http://www.demainlalune.ch/
* and @raphael_munoz -- http://www.aprobado.ch/
*/
using UnityEngine;
using System;
using System.Collections;
using System.Threading;
using System.Net;
using System.Net.Sockets;... | 2.597944 | b189a62e3c052b69d0cf929509351957 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816428 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ms-iotkithol-jp/environment-sensing-hands-on",
"max_stars_repo_path": "device/EdgeSolution/modules/BarometerSensing/EG/IoT/EnvironmentSensing/EnvironmentSensingDeviceClient.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135648"
} | starcoder | <filename>device/EdgeSolution/modules/BarometerSensing/EG/IoT/EnvironmentSensing/EnvironmentSensingDeviceClient.cs
using Microsoft.Azure.Devices.Client;
using System;
using System.Collections.Generic;
using System.Text;
using EG.IoT.Grove;
using System.Threading.Tasks;
using Microsoft.Azure.Devices.Shared;
using Syste... | 2.161364 | 3cbdb2dc7ca2f750b5d110a3521b866c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816429 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mvmijares/PublicDungeonsAndWagons",
"max_stars_repo_path": "Dungeons and Wagons/Assets/Scripts/Town/SpeechBubble.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135649"
} | starcoder | <gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using TMPro;
using Entity;
using Entity.AI;
/// <summary>
/// Class handles speech bubble functionality
/// </summary>
///
public class SpeechBubble : MonoBehaviour {
#region Data
public Entity.NPC... | 2.112691 | e5c792a14a273f52cc742eab0c2accb8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816430 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Nexowned/Freud2.0",
"max_stars_repo_path": "Freud/Extensions/Discord/InteractivityExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135650"
} | starcoder | <reponame>Nexowned/Freud2.0<gh_stars>0
#region USING_DIRECTIVES
using DSharpPlus.CommandsNext;
using DSharpPlus.Entities;
using DSharpPlus.Interactivity;
using Freud.Common.Converters;
using Freud.Exceptions;
using Microsoft.Extensions.DependencyInjection;
using System;
using System.Threading.Tasks;
#endregion USING... | 2.040068 | 6a8b1950f77c5968ca4361f11fb3c5ea |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816431 | {
"extension": "c-sharp",
"max_stars_count": "100.0",
"max_stars_repo_name": "CollegiumXR/Creature-Creator",
"max_stars_repo_path": "Assets/Creature Creator/Scripts/Runtime/Core/Objects/Attributes/Abilities/Combat.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135651"
} | starcoder | using UnityEngine;
namespace DanielLochner.Assets.CreatureCreator
{
[CreateAssetMenu(fileName = "New Combat Ability", menuName = "Creature Creator/Attribute/Ability/Combat", order = 0)]
public class Combat : Ability
{
}
} | 1.446719 | 8a8edb6194c3769f4ef5464e305ad87a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816432 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "BCECHS-Coding-Club/fruit-pong",
"max_stars_repo_path": "Assets/Scripts/com/Gale/Powerups/BananaPowerup.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135652"
} | starcoder | using System;
using System.Linq;
using UnityEngine;
namespace com.Gale.Powerups
{
[RequireComponent(typeof(Rigidbody2D))]
[RequireComponent(typeof(Collider2D))]
public class BananaPowerup : MonoBehaviour, IPowerup
{
// Used to adjust the movement of the banana.
[SerializeField] private ... | 2.338996 | 879e7c28f9ef33a6efbf4446f21c4a52 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816433 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Venkanna-tr/FoodApp",
"max_stars_repo_path": "src/MessWala.Application/Restaurant/Queries/GetRestaurantsList/GetRestaurantListQuery.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135653"
} | starcoder | using MediatR;
using MessWala.Application.Restaurant.Model;
using MessWala.Application.Restaurant.Queries.GetRestaurantsList;
using System;
using System.Collections.Generic;
using System.Text;
namespace MessWala.Application.Restaurant.Queries
{
public class GetRestaurantListQuery : IRequest<RestaurantsListViewMod... | 1.461423 | a471c88168d223935c0d2f2f43289cff |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816434 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "xoofx/system-terminal",
"max_stars_repo_path": "src/core/IO/TerminalHandle.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135654"
} | starcoder | <reponame>xoofx/system-terminal
namespace System.IO;
public abstract class TerminalHandle
{
public abstract Stream Stream { get; }
public abstract bool IsValid { get; }
public abstract bool IsInteractive { get; }
}
| 1.86973 | 11c6322e869b5215f8344dff6e90a78b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816435 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ChrisAkridge/CodeLouJan2018",
"max_stars_repo_path": "ComicBookGallery/ComicBookGallery/Data/ComicBookRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135655"
} | starcoder | <filename>ComicBookGallery/ComicBookGallery/Data/ComicBookRepository.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using ComicBookGallery.Models;
namespace ComicBookGallery.Data
{
public static class ComicBookRepository
{
private static ComicBook[] c... | 2.340583 | d55d9992b74f836e62b23296d4f91901 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816436 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nesfit/Coffee",
"max_stars_repo_path": "Barista.Api/Services/IAccountingGroupsService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135656"
} | starcoder | using System;
using System.Net.Http;
using System.Threading.Tasks;
using Barista.Api.Models.AccountingGroups;
using Barista.Api.Queries;
using Barista.Common.Dto;
using RestEase;
namespace Barista.Api.Services
{
[SerializationMethods(Query = QuerySerializationMethod.Serialized)]
public interface IAccountingGr... | 1.761187 | 57e978827e5d23e0d547ca0276e57cef |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816437 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Mikael-og-Andre/Distributed-Instrument-Cluster",
"max_stars_repo_path": "Distributed_Instrument_Cluster/Video_Demo/HTTPS test.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135657"
} | starcoder | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading.Tasks;
namespace Video_Demo {
class HTTPS_test {
static void Main(string[] args) {
new HTTPS_test();
}
public HTTPS_test() {
}
}
}
| 1.921702 | b0f34701150a6a8cf27f85969199c6e9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816438 | {
"extension": "c-sharp",
"max_stars_count": "38.0",
"max_stars_repo_name": "DotNetAnalyzers/PropertyChangedAnalyzers",
"max_stars_repo_path": "PropertyChangedAnalyzers.Test/INPC001ImplementINotifyPropertyChanged/CodeFix.CS0246.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135658"
} | starcoder | namespace PropertyChangedAnalyzers.Test.INPC001ImplementINotifyPropertyChanged
{
using Gu.Roslyn.Asserts;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using NUnit.Framework;
public static partial class CodeFix
{
public static class CS0246
{
// ... | 2.102071 | f0aa09b3e41e0e0e8bb7289188812b49 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816439 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "bytefish/ApacheJenaSample",
"max_stars_repo_path": "ApacheJenaSample/ApacheJenaSample.Web/Model/VisNode.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135659"
} | starcoder | // Copyright (c) <NAME>. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using Newtonsoft.Json;
namespace ApacheJenaSample.Web.Model
{
public class VisNode
{
[JsonProperty("id")]
public long Id { get; set; }
[... | 1.645302 | 89dbee298ff500b73902e0b09193d02b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816440 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "PopCap/GameIdea",
"max_stars_repo_path": "Engine/Source/Programs/UnrealDocTool/MarkdownMode/Spellchecker/SpellChecker.Implementation/SmartTag/SpellDictionarySmartTagAction.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135660"
} | starcoder | //***************************************************************************
//
// Copyright (c) Microsoft Corporation. All rights reserved.
// This code is licensed under the Visual Studio SDK license terms.
// THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF
// ANY KIND, EITHER EXPRESS OR IMPLIED, INCLU... | 2.646824 | 5a2323a004f1bfb4ae71f7420218750a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816441 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "krowin24/backuptool",
"max_stars_repo_path": "ConoHaNet/Objects/CloudIdentity.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135661"
} | starcoder | namespace ConoHaNet.Objects
{
/// <summary>
/// Represents a set of credentials used for accessing a cloud account. Individual providers
/// may impose restrictions on the values allowed for individual properties.
/// </summary>
/// <threadsafety static="true" instance="false"/>
public class Cl... | 2.830618 | 3c35021f4243e21d97f7e3dfe441deef |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816442 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "megakid/opentelemetry-dotnet",
"max_stars_repo_path": "src/OpenTelemetry.Abstractions/Utils/Collections.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135662"
} | starcoder | // <copyright file="Collections.cs" company="OpenTelemetry Authors">
// Copyright 2018, OpenTelemetry Authors
//
// 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.... | 2.529457 | 638fc09970a1526454a642bcb1be59cc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816443 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "willerhreis/sanandreasmail",
"max_stars_repo_path": "SanAndreasMail/Domain/Models/Order.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135663"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace SanAndreasMail.Domain.Models
{
public class Order
{
public City Origin { get; set; }
public City Destiny { get; set; }
}
}
| 1.643518 | 30096486d8a812a3dcb9f17e6357868b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816444 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MovGP0/Calculator",
"max_stars_repo_path": "Calculator.Messages/Events/Trigonometric/CotEvent.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135664"
} | starcoder | <reponame>MovGP0/Calculator<gh_stars>0
namespace Calculator.Messages.Events
{
public class CotEvent : Event
{
}
} | 0.918694 | 823a46c9022b4205081d0d97a3edcb0c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816445 | {
"extension": "c-sharp",
"max_stars_count": "28.0",
"max_stars_repo_name": "Atvaark/W3SavegameEditor",
"max_stars_repo_path": "W3SavegameEditor.Core/Savegame/VariableValueParser.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135665"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using W3SavegameEditor.Core.Savegame.Attributes;
using W3SavegameEditor.Core.Savegame.Variables;
namespace W3SavegameEditor.Core.Savegame
{
public class VariableValueParser
{
private class VariablePropertyInfo
... | 2.56871 | 4bca8ed4845cddb7ef8c8687cf919e47 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816446 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "palle-mertz-isobar/geta-notfoundhandler",
"max_stars_repo_path": "src/Geta.NotFoundHandler/Data/ISuggestionRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135666"
} | starcoder | using System;
namespace Geta.NotFoundHandler.Data
{
public interface ISuggestionRepository
{
void DeleteAll();
void Delete(int maxErrors, int minimumDaysOld);
void DeleteForRequest(string oldUrl);
void Save(string oldUrl, string referer, DateTime requestedOn);
}
}
| 1.728663 | a2982604fd2091f609cfedeccca09a8a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816447 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pieterdol/snake",
"max_stars_repo_path": "Assets/Scrips/Snake.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135667"
} | starcoder | using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Snake : MonoBehaviour
{
public bool autoPlayEnabled = false;
public Vector3 startPosition;
public SnakeBlock snakeBlockPrefab;
public enum Directions
{
Up,
Down,
Right... | 2.715857 | c7e8f35ef9f98423592cabd9e4becd69 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816448 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "SanielX/Guid-References",
"max_stars_repo_path": "Assets/SaG/GuidReferences/Runtime/SerializableGuid.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135668"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System;
[System.Serializable]
public class SerializableGuid : ISerializationCallbackReceiver
{
public Guid Guid
{
get
{
return guid;
}
}
public SerializableGuid(Guid guid)
{
... | 2.533611 | 58fb9bc01b1301ae1fc7021a686efe24 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816449 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "mpostol/ModelDesignerCompiler",
"max_stars_repo_path": "Core/Stack/Bindings/BufferManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135669"
} | starcoder | /* ========================================================================
* Copyright (c) 2005-2016 The OPC Foundation, Inc. All rights reserved.
*
* OPC Reciprocal Community License ("RCL") Version 1.00
*
* Unless explicitly acquired and licensed from Licensor under another
* license, the contents of thi... | 2.521429 | 338d9d5130f56b08cf9885a669ac3b12 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816450 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "wschnepp/UnityToJSON",
"max_stars_repo_path": "UnityToJSON/Packages/UnityToJSON/Scripts/Editor/UnityJSONExporter/JEComponent.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135670"
} | starcoder | // Copyright (c) 2014-2015, THUNDERBEAST GAMES LLC
// Licensed under the MIT license, see LICENSE for details
using System;
using System.Collections.Generic;
using UnityEngine;
using UnityEditor;
namespace JSONExporter
{
public class JEComponent : JEObject
{
public Component unityComponent;
public JEGameObje... | 2.027729 | a70ad960cd439a0c0a1edbbfaeee51a4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816451 | {
"extension": "c-sharp",
"max_stars_count": "13.0",
"max_stars_repo_name": "JulianWolfgangVonRoete/MATE",
"max_stars_repo_path": "Mate.Production.Core/Agents/HubAgent/Hub.Agent.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135671"
} | starcoder | <reponame>JulianWolfgangVonRoete/MATE<filename>Mate.Production.Core/Agents/HubAgent/Hub.Agent.cs
using Akka.Actor;
using Mate.DataCore.Nominal;
using Mate.Production.Core.Environment;
using Mate.Production.Core.Helper;
using Mate.Production.Core.Helper.DistributionProvider;
namespace Mate.Production.Core.Agents.HubAg... | 1.825648 | cdde1a83ebbc128e3c0db197e565815e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816452 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Alejandroid101/data-structures-and-algorithms-401c",
"max_stars_repo_path": "challenges/LL-Merge/LL-Merge/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135672"
} | starcoder | <gh_stars>0
using System;
namespace LL_Merge
{
class Program
{
static void Main(string[] args)
{
}
}
}
| 1.167518 | a17172a970150bb06fc4dc009b89b4c8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816453 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ProphetLamb-Organistion/Roslynator",
"max_stars_repo_path": "src/Documentation/TypeDocumentationParts.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135673"
} | starcoder | <reponame>ProphetLamb-Organistion/Roslynator
// Copyright (c) <NAME> and Contributors. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
namespace Roslynator.Documentation
{
[Flags]
public enum TypeDocumentationParts
{
None ... | 1.747619 | b50aa2b9e31bad60805bb3b8540b61c5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816454 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "EARodriguezM/TeachersRanking",
"max_stars_repo_path": "DAL/RTeacherMatterRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135674"
} | starcoder | using ENTITY;
using Oracle.ManagedDataAccess.Client;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DAL
{
public class RTeacherMatterRepository
{
#region SingletonPattern
private static RTeacherM... | 2.47096 | 96c467f84530aa4db101a89c4eeb13a2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816455 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "boyunjianri1985/StudyProgramming",
"max_stars_repo_path": "Test23moshi/Test23moshi/Form1.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135675"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Configuration;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Test23moshi
{
public partial class Fo... | 2.444363 | aad229c03053c5276a7399f60a6b5f10 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816456 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sped-mobi/openapi-codegen",
"max_stars_repo_path": "src/Microsoft.OpenApi.CodeGeneration/SupervisorInterface/SupervisorInterfaceScaffolder.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135676"
} | starcoder | // -----------------------------------------------------------------------
// <copyright file="SupervisorInterfaceScaffolder.cs" company="<NAME>">
// Copyright © 2019 <NAME>. All rights reserved.
// </copyright>
// -----------------------------------------------------------------------
namespace Microsoft.OpenApi... | 2.076893 | be1b857c5545970b897cd71ee908dded |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816457 | {
"extension": "c-sharp",
"max_stars_count": "56.0",
"max_stars_repo_name": "mike316mike316/JCSUnity_Framework",
"max_stars_repo_path": "Assets/JCSUnity/Scripts/UI/JCS_FadeScreen.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135677"
} | starcoder | /**
* $File: JCS_FadeScreen.cs $
* $Date: 2017-09-11 05:09:46 $
* $Revision: $
* $Creator: <NAME> $
* $Notice: See LICENSE.txt for modification and distribution information
* Copyright (c) 2017 by Shen, Jen-Chieh $
*/
using UnityEngine;
namespace JCSUnity
{
/// <summary>
/// Default fa... | 2.142353 | 7d7b67e4c88149f0e054a38d9eb8f20b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816458 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "CaptainGinja/GinjaSoft.Text",
"max_stars_repo_path": "tests/StringExtensionsTests/RepeatTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135678"
} | starcoder | <gh_stars>0
namespace GinjaSoft.Text.Tests.StringExtensionsTests
{
using System;
using Xunit;
public class RepeatTests
{
[Fact]
public void Basic()
{
Assert.Equal("foofoofoo", "foo".Repeat(3));
}
[Fact]
public void NullString()
{
Assert.Throws<ArgumentNullException>(()... | 2.636677 | cbde731828e939825c1a5a40a302118d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816459 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "VsIG-official/Study-Projects",
"max_stars_repo_path": "CSharp/ULearn/Mazes/PyramidMazeTask.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135679"
} | starcoder | <reponame>VsIG-official/Study-Projects
namespace Mazes
{
public static class PyramidMazeTask
{
public static void MoveOut(Robot robot, int width, int height)
{
}
}
} | 1.281626 | d750f5c59c2e5acf659e4e6eafd4b84d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816460 | {
"extension": "c-sharp",
"max_stars_count": "63.0",
"max_stars_repo_name": "U3DC/Live-Portrait-Maker",
"max_stars_repo_path": "Scripts/NotesUI.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135680"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using TMPro;
public class NotesUI : MonoBehaviour
{
int profile = -1;
public TMP_InputField tmp;
public void SaveNotes()
{
if (profile == -1) return;
PlayerPrefs.SetString(profile + "N... | 2.143038 | 23e166a80d83ad146cd934dd6739b2ef |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816461 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Gravewalker86/Rhonin",
"max_stars_repo_path": "Rhonin/Commands.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135681"
} | starcoder | using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using System.Text.RegularExpressions;
using DSharpPlus.CommandsNext;
using DSharpPlus.CommandsNext.Attributes;
using Rhonin.RNG;
using Rhonin.CommandLogic;
namespace Rhonin
{
public class MyCommands
{
[Command("roll"), Ali... | 2.820434 | a4241adea6a328d6aec7eff210d813da |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816462 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "arzutp/Patika_CSharp101",
"max_stars_repo_path": "OOP/interfaceOrnek/Focus.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135682"
} | starcoder | using System;
namespace interfaceOrnek
{
public class Focus : IOtomobil
{
public Marka HangiMarka()
{
return Marka.Ford;
}
public int KacTekerlek()
{
return 4;
}
public Renk StandartRengi()
{
... | 2.151579 | 18ae5e14d3a0199e12422ab99063414e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816463 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "wangwshuai/graphic",
"max_stars_repo_path": "GraphX.Common/Interfaces/IAlgorithmStorage.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135683"
} | starcoder | using GraphX.GraphSharp.Algorithms.EdgeRouting;
using GraphX.GraphSharp.Algorithms.Layout;
using GraphX.GraphSharp.Algorithms.OverlapRemoval;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace GraphX
{
public interface IAlgorithmStorage<TVertex, TEdge>
{
IE... | 1.716232 | 8f0d4b1e7684800daca98bae69d20e96 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816464 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DivakerSIngh/task-management-firebase",
"max_stars_repo_path": "api/college.webapi/obj/Release/Package/PackageTmp/Areas/HelpPage/Views/Help/DisplayTemplates/SimpleTypeModelDescription.cshtml",
"provenance": "train-00027-of-00045.jsonl... | starcoder | @using college.webapi.Areas.HelpPage.ModelDescriptions
@model SimpleTypeModelDescription
@Model.Documentation | 1.169304 | 063bcfd02ac900c21444482f4ad71de4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816465 | {
"extension": "c-sharp",
"max_stars_count": "27.0",
"max_stars_repo_name": "UNIVERSAL-IT-SYSTEMS/SharpCircuit",
"max_stars_repo_path": "SharpCircuitsTest/src/OpAmpTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135685"
} | starcoder | <filename>SharpCircuitsTest/src/OpAmpTest.cs
using System;
using System.Collections.Generic;
using System.Linq;
using SharpCircuit;
using ServiceStack.Text;
using NUnit.Framework;
namespace SharpCircuitTest {
[TestFixture]
public class OpAmpTest {
[Test]
public void SimpleOpAmpTest() {
Circuit sim = new C... | 2.500877 | 084154d709edcba85a253d3d31cd4f5f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816466 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "fperdigon/EMAnalyzer_2.0",
"max_stars_repo_path": "EMAnalizer 2.0/AboutForm.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135686"
} | starcoder | /*
* Created by SharpDevelop.
* User: fco
* Date: 2/16/2022
* Time: 2:13 PM
*
* To change this template use Tools | Options | Coding | Edit Standard Headers.
*/
namespace EMAnalizer_2._0
{
partial class AboutForm
{
/// <summary>
/// Designer variable used to keep track of non-visual components.
/// </s... | 2.052665 | ea67c86e513e1ecb0a3beaf600d06f05 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816467 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "devel0/security-manager",
"max_stars_repo_path": "SecurityManagerWebapi/Types/CredShort.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135687"
} | starcoder | namespace SecurityManagerWebapi
{
public class CredShort
{
public string GUID { get; set; }
public string Name { get; set; }
public string Username { get; set; }
public string Email { get; set; }
public string Url { get; set; }
public int Level { get; set; }
... | 1.61397 | aebd41fb6e23c2f750808a3e378678b8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816468 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "wellcomecollection/iiif-builder",
"max_stars_repo_path": "src/Wellcome.Dds/Wellcome.Dds.Repositories/Presentation/V2/IXIF/LegacyServiceFactory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135688"
} | starcoder | using IIIF;
using IIIF.Presentation.V3.Content;
using Wellcome.Dds.Common;
namespace Wellcome.Dds.Repositories.Presentation.V2.IXIF
{
/// <summary>
/// Helper class for getting legacy services.
/// These are non-standard P2 IIIF services required for backwards compatibility
/// </summary>
... | 2.02229 | 71cc73239d6df6232afd8d9ecba1a0ea |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816469 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "dong-nguyen-hd/HR-Management",
"max_stars_repo_path": "BE/API/Controllers/CategoryPersonController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135689"
} | starcoder | <gh_stars>1-10
using Business.Communication;
using Business.Domain.Models;
using Business.Domain.Services;
using Business.Resources;
using Business.Resources.CategoryPerson;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Options;
us... | 1.821108 | 56bcafec284196d77979631e4e215ceb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816470 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DOS1986/ECTracker",
"max_stars_repo_path": "ECTracker.Shared/Interfaces/IAppSettings.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135690"
} | starcoder | <reponame>DOS1986/ECTracker
namespace ECTracker.Common.Interfaces
{
public interface IAppSettings
{
public void Save(object src, string tar);
public void Initialization();
}
}
| 1.372788 | 14ebef7e408498894308e8d49cc73a8f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816471 | {
"extension": "c-sharp",
"max_stars_count": "25.0",
"max_stars_repo_name": "cstrahan/codecampserver",
"max_stars_repo_path": "src/UI/Services/ReturnUrlManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135691"
} | starcoder | using System;
using System.Web;
namespace CodeCampServer.UI.Services
{
public class ReturnUrlManager : IReturnUrlManager
{
public const string ParameterName = "ReturnToUrl";
public string GetReturnUrl()
{
var url = HttpContext.Current.Request.Params[ParameterName];
if (string.IsNullOrEmpty... | 2.858182 | 7191d305bcc38c35bbee3d5581f1b819 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816472 | {
"extension": "c-sharp",
"max_stars_count": "20.0",
"max_stars_repo_name": "defencedigital/SPDG",
"max_stars_repo_path": "src/Acceleratio.SPDG.Generator/DataGenerator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135692"
} | starcoder | <gh_stars>10-100
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading;
using Acceleratio.SPDG.Generator.GenerationTasks;
using Acceleratio.SPDG.Generator.SPModel;
using Acceleratio.SPDG.Generator.... | 2.354557 | 988fca503d0d721a38168376a0167f0f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816473 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "vrenken/EtAlii.Ubigia",
"max_stars_repo_path": "Source/Frameworks/EtAlii.xTechnology.Hosting/EtAlii.xTechnology.Hosting/Hosts/Building/MapOnCondition/ApplicationBuilder.IsolatedMapOnConditionForService.cs",
"provenance": "train-00027-... | starcoder | // Copyright (c) <NAME>. All rights reserved. See the license on https://github.com/vrenken/EtAlii.Ubigia
namespace EtAlii.xTechnology.Hosting
{
using System;
using System.Diagnostics.CodeAnalysis;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.H... | 2.151199 | 733e65bfeae3792d32e246e0d5595171 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816474 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Ashment/TetrisFall",
"max_stars_repo_path": "Assets/Scripts/GridEntity.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135694"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public enum bState
{
free,
mblock,
sblock,
player,
};
public class GridEntity : MonoBehaviour {
public Vector2Int curCoord;
public Vector2Int targetCoord;
public Vector2 relPos;
public bState state;
pu... | 1.934216 | 313f9ac6ac41b139d8942ea978999305 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816475 | {
"extension": "c-sharp",
"max_stars_count": "82.0",
"max_stars_repo_name": "csoltenborn/fluentassertions.analyzers",
"max_stars_repo_path": "src/FluentAssertions.Analyzers/Tips/Collections/CollectionShouldOnlyContainProperty.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135695"
} | starcoder | <filename>src/FluentAssertions.Analyzers/Tips/Collections/CollectionShouldOnlyContainProperty.cs
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CodeFixes;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.Diagnostics;
using System.Collections.Generic;
using System.Collections.Immutab... | 2.396763 | 1d77d6c8a4d3fa862288c0f6f97e88de |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816476 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "octansIt/environmentassessment",
"max_stars_repo_path": "EnvironmentAssessment.Wizard/Common/VimApi/P/ProfileNumericComparator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135696"
} | starcoder | <gh_stars>1-10
namespace EnvironmentAssessment.Common.VimApi
{
public enum ProfileNumericComparator
{
lessThan,
lessThanEqual,
equal,
notEqual,
greaterThanEqual,
greaterThan
}
}
| 1.018271 | fcbb1745814d077dc8ec6c6bc1574a21 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816477 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "uQr/CacheManager",
"max_stars_repo_path": "test/CacheManager.Tests/CacheManagerAdvancedUpdateTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135697"
} | starcoder | <gh_stars>0
using System;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using CacheManager.Core;
using CacheManager.Core.Internal;
using CacheManager.Core.Logging;
using FluentAssertions;
using Xunit;
namespace CacheManager.Tests
{
[ExcludeFromCodeCoverage]
#if NET40
[Trait("Framework", "NET40")]
... | 2.167208 | f32bf908e723a63596d93da6efa2c38b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816478 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "sucaba/IronTextLibrary",
"max_stars_repo_path": "Src/IronText.Compiler/Algorithm/DecisionTree/BinaryDecisionTreeBuilder.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135698"
} | starcoder | using System.Collections.Generic;
namespace IronText.Algorithm
{
class BinaryDecisionTreeBuilder
{
private readonly int defaultAction;
private readonly DecisionTreePlatformInfo platform;
public BinaryDecisionTreeBuilder(int defaultAction, DecisionTreePlatformInfo platform)
{
... | 2.960551 | 34fff128a6803e706e567ef97ae1b42e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816479 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Adamantworks/Amazon.DynamoDB",
"max_stars_repo_path": "DynamoDB.Tests/ItemKeyTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135699"
} | starcoder | // Copyright 2015 Adamantworks. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required b... | 2.093076 | 336548f73517a168e5f422b86e027a82 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816480 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Cellule/PTVS",
"max_stars_repo_path": "Python/Product/PythonTools/PythonTools/Refactoring/ExtractMethodDialog.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135700"
} | starcoder | // Python Tools for Visual Studio
// Copyright(c) Microsoft Corporation
// All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the License); you may not use
// this file except in compliance with the License. You may obtain a copy of the
// License at http://www.apache.org/licenses/LICENSE-2.0
//... | 1.749028 | 50cd2b4ed7dc47f89cbaaf1b5a28f6fd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816481 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "stefb965/web-tests",
"max_stars_repo_path": "Mono.Btls.TestFramework/Mono.Btls.TestFramework/BoringValidationTestRunner.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135701"
} | starcoder | <reponame>stefb965/web-tests
//
// BoringValidationTestRunner.cs
//
// Author:
// <NAME> <<EMAIL>>
//
// Copyright (c) 2016 Xamarin Inc. (http://www.xamarin.com)
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Softwar... | 1.578898 | c9d808b13e83ee5c87186472c18ad8ed |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816482 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ShreyTiwari/IDisposableAnalyzers",
"max_stars_repo_path": "ValidCode/Constructors/Chained.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135702"
} | starcoder | namespace ValidCode.Constructors
{
using System;
public class Chained
{
private readonly IDisposable? disposable;
public Chained(IDisposable disposable)
: this(1)
{
this.disposable = disposable;
}
public Chained(int n)
{
... | 2.754472 | e1396b5b28dd99fcaca79975fcd483ec |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816483 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "mavasani/visualstudio-docs",
"max_stars_repo_path": "docs/extensibility/codesnippet/CSharp/walkthrough-displaying-quickinfo-tooltips_3.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135703"
} | starcoder | <reponame>mavasani/visualstudio-docs
private TestQuickInfoSourceProvider m_provider;
private ITextBuffer m_subjectBuffer;
private Dictionary<string, string> m_dictionary; | 0.235473 | 487856d8e8576c8347551b21cd95d189 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816484 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "FelixBoers/linqpad-soap-driver",
"max_stars_repo_path": "src/SoapContextDriver/ConnectionModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135704"
} | starcoder | using System.Collections.Generic;
using System.Xml.Linq;
using LINQPad.Extensibility.DataContext;
namespace SoapContextDriver
{
public class ConnectionModel
{
private readonly IConnectionInfo _connectionInfo;
public ConnectionModel(IConnectionInfo connectionInfo,
IEnumerable<string> knownUris = null)
... | 2.471316 | e25af8ad16a9f93e817c5eb320a3ba34 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816485 | {
"extension": "c-sharp",
"max_stars_count": "54.0",
"max_stars_repo_name": "izzyus/NAudio",
"max_stars_repo_path": "NAudio.Wasapi/CoreAudioApi/Interfaces/StorageAccessMode.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135705"
} | starcoder | namespace NAudio.CoreAudioApi.Interfaces
{
/// <summary>
/// MMDevice STGM enumeration
/// </summary>
public enum StorageAccessMode
{
/// <summary>
/// Read-only access mode.
/// </summary>
Read,
/// <summary>
/// Write-only access mode.
/// <... | 2.202754 | 5997f077d0d88d33a87d9b6d88d45e02 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816486 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sayan95/skinet-shopper",
"max_stars_repo_path": "src/Skinet.Entities/Entities/OrderAggregate/ShippingAddress.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135706"
} | starcoder | <reponame>sayan95/skinet-shopper
namespace Skinet.Entities.Entities.OrderAggregate
{
public class ShippingAddress
{
public ShippingAddress(){}
public ShippingAddress(string firstName, string lastName, string street, string city, string state, string zipCode)
{
FirstName = f... | 2.294727 | 31ffb6138deaab88d8f98716c396735b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816487 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tojatos/NKMCore",
"max_stars_repo_path": "Abilities/Itsuka Kotori/CamaelMegiddo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135707"
} | starcoder | <filename>Abilities/Itsuka Kotori/CamaelMegiddo.cs
using System;
using System.Collections.Generic;
using System.Linq;
using NKMCore.Extensions;
using NKMCore.Hex;
using NKMCore.Templates;
namespace NKMCore.Abilities.Itsuka_Kotori
{
public class CamaelMegiddo : Ability, IClickable, IUseableCell
{
publi... | 2.807671 | c4af5269abd3c4b723ed37ec89507438 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816488 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "serenayl/NYCZR8127AlternateHeightAndSetbackRegulationsDaylightEvaluation",
"max_stars_repo_path": "src/NYCZR8127DaylightEvaluation.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135708"
} | starcoder | <reponame>serenayl/NYCZR8127AlternateHeightAndSetbackRegulationsDaylightEvaluation
using Elements;
using Elements.Geometry;
using System.Collections.Generic;
using System;
using System.Linq;
using System.IO;
namespace NYCZR8127DaylightEvaluation
{
public static class NYCZR8127DaylightEvaluation
{
/// <... | 2.305726 | 6da172eeaf00ff6b4ad8a7d6e5438cf4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816489 | {
"extension": "c-sharp",
"max_stars_count": "948.0",
"max_stars_repo_name": "wikiluo/AElf",
"max_stars_repo_path": "src/AElf.Cryptography/ECDSA/ECKeyPair.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135709"
} | starcoder | using Secp256k1Net;
namespace AElf.Cryptography.ECDSA
{
public class ECKeyPair : IAElfAsymmetricCipherKeyPair
{
public byte[] PrivateKey { get; }
public byte[] PublicKey { get; }
internal ECKeyPair(byte[] privateKey, byte[] publicKey)
{
PublicKey = publicKey;
... | 2.458766 | be24d1f24ba4480a251f74db2eb1ed65 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816490 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "tipalol/Programming-labs",
"max_stars_repo_path": "Lab10/Worker.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135710"
} | starcoder | //
// Worker.cs
// Worker
//
// Created by <NAME> on 02/06/2019.
// Copyright © 2019 <NAME>. All rights reserved.
//
using System;
namespace Lab10
{
/// <summary>
/// Интерфейс реализует стандартного работника
/// </summary>
public interface IWorker
{
/// <summary>
/// Получает ... | 2.420922 | 668f61b3e12b904cb180127c0bb382a6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816491 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "rposener/NCoreEventSource",
"max_stars_repo_path": "src/NCoreEventClient/Configuration/EventCoreServiceCollectionExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135711"
} | starcoder | <gh_stars>1-10
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Options;
using NCoreEventClient;
using NCoreEventClient.Services;
using Polly;
using Polly.Extensions.Http;
using System;
using System.Collections.Generic;
using System.Net.Http;
using Sy... | 2.074842 | ad725101c1de42154101b19854e44bdc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816492 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "lihaochen910/UnityGoapAIDemo",
"max_stars_repo_path": "Assets/Plugins/ParadoxNotion/NodeCanvas/Tasks/Actions/Utility/GraphOwnerControl.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135712"
} | starcoder | using NodeCanvas.Framework;
using ParadoxNotion.Design;
using System.Collections;
namespace NodeCanvas.Tasks.Actions
{
[Name("Control Graph Owner")]
[Category("✫ Utility")]
[Description("Start, Resume, Pause, Stop a GraphOwner's behaviour")]
public class GraphOwnerControl : ActionTask<Graph... | 2.418993 | 6743f5a86af2b39dc84655e439dcd771 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816493 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "rapideinternet/finrust.api",
"max_stars_repo_path": "Src/Application/Customers/Commands/DeleteCustomer/DeleteCustomerCommandHandler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135713"
} | starcoder | <filename>Src/Application/Customers/Commands/DeleteCustomer/DeleteCustomerCommandHandler.cs
using FinRust.Application.Common.Exceptions;
using FinRust.Application.Common.Interfaces;
using FinRust.Domain.Entities;
using MediatR;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
namespace FinRust... | 2.480673 | 9f3a44859460b4a897940bf3e61557c4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816494 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "off-sync/mapping-mappert",
"max_stars_repo_path": "src/OffSync.Mapping.Mappert.DynamicMethods/Common/ItemsUtil.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135714"
} | starcoder | <reponame>off-sync/mapping-mappert
/*---------------------------------------------------------------------------------------------
* Copyright (c) Off-Sync.com. All rights reserved.
* Licensed under the MIT License. See LICENSE in the project root for license information.
*----------------------------------------... | 2.844617 | 9b73c1427a62e5813b0926a5b84a06b1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816495 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "APIAnalysis/SimpleJsonAnalyzer",
"max_stars_repo_path": "ApiAnalysis.SimpleJsonAnalyzer.UnitTests/BasicValidJsonParsing.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135715"
} | starcoder | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="BasicValidJsonParsing.cs" company="<NAME>">
// Copyright (c) <NAME>. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the solution root for license informati... | 2.687336 | 155a9a6992126493cf3516a4680bd877 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816496 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "panoramicdata/ConnectMagic",
"max_stars_repo_path": "PanoramicData.ConnectMagic.Service/ConnectedSystemManagers/SalesforceClient.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135716"
} | starcoder | using Newtonsoft.Json.Linq;
using PanoramicData.ConnectMagic.Service.Exceptions;
using Salesforce.Common;
using Salesforce.Common.Models.Json;
using Salesforce.Force;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace PanoramicData.ConnectMagic.Service... | 2.374604 | 5325676f1611547c76f34675c91ac247 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816497 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AlexanderYunker1983/NewtonIntegrator.Old",
"max_stars_repo_path": "CalculationCore/Core.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135717"
} | starcoder | using System;
using OpenTK;
namespace CalculationCore
{
public class Core
{
public double Epsilon { get; set; }
public double Delta { get; set; }
public double IterationStep { get; private set; }
private Vector4d CurrentValue { get; set; }
public readonly ValueVector Va... | 2.713197 | dcc997f39389a46fbd8922064ecaff70 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816498 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "teodortenchev/C-Sharp-Fundamentals-Coursework",
"max_stars_repo_path": "C# Advanced/StacksQueuesExercises/P8StackFibonacci/StackFibonacci.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135718"
} | starcoder | <reponame>teodortenchev/C-Sharp-Fundamentals-Coursework
using System;
using System.Collections.Generic;
namespace P8StackFibonacci
{
class StackFibonacci
{
static void Main(string[] args)
{
long n = long.Parse(Console.ReadLine());
Stack<long> fibonacciSequence = new Sta... | 3.408253 | c6baf7ad8fac267aadf15ffd4d9b7f3a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816499 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "yezhaocan/OMS",
"max_stars_repo_path": "OMS.Data/Domain/Customer/Customers.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135719"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Text;
namespace OMS.Data.Domain
{
public class Customers : EntityBase
{
public int CustomerTypeId { get; set; }
public string Name { get; set; }
public string Contact { get; set; }
public string Mobile { g... | 1.336558 | 2d184a78b95c494add35b633713c6282 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816500 | {
"extension": "c-sharp",
"max_stars_count": "13.0",
"max_stars_repo_name": "SuperDotNet/Super.NET",
"max_stars_repo_path": "Super/Model/Sequences/Query/Copy.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135720"
} | starcoder | namespace Super.Model.Sequences.Query
{
public delegate void Copy<in TIn, in TOut>(TIn[] source, TOut[] destination, uint from, uint to, uint offset);
} | 1.499475 | b721d07e0bcb1ac91403b597251860ec |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816501 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ToniGalmes/GlobalGameJam2020",
"max_stars_repo_path": "GlobalGameJam/Assets/Scripts/SoundManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135721"
} | starcoder | <gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class SoundManager : MonoBehaviour
{
public AudioSource OST;
public AudioSource cheeringAudience;
public AudioSource embrague;
public AudioSource fixedThat;
public AudioSource throughGrass;
public... | 1.260838 | bc55dd20485231d37f271c8983368107 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816502 | {
"extension": "c-sharp",
"max_stars_count": "604.0",
"max_stars_repo_name": "juliuming/my-core2d",
"max_stars_repo_path": "src/Core2D.Core/Spatial/Rect2.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135722"
} | starcoder | <filename>src/Core2D.Core/Spatial/Rect2.cs
using System;
namespace Core2D.Spatial;
public struct Rect2
{
public readonly double X;
public readonly double Y;
public readonly double Width;
public readonly double Height;
public Rect2(double x, double y, double width, double height)
{
X ... | 3.412513 | e7eeddbbe9b5c8aab36acd59c82d48ab |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816503 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "SimScaleGmbH/simscale-csharp-sdk",
"max_stars_repo_path": "src/SimScale.Sdk/Model/Schemes.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135723"
} | starcoder | /*
* SimScale API
*
* The version of the OpenAPI document: 0.0.0
*
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
using System;
using System.Linq;
using System.IO;
using System.Text;
using System.Text.RegularExpressions;
using System.Collections;
using System.Collections.Generic;
usi... | 2.009408 | 008b60e975c0a72ceb5f9c1e884ef710 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816504 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "TMarkov98/InsightHub",
"max_stars_repo_path": "InsightHub/InsightHub.Web/Areas/Admin/Views/BannedUsers/Index.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:135724"
} | starcoder | @model X.PagedList.StaticPagedList<InsightHub.Models.UserModel>
@{
ViewData["Title"] = "Index";
Layout = "~/Views/Shared/_Layout.cshtml";
}
<h1 class="display-4" style="color:#04202C; font-family: Cambria">
<b>
Banned Users
</b>
</h1>
<form asp-action="Index" method="get">
<div class="form... | 2.625176 | 5d844f0e1abdc622a5cc0e56a7637773 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816505 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "int0x81/Iota.Lib.Api",
"max_stars_repo_path": "Iota.Lib.Api/Model/Bundle.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135725"
} | starcoder | using System;
using System.Collections.Generic;
using System.Numerics;
using Iota.Lib.Exception;
using Iota.Lib.Utils;
namespace Iota.Lib.Model
{
/// <summary>
/// Represents a bundle
/// </summary>
public class Bundle
{
/// <summary>
/// Initializes a new instance of the <see cref... | 2.650322 | 29ea7e54a5286949c35d90ac8f23247f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816506 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "GlaucoGodoi/AspNet-MVC5-Angular",
"max_stars_repo_path": "ContactSample.BackOffice/Views/Home/_Register.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:135726"
} | starcoder | <div class="well col-md-6 clearfix">
<form novalidate>
<h3>Register</h3>
<div class="text-danger">
<ul><li ng-repeat="error in vm.ui.errors" >{{error}}</li></ul>
</div>
<div class="form-group">
<label for="exampleInputEmail1">Email address</label>
... | 2.231136 | 065ef13b3b6a2007a0fcb762b9a938ac |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816507 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "HugoDoyon/pact-net",
"max_stars_repo_path": "PactNet/PactBuilder.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135727"
} | starcoder | using Newtonsoft.Json;
using PactNet.Mocks.MockHttpService;
using PactNet.Mocks.MockHttpService.Models;
using PactNet.Models;
using System;
using System.IO;
namespace PactNet
{
public class PactBuilder : IPactBuilder
{
public string ConsumerName { get; private set; }
public string ... | 2.34356 | 5a84c9fb96b31f348fa10e748d28d065 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816508 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "logankp/Deliverance",
"max_stars_repo_path": "Deliverance/OXMSG/NamedPropertyParser.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135728"
} | starcoder | <filename>Deliverance/OXMSG/NamedPropertyParser.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using OpenMcdf;
namespace Deliverance.OXMSG.Properties
{
/// <summary>
/// [MS-OXMSG] 2.2.3
/// Storage name: __nameid_version1.0
/// <... | 2.739671 | 385a72113014ab99186c4e6bf40b8edd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816509 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Perlera89/Mirandas-Cinema",
"max_stars_repo_path": "Mirandas-Cinema/Mirandas-Cinema/Views/Cinemas/Delete.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:135729"
} | starcoder | <reponame>Perlera89/Mirandas-Cinema
<link rel="stylesheet" href="~/css/nav-bar.css" />
<link rel="stylesheet" href="~/css/page/deleteCinema.css"/>
@model Cinema
@{
ViewData["Title"] = "Eliminar Cinema";
}
<div class="row nav-links justify-content-center" style="margin: 0 auto 55px; width: 1140px;">
<div clas... | 2.185622 | ae1e4b189cef222a41b9c841c3961918 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816510 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "MaiReo/AggregatePipeline",
"max_stars_repo_path": "src/AggregatePipeline/Direct/ContextMiddlewareFactory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135730"
} | starcoder | <reponame>MaiReo/AggregatePipeline<filename>src/AggregatePipeline/Direct/ContextMiddlewareFactory.cs
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace AggregatePipeline.Direct {
public class ContextMiddlewareFactory {
public async Task UseMiddlewareAsync (TestContext c... | 2.237132 | aab9bc821a239d614261a1dd2c1f3fcd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816511 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "guyvdn/AdventOfCode2020",
"max_stars_repo_path": "AdventOfCode2020/Day05/BoardingPass.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135731"
} | starcoder | using System;
namespace AdventOfCode2020.Day05
{
public class BoardingPass
{
private readonly string _value;
public BoardingPass(string value)
{
_value = value;
}
private string ToBinary()
{
return _value
.RegexReplace("... | 3.003135 | a3fa161f3fea0e61dd4c6221475887f9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816512 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "trmcnealy/OilGas.Data",
"max_stars_repo_path": "OilGas.Data.RRC.Texas/RRC.Texas/DataTypes/Wla/OilSealedWellSegment.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135732"
} | starcoder | <gh_stars>1-10
#nullable enable
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Runtime.CompilerServices;
using System.Runtime.Serialization;
using System.Xml.Serialization;
using Newtonsoft.Json;
using Newtonsoft.Json.Serialization;
namespac... | 1.651736 | 3240348528529f4303d7996c7c53cdc1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816513 | {
"extension": "c-sharp",
"max_stars_count": "68.0",
"max_stars_repo_name": "pchenatwork/ui-for-aspnet-core-examples",
"max_stars_repo_path": "Telerik.Examples.Mvc/Telerik.Examples.Mvc/Controllers/Grid/ListBoxAsEditorController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135733"
} | starcoder | <gh_stars>10-100
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Telerik.Examples.Mvc.Models;
using Kendo.Mvc.Extensions;
using Kendo.Mvc.UI;
using Microsoft.AspNetCore.Mvc;
namespace Telerik.Examples.Mvc.Controllers.Grid
{
public class ListBoxAsEditorControl... | 2.430648 | 318d06c24c6dcb26aa16ed5b451fdfe0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816514 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "RoguePlanetoid/Spotify-NetStandard-Showcase",
"max_stars_repo_path": "Spotify.Uwp.Showcase/Spotify.Uwp.Showcase/ViewModels/Pages/RecommendationPageViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135734"
} | starcoder | <reponame>RoguePlanetoid/Spotify-NetStandard-Showcase
using Spotify.NetStandard.Sdk;
namespace Spotify.Uwp.Showcase
{
/// <summary>
/// Recommendation Page View Model
/// </summary>
public class RecommendationPageViewModel : BasePageViewModel
{
#region Private Constants
private con... | 2.244725 | d428fb1da94d13164c52136b75b526d2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816515 | {
"extension": "c-sharp",
"max_stars_count": "16.0",
"max_stars_repo_name": "GibsS/unity-behaviour-tree",
"max_stars_repo_path": "Assets/BehaviourTree/BehaviourTreeBoard.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135735"
} | starcoder | /// <summary>
/// Aka blackboard. It allows the storage and processing of information outside of nodes
/// so they can remain stateless and share information easily (for example enemy positions, danger level, ...)
/// </summary>
/// <typeparam name="X">The agent type</typeparam>
public class BehaviourTreeBoard<X> {
... | 3.011307 | 2df21567a6abb2b29d377fcd072c1adb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816516 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "cativ3/HRMSystem",
"max_stars_repo_path": "HRMSystem.WebAPI/Controllers/CountriesController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135736"
} | starcoder | using HRMSystem.Core.Utilities.Results.Concretes;
using HRMSystem.Service.Abstracts;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using System.Net;
using System.Threading.Tasks;
namespace HRMSystem.WebAPI.Controllers
{
[Route("api/[controller]")]
[ApiController]
public class CountriesC... | 2.217365 | b3d13bedf90dcc735101e1c35c644322 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816517 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "KevinThomas1712/RecordTypesWithLinq",
"max_stars_repo_path": "Record/DailyForcast.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135737"
} | starcoder | <reponame>KevinThomas1712/RecordTypesWithLinq
using System.Collections.Generic;
using System.Text.Json.Serialization;
namespace RecordTypesWithLinq
{
internal record DailyForcast([property: JsonPropertyName("Weather")] List<WeatherForecast> Weather);
}
| 1.752658 | 44ef1ff2e0a9d4249496ec69ab7769f4 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.