added string | created string | id string | metadata dict | source string | text string | code-score float64 | md5 string |
|---|---|---|---|---|---|---|---|
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9009 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "hosoji/Grafight",
"max_stars_repo_path": "Grafight/Assets/AmplifyShaderEditor/Plugins/Editor/Nodes/Operators/DdxOpNode.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9010"
} | starcoder | <gh_stars>0
// Amplify Shader Editor - Visual Shader Editing Tool
// Copyright (c) Amplify Creations, Lda <<EMAIL>>
namespace AmplifyShaderEditor
{
[System.Serializable]
[NodeAttributes( "DDX", "Math Operators", "Approximate partial derivative with respect to window-space X" )]
public sealed class DdxOpNode ... | 1.998561 | 4bdbcc950089e9112e4d5b1bf02413ec |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9010 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "danmosemsft/coreclr",
"max_stars_repo_path": "tests/src/CoreMangLib/cti/system/runtime/interopservices/dllimportattribute/dllimporttest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9011"
} | 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.
using System;
using System.Runtime.InteropServices;
/// <summary>
/// This namespace and class were created for the ... | 2.429063 | cba7693d6ddfdd612ccc58d28a4f6485 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9011 | {
"extension": "c-sharp",
"max_stars_count": "146.0",
"max_stars_repo_name": "phizch/terrafx.interop.windows",
"max_stars_repo_path": "sources/Interop/Windows/um/objidl/IRunningObjectTable.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9012"
} | starcoder | // Copyright © <NAME> Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information.
// Ported from um/objidl.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
using System;
using System.Runtime.CompilerServ... | 1.696464 | e98eac8838d29b8d2e586b4b44621270 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9012 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "wimvangool/Kingo.BuildingBlocks",
"max_stars_repo_path": "src/Kingo.MicroServices/MicroServices/Validation/ErrorInheritanceLevel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9013"
} | starcoder | <reponame>wimvangool/Kingo.BuildingBlocks<filename>src/Kingo.MicroServices/MicroServices/Validation/ErrorInheritanceLevel.cs<gh_stars>1-10
using System;
namespace Kingo.MicroServices.Validation
{
/// <summary>
/// Represents a level of severity of an error message in relation to a certain member. The level
... | 3.059133 | 9f96de448d2b886c3a0a8ad102ad527c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9013 | {
"extension": "c-sharp",
"max_stars_count": "3268.0",
"max_stars_repo_name": "gjy5885/azure-sdk-for-net",
"max_stars_repo_path": "sdk/eventgrid/Azure.Messaging.EventGrid/src/Generated/Models/AsyncStatus.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9014"
} | starcoder | <gh_stars>1000+
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
using System.ComponentModel;
namespace Azure.Messaging.EventGrid.SystemEvents
{
/// <summary> Asynchronous operation status of the operation on the... | 2.397742 | 8fb049126f70e6beab6df566c0391a32 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9014 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "hnjm/SimpleChat-WebAPI",
"max_stars_repo_path": "SimpleChat.ViewModel/SignalR/OnJoinToGroup.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9015"
} | starcoder | using System;
namespace SimpleChat.ViewModel.SignalR
{
public record OnJoinToGroup
{
public string ConnectionId { get; set; }
}
}
| 1.316792 | 1e5ea25c39b215a35b6d01e701fbfc77 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9015 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jdm7dv/Microsoft-Biology-Foundation",
"max_stars_repo_path": "archive/Changesets/beta/mbf-64483/MBF/MBF.TestAutomation/SequenceP2TestCases.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9016"
} | starcoder | // *****************************************************************
// Copyright (c) Microsoft. All rights reserved.
// This code is licensed under the Microsoft Public License.
// THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF
// ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY
// IMPLIED WARRANT... | 2.214818 | 63d794bbc938602a99a3ff438fe2e420 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9016 | {
"extension": "c-sharp",
"max_stars_count": "218.0",
"max_stars_repo_name": "encrypt0r/stark",
"max_stars_repo_path": "src/compiler/StarkPlatform.Compiler.Stark.Features/Completion/KeywordRecommenders/FromKeywordRecommender.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9017"
} | starcoder | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Threading;
using StarkPlatform.Compiler.Stark.Extensions.ContextQuery;
namespace StarkPlatform.Compiler.Stark.Completion.KeywordRecommenders
{
... | 1.84806 | cf7bee6b69401540aade9e5561284cda |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9017 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "alevel-cherkashin/TruCam",
"max_stars_repo_path": "TruCam.Data/Repository/IUserReposirory.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9018"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TruCam.Data.DataModels;
namespace TruCam.Data.Repository
{
public interface IUserReposirory
{
int Add(User user);
void Update(User user);
void Delete(int id);
... | 2.108587 | bf8559cc3ab3faaacd99cb6271dd783f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9018 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Peter-Georgiev/Programming.Basics",
"max_stars_repo_path": "Programming.Basics.Lab-16.August.2015/04.PhoneProcesses/PhoneProcesses.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9019"
} | starcoder | using System;
using System.Collections.Generic;
class PhoneProcesses
{
static void Main()
{
string batteryInput = Console.ReadLine();
int batteryState = int.Parse(batteryInput.Remove(batteryInput.Length - 1));
string endOfInput = "end";
string input = "";
List<int> app... | 3.470117 | 40dd2abfb4f7c7bce03231b3cb4e8326 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9019 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "CreatorOfFame/Time-Tower",
"max_stars_repo_path": "Time in Reverse/Assets/Scripts/GemHolder.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9020"
} | starcoder | <gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class GemHolder : MonoBehaviour
{
bool hasGem;
public Transform gemSpot;
//activeerd time in reverse :)
IEnumerator Activate(){
Transform Fixed = GameObject.FindObjectOfType<SpriteMask>().transfor... | 1.932113 | 3bc74c7a99b86f865c8b1fbd7febd939 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9020 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "EmilyEdna/KilyCore",
"max_stars_repo_path": "KilyCore.Extension/FilterGroup/ExceptionFilter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9021"
} | starcoder | <gh_stars>1-10
using KilyCore.Extension.NlogExtension;
using KilyCore.Extension.ResultExtension;
using Microsoft.AspNetCore.Mvc.Filters;
using System.Linq;
/// <summary>
/// 作者:刘泽华
/// 时间:2018年5月29日11点51分
/// </summary>
namespace KilyCore.Extension.FilterGroup
{
/// <summary>
/// 异常过滤器
/// </summary>
... | 2.053023 | b3a451f0abf57ac8206731479ee06dbc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9021 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "sas41/SourceEngineTranslationHelper",
"max_stars_repo_path": "SourceEngineTranslation.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9022"
} | starcoder | <reponame>sas41/SourceEngineTranslationHelper
using System;
using System.Collections.Generic;
using System.Text;
using System.Linq;
using System.Text.RegularExpressions;
namespace SourceEngineTranslationHelper
{
[Serializable]
class SourceEngineTranslation
{
const string indent = "\t";
con... | 2.912359 | 7484bb3c5d947566bc655fd5fd28a48a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9022 | {
"extension": "c-sharp",
"max_stars_count": "32.0",
"max_stars_repo_name": "herohiralal/HiraTools",
"max_stars_repo_path": "Editor/Editors/Internal/HiraCollection/HiraCollectionEditorRefresher.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9023"
} | starcoder | <reponame>herohiralal/HiraTools
using UnityEditor;
using UnityEngine;
using UnityEngine.Assertions;
namespace HiraEditor.Internal
{
public class HiraCollectionEditorRefresher
{
private readonly Editor _baseEditor;
private SerializedObject _serializedObject;
private IDirtiable ... | 1.885692 | c71688c142fc633e7be75794fa8f52dd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9023 | {
"extension": "c-sharp",
"max_stars_count": "108.0",
"max_stars_repo_name": "yinyue200/PeanutButter",
"max_stars_repo_path": "source/Utils/PeanutButter.NetUtils.Tests/TestWebDownloader.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9024"
} | starcoder | using System;
using System.IO;
using System.Threading.Tasks;
using NUnit.Framework;
using PeanutButter.RandomGenerators;
using PeanutButter.SimpleHTTPServer;
namespace PeanutButter.NetUtils.Tests
{
[TestFixture]
public class TestWebDownloader
{
[Test]
public void Construct_ShouldNotThrow()... | 2.592265 | 516f2ef546a21028a43095c4e7efbad4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9024 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "zlzforever/EventBus",
"max_stars_repo_path": "src/EventBus.Tests/DependencyInjectionTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9025"
} | starcoder | <filename>src/EventBus.Tests/DependencyInjectionTests.cs<gh_stars>0
using System.Threading.Tasks;
using EventBus.DependencyInjection;
using Microsoft.Extensions.DependencyInjection;
using Xunit;
namespace EventBus.Tests
{
public class DependencyInjectionTests : BasicTests
{
protected override IEventBus GetEventBus... | 2.26861 | 2001089e9d1455074c71c368dde651d9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9025 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "rexcardan/KinectX",
"max_stars_repo_path": "KinectXConsole/RGBPointCloudExampleWithMarkerHightlights.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9026"
} | starcoder | <filename>KinectXConsole/RGBPointCloudExampleWithMarkerHightlights.cs
using KinectX.Data;
using KinectX.Extensions;
using KinectX.IO;
using KinectX.Mathematics;
using KinectX.Registration;
using OpenCvSharp;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Ta... | 2.316423 | b7da29d0f7f663a2a4536883acd8eb66 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9026 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "Lomztein/Advanced-Discord-Commands",
"max_stars_repo_path": "Advanced-Discord-Commands/Framework/Command Tree/ICommandRoot.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9027"
} | starcoder | using Discord;
using Lomztein.AdvDiscordCommands.Framework.Execution;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace Lomztein.AdvDiscordCommands.Framework
{
public interface ICommandRoot : ICommandSet, ICommandParent
{
Task<Result> EnterComma... | 1.612156 | 579912a5d9b5a4191c21309ecbe2f4e5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9027 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AlexeyEvlampiev/Nature",
"max_stars_repo_path": "tests/XUnitTest.Nature/GMix/LeftHandSiteConverter_Convert_Should.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9028"
} | starcoder | namespace Nature.GMix
{
using Xunit;
public class LeftHandSiteConverter_Convert_Should
{
[Fact]
public void Work()
{
var converter = new FakeLeftHandSiteConverter(true);
Assert.True(converter.Convert("$t") is TemperatureLeftHandSide);
Assert.Tru... | 2.235501 | a40da3217f0f09e214e47eba39bf26c3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9028 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JianChengSun/SignalRDemo",
"max_stars_repo_path": "ProgressReporting/ProgressReporting/Views/Job/GlobalJob.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:9029"
} | starcoder | @model ProgressReporting.Models.GlobalJobViewModel
@{
ViewBag.Title = "Global Job";
}
<h2>A Global Job</h2>
<p>All users will see the progress of this job when they navigate to this page. Try refreshing the page too!</p>
<div>
<button id="startButton" class="btn btn-default">Start Job</button>
<button id... | 2.352031 | cdb78ab4a46348f8c68a3cd935de752c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9157 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "greeduomacro/vivre-uo",
"max_stars_repo_path": "Scripts/Customs/Nerun's Distro/New/Mobiles/Hireables/HireFighter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9158"
} | starcoder | <reponame>greeduomacro/vivre-uo
using System;
using System.Collections;
using Server.Items;
using Server.ContextMenus;
using Server.Misc;
using Server.Network;
namespace Server.Mobiles
{
public class HireFighter : BaseHire
{
[Constructable]
public HireFighter()
{
SpeechHue = Utility.RandomDyedHue();
H... | 1.69539 | e36efa5164596c864c37ad7e67a7e5ff |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9158 | {
"extension": "c-sharp",
"max_stars_count": "102.0",
"max_stars_repo_name": "zeh/unity-tidbits",
"max_stars_repo_path": "net/kongregate/KongregateAPI.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9159"
} | starcoder | <filename>net/kongregate/KongregateAPI.cs
using System;
using UnityEngine;
public class KongregateAPI:MonoBehaviour {
// Properties
private bool _isConnected;
private int _userId;
private string _userName;
private string _gameAuthToken;
// =====================================================================... | 2.375662 | f13d2c4c6cb3df37ded86de04ed95e06 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9159 | {
"extension": "c-sharp",
"max_stars_count": "3268.0",
"max_stars_repo_name": "gjy5885/azure-sdk-for-net",
"max_stars_repo_path": "sdk/securitycenter/Microsoft.Azure.Management.SecurityCenter/src/Generated/Models/PathRecommendation.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9160"
} | starcoder | <filename>sdk/securitycenter/Microsoft.Azure.Management.SecurityCenter/src/Generated/Models/PathRecommendation.cs<gh_stars>1000+
// <auto-generated>
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for
// license information.
//
// Code ... | 1.986413 | e4df08f0eecee31ac5d5e002b5e22c1b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9160 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mgaffigan/Esatto.Rdp.DvcApi",
"max_stars_repo_path": "externs/Services/NativeMethods.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9161"
} | starcoder | <filename>externs/Services/NativeMethods.cs
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
namespace Esatto.Win32.Services
{
internal static class NativeMethods
{
private const string advapi32 = "adv... | 1.742724 | 9c1fb1fbcca2152606fab68fd03e8c73 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9161 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "awei1688/aliyun-openapi-net-sdk",
"max_stars_repo_path": "aliyun-net-sdk-cloudesl/Cloudesl/Model/V20200201/ComposePlanogramPositionsRequest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9162"
} | starcoder | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | 1.275637 | 3010a8f674edac9c272598c122cb1737 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9162 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "mediaexplorer74/Store.Cli",
"max_stars_repo_path": "StoreLib/Utilities/Utilities.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9163"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using System.Security.Cryptography;
using StoreLib.Models;
namespace StoreLib.Utilities
{
public static class TypeHelpers
{
/// <summary>
/// Convert the provided DcatEndpoint enum to its matching Uri.
/// </summary>
... | 2.70767 | d5782d30abef212b4b30ca606482cf4c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9163 | {
"extension": "c-sharp",
"max_stars_count": "52.0",
"max_stars_repo_name": "IHunelI/-Prototype-IdleMinerTycoon",
"max_stars_repo_path": "IdleClicker/Assets/Plugins/Demigiant/DOTweenPro/DOTweenTk2d.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9164"
} | starcoder | // Author: <NAME> - http://www.demigiant.com
// Created: 2014/10/27 15:59
//
// License Copyright (c) <NAME>.
// This work is subject to the terms at http://dotween.demigiant.com/license.php
#if false // MODULE_MARKER
using UnityEngine;
namespace DG.Tweening
{
/// <summary>
/// Methods that extend 2D Toolkit... | 2.612916 | 4f423881978184ba429486aa054bcfd7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9164 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "gildebrand/Umbraco-CMS",
"max_stars_repo_path": "src/Umbraco.Core/Models/Membership/UmbracoMembershipMember.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9165"
} | starcoder | using System.Web.Security;
namespace Umbraco.Core.Models.Membership
{
//TODO: THere's still a bunch of properties that don't exist in this use that need to be mapped somehow.
internal class UmbracoMembershipMember : MembershipUser
{
private readonly IMember _member;
public UmbracoMember... | 2.394683 | 124b8b5bc151c6dca91a0961af534be3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9165 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "CellAO/AOtomation.Messaging",
"max_stars_repo_path": "src/SmokeLounge.AOtomation.Messaging/GameData/CharacterInfoPacket.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9166"
} | starcoder | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="CharacterInfoPacket.cs" company="SmokeLounge">
// Copyright © 2013 SmokeLounge.
// This program is free software. It comes without any warranty, to
// the extent permitt... | 1.731476 | 6584e7ea30a6ad34aa011f062c417940 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9166 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Danissimo13/Faces",
"max_stars_repo_path": "FacesStorage.Data.Abstractions/Exceptions/RoleNotFoundException.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9167"
} | starcoder | <filename>FacesStorage.Data.Abstractions/Exceptions/RoleNotFoundException.cs
using System;
namespace FacesStorage.Data.Abstractions.Exceptions
{
public class RoleNotFoundException : Exception
{
public RoleNotFoundException() { }
public RoleNotFoundException(string message) : base(message) { }
... | 1.869654 | cd1b9d1bd88805f182b0d61f12bb2b1d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9167 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "benjguin/Industrial-IoT",
"max_stars_repo_path": "components/opc-ua/src/Microsoft.Azure.IIoT.OpcUa.Testing/src/Servers/HistoricalAccess/UnderlyingSystemBlock.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9168"
} | starcoder | /* ========================================================================
* Copyright (c) 2005-2017 The OPC Foundation, Inc. All rights reserved.
*
* OPC Foundation MIT License 1.00
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
... | 2.488818 | b212f32716725d6d8ef852132e08d980 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9168 | {
"extension": "c-sharp",
"max_stars_count": "27.0",
"max_stars_repo_name": "vivet/DynamicExpression",
"max_stars_repo_path": ".tests/DynamicExpression.Test/CriteriaExpressionTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9169"
} | starcoder | using System.Linq;
using DynamicExpression.Enums;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace DynamicExpression.Test
{
[TestClass]
public class CriteriaExpressionTest
{
[TestMethod]
public void ConstructorWhenEqualTest()
{
var expression = new CriteriaE... | 2.905553 | fe224d16177d21f4905c9d6c3edab3dd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9169 | {
"extension": "c-sharp",
"max_stars_count": "587.0",
"max_stars_repo_name": "google/sandbox-attacksurface-analysis-tools",
"max_stars_repo_path": "NtApiDotNet/Win32/Security/Authentication/Kerberos/Client/KerberosASReply.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9170"
} | starcoder | <reponame>google/sandbox-attacksurface-analysis-tools
// Copyright 2022 Google LLC. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/... | 1.604905 | ef1da75f492a0502a33a66f8e1a78b27 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9170 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "cwmiller/broadworks-connector-net",
"max_stars_repo_path": "BroadworksConnector/Ocip/Models/SystemThirdPartyVoiceMailSupportGetDnListRequest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9171"
} | starcoder | <reponame>cwmiller/broadworks-connector-net<filename>BroadworksConnector/Ocip/Models/SystemThirdPartyVoiceMailSupportGetDnListRequest.cs<gh_stars>1-10
using System;
using System.Xml.Serialization;
using System.ComponentModel.DataAnnotations;
using BroadWorksConnector.Ocip.Validation;
using System.Collections.Generic;
... | 1.864402 | 629335851d8e98bb4a81417fbd022cae |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9171 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Enaium-StardewValleyMods/EnaiumToolKit",
"max_stars_repo_path": "Framework/Gui/ElementScreen.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9172"
} | starcoder | using System.Collections.Generic;
using EnaiumToolKit.Framework.Screen;
using EnaiumToolKit.Framework.Screen.Elements;
using EnaiumToolKit.Framework.Utils;
using StardewModdingAPI;
using StardewValley;
namespace EnaiumToolKit.Framework.Gui
{
public class ElementScreen : ScreenGui
{
public ElementScree... | 2.461888 | cc0a11e483e8fa1cba51155ac0c88359 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9172 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "andr3196/Scenario",
"max_stars_repo_path": "src/Scenario.Domain/Serialization/IScenarioSerializer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9173"
} | starcoder | namespace Scenario.Domain
{
public interface IScenarioSerializer
{
string Serialize<TType>(TType type);
TType? Deserialize<TType>(string type);
}
}
| 1.925856 | 303ef20018e2e78b9ef7fa5868159061 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9173 | {
"extension": "c-sharp",
"max_stars_count": "16.0",
"max_stars_repo_name": "dmsch/NLightning",
"max_stars_repo_path": "NLightning/Wallet/Commitment/Models/Htlc.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9174"
} | starcoder | <reponame>dmsch/NLightning<filename>NLightning/Wallet/Commitment/Models/Htlc.cs
using NLightning.Cryptography;
namespace NLightning.Wallet.Commitment.Models
{
public class Htlc
{
private byte[] _paymentPreImage;
public Htlc()
{
}
public Htlc(Direction direction... | 2.119385 | 4c3017675bd5b3d7abb1bafc85052f34 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9174 | {
"extension": "c-sharp",
"max_stars_count": "42.0",
"max_stars_repo_name": "my0n/Wrecker",
"max_stars_repo_path": "Clunker/Physics/Voxels/VoxelSpaceDynamicBodyGenerator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9175"
} | starcoder | using BepuPhysics;
using BepuPhysics.Collidables;
using Clunker.Core;
using Clunker.ECS;
using Clunker.Geometry;
using Clunker.Voxels;
using Clunker.Voxels.Meshing;
using Clunker.Voxels.Space;
using Collections.Pooled;
using DefaultEcs;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Nu... | 1.954516 | cf6c8ab5499d3c330084d79a58d12f31 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9175 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "QuestarAI/OneRoster",
"max_stars_repo_path": "src/Questar.OneRoster/Payloads/StatusInfoList.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9176"
} | starcoder | namespace Questar.OneRoster.Payloads
{
using System.Collections.Generic;
/// <summary>
/// Represents a list of informational status about an API request/response.
/// </summary>
public class StatusInfoList : List<StatusInfo>
{
public StatusInfoList()
{
}
public... | 2.068193 | 2f855e639d51811729a8e4c32d15f7f2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9176 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "GuoQqizz/SmartChinese",
"max_stars_repo_path": "AbhsChinese.Admin/Models/Common/Search.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9177"
} | starcoder | using AbhsChinese.Code.Common;
namespace AbhsChinese.Admin.Models.Common
{
public class Search : IPagination
{
public PagingObject Pagination { get; set; } = new PagingObject(1, 10);
public bool Removed { get; set; } = false;
}
} | 1.400066 | c9a1f01c99eb708ac3415d9650b02d78 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9177 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "JakubK/Files",
"max_stars_repo_path": "src/Files.Uwp/Extensions/EnumExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9178"
} | starcoder | using System;
using System.Reflection;
namespace Files.Extensions
{
public static class EnumExtensions
{
public static TEnum GetEnum<TEnum>(string text) where TEnum : struct
{
if (!typeof(TEnum).GetTypeInfo().IsEnum)
{
throw new InvalidOperationException... | 2.983255 | b5117b26c6cb60f1665107fe96abd026 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9178 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "NathanClouseAX/AAXDataEntityPerfTest",
"max_stars_repo_path": "Projects/AAXDataEntityPerfTest/ODataUtility/Connected Services/D365/LeasePaymentScheduleContractImport.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9179"
} | starcoder | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//--... | 1.992098 | 44527c862d896dabbe1219df3b887e1d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9179 | {
"extension": "c-sharp",
"max_stars_count": "36.0",
"max_stars_repo_name": "icnocop/vmwaretasks",
"max_stars_repo_path": "Source/VMWareComTools/Properties/AssemblyInfo.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9180"
} | starcoder | <gh_stars>10-100
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("VMWareComTools")]
[assembly: AssemblyDescription("VMWareTasks Tools COM Interop Library")]
[assembly: ComVisible(true)]
[assembly: Guid("3489194b-bc32-40d8-982f-89854... | 1.222372 | 33b53f4728340b56246250af0ec69243 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9180 | {
"extension": "c-sharp",
"max_stars_count": "421.0",
"max_stars_repo_name": "hamarb123/dotnet-api-docs",
"max_stars_repo_path": "samples/snippets/csharp/VS_Snippets_Wpf/UIAITransformProvider_snip/CSharp/CustomControl.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9181"
} | starcoder | <gh_stars>100-1000
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.Windows.Automation.Provider;
using System.Windows.Automation;
using System.Security.Permissions;
namespace UIA... | 2.306297 | 5e592b96284b1952704b97b01b54310d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9181 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Karunp/cocos2d-xna",
"max_stars_repo_path": "cocos2d/particle_nodes/CCParticleBatchNode.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9182"
} | starcoder | using System.Diagnostics;
using System.Collections.Generic;
namespace Cocos2D
{
public class CCParticleBatchNode : CCNode, ICCTextureProtocol
{
public const int kCCParticleDefaultCapacity = 500;
/// <summary>
/// The number of children that will trigger a binary search
/// </sum... | 2.49662 | 65a5434dd704b1a04ea4b4d2e8e19883 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9182 | {
"extension": "c-sharp",
"max_stars_count": "80.0",
"max_stars_repo_name": "ajay-soni-giacom/WebDavServer",
"max_stars_repo_path": "test/FubarDev.WebDavServer.Tests/Handlers/CopyInFileSystemTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9183"
} | starcoder | // <copyright file="CopyInFileSystemTests.cs" company="Fubar Development Junker">
// Copyright (c) Fubar Development Junker. All rights reserved.
// </copyright>
namespace FubarDev.WebDavServer.Tests.Handlers
{
public class CopyInFileSystemTests : CopyTestsBase
{
public CopyInFileSystemTests()
... | 1.60824 | 3a4d8ac54fb9156d43c5ddd09264b4d2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9183 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "uk-gov-mirror/SkillsFundingAgency.das-recruit",
"max_stars_repo_path": "src/Shared/Recruit.Vacancies.Client/Application/CommandHandlers/UpdateUserAlertCommandHandler.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9184"
} | starcoder | using System.ComponentModel;
using System.Threading;
using System.Threading.Tasks;
using Esfa.Recruit.Vacancies.Client.Application.Commands;
using Esfa.Recruit.Vacancies.Client.Domain.Entities;
using Esfa.Recruit.Vacancies.Client.Domain.Repositories;
using Esfa.Recruit.Vacancies.Client.Infrastructure.Client;
using Medi... | 2.166103 | bf1dfcfa761f1dd8c186b0bb10002955 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9184 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "KodamaSakuno/wpf",
"max_stars_repo_path": "src/Microsoft.DotNet.Wpf/src/ReachFramework/Serialization/manager/ReachDocumentReferenceCollectionSerializerAsync.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9185"
} | 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.
using System;
using System.Collections;
using System.Collections.Specialized;
using System.ComponentModel;
using Sy... | 2.011331 | b357366a26c078be0219b0f33b285ee4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9185 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "NekoProject/NekoKun",
"max_stars_repo_path": "ScintillaNET/Printing/InformationType.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9186"
} | starcoder | #region Using Directives
using System;
#endregion Using Directives
namespace ScintillaNET
{
/// <summary>
/// Type of data to display at one of the positions in a Page Information section
/// </summary>
public enum InformationType
{
/// <summary>
/// Nothing is displayed... | 2.648348 | 11511ed2f41a224842709cd17a74cdd2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9186 | {
"extension": "c-sharp",
"max_stars_count": "269.0",
"max_stars_repo_name": "raver99/SFTreeView_Binding_Issue",
"max_stars_repo_path": "iOS/SampleBrowser/Samples/NavigationDrawer/MainPageView.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9187"
} | starcoder | <gh_stars>100-1000
#region Copyright Syncfusion Inc. 2001-2021.
// Copyright Syncfusion Inc. 2001-2021. All rights reserved.
// Use of this code is subject to the terms of our license.
// A copy of the current license can be obtained at any time by e-mailing
// <EMAIL>. Any infringement will be prosecuted under
// appl... | 2.118384 | 29946c5c4f1796b44c6ffdf3d6e4bece |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9187 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "andrelashley/gcpe-hub",
"max_stars_repo_path": "Hub.Legacy/Gcpe.Hub.Data_Legacy/Entity/IHubEntities.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9188"
} | starcoder | using System.Data.Entity;
namespace Gcpe.Hub.Data.Entity
{
public interface IHubEntities
{
DbSet<Language> Languages { get; }
DbSet<Ministry> Ministries { get; }
DbSet<MinistryLanguage> MinistryLanguages { get; }
DbSet<NewsRelease> NewsReleases { get; }
DbSet<NewsReleas... | 1.62891 | 4d1ed44754dea8b096930769a98b459a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9188 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "optivem/optivem-commons-cs",
"max_stars_repo_path": "cli/template/src/Web/UI.Client/Pages/CreateMyFooPage.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9189"
} | starcoder | <reponame>optivem/optivem-commons-cs<gh_stars>1-10
using Atomiv.Infrastructure.Selenium;
using Cli.Web.UI.Client.Interface.Pages;
namespace Cli.Web.UI.Client.Pages
{
public class CreateMyFooPage : Page, ICreateMyFooPage
{
public CreateMyFooPage(string url, Driver driver, bool navigateTo = false)
... | 2.239911 | 049a9244d2549bd7ea339e30829d0e6b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9189 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "devlooped/api.nosayudamos.org",
"max_stars_repo_path": "UnitTests/RequestTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9190"
} | starcoder | <filename>UnitTests/RequestTests.cs
using System;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.Azure.Cosmos.Table;
using Xunit;
using Xunit.Abstractions;
namespace NosAyudamos
{
public class RequestTests
{
const string tableName = nameof(RequestTests);
readonly ITestOutputH... | 2.399918 | 80483a365be6216cafc89608bc5aa244 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9190 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Shtereva/CSharp-MVC-ASP.Net-Core",
"max_stars_repo_path": "SoftUniClone/SoftUniClone.Web/Areas/Identity/Pages/_ViewImports.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:9191"
} | starcoder | @using Microsoft.AspNetCore.Identity
@using SoftUniClone.Web.Areas.Identity
@using SoftUniClone.Models
@namespace SoftUniClone.Web.Areas.Identity.Pages
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
| 1.497876 | 77b754bde91047ff18a549100043347f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9191 | {
"extension": "c-sharp",
"max_stars_count": "16.0",
"max_stars_repo_name": "JadynWong/Abp.OpenIddict",
"max_stars_repo_path": "OpenIddictDemo/src/OpenIddictDemo.Application/OpenIddictDemoAppService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9192"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using OpenIddictDemo.Localization;
using Volo.Abp.Application.Services;
namespace OpenIddictDemo;
/* Inherit your application services from this class.
*/
public abstract class OpenIddictDemoAppService : ApplicationService
{
protected OpenIddict... | 1.76562 | 083f54745f9c9074175d3ed5bbec2ea0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9192 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "gokhanwork/GaliaBackend",
"max_stars_repo_path": "src/Infrastructure/Utilities/TypeUtilities.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9193"
} | starcoder | using System.Reflection;
namespace Galia.Infrastructure.Utilities;
public static class TypeUtilities
{
public static List<T> GetAllPublicConstantValues<T>(this Type type)
{
return type
.GetFields(BindingFlags.Public | BindingFlags.Static | BindingFlags.FlattenHierarchy)
.Where(... | 2.886751 | 088e189a7d67da7eea208d721dafb7bc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9193 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "davidpizon/ProceduralLevelGenerator-Unity",
"max_stars_repo_path": "Assets/ProceduralLevelGenerator/Scripts/Generators/Common/RoomTemplates/Doors/Editor/DoorInfoPropertyDrawer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9194"
} | starcoder | <reponame>davidpizon/ProceduralLevelGenerator-Unity
using UnityEditor;
using UnityEngine;
namespace Assets.ProceduralLevelGenerator.Scripts.Generators.Common.RoomTemplates.Doors.Editor
{
public class DoorInfoPropertyDrawer : PropertyDrawer
{
public override void OnGUI(Rect position, SerializedProperty property... | 1.851563 | 45398774f54425441632be87858d7d34 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9194 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tarzanzito/EntityFramework-Migrations",
"max_stars_repo_path": "Example2_DotNet6/Models/Aluno.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9195"
} | starcoder | <reponame>tarzanzito/EntityFramework-Migrations
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace Migration2.Models
{
[Table("Alunos")]
public class Aluno
{
[Key]
public int Id { get; set; }
//[DataType(DataTyp... | 2.127407 | 60dd012e4b9578b96712ae9c6d3543dd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9195 | {
"extension": "c-sharp",
"max_stars_count": "66.0",
"max_stars_repo_name": "BretJohnson/XGraphics",
"max_stars_repo_path": "src/XGraphics.WPF/Brushes/GradientBrush.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9196"
} | starcoder | // This file is generated from IGradientBrush.cs. Update the source file to change its contents.
using System.Collections.Generic;
using XGraphics.Brushes;
using System.Windows;
using System.Windows.Markup;
namespace XGraphics.WPF.Brushes
{
public class GradientBrush : Brush, IGradientBrush
{
public s... | 2.585653 | 48dab796b6d8ae62b22ec98e2785febe |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9196 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "chivandikwa/pulumi-aws",
"max_stars_repo_path": "sdk/dotnet/Chime/VoiceConnector.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9197"
} | starcoder | <reponame>chivandikwa/pulumi-aws
// *** 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.Threading.Tasks;
u... | 1.751727 | fb4e3bd9a33dd91b4997bfa18b045d5c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9197 | {
"extension": "c-sharp",
"max_stars_count": "85.0",
"max_stars_repo_name": "altinnadmin/altinn-studio",
"max_stars_repo_path": "src/Altinn.Platform/Altinn.Platform.Authentication/Altinn.Platform.Authentication.Tests/Controllers/OpenIdControllerTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9198"
} | starcoder | <reponame>altinnadmin/altinn-studio
using System.Net.Http;
using System.Text.Json;
using System.Threading.Tasks;
using Altinn.Platform.Authentication.Controllers;
using Altinn.Platform.Authentication.Model;
using Altinn.Platform.Authentication.Services.Interfaces;
using Altinn.Platform.Authentication.Tests.Fakes;
usi... | 1.761165 | a24344f6fda1521680d1100f43fcaee4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9198 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ethan-choe/shmup",
"max_stars_repo_path": "Shmup/Assets/__Scripts/Hero.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9199"
} | starcoder | <gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Hero : MonoBehaviour
{
static public Hero S; // Singleton
[Header("Set in Inspector")]
// These fields control the movement of the ship
public float speed = 30;
p... | 2.373698 | a4c150631ffadd9c99ed0f5034f8428e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9199 | {
"extension": "c-sharp",
"max_stars_count": "29.0",
"max_stars_repo_name": "marcosecchi/ai-brain-graph-for-corgi",
"max_stars_repo_path": "Common/Scripts/Agents/AI/Graph/Decisions/AIDecisionDistanceToTargetNode.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9200"
} | starcoder | using UnityEngine;
using XNode;
using MoreMountains.CorgiEngine;
using MoreMountains.Tools;
using TheBitCave.MMToolsExtensions.AI.Graph;
namespace TheBitCave.CorgiExensions.AI.Graph
{
/// <summary>
/// A node representing a Corgi <see cref="MoreMountains.CorgiEngine.AIDecisionDistanceToTarget"/> decision.
/// </su... | 2.211435 | 5047c62b3a568f13fa7ae78e4d24800c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9200 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "teberhardt/byps",
"max_stars_repo_path": "csharp/bypstest-ser/src-ser/byps/test/api/remote/BRequest_RemoteEnums_getPlanet.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9201"
} | starcoder | <reponame>teberhardt/byps
//
//
// THIS FILE HAS BEEN GENERATED. DO NOT MODIFY.
//
using System;
using System.Collections.Generic;
using byps;
namespace byps.test.api.remote
{
public sealed class BRequest_RemoteEnums_getPlanet : BMethodRequest, BSerializable
{
#region Execute
public override int getRem... | 1.344267 | d2c24c886fad7811b732e95fa2ce2d30 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9201 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "coddwrench/ITextPdfToSvg.Viewer",
"max_stars_repo_path": "Viewer2/MainForm.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9202"
} | starcoder | <gh_stars>0
using System;
using System.ComponentModel;
using System.IO;
using System.Reflection;
using System.Text;
using System.Web.Mvc;
using System.Windows.Forms;
using CefSharp;
using Viewer2.Properties;
namespace Viewer2
{
public class BrowserKeyboardHandler : IKeyboardHandler
{
private EventHandlerList _eve... | 2.044629 | a36869179656672ccda043f686b2b497 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9202 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "markjulmar/DXPlus",
"max_stars_repo_path": "src/Enumerations/StrikeThrough.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9203"
} | starcoder | <filename>src/Enumerations/StrikeThrough.cs
using System.Xml.Serialization;
namespace DXPlus;
/// <summary>
/// Strike through styles
/// </summary>
public enum Strikethrough
{
/// <summary>
/// None
/// </summary>
None,
/// <summary>
/// Single-line strike through
/// </summary>
Str... | 2.373217 | 730da32f6152889cdde51f0738419e45 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9203 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "nvdeveloper/UmbracoUpgrade-7.7.0-WorkAround",
"max_stars_repo_path": "src/Umbraco.Core/Configuration/Dashboard/IDashboardControl.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9204"
} | starcoder | <reponame>nvdeveloper/UmbracoUpgrade-7.7.0-WorkAround
namespace Umbraco.Core.Configuration.Dashboard
{
public interface IDashboardControl
{
bool ShowOnce { get; }
bool AddPanel { get; }
string PanelCaption { get; }
string ControlPath { get; }
IAccess AccessRights { g... | 1.105012 | 94fcc0a2521ce8c2161a923047f00355 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9204 | {
"extension": "c-sharp",
"max_stars_count": "3268.0",
"max_stars_repo_name": "gjy5885/azure-sdk-for-net",
"max_stars_repo_path": "sdk/identity/Azure.Identity/src/Credentials/AuthorizationCodeCredentialOptions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9205"
} | starcoder | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Threading;
using System.Threading.Tasks;
using Azure.Core;
using Azure.Core.Diagnostics;
using Azure.Core.Pipeline;
using Microsoft.Identity.Client;
namespace Azure.Identity
{
/// <summary>
... | 1.621216 | af83e73cfa73af1f86a0dc6683133c2c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9205 | {
"extension": "c-sharp",
"max_stars_count": "60.0",
"max_stars_repo_name": "sitefinitysteve/feather-widgets",
"max_stars_repo_path": "Telerik.Sitefinity.Frontend.Events/Mvc/Views/EventScheduler/DesignerView.Simple.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:9206"
} | starcoder | <reponame>sitefinitysteve/feather-widgets
@using Telerik.Sitefinity.Frontend.Mvc.Helpers;
@using Telerik.Sitefinity.Mvc;
@Html.QueryBuilderScriptReferences()
<server-data default-provider-name='@Html.DefaultProviderName(Telerik.Sitefinity.Modules.Events.EventsManager.GetManager())'>
</server-data>
<div class="alert ... | 1.962659 | c20800d4ad43643b2b92842315410109 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9206 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "zouzjidelu/Adnc",
"max_stars_repo_path": "src/ServerApi/Portal/Adnc.Maint/Adnc.Maint.Migrations/Migrations/20201124032950_20201124_1.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9207"
} | starcoder | // <auto-generated />
using System;
using Adnc.Infr.EfCore;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
namespace Adnc.Maint.Migrations.Migrations
{
[DbContext(... | 1.67553 | b92b3443150be98811cf5b7fbda93a89 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9207 | {
"extension": "c-sharp",
"max_stars_count": "22.0",
"max_stars_repo_name": "Karnah/Avalonia",
"max_stars_repo_path": "src/Skia/Avalonia.Skia/Helpers/ImageSavingHelper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9208"
} | starcoder | // Copyright (c) The Avalonia Project. All rights reserved.
// Licensed under the MIT license. See licence.md file in the project root for full license information.
using System;
using System.IO;
using SkiaSharp;
namespace Avalonia.Skia.Helpers
{
/// <summary>
/// Helps with saving images to stream/file.
... | 2.991806 | 89c238fa82412aa405bf31eb4d47d56f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9208 | {
"extension": "c-sharp",
"max_stars_count": "28.0",
"max_stars_repo_name": "PacktPublishing/Mastering-Unity-2D-Game-Development-Second-Edition",
"max_stars_repo_path": "Mastering Unity 2D Project/Assets/Scripts/Editor/MyMenu.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9209"
} | starcoder | using UnityEditor;
using UnityEngine;
public class MyMenu
{
// Add a menu item named MenuItem1 to a Menu option called MenuName in the menu bar.
[MenuItem("MenuName/MenuItem1")]
static void EnableMyAwesomeFeature()
{
Debug.Log("I am a leaf on the wind. Watch how I soar.");
}
// Add a ... | 2.487206 | 446da8dfbe073c16196b294ca7b9e618 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9209 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JonQuxBurton/CardGames",
"max_stars_repo_path": "SheddingCardGames/SheddingCardGames/Domain/PlayContext.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9210"
} | starcoder | using System.Collections.Immutable;
using static SheddingCardGames.Domain.CardsUtils;
namespace SheddingCardGames.Domain
{
public class PlayContext : ICommandContext
{
public PlayContext(Player executingPlayer, IImmutableList<Card> cardsPlayed)
{
ExecutingPlayer = executingPlayer;
... | 2.68694 | a517fa7d54ec490abf03b7079a7ef180 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9210 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AustinShalit/WPILibInstaller-Avalonia",
"max_stars_repo_path": "WPILibInstaller-Avalonia/Views/MainWindow.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9211"
} | starcoder | using Autofac;
using Avalonia;
using Avalonia.Controls;
using Avalonia.Markup.Xaml;
using Avalonia.ReactiveUI;
using System.Collections.Generic;
using System.Threading.Tasks;
using WPILibInstaller.Interfaces;
using WPILibInstaller.ViewModels;
namespace WPILibInstaller.Views
{
public class MainWindow :... | 2.100727 | 06db2b224f92ce33e52ad806b78527e8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9211 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "KeenSoftwareHouse/Unreal.Net",
"max_stars_repo_path": "DotNetPlugin/Plugins/DotNet/Source/ThirdParty/DotnetInUE/Unreal.HeaderTool/NativeMetadata/PropertyFlags.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9212"
} | starcoder | <reponame>KeenSoftwareHouse/Unreal.Net
// Copyright (c) 2021 <NAME>
// Licensed under the MIT license.
using System;
namespace Unreal.NativeMetadata
{
[Flags]
public enum PropertyFlags : ulong
{
None = 0,
///<Summary> Property is user-settable in the editor.</Summary>
Edit = 0x000... | 2.03317 | 3d3f3018587098f6ef17381f429f46e3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9212 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "przemekwa/ProgramingStudy",
"max_stars_repo_path": "ProgramingStudy/Study/Coding.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9213"
} | starcoder | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ProgramingStudy.Study
{
public class Coding : IStudyTest
{
public void Study()
{
using (var sw = new StreamWriter("test.txt", false, Encodi... | 2.609045 | ca380d642100b9d0d9e1673b1759a752 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9213 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "michelle-morin/Bakery",
"max_stars_repo_path": "Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9214"
} | starcoder | <reponame>michelle-morin/Bakery
using System;
using System.Collections.Generic;
using Bakery.Models;
namespace Bakery
{
public class Program
{
public static void Main()
{
string bakerySelection = InitializeOrder();
TakeOrder(bakerySelection);
}
public static string InitializeOrder()
... | 2.910862 | f0506217d996048c5e6f113e0370173e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9214 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nickc01/ViridianCore",
"max_stars_repo_path": "WeaverCore/Components/DeathEffects/BasicDeathEffects.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9215"
} | starcoder | using UnityEngine;
using WeaverCore.Enums;
using WeaverCore.Features;
using WeaverCore.Interfaces;
using WeaverCore.Utilities;
namespace WeaverCore.Components.DeathEffects
{
/// <summary>
/// Contains the most basic effects that are played on death. These are effects that virtually all enemies share
/// <... | 2.528605 | 49982a267575e03a4dbc8536f7e4a0a0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9215 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Mu-L/SHFB",
"max_stars_repo_path": "SHFB/Source/BuildAssembler/BuildComponents/Targets/TextReferenceUtilities.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9216"
} | starcoder | // Copyright © Microsoft Corporation.
// This source file is subject to the Microsoft Permissive License.
// See http://www.microsoft.com/resources/sharedsource/licensingbasics/sharedsourcelicenses.mspx.
// All other rights reserved.
// Change History
// 12/26/2012 - EFW - Moved the classes into the Targets nam... | 2.498834 | 3a2936523a7fb8d35b903629dd955e41 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9216 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pulawskig/ecs",
"max_stars_repo_path": "src/System.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9217"
} | starcoder | <filename>src/System.cs
// ----------------------------------------------------------------------------
// The MIT License
// Lightweight ECS framework https://github.com/Byteron/ecs
// based on https://github.com/Leopotam/ecslite
// Copyright (c) 2021 <NAME> <<EMAIL>>
// Copyright (c) 2021 Leopotam <<EMAIL>>
// ------... | 2.340138 | a977349f4e9cb56ae367e086b8e69628 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9217 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "osamu-nomura/dxw",
"max_stars_repo_path": "dxw/ISpriteImageSource.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9218"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace dxw
{
#region 【Interface : ISpriteImageSource】
/// <summary>
/// スプライトのイメージソースインターフェイス
/// </summary>
public interface ISpriteImageSource
{
#region ■ Methods
... | 2.474382 | c168ffbb352b4c6fa09aab6f589173af |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9218 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "jdehlin/Twitta",
"max_stars_repo_path": "Source/Twitta.Website/RepositoryInterfaces/IApiAccessHistoryLogRepository.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9219"
} | starcoder | using System.Collections.Generic;
using Twitta.Website.Models;
namespace Twitta.Website.RepositoryInterfaces
{
public interface IApiAccessHistoryLogRepository
{
IList<ApiAccessHistoryLog> GetItems(int apiApplicationId);
int Insert(ApiAccessHistoryLog entity);
void Update(ApiAccessHisto... | 1.760205 | 68c6167e31eb580b7ca2859280efc62c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9219 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "ammogcoder/ImageProcessor",
"max_stars_repo_path": "src/ImageProcessor/Imaging/Filters/ObjectDetection/EmbeddedHaarCascades.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9220"
} | starcoder | <reponame>ammogcoder/ImageProcessor
namespace ImageProcessor.Imaging.Filters.ObjectDetection
{
using System.IO;
using System.Reflection;
using ImageProcessor.Common.Extensions;
public static class EmbeddedHaarCascades
{
private static HaarCascade frontFaceDefault;
public static H... | 2.181301 | ecb84bca9512f1c223c1f5acaa232275 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9220 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "nice-digital/consultations",
"max_stars_repo_path": "Comments/ViewModels/SubmissionToLead.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9221"
} | starcoder | <gh_stars>1-10
using System.Collections.Generic;
using System.Linq;
namespace Comments.ViewModels
{
public class SubmissionToLead
{
public SubmissionToLead() {} //this is here for the model binding.
public SubmissionToLead(IList<Comment> comments, IList<Answer> answers, string emailAddress, bool res... | 2.512117 | afdc430462569cd8fae7387e1582c96b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9221 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "DavidDeVries/commercetools-dotnet-sdk",
"max_stars_repo_path": "commercetools.NET/Carts/UpdateActions/RemoveLineItemAction.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9222"
} | starcoder | using commercetools.Common;
using Newtonsoft.Json;
namespace commercetools.Carts.UpdateActions
{
/// <summary>
/// Decreases the quantity of the given LineItem.
/// </summary>
/// <remarks>
/// If after the update the quantity of the line item is not greater than 0 or the quantity is not specifie... | 2.783448 | b045a2677d6fa652df537fc428381ef4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9222 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Antonov-S/ASP.NET-Core-ExpenseManager-v2.0",
"max_stars_repo_path": "ExpenseManager-v2.0/Services/Credit/CreditServiceListingModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9223"
} | starcoder | namespace ExpenseManager_v2._0.Services.Credit
{
public class CreditServiceListingModel
{
public int Id { get; init; }
public string Name { get; init; }
public string MaturityDate { get; init; }
public string Total { get; init; }
public string UserId { get; init; }
}... | 1.329189 | 9267001b4c0c331963511ac902affc25 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9223 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "iggy12345/Whirlpool-Forktruck-Shop-WorkRequst",
"max_stars_repo_path": "WorkRequestSystem/Modules/RequestForm/RequestForm.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9224"
} | starcoder | <gh_stars>0
namespace WorkRequestSystem.Modules
{
partial class RequestForm
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
//... | 1.819167 | 2d2540da9984709364b662e794782d2f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9224 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mgpavlov/Homework-Programming-Fundamentals",
"max_stars_repo_path": "08.Dictionaries-Lambda-LINQ-Lab/05.Short Words Sorted/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9225"
} | starcoder | <reponame>mgpavlov/Homework-Programming-Fundamentals
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _05.Short_Words_Sorted
{
class Program
{
static void Main(string[] args)
{
var separator = new char[] {... | 3.102393 | 8472292283d53d040b5ad24e65b92c50 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9225 | {
"extension": "c-sharp",
"max_stars_count": "47.0",
"max_stars_repo_name": "wowawp/RE2REmakeSRT",
"max_stars_repo_path": "RE2REmakeSRT/PInvoke.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9226"
} | starcoder | using System;
using System.Runtime.InteropServices;
namespace RE2REmakeSRT
{
public static class PInvoke
{
private const int WM_NCLBUTTONDOWN = 0xA1;
private const int HT_CAPTION = 0x2;
[DllImport("user32.dll", SetLastError = true)]
private static extern int SendMessage(IntPtr... | 2.008956 | 1fa327344703f71568f49f6bca3000fe |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9226 | {
"extension": "c-sharp",
"max_stars_count": "16.0",
"max_stars_repo_name": "funfair-tech/CoinBot",
"max_stars_repo_path": "src/CoinBot.Core/ICoinInfo.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9227"
} | starcoder | <reponame>funfair-tech/CoinBot
using System;
using System.Diagnostics.CodeAnalysis;
namespace CoinBot.Core;
/// <summary>
/// Coin information.
/// </summary>
public interface ICoinInfo
{
/// <summary>
/// The coin identifier.
/// </summary>
string Id { get; }
/// <summary>
/// Th... | 2.37912 | a204a4f1b11aeff6a821091729373f87 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9227 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "KlimovKirill/EPAM.XT_NET_WEB",
"max_stars_repo_path": "EPAM.Task1/EPAM.Task1.1.9.NonNegativeSum/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9228"
} | starcoder | <filename>EPAM.Task1/EPAM.Task1.1.9.NonNegativeSum/Program.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace EPAM.Task1._1._9.NonNegativeSum
{
class Program
{
public static void ArrayFill(ref int[] array)
{
... | 3.757078 | ee0ddf38ac4a7a64c0c442a53c23b721 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9228 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Jammo-NET/Jammo.TextAnalysis",
"max_stars_repo_path": "FileAnalysis-UnitTests/CSharpProjectAnalysisTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9229"
} | starcoder | using System.IO;
using System.Linq;
using Jammo.TextAnalysis.DotNet.CSharp;
using Jammo.TextAnalysis.DotNet.CSharp.Inspection;
using Jammo.TextAnalysis.DotNet.CSharp.Inspection.Rules;
using Jammo.TextAnalysis.DotNet.MsBuild;
using NUnit.Framework;
namespace JammaNalysis_UnitTests
{
[TestFixture]
public class C... | 2.055788 | ef0307b0ce19ae2c195b9c4c6fd9cb75 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9229 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Joukahainen82/APS-1.0",
"max_stars_repo_path": "SampaDiacritics.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9230"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace APS_1.Symbols
{
enum SampaDiacritics
{
_0, _v, _h, _O, _c, _plus, _minus, _quotMark, _x, _eqSign, _caret, _gravis, _t, k, _N, _w, _j, _G, _quesMark,
_e, _r,... | 1.897861 | 65d2e15d9a2d4e85c4ce09c421220419 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9230 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "GinoCanessa/FHIR-CS-Profiling-Basic",
"max_stars_repo_path": "src/UsCore/UsCoreBirthsex.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9231"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using Hl7.Fhir.Model;
namespace fhir_cs_profiling_basic.UsCore
{
/// <summary>
/// Class with Patient extensions for the US Core Birthsex extension
/// http://hl7.org/fhir/us/core/StructureDefinition-us-core-birthsex.html
/// </summary>
publi... | 2.927994 | cec988c23f18cc24dc42314ceb71c4dc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9231 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tmds/Tmds.GLib",
"max_stars_repo_path": "src/Tmds.GLib/Generated/cairo.Generated.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9232"
} | starcoder | using System;
using System.Runtime.InteropServices;
namespace cairo {
public ref struct Context
{
private IntPtr _pointer;
public Context(IntPtr pointer, bool checkType = false)
{
_pointer = pointer;
}
public static explicit operator Context(IntPtr pointer) => new Context(pointer, checkType: true);
pub... | 2.090854 | 5a2a3e75612bb1f3f7822f2b4027feb8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9232 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SVemulapalli/jasper",
"max_stars_repo_path": "src/Jasper.RabbitMQ/Scratchpad.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9233"
} | starcoder | using System;
using System.Text;
using RabbitMQ.Client;
using RabbitMQ.Client.Events;
namespace Jasper.RabbitMQ
{
public class Scratchpad
{
public static void DoStuff()
{
var factory = new ConnectionFactory
{
HostName = "SomeServer"
};
... | 2.62334 | 9d08596470c187a5d6296d06051e32f8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9233 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "visiontrail/LMT2018",
"max_stars_repo_path": "Src/SCMT/ParseMessage/SuperLMT.Utils/TraceManager/TraceInfoMgr.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9234"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SnmpSharpNet;
using Common.Logging;
using System.Net;
namespace SuperLMT.Utils.TraceManager
{
public class TraceInfoMgr
{
/// <summary>
/// The shared <see cref="Common.Logging.ILog"/> instance for thi... | 2.251009 | ced1a66155d3b2303f75a4a4ce3e5c43 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9234 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ShadowDancer/Dock",
"max_stars_repo_path": "tests/Dock.Model.UnitTests/Properties/AssemblyInfo.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9235"
} | starcoder | // Copyright (c) <NAME>. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Reflection;
using Xunit;
[assembly: AssemblyTitle("Dock.Model.UnitTests")]
// Don't run tests in parallel.
[assembly: CollectionBehavior(DisableTestParalleli... | 1.394689 | 79b2e6acb2a8825d212ee5e9e69ca474 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9235 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "PLCnext/PLCnext_CLI",
"max_stars_repo_path": "src/PlcNext.CppParser/CppRipper/Agents/TypeFinder.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9236"
} | starcoder | #region Copyright
///////////////////////////////////////////////////////////////////////////////
//
// Copyright (c) Phoenix Contact GmbH & Co KG
// This software is licensed under Apache-2.0
//
///////////////////////////////////////////////////////////////////////////////
#endregion
using System;
using... | 2.186487 | 49b697f2a9b3342227ecf6bd0068b406 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9236 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AveAcVale/StardewMods",
"max_stars_repo_path": "BetterCrafting/Managers/BaseManager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9237"
} | starcoder | using System;
using Leclair.Stardew.Common.Events;
using StardewModdingAPI;
namespace Leclair.Stardew.BetterCrafting.Managers {
public class BaseManager : EventSubscriber<ModEntry> {
public readonly string Name;
public BaseManager(ModEntry mod, string name = null) : base(mod) {
Name = name ?? GetType().Nam... | 2.386034 | 94b57a7cbd5ac0b11afc612935c234e0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.