added string | created string | id string | metadata dict | source string | text string | code-score float64 | md5 string |
|---|---|---|---|---|---|---|---|
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74533 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "adrianvalor/connectedcare-sdk",
"max_stars_repo_path": "SnapMD.VirtualCare.Sdk/EncounterAdminApi.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74534"
} | starcoder | <filename>SnapMD.VirtualCare.Sdk/EncounterAdminApi.cs
// Copyright 2016 SnapMD, 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/LIC... | 1.737129 | b74abc01f89795fd6f43d9a4db18205a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74534 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Siketyan/AtCoder",
"max_stars_repo_path": "ABC/100/B.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74535"
} | starcoder | using System;
using System.Linq;
public class Program
{
public static void Main(string[] args)
{
var line = Console.ReadLine();
var data = line.Split(' ');
var d = int.Parse(data[0]);
var n = int.Parse(data[1]);
if (n == 100)
{
n++;
}
... | 3.36798 | 946ec1ae9ce87ef8df2bf1d300a26478 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74535 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kelson-dev/aoc2021",
"max_stars_repo_path": "Common/Inputs/CommaDelimitedDigitsInput.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74536"
} | starcoder | <gh_stars>0
namespace Common;
public readonly struct CommaDelimitedDigitsInput : IInputSource<CommaDelimitedDigitsInput, ushort>
{
public IEnumerable<ushort> Load(string name)
{
using var stream = File.OpenRead(Path.Combine("Inputs", name));
using var reader = new StreamReader(stream);
... | 2.769862 | 9b908dbdb5448a0087666d52ce86bd22 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74536 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "dabintang/IOSysV4_NetCore",
"max_stars_repo_path": "IOSysNetCore/IOSys.DTO/Basic/OutCategoryTypeListInfo.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74537"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace IOSys.DTO.Basic
{
/// <summary>
/// 支出分类-类型列表
/// </summary>
public class OutCategoryTypeListInfo : OutCategoryListInfo
{
/// <summary>
/// 支出类型列表
/// </summary>
public List<OutTypeListInfo... | 1.772978 | 017c12d3cd8ccc5be8c57d9d02258a69 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74537 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ilkerogutcu/microservices-ecommerce",
"max_stars_repo_path": "src/Services/Catalog/Catalog.Infrastructure/Persistence/ICatalogContext.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74538"
} | starcoder | using Catalog.Domain.Common;
using Catalog.Domain.Entities;
using MongoDB.Driver;
namespace Catalog.Infrastructure.Persistence
{
public interface ICatalogContext
{
IMongoCollection<T> GetCollection<T>();
}
} | 1.442231 | 1fa33dad939693eba5317a4598796e20 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74538 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "Naquino14/Caliber-Sprint",
"max_stars_repo_path": "Scripts/Menu/VideoSettings.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74539"
} | starcoder | <reponame>Naquino14/Caliber-Sprint
using System;
using System.Collections.Generic;
using UnityEngine;
using TMPro;
using System.Collections;
namespace Assets.Git.Scripts.Menu
{
public class VideoSettings : MonoBehaviour // ok so this entire class is dogshit but as much as i tried to simplify it it just did not wo... | 2.349975 | d7474ed8ddb0641dac345262f19e331c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74539 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "raskhodchikov/shortpixel-net",
"max_stars_repo_path": "src/ShortPixel/Enums/ReducerResponseStatusCode.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74540"
} | starcoder | namespace ShortPixel.Enums
{
public enum ReducerResponseStatusCode
{
/// <summary>
/// No errors, image scheduled for processing.
/// </summary>
ScheduledForProcessing = 0,
/// <summary>
/// No errors, image processed, download URL available.
/// </summa... | 2.720793 | 1c6543cdb7e8f57a688952b67b76e6ba |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74540 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "stevenberger/google-ads-dotnet",
"max_stars_repo_path": "tests/V2/Services/AdGroupAdAssetViewServiceClientTest.g.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74541"
} | starcoder | // Copyright 2019 Google LLC
//
// 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
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | 1.392166 | 544a2e514cd3bcca4a92a84c0b2ed84e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74541 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Toyz/wt",
"max_stars_repo_path": "wt-tool/Commands/CommandBase.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74542"
} | starcoder | <reponame>Toyz/wt
using System.Threading.Tasks;
namespace wt_tool.Commands
{
public abstract class CommandBase
{
public CommandBase()
{
}
public abstract int Run(Terminal.Terminal config);
}
}
| 1.298551 | f3146eed53cda71b44c609c2d43ac38c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74542 | {
"extension": "c-sharp",
"max_stars_count": "674.0",
"max_stars_repo_name": "yfdyh000/AntiDupl",
"max_stars_repo_path": "src/AntiDuplWPF/AntiDuplWPF/Service/ThumbnailCache.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74543"
} | starcoder | <gh_stars>100-1000
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Media.Imaging;
using AntiDuplWPF.Model;
namespace AntiDuplWPF.Service
{
class ThumbnailCache
{
//public int MaxCachedThu... | 2.885727 | b284189d56384bf46b362a3b585da44e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74543 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ChupUchup/Backup-Me",
"max_stars_repo_path": "SQLibrary/SQLServer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74544"
} | starcoder | <gh_stars>0
using System;
using System.Data.SqlClient;
namespace SQLibrary
{
public class SQLServer
{
}
}
| 0.949416 | 1524735c4fb0425787d1ff6197dcd621 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74544 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "RF77/AsyncEnumerableExtensions",
"max_stars_repo_path": "AsyncEnumerableExtensions/Operators/MergeOperator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74545"
} | starcoder | <gh_stars>1-10
// Copyright (c) 2020 by RF77 (https://github.com/RF77)
// Licensed under the Apache 2.0 License.
// See LICENSE file in the project root for full license information.
using System.Collections.Generic;
using System.Runtime.CompilerServices;
using System.Threading;
using System.Threading.Tasks;
using As... | 2.589275 | 51c3f97f97891af1a407d9975070779c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74545 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "jzabroski/SaritasaTools",
"max_stars_repo_path": "src/Saritasa.Tools.Messages/Events/PipelineMiddlewares/DomainEventLocatorMiddleware.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74546"
} | starcoder | <gh_stars>1-10
// Copyright (c) 2015-2017, Saritasa. All rights reserved.
// Licensed under the BSD license. See LICENSE file in the project root for full license information.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using Saritasa.Tools.Messages.Abstractions;
using ... | 2.118221 | 16e81f9e85b030fbf23c2eacd1294660 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74546 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ronaldbosma/specflow-weather-forecast-sample",
"max_stars_repo_path": "src/UI/Pages/Login.razor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74547"
} | starcoder | using Microsoft.AspNetCore.Components;
using WeatherForecastSample.Shared.Authentication;
using WeatherForecastSample.UI.Authentication;
namespace WeatherForecastSample.UI.Pages
{
public class LoginBase : ComponentBase
{
public LoginRequest LoginRequest { get; init; } = new LoginRequest { Username = "... | 2.357836 | e8ecc8a7b7ecf769480adda3a46a6f1d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74547 | {
"extension": "c-sharp",
"max_stars_count": "22.0",
"max_stars_repo_name": "clayson-ADSK/forge-bim360.project.setup.tool",
"max_stars_repo_path": "ForgeBimApi/Serialization/Meta.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74548"
} | starcoder | /////////////////////////////////////////////////////////////////////
// Copyright (c) Autodesk, Inc. All rights reserved
// Written by Forge Partner Development
//
// Permission to use, copy, modify, and distribute this software in
// object code form for any purpose and without fee is hereby granted,
// provided that... | 1.759436 | efcfd235b95b1dfa14245a2952bc1d5e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74548 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "he1a2s0/huaweicloud-sdk-dotnet-obs",
"max_stars_repo_path": "Model/ListBucketsRequest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74549"
} | starcoder | /*----------------------------------------------------------------------------------
// Copyright 2019 Huawei Technologies Co.,Ltd.
// 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
//
... | 1.812817 | def7d2d9f1eebc6c02e5618f0b876a85 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74549 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Xangis/scleroglossa",
"max_stars_repo_path": "MainWindow.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74550"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.IO;
using System.Runtime.Serialization.Formatters.Binary;
namespace Scleroglossa
{
public partial class MainWindow : Form
... | 2.208023 | db27fc430636b1bc062d4a2266db61f3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74550 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sosan/msgpack-cli",
"max_stars_repo_path": "src/MsgPack/Serialization/Polymorphic/TypeInfoEncoder.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74551"
} | starcoder | <gh_stars>0
#region -- License Terms --
//
// MessagePack for CLI
//
// Copyright (C) 2015 FUJIWARA, Yusuke
//
// 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... | 1.867912 | 84a02f0bbb29020651aa2d2acf710261 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74551 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "TrevorDArcyEvans/NHSBuyingCatalogue",
"max_stars_repo_path": "beta-private/api/NHSD.GPITF.BuyingCatalog/Microsoft.SharePoint.Client.NetCore/FieldStringValues.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74552"
} | starcoder | <reponame>TrevorDArcyEvans/NHSBuyingCatalogue
using Microsoft.SharePoint.Client.NetCore.Runtime;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Threading.Tasks;
namespace Microsoft.SharePoint.Client.NetCore
{
[ScriptType("SP.FieldStringValues", ServerT... | 2.173629 | 2959fcec7a169e9e2d1ab0b1192fa0d6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74552 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jamelachahbar/azure-functions-powershell-worker",
"max_stars_repo_path": "src/Durable/DurableController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74553"
} | starcoder | //
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
//
namespace Microsoft.Azure.Functions.PowerShellWorker.Durable
{
using System;
using System.Collections;
using System.Collections.Generic;
using Sy... | 2.177187 | 8eab0a611e20897a763f0c1075245a9d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74553 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TcavalcantiDesenv/RepasseApcd",
"max_stars_repo_path": "src/APCD/src/PlatinDashboard.Application/AutoMapper/DomainToViewModelMappingProfile.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74554"
} | starcoder | <filename>src/APCD/src/PlatinDashboard.Application/AutoMapper/DomainToViewModelMappingProfile.cs
using AutoMapper;
using PlatinDashboard.Application.ViewModels.ChartViewModels;
using PlatinDashboard.Application.ViewModels.CompanyViewModels;
using PlatinDashboard.Application.ViewModels.MidiaViewModels;
using PlatinDash... | 1.760113 | 63f7fe2c115dc73261fad191d11253e2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74554 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "BastianBlokland/typedtree-generator-dotnet",
"max_stars_repo_path": "src/TypedTree.Generator.Core/Utilities/TypeExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74555"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
namespace TypedTree.Generator.Core.Utilities
{
/// <summary>
/// Utility extensions for types.
/// </summary>
public static class TypeExtensions
{
/// <summary>
/// Try to find an element type for the given type.
... | 3.184248 | 6b111d7ffb935453b5531583048ec52f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74555 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "Our-Company-Ltd/our.orders",
"max_stars_repo_path": "core/lib.test/Fixtures/DatabaseFixture.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74556"
} | starcoder |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using AutoMapper;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Identity;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Moq;
using our.o... | 1.784295 | 355f667f3b382f58523b4eec9049d434 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74556 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "ProfBird/BookInfo-WebApp-Core3",
"max_stars_repo_path": "GoodBookNook/Models/LoginViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74557"
} | starcoder | <reponame>ProfBird/BookInfo-WebApp-Core3
using System.ComponentModel.DataAnnotations;
namespace GoodBookNook.Models
{
public class LoginViewModel
{
[Required]
[UIHint("EmailAddress")] // sets <Input type="email" ... />
public string Email { get; set; }
[Required]
[... | 2.042629 | 18dbd59cfee37ae78f7582e84515231d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74557 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SamLad2015/KensMort",
"max_stars_repo_path": "Services/ScenarioService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74558"
} | starcoder | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using AutoMapper;
using KensMort.Entities;
using KensMort.Models;
using KensMort.Repositories;
using Microsoft.AspNetCore.Http;
using OfficeOpenXml;
namespace KensMort.Services
{
public class Scenario... | 2.55918 | 9b851b2985f33d5e9da4a70f4eea9854 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74558 | {
"extension": "c-sharp",
"max_stars_count": "68.0",
"max_stars_repo_name": "xtuzy/TEditor",
"max_stars_repo_path": "PopColorPicker.iOS.Shared/PopColorPickerViewController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74559"
} | starcoder | using System;
using System.Drawing;
#if __UNIFIED__
using CoreAnimation;
using Foundation;
using UIKit;
#else
using MonoTouch.CoreAnimation;
using MonoTouch.Foundation;
using MonoTouch.UIKit;
#endif
namespace PopColorPicker.iOS
{
public class PopColorPickerViewController : UITabBarController
{
public PopCo... | 2.14048 | 8e0c1ca81a91fcf254b76289acc11024 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74559 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "amkherad/AMKs-Gear.net",
"max_stars_repo_path": "00-Core/Architecture/Data/IEntity.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74560"
} | starcoder | using AMKsGear.Architecture.Modeling;
namespace AMKsGear.Architecture.Data
{
public interface IEntity : IModel
{
bool IsEvaluated { get; }
}
} | 1.437897 | 57c922c0582136f4dd57eea524217486 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74560 | {
"extension": "c-sharp",
"max_stars_count": "240.0",
"max_stars_repo_name": "hacky1997/calculator",
"max_stars_repo_path": "src/Calculator.Shared/Views/CalculatorProgrammerDisplayPanel.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74561"
} | starcoder | using CalculatorApp;
using CalculatorApp.Common;
using CalculatorApp.ViewModel;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices.WindowsRuntime;
using System.Windows.Input;
using Windows.Foundation;
using Windows.Foundation.Collections;
using Windo... | 2.063597 | aa2a4fa220af30a666ed6b83fbc56b31 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74561 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "GualaBanana/chess_move_calculator",
"max_stars_repo_path": "ChessFigureMoveCalculator/Board.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74562"
} | starcoder | <gh_stars>0
using System;
// Note that algorithms for calculating moves are independent of the properties/sizes of the board
// on which the figures that implement them are placed. In other words, they functions of (math semantic) figures'
// positions rather than of boards' properties. Thus, sizes of a board can be ... | 3.51781 | 51a8f2fe5bf7ccbb5e3b16a5e9aa13fb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74562 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "SkillsFundingAgency/dfc-app-relatedcareers",
"max_stars_repo_path": "DFC.App.RelatedCareers.SegmentService/RelatedCareersSegmentService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74563"
} | starcoder | using AutoMapper;
using DFC.App.RelatedCareers.Data.Models;
using DFC.App.RelatedCareers.Data.ServiceBusModels;
using DFC.App.RelatedCareers.Repository.CosmosDb;
using System;
using System.Collections.Generic;
using System.Net;
using System.Threading.Tasks;
namespace DFC.App.RelatedCareers.SegmentService
{
public... | 2.11114 | 168ca0ca7013f640cde04271ec8e634e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74563 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "harry-white/UnderwaterGame",
"max_stars_repo_path": "Assets/Library.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74564"
} | starcoder | <reponame>harry-white/UnderwaterGame<gh_stars>0
namespace UnderwaterGame.Assets
{
using Microsoft.Xna.Framework.Content;
using System.Collections.Generic;
using System.Reflection;
public abstract class Library<T>
{
public class LibraryAsset
{
public T asset;
... | 2.659441 | e3ae477cc0c15a1656ffcef8ba7ddcb3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74564 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "tznind/Wanderer",
"max_stars_repo_path": "src/Compilation/ApplyEffect.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74565"
} | starcoder | <reponame>tznind/Wanderer
using System;
using Wanderer.Factories;
using Wanderer.Factories.Blueprints;
using Wanderer.Systems;
namespace Wanderer.Compilation
{
public class ApplyEffect : Effect
{
public Guid? Identifier {get;set;}
public double Intensity { get; set; }
public string Nam... | 2.505267 | f5898ca553d310177d6dc50272dbeccf |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74565 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "NickolayNanov/Software-Engineering",
"max_stars_repo_path": "C# Fundamentals/C#_OOP Basics/Inheritance/Enheritance/CustomStack/StartUp .cs",
"provenance": "train-00000-of-00045.jsonl.gz:74566"
} | starcoder | <reponame>NickolayNanov/Software-Engineering
using System;
using System.Collections.Generic;
namespace CustomStack
{
public class StartUp
{
static void Main(string[] args)
{
StackOfStrings stack = new StackOfStrings();
string item = "Ivan";
stack.Push(item... | 2.686456 | 683a0f0126bccef2c3050b5bad6bd6eb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74566 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "benchiverton/GingerbreadAI",
"max_stars_repo_path": "src/DeepLearning/GingerbreadAI.DeepLearning.Backpropagation/Extensions/LayerExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74567"
} | starcoder | using System.Linq;
using GingerbreadAI.DeepLearning.Backpropagation.Models;
using GingerbreadAI.Model.ConvolutionalNeuralNetwork.Models;
using GingerbreadAI.Model.NeuralNetwork.Models;
namespace GingerbreadAI.DeepLearning.Backpropagation.Extensions;
public static class LayerExtensions
{
public static void AddMome... | 2.467562 | 142bb84dc783807a2e42647558ad9032 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74567 | {
"extension": "c-sharp",
"max_stars_count": "1391.0",
"max_stars_repo_name": "jcs-PR/omnisharp-roslyn",
"max_stars_repo_path": "tests/OmniSharp.Cake.Tests/CodeStructureFacts.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74568"
} | starcoder | using System.IO;
using System.Threading.Tasks;
using Microsoft.Extensions.Logging;
using OmniSharp.Cake.Services.RequestHandlers.Diagnostics;
using OmniSharp.Cake.Services.RequestHandlers.Structure;
using OmniSharp.Models;
using OmniSharp.Models.CodeCheck;
using OmniSharp.Models.UpdateBuffer;
using OmniSharp.Models.V2... | 2.074922 | 21f46170cb01dd34880624ce239c32b7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74568 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "cythral/brighid-commands-sdk",
"max_stars_repo_path": "tests/UnitTests/Sdk.Generator/TemplateMetadata/Services/TemplateMetadataGeneratorTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74569"
} | starcoder | <reponame>cythral/brighid-commands-sdk<gh_stars>0
using System;
using System.Collections.Generic;
using System.Text.Json;
using System.Threading;
using AutoFixture.AutoNSubstitute;
using AutoFixture.NUnit3;
using Brighid.Commands.Sdk.Models;
using FluentAssertions;
using Microsoft.CodeAnalysis;
using Microsoft.Code... | 1.790277 | 88ef0272f3cc4dd49b3d60237089331b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74569 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "BlueMonk1107/Entitas-based-Elimination-Game",
"max_stars_repo_path": "Assets/Sources/Systems/GameBoard/JudgeFormationSystem.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74570"
} | starcoder | using System.Collections.Generic;
using Entitas;
/// <summary>
/// 判断阵型是否能生成特效元素
/// </summary>
public class JudgeFormationSystem : ReactiveSystem<GameEntity>
{
public JudgeFormationSystem(Contexts context) : base(context.game)
{
}
protected override ICollector<GameEntity> GetTrigger(IContext<GameEnt... | 2.594475 | 0060514a444ecb8dccc3dbcea6100925 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74570 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "renxuefeng/AMSV2",
"max_stars_repo_path": "amsv2.Common/TypeEnum.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74571"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Text;
namespace amsv2.Common
{
public enum ModulesType
{
系统管理_用户管理_新建 = 1,
系统管理_用户管理_编辑,
系统管理_用户管理_删除,
系统管理_用户管理_修改密码,
系统管理_用户管理_查看,
系统管理_角色管理_查看,
系统管理_角色管理_新增,
系统管理_角色管理_编辑... | 1.539485 | 4f0bd3cc673dafa8e19771bfb68ed70d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74571 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "taysumi/CSharpUtils",
"max_stars_repo_path": "Sources/Habbi.Utils/Extensions/TimeSpanExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74572"
} | starcoder | <reponame>taysumi/CSharpUtils
using System;
namespace Habbi.Utils.Extensions
{
/// <summary>
/// The class providing extension methods on <see cref="TimeSpan" />s.
/// </summary>
public static class TimeSpanExtensions
{
/// <summary>
/// Compares two <see cref="TimeSpan" />... | 3.14494 | 344a025c6293f4815bb128fadfed178d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74572 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "HNochev/PublicTransport",
"max_stars_repo_path": "PublicTransport.Core/Models/Admin/AdminActivateCardModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74573"
} | starcoder | using PublicTransport.Infrastructure.Data.Models;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PublicTransport.Core.Models.Admin
{
public class AdminActivateCardModel
{
public ... | 2.15425 | fa4bd1f87481704d7f99f0cbebefdff0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74573 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "sergey-cs/SwipeTo",
"max_stars_repo_path": "Assets/SoundThemeSwitcher.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74574"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class SoundThemeSwitcher : MonoBehaviour
{
[SerializeField] Appearance Target;
[SerializeField] Themes Collection = Themes.None;
[SerializeField] [Range(1, 10)] int NumberInCollection = 1;
[Space(3)]
[SerializeFi... | 2.159092 | ee8265714dd227c2e72e495040f40049 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74574 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "ZunTzu-Software/ZunTzu",
"max_stars_repo_path": "ZunTzu/ZunTzu/Control/Messages/VoiceConnectionFailedMessage.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74575"
} | starcoder | // Copyright (c) 2020 ZunTzu Software and contributors
using System;
using System.Diagnostics;
using System.Reflection;
using ZunTzu.Modelization;
using ZunTzu.Networking;
using ZunTzu.Properties;
namespace ZunTzu.Control.Messages {
/// <summary>VoiceConnectionFailedMessage.</summary>
[ObfuscationAttribute(Exclude... | 2.104596 | bc2d930c9260caacd74bbc12663bed6e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74575 | {
"extension": "c-sharp",
"max_stars_count": "319.0",
"max_stars_repo_name": "skyhoshi/AjaxControlToolkit",
"max_stars_repo_path": "AjaxControlToolkit.SampleSite/App_Code/CarsService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74576"
} | starcoder | using AjaxControlToolkit;
using System;
using System.Collections.Specialized;
using System.Text.RegularExpressions;
using System.Web;
using System.Web.Script.Services;
using System.Web.Services;
using System.Xml;
[WebService(Namespace = "http://tempuri.org/")]
[WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_... | 2.092243 | f7fc0dd88d48cd3e3133a82c9df756b4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74576 | {
"extension": "c-sharp",
"max_stars_count": "94.0",
"max_stars_repo_name": "AndreyAkinshin/knockout-mvc",
"max_stars_repo_path": "PerpetuumSoft.Knockout/SubContexts/KnockoutRegionContext.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74577"
} | starcoder | using System;
using System.Web.Mvc;
using System.IO;
namespace PerpetuumSoft.Knockout
{
public abstract class KnockoutRegionContext<TModel> : KnockoutContext<TModel>, IDisposable
{
protected KnockoutRegionContext(ViewContext viewContext)
: base(viewContext)
{
if (viewCo... | 2.359217 | 31b0658681c52ce3fa1af7e5d4522798 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74577 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "dfkeenan/TilemapTools",
"max_stars_repo_path": "Source/TilemapTools/Tiled/Serialization/TileLookup.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74578"
} | starcoder | using System;
using System.Collections.Generic;
using TilemapTools.Mathematics;
namespace TilemapTools.Tiled.Serialization
{
public abstract class TileLookup<TTexture>
{
private readonly Dictionary<uint, TileInfo<TTexture>> cachedTiles = new Dictionary<uint, TileInfo<TTexture>>();
private read... | 2.85594 | 7f8d5f14779c2e5b945f3537e0b919ea |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74578 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "YSRKEN/AzLH",
"max_stars_repo_path": "AzLH/Behaviors/FileDragAndDropToWindowBehavior.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74579"
} | starcoder | using AzLH.Models;
using System.Drawing;
using System.Windows;
using System.Windows.Interactivity;
namespace AzLH.ViewModels
{
class FileDragAndDropToWindowBehavior : Behavior<Window>
{
protected override void OnAttached() {
base.OnAttached();
AssociatedObject.DragOver += DragOver;
AssociatedObject.Drop ... | 2.744811 | 9d5b33dcea6f79ee1ff1d287ce02611e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74579 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lucasrosaalves/Colaboradix",
"max_stars_repo_path": "src/Colaboradix.Domain/Entities/Member.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74580"
} | starcoder | <reponame>lucasrosaalves/Colaboradix<filename>src/Colaboradix.Domain/Entities/Member.cs<gh_stars>0
using Colaboradix.Domain.Common;
using Colaboradix.Domain.Enumerations;
using System;
using System.Collections.Generic;
namespace Colaboradix.Domain.Entities
{
public class Member : IEntity
{
private Lis... | 2.382959 | bfcd090cbaa5bdac9bebd1f3cd6fbbf6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74580 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "rogerex/Mediator.Net",
"max_stars_repo_path": "src/Mediator.Net.SimpleInjector/ContainerExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74581"
} | starcoder | <filename>src/Mediator.Net.SimpleInjector/ContainerExtensions.cs
using Mediator.Net.Binding;
using SimpleInjector;
namespace Mediator.Net.SimpleInjector
{
public static class ContainerExtensions
{
public static void RegisterMediator(this Container container, MediatorBuilder mediatorBuilder)
{
... | 2.274558 | 6a1e23a59761cd2582a8635371d60526 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74581 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "picoe/Eto.Extended",
"max_stars_repo_path": "test/Eto.CodeEditor.TestApp.Wpf/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74582"
} | starcoder | <gh_stars>1-10
using System;
using Eto.CodeEditor.TestApp;
using Eto.Drawing;
using Eto.Forms;
namespace Eto.CodeEditor.Test
{
public class Program
{
[STAThread]
public static void Main(string[] args)
{
new Application(Eto.Platform.Detect).Run(new MainForm());
}
... | 1.248011 | 6f329da026095c6b76d6323254c618d4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74582 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dem-net/DEM.Net.Extensions",
"max_stars_repo_path": "DEM.Net.Extension.Osm/Extensions/IListExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74583"
} | starcoder | <reponame>dem-net/DEM.Net.Extensions
/*
* Copyright (c) 2010-2014 Achim 'ahzf' Friedland <<EMAIL>>
* This file is part of Illias <http://www.github.com/Vanaheimr/Illias>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You ma... | 2.42292 | 8944819dae6d51a30a30ab8035d08e59 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74583 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Dennis-Koch/ambeth",
"max_stars_repo_path": "ambeth/Ambeth.Service/ambeth/typeinfo/TypeInfoItem.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74584"
} | starcoder | <reponame>Dennis-Koch/ambeth<filename>ambeth/Ambeth.Service/ambeth/typeinfo/TypeInfoItem.cs
using De.Osthus.Ambeth.Annotation;
using De.Osthus.Ambeth.Config;
using De.Osthus.Ambeth.Util;
using System;
using System.Collections.Generic;
namespace De.Osthus.Ambeth.Typeinfo
{
public abstract class TypeInfoItem : IType... | 2.153857 | f65fdb9ab86ce82faff9f5406b3b746f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74584 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "lukaskabrt/spatiallite-net",
"max_stars_repo_path": "src/Tests.SpatialLite.Core/IO/WktWriterSettingsTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74585"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Xunit;
using SpatialLite.Core.IO;
namespace Tests.SpatialLite.Core.IO {
public class WktWriterSettingsTests {
[Fact]
public void Constructor__SetsDefaultValues() {
WktWriterSettings target = new WktWriterSettings();... | 1.964574 | ebd9867db81ab6dcf75625dbd5d84165 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74585 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Soffel/BaseComponents",
"max_stars_repo_path": "Basic/Utils/RequestCounter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74586"
} | starcoder | <reponame>Soffel/BaseComponents
using System;
using System.Collections.Generic;
using System.Linq;
using Extensions;
namespace Utils
{
public class RequestCounter
{
private static readonly object m_lock = new object();
private static volatile RequestCounter instance = null;
public st... | 2.860417 | c56f98520e05f11645aec76a0c601241 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74586 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "Biarity/RestToolkit",
"max_stars_repo_path": "RestToolkit/Infrastructure/SetDevelopmentUser.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74587"
} | starcoder | <filename>RestToolkit/Infrastructure/SetDevelopmentUser.cs
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Http;
using System;
using System.Security.Claims;
using System.Threading.Tasks;
namespace RestToolkit.Infrastructure
{
public class SetDevelopmentUser
{
private readonly RequestDel... | 2.560997 | 2e4051b1843eae1b5d152e6fd911e9e6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74587 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Incogner/StepFunction-AWS",
"max_stars_repo_path": "StepFunc_Lab04/Root.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74588"
} | starcoder | <filename>StepFunc_Lab04/Root.cs<gh_stars>0
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Text;
namespace StepFunc_Lab04
{
// Root myDeserializedClass = JsonConvert.DeserializeObject<Root>(myJsonResponse);
// Root myDeserializedClass = JsonConvert.DeserializeObject<Root>... | 2.040483 | 6717ad029620e013925f0acc4fe8b5fa |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74588 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Mystfit/Showtime-Cpp",
"max_stars_repo_path": "bindings/dotnet/ZstDelegateSynchronisableAdaptor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74589"
} | starcoder | <reponame>Mystfit/Showtime-Cpp
public class ZstSynchronisableEvents
{
public delegate void ZstSynchronisableDlg(ZstSynchronisable synchronisable);
public ZstSynchronisableDlg on_synchronisable_activated_events;
public ZstSynchronisableDlg on_synchronisable_deactivated_events;
public ZstSynchronisableDl... | 2.130868 | 561e9df604053fb5a2654da650c6d2dd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74589 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "postsharp/PostSharp.Community.StructuralEquality",
"max_stars_repo_path": "Tests/Fody/AssemblyToProcess/ClassWithGenericBase.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74590"
} | starcoder | <reponame>postsharp/PostSharp.Community.StructuralEquality<gh_stars>1-10
namespace PostSharp.Community.StructuralEquality.Tests.Fody.AssemblyToProcess
{
[StructuralEquality]
public class ClassWithGenericBase :
GenericBase<int>
{
public int Prop { get; set; }
public static bool oper... | 2.216835 | f043d1414f603fd10e62fae20b3e1475 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74590 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "jbuedel/AgentRalphPlugin",
"max_stars_repo_path": "Ralph.Plugin/MakeEnumComparisonTypeSafe/MyIsExpressionStringCallsOnAnEnum.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74591"
} | starcoder | using JetBrains.ReSharper.Psi;
using JetBrains.ReSharper.Psi.CSharp.Resolve;
using JetBrains.ReSharper.Psi.CSharp.Tree;
using JetBrains.ReSharper.Psi.DeclaredElements;
using JetBrains.ReSharper.Psi.Resolve;
using System.Collections.Generic;
namespace AgentRalph.MakeEnumComparisonTypeSafe
{
/// <summary>
... | 2.509959 | 0c192d15fa155c16e2a1e4d3185a3638 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74591 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "prabhutani/FDP",
"max_stars_repo_path": "FlightPlanDemo/Assets/Scripts/GraphControl.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74592"
} | starcoder | <gh_stars>1-10
/*
Copyright 2021 <NAME>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, s... | 2.094769 | 2ccef88a323bc0497c1efd276240e6f6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74592 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rajkumar-rangaraj/opentelemetry-dotnet-instrumentation",
"max_stars_repo_path": "test/integration-tests/IntegrationTests.Helpers/Compatibility/DictionaryExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74593"
} | starcoder | <reponame>rajkumar-rangaraj/opentelemetry-dotnet-instrumentation
// <copyright file="DictionaryExtensions.cs" company="OpenTelemetry Authors">
// Copyright The OpenTelemetry Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
... | 2.322187 | 20e5ee475f3a9ee5efa6081d8ccb0289 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74593 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nnugaoz/HLAQSC",
"max_stars_repo_path": "Web/Models/T3_Job.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74594"
} | starcoder | using MyTool.DB;
using System.Data;
using Web.MyLib;
namespace Web.Models
{
public class T3_Job : AutoFiles.T3_Job
{
#region 工种
public int Job_GetPageList(ref DataTable dt)
{
string sql = ""
+ " declare @bi int "
+ " declare @ei int "
... | 1.823629 | 728f0ea07a13b4ee0e04f42382657008 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74594 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "peterxj1/EzBus",
"max_stars_repo_path": "src/EzBus.Msmq/EndpointAddressExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74595"
} | starcoder | <gh_stars>0
using System;
namespace EzBus.Msmq
{
public static class EndpointAddressExtensions
{
private const string directPrefix = @"FormatName:DIRECT=OS:";
public static string GetQueueName(this EndpointAddress address)
{
if (address == null) throw new ArgumentNullExcep... | 1.796756 | ec3af32c6605850a3d8e7077d7666dff |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74595 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "mattcarlucci/Core.News.Web",
"max_stars_repo_path": "Core.News.Web/Migrations/20180316210326_InitialCreate.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74596"
} | starcoder | // <auto-generated />
using Core.News.Web.Entities;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Storage;
using Microsoft.EntityFrameworkCore.Sto... | 1.911567 | 8d9b60ab38f4691a7388cb198e804e0d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74596 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "cmdwtf/Inkify",
"max_stars_repo_path": "Inkify.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74597"
} | starcoder | using System;
using System.Collections.Generic;
using System.Drawing;
using System.Drawing.Imaging;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using cmdwtf.Dithering.ColorReduction;
using cmdwtf.Dithering.Transforms;
using Microsoft.Extensions.Logging;
namespace Inkify
{
internal class Inkify... | 2.343926 | 5e5571c48e3a3f0ea460e66c445039ae |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74597 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "vinifig/csharp-orders-system",
"max_stars_repo_path": "ACM.Business/Repository/IProductRepository.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74598"
} | starcoder | <filename>ACM.Business/Repository/IProductRepository.cs
using System;
using System.Collections.Generic;
using System.Text;
namespace ACM.Business.Repository
{
/// <summary>
/// Generic Product Repository Interface
/// Should be used for Repository Mocking
/// </summary>
public interface IProductRe... | 1.814573 | 1f4e6e0124a945695e8372fac0b0f0be |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74598 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "strangerattractor/Soundvision",
"max_stars_repo_path": "SOUNDVISION_PUBLIC/Assets/Editor/SpectrogramGeneratorEditMode.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74599"
} | starcoder | <gh_stars>1-10
using UnityEngine;
namespace cylvester
{
public class SpectrogramGeneratorEditMode : SpectrogramGenerator, ISpectrogramGenerator
{
private Color32[] resetColorArray;
public SpectrogramGeneratorEditMode(int textureWidth, int textureHeight)
: base(textureWidth,textur... | 2.346734 | c9bdada0629af5c6acee6512fbd45969 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74599 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "cushmily/wUI",
"max_stars_repo_path": "Attributes/CustomWidgetFactoryAttribute.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74600"
} | starcoder | <gh_stars>0
using System;
namespace wLib.UIStack
{
public class CustomWidgetFactoryAttribute : Attribute
{
public Type WidgetType { get; }
public CustomWidgetFactoryAttribute(Type widgetType)
{
WidgetType = widgetType;
}
}
} | 1.754972 | 8bef633f18b8d9e6a562663f979b57cd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74600 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "mnbuhl/HttpMessenger",
"max_stars_repo_path": "test/HttpMessengerApp/Server/Controllers/ProductsController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74601"
} | starcoder | <gh_stars>1-10
using System.Reflection;
using HttpMessengerApp.Server.Data;
using HttpMessengerApp.Server.Extensions;
using HttpMessengerApp.Shared.Dtos;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
namespace HttpMessengerApp.Server.Controllers;
[ApiController]
[Route("api/[controller]")]
pub... | 2.449841 | 04f0eabcd6cc0fd37cee650b81c03914 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74601 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "force-net/athWebRequest",
"max_stars_repo_path": "Force.AthWebClient/Stubs/WriteStubStream.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74602"
} | starcoder | using System;
using System.IO;
using System.Threading;
using System.Threading.Tasks;
namespace Force.AthWebClient.Stubs
{
internal abstract class WriteStubStream : Stream
{
public override long Seek(long offset, SeekOrigin origin)
{
throw new NotSupportedException();
}
public override void SetLength(lon... | 2.608552 | 630c3d1733c472a068e7054c1877a310 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74602 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "iammanusharma/bookStore",
"max_stars_repo_path": "src/assets/RegistrationServiceTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74603"
} | starcoder | using Api.Lending.WizardPay.Customer.Repository.Interfaces;
using Api.Lending.WizardPay.Customer.Service;
using Api.Lending.WizardPay.Customer.Service.Interfaces;
using Moq;
using System;
using System.Collections.Generic;
using System.Text;
using Xunit;
namespace Api.Lending.WizardPay.Customer.Tests.ServiceT... | 2.162943 | d03f0d803ecef1081ec87710e8d318aa |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74603 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "Ajk4/UnityTypeSafety",
"max_stars_repo_path": "UnityTypeSafety/LayersCodegen.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74604"
} | starcoder | <reponame>Ajk4/UnityTypeSafety
using System.Collections.Generic;
using System.IO;
using System.Linq;
using UnityEngine;
namespace UnityTypeSafety {
class SortingLayersUnityTypeSafeCodegen : UnityTypeSafeCodegen<SortingLayer> {
protected override string Filename => "SortingLayers";
protected override HashSet<... | 2.721248 | 79867149194a1146d73d86ea0d0f267d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74604 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "zhenghua75/ams",
"max_stars_repo_path": "ams/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74605"
} | starcoder | <reponame>zhenghua75/ams
using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;
namespace ams
{
static class Program
{
/// <summary>
/// 应用程序的主入口点。
/// </summary>
[STAThread]
static void Main()
{
//单实例设置
... | 2.363306 | 7be021e2db937910437877ec2e6740f1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74605 | {
"extension": "c-sharp",
"max_stars_count": "42.0",
"max_stars_repo_name": "seventh88/PaymentService",
"max_stars_repo_path": "modules/EasyAbp.PaymentService.WeChatPay/src/EasyAbp.PaymentService.WeChatPay.HttpApi/EasyAbp/PaymentService/WeChatPay/WeChatPayController.cs",
"provenance": "train-00000-of-00045.js... | starcoder | using EasyAbp.PaymentService.WeChatPay.Localization;
using Microsoft.AspNetCore.Mvc;
using Volo.Abp.AspNetCore.Mvc;
namespace EasyAbp.PaymentService.WeChatPay
{
[ApiExplorerSettings(GroupName = "EasyAbpPaymentServiceWeChatPay")]
public abstract class WeChatPayController : AbpController
{
protected... | 1.406045 | 3dcdcd0824416ead847b768391d06b16 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74606 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Arthur-Lazarenko/memoria",
"max_stars_repo_path": "Memoria.Scripts/Sources/Battle/0105_GrandCrossScript.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74607"
} | starcoder | <reponame>Arthur-Lazarenko/memoria
using System;
using Memoria.Data;
namespace Memoria.Scripts.Battle
{
/// <summary>
/// Grand Cross
/// </summary>
[BattleScript(Id)]
public sealed class GrandCrossScript : IBattleScript
{
public const Int32 Id = 0105;
private readonly BattleCa... | 2.505401 | 4239f689324079b7d55128283972281e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74607 | {
"extension": "c-sharp",
"max_stars_count": "22.0",
"max_stars_repo_name": "laicasaane/unity-supplements",
"max_stars_repo_path": "System.Collections.Generic/Extensions/CollectionTExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74608"
} | starcoder | namespace System.Collections.Generic
{
public static class CollectionTExtensions
{
public static bool ValidateIndex<T>(this ICollection<T> self, int index)
=> self != null && index >= 0 && index < self.Count;
public static bool ValidateIndex<T>(this IReadOnlyCollection<T> self, int... | 3.191308 | 8439660c992aee19a7bbf2dad9a9f1f0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74608 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "hellomrsun/runtime",
"max_stars_repo_path": "src/libraries/System.Security.Cryptography.Cose/src/System/Security/Cryptography/Cose/CoseSign1Message.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74609"
} | starcoder | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System.Buffers;
using System.Diagnostics;
using System.Formats.Cbor;
using System.IO;
using System.Runtime.Versioning;
using System.Threading;
using System.Threading.Tasks;
n... | 1.968418 | e547f26b1298347c5557d5c498e8ad28 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74609 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "haise0/reAtomizer",
"max_stars_repo_path": "Examples/Example2.Plugin/TreeNodeDataCreator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74610"
} | starcoder | using System;
using System.Collections.Generic;
using System.Threading;
using dnSpy.Contracts.Files.Tabs.TextEditor;
using dnSpy.Contracts.Files.TreeView;
using dnSpy.Contracts.Highlighting;
using dnSpy.Contracts.Images;
using dnSpy.Contracts.Languages;
using dnSpy.Contracts.TreeView;
using dnSpy.Decompiler.Shared;
us... | 2.465094 | 69847e0124dcb7c7af942eda79bd6089 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74610 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "misaki01/SimpleMicRemote",
"max_stars_repo_path": "MisaCommon/MisaCommon/Utility/ExtendMethod/TableLayoutRowStyleCollectionExtend.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74611"
} | starcoder | <filename>MisaCommon/MisaCommon/Utility/ExtendMethod/TableLayoutRowStyleCollectionExtend.cs
namespace MisaCommon.Utility.ExtendMethod
{
using System;
using System.Windows.Forms;
/// <summary>
/// <see cref="TableLayoutRowStyleCollection"/> に拡張メソッドを追加するクラス
/// </summary>
public static class Tab... | 3.054923 | 41003bf53a335f913121f46d297b9be1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74611 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "Azure-Samples/iot-hub-c-mbed-temperature-anomaly",
"max_stars_repo_path": "events_to_device_service/events_forwarding/WorkerRole.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74612"
} | starcoder | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Net;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.WindowsAzure;
using Microsoft.WindowsAzure.Diagnostics;
using Microsoft.WindowsAzure.ServiceRuntime;
using Microsoft.WindowsAzure.Storage;
... | 2.321054 | ac097b788b9787037f94248d5fd17e6b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74612 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "sensate-iot/platform-api",
"max_stars_repo_path": "SensateIoT.API/SensateIoT.API.Common.Core/Infrastructure/Repositories/ISensorLinkRepository.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74613"
} | starcoder | /*
* Repository for the sensor link model.
*
* @author <NAME>
* @email <EMAIL>
*/
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using SensateIoT.API.Common.Data.Models;
using SensateIoT.API.Common.IdentityData.Models;
namespace SensateIoT.API.Common.Core.I... | 1.875918 | b19dc03a6b5bbe32944a1ab075aa4ddb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74613 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Szpi/IniWrapper",
"max_stars_repo_path": "IniWrapper/IniWrapper.ModuleTests/Immutable/ComplexData/ImmutableIEnumerableOfComplexDataTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74614"
} | starcoder | using System.Collections.Generic;
using System.Linq;
using FluentAssertions;
using IniWrapper.ModuleTests.Immutable.Configuration;
using IniWrapper.ModuleTests.Main.Configuration.Properties;
using IniWrapper.ModuleTests.MockParser;
using IniWrapper.ParserWrapper;
using IniWrapper.Wrapper;
using NSubstitute;
using NUni... | 2.203627 | 308d61c204c292befd0a1707e264ed28 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74614 | {
"extension": "c-sharp",
"max_stars_count": "33.0",
"max_stars_repo_name": "sql-bi/VertiPaq-Analyzer",
"max_stars_repo_path": "Dax.Metadata/DaxNote.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74615"
} | starcoder | <reponame>sql-bi/VertiPaq-Analyzer<gh_stars>10-100
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Dax.Metadata
{
public class DaxNote
{
public string Note { get; }
public DaxNote(string note)
{
... | 2.56112 | 86fd0e9b542219d12dae6c16e634793c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74615 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "syedhassaanahmed/log-storage-service",
"max_stars_repo_path": "ValidationPipeline.LogStorage.Tests/LogStorageFileProviderTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74616"
} | starcoder | <reponame>syedhassaanahmed/log-storage-service
using Microsoft.Extensions.FileProviders;
using NSubstitute;
using ValidationPipeline.LogStorage.FileProviders;
using ValidationPipeline.LogStorage.Models;
using ValidationPipeline.LogStorage.Services;
using Xunit;
namespace ValidationPipeline.LogStorage.Tests
{
publ... | 2.220819 | b895e8d85cdb4a15419d52c09229689b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74616 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "forki/Labs",
"max_stars_repo_path": "SpecFlow.Api/CategoriesTests.feature.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74617"
} | starcoder | <filename>SpecFlow.Api/CategoriesTests.feature.cs
// ------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by SpecFlow (http://www.specflow.org/).
// SpecFlow Version:2.1.0.0
// SpecFlow Generator Version:2.0.0.0
//
// Change... | 2.004366 | 51b934fec33ef8e158510c91239046b9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74617 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "FellowshipOfTheGame/anathema",
"max_stars_repo_path": "Anathema/Assets/Scripts/Robots/Cleaning Robot/CIdle.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74618"
} | starcoder | <reponame>FellowshipOfTheGame/anathema
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Anathema.ChasingRobot
{
public class CIdle : Anathema.Fsm.CleaningRobotState
{
public override void Enter() { }
/// <summary>
/// In this class the Update is... | 2.206937 | b776944bc54938951b6dae706d154346 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74618 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "lewisbennett/mi-dash-cam-configurator-xamarin-android",
"max_stars_repo_path": "src/MiCamConfig.App.Droid/MainApplication.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74619"
} | starcoder | <filename>src/MiCamConfig.App.Droid/MainApplication.cs
using Android.App;
using Android.Runtime;
using DialogMessaging;
using DialogMessaging.Interactions;
using MvvmCross.Platforms.Android.Views;
using System;
namespace MiCamConfig.App.Droid
{
[Application]
public class MainApplication : MvxAndroidApplicatio... | 1.669061 | 95c7329aed949089d224b0fd077685f7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74619 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "balkar20/SibTrain",
"max_stars_repo_path": "net-core/Makc2020.Host.Base/Parts/Auth/HostBasePartAuthSettings.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74620"
} | starcoder | //Author <NAME>//makc//
using System.Security.Claims;
namespace Makc2020.Host.Base.Parts.Auth
{
/// <summary>
/// Хост. Основа. Часть "Auth". Настройки.
/// </summary>
public class HostBasePartAuthSettings
{
#region Constants
/// <summary>
/// Утверждение "Role".
... | 1.975957 | 3bd7122bc013c23615b9290d82828043 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74620 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jotask/SpaceShooter",
"max_stars_repo_path": "Assets/world/NoiseGenerator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74621"
} | starcoder | using UnityEngine;
public static class NoiseGenerator {
public enum NormalizeMode {Local, Global}
public static float[] GenerateNoise(int resolution, int seed, float scale, int octaves, float persistance, float lacunarity, float offset) {
float[] noiseMap = new float[resolution];
... | 2.760812 | 576120d33939ac58f4a5c26930eec390 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74621 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Jojdzino/ooans",
"max_stars_repo_path": "OOANS/Memento/MessageMementoCaretaker.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74622"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OOANS.Memento
{
public class MessageMementoCaretaker
{
public int StackSize = 10;
private IList<MessageDTO> _stack;
public MessageDTO GetMemento(int index)
... | 2.819731 | 5eb5219b470c591656f258bb98a87245 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74622 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "masastack/MASA.Auth",
"max_stars_repo_path": "src/Services/Masa.Auth.Service.Admin/Infrastructure/EntityConfigurations/Subjects/TeamEntityTypeConfiguration.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74623"
} | starcoder | <gh_stars>1-10
// Copyright (c) MASA Stack All rights reserved.
// Licensed under the Apache License. See LICENSE.txt in the project root for license information.
namespace Masa.Auth.Service.Admin.Infrastructure.EntityConfigurations.Subjects;
public class TeamEntityTypeConfiguration : IEntityTypeConfiguration<Team>
... | 1.748533 | fe659cdbf576881339aaf730ef4c2bb4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74623 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "EIDSS/EIDSS-Legacy",
"max_stars_repo_path": "EIDSS v5/eidss.webclient/Areas/HerdEpi/Views/Flock/SpeciesDetail.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:74624"
} | starcoder | @model eidss.model.Schema.VetFarmTree
@{
ViewBag.Title = "Add New Species";
Layout = "~/Views/Shared/_EmptyLayout.cshtml";
}
<script src="../../../../Scripts/jquery.form.js" type="text/javascript"></script>
<script type="text/javascript">
$(document).ready(function () {
$('form').ajaxForm(f... | 2.014797 | d0074a8d468c3cf586f4ce2eb2bac07f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74624 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "George221b/SoftUni-Taks",
"max_stars_repo_path": "C#Advanced/06.RegularExpressionsExercise/04.ReplaceATag/ReplaceATag.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74625"
} | starcoder | using System;
using System.Text.RegularExpressions;
namespace _04.ReplaceATag
{
public class ReplaceATag
{
public static void Main()
{
var htmlLine = Console.ReadLine();
string pattern = @"(<a)(\s+href="".*"")(>)(.*)(<\/a>)";
Regex regex = new Regex(pattern)... | 3.160412 | 5f63285a72f962384ebff92c68030456 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74625 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "haise0/reAtomizer",
"max_stars_repo_path": "dnSpy.Contracts/Files/TreeView/Resources/ImageListOptions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74626"
} | starcoder | /*
Copyright (C) 2014-2016 <EMAIL>
This file is part of dnSpy
dnSpy is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version... | 2.345271 | 3258b2175a9392da877c2cd1cd0613ef |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74626 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TomaszKandula/EmailSender",
"max_stars_repo_path": "EmailSender.Services/EmailSender.Services.SenderService/SenderService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74627"
} | starcoder | #nullable enable
namespace EmailSender.Services.SenderService;
using System;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using System.Collections.Generic;
using Microsoft.EntityFrameworkCore;
using Models;
using SmtpService;
using Backend.Database;
using SmtpService.Models;
using Backend.C... | 2.443452 | bda66239ebf8428d932f522c47fb0db6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74627 | {
"extension": "c-sharp",
"max_stars_count": "16.0",
"max_stars_repo_name": "allisterb/Expect.NET",
"max_stars_repo_path": "ExampleAppTests/PingTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74628"
} | starcoder | using ExpectNet;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Text.RegularExpressions;
namespace Ping.Tests
{
[TestClass()]
public class PingTests
{
[TestMethod()]
public void badOption()
{
//given
Session cmd = Expect.Spawn... | 2.563441 | 1af4a00092bf398f56294af885f20d6b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74628 | {
"extension": "c-sharp",
"max_stars_count": "34.0",
"max_stars_repo_name": "sagifogel/NCop",
"max_stars_repo_path": "NCop.Core/PropertyMap.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74629"
} | starcoder | <reponame>sagifogel/NCop<filename>NCop.Core/PropertyMap.cs
using System;
using System.Reflection;
namespace NCop.Core
{
public class PropertyMap : MemberMap<PropertyInfo>, IPropertyMap
{
public PropertyMap(Type serviceType, Type concreteType, PropertyInfo contractProperty, PropertyInfo implementationP... | 1.690978 | cdea125d303d1cc3985ff9d3d8579d62 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74629 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "DreamPrism/Starver",
"max_stars_repo_path": "NPCSystem/NPCs/ElfHeliEx.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74630"
} | starcoder | <filename>NPCSystem/NPCs/ElfHeliEx.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Terraria;
using Terraria.ID;
using Microsoft.Xna.Framework;
namespace Starvers.NPCSystem.NPCs
{
using Debug = System.Diagnostics.Debug;
using Vector = TOFOU... | 2.151165 | ab58331269f3e1f2e4bb065d9aab7036 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74630 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TRexStark/OEmbed-Picker-Property-Editor",
"max_stars_repo_path": "src/Dawoe.OEmbedPickerPropertyEditor/Configuration/OEmbedPickerConfigurationEditor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74631"
} | starcoder | namespace Dawoe.OEmbedPickerPropertyEditor.Configuration
{
using Umbraco.Core.PropertyEditors;
/// <summary>
/// Represents the configuration editor for the OEmbed picker
/// </summary>
internal class OEmbedPickerConfigurationEditor : ConfigurationEditor<OEmbedPickerConfiguration>
{
//... | 1.826023 | 0955c162d5ac0c19ffd4afa997a1bfad |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74631 | {
"extension": "c-sharp",
"max_stars_count": "173.0",
"max_stars_repo_name": "watfordgnf/mycouch",
"max_stars_repo_path": "source/projects/MyCouch/Serialization/Conventions/SerializationConventions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74632"
} | starcoder | using MyCouch.Extensions;
namespace MyCouch.Serialization.Conventions
{
public class SerializationConventions
{
public ISerializationConvention DocType { get; set; }
public ISerializationConvention DocNamespace { get; set; }
public ISerializationConvention DocVersion { get; set; }
... | 2.408867 | 99bd98ef0d9686f5cd46724431caa100 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 74632 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "rusbasan/CvsntGitImporter",
"max_stars_repo_path": "CvsntGitImporter/CommitBuilder.cs",
"provenance": "train-00000-of-00045.jsonl.gz:74633"
} | starcoder | <reponame>rusbasan/CvsntGitImporter
/*
* <NAME> <<EMAIL>>
* Copyright (c) Cambridge Technology Consultants Ltd. All rights reserved.
*/
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text.RegularExpressions;
namespace CTC.CvsntGitImporter
{
/// <summa... | 2.322624 | 27548b99601b556cfcb95c40012eb145 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.