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 | 8843812 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "willwolfram18/warcraft",
"max_stars_repo_path": "src/ArgentPonyWarcraftClient/Models/GameDataApi/Achievement/CategoryProgress.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163032"
} | starcoder | using Newtonsoft.Json;
namespace ArgentPonyWarcraftClient
{
/// <summary>
/// Progress in an achievement category for a character.
/// </summary>
public class CategoryProgress
{
/// <summary>
/// Gets a reference to the achievement category.
/// </summary>
[JsonProp... | 2.567059 | d1b8704aea716142675b54e44456b3d1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843813 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "latedude2/P5Game",
"max_stars_repo_path": "Assets/Scripts/BeeAngryController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163033"
} | starcoder | <gh_stars>1-10
using UnityEngine;
using System.Collections.Generic;
using UnityEngine.AI;
using System.Collections;
public class BeeAngryController : MonoBehaviour
{
public Transform player;
public float beeBaseSpeed;
private float distanceBeeToPlayer;
public int minDist = 2;
public int minSpeed =... | 2.319993 | 9118206266a4808ded8a7b4210b017de |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843814 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "dicehead3/Kaartenbak",
"max_stars_repo_path": "Domain/AbstractRepositories/IUserRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163034"
} | starcoder | <gh_stars>1-10
using Domain.BaseObjects;
using Domain.Users;
namespace Domain.AbstractRepositories
{
public interface IUserRepository: IRepository<User>
{
User Create(User user);
bool EmailExists(string email);
}
}
| 1.85612 | c530b14b4ac1f1b909d11aec3c945c32 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843815 | {
"extension": "c-sharp",
"max_stars_count": "66.0",
"max_stars_repo_name": "jBijsterboschNL/Prism.Maui",
"max_stars_repo_path": "tests/Prism.Maui.Tests/Mocks/ViewModels/PageMockViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163035"
} | starcoder | namespace Prism.Maui.Tests.Mocks.ViewModels
{
public class PageMockViewModel : ViewModelBase
{
}
}
| 0.710676 | bf822b7417c2687b4bfa19af3d3f4494 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843816 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "imbatony/XTools",
"max_stars_repo_path": "src/XTools.Database.Migrations/Migrations/20210915090045_v1.0.0.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163036"
} | starcoder | using System;
using Microsoft.EntityFrameworkCore.Migrations;
namespace XTools.Database.Migrations.Migrations
{
public partial class v100 : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.CreateTable(
name: "Role",
... | 2.230536 | c4cb86fd7a8e9c5ee3eb0b3f917f8e07 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843817 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tonkatawe/SoftUni-Advanced",
"max_stars_repo_path": "OOP/Encapsulation - Exercise/FootballTeamGenerator/Player.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163037"
} | starcoder | using System;
using System.Collections.Generic;
using System.Reflection.Metadata.Ecma335;
using System.Text;
namespace FootballTeamGenerator
{
public class Player
{
private string name;
private Stat stats;
public Player(string name, Stat stats)
{
this.Name = name;
... | 3.021284 | f8102a12ed371899870c9669ff0df3e0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843818 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "bizcad/LeanJJN",
"max_stars_repo_path": "Algorithm.CSharp/JJAlgorithms/ITrendAlgorithm/LoggingITrendAlgorithm.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163038"
} | starcoder | /*
* A special class which adds Custom Logging for comparison with InstantaneousTrendAlgorithm
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Text;
using QuantConnect.Algorithm.Examples;
using QuantConnect.Data.Market;
using QuantConne... | 2.039433 | 2a6a0fd69acecd0f5d408791291b5523 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843819 | {
"extension": "c-sharp",
"max_stars_count": "154.0",
"max_stars_repo_name": "microposmp/OrchardCore.Commerce",
"max_stars_repo_path": "OrchardCore.Commerce/Migrations/ProductMigrations.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163039"
} | starcoder | <reponame>microposmp/OrchardCore.Commerce
using OrchardCore.ContentManagement.Metadata.Settings;
using OrchardCore.ContentManagement.Metadata;
using OrchardCore.Data.Migration;
using OrchardCore.Commerce.Indexes;
using YesSql.Sql;
namespace OrchardCore.Commerce.Migrations
{
/// <summary>
/// Adds the product p... | 2.084486 | 8d763b3eef33d1fcb78ce47e22f75ef5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843820 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "phanhoanganh9x/ANNsys",
"max_stars_repo_path": "IM_PJ/them-moi-noi-den-nha-xe.aspx.designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163040"
} | starcoder | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//---------------------------------... | 1.158918 | ac2a95a4cb7e451452be47ceed276b63 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843821 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "vrenken/EtAlii.Generators",
"max_stars_repo_path": "Source/EtAlii.Generators.MicroMachine.Tests/StateMachines/ParameterStateMachine.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163041"
} | starcoder | <gh_stars>1-10
namespace EtAlii.Generators.MicroMachine.Tests
{
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Runtime.CompilerServices;
public class ParameterStateMachine : ParameterStateMachineBase
{
public List<string> Transitions { get; } = ... | 2.208861 | 8c4a36f438f60f91c176a0de6e36cdb1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843822 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "KKozlowski/TechnologieProgramowania2015",
"max_stars_repo_path": "ZAD2/AdventureWorksTests/AdventureViewerTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163042"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using AdventureWorks;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace AdventureWorks.Tests {
[TestClass()]
public class AdventureViewerTests {
[TestMethod()]
public ... | 2.451036 | 0418146c3023f687cf3dc63d4cd9b471 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843823 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "CoolGoose/JsonApiDotNetCore",
"max_stars_repo_path": "src/Examples/JsonApiDotNetCoreExample/Models/Entities/CourseEntity.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163043"
} | starcoder | <filename>src/Examples/JsonApiDotNetCoreExample/Models/Entities/CourseEntity.cs
using JsonApiDotNetCore.Models;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace JsonApiDotNetCoreExample.Models.Entities
{
[Table("Course")]
... | 2.562845 | 8a9118c3b9154c5d9ca9522c70ad83c2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843824 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ckarcz/Strata.ConvertedToCSharp",
"max_stars_repo_path": "modules/product/src/main/java/com/opengamma/strata/product/swap/FxResetNotionalExchange.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163044"
} | starcoder | <filename>modules/product/src/main/java/com/opengamma/strata/product/swap/FxResetNotionalExchange.cs
using System;
using System.Collections.Generic;
using System.Text;
/*
* Copyright (C) 2015 - present by OpenGamma Inc. and the OpenGamma group of companies
*
* Please see distribution for license.
*/
namespace com... | 2.002897 | 4e9da7076e127bf814b02d2bc34ada9b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843825 | {
"extension": "c-sharp",
"max_stars_count": "35.0",
"max_stars_repo_name": "mvondracek/NetfoxDetective",
"max_stars_repo_path": "Framework/CaptureProcessor/L7Tracking/CustomCollections/FramesSequenceNumberSortedCollection.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163045"
} | starcoder | // Copyright (c) 2017 <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 writin... | 1.863361 | 648a62db4a2947a7cc13bf63127f3417 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843826 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "adwalkz/OnlineInstituteManagementSystem",
"max_stars_repo_path": "TeacherAttendance.aspx.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163046"
} | starcoder | <gh_stars>1-10
using System;
using System.Web.UI.WebControls;
using System.Data;
using System.Data.SqlClient;
using System.Configuration;
namespace AkaarInstitute
{
public partial class TeacherAttendance : System.Web.UI.Page
{
SqlConnection conn = new SqlConnection(ConfigurationManager.AppSe... | 2.636848 | 51063d80d31beaddad8a84744b04391d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843827 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "LigangSun/AppCenter",
"max_stars_repo_path": "source/AppCenter/GadgetCenter/Data/AppItem.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163047"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Media.Imaging;
using SoonLearning.AppCenter.Data;
using SoonLearning.AppCenter.Interfaces;
using System.IO;
using System.Reflection;
namespace SoonLearning.AppCenter.Data
{
public class AppItem :... | 2.111291 | 31ec5bd51e902632731a9e3ac402c1c4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843828 | {
"extension": "c-sharp",
"max_stars_count": "30.0",
"max_stars_repo_name": "SardineFish/MAJIKA",
"max_stars_repo_path": "Assets/Scripts/PlayerState/AnimatedState.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163048"
} | starcoder | <reponame>SardineFish/MAJIKA
using UnityEngine;
using System.Collections;
public class AnimatedState : EntityState
{
public AudioClip SoundEffect;
public RuntimeAnimatorController AnimatorController;
public string TriggerName = "";
public override bool OnEnter(GameEntity entity, EntityState ... | 2.193344 | e78c17f54f1569750c24631c5737637f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843829 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "goonjja/minimdb",
"max_stars_repo_path": "MiniMdb.Backend/Helpers/CacheKeys.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163049"
} | starcoder | <reponame>goonjja/minimdb
namespace MiniMdb.Backend.Helpers
{
public static class CacheKeys
{
public static string MediaTitle(long id) => $"MediaTitle_{id}";
}
}
| 1.130656 | 4d15169703c35f333b8096ae713543ff |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843830 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SkillsFundingAgency/dfc-personalisation-mystc-app",
"max_stars_repo_path": "DFC.App.MatchSkills.Application.Test/Models/UsSkillTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163050"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Text;
using DFC.App.MatchSkills.Application.Session.Models;
using DFC.Personalisation.Domain.Models;
using FluentAssertions;
using NUnit.Framework;
namespace DFC.App.MatchSkills.Application.Test.Models
{
[TestFixture]
public class Equals... | 2.248644 | 62e4d3643645efc4a942aa49c4b3194d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843831 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sdrmaps/dotspatial",
"max_stars_repo_path": "Source/DotSpatial.Symbology/IRasterSymbolizer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163051"
} | starcoder | <gh_stars>0
// ********************************************************************************************************
// Product Name: DotSpatial.Symbology.dll
// Description: The core libraries for the DotSpatial project.
//
// ************************************************************************************... | 2.150475 | 0da51d6b34107a8fb98cfa5526d0214d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843832 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "strangerattractor/Soundvision",
"max_stars_repo_path": "SOUNDVISION_PUBLIC/Assets/Scripts/PdConnection/MidiLogger.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163052"
} | starcoder | using UnityEngine;
namespace cylvester
{
public class MidiLogger : MonoBehaviour
{
[SerializeField] private bool logAll;
[SerializeField] private bool logFiltered;
[SerializeField, Range(128, 255)] private int filterStatusByte = 128;
public void OnMidiMessageReceived(M... | 2.530546 | 61fd5cf42824f6681b2c2c2600c3f599 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843833 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Mehigh17/CryptoBot",
"max_stars_repo_path": "CryptoBot/General/Module/CurrencyTrackerModule.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163053"
} | starcoder | using CryptoBot.Commands.Attribute;
using CryptoBot.Commands.Interface;
using CryptoBot.Core.General.Interface;
using Discord.WebSocket;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace CryptoBot.Core.General.Module
{
public class CurrencyTrackerModule : I... | 2.876942 | 49b98a164e1d30621c92dfea64a8e377 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843834 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Abzylicious/advent-of-code-2019",
"max_stars_repo_path": "AdventOfCode/Computer/Opcode.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163054"
} | starcoder | <filename>AdventOfCode/Computer/Opcode.cs<gh_stars>0
namespace AdventOfCode.Computer
{
public enum Opcode
{
Add = 1,
Multiply = 2,
Write = 3,
Output = 4,
JumpIfTrue = 5,
JumpIfFalse = 6,
LessThan = 7,
Equals = 8,
ModifyOffset = 9,
... | 2.325183 | 4bf1595c371ba6735bb8100244e9eba6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843835 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tudelft3d/pg2b3dm",
"max_stars_repo_path": "src/b3dm.tileset/BoundingBoxRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163055"
} | starcoder | <filename>src/b3dm.tileset/BoundingBoxRepository.cs
using System;
using System.Collections.Generic;
using System.Data;
using System.Globalization;
using Npgsql;
using Wkb2Gltf;
using Wkx;
namespace B3dm.Tileset
{
public static class BoundingBoxRepository
{
public static bool HasFeaturesInBox(NpgsqlCon... | 2.433243 | 9230ab190f4429ab6e892ffbfbd7dff7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843836 | {
"extension": "c-sharp",
"max_stars_count": "604.0",
"max_stars_repo_name": "juliuming/my-core2d",
"max_stars_repo_path": "src/Core2D/Views/Path/PathSizeView.axaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163056"
} | starcoder | using Avalonia.Controls;
using Avalonia.Markup.Xaml;
namespace Core2D.Views.Path;
public class PathSizeView : UserControl
{
public PathSizeView()
{
InitializeComponent();
}
private void InitializeComponent()
{
AvaloniaXamlLoader.Load(this);
}
} | 1.488053 | 7e13d489ed9a35896e2246955d43fc1e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843837 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "viirya/Pyrolite",
"max_stars_repo_path": "dotnet/Razorvine.Pyrolite/NamingExample/TestNaming.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163057"
} | starcoder | /* part of Pyrolite, by <NAME> (<EMAIL>) */
using System;
using Razorvine.Pyro;
// ReSharper disable CheckNamespace
namespace Pyrolite.TestPyroNaming
{
/// <summary>
/// Test Pyro with the Pyro name server.
/// </summary>
public static class TestNaming {
private static readonly byte[] HmacKey = null;
public stati... | 2.326934 | 894a7406d00bdd20e92c561d729903c4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843838 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "smael123/RestaurantWebsite",
"max_stars_repo_path": "RestaurantWebsite/Persistence/Repositories/Repository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163058"
} | starcoder | using RestaurantWebsite.Core.Repositories;
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Linq.Expressions;
using System.Threading.Tasks;
using System.Web;
namespace RestaurantWebsite.Persistence.Repositories
{
public class Repository<TEntity> : IReposito... | 2.889403 | 33386d56a79ce8e29cef2b2d76f43e1b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843839 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "FolkerKinzel/Strings",
"max_stars_repo_path": "src/FolkerKinzel.Strings.Tests/CharExtensionTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163059"
} | starcoder | using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace FolkerKinzel.Strings.Tests;
[TestClass]
public class CharExtensionTests
{
[TestMethod]
public void IsDecimalDigitTest1()
{
for (int i = 0; i < 10; i++)
{
Assert.IsTrue(i.ToString()[0].IsDecimalDigit());
}
... | 2.795799 | 7f06e2068c3f943a954d324f012185e0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843840 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "shanon-hs/ReactiveProperty",
"max_stars_repo_path": "Sample/UWP.TodoMVVM/Services/TodoService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163060"
} | starcoder | <filename>Sample/UWP.TodoMVVM/Services/TodoService.cs<gh_stars>0
using System;
using System.Reactive.Linq;
using Reactive.Bindings.Extensions;
using UWP.TodoMVVM.Models;
using UWP.TodoMVVM.ViewModels;
namespace UWP.TodoMVVM.Services
{
class TodoService
{
private TodoManager TodoManager { get; }
... | 2.412776 | bc77eec5bca43074918ce0915ad2555e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843841 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "panosru/CleanDDDArchitecture",
"max_stars_repo_path": "Domains/Todo/Infrastructure/Persistence/ModelBuilderExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163061"
} | starcoder | namespace CleanDDDArchitecture.Domains.Todo.Infrastructure.Persistence
{
using Core.Entities;
using Microsoft.EntityFrameworkCore;
internal static class ModelBuilderExtensions
{
public static void Seed(this ModelBuilder modelBuilder)
{
modelBuilder.Entity<TodoListEntity>()
... | 2.489134 | c2a0e3937f0741e8ab3da51bc9eb3cf5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843842 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ZyuDev/Otus.CSharp.HW7",
"max_stars_repo_path": "HW7.App/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163062"
} | starcoder | using System;
using System.Collections.Generic;
using System.IO;
using System.Threading;
namespace HW7.App
{
class Program
{
private static bool _flagDone;
static void Main(string[] args)
{
var folderName = "Documents";
var waintingInterval = 10000;
... | 3.027082 | 60cfdc3facb15435f4f43fcb42976273 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843843 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Oreder/databaseFullCourse",
"max_stars_repo_path": "SQL 4/Triggers/Triggers/TriggerInsertDemo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163063"
} | starcoder | using System.Data;
using System.Data.SqlClient;
using System.Text.RegularExpressions; // Regex
using Microsoft.SqlServer.Server;
public class TriggerInsertDemo
{
[SqlTrigger(Event = "FOR INSERT", Name = "UserNameAudit", Target = "Users")]
public static void UserNameAudit()
{
SqlTriggerContext tr... | 2.560872 | 1a2a0f1b7ab13e2ca55d165fb8df8380 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843844 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "tianfengs/AbpPractice",
"max_stars_repo_path": "ArtOfUT/LogAn.UnitTests/MemCalculatorTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163064"
} | starcoder | <reponame>tianfengs/AbpPractice<gh_stars>1-10
using NUnit.Framework;
namespace LogAn.UnitTests
{
[TestFixture]
public class MemCalculatorTests
{
/*测试方法名 命名规则 UnitOfWork]_[Scenario]_[ExpectedBehavior]*/
/// <summary>
/// 从最简单的测试开始
/// </summary>
[Test]
publi... | 2.781673 | a4f1fdaa4ec037c52577d29115fae812 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843845 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "seifallahmedini/WebApiDotNet6",
"max_stars_repo_path": "Models/Requests/UpdateUserStatusRequest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163065"
} | starcoder | namespace WebApi.Models.Requests
{
public class UpdateUserStatusRequest
{
private bool _enabled;
public bool Enabled { get => _enabled; set => _enabled = (bool)replaceEmptyBoolWithNull(value); }
private bool? replaceEmptyBoolWithNull(bool? value)
{
// replace empt... | 2.620175 | 51fb14e9f70d4f44c7114fe0e3b2d95d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843846 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AndrewPrigorshnev/huffman",
"max_stars_repo_path": "c-sharp/Huffman.Codec.Tests/IO/BitReaderTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163066"
} | starcoder | <filename>c-sharp/Huffman.Codec.Tests/IO/BitReaderTests.cs
using System;
using System.IO;
using System.Text;
using FluentAssertions;
using Huffman.Codec.IO;
using Xunit;
namespace Huffman.Codec.Tests.IO
{
public class BitReaderTests
{
[Theory]
[InlineData(new byte[] {1}, "0000000... | 2.917295 | c0ac8092ab2812b7523913762e874f7a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843847 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "v-khdumi/Mearcury",
"max_stars_repo_path": "aspnet-core/src/Mearcury.Core/MearcuryConsts.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163067"
} | starcoder | namespace Mearcury
{
public class MearcuryConsts
{
public const string LocalizationSourceName = "Mearcury";
public const string ConnectionStringName = "Default";
public const bool MultiTenancyEnabled = true;
}
}
| 1.43863 | 7e7970cbfd10de8b508add431df7c298 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843848 | {
"extension": "c-sharp",
"max_stars_count": "46.0",
"max_stars_repo_name": "fr1tz/alux3d",
"max_stars_repo_path": "Templates/Full/game/art/shapes/weapons/ProxMine/fp_proxMineAnims.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163068"
} | starcoder | <gh_stars>10-100
// Copyright information can be found in the file named COPYING
// located in the root directory of this distribution.
// BEGIN: ProxMine Sequences
%this.addSequence("art/shapes/weapons/ProxMine/FP_ProxMine.DAE run", "ProxMine_run");
%this.addSequence("art/shapes/weapons/ProxMine/FP_Prox... | 1.807217 | 3b8bb68656f568706f235d8cabf912e8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843849 | {
"extension": "c-sharp",
"max_stars_count": "28.0",
"max_stars_repo_name": "mattmc3/dotmore",
"max_stars_repo_path": "dotmore/Collections/Generic/KeyValueComparisonHelper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163069"
} | starcoder | <reponame>mattmc3/dotmore<filename>dotmore/Collections/Generic/KeyValueComparisonHelper.cs
using System;
using System.Collections.Generic;
using System.Linq;
namespace mattmc3.dotmore.Collections.Generic {
internal class KeyValueComparisonHelper<TKey, TValue> : IComparer<KeyValuePair<TKey, TValue>> {
publi... | 3.043186 | ac556a3c104c05e92d2b8ee7f00be645 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843850 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "vas-ang/BeHealthy",
"max_stars_repo_path": "src/Web/BeHealthy.Web/Controllers/RatingsController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163070"
} | starcoder | <reponame>vas-ang/BeHealthy<gh_stars>0
namespace BeHealthy.Web.Controllers
{
using System.Threading.Tasks;
using BeHealthy.Data.Models;
using BeHealthy.Services.Data.Exercises;
using BeHealthy.Services.Data.Ratings;
using BeHealthy.Web.Dtos.Ratings.InputModels;
using BeHealthy.Web.Dtos.Ratings... | 2.033148 | c9f131bd0c1d5983479b26435ba5494e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843851 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "yoongamee/Goranee",
"max_stars_repo_path": "GamePlayComponent/StraightLineMove.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163071"
} | starcoder | using System;
using UnityEngine;
using System.Collections;
public class StraightLineMove : baseObjectMove
{
public StraightLineMove(float speed)
{
Speed = speed;
}
private StraightLineMove()
{
}
override public Vector3 Update(Vector3 nowTransform, float deltaTime)
... | 2.394988 | fef3beb02f6ecef0df6ecfee8b98e238 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843852 | {
"extension": "c-sharp",
"max_stars_count": "72.0",
"max_stars_repo_name": "azsdaja/Osnowa",
"max_stars_repo_path": "Assets/Scripts/GameLogic/AI/SkillEvaluation/SkillEvaluator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163072"
} | starcoder | namespace GameLogic.AI.SkillEvaluation
{
using Model;
using UnityEngine;
public abstract class SkillEvaluator : ScriptableObject
{
public abstract float EvaluateSkill(ISkillEvaluationContext context, Skill skill, GameEntity entity);
}
} | 1.743502 | 52d8a5af3f22c68863fbb5693df0b08f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843853 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "danailstratiev/Csharp-SoftUni-Development",
"max_stars_repo_path": "Csharp Advanced/05. Defining Classes/P07_Speed_Racing/SpeedRacing.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163073"
} | starcoder | <gh_stars>0
using System;
using System.Linq;
using System.Collections.Generic;
namespace P07_Speed_Racing
{
public class SpeedRacing
{
public static void Main(string[] args)
{
int n = int.Parse(Console.ReadLine());
var cars = new List<Car>();
for (int i = 0;... | 3.372844 | 2a304e8e9070b17c1913b612360ebfa8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843854 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "asmodat/AWSLauncher",
"max_stars_repo_path": "Processing.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163074"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Amazon.EC2.Model;
using Amazon.Lambda.Core;
using AsmodatStandard.Extensions;
using AsmodatStandard.Extensions.Collections;
using AsmodatStandard.Extensions.Threading;
using AWSLauncher.Models.Infrastructure;
using G... | 2.510956 | 9ec7b3c81b32b52d63705b9930148889 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843855 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Seaqqull/unity-weapon",
"max_stars_repo_path": "UnityWeapon/Assets/Scripts/BaseMonoBehaviour.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163075"
} | starcoder | using UnityEngine;
public class BaseMonoBehaviour : MonoBehaviour
{
public GameObject GameObj { get; private set; }
public Transform Transform { get; private set; }
public Vector3 Position => Transform.position;
public Vector3 Forward => Transform.forward;
public Quaternion Rotation
{
... | 2.301335 | 9c4a667e28324bb8b6c2bf49ceb33e0f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843856 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Liu233w/Library",
"max_stars_repo_path": "src/Library.Application/LibraryService/Dto/BroadcastNotificationDto.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163076"
} | starcoder | <gh_stars>1-10
using System;
namespace Library.LibraryService.Dto
{
/// <summary>
/// 某一项通知
/// </summary>
public class BroadcastNotificationDto
{
public Guid NotificationId { get; set; }
public string Publisher { get; set; }
public DateTime PublishTime { get; set; }
... | 1.678903 | 292c36c5f3b45ea4a41f38f853b8db24 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843857 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "exocad/exoAlphaFS",
"max_stars_repo_path": "AlphaFS/Filesystem/Enumerations/FinalPathFormats.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163077"
} | starcoder | <filename>AlphaFS/Filesystem/Enumerations/FinalPathFormats.cs
/* Copyright (C) 2008-2015 <NAME>, <NAME>, <NAME>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restricti... | 2.416198 | cd60851d158dc8f02412dbd109115897 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843858 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "AndreasBlom/TSS",
"max_stars_repo_path": "TESS/Models/view_CustomerContact.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163078"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Data.SqlClient;
using System.Linq;
using System.Web;
namespace TietoCRM.Models
{
public class view_CustomerContact : SQLBaseClass
{
private int id;
public int _ID { get { return id; } set { id = value; } }
... | 2.645198 | e6b4bbc744511fa357e22611fff34a3f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843859 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dhq-boiler/Homura",
"max_stars_repo_path": "Homura/QueryBuilder/Iso/Dml/Transitions/IAsTransition.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163079"
} | starcoder | <filename>Homura/QueryBuilder/Iso/Dml/Transitions/IAsTransition.cs
using Homura.QueryBuilder.Iso.Dml.Syntaxes;
namespace Homura.QueryBuilder.Iso.Dml.Transitions
{
public interface IAsTransition
{
IAsSyntax As(string columnAlias);
}
}
| 1.465022 | dc9fc33996348e17f5d812f0b4ae03a9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843860 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Orange23333/FreeloadMap",
"max_stars_repo_path": "FreeloadMap.Lib/Data/StudentInfo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163080"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using CsvHelper.Configuration.Attributes;
using Newtonsoft.Json;
namespace FreeloadMap.Lib.Data
{
[JsonObject(MemberSerialization.OptIn)]
public class StudentInfo
{
// 用于区分相同名称和相同学校的人。
[JsonProperty(name... | 2.62163 | dae1478dd5f22ded58d30541f2e9d68a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843861 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "marve/Artifex",
"max_stars_repo_path": "Core/Parcel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163081"
} | starcoder | <filename>Core/Parcel.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Core
{
public abstract class Parcel
{
}
}
| 1.507843 | dd01841b9a5b76e9413aaf45e75b56eb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843862 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Battleman/StartHack2k17",
"max_stars_repo_path": "star hack/Assets/playerBehaviour.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163082"
} | starcoder | <reponame>Battleman/StartHack2k17
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class playerBehaviour : MonoBehaviour {
// Use this for initialization
void Start () {
}
void update() {
print("Mouse moved left");
}
// Update is called once per frame
void OnMouseDo... | 1.909061 | 72cf383175f4a09d0712a7cb7375dfd4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843863 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "luchaofan1989/Prism",
"max_stars_repo_path": "Source/Xamarin/Prism.DryIoc.Forms.Tests/Mocks/Services/IDryIocServiceMock.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163083"
} | starcoder | <reponame>luchaofan1989/Prism
namespace Prism.DryIoc.Forms.Tests.Mocks.Services
{
public interface IDryIocServiceMock
{
}
public class DryIocServiceMock : IDryIocServiceMock
{
}
} | 0.840911 | 81a62038f89ed6e56eb53b948234129a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843864 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "cmccandless/ExercismSolutions-csharp",
"max_stars_repo_path": "prime-factors/PrimeFactors.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163084"
} | starcoder | using System;
using System.Collections.Generic;
public static class PrimeFactors
{
private static IEnumerable<int> Primes()
{
var notPrime = new bool[1024];
notPrime[0] = notPrime[1] = true;
var start = 2;
while (notPrime.Length < int.MaxValue / 2)
{
... | 3.439528 | 84e407ef10442a0434b80af071def5a3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843865 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "cfanguy/MultipleObjectView",
"max_stars_repo_path": "SQLTableViews/SQLTableViews/Views/_ViewImports.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:163085"
} | starcoder | @using SQLTableViews
@using SQLTableViews.Models
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
| 1.767886 | a257407697bcade12f12829f05bdd7d0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843866 | {
"extension": "c-sharp",
"max_stars_count": "282.0",
"max_stars_repo_name": "kwokfu/BurningKnight",
"max_stars_repo_path": "BurningKnight/entity/item/use/ModifyGameSaveValueUse.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163086"
} | starcoder | <reponame>kwokfu/BurningKnight
using BurningKnight.save;
using ImGuiNET;
using Lens.entity;
using Lens.lightJson;
namespace BurningKnight.entity.item.use {
public class ModifyGameSaveValueUse : ItemUse {
private string id;
private float amount;
private bool over;
public override void Use(Entity en... | 1.95769 | 861a71a7eb92fb73846812cf36383fa7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843867 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "gokictech/UnityML",
"max_stars_repo_path": "lessons/game/resources/code-example/SectionSpawner_example.1.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163087"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class SectionSpawner : MonoBehaviour
{
public River river;
public GameObject sectionPrefab;
void Start()
{
}
void Update()
{
}
private GameObject SpawnSection(Vector3 position)
{
G... | 2.330536 | e4a108389308dd8c92717dac622300fc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843868 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MassivePixel/Sancho.XAMLParser",
"max_stars_repo_path": "src/Sancho.DOM.XamarinForms/ContentNodeProcessor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163088"
} | starcoder | <reponame>MassivePixel/Sancho.XAMLParser
// Copyright (c) <NAME>. All Rights Reserved. Licensed under the MIT License (MIT). See License.txt in the project root for license information.
using System.Linq;
using Sancho.DOM.Model;
using Serilog;
namespace Sancho.DOM.XamarinForms
{
public class ContentNodeProcess... | 2.518466 | cb2160adbd2ad09e773b3789f6038876 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843869 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "rampaa/JL",
"max_stars_repo_path": "JL.Core/Dicts/EDICT/JMnedict/JMnedictLoader.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163089"
} | starcoder | using System.Xml;
namespace JL.Core.Dicts.EDICT.JMnedict;
public static class JMnedictLoader
{
public static async Task Load(Dict dict)
{
if (File.Exists(dict.Path))
{
using XmlTextReader edictXml = new(dict.Path)
{
DtdProcessing = DtdProcessing.Parse,
... | 2.284224 | e32b76e99ba5160a746ee02cba460112 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843870 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Daxture/SSD365VSAddIn",
"max_stars_repo_path": "SSD365VSAddIn/SSD365VSAddIn/ShowTheLabel/ShowtheLabelMenuAddIn.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163090"
} | starcoder | using Microsoft.Dynamics.AX.Metadata.MetaModel;
using Microsoft.Dynamics.Framework.Tools.Extensibility;
using Microsoft.Dynamics.Framework.Tools.MetaModel.Automation;
using Microsoft.Dynamics.Framework.Tools.MetaModel.Automation.BaseTypes;
using Microsoft.Dynamics.Framework.Tools.MetaModel.Automation.Tables;
usin... | 2.343102 | fc098fe0e555759ddf49a9a55d9bb15c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843871 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "asasine/BehaviorTree.NET",
"max_stars_repo_path": "Tests/Runtime/Nodes/Decorator/RepeatUntilFailureNodeTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163091"
} | starcoder | using BehaviorTree.NET.Nodes.Action.Test;
using NUnit.Framework;
namespace BehaviorTree.NET.Nodes.Decorator.Test
{
[TestFixture]
public class RepeatUntilFailureNodeTests
{
[Test]
public void HaltCallsChildHalt()
{
var child = new ReturnXNode(NodeStatus.FAILURE);
... | 2.401582 | bf3d50f0e7d380398dbc024d69f5dfd3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843872 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "archgame/MixedLoop",
"max_stars_repo_path": "Assets/Citizens PRO/Editor/NewPathEditor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163092"
} | starcoder | <gh_stars>0
using UnityEngine;
using UnityEditor;
using System.Collections.Generic;
[CustomEditor(typeof(NewPath))]
public class NewPathEditor : Editor
{
public void OnSceneGUI()
{
NewPath _NewPath = target as NewPath;
if(!_NewPath.exit)
{
if(Event.current.type == EventType.MouseMove) SceneView.RepaintAll... | 2.301368 | 09f872a37f01c2fd06626b5041a1f69a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843873 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "stprior/fdgvectors",
"max_stars_repo_path": "mvectors.logic/SentenceLearner.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163093"
} | starcoder | <reponame>stprior/fdgvectors<filename>mvectors.logic/SentenceLearner.cs<gh_stars>1-10
using System;
using System.Linq;
using System.Text;
using mvectors.neuralnetwork;
namespace mvectors.logic
{
public class SentenceLearner
{
private WordVectors _vectors;
private Sentences _sentences;
... | 2.540024 | fdd39ceb9641d2199d1865f41d9a06f0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843874 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "spiegelp/NuniToolbox",
"max_stars_repo_path": "NuniToolbox.Test/Model/ModelObjectTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163094"
} | starcoder | <filename>NuniToolbox.Test/Model/ModelObjectTest.cs
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Text;
using Xunit;
using NuniToolbox.Model;
namespace NuniToolbox.Test.Model
{
public class ModelObjectTest
{
[Fact]
public void Test_PropertyChanged_... | 2.842156 | edab4244b0c27cc7e4f3f7e557eaec40 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843875 | {
"extension": "c-sharp",
"max_stars_count": "14.0",
"max_stars_repo_name": "ConstantinT/Lantern",
"max_stars_repo_path": "Lantern/AzResourceEnum.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163095"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace Lantern
{
public static class AzResourceEnum
{
public const string GraphAPI = "https://graph.windows.net";
public const string AzureMDM = "https://enrollment.manage.microsoft.com";
public const string Outlook ... | 1.344544 | 6ebe34cc6e215fd56fd6e70b67d59b8f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843876 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "masterzdran/dotnet-project-templates",
"max_stars_repo_path": "demo/step-04-Add-Swagger/Extended/Extended.WebApi/Extensions/IApplicationBuilderExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163096"
} | starcoder | using Microsoft.AspNetCore.Builder;
using Microsoft.Extensions.Configuration;
namespace Extended.WebApi.Extensions
{
public static class IApplicationBuilderExtensions
{
public static void UseCustomSwagger(this IApplicationBuilder app, IConfiguration configuration)
{
// Enable middle... | 2.221944 | 162f8bea2fc573a520130ce27c81da79 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843877 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "chi-rei-den/Silverfish",
"max_stars_repo_path": "cards/BRM/BRMA09/Sim_BRMA09_3t.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163097"
} | starcoder | <reponame>chi-rei-den/Silverfish
/* _BEGIN_TEMPLATE_
{
"id": "BRMA09_3t",
"name": [
"旧部落兽人",
"<NAME>"
],
"text": [
"<b>嘲讽</b>",
"<b>Taunt</b>"
],
"CardClass": "NEUTRAL",
"type": "MINION",
"cost": 1,
"rarity": null,
"set": "BRM",
"collectible": null,
"dbfId": 2348
}
_END_TEMPLATE... | 1.189698 | 71124d8574128be39dbe873faaebc856 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843878 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "GiGong/Memories",
"max_stars_repo_path": "Memories/Modules/Memories.Modules.EditBook/ViewModels/BookViewVM.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163098"
} | starcoder | <reponame>GiGong/Memories
using Memories.Business.Models;
using Memories.Core;
using Memories.Core.Extensions;
using Memories.Modules.EditBook.Enums;
using Prism.Commands;
using Prism.Mvvm;
using System.Collections.Specialized;
namespace Memories.Modules.EditBook.ViewModels
{
public class BookViewVM : BindableBas... | 2.141996 | de15865a9617c2a75bc87f764b48175e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843879 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dionisiusadjinugroho/Samples",
"max_stars_repo_path": "MonitoringPaintingYasunli/YasunliESModel/Models/Mapping/ReworkDetailMap.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163099"
} | starcoder | <reponame>dionisiusadjinugroho/Samples
using System.Data.Entity.ModelConfiguration;
namespace YasunliESModel.Models.Mapping
{
public class ReworkDetailMap : EntityTypeConfiguration<ReworkDetail>
{
public ReworkDetailMap()
{
// Primary Key
this.HasKey(t => t.ReworkDetailI... | 2.181578 | 7b373775b73f9681a21d32bcc8cad23f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843880 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "blendiahmetaj1/eSupremacy",
"max_stars_repo_path": "Sociatis/Views/Home/DisplayTemplates/HomeActiveBattleViewModel.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:163100"
} | starcoder | @model Sociatis.Models.Home.HomeActiveBattleViewModel
<div class="row">
<hr/>
<div class="small-6 medium-4 columns miniFlags">
<div class="centerHorizontalFlex">
@Html.DisplayFor(m => m.AttackerImage)
</div>
<div class="text-center">
@Model.AttackerName
... | 2.090802 | 6fbe507d9f210d19a13041df58aac3a8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843881 | {
"extension": "c-sharp",
"max_stars_count": "26.0",
"max_stars_repo_name": "faniereynders/rigadevdays-2018",
"max_stars_repo_path": "2-emotional-binder/EmotionalClient.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163101"
} | starcoder | <gh_stars>10-100
using Microsoft.Extensions.Configuration;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Text.Json;
using System.Threading.Tasks;
namespace AwesomeApi
{
public class EmotionalClient
{
private readonly HttpClient httpClient;
private readonly JsonSerializerOp... | 2.655485 | 4313b15153ee466afab7a44d437c5cc8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843882 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "katascope/Glyphics",
"max_stars_repo_path": "Glyphics/GlyphicsLibrary/Painters/Painters.CircleFilled.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163102"
} | starcoder | #region Copyright
/*Copyright (c) 2015, Katascope
All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this list of conditions and th... | 2.445125 | 602dc0e0e3c3739a11ea7b5e12f8300a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843883 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "drsmile1001/xamarin-practice",
"max_stars_repo_path": "MyApp/MyApp/Views/NoXamlTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163103"
} | starcoder | <filename>MyApp/MyApp/Views/NoXamlTest.cs
using System;
using Xamarin.Forms;
using ReactiveUI;
namespace MyApp.Views
{
public class NoXamlTest : ContentPage
{
public class State : ReactiveObject
{
private int _count;
public int Count
{
get =... | 2.970823 | a41c718a0abf74b6360e4eb1b8b466df |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843884 | {
"extension": "c-sharp",
"max_stars_count": "362.0",
"max_stars_repo_name": "hoerup/SolrNet",
"max_stars_repo_path": "SolrNet.Cloud/SolrCloudState.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163104"
} | starcoder | <gh_stars>100-1000
using System.Collections.Generic;
using System.Diagnostics.Contracts;
using System.Linq;
namespace SolrNet.Cloud {
/// <summary>
/// Represents cloud state
/// </summary>
public class SolrCloudState {
/// <summary>
/// State collections
/// </summary>
... | 2.571168 | dc70ddebb078d729c2fc9e8a16c68066 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843885 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "VinnieThePooh/NaughtyCat",
"max_stars_repo_path": "Plumsail.NaughtyCat.Web/Startup.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163105"
} | starcoder | <gh_stars>0
using System;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
using AutoMapper;
using Microsoft.AspNetCore.Authentication.JwtBearer;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.... | 1.841954 | 8c7de8995a3cb7e7031bccc2cfccb434 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843886 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "jonnyzzz/phd-project",
"max_stars_repo_path": "dsis/src/Functions/Function.Predefined/src/Brusselator/BrusselatorOptions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163106"
} | starcoder | <reponame>jonnyzzz/phd-project<filename>dsis/src/Functions/Function.Predefined/src/Brusselator/BrusselatorOptions.cs
using System;
using DSIS.Scheme.Objects.Systemx;
using DSIS.Utils.Bean;
namespace DSIS.Function.Predefined.Brusselator
{
[Serializable]
public class BrusselatorOptions : ISystemInfoParameters... | 1.581827 | 35d6ca395a8a1673802b8778e5d33838 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843887 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lurienanofab/sselindreports",
"max_stars_repo_path": "sselIndReports/AggNNIN2.aspx.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163107"
} | starcoder | <reponame>lurienanofab/sselindreports<filename>sselIndReports/AggNNIN2.aspx.cs<gh_stars>0
using GemBox.ExcelLite;
using LNF.CommonTools;
using LNF.Data;
using sselIndReports.AppCode;
using sselIndReports.AppCode.DAL;
using System;
using System.Configuration;
using System.Data;
using System.IO;
using System.Web;
using ... | 2.065769 | 2355031d581efdb3e23338af7675f339 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843888 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jonlave/compgeo",
"max_stars_repo_path": "CompGeo.Library/Primitives/Point2D.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163108"
} | starcoder | <gh_stars>0
using System;
namespace CompGeo.Library.Primitives
{
public class Point2D : IEquatable<Point2D>
{
public Point2D(double x, double y)
{
this.X = x;
this.Y = y;
}
/// <summary>
/// Gets or sets the X coordinate.
/// </summary>
... | 3.252372 | 2971c3482808d69fbeaa6f3aebb12845 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843889 | {
"extension": "c-sharp",
"max_stars_count": "81.0",
"max_stars_repo_name": "endink/Thrifty",
"max_stars_repo_path": "test/Swifty.Tests/TestModel/Codecs/IDerivedServiceOne.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163109"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Thrifty.Tests.Services.Codecs
{
[ThriftService("DerivedServiceOne")]
public interface IDerivedServiceOne : IBaseService
{
[ThriftMethod]
void FooOne();
}
}
| 1.466713 | 110d42eb99cc1ec21688a1fec077a99f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843890 | {
"extension": "c-sharp",
"max_stars_count": "17.0",
"max_stars_repo_name": "glachancecmaisonneuve/ImageMagickSharp",
"max_stars_repo_path": "ImageMagickSharp.Tests/BaseTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163110"
} | starcoder | <gh_stars>10-100
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.IO;
namespace ImageMagickSharp.Tests
{
public abstract class BaseTest
{
#region [Public Prop... | 2.184455 | 9c4502cc9efc6d7a5fd7ec19b25e6956 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843891 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TheBinaryLoop/BinaryTools",
"max_stars_repo_path": "BinaryTools.Extensions.Reflection/System.Reflection.FieldInfo/FieldInfoExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163111"
} | starcoder | <gh_stars>0
using System;
using System.Linq;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Text;
namespace BinaryTools.Extensions.Reflection
{
/// <summary>
/// A collection of helpful extension methods for the <see cref="FieldInfo"/> class.
/// </summary>
public static ... | 2.58241 | 3f8202f4ef38f2dba19e0bb3e36184d8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843892 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "a-kozhanov/codewars_csharp",
"max_stars_repo_path": "CodeWarsTests/7kyu/KookaCounterTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163112"
} | starcoder | using System;
using CodeWars;
using NUnit.Framework;
namespace CodeWarsTests
{
[TestFixture]
public class KookaCounterTests
{
private static object[] Basic_Test_Cases = new object[]
{
new object[] {String.Empty, 0},
new object[] {"hahahahaha", 1},
new ob... | 2.968553 | 000ef487dd67530f108a9c3100a3723f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843893 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "svetlimladenov/SimpleWebShop",
"max_stars_repo_path": "src/SimpleWebShop/Data/SimpleWebShop.Data.Models/OrderProduct.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163113"
} | starcoder | using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using SimpleWebShop.Data.Common.Models;
namespace SimpleWebShop.Data.Models
{
public class OrderProduct : BaseModel<string> // Many to Many - Order - Products
{
public string OrderId { get; s... | 2.096818 | f6a6d31ca4a37ffdfbb1f7ecc32e2b94 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843894 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "JoelHT-Landmark/CloudAudit",
"max_stars_repo_path": "CloudAudit.Client/Model/NoAuditData.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163114"
} | starcoder | <filename>CloudAudit.Client/Model/NoAuditData.cs
namespace CloudAudit.Client.Model
{
public sealed class NoAuditData
{
}
}
| 1.25636 | a8a392c50b08e0ea22abfece1cafaab1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843895 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ogaudefroy/WebFormsRouteUnitTester",
"max_stars_repo_path": "WebFormsRouteUnitTester.Tests/RequestInfoTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163115"
} | starcoder | namespace WebFormsRouteUnitTester.Tests
{
using System;
using System.Web;
using System.Web.Routing;
using NUnit.Framework;
[TestFixture]
public class RequestInfoTest
{
[Test]
public void CanAlterContext()
{
var routeCollection = new RouteCol... | 2.381391 | f108d915be95dc3ed5349d9d275e03d6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843896 | {
"extension": "c-sharp",
"max_stars_count": "174.0",
"max_stars_repo_name": "Dasync/Dasync",
"max_stars_repo_path": "src/Communication/InMemory/DI.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163116"
} | starcoder | <reponame>Dasync/Dasync<filename>src/Communication/InMemory/DI.cs
using System.Collections.Generic;
using Dasync.DependencyInjection;
using Dasync.EETypes.Communication;
using Microsoft.Extensions.DependencyInjection;
namespace Dasync.Communication.InMemory
{
public static class DI
{
public static rea... | 1.761079 | 4abb7c7202758dcbbd129d6e40721e0b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843897 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mono/workbooks",
"max_stars_repo_path": "Agents/Xamarin.Interactive/Representations/Point.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163117"
} | starcoder | <filename>Agents/Xamarin.Interactive/Representations/Point.cs
//
// Author:
// <NAME> <<EMAIL>>
//
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using Xamarin.Interactive.Serialization;
namespace Xamarin.Interactive.Representations
{
[Serializable... | 2.212032 | 9719b2370ced604b57799e726bda497b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843898 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "gongap/KissU.Microservice",
"max_stars_repo_path": "modules/identity/src/KissU.Modules.Identity.Service/Implements/UserLookupService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163118"
} | starcoder | using System.Threading.Tasks;
using KissU.Extensions;
using KissU.Modules.Identity.Service.Contracts;
using KissU.ServiceProxy;
using Volo.Abp.Identity;
using Volo.Abp.Users;
namespace KissU.Modules.Identity.Service.Implements
{
/// <summary>
/// Class UserLookupService.
/// Implements the <see cref="Prox... | 2.152719 | 395069d1681dc3cb320ed3d8cd88cae3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843899 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Dino0040/Fossil",
"max_stars_repo_path": "Scripts/PID/GenericPIDController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163119"
} | starcoder | using NaughtyAttributes;
namespace Fossil
{
/// <summary>
/// A (P)roportional, (I)ntegral, (D)erivative Controller
/// </summary>
/// <remarks>
/// The controller should be able to control any process with a
/// measureable value, a known ideal value and an input to the
/// process that wil... | 2.855083 | 35c0aa776c3944aae4efe2296b292193 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843900 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "liuyang-1990/BlogService",
"max_stars_repo_path": "src/Blog.Model/Db/FriendLink.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163120"
} | starcoder | using SqlSugar;
namespace Blog.Model.Db
{
[SugarTable("tbl_friend_link")]
public class FriendLink : BaseEntity
{
/// <summary>
/// 友链名称
/// </summary>
[SugarColumn(ColumnName = "link_name", Length = 20, IsNullable = false)]
public string LinkName { get; set; }
... | 2.226724 | fab649a3d30cbd0cafbbb1f5eaf745e2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843901 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "abeauchamp96/Link",
"max_stars_repo_path": "Link.Server/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163121"
} | starcoder | <reponame>abeauchamp96/Link
// Copyright (c) <NAME>. All rights reserved.
// Licensed under the MIT license.
using Link.Bot.Extensions;
using Link.Discord.Client.Extensions;
using Link.Server.Extensions;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.DependencyInject... | 1.566753 | 1488c6c8a616c136c180711a7f78baad |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843902 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "yamamoto2002/bitspersampleconv2",
"max_stars_repo_path": "WWMath/WWSlidingDFT.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163122"
} | starcoder | // 日本語。
using System;
using WWUtil;
namespace WWMath {
// <NAME>, Understanding Digital Signal Processing, 3 rd Ed., Pearson, 2011, pp. 744
public class WWSlidingDFT {
int mN;
SlidingDFTbin[] mBins;
Delay mDelayN;
/// <summary>
/// Sliding DFT
/// 注:この関数は、comp... | 2.767525 | a4625164473e01565bcc031d46a24d09 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843903 | {
"extension": "c-sharp",
"max_stars_count": "29.0",
"max_stars_repo_name": "lowedown/xConnectHelper",
"max_stars_repo_path": "XConnectHelper/Model/ServiceStatus.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163123"
} | starcoder | <filename>XConnectHelper/Model/ServiceStatus.cs
using System.Collections.Generic;
namespace Sitecore.SharedSource.XConnectHelper.Model
{
public class ServiceStatus
{
public ServiceStatus()
{
Messages = new List<string>();
}
public bool Error { get; set; }
p... | 2.023407 | 7223501ef9b6ed6d1733624da5da7a6c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843904 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AdminRoc/Xunkong",
"max_stars_repo_path": "src/Desktop/Extension/NotificationHelper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163124"
} | starcoder | <reponame>AdminRoc/Xunkong
using CommunityToolkit.WinUI.Notifications;
using Serilog;
namespace Xunkong.Desktop.Extension
{
internal static class NotificationHelper
{
public static void SendNotification(string title, string? message = null)
{
try
{
var ... | 2.282806 | aff93e071ada20434db1abcef017c512 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843905 | {
"extension": "c-sharp",
"max_stars_count": "38.0",
"max_stars_repo_name": "LaudateCorpus1/firebase-unity-sdk",
"max_stars_repo_path": "app/src/MonoPInvokeCallbackAttribute.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163125"
} | starcoder | <reponame>LaudateCorpus1/firebase-unity-sdk<filename>app/src/MonoPInvokeCallbackAttribute.cs
// Copyright 2019, Google Inc. 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 Licen... | 1.627984 | d7e12b2563eacc3414117d01fe868a83 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843906 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "codebutler/savagesvg",
"max_stars_repo_path": "src/SharpVectorObjectModel/SharpVectors/Dom/Svg/Basic types/SvgMatrix.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163126"
} | starcoder | using System;
using System.Drawing.Drawing2D;
namespace SharpVectors.Dom.Svg
{
/// <summary>
/// Summary description for SvgMatrix.
/// </summary>
/// <developer><EMAIL></developer>
/// <developer><EMAIL></developer>
public class SvgMatrix : ISvgMatrix
{
#region Private Fields
private double a;
... | 2.795681 | f59a3ad118c194b438ea6887e6736073 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843907 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pascalberger/sarif-website",
"max_stars_repo_path": "src/SarifWeb.UnitTests/Services/ValidationUiServiceTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163127"
} | starcoder | using System.Net.Http;
using System.Threading.Tasks;
using System.Web;
using FluentAssertions;
using Moq;
using SarifWeb.Models;
using SarifWeb.Services;
using SarifWeb.Utilities;
using Xunit;
namespace SarifWeb.UnitTests.Services
{
public class ValidationUiServiceTests
{
private const string WebSiteB... | 2.528588 | a0c2fb979b706c0af964b94dee381ae7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843908 | {
"extension": "c-sharp",
"max_stars_count": "184.0",
"max_stars_repo_name": "rahul0tripathi/MetaNox",
"max_stars_repo_path": "Assets/MoralisWeb3ApiSdk/Plugins/UniTask/Runtime/Linq/AsUniTaskAsyncEnumerable.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163128"
} | starcoder | <reponame>rahul0tripathi/MetaNox
namespace Cysharp.Threading.Tasks.Linq
{
public static partial class UniTaskAsyncEnumerable
{
public static IUniTaskAsyncEnumerable<TSource> AsUniTaskAsyncEnumerable<TSource>(this IUniTaskAsyncEnumerable<TSource> source)
{
return source;
... | 1.406143 | 5a0d9acbf4efdc3cca1259444311cecf |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843909 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "cschulzsuper/paula",
"max_stars_repo_path": "src/blazor/Client/Communication/NotificationHandlerBase.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163129"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Net.Http.Json;
using System.Text.Json;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Components.Authorization;
using Microsoft.AspNetCore.SignalR.Client;
using Super.Paula.Application.Administration;
using... | 1.997194 | e11f199d6ea8e85692e2f1e91c0f61f4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843910 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "alex-pollan/iris",
"max_stars_repo_path": "Iris.Core/Middleware/Channel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163130"
} | starcoder | using Microsoft.AspNetCore.Http;
using System.Net.WebSockets;
namespace Iris.Api.Middleware
{
public class Channel
{
public WebSocket Websocket { get; set; }
public HttpContext Context { get; set; }
}
}
| 1.554161 | 934f86e5e72a263ae8f6757745983604 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843911 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "merveBILGIC/KombiniyApp",
"max_stars_repo_path": "KombiyApp.Data/Repository/StylingManageRepo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163131"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using KombniyApp.Core;
using KombniyApp.Core.Repository;
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore;
namespace KombiyApp.Data.Repository
{
public class StylingManageRepo : Repository<StylingManage>, IStylinManageRepo
{
publi... | 2.338679 | 289f350b43a9d086b91fde78475045b1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.