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 | 8814118 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pav0n/XControls",
"max_stars_repo_path": "XControls.Forms/XTextCell.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133338"
} | starcoder | using System;
using Xamarin.Forms;
namespace XControls.Forms
{
public class XTextCell:XTitleBaseViewCell
{
public static readonly BindableProperty TextProperty = XProperties.TextProperty;
public static readonly BindableProperty TextColorProperty = XProperties.TextColorProperty;
... | 2.653524 | f7cfc70ea31210bb6446f721f8a46df8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814119 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "JoseDeFreitas/CodewarsGitHubLogger",
"max_stars_repo_path": "CodewarsGitHubLogger/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133339"
} | starcoder | <reponame>JoseDeFreitas/CodewarsGitHubLogger<filename>CodewarsGitHubLogger/Program.cs
/*
Program created by <NAME> (https://github.com/JoseDeFreitas).
Link to the repository: https://github.com/JoseDeFreitas/CodewarsGitHubLogger.
Licensed under the BSD-2-Clause License.
*/
using System;
using System.IO;
using OpenQA.S... | 2.415205 | 993fcab008432c0ca0e33fb605b2eed1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814120 | {
"extension": "c-sharp",
"max_stars_count": "18.0",
"max_stars_repo_name": "ffhighwind/Fasterflect",
"max_stars_repo_path": "FasterflectTest/Probing/TryCallMethodTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133340"
} | starcoder | #region License
// Copyright 2010 <NAME>, <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 applica... | 2.296602 | 6d7582282796dd41f109d9ee012d1c20 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814121 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "shardoeski/nadekobot",
"max_stars_repo_path": "src/NadekoBot/Modules/Nsfw/Common/Downloaders/GelbooruImageDownloader.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133341"
} | starcoder | <gh_stars>0
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Text.Json;
using System.Text.Json.Serialization;
using System.Threading;
using System.Threading.Tasks;
namespace NadekoBot.Modules.Nsfw.Common
{
public class GelbooruImageDownloader : ImageDownloader<DapiImageObje... | 2.087034 | cdc23a36d11130428fbd4bdc7bc62d87 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814122 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "OwenMcDonnell/MonoAGS",
"max_stars_repo_path": "Source/Engine/AGS.Engine/Serialization/Contracts/ContractPanel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133342"
} | starcoder | using AGS.API;
using ProtoBuf;
namespace AGS.Engine
{
[ProtoContract]
public class ContractPanel : IContract<IObject>
{
static ContractPanel()
{
ContractsFactory.RegisterFactory(typeof(IPanel), () => new ContractPanel ());
}
public ContractPanel()
{
}
[ProtoMember(1)]
public ContractObject Obj... | 2.249491 | 63d68de357536049741214188f0cc709 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814123 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "heyuquan/Admin.Abp",
"max_stars_repo_path": "src/Ec.Admin.EntityFrameworkCore.DbMigrations/Migrations/20191202093610_AddBlogSchema.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133343"
} | starcoder | <reponame>heyuquan/Admin.Abp<filename>src/Ec.Admin.EntityFrameworkCore.DbMigrations/Migrations/20191202093610_AddBlogSchema.cs
using System;
using Microsoft.EntityFrameworkCore.Migrations;
namespace Ec.Admin.Migrations
{
public partial class AddBlogSchema : Migration
{
protected override void Up(Migra... | 2.072574 | 2f2e3f6ecdaac8e6f6c36ee96c256b9d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814124 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Zebratic/TPB",
"max_stars_repo_path": "TPB/PbApi/Enumerations.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133344"
} | starcoder | using System;
namespace HTX_NINJA.TPB
{
public enum NavDirection
{
/// <summary>
/// Typically used with a normal search
/// </summary>
None,
/// <summary>
/// Used to navigate to the next page
/// </summary>
Next,
/// <summary>
/... | 2.964287 | df351ffc14311eea1bb00858853a7a0a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814125 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "eseroz/AmazonAPI",
"max_stars_repo_path": "Recommendations/Mock/MWSRecommendationsSectionServiceMock.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133345"
} | starcoder | /*******************************************************************************
* Copyright 2009-2015 Amazon Services. 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 Licens... | 1.935896 | b22d6690171f64b1edfa7c6b3e1094ab |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814126 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Danissimo13/Faces",
"max_stars_repo_path": "FacesStorage.Data.Abstractions/IResponseRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133346"
} | starcoder | <filename>FacesStorage.Data.Abstractions/IResponseRepository.cs
using FacesStorage.Data.Abstractions.SearchOptions;
using FacesStorage.Data.Models;
using System;
using System.Threading.Tasks;
namespace FacesStorage.Data.Abstractions
{
public interface IResponseRepository : IRepository
{
Task<Response>... | 1.883922 | 8947a1fc0eece5ea950d4a4c86daef87 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814127 | {
"extension": "c-sharp",
"max_stars_count": "24.0",
"max_stars_repo_name": "odaPlatforms/backblaze",
"max_stars_repo_path": "src/Client/Client/BackblazeClient.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133347"
} | starcoder | using System;
using System.Net.Http;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Caching.Memory;
using Microsoft.Extensions.Logging.Abstractions;
using Bytewizer.Backblaze.Handlers;
namespace Bytewizer.Backblaze.Client
{
/// <summary>
/// Represents a default implementation of the <see cr... | 2.388476 | b0c13a848942735f0ed1eaae23591849 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814128 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "JuegosSerios-UCM-Grupo2-20-21/MuseosUCM",
"max_stars_repo_path": "MuseosUCM/Assets/uAdventureAnalytics/Scripts/Parser/TrackerConfigSubParser.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133348"
} | starcoder | <reponame>JuegosSerios-UCM-Grupo2-20-21/MuseosUCM
using System.Xml;
using uAdventure.Core;
namespace uAdventure.Analytics
{
[DOMParser("tracker")]
[DOMParser(typeof(TrackerConfig))]
public class TrackerConfigSubParser : IDOMParser
{
public object DOMParse(XmlElement element, params object[] pa... | 2.00989 | 16d913f4df15bed8b1d408077271a5f6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814129 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ARMmaster17/JeffBot2",
"max_stars_repo_path": "JeffBot2/JeffBot2BAPI/Controllers/BuildController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133349"
} | starcoder | <filename>JeffBot2/JeffBot2BAPI/Controllers/BuildController.cs
using JeffBot2Tools.Helpers;
using JeffBot2Tools;
using System.Web.Http;
using JeffBot2.Models;
namespace JeffBot2BAPI.Controllers
{
public class BuildController : ApiController
{
private NcDBContext db = new NcDBContext();
public... | 2.28395 | 894de45fda55624726300ad08f8af133 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814130 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "stevenalanstark/squidex",
"max_stars_repo_path": "backend/tools/LoadTest/Run.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133350"
} | starcoder | <reponame>stevenalanstark/squidex
// ==========================================================================
// Squidex Headless CMS
// ==========================================================================
// Copyright (c) Squidex UG (haftungsbeschraenkt)
// All rights reserved. Licensed under the MIT licen... | 2.288036 | b3a4d5ced9d8b06698be4cdea4a55aba |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814131 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ranran1997/Wms",
"max_stars_repo_path": "Src/TygaSoft/TaskProcessor/BarcodeScan.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133351"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using TygaSoft.BLL;
using TygaSoft.Model;
using TygaSoft.SysException;
namespace TygaSoft.TaskProcessor
{
public sealed class BarcodeScan : BaseTask, ITask
{
public... | 2.483553 | 6fb32382eea4c08945e0d9afcce28f35 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814132 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Michaellumibao/Intro-To-VR",
"max_stars_repo_path": "Assets/Scripts/SafetyHat.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133352"
} | starcoder | <gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class SafetyHat : MonoBehaviour
{
Rigidbody _rb;
private Transform _rightControllerTransform;
// Start is called before the first frame update
void Start()
{
_rb = GetComponent<Rigidbody>();
... | 1.806645 | 6fd80ede6cfb2c8c848d4c4d47c27d24 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814133 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "fdaniel02/NirvanaHqApi",
"max_stars_repo_path": "tests/UnitTests/NirvanaHqApi.Test/Tasks/FakeTaskApi.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133353"
} | starcoder | <reponame>fdaniel02/NirvanaHqApi<filename>tests/UnitTests/NirvanaHqApi.Test/Tasks/FakeTaskApi.cs
using System.Collections.Generic;
using System.Threading.Tasks;
using Ardalis.GuardClauses;
using NirvanaHqApi.Api;
using NirvanaHqApi.Models;
namespace NirvanaHqApi.Test.Tasks
{
internal class FakeTaskApi : I... | 2.442669 | 2df50d323867a8a895b948ea28ece2d1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814134 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "suhao/WindowsDriverSample",
"max_stars_repo_path": "EaseFilter/Demo_Source_Code/CommonObjects/Utils.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133354"
} | starcoder | <reponame>suhao/WindowsDriverSample<filename>EaseFilter/Demo_Source_Code/CommonObjects/Utils.cs
///////////////////////////////////////////////////////////////////////////////
//
// (C) Copyright 2012 EaseFilter Technologies Inc.
// All Rights Reserved
//
// This software is part of a licensed software produc... | 2.211947 | 3a3977b0f1d67eba296740d59f08b52f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814135 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "benitazz/AlcmSolutions",
"max_stars_repo_path": "DurandalAuth.Domain/Models/Mapping/resrmviewMap.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133355"
} | starcoder | <filename>DurandalAuth.Domain/Models/Mapping/resrmviewMap.cs
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity.ModelConfiguration;
namespace DurandalAuth.Domain.Models.Mapping
{
public class resrmviewMap : EntityTypeConfiguration<resrmview>
{
public resrmviewMap()
{
... | 2.064705 | e48367deee14010f5b56ae276cd80fce |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814136 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tolbxela/E.Deezer",
"max_stars_repo_path": "E.Deezer.Tests/PermissionsTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133356"
} | starcoder | <reponame>tolbxela/E.Deezer<filename>E.Deezer.Tests/PermissionsTests.cs
using NUnit.Framework;
namespace E.Deezer.Tests
{
[TestFixture]
[Parallelizable(ParallelScope.All)]
public class PermissionsTests
{
private const string JOINT_A = Permissions.BASIC_ACCESS + ", " + Permissions.EMAIL;
... | 2.232925 | e25c53c5b482cc4b040b08c7a3ff1964 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814137 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "alexandercamps/Amazon",
"max_stars_repo_path": "src/Amazon.DynamoDb.Tests/Actions/DbExceptionTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133357"
} | starcoder | <reponame>alexandercamps/Amazon
namespace Amazon.DynamoDb.Tests
{
using Xunit;
public class DbExceptionTests
{
[Fact]
public void DynamoParseException()
{
var text = @"{""__type"":""com.amazon.coral.service#SerializationException"",""Message"":""Start of list found where not expected""}";
v... | 2.269484 | 21a79ea6ad075afad1a733d829b06f9b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814138 | {
"extension": "c-sharp",
"max_stars_count": "41.0",
"max_stars_repo_name": "drewjcooper/fluentassertions.aspnetcore.mvc",
"max_stars_repo_path": "tests/FluentAssertions.AspNetCore.Mvc.Tests/ContentResultAssertions_Tests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133358"
} | starcoder | using FluentAssertions.Mvc.Tests.Helpers;
using Microsoft.AspNetCore.Mvc;
using System;
using Xunit;
namespace FluentAssertions.AspNetCore.Mvc.Tests
{
public class ContentResultAssertions_Tests
{
public const string Reason = FailureMessageHelper.Reason;
public readonly static objec... | 2.088351 | 51b0b03d39319fdddd69b8bd87f60d7f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814139 | {
"extension": "c-sharp",
"max_stars_count": "3375.0",
"max_stars_repo_name": "nul800sebastiaan/Umbraco-CMS",
"max_stars_repo_path": "src/Umbraco.Core/Models/Entities/IMemberEntitySlim.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133359"
} | starcoder | namespace Umbraco.Cms.Core.Models.Entities
{
public interface IMemberEntitySlim : IContentEntitySlim
{
}
}
| 1.027723 | 02ac4541b25d76cd94fa2463999ce47d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814140 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "shashanktiwary/lab-bot",
"max_stars_repo_path": "ExtSource/IEXTSOURCE.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133360"
} | starcoder |
// ReSharper disable CheckNamespace
namespace AwgTestFramework
// ReSharper restore CheckNamespace
{
public interface IEXTSOURCE
{
/// <summary>
/// Property to contain the External Source response from *ESR?
/// </summary>
string ExtSrcESR { get; set; }
/// <summary>... | 2.164846 | c6cf9872bed5be35cec4f484fcc97ef2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814141 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "magaum/elasticsearch-net",
"max_stars_repo_path": "tests/Examples/Root/IngestPage.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133361"
} | starcoder | <filename>tests/Examples/Root/IngestPage.cs
// Licensed to Elasticsearch B.V under one or more agreements.
// Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
// See the LICENSE file in the project root for more information
using Elastic.Xunit.XunitPlumbing;
using Nest;
using System.ComponentM... | 1.668974 | 3bcca8147a9775bb8302ebcf184270c5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814142 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "plzm/pelazem.util",
"max_stars_repo_path": "pelazem.util/Extension/EncodingExtensionMethods.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133362"
} | starcoder | <filename>pelazem.util/Extension/EncodingExtensionMethods.cs
using System;
using System.Collections.Generic;
using System.Text;
namespace pelazem.util
{
public static class EncodingExtensionMethods
{
private static readonly char paddingChar = '=';
static readonly char[] paddingChars = { paddingChar };
private... | 3.300592 | c5fcddb2480604836875ab369116f56f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814143 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "runxc1/mongo-csharp-driver",
"max_stars_repo_path": "MongoDB.BsonUnitTests/Serialization/Serializers/DiscriminatorTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133363"
} | starcoder | /* Copyright 2010-2013 10gen Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing... | 2.186239 | 34469dedf3b3ec3ee6bcc22452767e75 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814144 | {
"extension": "c-sharp",
"max_stars_count": "27.0",
"max_stars_repo_name": "vbodurov/unity-functions",
"max_stars_repo_path": "UnityFunctions/Assets/Scripts/Main/RayCapsuleCollision.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133364"
} | starcoder | using Extensions;
using Unianio;
using UnityEngine;
using UnityFunctions;
namespace Main
{
public class RayCapsuleCollision : BaseMainScript
{
private const float CapsuleRadius = 0.1f;
private const float CapsuleHeight = 0.8f;
private Transform _origin;
private Transform _capsu... | 2.147859 | 62589470043d1628eda7895e0215d26f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814145 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jjerion/PrototypeHotGirlSummer",
"max_stars_repo_path": "Hot Girl Summer Prototype 1/Assets/Scripts/UI/Score_CardGame.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133365"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using TMPro;
public class Score_CardGame : MonoBehaviour //not tested! :D
{
private GameObject textObject; //where the score goes to
private TextMeshProUGUI thisScoreboard; //tmp thingy
public Card.VictoryPoints sbVictoryPoint... | 2.501404 | 500f190f64670dcd293a76243f4cc66a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814146 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "radoikoff/BashSoft",
"max_stars_repo_path": "BashSoft/Judge/Tester.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133366"
} | starcoder | <filename>BashSoft/Judge/Tester.cs
using BashSoft.Contracts;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BashSoft
{
public class Tester : IContentComparer
{
public void CompareContent(string userOutputPa... | 3.086051 | 75295c37f1e93526b3b93a3032e96634 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814147 | {
"extension": "c-sharp",
"max_stars_count": "102.0",
"max_stars_repo_name": "VivoKey/windows-credentials-provider",
"max_stars_repo_path": "WindowsCredentialProviderTest/Constants.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133367"
} | starcoder | <gh_stars>100-1000
namespace WindowsCredentialProviderTest
{
public static class Constants
{
public const string CredentialProviderUID = "298D9F84-9BC5-435C-9FC2-EB3746625954";
public const string CredentialProviderTileUID = "062AF153-00EF-4DFE-9A57-222A9309657B";
}
}
| 1.265153 | ea0f7496a94c76c1cb35d85527145ea2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814148 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "atpyatt/aws-sdk-net",
"max_stars_repo_path": "sdk/src/Services/KinesisAnalyticsV2/Generated/Model/DiscoverInputSchemaRequest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133368"
} | starcoder | /*
* Copyright Amazon.com, Inc. or its affiliates. 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.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fi... | 1.61877 | 71b8e13c47177370dcf474e7a084d163 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814149 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "e11en/WFDemo",
"max_stars_repo_path": "WF 4.5 Demo/Contracts/ReportStatusType.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133369"
} | starcoder | namespace Contracts
{
public enum ReportStatusType
{
Submitted,
Approved,
Rejected
}
}
| 1.778924 | 5fddd73a4d7f470a1cec22b04a29fce2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814150 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "RamyaAnupoju1112/TeamSpark",
"max_stars_repo_path": "UnitTests/Services/JsonFileProductServiceTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133370"
} | starcoder | <gh_stars>0
using NUnit.Framework;
using ContosoCrafts.WebSite.Models;
using System.Linq;
namespace UnitTests.Pages.Product.AddRating
{
/// <summary>
/// Class containing unit test cases to JsonFileProductService file
/// </summary>
public class JsonFileProductServiceTests
{
#region TestSet... | 2.253797 | 8a0f7f938139bdb6713ee4abc7e94cbc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814151 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "6e3veR6k/codewars-csharp",
"max_stars_repo_path": "resources/csharp-starter-materails/HomeWork Answers/Lesson 4/Task 1/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133371"
} | starcoder | <reponame>6e3veR6k/codewars-csharp
using System;
namespace Task_1
{
class Program
{
static void Main()
{
//Множественное создание переменных
int operand1 = 10, operand2 = 4;
//Запрос у пользователя входных данных
Console.WriteLine("Введите знак... | 3.442657 | 4265371c09c660aed25bdfebc0df5fb7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814152 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Steffkn/ASP.NET",
"max_stars_repo_path": "MVC/ASP.NET-DDS-master/Source/Data/DDS.Data/Migrations/201609011530147_Initial.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133372"
} | starcoder | namespace DDS.Data.Migrations
{
using System;
using System.Data.Entity.Migrations;
public partial class Initial : DbMigration
{
public override void Up()
{
this.CreateTable(
"dbo.Diplomas",
c => new
{
Id = ... | 2.288964 | 700664ad40cc22b907364f668c3d4e0c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814153 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "abjerner/Our.Umbraco.Preflight",
"max_stars_repo_path": "src/Our.Umbraco.Preflight/Checks/RectifyResultStatus.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133373"
} | starcoder | <reponame>abjerner/Our.Umbraco.Preflight<filename>src/Our.Umbraco.Preflight/Checks/RectifyResultStatus.cs
namespace Our.Umbraco.Preflight.Checks {
public enum RectifyResultStatus {
Success,
Failed
}
} | 1.270857 | b669c456a1162dbf620d7ad846378d0c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814154 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "neipo13/HeatDistortionShaderNez",
"max_stars_repo_path": "HeatWaveShader/Entities/Explosive.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133374"
} | starcoder | <filename>HeatWaveShader/Entities/Explosive.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Nez;
using Microsoft.Xna.Framework;
using Nez.Sprites;
using Nez.Textures;
using HeatWaveShader.Util;
using HeatWaveShader.Components;
namespace Heat... | 2.332874 | baa8b1ffc4263cc1414cf29c99437858 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814155 | {
"extension": "c-sharp",
"max_stars_count": "23.0",
"max_stars_repo_name": "LukeSeers/Slipe-Server",
"max_stars_repo_path": "SlipeServer.Packets/Definitions/Entities/Structs/PedWeapon.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133375"
} | starcoder | using System;
using System.Collections.Generic;
using System.Numerics;
using System.Text;
namespace SlipeServer.Packets.Definitions.Entities.Structs
{
public struct PedWeapon
{
public byte Slot { get; set; }
public byte Type { get; set; }
public ushort Ammo { get; set; }
public... | 1.655775 | 329fd7aee8eb5bf352e96034d8cb6fad |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814156 | {
"extension": "c-sharp",
"max_stars_count": "39.0",
"max_stars_repo_name": "Kelindar/misakai-baker",
"max_stars_repo_path": "Baker.Runtime/Providers/TranslationProvider.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133376"
} | starcoder | <reponame>Kelindar/misakai-baker<gh_stars>10-100
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Baker.Text
{
/// <summary>
/// Represents a set of translation entries
/// </... | 2.892675 | 889437c918dcce93212fc018a2e8584e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814157 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "PankajRawat333/MicrosoftAzureTrainingKit",
"max_stars_repo_path": "HOLs/HOL-ExploringStorage-VS2012/Source/Ex2-WorkingWithBlobs/End/RDImageGallery_WebRole/Default.aspx.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133377"
} | starcoder | using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Configuration;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Microsoft.WindowsAzure;
using Microsoft.WindowsAzure.ServiceRuntime;
using Microsoft.WindowsAzure.StorageCli... | 2.204929 | 003fb32033dd2d7dbea3d891fbf27e7a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814158 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "chrishanzlik/ZPLForge",
"max_stars_repo_path": "src/ZPLForge/Builders/BarcodeBuilderBase.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133378"
} | starcoder | using System;
using ZPLForge.Common;
namespace ZPLForge.Builders
{
/// <summary>
/// Base class for all one dimensional barcode elements
/// </summary>
/// <typeparam name="TBuilder"></typeparam>
public abstract class BarcodeBuilderBase<TBuilder> : ElementBuilderBase<BarcodeElement, TBuilder>
... | 3.079206 | 437bb193afb054f87610e9b30a70b897 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814159 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "TristanIbanezFiveSides/FourSides",
"max_stars_repo_path": "Assets/PlayMaker/Editor/PlayMakerMainMenu.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133379"
} | starcoder | // (c) Copyright HutongGames, LLC 2010-2013. All rights reserved.
using System.ComponentModel;
using HutongGames.PlayMakerEditor;
using UnityEditor;
using UnityEngine;
[Localizable(false)]
static class PlayMakerMainMenu
{
// Change MenuRoot to move the Playmaker Menu
// E.g., MenuRoot = "Plugins/PlayMaker/"
... | 1.839184 | 6316a642a61c593d503fb9c854fd1344 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814160 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "SkiTles55/SPT-AKI-Profile-Editor",
"max_stars_repo_path": "SPT-AKI Profile Editor/Core/Issues/QuestStatusIssue.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133380"
} | starcoder | <reponame>SkiTles55/SPT-AKI-Profile-Editor<filename>SPT-AKI Profile Editor/Core/Issues/QuestStatusIssue.cs
using SPT_AKI_Profile_Editor.Core.Enums;
using SPT_AKI_Profile_Editor.Core.ProfileClasses;
using System;
namespace SPT_AKI_Profile_Editor.Core.Issues
{
public class QuestStatusIssue : ProfileIssue
{
... | 2.178936 | d2caaa0fe2edf66316bdd2267f211bb9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814161 | {
"extension": "c-sharp",
"max_stars_count": "15.0",
"max_stars_repo_name": "xamarin/DocWriter",
"max_stars_repo_path": "DocWriter.Shared/NamespaceTemplate.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133381"
} | starcoder | <filename>DocWriter.Shared/NamespaceTemplate.cs<gh_stars>10-100
using System.Linq;
using System.Text;
namespace DocWriter
{
public partial class NamespaceTemplate : TemplateBase<DocNamespace>
{
public override string GenerateString()
{
var sb = new StringBuilder();
sb.AppendLine($@"<html>");
sb.Append... | 2.594913 | 5f95d786cd0d8abff05dfd13fb5666f8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814162 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "kaefergeneral/ZeldaVR",
"max_stars_repo_path": "ZeldaVR/Assets/Immersio/Game/AutoSpawner.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133382"
} | starcoder | <filename>ZeldaVR/Assets/Immersio/Game/AutoSpawner.cs
using UnityEngine;
using System.Collections;
public interface IAutoSpawnerDelegate {
bool ShouldObjectSpawn (AutoSpawner autoSpawner, ref Vector3 spawnPosition, ref Vector3 spawnVelocity); // (The return value indicates whether the Spawn will happen)
}
public cl... | 2.410864 | b148eb9f6359dfd92b6f650ea0ff99aa |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814163 | {
"extension": "c-sharp",
"max_stars_count": "137.0",
"max_stars_repo_name": "mrehman29/Forms9Patch",
"max_stars_repo_path": "Forms9Patch/Forms9Patch/Elements/ListView/EventArgs/SwipeMenuItemTappedArgs.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133383"
} | starcoder | <gh_stars>100-1000
namespace Forms9Patch
{
/// <summary>
/// Cell swipe menu item tapped arguments.
/// </summary>
public class SwipeMenuItemTappedArgs
{
/// <summary>
/// Gets the cell content view where the swipe happened.
/// </summary>
/// <value>The cell content view.</value>
public ICellSwipeMenus... | 2.41942 | eeba06ff9276064f77b43eca45cdb2a6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814164 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "fjiang2/sqlcli",
"max_stars_repo_path": "sysdata.code/Data.Manager/SpGenerate/SpParam.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133384"
} | starcoder | //--------------------------------------------------------------------------------------------------//
// //
// DPO(Data Persistent Object) //
// ... | 2.158304 | d7aaae4f2aef63bf0203a0a601c2f32f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814165 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "elliotjb/CulverinEngine-Project3",
"max_stars_repo_path": "CulverinEditor/CulverinEditor/Player/UI/CoolDown.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133385"
} | starcoder | <filename>CulverinEditor/CulverinEditor/Player/UI/CoolDown.cs
using CulverinEditor;
using CulverinEditor.Debug;
public class CoolDown : CulverinBehaviour
{
protected CompButton button_cd;
protected CompImage fill_image;
protected CompText timer_text;
protected CharactersManager characters_manager;
... | 2.394843 | 95029d192d4873bfd206058009aebb76 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814166 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AngelKazakov/NextCarForYou",
"max_stars_repo_path": "CarSalesSystem/CarSalesSystem/Data/Models/Advertisement.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133386"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using Microsoft.AspNetCore.Identity;
using static CarSalesSystem.Data.DataConstants;
namespace CarSalesSystem.Data.Models
{
public class Advertisement
{
public string Id { get; init; }
[Required]
... | 2.171579 | e743545948193106393474a6a36360b9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814167 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "NoxDecima/MR-Dashboard",
"max_stars_repo_path": "Assets/NRSDK/Editor/Scripts/Emulator/NRSerializedTrackable.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133387"
} | starcoder | /****************************************************************************
* Copyright 2019 Nreal Techonology Limited. All rights reserved.
*
* This file is pa... | 2.161843 | 45efd3039295d51e48125d38ef6ba75d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814168 | {
"extension": "c-sharp",
"max_stars_count": "2441.0",
"max_stars_repo_name": "SotoiGhost/xamarin-macios",
"max_stars_repo_path": "tests/linker/ios/link all/ClassLayoutTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133388"
} | starcoder | //
// Link All [Regression] Tests
//
// Authors:
// <NAME> <<EMAIL>>
//
// Copyright 2012 Xamarin Inc. All rights reserved.
//
using System;
using System.Runtime.InteropServices;
using Foundation;
using NUnit.Framework;
namespace LinkAll.Layout {
class DefaultClass {
public int never_used; // the linker will re... | 2.624168 | c55490cbaedc8cdb6a516b88ac36dfa1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814169 | {
"extension": "c-sharp",
"max_stars_count": "45.0",
"max_stars_repo_name": "gustavolucasc/AxaptaAPI",
"max_stars_repo_path": "AxaptaApiApp/Controllers/UserInfoController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133389"
} | starcoder | using System;
using System.Threading.Tasks;
using System.Web.Http;
using AxaptaApiApp.Utils;
using System.Web.Http.Description;
using AxaptaApiApp.UserSessionService;
using System.Security.Claims;
using System.Runtime.Serialization;
using System.Collections.Generic;
namespace AxaptaApiApp.Controllers
{
/// <summa... | 2.297991 | f353494c7e41b1ef4c3e7a36f5188f3e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814170 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "maxrevilo/Mazzaroth",
"max_stars_repo_path": "Assets/Plugins/BehaviourMachine/Source/Nodes/Actions/Application/ApplicationQuit.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133390"
} | starcoder | <filename>Assets/Plugins/BehaviourMachine/Source/Nodes/Actions/Application/ApplicationQuit.cs
//----------------------------------------------
// Behaviour Machine
// Copyright © 2014 <NAME>
//----------------------------------------------
using UnityEngine;
using System.Collections;
namespace BehaviourMac... | 2.309882 | 9c9a9f3a834c638a999dfeefa54a2b41 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814171 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lefevbre-organization/eShopOnContainers",
"max_stars_repo_path": "src/Services/Account/Account.API/Models/ConfigUserLexon.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133391"
} | starcoder | namespace Lefebvre.eLefebvreOnContainers.Services.Account.API.Models
{
/// <summary>
/// Clase que permite configurar el correo
/// </summary>
public class ConfigUserLexon
{
/// <summary>
/// Indica si se realizan operaciones sincronicas de obtener contactos desde lexon
/// ... | 2.220046 | 364fc0b89a62045c49ac6cb29d3f2ee6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814172 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DeviousCreation/stance",
"max_stars_repo_path": "Source/Initium.Portal.Web/Pages/App/SystemAlerts/EditSystemAlert.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:133392"
} | starcoder | @page "/app/system-alerts/edit/{id}"
@using Initium.Portal.Core.Constants
@using Initium.Portal.Web.Infrastructure.Constants
@model Initium.Portal.Web.Pages.App.SystemAlerts.EditSystemAlert
@{
Layout = "Shared/_AppLayout";
ViewData["Title"] = $"System Alerts | Editing {Model.Name}";
}
<div class="row page-tit... | 2.114351 | 3be59801ccfd50784bc8268d771ac424 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814173 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ScriptBox99/google-api-dotnet-client",
"max_stars_repo_path": "Src/Generated/Google.Apis.CloudDataplex.v1/Google.Apis.CloudDataplex.v1.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133393"
} | starcoder | // Copyright 2022 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.580324 | e3a13ae8da517c56b8b30e4150408b7c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814174 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mikah-mathews/pierres-vendor-portal",
"max_stars_repo_path": "PierresVendors/Views/Vendor/New.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:133394"
} | starcoder | <html>
<head>
<meta charset="utf-8">
<title>Pierre's Vendor Portal</title>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/css/bootstrap.min.css" integrity="<KEY>" crossorigin="anonymous">
<link rel="stylesheet" type="text/css" href="~/css/styles.css" />
</head>
<bo... | 2.191693 | 10a88b58b8835483d12b544c682b8350 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814175 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "GikuMironica/AdvertismentPlatform",
"max_stars_repo_path": "Services/CarCategoryContainer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133395"
} | starcoder | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using AdvertismentPlatform.Domain;
using Microsoft.AspNetCore.Hosting;
using Newtonsoft.Json;
namespace AdvertismentPlatform.Services
{
public class CarCategoryContainer : ICartype
{
... | 2.679276 | d56bc8e0a3257d395988b8453e0902a4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814176 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DreiK-one/NewsAggregator",
"max_stars_repo_path": "NewsAggregator/NewsAggregator.Core/Interfaces/InterfacesCQS/IArticleServiceCQS.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133396"
} | starcoder | using NewsAggregator.Core.DTOs;
namespace NewsAggregator.Core.Interfaces.InterfacesCQS
{
public interface IArticleServiceCQS
{
Task<ArticleDto> GetArticleById(Guid id);
Task<IEnumerable<ArticleDto>> GetAllArticles(int? page, string? role);
}
}
| 1.506753 | ed93583b5bbfe0d35b177c65f82cd333 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814177 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "pacurrie/KmlToGpxConverter",
"max_stars_repo_path": "KmlToGpxConverter/Form1.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133397"
} | starcoder | <filename>KmlToGpxConverter/Form1.Designer.cs
namespace KmlToGpxConverter
{
partial class Form1
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources be... | 1.97001 | 6e5d0b07bf6319272ee42da078ed6f90 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814178 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "LaudateCorpus1/corert",
"max_stars_repo_path": "src/System.Private.TypeLoader/src/Internal/Runtime/TypeLoader/CallingConventions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133398"
} | starcoder | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
//
// This file is a line by line port of callingconvention.h from the desktop CLR. See reference source in the Ref... | 1.701944 | df716bcb75f09c1520acffd8cf2a6c15 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814179 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ChrisPJohn/SolastaModApi",
"max_stars_repo_path": "SolastaModApi/Extensions/MonsterPresentationDefinitionExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133399"
} | starcoder | using SolastaModApi.Infrastructure;
using UnityEngine.AddressableAssets;
using static RuleDefinitions;
namespace SolastaModApi.Extensions
{
/// <summary>
/// This helper extensions class was automatically generated.
/// If you find a problem please report at https://github.com/SolastaMods/SolastaModApi/iss... | 2.182185 | a3665de3f190abc9361b23a83781d899 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814180 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "NikolaVodenicharov/ASP.NET-Core",
"max_stars_repo_path": "CarDealer/CarDealer.Web/Models/Cars/CarFormModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133400"
} | starcoder | <filename>CarDealer/CarDealer.Web/Models/Cars/CarFormModel.cs
namespace CarDealer.Web.Models.Cars
{
using CarDealer.Data;
using CarDealer.Services.Models.Parts;
using Microsoft.AspNetCore.Mvc.Rendering;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
public class... | 2.377154 | e3563581650b5d1317d446cacfa0bf64 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814181 | {
"extension": "c-sharp",
"max_stars_count": "41.0",
"max_stars_repo_name": "commit-n-run/dataobjects-net",
"max_stars_repo_path": "Orm/Xtensive.Orm.Tests.Core/Conversion/Internals/BooleanConverterTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133401"
} | starcoder | <filename>Orm/Xtensive.Orm.Tests.Core/Conversion/Internals/BooleanConverterTest.cs
// Copyright (C) 2003-2010 Xtensive LLC.
// All rights reserved.
// For conditions of distribution and use, see license.
// Created by: <NAME>
// Created: 2008.01.25
using System;
using NUnit.Framework;
using Xtensive.Conversion;
us... | 1.713103 | a7a7acc2c6a06429464542b89f073ecd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814182 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "inyutin-maxim/DaData.ApiClient",
"max_stars_repo_path": "Dadata/Models/Additional/Responses/OrganizationResponse.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133402"
} | starcoder | <gh_stars>1-10
using System.Collections.Generic;
using DaData.Models.Additional.Results;
namespace DaData.Models.Additional.Responses
{
public class OrganizationResponse : BaseResponse
{
public List<OrganizationResult> Suggestions { get; set; }
}
} | 1.168537 | c0a3b603479613645fdb47d00eaf9126 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814183 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Wolverine971/PersonalityApp",
"max_stars_repo_path": "PersonalityApp.Web/Controllers/UserApiController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133403"
} | starcoder | using PersonalityApp.Web.Domain;
using PersonalityApp.Web.Domain.Requests;
using PersonalityApp.Web.Responses;
using PersonalityApp.Web.Security;
using PersonalityApp.Web.Services;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
namesp... | 2.185785 | 0de40833b96b2bc8ffdc4474638bafc2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814184 | {
"extension": "c-sharp",
"max_stars_count": "9180.0",
"max_stars_repo_name": "Brunni/IdentityServer4",
"max_stars_repo_path": "src/IdentityServer4/test/IdentityServer.UnitTests/Endpoints/EndSession/EndSessionCallbackResultTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133404"
} | starcoder | <gh_stars>1000+
// Copyright (c) <NAME> & <NAME>. All rights reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.
using System.Linq;
using System.Threading.Tasks;
using FluentAssertions;
using IdentityServer4.Configuration;
using IdentityServer4.Endpoin... | 1.660555 | f35bf93ebb246a22f91026aceee4d789 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814185 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "drcarver/prism",
"max_stars_repo_path": "Source/Wpf/Prism.Wpf/Regions/ViewsCollection.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133405"
} | starcoder | // Copyright (c) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information.
using System;
using System.Collections;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Collections.Specialized;
using System.Linq;
namespace Prism.Regions
{
... | 2.608226 | 5088f4fe9e18b6addd9ae8cc18bffd23 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814186 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "qmatteoq/MobileCamp-Milano-Dec2014",
"max_stars_repo_path": "MVVMLight-DesignData/MVVMLightDesignData.Shared/Services/IFeedService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133406"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using MVVMLightDesignData.Entities;
namespace MVVMLightDesignData.Services
{
public interface IFeedService
{
IEnumerable<News> GetNews();
}
}
| 1.624416 | bc22c050363d54ce0e690ec7d0b9c12e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814187 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "CoinismRS/2dPlatformerCodeCoogs",
"max_stars_repo_path": "Assets/Scripts/Room.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133407"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Room : MonoBehaviour
{
public int roomType;
public void deleteRoom()
{
Destroy(gameObject);
}
}
| 1.777995 | 05f55916e1dfaecda206fd633c5b3be2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814188 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jstavrev/SoftwareUniversity",
"max_stars_repo_path": "2. Tech Module/1. Programming Fundamentals/02. CSharp Cond n Loops - Exrc/02. Choose a Drink v2.0/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133408"
} | starcoder | <reponame>jstavrev/SoftwareUniversity
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _02.Choose_a_Drink_2._0
{
class Program
{
static void Main(string[] args)
{
string profession = Console.ReadLine();
... | 3.163876 | bc3df7aaa16292e7cab64885b020a411 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814189 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "wyDuang/Blog",
"max_stars_repo_path": "src/WYBlog.Domain/Entities/Blog/Advertisement.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133409"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using Volo.Abp.Domain.Entities;
namespace WYBlog.Entities
{
/// <summary>
/// 广告表
/// </summary>
public class Advertisement : Entity<int>
{
/// <summary>
/// 广告图片
/// </summary>
public string ImgUrl ... | 2.14089 | 90e9fb21274dd1f0e0002ac11549dae4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814190 | {
"extension": "c-sharp",
"max_stars_count": "47.0",
"max_stars_repo_name": "juszhc/CodeArts",
"max_stars_repo_path": "src/CodeArts.Emit/Expressions/CoalesceAst.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133410"
} | starcoder | <reponame>juszhc/CodeArts
using System.Diagnostics;
using System.Reflection.Emit;
namespace CodeArts.Emit.Expressions
{
/// <summary>
/// 空合并运算。
/// </summary>
[DebuggerDisplay("{left} ?? {right}")]
public class CoalesceAst : AstExpression
{
private readonly AstExpression left;
pr... | 2.6153 | f0f4bc5760e746d0bfd93aa1fbb53d92 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814191 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "shtr0416/BookExchanger",
"max_stars_repo_path": "BookExchanger.Service/Services/BaseService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133411"
} | starcoder | <filename>BookExchanger.Service/Services/BaseService.cs
using BookExchanger.Application;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BookExchanger.Service.Services
{
public class BaseService<T> :... | 2.388487 | cbe965b6f90e68f6c8fb7ee26532cb01 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814192 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "minuowa/SLuaFramework",
"max_stars_repo_path": "Assets/Scripts/Framework/AppEnvironmentController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133412"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using UnityEngine;
public class AppEnvironmentController : MonoBehaviour
{
public AppEnvironment environment;
public bool runInBackground = false;
public int targetFPS = 30;
public int sleepTimeout = -1;
public ... | 2.090294 | 90c84b26f1d89fccdbc44d90ef28316e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814193 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "icnocop/Swashbuckle.OData",
"max_stars_repo_path": "Swashbuckle.OData.Tests/Fixtures/FunctionTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133413"
} | starcoder | using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using System.Web.Http.Dispatcher;
using Microsoft.AspNet.OData.Builder;
using Microsoft.AspNet.OData.Extensions;
using FluentAssertions;
using Microsoft.OData.Edm;
using Microsoft.Owin.Hosting;
using NUnit.Framework;
using Owin;
using Swashb... | 1.989206 | bbbd2010a93f736164b51656d6fc5c82 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814194 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Shirasho/Foundry",
"max_stars_repo_path": "Foundry.Core/Extensions/FileSystemInfoExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133414"
} | starcoder | <gh_stars>0
using System.IO;
using Microsoft.Toolkit.Diagnostics;
namespace Foundry
{
public static partial class FileSystemInfoExtensions
{
/// <summary>
/// Recursively deletes all files and directories in the <see cref="FileSystemInfo"/>
/// object.
/// </summary>
//... | 2.593565 | 6199d1b692b5379a9d5d1f4a868506b9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814195 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "therealisc/AnafTaxpayerChecker",
"max_stars_repo_path": "ConsoleUI.Library/Api/ITaxpayersEndpoint.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133415"
} | starcoder | <gh_stars>0
using ConsoleUI.Library.Models;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace ConsoleUI.Library.Api
{
public interface ITaxpayersEndpoint
{
Task<TaxpayersModel> GetTaxpayer(string correlationId);
}
} | 1.002202 | c0ac3d7b2337fdb4a8913c53ec95f72c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814196 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "Jooty/Link-Bot",
"max_stars_repo_path": "source/Link/Modules/Miscellaneous/HelpCommands.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133416"
} | starcoder | <filename>source/Link/Modules/Miscellaneous/HelpCommands.cs<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Discord;
using Discord.Commands;
using Discord.WebSocket;
namespace Link
{
public class HelpCommands : ModuleBase<Sock... | 2.682588 | 07ced197aee8dcd9f53268704e2110ae |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814197 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "georgiyekkert/google-cloud-dotnet",
"max_stars_repo_path": "apis/Google.Cloud.Dialogflow.Cx.V3/Google.Cloud.Dialogflow.Cx.V3/EnvironmentGrpc.g.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133417"
} | starcoder | <reponame>georgiyekkert/google-cloud-dotnet
// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/cloud/dialogflow/cx/v3/environment.proto
// </auto-generated>
// Original file comments:
// Copyright 2021 Google LLC
//
// Licensed under the Apache License, Version 2.0... | 1.5157 | fe5e545d95f4806d34167f3a0052e48c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814198 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mattbrailsford/jasonettedotnet",
"max_stars_repo_path": "src/JasonetteDotNet/JasonetteBody.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133418"
} | starcoder | using System.Collections.Generic;
using Newtonsoft.Json;
namespace JasonetteDotNet
{
public class JasonetteBody : JasonetteEntity
{
[JsonProperty("header", NullValueHandling = NullValueHandling.Ignore)]
public JasonetteHeader Header { get; set; }
[JsonProperty("sections", NullV... | 2.144372 | 6c3b97f33316f1f5ce99c8ef32846c89 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814199 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "teametrics/Tmtrcs.Block.DomainBus",
"max_stars_repo_path": "test/Tmtrcs.Block.DomainBus.Tests/Configuration/DomainConfiguraitonExtensionsTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133419"
} | starcoder | namespace Tmtrcs.Block.DomainBus.Tests.Configuration
{
using MediatR;
using Microsoft.Extensions.DependencyInjection;
using Moq;
using Tmtrcs.Block.DomainBus;
using Tmtrcs.Block.DomainBus.Configuration;
using Xunit;
/// <summary>
/// Class DomainConfiguraitonExtensionsTests.
//... | 2.198053 | 0f29b6dfee0c510ce9fa936a9b0f8772 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814200 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Alexx999/SwfSharp",
"max_stars_repo_path": "SwfSharp/Actions/ActionDefineLocal.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133420"
} | starcoder | using System;
namespace SwfSharp.Actions
{
[Serializable]
public class ActionDefineLocal : ActionBase
{
public ActionDefineLocal()
: base(ActionType.DefineLocal)
{}
}
} | 1.84783 | 7e673a546ad7cf0fc0f28e1b7f145adf |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814201 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "kotofsky/DocMaker",
"max_stars_repo_path": "src/DocMakerConsole/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133421"
} | starcoder | using System.Collections.Generic;
using System.IO;
using DocMaker;
using DocMaker.Domain;
namespace DocMakerConsole
{
class Program
{
static void Main(string[] args)
{
var path = "1.docx";
var maker = new WordBuilder();
var template = maker.CreateTemplate()... | 2.877762 | 4d05b0ba4968861baf5c9887721bb2fe |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814202 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AlexNek/SolutionAnalzyer",
"max_stars_repo_path": "Xceed.Wpf.Toolkit/TokenizedTextBox/Implementation/TokenItem.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133422"
} | starcoder | <filename>Xceed.Wpf.Toolkit/TokenizedTextBox/Implementation/TokenItem.cs
/************************************************************************
Extended WPF Toolkit
Copyright (C) 2010-2012 Xceed Software Inc.
This program is provided to you under the terms of the Microsoft Reciprocal
License (Ms-RL) ... | 2.22875 | 909c45518dce0c46c627ae03e15add12 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814203 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sibuthomasmathew/pulumi-aws",
"max_stars_repo_path": "sdk/dotnet/Sns/TopicSubscription.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133423"
} | starcoder | <filename>sdk/dotnet/Sns/TopicSubscription.cs
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threa... | 2.058774 | c2007f641ef1d169e6b517c885b3d563 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814204 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "BearerPipelineTest/Adnc",
"max_stars_repo_path": "src/ServerApi/Services/Adnc.Maint/Adnc.Maint.Repository/Entities/Config/NoticeConfig.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133424"
} | starcoder | <filename>src/ServerApi/Services/Adnc.Maint/Adnc.Maint.Repository/Entities/Config/NoticeConfig.cs
namespace Adnc.Maint.Entities.Config;
public class NoticeConfig : EntityTypeConfiguration<SysNotice>
{
public override void Configure(EntityTypeBuilder<SysNotice> builder)
{
base.Configure(builder);
... | 2.157176 | d0611c2ade3f1933affa00b0f6f1dfe6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814205 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DracoTheKid/IslandMinigames",
"max_stars_repo_path": "Unity_KBI_IM/Assets/Scripts/Minigames/MiniGolf/Scripts_MiniGolf_WaterSpline_Wyatt.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133425"
} | starcoder | using UnityEngine;
public class Scripts_MiniGolf_WaterSpline_Wyatt : MonoBehaviour {
[SerializeField] GameObject splinePrefab;
[SerializeField] GameObject lighthouse;
[SerializeField] Transform exitPosition;
[SerializeField] float duration;
Scripts_MiniGolf_BallController_Zach ball;
BezierSpline spline;
publi... | 2.2748 | 81c1433e52af0d99f55f2417d44e0bcf |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814206 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "andrewchungxam/ASampleAppTwo",
"max_stars_repo_path": "ASampleApp/ASampleApp/ViewModels/FirstViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133426"
} | starcoder | <filename>ASampleApp/ASampleApp/ViewModels/FirstViewModel.cs
using System;
using System.Diagnostics.Contracts;
using System.Threading.Tasks;
using System.Windows.Input;
using Xamarin.Forms;
//using System.Windows.Input;
using ASampleApp.Data;
namespace ASampleApp
{
public class FirstViewModel : BaseViewModel
{
... | 2.867519 | 068267a1fa8f7a304a46b592eb874f11 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814207 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "RikiZilber/LicensingOffice",
"max_stars_repo_path": "DAL/IDal.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133427"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using BE;
namespace DAL
{
public interface IDal
{
void addTester(Tester tester);
bool deleteTester(Tester tester);
void updateTester(Tester tester);
Tester getTes... | 2.518241 | 028cef386e7f577353c5bebc01d6757e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814208 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "m-sadegh-sh/CodeBase",
"max_stars_repo_path": "src/Off/CodeBase.Off.Website/Models/LogGridModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133428"
} | starcoder | namespace CodeBase.Off.Website.Models {
using System.ComponentModel;
public sealed class LogGridModel {
public int Id { get; set; }
[DisplayName(@"سطح")]
public string Level { get; set; }
[DisplayName(@"آدرس")]
public string RawUrl { get; set; }
[DisplayName(... | 1.799618 | 89ef7ef2af26761d41ed7efe1f61d9aa |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814209 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "BestProjectMember/OilRig",
"max_stars_repo_path": "Assets/Scripts/ChainTeleportation.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133429"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using VRTK.Prefabs.Interactions.Interactables.Grab;
public class ChainTeleportation : MonoBehaviour
{
private bool isGrabed = false;
private ActivateUngrab ungrabber;
void Start()
{
ungrabber = gameObject.GetCompon... | 2.06139 | 7522f7273d47a35db429fc1c19ec6d92 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814210 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "HeilOliver/Timeify",
"max_stars_repo_path": "Api/Timeify.Api/Models/Validation/GetJobTasksRequestValidator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133430"
} | starcoder | using FluentValidation;
using Timeify.Api.Shared.Models.Request;
namespace Timeify.Api.Models.Validation
{
public class GetJobTasksRequestValidator : AbstractValidator<GetJobTasksRequest>
{
public GetJobTasksRequestValidator()
{
RuleFor(x => x.JobId)
.GreaterThan(0)... | 1.860928 | 50d6ff0fd10085622821e87733b221b5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814211 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "balivo/appcenter-openapi-sdk",
"max_stars_repo_path": "generated/Models/CrashGroupOperatingSystem.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133431"
} | starcoder | // <auto-generated>
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.
// </auto-generated>
namespace Balivo.AppCenterClient.Models
{
using Newtonsoft.Json;
using System.Linq;
public partial class CrashGroupOp... | 2.102814 | 1851a4cf492c4b8a54dd78a4396f521e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814212 | {
"extension": "c-sharp",
"max_stars_count": "46.0",
"max_stars_repo_name": "itye-msft/fhir-codegen",
"max_stars_repo_path": "src/Microsoft.Health.Fhir.SpecManager/fhir/R5/ValueSets/ContactentityType.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133432"
} | starcoder | // <auto-generated />
// Built from: hl7.fhir.r5.core version: 4.6.0
// Option: "NAMESPACE" = "fhirCsR5"
using fhirCsR5.Models;
namespace fhirCsR5.ValueSets
{
/// <summary>
/// This example value set defines a set of codes that can be used to indicate the purpose for which you would contact a contact party.
/... | 1.866217 | 54ac1d19851f23e6337659bfb24099ce |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814213 | {
"extension": "c-sharp",
"max_stars_count": "166.0",
"max_stars_repo_name": "jaquecr/azure-functions-dotnet-worker",
"max_stars_repo_path": "extensions/Worker.Extensions.ServiceBus/ServiceBusEntityType.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133433"
} | starcoder | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
namespace Microsoft.Azure.Functions.Worker
{
/// <summary>
/// Service Bus entity type.
/// </summary>
public enum ServiceBusEntityType
{
... | 1.5083 | b79c0d9bc461b40bca59897e3b0f94b4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814214 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "BeaverJulia/noughts-and-crosses",
"max_stars_repo_path": "NoughtsAndCrosses/CheckBoard.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133434"
} | starcoder | namespace NoughtsAndCrosses
{
public class CheckBoard
{
public int Execute(char[] board)
{
if ((board[1] == board[2] && board[2] == board[3]) || //Horizontal1
(board[4] == board[5] && board[5] == board[6]) || //Horizontal2
(board[8] == board[7] && boa... | 3.375505 | af8387df11b0b666fc73119efbe159a0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814215 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "hueifeng/DNTFrameworkCore",
"max_stars_repo_path": "src/DNTFrameworkCore/Eventing/EventBus.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133435"
} | starcoder | <gh_stars>0
using System;
using System.Linq;
using System.Threading.Tasks;
using DNTFrameworkCore.Dependency;
using DNTFrameworkCore.Domain;
using DNTFrameworkCore.Functional;
using Microsoft.Extensions.DependencyInjection;
namespace DNTFrameworkCore.Eventing
{
public interface IEventBus : IScopedDependency
{... | 2.284461 | b54d92a16288977d9327079f916b793c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814216 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "moto2002/wudihanghai",
"max_stars_repo_path": "src/Hummingbird.SeaBattle.Utility/AudioUtil.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133436"
} | starcoder | using FileTransport;
using Hummingbird.SeaBattle.Utility.Platform;
using System;
using System.IO;
using UnityEngine;
namespace Hummingbird.SeaBattle.Utility
{
public static class AudioUtil
{
public static readonly string AUDIO_RECORDING_ERROR = "error";
public static void StartRecording(Action<string> completeC... | 2.106076 | 3c6cadaa4d96376a5ca28e2fdedeb7f8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8814217 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "CrZGerry/Windows-universal-samples",
"max_stars_repo_path": "Samples/AdaptiveStreaming/cs/PlayReady/CommonLicenseRequest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:133437"
} | starcoder | //*********************************************************
//
// Copyright (c) Microsoft. All rights reserved.
// This code is licensed under the MIT License (MIT).
// THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF
// ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY
// IMPLIED WARRANTIES OF FITNESS FOR A P... | 2.368223 | 6eeec0c06b16e138c392ee6204a4aa8b |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.