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 | 71533 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "AnakinXiu/TrackGenius",
"max_stars_repo_path": "TrackGenius/TrackGenius.Communication/CommunicateService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71534"
} | starcoder | <gh_stars>1-10
using System.Collections.Generic;
using TrackGenius.Protocol;
namespace TrackGenius.Communication
{
public class CommunicateService
{
private readonly SerialPortWrapper _serialPortWrapper;
private readonly IMessageParser _messageParser;
private readonly Queue<IUplinkMe... | 2.48773 | 903891b9fefb355a4961d9cc93d34c7e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71534 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "ExtCore/ExtCore-Sample-Identity",
"max_stars_repo_path": "src/Extension.Data.EntityFramework.Sqlite/EntityRegistrar.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71535"
} | starcoder | <filename>src/Extension.Data.EntityFramework.Sqlite/EntityRegistrar.cs
// Copyright © 2017 <NAME>. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using ExtCore.Data.EntityFramework;
using Extension.Data.Entities;
using Microsoft.Ent... | 2.165111 | 38f940747e43ac74bb6948974af8038c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71535 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "everlasterVR/TittyMagic",
"max_stars_repo_path": "src/Configs/PhysicsConfig.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71536"
} | starcoder | <reponame>everlasterVR/TittyMagic<filename>src/Configs/PhysicsConfig.cs
using UnityEngine;
namespace TittyMagic
{
internal class PhysicsConfig
{
protected readonly JSONStorableFloat setting;
protected readonly float valMinMS; //value at min mass and min softness
protected reado... | 2.255573 | 3cbd37b8cba322882544e6882def771d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71536 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "jpopadak/CoreMatchers",
"max_stars_repo_path": "src/CoreMatchers/Matchers/DiagnosingMatcher.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71537"
} | starcoder | using JPopadak.CoreMatchers.Descriptions;
namespace JPopadak.CoreMatchers.Matchers
{
public abstract class DiagnosingMatcher<T> : Matcher<T>
{
public sealed override bool Matches(object item)
{
return Matches(item, new Description());
}
public sealed overri... | 2.298145 | 350e7a92118c74acc6d6de003d092b7d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71537 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Tomyk9991/TodoWithAngular-Backend",
"max_stars_repo_path": "Models/Converter/StringArrayToStringValueConverter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71538"
} | starcoder | using System.Linq;
using System.Text;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
using TodoBackend.Models.Entries;
namespace TodoBackend.Models.Converter
{
public class StringArrayToStringValueConverter : ValueConverter<ToDoEntry[], string>
{
public StringArrayToStringValueConverter()... | 3.048621 | 0515c0c6693c5f02c64b1cf7fcbb3b1c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71538 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TKostyrkaWSEI/MDXHelper",
"max_stars_repo_path": "MDXHelper/MDXHelperData/Data/MdxMember.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71539"
} | starcoder | <gh_stars>0
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace MDXHelperData.Data
{
public class MdxMember
{
[Key]
public int Id { get; set; }
[Index("NUIX_MdxMemberMeasureNameAndCalculationScript", 1, IsUnique = tr... | 1.583739 | a2a76c07d0b19bfa36869c56e1e64d34 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71539 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "zFz0000/UnitySimulasiGerakParabola",
"max_stars_repo_path": "Assets/Infinity Code/Real World Terrain/Scripts/OSM/RealWorldTerrainOSMMetaTag.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71540"
} | starcoder | /* INFINITY CODE 2013-2019 */
/* http://www.infinity-code.com */
using System;
namespace InfinityCode.RealWorldTerrain.OSM
{
/// <summary>
/// Class of meta-information (key / value).
/// </summary>
[Serializable]
public class RealWorldTerrainOSMMetaTag
{
/// <summary>
... | 2.169856 | f016b294fe69b3510693a8837ff1159d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71540 | {
"extension": "c-sharp",
"max_stars_count": "15.0",
"max_stars_repo_name": "nwf/octokit-webhooks.net",
"max_stars_repo_path": "src/Octokit.Webhooks/Events/SecurityAdvisory/SecurityAdvisoryAction.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71541"
} | starcoder | <gh_stars>10-100
namespace Octokit.Webhooks.Events.SecurityAdvisory
{
using JetBrains.Annotations;
[PublicAPI]
public sealed record SecurityAdvisoryAction : WebhookEventAction
{
public static readonly SecurityAdvisoryAction Performed = new(SecurityAdvisoryActionValue.Performed);
public... | 1.950544 | b89002dd116cc8848df93fc9a6cf2b4e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71541 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "niuniuzhu/RC",
"max_stars_repo_path": "Net/KCPUserToken.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71542"
} | starcoder | <filename>Net/KCPUserToken.cs
using RC.Core.Misc;
using RC.Net.Kcp;
using RC.Net.Protocol;
using System;
using System.Net;
using System.Net.Sockets;
namespace RC.Net
{
public sealed class KCPUserToken : IUserToken
{
public delegate void ProcessDataOutputHandler( Packet packet );
public ushort id { get; private... | 2.18025 | 73aefefba6918a4070baa0a5671f4b08 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71542 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Venkata1920/CDM",
"max_stars_repo_path": "objectModel/CSharp/Microsoft.CommonDataModel.ObjectModel/Persistence/CdmFolder/EntityAttributePersistence.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71543"
} | starcoder | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
namespace Microsoft.CommonDataModel.ObjectModel.Persistence.CdmFolder
{
using Microsoft.CommonDataModel.ObjectModel.Cdm;
using Microsoft.CommonDataModel.O... | 1.898831 | c58a9ad95a449b988e135b3ae9b5bdea |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71543 | {
"extension": "c-sharp",
"max_stars_count": "282.0",
"max_stars_repo_name": "pawelpabich/azure-storage-net-data-movement",
"max_stars_repo_path": "test/MsTestLib/MethodConfig.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71544"
} | starcoder | //------------------------------------------------------------------------------
// <copyright file="MethodConfig.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation
// </copyright>
//------------------------------------------------------------------------------
using System;
using System.Collections.Gen... | 2.021065 | 9f5a803eae74665a9209d232058a2c88 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71544 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "crupest/Timeline",
"max_stars_repo_path": "BackEnd/Timeline.Tests/IntegratedTests/HttpClientTimelineExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71545"
} | starcoder | using System.Net.Http;
using System.Threading.Tasks;
using Timeline.Models.Http;
namespace Timeline.Tests.IntegratedTests
{
public static class HttpClientTimelineExtensions
{
public static Task<HttpTimeline> GetTimelineAsync(this HttpClient client, string timelineName)
=> client.T... | 2.163006 | 4ac27283cdb1fe61e93237fef519416f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71545 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "meebey/debian-mono",
"max_stars_repo_path": "mcs/class/corlib/System.Diagnostics.Contracts/Contract.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71546"
} | starcoder | //
// System.Diagnostics.Contracts.Contract.cs
//
// Authors:
// <NAME> (<EMAIL>)
// <NAME> (<EMAIL>)
// <NAME> (<EMAIL>)
//
// Copyright 2009, 2010 Novell (http://www.novell.com)
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation... | 1.796563 | 89fca9a9ba371a51d7d26663fe5a9a68 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71546 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DrItanium/ImageProcessingApplication",
"max_stars_repo_path": "src/lib/Operation/Operation.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71547"
} | starcoder | using System;
using System.Collections.Generic;
using System.Runtime;
using System.Text;
using System.Text.RegularExpressions;
using System.Reflection;
using System.IO;
using System.Linq;
namespace Frameworks.Operation
{
public delegate void UnfulfilledHookResolver(Operation next);
public abstract class Operation : ... | 2.727262 | 4438cb905cbf926a5ae89813c0a96a59 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71547 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "aooshi/adf",
"max_stars_repo_path": "Adf/WebSocketDataFrameHeader.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71548"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace Adf
{
/// <summary>
/// WebSocket DataFrame Header
/// 数据头
/// </summary>
public class WebSocketDataFrameHeader
{
private bool _fin;
private bool _rsv1;
private bool _rsv2;
private bo... | 2.75344 | ea79a0062fb5793ea2367f34c50c7041 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71548 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Eph-It/MEM.CommunityCenter",
"max_stars_repo_path": "CommunityCenter/CommunityCenter.Models/RBAC/fn_rbac_WOLEnabledAdvertisements.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71549"
} | starcoder | <filename>CommunityCenter/CommunityCenter.Models/RBAC/fn_rbac_WOLEnabledAdvertisements.cs
using System;
namespace CommunityCenter.Models.RBAC
{
public class fn_rbac_WOLEnabledAdvertisements
{
public int ObjectType { get; set; }
public string ObjectName { get; set; }
public string Obj... | 1.576151 | 6681748e80ad921c7ca39921a903ac8d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71549 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "SDManson/Sanderling",
"max_stars_repo_path": "src/Sanderling/Sanderling/Accumulation/Extension.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71550"
} | starcoder | <gh_stars>1-10
using Bib3.Geometrik;
using System;
using System.Collections.Generic;
using System.Linq;
using MemoryStruct = Sanderling.Interface.MemoryStruct;
using Sanderling.Interface.MemoryStruct;
namespace Sanderling.Accumulation
{
static public class Extension
{
static public bool IsActive(this IShipUiModul... | 2.133213 | ca9ab3bcba5bcdbd1a86432bf6cce9b0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71550 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "emir01/Web-Shop",
"max_stars_repo_path": "Source/Solution/WS/FrontEnd/WS.FrontEnd.WebApi/Infrastucture/Extensions/NameValueCollectionExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71551"
} | starcoder | using System.Collections.Specialized;
namespace WS.FrontEnd.WebApi.Infrastucture.Extensions
{
public static class NameValueCollectionExtensions
{
public static string FileType(this NameValueCollection collection)
{
var typeString = collection["Type"];
retur... | 2.394603 | 214e6f2c15aa4fbde46d53bd0e1c2548 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71551 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Gaetz/unity-LaserDefender",
"max_stars_repo_path": "Assets/_Code/ScoreKeeper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71552"
} | starcoder | using UnityEngine;
using UnityEngine.UI;
public class ScoreKeeper : MonoBehaviour {
/// <summary>
/// Player score
/// </summary>
public static int Score = 0;
/// <summary>
/// Score UI text
/// </summary>
private Text scoreText;
void Start()
{
scoreText = GetCompone... | 2.669518 | f08890f222c8573ee1bd2dc72cc31abe |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71552 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sszost/pomodoro",
"max_stars_repo_path": "source/Pomodoro/Services/TimerService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71553"
} | starcoder | using Pomodoro.Events;
using Pomodoro.Models;
using Prism.Events;
using System;
using System.Windows.Media;
using System.Windows.Threading;
namespace Pomodoro.Services
{
public class TimerService : ITimerService
{
private IEventAggregator aggregator;
private CountdownModel countdown;
private ... | 2.51733 | 740fb55003ef88f06c87ef8f90e57748 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71553 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Philip-Trettner/TSWSim",
"max_stars_repo_path": "TSWSim/Hit.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71554"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TSWSim
{
public class Hit
{
public double Damage;
public double Time;
public Skill Skill;
public bool Critical;
public bool Penetrat... | 2.420795 | 9e277f45b79be9d04845b9190c833772 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71554 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "abremora/RavenDB.Identity",
"max_stars_repo_path": "RavenDB.Identity/IdentityUser.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71555"
} | starcoder | <filename>RavenDB.Identity/IdentityUser.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Identity;
namespace Raven.Identity
{
/// <summary>
/// Base user class for RavenDB Identity. Inherit from this class to add ... | 2.476658 | c10e127b888d9424e70a5a2ff47ddd42 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71555 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Ratatoeskr/UnityDependencyInjection",
"max_stars_repo_path": "UnityDependencyInjection/Assets/Systems/Interfaces/INotifySystemUpdate.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71556"
} | starcoder | namespace com.finalstudio.udi
{
public interface INotifySystemUpdate : ISystem
{
void UpdateSystem(float deltaTime);
}
} | 1.72186 | 71453ff89266e42fdd7ae3fecbb7274b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71556 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "ivandrofly/SubDBSharp",
"max_stars_repo_path": "src/Models/Language.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71557"
} | starcoder | namespace SubDBSharp
{
public class Language : ILanguage
{
public Language(string name) : this(name, 0)
{
}
public Language(string name, int count)
{
Name = name;
Count = count;
}
public int Count { get; }
public string N... | 2.825854 | 0c501b8a6dd2b58bb31e70906cfa940c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71557 | {
"extension": "c-sharp",
"max_stars_count": "572.0",
"max_stars_repo_name": "yndu13/aliyun-openapi-net-sdk",
"max_stars_repo_path": "aliyun-net-sdk-cbn/Cbn/Transform/V20170912/ListTransitRouterVbrAttachmentsResponseUnmarshaller.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71558"
} | 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.1859 | 6d13d4486873dedc96f52112e12d7a6d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71558 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "SasanTV/Lean-Go-Maps",
"max_stars_repo_path": "Scripts/GameManager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71559"
} | starcoder | <reponame>SasanTV/Lean-Go-Maps<gh_stars>1-10
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public class GameManager : Singleton<GameManager> {
[HideInInspector]
public bool locationServicesIsRunning = false;
public GameObject mainMap;
public GameObject newMap;
public GameObjec... | 2.04588 | d8c70488d024a60ef57fb9362fd5c719 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71559 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "ZGRTech/Arinna",
"max_stars_repo_path": "src/Arinna.Data.EntityFramework/DbSetIgnoreAttribute.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71560"
} | starcoder | <reponame>ZGRTech/Arinna<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Text;
namespace Arinna.Data.EntityFramework
{
[AttributeUsage(AttributeTargets.Class, Inherited = false)]
public class DbSetIgnoreAttribute : Attribute
{
}
}
| 1.561734 | da129c514aa1a605f4b920a9f6ca2438 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71560 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "syncfusion/aspnet-mvc-ej1-demos",
"max_stars_repo_path": "Views/TreeGrid/TreeGridPagingAPI.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:71561"
} | starcoder | <gh_stars>1-10
@section MetaTags{
<meta name="description" content="This example illustrates the paging features available in the tree grid control for viewing records with pagination.">
}
@section SampleHeading{<span class="sampleName">TreeGrid-Paging API-ASP.NET MVC-SYNCFUSION</span>}
@section ControlsSection{
... | 2.391283 | 6034290daef796b68062136b05c4dbc9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71561 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "masterjeef/easy-args",
"max_stars_repo_path": "EasyArgs/Testing/ArgsTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71562"
} | starcoder | <gh_stars>1-10
using EasyArgs;
using System;
using Xunit;
namespace Testing
{
public class ArgsTests
{
[Fact]
public void Named_arguments_should_populate_the_named_args_dictionary()
{
var arguments = new[] {
"Hello=World",
"-f",
... | 2.927335 | 05b208084c729074ab82bf63369efd2f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71562 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "VladimirDikovski/C-Fundamentals-May-2019",
"max_stars_repo_path": "Method exercise/Smallest of Three Numbers/Smallest of Three Numbers/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71563"
} | starcoder | using System;
namespace Smallest_of_Three_Numbers
{
class Program
{
static void Main(string[] args)
{
int firstNumber = int.Parse(Console.ReadLine());
int secondNumber = int.Parse(Console.ReadLine());
int threeNumber = int.Parse(Console.ReadLine());
... | 3.889504 | 8584f2d03978bcfa8e4607a70ff5cf39 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71563 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "bholcomb/gameEngine",
"max_stars_repo_path": "src/graphics/postProcessingEffects/underwaterEffect.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71564"
} | starcoder | using System;
using System.Collections.Generic;
using OpenTK;
using OpenTK.Graphics;
using OpenTK.Graphics.OpenGL;
using Util;
namespace Graphics
{
public class UnderwaterEffect : PostEffect
{
ShaderProgram myShader;
public UnderwaterEffect()
: base()
{
name = "underwater"... | 2.071971 | a9fc8dbb1bb7ec58baabc98a7beac1b6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71564 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "wooffull/ToastMessiah",
"max_stars_repo_path": "Assets/Scripts/DogActionMarker.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71565"
} | starcoder | <reponame>wooffull/ToastMessiah
using UnityEngine;
using System.Collections;
public class DogActionMarker : MonoBehaviour
{
public DogState dogState = DogState.LUNGE;
void OnTriggerEnter2D(Collider2D other)
{
// When running into player, run code!
if (other.tag == "Player")
{
... | 1.2095 | 9704b23277600c5cba9f21de5016fdf6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71565 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Khairultaher/ConsoleRestEF",
"max_stars_repo_path": "LinkedinAPI/Views/_ViewImports.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:71566"
} | starcoder | @using LinkedinAPI
@using LinkedinAPI.Models
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
| 1.600118 | 180a77afde29aec253d2e878fd412832 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71566 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "IvanSploy/GlobalGameJam22",
"max_stars_repo_path": "Assets/MenuController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71567"
} | starcoder | <gh_stars>0
using System.Collections;
using System.Collections.Generic;
using DG.Tweening;
using UnityEngine;
using UnityEngine.UI;
public class MenuController : MonoBehaviour {
[SerializeField] private RectTransform menu;
[SerializeField] private RectTransform back;
[SerializeField] private GameObjec... | 1.847168 | 789bbb73e6a15cee8b8a8210b1f684ba |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71567 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "iNeverSleeeeep/NPOI-For-Unity",
"max_stars_repo_path": "NPOI.SS.UserModel/IPictureData.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71568"
} | starcoder | namespace NPOI.SS.UserModel
{
public interface IPictureData
{
/// Gets the picture data.
///
/// @return the picture data.
byte[] Data
{
get;
}
/// Returns the mime type for the image
string MimeType
{
get;
}
/// Suggests a file extension for this image.
///
/// @return the file exte... | 2.155108 | b136ee4f74a297959bfe9c139490298b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71568 | {
"extension": "c-sharp",
"max_stars_count": "26.0",
"max_stars_repo_name": "fluenthub-community/FluentHub",
"max_stars_repo_path": "src/FluentHub/ViewModels/UserControls/Blocks/IssueEventBlockViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71569"
} | starcoder | using FluentHub.Octokit.Models.Events;
using FluentHub.ViewModels.UserControls.Labels;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Text;
using Windows.UI.Xaml.Media;
namespace FluentHub.ViewModels.UserControls.Bloc... | 1.592907 | ac800cabf3af2cce4906a935ad68ef9d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71569 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "azurechamp/monodroid-samples",
"max_stars_repo_path": "wear/AgendaData/AgendaData/MainActivity.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71570"
} | starcoder | <filename>wear/AgendaData/AgendaData/MainActivity.cs
using System;
using System.Linq;
using Android.App;
using Android.Content;
using Android.Runtime;
using Android.Views;
using Android.Widget;
using Android.OS;
using Android.Gms.Wearable;
using Android.Gms.Common;
using Android.Gms.Common.Apis;
using Android.Util;
u... | 2.125652 | 8392c7b19f338da91c72c25c806a1165 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71570 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "philiplaureano/Yarp",
"max_stars_repo_path": "Yarp/Yarp/Messages/SetTimer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71571"
} | starcoder | <reponame>philiplaureano/Yarp
using System;
namespace Yarp.Messages
{
public class SetTimer
{
public SetTimer(Guid timerId, TimeSpan dueTime, TimeSpan period)
{
TimerId = timerId;
DueTime = dueTime;
Period = period;
}
public Guid TimerId { g... | 1.753426 | f0c3f60b0ffcdc8cceac301697e9434e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71571 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "filippovisconti/mcproject",
"max_stars_repo_path": "mcproject/mcproject/Views/TestPage.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71572"
} | starcoder | using System;
using System.Collections.Generic;
using Xamarin.Forms;
namespace mcproject.Views
{
public partial class TestPage : ContentPage
{
public TestPage()
{
InitializeComponent();
}
}
}
| 1.207178 | a8ce038621386124e87de95522a13680 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71572 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Nono02P/DoodleClassifier",
"max_stars_repo_path": "DoodleClassifier/Drawing.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71573"
} | starcoder | <filename>DoodleClassifier/Drawing.cs
using System.Collections.Generic;
using System.Drawing;
using System.IO;
namespace DoodleClassifier
{
public class Drawing
{
public eType Type { get; set; }
public byte[] ContentData { get; set; }
public Image Picture
{
get
... | 3.434217 | d6a1ade6feea4d14f5518cc701a47404 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71573 | {
"extension": "c-sharp",
"max_stars_count": "269.0",
"max_stars_repo_name": "DavidArno/SuccincT",
"max_stars_repo_path": "src/SuccincT/Options/Success{T}.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71574"
} | starcoder | using System;
using SuccincT.Functional;
using SuccincT.Unions;
namespace SuccincT.Options
{
public readonly struct Success<T>
{
private readonly T _error;
internal Success(T error)
{
IsFailure = true;
_error = error;
}
public bool IsFailure { ... | 2.654278 | 5749a31a20c179bbc177ed028f3262c7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71574 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Slesa/Poseidon",
"max_stars_repo_path": "sketches/cqrs/sample-app/Edument.CQRS/BDDTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71575"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections;
using System.IO;
using System.Linq;
using System.Xml.Serialization;
using NUnit.Framework;
namespace Edument.CQRS
{
/// <summary>
/// Provides infrastructure for a set of tests on a given command handler
/// and aggregate.
/// </summary>
///... | 2.721458 | b122d06fa53531a912d9ba8b824d4203 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71575 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "h351110124/JuCheap.2.0",
"max_stars_repo_path": "JuCheap.Web/App_Code/IocInitializeConstructor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71576"
} | starcoder | <filename>JuCheap.Web/App_Code/IocInitializeConstructor.cs
/*******************************************************************************
* Copyright (C) JuCheap.Com
*
* Author: dj.wong <EMAIL>
* Create Date: 2015/8/6 9:27:09
* Description: Automated building by <EMAIL>
*
* Revision History:
* Date Autho... | 2.30167 | 22a5569837f41ecd04bf5354e2844366 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71576 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Spongebob5/-",
"max_stars_repo_path": "BotSharp.Core/Engines/Jieba.NET/JiebaTagger.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71577"
} | starcoder | using BotSharp.Core.Abstractions;
using BotSharp.NLP;
using BotSharp.NLP.Tag;
using JiebaNet.Segmenter;
using JiebaNet.Segmenter.PosSeg;
using Microsoft.Extensions.Configuration;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namesp... | 2.263441 | 98184cedb4ec3c67082fc7ba63b2f9a7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71577 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "markbeij/WebApi",
"max_stars_repo_path": "test/E2ETest/Microsoft.Test.E2E.AspNet.OData/Aggregation/AggregationContextCore.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71578"
} | starcoder | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Logging;
namespace Microsoft.Test.E2E.AspNet.OData.Aggregation
{
public clas... | 2.141958 | be0ff82cfb0a3a1060cf23c74a46ef77 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71578 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "jonsequitur/Clockwise",
"max_stars_repo_path": "Clockwise/RealtimeClock.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71579"
} | starcoder | using System;
using System.Threading.Tasks;
namespace Clockwise
{
public class RealtimeClock : IClock
{
public DateTimeOffset Now() => DateTimeOffset.UtcNow;
public void Schedule(
Action<IClock> action,
DateTimeOffset? after = null) =>
Schedule(
... | 3.124489 | cf17f5f3f9a7d53b65c8b301196111b6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71579 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "1100100/HttpClient.Extension",
"max_stars_repo_path": "Examples/Controllers/TestController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71580"
} | starcoder | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net.Http;
using System.Threading.Tasks;
using HttpClient.Extension;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
namespace Examples.Controllers
{
[ApiController]
[Route("test")]
public c... | 2.11157 | 4d8db31c570e39e6d38bca8b2e41e355 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71580 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "juntossomosmais/serilog-enrichers-request-user-id",
"max_stars_repo_path": "tests/Support/DelegateSink.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71581"
} | starcoder | using Serilog.Core;
using Serilog.Events;
using System;
namespace Serilog.Enrichers.RequestUserId.Tests.Support
{
/// <summary>
/// Serilog Sink that calls the provided delegate with the log output.
/// Can be used to capture log events and use it on assertions.
/// </summary>
public class Delegat... | 2.207695 | 9895419ea430d6057a8feeb02283af29 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71581 | {
"extension": "c-sharp",
"max_stars_count": "66.0",
"max_stars_repo_name": "kestrelm/Creature_Unity_Distro",
"max_stars_repo_path": "FlatBuffersCSharp/animationBonesTimeSample.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71582"
} | starcoder | // automatically generated, do not modify
namespace CreatureFlatData
{
using FlatBuffers;
public sealed class animationBonesTimeSample : Table {
public static animationBonesTimeSample GetRootAsanimationBonesTimeSample(ByteBuffer _bb) { return GetRootAsanimationBonesTimeSample(_bb, new animationBonesTimeSample()); ... | 1.935614 | bd570aec4610640692b8847cf5de568c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71582 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Escarribur/RPG-Car-game-Unity",
"max_stars_repo_path": "Assets/Scripts/DriverStats.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71583"
} | starcoder | <reponame>Escarribur/RPG-Car-game-Unity
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class DriverStats : MonoBehaviour {
public enum DriverSM
{
Playing,
Waiting,
Procesing
}
public string driverName { get; set; }
public int agili... | 2.202432 | e28648d62f691e3ac8314c3805c47a51 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71583 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jaymcole/NatureSim",
"max_stars_repo_path": "MonoSimulation/Game1.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71584"
} | starcoder | <reponame>jaymcole/NatureSim<gh_stars>0
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using MonoSimulation.GameObjects;
using MonoSimulation.GameObjects.Behaviors;
using MonoSimulation.Generators;
using MonoSimulation.Globals;
using MonoSimulator;
using Mon... | 1.75812 | 08ed7f80fa2db699aeffa55993a79076 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71584 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ismailnguyen/TechnicalInterview",
"max_stars_repo_path": "csharp/TechnicalInterview.Exercice3/TechnicalInterview.Exercice3/Views/Shared/_Layout.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:71585"
} | starcoder | <reponame>ismailnguyen/TechnicalInterview<filename>csharp/TechnicalInterview.Exercice3/TechnicalInterview.Exercice3/Views/Shared/_Layout.cshtml
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>@ViewBag.Title - Amazing Shopping<... | 1.987877 | c84e86692de237da244b347ca40505c6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71585 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "1Riyad/Project04_Auth_CRUD_ASP.NET",
"max_stars_repo_path": "Keraa/Keraa/Models/ProductModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71586"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Threading.Tasks;
namespace Keraa.Models
{
public class ProductModel
{
public int Id { get; set; }
public string Catagory { get; set; }
public... | 1.653016 | 9f82512e88aa3a52614a92ca21bd9fd4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71586 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "JamesRandall/IoCAntipatternFix",
"max_stars_repo_path": "TheProblem/Notifications/INotifier.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71587"
} | starcoder | <filename>TheProblem/Notifications/INotifier.cs
namespace Notifications
{
public interface INotifier
{
}
}
| 1.222229 | 13c75a71b0abef1fe7b2c0005910bc55 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71587 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "lipnus/musicGame",
"max_stars_repo_path": "Assets/Script/EachScene/Die/Advertisement/BonusType.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71588"
} | starcoder | <reponame>lipnus/musicGame<gh_stars>1-10
public enum BonusType {
Rivival, PointBonus, Normal
} | 0.973882 | dfedf7f89292369ac44ad01d5b31c302 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71588 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "hahoyer/reni.cs",
"max_stars_repo_path": "src/Reni/SyntaxFactory/IDeclarationToken.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71589"
} | starcoder | <reponame>hahoyer/reni.cs
namespace Reni.SyntaxFactory
{
interface IDeclarationToken
{
IStatementProvider Provider { get; }
}
} | 1.219938 | 8b4fd5e4da7bec418df9f2b25350b31b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71589 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "MuhortovAA/Course-M-ND2-31-18",
"max_stars_repo_path": "src/lab3/myDI/DIContainer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71590"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace myDI
{
public class DIContainer : ImyDIRepository
{
public Dictionary<Type, Type> mydic;
public DIContainer()
{
mydic = new Dictionary<Type, Type>()... | 3.079581 | 867f31fe380d0c517458ee6e414c87a2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71590 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "BjAlvestad/BO19E-15_SensorVehicle-Simplified",
"max_stars_repo_path": "SensorVehicle-main-simplified/StudentLogic/CodeSnippetExamples/SteerBlindlyToLargestDistance.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71591"
} | starcoder | <filename>SensorVehicle-main-simplified/StudentLogic/CodeSnippetExamples/SteerBlindlyToLargestDistance.cs<gh_stars>0
using System;
using System.Diagnostics;
using System.Threading;
using VehicleEquipment.DistanceMeasurement.Lidar;
using VehicleEquipment.Locomotion.Wheels;
namespace StudentLogic.CodeSnippetExamples
{
... | 2.72366 | bd9da2abf0abe1faf434a98cc47c27c7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71591 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mcomperda/aerospike-client-csharp",
"max_stars_repo_path": "AerospikeClient/Main/Role.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71592"
} | starcoder | <reponame>mcomperda/aerospike-client-csharp
/*
* Copyright 2012-2014 Aerospike, Inc.
*
* Portions may be licensed to Aerospike, Inc. under one or more contributor
* license agreements.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the L... | 1.770022 | 968f711f431b19e28edf796df365607d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71592 | {
"extension": "c-sharp",
"max_stars_count": "57.0",
"max_stars_repo_name": "RustamGulamov/Avalonia",
"max_stars_repo_path": "Avalonia/DependencyPropertyKey.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71593"
} | starcoder | // -----------------------------------------------------------------------
// <copyright file="DependencyPropertyKey.cs" company="<NAME>">
// Copyright 2013 MIT Licence. See licence.md for more information.
// </copyright>
// -----------------------------------------------------------------------
namespace Avalonia
{
... | 2.274787 | 2fbe5bf24c321323068110a162edc5c0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71593 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "akshay-s-770/login-page-demos",
"max_stars_repo_path": "dot-net-idx-demo/Source/LoginRadiusSDK.V2/Models/ResponseModels/UserProfile/Objects/PlacesLived.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71594"
} | starcoder | <reponame>akshay-s-770/login-page-demos
//-----------------------------------------------------------------------
// <copyright file="ModelClass" company="LoginRadius">
// Created by LoginRadius Development Team
// Copyright 2019 LoginRadius Inc. All rights reserved.
// </copyright>
//--------------------------... | 1.77235 | db363c6415d630027a68cf05971c618f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71594 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "OPEXGroup/ItemsFilter",
"max_stars_repo_path": "ITCC.ItemsFilter/View/IFilterView.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71595"
} | starcoder | <reponame>OPEXGroup/ItemsFilter<filename>ITCC.ItemsFilter/View/IFilterView.cs<gh_stars>1-10
// This is an open source non-commercial project. Dear PVS-Studio, please check it.
// PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com
// ****************************************************************... | 1.381537 | 91cca8fce6401258962f3fae4cc8567e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71595 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Davi-Code-Developer/Sistema-Vidracaria",
"max_stars_repo_path": "Sistema/Visualizar/Visualizar_Pendentes.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71596"
} | starcoder | <filename>Sistema/Visualizar/Visualizar_Pendentes.Designer.cs
namespace Sistema.Visualizar
{
partial class Visualizar_Pendentes
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
... | 1.908685 | ff1ac9dafbf2bb723dfb946bb715fb99 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71596 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "barnardos-au/Neo4jClient",
"max_stars_repo_path": "Neo4jClient.Shared/Gremlin/BasicSteps.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71597"
} | starcoder | <reponame>barnardos-au/Neo4jClient
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
namespace Neo4jClient.Gremlin
{
public static class BasicSteps
{
const string bothV = ".bothV";
const string outV = ".outV";
const string inV = ".inV";
... | 1.752408 | 829215ea6c8ce6f51c4870a0d60c91d5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71597 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "uluhonolulu/fubumvc",
"max_stars_repo_path": "src/Serenity/Jasmine/JasminePages.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71598"
} | starcoder | using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using FubuCore;
using FubuMVC.Core.UI;
using HtmlTags;
namespace Serenity.Jasmine
{
public class JasminePages
{
private const string Title = "Serenity Jasmine Runner";
private static readonly string _heade... | 2.430873 | 93649d7482dea6521c6d031fd2aa4617 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71598 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ShumWengSang/WorkLifeJamRepo",
"max_stars_repo_path": "Assets/Scripts/TileScripts/CatManager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71599"
} | starcoder | <gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CatManager : MonoBehaviour
{
private bool hasScoredToday = false;
public ParticleSystem celebration;
public void Score()
{
if (hasScoredToday == false)
{
hasScoredToday =... | 1.620138 | 0f0afbada5b4afeb8e0a84341d52cda0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71599 | {
"extension": "c-sharp",
"max_stars_count": "143.0",
"max_stars_repo_name": "aheng2/WPFDevelopers",
"max_stars_repo_path": "src/Microsoft.Expression.Media.Effects/SharpenEffect.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71600"
} | starcoder | <reponame>aheng2/WPFDevelopers
using System.Windows;
using System.Windows.Media;
using System.Windows.Media.Effects;
namespace Microsoft.Expression.Media.Effects
{
public sealed class SharpenEffect : ShaderEffect
{
public SharpenEffect()
{
base.PixelShader = new PixelShader
... | 2.208224 | 35ced7a5358ef311e07d84887bec7a51 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71600 | {
"extension": "c-sharp",
"max_stars_count": "39.0",
"max_stars_repo_name": "NanoFabricFX/showcase",
"max_stars_repo_path": "src/dapr/dapr.gql.payment/Repositories/Query.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71601"
} | starcoder | <reponame>NanoFabricFX/showcase
using System.Collections.Generic;
using HotChocolate;
namespace dapr.gql.payment.Repositories
{
/// <summary>
/// GraphQL Query Schema for Products
/// </summary>
public class Query
{
/// <summary>
/// Gets all Payments
/// </summary>
... | 2.209045 | b197e62a80a96b62cd35fb0d70171c15 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71601 | {
"extension": "c-sharp",
"max_stars_count": "101.0",
"max_stars_repo_name": "renkangnana/Weapp",
"max_stars_repo_path": "QCloud.WeApp.SDK/Http.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71602"
} | starcoder | <reponame>renkangnana/Weapp<gh_stars>100-1000
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Web;
using Newtonsoft.Json;
using System.Net.Http;
using System.Net;
using System.IO;
namespace QCloud.WeApp.SDK
{
internal in... | 2.454416 | fb18f386393a42f7dc0ac90c86db9dea |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71602 | {
"extension": "c-sharp",
"max_stars_count": "88.0",
"max_stars_repo_name": "tybaker/Xero-NetStandard",
"max_stars_repo_path": "Xero.NetStandard.OAuth2.Test/Model/PayrollAu/HomeAddressTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71603"
} | starcoder | /*
* Xero Payroll AU
*
* This is the Xero Payroll API for orgs in Australia region.
*
* The version of the OpenAPI document: 2.8.0
* Contact: <EMAIL>
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
using Xunit;
using System;
using System.Linq;
using System.IO;
using System.Collectio... | 1.8865 | 89f16bc8d44e5dec236ece7e439ddd35 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71603 | {
"extension": "c-sharp",
"max_stars_count": "16.0",
"max_stars_repo_name": "halex2005/simple-container",
"max_stars_repo_path": "_Src/Tests/FactoryConfiguration.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71604"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NUnit.Framework;
using SimpleContainer.Configuration;
using SimpleContainer.Interface;
using SimpleContainer.Tests.Helpers;
namespace SimpleContainer.Tests
{
public abstract class FactoryConfiguration: SimpleContainerTestBase
... | 2.547947 | ae6a42219650478b00b471590628e563 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71604 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Devwarlt/loe-core",
"max_stars_repo_path": "client/Core/Game/Objects/GameObject.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71605"
} | starcoder | using LoESoft.Client.Assets.Xml;
using LoESoft.Client.Assets.Xml.Structure;
using LoESoft.Client.Core.Game.Objects.Stats;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using MonoGame.Extended;
using Newtonsoft.Json;
using System.Collections.Generic;
namespace LoESoft.Client.Core.Game.Objects
... | 2.595718 | a8faa2323369f94c2aa2c65824af759b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71605 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ocinbat/Joker",
"max_stars_repo_path": "Joker/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71606"
} | starcoder | using Sillycore;
using Sillycore.Web;
namespace Joker
{
public class Program
{
public static void Main(string[] args)
{
SillycoreAppBuilder.Instance
.UseUtcTimes()
.UseWebApi("Joker")
.Build();
}
}
} | 1.532773 | 0e11608cfdc799a65766221636586236 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71606 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "myrka32/wartls",
"max_stars_repo_path": "Gateway.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71607"
} | starcoder | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using System.Net.Sockets;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading;
using System.Xml;
using System.Xml.Linq;
using WARTLS.CLASSES;
using WARTLS.xmpp;
using WARTLS.xmpp.query;
n... | 2.197845 | 2e6ca4c3cb1e35915ebff5420600208e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71607 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "osisdie/Hello6.WebAPI.on.NET5.OpenAPI.JWT.FluentValidator.MediatR.EmailHandler.Docker.AZ_Pipeline.xUnit",
"max_stars_repo_path": "tests/UnitTest/CoreFX/Tests/Auth_Test.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71608"
} | starcoder | using CoreFX.Abstractions.Extensions;
using CoreFX.Auth.Models;
using CoreFX.Auth.Utils;
using TestAbstractions.App_Start;
using Xunit;
namespace UnitTest.CoreFX.Tests
{
public class Auth_Test : UnitTestBase
{
[Fact]
public void JWT_Test()
{
var username = nameof(Auth_Test)... | 1.759226 | 83c41ecb061d618023d4e72765483552 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71608 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "matheus-camara/Notify",
"max_stars_repo_path": "Contexts/NotificationContext.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71609"
} | starcoder | <reponame>matheus-camara/Notify
namespace Notify;
public class NotificationContext : INotificationContext
{
private readonly List<Notification> _notifications = new();
public IReadOnlyCollection<Notification> Notifications => _notifications.AsReadOnly();
public bool HasNotifications => _notifications.Any(... | 2.018209 | 7d184bce90ef33885569113b6e0008b2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71609 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "GabrielEstebanSalvatore/N-Commerce",
"max_stars_repo_path": "PresentacionCore/Articulo/_00032_ListaPrecio.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71610"
} | starcoder | using PresentacionBase.Formularios;
namespace Presentacion.Core.Articulo
{
public partial class _00032_ListaPrecio : FormConsulta
{
public _00032_ListaPrecio()
{
InitializeComponent();
}
}
}
| 0.852738 | d0a1e034a9bafad52569d550287f7d1d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71610 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "gitter-badger/Scriper",
"max_stars_repo_path": "ScriperSol/ScriperLib/ScriptScheduler/ScriptTaskSchedulerRunner.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71611"
} | starcoder | <reponame>gitter-badger/Scriper
using System;
using System.Threading.Tasks;
namespace ScriperLib.ScriptScheduler
{
internal class ScriptTaskSchedulerRunner : IScriptTaskSchedulerRunner
{
private readonly IScriptManager _scriptManager;
private readonly IScriptRunner _scriptRunner;
publ... | 2.377212 | 23647e0e6b972e2992bd97b12bc68b9c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71611 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "tsuixl/TableConvert",
"max_stars_repo_path": "ConvertCmd/Core/Language/JsonToLua.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71612"
} | starcoder | using System.Text;
using ConvertCmd.Core.Enum;
using ConvertCmd.Core.Util;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
namespace ConvertCmd.Core.Language
{
public class JsonToLua
{
private StringBuilder _txtBuilder;
public JsonToLua ()
{
_txtBuilder = new StringBuild... | 2.466372 | 39f58f87b21e75eddd710f0f06f3035c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71612 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Hiiops/Hiiops.Outside",
"max_stars_repo_path": "Vue.Net/VOL.WebApi/Controllers/Shop/Hiiops_Shop_Shipping_TemplatesController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71613"
} | starcoder | <reponame>Hiiops/Hiiops.Outside
/*
*代码由框架生成,任何更改都可能导致被代码生成器覆盖
*如果要增加方法请在当前目录下Partial文件夹Hiiops_Shop_Shipping_TemplatesController编写
*/
using Microsoft.AspNetCore.Mvc;
using VOL.Core.Controllers.Basic;
using VOL.Entity.AttributeManager;
using Hiiops.Shop.IServices;
namespace Hiiops.Shop.Controllers
{
[Route("api/Hi... | 1.525594 | ec9fa712af96789b934eb695ce811885 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71613 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "longqinsi/Immutable-Collections-For-.Net-4.0",
"max_stars_repo_path": "System/Collections/Immutable/ImmutableList.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71614"
} | starcoder | namespace System.Collections.Immutable
{
using System;
using System.Collections.Generic;
using System.Runtime.CompilerServices;
using Validation;
public static class ImmutableList
{
public static ImmutableList<T> Create<T>()
{
return ImmutableList<T>.Empty;
... | 2.609548 | 124da18fc4d0368e61e8118bd25a2508 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71614 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "sibvic/FXTS2LuaExecuter",
"max_stars_repo_path": "Profile/ExtensionProfileLoader.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71615"
} | starcoder | <filename>Profile/ExtensionProfileLoader.cs
using System;
using System.IO;
using System.Text;
using System.Text.RegularExpressions;
namespace ProfitRobots.FXTS2LuaExecuter
{
public static class ExtensionProfileLoader
{
/// <summary>
/// Loads extension from file
/// </summary>
... | 2.793287 | 2aad2766f93f283a8ecef9f601ded60c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71615 | {
"extension": "c-sharp",
"max_stars_count": "63.0",
"max_stars_repo_name": "bci-oss/aasx-package-explorer",
"max_stars_repo_path": "src/AasxPluginAdvancedTextEditor/Plugin.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71616"
} | starcoder | /*
Copyright (c) 2018-2021 Festo AG & Co. KG <https://www.festo.com/net/de_de/Forms/web/contact_international>
Author: <NAME>
This source code is licensed under the Apache License 2.0 (see LICENSE.txt).
This source code may use other Open Source software components (see LICENSE.txt).
*/
using System;
using System.C... | 1.954884 | dcf6fc76aa554900c4064c622b03d79b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71616 | {
"extension": "c-sharp",
"max_stars_count": "77.0",
"max_stars_repo_name": "NoClient9179/Edelstein",
"max_stars_repo_path": "src/Edelstein.Service.Game/Fields/Objects/User/Broadcasts/AbstractBroadcastMessage.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71617"
} | starcoder | <reponame>NoClient9179/Edelstein
using Edelstein.Network.Packets;
namespace Edelstein.Service.Game.Fields.Objects.User.Broadcasts
{
public abstract class AbstractBroadcastMessage : IBroadcastMessage
{
public abstract BroadcastMessageType Type { get; }
public void Encode(IPacket packet)
... | 2.002168 | cf575ca9794fff75b433cc56e4dff3c0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71617 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "OPTEN/Opten.Umbraco.Localization",
"max_stars_repo_path": "src/Opten.Umbraco.Localization.Web/Converters/Property/UrlAliasConverter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71618"
} | starcoder | <filename>src/Opten.Umbraco.Localization.Web/Converters/Property/UrlAliasConverter.cs
using Newtonsoft.Json;
using Opten.Umbraco.Localization.Core.Models;
using System;
using Umbraco.Core;
using Umbraco.Core.Logging;
using Umbraco.Core.Models.PublishedContent;
using Umbraco.Core.PropertyEditors;
namespace Opten.Umbra... | 2.257134 | f2b2a8371e66a92552abdc43899177b6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71618 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Vitalii-Misechko/dot-net-dependency-injection",
"max_stars_repo_path": "NetCore/WebApplication/Controllers/HomeController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71619"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Threading.Tasks;
using BusinessLogic.OutputDomain;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using WebApplication.Models;
namespace WebApplication.Controllers
{... | 2.047977 | 7e130d5c5ccf21933ada9a1a3f00c5d0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71619 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "tmutton/EntityFrameworkCore",
"max_stars_repo_path": "src/EFCore.Cosmos/ValueGeneration/Internal/IdValueGenerator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71620"
} | starcoder | <gh_stars>1-10
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Text;
using JetBrains.Annotations;
using Microsoft.EntityFrameworkCore.ChangeTracking;
using Microsoft.EntityFrameworkCore.... | 2.021449 | d807350b903afdaa98a7640c1c625cf2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71620 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "fructuoso/Liquid.WebApi",
"max_stars_repo_path": "src/Liquid.WebApi.Grpc/Interceptors/CultureHandlerInterceptor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71621"
} | starcoder | <gh_stars>1-10
using System;
using System.Diagnostics.CodeAnalysis;
using System.Threading.Tasks;
using Grpc.Core;
using Grpc.Core.Interceptors;
using Liquid.Core.Configuration;
using Liquid.Core.Context;
using Liquid.Core.Localization;
using Liquid.WebApi.Grpc.Extensions;
namespace Liquid.WebApi.Grpc.Interceptors
{
... | 2.399673 | 88f708d32582ad2b41c9b37f33d446b0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71621 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "contradictionary/CustomGraph",
"max_stars_repo_path": "APISTATDataModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71622"
} | starcoder | <reponame>contradictionary/CustomGraph<gh_stars>0
using Microsoft.VisualBasic.FileIO;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
namespace ChartFinal
{
class APISTATDataModel
{
//|Last_Time|Current_Time|Queue... | 2.044754 | 55bda1789c752be5269508e6a06c9741 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71622 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "zzf/ShaderProgramProj",
"max_stars_repo_path": "Assets/MapMagic/Generators/LegacyGenerators.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71623"
} | starcoder | <gh_stars>1-10
using System;
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.CompilerServices;
using MapMagic;
namespace MapMagic
{
[System.Serializable]
[GeneratorMenu (menu="Legacy", name ="Voronoi (Legacy)", disengageable = true)]
public class VoronoiGenerator... | 2.150702 | 540e98cd3661a8c0c22182ffe5b7b056 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71623 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "zgren/dp2",
"max_stars_repo_path": "DigitalPlatform.RFID/GaoxiaoUtility.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71624"
} | starcoder | <filename>DigitalPlatform.RFID/GaoxiaoUtility.cs
using System;
using System.CodeDom.Compiler;
using System.Collections.Generic;
using System.Linq;
using System.Security.Cryptography;
using System.Text;
using System.Threading.Tasks;
namespace DigitalPlatform.RFID
{
/// <summary>
/// 国内高校联盟标签实用函数
/// 参考: ht... | 2.691758 | 8701ab3bdacc22d2202bf03e4216fd8a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71624 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DejanMilicic/RavenEthereumScanner",
"max_stars_repo_path": "Scanner/src/EthScanner/TelegramAlarmer/Infrastructure/TelegramRateLimiter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71625"
} | starcoder | <reponame>DejanMilicic/RavenEthereumScanner
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace TelegramAlarmer.Infrastructure
{
public class TelegramRateLimiter
{
pri... | 2.76515 | c9873cb7f98312a4a0b8b432ed41cd03 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71625 | {
"extension": "c-sharp",
"max_stars_count": "48.0",
"max_stars_repo_name": "TerrariaPrismTeam/Prism",
"max_stars_repo_path": "Prism.DebuggingMod/Properties/AssemblyInfo.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71626"
} | starcoder | <gh_stars>10-100
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("Prism.DebuggingMod")]
[assembly: AssemblyDescription("Prism Debugging Mod")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Terraria Prism Team")]
[assemb... | 1.414662 | a344fe2ff2f7d0aca08315ec0bdae8b8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71626 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "cnsharp/SharpUpdater.Server",
"max_stars_repo_path": "src/Core/Constants.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71627"
} | starcoder | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
namespace CnSharp.Updater.Server
{
public static class Constants
{
public const string HashAlgorithm = "SHA512";
public... | 1.946893 | fdb2846492f6486815aa6814077bd9e5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71627 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ehtick/kiota",
"max_stars_repo_path": "src/Kiota.Builder/Writers/Swift/CodeBlockEndWriter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71628"
} | starcoder | <reponame>ehtick/kiota<gh_stars>0
namespace Kiota.Builder.Writers.Swift;
public class CodeBlockEndWriter : ICodeElementWriter<BlockEnd>
{
public void WriteCodeElement(BlockEnd codeElement, LanguageWriter writer)
{
writer.CloseBlock();
if(codeElement?.Parent?.Parent is CodeNamespace && !(codeElem... | 1.810193 | 875a90d20808210565b712b3e6da6561 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71628 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kelvincr/FileDownloader",
"max_stars_repo_path": "test/Downloader.Test/UriExtensionsTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71629"
} | starcoder | // <copyright file="UriExtensionsTest.cs" company="PlaceholderCompany">
// Copyright (c) PlaceholderCompany. All rights reserved.
// </copyright>
namespace Downloader.Test
{
using System;
using Extensions;
using FluentAssertions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
/// <summary>
... | 2.399264 | 453068e0a2bbbcddb9c7e98b4d40ff32 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71629 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "lizaamini/CSharpExercises",
"max_stars_repo_path": "Sheet 11/Exercise11A.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71630"
} | starcoder | using System;
namespace Exercise11A
{
class MainClass
{
public static void Main (string[] args)
{
Console.WriteLine ("Enter a decimal number: ");
int number = Convert.ToInt32 (Console.ReadLine ());
Console.WriteLine ("Decimal " + number + " = Hexadecimal " + dec_to_hex (number));
}
public static ... | 3.372592 | 5176a16a19da282403fb4e8aac7230c3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71630 | {
"extension": "c-sharp",
"max_stars_count": "52.0",
"max_stars_repo_name": "nesiptrnc/HeroesMatchTracker",
"max_stars_repo_path": "HeroesMatchTracker.Data/Migrations/ReleaseNotes/ReleaseNotesContextMigrator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71631"
} | starcoder | namespace HeroesMatchTracker.Data.Migrations.ReleaseNotes
{
internal class ReleaseNotesContextMigrator : ContextMigrator
{
public ReleaseNotesContextMigrator()
{
// add new migration commands here
IMigrationList.Add(new Migration1_v1_4_0());
ExecuteMigration... | 1.28519 | 1fde7629f05c2c433bb9fc792676f17c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71631 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "SES-xuelan/XLAF",
"max_stars_repo_path": "Sample/Assets/XLAF/Scripts/Public/ModUIUtils.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71632"
} | starcoder | <filename>Sample/Assets/XLAF/Scripts/Public/ModUIUtils.cs
using UnityEngine;
using System.Collections;
using UnityEngine.UI;
using System;
using UnityEngine.EventSystems;
using XLAF.Private;
namespace XLAF.Public
{
/// <summary>
/// UI Tools
/// </summary>
public class ModUIUtils
{
#region constructed functio... | 2.402132 | 39282552081400cd0ff5f0dedef563e4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 71632 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dstj/loggly-csharp",
"max_stars_repo_path": "source/Loggly/Events/MessageData.cs",
"provenance": "train-00000-of-00045.jsonl.gz:71633"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Newtonsoft.Json;
namespace Loggly
{
/// <summary>
/// Just a wrapped dictionary
/// </summary>
public class MessageData : Dictionary<string, object>, IMessageData
{
public List<string> KeyList
... | 3.188465 | 16d25221199f262d990a38dbc708b3b3 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.